@qualcomm-ui/angular 1.20.0 → 2.0.0
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-accordion.mjs +45 -47
- package/fesm2022/qualcomm-ui-angular-accordion.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-action-group.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-action-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-alert-banner.mjs +38 -40
- package/fesm2022/qualcomm-ui-angular-alert-banner.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-avatar.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-avatar.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-badge.mjs +35 -47
- package/fesm2022/qualcomm-ui-angular-badge.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs +29 -31
- package/fesm2022/qualcomm-ui-angular-breadcrumbs.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-button.mjs +48 -54
- package/fesm2022/qualcomm-ui-angular-button.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-checkbox-group.mjs +10 -10
- package/fesm2022/qualcomm-ui-angular-checkbox-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-checkbox.mjs +36 -36
- package/fesm2022/qualcomm-ui-angular-checkbox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-checkmark.mjs +5 -7
- package/fesm2022/qualcomm-ui-angular-checkmark.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-collapsible.mjs +13 -13
- package/fesm2022/qualcomm-ui-angular-collapsible.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-combobox.mjs +97 -107
- package/fesm2022/qualcomm-ui-angular-combobox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-dialog.mjs +57 -61
- package/fesm2022/qualcomm-ui-angular-dialog.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-divider.mjs +6 -6
- package/fesm2022/qualcomm-ui-angular-divider.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-drawer.mjs +53 -53
- package/fesm2022/qualcomm-ui-angular-drawer.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-field-group.mjs +28 -32
- package/fesm2022/qualcomm-ui-angular-field-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-header-bar.mjs +52 -54
- package/fesm2022/qualcomm-ui-angular-header-bar.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-icon.mjs +19 -21
- package/fesm2022/qualcomm-ui-angular-icon.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs +7 -7
- package/fesm2022/qualcomm-ui-angular-inline-icon-button.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-inline-notification.mjs +35 -37
- package/fesm2022/qualcomm-ui-angular-inline-notification.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-input.mjs +18 -18
- package/fesm2022/qualcomm-ui-angular-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-kbd.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-kbd.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-link.mjs +10 -12
- package/fesm2022/qualcomm-ui-angular-link.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-menu.mjs +68 -68
- package/fesm2022/qualcomm-ui-angular-menu.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-number-input.mjs +54 -54
- package/fesm2022/qualcomm-ui-angular-number-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-pagination.mjs +42 -42
- package/fesm2022/qualcomm-ui-angular-pagination.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-password-input.mjs +48 -50
- package/fesm2022/qualcomm-ui-angular-password-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-popover.mjs +48 -52
- package/fesm2022/qualcomm-ui-angular-popover.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-progress-ring.mjs +43 -43
- package/fesm2022/qualcomm-ui-angular-progress-ring.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-progress.mjs +42 -42
- package/fesm2022/qualcomm-ui-angular-progress.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-radio.mjs +47 -49
- package/fesm2022/qualcomm-ui-angular-radio.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-segmented-control.mjs +28 -28
- package/fesm2022/qualcomm-ui-angular-segmented-control.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-select.mjs +76 -82
- package/fesm2022/qualcomm-ui-angular-select.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-side-nav.mjs +103 -105
- package/fesm2022/qualcomm-ui-angular-side-nav.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-slider.mjs +79 -85
- package/fesm2022/qualcomm-ui-angular-slider.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-switch-group.mjs +10 -10
- package/fesm2022/qualcomm-ui-angular-switch-group.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-switch.mjs +36 -36
- package/fesm2022/qualcomm-ui-angular-switch.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-table.mjs +136 -170
- package/fesm2022/qualcomm-ui-angular-table.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tabs.mjs +37 -39
- package/fesm2022/qualcomm-ui-angular-tabs.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tag.mjs +14 -16
- package/fesm2022/qualcomm-ui-angular-tag.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-text-area.mjs +41 -47
- package/fesm2022/qualcomm-ui-angular-text-area.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-text-input.mjs +42 -44
- package/fesm2022/qualcomm-ui-angular-text-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-theme.mjs +5 -5
- package/fesm2022/qualcomm-ui-angular-theme.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-toast.mjs +43 -43
- package/fesm2022/qualcomm-ui-angular-toast.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tooltip.mjs +33 -37
- package/fesm2022/qualcomm-ui-angular-tooltip.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-transitions.mjs +4 -4
- package/fesm2022/qualcomm-ui-angular-transitions.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-tree.mjs +79 -79
- package/fesm2022/qualcomm-ui-angular-tree.mjs.map +1 -1
- package/package.json +64 -64
- package/{accordion/index.d.ts → types/qualcomm-ui-angular-accordion.d.ts} +1 -1
- package/types/qualcomm-ui-angular-accordion.d.ts.map +1 -0
- package/{action-group/index.d.ts → types/qualcomm-ui-angular-action-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-action-group.d.ts.map +1 -0
- package/{alert-banner/index.d.ts → types/qualcomm-ui-angular-alert-banner.d.ts} +1 -1
- package/types/qualcomm-ui-angular-alert-banner.d.ts.map +1 -0
- package/{avatar/index.d.ts → types/qualcomm-ui-angular-avatar.d.ts} +1 -1
- package/types/qualcomm-ui-angular-avatar.d.ts.map +1 -0
- package/{badge/index.d.ts → types/qualcomm-ui-angular-badge.d.ts} +1 -1
- package/types/qualcomm-ui-angular-badge.d.ts.map +1 -0
- package/{breadcrumbs/index.d.ts → types/qualcomm-ui-angular-breadcrumbs.d.ts} +1 -1
- package/types/qualcomm-ui-angular-breadcrumbs.d.ts.map +1 -0
- package/{button/index.d.ts → types/qualcomm-ui-angular-button.d.ts} +1 -1
- package/types/qualcomm-ui-angular-button.d.ts.map +1 -0
- package/{checkbox-group/index.d.ts → types/qualcomm-ui-angular-checkbox-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-checkbox-group.d.ts.map +1 -0
- package/{checkbox/index.d.ts → types/qualcomm-ui-angular-checkbox.d.ts} +1 -1
- package/types/qualcomm-ui-angular-checkbox.d.ts.map +1 -0
- package/{checkmark/index.d.ts → types/qualcomm-ui-angular-checkmark.d.ts} +1 -1
- package/types/qualcomm-ui-angular-checkmark.d.ts.map +1 -0
- package/{collapsible/index.d.ts → types/qualcomm-ui-angular-collapsible.d.ts} +1 -1
- package/types/qualcomm-ui-angular-collapsible.d.ts.map +1 -0
- package/{combobox/index.d.ts → types/qualcomm-ui-angular-combobox.d.ts} +1 -1
- package/types/qualcomm-ui-angular-combobox.d.ts.map +1 -0
- package/{dialog/index.d.ts → types/qualcomm-ui-angular-dialog.d.ts} +1 -1
- package/types/qualcomm-ui-angular-dialog.d.ts.map +1 -0
- package/{divider/index.d.ts → types/qualcomm-ui-angular-divider.d.ts} +1 -1
- package/types/qualcomm-ui-angular-divider.d.ts.map +1 -0
- package/{drawer/index.d.ts → types/qualcomm-ui-angular-drawer.d.ts} +1 -1
- package/types/qualcomm-ui-angular-drawer.d.ts.map +1 -0
- package/{field-group/index.d.ts → types/qualcomm-ui-angular-field-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-field-group.d.ts.map +1 -0
- package/types/qualcomm-ui-angular-footer.d.ts +3 -0
- package/types/qualcomm-ui-angular-footer.d.ts.map +1 -0
- package/{header-bar/index.d.ts → types/qualcomm-ui-angular-header-bar.d.ts} +1 -1
- package/types/qualcomm-ui-angular-header-bar.d.ts.map +1 -0
- package/types/qualcomm-ui-angular-header.d.ts +3 -0
- package/types/qualcomm-ui-angular-header.d.ts.map +1 -0
- package/{icon/index.d.ts → types/qualcomm-ui-angular-icon.d.ts} +2 -2
- package/types/qualcomm-ui-angular-icon.d.ts.map +1 -0
- package/{inline-icon-button/index.d.ts → types/qualcomm-ui-angular-inline-icon-button.d.ts} +1 -1
- package/types/qualcomm-ui-angular-inline-icon-button.d.ts.map +1 -0
- package/{inline-notification/index.d.ts → types/qualcomm-ui-angular-inline-notification.d.ts} +1 -1
- package/types/qualcomm-ui-angular-inline-notification.d.ts.map +1 -0
- package/{input/index.d.ts → types/qualcomm-ui-angular-input.d.ts} +2 -2
- package/types/qualcomm-ui-angular-input.d.ts.map +1 -0
- package/{kbd/index.d.ts → types/qualcomm-ui-angular-kbd.d.ts} +1 -1
- package/types/qualcomm-ui-angular-kbd.d.ts.map +1 -0
- package/{link/index.d.ts → types/qualcomm-ui-angular-link.d.ts} +1 -1
- package/types/qualcomm-ui-angular-link.d.ts.map +1 -0
- package/{menu/index.d.ts → types/qualcomm-ui-angular-menu.d.ts} +1 -1
- package/types/qualcomm-ui-angular-menu.d.ts.map +1 -0
- package/{number-input/index.d.ts → types/qualcomm-ui-angular-number-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-number-input.d.ts.map +1 -0
- package/{pagination/index.d.ts → types/qualcomm-ui-angular-pagination.d.ts} +1 -1
- package/types/qualcomm-ui-angular-pagination.d.ts.map +1 -0
- package/{password-input/index.d.ts → types/qualcomm-ui-angular-password-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-password-input.d.ts.map +1 -0
- package/{popover/index.d.ts → types/qualcomm-ui-angular-popover.d.ts} +1 -1
- package/types/qualcomm-ui-angular-popover.d.ts.map +1 -0
- package/{progress-ring/index.d.ts → types/qualcomm-ui-angular-progress-ring.d.ts} +1 -1
- package/types/qualcomm-ui-angular-progress-ring.d.ts.map +1 -0
- package/{progress/index.d.ts → types/qualcomm-ui-angular-progress.d.ts} +1 -1
- package/types/qualcomm-ui-angular-progress.d.ts.map +1 -0
- package/{radio/index.d.ts → types/qualcomm-ui-angular-radio.d.ts} +1 -1
- package/types/qualcomm-ui-angular-radio.d.ts.map +1 -0
- package/{segmented-control/index.d.ts → types/qualcomm-ui-angular-segmented-control.d.ts} +1 -1
- package/types/qualcomm-ui-angular-segmented-control.d.ts.map +1 -0
- package/{select/index.d.ts → types/qualcomm-ui-angular-select.d.ts} +1 -1
- package/types/qualcomm-ui-angular-select.d.ts.map +1 -0
- package/{side-nav/index.d.ts → types/qualcomm-ui-angular-side-nav.d.ts} +1 -1
- package/types/qualcomm-ui-angular-side-nav.d.ts.map +1 -0
- package/{slider/index.d.ts → types/qualcomm-ui-angular-slider.d.ts} +1 -1
- package/types/qualcomm-ui-angular-slider.d.ts.map +1 -0
- package/{switch-group/index.d.ts → types/qualcomm-ui-angular-switch-group.d.ts} +1 -1
- package/types/qualcomm-ui-angular-switch-group.d.ts.map +1 -0
- package/{switch/index.d.ts → types/qualcomm-ui-angular-switch.d.ts} +1 -1
- package/types/qualcomm-ui-angular-switch.d.ts.map +1 -0
- package/{table/index.d.ts → types/qualcomm-ui-angular-table.d.ts} +1 -1
- package/types/qualcomm-ui-angular-table.d.ts.map +1 -0
- package/{tabs/index.d.ts → types/qualcomm-ui-angular-tabs.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tabs.d.ts.map +1 -0
- package/{tag/index.d.ts → types/qualcomm-ui-angular-tag.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tag.d.ts.map +1 -0
- package/{text-area/index.d.ts → types/qualcomm-ui-angular-text-area.d.ts} +1 -1
- package/types/qualcomm-ui-angular-text-area.d.ts.map +1 -0
- package/{text-input/index.d.ts → types/qualcomm-ui-angular-text-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-text-input.d.ts.map +1 -0
- package/{theme/index.d.ts → types/qualcomm-ui-angular-theme.d.ts} +1 -1
- package/types/qualcomm-ui-angular-theme.d.ts.map +1 -0
- package/{toast/index.d.ts → types/qualcomm-ui-angular-toast.d.ts} +2 -2
- package/types/qualcomm-ui-angular-toast.d.ts.map +1 -0
- package/{tooltip/index.d.ts → types/qualcomm-ui-angular-tooltip.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tooltip.d.ts.map +1 -0
- package/{transitions/index.d.ts → types/qualcomm-ui-angular-transitions.d.ts} +1 -1
- package/types/qualcomm-ui-angular-transitions.d.ts.map +1 -0
- package/{tree/index.d.ts → types/qualcomm-ui-angular-tree.d.ts} +1 -1
- package/types/qualcomm-ui-angular-tree.d.ts.map +1 -0
- package/types/qualcomm-ui-angular.d.ts +3 -0
- package/types/qualcomm-ui-angular.d.ts.map +1 -0
- package/accordion/index.d.ts.map +0 -1
- package/action-group/index.d.ts.map +0 -1
- package/alert-banner/index.d.ts.map +0 -1
- package/avatar/index.d.ts.map +0 -1
- package/badge/index.d.ts.map +0 -1
- package/breadcrumbs/index.d.ts.map +0 -1
- package/button/index.d.ts.map +0 -1
- package/checkbox/index.d.ts.map +0 -1
- package/checkbox-group/index.d.ts.map +0 -1
- package/checkmark/index.d.ts.map +0 -1
- package/collapsible/index.d.ts.map +0 -1
- package/combobox/index.d.ts.map +0 -1
- package/dialog/index.d.ts.map +0 -1
- package/divider/index.d.ts.map +0 -1
- package/drawer/index.d.ts.map +0 -1
- package/field-group/index.d.ts.map +0 -1
- package/footer/index.d.ts +0 -3
- package/footer/index.d.ts.map +0 -1
- package/header/index.d.ts +0 -3
- package/header/index.d.ts.map +0 -1
- package/header-bar/index.d.ts.map +0 -1
- package/icon/index.d.ts.map +0 -1
- package/index.d.ts +0 -3
- package/index.d.ts.map +0 -1
- package/inline-icon-button/index.d.ts.map +0 -1
- package/inline-notification/index.d.ts.map +0 -1
- package/input/index.d.ts.map +0 -1
- package/kbd/index.d.ts.map +0 -1
- package/link/index.d.ts.map +0 -1
- package/menu/index.d.ts.map +0 -1
- package/number-input/index.d.ts.map +0 -1
- package/pagination/index.d.ts.map +0 -1
- package/password-input/index.d.ts.map +0 -1
- package/popover/index.d.ts.map +0 -1
- package/progress/index.d.ts.map +0 -1
- package/progress-ring/index.d.ts.map +0 -1
- package/radio/index.d.ts.map +0 -1
- package/segmented-control/index.d.ts.map +0 -1
- package/select/index.d.ts.map +0 -1
- package/side-nav/index.d.ts.map +0 -1
- package/slider/index.d.ts.map +0 -1
- package/switch/index.d.ts.map +0 -1
- package/switch-group/index.d.ts.map +0 -1
- package/table/index.d.ts.map +0 -1
- package/tabs/index.d.ts.map +0 -1
- package/tag/index.d.ts.map +0 -1
- package/text-area/index.d.ts.map +0 -1
- package/text-input/index.d.ts.map +0 -1
- package/theme/index.d.ts.map +0 -1
- package/toast/index.d.ts.map +0 -1
- package/tooltip/index.d.ts.map +0 -1
- package/transitions/index.d.ts.map +0 -1
- package/tree/index.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-tooltip.mjs","sources":["../../src/tooltip/tooltip-arrow-tip.directive.ts","../../src/tooltip/tooltip-arrow.directive.ts","../../src/tooltip/tooltip-content.directive.ts","../../src/tooltip/tooltip-context.directive.ts","../../src/tooltip/tooltip-positioner.directive.ts","../../src/tooltip/tooltip-floating-portal.component.ts","../../src/tooltip/tooltip-root.directive.ts","../../src/tooltip/tooltip-trigger.directive.ts","../../src/tooltip/tooltip.directive.ts","../../src/tooltip/tooltip.module.ts","../../src/tooltip/qualcomm-ui-angular-tooltip.ts"],"sourcesContent":["// 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 {CoreTooltipArrowTipDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Directive({\n host: {\n \"[class]\": \"tooltipClasses.arrowTip\",\n },\n selector: \"[q-tooltip-arrow-tip]\",\n standalone: false,\n})\nexport class TooltipArrowTipDirective extends CoreTooltipArrowTipDirective {\n protected readonly tooltipClasses = tooltipClasses\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component} from \"@angular/core\"\n\nimport {CoreTooltipArrowDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Component({\n host: {\n \"[class]\": \"tooltipClasses.arrow\",\n },\n selector: \"[q-tooltip-arrow]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-tooltip-arrow-tip]\">\n <div q-tooltip-arrow-tip></div>\n </ng-content>\n `,\n})\nexport class TooltipArrowDirective extends CoreTooltipArrowDirective {\n protected readonly tooltipClasses = tooltipClasses\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 {CoreTooltipContentDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Directive({\n host: {\n \"[class]\": \"tooltipClasses.content\",\n },\n selector: \"[q-tooltip-content]\",\n standalone: false,\n})\nexport class TooltipContentDirective extends CoreTooltipContentDirective {\n protected readonly tooltipClasses = tooltipClasses\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, inject} from \"@angular/core\"\n\nimport {ApiContextDirective} from \"@qualcomm-ui/angular-core/machine\"\nimport {TooltipContextService} from \"@qualcomm-ui/angular-core/tooltip\"\nimport type {TooltipApi} from \"@qualcomm-ui/core/tooltip\"\n\n@Directive({\n selector: \"[tooltipContext]\",\n standalone: false,\n})\nexport class TooltipContextDirective extends ApiContextDirective<TooltipApi> {\n constructor() {\n const contextService = inject(TooltipContextService)\n super(contextService, \"tooltipContext\")\n }\n\n /**\n * Provides intellisense for the context in the template.\n */\n static ngTemplateContextGuard(\n dir: TooltipContextDirective,\n ctx: unknown,\n ): ctx is {$implicit: TooltipApi} {\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 {Directive} from \"@angular/core\"\n\nimport {CoreTooltipPositionerDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Directive({\n host: {\n \"[class]\": \"tooltipClasses.positioner\",\n },\n selector: \"[q-tooltip-positioner]\",\n standalone: false,\n})\nexport class TooltipPositionerDirective extends CoreTooltipPositionerDirective {\n protected readonly tooltipClasses = tooltipClasses\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component} from \"@angular/core\"\n\nimport {PortalComponent} from \"@qualcomm-ui/angular-core/portal\"\n\n/**\n * A helper component that combines the portal, positioner, content, and arrow\n * components.\n *\n * @remarks\n * This is equivalent to:\n * ```angular-html\n * <q-portal>\n * <div q-tooltip-positioner>\n * <div q-tooltip-content>\n * <div q-tooltip-arrow>\n * <div q-tooltip-arrow-tip></div>\n * </div>\n * <ng-content />\n * </div>\n * </div>\n * </q-portal>\n * ```\n */\n@Component({\n selector: \"q-tooltip-floating-portal\",\n standalone: false,\n template: `\n <ng-template #children>\n <div q-tooltip-positioner>\n <div q-tooltip-content>\n <div q-tooltip-arrow>\n <div q-tooltip-arrow-tip></div>\n </div>\n <ng-content />\n </div>\n </div>\n </ng-template>\n\n @if (disabled()) {\n <ng-template [ngTemplateOutlet]=\"children\" />\n } @else {\n <ng-template #tpl cdkPortal>\n <ng-template [ngTemplateOutlet]=\"children\" />\n </ng-template>\n }\n `,\n})\nexport class TooltipFloatingPortalComponent extends PortalComponent {}\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 {\n CoreTooltipRootDirective,\n provideTooltipContext,\n} from \"@qualcomm-ui/angular-core/tooltip\"\n\n@Directive({\n providers: [provideTooltipContext()],\n selector: \"[q-tooltip-root]\",\n standalone: false,\n})\nexport class TooltipRootDirective extends CoreTooltipRootDirective {}\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 {CoreTooltipTriggerDirective} from \"@qualcomm-ui/angular-core/tooltip\"\n\n@Directive({\n selector: \"[q-tooltip-trigger]\",\n standalone: false,\n})\nexport class TooltipTriggerDirective extends CoreTooltipTriggerDirective {}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {booleanAttribute, Component, input} from \"@angular/core\"\n\nimport {provideTooltipContext} from \"@qualcomm-ui/angular-core/tooltip\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {TooltipRootDirective} from \"./tooltip-root.directive\"\n\n@Component({\n providers: [provideTooltipContext()],\n selector: \"[q-tooltip]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-tooltip-trigger]\" />\n\n <q-portal [disabled]=\"disablePortal()\">\n <div q-tooltip-positioner>\n <div q-tooltip-content>\n @if (!hideArrow()) {\n <div q-tooltip-arrow>\n <div q-tooltip-arrow-tip></div>\n </div>\n }\n <ng-content />\n </div>\n </div>\n </q-portal>\n `,\n})\nexport class TooltipDirective extends TooltipRootDirective {\n /**\n * If true, the tooltip will not be rendered in a DOM portal.\n */\n readonly disablePortal = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to hide the arrow.\n */\n readonly hideArrow = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {CdkPortal} from \"@angular/cdk/portal\"\nimport {NgTemplateOutlet} from \"@angular/common\"\nimport {NgModule} from \"@angular/core\"\n\nimport {PortalComponent} from \"@qualcomm-ui/angular-core/portal\"\n\nimport {TooltipArrowTipDirective} from \"./tooltip-arrow-tip.directive\"\nimport {TooltipArrowDirective} from \"./tooltip-arrow.directive\"\nimport {TooltipContentDirective} from \"./tooltip-content.directive\"\nimport {TooltipContextDirective} from \"./tooltip-context.directive\"\nimport {TooltipFloatingPortalComponent} from \"./tooltip-floating-portal.component\"\nimport {TooltipPositionerDirective} from \"./tooltip-positioner.directive\"\nimport {TooltipRootDirective} from \"./tooltip-root.directive\"\nimport {TooltipTriggerDirective} from \"./tooltip-trigger.directive\"\nimport {TooltipDirective} from \"./tooltip.directive\"\n\n@NgModule({\n declarations: [\n TooltipDirective,\n TooltipRootDirective,\n TooltipArrowDirective,\n TooltipArrowTipDirective,\n TooltipContentDirective,\n TooltipContextDirective,\n TooltipPositionerDirective,\n TooltipTriggerDirective,\n TooltipFloatingPortalComponent,\n ],\n exports: [\n TooltipDirective,\n TooltipRootDirective,\n TooltipArrowDirective,\n TooltipArrowTipDirective,\n TooltipContentDirective,\n TooltipContextDirective,\n TooltipPositionerDirective,\n TooltipTriggerDirective,\n TooltipFloatingPortalComponent,\n ],\n imports: [PortalComponent, CdkPortal, NgTemplateOutlet],\n})\nexport class TooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.TooltipArrowTipDirective","i3.TooltipArrowDirective","i4.TooltipArrowTipDirective","i5.TooltipContentDirective","i6.TooltipPositionerDirective","i1","i2.TooltipArrowDirective","i3.TooltipArrowTipDirective","i4.TooltipContentDirective","i5.TooltipPositionerDirective"],"mappings":";;;;;;;;;;;;AAAA;AACA;AAcM,MAAO,wBAAyB,SAAQ,4BAA4B,CAAA;IACrD,cAAc,GAAG,cAAc;wGADvC,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAAxB,wBAAwB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,yBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAPpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,IAAI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ACrB,wBAAwB;wBACxB,uBAAuB;wBACvB,uBAAuB;wBACvB,0BAA0B;wBAC1B,uBAAuB;wBACvB,8BAA8B;AAC/B,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,SAAS,EAAE,gBAAgB,CAAC;AACxD,iBAAA;;;AC3CD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-tooltip.mjs","sources":["../../src/tooltip/tooltip-arrow-tip.directive.ts","../../src/tooltip/tooltip-arrow.directive.ts","../../src/tooltip/tooltip-content.directive.ts","../../src/tooltip/tooltip-context.directive.ts","../../src/tooltip/tooltip-positioner.directive.ts","../../src/tooltip/tooltip-floating-portal.component.ts","../../src/tooltip/tooltip-root.directive.ts","../../src/tooltip/tooltip-trigger.directive.ts","../../src/tooltip/tooltip.directive.ts","../../src/tooltip/tooltip.module.ts","../../src/tooltip/qualcomm-ui-angular-tooltip.ts"],"sourcesContent":["// 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 {CoreTooltipArrowTipDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Directive({\n host: {\n \"[class]\": \"tooltipClasses.arrowTip\",\n },\n selector: \"[q-tooltip-arrow-tip]\",\n standalone: false,\n})\nexport class TooltipArrowTipDirective extends CoreTooltipArrowTipDirective {\n protected readonly tooltipClasses = tooltipClasses\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component} from \"@angular/core\"\n\nimport {CoreTooltipArrowDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Component({\n host: {\n \"[class]\": \"tooltipClasses.arrow\",\n },\n selector: \"[q-tooltip-arrow]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-tooltip-arrow-tip]\">\n <div q-tooltip-arrow-tip></div>\n </ng-content>\n `,\n})\nexport class TooltipArrowDirective extends CoreTooltipArrowDirective {\n protected readonly tooltipClasses = tooltipClasses\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 {CoreTooltipContentDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Directive({\n host: {\n \"[class]\": \"tooltipClasses.content\",\n },\n selector: \"[q-tooltip-content]\",\n standalone: false,\n})\nexport class TooltipContentDirective extends CoreTooltipContentDirective {\n protected readonly tooltipClasses = tooltipClasses\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, inject} from \"@angular/core\"\n\nimport {ApiContextDirective} from \"@qualcomm-ui/angular-core/machine\"\nimport {TooltipContextService} from \"@qualcomm-ui/angular-core/tooltip\"\nimport type {TooltipApi} from \"@qualcomm-ui/core/tooltip\"\n\n@Directive({\n selector: \"[tooltipContext]\",\n standalone: false,\n})\nexport class TooltipContextDirective extends ApiContextDirective<TooltipApi> {\n constructor() {\n const contextService = inject(TooltipContextService)\n super(contextService, \"tooltipContext\")\n }\n\n /**\n * Provides intellisense for the context in the template.\n */\n static ngTemplateContextGuard(\n dir: TooltipContextDirective,\n ctx: unknown,\n ): ctx is {$implicit: TooltipApi} {\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 {Directive} from \"@angular/core\"\n\nimport {CoreTooltipPositionerDirective} from \"@qualcomm-ui/angular-core/tooltip\"\nimport {tooltipClasses} from \"@qualcomm-ui/qds-core/tooltip\"\n\n@Directive({\n host: {\n \"[class]\": \"tooltipClasses.positioner\",\n },\n selector: \"[q-tooltip-positioner]\",\n standalone: false,\n})\nexport class TooltipPositionerDirective extends CoreTooltipPositionerDirective {\n protected readonly tooltipClasses = tooltipClasses\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Component} from \"@angular/core\"\n\nimport {PortalComponent} from \"@qualcomm-ui/angular-core/portal\"\n\n/**\n * A helper component that combines the portal, positioner, content, and arrow\n * components.\n *\n * @remarks\n * This is equivalent to:\n * ```angular-html\n * <q-portal>\n * <div q-tooltip-positioner>\n * <div q-tooltip-content>\n * <div q-tooltip-arrow>\n * <div q-tooltip-arrow-tip></div>\n * </div>\n * <ng-content />\n * </div>\n * </div>\n * </q-portal>\n * ```\n */\n@Component({\n selector: \"q-tooltip-floating-portal\",\n standalone: false,\n template: `\n <ng-template #children>\n <div q-tooltip-positioner>\n <div q-tooltip-content>\n <div q-tooltip-arrow>\n <div q-tooltip-arrow-tip></div>\n </div>\n <ng-content />\n </div>\n </div>\n </ng-template>\n\n @if (disabled()) {\n <ng-template [ngTemplateOutlet]=\"children\" />\n } @else {\n <ng-template #tpl cdkPortal>\n <ng-template [ngTemplateOutlet]=\"children\" />\n </ng-template>\n }\n `,\n})\nexport class TooltipFloatingPortalComponent extends PortalComponent {}\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 {\n CoreTooltipRootDirective,\n provideTooltipContext,\n} from \"@qualcomm-ui/angular-core/tooltip\"\n\n@Directive({\n providers: [provideTooltipContext()],\n selector: \"[q-tooltip-root]\",\n standalone: false,\n})\nexport class TooltipRootDirective extends CoreTooltipRootDirective {}\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 {CoreTooltipTriggerDirective} from \"@qualcomm-ui/angular-core/tooltip\"\n\n@Directive({\n selector: \"[q-tooltip-trigger]\",\n standalone: false,\n})\nexport class TooltipTriggerDirective extends CoreTooltipTriggerDirective {}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {booleanAttribute, Component, input} from \"@angular/core\"\n\nimport {provideTooltipContext} from \"@qualcomm-ui/angular-core/tooltip\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {TooltipRootDirective} from \"./tooltip-root.directive\"\n\n@Component({\n providers: [provideTooltipContext()],\n selector: \"[q-tooltip]\",\n standalone: false,\n template: `\n <ng-content select=\"[q-tooltip-trigger]\" />\n\n <q-portal [disabled]=\"disablePortal()\">\n <div q-tooltip-positioner>\n <div q-tooltip-content>\n @if (!hideArrow()) {\n <div q-tooltip-arrow>\n <div q-tooltip-arrow-tip></div>\n </div>\n }\n <ng-content />\n </div>\n </div>\n </q-portal>\n `,\n})\nexport class TooltipDirective extends TooltipRootDirective {\n /**\n * If true, the tooltip will not be rendered in a DOM portal.\n */\n readonly disablePortal = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to hide the arrow.\n */\n readonly hideArrow = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {CdkPortal} from \"@angular/cdk/portal\"\nimport {NgTemplateOutlet} from \"@angular/common\"\nimport {NgModule} from \"@angular/core\"\n\nimport {PortalComponent} from \"@qualcomm-ui/angular-core/portal\"\n\nimport {TooltipArrowTipDirective} from \"./tooltip-arrow-tip.directive\"\nimport {TooltipArrowDirective} from \"./tooltip-arrow.directive\"\nimport {TooltipContentDirective} from \"./tooltip-content.directive\"\nimport {TooltipContextDirective} from \"./tooltip-context.directive\"\nimport {TooltipFloatingPortalComponent} from \"./tooltip-floating-portal.component\"\nimport {TooltipPositionerDirective} from \"./tooltip-positioner.directive\"\nimport {TooltipRootDirective} from \"./tooltip-root.directive\"\nimport {TooltipTriggerDirective} from \"./tooltip-trigger.directive\"\nimport {TooltipDirective} from \"./tooltip.directive\"\n\n@NgModule({\n declarations: [\n TooltipDirective,\n TooltipRootDirective,\n TooltipArrowDirective,\n TooltipArrowTipDirective,\n TooltipContentDirective,\n TooltipContextDirective,\n TooltipPositionerDirective,\n TooltipTriggerDirective,\n TooltipFloatingPortalComponent,\n ],\n exports: [\n TooltipDirective,\n TooltipRootDirective,\n TooltipArrowDirective,\n TooltipArrowTipDirective,\n TooltipContentDirective,\n TooltipContextDirective,\n TooltipPositionerDirective,\n TooltipTriggerDirective,\n TooltipFloatingPortalComponent,\n ],\n imports: [PortalComponent, CdkPortal, NgTemplateOutlet],\n})\nexport class TooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.TooltipArrowTipDirective","i3.TooltipArrowDirective","i4.TooltipArrowTipDirective","i5.TooltipContentDirective","i6.TooltipPositionerDirective","i1","i2.TooltipArrowDirective","i3.TooltipArrowTipDirective","i4.TooltipContentDirective","i5.TooltipPositionerDirective"],"mappings":";;;;;;;;;;;;AAAA;AACA;AAcM,MAAO,wBAAyB,SAAQ,4BAA4B,CAAA;IACrD,cAAc,GAAG,cAAc;uGADvC,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAxB,wBAAwB,EAAA,YAAA,EAAA,KAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,OAAA,EAAA,yBAAA,EAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAP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C/B,qBAAA;AACD,oBAAA,OAAO,EAAE,CAAC,eAAe,EAAE,SAAS,EAAE,gBAAgB,CAAC;AACxD,iBAAA;;;AC3CD;;AAEG;;;;"}
|
|
@@ -5,7 +5,7 @@ import { useCsrCheck } from '@qualcomm-ui/angular-core/common';
|
|
|
5
5
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
6
6
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
7
7
|
class QuiPreloadDirective {
|
|
8
|
-
preload = signal(true, ...(ngDevMode ? [{ debugName: "preload" }] : []));
|
|
8
|
+
preload = signal(true, ...(ngDevMode ? [{ debugName: "preload" }] : /* istanbul ignore next */ []));
|
|
9
9
|
isBrowser = useCsrCheck();
|
|
10
10
|
ngAfterViewInit() {
|
|
11
11
|
if (this.isBrowser()) {
|
|
@@ -14,10 +14,10 @@ class QuiPreloadDirective {
|
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QuiPreloadDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: QuiPreloadDirective, isStandalone: true, host: { properties: { "attr.data-qui-preload": "preload()" } }, ngImport: i0 });
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QuiPreloadDirective, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{
|
|
23
23
|
host: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-transitions.mjs","sources":["../../src/transitions/qui-preload.directive.ts","../../src/transitions/qualcomm-ui-angular-transitions.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {type AfterViewInit, Directive, signal} from \"@angular/core\"\n\nimport {useCsrCheck} from \"@qualcomm-ui/angular-core/common\"\n\n@Directive({\n host: {\n \"[attr.data-qui-preload]\": \"preload()\",\n },\n})\nexport class QuiPreloadDirective implements AfterViewInit {\n readonly preload = signal<true | undefined>(true)\n\n protected readonly isBrowser = useCsrCheck()\n\n ngAfterViewInit() {\n if (this.isBrowser()) {\n requestAnimationFrame(() => {\n this.preload.set(undefined)\n })\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;AACA;MAWa,mBAAmB,CAAA;AACrB,IAAA,OAAO,GAAG,MAAM,CAAmB,IAAI,
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-transitions.mjs","sources":["../../src/transitions/qui-preload.directive.ts","../../src/transitions/qualcomm-ui-angular-transitions.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {type AfterViewInit, Directive, signal} from \"@angular/core\"\n\nimport {useCsrCheck} from \"@qualcomm-ui/angular-core/common\"\n\n@Directive({\n host: {\n \"[attr.data-qui-preload]\": \"preload()\",\n },\n})\nexport class QuiPreloadDirective implements AfterViewInit {\n readonly preload = signal<true | undefined>(true)\n\n protected readonly isBrowser = useCsrCheck()\n\n ngAfterViewInit() {\n if (this.isBrowser()) {\n requestAnimationFrame(() => {\n this.preload.set(undefined)\n })\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;AACA;MAWa,mBAAmB,CAAA;AACrB,IAAA,OAAO,GAAG,MAAM,CAAmB,IAAI,8EAAC;IAE9B,SAAS,GAAG,WAAW,EAAE;IAE5C,eAAe,GAAA;AACb,QAAA,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE;YACpB,qBAAqB,CAAC,MAAK;AACzB,gBAAA,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC;AAC7B,YAAA,CAAC,CAAC;QACJ;IACF;uGAXW,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;2FAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,uBAAA,EAAA,WAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,IAAI,EAAE;AACJ,wBAAA,yBAAyB,EAAE,WAAW;AACvC,qBAAA;AACF,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -24,10 +24,10 @@ import { createQdsTreeApi } from '@qualcomm-ui/qds-core/tree';
|
|
|
24
24
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
25
25
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
26
26
|
class QdsTreeContextService extends BaseApiContextService {
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
28
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTreeContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
28
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTreeContextService });
|
|
29
29
|
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: QdsTreeContextService, decorators: [{
|
|
31
31
|
type: Injectable
|
|
32
32
|
}] });
|
|
33
33
|
const [QDS_TREE_CONTEXT, useQdsTreeContext, provideQdsTreeContext,] = createApiContext("QdsTreeContext", QdsTreeContextService);
|
|
@@ -39,15 +39,15 @@ class TreeBranchContentDirective extends CoreTreeBranchContentDirective {
|
|
|
39
39
|
* HTML {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
40
40
|
* omitted, a unique identifier will be generated for accessibility.)
|
|
41
41
|
*/
|
|
42
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
43
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
42
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
43
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
44
44
|
qdsContext = useQdsTreeContext();
|
|
45
45
|
collapsibleContext = useCollapsibleContext();
|
|
46
46
|
trackBindings = useTrackBindings(() => mergeProps(this.treeContext().getBranchContentBindings(this.treeNodePropsContext()), this.collapsibleContext().getRootBindings(), this.collapsibleContext().getContentBindings({ id: this.hostId() }), { class: collapsibleClasses.content }, this.qdsContext().getBranchContentBindings()));
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchContentDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: TreeBranchContentDirective, isStandalone: false, selector: "[q-tree-branch-content]", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchContentDirective, decorators: [{
|
|
51
51
|
type: Directive,
|
|
52
52
|
args: [{
|
|
53
53
|
selector: "[q-tree-branch-content]",
|
|
@@ -63,10 +63,10 @@ class TreeBranchIndentGuideDirective extends CoreTreeBranchIndentGuideDirective
|
|
|
63
63
|
super();
|
|
64
64
|
this.trackBindings.extendWith(computed(() => this.qdsContext().getBranchIndentGuideBindings()));
|
|
65
65
|
}
|
|
66
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
67
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
66
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchIndentGuideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
67
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TreeBranchIndentGuideDirective, isStandalone: false, selector: "[q-tree-branch-indent-guide]", usesInheritance: true, ngImport: i0 });
|
|
68
68
|
}
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchIndentGuideDirective, decorators: [{
|
|
70
70
|
type: Directive,
|
|
71
71
|
args: [{
|
|
72
72
|
selector: "[q-tree-branch-indent-guide]",
|
|
@@ -82,10 +82,10 @@ class TreeBranchNodeDirective extends CoreTreeBranchNodeDirective {
|
|
|
82
82
|
super();
|
|
83
83
|
this.trackBindings.extendWith(computed(() => this.qdsContext().getBranchNodeBindings()));
|
|
84
84
|
}
|
|
85
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
86
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
85
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchNodeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
86
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TreeBranchNodeDirective, isStandalone: false, selector: "[q-tree-branch-node]", usesInheritance: true, ngImport: i0 });
|
|
87
87
|
}
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchNodeDirective, decorators: [{
|
|
89
89
|
type: Directive,
|
|
90
90
|
args: [{
|
|
91
91
|
selector: "[q-tree-branch-node]",
|
|
@@ -116,15 +116,15 @@ class TreeBranchTemplateDirective {
|
|
|
116
116
|
* The root node of the tree. Used for type narrowing of the template guard.
|
|
117
117
|
* {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}
|
|
118
118
|
*/
|
|
119
|
-
rootNode = input(...(ngDevMode ? [undefined, { debugName: "rootNode" }] : []));
|
|
119
|
+
rootNode = input(...(ngDevMode ? [undefined, { debugName: "rootNode" }] : /* istanbul ignore next */ []));
|
|
120
120
|
template = inject(TemplateRef);
|
|
121
121
|
static ngTemplateContextGuard(dir, ctx) {
|
|
122
122
|
return true;
|
|
123
123
|
}
|
|
124
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
125
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
124
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
125
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: TreeBranchTemplateDirective, isStandalone: false, selector: "ng-template[q-tree-branch-template]", inputs: { rootNode: { classPropertyName: "rootNode", publicName: "rootNode", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
126
126
|
}
|
|
127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchTemplateDirective, decorators: [{
|
|
128
128
|
type: Directive,
|
|
129
129
|
args: [{
|
|
130
130
|
selector: "ng-template[q-tree-branch-template]",
|
|
@@ -138,18 +138,18 @@ class TreeBranchTriggerDirective extends CoreTreeBranchTriggerDirective {
|
|
|
138
138
|
/**
|
|
139
139
|
* @default ChevronRight
|
|
140
140
|
*/
|
|
141
|
-
icon = input(ChevronRight, ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
141
|
+
icon = input(ChevronRight, ...(ngDevMode ? [{ debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
142
142
|
qdsContext = useQdsTreeContext();
|
|
143
143
|
constructor() {
|
|
144
144
|
super();
|
|
145
145
|
this.trackBindings.extendWith(computed(() => this.qdsContext().getBranchTriggerBindings()));
|
|
146
146
|
}
|
|
147
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
148
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
147
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
148
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.2", type: TreeBranchTriggerDirective, isStandalone: false, selector: "[q-tree-branch-trigger]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
149
149
|
<svg [qIcon]="icon()"></svg>
|
|
150
150
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
|
|
151
151
|
}
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchTriggerDirective, decorators: [{
|
|
153
153
|
type: Component,
|
|
154
154
|
args: [{
|
|
155
155
|
selector: "[q-tree-branch-trigger]",
|
|
@@ -184,10 +184,10 @@ class TreeBranchDirective extends CoreTreeBranchDirective {
|
|
|
184
184
|
this.collapsibleApi.init(computed(() => createCollapsibleApi(machine, normalizeProps)));
|
|
185
185
|
super.ngOnInit();
|
|
186
186
|
}
|
|
187
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
188
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
188
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TreeBranchDirective, isStandalone: false, selector: "[q-tree-branch]", providers: [provideCollapsibleContext()], usesInheritance: true, ngImport: i0 });
|
|
189
189
|
}
|
|
190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeBranchDirective, decorators: [{
|
|
191
191
|
type: Directive,
|
|
192
192
|
args: [{
|
|
193
193
|
providers: [provideCollapsibleContext()],
|
|
@@ -204,10 +204,10 @@ class TreeLabelDirective extends CoreTreeLabelDirective {
|
|
|
204
204
|
super();
|
|
205
205
|
this.trackBindings.extendWith(computed(() => this.qdsContext().getLabelBindings()));
|
|
206
206
|
}
|
|
207
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
208
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
207
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
208
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TreeLabelDirective, isStandalone: false, selector: "[q-tree-label]", usesInheritance: true, ngImport: i0 });
|
|
209
209
|
}
|
|
210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeLabelDirective, decorators: [{
|
|
211
211
|
type: Directive,
|
|
212
212
|
args: [{
|
|
213
213
|
selector: "[q-tree-label]",
|
|
@@ -223,10 +223,10 @@ class TreeLeafNodeDirective extends CoreTreeLeafNodeDirective {
|
|
|
223
223
|
super();
|
|
224
224
|
this.trackBindings.extendWith(computed(() => this.qdsContext().getLeafNodeBindings()));
|
|
225
225
|
}
|
|
226
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
227
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeLeafNodeDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
227
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TreeLeafNodeDirective, isStandalone: false, selector: "[q-tree-leaf-node]", usesInheritance: true, ngImport: i0 });
|
|
228
228
|
}
|
|
229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeLeafNodeDirective, decorators: [{
|
|
230
230
|
type: Directive,
|
|
231
231
|
args: [{
|
|
232
232
|
selector: "[q-tree-leaf-node]",
|
|
@@ -255,15 +255,15 @@ class TreeLeafTemplateDirective {
|
|
|
255
255
|
* The root node of the tree. Used for type narrowing of the template guard.
|
|
256
256
|
* {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}
|
|
257
257
|
*/
|
|
258
|
-
rootNode = input(...(ngDevMode ? [undefined, { debugName: "rootNode" }] : []));
|
|
258
|
+
rootNode = input(...(ngDevMode ? [undefined, { debugName: "rootNode" }] : /* istanbul ignore next */ []));
|
|
259
259
|
template = inject(TemplateRef);
|
|
260
260
|
static ngTemplateContextGuard(dir, ctx) {
|
|
261
261
|
return true;
|
|
262
262
|
}
|
|
263
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
264
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
263
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeLeafTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
264
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: TreeLeafTemplateDirective, isStandalone: false, selector: "ng-template[q-tree-leaf-template]", inputs: { rootNode: { classPropertyName: "rootNode", publicName: "rootNode", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
265
265
|
}
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeLeafTemplateDirective, decorators: [{
|
|
267
267
|
type: Directive,
|
|
268
268
|
args: [{
|
|
269
269
|
selector: "ng-template[q-tree-leaf-template]",
|
|
@@ -277,13 +277,13 @@ class TreeNodeActionDirective extends CoreTreeNodeActionDirective {
|
|
|
277
277
|
/**
|
|
278
278
|
* Lucide icon to display inside the button.
|
|
279
279
|
*/
|
|
280
|
-
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
280
|
+
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
281
281
|
/**
|
|
282
282
|
* The size of the button and its icon.
|
|
283
283
|
*
|
|
284
284
|
* @default 'md'
|
|
285
285
|
*/
|
|
286
|
-
size = input("md", ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
286
|
+
size = input("md", ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
287
287
|
inlineIconButtonApi = useInlineIconButtonApi({
|
|
288
288
|
emphasis: "neutral",
|
|
289
289
|
size: this.size(),
|
|
@@ -294,8 +294,8 @@ class TreeNodeActionDirective extends CoreTreeNodeActionDirective {
|
|
|
294
294
|
super();
|
|
295
295
|
this.trackBindings.extendWith(computed(() => mergeProps(this.inlineIconButtonApi().getRootBindings(), this.qdsContext().getNodeActionBindings())));
|
|
296
296
|
}
|
|
297
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
298
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeActionDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
298
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TreeNodeActionDirective, isStandalone: false, selector: "[q-tree-node-action]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
299
299
|
@if (icon()) {
|
|
300
300
|
<svg
|
|
301
301
|
[q-bind]="inlineIconButtonApi().getIconBindings()"
|
|
@@ -305,7 +305,7 @@ class TreeNodeActionDirective extends CoreTreeNodeActionDirective {
|
|
|
305
305
|
<ng-content />
|
|
306
306
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }, { kind: "directive", type: i2.QBindDirective, selector: "[q-bind]", inputs: ["q-bind", "q-bind-options"] }] });
|
|
307
307
|
}
|
|
308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeActionDirective, decorators: [{
|
|
309
309
|
type: Component,
|
|
310
310
|
args: [{
|
|
311
311
|
selector: "[q-tree-node-action]",
|
|
@@ -335,8 +335,8 @@ class TreeNodeCheckboxDirective extends CoreTreeNodeCheckboxDirective {
|
|
|
335
335
|
size: "md",
|
|
336
336
|
}, normalizeProps).getRootBindings()));
|
|
337
337
|
}
|
|
338
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
339
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeCheckboxDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
339
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TreeNodeCheckboxDirective, isStandalone: false, selector: "[q-tree-node-checkbox]", usesInheritance: true, ngImport: i0, template: `
|
|
340
340
|
<ng-content>
|
|
341
341
|
@if (nodeState().checked) {
|
|
342
342
|
<q-checkmark-icon
|
|
@@ -347,7 +347,7 @@ class TreeNodeCheckboxDirective extends CoreTreeNodeCheckboxDirective {
|
|
|
347
347
|
</ng-content>
|
|
348
348
|
`, isInline: true, dependencies: [{ kind: "component", type: i1$1.CheckmarkIconComponent, selector: "q-checkmark-icon", inputs: ["indeterminate", "size"] }] });
|
|
349
349
|
}
|
|
350
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeCheckboxDirective, decorators: [{
|
|
351
351
|
type: Component,
|
|
352
352
|
args: [{
|
|
353
353
|
selector: "[q-tree-node-checkbox]",
|
|
@@ -372,7 +372,7 @@ class TreeNodeContextDirective extends ApiContextDirective {
|
|
|
372
372
|
* The root node of the tree. Used for type narrowing of the template guard.
|
|
373
373
|
* {@link https://angular.dev/guide/directives/structural-directives#type-narrowing-with-template-guards Learn more}
|
|
374
374
|
*/
|
|
375
|
-
rootNode = input(...(ngDevMode ? [undefined, { debugName: "rootNode" }] : []));
|
|
375
|
+
rootNode = input(...(ngDevMode ? [undefined, { debugName: "rootNode" }] : /* istanbul ignore next */ []));
|
|
376
376
|
constructor() {
|
|
377
377
|
const contextService = inject(TreeNodeStateContextService);
|
|
378
378
|
super(contextService, "treeNodeContext");
|
|
@@ -380,10 +380,10 @@ class TreeNodeContextDirective extends ApiContextDirective {
|
|
|
380
380
|
static ngTemplateContextGuard(dir, ctx) {
|
|
381
381
|
return true;
|
|
382
382
|
}
|
|
383
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
384
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
383
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeContextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
384
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: TreeNodeContextDirective, isStandalone: false, selector: "[treeNodeContext]", inputs: { rootNode: { classPropertyName: "rootNode", publicName: "rootNode", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
385
385
|
}
|
|
386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeContextDirective, decorators: [{
|
|
387
387
|
type: Directive,
|
|
388
388
|
args: [{
|
|
389
389
|
selector: "[treeNodeContext]",
|
|
@@ -394,21 +394,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
394
394
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
395
395
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
396
396
|
class TreeNodeIconDirective extends CoreTreeNodeIconDirective {
|
|
397
|
-
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
|
|
397
|
+
icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : /* istanbul ignore next */ []));
|
|
398
398
|
qdsContext = useQdsTreeContext();
|
|
399
399
|
constructor() {
|
|
400
400
|
super();
|
|
401
401
|
this.trackBindings.extendWith(computed(() => this.qdsContext().getNodeIconBindings()));
|
|
402
402
|
}
|
|
403
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
404
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
403
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
404
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TreeNodeIconDirective, isStandalone: false, selector: "[q-tree-node-icon]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0, template: `
|
|
405
405
|
@if (icon()) {
|
|
406
406
|
<svg [qIcon]="icon()!" />
|
|
407
407
|
}
|
|
408
408
|
<ng-content />
|
|
409
409
|
`, isInline: true, dependencies: [{ kind: "directive", type: i1.IconDirective, selector: "svg[qIcon]", inputs: ["qIcon", "size", "viewBox", "xmlns", "height", "width"] }] });
|
|
410
410
|
}
|
|
411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeIconDirective, decorators: [{
|
|
412
412
|
type: Component,
|
|
413
413
|
args: [{
|
|
414
414
|
selector: "[q-tree-node-icon]",
|
|
@@ -430,10 +430,10 @@ class TreeNodeIndicatorDirective extends CoreTreeNodeIndicatorDirective {
|
|
|
430
430
|
super();
|
|
431
431
|
this.trackBindings.extendWith(computed(() => this.qdsContext().getNodeIndicatorBindings()));
|
|
432
432
|
}
|
|
433
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
434
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
433
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
434
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TreeNodeIndicatorDirective, isStandalone: false, selector: "[q-tree-node-indicator]", usesInheritance: true, ngImport: i0 });
|
|
435
435
|
}
|
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeIndicatorDirective, decorators: [{
|
|
437
437
|
type: Directive,
|
|
438
438
|
args: [{
|
|
439
439
|
selector: "[q-tree-node-indicator]",
|
|
@@ -444,10 +444,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
444
444
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
445
445
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
446
446
|
class TreeNodeTextDirective extends CoreTreeNodeTextDirective {
|
|
447
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
448
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
447
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeTextDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
448
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: TreeNodeTextDirective, isStandalone: false, selector: "[q-tree-node-text]", usesInheritance: true, ngImport: i0 });
|
|
449
449
|
}
|
|
450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodeTextDirective, decorators: [{
|
|
451
451
|
type: Directive,
|
|
452
452
|
args: [{
|
|
453
453
|
selector: "[q-tree-node-text]",
|
|
@@ -461,27 +461,27 @@ class TreeNodesComponent {
|
|
|
461
461
|
/**
|
|
462
462
|
* The index path of the tree node
|
|
463
463
|
*/
|
|
464
|
-
indexPath = input.required(...(ngDevMode ? [{ debugName: "indexPath" }] : []));
|
|
464
|
+
indexPath = input.required(...(ngDevMode ? [{ debugName: "indexPath" }] : /* istanbul ignore next */ []));
|
|
465
465
|
/**
|
|
466
466
|
* The tree node
|
|
467
467
|
*
|
|
468
468
|
* @inheritDoc
|
|
469
469
|
*/
|
|
470
|
-
node = input.required(...(ngDevMode ? [{ debugName: "node" }] : []));
|
|
471
|
-
renderBranch = input(...(ngDevMode ? [undefined, { debugName: "renderBranch" }] : []));
|
|
472
|
-
renderLeaf = input(...(ngDevMode ? [undefined, { debugName: "renderLeaf" }] : []));
|
|
473
|
-
treeBranchContentChild = contentChild((TreeBranchTemplateDirective), ...(ngDevMode ? [{ debugName: "treeBranchContentChild" }] : []));
|
|
474
|
-
treeLeafContentChild = contentChild((TreeLeafTemplateDirective), ...(ngDevMode ? [{ debugName: "treeLeafContentChild" }] : []));
|
|
470
|
+
node = input.required(...(ngDevMode ? [{ debugName: "node" }] : /* istanbul ignore next */ []));
|
|
471
|
+
renderBranch = input(...(ngDevMode ? [undefined, { debugName: "renderBranch" }] : /* istanbul ignore next */ []));
|
|
472
|
+
renderLeaf = input(...(ngDevMode ? [undefined, { debugName: "renderLeaf" }] : /* istanbul ignore next */ []));
|
|
473
|
+
treeBranchContentChild = contentChild((TreeBranchTemplateDirective), ...(ngDevMode ? [{ debugName: "treeBranchContentChild" }] : /* istanbul ignore next */ []));
|
|
474
|
+
treeLeafContentChild = contentChild((TreeLeafTemplateDirective), ...(ngDevMode ? [{ debugName: "treeLeafContentChild" }] : /* istanbul ignore next */ []));
|
|
475
475
|
branchTemplate = computed(() => {
|
|
476
476
|
const branchInput = this.renderBranch();
|
|
477
477
|
const branchTemplate = this.treeBranchContentChild();
|
|
478
478
|
return branchInput || branchTemplate?.template;
|
|
479
|
-
}, ...(ngDevMode ? [{ debugName: "branchTemplate" }] : []));
|
|
479
|
+
}, ...(ngDevMode ? [{ debugName: "branchTemplate" }] : /* istanbul ignore next */ []));
|
|
480
480
|
leafTemplate = computed(() => {
|
|
481
481
|
const leafInput = this.renderLeaf();
|
|
482
482
|
const leafTemplate = this.treeLeafContentChild();
|
|
483
483
|
return (leafInput || leafTemplate?.template);
|
|
484
|
-
}, ...(ngDevMode ? [{ debugName: "leafTemplate" }] : []));
|
|
484
|
+
}, ...(ngDevMode ? [{ debugName: "leafTemplate" }] : /* istanbul ignore next */ []));
|
|
485
485
|
treeContext = useTreeContext();
|
|
486
486
|
injector = inject(Injector, { self: true });
|
|
487
487
|
templateContext = computed(() => ({
|
|
@@ -489,10 +489,10 @@ class TreeNodesComponent {
|
|
|
489
489
|
indexPath: this.indexPath(),
|
|
490
490
|
node: this.node(),
|
|
491
491
|
},
|
|
492
|
-
}), ...(ngDevMode ? [{ debugName: "templateContext" }] : []));
|
|
492
|
+
}), ...(ngDevMode ? [{ debugName: "templateContext" }] : /* istanbul ignore next */ []));
|
|
493
493
|
childNodes = computed(() => {
|
|
494
494
|
return this.treeContext().collection.getNodeChildren(this.node());
|
|
495
|
-
}, ...(ngDevMode ? [{ debugName: "childNodes" }] : []));
|
|
495
|
+
}, ...(ngDevMode ? [{ debugName: "childNodes" }] : /* istanbul ignore next */ []));
|
|
496
496
|
treeNodePropsContextService = inject(TreeNodePropsContextService, { self: true });
|
|
497
497
|
treeNodeStateContextService = inject(TreeNodeStateContextService, {
|
|
498
498
|
self: true,
|
|
@@ -501,15 +501,15 @@ class TreeNodesComponent {
|
|
|
501
501
|
const nodeProps = computed(() => ({
|
|
502
502
|
indexPath: this.indexPath(),
|
|
503
503
|
node: this.node(),
|
|
504
|
-
}), ...(ngDevMode ? [{ debugName: "nodeProps" }] : []));
|
|
504
|
+
}), ...(ngDevMode ? [{ debugName: "nodeProps" }] : /* istanbul ignore next */ []));
|
|
505
505
|
this.treeNodePropsContextService.init(nodeProps);
|
|
506
506
|
this.treeNodeStateContextService.init(computed(() => this.treeContext().getNodeState(nodeProps())));
|
|
507
507
|
}
|
|
508
508
|
getChildIndexPath(index) {
|
|
509
509
|
return [...this.indexPath(), index];
|
|
510
510
|
}
|
|
511
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
512
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
511
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
512
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", type: TreeNodesComponent, isStandalone: false, selector: "q-tree-nodes", inputs: { indexPath: { classPropertyName: "indexPath", publicName: "indexPath", isSignal: true, isRequired: true, transformFunction: null }, node: { classPropertyName: "node", publicName: "node", isSignal: true, isRequired: true, transformFunction: null }, renderBranch: { classPropertyName: "renderBranch", publicName: "renderBranch", isSignal: true, isRequired: false, transformFunction: null }, renderLeaf: { classPropertyName: "renderLeaf", publicName: "renderLeaf", isSignal: true, isRequired: false, transformFunction: null } }, providers: [provideTreeNodePropsContext(), provideTreeNodeStateContext()], queries: [{ propertyName: "treeBranchContentChild", first: true, predicate: (TreeBranchTemplateDirective), descendants: true, isSignal: true }, { propertyName: "treeLeafContentChild", first: true, predicate: (TreeLeafTemplateDirective), descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
513
513
|
@if (childNodes().length) {
|
|
514
514
|
<div q-tree-branch>
|
|
515
515
|
<ng-template
|
|
@@ -542,7 +542,7 @@ class TreeNodesComponent {
|
|
|
542
542
|
}
|
|
543
543
|
`, isInline: true, styles: [":host{display:contents}\n"], dependencies: [{ kind: "directive", type: i1$2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TreeBranchDirective, selector: "[q-tree-branch]" }, { kind: "directive", type: TreeBranchContentDirective, selector: "[q-tree-branch-content]", inputs: ["id"] }, { kind: "component", type: TreeNodesComponent, selector: "q-tree-nodes", inputs: ["indexPath", "node", "renderBranch", "renderLeaf"] }] });
|
|
544
544
|
}
|
|
545
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeNodesComponent, decorators: [{
|
|
546
546
|
type: Component,
|
|
547
547
|
args: [{ providers: [provideTreeNodePropsContext(), provideTreeNodeStateContext()], selector: "q-tree-nodes", standalone: false, template: `
|
|
548
548
|
@if (childNodes().length) {
|
|
@@ -587,7 +587,7 @@ class TreeRootDirective extends CoreTreeRootDirective {
|
|
|
587
587
|
*
|
|
588
588
|
* @default 'md'
|
|
589
589
|
*/
|
|
590
|
-
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : []));
|
|
590
|
+
size = input(...(ngDevMode ? [undefined, { debugName: "size" }] : /* istanbul ignore next */ []));
|
|
591
591
|
qdsTreeService = inject(QdsTreeContextService);
|
|
592
592
|
constructor() {
|
|
593
593
|
super();
|
|
@@ -597,14 +597,14 @@ class TreeRootDirective extends CoreTreeRootDirective {
|
|
|
597
597
|
this.qdsTreeService.init(computed(() => createQdsTreeApi({ size: this.size() }, normalizeProps)));
|
|
598
598
|
super.ngOnInit();
|
|
599
599
|
}
|
|
600
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
601
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
600
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
601
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: TreeRootDirective, isStandalone: false, selector: "[q-tree-root]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
602
602
|
provideTreeContext(),
|
|
603
603
|
provideRenderStrategyContext(),
|
|
604
604
|
provideQdsTreeContext(),
|
|
605
605
|
], exportAs: ["treeRoot"], usesInheritance: true, ngImport: i0 });
|
|
606
606
|
}
|
|
607
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeRootDirective, decorators: [{
|
|
608
608
|
type: Directive,
|
|
609
609
|
args: [{
|
|
610
610
|
exportAs: "treeRoot",
|
|
@@ -621,8 +621,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
|
|
|
621
621
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
622
622
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
623
623
|
class TreeModule {
|
|
624
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
625
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
624
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
625
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.2", ngImport: i0, type: TreeModule, declarations: [TreeRootDirective,
|
|
626
626
|
TreeBranchDirective,
|
|
627
627
|
TreeBranchContentDirective,
|
|
628
628
|
TreeBranchIndentGuideDirective,
|
|
@@ -658,9 +658,9 @@ class TreeModule {
|
|
|
658
658
|
TreeNodeContextDirective,
|
|
659
659
|
TreeNodeCheckboxDirective,
|
|
660
660
|
TreeNodesComponent] });
|
|
661
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
661
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeModule, imports: [CheckmarkIconComponent] });
|
|
662
662
|
}
|
|
663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: TreeModule, decorators: [{
|
|
664
664
|
type: NgModule,
|
|
665
665
|
args: [{
|
|
666
666
|
declarations: [
|