@qualcomm-ui/angular 2.0.0 → 2.0.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-alert-banner.mjs +28 -28
- 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-group.mjs +7 -7
- package/fesm2022/qualcomm-ui-angular-checkbox.mjs +31 -31
- 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-field-group.mjs +22 -22
- 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 +64 -64
- package/fesm2022/qualcomm-ui-angular-number-input.mjs +43 -43
- 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 +43 -43
- 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 +40 -40
- package/fesm2022/qualcomm-ui-angular-segmented-control.mjs +22 -22
- package/fesm2022/qualcomm-ui-angular-select.mjs +64 -64
- package/fesm2022/qualcomm-ui-angular-side-nav.mjs +86 -85
- package/fesm2022/qualcomm-ui-angular-side-nav.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-slider.mjs +61 -61
- package/fesm2022/qualcomm-ui-angular-switch-group.mjs +7 -7
- package/fesm2022/qualcomm-ui-angular-switch.mjs +31 -31
- 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-area.mjs +28 -28
- 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 +5 -5
- package/types/qualcomm-ui-angular-side-nav.d.ts +2 -0
- package/types/qualcomm-ui-angular-side-nav.d.ts.map +1 -1
|
@@ -11,10 +11,10 @@ import { CommonModule } from '@angular/common';
|
|
|
11
11
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
12
12
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
13
13
|
class QdsSliderContextService extends BaseApiContextService {
|
|
14
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
15
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsSliderContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsSliderContextService });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsSliderContextService, decorators: [{
|
|
18
18
|
type: Injectable
|
|
19
19
|
}] });
|
|
20
20
|
const [QDS_SLIDER_CONTEXT, useQdsSliderContext, provideQdsSliderContext,] = createApiContext("QdsSliderContext", QdsSliderContextService);
|
|
@@ -27,10 +27,10 @@ class SliderControlDirective extends CoreSliderControlDirective {
|
|
|
27
27
|
super();
|
|
28
28
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getControlBindings()));
|
|
29
29
|
}
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
31
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderControlDirective, isStandalone: false, selector: "[q-slider-control]", usesInheritance: true, ngImport: i0 });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderControlDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: "[q-slider-control]",
|
|
@@ -52,13 +52,13 @@ class SliderErrorTextDirective extends CoreSliderErrorTextDirective {
|
|
|
52
52
|
super();
|
|
53
53
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getErrorTextBindings()));
|
|
54
54
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", type: SliderErrorTextDirective, isStandalone: false, selector: "[q-slider-error-text]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
57
57
|
<svg [qIcon]="icon()!" />
|
|
58
58
|
<ng-content />
|
|
59
59
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
|
|
60
60
|
}
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderErrorTextDirective, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{
|
|
64
64
|
selector: "[q-slider-error-text]",
|
|
@@ -78,10 +78,10 @@ class SliderHiddenInputDirective extends CoreSliderHiddenInputDirective {
|
|
|
78
78
|
super();
|
|
79
79
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getHiddenInputBindings()));
|
|
80
80
|
}
|
|
81
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
82
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
81
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
82
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderHiddenInputDirective, isStandalone: false, selector: "[q-slider-hidden-input]", usesInheritance: true, ngImport: i0 });
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderHiddenInputDirective, decorators: [{
|
|
85
85
|
type: Directive,
|
|
86
86
|
args: [{
|
|
87
87
|
selector: "[q-slider-hidden-input]",
|
|
@@ -97,10 +97,10 @@ class SliderHintDirective extends CoreSliderHintDirective {
|
|
|
97
97
|
super();
|
|
98
98
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getHintBindings()));
|
|
99
99
|
}
|
|
100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
101
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
101
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderHintDirective, isStandalone: false, selector: "[q-slider-hint]", usesInheritance: true, ngImport: i0 });
|
|
102
102
|
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderHintDirective, decorators: [{
|
|
104
104
|
type: Directive,
|
|
105
105
|
args: [{
|
|
106
106
|
selector: "[q-slider-hint]",
|
|
@@ -116,10 +116,10 @@ class SliderLabelDirective extends CoreSliderLabelDirective {
|
|
|
116
116
|
super();
|
|
117
117
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getLabelBindings()));
|
|
118
118
|
}
|
|
119
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
120
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
120
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderLabelDirective, isStandalone: false, selector: "[q-slider-label]", usesInheritance: true, ngImport: i0 });
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderLabelDirective, decorators: [{
|
|
123
123
|
type: Directive,
|
|
124
124
|
args: [{
|
|
125
125
|
selector: "[q-slider-label]",
|
|
@@ -135,10 +135,10 @@ class SliderMarkerGroupDirective extends CoreSliderMarkerGroupDirective {
|
|
|
135
135
|
super();
|
|
136
136
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMarkerGroupBindings()));
|
|
137
137
|
}
|
|
138
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
139
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMarkerGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
139
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderMarkerGroupDirective, isStandalone: false, selector: "[q-slider-marker-group]", usesInheritance: true, ngImport: i0 });
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMarkerGroupDirective, decorators: [{
|
|
142
142
|
type: Directive,
|
|
143
143
|
args: [{
|
|
144
144
|
selector: "[q-slider-marker-group]",
|
|
@@ -154,10 +154,10 @@ class SliderMarkerDirective extends CoreSliderMarkerDirective {
|
|
|
154
154
|
super();
|
|
155
155
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMarkerBindings()));
|
|
156
156
|
}
|
|
157
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
158
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMarkerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
158
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderMarkerDirective, isStandalone: false, selector: "[q-slider-marker]", usesInheritance: true, ngImport: i0 });
|
|
159
159
|
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMarkerDirective, decorators: [{
|
|
161
161
|
type: Directive,
|
|
162
162
|
args: [{
|
|
163
163
|
selector: "[q-slider-marker]",
|
|
@@ -181,8 +181,8 @@ class SliderMarkersComponent {
|
|
|
181
181
|
? marks
|
|
182
182
|
: this.sliderContext().getDefaultMarks();
|
|
183
183
|
}, ...(ngDevMode ? [{ debugName: "markerValues" }] : /* istanbul ignore next */ []));
|
|
184
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
185
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
184
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMarkersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
185
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: SliderMarkersComponent, isStandalone: false, selector: "q-slider-markers", inputs: { marks: { classPropertyName: "marks", publicName: "marks", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
186
186
|
<div q-slider-marker-group>
|
|
187
187
|
@for (mark of markerValues(); track mark) {
|
|
188
188
|
<span q-slider-marker [value]="mark">{{ mark }}</span>
|
|
@@ -190,7 +190,7 @@ class SliderMarkersComponent {
|
|
|
190
190
|
</div>
|
|
191
191
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: SliderMarkerGroupDirective, selector: "[q-slider-marker-group]" }, { kind: "directive", type: SliderMarkerDirective, selector: "[q-slider-marker]" }] });
|
|
192
192
|
}
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMarkersComponent, decorators: [{
|
|
194
194
|
type: Component,
|
|
195
195
|
args: [{ selector: "q-slider-markers", standalone: false, template: `
|
|
196
196
|
<div q-slider-marker-group>
|
|
@@ -209,10 +209,10 @@ class SliderMaxDirective extends CoreSliderMaxDirective {
|
|
|
209
209
|
super();
|
|
210
210
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMinMaxMarkerBindings()));
|
|
211
211
|
}
|
|
212
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
213
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
212
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMaxDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
213
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: SliderMaxDirective, isStandalone: false, selector: "[q-slider-max]", usesInheritance: true, ngImport: i0, template: "{{ this.sliderContext().max }}", isInline: true });
|
|
214
214
|
}
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMaxDirective, decorators: [{
|
|
216
216
|
type: Component,
|
|
217
217
|
args: [{
|
|
218
218
|
selector: "[q-slider-max]",
|
|
@@ -229,10 +229,10 @@ class SliderMinDirective extends CoreSliderMinDirective {
|
|
|
229
229
|
super();
|
|
230
230
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMinMaxMarkerBindings()));
|
|
231
231
|
}
|
|
232
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
233
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMinDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
233
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: SliderMinDirective, isStandalone: false, selector: "[q-slider-min]", usesInheritance: true, ngImport: i0, template: "{{ this.sliderContext().min }}", isInline: true });
|
|
234
234
|
}
|
|
235
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderMinDirective, decorators: [{
|
|
236
236
|
type: Component,
|
|
237
237
|
args: [{
|
|
238
238
|
selector: "[q-slider-min]",
|
|
@@ -249,10 +249,10 @@ class SliderRangeDirective extends CoreSliderRangeDirective {
|
|
|
249
249
|
super();
|
|
250
250
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getRangeBindings()));
|
|
251
251
|
}
|
|
252
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
253
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
253
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderRangeDirective, isStandalone: false, selector: "[q-slider-range]", usesInheritance: true, ngImport: i0 });
|
|
254
254
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderRangeDirective, decorators: [{
|
|
256
256
|
type: Directive,
|
|
257
257
|
args: [{
|
|
258
258
|
selector: "[q-slider-range]",
|
|
@@ -277,10 +277,10 @@ class SliderRootDirective extends CoreSliderRootDirective {
|
|
|
277
277
|
this.qdsSliderService.init(computed(() => createQdsSliderApi({ size: this.size(), variant: this.variant() }, normalizeProps)));
|
|
278
278
|
this.trackBindings.extendWith(computed(() => this.qdsSliderService.context().getRootBindings()));
|
|
279
279
|
}
|
|
280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
281
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
281
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
282
282
|
}
|
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderRootDirective, decorators: [{
|
|
284
284
|
type: Directive,
|
|
285
285
|
args: [{
|
|
286
286
|
providers: [provideSliderContext(), provideQdsSliderContext()],
|
|
@@ -308,10 +308,10 @@ class SliderThumbIndicatorDirective extends CoreSliderThumbIndicatorDirective {
|
|
|
308
308
|
super();
|
|
309
309
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getThumbIndicatorBindings()));
|
|
310
310
|
}
|
|
311
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
312
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
313
313
|
}
|
|
314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbIndicatorDirective, decorators: [{
|
|
315
315
|
type: Component,
|
|
316
316
|
args: [{
|
|
317
317
|
selector: "[q-slider-thumb-indicator]",
|
|
@@ -328,10 +328,10 @@ class SliderThumbDirective extends CoreSliderThumbDirective {
|
|
|
328
328
|
super();
|
|
329
329
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getThumbBindings()));
|
|
330
330
|
}
|
|
331
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
332
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
332
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderThumbDirective, isStandalone: false, selector: "[q-slider-thumb]", providers: [provideSliderThumbContext()], usesInheritance: true, ngImport: i0 });
|
|
333
333
|
}
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbDirective, decorators: [{
|
|
335
335
|
type: Directive,
|
|
336
336
|
args: [{
|
|
337
337
|
providers: [provideSliderThumbContext()],
|
|
@@ -349,8 +349,8 @@ class SliderThumbsComponent {
|
|
|
349
349
|
tooltip = input(undefined, { ...(ngDevMode ? { debugName: "tooltip" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
350
350
|
sliderContext = useSliderContext();
|
|
351
351
|
thumbs = computed(() => this.sliderContext().value.map((_, idx) => idx), ...(ngDevMode ? [{ debugName: "thumbs" }] : /* istanbul ignore next */ []));
|
|
352
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
353
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: SliderThumbsComponent, isStandalone: false, selector: "q-slider-thumbs", inputs: { tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
354
354
|
@for (idx of thumbs(); track idx) {
|
|
355
355
|
<div q-slider-thumb [index]="idx">
|
|
356
356
|
<input q-slider-hidden-input />
|
|
@@ -361,7 +361,7 @@ class SliderThumbsComponent {
|
|
|
361
361
|
}
|
|
362
362
|
`, isInline: true, styles: [":host{display:contents}\n"], 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"] }] });
|
|
363
363
|
}
|
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbsComponent, decorators: [{
|
|
365
365
|
type: Component,
|
|
366
366
|
args: [{ selector: "q-slider-thumbs", standalone: false, template: `
|
|
367
367
|
@for (idx of thumbs(); track idx) {
|
|
@@ -383,10 +383,10 @@ class SliderTrackDirective extends CoreSliderTrackDirective {
|
|
|
383
383
|
super();
|
|
384
384
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getTrackBindings()));
|
|
385
385
|
}
|
|
386
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
387
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
386
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
387
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SliderTrackDirective, isStandalone: false, selector: "[q-slider-track]", usesInheritance: true, ngImport: i0 });
|
|
388
388
|
}
|
|
389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderTrackDirective, decorators: [{
|
|
390
390
|
type: Directive,
|
|
391
391
|
args: [{
|
|
392
392
|
selector: "[q-slider-track]",
|
|
@@ -420,10 +420,10 @@ class SliderValueTextDirective extends CoreSliderValueTextDirective {
|
|
|
420
420
|
super();
|
|
421
421
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getValueTextBindings()));
|
|
422
422
|
}
|
|
423
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
424
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
424
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
425
425
|
}
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderValueTextDirective, decorators: [{
|
|
427
427
|
type: Component,
|
|
428
428
|
args: [{
|
|
429
429
|
selector: "[q-slider-value-text]",
|
|
@@ -467,8 +467,8 @@ class SliderComponent extends SliderRootDirective {
|
|
|
467
467
|
*/
|
|
468
468
|
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : /* istanbul ignore next */ []));
|
|
469
469
|
sliderContext = useSliderContext();
|
|
470
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
471
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
470
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
471
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", 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: `
|
|
472
472
|
<ng-content select="[q-slider-label]">
|
|
473
473
|
@if (label()) {
|
|
474
474
|
<label q-slider-label>
|
|
@@ -520,7 +520,7 @@ class SliderComponent extends SliderRootDirective {
|
|
|
520
520
|
</ng-content>
|
|
521
521
|
`, 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: "component", type: SliderErrorTextDirective, selector: "[q-slider-error-text]", inputs: ["icon"] }, { 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"] }] });
|
|
522
522
|
}
|
|
523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderComponent, decorators: [{
|
|
524
524
|
type: Component,
|
|
525
525
|
args: [{
|
|
526
526
|
providers: [provideSliderContext(), provideQdsSliderContext()],
|
|
@@ -583,8 +583,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
|
|
|
583
583
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
584
584
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
585
585
|
class SliderModule {
|
|
586
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
587
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
587
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: SliderModule, declarations: [SliderRootDirective,
|
|
588
588
|
SliderLabelDirective,
|
|
589
589
|
SliderValueTextDirective,
|
|
590
590
|
SliderControlDirective,
|
|
@@ -619,9 +619,9 @@ class SliderModule {
|
|
|
619
619
|
SliderThumbIndicatorDirective,
|
|
620
620
|
SliderThumbsComponent,
|
|
621
621
|
SliderMarkersComponent] });
|
|
622
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
622
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderModule, imports: [CommonModule] });
|
|
623
623
|
}
|
|
624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderModule, decorators: [{
|
|
625
625
|
type: NgModule,
|
|
626
626
|
args: [{
|
|
627
627
|
declarations: [
|
|
@@ -21,8 +21,8 @@ class SwitchGroupComponent extends FieldGroupRootDirective {
|
|
|
21
21
|
* Group label text.
|
|
22
22
|
*/
|
|
23
23
|
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
25
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: SwitchGroupComponent, isStandalone: false, selector: "[q-switch-group]", inputs: { errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideQdsFieldGroupContext()], usesInheritance: true, ngImport: i0, template: `
|
|
26
26
|
@if (label()) {
|
|
27
27
|
<legend q-field-group-label>{{ label() }}</legend>
|
|
28
28
|
}
|
|
@@ -37,7 +37,7 @@ class SwitchGroupComponent extends FieldGroupRootDirective {
|
|
|
37
37
|
}
|
|
38
38
|
`, isInline: true, dependencies: [{ kind: "component", type: i1.FieldGroupErrorTextComponent, selector: "q-field-group-error-text", inputs: ["icon"] }, { kind: "directive", type: i1.FieldGroupHintDirective, selector: "[q-field-group-hint]" }, { kind: "directive", type: i1.FieldGroupItemsDirective, selector: "[q-field-group-items]" }, { kind: "directive", type: i1.FieldGroupLabelDirective, selector: "[q-field-group-label]" }] });
|
|
39
39
|
}
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchGroupComponent, decorators: [{
|
|
41
41
|
type: Component,
|
|
42
42
|
args: [{
|
|
43
43
|
providers: [provideQdsFieldGroupContext()],
|
|
@@ -63,11 +63,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
|
|
|
63
63
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
64
64
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
65
65
|
class SwitchGroupModule {
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
67
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
68
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
67
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: SwitchGroupModule, declarations: [SwitchGroupComponent], imports: [FieldGroupModule], exports: [SwitchGroupComponent] });
|
|
68
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchGroupModule, imports: [FieldGroupModule] });
|
|
69
69
|
}
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchGroupModule, decorators: [{
|
|
71
71
|
type: NgModule,
|
|
72
72
|
args: [{
|
|
73
73
|
declarations: [SwitchGroupComponent],
|
|
@@ -14,10 +14,10 @@ import { createQdsSwitchApi } from '@qualcomm-ui/qds-core/switch';
|
|
|
14
14
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
15
15
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
16
16
|
class QdsSwitchContextService extends BaseApiContextService {
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
18
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsSwitchContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
18
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsSwitchContextService });
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: QdsSwitchContextService, decorators: [{
|
|
21
21
|
type: Injectable
|
|
22
22
|
}] });
|
|
23
23
|
const [QDS_SWITCH_CONTEXT, useQdsSwitchContext, provideQdsSwitchContext,] = createApiContext("QdsSwitchContext", QdsSwitchContextService);
|
|
@@ -30,10 +30,10 @@ class SwitchThumbDirective extends CoreSwitchThumbDirective {
|
|
|
30
30
|
super();
|
|
31
31
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getThumbBindings()));
|
|
32
32
|
}
|
|
33
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
34
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
33
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SwitchThumbDirective, isStandalone: false, selector: "[q-switch-thumb]", usesInheritance: true, hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0 });
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchThumbDirective, decorators: [{
|
|
37
37
|
type: Directive,
|
|
38
38
|
args: [{
|
|
39
39
|
hostDirectives: [QuiPreloadDirective],
|
|
@@ -50,14 +50,14 @@ class SwitchControlComponent extends CoreSwitchControlDirective {
|
|
|
50
50
|
super();
|
|
51
51
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getControlBindings()));
|
|
52
52
|
}
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
54
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchControlComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
54
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.4", type: SwitchControlComponent, isStandalone: false, selector: "[q-switch-control]", usesInheritance: true, hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0, template: `
|
|
55
55
|
<ng-content>
|
|
56
56
|
<span q-switch-thumb></span>
|
|
57
57
|
</ng-content>
|
|
58
58
|
`, isInline: true, dependencies: [{ kind: "directive", type: SwitchThumbDirective, selector: "[q-switch-thumb]" }] });
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchControlComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
63
63
|
hostDirectives: [QuiPreloadDirective],
|
|
@@ -85,13 +85,13 @@ class SwitchErrorTextComponent extends CoreSwitchErrorTextDirective {
|
|
|
85
85
|
super();
|
|
86
86
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getErrorTextBindings()));
|
|
87
87
|
}
|
|
88
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
89
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.
|
|
88
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchErrorTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
89
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.4", 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: `
|
|
90
90
|
<svg [qIcon]="icon()!" />
|
|
91
91
|
<ng-content />
|
|
92
92
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchErrorTextComponent, decorators: [{
|
|
95
95
|
type: Component,
|
|
96
96
|
args: [{
|
|
97
97
|
selector: "[q-switch-error-text]",
|
|
@@ -114,10 +114,10 @@ class SwitchHintDirective extends CoreSwitchHintDirective {
|
|
|
114
114
|
super();
|
|
115
115
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getHintBindings()));
|
|
116
116
|
}
|
|
117
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
118
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
118
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SwitchHintDirective, isStandalone: false, selector: "[q-switch-hint]", usesInheritance: true, ngImport: i0 });
|
|
119
119
|
}
|
|
120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchHintDirective, decorators: [{
|
|
121
121
|
type: Directive,
|
|
122
122
|
args: [{
|
|
123
123
|
selector: "[q-switch-hint]",
|
|
@@ -137,10 +137,10 @@ class SwitchHiddenInputDirective extends CoreSwitchHiddenInputDirective {
|
|
|
137
137
|
rootDirective: "q-switch",
|
|
138
138
|
});
|
|
139
139
|
}
|
|
140
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
141
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
140
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
141
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SwitchHiddenInputDirective, isStandalone: false, selector: "[q-switch-hidden-input]", usesInheritance: true, ngImport: i0 });
|
|
142
142
|
}
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchHiddenInputDirective, decorators: [{
|
|
144
144
|
type: Directive,
|
|
145
145
|
args: [{
|
|
146
146
|
selector: "[q-switch-hidden-input]",
|
|
@@ -156,10 +156,10 @@ class SwitchLabelDirective extends CoreSwitchLabelDirective {
|
|
|
156
156
|
super();
|
|
157
157
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchContext().getLabelBindings()));
|
|
158
158
|
}
|
|
159
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
160
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
159
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
160
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: SwitchLabelDirective, isStandalone: false, selector: "[q-switch-label]", usesInheritance: true, ngImport: i0 });
|
|
161
161
|
}
|
|
162
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
162
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchLabelDirective, decorators: [{
|
|
163
163
|
type: Directive,
|
|
164
164
|
args: [{
|
|
165
165
|
selector: "[q-switch-label]",
|
|
@@ -183,10 +183,10 @@ class SwitchRootDirective extends CoreSwitchRootDirective {
|
|
|
183
183
|
this.qdsSwitchService.init(computed(() => createQdsSwitchApi({ size: this.size() ?? this.fieldGroupContext?.().size }, normalizeProps)));
|
|
184
184
|
this.trackBindings.extendWith(computed(() => this.qdsSwitchService.context().getRootBindings()));
|
|
185
185
|
}
|
|
186
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
187
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
186
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
187
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", 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 });
|
|
188
188
|
}
|
|
189
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
189
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchRootDirective, decorators: [{
|
|
190
190
|
type: Directive,
|
|
191
191
|
args: [{
|
|
192
192
|
providers: [provideSwitchContext(), provideQdsSwitchContext()],
|
|
@@ -240,8 +240,8 @@ class SwitchComponent extends SwitchRootDirective {
|
|
|
240
240
|
* ```
|
|
241
241
|
*/
|
|
242
242
|
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
243
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
244
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
243
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
244
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.4", type: SwitchComponent, isStandalone: false, selector: "[q-switch]", inputs: { errorText: { classPropertyName: "errorText", publicName: "errorText", isSignal: true, isRequired: false, transformFunction: null }, hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideSwitchContext(), provideQdsSwitchContext()], usesInheritance: true, ngImport: i0, template: `
|
|
245
245
|
<ng-content select="[q-switch-hidden-input]">
|
|
246
246
|
<input q-switch-hidden-input />
|
|
247
247
|
</ng-content>
|
|
@@ -273,7 +273,7 @@ class SwitchComponent extends SwitchRootDirective {
|
|
|
273
273
|
</ng-content>
|
|
274
274
|
`, 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: SwitchHintDirective, selector: "[q-switch-hint]" }, { kind: "directive", type: SwitchThumbDirective, selector: "[q-switch-thumb]" }, { kind: "component", type: SwitchErrorTextComponent, selector: "[q-switch-error-text]", inputs: ["icon"] }] });
|
|
275
275
|
}
|
|
276
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
277
277
|
type: Component,
|
|
278
278
|
args: [{
|
|
279
279
|
providers: [provideSwitchContext(), provideQdsSwitchContext()],
|
|
@@ -316,8 +316,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImpor
|
|
|
316
316
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
317
317
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
318
318
|
class SwitchModule {
|
|
319
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
320
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
319
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
320
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: SwitchModule, declarations: [SwitchComponent,
|
|
321
321
|
SwitchRootDirective,
|
|
322
322
|
SwitchControlComponent,
|
|
323
323
|
SwitchLabelDirective,
|
|
@@ -332,9 +332,9 @@ class SwitchModule {
|
|
|
332
332
|
SwitchHintDirective,
|
|
333
333
|
SwitchThumbDirective,
|
|
334
334
|
SwitchErrorTextComponent] });
|
|
335
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
335
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchModule });
|
|
336
336
|
}
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SwitchModule, decorators: [{
|
|
338
338
|
type: NgModule,
|
|
339
339
|
args: [{
|
|
340
340
|
declarations: [
|