@qualcomm-ui/angular-core 1.6.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 +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 +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} +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
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-core-switch.mjs","sources":["../../src/switch/switch-context.service.ts","../../src/switch/core-switch-control.directive.ts","../../src/switch/core-switch-error-text.directive.ts","../../src/switch/core-switch-hint.directive.ts","../../src/switch/core-switch-hidden-input.directive.ts","../../src/switch/core-switch-label.directive.ts","../../src/switch/core-switch-root.directive.ts","../../src/switch/core-switch-thumb.directive.ts","../../src/switch/qualcomm-ui-angular-core-switch.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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SwitchApi} from \"@qualcomm-ui/core/switch\"\n\n@Injectable()\nexport class SwitchContextService extends BaseApiContextService<SwitchApi> {}\n\nexport const [\n SWITCH_CONTEXT,\n useSwitchContext,\n provideSwitchContext,\n]: ApiContext<SwitchApi> = createApiContext<SwitchApi>(\n \"SwitchContext\",\n SwitchContextService,\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchControlDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getControlBindings(),\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchErrorTextDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getErrorTextBindings({\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 {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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHintDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHintBindings({\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 {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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHiddenInputDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHiddenInputBindings({\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 {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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchLabelDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getLabelBindings({\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {AbstractCheckboxFormControlDirective} from \"@qualcomm-ui/angular-core/checkbox\"\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {type CheckboxApiProps} from \"@qualcomm-ui/core/checkbox\"\nimport {\n createSwitchApi,\n type SwitchApiProps,\n switchMachine,\n} from \"@qualcomm-ui/core/switch\"\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 {SwitchContextService} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(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 * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\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 | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly switchContextService = inject(SwitchContextService)\n protected readonly document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n switchMachine,\n computed<Explicit<SwitchApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.control?.markAsTouched?.()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger on blur to prevent immediate validation, which would\n // occur as soon as the user interacts with the field.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.switchContextService.init(\n computed(() => createSwitchApi(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 {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchThumbDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getThumbBindings(),\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;AAYM,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;;AAGM,MAAM,CACX,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACrB,GAA0B,gBAAgB,CACzC,eAAe,EACf,oBAAoB;;ACrBtB;AACA;MASa,0BAA0B,CAAA;IAClB,aAAa,GAAG,gBAAgB,EAAE;AAElC,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAClD,IAAI,CAAC,aAAa,EAAE,CAAC,kBAAkB,EAAE,CAC1C;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB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AAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC;;;AClCD;AACA;MASa,wBAAwB,CAAA;IAChB,aAAa,GAAG,gBAAgB,EAAE;AAElC,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAClD,IAAI,CAAC,aAAa,EAAE,CAAC,gBAAgB,EAAE,CACxC;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGATW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-core-switch.mjs","sources":["../../src/switch/switch-context.service.ts","../../src/switch/core-switch-control.directive.ts","../../src/switch/core-switch-error-text.directive.ts","../../src/switch/core-switch-hint.directive.ts","../../src/switch/core-switch-hidden-input.directive.ts","../../src/switch/core-switch-label.directive.ts","../../src/switch/core-switch-root.directive.ts","../../src/switch/core-switch-thumb.directive.ts","../../src/switch/qualcomm-ui-angular-core-switch.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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SwitchApi} from \"@qualcomm-ui/core/switch\"\n\n@Injectable()\nexport class SwitchContextService extends BaseApiContextService<SwitchApi> {}\n\nexport const [\n SWITCH_CONTEXT,\n useSwitchContext,\n provideSwitchContext,\n]: ApiContext<SwitchApi> = createApiContext<SwitchApi>(\n \"SwitchContext\",\n SwitchContextService,\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchControlDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getControlBindings(),\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchErrorTextDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getErrorTextBindings({\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 {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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHintDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHintBindings({\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 {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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHiddenInputDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHiddenInputBindings({\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 {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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchLabelDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getLabelBindings({\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {AbstractCheckboxFormControlDirective} from \"@qualcomm-ui/angular-core/checkbox\"\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {type CheckboxApiProps} from \"@qualcomm-ui/core/checkbox\"\nimport {\n createSwitchApi,\n type SwitchApiProps,\n switchMachine,\n} from \"@qualcomm-ui/core/switch\"\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 {SwitchContextService} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(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 * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\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 | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly switchContextService = inject(SwitchContextService)\n protected readonly document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n switchMachine,\n computed<Explicit<SwitchApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.control?.markAsTouched?.()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger on blur to prevent immediate validation, which would\n // occur as soon as the user interacts with the field.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.switchContextService.init(\n computed(() => createSwitchApi(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 {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchThumbDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getThumbBindings(),\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;AAYM,MAAO,oBAAqB,SAAQ,qBAAgC,CAAA;uGAA7D,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAApB,oBAAoB,EAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC;;AAGM,MAAM,CACX,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACrB,GAA0B,gBAAgB,CACzC,eAAe,EACf,oBAAoB;;ACrBtB;AACA;MASa,0BAA0B,CAAA;IAClB,aAAa,GAAG,gBAAgB,EAAE;AAElC,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAClD,IAAI,CAAC,aAAa,EAAE,CAAC,kBAAkB,EAAE,CAC1C;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;uGATW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;;ACTD;AACA;MAUa,4BAA4B,CAAA;AACvC;;;AAGG;IACM,EAAE,GAAG,KAAK,CAAA,IAAA,SAAA,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AAI,CAAC,aAAa,EAAE,CAAC,gBAAgB,EAAE,CACxC;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;uGATW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;;ACTD;;AAEG;;;;"}
@@ -10,10 +10,10 @@ import { tabsMachine, createTabsApi } from '@qualcomm-ui/core/tabs';
10
10
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
11
11
  // SPDX-License-Identifier: BSD-3-Clause-Clear
