@qualcomm-ui/angular-core 1.6.0 → 2.0.1
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 +30 -30
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs +42 -54
- 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 +59 -59
- 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} +1 -1
- 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
|
@@ -33,54 +33,44 @@ class AbstractNumberInputFormControlDirective {
|
|
|
33
33
|
* need to control the checked state of the checkbox. This property will be
|
|
34
34
|
* ignored if you opt into controlled state via form control bindings.
|
|
35
35
|
*/
|
|
36
|
-
defaultValue = input(undefined, ...(ngDevMode ?
|
|
37
|
-
transform: numberAttributeOrUndefined,
|
|
38
|
-
}]));
|
|
36
|
+
defaultValue = input(undefined, { ...(ngDevMode ? { debugName: "defaultValue" } : /* istanbul ignore next */ {}), transform: numberAttributeOrUndefined });
|
|
39
37
|
/**
|
|
40
38
|
* Controls whether the input is disabled in template-driven forms. When true,
|
|
41
39
|
* prevents user interaction and applies visual styling to indicate the disabled
|
|
42
40
|
* state.
|
|
43
41
|
*/
|
|
44
|
-
disabled = input(undefined, ...(ngDevMode ?
|
|
45
|
-
transform: booleanAttribute,
|
|
46
|
-
}]));
|
|
42
|
+
disabled = input(undefined, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
47
43
|
/**
|
|
48
44
|
* Controls the visual error state of the input. When true, applies semantic error
|
|
49
45
|
* styling to indicate validation failure.
|
|
50
46
|
*/
|
|
51
|
-
invalid = input(undefined, ...(ngDevMode ?
|
|
52
|
-
transform: booleanAttribute,
|
|
53
|
-
}]));
|
|
47
|
+
invalid = input(undefined, { ...(ngDevMode ? { debugName: "invalid" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
54
48
|
/**
|
|
55
49
|
* The name of the input field in a checkbox. Useful for form submission.
|
|
56
50
|
*/
|
|
57
|
-
name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
51
|
+
name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
|
|
58
52
|
/**
|
|
59
53
|
* Whether the input is read-only. When true, prevents user interaction while
|
|
60
54
|
* keeping the input focusable and visible.
|
|
61
55
|
*/
|
|
62
|
-
readOnly = input(undefined, ...(ngDevMode ?
|
|
63
|
-
transform: booleanAttribute,
|
|
64
|
-
}]));
|
|
56
|
+
readOnly = input(undefined, { ...(ngDevMode ? { debugName: "readOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
65
57
|
/**
|
|
66
58
|
* Controls whether the input is required in template-driven forms. When
|
|
67
59
|
* true, the input must have a value for form validation to pass.
|
|
68
60
|
*/
|
|
69
|
-
required = input(undefined, ...(ngDevMode ?
|
|
70
|
-
transform: booleanAttribute,
|
|
71
|
-
}]));
|
|
61
|
+
required = input(undefined, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
72
62
|
/* the internal "value" state of the input */
|
|
73
|
-
value = signal(undefined, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
74
|
-
stringValue = signal(undefined, ...(ngDevMode ? [{ debugName: "stringValue" }] : []));
|
|
63
|
+
value = signal(undefined, ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
|
|
64
|
+
stringValue = signal(undefined, ...(ngDevMode ? [{ debugName: "stringValue" }] : /* istanbul ignore next */ []));
|
|
75
65
|
onDestroy = useOnDestroy();
|
|
76
66
|
injector = inject(Injector);
|
|
77
|
-
formControlStatus = signal(undefined, ...(ngDevMode ? [{ debugName: "formControlStatus" }] : []));
|
|
78
|
-
formSubmitted = signal(false, ...(ngDevMode ? [{ debugName: "formSubmitted" }] : []));
|
|
67
|
+
formControlStatus = signal(undefined, ...(ngDevMode ? [{ debugName: "formControlStatus" }] : /* istanbul ignore next */ []));
|
|
68
|
+
formSubmitted = signal(false, ...(ngDevMode ? [{ debugName: "formSubmitted" }] : /* istanbul ignore next */ []));
|
|
79
69
|
ngControl = inject(NgControl, {
|
|
80
70
|
optional: true,
|
|
81
71
|
self: true,
|
|
82
72
|
});
|
|
83
|
-
formEventData = signal(null, ...(ngDevMode ? [{ debugName: "formEventData" }] : []));
|
|
73
|
+
formEventData = signal(null, ...(ngDevMode ? [{ debugName: "formEventData" }] : /* istanbul ignore next */ []));
|
|
84
74
|
/**
|
|
85
75
|
* If the component is bound to an Angular AbstractControl, its state wins.
|
|
86
76
|
* If not, fall back to the host attribute.
|
|
@@ -96,7 +86,7 @@ class AbstractNumberInputFormControlDirective {
|
|
|
96
86
|
return status === "DISABLED";
|
|
97
87
|
}
|
|
98
88
|
return !!disabled;
|
|
99
|
-
}, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
|
|
89
|
+
}, ...(ngDevMode ? [{ debugName: "isDisabled" }] : /* istanbul ignore next */ []));
|
|
100
90
|
isInvalid = computed(() => {
|
|
101
91
|
const formEventData = this.formEventData();
|
|
102
92
|
const submitted = this.formSubmitted();
|
|
@@ -134,7 +124,7 @@ class AbstractNumberInputFormControlDirective {
|
|
|
134
124
|
// "change"
|
|
135
125
|
return dirty && invalid;
|
|
136
126
|
}
|
|
137
|
-
}, ...(ngDevMode ? [{ debugName: "isInvalid" }] : []));
|
|
127
|
+
}, ...(ngDevMode ? [{ debugName: "isInvalid" }] : /* istanbul ignore next */ []));
|
|
138
128
|
isRequired = linkedSignal(() => {
|
|
139
129
|
const control = this.control;
|
|
140
130
|
const required = this.required();
|
|
@@ -147,7 +137,7 @@ class AbstractNumberInputFormControlDirective {
|
|
|
147
137
|
control.hasValidator(requiredNumberValidator));
|
|
148
138
|
}
|
|
149
139
|
return false;
|
|
150
|
-
}, ...(ngDevMode ? [{ debugName: "isRequired" }] : []));
|
|
140
|
+
}, ...(ngDevMode ? [{ debugName: "isRequired" }] : /* istanbul ignore next */ []));
|
|
151
141
|
constructor() {
|
|
152
142
|
if (this.ngControl) {
|
|
153
143
|
this.ngControl.valueAccessor = this;
|
|
@@ -303,20 +293,20 @@ class AbstractNumberInputFormControlDirective {
|
|
|
303
293
|
setDisabledState(isDisabled) {
|
|
304
294
|
this.isDisabled.set(isDisabled);
|
|
305
295
|
}
|
|
306
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
307
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AbstractNumberInputFormControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
297
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: AbstractNumberInputFormControlDirective, 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 }, invalid: { classPropertyName: "invalid", publicName: "invalid", 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 } }, ngImport: i0 });
|
|
308
298
|
}
|
|
309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: AbstractNumberInputFormControlDirective, decorators: [{
|
|
310
300
|
type: Directive
|
|
311
301
|
}], ctorParameters: () => [], propDecorators: { defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", 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 }] }] } });
|
|
312
302
|
|
|
313
303
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
314
304
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
315
305
|
class NumberInputContextService extends BaseApiContextService {
|
|
316
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
317
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
306
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: NumberInputContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
307
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: NumberInputContextService });
|
|
318
308
|
}
|
|
319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: NumberInputContextService, decorators: [{
|
|
320
310
|
type: Injectable
|
|
321
311
|
}] });
|
|
322
312
|
const [NUMBER_INPUT_CONTEXT, useNumberInputContext, provideNumberInputContext,] = createApiContext("NumberInputContext", NumberInputContextService);
|
|
@@ -331,17 +321,17 @@ class CoreNumberInputControlDirective {
|
|
|
331
321
|
ngOnInit() {
|
|
332
322
|
this.trackBindings();
|
|
333
323
|
}
|
|
334
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
335
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
325
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreNumberInputControlDirective, isStandalone: true, ngImport: i0 });
|
|
336
326
|
}
|
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputControlDirective, decorators: [{
|
|
338
328
|
type: Directive
|
|
339
329
|
}] });
|
|
340
330
|
|
|
341
331
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
342
332
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
343
333
|
class CoreNumberInputDecrementTriggerDirective {
|
|
344
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
334
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
345
335
|
numberInputContext = useNumberInputContext();
|
|
346
336
|
trackBindings = useTrackBindings(() => {
|
|
347
337
|
return this.numberInputContext().getDecrementTriggerBindings({
|
|
@@ -349,15 +339,15 @@ class CoreNumberInputDecrementTriggerDirective {
|
|
|
349
339
|
onDestroy: this.onDestroy,
|
|
350
340
|
});
|
|
351
341
|
});
|
|
352
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
342
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
353
343
|
onDestroy = useOnDestroy();
|
|
354
344
|
ngOnInit() {
|
|
355
345
|
this.trackBindings();
|
|
356
346
|
}
|
|
357
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
358
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
347
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputDecrementTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
348
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreNumberInputDecrementTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
359
349
|
}
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputDecrementTriggerDirective, decorators: [{
|
|
361
351
|
type: Directive
|
|
362
352
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
363
353
|
|
|
@@ -371,17 +361,17 @@ class CoreNumberInputErrorIndicatorDirective {
|
|
|
371
361
|
ngOnInit() {
|
|
372
362
|
this.trackBindings();
|
|
373
363
|
}
|
|
374
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
375
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
364
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputErrorIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
365
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreNumberInputErrorIndicatorDirective, isStandalone: true, ngImport: i0 });
|
|
376
366
|
}
|
|
377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputErrorIndicatorDirective, decorators: [{
|
|
378
368
|
type: Directive
|
|
379
369
|
}] });
|
|
380
370
|
|
|
381
371
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
382
372
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
383
373
|
class CoreNumberInputErrorTextDirective {
|
|
384
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
374
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
385
375
|
numberInputContext = useNumberInputContext();
|
|
386
376
|
trackBindings = useTrackBindings(() => {
|
|
387
377
|
return this.numberInputContext().getErrorTextBindings({
|
|
@@ -389,22 +379,22 @@ class CoreNumberInputErrorTextDirective {
|
|
|
389
379
|
onDestroy: this.onDestroy,
|
|
390
380
|
});
|
|
391
381
|
});
|
|
392
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
382
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
393
383
|
onDestroy = useOnDestroy();
|
|
394
384
|
ngOnInit() {
|
|
395
385
|
this.trackBindings();
|
|
396
386
|
}
|
|
397
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
398
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
388
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreNumberInputErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
399
389
|
}
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputErrorTextDirective, decorators: [{
|
|
401
391
|
type: Directive
|
|
402
392
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
403
393
|
|
|
404
394
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
405
395
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
406
396
|
class CoreNumberInputHintDirective {
|
|
407
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
397
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
408
398
|
numberInputContext = useNumberInputContext();
|
|
409
399
|
trackBindings = useTrackBindings(() => {
|
|
410
400
|
return this.numberInputContext().getHintBindings({
|
|
@@ -412,22 +402,22 @@ class CoreNumberInputHintDirective {
|
|
|
412
402
|
onDestroy: this.onDestroy,
|
|
413
403
|
});
|
|
414
404
|
});
|
|
415
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
405
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
416
406
|
onDestroy = useOnDestroy();
|
|
417
407
|
ngOnInit() {
|
|
418
408
|
this.trackBindings();
|
|
419
409
|
}
|
|
420
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
421
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
410
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
411
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreNumberInputHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
422
412
|
}
|
|
423
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
413
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputHintDirective, decorators: [{
|
|
424
414
|
type: Directive
|
|
425
415
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
426
416
|
|
|
427
417
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
428
418
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
429
419
|
class CoreNumberInputIncrementTriggerDirective {
|
|
430
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
420
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
431
421
|
numberInputContext = useNumberInputContext();
|
|
432
422
|
trackBindings = useTrackBindings(() => {
|
|
433
423
|
return this.numberInputContext().getIncrementTriggerBindings({
|
|
@@ -435,15 +425,15 @@ class CoreNumberInputIncrementTriggerDirective {
|
|
|
435
425
|
onDestroy: this.onDestroy,
|
|
436
426
|
});
|
|
437
427
|
});
|
|
438
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
428
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
439
429
|
onDestroy = useOnDestroy();
|
|
440
430
|
ngOnInit() {
|
|
441
431
|
this.trackBindings();
|
|
442
432
|
}
|
|
443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
444
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
433
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputIncrementTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
434
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreNumberInputIncrementTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
445
435
|
}
|
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputIncrementTriggerDirective, decorators: [{
|
|
447
437
|
type: Directive
|
|
448
438
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
449
439
|
|
|
@@ -457,17 +447,17 @@ class CoreNumberInputInputGroupDirective {
|
|
|
457
447
|
ngOnInit() {
|
|
458
448
|
this.trackBindings();
|
|
459
449
|
}
|
|
460
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
461
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
450
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputInputGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
451
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreNumberInputInputGroupDirective, isStandalone: true, ngImport: i0 });
|
|
462
452
|
}
|
|
463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputInputGroupDirective, decorators: [{
|
|
464
454
|
type: Directive
|
|
465
455
|
}] });
|
|
466
456
|
|
|
467
457
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
468
458
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
469
459
|
class CoreNumberInputInputDirective {
|
|
470
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
460
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
471
461
|
numberInputContext = useNumberInputContext();
|
|
472
462
|
trackBindings = useTrackBindings(() => {
|
|
473
463
|
return this.numberInputContext().getInputBindings({
|
|
@@ -475,22 +465,22 @@ class CoreNumberInputInputDirective {
|
|
|
475
465
|
onDestroy: this.onDestroy,
|
|
476
466
|
});
|
|
477
467
|
});
|
|
478
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
468
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
479
469
|
onDestroy = useOnDestroy();
|
|
480
470
|
ngOnInit() {
|
|
481
471
|
this.trackBindings();
|
|
482
472
|
}
|
|
483
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
484
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
473
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
474
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreNumberInputInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
485
475
|
}
|
|
486
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputInputDirective, decorators: [{
|
|
487
477
|
type: Directive
|
|
488
478
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
489
479
|
|
|
490
480
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
491
481
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
492
482
|
class CoreNumberInputLabelDirective {
|
|
493
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
483
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
494
484
|
numberInputContext = useNumberInputContext();
|
|
495
485
|
trackBindings = useTrackBindings(() => {
|
|
496
486
|
return this.numberInputContext().getLabelBindings({
|
|
@@ -498,15 +488,15 @@ class CoreNumberInputLabelDirective {
|
|
|
498
488
|
onDestroy: this.onDestroy,
|
|
499
489
|
});
|
|
500
490
|
});
|
|
501
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
491
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
502
492
|
onDestroy = useOnDestroy();
|
|
503
493
|
ngOnInit() {
|
|
504
494
|
this.trackBindings();
|
|
505
495
|
}
|
|
506
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
507
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
497
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreNumberInputLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
508
498
|
}
|
|
509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
499
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputLabelDirective, decorators: [{
|
|
510
500
|
type: Directive
|
|
511
501
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
512
502
|
|
|
@@ -516,109 +506,93 @@ class CoreNumberInputRootDirective extends AbstractNumberInputFormControlDirecti
|
|
|
516
506
|
/**
|
|
517
507
|
* Whether to allow mouse wheel to change the value
|
|
518
508
|
*/
|
|
519
|
-
allowMouseWheel = input(undefined, ...(ngDevMode ?
|
|
520
|
-
transform: booleanAttribute,
|
|
521
|
-
}]));
|
|
509
|
+
allowMouseWheel = input(undefined, { ...(ngDevMode ? { debugName: "allowMouseWheel" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
522
510
|
/**
|
|
523
511
|
* Whether to allow the value to overflow the min/max range
|
|
524
512
|
* @default true
|
|
525
513
|
*/
|
|
526
|
-
allowOverflow = input(undefined, ...(ngDevMode ?
|
|
527
|
-
transform: booleanAttribute,
|
|
528
|
-
}]));
|
|
514
|
+
allowOverflow = input(undefined, { ...(ngDevMode ? { debugName: "allowOverflow" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
529
515
|
/**
|
|
530
516
|
* Whether to clamp the value when the input loses focus (blur)
|
|
531
517
|
* @default true
|
|
532
518
|
*/
|
|
533
|
-
clampValueOnBlur = input(undefined, ...(ngDevMode ?
|
|
534
|
-
transform: booleanAttribute,
|
|
535
|
-
}]));
|
|
519
|
+
clampValueOnBlur = input(undefined, { ...(ngDevMode ? { debugName: "clampValueOnBlur" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
536
520
|
/**
|
|
537
521
|
* The document's text/writing direction.
|
|
538
522
|
*
|
|
539
523
|
* @default "ltr"
|
|
540
524
|
*/
|
|
541
|
-
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
|
|
525
|
+
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : /* istanbul ignore next */ []));
|
|
542
526
|
/**
|
|
543
527
|
* Whether to focus the input when the value changes
|
|
544
528
|
*
|
|
545
529
|
* @default true
|
|
546
530
|
*/
|
|
547
|
-
focusInputOnChange = input(undefined, ...(ngDevMode ?
|
|
548
|
-
transform: booleanAttribute,
|
|
549
|
-
}]));
|
|
531
|
+
focusInputOnChange = input(undefined, { ...(ngDevMode ? { debugName: "focusInputOnChange" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
550
532
|
/**
|
|
551
533
|
* The options to pass to the `Intl.NumberFormat` constructor
|
|
552
534
|
*/
|
|
553
|
-
formatOptions = input(...(ngDevMode ? [undefined, { debugName: "formatOptions" }] : []));
|
|
535
|
+
formatOptions = input(...(ngDevMode ? [undefined, { debugName: "formatOptions" }] : /* istanbul ignore next */ []));
|
|
554
536
|
/**
|
|
555
537
|
* A root node to correctly resolve the Document in custom environments. i.e.,
|
|
556
538
|
* Iframes, Electron.
|
|
557
539
|
*/
|
|
558
|
-
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
|
|
540
|
+
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : /* istanbul ignore next */ []));
|
|
559
541
|
/**
|
|
560
542
|
* Hints at the type of data that might be entered by the user. It also determines
|
|
561
543
|
* the type of keyboard shown to the user on mobile devices
|
|
562
544
|
* @default "decimal"
|
|
563
545
|
*/
|
|
564
|
-
inputMode = input(...(ngDevMode ? [undefined, { debugName: "inputMode" }] : []));
|
|
546
|
+
inputMode = input(...(ngDevMode ? [undefined, { debugName: "inputMode" }] : /* istanbul ignore next */ []));
|
|
565
547
|
/**
|
|
566
548
|
* The maximum value of the number input
|
|
567
549
|
* @default Number.MAX_SAFE_INTEGER
|
|
568
550
|
*/
|
|
569
|
-
max = input(undefined, ...(ngDevMode ?
|
|
570
|
-
transform: numberAttributeOrUndefined,
|
|
571
|
-
}]));
|
|
551
|
+
max = input(undefined, { ...(ngDevMode ? { debugName: "max" } : /* istanbul ignore next */ {}), transform: numberAttributeOrUndefined });
|
|
572
552
|
/**
|
|
573
553
|
* The minimum value of the number input
|
|
574
554
|
* @default Number.MIN_SAFE_INTEGER
|
|
575
555
|
*/
|
|
576
|
-
min = input(undefined, ...(ngDevMode ?
|
|
577
|
-
transform: numberAttributeOrUndefined,
|
|
578
|
-
}]));
|
|
556
|
+
min = input(undefined, { ...(ngDevMode ? { debugName: "min" } : /* istanbul ignore next */ {}), transform: numberAttributeOrUndefined });
|
|
579
557
|
/**
|
|
580
558
|
* The current locale. Based on the BCP 47 definition.
|
|
581
559
|
*
|
|
582
560
|
* @default 'en-US'
|
|
583
561
|
*/
|
|
584
|
-
locale = input(...(ngDevMode ? [undefined, { debugName: "locale" }] : []));
|
|
562
|
+
locale = input(...(ngDevMode ? [undefined, { debugName: "locale" }] : /* istanbul ignore next */ []));
|
|
585
563
|
/**
|
|
586
564
|
* The pattern used to check the <input> element's value against
|
|
587
565
|
*
|
|
588
566
|
* @default "[0-9]*(.[0-9]+)?"
|
|
589
567
|
*/
|
|
590
|
-
pattern = input(...(ngDevMode ? [undefined, { debugName: "pattern" }] : []));
|
|
568
|
+
pattern = input(...(ngDevMode ? [undefined, { debugName: "pattern" }] : /* istanbul ignore next */ []));
|
|
591
569
|
/**
|
|
592
570
|
* Whether to spin the value when the increment/decrement button is pressed
|
|
593
571
|
* @default true
|
|
594
572
|
*/
|
|
595
|
-
spinOnPress = input(undefined, ...(ngDevMode ?
|
|
596
|
-
transform: booleanAttribute,
|
|
597
|
-
}]));
|
|
573
|
+
spinOnPress = input(undefined, { ...(ngDevMode ? { debugName: "spinOnPress" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
598
574
|
/**
|
|
599
575
|
* Amount to increment/decrement the value when using stepper buttons or arrow keys.
|
|
600
576
|
* @default 1
|
|
601
577
|
*/
|
|
602
|
-
step = input(undefined, ...(ngDevMode ?
|
|
603
|
-
transform: numberAttributeOrUndefined,
|
|
604
|
-
}]));
|
|
578
|
+
step = input(undefined, { ...(ngDevMode ? { debugName: "step" } : /* istanbul ignore next */ {}), transform: numberAttributeOrUndefined });
|
|
605
579
|
/**
|
|
606
580
|
* Specifies the localized strings that identify the accessibility elements and
|
|
607
581
|
* their states
|
|
608
582
|
*/
|
|
609
|
-
translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : []));
|
|
583
|
+
translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : /* istanbul ignore next */ []));
|
|
610
584
|
/**
|
|
611
585
|
* The controlled unit value.
|
|
612
586
|
*/
|
|
613
|
-
unit = input(...(ngDevMode ? [undefined, { debugName: "unit" }] : []));
|
|
587
|
+
unit = input(...(ngDevMode ? [undefined, { debugName: "unit" }] : /* istanbul ignore next */ []));
|
|
614
588
|
/**
|
|
615
589
|
* The initial unit when uncontrolled. Defaults to first option if not provided.
|
|
616
590
|
*/
|
|
617
|
-
defaultUnit = input(...(ngDevMode ? [undefined, { debugName: "defaultUnit" }] : []));
|
|
591
|
+
defaultUnit = input(...(ngDevMode ? [undefined, { debugName: "defaultUnit" }] : /* istanbul ignore next */ []));
|
|
618
592
|
/**
|
|
619
593
|
* Array of unit options to display in the unit selector.
|
|
620
594
|
*/
|
|
621
|
-
unitOptions = input(...(ngDevMode ? [undefined, { debugName: "unitOptions" }] : []));
|
|
595
|
+
unitOptions = input(...(ngDevMode ? [undefined, { debugName: "unitOptions" }] : /* istanbul ignore next */ []));
|
|
622
596
|
/**
|
|
623
597
|
* Event emitted when the selected unit changes.
|
|
624
598
|
*/
|
|
@@ -712,10 +686,10 @@ class CoreNumberInputRootDirective extends AbstractNumberInputFormControlDirecti
|
|
|
712
686
|
this.numberInputContext.init(computed(() => createNumberInputApi(machine, normalizeProps)));
|
|
713
687
|
this.trackBindings();
|
|
714
688
|
}
|
|
715
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
716
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
690
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreNumberInputRootDirective, isStandalone: true, inputs: { allowMouseWheel: { classPropertyName: "allowMouseWheel", publicName: "allowMouseWheel", isSignal: true, isRequired: false, transformFunction: null }, allowOverflow: { classPropertyName: "allowOverflow", publicName: "allowOverflow", isSignal: true, isRequired: false, transformFunction: null }, clampValueOnBlur: { classPropertyName: "clampValueOnBlur", publicName: "clampValueOnBlur", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, focusInputOnChange: { classPropertyName: "focusInputOnChange", publicName: "focusInputOnChange", isSignal: true, isRequired: false, transformFunction: null }, formatOptions: { classPropertyName: "formatOptions", publicName: "formatOptions", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, inputMode: { classPropertyName: "inputMode", publicName: "inputMode", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, locale: { classPropertyName: "locale", publicName: "locale", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, spinOnPress: { classPropertyName: "spinOnPress", publicName: "spinOnPress", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null }, unit: { classPropertyName: "unit", publicName: "unit", isSignal: true, isRequired: false, transformFunction: null }, defaultUnit: { classPropertyName: "defaultUnit", publicName: "defaultUnit", isSignal: true, isRequired: false, transformFunction: null }, unitOptions: { classPropertyName: "unitOptions", publicName: "unitOptions", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { unitChanged: "unitChanged", valueChanged: "valueChanged", valueInvalid: "valueInvalid" }, usesInheritance: true, ngImport: i0 });
|
|
717
691
|
}
|
|
718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreNumberInputRootDirective, decorators: [{
|
|
719
693
|
type: Directive
|
|
720
694
|
}], propDecorators: { allowMouseWheel: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowMouseWheel", required: false }] }], allowOverflow: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowOverflow", required: false }] }], clampValueOnBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "clampValueOnBlur", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], focusInputOnChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusInputOnChange", required: false }] }], formatOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "formatOptions", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], inputMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputMode", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], locale: [{ type: i0.Input, args: [{ isSignal: true, alias: "locale", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], spinOnPress: [{ type: i0.Input, args: [{ isSignal: true, alias: "spinOnPress", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], translations: [{ type: i0.Input, args: [{ isSignal: true, alias: "translations", required: false }] }], unit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unit", required: false }] }], defaultUnit: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultUnit", required: false }] }], unitOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "unitOptions", required: false }] }], unitChanged: [{ type: i0.Output, args: ["unitChanged"] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], valueInvalid: [{ type: i0.Output, args: ["valueInvalid"] }] } });
|
|
721
695
|
|