@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.
Files changed (55) hide show
  1. package/checkbox/index.d.ts +19 -1
  2. package/checkbox/index.d.ts.map +1 -1
  3. package/fesm2022/qualcomm-ui-angular-core-accordion.mjs +27 -27
  4. package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +15 -15
  5. package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +50 -25
  6. package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -1
  7. package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +12 -12
  8. package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +60 -60
  9. package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +33 -33
  10. package/fesm2022/qualcomm-ui-angular-core-dom.mjs +12 -12
  11. package/fesm2022/qualcomm-ui-angular-core-events.mjs +3 -3
  12. package/fesm2022/qualcomm-ui-angular-core-highlight.mjs +3 -3
  13. package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +21 -21
  14. package/fesm2022/qualcomm-ui-angular-core-input.mjs +9 -9
  15. package/fesm2022/qualcomm-ui-angular-core-locale.mjs +3 -3
  16. package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs +3 -3
  17. package/fesm2022/qualcomm-ui-angular-core-machine.mjs +9 -9
  18. package/fesm2022/qualcomm-ui-angular-core-menu.mjs +69 -69
  19. package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +61 -37
  20. package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -1
  21. package/fesm2022/qualcomm-ui-angular-core-observers.mjs +3 -3
  22. package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +27 -27
  23. package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +30 -30
  24. package/fesm2022/qualcomm-ui-angular-core-popover.mjs +33 -33
  25. package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -1
  26. package/fesm2022/qualcomm-ui-angular-core-portal.mjs +9 -9
  27. package/fesm2022/qualcomm-ui-angular-core-presence.mjs +9 -9
  28. package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +24 -24
  29. package/fesm2022/qualcomm-ui-angular-core-progress.mjs +27 -27
  30. package/fesm2022/qualcomm-ui-angular-core-radio.mjs +86 -34
  31. package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -1
  32. package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +15 -15
  33. package/fesm2022/qualcomm-ui-angular-core-select.mjs +51 -51
  34. package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs +21 -21
  35. package/fesm2022/qualcomm-ui-angular-core-signals.mjs.map +1 -1
  36. package/fesm2022/qualcomm-ui-angular-core-slider.mjs +51 -51
  37. package/fesm2022/qualcomm-ui-angular-core-switch.mjs +47 -22
  38. package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -1
  39. package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +27 -27
  40. package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +21 -21
  41. package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +27 -27
  42. package/fesm2022/qualcomm-ui-angular-core-toast.mjs +24 -24
  43. package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +21 -21
  44. package/fesm2022/qualcomm-ui-angular-core-tree.mjs +48 -48
  45. package/fesm2022/qualcomm-ui-angular-core-virtual.mjs.map +1 -1
  46. package/number-input/index.d.ts +18 -2
  47. package/number-input/index.d.ts.map +1 -1
  48. package/package.json +2 -2
  49. package/popover/index.d.ts +8 -2
  50. package/popover/index.d.ts.map +1 -1
  51. package/radio/index.d.ts +38 -1
  52. package/radio/index.d.ts.map +1 -1
  53. package/signals/index.d.ts +2 -2
  54. package/switch/index.d.ts +19 -1
  55. package/switch/index.d.ts.map +1 -1
@@ -10,10 +10,10 @@ import { sliderMachine, createSliderApi } from '@qualcomm-ui/core/slider';
10
10
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
11
11
  // SPDX-License-Identifier: BSD-3-Clause-Clear
12
12
  class SliderContextService extends BaseApiContextService {
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderContextService });
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SliderContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
14
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SliderContextService });
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderContextService, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SliderContextService, decorators: [{
17
17
  type: Injectable
18
18
  }] });
19
19
  const [SLIDER_CONTEXT, useSliderContext, provideSliderContext] = createApiContext("SliderContext", SliderContextService);
@@ -21,10 +21,10 @@ const [SLIDER_CONTEXT, useSliderContext, provideSliderContext] = createApiContex
21
21
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
22
22
  // SPDX-License-Identifier: BSD-3-Clause-Clear
23
23
  class SliderThumbContextService extends BaseApiContextService {
24
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
25
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbContextService });
24
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SliderThumbContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
25
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SliderThumbContextService });
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbContextService, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SliderThumbContextService, decorators: [{
28
28
  type: Injectable
29
29
  }] });
