@qualcomm-ui/angular-core 1.0.2 → 1.0.4
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/accordion/index.d.ts +160 -10
- package/accordion/index.d.ts.map +1 -1
- package/attributes/index.d.ts +19 -3
- package/attributes/index.d.ts.map +1 -1
- package/avatar/index.d.ts +102 -6
- package/avatar/index.d.ts.map +1 -1
- package/checkbox/index.d.ts +250 -10
- package/checkbox/index.d.ts.map +1 -1
- package/collapsible/index.d.ts +101 -5
- package/collapsible/index.d.ts.map +1 -1
- package/collection/index.d.ts +48 -2
- package/collection/index.d.ts.map +1 -1
- package/combobox/index.d.ts +532 -21
- package/combobox/index.d.ts.map +1 -1
- package/common/index.d.ts +84 -10
- package/common/index.d.ts.map +1 -1
- package/dialog/index.d.ts +300 -12
- package/dialog/index.d.ts.map +1 -1
- package/dom/index.d.ts +162 -8
- package/dom/index.d.ts.map +1 -1
- package/events/index.d.ts +40 -3
- package/events/index.d.ts.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-accordion.mjs +269 -0
- package/fesm2022/qualcomm-ui-angular-core-accordion.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-attributes.mjs +39 -0
- package/fesm2022/qualcomm-ui-angular-core-attributes.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +143 -0
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +541 -0
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +143 -0
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs.map +1 -0
- package/{esm2022/collection/use-list-collection.js → fesm2022/qualcomm-ui-angular-core-collection.mjs} +13 -6
- package/fesm2022/qualcomm-ui-angular-core-collection.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +797 -0
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-common.mjs +121 -0
- package/fesm2022/qualcomm-ui-angular-core-common.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +490 -0
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs +236 -0
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs.map +1 -0
- package/{esm2022/events/listener.service.js → fesm2022/qualcomm-ui-angular-core-events.mjs} +62 -8
- package/fesm2022/qualcomm-ui-angular-core-events.mjs.map +1 -0
- package/{esm2022/forms/form-utils.js → fesm2022/qualcomm-ui-angular-core-forms.mjs} +36 -6
- package/fesm2022/qualcomm-ui-angular-core-forms.mjs.map +1 -0
- package/{esm2022/highlight/highlight.directive.js → fesm2022/qualcomm-ui-angular-core-highlight.mjs} +15 -8
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +203 -0
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-input.mjs +598 -0
- package/fesm2022/qualcomm-ui-angular-core-input.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs +35 -0
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs.map +1 -0
- package/{esm2022/lorem-ipsum/lorem-ipsum.directive.js → fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs} +16 -9
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs.map +1 -0
- package/{esm2022/lucide/provide-icons.js → fesm2022/qualcomm-ui-angular-core-lucide.mjs} +14 -4
- package/fesm2022/qualcomm-ui-angular-core-lucide.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs +1186 -0
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs +818 -0
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +703 -0
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -0
- package/{esm2022/observers/intersection-observer.directive.js → fesm2022/qualcomm-ui-angular-core-observers.mjs} +16 -9
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +276 -0
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +323 -0
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs +410 -0
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs +255 -0
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs +157 -0
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +183 -0
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs +242 -0
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs +564 -0
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +193 -0
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-select.mjs +578 -0
- package/fesm2022/qualcomm-ui-angular-core-select.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs +179 -0
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-state.mjs +197 -0
- package/fesm2022/qualcomm-ui-angular-core-state.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs +211 -0
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +366 -0
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +4 -0
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +234 -0
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs +170 -0
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +214 -0
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs +191 -0
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs.map +1 -0
- package/{esm2022/index.js → fesm2022/qualcomm-ui-angular-core.mjs} +5 -2
- package/fesm2022/qualcomm-ui-angular-core.mjs.map +1 -0
- package/forms/index.d.ts +37 -3
- package/forms/index.d.ts.map +1 -1
- package/highlight/index.d.ts +32 -2
- package/highlight/index.d.ts.map +1 -1
- package/index.d.ts +3 -2
- package/index.d.ts.map +1 -1
- package/inline-notification/index.d.ts +139 -8
- package/inline-notification/index.d.ts.map +1 -1
- package/input/index.d.ts +190 -4
- package/input/index.d.ts.map +1 -1
- package/locale/index.d.ts +24 -3
- package/locale/index.d.ts.map +1 -1
- package/lorem-ipsum/index.d.ts +47 -2
- package/lorem-ipsum/index.d.ts.map +1 -1
- package/lucide/index.d.ts +53 -3
- package/lucide/index.d.ts.map +1 -1
- package/machine/index.d.ts +214 -14
- package/machine/index.d.ts.map +1 -1
- package/menu/index.d.ts +476 -24
- package/menu/index.d.ts.map +1 -1
- package/number-input/index.d.ts +321 -14
- package/number-input/index.d.ts.map +1 -1
- package/observers/index.d.ts +16 -2
- package/observers/index.d.ts.map +1 -1
- package/package.json +90 -90
- package/pagination/index.d.ts +171 -10
- package/pagination/index.d.ts.map +1 -1
- package/password-input/index.d.ts +196 -11
- package/password-input/index.d.ts.map +1 -1
- package/popover/index.d.ts +263 -12
- package/popover/index.d.ts.map +1 -1
- package/portal/index.d.ts +71 -4
- package/portal/index.d.ts.map +1 -1
- package/presence/index.d.ts +97 -5
- package/presence/index.d.ts.map +1 -1
- package/progress/index.d.ts +166 -10
- package/progress/index.d.ts.map +1 -1
- package/progress-ring/index.d.ts +117 -9
- package/progress-ring/index.d.ts.map +1 -1
- package/radio/index.d.ts +279 -12
- package/radio/index.d.ts.map +1 -1
- package/segmented-control/index.d.ts +130 -6
- package/segmented-control/index.d.ts.map +1 -1
- package/select/index.d.ts +381 -18
- package/select/index.d.ts.map +1 -1
- package/signals/index.d.ts +85 -6
- package/signals/index.d.ts.map +1 -1
- package/state/index.d.ts +105 -4
- package/state/index.d.ts.map +1 -1
- package/switch/index.d.ts +138 -8
- package/switch/index.d.ts.map +1 -1
- package/tabs/index.d.ts +241 -10
- package/tabs/index.d.ts.map +1 -1
- package/text-area/index.d.ts +3 -2
- package/text-area/index.d.ts.map +1 -1
- package/text-input/index.d.ts +138 -10
- package/text-input/index.d.ts.map +1 -1
- package/toast/index.d.ts +120 -9
- package/toast/index.d.ts.map +1 -1
- package/tooltip/index.d.ts +133 -8
- package/tooltip/index.d.ts.map +1 -1
- package/virtual/index.d.ts +28 -4
- package/virtual/index.d.ts.map +1 -1
- package/accordion/accordion-context.service.d.ts +0 -9
- package/accordion/accordion-context.service.d.ts.map +0 -1
- package/accordion/accordion-item-context.service.d.ts +0 -9
- package/accordion/accordion-item-context.service.d.ts.map +0 -1
- package/accordion/core-accordion-item-content.directive.d.ts +0 -21
- package/accordion/core-accordion-item-content.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger-indicator.directive.d.ts +0 -11
- package/accordion/core-accordion-item-trigger-indicator.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger-secondary.directive.d.ts +0 -11
- package/accordion/core-accordion-item-trigger-secondary.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger-title.directive.d.ts +0 -11
- package/accordion/core-accordion-item-trigger-title.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger.directive.d.ts +0 -17
- package/accordion/core-accordion-item-trigger.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item.directive.d.ts +0 -23
- package/accordion/core-accordion-item.directive.d.ts.map +0 -1
- package/accordion/core-accordion-root.directive.d.ts +0 -58
- package/accordion/core-accordion-root.directive.d.ts.map +0 -1
- package/accordion/qualcomm-ui-angular-core-accordion.d.ts +0 -6
- package/accordion/qualcomm-ui-angular-core-accordion.d.ts.map +0 -1
- package/attributes/number-attributes.d.ts +0 -11
- package/attributes/number-attributes.d.ts.map +0 -1
- package/attributes/pixel-attribute.d.ts +0 -6
- package/attributes/pixel-attribute.d.ts.map +0 -1
- package/attributes/qualcomm-ui-angular-core-attributes.d.ts +0 -6
- package/attributes/qualcomm-ui-angular-core-attributes.d.ts.map +0 -1
- package/avatar/avatar-context.service.d.ts +0 -9
- package/avatar/avatar-context.service.d.ts.map +0 -1
- package/avatar/core-avatar-content.directive.d.ts +0 -20
- package/avatar/core-avatar-content.directive.d.ts.map +0 -1
- package/avatar/core-avatar-image.directive.d.ts +0 -20
- package/avatar/core-avatar-image.directive.d.ts.map +0 -1
- package/avatar/core-avatar-root.directive.d.ts +0 -36
- package/avatar/core-avatar-root.directive.d.ts.map +0 -1
- package/avatar/core-avatar-status.directive.d.ts +0 -20
- package/avatar/core-avatar-status.directive.d.ts.map +0 -1
- package/avatar/qualcomm-ui-angular-core-avatar.d.ts +0 -6
- package/avatar/qualcomm-ui-angular-core-avatar.d.ts.map +0 -1
- package/checkbox/abstract-checkbox-form-control.directive.d.ts +0 -79
- package/checkbox/abstract-checkbox-form-control.directive.d.ts.map +0 -1
- package/checkbox/checkbox-context.service.d.ts +0 -9
- package/checkbox/checkbox-context.service.d.ts.map +0 -1
- package/checkbox/core-checkbox-control.directive.d.ts +0 -20
- package/checkbox/core-checkbox-control.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-error-text.directive.d.ts +0 -20
- package/checkbox/core-checkbox-error-text.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-hidden-input.directive.d.ts +0 -20
- package/checkbox/core-checkbox-hidden-input.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-indicator.directive.d.ts +0 -13
- package/checkbox/core-checkbox-indicator.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-label.directive.d.ts +0 -20
- package/checkbox/core-checkbox-label.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-root.directive.d.ts +0 -48
- package/checkbox/core-checkbox-root.directive.d.ts.map +0 -1
- package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts +0 -6
- package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts.map +0 -1
- package/checkbox/use-checkbox-group.d.ts +0 -32
- package/checkbox/use-checkbox-group.d.ts.map +0 -1
- package/collapsible/collapsible-context.service.d.ts +0 -9
- package/collapsible/collapsible-context.service.d.ts.map +0 -1
- package/collapsible/core-collapsible-content.directive.d.ts +0 -20
- package/collapsible/core-collapsible-content.directive.d.ts.map +0 -1
- package/collapsible/core-collapsible-root.directive.d.ts +0 -52
- package/collapsible/core-collapsible-root.directive.d.ts.map +0 -1
- package/collapsible/core-collapsible-trigger.directive.d.ts +0 -20
- package/collapsible/core-collapsible-trigger.directive.d.ts.map +0 -1
- package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts +0 -6
- package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts.map +0 -1
- package/collection/qualcomm-ui-angular-core-collection.d.ts +0 -6
- package/collection/qualcomm-ui-angular-core-collection.d.ts.map +0 -1
- package/collection/use-list-collection.d.ts +0 -44
- package/collection/use-list-collection.d.ts.map +0 -1
- package/combobox/combobox-context.service.d.ts +0 -12
- package/combobox/combobox-context.service.d.ts.map +0 -1
- package/combobox/combobox-item-context.service.d.ts +0 -9
- package/combobox/combobox-item-context.service.d.ts.map +0 -1
- package/combobox/combobox-item-group-context.service.d.ts +0 -9
- package/combobox/combobox-item-group-context.service.d.ts.map +0 -1
- package/combobox/core-combobox-clear-trigger.directive.d.ts +0 -20
- package/combobox/core-combobox-clear-trigger.directive.d.ts.map +0 -1
- package/combobox/core-combobox-content.directive.d.ts +0 -23
- package/combobox/core-combobox-content.directive.d.ts.map +0 -1
- package/combobox/core-combobox-control.directive.d.ts +0 -20
- package/combobox/core-combobox-control.directive.d.ts.map +0 -1
- package/combobox/core-combobox-empty.directive.d.ts +0 -13
- package/combobox/core-combobox-empty.directive.d.ts.map +0 -1
- package/combobox/core-combobox-error-indicator.directive.d.ts +0 -13
- package/combobox/core-combobox-error-indicator.directive.d.ts.map +0 -1
- package/combobox/core-combobox-error-text.directive.d.ts +0 -20
- package/combobox/core-combobox-error-text.directive.d.ts.map +0 -1
- package/combobox/core-combobox-hint.directive.d.ts +0 -20
- package/combobox/core-combobox-hint.directive.d.ts.map +0 -1
- package/combobox/core-combobox-input.directive.d.ts +0 -20
- package/combobox/core-combobox-input.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-group-label.directive.d.ts +0 -14
- package/combobox/core-combobox-item-group-label.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-group.directive.d.ts +0 -21
- package/combobox/core-combobox-item-group.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-indicator.directive.d.ts +0 -14
- package/combobox/core-combobox-item-indicator.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-text.directive.d.ts +0 -14
- package/combobox/core-combobox-item-text.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item.directive.d.ts +0 -27
- package/combobox/core-combobox-item.directive.d.ts.map +0 -1
- package/combobox/core-combobox-label.directive.d.ts +0 -20
- package/combobox/core-combobox-label.directive.d.ts.map +0 -1
- package/combobox/core-combobox-positioner.directive.d.ts +0 -21
- package/combobox/core-combobox-positioner.directive.d.ts.map +0 -1
- package/combobox/core-combobox-root.directive.d.ts +0 -234
- package/combobox/core-combobox-root.directive.d.ts.map +0 -1
- package/combobox/core-combobox-trigger.directive.d.ts +0 -27
- package/combobox/core-combobox-trigger.directive.d.ts.map +0 -1
- package/combobox/qualcomm-ui-angular-core-combobox.d.ts +0 -6
- package/combobox/qualcomm-ui-angular-core-combobox.d.ts.map +0 -1
- package/common/boolean.d.ts +0 -6
- package/common/boolean.d.ts.map +0 -1
- package/common/ng-changes.d.ts +0 -18
- package/common/ng-changes.d.ts.map +0 -1
- package/common/qualcomm-ui-angular-core-common.d.ts +0 -6
- package/common/qualcomm-ui-angular-core-common.d.ts.map +0 -1
- package/common/template-content.d.ts +0 -6
- package/common/template-content.d.ts.map +0 -1
- package/common/use-csr-check.d.ts +0 -13
- package/common/use-csr-check.d.ts.map +0 -1
- package/common/use-id.d.ts +0 -2
- package/common/use-id.d.ts.map +0 -1
- package/common/use-is-destroyed.d.ts +0 -8
- package/common/use-is-destroyed.d.ts.map +0 -1
- package/common/use-is-mounted.d.ts +0 -7
- package/common/use-is-mounted.d.ts.map +0 -1
- package/common/use-on-destroy.d.ts +0 -8
- package/common/use-on-destroy.d.ts.map +0 -1
- package/common/use-ssr-check.d.ts +0 -13
- package/common/use-ssr-check.d.ts.map +0 -1
- package/dialog/core-dialog-backdrop.directive.d.ts +0 -24
- package/dialog/core-dialog-backdrop.directive.d.ts.map +0 -1
- package/dialog/core-dialog-body.directive.d.ts +0 -13
- package/dialog/core-dialog-body.directive.d.ts.map +0 -1
- package/dialog/core-dialog-close-trigger.directive.d.ts +0 -20
- package/dialog/core-dialog-close-trigger.directive.d.ts.map +0 -1
- package/dialog/core-dialog-content.directive.d.ts +0 -25
- package/dialog/core-dialog-content.directive.d.ts.map +0 -1
- package/dialog/core-dialog-description.directive.d.ts +0 -20
- package/dialog/core-dialog-description.directive.d.ts.map +0 -1
- package/dialog/core-dialog-footer.directive.d.ts +0 -13
- package/dialog/core-dialog-footer.directive.d.ts.map +0 -1
- package/dialog/core-dialog-heading.directive.d.ts +0 -20
- package/dialog/core-dialog-heading.directive.d.ts.map +0 -1
- package/dialog/core-dialog-positioner.directive.d.ts +0 -21
- package/dialog/core-dialog-positioner.directive.d.ts.map +0 -1
- package/dialog/core-dialog-root.directive.d.ts +0 -129
- package/dialog/core-dialog-root.directive.d.ts.map +0 -1
- package/dialog/core-dialog-trigger.directive.d.ts +0 -20
- package/dialog/core-dialog-trigger.directive.d.ts.map +0 -1
- package/dialog/dialog-context.service.d.ts +0 -12
- package/dialog/dialog-context.service.d.ts.map +0 -1
- package/dialog/qualcomm-ui-angular-core-dialog.d.ts +0 -6
- package/dialog/qualcomm-ui-angular-core-dialog.d.ts.map +0 -1
- package/dom/clipboard.service.d.ts +0 -20
- package/dom/clipboard.service.d.ts.map +0 -1
- package/dom/context-id-signal.d.ts +0 -42
- package/dom/context-id-signal.d.ts.map +0 -1
- package/dom/descendants-manager.service.d.ts +0 -12
- package/dom/descendants-manager.service.d.ts.map +0 -1
- package/dom/element-id-signal.d.ts +0 -42
- package/dom/element-id-signal.d.ts.map +0 -1
- package/dom/id.service.d.ts +0 -11
- package/dom/id.service.d.ts.map +0 -1
- package/dom/portal-config.service.d.ts +0 -8
- package/dom/portal-config.service.d.ts.map +0 -1
- package/dom/qualcomm-ui-angular-core-dom.d.ts +0 -6
- package/dom/qualcomm-ui-angular-core-dom.d.ts.map +0 -1
- package/dom/tokens/caches.d.ts +0 -3
- package/dom/tokens/caches.d.ts.map +0 -1
- package/dom/tokens/css.d.ts +0 -12
- package/dom/tokens/css.d.ts.map +0 -1
- package/dom/tokens/index.d.ts +0 -11
- package/dom/tokens/index.d.ts.map +0 -1
- package/dom/tokens/local-storage.d.ts +0 -3
- package/dom/tokens/local-storage.d.ts.map +0 -1
- package/dom/tokens/location.d.ts +0 -3
- package/dom/tokens/location.d.ts.map +0 -1
- package/dom/tokens/media-devices.d.ts +0 -3
- package/dom/tokens/media-devices.d.ts.map +0 -1
- package/dom/tokens/navigator.d.ts +0 -3
- package/dom/tokens/navigator.d.ts.map +0 -1
- package/dom/tokens/performance.d.ts +0 -3
- package/dom/tokens/performance.d.ts.map +0 -1
- package/dom/tokens/screen.d.ts +0 -3
- package/dom/tokens/screen.d.ts.map +0 -1
- package/dom/tokens/user-agent.d.ts +0 -3
- package/dom/tokens/user-agent.d.ts.map +0 -1
- package/dom/tokens/window.d.ts +0 -3
- package/dom/tokens/window.d.ts.map +0 -1
- package/esm2022/accordion/accordion-context.service.js +0 -14
- package/esm2022/accordion/accordion-context.service.js.map +0 -1
- package/esm2022/accordion/accordion-item-context.service.js +0 -14
- package/esm2022/accordion/accordion-item-context.service.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-content.directive.js +0 -34
- package/esm2022/accordion/core-accordion-item-content.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js +0 -24
- package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js +0 -24
- package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger-title.directive.js +0 -24
- package/esm2022/accordion/core-accordion-item-trigger-title.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger.directive.js +0 -32
- package/esm2022/accordion/core-accordion-item-trigger.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item.directive.js +0 -45
- package/esm2022/accordion/core-accordion-item.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-root.directive.js +0 -91
- package/esm2022/accordion/core-accordion-root.directive.js.map +0 -1
- package/esm2022/accordion/index.js +0 -10
- package/esm2022/accordion/index.js.map +0 -1
- package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js +0 -5
- package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js.map +0 -1
- package/esm2022/attributes/index.js +0 -3
- package/esm2022/attributes/index.js.map +0 -1
- package/esm2022/attributes/number-attributes.js +0 -22
- package/esm2022/attributes/number-attributes.js.map +0 -1
- package/esm2022/attributes/pixel-attribute.js +0 -10
- package/esm2022/attributes/pixel-attribute.js.map +0 -1
- package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js +0 -5
- package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js.map +0 -1
- package/esm2022/avatar/avatar-context.service.js +0 -14
- package/esm2022/avatar/avatar-context.service.js.map +0 -1
- package/esm2022/avatar/core-avatar-content.directive.js +0 -30
- package/esm2022/avatar/core-avatar-content.directive.js.map +0 -1
- package/esm2022/avatar/core-avatar-image.directive.js +0 -30
- package/esm2022/avatar/core-avatar-image.directive.js.map +0 -1
- package/esm2022/avatar/core-avatar-root.directive.js +0 -51
- package/esm2022/avatar/core-avatar-root.directive.js.map +0 -1
- package/esm2022/avatar/core-avatar-status.directive.js +0 -30
- package/esm2022/avatar/core-avatar-status.directive.js.map +0 -1
- package/esm2022/avatar/index.js +0 -6
- package/esm2022/avatar/index.js.map +0 -1
- package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js +0 -5
- package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js.map +0 -1
- package/esm2022/checkbox/abstract-checkbox-form-control.directive.js +0 -265
- package/esm2022/checkbox/abstract-checkbox-form-control.directive.js.map +0 -1
- package/esm2022/checkbox/checkbox-context.service.js +0 -14
- package/esm2022/checkbox/checkbox-context.service.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-control.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-control.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-error-text.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-error-text.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-hidden-input.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-hidden-input.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-indicator.directive.js +0 -19
- package/esm2022/checkbox/core-checkbox-indicator.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-label.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-label.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-root.directive.js +0 -88
- package/esm2022/checkbox/core-checkbox-root.directive.js.map +0 -1
- package/esm2022/checkbox/index.js +0 -10
- package/esm2022/checkbox/index.js.map +0 -1
- package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js +0 -5
- package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js.map +0 -1
- package/esm2022/checkbox/use-checkbox-group.js +0 -62
- package/esm2022/checkbox/use-checkbox-group.js.map +0 -1
- package/esm2022/collapsible/collapsible-context.service.js +0 -14
- package/esm2022/collapsible/collapsible-context.service.js.map +0 -1
- package/esm2022/collapsible/core-collapsible-content.directive.js +0 -32
- package/esm2022/collapsible/core-collapsible-content.directive.js.map +0 -1
- package/esm2022/collapsible/core-collapsible-root.directive.js +0 -71
- package/esm2022/collapsible/core-collapsible-root.directive.js.map +0 -1
- package/esm2022/collapsible/core-collapsible-trigger.directive.js +0 -32
- package/esm2022/collapsible/core-collapsible-trigger.directive.js.map +0 -1
- package/esm2022/collapsible/index.js +0 -5
- package/esm2022/collapsible/index.js.map +0 -1
- package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js +0 -5
- package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js.map +0 -1
- package/esm2022/collection/index.js +0 -2
- package/esm2022/collection/index.js.map +0 -1
- package/esm2022/collection/qualcomm-ui-angular-core-collection.js +0 -5
- package/esm2022/collection/qualcomm-ui-angular-core-collection.js.map +0 -1
- package/esm2022/collection/use-list-collection.js.map +0 -1
- package/esm2022/combobox/combobox-context.service.js +0 -14
- package/esm2022/combobox/combobox-context.service.js.map +0 -1
- package/esm2022/combobox/combobox-item-context.service.js +0 -14
- package/esm2022/combobox/combobox-item-context.service.js.map +0 -1
- package/esm2022/combobox/combobox-item-group-context.service.js +0 -14
- package/esm2022/combobox/combobox-item-group-context.service.js.map +0 -1
- package/esm2022/combobox/core-combobox-clear-trigger.directive.js +0 -30
- package/esm2022/combobox/core-combobox-clear-trigger.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-content.directive.js +0 -34
- package/esm2022/combobox/core-combobox-content.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-control.directive.js +0 -30
- package/esm2022/combobox/core-combobox-control.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-empty.directive.js +0 -19
- package/esm2022/combobox/core-combobox-empty.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-error-indicator.directive.js +0 -19
- package/esm2022/combobox/core-combobox-error-indicator.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-error-text.directive.js +0 -30
- package/esm2022/combobox/core-combobox-error-text.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-hint.directive.js +0 -30
- package/esm2022/combobox/core-combobox-hint.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-input.directive.js +0 -30
- package/esm2022/combobox/core-combobox-input.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-group-label.directive.js +0 -23
- package/esm2022/combobox/core-combobox-item-group-label.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-group.directive.js +0 -31
- package/esm2022/combobox/core-combobox-item-group.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-indicator.directive.js +0 -21
- package/esm2022/combobox/core-combobox-item-indicator.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-text.directive.js +0 -21
- package/esm2022/combobox/core-combobox-item-text.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item.directive.js +0 -35
- package/esm2022/combobox/core-combobox-item.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-label.directive.js +0 -30
- package/esm2022/combobox/core-combobox-label.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-positioner.directive.js +0 -32
- package/esm2022/combobox/core-combobox-positioner.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-root.directive.js +0 -387
- package/esm2022/combobox/core-combobox-root.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-trigger.directive.js +0 -37
- package/esm2022/combobox/core-combobox-trigger.directive.js.map +0 -1
- package/esm2022/combobox/index.js +0 -21
- package/esm2022/combobox/index.js.map +0 -1
- package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js +0 -5
- package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js.map +0 -1
- package/esm2022/common/boolean.js +0 -4
- package/esm2022/common/boolean.js.map +0 -1
- package/esm2022/common/index.js +0 -7
- package/esm2022/common/index.js.map +0 -1
- package/esm2022/common/ng-changes.js +0 -4
- package/esm2022/common/ng-changes.js.map +0 -1
- package/esm2022/common/qualcomm-ui-angular-core-common.js +0 -5
- package/esm2022/common/qualcomm-ui-angular-core-common.js.map +0 -1
- package/esm2022/common/template-content.js +0 -4
- package/esm2022/common/template-content.js.map +0 -1
- package/esm2022/common/use-csr-check.js +0 -22
- package/esm2022/common/use-csr-check.js.map +0 -1
- package/esm2022/common/use-id.js +0 -24
- package/esm2022/common/use-id.js.map +0 -1
- package/esm2022/common/use-is-destroyed.js +0 -20
- package/esm2022/common/use-is-destroyed.js.map +0 -1
- package/esm2022/common/use-is-mounted.js +0 -15
- package/esm2022/common/use-is-mounted.js.map +0 -1
- package/esm2022/common/use-on-destroy.js +0 -16
- package/esm2022/common/use-on-destroy.js.map +0 -1
- package/esm2022/common/use-ssr-check.js +0 -22
- package/esm2022/common/use-ssr-check.js.map +0 -1
- package/esm2022/dialog/core-dialog-backdrop.directive.js +0 -46
- package/esm2022/dialog/core-dialog-backdrop.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-body.directive.js +0 -21
- package/esm2022/dialog/core-dialog-body.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-close-trigger.directive.js +0 -30
- package/esm2022/dialog/core-dialog-close-trigger.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-content.directive.js +0 -50
- package/esm2022/dialog/core-dialog-content.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-description.directive.js +0 -30
- package/esm2022/dialog/core-dialog-description.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-footer.directive.js +0 -19
- package/esm2022/dialog/core-dialog-footer.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-heading.directive.js +0 -30
- package/esm2022/dialog/core-dialog-heading.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-positioner.directive.js +0 -32
- package/esm2022/dialog/core-dialog-positioner.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-root.directive.js +0 -225
- package/esm2022/dialog/core-dialog-root.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-trigger.directive.js +0 -30
- package/esm2022/dialog/core-dialog-trigger.directive.js.map +0 -1
- package/esm2022/dialog/dialog-context.service.js +0 -24
- package/esm2022/dialog/dialog-context.service.js.map +0 -1
- package/esm2022/dialog/index.js +0 -12
- package/esm2022/dialog/index.js.map +0 -1
- package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js +0 -5
- package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js.map +0 -1
- package/esm2022/dom/clipboard.service.js +0 -42
- package/esm2022/dom/clipboard.service.js.map +0 -1
- package/esm2022/dom/context-id-signal.js +0 -23
- package/esm2022/dom/context-id-signal.js.map +0 -1
- package/esm2022/dom/descendants-manager.service.js +0 -29
- package/esm2022/dom/descendants-manager.service.js.map +0 -1
- package/esm2022/dom/element-id-signal.js +0 -25
- package/esm2022/dom/element-id-signal.js.map +0 -1
- package/esm2022/dom/id.service.js +0 -33
- package/esm2022/dom/id.service.js.map +0 -1
- package/esm2022/dom/index.js +0 -8
- package/esm2022/dom/index.js.map +0 -1
- package/esm2022/dom/portal-config.service.js +0 -17
- package/esm2022/dom/portal-config.service.js.map +0 -1
- package/esm2022/dom/qualcomm-ui-angular-core-dom.js +0 -5
- package/esm2022/dom/qualcomm-ui-angular-core-dom.js.map +0 -1
- package/esm2022/dom/tokens/caches.js +0 -8
- package/esm2022/dom/tokens/caches.js.map +0 -1
- package/esm2022/dom/tokens/css.js +0 -11
- package/esm2022/dom/tokens/css.js.map +0 -1
- package/esm2022/dom/tokens/index.js +0 -11
- package/esm2022/dom/tokens/index.js.map +0 -1
- package/esm2022/dom/tokens/local-storage.js +0 -8
- package/esm2022/dom/tokens/local-storage.js.map +0 -1
- package/esm2022/dom/tokens/location.js +0 -8
- package/esm2022/dom/tokens/location.js.map +0 -1
- package/esm2022/dom/tokens/media-devices.js +0 -8
- package/esm2022/dom/tokens/media-devices.js.map +0 -1
- package/esm2022/dom/tokens/navigator.js +0 -8
- package/esm2022/dom/tokens/navigator.js.map +0 -1
- package/esm2022/dom/tokens/performance.js +0 -8
- package/esm2022/dom/tokens/performance.js.map +0 -1
- package/esm2022/dom/tokens/screen.js +0 -8
- package/esm2022/dom/tokens/screen.js.map +0 -1
- package/esm2022/dom/tokens/user-agent.js +0 -8
- package/esm2022/dom/tokens/user-agent.js.map +0 -1
- package/esm2022/dom/tokens/window.js +0 -14
- package/esm2022/dom/tokens/window.js.map +0 -1
- package/esm2022/events/index.js +0 -3
- package/esm2022/events/index.js.map +0 -1
- package/esm2022/events/listener.service.js.map +0 -1
- package/esm2022/events/qualcomm-ui-angular-core-events.js +0 -5
- package/esm2022/events/qualcomm-ui-angular-core-events.js.map +0 -1
- package/esm2022/events/use-copy-to-clipboard.js +0 -48
- package/esm2022/events/use-copy-to-clipboard.js.map +0 -1
- package/esm2022/forms/form-utils.js.map +0 -1
- package/esm2022/forms/index.js +0 -3
- package/esm2022/forms/index.js.map +0 -1
- package/esm2022/forms/qualcomm-ui-angular-core-forms.js +0 -5
- package/esm2022/forms/qualcomm-ui-angular-core-forms.js.map +0 -1
- package/esm2022/forms/use-forbidden-form-control-warning.js +0 -24
- package/esm2022/forms/use-forbidden-form-control-warning.js.map +0 -1
- package/esm2022/highlight/highlight.directive.js.map +0 -1
- package/esm2022/highlight/index.js +0 -2
- package/esm2022/highlight/index.js.map +0 -1
- package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js +0 -5
- package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js.map +0 -1
- package/esm2022/index.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-action.directive.js +0 -21
- package/esm2022/inline-notification/core-inline-notification-action.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js +0 -32
- package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-description.directive.js +0 -32
- package/esm2022/inline-notification/core-inline-notification-description.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-icon.directive.js +0 -21
- package/esm2022/inline-notification/core-inline-notification-icon.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-label.directive.js +0 -32
- package/esm2022/inline-notification/core-inline-notification-label.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-root.directive.js +0 -71
- package/esm2022/inline-notification/core-inline-notification-root.directive.js.map +0 -1
- package/esm2022/inline-notification/index.js +0 -8
- package/esm2022/inline-notification/index.js.map +0 -1
- package/esm2022/inline-notification/inline-notification-context.service.js +0 -14
- package/esm2022/inline-notification/inline-notification-context.service.js.map +0 -1
- package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js +0 -5
- package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js.map +0 -1
- package/esm2022/input/abstract-input-form-control.directive.js +0 -254
- package/esm2022/input/abstract-input-form-control.directive.js.map +0 -1
- package/esm2022/input/abstract-list-collection-form-control.directive.js +0 -278
- package/esm2022/input/abstract-list-collection-form-control.directive.js.map +0 -1
- package/esm2022/input/index.js +0 -4
- package/esm2022/input/index.js.map +0 -1
- package/esm2022/input/input-form-control-provider.js +0 -70
- package/esm2022/input/input-form-control-provider.js.map +0 -1
- package/esm2022/input/qualcomm-ui-angular-core-input.js +0 -5
- package/esm2022/input/qualcomm-ui-angular-core-input.js.map +0 -1
- package/esm2022/locale/index.js +0 -3
- package/esm2022/locale/index.js.map +0 -1
- package/esm2022/locale/locale-context.service.js +0 -14
- package/esm2022/locale/locale-context.service.js.map +0 -1
- package/esm2022/locale/qualcomm-ui-angular-core-locale.js +0 -5
- package/esm2022/locale/qualcomm-ui-angular-core-locale.js.map +0 -1
- package/esm2022/locale/use-filter.js +0 -16
- package/esm2022/locale/use-filter.js.map +0 -1
- package/esm2022/lorem-ipsum/index.js +0 -2
- package/esm2022/lorem-ipsum/index.js.map +0 -1
- package/esm2022/lorem-ipsum/lorem-ipsum.directive.js.map +0 -1
- package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js +0 -5
- package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js.map +0 -1
- package/esm2022/lucide/index.js +0 -3
- package/esm2022/lucide/index.js.map +0 -1
- package/esm2022/lucide/lucide.types.js +0 -4
- package/esm2022/lucide/lucide.types.js.map +0 -1
- package/esm2022/lucide/provide-icons.js.map +0 -1
- package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js +0 -5
- package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js.map +0 -1
- package/esm2022/machine/api-context.directive.js +0 -44
- package/esm2022/machine/api-context.directive.js.map +0 -1
- package/esm2022/machine/api-context.service.js +0 -58
- package/esm2022/machine/api-context.service.js.map +0 -1
- package/esm2022/machine/bindable-id-collection.js +0 -51
- package/esm2022/machine/bindable-id-collection.js.map +0 -1
- package/esm2022/machine/bindable-id.js +0 -21
- package/esm2022/machine/bindable-id.js.map +0 -1
- package/esm2022/machine/bindable.js +0 -47
- package/esm2022/machine/bindable.js.map +0 -1
- package/esm2022/machine/index.js +0 -13
- package/esm2022/machine/index.js.map +0 -1
- package/esm2022/machine/machine.types.js +0 -4
- package/esm2022/machine/machine.types.js.map +0 -1
- package/esm2022/machine/merge-props.js +0 -68
- package/esm2022/machine/merge-props.js.map +0 -1
- package/esm2022/machine/normalize-props.js +0 -108
- package/esm2022/machine/normalize-props.js.map +0 -1
- package/esm2022/machine/q-bind.directive.js +0 -164
- package/esm2022/machine/q-bind.directive.js.map +0 -1
- package/esm2022/machine/qualcomm-ui-angular-core-machine.js +0 -5
- package/esm2022/machine/qualcomm-ui-angular-core-machine.js.map +0 -1
- package/esm2022/machine/refs.js +0 -18
- package/esm2022/machine/refs.js.map +0 -1
- package/esm2022/machine/track.js +0 -46
- package/esm2022/machine/track.js.map +0 -1
- package/esm2022/machine/use-machine.js +0 -312
- package/esm2022/machine/use-machine.js.map +0 -1
- package/esm2022/machine/use-track-bindings.js +0 -270
- package/esm2022/machine/use-track-bindings.js.map +0 -1
- package/esm2022/menu/base-menu-item.directive.js +0 -53
- package/esm2022/menu/base-menu-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-checkbox-item.directive.js +0 -51
- package/esm2022/menu/core-menu-checkbox-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-content.directive.js +0 -50
- package/esm2022/menu/core-menu-content.directive.js.map +0 -1
- package/esm2022/menu/core-menu-context-trigger.directive.js +0 -32
- package/esm2022/menu/core-menu-context-trigger.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-group-label.directive.js +0 -32
- package/esm2022/menu/core-menu-item-group-label.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-group.directive.js +0 -33
- package/esm2022/menu/core-menu-item-group.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-indicator.directive.js +0 -31
- package/esm2022/menu/core-menu-item-indicator.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-label.directive.js +0 -32
- package/esm2022/menu/core-menu-item-label.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-root.directive.js +0 -50
- package/esm2022/menu/core-menu-item-root.directive.js.map +0 -1
- package/esm2022/menu/core-menu-positioner.directive.js +0 -34
- package/esm2022/menu/core-menu-positioner.directive.js.map +0 -1
- package/esm2022/menu/core-menu-radio-item-group.directive.js +0 -52
- package/esm2022/menu/core-menu-radio-item-group.directive.js.map +0 -1
- package/esm2022/menu/core-menu-radio-item.directive.js +0 -41
- package/esm2022/menu/core-menu-radio-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-root.directive.js +0 -242
- package/esm2022/menu/core-menu-root.directive.js.map +0 -1
- package/esm2022/menu/core-menu-separator.directive.js +0 -21
- package/esm2022/menu/core-menu-separator.directive.js.map +0 -1
- package/esm2022/menu/core-menu-trigger-item.directive.js +0 -33
- package/esm2022/menu/core-menu-trigger-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-trigger.directive.js +0 -34
- package/esm2022/menu/core-menu-trigger.directive.js.map +0 -1
- package/esm2022/menu/index.js +0 -24
- package/esm2022/menu/index.js.map +0 -1
- package/esm2022/menu/menu-context.service.js +0 -14
- package/esm2022/menu/menu-context.service.js.map +0 -1
- package/esm2022/menu/menu-item-context.service.js +0 -14
- package/esm2022/menu/menu-item-context.service.js.map +0 -1
- package/esm2022/menu/menu-item-group-context.service.js +0 -14
- package/esm2022/menu/menu-item-group-context.service.js.map +0 -1
- package/esm2022/menu/menu-machine-context.service.js +0 -14
- package/esm2022/menu/menu-machine-context.service.js.map +0 -1
- package/esm2022/menu/menu-option-item-context.service.js +0 -14
- package/esm2022/menu/menu-option-item-context.service.js.map +0 -1
- package/esm2022/menu/menu-radio-item-group-context.service.js +0 -14
- package/esm2022/menu/menu-radio-item-group-context.service.js.map +0 -1
- package/esm2022/menu/menu-trigger-context.service.js +0 -14
- package/esm2022/menu/menu-trigger-context.service.js.map +0 -1
- package/esm2022/menu/qualcomm-ui-angular-core-menu.js +0 -5
- package/esm2022/menu/qualcomm-ui-angular-core-menu.js.map +0 -1
- package/esm2022/number-input/abstract-number-input-form-control.directive.js +0 -294
- package/esm2022/number-input/abstract-number-input-form-control.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-control.directive.js +0 -21
- package/esm2022/number-input/core-number-input-control.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-decrement-trigger.directive.js +0 -28
- package/esm2022/number-input/core-number-input-decrement-trigger.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-error-indicator.directive.js +0 -21
- package/esm2022/number-input/core-number-input-error-indicator.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-error-text.directive.js +0 -28
- package/esm2022/number-input/core-number-input-error-text.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-hint.directive.js +0 -28
- package/esm2022/number-input/core-number-input-hint.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-increment-trigger.directive.js +0 -28
- package/esm2022/number-input/core-number-input-increment-trigger.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-input-group.directive.js +0 -21
- package/esm2022/number-input/core-number-input-input-group.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-input.directive.js +0 -28
- package/esm2022/number-input/core-number-input-input.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-label.directive.js +0 -28
- package/esm2022/number-input/core-number-input-label.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-root.directive.js +0 -195
- package/esm2022/number-input/core-number-input-root.directive.js.map +0 -1
- package/esm2022/number-input/index.js +0 -14
- package/esm2022/number-input/index.js.map +0 -1
- package/esm2022/number-input/number-input-context.service.js +0 -14
- package/esm2022/number-input/number-input-context.service.js.map +0 -1
- package/esm2022/number-input/number-input.validators.js +0 -15
- package/esm2022/number-input/number-input.validators.js.map +0 -1
- package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js +0 -5
- package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js.map +0 -1
- package/esm2022/observers/index.js +0 -2
- package/esm2022/observers/index.js.map +0 -1
- package/esm2022/observers/intersection-observer.directive.js.map +0 -1
- package/esm2022/observers/qualcomm-ui-angular-core-observers.js +0 -5
- package/esm2022/observers/qualcomm-ui-angular-core-observers.js.map +0 -1
- package/esm2022/pagination/core-pagination-next-trigger.directive.js +0 -19
- package/esm2022/pagination/core-pagination-next-trigger.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-item.directive.js +0 -24
- package/esm2022/pagination/core-pagination-page-item.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-items.directive.js +0 -22
- package/esm2022/pagination/core-pagination-page-items.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-metadata.directive.js +0 -19
- package/esm2022/pagination/core-pagination-page-metadata.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-size-label.directive.js +0 -26
- package/esm2022/pagination/core-pagination-page-size-label.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-size.directive.js +0 -37
- package/esm2022/pagination/core-pagination-page-size.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-prev-trigger.directive.js +0 -19
- package/esm2022/pagination/core-pagination-prev-trigger.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-root.directive.js +0 -121
- package/esm2022/pagination/core-pagination-root.directive.js.map +0 -1
- package/esm2022/pagination/index.js +0 -10
- package/esm2022/pagination/index.js.map +0 -1
- package/esm2022/pagination/pagination-context.service.js +0 -14
- package/esm2022/pagination/pagination-context.service.js.map +0 -1
- package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js +0 -5
- package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js.map +0 -1
- package/esm2022/password-input/core-password-input-clear-trigger.directive.js +0 -21
- package/esm2022/password-input/core-password-input-clear-trigger.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-error-indicator.directive.js +0 -21
- package/esm2022/password-input/core-password-input-error-indicator.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-error-text.directive.js +0 -32
- package/esm2022/password-input/core-password-input-error-text.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-hint.directive.js +0 -32
- package/esm2022/password-input/core-password-input-hint.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-input-group.directive.js +0 -21
- package/esm2022/password-input/core-password-input-input-group.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-input.directive.js +0 -32
- package/esm2022/password-input/core-password-input-input.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-label.directive.js +0 -32
- package/esm2022/password-input/core-password-input-label.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-root.directive.js +0 -120
- package/esm2022/password-input/core-password-input-root.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-visibility-trigger.directive.js +0 -32
- package/esm2022/password-input/core-password-input-visibility-trigger.directive.js.map +0 -1
- package/esm2022/password-input/index.js +0 -11
- package/esm2022/password-input/index.js.map +0 -1
- package/esm2022/password-input/password-input-context.service.js +0 -14
- package/esm2022/password-input/password-input-context.service.js.map +0 -1
- package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js +0 -5
- package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js.map +0 -1
- package/esm2022/popover/core-popover-anchor.directive.js +0 -30
- package/esm2022/popover/core-popover-anchor.directive.js.map +0 -1
- package/esm2022/popover/core-popover-arrow-tip.directive.js +0 -19
- package/esm2022/popover/core-popover-arrow-tip.directive.js.map +0 -1
- package/esm2022/popover/core-popover-arrow.directive.js +0 -30
- package/esm2022/popover/core-popover-arrow.directive.js.map +0 -1
- package/esm2022/popover/core-popover-close-trigger.directive.js +0 -30
- package/esm2022/popover/core-popover-close-trigger.directive.js.map +0 -1
- package/esm2022/popover/core-popover-content.directive.js +0 -30
- package/esm2022/popover/core-popover-content.directive.js.map +0 -1
- package/esm2022/popover/core-popover-description.directive.js +0 -30
- package/esm2022/popover/core-popover-description.directive.js.map +0 -1
- package/esm2022/popover/core-popover-label.directive.js +0 -30
- package/esm2022/popover/core-popover-label.directive.js.map +0 -1
- package/esm2022/popover/core-popover-positioner.directive.js +0 -30
- package/esm2022/popover/core-popover-positioner.directive.js.map +0 -1
- package/esm2022/popover/core-popover-root.directive.js +0 -178
- package/esm2022/popover/core-popover-root.directive.js.map +0 -1
- package/esm2022/popover/core-popover-trigger.directive.js +0 -30
- package/esm2022/popover/core-popover-trigger.directive.js.map +0 -1
- package/esm2022/popover/index.js +0 -12
- package/esm2022/popover/index.js.map +0 -1
- package/esm2022/popover/popover-context.service.js +0 -14
- package/esm2022/popover/popover-context.service.js.map +0 -1
- package/esm2022/popover/qualcomm-ui-angular-core-popover.js +0 -5
- package/esm2022/popover/qualcomm-ui-angular-core-popover.js.map +0 -1
- package/esm2022/portal/index.js +0 -4
- package/esm2022/portal/index.js.map +0 -1
- package/esm2022/portal/portal-context.service.js +0 -16
- package/esm2022/portal/portal-context.service.js.map +0 -1
- package/esm2022/portal/portal.component.js +0 -125
- package/esm2022/portal/portal.component.js.map +0 -1
- package/esm2022/portal/portal.directive.js +0 -116
- package/esm2022/portal/portal.directive.js.map +0 -1
- package/esm2022/portal/qualcomm-ui-angular-core-portal.js +0 -5
- package/esm2022/portal/qualcomm-ui-angular-core-portal.js.map +0 -1
- package/esm2022/presence/core-presence.directive.js +0 -53
- package/esm2022/presence/core-presence.directive.js.map +0 -1
- package/esm2022/presence/index.js +0 -5
- package/esm2022/presence/index.js.map +0 -1
- package/esm2022/presence/presence-context.service.js +0 -59
- package/esm2022/presence/presence-context.service.js.map +0 -1
- package/esm2022/presence/qualcomm-ui-angular-core-presence.js +0 -5
- package/esm2022/presence/qualcomm-ui-angular-core-presence.js.map +0 -1
- package/esm2022/presence/render-strategy-context.service.js +0 -14
- package/esm2022/presence/render-strategy-context.service.js.map +0 -1
- package/esm2022/presence/use-presence-renderer.js +0 -30
- package/esm2022/presence/use-presence-renderer.js.map +0 -1
- package/esm2022/progress/core-base-progress.directive.js +0 -59
- package/esm2022/progress/core-base-progress.directive.js.map +0 -1
- package/esm2022/progress/core-progress-bar.directive.js +0 -19
- package/esm2022/progress/core-progress-bar.directive.js.map +0 -1
- package/esm2022/progress/core-progress-error-text.directive.js +0 -32
- package/esm2022/progress/core-progress-error-text.directive.js.map +0 -1
- package/esm2022/progress/core-progress-hint.directive.js +0 -32
- package/esm2022/progress/core-progress-hint.directive.js.map +0 -1
- package/esm2022/progress/core-progress-label.directive.js +0 -32
- package/esm2022/progress/core-progress-label.directive.js.map +0 -1
- package/esm2022/progress/core-progress-root.directive.js +0 -33
- package/esm2022/progress/core-progress-root.directive.js.map +0 -1
- package/esm2022/progress/core-progress-track.directive.js +0 -30
- package/esm2022/progress/core-progress-track.directive.js.map +0 -1
- package/esm2022/progress/core-progress-value-text.directive.js +0 -19
- package/esm2022/progress/core-progress-value-text.directive.js.map +0 -1
- package/esm2022/progress/index.js +0 -10
- package/esm2022/progress/index.js.map +0 -1
- package/esm2022/progress/progress-context.service.js +0 -15
- package/esm2022/progress/progress-context.service.js.map +0 -1
- package/esm2022/progress/qualcomm-ui-angular-core-progress.js +0 -5
- package/esm2022/progress/qualcomm-ui-angular-core-progress.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-bar.directive.js +0 -21
- package/esm2022/progress-ring/core-progress-ring-bar.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-circle.directive.js +0 -32
- package/esm2022/progress-ring/core-progress-ring-circle.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-error-text.directive.js +0 -32
- package/esm2022/progress-ring/core-progress-ring-error-text.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-label.directive.js +0 -32
- package/esm2022/progress-ring/core-progress-ring-label.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-root.directive.js +0 -33
- package/esm2022/progress-ring/core-progress-ring-root.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-track.directive.js +0 -21
- package/esm2022/progress-ring/core-progress-ring-track.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-value-text.directive.js +0 -21
- package/esm2022/progress-ring/core-progress-ring-value-text.directive.js.map +0 -1
- package/esm2022/progress-ring/index.js +0 -9
- package/esm2022/progress-ring/index.js.map +0 -1
- package/esm2022/progress-ring/progress-ring-context.service.js +0 -14
- package/esm2022/progress-ring/progress-ring-context.service.js.map +0 -1
- package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js +0 -5
- package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js.map +0 -1
- package/esm2022/qualcomm-ui-angular-core.js +0 -5
- package/esm2022/qualcomm-ui-angular-core.js.map +0 -1
- package/esm2022/radio/abstract-radio-form-control.directive.js +0 -261
- package/esm2022/radio/abstract-radio-form-control.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group-error-text.directive.js +0 -30
- package/esm2022/radio/core-radio-group-error-text.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group-items.directive.js +0 -19
- package/esm2022/radio/core-radio-group-items.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group-label.directive.js +0 -30
- package/esm2022/radio/core-radio-group-label.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group.directive.js +0 -89
- package/esm2022/radio/core-radio-group.directive.js.map +0 -1
- package/esm2022/radio/core-radio-item-control.directive.js +0 -21
- package/esm2022/radio/core-radio-item-control.directive.js.map +0 -1
- package/esm2022/radio/core-radio-item-hidden-input.directive.js +0 -33
- package/esm2022/radio/core-radio-item-hidden-input.directive.js.map +0 -1
- package/esm2022/radio/core-radio-item-label.directive.js +0 -33
- package/esm2022/radio/core-radio-item-label.directive.js.map +0 -1
- package/esm2022/radio/core-radio-root.directive.js +0 -62
- package/esm2022/radio/core-radio-root.directive.js.map +0 -1
- package/esm2022/radio/index.js +0 -12
- package/esm2022/radio/index.js.map +0 -1
- package/esm2022/radio/qualcomm-ui-angular-core-radio.js +0 -5
- package/esm2022/radio/qualcomm-ui-angular-core-radio.js.map +0 -1
- package/esm2022/radio/radio-context.service.js +0 -14
- package/esm2022/radio/radio-context.service.js.map +0 -1
- package/esm2022/radio/radio-item-context.service.js +0 -14
- package/esm2022/radio/radio-item-context.service.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js +0 -29
- package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-item-text.directive.js +0 -29
- package/esm2022/segmented-control/core-segmented-control-item-text.directive.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-item.directive.js +0 -53
- package/esm2022/segmented-control/core-segmented-control-item.directive.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-root.directive.js +0 -80
- package/esm2022/segmented-control/core-segmented-control-root.directive.js.map +0 -1
- package/esm2022/segmented-control/index.js +0 -6
- package/esm2022/segmented-control/index.js.map +0 -1
- package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js +0 -5
- package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js.map +0 -1
- package/esm2022/segmented-control/segmented-control-context.service.js +0 -14
- package/esm2022/segmented-control/segmented-control-context.service.js.map +0 -1
- package/esm2022/select/core-select-clear-trigger.directive.js +0 -30
- package/esm2022/select/core-select-clear-trigger.directive.js.map +0 -1
- package/esm2022/select/core-select-content.directive.js +0 -30
- package/esm2022/select/core-select-content.directive.js.map +0 -1
- package/esm2022/select/core-select-control.directive.js +0 -30
- package/esm2022/select/core-select-control.directive.js.map +0 -1
- package/esm2022/select/core-select-error-indicator.directive.js +0 -21
- package/esm2022/select/core-select-error-indicator.directive.js.map +0 -1
- package/esm2022/select/core-select-error-text.directive.js +0 -32
- package/esm2022/select/core-select-error-text.directive.js.map +0 -1
- package/esm2022/select/core-select-hidden-select.directive.js +0 -30
- package/esm2022/select/core-select-hidden-select.directive.js.map +0 -1
- package/esm2022/select/core-select-hint.directive.js +0 -32
- package/esm2022/select/core-select-hint.directive.js.map +0 -1
- package/esm2022/select/core-select-indicator.directive.js +0 -21
- package/esm2022/select/core-select-indicator.directive.js.map +0 -1
- package/esm2022/select/core-select-item-indicator.directive.js +0 -21
- package/esm2022/select/core-select-item-indicator.directive.js.map +0 -1
- package/esm2022/select/core-select-item-text.directive.js +0 -21
- package/esm2022/select/core-select-item-text.directive.js.map +0 -1
- package/esm2022/select/core-select-item.directive.js +0 -35
- package/esm2022/select/core-select-item.directive.js.map +0 -1
- package/esm2022/select/core-select-label.directive.js +0 -30
- package/esm2022/select/core-select-label.directive.js.map +0 -1
- package/esm2022/select/core-select-positioner.directive.js +0 -30
- package/esm2022/select/core-select-positioner.directive.js.map +0 -1
- package/esm2022/select/core-select-root.directive.js +0 -231
- package/esm2022/select/core-select-root.directive.js.map +0 -1
- package/esm2022/select/core-select-value-text.directive.js +0 -23
- package/esm2022/select/core-select-value-text.directive.js.map +0 -1
- package/esm2022/select/index.js +0 -18
- package/esm2022/select/index.js.map +0 -1
- package/esm2022/select/qualcomm-ui-angular-core-select.js +0 -5
- package/esm2022/select/qualcomm-ui-angular-core-select.js.map +0 -1
- package/esm2022/select/select-context.service.js +0 -15
- package/esm2022/select/select-context.service.js.map +0 -1
- package/esm2022/select/select-item-context.service.js +0 -14
- package/esm2022/select/select-item-context.service.js.map +0 -1
- package/esm2022/signals/access-signal.js +0 -17
- package/esm2022/signals/access-signal.js.map +0 -1
- package/esm2022/signals/host-binding.js +0 -84
- package/esm2022/signals/host-binding.js.map +0 -1
- package/esm2022/signals/index.js +0 -4
- package/esm2022/signals/index.js.map +0 -1
- package/esm2022/signals/qualcomm-ui-angular-core-signals.js +0 -5
- package/esm2022/signals/qualcomm-ui-angular-core-signals.js.map +0 -1
- package/esm2022/signals/signalify-input.js +0 -4
- package/esm2022/signals/signalify-input.js.map +0 -1
- package/esm2022/signals/signalify-object.js +0 -73
- package/esm2022/signals/signalify-object.js.map +0 -1
- package/esm2022/signals/signals.types.js +0 -4
- package/esm2022/signals/signals.types.js.map +0 -1
- package/esm2022/state/controlled-state-legacy.js +0 -80
- package/esm2022/state/controlled-state-legacy.js.map +0 -1
- package/esm2022/state/controlled-state.service.js +0 -84
- package/esm2022/state/controlled-state.service.js.map +0 -1
- package/esm2022/state/index.js +0 -4
- package/esm2022/state/index.js.map +0 -1
- package/esm2022/state/qualcomm-ui-angular-core-state.js +0 -5
- package/esm2022/state/qualcomm-ui-angular-core-state.js.map +0 -1
- package/esm2022/state/use-controlled-state.js +0 -28
- package/esm2022/state/use-controlled-state.js.map +0 -1
- package/esm2022/switch/core-switch-control.directive.js +0 -19
- package/esm2022/switch/core-switch-control.directive.js.map +0 -1
- package/esm2022/switch/core-switch-error-text.directive.js +0 -30
- package/esm2022/switch/core-switch-error-text.directive.js.map +0 -1
- package/esm2022/switch/core-switch-hidden-input.directive.js +0 -30
- package/esm2022/switch/core-switch-hidden-input.directive.js.map +0 -1
- package/esm2022/switch/core-switch-label.directive.js +0 -30
- package/esm2022/switch/core-switch-label.directive.js.map +0 -1
- package/esm2022/switch/core-switch-root.directive.js +0 -89
- package/esm2022/switch/core-switch-root.directive.js.map +0 -1
- package/esm2022/switch/core-switch-thumb.directive.js +0 -19
- package/esm2022/switch/core-switch-thumb.directive.js.map +0 -1
- package/esm2022/switch/index.js +0 -8
- package/esm2022/switch/index.js.map +0 -1
- package/esm2022/switch/qualcomm-ui-angular-core-switch.js +0 -5
- package/esm2022/switch/qualcomm-ui-angular-core-switch.js.map +0 -1
- package/esm2022/switch/switch-context.service.js +0 -14
- package/esm2022/switch/switch-context.service.js.map +0 -1
- package/esm2022/tabs/core-tab-button.directive.js +0 -35
- package/esm2022/tabs/core-tab-button.directive.js.map +0 -1
- package/esm2022/tabs/core-tab-dismiss-button.directive.js +0 -26
- package/esm2022/tabs/core-tab-dismiss-button.directive.js.map +0 -1
- package/esm2022/tabs/core-tab-root.directive.js +0 -37
- package/esm2022/tabs/core-tab-root.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-indicator.directive.js +0 -32
- package/esm2022/tabs/core-tabs-indicator.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-list.directive.js +0 -32
- package/esm2022/tabs/core-tabs-list.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-panel.directive.js +0 -61
- package/esm2022/tabs/core-tabs-panel.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-root.directive.js +0 -146
- package/esm2022/tabs/core-tabs-root.directive.js.map +0 -1
- package/esm2022/tabs/index.js +0 -10
- package/esm2022/tabs/index.js.map +0 -1
- package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js +0 -5
- package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js.map +0 -1
- package/esm2022/tabs/tab-context.service.js +0 -14
- package/esm2022/tabs/tab-context.service.js.map +0 -1
- package/esm2022/tabs/tabs-context.service.js +0 -14
- package/esm2022/tabs/tabs-context.service.js.map +0 -1
- package/esm2022/text-area/index.js +0 -2
- package/esm2022/text-area/index.js.map +0 -1
- package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js +0 -5
- package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js.map +0 -1
- package/esm2022/text-input/core-text-input-clear-trigger.directive.js +0 -19
- package/esm2022/text-input/core-text-input-clear-trigger.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-error-indicator.directive.js +0 -21
- package/esm2022/text-input/core-text-input-error-indicator.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-error-text.directive.js +0 -26
- package/esm2022/text-input/core-text-input-error-text.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-hint.directive.js +0 -26
- package/esm2022/text-input/core-text-input-hint.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-input-group.directive.js +0 -21
- package/esm2022/text-input/core-text-input-input-group.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-input.directive.js +0 -28
- package/esm2022/text-input/core-text-input-input.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-label.directive.js +0 -26
- package/esm2022/text-input/core-text-input-label.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-root.directive.js +0 -82
- package/esm2022/text-input/core-text-input-root.directive.js.map +0 -1
- package/esm2022/text-input/index.js +0 -10
- package/esm2022/text-input/index.js.map +0 -1
- package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js +0 -5
- package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js.map +0 -1
- package/esm2022/text-input/text-input-context.service.js +0 -14
- package/esm2022/text-input/text-input-context.service.js.map +0 -1
- package/esm2022/toast/core-toast-action.directive.js +0 -21
- package/esm2022/toast/core-toast-action.directive.js.map +0 -1
- package/esm2022/toast/core-toast-close-trigger.directive.js +0 -21
- package/esm2022/toast/core-toast-close-trigger.directive.js.map +0 -1
- package/esm2022/toast/core-toast-description.directive.js +0 -23
- package/esm2022/toast/core-toast-description.directive.js.map +0 -1
- package/esm2022/toast/core-toast-label.directive.js +0 -21
- package/esm2022/toast/core-toast-label.directive.js.map +0 -1
- package/esm2022/toast/core-toast-root.directive.js +0 -21
- package/esm2022/toast/core-toast-root.directive.js.map +0 -1
- package/esm2022/toast/core-toaster.directive.js +0 -55
- package/esm2022/toast/core-toaster.directive.js.map +0 -1
- package/esm2022/toast/index.js +0 -9
- package/esm2022/toast/index.js.map +0 -1
- package/esm2022/toast/qualcomm-ui-angular-core-toast.js +0 -5
- package/esm2022/toast/qualcomm-ui-angular-core-toast.js.map +0 -1
- package/esm2022/toast/toast-context.service.js +0 -14
- package/esm2022/toast/toast-context.service.js.map +0 -1
- package/esm2022/toast/toast-group-context.service.js +0 -14
- package/esm2022/toast/toast-group-context.service.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js +0 -19
- package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-arrow.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-arrow.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-content.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-content.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-positioner.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-positioner.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-root.directive.js +0 -82
- package/esm2022/tooltip/core-tooltip-root.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-trigger.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-trigger.directive.js.map +0 -1
- package/esm2022/tooltip/index.js +0 -8
- package/esm2022/tooltip/index.js.map +0 -1
- package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js +0 -5
- package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js.map +0 -1
- package/esm2022/tooltip/tooltip-context.service.js +0 -14
- package/esm2022/tooltip/tooltip-context.service.js.map +0 -1
- package/esm2022/virtual/index.js +0 -3
- package/esm2022/virtual/index.js.map +0 -1
- package/esm2022/virtual/proxy.js +0 -95
- package/esm2022/virtual/proxy.js.map +0 -1
- package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js +0 -5
- package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js.map +0 -1
- package/esm2022/virtual/types.js +0 -4
- package/esm2022/virtual/types.js.map +0 -1
- package/esm2022/virtual/virtual.js +0 -89
- package/esm2022/virtual/virtual.js.map +0 -1
- package/events/listener.service.d.ts +0 -27
- package/events/listener.service.d.ts.map +0 -1
- package/events/qualcomm-ui-angular-core-events.d.ts +0 -6
- package/events/qualcomm-ui-angular-core-events.d.ts.map +0 -1
- package/events/use-copy-to-clipboard.d.ts +0 -9
- package/events/use-copy-to-clipboard.d.ts.map +0 -1
- package/forms/form-utils.d.ts +0 -17
- package/forms/form-utils.d.ts.map +0 -1
- package/forms/qualcomm-ui-angular-core-forms.d.ts +0 -6
- package/forms/qualcomm-ui-angular-core-forms.d.ts.map +0 -1
- package/forms/use-forbidden-form-control-warning.d.ts +0 -16
- package/forms/use-forbidden-form-control-warning.d.ts.map +0 -1
- package/highlight/highlight.directive.d.ts +0 -28
- package/highlight/highlight.directive.d.ts.map +0 -1
- package/highlight/qualcomm-ui-angular-core-highlight.d.ts +0 -6
- package/highlight/qualcomm-ui-angular-core-highlight.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-action.directive.d.ts +0 -13
- package/inline-notification/core-inline-notification-action.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-close-trigger.directive.d.ts +0 -20
- package/inline-notification/core-inline-notification-close-trigger.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-description.directive.d.ts +0 -20
- package/inline-notification/core-inline-notification-description.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-icon.directive.d.ts +0 -13
- package/inline-notification/core-inline-notification-icon.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-label.directive.d.ts +0 -20
- package/inline-notification/core-inline-notification-label.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-root.directive.d.ts +0 -50
- package/inline-notification/core-inline-notification-root.directive.d.ts.map +0 -1
- package/inline-notification/inline-notification-context.service.d.ts +0 -9
- package/inline-notification/inline-notification-context.service.d.ts.map +0 -1
- package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts +0 -6
- package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts.map +0 -1
- package/input/abstract-input-form-control.directive.d.ts +0 -72
- package/input/abstract-input-form-control.directive.d.ts.map +0 -1
- package/input/abstract-list-collection-form-control.directive.d.ts +0 -81
- package/input/abstract-list-collection-form-control.directive.d.ts.map +0 -1
- package/input/input-form-control-provider.d.ts +0 -38
- package/input/input-form-control-provider.d.ts.map +0 -1
- package/input/qualcomm-ui-angular-core-input.d.ts +0 -6
- package/input/qualcomm-ui-angular-core-input.d.ts.map +0 -1
- package/locale/locale-context.service.d.ts +0 -9
- package/locale/locale-context.service.d.ts.map +0 -1
- package/locale/qualcomm-ui-angular-core-locale.d.ts +0 -6
- package/locale/qualcomm-ui-angular-core-locale.d.ts.map +0 -1
- package/locale/use-filter.d.ts +0 -8
- package/locale/use-filter.d.ts.map +0 -1
- package/lorem-ipsum/lorem-ipsum.directive.d.ts +0 -44
- package/lorem-ipsum/lorem-ipsum.directive.d.ts.map +0 -1
- package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts +0 -6
- package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts.map +0 -1
- package/lucide/lucide.types.d.ts +0 -40
- package/lucide/lucide.types.d.ts.map +0 -1
- package/lucide/provide-icons.d.ts +0 -11
- package/lucide/provide-icons.d.ts.map +0 -1
- package/lucide/qualcomm-ui-angular-core-lucide.d.ts +0 -6
- package/lucide/qualcomm-ui-angular-core-lucide.d.ts.map +0 -1
- package/machine/api-context.directive.d.ts +0 -20
- package/machine/api-context.directive.d.ts.map +0 -1
- package/machine/api-context.service.d.ts +0 -32
- package/machine/api-context.service.d.ts.map +0 -1
- package/machine/bindable-id-collection.d.ts +0 -3
- package/machine/bindable-id-collection.d.ts.map +0 -1
- package/machine/bindable-id.d.ts +0 -3
- package/machine/bindable-id.d.ts.map +0 -1
- package/machine/bindable.d.ts +0 -10
- package/machine/bindable.d.ts.map +0 -1
- package/machine/machine.types.d.ts +0 -8
- package/machine/machine.types.d.ts.map +0 -1
- package/machine/merge-props.d.ts +0 -20
- package/machine/merge-props.d.ts.map +0 -1
- package/machine/normalize-props.d.ts +0 -4
- package/machine/normalize-props.d.ts.map +0 -1
- package/machine/q-bind.directive.d.ts +0 -44
- package/machine/q-bind.directive.d.ts.map +0 -1
- package/machine/qualcomm-ui-angular-core-machine.d.ts +0 -6
- package/machine/qualcomm-ui-angular-core-machine.d.ts.map +0 -1
- package/machine/refs.d.ts +0 -5
- package/machine/refs.d.ts.map +0 -1
- package/machine/track.d.ts +0 -3
- package/machine/track.d.ts.map +0 -1
- package/machine/use-machine.d.ts +0 -12
- package/machine/use-machine.d.ts.map +0 -1
- package/machine/use-track-bindings.d.ts +0 -60
- package/machine/use-track-bindings.d.ts.map +0 -1
- package/menu/base-menu-item.directive.d.ts +0 -40
- package/menu/base-menu-item.directive.d.ts.map +0 -1
- package/menu/core-menu-checkbox-item.directive.d.ts +0 -35
- package/menu/core-menu-checkbox-item.directive.d.ts.map +0 -1
- package/menu/core-menu-content.directive.d.ts +0 -25
- package/menu/core-menu-content.directive.d.ts.map +0 -1
- package/menu/core-menu-context-trigger.directive.d.ts +0 -20
- package/menu/core-menu-context-trigger.directive.d.ts.map +0 -1
- package/menu/core-menu-item-group-label.directive.d.ts +0 -15
- package/menu/core-menu-item-group-label.directive.d.ts.map +0 -1
- package/menu/core-menu-item-group.directive.d.ts +0 -21
- package/menu/core-menu-item-group.directive.d.ts.map +0 -1
- package/menu/core-menu-item-indicator.directive.d.ts +0 -15
- package/menu/core-menu-item-indicator.directive.d.ts.map +0 -1
- package/menu/core-menu-item-label.directive.d.ts +0 -15
- package/menu/core-menu-item-label.directive.d.ts.map +0 -1
- package/menu/core-menu-item-root.directive.d.ts +0 -16
- package/menu/core-menu-item-root.directive.d.ts.map +0 -1
- package/menu/core-menu-positioner.directive.d.ts +0 -22
- package/menu/core-menu-positioner.directive.d.ts.map +0 -1
- package/menu/core-menu-radio-item-group.directive.d.ts +0 -33
- package/menu/core-menu-radio-item-group.directive.d.ts.map +0 -1
- package/menu/core-menu-radio-item.directive.d.ts +0 -18
- package/menu/core-menu-radio-item.directive.d.ts.map +0 -1
- package/menu/core-menu-root.directive.d.ts +0 -131
- package/menu/core-menu-root.directive.d.ts.map +0 -1
- package/menu/core-menu-separator.directive.d.ts +0 -13
- package/menu/core-menu-separator.directive.d.ts.map +0 -1
- package/menu/core-menu-trigger-item.directive.d.ts +0 -21
- package/menu/core-menu-trigger-item.directive.d.ts.map +0 -1
- package/menu/core-menu-trigger.directive.d.ts +0 -22
- package/menu/core-menu-trigger.directive.d.ts.map +0 -1
- package/menu/menu-context.service.d.ts +0 -9
- package/menu/menu-context.service.d.ts.map +0 -1
- package/menu/menu-item-context.service.d.ts +0 -11
- package/menu/menu-item-context.service.d.ts.map +0 -1
- package/menu/menu-item-group-context.service.d.ts +0 -9
- package/menu/menu-item-group-context.service.d.ts.map +0 -1
- package/menu/menu-machine-context.service.d.ts +0 -10
- package/menu/menu-machine-context.service.d.ts.map +0 -1
- package/menu/menu-option-item-context.service.d.ts +0 -11
- package/menu/menu-option-item-context.service.d.ts.map +0 -1
- package/menu/menu-radio-item-group-context.service.d.ts +0 -9
- package/menu/menu-radio-item-group-context.service.d.ts.map +0 -1
- package/menu/menu-trigger-context.service.d.ts +0 -9
- package/menu/menu-trigger-context.service.d.ts.map +0 -1
- package/menu/qualcomm-ui-angular-core-menu.d.ts +0 -6
- package/menu/qualcomm-ui-angular-core-menu.d.ts.map +0 -1
- package/number-input/abstract-number-input-form-control.directive.d.ts +0 -80
- package/number-input/abstract-number-input-form-control.directive.d.ts.map +0 -1
- package/number-input/core-number-input-control.directive.d.ts +0 -13
- package/number-input/core-number-input-control.directive.d.ts.map +0 -1
- package/number-input/core-number-input-decrement-trigger.directive.d.ts +0 -16
- package/number-input/core-number-input-decrement-trigger.directive.d.ts.map +0 -1
- package/number-input/core-number-input-error-indicator.directive.d.ts +0 -13
- package/number-input/core-number-input-error-indicator.directive.d.ts.map +0 -1
- package/number-input/core-number-input-error-text.directive.d.ts +0 -16
- package/number-input/core-number-input-error-text.directive.d.ts.map +0 -1
- package/number-input/core-number-input-hint.directive.d.ts +0 -16
- package/number-input/core-number-input-hint.directive.d.ts.map +0 -1
- package/number-input/core-number-input-increment-trigger.directive.d.ts +0 -16
- package/number-input/core-number-input-increment-trigger.directive.d.ts.map +0 -1
- package/number-input/core-number-input-input-group.directive.d.ts +0 -13
- package/number-input/core-number-input-input-group.directive.d.ts.map +0 -1
- package/number-input/core-number-input-input.directive.d.ts +0 -16
- package/number-input/core-number-input-input.directive.d.ts.map +0 -1
- package/number-input/core-number-input-label.directive.d.ts +0 -16
- package/number-input/core-number-input-label.directive.d.ts.map +0 -1
- package/number-input/core-number-input-root.directive.d.ts +0 -109
- package/number-input/core-number-input-root.directive.d.ts.map +0 -1
- package/number-input/number-input-context.service.d.ts +0 -9
- package/number-input/number-input-context.service.d.ts.map +0 -1
- package/number-input/number-input.validators.d.ts +0 -7
- package/number-input/number-input.validators.d.ts.map +0 -1
- package/number-input/qualcomm-ui-angular-core-number-input.d.ts +0 -6
- package/number-input/qualcomm-ui-angular-core-number-input.d.ts.map +0 -1
- package/observers/intersection-observer.directive.d.ts +0 -13
- package/observers/intersection-observer.directive.d.ts.map +0 -1
- package/observers/qualcomm-ui-angular-core-observers.d.ts +0 -6
- package/observers/qualcomm-ui-angular-core-observers.d.ts.map +0 -1
- package/pagination/core-pagination-next-trigger.directive.d.ts +0 -10
- package/pagination/core-pagination-next-trigger.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-item.directive.d.ts +0 -16
- package/pagination/core-pagination-page-item.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-items.directive.d.ts +0 -12
- package/pagination/core-pagination-page-items.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-metadata.directive.d.ts +0 -10
- package/pagination/core-pagination-page-metadata.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-size-label.directive.d.ts +0 -13
- package/pagination/core-pagination-page-size-label.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-size.directive.d.ts +0 -19
- package/pagination/core-pagination-page-size.directive.d.ts.map +0 -1
- package/pagination/core-pagination-prev-trigger.directive.d.ts +0 -10
- package/pagination/core-pagination-prev-trigger.directive.d.ts.map +0 -1
- package/pagination/core-pagination-root.directive.d.ts +0 -83
- package/pagination/core-pagination-root.directive.d.ts.map +0 -1
- package/pagination/pagination-context.service.d.ts +0 -9
- package/pagination/pagination-context.service.d.ts.map +0 -1
- package/pagination/qualcomm-ui-angular-core-pagination.d.ts +0 -6
- package/pagination/qualcomm-ui-angular-core-pagination.d.ts.map +0 -1
- package/password-input/core-password-input-clear-trigger.directive.d.ts +0 -13
- package/password-input/core-password-input-clear-trigger.directive.d.ts.map +0 -1
- package/password-input/core-password-input-error-indicator.directive.d.ts +0 -13
- package/password-input/core-password-input-error-indicator.directive.d.ts.map +0 -1
- package/password-input/core-password-input-error-text.directive.d.ts +0 -20
- package/password-input/core-password-input-error-text.directive.d.ts.map +0 -1
- package/password-input/core-password-input-hint.directive.d.ts +0 -20
- package/password-input/core-password-input-hint.directive.d.ts.map +0 -1
- package/password-input/core-password-input-input-group.directive.d.ts +0 -13
- package/password-input/core-password-input-input-group.directive.d.ts.map +0 -1
- package/password-input/core-password-input-input.directive.d.ts +0 -20
- package/password-input/core-password-input-input.directive.d.ts.map +0 -1
- package/password-input/core-password-input-label.directive.d.ts +0 -20
- package/password-input/core-password-input-label.directive.d.ts.map +0 -1
- package/password-input/core-password-input-root.directive.d.ts +0 -60
- package/password-input/core-password-input-root.directive.d.ts.map +0 -1
- package/password-input/core-password-input-visibility-trigger.directive.d.ts +0 -20
- package/password-input/core-password-input-visibility-trigger.directive.d.ts.map +0 -1
- package/password-input/password-input-context.service.d.ts +0 -9
- package/password-input/password-input-context.service.d.ts.map +0 -1
- package/password-input/qualcomm-ui-angular-core-password-input.d.ts +0 -6
- package/password-input/qualcomm-ui-angular-core-password-input.d.ts.map +0 -1
- package/popover/core-popover-anchor.directive.d.ts +0 -17
- package/popover/core-popover-anchor.directive.d.ts.map +0 -1
- package/popover/core-popover-arrow-tip.directive.d.ts +0 -10
- package/popover/core-popover-arrow-tip.directive.d.ts.map +0 -1
- package/popover/core-popover-arrow.directive.d.ts +0 -17
- package/popover/core-popover-arrow.directive.d.ts.map +0 -1
- package/popover/core-popover-close-trigger.directive.d.ts +0 -17
- package/popover/core-popover-close-trigger.directive.d.ts.map +0 -1
- package/popover/core-popover-content.directive.d.ts +0 -17
- package/popover/core-popover-content.directive.d.ts.map +0 -1
- package/popover/core-popover-description.directive.d.ts +0 -17
- package/popover/core-popover-description.directive.d.ts.map +0 -1
- package/popover/core-popover-label.directive.d.ts +0 -17
- package/popover/core-popover-label.directive.d.ts.map +0 -1
- package/popover/core-popover-positioner.directive.d.ts +0 -17
- package/popover/core-popover-positioner.directive.d.ts.map +0 -1
- package/popover/core-popover-root.directive.d.ts +0 -123
- package/popover/core-popover-root.directive.d.ts.map +0 -1
- package/popover/core-popover-trigger.directive.d.ts +0 -17
- package/popover/core-popover-trigger.directive.d.ts.map +0 -1
- package/popover/popover-context.service.d.ts +0 -9
- package/popover/popover-context.service.d.ts.map +0 -1
- package/popover/qualcomm-ui-angular-core-popover.d.ts +0 -6
- package/popover/qualcomm-ui-angular-core-popover.d.ts.map +0 -1
- package/portal/portal-context.service.d.ts +0 -9
- package/portal/portal-context.service.d.ts.map +0 -1
- package/portal/portal.component.d.ts +0 -37
- package/portal/portal.component.d.ts.map +0 -1
- package/portal/portal.directive.d.ts +0 -27
- package/portal/portal.directive.d.ts.map +0 -1
- package/portal/qualcomm-ui-angular-core-portal.d.ts +0 -6
- package/portal/qualcomm-ui-angular-core-portal.d.ts.map +0 -1
- package/presence/core-presence.directive.d.ts +0 -44
- package/presence/core-presence.directive.d.ts.map +0 -1
- package/presence/presence-context.service.d.ts +0 -22
- package/presence/presence-context.service.d.ts.map +0 -1
- package/presence/qualcomm-ui-angular-core-presence.d.ts +0 -6
- package/presence/qualcomm-ui-angular-core-presence.d.ts.map +0 -1
- package/presence/render-strategy-context.service.d.ts +0 -9
- package/presence/render-strategy-context.service.d.ts.map +0 -1
- package/presence/use-presence-renderer.d.ts +0 -20
- package/presence/use-presence-renderer.d.ts.map +0 -1
- package/progress/core-base-progress.directive.d.ts +0 -45
- package/progress/core-base-progress.directive.d.ts.map +0 -1
- package/progress/core-progress-bar.directive.d.ts +0 -13
- package/progress/core-progress-bar.directive.d.ts.map +0 -1
- package/progress/core-progress-error-text.directive.d.ts +0 -20
- package/progress/core-progress-error-text.directive.d.ts.map +0 -1
- package/progress/core-progress-hint.directive.d.ts +0 -20
- package/progress/core-progress-hint.directive.d.ts.map +0 -1
- package/progress/core-progress-label.directive.d.ts +0 -20
- package/progress/core-progress-label.directive.d.ts.map +0 -1
- package/progress/core-progress-root.directive.d.ts +0 -16
- package/progress/core-progress-root.directive.d.ts.map +0 -1
- package/progress/core-progress-track.directive.d.ts +0 -20
- package/progress/core-progress-track.directive.d.ts.map +0 -1
- package/progress/core-progress-value-text.directive.d.ts +0 -13
- package/progress/core-progress-value-text.directive.d.ts.map +0 -1
- package/progress/progress-context.service.d.ts +0 -9
- package/progress/progress-context.service.d.ts.map +0 -1
- package/progress/qualcomm-ui-angular-core-progress.d.ts +0 -6
- package/progress/qualcomm-ui-angular-core-progress.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-bar.directive.d.ts +0 -13
- package/progress-ring/core-progress-ring-bar.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-circle.directive.d.ts +0 -20
- package/progress-ring/core-progress-ring-circle.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-error-text.directive.d.ts +0 -20
- package/progress-ring/core-progress-ring-error-text.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-label.directive.d.ts +0 -20
- package/progress-ring/core-progress-ring-label.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-root.directive.d.ts +0 -16
- package/progress-ring/core-progress-ring-root.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-track.directive.d.ts +0 -13
- package/progress-ring/core-progress-ring-track.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-value-text.directive.d.ts +0 -13
- package/progress-ring/core-progress-ring-value-text.directive.d.ts.map +0 -1
- package/progress-ring/progress-ring-context.service.d.ts +0 -9
- package/progress-ring/progress-ring-context.service.d.ts.map +0 -1
- package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts +0 -6
- package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts.map +0 -1
- package/qualcomm-ui-angular-core.d.ts +0 -6
- package/qualcomm-ui-angular-core.d.ts.map +0 -1
- package/radio/abstract-radio-form-control.directive.d.ts +0 -79
- package/radio/abstract-radio-form-control.directive.d.ts.map +0 -1
- package/radio/core-radio-group-error-text.directive.d.ts +0 -20
- package/radio/core-radio-group-error-text.directive.d.ts.map +0 -1
- package/radio/core-radio-group-items.directive.d.ts +0 -13
- package/radio/core-radio-group-items.directive.d.ts.map +0 -1
- package/radio/core-radio-group-label.directive.d.ts +0 -23
- package/radio/core-radio-group-label.directive.d.ts.map +0 -1
- package/radio/core-radio-group.directive.d.ts +0 -44
- package/radio/core-radio-group.directive.d.ts.map +0 -1
- package/radio/core-radio-item-control.directive.d.ts +0 -14
- package/radio/core-radio-item-control.directive.d.ts.map +0 -1
- package/radio/core-radio-item-hidden-input.directive.d.ts +0 -24
- package/radio/core-radio-item-hidden-input.directive.d.ts.map +0 -1
- package/radio/core-radio-item-label.directive.d.ts +0 -24
- package/radio/core-radio-item-label.directive.d.ts.map +0 -1
- package/radio/core-radio-root.directive.d.ts +0 -41
- package/radio/core-radio-root.directive.d.ts.map +0 -1
- package/radio/qualcomm-ui-angular-core-radio.d.ts +0 -6
- package/radio/qualcomm-ui-angular-core-radio.d.ts.map +0 -1
- package/radio/radio-context.service.d.ts +0 -9
- package/radio/radio-context.service.d.ts.map +0 -1
- package/radio/radio-item-context.service.d.ts +0 -9
- package/radio/radio-item-context.service.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-hidden-input.directive.d.ts +0 -23
- package/segmented-control/core-segmented-control-hidden-input.directive.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-item-text.directive.d.ts +0 -23
- package/segmented-control/core-segmented-control-item-text.directive.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-item.directive.d.ts +0 -28
- package/segmented-control/core-segmented-control-item.directive.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-root.directive.d.ts +0 -53
- package/segmented-control/core-segmented-control-root.directive.d.ts.map +0 -1
- package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts +0 -6
- package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts.map +0 -1
- package/segmented-control/segmented-control-context.service.d.ts +0 -9
- package/segmented-control/segmented-control-context.service.d.ts.map +0 -1
- package/select/core-select-clear-trigger.directive.d.ts +0 -20
- package/select/core-select-clear-trigger.directive.d.ts.map +0 -1
- package/select/core-select-content.directive.d.ts +0 -20
- package/select/core-select-content.directive.d.ts.map +0 -1
- package/select/core-select-control.directive.d.ts +0 -20
- package/select/core-select-control.directive.d.ts.map +0 -1
- package/select/core-select-error-indicator.directive.d.ts +0 -13
- package/select/core-select-error-indicator.directive.d.ts.map +0 -1
- package/select/core-select-error-text.directive.d.ts +0 -20
- package/select/core-select-error-text.directive.d.ts.map +0 -1
- package/select/core-select-hidden-select.directive.d.ts +0 -20
- package/select/core-select-hidden-select.directive.d.ts.map +0 -1
- package/select/core-select-hint.directive.d.ts +0 -20
- package/select/core-select-hint.directive.d.ts.map +0 -1
- package/select/core-select-indicator.directive.d.ts +0 -13
- package/select/core-select-indicator.directive.d.ts.map +0 -1
- package/select/core-select-item-indicator.directive.d.ts +0 -14
- package/select/core-select-item-indicator.directive.d.ts.map +0 -1
- package/select/core-select-item-text.directive.d.ts +0 -14
- package/select/core-select-item-text.directive.d.ts.map +0 -1
- package/select/core-select-item.directive.d.ts +0 -26
- package/select/core-select-item.directive.d.ts.map +0 -1
- package/select/core-select-label.directive.d.ts +0 -20
- package/select/core-select-label.directive.d.ts.map +0 -1
- package/select/core-select-positioner.directive.d.ts +0 -20
- package/select/core-select-positioner.directive.d.ts.map +0 -1
- package/select/core-select-root.directive.d.ts +0 -130
- package/select/core-select-root.directive.d.ts.map +0 -1
- package/select/core-select-value-text.directive.d.ts +0 -17
- package/select/core-select-value-text.directive.d.ts.map +0 -1
- package/select/qualcomm-ui-angular-core-select.d.ts +0 -6
- package/select/qualcomm-ui-angular-core-select.d.ts.map +0 -1
- package/select/select-context.service.d.ts +0 -12
- package/select/select-context.service.d.ts.map +0 -1
- package/select/select-item-context.service.d.ts +0 -9
- package/select/select-item-context.service.d.ts.map +0 -1
- package/signals/access-signal.d.ts +0 -10
- package/signals/access-signal.d.ts.map +0 -1
- package/signals/host-binding.d.ts +0 -58
- package/signals/host-binding.d.ts.map +0 -1
- package/signals/qualcomm-ui-angular-core-signals.d.ts +0 -6
- package/signals/qualcomm-ui-angular-core-signals.d.ts.map +0 -1
- package/signals/signalify-input.d.ts +0 -9
- package/signals/signalify-input.d.ts.map +0 -1
- package/signals/signalify-object.d.ts +0 -5
- package/signals/signalify-object.d.ts.map +0 -1
- package/signals/signals.types.d.ts +0 -3
- package/signals/signals.types.d.ts.map +0 -1
- package/state/controlled-state-legacy.d.ts +0 -49
- package/state/controlled-state-legacy.d.ts.map +0 -1
- package/state/controlled-state.service.d.ts +0 -41
- package/state/controlled-state.service.d.ts.map +0 -1
- package/state/qualcomm-ui-angular-core-state.d.ts +0 -6
- package/state/qualcomm-ui-angular-core-state.d.ts.map +0 -1
- package/state/use-controlled-state.d.ts +0 -13
- package/state/use-controlled-state.d.ts.map +0 -1
- package/switch/core-switch-control.directive.d.ts +0 -13
- package/switch/core-switch-control.directive.d.ts.map +0 -1
- package/switch/core-switch-error-text.directive.d.ts +0 -20
- package/switch/core-switch-error-text.directive.d.ts.map +0 -1
- package/switch/core-switch-hidden-input.directive.d.ts +0 -20
- package/switch/core-switch-hidden-input.directive.d.ts.map +0 -1
- package/switch/core-switch-label.directive.d.ts +0 -20
- package/switch/core-switch-label.directive.d.ts.map +0 -1
- package/switch/core-switch-root.directive.d.ts +0 -48
- package/switch/core-switch-root.directive.d.ts.map +0 -1
- package/switch/core-switch-thumb.directive.d.ts +0 -13
- package/switch/core-switch-thumb.directive.d.ts.map +0 -1
- package/switch/qualcomm-ui-angular-core-switch.d.ts +0 -6
- package/switch/qualcomm-ui-angular-core-switch.d.ts.map +0 -1
- package/switch/switch-context.service.d.ts +0 -9
- package/switch/switch-context.service.d.ts.map +0 -1
- package/tabs/core-tab-button.directive.d.ts +0 -21
- package/tabs/core-tab-button.directive.d.ts.map +0 -1
- package/tabs/core-tab-dismiss-button.directive.d.ts +0 -14
- package/tabs/core-tab-dismiss-button.directive.d.ts.map +0 -1
- package/tabs/core-tab-root.directive.d.ts +0 -26
- package/tabs/core-tab-root.directive.d.ts.map +0 -1
- package/tabs/core-tabs-indicator.directive.d.ts +0 -20
- package/tabs/core-tabs-indicator.directive.d.ts.map +0 -1
- package/tabs/core-tabs-list.directive.d.ts +0 -20
- package/tabs/core-tabs-list.directive.d.ts.map +0 -1
- package/tabs/core-tabs-panel.directive.d.ts +0 -33
- package/tabs/core-tabs-panel.directive.d.ts.map +0 -1
- package/tabs/core-tabs-root.directive.d.ts +0 -104
- package/tabs/core-tabs-root.directive.d.ts.map +0 -1
- package/tabs/qualcomm-ui-angular-core-tabs.d.ts +0 -6
- package/tabs/qualcomm-ui-angular-core-tabs.d.ts.map +0 -1
- package/tabs/tab-context.service.d.ts +0 -9
- package/tabs/tab-context.service.d.ts.map +0 -1
- package/tabs/tabs-context.service.d.ts +0 -9
- package/tabs/tabs-context.service.d.ts.map +0 -1
- package/text-area/qualcomm-ui-angular-core-text-area.d.ts +0 -6
- package/text-area/qualcomm-ui-angular-core-text-area.d.ts.map +0 -1
- package/text-input/core-text-input-clear-trigger.directive.d.ts +0 -13
- package/text-input/core-text-input-clear-trigger.directive.d.ts.map +0 -1
- package/text-input/core-text-input-error-indicator.directive.d.ts +0 -13
- package/text-input/core-text-input-error-indicator.directive.d.ts.map +0 -1
- package/text-input/core-text-input-error-text.directive.d.ts +0 -16
- package/text-input/core-text-input-error-text.directive.d.ts.map +0 -1
- package/text-input/core-text-input-hint.directive.d.ts +0 -16
- package/text-input/core-text-input-hint.directive.d.ts.map +0 -1
- package/text-input/core-text-input-input-group.directive.d.ts +0 -13
- package/text-input/core-text-input-input-group.directive.d.ts.map +0 -1
- package/text-input/core-text-input-input.directive.d.ts +0 -16
- package/text-input/core-text-input-input.directive.d.ts.map +0 -1
- package/text-input/core-text-input-label.directive.d.ts +0 -16
- package/text-input/core-text-input-label.directive.d.ts.map +0 -1
- package/text-input/core-text-input-root.directive.d.ts +0 -36
- package/text-input/core-text-input-root.directive.d.ts.map +0 -1
- package/text-input/qualcomm-ui-angular-core-text-input.d.ts +0 -6
- package/text-input/qualcomm-ui-angular-core-text-input.d.ts.map +0 -1
- package/text-input/text-input-context.service.d.ts +0 -9
- package/text-input/text-input-context.service.d.ts.map +0 -1
- package/toast/core-toast-action.directive.d.ts +0 -13
- package/toast/core-toast-action.directive.d.ts.map +0 -1
- package/toast/core-toast-close-trigger.directive.d.ts +0 -13
- package/toast/core-toast-close-trigger.directive.d.ts.map +0 -1
- package/toast/core-toast-description.directive.d.ts +0 -14
- package/toast/core-toast-description.directive.d.ts.map +0 -1
- package/toast/core-toast-label.directive.d.ts +0 -13
- package/toast/core-toast-label.directive.d.ts.map +0 -1
- package/toast/core-toast-root.directive.d.ts +0 -13
- package/toast/core-toast-root.directive.d.ts.map +0 -1
- package/toast/core-toaster.directive.d.ts +0 -42
- package/toast/core-toaster.directive.d.ts.map +0 -1
- package/toast/qualcomm-ui-angular-core-toast.d.ts +0 -6
- package/toast/qualcomm-ui-angular-core-toast.d.ts.map +0 -1
- package/toast/toast-context.service.d.ts +0 -9
- package/toast/toast-context.service.d.ts.map +0 -1
- package/toast/toast-group-context.service.d.ts +0 -9
- package/toast/toast-group-context.service.d.ts.map +0 -1
- package/tooltip/core-tooltip-arrow-tip.directive.d.ts +0 -10
- package/tooltip/core-tooltip-arrow-tip.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-arrow.directive.d.ts +0 -17
- package/tooltip/core-tooltip-arrow.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-content.directive.d.ts +0 -17
- package/tooltip/core-tooltip-content.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-positioner.directive.d.ts +0 -17
- package/tooltip/core-tooltip-positioner.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-root.directive.d.ts +0 -53
- package/tooltip/core-tooltip-root.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-trigger.directive.d.ts +0 -17
- package/tooltip/core-tooltip-trigger.directive.d.ts.map +0 -1
- package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts +0 -6
- package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts.map +0 -1
- package/tooltip/tooltip-context.service.d.ts +0 -9
- package/tooltip/tooltip-context.service.d.ts.map +0 -1
- package/virtual/proxy.d.ts +0 -5
- package/virtual/proxy.d.ts.map +0 -1
- package/virtual/qualcomm-ui-angular-core-virtual.d.ts +0 -6
- package/virtual/qualcomm-ui-angular-core-virtual.d.ts.map +0 -1
- package/virtual/types.d.ts +0 -14
- package/virtual/types.d.ts.map +0 -1
- package/virtual/virtual.d.ts +0 -12
- package/virtual/virtual.d.ts.map +0 -1
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
import { DOCUMENT, isPlatformServer } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, inject, signal, computed, PLATFORM_ID, Injectable, untracked } from '@angular/core';
|
|
4
|
+
import { Check, Copy } from 'lucide-angular';
|
|
5
|
+
import { DescendantsManager } from '@qualcomm-ui/utils/descendants';
|
|
6
|
+
|
|
7
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
8
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
9
|
+
const WINDOW = new InjectionToken("An abstraction over global window object", {
|
|
10
|
+
factory: () => {
|
|
11
|
+
const { defaultView } = inject(DOCUMENT);
|
|
12
|
+
if (!defaultView) {
|
|
13
|
+
throw new Error("Window is not available");
|
|
14
|
+
}
|
|
15
|
+
return defaultView;
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
20
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
21
|
+
const CACHES = new InjectionToken("An abstraction over window.caches object", {
|
|
22
|
+
factory: () => inject(WINDOW).caches,
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
26
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
27
|
+
const CSS = new InjectionToken("An abstraction over window.CSS object", {
|
|
28
|
+
factory: () => inject(WINDOW).CSS || {
|
|
29
|
+
escape: (v) => v,
|
|
30
|
+
supports: () => false,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
35
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
36
|
+
const LOCAL_STORAGE = new InjectionToken("An abstraction over window.localStorage object", {
|
|
37
|
+
factory: () => inject(WINDOW).localStorage,
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
41
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
42
|
+
const LOCATION = new InjectionToken("An abstraction over window.location object", {
|
|
43
|
+
factory: () => inject(WINDOW).location,
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
47
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
48
|
+
const NAVIGATOR = new InjectionToken("An abstraction over window.navigator object", {
|
|
49
|
+
factory: () => inject(WINDOW).navigator,
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
53
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
54
|
+
const MEDIA_DEVICES = new InjectionToken("An abstraction over window.navigator.mediaDevices object", {
|
|
55
|
+
factory: () => inject(NAVIGATOR).mediaDevices,
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
59
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
60
|
+
const PERFORMANCE = new InjectionToken("An abstraction over window.performance object", {
|
|
61
|
+
factory: () => inject(WINDOW).performance,
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
65
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
66
|
+
const SCREEN = new InjectionToken("An abstraction over window.screen object", {
|
|
67
|
+
factory: () => inject(WINDOW).screen,
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
71
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
72
|
+
const USER_AGENT = new InjectionToken("An abstraction over window.navigator.userAgent object", {
|
|
73
|
+
factory: () => inject(NAVIGATOR).userAgent,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
77
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
78
|
+
/**
|
|
79
|
+
* A simple helper service for copying text to the user's clipboard. SSR-safe,
|
|
80
|
+
* debounce support, and optional icon support.
|
|
81
|
+
*/
|
|
82
|
+
class ClipboardService {
|
|
83
|
+
get copied() {
|
|
84
|
+
return this._copied.asReadonly();
|
|
85
|
+
}
|
|
86
|
+
_copied = signal(false, ...(ngDevMode ? [{ debugName: "_copied" }] : []));
|
|
87
|
+
icon = computed(() => this.copied() ? Check : Copy, ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
88
|
+
copyTimeout;
|
|
89
|
+
navigator = inject(NAVIGATOR);
|
|
90
|
+
platformId = inject(PLATFORM_ID);
|
|
91
|
+
ngOnDestroy() {
|
|
92
|
+
clearTimeout(this.copyTimeout);
|
|
93
|
+
}
|
|
94
|
+
async copy(text, timeout = 1200) {
|
|
95
|
+
// debounce
|
|
96
|
+
if (this.copied() || isPlatformServer(this.platformId)) {
|
|
97
|
+
return undefined;
|
|
98
|
+
}
|
|
99
|
+
// show an indicator that the copy action succeeded
|
|
100
|
+
this._copied.set(true);
|
|
101
|
+
this.copyTimeout = setTimeout(() => {
|
|
102
|
+
this._copied.set(false);
|
|
103
|
+
}, timeout);
|
|
104
|
+
return this.navigator.clipboard.writeText(text).then(() => text);
|
|
105
|
+
}
|
|
106
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: ClipboardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
107
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: ClipboardService });
|
|
108
|
+
}
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: ClipboardService, decorators: [{
|
|
110
|
+
type: Injectable
|
|
111
|
+
}] });
|
|
112
|
+
|
|
113
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
114
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
115
|
+
/**
|
|
116
|
+
* A simple wrapper around a signal for tracking an element's id in a shared
|
|
117
|
+
* service. This signal resets the value when its element's reference is destroyed.
|
|
118
|
+
*
|
|
119
|
+
* @param initialValue
|
|
120
|
+
* @param options
|
|
121
|
+
*/
|
|
122
|
+
function contextIdSignal(initialValue, options) {
|
|
123
|
+
const signalFn = signal(initialValue, options);
|
|
124
|
+
const setter = signalFn.set;
|
|
125
|
+
signalFn.asAttribute = () => signalFn() || undefined;
|
|
126
|
+
signalFn.set = (value, onDestroy) => {
|
|
127
|
+
onDestroy?.(() => {
|
|
128
|
+
setter(initialValue);
|
|
129
|
+
});
|
|
130
|
+
setter(value);
|
|
131
|
+
};
|
|
132
|
+
return signalFn;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
136
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
137
|
+
class DescendantsManagerService extends DescendantsManager {
|
|
138
|
+
// simple signal for consumers to subscribe to changes.
|
|
139
|
+
get subscribe() {
|
|
140
|
+
return this._subscribe.asReadonly();
|
|
141
|
+
}
|
|
142
|
+
_subscribe = signal(0, ...(ngDevMode ? [{ debugName: "_subscribe" }] : []));
|
|
143
|
+
emit() {
|
|
144
|
+
this._subscribe.update((prev) => prev + 1);
|
|
145
|
+
}
|
|
146
|
+
register(nodeOrOptions) {
|
|
147
|
+
super.register(nodeOrOptions);
|
|
148
|
+
untracked(() => this.emit());
|
|
149
|
+
}
|
|
150
|
+
unregister(node) {
|
|
151
|
+
super.unregister(node);
|
|
152
|
+
untracked(() => this.emit());
|
|
153
|
+
}
|
|
154
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: DescendantsManagerService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
155
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: DescendantsManagerService });
|
|
156
|
+
}
|
|
157
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: DescendantsManagerService, decorators: [{
|
|
158
|
+
type: Injectable
|
|
159
|
+
}] });
|
|
160
|
+
|
|
161
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
162
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
163
|
+
/**
|
|
164
|
+
* A simple wrapper around a signal for tracking an element's id in a shared
|
|
165
|
+
* service. This signal resets the value when its element's reference is destroyed.
|
|
166
|
+
*
|
|
167
|
+
* @param initialValue
|
|
168
|
+
* @param options
|
|
169
|
+
*/
|
|
170
|
+
function elementIdSignal(initialValue, options) {
|
|
171
|
+
const signalFn = signal(initialValue, options);
|
|
172
|
+
const setter = signalFn.set;
|
|
173
|
+
signalFn.asAttribute = () => signalFn() || undefined;
|
|
174
|
+
signalFn.set = (value, destroyRef) => {
|
|
175
|
+
onElementDestroyed();
|
|
176
|
+
onElementDestroyed = destroyRef.onDestroy(() => {
|
|
177
|
+
setter(initialValue);
|
|
178
|
+
});
|
|
179
|
+
setter(value);
|
|
180
|
+
};
|
|
181
|
+
let onElementDestroyed = () => { };
|
|
182
|
+
return signalFn;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
186
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
187
|
+
/**
|
|
188
|
+
* Simple service that can persist IDs across from SSR to CSR.
|
|
189
|
+
*/
|
|
190
|
+
class IdService {
|
|
191
|
+
ids = {};
|
|
192
|
+
useId(componentName, idProp, idAttr) {
|
|
193
|
+
// only use the supplied id if it does not also map to an attribute. This is a
|
|
194
|
+
// workaround because we are using the `id` prop. If supplied as `[id]`, it
|
|
195
|
+
// will work as expected. If supplied as `[attr.id]` or `id`, it will be treated
|
|
196
|
+
// as an attribute. When this happens, we do not use the supplied id and instead
|
|
197
|
+
// generate one. Otherwise, we'd get two ID's in the DOM (one on the host
|
|
198
|
+
// element and one on the internal element that we bind the id to).
|
|
199
|
+
const id = idProp || idAttr;
|
|
200
|
+
if (id) {
|
|
201
|
+
return id;
|
|
202
|
+
}
|
|
203
|
+
if (!this.ids[componentName]) {
|
|
204
|
+
this.ids[componentName] = 1;
|
|
205
|
+
}
|
|
206
|
+
return `${componentName}::auto-id::${this.ids[componentName]++}`;
|
|
207
|
+
}
|
|
208
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: IdService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
209
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: IdService, providedIn: "root" });
|
|
210
|
+
}
|
|
211
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: IdService, decorators: [{
|
|
212
|
+
type: Injectable,
|
|
213
|
+
args: [{ providedIn: "root" }]
|
|
214
|
+
}] });
|
|
215
|
+
|
|
216
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
217
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
218
|
+
class PortalConfigService {
|
|
219
|
+
_portalNodeId = "q-portal-root";
|
|
220
|
+
get portalNodeId() {
|
|
221
|
+
return this._portalNodeId;
|
|
222
|
+
}
|
|
223
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: PortalConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
224
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: PortalConfigService, providedIn: "root" });
|
|
225
|
+
}
|
|
226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: PortalConfigService, decorators: [{
|
|
227
|
+
type: Injectable,
|
|
228
|
+
args: [{ providedIn: "root" }]
|
|
229
|
+
}] });
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Generated bundle index. Do not edit.
|
|
233
|
+
*/
|
|
234
|
+
|
|
235
|
+
export { CACHES, CSS, ClipboardService, DescendantsManagerService, IdService, LOCAL_STORAGE, LOCATION, MEDIA_DEVICES, NAVIGATOR, PERFORMANCE, PortalConfigService, SCREEN, USER_AGENT, WINDOW, contextIdSignal, elementIdSignal };
|
|
236
|
+
//# sourceMappingURL=qualcomm-ui-angular-core-dom.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-dom.mjs","sources":["../../src/dom/tokens/window.ts","../../src/dom/tokens/caches.ts","../../src/dom/tokens/css.ts","../../src/dom/tokens/local-storage.ts","../../src/dom/tokens/location.ts","../../src/dom/tokens/navigator.ts","../../src/dom/tokens/media-devices.ts","../../src/dom/tokens/performance.ts","../../src/dom/tokens/screen.ts","../../src/dom/tokens/user-agent.ts","../../src/dom/clipboard.service.ts","../../src/dom/context-id-signal.ts","../../src/dom/descendants-manager.service.ts","../../src/dom/element-id-signal.ts","../../src/dom/id.service.ts","../../src/dom/portal-config.service.ts","../../src/dom/qualcomm-ui-angular-core-dom.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {inject, InjectionToken} from \"@angular/core\"\n\nexport const WINDOW = new InjectionToken<Window>(\n \"An abstraction over global window object\",\n {\n factory: () => {\n const {defaultView} = inject(DOCUMENT)\n\n if (!defaultView) {\n throw new Error(\"Window is not available\")\n }\n\n return defaultView\n },\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {WINDOW} from \"./window\"\n\nexport const CACHES = new InjectionToken<CacheStorage>(\n \"An abstraction over window.caches object\",\n {\n factory: () => inject(WINDOW).caches,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {WINDOW} from \"./window\"\n\n/**\n * Use Window['CSS'], this is a workaround to support Angular 6+\n */\ninterface Css {\n escape(ident: string): string\n supports(property: string, value: string): boolean\n supports(conditionText: string): boolean\n}\n\nexport const CSS = new InjectionToken<Css>(\n \"An abstraction over window.CSS object\",\n {\n factory: () =>\n (inject(WINDOW) as any).CSS || {\n escape: (v) => v,\n supports: () => false,\n },\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {WINDOW} from \"./window\"\n\nexport const LOCAL_STORAGE = new InjectionToken<Storage>(\n \"An abstraction over window.localStorage object\",\n {\n factory: () => inject(WINDOW).localStorage,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {WINDOW} from \"./window\"\n\nexport const LOCATION = new InjectionToken<Location>(\n \"An abstraction over window.location object\",\n {\n factory: () => inject(WINDOW).location,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {WINDOW} from \"./window\"\n\nexport const NAVIGATOR = new InjectionToken<Navigator>(\n \"An abstraction over window.navigator object\",\n {\n factory: () => inject(WINDOW).navigator,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {NAVIGATOR} from \"./navigator\"\n\nexport const MEDIA_DEVICES = new InjectionToken<MediaDevices>(\n \"An abstraction over window.navigator.mediaDevices object\",\n {\n factory: () => inject(NAVIGATOR).mediaDevices,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {WINDOW} from \"./window\"\n\nexport const PERFORMANCE = new InjectionToken<Performance>(\n \"An abstraction over window.performance object\",\n {\n factory: () => inject(WINDOW).performance,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {WINDOW} from \"./window\"\n\nexport const SCREEN = new InjectionToken<Screen>(\n \"An abstraction over window.screen object\",\n {\n factory: () => inject(WINDOW).screen,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken} from \"@angular/core\"\n\nimport {NAVIGATOR} from \"./navigator\"\n\nexport const USER_AGENT = new InjectionToken<string>(\n \"An abstraction over window.navigator.userAgent object\",\n {\n factory: () => inject(NAVIGATOR).userAgent,\n },\n)\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {isPlatformServer} from \"@angular/common\"\nimport {\n computed,\n inject,\n Injectable,\n type OnDestroy,\n PLATFORM_ID,\n type Signal,\n signal,\n} from \"@angular/core\"\nimport {Check, Copy} from \"lucide-angular\"\n\nimport type {LucideIcon} from \"@qualcomm-ui/angular-core/lucide\"\n\nimport {NAVIGATOR} from \"./tokens\"\n\n/**\n * A simple helper service for copying text to the user's clipboard. SSR-safe,\n * debounce support, and optional icon support.\n */\n@Injectable()\nexport class ClipboardService implements OnDestroy {\n get copied() {\n return this._copied.asReadonly()\n }\n private readonly _copied = signal<boolean>(false)\n\n readonly icon: Signal<LucideIcon> = computed(() =>\n this.copied() ? Check : Copy,\n )\n\n private copyTimeout: ReturnType<typeof setTimeout>\n\n private navigator = inject(NAVIGATOR)\n private platformId = inject(PLATFORM_ID)\n\n ngOnDestroy() {\n clearTimeout(this.copyTimeout)\n }\n\n async copy(text: string, timeout = 1200) {\n // debounce\n if (this.copied() || isPlatformServer(this.platformId)) {\n return undefined\n }\n // show an indicator that the copy action succeeded\n this._copied.set(true)\n this.copyTimeout = setTimeout(() => {\n this._copied.set(false)\n }, timeout)\n\n return this.navigator.clipboard.writeText(text).then(() => text)\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n type CreateSignalOptions,\n signal,\n type WritableSignal,\n} from \"@angular/core\"\n\nexport type ContextIdSignal = WritableSignal<string> & {\n /**\n * Retrieves the id string, or undefined if it is empty. When you bind `undefined`\n * to an attribute in Angular, the attribute is removed from the DOM element.\n *\n * @example\n *\n * ```ts\n * @Component({\n * template: `\n * <div id=\"1\" [attr.aria-labelledby]=\"emptyId\"></div>\n * <div id=\"2\" [attr.aria-labelledby]=\"undefinedId\"></div>\n * `\n * })\n * class Component {\n * emptyId = \"\"\n * undefinedId = undefined\n * }\n *```\n *\n *```html\n * <!-- resulting DOM elements: -->\n * <!-- invalid DOM element: aria-labelledby must be set if defined -->\n * <div id=\"1\" aria-labelledby></div>\n *\n * <!-- valid DOM element -->\n * <div id=\"2\"></div>\n *```\n */\n asAttribute(): string | undefined\n\n set(value: string, onDestroy?: (callback: () => void) => void): void\n}\n\n/**\n * A simple wrapper around a signal for tracking an element's id in a shared\n * service. This signal resets the value when its element's reference is destroyed.\n *\n * @param initialValue\n * @param options\n */\nexport function contextIdSignal(\n initialValue?: string,\n options?: CreateSignalOptions<string | undefined>,\n) {\n const signalFn = signal(initialValue, options)\n const setter = signalFn.set\n\n ;(signalFn as unknown as ContextIdSignal).asAttribute = () =>\n signalFn() || undefined\n ;(signalFn as unknown as any).set = (\n value: string | undefined,\n onDestroy?: (callback: () => void) => void,\n ) => {\n onDestroy?.(() => {\n setter(initialValue)\n })\n setter(value)\n }\n\n return signalFn as ContextIdSignal\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable, signal, untracked} from \"@angular/core\"\n\nimport {\n type DescendantOptions,\n DescendantsManager,\n} from \"@qualcomm-ui/utils/descendants\"\n\n@Injectable()\nexport class DescendantsManagerService<\n T extends HTMLElement,\n K extends Record<string, any> = object,\n> extends DescendantsManager<T, K> {\n // simple signal for consumers to subscribe to changes.\n get subscribe() {\n return this._subscribe.asReadonly()\n }\n\n private readonly _subscribe = signal<number>(0)\n\n emit() {\n this._subscribe.update((prev) => prev + 1)\n }\n\n override register(nodeOrOptions: T | null | DescendantOptions<K>) {\n super.register(nodeOrOptions)\n untracked(() => this.emit())\n }\n\n override unregister(node: T) {\n super.unregister(node)\n untracked(() => this.emit())\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n type CreateSignalOptions,\n type DestroyRef,\n signal,\n type WritableSignal,\n} from \"@angular/core\"\n\nexport type ElementIdSignal = WritableSignal<string> & {\n /**\n * Retrieves the id string, or undefined if it is empty. When you bind `undefined`\n * to an attribute in Angular, the attribute is removed from the DOM element.\n *\n * @example\n *\n * ```ts\n * @Component({\n * template: `\n * <div id=\"1\" [attr.aria-labelledby]=\"emptyId\"></div>\n * <div id=\"2\" [attr.aria-labelledby]=\"undefinedId\"></div>\n * `\n * })\n * class Component {\n * emptyId = \"\"\n * undefinedId = undefined\n * }\n *```\n *\n *```html\n * <!-- resulting DOM elements: -->\n * <!-- invalid DOM element: aria-labelledby must be set if defined -->\n * <div id=\"1\" aria-labelledby></div>\n *\n * <!-- valid DOM element -->\n * <div id=\"2\"></div>\n *```\n */\n asAttribute(): string | undefined\n\n set(value: string, destroyRef: DestroyRef): void\n}\n\n/**\n * A simple wrapper around a signal for tracking an element's id in a shared\n * service. This signal resets the value when its element's reference is destroyed.\n *\n * @param initialValue\n * @param options\n */\nexport function elementIdSignal(\n initialValue?: string,\n options?: CreateSignalOptions<string | undefined>,\n) {\n const signalFn = signal(initialValue, options)\n const setter = signalFn.set\n\n ;(signalFn as unknown as ElementIdSignal).asAttribute = () =>\n signalFn() || undefined\n ;(signalFn as unknown as any).set = (\n value: string | undefined,\n destroyRef: DestroyRef,\n ) => {\n onElementDestroyed()\n onElementDestroyed = destroyRef.onDestroy(() => {\n setter(initialValue)\n })\n setter(value)\n }\n\n let onElementDestroyed = () => {}\n\n return signalFn as ElementIdSignal\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\n/**\n * Simple service that can persist IDs across from SSR to CSR.\n */\n@Injectable({providedIn: \"root\"})\nexport class IdService {\n private ids: Record<string, number> = {}\n\n useId(\n componentName: string,\n idProp: string | undefined | null,\n idAttr: string | null,\n ) {\n // only use the supplied id if it does not also map to an attribute. This is a\n // workaround because we are using the `id` prop. If supplied as `[id]`, it\n // will work as expected. If supplied as `[attr.id]` or `id`, it will be treated\n // as an attribute. When this happens, we do not use the supplied id and instead\n // generate one. Otherwise, we'd get two ID's in the DOM (one on the host\n // element and one on the internal element that we bind the id to).\n const id = idProp || idAttr\n if (id) {\n return id\n }\n if (!this.ids[componentName]) {\n this.ids[componentName] = 1\n }\n return `${componentName}::auto-id::${this.ids[componentName]++}`\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\n@Injectable({providedIn: \"root\"})\nexport class PortalConfigService {\n private _portalNodeId = \"q-portal-root\"\n\n get portalNodeId() {\n return this._portalNodeId\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AACA;MAKa,MAAM,GAAG,IAAI,cAAc,CACtC,0CAA0C,EAC1C;IACE,OAAO,EAAE,MAAK;QACZ,MAAM,EAAC,WAAW,EAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;QAEtC,IAAI,CAAC,WAAW,EAAE;AAChB,YAAA,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC;QAC5C;AAEA,QAAA,OAAO,WAAW;IACpB,CAAC;AACF,CAAA;;AClBH;AACA;MAMa,MAAM,GAAG,IAAI,cAAc,CACtC,0CAA0C,EAC1C;IACE,OAAO,EAAE,MAAM,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM;AACrC,CAAA;;ACXH;AACA;MAea,GAAG,GAAG,IAAI,cAAc,CACnC,uCAAuC,EACvC;IACE,OAAO,EAAE,MACN,MAAM,CAAC,MAAM,CAAS,CAAC,GAAG,IAAI;AAC7B,QAAA,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC;AAChB,QAAA,QAAQ,EAAE,MAAM,KAAK;AACtB,KAAA;AACJ,CAAA;;ACxBH;AACA;MAMa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W,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,cADP,MAAM,EAAA,CAAA;;4FAClB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;ACLhC;;AAEG;;;;"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, Renderer2, Injectable, DestroyRef, signal, effect } from '@angular/core';
|
|
4
|
+
import { NAVIGATOR } from '@qualcomm-ui/angular-core/dom';
|
|
5
|
+
|
|
1
6
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
7
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
|
|
4
|
-
import { ElementRef, inject, Injectable, Renderer2 } from "@angular/core";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class ListenerService {
|
|
8
|
+
class ListenerService {
|
|
7
9
|
listeners = new Map();
|
|
8
10
|
rendererListeners = [];
|
|
9
11
|
renderer = inject(Renderer2);
|
|
@@ -58,10 +60,62 @@ export class ListenerService {
|
|
|
58
60
|
});
|
|
59
61
|
this.listeners.clear();
|
|
60
62
|
}
|
|
61
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
62
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
63
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: ListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
64
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: ListenerService });
|
|
63
65
|
}
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: ListenerService, decorators: [{
|
|
65
67
|
type: Injectable
|
|
66
68
|
}] });
|
|
67
|
-
|
|
69
|
+
|
|
70
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
71
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
72
|
+
function useCopyToClipboard(props) {
|
|
73
|
+
const { valueOrFn } = props;
|
|
74
|
+
const destroyRef = inject(DestroyRef);
|
|
75
|
+
const navigator = inject(NAVIGATOR);
|
|
76
|
+
const isCopied = signal(false, ...(ngDevMode ? [{ debugName: "isCopied" }] : []));
|
|
77
|
+
let copyTimeout;
|
|
78
|
+
effect(() => {
|
|
79
|
+
if (isCopied()) {
|
|
80
|
+
copyTimeout = setTimeout(() => {
|
|
81
|
+
isCopied.set(false);
|
|
82
|
+
}, 2000);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
if (copyTimeout !== undefined) {
|
|
86
|
+
clearTimeout(copyTimeout);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
destroyRef.onDestroy(() => {
|
|
91
|
+
if (copyTimeout !== undefined) {
|
|
92
|
+
clearTimeout(copyTimeout);
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
const copyToClipboard = () => {
|
|
96
|
+
if (!navigator?.clipboard) {
|
|
97
|
+
console.error("Access to clipboard rejected!");
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
const value = typeof valueOrFn === "function" ? valueOrFn() : valueOrFn;
|
|
101
|
+
navigator.clipboard
|
|
102
|
+
.writeText(value)
|
|
103
|
+
.then(() => {
|
|
104
|
+
isCopied.set(true);
|
|
105
|
+
})
|
|
106
|
+
.catch(() => {
|
|
107
|
+
console.error("Failed to copy!");
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
return {
|
|
111
|
+
copyToClipboard,
|
|
112
|
+
isCopied: isCopied.asReadonly(),
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Generated bundle index. Do not edit.
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
export { ListenerService, useCopyToClipboard };
|
|
121
|
+
//# sourceMappingURL=qualcomm-ui-angular-core-events.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-events.mjs","sources":["../../src/events/listener.service.ts","../../src/events/use-copy-to-clipboard.ts","../../src/events/qualcomm-ui-angular-core-events.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {ElementRef, inject, Injectable, Renderer2} from \"@angular/core\"\n\nexport type ListenerTrigger = \"hover\" | \"focus\" | \"click\" | \"manual\"\n\nexport type ListenerTriggerOn = \"focus\" | \"mouse-enter\"\nexport type ListenerTriggerOff = \"blur\" | \"mouse-leave\"\nexport type ListenerTriggerToggle = \"click\"\n\nexport interface ListenerConfig {\n callbackOff?: (event: any, reason: ListenerTriggerOff) => void\n callbackOn?: (event: any, reason: ListenerTriggerOn) => void\n callbackToggle?: (event: any, reason: ListenerTriggerToggle) => void\n hostElement: ElementRef\n trigger?: ListenerTrigger | ListenerTrigger[]\n}\n\n@Injectable()\nexport class ListenerService {\n private listeners: Map<string, () => void> = new Map()\n private rendererListeners: Array<(() => void) | undefined> = []\n\n private renderer = inject(Renderer2)\n private document = inject(DOCUMENT)\n\n setDocumentListener<T extends Event>(\n eventName: string,\n callback: (event: T) => void,\n ) {\n this.setListener(this.document, eventName, callback)\n }\n\n setListener<T extends Event>(\n el: HTMLElement | Document | Window,\n eventName: string,\n callback: (event: T) => void,\n ) {\n this.rendererListeners.push(this.renderer.listen(el, eventName, callback))\n }\n\n clearDomListeners() {\n this.rendererListeners.forEach((unsub) => unsub?.())\n this.rendererListeners.fill(undefined)\n this.rendererListeners = []\n }\n\n setListeners({\n callbackOff,\n callbackOn,\n callbackToggle,\n hostElement,\n trigger,\n }: ListenerConfig): void {\n const host = hostElement.nativeElement\n const triggers = Array.isArray(trigger)\n ? trigger\n : (trigger?.split(\" \") ?? [])\n\n if (triggers.includes(\"click\")) {\n if (typeof callbackToggle === \"function\") {\n this.listeners.set(\n \"click\",\n this.renderer.listen(host, \"click\", (event) =>\n callbackToggle(event, \"click\"),\n ),\n )\n }\n }\n if (triggers.includes(\"focus\")) {\n if (typeof callbackOn === \"function\") {\n this.listeners.set(\n \"focus\",\n this.renderer.listen(host, \"focus\", (event) =>\n callbackOn(event, \"focus\"),\n ),\n )\n }\n }\n if (triggers.includes(\"click\") || triggers.includes(\"focus\")) {\n if (typeof callbackOff === \"function\") {\n this.listeners.set(\n \"blur\",\n this.renderer.listen(host, \"blur\", (event) =>\n callbackOff(event, \"blur\"),\n ),\n )\n }\n }\n if (triggers.includes(\"hover\")) {\n if (typeof callbackOn === \"function\") {\n this.listeners.set(\n \"mouseenter\",\n this.renderer.listen(host, \"mouseenter\", (event) =>\n callbackOn(event, \"mouse-enter\"),\n ),\n )\n }\n\n if (typeof callbackOff === \"function\") {\n this.listeners.set(\n \"mouseleave\",\n this.renderer.listen(host, \"mouseleave\", (event) =>\n callbackOff(event, \"mouse-leave\"),\n ),\n )\n }\n }\n }\n\n clearListeners(): void {\n this.listeners.forEach((unListen) => {\n unListen()\n })\n this.listeners.forEach((unlisten, key) => {\n // @ts-ignore\n this.listeners.set(key, null)\n })\n this.listeners.clear()\n }\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DestroyRef, effect, inject, signal} from \"@angular/core\"\n\nimport {NAVIGATOR} from \"@qualcomm-ui/angular-core/dom\"\n\nexport interface UseCopyToClipboardProps {\n valueOrFn: (() => string) | string\n}\n\nexport interface UseCopyToClipboard {\n copyToClipboard: () => void\n isCopied: () => boolean\n}\n\nexport function useCopyToClipboard(\n props: UseCopyToClipboardProps,\n): UseCopyToClipboard {\n const {valueOrFn} = props\n const destroyRef = inject(DestroyRef)\n\n const navigator = inject(NAVIGATOR)\n\n const isCopied = signal<boolean>(false)\n let copyTimeout: ReturnType<typeof setTimeout>\n\n effect(() => {\n if (isCopied()) {\n copyTimeout = setTimeout(() => {\n isCopied.set(false)\n }, 2000)\n } else {\n if (copyTimeout !== undefined) {\n clearTimeout(copyTimeout)\n }\n }\n })\n\n destroyRef.onDestroy(() => {\n if (copyTimeout !== undefined) {\n clearTimeout(copyTimeout)\n }\n })\n\n const copyToClipboard = () => {\n if (!navigator?.clipboard) {\n console.error(\"Access to clipboard rejected!\")\n return\n }\n\n const value = typeof valueOrFn === \"function\" ? valueOrFn() : valueOrFn\n\n navigator.clipboard\n .writeText(value)\n .then(() => {\n isCopied.set(true)\n })\n .catch(() => {\n console.error(\"Failed to copy!\")\n })\n }\n\n return {\n copyToClipboard,\n isCopied: isCopied.asReadonly(),\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AACA;MAoBa,eAAe,CAAA;AAClB,IAAA,SAAS,GAA4B,IAAI,GAAG,EAAE;IAC9C,iBAAiB,GAAoC,EAAE;AAEvD,IAAA,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AAC5B,IAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;IAEnC,mBAAmB,CACjB,SAAiB,EACjB,QAA4B,EAAA;QAE5B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAE,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AAG,SAAS,EAAE,GAAG,SAAS;AAEvE,QAAA,SAAS,CAAC;aACP,SAAS,CAAC,KAAK;aACf,IAAI,CAAC,MAAK;AACT,YAAA,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC;AACpB,QAAA,CAAC;aACA,KAAK,CAAC,MAAK;AACV,YAAA,OAAO,CAAC,KAAK,CAAC,iBAAiB,CAAC;AAClC,QAAA,CAAC,CAAC;AACN,IAAA,CAAC;IAED,OAAO;QACL,eAAe;AACf,QAAA,QAAQ,EAAE,QAAQ,CAAC,UAAU,EAAE;KAChC;AACH;;ACnEA;;AAEG;;;;"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { toSignal } from '@angular/core/rxjs-interop';
|
|
2
|
+
import { ValueChangeEvent, StatusChangeEvent, TouchedChangeEvent, PristineChangeEvent, NgControl } from '@angular/forms';
|
|
3
|
+
import { filter, defer, combineLatest, startWith, map, distinctUntilChanged } from 'rxjs';
|
|
4
|
+
import { inject, afterNextRender } from '@angular/core';
|
|
5
|
+
|
|
1
6
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
7
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { toSignal } from "@angular/core/rxjs-interop";
|
|
4
|
-
import { PristineChangeEvent, StatusChangeEvent, TouchedChangeEvent, ValueChangeEvent, } from "@angular/forms";
|
|
5
|
-
import { combineLatest, defer, distinctUntilChanged, filter, map, startWith, } from "rxjs";
|
|
6
8
|
function valueEvents$(form) {
|
|
7
9
|
return form.events.pipe(filter((event) => event instanceof ValueChangeEvent));
|
|
8
10
|
}
|
|
@@ -27,7 +29,7 @@ function isPristineEvent(event) {
|
|
|
27
29
|
function isTouchedEvent(event) {
|
|
28
30
|
return event instanceof TouchedChangeEvent;
|
|
29
31
|
}
|
|
30
|
-
|
|
32
|
+
function allEventsObservable(form) {
|
|
31
33
|
return defer(() => combineLatest([
|
|
32
34
|
valueEvents$(form).pipe(startWith(form.value), map((value) => (isValueEvent(value) ? value.value : value)), distinctUntilChanged((previous, current) => JSON.stringify(previous) === JSON.stringify(current))),
|
|
33
35
|
statusEvents$(form).pipe(startWith(form.status)),
|
|
@@ -62,7 +64,7 @@ export function allEventsObservable(form) {
|
|
|
62
64
|
};
|
|
63
65
|
})));
|
|
64
66
|
}
|
|
65
|
-
|
|
67
|
+
function allEventsSignal(form) {
|
|
66
68
|
return toSignal(allEventsObservable(form), {
|
|
67
69
|
initialValue: {
|
|
68
70
|
dirty: form.dirty,
|
|
@@ -77,4 +79,32 @@ export function allEventsSignal(form) {
|
|
|
77
79
|
},
|
|
78
80
|
});
|
|
79
81
|
}
|
|
80
|
-
|
|
82
|
+
|
|
83
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
84
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
85
|
+
const consoleBoldStyle = "font-weight: bold; white-space: nowrap;";
|
|
86
|
+
function useForbiddenFormControlWarning(options = { directive: "", rootDirective: "" }) {
|
|
87
|
+
const ngControl = inject(NgControl, {
|
|
88
|
+
optional: true,
|
|
89
|
+
self: true,
|
|
90
|
+
});
|
|
91
|
+
return afterNextRender({
|
|
92
|
+
read: () => {
|
|
93
|
+
if (ngControl) {
|
|
94
|
+
if ("onError" in options) {
|
|
95
|
+
options.onError();
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
console.error(`An Angular form control binding was detected on a %c${options.directive}%c directive. This will not work as intended. Bind your form control to the ${options.rootDirective ? `parent %c${options.rootDirective}%c directive` : "root directive"} instead.`, consoleBoldStyle, "", consoleBoldStyle, "");
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Generated bundle index. Do not edit.
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
export { allEventsObservable, allEventsSignal, consoleBoldStyle, useForbiddenFormControlWarning };
|
|
110
|
+
//# sourceMappingURL=qualcomm-ui-angular-core-forms.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-forms.mjs","sources":["../../src/forms/form-utils.ts","../../src/forms/use-forbidden-form-control-warning.ts","../../src/forms/qualcomm-ui-angular-core-forms.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\n/*\n * Form + Signals interop.\n * https://www.angularspace.com/brewing-bootleg-reactive-forms-signals-from-rxjs/\n */\nimport type {Signal} from \"@angular/core\"\nimport {toSignal} from \"@angular/core/rxjs-interop\"\nimport {\n type AbstractControl,\n type ControlEvent,\n type FormControlStatus,\n PristineChangeEvent,\n StatusChangeEvent,\n TouchedChangeEvent,\n ValueChangeEvent,\n} from \"@angular/forms\"\nimport {\n combineLatest,\n defer,\n distinctUntilChanged,\n filter,\n map,\n type Observable,\n startWith,\n} from \"rxjs\"\n\nfunction valueEvents$<T>(form: AbstractControl<T>) {\n return form.events.pipe(\n filter(\n (event: ControlEvent): event is ValueChangeEvent<typeof form.value> =>\n event instanceof ValueChangeEvent,\n ),\n )\n}\n\nfunction statusEvents$<T>(form: AbstractControl<T>) {\n return form.events.pipe(\n filter(\n (event: ControlEvent): event is StatusChangeEvent =>\n event instanceof StatusChangeEvent,\n ),\n )\n}\n\nfunction touchedEvents$<T>(form: AbstractControl<T>) {\n return form.events.pipe(\n filter(\n (event: ControlEvent): event is TouchedChangeEvent =>\n event instanceof TouchedChangeEvent,\n ),\n )\n}\n\nfunction pristineEvents$<T>(form: AbstractControl<T>) {\n return form.events.pipe(\n filter(\n (event: ControlEvent): event is PristineChangeEvent =>\n event instanceof PristineChangeEvent,\n ),\n )\n}\n\nfunction isValueEvent<T>(\n event: ControlEvent | T,\n): event is ValueChangeEvent<T> {\n return event instanceof ValueChangeEvent\n}\nfunction isStatusEvent<T>(event: ControlEvent | T): event is StatusChangeEvent {\n return event instanceof StatusChangeEvent\n}\nfunction isPristineEvent<T>(\n event: ControlEvent | T,\n): event is PristineChangeEvent {\n return event instanceof PristineChangeEvent\n}\nfunction isTouchedEvent<T>(\n event: ControlEvent | T,\n): event is TouchedChangeEvent {\n return event instanceof TouchedChangeEvent\n}\n\nexport type FormEventData<T> = {\n dirty: boolean\n invalid: boolean\n pending: boolean\n pristine: boolean\n status: FormControlStatus\n touched: boolean\n untouched: boolean\n valid: boolean\n value: T\n}\n\nexport function allEventsObservable<T>(\n form: AbstractControl<T>,\n): Observable<FormEventData<T>> {\n return defer(() =>\n combineLatest([\n valueEvents$(form).pipe(\n startWith(form.value),\n map((value) => (isValueEvent(value) ? value.value : value)),\n distinctUntilChanged(\n (previous, current) =>\n JSON.stringify(previous) === JSON.stringify(current),\n ),\n ),\n statusEvents$(form).pipe(startWith(form.status)),\n touchedEvents$(form).pipe(startWith(form.touched)),\n pristineEvents$(form).pipe(startWith(form.pristine)),\n ]).pipe(\n map(([valueParam, statusParam, touchedParam, pristineParam]) => {\n // Original values (plus value)\n const stat: FormControlStatus | StatusChangeEvent = isStatusEvent(\n statusParam,\n )\n ? statusParam.status\n : statusParam\n const touch: boolean | TouchedChangeEvent = isTouchedEvent(touchedParam)\n ? touchedParam.touched\n : touchedParam\n const prist: boolean | PristineChangeEvent = isPristineEvent(\n pristineParam,\n )\n ? pristineParam.pristine\n : pristineParam\n\n const validDerived = stat === \"VALID\"\n const invalidDerived = stat === \"INVALID\"\n const pendingDerived = stat === \"PENDING\"\n const dirtyDerived = !prist\n const untouchedDerived = !touch\n\n return {\n dirty: dirtyDerived,\n invalid: invalidDerived,\n pending: pendingDerived,\n pristine: prist,\n status: stat,\n touched: touch,\n untouched: untouchedDerived,\n valid: validDerived,\n value: valueParam,\n } satisfies FormEventData<T>\n }),\n ),\n ) as Observable<FormEventData<T>>\n}\n\nexport function allEventsSignal<T>(\n form: AbstractControl<T>,\n): Signal<FormEventData<T>> {\n return toSignal(allEventsObservable(form), {\n initialValue: {\n dirty: form.dirty,\n invalid: form.invalid,\n pending: form.pending,\n pristine: form.pristine,\n status: form.status,\n touched: form.touched,\n untouched: form.untouched,\n valid: form.valid,\n value: form.value,\n },\n })\n}\n","// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {afterNextRender, inject} from \"@angular/core\"\nimport {NgControl} from \"@angular/forms\"\n\ntype WarningOptions =\n | {\n /**\n * The name of the directive that emits the warning.\n */\n directive: string\n /**\n * The directive to bind to instead of {@link directive}.\n */\n rootDirective?: string\n }\n | {\n onError: () => void\n }\n\nexport const consoleBoldStyle = \"font-weight: bold; white-space: nowrap;\"\n\nexport function useForbiddenFormControlWarning(\n options: WarningOptions = {directive: \"\", rootDirective: \"\"},\n) {\n const ngControl: NgControl | null = inject(NgControl, {\n optional: true,\n self: true,\n })\n\n return afterNextRender({\n read: () => {\n if (ngControl) {\n if (\"onError\" in options) {\n options.onError()\n } else {\n console.error(\n `An Angular form control binding was detected on a %c${options.directive}%c directive. This will not work as intended. Bind your form control to the ${options.rootDirective ? `parent %c${options.rootDirective}%c directive` : \"root directive\"} instead.`,\n consoleBoldStyle,\n \"\",\n consoleBoldStyle,\n \"\",\n )\n }\n }\n },\n })\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAAA;AACA;AA2BA,SAAS,YAAY,CAAI,IAAwB,EAAA;AAC/C,IAAA,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CACrB,MAAM,CACJ,CAAC,KAAmB,KAClB,KAAK,YAAY,gBAAgB,CACpC,CACF;AACH;AAEA,SAAS,aAAa,CAAI,IAAwB,EAAA;AAChD,IAAA,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CACrB,MAAM,CACJ,CAAC,KAAmB,KAClB,KAAK,YAAY,iBAAiB,CACrC,CACF;AACH;AAEA,SAAS,cAAc,CAAI,IAAwB,EA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AAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,KAAK,EAAE,IAAI,CAAC,KAAK;AAClB,SAAA;AACF,KAAA,CAAC;AACJ;;ACtKA;AACA;AAoBO,MAAM,gBAAgB,GAAG;AAE1B,SAAU,8BAA8B,CAC5C,OAAA,GAA0B,EAAC,SAAS,EAAE,EAAE,EAAE,aAAa,EAAE,EAAE,EAAC,EAAA;AAE5D,IAAA,MAAM,SAAS,GAAqB,MAAM,CAAC,SAAS,EAAE;AACpD,QAAA,QAAQ,EAAE,IAAI;AACd,QAAA,IAAI,EAAE,IAAI;AACX,KAAA,CAAC;AAEF,IAAA,OAAO,eAAe,CAAC;QACrB,IAAI,EAAE,MAAK;YACT,IAAI,SAAS,EAAE;AACb,gBAAA,IAAI,SAAS,IAAI,OAAO,EAAE;oBACxB,OAAO,CAAC,OAAO,EAAE;gBACnB;qBAAO;AACL,oBAAA,OAAO,CAAC,KAAK,CACX,CAAA,oDAAA,EAAuD,OAAO,CAAC,SAAS,CAAA,4EAAA,EAA+E,OAAO,CAAC,aAAa,GAAG,CAAA,SAAA,EAAY,OAAO,CAAC,aAAa,CAAA,YAAA,CAAc,GAAG,gBAAgB,CAAA,SAAA,CAAW,EAC5P,gBAAgB,EAChB,EAAE,EACF,gBAAgB,EAChB,EAAE,CACH;gBACH;YACF;QACF,CAAC;AACF,KAAA,CAAC;AACJ;;AChDA;;AAEG;;;;"}
|
package/{esm2022/highlight/highlight.directive.js → fesm2022/qualcomm-ui-angular-core-highlight.mjs}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, booleanAttribute, computed, Component } from '@angular/core';
|
|
3
|
+
import { highlightWord } from '@qualcomm-ui/utils/highlight-word';
|
|
4
|
+
|
|
1
5
|
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
6
|
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
|
|
4
|
-
import { highlightWord } from "@qualcomm-ui/utils/highlight-word";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class HighlightDirective {
|
|
7
|
+
class HighlightDirective {
|
|
7
8
|
/**
|
|
8
9
|
* Whether to match whole words only
|
|
9
10
|
*/
|
|
@@ -39,8 +40,8 @@ export class HighlightDirective {
|
|
|
39
40
|
text: this.text() || "",
|
|
40
41
|
});
|
|
41
42
|
}, ...(ngDevMode ? [{ debugName: "chunks" }] : []));
|
|
42
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
43
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: HighlightDirective, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: HighlightDirective, isStandalone: true, selector: "[q-highlight]", inputs: { exactMatch: { classPropertyName: "exactMatch", publicName: "exactMatch", isSignal: true, isRequired: false, transformFunction: null }, ignoreCase: { classPropertyName: "ignoreCase", publicName: "ignoreCase", isSignal: true, isRequired: false, transformFunction: null }, matchAll: { classPropertyName: "matchAll", publicName: "matchAll", isSignal: true, isRequired: false, transformFunction: null }, query: { classPropertyName: "query", publicName: "query", isSignal: true, isRequired: true, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: `
|
|
44
45
|
@for (chunk of chunks(); track $index) {
|
|
45
46
|
@if (chunk.match) {
|
|
46
47
|
<mark>{{ chunk.text }}</mark>
|
|
@@ -50,7 +51,7 @@ export class HighlightDirective {
|
|
|
50
51
|
}
|
|
51
52
|
`, isInline: true });
|
|
52
53
|
}
|
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: HighlightDirective, decorators: [{
|
|
54
55
|
type: Component,
|
|
55
56
|
args: [{
|
|
56
57
|
selector: "[q-highlight]",
|
|
@@ -66,4 +67,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
66
67
|
`,
|
|
67
68
|
}]
|
|
68
69
|
}], propDecorators: { exactMatch: [{ type: i0.Input, args: [{ isSignal: true, alias: "exactMatch", required: false }] }], ignoreCase: [{ type: i0.Input, args: [{ isSignal: true, alias: "ignoreCase", required: false }] }], matchAll: [{ type: i0.Input, args: [{ isSignal: true, alias: "matchAll", required: false }] }], query: [{ type: i0.Input, args: [{ isSignal: true, alias: "query", required: true }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: true }] }] } });
|
|
69
|
-
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Generated bundle index. Do not edit.
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
export { HighlightDirective };
|
|
76
|
+
//# sourceMappingURL=qualcomm-ui-angular-core-highlight.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-highlight.mjs","sources":["../../src/highlight/highlight.directive.ts","../../src/highlight/qualcomm-ui-angular-core-highlight.ts"],"sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {booleanAttribute, Component, computed, input} from \"@angular/core\"\n\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport {highlightWord} from \"@qualcomm-ui/utils/highlight-word\"\n\n@Component({\n selector: \"[q-highlight]\",\n standalone: true,\n template: `\n @for (chunk of chunks(); track $index) {\n @if (chunk.match) {\n <mark>{{ chunk.text }}</mark>\n } @else {\n {{ chunk.text }}\n }\n }\n `,\n})\nexport class HighlightDirective {\n /**\n * Whether to match whole words only\n */\n readonly exactMatch = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to ignore case while matching\n */\n readonly ignoreCase = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether to match multiple instances of the query\n */\n readonly matchAll = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The query to highlight in the text\n */\n readonly query = input.required<string | string[] | undefined>()\n\n /**\n * The text to highlight\n */\n readonly text = input.required<string | null | undefined>()\n\n readonly chunks = computed(() => {\n return highlightWord({\n exactMatch: this.exactMatch(),\n ignoreCase: this.ignoreCase(),\n matchAll: this.matchAll(),\n query: this.query() || \"\",\n text: this.text() || \"\",\n })\n })\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;AACA;MAoBa,kBAAkB,CAAA;AAC7B;;AAEG;IACM,UAAU,GAAG,KAAK,CAAkC,SAAS,8CACpE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CAD2C;AACtE,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF;;AAEG;IACM,UAAU,GAAG,KAAK,CAAkC,SAAS,8CACpE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CAD2C;AACtE,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF;;AAEG;IACM,QAAQ,GAAG,KAAK,CAAkC,SAAS,4CAClE,SAAS,EAAE,gBAAgB,EAAA,CAAA,GAAA,CADyC;AACpE,YAAA,SAAS,EAAE,gBAAgB;AAC5B,SAAA,CAAA,CAAA,CAAC;AAEF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