@qualcomm-ui/angular 1.19.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 (248) hide show
  1. package/fesm2022/qualcomm-ui-angular-accordion.mjs +45 -47
  2. package/fesm2022/qualcomm-ui-angular-accordion.mjs.map +1 -1
  3. package/fesm2022/qualcomm-ui-angular-action-group.mjs +3 -3
  4. package/fesm2022/qualcomm-ui-angular-action-group.mjs.map +1 -1
  5. package/fesm2022/qualcomm-ui-angular-alert-banner.mjs +38 -40
  6. package/fesm2022/qualcomm-ui-angular-alert-banner.mjs.map +1 -1
  7. package/fesm2022/qualcomm-ui-angular-avatar.mjs +24 -24
  8. package/fesm2022/qualcomm-ui-angular-avatar.mjs.map +1 -1
  9. package/fesm2022/qualcomm-ui-angular-badge.mjs +35 -47
  10. package/fesm2022/qualcomm-ui-angular-badge.mjs.map +1 -1
  11. package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs +29 -31
  12. package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs.map +1 -1
  13. package/fesm2022/qualcomm-ui-angular-button.mjs +48 -54
  14. package/fesm2022/qualcomm-ui-angular-button.mjs.map +1 -1
  15. package/fesm2022/qualcomm-ui-angular-checkbox-group.mjs +10 -10
  16. package/fesm2022/qualcomm-ui-angular-checkbox-group.mjs.map +1 -1
  17. package/fesm2022/qualcomm-ui-angular-checkbox.mjs +36 -36
  18. package/fesm2022/qualcomm-ui-angular-checkbox.mjs.map +1 -1
  19. package/fesm2022/qualcomm-ui-angular-checkmark.mjs +5 -7
  20. package/fesm2022/qualcomm-ui-angular-checkmark.mjs.map +1 -1
  21. package/fesm2022/qualcomm-ui-angular-collapsible.mjs +13 -13
  22. package/fesm2022/qualcomm-ui-angular-collapsible.mjs.map +1 -1
  23. package/fesm2022/qualcomm-ui-angular-combobox.mjs +97 -107
  24. package/fesm2022/qualcomm-ui-angular-combobox.mjs.map +1 -1
  25. package/fesm2022/qualcomm-ui-angular-dialog.mjs +57 -61
  26. package/fesm2022/qualcomm-ui-angular-dialog.mjs.map +1 -1
  27. package/fesm2022/qualcomm-ui-angular-divider.mjs +6 -6
  28. package/fesm2022/qualcomm-ui-angular-divider.mjs.map +1 -1
  29. package/fesm2022/qualcomm-ui-angular-drawer.mjs +53 -53
  30. package/fesm2022/qualcomm-ui-angular-drawer.mjs.map +1 -1
  31. package/fesm2022/qualcomm-ui-angular-field-group.mjs +28 -32
  32. package/fesm2022/qualcomm-ui-angular-field-group.mjs.map +1 -1
  33. package/fesm2022/qualcomm-ui-angular-header-bar.mjs +52 -54
  34. package/fesm2022/qualcomm-ui-angular-header-bar.mjs.map +1 -1
  35. package/fesm2022/qualcomm-ui-angular-icon.mjs +19 -21
  36. package/fesm2022/qualcomm-ui-angular-icon.mjs.map +1 -1
  37. package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs +7 -7
  38. package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs.map +1 -1
  39. package/fesm2022/qualcomm-ui-angular-inline-notification.mjs +35 -37
  40. package/fesm2022/qualcomm-ui-angular-inline-notification.mjs.map +1 -1
  41. package/fesm2022/qualcomm-ui-angular-input.mjs +18 -18
  42. package/fesm2022/qualcomm-ui-angular-input.mjs.map +1 -1
  43. package/fesm2022/qualcomm-ui-angular-kbd.mjs +3 -3
  44. package/fesm2022/qualcomm-ui-angular-kbd.mjs.map +1 -1
  45. package/fesm2022/qualcomm-ui-angular-link.mjs +10 -12
  46. package/fesm2022/qualcomm-ui-angular-link.mjs.map +1 -1
  47. package/fesm2022/qualcomm-ui-angular-menu.mjs +68 -68
  48. package/fesm2022/qualcomm-ui-angular-menu.mjs.map +1 -1
  49. package/fesm2022/qualcomm-ui-angular-number-input.mjs +54 -54
  50. package/fesm2022/qualcomm-ui-angular-number-input.mjs.map +1 -1
  51. package/fesm2022/qualcomm-ui-angular-pagination.mjs +42 -42
  52. package/fesm2022/qualcomm-ui-angular-pagination.mjs.map +1 -1
  53. package/fesm2022/qualcomm-ui-angular-password-input.mjs +48 -50
  54. package/fesm2022/qualcomm-ui-angular-password-input.mjs.map +1 -1
  55. package/fesm2022/qualcomm-ui-angular-popover.mjs +48 -52
  56. package/fesm2022/qualcomm-ui-angular-popover.mjs.map +1 -1
  57. package/fesm2022/qualcomm-ui-angular-progress-ring.mjs +43 -43
  58. package/fesm2022/qualcomm-ui-angular-progress-ring.mjs.map +1 -1
  59. package/fesm2022/qualcomm-ui-angular-progress.mjs +42 -42
  60. package/fesm2022/qualcomm-ui-angular-progress.mjs.map +1 -1
  61. package/fesm2022/qualcomm-ui-angular-radio.mjs +47 -49
  62. package/fesm2022/qualcomm-ui-angular-radio.mjs.map +1 -1
  63. package/fesm2022/qualcomm-ui-angular-segmented-control.mjs +28 -28
  64. package/fesm2022/qualcomm-ui-angular-segmented-control.mjs.map +1 -1
  65. package/fesm2022/qualcomm-ui-angular-select.mjs +76 -82
  66. package/fesm2022/qualcomm-ui-angular-select.mjs.map +1 -1
  67. package/fesm2022/qualcomm-ui-angular-side-nav.mjs +103 -105
  68. package/fesm2022/qualcomm-ui-angular-side-nav.mjs.map +1 -1
  69. package/fesm2022/qualcomm-ui-angular-slider.mjs +85 -99
  70. package/fesm2022/qualcomm-ui-angular-slider.mjs.map +1 -1
  71. package/fesm2022/qualcomm-ui-angular-switch-group.mjs +10 -10
  72. package/fesm2022/qualcomm-ui-angular-switch-group.mjs.map +1 -1
  73. package/fesm2022/qualcomm-ui-angular-switch.mjs +36 -36
  74. package/fesm2022/qualcomm-ui-angular-switch.mjs.map +1 -1
  75. package/fesm2022/qualcomm-ui-angular-table.mjs +136 -170
  76. package/fesm2022/qualcomm-ui-angular-table.mjs.map +1 -1
  77. package/fesm2022/qualcomm-ui-angular-tabs.mjs +37 -39
  78. package/fesm2022/qualcomm-ui-angular-tabs.mjs.map +1 -1
  79. package/fesm2022/qualcomm-ui-angular-tag.mjs +14 -16
  80. package/fesm2022/qualcomm-ui-angular-tag.mjs.map +1 -1
  81. package/fesm2022/qualcomm-ui-angular-text-area.mjs +41 -47
  82. package/fesm2022/qualcomm-ui-angular-text-area.mjs.map +1 -1
  83. package/fesm2022/qualcomm-ui-angular-text-input.mjs +42 -44
  84. package/fesm2022/qualcomm-ui-angular-text-input.mjs.map +1 -1
  85. package/fesm2022/qualcomm-ui-angular-theme.mjs +5 -5
  86. package/fesm2022/qualcomm-ui-angular-theme.mjs.map +1 -1
  87. package/fesm2022/qualcomm-ui-angular-toast.mjs +43 -43
  88. package/fesm2022/qualcomm-ui-angular-toast.mjs.map +1 -1
  89. package/fesm2022/qualcomm-ui-angular-tooltip.mjs +33 -37
  90. package/fesm2022/qualcomm-ui-angular-tooltip.mjs.map +1 -1
  91. package/fesm2022/qualcomm-ui-angular-transitions.mjs +4 -4
  92. package/fesm2022/qualcomm-ui-angular-transitions.mjs.map +1 -1
  93. package/fesm2022/qualcomm-ui-angular-tree.mjs +79 -79
  94. package/fesm2022/qualcomm-ui-angular-tree.mjs.map +1 -1
  95. package/package.json +64 -64
  96. package/{accordion/index.d.ts → types/qualcomm-ui-angular-accordion.d.ts} +1 -1
  97. package/types/qualcomm-ui-angular-accordion.d.ts.map +1 -0
  98. package/{action-group/index.d.ts → types/qualcomm-ui-angular-action-group.d.ts} +1 -1
  99. package/types/qualcomm-ui-angular-action-group.d.ts.map +1 -0
  100. package/{alert-banner/index.d.ts → types/qualcomm-ui-angular-alert-banner.d.ts} +1 -1
  101. package/types/qualcomm-ui-angular-alert-banner.d.ts.map +1 -0
  102. package/{avatar/index.d.ts → types/qualcomm-ui-angular-avatar.d.ts} +1 -1
  103. package/types/qualcomm-ui-angular-avatar.d.ts.map +1 -0
  104. package/{badge/index.d.ts → types/qualcomm-ui-angular-badge.d.ts} +1 -1
  105. package/types/qualcomm-ui-angular-badge.d.ts.map +1 -0
  106. package/{breadcrumbs/index.d.ts → types/qualcomm-ui-angular-breadcrumbs.d.ts} +1 -1
  107. package/types/qualcomm-ui-angular-breadcrumbs.d.ts.map +1 -0
  108. package/{button/index.d.ts → types/qualcomm-ui-angular-button.d.ts} +1 -1
  109. package/types/qualcomm-ui-angular-button.d.ts.map +1 -0
  110. package/{checkbox-group/index.d.ts → types/qualcomm-ui-angular-checkbox-group.d.ts} +1 -1
  111. package/types/qualcomm-ui-angular-checkbox-group.d.ts.map +1 -0
  112. package/{checkbox/index.d.ts → types/qualcomm-ui-angular-checkbox.d.ts} +1 -1
  113. package/types/qualcomm-ui-angular-checkbox.d.ts.map +1 -0
  114. package/{checkmark/index.d.ts → types/qualcomm-ui-angular-checkmark.d.ts} +1 -1
  115. package/types/qualcomm-ui-angular-checkmark.d.ts.map +1 -0
  116. package/{collapsible/index.d.ts → types/qualcomm-ui-angular-collapsible.d.ts} +1 -1
  117. package/types/qualcomm-ui-angular-collapsible.d.ts.map +1 -0
  118. package/{combobox/index.d.ts → types/qualcomm-ui-angular-combobox.d.ts} +1 -1
  119. package/types/qualcomm-ui-angular-combobox.d.ts.map +1 -0
  120. package/{dialog/index.d.ts → types/qualcomm-ui-angular-dialog.d.ts} +1 -1
  121. package/types/qualcomm-ui-angular-dialog.d.ts.map +1 -0
  122. package/{divider/index.d.ts → types/qualcomm-ui-angular-divider.d.ts} +1 -1
  123. package/types/qualcomm-ui-angular-divider.d.ts.map +1 -0
  124. package/{drawer/index.d.ts → types/qualcomm-ui-angular-drawer.d.ts} +1 -1
  125. package/types/qualcomm-ui-angular-drawer.d.ts.map +1 -0
  126. package/{field-group/index.d.ts → types/qualcomm-ui-angular-field-group.d.ts} +1 -1
  127. package/types/qualcomm-ui-angular-field-group.d.ts.map +1 -0
  128. package/types/qualcomm-ui-angular-footer.d.ts +3 -0
  129. package/types/qualcomm-ui-angular-footer.d.ts.map +1 -0
  130. package/{header-bar/index.d.ts → types/qualcomm-ui-angular-header-bar.d.ts} +1 -1
  131. package/types/qualcomm-ui-angular-header-bar.d.ts.map +1 -0
  132. package/types/qualcomm-ui-angular-header.d.ts +3 -0
  133. package/types/qualcomm-ui-angular-header.d.ts.map +1 -0
  134. package/{icon/index.d.ts → types/qualcomm-ui-angular-icon.d.ts} +2 -2
  135. package/types/qualcomm-ui-angular-icon.d.ts.map +1 -0
  136. package/{inline-icon-button/index.d.ts → types/qualcomm-ui-angular-inline-icon-button.d.ts} +1 -1
  137. package/types/qualcomm-ui-angular-inline-icon-button.d.ts.map +1 -0
  138. package/{inline-notification/index.d.ts → types/qualcomm-ui-angular-inline-notification.d.ts} +1 -1
  139. package/types/qualcomm-ui-angular-inline-notification.d.ts.map +1 -0
  140. package/{input/index.d.ts → types/qualcomm-ui-angular-input.d.ts} +2 -2
  141. package/types/qualcomm-ui-angular-input.d.ts.map +1 -0
  142. package/{kbd/index.d.ts → types/qualcomm-ui-angular-kbd.d.ts} +1 -1
  143. package/types/qualcomm-ui-angular-kbd.d.ts.map +1 -0
  144. package/{link/index.d.ts → types/qualcomm-ui-angular-link.d.ts} +1 -1
  145. package/types/qualcomm-ui-angular-link.d.ts.map +1 -0
  146. package/{menu/index.d.ts → types/qualcomm-ui-angular-menu.d.ts} +1 -1
  147. package/types/qualcomm-ui-angular-menu.d.ts.map +1 -0
  148. package/{number-input/index.d.ts → types/qualcomm-ui-angular-number-input.d.ts} +1 -1
  149. package/types/qualcomm-ui-angular-number-input.d.ts.map +1 -0
  150. package/{pagination/index.d.ts → types/qualcomm-ui-angular-pagination.d.ts} +1 -1
  151. package/types/qualcomm-ui-angular-pagination.d.ts.map +1 -0
  152. package/{password-input/index.d.ts → types/qualcomm-ui-angular-password-input.d.ts} +1 -1
  153. package/types/qualcomm-ui-angular-password-input.d.ts.map +1 -0
  154. package/{popover/index.d.ts → types/qualcomm-ui-angular-popover.d.ts} +1 -1
  155. package/types/qualcomm-ui-angular-popover.d.ts.map +1 -0
  156. package/{progress-ring/index.d.ts → types/qualcomm-ui-angular-progress-ring.d.ts} +1 -1
  157. package/types/qualcomm-ui-angular-progress-ring.d.ts.map +1 -0
  158. package/{progress/index.d.ts → types/qualcomm-ui-angular-progress.d.ts} +1 -1
  159. package/types/qualcomm-ui-angular-progress.d.ts.map +1 -0
  160. package/{radio/index.d.ts → types/qualcomm-ui-angular-radio.d.ts} +1 -1
  161. package/types/qualcomm-ui-angular-radio.d.ts.map +1 -0
  162. package/{segmented-control/index.d.ts → types/qualcomm-ui-angular-segmented-control.d.ts} +1 -1
  163. package/types/qualcomm-ui-angular-segmented-control.d.ts.map +1 -0
  164. package/{select/index.d.ts → types/qualcomm-ui-angular-select.d.ts} +1 -1
  165. package/types/qualcomm-ui-angular-select.d.ts.map +1 -0
  166. package/{side-nav/index.d.ts → types/qualcomm-ui-angular-side-nav.d.ts} +1 -1
  167. package/types/qualcomm-ui-angular-side-nav.d.ts.map +1 -0
  168. package/{slider/index.d.ts → types/qualcomm-ui-angular-slider.d.ts} +1 -1
  169. package/types/qualcomm-ui-angular-slider.d.ts.map +1 -0
  170. package/{switch-group/index.d.ts → types/qualcomm-ui-angular-switch-group.d.ts} +1 -1
  171. package/types/qualcomm-ui-angular-switch-group.d.ts.map +1 -0
  172. package/{switch/index.d.ts → types/qualcomm-ui-angular-switch.d.ts} +1 -1
  173. package/types/qualcomm-ui-angular-switch.d.ts.map +1 -0
  174. package/{table/index.d.ts → types/qualcomm-ui-angular-table.d.ts} +1 -1
  175. package/types/qualcomm-ui-angular-table.d.ts.map +1 -0
  176. package/{tabs/index.d.ts → types/qualcomm-ui-angular-tabs.d.ts} +1 -1
  177. package/types/qualcomm-ui-angular-tabs.d.ts.map +1 -0
  178. package/{tag/index.d.ts → types/qualcomm-ui-angular-tag.d.ts} +1 -1
  179. package/types/qualcomm-ui-angular-tag.d.ts.map +1 -0
  180. package/{text-area/index.d.ts → types/qualcomm-ui-angular-text-area.d.ts} +1 -1
  181. package/types/qualcomm-ui-angular-text-area.d.ts.map +1 -0
  182. package/{text-input/index.d.ts → types/qualcomm-ui-angular-text-input.d.ts} +1 -1
  183. package/types/qualcomm-ui-angular-text-input.d.ts.map +1 -0
  184. package/{theme/index.d.ts → types/qualcomm-ui-angular-theme.d.ts} +1 -1
  185. package/types/qualcomm-ui-angular-theme.d.ts.map +1 -0
  186. package/{toast/index.d.ts → types/qualcomm-ui-angular-toast.d.ts} +2 -2
  187. package/types/qualcomm-ui-angular-toast.d.ts.map +1 -0
  188. package/{tooltip/index.d.ts → types/qualcomm-ui-angular-tooltip.d.ts} +1 -1
  189. package/types/qualcomm-ui-angular-tooltip.d.ts.map +1 -0
  190. package/{transitions/index.d.ts → types/qualcomm-ui-angular-transitions.d.ts} +1 -1
  191. package/types/qualcomm-ui-angular-transitions.d.ts.map +1 -0
  192. package/{tree/index.d.ts → types/qualcomm-ui-angular-tree.d.ts} +1 -1
  193. package/types/qualcomm-ui-angular-tree.d.ts.map +1 -0
  194. package/types/qualcomm-ui-angular.d.ts +3 -0
  195. package/types/qualcomm-ui-angular.d.ts.map +1 -0
  196. package/accordion/index.d.ts.map +0 -1
  197. package/action-group/index.d.ts.map +0 -1
  198. package/alert-banner/index.d.ts.map +0 -1
  199. package/avatar/index.d.ts.map +0 -1
  200. package/badge/index.d.ts.map +0 -1
  201. package/breadcrumbs/index.d.ts.map +0 -1
  202. package/button/index.d.ts.map +0 -1
  203. package/checkbox/index.d.ts.map +0 -1
  204. package/checkbox-group/index.d.ts.map +0 -1
  205. package/checkmark/index.d.ts.map +0 -1
  206. package/collapsible/index.d.ts.map +0 -1
  207. package/combobox/index.d.ts.map +0 -1
  208. package/dialog/index.d.ts.map +0 -1
  209. package/divider/index.d.ts.map +0 -1
  210. package/drawer/index.d.ts.map +0 -1
  211. package/field-group/index.d.ts.map +0 -1
  212. package/footer/index.d.ts +0 -3
  213. package/footer/index.d.ts.map +0 -1
  214. package/header/index.d.ts +0 -3
  215. package/header/index.d.ts.map +0 -1
  216. package/header-bar/index.d.ts.map +0 -1
  217. package/icon/index.d.ts.map +0 -1
  218. package/index.d.ts +0 -3
  219. package/index.d.ts.map +0 -1
  220. package/inline-icon-button/index.d.ts.map +0 -1
  221. package/inline-notification/index.d.ts.map +0 -1
  222. package/input/index.d.ts.map +0 -1
  223. package/kbd/index.d.ts.map +0 -1
  224. package/link/index.d.ts.map +0 -1
  225. package/menu/index.d.ts.map +0 -1
  226. package/number-input/index.d.ts.map +0 -1
  227. package/pagination/index.d.ts.map +0 -1
  228. package/password-input/index.d.ts.map +0 -1
  229. package/popover/index.d.ts.map +0 -1
  230. package/progress/index.d.ts.map +0 -1
  231. package/progress-ring/index.d.ts.map +0 -1
  232. package/radio/index.d.ts.map +0 -1
  233. package/segmented-control/index.d.ts.map +0 -1
  234. package/select/index.d.ts.map +0 -1
  235. package/side-nav/index.d.ts.map +0 -1
  236. package/slider/index.d.ts.map +0 -1
  237. package/switch/index.d.ts.map +0 -1
  238. package/switch-group/index.d.ts.map +0 -1
  239. package/table/index.d.ts.map +0 -1
  240. package/tabs/index.d.ts.map +0 -1
  241. package/tag/index.d.ts.map +0 -1
  242. package/text-area/index.d.ts.map +0 -1
  243. package/text-input/index.d.ts.map +0 -1
  244. package/theme/index.d.ts.map +0 -1
  245. package/toast/index.d.ts.map +0 -1
  246. package/tooltip/index.d.ts.map +0 -1
  247. package/transitions/index.d.ts.map +0 -1
  248. package/tree/index.d.ts.map +0 -1
