@qualcomm-ui/angular 1.19.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/qualcomm-ui-angular-accordion.mjs +45 -47
- package/fesm2022/qualcomm-ui-angular-accordion.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-action-group.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-action-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-alert-banner.mjs +38 -40
- package/fesm2022/qualcomm-ui-angular-alert-banner.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-avatar.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-avatar.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-badge.mjs +35 -47
- package/fesm2022/qualcomm-ui-angular-badge.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs +29 -31
- package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-button.mjs +48 -54
- package/fesm2022/qualcomm-ui-angular-button.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-checkbox-group.mjs +10 -10
- package/fesm2022/qualcomm-ui-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-checkbox.mjs +36 -36
- package/fesm2022/qualcomm-ui-angular-checkbox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-checkmark.mjs +5 -7
- package/fesm2022/qualcomm-ui-angular-checkmark.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-collapsible.mjs +13 -13
- package/fesm2022/qualcomm-ui-angular-collapsible.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-combobox.mjs +97 -107
- package/fesm2022/qualcomm-ui-angular-combobox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-dialog.mjs +57 -61
- package/fesm2022/qualcomm-ui-angular-dialog.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-divider.mjs +6 -6
- package/fesm2022/qualcomm-ui-angular-divider.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-drawer.mjs +53 -53
- package/fesm2022/qualcomm-ui-angular-drawer.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-field-group.mjs +28 -32
- package/fesm2022/qualcomm-ui-angular-field-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-header-bar.mjs +52 -54
- package/fesm2022/qualcomm-ui-angular-header-bar.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-icon.mjs +19 -21
- package/fesm2022/qualcomm-ui-angular-icon.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs +7 -7
- package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-inline-notification.mjs +35 -37
- package/fesm2022/qualcomm-ui-angular-inline-notification.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-input.mjs +18 -18
- package/fesm2022/qualcomm-ui-angular-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-kbd.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-kbd.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-link.mjs +10 -12
- package/fesm2022/qualcomm-ui-angular-link.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-menu.mjs +68 -68
- package/fesm2022/qualcomm-ui-angular-menu.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-number-input.mjs +54 -54
- package/fesm2022/qualcomm-ui-angular-number-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-pagination.mjs +42 -42
- package/fesm2022/qualcomm-ui-angular-pagination.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-password-input.mjs +48 -50
- package/fesm2022/qualcomm-ui-angular-password-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-popover.mjs +48 -52
- package/fesm2022/qualcomm-ui-angular-popover.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-progress-ring.mjs +43 -43
- package/fesm2022/qualcomm-ui-angular-progress-ring.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-progress.mjs +42 -42
- package/fesm2022/qualcomm-ui-angular-progress.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-radio.mjs +47 -49
- package/fesm2022/qualcomm-ui-angular-radio.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-segmented-control.mjs +28 -28
- package/fesm2022/qualcomm-ui-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-select.mjs +76 -82
- package/fesm2022/qualcomm-ui-angular-select.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-side-nav.mjs +103 -105
- package/fesm2022/qualcomm-ui-angular-side-nav.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-slider.mjs +85 -99
- package/fesm2022/qualcomm-ui-angular-slider.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-switch-group.mjs +10 -10
- package/fesm2022/qualcomm-ui-angular-switch-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-switch.mjs +36 -36
- package/fesm2022/qualcomm-ui-angular-switch.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-table.mjs +136 -170
- package/fesm2022/qualcomm-ui-angular-table.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tabs.mjs +37 -39
- package/fesm2022/qualcomm-ui-angular-tabs.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tag.mjs +14 -16
- package/fesm2022/qualcomm-ui-angular-tag.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-text-area.mjs +41 -47
- package/fesm2022/qualcomm-ui-angular-text-area.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-text-input.mjs +42 -44
- package/fesm2022/qualcomm-ui-angular-text-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-theme.mjs +5 -5
- package/fesm2022/qualcomm-ui-angular-theme.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-toast.mjs +43 -43
- package/fesm2022/qualcomm-ui-angular-toast.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tooltip.mjs +33 -37
- package/fesm2022/qualcomm-ui-angular-tooltip.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-transitions.mjs +4 -4
- package/fesm2022/qualcomm-ui-angular-transitions.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tree.mjs +79 -79
- package/fesm2022/qualcomm-ui-angular-tree.mjs.map +1 -1
- package/package.json +64 -64
- package/{accordion/index.d.ts → types/qualcomm-ui-angular-accordion.d.ts} +1 -1
- package/types/qualcomm-ui-angular-accordion.d.ts.map +1 -0
- package/{action-group/index.d.ts → types/qualcomm-ui-angular-action-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-action-group.d.ts.map +1 -0
- package/{alert-banner/index.d.ts → types/qualcomm-ui-angular-alert-banner.d.ts} +1 -1
- package/types/qualcomm-ui-angular-alert-banner.d.ts.map +1 -0
- package/{avatar/index.d.ts → types/qualcomm-ui-angular-avatar.d.ts} +1 -1
- package/types/qualcomm-ui-angular-avatar.d.ts.map +1 -0
- package/{badge/index.d.ts → types/qualcomm-ui-angular-badge.d.ts} +1 -1
- package/types/qualcomm-ui-angular-badge.d.ts.map +1 -0
- package/{breadcrumbs/index.d.ts → types/qualcomm-ui-angular-breadcrumbs.d.ts} +1 -1
- package/types/qualcomm-ui-angular-breadcrumbs.d.ts.map +1 -0
- package/{button/index.d.ts → types/qualcomm-ui-angular-button.d.ts} +1 -1
- package/types/qualcomm-ui-angular-button.d.ts.map +1 -0
- package/{checkbox-group/index.d.ts → types/qualcomm-ui-angular-checkbox-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-checkbox-group.d.ts.map +1 -0
- package/{checkbox/index.d.ts → types/qualcomm-ui-angular-checkbox.d.ts} +1 -1
- package/types/qualcomm-ui-angular-checkbox.d.ts.map +1 -0
- package/{checkmark/index.d.ts → types/qualcomm-ui-angular-checkmark.d.ts} +1 -1
- package/types/qualcomm-ui-angular-checkmark.d.ts.map +1 -0
- package/{collapsible/index.d.ts → types/qualcomm-ui-angular-collapsible.d.ts} +1 -1
- package/types/qualcomm-ui-angular-collapsible.d.ts.map +1 -0
- package/{combobox/index.d.ts → types/qualcomm-ui-angular-combobox.d.ts} +1 -1
- package/types/qualcomm-ui-angular-combobox.d.ts.map +1 -0
- package/{dialog/index.d.ts → types/qualcomm-ui-angular-dialog.d.ts} +1 -1
- package/types/qualcomm-ui-angular-dialog.d.ts.map +1 -0
- package/{divider/index.d.ts → types/qualcomm-ui-angular-divider.d.ts} +1 -1
- package/types/qualcomm-ui-angular-divider.d.ts.map +1 -0
- package/{drawer/index.d.ts → types/qualcomm-ui-angular-drawer.d.ts} +1 -1
- package/types/qualcomm-ui-angular-drawer.d.ts.map +1 -0
- package/{field-group/index.d.ts → types/qualcomm-ui-angular-field-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-field-group.d.ts.map +1 -0
- package/types/qualcomm-ui-angular-footer.d.ts +3 -0
- package/types/qualcomm-ui-angular-footer.d.ts.map +1 -0
- package/{header-bar/index.d.ts → types/qualcomm-ui-angular-header-bar.d.ts} +1 -1
- package/types/qualcomm-ui-angular-header-bar.d.ts.map +1 -0
- package/types/qualcomm-ui-angular-header.d.ts +3 -0
- package/types/qualcomm-ui-angular-header.d.ts.map +1 -0
- package/{icon/index.d.ts → types/qualcomm-ui-angular-icon.d.ts} +2 -2
- package/types/qualcomm-ui-angular-icon.d.ts.map +1 -0
- package/{inline-icon-button/index.d.ts → types/qualcomm-ui-angular-inline-icon-button.d.ts} +1 -1
- package/types/qualcomm-ui-angular-inline-icon-button.d.ts.map +1 -0
- package/{inline-notification/index.d.ts → types/qualcomm-ui-angular-inline-notification.d.ts} +1 -1
- package/types/qualcomm-ui-angular-inline-notification.d.ts.map +1 -0
- package/{input/index.d.ts → types/qualcomm-ui-angular-input.d.ts} +2 -2
- package/types/qualcomm-ui-angular-input.d.ts.map +1 -0
- package/{kbd/index.d.ts → types/qualcomm-ui-angular-kbd.d.ts} +1 -1
- package/types/qualcomm-ui-angular-kbd.d.ts.map +1 -0
- package/{link/index.d.ts → types/qualcomm-ui-angular-link.d.ts} +1 -1
- package/types/qualcomm-ui-angular-link.d.ts.map +1 -0
- package/{menu/index.d.ts → types/qualcomm-ui-angular-menu.d.ts} +1 -1
- package/types/qualcomm-ui-angular-menu.d.ts.map +1 -0
- package/{number-input/index.d.ts → types/qualcomm-ui-angular-number-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-number-input.d.ts.map +1 -0
- package/{pagination/index.d.ts → types/qualcomm-ui-angular-pagination.d.ts} +1 -1
- package/types/qualcomm-ui-angular-pagination.d.ts.map +1 -0
- package/{password-input/index.d.ts → types/qualcomm-ui-angular-password-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-password-input.d.ts.map +1 -0
- package/{popover/index.d.ts → types/qualcomm-ui-angular-popover.d.ts} +1 -1
- package/types/qualcomm-ui-angular-popover.d.ts.map +1 -0
- package/{progress-ring/index.d.ts → types/qualcomm-ui-angular-progress-ring.d.ts} +1 -1
- package/types/qualcomm-ui-angular-progress-ring.d.ts.map +1 -0
- package/{progress/index.d.ts → types/qualcomm-ui-angular-progress.d.ts} +1 -1
- package/types/qualcomm-ui-angular-progress.d.ts.map +1 -0
- package/{radio/index.d.ts → types/qualcomm-ui-angular-radio.d.ts} +1 -1
- package/types/qualcomm-ui-angular-radio.d.ts.map +1 -0
- package/{segmented-control/index.d.ts → types/qualcomm-ui-angular-segmented-control.d.ts} +1 -1
- package/types/qualcomm-ui-angular-segmented-control.d.ts.map +1 -0
- package/{select/index.d.ts → types/qualcomm-ui-angular-select.d.ts} +1 -1
- package/types/qualcomm-ui-angular-select.d.ts.map +1 -0
- package/{side-nav/index.d.ts → types/qualcomm-ui-angular-side-nav.d.ts} +1 -1
- package/types/qualcomm-ui-angular-side-nav.d.ts.map +1 -0
- package/{slider/index.d.ts → types/qualcomm-ui-angular-slider.d.ts} +1 -1
- package/types/qualcomm-ui-angular-slider.d.ts.map +1 -0
- package/{switch-group/index.d.ts → types/qualcomm-ui-angular-switch-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-switch-group.d.ts.map +1 -0
- package/{switch/index.d.ts → types/qualcomm-ui-angular-switch.d.ts} +1 -1
- package/types/qualcomm-ui-angular-switch.d.ts.map +1 -0
- package/{table/index.d.ts → types/qualcomm-ui-angular-table.d.ts} +1 -1
- package/types/qualcomm-ui-angular-table.d.ts.map +1 -0
- package/{tabs/index.d.ts → types/qualcomm-ui-angular-tabs.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tabs.d.ts.map +1 -0
- package/{tag/index.d.ts → types/qualcomm-ui-angular-tag.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tag.d.ts.map +1 -0
- package/{text-area/index.d.ts → types/qualcomm-ui-angular-text-area.d.ts} +1 -1
- package/types/qualcomm-ui-angular-text-area.d.ts.map +1 -0
- package/{text-input/index.d.ts → types/qualcomm-ui-angular-text-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-text-input.d.ts.map +1 -0
- package/{theme/index.d.ts → types/qualcomm-ui-angular-theme.d.ts} +1 -1
- package/types/qualcomm-ui-angular-theme.d.ts.map +1 -0
- package/{toast/index.d.ts → types/qualcomm-ui-angular-toast.d.ts} +2 -2
- package/types/qualcomm-ui-angular-toast.d.ts.map +1 -0
- package/{tooltip/index.d.ts → types/qualcomm-ui-angular-tooltip.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tooltip.d.ts.map +1 -0
- package/{transitions/index.d.ts → types/qualcomm-ui-angular-transitions.d.ts} +1 -1
- package/types/qualcomm-ui-angular-transitions.d.ts.map +1 -0
- package/{tree/index.d.ts → types/qualcomm-ui-angular-tree.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tree.d.ts.map +1 -0
- package/types/qualcomm-ui-angular.d.ts +3 -0
- package/types/qualcomm-ui-angular.d.ts.map +1 -0
- package/accordion/index.d.ts.map +0 -1
- package/action-group/index.d.ts.map +0 -1
- package/alert-banner/index.d.ts.map +0 -1
- package/avatar/index.d.ts.map +0 -1
- package/badge/index.d.ts.map +0 -1
- package/breadcrumbs/index.d.ts.map +0 -1
- package/button/index.d.ts.map +0 -1
- package/checkbox/index.d.ts.map +0 -1
- package/checkbox-group/index.d.ts.map +0 -1
- package/checkmark/index.d.ts.map +0 -1
- package/collapsible/index.d.ts.map +0 -1
- package/combobox/index.d.ts.map +0 -1
- package/dialog/index.d.ts.map +0 -1
- package/divider/index.d.ts.map +0 -1
- package/drawer/index.d.ts.map +0 -1
- package/field-group/index.d.ts.map +0 -1
- package/footer/index.d.ts +0 -3
- package/footer/index.d.ts.map +0 -1
- package/header/index.d.ts +0 -3
- package/header/index.d.ts.map +0 -1
- package/header-bar/index.d.ts.map +0 -1
- package/icon/index.d.ts.map +0 -1
- package/index.d.ts +0 -3
- package/index.d.ts.map +0 -1
- package/inline-icon-button/index.d.ts.map +0 -1
- package/inline-notification/index.d.ts.map +0 -1
- package/input/index.d.ts.map +0 -1
- package/kbd/index.d.ts.map +0 -1
- package/link/index.d.ts.map +0 -1
- package/menu/index.d.ts.map +0 -1
- package/number-input/index.d.ts.map +0 -1
- package/pagination/index.d.ts.map +0 -1
- package/password-input/index.d.ts.map +0 -1
- package/popover/index.d.ts.map +0 -1
- package/progress/index.d.ts.map +0 -1
- package/progress-ring/index.d.ts.map +0 -1
- package/radio/index.d.ts.map +0 -1
- package/segmented-control/index.d.ts.map +0 -1
- package/select/index.d.ts.map +0 -1
- package/side-nav/index.d.ts.map +0 -1
- package/slider/index.d.ts.map +0 -1
- package/switch/index.d.ts.map +0 -1
- package/switch-group/index.d.ts.map +0 -1
- package/table/index.d.ts.map +0 -1
- package/tabs/index.d.ts.map +0 -1
- package/tag/index.d.ts.map +0 -1
- package/text-area/index.d.ts.map +0 -1
- package/text-input/index.d.ts.map +0 -1
- package/theme/index.d.ts.map +0 -1
- package/toast/index.d.ts.map +0 -1
- package/tooltip/index.d.ts.map +0 -1
- package/transitions/index.d.ts.map +0 -1
- package/tree/index.d.ts.map +0 -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: "
|
|
15
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
14
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsSliderContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
15
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsSliderContextService });
|
|
16
16
|
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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: "
|
|
31
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderControlDirective, isStandalone: false, selector: "[q-slider-control]", usesInheritance: true, ngImport: i0 });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderControlDirective, decorators: [{
|
|
34
34
|
type: Directive,
|
|
35
35
|
args: [{
|
|
36
36
|
selector: "[q-slider-control]",
|
|
@@ -46,19 +46,19 @@ class SliderErrorTextDirective extends CoreSliderErrorTextDirective {
|
|
|
46
46
|
*
|
|
47
47
|
* @default CircleAlert
|
|
48
48
|
*/
|
|
49
|
-
icon = input(CircleAlert, ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
49
|
+
icon = input(CircleAlert, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
50
50
|
qdsSliderContext = useQdsSliderContext();
|
|
51
51
|
constructor() {
|
|
52
52
|
super();
|
|
53
53
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getErrorTextBindings()));
|
|
54
54
|
}
|
|
55
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
55
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", 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: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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: "
|
|
82
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
81
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
82
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderHiddenInputDirective, isStandalone: false, selector: "[q-slider-hidden-input]", usesInheritance: true, ngImport: i0 });
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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: "
|
|
101
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
101
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderHintDirective, isStandalone: false, selector: "[q-slider-hint]", usesInheritance: true, ngImport: i0 });
|
|
102
102
|
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
103
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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: "
|
|
120
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
120
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderLabelDirective, isStandalone: false, selector: "[q-slider-label]", usesInheritance: true, ngImport: i0 });
|
|
121
121
|
}
|
|
122
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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: "
|
|
139
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
138
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMarkerGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
139
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderMarkerGroupDirective, isStandalone: false, selector: "[q-slider-marker-group]", usesInheritance: true, ngImport: i0 });
|
|
140
140
|
}
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", 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: "
|
|
158
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMarkerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
158
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderMarkerDirective, isStandalone: false, selector: "[q-slider-marker]", usesInheritance: true, ngImport: i0 });
|
|
159
159
|
}
|
|
160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMarkerDirective, decorators: [{
|
|
161
161
|
type: Directive,
|
|
162
162
|
args: [{
|
|
163
163
|
selector: "[q-slider-marker]",
|
|
@@ -173,36 +173,32 @@ class SliderMarkersComponent {
|
|
|
173
173
|
* provided, the component will generate 11 evenly spaced markers based on
|
|
174
174
|
* the `min` and `max` slider values.
|
|
175
175
|
*/
|
|
176
|
-
marks = input([], ...(ngDevMode ? [{ debugName: "marks" }] : []));
|
|
176
|
+
marks = input([], ...(ngDevMode ? [{ debugName: "marks" }] : /* istanbul ignore next */ []));
|
|
177
177
|
sliderContext = useSliderContext();
|
|
178
178
|
markerValues = computed(() => {
|
|
179
179
|
const marks = this.marks();
|
|
180
180
|
return Array.isArray(marks) && marks.length > 0
|
|
181
181
|
? marks
|
|
182
182
|
: this.sliderContext().getDefaultMarks();
|
|
183
|
-
}, ...(ngDevMode ? [{ debugName: "markerValues" }] : []));
|
|
184
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
185
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
183
|
+
}, ...(ngDevMode ? [{ debugName: "markerValues" }] : /* istanbul ignore next */ []));
|
|
184
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMarkersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
185
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", 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>
|
|
189
189
|
}
|
|
190
190
|
</div>
|
|
191
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: SliderMarkerGroupDirective, selector: "[q-slider-marker-group]" }, { kind: "directive", type: SliderMarkerDirective, selector: "[q-slider-marker]" }] });
|
|
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: "
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMarkersComponent, decorators: [{
|
|
194
194
|
type: Component,
|
|
195
|
-
args: [{
|
|
196
|
-
selector: "q-slider-markers",
|
|
197
|
-
standalone: false,
|
|
198
|
-
template: `
|
|
195
|
+
args: [{ selector: "q-slider-markers", standalone: false, template: `
|
|
199
196
|
<div q-slider-marker-group>
|
|
200
197
|
@for (mark of markerValues(); track mark) {
|
|
201
198
|
<span q-slider-marker [value]="mark">{{ mark }}</span>
|
|
202
199
|
}
|
|
203
200
|
</div>
|
|
204
|
-
`,
|
|
205
|
-
}]
|
|
201
|
+
`, styles: [":host{display:contents}\n"] }]
|
|
206
202
|
}], propDecorators: { marks: [{ type: i0.Input, args: [{ isSignal: true, alias: "marks", required: false }] }] } });
|
|
207
203
|
|
|
208
204
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
@@ -213,10 +209,10 @@ class SliderMaxDirective extends CoreSliderMaxDirective {
|
|
|
213
209
|
super();
|
|
214
210
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMinMaxMarkerBindings()));
|
|
215
211
|
}
|
|
216
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
217
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
212
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMaxDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
213
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.2", type: SliderMaxDirective, isStandalone: false, selector: "[q-slider-max]", usesInheritance: true, ngImport: i0, template: "{{ this.sliderContext().max }}", isInline: true });
|
|
218
214
|
}
|
|
219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMaxDirective, decorators: [{
|
|
220
216
|
type: Component,
|
|
221
217
|
args: [{
|
|
222
218
|
selector: "[q-slider-max]",
|
|
@@ -233,10 +229,10 @@ class SliderMinDirective extends CoreSliderMinDirective {
|
|
|
233
229
|
super();
|
|
234
230
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getMinMaxMarkerBindings()));
|
|
235
231
|
}
|
|
236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
237
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
232
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMinDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
233
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.2", type: SliderMinDirective, isStandalone: false, selector: "[q-slider-min]", usesInheritance: true, ngImport: i0, template: "{{ this.sliderContext().min }}", isInline: true });
|
|
238
234
|
}
|
|
239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderMinDirective, decorators: [{
|
|
240
236
|
type: Component,
|
|
241
237
|
args: [{
|
|
242
238
|
selector: "[q-slider-min]",
|
|
@@ -253,10 +249,10 @@ class SliderRangeDirective extends CoreSliderRangeDirective {
|
|
|
253
249
|
super();
|
|
254
250
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getRangeBindings()));
|
|
255
251
|
}
|
|
256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
257
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
253
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderRangeDirective, isStandalone: false, selector: "[q-slider-range]", usesInheritance: true, ngImport: i0 });
|
|
258
254
|
}
|
|
259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderRangeDirective, decorators: [{
|
|
260
256
|
type: Directive,
|
|
261
257
|
args: [{
|
|
262
258
|
selector: "[q-slider-range]",
|
|
@@ -270,21 +266,21 @@ class SliderRootDirective extends CoreSliderRootDirective {
|
|
|
270
266
|
/**
|
|
271
267
|
* The size of the slider.
|
|
272
268
|
*/
|
|
273
|
-
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
|
|
269
|
+
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
274
270
|
/**
|
|
275
271
|
* The variant of the slider.
|
|
276
272
|
*/
|
|
277
|
-
variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
|
|
273
|
+
variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
278
274
|
qdsSliderService = inject(QdsSliderContextService);
|
|
279
275
|
ngOnInit() {
|
|
280
276
|
super.ngOnInit();
|
|
281
277
|
this.qdsSliderService.init(computed(() => createQdsSliderApi({ size: this.size(), variant: this.variant() }, normalizeProps)));
|
|
282
278
|
this.trackBindings.extendWith(computed(() => this.qdsSliderService.context().getRootBindings()));
|
|
283
279
|
}
|
|
284
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
285
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
281
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", 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 });
|
|
286
282
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderRootDirective, decorators: [{
|
|
288
284
|
type: Directive,
|
|
289
285
|
args: [{
|
|
290
286
|
providers: [provideSliderContext(), provideQdsSliderContext()],
|
|
@@ -302,20 +298,20 @@ class SliderThumbIndicatorDirective extends CoreSliderThumbIndicatorDirective {
|
|
|
302
298
|
*
|
|
303
299
|
* @default ' - '
|
|
304
300
|
*/
|
|
305
|
-
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : []));
|
|
301
|
+
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : /* istanbul ignore next */ []));
|
|
306
302
|
valueText = computed(() => {
|
|
307
303
|
const display = this.display();
|
|
308
304
|
return typeof display === "function" ? display(this.value()) : this.value();
|
|
309
|
-
}, ...(ngDevMode ? [{ debugName: "valueText" }] : []));
|
|
305
|
+
}, ...(ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []));
|
|
310
306
|
qdsSliderContext = useQdsSliderContext();
|
|
311
307
|
constructor() {
|
|
312
308
|
super();
|
|
313
309
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getThumbIndicatorBindings()));
|
|
314
310
|
}
|
|
315
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
316
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderThumbIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", 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 });
|
|
317
313
|
}
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderThumbIndicatorDirective, decorators: [{
|
|
319
315
|
type: Component,
|
|
320
316
|
args: [{
|
|
321
317
|
selector: "[q-slider-thumb-indicator]",
|
|
@@ -332,10 +328,10 @@ class SliderThumbDirective extends CoreSliderThumbDirective {
|
|
|
332
328
|
super();
|
|
333
329
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getThumbBindings()));
|
|
334
330
|
}
|
|
335
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
336
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
331
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
332
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderThumbDirective, isStandalone: false, selector: "[q-slider-thumb]", providers: [provideSliderThumbContext()], usesInheritance: true, ngImport: i0 });
|
|
337
333
|
}
|
|
338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderThumbDirective, decorators: [{
|
|
339
335
|
type: Directive,
|
|
340
336
|
args: [{
|
|
341
337
|
providers: [provideSliderThumbContext()],
|
|
@@ -350,13 +346,11 @@ class SliderThumbsComponent {
|
|
|
350
346
|
/**
|
|
351
347
|
* Whether to display the thumb value as a tooltip.
|
|
352
348
|
*/
|
|
353
|
-
tooltip = input(undefined, ...(ngDevMode ?
|
|
354
|
-
transform: booleanAttribute,
|
|
355
|
-
}]));
|
|
349
|
+
tooltip = input(undefined, { ...(ngDevMode ? { debugName: "tooltip" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
356
350
|
sliderContext = useSliderContext();
|
|
357
|
-
thumbs = computed(() => this.sliderContext().value.map((_, idx) => idx), ...(ngDevMode ? [{ debugName: "thumbs" }] : []));
|
|
358
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
359
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
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.2", ngImport: i0, type: SliderThumbsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
353
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: SliderThumbsComponent, isStandalone: false, selector: "q-slider-thumbs", inputs: { tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
360
354
|
@for (idx of thumbs(); track idx) {
|
|
361
355
|
<div q-slider-thumb [index]="idx">
|
|
362
356
|
<input q-slider-hidden-input />
|
|
@@ -365,14 +359,11 @@ class SliderThumbsComponent {
|
|
|
365
359
|
}
|
|
366
360
|
</div>
|
|
367
361
|
}
|
|
368
|
-
`, 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"] }] });
|
|
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"] }] });
|
|
369
363
|
}
|
|
370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderThumbsComponent, decorators: [{
|
|
371
365
|
type: Component,
|
|
372
|
-
args: [{
|
|
373
|
-
selector: "q-slider-thumbs",
|
|
374
|
-
standalone: false,
|
|
375
|
-
template: `
|
|
366
|
+
args: [{ selector: "q-slider-thumbs", standalone: false, template: `
|
|
376
367
|
@for (idx of thumbs(); track idx) {
|
|
377
368
|
<div q-slider-thumb [index]="idx">
|
|
378
369
|
<input q-slider-hidden-input />
|
|
@@ -381,8 +372,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
381
372
|
}
|
|
382
373
|
</div>
|
|
383
374
|
}
|
|
384
|
-
`,
|
|
385
|
-
}]
|
|
375
|
+
`, styles: [":host{display:contents}\n"] }]
|
|
386
376
|
}], propDecorators: { tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }] } });
|
|
387
377
|
|
|
388
378
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
@@ -393,10 +383,10 @@ class SliderTrackDirective extends CoreSliderTrackDirective {
|
|
|
393
383
|
super();
|
|
394
384
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getTrackBindings()));
|
|
395
385
|
}
|
|
396
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
397
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
386
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
387
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SliderTrackDirective, isStandalone: false, selector: "[q-slider-track]", usesInheritance: true, ngImport: i0 });
|
|
398
388
|
}
|
|
399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderTrackDirective, decorators: [{
|
|
400
390
|
type: Directive,
|
|
401
391
|
args: [{
|
|
402
392
|
selector: "[q-slider-track]",
|
|
@@ -413,7 +403,7 @@ class SliderValueTextDirective extends CoreSliderValueTextDirective {
|
|
|
413
403
|
*
|
|
414
404
|
* @default ' - '
|
|
415
405
|
*/
|
|
416
|
-
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : []));
|
|
406
|
+
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : /* istanbul ignore next */ []));
|
|
417
407
|
valueText = computed(() => {
|
|
418
408
|
const value = this.sliderContext().value;
|
|
419
409
|
const display = this.display();
|
|
@@ -424,16 +414,16 @@ class SliderValueTextDirective extends CoreSliderValueTextDirective {
|
|
|
424
414
|
return value.join(display);
|
|
425
415
|
}
|
|
426
416
|
return value.join(" - ");
|
|
427
|
-
}, ...(ngDevMode ? [{ debugName: "valueText" }] : []));
|
|
417
|
+
}, ...(ngDevMode ? [{ debugName: "valueText" }] : /* istanbul ignore next */ []));
|
|
428
418
|
qdsSliderContext = useQdsSliderContext();
|
|
429
419
|
constructor() {
|
|
430
420
|
super();
|
|
431
421
|
this.trackBindings.extendWith(computed(() => this.qdsSliderContext().getValueTextBindings()));
|
|
432
422
|
}
|
|
433
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
434
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
423
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
424
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", 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 });
|
|
435
425
|
}
|
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderValueTextDirective, decorators: [{
|
|
437
427
|
type: Component,
|
|
438
428
|
args: [{
|
|
439
429
|
selector: "[q-slider-value-text]",
|
|
@@ -448,41 +438,37 @@ class SliderComponent extends SliderRootDirective {
|
|
|
448
438
|
/**
|
|
449
439
|
* The label text for the slider.
|
|
450
440
|
*/
|
|
451
|
-
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
441
|
+
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
452
442
|
/**
|
|
453
443
|
* Optional hint text to display below the slider.
|
|
454
444
|
*/
|
|
455
|
-
hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : []));
|
|
445
|
+
hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
|
|
456
446
|
/**
|
|
457
447
|
* The error message to display when the slider value is invalid.
|
|
458
448
|
*/
|
|
459
|
-
errorText = input(...(ngDevMode ? [undefined, { debugName: "errorText" }] : []));
|
|
449
|
+
errorText = input(...(ngDevMode ? [undefined, { debugName: "errorText" }] : /* istanbul ignore next */ []));
|
|
460
450
|
/**
|
|
461
451
|
* Whether to display markers on the sides of the slider.
|
|
462
452
|
*/
|
|
463
|
-
sideMarkers = input(undefined, ...(ngDevMode ?
|
|
464
|
-
transform: booleanAttribute,
|
|
465
|
-
}]));
|
|
453
|
+
sideMarkers = input(undefined, { ...(ngDevMode ? { debugName: "sideMarkers" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
466
454
|
/**
|
|
467
455
|
* The list of marks to display along the slider track.
|
|
468
456
|
*/
|
|
469
|
-
marks = input([], ...(ngDevMode ? [{ debugName: "marks" }] : []));
|
|
457
|
+
marks = input([], ...(ngDevMode ? [{ debugName: "marks" }] : /* istanbul ignore next */ []));
|
|
470
458
|
/**
|
|
471
459
|
* Whether to display the thumb value as a tooltip.
|
|
472
460
|
*/
|
|
473
|
-
tooltip = input(undefined, ...(ngDevMode ?
|
|
474
|
-
transform: booleanAttribute,
|
|
475
|
-
}]));
|
|
461
|
+
tooltip = input(undefined, { ...(ngDevMode ? { debugName: "tooltip" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
476
462
|
/**
|
|
477
463
|
* How to display range values: a separator string or a function that receives the
|
|
478
464
|
* value array and returns a string.
|
|
479
465
|
*
|
|
480
466
|
* @default '—'
|
|
481
467
|
*/
|
|
482
|
-
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : []));
|
|
468
|
+
display = input(...(ngDevMode ? [undefined, { debugName: "display" }] : /* istanbul ignore next */ []));
|
|
483
469
|
sliderContext = useSliderContext();
|
|
484
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
485
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
470
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
471
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", 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: `
|
|
486
472
|
<ng-content select="[q-slider-label]">
|
|
487
473
|
@if (label()) {
|
|
488
474
|
<label q-slider-label>
|
|
@@ -534,7 +520,7 @@ class SliderComponent extends SliderRootDirective {
|
|
|
534
520
|
</ng-content>
|
|
535
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"] }] });
|
|
536
522
|
}
|
|
537
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderComponent, decorators: [{
|
|
538
524
|
type: Component,
|
|
539
525
|
args: [{
|
|
540
526
|
providers: [provideSliderContext(), provideQdsSliderContext()],
|
|
@@ -597,8 +583,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
597
583
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
598
584
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
599
585
|
class SliderModule {
|
|
600
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
601
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
587
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: SliderModule, declarations: [SliderRootDirective,
|
|
602
588
|
SliderLabelDirective,
|
|
603
589
|
SliderValueTextDirective,
|
|
604
590
|
SliderControlDirective,
|
|
@@ -633,9 +619,9 @@ class SliderModule {
|
|
|
633
619
|
SliderThumbIndicatorDirective,
|
|
634
620
|
SliderThumbsComponent,
|
|
635
621
|
SliderMarkersComponent] });
|
|
636
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
622
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderModule, imports: [CommonModule] });
|
|
637
623
|
}
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
624
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SliderModule, decorators: [{
|
|
639
625
|
type: NgModule,
|
|
640
626
|
args: [{
|
|
641
627
|
declarations: [
|