30
30
  const [SLIDER_THUMB_CONTEXT, useSliderThumbContext, provideSliderThumbContext,] = createApiContext("SliderThumbContext", SliderThumbContextService);
@@ -47,10 +47,10 @@ class CoreSliderControlDirective {
47
47
  ngOnInit() {
48
48
  this.trackBindings();
49
49
  }
50
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
51
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderControlDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
50
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
51
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderControlDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
52
52
  }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderControlDirective, decorators: [{
53
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderControlDirective, decorators: [{
54
54
  type: Directive
55
55
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
56
56
 
@@ -72,10 +72,10 @@ class CoreSliderErrorTextDirective {
72
72
  ngOnInit() {
73
73
  this.trackBindings();
74
74
  }
75
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
76
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
75
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
76
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
77
77
  }
78
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderErrorTextDirective, decorators: [{
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderErrorTextDirective, decorators: [{
79
79
  type: Directive
80
80
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
81
81
 
@@ -99,10 +99,10 @@ class CoreSliderHiddenInputDirective {
99
99
  ngOnInit() {
100
100
  this.trackBindings();
101
101
  }
102
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
103
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
102
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
103
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderHiddenInputDirective, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderHiddenInputDirective, decorators: [{
106
106
  type: Directive
107
107
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
108
108
 
@@ -124,10 +124,10 @@ class CoreSliderHintDirective {
124
124
  ngOnInit() {
125
125
  this.trackBindings();
126
126
  }
127
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
128
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
127
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
128
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
129
129
  }
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderHintDirective, decorators: [{
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderHintDirective, decorators: [{
131
131
  type: Directive
132
132
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
133
133
 
@@ -149,10 +149,10 @@ class CoreSliderLabelDirective {
149
149
  ngOnInit() {
150
150
  this.trackBindings();
151
151
  }
152
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
153
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
152
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
153
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
154
154
  }
155
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderLabelDirective, decorators: [{
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderLabelDirective, decorators: [{
156
156
  type: Directive
157
157
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
158
158
 
@@ -174,10 +174,10 @@ class CoreSliderMarkerGroupDirective {
174
174
  ngOnInit() {
175
175
  this.trackBindings();
176
176
  }
177
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMarkerGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
178
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderMarkerGroupDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
177
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMarkerGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
178
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderMarkerGroupDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
179
179
  }
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMarkerGroupDirective, decorators: [{
180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMarkerGroupDirective, decorators: [{
181
181
  type: Directive
182
182
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
183
183
 
@@ -204,10 +204,10 @@ class CoreSliderMarkerDirective {
204
204
  ngOnInit() {
205
205
  this.trackBindings();
206
206
  }
207
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMarkerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
208
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderMarkerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
207
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMarkerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
208
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderMarkerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
209
209
  }
210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMarkerDirective, decorators: [{
210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMarkerDirective, decorators: [{
211
211
  type: Directive
212
212
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
213
213
 
@@ -231,10 +231,10 @@ class CoreSliderMaxDirective {
231
231
  ngOnInit() {
232
232
  this.trackBindings();
233
233
  }
234
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMaxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
235
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderMaxDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
234
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMaxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
235
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderMaxDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
236
236
  }
237
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMaxDirective, decorators: [{
237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMaxDirective, decorators: [{
238
238
  type: Directive
239
239
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
240
240
 
@@ -256,10 +256,10 @@ class CoreSliderMinDirective {
256
256
  ngOnInit() {
257
257
  this.trackBindings();
258
258
  }
259
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMinDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
260
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderMinDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
259
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMinDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
260
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderMinDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
261
261
  }
262
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderMinDirective, decorators: [{
262
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderMinDirective, decorators: [{
263
263
  type: Directive
264
264
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
265
265
 
@@ -281,10 +281,10 @@ class CoreSliderRangeDirective {
281
281
  ngOnInit() {
282
282
  this.trackBindings();
283
283
  }
284
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
285
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderRangeDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
284
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
285
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderRangeDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
286
286
  }
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderRangeDirective, decorators: [{
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderRangeDirective, decorators: [{
288
288
  type: Directive
289
289
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
290
290
 
@@ -459,10 +459,10 @@ class CoreSliderRootDirective extends AbstractBaseListCollectionFormControlDirec
459
459
  this.sliderContextService.init(computed(() => createSliderApi(machine, normalizeProps)));
460
460
  this.trackBindings();
461
461
  }
462
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
463
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderRootDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, getAriaValueText: { classPropertyName: "getAriaValueText", publicName: "getAriaValueText", 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 }, minStepsBetweenThumbs: { classPropertyName: "minStepsBetweenThumbs", publicName: "minStepsBetweenThumbs", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, origin: { classPropertyName: "origin", publicName: "origin", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, thumbAlignment: { classPropertyName: "thumbAlignment", publicName: "thumbAlignment", isSignal: true, isRequired: false, transformFunction: null }, thumbSize: { classPropertyName: "thumbSize", publicName: "thumbSize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged", valueChangedEnd: "valueChangedEnd", focusChanged: "focusChanged" }, usesInheritance: true, ngImport: i0 });
462
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
463
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderRootDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, getAriaValueText: { classPropertyName: "getAriaValueText", publicName: "getAriaValueText", 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 }, minStepsBetweenThumbs: { classPropertyName: "minStepsBetweenThumbs", publicName: "minStepsBetweenThumbs", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, origin: { classPropertyName: "origin", publicName: "origin", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, thumbAlignment: { classPropertyName: "thumbAlignment", publicName: "thumbAlignment", isSignal: true, isRequired: false, transformFunction: null }, thumbSize: { classPropertyName: "thumbSize", publicName: "thumbSize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged", valueChangedEnd: "valueChangedEnd", focusChanged: "focusChanged" }, usesInheritance: true, ngImport: i0 });
464
464
  }
465
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderRootDirective, decorators: [{
465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderRootDirective, decorators: [{
466
466
  type: Directive
467
467
  }], propDecorators: { dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], getAriaValueText: [{ type: i0.Input, args: [{ isSignal: true, alias: "getAriaValueText", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], minStepsBetweenThumbs: [{ type: i0.Input, args: [{ isSignal: true, alias: "minStepsBetweenThumbs", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], origin: [{ type: i0.Input, args: [{ isSignal: true, alias: "origin", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], thumbAlignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "thumbAlignment", required: false }] }], thumbSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "thumbSize", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], valueChangedEnd: [{ type: i0.Output, args: ["valueChangedEnd"] }], focusChanged: [{ type: i0.Output, args: ["focusChanged"] }] } });
468
468
 
@@ -487,10 +487,10 @@ class CoreSliderThumbIndicatorDirective {
487
487
  ngOnInit() {
488
488
  this.trackBindings();
489
489
  }
490
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderThumbIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
491
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderThumbIndicatorDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
490
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderThumbIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
491
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderThumbIndicatorDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
492
492
  }
493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderThumbIndicatorDirective, decorators: [{
493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderThumbIndicatorDirective, decorators: [{
494
494
  type: Directive
495
495
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
496
496
 
@@ -527,10 +527,10 @@ class CoreSliderThumbDirective {
527
527
  })));
528
528
  this.trackBindings();
529
529
  }
530
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
531
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderThumbDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
530
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
531
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderThumbDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
532
532
  }
533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderThumbDirective, decorators: [{
533
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderThumbDirective, decorators: [{
534
534
  type: Directive
535
535
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: true }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }] } });
536
536
 
@@ -552,10 +552,10 @@ class CoreSliderTrackDirective {
552
552
  ngOnInit() {
553
553
  this.trackBindings();
554
554
  }
555
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
556
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderTrackDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
555
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
556
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderTrackDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
557
557
  }
558
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderTrackDirective, decorators: [{
558
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderTrackDirective, decorators: [{
559
559
  type: Directive
560
560
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
561
561
 
@@ -577,10 +577,10 @@ class CoreSliderValueTextDirective {
577
577
  ngOnInit() {
578
578
  this.trackBindings();
579
579
  }
580
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
581
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSliderValueTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
580
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
581
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSliderValueTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
582
582
  }
583
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSliderValueTextDirective, decorators: [{
583
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSliderValueTextDirective, decorators: [{
584
584
  type: Directive
585
585
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
586
586
 
@@ -11,10 +11,10 @@ import { switchMachine, createSwitchApi } from '@qualcomm-ui/core/switch';
11
11
  // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
12
12
  // SPDX-License-Identifier: BSD-3-Clause-Clear
13
13
  class SwitchContextService extends BaseApiContextService {
14
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchContextService });
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SwitchContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
15
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SwitchContextService });
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchContextService, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SwitchContextService, decorators: [{
18
18
  type: Injectable
19
19
  }] });
20
20
  const [SWITCH_CONTEXT, useSwitchContext, provideSwitchContext,] = createApiContext("SwitchContext", SwitchContextService);
@@ -27,10 +27,10 @@ class CoreSwitchControlDirective {
27
27
  ngOnInit() {
28
28
  this.trackBindings();
29
29
  }
30
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: CoreSwitchControlDirective, isStandalone: true, ngImport: i0 });
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
31
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreSwitchControlDirective, isStandalone: true, ngImport: i0 });
32
32
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchControlDirective, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchControlDirective, decorators: [{
34
34
  type: Directive
35
35
  }] });
36
36
 
@@ -52,10 +52,35 @@ class CoreSwitchErrorTextDirective {
52
52
  ngOnInit() {
53
53
  this.trackBindings();
54
54
  }
55
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
56
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSwitchErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
55
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
56
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSwitchErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
57
57
  }
58
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchErrorTextDirective, decorators: [{
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchErrorTextDirective, decorators: [{
59
+ type: Directive
60
+ }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
61
+
62
+ // Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
63
+ // SPDX-License-Identifier: BSD-3-Clause-Clear
64
+ class CoreSwitchHintDirective {
65
+ /**
66
+ * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
67
+ * omitted, a unique identifier will be generated for accessibility.
68
+ */
69
+ id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
70
+ switchContext = useSwitchContext();
71
+ trackBindings = useTrackBindings(() => this.switchContext().getHintBindings({
72
+ id: this.hostId(),
73
+ onDestroy: this.onDestroy,
74
+ }));
75
+ hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
76
+ onDestroy = useOnDestroy();
77
+ ngOnInit() {
78
+ this.trackBindings();
79
+ }
80
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
81
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSwitchHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
82
+ }
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchHintDirective, decorators: [{
59
84
  type: Directive
60
85
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
61
86
 
@@ -77,10 +102,10 @@ class CoreSwitchHiddenInputDirective {
77
102
  ngOnInit() {
78
103
  this.trackBindings();
79
104
  }
80
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
81
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSwitchHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
105
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
106
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSwitchHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
82
107
  }
83
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchHiddenInputDirective, decorators: [{
108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchHiddenInputDirective, decorators: [{
84
109
  type: Directive
85
110
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
86
111
 
@@ -102,10 +127,10 @@ class CoreSwitchLabelDirective {
102
127
  ngOnInit() {
103
128
  this.trackBindings();
104
129
  }
105
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
106
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSwitchLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
130
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
131
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSwitchLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
107
132
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchLabelDirective, decorators: [{
133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchLabelDirective, decorators: [{
109
134
  type: Directive
110
135
  }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
111
136
 
@@ -181,10 +206,10 @@ class CoreSwitchRootDirective extends AbstractCheckboxFormControlDirective {
181
206
  this.switchContextService.init(computed(() => createSwitchApi(machine, normalizeProps)));
182
207
  this.trackBindings();
183
208
  }
184
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
185
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: CoreSwitchRootDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", 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: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
209
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
210
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.16", type: CoreSwitchRootDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", 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: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
186
211
  }
187
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchRootDirective, decorators: [{
212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchRootDirective, decorators: [{
188
213
  type: Directive
189
214
  }], propDecorators: { dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
190
215
 
@@ -196,10 +221,10 @@ class CoreSwitchThumbDirective {
196
221
  ngOnInit() {
197
222
  this.trackBindings();
198
223
  }
199
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
200
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: CoreSwitchThumbDirective, isStandalone: true, ngImport: i0 });
224
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
225
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.16", type: CoreSwitchThumbDirective, isStandalone: true, ngImport: i0 });
201
226
  }
202
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: CoreSwitchThumbDirective, decorators: [{
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: CoreSwitchThumbDirective, decorators: [{
203
228
  type: Directive
204
229
  }] });
205
230
 
@@ -207,5 +232,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImpo
207
232
  * Generated bundle index. Do not edit.
208
233
  */
209
234
 
210
- export { CoreSwitchControlDirective, CoreSwitchErrorTextDirective, CoreSwitchHiddenInputDirective, CoreSwitchLabelDirective, CoreSwitchRootDirective, CoreSwitchThumbDirective, SWITCH_CONTEXT, SwitchContextService, provideSwitchContext, useSwitchContext };
235
+ export { CoreSwitchControlDirective, CoreSwitchErrorTextDirective, CoreSwitchHiddenInputDirective, CoreSwitchHintDirective, CoreSwitchLabelDirective, CoreSwitchRootDirective, CoreSwitchThumbDirective, SWITCH_CONTEXT, SwitchContextService, provideSwitchContext, useSwitchContext };
211
236
  //# sourceMappingURL=qualcomm-ui-angular-core-switch.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"qualcomm-ui-angular-core-switch.mjs","sources":["../../src/switch/switch-context.service.ts","../../src/switch/core-switch-control.directive.ts","../../src/switch/core-switch-error-text.directive.ts","../../src/switch/core-switch-hidden-input.directive.ts","../../src/switch/core-switch-label.directive.ts","../../src/switch/core-switch-root.directive.ts","../../src/switch/core-switch-thumb.directive.ts","../../src/switch/qualcomm-ui-angular-core-switch.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 {SwitchApi} from \"@qualcomm-ui/core/switch\"\n\n@Injectable()\nexport class SwitchContextService extends BaseApiContextService<SwitchApi> {}\n\nexport const [\n SWITCH_CONTEXT,\n useSwitchContext,\n provideSwitchContext,\n]: ApiContext<SwitchApi> = createApiContext<SwitchApi>(\n \"SwitchContext\",\n SwitchContextService,\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchControlDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getControlBindings(),\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\"\n\nimport {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchErrorTextDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getErrorTextBindings({\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHiddenInputDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHiddenInputBindings({\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchLabelDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getLabelBindings({\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {AbstractCheckboxFormControlDirective} from \"@qualcomm-ui/angular-core/checkbox\"\nimport {useId} 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 {type CheckboxApiProps} from \"@qualcomm-ui/core/checkbox\"\nimport {\n createSwitchApi,\n type SwitchApiProps,\n switchMachine,\n} from \"@qualcomm-ui/core/switch\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {SwitchContextService} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\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 * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = 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 | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly switchContextService = inject(SwitchContextService)\n protected readonly document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n switchMachine,\n computed<Explicit<SwitchApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.control?.markAsTouched?.()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger on blur to prevent immediate validation, which would\n // occur as soon as the user interacts with the field.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.switchContextService.init(\n computed(() => createSwitchApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchThumbDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getThumbBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n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AI,CAAC,aAAa,EAAE,CAAC,gBAAgB,EAAE,CACxC;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGATW,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"qualcomm-ui-angular-core-switch.mjs","sources":["../../src/switch/switch-context.service.ts","../../src/switch/core-switch-control.directive.ts","../../src/switch/core-switch-error-text.directive.ts","../../src/switch/core-switch-hint.directive.ts","../../src/switch/core-switch-hidden-input.directive.ts","../../src/switch/core-switch-label.directive.ts","../../src/switch/core-switch-root.directive.ts","../../src/switch/core-switch-thumb.directive.ts","../../src/switch/qualcomm-ui-angular-core-switch.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 {SwitchApi} from \"@qualcomm-ui/core/switch\"\n\n@Injectable()\nexport class SwitchContextService extends BaseApiContextService<SwitchApi> {}\n\nexport const [\n SWITCH_CONTEXT,\n useSwitchContext,\n provideSwitchContext,\n]: ApiContext<SwitchApi> = createApiContext<SwitchApi>(\n \"SwitchContext\",\n SwitchContextService,\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchControlDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getControlBindings(),\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\"\n\nimport {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchErrorTextDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getErrorTextBindings({\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHintDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHintBindings({\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHiddenInputDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHiddenInputBindings({\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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchLabelDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getLabelBindings({\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 {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {AbstractCheckboxFormControlDirective} from \"@qualcomm-ui/angular-core/checkbox\"\nimport {useId} 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 {type CheckboxApiProps} from \"@qualcomm-ui/core/checkbox\"\nimport {\n createSwitchApi,\n type SwitchApiProps,\n switchMachine,\n} from \"@qualcomm-ui/core/switch\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {SwitchContextService} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\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 * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = 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 | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly switchContextService = inject(SwitchContextService)\n protected readonly document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n switchMachine,\n computed<Explicit<SwitchApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.control?.markAsTouched?.()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger on blur to prevent immediate validation, which would\n // occur as soon as the user interacts with the field.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.switchContextService.init(\n computed(() => createSwitchApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchThumbDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getThumbBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;AACA;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