import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine'; import { BaseApiContextService, ApiContextDirective } from '@qualcomm-ui/angular-core/machine'; import * as i0 from '@angular/core'; import { TemplateRef, Injector, OnInit } from '@angular/core'; import * as _qualcomm_ui_core_tree from '@qualcomm-ui/core/tree'; import { NodeProps, NodeState } from '@qualcomm-ui/core/tree'; import * as _qualcomm_ui_qds_core_side_nav from '@qualcomm-ui/qds-core/side-nav'; import { QdsSideNavApi, QdsSideNavRootProps, QdsSideNavSurface } from '@qualcomm-ui/qds-core/side-nav'; import { TreeNode } from '@qualcomm-ui/utils/collection'; import * as _qualcomm_ui_core_collapsible from '@qualcomm-ui/core/collapsible'; import { CoreTreeBranchContentDirective, CoreTreeBranchIndentGuideDirective, CoreTreeBranchNodeDirective, CoreTreeBranchTriggerDirective, CoreTreeBranchDirective, CoreTreeLeafNodeDirective, CoreTreeNodeActionDirective, CoreTreeNodeIconDirective, CoreTreeNodeIndicatorDirective, CoreTreeNodeTextDirective, TreeNodePropsContextService, TreeNodeStateContextService } from '@qualcomm-ui/angular-core/tree'; import { LucideIconOrString } from '@qualcomm-ui/angular-core/lucide'; import * as _qualcomm_ui_core_presence from '@qualcomm-ui/core/presence'; import { CollapsibleContextService } from '@qualcomm-ui/angular-core/collapsible'; import * as _qualcomm_ui_qds_core_button from '@qualcomm-ui/qds-core/button'; import { CoreSideNavTriggerDirective, CoreSideNavHeaderActionDirective, CoreSideNavHeaderLogoDirective, CoreSideNavHeaderTitleDirective, CoreSideNavHeaderDirective, CoreSideNavRootDirective } from '@qualcomm-ui/angular-core/side-nav'; import * as i1 from '@qualcomm-ui/angular/transitions'; import * as _qualcomm_ui_core_side_nav from '@qualcomm-ui/core/side-nav'; import { SignalifyInput } from '@qualcomm-ui/angular-core/signals'; import { Booleanish } from '@qualcomm-ui/utils/coercion'; import * as i27 from '@angular/common'; import * as i28 from '@qualcomm-ui/angular/icon'; declare class QdsSideNavContextService extends BaseApiContextService { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare const QDS_SIDE_NAV_CONTEXT: i0.InjectionToken<() => QdsSideNavApi>; declare const useQdsSideNavContext: (opts?: _qualcomm_ui_angular_core_machine.UseContextOpts | undefined) => Optional extends true ? (() => QdsSideNavApi) | null : () => QdsSideNavApi; declare const provideQdsSideNavContext: () => i0.Provider[]; interface SideNavNodeTemplateContext { $implicit: NodeProps; } declare class SideNavBranchContentDirective extends CoreTreeBranchContentDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; readonly id: i0.InputSignal; protected readonly hostId: i0.Signal; protected collapsibleContext: () => _qualcomm_ui_core_collapsible.CollapsibleApi; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavBranchIndentGuideDirective extends CoreTreeBranchIndentGuideDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavBranchNodeDirective extends CoreTreeBranchNodeDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Structural directive that defines the template used to render branch nodes in a * side nav. Apply this to an `ng-template` to customize how branch nodes (nodes with * children) are displayed. Note that this template will only customize the content * of the node. The parent `` component renders the branch children * internally. * * @example * ```html * *
* {{ node.item.label }} *
*
* ``` */ declare class SideNavBranchTemplateDirective { /** * The root node of the tree. Used for type narrowing of the template guard. */ readonly rootNode: i0.InputSignal; template: TemplateRef; static ngTemplateContextGuard(dir: SideNavBranchTemplateDirective, ctx: unknown): ctx is SideNavNodeTemplateContext; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "ng-template[q-side-nav-branch-template]", never, { "rootNode": { "alias": "rootNode"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>; } declare class SideNavBranchTriggerDirective extends CoreTreeBranchTriggerDirective { /** * The icon to display. This rotates by 180deg when the branch is expanded. * * @default ChevronDown */ readonly icon: i0.InputSignal; protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SideNavBranchDirective extends CoreTreeBranchDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; protected readonly collapsibleApi: CollapsibleContextService; protected readonly document: Document; protected readonly injector: Injector; protected readonly nodeState: () => _qualcomm_ui_core_tree.NodeState; protected readonly renderStrategyProps: () => _qualcomm_ui_core_presence.RenderStrategyApi; constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavCollapseTriggerDirective extends CoreSideNavTriggerDirective { protected readonly qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; protected readonly open: i0.Signal; protected readonly iconButtonApi: i0.Signal<_qualcomm_ui_qds_core_button.QdsIconButtonApi>; protected readonly iconProps: i0.Signal<_qualcomm_ui_qds_core_button.QdsIconButtonIconBindings>; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SideNavDividerDirective implements OnInit { protected readonly qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavFilterInputDirective implements OnInit { protected readonly sideNavContext: () => _qualcomm_ui_core_side_nav.SideNavApi; protected readonly qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavGroupLabelDirective implements OnInit { protected readonly qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavGroupDirective implements OnInit { protected readonly qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavHeaderActionDirective extends CoreSideNavHeaderActionDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavHeaderLogoDirective extends CoreSideNavHeaderLogoDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavHeaderTitleDirective extends CoreSideNavHeaderTitleDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavHeaderDirective extends CoreSideNavHeaderDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavLeafNodeDirective extends CoreTreeLeafNodeDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * Structural directive that defines the template used to render leaf nodes in a * side nav. Apply this to an `ng-template` to customize how leaf nodes (nodes * without children) are displayed. * * @example * ```html * *
* {{ node.item.label }} *
*
* ``` */ declare class SideNavLeafTemplateDirective { /** * The root node of the tree. Used for type narrowing of the template guard. */ readonly rootNode: i0.InputSignal; template: TemplateRef; static ngTemplateContextGuard(dir: SideNavLeafTemplateDirective, ctx: unknown): ctx is SideNavNodeTemplateContext; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "ng-template[q-side-nav-leaf-template]", never, { "rootNode": { "alias": "rootNode"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>; } declare class SideNavNodeAccessoryDirective implements OnInit { protected readonly qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & { extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void; setDisabled: (disabled: boolean) => void; }; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavNodeActionDirective extends CoreTreeNodeActionDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavNodeContextDirective extends ApiContextDirective> { /** * The root node of the tree. Used for type narrowing of the template guard. */ readonly rootNode: i0.InputSignal; constructor(); static ngTemplateContextGuard(dir: SideNavNodeContextDirective, ctx: unknown): ctx is { $implicit: NodeState; }; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[sideNavNodeContext]", never, { "rootNode": { "alias": "rootNode"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>; } declare class SideNavNodeIconDirective extends CoreTreeNodeIconDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavNodeIndicatorDirective extends CoreTreeNodeIndicatorDirective { protected qdsContext: () => _qualcomm_ui_qds_core_side_nav.QdsSideNavApi; constructor(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavNodeTextDirective extends CoreTreeNodeTextDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavNodesComponent implements SignalifyInput>, OnInit { /** * The index path of the tree node */ readonly indexPath: i0.InputSignal; /** * The tree node */ readonly node: i0.InputSignal; readonly showIndentGuide: i0.InputSignalWithTransform; readonly renderBranch: i0.InputSignal> | undefined>; readonly renderLeaf: i0.InputSignal> | undefined>; readonly sideNavBranchContentChild: i0.Signal | undefined>; readonly sideNavLeafContentChild: i0.Signal | undefined>; readonly branchTemplate: i0.Signal | undefined>; readonly leafTemplate: i0.Signal>; protected treeContext: () => _qualcomm_ui_core_tree.TreeApi; readonly injector: Injector; readonly templateContext: i0.Signal>; readonly childNodes: i0.Signal; protected readonly treeNodePropsContextService: TreeNodePropsContextService; protected treeNodeStateContextService: TreeNodeStateContextService; ngOnInit(): void; getChildIndexPath(index: number): number[]; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "q-side-nav-nodes", never, { "indexPath": { "alias": "indexPath"; "required": true; "isSignal": true; }; "node": { "alias": "node"; "required": true; "isSignal": true; }; "showIndentGuide": { "alias": "showIndentGuide"; "required": false; "isSignal": true; }; "renderBranch": { "alias": "renderBranch"; "required": false; "isSignal": true; }; "renderLeaf": { "alias": "renderLeaf"; "required": false; "isSignal": true; }; }, {}, ["sideNavBranchContentChild", "sideNavLeafContentChild"], never, false, never>; } declare class SideNavRootDirective extends CoreSideNavRootDirective implements SignalifyInput, OnInit { /** * The background color of the side navigation. * * @default 'primary' */ readonly surface: i0.InputSignal; protected readonly qdsSideNavService: QdsSideNavContextService; constructor(); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SideNavModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { QDS_SIDE_NAV_CONTEXT, QdsSideNavContextService, SideNavBranchContentDirective, SideNavBranchDirective, SideNavBranchIndentGuideDirective, SideNavBranchNodeDirective, SideNavBranchTemplateDirective, SideNavBranchTriggerDirective, SideNavCollapseTriggerDirective, SideNavDividerDirective, SideNavFilterInputDirective, SideNavGroupDirective, SideNavGroupLabelDirective, SideNavHeaderActionDirective, SideNavHeaderDirective, SideNavHeaderLogoDirective, SideNavHeaderTitleDirective, SideNavLeafNodeDirective, SideNavLeafTemplateDirective, SideNavModule, SideNavNodeAccessoryDirective, SideNavNodeActionDirective, SideNavNodeContextDirective, SideNavNodeIconDirective, SideNavNodeIndicatorDirective, SideNavNodeTextDirective, SideNavNodesComponent, SideNavRootDirective, provideQdsSideNavContext, useQdsSideNavContext }; export type { SideNavNodeTemplateContext }; //# sourceMappingURL=qualcomm-ui-angular-side-nav.d.ts.map