@qualcomm-ui/angular 1.9.0 → 1.9.2
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/fesm2022/qualcomm-ui-angular-accordion.mjs +37 -37
- package/fesm2022/qualcomm-ui-angular-action-group.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-avatar.mjs +19 -19
- package/fesm2022/qualcomm-ui-angular-badge.mjs +12 -12
- package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs +25 -25
- package/fesm2022/qualcomm-ui-angular-button.mjs +25 -25
- package/fesm2022/qualcomm-ui-angular-checkbox.mjs +28 -28
- package/fesm2022/qualcomm-ui-angular-checkmark.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-collapsible.mjs +13 -13
- package/fesm2022/qualcomm-ui-angular-combobox.mjs +73 -73
- package/fesm2022/qualcomm-ui-angular-dialog.mjs +49 -49
- package/fesm2022/qualcomm-ui-angular-divider.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-drawer.mjs +49 -49
- package/fesm2022/qualcomm-ui-angular-header-bar.mjs +40 -40
- package/fesm2022/qualcomm-ui-angular-icon.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-inline-notification.mjs +28 -28
- package/fesm2022/qualcomm-ui-angular-input.mjs +15 -15
- package/fesm2022/qualcomm-ui-angular-kbd.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-link.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-menu.mjs +61 -61
- package/fesm2022/qualcomm-ui-angular-number-input.mjs +40 -40
- package/fesm2022/qualcomm-ui-angular-pagination.mjs +37 -37
- package/fesm2022/qualcomm-ui-angular-password-input.mjs +34 -34
- package/fesm2022/qualcomm-ui-angular-popover.mjs +40 -40
- package/fesm2022/qualcomm-ui-angular-progress-ring.mjs +37 -37
- package/fesm2022/qualcomm-ui-angular-progress.mjs +34 -34
- package/fesm2022/qualcomm-ui-angular-radio.mjs +34 -34
- package/fesm2022/qualcomm-ui-angular-segmented-control.mjs +22 -22
- package/fesm2022/qualcomm-ui-angular-select.mjs +61 -61
- package/fesm2022/qualcomm-ui-angular-side-nav.mjs +82 -82
- package/fesm2022/qualcomm-ui-angular-slider.mjs +61 -61
- package/fesm2022/qualcomm-ui-angular-switch.mjs +28 -28
- package/fesm2022/qualcomm-ui-angular-table.mjs +91 -91
- package/fesm2022/qualcomm-ui-angular-tabs.mjs +31 -31
- package/fesm2022/qualcomm-ui-angular-tag.mjs +6 -6
- package/fesm2022/qualcomm-ui-angular-text-input.mjs +31 -31
- package/fesm2022/qualcomm-ui-angular-theme.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-toast.mjs +37 -37
- package/fesm2022/qualcomm-ui-angular-tooltip.mjs +31 -31
- package/fesm2022/qualcomm-ui-angular-transitions.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-tree.mjs +58 -58
- package/package.json +11 -11
|
@@ -8,10 +8,10 @@ import { CommonModule } from '@angular/common';
|
|
|
8
8
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
9
9
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
10
10
|
class QdsSliderContextService extends BaseApiContextService {
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
11
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSliderContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
12
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSliderContextService });
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSliderContextService, decorators: [{
|
|
15
15
|
type: Injectable
|
|
16
16
|
}] });
|
|
17
17
|
const [QDS_SLIDER_CONTEXT, useQdsSliderContext, provideQdsSliderContext,] = createApiContext("QdsSliderContext", QdsSliderContextService);
|
|
@@ -24,10 +24,10 @@ class SliderControlDirective extends CoreSliderControlDirective {
|
|
|
24
24
|
super();
|
|
25
25
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getControlBindings()));
|
|
26
26
|
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
28
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderControlDirective, isStandalone: false, selector: "[q-slider-control]", usesInheritance: true, ngImport: i0 });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderControlDirective, decorators: [{
|
|
31
31
|
type: Directive,
|
|
32
32
|
args: [{
|
|
33
33
|
selector: "[q-slider-control]",
|
|
@@ -43,10 +43,10 @@ class SliderErrorTextDirective extends CoreSliderErrorTextDirective {
|
|
|
43
43
|
super();
|
|
44
44
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getErrorTextBindings()));
|
|
45
45
|
}
|
|
46
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
47
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
46
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
47
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderErrorTextDirective, isStandalone: false, selector: "[q-slider-error-text]", usesInheritance: true, ngImport: i0 });
|
|
48
48
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderErrorTextDirective, decorators: [{
|
|
50
50
|
type: Directive,
|
|
51
51
|
args: [{
|
|
52
52
|
selector: "[q-slider-error-text]",
|
|
@@ -62,10 +62,10 @@ class SliderHiddenInputDirective extends CoreSliderHiddenInputDirective {
|
|
|
62
62
|
super();
|
|
63
63
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getHiddenInputBindings()));
|
|
64
64
|
}
|
|
65
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
66
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderHiddenInputDirective, isStandalone: false, selector: "[q-slider-hidden-input]", usesInheritance: true, ngImport: i0 });
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderHiddenInputDirective, decorators: [{
|
|
69
69
|
type: Directive,
|
|
70
70
|
args: [{
|
|
71
71
|
selector: "[q-slider-hidden-input]",
|
|
@@ -81,10 +81,10 @@ class SliderHintDirective extends CoreSliderHintDirective {
|
|
|
81
81
|
super();
|
|
82
82
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getHintBindings()));
|
|
83
83
|
}
|
|
84
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
85
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
84
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
85
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderHintDirective, isStandalone: false, selector: "[q-slider-hint]", usesInheritance: true, ngImport: i0 });
|
|
86
86
|
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderHintDirective, decorators: [{
|
|
88
88
|
type: Directive,
|
|
89
89
|
args: [{
|
|
90
90
|
selector: "[q-slider-hint]",
|
|
@@ -100,10 +100,10 @@ class SliderLabelDirective extends CoreSliderLabelDirective {
|
|
|
100
100
|
super();
|
|
101
101
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getLabelBindings()));
|
|
102
102
|
}
|
|
103
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
104
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
104
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderLabelDirective, isStandalone: false, selector: "[q-slider-label]", usesInheritance: true, ngImport: i0 });
|
|
105
105
|
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderLabelDirective, decorators: [{
|
|
107
107
|
type: Directive,
|
|
108
108
|
args: [{
|
|
109
109
|
selector: "[q-slider-label]",
|
|
@@ -119,10 +119,10 @@ class SliderMarkerGroupDirective extends CoreSliderMarkerGroupDirective {
|
|
|
119
119
|
super();
|
|
120
120
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMarkerGroupBindings()));
|
|
121
121
|
}
|
|
122
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
123
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
122
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMarkerGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
123
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderMarkerGroupDirective, isStandalone: false, selector: "[q-slider-marker-group]", usesInheritance: true, ngImport: i0 });
|
|
124
124
|
}
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMarkerGroupDirective, decorators: [{
|
|
126
126
|
type: Directive,
|
|
127
127
|
args: [{
|
|
128
128
|
selector: "[q-slider-marker-group]",
|
|
@@ -138,10 +138,10 @@ class SliderMarkerDirective extends CoreSliderMarkerDirective {
|
|
|
138
138
|
super();
|
|
139
139
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMarkerBindings()));
|
|
140
140
|
}
|
|
141
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
142
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
141
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMarkerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
142
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderMarkerDirective, isStandalone: false, selector: "[q-slider-marker]", usesInheritance: true, ngImport: i0 });
|
|
143
143
|
}
|
|
144
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMarkerDirective, decorators: [{
|
|
145
145
|
type: Directive,
|
|
146
146
|
args: [{
|
|
147
147
|
selector: "[q-slider-marker]",
|
|
@@ -165,8 +165,8 @@ class SliderMarkersComponent {
|
|
|
165
165
|
? marks
|
|
166
166
|
: this.sliderContext().getDefaultMarks();
|
|
167
167
|
}, ...(ngDevMode ? [{ debugName: "markerValues" }] : []));
|
|
168
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
169
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
168
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMarkersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
169
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: SliderMarkersComponent, isStandalone: false, selector: "q-slider-markers", inputs: { marks: { classPropertyName: "marks", publicName: "marks", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
170
170
|
<div q-slider-marker-group>
|
|
171
171
|
@for (mark of markerValues(); track mark) {
|
|
172
172
|
<span q-slider-marker [value]="mark">{{ mark }}</span>
|
|
@@ -174,7 +174,7 @@ class SliderMarkersComponent {
|
|
|
174
174
|
</div>
|
|
175
175
|
`, isInline: true, dependencies: [{ kind: "directive", type: SliderMarkerGroupDirective, selector: "[q-slider-marker-group]" }, { kind: "directive", type: SliderMarkerDirective, selector: "[q-slider-marker]" }] });
|
|
176
176
|
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMarkersComponent, decorators: [{
|
|
178
178
|
type: Component,
|
|
179
179
|
args: [{
|
|
180
180
|
selector: "q-slider-markers",
|
|
@@ -197,10 +197,10 @@ class SliderMaxDirective extends CoreSliderMaxDirective {
|
|
|
197
197
|
super();
|
|
198
198
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMinMaxMarkerBindings()));
|
|
199
199
|
}
|
|
200
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
201
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
200
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMaxDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
201
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: SliderMaxDirective, isStandalone: false, selector: "[q-slider-max]", usesInheritance: true, ngImport: i0, template: "{{ this.sliderContext().max }}", isInline: true });
|
|
202
202
|
}
|
|
203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
203
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMaxDirective, decorators: [{
|
|
204
204
|
type: Component,
|
|
205
205
|
args: [{
|
|
206
206
|
selector: "[q-slider-max]",
|
|
@@ -217,10 +217,10 @@ class SliderMinDirective extends CoreSliderMinDirective {
|
|
|
217
217
|
super();
|
|
218
218
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMinMaxMarkerBindings()));
|
|
219
219
|
}
|
|
220
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
221
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
220
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMinDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
221
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: SliderMinDirective, isStandalone: false, selector: "[q-slider-min]", usesInheritance: true, ngImport: i0, template: "{{ this.sliderContext().min }}", isInline: true });
|
|
222
222
|
}
|
|
223
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderMinDirective, decorators: [{
|
|
224
224
|
type: Component,
|
|
225
225
|
args: [{
|
|
226
226
|
selector: "[q-slider-min]",
|
|
@@ -237,10 +237,10 @@ class SliderRangeDirective extends CoreSliderRangeDirective {
|
|
|
237
237
|
super();
|
|
238
238
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getRangeBindings()));
|
|
239
239
|
}
|
|
240
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
241
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
240
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
241
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderRangeDirective, isStandalone: false, selector: "[q-slider-range]", usesInheritance: true, ngImport: i0 });
|
|
242
242
|
}
|
|
243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
243
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderRangeDirective, decorators: [{
|
|
244
244
|
type: Directive,
|
|
245
245
|
args: [{
|
|
246
246
|
selector: "[q-slider-range]",
|
|
@@ -265,10 +265,10 @@ class SliderRootDirective extends CoreSliderRootDirective {
|
|
|
265
265
|
this.qdsSliderService.init(computed(() => createQdsSliderApi({ size: this.size(), variant: this.variant() }, normalizeProps)));
|
|
266
266
|
this.trackBindings.extendWith(computed(() => this.qdsSliderService.context().getRootBindings()));
|
|
267
267
|
}
|
|
268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
269
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
268
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
269
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: SliderRootDirective, isStandalone: false, selector: "[q-slider-root]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideSliderContext(), provideQdsSliderContext()], usesInheritance: true, ngImport: i0 });
|
|
270
270
|
}
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderRootDirective, decorators: [{
|
|
272
272
|
type: Directive,
|
|
273
273
|
args: [{
|
|
274
274
|
providers: [provideSliderContext(), provideQdsSliderContext()],
|
|
@@ -296,10 +296,10 @@ class SliderThumbIndicatorDirective extends CoreSliderThumbIndicatorDirective {
|
|
|
296
296
|
super();
|
|
297
297
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getThumbIndicatorBindings()));
|
|
298
298
|
}
|
|
299
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
300
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
299
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
300
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.15", type: SliderThumbIndicatorDirective, isStandalone: false, selector: "[q-slider-thumb-indicator]", inputs: { display: { classPropertyName: "display", publicName: "display", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "{{valueText()}}", isInline: true });
|
|
301
301
|
}
|
|
302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbIndicatorDirective, decorators: [{
|
|
303
303
|
type: Component,
|
|
304
304
|
args: [{
|
|
305
305
|
selector: "[q-slider-thumb-indicator]",
|
|
@@ -316,10 +316,10 @@ class SliderThumbDirective extends CoreSliderThumbDirective {
|
|
|
316
316
|
super();
|
|
317
317
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getThumbBindings()));
|
|
318
318
|
}
|
|
319
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
320
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
319
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
320
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderThumbDirective, isStandalone: false, selector: "[q-slider-thumb]", providers: [provideSliderThumbContext()], usesInheritance: true, ngImport: i0 });
|
|
321
321
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbDirective, decorators: [{
|
|
323
323
|
type: Directive,
|
|
324
324
|
args: [{
|
|
325
325
|
providers: [provideSliderThumbContext()],
|
|
@@ -339,8 +339,8 @@ class SliderThumbsComponent {
|
|
|
339
339
|
}]));
|
|
340
340
|
sliderContext = useSliderContext();
|
|
341
341
|
thumbs = computed(() => this.sliderContext().value.map((_, idx) => idx), ...(ngDevMode ? [{ debugName: "thumbs" }] : []));
|
|
342
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
343
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
342
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
343
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: SliderThumbsComponent, isStandalone: false, selector: "q-slider-thumbs", inputs: { tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
344
344
|
@for (idx of thumbs(); track idx) {
|
|
345
345
|
<div q-slider-thumb [index]="idx">
|
|
346
346
|
<input q-slider-hidden-input />
|
|
@@ -351,7 +351,7 @@ class SliderThumbsComponent {
|
|
|
351
351
|
}
|
|
352
352
|
`, isInline: true, dependencies: [{ kind: "directive", type: SliderThumbDirective, selector: "[q-slider-thumb]" }, { kind: "directive", type: SliderHiddenInputDirective, selector: "[q-slider-hidden-input]" }, { kind: "component", type: SliderThumbIndicatorDirective, selector: "[q-slider-thumb-indicator]", inputs: ["display"] }] });
|
|
353
353
|
}
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderThumbsComponent, decorators: [{
|
|
355
355
|
type: Component,
|
|
356
356
|
args: [{
|
|
357
357
|
selector: "q-slider-thumbs",
|
|
@@ -377,10 +377,10 @@ class SliderTrackDirective extends CoreSliderTrackDirective {
|
|
|
377
377
|
super();
|
|
378
378
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getTrackBindings()));
|
|
379
379
|
}
|
|
380
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
381
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
380
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
381
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SliderTrackDirective, isStandalone: false, selector: "[q-slider-track]", usesInheritance: true, ngImport: i0 });
|
|
382
382
|
}
|
|
383
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderTrackDirective, decorators: [{
|
|
384
384
|
type: Directive,
|
|
385
385
|
args: [{
|
|
386
386
|
selector: "[q-slider-track]",
|
|
@@ -414,10 +414,10 @@ class SliderValueTextDirective extends CoreSliderValueTextDirective {
|
|
|
414
414
|
super();
|
|
415
415
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getValueTextBindings()));
|
|
416
416
|
}
|
|
417
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
418
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
417
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
418
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.15", type: SliderValueTextDirective, isStandalone: false, selector: "[q-slider-value-text]", inputs: { display: { classPropertyName: "display", publicName: "display", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: "{{valueText()}}", isInline: true });
|
|
419
419
|
}
|
|
420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderValueTextDirective, decorators: [{
|
|
421
421
|
type: Component,
|
|
422
422
|
args: [{
|
|
423
423
|
selector: "[q-slider-value-text]",
|
|
@@ -465,8 +465,8 @@ class SliderComponent extends SliderRootDirective {
|
|
|
465
465
|
*/
|
|
466
466
|
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : []));
|
|
467
467
|
sliderContext = useSliderContext();
|
|
468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
469
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
468
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
469
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: SliderComponent, isStandalone: false, selector: "q-slider", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, sideMarkers: { classPropertyName: "sideMarkers", publicName: "sideMarkers", isSignal: true, isRequired: false, transformFunction: null }, marks: { classPropertyName: "marks", publicName: "marks", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, display: { classPropertyName: "display", publicName: "display", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideSliderContext(), provideQdsSliderContext()], usesInheritance: true, ngImport: i0, template: `
|
|
470
470
|
<ng-content select="[q-slider-label]">
|
|
471
471
|
@if (label()) {
|
|
472
472
|
<label q-slider-label>
|
|
@@ -518,7 +518,7 @@ class SliderComponent extends SliderRootDirective {
|
|
|
518
518
|
</ng-content>
|
|
519
519
|
`, isInline: true, dependencies: [{ kind: "directive", type: SliderLabelDirective, selector: "[q-slider-label]" }, { kind: "component", type: SliderValueTextDirective, selector: "[q-slider-value-text]", inputs: ["display"] }, { kind: "directive", type: SliderControlDirective, selector: "[q-slider-control]" }, { kind: "directive", type: SliderTrackDirective, selector: "[q-slider-track]" }, { kind: "directive", type: SliderRangeDirective, selector: "[q-slider-range]" }, { kind: "directive", type: SliderHintDirective, selector: "[q-slider-hint]" }, { kind: "directive", type: SliderErrorTextDirective, selector: "[q-slider-error-text]" }, { kind: "component", type: SliderMinDirective, selector: "[q-slider-min]" }, { kind: "component", type: SliderMaxDirective, selector: "[q-slider-max]" }, { kind: "component", type: SliderThumbsComponent, selector: "q-slider-thumbs", inputs: ["tooltip"] }, { kind: "component", type: SliderMarkersComponent, selector: "q-slider-markers", inputs: ["marks"] }] });
|
|
520
520
|
}
|
|
521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderComponent, decorators: [{
|
|
522
522
|
type: Component,
|
|
523
523
|
args: [{
|
|
524
524
|
providers: [provideSliderContext(), provideQdsSliderContext()],
|
|
@@ -581,8 +581,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
581
581
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
582
582
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
583
583
|
class SliderModule {
|
|
584
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
585
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
584
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
585
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: SliderModule, declarations: [SliderRootDirective,
|
|
586
586
|
SliderLabelDirective,
|
|
587
587
|
SliderValueTextDirective,
|
|
588
588
|
SliderControlDirective,
|
|
@@ -617,9 +617,9 @@ class SliderModule {
|
|
|
617
617
|
SliderThumbIndicatorDirective,
|
|
618
618
|
SliderThumbsComponent,
|
|
619
619
|
SliderMarkersComponent] });
|
|
620
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
620
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderModule, imports: [CommonModule] });
|
|
621
621
|
}
|
|
622
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
622
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SliderModule, decorators: [{
|
|
623
623
|
type: NgModule,
|
|
624
624
|
args: [{
|
|
625
625
|
declarations: [
|
|
@@ -13,10 +13,10 @@ import { createQdsSwitchApi } from '@qualcomm-ui/qds-core/switch';
|
|
|
13
13
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
14
14
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
15
15
|
class QdsSwitchContextService extends BaseApiContextService {
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
17
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSwitchContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSwitchContextService });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: QdsSwitchContextService, decorators: [{
|
|
20
20
|
type: Injectable
|
|
21
21
|
}] });
|
|
22
22
|
const [QDS_SWITCH_CONTEXT, useQdsSwitchContext, provideQdsSwitchContext,] = createApiContext("QdsSwitchContext", QdsSwitchContextService);
|
|
@@ -29,10 +29,10 @@ class SwitchThumbDirective extends CoreSwitchThumbDirective {
|
|
|
29
29
|
super();
|
|
30
30
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getThumbBindings()));
|
|
31
31
|
}
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
33
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SwitchThumbDirective, isStandalone: false, selector: "[q-switch-thumb]", usesInheritance: true, hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0 });
|
|
34
34
|
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchThumbDirective, decorators: [{
|
|
36
36
|
type: Directive,
|
|
37
37
|
args: [{
|
|
38
38
|
hostDirectives: [QuiPreloadDirective],
|
|
@@ -49,14 +49,14 @@ class SwitchControlComponent extends CoreSwitchControlDirective {
|
|
|
49
49
|
super();
|
|
50
50
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getControlBindings()));
|
|
51
51
|
}
|
|
52
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
53
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
52
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
53
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.15", type: SwitchControlComponent, isStandalone: false, selector: "[q-switch-control]", usesInheritance: true, hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0, template: `
|
|
54
54
|
<ng-content>
|
|
55
55
|
<span q-switch-thumb></span>
|
|
56
56
|
</ng-content>
|
|
57
57
|
`, isInline: true, dependencies: [{ kind: "directive", type: SwitchThumbDirective, selector: "[q-switch-thumb]" }] });
|
|
58
58
|
}
|
|
59
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchControlComponent, decorators: [{
|
|
60
60
|
type: Component,
|
|
61
61
|
args: [{
|
|
62
62
|
hostDirectives: [QuiPreloadDirective],
|
|
@@ -84,13 +84,13 @@ class SwitchErrorTextComponent extends CoreSwitchErrorTextDirective {
|
|
|
84
84
|
super();
|
|
85
85
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getErrorTextBindings()));
|
|
86
86
|
}
|
|
87
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
88
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.
|
|
87
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchErrorTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
88
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.15", type: SwitchErrorTextComponent, isStandalone: false, selector: "[q-switch-error-text]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
89
89
|
<svg [qIcon]="icon()!" />
|
|
90
90
|
<ng-content />
|
|
91
91
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
|
|
92
92
|
}
|
|
93
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchErrorTextComponent, decorators: [{
|
|
94
94
|
type: Component,
|
|
95
95
|
args: [{
|
|
96
96
|
selector: "[q-switch-error-text]",
|
|
@@ -114,10 +114,10 @@ class SwitchHiddenInputDirective extends CoreSwitchHiddenInputDirective {
|
|
|
114
114
|
rootDirective: "q-switch",
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
118
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
118
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SwitchHiddenInputDirective, isStandalone: false, selector: "[q-switch-hidden-input]", usesInheritance: true, ngImport: i0 });
|
|
119
119
|
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchHiddenInputDirective, decorators: [{
|
|
121
121
|
type: Directive,
|
|
122
122
|
args: [{
|
|
123
123
|
selector: "[q-switch-hidden-input]",
|
|
@@ -133,10 +133,10 @@ class SwitchLabelDirective extends CoreSwitchLabelDirective {
|
|
|
133
133
|
super();
|
|
134
134
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getLabelBindings()));
|
|
135
135
|
}
|
|
136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
137
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
137
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.15", type: SwitchLabelDirective, isStandalone: false, selector: "[q-switch-label]", usesInheritance: true, ngImport: i0 });
|
|
138
138
|
}
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchLabelDirective, decorators: [{
|
|
140
140
|
type: Directive,
|
|
141
141
|
args: [{
|
|
142
142
|
selector: "[q-switch-label]",
|
|
@@ -159,10 +159,10 @@ class SwitchRootDirective extends CoreSwitchRootDirective {
|
|
|
159
159
|
this.qdsSwitchService.init(computed(() => createQdsSwitchApi({ size: this.size() }, normalizeProps)));
|
|
160
160
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchService.context().getRootBindings()));
|
|
161
161
|
}
|
|
162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
163
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.
|
|
162
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
163
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.15", type: SwitchRootDirective, isStandalone: false, selector: "[q-switch-root]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideSwitchContext(), provideQdsSwitchContext()], usesInheritance: true, ngImport: i0 });
|
|
164
164
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchRootDirective, decorators: [{
|
|
166
166
|
type: Directive,
|
|
167
167
|
args: [{
|
|
168
168
|
providers: [provideSwitchContext(), provideQdsSwitchContext()],
|
|
@@ -202,8 +202,8 @@ class SwitchComponent extends SwitchRootDirective {
|
|
|
202
202
|
* ```
|
|
203
203
|
*/
|
|
204
204
|
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
205
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
206
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
206
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.15", type: SwitchComponent, isStandalone: false, selector: "[q-switch]", inputs: { errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideSwitchContext(), provideQdsSwitchContext()], usesInheritance: true, ngImport: i0, template: `
|
|
207
207
|
<ng-content select="[q-switch-hidden-input]">
|
|
208
208
|
<input q-switch-hidden-input />
|
|
209
209
|
</ng-content>
|
|
@@ -228,7 +228,7 @@ class SwitchComponent extends SwitchRootDirective {
|
|
|
228
228
|
</ng-content>
|
|
229
229
|
`, isInline: true, dependencies: [{ kind: "component", type: SwitchControlComponent, selector: "[q-switch-control]" }, { kind: "directive", type: SwitchLabelDirective, selector: "[q-switch-label]" }, { kind: "directive", type: SwitchHiddenInputDirective, selector: "[q-switch-hidden-input]" }, { kind: "directive", type: SwitchThumbDirective, selector: "[q-switch-thumb]" }, { kind: "component", type: SwitchErrorTextComponent, selector: "[q-switch-error-text]", inputs: ["icon"] }] });
|
|
230
230
|
}
|
|
231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
232
232
|
type: Component,
|
|
233
233
|
args: [{
|
|
234
234
|
providers: [provideSwitchContext(), provideQdsSwitchContext()],
|
|
@@ -264,8 +264,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
264
264
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
265
265
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
266
266
|
class SwitchModule {
|
|
267
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
268
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
268
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.15", ngImport: i0, type: SwitchModule, declarations: [SwitchComponent,
|
|
269
269
|
SwitchRootDirective,
|
|
270
270
|
SwitchControlComponent,
|
|
271
271
|
SwitchLabelDirective,
|
|
@@ -278,9 +278,9 @@ class SwitchModule {
|
|
|
278
278
|
SwitchHiddenInputDirective,
|
|
279
279
|
SwitchThumbDirective,
|
|
280
280
|
SwitchErrorTextComponent] });
|
|
281
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
281
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchModule });
|
|
282
282
|
}
|
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.15", ngImport: i0, type: SwitchModule, decorators: [{
|
|
284
284
|
type: NgModule,
|
|
285
285
|
args: [{
|
|
286
286
|
declarations: [
|