@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
|
@@ -13,10 +13,10 @@ import { isDefined } from '@qualcomm-ui/utils/guard';
|
|
|
13
13
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
14
14
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
15
15
|
class ComboboxContextService extends BaseApiContextService {
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxContextService });
|
|
18
18
|
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxContextService, decorators: [{
|
|
20
20
|
type: Injectable
|
|
21
21
|
}] });
|
|
22
22
|
const [COMBOBOX_CONTEXT, useComboboxContext, provideComboboxContext,] = createApiContext("ComboboxContext", ComboboxContextService);
|
|
@@ -24,10 +24,10 @@ const [COMBOBOX_CONTEXT, useComboboxContext, provideComboboxContext,] = createAp
|
|
|
24
24
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
25
25
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
26
26
|
class ComboboxItemContextService extends BaseApiContextService {
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxItemContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxItemContextService });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxItemContextService, decorators: [{
|
|
31
31
|
type: Injectable
|
|
32
32
|
}] });
|
|
33
33
|
const [COMBOBOX_ITEM_CONTEXT, useComboboxItemContext, provideComboboxItemContext,] = createApiContext("ComboboxItemContext", ComboboxItemContextService);
|
|
@@ -35,10 +35,10 @@ const [COMBOBOX_ITEM_CONTEXT, useComboboxItemContext, provideComboboxItemContext
|
|
|
35
35
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
36
36
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
37
37
|
class ComboboxItemGroupContextService extends BaseApiContextService {
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
39
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxItemGroupContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxItemGroupContextService });
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: ComboboxItemGroupContextService, decorators: [{
|
|
42
42
|
type: Injectable
|
|
43
43
|
}] });
|
|
44
44
|
const [COMBOBOX_ITEM_GROUP_CONTEXT, useComboboxItemGroupContext, provideComboboxItemGroupContext,] = createApiContext("ComboboxItemGroupContext", ComboboxItemGroupContextService);
|
|
@@ -50,9 +50,9 @@ class CoreComboboxClearTriggerDirective {
|
|
|
50
50
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
51
51
|
* omitted, a unique identifier will be generated for accessibility.
|
|
52
52
|
*/
|
|
53
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
53
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
54
54
|
comboboxContext = useComboboxContext();
|
|
55
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
55
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
56
56
|
onDestroy = useOnDestroy();
|
|
57
57
|
trackBindings = useTrackBindings(() => this.comboboxContext().getClearTriggerBindings({
|
|
58
58
|
id: this.hostId(),
|
|
@@ -61,10 +61,10 @@ class CoreComboboxClearTriggerDirective {
|
|
|
61
61
|
ngOnInit() {
|
|
62
62
|
this.trackBindings();
|
|
63
63
|
}
|
|
64
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
65
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxClearTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
65
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxClearTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
66
66
|
}
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxClearTriggerDirective, decorators: [{
|
|
68
68
|
type: Directive
|
|
69
69
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
70
70
|
|
|
@@ -75,8 +75,8 @@ class CoreComboboxContentDirective {
|
|
|
75
75
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
76
76
|
* omitted, a unique identifier will be generated for accessibility.
|
|
77
77
|
*/
|
|
78
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
79
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
78
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
79
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
80
80
|
comboboxContext = useComboboxContext();
|
|
81
81
|
onDestroy = useOnDestroy();
|
|
82
82
|
presenceService = inject(PresenceContextService);
|
|
@@ -88,10 +88,10 @@ class CoreComboboxContentDirective {
|
|
|
88
88
|
ngOnInit() {
|
|
89
89
|
this.trackBindings();
|
|
90
90
|
}
|
|
91
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
92
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
91
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
92
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxContentDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
93
93
|
}
|
|
94
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
94
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxContentDirective, decorators: [{
|
|
95
95
|
type: Directive
|
|
96
96
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
97
97
|
|
|
@@ -102,9 +102,9 @@ class CoreComboboxControlDirective {
|
|
|
102
102
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
103
103
|
* omitted, a unique identifier will be generated for accessibility.
|
|
104
104
|
*/
|
|
105
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
105
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
106
106
|
comboboxContext = useComboboxContext();
|
|
107
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
107
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
108
108
|
onDestroy = useOnDestroy();
|
|
109
109
|
trackBindings = useTrackBindings(() => this.comboboxContext().getControlBindings({
|
|
110
110
|
id: this.hostId(),
|
|
@@ -113,10 +113,10 @@ class CoreComboboxControlDirective {
|
|
|
113
113
|
ngOnInit() {
|
|
114
114
|
this.trackBindings();
|
|
115
115
|
}
|
|
116
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
117
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
116
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
117
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxControlDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
118
118
|
}
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxControlDirective, decorators: [{
|
|
120
120
|
type: Directive
|
|
121
121
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
122
122
|
|
|
@@ -128,10 +128,10 @@ class CoreComboboxEmptyDirective {
|
|
|
128
128
|
ngOnInit() {
|
|
129
129
|
this.trackBindings();
|
|
130
130
|
}
|
|
131
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
132
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
131
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxEmptyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
132
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreComboboxEmptyDirective, isStandalone: true, ngImport: i0 });
|
|
133
133
|
}
|
|
134
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxEmptyDirective, decorators: [{
|
|
135
135
|
type: Directive
|
|
136
136
|
}] });
|
|
137
137
|
|
|
@@ -143,10 +143,10 @@ class CoreComboboxErrorIndicatorDirective {
|
|
|
143
143
|
ngOnInit() {
|
|
144
144
|
this.trackBindings();
|
|
145
145
|
}
|
|
146
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
147
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxErrorIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
147
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreComboboxErrorIndicatorDirective, isStandalone: true, ngImport: i0 });
|
|
148
148
|
}
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxErrorIndicatorDirective, decorators: [{
|
|
150
150
|
type: Directive
|
|
151
151
|
}] });
|
|
152
152
|
|
|
@@ -157,9 +157,9 @@ class CoreComboboxErrorTextDirective {
|
|
|
157
157
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
158
158
|
* omitted, a unique identifier will be generated for accessibility.
|
|
159
159
|
*/
|
|
160
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
160
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
161
161
|
comboboxContext = useComboboxContext();
|
|
162
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
162
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
163
163
|
onDestroy = useOnDestroy();
|
|
164
164
|
trackBindings = useTrackBindings(() => this.comboboxContext().getErrorTextBindings({
|
|
165
165
|
id: this.hostId(),
|
|
@@ -168,10 +168,10 @@ class CoreComboboxErrorTextDirective {
|
|
|
168
168
|
ngOnInit() {
|
|
169
169
|
this.trackBindings();
|
|
170
170
|
}
|
|
171
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
172
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
171
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
172
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
173
173
|
}
|
|
174
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxErrorTextDirective, decorators: [{
|
|
175
175
|
type: Directive
|
|
176
176
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
177
177
|
|
|
@@ -182,9 +182,9 @@ class CoreComboboxHintDirective {
|
|
|
182
182
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
183
183
|
* omitted, a unique identifier will be generated for accessibility.
|
|
184
184
|
*/
|
|
185
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
185
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
186
186
|
comboboxContext = useComboboxContext();
|
|
187
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
187
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
188
188
|
onDestroy = useOnDestroy();
|
|
189
189
|
trackBindings = useTrackBindings(() => this.comboboxContext().getHintBindings({
|
|
190
190
|
id: this.hostId(),
|
|
@@ -193,10 +193,10 @@ class CoreComboboxHintDirective {
|
|
|
193
193
|
ngOnInit() {
|
|
194
194
|
this.trackBindings();
|
|
195
195
|
}
|
|
196
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
197
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
197
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
198
198
|
}
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxHintDirective, decorators: [{
|
|
200
200
|
type: Directive
|
|
201
201
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
202
202
|
|
|
@@ -207,9 +207,9 @@ class CoreComboboxInputDirective {
|
|
|
207
207
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
208
208
|
* omitted, a unique identifier will be generated for accessibility.
|
|
209
209
|
*/
|
|
210
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
210
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
211
211
|
comboboxContext = useComboboxContext();
|
|
212
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
212
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
213
213
|
onDestroy = useOnDestroy();
|
|
214
214
|
trackBindings = useTrackBindings(() => this.comboboxContext().getInputBindings({
|
|
215
215
|
id: this.hostId(),
|
|
@@ -218,10 +218,10 @@ class CoreComboboxInputDirective {
|
|
|
218
218
|
ngOnInit() {
|
|
219
219
|
this.trackBindings();
|
|
220
220
|
}
|
|
221
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
222
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
221
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
222
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
223
223
|
}
|
|
224
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxInputDirective, decorators: [{
|
|
225
225
|
type: Directive
|
|
226
226
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
227
227
|
|
|
@@ -236,10 +236,10 @@ class CoreComboboxItemGroupLabelDirective {
|
|
|
236
236
|
ngOnInit() {
|
|
237
237
|
this.trackBindings();
|
|
238
238
|
}
|
|
239
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
240
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
239
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemGroupLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
240
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreComboboxItemGroupLabelDirective, isStandalone: true, ngImport: i0 });
|
|
241
241
|
}
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemGroupLabelDirective, decorators: [{
|
|
243
243
|
type: Directive
|
|
244
244
|
}] });
|
|
245
245
|
|
|
@@ -250,10 +250,10 @@ class CoreComboboxItemGroupDirective {
|
|
|
250
250
|
* Unique identifier for the combobox item group. Not the final HTML `id`
|
|
251
251
|
* attribute.
|
|
252
252
|
*/
|
|
253
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
253
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
254
254
|
comboboxContext = useComboboxContext();
|
|
255
255
|
comboboxItemGroupService = inject(ComboboxItemGroupContextService);
|
|
256
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
256
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
257
257
|
trackBindings = useTrackBindings(() => this.comboboxContext().getItemGroupBindings(this.comboboxItemGroupService.context()));
|
|
258
258
|
ngOnInit() {
|
|
259
259
|
this.comboboxItemGroupService.init(computed(() => ({
|
|
@@ -261,10 +261,10 @@ class CoreComboboxItemGroupDirective {
|
|
|
261
261
|
})));
|
|
262
262
|
this.trackBindings();
|
|
263
263
|
}
|
|
264
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
265
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
264
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
265
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxItemGroupDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
266
266
|
}
|
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemGroupDirective, decorators: [{
|
|
268
268
|
type: Directive
|
|
269
269
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
270
270
|
|
|
@@ -277,10 +277,10 @@ class CoreComboboxItemIndicatorDirective {
|
|
|
277
277
|
ngOnInit() {
|
|
278
278
|
this.trackBindings();
|
|
279
279
|
}
|
|
280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
281
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
281
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreComboboxItemIndicatorDirective, isStandalone: true, ngImport: i0 });
|
|
282
282
|
}
|
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemIndicatorDirective, decorators: [{
|
|
284
284
|
type: Directive
|
|
285
285
|
}] });
|
|
286
286
|
|
|
@@ -293,10 +293,10 @@ class CoreComboboxItemTextDirective {
|
|
|
293
293
|
ngOnInit() {
|
|
294
294
|
this.trackBindings();
|
|
295
295
|
}
|
|
296
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
297
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
296
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
297
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CoreComboboxItemTextDirective, isStandalone: true, ngImport: i0 });
|
|
298
298
|
}
|
|
299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
299
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemTextDirective, decorators: [{
|
|
300
300
|
type: Directive
|
|
301
301
|
}] });
|
|
302
302
|
|
|
@@ -306,13 +306,11 @@ class CoreComboboxItemDirective {
|
|
|
306
306
|
/**
|
|
307
307
|
* The item to render, from the collection
|
|
308
308
|
*/
|
|
309
|
-
item = input(...(ngDevMode ? [undefined, { debugName: "item" }] : []));
|
|
309
|
+
item = input(...(ngDevMode ? [undefined, { debugName: "item" }] : /* istanbul ignore next */ []));
|
|
310
310
|
/**
|
|
311
311
|
* Whether hovering outside should clear the highlighted state
|
|
312
312
|
*/
|
|
313
|
-
persistFocus = input(undefined, ...(ngDevMode ?
|
|
314
|
-
transform: booleanAttribute,
|
|
315
|
-
}]));
|
|
313
|
+
persistFocus = input(undefined, { ...(ngDevMode ? { debugName: "persistFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
316
314
|
comboboxContext = useComboboxContext();
|
|
317
315
|
comboboxItemService = inject(ComboboxItemContextService);
|
|
318
316
|
trackBindings = useTrackBindings(() => this.comboboxContext().getItemBindings(this.comboboxItemService.context()));
|
|
@@ -323,10 +321,10 @@ class CoreComboboxItemDirective {
|
|
|
323
321
|
})));
|
|
324
322
|
this.trackBindings();
|
|
325
323
|
}
|
|
326
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
327
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
324
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
325
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxItemDirective, isStandalone: true, inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: false, transformFunction: null }, persistFocus: { classPropertyName: "persistFocus", publicName: "persistFocus", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
328
326
|
}
|
|
329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxItemDirective, decorators: [{
|
|
330
328
|
type: Directive
|
|
331
329
|
}], propDecorators: { item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: false }] }], persistFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "persistFocus", required: false }] }] } });
|
|
332
330
|
|
|
@@ -337,9 +335,9 @@ class CoreComboboxLabelDirective {
|
|
|
337
335
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
338
336
|
* omitted, a unique identifier will be generated for accessibility.
|
|
339
337
|
*/
|
|
340
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
338
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
341
339
|
comboboxContext = useComboboxContext();
|
|
342
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
340
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
343
341
|
onDestroy = useOnDestroy();
|
|
344
342
|
trackBindings = useTrackBindings(() => this.comboboxContext().getLabelBindings({
|
|
345
343
|
id: this.hostId(),
|
|
@@ -348,10 +346,10 @@ class CoreComboboxLabelDirective {
|
|
|
348
346
|
ngOnInit() {
|
|
349
347
|
this.trackBindings();
|
|
350
348
|
}
|
|
351
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
352
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
350
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
353
351
|
}
|
|
354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxLabelDirective, decorators: [{
|
|
355
353
|
type: Directive
|
|
356
354
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
357
355
|
|
|
@@ -362,8 +360,8 @@ class CoreComboboxPositionerDirective {
|
|
|
362
360
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
363
361
|
* omitted, a unique identifier will be generated for accessibility.
|
|
364
362
|
*/
|
|
365
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
366
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
363
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
364
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
367
365
|
comboboxContext = useComboboxContext();
|
|
368
366
|
onDestroy = useOnDestroy();
|
|
369
367
|
presenceRendererEffect = usePresenceRenderer();
|
|
@@ -374,10 +372,10 @@ class CoreComboboxPositionerDirective {
|
|
|
374
372
|
ngOnInit() {
|
|
375
373
|
this.trackBindings();
|
|
376
374
|
}
|
|
377
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
378
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
375
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxPositionerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
376
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxPositionerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
379
377
|
}
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxPositionerDirective, decorators: [{
|
|
381
379
|
type: Directive
|
|
382
380
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
383
381
|
|
|
@@ -389,174 +387,144 @@ class CoreComboboxRootDirective extends AbstractListCollectionFormControlDirecti
|
|
|
389
387
|
*
|
|
390
388
|
* @default false
|
|
391
389
|
*/
|
|
392
|
-
allowCustomValue = input(undefined, ...(ngDevMode ?
|
|
393
|
-
transform: booleanAttribute,
|
|
394
|
-
}]));
|
|
390
|
+
allowCustomValue = input(undefined, { ...(ngDevMode ? { debugName: "allowCustomValue" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
395
391
|
/**
|
|
396
392
|
* Whether to always submit on Enter key press, even if popup is open
|
|
397
393
|
*
|
|
398
394
|
* @default false
|
|
399
395
|
*/
|
|
400
|
-
alwaysSubmitOnEnter = input(undefined, ...(ngDevMode ?
|
|
401
|
-
transform: booleanAttribute,
|
|
402
|
-
}]));
|
|
396
|
+
alwaysSubmitOnEnter = input(undefined, { ...(ngDevMode ? { debugName: "alwaysSubmitOnEnter" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
403
397
|
/**
|
|
404
398
|
* Whether to autofocus the input on mount
|
|
405
399
|
*/
|
|
406
|
-
autoFocus = input(undefined, ...(ngDevMode ?
|
|
407
|
-
transform: booleanAttribute,
|
|
408
|
-
}]));
|
|
400
|
+
autoFocus = input(undefined, { ...(ngDevMode ? { debugName: "autoFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
409
401
|
/**
|
|
410
402
|
* Whether the combobox should close after an item is selected
|
|
411
403
|
*
|
|
412
404
|
* @default false
|
|
413
405
|
*/
|
|
414
|
-
closeOnSelect = input(undefined, ...(ngDevMode ?
|
|
415
|
-
transform: booleanAttribute,
|
|
416
|
-
}]));
|
|
406
|
+
closeOnSelect = input(undefined, { ...(ngDevMode ? { debugName: "closeOnSelect" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
417
407
|
/**
|
|
418
408
|
* Whether the combobox is a composed with other composite widgets
|
|
419
409
|
*
|
|
420
410
|
* @default true
|
|
421
411
|
*/
|
|
422
|
-
composite = input(undefined, ...(ngDevMode ?
|
|
423
|
-
transform: booleanAttribute,
|
|
424
|
-
}]));
|
|
412
|
+
composite = input(undefined, { ...(ngDevMode ? { debugName: "composite" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
425
413
|
/**
|
|
426
414
|
* The initial value of the highlighted item when opened.
|
|
427
415
|
* Use when you don't need to control the highlighted value of the combobox.
|
|
428
416
|
*/
|
|
429
|
-
defaultHighlightedValue = input(...(ngDevMode ? [undefined, { debugName: "defaultHighlightedValue" }] : []));
|
|
417
|
+
defaultHighlightedValue = input(...(ngDevMode ? [undefined, { debugName: "defaultHighlightedValue" }] : /* istanbul ignore next */ []));
|
|
430
418
|
/**
|
|
431
419
|
* The initial value of the input when opened.
|
|
432
420
|
*/
|
|
433
|
-
defaultInputValue = input(...(ngDevMode ? [undefined, { debugName: "defaultInputValue" }] : []));
|
|
421
|
+
defaultInputValue = input(...(ngDevMode ? [undefined, { debugName: "defaultInputValue" }] : /* istanbul ignore next */ []));
|
|
434
422
|
/**
|
|
435
423
|
* Whether the combobox's open state is controlled by the user
|
|
436
424
|
*/
|
|
437
|
-
defaultOpen = input(undefined, ...(ngDevMode ?
|
|
438
|
-
transform: booleanAttribute,
|
|
439
|
-
}]));
|
|
425
|
+
defaultOpen = input(undefined, { ...(ngDevMode ? { debugName: "defaultOpen" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
440
426
|
/**
|
|
441
427
|
* The document's text/writing direction.
|
|
442
428
|
*
|
|
443
429
|
* @default "ltr"
|
|
444
430
|
*/
|
|
445
|
-
dir = input(...(ngDevMode ? [undefined, { debugName: "dir" }] : []));
|
|
431
|
+
dir = input(...(ngDevMode ? [undefined, { debugName: "dir" }] : /* istanbul ignore next */ []));
|
|
446
432
|
/**
|
|
447
433
|
* Whether to disable registering this as a dismissable layer
|
|
448
434
|
*/
|
|
449
|
-
disableLayer = input(undefined, ...(ngDevMode ?
|
|
450
|
-
transform: booleanAttribute,
|
|
451
|
-
}]));
|
|
435
|
+
disableLayer = input(undefined, { ...(ngDevMode ? { debugName: "disableLayer" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
452
436
|
/**
|
|
453
437
|
* A root node to correctly resolve the Document in custom environments. i.e.,
|
|
454
438
|
* Iframes, Electron.
|
|
455
439
|
*/
|
|
456
|
-
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
|
|
440
|
+
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : /* istanbul ignore next */ []));
|
|
457
441
|
/**
|
|
458
442
|
* The controlled key of the highlighted item
|
|
459
443
|
*/
|
|
460
|
-
highlightedValue = input(...(ngDevMode ? [undefined, { debugName: "highlightedValue" }] : []));
|
|
444
|
+
highlightedValue = input(...(ngDevMode ? [undefined, { debugName: "highlightedValue" }] : /* istanbul ignore next */ []));
|
|
461
445
|
/**
|
|
462
446
|
* Defines the auto-completion behavior of the combobox
|
|
463
447
|
*
|
|
464
448
|
* @default "none"
|
|
465
449
|
*/
|
|
466
|
-
inputBehavior = input(...(ngDevMode ? [undefined, { debugName: "inputBehavior" }] : []));
|
|
450
|
+
inputBehavior = input(...(ngDevMode ? [undefined, { debugName: "inputBehavior" }] : /* istanbul ignore next */ []));
|
|
467
451
|
/**
|
|
468
452
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
469
453
|
* omitted, a unique identifier will be generated for accessibility.)
|
|
470
454
|
*/
|
|
471
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
455
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
472
456
|
/**
|
|
473
457
|
* Whether to synchronize the present change immediately or defer it to the next
|
|
474
458
|
* frame.
|
|
475
459
|
*
|
|
476
460
|
* @default false
|
|
477
461
|
*/
|
|
478
|
-
immediate = input(undefined, ...(ngDevMode ?
|
|
479
|
-
transform: booleanAttribute,
|
|
480
|
-
}]));
|
|
462
|
+
immediate = input(undefined, { ...(ngDevMode ? { debugName: "immediate" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
481
463
|
/**
|
|
482
464
|
* The value of the input
|
|
483
465
|
*/
|
|
484
|
-
inputValue = input(...(ngDevMode ? [undefined, { debugName: "inputValue" }] : []));
|
|
466
|
+
inputValue = input(...(ngDevMode ? [undefined, { debugName: "inputValue" }] : /* istanbul ignore next */ []));
|
|
485
467
|
/**
|
|
486
468
|
* When true, the component will not be rendered in the DOM until it becomes
|
|
487
469
|
* visible or active.
|
|
488
470
|
*
|
|
489
471
|
* @default false
|
|
490
472
|
*/
|
|
491
|
-
lazyMount = input(undefined, ...(ngDevMode ?
|
|
492
|
-
transform: booleanAttribute,
|
|
493
|
-
}]));
|
|
473
|
+
lazyMount = input(undefined, { ...(ngDevMode ? { debugName: "lazyMount" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
494
474
|
/**
|
|
495
475
|
* Whether to loop the keyboard navigation through the options
|
|
496
476
|
*
|
|
497
477
|
* @default false
|
|
498
478
|
*/
|
|
499
|
-
loopFocus = input(undefined, ...(ngDevMode ?
|
|
500
|
-
transform: booleanAttribute,
|
|
501
|
-
}]));
|
|
479
|
+
loopFocus = input(undefined, { ...(ngDevMode ? { debugName: "loopFocus" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
502
480
|
/**
|
|
503
481
|
* Whether to allow multiple selection
|
|
504
482
|
*
|
|
505
483
|
* @default false
|
|
506
484
|
*/
|
|
507
|
-
multiple = input(undefined, ...(ngDevMode ?
|
|
508
|
-
transform: booleanAttribute,
|
|
509
|
-
}]));
|
|
485
|
+
multiple = input(undefined, { ...(ngDevMode ? { debugName: "multiple" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
510
486
|
/**
|
|
511
487
|
* Whether the combobox menu is open
|
|
512
488
|
*/
|
|
513
|
-
open = input(undefined, ...(ngDevMode ?
|
|
514
|
-
transform: booleanAttribute,
|
|
515
|
-
}]));
|
|
489
|
+
open = input(undefined, { ...(ngDevMode ? { debugName: "open" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
516
490
|
/**
|
|
517
491
|
* Whether to show the combobox when the input value changes
|
|
518
492
|
*
|
|
519
493
|
* @default true
|
|
520
494
|
*/
|
|
521
|
-
openOnChange = input(undefined, ...(ngDevMode ?
|
|
522
|
-
transform: booleanAttribute,
|
|
523
|
-
}]));
|
|
495
|
+
openOnChange = input(undefined, { ...(ngDevMode ? { debugName: "openOnChange" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
524
496
|
/**
|
|
525
497
|
* Whether to open the combobox popup on click
|
|
526
498
|
*
|
|
527
499
|
* @default true
|
|
528
500
|
*/
|
|
529
|
-
openOnClick = input(undefined, ...(ngDevMode ?
|
|
530
|
-
transform: booleanAttribute,
|
|
531
|
-
}]));
|
|
501
|
+
openOnClick = input(undefined, { ...(ngDevMode ? { debugName: "openOnClick" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
532
502
|
/**
|
|
533
503
|
* Whether to open the combobox on arrow key press
|
|
534
504
|
*
|
|
535
505
|
* @default true
|
|
536
506
|
*/
|
|
537
|
-
openOnKeyPress = input(undefined, ...(ngDevMode ?
|
|
538
|
-
transform: booleanAttribute,
|
|
539
|
-
}]));
|
|
507
|
+
openOnKeyPress = input(undefined, { ...(ngDevMode ? { debugName: "openOnKeyPress" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
540
508
|
/**
|
|
541
509
|
* Placeholder text to display when no value is selected.
|
|
542
510
|
*
|
|
543
511
|
* @default "Select option"
|
|
544
512
|
*/
|
|
545
|
-
placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : []));
|
|
513
|
+
placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
|
|
546
514
|
/**
|
|
547
515
|
* The positioning options of the menu.
|
|
548
516
|
*
|
|
549
517
|
* @inheritDoc
|
|
550
518
|
*/
|
|
551
|
-
positioning = input(...(ngDevMode ? [undefined, { debugName: "positioning" }] : []));
|
|
519
|
+
positioning = input(...(ngDevMode ? [undefined, { debugName: "positioning" }] : /* istanbul ignore next */ []));
|
|
552
520
|
/**
|
|
553
521
|
* The controlled presence of the node.
|
|
554
522
|
*/
|
|
555
|
-
present = input(undefined, ...(ngDevMode ? [{ debugName: "present" }] : []));
|
|
523
|
+
present = input(undefined, ...(ngDevMode ? [{ debugName: "present" }] : /* istanbul ignore next */ []));
|
|
556
524
|
/**
|
|
557
525
|
* Function to scroll to a specific index
|
|
558
526
|
*/
|
|
559
|
-
scrollToIndexFn = input(...(ngDevMode ? [undefined, { debugName: "scrollToIndexFn" }] : []));
|
|
527
|
+
scrollToIndexFn = input(...(ngDevMode ? [undefined, { debugName: "scrollToIndexFn" }] : /* istanbul ignore next */ []));
|
|
560
528
|
/**
|
|
561
529
|
* The behavior of the combobox input when an item is selected
|
|
562
530
|
* - `replace`: The selected item string is set as the input value
|
|
@@ -565,26 +533,24 @@ class CoreComboboxRootDirective extends AbstractListCollectionFormControlDirecti
|
|
|
565
533
|
*
|
|
566
534
|
* @default "replace"
|
|
567
535
|
*/
|
|
568
|
-
selectionBehavior = input(...(ngDevMode ? [undefined, { debugName: "selectionBehavior" }] : []));
|
|
536
|
+
selectionBehavior = input(...(ngDevMode ? [undefined, { debugName: "selectionBehavior" }] : /* istanbul ignore next */ []));
|
|
569
537
|
/**
|
|
570
538
|
* Whether to allow the initial presence animation.
|
|
571
539
|
*
|
|
572
540
|
* @default false
|
|
573
541
|
*/
|
|
574
|
-
skipAnimationOnMount = input(undefined, ...(ngDevMode ?
|
|
542
|
+
skipAnimationOnMount = input(undefined, { ...(ngDevMode ? { debugName: "skipAnimationOnMount" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
575
543
|
/**
|
|
576
544
|
* Specifies the localized strings
|
|
577
545
|
*/
|
|
578
|
-
translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : []));
|
|
546
|
+
translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : /* istanbul ignore next */ []));
|
|
579
547
|
/**
|
|
580
548
|
* When true, the component will be completely removed from the DOM when it
|
|
581
549
|
* becomes inactive or hidden, rather than just being hidden with CSS.
|
|
582
550
|
*
|
|
583
551
|
* @default false
|
|
584
552
|
*/
|
|
585
|
-
unmountOnExit = input(undefined, ...(ngDevMode ?
|
|
586
|
-
transform: booleanAttribute,
|
|
587
|
-
}]));
|
|
553
|
+
unmountOnExit = input(undefined, { ...(ngDevMode ? { debugName: "unmountOnExit" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
588
554
|
/**
|
|
589
555
|
* Function called when the animation ends in the closed state
|
|
590
556
|
*/
|
|
@@ -619,7 +585,7 @@ class CoreComboboxRootDirective extends AbstractListCollectionFormControlDirecti
|
|
|
619
585
|
valueChanged = output();
|
|
620
586
|
document = inject(DOCUMENT);
|
|
621
587
|
isMounted = useIsMounted();
|
|
622
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
588
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
623
589
|
comboboxContext = inject(ComboboxContextService);
|
|
624
590
|
presenceService = inject(PresenceContextService);
|
|
625
591
|
trackBindings = useTrackBindings(() => this.comboboxContext.context().getRootBindings({
|
|
@@ -723,7 +689,7 @@ class CoreComboboxRootDirective extends AbstractListCollectionFormControlDirecti
|
|
|
723
689
|
value: this.collection().getValues(this.value()),
|
|
724
690
|
};
|
|
725
691
|
}), this.injector);
|
|
726
|
-
const comboboxApi = computed(() => createComboboxApi(machine, normalizeProps), ...(ngDevMode ? [{ debugName: "comboboxApi" }] : []));
|
|
692
|
+
const comboboxApi = computed(() => createComboboxApi(machine, normalizeProps), ...(ngDevMode ? [{ debugName: "comboboxApi" }] : /* istanbul ignore next */ []));
|
|
727
693
|
this.comboboxContext.init(comboboxApi);
|
|
728
694
|
const presence = useMachine(presenceMachine, computed(() => {
|
|
729
695
|
const present = this.present();
|
|
@@ -750,10 +716,10 @@ class CoreComboboxRootDirective extends AbstractListCollectionFormControlDirecti
|
|
|
750
716
|
this.presenceService.init(computed(() => createPresenceApi(presence, normalizeProps)));
|
|
751
717
|
this.trackBindings();
|
|
752
718
|
}
|
|
753
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
754
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
719
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
720
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxRootDirective, isStandalone: true, inputs: { allowCustomValue: { classPropertyName: "allowCustomValue", publicName: "allowCustomValue", isSignal: true, isRequired: false, transformFunction: null }, alwaysSubmitOnEnter: { classPropertyName: "alwaysSubmitOnEnter", publicName: "alwaysSubmitOnEnter", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, closeOnSelect: { classPropertyName: "closeOnSelect", publicName: "closeOnSelect", isSignal: true, isRequired: false, transformFunction: null }, composite: { classPropertyName: "composite", publicName: "composite", isSignal: true, isRequired: false, transformFunction: null }, defaultHighlightedValue: { classPropertyName: "defaultHighlightedValue", publicName: "defaultHighlightedValue", isSignal: true, isRequired: false, transformFunction: null }, defaultInputValue: { classPropertyName: "defaultInputValue", publicName: "defaultInputValue", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, disableLayer: { classPropertyName: "disableLayer", publicName: "disableLayer", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, highlightedValue: { classPropertyName: "highlightedValue", publicName: "highlightedValue", isSignal: true, isRequired: false, transformFunction: null }, inputBehavior: { classPropertyName: "inputBehavior", publicName: "inputBehavior", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, immediate: { classPropertyName: "immediate", publicName: "immediate", isSignal: true, isRequired: false, transformFunction: null }, inputValue: { classPropertyName: "inputValue", publicName: "inputValue", isSignal: true, isRequired: false, transformFunction: null }, lazyMount: { classPropertyName: "lazyMount", publicName: "lazyMount", isSignal: true, isRequired: false, transformFunction: null }, loopFocus: { classPropertyName: "loopFocus", publicName: "loopFocus", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, openOnChange: { classPropertyName: "openOnChange", publicName: "openOnChange", isSignal: true, isRequired: false, transformFunction: null }, openOnClick: { classPropertyName: "openOnClick", publicName: "openOnClick", isSignal: true, isRequired: false, transformFunction: null }, openOnKeyPress: { classPropertyName: "openOnKeyPress", publicName: "openOnKeyPress", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, positioning: { classPropertyName: "positioning", publicName: "positioning", isSignal: true, isRequired: false, transformFunction: null }, present: { classPropertyName: "present", publicName: "present", isSignal: true, isRequired: false, transformFunction: null }, scrollToIndexFn: { classPropertyName: "scrollToIndexFn", publicName: "scrollToIndexFn", isSignal: true, isRequired: false, transformFunction: null }, selectionBehavior: { classPropertyName: "selectionBehavior", publicName: "selectionBehavior", isSignal: true, isRequired: false, transformFunction: null }, skipAnimationOnMount: { classPropertyName: "skipAnimationOnMount", publicName: "skipAnimationOnMount", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null }, unmountOnExit: { classPropertyName: "unmountOnExit", publicName: "unmountOnExit", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { exitCompleted: "exitCompleted", focusOutside: "focusOutside", highlightChanged: "highlightChanged", inputValueChanged: "inputValueChanged", interactOutside: "interactOutside", openChanged: "openChanged", pointerDownOutside: "pointerDownOutside", valueChanged: "valueChanged" }, usesInheritance: true, ngImport: i0 });
|
|
755
721
|
}
|
|
756
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxRootDirective, decorators: [{
|
|
757
723
|
type: Directive
|
|
758
724
|
}], propDecorators: { allowCustomValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "allowCustomValue", required: false }] }], alwaysSubmitOnEnter: [{ type: i0.Input, args: [{ isSignal: true, alias: "alwaysSubmitOnEnter", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], closeOnSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnSelect", required: false }] }], composite: [{ type: i0.Input, args: [{ isSignal: true, alias: "composite", required: false }] }], defaultHighlightedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultHighlightedValue", required: false }] }], defaultInputValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultInputValue", required: false }] }], defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], disableLayer: [{ type: i0.Input, args: [{ isSignal: true, alias: "disableLayer", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], highlightedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "highlightedValue", required: false }] }], inputBehavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputBehavior", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], immediate: [{ type: i0.Input, args: [{ isSignal: true, alias: "immediate", required: false }] }], inputValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "inputValue", required: false }] }], lazyMount: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazyMount", required: false }] }], loopFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "loopFocus", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], openOnChange: [{ type: i0.Input, args: [{ isSignal: true, alias: "openOnChange", required: false }] }], openOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "openOnClick", required: false }] }], openOnKeyPress: [{ type: i0.Input, args: [{ isSignal: true, alias: "openOnKeyPress", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], positioning: [{ type: i0.Input, args: [{ isSignal: true, alias: "positioning", required: false }] }], present: [{ type: i0.Input, args: [{ isSignal: true, alias: "present", required: false }] }], scrollToIndexFn: [{ type: i0.Input, args: [{ isSignal: true, alias: "scrollToIndexFn", required: false }] }], selectionBehavior: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionBehavior", required: false }] }], skipAnimationOnMount: [{ type: i0.Input, args: [{ isSignal: true, alias: "skipAnimationOnMount", required: false }] }], translations: [{ type: i0.Input, args: [{ isSignal: true, alias: "translations", required: false }] }], unmountOnExit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unmountOnExit", required: false }] }], exitCompleted: [{ type: i0.Output, args: ["exitCompleted"] }], focusOutside: [{ type: i0.Output, args: ["focusOutside"] }], highlightChanged: [{ type: i0.Output, args: ["highlightChanged"] }], inputValueChanged: [{ type: i0.Output, args: ["inputValueChanged"] }], interactOutside: [{ type: i0.Output, args: ["interactOutside"] }], openChanged: [{ type: i0.Output, args: ["openChanged"] }], pointerDownOutside: [{ type: i0.Output, args: ["pointerDownOutside"] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }] } });
|
|
759
725
|
|
|
@@ -763,16 +729,14 @@ class CoreComboboxTriggerDirective {
|
|
|
763
729
|
/**
|
|
764
730
|
* Whether the trigger is focusable
|
|
765
731
|
*/
|
|
766
|
-
focusable = input(undefined, ...(ngDevMode ?
|
|
767
|
-
transform: booleanAttribute,
|
|
768
|
-
}]));
|
|
732
|
+
focusable = input(undefined, { ...(ngDevMode ? { debugName: "focusable" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
769
733
|
/**
|
|
770
734
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
771
735
|
* omitted, a unique identifier will be generated for accessibility.
|
|
772
736
|
*/
|
|
773
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
737
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
774
738
|
comboboxContext = useComboboxContext();
|
|
775
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
739
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
776
740
|
onDestroy = useOnDestroy();
|
|
777
741
|
trackBindings = useTrackBindings(() => this.comboboxContext().getTriggerBindings({
|
|
778
742
|
focusable: this.focusable(),
|
|
@@ -782,10 +746,10 @@ class CoreComboboxTriggerDirective {
|
|
|
782
746
|
ngOnInit() {
|
|
783
747
|
this.trackBindings();
|
|
784
748
|
}
|
|
785
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
786
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
749
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
750
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CoreComboboxTriggerDirective, isStandalone: true, inputs: { focusable: { classPropertyName: "focusable", publicName: "focusable", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
787
751
|
}
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CoreComboboxTriggerDirective, decorators: [{
|
|
789
753
|
type: Directive
|
|
790
754
|
}], propDecorators: { focusable: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusable", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
791
755
|
|