@qualcomm-ui/angular 2.0.1 → 2.1.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 (55) hide show
  1. package/fesm2022/qualcomm-ui-angular-accordion.mjs +37 -37
  2. package/fesm2022/qualcomm-ui-angular-action-group.mjs +3 -3
  3. package/fesm2022/qualcomm-ui-angular-alert-banner.mjs +28 -28
  4. package/fesm2022/qualcomm-ui-angular-avatar.mjs +19 -19
  5. package/fesm2022/qualcomm-ui-angular-badge.mjs +12 -12
  6. package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs +25 -25
  7. package/fesm2022/qualcomm-ui-angular-button.mjs +25 -25
  8. package/fesm2022/qualcomm-ui-angular-checkbox-group.mjs +7 -7
  9. package/fesm2022/qualcomm-ui-angular-checkbox.mjs +31 -31
  10. package/fesm2022/qualcomm-ui-angular-checkmark.mjs +3 -3
  11. package/fesm2022/qualcomm-ui-angular-collapsible.mjs +13 -13
  12. package/fesm2022/qualcomm-ui-angular-combobox.mjs +73 -73
  13. package/fesm2022/qualcomm-ui-angular-dialog.mjs +49 -49
  14. package/fesm2022/qualcomm-ui-angular-divider.mjs +3 -3
  15. package/fesm2022/qualcomm-ui-angular-drawer.mjs +49 -49
  16. package/fesm2022/qualcomm-ui-angular-field-group.mjs +22 -22
  17. package/fesm2022/qualcomm-ui-angular-header-bar.mjs +40 -40
  18. package/fesm2022/qualcomm-ui-angular-icon.mjs +9 -9
  19. package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs +3 -3
  20. package/fesm2022/qualcomm-ui-angular-inline-notification.mjs +28 -28
  21. package/fesm2022/qualcomm-ui-angular-input.mjs +15 -15
  22. package/fesm2022/qualcomm-ui-angular-kbd.mjs +3 -3
  23. package/fesm2022/qualcomm-ui-angular-link.mjs +3 -3
  24. package/fesm2022/qualcomm-ui-angular-menu.mjs +64 -64
  25. package/fesm2022/qualcomm-ui-angular-number-input.mjs +43 -43
  26. package/fesm2022/qualcomm-ui-angular-pagination.mjs +37 -37
  27. package/fesm2022/qualcomm-ui-angular-password-input.mjs +34 -34
  28. package/fesm2022/qualcomm-ui-angular-popover.mjs +43 -43
  29. package/fesm2022/qualcomm-ui-angular-progress-ring.mjs +37 -37
  30. package/fesm2022/qualcomm-ui-angular-progress.mjs +34 -34
  31. package/fesm2022/qualcomm-ui-angular-radio.mjs +40 -40
  32. package/fesm2022/qualcomm-ui-angular-segmented-control.mjs +22 -22
  33. package/fesm2022/qualcomm-ui-angular-select.mjs +65 -65
  34. package/fesm2022/qualcomm-ui-angular-select.mjs.map +1 -1
  35. package/fesm2022/qualcomm-ui-angular-side-nav.mjs +86 -85
  36. package/fesm2022/qualcomm-ui-angular-side-nav.mjs.map +1 -1
  37. package/fesm2022/qualcomm-ui-angular-slider.mjs +61 -61
  38. package/fesm2022/qualcomm-ui-angular-switch-group.mjs +7 -7
  39. package/fesm2022/qualcomm-ui-angular-switch.mjs +31 -31
  40. package/fesm2022/qualcomm-ui-angular-table.mjs +91 -91
  41. package/fesm2022/qualcomm-ui-angular-tabs.mjs +31 -31
  42. package/fesm2022/qualcomm-ui-angular-tag.mjs +19 -8
  43. package/fesm2022/qualcomm-ui-angular-tag.mjs.map +1 -1
  44. package/fesm2022/qualcomm-ui-angular-text-area.mjs +28 -28
  45. package/fesm2022/qualcomm-ui-angular-text-input.mjs +31 -31
  46. package/fesm2022/qualcomm-ui-angular-theme.mjs +3 -3
  47. package/fesm2022/qualcomm-ui-angular-toast.mjs +37 -37
  48. package/fesm2022/qualcomm-ui-angular-tooltip.mjs +31 -31
  49. package/fesm2022/qualcomm-ui-angular-transitions.mjs +3 -3
  50. package/fesm2022/qualcomm-ui-angular-tree.mjs +58 -58
  51. package/package.json +5 -5
  52. package/types/qualcomm-ui-angular-side-nav.d.ts +2 -0
  53. package/types/qualcomm-ui-angular-side-nav.d.ts.map +1 -1
  54. package/types/qualcomm-ui-angular-tag.d.ts +13 -3
  55. package/types/qualcomm-ui-angular-tag.d.ts.map +1 -1
