@qualcomm-ui/angular-core 1.4.1 → 1.5.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.
- package/checkbox/index.d.ts +19 -1
- package/checkbox/index.d.ts.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-accordion.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +15 -15
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +50 -25
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +12 -12
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +60 -60
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +33 -33
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs +12 -12
- package/fesm2022/qualcomm-ui-angular-core-events.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +21 -21
- package/fesm2022/qualcomm-ui-angular-core-input.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs +69 -69
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +61 -37
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +30 -30
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs +33 -33
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs +86 -34
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +15 -15
- package/fesm2022/qualcomm-ui-angular-core-select.mjs +51 -51
- package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs +21 -21
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-slider.mjs +51 -51
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs +47 -22
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +21 -21
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +21 -21
- package/fesm2022/qualcomm-ui-angular-core-tree.mjs +48 -48
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs.map +1 -1
- package/number-input/index.d.ts +18 -2
- package/number-input/index.d.ts.map +1 -1
- package/package.json +2 -2
- package/popover/index.d.ts +8 -2
- package/popover/index.d.ts.map +1 -1
- package/radio/index.d.ts +38 -1
- package/radio/index.d.ts.map +1 -1
- package/signals/index.d.ts +2 -2
- package/switch/index.d.ts +19 -1
- package/switch/index.d.ts.map +1 -1
|
@@ -53,20 +53,20 @@ class CoreBaseProgressDirective {
|
|
|
53
53
|
* Callback fired when the value changes.
|
|
54
54
|
*/
|
|
55
55
|
valueChanged = output();
|
|
56
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
57
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
56
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreBaseProgressDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
57
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreBaseProgressDirective, isStandalone: true, inputs: { defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged" }, ngImport: i0 });
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreBaseProgressDirective, decorators: [{
|
|
60
60
|
type: Directive
|
|
61
61
|
}], propDecorators: { defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
|
|
62
62
|
|
|
63
63
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
64
64
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
65
65
|
class ProgressContextService extends BaseApiContextService {
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
67
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProgressContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
67
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProgressContextService });
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: ProgressContextService, decorators: [{
|
|
70
70
|
type: Injectable
|
|
71
71
|
}] });
|
|
72
72
|
const [PROGRESS_CONTEXT, useProgressContext, provideProgressContext,] = createApiContext("ProgressContext", ProgressContextService);
|
|
@@ -79,10 +79,10 @@ class CoreProgressBarDirective {
|
|
|
79
79
|
ngOnInit() {
|
|
80
80
|
this.trackBindings();
|
|
81
81
|
}
|
|
82
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
83
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressBarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
83
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreProgressBarDirective, isStandalone: true, ngImport: i0 });
|
|
84
84
|
}
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressBarDirective, decorators: [{
|
|
86
86
|
type: Directive
|
|
87
87
|
}] });
|
|
88
88
|
|
|
@@ -106,10 +106,10 @@ class CoreProgressErrorTextDirective {
|
|
|
106
106
|
ngOnInit() {
|
|
107
107
|
this.trackBindings();
|
|
108
108
|
}
|
|
109
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
110
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
110
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreProgressErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
111
111
|
}
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressErrorTextDirective, decorators: [{
|
|
113
113
|
type: Directive
|
|
114
114
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
115
115
|
|
|
@@ -133,10 +133,10 @@ class CoreProgressHintDirective {
|
|
|
133
133
|
ngOnInit() {
|
|
134
134
|
this.trackBindings();
|
|
135
135
|
}
|
|
136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
137
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
137
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreProgressHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
138
138
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressHintDirective, decorators: [{
|
|
140
140
|
type: Directive
|
|
141
141
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
142
142
|
|
|
@@ -160,10 +160,10 @@ class CoreProgressLabelDirective {
|
|
|
160
160
|
ngOnInit() {
|
|
161
161
|
this.trackBindings();
|
|
162
162
|
}
|
|
163
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
164
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
163
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
164
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreProgressLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
165
165
|
}
|
|
166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressLabelDirective, decorators: [{
|
|
167
167
|
type: Directive
|
|
168
168
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
169
169
|
|
|
@@ -187,10 +187,10 @@ class CoreProgressRootDirective extends CoreBaseProgressDirective {
|
|
|
187
187
|
this.progressContext.init(computed(() => createProgressApi(machine, normalizeProps)));
|
|
188
188
|
this.trackBindings();
|
|
189
189
|
}
|
|
190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
191
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
191
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreProgressRootDirective, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
192
192
|
}
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressRootDirective, decorators: [{
|
|
194
194
|
type: Directive
|
|
195
195
|
}] });
|
|
196
196
|
|
|
@@ -212,10 +212,10 @@ class CoreProgressTrackDirective {
|
|
|
212
212
|
ngOnInit() {
|
|
213
213
|
this.trackBindings();
|
|
214
214
|
}
|
|
215
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
216
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
215
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
216
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreProgressTrackDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
217
217
|
}
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressTrackDirective, decorators: [{
|
|
219
219
|
type: Directive
|
|
220
220
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
221
221
|
|
|
@@ -227,10 +227,10 @@ class CoreProgressValueTextDirective {
|
|
|
227
227
|
ngOnInit() {
|
|
228
228
|
this.trackBindings();
|
|
229
229
|
}
|
|
230
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
231
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
230
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
231
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreProgressValueTextDirective, isStandalone: true, ngImport: i0 });
|
|
232
232
|
}
|
|
233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
233
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreProgressValueTextDirective, decorators: [{
|
|
234
234
|
type: Directive
|
|
235
235
|
}] });
|
|
236
236
|
|
|
@@ -256,20 +256,20 @@ class AbstractRadioFormControlDirective {
|
|
|
256
256
|
setDisabledState(isDisabled) {
|
|
257
257
|
this.isDisabled.set(isDisabled);
|
|
258
258
|
}
|
|
259
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
260
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
259
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AbstractRadioFormControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
260
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: AbstractRadioFormControlDirective, isStandalone: true, inputs: { defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged" }, ngImport: i0 });
|
|
261
261
|
}
|
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AbstractRadioFormControlDirective, decorators: [{
|
|
263
263
|
type: Directive
|
|
264
264
|
}], ctorParameters: () => [], propDecorators: { defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
|
|
265
265
|
|
|
266
266
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
267
267
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
268
268
|
class RadioContextService extends BaseApiContextService {
|
|
269
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
270
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
270
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioContextService });
|
|
271
271
|
}
|
|
272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioContextService, decorators: [{
|
|
273
273
|
type: Injectable
|
|
274
274
|
}] });
|
|
275
275
|
const [RADIO_CONTEXT, useRadioContext, provideRadioContext,] = createApiContext("RadioContext", RadioContextService);
|
|
@@ -292,10 +292,35 @@ class CoreRadioGroupErrorTextDirective {
|
|
|
292
292
|
ngOnInit() {
|
|
293
293
|
this.trackBindings();
|
|
294
294
|
}
|
|
295
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
296
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
295
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
296
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioGroupErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
297
297
|
}
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupErrorTextDirective, decorators: [{
|
|
299
|
+
type: Directive
|
|
300
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
301
|
+
|
|
302
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
303
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
304
|
+
class CoreRadioGroupHintDirective {
|
|
305
|
+
/**
|
|
306
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
307
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
308
|
+
*/
|
|
309
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
310
|
+
radioContext = useRadioContext();
|
|
311
|
+
trackBindings = useTrackBindings(() => this.radioContext().getGroupHintBindings({
|
|
312
|
+
id: this.hostId(),
|
|
313
|
+
onDestroy: this.onDestroy,
|
|
314
|
+
}));
|
|
315
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
316
|
+
onDestroy = useOnDestroy();
|
|
317
|
+
ngOnInit() {
|
|
318
|
+
this.trackBindings();
|
|
319
|
+
}
|
|
320
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
321
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioGroupHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
322
|
+
}
|
|
323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupHintDirective, decorators: [{
|
|
299
324
|
type: Directive
|
|
300
325
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
301
326
|
|
|
@@ -307,10 +332,10 @@ class CoreRadioGroupItemsDirective {
|
|
|
307
332
|
ngOnInit() {
|
|
308
333
|
this.trackBindings();
|
|
309
334
|
}
|
|
310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
311
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
335
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
336
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreRadioGroupItemsDirective, isStandalone: true, ngImport: i0 });
|
|
312
337
|
}
|
|
313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupItemsDirective, decorators: [{
|
|
314
339
|
type: Directive
|
|
315
340
|
}] });
|
|
316
341
|
|
|
@@ -332,10 +357,10 @@ class CoreRadioGroupLabelDirective {
|
|
|
332
357
|
ngOnInit() {
|
|
333
358
|
this.trackBindings();
|
|
334
359
|
}
|
|
335
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
336
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
361
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioGroupLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
337
362
|
}
|
|
338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupLabelDirective, decorators: [{
|
|
339
364
|
type: Directive
|
|
340
365
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
341
366
|
|
|
@@ -408,10 +433,10 @@ class CoreRadioGroupDirective extends AbstractRadioFormControlDirective {
|
|
|
408
433
|
})), this.injector);
|
|
409
434
|
this.radioContextService.init(computed(() => createRadioApi(machine, normalizeProps)));
|
|
410
435
|
}
|
|
411
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
412
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioGroupDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "focusout": "onBlur()" } }, usesInheritance: true, ngImport: i0 });
|
|
413
438
|
}
|
|
414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioGroupDirective, decorators: [{
|
|
415
440
|
type: Directive,
|
|
416
441
|
args: [{
|
|
417
442
|
host: {
|
|
@@ -423,10 +448,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
423
448
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
424
449
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
425
450
|
class RadioItemContextService extends BaseApiContextService {
|
|
426
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
427
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
451
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioItemContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
452
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioItemContextService });
|
|
428
453
|
}
|
|
429
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
454
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: RadioItemContextService, decorators: [{
|
|
430
455
|
type: Injectable
|
|
431
456
|
}] });
|
|
432
457
|
const [RADIO_ITEM_CONTEXT, useRadioItemContext, provideRadioItemContext,] = createApiContext("RadioItemContext", RadioItemContextService);
|
|
@@ -440,10 +465,10 @@ class CoreRadioItemControlDirective {
|
|
|
440
465
|
ngOnInit() {
|
|
441
466
|
this.trackBindings();
|
|
442
467
|
}
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
444
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
468
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
469
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreRadioItemControlDirective, isStandalone: true, ngImport: i0 });
|
|
445
470
|
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemControlDirective, decorators: [{
|
|
447
472
|
type: Directive
|
|
448
473
|
}] });
|
|
449
474
|
|
|
@@ -467,10 +492,37 @@ class CoreRadioItemHiddenInputDirective {
|
|
|
467
492
|
ngOnInit() {
|
|
468
493
|
this.trackBindings();
|
|
469
494
|
}
|
|
470
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
471
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
495
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
496
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioItemHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
497
|
+
}
|
|
498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemHiddenInputDirective, decorators: [{
|
|
499
|
+
type: Directive
|
|
500
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
501
|
+
|
|
502
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
503
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
504
|
+
class CoreRadioItemHintDirective {
|
|
505
|
+
/**
|
|
506
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
507
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
508
|
+
*/
|
|
509
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
510
|
+
radioContext = useRadioContext();
|
|
511
|
+
radioItemContext = useRadioItemContext();
|
|
512
|
+
trackBindings = useTrackBindings(() => this.radioContext().getRadioHintBindings({
|
|
513
|
+
...this.radioItemContext(),
|
|
514
|
+
id: this.hostId(),
|
|
515
|
+
onDestroy: this.onDestroy,
|
|
516
|
+
}));
|
|
517
|
+
onDestroy = useOnDestroy();
|
|
518
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
519
|
+
ngOnInit() {
|
|
520
|
+
this.trackBindings();
|
|
521
|
+
}
|
|
522
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
523
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioItemHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
472
524
|
}
|
|
473
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
525
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemHintDirective, decorators: [{
|
|
474
526
|
type: Directive
|
|
475
527
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
476
528
|
|
|
@@ -494,10 +546,10 @@ class CoreRadioItemLabelDirective {
|
|
|
494
546
|
ngOnInit() {
|
|
495
547
|
this.trackBindings();
|
|
496
548
|
}
|
|
497
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
498
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
549
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
550
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioItemLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
499
551
|
}
|
|
500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioItemLabelDirective, decorators: [{
|
|
501
553
|
type: Directive
|
|
502
554
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
503
555
|
|
|
@@ -549,10 +601,10 @@ class CoreRadioRootDirective {
|
|
|
549
601
|
value: this.value(),
|
|
550
602
|
})));
|
|
551
603
|
}
|
|
552
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
553
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
604
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
605
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreRadioRootDirective, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
554
606
|
}
|
|
555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreRadioRootDirective, decorators: [{
|
|
556
608
|
type: Directive
|
|
557
609
|
}], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
|
|
558
610
|
|
|
@@ -560,5 +612,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
|
|
|
560
612
|
* Generated bundle index. Do not edit.
|
|
561
613
|
*/
|
|
562
614
|
|
|
563
|
-
export { AbstractRadioFormControlDirective, CoreRadioGroupDirective, CoreRadioGroupErrorTextDirective, CoreRadioGroupItemsDirective, CoreRadioGroupLabelDirective, CoreRadioItemControlDirective, CoreRadioItemHiddenInputDirective, CoreRadioItemLabelDirective, CoreRadioRootDirective, RADIO_CONTEXT, RADIO_ITEM_CONTEXT, RadioContextService, RadioItemContextService, provideRadioContext, provideRadioItemContext, useRadioContext, useRadioItemContext };
|
|
615
|
+
export { AbstractRadioFormControlDirective, CoreRadioGroupDirective, CoreRadioGroupErrorTextDirective, CoreRadioGroupHintDirective, CoreRadioGroupItemsDirective, CoreRadioGroupLabelDirective, CoreRadioItemControlDirective, CoreRadioItemHiddenInputDirective, CoreRadioItemHintDirective, CoreRadioItemLabelDirective, CoreRadioRootDirective, RADIO_CONTEXT, RADIO_ITEM_CONTEXT, RadioContextService, RadioItemContextService, provideRadioContext, provideRadioItemContext, useRadioContext, useRadioItemContext };
|
|
564
616
|
//# sourceMappingURL=qualcomm-ui-angular-core-radio.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-radio.mjs","sources":["../../src/radio/abstract-radio-form-control.directive.ts","../../src/radio/radio-context.service.ts","../../src/radio/core-radio-group-error-text.directive.ts","../../src/radio/core-radio-group-items.directive.ts","../../src/radio/core-radio-group-label.directive.ts","../../src/radio/core-radio-group.directive.ts","../../src/radio/radio-item-context.service.ts","../../src/radio/core-radio-item-control.directive.ts","../../src/radio/core-radio-item-hidden-input.directive.ts","../../src/radio/core-radio-item-label.directive.ts","../../src/radio/core-radio-root.directive.ts","../../src/radio/qualcomm-ui-angular-core-radio.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n afterNextRender,\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n Injector,\n input,\n isDevMode,\n linkedSignal,\n type OnInit,\n output,\n runInInjectionContext,\n signal,\n} from \"@angular/core\"\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\"\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n type FormControlStatus,\n FormGroupDirective,\n FormSubmittedEvent,\n NgControl,\n NgForm,\n NgModel,\n PristineChangeEvent,\n Validators,\n} from \"@angular/forms\"\n\nimport {useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {\n allEventsSignal,\n type FormEventData,\n} from \"@qualcomm-ui/angular-core/forms\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Directive()\nexport abstract class AbstractRadioFormControlDirective\n implements ControlValueAccessor, OnInit\n{\n /**\n * The initial value of the radio group when rendered. Use when you don't need to\n * control the state of the radio group. This property will be ignored if you\n * opt into controlled state via form control bindings.\n */\n readonly defaultValue = input<string>()\n\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The name of the input field in a radio group. Useful for form submission.\n */\n readonly name = input<string | undefined>()\n\n /**\n * Whether the input is read-only. When true, prevents user interaction while\n * keeping the input focusable and visible.\n */\n readonly readOnly = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is required in template-driven forms. When\n * true, the input must have a value for form validation to pass.\n */\n readonly required = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Event emitted when the radio is selected or deselected. This is only emitted\n * on interaction. It doesn't emit in response to programmatic or form control\n * changes.\n */\n readonly valueChanged = output<string | null>()\n\n /* the internal \"value\" state of the radio */\n protected readonly value = signal<string | null>(null)\n protected readonly onDestroy = useOnDestroy()\n protected readonly injector = inject(Injector)\n protected readonly formControlStatus = signal<FormControlStatus | undefined>(\n undefined,\n )\n protected readonly formSubmitted = signal(false)\n\n protected readonly ngControl: NgControl | null = inject(NgControl, {\n optional: true,\n self: true,\n })\n\n protected readonly formEventData = signal<FormEventData<\n string | undefined\n > | null>(null)\n\n /**\n * If the component is bound to an Angular AbstractControl, its state wins.\n * If not, fall back to the host attribute.\n */\n protected readonly isDisabled = linkedSignal(() => {\n /**\n * When the component is bound to any AbstractControl, status is guaranteed to\n * be non-undefined.\n */\n const status = this.formControlStatus()\n const disabled = this.disabled()\n if (status !== undefined) {\n return status === \"DISABLED\"\n }\n\n return !!disabled\n })\n\n readonly invalid = computed(() => {\n const formEventData = this.formEventData()\n const submitted = this.formSubmitted()\n if (!this.control) {\n return false\n }\n\n let invalid, touched, dirty\n\n if (this.isTemplateDrivenForm) {\n invalid = this.control.invalid\n touched = this.control.touched\n dirty = this.control.dirty\n } else if (formEventData) {\n invalid = formEventData.invalid\n touched = formEventData.touched\n dirty = formEventData.dirty\n } else {\n return false\n }\n\n if (submitted) {\n return invalid\n }\n\n switch (this.control.updateOn) {\n case \"submit\":\n return invalid\n case \"blur\":\n return invalid && touched\n default:\n // \"change\"\n return dirty && invalid\n }\n })\n\n readonly isRequired = linkedSignal(() => {\n const control = this.control\n const required = this.required()\n if (!control || !this.isReactiveForm) {\n return required\n }\n\n if (typeof control.hasValidator === \"function\") {\n return control.hasValidator(Validators.required)\n }\n return false\n })\n\n constructor() {\n if (this.ngControl) {\n this.ngControl.valueAccessor = this\n }\n\n afterNextRender(() => {\n const required = this.required()\n if (required && this.isReactiveForm && isDevMode()) {\n console.warn(\n \"[radio] The required attribute is not supported on reactive forms. Use Validators instead. https://angular.dev/guide/forms/form-validation#validating-input-in-reactive-forms\",\n )\n }\n })\n\n effect(() => {\n const required = this.required()\n if (this.control && this.isTemplateDrivenForm) {\n if (required) {\n this.control.addValidators(Validators.required)\n } else if (this.control.hasValidator(Validators.required)) {\n this.control.removeValidators(Validators.required)\n }\n }\n })\n }\n\n ngOnInit() {\n if (this.defaultValue() && !this.control) {\n this.value.set(this.defaultValue()!)\n }\n if (this.control) {\n const subscription = this.control.statusChanges.subscribe((status) => {\n this.formControlStatus.set(status)\n })\n this.onDestroy(() => {\n subscription.unsubscribe()\n })\n\n const parent = this.getParentForm()\n\n runInInjectionContext(this.injector, () => {\n if (this.control) {\n const formSignal = allEventsSignal<string | undefined>(this.control)\n effect(() => {\n this.formEventData.set(formSignal())\n })\n }\n\n if (parent) {\n let prevPristine = this.control?.pristine || false\n parent.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {\n if (event instanceof PristineChangeEvent) {\n if (event.pristine && !prevPristine) {\n // if this event fires with pristine status and the control was\n // previously not pristine, this means that the form was reset. There\n // isn't another way to determine form resets programmatically,\n // unfortunately.\n this.formSubmitted.set(false)\n }\n prevPristine = event.pristine\n } else if (event instanceof FormSubmittedEvent) {\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n }\n })\n parent.ngSubmit.pipe(takeUntilDestroyed()).subscribe(() => {\n if (this.isReactiveForm) {\n // already accounted for in the above event subscription.\n return\n }\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n })\n }\n })\n }\n }\n\n /** `true` when used with template-driven forms (`[(ngModel)]`, `ngModel`, …). */\n get isTemplateDrivenForm(): boolean {\n return this.ngControl instanceof NgModel\n }\n\n /** `true` when used with reactive-forms (`formControl`, `formControlName`, …). */\n get isReactiveForm(): boolean {\n // Any NgControl that is *not* NgModel belongs to the reactive-forms package\n return !!this.ngControl && !this.isTemplateDrivenForm\n }\n\n /** Convenience access to the underlying AbstractControl (can be null). */\n protected get control(): AbstractControl | null {\n return this.ngControl?.control ?? null\n }\n\n /**\n * Used to subscribe to form submit events.\n */\n private getParentForm(): NgForm | FormGroupDirective | null {\n if (!this.control) {\n return null\n }\n\n // Try to find NgForm first\n try {\n const ngForm = this.injector.get(NgForm, null)\n if (ngForm) {\n return ngForm\n }\n } catch {}\n\n // Fall back to FormGroupDirective\n try {\n const formGroupDirective = this.injector.get(FormGroupDirective, null)\n if (formGroupDirective) {\n return formGroupDirective\n }\n } catch {}\n\n return null\n }\n\n /*\n * Control value accessor methods\n */\n writeValue(value: any): void {\n this.value.set(value)\n }\n\n // placeholder\n protected onChange = (_value: any) => {}\n\n registerOnChange(fn: (value: any) => void): void {\n this.onChange = (_value) => {\n fn(_value)\n this.value.set(_value)\n this.valueChanged.emit(_value)\n }\n }\n\n protected onTouched = () => {}\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n /**\n * NgModel never calls setDisabledState, but ReactiveForms does. Everything else\n * (writeValue, registerOnChange, registerOnTouched) is identical between Reactive\n * and Template forms.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled.set(isDisabled)\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {RadioApi} from \"@qualcomm-ui/core/radio\"\n\n@Injectable()\nexport class RadioContextService extends BaseApiContextService<RadioApi> {}\n\nexport const [\n RADIO_CONTEXT,\n useRadioContext,\n provideRadioContext,\n]: ApiContext<RadioApi> = createApiContext<RadioApi>(\n \"RadioContext\",\n RadioContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\n\n@Directive()\nexport class CoreRadioGroupErrorTextDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getGroupErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\n\n@Directive()\nexport class CoreRadioGroupItemsDirective implements OnInit {\n protected readonly radioContext = useRadioContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getGroupItemsBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\n\nimport {useRadioContext} from \"./radio-context.service\"\n\n@Directive()\nexport class CoreRadioGroupLabelDirective\n implements OnInit, SignalifyInput<{id?: string}>\n{\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {computed, Directive, inject, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useIsDestroyed} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createRadioApi,\n type RadioApiProps,\n radioMachine,\n type RadioOrientation,\n} from \"@qualcomm-ui/core/radio\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {AbstractRadioFormControlDirective} from \"./abstract-radio-form-control.directive\"\nimport {RadioContextService} from \"./radio-context.service\"\n\n@Directive({\n host: {\n \"(focusout)\": \"onBlur()\",\n },\n})\nexport class CoreRadioGroupDirective\n extends AbstractRadioFormControlDirective\n implements OnInit, SignalifyInput<Omit<RadioApiProps, \"form\" | \"value\">>\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * Orientation of the radio group\n *\n * @default 'vertical'\n */\n readonly orientation = input<RadioOrientation>()\n\n protected readonly radioContextService = inject(RadioContextService)\n\n protected readonly document = inject(DOCUMENT)\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContextService.context().getGroupBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly isDestroyed = useIsDestroyed()\n\n protected onBlur() {\n if (!this.isDestroyed()) {\n this.onTouched()\n }\n }\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.trackBindings()\n\n const controlName = this.ngControl?.name\n ? `${this.ngControl.name}`\n : undefined\n\n const machine = useMachine(\n radioMachine,\n computed<Explicit<RadioApiProps>>(() => ({\n defaultValue: this.defaultValue(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n form: \"\",\n getRootNode: this.getRootNode() ?? (() => this.document),\n invalid: this.invalid(),\n name: this.name() || controlName,\n onValueChange: (value) => {\n this.onChange(value)\n if (!this.control) {\n this.valueChanged.emit(value)\n this.value.set(value)\n }\n if (this.control && !this.control?.touched) {\n this.onTouched()\n }\n },\n orientation: this.orientation(),\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.radioContextService.init(\n computed(() => createRadioApi(machine, normalizeProps)),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {RadioItemContext} from \"@qualcomm-ui/core/radio\"\n\n@Injectable()\nexport class RadioItemContextService extends BaseApiContextService<RadioItemContext> {}\n\nexport const [\n RADIO_ITEM_CONTEXT,\n useRadioItemContext,\n provideRadioItemContext,\n]: ApiContext<RadioItemContext> = createApiContext<RadioItemContext>(\n \"RadioItemContext\",\n RadioItemContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {useRadioItemContext} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioItemControlDirective implements OnInit {\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = useRadioItemContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioControlBindings({...this.radioItemContext()}),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {useRadioItemContext} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioItemHiddenInputDirective\n implements OnInit, SignalifyInput<{id?: string}>\n{\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = useRadioItemContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioHiddenInputBindings({\n ...this.radioItemContext(),\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {useRadioItemContext} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioItemLabelDirective\n implements OnInit, SignalifyInput<{id?: string}>\n{\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = useRadioItemContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioLabelBindings({\n ...this.radioItemContext(),\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useForbiddenFormControlWarning} from \"@qualcomm-ui/angular-core/forms\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {RadioItemContext} from \"@qualcomm-ui/core/radio\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {RadioItemContextService} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioRootDirective\n implements OnInit, SignalifyInput<RadioItemContext>\n{\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n *\n * @remarks\n * The parent `q-radio-group` `disabled` property, if set to true, will override\n * this input.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n /**\n * The value of the radio input. This is used to identify which radio is\n * selected in a group.\n */\n readonly value = input.required<string>()\n\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = inject(RadioItemContextService)\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioBindings({\n disabled: this.disabled(),\n id: this.hostId(),\n onDestroy: this.onDestroy,\n value: this.value(),\n }),\n )\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n constructor() {\n useForbiddenFormControlWarning({\n directive: \"q-radio\",\n rootDirective: \"q-radio-group\",\n })\n }\n\n ngOnInit() {\n this.trackBindings()\n\n this.radioItemContext.init(\n computed(() => ({\n disabled: this.disabled(),\n value: this.value(),\n })),\n )\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AACA;MAwCsB,iCAAiC,CAAA;AAGrD;;;;AAIG;IACM,YAAY,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,cAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;AAEvC;;;;AAIG;IACM,QAAQ,GAAG,KAAK,CAAkC,SAAS,4CAClE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CADyC;AACpE,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF;;AAEG;IACM,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAsB;AAE3C;;;AAGG;IACM,QAAQ,GAAG,KAAK,CAAkC,SAAS,4CAClE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CADyC;AACpE,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF;;;AAGG;IACM,QAAQ,GAAG,KAAK,CAAkC,SAAS,4CAClE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CADyC;AACpE,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF;;;;AAIG;IACM,YAAY,GAAG,MAAM,EAAiB;;AAG5B,IAAA,KAAK,GAAG,MAAM,CAAgB,IAAI,iDAAC;IACnC,SAAS,GAAG,YAAY,EAAE;AAC1B,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC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|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-radio.mjs","sources":["../../src/radio/abstract-radio-form-control.directive.ts","../../src/radio/radio-context.service.ts","../../src/radio/core-radio-group-error-text.directive.ts","../../src/radio/core-radio-group-hint.directive.ts","../../src/radio/core-radio-group-items.directive.ts","../../src/radio/core-radio-group-label.directive.ts","../../src/radio/core-radio-group.directive.ts","../../src/radio/radio-item-context.service.ts","../../src/radio/core-radio-item-control.directive.ts","../../src/radio/core-radio-item-hidden-input.directive.ts","../../src/radio/core-radio-item-hint.directive.ts","../../src/radio/core-radio-item-label.directive.ts","../../src/radio/core-radio-root.directive.ts","../../src/radio/qualcomm-ui-angular-core-radio.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n afterNextRender,\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n Injector,\n input,\n isDevMode,\n linkedSignal,\n type OnInit,\n output,\n runInInjectionContext,\n signal,\n} from \"@angular/core\"\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\"\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n type FormControlStatus,\n FormGroupDirective,\n FormSubmittedEvent,\n NgControl,\n NgForm,\n NgModel,\n PristineChangeEvent,\n Validators,\n} from \"@angular/forms\"\n\nimport {useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {\n allEventsSignal,\n type FormEventData,\n} from \"@qualcomm-ui/angular-core/forms\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Directive()\nexport abstract class AbstractRadioFormControlDirective\n implements ControlValueAccessor, OnInit\n{\n /**\n * The initial value of the radio group when rendered. Use when you don't need to\n * control the state of the radio group. This property will be ignored if you\n * opt into controlled state via form control bindings.\n */\n readonly defaultValue = input<string>()\n\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The name of the input field in a radio group. Useful for form submission.\n */\n readonly name = input<string | undefined>()\n\n /**\n * Whether the input is read-only. When true, prevents user interaction while\n * keeping the input focusable and visible.\n */\n readonly readOnly = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is required in template-driven forms. When\n * true, the input must have a value for form validation to pass.\n */\n readonly required = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Event emitted when the radio is selected or deselected. This is only emitted\n * on interaction. It doesn't emit in response to programmatic or form control\n * changes.\n */\n readonly valueChanged = output<string | null>()\n\n /* the internal \"value\" state of the radio */\n protected readonly value = signal<string | null>(null)\n protected readonly onDestroy = useOnDestroy()\n protected readonly injector = inject(Injector)\n protected readonly formControlStatus = signal<FormControlStatus | undefined>(\n undefined,\n )\n protected readonly formSubmitted = signal(false)\n\n protected readonly ngControl: NgControl | null = inject(NgControl, {\n optional: true,\n self: true,\n })\n\n protected readonly formEventData = signal<FormEventData<\n string | undefined\n > | null>(null)\n\n /**\n * If the component is bound to an Angular AbstractControl, its state wins.\n * If not, fall back to the host attribute.\n */\n protected readonly isDisabled = linkedSignal(() => {\n /**\n * When the component is bound to any AbstractControl, status is guaranteed to\n * be non-undefined.\n */\n const status = this.formControlStatus()\n const disabled = this.disabled()\n if (status !== undefined) {\n return status === \"DISABLED\"\n }\n\n return !!disabled\n })\n\n readonly invalid = computed(() => {\n const formEventData = this.formEventData()\n const submitted = this.formSubmitted()\n if (!this.control) {\n return false\n }\n\n let invalid, touched, dirty\n\n if (this.isTemplateDrivenForm) {\n invalid = this.control.invalid\n touched = this.control.touched\n dirty = this.control.dirty\n } else if (formEventData) {\n invalid = formEventData.invalid\n touched = formEventData.touched\n dirty = formEventData.dirty\n } else {\n return false\n }\n\n if (submitted) {\n return invalid\n }\n\n switch (this.control.updateOn) {\n case \"submit\":\n return invalid\n case \"blur\":\n return invalid && touched\n default:\n // \"change\"\n return dirty && invalid\n }\n })\n\n readonly isRequired = linkedSignal(() => {\n const control = this.control\n const required = this.required()\n if (!control || !this.isReactiveForm) {\n return required\n }\n\n if (typeof control.hasValidator === \"function\") {\n return control.hasValidator(Validators.required)\n }\n return false\n })\n\n constructor() {\n if (this.ngControl) {\n this.ngControl.valueAccessor = this\n }\n\n afterNextRender(() => {\n const required = this.required()\n if (required && this.isReactiveForm && isDevMode()) {\n console.warn(\n \"[radio] The required attribute is not supported on reactive forms. Use Validators instead. https://angular.dev/guide/forms/form-validation#validating-input-in-reactive-forms\",\n )\n }\n })\n\n effect(() => {\n const required = this.required()\n if (this.control && this.isTemplateDrivenForm) {\n if (required) {\n this.control.addValidators(Validators.required)\n } else if (this.control.hasValidator(Validators.required)) {\n this.control.removeValidators(Validators.required)\n }\n }\n })\n }\n\n ngOnInit() {\n if (this.defaultValue() && !this.control) {\n this.value.set(this.defaultValue()!)\n }\n if (this.control) {\n const subscription = this.control.statusChanges.subscribe((status) => {\n this.formControlStatus.set(status)\n })\n this.onDestroy(() => {\n subscription.unsubscribe()\n })\n\n const parent = this.getParentForm()\n\n runInInjectionContext(this.injector, () => {\n if (this.control) {\n const formSignal = allEventsSignal<string | undefined>(this.control)\n effect(() => {\n this.formEventData.set(formSignal())\n })\n }\n\n if (parent) {\n let prevPristine = this.control?.pristine || false\n parent.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {\n if (event instanceof PristineChangeEvent) {\n if (event.pristine && !prevPristine) {\n // if this event fires with pristine status and the control was\n // previously not pristine, this means that the form was reset. There\n // isn't another way to determine form resets programmatically,\n // unfortunately.\n this.formSubmitted.set(false)\n }\n prevPristine = event.pristine\n } else if (event instanceof FormSubmittedEvent) {\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n }\n })\n parent.ngSubmit.pipe(takeUntilDestroyed()).subscribe(() => {\n if (this.isReactiveForm) {\n // already accounted for in the above event subscription.\n return\n }\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n })\n }\n })\n }\n }\n\n /** `true` when used with template-driven forms (`[(ngModel)]`, `ngModel`, …). */\n get isTemplateDrivenForm(): boolean {\n return this.ngControl instanceof NgModel\n }\n\n /** `true` when used with reactive-forms (`formControl`, `formControlName`, …). */\n get isReactiveForm(): boolean {\n // Any NgControl that is *not* NgModel belongs to the reactive-forms package\n return !!this.ngControl && !this.isTemplateDrivenForm\n }\n\n /** Convenience access to the underlying AbstractControl (can be null). */\n protected get control(): AbstractControl | null {\n return this.ngControl?.control ?? null\n }\n\n /**\n * Used to subscribe to form submit events.\n */\n private getParentForm(): NgForm | FormGroupDirective | null {\n if (!this.control) {\n return null\n }\n\n // Try to find NgForm first\n try {\n const ngForm = this.injector.get(NgForm, null)\n if (ngForm) {\n return ngForm\n }\n } catch {}\n\n // Fall back to FormGroupDirective\n try {\n const formGroupDirective = this.injector.get(FormGroupDirective, null)\n if (formGroupDirective) {\n return formGroupDirective\n }\n } catch {}\n\n return null\n }\n\n /*\n * Control value accessor methods\n */\n writeValue(value: any): void {\n this.value.set(value)\n }\n\n // placeholder\n protected onChange = (_value: any) => {}\n\n registerOnChange(fn: (value: any) => void): void {\n this.onChange = (_value) => {\n fn(_value)\n this.value.set(_value)\n this.valueChanged.emit(_value)\n }\n }\n\n protected onTouched = () => {}\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n /**\n * NgModel never calls setDisabledState, but ReactiveForms does. Everything else\n * (writeValue, registerOnChange, registerOnTouched) is identical between Reactive\n * and Template forms.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled.set(isDisabled)\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {RadioApi} from \"@qualcomm-ui/core/radio\"\n\n@Injectable()\nexport class RadioContextService extends BaseApiContextService<RadioApi> {}\n\nexport const [\n RADIO_CONTEXT,\n useRadioContext,\n provideRadioContext,\n]: ApiContext<RadioApi> = createApiContext<RadioApi>(\n \"RadioContext\",\n RadioContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\n\n@Directive()\nexport class CoreRadioGroupErrorTextDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getGroupErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\n\n@Directive()\nexport class CoreRadioGroupHintDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getGroupHintBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\n\n@Directive()\nexport class CoreRadioGroupItemsDirective implements OnInit {\n protected readonly radioContext = useRadioContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getGroupItemsBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\n\nimport {useRadioContext} from \"./radio-context.service\"\n\n@Directive()\nexport class CoreRadioGroupLabelDirective\n implements OnInit, SignalifyInput<{id?: string}>\n{\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {computed, Directive, inject, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useIsDestroyed} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createRadioApi,\n type RadioApiProps,\n radioMachine,\n type RadioOrientation,\n} from \"@qualcomm-ui/core/radio\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {AbstractRadioFormControlDirective} from \"./abstract-radio-form-control.directive\"\nimport {RadioContextService} from \"./radio-context.service\"\n\n@Directive({\n host: {\n \"(focusout)\": \"onBlur()\",\n },\n})\nexport class CoreRadioGroupDirective\n extends AbstractRadioFormControlDirective\n implements OnInit, SignalifyInput<Omit<RadioApiProps, \"form\" | \"value\">>\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * Orientation of the radio group\n *\n * @default 'vertical'\n */\n readonly orientation = input<RadioOrientation>()\n\n protected readonly radioContextService = inject(RadioContextService)\n\n protected readonly document = inject(DOCUMENT)\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContextService.context().getGroupBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly isDestroyed = useIsDestroyed()\n\n protected onBlur() {\n if (!this.isDestroyed()) {\n this.onTouched()\n }\n }\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.trackBindings()\n\n const controlName = this.ngControl?.name\n ? `${this.ngControl.name}`\n : undefined\n\n const machine = useMachine(\n radioMachine,\n computed<Explicit<RadioApiProps>>(() => ({\n defaultValue: this.defaultValue(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n form: \"\",\n getRootNode: this.getRootNode() ?? (() => this.document),\n invalid: this.invalid(),\n name: this.name() || controlName,\n onValueChange: (value) => {\n this.onChange(value)\n if (!this.control) {\n this.valueChanged.emit(value)\n this.value.set(value)\n }\n if (this.control && !this.control?.touched) {\n this.onTouched()\n }\n },\n orientation: this.orientation(),\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.radioContextService.init(\n computed(() => createRadioApi(machine, normalizeProps)),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {RadioItemContext} from \"@qualcomm-ui/core/radio\"\n\n@Injectable()\nexport class RadioItemContextService extends BaseApiContextService<RadioItemContext> {}\n\nexport const [\n RADIO_ITEM_CONTEXT,\n useRadioItemContext,\n provideRadioItemContext,\n]: ApiContext<RadioItemContext> = createApiContext<RadioItemContext>(\n \"RadioItemContext\",\n RadioItemContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {useRadioItemContext} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioItemControlDirective implements OnInit {\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = useRadioItemContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioControlBindings({...this.radioItemContext()}),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {useRadioItemContext} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioItemHiddenInputDirective\n implements OnInit, SignalifyInput<{id?: string}>\n{\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = useRadioItemContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioHiddenInputBindings({\n ...this.radioItemContext(),\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {useRadioItemContext} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioItemHintDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = useRadioItemContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioHintBindings({\n ...this.radioItemContext(),\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {useRadioItemContext} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioItemLabelDirective\n implements OnInit, SignalifyInput<{id?: string}>\n{\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = useRadioItemContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioLabelBindings({\n ...this.radioItemContext(),\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n protected readonly onDestroy = useOnDestroy()\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useForbiddenFormControlWarning} from \"@qualcomm-ui/angular-core/forms\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {RadioItemContext} from \"@qualcomm-ui/core/radio\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {useRadioContext} from \"./radio-context.service\"\nimport {RadioItemContextService} from \"./radio-item-context.service\"\n\n@Directive()\nexport class CoreRadioRootDirective\n implements OnInit, SignalifyInput<RadioItemContext>\n{\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n *\n * @remarks\n * The parent `q-radio-group` `disabled` property, if set to true, will override\n * this input.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n /**\n * The value of the radio input. This is used to identify which radio is\n * selected in a group.\n */\n readonly value = input.required<string>()\n\n protected readonly radioContext = useRadioContext()\n protected readonly radioItemContext = inject(RadioItemContextService)\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.radioContext().getRadioBindings({\n disabled: this.disabled(),\n id: this.hostId(),\n onDestroy: this.onDestroy,\n value: this.value(),\n }),\n )\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n constructor() {\n useForbiddenFormControlWarning({\n directive: \"q-radio\",\n rootDirective: \"q-radio-group\",\n })\n }\n\n ngOnInit() {\n this.trackBindings()\n\n this.radioItemContext.init(\n computed(() => ({\n disabled: this.disabled(),\n value: this.value(),\n })),\n )\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AACA;MAwCsB,iCAAiC,CAAA;AAGrD;;;;AAIG;IACM,YAAY,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,cAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAU;AAEvC;;;;AAIG;IACM,QAAQ,GAAG,K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