@qualcomm-ui/angular-core 2.0.1 → 2.0.2
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 +27 -27
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +15 -15
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +12 -12
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +60 -60
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +33 -33
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs +12 -12
- package/fesm2022/qualcomm-ui-angular-core-events.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +21 -21
- package/fesm2022/qualcomm-ui-angular-core-input.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs +69 -69
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +36 -36
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +30 -30
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs +33 -33
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs +9 -9
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs +39 -39
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +15 -15
- package/fesm2022/qualcomm-ui-angular-core-select.mjs +51 -51
- package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs +26 -23
- package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-slider.mjs +51 -51
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +21 -21
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +27 -27
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +21 -21
- package/fesm2022/qualcomm-ui-angular-core-tree.mjs +48 -48
- package/package.json +4 -4
- package/types/qualcomm-ui-angular-core-side-nav.d.ts.map +1 -1
|
@@ -8,14 +8,15 @@ import { TreeContextService } from '@qualcomm-ui/angular-core/tree';
|
|
|
8
8
|
import { sideNavMachine, createSideNavApi } from '@qualcomm-ui/core/side-nav';
|
|
9
9
|
import { treeMachine, createTreeApi } from '@qualcomm-ui/core/tree';
|
|
10
10
|
import '@qualcomm-ui/utils/collection';
|
|
11
|
+
import { mergeProps } from '@qualcomm-ui/utils/merge-props';
|
|
11
12
|
|
|
12
13
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
13
14
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
14
15
|
class SideNavContextService extends BaseApiContextService {
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
16
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
16
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SideNavContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
17
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SideNavContextService });
|
|
17
18
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SideNavContextService, decorators: [{
|
|
19
20
|
type: Injectable
|
|
20
21
|
}] });
|
|
21
22
|
const [SIDE_NAV_CONTEXT, useSideNavContext, provideSideNavContext,] = createApiContext("SideNavContext", SideNavContextService);
|
|
@@ -28,10 +29,10 @@ class CoreSideNavHeaderActionDirective {
|
|
|
28
29
|
ngOnInit() {
|
|
29
30
|
this.trackBindings();
|
|
30
31
|
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
32
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
33
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CoreSideNavHeaderActionDirective, isStandalone: true, ngImport: i0 });
|
|
33
34
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderActionDirective, decorators: [{
|
|
35
36
|
type: Directive
|
|
36
37
|
}] });
|
|
37
38
|
|
|
@@ -43,10 +44,10 @@ class CoreSideNavHeaderLogoDirective {
|
|
|
43
44
|
ngOnInit() {
|
|
44
45
|
this.trackBindings();
|
|
45
46
|
}
|
|
46
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
47
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderLogoDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CoreSideNavHeaderLogoDirective, isStandalone: true, ngImport: i0 });
|
|
48
49
|
}
|
|
49
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderLogoDirective, decorators: [{
|
|
50
51
|
type: Directive
|
|
51
52
|
}] });
|
|
52
53
|
|
|
@@ -58,10 +59,10 @@ class CoreSideNavHeaderTitleDirective {
|
|
|
58
59
|
ngOnInit() {
|
|
59
60
|
this.trackBindings();
|
|
60
61
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
62
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
62
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
63
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CoreSideNavHeaderTitleDirective, isStandalone: true, ngImport: i0 });
|
|
63
64
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderTitleDirective, decorators: [{
|
|
65
66
|
type: Directive
|
|
66
67
|
}] });
|
|
67
68
|
|
|
@@ -73,10 +74,10 @@ class CoreSideNavHeaderDirective {
|
|
|
73
74
|
ngOnInit() {
|
|
74
75
|
this.trackBindings();
|
|
75
76
|
}
|
|
76
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
77
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
77
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
78
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.4", type: CoreSideNavHeaderDirective, isStandalone: true, ngImport: i0 });
|
|
78
79
|
}
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavHeaderDirective, decorators: [{
|
|
80
81
|
type: Directive
|
|
81
82
|
}] });
|
|
82
83
|
|
|
@@ -216,9 +217,11 @@ class CoreSideNavRootDirective {
|
|
|
216
217
|
renderStrategyContextService = inject(RenderStrategyContextService);
|
|
217
218
|
sideNavContextService = inject(SideNavContextService);
|
|
218
219
|
treeContextService = inject(TreeContextService);
|
|
219
|
-
trackBindings = useTrackBindings(() => this.
|
|
220
|
+
trackBindings = useTrackBindings(() => mergeProps(this.treeContextService.context().getRootBindings({
|
|
220
221
|
id: this.hostId(),
|
|
221
|
-
}))
|
|
222
|
+
}), this.sideNavContextService.context().getRootBindings({
|
|
223
|
+
id: this.hostId(),
|
|
224
|
+
})));
|
|
222
225
|
ngOnInit() {
|
|
223
226
|
const sideNavMachineInstance = useMachine(sideNavMachine, computed(() => ({
|
|
224
227
|
defaultOpen: this.defaultOpen(),
|
|
@@ -294,10 +297,10 @@ class CoreSideNavRootDirective {
|
|
|
294
297
|
})));
|
|
295
298
|
this.trackBindings();
|
|
296
299
|
}
|
|
297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
298
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
300
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
301
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSideNavRootDirective, isStandalone: true, inputs: { collection: { classPropertyName: "collection", publicName: "collection", isSignal: true, isRequired: false, transformFunction: null }, defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, defaultExpandedValue: { classPropertyName: "defaultExpandedValue", publicName: "defaultExpandedValue", isSignal: true, isRequired: false, transformFunction: null }, defaultFocusedValue: { classPropertyName: "defaultFocusedValue", publicName: "defaultFocusedValue", isSignal: true, isRequired: false, transformFunction: null }, defaultSelectedValue: { classPropertyName: "defaultSelectedValue", publicName: "defaultSelectedValue", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, expandedValue: { classPropertyName: "expandedValue", publicName: "expandedValue", isSignal: true, isRequired: false, transformFunction: null }, expandOnClick: { classPropertyName: "expandOnClick", publicName: "expandOnClick", isSignal: true, isRequired: false, transformFunction: null }, focusedValue: { classPropertyName: "focusedValue", publicName: "focusedValue", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, lazyMount: { classPropertyName: "lazyMount", publicName: "lazyMount", isSignal: true, isRequired: false, transformFunction: null }, loadChildren: { classPropertyName: "loadChildren", publicName: "loadChildren", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, selectedValue: { classPropertyName: "selectedValue", publicName: "selectedValue", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, shouldHideNode: { classPropertyName: "shouldHideNode", publicName: "shouldHideNode", isSignal: true, isRequired: false, transformFunction: null }, typeahead: { classPropertyName: "typeahead", publicName: "typeahead", isSignal: true, isRequired: false, transformFunction: null }, unmountOnExit: { classPropertyName: "unmountOnExit", publicName: "unmountOnExit", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expandedValueChanged: "expandedValueChanged", focusChanged: "focusChanged", loadChildrenComplete: "loadChildrenComplete", loadChildrenError: "loadChildrenError", selectedValueChanged: "selectedValueChanged", openChanged: "openChanged" }, ngImport: i0 });
|
|
299
302
|
}
|
|
300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
303
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavRootDirective, decorators: [{
|
|
301
304
|
type: Directive
|
|
302
305
|
}], propDecorators: { collection: [{ type: i0.Input, args: [{ isSignal: true, alias: "collection", required: false }] }], defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], defaultExpandedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultExpandedValue", required: false }] }], defaultFocusedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultFocusedValue", required: false }] }], defaultSelectedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultSelectedValue", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], expandedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedValue", required: false }] }], expandOnClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandOnClick", required: false }] }], focusedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "focusedValue", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], lazyMount: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazyMount", required: false }] }], loadChildren: [{ type: i0.Input, args: [{ isSignal: true, alias: "loadChildren", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], selectedValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectedValue", required: false }] }], selectionMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "selectionMode", required: false }] }], shouldHideNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "shouldHideNode", required: false }] }], typeahead: [{ type: i0.Input, args: [{ isSignal: true, alias: "typeahead", required: false }] }], unmountOnExit: [{ type: i0.Input, args: [{ isSignal: true, alias: "unmountOnExit", required: false }] }], expandedValueChanged: [{ type: i0.Output, args: ["expandedValueChanged"] }], focusChanged: [{ type: i0.Output, args: ["focusChanged"] }], loadChildrenComplete: [{ type: i0.Output, args: ["loadChildrenComplete"] }], loadChildrenError: [{ type: i0.Output, args: ["loadChildrenError"] }], selectedValueChanged: [{ type: i0.Output, args: ["selectedValueChanged"] }], openChanged: [{ type: i0.Output, args: ["openChanged"] }] } });
|
|
303
306
|
|
|
@@ -316,10 +319,10 @@ class CoreSideNavTriggerDirective {
|
|
|
316
319
|
ngOnInit() {
|
|
317
320
|
this.trackBindings();
|
|
318
321
|
}
|
|
319
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
320
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
322
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
323
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSideNavTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
321
324
|
}
|
|
322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSideNavTriggerDirective, decorators: [{
|
|
323
326
|
type: Directive
|
|
324
327
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
325
328
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-side-nav.mjs","sources":["../../src/side-nav/side-nav-context.service.ts","../../src/side-nav/core-side-nav-header-action.directive.ts","../../src/side-nav/core-side-nav-header-logo.directive.ts","../../src/side-nav/core-side-nav-header-title.directive.ts","../../src/side-nav/core-side-nav-header.directive.ts","../../src/side-nav/core-side-nav-root.directive.ts","../../src/side-nav/core-side-nav-trigger.directive.ts","../../src/side-nav/qualcomm-ui-angular-core-side-nav.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SideNavApi} from \"@qualcomm-ui/core/side-nav\"\n\n@Injectable()\nexport class SideNavContextService extends BaseApiContextService<SideNavApi> {}\n\nexport const [\n SIDE_NAV_CONTEXT,\n useSideNavContext,\n provideSideNavContext,\n]: ApiContext<SideNavApi> = createApiContext<SideNavApi>(\n \"SideNavContext\",\n SideNavContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderActionDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderActionBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderLogoDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderLogoBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderTitleDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderTitleBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useId, useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {RenderStrategyContextService} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {TreeContextService} from \"@qualcomm-ui/angular-core/tree\"\nimport type {RenderStrategyApiProps} from \"@qualcomm-ui/core/presence\"\nimport {\n createSideNavApi,\n type SideNavApiProps,\n sideNavMachine,\n} from \"@qualcomm-ui/core/side-nav\"\nimport {\n createTreeApi,\n type ExpandedChangeDetails,\n type FocusChangeDetails,\n type LoadChildrenCompleteDetails,\n type LoadChildrenDetails,\n type LoadChildrenErrorDetails,\n type NodeState,\n type SelectionChangeDetails,\n type TreeApiProps,\n treeMachine,\n} from \"@qualcomm-ui/core/tree\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport {TreeCollection, type TreeNode} from \"@qualcomm-ui/utils/collection\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {SideNavContextService} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavRootDirective<T extends TreeNode = TreeNode>\n implements\n SignalifyInput<Omit<SideNavApiProps, \"dir\">>,\n SignalifyInput<\n Omit<\n TreeApiProps<T>,\n \"checkedValue\" | \"defaultCheckedValue\" | \"onCheckedValueChange\"\n >\n >,\n SignalifyInput<RenderStrategyApiProps>,\n OnInit\n{\n /**\n * The tree collection data\n * @inheritDoc\n */\n readonly collection = input<TreeCollection<T>>()\n\n /**\n * The initial open state of the side navigation when rendered.\n * Use when you don't need to control the open state of the collapsible.\n *\n * @default true\n */\n readonly defaultOpen = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The initial expanded node ids when rendered.\n * Use when you don't need to control the expanded node value.\n */\n readonly defaultExpandedValue = input<string[] | undefined>()\n\n /**\n * The initial focused node value when rendered.\n * Use when you don't need to control the focused node value.\n */\n readonly defaultFocusedValue = input<string | null | undefined>()\n\n /**\n * The initial selected node value when rendered.\n * Use when you don't need to control the selected node value.\n */\n readonly defaultSelectedValue = input<string[] | undefined>()\n\n /**\n * The document's text/writing direction.\n */\n readonly dir = input<Direction | undefined>()\n\n /**\n * Whether the side navigation collapse behavior is disabled.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled expanded node ids\n */\n readonly expandedValue = input<string[] | undefined>()\n\n /**\n * Whether clicking on a branch should open it or not\n * @default true\n */\n readonly expandOnClick = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The value of the focused node\n */\n readonly focusedValue = input<string | null | undefined>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * HTML id attribute. If omitted, a unique identifier will be generated for\n * accessibility.\n */\n readonly id = input<string>()\n\n /**\n * When true, the component will not be rendered in the DOM until it becomes\n * visible or active.\n *\n * @default false\n */\n readonly lazyMount = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Function to load children for a node asynchronously.\n * When provided, branches will wait for this promise to resolve before expanding.\n */\n readonly loadChildren = input<\n ((details: LoadChildrenDetails<T>) => Promise<T[]>) | undefined\n >()\n\n /**\n * The controlled open state of the side navigation\n */\n readonly open = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled selected node value\n */\n readonly selectedValue = input<string[] | undefined>()\n\n /**\n * Whether the tree supports multiple selection\n * @option `'single'`: only one node can be selected\n * @option `'multiple'`: multiple nodes can be selected\n *\n * @default 'single'\n */\n readonly selectionMode = input<\"single\" | \"multiple\" | undefined>()\n\n /**\n * Callback function that determines whether a node should be hidden.\n */\n readonly shouldHideNode =\n input<(state: NodeState<T>) => boolean | undefined>()\n\n /**\n * Whether the tree supports typeahead search\n * @default true\n */\n readonly typeahead = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * When true, the component will be completely removed from the DOM when it\n * becomes inactive or hidden, rather than just being hidden with CSS.\n *\n * @default false\n */\n readonly unmountOnExit = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Called when the tree is opened or closed\n */\n readonly expandedValueChanged = output<ExpandedChangeDetails<T>>()\n\n /**\n * Called when the focused node changes\n */\n readonly focusChanged = output<FocusChangeDetails<T>>()\n\n /**\n * Called when a node finishes loading children\n */\n readonly loadChildrenComplete = output<LoadChildrenCompleteDetails<T>>()\n\n /**\n * Called when loading children fails for one or more nodes\n */\n readonly loadChildrenError = output<LoadChildrenErrorDetails<T>>()\n\n /**\n * Called when the selection changes\n */\n readonly selectedValueChanged = output<SelectionChangeDetails<T>>()\n\n /**\n * Called when the side navigation opens or closes\n */\n readonly openChanged = output<boolean>()\n\n protected readonly document = inject(DOCUMENT)\n protected readonly hostId = computed(() => useId(this, this.id()))\n readonly injector = inject(Injector)\n protected readonly isMounted = useIsMounted()\n protected readonly renderStrategyContextService = inject(\n RenderStrategyContextService,\n )\n protected readonly sideNavContextService = inject(SideNavContextService)\n protected readonly treeContextService = inject(TreeContextService)\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContextService.context().getRootBindings({\n id: this.hostId(),\n }),\n )\n\n ngOnInit() {\n const sideNavMachineInstance = useMachine(\n sideNavMachine,\n computed<Explicit<SideNavApiProps>>(() => ({\n defaultOpen: this.defaultOpen(),\n dir: this.dir(),\n disabled: this.disabled(),\n getRootNode: this.getRootNode() || (() => this.document),\n onOpenChange: (open) => {\n if (this.isMounted()) {\n this.openChanged.emit(open)\n }\n },\n open: this.open(),\n })),\n this.injector,\n )\n\n const sideNavApi = computed(() =>\n createSideNavApi(sideNavMachineInstance, normalizeProps),\n )\n\n this.sideNavContextService.init(sideNavApi)\n\n const treeMachineInstance = useMachine(\n treeMachine,\n computed<Explicit<TreeApiProps<T>>>(() => {\n const sideNavOpen = sideNavApi().open\n const userShouldHideNode = this.shouldHideNode()\n\n return {\n checkedValue: undefined,\n collection: this.collection(),\n defaultCheckedValue: undefined,\n defaultExpandedValue: this.defaultExpandedValue(),\n defaultFocusedValue: this.defaultFocusedValue(),\n defaultSelectedValue: this.defaultSelectedValue(),\n dir: this.dir(),\n expandedValue: sideNavOpen ? this.expandedValue() : [],\n expandOnClick: this.expandOnClick(),\n focusedValue: this.focusedValue(),\n getRootNode: this.getRootNode() || (() => this.document),\n loadChildren: this.loadChildren(),\n onCheckedValueChange: undefined,\n onExpandedValueChange: (details) => {\n if (this.isMounted()) {\n this.expandedValueChanged.emit(details)\n }\n },\n onFocusChange: (details) => {\n if (this.isMounted()) {\n this.focusChanged.emit(details)\n }\n },\n onLoadChildrenComplete: (details) => {\n if (this.isMounted()) {\n this.loadChildrenComplete.emit(details)\n }\n },\n onLoadChildrenError: (details) => {\n if (this.isMounted()) {\n this.loadChildrenError.emit(details)\n }\n },\n onSelectedValueChange: (details) => {\n if (this.isMounted()) {\n this.selectedValueChanged.emit(details)\n }\n },\n selectedValue: this.selectedValue(),\n selectionMode: this.selectionMode(),\n shouldHideNode: (node) => {\n if (!sideNavOpen && node.depth > 1) {\n return true\n }\n return userShouldHideNode?.(node)\n },\n typeahead: this.typeahead(),\n }\n }),\n this.injector,\n )\n\n this.treeContextService.init(\n computed(() => createTreeApi(treeMachineInstance, normalizeProps)),\n )\n\n this.renderStrategyContextService.init(\n computed<Explicit<RenderStrategyApiProps>>(() => ({\n lazyMount: this.lazyMount(),\n unmountOnExit: this.unmountOnExit(),\n })),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavTriggerDirective implements OnInit {\n /**\n * HTML id attribute. If omitted, a unique identifier will be generated for\n * accessibility.\n */\n readonly id = input<string>()\n\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getTriggerBindings({\n id: useId(this, this.id()),\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAAA;AACA;AAYM,MAAO,qBAAsB,SAAQ,qBAAiC,CAAA;uGAA/D,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAArB,qBAAqB,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC;;AAGM,MAAM,CACX,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACtB,GA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,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;;ACVD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-side-nav.mjs","sources":["../../src/side-nav/side-nav-context.service.ts","../../src/side-nav/core-side-nav-header-action.directive.ts","../../src/side-nav/core-side-nav-header-logo.directive.ts","../../src/side-nav/core-side-nav-header-title.directive.ts","../../src/side-nav/core-side-nav-header.directive.ts","../../src/side-nav/core-side-nav-root.directive.ts","../../src/side-nav/core-side-nav-trigger.directive.ts","../../src/side-nav/qualcomm-ui-angular-core-side-nav.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SideNavApi} from \"@qualcomm-ui/core/side-nav\"\n\n@Injectable()\nexport class SideNavContextService extends BaseApiContextService<SideNavApi> {}\n\nexport const [\n SIDE_NAV_CONTEXT,\n useSideNavContext,\n provideSideNavContext,\n]: ApiContext<SideNavApi> = createApiContext<SideNavApi>(\n \"SideNavContext\",\n SideNavContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderActionDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderActionBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderLogoDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderLogoBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderTitleDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderTitleBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavHeaderDirective implements OnInit {\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getHeaderBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useId, useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport {RenderStrategyContextService} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {TreeContextService} from \"@qualcomm-ui/angular-core/tree\"\nimport type {RenderStrategyApiProps} from \"@qualcomm-ui/core/presence\"\nimport {\n createSideNavApi,\n type SideNavApiProps,\n sideNavMachine,\n} from \"@qualcomm-ui/core/side-nav\"\nimport {\n createTreeApi,\n type ExpandedChangeDetails,\n type FocusChangeDetails,\n type LoadChildrenCompleteDetails,\n type LoadChildrenDetails,\n type LoadChildrenErrorDetails,\n type NodeState,\n type SelectionChangeDetails,\n type TreeApiProps,\n treeMachine,\n} from \"@qualcomm-ui/core/tree\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport {TreeCollection, type TreeNode} from \"@qualcomm-ui/utils/collection\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {SideNavContextService} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavRootDirective<T extends TreeNode = TreeNode>\n implements\n SignalifyInput<Omit<SideNavApiProps, \"dir\">>,\n SignalifyInput<\n Omit<\n TreeApiProps<T>,\n \"checkedValue\" | \"defaultCheckedValue\" | \"onCheckedValueChange\"\n >\n >,\n SignalifyInput<RenderStrategyApiProps>,\n OnInit\n{\n /**\n * The tree collection data\n * @inheritDoc\n */\n readonly collection = input<TreeCollection<T>>()\n\n /**\n * The initial open state of the side navigation when rendered.\n * Use when you don't need to control the open state of the collapsible.\n *\n * @default true\n */\n readonly defaultOpen = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The initial expanded node ids when rendered.\n * Use when you don't need to control the expanded node value.\n */\n readonly defaultExpandedValue = input<string[] | undefined>()\n\n /**\n * The initial focused node value when rendered.\n * Use when you don't need to control the focused node value.\n */\n readonly defaultFocusedValue = input<string | null | undefined>()\n\n /**\n * The initial selected node value when rendered.\n * Use when you don't need to control the selected node value.\n */\n readonly defaultSelectedValue = input<string[] | undefined>()\n\n /**\n * The document's text/writing direction.\n */\n readonly dir = input<Direction | undefined>()\n\n /**\n * Whether the side navigation collapse behavior is disabled.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled expanded node ids\n */\n readonly expandedValue = input<string[] | undefined>()\n\n /**\n * Whether clicking on a branch should open it or not\n * @default true\n */\n readonly expandOnClick = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The value of the focused node\n */\n readonly focusedValue = input<string | null | undefined>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * HTML id attribute. If omitted, a unique identifier will be generated for\n * accessibility.\n */\n readonly id = input<string>()\n\n /**\n * When true, the component will not be rendered in the DOM until it becomes\n * visible or active.\n *\n * @default false\n */\n readonly lazyMount = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Function to load children for a node asynchronously.\n * When provided, branches will wait for this promise to resolve before expanding.\n */\n readonly loadChildren = input<\n ((details: LoadChildrenDetails<T>) => Promise<T[]>) | undefined\n >()\n\n /**\n * The controlled open state of the side navigation\n */\n readonly open = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The controlled selected node value\n */\n readonly selectedValue = input<string[] | undefined>()\n\n /**\n * Whether the tree supports multiple selection\n * @option `'single'`: only one node can be selected\n * @option `'multiple'`: multiple nodes can be selected\n *\n * @default 'single'\n */\n readonly selectionMode = input<\"single\" | \"multiple\" | undefined>()\n\n /**\n * Callback function that determines whether a node should be hidden.\n */\n readonly shouldHideNode =\n input<(state: NodeState<T>) => boolean | undefined>()\n\n /**\n * Whether the tree supports typeahead search\n * @default true\n */\n readonly typeahead = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * When true, the component will be completely removed from the DOM when it\n * becomes inactive or hidden, rather than just being hidden with CSS.\n *\n * @default false\n */\n readonly unmountOnExit = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Called when the tree is opened or closed\n */\n readonly expandedValueChanged = output<ExpandedChangeDetails<T>>()\n\n /**\n * Called when the focused node changes\n */\n readonly focusChanged = output<FocusChangeDetails<T>>()\n\n /**\n * Called when a node finishes loading children\n */\n readonly loadChildrenComplete = output<LoadChildrenCompleteDetails<T>>()\n\n /**\n * Called when loading children fails for one or more nodes\n */\n readonly loadChildrenError = output<LoadChildrenErrorDetails<T>>()\n\n /**\n * Called when the selection changes\n */\n readonly selectedValueChanged = output<SelectionChangeDetails<T>>()\n\n /**\n * Called when the side navigation opens or closes\n */\n readonly openChanged = output<boolean>()\n\n protected readonly document = inject(DOCUMENT)\n protected readonly hostId = computed(() => useId(this, this.id()))\n readonly injector = inject(Injector)\n protected readonly isMounted = useIsMounted()\n protected readonly renderStrategyContextService = inject(\n RenderStrategyContextService,\n )\n protected readonly sideNavContextService = inject(SideNavContextService)\n protected readonly treeContextService = inject(TreeContextService)\n\n protected readonly trackBindings = useTrackBindings(() =>\n mergeProps(\n this.treeContextService.context().getRootBindings({\n id: this.hostId(),\n }),\n this.sideNavContextService.context().getRootBindings({\n id: this.hostId(),\n }),\n ),\n )\n\n ngOnInit() {\n const sideNavMachineInstance = useMachine(\n sideNavMachine,\n computed<Explicit<SideNavApiProps>>(() => ({\n defaultOpen: this.defaultOpen(),\n dir: this.dir(),\n disabled: this.disabled(),\n getRootNode: this.getRootNode() || (() => this.document),\n onOpenChange: (open) => {\n if (this.isMounted()) {\n this.openChanged.emit(open)\n }\n },\n open: this.open(),\n })),\n this.injector,\n )\n\n const sideNavApi = computed(() =>\n createSideNavApi(sideNavMachineInstance, normalizeProps),\n )\n\n this.sideNavContextService.init(sideNavApi)\n\n const treeMachineInstance = useMachine(\n treeMachine,\n computed<Explicit<TreeApiProps<T>>>(() => {\n const sideNavOpen = sideNavApi().open\n const userShouldHideNode = this.shouldHideNode()\n\n return {\n checkedValue: undefined,\n collection: this.collection(),\n defaultCheckedValue: undefined,\n defaultExpandedValue: this.defaultExpandedValue(),\n defaultFocusedValue: this.defaultFocusedValue(),\n defaultSelectedValue: this.defaultSelectedValue(),\n dir: this.dir(),\n expandedValue: sideNavOpen ? this.expandedValue() : [],\n expandOnClick: this.expandOnClick(),\n focusedValue: this.focusedValue(),\n getRootNode: this.getRootNode() || (() => this.document),\n loadChildren: this.loadChildren(),\n onCheckedValueChange: undefined,\n onExpandedValueChange: (details) => {\n if (this.isMounted()) {\n this.expandedValueChanged.emit(details)\n }\n },\n onFocusChange: (details) => {\n if (this.isMounted()) {\n this.focusChanged.emit(details)\n }\n },\n onLoadChildrenComplete: (details) => {\n if (this.isMounted()) {\n this.loadChildrenComplete.emit(details)\n }\n },\n onLoadChildrenError: (details) => {\n if (this.isMounted()) {\n this.loadChildrenError.emit(details)\n }\n },\n onSelectedValueChange: (details) => {\n if (this.isMounted()) {\n this.selectedValueChanged.emit(details)\n }\n },\n selectedValue: this.selectedValue(),\n selectionMode: this.selectionMode(),\n shouldHideNode: (node) => {\n if (!sideNavOpen && node.depth > 1) {\n return true\n }\n return userShouldHideNode?.(node)\n },\n typeahead: this.typeahead(),\n }\n }),\n this.injector,\n )\n\n this.treeContextService.init(\n computed(() => createTreeApi(treeMachineInstance, normalizeProps)),\n )\n\n this.renderStrategyContextService.init(\n computed<Explicit<RenderStrategyApiProps>>(() => ({\n lazyMount: this.lazyMount(),\n unmountOnExit: this.unmountOnExit(),\n })),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSideNavContext} from \"./side-nav-context.service\"\n\n@Directive()\nexport class CoreSideNavTriggerDirective implements OnInit {\n /**\n * HTML id attribute. If omitted, a unique identifier will be generated for\n * accessibility.\n */\n readonly id = input<string>()\n\n protected readonly sideNavContext = useSideNavContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.sideNavContext().getTriggerBindings({\n id: useId(this, this.id()),\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AACA;AAYM,MAAO,qBAAsB,SAAQ,qBAAiC,CAAA;uGAA/D,qBAAqB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAArB,qBAAqB,EAAA,CAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC;;AAGM,MAAM,CACX,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACtB,GAA2B,gBAAgB,CAC1C,gBAAgB,EAChB,qBAAqB;;ACrBvB;AACA;MASa,gCAAgC,CAAA;IACxB,cAAc,GAAG,iBAAiB,EAAE;AAEpC,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAClD,IAAI,CAAC,cAAc,EAAE,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2FAA3B,2BAA2B,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;;ACVD;;AAEG;;;;"}
|
|
@@ -10,10 +10,10 @@ import { sliderMachine, createSliderApi } from '@qualcomm-ui/core/slider';
|
|
|
10
10
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
11
11
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
12
12
|
class SliderContextService extends BaseApiContextService {
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
14
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
14
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderContextService });
|
|
15
15
|
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderContextService, decorators: [{
|
|
17
17
|
type: Injectable
|
|
18
18
|
}] });
|
|
19
19
|
const [SLIDER_CONTEXT, useSliderContext, provideSliderContext] = createApiContext("SliderContext", SliderContextService);
|
|
@@ -21,10 +21,10 @@ const [SLIDER_CONTEXT, useSliderContext, provideSliderContext] = createApiContex
|
|
|
21
21
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
22
22
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
23
23
|
class SliderThumbContextService extends BaseApiContextService {
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
25
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
25
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbContextService });
|
|
26
26
|
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: SliderThumbContextService, decorators: [{
|
|
28
28
|
type: Injectable
|
|
29
29
|
}] });
|
|
30
30
|
const [SLIDER_THUMB_CONTEXT, useSliderThumbContext, provideSliderThumbContext,] = createApiContext("SliderThumbContext", SliderThumbContextService);
|
|
@@ -47,10 +47,10 @@ class CoreSliderControlDirective {
|
|
|
47
47
|
ngOnInit() {
|
|
48
48
|
this.trackBindings();
|
|
49
49
|
}
|
|
50
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
51
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
50
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
51
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderControlDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
52
52
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderControlDirective, decorators: [{
|
|
54
54
|
type: Directive
|
|
55
55
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
56
56
|
|
|
@@ -72,10 +72,10 @@ class CoreSliderErrorTextDirective {
|
|
|
72
72
|
ngOnInit() {
|
|
73
73
|
this.trackBindings();
|
|
74
74
|
}
|
|
75
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
76
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
75
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
76
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
77
77
|
}
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderErrorTextDirective, decorators: [{
|
|
79
79
|
type: Directive
|
|
80
80
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
81
81
|
|
|
@@ -99,10 +99,10 @@ class CoreSliderHiddenInputDirective {
|
|
|
99
99
|
ngOnInit() {
|
|
100
100
|
this.trackBindings();
|
|
101
101
|
}
|
|
102
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
103
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
102
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
103
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
104
104
|
}
|
|
105
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderHiddenInputDirective, decorators: [{
|
|
106
106
|
type: Directive
|
|
107
107
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
108
108
|
|
|
@@ -124,10 +124,10 @@ class CoreSliderHintDirective {
|
|
|
124
124
|
ngOnInit() {
|
|
125
125
|
this.trackBindings();
|
|
126
126
|
}
|
|
127
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
128
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
127
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
128
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
129
129
|
}
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderHintDirective, decorators: [{
|
|
131
131
|
type: Directive
|
|
132
132
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
133
133
|
|
|
@@ -149,10 +149,10 @@ class CoreSliderLabelDirective {
|
|
|
149
149
|
ngOnInit() {
|
|
150
150
|
this.trackBindings();
|
|
151
151
|
}
|
|
152
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
153
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
152
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
153
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
154
154
|
}
|
|
155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderLabelDirective, decorators: [{
|
|
156
156
|
type: Directive
|
|
157
157
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
158
158
|
|
|
@@ -174,10 +174,10 @@ class CoreSliderMarkerGroupDirective {
|
|
|
174
174
|
ngOnInit() {
|
|
175
175
|
this.trackBindings();
|
|
176
176
|
}
|
|
177
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
178
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
177
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMarkerGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
178
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderMarkerGroupDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
179
179
|
}
|
|
180
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
180
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMarkerGroupDirective, decorators: [{
|
|
181
181
|
type: Directive
|
|
182
182
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
183
183
|
|
|
@@ -204,10 +204,10 @@ class CoreSliderMarkerDirective {
|
|
|
204
204
|
ngOnInit() {
|
|
205
205
|
this.trackBindings();
|
|
206
206
|
}
|
|
207
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
208
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
207
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMarkerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
208
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderMarkerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 });
|
|
209
209
|
}
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMarkerDirective, decorators: [{
|
|
211
211
|
type: Directive
|
|
212
212
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }] } });
|
|
213
213
|
|
|
@@ -231,10 +231,10 @@ class CoreSliderMaxDirective {
|
|
|
231
231
|
ngOnInit() {
|
|
232
232
|
this.trackBindings();
|
|
233
233
|
}
|
|
234
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
235
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
234
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMaxDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
235
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderMaxDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
236
236
|
}
|
|
237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMaxDirective, decorators: [{
|
|
238
238
|
type: Directive
|
|
239
239
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
240
240
|
|
|
@@ -256,10 +256,10 @@ class CoreSliderMinDirective {
|
|
|
256
256
|
ngOnInit() {
|
|
257
257
|
this.trackBindings();
|
|
258
258
|
}
|
|
259
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
260
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
259
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMinDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
260
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderMinDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
261
261
|
}
|
|
262
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderMinDirective, decorators: [{
|
|
263
263
|
type: Directive
|
|
264
264
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
265
265
|
|
|
@@ -281,10 +281,10 @@ class CoreSliderRangeDirective {
|
|
|
281
281
|
ngOnInit() {
|
|
282
282
|
this.trackBindings();
|
|
283
283
|
}
|
|
284
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
285
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
284
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderRangeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
285
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderRangeDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
286
286
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderRangeDirective, decorators: [{
|
|
288
288
|
type: Directive
|
|
289
289
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
290
290
|
|
|
@@ -455,10 +455,10 @@ class CoreSliderRootDirective extends AbstractBaseListCollectionFormControlDirec
|
|
|
455
455
|
this.sliderContextService.init(computed(() => createSliderApi(machine, normalizeProps)));
|
|
456
456
|
this.trackBindings();
|
|
457
457
|
}
|
|
458
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
459
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
458
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
459
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderRootDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "aria-label", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledby: { classPropertyName: "ariaLabelledby", publicName: "aria-labelledby", isSignal: true, isRequired: false, transformFunction: null }, getAriaValueText: { classPropertyName: "getAriaValueText", publicName: "getAriaValueText", 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 }, minStepsBetweenThumbs: { classPropertyName: "minStepsBetweenThumbs", publicName: "minStepsBetweenThumbs", isSignal: true, isRequired: false, transformFunction: null }, orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, origin: { classPropertyName: "origin", publicName: "origin", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, thumbAlignment: { classPropertyName: "thumbAlignment", publicName: "thumbAlignment", isSignal: true, isRequired: false, transformFunction: null }, thumbSize: { classPropertyName: "thumbSize", publicName: "thumbSize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged", valueChangedEnd: "valueChangedEnd", focusChanged: "focusChanged" }, usesInheritance: true, ngImport: i0 });
|
|
460
460
|
}
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderRootDirective, decorators: [{
|
|
462
462
|
type: Directive
|
|
463
463
|
}], propDecorators: { dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-label", required: false }] }], ariaLabelledby: [{ type: i0.Input, args: [{ isSignal: true, alias: "aria-labelledby", required: false }] }], getAriaValueText: [{ type: i0.Input, args: [{ isSignal: true, alias: "getAriaValueText", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], minStepsBetweenThumbs: [{ type: i0.Input, args: [{ isSignal: true, alias: "minStepsBetweenThumbs", required: false }] }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], origin: [{ type: i0.Input, args: [{ isSignal: true, alias: "origin", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], thumbAlignment: [{ type: i0.Input, args: [{ isSignal: true, alias: "thumbAlignment", required: false }] }], thumbSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "thumbSize", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], valueChangedEnd: [{ type: i0.Output, args: ["valueChangedEnd"] }], focusChanged: [{ type: i0.Output, args: ["focusChanged"] }] } });
|
|
464
464
|
|
|
@@ -483,10 +483,10 @@ class CoreSliderThumbIndicatorDirective {
|
|
|
483
483
|
ngOnInit() {
|
|
484
484
|
this.trackBindings();
|
|
485
485
|
}
|
|
486
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
487
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderThumbIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
487
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderThumbIndicatorDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
488
488
|
}
|
|
489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderThumbIndicatorDirective, decorators: [{
|
|
490
490
|
type: Directive
|
|
491
491
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
492
492
|
|
|
@@ -523,10 +523,10 @@ class CoreSliderThumbDirective {
|
|
|
523
523
|
})));
|
|
524
524
|
this.trackBindings();
|
|
525
525
|
}
|
|
526
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
527
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
526
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
527
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderThumbDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: true, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
528
528
|
}
|
|
529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderThumbDirective, decorators: [{
|
|
530
530
|
type: Directive
|
|
531
531
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], index: [{ type: i0.Input, args: [{ isSignal: true, alias: "index", required: true }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }] } });
|
|
532
532
|
|
|
@@ -548,10 +548,10 @@ class CoreSliderTrackDirective {
|
|
|
548
548
|
ngOnInit() {
|
|
549
549
|
this.trackBindings();
|
|
550
550
|
}
|
|
551
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
552
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderTrackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
552
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderTrackDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
553
553
|
}
|
|
554
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderTrackDirective, decorators: [{
|
|
555
555
|
type: Directive
|
|
556
556
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
557
557
|
|
|
@@ -573,10 +573,10 @@ class CoreSliderValueTextDirective {
|
|
|
573
573
|
ngOnInit() {
|
|
574
574
|
this.trackBindings();
|
|
575
575
|
}
|
|
576
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
577
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.
|
|
576
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
577
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.4", type: CoreSliderValueTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
578
578
|
}
|
|
579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: CoreSliderValueTextDirective, decorators: [{
|
|
580
580
|
type: Directive
|
|
581
581
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
582
582
|
|