@qualcomm-ui/angular 1.11.4 → 1.12.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 (47) 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-avatar.mjs +19 -19
  4. package/fesm2022/qualcomm-ui-angular-badge.mjs +12 -12
  5. package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs +25 -25
  6. package/fesm2022/qualcomm-ui-angular-button.mjs +25 -25
  7. package/fesm2022/qualcomm-ui-angular-checkbox.mjs +28 -28
  8. package/fesm2022/qualcomm-ui-angular-checkmark.mjs +3 -3
  9. package/fesm2022/qualcomm-ui-angular-collapsible.mjs +13 -13
  10. package/fesm2022/qualcomm-ui-angular-combobox.mjs +73 -73
  11. package/fesm2022/qualcomm-ui-angular-dialog.mjs +49 -49
  12. package/fesm2022/qualcomm-ui-angular-divider.mjs +3 -3
  13. package/fesm2022/qualcomm-ui-angular-drawer.mjs +49 -49
  14. package/fesm2022/qualcomm-ui-angular-header-bar.mjs +40 -40
  15. package/fesm2022/qualcomm-ui-angular-icon.mjs +9 -9
  16. package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs +3 -3
  17. package/fesm2022/qualcomm-ui-angular-inline-notification.mjs +28 -28
  18. package/fesm2022/qualcomm-ui-angular-input.mjs +15 -15
  19. package/fesm2022/qualcomm-ui-angular-kbd.mjs +3 -3
  20. package/fesm2022/qualcomm-ui-angular-link.mjs +3 -3
  21. package/fesm2022/qualcomm-ui-angular-menu.mjs +64 -64
  22. package/fesm2022/qualcomm-ui-angular-number-input.mjs +40 -40
  23. package/fesm2022/qualcomm-ui-angular-pagination.mjs +37 -37
  24. package/fesm2022/qualcomm-ui-angular-password-input.mjs +34 -34
  25. package/fesm2022/qualcomm-ui-angular-popover.mjs +40 -40
  26. package/fesm2022/qualcomm-ui-angular-progress-ring.mjs +37 -37
  27. package/fesm2022/qualcomm-ui-angular-progress.mjs +34 -34
  28. package/fesm2022/qualcomm-ui-angular-radio.mjs +49 -38
  29. package/fesm2022/qualcomm-ui-angular-radio.mjs.map +1 -1
  30. package/fesm2022/qualcomm-ui-angular-segmented-control.mjs +22 -22
  31. package/fesm2022/qualcomm-ui-angular-select.mjs +61 -61
  32. package/fesm2022/qualcomm-ui-angular-side-nav.mjs +82 -82
  33. package/fesm2022/qualcomm-ui-angular-slider.mjs +61 -61
  34. package/fesm2022/qualcomm-ui-angular-switch.mjs +28 -28
  35. package/fesm2022/qualcomm-ui-angular-table.mjs +91 -91
  36. package/fesm2022/qualcomm-ui-angular-tabs.mjs +31 -31
  37. package/fesm2022/qualcomm-ui-angular-tag.mjs +6 -6
  38. package/fesm2022/qualcomm-ui-angular-text-area.mjs +28 -28
  39. package/fesm2022/qualcomm-ui-angular-text-input.mjs +31 -31
  40. package/fesm2022/qualcomm-ui-angular-theme.mjs +3 -3
  41. package/fesm2022/qualcomm-ui-angular-toast.mjs +37 -37
  42. package/fesm2022/qualcomm-ui-angular-tooltip.mjs +31 -31
  43. package/fesm2022/qualcomm-ui-angular-transitions.mjs +3 -3
  44. package/fesm2022/qualcomm-ui-angular-tree.mjs +58 -58
  45. package/package.json +2 -2
  46. package/radio/index.d.ts +8 -2
  47. package/radio/index.d.ts.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, computed, Directive, input, Component, inject, NgModule } from '@angular/core';
2
+ import { Injectable, computed, Directive, input, Component, booleanAttribute, inject, NgModule } from '@angular/core';
3
3
  import { BaseApiContextService, createApiContext, normalizeProps, QBindDirective } from '@qualcomm-ui/angular-core/machine';
4
4
  import { CoreRadioItemControlDirective, CoreRadioGroupErrorTextDirective, CoreRadioGroupItemsDirective, CoreRadioGroupLabelDirective, CoreRadioGroupDirective, provideRadioContext, CoreRadioItemHiddenInputDirective, CoreRadioItemLabelDirective, CoreRadioRootDirective, provideRadioItemContext } from '@qualcomm-ui/angular-core/radio';
5
5
  import { CircleAlert } from 'lucide-angular';
