@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
@@ -14,10 +14,10 @@ import { mergeProps } from '@qualcomm-ui/utils/merge-props';
14
14
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
15
15
  // SPDX-License-Identifier: BSD-3-Clause-Clear
16
16
  class QdsTextAreaContextService extends BaseApiContextService {
17
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsTextAreaContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsTextAreaContextService });
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTextAreaContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTextAreaContextService });
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsTextAreaContextService, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTextAreaContextService, decorators: [{
21
21
  type: Injectable
22
22
  }] });
23
23
  const [QDS_TEXT_AREA_CONTEXT, useQdsTextAreaContext, provideQdsTextAreaContext,] = createApiContext("QdsTextAreaContext", QdsTextAreaContextService);
@@ -33,8 +33,8 @@ class TextAreaLabelDirective extends CoreTextAreaLabelDirective {
33
33
  super();
34
34
  this.trackBindings.extendWith(computed(() => this.qdsTextAreaContext().getLabelBindings()));
35
35
  }
36
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TextAreaLabelDirective, isStandalone: false, selector: "[q-text-area-label]", providers: [provideIcons({ Asterisk })], usesInheritance: true, ngImport: i0, template: `
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TextAreaLabelDirective, isStandalone: false, selector: "[q-text-area-label]", providers: [provideIcons({ Asterisk })], usesInheritance: true, ngImport: i0, template: `
38
38
  <ng-content />