12
12
  class TabContextService extends BaseApiContextService {
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabContextService });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabContextService });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabContextService, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabContextService, decorators: [{
17
17
  type: Injectable
18
18
  }] });
19
19
  const [TAB_CONTEXT, useTabContext, provideTabContext,] = createApiContext("TabContext", TabContextService);
@@ -21,10 +21,10 @@ const [TAB_CONTEXT, useTabContext, provideTabContext,] = createApiContext("TabCo
21
21
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
22
22
  // SPDX-License-Identifier: BSD-3-Clause-Clear
23
23
  class TabsContextService extends BaseApiContextService {
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabsContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
25
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabsContextService });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
25
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsContextService });
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TabsContextService, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsContextService, decorators: [{
28
28
  type: Injectable
29
29
  }] });
30
30
  const [TABS_CONTEXT, useTabsContext, provideTabsContext,] = createApiContext("TabsContext", TabsContextService);
@@ -36,10 +36,10 @@ class CoreTabButtonDirective {
36
36
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
37
37
  * omitted, a unique identifier will be generated for accessibility.
38
38
  */
39
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
39
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
40
40
  tabsContext = useTabsContext();
41
41
  tabContext = useTabContext();
42
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
42
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
43
43
  onDestroy = useOnDestroy();
44
44
  trackBindings = useTrackBindings(() => {
45
45
  return this.tabsContext().getTabButtonBindings({
@@ -51,19 +51,17 @@ class CoreTabButtonDirective {
51
51
  ngOnInit() {
52
52
  this.trackBindings();
53
53
  }
54
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
55
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreTabButtonDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
54
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
55
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreTabButtonDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
56
56
  }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabButtonDirective, decorators: [{
57
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabButtonDirective, decorators: [{
58
58
  type: Directive
59
59
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
60
60
 
61
61
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
62
62
  // SPDX-License-Identifier: BSD-3-Clause-Clear
63
63
  class CoreTabDismissButtonDirective {
64
- ariaLabel = input(undefined, ...(ngDevMode ? [{ debugName: "ariaLabel", alias: "aria-label" }] : [{
65
- alias: "aria-label",
66
- }]));
64
+ ariaLabel = input(undefined, { ...(ngDevMode ? { debugName: "ariaLabel" } : /* istanbul ignore next */ {}), alias: "aria-label" });
67
65
  tabsContext = useTabsContext();
68
66
  trackBindings = useTrackBindings(() => {
69
67
  return this.tabsContext().getTabDismissButtonBindings({
@@ -73,10 +71,10 @@ class CoreTabDismissButtonDirective {
73
71
  ngOnInit() {
74
72
  this.trackBindings();
75
73
  }
76
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabDismissButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
77
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreTabDismissButtonDirective, isStandalone: true, inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
74
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabDismissButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
75
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreTabDismissButtonDirective, isStandalone: true, inputs: { ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
78
76
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabDismissButtonDirective, decorators: [{
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabDismissButtonDirective, decorators: [{
80
78
  type: Directive
81
79
  }], propDecorators: { ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }] } });
82
80
 
@@ -86,13 +84,11 @@ class CoreTabRootDirective {
86
84
  /**
87
85
  * Whether the tab is disabled
88
86
  */
89
- disabled = input(undefined, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{
90
- transform: booleanAttribute,
91
- }]));
87
+ disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
92
88
  /**
93
89
  * The value of the tab
94
90
  */
95
- value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
91
+ value = input.required(...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
96
92
  tabsContext = useTabsContext();
97
93
  tabApi = inject(TabContextService);
98
94
  trackBindings = useTrackBindings(() => {
@@ -105,10 +101,10 @@ class CoreTabRootDirective {
105
101
  })));
106
102
  this.trackBindings();
107
103
  }
108
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
109
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreTabRootDirective, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
104
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
105
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreTabRootDirective, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
110
106
  }
111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabRootDirective, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabRootDirective, decorators: [{
112
108
  type: Directive
113
109
  }], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
114
110
 
@@ -119,7 +115,7 @@ class CoreTabsIndicatorDirective {
119
115
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
120
116
  * omitted, a unique identifier will be generated for accessibility.
121
117
  */
122
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
118
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
123
119
  tabsContext = useTabsContext();
124
120
  onDestroy = useOnDestroy();
125
121
  trackBindings = useTrackBindings(() => {
@@ -128,14 +124,14 @@ class CoreTabsIndicatorDirective {
128
124
  onDestroy: this.onDestroy,
129
125
  });
130
126
  });
131
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
127
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
132
128
  ngOnInit() {
133
129
  this.trackBindings();
134
130
  }
135
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
136
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreTabsIndicatorDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
131
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
132
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreTabsIndicatorDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
137
133
  }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsIndicatorDirective, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsIndicatorDirective, decorators: [{
139
135
  type: Directive
140
136
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
141
137
 
@@ -146,9 +142,9 @@ class CoreTabsListDirective {
146
142
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
147
143
  * omitted, a unique identifier will be generated for accessibility.
148
144
  */
149
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
145
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
150
146
  tabsContext = useTabsContext();
151
- hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
147
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
152
148
  onDestroy = useOnDestroy();
153
149
  trackBindings = useTrackBindings(() => {
154
150
  return this.tabsContext().getListBindings({
@@ -159,10 +155,10 @@ class CoreTabsListDirective {
159
155
  ngOnInit() {
160
156
  this.trackBindings();
161
157
  }
162
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
163
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreTabsListDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
158
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
159
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreTabsListDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
164
160
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsListDirective, decorators: [{
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsListDirective, decorators: [{
166
162
  type: Directive
167
163
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
168
164
 
@@ -173,14 +169,14 @@ class CoreTabsPanelDirective {
173
169
  * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
174
170
  * omitted, a unique identifier will be generated for accessibility.
175
171
  */
176
- id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
172
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
177
173
  /**
178
174
  * The value of the associated tab
179
175
  */
180
- value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
176
+ value = input.required(...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
181
177
  tabsContext = useTabsContext();
182
178
  elementRef = inject(ElementRef);
183
- hostId = linkedSignal(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
179
+ hostId = linkedSignal(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
184
180
  presenceService = inject(PresenceContextService);
185
181
  renderStrategyContext = useRenderStrategyContext();
186
182
  onDestroy = useOnDestroy();
@@ -213,10 +209,10 @@ class CoreTabsPanelDirective {
213
209
  this.presenceService.init(computed(() => createPresenceApi(machine)));
214
210
  this.trackBindings();
215
211
  }
216
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsPanelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
217
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreTabsPanelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
212
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsPanelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
213
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreTabsPanelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
218
214
  }
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsPanelDirective, decorators: [{
215
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsPanelDirective, decorators: [{
220
216
  type: Directive
221
217
  }], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
222
218
 
@@ -230,54 +226,46 @@ class CoreTabsRootDirective {
230
226
  *
231
227
  * @default "automatic"
232
228
  */
233
- activationMode = input(...(ngDevMode ? [undefined, { debugName: "activationMode" }] : []));
229
+ activationMode = input(...(ngDevMode ? [undefined, { debugName: "activationMode" }] : /* istanbul ignore next */ []));
234
230
  /**
235
231
  * Determines whether tabs act as a standalone composite widget (true) or as a
236
232
  * non-focusable component within another widget (false).
237
233
  *
238
234
  * @default true
239
235
  */
240
- composite = input(undefined, ...(ngDevMode ? [{ debugName: "composite", transform: booleanAttribute }] : [{
241
- transform: booleanAttribute,
242
- }]));
236
+ composite = input(undefined, { ...(ngDevMode ? { debugName: "composite" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
243
237
  /**
244
238
  * The initial selected tab value when rendered.
245
239
  * Use when you don't need to control the selected tab value.
246
240
  */
247
- defaultValue = input(...(ngDevMode ? [undefined, { debugName: "defaultValue" }] : []));
241
+ defaultValue = input(...(ngDevMode ? [undefined, { debugName: "defaultValue" }] : /* istanbul ignore next */ []));
248
242
  /**
249
243
  * Whether the active tab can be deselected when clicking on it.
250
244
  */
251
- deselectable = input(undefined, ...(ngDevMode ? [{ debugName: "deselectable", transform: booleanAttribute }] : [{
252
- transform: booleanAttribute,
253
- }]));
245
+ deselectable = input(undefined, { ...(ngDevMode ? { debugName: "deselectable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
254
246
  /**
255
247
  * The document's text/writing direction.
256
248
  *
257
249
  * @default "ltr"
258
250
  */
259
- dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
251
+ dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : /* istanbul ignore next */ []));
260
252
  /**
261
253
  * A root node to correctly resolve the Document in custom environments. i.e.,
262
254
  * Iframes, Electron.
263
255
  */
264
- getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
256
+ getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : /* istanbul ignore next */ []));
265
257
  /**
266
258
  * When true, the component will not be rendered in the DOM until it becomes
267
259
  * visible or active.
268
260
  *
269
261
  * @default false
270
262
  */
271
- lazyMount = input(undefined, ...(ngDevMode ? [{ debugName: "lazyMount", transform: booleanAttribute }] : [{
272
- transform: booleanAttribute,
273
- }]));
263
+ lazyMount = input(undefined, { ...(ngDevMode ? { debugName: "lazyMount" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
274
264
  /**
275
265
  * Whether the keyboard navigation will loop from last tab to first, and vice versa.
276
266
  * @default true
277
267
  */
278
- loopFocus = input(undefined, ...(ngDevMode ? [{ debugName: "loopFocus", transform: booleanAttribute }] : [{
279
- transform: booleanAttribute,
280
- }]));
268
+ loopFocus = input(undefined, { ...(ngDevMode ? { debugName: "loopFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
281
269
  /**
282
270
  * The orientation of the tabs. Can be `horizontal` or `vertical`
283
271
  * @option `'horizontal'`: only left and right arrow key navigation will work.
@@ -285,25 +273,23 @@ class CoreTabsRootDirective {
285
273
  *
286
274
  * @default "horizontal"
287
275
  */
288
- orientation = input(...(ngDevMode ? [undefined, { debugName: "orientation" }] : []));
276
+ orientation = input(...(ngDevMode ? [undefined, { debugName: "orientation" }] : /* istanbul ignore next */ []));
289
277
  /**
290
278
  * Specifies the localized strings that identifies the accessibility elements and
291
279
  * their states
292
280
  */
293
- translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : []));
281
+ translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : /* istanbul ignore next */ []));
294
282
  /**
295
283
  * When true, the component will be completely removed from the DOM when it
296
284
  * becomes inactive or hidden, rather than just being hidden with CSS.
297
285
  *
298
286
  * @default false
299
287
  */
300
- unmountOnExit = input(undefined, ...(ngDevMode ? [{ debugName: "unmountOnExit", transform: booleanAttribute }] : [{
301
- transform: booleanAttribute,
302
- }]));
288
+ unmountOnExit = input(undefined, { ...(ngDevMode ? { debugName: "unmountOnExit" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
303
289
  /**
304
290
  * The controlled selected tab value
305
291
  */
306
- value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
292
+ value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
307
293
  /**
308
294
  * Callback to be called when the focused tab changes
309
295
  */
@@ -351,10 +337,10 @@ class CoreTabsRootDirective {
351
337
  })));
352
338
  this.trackBindings();
353
339
  }
354
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
355
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreTabsRootDirective, isStandalone: true, inputs: { activationMode: { classPropertyName: "activationMode", publicName: "activationMode", isSignal: true, isRequired: false, transformFunction: null }, composite: { classPropertyName: "composite", publicName: "composite", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, deselectable: { classPropertyName: "deselectable", publicName: "deselectable", 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 }, lazyMount: { classPropertyName: "lazyMount", publicName: "lazyMount", isSignal: true, isRequired: false, transformFunction: null }, loopFocus: { classPropertyName: "loopFocus", publicName: "loopFocus", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null }, unmountOnExit: { classPropertyName: "unmountOnExit", publicName: "unmountOnExit", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { focusChanged: "focusChanged", valueChanged: "valueChanged" }, ngImport: i0 });
340
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
341
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreTabsRootDirective, isStandalone: true, inputs: { activationMode: { classPropertyName: "activationMode", publicName: "activationMode", isSignal: true, isRequired: false, transformFunction: null }, composite: { classPropertyName: "composite", publicName: "composite", isSignal: true, isRequired: false, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, deselectable: { classPropertyName: "deselectable", publicName: "deselectable", 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 }, lazyMount: { classPropertyName: "lazyMount", publicName: "lazyMount", isSignal: true, isRequired: false, transformFunction: null }, loopFocus: { classPropertyName: "loopFocus", publicName: "loopFocus", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null }, unmountOnExit: { classPropertyName: "unmountOnExit", publicName: "unmountOnExit", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { focusChanged: "focusChanged", valueChanged: "valueChanged" }, ngImport: i0 });
356
342
  }
357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreTabsRootDirective, decorators: [{
343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreTabsRootDirective, decorators: [{
358
344
  type: Directive
359
345
  }], propDecorators: { activationMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "activationMode", required: false }] }], composite: [{ type: i0.Input, args: [{ isSignal: true, alias: "composite", required: false }] }], defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], deselectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "deselectable", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], lazyMount: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazyMount", required: false }] }], loopFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "loopFocus", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], translations: [{ type: i0.Input, args: [{ isSignal: true, alias: "translations", required: false }] }], unmountOnExit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unmountOnExit", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], focusChanged: [{ type: i0.Output, args: ["focusChanged"] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
360
346
 
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-core-tabs.mjs","sources":["../../src/tabs/tab-context.service.ts","../../src/tabs/tabs-context.service.ts","../../src/tabs/core-tab-button.directive.ts","../../src/tabs/core-tab-dismiss-button.directive.ts","../../src/tabs/core-tab-root.directive.ts","../../src/tabs/core-tabs-indicator.directive.ts","../../src/tabs/core-tabs-list.directive.ts","../../src/tabs/core-tabs-panel.directive.ts","../../src/tabs/core-tabs-root.directive.ts","../../src/tabs/qualcomm-ui-angular-core-tabs.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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {TabProps} from \"@qualcomm-ui/core/tabs\"\n\n@Injectable()\nexport class TabContextService extends BaseApiContextService<TabProps> {}\n\nexport const [\n TAB_CONTEXT,\n useTabContext,\n provideTabContext,\n]: ApiContext<TabProps> = createApiContext<TabProps>(\n \"TabContext\",\n TabContextService,\n)\n","// 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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {TabsApi} from \"@qualcomm-ui/core/tabs\"\n\n@Injectable()\nexport class TabsContextService extends BaseApiContextService<TabsApi> {}\n\nexport const [\n TABS_CONTEXT,\n useTabsContext,\n provideTabsContext,\n]: ApiContext<TabsApi> = createApiContext<TabsApi>(\n \"TabsContext\",\n TabsContextService,\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 {useTabContext} from \"./tab-context.service\"\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabButtonDirective 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 tabsContext = useTabsContext()\n protected readonly tabContext = useTabContext()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getTabButtonBindings({\n ...this.tabContext(),\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, input, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabDismissButtonDirective implements OnInit {\n readonly ariaLabel = input<string | undefined>(undefined, {\n alias: \"aria-label\",\n })\n\n protected readonly tabsContext = useTabsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getTabDismissButtonBindings({\n \"aria-label\": this.ariaLabel(),\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 {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {TabProps} from \"@qualcomm-ui/core/tabs\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {TabContextService} from \"./tab-context.service\"\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabRootDirective implements OnInit, SignalifyInput<TabProps> {\n /**\n * Whether the tab is disabled\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The value of the tab\n */\n readonly value = input.required<string>()\n\n protected readonly tabsContext = useTabsContext()\n protected readonly tabApi = inject(TabContextService)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getTabBindings()\n })\n\n ngOnInit() {\n this.tabApi.init(\n computed<Explicit<TabProps>>(() => ({\n disabled: this.disabled(),\n value: this.value(),\n })),\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 {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsIndicatorDirective 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 tabsContext = useTabsContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getIndicatorBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\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\"\n\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsListDirective 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 tabsContext = useTabsContext()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getListBindings({\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 {\n computed,\n Directive,\n effect,\n ElementRef,\n inject,\n Injector,\n input,\n linkedSignal,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useMachine, useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n PresenceContextService,\n usePresenceRenderer,\n useRenderStrategyContext,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {createPresenceApi, presenceMachine} from \"@qualcomm-ui/core/presence\"\nimport type {PanelProps} from \"@qualcomm-ui/core/tabs\"\n\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsPanelDirective\n implements OnInit, SignalifyInput<PanelProps>\n{\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 /**\n * The value of the associated tab\n */\n readonly value = input.required<string>()\n\n protected readonly tabsContext = useTabsContext()\n protected readonly elementRef = inject(ElementRef)\n\n protected readonly hostId = linkedSignal(() => useId(this, this.id()))\n protected readonly presenceService = inject(PresenceContextService)\n protected readonly renderStrategyContext = useRenderStrategyContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly presenceRenderer = usePresenceRenderer()\n\n protected readonly injector = inject(Injector)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getPanelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n value: this.value(),\n })\n })\n\n constructor() {\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 const machine = useMachine(\n presenceMachine,\n computed(() => ({\n lazyMount: this.renderStrategyContext().lazyMount,\n present: this.tabsContext().value === this.value(),\n unmountOnExit: this.renderStrategyContext().unmountOnExit,\n })),\n this.injector,\n )\n\n this.presenceService.init(computed(() => createPresenceApi(machine)))\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useIsMounted, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {RenderStrategyContextService} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {RenderStrategyApiProps} from \"@qualcomm-ui/core/presence\"\nimport {\n createTabsApi,\n type IntlTranslations,\n type TabsActivationMode,\n type TabsApiProps,\n tabsMachine,\n type TabsOrientation,\n} from \"@qualcomm-ui/core/tabs\"\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 {TabsContextService} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsRootDirective\n implements OnInit, SignalifyInput<TabsApiProps & RenderStrategyApiProps>\n{\n /**\n * The activation mode of the tabs.\n * @option `'automatic'`: Tabs are activated when receiving focus\n * @option `'manual'`: Tabs are activated when clicked or the enter key is pressed.\n *\n * @default \"automatic\"\n */\n readonly activationMode = input<TabsActivationMode | undefined>()\n\n /**\n * Determines whether tabs act as a standalone composite widget (true) or as a\n * non-focusable component within another widget (false).\n *\n * @default true\n */\n readonly composite = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The initial selected tab value when rendered.\n * Use when you don't need to control the selected tab value.\n */\n readonly defaultValue = input<string | null | undefined>()\n\n /**\n * Whether the active tab can be deselected when clicking on it.\n */\n readonly deselectable = 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 * 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 * When true, the component will not be rendered in the DOM until it becomes\n * visible or active.\n *\n * @default false\n */\n readonly lazyMount = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether the keyboard navigation will loop from last tab to first, and vice versa.\n * @default true\n */\n readonly loopFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The orientation of the tabs. Can be `horizontal` or `vertical`\n * @option `'horizontal'`: only left and right arrow key navigation will work.\n * @option `'vertical'`: only up and down arrow key navigation will work.\n *\n * @default \"horizontal\"\n */\n readonly orientation = input<TabsOrientation | undefined>()\n\n /**\n * Specifies the localized strings that identifies the accessibility elements and\n * their states\n */\n readonly translations = input<IntlTranslations | undefined>()\n\n /**\n * When true, the component will be completely removed from the DOM when it\n * becomes inactive or hidden, rather than just being hidden with CSS.\n *\n * @default false\n */\n readonly unmountOnExit = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled selected tab value\n */\n readonly value = input<string | null | undefined>()\n\n /**\n * Callback to be called when the focused tab changes\n */\n readonly focusChanged = output<string>()\n\n /**\n * Callback to be called when the selected/active tab changes\n */\n readonly valueChanged = output<string>()\n\n protected readonly document = inject(DOCUMENT)\n protected readonly injector = inject(Injector)\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly isMounted = useIsMounted()\n protected readonly renderStrategyApi = inject(RenderStrategyContextService)\n\n protected readonly tabsApi = inject(TabsContextService)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsApi.context().getRootBindings()\n })\n\n ngOnInit() {\n const machine = useMachine(\n tabsMachine,\n computed<Explicit<TabsApiProps>>(() => ({\n activationMode: this.activationMode(),\n composite: this.composite(),\n defaultValue: this.defaultValue(),\n deselectable: this.deselectable(),\n dir: this.dir(),\n getRootNode: this.getRootNode() ?? (() => this.document),\n loopFocus: this.loopFocus(),\n onFocusChange: (value) => {\n if (this.isMounted()) {\n this.focusChanged.emit(value)\n }\n },\n onValueChange: (value) => {\n if (this.isMounted()) {\n this.valueChanged.emit(value)\n }\n },\n orientation: this.orientation(),\n translations: this.translations(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.tabsApi.init(computed(() => createTabsApi(machine, normalizeProps)))\n\n this.renderStrategyApi.init(\n computed<Explicit<RenderStrategyApiProps>>(() => ({\n lazyMount: this.lazyMount(),\n unmountOnExit: this.unmountOnExit(),\n })),\n )\n\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AAYM,MAAO,iBAAkB,SAAQ,qBAA+B,CAAA;wGAAzD,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAjB,iBAAiB,EAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B;;AAGM,MAAM,CACX,WAAW,EACX,aAAa,EACb,iBAAiB,EAClB,GAAyB,gBAAgB,CACxC,YAAY,EACZ,iBAAiB;;ACrBnB;AACA;AAYM,MAAO,kBAAmB,SAAQ,qBAA8B,CAAA;wGAAzD,kBAAkB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAlB,kBAAkB,EAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B;;AAGM,MAAM,CACX,YAAY,EACZ,cAAc,EACd,kBAAkB,EACnB,GAAwB,gBAAgB,CACvC,aAAa,EACb,kBAAkB;;ACrBpB;AACA;MAWa,sBAAsB,CAAA;AACjC;;;AAGG;IACM,EAAE,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,IAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;IAEV,WAAW,GAAG,cAAc,EAAE;IAC9B,UAAU,GAAG,aAAa,EAAE;AAE5B,IAAA,MAAM,GAAG,QAAQ,CAAC,MAAM,KAAK,C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AA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-core-tabs.mjs","sources":["../../src/tabs/tab-context.service.ts","../../src/tabs/tabs-context.service.ts","../../src/tabs/core-tab-button.directive.ts","../../src/tabs/core-tab-dismiss-button.directive.ts","../../src/tabs/core-tab-root.directive.ts","../../src/tabs/core-tabs-indicator.directive.ts","../../src/tabs/core-tabs-list.directive.ts","../../src/tabs/core-tabs-panel.directive.ts","../../src/tabs/core-tabs-root.directive.ts","../../src/tabs/qualcomm-ui-angular-core-tabs.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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {TabProps} from \"@qualcomm-ui/core/tabs\"\n\n@Injectable()\nexport class TabContextService extends BaseApiContextService<TabProps> {}\n\nexport const [\n TAB_CONTEXT,\n useTabContext,\n provideTabContext,\n]: ApiContext<TabProps> = createApiContext<TabProps>(\n \"TabContext\",\n TabContextService,\n)\n","// 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 type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {TabsApi} from \"@qualcomm-ui/core/tabs\"\n\n@Injectable()\nexport class TabsContextService extends BaseApiContextService<TabsApi> {}\n\nexport const [\n TABS_CONTEXT,\n useTabsContext,\n provideTabsContext,\n]: ApiContext<TabsApi> = createApiContext<TabsApi>(\n \"TabsContext\",\n TabsContextService,\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 {useTabContext} from \"./tab-context.service\"\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabButtonDirective 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 tabsContext = useTabsContext()\n protected readonly tabContext = useTabContext()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getTabButtonBindings({\n ...this.tabContext(),\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, input, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabDismissButtonDirective implements OnInit {\n readonly ariaLabel = input<string | undefined>(undefined, {\n alias: \"aria-label\",\n })\n\n protected readonly tabsContext = useTabsContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getTabDismissButtonBindings({\n \"aria-label\": this.ariaLabel(),\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 {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {TabProps} from \"@qualcomm-ui/core/tabs\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {TabContextService} from \"./tab-context.service\"\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabRootDirective implements OnInit, SignalifyInput<TabProps> {\n /**\n * Whether the tab is disabled\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The value of the tab\n */\n readonly value = input.required<string>()\n\n protected readonly tabsContext = useTabsContext()\n protected readonly tabApi = inject(TabContextService)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getTabBindings()\n })\n\n ngOnInit() {\n this.tabApi.init(\n computed<Explicit<TabProps>>(() => ({\n disabled: this.disabled(),\n value: this.value(),\n })),\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 {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsIndicatorDirective 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 tabsContext = useTabsContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getIndicatorBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\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\"\n\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsListDirective 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 tabsContext = useTabsContext()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getListBindings({\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 {\n computed,\n Directive,\n effect,\n ElementRef,\n inject,\n Injector,\n input,\n linkedSignal,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useMachine, useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n PresenceContextService,\n usePresenceRenderer,\n useRenderStrategyContext,\n} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {createPresenceApi, presenceMachine} from \"@qualcomm-ui/core/presence\"\nimport type {PanelProps} from \"@qualcomm-ui/core/tabs\"\n\nimport {useTabsContext} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsPanelDirective\n implements OnInit, SignalifyInput<PanelProps>\n{\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 /**\n * The value of the associated tab\n */\n readonly value = input.required<string>()\n\n protected readonly tabsContext = useTabsContext()\n protected readonly elementRef = inject(ElementRef)\n\n protected readonly hostId = linkedSignal(() => useId(this, this.id()))\n protected readonly presenceService = inject(PresenceContextService)\n protected readonly renderStrategyContext = useRenderStrategyContext()\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly presenceRenderer = usePresenceRenderer()\n\n protected readonly injector = inject(Injector)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsContext().getPanelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n value: this.value(),\n })\n })\n\n constructor() {\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 const machine = useMachine(\n presenceMachine,\n computed(() => ({\n lazyMount: this.renderStrategyContext().lazyMount,\n present: this.tabsContext().value === this.value(),\n unmountOnExit: this.renderStrategyContext().unmountOnExit,\n })),\n this.injector,\n )\n\n this.presenceService.init(computed(() => createPresenceApi(machine)))\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useIsMounted, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {RenderStrategyContextService} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {RenderStrategyApiProps} from \"@qualcomm-ui/core/presence\"\nimport {\n createTabsApi,\n type IntlTranslations,\n type TabsActivationMode,\n type TabsApiProps,\n tabsMachine,\n type TabsOrientation,\n} from \"@qualcomm-ui/core/tabs\"\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 {TabsContextService} from \"./tabs-context.service\"\n\n@Directive()\nexport class CoreTabsRootDirective\n implements OnInit, SignalifyInput<TabsApiProps & RenderStrategyApiProps>\n{\n /**\n * The activation mode of the tabs.\n * @option `'automatic'`: Tabs are activated when receiving focus\n * @option `'manual'`: Tabs are activated when clicked or the enter key is pressed.\n *\n * @default \"automatic\"\n */\n readonly activationMode = input<TabsActivationMode | undefined>()\n\n /**\n * Determines whether tabs act as a standalone composite widget (true) or as a\n * non-focusable component within another widget (false).\n *\n * @default true\n */\n readonly composite = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The initial selected tab value when rendered.\n * Use when you don't need to control the selected tab value.\n */\n readonly defaultValue = input<string | null | undefined>()\n\n /**\n * Whether the active tab can be deselected when clicking on it.\n */\n readonly deselectable = 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 * 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 * When true, the component will not be rendered in the DOM until it becomes\n * visible or active.\n *\n * @default false\n */\n readonly lazyMount = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether the keyboard navigation will loop from last tab to first, and vice versa.\n * @default true\n */\n readonly loopFocus = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The orientation of the tabs. Can be `horizontal` or `vertical`\n * @option `'horizontal'`: only left and right arrow key navigation will work.\n * @option `'vertical'`: only up and down arrow key navigation will work.\n *\n * @default \"horizontal\"\n */\n readonly orientation = input<TabsOrientation | undefined>()\n\n /**\n * Specifies the localized strings that identifies the accessibility elements and\n * their states\n */\n readonly translations = input<IntlTranslations | undefined>()\n\n /**\n * When true, the component will be completely removed from the DOM when it\n * becomes inactive or hidden, rather than just being hidden with CSS.\n *\n * @default false\n */\n readonly unmountOnExit = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled selected tab value\n */\n readonly value = input<string | null | undefined>()\n\n /**\n * Callback to be called when the focused tab changes\n */\n readonly focusChanged = output<string>()\n\n /**\n * Callback to be called when the selected/active tab changes\n */\n readonly valueChanged = output<string>()\n\n protected readonly document = inject(DOCUMENT)\n protected readonly injector = inject(Injector)\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly isMounted = useIsMounted()\n protected readonly renderStrategyApi = inject(RenderStrategyContextService)\n\n protected readonly tabsApi = inject(TabsContextService)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.tabsApi.context().getRootBindings()\n })\n\n ngOnInit() {\n const machine = useMachine(\n tabsMachine,\n computed<Explicit<TabsApiProps>>(() => ({\n activationMode: this.activationMode(),\n composite: this.composite(),\n defaultValue: this.defaultValue(),\n deselectable: this.deselectable(),\n dir: this.dir(),\n getRootNode: this.getRootNode() ?? (() => this.document),\n loopFocus: this.loopFocus(),\n onFocusChange: (value) => {\n if (this.isMounted()) {\n this.focusChanged.emit(value)\n }\n },\n onValueChange: (value) => {\n if (this.isMounted()) {\n this.valueChanged.emit(value)\n }\n },\n orientation: this.orientation(),\n translations: this.translations(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.tabsApi.init(computed(() => createTabsApi(machine, normalizeProps)))\n\n this.renderStrategyApi.init(\n computed<Explicit<RenderStrategyApiProps>>(() => ({\n lazyMount: this.lazyMount(),\n unmountOnExit: this.unmountOnExit(),\n })),\n )\n\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AAYM,MAAO,iBAAkB,SAAQ,qBAA+B,CAAA;uGAAzD,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAjB,iBAAiB,EAAA,CAAA;;2FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B;;AAGM,MAAM,CACX,WAAW,EACX,aAAa,EACb,iBAAiB,EAClB,GAAyB,gBAAgB,CACxC,YAAY,EACZ,iBAAiB;;ACrBnB;AACA;AAYM,MAAO,kBAAmB,SAAQ,qBAA8B,CAAA;uGAAzD,kBAAkB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAlB,kBAAkB,EAAA,CAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAD9B;;AAGM,MAAM,CACX,YAAY,EACZ,cAAc,EACd,kBAAkB,EACnB,GAAwB,gBAAgB,CACvC,aAAa,EACb,kBAAkB;;ACrBpB;AACA;MAWa,sBAAsB,CAAA;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