@qualcomm-ui/angular-core 1.6.0 → 2.0.1

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 +30 -30
  48. package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs.map +1 -1
  49. package/fesm2022/qualcomm-ui-angular-core-progress.mjs +42 -54
  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 +59 -59
  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} +1 -1
  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
@@ -9,10 +9,10 @@ import { popoverMachine, createPopoverApi } from '@qualcomm-ui/core/popover';
9
9
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
10
10
  // SPDX-License-Identifier: BSD-3-Clause-Clear
11
11
  class PopoverContextService extends BaseApiContextService {
12
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PopoverContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PopoverContextService });
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: PopoverContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
13
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: PopoverContextService });
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: PopoverContextService, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: PopoverContextService, decorators: [{
16
16
  type: Injectable
17
17
  }] });
18
18
  const [POPOVER_CONTEXT, usePopoverContext, providePopoverContext] = createApiContext("PopoverContext", PopoverContextService);
@@ -24,8 +24,8 @@ class CorePopoverAnchorDirective {
24
24
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
25
25
  * omitted, a unique identifier will be generated for accessibility.)
26
26
  */
27
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
28
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
27
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
28
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
29
29
  popoverContext = usePopoverContext();
30
30
  onDestroy = useOnDestroy();
31
31
  trackBindings = useTrackBindings(() => this.popoverContext().getAnchorBindings({
@@ -35,10 +35,10 @@ class CorePopoverAnchorDirective {
35
35
  ngOnInit() {
36
36
  this.trackBindings();
37
37
  }
38
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
39
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverAnchorDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
38
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
39
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverAnchorDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
40
40
  }
41
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverAnchorDirective, decorators: [{
41
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverAnchorDirective, decorators: [{
42
42
  type: Directive
43
43
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
44
44
 
@@ -50,10 +50,10 @@ class CorePopoverArrowTipDirective {
50
50
  ngOnInit() {
51
51
  this.trackBindings();
52
52
  }
53
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverArrowTipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
54
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CorePopoverArrowTipDirective, isStandalone: true, ngImport: i0 });
53
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverArrowTipDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
54
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CorePopoverArrowTipDirective, isStandalone: true, ngImport: i0 });
55
55
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverArrowTipDirective, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverArrowTipDirective, decorators: [{
57
57
  type: Directive
58
58
  }] });
59
59
 
@@ -64,8 +64,8 @@ class CorePopoverArrowDirective {
64
64
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
65
65
  * omitted, a unique identifier will be generated for accessibility.)
66
66
  */
67
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
68
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
67
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
68
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
69
69
  popoverContext = usePopoverContext();
70
70
  onDestroy = useOnDestroy();
71
71
  trackBindings = useTrackBindings(() => this.popoverContext().getArrowBindings({
@@ -75,10 +75,10 @@ class CorePopoverArrowDirective {
75
75
  ngOnInit() {
76
76
  this.trackBindings();
77
77
  }
78
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverArrowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
79
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverArrowDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
78
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverArrowDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
79
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverArrowDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverArrowDirective, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverArrowDirective, decorators: [{
82
82
  type: Directive
83
83
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
84
84
 
@@ -89,8 +89,8 @@ class CorePopoverCloseTriggerDirective {
89
89
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
90
90
  * omitted, a unique identifier will be generated for accessibility.)
91
91
  */
92
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
93
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
92
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
93
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
94
94
  popoverContext = usePopoverContext();
95
95
  onDestroy = useOnDestroy();
96
96
  trackBindings = useTrackBindings(() => this.popoverContext().getCloseTriggerBindings({
@@ -100,10 +100,10 @@ class CorePopoverCloseTriggerDirective {
100
100
  ngOnInit() {
101
101
  this.trackBindings();
102
102
  }
103
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverCloseTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
104
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverCloseTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
103
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverCloseTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
104
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverCloseTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
105
105
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverCloseTriggerDirective, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverCloseTriggerDirective, decorators: [{
107
107
  type: Directive
108
108
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
109
109
 
@@ -114,8 +114,8 @@ class CorePopoverContentDirective {
114
114
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
115
115
  * omitted, a unique identifier will be generated for accessibility.)
116
116
  */
117
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
118
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
117
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
118
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
119
119
  popoverContext = usePopoverContext();
120
120
  onDestroy = useOnDestroy();
121
121
  trackBindings = useTrackBindings(() => this.popoverContext().getContentBindings({
@@ -125,10 +125,10 @@ class CorePopoverContentDirective {
125
125
  ngOnInit() {
126
126
  this.trackBindings();
127
127
  }
128
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
129
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverContentDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
128
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
129
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverContentDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
130
130
  }
131
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverContentDirective, decorators: [{
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverContentDirective, decorators: [{
132
132
  type: Directive
133
133
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
134
134
 
@@ -139,8 +139,8 @@ class CorePopoverDescriptionDirective {
139
139
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
140
140
  * omitted, a unique identifier will be generated for accessibility.)
141
141
  */
142
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
143
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
142
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
143
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
144
144
  popoverContext = usePopoverContext();
145
145
  onDestroy = useOnDestroy();
146
146
  trackBindings = useTrackBindings(() => this.popoverContext().getDescriptionBindings({
@@ -150,10 +150,10 @@ class CorePopoverDescriptionDirective {
150
150
  ngOnInit() {
151
151
  this.trackBindings();
152
152
  }
153
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
154
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverDescriptionDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
153
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
154
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverDescriptionDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
155
155
  }
156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverDescriptionDirective, decorators: [{
156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverDescriptionDirective, decorators: [{
157
157
  type: Directive
158
158
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
159
159
 
@@ -164,8 +164,8 @@ class CorePopoverLabelDirective {
164
164
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
165
165
  * omitted, a unique identifier will be generated for accessibility.)
166
166
  */
167
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
168
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
167
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
168
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
169
169
  popoverContext = usePopoverContext();
170
170
  onDestroy = useOnDestroy();
171
171
  trackBindings = useTrackBindings(() => this.popoverContext().getLabelBindings({
@@ -175,10 +175,10 @@ class CorePopoverLabelDirective {
175
175
  ngOnInit() {
176
176
  this.trackBindings();
177
177
  }
178
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
179
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
178
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
179
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
180
180
  }
181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverLabelDirective, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverLabelDirective, decorators: [{
182
182
  type: Directive
183
183
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
184
184
 
@@ -189,8 +189,8 @@ class CorePopoverPositionerDirective {
189
189
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
190
190
  * omitted, a unique identifier will be generated for accessibility.)
191
191
  */
192
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
193
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
192
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
193
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
194
194
  popoverContext = usePopoverContext();
195
195
  onDestroy = useOnDestroy();
196
196
  trackBindings = useTrackBindings(() => this.popoverContext().getPositionerBindings({
@@ -200,10 +200,10 @@ class CorePopoverPositionerDirective {
200
200
  ngOnInit() {
201
201
  this.trackBindings();
202
202
  }
203
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverPositionerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
204
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverPositionerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
203
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverPositionerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
204
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverPositionerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
205
205
  }
206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverPositionerDirective, decorators: [{
206
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverPositionerDirective, decorators: [{
207
207
  type: Directive
208
208
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
209
209
 
@@ -216,39 +216,39 @@ class CorePopoverRootDirective {
216
216
  *
217
217
  * @default true
218
218
  */
219
- autoFocus = input(...(ngDevMode ? [undefined, { debugName: "autoFocus" }] : []));
219
+ autoFocus = input(...(ngDevMode ? [undefined, { debugName: "autoFocus" }] : /* istanbul ignore next */ []));
220
220
  /**
221
221
  * Whether to close the popover when the escape key is pressed.
222
222
  *
223
223
  * @default true
224
224
  */
225
- closeOnEscape = input(...(ngDevMode ? [undefined, { debugName: "closeOnEscape" }] : []));
225
+ closeOnEscape = input(...(ngDevMode ? [undefined, { debugName: "closeOnEscape" }] : /* istanbul ignore next */ []));
226
226
  /**
227
227
  * Whether to close the popover when the user clicks outside the popover.
228
228
  *
229
229
  * @default true
230
230
  */
231
- closeOnInteractOutside = input(...(ngDevMode ? [undefined, { debugName: "closeOnInteractOutside" }] : []));
231
+ closeOnInteractOutside = input(...(ngDevMode ? [undefined, { debugName: "closeOnInteractOutside" }] : /* istanbul ignore next */ []));
232
232
  /**
233
233
  * The initial open state of the popover when rendered.
234
234
  * Use when you don't need to control the open state of the popover.
235
235
  */
236
- defaultOpen = input(...(ngDevMode ? [undefined, { debugName: "defaultOpen" }] : []));
236
+ defaultOpen = input(...(ngDevMode ? [undefined, { debugName: "defaultOpen" }] : /* istanbul ignore next */ []));
237
237
  /**
238
238
  * The document's text/writing direction.
239
239
  *
240
240
  * @default "ltr"
241
241
  */
242
- dir = input(...(ngDevMode ? [undefined, { debugName: "dir" }] : []));
242
+ dir = input(...(ngDevMode ? [undefined, { debugName: "dir" }] : /* istanbul ignore next */ []));
243
243
  /**
244
244
  * A root node to correctly resolve the Document in custom environments. i.e.,
245
245
  * Iframes, Electron.
246
246
  */
247
- getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
247
+ getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : /* istanbul ignore next */ []));
248
248
  /**
249
249
  * The element to focus on when the popover is opened.
250
250
  */
251
- initialFocusEl = input(...(ngDevMode ? [undefined, { debugName: "initialFocusEl" }] : []));
251
+ initialFocusEl = input(...(ngDevMode ? [undefined, { debugName: "initialFocusEl" }] : /* istanbul ignore next */ []));
252
252
  /**
253
253
  * Whether the popover should be modal. When set to `true`:
254
254
  * - interaction with outside elements will be disabled
@@ -258,31 +258,29 @@ class CorePopoverRootDirective {
258
258
  *
259
259
  * @default false
260
260
  */
261
- modal = input(...(ngDevMode ? [undefined, { debugName: "modal" }] : []));
261
+ modal = input(...(ngDevMode ? [undefined, { debugName: "modal" }] : /* istanbul ignore next */ []));
262
262
  /**
263
263
  * The controlled open state of the popover
264
264
  */
265
- open = input(...(ngDevMode ? [undefined, { debugName: "open" }] : []));
265
+ open = input(...(ngDevMode ? [undefined, { debugName: "open" }] : /* istanbul ignore next */ []));
266
266
  /**
267
267
  * The persistent elements that:
268
268
  * - should not have pointer-events disabled
269
269
  * - should not trigger the dismiss event
270
270
  */
271
- persistentElements = input(...(ngDevMode ? [undefined, { debugName: "persistentElements" }] : []));
271
+ persistentElements = input(...(ngDevMode ? [undefined, { debugName: "persistentElements" }] : /* istanbul ignore next */ []));
272
272
  /**
273
273
  * The options used to position the popover content.
274
274
  *
275
275
  * @inheritDoc
276
276
  */
277
- positioning = input(...(ngDevMode ? [undefined, { debugName: "positioning" }] : []));
277
+ positioning = input(...(ngDevMode ? [undefined, { debugName: "positioning" }] : /* istanbul ignore next */ []));
278
278
  /**
279
279
  * On close, restore focus to the element that triggered the open event.
280
280
  *
281
281
  * @default true
282
282
  */
283
- restoreFocus = input(undefined, ...(ngDevMode ? [{ debugName: "restoreFocus", transform: booleanAttribute }] : [{
284
- transform: booleanAttribute,
285
- }]));
283
+ restoreFocus = input(undefined, { ...(ngDevMode ? { debugName: "restoreFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
286
284
  /**
287
285
  * Fired when the popover opens or closes.
288
286
  */
@@ -307,9 +305,7 @@ class CorePopoverRootDirective {
307
305
  * Function called when this layer is closed due to a parent layer being closed
308
306
  */
309
307
  requestDismissed = output();
310
- portalChild = contentChild(PortalDirective, ...(ngDevMode ? [{ debugName: "portalChild", descendants: true }] : [{
311
- descendants: true,
312
- }]));
308
+ portalChild = contentChild(PortalDirective, { ...(ngDevMode ? { debugName: "portalChild" } : /* istanbul ignore next */ {}), descendants: true });
313
309
  document = inject(DOCUMENT);
314
310
  injector = inject(Injector);
315
311
  isMounted = useIsMounted();
@@ -368,10 +364,10 @@ class CorePopoverRootDirective {
368
364
  this.popoverContext.init(computed(() => createPopoverApi(machine, normalizeProps)));
369
365
  this.trackBindings();
370
366
  }
371
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
372
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "20.3.16", type: CorePopoverRootDirective, isStandalone: true, inputs: { autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", 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 }, 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 }, positioning: { classPropertyName: "positioning", publicName: "positioning", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { openChanged: "openChanged", escapeKeyDown: "escapeKeyDown", focusOutside: "focusOutside", interactOutside: "interactOutside", pointerDownOutside: "pointerDownOutside", requestDismissed: "requestDismissed" }, queries: [{ propertyName: "portalChild", first: true, predicate: PortalDirective, descendants: true, isSignal: true }], ngImport: i0 });
367
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
368
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.2.2", type: CorePopoverRootDirective, isStandalone: true, inputs: { autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", 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 }, 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 }, positioning: { classPropertyName: "positioning", publicName: "positioning", isSignal: true, isRequired: false, transformFunction: null }, restoreFocus: { classPropertyName: "restoreFocus", publicName: "restoreFocus", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { openChanged: "openChanged", escapeKeyDown: "escapeKeyDown", focusOutside: "focusOutside", interactOutside: "interactOutside", pointerDownOutside: "pointerDownOutside", requestDismissed: "requestDismissed" }, queries: [{ propertyName: "portalChild", first: true, predicate: PortalDirective, descendants: true, isSignal: true }], ngImport: i0 });
373
369
  }
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverRootDirective, decorators: [{
370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverRootDirective, decorators: [{
375
371
  type: Directive
376
372
  }], propDecorators: { autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", 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 }] }], 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 }] }], positioning: [{ type: i0.Input, args: [{ isSignal: true, alias: "positioning", required: false }] }], restoreFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "restoreFocus", required: false }] }], openChanged: [{ type: i0.Output, args: ["openChanged"] }], escapeKeyDown: [{ type: i0.Output, args: ["escapeKeyDown"] }], focusOutside: [{ type: i0.Output, args: ["focusOutside"] }], interactOutside: [{ type: i0.Output, args: ["interactOutside"] }], pointerDownOutside: [{ type: i0.Output, args: ["pointerDownOutside"] }], requestDismissed: [{ type: i0.Output, args: ["requestDismissed"] }], portalChild: [{ type: i0.ContentChild, args: [i0.forwardRef(() => PortalDirective), { ...{
377
373
  descendants: true,
@@ -384,8 +380,8 @@ class CorePopoverTriggerDirective {
384
380
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
385
381
  * omitted, a unique identifier will be generated for accessibility.)
386
382
  */
387
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
388
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
383
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
384
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
389
385
  popoverContext = usePopoverContext();
390
386
  onDestroy = useOnDestroy();
391
387
  trackBindings = useTrackBindings(() => this.popoverContext().getTriggerBindings({
@@ -395,10 +391,10 @@ class CorePopoverTriggerDirective {
395
391
  ngOnInit() {
396
392
  this.trackBindings();
397
393
  }
398
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
399
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CorePopoverTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
394
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
395
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePopoverTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
400
396
  }
401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CorePopoverTriggerDirective, decorators: [{
397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePopoverTriggerDirective, decorators: [{
402
398
  type: Directive
403
399
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
404
400
 
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-core-popover.mjs","sources":["../../src/popover/popover-context.service.ts","../../src/popover/core-popover-anchor.directive.ts","../../src/popover/core-popover-arrow-tip.directive.ts","../../src/popover/core-popover-arrow.directive.ts","../../src/popover/core-popover-close-trigger.directive.ts","../../src/popover/core-popover-content.directive.ts","../../src/popover/core-popover-description.directive.ts","../../src/popover/core-popover-label.directive.ts","../../src/popover/core-popover-positioner.directive.ts","../../src/popover/core-popover-root.directive.ts","../../src/popover/core-popover-trigger.directive.ts","../../src/popover/qualcomm-ui-angular-core-popover.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {PopoverApi} from \"@qualcomm-ui/core/popover\"\n\n@Injectable()\nexport class PopoverContextService extends BaseApiContextService<PopoverApi> {}\n\nexport const [POPOVER_CONTEXT, usePopoverContext, providePopoverContext] =\n createApiContext<PopoverApi>(\"PopoverContext\", PopoverContextService)\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverAnchorDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getAnchorBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverArrowTipDirective implements OnInit {\n private readonly popoverContext = usePopoverContext()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getArrowTipBindings(),\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverArrowDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getArrowBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverCloseTriggerDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getCloseTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverContentDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getContentBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverDescriptionDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getDescriptionBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverLabelDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverPositionerDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getPositionerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n contentChild,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {PortalDirective} from \"@qualcomm-ui/angular-core/portal\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createPopoverApi,\n type PopoverApiProps,\n popoverMachine,\n} from \"@qualcomm-ui/core/popover\"\nimport type {LayerDismissEvent} from \"@qualcomm-ui/dom/dismissable\"\nimport type {PositioningOptions} from \"@qualcomm-ui/dom/floating-ui\"\nimport type {\n FocusOutsideEvent,\n InteractOutsideEvent,\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} from \"@qualcomm-ui/utils/guard\"\n\nimport {PopoverContextService} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverRootDirective\n implements SignalifyInput<Omit<PopoverApiProps, \"ids\" | \"portalled\">>, OnInit\n{\n /**\n * Whether to automatically set focus on the first focusable\n * content within the popover when opened.\n *\n * @default true\n */\n readonly autoFocus = input<PopoverApiProps[\"autoFocus\"]>()\n\n /**\n * Whether to close the popover when the escape key is pressed.\n *\n * @default true\n */\n readonly closeOnEscape = input<boolean | undefined>()\n\n /**\n * Whether to close the popover when the user clicks outside the popover.\n *\n * @default true\n */\n readonly closeOnInteractOutside = input<boolean | undefined>()\n\n /**\n * The initial open state of the popover when rendered.\n * Use when you don't need to control the open state of the popover.\n */\n readonly defaultOpen = input<boolean | undefined>()\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | 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<() => ShadowRoot | Document | Node>()\n\n /**\n * The element to focus on when the popover is opened.\n */\n readonly initialFocusEl = input<(() => HTMLElement | null) | undefined>()\n\n /**\n * Whether the popover should be modal. When set to `true`:\n * - interaction with outside elements will be disabled\n * - only popover content will be visible to screen readers\n * - scrolling is blocked\n * - focus is trapped within the popover\n *\n * @default false\n */\n readonly modal = input<boolean | undefined>()\n\n /**\n * The controlled open state of the popover\n */\n readonly open = input<boolean | 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 * The options used to position the popover content.\n *\n * @inheritDoc\n */\n readonly positioning = input<PositioningOptions>()\n\n /**\n * On close, restore focus to the element that triggered the open event.\n *\n * @default true\n */\n readonly restoreFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Fired when the popover opens or closes.\n */\n readonly openChanged = output<{open: boolean}>()\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 * 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 portalChild = contentChild(PortalDirective, {\n descendants: true,\n })\n protected readonly document = inject(DOCUMENT)\n protected readonly injector = inject(Injector)\n protected readonly isMounted = useIsMounted()\n protected readonly popoverContext = inject(PopoverContextService)\n protected readonly trackBindings = useTrackBindings(() =>\n this.popoverContext.context().getRootBindings(),\n )\n\n ngOnInit() {\n const machine = useMachine(\n popoverMachine,\n computed<Explicit<PopoverApiProps>>(() => {\n const portal = this.portalChild()\n return {\n autoFocus: this.autoFocus(),\n closeOnEscape: this.closeOnEscape(),\n closeOnInteractOutside: this.closeOnInteractOutside(),\n defaultOpen: this.defaultOpen(),\n dir: this.dir(),\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\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 portalled: portal && !portal.disabled(),\n positioning: this.positioning(),\n restoreFocus: this.restoreFocus(),\n }\n }),\n this.injector,\n )\n\n this.popoverContext.init(\n computed(() => createPopoverApi(machine, normalizeProps)),\n )\n\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverTriggerDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\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;AAWM,MAAO,qBAAsB,SAAQ,qBAAiC,CAAA;wGAA/D,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAArB,qBAAqB,EAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC;;AAGM,MAAM,CAAC,eAAe,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,GACtE,gBAAgB,CAAa,gBAAgB,EAAE,qBAAqB;;ACftE;AACA;MAUa,0BAA0B,CAAA;AACrC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E;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;AAC1B,KAAA,CAAC,CACH;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGAtBW,2BAA2B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-core-popover.mjs","sources":["../../src/popover/popover-context.service.ts","../../src/popover/core-popover-anchor.directive.ts","../../src/popover/core-popover-arrow-tip.directive.ts","../../src/popover/core-popover-arrow.directive.ts","../../src/popover/core-popover-close-trigger.directive.ts","../../src/popover/core-popover-content.directive.ts","../../src/popover/core-popover-description.directive.ts","../../src/popover/core-popover-label.directive.ts","../../src/popover/core-popover-positioner.directive.ts","../../src/popover/core-popover-root.directive.ts","../../src/popover/core-popover-trigger.directive.ts","../../src/popover/qualcomm-ui-angular-core-popover.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {PopoverApi} from \"@qualcomm-ui/core/popover\"\n\n@Injectable()\nexport class PopoverContextService extends BaseApiContextService<PopoverApi> {}\n\nexport const [POPOVER_CONTEXT, usePopoverContext, providePopoverContext] =\n createApiContext<PopoverApi>(\"PopoverContext\", PopoverContextService)\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverAnchorDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getAnchorBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverArrowTipDirective implements OnInit {\n private readonly popoverContext = usePopoverContext()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getArrowTipBindings(),\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverArrowDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getArrowBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverCloseTriggerDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getCloseTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverContentDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getContentBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverDescriptionDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getDescriptionBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverLabelDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverPositionerDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getPositionerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n contentChild,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {PortalDirective} from \"@qualcomm-ui/angular-core/portal\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createPopoverApi,\n type PopoverApiProps,\n popoverMachine,\n} from \"@qualcomm-ui/core/popover\"\nimport type {LayerDismissEvent} from \"@qualcomm-ui/dom/dismissable\"\nimport type {PositioningOptions} from \"@qualcomm-ui/dom/floating-ui\"\nimport type {\n FocusOutsideEvent,\n InteractOutsideEvent,\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} from \"@qualcomm-ui/utils/guard\"\n\nimport {PopoverContextService} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverRootDirective\n implements SignalifyInput<Omit<PopoverApiProps, \"ids\" | \"portalled\">>, OnInit\n{\n /**\n * Whether to automatically set focus on the first focusable\n * content within the popover when opened.\n *\n * @default true\n */\n readonly autoFocus = input<PopoverApiProps[\"autoFocus\"]>()\n\n /**\n * Whether to close the popover when the escape key is pressed.\n *\n * @default true\n */\n readonly closeOnEscape = input<boolean | undefined>()\n\n /**\n * Whether to close the popover when the user clicks outside the popover.\n *\n * @default true\n */\n readonly closeOnInteractOutside = input<boolean | undefined>()\n\n /**\n * The initial open state of the popover when rendered.\n * Use when you don't need to control the open state of the popover.\n */\n readonly defaultOpen = input<boolean | undefined>()\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | 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<() => ShadowRoot | Document | Node>()\n\n /**\n * The element to focus on when the popover is opened.\n */\n readonly initialFocusEl = input<(() => HTMLElement | null) | undefined>()\n\n /**\n * Whether the popover should be modal. When set to `true`:\n * - interaction with outside elements will be disabled\n * - only popover content will be visible to screen readers\n * - scrolling is blocked\n * - focus is trapped within the popover\n *\n * @default false\n */\n readonly modal = input<boolean | undefined>()\n\n /**\n * The controlled open state of the popover\n */\n readonly open = input<boolean | 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 * The options used to position the popover content.\n *\n * @inheritDoc\n */\n readonly positioning = input<PositioningOptions>()\n\n /**\n * On close, restore focus to the element that triggered the open event.\n *\n * @default true\n */\n readonly restoreFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Fired when the popover opens or closes.\n */\n readonly openChanged = output<{open: boolean}>()\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 * 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 portalChild = contentChild(PortalDirective, {\n descendants: true,\n })\n protected readonly document = inject(DOCUMENT)\n protected readonly injector = inject(Injector)\n protected readonly isMounted = useIsMounted()\n protected readonly popoverContext = inject(PopoverContextService)\n protected readonly trackBindings = useTrackBindings(() =>\n this.popoverContext.context().getRootBindings(),\n )\n\n ngOnInit() {\n const machine = useMachine(\n popoverMachine,\n computed<Explicit<PopoverApiProps>>(() => {\n const portal = this.portalChild()\n return {\n autoFocus: this.autoFocus(),\n closeOnEscape: this.closeOnEscape(),\n closeOnInteractOutside: this.closeOnInteractOutside(),\n defaultOpen: this.defaultOpen(),\n dir: this.dir(),\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\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 portalled: portal && !portal.disabled(),\n positioning: this.positioning(),\n restoreFocus: this.restoreFocus(),\n }\n }),\n this.injector,\n )\n\n this.popoverContext.init(\n computed(() => createPopoverApi(machine, normalizeProps)),\n )\n\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 {usePopoverContext} from \"./popover-context.service\"\n\n@Directive()\nexport class CorePopoverTriggerDirective 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 private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly popoverContext = usePopoverContext()\n\n private readonly onDestroy = useOnDestroy()\n\n private readonly trackBindings = useTrackBindings(() =>\n this.popoverContext().getTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\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;AAWM,MAAO,qBAAsB,SAAQ,qBAAiC,CAAA;uGAA/D,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAArB,qBAAqB,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;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