39
39
  @if (textAreaContext().required) {
40
40
  <svg
@@ -45,7 +45,7 @@ class TextAreaLabelDirective extends CoreTextAreaLabelDirective {
45
45
  }
46
46
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.QBindDirective, selector: "[q-bind]", inputs: ["q-bind", "q-bind-options"] }, { kind: "directive", type: i2.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
47
47
  }
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaLabelDirective, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaLabelDirective, decorators: [{
49
49
  type: Component,
50
50
  args: [{
51
51
  providers: [provideIcons({ Asterisk })],
@@ -78,20 +78,20 @@ class TextAreaCounterDirective extends CoreTextAreaCounterDirective {
78
78
  * Customize how the counter is displayed. Receives the current character
79
79
  * count and optional max length, and returns a string.
80
80
  */
81
- display = input(defaultDisplay, ...(ngDevMode ? [{ debugName: "display" }] : []));
81
+ display = input(defaultDisplay, ...(ngDevMode ? [{ debugName: "display" }] : /* istanbul ignore next */ []));
82
82
  counterText = computed(() => {
83
83
  const { maxLength, value } = this.textAreaContext();
84
84
  return this.display()(value?.length ?? 0, maxLength);
85
- }, ...(ngDevMode ? [{ debugName: "counterText" }] : []));
85
+ }, ...(ngDevMode ? [{ debugName: "counterText" }] : /* istanbul ignore next */ []));
86
86
  qdsTextAreaContext = useQdsTextAreaContext();
87
87
  constructor() {
88
88
  super();
89
89
  this.trackBindings.extendWith(() => this.qdsTextAreaContext().getCounterBindings());
90
90
  }
91
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaCounterDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
92
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: TextAreaCounterDirective, isStandalone: false, selector: "[q-text-area-counter]", inputs: { display: { classPropertyName: "display", publicName: "display", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "{{ counterText() }}", isInline: true });
91
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaCounterDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
92
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", type: TextAreaCounterDirective, isStandalone: false, selector: "[q-text-area-counter]", inputs: { display: { classPropertyName: "display", publicName: "display", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "{{ counterText() }}", isInline: true });
93
93
  }
94
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaCounterDirective, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaCounterDirective, decorators: [{
95
95
  type: Component,
96
96
  args: [{
97
97
  selector: "[q-text-area-counter]",
@@ -116,10 +116,10 @@ class TextAreaInputDirective extends CoreTextAreaInputDirective {
116
116
  });
117
117
  this.trackBindings.extendWith(() => this.qdsTextAreaContext().getInputBindings());
118
118
  }
119
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
120
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: TextAreaInputDirective, isStandalone: false, selector: "[q-text-area-input]", usesInheritance: true, ngImport: i0 });
119
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
120
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TextAreaInputDirective, isStandalone: false, selector: "[q-text-area-input]", usesInheritance: true, ngImport: i0 });
121
121
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaInputDirective, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaInputDirective, decorators: [{
123
123
  type: Directive,
124
124
  args: [{
125
125
  selector: "[q-text-area-input]",
@@ -138,10 +138,10 @@ class TextAreaHintDirective extends CoreTextAreaHintDirective {
138
138
  super();
139
139
  this.trackBindings.extendWith(() => this.qdsTextAreaContext().getHintBindings());
140
140
  }
141
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
142
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: TextAreaHintDirective, isStandalone: false, selector: "[q-text-area-hint]", usesInheritance: true, ngImport: i0 });
141
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
142
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TextAreaHintDirective, isStandalone: false, selector: "[q-text-area-hint]", usesInheritance: true, ngImport: i0 });
143
143
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaHintDirective, decorators: [{
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaHintDirective, decorators: [{
145
145
  type: Directive,
146
146
  args: [{
147
147
  selector: "[q-text-area-hint]",
@@ -160,10 +160,10 @@ class TextAreaErrorTextDirective extends CoreTextAreaErrorTextDirective {
160
160
  super();
161
161
  this.trackBindings.extendWith(() => this.qdsTextAreaContext().getErrorTextBindings());
162
162
  }
163
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
164
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: TextAreaErrorTextDirective, isStandalone: false, selector: "[q-text-area-error-text]", usesInheritance: true, ngImport: i0 });
163
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
164
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TextAreaErrorTextDirective, isStandalone: false, selector: "[q-text-area-error-text]", usesInheritance: true, ngImport: i0 });
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaErrorTextDirective, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaErrorTextDirective, decorators: [{
167
167
  type: Directive,
168
168
  args: [{
169
169
  selector: "[q-text-area-error-text]",
@@ -183,19 +183,19 @@ class TextAreaRootDirective extends CoreTextAreaRootDirective {
183
183
  *
184
184
  * @default 'md'
185
185
  */
186
- size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
186
+ size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
187
187
  qdsTextAreaService = inject(QdsTextAreaContextService);
188
188
  trackBindings = useTrackBindings(() => mergeProps(this.textAreaService.context().getRootBindings(), this.qdsTextAreaService.context().getRootBindings()));
189
189
  ngOnInit() {
190
190
  super.ngOnInit();
191
- const inputApi = computed(() => createQdsTextAreaApi({ size: this.size() }, normalizeProps), ...(ngDevMode ? [{ debugName: "inputApi" }] : []));
191
+ const inputApi = computed(() => createQdsTextAreaApi({ size: this.size() }, normalizeProps), ...(ngDevMode ? [{ debugName: "inputApi" }] : /* istanbul ignore next */ []));
192
192
  this.qdsTextAreaService.init(inputApi);
193
193
  this.trackBindings();
194
194
  }
195
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
196
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: TextAreaRootDirective, isStandalone: false, selector: "[q-text-area-root]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideTextAreaContext(), provideQdsTextAreaContext()], usesInheritance: true, ngImport: i0 });
195
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
196
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: TextAreaRootDirective, isStandalone: false, selector: "[q-text-area-root]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideTextAreaContext(), provideQdsTextAreaContext()], usesInheritance: true, ngImport: i0 });
197
197
  }
198
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaRootDirective, decorators: [{
198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaRootDirective, decorators: [{
199
199
  type: Directive,
200
200
  args: [{
201
201
  providers: [provideTextAreaContext(), provideQdsTextAreaContext()],
@@ -214,17 +214,11 @@ class TextAreaComponent extends TextAreaRootDirective {
214
214
  * - `false`: never show the counter
215
215
  * - `undefined` (default): only show the counter if `maxLength` is set
216
216
  */
217
- counter = input(undefined, ...(ngDevMode ? [{ debugName: "counter", transform: (value) => value === undefined
218
- ? undefined
219
- : typeof value === "boolean"
220
- ? value
221
- : value !== "false" }] : [{
222
- transform: (value) => value === undefined
223
- ? undefined
224
- : typeof value === "boolean"
225
- ? value
226
- : value !== "false",
227
- }]));
217
+ counter = input(undefined, { ...(ngDevMode ? { debugName: "counter" } : /* istanbul ignore next */ {}), transform: (value) => value === undefined
218
+ ? undefined
219
+ : typeof value === "boolean"
220
+ ? value
221
+ : value !== "false" });
228
222
  /**
229
223
  * Optional error that describes the element when {@link invalid} is true.
230
224
  *
@@ -235,7 +229,7 @@ class TextAreaComponent extends TextAreaRootDirective {
235
229
  * <div q-text-area-error-text>...</div>
236
230
  * ```
237
231
  */
238
- errorText = input(...(ngDevMode ? [undefined, { debugName: "errorText" }] : []));
232
+ errorText = input(...(ngDevMode ? [undefined, { debugName: "errorText" }] : /* istanbul ignore next */ []));
239
233
  /**
240
234
  * Optional hint describing the element. This element is automatically
241
235
  * associated with the component's input element for accessibility.
@@ -247,7 +241,7 @@ class TextAreaComponent extends TextAreaRootDirective {
247
241
  * <div q-text-area-hint>...</div>
248
242
  * ```
249
243
  */
250
- hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : []));
244
+ hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
251
245
  /**
252
246
  * Optional label describing the element. Recommended. This element is
253
247
  * automatically associated with the component's input element for
@@ -260,14 +254,14 @@ class TextAreaComponent extends TextAreaRootDirective {
260
254
  * <label q-text-area-label>...</label>
261
255
  * ```
262
256
  */
263
- label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
257
+ label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
264
258
  /**
265
259
  * HTML {@link https://www.w3schools.com/tags/att_input_placeholder.asp placeholder} attribute,
266
260
  * passed to the internal input element.
267
261
  */
268
- placeholder = input("", ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
269
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
270
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: TextAreaComponent, isStandalone: false, selector: "q-text-area:not([q-text-area-root])", inputs: { counter: { classPropertyName: "counter", publicName: "counter", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideTextAreaContext(), provideQdsTextAreaContext()], usesInheritance: true, ngImport: i0, template: `
262
+ placeholder = input("", ...(ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []));
263
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
264
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TextAreaComponent, isStandalone: false, selector: "q-text-area:not([q-text-area-root])", inputs: { counter: { classPropertyName: "counter", publicName: "counter", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideTextAreaContext(), provideQdsTextAreaContext()], usesInheritance: true, ngImport: i0, template: `
271
265
  <ng-content select="[q-text-area-label]">
272
266
  @if (label()) {
273
267
  <label q-text-area-label>{{ label() }}</label>
@@ -303,7 +297,7 @@ class TextAreaComponent extends TextAreaRootDirective {
303
297
  </ng-content>
304
298
  `, isInline: true, dependencies: [{ kind: "component", type: TextAreaLabelDirective, selector: "[q-text-area-label]" }, { kind: "directive", type: TextAreaInputDirective, selector: "[q-text-area-input]" }, { kind: "component", type: TextAreaCounterDirective, selector: "[q-text-area-counter]", inputs: ["display"] }, { kind: "directive", type: TextAreaHintDirective, selector: "[q-text-area-hint]" }, { kind: "directive", type: TextAreaErrorTextDirective, selector: "[q-text-area-error-text]" }] });
305
299
  }
306
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaComponent, decorators: [{
300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaComponent, decorators: [{
307
301
  type: Component,
308
302
  args: [{
309
303
  providers: [provideTextAreaContext(), provideQdsTextAreaContext()],
@@ -350,8 +344,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
350
344
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
351
345
  // SPDX-License-Identifier: BSD-3-Clause-Clear
352
346
  class TextAreaModule {
353
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
354
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: TextAreaModule, declarations: [TextAreaLabelDirective,
347
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
348
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: TextAreaModule, declarations: [TextAreaLabelDirective,
355
349
  TextAreaRootDirective,
356
350
  TextAreaInputDirective,
357
351
  TextAreaCounterDirective,
@@ -364,9 +358,9 @@ class TextAreaModule {
364
358
  TextAreaHintDirective,
365
359
  TextAreaErrorTextDirective,
366
360
  TextAreaComponent] });
367
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaModule });
361
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaModule });
368
362
  }
369
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TextAreaModule, decorators: [{
363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaModule, decorators: [{
370
364
  type: NgModule,
371
365
  args: [{
372
366
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-text-area.mjs","sources":["../../src/text-area/qds-text-area-context.service.ts","../../src/text-area/text-area-label.directive.ts","../../src/text-area/text-area-counter.directive.ts","../../src/text-area/text-area-input.directive.ts","../../src/text-area/text-area-hint.directive.ts","../../src/text-area/text-area-error-text.directive.ts","../../src/text-area/text-area-root.directive.ts","../../src/text-area/text-area.component.ts","../../src/text-area/text-area.module.ts","../../src/text-area/qualcomm-ui-angular-text-area.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 {QdsTextAreaApi} from \"@qualcomm-ui/qds-core/text-area\"\n\n@Injectable()\nexport class QdsTextAreaContextService extends BaseApiContextService<QdsTextAreaApi> {}\n\nexport const [\n QDS_TEXT_AREA_CONTEXT,\n useQdsTextAreaContext,\n provideQdsTextAreaContext,\n]: ApiContext<QdsTextAreaApi> = createApiContext<QdsTextAreaApi>(\n \"QdsTextAreaContext\",\n QdsTextAreaContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed} from \"@angular/core\"\nimport {Asterisk} from \"lucide-angular\"\n\nimport {provideIcons} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreTextAreaLabelDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service\"\n\n/**\n * An accessible label that is automatically associated with the input.\n */\n@Component({\n providers: [provideIcons({Asterisk})],\n selector: \"[q-text-area-label]\",\n standalone: false,\n template: `\n <ng-content />\n @if (textAreaContext().required) {\n <svg\n qIcon=\"Asterisk\"\n size=\"xs\"\n [q-bind]=\"qdsTextAreaContext().getRequiredIndicatorBindings()\"\n ></svg>\n }\n `,\n})\nexport class TextAreaLabelDirective extends CoreTextAreaLabelDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsTextAreaContext().getLabelBindings()),\n )\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} from \"@angular/core\"\n\nimport {CoreTextAreaCounterDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service.js\"\n\nfunction defaultDisplay(count: number, maxLength?: number): string {\n return maxLength != null ? `${count}/${maxLength}` : `${count}`\n}\n\n/**\n * Character counter displayed opposite the textarea label. Renders a `<div>`\n * element by default.\n */\n@Component({\n selector: \"[q-text-area-counter]\",\n standalone: false,\n template: \"{{ counterText() }}\",\n})\nexport class TextAreaCounterDirective extends CoreTextAreaCounterDirective {\n /**\n * Customize how the counter is displayed. Receives the current character\n * count and optional max length, and returns a string.\n */\n readonly display =\n input<(count: number, maxLength?: number) => string>(defaultDisplay)\n\n readonly counterText = computed(() => {\n const {maxLength, value} = this.textAreaContext()\n return this.display()(value?.length ?? 0, maxLength)\n })\n\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getCounterBindings(),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive} from \"@angular/core\"\n\nimport {useForbiddenFormControlWarning} from \"@qualcomm-ui/angular-core/forms\"\nimport {CoreTextAreaInputDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service\"\n\n/**\n * The text area element. Note: do not apply form control bindings like `ngModel`\n * or `formControl` to this element. Apply them to the root element instead.\n */\n@Directive({\n selector: \"[q-text-area-input]\",\n standalone: false,\n})\nexport class TextAreaInputDirective extends CoreTextAreaInputDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n useForbiddenFormControlWarning({\n directive: \"q-text-area-input\",\n rootDirective: \"q-text-area\",\n })\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getInputBindings(),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive} from \"@angular/core\"\n\nimport {CoreTextAreaHintDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service.js\"\n\n/**\n * Helper text displayed below the textarea.\n */\n@Directive({\n selector: \"[q-text-area-hint]\",\n standalone: false,\n})\nexport class TextAreaHintDirective extends CoreTextAreaHintDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getHintBindings(),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive} from \"@angular/core\"\n\nimport {CoreTextAreaErrorTextDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service.js\"\n\n/**\n * Error message displayed when the textarea is invalid.\n */\n@Directive({\n selector: \"[q-text-area-error-text]\",\n standalone: false,\n})\nexport class TextAreaErrorTextDirective extends CoreTextAreaErrorTextDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getErrorTextBindings(),\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, type OnInit} 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 CoreTextAreaRootDirective,\n provideTextAreaContext,\n} from \"@qualcomm-ui/angular-core/text-area\"\nimport {\n createQdsTextAreaApi,\n type QdsTextAreaApiProps,\n type QdsTextAreaSize,\n} from \"@qualcomm-ui/qds-core/text-area\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {\n provideQdsTextAreaContext,\n QdsTextAreaContextService,\n} from \"./qds-text-area-context.service\"\n\n/**\n * Groups all parts of the text-area.\n */\n@Directive({\n providers: [provideTextAreaContext(), provideQdsTextAreaContext()],\n selector: \"[q-text-area-root]\",\n standalone: false,\n})\nexport class TextAreaRootDirective\n extends CoreTextAreaRootDirective\n implements SignalifyInput<QdsTextAreaApiProps>, OnInit\n{\n /**\n * The size of the textarea and its elements. Governs properties like font size,\n * and item padding.\n *\n * @default 'md'\n */\n readonly size = input<QdsTextAreaSize>()\n\n protected readonly qdsTextAreaService = inject(QdsTextAreaContextService)\n\n protected override readonly trackBindings = useTrackBindings(() =>\n mergeProps(\n this.textAreaService.context().getRootBindings(),\n this.qdsTextAreaService.context().getRootBindings(),\n ),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const inputApi = computed(() =>\n createQdsTextAreaApi({size: this.size()}, normalizeProps),\n )\n\n this.qdsTextAreaService.init(inputApi)\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, input} from \"@angular/core\"\n\nimport {provideTextAreaContext} from \"@qualcomm-ui/angular-core/text-area\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {provideQdsTextAreaContext} from \"./qds-text-area-context.service\"\nimport {TextAreaRootDirective} from \"./text-area-root.directive\"\n\n@Component({\n providers: [provideTextAreaContext(), provideQdsTextAreaContext()],\n selector: \"q-text-area:not([q-text-area-root])\",\n standalone: false,\n template: `\n <ng-content select=\"[q-text-area-label]\">\n @if (label()) {\n <label q-text-area-label>{{ label() }}</label>\n }\n </ng-content>\n\n <ng-content select=\"[q-text-area-counter]\">\n @if (counter() ?? maxLength() !== undefined) {\n <div q-text-area-counter></div>\n }\n </ng-content>\n\n <textarea\n q-text-area-input\n [maxLength]=\"maxLength()\"\n [placeholder]=\"placeholder()\"\n ></textarea>\n\n <ng-content select=\"[q-text-area-hint]\">\n @if (hint()) {\n <span q-text-area-hint>\n {{ hint() }}\n </span>\n }\n </ng-content>\n\n <ng-content select=\"[q-text-area-error-text]\">\n @if (errorText()) {\n <div q-text-area-error-text>\n {{ errorText() }}\n </div>\n }\n </ng-content>\n `,\n})\nexport class TextAreaComponent extends TextAreaRootDirective {\n /**\n * Controls whether to display the counter element.\n *\n * - `true`: always show the counter\n * - `false`: never show the counter\n * - `undefined` (default): only show the counter if `maxLength` is set\n */\n readonly counter = input<boolean | undefined, Booleanish>(undefined, {\n transform: (value) =>\n value === undefined\n ? undefined\n : typeof value === \"boolean\"\n ? value\n : value !== \"false\",\n })\n\n /**\n * Optional error that describes the element when {@link invalid} is true.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <div q-text-area-error-text>...</div>\n * ```\n */\n readonly errorText = input<string | undefined | null>()\n\n /**\n * Optional hint describing the element. This element is automatically\n * associated with the component's input element for accessibility.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <div q-text-area-hint>...</div>\n * ```\n */\n readonly hint = input<string | undefined | null>()\n\n /**\n * Optional label describing the element. Recommended. This element is\n * automatically associated with the component's input element for\n * accessibility.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <label q-text-area-label>...</label>\n * ```\n */\n readonly label = input<string | undefined>()\n\n /**\n * HTML {@link https://www.w3schools.com/tags/att_input_placeholder.asp placeholder} attribute,\n * passed to the internal input element.\n */\n readonly placeholder = 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 {TextAreaCounterDirective} from \"./text-area-counter.directive\"\nimport {TextAreaErrorTextDirective} from \"./text-area-error-text.directive\"\nimport {TextAreaHintDirective} from \"./text-area-hint.directive\"\nimport {TextAreaInputDirective} from \"./text-area-input.directive\"\nimport {TextAreaLabelDirective} from \"./text-area-label.directive\"\nimport {TextAreaRootDirective} from \"./text-area-root.directive\"\nimport {TextAreaComponent} from \"./text-area.component\"\n\n@NgModule({\n declarations: [\n TextAreaLabelDirective,\n TextAreaRootDirective,\n TextAreaInputDirective,\n TextAreaCounterDirective,\n TextAreaHintDirective,\n TextAreaErrorTextDirective,\n TextAreaComponent,\n ],\n exports: [\n TextAreaLabelDirective,\n TextAreaRootDirective,\n TextAreaInputDirective,\n TextAreaCounterDirective,\n TextAreaHintDirective,\n TextAreaErrorTextDirective,\n TextAreaComponent,\n ],\n imports: [QBindDirective, IconDirective],\n})\nexport class TextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.TextAreaLabelDirective","i2.TextAreaInputDirective","i3.TextAreaCounterDirective","i4.TextAreaHintDirective","i5.TextAreaErrorTextDirective"],"mappings":";;;;;;;;;;;;;AAAA;AACA;AAYM,MAAO,yBAA0B,SAAQ,qBAAqC,CAAA;wGAAvE,yBAAyB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAzB,yBAAyB,EAAA,CAAA;;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;AAGM,MAAM,CACX,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EAC1B,GAA+B,gBAAgB,CAC9C,oBAAoB,EACpB,yBAAyB;;ACrB3B;AACA;AAUA;;AAEG;AAgBG,MAAO,sBAAuB,SAAQ,0BAA0B,CAAA;IACjD,kBAAkB,GAAG,qBAAqB,EAAE;AAE/D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,aAAa,CAAC,UAAU,CAC3B,QAAQ,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAC7D;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,qBAAA,EAAA,SAAA,EAdtB,CAAC,YAAY,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAG3B;;;;;;;;;AAST,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,cAAA,EAAA,QAAA,EA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Aa,aARrC,sBAAsB;YACtB,qBAAqB;YACrB,sBAAsB;YACtB,wBAAwB;YACxB,qBAAqB;YACrB,0BAA0B;YAC1B,iBAAiB,CAAA,EAAA,CAAA;yGAIR,cAAc,EAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBArB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,sBAAsB;wBACtB,qBAAqB;wBACrB,sBAAsB;wBACtB,wBAAwB;wBACxB,qBAAqB;wBACrB,0BAA0B;wBAC1B,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,sBAAsB;wBACtB,qBAAqB;wBACrB,sBAAsB;wBACtB,wBAAwB;wBACxB,qBAAqB;wBACrB,0BAA0B;wBAC1B,iBAAiB;AAClB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC;AACzC,iBAAA;;;ACpCD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-text-area.mjs","sources":["../../src/text-area/qds-text-area-context.service.ts","../../src/text-area/text-area-label.directive.ts","../../src/text-area/text-area-counter.directive.ts","../../src/text-area/text-area-input.directive.ts","../../src/text-area/text-area-hint.directive.ts","../../src/text-area/text-area-error-text.directive.ts","../../src/text-area/text-area-root.directive.ts","../../src/text-area/text-area.component.ts","../../src/text-area/text-area.module.ts","../../src/text-area/qualcomm-ui-angular-text-area.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 {QdsTextAreaApi} from \"@qualcomm-ui/qds-core/text-area\"\n\n@Injectable()\nexport class QdsTextAreaContextService extends BaseApiContextService<QdsTextAreaApi> {}\n\nexport const [\n QDS_TEXT_AREA_CONTEXT,\n useQdsTextAreaContext,\n provideQdsTextAreaContext,\n]: ApiContext<QdsTextAreaApi> = createApiContext<QdsTextAreaApi>(\n \"QdsTextAreaContext\",\n QdsTextAreaContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed} from \"@angular/core\"\nimport {Asterisk} from \"lucide-angular\"\n\nimport {provideIcons} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreTextAreaLabelDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service\"\n\n/**\n * An accessible label that is automatically associated with the input.\n */\n@Component({\n providers: [provideIcons({Asterisk})],\n selector: \"[q-text-area-label]\",\n standalone: false,\n template: `\n <ng-content />\n @if (textAreaContext().required) {\n <svg\n qIcon=\"Asterisk\"\n size=\"xs\"\n [q-bind]=\"qdsTextAreaContext().getRequiredIndicatorBindings()\"\n ></svg>\n }\n `,\n})\nexport class TextAreaLabelDirective extends CoreTextAreaLabelDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsTextAreaContext().getLabelBindings()),\n )\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} from \"@angular/core\"\n\nimport {CoreTextAreaCounterDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service.js\"\n\nfunction defaultDisplay(count: number, maxLength?: number): string {\n return maxLength != null ? `${count}/${maxLength}` : `${count}`\n}\n\n/**\n * Character counter displayed opposite the textarea label. Renders a `<div>`\n * element by default.\n */\n@Component({\n selector: \"[q-text-area-counter]\",\n standalone: false,\n template: \"{{ counterText() }}\",\n})\nexport class TextAreaCounterDirective extends CoreTextAreaCounterDirective {\n /**\n * Customize how the counter is displayed. Receives the current character\n * count and optional max length, and returns a string.\n */\n readonly display =\n input<(count: number, maxLength?: number) => string>(defaultDisplay)\n\n readonly counterText = computed(() => {\n const {maxLength, value} = this.textAreaContext()\n return this.display()(value?.length ?? 0, maxLength)\n })\n\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getCounterBindings(),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive} from \"@angular/core\"\n\nimport {useForbiddenFormControlWarning} from \"@qualcomm-ui/angular-core/forms\"\nimport {CoreTextAreaInputDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service\"\n\n/**\n * The text area element. Note: do not apply form control bindings like `ngModel`\n * or `formControl` to this element. Apply them to the root element instead.\n */\n@Directive({\n selector: \"[q-text-area-input]\",\n standalone: false,\n})\nexport class TextAreaInputDirective extends CoreTextAreaInputDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n useForbiddenFormControlWarning({\n directive: \"q-text-area-input\",\n rootDirective: \"q-text-area\",\n })\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getInputBindings(),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive} from \"@angular/core\"\n\nimport {CoreTextAreaHintDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service.js\"\n\n/**\n * Helper text displayed below the textarea.\n */\n@Directive({\n selector: \"[q-text-area-hint]\",\n standalone: false,\n})\nexport class TextAreaHintDirective extends CoreTextAreaHintDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getHintBindings(),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive} from \"@angular/core\"\n\nimport {CoreTextAreaErrorTextDirective} from \"@qualcomm-ui/angular-core/text-area\"\n\nimport {useQdsTextAreaContext} from \"./qds-text-area-context.service.js\"\n\n/**\n * Error message displayed when the textarea is invalid.\n */\n@Directive({\n selector: \"[q-text-area-error-text]\",\n standalone: false,\n})\nexport class TextAreaErrorTextDirective extends CoreTextAreaErrorTextDirective {\n protected readonly qdsTextAreaContext = useQdsTextAreaContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(() =>\n this.qdsTextAreaContext().getErrorTextBindings(),\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, type OnInit} 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 CoreTextAreaRootDirective,\n provideTextAreaContext,\n} from \"@qualcomm-ui/angular-core/text-area\"\nimport {\n createQdsTextAreaApi,\n type QdsTextAreaApiProps,\n type QdsTextAreaSize,\n} from \"@qualcomm-ui/qds-core/text-area\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {\n provideQdsTextAreaContext,\n QdsTextAreaContextService,\n} from \"./qds-text-area-context.service\"\n\n/**\n * Groups all parts of the text-area.\n */\n@Directive({\n providers: [provideTextAreaContext(), provideQdsTextAreaContext()],\n selector: \"[q-text-area-root]\",\n standalone: false,\n})\nexport class TextAreaRootDirective\n extends CoreTextAreaRootDirective\n implements SignalifyInput<QdsTextAreaApiProps>, OnInit\n{\n /**\n * The size of the textarea and its elements. Governs properties like font size,\n * and item padding.\n *\n * @default 'md'\n */\n readonly size = input<QdsTextAreaSize>()\n\n protected readonly qdsTextAreaService = inject(QdsTextAreaContextService)\n\n protected override readonly trackBindings = useTrackBindings(() =>\n mergeProps(\n this.textAreaService.context().getRootBindings(),\n this.qdsTextAreaService.context().getRootBindings(),\n ),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const inputApi = computed(() =>\n createQdsTextAreaApi({size: this.size()}, normalizeProps),\n )\n\n this.qdsTextAreaService.init(inputApi)\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, input} from \"@angular/core\"\n\nimport {provideTextAreaContext} from \"@qualcomm-ui/angular-core/text-area\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {provideQdsTextAreaContext} from \"./qds-text-area-context.service\"\nimport {TextAreaRootDirective} from \"./text-area-root.directive\"\n\n@Component({\n providers: [provideTextAreaContext(), provideQdsTextAreaContext()],\n selector: \"q-text-area:not([q-text-area-root])\",\n standalone: false,\n template: `\n <ng-content select=\"[q-text-area-label]\">\n @if (label()) {\n <label q-text-area-label>{{ label() }}</label>\n }\n </ng-content>\n\n <ng-content select=\"[q-text-area-counter]\">\n @if (counter() ?? maxLength() !== undefined) {\n <div q-text-area-counter></div>\n }\n </ng-content>\n\n <textarea\n q-text-area-input\n [maxLength]=\"maxLength()\"\n [placeholder]=\"placeholder()\"\n ></textarea>\n\n <ng-content select=\"[q-text-area-hint]\">\n @if (hint()) {\n <span q-text-area-hint>\n {{ hint() }}\n </span>\n }\n </ng-content>\n\n <ng-content select=\"[q-text-area-error-text]\">\n @if (errorText()) {\n <div q-text-area-error-text>\n {{ errorText() }}\n </div>\n }\n </ng-content>\n `,\n})\nexport class TextAreaComponent extends TextAreaRootDirective {\n /**\n * Controls whether to display the counter element.\n *\n * - `true`: always show the counter\n * - `false`: never show the counter\n * - `undefined` (default): only show the counter if `maxLength` is set\n */\n readonly counter = input<boolean | undefined, Booleanish>(undefined, {\n transform: (value) =>\n value === undefined\n ? undefined\n : typeof value === \"boolean\"\n ? value\n : value !== \"false\",\n })\n\n /**\n * Optional error that describes the element when {@link invalid} is true.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <div q-text-area-error-text>...</div>\n * ```\n */\n readonly errorText = input<string | undefined | null>()\n\n /**\n * Optional hint describing the element. This element is automatically\n * associated with the component's input element for accessibility.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <div q-text-area-hint>...</div>\n * ```\n */\n readonly hint = input<string | undefined | null>()\n\n /**\n * Optional label describing the element. Recommended. This element is\n * automatically associated with the component's input element for\n * accessibility.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <label q-text-area-label>...</label>\n * ```\n */\n readonly label = input<string | undefined>()\n\n /**\n * HTML {@link https://www.w3schools.com/tags/att_input_placeholder.asp placeholder} attribute,\n * passed to the internal input element.\n */\n readonly placeholder = 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 {TextAreaCounterDirective} from \"./text-area-counter.directive\"\nimport {TextAreaErrorTextDirective} from \"./text-area-error-text.directive\"\nimport {TextAreaHintDirective} from \"./text-area-hint.directive\"\nimport {TextAreaInputDirective} from \"./text-area-input.directive\"\nimport {TextAreaLabelDirective} from \"./text-area-label.directive\"\nimport {TextAreaRootDirective} from \"./text-area-root.directive\"\nimport {TextAreaComponent} from \"./text-area.component\"\n\n@NgModule({\n declarations: [\n TextAreaLabelDirective,\n TextAreaRootDirective,\n TextAreaInputDirective,\n TextAreaCounterDirective,\n TextAreaHintDirective,\n TextAreaErrorTextDirective,\n TextAreaComponent,\n ],\n exports: [\n TextAreaLabelDirective,\n TextAreaRootDirective,\n TextAreaInputDirective,\n TextAreaCounterDirective,\n TextAreaHintDirective,\n TextAreaErrorTextDirective,\n TextAreaComponent,\n ],\n imports: [QBindDirective, IconDirective],\n})\nexport class TextAreaModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.TextAreaLabelDirective","i2.TextAreaInputDirective","i3.TextAreaCounterDirective","i4.TextAreaHintDirective","i5.TextAreaErrorTextDirective"],"mappings":";;;;;;;;;;;;;AAAA;AACA;AAYM,MAAO,yBAA0B,SAAQ,qBAAqC,CAAA;uGAAvE,yBAAyB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAzB,yBAAyB,EAAA,CAAA;;2FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;AAGM,MAAM,CACX,qBAAqB,EACrB,qBAAqB,EACrB,yBAAyB,EAC1B,GAA+B,gBAAgB,CAC9C,oBAAoB,EACpB,yBAAyB;;ACrB3B;AACA;AAUA;;AAEG;AAgBG,MAAO,sBAAuB,SAAQ,0BAA0B,CAAA;IACjD,kBAAkB,GAAG,qBAAqB,EAAE;AAE/D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,aAAa,CAAC,UAAU,CAC3B,QAAQ,CAAC,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAC7D;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,qBAAA,EAAA,SAAA,EAdtB,CAAC,YAAY,CAAC,EAAC,QAAQ,EAAC,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAA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