@qualcomm-ui/angular-core 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion-context.service.d.ts +9 -0
- package/accordion/accordion-context.service.d.ts.map +1 -0
- package/accordion/accordion-item-context.service.d.ts +9 -0
- package/accordion/accordion-item-context.service.d.ts.map +1 -0
- package/accordion/core-accordion-item-content.directive.d.ts +21 -0
- package/accordion/core-accordion-item-content.directive.d.ts.map +1 -0
- package/accordion/core-accordion-item-trigger-indicator.directive.d.ts +11 -0
- package/accordion/core-accordion-item-trigger-indicator.directive.d.ts.map +1 -0
- package/accordion/core-accordion-item-trigger-secondary.directive.d.ts +11 -0
- package/accordion/core-accordion-item-trigger-secondary.directive.d.ts.map +1 -0
- package/accordion/core-accordion-item-trigger-title.directive.d.ts +11 -0
- package/accordion/core-accordion-item-trigger-title.directive.d.ts.map +1 -0
- package/accordion/core-accordion-item-trigger.directive.d.ts +17 -0
- package/accordion/core-accordion-item-trigger.directive.d.ts.map +1 -0
- package/accordion/core-accordion-item.directive.d.ts +23 -0
- package/accordion/core-accordion-item.directive.d.ts.map +1 -0
- package/accordion/core-accordion-root.directive.d.ts +58 -0
- package/accordion/core-accordion-root.directive.d.ts.map +1 -0
- package/accordion/index.d.ts +10 -0
- package/accordion/index.d.ts.map +1 -0
- package/accordion/qualcomm-ui-angular-core-accordion.d.ts +6 -0
- package/accordion/qualcomm-ui-angular-core-accordion.d.ts.map +1 -0
- package/attributes/index.d.ts +3 -0
- package/attributes/index.d.ts.map +1 -0
- package/attributes/number-attributes.d.ts +11 -0
- package/attributes/number-attributes.d.ts.map +1 -0
- package/attributes/pixel-attribute.d.ts +6 -0
- package/attributes/pixel-attribute.d.ts.map +1 -0
- package/attributes/qualcomm-ui-angular-core-attributes.d.ts +6 -0
- package/attributes/qualcomm-ui-angular-core-attributes.d.ts.map +1 -0
- package/avatar/avatar-context.service.d.ts +9 -0
- package/avatar/avatar-context.service.d.ts.map +1 -0
- package/avatar/core-avatar-content.directive.d.ts +20 -0
- package/avatar/core-avatar-content.directive.d.ts.map +1 -0
- package/avatar/core-avatar-image.directive.d.ts +20 -0
- package/avatar/core-avatar-image.directive.d.ts.map +1 -0
- package/avatar/core-avatar-root.directive.d.ts +36 -0
- package/avatar/core-avatar-root.directive.d.ts.map +1 -0
- package/avatar/core-avatar-status.directive.d.ts +20 -0
- package/avatar/core-avatar-status.directive.d.ts.map +1 -0
- package/avatar/index.d.ts +6 -0
- package/avatar/index.d.ts.map +1 -0
- package/avatar/qualcomm-ui-angular-core-avatar.d.ts +6 -0
- package/avatar/qualcomm-ui-angular-core-avatar.d.ts.map +1 -0
- package/checkbox/abstract-checkbox-form-control.directive.d.ts +79 -0
- package/checkbox/abstract-checkbox-form-control.directive.d.ts.map +1 -0
- package/checkbox/checkbox-context.service.d.ts +9 -0
- package/checkbox/checkbox-context.service.d.ts.map +1 -0
- package/checkbox/core-checkbox-control.directive.d.ts +20 -0
- package/checkbox/core-checkbox-control.directive.d.ts.map +1 -0
- package/checkbox/core-checkbox-error-text.directive.d.ts +20 -0
- package/checkbox/core-checkbox-error-text.directive.d.ts.map +1 -0
- package/checkbox/core-checkbox-hidden-input.directive.d.ts +20 -0
- package/checkbox/core-checkbox-hidden-input.directive.d.ts.map +1 -0
- package/checkbox/core-checkbox-indicator.directive.d.ts +13 -0
- package/checkbox/core-checkbox-indicator.directive.d.ts.map +1 -0
- package/checkbox/core-checkbox-label.directive.d.ts +20 -0
- package/checkbox/core-checkbox-label.directive.d.ts.map +1 -0
- package/checkbox/core-checkbox-root.directive.d.ts +48 -0
- package/checkbox/core-checkbox-root.directive.d.ts.map +1 -0
- package/checkbox/index.d.ts +10 -0
- package/checkbox/index.d.ts.map +1 -0
- package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts +6 -0
- package/checkbox/qualcomm-ui-angular-core-checkbox.d.ts.map +1 -0
- package/checkbox/use-checkbox-group.d.ts +32 -0
- package/checkbox/use-checkbox-group.d.ts.map +1 -0
- package/collapsible/collapsible-context.service.d.ts +9 -0
- package/collapsible/collapsible-context.service.d.ts.map +1 -0
- package/collapsible/core-collapsible-content.directive.d.ts +20 -0
- package/collapsible/core-collapsible-content.directive.d.ts.map +1 -0
- package/collapsible/core-collapsible-root.directive.d.ts +52 -0
- package/collapsible/core-collapsible-root.directive.d.ts.map +1 -0
- package/collapsible/core-collapsible-trigger.directive.d.ts +20 -0
- package/collapsible/core-collapsible-trigger.directive.d.ts.map +1 -0
- package/collapsible/index.d.ts +5 -0
- package/collapsible/index.d.ts.map +1 -0
- package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts +6 -0
- package/collapsible/qualcomm-ui-angular-core-collapsible.d.ts.map +1 -0
- package/collection/index.d.ts +2 -0
- package/collection/index.d.ts.map +1 -0
- package/collection/qualcomm-ui-angular-core-collection.d.ts +6 -0
- package/collection/qualcomm-ui-angular-core-collection.d.ts.map +1 -0
- package/collection/use-list-collection.d.ts +44 -0
- package/collection/use-list-collection.d.ts.map +1 -0
- package/combobox/combobox-context.service.d.ts +12 -0
- package/combobox/combobox-context.service.d.ts.map +1 -0
- package/combobox/combobox-item-context.service.d.ts +9 -0
- package/combobox/combobox-item-context.service.d.ts.map +1 -0
- package/combobox/combobox-item-group-context.service.d.ts +9 -0
- package/combobox/combobox-item-group-context.service.d.ts.map +1 -0
- package/combobox/core-combobox-clear-trigger.directive.d.ts +20 -0
- package/combobox/core-combobox-clear-trigger.directive.d.ts.map +1 -0
- package/combobox/core-combobox-content.directive.d.ts +23 -0
- package/combobox/core-combobox-content.directive.d.ts.map +1 -0
- package/combobox/core-combobox-control.directive.d.ts +20 -0
- package/combobox/core-combobox-control.directive.d.ts.map +1 -0
- package/combobox/core-combobox-empty.directive.d.ts +13 -0
- package/combobox/core-combobox-empty.directive.d.ts.map +1 -0
- package/combobox/core-combobox-error-indicator.directive.d.ts +13 -0
- package/combobox/core-combobox-error-indicator.directive.d.ts.map +1 -0
- package/combobox/core-combobox-error-text.directive.d.ts +20 -0
- package/combobox/core-combobox-error-text.directive.d.ts.map +1 -0
- package/combobox/core-combobox-hint.directive.d.ts +20 -0
- package/combobox/core-combobox-hint.directive.d.ts.map +1 -0
- package/combobox/core-combobox-input.directive.d.ts +20 -0
- package/combobox/core-combobox-input.directive.d.ts.map +1 -0
- package/combobox/core-combobox-item-group-label.directive.d.ts +14 -0
- package/combobox/core-combobox-item-group-label.directive.d.ts.map +1 -0
- package/combobox/core-combobox-item-group.directive.d.ts +21 -0
- package/combobox/core-combobox-item-group.directive.d.ts.map +1 -0
- package/combobox/core-combobox-item-indicator.directive.d.ts +14 -0
- package/combobox/core-combobox-item-indicator.directive.d.ts.map +1 -0
- package/combobox/core-combobox-item-text.directive.d.ts +14 -0
- package/combobox/core-combobox-item-text.directive.d.ts.map +1 -0
- package/combobox/core-combobox-item.directive.d.ts +27 -0
- package/combobox/core-combobox-item.directive.d.ts.map +1 -0
- package/combobox/core-combobox-label.directive.d.ts +20 -0
- package/combobox/core-combobox-label.directive.d.ts.map +1 -0
- package/combobox/core-combobox-positioner.directive.d.ts +21 -0
- package/combobox/core-combobox-positioner.directive.d.ts.map +1 -0
- package/combobox/core-combobox-root.directive.d.ts +234 -0
- package/combobox/core-combobox-root.directive.d.ts.map +1 -0
- package/combobox/core-combobox-trigger.directive.d.ts +27 -0
- package/combobox/core-combobox-trigger.directive.d.ts.map +1 -0
- package/combobox/index.d.ts +21 -0
- package/combobox/index.d.ts.map +1 -0
- package/combobox/qualcomm-ui-angular-core-combobox.d.ts +6 -0
- package/combobox/qualcomm-ui-angular-core-combobox.d.ts.map +1 -0
- package/common/boolean.d.ts +6 -0
- package/common/boolean.d.ts.map +1 -0
- package/common/index.d.ts +10 -0
- package/common/index.d.ts.map +1 -0
- package/common/ng-changes.d.ts +18 -0
- package/common/ng-changes.d.ts.map +1 -0
- package/common/qualcomm-ui-angular-core-common.d.ts +6 -0
- package/common/qualcomm-ui-angular-core-common.d.ts.map +1 -0
- package/common/template-content.d.ts +6 -0
- package/common/template-content.d.ts.map +1 -0
- package/common/use-csr-check.d.ts +13 -0
- package/common/use-csr-check.d.ts.map +1 -0
- package/common/use-id.d.ts +2 -0
- package/common/use-id.d.ts.map +1 -0
- package/common/use-is-destroyed.d.ts +8 -0
- package/common/use-is-destroyed.d.ts.map +1 -0
- package/common/use-is-mounted.d.ts +7 -0
- package/common/use-is-mounted.d.ts.map +1 -0
- package/common/use-on-destroy.d.ts +8 -0
- package/common/use-on-destroy.d.ts.map +1 -0
- package/common/use-ssr-check.d.ts +13 -0
- package/common/use-ssr-check.d.ts.map +1 -0
- package/dialog/core-dialog-backdrop.directive.d.ts +24 -0
- package/dialog/core-dialog-backdrop.directive.d.ts.map +1 -0
- package/dialog/core-dialog-body.directive.d.ts +13 -0
- package/dialog/core-dialog-body.directive.d.ts.map +1 -0
- package/dialog/core-dialog-close-trigger.directive.d.ts +20 -0
- package/dialog/core-dialog-close-trigger.directive.d.ts.map +1 -0
- package/dialog/core-dialog-content.directive.d.ts +25 -0
- package/dialog/core-dialog-content.directive.d.ts.map +1 -0
- package/dialog/core-dialog-description.directive.d.ts +20 -0
- package/dialog/core-dialog-description.directive.d.ts.map +1 -0
- package/dialog/core-dialog-footer.directive.d.ts +13 -0
- package/dialog/core-dialog-footer.directive.d.ts.map +1 -0
- package/dialog/core-dialog-heading.directive.d.ts +20 -0
- package/dialog/core-dialog-heading.directive.d.ts.map +1 -0
- package/dialog/core-dialog-positioner.directive.d.ts +21 -0
- package/dialog/core-dialog-positioner.directive.d.ts.map +1 -0
- package/dialog/core-dialog-root.directive.d.ts +129 -0
- package/dialog/core-dialog-root.directive.d.ts.map +1 -0
- package/dialog/core-dialog-trigger.directive.d.ts +20 -0
- package/dialog/core-dialog-trigger.directive.d.ts.map +1 -0
- package/dialog/dialog-context.service.d.ts +12 -0
- package/dialog/dialog-context.service.d.ts.map +1 -0
- package/dialog/index.d.ts +12 -0
- package/dialog/index.d.ts.map +1 -0
- package/dialog/qualcomm-ui-angular-core-dialog.d.ts +6 -0
- package/dialog/qualcomm-ui-angular-core-dialog.d.ts.map +1 -0
- package/dom/clipboard.service.d.ts +20 -0
- package/dom/clipboard.service.d.ts.map +1 -0
- package/dom/context-id-signal.d.ts +42 -0
- package/dom/context-id-signal.d.ts.map +1 -0
- package/dom/descendants-manager.service.d.ts +12 -0
- package/dom/descendants-manager.service.d.ts.map +1 -0
- package/dom/element-id-signal.d.ts +42 -0
- package/dom/element-id-signal.d.ts.map +1 -0
- package/dom/id.service.d.ts +11 -0
- package/dom/id.service.d.ts.map +1 -0
- package/dom/index.d.ts +8 -0
- package/dom/index.d.ts.map +1 -0
- package/dom/portal-config.service.d.ts +8 -0
- package/dom/portal-config.service.d.ts.map +1 -0
- package/dom/qualcomm-ui-angular-core-dom.d.ts +6 -0
- package/dom/qualcomm-ui-angular-core-dom.d.ts.map +1 -0
- package/dom/tokens/caches.d.ts +3 -0
- package/dom/tokens/caches.d.ts.map +1 -0
- package/dom/tokens/css.d.ts +12 -0
- package/dom/tokens/css.d.ts.map +1 -0
- package/dom/tokens/index.d.ts +11 -0
- package/dom/tokens/index.d.ts.map +1 -0
- package/dom/tokens/local-storage.d.ts +3 -0
- package/dom/tokens/local-storage.d.ts.map +1 -0
- package/dom/tokens/location.d.ts +3 -0
- package/dom/tokens/location.d.ts.map +1 -0
- package/dom/tokens/media-devices.d.ts +3 -0
- package/dom/tokens/media-devices.d.ts.map +1 -0
- package/dom/tokens/navigator.d.ts +3 -0
- package/dom/tokens/navigator.d.ts.map +1 -0
- package/dom/tokens/performance.d.ts +3 -0
- package/dom/tokens/performance.d.ts.map +1 -0
- package/dom/tokens/screen.d.ts +3 -0
- package/dom/tokens/screen.d.ts.map +1 -0
- package/dom/tokens/user-agent.d.ts +3 -0
- package/dom/tokens/user-agent.d.ts.map +1 -0
- package/dom/tokens/window.d.ts +3 -0
- package/dom/tokens/window.d.ts.map +1 -0
- package/esm2022/accordion/accordion-context.service.js +14 -0
- package/esm2022/accordion/accordion-context.service.js.map +1 -0
- package/esm2022/accordion/accordion-item-context.service.js +14 -0
- package/esm2022/accordion/accordion-item-context.service.js.map +1 -0
- package/esm2022/accordion/core-accordion-item-content.directive.js +34 -0
- package/esm2022/accordion/core-accordion-item-content.directive.js.map +1 -0
- package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js +24 -0
- package/esm2022/accordion/core-accordion-item-trigger-indicator.directive.js.map +1 -0
- package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js +24 -0
- package/esm2022/accordion/core-accordion-item-trigger-secondary.directive.js.map +1 -0
- package/esm2022/accordion/core-accordion-item-trigger-title.directive.js +24 -0
- package/esm2022/accordion/core-accordion-item-trigger-title.directive.js.map +1 -0
- package/esm2022/accordion/core-accordion-item-trigger.directive.js +32 -0
- package/esm2022/accordion/core-accordion-item-trigger.directive.js.map +1 -0
- package/esm2022/accordion/core-accordion-item.directive.js +45 -0
- package/esm2022/accordion/core-accordion-item.directive.js.map +1 -0
- package/esm2022/accordion/core-accordion-root.directive.js +91 -0
- package/esm2022/accordion/core-accordion-root.directive.js.map +1 -0
- package/esm2022/accordion/index.js +10 -0
- package/esm2022/accordion/index.js.map +1 -0
- package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js +5 -0
- package/esm2022/accordion/qualcomm-ui-angular-core-accordion.js.map +1 -0
- package/esm2022/attributes/index.js +3 -0
- package/esm2022/attributes/index.js.map +1 -0
- package/esm2022/attributes/number-attributes.js +22 -0
- package/esm2022/attributes/number-attributes.js.map +1 -0
- package/esm2022/attributes/pixel-attribute.js +10 -0
- package/esm2022/attributes/pixel-attribute.js.map +1 -0
- package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js +5 -0
- package/esm2022/attributes/qualcomm-ui-angular-core-attributes.js.map +1 -0
- package/esm2022/avatar/avatar-context.service.js +14 -0
- package/esm2022/avatar/avatar-context.service.js.map +1 -0
- package/esm2022/avatar/core-avatar-content.directive.js +30 -0
- package/esm2022/avatar/core-avatar-content.directive.js.map +1 -0
- package/esm2022/avatar/core-avatar-image.directive.js +30 -0
- package/esm2022/avatar/core-avatar-image.directive.js.map +1 -0
- package/esm2022/avatar/core-avatar-root.directive.js +51 -0
- package/esm2022/avatar/core-avatar-root.directive.js.map +1 -0
- package/esm2022/avatar/core-avatar-status.directive.js +30 -0
- package/esm2022/avatar/core-avatar-status.directive.js.map +1 -0
- package/esm2022/avatar/index.js +6 -0
- package/esm2022/avatar/index.js.map +1 -0
- package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js +5 -0
- package/esm2022/avatar/qualcomm-ui-angular-core-avatar.js.map +1 -0
- package/esm2022/checkbox/abstract-checkbox-form-control.directive.js +265 -0
- package/esm2022/checkbox/abstract-checkbox-form-control.directive.js.map +1 -0
- package/esm2022/checkbox/checkbox-context.service.js +14 -0
- package/esm2022/checkbox/checkbox-context.service.js.map +1 -0
- package/esm2022/checkbox/core-checkbox-control.directive.js +30 -0
- package/esm2022/checkbox/core-checkbox-control.directive.js.map +1 -0
- package/esm2022/checkbox/core-checkbox-error-text.directive.js +30 -0
- package/esm2022/checkbox/core-checkbox-error-text.directive.js.map +1 -0
- package/esm2022/checkbox/core-checkbox-hidden-input.directive.js +30 -0
- package/esm2022/checkbox/core-checkbox-hidden-input.directive.js.map +1 -0
- package/esm2022/checkbox/core-checkbox-indicator.directive.js +19 -0
- package/esm2022/checkbox/core-checkbox-indicator.directive.js.map +1 -0
- package/esm2022/checkbox/core-checkbox-label.directive.js +30 -0
- package/esm2022/checkbox/core-checkbox-label.directive.js.map +1 -0
- package/esm2022/checkbox/core-checkbox-root.directive.js +88 -0
- package/esm2022/checkbox/core-checkbox-root.directive.js.map +1 -0
- package/esm2022/checkbox/index.js +10 -0
- package/esm2022/checkbox/index.js.map +1 -0
- package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js +5 -0
- package/esm2022/checkbox/qualcomm-ui-angular-core-checkbox.js.map +1 -0
- package/esm2022/checkbox/use-checkbox-group.js +62 -0
- package/esm2022/checkbox/use-checkbox-group.js.map +1 -0
- package/esm2022/collapsible/collapsible-context.service.js +14 -0
- package/esm2022/collapsible/collapsible-context.service.js.map +1 -0
- package/esm2022/collapsible/core-collapsible-content.directive.js +32 -0
- package/esm2022/collapsible/core-collapsible-content.directive.js.map +1 -0
- package/esm2022/collapsible/core-collapsible-root.directive.js +71 -0
- package/esm2022/collapsible/core-collapsible-root.directive.js.map +1 -0
- package/esm2022/collapsible/core-collapsible-trigger.directive.js +32 -0
- package/esm2022/collapsible/core-collapsible-trigger.directive.js.map +1 -0
- package/esm2022/collapsible/index.js +5 -0
- package/esm2022/collapsible/index.js.map +1 -0
- package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js +5 -0
- package/esm2022/collapsible/qualcomm-ui-angular-core-collapsible.js.map +1 -0
- package/esm2022/collection/index.js +2 -0
- package/esm2022/collection/index.js.map +1 -0
- package/esm2022/collection/qualcomm-ui-angular-core-collection.js +5 -0
- package/esm2022/collection/qualcomm-ui-angular-core-collection.js.map +1 -0
- package/esm2022/collection/use-list-collection.js +50 -0
- package/esm2022/collection/use-list-collection.js.map +1 -0
- package/esm2022/combobox/combobox-context.service.js +14 -0
- package/esm2022/combobox/combobox-context.service.js.map +1 -0
- package/esm2022/combobox/combobox-item-context.service.js +14 -0
- package/esm2022/combobox/combobox-item-context.service.js.map +1 -0
- package/esm2022/combobox/combobox-item-group-context.service.js +14 -0
- package/esm2022/combobox/combobox-item-group-context.service.js.map +1 -0
- package/esm2022/combobox/core-combobox-clear-trigger.directive.js +30 -0
- package/esm2022/combobox/core-combobox-clear-trigger.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-content.directive.js +34 -0
- package/esm2022/combobox/core-combobox-content.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-control.directive.js +30 -0
- package/esm2022/combobox/core-combobox-control.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-empty.directive.js +19 -0
- package/esm2022/combobox/core-combobox-empty.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-error-indicator.directive.js +19 -0
- package/esm2022/combobox/core-combobox-error-indicator.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-error-text.directive.js +30 -0
- package/esm2022/combobox/core-combobox-error-text.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-hint.directive.js +30 -0
- package/esm2022/combobox/core-combobox-hint.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-input.directive.js +30 -0
- package/esm2022/combobox/core-combobox-input.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-item-group-label.directive.js +23 -0
- package/esm2022/combobox/core-combobox-item-group-label.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-item-group.directive.js +31 -0
- package/esm2022/combobox/core-combobox-item-group.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-item-indicator.directive.js +21 -0
- package/esm2022/combobox/core-combobox-item-indicator.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-item-text.directive.js +21 -0
- package/esm2022/combobox/core-combobox-item-text.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-item.directive.js +35 -0
- package/esm2022/combobox/core-combobox-item.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-label.directive.js +30 -0
- package/esm2022/combobox/core-combobox-label.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-positioner.directive.js +32 -0
- package/esm2022/combobox/core-combobox-positioner.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-root.directive.js +387 -0
- package/esm2022/combobox/core-combobox-root.directive.js.map +1 -0
- package/esm2022/combobox/core-combobox-trigger.directive.js +37 -0
- package/esm2022/combobox/core-combobox-trigger.directive.js.map +1 -0
- package/esm2022/combobox/index.js +21 -0
- package/esm2022/combobox/index.js.map +1 -0
- package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js +5 -0
- package/esm2022/combobox/qualcomm-ui-angular-core-combobox.js.map +1 -0
- package/esm2022/common/boolean.js +4 -0
- package/esm2022/common/boolean.js.map +1 -0
- package/esm2022/common/index.js +7 -0
- package/esm2022/common/index.js.map +1 -0
- package/esm2022/common/ng-changes.js +4 -0
- package/esm2022/common/ng-changes.js.map +1 -0
- package/esm2022/common/qualcomm-ui-angular-core-common.js +5 -0
- package/esm2022/common/qualcomm-ui-angular-core-common.js.map +1 -0
- package/esm2022/common/template-content.js +4 -0
- package/esm2022/common/template-content.js.map +1 -0
- package/esm2022/common/use-csr-check.js +22 -0
- package/esm2022/common/use-csr-check.js.map +1 -0
- package/esm2022/common/use-id.js +24 -0
- package/esm2022/common/use-id.js.map +1 -0
- package/esm2022/common/use-is-destroyed.js +20 -0
- package/esm2022/common/use-is-destroyed.js.map +1 -0
- package/esm2022/common/use-is-mounted.js +15 -0
- package/esm2022/common/use-is-mounted.js.map +1 -0
- package/esm2022/common/use-on-destroy.js +16 -0
- package/esm2022/common/use-on-destroy.js.map +1 -0
- package/esm2022/common/use-ssr-check.js +22 -0
- package/esm2022/common/use-ssr-check.js.map +1 -0
- package/esm2022/dialog/core-dialog-backdrop.directive.js +46 -0
- package/esm2022/dialog/core-dialog-backdrop.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-body.directive.js +21 -0
- package/esm2022/dialog/core-dialog-body.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-close-trigger.directive.js +30 -0
- package/esm2022/dialog/core-dialog-close-trigger.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-content.directive.js +50 -0
- package/esm2022/dialog/core-dialog-content.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-description.directive.js +30 -0
- package/esm2022/dialog/core-dialog-description.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-footer.directive.js +19 -0
- package/esm2022/dialog/core-dialog-footer.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-heading.directive.js +30 -0
- package/esm2022/dialog/core-dialog-heading.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-positioner.directive.js +32 -0
- package/esm2022/dialog/core-dialog-positioner.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-root.directive.js +225 -0
- package/esm2022/dialog/core-dialog-root.directive.js.map +1 -0
- package/esm2022/dialog/core-dialog-trigger.directive.js +30 -0
- package/esm2022/dialog/core-dialog-trigger.directive.js.map +1 -0
- package/esm2022/dialog/dialog-context.service.js +24 -0
- package/esm2022/dialog/dialog-context.service.js.map +1 -0
- package/esm2022/dialog/index.js +12 -0
- package/esm2022/dialog/index.js.map +1 -0
- package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js +5 -0
- package/esm2022/dialog/qualcomm-ui-angular-core-dialog.js.map +1 -0
- package/esm2022/dom/clipboard.service.js +42 -0
- package/esm2022/dom/clipboard.service.js.map +1 -0
- package/esm2022/dom/context-id-signal.js +23 -0
- package/esm2022/dom/context-id-signal.js.map +1 -0
- package/esm2022/dom/descendants-manager.service.js +29 -0
- package/esm2022/dom/descendants-manager.service.js.map +1 -0
- package/esm2022/dom/element-id-signal.js +25 -0
- package/esm2022/dom/element-id-signal.js.map +1 -0
- package/esm2022/dom/id.service.js +33 -0
- package/esm2022/dom/id.service.js.map +1 -0
- package/esm2022/dom/index.js +8 -0
- package/esm2022/dom/index.js.map +1 -0
- package/esm2022/dom/portal-config.service.js +17 -0
- package/esm2022/dom/portal-config.service.js.map +1 -0
- package/esm2022/dom/qualcomm-ui-angular-core-dom.js +5 -0
- package/esm2022/dom/qualcomm-ui-angular-core-dom.js.map +1 -0
- package/esm2022/dom/tokens/caches.js +8 -0
- package/esm2022/dom/tokens/caches.js.map +1 -0
- package/esm2022/dom/tokens/css.js +11 -0
- package/esm2022/dom/tokens/css.js.map +1 -0
- package/esm2022/dom/tokens/index.js +11 -0
- package/esm2022/dom/tokens/index.js.map +1 -0
- package/esm2022/dom/tokens/local-storage.js +8 -0
- package/esm2022/dom/tokens/local-storage.js.map +1 -0
- package/esm2022/dom/tokens/location.js +8 -0
- package/esm2022/dom/tokens/location.js.map +1 -0
- package/esm2022/dom/tokens/media-devices.js +8 -0
- package/esm2022/dom/tokens/media-devices.js.map +1 -0
- package/esm2022/dom/tokens/navigator.js +8 -0
- package/esm2022/dom/tokens/navigator.js.map +1 -0
- package/esm2022/dom/tokens/performance.js +8 -0
- package/esm2022/dom/tokens/performance.js.map +1 -0
- package/esm2022/dom/tokens/screen.js +8 -0
- package/esm2022/dom/tokens/screen.js.map +1 -0
- package/esm2022/dom/tokens/user-agent.js +8 -0
- package/esm2022/dom/tokens/user-agent.js.map +1 -0
- package/esm2022/dom/tokens/window.js +14 -0
- package/esm2022/dom/tokens/window.js.map +1 -0
- package/esm2022/events/index.js +3 -0
- package/esm2022/events/index.js.map +1 -0
- package/esm2022/events/listener.service.js +67 -0
- package/esm2022/events/listener.service.js.map +1 -0
- package/esm2022/events/qualcomm-ui-angular-core-events.js +5 -0
- package/esm2022/events/qualcomm-ui-angular-core-events.js.map +1 -0
- package/esm2022/events/use-copy-to-clipboard.js +48 -0
- package/esm2022/events/use-copy-to-clipboard.js.map +1 -0
- package/esm2022/forms/form-utils.js +80 -0
- package/esm2022/forms/form-utils.js.map +1 -0
- package/esm2022/forms/index.js +3 -0
- package/esm2022/forms/index.js.map +1 -0
- package/esm2022/forms/qualcomm-ui-angular-core-forms.js +5 -0
- package/esm2022/forms/qualcomm-ui-angular-core-forms.js.map +1 -0
- package/esm2022/forms/use-forbidden-form-control-warning.js +24 -0
- package/esm2022/forms/use-forbidden-form-control-warning.js.map +1 -0
- package/esm2022/highlight/highlight.directive.js +69 -0
- package/esm2022/highlight/highlight.directive.js.map +1 -0
- package/esm2022/highlight/index.js +2 -0
- package/esm2022/highlight/index.js.map +1 -0
- package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js +5 -0
- package/esm2022/highlight/qualcomm-ui-angular-core-highlight.js.map +1 -0
- package/esm2022/index.js +4 -0
- package/esm2022/index.js.map +1 -0
- package/esm2022/inline-notification/core-inline-notification-action.directive.js +21 -0
- package/esm2022/inline-notification/core-inline-notification-action.directive.js.map +1 -0
- package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js +32 -0
- package/esm2022/inline-notification/core-inline-notification-close-trigger.directive.js.map +1 -0
- package/esm2022/inline-notification/core-inline-notification-description.directive.js +32 -0
- package/esm2022/inline-notification/core-inline-notification-description.directive.js.map +1 -0
- package/esm2022/inline-notification/core-inline-notification-icon.directive.js +21 -0
- package/esm2022/inline-notification/core-inline-notification-icon.directive.js.map +1 -0
- package/esm2022/inline-notification/core-inline-notification-label.directive.js +32 -0
- package/esm2022/inline-notification/core-inline-notification-label.directive.js.map +1 -0
- package/esm2022/inline-notification/core-inline-notification-root.directive.js +71 -0
- package/esm2022/inline-notification/core-inline-notification-root.directive.js.map +1 -0
- package/esm2022/inline-notification/index.js +8 -0
- package/esm2022/inline-notification/index.js.map +1 -0
- package/esm2022/inline-notification/inline-notification-context.service.js +14 -0
- package/esm2022/inline-notification/inline-notification-context.service.js.map +1 -0
- package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js +5 -0
- package/esm2022/inline-notification/qualcomm-ui-angular-core-inline-notification.js.map +1 -0
- package/esm2022/input/abstract-input-form-control.directive.js +254 -0
- package/esm2022/input/abstract-input-form-control.directive.js.map +1 -0
- package/esm2022/input/abstract-list-collection-form-control.directive.js +278 -0
- package/esm2022/input/abstract-list-collection-form-control.directive.js.map +1 -0
- package/esm2022/input/index.js +4 -0
- package/esm2022/input/index.js.map +1 -0
- package/esm2022/input/input-form-control-provider.js +70 -0
- package/esm2022/input/input-form-control-provider.js.map +1 -0
- package/esm2022/input/qualcomm-ui-angular-core-input.js +5 -0
- package/esm2022/input/qualcomm-ui-angular-core-input.js.map +1 -0
- package/esm2022/locale/index.js +3 -0
- package/esm2022/locale/index.js.map +1 -0
- package/esm2022/locale/locale-context.service.js +14 -0
- package/esm2022/locale/locale-context.service.js.map +1 -0
- package/esm2022/locale/qualcomm-ui-angular-core-locale.js +5 -0
- package/esm2022/locale/qualcomm-ui-angular-core-locale.js.map +1 -0
- package/esm2022/locale/use-filter.js +16 -0
- package/esm2022/locale/use-filter.js.map +1 -0
- package/esm2022/lorem-ipsum/index.js +2 -0
- package/esm2022/lorem-ipsum/index.js.map +1 -0
- package/esm2022/lorem-ipsum/lorem-ipsum.directive.js +83 -0
- package/esm2022/lorem-ipsum/lorem-ipsum.directive.js.map +1 -0
- package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js +5 -0
- package/esm2022/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.js.map +1 -0
- package/esm2022/lucide/index.js +3 -0
- package/esm2022/lucide/index.js.map +1 -0
- package/esm2022/lucide/lucide.types.js +4 -0
- package/esm2022/lucide/lucide.types.js.map +1 -0
- package/esm2022/lucide/provide-icons.js +20 -0
- package/esm2022/lucide/provide-icons.js.map +1 -0
- package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js +5 -0
- package/esm2022/lucide/qualcomm-ui-angular-core-lucide.js.map +1 -0
- package/esm2022/machine/api-context.directive.js +44 -0
- package/esm2022/machine/api-context.directive.js.map +1 -0
- package/esm2022/machine/api-context.service.js +58 -0
- package/esm2022/machine/api-context.service.js.map +1 -0
- package/esm2022/machine/bindable-id-collection.js +51 -0
- package/esm2022/machine/bindable-id-collection.js.map +1 -0
- package/esm2022/machine/bindable-id.js +21 -0
- package/esm2022/machine/bindable-id.js.map +1 -0
- package/esm2022/machine/bindable.js +47 -0
- package/esm2022/machine/bindable.js.map +1 -0
- package/esm2022/machine/index.js +13 -0
- package/esm2022/machine/index.js.map +1 -0
- package/esm2022/machine/machine.types.js +4 -0
- package/esm2022/machine/machine.types.js.map +1 -0
- package/esm2022/machine/merge-props.js +68 -0
- package/esm2022/machine/merge-props.js.map +1 -0
- package/esm2022/machine/normalize-props.js +108 -0
- package/esm2022/machine/normalize-props.js.map +1 -0
- package/esm2022/machine/q-bind.directive.js +162 -0
- package/esm2022/machine/q-bind.directive.js.map +1 -0
- package/esm2022/machine/qualcomm-ui-angular-core-machine.js +5 -0
- package/esm2022/machine/qualcomm-ui-angular-core-machine.js.map +1 -0
- package/esm2022/machine/refs.js +18 -0
- package/esm2022/machine/refs.js.map +1 -0
- package/esm2022/machine/track.js +46 -0
- package/esm2022/machine/track.js.map +1 -0
- package/esm2022/machine/use-machine.js +312 -0
- package/esm2022/machine/use-machine.js.map +1 -0
- package/esm2022/machine/use-track-bindings.js +270 -0
- package/esm2022/machine/use-track-bindings.js.map +1 -0
- package/esm2022/menu/base-menu-item.directive.js +53 -0
- package/esm2022/menu/base-menu-item.directive.js.map +1 -0
- package/esm2022/menu/core-menu-checkbox-item.directive.js +51 -0
- package/esm2022/menu/core-menu-checkbox-item.directive.js.map +1 -0
- package/esm2022/menu/core-menu-content.directive.js +50 -0
- package/esm2022/menu/core-menu-content.directive.js.map +1 -0
- package/esm2022/menu/core-menu-context-trigger.directive.js +32 -0
- package/esm2022/menu/core-menu-context-trigger.directive.js.map +1 -0
- package/esm2022/menu/core-menu-item-group-label.directive.js +32 -0
- package/esm2022/menu/core-menu-item-group-label.directive.js.map +1 -0
- package/esm2022/menu/core-menu-item-group.directive.js +33 -0
- package/esm2022/menu/core-menu-item-group.directive.js.map +1 -0
- package/esm2022/menu/core-menu-item-indicator.directive.js +31 -0
- package/esm2022/menu/core-menu-item-indicator.directive.js.map +1 -0
- package/esm2022/menu/core-menu-item-label.directive.js +32 -0
- package/esm2022/menu/core-menu-item-label.directive.js.map +1 -0
- package/esm2022/menu/core-menu-item-root.directive.js +50 -0
- package/esm2022/menu/core-menu-item-root.directive.js.map +1 -0
- package/esm2022/menu/core-menu-positioner.directive.js +34 -0
- package/esm2022/menu/core-menu-positioner.directive.js.map +1 -0
- package/esm2022/menu/core-menu-radio-item-group.directive.js +52 -0
- package/esm2022/menu/core-menu-radio-item-group.directive.js.map +1 -0
- package/esm2022/menu/core-menu-radio-item.directive.js +41 -0
- package/esm2022/menu/core-menu-radio-item.directive.js.map +1 -0
- package/esm2022/menu/core-menu-root.directive.js +242 -0
- package/esm2022/menu/core-menu-root.directive.js.map +1 -0
- package/esm2022/menu/core-menu-separator.directive.js +21 -0
- package/esm2022/menu/core-menu-separator.directive.js.map +1 -0
- package/esm2022/menu/core-menu-trigger-item.directive.js +33 -0
- package/esm2022/menu/core-menu-trigger-item.directive.js.map +1 -0
- package/esm2022/menu/core-menu-trigger.directive.js +34 -0
- package/esm2022/menu/core-menu-trigger.directive.js.map +1 -0
- package/esm2022/menu/index.js +24 -0
- package/esm2022/menu/index.js.map +1 -0
- package/esm2022/menu/menu-context.service.js +14 -0
- package/esm2022/menu/menu-context.service.js.map +1 -0
- package/esm2022/menu/menu-item-context.service.js +14 -0
- package/esm2022/menu/menu-item-context.service.js.map +1 -0
- package/esm2022/menu/menu-item-group-context.service.js +14 -0
- package/esm2022/menu/menu-item-group-context.service.js.map +1 -0
- package/esm2022/menu/menu-machine-context.service.js +14 -0
- package/esm2022/menu/menu-machine-context.service.js.map +1 -0
- package/esm2022/menu/menu-option-item-context.service.js +14 -0
- package/esm2022/menu/menu-option-item-context.service.js.map +1 -0
- package/esm2022/menu/menu-radio-item-group-context.service.js +14 -0
- package/esm2022/menu/menu-radio-item-group-context.service.js.map +1 -0
- package/esm2022/menu/menu-trigger-context.service.js +14 -0
- package/esm2022/menu/menu-trigger-context.service.js.map +1 -0
- package/esm2022/menu/qualcomm-ui-angular-core-menu.js +5 -0
- package/esm2022/menu/qualcomm-ui-angular-core-menu.js.map +1 -0
- package/esm2022/number-input/abstract-number-input-form-control.directive.js +294 -0
- package/esm2022/number-input/abstract-number-input-form-control.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-control.directive.js +21 -0
- package/esm2022/number-input/core-number-input-control.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-decrement-trigger.directive.js +28 -0
- package/esm2022/number-input/core-number-input-decrement-trigger.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-error-indicator.directive.js +21 -0
- package/esm2022/number-input/core-number-input-error-indicator.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-error-text.directive.js +28 -0
- package/esm2022/number-input/core-number-input-error-text.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-hint.directive.js +28 -0
- package/esm2022/number-input/core-number-input-hint.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-increment-trigger.directive.js +28 -0
- package/esm2022/number-input/core-number-input-increment-trigger.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-input-group.directive.js +21 -0
- package/esm2022/number-input/core-number-input-input-group.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-input.directive.js +28 -0
- package/esm2022/number-input/core-number-input-input.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-label.directive.js +28 -0
- package/esm2022/number-input/core-number-input-label.directive.js.map +1 -0
- package/esm2022/number-input/core-number-input-root.directive.js +193 -0
- package/esm2022/number-input/core-number-input-root.directive.js.map +1 -0
- package/esm2022/number-input/index.js +14 -0
- package/esm2022/number-input/index.js.map +1 -0
- package/esm2022/number-input/number-input-context.service.js +14 -0
- package/esm2022/number-input/number-input-context.service.js.map +1 -0
- package/esm2022/number-input/number-input.validators.js +15 -0
- package/esm2022/number-input/number-input.validators.js.map +1 -0
- package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js +5 -0
- package/esm2022/number-input/qualcomm-ui-angular-core-number-input.js.map +1 -0
- package/esm2022/observers/index.js +2 -0
- package/esm2022/observers/index.js.map +1 -0
- package/esm2022/observers/intersection-observer.directive.js +37 -0
- package/esm2022/observers/intersection-observer.directive.js.map +1 -0
- package/esm2022/observers/qualcomm-ui-angular-core-observers.js +5 -0
- package/esm2022/observers/qualcomm-ui-angular-core-observers.js.map +1 -0
- package/esm2022/pagination/core-pagination-next-trigger.directive.js +19 -0
- package/esm2022/pagination/core-pagination-next-trigger.directive.js.map +1 -0
- package/esm2022/pagination/core-pagination-page-item.directive.js +24 -0
- package/esm2022/pagination/core-pagination-page-item.directive.js.map +1 -0
- package/esm2022/pagination/core-pagination-page-items.directive.js +22 -0
- package/esm2022/pagination/core-pagination-page-items.directive.js.map +1 -0
- package/esm2022/pagination/core-pagination-page-metadata.directive.js +19 -0
- package/esm2022/pagination/core-pagination-page-metadata.directive.js.map +1 -0
- package/esm2022/pagination/core-pagination-page-size-label.directive.js +26 -0
- package/esm2022/pagination/core-pagination-page-size-label.directive.js.map +1 -0
- package/esm2022/pagination/core-pagination-page-size.directive.js +37 -0
- package/esm2022/pagination/core-pagination-page-size.directive.js.map +1 -0
- package/esm2022/pagination/core-pagination-prev-trigger.directive.js +19 -0
- package/esm2022/pagination/core-pagination-prev-trigger.directive.js.map +1 -0
- package/esm2022/pagination/core-pagination-root.directive.js +121 -0
- package/esm2022/pagination/core-pagination-root.directive.js.map +1 -0
- package/esm2022/pagination/index.js +10 -0
- package/esm2022/pagination/index.js.map +1 -0
- package/esm2022/pagination/pagination-context.service.js +14 -0
- package/esm2022/pagination/pagination-context.service.js.map +1 -0
- package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js +5 -0
- package/esm2022/pagination/qualcomm-ui-angular-core-pagination.js.map +1 -0
- package/esm2022/password-input/core-password-input-clear-trigger.directive.js +21 -0
- package/esm2022/password-input/core-password-input-clear-trigger.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-error-indicator.directive.js +21 -0
- package/esm2022/password-input/core-password-input-error-indicator.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-error-text.directive.js +32 -0
- package/esm2022/password-input/core-password-input-error-text.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-hint.directive.js +32 -0
- package/esm2022/password-input/core-password-input-hint.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-input-group.directive.js +21 -0
- package/esm2022/password-input/core-password-input-input-group.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-input.directive.js +32 -0
- package/esm2022/password-input/core-password-input-input.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-label.directive.js +32 -0
- package/esm2022/password-input/core-password-input-label.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-root.directive.js +120 -0
- package/esm2022/password-input/core-password-input-root.directive.js.map +1 -0
- package/esm2022/password-input/core-password-input-visibility-trigger.directive.js +32 -0
- package/esm2022/password-input/core-password-input-visibility-trigger.directive.js.map +1 -0
- package/esm2022/password-input/index.js +11 -0
- package/esm2022/password-input/index.js.map +1 -0
- package/esm2022/password-input/password-input-context.service.js +14 -0
- package/esm2022/password-input/password-input-context.service.js.map +1 -0
- package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js +5 -0
- package/esm2022/password-input/qualcomm-ui-angular-core-password-input.js.map +1 -0
- package/esm2022/popover/core-popover-anchor.directive.js +30 -0
- package/esm2022/popover/core-popover-anchor.directive.js.map +1 -0
- package/esm2022/popover/core-popover-arrow-tip.directive.js +19 -0
- package/esm2022/popover/core-popover-arrow-tip.directive.js.map +1 -0
- package/esm2022/popover/core-popover-arrow.directive.js +30 -0
- package/esm2022/popover/core-popover-arrow.directive.js.map +1 -0
- package/esm2022/popover/core-popover-close-trigger.directive.js +30 -0
- package/esm2022/popover/core-popover-close-trigger.directive.js.map +1 -0
- package/esm2022/popover/core-popover-content.directive.js +30 -0
- package/esm2022/popover/core-popover-content.directive.js.map +1 -0
- package/esm2022/popover/core-popover-description.directive.js +30 -0
- package/esm2022/popover/core-popover-description.directive.js.map +1 -0
- package/esm2022/popover/core-popover-label.directive.js +30 -0
- package/esm2022/popover/core-popover-label.directive.js.map +1 -0
- package/esm2022/popover/core-popover-positioner.directive.js +30 -0
- package/esm2022/popover/core-popover-positioner.directive.js.map +1 -0
- package/esm2022/popover/core-popover-root.directive.js +178 -0
- package/esm2022/popover/core-popover-root.directive.js.map +1 -0
- package/esm2022/popover/core-popover-trigger.directive.js +30 -0
- package/esm2022/popover/core-popover-trigger.directive.js.map +1 -0
- package/esm2022/popover/index.js +12 -0
- package/esm2022/popover/index.js.map +1 -0
- package/esm2022/popover/popover-context.service.js +14 -0
- package/esm2022/popover/popover-context.service.js.map +1 -0
- package/esm2022/popover/qualcomm-ui-angular-core-popover.js +5 -0
- package/esm2022/popover/qualcomm-ui-angular-core-popover.js.map +1 -0
- package/esm2022/portal/index.js +4 -0
- package/esm2022/portal/index.js.map +1 -0
- package/esm2022/portal/portal-context.service.js +16 -0
- package/esm2022/portal/portal-context.service.js.map +1 -0
- package/esm2022/portal/portal.component.js +125 -0
- package/esm2022/portal/portal.component.js.map +1 -0
- package/esm2022/portal/portal.directive.js +116 -0
- package/esm2022/portal/portal.directive.js.map +1 -0
- package/esm2022/portal/qualcomm-ui-angular-core-portal.js +5 -0
- package/esm2022/portal/qualcomm-ui-angular-core-portal.js.map +1 -0
- package/esm2022/presence/core-presence.directive.js +53 -0
- package/esm2022/presence/core-presence.directive.js.map +1 -0
- package/esm2022/presence/index.js +5 -0
- package/esm2022/presence/index.js.map +1 -0
- package/esm2022/presence/presence-context.service.js +59 -0
- package/esm2022/presence/presence-context.service.js.map +1 -0
- package/esm2022/presence/qualcomm-ui-angular-core-presence.js +5 -0
- package/esm2022/presence/qualcomm-ui-angular-core-presence.js.map +1 -0
- package/esm2022/presence/render-strategy-context.service.js +14 -0
- package/esm2022/presence/render-strategy-context.service.js.map +1 -0
- package/esm2022/presence/use-presence-renderer.js +30 -0
- package/esm2022/presence/use-presence-renderer.js.map +1 -0
- package/esm2022/progress/core-base-progress.directive.js +59 -0
- package/esm2022/progress/core-base-progress.directive.js.map +1 -0
- package/esm2022/progress/core-progress-bar.directive.js +19 -0
- package/esm2022/progress/core-progress-bar.directive.js.map +1 -0
- package/esm2022/progress/core-progress-error-text.directive.js +32 -0
- package/esm2022/progress/core-progress-error-text.directive.js.map +1 -0
- package/esm2022/progress/core-progress-hint.directive.js +32 -0
- package/esm2022/progress/core-progress-hint.directive.js.map +1 -0
- package/esm2022/progress/core-progress-label.directive.js +32 -0
- package/esm2022/progress/core-progress-label.directive.js.map +1 -0
- package/esm2022/progress/core-progress-root.directive.js +33 -0
- package/esm2022/progress/core-progress-root.directive.js.map +1 -0
- package/esm2022/progress/core-progress-track.directive.js +30 -0
- package/esm2022/progress/core-progress-track.directive.js.map +1 -0
- package/esm2022/progress/core-progress-value-text.directive.js +19 -0
- package/esm2022/progress/core-progress-value-text.directive.js.map +1 -0
- package/esm2022/progress/index.js +10 -0
- package/esm2022/progress/index.js.map +1 -0
- package/esm2022/progress/progress-context.service.js +15 -0
- package/esm2022/progress/progress-context.service.js.map +1 -0
- package/esm2022/progress/qualcomm-ui-angular-core-progress.js +5 -0
- package/esm2022/progress/qualcomm-ui-angular-core-progress.js.map +1 -0
- package/esm2022/progress-ring/core-progress-ring-bar.directive.js +21 -0
- package/esm2022/progress-ring/core-progress-ring-bar.directive.js.map +1 -0
- package/esm2022/progress-ring/core-progress-ring-circle.directive.js +32 -0
- package/esm2022/progress-ring/core-progress-ring-circle.directive.js.map +1 -0
- package/esm2022/progress-ring/core-progress-ring-error-text.directive.js +32 -0
- package/esm2022/progress-ring/core-progress-ring-error-text.directive.js.map +1 -0
- package/esm2022/progress-ring/core-progress-ring-label.directive.js +32 -0
- package/esm2022/progress-ring/core-progress-ring-label.directive.js.map +1 -0
- package/esm2022/progress-ring/core-progress-ring-root.directive.js +33 -0
- package/esm2022/progress-ring/core-progress-ring-root.directive.js.map +1 -0
- package/esm2022/progress-ring/core-progress-ring-track.directive.js +21 -0
- package/esm2022/progress-ring/core-progress-ring-track.directive.js.map +1 -0
- package/esm2022/progress-ring/core-progress-ring-value-text.directive.js +21 -0
- package/esm2022/progress-ring/core-progress-ring-value-text.directive.js.map +1 -0
- package/esm2022/progress-ring/index.js +9 -0
- package/esm2022/progress-ring/index.js.map +1 -0
- package/esm2022/progress-ring/progress-ring-context.service.js +14 -0
- package/esm2022/progress-ring/progress-ring-context.service.js.map +1 -0
- package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js +5 -0
- package/esm2022/progress-ring/qualcomm-ui-angular-core-progress-ring.js.map +1 -0
- package/esm2022/qualcomm-ui-angular-core.js +5 -0
- package/esm2022/qualcomm-ui-angular-core.js.map +1 -0
- package/esm2022/radio/abstract-radio-form-control.directive.js +261 -0
- package/esm2022/radio/abstract-radio-form-control.directive.js.map +1 -0
- package/esm2022/radio/core-radio-group-error-text.directive.js +30 -0
- package/esm2022/radio/core-radio-group-error-text.directive.js.map +1 -0
- package/esm2022/radio/core-radio-group-items.directive.js +19 -0
- package/esm2022/radio/core-radio-group-items.directive.js.map +1 -0
- package/esm2022/radio/core-radio-group-label.directive.js +30 -0
- package/esm2022/radio/core-radio-group-label.directive.js.map +1 -0
- package/esm2022/radio/core-radio-group.directive.js +87 -0
- package/esm2022/radio/core-radio-group.directive.js.map +1 -0
- package/esm2022/radio/core-radio-item-control.directive.js +21 -0
- package/esm2022/radio/core-radio-item-control.directive.js.map +1 -0
- package/esm2022/radio/core-radio-item-hidden-input.directive.js +33 -0
- package/esm2022/radio/core-radio-item-hidden-input.directive.js.map +1 -0
- package/esm2022/radio/core-radio-item-label.directive.js +33 -0
- package/esm2022/radio/core-radio-item-label.directive.js.map +1 -0
- package/esm2022/radio/core-radio-root.directive.js +62 -0
- package/esm2022/radio/core-radio-root.directive.js.map +1 -0
- package/esm2022/radio/index.js +12 -0
- package/esm2022/radio/index.js.map +1 -0
- package/esm2022/radio/qualcomm-ui-angular-core-radio.js +5 -0
- package/esm2022/radio/qualcomm-ui-angular-core-radio.js.map +1 -0
- package/esm2022/radio/radio-context.service.js +14 -0
- package/esm2022/radio/radio-context.service.js.map +1 -0
- package/esm2022/radio/radio-item-context.service.js +14 -0
- package/esm2022/radio/radio-item-context.service.js.map +1 -0
- package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js +29 -0
- package/esm2022/segmented-control/core-segmented-control-hidden-input.directive.js.map +1 -0
- package/esm2022/segmented-control/core-segmented-control-item-text.directive.js +29 -0
- package/esm2022/segmented-control/core-segmented-control-item-text.directive.js.map +1 -0
- package/esm2022/segmented-control/core-segmented-control-item.directive.js +53 -0
- package/esm2022/segmented-control/core-segmented-control-item.directive.js.map +1 -0
- package/esm2022/segmented-control/core-segmented-control-root.directive.js +80 -0
- package/esm2022/segmented-control/core-segmented-control-root.directive.js.map +1 -0
- package/esm2022/segmented-control/index.js +6 -0
- package/esm2022/segmented-control/index.js.map +1 -0
- package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js +5 -0
- package/esm2022/segmented-control/qualcomm-ui-angular-core-segmented-control.js.map +1 -0
- package/esm2022/segmented-control/segmented-control-context.service.js +14 -0
- package/esm2022/segmented-control/segmented-control-context.service.js.map +1 -0
- package/esm2022/select/core-select-clear-trigger.directive.js +30 -0
- package/esm2022/select/core-select-clear-trigger.directive.js.map +1 -0
- package/esm2022/select/core-select-content.directive.js +30 -0
- package/esm2022/select/core-select-content.directive.js.map +1 -0
- package/esm2022/select/core-select-control.directive.js +30 -0
- package/esm2022/select/core-select-control.directive.js.map +1 -0
- package/esm2022/select/core-select-error-indicator.directive.js +21 -0
- package/esm2022/select/core-select-error-indicator.directive.js.map +1 -0
- package/esm2022/select/core-select-error-text.directive.js +32 -0
- package/esm2022/select/core-select-error-text.directive.js.map +1 -0
- package/esm2022/select/core-select-hidden-select.directive.js +30 -0
- package/esm2022/select/core-select-hidden-select.directive.js.map +1 -0
- package/esm2022/select/core-select-hint.directive.js +32 -0
- package/esm2022/select/core-select-hint.directive.js.map +1 -0
- package/esm2022/select/core-select-indicator.directive.js +21 -0
- package/esm2022/select/core-select-indicator.directive.js.map +1 -0
- package/esm2022/select/core-select-item-indicator.directive.js +21 -0
- package/esm2022/select/core-select-item-indicator.directive.js.map +1 -0
- package/esm2022/select/core-select-item-text.directive.js +21 -0
- package/esm2022/select/core-select-item-text.directive.js.map +1 -0
- package/esm2022/select/core-select-item.directive.js +35 -0
- package/esm2022/select/core-select-item.directive.js.map +1 -0
- package/esm2022/select/core-select-label.directive.js +30 -0
- package/esm2022/select/core-select-label.directive.js.map +1 -0
- package/esm2022/select/core-select-positioner.directive.js +30 -0
- package/esm2022/select/core-select-positioner.directive.js.map +1 -0
- package/esm2022/select/core-select-root.directive.js +231 -0
- package/esm2022/select/core-select-root.directive.js.map +1 -0
- package/esm2022/select/core-select-value-text.directive.js +23 -0
- package/esm2022/select/core-select-value-text.directive.js.map +1 -0
- package/esm2022/select/index.js +18 -0
- package/esm2022/select/index.js.map +1 -0
- package/esm2022/select/qualcomm-ui-angular-core-select.js +5 -0
- package/esm2022/select/qualcomm-ui-angular-core-select.js.map +1 -0
- package/esm2022/select/select-context.service.js +15 -0
- package/esm2022/select/select-context.service.js.map +1 -0
- package/esm2022/select/select-item-context.service.js +14 -0
- package/esm2022/select/select-item-context.service.js.map +1 -0
- package/esm2022/signals/access-signal.js +17 -0
- package/esm2022/signals/access-signal.js.map +1 -0
- package/esm2022/signals/host-binding.js +84 -0
- package/esm2022/signals/host-binding.js.map +1 -0
- package/esm2022/signals/index.js +4 -0
- package/esm2022/signals/index.js.map +1 -0
- package/esm2022/signals/qualcomm-ui-angular-core-signals.js +5 -0
- package/esm2022/signals/qualcomm-ui-angular-core-signals.js.map +1 -0
- package/esm2022/signals/signalify-input.js +4 -0
- package/esm2022/signals/signalify-input.js.map +1 -0
- package/esm2022/signals/signalify-object.js +73 -0
- package/esm2022/signals/signalify-object.js.map +1 -0
- package/esm2022/signals/signals.types.js +4 -0
- package/esm2022/signals/signals.types.js.map +1 -0
- package/esm2022/state/controlled-state-legacy.js +80 -0
- package/esm2022/state/controlled-state-legacy.js.map +1 -0
- package/esm2022/state/controlled-state.service.js +84 -0
- package/esm2022/state/controlled-state.service.js.map +1 -0
- package/esm2022/state/index.js +4 -0
- package/esm2022/state/index.js.map +1 -0
- package/esm2022/state/qualcomm-ui-angular-core-state.js +5 -0
- package/esm2022/state/qualcomm-ui-angular-core-state.js.map +1 -0
- package/esm2022/state/use-controlled-state.js +28 -0
- package/esm2022/state/use-controlled-state.js.map +1 -0
- package/esm2022/switch/core-switch-control.directive.js +19 -0
- package/esm2022/switch/core-switch-control.directive.js.map +1 -0
- package/esm2022/switch/core-switch-error-text.directive.js +30 -0
- package/esm2022/switch/core-switch-error-text.directive.js.map +1 -0
- package/esm2022/switch/core-switch-hidden-input.directive.js +30 -0
- package/esm2022/switch/core-switch-hidden-input.directive.js.map +1 -0
- package/esm2022/switch/core-switch-label.directive.js +30 -0
- package/esm2022/switch/core-switch-label.directive.js.map +1 -0
- package/esm2022/switch/core-switch-root.directive.js +89 -0
- package/esm2022/switch/core-switch-root.directive.js.map +1 -0
- package/esm2022/switch/core-switch-thumb.directive.js +19 -0
- package/esm2022/switch/core-switch-thumb.directive.js.map +1 -0
- package/esm2022/switch/index.js +8 -0
- package/esm2022/switch/index.js.map +1 -0
- package/esm2022/switch/qualcomm-ui-angular-core-switch.js +5 -0
- package/esm2022/switch/qualcomm-ui-angular-core-switch.js.map +1 -0
- package/esm2022/switch/switch-context.service.js +14 -0
- package/esm2022/switch/switch-context.service.js.map +1 -0
- package/esm2022/tabs/core-tab-button.directive.js +35 -0
- package/esm2022/tabs/core-tab-button.directive.js.map +1 -0
- package/esm2022/tabs/core-tab-dismiss-button.directive.js +26 -0
- package/esm2022/tabs/core-tab-dismiss-button.directive.js.map +1 -0
- package/esm2022/tabs/core-tab-root.directive.js +37 -0
- package/esm2022/tabs/core-tab-root.directive.js.map +1 -0
- package/esm2022/tabs/core-tabs-indicator.directive.js +32 -0
- package/esm2022/tabs/core-tabs-indicator.directive.js.map +1 -0
- package/esm2022/tabs/core-tabs-list.directive.js +32 -0
- package/esm2022/tabs/core-tabs-list.directive.js.map +1 -0
- package/esm2022/tabs/core-tabs-panel.directive.js +61 -0
- package/esm2022/tabs/core-tabs-panel.directive.js.map +1 -0
- package/esm2022/tabs/core-tabs-root.directive.js +144 -0
- package/esm2022/tabs/core-tabs-root.directive.js.map +1 -0
- package/esm2022/tabs/index.js +10 -0
- package/esm2022/tabs/index.js.map +1 -0
- package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js +5 -0
- package/esm2022/tabs/qualcomm-ui-angular-core-tabs.js.map +1 -0
- package/esm2022/tabs/tab-context.service.js +14 -0
- package/esm2022/tabs/tab-context.service.js.map +1 -0
- package/esm2022/tabs/tabs-context.service.js +14 -0
- package/esm2022/tabs/tabs-context.service.js.map +1 -0
- package/esm2022/text-area/index.js +2 -0
- package/esm2022/text-area/index.js.map +1 -0
- package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js +5 -0
- package/esm2022/text-area/qualcomm-ui-angular-core-text-area.js.map +1 -0
- package/esm2022/text-input/core-text-input-clear-trigger.directive.js +19 -0
- package/esm2022/text-input/core-text-input-clear-trigger.directive.js.map +1 -0
- package/esm2022/text-input/core-text-input-error-indicator.directive.js +21 -0
- package/esm2022/text-input/core-text-input-error-indicator.directive.js.map +1 -0
- package/esm2022/text-input/core-text-input-error-text.directive.js +26 -0
- package/esm2022/text-input/core-text-input-error-text.directive.js.map +1 -0
- package/esm2022/text-input/core-text-input-hint.directive.js +26 -0
- package/esm2022/text-input/core-text-input-hint.directive.js.map +1 -0
- package/esm2022/text-input/core-text-input-input-group.directive.js +21 -0
- package/esm2022/text-input/core-text-input-input-group.directive.js.map +1 -0
- package/esm2022/text-input/core-text-input-input.directive.js +28 -0
- package/esm2022/text-input/core-text-input-input.directive.js.map +1 -0
- package/esm2022/text-input/core-text-input-label.directive.js +26 -0
- package/esm2022/text-input/core-text-input-label.directive.js.map +1 -0
- package/esm2022/text-input/core-text-input-root.directive.js +82 -0
- package/esm2022/text-input/core-text-input-root.directive.js.map +1 -0
- package/esm2022/text-input/index.js +10 -0
- package/esm2022/text-input/index.js.map +1 -0
- package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js +5 -0
- package/esm2022/text-input/qualcomm-ui-angular-core-text-input.js.map +1 -0
- package/esm2022/text-input/text-input-context.service.js +14 -0
- package/esm2022/text-input/text-input-context.service.js.map +1 -0
- package/esm2022/toast/core-toast-action.directive.js +21 -0
- package/esm2022/toast/core-toast-action.directive.js.map +1 -0
- package/esm2022/toast/core-toast-close-trigger.directive.js +21 -0
- package/esm2022/toast/core-toast-close-trigger.directive.js.map +1 -0
- package/esm2022/toast/core-toast-description.directive.js +23 -0
- package/esm2022/toast/core-toast-description.directive.js.map +1 -0
- package/esm2022/toast/core-toast-label.directive.js +21 -0
- package/esm2022/toast/core-toast-label.directive.js.map +1 -0
- package/esm2022/toast/core-toast-root.directive.js +21 -0
- package/esm2022/toast/core-toast-root.directive.js.map +1 -0
- package/esm2022/toast/core-toaster.directive.js +55 -0
- package/esm2022/toast/core-toaster.directive.js.map +1 -0
- package/esm2022/toast/index.js +9 -0
- package/esm2022/toast/index.js.map +1 -0
- package/esm2022/toast/qualcomm-ui-angular-core-toast.js +5 -0
- package/esm2022/toast/qualcomm-ui-angular-core-toast.js.map +1 -0
- package/esm2022/toast/toast-context.service.js +14 -0
- package/esm2022/toast/toast-context.service.js.map +1 -0
- package/esm2022/toast/toast-group-context.service.js +14 -0
- package/esm2022/toast/toast-group-context.service.js.map +1 -0
- package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js +19 -0
- package/esm2022/tooltip/core-tooltip-arrow-tip.directive.js.map +1 -0
- package/esm2022/tooltip/core-tooltip-arrow.directive.js +30 -0
- package/esm2022/tooltip/core-tooltip-arrow.directive.js.map +1 -0
- package/esm2022/tooltip/core-tooltip-content.directive.js +30 -0
- package/esm2022/tooltip/core-tooltip-content.directive.js.map +1 -0
- package/esm2022/tooltip/core-tooltip-positioner.directive.js +30 -0
- package/esm2022/tooltip/core-tooltip-positioner.directive.js.map +1 -0
- package/esm2022/tooltip/core-tooltip-root.directive.js +82 -0
- package/esm2022/tooltip/core-tooltip-root.directive.js.map +1 -0
- package/esm2022/tooltip/core-tooltip-trigger.directive.js +30 -0
- package/esm2022/tooltip/core-tooltip-trigger.directive.js.map +1 -0
- package/esm2022/tooltip/index.js +8 -0
- package/esm2022/tooltip/index.js.map +1 -0
- package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js +5 -0
- package/esm2022/tooltip/qualcomm-ui-angular-core-tooltip.js.map +1 -0
- package/esm2022/tooltip/tooltip-context.service.js +14 -0
- package/esm2022/tooltip/tooltip-context.service.js.map +1 -0
- package/esm2022/virtual/index.js +3 -0
- package/esm2022/virtual/index.js.map +1 -0
- package/esm2022/virtual/proxy.js +95 -0
- package/esm2022/virtual/proxy.js.map +1 -0
- package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js +5 -0
- package/esm2022/virtual/qualcomm-ui-angular-core-virtual.js.map +1 -0
- package/esm2022/virtual/types.js +4 -0
- package/esm2022/virtual/types.js.map +1 -0
- package/esm2022/virtual/virtual.js +89 -0
- package/esm2022/virtual/virtual.js.map +1 -0
- package/events/index.d.ts +3 -0
- package/events/index.d.ts.map +1 -0
- package/events/listener.service.d.ts +27 -0
- package/events/listener.service.d.ts.map +1 -0
- package/events/qualcomm-ui-angular-core-events.d.ts +6 -0
- package/events/qualcomm-ui-angular-core-events.d.ts.map +1 -0
- package/events/use-copy-to-clipboard.d.ts +9 -0
- package/events/use-copy-to-clipboard.d.ts.map +1 -0
- package/forms/form-utils.d.ts +17 -0
- package/forms/form-utils.d.ts.map +1 -0
- package/forms/index.d.ts +3 -0
- package/forms/index.d.ts.map +1 -0
- package/forms/qualcomm-ui-angular-core-forms.d.ts +6 -0
- package/forms/qualcomm-ui-angular-core-forms.d.ts.map +1 -0
- package/forms/use-forbidden-form-control-warning.d.ts +16 -0
- package/forms/use-forbidden-form-control-warning.d.ts.map +1 -0
- package/highlight/highlight.directive.d.ts +28 -0
- package/highlight/highlight.directive.d.ts.map +1 -0
- package/highlight/index.d.ts +2 -0
- package/highlight/index.d.ts.map +1 -0
- package/highlight/qualcomm-ui-angular-core-highlight.d.ts +6 -0
- package/highlight/qualcomm-ui-angular-core-highlight.d.ts.map +1 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -0
- package/inline-notification/core-inline-notification-action.directive.d.ts +13 -0
- package/inline-notification/core-inline-notification-action.directive.d.ts.map +1 -0
- package/inline-notification/core-inline-notification-close-trigger.directive.d.ts +20 -0
- package/inline-notification/core-inline-notification-close-trigger.directive.d.ts.map +1 -0
- package/inline-notification/core-inline-notification-description.directive.d.ts +20 -0
- package/inline-notification/core-inline-notification-description.directive.d.ts.map +1 -0
- package/inline-notification/core-inline-notification-icon.directive.d.ts +13 -0
- package/inline-notification/core-inline-notification-icon.directive.d.ts.map +1 -0
- package/inline-notification/core-inline-notification-label.directive.d.ts +20 -0
- package/inline-notification/core-inline-notification-label.directive.d.ts.map +1 -0
- package/inline-notification/core-inline-notification-root.directive.d.ts +50 -0
- package/inline-notification/core-inline-notification-root.directive.d.ts.map +1 -0
- package/inline-notification/index.d.ts +8 -0
- package/inline-notification/index.d.ts.map +1 -0
- package/inline-notification/inline-notification-context.service.d.ts +9 -0
- package/inline-notification/inline-notification-context.service.d.ts.map +1 -0
- package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts +6 -0
- package/inline-notification/qualcomm-ui-angular-core-inline-notification.d.ts.map +1 -0
- package/input/abstract-input-form-control.directive.d.ts +72 -0
- package/input/abstract-input-form-control.directive.d.ts.map +1 -0
- package/input/abstract-list-collection-form-control.directive.d.ts +81 -0
- package/input/abstract-list-collection-form-control.directive.d.ts.map +1 -0
- package/input/index.d.ts +4 -0
- package/input/index.d.ts.map +1 -0
- package/input/input-form-control-provider.d.ts +38 -0
- package/input/input-form-control-provider.d.ts.map +1 -0
- package/input/qualcomm-ui-angular-core-input.d.ts +6 -0
- package/input/qualcomm-ui-angular-core-input.d.ts.map +1 -0
- package/locale/index.d.ts +3 -0
- package/locale/index.d.ts.map +1 -0
- package/locale/locale-context.service.d.ts +9 -0
- package/locale/locale-context.service.d.ts.map +1 -0
- package/locale/qualcomm-ui-angular-core-locale.d.ts +6 -0
- package/locale/qualcomm-ui-angular-core-locale.d.ts.map +1 -0
- package/locale/use-filter.d.ts +8 -0
- package/locale/use-filter.d.ts.map +1 -0
- package/lorem-ipsum/index.d.ts +2 -0
- package/lorem-ipsum/index.d.ts.map +1 -0
- package/lorem-ipsum/lorem-ipsum.directive.d.ts +44 -0
- package/lorem-ipsum/lorem-ipsum.directive.d.ts.map +1 -0
- package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts +6 -0
- package/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.d.ts.map +1 -0
- package/lucide/index.d.ts +3 -0
- package/lucide/index.d.ts.map +1 -0
- package/lucide/lucide.types.d.ts +40 -0
- package/lucide/lucide.types.d.ts.map +1 -0
- package/lucide/provide-icons.d.ts +11 -0
- package/lucide/provide-icons.d.ts.map +1 -0
- package/lucide/qualcomm-ui-angular-core-lucide.d.ts +6 -0
- package/lucide/qualcomm-ui-angular-core-lucide.d.ts.map +1 -0
- package/machine/api-context.directive.d.ts +20 -0
- package/machine/api-context.directive.d.ts.map +1 -0
- package/machine/api-context.service.d.ts +32 -0
- package/machine/api-context.service.d.ts.map +1 -0
- package/machine/bindable-id-collection.d.ts +3 -0
- package/machine/bindable-id-collection.d.ts.map +1 -0
- package/machine/bindable-id.d.ts +3 -0
- package/machine/bindable-id.d.ts.map +1 -0
- package/machine/bindable.d.ts +10 -0
- package/machine/bindable.d.ts.map +1 -0
- package/machine/index.d.ts +14 -0
- package/machine/index.d.ts.map +1 -0
- package/machine/machine.types.d.ts +8 -0
- package/machine/machine.types.d.ts.map +1 -0
- package/machine/merge-props.d.ts +20 -0
- package/machine/merge-props.d.ts.map +1 -0
- package/machine/normalize-props.d.ts +4 -0
- package/machine/normalize-props.d.ts.map +1 -0
- package/machine/q-bind.directive.d.ts +44 -0
- package/machine/q-bind.directive.d.ts.map +1 -0
- package/machine/qualcomm-ui-angular-core-machine.d.ts +6 -0
- package/machine/qualcomm-ui-angular-core-machine.d.ts.map +1 -0
- package/machine/refs.d.ts +5 -0
- package/machine/refs.d.ts.map +1 -0
- package/machine/track.d.ts +3 -0
- package/machine/track.d.ts.map +1 -0
- package/machine/use-machine.d.ts +12 -0
- package/machine/use-machine.d.ts.map +1 -0
- package/machine/use-track-bindings.d.ts +60 -0
- package/machine/use-track-bindings.d.ts.map +1 -0
- package/menu/base-menu-item.directive.d.ts +40 -0
- package/menu/base-menu-item.directive.d.ts.map +1 -0
- package/menu/core-menu-checkbox-item.directive.d.ts +35 -0
- package/menu/core-menu-checkbox-item.directive.d.ts.map +1 -0
- package/menu/core-menu-content.directive.d.ts +25 -0
- package/menu/core-menu-content.directive.d.ts.map +1 -0
- package/menu/core-menu-context-trigger.directive.d.ts +20 -0
- package/menu/core-menu-context-trigger.directive.d.ts.map +1 -0
- package/menu/core-menu-item-group-label.directive.d.ts +15 -0
- package/menu/core-menu-item-group-label.directive.d.ts.map +1 -0
- package/menu/core-menu-item-group.directive.d.ts +21 -0
- package/menu/core-menu-item-group.directive.d.ts.map +1 -0
- package/menu/core-menu-item-indicator.directive.d.ts +15 -0
- package/menu/core-menu-item-indicator.directive.d.ts.map +1 -0
- package/menu/core-menu-item-label.directive.d.ts +15 -0
- package/menu/core-menu-item-label.directive.d.ts.map +1 -0
- package/menu/core-menu-item-root.directive.d.ts +16 -0
- package/menu/core-menu-item-root.directive.d.ts.map +1 -0
- package/menu/core-menu-positioner.directive.d.ts +22 -0
- package/menu/core-menu-positioner.directive.d.ts.map +1 -0
- package/menu/core-menu-radio-item-group.directive.d.ts +33 -0
- package/menu/core-menu-radio-item-group.directive.d.ts.map +1 -0
- package/menu/core-menu-radio-item.directive.d.ts +18 -0
- package/menu/core-menu-radio-item.directive.d.ts.map +1 -0
- package/menu/core-menu-root.directive.d.ts +131 -0
- package/menu/core-menu-root.directive.d.ts.map +1 -0
- package/menu/core-menu-separator.directive.d.ts +13 -0
- package/menu/core-menu-separator.directive.d.ts.map +1 -0
- package/menu/core-menu-trigger-item.directive.d.ts +21 -0
- package/menu/core-menu-trigger-item.directive.d.ts.map +1 -0
- package/menu/core-menu-trigger.directive.d.ts +22 -0
- package/menu/core-menu-trigger.directive.d.ts.map +1 -0
- package/menu/index.d.ts +24 -0
- package/menu/index.d.ts.map +1 -0
- package/menu/menu-context.service.d.ts +9 -0
- package/menu/menu-context.service.d.ts.map +1 -0
- package/menu/menu-item-context.service.d.ts +11 -0
- package/menu/menu-item-context.service.d.ts.map +1 -0
- package/menu/menu-item-group-context.service.d.ts +9 -0
- package/menu/menu-item-group-context.service.d.ts.map +1 -0
- package/menu/menu-machine-context.service.d.ts +10 -0
- package/menu/menu-machine-context.service.d.ts.map +1 -0
- package/menu/menu-option-item-context.service.d.ts +11 -0
- package/menu/menu-option-item-context.service.d.ts.map +1 -0
- package/menu/menu-radio-item-group-context.service.d.ts +9 -0
- package/menu/menu-radio-item-group-context.service.d.ts.map +1 -0
- package/menu/menu-trigger-context.service.d.ts +9 -0
- package/menu/menu-trigger-context.service.d.ts.map +1 -0
- package/menu/qualcomm-ui-angular-core-menu.d.ts +6 -0
- package/menu/qualcomm-ui-angular-core-menu.d.ts.map +1 -0
- package/number-input/abstract-number-input-form-control.directive.d.ts +80 -0
- package/number-input/abstract-number-input-form-control.directive.d.ts.map +1 -0
- package/number-input/core-number-input-control.directive.d.ts +13 -0
- package/number-input/core-number-input-control.directive.d.ts.map +1 -0
- package/number-input/core-number-input-decrement-trigger.directive.d.ts +16 -0
- package/number-input/core-number-input-decrement-trigger.directive.d.ts.map +1 -0
- package/number-input/core-number-input-error-indicator.directive.d.ts +13 -0
- package/number-input/core-number-input-error-indicator.directive.d.ts.map +1 -0
- package/number-input/core-number-input-error-text.directive.d.ts +16 -0
- package/number-input/core-number-input-error-text.directive.d.ts.map +1 -0
- package/number-input/core-number-input-hint.directive.d.ts +16 -0
- package/number-input/core-number-input-hint.directive.d.ts.map +1 -0
- package/number-input/core-number-input-increment-trigger.directive.d.ts +16 -0
- package/number-input/core-number-input-increment-trigger.directive.d.ts.map +1 -0
- package/number-input/core-number-input-input-group.directive.d.ts +13 -0
- package/number-input/core-number-input-input-group.directive.d.ts.map +1 -0
- package/number-input/core-number-input-input.directive.d.ts +16 -0
- package/number-input/core-number-input-input.directive.d.ts.map +1 -0
- package/number-input/core-number-input-label.directive.d.ts +16 -0
- package/number-input/core-number-input-label.directive.d.ts.map +1 -0
- package/number-input/core-number-input-root.directive.d.ts +108 -0
- package/number-input/core-number-input-root.directive.d.ts.map +1 -0
- package/number-input/index.d.ts +14 -0
- package/number-input/index.d.ts.map +1 -0
- package/number-input/number-input-context.service.d.ts +9 -0
- package/number-input/number-input-context.service.d.ts.map +1 -0
- package/number-input/number-input.validators.d.ts +7 -0
- package/number-input/number-input.validators.d.ts.map +1 -0
- package/number-input/qualcomm-ui-angular-core-number-input.d.ts +6 -0
- package/number-input/qualcomm-ui-angular-core-number-input.d.ts.map +1 -0
- package/observers/index.d.ts +2 -0
- package/observers/index.d.ts.map +1 -0
- package/observers/intersection-observer.directive.d.ts +13 -0
- package/observers/intersection-observer.directive.d.ts.map +1 -0
- package/observers/qualcomm-ui-angular-core-observers.d.ts +6 -0
- package/observers/qualcomm-ui-angular-core-observers.d.ts.map +1 -0
- package/package.json +208 -0
- package/pagination/core-pagination-next-trigger.directive.d.ts +10 -0
- package/pagination/core-pagination-next-trigger.directive.d.ts.map +1 -0
- package/pagination/core-pagination-page-item.directive.d.ts +16 -0
- package/pagination/core-pagination-page-item.directive.d.ts.map +1 -0
- package/pagination/core-pagination-page-items.directive.d.ts +12 -0
- package/pagination/core-pagination-page-items.directive.d.ts.map +1 -0
- package/pagination/core-pagination-page-metadata.directive.d.ts +10 -0
- package/pagination/core-pagination-page-metadata.directive.d.ts.map +1 -0
- package/pagination/core-pagination-page-size-label.directive.d.ts +13 -0
- package/pagination/core-pagination-page-size-label.directive.d.ts.map +1 -0
- package/pagination/core-pagination-page-size.directive.d.ts +19 -0
- package/pagination/core-pagination-page-size.directive.d.ts.map +1 -0
- package/pagination/core-pagination-prev-trigger.directive.d.ts +10 -0
- package/pagination/core-pagination-prev-trigger.directive.d.ts.map +1 -0
- package/pagination/core-pagination-root.directive.d.ts +83 -0
- package/pagination/core-pagination-root.directive.d.ts.map +1 -0
- package/pagination/index.d.ts +10 -0
- package/pagination/index.d.ts.map +1 -0
- package/pagination/pagination-context.service.d.ts +9 -0
- package/pagination/pagination-context.service.d.ts.map +1 -0
- package/pagination/qualcomm-ui-angular-core-pagination.d.ts +6 -0
- package/pagination/qualcomm-ui-angular-core-pagination.d.ts.map +1 -0
- package/password-input/core-password-input-clear-trigger.directive.d.ts +13 -0
- package/password-input/core-password-input-clear-trigger.directive.d.ts.map +1 -0
- package/password-input/core-password-input-error-indicator.directive.d.ts +13 -0
- package/password-input/core-password-input-error-indicator.directive.d.ts.map +1 -0
- package/password-input/core-password-input-error-text.directive.d.ts +20 -0
- package/password-input/core-password-input-error-text.directive.d.ts.map +1 -0
- package/password-input/core-password-input-hint.directive.d.ts +20 -0
- package/password-input/core-password-input-hint.directive.d.ts.map +1 -0
- package/password-input/core-password-input-input-group.directive.d.ts +13 -0
- package/password-input/core-password-input-input-group.directive.d.ts.map +1 -0
- package/password-input/core-password-input-input.directive.d.ts +20 -0
- package/password-input/core-password-input-input.directive.d.ts.map +1 -0
- package/password-input/core-password-input-label.directive.d.ts +20 -0
- package/password-input/core-password-input-label.directive.d.ts.map +1 -0
- package/password-input/core-password-input-root.directive.d.ts +60 -0
- package/password-input/core-password-input-root.directive.d.ts.map +1 -0
- package/password-input/core-password-input-visibility-trigger.directive.d.ts +20 -0
- package/password-input/core-password-input-visibility-trigger.directive.d.ts.map +1 -0
- package/password-input/index.d.ts +11 -0
- package/password-input/index.d.ts.map +1 -0
- package/password-input/password-input-context.service.d.ts +9 -0
- package/password-input/password-input-context.service.d.ts.map +1 -0
- package/password-input/qualcomm-ui-angular-core-password-input.d.ts +6 -0
- package/password-input/qualcomm-ui-angular-core-password-input.d.ts.map +1 -0
- package/popover/core-popover-anchor.directive.d.ts +17 -0
- package/popover/core-popover-anchor.directive.d.ts.map +1 -0
- package/popover/core-popover-arrow-tip.directive.d.ts +10 -0
- package/popover/core-popover-arrow-tip.directive.d.ts.map +1 -0
- package/popover/core-popover-arrow.directive.d.ts +17 -0
- package/popover/core-popover-arrow.directive.d.ts.map +1 -0
- package/popover/core-popover-close-trigger.directive.d.ts +17 -0
- package/popover/core-popover-close-trigger.directive.d.ts.map +1 -0
- package/popover/core-popover-content.directive.d.ts +17 -0
- package/popover/core-popover-content.directive.d.ts.map +1 -0
- package/popover/core-popover-description.directive.d.ts +17 -0
- package/popover/core-popover-description.directive.d.ts.map +1 -0
- package/popover/core-popover-label.directive.d.ts +17 -0
- package/popover/core-popover-label.directive.d.ts.map +1 -0
- package/popover/core-popover-positioner.directive.d.ts +17 -0
- package/popover/core-popover-positioner.directive.d.ts.map +1 -0
- package/popover/core-popover-root.directive.d.ts +123 -0
- package/popover/core-popover-root.directive.d.ts.map +1 -0
- package/popover/core-popover-trigger.directive.d.ts +17 -0
- package/popover/core-popover-trigger.directive.d.ts.map +1 -0
- package/popover/index.d.ts +12 -0
- package/popover/index.d.ts.map +1 -0
- package/popover/popover-context.service.d.ts +9 -0
- package/popover/popover-context.service.d.ts.map +1 -0
- package/popover/qualcomm-ui-angular-core-popover.d.ts +6 -0
- package/popover/qualcomm-ui-angular-core-popover.d.ts.map +1 -0
- package/portal/index.d.ts +4 -0
- package/portal/index.d.ts.map +1 -0
- package/portal/portal-context.service.d.ts +9 -0
- package/portal/portal-context.service.d.ts.map +1 -0
- package/portal/portal.component.d.ts +37 -0
- package/portal/portal.component.d.ts.map +1 -0
- package/portal/portal.directive.d.ts +27 -0
- package/portal/portal.directive.d.ts.map +1 -0
- package/portal/qualcomm-ui-angular-core-portal.d.ts +6 -0
- package/portal/qualcomm-ui-angular-core-portal.d.ts.map +1 -0
- package/presence/core-presence.directive.d.ts +44 -0
- package/presence/core-presence.directive.d.ts.map +1 -0
- package/presence/index.d.ts +5 -0
- package/presence/index.d.ts.map +1 -0
- package/presence/presence-context.service.d.ts +22 -0
- package/presence/presence-context.service.d.ts.map +1 -0
- package/presence/qualcomm-ui-angular-core-presence.d.ts +6 -0
- package/presence/qualcomm-ui-angular-core-presence.d.ts.map +1 -0
- package/presence/render-strategy-context.service.d.ts +9 -0
- package/presence/render-strategy-context.service.d.ts.map +1 -0
- package/presence/use-presence-renderer.d.ts +20 -0
- package/presence/use-presence-renderer.d.ts.map +1 -0
- package/progress/core-base-progress.directive.d.ts +45 -0
- package/progress/core-base-progress.directive.d.ts.map +1 -0
- package/progress/core-progress-bar.directive.d.ts +13 -0
- package/progress/core-progress-bar.directive.d.ts.map +1 -0
- package/progress/core-progress-error-text.directive.d.ts +20 -0
- package/progress/core-progress-error-text.directive.d.ts.map +1 -0
- package/progress/core-progress-hint.directive.d.ts +20 -0
- package/progress/core-progress-hint.directive.d.ts.map +1 -0
- package/progress/core-progress-label.directive.d.ts +20 -0
- package/progress/core-progress-label.directive.d.ts.map +1 -0
- package/progress/core-progress-root.directive.d.ts +16 -0
- package/progress/core-progress-root.directive.d.ts.map +1 -0
- package/progress/core-progress-track.directive.d.ts +20 -0
- package/progress/core-progress-track.directive.d.ts.map +1 -0
- package/progress/core-progress-value-text.directive.d.ts +13 -0
- package/progress/core-progress-value-text.directive.d.ts.map +1 -0
- package/progress/index.d.ts +10 -0
- package/progress/index.d.ts.map +1 -0
- package/progress/progress-context.service.d.ts +9 -0
- package/progress/progress-context.service.d.ts.map +1 -0
- package/progress/qualcomm-ui-angular-core-progress.d.ts +6 -0
- package/progress/qualcomm-ui-angular-core-progress.d.ts.map +1 -0
- package/progress-ring/core-progress-ring-bar.directive.d.ts +13 -0
- package/progress-ring/core-progress-ring-bar.directive.d.ts.map +1 -0
- package/progress-ring/core-progress-ring-circle.directive.d.ts +20 -0
- package/progress-ring/core-progress-ring-circle.directive.d.ts.map +1 -0
- package/progress-ring/core-progress-ring-error-text.directive.d.ts +20 -0
- package/progress-ring/core-progress-ring-error-text.directive.d.ts.map +1 -0
- package/progress-ring/core-progress-ring-label.directive.d.ts +20 -0
- package/progress-ring/core-progress-ring-label.directive.d.ts.map +1 -0
- package/progress-ring/core-progress-ring-root.directive.d.ts +16 -0
- package/progress-ring/core-progress-ring-root.directive.d.ts.map +1 -0
- package/progress-ring/core-progress-ring-track.directive.d.ts +13 -0
- package/progress-ring/core-progress-ring-track.directive.d.ts.map +1 -0
- package/progress-ring/core-progress-ring-value-text.directive.d.ts +13 -0
- package/progress-ring/core-progress-ring-value-text.directive.d.ts.map +1 -0
- package/progress-ring/index.d.ts +9 -0
- package/progress-ring/index.d.ts.map +1 -0
- package/progress-ring/progress-ring-context.service.d.ts +9 -0
- package/progress-ring/progress-ring-context.service.d.ts.map +1 -0
- package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts +6 -0
- package/progress-ring/qualcomm-ui-angular-core-progress-ring.d.ts.map +1 -0
- package/qualcomm-ui-angular-core.d.ts +6 -0
- package/qualcomm-ui-angular-core.d.ts.map +1 -0
- package/radio/abstract-radio-form-control.directive.d.ts +79 -0
- package/radio/abstract-radio-form-control.directive.d.ts.map +1 -0
- package/radio/core-radio-group-error-text.directive.d.ts +20 -0
- package/radio/core-radio-group-error-text.directive.d.ts.map +1 -0
- package/radio/core-radio-group-items.directive.d.ts +13 -0
- package/radio/core-radio-group-items.directive.d.ts.map +1 -0
- package/radio/core-radio-group-label.directive.d.ts +23 -0
- package/radio/core-radio-group-label.directive.d.ts.map +1 -0
- package/radio/core-radio-group.directive.d.ts +43 -0
- package/radio/core-radio-group.directive.d.ts.map +1 -0
- package/radio/core-radio-item-control.directive.d.ts +14 -0
- package/radio/core-radio-item-control.directive.d.ts.map +1 -0
- package/radio/core-radio-item-hidden-input.directive.d.ts +24 -0
- package/radio/core-radio-item-hidden-input.directive.d.ts.map +1 -0
- package/radio/core-radio-item-label.directive.d.ts +24 -0
- package/radio/core-radio-item-label.directive.d.ts.map +1 -0
- package/radio/core-radio-root.directive.d.ts +41 -0
- package/radio/core-radio-root.directive.d.ts.map +1 -0
- package/radio/index.d.ts +12 -0
- package/radio/index.d.ts.map +1 -0
- package/radio/qualcomm-ui-angular-core-radio.d.ts +6 -0
- package/radio/qualcomm-ui-angular-core-radio.d.ts.map +1 -0
- package/radio/radio-context.service.d.ts +9 -0
- package/radio/radio-context.service.d.ts.map +1 -0
- package/radio/radio-item-context.service.d.ts +9 -0
- package/radio/radio-item-context.service.d.ts.map +1 -0
- package/segmented-control/core-segmented-control-hidden-input.directive.d.ts +23 -0
- package/segmented-control/core-segmented-control-hidden-input.directive.d.ts.map +1 -0
- package/segmented-control/core-segmented-control-item-text.directive.d.ts +23 -0
- package/segmented-control/core-segmented-control-item-text.directive.d.ts.map +1 -0
- package/segmented-control/core-segmented-control-item.directive.d.ts +28 -0
- package/segmented-control/core-segmented-control-item.directive.d.ts.map +1 -0
- package/segmented-control/core-segmented-control-root.directive.d.ts +53 -0
- package/segmented-control/core-segmented-control-root.directive.d.ts.map +1 -0
- package/segmented-control/index.d.ts +6 -0
- package/segmented-control/index.d.ts.map +1 -0
- package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts +6 -0
- package/segmented-control/qualcomm-ui-angular-core-segmented-control.d.ts.map +1 -0
- package/segmented-control/segmented-control-context.service.d.ts +9 -0
- package/segmented-control/segmented-control-context.service.d.ts.map +1 -0
- package/select/core-select-clear-trigger.directive.d.ts +20 -0
- package/select/core-select-clear-trigger.directive.d.ts.map +1 -0
- package/select/core-select-content.directive.d.ts +20 -0
- package/select/core-select-content.directive.d.ts.map +1 -0
- package/select/core-select-control.directive.d.ts +20 -0
- package/select/core-select-control.directive.d.ts.map +1 -0
- package/select/core-select-error-indicator.directive.d.ts +13 -0
- package/select/core-select-error-indicator.directive.d.ts.map +1 -0
- package/select/core-select-error-text.directive.d.ts +20 -0
- package/select/core-select-error-text.directive.d.ts.map +1 -0
- package/select/core-select-hidden-select.directive.d.ts +20 -0
- package/select/core-select-hidden-select.directive.d.ts.map +1 -0
- package/select/core-select-hint.directive.d.ts +20 -0
- package/select/core-select-hint.directive.d.ts.map +1 -0
- package/select/core-select-indicator.directive.d.ts +13 -0
- package/select/core-select-indicator.directive.d.ts.map +1 -0
- package/select/core-select-item-indicator.directive.d.ts +14 -0
- package/select/core-select-item-indicator.directive.d.ts.map +1 -0
- package/select/core-select-item-text.directive.d.ts +14 -0
- package/select/core-select-item-text.directive.d.ts.map +1 -0
- package/select/core-select-item.directive.d.ts +26 -0
- package/select/core-select-item.directive.d.ts.map +1 -0
- package/select/core-select-label.directive.d.ts +20 -0
- package/select/core-select-label.directive.d.ts.map +1 -0
- package/select/core-select-positioner.directive.d.ts +20 -0
- package/select/core-select-positioner.directive.d.ts.map +1 -0
- package/select/core-select-root.directive.d.ts +130 -0
- package/select/core-select-root.directive.d.ts.map +1 -0
- package/select/core-select-value-text.directive.d.ts +17 -0
- package/select/core-select-value-text.directive.d.ts.map +1 -0
- package/select/index.d.ts +18 -0
- package/select/index.d.ts.map +1 -0
- package/select/qualcomm-ui-angular-core-select.d.ts +6 -0
- package/select/qualcomm-ui-angular-core-select.d.ts.map +1 -0
- package/select/select-context.service.d.ts +12 -0
- package/select/select-context.service.d.ts.map +1 -0
- package/select/select-item-context.service.d.ts +9 -0
- package/select/select-item-context.service.d.ts.map +1 -0
- package/signals/access-signal.d.ts +10 -0
- package/signals/access-signal.d.ts.map +1 -0
- package/signals/host-binding.d.ts +58 -0
- package/signals/host-binding.d.ts.map +1 -0
- package/signals/index.d.ts +6 -0
- package/signals/index.d.ts.map +1 -0
- package/signals/qualcomm-ui-angular-core-signals.d.ts +6 -0
- package/signals/qualcomm-ui-angular-core-signals.d.ts.map +1 -0
- package/signals/signalify-input.d.ts +9 -0
- package/signals/signalify-input.d.ts.map +1 -0
- package/signals/signalify-object.d.ts +5 -0
- package/signals/signalify-object.d.ts.map +1 -0
- package/signals/signals.types.d.ts +3 -0
- package/signals/signals.types.d.ts.map +1 -0
- package/state/controlled-state-legacy.d.ts +49 -0
- package/state/controlled-state-legacy.d.ts.map +1 -0
- package/state/controlled-state.service.d.ts +41 -0
- package/state/controlled-state.service.d.ts.map +1 -0
- package/state/index.d.ts +4 -0
- package/state/index.d.ts.map +1 -0
- package/state/qualcomm-ui-angular-core-state.d.ts +6 -0
- package/state/qualcomm-ui-angular-core-state.d.ts.map +1 -0
- package/state/use-controlled-state.d.ts +13 -0
- package/state/use-controlled-state.d.ts.map +1 -0
- package/switch/core-switch-control.directive.d.ts +13 -0
- package/switch/core-switch-control.directive.d.ts.map +1 -0
- package/switch/core-switch-error-text.directive.d.ts +20 -0
- package/switch/core-switch-error-text.directive.d.ts.map +1 -0
- package/switch/core-switch-hidden-input.directive.d.ts +20 -0
- package/switch/core-switch-hidden-input.directive.d.ts.map +1 -0
- package/switch/core-switch-label.directive.d.ts +20 -0
- package/switch/core-switch-label.directive.d.ts.map +1 -0
- package/switch/core-switch-root.directive.d.ts +48 -0
- package/switch/core-switch-root.directive.d.ts.map +1 -0
- package/switch/core-switch-thumb.directive.d.ts +13 -0
- package/switch/core-switch-thumb.directive.d.ts.map +1 -0
- package/switch/index.d.ts +8 -0
- package/switch/index.d.ts.map +1 -0
- package/switch/qualcomm-ui-angular-core-switch.d.ts +6 -0
- package/switch/qualcomm-ui-angular-core-switch.d.ts.map +1 -0
- package/switch/switch-context.service.d.ts +9 -0
- package/switch/switch-context.service.d.ts.map +1 -0
- package/tabs/core-tab-button.directive.d.ts +21 -0
- package/tabs/core-tab-button.directive.d.ts.map +1 -0
- package/tabs/core-tab-dismiss-button.directive.d.ts +14 -0
- package/tabs/core-tab-dismiss-button.directive.d.ts.map +1 -0
- package/tabs/core-tab-root.directive.d.ts +26 -0
- package/tabs/core-tab-root.directive.d.ts.map +1 -0
- package/tabs/core-tabs-indicator.directive.d.ts +20 -0
- package/tabs/core-tabs-indicator.directive.d.ts.map +1 -0
- package/tabs/core-tabs-list.directive.d.ts +20 -0
- package/tabs/core-tabs-list.directive.d.ts.map +1 -0
- package/tabs/core-tabs-panel.directive.d.ts +33 -0
- package/tabs/core-tabs-panel.directive.d.ts.map +1 -0
- package/tabs/core-tabs-root.directive.d.ts +103 -0
- package/tabs/core-tabs-root.directive.d.ts.map +1 -0
- package/tabs/index.d.ts +10 -0
- package/tabs/index.d.ts.map +1 -0
- package/tabs/qualcomm-ui-angular-core-tabs.d.ts +6 -0
- package/tabs/qualcomm-ui-angular-core-tabs.d.ts.map +1 -0
- package/tabs/tab-context.service.d.ts +9 -0
- package/tabs/tab-context.service.d.ts.map +1 -0
- package/tabs/tabs-context.service.d.ts +9 -0
- package/tabs/tabs-context.service.d.ts.map +1 -0
- package/text-area/index.d.ts +2 -0
- package/text-area/index.d.ts.map +1 -0
- package/text-area/qualcomm-ui-angular-core-text-area.d.ts +6 -0
- package/text-area/qualcomm-ui-angular-core-text-area.d.ts.map +1 -0
- package/text-input/core-text-input-clear-trigger.directive.d.ts +13 -0
- package/text-input/core-text-input-clear-trigger.directive.d.ts.map +1 -0
- package/text-input/core-text-input-error-indicator.directive.d.ts +13 -0
- package/text-input/core-text-input-error-indicator.directive.d.ts.map +1 -0
- package/text-input/core-text-input-error-text.directive.d.ts +16 -0
- package/text-input/core-text-input-error-text.directive.d.ts.map +1 -0
- package/text-input/core-text-input-hint.directive.d.ts +16 -0
- package/text-input/core-text-input-hint.directive.d.ts.map +1 -0
- package/text-input/core-text-input-input-group.directive.d.ts +13 -0
- package/text-input/core-text-input-input-group.directive.d.ts.map +1 -0
- package/text-input/core-text-input-input.directive.d.ts +16 -0
- package/text-input/core-text-input-input.directive.d.ts.map +1 -0
- package/text-input/core-text-input-label.directive.d.ts +16 -0
- package/text-input/core-text-input-label.directive.d.ts.map +1 -0
- package/text-input/core-text-input-root.directive.d.ts +36 -0
- package/text-input/core-text-input-root.directive.d.ts.map +1 -0
- package/text-input/index.d.ts +10 -0
- package/text-input/index.d.ts.map +1 -0
- package/text-input/qualcomm-ui-angular-core-text-input.d.ts +6 -0
- package/text-input/qualcomm-ui-angular-core-text-input.d.ts.map +1 -0
- package/text-input/text-input-context.service.d.ts +9 -0
- package/text-input/text-input-context.service.d.ts.map +1 -0
- package/toast/core-toast-action.directive.d.ts +13 -0
- package/toast/core-toast-action.directive.d.ts.map +1 -0
- package/toast/core-toast-close-trigger.directive.d.ts +13 -0
- package/toast/core-toast-close-trigger.directive.d.ts.map +1 -0
- package/toast/core-toast-description.directive.d.ts +14 -0
- package/toast/core-toast-description.directive.d.ts.map +1 -0
- package/toast/core-toast-label.directive.d.ts +13 -0
- package/toast/core-toast-label.directive.d.ts.map +1 -0
- package/toast/core-toast-root.directive.d.ts +13 -0
- package/toast/core-toast-root.directive.d.ts.map +1 -0
- package/toast/core-toaster.directive.d.ts +42 -0
- package/toast/core-toaster.directive.d.ts.map +1 -0
- package/toast/index.d.ts +9 -0
- package/toast/index.d.ts.map +1 -0
- package/toast/qualcomm-ui-angular-core-toast.d.ts +6 -0
- package/toast/qualcomm-ui-angular-core-toast.d.ts.map +1 -0
- package/toast/toast-context.service.d.ts +9 -0
- package/toast/toast-context.service.d.ts.map +1 -0
- package/toast/toast-group-context.service.d.ts +9 -0
- package/toast/toast-group-context.service.d.ts.map +1 -0
- package/tooltip/core-tooltip-arrow-tip.directive.d.ts +10 -0
- package/tooltip/core-tooltip-arrow-tip.directive.d.ts.map +1 -0
- package/tooltip/core-tooltip-arrow.directive.d.ts +17 -0
- package/tooltip/core-tooltip-arrow.directive.d.ts.map +1 -0
- package/tooltip/core-tooltip-content.directive.d.ts +17 -0
- package/tooltip/core-tooltip-content.directive.d.ts.map +1 -0
- package/tooltip/core-tooltip-positioner.directive.d.ts +17 -0
- package/tooltip/core-tooltip-positioner.directive.d.ts.map +1 -0
- package/tooltip/core-tooltip-root.directive.d.ts +53 -0
- package/tooltip/core-tooltip-root.directive.d.ts.map +1 -0
- package/tooltip/core-tooltip-trigger.directive.d.ts +17 -0
- package/tooltip/core-tooltip-trigger.directive.d.ts.map +1 -0
- package/tooltip/index.d.ts +8 -0
- package/tooltip/index.d.ts.map +1 -0
- package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts +6 -0
- package/tooltip/qualcomm-ui-angular-core-tooltip.d.ts.map +1 -0
- package/tooltip/tooltip-context.service.d.ts +9 -0
- package/tooltip/tooltip-context.service.d.ts.map +1 -0
- package/virtual/index.d.ts +4 -0
- package/virtual/index.d.ts.map +1 -0
- package/virtual/proxy.d.ts +5 -0
- package/virtual/proxy.d.ts.map +1 -0
- package/virtual/qualcomm-ui-angular-core-virtual.d.ts +6 -0
- package/virtual/qualcomm-ui-angular-core-virtual.d.ts.map +1 -0
- package/virtual/types.d.ts +14 -0
- package/virtual/types.d.ts.map +1 -0
- package/virtual/virtual.d.ts +12 -0
- package/virtual/virtual.d.ts.map +1 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, Directive } from "@angular/core";
|
|
4
|
+
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
+
import { useSelectContext } from "./select-context.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class CoreSelectValueTextDirective {
|
|
8
|
+
collection = computed(() => this.selectContext().collection, ...(ngDevMode ? [{ debugName: "collection" }] : []));
|
|
9
|
+
placeholder = computed(() => this.selectContext().placeholder, ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
10
|
+
valueAsString = computed(() => this.selectContext().valueAsString, ...(ngDevMode ? [{ debugName: "valueAsString" }] : []));
|
|
11
|
+
value = computed(() => this.selectContext().value, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
12
|
+
selectContext = useSelectContext();
|
|
13
|
+
trackBindings = useTrackBindings(() => this.selectContext().getValueTextBindings());
|
|
14
|
+
ngOnInit() {
|
|
15
|
+
this.trackBindings();
|
|
16
|
+
}
|
|
17
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSelectValueTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: CoreSelectValueTextDirective, isStandalone: true, ngImport: i0 });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreSelectValueTextDirective, decorators: [{
|
|
21
|
+
type: Directive
|
|
22
|
+
}] });
|
|
23
|
+
//# sourceMappingURL=core-select-value-text.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-select-value-text.directive.js","sourceRoot":"","sources":["../../../src/select/core-select-value-text.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAc,MAAM,eAAe,CAAA;AAE9D,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAA;;AAGzD,MAAM,OAAO,4BAA4B;IAC9B,UAAU,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,UAAU,sDAAC,CAAA;IAC5D,WAAW,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,WAAW,uDAAC,CAAA;IAC9D,aAAa,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,aAAa,yDAAC,CAAA;IAClE,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,KAAK,iDAAC,CAAA;IAExC,aAAa,GAAG,gBAAgB,EAAE,CAAA;IAElC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,aAAa,EAAE,CAAC,oBAAoB,EAAE,CAC5C,CAAA;IAED,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAdU,4BAA4B;4FAA5B,4BAA4B;;4FAA5B,4BAA4B;kBADxC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useSelectContext} from \"./select-context.service\"\n\n@Directive()\nexport class CoreSelectValueTextDirective implements OnInit {\n readonly collection = computed(() => this.selectContext().collection)\n readonly placeholder = computed(() => this.selectContext().placeholder)\n readonly valueAsString = computed(() => this.selectContext().valueAsString)\n readonly value = computed(() => this.selectContext().value)\n\n protected readonly selectContext = useSelectContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.selectContext().getValueTextBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from "./core-select-clear-trigger.directive";
|
|
2
|
+
export * from "./core-select-content.directive";
|
|
3
|
+
export * from "./core-select-control.directive";
|
|
4
|
+
export * from "./core-select-error-indicator.directive";
|
|
5
|
+
export * from "./core-select-error-text.directive";
|
|
6
|
+
export * from "./core-select-hidden-select.directive";
|
|
7
|
+
export * from "./core-select-hint.directive";
|
|
8
|
+
export * from "./core-select-indicator.directive";
|
|
9
|
+
export * from "./core-select-item-indicator.directive";
|
|
10
|
+
export * from "./core-select-item-text.directive";
|
|
11
|
+
export * from "./core-select-item.directive";
|
|
12
|
+
export * from "./core-select-label.directive";
|
|
13
|
+
export * from "./core-select-positioner.directive";
|
|
14
|
+
export * from "./core-select-root.directive";
|
|
15
|
+
export * from "./core-select-value-text.directive";
|
|
16
|
+
export * from "./select-context.service";
|
|
17
|
+
export * from "./select-item-context.service";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/select/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,iCAAiC,CAAA;AAC/C,cAAc,yCAAyC,CAAA;AACvD,cAAc,oCAAoC,CAAA;AAClD,cAAc,uCAAuC,CAAA;AACrD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,mCAAmC,CAAA;AACjD,cAAc,wCAAwC,CAAA;AACtD,cAAc,mCAAmC,CAAA;AACjD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oCAAoC,CAAA;AAClD,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oCAAoC,CAAA;AAClD,cAAc,0BAA0B,CAAA;AACxC,cAAc,+BAA+B,CAAA","sourcesContent":["export * from \"./core-select-clear-trigger.directive\"\nexport * from \"./core-select-content.directive\"\nexport * from \"./core-select-control.directive\"\nexport * from \"./core-select-error-indicator.directive\"\nexport * from \"./core-select-error-text.directive\"\nexport * from \"./core-select-hidden-select.directive\"\nexport * from \"./core-select-hint.directive\"\nexport * from \"./core-select-indicator.directive\"\nexport * from \"./core-select-item-indicator.directive\"\nexport * from \"./core-select-item-text.directive\"\nexport * from \"./core-select-item.directive\"\nexport * from \"./core-select-label.directive\"\nexport * from \"./core-select-positioner.directive\"\nexport * from \"./core-select-root.directive\"\nexport * from \"./core-select-value-text.directive\"\nexport * from \"./select-context.service\"\nexport * from \"./select-item-context.service\"\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-select.js","sourceRoot":"","sources":["../../../src/select/qualcomm-ui-angular-core-select.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 {} from "@qualcomm-ui/core/select";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class SelectContextService extends BaseApiContextService {
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SelectContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
9
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SelectContextService });
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SelectContextService, decorators: [{
|
|
12
|
+
type: Injectable
|
|
13
|
+
}] });
|
|
14
|
+
export const [SELECT_CONTEXT, useSelectContext, provideSelectContext,] = createApiContext("SelectContext", SelectContextService);
|
|
15
|
+
//# sourceMappingURL=select-context.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-context.service.js","sourceRoot":"","sources":["../../../src/select/select-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;AAC1C,OAAO,EAGN,MAAM,0BAA0B,CAAA;;AAOjC,MAAM,OAAO,oBAAqB,SAAQ,qBAAgC;wGAA7D,oBAAoB;4GAApB,oBAAoB;;4FAApB,oBAAoB;kBADhC,UAAU;;AAGX,MAAM,CAAC,MAAM,CACX,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACrB,GAA0B,gBAAgB,CACzC,eAAe,EACf,oBAAoB,CACrB,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 {\n type SelectApi,\n type SelectValueChangeDetails,\n} from \"@qualcomm-ui/core/select\"\n\nexport interface SelectValueChangeEvent<T> extends SelectValueChangeDetails<T> {\n value: string[]\n}\n\n@Injectable()\nexport class SelectContextService extends BaseApiContextService<SelectApi> {}\n\nexport const [\n SELECT_CONTEXT,\n useSelectContext,\n provideSelectContext,\n]: ApiContext<SelectApi> = createApiContext<SelectApi>(\n \"SelectContext\",\n SelectContextService,\n)\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 SelectItemContextService extends BaseApiContextService {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SelectItemContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
8
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SelectItemContextService });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SelectItemContextService, decorators: [{
|
|
11
|
+
type: Injectable
|
|
12
|
+
}] });
|
|
13
|
+
export const [SELECT_ITEM_CONTEXT, useSelectItemContext, provideSelectItemContext,] = createApiContext("SelectItemContext", SelectItemContextService);
|
|
14
|
+
//# sourceMappingURL=select-item-context.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select-item-context.service.js","sourceRoot":"","sources":["../../../src/select/select-item-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,wBAAyB,SAAQ,qBAAgC;wGAAjE,wBAAwB;4GAAxB,wBAAwB;;4FAAxB,wBAAwB;kBADpC,UAAU;;AAGX,MAAM,CAAC,MAAM,CACX,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACzB,GAA0B,gBAAgB,CACzC,mBAAmB,EACnB,wBAAwB,CACzB,CAAA","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\r\n// SPDX-License-Identifier: BSD-3-Clause-Clear\r\n\r\nimport {Injectable} from \"@angular/core\"\r\n\r\nimport {\r\n type ApiContext,\r\n BaseApiContextService,\r\n createApiContext,\r\n} from \"@qualcomm-ui/angular-core/machine\"\r\nimport type {ItemState} from \"@qualcomm-ui/core/select\"\r\n\r\n@Injectable()\r\nexport class SelectItemContextService extends BaseApiContextService<ItemState> {}\r\n\r\nexport const [\r\n SELECT_ITEM_CONTEXT,\r\n useSelectItemContext,\r\n provideSelectItemContext,\r\n]: ApiContext<ItemState> = createApiContext<ItemState>(\r\n \"SelectItemContext\",\r\n SelectItemContextService,\r\n)\r\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { isSignal } from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Accesses the value of a signal if the provided input is a signal; otherwise,
|
|
6
|
+
* returns the input directly.
|
|
7
|
+
*
|
|
8
|
+
* @param {T | Signal<T>} maybeSignal - The input which can either be a signal or a direct value of type T.
|
|
9
|
+
* @return {T} The resolved value of the signal if the input is a signal, or the input value itself if it is not a signal.
|
|
10
|
+
*/
|
|
11
|
+
export function accessSignal(maybeSignal) {
|
|
12
|
+
if (!maybeSignal) {
|
|
13
|
+
return maybeSignal;
|
|
14
|
+
}
|
|
15
|
+
return isSignal(maybeSignal) ? maybeSignal() : maybeSignal;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=access-signal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"access-signal.js","sourceRoot":"","sources":["../../../src/signals/access-signal.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAC,MAAM,eAAe,CAAA;AAItC;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAAI,WAA2B;IACzD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,OAAO,WAA2B,CAAA;IACpC,CAAC;IACD,OAAO,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,WAAW,CAAA;AAC5D,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {isSignal} from \"@angular/core\"\n\nimport type {MaybeSignal} from \"./signals.types\"\n\n/**\n * Accesses the value of a signal if the provided input is a signal; otherwise,\n * returns the input directly.\n *\n * @param {T | Signal<T>} maybeSignal - The input which can either be a signal or a direct value of type T.\n * @return {T} The resolved value of the signal if the input is a signal, or the input value itself if it is not a signal.\n */\nexport function accessSignal<T>(maybeSignal: MaybeSignal<T>): T {\n if (!maybeSignal) {\n return maybeSignal as unknown as T\n }\n return isSignal(maybeSignal) ? maybeSignal() : maybeSignal\n}\n"]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { assertInInjectionContext, effect, ElementRef, inject, Injector, Renderer2, RendererStyleFlags2, runInInjectionContext, } from "@angular/core";
|
|
4
|
+
export function assertInjector(fn, injector, runner) {
|
|
5
|
+
if (!injector) {
|
|
6
|
+
assertInInjectionContext(fn);
|
|
7
|
+
}
|
|
8
|
+
const assertedInjector = injector ?? inject(Injector);
|
|
9
|
+
if (!runner) {
|
|
10
|
+
return assertedInjector;
|
|
11
|
+
}
|
|
12
|
+
return runInInjectionContext(assertedInjector, runner);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* `hostBinding` takes a `hostPropertyName` to attach a data property, a class, a
|
|
16
|
+
* style or an attribute (as `@HostBinding` would) to the host. The update is
|
|
17
|
+
* applied based on the update of the provided signal.
|
|
18
|
+
*
|
|
19
|
+
* @param hostPropertyName - the same property that is bound to a data property, a class, a style or an attribute as `@HostBinding`.
|
|
20
|
+
* @param signal - the signal on which to react to changes to update the host, and the one that will be returned as it is
|
|
21
|
+
* @returns {Signal | WritableSignal}
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* export class MyComponent {
|
|
26
|
+
* readonly background = hostBinding('style.background', signal('blue'));
|
|
27
|
+
*
|
|
28
|
+
* constructor() {
|
|
29
|
+
* setTimeout(() => this.background.set('red'), 3000);
|
|
30
|
+
* }
|
|
31
|
+
* }
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* TODO: verify with SSR
|
|
35
|
+
*/
|
|
36
|
+
export function hostBinding(hostPropertyName, signal, injector) {
|
|
37
|
+
injector = assertInjector(hostBinding, injector);
|
|
38
|
+
runInInjectionContext(injector, () => {
|
|
39
|
+
const renderer = inject(Renderer2);
|
|
40
|
+
const element = inject(ElementRef).nativeElement;
|
|
41
|
+
effect(() => {
|
|
42
|
+
let prevClasses = [];
|
|
43
|
+
const value = signal();
|
|
44
|
+
const [binding, property, unit] = hostPropertyName.split(".");
|
|
45
|
+
switch (binding) {
|
|
46
|
+
case "style":
|
|
47
|
+
renderer.setStyle(element, property, `${value}${unit ?? ""}`, property.startsWith("--")
|
|
48
|
+
? RendererStyleFlags2.DashCase
|
|
49
|
+
: undefined);
|
|
50
|
+
break;
|
|
51
|
+
case "attr":
|
|
52
|
+
if (value == null) {
|
|
53
|
+
renderer.removeAttribute(element, property);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
renderer.setAttribute(element, property, String(value));
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
case "class":
|
|
60
|
+
if (!property) {
|
|
61
|
+
if (prevClasses.length) {
|
|
62
|
+
prevClasses.forEach((k) => renderer.removeClass(element, k));
|
|
63
|
+
}
|
|
64
|
+
prevClasses =
|
|
65
|
+
typeof value === "string" ? value.split(" ").filter(Boolean) : [];
|
|
66
|
+
prevClasses.forEach((k) => renderer.addClass(element, k));
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
if (value) {
|
|
70
|
+
renderer.addClass(element, property);
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
renderer.removeClass(element, property);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
break;
|
|
77
|
+
default:
|
|
78
|
+
renderer.setProperty(element, binding, value);
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
return signal;
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=host-binding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"host-binding.js","sourceRoot":"","sources":["../../../src/signals/host-binding.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,UAAU,EAEV,MAAM,EACN,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,qBAAqB,GAGtB,MAAM,eAAe,CAAA;AA2CtB,MAAM,UAAU,cAAc,CAC5B,EAAY,EACZ,QAAqC,EACrC,MAAkB;IAElB,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,wBAAwB,CAAC,EAAE,CAAC,CAAA;IAC9B,CAAC;IACD,MAAM,gBAAgB,GAAG,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAA;IAErD,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,OAAO,gBAAgB,CAAA;IACzB,CAAC;IACD,OAAO,qBAAqB,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AACxD,CAAC;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,UAAU,WAAW,CACzB,gBAA2D,EAC3D,MAAS,EACT,QAAmB;IAEnB,QAAQ,GAAG,cAAc,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAA;IAEhD,qBAAqB,CAAC,QAAQ,EAAE,GAAG,EAAE;QACnC,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,CAAA;QAClC,MAAM,OAAO,GAAgB,MAAM,CAAC,UAAU,CAAC,CAAC,aAAa,CAAA;QAE7D,MAAM,CAAC,GAAG,EAAE;YACV,IAAI,WAAW,GAAa,EAAE,CAAA;YAC9B,MAAM,KAAK,GAAG,MAAM,EAAE,CAAA;YACtB,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,GAAG,gBAAgB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAE7D,QAAQ,OAAO,EAAE,CAAC;gBAChB,KAAK,OAAO;oBACV,QAAQ,CAAC,QAAQ,CACf,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,GAAG,IAAI,IAAI,EAAE,EAAE,EACvB,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC;wBACvB,CAAC,CAAC,mBAAmB,CAAC,QAAQ;wBAC9B,CAAC,CAAC,SAAS,CACd,CAAA;oBACD,MAAK;gBACP,KAAK,MAAM;oBACT,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;wBAClB,QAAQ,CAAC,eAAe,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;oBAC7C,CAAC;yBAAM,CAAC;wBACN,QAAQ,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;oBACzD,CAAC;oBACD,MAAK;gBACP,KAAK,OAAO;oBACV,IAAI,CAAC,QAAQ,EAAE,CAAC;wBACd,IAAI,WAAW,CAAC,MAAM,EAAE,CAAC;4BACvB,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;wBAC9D,CAAC;wBACD,WAAW;4BACT,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAA;wBACnE,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAA;oBAC3D,CAAC;yBAAM,CAAC;wBACN,IAAI,KAAK,EAAE,CAAC;4BACV,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;wBACtC,CAAC;6BAAM,CAAC;4BACN,QAAQ,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;wBACzC,CAAC;oBACH,CAAC;oBACD,MAAK;gBACP;oBACE,QAAQ,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,CAAC,CAAA;YACjD,CAAC;QACH,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,OAAO,MAAM,CAAA;AACf,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n assertInInjectionContext,\n effect,\n ElementRef,\n type HostBinding,\n inject,\n Injector,\n Renderer2,\n RendererStyleFlags2,\n runInInjectionContext,\n type Signal,\n type WritableSignal,\n} from \"@angular/core\"\n\n/**\n * `assertInjector` extends `assertInInjectionContext` with an optional `Injector`\n * After assertion, `assertInjector` runs the `runner` function with the guaranteed\n * `Injector` whether it is the default `Injector` within the current **Injection\n * Context** or the custom `Injector` that was passed in.\n *\n * @template {() => any} Runner - Runner is a function that can return anything\n * @param {Function} fn - the Function to pass in `assertInInjectionContext`\n * @param {Injector | undefined | null} injector - the optional \"custom\" Injector\n * @param {Runner} runner - the runner fn\n * @returns {ReturnType<Runner>} result - returns the result of the Runner\n *\n * @example\n * ```ts\n * function injectValue(injector?: Injector) {\n * return assertInjector(injectValue, injector, () => 'value');\n * }\n *\n * injectValue(); // string\n * ```\n */\nexport function assertInjector<Runner extends () => any>(\n fn: Function,\n injector: Injector | undefined | null,\n runner: Runner,\n): ReturnType<Runner>\n\n/**\n * `assertInjector` extends `assertInInjectionContext` with an optional `Injector`\n * After assertion, `assertInjector` returns a guaranteed `Injector` whether it is\n * the default `Injector` within the current **Injection Context** or the custom\n * `Injector` that was passed in.\n *\n * @param {Function} fn - the Function to pass in `assertInInjectionContext`\n * @param {Injector | undefined | null} injector - the optional \"custom\" Injector\n * @returns Injector\n */\nexport function assertInjector(\n fn: Function,\n injector: Injector | undefined | null,\n): Injector\nexport function assertInjector(\n fn: Function,\n injector: Injector | undefined | null,\n runner?: () => any,\n) {\n if (!injector) {\n assertInInjectionContext(fn)\n }\n const assertedInjector = injector ?? inject(Injector)\n\n if (!runner) {\n return assertedInjector\n }\n return runInInjectionContext(assertedInjector, runner)\n}\n\n/**\n * `hostBinding` takes a `hostPropertyName` to attach a data property, a class, a\n * style or an attribute (as `@HostBinding` would) to the host. The update is\n * applied based on the update of the provided signal.\n *\n * @param hostPropertyName - the same property that is bound to a data property, a class, a style or an attribute as `@HostBinding`.\n * @param signal - the signal on which to react to changes to update the host, and the one that will be returned as it is\n * @returns {Signal | WritableSignal}\n *\n * @example\n * ```ts\n * export class MyComponent {\n * readonly background = hostBinding('style.background', signal('blue'));\n *\n * constructor() {\n * setTimeout(() => this.background.set('red'), 3000);\n * }\n * }\n * ```\n *\n * TODO: verify with SSR\n */\nexport function hostBinding<T, S extends Signal<T> | WritableSignal<T>>(\n hostPropertyName: Required<HostBinding>[\"hostPropertyName\"],\n signal: S,\n injector?: Injector,\n): S {\n injector = assertInjector(hostBinding, injector)\n\n runInInjectionContext(injector, () => {\n const renderer = inject(Renderer2)\n const element: HTMLElement = inject(ElementRef).nativeElement\n\n effect(() => {\n let prevClasses: string[] = []\n const value = signal()\n const [binding, property, unit] = hostPropertyName.split(\".\")\n\n switch (binding) {\n case \"style\":\n renderer.setStyle(\n element,\n property,\n `${value}${unit ?? \"\"}`,\n property.startsWith(\"--\")\n ? RendererStyleFlags2.DashCase\n : undefined,\n )\n break\n case \"attr\":\n if (value == null) {\n renderer.removeAttribute(element, property)\n } else {\n renderer.setAttribute(element, property, String(value))\n }\n break\n case \"class\":\n if (!property) {\n if (prevClasses.length) {\n prevClasses.forEach((k) => renderer.removeClass(element, k))\n }\n prevClasses =\n typeof value === \"string\" ? value.split(\" \").filter(Boolean) : []\n prevClasses.forEach((k) => renderer.addClass(element, k))\n } else {\n if (value) {\n renderer.addClass(element, property)\n } else {\n renderer.removeClass(element, property)\n }\n }\n break\n default:\n renderer.setProperty(element, binding, value)\n }\n })\n })\n\n return signal\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/signals/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gBAAgB,CAAA;AAE9B,cAAc,oBAAoB,CAAA","sourcesContent":["export * from \"./access-signal\"\nexport * from \"./host-binding\"\nexport type * from \"./signalify-input\"\nexport * from \"./signalify-object\"\nexport type * from \"./signals.types\"\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-signals.js","sourceRoot":"","sources":["../../../src/signals/qualcomm-ui-angular-core-signals.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signalify-input.js","sourceRoot":"","sources":["../../../src/signals/signalify-input.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport type {Signal} from \"@angular/core\"\n\nimport type {MaybeSignal} from \"./signals.types\"\n\nexport type SignalifyInput<T> = {\n [Key in keyof T as Key extends `on${string}` ? never : Key]-?: Signal<T[Key]>\n}\n\nexport type MaybeSignalInput<T> = {\n [Key in keyof T as Key extends `on${string}` ? never : Key]-?: MaybeSignal<\n T[Key]\n >\n}\n"]}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, signal, untracked } from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Converts an object's function properties to computed signals.
|
|
6
|
+
*/
|
|
7
|
+
export function signalifyObject(someObject) {
|
|
8
|
+
const objectSignal = signal(someObject, ...(ngDevMode ? [{ debugName: "objectSignal" }] : []));
|
|
9
|
+
return new Proxy(objectSignal, {
|
|
10
|
+
apply() {
|
|
11
|
+
return objectSignal();
|
|
12
|
+
},
|
|
13
|
+
get(target, property) {
|
|
14
|
+
if (target[property]) {
|
|
15
|
+
return target[property];
|
|
16
|
+
}
|
|
17
|
+
const untrackedObject = untracked(objectSignal);
|
|
18
|
+
const maybeFn = untrackedObject[property];
|
|
19
|
+
if (typeof maybeFn === "function") {
|
|
20
|
+
Object.defineProperty(target, property, {
|
|
21
|
+
configurable: true,
|
|
22
|
+
enumerable: true,
|
|
23
|
+
value: toComputed(objectSignal, maybeFn),
|
|
24
|
+
});
|
|
25
|
+
return target[property];
|
|
26
|
+
}
|
|
27
|
+
return (target[property] = untrackedObject[property]);
|
|
28
|
+
},
|
|
29
|
+
getOwnPropertyDescriptor() {
|
|
30
|
+
return {
|
|
31
|
+
configurable: true,
|
|
32
|
+
enumerable: true,
|
|
33
|
+
};
|
|
34
|
+
},
|
|
35
|
+
has(_, prop) {
|
|
36
|
+
return !!untracked(objectSignal)[prop];
|
|
37
|
+
},
|
|
38
|
+
ownKeys() {
|
|
39
|
+
return Reflect.ownKeys(untracked(objectSignal));
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Since we cannot automatically detect the parameters of accessors, we will wrap
|
|
45
|
+
* all accessors in a cached function. This function will wrap a computed value that
|
|
46
|
+
* returns its result based on the given parameters.
|
|
47
|
+
*/
|
|
48
|
+
function toComputed(signal, fn) {
|
|
49
|
+
const hasArgs = fn.length > 0;
|
|
50
|
+
if (!hasArgs) {
|
|
51
|
+
return computed(() => {
|
|
52
|
+
void signal();
|
|
53
|
+
return fn();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
const computedCache = {};
|
|
57
|
+
return (...argsArray) => {
|
|
58
|
+
const serializedArgs = serializeArgs(...argsArray);
|
|
59
|
+
if (computedCache.hasOwnProperty(serializedArgs)) {
|
|
60
|
+
return computedCache[serializedArgs]?.();
|
|
61
|
+
}
|
|
62
|
+
const computedSignal = computed(() => {
|
|
63
|
+
void signal();
|
|
64
|
+
return fn(...argsArray);
|
|
65
|
+
}, ...(ngDevMode ? [{ debugName: "computedSignal" }] : []));
|
|
66
|
+
computedCache[serializedArgs] = computedSignal;
|
|
67
|
+
return computedSignal();
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function serializeArgs(...args) {
|
|
71
|
+
return JSON.stringify(args);
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=signalify-object.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signalify-object.js","sourceRoot":"","sources":["../../../src/signals/signalify-object.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAe,SAAS,EAAC,MAAM,eAAe,CAAA;AAEtE;;GAEG;AACH,MAAM,UAAU,eAAe,CAC7B,UAAa;IAEb,MAAM,YAAY,GAAG,MAAM,CAAI,UAAU,wDAAC,CAAA;IAE1C,OAAO,IAAI,KAAK,CAAC,YAAY,EAAE;QAC7B,KAAK;YACH,OAAO,YAAY,EAAE,CAAA;QACvB,CAAC;QACD,GAAG,CAAC,MAAW,EAAE,QAAa;YAC5B,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;gBACrB,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAA;YACzB,CAAC;YACD,MAAM,eAAe,GAAQ,SAAS,CAAC,YAAY,CAAC,CAAA;YACpD,MAAM,OAAO,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAA;YACzC,IAAI,OAAO,OAAO,KAAK,UAAU,EAAE,CAAC;gBAClC,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,QAAQ,EAAE;oBACtC,YAAY,EAAE,IAAI;oBAClB,UAAU,EAAE,IAAI;oBAChB,KAAK,EAAE,UAAU,CAAC,YAAY,EAAE,OAAO,CAAC;iBACzC,CAAC,CAAA;gBACF,OAAO,MAAM,CAAC,QAAQ,CAAC,CAAA;YACzB,CAAC;YACD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAA;QACvD,CAAC;QACD,wBAAwB;YACtB,OAAO;gBACL,YAAY,EAAE,IAAI;gBAClB,UAAU,EAAE,IAAI;aACjB,CAAA;QACH,CAAC;QACD,GAAG,CAAC,CAAC,EAAE,IAAY;YACjB,OAAO,CAAC,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC,CAAA;QACxC,CAAC;QACD,OAAO;YACL,OAAO,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAA;QACjD,CAAC;KACF,CAAC,CAAA;AACJ,CAAC;AAED;;;;GAIG;AACH,SAAS,UAAU,CAAC,MAAmB,EAAE,EAAY;IACnD,MAAM,OAAO,GAAG,EAAE,CAAC,MAAM,GAAG,CAAC,CAAA;IAC7B,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,QAAQ,CAAC,GAAG,EAAE;YACnB,KAAK,MAAM,EAAE,CAAA;YACb,OAAO,EAAE,EAAE,CAAA;QACb,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,aAAa,GAAoC,EAAE,CAAA;IAEzD,OAAO,CAAC,GAAG,SAAgB,EAAE,EAAE;QAC7B,MAAM,cAAc,GAAG,aAAa,CAAC,GAAG,SAAS,CAAC,CAAA;QAClD,IAAI,aAAa,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,CAAC;YACjD,OAAO,aAAa,CAAC,cAAc,CAAC,EAAE,EAAE,CAAA;QAC1C,CAAC;QACD,MAAM,cAAc,GAAG,QAAQ,CAAC,GAAG,EAAE;YACnC,KAAK,MAAM,EAAE,CAAA;YACb,OAAO,EAAE,CAAC,GAAG,SAAS,CAAC,CAAA;QACzB,CAAC,0DAAC,CAAA;QAEF,aAAa,CAAC,cAAc,CAAC,GAAG,cAAc,CAAA;QAE9C,OAAO,cAAc,EAAE,CAAA;IACzB,CAAC,CAAA;AACH,CAAC;AAED,SAAS,aAAa,CAAC,GAAG,IAAW;IACnC,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;AAC7B,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, signal, type Signal, untracked} from \"@angular/core\"\n\n/**\n * Converts an object's function properties to computed signals.\n */\nexport function signalifyObject<T extends Record<string, any>>(\n someObject: T,\n): T {\n const objectSignal = signal<T>(someObject)\n\n return new Proxy(objectSignal, {\n apply() {\n return objectSignal()\n },\n get(target: any, property: any): any {\n if (target[property]) {\n return target[property]\n }\n const untrackedObject: any = untracked(objectSignal)\n const maybeFn = untrackedObject[property]\n if (typeof maybeFn === \"function\") {\n Object.defineProperty(target, property, {\n configurable: true,\n enumerable: true,\n value: toComputed(objectSignal, maybeFn),\n })\n return target[property]\n }\n return (target[property] = untrackedObject[property])\n },\n getOwnPropertyDescriptor() {\n return {\n configurable: true,\n enumerable: true,\n }\n },\n has(_, prop: string) {\n return !!untracked(objectSignal)[prop]\n },\n ownKeys() {\n return Reflect.ownKeys(untracked(objectSignal))\n },\n })\n}\n\n/**\n * Since we cannot automatically detect the parameters of accessors, we will wrap\n * all accessors in a cached function. This function will wrap a computed value that\n * returns its result based on the given parameters.\n */\nfunction toComputed(signal: Signal<any>, fn: Function) {\n const hasArgs = fn.length > 0\n if (!hasArgs) {\n return computed(() => {\n void signal()\n return fn()\n })\n }\n\n const computedCache: Record<string, Signal<unknown>> = {}\n\n return (...argsArray: any[]) => {\n const serializedArgs = serializeArgs(...argsArray)\n if (computedCache.hasOwnProperty(serializedArgs)) {\n return computedCache[serializedArgs]?.()\n }\n const computedSignal = computed(() => {\n void signal()\n return fn(...argsArray)\n })\n\n computedCache[serializedArgs] = computedSignal\n\n return computedSignal()\n }\n}\n\nfunction serializeArgs(...args: any[]) {\n return JSON.stringify(args)\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signals.types.js","sourceRoot":"","sources":["../../../src/signals/signals.types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport type {Signal} from \"@angular/core\"\n\nexport type MaybeSignal<T> = T | Signal<T>\n"]}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, signal, untracked, } from "@angular/core";
|
|
4
|
+
import { defined } from "@qualcomm-ui/utils/guard";
|
|
5
|
+
export class ControlledStateLegacy {
|
|
6
|
+
onChange;
|
|
7
|
+
name;
|
|
8
|
+
state;
|
|
9
|
+
get controlled() {
|
|
10
|
+
return this._controlled.asReadonly();
|
|
11
|
+
}
|
|
12
|
+
value = signal(undefined, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
13
|
+
controlledValue = signal(undefined, ...(ngDevMode ? [{ debugName: "controlledValue" }] : []));
|
|
14
|
+
_controlled = signal(false, ...(ngDevMode ? [{ debugName: "_controlled" }] : []));
|
|
15
|
+
constructor(
|
|
16
|
+
/**
|
|
17
|
+
* The controlled value.
|
|
18
|
+
*/
|
|
19
|
+
controlledValue,
|
|
20
|
+
/**
|
|
21
|
+
* The default value.
|
|
22
|
+
*/
|
|
23
|
+
defaultValue,
|
|
24
|
+
/**
|
|
25
|
+
* onChange function fired when the state is modified internally. If the
|
|
26
|
+
* controlled state is modified from outside of this service, this function will
|
|
27
|
+
* not be called.
|
|
28
|
+
*/
|
|
29
|
+
onChange,
|
|
30
|
+
/**
|
|
31
|
+
* The name of this instance. Used in error logging.
|
|
32
|
+
*/
|
|
33
|
+
name,
|
|
34
|
+
/**
|
|
35
|
+
* The name of the tracked property. Used in error logging.
|
|
36
|
+
*/
|
|
37
|
+
state) {
|
|
38
|
+
this.onChange = onChange;
|
|
39
|
+
this.name = name;
|
|
40
|
+
this.state = state;
|
|
41
|
+
this._controlled.set(defined(controlledValue));
|
|
42
|
+
this.controlledValue.set(controlledValue);
|
|
43
|
+
this.value.set(defaultValue);
|
|
44
|
+
}
|
|
45
|
+
set(value, options) {
|
|
46
|
+
if (!this._controlled()) {
|
|
47
|
+
// if not controlled, we use the internal value.
|
|
48
|
+
untracked(() => this.value.set(value));
|
|
49
|
+
}
|
|
50
|
+
this.onChange.emit({ ...options, index: value });
|
|
51
|
+
}
|
|
52
|
+
get = computed(() => {
|
|
53
|
+
const controlledValue = this.controlledValue();
|
|
54
|
+
const value = this.value();
|
|
55
|
+
return controlledValue ?? value;
|
|
56
|
+
}, ...(ngDevMode ? [{ debugName: "get" }] : []));
|
|
57
|
+
emitWarning() {
|
|
58
|
+
console.error([
|
|
59
|
+
`QUI: A component is changing the ${this.controlled() ? "" : "un"}controlled ${this.state} state of ${this.name} to be ${this.controlled() ? "un" : ""}controlled.`,
|
|
60
|
+
"Elements should not switch from uncontrolled to controlled (or vice versa).",
|
|
61
|
+
`Decide between using a controlled or uncontrolled ${this.name} ` +
|
|
62
|
+
"element for the lifetime of the component.",
|
|
63
|
+
"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
|
|
64
|
+
].join("\n"));
|
|
65
|
+
}
|
|
66
|
+
handleOnChange(change) {
|
|
67
|
+
if (!change) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
if (!this.controlled() &&
|
|
71
|
+
defined(change.currentValue) &&
|
|
72
|
+
!change.isFirstChange()) {
|
|
73
|
+
this.emitWarning();
|
|
74
|
+
}
|
|
75
|
+
const value = change.currentValue;
|
|
76
|
+
this.controlledValue.set(value);
|
|
77
|
+
this.value.set(value);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=controlled-state-legacy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controlled-state-legacy.js","sourceRoot":"","sources":["../../../src/state/controlled-state-legacy.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,QAAQ,EAER,MAAM,EAEN,SAAS,GACV,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAA;AAEhD,MAAM,OAAO,qBAAqB;IAyBtB;IAIA;IAIA;IA7BV,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC,UAAU,EAAE,CAAA;IACtC,CAAC;IACkB,KAAK,GAAG,MAAM,CAAgB,SAAS,iDAAC,CAAA;IACxC,eAAe,GAAG,MAAM,CAAgB,SAAS,2DAAC,CAAA;IACpD,WAAW,GAAG,MAAM,CAAU,KAAK,uDAAC,CAAA;IAErD;IACE;;OAEG;IACH,eAA8B;IAC9B;;OAEG;IACH,YAA2B;IAC3B;;;;OAIG;IACK,QAA+B;IACvC;;OAEG;IACK,IAAY;IACpB;;OAEG;IACK,KAAa;QARb,aAAQ,GAAR,QAAQ,CAAuB;QAI/B,SAAI,GAAJ,IAAI,CAAQ;QAIZ,UAAK,GAAL,KAAK,CAAQ;QAErB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAA;QAC9C,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;QACzC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC,CAAA;IAC9B,CAAC;IAED,GAAG,CAAC,KAAQ,EAAE,OAAwB;QACpC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,CAAC;YACxB,gDAAgD;YAChD,SAAS,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAA;QACxC,CAAC;QACD,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAC,GAAG,OAAO,EAAE,KAAK,EAAE,KAAK,EAAC,CAAC,CAAA;IAChD,CAAC;IAEQ,GAAG,GAAG,QAAQ,CAAC,GAAG,EAAE;QAC3B,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,CAAA;QAC9C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,CAAA;QAC1B,OAAO,eAAe,IAAI,KAAK,CAAA;IACjC,CAAC,+CAAC,CAAA;IAEM,WAAW;QACjB,OAAO,CAAC,KAAK,CACX;YACE,oCACE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAC3B,cAAc,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,IAAI,UAC5C,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAC7B,aAAa;YACb,6EAA6E;YAC7E,qDAAqD,IAAI,CAAC,IAAI,GAAG;gBAC/D,4CAA4C;YAC9C,4HAA4H;SAC7H,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAqB;QAClC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAM;QACR,CAAC;QACD,IACE,CAAC,IAAI,CAAC,UAAU,EAAE;YAClB,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;YAC5B,CAAC,MAAM,CAAC,aAAa,EAAE,EACvB,CAAC;YACD,IAAI,CAAC,WAAW,EAAE,CAAA;QACpB,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAA;QACjC,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC/B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IACvB,CAAC;CACF","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n computed,\n type OutputEmitterRef,\n signal,\n type SimpleChange,\n untracked,\n} from \"@angular/core\"\n\nimport {defined} from \"@qualcomm-ui/utils/guard\"\n\nexport class ControlledStateLegacy<\n T,\n OnChangeParams extends Record<string, any> | null = null,\n> {\n get controlled() {\n return this._controlled.asReadonly()\n }\n protected readonly value = signal<T | undefined>(undefined)\n protected readonly controlledValue = signal<T | undefined>(undefined)\n private readonly _controlled = signal<boolean>(false)\n\n constructor(\n /**\n * The controlled value.\n */\n controlledValue: T | undefined,\n /**\n * The default value.\n */\n defaultValue: T | undefined,\n /**\n * onChange function fired when the state is modified internally. If the\n * controlled state is modified from outside of this service, this function will\n * not be called.\n */\n private onChange: OutputEmitterRef<any>,\n /**\n * The name of this instance. Used in error logging.\n */\n private name: string,\n /**\n * The name of the tracked property. Used in error logging.\n */\n private state: string,\n ) {\n this._controlled.set(defined(controlledValue))\n this.controlledValue.set(controlledValue)\n this.value.set(defaultValue)\n }\n\n set(value: T, options?: OnChangeParams) {\n if (!this._controlled()) {\n // if not controlled, we use the internal value.\n untracked(() => this.value.set(value))\n }\n this.onChange.emit({...options, index: value})\n }\n\n readonly get = computed(() => {\n const controlledValue = this.controlledValue()\n const value = this.value()\n return controlledValue ?? value\n })\n\n private emitWarning() {\n console.error(\n [\n `QUI: A component is changing the ${\n this.controlled() ? \"\" : \"un\"\n }controlled ${this.state} state of ${this.name} to be ${\n this.controlled() ? \"un\" : \"\"\n }controlled.`,\n \"Elements should not switch from uncontrolled to controlled (or vice versa).\",\n `Decide between using a controlled or uncontrolled ${this.name} ` +\n \"element for the lifetime of the component.\",\n \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\",\n ].join(\"\\n\"),\n )\n }\n\n handleOnChange(change?: SimpleChange) {\n if (!change) {\n return\n }\n if (\n !this.controlled() &&\n defined(change.currentValue) &&\n !change.isFirstChange()\n ) {\n this.emitWarning()\n }\n const value = change.currentValue\n this.controlledValue.set(value)\n this.value.set(value)\n }\n}\n"]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { Subject } from "rxjs";
|
|
4
|
+
import { defined } from "@qualcomm-ui/utils/guard";
|
|
5
|
+
export class ControlledStateService {
|
|
6
|
+
valueChanged = new Subject();
|
|
7
|
+
onChange;
|
|
8
|
+
value;
|
|
9
|
+
initialized = false;
|
|
10
|
+
name;
|
|
11
|
+
state;
|
|
12
|
+
controlledValue;
|
|
13
|
+
get controlled() {
|
|
14
|
+
return this._controlled;
|
|
15
|
+
}
|
|
16
|
+
_controlled = false;
|
|
17
|
+
init(
|
|
18
|
+
/**
|
|
19
|
+
* The controlled value.
|
|
20
|
+
*/
|
|
21
|
+
controlledValue,
|
|
22
|
+
/**
|
|
23
|
+
* The default value.
|
|
24
|
+
*/
|
|
25
|
+
defaultValue,
|
|
26
|
+
/**
|
|
27
|
+
* onChange function fired when the state is modified internally. If the
|
|
28
|
+
* controlled state is modified from outside of this service, this function will
|
|
29
|
+
* not be called.
|
|
30
|
+
*/
|
|
31
|
+
onChange,
|
|
32
|
+
/**
|
|
33
|
+
* The name of this instance. Used in error logging.
|
|
34
|
+
*/
|
|
35
|
+
name,
|
|
36
|
+
/**
|
|
37
|
+
* The name of the tracked property. Used in error logging.
|
|
38
|
+
*/
|
|
39
|
+
state) {
|
|
40
|
+
if (this.initialized) {
|
|
41
|
+
throw new Error("Cannot initialize controlled state more than once.");
|
|
42
|
+
}
|
|
43
|
+
this._controlled = defined(controlledValue);
|
|
44
|
+
this.onChange = onChange;
|
|
45
|
+
this.controlledValue = controlledValue;
|
|
46
|
+
this.value = defaultValue;
|
|
47
|
+
this.name = name;
|
|
48
|
+
this.state = state;
|
|
49
|
+
this.initialized = true;
|
|
50
|
+
}
|
|
51
|
+
set(value, event) {
|
|
52
|
+
if (!this._controlled) {
|
|
53
|
+
this.value = value;
|
|
54
|
+
this.valueChanged.next(value);
|
|
55
|
+
}
|
|
56
|
+
this.onChange?.(value, event);
|
|
57
|
+
}
|
|
58
|
+
get() {
|
|
59
|
+
return this.controlledValue ?? this.value;
|
|
60
|
+
}
|
|
61
|
+
emitWarning() {
|
|
62
|
+
console.error([
|
|
63
|
+
`QUI: A component is changing the ${this.controlled ? "" : "un"}controlled ${this.state} state of ${this.name} to be ${this.controlled ? "un" : ""}controlled.`,
|
|
64
|
+
"Elements should not switch from uncontrolled to controlled (or vice versa).",
|
|
65
|
+
`Decide between using a controlled or uncontrolled ${this.name} ` +
|
|
66
|
+
"element for the lifetime of the component.",
|
|
67
|
+
"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.",
|
|
68
|
+
].join("\n"));
|
|
69
|
+
}
|
|
70
|
+
handleOnChange(change) {
|
|
71
|
+
if (!change) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
if (!this.controlled &&
|
|
75
|
+
defined(change.currentValue) &&
|
|
76
|
+
!change.isFirstChange()) {
|
|
77
|
+
this.emitWarning();
|
|
78
|
+
}
|
|
79
|
+
const value = change.currentValue;
|
|
80
|
+
this.controlledValue = value;
|
|
81
|
+
this.valueChanged.next(value);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=controlled-state.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controlled-state.service.js","sourceRoot":"","sources":["../../../src/state/controlled-state.service.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAG9C,OAAO,EAAC,OAAO,EAAC,MAAM,MAAM,CAAA;AAE5B,OAAO,EAAC,OAAO,EAAC,MAAM,0BAA0B,CAAA;AAEhD,MAAM,OAAO,sBAAsB;IACxB,YAAY,GAAG,IAAI,OAAO,EAAiB,CAAA;IAE1C,QAAQ,CAA0C;IAClD,KAAK,CAAe;IACpB,WAAW,GAAG,KAAK,CAAA;IACnB,IAAI,CAAQ;IACZ,KAAK,CAAQ;IACb,eAAe,CAAe;IAExC,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAA;IACzB,CAAC;IACS,WAAW,GAAY,KAAK,CAAA;IAEtC,IAAI;IACF;;OAEG;IACH,eAA8B;IAC9B;;OAEG;IACH,YAA2B;IAC3B;;;;OAIG;IACH,QAAiD;IACjD;;OAEG;IACH,IAAY;IACZ;;OAEG;IACH,KAAa;QAEb,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,MAAM,IAAI,KAAK,CAAC,oDAAoD,CAAC,CAAA;QACvE,CAAC;QACD,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,CAAA;QAC3C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAA;QACxB,IAAI,CAAC,eAAe,GAAG,eAAe,CAAA;QACtC,IAAI,CAAC,KAAK,GAAG,YAAY,CAAA;QACzB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;QAChB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;QAClB,IAAI,CAAC,WAAW,GAAG,IAAI,CAAA;IACzB,CAAC;IAED,GAAG,CAAC,KAAQ,EAAE,KAAmB;QAC/B,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;YACtB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAA;YAClB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;QAC/B,CAAC;QACD,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;IAC/B,CAAC;IAED,GAAG;QACD,OAAO,IAAI,CAAC,eAAe,IAAI,IAAI,CAAC,KAAK,CAAA;IAC3C,CAAC;IAEO,WAAW;QACjB,OAAO,CAAC,KAAK,CACX;YACE,oCACE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IACzB,cAAc,IAAI,CAAC,KAAK,aAAa,IAAI,CAAC,IAAI,UAC5C,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAC3B,aAAa;YACb,6EAA6E;YAC7E,qDAAqD,IAAI,CAAC,IAAI,GAAG;gBAC/D,4CAA4C;YAC9C,4HAA4H;SAC7H,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAA;IACH,CAAC;IAED,cAAc,CAAC,MAAqB;QAClC,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,OAAM;QACR,CAAC;QACD,IACE,CAAC,IAAI,CAAC,UAAU;YAChB,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;YAC5B,CAAC,MAAM,CAAC,aAAa,EAAE,EACvB,CAAC;YACD,IAAI,CAAC,WAAW,EAAE,CAAA;QACpB,CAAC;QACD,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAA;QACjC,IAAI,CAAC,eAAe,GAAG,KAAK,CAAA;QAC5B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;IAC/B,CAAC;CACF","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport type {SimpleChange} from \"@angular/core\"\nimport {Subject} from \"rxjs\"\n\nimport {defined} from \"@qualcomm-ui/utils/guard\"\n\nexport class ControlledStateService<T, OnChangeArg = Event> {\n readonly valueChanged = new Subject<T | undefined>()\n\n protected onChange?: (value: T, event?: OnChangeArg) => void\n protected value: T | undefined\n protected initialized = false\n protected name: string\n protected state: string\n protected controlledValue: T | undefined\n\n get controlled() {\n return this._controlled\n }\n protected _controlled: boolean = false\n\n init(\n /**\n * The controlled value.\n */\n controlledValue: T | undefined,\n /**\n * The default value.\n */\n defaultValue: T | undefined,\n /**\n * onChange function fired when the state is modified internally. If the\n * controlled state is modified from outside of this service, this function will\n * not be called.\n */\n onChange: (value: T, event?: OnChangeArg) => void,\n /**\n * The name of this instance. Used in error logging.\n */\n name: string,\n /**\n * The name of the tracked property. Used in error logging.\n */\n state: string,\n ) {\n if (this.initialized) {\n throw new Error(\"Cannot initialize controlled state more than once.\")\n }\n this._controlled = defined(controlledValue)\n this.onChange = onChange\n this.controlledValue = controlledValue\n this.value = defaultValue\n this.name = name\n this.state = state\n this.initialized = true\n }\n\n set(value: T, event?: OnChangeArg) {\n if (!this._controlled) {\n this.value = value\n this.valueChanged.next(value)\n }\n this.onChange?.(value, event)\n }\n\n get() {\n return this.controlledValue ?? this.value\n }\n\n private emitWarning() {\n console.error(\n [\n `QUI: A component is changing the ${\n this.controlled ? \"\" : \"un\"\n }controlled ${this.state} state of ${this.name} to be ${\n this.controlled ? \"un\" : \"\"\n }controlled.`,\n \"Elements should not switch from uncontrolled to controlled (or vice versa).\",\n `Decide between using a controlled or uncontrolled ${this.name} ` +\n \"element for the lifetime of the component.\",\n \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\",\n ].join(\"\\n\"),\n )\n }\n\n handleOnChange(change?: SimpleChange) {\n if (!change) {\n return\n }\n if (\n !this.controlled &&\n defined(change.currentValue) &&\n !change.isFirstChange()\n ) {\n this.emitWarning()\n }\n const value = change.currentValue\n this.controlledValue = value\n this.valueChanged.next(value)\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA","sourcesContent":["export * from \"./controlled-state.service\"\nexport * from \"./controlled-state-legacy\"\nexport * from \"./use-controlled-state\"\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-state.js","sourceRoot":"","sources":["../../../src/state/qualcomm-ui-angular-core-state.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, signal } from "@angular/core";
|
|
4
|
+
export function useControlledState(options) {
|
|
5
|
+
const { defaultValue, onChange, value: controlledValue } = options;
|
|
6
|
+
return computed(() => {
|
|
7
|
+
const isControlled = controlledValue?.() !== undefined;
|
|
8
|
+
const localValue = signal(access(defaultValue), ...(ngDevMode ? [{ debugName: "localValue" }] : []));
|
|
9
|
+
const value = isControlled ? controlledValue : localValue.asReadonly();
|
|
10
|
+
const setValue = (newValue, ...rest) => {
|
|
11
|
+
onChange?.(newValue, ...rest);
|
|
12
|
+
if (!isControlled) {
|
|
13
|
+
localValue.set(newValue);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
return { setValue, value };
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function access(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (typeof value === "function") {
|
|
24
|
+
return value();
|
|
25
|
+
}
|
|
26
|
+
return value;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=use-controlled-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-controlled-state.js","sourceRoot":"","sources":["../../../src/state/use-controlled-state.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAc,MAAM,eAAe,CAAA;AAa3D,MAAM,UAAU,kBAAkB,CAChC,OAAkC;IAElC,MAAM,EAAC,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAC,GAAG,OAAO,CAAA;IAEhE,OAAO,QAAQ,CAAC,GAAG,EAAE;QACnB,MAAM,YAAY,GAAG,eAAe,EAAE,EAAE,KAAK,SAAS,CAAA;QACtD,MAAM,UAAU,GAAG,MAAM,CAAgB,MAAM,CAAC,YAAY,CAAC,sDAAC,CAAA;QAE9D,MAAM,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA;QAEtE,MAAM,QAAQ,GAAG,CAAC,QAAW,EAAE,GAAG,IAAW,EAAE,EAAE;YAC/C,QAAQ,EAAE,CAAC,QAAQ,EAAE,GAAG,IAAI,CAAC,CAAA;YAC7B,IAAI,CAAC,YAAY,EAAE,CAAC;gBAClB,UAAU,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;YAC1B,CAAC;QACH,CAAC,CAAA;QAED,OAAO,EAAC,QAAQ,EAAE,KAAK,EAAuB,CAAA;IAChD,CAAC,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,MAAM,CAAI,KAAgC;IACjD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAA;IAClB,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QAChC,OAAQ,KAA8B,EAAE,CAAA;IAC1C,CAAC;IACD,OAAO,KAAU,CAAA;AACnB,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, signal, type Signal} from \"@angular/core\"\n\ninterface ControlledStateOptions<T> {\n defaultValue?: Signal<T | undefined> | T | undefined\n onChange?: ((value: T, ...rest: any[]) => void) | undefined\n value?: Signal<T | undefined>\n}\n\nexport interface ControlledState<T> {\n setValue: (newValue: T, ...rest: any[]) => void\n value: Signal<T | undefined>\n}\n\nexport function useControlledState<T>(\n options: ControlledStateOptions<T>,\n): Signal<ControlledState<T>> {\n const {defaultValue, onChange, value: controlledValue} = options\n\n return computed(() => {\n const isControlled = controlledValue?.() !== undefined\n const localValue = signal<T | undefined>(access(defaultValue))\n\n const value = isControlled ? controlledValue : localValue.asReadonly()\n\n const setValue = (newValue: T, ...rest: any[]) => {\n onChange?.(newValue, ...rest)\n if (!isControlled) {\n localValue.set(newValue)\n }\n }\n\n return {setValue, value} as ControlledState<T>\n })\n}\n\nfunction access<T>(value: Signal<T> | T | undefined): T | undefined {\n if (value === undefined) {\n return undefined\n }\n if (typeof value === \"function\") {\n return (value as unknown as Signal<T>)()\n }\n return value as T\n}\n"]}
|