@qualcomm-ui/angular 1.7.2 → 1.8.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/checkmark/index.d.ts +3 -0
- package/checkmark/index.d.ts.map +1 -1
- package/fesm2022/qualcomm-ui-angular-checkmark.mjs +3 -0
- package/fesm2022/qualcomm-ui-angular-checkmark.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-text-input.mjs +2 -1
- package/fesm2022/qualcomm-ui-angular-text-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tree.mjs +714 -0
- package/fesm2022/qualcomm-ui-angular-tree.mjs.map +1 -1
- package/input/index.d.ts +2 -1
- package/input/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/tree/index.d.ts +265 -1
- package/tree/index.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-tree.mjs","sources":["../../src/tree/qualcomm-ui-angular-tree.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-tree.mjs","sources":["../../src/tree/qds-tree-context.service.ts","../../src/tree/tree-branch-content.directive.ts","../../src/tree/tree-branch-indent-guide.directive.ts","../../src/tree/tree-branch-node.directive.ts","../../src/tree/tree-branch-template.directive.ts","../../src/tree/tree-branch-trigger.directive.ts","../../src/tree/tree-branch.directive.ts","../../src/tree/tree-label.directive.ts","../../src/tree/tree-leaf-node.directive.ts","../../src/tree/tree-leaf-template.directive.ts","../../src/tree/tree-node-action.directive.ts","../../src/tree/tree-node-checkbox.directive.ts","../../src/tree/tree-node-context.directive.ts","../../src/tree/tree-node-icon.directive.ts","../../src/tree/tree-node-indicator.directive.ts","../../src/tree/tree-node-text.directive.ts","../../src/tree/tree-nodes.component.ts","../../src/tree/tree-root.directive.ts","../../src/tree/tree.module.ts","../../src/tree/qualcomm-ui-angular-tree.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 {NodeProps} from \"@qualcomm-ui/core/tree\"\nimport type {QdsTreeApi} from \"@qualcomm-ui/qds-core/tree\"\nimport type {TreeNode} from \"@qualcomm-ui/utils/collection\"\n\n@Injectable()\nexport class QdsTreeContextService extends BaseApiContextService<QdsTreeApi> {}\n\nexport const [\n QDS_TREE_CONTEXT,\n useQdsTreeContext,\n provideQdsTreeContext,\n]: ApiContext<QdsTreeApi> = createApiContext<QdsTreeApi>(\n \"QdsTreeContext\",\n QdsTreeContextService,\n)\n\nexport interface TreeNodeTemplateContext<T extends TreeNode> {\n $implicit: NodeProps<T>\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input} from \"@angular/core\"\n\nimport {useCollapsibleContext} from \"@qualcomm-ui/angular-core/collapsible\"\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {CoreTreeBranchContentDirective} from \"@qualcomm-ui/angular-core/tree\"\nimport {collapsibleClasses} from \"@qualcomm-ui/qds-core/collapsible\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Directive({\n selector: \"[q-tree-branch-content]\",\n standalone: false,\n})\nexport class TreeBranchContentDirective extends CoreTreeBranchContentDirective {\n /**\n * HTML {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected qdsContext = useQdsTreeContext()\n protected collapsibleContext = useCollapsibleContext()\n\n protected override readonly trackBindings = useTrackBindings(() =>\n mergeProps(\n this.treeContext().getBranchContentBindings(this.treeNodePropsContext()),\n this.collapsibleContext().getRootBindings(),\n this.collapsibleContext().getContentBindings({id: this.hostId()}),\n {class: collapsibleClasses.content},\n this.qdsContext().getBranchContentBindings(),\n ),\n )\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreTreeBranchIndentGuideDirective} from \"@qualcomm-ui/angular-core/tree\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Directive({\n selector: \"[q-tree-branch-indent-guide]\",\n standalone: false,\n})\nexport class TreeBranchIndentGuideDirective extends CoreTreeBranchIndentGuideDirective {\n protected qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getBranchIndentGuideBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreTreeBranchNodeDirective} from \"@qualcomm-ui/angular-core/tree\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Directive({\n selector: \"[q-tree-branch-node]\",\n standalone: false,\n})\nexport class TreeBranchNodeDirective extends CoreTreeBranchNodeDirective {\n protected qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getBranchNodeBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, inject, input, TemplateRef} from \"@angular/core\"\n\nimport type {TreeNode} from \"@qualcomm-ui/utils/collection\"\n\nimport type {TreeNodeTemplateContext} from \"./qds-tree-context.service\"\n\n/**\n * Structural directive that defines the template used to render leaf nodes in a\n * tree. Apply this to an `ng-template` to customize how branch nodes (nodes with\n * children) are displayed. Note that this template will only customize the content\n * of the node. The parent `<q-tree-nodes>` component renders the branch children\n * internally.\n *\n * @example\n * ```html\n * <ng-template q-tree-branch-template let-node>\n * <div q-tree-branch-node>\n * <span q-tree-node-text>{{ node.item.label }}</span>\n * </div>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: \"ng-template[q-tree-branch-template]\",\n standalone: false,\n})\nexport class TreeBranchTemplateDirective<T extends TreeNode> {\n /**\n * The root node of the tree. Used for type narrowing of the template guard.\n * {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}\n */\n readonly rootNode = input<T>()\n\n template = inject(TemplateRef)\n\n static ngTemplateContextGuard<T extends TreeNode>(\n dir: TreeBranchTemplateDirective<T>,\n ctx: unknown,\n ): ctx is TreeNodeTemplateContext<T> {\n return true\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed, input} from \"@angular/core\"\nimport {ChevronRight} from \"lucide-angular\"\n\nimport {type LucideIconOrString} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreTreeBranchTriggerDirective} from \"@qualcomm-ui/angular-core/tree\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Component({\n selector: \"[q-tree-branch-trigger]\",\n standalone: false,\n template: `\n <svg [qIcon]=\"icon()\"></svg>\n `,\n})\nexport class TreeBranchTriggerDirective extends CoreTreeBranchTriggerDirective {\n /**\n * @default ChevronRight\n */\n readonly icon = input<LucideIconOrString>(ChevronRight)\n\n protected qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getBranchTriggerBindings()),\n )\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 {computed, Directive, inject, Injector} from \"@angular/core\"\n\nimport {\n CollapsibleContextService,\n provideCollapsibleContext,\n} from \"@qualcomm-ui/angular-core/collapsible\"\nimport {normalizeProps, useMachine} from \"@qualcomm-ui/angular-core/machine\"\nimport {useRenderStrategyContext} from \"@qualcomm-ui/angular-core/presence\"\nimport {\n CoreTreeBranchDirective,\n useTreeNodeStateContext,\n} from \"@qualcomm-ui/angular-core/tree\"\nimport {\n type CollapsibleApiProps,\n collapsibleMachine,\n createCollapsibleApi,\n} from \"@qualcomm-ui/core/collapsible\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Directive({\n providers: [provideCollapsibleContext()],\n selector: \"[q-tree-branch]\",\n standalone: false,\n})\nexport class TreeBranchDirective extends CoreTreeBranchDirective {\n protected qdsContext = useQdsTreeContext()\n\n protected readonly collapsibleApi = inject(CollapsibleContextService)\n\n protected readonly document = inject(DOCUMENT)\n protected readonly injector = inject(Injector)\n protected readonly nodeState = useTreeNodeStateContext()\n protected readonly renderStrategyProps = useRenderStrategyContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getBranchBindings()),\n )\n }\n\n override ngOnInit() {\n const machine = useMachine(\n collapsibleMachine,\n computed<CollapsibleApiProps>(() => ({\n defaultOpen: false,\n disabled: this.nodeState().disabled,\n forceMeasureOnOpen: true,\n getRootNode: () => this.document,\n open: this.nodeState().expanded,\n })),\n this.injector,\n )\n this.collapsibleApi.init(\n computed(() => createCollapsibleApi(machine, normalizeProps)),\n )\n\n super.ngOnInit()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreTreeLabelDirective} from \"@qualcomm-ui/angular-core/tree\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Directive({\n selector: \"[q-tree-label]\",\n standalone: false,\n})\nexport class TreeLabelDirective extends CoreTreeLabelDirective {\n protected qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getLabelBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreTreeLeafNodeDirective} from \"@qualcomm-ui/angular-core/tree\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Directive({\n selector: \"[q-tree-leaf-node]\",\n standalone: false,\n})\nexport class TreeLeafNodeDirective extends CoreTreeLeafNodeDirective {\n protected qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getLeafNodeBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, inject, input, TemplateRef} from \"@angular/core\"\n\nimport type {TreeNode} from \"@qualcomm-ui/utils/collection\"\n\nimport type {TreeNodeTemplateContext} from \"./qds-tree-context.service\"\n\n/**\n * Structural directive that defines the template used to render leaf nodes in a\n * tree. Apply this to an `ng-template` to customize how leaf nodes (nodes without\n * children) are displayed.\n *\n * @example\n * ```html\n * <ng-template q-tree-leaf-template let-node>\n * <div q-tree-leaf-node>\n * <span q-tree-node-text>{{ node.item.label }}</span>\n * </div>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: \"ng-template[q-tree-leaf-template]\",\n standalone: false,\n})\nexport class TreeLeafTemplateDirective<T extends TreeNode> {\n /**\n * The root node of the tree. Used for type narrowing of the template guard.\n * {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}\n */\n readonly rootNode = input<T>()\n\n template = inject(TemplateRef)\n\n static ngTemplateContextGuard<T extends TreeNode>(\n dir: TreeLeafTemplateDirective<T>,\n ctx: unknown,\n ): ctx is TreeNodeTemplateContext<T> {\n return true\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed, input} from \"@angular/core\"\n\nimport {useInlineIconButtonApi} from \"@qualcomm-ui/angular/inline-icon-button\"\nimport type {LucideIconOrString} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreTreeNodeActionDirective} from \"@qualcomm-ui/angular-core/tree\"\nimport type {QdsInlineIconButtonSize} from \"@qualcomm-ui/qds-core/inline-icon-button\"\nimport {mergeProps} from \"@qualcomm-ui/utils/merge-props\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Component({\n selector: \"[q-tree-node-action]\",\n standalone: false,\n template: `\n @if (icon()) {\n <svg\n [q-bind]=\"inlineIconButtonApi().getIconBindings()\"\n [qIcon]=\"icon()!\"\n ></svg>\n }\n <ng-content />\n `,\n})\nexport class TreeNodeActionDirective extends CoreTreeNodeActionDirective {\n /**\n * Lucide icon to display inside the button.\n */\n readonly icon = input<LucideIconOrString>()\n\n /**\n * The size of the button and its icon.\n *\n * @default 'md'\n */\n readonly size = input<QdsInlineIconButtonSize>(\"md\")\n\n protected readonly inlineIconButtonApi = useInlineIconButtonApi({\n emphasis: \"neutral\",\n size: this.size(),\n variant: \"fixed\",\n })\n\n protected readonly qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() =>\n mergeProps(\n this.inlineIconButtonApi().getRootBindings(),\n this.qdsContext().getNodeActionBindings(),\n ),\n ),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n CoreTreeNodeCheckboxDirective,\n useTreeNodeStateContext,\n} from \"@qualcomm-ui/angular-core/tree\"\nimport {createQdsCheckmarkApi} from \"@qualcomm-ui/qds-core/checkmark\"\n\n@Component({\n selector: \"[q-tree-node-checkbox]\",\n standalone: false,\n template: `\n <ng-content>\n @if (nodeState().checked) {\n <q-checkmark-icon\n size=\"md\"\n [indeterminate]=\"nodeState().checked === 'indeterminate'\"\n />\n }\n </ng-content>\n `,\n})\nexport class TreeNodeCheckboxDirective extends CoreTreeNodeCheckboxDirective {\n protected readonly nodeState = useTreeNodeStateContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() =>\n createQdsCheckmarkApi(\n {\n checked: this.nodeState().checked === true,\n disabled: this.nodeState().disabled,\n indeterminate: this.nodeState().checked === \"indeterminate\",\n size: \"md\",\n },\n normalizeProps,\n ).getRootBindings(),\n ),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, inject, input} from \"@angular/core\"\n\nimport {ApiContextDirective} from \"@qualcomm-ui/angular-core/machine\"\nimport {TreeNodeStateContextService} from \"@qualcomm-ui/angular-core/tree\"\nimport type {NodeState} from \"@qualcomm-ui/core/tree\"\nimport type {TreeNode} from \"@qualcomm-ui/utils/collection\"\n\n@Directive({\n selector: \"[treeNodeContext]\",\n standalone: false,\n})\nexport class TreeNodeContextDirective<\n T extends TreeNode,\n> extends ApiContextDirective<NodeState<T>> {\n /**\n * The root node of the tree. Used for type narrowing of the template guard.\n * {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}\n */\n readonly rootNode = input<T>()\n\n constructor() {\n const contextService = inject(TreeNodeStateContextService)\n super(contextService, \"treeNodeContext\")\n }\n\n static ngTemplateContextGuard<T extends TreeNode>(\n dir: TreeNodeContextDirective<T>,\n ctx: unknown,\n ): ctx is {$implicit: NodeState<T>} {\n return true\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component, computed, input} from \"@angular/core\"\n\nimport type {LucideIconOrString} from \"@qualcomm-ui/angular-core/lucide\"\nimport {CoreTreeNodeIconDirective} from \"@qualcomm-ui/angular-core/tree\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Component({\n selector: \"[q-tree-node-icon]\",\n standalone: false,\n template: `\n @if (icon()) {\n <svg [qIcon]=\"icon()!\" />\n }\n <ng-content />\n `,\n})\nexport class TreeNodeIconDirective extends CoreTreeNodeIconDirective {\n readonly icon = input<LucideIconOrString>()\n\n protected readonly qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getNodeIconBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive} from \"@angular/core\"\n\nimport {CoreTreeNodeIndicatorDirective} from \"@qualcomm-ui/angular-core/tree\"\n\nimport {useQdsTreeContext} from \"./qds-tree-context.service\"\n\n@Directive({\n selector: \"[q-tree-node-indicator]\",\n standalone: false,\n})\nexport class TreeNodeIndicatorDirective extends CoreTreeNodeIndicatorDirective {\n protected readonly qdsContext = useQdsTreeContext()\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsContext().getNodeIndicatorBindings()),\n )\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive} from \"@angular/core\"\n\nimport {CoreTreeNodeTextDirective} from \"@qualcomm-ui/angular-core/tree\"\n\n@Directive({\n selector: \"[q-tree-node-text]\",\n standalone: false,\n})\nexport class TreeNodeTextDirective extends CoreTreeNodeTextDirective {}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n Component,\n computed,\n contentChild,\n inject,\n Injector,\n input,\n type OnInit,\n TemplateRef,\n} from \"@angular/core\"\n\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n provideTreeNodePropsContext,\n provideTreeNodeStateContext,\n TreeNodePropsContextService,\n TreeNodeStateContextService,\n useTreeContext,\n} from \"@qualcomm-ui/angular-core/tree\"\nimport type {NodeProps} from \"@qualcomm-ui/core/tree\"\nimport type {TreeNode} from \"@qualcomm-ui/utils/collection\"\n\nimport type {TreeNodeTemplateContext} from \"./qds-tree-context.service\"\nimport {TreeBranchTemplateDirective} from \"./tree-branch-template.directive\"\nimport {TreeLeafTemplateDirective} from \"./tree-leaf-template.directive\"\n\n@Component({\n providers: [provideTreeNodePropsContext(), provideTreeNodeStateContext()],\n selector: \"q-tree-nodes\",\n standalone: false,\n styles: [\n `\n :host {\n display: contents;\n }\n `,\n ],\n template: `\n @if (childNodes().length) {\n <div q-tree-branch>\n <ng-template\n [ngTemplateOutlet]=\"branchTemplate()!\"\n [ngTemplateOutletContext]=\"templateContext()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n\n <div q-tree-branch-content>\n @for (\n child of childNodes();\n let i = $index;\n track treeContext().collection.getNodeValue(child)\n ) {\n <q-tree-nodes\n [indexPath]=\"getChildIndexPath(i)\"\n [node]=\"child\"\n [renderBranch]=\"branchTemplate()\"\n [renderLeaf]=\"leafTemplate()\"\n />\n }\n </div>\n </div>\n } @else {\n <ng-template\n [ngTemplateOutlet]=\"leafTemplate()!\"\n [ngTemplateOutletContext]=\"templateContext()\"\n [ngTemplateOutletInjector]=\"injector\"\n />\n }\n `,\n})\nexport class TreeNodesComponent<T extends TreeNode>\n implements SignalifyInput<NodeProps<T>>, OnInit\n{\n /**\n * The index path of the tree node\n */\n readonly indexPath = input.required<number[]>()\n\n /**\n * The tree node\n *\n * @inheritDoc\n */\n readonly node = input.required<T>()\n\n readonly renderBranch = input<TemplateRef<TreeBranchTemplateDirective<T>>>()\n\n readonly renderLeaf = input<TemplateRef<TreeLeafTemplateDirective<T>>>()\n\n readonly treeBranchContentChild = contentChild<\n TreeBranchTemplateDirective<T>\n >(TreeBranchTemplateDirective<T>)\n\n readonly treeLeafContentChild = contentChild<TreeLeafTemplateDirective<T>>(\n TreeLeafTemplateDirective<T>,\n )\n\n readonly branchTemplate = computed(() => {\n const branchInput = this.renderBranch()\n const branchTemplate = this.treeBranchContentChild()\n return branchInput || branchTemplate?.template\n })\n\n readonly leafTemplate = computed(() => {\n const leafInput = this.renderLeaf()\n const leafTemplate = this.treeLeafContentChild()\n return (leafInput || leafTemplate?.template) as TemplateRef<any>\n })\n\n protected treeContext = useTreeContext()\n readonly injector = inject(Injector, {self: true})\n\n readonly templateContext = computed<TreeNodeTemplateContext<T>>(() => ({\n $implicit: {\n indexPath: this.indexPath(),\n node: this.node(),\n },\n }))\n\n readonly childNodes = computed(() => {\n return this.treeContext().collection.getNodeChildren(this.node())\n })\n\n protected readonly treeNodePropsContextService = inject(\n TreeNodePropsContextService,\n {self: true},\n )\n\n protected treeNodeStateContextService = inject(TreeNodeStateContextService, {\n self: true,\n })\n\n ngOnInit() {\n const nodeProps = computed(() => ({\n indexPath: this.indexPath(),\n node: this.node(),\n }))\n this.treeNodePropsContextService.init(nodeProps)\n this.treeNodeStateContextService.init(\n computed(() => this.treeContext().getNodeState(nodeProps())),\n )\n }\n\n getChildIndexPath(index: number) {\n return [...this.indexPath(), index]\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input, type OnInit} from \"@angular/core\"\n\nimport {normalizeProps} from \"@qualcomm-ui/angular-core/machine\"\nimport {provideRenderStrategyContext} from \"@qualcomm-ui/angular-core/presence\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n CoreTreeRootDirective,\n provideTreeContext,\n} from \"@qualcomm-ui/angular-core/tree\"\nimport {\n createQdsTreeApi,\n type QdsTreeApiProps,\n type QdsTreeSize,\n} from \"@qualcomm-ui/qds-core/tree\"\n\nimport {\n provideQdsTreeContext,\n QdsTreeContextService,\n} from \"./qds-tree-context.service\"\n\n@Directive({\n exportAs: \"treeRoot\",\n providers: [\n provideTreeContext(),\n provideRenderStrategyContext(),\n provideQdsTreeContext(),\n ],\n selector: \"[q-tree-root]\",\n standalone: false,\n})\nexport class TreeRootDirective\n extends CoreTreeRootDirective\n implements SignalifyInput<QdsTreeApiProps>, OnInit\n{\n /**\n * The size of the tree and its elements. Governs properties like font size,\n * item padding, and icon sizes.\n *\n * @default 'md'\n */\n readonly size = input<QdsTreeSize>()\n\n protected readonly qdsTreeService = inject(QdsTreeContextService)\n\n constructor() {\n super()\n this.trackBindings.extendWith(\n computed(() => this.qdsTreeService.context().getRootBindings()),\n )\n }\n\n override ngOnInit() {\n this.qdsTreeService.init(\n computed(() => createQdsTreeApi({size: this.size()}, normalizeProps)),\n )\n\n super.ngOnInit()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {NgTemplateOutlet} from \"@angular/common\"\nimport {NgModule} from \"@angular/core\"\n\nimport {CheckmarkIconComponent} from \"@qualcomm-ui/angular/checkmark\"\nimport {IconDirective} from \"@qualcomm-ui/angular/icon\"\nimport {QBindDirective} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {TreeBranchContentDirective} from \"./tree-branch-content.directive\"\nimport {TreeBranchIndentGuideDirective} from \"./tree-branch-indent-guide.directive\"\nimport {TreeBranchNodeDirective} from \"./tree-branch-node.directive\"\nimport {TreeBranchTemplateDirective} from \"./tree-branch-template.directive\"\nimport {TreeBranchTriggerDirective} from \"./tree-branch-trigger.directive\"\nimport {TreeBranchDirective} from \"./tree-branch.directive\"\nimport {TreeLabelDirective} from \"./tree-label.directive\"\nimport {TreeLeafNodeDirective} from \"./tree-leaf-node.directive\"\nimport {TreeLeafTemplateDirective} from \"./tree-leaf-template.directive\"\nimport {TreeNodeActionDirective} from \"./tree-node-action.directive\"\nimport {TreeNodeCheckboxDirective} from \"./tree-node-checkbox.directive\"\nimport {TreeNodeContextDirective} from \"./tree-node-context.directive\"\nimport {TreeNodeIconDirective} from \"./tree-node-icon.directive\"\nimport {TreeNodeIndicatorDirective} from \"./tree-node-indicator.directive\"\nimport {TreeNodeTextDirective} from \"./tree-node-text.directive\"\nimport {TreeNodesComponent} from \"./tree-nodes.component\"\nimport {TreeRootDirective} from \"./tree-root.directive\"\n\n@NgModule({\n declarations: [\n TreeRootDirective,\n TreeBranchDirective,\n TreeBranchContentDirective,\n TreeBranchIndentGuideDirective,\n TreeBranchNodeDirective,\n TreeBranchTriggerDirective,\n TreeLabelDirective,\n TreeLeafNodeDirective,\n TreeNodeActionDirective,\n TreeNodeIconDirective,\n TreeNodeIndicatorDirective,\n TreeNodeTextDirective,\n TreeLeafTemplateDirective,\n TreeBranchTemplateDirective,\n TreeNodeContextDirective,\n TreeNodeCheckboxDirective,\n TreeNodesComponent,\n ],\n exports: [\n TreeRootDirective,\n TreeBranchDirective,\n TreeBranchContentDirective,\n TreeBranchIndentGuideDirective,\n TreeBranchNodeDirective,\n TreeBranchTriggerDirective,\n TreeLabelDirective,\n TreeLeafNodeDirective,\n TreeNodeActionDirective,\n TreeNodeIconDirective,\n TreeNodeIndicatorDirective,\n TreeNodeTextDirective,\n TreeBranchTemplateDirective,\n TreeLeafTemplateDirective,\n TreeNodeContextDirective,\n TreeNodeCheckboxDirective,\n TreeNodesComponent,\n ],\n imports: [\n IconDirective,\n QBindDirective,\n NgTemplateOutlet,\n CheckmarkIconComponent,\n ],\n})\nexport class TreeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2.TreeBranchDirective","i3.TreeBranchContentDirective"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAcM,MAAO,qBAAsB,SAAQ,qBAAiC,CAAA;wGAA/D,qBAA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ClB,qBAAqB;wBACrB,uBAAuB;wBACvB,qBAAqB;wBACrB,0BAA0B;wBAC1B,qBAAqB;wBACrB,yBAAyB;wBACzB,2BAA2B;wBAC3B,wBAAwB;wBACxB,yBAAyB;wBACzB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,iBAAiB;wBACjB,mBAAmB;wBACnB,0BAA0B;wBAC1B,8BAA8B;wBAC9B,uBAAuB;wBACvB,0BAA0B;wBAC1B,kBAAkB;wBAClB,qBAAqB;wBACrB,uBAAuB;wBACvB,qBAAqB;wBACrB,0BAA0B;wBAC1B,qBAAqB;wBACrB,2BAA2B;wBAC3B,yBAAyB;wBACzB,wBAAwB;wBACxB,yBAAyB;wBACzB,kBAAkB;AACnB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb,cAAc;wBACd,gBAAgB;wBAChB,sBAAsB;AACvB,qBAAA;AACF,iBAAA;;;ACzED;;AAEG;;;;"}
|
package/input/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { LucideIconOrString } from '@qualcomm-ui/angular-core/lucide';
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { OnInit, Signal } from '@angular/core';
|
|
9
9
|
import { QdsInlineIconButtonIconBindings, QdsInlineIconButtonRootBindings } from '@qualcomm-ui/qds-core/inline-icon-button';
|
|
10
|
+
import { MergeProps } from '@qualcomm-ui/utils/merge-props';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Simple error text directive. Not bound to any form or component context.
|
|
@@ -134,7 +135,7 @@ interface UseInputInputReturn {
|
|
|
134
135
|
declare function useInputInput(): UseInputInputReturn;
|
|
135
136
|
interface UseInputClearTriggerReturn {
|
|
136
137
|
getIconBindings: Signal<QdsInlineIconButtonIconBindings>;
|
|
137
|
-
getRootBindings: Signal<QdsInlineIconButtonRootBindings
|
|
138
|
+
getRootBindings: Signal<MergeProps<[QdsInlineIconButtonRootBindings, QdsInputClearTriggerBindings]>>;
|
|
138
139
|
}
|
|
139
140
|
/**
|
|
140
141
|
* A composable function that provides bindings for implementing a clear trigger on
|
package/input/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":["../../src/input/error-text.component.ts","../../src/input/hint.directive.ts","../../src/input/input-end-icon.component.ts","../../src/input/input-start-icon.component.ts","../../src/input/qds-input-context.service.ts","../../src/input/use-input-bindings.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../src/input/error-text.component.ts","../../src/input/hint.directive.ts","../../src/input/input-end-icon.component.ts","../../src/input/input-start-icon.component.ts","../../src/input/qds-input-context.service.ts","../../src/input/use-input-bindings.ts"],"sourcesContent":[null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;AAYA;;;;;AAKG;AACH;AAcE;;AAEG;AACH;;AAA4C;AAE5C;;;;;;;;;;;AAAqC;;AAIrC;;;AAGE;;;;AAKH;;ACvCD;;;;AAIG;AACH;AAOE;;;;;;;;;;;AAAqC;;AAIrC;;;AAGE;;;;AAKH;;ACvBD;AAYE;;AAA4C;AAE5C;;;;AAKE;;;;AAKH;;ACvBD;AAYE;;;;;;;;;;;AAAoC;AAEpC;;AAA4C;AAE5C;;;;AAKE;;;;AAKH;;;ACxBgD;;AAE6B;AAE9E;;;AAGI;AAEJ;AACmB;AACC;;;ACDlB;AACD;AAED;;;;AAIG;AACH;;AAQE;AACA;AAGD;AAED;;;;AAIG;AACH;;AAoBE;AACD;AAED;;;;AAIG;AACH;;AAQE;AACD;AAED;;;;AAIG;AACH;AAOM;;;;;AAKC;AAEP;;;;AAIG;AACH;;AAUE;AACD;AAED;;;;AAIG;AACH;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualcomm-ui/angular",
|
|
3
3
|
"description": "QUI Angular Components",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.1",
|
|
5
5
|
"author": "Ryan Bower",
|
|
6
6
|
"license": "BSD-3-Clause-Clear",
|
|
7
7
|
"repository": "https://github.com/qualcomm/qualcomm-ui",
|
|
@@ -205,10 +205,10 @@
|
|
|
205
205
|
"@angular/forms": ">=20.1.0 <21",
|
|
206
206
|
"@angular/platform-browser": ">=20.1.0 <21",
|
|
207
207
|
"@angular/platform-browser-dynamic": ">=20.1.0 <21",
|
|
208
|
-
"@qualcomm-ui/angular-core": "^1.
|
|
209
|
-
"@qualcomm-ui/core": "^1.0.
|
|
210
|
-
"@qualcomm-ui/qds-core": "^1.
|
|
211
|
-
"@qualcomm-ui/utils": "^1.0.
|
|
208
|
+
"@qualcomm-ui/angular-core": "^1.2.0",
|
|
209
|
+
"@qualcomm-ui/core": "^1.0.10",
|
|
210
|
+
"@qualcomm-ui/qds-core": "^1.9.0",
|
|
211
|
+
"@qualcomm-ui/utils": "^1.0.4",
|
|
212
212
|
"@tanstack/virtual-core": ">=3.13.12",
|
|
213
213
|
"lucide-angular": ">=0.487.0 <1",
|
|
214
214
|
"typescript": ">=5.2.0 <6"
|
package/tree/index.d.ts
CHANGED
|
@@ -1,3 +1,267 @@
|
|
|
1
|
+
import * as _qualcomm_ui_angular_core_machine from '@qualcomm-ui/angular-core/machine';
|
|
2
|
+
import { BaseApiContextService, ApiContextDirective } from '@qualcomm-ui/angular-core/machine';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { TemplateRef, Injector, OnInit } from '@angular/core';
|
|
5
|
+
import * as _qualcomm_ui_core_tree from '@qualcomm-ui/core/tree';
|
|
6
|
+
import { NodeProps, NodeState } from '@qualcomm-ui/core/tree';
|
|
7
|
+
import * as _qualcomm_ui_qds_core_tree from '@qualcomm-ui/qds-core/tree';
|
|
8
|
+
import { QdsTreeApi, QdsTreeApiProps, QdsTreeSize } from '@qualcomm-ui/qds-core/tree';
|
|
9
|
+
import { TreeNode } from '@qualcomm-ui/utils/collection';
|
|
10
|
+
import * as _qualcomm_ui_core_collapsible from '@qualcomm-ui/core/collapsible';
|
|
11
|
+
import { CoreTreeBranchContentDirective, CoreTreeBranchIndentGuideDirective, CoreTreeBranchNodeDirective, CoreTreeBranchTriggerDirective, CoreTreeBranchDirective, CoreTreeLabelDirective, CoreTreeLeafNodeDirective, CoreTreeNodeActionDirective, CoreTreeNodeCheckboxDirective, CoreTreeNodeIconDirective, CoreTreeNodeIndicatorDirective, CoreTreeNodeTextDirective, TreeNodePropsContextService, TreeNodeStateContextService, CoreTreeRootDirective } from '@qualcomm-ui/angular-core/tree';
|
|
12
|
+
import { LucideIconOrString } from '@qualcomm-ui/angular-core/lucide';
|
|
13
|
+
import * as _qualcomm_ui_core_presence from '@qualcomm-ui/core/presence';
|
|
14
|
+
import { CollapsibleContextService } from '@qualcomm-ui/angular-core/collapsible';
|
|
15
|
+
import * as _qualcomm_ui_qds_core_inline_icon_button from '@qualcomm-ui/qds-core/inline-icon-button';
|
|
16
|
+
import { QdsInlineIconButtonSize } from '@qualcomm-ui/qds-core/inline-icon-button';
|
|
17
|
+
import { SignalifyInput } from '@qualcomm-ui/angular-core/signals';
|
|
18
|
+
import * as i18 from '@qualcomm-ui/angular/icon';
|
|
19
|
+
import * as i20 from '@angular/common';
|
|
20
|
+
import * as i21 from '@qualcomm-ui/angular/checkmark';
|
|
1
21
|
|
|
2
|
-
|
|
22
|
+
declare class QdsTreeContextService extends BaseApiContextService<QdsTreeApi> {
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QdsTreeContextService, never>;
|
|
24
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<QdsTreeContextService>;
|
|
25
|
+
}
|
|
26
|
+
declare const QDS_TREE_CONTEXT: i0.InjectionToken<() => QdsTreeApi>;
|
|
27
|
+
declare const useQdsTreeContext: <Optional extends boolean = false>(opts?: _qualcomm_ui_angular_core_machine.UseContextOpts<Optional> | undefined) => Optional extends true ? (() => QdsTreeApi) | null : () => QdsTreeApi;
|
|
28
|
+
declare const provideQdsTreeContext: () => i0.Provider[];
|
|
29
|
+
interface TreeNodeTemplateContext<T extends TreeNode> {
|
|
30
|
+
$implicit: NodeProps<T>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class TreeBranchContentDirective extends CoreTreeBranchContentDirective {
|
|
34
|
+
/**
|
|
35
|
+
* HTML {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
36
|
+
* omitted, a unique identifier will be generated for accessibility.)
|
|
37
|
+
*/
|
|
38
|
+
readonly id: i0.InputSignal<string | undefined>;
|
|
39
|
+
protected readonly hostId: i0.Signal<string>;
|
|
40
|
+
protected qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
41
|
+
protected collapsibleContext: () => _qualcomm_ui_core_collapsible.CollapsibleApi;
|
|
42
|
+
protected readonly trackBindings: ((opts?: _qualcomm_ui_angular_core_machine.TrackBindingsConfig) => void) & {
|
|
43
|
+
extendWith: (computedProps: () => _qualcomm_ui_angular_core_machine.Dict) => void;
|
|
44
|
+
setDisabled: (disabled: boolean) => void;
|
|
45
|
+
};
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeBranchContentDirective, never>;
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeBranchContentDirective, "[q-tree-branch-content]", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
declare class TreeBranchIndentGuideDirective extends CoreTreeBranchIndentGuideDirective {
|
|
51
|
+
protected qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
52
|
+
constructor();
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeBranchIndentGuideDirective, never>;
|
|
54
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeBranchIndentGuideDirective, "[q-tree-branch-indent-guide]", never, {}, {}, never, never, false, never>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class TreeBranchNodeDirective extends CoreTreeBranchNodeDirective {
|
|
58
|
+
protected qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
59
|
+
constructor();
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeBranchNodeDirective, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeBranchNodeDirective, "[q-tree-branch-node]", never, {}, {}, never, never, false, never>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Structural directive that defines the template used to render leaf nodes in a
|
|
66
|
+
* tree. Apply this to an `ng-template` to customize how branch nodes (nodes with
|
|
67
|
+
* children) are displayed. Note that this template will only customize the content
|
|
68
|
+
* of the node. The parent `<q-tree-nodes>` component renders the branch children
|
|
69
|
+
* internally.
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```html
|
|
73
|
+
* <ng-template q-tree-branch-template let-node>
|
|
74
|
+
* <div q-tree-branch-node>
|
|
75
|
+
* <span q-tree-node-text>{{ node.item.label }}</span>
|
|
76
|
+
* </div>
|
|
77
|
+
* </ng-template>
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
declare class TreeBranchTemplateDirective<T extends TreeNode> {
|
|
81
|
+
/**
|
|
82
|
+
* The root node of the tree. Used for type narrowing of the template guard.
|
|
83
|
+
* {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}
|
|
84
|
+
*/
|
|
85
|
+
readonly rootNode: i0.InputSignal<T | undefined>;
|
|
86
|
+
template: TemplateRef<any>;
|
|
87
|
+
static ngTemplateContextGuard<T extends TreeNode>(dir: TreeBranchTemplateDirective<T>, ctx: unknown): ctx is TreeNodeTemplateContext<T>;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeBranchTemplateDirective<any>, never>;
|
|
89
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeBranchTemplateDirective<any>, "ng-template[q-tree-branch-template]", never, { "rootNode": { "alias": "rootNode"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
declare class TreeBranchTriggerDirective extends CoreTreeBranchTriggerDirective {
|
|
93
|
+
/**
|
|
94
|
+
* @default ChevronRight
|
|
95
|
+
*/
|
|
96
|
+
readonly icon: i0.InputSignal<LucideIconOrString>;
|
|
97
|
+
protected qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
98
|
+
constructor();
|
|
99
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeBranchTriggerDirective, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeBranchTriggerDirective, "[q-tree-branch-trigger]", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
declare class TreeBranchDirective extends CoreTreeBranchDirective {
|
|
104
|
+
protected qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
105
|
+
protected readonly collapsibleApi: CollapsibleContextService;
|
|
106
|
+
protected readonly document: Document;
|
|
107
|
+
protected readonly injector: Injector;
|
|
108
|
+
protected readonly nodeState: () => _qualcomm_ui_core_tree.NodeState<any>;
|
|
109
|
+
protected readonly renderStrategyProps: () => _qualcomm_ui_core_presence.RenderStrategyApi;
|
|
110
|
+
constructor();
|
|
111
|
+
ngOnInit(): void;
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeBranchDirective, never>;
|
|
113
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeBranchDirective, "[q-tree-branch]", never, {}, {}, never, never, false, never>;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
declare class TreeLabelDirective extends CoreTreeLabelDirective {
|
|
117
|
+
protected qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
118
|
+
constructor();
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeLabelDirective, never>;
|
|
120
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeLabelDirective, "[q-tree-label]", never, {}, {}, never, never, false, never>;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare class TreeLeafNodeDirective extends CoreTreeLeafNodeDirective {
|
|
124
|
+
protected qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
125
|
+
constructor();
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeLeafNodeDirective, never>;
|
|
127
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeLeafNodeDirective, "[q-tree-leaf-node]", never, {}, {}, never, never, false, never>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Structural directive that defines the template used to render leaf nodes in a
|
|
132
|
+
* tree. Apply this to an `ng-template` to customize how leaf nodes (nodes without
|
|
133
|
+
* children) are displayed.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ```html
|
|
137
|
+
* <ng-template q-tree-leaf-template let-node>
|
|
138
|
+
* <div q-tree-leaf-node>
|
|
139
|
+
* <span q-tree-node-text>{{ node.item.label }}</span>
|
|
140
|
+
* </div>
|
|
141
|
+
* </ng-template>
|
|
142
|
+
* ```
|
|
143
|
+
*/
|
|
144
|
+
declare class TreeLeafTemplateDirective<T extends TreeNode> {
|
|
145
|
+
/**
|
|
146
|
+
* The root node of the tree. Used for type narrowing of the template guard.
|
|
147
|
+
* {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}
|
|
148
|
+
*/
|
|
149
|
+
readonly rootNode: i0.InputSignal<T | undefined>;
|
|
150
|
+
template: TemplateRef<any>;
|
|
151
|
+
static ngTemplateContextGuard<T extends TreeNode>(dir: TreeLeafTemplateDirective<T>, ctx: unknown): ctx is TreeNodeTemplateContext<T>;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeLeafTemplateDirective<any>, never>;
|
|
153
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeLeafTemplateDirective<any>, "ng-template[q-tree-leaf-template]", never, { "rootNode": { "alias": "rootNode"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
declare class TreeNodeActionDirective extends CoreTreeNodeActionDirective {
|
|
157
|
+
/**
|
|
158
|
+
* Lucide icon to display inside the button.
|
|
159
|
+
*/
|
|
160
|
+
readonly icon: i0.InputSignal<LucideIconOrString | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* The size of the button and its icon.
|
|
163
|
+
*
|
|
164
|
+
* @default 'md'
|
|
165
|
+
*/
|
|
166
|
+
readonly size: i0.InputSignal<QdsInlineIconButtonSize>;
|
|
167
|
+
protected readonly inlineIconButtonApi: i0.Signal<_qualcomm_ui_qds_core_inline_icon_button.QdsInlineIconButtonApi>;
|
|
168
|
+
protected readonly qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
169
|
+
constructor();
|
|
170
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeActionDirective, never>;
|
|
171
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeActionDirective, "[q-tree-node-action]", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare class TreeNodeCheckboxDirective extends CoreTreeNodeCheckboxDirective {
|
|
175
|
+
protected readonly nodeState: () => _qualcomm_ui_core_tree.NodeState<any>;
|
|
176
|
+
constructor();
|
|
177
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeCheckboxDirective, never>;
|
|
178
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeCheckboxDirective, "[q-tree-node-checkbox]", never, {}, {}, never, ["*"], false, never>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
declare class TreeNodeContextDirective<T extends TreeNode> extends ApiContextDirective<NodeState<T>> {
|
|
182
|
+
/**
|
|
183
|
+
* The root node of the tree. Used for type narrowing of the template guard.
|
|
184
|
+
* {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}
|
|
185
|
+
*/
|
|
186
|
+
readonly rootNode: i0.InputSignal<T | undefined>;
|
|
187
|
+
constructor();
|
|
188
|
+
static ngTemplateContextGuard<T extends TreeNode>(dir: TreeNodeContextDirective<T>, ctx: unknown): ctx is {
|
|
189
|
+
$implicit: NodeState<T>;
|
|
190
|
+
};
|
|
191
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeContextDirective<any>, never>;
|
|
192
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeNodeContextDirective<any>, "[treeNodeContext]", never, { "rootNode": { "alias": "rootNode"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
declare class TreeNodeIconDirective extends CoreTreeNodeIconDirective {
|
|
196
|
+
readonly icon: i0.InputSignal<LucideIconOrString | undefined>;
|
|
197
|
+
protected readonly qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
198
|
+
constructor();
|
|
199
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeIconDirective, never>;
|
|
200
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodeIconDirective, "[q-tree-node-icon]", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
declare class TreeNodeIndicatorDirective extends CoreTreeNodeIndicatorDirective {
|
|
204
|
+
protected readonly qdsContext: () => _qualcomm_ui_qds_core_tree.QdsTreeApi;
|
|
205
|
+
constructor();
|
|
206
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeIndicatorDirective, never>;
|
|
207
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeNodeIndicatorDirective, "[q-tree-node-indicator]", never, {}, {}, never, never, false, never>;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
declare class TreeNodeTextDirective extends CoreTreeNodeTextDirective {
|
|
211
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodeTextDirective, never>;
|
|
212
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeNodeTextDirective, "[q-tree-node-text]", never, {}, {}, never, never, false, never>;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
declare class TreeNodesComponent<T extends TreeNode> implements SignalifyInput<NodeProps<T>>, OnInit {
|
|
216
|
+
/**
|
|
217
|
+
* The index path of the tree node
|
|
218
|
+
*/
|
|
219
|
+
readonly indexPath: i0.InputSignal<number[]>;
|
|
220
|
+
/**
|
|
221
|
+
* The tree node
|
|
222
|
+
*
|
|
223
|
+
* @inheritDoc
|
|
224
|
+
*/
|
|
225
|
+
readonly node: i0.InputSignal<T>;
|
|
226
|
+
readonly renderBranch: i0.InputSignal<TemplateRef<TreeBranchTemplateDirective<T>> | undefined>;
|
|
227
|
+
readonly renderLeaf: i0.InputSignal<TemplateRef<TreeLeafTemplateDirective<T>> | undefined>;
|
|
228
|
+
readonly treeBranchContentChild: i0.Signal<TreeBranchTemplateDirective<T> | undefined>;
|
|
229
|
+
readonly treeLeafContentChild: i0.Signal<TreeLeafTemplateDirective<T> | undefined>;
|
|
230
|
+
readonly branchTemplate: i0.Signal<TemplateRef<any> | undefined>;
|
|
231
|
+
readonly leafTemplate: i0.Signal<TemplateRef<any>>;
|
|
232
|
+
protected treeContext: () => _qualcomm_ui_core_tree.TreeApi<any>;
|
|
233
|
+
readonly injector: Injector;
|
|
234
|
+
readonly templateContext: i0.Signal<TreeNodeTemplateContext<T>>;
|
|
235
|
+
readonly childNodes: i0.Signal<any[]>;
|
|
236
|
+
protected readonly treeNodePropsContextService: TreeNodePropsContextService;
|
|
237
|
+
protected treeNodeStateContextService: TreeNodeStateContextService;
|
|
238
|
+
ngOnInit(): void;
|
|
239
|
+
getChildIndexPath(index: number): number[];
|
|
240
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeNodesComponent<any>, never>;
|
|
241
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeNodesComponent<any>, "q-tree-nodes", never, { "indexPath": { "alias": "indexPath"; "required": true; "isSignal": true; }; "node": { "alias": "node"; "required": true; "isSignal": true; }; "renderBranch": { "alias": "renderBranch"; "required": false; "isSignal": true; }; "renderLeaf": { "alias": "renderLeaf"; "required": false; "isSignal": true; }; }, {}, ["treeBranchContentChild", "treeLeafContentChild"], never, false, never>;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
declare class TreeRootDirective extends CoreTreeRootDirective implements SignalifyInput<QdsTreeApiProps>, OnInit {
|
|
245
|
+
/**
|
|
246
|
+
* The size of the tree and its elements. Governs properties like font size,
|
|
247
|
+
* item padding, and icon sizes.
|
|
248
|
+
*
|
|
249
|
+
* @default 'md'
|
|
250
|
+
*/
|
|
251
|
+
readonly size: i0.InputSignal<QdsTreeSize | undefined>;
|
|
252
|
+
protected readonly qdsTreeService: QdsTreeContextService;
|
|
253
|
+
constructor();
|
|
254
|
+
ngOnInit(): void;
|
|
255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeRootDirective, never>;
|
|
256
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeRootDirective, "[q-tree-root]", ["treeRoot"], { "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
declare class TreeModule {
|
|
260
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeModule, never>;
|
|
261
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TreeModule, [typeof TreeRootDirective, typeof TreeBranchDirective, typeof TreeBranchContentDirective, typeof TreeBranchIndentGuideDirective, typeof TreeBranchNodeDirective, typeof TreeBranchTriggerDirective, typeof TreeLabelDirective, typeof TreeLeafNodeDirective, typeof TreeNodeActionDirective, typeof TreeNodeIconDirective, typeof TreeNodeIndicatorDirective, typeof TreeNodeTextDirective, typeof TreeLeafTemplateDirective, typeof TreeBranchTemplateDirective, typeof TreeNodeContextDirective, typeof TreeNodeCheckboxDirective, typeof TreeNodesComponent], [typeof i18.IconDirective, typeof _qualcomm_ui_angular_core_machine.QBindDirective, typeof i20.NgTemplateOutlet, typeof i21.CheckmarkIconComponent], [typeof TreeRootDirective, typeof TreeBranchDirective, typeof TreeBranchContentDirective, typeof TreeBranchIndentGuideDirective, typeof TreeBranchNodeDirective, typeof TreeBranchTriggerDirective, typeof TreeLabelDirective, typeof TreeLeafNodeDirective, typeof TreeNodeActionDirective, typeof TreeNodeIconDirective, typeof TreeNodeIndicatorDirective, typeof TreeNodeTextDirective, typeof TreeBranchTemplateDirective, typeof TreeLeafTemplateDirective, typeof TreeNodeContextDirective, typeof TreeNodeCheckboxDirective, typeof TreeNodesComponent]>;
|
|
262
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TreeModule>;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export { QDS_TREE_CONTEXT, QdsTreeContextService, TreeBranchContentDirective, TreeBranchDirective, TreeBranchIndentGuideDirective, TreeBranchNodeDirective, TreeBranchTemplateDirective, TreeBranchTriggerDirective, TreeLabelDirective, TreeLeafNodeDirective, TreeLeafTemplateDirective, TreeModule, TreeNodeActionDirective, TreeNodeCheckboxDirective, TreeNodeContextDirective, TreeNodeIconDirective, TreeNodeIndicatorDirective, TreeNodeTextDirective, TreeNodesComponent, TreeRootDirective, provideQdsTreeContext, useQdsTreeContext };
|
|
266
|
+
export type { TreeNodeTemplateContext };
|
|
3
267
|
//# sourceMappingURL=index.d.ts.map
|
package/tree/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sources":["../../src/tree/qds-tree-context.service.ts","../../src/tree/tree-branch-content.directive.ts","../../src/tree/tree-branch-indent-guide.directive.ts","../../src/tree/tree-branch-node.directive.ts","../../src/tree/tree-branch-template.directive.ts","../../src/tree/tree-branch-trigger.directive.ts","../../src/tree/tree-branch.directive.ts","../../src/tree/tree-label.directive.ts","../../src/tree/tree-leaf-node.directive.ts","../../src/tree/tree-leaf-template.directive.ts","../../src/tree/tree-node-action.directive.ts","../../src/tree/tree-node-checkbox.directive.ts","../../src/tree/tree-node-context.directive.ts","../../src/tree/tree-node-icon.directive.ts","../../src/tree/tree-node-indicator.directive.ts","../../src/tree/tree-node-text.directive.ts","../../src/tree/tree-nodes.component.ts","../../src/tree/tree-root.directive.ts","../../src/tree/tree.module.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAcA;;;AAC+E;AAE/E;AACkB;AACC;AAOb;AACJ;AACD;;ACdD;AAKE;;;AAGG;;AAGH;;;AAKA;;;AAQC;;;AACF;;AC9BD;;;;;AAaC;;ACbD;;;;;AAaC;;ACbD;;;;;;;;;;;;;;;AAeG;AACH;AAKE;;;AAGG;;AAGH;;;;AAQD;;ACjCD;AAQE;;AAEG;;;;;;AAWJ;;ACRD;;AAQE;AAEA;AACA;AACA;AACA;;;;;AA2BD;;ACvDD;;;;;AAaC;;ACbD;;;;;AAaC;;ACbD;;;;;;;;;;;;;AAaG;AACH;AAKE;;;AAGG;;AAGH;;;;AAQD;;AC7BD;AAcE;;AAEG;;AAGH;;;;AAIG;;AAGH;AAMA;;;;AAaD;;AC9CD;AAeE;;;;AAkBD;;ACnCD;AAOE;;;AAGG;;;AAQH;AAGW;AAAwB;;;AAGpC;;ACxBD;;AAaE;;;;AAQD;;ACtBD;AAKE;;;;AAQD;;ACfD;;;AAIuE;;ACkBvE;AA+CE;;AAEG;;AAGH;;;;AAIG;;;;;;;;;;;;AAyCH;;;;;;AAuBD;;AC9HD;AAcE;;;;;AAKG;;AAGH;;;;;AAgBD;;ACjCD;;;;AA8C0B;;;"}
|