@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
|
@@ -10,10 +10,10 @@ import { createQdsRadioApi } from '@qualcomm-ui/qds-core/radio';
|
|
|
10
10
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
11
11
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
12
12
|
class QdsRadioContextService extends BaseApiContextService {
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
14
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsRadioContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsRadioContextService });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsRadioContextService, decorators: [{
|
|
17
17
|
type: Injectable
|
|
18
18
|
}] });
|
|
19
19
|
const [QDS_RADIO_CONTEXT, useQdsRadioContext, provideQdsRadioContext,] = createApiContext("QdsRadioContext", QdsRadioContextService);
|
|
@@ -26,10 +26,10 @@ class RadioControlDirective extends CoreRadioItemControlDirective {
|
|
|
26
26
|
super();
|
|
27
27
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getItemControlBindings()));
|
|
28
28
|
}
|
|
29
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
29
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: RadioControlDirective, isStandalone: false, selector: "[q-radio-control]", usesInheritance: true, ngImport: i0 });
|
|
31
31
|
}
|
|
32
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioControlDirective, decorators: [{
|
|
33
33
|
type: Directive,
|
|
34
34
|
args: [{
|
|
35
35
|
selector: "[q-radio-control]",
|
|
@@ -45,19 +45,19 @@ class RadioGroupErrorTextComponent extends CoreRadioGroupErrorTextDirective {
|
|
|
45
45
|
*
|
|
46
46
|
* @default CircleAlert
|
|
47
47
|
*/
|
|
48
|
-
icon = input(CircleAlert, ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
48
|
+
icon = input(CircleAlert, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
49
49
|
qdsRadioContext = useQdsRadioContext();
|
|
50
50
|
constructor() {
|
|
51
51
|
super();
|
|
52
52
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getGroupErrorTextBindings()));
|
|
53
53
|
}
|
|
54
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
55
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
54
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupErrorTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
55
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", type: RadioGroupErrorTextComponent, isStandalone: false, selector: "[q-radio-group-error-text]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
56
56
|
<svg [qIcon]="icon()!" />
|
|
57
57
|
<ng-content />
|
|
58
58
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupErrorTextComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{
|
|
63
63
|
selector: "[q-radio-group-error-text]",
|
|
@@ -80,10 +80,10 @@ class RadioGroupHintDirective extends CoreRadioGroupHintDirective {
|
|
|
80
80
|
super();
|
|
81
81
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getGroupHintBindings()));
|
|
82
82
|
}
|
|
83
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
84
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
83
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
84
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: RadioGroupHintDirective, isStandalone: false, selector: "[q-radio-group-hint]", usesInheritance: true, ngImport: i0 });
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupHintDirective, decorators: [{
|
|
87
87
|
type: Directive,
|
|
88
88
|
args: [{
|
|
89
89
|
selector: "[q-radio-group-hint]",
|
|
@@ -99,10 +99,10 @@ class RadioGroupItemsDirective extends CoreRadioGroupItemsDirective {
|
|
|
99
99
|
super();
|
|
100
100
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getGroupItemsBindings()));
|
|
101
101
|
}
|
|
102
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
103
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
103
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: RadioGroupItemsDirective, isStandalone: false, selector: "[q-radio-group-items]", usesInheritance: true, ngImport: i0 });
|
|
104
104
|
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupItemsDirective, decorators: [{
|
|
106
106
|
type: Directive,
|
|
107
107
|
args: [{
|
|
108
108
|
selector: "[q-radio-group-items]",
|
|
@@ -118,10 +118,10 @@ class RadioGroupLabelDirective extends CoreRadioGroupLabelDirective {
|
|
|
118
118
|
super();
|
|
119
119
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getGroupLabelBindings()));
|
|
120
120
|
}
|
|
121
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
122
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
122
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: RadioGroupLabelDirective, isStandalone: false, selector: "[q-radio-group-label]", usesInheritance: true, ngImport: i0 });
|
|
123
123
|
}
|
|
124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
124
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupLabelDirective, decorators: [{
|
|
125
125
|
type: Directive,
|
|
126
126
|
args: [{
|
|
127
127
|
selector: "[q-radio-group-label]",
|
|
@@ -136,25 +136,23 @@ class RadioGroupDirective extends CoreRadioGroupDirective {
|
|
|
136
136
|
* Indents the radio items.
|
|
137
137
|
* @default false
|
|
138
138
|
*/
|
|
139
|
-
indented = input(undefined, ...(ngDevMode ?
|
|
140
|
-
transform: booleanAttribute,
|
|
141
|
-
}]));
|
|
139
|
+
indented = input(undefined, { ...(ngDevMode ? { debugName: "indented" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
142
140
|
/**
|
|
143
141
|
* The size of the radio and its elements. Governs properties like label font
|
|
144
142
|
* size, control size, and indicator size.
|
|
145
143
|
* @default 'md'
|
|
146
144
|
*/
|
|
147
|
-
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
|
|
145
|
+
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
148
146
|
qdsRadioService = inject(QdsRadioContextService);
|
|
149
147
|
ngOnInit() {
|
|
150
148
|
super.ngOnInit();
|
|
151
149
|
this.qdsRadioService.init(computed(() => createQdsRadioApi({ indented: this.indented(), size: this.size() }, normalizeProps)));
|
|
152
150
|
this.trackBindings.extendWith(computed(() => this.qdsRadioService.context().getGroupBindings()));
|
|
153
151
|
}
|
|
154
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
155
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
152
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
153
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: RadioGroupDirective, isStandalone: false, selector: "[q-radio-group]", inputs: { indented: { classPropertyName: "indented", publicName: "indented", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0 });
|
|
156
154
|
}
|
|
157
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioGroupDirective, decorators: [{
|
|
158
156
|
type: Directive,
|
|
159
157
|
args: [{
|
|
160
158
|
providers: [provideRadioContext(), provideQdsRadioContext()],
|
|
@@ -171,10 +169,10 @@ class RadioHiddenInputDirective extends CoreRadioItemHiddenInputDirective {
|
|
|
171
169
|
super();
|
|
172
170
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getItemHiddenInputBindings()));
|
|
173
171
|
}
|
|
174
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
175
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
173
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: RadioHiddenInputDirective, isStandalone: false, selector: "input[q-radio-hidden-input]", usesInheritance: true, ngImport: i0 });
|
|
176
174
|
}
|
|
177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioHiddenInputDirective, decorators: [{
|
|
178
176
|
type: Directive,
|
|
179
177
|
args: [{
|
|
180
178
|
selector: "input[q-radio-hidden-input]",
|
|
@@ -193,10 +191,10 @@ class RadioHintDirective extends CoreRadioItemHintDirective {
|
|
|
193
191
|
super();
|
|
194
192
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getItemHintBindings()));
|
|
195
193
|
}
|
|
196
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
197
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
194
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
195
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: RadioHintDirective, isStandalone: false, selector: "[q-radio-hint]", usesInheritance: true, ngImport: i0 });
|
|
198
196
|
}
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioHintDirective, decorators: [{
|
|
200
198
|
type: Directive,
|
|
201
199
|
args: [{
|
|
202
200
|
selector: "[q-radio-hint]",
|
|
@@ -212,10 +210,10 @@ class RadioLabelDirective extends CoreRadioItemLabelDirective {
|
|
|
212
210
|
super();
|
|
213
211
|
this.trackBindings.extendWith(computed(() => this.qdsRadioContext().getItemLabelBindings()));
|
|
214
212
|
}
|
|
215
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
216
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
213
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
214
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: RadioLabelDirective, isStandalone: false, selector: "[q-radio-label]", usesInheritance: true, ngImport: i0 });
|
|
217
215
|
}
|
|
218
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioLabelDirective, decorators: [{
|
|
219
217
|
type: Directive,
|
|
220
218
|
args: [{
|
|
221
219
|
selector: "[q-radio-label]",
|
|
@@ -229,13 +227,13 @@ class RadioRootDirective extends CoreRadioRootDirective {
|
|
|
229
227
|
/**
|
|
230
228
|
* @internal
|
|
231
229
|
*/
|
|
232
|
-
indented = input(...(ngDevMode ? [undefined, { debugName: "indented" }] : []));
|
|
230
|
+
indented = input(...(ngDevMode ? [undefined, { debugName: "indented" }] : /* istanbul ignore next */ []));
|
|
233
231
|
/**
|
|
234
232
|
* The size of the radio and its elements. Governs properties like label font
|
|
235
233
|
* size, control size, and indicator size.
|
|
236
234
|
* @default 'md'
|
|
237
235
|
*/
|
|
238
|
-
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
|
|
236
|
+
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
239
237
|
parentQdsRadioContext = useQdsRadioContext({
|
|
240
238
|
optional: true,
|
|
241
239
|
skipSelf: true,
|
|
@@ -246,10 +244,10 @@ class RadioRootDirective extends CoreRadioRootDirective {
|
|
|
246
244
|
this.qdsRadioService.init(computed(() => createQdsRadioApi({ size: this.size() || this.parentQdsRadioContext?.()?.size }, normalizeProps)));
|
|
247
245
|
this.trackBindings.extendWith(computed(() => this.qdsRadioService.context().getItemBindings()));
|
|
248
246
|
}
|
|
249
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
250
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
247
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
248
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: RadioRootDirective, isStandalone: false, selector: "[q-radio-root]", inputs: { indented: { classPropertyName: "indented", publicName: "indented", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioItemContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0 });
|
|
251
249
|
}
|
|
252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioRootDirective, decorators: [{
|
|
253
251
|
type: Directive,
|
|
254
252
|
args: [{
|
|
255
253
|
providers: [provideRadioItemContext(), provideQdsRadioContext()],
|
|
@@ -274,7 +272,7 @@ class RadioComponent extends RadioRootDirective {
|
|
|
274
272
|
* </label>
|
|
275
273
|
* ```
|
|
276
274
|
*/
|
|
277
|
-
hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : []));
|
|
275
|
+
hint = input(...(ngDevMode ? [undefined, { debugName: "hint" }] : /* istanbul ignore next */ []));
|
|
278
276
|
/**
|
|
279
277
|
* Optional label describing the element. Recommended. This element is
|
|
280
278
|
* automatically associated with the component's input element for accessibility.
|
|
@@ -288,9 +286,9 @@ class RadioComponent extends RadioRootDirective {
|
|
|
288
286
|
* </label>
|
|
289
287
|
* ```
|
|
290
288
|
*/
|
|
291
|
-
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : []));
|
|
292
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
293
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
289
|
+
label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
|
|
290
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
291
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: RadioComponent, isStandalone: false, selector: "[q-radio]", inputs: { hint: { classPropertyName: "hint", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideRadioItemContext(), provideQdsRadioContext()], usesInheritance: true, ngImport: i0, template: `
|
|
294
292
|
<ng-content select="[q-radio-hidden-input]">
|
|
295
293
|
<input q-radio-hidden-input />
|
|
296
294
|
</ng-content>
|
|
@@ -313,7 +311,7 @@ class RadioComponent extends RadioRootDirective {
|
|
|
313
311
|
</ng-content>
|
|
314
312
|
`, isInline: true, dependencies: [{ kind: "directive", type: RadioControlDirective, selector: "[q-radio-control]" }, { kind: "directive", type: RadioHiddenInputDirective, selector: "input[q-radio-hidden-input]" }, { kind: "directive", type: RadioHintDirective, selector: "[q-radio-hint]" }, { kind: "directive", type: RadioLabelDirective, selector: "[q-radio-label]" }] });
|
|
315
313
|
}
|
|
316
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioComponent, decorators: [{
|
|
317
315
|
type: Component,
|
|
318
316
|
args: [{
|
|
319
317
|
providers: [provideRadioItemContext(), provideQdsRadioContext()],
|
|
@@ -347,8 +345,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
347
345
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
348
346
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
349
347
|
class RadioModule {
|
|
350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
351
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
348
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
349
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: RadioModule, declarations: [RadioComponent,
|
|
352
350
|
RadioControlDirective,
|
|
353
351
|
RadioGroupDirective,
|
|
354
352
|
RadioGroupErrorTextComponent,
|
|
@@ -369,9 +367,9 @@ class RadioModule {
|
|
|
369
367
|
RadioHintDirective,
|
|
370
368
|
RadioLabelDirective,
|
|
371
369
|
RadioRootDirective] });
|
|
372
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
370
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioModule });
|
|
373
371
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioModule, decorators: [{
|
|
375
373
|
type: NgModule,
|
|
376
374
|
args: [{
|
|
377
375
|
declarations: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-radio.mjs","sources":["../../src/radio/qds-radio-context.service.ts","../../src/radio/radio-control.directive.ts","../../src/radio/radio-group/radio-group-error-text.component.ts","../../src/radio/radio-group/radio-group-hint.directive.ts","../../src/radio/radio-group/radio-group-items.directive.ts","../../src/radio/radio-group/radio-group-label.directive.ts","../../src/radio/radio-group/radio-group-root.directive.ts","../../src/radio/radio-hidden-input.directive.ts","../../src/radio/radio-hint.directive.ts","../../src/radio/radio-label.directive.ts","../../src/radio/radio-root.directive.ts","../../src/radio/radio.component.ts","../../src/radio/radio.module.ts","../../src/radio/qualcomm-ui-angular-radio.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {QdsRadioApi} from \"@qualcomm-ui/qds-core/radio\"\n\n@Injectable()\nexport class QdsRadioContextService extends BaseApiContextService<QdsRadioApi> {}\n\nexport const [\n QDS_RADIO_CONTEXT,\n useQdsRadioContext,\n provideQdsRadioContext,\n]: ApiContext<QdsRadioApi> = createApiContext<QdsRadioApi>(\n \"QdsRadioContext\",\n QdsRadioContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemControlDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-control]\",\n standalone: false,\n})\nexport class RadioControlDirective extends CoreRadioItemControlDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemControlBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed, input} from \"@angular/core\"\nimport {CircleAlert} from \"lucide-angular\"\n\nimport type {LucideIconOrString} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreRadioGroupErrorTextDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Component({\n selector: \"[q-radio-group-error-text]\",\n standalone: false,\n template: `\n <svg [qIcon]=\"icon()!\" />\n <ng-content />\n `,\n})\nexport class RadioGroupErrorTextComponent extends CoreRadioGroupErrorTextDirective {\n /**\n * Error indicator icon.\n *\n * @default CircleAlert\n */\n readonly icon = input<LucideIconOrString>(CircleAlert)\n\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupErrorTextBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupHintDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n/**\n * Hint text displayed below the radio group.\n */\n@Directive({\n selector: \"[q-radio-group-hint]\",\n standalone: false,\n})\nexport class RadioGroupHintDirective extends CoreRadioGroupHintDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupHintBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupItemsDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-items]\",\n standalone: false,\n})\nexport class RadioGroupItemsDirective extends CoreRadioGroupItemsDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupItemsBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-label]\",\n standalone: false,\n})\nexport class RadioGroupLabelDirective extends CoreRadioGroupLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioGroupDirective,\n provideRadioContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n} from \"../qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioContext(), provideQdsRadioContext()],\n selector: \"[q-radio-group]\",\n standalone: false,\n})\nexport class RadioGroupDirective\n extends CoreRadioGroupDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * Indents the radio items.\n * @default false\n */\n readonly indented = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly qdsRadioService = inject(QdsRadioContextService)\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() =>\n createQdsRadioApi(\n {indented: this.indented(), size: this.size()},\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getGroupBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemHiddenInputDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"input[q-radio-hidden-input]\",\n standalone: false,\n})\nexport class RadioHiddenInputDirective extends CoreRadioItemHiddenInputDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemHiddenInputBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemHintDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n/**\n * Hint text displayed below the radio.\n */\n@Directive({\n selector: \"[q-radio-hint]\",\n standalone: false,\n})\nexport class RadioHintDirective extends CoreRadioItemHintDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemHintBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-label]\",\n standalone: false,\n})\nexport class RadioLabelDirective extends CoreRadioItemLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioRootDirective,\n provideRadioItemContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n useQdsRadioContext,\n} from \"./qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio-root]\",\n standalone: false,\n})\nexport class RadioRootDirective\n extends CoreRadioRootDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * @internal\n */\n readonly indented = input<boolean | undefined>()\n\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly parentQdsRadioContext = useQdsRadioContext({\n optional: true,\n skipSelf: true,\n })\n readonly qdsRadioService = inject(QdsRadioContextService, {self: true})\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() =>\n createQdsRadioApi(\n {size: this.size() || this.parentQdsRadioContext?.()?.size},\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getItemBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, input} from \"@angular/core\"\n\nimport {provideRadioItemContext} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {provideQdsRadioContext} from \"./qds-radio-context.service\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\n\n@Component({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-radio-hidden-input]\">\n <input q-radio-hidden-input />\n </ng-content>\n <ng-content select=\"[q-radio-control]\">\n <div q-radio-control></div>\n </ng-content>\n <ng-content select=\"[q-radio-label]\">\n @if (label()) {\n <span q-radio-label>\n {{ label() }}\n </span>\n }\n </ng-content>\n <ng-content select=\"[q-radio-hint]\">\n @if (hint()) {\n <div q-radio-hint>\n {{ hint() }}\n </div>\n }\n </ng-content>\n `,\n})\nexport class RadioComponent extends RadioRootDirective {\n /**\n * Optional hint text displayed below the radio. Hints are hidden when the\n * radio is invalid.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <label q-radio>\n * <div q-radio-hint>...</div>\n * </label>\n * ```\n */\n readonly hint = input<string>()\n\n /**\n * Optional label describing the element. Recommended. This element is\n * automatically associated with the component's input element for accessibility.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <label q-radio>\n * <div q-radio-label>...</div>\n * </label>\n * ```\n */\n readonly label = input<string | undefined>()\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {NgModule} from \"@angular/core\"\n\nimport {IconDirective} from \"@qualcomm-ui/angular/icon\"\nimport {QBindDirective} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {RadioControlDirective} from \"./radio-control.directive\"\nimport {\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupHintDirective,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n} from \"./radio-group\"\nimport {RadioHiddenInputDirective} from \"./radio-hidden-input.directive\"\nimport {RadioHintDirective} from \"./radio-hint.directive\"\nimport {RadioLabelDirective} from \"./radio-label.directive\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\nimport {RadioComponent} from \"./radio.component\"\n\n@NgModule({\n declarations: [\n RadioComponent,\n RadioControlDirective,\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupHintDirective,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n RadioHiddenInputDirective,\n RadioHintDirective,\n RadioLabelDirective,\n RadioRootDirective,\n ],\n exports: [\n RadioComponent,\n RadioControlDirective,\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupHintDirective,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n RadioHiddenInputDirective,\n RadioHintDirective,\n RadioLabelDirective,\n RadioRootDirective,\n ],\n imports: [QBindDirective, IconDirective],\n})\nexport class RadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.RadioControlDirective","i2.RadioHiddenInputDirective","i3.RadioHintDirective","i4.RadioLabelDirective"],"mappings":";;;;;;;;;AAAA;AACA;AAYM,MAAO,sBAAuB,SAAQ,qBAAkC,CAAA;wGAAjE,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAtB,sBAAsB,EAAA,CAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC;;AAGM,MAAM,CACX,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACvB,GAA4B,gBAAgB,CAC3C,iBAAiB,EACjB,sBAAsB;;ACrBxB;AACA;AAYM,MAAO,qBAAsB,SAAQ,6B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AAuB;YACvB,wBAAwB;YACxB,wBAAwB;YACxB,yBAAyB;YACzB,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB,CAAA,EAAA,CAAA;yGAIT,WAAW,EAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBA7BvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,cAAc;wBACd,qBAAqB;wBACrB,mBAAmB;wBACnB,4BAA4B;wBAC5B,uBAAuB;wBACvB,wBAAwB;wBACxB,wBAAwB;wBACxB,yBAAyB;wBACzB,kBAAkB;wBAClB,mBAAmB;wBACnB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,cAAc;wBACd,qBAAqB;wBACrB,mBAAmB;wBACnB,4BAA4B;wBAC5B,uBAAuB;wBACvB,wBAAwB;wBACxB,wBAAwB;wBACxB,yBAAyB;wBACzB,kBAAkB;wBAClB,mBAAmB;wBACnB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC;AACzC,iBAAA;;;AClDD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-radio.mjs","sources":["../../src/radio/qds-radio-context.service.ts","../../src/radio/radio-control.directive.ts","../../src/radio/radio-group/radio-group-error-text.component.ts","../../src/radio/radio-group/radio-group-hint.directive.ts","../../src/radio/radio-group/radio-group-items.directive.ts","../../src/radio/radio-group/radio-group-label.directive.ts","../../src/radio/radio-group/radio-group-root.directive.ts","../../src/radio/radio-hidden-input.directive.ts","../../src/radio/radio-hint.directive.ts","../../src/radio/radio-label.directive.ts","../../src/radio/radio-root.directive.ts","../../src/radio/radio.component.ts","../../src/radio/radio.module.ts","../../src/radio/qualcomm-ui-angular-radio.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {QdsRadioApi} from \"@qualcomm-ui/qds-core/radio\"\n\n@Injectable()\nexport class QdsRadioContextService extends BaseApiContextService<QdsRadioApi> {}\n\nexport const [\n QDS_RADIO_CONTEXT,\n useQdsRadioContext,\n provideQdsRadioContext,\n]: ApiContext<QdsRadioApi> = createApiContext<QdsRadioApi>(\n \"QdsRadioContext\",\n QdsRadioContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemControlDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-control]\",\n standalone: false,\n})\nexport class RadioControlDirective extends CoreRadioItemControlDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemControlBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed, input} from \"@angular/core\"\nimport {CircleAlert} from \"lucide-angular\"\n\nimport type {LucideIconOrString} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreRadioGroupErrorTextDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Component({\n selector: \"[q-radio-group-error-text]\",\n standalone: false,\n template: `\n <svg [qIcon]=\"icon()!\" />\n <ng-content />\n `,\n})\nexport class RadioGroupErrorTextComponent extends CoreRadioGroupErrorTextDirective {\n /**\n * Error indicator icon.\n *\n * @default CircleAlert\n */\n readonly icon = input<LucideIconOrString>(CircleAlert)\n\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupErrorTextBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupHintDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n/**\n * Hint text displayed below the radio group.\n */\n@Directive({\n selector: \"[q-radio-group-hint]\",\n standalone: false,\n})\nexport class RadioGroupHintDirective extends CoreRadioGroupHintDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupHintBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupItemsDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-items]\",\n standalone: false,\n})\nexport class RadioGroupItemsDirective extends CoreRadioGroupItemsDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupItemsBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioGroupLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"../qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-group-label]\",\n standalone: false,\n})\nexport class RadioGroupLabelDirective extends CoreRadioGroupLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getGroupLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioGroupDirective,\n provideRadioContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n} from \"../qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioContext(), provideQdsRadioContext()],\n selector: \"[q-radio-group]\",\n standalone: false,\n})\nexport class RadioGroupDirective\n extends CoreRadioGroupDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * Indents the radio items.\n * @default false\n */\n readonly indented = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly qdsRadioService = inject(QdsRadioContextService)\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() =>\n createQdsRadioApi(\n {indented: this.indented(), size: this.size()},\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getGroupBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemHiddenInputDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"input[q-radio-hidden-input]\",\n standalone: false,\n})\nexport class RadioHiddenInputDirective extends CoreRadioItemHiddenInputDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemHiddenInputBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemHintDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n/**\n * Hint text displayed below the radio.\n */\n@Directive({\n selector: \"[q-radio-hint]\",\n standalone: false,\n})\nexport class RadioHintDirective extends CoreRadioItemHintDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemHintBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreRadioItemLabelDirective} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {useQdsRadioContext} from \"./qds-radio-context.service\"\n\n@Directive({\n selector: \"[q-radio-label]\",\n standalone: false,\n})\nexport class RadioLabelDirective extends CoreRadioItemLabelDirective {\n protected readonly qdsRadioContext = useQdsRadioContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioContext().getItemLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreRadioRootDirective,\n provideRadioItemContext,\n} from \"@qualcomm-ui/angular-core/radio\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createQdsRadioApi,\n type QdsRadioApiProps,\n type QdsRadioSize,\n} from \"@qualcomm-ui/qds-core/radio\"\n\nimport {\n provideQdsRadioContext,\n QdsRadioContextService,\n useQdsRadioContext,\n} from \"./qds-radio-context.service\"\n\n@Directive({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio-root]\",\n standalone: false,\n})\nexport class RadioRootDirective\n extends CoreRadioRootDirective\n implements SignalifyInput<QdsRadioApiProps>\n{\n /**\n * @internal\n */\n readonly indented = input<boolean | undefined>()\n\n /**\n * The size of the radio and its elements. Governs properties like label font\n * size, control size, and indicator size.\n * @default 'md'\n */\n readonly size = input<QdsRadioSize | undefined>()\n\n readonly parentQdsRadioContext = useQdsRadioContext({\n optional: true,\n skipSelf: true,\n })\n readonly qdsRadioService = inject(QdsRadioContextService, {self: true})\n\n override ngOnInit() {\n super.ngOnInit()\n\n this.qdsRadioService.init(\n computed(() =>\n createQdsRadioApi(\n {size: this.size() || this.parentQdsRadioContext?.()?.size},\n normalizeProps,\n ),\n ),\n )\n\n this.trackBindings.extendWith(\n computed(() => this.qdsRadioService.context().getItemBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, input} from \"@angular/core\"\n\nimport {provideRadioItemContext} from \"@qualcomm-ui/angular-core/radio\"\n\nimport {provideQdsRadioContext} from \"./qds-radio-context.service\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\n\n@Component({\n providers: [provideRadioItemContext(), provideQdsRadioContext()],\n selector: \"[q-radio]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-radio-hidden-input]\">\n <input q-radio-hidden-input />\n </ng-content>\n <ng-content select=\"[q-radio-control]\">\n <div q-radio-control></div>\n </ng-content>\n <ng-content select=\"[q-radio-label]\">\n @if (label()) {\n <span q-radio-label>\n {{ label() }}\n </span>\n }\n </ng-content>\n <ng-content select=\"[q-radio-hint]\">\n @if (hint()) {\n <div q-radio-hint>\n {{ hint() }}\n </div>\n }\n </ng-content>\n `,\n})\nexport class RadioComponent extends RadioRootDirective {\n /**\n * Optional hint text displayed below the radio. Hints are hidden when the\n * radio is invalid.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <label q-radio>\n * <div q-radio-hint>...</div>\n * </label>\n * ```\n */\n readonly hint = input<string>()\n\n /**\n * Optional label describing the element. Recommended. This element is\n * automatically associated with the component's input element for accessibility.\n *\n * @remarks\n * To customize the element, provide it using the directive instead:\n *\n * ```angular-html\n * <label q-radio>\n * <div q-radio-label>...</div>\n * </label>\n * ```\n */\n readonly label = input<string | undefined>()\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {NgModule} from \"@angular/core\"\n\nimport {IconDirective} from \"@qualcomm-ui/angular/icon\"\nimport {QBindDirective} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {RadioControlDirective} from \"./radio-control.directive\"\nimport {\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupHintDirective,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n} from \"./radio-group\"\nimport {RadioHiddenInputDirective} from \"./radio-hidden-input.directive\"\nimport {RadioHintDirective} from \"./radio-hint.directive\"\nimport {RadioLabelDirective} from \"./radio-label.directive\"\nimport {RadioRootDirective} from \"./radio-root.directive\"\nimport {RadioComponent} from \"./radio.component\"\n\n@NgModule({\n declarations: [\n RadioComponent,\n RadioControlDirective,\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupHintDirective,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n RadioHiddenInputDirective,\n RadioHintDirective,\n RadioLabelDirective,\n RadioRootDirective,\n ],\n exports: [\n RadioComponent,\n RadioControlDirective,\n RadioGroupDirective,\n RadioGroupErrorTextComponent,\n RadioGroupHintDirective,\n RadioGroupItemsDirective,\n RadioGroupLabelDirective,\n RadioHiddenInputDirective,\n RadioHintDirective,\n RadioLabelDirective,\n RadioRootDirective,\n ],\n imports: [QBindDirective, IconDirective],\n})\nexport class RadioModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.RadioControlDirective","i2.RadioHiddenInputDirective","i3.RadioHintDirective","i4.RadioLabelDirective"],"mappings":";;;;;;;;;AAAA;AACA;AAYM,MAAO,sBAAuB,SAAQ,qBAAkC,CAAA;uGAAjE,sBAAsB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAtB,sBAAsB,EAAA,CAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBADlC;;AAGM,MAAM,CACX,iBAAiB,EACjB,kBAAkB,EAClB,sBAAsB,EACvB,GAA4B,gBAAgB,CAC3C,iBAAiB,EACjB,sBAAsB;;ACrBxB;AACA;AAYM,MAAO,qBAAsB,SAAQ,6BAA6B,CAAA;IACnD,eAAe,GAAG,kBAAkB,EAAE;AAEzD,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,aAAa,CAAC,UAAU,CAC3B,QAAQ,CAAC,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC,sBAAsB,EAAE,CAAC,CAChE;IACH;uGARW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAArB,qBAAqB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,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,wBAAwB;wBACxB,yBAAyB;wBACzB,kBAAkB;wBAClB,mBAAmB;wBACnB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,cAAc,EAAE,aAAa,CAAC;AACzC,iBAAA;;;AClDD;;AAEG;;;;"}
|
|
@@ -12,10 +12,10 @@ import { createQdsSegmentedControlApi } from '@qualcomm-ui/qds-core/segmented-co
|
|
|
12
12
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
13
13
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
14
14
|
class QdsSegmentedControlContextService extends BaseApiContextService {
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsSegmentedControlContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
16
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsSegmentedControlContextService });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsSegmentedControlContextService, decorators: [{
|
|
19
19
|
type: Injectable
|
|
20
20
|
}] });
|
|
21
21
|
const [QDS_SEGMENTED_CONTROL_CONTEXT, useQdsSegmentedControlContext, provideQdsSegmentedControlContext,] = createApiContext("QdsSegmentedControlContext", QdsSegmentedControlContextService);
|
|
@@ -31,10 +31,10 @@ class SegmentedControlHiddenInputDirective extends CoreSegmentedControlHiddenInp
|
|
|
31
31
|
super();
|
|
32
32
|
this.trackBindings.extendWith(computed(() => this.qdsSegmentedControlContext().getItemHiddenInputBindings()));
|
|
33
33
|
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
35
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SegmentedControlHiddenInputDirective, isStandalone: false, selector: "[q-segmented-control-hidden-input]", usesInheritance: true, ngImport: i0 });
|
|
36
36
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlHiddenInputDirective, decorators: [{
|
|
38
38
|
type: Directive,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: "[q-segmented-control-hidden-input]",
|
|
@@ -50,10 +50,10 @@ class SegmentedControlItemRootDirective extends CoreSegmentedControlItemDirectiv
|
|
|
50
50
|
super.ngOnInit();
|
|
51
51
|
this.trackBindings.extendWith(computed(() => this.qdsSegmentedControlContext().getItemBindings()));
|
|
52
52
|
}
|
|
53
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlItemRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SegmentedControlItemRootDirective, isStandalone: false, selector: "[q-segmented-control-item-root]", providers: [provideCheckboxContext()], usesInheritance: true, hostDirectives: [{ directive: i1.QuiPreloadDirective }], ngImport: i0 });
|
|
55
55
|
}
|
|
56
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlItemRootDirective, decorators: [{
|
|
57
57
|
type: Directive,
|
|
58
58
|
args: [{
|
|
59
59
|
hostDirectives: [QuiPreloadDirective],
|
|
@@ -74,10 +74,10 @@ class SegmentedControlItemTextDirective extends CoreSegmentedControlItemTextDire
|
|
|
74
74
|
super();
|
|
75
75
|
this.trackBindings.extendWith(computed(() => this.qdsSegmentedControlContext().getItemTextBindings()));
|
|
76
76
|
}
|
|
77
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
78
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
77
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlItemTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: SegmentedControlItemTextDirective, isStandalone: false, selector: "[q-segmented-control-item-text]", usesInheritance: true, ngImport: i0 });
|
|
79
79
|
}
|
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlItemTextDirective, decorators: [{
|
|
81
81
|
type: Directive,
|
|
82
82
|
args: [{
|
|
83
83
|
selector: "[q-segmented-control-item-text]",
|
|
@@ -88,10 +88,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
88
88
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
89
89
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
90
90
|
class SegmentedControlItemComponent extends SegmentedControlItemRootDirective {
|
|
91
|
-
text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
|
|
92
|
-
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
93
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
91
|
+
text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ []));
|
|
92
|
+
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
93
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlItemComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
94
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: SegmentedControlItemComponent, isStandalone: false, selector: "[q-segmented-control-item]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideCheckboxContext()], usesInheritance: true, ngImport: i0, template: `
|
|
95
95
|
<ng-content select="[q-segmented-control-item-icon]">
|
|
96
96
|
@if (icon()) {
|
|
97
97
|
<svg [qIcon]="icon()!"></svg>
|
|
@@ -107,7 +107,7 @@ class SegmentedControlItemComponent extends SegmentedControlItemRootDirective {
|
|
|
107
107
|
</ng-content>
|
|
108
108
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1$1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }, { kind: "directive", type: SegmentedControlItemTextDirective, selector: "[q-segmented-control-item-text]" }, { kind: "directive", type: SegmentedControlHiddenInputDirective, selector: "[q-segmented-control-hidden-input]" }] });
|
|
109
109
|
}
|
|
110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlItemComponent, decorators: [{
|
|
111
111
|
type: Component,
|
|
112
112
|
args: [{
|
|
113
113
|
providers: [provideCheckboxContext()],
|
|
@@ -138,15 +138,15 @@ class SegmentedControlDirective extends CoreSegmentedControlRootDirective {
|
|
|
138
138
|
* Governs the width and height of the segmented control as well as the font size
|
|
139
139
|
* of its content.
|
|
140
140
|
*/
|
|
141
|
-
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
|
|
141
|
+
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
142
142
|
/**
|
|
143
143
|
* The style variant of the segmented control.
|
|
144
144
|
*/
|
|
145
|
-
variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : []));
|
|
145
|
+
variant = input(...(ngDevMode ? [undefined, { debugName: "variant" }] : /* istanbul ignore next */ []));
|
|
146
146
|
/**
|
|
147
147
|
* The style variant of the segmented control.
|
|
148
148
|
*/
|
|
149
|
-
layout = input(...(ngDevMode ? [undefined, { debugName: "layout" }] : []));
|
|
149
|
+
layout = input(...(ngDevMode ? [undefined, { debugName: "layout" }] : /* istanbul ignore next */ []));
|
|
150
150
|
qdsSegmentedControlService = inject(QdsSegmentedControlContextService);
|
|
151
151
|
constructor() {
|
|
152
152
|
super();
|
|
@@ -158,16 +158,16 @@ class SegmentedControlDirective extends CoreSegmentedControlRootDirective {
|
|
|
158
158
|
layout: this.layout(),
|
|
159
159
|
size: this.size(),
|
|
160
160
|
variant: this.variant(),
|
|
161
|
-
}, normalizeProps), ...(ngDevMode ? [{ debugName: "qdsSegmentedControlApi" }] : []));
|
|
161
|
+
}, normalizeProps), ...(ngDevMode ? [{ debugName: "qdsSegmentedControlApi" }] : /* istanbul ignore next */ []));
|
|
162
162
|
this.qdsSegmentedControlService.init(qdsSegmentedControlApi);
|
|
163
163
|
}
|
|
164
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
165
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
164
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
165
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: SegmentedControlDirective, isStandalone: false, selector: "[q-segmented-control]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
166
166
|
provideSegmentedControlContext(),
|
|
167
167
|
provideQdsSegmentedControlContext(),
|
|
168
168
|
], usesInheritance: true, ngImport: i0 });
|
|
169
169
|
}
|
|
170
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlDirective, decorators: [{
|
|
171
171
|
type: Directive,
|
|
172
172
|
args: [{
|
|
173
173
|
providers: [
|
|
@@ -182,8 +182,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
182
182
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
183
183
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
184
184
|
class SegmentedControlModule {
|
|
185
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
186
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
186
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlModule, declarations: [SegmentedControlDirective,
|
|
187
187
|
SegmentedControlItemComponent,
|
|
188
188
|
SegmentedControlItemRootDirective,
|
|
189
189
|
SegmentedControlItemTextDirective,
|
|
@@ -192,9 +192,9 @@ class SegmentedControlModule {
|
|
|
192
192
|
SegmentedControlItemRootDirective,
|
|
193
193
|
SegmentedControlItemTextDirective,
|
|
194
194
|
SegmentedControlHiddenInputDirective] });
|
|
195
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
195
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlModule });
|
|
196
196
|
}
|
|
197
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: SegmentedControlModule, decorators: [{
|
|
198
198
|
type: NgModule,
|
|
199
199
|
args: [{
|
|
200
200
|
declarations: [
|