@qualcomm-ui/angular-core 1.5.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-core-accordion.mjs +44 -50
- package/fesm2022/qualcomm-ui-angular-core-accordion.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +56 -66
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +22 -24
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-collection.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-collection.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +116 -152
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +64 -78
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs +15 -15
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-events.mjs +4 -4
- package/fesm2022/qualcomm-ui-angular-core-events.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs +9 -15
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +32 -32
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-input.mjs +35 -51
- package/fesm2022/qualcomm-ui-angular-core-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs +11 -23
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs +20 -20
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs +111 -127
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +80 -106
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +46 -60
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +46 -50
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs +62 -66
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs +18 -22
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs +18 -24
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +31 -30
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs +47 -52
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs +72 -80
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +32 -38
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-select.mjs +88 -102
- package/fesm2022/qualcomm-ui-angular-core-select.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs +44 -58
- package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs +2 -2
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-slider.mjs +98 -102
- package/fesm2022/qualcomm-ui-angular-core-slider.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-state.mjs +5 -5
- package/fesm2022/qualcomm-ui-angular-core-state.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs +38 -40
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +51 -65
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +34 -34
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +37 -37
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs +30 -30
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +37 -45
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-tree.mjs +70 -78
- package/fesm2022/qualcomm-ui-angular-core-tree.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs +5 -5
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs.map +1 -1
- package/package.json +57 -57
- package/{accordion/index.d.ts → types/qualcomm-ui-angular-core-accordion.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-accordion.d.ts.map +1 -0
- package/{attributes/index.d.ts → types/qualcomm-ui-angular-core-attributes.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-attributes.d.ts.map +1 -0
- package/{avatar/index.d.ts → types/qualcomm-ui-angular-core-avatar.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-avatar.d.ts.map +1 -0
- package/{checkbox/index.d.ts → types/qualcomm-ui-angular-core-checkbox.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-checkbox.d.ts.map +1 -0
- package/{collapsible/index.d.ts → types/qualcomm-ui-angular-core-collapsible.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-collapsible.d.ts.map +1 -0
- package/{collection/index.d.ts → types/qualcomm-ui-angular-core-collection.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-collection.d.ts.map +1 -0
- package/{combobox/index.d.ts → types/qualcomm-ui-angular-core-combobox.d.ts} +2 -2
- package/types/qualcomm-ui-angular-core-combobox.d.ts.map +1 -0
- package/{common/index.d.ts → types/qualcomm-ui-angular-core-common.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-common.d.ts.map +1 -0
- package/{dialog/index.d.ts → types/qualcomm-ui-angular-core-dialog.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-dialog.d.ts.map +1 -0
- package/{dom/index.d.ts → types/qualcomm-ui-angular-core-dom.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-dom.d.ts.map +1 -0
- package/{events/index.d.ts → types/qualcomm-ui-angular-core-events.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-events.d.ts.map +1 -0
- package/{forms/index.d.ts → types/qualcomm-ui-angular-core-forms.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-forms.d.ts.map +1 -0
- package/{highlight/index.d.ts → types/qualcomm-ui-angular-core-highlight.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-highlight.d.ts.map +1 -0
- package/{inline-notification/index.d.ts → types/qualcomm-ui-angular-core-inline-notification.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-inline-notification.d.ts.map +1 -0
- package/{input/index.d.ts → types/qualcomm-ui-angular-core-input.d.ts} +2 -2
- package/types/qualcomm-ui-angular-core-input.d.ts.map +1 -0
- package/{locale/index.d.ts → types/qualcomm-ui-angular-core-locale.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-locale.d.ts.map +1 -0
- package/{lorem-ipsum/index.d.ts → types/qualcomm-ui-angular-core-lorem-ipsum.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-lorem-ipsum.d.ts.map +1 -0
- package/{lucide/index.d.ts → types/qualcomm-ui-angular-core-lucide.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-lucide.d.ts.map +1 -0
- package/{machine/index.d.ts → types/qualcomm-ui-angular-core-machine.d.ts} +2 -2
- package/types/qualcomm-ui-angular-core-machine.d.ts.map +1 -0
- package/{menu/index.d.ts → types/qualcomm-ui-angular-core-menu.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-menu.d.ts.map +1 -0
- package/{number-input/index.d.ts → types/qualcomm-ui-angular-core-number-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-number-input.d.ts.map +1 -0
- package/{observers/index.d.ts → types/qualcomm-ui-angular-core-observers.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-observers.d.ts.map +1 -0
- package/{pagination/index.d.ts → types/qualcomm-ui-angular-core-pagination.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-pagination.d.ts.map +1 -0
- package/{password-input/index.d.ts → types/qualcomm-ui-angular-core-password-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-password-input.d.ts.map +1 -0
- package/{popover/index.d.ts → types/qualcomm-ui-angular-core-popover.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-popover.d.ts.map +1 -0
- package/{portal/index.d.ts → types/qualcomm-ui-angular-core-portal.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-portal.d.ts.map +1 -0
- package/{presence/index.d.ts → types/qualcomm-ui-angular-core-presence.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-presence.d.ts.map +1 -0
- package/{progress-ring/index.d.ts → types/qualcomm-ui-angular-core-progress-ring.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-progress-ring.d.ts.map +1 -0
- package/{progress/index.d.ts → types/qualcomm-ui-angular-core-progress.d.ts} +6 -2
- package/types/qualcomm-ui-angular-core-progress.d.ts.map +1 -0
- package/{radio/index.d.ts → types/qualcomm-ui-angular-core-radio.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-radio.d.ts.map +1 -0
- package/{segmented-control/index.d.ts → types/qualcomm-ui-angular-core-segmented-control.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-segmented-control.d.ts.map +1 -0
- package/{select/index.d.ts → types/qualcomm-ui-angular-core-select.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-select.d.ts.map +1 -0
- package/{side-nav/index.d.ts → types/qualcomm-ui-angular-core-side-nav.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-side-nav.d.ts.map +1 -0
- package/{signals/index.d.ts → types/qualcomm-ui-angular-core-signals.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-signals.d.ts.map +1 -0
- package/{slider/index.d.ts → types/qualcomm-ui-angular-core-slider.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-slider.d.ts.map +1 -0
- package/{state/index.d.ts → types/qualcomm-ui-angular-core-state.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-state.d.ts.map +1 -0
- package/{switch/index.d.ts → types/qualcomm-ui-angular-core-switch.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-switch.d.ts.map +1 -0
- package/{tabs/index.d.ts → types/qualcomm-ui-angular-core-tabs.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-tabs.d.ts.map +1 -0
- package/{text-area/index.d.ts → types/qualcomm-ui-angular-core-text-area.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-text-area.d.ts.map +1 -0
- package/{text-input/index.d.ts → types/qualcomm-ui-angular-core-text-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-text-input.d.ts.map +1 -0
- package/{toast/index.d.ts → types/qualcomm-ui-angular-core-toast.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-toast.d.ts.map +1 -0
- package/{tooltip/index.d.ts → types/qualcomm-ui-angular-core-tooltip.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-tooltip.d.ts.map +1 -0
- package/{tree/index.d.ts → types/qualcomm-ui-angular-core-tree.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-tree.d.ts.map +1 -0
- package/{virtual/index.d.ts → types/qualcomm-ui-angular-core-virtual.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-virtual.d.ts.map +1 -0
- package/types/qualcomm-ui-angular-core.d.ts +3 -0
- package/types/qualcomm-ui-angular-core.d.ts.map +1 -0
- package/accordion/index.d.ts.map +0 -1
- package/attributes/index.d.ts.map +0 -1
- package/avatar/index.d.ts.map +0 -1
- package/checkbox/index.d.ts.map +0 -1
- package/collapsible/index.d.ts.map +0 -1
- package/collection/index.d.ts.map +0 -1
- package/combobox/index.d.ts.map +0 -1
- package/common/index.d.ts.map +0 -1
- package/dialog/index.d.ts.map +0 -1
- package/dom/index.d.ts.map +0 -1
- package/events/index.d.ts.map +0 -1
- package/forms/index.d.ts.map +0 -1
- package/highlight/index.d.ts.map +0 -1
- package/index.d.ts +0 -3
- package/index.d.ts.map +0 -1
- package/inline-notification/index.d.ts.map +0 -1
- package/input/index.d.ts.map +0 -1
- package/locale/index.d.ts.map +0 -1
- package/lorem-ipsum/index.d.ts.map +0 -1
- package/lucide/index.d.ts.map +0 -1
- package/machine/index.d.ts.map +0 -1
- package/menu/index.d.ts.map +0 -1
- package/number-input/index.d.ts.map +0 -1
- package/observers/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/portal/index.d.ts.map +0 -1
- package/presence/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/signals/index.d.ts.map +0 -1
- package/slider/index.d.ts.map +0 -1
- package/state/index.d.ts.map +0 -1
- package/switch/index.d.ts.map +0 -1
- package/tabs/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/toast/index.d.ts.map +0 -1
- package/tooltip/index.d.ts.map +0 -1
- package/tree/index.d.ts.map +0 -1
- package/virtual/index.d.ts.map +0 -1
|
@@ -16,33 +16,27 @@ class AbstractRadioFormControlDirective {
|
|
|
16
16
|
* control the state of the radio group. This property will be ignored if you
|
|
17
17
|
* opt into controlled state via form control bindings.
|
|
18
18
|
*/
|
|
19
|
-
defaultValue = input(...(ngDevMode ? [undefined, { debugName: "defaultValue" }] : []));
|
|
19
|
+
defaultValue = input(...(ngDevMode ? [undefined, { debugName: "defaultValue" }] : /* istanbul ignore next */ []));
|
|
20
20
|
/**
|
|
21
21
|
* Controls whether the input is disabled in template-driven forms. When true,
|
|
22
22
|
* prevents user interaction and applies visual styling to indicate the disabled
|
|
23
23
|
* state.
|
|
24
24
|
*/
|
|
25
|
-
disabled = input(undefined, ...(ngDevMode ?
|
|
26
|
-
transform: booleanAttribute,
|
|
27
|
-
}]));
|
|
25
|
+
disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
28
26
|
/**
|
|
29
27
|
* The name of the input field in a radio group. Useful for form submission.
|
|
30
28
|
*/
|
|
31
|
-
name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
29
|
+
name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
32
30
|
/**
|
|
33
31
|
* Whether the input is read-only. When true, prevents user interaction while
|
|
34
32
|
* keeping the input focusable and visible.
|
|
35
33
|
*/
|
|
36
|
-
readOnly = input(undefined, ...(ngDevMode ?
|
|
37
|
-
transform: booleanAttribute,
|
|
38
|
-
}]));
|
|
34
|
+
readOnly = input(undefined, { ...(ngDevMode ? { debugName: "readOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
39
35
|
/**
|
|
40
36
|
* Controls whether the input is required in template-driven forms. When
|
|
41
37
|
* true, the input must have a value for form validation to pass.
|
|
42
38
|
*/
|
|
43
|
-
required = input(undefined, ...(ngDevMode ?
|
|
44
|
-
transform: booleanAttribute,
|
|
45
|
-
}]));
|
|
39
|
+
required = input(undefined, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
46
40
|
/**
|
|
47
41
|
* Event emitted when the radio is selected or deselected. This is only emitted
|
|
48
42
|
* on interaction. It doesn't emit in response to programmatic or form control
|
|
@@ -50,16 +44,16 @@ class AbstractRadioFormControlDirective {
|
|
|
50
44
|
*/
|
|
51
45
|
valueChanged = output();
|
|
52
46
|
/* the internal "value" state of the radio */
|
|
53
|
-
value = signal(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
47
|
+
value = signal(null, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
54
48
|
onDestroy = useOnDestroy();
|
|
55
49
|
injector = inject(Injector);
|
|
56
|
-
formControlStatus = signal(undefined, ...(ngDevMode ? [{ debugName: "formControlStatus" }] : []));
|
|
57
|
-
formSubmitted = signal(false, ...(ngDevMode ? [{ debugName: "formSubmitted" }] : []));
|
|
50
|
+
formControlStatus = signal(undefined, ...(ngDevMode ? [{ debugName: "formControlStatus" }] : /* istanbul ignore next */ []));
|
|
51
|
+
formSubmitted = signal(false, ...(ngDevMode ? [{ debugName: "formSubmitted" }] : /* istanbul ignore next */ []));
|
|
58
52
|
ngControl = inject(NgControl, {
|
|
59
53
|
optional: true,
|
|
60
54
|
self: true,
|
|
61
55
|
});
|
|
62
|
-
formEventData = signal(null, ...(ngDevMode ? [{ debugName: "formEventData" }] : []));
|
|
56
|
+
formEventData = signal(null, ...(ngDevMode ? [{ debugName: "formEventData" }] : /* istanbul ignore next */ []));
|
|
63
57
|
/**
|
|
64
58
|
* If the component is bound to an Angular AbstractControl, its state wins.
|
|
65
59
|
* If not, fall back to the host attribute.
|
|
@@ -75,7 +69,7 @@ class AbstractRadioFormControlDirective {
|
|
|
75
69
|
return status === "DISABLED";
|
|
76
70
|
}
|
|
77
71
|
return !!disabled;
|
|
78
|
-
}, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
|
|
72
|
+
}, ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
|
|
79
73
|
invalid = computed(() => {
|
|
80
74
|
const formEventData = this.formEventData();
|
|
81
75
|
const submitted = this.formSubmitted();
|
|
@@ -108,7 +102,7 @@ class AbstractRadioFormControlDirective {
|
|
|
108
102
|
// "change"
|
|
109
103
|
return dirty && invalid;
|
|
110
104
|
}
|
|
111
|
-
}, ...(ngDevMode ? [{ debugName: "invalid" }] : []));
|
|
105
|
+
}, ...(ngDevMode ? [{ debugName: "invalid" }] : /* istanbul ignore next */ []));
|
|
112
106
|
isRequired = linkedSignal(() => {
|
|
113
107
|
const control = this.control;
|
|
114
108
|
const required = this.required();
|
|
@@ -119,7 +113,7 @@ class AbstractRadioFormControlDirective {
|
|
|
119
113
|
return control.hasValidator(Validators.required);
|
|
120
114
|
}
|
|
121
115
|
return false;
|
|
122
|
-
}, ...(ngDevMode ? [{ debugName: "isRequired" }] : []));
|
|
116
|
+
}, ...(ngDevMode ? [{ debugName: "isRequired" }] : /* istanbul ignore next */ []));
|
|
123
117
|
constructor() {
|
|
124
118
|
if (this.ngControl) {
|
|
125
119
|
this.ngControl.valueAccessor = this;
|
|
@@ -256,20 +250,20 @@ class AbstractRadioFormControlDirective {
|
|
|
256
250
|
setDisabledState(isDisabled) {
|
|
257
251
|
this.isDisabled.set(isDisabled);
|
|
258
252
|
}
|
|
259
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
260
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
253
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AbstractRadioFormControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
254
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: AbstractRadioFormControlDirective, isStandalone: true, inputs: { defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged" }, ngImport: i0 });
|
|
261
255
|
}
|
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AbstractRadioFormControlDirective, decorators: [{
|
|
263
257
|
type: Directive
|
|
264
258
|
}], ctorParameters: () => [], propDecorators: { defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
|
|
265
259
|
|
|
266
260
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
267
261
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
268
262
|
class RadioContextService extends BaseApiContextService {
|
|
269
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
270
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
264
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioContextService });
|
|
271
265
|
}
|
|
272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioContextService, decorators: [{
|
|
273
267
|
type: Injectable
|
|
274
268
|
}] });
|
|
275
269
|
const [RADIO_CONTEXT, useRadioContext, provideRadioContext,] = createApiContext("RadioContext", RadioContextService);
|
|
@@ -281,21 +275,21 @@ class CoreRadioGroupErrorTextDirective {
|
|
|
281
275
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
282
276
|
* omitted, a unique identifier will be generated for accessibility.
|
|
283
277
|
*/
|
|
284
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
278
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
285
279
|
radioContext = useRadioContext();
|
|
286
280
|
trackBindings = useTrackBindings(() => this.radioContext().getGroupErrorTextBindings({
|
|
287
281
|
id: this.hostId(),
|
|
288
282
|
onDestroy: this.onDestroy,
|
|
289
283
|
}));
|
|
290
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
284
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
291
285
|
onDestroy = useOnDestroy();
|
|
292
286
|
ngOnInit() {
|
|
293
287
|
this.trackBindings();
|
|
294
288
|
}
|
|
295
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
296
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
289
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
290
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioGroupErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
297
291
|
}
|
|
298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupErrorTextDirective, decorators: [{
|
|
299
293
|
type: Directive
|
|
300
294
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
301
295
|
|
|
@@ -306,21 +300,21 @@ class CoreRadioGroupHintDirective {
|
|
|
306
300
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
307
301
|
* omitted, a unique identifier will be generated for accessibility.
|
|
308
302
|
*/
|
|
309
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
303
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
310
304
|
radioContext = useRadioContext();
|
|
311
305
|
trackBindings = useTrackBindings(() => this.radioContext().getGroupHintBindings({
|
|
312
306
|
id: this.hostId(),
|
|
313
307
|
onDestroy: this.onDestroy,
|
|
314
308
|
}));
|
|
315
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
309
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
316
310
|
onDestroy = useOnDestroy();
|
|
317
311
|
ngOnInit() {
|
|
318
312
|
this.trackBindings();
|
|
319
313
|
}
|
|
320
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
321
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
314
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
315
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioGroupHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
322
316
|
}
|
|
323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupHintDirective, decorators: [{
|
|
324
318
|
type: Directive
|
|
325
319
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
326
320
|
|
|
@@ -332,10 +326,10 @@ class CoreRadioGroupItemsDirective {
|
|
|
332
326
|
ngOnInit() {
|
|
333
327
|
this.trackBindings();
|
|
334
328
|
}
|
|
335
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
336
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
329
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupItemsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
330
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreRadioGroupItemsDirective, isStandalone: true, ngImport: i0 });
|
|
337
331
|
}
|
|
338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
332
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupItemsDirective, decorators: [{
|
|
339
333
|
type: Directive
|
|
340
334
|
}] });
|
|
341
335
|
|
|
@@ -346,21 +340,21 @@ class CoreRadioGroupLabelDirective {
|
|
|
346
340
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
347
341
|
* omitted, a unique identifier will be generated for accessibility.)
|
|
348
342
|
*/
|
|
349
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
343
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
350
344
|
radioContext = useRadioContext();
|
|
351
345
|
trackBindings = useTrackBindings(() => this.radioContext().getLabelBindings({
|
|
352
346
|
id: this.hostId(),
|
|
353
347
|
onDestroy: this.onDestroy,
|
|
354
348
|
}));
|
|
355
349
|
onDestroy = useOnDestroy();
|
|
356
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
350
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
357
351
|
ngOnInit() {
|
|
358
352
|
this.trackBindings();
|
|
359
353
|
}
|
|
360
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
361
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
354
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
355
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioGroupLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
362
356
|
}
|
|
363
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupLabelDirective, decorators: [{
|
|
364
358
|
type: Directive
|
|
365
359
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
366
360
|
|
|
@@ -372,30 +366,30 @@ class CoreRadioGroupDirective extends AbstractRadioFormControlDirective {
|
|
|
372
366
|
*
|
|
373
367
|
* @default "ltr"
|
|
374
368
|
*/
|
|
375
|
-
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
|
|
369
|
+
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : /* istanbul ignore next */ []));
|
|
376
370
|
/**
|
|
377
371
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
378
372
|
* omitted, a unique identifier will be generated for accessibility.)
|
|
379
373
|
*/
|
|
380
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
374
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
381
375
|
/**
|
|
382
376
|
* A root node to correctly resolve the Document in custom environments. i.e.,
|
|
383
377
|
* Iframes, Electron.
|
|
384
378
|
*/
|
|
385
|
-
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
|
|
379
|
+
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : /* istanbul ignore next */ []));
|
|
386
380
|
/**
|
|
387
381
|
* Orientation of the radio group
|
|
388
382
|
*
|
|
389
383
|
* @default 'vertical'
|
|
390
384
|
*/
|
|
391
|
-
orientation = input(...(ngDevMode ? [undefined, { debugName: "orientation" }] : []));
|
|
385
|
+
orientation = input(...(ngDevMode ? [undefined, { debugName: "orientation" }] : /* istanbul ignore next */ []));
|
|
392
386
|
radioContextService = inject(RadioContextService);
|
|
393
387
|
document = inject(DOCUMENT);
|
|
394
388
|
trackBindings = useTrackBindings(() => this.radioContextService.context().getGroupBindings({
|
|
395
389
|
id: this.hostId(),
|
|
396
390
|
onDestroy: this.onDestroy,
|
|
397
391
|
}));
|
|
398
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
392
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
399
393
|
isDestroyed = useIsDestroyed();
|
|
400
394
|
onBlur() {
|
|
401
395
|
if (!this.isDestroyed()) {
|
|
@@ -433,10 +427,10 @@ class CoreRadioGroupDirective extends AbstractRadioFormControlDirective {
|
|
|
433
427
|
})), this.injector);
|
|
434
428
|
this.radioContextService.init(computed(() => createRadioApi(machine, normalizeProps)));
|
|
435
429
|
}
|
|
436
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
437
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
430
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
431
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioGroupDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null } }, host: { listeners: { "focusout": "onBlur()" } }, usesInheritance: true, ngImport: i0 });
|
|
438
432
|
}
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioGroupDirective, decorators: [{
|
|
440
434
|
type: Directive,
|
|
441
435
|
args: [{
|
|
442
436
|
host: {
|
|
@@ -448,10 +442,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
448
442
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
449
443
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
450
444
|
class RadioItemContextService extends BaseApiContextService {
|
|
451
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
452
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
445
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioItemContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
446
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioItemContextService });
|
|
453
447
|
}
|
|
454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: RadioItemContextService, decorators: [{
|
|
455
449
|
type: Injectable
|
|
456
450
|
}] });
|
|
457
451
|
const [RADIO_ITEM_CONTEXT, useRadioItemContext, provideRadioItemContext,] = createApiContext("RadioItemContext", RadioItemContextService);
|
|
@@ -465,10 +459,10 @@ class CoreRadioItemControlDirective {
|
|
|
465
459
|
ngOnInit() {
|
|
466
460
|
this.trackBindings();
|
|
467
461
|
}
|
|
468
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
469
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
462
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
463
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreRadioItemControlDirective, isStandalone: true, ngImport: i0 });
|
|
470
464
|
}
|
|
471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemControlDirective, decorators: [{
|
|
472
466
|
type: Directive
|
|
473
467
|
}] });
|
|
474
468
|
|
|
@@ -479,7 +473,7 @@ class CoreRadioItemHiddenInputDirective {
|
|
|
479
473
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
480
474
|
* omitted, a unique identifier will be generated for accessibility.)
|
|
481
475
|
*/
|
|
482
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
476
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
483
477
|
radioContext = useRadioContext();
|
|
484
478
|
radioItemContext = useRadioItemContext();
|
|
485
479
|
trackBindings = useTrackBindings(() => this.radioContext().getRadioHiddenInputBindings({
|
|
@@ -488,14 +482,14 @@ class CoreRadioItemHiddenInputDirective {
|
|
|
488
482
|
onDestroy: this.onDestroy,
|
|
489
483
|
}));
|
|
490
484
|
onDestroy = useOnDestroy();
|
|
491
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
485
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
492
486
|
ngOnInit() {
|
|
493
487
|
this.trackBindings();
|
|
494
488
|
}
|
|
495
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
496
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
489
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
490
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioItemHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
497
491
|
}
|
|
498
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemHiddenInputDirective, decorators: [{
|
|
499
493
|
type: Directive
|
|
500
494
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
501
495
|
|
|
@@ -506,7 +500,7 @@ class CoreRadioItemHintDirective {
|
|
|
506
500
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
507
501
|
* omitted, a unique identifier will be generated for accessibility.
|
|
508
502
|
*/
|
|
509
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
503
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
510
504
|
radioContext = useRadioContext();
|
|
511
505
|
radioItemContext = useRadioItemContext();
|
|
512
506
|
trackBindings = useTrackBindings(() => this.radioContext().getRadioHintBindings({
|
|
@@ -515,14 +509,14 @@ class CoreRadioItemHintDirective {
|
|
|
515
509
|
onDestroy: this.onDestroy,
|
|
516
510
|
}));
|
|
517
511
|
onDestroy = useOnDestroy();
|
|
518
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
512
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
519
513
|
ngOnInit() {
|
|
520
514
|
this.trackBindings();
|
|
521
515
|
}
|
|
522
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
523
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
516
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
517
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioItemHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
524
518
|
}
|
|
525
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemHintDirective, decorators: [{
|
|
526
520
|
type: Directive
|
|
527
521
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
528
522
|
|
|
@@ -533,7 +527,7 @@ class CoreRadioItemLabelDirective {
|
|
|
533
527
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
534
528
|
* omitted, a unique identifier will be generated for accessibility.)
|
|
535
529
|
*/
|
|
536
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
530
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
537
531
|
radioContext = useRadioContext();
|
|
538
532
|
radioItemContext = useRadioItemContext();
|
|
539
533
|
trackBindings = useTrackBindings(() => this.radioContext().getRadioLabelBindings({
|
|
@@ -542,14 +536,14 @@ class CoreRadioItemLabelDirective {
|
|
|
542
536
|
onDestroy: this.onDestroy,
|
|
543
537
|
}));
|
|
544
538
|
onDestroy = useOnDestroy();
|
|
545
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
539
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
546
540
|
ngOnInit() {
|
|
547
541
|
this.trackBindings();
|
|
548
542
|
}
|
|
549
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
550
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
543
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
544
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioItemLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
551
545
|
}
|
|
552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
546
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioItemLabelDirective, decorators: [{
|
|
553
547
|
type: Directive
|
|
554
548
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
555
549
|
|
|
@@ -565,19 +559,17 @@ class CoreRadioRootDirective {
|
|
|
565
559
|
* The parent `q-radio-group` `disabled` property, if set to true, will override
|
|
566
560
|
* this input.
|
|
567
561
|
*/
|
|
568
|
-
disabled = input(undefined, ...(ngDevMode ?
|
|
569
|
-
transform: booleanAttribute,
|
|
570
|
-
}]));
|
|
562
|
+
disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
571
563
|
/**
|
|
572
564
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
573
565
|
* omitted, a unique identifier will be generated for accessibility.)
|
|
574
566
|
*/
|
|
575
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
567
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
576
568
|
/**
|
|
577
569
|
* The value of the radio input. This is used to identify which radio is
|
|
578
570
|
* selected in a group.
|
|
579
571
|
*/
|
|
580
|
-
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
572
|
+
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
581
573
|
radioContext = useRadioContext();
|
|
582
574
|
radioItemContext = inject(RadioItemContextService);
|
|
583
575
|
trackBindings = useTrackBindings(() => this.radioContext().getRadioBindings({
|
|
@@ -586,7 +578,7 @@ class CoreRadioRootDirective {
|
|
|
586
578
|
onDestroy: this.onDestroy,
|
|
587
579
|
value: this.value(),
|
|
588
580
|
}));
|
|
589
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
581
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
590
582
|
onDestroy = useOnDestroy();
|
|
591
583
|
constructor() {
|
|
592
584
|
useForbiddenFormControlWarning({
|
|
@@ -601,10 +593,10 @@ class CoreRadioRootDirective {
|
|
|
601
593
|
value: this.value(),
|
|
602
594
|
})));
|
|
603
595
|
}
|
|
604
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
605
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
596
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
597
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreRadioRootDirective, isStandalone: true, inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
606
598
|
}
|
|
607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
599
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreRadioRootDirective, decorators: [{
|
|
608
600
|
type: Directive
|
|
609
601
|
}], ctorParameters: () => [], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
|
|
610
602
|
|