@@ -15,10 +15,10 @@ import { createQdsAlertBannerApi } from '@qualcomm-ui/qds-core/alert-banner';
15
15
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
16
16
  // SPDX-License-Identifier: BSD-3-Clause-Clear
17
17
  class QdsAlertBannerContextService extends BaseApiContextService {
18
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsAlertBannerContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
19
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsAlertBannerContextService });
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsAlertBannerContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
19
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsAlertBannerContextService });
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsAlertBannerContextService, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsAlertBannerContextService, decorators: [{
22
22
  type: Injectable
23
23
  }] });
24
24
  const [QDS_ALERT_BANNER_CONTEXT, useQdsAlertBannerContext, provideQdsAlertBannerContext,] = createApiContext("QdsAlertBannerContext", QdsAlertBannerContextService);
@@ -31,10 +31,10 @@ class AlertBannerActionDirective {
31
31
  ngOnInit() {
32
32
  this.trackBindings();
33
33
  }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: AlertBannerActionDirective, isStandalone: false, selector: "[q-alert-banner-action]", ngImport: i0 });
34
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AlertBannerActionDirective, isStandalone: false, selector: "[q-alert-banner-action]", ngImport: i0 });
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerActionDirective, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerActionDirective, decorators: [{
38
38
  type: Directive,
39
39
  args: [{
40
40
  selector: "[q-alert-banner-action]",
@@ -54,7 +54,7 @@ class AlertBannerCloseButtonDirective {
54
54
  : "persistent-white";
55
55
  }
56
56
  return undefined;
57
- }, ...(ngDevMode ? [{ debugName: "buttonEmphasis" }] : []));
57
+ }, ...(ngDevMode ? [{ debugName: "buttonEmphasis" }] : /* istanbul ignore next */ []));
58
58
  inlineIconButtonApi = useInlineIconButtonApi({
59
59
  emphasis: this.buttonEmphasis,
60
60
  size: "md",
@@ -64,14 +64,14 @@ class AlertBannerCloseButtonDirective {
64
64
  ngOnInit() {
65
65
  this.trackBindings();
66
66
  }
67
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerCloseButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
68
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AlertBannerCloseButtonDirective, isStandalone: false, selector: "[q-alert-banner-close-button]", providers: [provideIcons({ X })], hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0, template: `
67
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerCloseButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
68
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.2", type: AlertBannerCloseButtonDirective, isStandalone: false, selector: "[q-alert-banner-close-button]", providers: [provideIcons({ X })], hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0, template: `
69
69
  <ng-content>
70
70
  <svg qIcon="X" [q-bind]="inlineIconButtonApi().getIconBindings()"></svg>
71
71
  </ng-content>
72
72
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }, { kind: "directive", type: i3.QBindDirective, selector: "[q-bind]", inputs: ["q-bind", "q-bind-options"] }] });
73
73
  }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerCloseButtonDirective, decorators: [{
74
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerCloseButtonDirective, decorators: [{
75
75
  type: Component,
76
76
  args: [{
77
77
  hostDirectives: [QuiPreloadDirective],
@@ -94,10 +94,10 @@ class AlertBannerDescriptionDirective {
94
94
  ngOnInit() {
95
95
  this.trackBindings();
96
96
  }
97
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
98
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: AlertBannerDescriptionDirective, isStandalone: false, selector: "[q-alert-banner-description]", ngImport: i0 });
97
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerDescriptionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
98
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AlertBannerDescriptionDirective, isStandalone: false, selector: "[q-alert-banner-description]", ngImport: i0 });
99
99
  }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerDescriptionDirective, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerDescriptionDirective, decorators: [{
101
101
  type: Directive,
102
102
  args: [{
103
103
  selector: "[q-alert-banner-description]",
@@ -113,10 +113,10 @@ class AlertBannerHeadingDirective {
113
113
  ngOnInit() {
114
114
  this.trackBindings();
115
115
  }
116
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerHeadingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
117
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: AlertBannerHeadingDirective, isStandalone: false, selector: "[q-alert-banner-heading]", ngImport: i0 });
116
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerHeadingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
117
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AlertBannerHeadingDirective, isStandalone: false, selector: "[q-alert-banner-heading]", ngImport: i0 });
118
118
  }
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerHeadingDirective, decorators: [{
119
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerHeadingDirective, decorators: [{
120
120
  type: Directive,
121
121
  args: [{
122
122
  selector: "[q-alert-banner-heading]",
@@ -138,17 +138,17 @@ class AlertBannerIconDirective {
138
138
  * Override the icon displayed in the banner. When this prop is omitted,
139
139
  * the icon is determined by the emphasis prop.
140
140
  */
141
- icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
141
+ icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
142
142
  qdsContext = useQdsAlertBannerContext();
143
143
  resolvedIcon = computed(() => {
144
144
  return this.icon() || icons[this.qdsContext().emphasis];
145
- }, ...(ngDevMode ? [{ debugName: "resolvedIcon" }] : []));
145
+ }, ...(ngDevMode ? [{ debugName: "resolvedIcon" }] : /* istanbul ignore next */ []));
146
146
  trackBindings = useTrackBindings(() => this.qdsContext().getIconBindings());
147
147
  ngOnInit() {
148
148
  this.trackBindings();
149
149
  }
150
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AlertBannerIconDirective, isStandalone: false, selector: "[q-alert-banner-icon]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
150
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: AlertBannerIconDirective, isStandalone: false, selector: "[q-alert-banner-icon]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
152
152
  @if (resolvedIcon()) {
153
153
  <svg size="lg" [qIcon]="resolvedIcon()!"></svg>
154
154
  } @else {
@@ -156,7 +156,7 @@ class AlertBannerIconDirective {
156
156
  }
157
157
  `, isInline: true, dependencies: [{ kind: "directive", type: i2.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
158
158
  }
159
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerIconDirective, decorators: [{
159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerIconDirective, decorators: [{
160
160
  type: Component,
161
161
  args: [{
162
162
  selector: "[q-alert-banner-icon]",
@@ -179,25 +179,25 @@ class AlertBannerRootDirective {
179
179
  *
180
180
  * @default 'Close'
181
181
  */
182
- closeButtonAriaLabel = input(...(ngDevMode ? [undefined, { debugName: "closeButtonAriaLabel" }] : []));
182
+ closeButtonAriaLabel = input(...(ngDevMode ? [undefined, { debugName: "closeButtonAriaLabel" }] : /* istanbul ignore next */ []));
183
183
  /**
184
184
  * The document's text/writing direction.
185
185
  *
186
186
  * @default "ltr"
187
187
  */
188
- dir = input(...(ngDevMode ? [undefined, { debugName: "dir" }] : []));
188
+ dir = input(...(ngDevMode ? [undefined, { debugName: "dir" }] : /* istanbul ignore next */ []));
189
189
  /**
190
190
  * Governs the color of the banner and its icon.
191
191
  *
192
192
  * @default 'info'
193
193
  */
194
- emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : []));
194
+ emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : /* istanbul ignore next */ []));
195
195
  /**
196
196
  * The visual style of the banner.
197
197
  *
198
198
  * @default 'strong'
199
199
  */
200
- variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
200
+ variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
201
201
  /**
202
202
  * Event emitted when the close button is clicked.
203
203
  */
@@ -216,10 +216,10 @@ class AlertBannerRootDirective {
216
216
  })));
217
217
  this.trackBindings();
218
218
  }
219
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
220
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: AlertBannerRootDirective, isStandalone: false, selector: "[q-alert-banner-root]", inputs: { closeButtonAriaLabel: { classPropertyName: "closeButtonAriaLabel", publicName: "closeButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, providers: [provideQdsAlertBannerContext()], ngImport: i0 });
219
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
220
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: AlertBannerRootDirective, isStandalone: false, selector: "[q-alert-banner-root]", inputs: { closeButtonAriaLabel: { classPropertyName: "closeButtonAriaLabel", publicName: "closeButtonAriaLabel", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { closed: "closed" }, providers: [provideQdsAlertBannerContext()], ngImport: i0 });
221
221
  }
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerRootDirective, decorators: [{
222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerRootDirective, decorators: [{
223
223
  type: Directive,
224
224
  args: [{
225
225
  providers: [provideQdsAlertBannerContext()],
@@ -240,7 +240,7 @@ class AlertBannerDirective extends AlertBannerRootDirective {
240
240
  * <div q-alert-banner-description>...</div>
241
241
  * ```
242
242
  */
243
- description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
243
+ description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : /* istanbul ignore next */ []));
244
244
  /**
245
245
  * When `true`, renders a close button that calls `closed` when clicked.
246
246
  *
@@ -252,9 +252,7 @@ class AlertBannerDirective extends AlertBannerRootDirective {
252
252
  *
253
253
  * @default false
254
254
  */
255
- dismissable = input(undefined, ...(ngDevMode ? [{ debugName: "dismissable", transform: booleanAttribute }] : [{
256
- transform: booleanAttribute,
257
- }]));
255
+ dismissable = input(undefined, { ...(ngDevMode ? { debugName: "dismissable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
258
256
  /**
259
257
  * Optional heading text for the banner.
260
258
  *
@@ -264,9 +262,9 @@ class AlertBannerDirective extends AlertBannerRootDirective {
264
262
  * <div q-alert-banner-heading>...</div>
265
263
  * ```
266
264
  */
267
- heading = input(...(ngDevMode ? [undefined, { debugName: "heading" }] : []));
268
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerDirective, deps: null, target: i0.ɵɵFactoryTarget.Component });
269
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: AlertBannerDirective, isStandalone: false, selector: "[q-alert-banner]", inputs: { description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, dismissable: { classPropertyName: "dismissable", publicName: "dismissable", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideQdsAlertBannerContext()], usesInheritance: true, ngImport: i0, template: `
265
+ heading = input(...(ngDevMode ? [undefined, { debugName: "heading" }] : /* istanbul ignore next */ []));
266
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerDirective, deps: null, target: i0.ɵɵFactoryTarget.Component });
267
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: AlertBannerDirective, isStandalone: false, selector: "[q-alert-banner]", inputs: { description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, dismissable: { classPropertyName: "dismissable", publicName: "dismissable", isSignal: true, isRequired: false, transformFunction: null }, heading: { classPropertyName: "heading", publicName: "heading", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideQdsAlertBannerContext()], usesInheritance: true, ngImport: i0, template: `
270
268
  <ng-content select="[q-alert-banner-icon]">
271
269
  <span q-alert-banner-icon></span>
272
270
  </ng-content>
@@ -292,7 +290,7 @@ class AlertBannerDirective extends AlertBannerRootDirective {
292
290
  </ng-content>
293
291
  `, isInline: true, dependencies: [{ kind: "component", type: AlertBannerCloseButtonDirective, selector: "[q-alert-banner-close-button]" }, { kind: "directive", type: AlertBannerDescriptionDirective, selector: "[q-alert-banner-description]" }, { kind: "directive", type: AlertBannerHeadingDirective, selector: "[q-alert-banner-heading]" }, { kind: "component", type: AlertBannerIconDirective, selector: "[q-alert-banner-icon]", inputs: ["icon"] }] });
294
292
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerDirective, decorators: [{
293
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerDirective, decorators: [{
296
294
  type: Component,
297
295
  args: [{
298
296
  providers: [provideQdsAlertBannerContext()],
@@ -329,8 +327,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
329
327
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
330
328
  // SPDX-License-Identifier: BSD-3-Clause-Clear
331
329
  class AlertBannerModule {
332
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
333
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerModule, declarations: [AlertBannerDirective,
330
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
331
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerModule, declarations: [AlertBannerDirective,
334
332
  AlertBannerRootDirective,
335
333
  AlertBannerActionDirective,
336
334
  AlertBannerCloseButtonDirective,
@@ -343,9 +341,9 @@ class AlertBannerModule {
343
341
  AlertBannerDescriptionDirective,
344
342
  AlertBannerHeadingDirective,
345
343
  AlertBannerIconDirective] });
346
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerModule });
344
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerModule });
347
345
  }
348
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AlertBannerModule, decorators: [{
346
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AlertBannerModule, decorators: [{
349
347
  type: NgModule,
350
348
  args: [{
351
349
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-alert-banner.mjs","sources":["../../src/alert-banner/qds-alert-banner-context.service.ts","../../src/alert-banner/alert-banner-action.directive.ts","../../src/alert-banner/alert-banner-close-button.directive.ts","../../src/alert-banner/alert-banner-description.directive.ts","../../src/alert-banner/alert-banner-heading.directive.ts","../../src/alert-banner/alert-banner-icon.directive.ts","../../src/alert-banner/alert-banner-root.directive.ts","../../src/alert-banner/alert-banner.directive.ts","../../src/alert-banner/alert-banner.module.ts","../../src/alert-banner/qualcomm-ui-angular-alert-banner.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 {QdsAlertBannerApi} from \"@qualcomm-ui/qds-core/alert-banner\"\n\nexport interface QdsAlertBannerContextValue extends QdsAlertBannerApi {\n onClose?: () => void\n}\n\n@Injectable()\nexport class QdsAlertBannerContextService extends BaseApiContextService<QdsAlertBannerContextValue> {}\n\nexport const [\n QDS_ALERT_BANNER_CONTEXT,\n useQdsAlertBannerContext,\n provideQdsAlertBannerContext,\n]: ApiContext<QdsAlertBannerContextValue> =\n createApiContext<QdsAlertBannerContextValue>(\n \"QdsAlertBannerContext\",\n QdsAlertBannerContextService,\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 {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n selector: \"[q-alert-banner-action]\",\n standalone: false,\n})\nexport class AlertBannerActionDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getActionBindings(),\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 {Component, computed, type OnInit} from \"@angular/core\"\nimport {X} from \"lucide-angular\"\n\nimport {useInlineIconButtonApi} from \"@qualcomm-ui/angular/inline-icon-button\"\nimport {QuiPreloadDirective} from \"@qualcomm-ui/angular/transitions\"\nimport {provideIcons} from \"@qualcomm-ui/angular-core/lucide\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Component({\n hostDirectives: [QuiPreloadDirective],\n providers: [provideIcons({X})],\n selector: \"[q-alert-banner-close-button]\",\n standalone: false,\n template: `\n <ng-content>\n <svg qIcon=\"X\" [q-bind]=\"inlineIconButtonApi().getIconBindings()\"></svg>\n </ng-content>\n `,\n})\nexport class AlertBannerCloseButtonDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly buttonEmphasis = computed(() => {\n const context = this.qdsContext()\n if (context.variant === \"strong\") {\n return context.emphasis === \"warning\"\n ? \"persistent-black\"\n : \"persistent-white\"\n }\n return undefined\n })\n\n protected readonly inlineIconButtonApi = useInlineIconButtonApi({\n emphasis: this.buttonEmphasis,\n size: \"md\",\n variant: \"fixed\",\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n mergeProps(\n {onclick: () => this.qdsContext().onClose?.()},\n this.qdsContext().getCloseButtonBindings(),\n this.inlineIconButtonApi().getRootBindings(),\n ),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n selector: \"[q-alert-banner-description]\",\n standalone: false,\n})\nexport class AlertBannerDescriptionDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getDescriptionBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n selector: \"[q-alert-banner-heading]\",\n standalone: false,\n})\nexport class AlertBannerHeadingDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getHeadingBindings(),\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 {Component, computed, input, type OnInit} from \"@angular/core\"\nimport {\n BellRing,\n CircleAlert,\n CircleCheck,\n Info,\n TriangleAlert,\n} from \"lucide-angular\"\n\nimport type {LucideIcon} from \"@qualcomm-ui/angular-core/lucide\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {QdsAlertBannerEmphasis} from \"@qualcomm-ui/qds-core/alert-banner\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\nconst icons: Record<QdsAlertBannerEmphasis, LucideIcon> = {\n danger: CircleAlert,\n info: Info,\n neutral: BellRing,\n success: CircleCheck,\n warning: TriangleAlert,\n}\n\n@Component({\n selector: \"[q-alert-banner-icon]\",\n standalone: false,\n template: `\n @if (resolvedIcon()) {\n <svg size=\"lg\" [qIcon]=\"resolvedIcon()!\"></svg>\n } @else {\n <ng-content />\n }\n `,\n})\nexport class AlertBannerIconDirective implements OnInit {\n /**\n * Override the icon displayed in the banner. When this prop is omitted,\n * the icon is determined by the emphasis prop.\n */\n readonly icon = input<LucideIcon>()\n\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly resolvedIcon = computed(() => {\n return this.icon() || icons[this.qdsContext().emphasis]\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getIconBindings(),\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 inject,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {\n normalizeProps,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsAlertBannerApi,\n type QdsAlertBannerApiProps,\n type QdsAlertBannerEmphasis,\n type QdsAlertBannerVariant,\n} from \"@qualcomm-ui/qds-core/alert-banner\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\n\nimport {\n provideQdsAlertBannerContext,\n QdsAlertBannerContextService,\n type QdsAlertBannerContextValue,\n} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n providers: [provideQdsAlertBannerContext()],\n selector: \"[q-alert-banner-root]\",\n standalone: false,\n})\nexport class AlertBannerRootDirective\n implements SignalifyInput<QdsAlertBannerApiProps>, OnInit\n{\n /**\n * Accessible label for the close button.\n *\n * @default 'Close'\n */\n readonly closeButtonAriaLabel = input<string>()\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction>()\n\n /**\n * Governs the color of the banner and its icon.\n *\n * @default 'info'\n */\n readonly emphasis = input<QdsAlertBannerEmphasis>()\n\n /**\n * The visual style of the banner.\n *\n * @default 'strong'\n */\n readonly variant = input<QdsAlertBannerVariant>()\n\n /**\n * Event emitted when the close button is clicked.\n */\n readonly closed = output<void>()\n\n protected readonly qdsAlertBannerService = inject(\n QdsAlertBannerContextService,\n )\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsAlertBannerService.context().getRootBindings(),\n )\n\n ngOnInit() {\n this.qdsAlertBannerService.init(\n computed<QdsAlertBannerContextValue>(() => ({\n ...createQdsAlertBannerApi(\n {\n closeButtonAriaLabel: this.closeButtonAriaLabel(),\n dir: this.dir(),\n emphasis: this.emphasis(),\n variant: this.variant(),\n },\n normalizeProps,\n ),\n onClose: () => this.closed.emit(),\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 {booleanAttribute, Component, input} from \"@angular/core\"\n\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {AlertBannerRootDirective} from \"./alert-banner-root.directive\"\nimport {provideQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Component({\n providers: [provideQdsAlertBannerContext()],\n selector: \"[q-alert-banner]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-alert-banner-icon]\">\n <span q-alert-banner-icon></span>\n </ng-content>\n\n <ng-content select=\"[q-alert-banner-heading]\">\n @if (heading()) {\n <div q-alert-banner-heading>{{ heading() }}</div>\n }\n </ng-content>\n\n <ng-content select=\"[q-alert-banner-description]\">\n @if (description()) {\n <div q-alert-banner-description>{{ description() }}</div>\n }\n </ng-content>\n\n <ng-content select=\"[q-alert-banner-action]\" />\n\n <ng-content select=\"[q-alert-banner-close-button]\">\n @if (dismissable()) {\n <button q-alert-banner-close-button></button>\n }\n </ng-content>\n `,\n})\nexport class AlertBannerDirective extends AlertBannerRootDirective {\n /**\n * Optional description text for the banner.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <div q-alert-banner-description>...</div>\n * ```\n */\n readonly description = input<string>()\n\n /**\n * When `true`, renders a close button that calls `closed` when clicked.\n *\n * @remarks\n * To customize the close button, provide it using the directive instead:\n * ```angular-html\n * <button q-alert-banner-close-button>...</button>\n * ```\n *\n * @default false\n */\n readonly dismissable = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Optional heading text for the banner.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <div q-alert-banner-heading>...</div>\n * ```\n */\n readonly heading = input<string>()\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {NgModule} from \"@angular/core\"\n\nimport {IconDirective} from \"@qualcomm-ui/angular/icon\"\nimport {QBindDirective} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {AlertBannerActionDirective} from \"./alert-banner-action.directive\"\nimport {AlertBannerCloseButtonDirective} from \"./alert-banner-close-button.directive\"\nimport {AlertBannerDescriptionDirective} from \"./alert-banner-description.directive\"\nimport {AlertBannerHeadingDirective} from \"./alert-banner-heading.directive\"\nimport {AlertBannerIconDirective} from \"./alert-banner-icon.directive\"\nimport {AlertBannerRootDirective} from \"./alert-banner-root.directive\"\nimport {AlertBannerDirective} from \"./alert-banner.directive\"\n\n@NgModule({\n declarations: [\n AlertBannerDirective,\n AlertBannerRootDirective,\n AlertBannerActionDirective,\n AlertBannerCloseButtonDirective,\n AlertBannerDescriptionDirective,\n AlertBannerHeadingDirective,\n AlertBannerIconDirective,\n ],\n exports: [\n AlertBannerDirective,\n AlertBannerRootDirective,\n AlertBannerActionDirective,\n AlertBannerCloseButtonDirective,\n AlertBannerDescriptionDirective,\n AlertBannerHeadingDirective,\n AlertBannerIconDirective,\n ],\n imports: [IconDirective, QBindDirective],\n})\nexport class AlertBannerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i1.AlertBannerCloseButtonDirective","i2.AlertBannerDescriptionDirective","i3.AlertBannerHeadingDirective","i4.AlertBannerIconDirective"],"mappings":";;;;;;;;;;;;;;AAAA;AACA;AAgBM,MAAO,4BAA6B,SAAQ,qBAAiD,CAAA;wGAAtF,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAA5B,4BAA4B,EAAA,CAAA;;4FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC;;AAGM,MAAM,CACX,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC7B,GACC,gBAAgB,CACd,uBAAuB,EACvB,4BAA4B;;AC1BhC;AACA;MAYa,0BAA0B,CAAA;IAClB,UAAU,GAAG,wBAAwB,EAAE;AAEvC,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAClD,IAAI,CAAC,UAAU,EAAE,CAAC,iBAAiB,EAAE,CACtC;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGATW,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA1B,0BAA0B,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,yBAAA,EA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,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,iBAnB1B,oBAAoB;YACpB,wBAAwB;YACxB,0BAA0B;YAC1B,+BAA+B;YAC/B,+BAA+B;YAC/B,2BAA2B;AAC3B,YAAA,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAWhB,aAAa,EAAE,cAAc,aARrC,oBAAoB;YACpB,wBAAwB;YACxB,0BAA0B;YAC1B,+BAA+B;YAC/B,+BAA+B;YAC/B,2BAA2B;YAC3B,wBAAwB,CAAA,EAAA,CAAA;yGAIf,iBAAiB,EAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBArB7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,wBAAwB;wBACxB,0BAA0B;wBAC1B,+BAA+B;wBAC/B,+BAA+B;wBAC/B,2BAA2B;wBAC3B,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;wBACpB,wBAAwB;wBACxB,0BAA0B;wBAC1B,+BAA+B;wBAC/B,+BAA+B;wBAC/B,2BAA2B;wBAC3B,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,cAAc,CAAC;AACzC,iBAAA;;;ACpCD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-alert-banner.mjs","sources":["../../src/alert-banner/qds-alert-banner-context.service.ts","../../src/alert-banner/alert-banner-action.directive.ts","../../src/alert-banner/alert-banner-close-button.directive.ts","../../src/alert-banner/alert-banner-description.directive.ts","../../src/alert-banner/alert-banner-heading.directive.ts","../../src/alert-banner/alert-banner-icon.directive.ts","../../src/alert-banner/alert-banner-root.directive.ts","../../src/alert-banner/alert-banner.directive.ts","../../src/alert-banner/alert-banner.module.ts","../../src/alert-banner/qualcomm-ui-angular-alert-banner.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 {QdsAlertBannerApi} from \"@qualcomm-ui/qds-core/alert-banner\"\n\nexport interface QdsAlertBannerContextValue extends QdsAlertBannerApi {\n onClose?: () => void\n}\n\n@Injectable()\nexport class QdsAlertBannerContextService extends BaseApiContextService<QdsAlertBannerContextValue> {}\n\nexport const [\n QDS_ALERT_BANNER_CONTEXT,\n useQdsAlertBannerContext,\n provideQdsAlertBannerContext,\n]: ApiContext<QdsAlertBannerContextValue> =\n createApiContext<QdsAlertBannerContextValue>(\n \"QdsAlertBannerContext\",\n QdsAlertBannerContextService,\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 {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n selector: \"[q-alert-banner-action]\",\n standalone: false,\n})\nexport class AlertBannerActionDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getActionBindings(),\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 {Component, computed, type OnInit} from \"@angular/core\"\nimport {X} from \"lucide-angular\"\n\nimport {useInlineIconButtonApi} from \"@qualcomm-ui/angular/inline-icon-button\"\nimport {QuiPreloadDirective} from \"@qualcomm-ui/angular/transitions\"\nimport {provideIcons} from \"@qualcomm-ui/angular-core/lucide\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Component({\n hostDirectives: [QuiPreloadDirective],\n providers: [provideIcons({X})],\n selector: \"[q-alert-banner-close-button]\",\n standalone: false,\n template: `\n <ng-content>\n <svg qIcon=\"X\" [q-bind]=\"inlineIconButtonApi().getIconBindings()\"></svg>\n </ng-content>\n `,\n})\nexport class AlertBannerCloseButtonDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly buttonEmphasis = computed(() => {\n const context = this.qdsContext()\n if (context.variant === \"strong\") {\n return context.emphasis === \"warning\"\n ? \"persistent-black\"\n : \"persistent-white\"\n }\n return undefined\n })\n\n protected readonly inlineIconButtonApi = useInlineIconButtonApi({\n emphasis: this.buttonEmphasis,\n size: \"md\",\n variant: \"fixed\",\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n mergeProps(\n {onclick: () => this.qdsContext().onClose?.()},\n this.qdsContext().getCloseButtonBindings(),\n this.inlineIconButtonApi().getRootBindings(),\n ),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n selector: \"[q-alert-banner-description]\",\n standalone: false,\n})\nexport class AlertBannerDescriptionDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getDescriptionBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n selector: \"[q-alert-banner-heading]\",\n standalone: false,\n})\nexport class AlertBannerHeadingDirective implements OnInit {\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getHeadingBindings(),\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 {Component, computed, input, type OnInit} from \"@angular/core\"\nimport {\n BellRing,\n CircleAlert,\n CircleCheck,\n Info,\n TriangleAlert,\n} from \"lucide-angular\"\n\nimport type {LucideIcon} from \"@qualcomm-ui/angular-core/lucide\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {QdsAlertBannerEmphasis} from \"@qualcomm-ui/qds-core/alert-banner\"\n\nimport {useQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\nconst icons: Record<QdsAlertBannerEmphasis, LucideIcon> = {\n danger: CircleAlert,\n info: Info,\n neutral: BellRing,\n success: CircleCheck,\n warning: TriangleAlert,\n}\n\n@Component({\n selector: \"[q-alert-banner-icon]\",\n standalone: false,\n template: `\n @if (resolvedIcon()) {\n <svg size=\"lg\" [qIcon]=\"resolvedIcon()!\"></svg>\n } @else {\n <ng-content />\n }\n `,\n})\nexport class AlertBannerIconDirective implements OnInit {\n /**\n * Override the icon displayed in the banner. When this prop is omitted,\n * the icon is determined by the emphasis prop.\n */\n readonly icon = input<LucideIcon>()\n\n protected readonly qdsContext = useQdsAlertBannerContext()\n\n protected readonly resolvedIcon = computed(() => {\n return this.icon() || icons[this.qdsContext().emphasis]\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsContext().getIconBindings(),\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 inject,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {\n normalizeProps,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsAlertBannerApi,\n type QdsAlertBannerApiProps,\n type QdsAlertBannerEmphasis,\n type QdsAlertBannerVariant,\n} from \"@qualcomm-ui/qds-core/alert-banner\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\n\nimport {\n provideQdsAlertBannerContext,\n QdsAlertBannerContextService,\n type QdsAlertBannerContextValue,\n} from \"./qds-alert-banner-context.service\"\n\n@Directive({\n providers: [provideQdsAlertBannerContext()],\n selector: \"[q-alert-banner-root]\",\n standalone: false,\n})\nexport class AlertBannerRootDirective\n implements SignalifyInput<QdsAlertBannerApiProps>, OnInit\n{\n /**\n * Accessible label for the close button.\n *\n * @default 'Close'\n */\n readonly closeButtonAriaLabel = input<string>()\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction>()\n\n /**\n * Governs the color of the banner and its icon.\n *\n * @default 'info'\n */\n readonly emphasis = input<QdsAlertBannerEmphasis>()\n\n /**\n * The visual style of the banner.\n *\n * @default 'strong'\n */\n readonly variant = input<QdsAlertBannerVariant>()\n\n /**\n * Event emitted when the close button is clicked.\n */\n readonly closed = output<void>()\n\n protected readonly qdsAlertBannerService = inject(\n QdsAlertBannerContextService,\n )\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.qdsAlertBannerService.context().getRootBindings(),\n )\n\n ngOnInit() {\n this.qdsAlertBannerService.init(\n computed<QdsAlertBannerContextValue>(() => ({\n ...createQdsAlertBannerApi(\n {\n closeButtonAriaLabel: this.closeButtonAriaLabel(),\n dir: this.dir(),\n emphasis: this.emphasis(),\n variant: this.variant(),\n },\n normalizeProps,\n ),\n onClose: () => this.closed.emit(),\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 {booleanAttribute, Component, input} from \"@angular/core\"\n\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {AlertBannerRootDirective} from \"./alert-banner-root.directive\"\nimport {provideQdsAlertBannerContext} from \"./qds-alert-banner-context.service\"\n\n@Component({\n providers: [provideQdsAlertBannerContext()],\n selector: \"[q-alert-banner]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-alert-banner-icon]\">\n <span q-alert-banner-icon></span>\n </ng-content>\n\n <ng-content select=\"[q-alert-banner-heading]\">\n @if (heading()) {\n <div q-alert-banner-heading>{{ heading() }}</div>\n }\n </ng-content>\n\n <ng-content select=\"[q-alert-banner-description]\">\n @if (description()) {\n <div q-alert-banner-description>{{ description() }}</div>\n }\n </ng-content>\n\n <ng-content select=\"[q-alert-banner-action]\" />\n\n <ng-content select=\"[q-alert-banner-close-button]\">\n @if (dismissable()) {\n <button q-alert-banner-close-button></button>\n }\n </ng-content>\n `,\n})\nexport class AlertBannerDirective extends AlertBannerRootDirective {\n /**\n * Optional description text for the banner.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <div q-alert-banner-description>...</div>\n * ```\n */\n readonly description = input<string>()\n\n /**\n * When `true`, renders a close button that calls `closed` when clicked.\n *\n * @remarks\n * To customize the close button, provide it using the directive instead:\n * ```angular-html\n * <button q-alert-banner-close-button>...</button>\n * ```\n *\n * @default false\n */\n readonly dismissable = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Optional heading text for the banner.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <div q-alert-banner-heading>...</div>\n * ```\n */\n readonly heading = input<string>()\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {NgModule} from \"@angular/core\"\n\nimport {IconDirective} from \"@qualcomm-ui/angular/icon\"\nimport {QBindDirective} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {AlertBannerActionDirective} from \"./alert-banner-action.directive\"\nimport {AlertBannerCloseButtonDirective} from \"./alert-banner-close-button.directive\"\nimport {AlertBannerDescriptionDirective} from \"./alert-banner-description.directive\"\nimport {AlertBannerHeadingDirective} from \"./alert-banner-heading.directive\"\nimport {AlertBannerIconDirective} from \"./alert-banner-icon.directive\"\nimport {AlertBannerRootDirective} from \"./alert-banner-root.directive\"\nimport {AlertBannerDirective} from \"./alert-banner.directive\"\n\n@NgModule({\n declarations: [\n AlertBannerDirective,\n AlertBannerRootDirective,\n AlertBannerActionDirective,\n AlertBannerCloseButtonDirective,\n AlertBannerDescriptionDirective,\n AlertBannerHeadingDirective,\n AlertBannerIconDirective,\n ],\n exports: [\n AlertBannerDirective,\n AlertBannerRootDirective,\n AlertBannerActionDirective,\n AlertBannerCloseButtonDirective,\n AlertBannerDescriptionDirective,\n AlertBannerHeadingDirective,\n AlertBannerIconDirective,\n ],\n imports: [IconDirective, QBindDirective],\n})\nexport class AlertBannerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i1.AlertBannerCloseButtonDirective","i2.AlertBannerDescriptionDirective","i3.AlertBannerHeadingDirective","i4.AlertBannerIconDirective"],"mappings":";;;;;;;;;;;;;;AAAA;AACA;AAgBM,MAAO,4BAA6B,SAAQ,qBAAiD,CAAA;uGAAtF,4BAA4B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAA5B,4BAA4B,EAAA,CAAA;;2FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBADxC;;AAGM,MAAM,CACX,wBAAwB,EACxB,wBAAwB,EACxB,4BAA4B,EAC7B,GAC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}
@@ -7,10 +7,10 @@ import { createQdsAvatarApi } from '@qualcomm-ui/qds-core/avatar';
7
7
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
8
8
  // SPDX-License-Identifier: BSD-3-Clause-Clear
9
9
  class QdsAvatarContextService extends BaseApiContextService {
10
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsAvatarContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsAvatarContextService });
10
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsAvatarContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
11
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsAvatarContextService });
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsAvatarContextService, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsAvatarContextService, decorators: [{
14
14
  type: Injectable
15
15
  }] });
16
16
  const [QDS_AVATAR_CONTEXT, useQdsAvatarContext, provideQdsAvatarContext,] = createApiContext("QdsAvatarContext", QdsAvatarContextService);
@@ -23,10 +23,10 @@ class AvatarContentDirective extends CoreAvatarContentDirective {
23
23
  super();
24
24
  this.trackBindings.extendWith(computed(() => this.qdsContext().getContentBindings()));
25
25
  }
26
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: AvatarContentDirective, isStandalone: false, selector: "[q-avatar-content]", usesInheritance: true, ngImport: i0 });
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
27
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AvatarContentDirective, isStandalone: false, selector: "[q-avatar-content]", usesInheritance: true, ngImport: i0 });
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarContentDirective, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarContentDirective, decorators: [{
30
30
  type: Directive,
31
31
  args: [{
32
32
  selector: "[q-avatar-content]",
@@ -42,10 +42,10 @@ class AvatarImageDirective extends CoreAvatarImageDirective {
42
42
  super();
43
43
  this.trackBindings.extendWith(computed(() => this.qdsContext().getImageBindings()));
44
44
  }
45
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
46
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: AvatarImageDirective, isStandalone: false, selector: "[q-avatar-image]", usesInheritance: true, ngImport: i0 });
45
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarImageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
46
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AvatarImageDirective, isStandalone: false, selector: "[q-avatar-image]", usesInheritance: true, ngImport: i0 });
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarImageDirective, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarImageDirective, decorators: [{
49
49
  type: Directive,
50
50
  args: [{
51
51
  selector: "[q-avatar-image]",
@@ -61,10 +61,10 @@ class AvatarStatusDirective extends CoreAvatarStatusDirective {
61
61
  super();
62
62
  this.trackBindings.extendWith(computed(() => this.qdsContext().getStatusBindings()));
63
63
  }
64
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarStatusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
65
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: AvatarStatusDirective, isStandalone: false, selector: "[q-avatar-status]", usesInheritance: true, ngImport: i0 });
64
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarStatusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
65
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: AvatarStatusDirective, isStandalone: false, selector: "[q-avatar-status]", usesInheritance: true, ngImport: i0 });
66
66
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarStatusDirective, decorators: [{
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarStatusDirective, decorators: [{
68
68
  type: Directive,
69
69
  args: [{
70
70
  selector: "[q-avatar-status]",
@@ -78,20 +78,20 @@ class AvatarDirective extends CoreAvatarRootDirective {
78
78
  /**
79
79
  * Governs the color of the avatar.
80
80
  */
81
- emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : []));
81
+ emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : /* istanbul ignore next */ []));
82
82
  /**
83
83
  * Governs the width and height of the avatar as well as the font size of its
84
84
  * content.
85
85
  */
86
- size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
86
+ size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
87
87
  /**
88
88
  * Optional status for the avatar, renders a dot indicator next to the avatar.
89
89
  */
90
- status = input(...(ngDevMode ? [undefined, { debugName: "status" }] : []));
90
+ status = input(...(ngDevMode ? [undefined, { debugName: "status" }] : /* istanbul ignore next */ []));
91
91
  /**
92
92
  * @deprecated use {@link emphasis} instead
93
93
  */
94
- variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
94
+ variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
95
95
  qdsAvatarService = inject(QdsAvatarContextService);
96
96
  constructor() {
97
97
  super();
@@ -104,13 +104,13 @@ class AvatarDirective extends CoreAvatarRootDirective {
104
104
  size: this.size(),
105
105
  status: this.status(),
106
106
  variant: this.variant(),
107
- }, normalizeProps), ...(ngDevMode ? [{ debugName: "qdsAvatarApi" }] : []));
107
+ }, normalizeProps), ...(ngDevMode ? [{ debugName: "qdsAvatarApi" }] : /* istanbul ignore next */ []));
108
108
  this.qdsAvatarService.init(qdsAvatarApi);
