@qualcomm-ui/angular-core 1.0.1 → 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/README.md +9 -0
- 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 +102 -103
- 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 -193
- 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 -87
- 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 -144
- 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 -108
- 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 -43
- 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 -103
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signalify-input.js","sourceRoot":"","sources":["../../../src/signals/signalify-input.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport type {Signal} from \"@angular/core\"\n\nimport type {MaybeSignal} from \"./signals.types\"\n\nexport type SignalifyInput<T> = {\n [Key in keyof T as Key extends `on${string}` ? never : Key]-?: Signal<T[Key]>\n}\n\nexport type MaybeSignalInput<T> = {\n [Key in keyof T as Key extends `on${string}` ? never : Key]-?: MaybeSignal<\n T[Key]\n >\n}\n"]}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, signal, untracked } from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Converts an object's function properties to computed signals.
|
|
6
|
-
*/
|
|
7
|
-
export function signalifyObject(someObject) {
|
|
8
|
-
const objectSignal = signal(someObject, ...(ngDevMode ? [{ debugName: "objectSignal" }] : []));
|
|
9
|
-
return new Proxy(objectSignal, {
|
|
10
|
-
apply() {
|
|
11
|
-
return objectSignal();
|
|
12
|
-
},
|
|
13
|
-
get(target, property) {
|
|
14
|
-
if (target[property]) {
|
|
15
|
-
return target[property];
|
|
16
|
-
}
|
|
17
|
-
const untrackedObject = untracked(objectSignal);
|
|
18
|
-
const maybeFn = untrackedObject[property];
|
|
19
|
-
if (typeof maybeFn === "function") {
|
|
20
|
-
Object.defineProperty(target, property, {
|
|
21
|
-
configurable: true,
|
|
22
|
-
enumerable: true,
|
|
23
|
-
value: toComputed(objectSignal, maybeFn),
|
|
24
|
-
});
|
|
25
|
-
return target[property];
|
|
26
|
-
}
|
|
27
|
-
return (target[property] = untrackedObject[property]);
|
|
28
|
-
},
|
|
29
|
-
getOwnPropertyDescriptor() {
|
|
30
|
-
return {
|
|
31
|
-
configurable: true,
|
|
32
|
-
enumerable: true,
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
has(_, prop) {
|
|
36
|
-
return !!untracked(objectSignal)[prop];
|
|
37
|
-
},
|
|
38
|
-
ownKeys() {
|
|
39
|
-
return Reflect.ownKeys(untracked(objectSignal));
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Since we cannot automatically detect the parameters of accessors, we will wrap
|
|
45
|
-
* all accessors in a cached function. This function will wrap a computed value that
|
|
46
|
-
* returns its result based on the given parameters.
|
|
47
|
-
*/
|
|
48
|
-
function toComputed(signal, fn) {
|
|
49
|
-
const hasArgs = fn.length > 0;
|
|
50
|
-
if (!hasArgs) {
|
|
51
|
-
return computed(() => {
|
|
52
|
-
void signal();
|
|
53
|
-
return fn();
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
const computedCache = {};
|
|
57
|
-
return (...argsArray) => {
|
|
58
|
-
const serializedArgs = serializeArgs(...argsArray);
|
|
59
|
-
if (computedCache.hasOwnProperty(serializedArgs)) {
|
|
60
|
-
return computedCache[serializedArgs]?.();
|
|
61
|
-
}
|
|
62
|
-
const computedSignal = computed(() => {
|
|
63
|
-
void signal();
|
|
64
|
-
return fn(...argsArray);
|
|
65
|
-
}, ...(ngDevMode ? [{ debugName: "computedSignal" }] : []));
|
|
66
|
-
computedCache[serializedArgs] = computedSignal;
|
|
67
|
-
return computedSignal();
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function serializeArgs(...args) {
|
|
71
|
-
return JSON.stringify(args);
|
|
72
|
-
}
|
|
73
|
-
//# sourceMappingURL=signalify-object.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signalify-object.js","sourceRoot":"","sources":["../../../src/signals/signalify-object.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAe,SAAS,EAAC,MAAM,eAAe,CAAA;AAEtE;;GAEG;AACH,MAAM,UAAU,eAAe,CAC7B,UAAa;IAEb,MAAM,YAAY,GAAG,MAAM,CAAI,UAAU,wDAAC,CAAA;IAE1C,OAAO,IAAI,KAAK,CAAC,YAAY,EAAE;QAC7B,KAAK;YACH,OAAO,YAAY,EAAE,CAAA;QACvB,CAAC;QACD,GAAG,CAAC,MAAW,EAAE,QAAa;YAC5B,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACrB,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAA;YACzB,CAAC;YACD,MAAM,eAAe,GAAQ,SAAS,CAAC,YAAY,CAAC,CAAA;YACpD,MAAM,OAAO,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAA;YACzC,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE,CAAC;gBAClC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,QAAQ,EAAE;oBACtC,YAAY,EAAE,IAAI;oBAClB,UAAU,EAAE,IAAI;oBAChB,KAAK,EAAE,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC;iBACzC,CAAC,CAAA;gBACF,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAA;YACzB,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAA;QACvD,CAAC;QACD,wBAAwB;YACtB,OAAO;gBACL,YAAY,EAAE,IAAI;gBAClB,UAAU,EAAE,IAAI;aACjB,CAAA;QACH,CAAC;QACD,GAAG,CAAC,CAAC,EAAE,IAAY;YACjB,OAAO,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAA;QACxC,CAAC;QACD,OAAO;YACL,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAA;QACjD,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,MAAmB,EAAE,EAAY;IACnD,MAAM,OAAO,GAAG,EAAE,CAAC,MAAM,GAAG,CAAC,CAAA;IAC7B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,QAAQ,CAAC,GAAG,EAAE;YACnB,KAAK,MAAM,EAAE,CAAA;YACb,OAAO,EAAE,EAAE,CAAA;QACb,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,aAAa,GAAoC,EAAE,CAAA;IAEzD,OAAO,CAAC,GAAG,SAAgB,EAAE,EAAE;QAC7B,MAAM,cAAc,GAAG,aAAa,CAAC,GAAG,SAAS,CAAC,CAAA;QAClD,IAAI,aAAa,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,CAAC;YACjD,OAAO,aAAa,CAAC,cAAc,CAAC,EAAE,EAAE,CAAA;QAC1C,CAAC;QACD,MAAM,cAAc,GAAG,QAAQ,CAAC,GAAG,EAAE;YACnC,KAAK,MAAM,EAAE,CAAA;YACb,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC,CAAA;QACzB,CAAC,0DAAC,CAAA;QAEF,aAAa,CAAC,cAAc,CAAC,GAAG,cAAc,CAAA;QAE9C,OAAO,cAAc,EAAE,CAAA;IACzB,CAAC,CAAA;AACH,CAAC;AAED,SAAS,aAAa,CAAC,GAAG,IAAW;IACnC,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;AAC7B,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, signal, type Signal, untracked} from \"@angular/core\"\n\n/**\n * Converts an object's function properties to computed signals.\n */\nexport function signalifyObject<T extends Record<string, any>>(\n someObject: T,\n): T {\n const objectSignal = signal<T>(someObject)\n\n return new Proxy(objectSignal, {\n apply() {\n return objectSignal()\n },\n get(target: any, property: any): any {\n if (target[property]) {\n return target[property]\n }\n const untrackedObject: any = untracked(objectSignal)\n const maybeFn = untrackedObject[property]\n if (typeof maybeFn === \"function\") {\n Object.defineProperty(target, property, {\n configurable: true,\n enumerable: true,\n value: toComputed(objectSignal, maybeFn),\n })\n return target[property]\n }\n return (target[property] = untrackedObject[property])\n },\n getOwnPropertyDescriptor() {\n return {\n configurable: true,\n enumerable: true,\n }\n },\n has(_, prop: string) {\n return !!untracked(objectSignal)[prop]\n },\n ownKeys() {\n return Reflect.ownKeys(untracked(objectSignal))\n },\n })\n}\n\n/**\n * Since we cannot automatically detect the parameters of accessors, we will wrap\n * all accessors in a cached function. This function will wrap a computed value that\n * returns its result based on the given parameters.\n */\nfunction toComputed(signal: Signal<any>, fn: Function) {\n const hasArgs = fn.length > 0\n if (!hasArgs) {\n return computed(() => {\n void signal()\n return fn()\n })\n }\n\n const computedCache: Record<string, Signal<unknown>> = {}\n\n return (...argsArray: any[]) => {\n const serializedArgs = serializeArgs(...argsArray)\n if (computedCache.hasOwnProperty(serializedArgs)) {\n return computedCache[serializedArgs]?.()\n }\n const computedSignal = computed(() => {\n void signal()\n return fn(...argsArray)\n })\n\n computedCache[serializedArgs] = computedSignal\n\n return computedSignal()\n }\n}\n\nfunction serializeArgs(...args: any[]) {\n return JSON.stringify(args)\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"signals.types.js","sourceRoot":"","sources":["../../../src/signals/signals.types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport type {Signal} from \"@angular/core\"\n\nexport type MaybeSignal<T> = T | Signal<T>\n"]}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, signal, untracked, } from "@angular/core";
|
|
4
|
-
import { defined } from "@qualcomm-ui/utils/guard";
|
|
5
|
-
export class ControlledStateLegacy {
|
|
6
|
-
onChange;
|
|
7
|
-
name;
|
|
8
|
-
state;
|
|
9
|
-
get controlled() {
|
|
10
|
-
return this._controlled.asReadonly();
|
|
11
|
-
}
|
|
12
|
-
value = signal(undefined, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
13
|
-
controlledValue = signal(undefined, ...(ngDevMode ? [{ debugName: "controlledValue" }] : []));
|
|
14
|
-
_controlled = signal(false, ...(ngDevMode ? [{ debugName: "_controlled" }] : []));
|
|
15
|
-
constructor(
|
|
16
|
-
/**
|
|
17
|
-
* The controlled value.
|
|
18
|
-
*/
|
|
19
|
-
controlledValue,
|
|
20
|
-
/**
|
|
21
|
-
* The default value.
|
|
22
|
-
*/
|
|
23
|
-
defaultValue,
|
|
24
|
-
/**
|
|
25
|
-
* onChange function fired when the state is modified internally. If the
|
|
26
|
-
* controlled state is modified from outside of this service, this function will
|
|
27
|
-
* not be called.
|
|
28
|
-
*/
|
|
29
|
-
onChange,
|
|
30
|
-
/**
|
|
31
|
-
* The name of this instance. Used in error logging.
|
|
32
|
-
*/
|
|
33
|
-
name,
|
|
34
|
-
/**
|
|
35
|
-
* The name of the tracked property. Used in error logging.
|
|
36
|
-
*/
|
|
37
|
-
state) {
|
|
38
|
-
this.onChange = onChange;
|
|
39
|
-
this.name = name;
|
|
40
|
-
this.state = state;
|
|
41
|
-
this._controlled.set(defined(controlledValue));
|
|
42
|
-
this.controlledValue.set(controlledValue);
|
|
43
|
-
this.value.set(defaultValue);
|
|
44
|
-
}
|
|
45
|
-
set(value, options) {
|
|
46
|
-
if (!this._controlled()) {
|
|
47
|
-
// if not controlled, we use the internal value.
|
|
48
|
-
untracked(() => this.value.set(value));
|
|
49
|
-
}
|
|
50
|
-
this.onChange.emit({ ...options, index: value });
|
|
51
|
-
}
|
|
52
|
-
get = computed(() => {
|
|
53
|
-
const controlledValue = this.controlledValue();
|
|
54
|
-
const value = this.value();
|
|
55
|
-
return controlledValue ?? value;
|
|
56
|
-
}, ...(ngDevMode ? [{ debugName: "get" }] : []));
|
|
57
|
-
emitWarning() {
|
|
58
|
-
console.error([
|
|
59
|
-
`QUI: A component is changing the ${this.controlled() ? "" : "un"}controlled ${this.state} state of ${this.name} to be ${this.controlled() ? "un" : ""}controlled.`,
|
|
60
|
-
"Elements should not switch from uncontrolled to controlled (or vice versa).",
|
|
61
|
-
`Decide between using a controlled or uncontrolled ${this.name} ` +
|
|
62
|
-
"element for the lifetime of the component.",
|
|
63
|
-
"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
|
|
64
|
-
].join("\n"));
|
|
65
|
-
}
|
|
66
|
-
handleOnChange(change) {
|
|
67
|
-
if (!change) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
if (!this.controlled() &&
|
|
71
|
-
defined(change.currentValue) &&
|
|
72
|
-
!change.isFirstChange()) {
|
|
73
|
-
this.emitWarning();
|
|
74
|
-
}
|
|
75
|
-
const value = change.currentValue;
|
|
76
|
-
this.controlledValue.set(value);
|
|
77
|
-
this.value.set(value);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
//# sourceMappingURL=controlled-state-legacy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controlled-state-legacy.js","sourceRoot":"","sources":["../../../src/state/controlled-state-legacy.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,QAAQ,EAER,MAAM,EAEN,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAA;AAEhD,MAAM,OAAO,qBAAqB;IAyBtB;IAIA;IAIA;IA7BV,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,CAAA;IACtC,CAAC;IACkB,KAAK,GAAG,MAAM,CAAgB,SAAS,iDAAC,CAAA;IACxC,eAAe,GAAG,MAAM,CAAgB,SAAS,2DAAC,CAAA;IACpD,WAAW,GAAG,MAAM,CAAU,KAAK,uDAAC,CAAA;IAErD;IACE;;OAEG;IACH,eAA8B;IAC9B;;OAEG;IACH,YAA2B;IAC3B;;;;OAIG;IACK,QAA+B;IACvC;;OAEG;IACK,IAAY;IACpB;;OAEG;IACK,KAAa;QARb,aAAQ,GAAR,QAAQ,CAAuB;QAI/B,SAAI,GAAJ,IAAI,CAAQ;QAIZ,UAAK,GAAL,KAAK,CAAQ;QAErB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAA;QAC9C,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QACzC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;IAC9B,CAAC;IAED,GAAG,CAAC,KAAQ,EAAE,OAAwB;QACpC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YACxB,gDAAgD;YAChD,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAA;QACxC,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAC,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC,CAAA;IAChD,CAAC;IAEQ,GAAG,GAAG,QAAQ,CAAC,GAAG,EAAE;QAC3B,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,CAAA;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;QAC1B,OAAO,eAAe,IAAI,KAAK,CAAA;IACjC,CAAC,+CAAC,CAAA;IAEM,WAAW;QACjB,OAAO,CAAC,KAAK,CACX;YACE,oCACE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAC3B,cAAc,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,IAAI,UAC5C,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAC7B,aAAa;YACb,6EAA6E;YAC7E,qDAAqD,IAAI,CAAC,IAAI,GAAG;gBAC/D,4CAA4C;YAC9C,4HAA4H;SAC7H,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAqB;QAClC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAM;QACR,CAAC;QACD,IACE,CAAC,IAAI,CAAC,UAAU,EAAE;YAClB,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;YAC5B,CAAC,MAAM,CAAC,aAAa,EAAE,EACvB,CAAC;YACD,IAAI,CAAC,WAAW,EAAE,CAAA;QACpB,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAA;QACjC,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC/B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IACvB,CAAC;CACF","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n type OutputEmitterRef,\n signal,\n type SimpleChange,\n untracked,\n} from \"@angular/core\"\n\nimport {defined} from \"@qualcomm-ui/utils/guard\"\n\nexport class ControlledStateLegacy<\n T,\n OnChangeParams extends Record<string, any> | null = null,\n> {\n get controlled() {\n return this._controlled.asReadonly()\n }\n protected readonly value = signal<T | undefined>(undefined)\n protected readonly controlledValue = signal<T | undefined>(undefined)\n private readonly _controlled = signal<boolean>(false)\n\n constructor(\n /**\n * The controlled value.\n */\n controlledValue: T | undefined,\n /**\n * The default value.\n */\n defaultValue: T | undefined,\n /**\n * onChange function fired when the state is modified internally. If the\n * controlled state is modified from outside of this service, this function will\n * not be called.\n */\n private onChange: OutputEmitterRef<any>,\n /**\n * The name of this instance. Used in error logging.\n */\n private name: string,\n /**\n * The name of the tracked property. Used in error logging.\n */\n private state: string,\n ) {\n this._controlled.set(defined(controlledValue))\n this.controlledValue.set(controlledValue)\n this.value.set(defaultValue)\n }\n\n set(value: T, options?: OnChangeParams) {\n if (!this._controlled()) {\n // if not controlled, we use the internal value.\n untracked(() => this.value.set(value))\n }\n this.onChange.emit({...options, index: value})\n }\n\n readonly get = computed(() => {\n const controlledValue = this.controlledValue()\n const value = this.value()\n return controlledValue ?? value\n })\n\n private emitWarning() {\n console.error(\n [\n `QUI: A component is changing the ${\n this.controlled() ? \"\" : \"un\"\n }controlled ${this.state} state of ${this.name} to be ${\n this.controlled() ? \"un\" : \"\"\n }controlled.`,\n \"Elements should not switch from uncontrolled to controlled (or vice versa).\",\n `Decide between using a controlled or uncontrolled ${this.name} ` +\n \"element for the lifetime of the component.\",\n \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\",\n ].join(\"\\n\"),\n )\n }\n\n handleOnChange(change?: SimpleChange) {\n if (!change) {\n return\n }\n if (\n !this.controlled() &&\n defined(change.currentValue) &&\n !change.isFirstChange()\n ) {\n this.emitWarning()\n }\n const value = change.currentValue\n this.controlledValue.set(value)\n this.value.set(value)\n }\n}\n"]}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { Subject } from "rxjs";
|
|
4
|
-
import { defined } from "@qualcomm-ui/utils/guard";
|
|
5
|
-
export class ControlledStateService {
|
|
6
|
-
valueChanged = new Subject();
|
|
7
|
-
onChange;
|
|
8
|
-
value;
|
|
9
|
-
initialized = false;
|
|
10
|
-
name;
|
|
11
|
-
state;
|
|
12
|
-
controlledValue;
|
|
13
|
-
get controlled() {
|
|
14
|
-
return this._controlled;
|
|
15
|
-
}
|
|
16
|
-
_controlled = false;
|
|
17
|
-
init(
|
|
18
|
-
/**
|
|
19
|
-
* The controlled value.
|
|
20
|
-
*/
|
|
21
|
-
controlledValue,
|
|
22
|
-
/**
|
|
23
|
-
* The default value.
|
|
24
|
-
*/
|
|
25
|
-
defaultValue,
|
|
26
|
-
/**
|
|
27
|
-
* onChange function fired when the state is modified internally. If the
|
|
28
|
-
* controlled state is modified from outside of this service, this function will
|
|
29
|
-
* not be called.
|
|
30
|
-
*/
|
|
31
|
-
onChange,
|
|
32
|
-
/**
|
|
33
|
-
* The name of this instance. Used in error logging.
|
|
34
|
-
*/
|
|
35
|
-
name,
|
|
36
|
-
/**
|
|
37
|
-
* The name of the tracked property. Used in error logging.
|
|
38
|
-
*/
|
|
39
|
-
state) {
|
|
40
|
-
if (this.initialized) {
|
|
41
|
-
throw new Error("Cannot initialize controlled state more than once.");
|
|
42
|
-
}
|
|
43
|
-
this._controlled = defined(controlledValue);
|
|
44
|
-
this.onChange = onChange;
|
|
45
|
-
this.controlledValue = controlledValue;
|
|
46
|
-
this.value = defaultValue;
|
|
47
|
-
this.name = name;
|
|
48
|
-
this.state = state;
|
|
49
|
-
this.initialized = true;
|
|
50
|
-
}
|
|
51
|
-
set(value, event) {
|
|
52
|
-
if (!this._controlled) {
|
|
53
|
-
this.value = value;
|
|
54
|
-
this.valueChanged.next(value);
|
|
55
|
-
}
|
|
56
|
-
this.onChange?.(value, event);
|
|
57
|
-
}
|
|
58
|
-
get() {
|
|
59
|
-
return this.controlledValue ?? this.value;
|
|
60
|
-
}
|
|
61
|
-
emitWarning() {
|
|
62
|
-
console.error([
|
|
63
|
-
`QUI: A component is changing the ${this.controlled ? "" : "un"}controlled ${this.state} state of ${this.name} to be ${this.controlled ? "un" : ""}controlled.`,
|
|
64
|
-
"Elements should not switch from uncontrolled to controlled (or vice versa).",
|
|
65
|
-
`Decide between using a controlled or uncontrolled ${this.name} ` +
|
|
66
|
-
"element for the lifetime of the component.",
|
|
67
|
-
"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
|
|
68
|
-
].join("\n"));
|
|
69
|
-
}
|
|
70
|
-
handleOnChange(change) {
|
|
71
|
-
if (!change) {
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
if (!this.controlled &&
|
|
75
|
-
defined(change.currentValue) &&
|
|
76
|
-
!change.isFirstChange()) {
|
|
77
|
-
this.emitWarning();
|
|
78
|
-
}
|
|
79
|
-
const value = change.currentValue;
|
|
80
|
-
this.controlledValue = value;
|
|
81
|
-
this.valueChanged.next(value);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=controlled-state.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"controlled-state.service.js","sourceRoot":"","sources":["../../../src/state/controlled-state.service.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAG9C,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAA;AAE5B,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAA;AAEhD,MAAM,OAAO,sBAAsB;IACxB,YAAY,GAAG,IAAI,OAAO,EAAiB,CAAA;IAE1C,QAAQ,CAA0C;IAClD,KAAK,CAAe;IACpB,WAAW,GAAG,KAAK,CAAA;IACnB,IAAI,CAAQ;IACZ,KAAK,CAAQ;IACb,eAAe,CAAe;IAExC,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAA;IACzB,CAAC;IACS,WAAW,GAAY,KAAK,CAAA;IAEtC,IAAI;IACF;;OAEG;IACH,eAA8B;IAC9B;;OAEG;IACH,YAA2B;IAC3B;;;;OAIG;IACH,QAAiD;IACjD;;OAEG;IACH,IAAY;IACZ;;OAEG;IACH,KAAa;QAEb,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAA;QACvE,CAAC;QACD,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;QAC3C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,KAAK,GAAG,YAAY,CAAA;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAA;IACzB,CAAC;IAED,GAAG,CAAC,KAAQ,EAAE,KAAmB;QAC/B,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;YAClB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC/B,CAAC;QACD,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;IAC/B,CAAC;IAED,GAAG;QACD,OAAO,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,KAAK,CAAA;IAC3C,CAAC;IAEO,WAAW;QACjB,OAAO,CAAC,KAAK,CACX;YACE,oCACE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IACzB,cAAc,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,IAAI,UAC5C,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAC3B,aAAa;YACb,6EAA6E;YAC7E,qDAAqD,IAAI,CAAC,IAAI,GAAG;gBAC/D,4CAA4C;YAC9C,4HAA4H;SAC7H,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAqB;QAClC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAM;QACR,CAAC;QACD,IACE,CAAC,IAAI,CAAC,UAAU;YAChB,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;YAC5B,CAAC,MAAM,CAAC,aAAa,EAAE,EACvB,CAAC;YACD,IAAI,CAAC,WAAW,EAAE,CAAA;QACpB,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAA;QACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;QAC5B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAC/B,CAAC;CACF","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport type {SimpleChange} from \"@angular/core\"\nimport {Subject} from \"rxjs\"\n\nimport {defined} from \"@qualcomm-ui/utils/guard\"\n\nexport class ControlledStateService<T, OnChangeArg = Event> {\n readonly valueChanged = new Subject<T | undefined>()\n\n protected onChange?: (value: T, event?: OnChangeArg) => void\n protected value: T | undefined\n protected initialized = false\n protected name: string\n protected state: string\n protected controlledValue: T | undefined\n\n get controlled() {\n return this._controlled\n }\n protected _controlled: boolean = false\n\n init(\n /**\n * The controlled value.\n */\n controlledValue: T | undefined,\n /**\n * The default value.\n */\n defaultValue: T | undefined,\n /**\n * onChange function fired when the state is modified internally. If the\n * controlled state is modified from outside of this service, this function will\n * not be called.\n */\n onChange: (value: T, event?: OnChangeArg) => void,\n /**\n * The name of this instance. Used in error logging.\n */\n name: string,\n /**\n * The name of the tracked property. Used in error logging.\n */\n state: string,\n ) {\n if (this.initialized) {\n throw new Error(\"Cannot initialize controlled state more than once.\")\n }\n this._controlled = defined(controlledValue)\n this.onChange = onChange\n this.controlledValue = controlledValue\n this.value = defaultValue\n this.name = name\n this.state = state\n this.initialized = true\n }\n\n set(value: T, event?: OnChangeArg) {\n if (!this._controlled) {\n this.value = value\n this.valueChanged.next(value)\n }\n this.onChange?.(value, event)\n }\n\n get() {\n return this.controlledValue ?? this.value\n }\n\n private emitWarning() {\n console.error(\n [\n `QUI: A component is changing the ${\n this.controlled ? \"\" : \"un\"\n }controlled ${this.state} state of ${this.name} to be ${\n this.controlled ? \"un\" : \"\"\n }controlled.`,\n \"Elements should not switch from uncontrolled to controlled (or vice versa).\",\n `Decide between using a controlled or uncontrolled ${this.name} ` +\n \"element for the lifetime of the component.\",\n \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\",\n ].join(\"\\n\"),\n )\n }\n\n handleOnChange(change?: SimpleChange) {\n if (!change) {\n return\n }\n if (\n !this.controlled &&\n defined(change.currentValue) &&\n !change.isFirstChange()\n ) {\n this.emitWarning()\n }\n const value = change.currentValue\n this.controlledValue = value\n this.valueChanged.next(value)\n }\n}\n"]}
|
package/esm2022/state/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA","sourcesContent":["export * from \"./controlled-state.service\"\nexport * from \"./controlled-state-legacy\"\nexport * from \"./use-controlled-state\"\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-state.js","sourceRoot":"","sources":["../../../src/state/qualcomm-ui-angular-core-state.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, signal } from "@angular/core";
|
|
4
|
-
export function useControlledState(options) {
|
|
5
|
-
const { defaultValue, onChange, value: controlledValue } = options;
|
|
6
|
-
return computed(() => {
|
|
7
|
-
const isControlled = controlledValue?.() !== undefined;
|
|
8
|
-
const localValue = signal(access(defaultValue), ...(ngDevMode ? [{ debugName: "localValue" }] : []));
|
|
9
|
-
const value = isControlled ? controlledValue : localValue.asReadonly();
|
|
10
|
-
const setValue = (newValue, ...rest) => {
|
|
11
|
-
onChange?.(newValue, ...rest);
|
|
12
|
-
if (!isControlled) {
|
|
13
|
-
localValue.set(newValue);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
return { setValue, value };
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function access(value) {
|
|
20
|
-
if (value === undefined) {
|
|
21
|
-
return undefined;
|
|
22
|
-
}
|
|
23
|
-
if (typeof value === "function") {
|
|
24
|
-
return value();
|
|
25
|
-
}
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=use-controlled-state.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-controlled-state.js","sourceRoot":"","sources":["../../../src/state/use-controlled-state.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAc,MAAM,eAAe,CAAA;AAa3D,MAAM,UAAU,kBAAkB,CAChC,OAAkC;IAElC,MAAM,EAAC,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAC,GAAG,OAAO,CAAA;IAEhE,OAAO,QAAQ,CAAC,GAAG,EAAE;QACnB,MAAM,YAAY,GAAG,eAAe,EAAE,EAAE,KAAK,SAAS,CAAA;QACtD,MAAM,UAAU,GAAG,MAAM,CAAgB,MAAM,CAAC,YAAY,CAAC,sDAAC,CAAA;QAE9D,MAAM,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA;QAEtE,MAAM,QAAQ,GAAG,CAAC,QAAW,EAAE,GAAG,IAAW,EAAE,EAAE;YAC/C,QAAQ,EAAE,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,CAAA;YAC7B,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClB,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;YAC1B,CAAC;QACH,CAAC,CAAA;QAED,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAuB,CAAA;IAChD,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,MAAM,CAAI,KAAgC;IACjD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAA;IAClB,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QAChC,OAAQ,KAA8B,EAAE,CAAA;IAC1C,CAAC;IACD,OAAO,KAAU,CAAA;AACnB,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, signal, type Signal} from \"@angular/core\"\n\ninterface ControlledStateOptions<T> {\n defaultValue?: Signal<T | undefined> | T | undefined\n onChange?: ((value: T, ...rest: any[]) => void) | undefined\n value?: Signal<T | undefined>\n}\n\nexport interface ControlledState<T> {\n setValue: (newValue: T, ...rest: any[]) => void\n value: Signal<T | undefined>\n}\n\nexport function useControlledState<T>(\n options: ControlledStateOptions<T>,\n): Signal<ControlledState<T>> {\n const {defaultValue, onChange, value: controlledValue} = options\n\n return computed(() => {\n const isControlled = controlledValue?.() !== undefined\n const localValue = signal<T | undefined>(access(defaultValue))\n\n const value = isControlled ? controlledValue : localValue.asReadonly()\n\n const setValue = (newValue: T, ...rest: any[]) => {\n onChange?.(newValue, ...rest)\n if (!isControlled) {\n localValue.set(newValue)\n }\n }\n\n return {setValue, value} as ControlledState<T>\n })\n}\n\nfunction access<T>(value: Signal<T> | T | undefined): T | undefined {\n if (value === undefined) {\n return undefined\n }\n if (typeof value === \"function\") {\n return (value as unknown as Signal<T>)()\n }\n return value as T\n}\n"]}
|
|
@@ -1,19 +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 { useSwitchContext } from "./switch-context.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class CoreSwitchControlDirective {
|
|
8
|
-
switchContext = useSwitchContext();
|
|
9
|
-
trackBindings = useTrackBindings(() => this.switchContext().getControlBindings());
|
|
10
|
-
ngOnInit() {
|
|
11
|
-
this.trackBindings();
|
|
12
|
-
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: CoreSwitchControlDirective, isStandalone: true, ngImport: i0 });
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchControlDirective, decorators: [{
|
|
17
|
-
type: Directive
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=core-switch-control.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-switch-control.directive.js","sourceRoot":"","sources":["../../../src/switch/core-switch-control.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,gBAAgB,EAAC,MAAM,0BAA0B,CAAA;;AAGzD,MAAM,OAAO,0BAA0B;IAClB,aAAa,GAAG,gBAAgB,EAAE,CAAA;IAElC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,aAAa,EAAE,CAAC,kBAAkB,EAAE,CAC1C,CAAA;IAED,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGATU,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 {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchControlDirective implements OnInit {\n protected readonly switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getControlBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,30 +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 { useSwitchContext } from "./switch-context.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class CoreSwitchErrorTextDirective {
|
|
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
|
-
switchContext = useSwitchContext();
|
|
15
|
-
trackBindings = useTrackBindings(() => this.switchContext().getErrorTextBindings({
|
|
16
|
-
id: this.hostId(),
|
|
17
|
-
onDestroy: this.onDestroy,
|
|
18
|
-
}));
|
|
19
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
20
|
-
onDestroy = useOnDestroy();
|
|
21
|
-
ngOnInit() {
|
|
22
|
-
this.trackBindings();
|
|
23
|
-
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreSwitchErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchErrorTextDirective, decorators: [{
|
|
28
|
-
type: Directive
|
|
29
|
-
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
30
|
-
//# sourceMappingURL=core-switch-error-text.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-switch-error-text.directive.js","sourceRoot":"","sources":["../../../src/switch/core-switch-error-text.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,gBAAgB,EAAC,MAAM,0BAA0B,CAAA;;AAGzD,MAAM,OAAO,4BAA4B;IACvC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,aAAa,GAAG,gBAAgB,EAAE,CAAA;IAElC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,aAAa,EAAE,CAAC,oBAAoB,CAAC;QACxC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CACH,CAAA;IAEgB,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,4BAA4B;4FAA5B,4BAA4B;;4FAA5B,4BAA4B;kBADxC,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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchErrorTextDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,30 +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 { useSwitchContext } from "./switch-context.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class CoreSwitchHiddenInputDirective {
|
|
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
|
-
switchContext = useSwitchContext();
|
|
15
|
-
trackBindings = useTrackBindings(() => this.switchContext().getHiddenInputBindings({
|
|
16
|
-
id: this.hostId(),
|
|
17
|
-
onDestroy: this.onDestroy,
|
|
18
|
-
}));
|
|
19
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
20
|
-
onDestroy = useOnDestroy();
|
|
21
|
-
ngOnInit() {
|
|
22
|
-
this.trackBindings();
|
|
23
|
-
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreSwitchHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchHiddenInputDirective, decorators: [{
|
|
28
|
-
type: Directive
|
|
29
|
-
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
30
|
-
//# sourceMappingURL=core-switch-hidden-input.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-switch-hidden-input.directive.js","sourceRoot":"","sources":["../../../src/switch/core-switch-hidden-input.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,gBAAgB,EAAC,MAAM,0BAA0B,CAAA;;AAGzD,MAAM,OAAO,8BAA8B;IACzC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,aAAa,GAAG,gBAAgB,EAAE,CAAA;IAElC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,aAAa,EAAE,CAAC,sBAAsB,CAAC;QAC1C,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CACH,CAAA;IAEgB,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,8BAA8B;4FAA9B,8BAA8B;;4FAA9B,8BAA8B;kBAD1C,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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchHiddenInputDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getHiddenInputBindings({\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,30 +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 { useSwitchContext } from "./switch-context.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export class CoreSwitchLabelDirective {
|
|
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
|
-
switchContext = useSwitchContext();
|
|
15
|
-
trackBindings = useTrackBindings(() => this.switchContext().getLabelBindings({
|
|
16
|
-
id: this.hostId(),
|
|
17
|
-
onDestroy: this.onDestroy,
|
|
18
|
-
}));
|
|
19
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
20
|
-
onDestroy = useOnDestroy();
|
|
21
|
-
ngOnInit() {
|
|
22
|
-
this.trackBindings();
|
|
23
|
-
}
|
|
24
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreSwitchLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchLabelDirective, decorators: [{
|
|
28
|
-
type: Directive
|
|
29
|
-
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
30
|
-
//# sourceMappingURL=core-switch-label.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-switch-label.directive.js","sourceRoot":"","sources":["../../../src/switch/core-switch-label.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,gBAAgB,EAAC,MAAM,0BAA0B,CAAA;;AAGzD,MAAM,OAAO,wBAAwB;IACnC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,aAAa,GAAG,gBAAgB,EAAE,CAAA;IAElC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,aAAa,EAAE,CAAC,gBAAgB,CAAC;QACpC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CACH,CAAA;IAEgB,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,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 {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 {useSwitchContext} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchLabelDirective 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 switchContext = useSwitchContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { DOCUMENT } from "@angular/common";
|
|
4
|
-
import { booleanAttribute, computed, Directive, inject, input, } from "@angular/core";
|
|
5
|
-
import {} from "@angular/forms";
|
|
6
|
-
import { AbstractCheckboxFormControlDirective } from "@qualcomm-ui/angular-core/checkbox";
|
|
7
|
-
import { useId } from "@qualcomm-ui/angular-core/common";
|
|
8
|
-
import { normalizeProps, useMachine, useTrackBindings, } from "@qualcomm-ui/angular-core/machine";
|
|
9
|
-
import {} from "@qualcomm-ui/core/checkbox";
|
|
10
|
-
import { createSwitchApi, switchMachine, } from "@qualcomm-ui/core/switch";
|
|
11
|
-
import { SwitchContextService } from "./switch-context.service";
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export class CoreSwitchRootDirective extends AbstractCheckboxFormControlDirective {
|
|
14
|
-
/**
|
|
15
|
-
* The document's text/writing direction.
|
|
16
|
-
*
|
|
17
|
-
* @default "ltr"
|
|
18
|
-
*/
|
|
19
|
-
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
|
|
20
|
-
/**
|
|
21
|
-
* A root node to correctly resolve the Document in custom environments. i.e.,
|
|
22
|
-
* Iframes, Electron.
|
|
23
|
-
*/
|
|
24
|
-
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
|
|
25
|
-
/**
|
|
26
|
-
* If true and the checkbox is not checked, the checkbox will be in the
|
|
27
|
-
* `indeterminate` state.
|
|
28
|
-
*/
|
|
29
|
-
indeterminate = input(undefined, ...(ngDevMode ? [{ debugName: "indeterminate", transform: booleanAttribute }] : [{
|
|
30
|
-
transform: booleanAttribute,
|
|
31
|
-
}]));
|
|
32
|
-
/**
|
|
33
|
-
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
34
|
-
* omitted, a unique identifier will be generated for accessibility.)
|
|
35
|
-
*/
|
|
36
|
-
id = input(undefined, ...(ngDevMode ? [{ debugName: "id" }] : []));
|
|
37
|
-
/**
|
|
38
|
-
* The value of checkbox input. Useful for form submission.
|
|
39
|
-
* @default "on"
|
|
40
|
-
*/
|
|
41
|
-
value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
42
|
-
switchContextService = inject(SwitchContextService);
|
|
43
|
-
document = inject(DOCUMENT);
|
|
44
|
-
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
45
|
-
trackBindings = useTrackBindings(() => this.switchContextService.context().getRootBindings({ id: this.hostId() }));
|
|
46
|
-
ngOnInit() {
|
|
47
|
-
super.ngOnInit();
|
|
48
|
-
const machine = useMachine(switchMachine, computed(() => ({
|
|
49
|
-
checked: this.checked(),
|
|
50
|
-
defaultChecked: this.defaultChecked(),
|
|
51
|
-
dir: this.dir(),
|
|
52
|
-
disabled: this.isDisabled(),
|
|
53
|
-
// angular handles this automatically with ngModel and Reactive Forms
|
|
54
|
-
form: undefined,
|
|
55
|
-
getRootNode: this.getRootNode() || (() => this.document),
|
|
56
|
-
ids: undefined,
|
|
57
|
-
invalid: this.invalid(),
|
|
58
|
-
name: this.name(),
|
|
59
|
-
onCheckedChange: (checked) => {
|
|
60
|
-
this.onChange(checked);
|
|
61
|
-
if (!this.control) {
|
|
62
|
-
this.checkedChanged.emit(checked);
|
|
63
|
-
this.checked.set(checked);
|
|
64
|
-
}
|
|
65
|
-
if (this.control && !this.control?.touched) {
|
|
66
|
-
this.control?.markAsTouched?.();
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
onFocusChange: (focused) => {
|
|
70
|
-
if (!focused) {
|
|
71
|
-
// only trigger on blur to prevent immediate validation, which would
|
|
72
|
-
// occur as soon as the user interacts with the field.
|
|
73
|
-
this.onTouched();
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
readOnly: this.readOnly(),
|
|
77
|
-
required: this.isRequired(),
|
|
78
|
-
value: this.value(),
|
|
79
|
-
})), this.injector);
|
|
80
|
-
this.switchContextService.init(computed(() => createSwitchApi(machine, normalizeProps)));
|
|
81
|
-
this.trackBindings();
|
|
82
|
-
}
|
|
83
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
84
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreSwitchRootDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
85
|
-
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchRootDirective, decorators: [{
|
|
87
|
-
type: Directive
|
|
88
|
-
}], propDecorators: { dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
|
|
89
|
-
//# sourceMappingURL=core-switch-root.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core-switch-root.directive.js","sourceRoot":"","sources":["../../../src/switch/core-switch-root.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAA;AACxC,OAAO,EACL,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,KAAK,GAEN,MAAM,eAAe,CAAA;AACtB,OAAO,EAA2B,MAAM,gBAAgB,CAAA;AAExD,OAAO,EAAC,oCAAoC,EAAC,MAAM,oCAAoC,CAAA;AACvF,OAAO,EAAC,KAAK,EAAC,MAAM,kCAAkC,CAAA;AACtD,OAAO,EACL,cAAc,EACd,UAAU,EACV,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;AAE1C,OAAO,EAAuB,MAAM,4BAA4B,CAAA;AAChE,OAAO,EACL,eAAe,EAEf,aAAa,GACd,MAAM,0BAA0B,CAAA;AAKjC,OAAO,EAAC,oBAAoB,EAAC,MAAM,0BAA0B,CAAA;;AAG7D,MAAM,OAAO,uBACX,SAAQ,oCAAoC;IAM5C;;;;OAIG;IACM,GAAG,GAAG,KAAK,CAAwB,SAAS,+CAAC,CAAA;IAEtD;;;OAGG;IACM,WAAW,GAAG,KAAK,iEAEzB,CAAA;IAEH;;;OAGG;IACM,aAAa,GAAG,KAAK,CAAkC,SAAS,iDACvE,SAAS,EAAE,gBAAgB,OAD8C;YACzE,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEF;;;OAGG;IACM,EAAE,GAAG,KAAK,CAAqB,SAAS,8CAAC,CAAA;IAElD;;;OAGG;IACM,KAAK,GAAG,KAAK,2DAAsB,CAAA;IAEzB,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,CAAC,CAAA;IAC5D,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;IAElB,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAC/C,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE,CAAC,eAAe,CAAC,EAAC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,EAAC,CAAC,CACzE,CAAA;IAEQ,QAAQ;QACf,KAAK,CAAC,QAAQ,EAAE,CAAA;QAEhB,MAAM,OAAO,GAAG,UAAU,CACxB,aAAa,EACb,QAAQ,CAA2B,GAAG,EAAE,CAAC,CAAC;YACxC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE;YACrC,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE;YACf,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE;YAC3B,qEAAqE;YACrE,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC;YACxD,GAAG,EAAE,SAAS;YACd,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;YACvB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;YACjB,eAAe,EAAE,CAAC,OAAO,EAAE,EAAE;gBAC3B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;gBACtB,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;oBAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;oBACjC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;gBAC3B,CAAC;gBACD,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC;oBAC3C,IAAI,CAAC,OAAO,EAAE,aAAa,EAAE,EAAE,CAAA;gBACjC,CAAC;YACH,CAAC;YACD,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE;gBACzB,IAAI,CAAC,OAAO,EAAE,CAAC;oBACb,oEAAoE;oBACpE,sDAAsD;oBACtD,IAAI,CAAC,SAAS,EAAE,CAAA;gBAClB,CAAC;YACH,CAAC;YACD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE;YACzB,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE;YAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE;SACpB,CAAC,CAAC,EACH,IAAI,CAAC,QAAQ,CACd,CAAA;QAED,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAC5B,QAAQ,CAAC,GAAG,EAAE,CAAC,eAAe,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CACzD,CAAA;QAED,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGA/FU,uBAAuB;4FAAvB,uBAAuB;;4FAAvB,uBAAuB;kBADnC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {AbstractCheckboxFormControlDirective} from \"@qualcomm-ui/angular-core/checkbox\"\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {type CheckboxApiProps} from \"@qualcomm-ui/core/checkbox\"\nimport {\n createSwitchApi,\n type SwitchApiProps,\n switchMachine,\n} from \"@qualcomm-ui/core/switch\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {SwitchContextService} from \"./switch-context.service\"\n\n@Directive()\nexport class CoreSwitchRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\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 | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly switchContextService = inject(SwitchContextService)\n protected document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.switchContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n switchMachine,\n computed<Explicit<SwitchApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.control?.markAsTouched?.()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger on blur to prevent immediate validation, which would\n // occur as soon as the user interacts with the field.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.switchContextService.init(\n computed(() => createSwitchApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -1,19 +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 { useSwitchContext } from "./switch-context.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class CoreSwitchThumbDirective {
|
|
8
|
-
switchContext = useSwitchContext();
|
|
9
|
-
trackBindings = useTrackBindings(() => this.switchContext().getThumbBindings());
|
|
10
|
-
ngOnInit() {
|
|
11
|
-
this.trackBindings();
|
|
12
|
-
}
|
|
13
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchThumbDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: CoreSwitchThumbDirective, isStandalone: true, ngImport: i0 });
|
|
15
|
-
}
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSwitchThumbDirective, decorators: [{
|
|
17
|
-
type: Directive
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=core-switch-thumb.directive.js.map
|