@qualcomm-ui/angular-core 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/index.d.ts +160 -10
- package/accordion/index.d.ts.map +1 -1
- package/attributes/index.d.ts +19 -3
- package/attributes/index.d.ts.map +1 -1
- package/avatar/index.d.ts +102 -6
- package/avatar/index.d.ts.map +1 -1
- package/checkbox/index.d.ts +250 -10
- package/checkbox/index.d.ts.map +1 -1
- package/collapsible/index.d.ts +101 -5
- package/collapsible/index.d.ts.map +1 -1
- package/collection/index.d.ts +48 -2
- package/collection/index.d.ts.map +1 -1
- package/combobox/index.d.ts +532 -21
- package/combobox/index.d.ts.map +1 -1
- package/common/index.d.ts +84 -10
- package/common/index.d.ts.map +1 -1
- package/dialog/index.d.ts +300 -12
- package/dialog/index.d.ts.map +1 -1
- package/dom/index.d.ts +162 -8
- package/dom/index.d.ts.map +1 -1
- package/events/index.d.ts +40 -3
- package/events/index.d.ts.map +1 -1
- package/fesm2022/qualcomm-ui-angular-core-accordion.mjs +269 -0
- package/fesm2022/qualcomm-ui-angular-core-accordion.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-attributes.mjs +39 -0
- package/fesm2022/qualcomm-ui-angular-core-attributes.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs +143 -0
- package/fesm2022/qualcomm-ui-angular-core-avatar.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs +541 -0
- package/fesm2022/qualcomm-ui-angular-core-checkbox.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs +143 -0
- package/fesm2022/qualcomm-ui-angular-core-collapsible.mjs.map +1 -0
- package/{esm2022/collection/use-list-collection.js → fesm2022/qualcomm-ui-angular-core-collection.mjs} +13 -6
- package/fesm2022/qualcomm-ui-angular-core-collection.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs +797 -0
- package/fesm2022/qualcomm-ui-angular-core-combobox.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-common.mjs +121 -0
- package/fesm2022/qualcomm-ui-angular-core-common.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs +490 -0
- package/fesm2022/qualcomm-ui-angular-core-dialog.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs +236 -0
- package/fesm2022/qualcomm-ui-angular-core-dom.mjs.map +1 -0
- package/{esm2022/events/listener.service.js → fesm2022/qualcomm-ui-angular-core-events.mjs} +62 -8
- package/fesm2022/qualcomm-ui-angular-core-events.mjs.map +1 -0
- package/{esm2022/forms/form-utils.js → fesm2022/qualcomm-ui-angular-core-forms.mjs} +36 -6
- package/fesm2022/qualcomm-ui-angular-core-forms.mjs.map +1 -0
- package/{esm2022/highlight/highlight.directive.js → fesm2022/qualcomm-ui-angular-core-highlight.mjs} +15 -8
- package/fesm2022/qualcomm-ui-angular-core-highlight.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs +203 -0
- package/fesm2022/qualcomm-ui-angular-core-inline-notification.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-input.mjs +598 -0
- package/fesm2022/qualcomm-ui-angular-core-input.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs +35 -0
- package/fesm2022/qualcomm-ui-angular-core-locale.mjs.map +1 -0
- package/{esm2022/lorem-ipsum/lorem-ipsum.directive.js → fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs} +16 -9
- package/fesm2022/qualcomm-ui-angular-core-lorem-ipsum.mjs.map +1 -0
- package/{esm2022/lucide/provide-icons.js → fesm2022/qualcomm-ui-angular-core-lucide.mjs} +14 -4
- package/fesm2022/qualcomm-ui-angular-core-lucide.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs +1186 -0
- package/fesm2022/qualcomm-ui-angular-core-machine.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs +818 -0
- package/fesm2022/qualcomm-ui-angular-core-menu.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs +703 -0
- package/fesm2022/qualcomm-ui-angular-core-number-input.mjs.map +1 -0
- package/{esm2022/observers/intersection-observer.directive.js → fesm2022/qualcomm-ui-angular-core-observers.mjs} +16 -9
- package/fesm2022/qualcomm-ui-angular-core-observers.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs +276 -0
- package/fesm2022/qualcomm-ui-angular-core-pagination.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs +323 -0
- package/fesm2022/qualcomm-ui-angular-core-password-input.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs +410 -0
- package/fesm2022/qualcomm-ui-angular-core-popover.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs +255 -0
- package/fesm2022/qualcomm-ui-angular-core-portal.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs +157 -0
- package/fesm2022/qualcomm-ui-angular-core-presence.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs +183 -0
- package/fesm2022/qualcomm-ui-angular-core-progress-ring.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs +242 -0
- package/fesm2022/qualcomm-ui-angular-core-progress.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs +564 -0
- package/fesm2022/qualcomm-ui-angular-core-radio.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs +193 -0
- package/fesm2022/qualcomm-ui-angular-core-segmented-control.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-select.mjs +578 -0
- package/fesm2022/qualcomm-ui-angular-core-select.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs +179 -0
- package/fesm2022/qualcomm-ui-angular-core-signals.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-state.mjs +197 -0
- package/fesm2022/qualcomm-ui-angular-core-state.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs +211 -0
- package/fesm2022/qualcomm-ui-angular-core-switch.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs +366 -0
- package/fesm2022/qualcomm-ui-angular-core-tabs.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs +4 -0
- package/fesm2022/qualcomm-ui-angular-core-text-area.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs +234 -0
- package/fesm2022/qualcomm-ui-angular-core-text-input.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs +170 -0
- package/fesm2022/qualcomm-ui-angular-core-toast.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs +214 -0
- package/fesm2022/qualcomm-ui-angular-core-tooltip.mjs.map +1 -0
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs +191 -0
- package/fesm2022/qualcomm-ui-angular-core-virtual.mjs.map +1 -0
- package/{esm2022/index.js → fesm2022/qualcomm-ui-angular-core.mjs} +5 -2
- package/fesm2022/qualcomm-ui-angular-core.mjs.map +1 -0
- package/forms/index.d.ts +37 -3
- package/forms/index.d.ts.map +1 -1
- package/highlight/index.d.ts +32 -2
- package/highlight/index.d.ts.map +1 -1
- package/index.d.ts +3 -2
- package/index.d.ts.map +1 -1
- package/inline-notification/index.d.ts +139 -8
- package/inline-notification/index.d.ts.map +1 -1
- package/input/index.d.ts +190 -4
- package/input/index.d.ts.map +1 -1
- package/locale/index.d.ts +24 -3
- package/locale/index.d.ts.map +1 -1
- package/lorem-ipsum/index.d.ts +47 -2
- package/lorem-ipsum/index.d.ts.map +1 -1
- package/lucide/index.d.ts +53 -3
- package/lucide/index.d.ts.map +1 -1
- package/machine/index.d.ts +214 -14
- package/machine/index.d.ts.map +1 -1
- package/menu/index.d.ts +476 -24
- package/menu/index.d.ts.map +1 -1
- package/number-input/index.d.ts +321 -14
- package/number-input/index.d.ts.map +1 -1
- package/observers/index.d.ts +16 -2
- package/observers/index.d.ts.map +1 -1
- package/package.json +90 -90
- package/pagination/index.d.ts +171 -10
- package/pagination/index.d.ts.map +1 -1
- package/password-input/index.d.ts +196 -11
- package/password-input/index.d.ts.map +1 -1
- package/popover/index.d.ts +263 -12
- package/popover/index.d.ts.map +1 -1
- package/portal/index.d.ts +71 -4
- package/portal/index.d.ts.map +1 -1
- package/presence/index.d.ts +97 -5
- package/presence/index.d.ts.map +1 -1
- package/progress/index.d.ts +166 -10
- package/progress/index.d.ts.map +1 -1
- package/progress-ring/index.d.ts +117 -9
- package/progress-ring/index.d.ts.map +1 -1
- package/radio/index.d.ts +279 -12
- package/radio/index.d.ts.map +1 -1
- package/segmented-control/index.d.ts +130 -6
- package/segmented-control/index.d.ts.map +1 -1
- package/select/index.d.ts +381 -18
- package/select/index.d.ts.map +1 -1
- package/signals/index.d.ts +85 -6
- package/signals/index.d.ts.map +1 -1
- package/state/index.d.ts +105 -4
- package/state/index.d.ts.map +1 -1
- package/switch/index.d.ts +138 -8
- package/switch/index.d.ts.map +1 -1
- package/tabs/index.d.ts +241 -10
- package/tabs/index.d.ts.map +1 -1
- package/text-area/index.d.ts +3 -2
- package/text-area/index.d.ts.map +1 -1
- package/text-input/index.d.ts +138 -10
- package/text-input/index.d.ts.map +1 -1
- package/toast/index.d.ts +120 -9
- package/toast/index.d.ts.map +1 -1
- package/tooltip/index.d.ts +133 -8
- package/tooltip/index.d.ts.map +1 -1
- package/virtual/index.d.ts +28 -4
- package/virtual/index.d.ts.map +1 -1
- package/accordion/accordion-context.service.d.ts +0 -9
- package/accordion/accordion-context.service.d.ts.map +0 -1
- package/accordion/accordion-item-context.service.d.ts +0 -9
- package/accordion/accordion-item-context.service.d.ts.map +0 -1
- package/accordion/core-accordion-item-content.directive.d.ts +0 -21
- package/accordion/core-accordion-item-content.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger-indicator.directive.d.ts +0 -11
- package/accordion/core-accordion-item-trigger-indicator.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger-secondary.directive.d.ts +0 -11
- package/accordion/core-accordion-item-trigger-secondary.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger-title.directive.d.ts +0 -11
- package/accordion/core-accordion-item-trigger-title.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item-trigger.directive.d.ts +0 -17
- package/accordion/core-accordion-item-trigger.directive.d.ts.map +0 -1
- package/accordion/core-accordion-item.directive.d.ts +0 -23
- package/accordion/core-accordion-item.directive.d.ts.map +0 -1
- package/accordion/core-accordion-root.directive.d.ts +0 -58
- package/accordion/core-accordion-root.directive.d.ts.map +0 -1
- package/accordion/qualcomm-ui-angular-core-accordion.d.ts +0 -6
- package/accordion/qualcomm-ui-angular-core-accordion.d.ts.map +0 -1
- package/attributes/number-attributes.d.ts +0 -11
- package/attributes/number-attributes.d.ts.map +0 -1
- package/attributes/pixel-attribute.d.ts +0 -6
- package/attributes/pixel-attribute.d.ts.map +0 -1
- package/attributes/qualcomm-ui-angular-core-attributes.d.ts +0 -6
- package/attributes/qualcomm-ui-angular-core-attributes.d.ts.map +0 -1
- package/avatar/avatar-context.service.d.ts +0 -9
- package/avatar/avatar-context.service.d.ts.map +0 -1
- package/avatar/core-avatar-content.directive.d.ts +0 -20
- package/avatar/core-avatar-content.directive.d.ts.map +0 -1
- package/avatar/core-avatar-image.directive.d.ts +0 -20
- package/avatar/core-avatar-image.directive.d.ts.map +0 -1
- package/avatar/core-avatar-root.directive.d.ts +0 -36
- package/avatar/core-avatar-root.directive.d.ts.map +0 -1
- package/avatar/core-avatar-status.directive.d.ts +0 -20
- package/avatar/core-avatar-status.directive.d.ts.map +0 -1
- package/avatar/qualcomm-ui-angular-core-avatar.d.ts +0 -6
- package/avatar/qualcomm-ui-angular-core-avatar.d.ts.map +0 -1
- package/checkbox/abstract-checkbox-form-control.directive.d.ts +0 -79
- package/checkbox/abstract-checkbox-form-control.directive.d.ts.map +0 -1
- package/checkbox/checkbox-context.service.d.ts +0 -9
- package/checkbox/checkbox-context.service.d.ts.map +0 -1
- package/checkbox/core-checkbox-control.directive.d.ts +0 -20
- package/checkbox/core-checkbox-control.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-error-text.directive.d.ts +0 -20
- package/checkbox/core-checkbox-error-text.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-hidden-input.directive.d.ts +0 -20
- package/checkbox/core-checkbox-hidden-input.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-indicator.directive.d.ts +0 -13
- package/checkbox/core-checkbox-indicator.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-label.directive.d.ts +0 -20
- package/checkbox/core-checkbox-label.directive.d.ts.map +0 -1
- package/checkbox/core-checkbox-root.directive.d.ts +0 -48
- package/checkbox/core-checkbox-root.directive.d.ts.map +0 -1
- package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts +0 -6
- package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts.map +0 -1
- package/checkbox/use-checkbox-group.d.ts +0 -32
- package/checkbox/use-checkbox-group.d.ts.map +0 -1
- package/collapsible/collapsible-context.service.d.ts +0 -9
- package/collapsible/collapsible-context.service.d.ts.map +0 -1
- package/collapsible/core-collapsible-content.directive.d.ts +0 -20
- package/collapsible/core-collapsible-content.directive.d.ts.map +0 -1
- package/collapsible/core-collapsible-root.directive.d.ts +0 -52
- package/collapsible/core-collapsible-root.directive.d.ts.map +0 -1
- package/collapsible/core-collapsible-trigger.directive.d.ts +0 -20
- package/collapsible/core-collapsible-trigger.directive.d.ts.map +0 -1
- package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts +0 -6
- package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts.map +0 -1
- package/collection/qualcomm-ui-angular-core-collection.d.ts +0 -6
- package/collection/qualcomm-ui-angular-core-collection.d.ts.map +0 -1
- package/collection/use-list-collection.d.ts +0 -44
- package/collection/use-list-collection.d.ts.map +0 -1
- package/combobox/combobox-context.service.d.ts +0 -12
- package/combobox/combobox-context.service.d.ts.map +0 -1
- package/combobox/combobox-item-context.service.d.ts +0 -9
- package/combobox/combobox-item-context.service.d.ts.map +0 -1
- package/combobox/combobox-item-group-context.service.d.ts +0 -9
- package/combobox/combobox-item-group-context.service.d.ts.map +0 -1
- package/combobox/core-combobox-clear-trigger.directive.d.ts +0 -20
- package/combobox/core-combobox-clear-trigger.directive.d.ts.map +0 -1
- package/combobox/core-combobox-content.directive.d.ts +0 -23
- package/combobox/core-combobox-content.directive.d.ts.map +0 -1
- package/combobox/core-combobox-control.directive.d.ts +0 -20
- package/combobox/core-combobox-control.directive.d.ts.map +0 -1
- package/combobox/core-combobox-empty.directive.d.ts +0 -13
- package/combobox/core-combobox-empty.directive.d.ts.map +0 -1
- package/combobox/core-combobox-error-indicator.directive.d.ts +0 -13
- package/combobox/core-combobox-error-indicator.directive.d.ts.map +0 -1
- package/combobox/core-combobox-error-text.directive.d.ts +0 -20
- package/combobox/core-combobox-error-text.directive.d.ts.map +0 -1
- package/combobox/core-combobox-hint.directive.d.ts +0 -20
- package/combobox/core-combobox-hint.directive.d.ts.map +0 -1
- package/combobox/core-combobox-input.directive.d.ts +0 -20
- package/combobox/core-combobox-input.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-group-label.directive.d.ts +0 -14
- package/combobox/core-combobox-item-group-label.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-group.directive.d.ts +0 -21
- package/combobox/core-combobox-item-group.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-indicator.directive.d.ts +0 -14
- package/combobox/core-combobox-item-indicator.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item-text.directive.d.ts +0 -14
- package/combobox/core-combobox-item-text.directive.d.ts.map +0 -1
- package/combobox/core-combobox-item.directive.d.ts +0 -27
- package/combobox/core-combobox-item.directive.d.ts.map +0 -1
- package/combobox/core-combobox-label.directive.d.ts +0 -20
- package/combobox/core-combobox-label.directive.d.ts.map +0 -1
- package/combobox/core-combobox-positioner.directive.d.ts +0 -21
- package/combobox/core-combobox-positioner.directive.d.ts.map +0 -1
- package/combobox/core-combobox-root.directive.d.ts +0 -234
- package/combobox/core-combobox-root.directive.d.ts.map +0 -1
- package/combobox/core-combobox-trigger.directive.d.ts +0 -27
- package/combobox/core-combobox-trigger.directive.d.ts.map +0 -1
- package/combobox/qualcomm-ui-angular-core-combobox.d.ts +0 -6
- package/combobox/qualcomm-ui-angular-core-combobox.d.ts.map +0 -1
- package/common/boolean.d.ts +0 -6
- package/common/boolean.d.ts.map +0 -1
- package/common/ng-changes.d.ts +0 -18
- package/common/ng-changes.d.ts.map +0 -1
- package/common/qualcomm-ui-angular-core-common.d.ts +0 -6
- package/common/qualcomm-ui-angular-core-common.d.ts.map +0 -1
- package/common/template-content.d.ts +0 -6
- package/common/template-content.d.ts.map +0 -1
- package/common/use-csr-check.d.ts +0 -13
- package/common/use-csr-check.d.ts.map +0 -1
- package/common/use-id.d.ts +0 -2
- package/common/use-id.d.ts.map +0 -1
- package/common/use-is-destroyed.d.ts +0 -8
- package/common/use-is-destroyed.d.ts.map +0 -1
- package/common/use-is-mounted.d.ts +0 -7
- package/common/use-is-mounted.d.ts.map +0 -1
- package/common/use-on-destroy.d.ts +0 -8
- package/common/use-on-destroy.d.ts.map +0 -1
- package/common/use-ssr-check.d.ts +0 -13
- package/common/use-ssr-check.d.ts.map +0 -1
- package/dialog/core-dialog-backdrop.directive.d.ts +0 -24
- package/dialog/core-dialog-backdrop.directive.d.ts.map +0 -1
- package/dialog/core-dialog-body.directive.d.ts +0 -13
- package/dialog/core-dialog-body.directive.d.ts.map +0 -1
- package/dialog/core-dialog-close-trigger.directive.d.ts +0 -20
- package/dialog/core-dialog-close-trigger.directive.d.ts.map +0 -1
- package/dialog/core-dialog-content.directive.d.ts +0 -25
- package/dialog/core-dialog-content.directive.d.ts.map +0 -1
- package/dialog/core-dialog-description.directive.d.ts +0 -20
- package/dialog/core-dialog-description.directive.d.ts.map +0 -1
- package/dialog/core-dialog-footer.directive.d.ts +0 -13
- package/dialog/core-dialog-footer.directive.d.ts.map +0 -1
- package/dialog/core-dialog-heading.directive.d.ts +0 -20
- package/dialog/core-dialog-heading.directive.d.ts.map +0 -1
- package/dialog/core-dialog-positioner.directive.d.ts +0 -21
- package/dialog/core-dialog-positioner.directive.d.ts.map +0 -1
- package/dialog/core-dialog-root.directive.d.ts +0 -129
- package/dialog/core-dialog-root.directive.d.ts.map +0 -1
- package/dialog/core-dialog-trigger.directive.d.ts +0 -20
- package/dialog/core-dialog-trigger.directive.d.ts.map +0 -1
- package/dialog/dialog-context.service.d.ts +0 -12
- package/dialog/dialog-context.service.d.ts.map +0 -1
- package/dialog/qualcomm-ui-angular-core-dialog.d.ts +0 -6
- package/dialog/qualcomm-ui-angular-core-dialog.d.ts.map +0 -1
- package/dom/clipboard.service.d.ts +0 -20
- package/dom/clipboard.service.d.ts.map +0 -1
- package/dom/context-id-signal.d.ts +0 -42
- package/dom/context-id-signal.d.ts.map +0 -1
- package/dom/descendants-manager.service.d.ts +0 -12
- package/dom/descendants-manager.service.d.ts.map +0 -1
- package/dom/element-id-signal.d.ts +0 -42
- package/dom/element-id-signal.d.ts.map +0 -1
- package/dom/id.service.d.ts +0 -11
- package/dom/id.service.d.ts.map +0 -1
- package/dom/portal-config.service.d.ts +0 -8
- package/dom/portal-config.service.d.ts.map +0 -1
- package/dom/qualcomm-ui-angular-core-dom.d.ts +0 -6
- package/dom/qualcomm-ui-angular-core-dom.d.ts.map +0 -1
- package/dom/tokens/caches.d.ts +0 -3
- package/dom/tokens/caches.d.ts.map +0 -1
- package/dom/tokens/css.d.ts +0 -12
- package/dom/tokens/css.d.ts.map +0 -1
- package/dom/tokens/index.d.ts +0 -11
- package/dom/tokens/index.d.ts.map +0 -1
- package/dom/tokens/local-storage.d.ts +0 -3
- package/dom/tokens/local-storage.d.ts.map +0 -1
- package/dom/tokens/location.d.ts +0 -3
- package/dom/tokens/location.d.ts.map +0 -1
- package/dom/tokens/media-devices.d.ts +0 -3
- package/dom/tokens/media-devices.d.ts.map +0 -1
- package/dom/tokens/navigator.d.ts +0 -3
- package/dom/tokens/navigator.d.ts.map +0 -1
- package/dom/tokens/performance.d.ts +0 -3
- package/dom/tokens/performance.d.ts.map +0 -1
- package/dom/tokens/screen.d.ts +0 -3
- package/dom/tokens/screen.d.ts.map +0 -1
- package/dom/tokens/user-agent.d.ts +0 -3
- package/dom/tokens/user-agent.d.ts.map +0 -1
- package/dom/tokens/window.d.ts +0 -3
- package/dom/tokens/window.d.ts.map +0 -1
- package/esm2022/accordion/accordion-context.service.js +0 -14
- package/esm2022/accordion/accordion-context.service.js.map +0 -1
- package/esm2022/accordion/accordion-item-context.service.js +0 -14
- package/esm2022/accordion/accordion-item-context.service.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-content.directive.js +0 -34
- package/esm2022/accordion/core-accordion-item-content.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js +0 -24
- package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js +0 -24
- package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger-title.directive.js +0 -24
- package/esm2022/accordion/core-accordion-item-trigger-title.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item-trigger.directive.js +0 -32
- package/esm2022/accordion/core-accordion-item-trigger.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-item.directive.js +0 -45
- package/esm2022/accordion/core-accordion-item.directive.js.map +0 -1
- package/esm2022/accordion/core-accordion-root.directive.js +0 -91
- package/esm2022/accordion/core-accordion-root.directive.js.map +0 -1
- package/esm2022/accordion/index.js +0 -10
- package/esm2022/accordion/index.js.map +0 -1
- package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js +0 -5
- package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js.map +0 -1
- package/esm2022/attributes/index.js +0 -3
- package/esm2022/attributes/index.js.map +0 -1
- package/esm2022/attributes/number-attributes.js +0 -22
- package/esm2022/attributes/number-attributes.js.map +0 -1
- package/esm2022/attributes/pixel-attribute.js +0 -10
- package/esm2022/attributes/pixel-attribute.js.map +0 -1
- package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js +0 -5
- package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js.map +0 -1
- package/esm2022/avatar/avatar-context.service.js +0 -14
- package/esm2022/avatar/avatar-context.service.js.map +0 -1
- package/esm2022/avatar/core-avatar-content.directive.js +0 -30
- package/esm2022/avatar/core-avatar-content.directive.js.map +0 -1
- package/esm2022/avatar/core-avatar-image.directive.js +0 -30
- package/esm2022/avatar/core-avatar-image.directive.js.map +0 -1
- package/esm2022/avatar/core-avatar-root.directive.js +0 -51
- package/esm2022/avatar/core-avatar-root.directive.js.map +0 -1
- package/esm2022/avatar/core-avatar-status.directive.js +0 -30
- package/esm2022/avatar/core-avatar-status.directive.js.map +0 -1
- package/esm2022/avatar/index.js +0 -6
- package/esm2022/avatar/index.js.map +0 -1
- package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js +0 -5
- package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js.map +0 -1
- package/esm2022/checkbox/abstract-checkbox-form-control.directive.js +0 -265
- package/esm2022/checkbox/abstract-checkbox-form-control.directive.js.map +0 -1
- package/esm2022/checkbox/checkbox-context.service.js +0 -14
- package/esm2022/checkbox/checkbox-context.service.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-control.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-control.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-error-text.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-error-text.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-hidden-input.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-hidden-input.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-indicator.directive.js +0 -19
- package/esm2022/checkbox/core-checkbox-indicator.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-label.directive.js +0 -30
- package/esm2022/checkbox/core-checkbox-label.directive.js.map +0 -1
- package/esm2022/checkbox/core-checkbox-root.directive.js +0 -88
- package/esm2022/checkbox/core-checkbox-root.directive.js.map +0 -1
- package/esm2022/checkbox/index.js +0 -10
- package/esm2022/checkbox/index.js.map +0 -1
- package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js +0 -5
- package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js.map +0 -1
- package/esm2022/checkbox/use-checkbox-group.js +0 -62
- package/esm2022/checkbox/use-checkbox-group.js.map +0 -1
- package/esm2022/collapsible/collapsible-context.service.js +0 -14
- package/esm2022/collapsible/collapsible-context.service.js.map +0 -1
- package/esm2022/collapsible/core-collapsible-content.directive.js +0 -32
- package/esm2022/collapsible/core-collapsible-content.directive.js.map +0 -1
- package/esm2022/collapsible/core-collapsible-root.directive.js +0 -71
- package/esm2022/collapsible/core-collapsible-root.directive.js.map +0 -1
- package/esm2022/collapsible/core-collapsible-trigger.directive.js +0 -32
- package/esm2022/collapsible/core-collapsible-trigger.directive.js.map +0 -1
- package/esm2022/collapsible/index.js +0 -5
- package/esm2022/collapsible/index.js.map +0 -1
- package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js +0 -5
- package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js.map +0 -1
- package/esm2022/collection/index.js +0 -2
- package/esm2022/collection/index.js.map +0 -1
- package/esm2022/collection/qualcomm-ui-angular-core-collection.js +0 -5
- package/esm2022/collection/qualcomm-ui-angular-core-collection.js.map +0 -1
- package/esm2022/collection/use-list-collection.js.map +0 -1
- package/esm2022/combobox/combobox-context.service.js +0 -14
- package/esm2022/combobox/combobox-context.service.js.map +0 -1
- package/esm2022/combobox/combobox-item-context.service.js +0 -14
- package/esm2022/combobox/combobox-item-context.service.js.map +0 -1
- package/esm2022/combobox/combobox-item-group-context.service.js +0 -14
- package/esm2022/combobox/combobox-item-group-context.service.js.map +0 -1
- package/esm2022/combobox/core-combobox-clear-trigger.directive.js +0 -30
- package/esm2022/combobox/core-combobox-clear-trigger.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-content.directive.js +0 -34
- package/esm2022/combobox/core-combobox-content.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-control.directive.js +0 -30
- package/esm2022/combobox/core-combobox-control.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-empty.directive.js +0 -19
- package/esm2022/combobox/core-combobox-empty.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-error-indicator.directive.js +0 -19
- package/esm2022/combobox/core-combobox-error-indicator.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-error-text.directive.js +0 -30
- package/esm2022/combobox/core-combobox-error-text.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-hint.directive.js +0 -30
- package/esm2022/combobox/core-combobox-hint.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-input.directive.js +0 -30
- package/esm2022/combobox/core-combobox-input.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-group-label.directive.js +0 -23
- package/esm2022/combobox/core-combobox-item-group-label.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-group.directive.js +0 -31
- package/esm2022/combobox/core-combobox-item-group.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-indicator.directive.js +0 -21
- package/esm2022/combobox/core-combobox-item-indicator.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item-text.directive.js +0 -21
- package/esm2022/combobox/core-combobox-item-text.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-item.directive.js +0 -35
- package/esm2022/combobox/core-combobox-item.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-label.directive.js +0 -30
- package/esm2022/combobox/core-combobox-label.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-positioner.directive.js +0 -32
- package/esm2022/combobox/core-combobox-positioner.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-root.directive.js +0 -387
- package/esm2022/combobox/core-combobox-root.directive.js.map +0 -1
- package/esm2022/combobox/core-combobox-trigger.directive.js +0 -37
- package/esm2022/combobox/core-combobox-trigger.directive.js.map +0 -1
- package/esm2022/combobox/index.js +0 -21
- package/esm2022/combobox/index.js.map +0 -1
- package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js +0 -5
- package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js.map +0 -1
- package/esm2022/common/boolean.js +0 -4
- package/esm2022/common/boolean.js.map +0 -1
- package/esm2022/common/index.js +0 -7
- package/esm2022/common/index.js.map +0 -1
- package/esm2022/common/ng-changes.js +0 -4
- package/esm2022/common/ng-changes.js.map +0 -1
- package/esm2022/common/qualcomm-ui-angular-core-common.js +0 -5
- package/esm2022/common/qualcomm-ui-angular-core-common.js.map +0 -1
- package/esm2022/common/template-content.js +0 -4
- package/esm2022/common/template-content.js.map +0 -1
- package/esm2022/common/use-csr-check.js +0 -22
- package/esm2022/common/use-csr-check.js.map +0 -1
- package/esm2022/common/use-id.js +0 -24
- package/esm2022/common/use-id.js.map +0 -1
- package/esm2022/common/use-is-destroyed.js +0 -20
- package/esm2022/common/use-is-destroyed.js.map +0 -1
- package/esm2022/common/use-is-mounted.js +0 -15
- package/esm2022/common/use-is-mounted.js.map +0 -1
- package/esm2022/common/use-on-destroy.js +0 -16
- package/esm2022/common/use-on-destroy.js.map +0 -1
- package/esm2022/common/use-ssr-check.js +0 -22
- package/esm2022/common/use-ssr-check.js.map +0 -1
- package/esm2022/dialog/core-dialog-backdrop.directive.js +0 -46
- package/esm2022/dialog/core-dialog-backdrop.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-body.directive.js +0 -21
- package/esm2022/dialog/core-dialog-body.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-close-trigger.directive.js +0 -30
- package/esm2022/dialog/core-dialog-close-trigger.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-content.directive.js +0 -50
- package/esm2022/dialog/core-dialog-content.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-description.directive.js +0 -30
- package/esm2022/dialog/core-dialog-description.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-footer.directive.js +0 -19
- package/esm2022/dialog/core-dialog-footer.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-heading.directive.js +0 -30
- package/esm2022/dialog/core-dialog-heading.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-positioner.directive.js +0 -32
- package/esm2022/dialog/core-dialog-positioner.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-root.directive.js +0 -225
- package/esm2022/dialog/core-dialog-root.directive.js.map +0 -1
- package/esm2022/dialog/core-dialog-trigger.directive.js +0 -30
- package/esm2022/dialog/core-dialog-trigger.directive.js.map +0 -1
- package/esm2022/dialog/dialog-context.service.js +0 -24
- package/esm2022/dialog/dialog-context.service.js.map +0 -1
- package/esm2022/dialog/index.js +0 -12
- package/esm2022/dialog/index.js.map +0 -1
- package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js +0 -5
- package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js.map +0 -1
- package/esm2022/dom/clipboard.service.js +0 -42
- package/esm2022/dom/clipboard.service.js.map +0 -1
- package/esm2022/dom/context-id-signal.js +0 -23
- package/esm2022/dom/context-id-signal.js.map +0 -1
- package/esm2022/dom/descendants-manager.service.js +0 -29
- package/esm2022/dom/descendants-manager.service.js.map +0 -1
- package/esm2022/dom/element-id-signal.js +0 -25
- package/esm2022/dom/element-id-signal.js.map +0 -1
- package/esm2022/dom/id.service.js +0 -33
- package/esm2022/dom/id.service.js.map +0 -1
- package/esm2022/dom/index.js +0 -8
- package/esm2022/dom/index.js.map +0 -1
- package/esm2022/dom/portal-config.service.js +0 -17
- package/esm2022/dom/portal-config.service.js.map +0 -1
- package/esm2022/dom/qualcomm-ui-angular-core-dom.js +0 -5
- package/esm2022/dom/qualcomm-ui-angular-core-dom.js.map +0 -1
- package/esm2022/dom/tokens/caches.js +0 -8
- package/esm2022/dom/tokens/caches.js.map +0 -1
- package/esm2022/dom/tokens/css.js +0 -11
- package/esm2022/dom/tokens/css.js.map +0 -1
- package/esm2022/dom/tokens/index.js +0 -11
- package/esm2022/dom/tokens/index.js.map +0 -1
- package/esm2022/dom/tokens/local-storage.js +0 -8
- package/esm2022/dom/tokens/local-storage.js.map +0 -1
- package/esm2022/dom/tokens/location.js +0 -8
- package/esm2022/dom/tokens/location.js.map +0 -1
- package/esm2022/dom/tokens/media-devices.js +0 -8
- package/esm2022/dom/tokens/media-devices.js.map +0 -1
- package/esm2022/dom/tokens/navigator.js +0 -8
- package/esm2022/dom/tokens/navigator.js.map +0 -1
- package/esm2022/dom/tokens/performance.js +0 -8
- package/esm2022/dom/tokens/performance.js.map +0 -1
- package/esm2022/dom/tokens/screen.js +0 -8
- package/esm2022/dom/tokens/screen.js.map +0 -1
- package/esm2022/dom/tokens/user-agent.js +0 -8
- package/esm2022/dom/tokens/user-agent.js.map +0 -1
- package/esm2022/dom/tokens/window.js +0 -14
- package/esm2022/dom/tokens/window.js.map +0 -1
- package/esm2022/events/index.js +0 -3
- package/esm2022/events/index.js.map +0 -1
- package/esm2022/events/listener.service.js.map +0 -1
- package/esm2022/events/qualcomm-ui-angular-core-events.js +0 -5
- package/esm2022/events/qualcomm-ui-angular-core-events.js.map +0 -1
- package/esm2022/events/use-copy-to-clipboard.js +0 -48
- package/esm2022/events/use-copy-to-clipboard.js.map +0 -1
- package/esm2022/forms/form-utils.js.map +0 -1
- package/esm2022/forms/index.js +0 -3
- package/esm2022/forms/index.js.map +0 -1
- package/esm2022/forms/qualcomm-ui-angular-core-forms.js +0 -5
- package/esm2022/forms/qualcomm-ui-angular-core-forms.js.map +0 -1
- package/esm2022/forms/use-forbidden-form-control-warning.js +0 -24
- package/esm2022/forms/use-forbidden-form-control-warning.js.map +0 -1
- package/esm2022/highlight/highlight.directive.js.map +0 -1
- package/esm2022/highlight/index.js +0 -2
- package/esm2022/highlight/index.js.map +0 -1
- package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js +0 -5
- package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js.map +0 -1
- package/esm2022/index.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-action.directive.js +0 -21
- package/esm2022/inline-notification/core-inline-notification-action.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js +0 -32
- package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-description.directive.js +0 -32
- package/esm2022/inline-notification/core-inline-notification-description.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-icon.directive.js +0 -21
- package/esm2022/inline-notification/core-inline-notification-icon.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-label.directive.js +0 -32
- package/esm2022/inline-notification/core-inline-notification-label.directive.js.map +0 -1
- package/esm2022/inline-notification/core-inline-notification-root.directive.js +0 -71
- package/esm2022/inline-notification/core-inline-notification-root.directive.js.map +0 -1
- package/esm2022/inline-notification/index.js +0 -8
- package/esm2022/inline-notification/index.js.map +0 -1
- package/esm2022/inline-notification/inline-notification-context.service.js +0 -14
- package/esm2022/inline-notification/inline-notification-context.service.js.map +0 -1
- package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js +0 -5
- package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js.map +0 -1
- package/esm2022/input/abstract-input-form-control.directive.js +0 -254
- package/esm2022/input/abstract-input-form-control.directive.js.map +0 -1
- package/esm2022/input/abstract-list-collection-form-control.directive.js +0 -278
- package/esm2022/input/abstract-list-collection-form-control.directive.js.map +0 -1
- package/esm2022/input/index.js +0 -4
- package/esm2022/input/index.js.map +0 -1
- package/esm2022/input/input-form-control-provider.js +0 -70
- package/esm2022/input/input-form-control-provider.js.map +0 -1
- package/esm2022/input/qualcomm-ui-angular-core-input.js +0 -5
- package/esm2022/input/qualcomm-ui-angular-core-input.js.map +0 -1
- package/esm2022/locale/index.js +0 -3
- package/esm2022/locale/index.js.map +0 -1
- package/esm2022/locale/locale-context.service.js +0 -14
- package/esm2022/locale/locale-context.service.js.map +0 -1
- package/esm2022/locale/qualcomm-ui-angular-core-locale.js +0 -5
- package/esm2022/locale/qualcomm-ui-angular-core-locale.js.map +0 -1
- package/esm2022/locale/use-filter.js +0 -16
- package/esm2022/locale/use-filter.js.map +0 -1
- package/esm2022/lorem-ipsum/index.js +0 -2
- package/esm2022/lorem-ipsum/index.js.map +0 -1
- package/esm2022/lorem-ipsum/lorem-ipsum.directive.js.map +0 -1
- package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js +0 -5
- package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js.map +0 -1
- package/esm2022/lucide/index.js +0 -3
- package/esm2022/lucide/index.js.map +0 -1
- package/esm2022/lucide/lucide.types.js +0 -4
- package/esm2022/lucide/lucide.types.js.map +0 -1
- package/esm2022/lucide/provide-icons.js.map +0 -1
- package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js +0 -5
- package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js.map +0 -1
- package/esm2022/machine/api-context.directive.js +0 -44
- package/esm2022/machine/api-context.directive.js.map +0 -1
- package/esm2022/machine/api-context.service.js +0 -58
- package/esm2022/machine/api-context.service.js.map +0 -1
- package/esm2022/machine/bindable-id-collection.js +0 -51
- package/esm2022/machine/bindable-id-collection.js.map +0 -1
- package/esm2022/machine/bindable-id.js +0 -21
- package/esm2022/machine/bindable-id.js.map +0 -1
- package/esm2022/machine/bindable.js +0 -47
- package/esm2022/machine/bindable.js.map +0 -1
- package/esm2022/machine/index.js +0 -13
- package/esm2022/machine/index.js.map +0 -1
- package/esm2022/machine/machine.types.js +0 -4
- package/esm2022/machine/machine.types.js.map +0 -1
- package/esm2022/machine/merge-props.js +0 -68
- package/esm2022/machine/merge-props.js.map +0 -1
- package/esm2022/machine/normalize-props.js +0 -108
- package/esm2022/machine/normalize-props.js.map +0 -1
- package/esm2022/machine/q-bind.directive.js +0 -164
- package/esm2022/machine/q-bind.directive.js.map +0 -1
- package/esm2022/machine/qualcomm-ui-angular-core-machine.js +0 -5
- package/esm2022/machine/qualcomm-ui-angular-core-machine.js.map +0 -1
- package/esm2022/machine/refs.js +0 -18
- package/esm2022/machine/refs.js.map +0 -1
- package/esm2022/machine/track.js +0 -46
- package/esm2022/machine/track.js.map +0 -1
- package/esm2022/machine/use-machine.js +0 -312
- package/esm2022/machine/use-machine.js.map +0 -1
- package/esm2022/machine/use-track-bindings.js +0 -270
- package/esm2022/machine/use-track-bindings.js.map +0 -1
- package/esm2022/menu/base-menu-item.directive.js +0 -53
- package/esm2022/menu/base-menu-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-checkbox-item.directive.js +0 -51
- package/esm2022/menu/core-menu-checkbox-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-content.directive.js +0 -50
- package/esm2022/menu/core-menu-content.directive.js.map +0 -1
- package/esm2022/menu/core-menu-context-trigger.directive.js +0 -32
- package/esm2022/menu/core-menu-context-trigger.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-group-label.directive.js +0 -32
- package/esm2022/menu/core-menu-item-group-label.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-group.directive.js +0 -33
- package/esm2022/menu/core-menu-item-group.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-indicator.directive.js +0 -31
- package/esm2022/menu/core-menu-item-indicator.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-label.directive.js +0 -32
- package/esm2022/menu/core-menu-item-label.directive.js.map +0 -1
- package/esm2022/menu/core-menu-item-root.directive.js +0 -50
- package/esm2022/menu/core-menu-item-root.directive.js.map +0 -1
- package/esm2022/menu/core-menu-positioner.directive.js +0 -34
- package/esm2022/menu/core-menu-positioner.directive.js.map +0 -1
- package/esm2022/menu/core-menu-radio-item-group.directive.js +0 -52
- package/esm2022/menu/core-menu-radio-item-group.directive.js.map +0 -1
- package/esm2022/menu/core-menu-radio-item.directive.js +0 -41
- package/esm2022/menu/core-menu-radio-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-root.directive.js +0 -242
- package/esm2022/menu/core-menu-root.directive.js.map +0 -1
- package/esm2022/menu/core-menu-separator.directive.js +0 -21
- package/esm2022/menu/core-menu-separator.directive.js.map +0 -1
- package/esm2022/menu/core-menu-trigger-item.directive.js +0 -33
- package/esm2022/menu/core-menu-trigger-item.directive.js.map +0 -1
- package/esm2022/menu/core-menu-trigger.directive.js +0 -34
- package/esm2022/menu/core-menu-trigger.directive.js.map +0 -1
- package/esm2022/menu/index.js +0 -24
- package/esm2022/menu/index.js.map +0 -1
- package/esm2022/menu/menu-context.service.js +0 -14
- package/esm2022/menu/menu-context.service.js.map +0 -1
- package/esm2022/menu/menu-item-context.service.js +0 -14
- package/esm2022/menu/menu-item-context.service.js.map +0 -1
- package/esm2022/menu/menu-item-group-context.service.js +0 -14
- package/esm2022/menu/menu-item-group-context.service.js.map +0 -1
- package/esm2022/menu/menu-machine-context.service.js +0 -14
- package/esm2022/menu/menu-machine-context.service.js.map +0 -1
- package/esm2022/menu/menu-option-item-context.service.js +0 -14
- package/esm2022/menu/menu-option-item-context.service.js.map +0 -1
- package/esm2022/menu/menu-radio-item-group-context.service.js +0 -14
- package/esm2022/menu/menu-radio-item-group-context.service.js.map +0 -1
- package/esm2022/menu/menu-trigger-context.service.js +0 -14
- package/esm2022/menu/menu-trigger-context.service.js.map +0 -1
- package/esm2022/menu/qualcomm-ui-angular-core-menu.js +0 -5
- package/esm2022/menu/qualcomm-ui-angular-core-menu.js.map +0 -1
- package/esm2022/number-input/abstract-number-input-form-control.directive.js +0 -294
- package/esm2022/number-input/abstract-number-input-form-control.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-control.directive.js +0 -21
- package/esm2022/number-input/core-number-input-control.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-decrement-trigger.directive.js +0 -28
- package/esm2022/number-input/core-number-input-decrement-trigger.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-error-indicator.directive.js +0 -21
- package/esm2022/number-input/core-number-input-error-indicator.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-error-text.directive.js +0 -28
- package/esm2022/number-input/core-number-input-error-text.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-hint.directive.js +0 -28
- package/esm2022/number-input/core-number-input-hint.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-increment-trigger.directive.js +0 -28
- package/esm2022/number-input/core-number-input-increment-trigger.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-input-group.directive.js +0 -21
- package/esm2022/number-input/core-number-input-input-group.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-input.directive.js +0 -28
- package/esm2022/number-input/core-number-input-input.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-label.directive.js +0 -28
- package/esm2022/number-input/core-number-input-label.directive.js.map +0 -1
- package/esm2022/number-input/core-number-input-root.directive.js +0 -195
- package/esm2022/number-input/core-number-input-root.directive.js.map +0 -1
- package/esm2022/number-input/index.js +0 -14
- package/esm2022/number-input/index.js.map +0 -1
- package/esm2022/number-input/number-input-context.service.js +0 -14
- package/esm2022/number-input/number-input-context.service.js.map +0 -1
- package/esm2022/number-input/number-input.validators.js +0 -15
- package/esm2022/number-input/number-input.validators.js.map +0 -1
- package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js +0 -5
- package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js.map +0 -1
- package/esm2022/observers/index.js +0 -2
- package/esm2022/observers/index.js.map +0 -1
- package/esm2022/observers/intersection-observer.directive.js.map +0 -1
- package/esm2022/observers/qualcomm-ui-angular-core-observers.js +0 -5
- package/esm2022/observers/qualcomm-ui-angular-core-observers.js.map +0 -1
- package/esm2022/pagination/core-pagination-next-trigger.directive.js +0 -19
- package/esm2022/pagination/core-pagination-next-trigger.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-item.directive.js +0 -24
- package/esm2022/pagination/core-pagination-page-item.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-items.directive.js +0 -22
- package/esm2022/pagination/core-pagination-page-items.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-metadata.directive.js +0 -19
- package/esm2022/pagination/core-pagination-page-metadata.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-size-label.directive.js +0 -26
- package/esm2022/pagination/core-pagination-page-size-label.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-page-size.directive.js +0 -37
- package/esm2022/pagination/core-pagination-page-size.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-prev-trigger.directive.js +0 -19
- package/esm2022/pagination/core-pagination-prev-trigger.directive.js.map +0 -1
- package/esm2022/pagination/core-pagination-root.directive.js +0 -121
- package/esm2022/pagination/core-pagination-root.directive.js.map +0 -1
- package/esm2022/pagination/index.js +0 -10
- package/esm2022/pagination/index.js.map +0 -1
- package/esm2022/pagination/pagination-context.service.js +0 -14
- package/esm2022/pagination/pagination-context.service.js.map +0 -1
- package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js +0 -5
- package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js.map +0 -1
- package/esm2022/password-input/core-password-input-clear-trigger.directive.js +0 -21
- package/esm2022/password-input/core-password-input-clear-trigger.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-error-indicator.directive.js +0 -21
- package/esm2022/password-input/core-password-input-error-indicator.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-error-text.directive.js +0 -32
- package/esm2022/password-input/core-password-input-error-text.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-hint.directive.js +0 -32
- package/esm2022/password-input/core-password-input-hint.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-input-group.directive.js +0 -21
- package/esm2022/password-input/core-password-input-input-group.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-input.directive.js +0 -32
- package/esm2022/password-input/core-password-input-input.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-label.directive.js +0 -32
- package/esm2022/password-input/core-password-input-label.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-root.directive.js +0 -120
- package/esm2022/password-input/core-password-input-root.directive.js.map +0 -1
- package/esm2022/password-input/core-password-input-visibility-trigger.directive.js +0 -32
- package/esm2022/password-input/core-password-input-visibility-trigger.directive.js.map +0 -1
- package/esm2022/password-input/index.js +0 -11
- package/esm2022/password-input/index.js.map +0 -1
- package/esm2022/password-input/password-input-context.service.js +0 -14
- package/esm2022/password-input/password-input-context.service.js.map +0 -1
- package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js +0 -5
- package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js.map +0 -1
- package/esm2022/popover/core-popover-anchor.directive.js +0 -30
- package/esm2022/popover/core-popover-anchor.directive.js.map +0 -1
- package/esm2022/popover/core-popover-arrow-tip.directive.js +0 -19
- package/esm2022/popover/core-popover-arrow-tip.directive.js.map +0 -1
- package/esm2022/popover/core-popover-arrow.directive.js +0 -30
- package/esm2022/popover/core-popover-arrow.directive.js.map +0 -1
- package/esm2022/popover/core-popover-close-trigger.directive.js +0 -30
- package/esm2022/popover/core-popover-close-trigger.directive.js.map +0 -1
- package/esm2022/popover/core-popover-content.directive.js +0 -30
- package/esm2022/popover/core-popover-content.directive.js.map +0 -1
- package/esm2022/popover/core-popover-description.directive.js +0 -30
- package/esm2022/popover/core-popover-description.directive.js.map +0 -1
- package/esm2022/popover/core-popover-label.directive.js +0 -30
- package/esm2022/popover/core-popover-label.directive.js.map +0 -1
- package/esm2022/popover/core-popover-positioner.directive.js +0 -30
- package/esm2022/popover/core-popover-positioner.directive.js.map +0 -1
- package/esm2022/popover/core-popover-root.directive.js +0 -178
- package/esm2022/popover/core-popover-root.directive.js.map +0 -1
- package/esm2022/popover/core-popover-trigger.directive.js +0 -30
- package/esm2022/popover/core-popover-trigger.directive.js.map +0 -1
- package/esm2022/popover/index.js +0 -12
- package/esm2022/popover/index.js.map +0 -1
- package/esm2022/popover/popover-context.service.js +0 -14
- package/esm2022/popover/popover-context.service.js.map +0 -1
- package/esm2022/popover/qualcomm-ui-angular-core-popover.js +0 -5
- package/esm2022/popover/qualcomm-ui-angular-core-popover.js.map +0 -1
- package/esm2022/portal/index.js +0 -4
- package/esm2022/portal/index.js.map +0 -1
- package/esm2022/portal/portal-context.service.js +0 -16
- package/esm2022/portal/portal-context.service.js.map +0 -1
- package/esm2022/portal/portal.component.js +0 -125
- package/esm2022/portal/portal.component.js.map +0 -1
- package/esm2022/portal/portal.directive.js +0 -116
- package/esm2022/portal/portal.directive.js.map +0 -1
- package/esm2022/portal/qualcomm-ui-angular-core-portal.js +0 -5
- package/esm2022/portal/qualcomm-ui-angular-core-portal.js.map +0 -1
- package/esm2022/presence/core-presence.directive.js +0 -53
- package/esm2022/presence/core-presence.directive.js.map +0 -1
- package/esm2022/presence/index.js +0 -5
- package/esm2022/presence/index.js.map +0 -1
- package/esm2022/presence/presence-context.service.js +0 -59
- package/esm2022/presence/presence-context.service.js.map +0 -1
- package/esm2022/presence/qualcomm-ui-angular-core-presence.js +0 -5
- package/esm2022/presence/qualcomm-ui-angular-core-presence.js.map +0 -1
- package/esm2022/presence/render-strategy-context.service.js +0 -14
- package/esm2022/presence/render-strategy-context.service.js.map +0 -1
- package/esm2022/presence/use-presence-renderer.js +0 -30
- package/esm2022/presence/use-presence-renderer.js.map +0 -1
- package/esm2022/progress/core-base-progress.directive.js +0 -59
- package/esm2022/progress/core-base-progress.directive.js.map +0 -1
- package/esm2022/progress/core-progress-bar.directive.js +0 -19
- package/esm2022/progress/core-progress-bar.directive.js.map +0 -1
- package/esm2022/progress/core-progress-error-text.directive.js +0 -32
- package/esm2022/progress/core-progress-error-text.directive.js.map +0 -1
- package/esm2022/progress/core-progress-hint.directive.js +0 -32
- package/esm2022/progress/core-progress-hint.directive.js.map +0 -1
- package/esm2022/progress/core-progress-label.directive.js +0 -32
- package/esm2022/progress/core-progress-label.directive.js.map +0 -1
- package/esm2022/progress/core-progress-root.directive.js +0 -33
- package/esm2022/progress/core-progress-root.directive.js.map +0 -1
- package/esm2022/progress/core-progress-track.directive.js +0 -30
- package/esm2022/progress/core-progress-track.directive.js.map +0 -1
- package/esm2022/progress/core-progress-value-text.directive.js +0 -19
- package/esm2022/progress/core-progress-value-text.directive.js.map +0 -1
- package/esm2022/progress/index.js +0 -10
- package/esm2022/progress/index.js.map +0 -1
- package/esm2022/progress/progress-context.service.js +0 -15
- package/esm2022/progress/progress-context.service.js.map +0 -1
- package/esm2022/progress/qualcomm-ui-angular-core-progress.js +0 -5
- package/esm2022/progress/qualcomm-ui-angular-core-progress.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-bar.directive.js +0 -21
- package/esm2022/progress-ring/core-progress-ring-bar.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-circle.directive.js +0 -32
- package/esm2022/progress-ring/core-progress-ring-circle.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-error-text.directive.js +0 -32
- package/esm2022/progress-ring/core-progress-ring-error-text.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-label.directive.js +0 -32
- package/esm2022/progress-ring/core-progress-ring-label.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-root.directive.js +0 -33
- package/esm2022/progress-ring/core-progress-ring-root.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-track.directive.js +0 -21
- package/esm2022/progress-ring/core-progress-ring-track.directive.js.map +0 -1
- package/esm2022/progress-ring/core-progress-ring-value-text.directive.js +0 -21
- package/esm2022/progress-ring/core-progress-ring-value-text.directive.js.map +0 -1
- package/esm2022/progress-ring/index.js +0 -9
- package/esm2022/progress-ring/index.js.map +0 -1
- package/esm2022/progress-ring/progress-ring-context.service.js +0 -14
- package/esm2022/progress-ring/progress-ring-context.service.js.map +0 -1
- package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js +0 -5
- package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js.map +0 -1
- package/esm2022/qualcomm-ui-angular-core.js +0 -5
- package/esm2022/qualcomm-ui-angular-core.js.map +0 -1
- package/esm2022/radio/abstract-radio-form-control.directive.js +0 -261
- package/esm2022/radio/abstract-radio-form-control.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group-error-text.directive.js +0 -30
- package/esm2022/radio/core-radio-group-error-text.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group-items.directive.js +0 -19
- package/esm2022/radio/core-radio-group-items.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group-label.directive.js +0 -30
- package/esm2022/radio/core-radio-group-label.directive.js.map +0 -1
- package/esm2022/radio/core-radio-group.directive.js +0 -89
- package/esm2022/radio/core-radio-group.directive.js.map +0 -1
- package/esm2022/radio/core-radio-item-control.directive.js +0 -21
- package/esm2022/radio/core-radio-item-control.directive.js.map +0 -1
- package/esm2022/radio/core-radio-item-hidden-input.directive.js +0 -33
- package/esm2022/radio/core-radio-item-hidden-input.directive.js.map +0 -1
- package/esm2022/radio/core-radio-item-label.directive.js +0 -33
- package/esm2022/radio/core-radio-item-label.directive.js.map +0 -1
- package/esm2022/radio/core-radio-root.directive.js +0 -62
- package/esm2022/radio/core-radio-root.directive.js.map +0 -1
- package/esm2022/radio/index.js +0 -12
- package/esm2022/radio/index.js.map +0 -1
- package/esm2022/radio/qualcomm-ui-angular-core-radio.js +0 -5
- package/esm2022/radio/qualcomm-ui-angular-core-radio.js.map +0 -1
- package/esm2022/radio/radio-context.service.js +0 -14
- package/esm2022/radio/radio-context.service.js.map +0 -1
- package/esm2022/radio/radio-item-context.service.js +0 -14
- package/esm2022/radio/radio-item-context.service.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js +0 -29
- package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-item-text.directive.js +0 -29
- package/esm2022/segmented-control/core-segmented-control-item-text.directive.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-item.directive.js +0 -53
- package/esm2022/segmented-control/core-segmented-control-item.directive.js.map +0 -1
- package/esm2022/segmented-control/core-segmented-control-root.directive.js +0 -80
- package/esm2022/segmented-control/core-segmented-control-root.directive.js.map +0 -1
- package/esm2022/segmented-control/index.js +0 -6
- package/esm2022/segmented-control/index.js.map +0 -1
- package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js +0 -5
- package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js.map +0 -1
- package/esm2022/segmented-control/segmented-control-context.service.js +0 -14
- package/esm2022/segmented-control/segmented-control-context.service.js.map +0 -1
- package/esm2022/select/core-select-clear-trigger.directive.js +0 -30
- package/esm2022/select/core-select-clear-trigger.directive.js.map +0 -1
- package/esm2022/select/core-select-content.directive.js +0 -30
- package/esm2022/select/core-select-content.directive.js.map +0 -1
- package/esm2022/select/core-select-control.directive.js +0 -30
- package/esm2022/select/core-select-control.directive.js.map +0 -1
- package/esm2022/select/core-select-error-indicator.directive.js +0 -21
- package/esm2022/select/core-select-error-indicator.directive.js.map +0 -1
- package/esm2022/select/core-select-error-text.directive.js +0 -32
- package/esm2022/select/core-select-error-text.directive.js.map +0 -1
- package/esm2022/select/core-select-hidden-select.directive.js +0 -30
- package/esm2022/select/core-select-hidden-select.directive.js.map +0 -1
- package/esm2022/select/core-select-hint.directive.js +0 -32
- package/esm2022/select/core-select-hint.directive.js.map +0 -1
- package/esm2022/select/core-select-indicator.directive.js +0 -21
- package/esm2022/select/core-select-indicator.directive.js.map +0 -1
- package/esm2022/select/core-select-item-indicator.directive.js +0 -21
- package/esm2022/select/core-select-item-indicator.directive.js.map +0 -1
- package/esm2022/select/core-select-item-text.directive.js +0 -21
- package/esm2022/select/core-select-item-text.directive.js.map +0 -1
- package/esm2022/select/core-select-item.directive.js +0 -35
- package/esm2022/select/core-select-item.directive.js.map +0 -1
- package/esm2022/select/core-select-label.directive.js +0 -30
- package/esm2022/select/core-select-label.directive.js.map +0 -1
- package/esm2022/select/core-select-positioner.directive.js +0 -30
- package/esm2022/select/core-select-positioner.directive.js.map +0 -1
- package/esm2022/select/core-select-root.directive.js +0 -231
- package/esm2022/select/core-select-root.directive.js.map +0 -1
- package/esm2022/select/core-select-value-text.directive.js +0 -23
- package/esm2022/select/core-select-value-text.directive.js.map +0 -1
- package/esm2022/select/index.js +0 -18
- package/esm2022/select/index.js.map +0 -1
- package/esm2022/select/qualcomm-ui-angular-core-select.js +0 -5
- package/esm2022/select/qualcomm-ui-angular-core-select.js.map +0 -1
- package/esm2022/select/select-context.service.js +0 -15
- package/esm2022/select/select-context.service.js.map +0 -1
- package/esm2022/select/select-item-context.service.js +0 -14
- package/esm2022/select/select-item-context.service.js.map +0 -1
- package/esm2022/signals/access-signal.js +0 -17
- package/esm2022/signals/access-signal.js.map +0 -1
- package/esm2022/signals/host-binding.js +0 -84
- package/esm2022/signals/host-binding.js.map +0 -1
- package/esm2022/signals/index.js +0 -4
- package/esm2022/signals/index.js.map +0 -1
- package/esm2022/signals/qualcomm-ui-angular-core-signals.js +0 -5
- package/esm2022/signals/qualcomm-ui-angular-core-signals.js.map +0 -1
- package/esm2022/signals/signalify-input.js +0 -4
- package/esm2022/signals/signalify-input.js.map +0 -1
- package/esm2022/signals/signalify-object.js +0 -73
- package/esm2022/signals/signalify-object.js.map +0 -1
- package/esm2022/signals/signals.types.js +0 -4
- package/esm2022/signals/signals.types.js.map +0 -1
- package/esm2022/state/controlled-state-legacy.js +0 -80
- package/esm2022/state/controlled-state-legacy.js.map +0 -1
- package/esm2022/state/controlled-state.service.js +0 -84
- package/esm2022/state/controlled-state.service.js.map +0 -1
- package/esm2022/state/index.js +0 -4
- package/esm2022/state/index.js.map +0 -1
- package/esm2022/state/qualcomm-ui-angular-core-state.js +0 -5
- package/esm2022/state/qualcomm-ui-angular-core-state.js.map +0 -1
- package/esm2022/state/use-controlled-state.js +0 -28
- package/esm2022/state/use-controlled-state.js.map +0 -1
- package/esm2022/switch/core-switch-control.directive.js +0 -19
- package/esm2022/switch/core-switch-control.directive.js.map +0 -1
- package/esm2022/switch/core-switch-error-text.directive.js +0 -30
- package/esm2022/switch/core-switch-error-text.directive.js.map +0 -1
- package/esm2022/switch/core-switch-hidden-input.directive.js +0 -30
- package/esm2022/switch/core-switch-hidden-input.directive.js.map +0 -1
- package/esm2022/switch/core-switch-label.directive.js +0 -30
- package/esm2022/switch/core-switch-label.directive.js.map +0 -1
- package/esm2022/switch/core-switch-root.directive.js +0 -89
- package/esm2022/switch/core-switch-root.directive.js.map +0 -1
- package/esm2022/switch/core-switch-thumb.directive.js +0 -19
- package/esm2022/switch/core-switch-thumb.directive.js.map +0 -1
- package/esm2022/switch/index.js +0 -8
- package/esm2022/switch/index.js.map +0 -1
- package/esm2022/switch/qualcomm-ui-angular-core-switch.js +0 -5
- package/esm2022/switch/qualcomm-ui-angular-core-switch.js.map +0 -1
- package/esm2022/switch/switch-context.service.js +0 -14
- package/esm2022/switch/switch-context.service.js.map +0 -1
- package/esm2022/tabs/core-tab-button.directive.js +0 -35
- package/esm2022/tabs/core-tab-button.directive.js.map +0 -1
- package/esm2022/tabs/core-tab-dismiss-button.directive.js +0 -26
- package/esm2022/tabs/core-tab-dismiss-button.directive.js.map +0 -1
- package/esm2022/tabs/core-tab-root.directive.js +0 -37
- package/esm2022/tabs/core-tab-root.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-indicator.directive.js +0 -32
- package/esm2022/tabs/core-tabs-indicator.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-list.directive.js +0 -32
- package/esm2022/tabs/core-tabs-list.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-panel.directive.js +0 -61
- package/esm2022/tabs/core-tabs-panel.directive.js.map +0 -1
- package/esm2022/tabs/core-tabs-root.directive.js +0 -146
- package/esm2022/tabs/core-tabs-root.directive.js.map +0 -1
- package/esm2022/tabs/index.js +0 -10
- package/esm2022/tabs/index.js.map +0 -1
- package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js +0 -5
- package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js.map +0 -1
- package/esm2022/tabs/tab-context.service.js +0 -14
- package/esm2022/tabs/tab-context.service.js.map +0 -1
- package/esm2022/tabs/tabs-context.service.js +0 -14
- package/esm2022/tabs/tabs-context.service.js.map +0 -1
- package/esm2022/text-area/index.js +0 -2
- package/esm2022/text-area/index.js.map +0 -1
- package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js +0 -5
- package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js.map +0 -1
- package/esm2022/text-input/core-text-input-clear-trigger.directive.js +0 -19
- package/esm2022/text-input/core-text-input-clear-trigger.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-error-indicator.directive.js +0 -21
- package/esm2022/text-input/core-text-input-error-indicator.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-error-text.directive.js +0 -26
- package/esm2022/text-input/core-text-input-error-text.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-hint.directive.js +0 -26
- package/esm2022/text-input/core-text-input-hint.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-input-group.directive.js +0 -21
- package/esm2022/text-input/core-text-input-input-group.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-input.directive.js +0 -28
- package/esm2022/text-input/core-text-input-input.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-label.directive.js +0 -26
- package/esm2022/text-input/core-text-input-label.directive.js.map +0 -1
- package/esm2022/text-input/core-text-input-root.directive.js +0 -82
- package/esm2022/text-input/core-text-input-root.directive.js.map +0 -1
- package/esm2022/text-input/index.js +0 -10
- package/esm2022/text-input/index.js.map +0 -1
- package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js +0 -5
- package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js.map +0 -1
- package/esm2022/text-input/text-input-context.service.js +0 -14
- package/esm2022/text-input/text-input-context.service.js.map +0 -1
- package/esm2022/toast/core-toast-action.directive.js +0 -21
- package/esm2022/toast/core-toast-action.directive.js.map +0 -1
- package/esm2022/toast/core-toast-close-trigger.directive.js +0 -21
- package/esm2022/toast/core-toast-close-trigger.directive.js.map +0 -1
- package/esm2022/toast/core-toast-description.directive.js +0 -23
- package/esm2022/toast/core-toast-description.directive.js.map +0 -1
- package/esm2022/toast/core-toast-label.directive.js +0 -21
- package/esm2022/toast/core-toast-label.directive.js.map +0 -1
- package/esm2022/toast/core-toast-root.directive.js +0 -21
- package/esm2022/toast/core-toast-root.directive.js.map +0 -1
- package/esm2022/toast/core-toaster.directive.js +0 -55
- package/esm2022/toast/core-toaster.directive.js.map +0 -1
- package/esm2022/toast/index.js +0 -9
- package/esm2022/toast/index.js.map +0 -1
- package/esm2022/toast/qualcomm-ui-angular-core-toast.js +0 -5
- package/esm2022/toast/qualcomm-ui-angular-core-toast.js.map +0 -1
- package/esm2022/toast/toast-context.service.js +0 -14
- package/esm2022/toast/toast-context.service.js.map +0 -1
- package/esm2022/toast/toast-group-context.service.js +0 -14
- package/esm2022/toast/toast-group-context.service.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js +0 -19
- package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-arrow.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-arrow.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-content.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-content.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-positioner.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-positioner.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-root.directive.js +0 -82
- package/esm2022/tooltip/core-tooltip-root.directive.js.map +0 -1
- package/esm2022/tooltip/core-tooltip-trigger.directive.js +0 -30
- package/esm2022/tooltip/core-tooltip-trigger.directive.js.map +0 -1
- package/esm2022/tooltip/index.js +0 -8
- package/esm2022/tooltip/index.js.map +0 -1
- package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js +0 -5
- package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js.map +0 -1
- package/esm2022/tooltip/tooltip-context.service.js +0 -14
- package/esm2022/tooltip/tooltip-context.service.js.map +0 -1
- package/esm2022/virtual/index.js +0 -3
- package/esm2022/virtual/index.js.map +0 -1
- package/esm2022/virtual/proxy.js +0 -95
- package/esm2022/virtual/proxy.js.map +0 -1
- package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js +0 -5
- package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js.map +0 -1
- package/esm2022/virtual/types.js +0 -4
- package/esm2022/virtual/types.js.map +0 -1
- package/esm2022/virtual/virtual.js +0 -89
- package/esm2022/virtual/virtual.js.map +0 -1
- package/events/listener.service.d.ts +0 -27
- package/events/listener.service.d.ts.map +0 -1
- package/events/qualcomm-ui-angular-core-events.d.ts +0 -6
- package/events/qualcomm-ui-angular-core-events.d.ts.map +0 -1
- package/events/use-copy-to-clipboard.d.ts +0 -9
- package/events/use-copy-to-clipboard.d.ts.map +0 -1
- package/forms/form-utils.d.ts +0 -17
- package/forms/form-utils.d.ts.map +0 -1
- package/forms/qualcomm-ui-angular-core-forms.d.ts +0 -6
- package/forms/qualcomm-ui-angular-core-forms.d.ts.map +0 -1
- package/forms/use-forbidden-form-control-warning.d.ts +0 -16
- package/forms/use-forbidden-form-control-warning.d.ts.map +0 -1
- package/highlight/highlight.directive.d.ts +0 -28
- package/highlight/highlight.directive.d.ts.map +0 -1
- package/highlight/qualcomm-ui-angular-core-highlight.d.ts +0 -6
- package/highlight/qualcomm-ui-angular-core-highlight.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-action.directive.d.ts +0 -13
- package/inline-notification/core-inline-notification-action.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-close-trigger.directive.d.ts +0 -20
- package/inline-notification/core-inline-notification-close-trigger.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-description.directive.d.ts +0 -20
- package/inline-notification/core-inline-notification-description.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-icon.directive.d.ts +0 -13
- package/inline-notification/core-inline-notification-icon.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-label.directive.d.ts +0 -20
- package/inline-notification/core-inline-notification-label.directive.d.ts.map +0 -1
- package/inline-notification/core-inline-notification-root.directive.d.ts +0 -50
- package/inline-notification/core-inline-notification-root.directive.d.ts.map +0 -1
- package/inline-notification/inline-notification-context.service.d.ts +0 -9
- package/inline-notification/inline-notification-context.service.d.ts.map +0 -1
- package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts +0 -6
- package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts.map +0 -1
- package/input/abstract-input-form-control.directive.d.ts +0 -72
- package/input/abstract-input-form-control.directive.d.ts.map +0 -1
- package/input/abstract-list-collection-form-control.directive.d.ts +0 -81
- package/input/abstract-list-collection-form-control.directive.d.ts.map +0 -1
- package/input/input-form-control-provider.d.ts +0 -38
- package/input/input-form-control-provider.d.ts.map +0 -1
- package/input/qualcomm-ui-angular-core-input.d.ts +0 -6
- package/input/qualcomm-ui-angular-core-input.d.ts.map +0 -1
- package/locale/locale-context.service.d.ts +0 -9
- package/locale/locale-context.service.d.ts.map +0 -1
- package/locale/qualcomm-ui-angular-core-locale.d.ts +0 -6
- package/locale/qualcomm-ui-angular-core-locale.d.ts.map +0 -1
- package/locale/use-filter.d.ts +0 -8
- package/locale/use-filter.d.ts.map +0 -1
- package/lorem-ipsum/lorem-ipsum.directive.d.ts +0 -44
- package/lorem-ipsum/lorem-ipsum.directive.d.ts.map +0 -1
- package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts +0 -6
- package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts.map +0 -1
- package/lucide/lucide.types.d.ts +0 -40
- package/lucide/lucide.types.d.ts.map +0 -1
- package/lucide/provide-icons.d.ts +0 -11
- package/lucide/provide-icons.d.ts.map +0 -1
- package/lucide/qualcomm-ui-angular-core-lucide.d.ts +0 -6
- package/lucide/qualcomm-ui-angular-core-lucide.d.ts.map +0 -1
- package/machine/api-context.directive.d.ts +0 -20
- package/machine/api-context.directive.d.ts.map +0 -1
- package/machine/api-context.service.d.ts +0 -32
- package/machine/api-context.service.d.ts.map +0 -1
- package/machine/bindable-id-collection.d.ts +0 -3
- package/machine/bindable-id-collection.d.ts.map +0 -1
- package/machine/bindable-id.d.ts +0 -3
- package/machine/bindable-id.d.ts.map +0 -1
- package/machine/bindable.d.ts +0 -10
- package/machine/bindable.d.ts.map +0 -1
- package/machine/machine.types.d.ts +0 -8
- package/machine/machine.types.d.ts.map +0 -1
- package/machine/merge-props.d.ts +0 -20
- package/machine/merge-props.d.ts.map +0 -1
- package/machine/normalize-props.d.ts +0 -4
- package/machine/normalize-props.d.ts.map +0 -1
- package/machine/q-bind.directive.d.ts +0 -44
- package/machine/q-bind.directive.d.ts.map +0 -1
- package/machine/qualcomm-ui-angular-core-machine.d.ts +0 -6
- package/machine/qualcomm-ui-angular-core-machine.d.ts.map +0 -1
- package/machine/refs.d.ts +0 -5
- package/machine/refs.d.ts.map +0 -1
- package/machine/track.d.ts +0 -3
- package/machine/track.d.ts.map +0 -1
- package/machine/use-machine.d.ts +0 -12
- package/machine/use-machine.d.ts.map +0 -1
- package/machine/use-track-bindings.d.ts +0 -60
- package/machine/use-track-bindings.d.ts.map +0 -1
- package/menu/base-menu-item.directive.d.ts +0 -40
- package/menu/base-menu-item.directive.d.ts.map +0 -1
- package/menu/core-menu-checkbox-item.directive.d.ts +0 -35
- package/menu/core-menu-checkbox-item.directive.d.ts.map +0 -1
- package/menu/core-menu-content.directive.d.ts +0 -25
- package/menu/core-menu-content.directive.d.ts.map +0 -1
- package/menu/core-menu-context-trigger.directive.d.ts +0 -20
- package/menu/core-menu-context-trigger.directive.d.ts.map +0 -1
- package/menu/core-menu-item-group-label.directive.d.ts +0 -15
- package/menu/core-menu-item-group-label.directive.d.ts.map +0 -1
- package/menu/core-menu-item-group.directive.d.ts +0 -21
- package/menu/core-menu-item-group.directive.d.ts.map +0 -1
- package/menu/core-menu-item-indicator.directive.d.ts +0 -15
- package/menu/core-menu-item-indicator.directive.d.ts.map +0 -1
- package/menu/core-menu-item-label.directive.d.ts +0 -15
- package/menu/core-menu-item-label.directive.d.ts.map +0 -1
- package/menu/core-menu-item-root.directive.d.ts +0 -16
- package/menu/core-menu-item-root.directive.d.ts.map +0 -1
- package/menu/core-menu-positioner.directive.d.ts +0 -22
- package/menu/core-menu-positioner.directive.d.ts.map +0 -1
- package/menu/core-menu-radio-item-group.directive.d.ts +0 -33
- package/menu/core-menu-radio-item-group.directive.d.ts.map +0 -1
- package/menu/core-menu-radio-item.directive.d.ts +0 -18
- package/menu/core-menu-radio-item.directive.d.ts.map +0 -1
- package/menu/core-menu-root.directive.d.ts +0 -131
- package/menu/core-menu-root.directive.d.ts.map +0 -1
- package/menu/core-menu-separator.directive.d.ts +0 -13
- package/menu/core-menu-separator.directive.d.ts.map +0 -1
- package/menu/core-menu-trigger-item.directive.d.ts +0 -21
- package/menu/core-menu-trigger-item.directive.d.ts.map +0 -1
- package/menu/core-menu-trigger.directive.d.ts +0 -22
- package/menu/core-menu-trigger.directive.d.ts.map +0 -1
- package/menu/menu-context.service.d.ts +0 -9
- package/menu/menu-context.service.d.ts.map +0 -1
- package/menu/menu-item-context.service.d.ts +0 -11
- package/menu/menu-item-context.service.d.ts.map +0 -1
- package/menu/menu-item-group-context.service.d.ts +0 -9
- package/menu/menu-item-group-context.service.d.ts.map +0 -1
- package/menu/menu-machine-context.service.d.ts +0 -10
- package/menu/menu-machine-context.service.d.ts.map +0 -1
- package/menu/menu-option-item-context.service.d.ts +0 -11
- package/menu/menu-option-item-context.service.d.ts.map +0 -1
- package/menu/menu-radio-item-group-context.service.d.ts +0 -9
- package/menu/menu-radio-item-group-context.service.d.ts.map +0 -1
- package/menu/menu-trigger-context.service.d.ts +0 -9
- package/menu/menu-trigger-context.service.d.ts.map +0 -1
- package/menu/qualcomm-ui-angular-core-menu.d.ts +0 -6
- package/menu/qualcomm-ui-angular-core-menu.d.ts.map +0 -1
- package/number-input/abstract-number-input-form-control.directive.d.ts +0 -80
- package/number-input/abstract-number-input-form-control.directive.d.ts.map +0 -1
- package/number-input/core-number-input-control.directive.d.ts +0 -13
- package/number-input/core-number-input-control.directive.d.ts.map +0 -1
- package/number-input/core-number-input-decrement-trigger.directive.d.ts +0 -16
- package/number-input/core-number-input-decrement-trigger.directive.d.ts.map +0 -1
- package/number-input/core-number-input-error-indicator.directive.d.ts +0 -13
- package/number-input/core-number-input-error-indicator.directive.d.ts.map +0 -1
- package/number-input/core-number-input-error-text.directive.d.ts +0 -16
- package/number-input/core-number-input-error-text.directive.d.ts.map +0 -1
- package/number-input/core-number-input-hint.directive.d.ts +0 -16
- package/number-input/core-number-input-hint.directive.d.ts.map +0 -1
- package/number-input/core-number-input-increment-trigger.directive.d.ts +0 -16
- package/number-input/core-number-input-increment-trigger.directive.d.ts.map +0 -1
- package/number-input/core-number-input-input-group.directive.d.ts +0 -13
- package/number-input/core-number-input-input-group.directive.d.ts.map +0 -1
- package/number-input/core-number-input-input.directive.d.ts +0 -16
- package/number-input/core-number-input-input.directive.d.ts.map +0 -1
- package/number-input/core-number-input-label.directive.d.ts +0 -16
- package/number-input/core-number-input-label.directive.d.ts.map +0 -1
- package/number-input/core-number-input-root.directive.d.ts +0 -109
- package/number-input/core-number-input-root.directive.d.ts.map +0 -1
- package/number-input/number-input-context.service.d.ts +0 -9
- package/number-input/number-input-context.service.d.ts.map +0 -1
- package/number-input/number-input.validators.d.ts +0 -7
- package/number-input/number-input.validators.d.ts.map +0 -1
- package/number-input/qualcomm-ui-angular-core-number-input.d.ts +0 -6
- package/number-input/qualcomm-ui-angular-core-number-input.d.ts.map +0 -1
- package/observers/intersection-observer.directive.d.ts +0 -13
- package/observers/intersection-observer.directive.d.ts.map +0 -1
- package/observers/qualcomm-ui-angular-core-observers.d.ts +0 -6
- package/observers/qualcomm-ui-angular-core-observers.d.ts.map +0 -1
- package/pagination/core-pagination-next-trigger.directive.d.ts +0 -10
- package/pagination/core-pagination-next-trigger.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-item.directive.d.ts +0 -16
- package/pagination/core-pagination-page-item.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-items.directive.d.ts +0 -12
- package/pagination/core-pagination-page-items.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-metadata.directive.d.ts +0 -10
- package/pagination/core-pagination-page-metadata.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-size-label.directive.d.ts +0 -13
- package/pagination/core-pagination-page-size-label.directive.d.ts.map +0 -1
- package/pagination/core-pagination-page-size.directive.d.ts +0 -19
- package/pagination/core-pagination-page-size.directive.d.ts.map +0 -1
- package/pagination/core-pagination-prev-trigger.directive.d.ts +0 -10
- package/pagination/core-pagination-prev-trigger.directive.d.ts.map +0 -1
- package/pagination/core-pagination-root.directive.d.ts +0 -83
- package/pagination/core-pagination-root.directive.d.ts.map +0 -1
- package/pagination/pagination-context.service.d.ts +0 -9
- package/pagination/pagination-context.service.d.ts.map +0 -1
- package/pagination/qualcomm-ui-angular-core-pagination.d.ts +0 -6
- package/pagination/qualcomm-ui-angular-core-pagination.d.ts.map +0 -1
- package/password-input/core-password-input-clear-trigger.directive.d.ts +0 -13
- package/password-input/core-password-input-clear-trigger.directive.d.ts.map +0 -1
- package/password-input/core-password-input-error-indicator.directive.d.ts +0 -13
- package/password-input/core-password-input-error-indicator.directive.d.ts.map +0 -1
- package/password-input/core-password-input-error-text.directive.d.ts +0 -20
- package/password-input/core-password-input-error-text.directive.d.ts.map +0 -1
- package/password-input/core-password-input-hint.directive.d.ts +0 -20
- package/password-input/core-password-input-hint.directive.d.ts.map +0 -1
- package/password-input/core-password-input-input-group.directive.d.ts +0 -13
- package/password-input/core-password-input-input-group.directive.d.ts.map +0 -1
- package/password-input/core-password-input-input.directive.d.ts +0 -20
- package/password-input/core-password-input-input.directive.d.ts.map +0 -1
- package/password-input/core-password-input-label.directive.d.ts +0 -20
- package/password-input/core-password-input-label.directive.d.ts.map +0 -1
- package/password-input/core-password-input-root.directive.d.ts +0 -60
- package/password-input/core-password-input-root.directive.d.ts.map +0 -1
- package/password-input/core-password-input-visibility-trigger.directive.d.ts +0 -20
- package/password-input/core-password-input-visibility-trigger.directive.d.ts.map +0 -1
- package/password-input/password-input-context.service.d.ts +0 -9
- package/password-input/password-input-context.service.d.ts.map +0 -1
- package/password-input/qualcomm-ui-angular-core-password-input.d.ts +0 -6
- package/password-input/qualcomm-ui-angular-core-password-input.d.ts.map +0 -1
- package/popover/core-popover-anchor.directive.d.ts +0 -17
- package/popover/core-popover-anchor.directive.d.ts.map +0 -1
- package/popover/core-popover-arrow-tip.directive.d.ts +0 -10
- package/popover/core-popover-arrow-tip.directive.d.ts.map +0 -1
- package/popover/core-popover-arrow.directive.d.ts +0 -17
- package/popover/core-popover-arrow.directive.d.ts.map +0 -1
- package/popover/core-popover-close-trigger.directive.d.ts +0 -17
- package/popover/core-popover-close-trigger.directive.d.ts.map +0 -1
- package/popover/core-popover-content.directive.d.ts +0 -17
- package/popover/core-popover-content.directive.d.ts.map +0 -1
- package/popover/core-popover-description.directive.d.ts +0 -17
- package/popover/core-popover-description.directive.d.ts.map +0 -1
- package/popover/core-popover-label.directive.d.ts +0 -17
- package/popover/core-popover-label.directive.d.ts.map +0 -1
- package/popover/core-popover-positioner.directive.d.ts +0 -17
- package/popover/core-popover-positioner.directive.d.ts.map +0 -1
- package/popover/core-popover-root.directive.d.ts +0 -123
- package/popover/core-popover-root.directive.d.ts.map +0 -1
- package/popover/core-popover-trigger.directive.d.ts +0 -17
- package/popover/core-popover-trigger.directive.d.ts.map +0 -1
- package/popover/popover-context.service.d.ts +0 -9
- package/popover/popover-context.service.d.ts.map +0 -1
- package/popover/qualcomm-ui-angular-core-popover.d.ts +0 -6
- package/popover/qualcomm-ui-angular-core-popover.d.ts.map +0 -1
- package/portal/portal-context.service.d.ts +0 -9
- package/portal/portal-context.service.d.ts.map +0 -1
- package/portal/portal.component.d.ts +0 -37
- package/portal/portal.component.d.ts.map +0 -1
- package/portal/portal.directive.d.ts +0 -27
- package/portal/portal.directive.d.ts.map +0 -1
- package/portal/qualcomm-ui-angular-core-portal.d.ts +0 -6
- package/portal/qualcomm-ui-angular-core-portal.d.ts.map +0 -1
- package/presence/core-presence.directive.d.ts +0 -44
- package/presence/core-presence.directive.d.ts.map +0 -1
- package/presence/presence-context.service.d.ts +0 -22
- package/presence/presence-context.service.d.ts.map +0 -1
- package/presence/qualcomm-ui-angular-core-presence.d.ts +0 -6
- package/presence/qualcomm-ui-angular-core-presence.d.ts.map +0 -1
- package/presence/render-strategy-context.service.d.ts +0 -9
- package/presence/render-strategy-context.service.d.ts.map +0 -1
- package/presence/use-presence-renderer.d.ts +0 -20
- package/presence/use-presence-renderer.d.ts.map +0 -1
- package/progress/core-base-progress.directive.d.ts +0 -45
- package/progress/core-base-progress.directive.d.ts.map +0 -1
- package/progress/core-progress-bar.directive.d.ts +0 -13
- package/progress/core-progress-bar.directive.d.ts.map +0 -1
- package/progress/core-progress-error-text.directive.d.ts +0 -20
- package/progress/core-progress-error-text.directive.d.ts.map +0 -1
- package/progress/core-progress-hint.directive.d.ts +0 -20
- package/progress/core-progress-hint.directive.d.ts.map +0 -1
- package/progress/core-progress-label.directive.d.ts +0 -20
- package/progress/core-progress-label.directive.d.ts.map +0 -1
- package/progress/core-progress-root.directive.d.ts +0 -16
- package/progress/core-progress-root.directive.d.ts.map +0 -1
- package/progress/core-progress-track.directive.d.ts +0 -20
- package/progress/core-progress-track.directive.d.ts.map +0 -1
- package/progress/core-progress-value-text.directive.d.ts +0 -13
- package/progress/core-progress-value-text.directive.d.ts.map +0 -1
- package/progress/progress-context.service.d.ts +0 -9
- package/progress/progress-context.service.d.ts.map +0 -1
- package/progress/qualcomm-ui-angular-core-progress.d.ts +0 -6
- package/progress/qualcomm-ui-angular-core-progress.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-bar.directive.d.ts +0 -13
- package/progress-ring/core-progress-ring-bar.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-circle.directive.d.ts +0 -20
- package/progress-ring/core-progress-ring-circle.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-error-text.directive.d.ts +0 -20
- package/progress-ring/core-progress-ring-error-text.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-label.directive.d.ts +0 -20
- package/progress-ring/core-progress-ring-label.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-root.directive.d.ts +0 -16
- package/progress-ring/core-progress-ring-root.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-track.directive.d.ts +0 -13
- package/progress-ring/core-progress-ring-track.directive.d.ts.map +0 -1
- package/progress-ring/core-progress-ring-value-text.directive.d.ts +0 -13
- package/progress-ring/core-progress-ring-value-text.directive.d.ts.map +0 -1
- package/progress-ring/progress-ring-context.service.d.ts +0 -9
- package/progress-ring/progress-ring-context.service.d.ts.map +0 -1
- package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts +0 -6
- package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts.map +0 -1
- package/qualcomm-ui-angular-core.d.ts +0 -6
- package/qualcomm-ui-angular-core.d.ts.map +0 -1
- package/radio/abstract-radio-form-control.directive.d.ts +0 -79
- package/radio/abstract-radio-form-control.directive.d.ts.map +0 -1
- package/radio/core-radio-group-error-text.directive.d.ts +0 -20
- package/radio/core-radio-group-error-text.directive.d.ts.map +0 -1
- package/radio/core-radio-group-items.directive.d.ts +0 -13
- package/radio/core-radio-group-items.directive.d.ts.map +0 -1
- package/radio/core-radio-group-label.directive.d.ts +0 -23
- package/radio/core-radio-group-label.directive.d.ts.map +0 -1
- package/radio/core-radio-group.directive.d.ts +0 -44
- package/radio/core-radio-group.directive.d.ts.map +0 -1
- package/radio/core-radio-item-control.directive.d.ts +0 -14
- package/radio/core-radio-item-control.directive.d.ts.map +0 -1
- package/radio/core-radio-item-hidden-input.directive.d.ts +0 -24
- package/radio/core-radio-item-hidden-input.directive.d.ts.map +0 -1
- package/radio/core-radio-item-label.directive.d.ts +0 -24
- package/radio/core-radio-item-label.directive.d.ts.map +0 -1
- package/radio/core-radio-root.directive.d.ts +0 -41
- package/radio/core-radio-root.directive.d.ts.map +0 -1
- package/radio/qualcomm-ui-angular-core-radio.d.ts +0 -6
- package/radio/qualcomm-ui-angular-core-radio.d.ts.map +0 -1
- package/radio/radio-context.service.d.ts +0 -9
- package/radio/radio-context.service.d.ts.map +0 -1
- package/radio/radio-item-context.service.d.ts +0 -9
- package/radio/radio-item-context.service.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-hidden-input.directive.d.ts +0 -23
- package/segmented-control/core-segmented-control-hidden-input.directive.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-item-text.directive.d.ts +0 -23
- package/segmented-control/core-segmented-control-item-text.directive.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-item.directive.d.ts +0 -28
- package/segmented-control/core-segmented-control-item.directive.d.ts.map +0 -1
- package/segmented-control/core-segmented-control-root.directive.d.ts +0 -53
- package/segmented-control/core-segmented-control-root.directive.d.ts.map +0 -1
- package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts +0 -6
- package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts.map +0 -1
- package/segmented-control/segmented-control-context.service.d.ts +0 -9
- package/segmented-control/segmented-control-context.service.d.ts.map +0 -1
- package/select/core-select-clear-trigger.directive.d.ts +0 -20
- package/select/core-select-clear-trigger.directive.d.ts.map +0 -1
- package/select/core-select-content.directive.d.ts +0 -20
- package/select/core-select-content.directive.d.ts.map +0 -1
- package/select/core-select-control.directive.d.ts +0 -20
- package/select/core-select-control.directive.d.ts.map +0 -1
- package/select/core-select-error-indicator.directive.d.ts +0 -13
- package/select/core-select-error-indicator.directive.d.ts.map +0 -1
- package/select/core-select-error-text.directive.d.ts +0 -20
- package/select/core-select-error-text.directive.d.ts.map +0 -1
- package/select/core-select-hidden-select.directive.d.ts +0 -20
- package/select/core-select-hidden-select.directive.d.ts.map +0 -1
- package/select/core-select-hint.directive.d.ts +0 -20
- package/select/core-select-hint.directive.d.ts.map +0 -1
- package/select/core-select-indicator.directive.d.ts +0 -13
- package/select/core-select-indicator.directive.d.ts.map +0 -1
- package/select/core-select-item-indicator.directive.d.ts +0 -14
- package/select/core-select-item-indicator.directive.d.ts.map +0 -1
- package/select/core-select-item-text.directive.d.ts +0 -14
- package/select/core-select-item-text.directive.d.ts.map +0 -1
- package/select/core-select-item.directive.d.ts +0 -26
- package/select/core-select-item.directive.d.ts.map +0 -1
- package/select/core-select-label.directive.d.ts +0 -20
- package/select/core-select-label.directive.d.ts.map +0 -1
- package/select/core-select-positioner.directive.d.ts +0 -20
- package/select/core-select-positioner.directive.d.ts.map +0 -1
- package/select/core-select-root.directive.d.ts +0 -130
- package/select/core-select-root.directive.d.ts.map +0 -1
- package/select/core-select-value-text.directive.d.ts +0 -17
- package/select/core-select-value-text.directive.d.ts.map +0 -1
- package/select/qualcomm-ui-angular-core-select.d.ts +0 -6
- package/select/qualcomm-ui-angular-core-select.d.ts.map +0 -1
- package/select/select-context.service.d.ts +0 -12
- package/select/select-context.service.d.ts.map +0 -1
- package/select/select-item-context.service.d.ts +0 -9
- package/select/select-item-context.service.d.ts.map +0 -1
- package/signals/access-signal.d.ts +0 -10
- package/signals/access-signal.d.ts.map +0 -1
- package/signals/host-binding.d.ts +0 -58
- package/signals/host-binding.d.ts.map +0 -1
- package/signals/qualcomm-ui-angular-core-signals.d.ts +0 -6
- package/signals/qualcomm-ui-angular-core-signals.d.ts.map +0 -1
- package/signals/signalify-input.d.ts +0 -9
- package/signals/signalify-input.d.ts.map +0 -1
- package/signals/signalify-object.d.ts +0 -5
- package/signals/signalify-object.d.ts.map +0 -1
- package/signals/signals.types.d.ts +0 -3
- package/signals/signals.types.d.ts.map +0 -1
- package/state/controlled-state-legacy.d.ts +0 -49
- package/state/controlled-state-legacy.d.ts.map +0 -1
- package/state/controlled-state.service.d.ts +0 -41
- package/state/controlled-state.service.d.ts.map +0 -1
- package/state/qualcomm-ui-angular-core-state.d.ts +0 -6
- package/state/qualcomm-ui-angular-core-state.d.ts.map +0 -1
- package/state/use-controlled-state.d.ts +0 -13
- package/state/use-controlled-state.d.ts.map +0 -1
- package/switch/core-switch-control.directive.d.ts +0 -13
- package/switch/core-switch-control.directive.d.ts.map +0 -1
- package/switch/core-switch-error-text.directive.d.ts +0 -20
- package/switch/core-switch-error-text.directive.d.ts.map +0 -1
- package/switch/core-switch-hidden-input.directive.d.ts +0 -20
- package/switch/core-switch-hidden-input.directive.d.ts.map +0 -1
- package/switch/core-switch-label.directive.d.ts +0 -20
- package/switch/core-switch-label.directive.d.ts.map +0 -1
- package/switch/core-switch-root.directive.d.ts +0 -48
- package/switch/core-switch-root.directive.d.ts.map +0 -1
- package/switch/core-switch-thumb.directive.d.ts +0 -13
- package/switch/core-switch-thumb.directive.d.ts.map +0 -1
- package/switch/qualcomm-ui-angular-core-switch.d.ts +0 -6
- package/switch/qualcomm-ui-angular-core-switch.d.ts.map +0 -1
- package/switch/switch-context.service.d.ts +0 -9
- package/switch/switch-context.service.d.ts.map +0 -1
- package/tabs/core-tab-button.directive.d.ts +0 -21
- package/tabs/core-tab-button.directive.d.ts.map +0 -1
- package/tabs/core-tab-dismiss-button.directive.d.ts +0 -14
- package/tabs/core-tab-dismiss-button.directive.d.ts.map +0 -1
- package/tabs/core-tab-root.directive.d.ts +0 -26
- package/tabs/core-tab-root.directive.d.ts.map +0 -1
- package/tabs/core-tabs-indicator.directive.d.ts +0 -20
- package/tabs/core-tabs-indicator.directive.d.ts.map +0 -1
- package/tabs/core-tabs-list.directive.d.ts +0 -20
- package/tabs/core-tabs-list.directive.d.ts.map +0 -1
- package/tabs/core-tabs-panel.directive.d.ts +0 -33
- package/tabs/core-tabs-panel.directive.d.ts.map +0 -1
- package/tabs/core-tabs-root.directive.d.ts +0 -104
- package/tabs/core-tabs-root.directive.d.ts.map +0 -1
- package/tabs/qualcomm-ui-angular-core-tabs.d.ts +0 -6
- package/tabs/qualcomm-ui-angular-core-tabs.d.ts.map +0 -1
- package/tabs/tab-context.service.d.ts +0 -9
- package/tabs/tab-context.service.d.ts.map +0 -1
- package/tabs/tabs-context.service.d.ts +0 -9
- package/tabs/tabs-context.service.d.ts.map +0 -1
- package/text-area/qualcomm-ui-angular-core-text-area.d.ts +0 -6
- package/text-area/qualcomm-ui-angular-core-text-area.d.ts.map +0 -1
- package/text-input/core-text-input-clear-trigger.directive.d.ts +0 -13
- package/text-input/core-text-input-clear-trigger.directive.d.ts.map +0 -1
- package/text-input/core-text-input-error-indicator.directive.d.ts +0 -13
- package/text-input/core-text-input-error-indicator.directive.d.ts.map +0 -1
- package/text-input/core-text-input-error-text.directive.d.ts +0 -16
- package/text-input/core-text-input-error-text.directive.d.ts.map +0 -1
- package/text-input/core-text-input-hint.directive.d.ts +0 -16
- package/text-input/core-text-input-hint.directive.d.ts.map +0 -1
- package/text-input/core-text-input-input-group.directive.d.ts +0 -13
- package/text-input/core-text-input-input-group.directive.d.ts.map +0 -1
- package/text-input/core-text-input-input.directive.d.ts +0 -16
- package/text-input/core-text-input-input.directive.d.ts.map +0 -1
- package/text-input/core-text-input-label.directive.d.ts +0 -16
- package/text-input/core-text-input-label.directive.d.ts.map +0 -1
- package/text-input/core-text-input-root.directive.d.ts +0 -36
- package/text-input/core-text-input-root.directive.d.ts.map +0 -1
- package/text-input/qualcomm-ui-angular-core-text-input.d.ts +0 -6
- package/text-input/qualcomm-ui-angular-core-text-input.d.ts.map +0 -1
- package/text-input/text-input-context.service.d.ts +0 -9
- package/text-input/text-input-context.service.d.ts.map +0 -1
- package/toast/core-toast-action.directive.d.ts +0 -13
- package/toast/core-toast-action.directive.d.ts.map +0 -1
- package/toast/core-toast-close-trigger.directive.d.ts +0 -13
- package/toast/core-toast-close-trigger.directive.d.ts.map +0 -1
- package/toast/core-toast-description.directive.d.ts +0 -14
- package/toast/core-toast-description.directive.d.ts.map +0 -1
- package/toast/core-toast-label.directive.d.ts +0 -13
- package/toast/core-toast-label.directive.d.ts.map +0 -1
- package/toast/core-toast-root.directive.d.ts +0 -13
- package/toast/core-toast-root.directive.d.ts.map +0 -1
- package/toast/core-toaster.directive.d.ts +0 -42
- package/toast/core-toaster.directive.d.ts.map +0 -1
- package/toast/qualcomm-ui-angular-core-toast.d.ts +0 -6
- package/toast/qualcomm-ui-angular-core-toast.d.ts.map +0 -1
- package/toast/toast-context.service.d.ts +0 -9
- package/toast/toast-context.service.d.ts.map +0 -1
- package/toast/toast-group-context.service.d.ts +0 -9
- package/toast/toast-group-context.service.d.ts.map +0 -1
- package/tooltip/core-tooltip-arrow-tip.directive.d.ts +0 -10
- package/tooltip/core-tooltip-arrow-tip.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-arrow.directive.d.ts +0 -17
- package/tooltip/core-tooltip-arrow.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-content.directive.d.ts +0 -17
- package/tooltip/core-tooltip-content.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-positioner.directive.d.ts +0 -17
- package/tooltip/core-tooltip-positioner.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-root.directive.d.ts +0 -53
- package/tooltip/core-tooltip-root.directive.d.ts.map +0 -1
- package/tooltip/core-tooltip-trigger.directive.d.ts +0 -17
- package/tooltip/core-tooltip-trigger.directive.d.ts.map +0 -1
- package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts +0 -6
- package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts.map +0 -1
- package/tooltip/tooltip-context.service.d.ts +0 -9
- package/tooltip/tooltip-context.service.d.ts.map +0 -1
- package/virtual/proxy.d.ts +0 -5
- package/virtual/proxy.d.ts.map +0 -1
- package/virtual/qualcomm-ui-angular-core-virtual.d.ts +0 -6
- package/virtual/qualcomm-ui-angular-core-virtual.d.ts.map +0 -1
- package/virtual/types.d.ts +0 -14
- package/virtual/types.d.ts.map +0 -1
- package/virtual/virtual.d.ts +0 -12
- package/virtual/virtual.d.ts.map +0 -1
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { afterNextRender, booleanAttribute, computed, Directive, effect, inject, Injector, input, isDevMode, linkedSignal, runInInjectionContext, signal, } from "@angular/core";
|
|
4
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
5
|
-
import { FormGroupDirective, FormSubmittedEvent, NgForm, PristineChangeEvent, Validators, } from "@angular/forms";
|
|
6
|
-
import { useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
7
|
-
import { allEventsSignal } from "@qualcomm-ui/angular-core/forms";
|
|
8
|
-
import { ListCollection, } from "@qualcomm-ui/utils/collection";
|
|
9
|
-
import { defined, isDefined } from "@qualcomm-ui/utils/guard";
|
|
10
|
-
import { initInputFormControl } from "./input-form-control-provider";
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export class AbstractListCollectionFormControlDirective {
|
|
13
|
-
/**
|
|
14
|
-
* The item collection
|
|
15
|
-
*
|
|
16
|
-
* @inheritDoc
|
|
17
|
-
*/
|
|
18
|
-
collection = input.required(...(ngDevMode ? [{ debugName: "collection" }] : []));
|
|
19
|
-
/**
|
|
20
|
-
* The initial state of the input when rendered. Use when you don't need to
|
|
21
|
-
* control the checked state of the input. This property will be ignored if you
|
|
22
|
-
* opt into controlled state via form control bindings.
|
|
23
|
-
*
|
|
24
|
-
* @inheritDoc
|
|
25
|
-
*/
|
|
26
|
-
defaultValue = input(undefined, ...(ngDevMode ? [{ debugName: "defaultValue" }] : []));
|
|
27
|
-
/**
|
|
28
|
-
* Controls whether the input is disabled in template-driven forms. When true,
|
|
29
|
-
* prevents user interaction and applies visual styling to indicate the disabled
|
|
30
|
-
* state.
|
|
31
|
-
*/
|
|
32
|
-
disabled = input(undefined, ...(ngDevMode ? [{ debugName: "disabled", transform: booleanAttribute }] : [{
|
|
33
|
-
transform: booleanAttribute,
|
|
34
|
-
}]));
|
|
35
|
-
/**
|
|
36
|
-
* Controls the visual error state of the input. When true, applies semantic error
|
|
37
|
-
* styling to indicate validation failure.
|
|
38
|
-
*/
|
|
39
|
-
invalid = input(undefined, ...(ngDevMode ? [{ debugName: "invalid", transform: booleanAttribute }] : [{
|
|
40
|
-
transform: booleanAttribute,
|
|
41
|
-
}]));
|
|
42
|
-
/**
|
|
43
|
-
* The name of the input field. Useful for form submission.
|
|
44
|
-
*/
|
|
45
|
-
name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
|
|
46
|
-
/**
|
|
47
|
-
* Whether the input is read-only. When true, prevents user interaction while
|
|
48
|
-
* keeping the input focusable and visible.
|
|
49
|
-
*/
|
|
50
|
-
readOnly = input(undefined, ...(ngDevMode ? [{ debugName: "readOnly", transform: booleanAttribute }] : [{
|
|
51
|
-
transform: booleanAttribute,
|
|
52
|
-
}]));
|
|
53
|
-
/**
|
|
54
|
-
* Controls whether the input is required in template-driven forms. When
|
|
55
|
-
* true, the input must have a value for form validation to pass.
|
|
56
|
-
*/
|
|
57
|
-
required = input(undefined, ...(ngDevMode ? [{ debugName: "required", transform: booleanAttribute }] : [{
|
|
58
|
-
transform: booleanAttribute,
|
|
59
|
-
}]));
|
|
60
|
-
/* the internal "value" state of the input */
|
|
61
|
-
value = signal([], ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
62
|
-
onDestroy = useOnDestroy();
|
|
63
|
-
injector = inject(Injector);
|
|
64
|
-
formControlStatus = signal(undefined, ...(ngDevMode ? [{ debugName: "formControlStatus" }] : []));
|
|
65
|
-
formSubmitted = signal(false, ...(ngDevMode ? [{ debugName: "formSubmitted" }] : []));
|
|
66
|
-
formControlContext = initInputFormControl();
|
|
67
|
-
/**
|
|
68
|
-
* If the component is bound to an Angular AbstractControl, its state wins.
|
|
69
|
-
* If not, fall back to the host attribute.
|
|
70
|
-
*/
|
|
71
|
-
isDisabled = linkedSignal(() => {
|
|
72
|
-
/**
|
|
73
|
-
* When the component is bound to any AbstractControl, status is guaranteed to
|
|
74
|
-
* be non-undefined.
|
|
75
|
-
*/
|
|
76
|
-
const status = this.formControlStatus();
|
|
77
|
-
const disabled = this.disabled();
|
|
78
|
-
if (status !== undefined) {
|
|
79
|
-
return status === "DISABLED";
|
|
80
|
-
}
|
|
81
|
-
return !!disabled;
|
|
82
|
-
}, ...(ngDevMode ? [{ debugName: "isDisabled" }] : []));
|
|
83
|
-
isInvalid = computed(() => {
|
|
84
|
-
const formEventData = this.formControlContext.formEventData();
|
|
85
|
-
this.formSubmitted();
|
|
86
|
-
const isInvalidDefined = defined(this.invalid());
|
|
87
|
-
const invalidProp = this.invalid() || false;
|
|
88
|
-
if (!this.control) {
|
|
89
|
-
return invalidProp;
|
|
90
|
-
}
|
|
91
|
-
let invalid, touched, dirty;
|
|
92
|
-
if (this.formControlContext.isTemplateDrivenForm()) {
|
|
93
|
-
invalid = isInvalidDefined ? invalidProp : this.control.invalid;
|
|
94
|
-
touched = this.control.touched;
|
|
95
|
-
dirty = this.control.dirty;
|
|
96
|
-
}
|
|
97
|
-
else if (formEventData) {
|
|
98
|
-
invalid = formEventData.invalid;
|
|
99
|
-
touched = formEventData.touched;
|
|
100
|
-
dirty = formEventData.dirty;
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
return invalidProp;
|
|
104
|
-
}
|
|
105
|
-
switch (this.control.updateOn) {
|
|
106
|
-
case "submit":
|
|
107
|
-
return invalid;
|
|
108
|
-
case "blur":
|
|
109
|
-
return invalid && touched;
|
|
110
|
-
default:
|
|
111
|
-
// "change"
|
|
112
|
-
return dirty && invalid;
|
|
113
|
-
}
|
|
114
|
-
}, ...(ngDevMode ? [{ debugName: "isInvalid" }] : []));
|
|
115
|
-
isRequired = linkedSignal(() => {
|
|
116
|
-
const control = this.control;
|
|
117
|
-
const required = this.required();
|
|
118
|
-
if (!control || !this.formControlContext.isReactiveForm()) {
|
|
119
|
-
return required;
|
|
120
|
-
}
|
|
121
|
-
if (typeof control.hasValidator === "function") {
|
|
122
|
-
return (control.hasValidator(Validators.required) ||
|
|
123
|
-
control.hasValidator(Validators.requiredTrue));
|
|
124
|
-
}
|
|
125
|
-
return false;
|
|
126
|
-
}, ...(ngDevMode ? [{ debugName: "isRequired" }] : []));
|
|
127
|
-
constructor() {
|
|
128
|
-
if (this.formControlContext.ngControl) {
|
|
129
|
-
this.formControlContext.ngControl.valueAccessor = this;
|
|
130
|
-
this.value.set(this.formControlContext.ngControl.control?.value || []);
|
|
131
|
-
}
|
|
132
|
-
afterNextRender(() => {
|
|
133
|
-
if (isDefined(this.required()) &&
|
|
134
|
-
this.formControlContext.isReactiveForm() &&
|
|
135
|
-
isDevMode()) {
|
|
136
|
-
console.warn("The required attribute is not supported on reactive forms. Use Validators instead. https://angular.dev/guide/forms/form-validation#validating-input-in-reactive-forms");
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
effect(() => {
|
|
140
|
-
const required = this.required();
|
|
141
|
-
const isRequired = this.isRequired();
|
|
142
|
-
if (!this.control) {
|
|
143
|
-
return;
|
|
144
|
-
}
|
|
145
|
-
if (this.formControlContext.isTemplateDrivenForm()) {
|
|
146
|
-
if (required) {
|
|
147
|
-
this.control.addValidators([
|
|
148
|
-
Validators.required,
|
|
149
|
-
Validators.minLength(1),
|
|
150
|
-
]);
|
|
151
|
-
}
|
|
152
|
-
else if (this.control.hasValidator(Validators.required) &&
|
|
153
|
-
this.control.hasValidator(Validators.minLength(1))) {
|
|
154
|
-
this.control.removeValidators([
|
|
155
|
-
Validators.required,
|
|
156
|
-
Validators.minLength(1),
|
|
157
|
-
]);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
else if (isRequired) {
|
|
161
|
-
this.control.addValidators(Validators.minLength(1));
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
ngOnInit() {
|
|
166
|
-
// Ensure the form control receives the initial value
|
|
167
|
-
const defaultValue = this.defaultValue();
|
|
168
|
-
if (!this.control) {
|
|
169
|
-
if (defaultValue) {
|
|
170
|
-
this.value.set(defaultValue);
|
|
171
|
-
}
|
|
172
|
-
return;
|
|
173
|
-
}
|
|
174
|
-
const subscription = this.control.statusChanges.subscribe((status) => {
|
|
175
|
-
this.formControlStatus.set(status);
|
|
176
|
-
});
|
|
177
|
-
this.onDestroy(() => {
|
|
178
|
-
subscription.unsubscribe();
|
|
179
|
-
});
|
|
180
|
-
const parent = this.getParentForm();
|
|
181
|
-
runInInjectionContext(this.injector, () => {
|
|
182
|
-
if (this.control) {
|
|
183
|
-
const formSignal = allEventsSignal(this.control);
|
|
184
|
-
effect(() => {
|
|
185
|
-
this.formControlContext.formEventData.set(formSignal());
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
if (parent) {
|
|
189
|
-
let prevPristine = this.control?.pristine || false;
|
|
190
|
-
parent.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {
|
|
191
|
-
if (event instanceof PristineChangeEvent) {
|
|
192
|
-
if (event.pristine && !prevPristine) {
|
|
193
|
-
// if this event fires with pristine status and the control was
|
|
194
|
-
// previously not pristine, this means that the form was reset. There
|
|
195
|
-
// isn't another way to determine form resets programmatically,
|
|
196
|
-
// unfortunately.
|
|
197
|
-
this.formSubmitted.set(false);
|
|
198
|
-
}
|
|
199
|
-
prevPristine = event.pristine;
|
|
200
|
-
}
|
|
201
|
-
else if (event instanceof FormSubmittedEvent) {
|
|
202
|
-
this.formSubmitted.set(true);
|
|
203
|
-
this.control?.markAsDirty();
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
parent.ngSubmit.pipe(takeUntilDestroyed()).subscribe(() => {
|
|
207
|
-
if (this.formControlContext.isReactiveForm()) {
|
|
208
|
-
// already accounted for in the above event subscription.
|
|
209
|
-
return;
|
|
210
|
-
}
|
|
211
|
-
this.formSubmitted.set(true);
|
|
212
|
-
this.control?.markAsDirty();
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
});
|
|
216
|
-
}
|
|
217
|
-
/** Convenience access to the underlying AbstractControl (can be null). */
|
|
218
|
-
get control() {
|
|
219
|
-
return this.formControlContext.ngControl?.control ?? null;
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Used to subscribe to form submit events.
|
|
223
|
-
*/
|
|
224
|
-
getParentForm() {
|
|
225
|
-
if (!this.control) {
|
|
226
|
-
return null;
|
|
227
|
-
}
|
|
228
|
-
// Try to find NgForm first
|
|
229
|
-
try {
|
|
230
|
-
const ngForm = this.injector.get(NgForm, null);
|
|
231
|
-
if (ngForm) {
|
|
232
|
-
return ngForm;
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
catch { }
|
|
236
|
-
// Fall back to FormGroupDirective
|
|
237
|
-
try {
|
|
238
|
-
const formGroupDirective = this.injector.get(FormGroupDirective, null);
|
|
239
|
-
if (formGroupDirective) {
|
|
240
|
-
return formGroupDirective;
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
catch { }
|
|
244
|
-
return null;
|
|
245
|
-
}
|
|
246
|
-
/*
|
|
247
|
-
* Control value accessor methods
|
|
248
|
-
*/
|
|
249
|
-
writeValue(value) {
|
|
250
|
-
this.value.set(value ?? []);
|
|
251
|
-
}
|
|
252
|
-
// placeholder
|
|
253
|
-
onChange = (_value) => { };
|
|
254
|
-
registerOnChange(fn) {
|
|
255
|
-
this.onChange = (_value) => {
|
|
256
|
-
fn(_value);
|
|
257
|
-
this.value.set(_value ?? []);
|
|
258
|
-
};
|
|
259
|
-
}
|
|
260
|
-
onTouched = () => { };
|
|
261
|
-
registerOnTouched(fn) {
|
|
262
|
-
this.onTouched = fn;
|
|
263
|
-
}
|
|
264
|
-
/**
|
|
265
|
-
* NgModel never calls setDisabledState, but ReactiveForms does. Everything else
|
|
266
|
-
* (writeValue, registerOnChange, registerOnTouched) is identical between Reactive
|
|
267
|
-
* and Template forms.
|
|
268
|
-
*/
|
|
269
|
-
setDisabledState(isDisabled) {
|
|
270
|
-
this.isDisabled.set(isDisabled);
|
|
271
|
-
}
|
|
272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AbstractListCollectionFormControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
273
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: AbstractListCollectionFormControlDirective, isStandalone: true, inputs: { collection: { classPropertyName: "collection", publicName: "collection", isSignal: true, isRequired: true, transformFunction: null }, defaultValue: { classPropertyName: "defaultValue", publicName: "defaultValue", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, invalid: { classPropertyName: "invalid", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
274
|
-
}
|
|
275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: AbstractListCollectionFormControlDirective, decorators: [{
|
|
276
|
-
type: Directive
|
|
277
|
-
}], ctorParameters: () => [], propDecorators: { collection: [{ type: i0.Input, args: [{ isSignal: true, alias: "collection", required: true }] }], defaultValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultValue", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], invalid: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }] } });
|
|
278
|
-
//# sourceMappingURL=abstract-list-collection-form-control.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abstract-list-collection-form-control.directive.js","sourceRoot":"","sources":["../../../src/input/abstract-list-collection-form-control.directive.ts"],"names":[],"mappings":"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","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n afterNextRender,\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n Injector,\n input,\n isDevMode,\n linkedSignal,\n type OnInit,\n runInInjectionContext,\n signal,\n} from \"@angular/core\"\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\"\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n type FormControlStatus,\n FormGroupDirective,\n FormSubmittedEvent,\n NgForm,\n PristineChangeEvent,\n Validators,\n} from \"@angular/forms\"\n\nimport {useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {allEventsSignal} from \"@qualcomm-ui/angular-core/forms\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport {\n type CollectionItem,\n ListCollection,\n} from \"@qualcomm-ui/utils/collection\"\nimport {defined, isDefined} from \"@qualcomm-ui/utils/guard\"\n\nimport {initInputFormControl} from \"./input-form-control-provider\"\n\n@Directive()\nexport abstract class AbstractListCollectionFormControlDirective<\n T extends CollectionItem,\n >\n implements ControlValueAccessor, OnInit\n{\n /**\n * The item collection\n *\n * @inheritDoc\n */\n readonly collection = input.required<ListCollection<T>>()\n\n /**\n * The initial state of the input when rendered. Use when you don't need to\n * control the checked state of the input. This property will be ignored if you\n * opt into controlled state via form control bindings.\n *\n * @inheritDoc\n */\n readonly defaultValue = input<T[] | undefined>(undefined)\n\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls the visual error state of the input. When true, applies semantic error\n * styling to indicate validation failure.\n */\n readonly invalid = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The name of the input field. Useful for form submission.\n */\n readonly name = input<string | undefined>()\n\n /**\n * Whether the input is read-only. When true, prevents user interaction while\n * keeping the input focusable and visible.\n */\n readonly readOnly = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is required in template-driven forms. When\n * true, the input must have a value for form validation to pass.\n */\n readonly required = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /* the internal \"value\" state of the input */\n protected readonly value = signal<T[]>([])\n protected readonly onDestroy = useOnDestroy()\n protected readonly injector = inject(Injector)\n protected readonly formControlStatus = signal<FormControlStatus | undefined>(\n undefined,\n )\n protected readonly formSubmitted = signal(false)\n\n readonly formControlContext = initInputFormControl<T[]>()\n\n /**\n * If the component is bound to an Angular AbstractControl, its state wins.\n * If not, fall back to the host attribute.\n */\n protected readonly isDisabled = linkedSignal(() => {\n /**\n * When the component is bound to any AbstractControl, status is guaranteed to\n * be non-undefined.\n */\n const status = this.formControlStatus()\n const disabled = this.disabled()\n if (status !== undefined) {\n return status === \"DISABLED\"\n }\n\n return !!disabled\n })\n\n readonly isInvalid = computed(() => {\n const formEventData = this.formControlContext.formEventData()\n this.formSubmitted()\n const isInvalidDefined = defined(this.invalid())\n const invalidProp = this.invalid() || false\n if (!this.control) {\n return invalidProp\n }\n\n let invalid, touched, dirty\n\n if (this.formControlContext.isTemplateDrivenForm()) {\n invalid = isInvalidDefined ? invalidProp : this.control.invalid\n touched = this.control.touched\n dirty = this.control.dirty\n } else if (formEventData) {\n invalid = formEventData.invalid\n touched = formEventData.touched\n dirty = formEventData.dirty\n } else {\n return invalidProp\n }\n\n switch (this.control.updateOn) {\n case \"submit\":\n return invalid\n case \"blur\":\n return invalid && touched\n default:\n // \"change\"\n return dirty && invalid\n }\n })\n\n readonly isRequired = linkedSignal(() => {\n const control = this.control\n const required = this.required()\n if (!control || !this.formControlContext.isReactiveForm()) {\n return required\n }\n\n if (typeof control.hasValidator === \"function\") {\n return (\n control.hasValidator(Validators.required) ||\n control.hasValidator(Validators.requiredTrue)\n )\n }\n return false\n })\n\n constructor() {\n if (this.formControlContext.ngControl) {\n this.formControlContext.ngControl.valueAccessor = this\n this.value.set(this.formControlContext.ngControl.control?.value || [])\n }\n\n afterNextRender(() => {\n if (\n isDefined(this.required()) &&\n this.formControlContext.isReactiveForm() &&\n isDevMode()\n ) {\n console.warn(\n \"The required attribute is not supported on reactive forms. Use Validators instead. https://angular.dev/guide/forms/form-validation#validating-input-in-reactive-forms\",\n )\n }\n })\n\n effect(() => {\n const required = this.required()\n const isRequired = this.isRequired()\n if (!this.control) {\n return\n }\n if (this.formControlContext.isTemplateDrivenForm()) {\n if (required) {\n this.control.addValidators([\n Validators.required,\n Validators.minLength(1),\n ])\n } else if (\n this.control.hasValidator(Validators.required) &&\n this.control.hasValidator(Validators.minLength(1))\n ) {\n this.control.removeValidators([\n Validators.required,\n Validators.minLength(1),\n ])\n }\n } else if (isRequired) {\n this.control.addValidators(Validators.minLength(1))\n }\n })\n }\n\n ngOnInit() {\n // Ensure the form control receives the initial value\n const defaultValue = this.defaultValue()\n if (!this.control) {\n if (defaultValue) {\n this.value.set(defaultValue)\n }\n return\n }\n\n const subscription = this.control.statusChanges.subscribe((status) => {\n this.formControlStatus.set(status)\n })\n this.onDestroy(() => {\n subscription.unsubscribe()\n })\n\n const parent = this.getParentForm()\n\n runInInjectionContext(this.injector, () => {\n if (this.control) {\n const formSignal = allEventsSignal<T[] | undefined>(this.control)\n effect(() => {\n this.formControlContext.formEventData.set(formSignal())\n })\n }\n\n if (parent) {\n let prevPristine = this.control?.pristine || false\n parent.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {\n if (event instanceof PristineChangeEvent) {\n if (event.pristine && !prevPristine) {\n // if this event fires with pristine status and the control was\n // previously not pristine, this means that the form was reset. There\n // isn't another way to determine form resets programmatically,\n // unfortunately.\n this.formSubmitted.set(false)\n }\n prevPristine = event.pristine\n } else if (event instanceof FormSubmittedEvent) {\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n }\n })\n parent.ngSubmit.pipe(takeUntilDestroyed()).subscribe(() => {\n if (this.formControlContext.isReactiveForm()) {\n // already accounted for in the above event subscription.\n return\n }\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n })\n }\n })\n }\n\n /** Convenience access to the underlying AbstractControl (can be null). */\n get control(): AbstractControl | null {\n return this.formControlContext.ngControl?.control ?? null\n }\n\n /**\n * Used to subscribe to form submit events.\n */\n private getParentForm(): NgForm | FormGroupDirective | null {\n if (!this.control) {\n return null\n }\n\n // Try to find NgForm first\n try {\n const ngForm = this.injector.get(NgForm, null)\n if (ngForm) {\n return ngForm\n }\n } catch {}\n\n // Fall back to FormGroupDirective\n try {\n const formGroupDirective = this.injector.get(FormGroupDirective, null)\n if (formGroupDirective) {\n return formGroupDirective\n }\n } catch {}\n\n return null\n }\n\n /*\n * Control value accessor methods\n */\n writeValue(value: any): void {\n this.value.set(value ?? [])\n }\n\n // placeholder\n protected onChange = (_value: any) => {}\n\n registerOnChange(fn: (value: any) => void): void {\n this.onChange = (_value) => {\n fn(_value)\n this.value.set(_value ?? [])\n }\n }\n\n protected onTouched = () => {}\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n /**\n * NgModel never calls setDisabledState, but ReactiveForms does. Everything else\n * (writeValue, registerOnChange, registerOnTouched) is identical between Reactive\n * and Template forms.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled.set(isDisabled)\n }\n}\n"]}
|
package/esm2022/input/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/input/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAA;AACvD,cAAc,mDAAmD,CAAA;AACjE,cAAc,+BAA+B,CAAA","sourcesContent":["export * from \"./abstract-input-form-control.directive\"\nexport * from \"./abstract-list-collection-form-control.directive\"\nexport * from \"./input-form-control-provider\"\n"]}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, inject, InjectionToken, signal, } from "@angular/core";
|
|
4
|
-
import { NgControl, NgModel } from "@angular/forms";
|
|
5
|
-
const defaultErrors = {
|
|
6
|
-
email: () => "Invalid email",
|
|
7
|
-
max: (err) => `Max: ${err.max}`,
|
|
8
|
-
maxLength: (err) => `Max length: ${err.maxLength}`,
|
|
9
|
-
min: (err) => `Min: ${err.min}`,
|
|
10
|
-
minLength: (err) => `Min length: ${err.requiredLength}`,
|
|
11
|
-
pattern: () => "Invalid format",
|
|
12
|
-
required: () => "This field is required",
|
|
13
|
-
requiredTrue: () => "Required",
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* Override the default error messages for known form control errors.
|
|
17
|
-
*
|
|
18
|
-
* The defaults are as follows:
|
|
19
|
-
* ```angular-html
|
|
20
|
-
* const defaultKnownErrors: FormControlKnownErrors = {
|
|
21
|
-
* email: () => "Invalid email",
|
|
22
|
-
* max: (err) => `Max: ${err.max}`,
|
|
23
|
-
* maxLength: (err) => `Max length: ${err.maxLength}`,
|
|
24
|
-
* min: (err) => `Min: ${err.min}`,
|
|
25
|
-
* minLength: (err) => `Min length: ${err.requiredLength}`,
|
|
26
|
-
* pattern: () => "Invalid format",
|
|
27
|
-
* required: () => "This field is required",
|
|
28
|
-
* requiredTrue: () => "This field is required",
|
|
29
|
-
* }
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export const FORM_CONTROL_ERROR_MESSAGE_PROVIDER = new InjectionToken("FormControlErrorProvider");
|
|
33
|
-
export const INPUT_FORM_CONTROL_CONTEXT = new InjectionToken("InputFormControl");
|
|
34
|
-
export function initInputFormControl() {
|
|
35
|
-
const ngControl = inject(NgControl, {
|
|
36
|
-
optional: true,
|
|
37
|
-
self: true,
|
|
38
|
-
});
|
|
39
|
-
const knownErrors = {
|
|
40
|
-
...defaultErrors,
|
|
41
|
-
...(inject(FORM_CONTROL_ERROR_MESSAGE_PROVIDER, { optional: true }) ?? {}),
|
|
42
|
-
};
|
|
43
|
-
const formEventData = signal(null, ...(ngDevMode ? [{ debugName: "formEventData" }] : []));
|
|
44
|
-
function isTemplateDrivenForm() {
|
|
45
|
-
return ngControl instanceof NgModel;
|
|
46
|
-
}
|
|
47
|
-
function isReactiveForm() {
|
|
48
|
-
// Any NgControl that is *not* NgModel belongs to the reactive-forms package
|
|
49
|
-
return !!ngControl && !isTemplateDrivenForm();
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
control: ngControl?.control ?? null,
|
|
53
|
-
errorText: computed(() => {
|
|
54
|
-
// make this reactive so that the error message is updated when the form state
|
|
55
|
-
// changes.
|
|
56
|
-
formEventData();
|
|
57
|
-
const errors = ngControl?.control?.errors ?? {};
|
|
58
|
-
const [errorKey, errorValue] = Object.entries(errors)[0] ?? [];
|
|
59
|
-
if (errorKey && knownErrors[errorKey]) {
|
|
60
|
-
return knownErrors[errorKey](errorValue);
|
|
61
|
-
}
|
|
62
|
-
return errors["errorText"] ?? errors["error"] ?? null;
|
|
63
|
-
}),
|
|
64
|
-
formEventData,
|
|
65
|
-
isReactiveForm,
|
|
66
|
-
isTemplateDrivenForm,
|
|
67
|
-
ngControl,
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=input-form-control-provider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input-form-control-provider.js","sourceRoot":"","sources":["../../../src/input/input-form-control-provider.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,QAAQ,EACR,MAAM,EACN,cAAc,EAEd,MAAM,GAEP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,SAAS,EAAE,OAAO,EAAC,MAAM,gBAAgB,CAAA;AAuBjD,MAAM,aAAa,GAA2B;IAC5C,KAAK,EAAE,GAAG,EAAE,CAAC,eAAe;IAC5B,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,GAAG,CAAC,GAAG,EAAE;IAC/B,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,eAAe,GAAG,CAAC,SAAS,EAAE;IAClD,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,QAAQ,GAAG,CAAC,GAAG,EAAE;IAC/B,SAAS,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,eAAe,GAAG,CAAC,cAAc,EAAE;IACvD,OAAO,EAAE,GAAG,EAAE,CAAC,gBAAgB;IAC/B,QAAQ,EAAE,GAAG,EAAE,CAAC,wBAAwB;IACxC,YAAY,EAAE,GAAG,EAAE,CAAC,UAAU;CAC/B,CAAA;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,IAAI,cAAc,CAEnE,0BAA0B,CAAC,CAAA;AAE7B,MAAM,CAAC,MAAM,0BAA0B,GAAG,IAAI,cAAc,CAE1D,kBAAkB,CAAC,CAAA;AAErB,MAAM,UAAU,oBAAoB;IAClC,MAAM,SAAS,GAAqB,MAAM,CAAC,SAAS,EAAE;QACpD,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;KACX,CAAC,CAAA;IAEF,MAAM,WAAW,GAA2B;QAC1C,GAAG,aAAa;QAChB,GAAG,CAAC,MAAM,CAAC,mCAAmC,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,IAAI,EAAE,CAAC;KACzE,CAAA;IAED,MAAM,aAAa,GAAG,MAAM,CAAsC,IAAI,yDAAC,CAAA;IAEvE,SAAS,oBAAoB;QAC3B,OAAO,SAAS,YAAY,OAAO,CAAA;IACrC,CAAC;IAED,SAAS,cAAc;QACrB,4EAA4E;QAC5E,OAAO,CAAC,CAAC,SAAS,IAAI,CAAC,oBAAoB,EAAE,CAAA;IAC/C,CAAC;IAED,OAAO;QACL,OAAO,EAAE,SAAS,EAAE,OAAO,IAAI,IAAI;QACnC,SAAS,EAAE,QAAQ,CAAC,GAAG,EAAE;YACvB,8EAA8E;YAC9E,WAAW;YACX,aAAa,EAAE,CAAA;YACf,MAAM,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,IAAI,EAAE,CAAA;YAC/C,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;YAC9D,IAAI,QAAQ,IAAI,WAAW,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACtC,OAAO,WAAW,CAAC,QAAQ,CAAC,CAAC,UAAU,CAAC,CAAA;YAC1C,CAAC;YACD,OAAO,MAAM,CAAC,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,CAAA;QACvD,CAAC,CAAC;QACF,aAAa;QACb,cAAc;QACd,oBAAoB;QACpB,SAAS;KACV,CAAA;AACH,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n inject,\n InjectionToken,\n type Signal,\n signal,\n type WritableSignal,\n} from \"@angular/core\"\nimport {NgControl, NgModel} from \"@angular/forms\"\n\nimport type {FormEventData} from \"@qualcomm-ui/angular-core/forms\"\n\nexport interface InputFormControlContext<T> {\n control?: NgControl[\"control\"] | null\n /**\n * Computed error message from the underlying control.\n */\n errorText: Signal<string | undefined | null>\n formEventData: WritableSignal<FormEventData<T | undefined> | null>\n /** `true` when used with reactive-forms (`formControl`, `formControlName`). */\n isReactiveForm: () => boolean\n /** `true` when used with template-driven forms (`[(ngModel)]`, `ngModel`). */\n isTemplateDrivenForm: () => boolean\n ngControl: NgControl | null\n}\n\nexport type FormControlKnownErrors = Record<\n string,\n ((error: any) => string) | undefined\n>\n\nconst defaultErrors: FormControlKnownErrors = {\n email: () => \"Invalid email\",\n max: (err) => `Max: ${err.max}`,\n maxLength: (err) => `Max length: ${err.maxLength}`,\n min: (err) => `Min: ${err.min}`,\n minLength: (err) => `Min length: ${err.requiredLength}`,\n pattern: () => \"Invalid format\",\n required: () => \"This field is required\",\n requiredTrue: () => \"Required\",\n}\n\n/**\n * Override the default error messages for known form control errors.\n *\n * The defaults are as follows:\n * ```angular-html\n * const defaultKnownErrors: FormControlKnownErrors = {\n * email: () => \"Invalid email\",\n * max: (err) => `Max: ${err.max}`,\n * maxLength: (err) => `Max length: ${err.maxLength}`,\n * min: (err) => `Min: ${err.min}`,\n * minLength: (err) => `Min length: ${err.requiredLength}`,\n * pattern: () => \"Invalid format\",\n * required: () => \"This field is required\",\n * requiredTrue: () => \"This field is required\",\n * }\n * ```\n */\nexport const FORM_CONTROL_ERROR_MESSAGE_PROVIDER = new InjectionToken<\n Partial<FormControlKnownErrors>\n>(\"FormControlErrorProvider\")\n\nexport const INPUT_FORM_CONTROL_CONTEXT = new InjectionToken<\n InputFormControlContext<any>\n>(\"InputFormControl\")\n\nexport function initInputFormControl<T = string>(): InputFormControlContext<T> {\n const ngControl: NgControl | null = inject(NgControl, {\n optional: true,\n self: true,\n })\n\n const knownErrors: FormControlKnownErrors = {\n ...defaultErrors,\n ...(inject(FORM_CONTROL_ERROR_MESSAGE_PROVIDER, {optional: true}) ?? {}),\n }\n\n const formEventData = signal<FormEventData<T | undefined> | null>(null)\n\n function isTemplateDrivenForm(): boolean {\n return ngControl instanceof NgModel\n }\n\n function isReactiveForm(): boolean {\n // Any NgControl that is *not* NgModel belongs to the reactive-forms package\n return !!ngControl && !isTemplateDrivenForm()\n }\n\n return {\n control: ngControl?.control ?? null,\n errorText: computed(() => {\n // make this reactive so that the error message is updated when the form state\n // changes.\n formEventData()\n const errors = ngControl?.control?.errors ?? {}\n const [errorKey, errorValue] = Object.entries(errors)[0] ?? []\n if (errorKey && knownErrors[errorKey]) {\n return knownErrors[errorKey](errorValue)\n }\n return errors[\"errorText\"] ?? errors[\"error\"] ?? null\n }),\n formEventData,\n isReactiveForm,\n isTemplateDrivenForm,\n ngControl,\n }\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-input.js","sourceRoot":"","sources":["../../../src/input/qualcomm-ui-angular-core-input.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
package/esm2022/locale/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/locale/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,cAAc,CAAA","sourcesContent":["export * from \"./locale-context.service\"\nexport * from \"./use-filter\"\n"]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { Injectable } from "@angular/core";
|
|
4
|
-
import { BaseApiContextService, createApiContext, } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class LocaleContextService extends BaseApiContextService {
|
|
7
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: LocaleContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
8
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: LocaleContextService });
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: LocaleContextService, decorators: [{
|
|
11
|
-
type: Injectable
|
|
12
|
-
}] });
|
|
13
|
-
export const [LOCALE_CONTEXT, useLocaleContext, provideLocaleContext,] = createApiContext("LocaleContext", LocaleContextService, { dir: "ltr", locale: "en-US" });
|
|
14
|
-
//# sourceMappingURL=locale-context.service.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"locale-context.service.js","sourceRoot":"","sources":["../../../src/locale/locale-context.service.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAA;AAExC,OAAO,EAEL,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;;AAI1C,MAAM,OAAO,oBAAqB,SAAQ,qBAA6B;wGAA1D,oBAAoB;4GAApB,oBAAoB;;4FAApB,oBAAoB;kBADhC,UAAU;;AAGX,MAAM,CAAC,MAAM,CACX,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACrB,GAAuB,gBAAgB,CACtC,eAAe,EACf,oBAAoB,EACpB,EAAC,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,CAC9B,CAAA","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {Locale} from \"@qualcomm-ui/utils/direction\"\n\n@Injectable()\nexport class LocaleContextService extends BaseApiContextService<Locale> {}\n\nexport const [\n LOCALE_CONTEXT,\n useLocaleContext,\n provideLocaleContext,\n]: ApiContext<Locale> = createApiContext<Locale>(\n \"LocaleContext\",\n LocaleContextService,\n {dir: \"ltr\", locale: \"en-US\"},\n)\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-locale.js","sourceRoot":"","sources":["../../../src/locale/qualcomm-ui-angular-core-locale.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { computed, inject } from "@angular/core";
|
|
4
|
-
import { createFilter, } from "@qualcomm-ui/utils/i18n";
|
|
5
|
-
import { LocaleContextService } from "./locale-context.service";
|
|
6
|
-
export function useFilter(props) {
|
|
7
|
-
const env = inject(LocaleContextService, { optional: true });
|
|
8
|
-
return computed(() => {
|
|
9
|
-
const localeContext = env?.context?.();
|
|
10
|
-
return createFilter({
|
|
11
|
-
...props,
|
|
12
|
-
locale: props.locale ?? localeContext?.locale ?? "en-US",
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=use-filter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-filter.js","sourceRoot":"","sources":["../../../src/locale/use-filter.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAc,MAAM,eAAe,CAAA;AAE3D,OAAO,EACL,YAAY,GAGb,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAC,oBAAoB,EAAC,MAAM,0BAA0B,CAAA;AAK7D,MAAM,UAAU,SAAS,CAAC,KAAqB;IAC7C,MAAM,GAAG,GAAG,MAAM,CAAC,oBAAoB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAA;IAC1D,OAAO,QAAQ,CAAC,GAAG,EAAE;QACnB,MAAM,aAAa,GAAG,GAAG,EAAE,OAAO,EAAE,EAAE,CAAA;QACtC,OAAO,YAAY,CAAC;YAClB,GAAG,KAAK;YACR,MAAM,EAAE,KAAK,CAAC,MAAM,IAAI,aAAa,EAAE,MAAM,IAAI,OAAO;SACzD,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, inject, type Signal} from \"@angular/core\"\n\nimport {\n createFilter,\n type FilterOptions,\n type FilterReturn,\n} from \"@qualcomm-ui/utils/i18n\"\n\nimport {LocaleContextService} from \"./locale-context.service\"\n\nexport interface UseFilterProps extends FilterOptions {}\nexport interface UseFilterReturn extends FilterReturn {}\n\nexport function useFilter(props: UseFilterProps): Signal<UseFilterReturn> {\n const env = inject(LocaleContextService, {optional: true})\n return computed(() => {\n const localeContext = env?.context?.()\n return createFilter({\n ...props,\n locale: props.locale ?? localeContext?.locale ?? \"en-US\",\n })\n })\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lorem-ipsum/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA","sourcesContent":["export * from \"./lorem-ipsum.directive\"\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lorem-ipsum.directive.js","sourceRoot":"","sources":["../../../src/lorem-ipsum/lorem-ipsum.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,gBAAgB,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAE1E,OAAO,EAAC,0BAA0B,EAAC,MAAM,sCAAsC,CAAA;AAE/E,OAAO,EACL,UAAU,GAEX,MAAM,gCAAgC,CAAA;;AAUvC,MAAM,OAAO,mBAAmB;IAC9B;;;;;OAKG;IACM,wBAAwB,GAAG,KAAK,CACvC,SAAS,4DAEP,SAAS,EAAE,0BAA0B,OADvC;YACE,SAAS,EAAE,0BAA0B;SACtC,GACF,CAAA;IAED;;;;;OAKG;IACM,mBAAmB,GAAG,KAAK,CAClC,SAAS,uDAEP,SAAS,EAAE,0BAA0B,OADvC;YACE,SAAS,EAAE,0BAA0B;SACtC,GACF,CAAA;IAED;;OAEG;IACM,aAAa,GAAG,KAAK,CAAkC,SAAS,iDACvE,SAAS,EAAE,0BAA0B,OADoC;YACzE,SAAS,EAAE,0BAA0B;SACtC,GAAC,CAAA;IAEF;;;;OAIG;IACM,MAAM,GAAG,KAAK,CAAkC,SAAS,0CAChE,SAAS,EAAE,gBAAgB,OADuC;YAClE,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEF;;OAEG;IACM,IAAI,GAAG,KAAK,CAAkC,SAAS,wCAC9D,SAAS,EAAE,0BAA0B,OAD2B;YAChE,SAAS,EAAE,0BAA0B;SACtC,GAAC,CAAA;IAEF;;;;OAIG;IACM,mBAAmB,GAAG,KAAK,CAClC,SAAS,uDAEP,SAAS,EAAE,gBAAgB,OAD7B;YACE,SAAS,EAAE,gBAAgB;SAC5B,GACF,CAAA;IAEQ,iBAAiB,GAAG,QAAQ,CAAoB,GAAG,EAAE;QAC5D,OAAO;YACL,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EAAE;YACzD,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAAE;YAC/C,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE;YACnC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;YACjB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAAE;SAChD,CAAA;IACH,CAAC,6DAAC,CAAA;IAEO,UAAU,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,sDAAC,CAAA;wGAzE/D,mBAAmB;4FAAnB,mBAAmB,48BANpB;;;;GAIT;;4FAEU,mBAAmB;kBAR/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,QAAQ,EAAE;;;;GAIT;iBACF","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {booleanAttribute, Component, computed, input} from \"@angular/core\"\n\nimport {numberAttributeOrUndefined} from \"@qualcomm-ui/angular-core/attributes\"\nimport type {Booleanish, NumberInput} from \"@qualcomm-ui/utils/coercion\"\nimport {\n loremIpsum,\n type LoremIpsumOptions,\n} from \"@qualcomm-ui/utils/lorem-ipsum\"\n\n@Component({\n selector: \"[q-lorem-ipsum]\",\n template: `\n @for (paragraph of paragraphs(); track $index) {\n <div>{{ paragraph }}</div>\n }\n `,\n})\nexport class LoremIpsumDirective {\n /**\n * Average number of sentences created for each paragraph (standard deviation is\n * fixed ±25%)\n *\n * @default 5\n */\n readonly avgSentencesPerParagraph = input<number | undefined, NumberInput>(\n undefined,\n {\n transform: numberAttributeOrUndefined,\n },\n )\n\n /**\n * Average number of words created for each sentence (standard deviation is fixed\n * ±25%)\n *\n * @default 8\n */\n readonly avgWordsPerSentence = input<number | undefined, NumberInput>(\n undefined,\n {\n transform: numberAttributeOrUndefined,\n },\n )\n\n /**\n * @default 1\n */\n readonly numParagraphs = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * If `false`, always generates the same paragraphs in order.\n *\n * @default false\n */\n readonly random = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Seed for deterministic random generation. If not provided, uses Math.random()\n */\n readonly seed = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * Start with 'Lorem ipsum odor amet...' to first sentence of first paragraph\n *\n * @default true\n */\n readonly startWithLoremIpsum = input<boolean | undefined, Booleanish>(\n undefined,\n {\n transform: booleanAttribute,\n },\n )\n\n readonly loremIpsumOptions = computed<LoremIpsumOptions>(() => {\n return {\n avgSentencesPerParagraph: this.avgSentencesPerParagraph(),\n avgWordsPerSentence: this.avgWordsPerSentence(),\n numParagraphs: this.numParagraphs(),\n random: this.random(),\n seed: this.seed(),\n startWithLoremIpsum: this.startWithLoremIpsum(),\n }\n })\n\n readonly paragraphs = computed(() => loremIpsum(this.loremIpsumOptions()))\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-lorem-ipsum.js","sourceRoot":"","sources":["../../../src/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
package/esm2022/lucide/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lucide/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA","sourcesContent":["export * from \"./lucide.types\"\nexport * from \"./provide-icons\"\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lucide.types.js","sourceRoot":"","sources":["../../../src/lucide/lucide.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\ntype HtmlAttributes = {\n [key: string]: string | number\n}\ntype LucideIconNode = readonly [string, HtmlAttributes]\ntype LucideIconData = readonly LucideIconNode[]\n\ntype SvgAttributes = {[key: string]: string | number}\n\nexport type LucideIconArrayData = readonly [string, SvgAttributes]\n\n// https://github.com/lucide-icons/lucide/issues/1735\nexport type LucideIconCompat = readonly [\n string,\n SvgAttributes,\n LucideIconNode[]?,\n]\n\nexport type LucideIconPart = LucideIconNode\nexport type LucideIcon = LucideIconData\n\n/**\n * The imported LucideIcon or a string. The string form of the icon works with the\n * provider approach:\n *\n * @example\n * ```ts\n * import {IconDirective} from '@qualcomm-ui/angular/icon'\n * import {provideIcons} from '@qualcomm-ui/angular-core/lucide'\n * import {Search} from 'lucide-angular'\n * ```\n *\n * @Component({\n * imports: [IconDirective],\n * providers: [provideIcons({Search})],\n * template: `\n * <svg qIcon=\"Search\"></svg>\n * `\n * })\n * class ExampleComponent {}\n * ```\n */\nexport type LucideIconOrString = LucideIcon | string\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"provide-icons.js","sourceRoot":"","sources":["../../../src/lucide/provide-icons.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,MAAM,EAAE,cAAc,EAAsB,MAAM,eAAe,CAAA;AAMzE,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,cAAc,CAC5C,cAAc,CACf,CAAA;AAED,MAAM,UAAU,YAAY,CAAC,KAAiC;IAC5D,OAAO;QACL,OAAO,EAAE,YAAY;QACrB,UAAU,EAAE,GAAG,EAAE;YACf,MAAM,MAAM,GAAmC,MAAM,CAAC,YAAY,EAAE;gBAClE,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;aACf,CAAC,CAAA;YACF,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,KAAK,CAAA;YACd,CAAC;YACD,OAAO,EAAC,GAAG,MAAM,EAAE,GAAG,KAAK,EAAC,CAAA;QAC9B,CAAC;KACuB,CAAA;AAC5B,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken, type StaticProvider} from \"@angular/core\"\n\nimport type {LucideIcon} from \"./lucide.types\"\n\nexport type LucideIconProviderValue = Record<string, LucideIcon>\n\nexport const LUCIDE_ICONS = new InjectionToken<LucideIconProviderValue>(\n \"LUCIDE_ICONS\",\n)\n\nexport function provideIcons(icons: Record<string, LucideIcon>) {\n return {\n provide: LUCIDE_ICONS,\n useFactory: () => {\n const parent: LucideIconProviderValue | null = inject(LUCIDE_ICONS, {\n optional: true,\n skipSelf: true,\n })\n if (!parent) {\n return icons\n }\n return {...parent, ...icons}\n },\n } satisfies StaticProvider\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"qualcomm-ui-angular-core-lucide.js","sourceRoot":"","sources":["../../../src/lucide/qualcomm-ui-angular-core-lucide.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
-
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
-
import { Directive, effect, inject, Injector, TemplateRef, ViewContainerRef, } from "@angular/core";
|
|
4
|
-
import { BaseApiContextService } from "./api-context.service";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./api-context.service";
|
|
7
|
-
/**
|
|
8
|
-
* Base directive for creating context-aware directives that render content
|
|
9
|
-
* only when an API context is available.
|
|
10
|
-
*
|
|
11
|
-
* This abstract class provides the core functionality to:
|
|
12
|
-
* 1. Check if a required API context service is available
|
|
13
|
-
* 2. Render the associated template only when the API instance is accessible
|
|
14
|
-
* 3. Provide the API instance to the template as a typed value
|
|
15
|
-
*/
|
|
16
|
-
export class ApiContextDirective {
|
|
17
|
-
templateRef = inject(TemplateRef);
|
|
18
|
-
viewContainerRef = inject(ViewContainerRef);
|
|
19
|
-
injector = inject(Injector);
|
|
20
|
-
constructor(
|
|
21
|
-
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
22
|
-
contextService, contextName) {
|
|
23
|
-
if (!contextService) {
|
|
24
|
-
console.warn(`${contextName} used without a parent context. Template will not render.`);
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
effect(() => {
|
|
28
|
-
this.viewContainerRef.clear();
|
|
29
|
-
const apiInstance = contextService.context();
|
|
30
|
-
if (apiInstance) {
|
|
31
|
-
this.viewContainerRef.createEmbeddedView(this.templateRef, {
|
|
32
|
-
$implicit: apiInstance,
|
|
33
|
-
[contextName]: apiInstance,
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
}, { injector: this.injector });
|
|
37
|
-
}
|
|
38
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ApiContextDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: ApiContextDirective, isStandalone: true, ngImport: i0 });
|
|
40
|
-
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ApiContextDirective, decorators: [{
|
|
42
|
-
type: Directive
|
|
43
|
-
}], ctorParameters: () => [{ type: i1.BaseApiContextService }, { type: undefined }] });
|
|
44
|
-
//# sourceMappingURL=api-context.directive.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api-context.directive.js","sourceRoot":"","sources":["../../../src/machine/api-context.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,WAAW,EACX,gBAAgB,GACjB,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC,qBAAqB,EAAC,MAAM,uBAAuB,CAAA;;;AAE3D;;;;;;;;GAQG;AAEH,MAAM,OAAgB,mBAAmB;IACtB,WAAW,GAAG,MAAM,CAAmB,WAAW,CAAC,CAAA;IACnD,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;IAC3C,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;IAE5C;IACE,yDAAyD;IACzD,cAAwC,EACxC,WAAmB;QAEnB,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,OAAO,CAAC,IAAI,CACV,GAAG,WAAW,2DAA2D,CAC1E,CAAA;YACD,OAAM;QACR,CAAC;QAED,MAAM,CACJ,GAAG,EAAE;YACH,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAA;YAC7B,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA;YAE5C,IAAI,WAAW,EAAE,CAAC;gBAChB,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE;oBACzD,SAAS,EAAE,WAAW;oBACtB,CAAC,WAAW,CAAC,EAAE,WAAW;iBAC3B,CAAC,CAAA;YACJ,CAAC;QACH,CAAC,EACD,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAC1B,CAAA;IACH,CAAC;wGA/BmB,mBAAmB;4FAAnB,mBAAmB;;4FAAnB,mBAAmB;kBADxC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n Directive,\n effect,\n inject,\n Injector,\n TemplateRef,\n ViewContainerRef,\n} from \"@angular/core\"\n\nimport {BaseApiContextService} from \"./api-context.service\"\n\n/**\n * Base directive for creating context-aware directives that render content\n * only when an API context is available.\n *\n * This abstract class provides the core functionality to:\n * 1. Check if a required API context service is available\n * 2. Render the associated template only when the API instance is accessible\n * 3. Provide the API instance to the template as a typed value\n */\n@Directive()\nexport abstract class ApiContextDirective<T extends object> {\n private readonly templateRef = inject<TemplateRef<any>>(TemplateRef)\n private readonly viewContainerRef = inject(ViewContainerRef)\n private readonly injector = inject(Injector)\n\n protected constructor(\n // eslint-disable-next-line @angular-eslint/prefer-inject\n contextService: BaseApiContextService<T>,\n contextName: string,\n ) {\n if (!contextService) {\n console.warn(\n `${contextName} used without a parent context. Template will not render.`,\n )\n return\n }\n\n effect(\n () => {\n this.viewContainerRef.clear()\n const apiInstance = contextService.context()\n\n if (apiInstance) {\n this.viewContainerRef.createEmbeddedView(this.templateRef, {\n $implicit: apiInstance,\n [contextName]: apiInstance,\n })\n }\n },\n {injector: this.injector},\n )\n }\n}\n"]}
|