109
109
  }
110
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
111
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: AvatarDirective, isStandalone: false, selector: "[q-avatar]", inputs: { emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideAvatarContext(), provideQdsAvatarContext()], usesInheritance: true, ngImport: i0 });
110
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
111
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: AvatarDirective, isStandalone: false, selector: "[q-avatar]", inputs: { emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, status: { classPropertyName: "status", publicName: "status", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideAvatarContext(), provideQdsAvatarContext()], usesInheritance: true, ngImport: i0 });
112
112
  }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarDirective, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarDirective, decorators: [{
114
114
  type: Directive,
115
115
  args: [{
116
116
  providers: [provideAvatarContext(), provideQdsAvatarContext()],
@@ -122,17 +122,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
122
122
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
123
123
  // SPDX-License-Identifier: BSD-3-Clause-Clear
124
124
  class AvatarModule {
125
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
126
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: AvatarModule, declarations: [AvatarDirective,
125
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
126
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: AvatarModule, declarations: [AvatarDirective,
127
127
  AvatarContentDirective,
128
128
  AvatarImageDirective,
129
129
  AvatarStatusDirective], exports: [AvatarDirective,
130
130
  AvatarContentDirective,
131
131
  AvatarImageDirective,
132
132
  AvatarStatusDirective] });
133
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarModule });
133
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarModule });
134
134
  }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AvatarModule, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AvatarModule, decorators: [{
136
136
  type: NgModule,
137
137
  args: [{
138
138
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-avatar.mjs","sources":["../../src/avatar/qds-avatar-context.service.ts","../../src/avatar/avatar-content.directive.ts","../../src/avatar/avatar-image.directive.ts","../../src/avatar/avatar-status.directive.ts","../../src/avatar/avatar.directive.ts","../../src/avatar/avatar.module.ts","../../src/avatar/qualcomm-ui-angular-avatar.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 {QdsAvatarApi} from \"@qualcomm-ui/qds-core/avatar\"\n\n@Injectable()\nexport class QdsAvatarContextService extends BaseApiContextService<QdsAvatarApi> {}\n\nexport const [\n QDS_AVATAR_CONTEXT,\n useQdsAvatarContext,\n provideQdsAvatarContext,\n]: ApiContext<QdsAvatarApi> = createApiContext<QdsAvatarApi>(\n \"QdsAvatarContext\",\n QdsAvatarContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreAvatarContentDirective} from \"@qualcomm-ui/angular-core/avatar\"\n\nimport {useQdsAvatarContext} from \"./qds-avatar-context.service\"\n\n@Directive({\n selector: \"[q-avatar-content]\",\n standalone: false,\n})\nexport class AvatarContentDirective extends CoreAvatarContentDirective {\n readonly qdsContext = useQdsAvatarContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getContentBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreAvatarImageDirective} from \"@qualcomm-ui/angular-core/avatar\"\n\nimport {useQdsAvatarContext} from \"./qds-avatar-context.service\"\n\n@Directive({\n selector: \"[q-avatar-image]\",\n standalone: false,\n})\nexport class AvatarImageDirective extends CoreAvatarImageDirective {\n protected readonly qdsContext = useQdsAvatarContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getImageBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreAvatarStatusDirective} from \"@qualcomm-ui/angular-core/avatar\"\n\nimport {useQdsAvatarContext} from \"./qds-avatar-context.service\"\n\n@Directive({\n selector: \"[q-avatar-status]\",\n standalone: false,\n})\nexport class AvatarStatusDirective extends CoreAvatarStatusDirective {\n protected readonly qdsContext = useQdsAvatarContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getStatusBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input} from \"@angular/core\"\n\nimport {\n CoreAvatarRootDirective,\n provideAvatarContext,\n} from \"@qualcomm-ui/angular-core/avatar\"\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsAvatarApi,\n type QdsAvatarApiProps,\n type QdsAvatarEmphasis,\n type QdsAvatarSize,\n type QdsAvatarStatus,\n type QdsAvatarVariant,\n} from \"@qualcomm-ui/qds-core/avatar\"\n\nimport {\n provideQdsAvatarContext,\n QdsAvatarContextService,\n} from \"./qds-avatar-context.service\"\n\n@Directive({\n providers: [provideAvatarContext(), provideQdsAvatarContext()],\n selector: \"[q-avatar]\",\n standalone: false,\n})\nexport class AvatarDirective\n extends CoreAvatarRootDirective\n implements SignalifyInput<QdsAvatarApiProps>\n{\n /**\n * Governs the color of the avatar.\n */\n readonly emphasis = input<QdsAvatarEmphasis | undefined>()\n\n /**\n * Governs the width and height of the avatar as well as the font size of its\n * content.\n */\n readonly size = input<QdsAvatarSize | undefined>()\n\n /**\n * Optional status for the avatar, renders a dot indicator next to the avatar.\n */\n readonly status = input<QdsAvatarStatus | undefined>()\n\n /**\n * @deprecated use {@link emphasis} instead\n */\n readonly variant = input<QdsAvatarVariant | undefined>()\n\n protected readonly qdsAvatarService = inject(QdsAvatarContextService)\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsAvatarService.context().getRootBindings()),\n )\n }\n\n override ngOnInit() {\n super.ngOnInit()\n\n const qdsAvatarApi = computed(() =>\n createQdsAvatarApi(\n {\n emphasis: this.emphasis(),\n size: this.size(),\n status: this.status(),\n variant: this.variant(),\n },\n normalizeProps,\n ),\n )\n\n this.qdsAvatarService.init(qdsAvatarApi)\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {NgModule} from \"@angular/core\"\n\nimport {AvatarContentDirective} from \"./avatar-content.directive\"\nimport {AvatarImageDirective} from \"./avatar-image.directive\"\nimport {AvatarStatusDirective} from \"./avatar-status.directive\"\nimport {AvatarDirective} from \"./avatar.directive\"\n\n@NgModule({\n declarations: [\n AvatarDirective,\n AvatarContentDirective,\n AvatarImageDirective,\n AvatarStatusDirective,\n ],\n exports: [\n AvatarDirective,\n AvatarContentDirective,\n AvatarImageDirective,\n AvatarStatusDirective,\n ],\n})\nexport class AvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AAYM,MAAO,uBAAwB,SAAQ,qBAAmC,CAAA;wGAAnE,uBAAuB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAvB,uBAAuB,EAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC;;AAGM,MAAM,CACX,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACxB,GAA6B,gBAAgB,CAC5C,kBAAkB,EAClB,uBAAuB,CACxB;;ACtBD;AACA;AAYM,MAAO,sBAAuB,SAAQ,0BAA0B,CAAA;IAC3D,UAAU,GAAG,mBAAmB,EAAE;AAE3C,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,aAAa,CAAC,UAAU,CAC3B,QAAQ,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,kBAAkB,EAAE,CAAC,CACvD;IACH;wGARW,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAtB,sBAAsB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAA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ACtB,oBAAoB;AACpB,YAAA,qBAAqB,aAGrB,eAAe;YACf,sBAAsB;YACtB,oBAAoB;YACpB,qBAAqB,CAAA,EAAA,CAAA;yGAGZ,YAAY,EAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAdxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,eAAe;wBACf,sBAAsB;wBACtB,oBAAoB;wBACpB,qBAAqB;AACtB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,sBAAsB;wBACtB,oBAAoB;wBACpB,qBAAqB;AACtB,qBAAA;AACF,iBAAA;;;ACvBD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-avatar.mjs","sources":["../../src/avatar/qds-avatar-context.service.ts","../../src/avatar/avatar-content.directive.ts","../../src/avatar/avatar-image.directive.ts","../../src/avatar/avatar-status.directive.ts","../../src/avatar/avatar.directive.ts","../../src/avatar/avatar.module.ts","../../src/avatar/qualcomm-ui-angular-avatar.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 {QdsAvatarApi} from \"@qualcomm-ui/qds-core/avatar\"\n\n@Injectable()\nexport class QdsAvatarContextService extends BaseApiContextService<QdsAvatarApi> {}\n\nexport const [\n QDS_AVATAR_CONTEXT,\n useQdsAvatarContext,\n provideQdsAvatarContext,\n]: ApiContext<QdsAvatarApi> = createApiContext<QdsAvatarApi>(\n \"QdsAvatarContext\",\n QdsAvatarContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreAvatarContentDirective} from \"@qualcomm-ui/angular-core/avatar\"\n\nimport {useQdsAvatarContext} from \"./qds-avatar-context.service\"\n\n@Directive({\n selector: \"[q-avatar-content]\",\n standalone: false,\n})\nexport class AvatarContentDirective extends CoreAvatarContentDirective {\n readonly qdsContext = useQdsAvatarContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getContentBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreAvatarImageDirective} from \"@qualcomm-ui/angular-core/avatar\"\n\nimport {useQdsAvatarContext} from \"./qds-avatar-context.service\"\n\n@Directive({\n selector: \"[q-avatar-image]\",\n standalone: false,\n})\nexport class AvatarImageDirective extends CoreAvatarImageDirective {\n protected readonly qdsContext = useQdsAvatarContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getImageBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreAvatarStatusDirective} from \"@qualcomm-ui/angular-core/avatar\"\n\nimport {useQdsAvatarContext} from \"./qds-avatar-context.service\"\n\n@Directive({\n selector: \"[q-avatar-status]\",\n standalone: false,\n})\nexport class AvatarStatusDirective extends CoreAvatarStatusDirective {\n protected readonly qdsContext = useQdsAvatarContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getStatusBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input} from \"@angular/core\"\n\nimport {\n CoreAvatarRootDirective,\n provideAvatarContext,\n} from \"@qualcomm-ui/angular-core/avatar\"\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsAvatarApi,\n type QdsAvatarApiProps,\n type QdsAvatarEmphasis,\n type QdsAvatarSize,\n type QdsAvatarStatus,\n type QdsAvatarVariant,\n} from \"@qualcomm-ui/qds-core/avatar\"\n\nimport {\n provideQdsAvatarContext,\n QdsAvatarContextService,\n} from \"./qds-avatar-context.service\"\n\n@Directive({\n providers: [provideAvatarContext(), provideQdsAvatarContext()],\n selector: \"[q-avatar]\",\n standalone: false,\n})\nexport class AvatarDirective\n extends CoreAvatarRootDirective\n implements SignalifyInput<QdsAvatarApiProps>\n{\n /**\n * Governs the color of the avatar.\n */\n readonly emphasis = input<QdsAvatarEmphasis | undefined>()\n\n /**\n * Governs the width and height of the avatar as well as the font size of its\n * content.\n */\n readonly size = input<QdsAvatarSize | undefined>()\n\n /**\n * Optional status for the avatar, renders a dot indicator next to the avatar.\n */\n readonly status = input<QdsAvatarStatus | undefined>()\n\n /**\n * @deprecated use {@link emphasis} instead\n */\n readonly variant = input<QdsAvatarVariant | undefined>()\n\n protected readonly qdsAvatarService = inject(QdsAvatarContextService)\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsAvatarService.context().getRootBindings()),\n )\n }\n\n override ngOnInit() {\n super.ngOnInit()\n\n const qdsAvatarApi = computed(() =>\n createQdsAvatarApi(\n {\n emphasis: this.emphasis(),\n size: this.size(),\n status: this.status(),\n variant: this.variant(),\n },\n normalizeProps,\n ),\n )\n\n this.qdsAvatarService.init(qdsAvatarApi)\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {NgModule} from \"@angular/core\"\n\nimport {AvatarContentDirective} from \"./avatar-content.directive\"\nimport {AvatarImageDirective} from \"./avatar-image.directive\"\nimport {AvatarStatusDirective} from \"./avatar-status.directive\"\nimport {AvatarDirective} from \"./avatar.directive\"\n\n@NgModule({\n declarations: [\n AvatarDirective,\n AvatarContentDirective,\n AvatarImageDirective,\n AvatarStatusDirective,\n ],\n exports: [\n AvatarDirective,\n AvatarContentDirective,\n AvatarImageDirective,\n AvatarStatusDirective,\n ],\n})\nexport class AvatarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AAYM,MAAO,uBAAwB,SAAQ,qBAAmC,CAAA;uGAAnE,uBAAuB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAvB,uBAAuB,EAAA,CAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC;;AAGM,MAAM,CACX,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACxB,GAA6B,gBAAgB,CAC5C,kBAAkB,EAClB,uBAAuB,CACxB;;ACtBD;AACA;AAYM,MAAO,sBAAuB,SAAQ,0BAA0B,CAAA;IAC3D,UAAU,GAAG,mBAAmB,EAAE;AAE3C,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,aAAa,CAAC,UAAU,CAC3B,QAAQ,CAAC,MAAM,IAAI,CAAC,UAAU,EAAE,CAAC,kBAAkB,EAAE,CAAC,CACvD;IACH;uGARW,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAtB,sBAAsB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,oBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAJlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,oBAAoB;AAC9B,oBAAA,UAAU,EAAE,KAAK;AAClB,iBAAA;;;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