@@ -10,10 +10,10 @@ import { createQdsRadioApi } from '@qualcomm-ui/qds-core/radio';
10
10
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
11
11
  // SPDX-License-Identifier: BSD-3-Clause-Clear
12
12
  class QdsRadioContextService extends BaseApiContextService {
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsRadioContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsRadioContextService });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsRadioContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsRadioContextService });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsRadioContextService, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsRadioContextService, decorators: [{
17
17
  type: Injectable
18
18
  }] });
19
19
  const [QDS_RADIO_CONTEXT, useQdsRadioContext, provideQdsRadioContext,] = createApiContext("QdsRadioContext", QdsRadioContextService);
@@ -26,10 +26,10 @@ class RadioControlDirective extends CoreRadioItemControlDirective {
26
26
  super();
27
27
  this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getItemControlBindings()));
28
28
  }
29
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
30
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: RadioControlDirective, isStandalone: false, selector: "[q-radio-control]", usesInheritance: true, ngImport: i0 });
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
30
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: RadioControlDirective, isStandalone: false, selector: "[q-radio-control]", usesInheritance: true, ngImport: i0 });
31
31
  }
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioControlDirective, decorators: [{
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioControlDirective, decorators: [{
33
33
  type: Directive,
34
34
  args: [{
35
35
  selector: "[q-radio-control]",
@@ -51,13 +51,13 @@ class RadioGroupErrorTextComponent extends CoreRadioGroupErrorTextDirective {
51
51
  super();
52
52
  this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getErrorTextBindings()));
53
53
  }
54
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupErrorTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
55
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.15", type: RadioGroupErrorTextComponent, isStandalone: false, selector: "[q-radio-group-error-text]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
54
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupErrorTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
55
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: RadioGroupErrorTextComponent, isStandalone: false, selector: "[q-radio-group-error-text]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
56
56
  <svg [qIcon]="icon()!" />
57
57
  <ng-content />
58
58
  `, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
59
59
  }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupErrorTextComponent, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupErrorTextComponent, decorators: [{
61
61
  type: Component,
62
62
  args: [{
63
63
  selector: "[q-radio-group-error-text]",
@@ -77,10 +77,10 @@ class RadioGroupItemsDirective extends CoreRadioGroupItemsDirective {
77
77
  super();
78
78
  this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getGroupItemsBindings()));
79
79
  }
80
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
81
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: RadioGroupItemsDirective, isStandalone: false, selector: "[q-radio-group-items]", usesInheritance: true, ngImport: i0 });
80
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
81
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: RadioGroupItemsDirective, isStandalone: false, selector: "[q-radio-group-items]", usesInheritance: true, ngImport: i0 });
82
82
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupItemsDirective, decorators: [{
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupItemsDirective, decorators: [{
84
84
  type: Directive,
85
85
  args: [{
86
86
  selector: "[q-radio-group-items]",
@@ -96,10 +96,10 @@ class RadioGroupLabelDirective extends CoreRadioGroupLabelDirective {
96
96
  super();
97
97
  this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getGroupLabelBindings()));
98
98
  }
99
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: RadioGroupLabelDirective, isStandalone: false, selector: "[q-radio-group-label]", usesInheritance: true, ngImport: i0 });
99
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
100
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: RadioGroupLabelDirective, isStandalone: false, selector: "[q-radio-group-label]", usesInheritance: true, ngImport: i0 });
101
101
  }
102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupLabelDirective, decorators: [{
102
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupLabelDirective, decorators: [{
103
103
  type: Directive,
104
104
  args: [{
105
105
  selector: "[q-radio-group-label]",
@@ -110,6 +110,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
110
110
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
111
111
  // SPDX-License-Identifier: BSD-3-Clause-Clear
112
112
  class RadioGroupDirective extends CoreRadioGroupDirective {
113
+ /**
114
+ * Indents the radio items.
115
+ * @default false
116
+ */
117
+ indented = input(undefined, ...(ngDevMode ? [{ debugName: "indented", transform: booleanAttribute }] : [{
118
+ transform: booleanAttribute,
119
+ }]));
113
120
  /**
114
121
  * The size of the radio and its elements. Governs properties like label font
115
122
  * size, control size, and indicator size.
@@ -119,20 +126,20 @@ class RadioGroupDirective extends CoreRadioGroupDirective {
119
126
  qdsRadioService = inject(QdsRadioContextService);
120
127
  ngOnInit() {
121
128
  super.ngOnInit();
122
- this.qdsRadioService.init(computed(() => createQdsRadioApi({ size: this.size() }, normalizeProps)));
129
+ this.qdsRadioService.init(computed(() => createQdsRadioApi({ indented: this.indented(), size: this.size() }, normalizeProps)));
123
130
  this.trackBindings.extendWith(computed(() => this.qdsRadioService.context().getGroupBindings()));
124
131
  }
125
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
126
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: RadioGroupDirective, isStandalone: false, selector: "[q-radio-group]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0 });
132
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
133
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: RadioGroupDirective, isStandalone: false, selector: "[q-radio-group]", inputs: { indented: { classPropertyName: "indented", publicName: "indented", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0 });
127
134
  }
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioGroupDirective, decorators: [{
135
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioGroupDirective, decorators: [{
129
136
  type: Directive,
130
137
  args: [{
131
138
  providers: [provideRadioContext(), provideQdsRadioContext()],
132
139
  selector: "[q-radio-group]",
133
140
  standalone: false,
134
141
  }]
135
- }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
142
+ }], propDecorators: { indented: [{ type: i0.Input, args: [{ isSignal: true, alias: "indented", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
136
143
 
137
144
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
138
145
  // SPDX-License-Identifier: BSD-3-Clause-Clear
@@ -142,10 +149,10 @@ class RadioHiddenInputDirective extends CoreRadioItemHiddenInputDirective {
142
149
  super();
143
150
  this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getItemHiddenInputBindings()));
144
151
  }
145
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
146
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: RadioHiddenInputDirective, isStandalone: false, selector: "input[q-radio-hidden-input]", usesInheritance: true, ngImport: i0 });
152
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
153
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: RadioHiddenInputDirective, isStandalone: false, selector: "input[q-radio-hidden-input]", usesInheritance: true, ngImport: i0 });
147
154
  }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioHiddenInputDirective, decorators: [{
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioHiddenInputDirective, decorators: [{
149
156
  type: Directive,
150
157
  args: [{
151
158
  selector: "input[q-radio-hidden-input]",
@@ -161,10 +168,10 @@ class RadioLabelDirective extends CoreRadioItemLabelDirective {
161
168
  super();
162
169
  this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getItemLabelBindings()));
163
170
  }
164
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
165
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: RadioLabelDirective, isStandalone: false, selector: "[q-radio-label]", usesInheritance: true, ngImport: i0 });
171
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
172
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: RadioLabelDirective, isStandalone: false, selector: "[q-radio-label]", usesInheritance: true, ngImport: i0 });
166
173
  }
167
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioLabelDirective, decorators: [{
174
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioLabelDirective, decorators: [{
168
175
  type: Directive,
169
176
  args: [{
170
177
  selector: "[q-radio-label]",
@@ -175,6 +182,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
175
182
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
176
183
  // SPDX-License-Identifier: BSD-3-Clause-Clear
177
184
  class RadioRootDirective extends CoreRadioRootDirective {
185
+ /**
186
+ * @internal
187
+ */
188
+ indented = input(...(ngDevMode ? [undefined, { debugName: "indented" }] : []));
178
189
  /**
179
190
  * The size of the radio and its elements. Governs properties like label font
180
191
  * size, control size, and indicator size.
@@ -191,17 +202,17 @@ class RadioRootDirective extends CoreRadioRootDirective {
191
202
  this.qdsRadioService.init(computed(() => createQdsRadioApi({ size: this.size() || this.parentQdsRadioContext?.()?.size }, normalizeProps)));
192
203
  this.trackBindings.extendWith(computed(() => this.qdsRadioService.context().getItemBindings()));
193
204
  }
194
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
195
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: RadioRootDirective, isStandalone: false, selector: "[q-radio-root]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioItemContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0 });
205
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
206
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: RadioRootDirective, isStandalone: false, selector: "[q-radio-root]", inputs: { indented: { classPropertyName: "indented", publicName: "indented", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioItemContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0 });
196
207
  }
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioRootDirective, decorators: [{
208
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioRootDirective, decorators: [{
198
209
  type: Directive,
199
210
  args: [{
200
211
  providers: [provideRadioItemContext(), provideQdsRadioContext()],
201
212
  selector: "[q-radio-root]",
202
213
  standalone: false,
203
214
  }]
204
- }], propDecorators: { size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
215
+ }], propDecorators: { indented: [{ type: i0.Input, args: [{ isSignal: true, alias: "indented", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
205
216
 
206
217
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
207
218
  // SPDX-License-Identifier: BSD-3-Clause-Clear
@@ -211,8 +222,8 @@ class RadioComponent extends RadioRootDirective {
211
222
  * automatically associated with the component's input element for accessibility.
212
223
  */
213
224
  label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
214
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
215
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: RadioComponent, isStandalone: false, selector: "[q-radio]", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioItemContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0, template: `
225
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
226
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: RadioComponent, isStandalone: false, selector: "[q-radio]", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioItemContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0, template: `
216
227
  <ng-content select="[q-radio-hidden-input]">
217
228
  <input q-radio-hidden-input />
218
229
  </ng-content>
@@ -228,7 +239,7 @@ class RadioComponent extends RadioRootDirective {
228
239
  </ng-content>
229
240
  `, isInline: true, dependencies: [{ kind: "directive", type: RadioHiddenInputDirective, selector: "input[q-radio-hidden-input]" }, { kind: "directive", type: RadioLabelDirective, selector: "[q-radio-label]" }, { kind: "directive", type: RadioControlDirective, selector: "[q-radio-control]" }] });
230
241
  }
231
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioComponent, decorators: [{
242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioComponent, decorators: [{
232
243
  type: Component,
233
244
  args: [{
234
245
  providers: [provideRadioItemContext(), provideQdsRadioContext()],
@@ -255,8 +266,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
255
266
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
256
267
  // SPDX-License-Identifier: BSD-3-Clause-Clear
257
268
  class RadioModule {
258
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
259
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: RadioModule, declarations: [RadioComponent,
269
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
270
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: RadioModule, declarations: [RadioComponent,
260
271
  RadioGroupErrorTextComponent,
261
272
  RadioGroupDirective,
262
273
  RadioGroupLabelDirective,
@@ -273,9 +284,9 @@ class RadioModule {
273
284
  RadioLabelDirective,
274
285
  RadioControlDirective,
275
286
  RadioRootDirective] });
276
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioModule });
287
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioModule });
277
288
  }
278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: RadioModule, decorators: [{
289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioModule, decorators: [{
279
290
  type: NgModule,
280
291
  args: [{
281
292
  declarations: [
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-radio.mjs","sources":["../../src/radio/qds-radio-context.service.ts","../../src/radio/radio-control.directive.ts","../../src/radio/radio-group/radio-group-error-text.component.ts","../../src/radio/radio-group/radio-group-items.directive.ts","../../src/radio/radio-group/radio-group-label.directive.ts","../../src/radio/radio-group/radio-group-root.directive.ts","../../src/radio/radio-hidden-input.directive.ts","../../src/radio/radio-label.directive.ts","../../src/radio/radio-root.directive.ts","../../src/radio/radio.component.ts","../../src/radio/radio.module.ts","../../src/radio/qualcomm-ui-angular-radio.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 {QdsRadioApi} from \"@qualcomm-ui/qds-core/radio\"\n\n@Injectable()\nexport class QdsRadioContextService extends BaseApiContextService<QdsRadioApi> {}\n\nexport const [\n QDS_RADIO_CONTEXT,\n useQdsRadioContext,\n provideQdsRadioContext,\n]: ApiContext<QdsRadioApi> = createApiContext<QdsRadioApi>(\n \"QdsRadioContext\",\n QdsRadioContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemControlDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-control]\",\n standalone: false,\n})\nexport class RadioControlDirective extends CoreRadioItemControlDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemControlBindings()),\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\"\nimport {CircleAlert} from \"lucide-angular\"\n\nimport type {LucideIconOrString} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreRadioGroupErrorTextDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Component({\n selector: \"[q-radio-group-error-text]\",\n standalone: false,\n template: `\n <svg [qIcon]=\"icon()!\" />\n <ng-content />\n `,\n})\nexport class RadioGroupErrorTextComponent extends CoreRadioGroupErrorTextDirective {\n /**\n * Error indicator icon.\n *\n * @default CircleAlert\n */\n readonly icon = input<LucideIconOrString>(CircleAlert)\n\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().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} from \"@angular/core\"\n\nimport {CoreRadioGroupItemsDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-items]\",\n standalone: false,\n})\nexport class RadioGroupItemsDirective extends CoreRadioGroupItemsDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupItemsBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-label]\",\n standalone: false,\n})\nexport class RadioGroupLabelDirective extends CoreRadioGroupLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioGroupDirective,\n provideRadioContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n} from \"../qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioContext(), provideQdsRadioContext()],\n selector: \"[q-radio-group]\",\n standalone: false,\n})\nexport class RadioGroupDirective\n extends CoreRadioGroupDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly qdsRadioService = inject(QdsRadioContextService)\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() => createQdsRadioApi({size: this.size()}, normalizeProps)),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getGroupBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemHiddenInputDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"input[q-radio-hidden-input]\",\n standalone: false,\n})\nexport class RadioHiddenInputDirective extends CoreRadioItemHiddenInputDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemHiddenInputBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-label]\",\n standalone: false,\n})\nexport class RadioLabelDirective extends CoreRadioItemLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioRootDirective,\n provideRadioItemContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n useQdsRadioContext,\n} from \"./qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio-root]\",\n standalone: false,\n})\nexport class RadioRootDirective\n extends CoreRadioRootDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly parentQdsRadioContext = useQdsRadioContext({\n optional: true,\n skipSelf: true,\n })\n readonly qdsRadioService = inject(QdsRadioContextService, {self: true})\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() =>\n createQdsRadioApi(\n {size: this.size() || this.parentQdsRadioContext?.()?.size},\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getItemBindings()),\n )\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 {provideRadioItemContext} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {provideQdsRadioContext} from \"./qds-radio-context.service\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\n\n@Component({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-radio-hidden-input]\">\n <input q-radio-hidden-input />\n </ng-content>\n <ng-content select=\"[q-radio-control]\">\n <div q-radio-control></div>\n </ng-content>\n <ng-content select=\"[q-radio-label]\">\n @if (label()) {\n <span q-radio-label>\n {{ label() }}\n </span>\n }\n </ng-content>\n `,\n})\nexport class RadioComponent extends RadioRootDirective {\n /**\n * Optional label describing the element. Recommended. This element is\n * automatically associated with the component's input element for accessibility.\n */\n readonly label = input<string | undefined>()\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 {RadioControlDirective} from \"./radio-control.directive\"\nimport {\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n} from \"./radio-group\"\nimport {RadioHiddenInputDirective} from \"./radio-hidden-input.directive\"\nimport {RadioLabelDirective} from \"./radio-label.directive\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\nimport {RadioComponent} from \"./radio.component\"\n\n@NgModule({\n declarations: [\n RadioComponent,\n RadioGroupErrorTextComponent,\n RadioGroupDirective,\n RadioGroupLabelDirective,\n RadioGroupItemsDirective,\n RadioHiddenInputDirective,\n RadioLabelDirective,\n RadioControlDirective,\n RadioRootDirective,\n ],\n exports: [\n RadioComponent,\n RadioGroupErrorTextComponent,\n RadioGroupDirective,\n RadioGroupLabelDirective,\n RadioGroupItemsDirective,\n RadioHiddenInputDirective,\n RadioLabelDirective,\n RadioControlDirective,\n RadioRootDirective,\n ],\n imports: [QBindDirective, IconDirective],\n})\nexport class RadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.RadioHiddenInputDirective","i2.RadioLabelDirective","i3.RadioControlDirective"],"mappings":";;;;;;;;;AAAA;AACA;AAYM,MAAO,sBAAuB,SAAQ,qBAAkC,CAAA;wGAAjE,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAtB,sBAAsB,EAAA,CAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC;;AAGM,MAAM,CACX,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACvB,GAA4B,gBAAgB,CAC3C,iBAAiB,EACjB,sBAAsB;;ACrBxB;AACA;AAYM,MAAO,qBAAsB,SA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,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,iBAvBpB,cAAc;YACd,4BAA4B;YAC5B,mBAAmB;YACnB,wBAAwB;YACxB,wBAAwB;YACxB,yBAAyB;YACzB,mBAAmB;YACnB,qBAAqB;AACrB,YAAA,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAaV,cAAc,EAAE,aAAa,aAVrC,cAAc;YACd,4BAA4B;YAC5B,mBAAmB;YACnB,wBAAwB;YACxB,wBAAwB;YACxB,yBAAyB;YACzB,mBAAmB;YACnB,qBAAqB;YACrB,kBAAkB,CAAA,EAAA,CAAA;yGAIT,WAAW,EAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAzBvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,cAAc;wBACd,4BAA4B;wBAC5B,mBAAmB;wBACnB,wBAAwB;wBACxB,wBAAwB;wBACxB,yBAAyB;wBACzB,mBAAmB;wBACnB,qBAAqB;wBACrB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,4BAA4B;wBAC5B,mBAAmB;wBACnB,wBAAwB;wBACxB,wBAAwB;wBACxB,yBAAyB;wBACzB,mBAAmB;wBACnB,qBAAqB;wBACrB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC;AACzC,iBAAA;;;AC5CD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-radio.mjs","sources":["../../src/radio/qds-radio-context.service.ts","../../src/radio/radio-control.directive.ts","../../src/radio/radio-group/radio-group-error-text.component.ts","../../src/radio/radio-group/radio-group-items.directive.ts","../../src/radio/radio-group/radio-group-label.directive.ts","../../src/radio/radio-group/radio-group-root.directive.ts","../../src/radio/radio-hidden-input.directive.ts","../../src/radio/radio-label.directive.ts","../../src/radio/radio-root.directive.ts","../../src/radio/radio.component.ts","../../src/radio/radio.module.ts","../../src/radio/qualcomm-ui-angular-radio.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 {QdsRadioApi} from \"@qualcomm-ui/qds-core/radio\"\n\n@Injectable()\nexport class QdsRadioContextService extends BaseApiContextService<QdsRadioApi> {}\n\nexport const [\n QDS_RADIO_CONTEXT,\n useQdsRadioContext,\n provideQdsRadioContext,\n]: ApiContext<QdsRadioApi> = createApiContext<QdsRadioApi>(\n \"QdsRadioContext\",\n QdsRadioContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemControlDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-control]\",\n standalone: false,\n})\nexport class RadioControlDirective extends CoreRadioItemControlDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemControlBindings()),\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\"\nimport {CircleAlert} from \"lucide-angular\"\n\nimport type {LucideIconOrString} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreRadioGroupErrorTextDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Component({\n selector: \"[q-radio-group-error-text]\",\n standalone: false,\n template: `\n <svg [qIcon]=\"icon()!\" />\n <ng-content />\n `,\n})\nexport class RadioGroupErrorTextComponent extends CoreRadioGroupErrorTextDirective {\n /**\n * Error indicator icon.\n *\n * @default CircleAlert\n */\n readonly icon = input<LucideIconOrString>(CircleAlert)\n\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().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} from \"@angular/core\"\n\nimport {CoreRadioGroupItemsDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-items]\",\n standalone: false,\n})\nexport class RadioGroupItemsDirective extends CoreRadioGroupItemsDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupItemsBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-label]\",\n standalone: false,\n})\nexport class RadioGroupLabelDirective extends CoreRadioGroupLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioGroupDirective,\n provideRadioContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n} from \"../qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioContext(), provideQdsRadioContext()],\n selector: \"[q-radio-group]\",\n standalone: false,\n})\nexport class RadioGroupDirective\n extends CoreRadioGroupDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * Indents the radio items.\n * @default false\n */\n readonly indented = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly qdsRadioService = inject(QdsRadioContextService)\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() =>\n createQdsRadioApi(\n {indented: this.indented(), size: this.size()},\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getGroupBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemHiddenInputDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"input[q-radio-hidden-input]\",\n standalone: false,\n})\nexport class RadioHiddenInputDirective extends CoreRadioItemHiddenInputDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemHiddenInputBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-label]\",\n standalone: false,\n})\nexport class RadioLabelDirective extends CoreRadioItemLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioRootDirective,\n provideRadioItemContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n useQdsRadioContext,\n} from \"./qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio-root]\",\n standalone: false,\n})\nexport class RadioRootDirective\n extends CoreRadioRootDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * @internal\n */\n readonly indented = input<boolean | undefined>()\n\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly parentQdsRadioContext = useQdsRadioContext({\n optional: true,\n skipSelf: true,\n })\n readonly qdsRadioService = inject(QdsRadioContextService, {self: true})\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() =>\n createQdsRadioApi(\n {size: this.size() || this.parentQdsRadioContext?.()?.size},\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getItemBindings()),\n )\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 {provideRadioItemContext} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {provideQdsRadioContext} from \"./qds-radio-context.service\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\n\n@Component({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-radio-hidden-input]\">\n <input q-radio-hidden-input />\n </ng-content>\n <ng-content select=\"[q-radio-control]\">\n <div q-radio-control></div>\n </ng-content>\n <ng-content select=\"[q-radio-label]\">\n @if (label()) {\n <span q-radio-label>\n {{ label() }}\n </span>\n }\n </ng-content>\n `,\n})\nexport class RadioComponent extends RadioRootDirective {\n /**\n * Optional label describing the element. Recommended. This element is\n * automatically associated with the component's input element for accessibility.\n */\n readonly label = input<string | undefined>()\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 {RadioControlDirective} from \"./radio-control.directive\"\nimport {\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n} from \"./radio-group\"\nimport {RadioHiddenInputDirective} from \"./radio-hidden-input.directive\"\nimport {RadioLabelDirective} from \"./radio-label.directive\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\nimport {RadioComponent} from \"./radio.component\"\n\n@NgModule({\n declarations: [\n RadioComponent,\n RadioGroupErrorTextComponent,\n RadioGroupDirective,\n RadioGroupLabelDirective,\n RadioGroupItemsDirective,\n RadioHiddenInputDirective,\n RadioLabelDirective,\n RadioControlDirective,\n RadioRootDirective,\n ],\n exports: [\n RadioComponent,\n RadioGroupErrorTextComponent,\n RadioGroupDirective,\n RadioGroupLabelDirective,\n RadioGroupItemsDirective,\n RadioHiddenInputDirective,\n RadioLabelDirective,\n RadioControlDirective,\n RadioRootDirective,\n ],\n imports: [QBindDirective, IconDirective],\n})\nexport class RadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.RadioHiddenInputDirective","i2.RadioLabelDirective","i3.RadioControlDirective"],"mappings":";;;;;;;;;AAAA;AACA;AAYM,MAAO,sBAAuB,SAAQ,qBAAkC,CAAA;wGAAjE,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAtB,sBAAsB,EAAA,CAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC;;AAGM,MAAM,CACX,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACvB,GAA4B,gBAAgB,CAC3C,iBAAiB,EACjB,sBAAsB;;ACrBxB;AACA;AAYM,MAAO,qBAAsB,SAAQ,6BAA6B,CAAA;IACnD,eAAe,GAAG,kBAAkB,EAAE;AAEzD,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,aAAa,CAAC,UAAU,CAC3B,QAAQ,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,sBAAsB,EAAE,CAAC,CAChE;IACH;wGARW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAArB,qBAAqB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,mB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A,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,iBAvBpB,cAAc;YACd,4BAA4B;YAC5B,mBAAmB;YACnB,wBAAwB;YACxB,wBAAwB;YACxB,yBAAyB;YACzB,mBAAmB;YACnB,qBAAqB;AACrB,YAAA,kBAAkB,CAAA,EAAA,OAAA,EAAA,CAaV,cAAc,EAAE,aAAa,aAVrC,cAAc;YACd,4BAA4B;YAC5B,mBAAmB;YACnB,wBAAwB;YACxB,wBAAwB;YACxB,yBAAyB;YACzB,mBAAmB;YACnB,qBAAqB;YACrB,kBAAkB,CAAA,EAAA,CAAA;yGAIT,WAAW,EAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAzBvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,cAAc;wBACd,4BAA4B;wBAC5B,mBAAmB;wBACnB,wBAAwB;wBACxB,wBAAwB;wBACxB,yBAAyB;wBACzB,mBAAmB;wBACnB,qBAAqB;wBACrB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,4BAA4B;wBAC5B,mBAAmB;wBACnB,wBAAwB;wBACxB,wBAAwB;wBACxB,yBAAyB;wBACzB,mBAAmB;wBACnB,qBAAqB;wBACrB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC;AACzC,iBAAA;;;AC5CD;;AAEG;;;;"}
@@ -12,10 +12,10 @@ import { createQdsSegmentedControlApi } from '@qualcomm-ui/qds-core/segmented-co
12
12
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
13
13
  // SPDX-License-Identifier: BSD-3-Clause-Clear
14
14
  class QdsSegmentedControlContextService extends BaseApiContextService {
15
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSegmentedControlContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSegmentedControlContextService });
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsSegmentedControlContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
16
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsSegmentedControlContextService });
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSegmentedControlContextService, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: QdsSegmentedControlContextService, decorators: [{
19
19
  type: Injectable
20
20
  }] });
21
21
  const [QDS_SEGMENTED_CONTROL_CONTEXT, useQdsSegmentedControlContext, provideQdsSegmentedControlContext,] = createApiContext("QdsSegmentedControlContext", QdsSegmentedControlContextService);
@@ -31,10 +31,10 @@ class SegmentedControlHiddenInputDirective extends CoreSegmentedControlHiddenInp
31
31
  super();
32
32
  this.trackBindings.extendWith(computed(() => this.qdsSegmentedControlContext().getItemHiddenInputBindings()));
33
33
  }
34
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SegmentedControlHiddenInputDirective, isStandalone: false, selector: "[q-segmented-control-hidden-input]", usesInheritance: true, ngImport: i0 });
34
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
35
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: SegmentedControlHiddenInputDirective, isStandalone: false, selector: "[q-segmented-control-hidden-input]", usesInheritance: true, ngImport: i0 });
36
36
  }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlHiddenInputDirective, decorators: [{
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlHiddenInputDirective, decorators: [{
38
38
  type: Directive,
39
39
  args: [{
40
40
  selector: "[q-segmented-control-hidden-input]",
@@ -50,10 +50,10 @@ class SegmentedControlItemRootDirective extends CoreSegmentedControlItemDirectiv
50
50
  super.ngOnInit();
51
51
  this.trackBindings.extendWith(computed(() => this.qdsSegmentedControlContext().getItemBindings()));
52
52
  }
53
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlItemRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
54
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SegmentedControlItemRootDirective, isStandalone: false, selector: "[q-segmented-control-item-root]", providers: [provideCheckboxContext()], usesInheritance: true, hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0 });
53
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlItemRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
54
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: SegmentedControlItemRootDirective, isStandalone: false, selector: "[q-segmented-control-item-root]", providers: [provideCheckboxContext()], usesInheritance: true, hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0 });
55
55
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlItemRootDirective, decorators: [{
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlItemRootDirective, decorators: [{
57
57
  type: Directive,
58
58
  args: [{
59
59
  hostDirectives: [QuiPreloadDirective],
@@ -74,10 +74,10 @@ class SegmentedControlItemTextDirective extends CoreSegmentedControlItemTextDire
74
74
  super();
75
75
  this.trackBindings.extendWith(computed(() => this.qdsSegmentedControlContext().getItemTextBindings()));
76
76
  }
77
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlItemTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SegmentedControlItemTextDirective, isStandalone: false, selector: "[q-segmented-control-item-text]", usesInheritance: true, ngImport: i0 });
77
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlItemTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
78
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: SegmentedControlItemTextDirective, isStandalone: false, selector: "[q-segmented-control-item-text]", usesInheritance: true, ngImport: i0 });
79
79
  }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlItemTextDirective, decorators: [{
80
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlItemTextDirective, decorators: [{
81
81
  type: Directive,
82
82
  args: [{
83
83
  selector: "[q-segmented-control-item-text]",
@@ -90,8 +90,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
90
90
  class SegmentedControlItemComponent extends SegmentedControlItemRootDirective {
91
91
  text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
92
92
  icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
93
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
94
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: SegmentedControlItemComponent, isStandalone: false, selector: "[q-segmented-control-item]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCheckboxContext()], usesInheritance: true, ngImport: i0, template: `
93
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
94
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: SegmentedControlItemComponent, isStandalone: false, selector: "[q-segmented-control-item]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCheckboxContext()], usesInheritance: true, ngImport: i0, template: `
95
95
  <ng-content select="[q-segmented-control-item-icon]">
96
96
  @if (icon()) {
97
97
  <svg [qIcon]="icon()!"></svg>
@@ -107,7 +107,7 @@ class SegmentedControlItemComponent extends SegmentedControlItemRootDirective {
107
107
  </ng-content>
108
108
  `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }, { kind: "directive", type: SegmentedControlItemTextDirective, selector: "[q-segmented-control-item-text]" }, { kind: "directive", type: SegmentedControlHiddenInputDirective, selector: "[q-segmented-control-hidden-input]" }] });
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlItemComponent, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlItemComponent, decorators: [{
111
111
  type: Component,
112
112
  args: [{
113
113
  providers: [provideCheckboxContext()],
@@ -161,13 +161,13 @@ class SegmentedControlDirective extends CoreSegmentedControlRootDirective {
161
161
  }, normalizeProps), ...(ngDevMode ? [{ debugName: "qdsSegmentedControlApi" }] : []));
162
162
  this.qdsSegmentedControlService.init(qdsSegmentedControlApi);
163
163
  }
164
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
165
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: SegmentedControlDirective, isStandalone: false, selector: "[q-segmented-control]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
164
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
165
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: SegmentedControlDirective, isStandalone: false, selector: "[q-segmented-control]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
166
166
  provideSegmentedControlContext(),
167
167
  provideQdsSegmentedControlContext(),
168
168
  ], usesInheritance: true, ngImport: i0 });
169
169
  }
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlDirective, decorators: [{
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlDirective, decorators: [{
171
171
  type: Directive,
172
172
  args: [{
173
173
  providers: [
@@ -182,8 +182,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
182
182
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
183
183
  // SPDX-License-Identifier: BSD-3-Clause-Clear
184
184
  class SegmentedControlModule {
185
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
186
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlModule, declarations: [SegmentedControlDirective,
185
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
186
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlModule, declarations: [SegmentedControlDirective,
187
187
  SegmentedControlItemComponent,
188
188
  SegmentedControlItemRootDirective,
189
189
  SegmentedControlItemTextDirective,
@@ -192,9 +192,9 @@ class SegmentedControlModule {
192
192
  SegmentedControlItemRootDirective,
193
193
  SegmentedControlItemTextDirective,
194
194
  SegmentedControlHiddenInputDirective] });
195
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlModule });
195
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlModule });
196
196
  }
197
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SegmentedControlModule, decorators: [{
197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SegmentedControlModule, decorators: [{
198
198
  type: NgModule,
199
199
  args: [{
200
200
  declarations: [