@qualcomm-ui/angular-core 1.5.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-core-accordion.mjs +44 -50
- package/fesm2022/qualcomm-ui-angular-core-accordion.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +24 -24
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +56 -66
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +22 -24
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-collection.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-collection.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +116 -152
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +64 -78
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs +15 -15
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-events.mjs +4 -4
- package/fesm2022/qualcomm-ui-angular-core-events.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs +9 -15
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +32 -32
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-input.mjs +35 -51
- package/fesm2022/qualcomm-ui-angular-core-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs +11 -23
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs +20 -20
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs +111 -127
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +80 -106
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs +3 -3
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +46 -60
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +46 -50
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs +62 -66
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs +18 -22
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs +18 -24
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +31 -30
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs +47 -52
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs +72 -80
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +32 -38
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-select.mjs +88 -102
- package/fesm2022/qualcomm-ui-angular-core-select.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs +44 -58
- package/fesm2022/qualcomm-ui-angular-core-side-nav.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs +2 -2
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-slider.mjs +98 -102
- package/fesm2022/qualcomm-ui-angular-core-slider.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-state.mjs +5 -5
- package/fesm2022/qualcomm-ui-angular-core-state.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs +38 -40
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +51 -65
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +34 -34
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +37 -37
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs +30 -30
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +37 -45
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-tree.mjs +70 -78
- package/fesm2022/qualcomm-ui-angular-core-tree.mjs.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs +5 -5
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs.map +1 -1
- package/package.json +57 -57
- package/{accordion/index.d.ts → types/qualcomm-ui-angular-core-accordion.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-accordion.d.ts.map +1 -0
- package/{attributes/index.d.ts → types/qualcomm-ui-angular-core-attributes.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-attributes.d.ts.map +1 -0
- package/{avatar/index.d.ts → types/qualcomm-ui-angular-core-avatar.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-avatar.d.ts.map +1 -0
- package/{checkbox/index.d.ts → types/qualcomm-ui-angular-core-checkbox.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-checkbox.d.ts.map +1 -0
- package/{collapsible/index.d.ts → types/qualcomm-ui-angular-core-collapsible.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-collapsible.d.ts.map +1 -0
- package/{collection/index.d.ts → types/qualcomm-ui-angular-core-collection.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-collection.d.ts.map +1 -0
- package/{combobox/index.d.ts → types/qualcomm-ui-angular-core-combobox.d.ts} +2 -2
- package/types/qualcomm-ui-angular-core-combobox.d.ts.map +1 -0
- package/{common/index.d.ts → types/qualcomm-ui-angular-core-common.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-common.d.ts.map +1 -0
- package/{dialog/index.d.ts → types/qualcomm-ui-angular-core-dialog.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-dialog.d.ts.map +1 -0
- package/{dom/index.d.ts → types/qualcomm-ui-angular-core-dom.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-dom.d.ts.map +1 -0
- package/{events/index.d.ts → types/qualcomm-ui-angular-core-events.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-events.d.ts.map +1 -0
- package/{forms/index.d.ts → types/qualcomm-ui-angular-core-forms.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-forms.d.ts.map +1 -0
- package/{highlight/index.d.ts → types/qualcomm-ui-angular-core-highlight.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-highlight.d.ts.map +1 -0
- package/{inline-notification/index.d.ts → types/qualcomm-ui-angular-core-inline-notification.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-inline-notification.d.ts.map +1 -0
- package/{input/index.d.ts → types/qualcomm-ui-angular-core-input.d.ts} +2 -2
- package/types/qualcomm-ui-angular-core-input.d.ts.map +1 -0
- package/{locale/index.d.ts → types/qualcomm-ui-angular-core-locale.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-locale.d.ts.map +1 -0
- package/{lorem-ipsum/index.d.ts → types/qualcomm-ui-angular-core-lorem-ipsum.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-lorem-ipsum.d.ts.map +1 -0
- package/{lucide/index.d.ts → types/qualcomm-ui-angular-core-lucide.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-lucide.d.ts.map +1 -0
- package/{machine/index.d.ts → types/qualcomm-ui-angular-core-machine.d.ts} +2 -2
- package/types/qualcomm-ui-angular-core-machine.d.ts.map +1 -0
- package/{menu/index.d.ts → types/qualcomm-ui-angular-core-menu.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-menu.d.ts.map +1 -0
- package/{number-input/index.d.ts → types/qualcomm-ui-angular-core-number-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-number-input.d.ts.map +1 -0
- package/{observers/index.d.ts → types/qualcomm-ui-angular-core-observers.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-observers.d.ts.map +1 -0
- package/{pagination/index.d.ts → types/qualcomm-ui-angular-core-pagination.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-pagination.d.ts.map +1 -0
- package/{password-input/index.d.ts → types/qualcomm-ui-angular-core-password-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-password-input.d.ts.map +1 -0
- package/{popover/index.d.ts → types/qualcomm-ui-angular-core-popover.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-popover.d.ts.map +1 -0
- package/{portal/index.d.ts → types/qualcomm-ui-angular-core-portal.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-portal.d.ts.map +1 -0
- package/{presence/index.d.ts → types/qualcomm-ui-angular-core-presence.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-presence.d.ts.map +1 -0
- package/{progress-ring/index.d.ts → types/qualcomm-ui-angular-core-progress-ring.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-progress-ring.d.ts.map +1 -0
- package/{progress/index.d.ts → types/qualcomm-ui-angular-core-progress.d.ts} +6 -2
- package/types/qualcomm-ui-angular-core-progress.d.ts.map +1 -0
- package/{radio/index.d.ts → types/qualcomm-ui-angular-core-radio.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-radio.d.ts.map +1 -0
- package/{segmented-control/index.d.ts → types/qualcomm-ui-angular-core-segmented-control.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-segmented-control.d.ts.map +1 -0
- package/{select/index.d.ts → types/qualcomm-ui-angular-core-select.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-select.d.ts.map +1 -0
- package/{side-nav/index.d.ts → types/qualcomm-ui-angular-core-side-nav.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-side-nav.d.ts.map +1 -0
- package/{signals/index.d.ts → types/qualcomm-ui-angular-core-signals.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-signals.d.ts.map +1 -0
- package/{slider/index.d.ts → types/qualcomm-ui-angular-core-slider.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-slider.d.ts.map +1 -0
- package/{state/index.d.ts → types/qualcomm-ui-angular-core-state.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-state.d.ts.map +1 -0
- package/{switch/index.d.ts → types/qualcomm-ui-angular-core-switch.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-switch.d.ts.map +1 -0
- package/{tabs/index.d.ts → types/qualcomm-ui-angular-core-tabs.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-tabs.d.ts.map +1 -0
- package/{text-area/index.d.ts → types/qualcomm-ui-angular-core-text-area.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-text-area.d.ts.map +1 -0
- package/{text-input/index.d.ts → types/qualcomm-ui-angular-core-text-input.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-text-input.d.ts.map +1 -0
- package/{toast/index.d.ts → types/qualcomm-ui-angular-core-toast.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-toast.d.ts.map +1 -0
- package/{tooltip/index.d.ts → types/qualcomm-ui-angular-core-tooltip.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-tooltip.d.ts.map +1 -0
- package/{tree/index.d.ts → types/qualcomm-ui-angular-core-tree.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-tree.d.ts.map +1 -0
- package/{virtual/index.d.ts → types/qualcomm-ui-angular-core-virtual.d.ts} +1 -1
- package/types/qualcomm-ui-angular-core-virtual.d.ts.map +1 -0
- package/types/qualcomm-ui-angular-core.d.ts +3 -0
- package/types/qualcomm-ui-angular-core.d.ts.map +1 -0
- package/accordion/index.d.ts.map +0 -1
- package/attributes/index.d.ts.map +0 -1
- package/avatar/index.d.ts.map +0 -1
- package/checkbox/index.d.ts.map +0 -1
- package/collapsible/index.d.ts.map +0 -1
- package/collection/index.d.ts.map +0 -1
- package/combobox/index.d.ts.map +0 -1
- package/common/index.d.ts.map +0 -1
- package/dialog/index.d.ts.map +0 -1
- package/dom/index.d.ts.map +0 -1
- package/events/index.d.ts.map +0 -1
- package/forms/index.d.ts.map +0 -1
- package/highlight/index.d.ts.map +0 -1
- package/index.d.ts +0 -3
- package/index.d.ts.map +0 -1
- package/inline-notification/index.d.ts.map +0 -1
- package/input/index.d.ts.map +0 -1
- package/locale/index.d.ts.map +0 -1
- package/lorem-ipsum/index.d.ts.map +0 -1
- package/lucide/index.d.ts.map +0 -1
- package/machine/index.d.ts.map +0 -1
- package/menu/index.d.ts.map +0 -1
- package/number-input/index.d.ts.map +0 -1
- package/observers/index.d.ts.map +0 -1
- package/pagination/index.d.ts.map +0 -1
- package/password-input/index.d.ts.map +0 -1
- package/popover/index.d.ts.map +0 -1
- package/portal/index.d.ts.map +0 -1
- package/presence/index.d.ts.map +0 -1
- package/progress/index.d.ts.map +0 -1
- package/progress-ring/index.d.ts.map +0 -1
- package/radio/index.d.ts.map +0 -1
- package/segmented-control/index.d.ts.map +0 -1
- package/select/index.d.ts.map +0 -1
- package/side-nav/index.d.ts.map +0 -1
- package/signals/index.d.ts.map +0 -1
- package/slider/index.d.ts.map +0 -1
- package/state/index.d.ts.map +0 -1
- package/switch/index.d.ts.map +0 -1
- package/tabs/index.d.ts.map +0 -1
- package/text-area/index.d.ts.map +0 -1
- package/text-input/index.d.ts.map +0 -1
- package/toast/index.d.ts.map +0 -1
- package/tooltip/index.d.ts.map +0 -1
- package/tree/index.d.ts.map +0 -1
- package/virtual/index.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-pagination.mjs","sources":["../../src/pagination/pagination-context.service.ts","../../src/pagination/core-pagination-next-trigger.directive.ts","../../src/pagination/core-pagination-page-item.directive.ts","../../src/pagination/core-pagination-page-items.directive.ts","../../src/pagination/core-pagination-page-metadata.directive.ts","../../src/pagination/core-pagination-page-size-label.directive.ts","../../src/pagination/core-pagination-page-size.directive.ts","../../src/pagination/core-pagination-prev-trigger.directive.ts","../../src/pagination/core-pagination-root.directive.ts","../../src/pagination/qualcomm-ui-angular-core-pagination.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 {PaginationApi} from \"@qualcomm-ui/core/pagination\"\n\n@Injectable()\nexport class PaginationContextService extends BaseApiContextService<PaginationApi> {}\n\nexport const [\n PAGINATION_CONTEXT,\n usePaginationContext,\n providePaginationContext,\n]: ApiContext<PaginationApi> = createApiContext<PaginationApi>(\n \"PaginationContext\",\n PaginationContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationNextTriggerDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getNextTriggerBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {PageItem} from \"@qualcomm-ui/core/pagination\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageItemDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n /**\n * The computed page item from context.\n */\n readonly item = input.required<PageItem>()\n\n readonly itemProps = computed(() =>\n this.paginationContext().getPageItemBindings(this.item()),\n )\n\n protected trackBindings = useTrackBindings(() => this.itemProps())\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {PageItem} from \"@qualcomm-ui/core/pagination\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageItemsDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected trackPageItem = (item: PageItem, itemIndex: number) => {\n return item.type === \"separator\" ? itemIndex : `${item.type}-${item.page}`\n }\n\n private readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageItemsBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageMetadataDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageMetadataBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageSizeLabelDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageSizeLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageSizeDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n /**\n * Available page sizes to choose from.\n */\n readonly options = input.required<number[]>()\n\n readonly menuOptions = computed<string[]>(() =>\n this.options().map((opt) => `${opt}`),\n )\n\n readonly inputAriaLabel = computed(() => {\n const pageSizeLabelId = this.paginationContext().pageSizeLabelId\n return pageSizeLabelId ? undefined : \"Page Size\"\n })\n\n readonly inputAriaLabelledBy = computed(() => {\n return this.paginationContext().pageSizeLabelId || undefined\n })\n\n protected inputOptionChanged(value: string) {\n this.paginationContext().setPageSize(parseInt(value))\n }\n\n readonly currentValue = computed<string>(() => {\n return `${this.paginationContext().pageSize}`\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageSizeBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPrevTriggerDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPrevTriggerBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n inject,\n Injector,\n input,\n numberAttribute,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {numberAttributeOrUndefined} from \"@qualcomm-ui/angular-core/attributes\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createPaginationApi,\n type PaginationApiProps,\n paginationMachine,\n} from \"@qualcomm-ui/core/pagination\"\nimport type {NumberInput} from \"@qualcomm-ui/utils/coercion\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {PaginationContextService} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationRootDirective\n implements SignalifyInput<PaginationApiProps>, OnInit\n{\n /**\n * Number of always visible pages at the beginning and end.\n *\n * @default 1\n */\n readonly boundaryCount = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * The total number of records.\n *\n * @default 1\n */\n readonly count = input.required<number, NumberInput>({\n transform: numberAttribute,\n })\n\n /**\n * The page selected by default.\n *\n * @default 1\n */\n readonly defaultPage = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * The default number of data items to show per page.\n *\n * @default 1\n */\n readonly defaultPageSize = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * aria-label for the next-page button\n *\n * @default 'Go to next page'\n */\n readonly nextPageAriaLabel = input<string>(\"Go to next page\")\n\n /**\n * Override the default aria-label for each page button.\n *\n * @default (page: number) => `Go to page ${page}`\n */\n readonly pageAriaLabel = input<(page: number) => string>(\n (page: number) => `Go to page ${page}`,\n )\n\n /**\n * aria-label for the prev-page button\n *\n * @default 'Go to previous page'\n */\n readonly prevPageAriaLabel = input<string>(\"Go to previous page\")\n\n /**\n * The current page (controlled).\n */\n readonly page = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * The number of items to show per page.\n *\n * @default 1\n */\n readonly pageSize = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * Number of always visible pages before and after the current page.\n *\n * @default 1\n */\n readonly siblingCount = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * Callback fired when the page value changes.\n */\n readonly pageChanged = output<number>()\n\n /**\n * Callback fired when the page size changes.\n */\n readonly pageSizeChanged = output<number>()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext.context().getRootBindings(),\n )\n\n private readonly paginationContext = inject(PaginationContextService)\n\n private readonly injector = inject(Injector)\n\n ngOnInit() {\n const machine = useMachine(\n paginationMachine,\n computed<Explicit<PaginationApiProps>>(() => ({\n boundaryCount: this.boundaryCount(),\n count: this.count(),\n defaultPage: this.defaultPage(),\n defaultPageSize: this.defaultPageSize(),\n nextPageAriaLabel: this.nextPageAriaLabel(),\n onPageChange: (page) => {\n this.pageChanged.emit(page)\n },\n onPageSizeChange: (pageSize) => {\n this.pageSizeChanged.emit(pageSize)\n },\n page: this.page(),\n pageAriaLabel: this.pageAriaLabel(),\n pageSize: this.pageSize(),\n prevPageAriaLabel: this.prevPageAriaLabel(),\n siblingCount: this.siblingCount(),\n })),\n this.injector,\n )\n\n this.paginationContext.init(\n computed(() => createPaginationApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AACA;AAYM,MAAO,wBAAyB,SAAQ,qBAAoC,CAAA;wGAArE,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAAxB,wBAAwB,EAAA,CAAA;;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBADpC;;AAGM,MAAM,CACX,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACzB,GAA8B,gBAAgB,CAC7C,mBAAmB,EACnB,wBAAwB;;ACrB1B;AACA;MASa,kCAAkC,CAAA;IACpC,iBAAiB,GAAG,oBAAoB,EAAE;AAEhC,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAClD,IAAI,CAAC,iBAAiB,EAAE,CAAC,sBAAsB,EAAE,CAClD;IAED,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGATW,kCAAkC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,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mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;;AC/BD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-pagination.mjs","sources":["../../src/pagination/pagination-context.service.ts","../../src/pagination/core-pagination-next-trigger.directive.ts","../../src/pagination/core-pagination-page-item.directive.ts","../../src/pagination/core-pagination-page-items.directive.ts","../../src/pagination/core-pagination-page-metadata.directive.ts","../../src/pagination/core-pagination-page-size-label.directive.ts","../../src/pagination/core-pagination-page-size.directive.ts","../../src/pagination/core-pagination-prev-trigger.directive.ts","../../src/pagination/core-pagination-root.directive.ts","../../src/pagination/qualcomm-ui-angular-core-pagination.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 {PaginationApi} from \"@qualcomm-ui/core/pagination\"\n\n@Injectable()\nexport class PaginationContextService extends BaseApiContextService<PaginationApi> {}\n\nexport const [\n PAGINATION_CONTEXT,\n usePaginationContext,\n providePaginationContext,\n]: ApiContext<PaginationApi> = createApiContext<PaginationApi>(\n \"PaginationContext\",\n PaginationContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationNextTriggerDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getNextTriggerBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {PageItem} from \"@qualcomm-ui/core/pagination\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageItemDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n /**\n * The computed page item from context.\n */\n readonly item = input.required<PageItem>()\n\n readonly itemProps = computed(() =>\n this.paginationContext().getPageItemBindings(this.item()),\n )\n\n protected trackBindings = useTrackBindings(() => this.itemProps())\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {PageItem} from \"@qualcomm-ui/core/pagination\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageItemsDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected trackPageItem = (item: PageItem, itemIndex: number) => {\n return item.type === \"separator\" ? itemIndex : `${item.type}-${item.page}`\n }\n\n private readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageItemsBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageMetadataDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageMetadataBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageSizeLabelDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n readonly id = input<string>()\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageSizeLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPageSizeDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n /**\n * Available page sizes to choose from.\n */\n readonly options = input.required<number[]>()\n\n readonly menuOptions = computed<string[]>(() =>\n this.options().map((opt) => `${opt}`),\n )\n\n readonly inputAriaLabel = computed(() => {\n const pageSizeLabelId = this.paginationContext().pageSizeLabelId\n return pageSizeLabelId ? undefined : \"Page Size\"\n })\n\n readonly inputAriaLabelledBy = computed(() => {\n return this.paginationContext().pageSizeLabelId || undefined\n })\n\n protected inputOptionChanged(value: string) {\n this.paginationContext().setPageSize(parseInt(value))\n }\n\n readonly currentValue = computed<string>(() => {\n return `${this.paginationContext().pageSize}`\n })\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPageSizeBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePaginationContext} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationPrevTriggerDirective implements OnInit {\n readonly paginationContext = usePaginationContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext().getPrevTriggerBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n inject,\n Injector,\n input,\n numberAttribute,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {numberAttributeOrUndefined} from \"@qualcomm-ui/angular-core/attributes\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createPaginationApi,\n type PaginationApiProps,\n paginationMachine,\n} from \"@qualcomm-ui/core/pagination\"\nimport type {NumberInput} from \"@qualcomm-ui/utils/coercion\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {PaginationContextService} from \"./pagination-context.service\"\n\n@Directive()\nexport class CorePaginationRootDirective\n implements SignalifyInput<PaginationApiProps>, OnInit\n{\n /**\n * Number of always visible pages at the beginning and end.\n *\n * @default 1\n */\n readonly boundaryCount = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * The total number of records.\n *\n * @default 1\n */\n readonly count = input.required<number, NumberInput>({\n transform: numberAttribute,\n })\n\n /**\n * The page selected by default.\n *\n * @default 1\n */\n readonly defaultPage = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * The default number of data items to show per page.\n *\n * @default 1\n */\n readonly defaultPageSize = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * aria-label for the next-page button\n *\n * @default 'Go to next page'\n */\n readonly nextPageAriaLabel = input<string>(\"Go to next page\")\n\n /**\n * Override the default aria-label for each page button.\n *\n * @default (page: number) => `Go to page ${page}`\n */\n readonly pageAriaLabel = input<(page: number) => string>(\n (page: number) => `Go to page ${page}`,\n )\n\n /**\n * aria-label for the prev-page button\n *\n * @default 'Go to previous page'\n */\n readonly prevPageAriaLabel = input<string>(\"Go to previous page\")\n\n /**\n * The current page (controlled).\n */\n readonly page = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * The number of items to show per page.\n *\n * @default 1\n */\n readonly pageSize = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * Number of always visible pages before and after the current page.\n *\n * @default 1\n */\n readonly siblingCount = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * Callback fired when the page value changes.\n */\n readonly pageChanged = output<number>()\n\n /**\n * Callback fired when the page size changes.\n */\n readonly pageSizeChanged = output<number>()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.paginationContext.context().getRootBindings(),\n )\n\n private readonly paginationContext = inject(PaginationContextService)\n\n private readonly injector = inject(Injector)\n\n ngOnInit() {\n const machine = useMachine(\n paginationMachine,\n computed<Explicit<PaginationApiProps>>(() => ({\n boundaryCount: this.boundaryCount(),\n count: this.count(),\n defaultPage: this.defaultPage(),\n defaultPageSize: this.defaultPageSize(),\n nextPageAriaLabel: this.nextPageAriaLabel(),\n onPageChange: (page) => {\n this.pageChanged.emit(page)\n },\n onPageSizeChange: (pageSize) => {\n this.pageSizeChanged.emit(pageSize)\n },\n page: this.page(),\n pageAriaLabel: this.pageAriaLabel(),\n pageSize: this.pageSize(),\n prevPageAriaLabel: this.prevPageAriaLabel(),\n siblingCount: this.siblingCount(),\n })),\n this.injector,\n )\n\n this.paginationContext.init(\n computed(() => createPaginationApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;AACA;AAYM,MAAO,wBAAyB,SAAQ,qBAAoC,CAAA;uGAArE,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA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AAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,EAAA,iBAAA,EAAA,eAAA,EAAA,UAAA,EAAA,eAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,EAAA,iBAAA,EAAA,mBAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,QAAA,EAAA,EAAA,iBAAA,EAAA,UAAA,EAAA,UAAA,EAAA,UAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;;AC/BD;;AAEG;;;;"}
|
|
@@ -9,10 +9,10 @@ import { passwordInputMachine, createPasswordInputApi } from '@qualcomm-ui/core/
|
|
|
9
9
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
10
10
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
11
11
|
class PasswordInputContextService extends BaseApiContextService {
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: PasswordInputContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
13
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: PasswordInputContextService });
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: PasswordInputContextService, decorators: [{
|
|
16
16
|
type: Injectable
|
|
17
17
|
}] });
|
|
18
18
|
const [PASSWORD_INPUT_CONTEXT, usePasswordInputContext, providePasswordInputContext,] = createApiContext("PasswordInputContext", PasswordInputContextService);
|
|
@@ -27,10 +27,10 @@ class CorePasswordInputClearTriggerDirective {
|
|
|
27
27
|
ngOnInit() {
|
|
28
28
|
this.trackBindings();
|
|
29
29
|
}
|
|
30
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
31
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputClearTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CorePasswordInputClearTriggerDirective, isStandalone: true, ngImport: i0 });
|
|
32
32
|
}
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputClearTriggerDirective, decorators: [{
|
|
34
34
|
type: Directive
|
|
35
35
|
}] });
|
|
36
36
|
|
|
@@ -44,10 +44,10 @@ class CorePasswordInputErrorIndicatorDirective {
|
|
|
44
44
|
ngOnInit() {
|
|
45
45
|
this.trackBindings();
|
|
46
46
|
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputErrorIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CorePasswordInputErrorIndicatorDirective, isStandalone: 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: CorePasswordInputErrorIndicatorDirective, decorators: [{
|
|
51
51
|
type: Directive
|
|
52
52
|
}] });
|
|
53
53
|
|
|
@@ -58,7 +58,7 @@ class CorePasswordInputErrorTextDirective {
|
|
|
58
58
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
59
59
|
* omitted, a unique identifier will be generated for accessibility.
|
|
60
60
|
*/
|
|
61
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
61
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
62
62
|
passwordInputContext = usePasswordInputContext();
|
|
63
63
|
trackBindings = useTrackBindings(() => {
|
|
64
64
|
return this.passwordInputContext().getErrorTextBindings({
|
|
@@ -66,15 +66,15 @@ class CorePasswordInputErrorTextDirective {
|
|
|
66
66
|
onDestroy: this.onDestroy,
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
69
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
70
70
|
onDestroy = useOnDestroy();
|
|
71
71
|
ngOnInit() {
|
|
72
72
|
this.trackBindings();
|
|
73
73
|
}
|
|
74
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
75
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
75
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePasswordInputErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
76
76
|
}
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputErrorTextDirective, decorators: [{
|
|
78
78
|
type: Directive
|
|
79
79
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
80
80
|
|
|
@@ -85,7 +85,7 @@ class CorePasswordInputHintDirective {
|
|
|
85
85
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
86
86
|
* omitted, a unique identifier will be generated for accessibility.
|
|
87
87
|
*/
|
|
88
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
88
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
89
89
|
passwordInputContext = usePasswordInputContext();
|
|
90
90
|
trackBindings = useTrackBindings(() => {
|
|
91
91
|
return this.passwordInputContext().getHintBindings({
|
|
@@ -93,15 +93,15 @@ class CorePasswordInputHintDirective {
|
|
|
93
93
|
onDestroy: this.onDestroy,
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
96
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
97
97
|
onDestroy = useOnDestroy();
|
|
98
98
|
ngOnInit() {
|
|
99
99
|
this.trackBindings();
|
|
100
100
|
}
|
|
101
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
102
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
101
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputHintDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
102
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePasswordInputHintDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
103
103
|
}
|
|
104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputHintDirective, decorators: [{
|
|
105
105
|
type: Directive
|
|
106
106
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
107
107
|
|
|
@@ -115,10 +115,10 @@ class CorePasswordInputInputGroupDirective {
|
|
|
115
115
|
ngOnInit() {
|
|
116
116
|
this.trackBindings();
|
|
117
117
|
}
|
|
118
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
119
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputInputGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
119
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.2", type: CorePasswordInputInputGroupDirective, isStandalone: true, ngImport: i0 });
|
|
120
120
|
}
|
|
121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputInputGroupDirective, decorators: [{
|
|
122
122
|
type: Directive
|
|
123
123
|
}] });
|
|
124
124
|
|
|
@@ -129,7 +129,7 @@ class CorePasswordInputInputDirective {
|
|
|
129
129
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
130
130
|
* omitted, a unique identifier will be generated for accessibility.
|
|
131
131
|
*/
|
|
132
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
132
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
133
133
|
passwordInputContext = usePasswordInputContext();
|
|
134
134
|
trackBindings = useTrackBindings(() => {
|
|
135
135
|
return this.passwordInputContext().getInputBindings({
|
|
@@ -137,15 +137,15 @@ class CorePasswordInputInputDirective {
|
|
|
137
137
|
onDestroy: this.onDestroy,
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
140
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
141
141
|
onDestroy = useOnDestroy();
|
|
142
142
|
ngOnInit() {
|
|
143
143
|
this.trackBindings();
|
|
144
144
|
}
|
|
145
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
146
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
145
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
146
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePasswordInputInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
147
147
|
}
|
|
148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
148
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputInputDirective, decorators: [{
|
|
149
149
|
type: Directive
|
|
150
150
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
151
151
|
|
|
@@ -156,7 +156,7 @@ class CorePasswordInputLabelDirective {
|
|
|
156
156
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
157
157
|
* omitted, a unique identifier will be generated for accessibility.
|
|
158
158
|
*/
|
|
159
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
159
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
160
160
|
passwordInputContext = usePasswordInputContext();
|
|
161
161
|
trackBindings = useTrackBindings(() => {
|
|
162
162
|
return this.passwordInputContext().getLabelBindings({
|
|
@@ -164,15 +164,15 @@ class CorePasswordInputLabelDirective {
|
|
|
164
164
|
onDestroy: this.onDestroy,
|
|
165
165
|
});
|
|
166
166
|
});
|
|
167
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
167
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
168
168
|
onDestroy = useOnDestroy();
|
|
169
169
|
ngOnInit() {
|
|
170
170
|
this.trackBindings();
|
|
171
171
|
}
|
|
172
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
173
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
172
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
173
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePasswordInputLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
174
174
|
}
|
|
175
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputLabelDirective, decorators: [{
|
|
176
176
|
type: Directive
|
|
177
177
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
178
178
|
|
|
@@ -185,34 +185,30 @@ class CorePasswordInputRootDirective extends AbstractInputFormControlDirective {
|
|
|
185
185
|
*
|
|
186
186
|
* @default "current-password"
|
|
187
187
|
*/
|
|
188
|
-
autoComplete = input(...(ngDevMode ? [undefined, { debugName: "autoComplete" }] : []));
|
|
188
|
+
autoComplete = input(...(ngDevMode ? [undefined, { debugName: "autoComplete" }] : /* istanbul ignore next */ []));
|
|
189
189
|
/**
|
|
190
190
|
* The default visibility of the password input.
|
|
191
191
|
*/
|
|
192
|
-
defaultVisible = input(undefined, ...(ngDevMode ?
|
|
193
|
-
transform: booleanAttribute,
|
|
194
|
-
}]));
|
|
192
|
+
defaultVisible = input(undefined, { ...(ngDevMode ? { debugName: "defaultVisible" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
195
193
|
/**
|
|
196
194
|
* The document's text/writing direction.
|
|
197
195
|
*
|
|
198
196
|
* @default "ltr"
|
|
199
197
|
*/
|
|
200
|
-
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
|
|
198
|
+
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : /* istanbul ignore next */ []));
|
|
201
199
|
/**
|
|
202
200
|
* A root node to correctly resolve the Document in custom environments. i.e.,
|
|
203
201
|
* Iframes, Electron.
|
|
204
202
|
*/
|
|
205
|
-
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
|
|
203
|
+
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : /* istanbul ignore next */ []));
|
|
206
204
|
/**
|
|
207
205
|
* Localized messages to use for element labels.
|
|
208
206
|
*/
|
|
209
|
-
translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : []));
|
|
207
|
+
translations = input(...(ngDevMode ? [undefined, { debugName: "translations" }] : /* istanbul ignore next */ []));
|
|
210
208
|
/**
|
|
211
209
|
* Whether the password input is visible.
|
|
212
210
|
*/
|
|
213
|
-
visible = input(undefined, ...(ngDevMode ?
|
|
214
|
-
transform: booleanAttribute,
|
|
215
|
-
}]));
|
|
211
|
+
visible = input(undefined, { ...(ngDevMode ? { debugName: "visible" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
216
212
|
/**
|
|
217
213
|
* Event emitted when the input value changes. This is only emitted on
|
|
218
214
|
* interaction. It doesn't emit in response to programmatic form control changes.
|
|
@@ -281,10 +277,10 @@ class CorePasswordInputRootDirective extends AbstractInputFormControlDirective {
|
|
|
281
277
|
this.passwordInputService.init(computed(() => createPasswordInputApi(machine, normalizeProps)));
|
|
282
278
|
this.trackBindings();
|
|
283
279
|
}
|
|
284
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
285
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
281
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePasswordInputRootDirective, isStandalone: true, inputs: { autoComplete: { classPropertyName: "autoComplete", publicName: "autoComplete", isSignal: true, isRequired: false, transformFunction: null }, defaultVisible: { classPropertyName: "defaultVisible", publicName: "defaultVisible", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, translations: { classPropertyName: "translations", publicName: "translations", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChanged: "valueChanged", visibleChanged: "visibleChanged" }, usesInheritance: true, ngImport: i0 });
|
|
286
282
|
}
|
|
287
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputRootDirective, decorators: [{
|
|
288
284
|
type: Directive
|
|
289
285
|
}], propDecorators: { autoComplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoComplete", required: false }] }], defaultVisible: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultVisible", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], translations: [{ type: i0.Input, args: [{ isSignal: true, alias: "translations", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }], valueChanged: [{ type: i0.Output, args: ["valueChanged"] }], visibleChanged: [{ type: i0.Output, args: ["visibleChanged"] }] } });
|
|
290
286
|
|
|
@@ -295,7 +291,7 @@ class CorePasswordInputVisibilityTriggerDirective {
|
|
|
295
291
|
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
296
292
|
* omitted, a unique identifier will be generated for accessibility.
|
|
297
293
|
*/
|
|
298
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
294
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : /* istanbul ignore next */ []));
|
|
299
295
|
passwordInputContext = usePasswordInputContext();
|
|
300
296
|
trackBindings = useTrackBindings(() => {
|
|
301
297
|
return this.passwordInputContext().getVisibilityTriggerBindings({
|
|
@@ -303,15 +299,15 @@ class CorePasswordInputVisibilityTriggerDirective {
|
|
|
303
299
|
onDestroy: this.onDestroy,
|
|
304
300
|
});
|
|
305
301
|
});
|
|
306
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
302
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : /* istanbul ignore next */ []));
|
|
307
303
|
onDestroy = useOnDestroy();
|
|
308
304
|
ngOnInit() {
|
|
309
305
|
this.trackBindings();
|
|
310
306
|
}
|
|
311
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
312
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "
|
|
307
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputVisibilityTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
308
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "21.2.2", type: CorePasswordInputVisibilityTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
313
309
|
}
|
|
314
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: CorePasswordInputVisibilityTriggerDirective, decorators: [{
|
|
315
311
|
type: Directive
|
|
316
312
|
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
317
313
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-password-input.mjs","sources":["../../src/password-input/password-input-context.service.ts","../../src/password-input/core-password-input-clear-trigger.directive.ts","../../src/password-input/core-password-input-error-indicator.directive.ts","../../src/password-input/core-password-input-error-text.directive.ts","../../src/password-input/core-password-input-hint.directive.ts","../../src/password-input/core-password-input-input-group.directive.ts","../../src/password-input/core-password-input-input.directive.ts","../../src/password-input/core-password-input-label.directive.ts","../../src/password-input/core-password-input-root.directive.ts","../../src/password-input/core-password-input-visibility-trigger.directive.ts","../../src/password-input/qualcomm-ui-angular-core-password-input.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 {PasswordInputApi} from \"@qualcomm-ui/core/password-input\"\n\n@Injectable()\nexport class PasswordInputContextService extends BaseApiContextService<PasswordInputApi> {}\n\nexport const [\n PASSWORD_INPUT_CONTEXT,\n usePasswordInputContext,\n providePasswordInputContext,\n]: ApiContext<PasswordInputApi> = createApiContext<PasswordInputApi>(\n \"PasswordInputContext\",\n PasswordInputContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputClearTriggerDirective implements OnInit {\n protected readonly passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getClearTriggerBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputErrorIndicatorDirective implements OnInit {\n protected readonly passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getErrorIndicatorBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputErrorTextDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputHintDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getHintBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputInputGroupDirective implements OnInit {\n protected readonly passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getInputGroupBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputInputDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getInputBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputLabelDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {AbstractInputFormControlDirective} from \"@qualcomm-ui/angular-core/input\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createPasswordInputApi,\n type PasswordInputApiProps,\n type PasswordInputIntlTranslations,\n passwordInputMachine,\n} from \"@qualcomm-ui/core/password-input\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {PasswordInputContextService} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputRootDirective\n extends AbstractInputFormControlDirective\n implements\n Omit<SignalifyInput<PasswordInputApiProps>, \"form\" | \"ids\" | \"value\">,\n OnInit\n{\n /**\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete autocomplete}\n * attribute for the password input.\n *\n * @default \"current-password\"\n */\n readonly autoComplete = input<\n \"current-password\" | \"new-password\" | undefined\n >()\n\n /**\n * The default visibility of the password input.\n */\n readonly defaultVisible = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * Localized messages to use for element labels.\n */\n readonly translations = input<PasswordInputIntlTranslations | undefined>()\n\n /**\n * Whether the password input is visible.\n */\n readonly visible = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Event emitted when the input value changes. This is only emitted on\n * interaction. It doesn't emit in response to programmatic form control changes.\n */\n readonly valueChanged = output<string>()\n\n /**\n * Function called when the visibility changes.\n */\n readonly visibleChanged = output<boolean>()\n\n protected readonly document = inject(DOCUMENT)\n\n protected readonly isMounted = useIsMounted()\n\n protected readonly passwordInputService = inject(PasswordInputContextService)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputService.context().getRootBindings()\n })\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n passwordInputMachine,\n computed<Explicit<PasswordInputApiProps>>(() => ({\n autoComplete: this.autoComplete(),\n defaultValue: this.defaultValue(),\n defaultVisible: this.defaultVisible(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() ?? (() => this.document),\n ids: undefined,\n invalid: this.isInvalid(),\n name: this.name(),\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger onTouched on blur.\n this.onTouched()\n }\n },\n onValueChange: (value) => {\n if (!this.control) {\n if (this.isMounted()) {\n this.valueChanged.emit(value)\n }\n this.value.set(value)\n return\n }\n // ngModel is bound to the root, but change events happen on the <input>\n // element and are forwarded to the machine. So we need to fire the value\n // change event to keep the form in sync.\n this.onChange(value)\n if (!this.control?.touched) {\n this.control.markAsTouched?.()\n }\n if (!this.control?.dirty) {\n this.control.markAsDirty?.()\n }\n },\n onVisibleChange: (value) => {\n if (this.isMounted()) {\n this.visibleChanged.emit(value)\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n translations: this.translations(),\n value: this.value(),\n visible: this.visible(),\n })),\n this.injector,\n )\n\n this.passwordInputService.init(\n computed(() => createPasswordInputApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputVisibilityTriggerDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getVisibilityTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AAYM,MAAO,2BAA4B,SAAQ,qBAAuC,CAAA;wGAA3E,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;4GAA3B,2BAA2B,EAAA,CAAA;;4FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;AAGM,MAAM,CACX,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC5B,GAAiC,gBAAgB,CAChD,sBAAsB,EACtB,2BAA2B;;ACrB7B;AACA;MASa,sCAAsC,CAAA;IAC9B,oBAAoB,GAAG,uBAAuB,EAAE;AAEhD,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAAK;AACvD,QAAA,OAAO,IAAI,CAAC,oBAAoB,EAAE,CAAC,uBAAuB,EAAE;AAC9D,IAAA,CAAC,CAAC;IAEF,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGATW,sCAAsC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA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,CAAU;IAEV,oBAAoB,GAAG,uBAAuB,EAAE;AAEhD,IAAA,aAAa,GAAG,gBAAgB,CAAC,MAAK;AACvD,QAAA,OAAO,IAAI,CAAC,oBAAoB,EAAE,CAAC,4BAA4B,CAAC;AAC9D,YAAA,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;AAC1B,SAAA,CAAC;AACJ,IAAA,CAAC,CAAC;AAEe,IAAA,MAAM,GAAG,QAAQ,CAAC,MAAM,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC;IAE/C,SAAS,GAAG,YAAY,EAAE;IAE3C,QAAQ,GAAA;QACN,IAAI,CAAC,aAAa,EAAE;IACtB;wGAtBW,2CAA2C,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;4FAA3C,2CAA2C,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,EAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA;;4FAA3C,2CAA2C,EAAA,UAAA,EAAA,CAAA;kBADvD;;;ACVD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-password-input.mjs","sources":["../../src/password-input/password-input-context.service.ts","../../src/password-input/core-password-input-clear-trigger.directive.ts","../../src/password-input/core-password-input-error-indicator.directive.ts","../../src/password-input/core-password-input-error-text.directive.ts","../../src/password-input/core-password-input-hint.directive.ts","../../src/password-input/core-password-input-input-group.directive.ts","../../src/password-input/core-password-input-input.directive.ts","../../src/password-input/core-password-input-label.directive.ts","../../src/password-input/core-password-input-root.directive.ts","../../src/password-input/core-password-input-visibility-trigger.directive.ts","../../src/password-input/qualcomm-ui-angular-core-password-input.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 {PasswordInputApi} from \"@qualcomm-ui/core/password-input\"\n\n@Injectable()\nexport class PasswordInputContextService extends BaseApiContextService<PasswordInputApi> {}\n\nexport const [\n PASSWORD_INPUT_CONTEXT,\n usePasswordInputContext,\n providePasswordInputContext,\n]: ApiContext<PasswordInputApi> = createApiContext<PasswordInputApi>(\n \"PasswordInputContext\",\n PasswordInputContextService,\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputClearTriggerDirective implements OnInit {\n protected readonly passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getClearTriggerBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputErrorIndicatorDirective implements OnInit {\n protected readonly passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getErrorIndicatorBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputErrorTextDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputHintDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getHintBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputInputGroupDirective implements OnInit {\n protected readonly passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getInputGroupBindings()\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputInputDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getInputBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputLabelDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useIsMounted} from \"@qualcomm-ui/angular-core/common\"\nimport {AbstractInputFormControlDirective} from \"@qualcomm-ui/angular-core/input\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n createPasswordInputApi,\n type PasswordInputApiProps,\n type PasswordInputIntlTranslations,\n passwordInputMachine,\n} from \"@qualcomm-ui/core/password-input\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {PasswordInputContextService} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputRootDirective\n extends AbstractInputFormControlDirective\n implements\n Omit<SignalifyInput<PasswordInputApiProps>, \"form\" | \"ids\" | \"value\">,\n OnInit\n{\n /**\n * The {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete autocomplete}\n * attribute for the password input.\n *\n * @default \"current-password\"\n */\n readonly autoComplete = input<\n \"current-password\" | \"new-password\" | undefined\n >()\n\n /**\n * The default visibility of the password input.\n */\n readonly defaultVisible = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * Localized messages to use for element labels.\n */\n readonly translations = input<PasswordInputIntlTranslations | undefined>()\n\n /**\n * Whether the password input is visible.\n */\n readonly visible = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Event emitted when the input value changes. This is only emitted on\n * interaction. It doesn't emit in response to programmatic form control changes.\n */\n readonly valueChanged = output<string>()\n\n /**\n * Function called when the visibility changes.\n */\n readonly visibleChanged = output<boolean>()\n\n protected readonly document = inject(DOCUMENT)\n\n protected readonly isMounted = useIsMounted()\n\n protected readonly passwordInputService = inject(PasswordInputContextService)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputService.context().getRootBindings()\n })\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n passwordInputMachine,\n computed<Explicit<PasswordInputApiProps>>(() => ({\n autoComplete: this.autoComplete(),\n defaultValue: this.defaultValue(),\n defaultVisible: this.defaultVisible(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() ?? (() => this.document),\n ids: undefined,\n invalid: this.isInvalid(),\n name: this.name(),\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger onTouched on blur.\n this.onTouched()\n }\n },\n onValueChange: (value) => {\n if (!this.control) {\n if (this.isMounted()) {\n this.valueChanged.emit(value)\n }\n this.value.set(value)\n return\n }\n // ngModel is bound to the root, but change events happen on the <input>\n // element and are forwarded to the machine. So we need to fire the value\n // change event to keep the form in sync.\n this.onChange(value)\n if (!this.control?.touched) {\n this.control.markAsTouched?.()\n }\n if (!this.control?.dirty) {\n this.control.markAsDirty?.()\n }\n },\n onVisibleChange: (value) => {\n if (this.isMounted()) {\n this.visibleChanged.emit(value)\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n translations: this.translations(),\n value: this.value(),\n visible: this.visible(),\n })),\n this.injector,\n )\n\n this.passwordInputService.init(\n computed(() => createPasswordInputApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {usePasswordInputContext} from \"./password-input-context.service\"\n\n@Directive()\nexport class CorePasswordInputVisibilityTriggerDirective implements OnInit {\n /**\n * {@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 passwordInputContext = usePasswordInputContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.passwordInputContext().getVisibilityTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;AACA;AAYM,MAAO,2BAA4B,SAAQ,qBAAuC,CAAA;uGAA3E,2BAA2B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAA3B,2BAA2B,EAAA,CAAA;;2FAA3B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBADvC;;AAGM,MAAM,CACX,sBAAsB,EACtB,uBAAuB,EACvB,2BAA2B,EAC5B,GAAiC,gBAAgB,CAChD,sBAAsB,EACtB,2BAA2B;;ACrB7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