@@ -15,10 +15,10 @@ import { createQdsTabsApi } from '@qualcomm-ui/qds-core/tabs';
15
15
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
16
16
  // SPDX-License-Identifier: BSD-3-Clause-Clear
17
17
  class QdsTabsContextService extends BaseApiContextService {
18
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTabsContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
19
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTabsContextService });
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTabsContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
19
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTabsContextService });
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTabsContextService, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTabsContextService, decorators: [{
22
22
  type: Injectable
23
23
  }] });
24
24
  const [QDS_TABS_CONTEXT, useQdsTabsContext, provideQdsTabsContext,] = createApiContext("QdsTabsContext", QdsTabsContextService);
@@ -55,8 +55,8 @@ class TabButtonDirective extends CoreTabButtonDirective {
55
55
  super();
56
56
  this.trackBindings.extendWith(computed(() => this.qdsContext().getTabButtonBindings()));
57
57
  }
58
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
59
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TabButtonDirective, isStandalone: false, selector: "[q-tab-button]", inputs: { endIcon: { classPropertyName: "endIcon", publicName: "endIcon", isSignal: true, isRequired: false, transformFunction: null }, startIcon: { classPropertyName: "startIcon", publicName: "startIcon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
58
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
59
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: TabButtonDirective, isStandalone: false, selector: "[q-tab-button]", inputs: { endIcon: { classPropertyName: "endIcon", publicName: "endIcon", isSignal: true, isRequired: false, transformFunction: null }, startIcon: { classPropertyName: "startIcon", publicName: "startIcon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
60
60
  {
61
61
  provide: START_ICON_CONTEXT_TOKEN,
62
62
  useFactory: () => {
@@ -97,7 +97,7 @@ class TabButtonDirective extends CoreTabButtonDirective {
97
97
  </ng-content>
98
98
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }, { kind: "directive", type: i2.QBindDirective, selector: "[q-bind]", inputs: ["q-bind", "q-bind-options"] }] });
99
99
  }
100
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabButtonDirective, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabButtonDirective, decorators: [{
101
101
  type: Component,
102
102
  args: [{
103
103
  providers: [
@@ -159,12 +159,12 @@ class TabDismissButtonDirective extends CoreTabDismissButtonDirective {
159
159
  super();
160
160
  this.trackBindings.extendWith(computed(() => mergeProps(this.inlineIconButtonApi().getRootBindings(), this.qdsContext().getTabDismissButtonBindings())));
161
161
  }
162
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabDismissButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
163
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.2", type: TabDismissButtonDirective, isStandalone: false, selector: "[q-tab-dismiss-button]", providers: [provideIcons({ X })], usesInheritance: true, ngImport: i0, template: `
162
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabDismissButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
163
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: TabDismissButtonDirective, isStandalone: false, selector: "[q-tab-dismiss-button]", providers: [provideIcons({ X })], usesInheritance: true, ngImport: i0, template: `
164
164
  <svg qIcon="X" [q-bind]="inlineIconButtonApi().getIconBindings()" />
165
165
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }, { kind: "directive", type: i2.QBindDirective, selector: "[q-bind]", inputs: ["q-bind", "q-bind-options"] }] });
166
166
  }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabDismissButtonDirective, decorators: [{
167
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabDismissButtonDirective, decorators: [{
168
168
  type: Component,
169
169
  args: [{
170
170
  providers: [provideIcons({ X })],
@@ -184,10 +184,10 @@ class TabRootDirective extends CoreTabRootDirective {
184
184
  super();
185
185
  this.trackBindings.extendWith(computed(() => this.qdsContext().getTabBindings()));
186
186
  }
187
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
188
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TabRootDirective, isStandalone: false, selector: "[q-tab-root]", providers: [provideTabContext()], usesInheritance: true, ngImport: i0 });
187
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
188
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: TabRootDirective, isStandalone: false, selector: "[q-tab-root]", providers: [provideTabContext()], usesInheritance: true, ngImport: i0 });
189
189
  }
190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabRootDirective, decorators: [{
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabRootDirective, decorators: [{
191
191
  type: Directive,
192
192
  args: [{
193
193
  providers: [provideTabContext()],
@@ -221,10 +221,10 @@ class TabsContextDirective extends ApiContextDirective {
221
221
  static ngTemplateContextGuard(dir, ctx) {
222
222
  return true;
223
223
  }
224
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
225
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TabsContextDirective, isStandalone: false, selector: "[tabsContext]", usesInheritance: true, ngImport: i0 });
224
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
225
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: TabsContextDirective, isStandalone: false, selector: "[tabsContext]", usesInheritance: true, ngImport: i0 });
226
226
  }
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsContextDirective, decorators: [{
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsContextDirective, decorators: [{
228
228
  type: Directive,
229
229
  args: [{
230
230
  selector: "[tabsContext]",
@@ -240,10 +240,10 @@ class TabsIndicatorDirective extends CoreTabsIndicatorDirective {
240
240
  super();
241
241
  this.trackBindings.extendWith(computed(() => this.qdsContext().getIndicatorBindings()));
242
242
  }
243
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
244
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TabsIndicatorDirective, isStandalone: false, selector: "[q-tabs-indicator]", usesInheritance: true, ngImport: i0 });
243
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
244
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: TabsIndicatorDirective, isStandalone: false, selector: "[q-tabs-indicator]", usesInheritance: true, ngImport: i0 });
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsIndicatorDirective, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsIndicatorDirective, decorators: [{
247
247
  type: Directive,
248
248
  args: [{
249
249
  selector: "[q-tabs-indicator]",
@@ -259,15 +259,15 @@ class TabsListDirective extends CoreTabsListDirective {
259
259
  super();
260
260
  this.trackBindings.extendWith(computed(() => this.qdsContext().getListBindings()));
261
261
  }
262
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsListDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
263
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.2", type: TabsListDirective, isStandalone: false, selector: "[q-tabs-list]", usesInheritance: true, ngImport: i0, template: `
262
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsListDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
263
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: TabsListDirective, isStandalone: false, selector: "[q-tabs-list]", usesInheritance: true, ngImport: i0, template: `
264
264
  <ng-content select="[q-tabs-indicator]">
265
265
  <div q-tabs-indicator></div>
266
266
  </ng-content>
267
267
  <ng-content />
268
268
  `, isInline: true, dependencies: [{ kind: "directive", type: TabsIndicatorDirective, selector: "[q-tabs-indicator]" }] });
269
269
  }
270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsListDirective, decorators: [{
270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsListDirective, decorators: [{
271
271
  type: Component,
272
272
  args: [{
273
273
  selector: "[q-tabs-list]",
@@ -289,10 +289,10 @@ class TabsPanelDirective extends CoreTabsPanelDirective {
289
289
  super();
290
290
  this.trackBindings.extendWith(computed(() => this.qdsContext().getPanelBindings()));
291
291
  }
292
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsPanelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
293
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TabsPanelDirective, isStandalone: false, selector: "[q-tabs-panel]", providers: [providePresenceContext()], usesInheritance: true, ngImport: i0 });
292
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsPanelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
293
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: TabsPanelDirective, isStandalone: false, selector: "[q-tabs-panel]", providers: [providePresenceContext()], usesInheritance: true, ngImport: i0 });
294
294
  }
295
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsPanelDirective, decorators: [{
295
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsPanelDirective, decorators: [{
296
296
  type: Directive,
297
297
  args: [{
298
298
  providers: [providePresenceContext()],
@@ -345,14 +345,14 @@ class TabsRootDirective extends CoreTabsRootDirective {
345
345
  }, normalizeProps)));
346
346
  super.ngOnInit();
347
347
  }
348
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
349
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: TabsRootDirective, isStandalone: false, selector: "[q-tabs-root]", inputs: { animateIndicator: { classPropertyName: "animateIndicator", publicName: "animateIndicator", isSignal: true, isRequired: false, transformFunction: null }, iconVariant: { classPropertyName: "iconVariant", publicName: "iconVariant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
348
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
349
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: TabsRootDirective, isStandalone: false, selector: "[q-tabs-root]", inputs: { animateIndicator: { classPropertyName: "animateIndicator", publicName: "animateIndicator", isSignal: true, isRequired: false, transformFunction: null }, iconVariant: { classPropertyName: "iconVariant", publicName: "iconVariant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
350
350
  provideTabsContext(),
351
351
  provideQdsTabsContext(),
352
352
  provideRenderStrategyContext(),
353
353
  ], usesInheritance: true, ngImport: i0 });
354
354
  }
355
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsRootDirective, decorators: [{
355
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsRootDirective, decorators: [{
356
356
  type: Directive,
357
357
  args: [{
358
358
  providers: [
@@ -368,8 +368,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
368
368
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
369
369
  // SPDX-License-Identifier: BSD-3-Clause-Clear
370
370
  class TabsModule {
371
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
372
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: TabsModule, declarations: [TabsContextDirective,
371
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
372
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TabsModule, declarations: [TabsContextDirective,
373
373
  TabRootDirective,
374
374
  TabButtonDirective,
375
375
  TabDismissButtonDirective,
@@ -384,9 +384,9 @@ class TabsModule {
384
384
  TabsPanelDirective,
385
385
  TabsListDirective,
386
386
  TabsRootDirective] });
387
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsModule });
387
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsModule });
388
388
  }
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TabsModule, decorators: [{
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TabsModule, decorators: [{
390
390
  type: NgModule,
391
391
  args: [{
392
392
  declarations: [
@@ -10,10 +10,10 @@ import { mergeProps } from '@qualcomm-ui/utils/merge-props';
10
10
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
11
11
  // SPDX-License-Identifier: BSD-3-Clause-Clear
12
12
  class QdsTagContextService extends BaseApiContextService {
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTagContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTagContextService });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTagContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTagContextService });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTagContextService, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTagContextService, decorators: [{
17
17
  type: Injectable
18
18
  }] });
19
19
  const [QDS_TAG_CONTEXT, useQdsTagContext, provideQdsTagContext,] = createApiContext("QdsTagContext", QdsTagContextService);
@@ -49,11 +49,21 @@ class TagDirective {
49
49
  */
50
50
  emphasis = input(...(ngDevMode ? [undefined, { debugName: "emphasis" }] : /* istanbul ignore next */ []));
51
51
  /**
52
+ * @deprecated in {@link https://github.com/qualcomm/qualcomm-ui/blob/main/packages/frameworks/react/CHANGELOG.md#1160-20260324 v1.16.0}, migrate to {@link shape}
53
+ *
52
54
  * Governs the shape of the tag.
53
55
  *
54
56
  * @default 'square'
55
57
  */
56
58
  radius = input(...(ngDevMode ? [undefined, { debugName: "radius" }] : /* istanbul ignore next */ []));
59
+ /**
60
+ * Governs the shape of the tag.
61
+ *
62
+ * @since 1.16.0
63
+ *
64
+ * @default 'square'
65
+ */
66
+ shape = input(...(ngDevMode ? [undefined, { debugName: "shape" }] : /* istanbul ignore next */ []));
57
67
  /**
58
68
  * Governs the size of the text, icons, spacing, and padding.
59
69
  * @default 'md'
@@ -88,13 +98,14 @@ class TagDirective {
88
98
  emphasis: this.emphasis(),
89
99
  radius: this.radius(),
90
100
  selected: this.selected(),
101
+ shape: this.shape(),
91
102
  size: this.size(),
92
103
  variant: this.variant(),
93
104
  }, normalizeProps)));
94
105
  this.trackBindings();
95
106
  }
96
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TagDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
97
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TagDirective, isStandalone: true, selector: "span[q-tag], button[q-tag]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, endIcon: { classPropertyName: "endIcon", publicName: "endIcon", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, startIcon: { classPropertyName: "startIcon", publicName: "startIcon", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismiss: "dismiss" }, providers: [
107
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TagDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
108
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: TagDirective, isStandalone: true, selector: "span[q-tag], button[q-tag], div[q-tag]", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, endIcon: { classPropertyName: "endIcon", publicName: "endIcon", isSignal: true, isRequired: false, transformFunction: null }, emphasis: { classPropertyName: "emphasis", publicName: "emphasis", isSignal: true, isRequired: false, transformFunction: null }, radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null }, shape: { classPropertyName: "shape", publicName: "shape", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, startIcon: { classPropertyName: "startIcon", publicName: "startIcon", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismiss: "dismiss" }, providers: [
98
109
  QdsTagContextService,
99
110
  provideIcons({ X }),
100
111
  {
@@ -141,7 +152,7 @@ class TagDirective {
141
152
  }
142
153
  `, isInline: true, dependencies: [{ kind: "directive", type: EndIconDirective, selector: "div[q-end-icon],span[q-end-icon],svg[q-end-icon]", inputs: ["icon"] }, { kind: "directive", type: StartIconDirective, selector: "div[q-start-icon],span[q-start-icon],svg[q-start-icon]", inputs: ["icon"] }, { kind: "directive", type: QBindDirective, selector: "[q-bind]", inputs: ["q-bind", "q-bind-options"] }, { kind: "directive", type: IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
143
154
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TagDirective, decorators: [{
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TagDirective, decorators: [{
145
156
  type: Component,
146
157
  args: [{
147
158
  imports: [
@@ -172,7 +183,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
172
183
  },
173
184
  },
174
185
  ],
175
- selector: "span[q-tag], button[q-tag]",
186
+ selector: "span[q-tag], button[q-tag], div[q-tag]",
176
187
  template: `
177
188
  <ng-content select="[q-start-icon]">
178
189
  @if (startIcon()) {
@@ -199,7 +210,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
199
210
  }
200
211
  `,
201
212
  }]
202
- }], propDecorators: { dismiss: [{ type: i0.Output, args: ["dismiss"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], endIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "endIcon", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], radius: [{ type: i0.Input, args: [{ isSignal: true, alias: "radius", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], startIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "startIcon", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
213
+ }], propDecorators: { dismiss: [{ type: i0.Output, args: ["dismiss"] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], endIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "endIcon", required: false }] }], emphasis: [{ type: i0.Input, args: [{ isSignal: true, alias: "emphasis", required: false }] }], radius: [{ type: i0.Input, args: [{ isSignal: true, alias: "radius", required: false }] }], shape: [{ type: i0.Input, args: [{ isSignal: true, alias: "shape", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], startIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "startIcon", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }] } });
203
214
 
204
215
  /**
205
216
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-tag.mjs","sources":["../../src/tag/qds-tag-context.service.ts","../../src/tag/tag.directive.ts","../../src/tag/qualcomm-ui-angular-tag.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 {QdsTagApi} from \"@qualcomm-ui/qds-core/tag\"\n\n@Injectable()\nexport class QdsTagContextService extends BaseApiContextService<QdsTagApi> {}\n\nexport const [\n QDS_TAG_CONTEXT,\n useQdsTagContext,\n provideQdsTagContext,\n]: ApiContext<QdsTagApi> = createApiContext<QdsTagApi>(\n \"QdsTagContext\",\n QdsTagContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n Component,\n computed,\n inject,\n input,\n type OnInit,\n output,\n signal,\n} from \"@angular/core\"\nimport {X} from \"lucide-angular\"\n\nimport {\n END_ICON_CONTEXT_TOKEN,\n EndIconDirective,\n IconDirective,\n type IconTokenContext,\n START_ICON_CONTEXT_TOKEN,\n StartIconDirective,\n} from \"@qualcomm-ui/angular/icon\"\nimport {\n type LucideIconOrString,\n provideIcons,\n} from \"@qualcomm-ui/angular-core/lucide\"\nimport {\n normalizeProps,\n QBindDirective,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsTagApi,\n type QdsTagApiProps,\n type QdsTagEmphasis,\n type QdsTagRadius,\n type QdsTagSize,\n type QdsTagVariant,\n} from \"@qualcomm-ui/qds-core/tag\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {QdsTagContextService} from \"./qds-tag-context.service\"\n\n@Component({\n imports: [\n EndIconDirective,\n StartIconDirective,\n QBindDirective,\n IconDirective,\n ],\n providers: [\n QdsTagContextService,\n provideIcons({X}),\n {\n provide: START_ICON_CONTEXT_TOKEN,\n useFactory: (): IconTokenContext => {\n const tag = inject(TagDirective)\n return {\n getBindings: computed(() =>\n tag.qdsTagApi.context().getStartIconBindings(),\n ),\n }\n },\n },\n {\n provide: END_ICON_CONTEXT_TOKEN,\n useFactory: (): IconTokenContext => {\n const tag = inject(TagDirective)\n return {\n getBindings: computed(() =>\n tag.qdsTagApi.context().getEndIconBindings(),\n ),\n }\n },\n },\n ],\n selector: \"span[q-tag], button[q-tag]\",\n template: `\n <ng-content select=\"[q-start-icon]\">\n @if (startIcon()) {\n <svg q-start-icon [icon]=\"startIcon()!\"></svg>\n }\n </ng-content>\n\n <ng-content />\n\n @if (variant() === \"dismissable\") {\n <button\n type=\"button\"\n [q-bind]=\"qdsTagApi.context().getDismissButtonBindings()\"\n (click)=\"dismiss.emit()\"\n >\n <svg qIcon=\"X\" [q-bind]=\"qdsTagApi.context().getEndIconBindings()\" />\n </button>\n } @else {\n <ng-content select=\"[q-end-icon]\">\n @if (endIcon()) {\n <svg q-end-icon [icon]=\"endIcon()!\"></svg>\n }\n </ng-content>\n }\n `,\n})\nexport class TagDirective implements SignalifyInput<QdsTagApiProps>, OnInit {\n /**\n * Emits when the dismiss button is clicked. Only applicable when\n * {@link variant} is `dismissable`.\n */\n readonly dismiss = output<void>()\n\n /**\n * Controls the component's interactivity. If `true`, the component becomes\n * unresponsive to input and is visually dimmed to indicate its disabled state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * {@link https://lucide.dev/icons lucide-angular} icon, positioned after the label.\n * Note that this property is ignored if {@link variant} is `dismissable`, as it\n * is reserved for the dismiss icon.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <svg q-end-icon icon=\"...\"></svg>\n * ```\n */\n readonly endIcon = input<LucideIconOrString>()\n\n /**\n * Governs the color of the tag.\n * @default 'brand'\n */\n readonly emphasis = input<QdsTagEmphasis>()\n\n /**\n * Governs the shape of the tag.\n *\n * @default 'square'\n */\n readonly radius = input<QdsTagRadius>()\n\n /**\n * Governs the size of the text, icons, spacing, and padding.\n * @default 'md'\n */\n readonly size = input<QdsTagSize>()\n\n /**\n * {@link https://lucide.dev/icons lucide-angular} icon, positioned before the label.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <svg q-start-icon icon=\"...\"></svg>\n * ```\n */\n readonly startIcon = input<LucideIconOrString>()\n\n /**\n * Governs the interactive style of the tag.\n */\n readonly variant = input<QdsTagVariant>()\n\n protected readonly selected = signal<boolean>(false)\n\n protected readonly trackBindings = useTrackBindings(() =>\n mergeProps(this.qdsTagApi.context().getRootBindings(), {\n onclick: () => {\n if (this.variant() === \"selectable\") {\n this.selected.update((prev) => !prev)\n }\n },\n }),\n )\n\n protected readonly qdsTagApi = inject(QdsTagContextService)\n\n ngOnInit() {\n this.qdsTagApi.init(\n computed(() =>\n createQdsTagApi(\n {\n disabled: this.disabled(),\n emphasis: this.emphasis(),\n radius: this.radius(),\n selected: this.selected(),\n size: this.size(),\n variant: this.variant(),\n } satisfies Explicit<QdsTagApiProps> & {\n selected?: boolean | undefined\n },\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;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YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,OAAO,EAAE;wBACP,gBAAgB;wBAChB,kBAAkB;wBAClB,cAAc;wBACd,aAAa;AACd,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACT,oBAAoB;AACpB,wBAAA,YAAY,CAAC,EAAC,CAAC,EAAC,CAAC;AACjB,wBAAA;AACE,4BAAA,OAAO,EAAE,wBAAwB;4BACjC,UAAU,EAAE,MAAuB;AACjC,gCAAA,MAAM,GAAG,GAAG,MAAM,CAAA,YAAA,CAAc;gCAChC,OAAO;AACL,oCAAA,WAAW,EAAE,QAAQ,CAAC,MACpB,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAE,CAC/C;iCACF;4BACH,CAAC;AACF,yBAAA;AACD,wBAAA;AACE,4BAAA,OAAO,EAAE,sBAAsB;4BAC/B,UAAU,EAAE,MAAuB;AACjC,gCAAA,MAAM,GAAG,GAAG,MAAM,CAAA,YAAA,CAAc;gCAChC,OAAO;AACL,oCAAA,WAAW,EAAE,QAAQ,CAAC,MACpB,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAE,CAC7C;iCACF;4BACH,CAAC;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;AAwBT,EAAA,CAAA;AACF,iBAAA;;;AC1GD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-tag.mjs","sources":["../../src/tag/qds-tag-context.service.ts","../../src/tag/tag.directive.ts","../../src/tag/qualcomm-ui-angular-tag.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 {QdsTagApi} from \"@qualcomm-ui/qds-core/tag\"\n\n@Injectable()\nexport class QdsTagContextService extends BaseApiContextService<QdsTagApi> {}\n\nexport const [\n QDS_TAG_CONTEXT,\n useQdsTagContext,\n provideQdsTagContext,\n]: ApiContext<QdsTagApi> = createApiContext<QdsTagApi>(\n \"QdsTagContext\",\n QdsTagContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n Component,\n computed,\n inject,\n input,\n type OnInit,\n output,\n signal,\n} from \"@angular/core\"\nimport {X} from \"lucide-angular\"\n\nimport {\n END_ICON_CONTEXT_TOKEN,\n EndIconDirective,\n IconDirective,\n type IconTokenContext,\n START_ICON_CONTEXT_TOKEN,\n StartIconDirective,\n} from \"@qualcomm-ui/angular/icon\"\nimport {\n type LucideIconOrString,\n provideIcons,\n} from \"@qualcomm-ui/angular-core/lucide\"\nimport {\n normalizeProps,\n QBindDirective,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsTagApi,\n type QdsTagApiProps,\n type QdsTagEmphasis,\n type QdsTagRadius,\n type QdsTagShape,\n type QdsTagSize,\n type QdsTagVariant,\n} from \"@qualcomm-ui/qds-core/tag\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {QdsTagContextService} from \"./qds-tag-context.service\"\n\n@Component({\n imports: [\n EndIconDirective,\n StartIconDirective,\n QBindDirective,\n IconDirective,\n ],\n providers: [\n QdsTagContextService,\n provideIcons({X}),\n {\n provide: START_ICON_CONTEXT_TOKEN,\n useFactory: (): IconTokenContext => {\n const tag = inject(TagDirective)\n return {\n getBindings: computed(() =>\n tag.qdsTagApi.context().getStartIconBindings(),\n ),\n }\n },\n },\n {\n provide: END_ICON_CONTEXT_TOKEN,\n useFactory: (): IconTokenContext => {\n const tag = inject(TagDirective)\n return {\n getBindings: computed(() =>\n tag.qdsTagApi.context().getEndIconBindings(),\n ),\n }\n },\n },\n ],\n selector: \"span[q-tag], button[q-tag], div[q-tag]\",\n template: `\n <ng-content select=\"[q-start-icon]\">\n @if (startIcon()) {\n <svg q-start-icon [icon]=\"startIcon()!\"></svg>\n }\n </ng-content>\n\n <ng-content />\n\n @if (variant() === \"dismissable\") {\n <button\n type=\"button\"\n [q-bind]=\"qdsTagApi.context().getDismissButtonBindings()\"\n (click)=\"dismiss.emit()\"\n >\n <svg qIcon=\"X\" [q-bind]=\"qdsTagApi.context().getEndIconBindings()\" />\n </button>\n } @else {\n <ng-content select=\"[q-end-icon]\">\n @if (endIcon()) {\n <svg q-end-icon [icon]=\"endIcon()!\"></svg>\n }\n </ng-content>\n }\n `,\n})\nexport class TagDirective implements SignalifyInput<QdsTagApiProps>, OnInit {\n /**\n * Emits when the dismiss button is clicked. Only applicable when\n * {@link variant} is `dismissable`.\n */\n readonly dismiss = output<void>()\n\n /**\n * Controls the component's interactivity. If `true`, the component becomes\n * unresponsive to input and is visually dimmed to indicate its disabled state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * {@link https://lucide.dev/icons lucide-angular} icon, positioned after the label.\n * Note that this property is ignored if {@link variant} is `dismissable`, as it\n * is reserved for the dismiss icon.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <svg q-end-icon icon=\"...\"></svg>\n * ```\n */\n readonly endIcon = input<LucideIconOrString>()\n\n /**\n * Governs the color of the tag.\n * @default 'brand'\n */\n readonly emphasis = input<QdsTagEmphasis>()\n\n /**\n * @deprecated in {@link https://github.com/qualcomm/qualcomm-ui/blob/main/packages/frameworks/react/CHANGELOG.md#1160-20260324 v1.16.0}, migrate to {@link shape}\n *\n * Governs the shape of the tag.\n *\n * @default 'square'\n */\n readonly radius = input<QdsTagRadius>()\n\n /**\n * Governs the shape of the tag.\n *\n * @since 1.16.0\n *\n * @default 'square'\n */\n readonly shape = input<QdsTagShape>()\n\n /**\n * Governs the size of the text, icons, spacing, and padding.\n * @default 'md'\n */\n readonly size = input<QdsTagSize>()\n\n /**\n * {@link https://lucide.dev/icons lucide-angular} icon, positioned before the label.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n * ```angular-html\n * <svg q-start-icon icon=\"...\"></svg>\n * ```\n */\n readonly startIcon = input<LucideIconOrString>()\n\n /**\n * Governs the interactive style of the tag.\n */\n readonly variant = input<QdsTagVariant>()\n\n protected readonly selected = signal<boolean>(false)\n\n protected readonly trackBindings = useTrackBindings(() =>\n mergeProps(this.qdsTagApi.context().getRootBindings(), {\n onclick: () => {\n if (this.variant() === \"selectable\") {\n this.selected.update((prev) => !prev)\n }\n },\n }),\n )\n\n protected readonly qdsTagApi = inject(QdsTagContextService)\n\n ngOnInit() {\n this.qdsTagApi.init(\n computed(() =>\n createQdsTagApi(\n {\n disabled: this.disabled(),\n emphasis: this.emphasis(),\n radius: this.radius(),\n selected: this.selected(),\n shape: this.shape(),\n size: this.size(),\n variant: this.variant(),\n } satisfies Explicit<QdsTagApiProps> & {\n selected?: boolean | undefined\n },\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAAA;AACA;AAYM,MAAO,oBAAqB,SAAQ,qBAAgC,CAAA;uGAA7D,oBAAoB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAApB,oBAAoB,EAAA,CAAA;;2FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBADhC;;AAGM,MAAM,CACX,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACrB,GAA0B,gBAAgB,CACzC,eAAe,EACf,oBA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5DxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,OAAO,EAAE;wBACP,gBAAgB;wBAChB,kBAAkB;wBAClB,cAAc;wBACd,aAAa;AACd,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACT,oBAAoB;AACpB,wBAAA,YAAY,CAAC,EAAC,CAAC,EAAC,CAAC;AACjB,wBAAA;AACE,4BAAA,OAAO,EAAE,wBAAwB;4BACjC,UAAU,EAAE,MAAuB;AACjC,gCAAA,MAAM,GAAG,GAAG,MAAM,CAAA,YAAA,CAAc;gCAChC,OAAO;AACL,oCAAA,WAAW,EAAE,QAAQ,CAAC,MACpB,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,oBAAoB,EAAE,CAC/C;iCACF;4BACH,CAAC;AACF,yBAAA;AACD,wBAAA;AACE,4BAAA,OAAO,EAAE,sBAAsB;4BAC/B,UAAU,EAAE,MAAuB;AACjC,gCAAA,MAAM,GAAG,GAAG,MAAM,CAAA,YAAA,CAAc;gCAChC,OAAO;AACL,oCAAA,WAAW,EAAE,QAAQ,CAAC,MACpB,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAE,CAC7C;iCACF;4BACH,CAAC;AACF,yBAAA;AACF,qBAAA;AACD,oBAAA,QAAQ,EAAE,wCAAwC;AAClD,oBAAA,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;AAwBT,EAAA,CAAA;AACF,iBAAA;;;AC3GD;;AAEG;;;;"}
@@ -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: "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 });
17
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTextAreaContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
18
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsTextAreaContextService });
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTextAreaContextService, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", 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: "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: `
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", 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: "21.2.2", ngImport: i0, type: TextAreaLabelDirective, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaLabelDirective, decorators: [{
49
49
  type: Component,
50
50
  args: [{
51
51
  providers: [provideIcons({ Asterisk })],
@@ -88,10 +88,10 @@ class TextAreaCounterDirective extends CoreTextAreaCounterDirective {
88
88
  super();
89
89
  this.trackBindings.extendWith(() => this.qdsTextAreaContext().getCounterBindings());
90
90
  }
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 });
91
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaCounterDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
92
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", 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: "21.2.2", ngImport: i0, type: TextAreaCounterDirective, decorators: [{
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", 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: "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 });
119
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
120
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: TextAreaInputDirective, isStandalone: false, selector: "[q-text-area-input]", usesInheritance: true, ngImport: i0 });
121
121
  }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaInputDirective, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", 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: "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 });
141
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
142
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: TextAreaHintDirective, isStandalone: false, selector: "[q-text-area-hint]", usesInheritance: true, ngImport: i0 });
143
143
  }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaHintDirective, decorators: [{
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", 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: "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 });
163
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
164
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: TextAreaErrorTextDirective, isStandalone: false, selector: "[q-text-area-error-text]", usesInheritance: true, ngImport: i0 });
165
165
  }
166
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaErrorTextDirective, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaErrorTextDirective, decorators: [{
167
167
  type: Directive,
168
168
  args: [{
169
169
  selector: "[q-text-area-error-text]",
@@ -192,10 +192,10 @@ class TextAreaRootDirective extends CoreTextAreaRootDirective {
192
192
  this.qdsTextAreaService.init(inputApi);
193
193
  this.trackBindings();
194
194
  }
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 });
195
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
196
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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: "21.2.2", ngImport: i0, type: TextAreaRootDirective, decorators: [{
198
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaRootDirective, decorators: [{
199
199
  type: Directive,
200
200
  args: [{
201
201
  providers: [provideTextAreaContext(), provideQdsTextAreaContext()],
@@ -260,8 +260,8 @@ class TextAreaComponent extends TextAreaRootDirective {
260
260
  * passed to the internal input element.
261
261
  */
262
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: `
263
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
264
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", 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: `
265
265
  <ng-content select="[q-text-area-label]">
266
266
  @if (label()) {
267
267
  <label q-text-area-label>{{ label() }}</label>
@@ -297,7 +297,7 @@ class TextAreaComponent extends TextAreaRootDirective {
297
297
  </ng-content>
298
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]" }] });
299
299
  }
300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaComponent, decorators: [{
300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaComponent, decorators: [{
301
301
  type: Component,
302
302
  args: [{
303
303
  providers: [provideTextAreaContext(), provideQdsTextAreaContext()],
@@ -344,8 +344,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
344
344
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
345
345
  // SPDX-License-Identifier: BSD-3-Clause-Clear
346
346
  class TextAreaModule {
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,
347
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
348
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: TextAreaModule, declarations: [TextAreaLabelDirective,
349
349
  TextAreaRootDirective,
350
350
  TextAreaInputDirective,
351
351
  TextAreaCounterDirective,
@@ -358,9 +358,9 @@ class TextAreaModule {
358
358
  TextAreaHintDirective,
359
359
  TextAreaErrorTextDirective,
360
360
  TextAreaComponent] });
361
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaModule });
361
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaModule });
362
362
  }
363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TextAreaModule, decorators: [{
363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: TextAreaModule, decorators: [{
364
364
  type: NgModule,
365
365
  args: [{
366
366
  declarations: [