@qualcomm-ui/angular-core 1.0.2 → 1.0.3
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 +89 -89
- 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
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { effect, ElementRef, inject, Injector, Renderer2, RendererStyleFlags2, runInInjectionContext, signal, } from "@angular/core";
|
|
4
|
-
import { isEqual } from "@qualcomm-ui/utils/equal";
|
|
5
|
-
import { isFunction, isNumber, isString } from "@qualcomm-ui/utils/guard";
|
|
6
|
-
import { mergeProps } from "./merge-props";
|
|
7
|
-
/**
|
|
8
|
-
* Creates a reactive property binding system that dynamically applies computed
|
|
9
|
-
* properties to a host element. This function sets up an effect that watches for
|
|
10
|
-
* changes in the provided property getter and efficiently updates the DOM element
|
|
11
|
-
* accordingly.
|
|
12
|
-
*
|
|
13
|
-
* @param propGetter - A function that returns a dictionary of properties to bind to the element.
|
|
14
|
-
* Supports attributes, CSS classes, styles, event listeners, and DOM properties.
|
|
15
|
-
*
|
|
16
|
-
* @returns An initialization function that starts the reactive binding process
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* @Component({
|
|
21
|
-
* selector: 'my-component',
|
|
22
|
-
* template: '<div>Content</div>'
|
|
23
|
-
* })
|
|
24
|
-
* export class MyComponent {
|
|
25
|
-
* protected readonly isExpanded = signal(false)
|
|
26
|
-
*
|
|
27
|
-
* private readonly trackBindings = useTrackBindings(() => ({
|
|
28
|
-
* class: 'active component',
|
|
29
|
-
* 'aria-expanded': this.isExpanded(),
|
|
30
|
-
* }))
|
|
31
|
-
*
|
|
32
|
-
* ngOnInit() {
|
|
33
|
-
* // Start the reactive binding
|
|
34
|
-
* this.trackBindings()
|
|
35
|
-
* }
|
|
36
|
-
* }
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export function useTrackBindings(propGetter) {
|
|
40
|
-
let shouldDebug;
|
|
41
|
-
let disabled = false;
|
|
42
|
-
const additionalPropGetters = [];
|
|
43
|
-
const debug = (...args) => {
|
|
44
|
-
if (shouldDebug) {
|
|
45
|
-
console.debug(...args);
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
let elementRef = inject((ElementRef));
|
|
49
|
-
const renderer = inject(Renderer2);
|
|
50
|
-
const listeners = new Map();
|
|
51
|
-
const injector = inject(Injector);
|
|
52
|
-
let prev = {};
|
|
53
|
-
function removeClass(names) {
|
|
54
|
-
if (!names) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const el = elementRef.nativeElement;
|
|
58
|
-
for (const name of names.split(",")) {
|
|
59
|
-
renderer.removeClass(el, name);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
function addClass(names) {
|
|
63
|
-
const el = elementRef.nativeElement;
|
|
64
|
-
for (const name of names.split(",")) {
|
|
65
|
-
for (const className of name.split(" ")) {
|
|
66
|
-
renderer.addClass(el, className);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function removeStyle(style) {
|
|
71
|
-
if (!style) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
const el = elementRef.nativeElement;
|
|
75
|
-
for (const name of Object.keys(style)) {
|
|
76
|
-
renderer.removeStyle(el, name, RendererStyleFlags2.DashCase);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
function addStyle(style) {
|
|
80
|
-
const el = elementRef.nativeElement;
|
|
81
|
-
for (const [name, value] of Object.entries(style)) {
|
|
82
|
-
renderer.setStyle(el, name, value, RendererStyleFlags2.DashCase);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function addEventListener(name, callback) {
|
|
86
|
-
const eventName = name.substring(2);
|
|
87
|
-
debug(`Binding event: ${name} -> ${eventName}`);
|
|
88
|
-
listeners.get(name)?.();
|
|
89
|
-
const unlisten = renderer.listen(elementRef.nativeElement, name.substring(2), callback);
|
|
90
|
-
listeners.set(name, unlisten);
|
|
91
|
-
}
|
|
92
|
-
function handleAttrs(prevProps, nextProps) {
|
|
93
|
-
const el = elementRef.nativeElement;
|
|
94
|
-
for (const [name, value] of Object.entries(prevProps)) {
|
|
95
|
-
if (name in nextProps) {
|
|
96
|
-
continue;
|
|
97
|
-
}
|
|
98
|
-
if (name.startsWith("on")) {
|
|
99
|
-
listeners.get(name)?.();
|
|
100
|
-
listeners.delete(name); // Ensure cleanup
|
|
101
|
-
continue;
|
|
102
|
-
}
|
|
103
|
-
switch (name) {
|
|
104
|
-
case "class":
|
|
105
|
-
removeClass(value);
|
|
106
|
-
continue;
|
|
107
|
-
case "style":
|
|
108
|
-
removeStyle(value);
|
|
109
|
-
continue;
|
|
110
|
-
case "value":
|
|
111
|
-
renderer.setProperty(el, "value", undefined);
|
|
112
|
-
continue;
|
|
113
|
-
case "textContent":
|
|
114
|
-
renderer.setProperty(el, "textContent", "");
|
|
115
|
-
continue;
|
|
116
|
-
case "checked":
|
|
117
|
-
renderer.setProperty(el, "checked", false);
|
|
118
|
-
continue;
|
|
119
|
-
}
|
|
120
|
-
renderer.removeAttribute(el, name);
|
|
121
|
-
}
|
|
122
|
-
for (const [name, value] of Object.entries(nextProps)) {
|
|
123
|
-
if (name in prevProps && isEqual(value, prevProps[name])) {
|
|
124
|
-
continue;
|
|
125
|
-
}
|
|
126
|
-
if (name.startsWith("on")) {
|
|
127
|
-
const prevHandler = prevProps[name];
|
|
128
|
-
// Skip if it's the exact same function reference
|
|
129
|
-
if (isEqual(prevHandler, value)) {
|
|
130
|
-
continue;
|
|
131
|
-
}
|
|
132
|
-
addEventListener(name, value);
|
|
133
|
-
continue;
|
|
134
|
-
}
|
|
135
|
-
switch (name) {
|
|
136
|
-
case "class":
|
|
137
|
-
removeClass(prevProps[name]);
|
|
138
|
-
addClass(value);
|
|
139
|
-
continue;
|
|
140
|
-
case "style":
|
|
141
|
-
removeStyle(prevProps[name]);
|
|
142
|
-
addStyle(value);
|
|
143
|
-
continue;
|
|
144
|
-
case "value":
|
|
145
|
-
case "checked":
|
|
146
|
-
case "textContent":
|
|
147
|
-
renderer.setAttribute(el, name, `${value}`);
|
|
148
|
-
renderer.setProperty(el, name, value);
|
|
149
|
-
continue;
|
|
150
|
-
}
|
|
151
|
-
if (isString(value) || isNumber(value)) {
|
|
152
|
-
renderer.setAttribute(el, name, `${value}`);
|
|
153
|
-
continue;
|
|
154
|
-
}
|
|
155
|
-
if (value === true) {
|
|
156
|
-
renderer.setAttribute(el, name, "");
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
renderer.removeAttribute(el, name);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
const initialized = signal(false, ...(ngDevMode ? [{ debugName: "initialized" }] : []));
|
|
164
|
-
function getNextBindings() {
|
|
165
|
-
if (!additionalPropGetters.length) {
|
|
166
|
-
return propGetter();
|
|
167
|
-
}
|
|
168
|
-
return additionalPropGetters.reduce((acc, current) => {
|
|
169
|
-
return mergeProps(acc, current());
|
|
170
|
-
}, propGetter());
|
|
171
|
-
}
|
|
172
|
-
runInInjectionContext(injector, () => {
|
|
173
|
-
effect(() => {
|
|
174
|
-
// only start running the effect after the implementing component initializes.
|
|
175
|
-
// This is used to prevent the binding operation from starting before the
|
|
176
|
-
// parent machine has fully initialized.
|
|
177
|
-
if (initialized()) {
|
|
178
|
-
const next = getNextBindings();
|
|
179
|
-
if (!isEqual(next, prev)) {
|
|
180
|
-
handleAttrs(prev, next);
|
|
181
|
-
prev = { ...next };
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
const initFn = function (opts = {}) {
|
|
187
|
-
if (opts.disabled || disabled) {
|
|
188
|
-
return;
|
|
189
|
-
}
|
|
190
|
-
shouldDebug = opts.debug;
|
|
191
|
-
if (opts.elementRef) {
|
|
192
|
-
elementRef = isFunction(opts.elementRef)
|
|
193
|
-
? opts.elementRef()
|
|
194
|
-
: opts.elementRef;
|
|
195
|
-
}
|
|
196
|
-
if (opts.extraBindings) {
|
|
197
|
-
additionalPropGetters.push(opts.extraBindings);
|
|
198
|
-
}
|
|
199
|
-
initialized.set(true);
|
|
200
|
-
};
|
|
201
|
-
initFn.extendWith = (extraProps) => {
|
|
202
|
-
additionalPropGetters.push(extraProps);
|
|
203
|
-
};
|
|
204
|
-
initFn.setDisabled = (isDisabled) => {
|
|
205
|
-
disabled = isDisabled;
|
|
206
|
-
};
|
|
207
|
-
return initFn;
|
|
208
|
-
}
|
|
209
|
-
export function applyBindings(el, props, renderer) {
|
|
210
|
-
function removeClass(names) {
|
|
211
|
-
if (!names) {
|
|
212
|
-
return;
|
|
213
|
-
}
|
|
214
|
-
for (const name of names.split(",")) {
|
|
215
|
-
renderer.removeClass(el, name);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
function addClass(names) {
|
|
219
|
-
for (const name of names.split(",")) {
|
|
220
|
-
for (const className of name.split(" ")) {
|
|
221
|
-
renderer.addClass(el, className);
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
function removeStyle(style) {
|
|
226
|
-
if (!style) {
|
|
227
|
-
return;
|
|
228
|
-
}
|
|
229
|
-
for (const name of Object.keys(style)) {
|
|
230
|
-
renderer.removeStyle(el, name, RendererStyleFlags2.DashCase);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
function addStyle(style) {
|
|
234
|
-
for (const [name, value] of Object.entries(style)) {
|
|
235
|
-
renderer.setStyle(el, name, value, RendererStyleFlags2.DashCase);
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
for (const [name, value] of Object.entries(props)) {
|
|
239
|
-
if (name.startsWith("on")) {
|
|
240
|
-
// skip event listeners
|
|
241
|
-
}
|
|
242
|
-
switch (name) {
|
|
243
|
-
case "class":
|
|
244
|
-
removeClass(value);
|
|
245
|
-
addClass(value);
|
|
246
|
-
continue;
|
|
247
|
-
case "style":
|
|
248
|
-
removeStyle(value);
|
|
249
|
-
addStyle(value);
|
|
250
|
-
continue;
|
|
251
|
-
case "value":
|
|
252
|
-
case "checked":
|
|
253
|
-
case "textContent":
|
|
254
|
-
renderer.setAttribute(el, name, `${value}`);
|
|
255
|
-
renderer.setProperty(el, name, value);
|
|
256
|
-
continue;
|
|
257
|
-
}
|
|
258
|
-
if (isString(value) || isNumber(value)) {
|
|
259
|
-
renderer.setAttribute(el, name, `${value}`);
|
|
260
|
-
continue;
|
|
261
|
-
}
|
|
262
|
-
if (value === true) {
|
|
263
|
-
renderer.setAttribute(el, name, "");
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
renderer.removeAttribute(el, name);
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
//# sourceMappingURL=use-track-bindings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-track-bindings.js","sourceRoot":"","sources":["../../../src/machine/use-track-bindings.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n effect,\n ElementRef,\n inject,\n Injector,\n Renderer2,\n RendererStyleFlags2,\n runInInjectionContext,\n type Signal,\n signal,\n} from \"@angular/core\"\n\nimport {isEqual} from \"@qualcomm-ui/utils/equal\"\nimport {isFunction, isNumber, isString} from \"@qualcomm-ui/utils/guard\"\n\nimport {mergeProps} from \"./merge-props\"\nimport type {Dict, StyleObject} from \"./normalize-props\"\n\nexport interface TrackBindingsConfig {\n debug?: boolean | undefined\n\n /**\n * If true, the default prop spreader for this part will not be initialized.\n */\n disabled?: boolean | undefined\n\n /**\n * Override the ElementRef target for the property spreader function.\n */\n elementRef?: ElementRef | (() => ElementRef)\n\n /**\n * Prop getter for additional props to spread onto the host element.\n */\n extraBindings?: (() => Dict) | Signal<Dict>\n}\n\ntype InitTrackerFn = ((opts?: TrackBindingsConfig) => void) & {\n /**\n * Add additional props to spread onto the host element.\n */\n extendWith: (computedProps: () => Dict) => void\n setDisabled: (disabled: boolean) => void\n}\n\n/**\n * Creates a reactive property binding system that dynamically applies computed\n * properties to a host element. This function sets up an effect that watches for\n * changes in the provided property getter and efficiently updates the DOM element\n * accordingly.\n *\n * @param propGetter - A function that returns a dictionary of properties to bind to the element.\n * Supports attributes, CSS classes, styles, event listeners, and DOM properties.\n *\n * @returns An initialization function that starts the reactive binding process\n *\n * @example\n * ```typescript\n * @Component({\n * selector: 'my-component',\n * template: '<div>Content</div>'\n * })\n * export class MyComponent {\n * protected readonly isExpanded = signal(false)\n *\n * private readonly trackBindings = useTrackBindings(() => ({\n * class: 'active component',\n * 'aria-expanded': this.isExpanded(),\n * }))\n *\n * ngOnInit() {\n * // Start the reactive binding\n * this.trackBindings()\n * }\n * }\n * ```\n */\nexport function useTrackBindings(propGetter: () => Dict): InitTrackerFn {\n let shouldDebug: boolean | undefined\n let disabled = false\n const additionalPropGetters: (() => Dict)[] = []\n const debug = (...args: any[]) => {\n if (shouldDebug) {\n console.debug(...args)\n }\n }\n\n let elementRef = inject(ElementRef<HTMLElement>)\n const renderer = inject(Renderer2)\n const listeners = new Map<string, VoidFunction>()\n const injector = inject(Injector)\n\n let prev: Dict = {}\n\n function removeClass(names?: string) {\n if (!names) {\n return\n }\n const el = elementRef.nativeElement\n for (const name of names.split(\",\")) {\n renderer.removeClass(el, name)\n }\n }\n\n function addClass(names: string) {\n const el = elementRef.nativeElement\n for (const name of names.split(\",\")) {\n for (const className of name.split(\" \")) {\n renderer.addClass(el, className)\n }\n }\n }\n function removeStyle(style?: StyleObject) {\n if (!style) {\n return\n }\n const el = elementRef.nativeElement\n for (const name of Object.keys(style)) {\n renderer.removeStyle(el, name, RendererStyleFlags2.DashCase)\n }\n }\n\n function addStyle(style: StyleObject) {\n const el = elementRef.nativeElement\n for (const [name, value] of Object.entries(style)) {\n renderer.setStyle(el, name, value, RendererStyleFlags2.DashCase)\n }\n }\n\n function addEventListener(name: string, callback: EventListener) {\n const eventName = name.substring(2)\n debug(`Binding event: ${name} -> ${eventName}`)\n listeners.get(name)?.()\n const unlisten = renderer.listen(\n elementRef.nativeElement,\n name.substring(2),\n callback,\n )\n listeners.set(name, unlisten)\n }\n\n function handleAttrs(prevProps: Dict, nextProps: Dict): void {\n const el = elementRef.nativeElement\n\n for (const [name, value] of Object.entries(prevProps)) {\n if (name in nextProps) {\n continue\n }\n if (name.startsWith(\"on\")) {\n listeners.get(name)?.()\n listeners.delete(name) // Ensure cleanup\n continue\n }\n switch (name) {\n case \"class\":\n removeClass(value as string)\n continue\n case \"style\":\n removeStyle(value as StyleObject)\n continue\n case \"value\":\n renderer.setProperty(el, \"value\", undefined)\n continue\n case \"textContent\":\n renderer.setProperty(el, \"textContent\", \"\")\n continue\n case \"checked\":\n renderer.setProperty(el, \"checked\", false)\n continue\n }\n renderer.removeAttribute(el, name)\n }\n\n for (const [name, value] of Object.entries(nextProps)) {\n if (name in prevProps && isEqual(value, prevProps[name])) {\n continue\n }\n if (name.startsWith(\"on\")) {\n const prevHandler = prevProps[name]\n // Skip if it's the exact same function reference\n if (isEqual(prevHandler, value)) {\n continue\n }\n addEventListener(name, value as EventListener)\n continue\n }\n\n switch (name) {\n case \"class\":\n removeClass(prevProps[name] as string)\n addClass(value as string)\n continue\n case \"style\":\n removeStyle(prevProps[name] as StyleObject)\n addStyle(value as StyleObject)\n continue\n case \"value\":\n case \"checked\":\n case \"textContent\":\n renderer.setAttribute(el, name, `${value}`)\n renderer.setProperty(el, name, value)\n continue\n }\n if (isString(value) || isNumber(value)) {\n renderer.setAttribute(el, name, `${value}`)\n continue\n }\n if (value === true) {\n renderer.setAttribute(el, name, \"\")\n } else {\n renderer.removeAttribute(el, name)\n }\n }\n }\n\n const initialized = signal(false)\n\n function getNextBindings() {\n if (!additionalPropGetters.length) {\n return propGetter()\n }\n return additionalPropGetters.reduce((acc: Dict, current) => {\n return mergeProps(acc, current())\n }, propGetter())\n }\n\n runInInjectionContext(injector, () => {\n effect(() => {\n // only start running the effect after the implementing component initializes.\n // This is used to prevent the binding operation from starting before the\n // parent machine has fully initialized.\n if (initialized()) {\n const next = getNextBindings()\n if (!isEqual(next, prev)) {\n handleAttrs(prev, next)\n prev = {...next}\n }\n }\n })\n })\n\n const initFn: InitTrackerFn = function (opts: TrackBindingsConfig = {}) {\n if (opts.disabled || disabled) {\n return\n }\n shouldDebug = opts.debug\n if (opts.elementRef) {\n elementRef = isFunction(opts.elementRef)\n ? opts.elementRef()\n : opts.elementRef\n }\n if (opts.extraBindings) {\n additionalPropGetters.push(opts.extraBindings)\n }\n\n initialized.set(true)\n } as InitTrackerFn\n\n initFn.extendWith = (extraProps: () => Dict) => {\n additionalPropGetters.push(extraProps)\n }\n\n initFn.setDisabled = (isDisabled: boolean) => {\n disabled = isDisabled\n }\n\n return initFn\n}\n\nexport function applyBindings(\n el: HTMLElement,\n props: Dict,\n renderer: Renderer2,\n): void {\n function removeClass(names?: string) {\n if (!names) {\n return\n }\n for (const name of names.split(\",\")) {\n renderer.removeClass(el, name)\n }\n }\n\n function addClass(names: string) {\n for (const name of names.split(\",\")) {\n for (const className of name.split(\" \")) {\n renderer.addClass(el, className)\n }\n }\n }\n function removeStyle(style?: StyleObject) {\n if (!style) {\n return\n }\n for (const name of Object.keys(style)) {\n renderer.removeStyle(el, name, RendererStyleFlags2.DashCase)\n }\n }\n\n function addStyle(style: StyleObject) {\n for (const [name, value] of Object.entries(style)) {\n renderer.setStyle(el, name, value, RendererStyleFlags2.DashCase)\n }\n }\n\n for (const [name, value] of Object.entries(props)) {\n if (name.startsWith(\"on\")) {\n // skip event listeners\n }\n\n switch (name) {\n case \"class\":\n removeClass(value as string)\n addClass(value as string)\n continue\n case \"style\":\n removeStyle(value as StyleObject)\n addStyle(value as StyleObject)\n continue\n case \"value\":\n case \"checked\":\n case \"textContent\":\n renderer.setAttribute(el, name, `${value}`)\n renderer.setProperty(el, name, value)\n continue\n }\n if (isString(value) || isNumber(value)) {\n renderer.setAttribute(el, name, `${value}`)\n continue\n }\n if (value === true) {\n renderer.setAttribute(el, name, \"\")\n } else {\n renderer.removeAttribute(el, name)\n }\n }\n}\n"]}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { booleanAttribute, computed, Directive, inject, input, output, } from "@angular/core";
|
|
4
|
-
import { useMenuContext } from "./menu-context.service";
|
|
5
|
-
import { MenuItemContextService } from "./menu-item-context.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Each menu item type shares the same base properties.
|
|
9
|
-
*
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export class BaseMenuItemDirective {
|
|
13
|
-
/**
|
|
14
|
-
* Whether the menu should be closed when the option is selected.
|
|
15
|
-
*/
|
|
16
|
-
closeOnSelect = input(undefined, ...(ngDevMode ? [{ debugName: "closeOnSelect", transform: booleanAttribute }] : [{
|
|
17
|
-
transform: booleanAttribute,
|
|
18
|
-
}]));
|
|
19
|
-
/**
|
|
20
|
-
* Whether the menu item is disabled
|
|
21
|
-
*/
|
|
22
|
-
disabled = input(undefined, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{
|
|
23
|
-
transform: booleanAttribute,
|
|
24
|
-
}]));
|
|
25
|
-
/**
|
|
26
|
-
* The unique value of the menu item option.
|
|
27
|
-
*/
|
|
28
|
-
value = input.required(...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
29
|
-
/**
|
|
30
|
-
* The textual value of the option. Used in typeahead navigation of the menu.
|
|
31
|
-
* If not provided, the text content of the menu item will be used.
|
|
32
|
-
*/
|
|
33
|
-
valueText = input(...(ngDevMode ? [undefined, { debugName: "valueText" }] : []));
|
|
34
|
-
/**
|
|
35
|
-
* Emitted when the item is selected
|
|
36
|
-
*/
|
|
37
|
-
selected = output();
|
|
38
|
-
menuContext = useMenuContext();
|
|
39
|
-
menuItemService = inject(MenuItemContextService);
|
|
40
|
-
itemProps = computed(() => ({
|
|
41
|
-
closeOnSelect: this.closeOnSelect(),
|
|
42
|
-
disabled: this.disabled(),
|
|
43
|
-
onSelect: () => this.selected.emit(),
|
|
44
|
-
value: this.value(),
|
|
45
|
-
valueText: this.valueText(),
|
|
46
|
-
}), ...(ngDevMode ? [{ debugName: "itemProps" }] : []));
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BaseMenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
48
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: BaseMenuItemDirective, isStandalone: true, inputs: { closeOnSelect: { classPropertyName: "closeOnSelect", publicName: "closeOnSelect", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: true, transformFunction: null }, valueText: { classPropertyName: "valueText", publicName: "valueText", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selected: "selected" }, ngImport: i0 });
|
|
49
|
-
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BaseMenuItemDirective, decorators: [{
|
|
51
|
-
type: Directive
|
|
52
|
-
}], propDecorators: { closeOnSelect: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnSelect", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: true }] }], valueText: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueText", required: false }] }], selected: [{ type: i0.Output, args: ["selected"] }] } });
|
|
53
|
-
//# sourceMappingURL=base-menu-item.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base-menu-item.directive.js","sourceRoot":"","sources":["../../../src/menu/base-menu-item.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,eAAe,CAAA;AAOtB,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BAA6B,CAAA;;AAElE;;;;GAIG;AAEH,MAAM,OAAO,qBAAqB;IAChC;;OAEG;IACM,aAAa,GAAG,KAAK,CAAkC,SAAS,iDACvE,SAAS,EAAE,gBAAgB,OAD8C;YACzE,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEF;;OAEG;IACM,QAAQ,GAAG,KAAK,CAAkC,SAAS,4CAClE,SAAS,EAAE,gBAAgB,OADyC;YACpE,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEF;;OAEG;IACM,KAAK,GAAG,KAAK,CAAC,QAAQ,gDAAU,CAAA;IAEzC;;;OAGG;IACM,SAAS,GAAG,KAAK,+DAAU,CAAA;IAEpC;;OAEG;IACM,QAAQ,GAAG,MAAM,EAAE,CAAA;IAET,WAAW,GAAG,cAAc,EAAE,CAAA;IAC9B,eAAe,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAAA;IAE1D,SAAS,GAAG,QAAQ,CAAsB,GAAG,EAAE,CAAC,CAAC;QACxD,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE;QACnC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE;QACzB,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;QACpC,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE;QACnB,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE;KAC5B,CAAC,qDAAC,CAAA;wGAxCQ,qBAAqB;4FAArB,qBAAqB;;4FAArB,qBAAqB;kBADjC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n output,\n} from \"@angular/core\"\n\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport type {ItemProps} from \"@qualcomm-ui/core/menu\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {useMenuContext} from \"./menu-context.service\"\nimport {MenuItemContextService} from \"./menu-item-context.service\"\n\n/**\n * Each menu item type shares the same base properties.\n *\n * @public\n */\n@Directive()\nexport class BaseMenuItemDirective implements SignalifyInput<ItemProps> {\n /**\n * Whether the menu should be closed when the option is selected.\n */\n readonly closeOnSelect = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Whether the menu item is disabled\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The unique value of the menu item option.\n */\n readonly value = input.required<string>()\n\n /**\n * The textual value of the option. Used in typeahead navigation of the menu.\n * If not provided, the text content of the menu item will be used.\n */\n readonly valueText = input<string>()\n\n /**\n * Emitted when the item is selected\n */\n readonly selected = output()\n\n protected readonly menuContext = useMenuContext()\n protected readonly menuItemService = inject(MenuItemContextService)\n\n readonly itemProps = computed<Explicit<ItemProps>>(() => ({\n closeOnSelect: this.closeOnSelect(),\n disabled: this.disabled(),\n onSelect: () => this.selected.emit(),\n value: this.value(),\n valueText: this.valueText(),\n }))\n}\n"]}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { booleanAttribute, computed, Directive, inject, input, output, } from "@angular/core";
|
|
4
|
-
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
-
import { useControlledState } from "@qualcomm-ui/angular-core/state";
|
|
6
|
-
import { BaseMenuItemDirective } from "./base-menu-item.directive";
|
|
7
|
-
import { MenuOptionItemContextService } from "./menu-option-item-context.service";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class CoreMenuCheckboxItemDirective extends BaseMenuItemDirective {
|
|
10
|
-
checked = input(...(ngDevMode ? [undefined, { debugName: "checked" }] : []));
|
|
11
|
-
defaultChecked = input(false, ...(ngDevMode ? [{ debugName: "defaultChecked", transform: booleanAttribute }] : [{
|
|
12
|
-
transform: booleanAttribute,
|
|
13
|
-
}]));
|
|
14
|
-
checkedChanged = output();
|
|
15
|
-
menuOptionItemService = inject(MenuOptionItemContextService);
|
|
16
|
-
optionItemProps = computed(() => {
|
|
17
|
-
const props = this.itemProps();
|
|
18
|
-
return {
|
|
19
|
-
...props,
|
|
20
|
-
checked: this.checkedState().value(),
|
|
21
|
-
onCheckedChange: (value) => this.checkedState().setValue(value),
|
|
22
|
-
type: "checkbox",
|
|
23
|
-
};
|
|
24
|
-
}, ...(ngDevMode ? [{ debugName: "optionItemProps" }] : []));
|
|
25
|
-
trackBindings = useTrackBindings(() => {
|
|
26
|
-
return this.menuContext().getOptionItemBindings(this.optionItemProps());
|
|
27
|
-
});
|
|
28
|
-
checkedState = useControlledState({
|
|
29
|
-
defaultValue: this.defaultChecked,
|
|
30
|
-
onChange: (value) => this.checkedChanged.emit(value),
|
|
31
|
-
value: this.checked,
|
|
32
|
-
});
|
|
33
|
-
optionItemState = computed(() => {
|
|
34
|
-
const optionItemProps = this.optionItemProps();
|
|
35
|
-
return {
|
|
36
|
-
...this.menuContext().getItemState(optionItemProps),
|
|
37
|
-
...optionItemProps,
|
|
38
|
-
};
|
|
39
|
-
}, ...(ngDevMode ? [{ debugName: "optionItemState" }] : []));
|
|
40
|
-
ngOnInit() {
|
|
41
|
-
this.menuOptionItemService.init(this.optionItemState);
|
|
42
|
-
this.menuItemService.init(this.optionItemState);
|
|
43
|
-
this.trackBindings();
|
|
44
|
-
}
|
|
45
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuCheckboxItemDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
46
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreMenuCheckboxItemDirective, isStandalone: true, inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, defaultChecked: { classPropertyName: "defaultChecked", publicName: "defaultChecked", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { checkedChanged: "checkedChanged" }, usesInheritance: true, ngImport: i0 });
|
|
47
|
-
}
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuCheckboxItemDirective, decorators: [{
|
|
49
|
-
type: Directive
|
|
50
|
-
}], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }], defaultChecked: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultChecked", required: false }] }], checkedChanged: [{ type: i0.Output, args: ["checkedChanged"] }] } });
|
|
51
|
-
//# sourceMappingURL=core-menu-checkbox-item.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-menu-checkbox-item.directive.js","sourceRoot":"","sources":["../../../src/menu/core-menu-checkbox-item.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,KAAK,EAEL,MAAM,GACP,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAA;AAIlE,OAAO,EAAC,qBAAqB,EAAC,MAAM,4BAA4B,CAAA;AAChE,OAAO,EAAC,4BAA4B,EAAC,MAAM,oCAAoC,CAAA;;AAG/E,MAAM,OAAO,6BACX,SAAQ,qBAAqB;IAGpB,OAAO,GAAG,KAAK,6DAAW,CAAA;IAE1B,cAAc,GAAG,KAAK,CAAkC,KAAK,kDACpE,SAAS,EAAE,gBAAgB,OAD2C;YACtE,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEO,cAAc,GAAG,MAAM,EAAuB,CAAA;IAEpC,qBAAqB,GAAG,MAAM,CAC/C,4BAA4B,CAC7B,CAAA;IAEQ,eAAe,GAAG,QAAQ,CAAkB,GAAG,EAAE;QACxD,MAAM,KAAK,GAAG,IAAI,CAAC,SAAS,EAAE,CAAA;QAC9B,OAAO;YACL,GAAG,KAAK;YACR,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,CAAC,KAAK,EAAE;YACpC,eAAe,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC;YAC/D,IAAI,EAAE,UAAU;SACjB,CAAA;IACH,CAAC,2DAAC,CAAA;IAEiB,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE;QACvD,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,qBAAqB,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,CAAA;IACzE,CAAC,CAAC,CAAA;IAEe,YAAY,GAAG,kBAAkB,CAAU;QAC1D,YAAY,EAAE,IAAI,CAAC,cAAc;QACjC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,KAAK,EAAE,IAAI,CAAC,OAAO;KACpB,CAAC,CAAA;IAEO,eAAe,GAAG,QAAQ,CAAC,GAAG,EAAE;QACvC,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,CAAA;QAC9C,OAAO;YACL,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC,YAAY,CAAC,eAAe,CAAC;YACnD,GAAG,eAAe;SACnB,CAAA;IACH,CAAC,2DAAC,CAAA;IAEF,QAAQ;QACN,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QACrD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAA;QAE/C,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAjDU,6BAA6B;4FAA7B,6BAA6B;;4FAA7B,6BAA6B;kBADzC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {useControlledState} from \"@qualcomm-ui/angular-core/state\"\nimport type {OptionItemProps} from \"@qualcomm-ui/core/menu\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\nimport {BaseMenuItemDirective} from \"./base-menu-item.directive\"\nimport {MenuOptionItemContextService} from \"./menu-option-item-context.service\"\n\n@Directive()\nexport class CoreMenuCheckboxItemDirective\n extends BaseMenuItemDirective\n implements SignalifyInput<Omit<OptionItemProps, \"type\">>, OnInit\n{\n readonly checked = input<boolean>()\n\n readonly defaultChecked = input<boolean | undefined, Booleanish>(false, {\n transform: booleanAttribute,\n })\n\n readonly checkedChanged = output<boolean | undefined>()\n\n protected readonly menuOptionItemService = inject(\n MenuOptionItemContextService,\n )\n\n readonly optionItemProps = computed<OptionItemProps>(() => {\n const props = this.itemProps()\n return {\n ...props,\n checked: this.checkedState().value(),\n onCheckedChange: (value) => this.checkedState().setValue(value),\n type: \"checkbox\",\n }\n })\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.menuContext().getOptionItemBindings(this.optionItemProps())\n })\n\n private readonly checkedState = useControlledState<boolean>({\n defaultValue: this.defaultChecked,\n onChange: (value) => this.checkedChanged.emit(value),\n value: this.checked,\n })\n\n readonly optionItemState = computed(() => {\n const optionItemProps = this.optionItemProps()\n return {\n ...this.menuContext().getItemState(optionItemProps),\n ...optionItemProps,\n }\n })\n\n ngOnInit() {\n this.menuOptionItemService.init(this.optionItemState)\n this.menuItemService.init(this.optionItemState)\n\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, Directive, effect, ElementRef, inject, input, } from "@angular/core";
|
|
4
|
-
import { useId, useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
5
|
-
import { mergeProps, useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
-
import { PresenceContextService, usePresenceRenderer, } from "@qualcomm-ui/angular-core/presence";
|
|
7
|
-
import { useMenuContext } from "./menu-context.service";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class CoreMenuContentDirective {
|
|
10
|
-
/**
|
|
11
|
-
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
12
|
-
* omitted, a unique identifier will be generated for accessibility.
|
|
13
|
-
*/
|
|
14
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
15
|
-
menuContext = useMenuContext();
|
|
16
|
-
presenceService = inject(PresenceContextService);
|
|
17
|
-
elementRef = inject(ElementRef);
|
|
18
|
-
trackBindings = useTrackBindings(() => {
|
|
19
|
-
return mergeProps(this.menuContext().getContentBindings({
|
|
20
|
-
id: this.hostId(),
|
|
21
|
-
onDestroy: this.onDestroy,
|
|
22
|
-
}), this.presenceService.getPresenceBindings());
|
|
23
|
-
});
|
|
24
|
-
onDestroy = useOnDestroy();
|
|
25
|
-
presenceEffect = usePresenceRenderer();
|
|
26
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
27
|
-
constructor() {
|
|
28
|
-
// update the ref when the element is mounted or unmounted to keep state in sync.
|
|
29
|
-
// React does this automatically with its composable refs and data binding, but
|
|
30
|
-
// with Angular we must do this imperatively.
|
|
31
|
-
effect(() => {
|
|
32
|
-
const element = this.elementRef.nativeElement;
|
|
33
|
-
if (this.presenceService.unmounted()) {
|
|
34
|
-
this.presenceService.setNode(null);
|
|
35
|
-
}
|
|
36
|
-
else {
|
|
37
|
-
this.presenceService.setNode(element);
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
ngOnInit() {
|
|
42
|
-
this.trackBindings();
|
|
43
|
-
}
|
|
44
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
45
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreMenuContentDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
46
|
-
}
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuContentDirective, decorators: [{
|
|
48
|
-
type: Directive
|
|
49
|
-
}], ctorParameters: () => [], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
50
|
-
//# sourceMappingURL=core-menu-content.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-menu-content.directive.js","sourceRoot":"","sources":["../../../src/menu/core-menu-content.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,QAAQ,EACR,SAAS,EACT,MAAM,EACN,UAAU,EACV,MAAM,EACN,KAAK,GAEN,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAC9E,OAAO,EACL,sBAAsB,EACtB,mBAAmB,GACpB,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAA;;AAGrD,MAAM,OAAO,wBAAwB;IACnC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,WAAW,GAAG,cAAc,EAAE,CAAA;IAC9B,eAAe,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAAA;IAE1D,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC,CAAA;IAErB,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE;QACvD,OAAO,UAAU,CACf,IAAI,CAAC,WAAW,EAAE,CAAC,kBAAkB,CAAC;YACpC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC,EACF,IAAI,CAAC,eAAe,CAAC,mBAAmB,EAAE,CAC3C,CAAA;IACH,CAAC,CAAC,CAAA;IAEiB,SAAS,GAAG,YAAY,EAAE,CAAA;IAEnC,cAAc,GAAG,mBAAmB,EAAE,CAAA;IAE/B,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAEhE;QACE,iFAAiF;QACjF,+EAA+E;QAC/E,6CAA6C;QAC7C,MAAM,CAAC,GAAG,EAAE;YACV,MAAM,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAA;YAC7C,IAAI,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,EAAE,CAAC;gBACrC,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;YACpC,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,OAAO,CAAC,CAAA;YACvC,CAAC;QACH,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGA5CU,wBAAwB;4FAAxB,wBAAwB;;4FAAxB,wBAAwB;kBADpC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n Directive,\n effect,\n ElementRef,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {mergeProps, useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\nimport {\n PresenceContextService,\n usePresenceRenderer,\n} from \"@qualcomm-ui/angular-core/presence\"\n\nimport {useMenuContext} from \"./menu-context.service\"\n\n@Directive()\nexport class CoreMenuContentDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly menuContext = useMenuContext()\n protected readonly presenceService = inject(PresenceContextService)\n\n readonly elementRef = inject(ElementRef)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return mergeProps(\n this.menuContext().getContentBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n this.presenceService.getPresenceBindings(),\n )\n })\n\n protected readonly onDestroy = useOnDestroy()\n\n protected presenceEffect = usePresenceRenderer()\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n constructor() {\n // update the ref when the element is mounted or unmounted to keep state in sync.\n // React does this automatically with its composable refs and data binding, but\n // with Angular we must do this imperatively.\n effect(() => {\n const element = this.elementRef.nativeElement\n if (this.presenceService.unmounted()) {\n this.presenceService.setNode(null)\n } else {\n this.presenceService.setNode(element)\n }\n })\n }\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, Directive, input } from "@angular/core";
|
|
4
|
-
import { useId, useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
5
|
-
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
-
import { useMenuContext } from "./menu-context.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class CoreMenuContextTriggerDirective {
|
|
9
|
-
/**
|
|
10
|
-
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
11
|
-
* omitted, a unique identifier will be generated for accessibility.
|
|
12
|
-
*/
|
|
13
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
14
|
-
menuContext = useMenuContext();
|
|
15
|
-
trackBindings = useTrackBindings(() => {
|
|
16
|
-
return this.menuContext().getContextTriggerBindings({
|
|
17
|
-
id: this.hostId(),
|
|
18
|
-
onDestroy: this.onDestroy,
|
|
19
|
-
});
|
|
20
|
-
});
|
|
21
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
22
|
-
onDestroy = useOnDestroy();
|
|
23
|
-
ngOnInit() {
|
|
24
|
-
this.trackBindings();
|
|
25
|
-
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuContextTriggerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreMenuContextTriggerDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
28
|
-
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuContextTriggerDirective, decorators: [{
|
|
30
|
-
type: Directive
|
|
31
|
-
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
32
|
-
//# sourceMappingURL=core-menu-context-trigger.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-menu-context-trigger.directive.js","sourceRoot":"","sources":["../../../src/menu/core-menu-context-trigger.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAc,MAAM,eAAe,CAAA;AAErE,OAAO,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAA;;AAGrD,MAAM,OAAO,+BAA+B;IAC1C;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,WAAW,GAAG,cAAc,EAAE,CAAA;IAE9B,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE;QACvD,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,yBAAyB,CAAC;YAClD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEe,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAE/C,SAAS,GAAG,YAAY,EAAE,CAAA;IAE3C,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAtBU,+BAA+B;4FAA/B,+BAA+B;;4FAA/B,+BAA+B;kBAD3C,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useMenuContext} from \"./menu-context.service\"\n\n@Directive()\nexport class CoreMenuContextTriggerDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly menuContext = useMenuContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.menuContext().getContextTriggerBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { Directive } from "@angular/core";
|
|
4
|
-
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
-
import { useMenuContext } from "./menu-context.service";
|
|
6
|
-
import { useMenuItemGroupContext } from "./menu-item-group-context.service";
|
|
7
|
-
import { useMenuRadioItemGroupContext } from "./menu-radio-item-group-context.service";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class CoreMenuItemGroupLabelDirective {
|
|
10
|
-
menuContext = useMenuContext();
|
|
11
|
-
menuItemGroupContext = useMenuItemGroupContext({
|
|
12
|
-
optional: true,
|
|
13
|
-
});
|
|
14
|
-
menuRadioItemGroupContext = useMenuRadioItemGroupContext({
|
|
15
|
-
optional: true,
|
|
16
|
-
});
|
|
17
|
-
trackBindings = useTrackBindings(() => {
|
|
18
|
-
return this.menuContext().getItemGroupLabelBindings({
|
|
19
|
-
htmlFor: this.menuItemGroupContext?.().id ||
|
|
20
|
-
this.menuRadioItemGroupContext?.().id,
|
|
21
|
-
});
|
|
22
|
-
});
|
|
23
|
-
ngOnInit() {
|
|
24
|
-
this.trackBindings();
|
|
25
|
-
}
|
|
26
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuItemGroupLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: CoreMenuItemGroupLabelDirective, isStandalone: true, ngImport: i0 });
|
|
28
|
-
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuItemGroupLabelDirective, decorators: [{
|
|
30
|
-
type: Directive
|
|
31
|
-
}] });
|
|
32
|
-
//# sourceMappingURL=core-menu-item-group-label.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-menu-item-group-label.directive.js","sourceRoot":"","sources":["../../../src/menu/core-menu-item-group-label.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,SAAS,EAAc,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAC,uBAAuB,EAAC,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAC,4BAA4B,EAAC,MAAM,yCAAyC,CAAA;;AAGpF,MAAM,OAAO,+BAA+B;IACvB,WAAW,GAAG,cAAc,EAAE,CAAA;IAC9B,oBAAoB,GAAG,uBAAuB,CAAC;QAChE,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IACiB,yBAAyB,GAAG,4BAA4B,CAAC;QAC1E,QAAQ,EAAE,IAAI;KACf,CAAC,CAAA;IAEiB,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE;QACvD,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,yBAAyB,CAAC;YAClD,OAAO,EACL,IAAI,CAAC,oBAAoB,EAAE,EAAE,CAAC,EAAE;gBAChC,IAAI,CAAC,yBAAyB,EAAE,EAAE,CAAC,EAAE;SACxC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAnBU,+BAA+B;4FAA/B,+BAA+B;;4FAA/B,+BAA+B;kBAD3C,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useMenuContext} from \"./menu-context.service\"\nimport {useMenuItemGroupContext} from \"./menu-item-group-context.service\"\nimport {useMenuRadioItemGroupContext} from \"./menu-radio-item-group-context.service\"\n\n@Directive()\nexport class CoreMenuItemGroupLabelDirective implements OnInit {\n protected readonly menuContext = useMenuContext()\n protected readonly menuItemGroupContext = useMenuItemGroupContext({\n optional: true,\n })\n protected readonly menuRadioItemGroupContext = useMenuRadioItemGroupContext({\n optional: true,\n })\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.menuContext().getItemGroupLabelBindings({\n htmlFor:\n this.menuItemGroupContext?.().id ||\n this.menuRadioItemGroupContext?.().id,\n })\n })\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, Directive, inject, input } from "@angular/core";
|
|
4
|
-
import { useId } from "@qualcomm-ui/angular-core/common";
|
|
5
|
-
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
-
import { useMenuContext } from "./menu-context.service";
|
|
7
|
-
import { MenuItemGroupContextService } from "./menu-item-group-context.service";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export class CoreMenuItemGroupDirective {
|
|
10
|
-
/**
|
|
11
|
-
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
12
|
-
* omitted, a unique identifier will be generated for accessibility.
|
|
13
|
-
*/
|
|
14
|
-
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
15
|
-
menuContext = useMenuContext();
|
|
16
|
-
menuItemGroupService = inject(MenuItemGroupContextService);
|
|
17
|
-
trackBindings = useTrackBindings(() => {
|
|
18
|
-
return this.menuContext().getItemGroupBindings({
|
|
19
|
-
id: this.hostId(),
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
23
|
-
ngOnInit() {
|
|
24
|
-
this.menuItemGroupService.init(computed(() => ({ id: this.hostId() })));
|
|
25
|
-
this.trackBindings();
|
|
26
|
-
}
|
|
27
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuItemGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
28
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreMenuItemGroupDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
29
|
-
}
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreMenuItemGroupDirective, decorators: [{
|
|
31
|
-
type: Directive
|
|
32
|
-
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
33
|
-
//# sourceMappingURL=core-menu-item-group.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-menu-item-group.directive.js","sourceRoot":"","sources":["../../../src/menu/core-menu-item-group.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAc,MAAM,eAAe,CAAA;AAE7E,OAAO,EAAC,KAAK,EAAC,MAAM,kCAAkC,CAAA;AACtD,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAA;AACrD,OAAO,EAAC,2BAA2B,EAAC,MAAM,mCAAmC,CAAA;;AAG7E,MAAM,OAAO,0BAA0B;IACrC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,WAAW,GAAG,cAAc,EAAE,CAAA;IAC9B,oBAAoB,GAAG,MAAM,CAAC,2BAA2B,CAAC,CAAA;IAE1D,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE;QACvD,OAAO,IAAI,CAAC,WAAW,EAAE,CAAC,oBAAoB,CAAC;YAC7C,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;SAClB,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEe,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAEhE,QAAQ;QACN,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,EAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,EAAC,CAAC,CAAC,CAAC,CAAA;QACrE,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGArBU,0BAA0B;4FAA1B,0BAA0B;;4FAA1B,0BAA0B;kBADtC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, inject, input, type OnInit} from \"@angular/core\"\n\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useMenuContext} from \"./menu-context.service\"\nimport {MenuItemGroupContextService} from \"./menu-item-group-context.service\"\n\n@Directive()\nexport class CoreMenuItemGroupDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly menuContext = useMenuContext()\n protected readonly menuItemGroupService = inject(MenuItemGroupContextService)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.menuContext().getItemGroupBindings({\n id: this.hostId(),\n })\n })\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n ngOnInit() {\n this.menuItemGroupService.init(computed(() => ({id: this.hostId()})))\n this.trackBindings()\n }\n}\n"]}
|