@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 @@
|
|
|
1
|
+
{"version":3,"file":"lorem-ipsum.directive.js","sourceRoot":"","sources":["../../../src/lorem-ipsum/lorem-ipsum.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,gBAAgB,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAC,MAAM,eAAe,CAAA;AAE1E,OAAO,EAAC,0BAA0B,EAAC,MAAM,sCAAsC,CAAA;AAE/E,OAAO,EACL,UAAU,GAEX,MAAM,gCAAgC,CAAA;;AAUvC,MAAM,OAAO,mBAAmB;IAC9B;;;;;OAKG;IACM,wBAAwB,GAAG,KAAK,CACvC,SAAS,4DAEP,SAAS,EAAE,0BAA0B,OADvC;YACE,SAAS,EAAE,0BAA0B;SACtC,GACF,CAAA;IAED;;;;;OAKG;IACM,mBAAmB,GAAG,KAAK,CAClC,SAAS,uDAEP,SAAS,EAAE,0BAA0B,OADvC;YACE,SAAS,EAAE,0BAA0B;SACtC,GACF,CAAA;IAED;;OAEG;IACM,aAAa,GAAG,KAAK,CAAkC,SAAS,iDACvE,SAAS,EAAE,0BAA0B,OADoC;YACzE,SAAS,EAAE,0BAA0B;SACtC,GAAC,CAAA;IAEF;;;;OAIG;IACM,MAAM,GAAG,KAAK,CAAkC,SAAS,0CAChE,SAAS,EAAE,gBAAgB,OADuC;YAClE,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEF;;OAEG;IACM,IAAI,GAAG,KAAK,CAAkC,SAAS,wCAC9D,SAAS,EAAE,0BAA0B,OAD2B;YAChE,SAAS,EAAE,0BAA0B;SACtC,GAAC,CAAA;IAEF;;;;OAIG;IACM,mBAAmB,GAAG,KAAK,CAClC,SAAS,uDAEP,SAAS,EAAE,gBAAgB,OAD7B;YACE,SAAS,EAAE,gBAAgB;SAC5B,GACF,CAAA;IAEQ,iBAAiB,GAAG,QAAQ,CAAoB,GAAG,EAAE;QAC5D,OAAO;YACL,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EAAE;YACzD,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAAE;YAC/C,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE;YACnC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;YACjB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAAE;SAChD,CAAA;IACH,CAAC,6DAAC,CAAA;IAEO,UAAU,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC,sDAAC,CAAA;wGAzE/D,mBAAmB;4FAAnB,mBAAmB,48BANpB;;;;GAIT;;4FAEU,mBAAmB;kBAR/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,iBAAiB;oBAC3B,QAAQ,EAAE;;;;GAIT;iBACF","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {booleanAttribute, Component, computed, input} from \"@angular/core\"\n\nimport {numberAttributeOrUndefined} from \"@qualcomm-ui/angular-core/attributes\"\nimport type {Booleanish, NumberInput} from \"@qualcomm-ui/utils/coercion\"\nimport {\n loremIpsum,\n type LoremIpsumOptions,\n} from \"@qualcomm-ui/utils/lorem-ipsum\"\n\n@Component({\n selector: \"[q-lorem-ipsum]\",\n template: `\n @for (paragraph of paragraphs(); track $index) {\n <div>{{ paragraph }}</div>\n }\n `,\n})\nexport class LoremIpsumDirective {\n /**\n * Average number of sentences created for each paragraph (standard deviation is\n * fixed ±25%)\n *\n * @default 5\n */\n readonly avgSentencesPerParagraph = input<number | undefined, NumberInput>(\n undefined,\n {\n transform: numberAttributeOrUndefined,\n },\n )\n\n /**\n * Average number of words created for each sentence (standard deviation is fixed\n * ±25%)\n *\n * @default 8\n */\n readonly avgWordsPerSentence = input<number | undefined, NumberInput>(\n undefined,\n {\n transform: numberAttributeOrUndefined,\n },\n )\n\n /**\n * @default 1\n */\n readonly numParagraphs = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * If `false`, always generates the same paragraphs in order.\n *\n * @default false\n */\n readonly random = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Seed for deterministic random generation. If not provided, uses Math.random()\n */\n readonly seed = input<number | undefined, NumberInput>(undefined, {\n transform: numberAttributeOrUndefined,\n })\n\n /**\n * Start with 'Lorem ipsum odor amet...' to first sentence of first paragraph\n *\n * @default true\n */\n readonly startWithLoremIpsum = input<boolean | undefined, Booleanish>(\n undefined,\n {\n transform: booleanAttribute,\n },\n )\n\n readonly loremIpsumOptions = computed<LoremIpsumOptions>(() => {\n return {\n avgSentencesPerParagraph: this.avgSentencesPerParagraph(),\n avgWordsPerSentence: this.avgWordsPerSentence(),\n numParagraphs: this.numParagraphs(),\n random: this.random(),\n seed: this.seed(),\n startWithLoremIpsum: this.startWithLoremIpsum(),\n }\n })\n\n readonly paragraphs = computed(() => loremIpsum(this.loremIpsumOptions()))\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-lorem-ipsum.js","sourceRoot":"","sources":["../../../src/lorem-ipsum/qualcomm-ui-angular-core-lorem-ipsum.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lucide/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA","sourcesContent":["export * from \"./lucide.types\"\nexport * from \"./provide-icons\"\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lucide.types.js","sourceRoot":"","sources":["../../../src/lucide/lucide.types.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\ntype HtmlAttributes = {\n [key: string]: string | number\n}\ntype LucideIconNode = readonly [string, HtmlAttributes]\ntype LucideIconData = readonly LucideIconNode[]\n\ntype SvgAttributes = {[key: string]: string | number}\n\nexport type LucideIconArrayData = readonly [string, SvgAttributes]\n\n// https://github.com/lucide-icons/lucide/issues/1735\nexport type LucideIconCompat = readonly [\n string,\n SvgAttributes,\n LucideIconNode[]?,\n]\n\nexport type LucideIconPart = LucideIconNode\nexport type LucideIcon = LucideIconData\n\n/**\n * The imported LucideIcon or a string. The string form of the icon works with the\n * provider approach:\n *\n * @example\n * ```ts\n * import {IconDirective} from '@qualcomm-ui/angular/icon'\n * import {provideIcons} from '@qualcomm-ui/angular-core/lucide'\n * import {Search} from 'lucide-angular'\n * ```\n *\n * @Component({\n * imports: [IconDirective],\n * providers: [provideIcons({Search})],\n * template: `\n * <svg qIcon=\"Search\"></svg>\n * `\n * })\n * class ExampleComponent {}\n * ```\n */\nexport type LucideIconOrString = LucideIcon | string\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { inject, InjectionToken } from "@angular/core";
|
|
4
|
+
export const LUCIDE_ICONS = new InjectionToken("LUCIDE_ICONS");
|
|
5
|
+
export function provideIcons(icons) {
|
|
6
|
+
return {
|
|
7
|
+
provide: LUCIDE_ICONS,
|
|
8
|
+
useFactory: () => {
|
|
9
|
+
const parent = inject(LUCIDE_ICONS, {
|
|
10
|
+
optional: true,
|
|
11
|
+
skipSelf: true,
|
|
12
|
+
});
|
|
13
|
+
if (!parent) {
|
|
14
|
+
return icons;
|
|
15
|
+
}
|
|
16
|
+
return { ...parent, ...icons };
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=provide-icons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provide-icons.js","sourceRoot":"","sources":["../../../src/lucide/provide-icons.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,MAAM,EAAE,cAAc,EAAsB,MAAM,eAAe,CAAA;AAMzE,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,cAAc,CAC5C,cAAc,CACf,CAAA;AAED,MAAM,UAAU,YAAY,CAAC,KAAiC;IAC5D,OAAO;QACL,OAAO,EAAE,YAAY;QACrB,UAAU,EAAE,GAAG,EAAE;YACf,MAAM,MAAM,GAAmC,MAAM,CAAC,YAAY,EAAE;gBAClE,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;aACf,CAAC,CAAA;YACF,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,OAAO,KAAK,CAAA;YACd,CAAC;YACD,OAAO,EAAC,GAAG,MAAM,EAAE,GAAG,KAAK,EAAC,CAAA;QAC9B,CAAC;KACuB,CAAA;AAC5B,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {inject, InjectionToken, type StaticProvider} from \"@angular/core\"\n\nimport type {LucideIcon} from \"./lucide.types\"\n\nexport type LucideIconProviderValue = Record<string, LucideIcon>\n\nexport const LUCIDE_ICONS = new InjectionToken<LucideIconProviderValue>(\n \"LUCIDE_ICONS\",\n)\n\nexport function provideIcons(icons: Record<string, LucideIcon>) {\n return {\n provide: LUCIDE_ICONS,\n useFactory: () => {\n const parent: LucideIconProviderValue | null = inject(LUCIDE_ICONS, {\n optional: true,\n skipSelf: true,\n })\n if (!parent) {\n return icons\n }\n return {...parent, ...icons}\n },\n } satisfies StaticProvider\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-lucide.js","sourceRoot":"","sources":["../../../src/lucide/qualcomm-ui-angular-core-lucide.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,SAAS,CAAC","sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { Directive, effect, inject, Injector, TemplateRef, ViewContainerRef, } from "@angular/core";
|
|
4
|
+
import { BaseApiContextService } from "./api-context.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./api-context.service";
|
|
7
|
+
/**
|
|
8
|
+
* Base directive for creating context-aware directives that render content
|
|
9
|
+
* only when an API context is available.
|
|
10
|
+
*
|
|
11
|
+
* This abstract class provides the core functionality to:
|
|
12
|
+
* 1. Check if a required API context service is available
|
|
13
|
+
* 2. Render the associated template only when the API instance is accessible
|
|
14
|
+
* 3. Provide the API instance to the template as a typed value
|
|
15
|
+
*/
|
|
16
|
+
export class ApiContextDirective {
|
|
17
|
+
templateRef = inject(TemplateRef);
|
|
18
|
+
viewContainerRef = inject(ViewContainerRef);
|
|
19
|
+
injector = inject(Injector);
|
|
20
|
+
constructor(
|
|
21
|
+
// eslint-disable-next-line @angular-eslint/prefer-inject
|
|
22
|
+
contextService, contextName) {
|
|
23
|
+
if (!contextService) {
|
|
24
|
+
console.warn(`${contextName} used without a parent context. Template will not render.`);
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
effect(() => {
|
|
28
|
+
this.viewContainerRef.clear();
|
|
29
|
+
const apiInstance = contextService.context();
|
|
30
|
+
if (apiInstance) {
|
|
31
|
+
this.viewContainerRef.createEmbeddedView(this.templateRef, {
|
|
32
|
+
$implicit: apiInstance,
|
|
33
|
+
[contextName]: apiInstance,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}, { injector: this.injector });
|
|
37
|
+
}
|
|
38
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ApiContextDirective, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: ApiContextDirective, isStandalone: true, ngImport: i0 });
|
|
40
|
+
}
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: ApiContextDirective, decorators: [{
|
|
42
|
+
type: Directive
|
|
43
|
+
}], ctorParameters: () => [{ type: i1.BaseApiContextService }, { type: undefined }] });
|
|
44
|
+
//# sourceMappingURL=api-context.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-context.directive.js","sourceRoot":"","sources":["../../../src/machine/api-context.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,WAAW,EACX,gBAAgB,GACjB,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAC,qBAAqB,EAAC,MAAM,uBAAuB,CAAA;;;AAE3D;;;;;;;;GAQG;AAEH,MAAM,OAAgB,mBAAmB;IACtB,WAAW,GAAG,MAAM,CAAmB,WAAW,CAAC,CAAA;IACnD,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAA;IAC3C,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;IAE5C;IACE,yDAAyD;IACzD,cAAwC,EACxC,WAAmB;QAEnB,IAAI,CAAC,cAAc,EAAE,CAAC;YACpB,OAAO,CAAC,IAAI,CACV,GAAG,WAAW,2DAA2D,CAC1E,CAAA;YACD,OAAM;QACR,CAAC;QAED,MAAM,CACJ,GAAG,EAAE;YACH,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAA;YAC7B,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA;YAE5C,IAAI,WAAW,EAAE,CAAC;gBAChB,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,EAAE;oBACzD,SAAS,EAAE,WAAW;oBACtB,CAAC,WAAW,CAAC,EAAE,WAAW;iBAC3B,CAAC,CAAA;YACJ,CAAC;QACH,CAAC,EACD,EAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAC,CAC1B,CAAA;IACH,CAAC;wGA/BmB,mBAAmB;4FAAnB,mBAAmB;;4FAAnB,mBAAmB;kBADxC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n Directive,\n effect,\n inject,\n Injector,\n TemplateRef,\n ViewContainerRef,\n} from \"@angular/core\"\n\nimport {BaseApiContextService} from \"./api-context.service\"\n\n/**\n * Base directive for creating context-aware directives that render content\n * only when an API context is available.\n *\n * This abstract class provides the core functionality to:\n * 1. Check if a required API context service is available\n * 2. Render the associated template only when the API instance is accessible\n * 3. Provide the API instance to the template as a typed value\n */\n@Directive()\nexport abstract class ApiContextDirective<T extends object> {\n private readonly templateRef = inject<TemplateRef<any>>(TemplateRef)\n private readonly viewContainerRef = inject(ViewContainerRef)\n private readonly injector = inject(Injector)\n\n protected constructor(\n // eslint-disable-next-line @angular-eslint/prefer-inject\n contextService: BaseApiContextService<T>,\n contextName: string,\n ) {\n if (!contextService) {\n console.warn(\n `${contextName} used without a parent context. Template will not render.`,\n )\n return\n }\n\n effect(\n () => {\n this.viewContainerRef.clear()\n const apiInstance = contextService.context()\n\n if (apiInstance) {\n this.viewContainerRef.createEmbeddedView(this.templateRef, {\n $implicit: apiInstance,\n [contextName]: apiInstance,\n })\n }\n },\n {injector: this.injector},\n )\n }\n}\n"]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { inject, Injectable, InjectionToken, signal, } from "@angular/core";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Manages the API context for a service.
|
|
7
|
+
*
|
|
8
|
+
* Provides a way to initialize and access an API signal, ensuring that it is only
|
|
9
|
+
* set once. Attempting to reinitialize or access an uninitialized API will result
|
|
10
|
+
* in errors.
|
|
11
|
+
*
|
|
12
|
+
* @template T - The type of the data returned by the API.
|
|
13
|
+
*/
|
|
14
|
+
export class BaseApiContextService {
|
|
15
|
+
initialized = signal(false, ...(ngDevMode ? [{ debugName: "initialized" }] : []));
|
|
16
|
+
get context() {
|
|
17
|
+
if (!this._context) {
|
|
18
|
+
throw new Error("context not initialized");
|
|
19
|
+
}
|
|
20
|
+
return this._context;
|
|
21
|
+
}
|
|
22
|
+
_context;
|
|
23
|
+
init(computedApi) {
|
|
24
|
+
if (this._context) {
|
|
25
|
+
throw new Error("context already initialized");
|
|
26
|
+
}
|
|
27
|
+
this._context = computedApi;
|
|
28
|
+
this.initialized.set(true);
|
|
29
|
+
}
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BaseApiContextService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
31
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BaseApiContextService });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: BaseApiContextService, decorators: [{
|
|
34
|
+
type: Injectable
|
|
35
|
+
}] });
|
|
36
|
+
export function createApiContext(name, service, initialValue) {
|
|
37
|
+
const token = new InjectionToken(name);
|
|
38
|
+
function useContext(opts = {}) {
|
|
39
|
+
return inject(token, opts);
|
|
40
|
+
}
|
|
41
|
+
function getProviders() {
|
|
42
|
+
return [
|
|
43
|
+
service,
|
|
44
|
+
{
|
|
45
|
+
deps: [service],
|
|
46
|
+
provide: token,
|
|
47
|
+
useFactory: (context) => {
|
|
48
|
+
if (!context.initialized() && initialValue !== undefined) {
|
|
49
|
+
context.init(signal(initialValue));
|
|
50
|
+
}
|
|
51
|
+
return () => context.context();
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
];
|
|
55
|
+
}
|
|
56
|
+
return [token, useContext, getProviders];
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=api-context.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api-context.service.js","sourceRoot":"","sources":["../../../src/machine/api-context.service.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EAGd,MAAM,GAEP,MAAM,eAAe,CAAA;;AAEtB;;;;;;;;GAQG;AAEH,MAAM,OAAgB,qBAAqB;IAChC,WAAW,GAAG,MAAM,CAAC,KAAK,uDAAC,CAAA;IAEpC,IAAI,OAAO;QACT,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAA;QAC5C,CAAC;QACD,OAAO,IAAI,CAAC,QAAQ,CAAA;IACtB,CAAC;IACO,QAAQ,CAAuB;IAEvC,IAAI,CAAC,WAAsB;QACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,MAAM,IAAI,KAAK,CAAC,6BAA6B,CAAC,CAAA;QAChD,CAAC;QACD,IAAI,CAAC,QAAQ,GAAG,WAAW,CAAA;QAC3B,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IAC5B,CAAC;wGAjBmB,qBAAqB;4GAArB,qBAAqB;;4FAArB,qBAAqB;kBAD1C,UAAU;;AAoCX,MAAM,UAAU,gBAAgB,CAG9B,IAAY,EAAE,OAAU,EAAE,YAAgB;IAC1C,MAAM,KAAK,GAAG,IAAI,cAAc,CAAU,IAAI,CAAC,CAAA;IAE/C,SAAS,UAAU,CACjB,OAAiC,EAAE;QAEnC,OAAO,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC5B,CAAC;IAED,SAAS,YAAY;QACnB,OAAO;YACL,OAAc;YACd;gBACE,IAAI,EAAE,CAAC,OAAO,CAAC;gBACf,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,CAAC,OAAiC,EAAE,EAAE;oBAChD,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;wBACzD,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAA;oBACpC,CAAC;oBACD,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,CAAA;gBAChC,CAAC;aACF;SACF,CAAA;IACH,CAAC;IAED,OAAO,CAAC,KAAK,EAAE,UAA8B,EAAE,YAAY,CAAC,CAAA;AAC9D,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n inject,\n Injectable,\n InjectionToken,\n type InjectOptions,\n type Provider,\n signal,\n type Signal,\n} from \"@angular/core\"\n\n/**\n * Manages the API context for a service.\n *\n * Provides a way to initialize and access an API signal, ensuring that it is only\n * set once. Attempting to reinitialize or access an uninitialized API will result\n * in errors.\n *\n * @template T - The type of the data returned by the API.\n */\n@Injectable()\nexport abstract class BaseApiContextService<T> {\n readonly initialized = signal(false)\n\n get context() {\n if (!this._context) {\n throw new Error(\"context not initialized\")\n }\n return this._context\n }\n private _context: Signal<T> | undefined\n\n init(computedApi: Signal<T>): void {\n if (this._context) {\n throw new Error(\"context already initialized\")\n }\n this._context = computedApi\n this.initialized.set(true)\n }\n}\n\nexport type UseContextOpts<Optional extends boolean = false> = InjectOptions & {\n /**\n * Use optional injection, and return `null` if the requested token is not found.\n */\n optional?: Optional\n}\n\nexport type ApiContext<T> = [\n InjectionToken<() => T>,\n <Optional extends boolean = false>(\n opts?: UseContextOpts<Optional>,\n ) => Optional extends true ? (() => T) | null : () => T,\n () => Provider[],\n]\n\nexport function createApiContext<\n T,\n K extends typeof BaseApiContextService<T> = typeof BaseApiContextService<T>,\n>(name: string, service: K, initialValue?: T): ApiContext<T> {\n const token = new InjectionToken<() => T>(name)\n\n function useContext<Optional extends boolean = false>(\n opts: UseContextOpts<Optional> = {},\n ) {\n return inject(token, opts)\n }\n\n function getProviders(): Provider[] {\n return [\n service as any,\n {\n deps: [service],\n provide: token,\n useFactory: (context: BaseApiContextService<T>) => {\n if (!context.initialized() && initialValue !== undefined) {\n context.init(signal(initialValue))\n }\n return () => context.context()\n },\n },\n ]\n }\n\n return [token, useContext as ApiContext<T>[1], getProviders]\n}\n"]}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { signal } from "@angular/core";
|
|
4
|
+
export function bindableIdCollection() {
|
|
5
|
+
const collection = signal({}, ...(ngDevMode ? [{ debugName: "collection" }] : []));
|
|
6
|
+
return {
|
|
7
|
+
get(itemKey) {
|
|
8
|
+
return collection()[itemKey];
|
|
9
|
+
},
|
|
10
|
+
getAll() {
|
|
11
|
+
const result = {};
|
|
12
|
+
const current = collection();
|
|
13
|
+
for (const key in current) {
|
|
14
|
+
result[key] = current[key];
|
|
15
|
+
}
|
|
16
|
+
return result;
|
|
17
|
+
},
|
|
18
|
+
keys() {
|
|
19
|
+
return Object.keys(collection());
|
|
20
|
+
},
|
|
21
|
+
register(itemKey, value, onDestroy) {
|
|
22
|
+
const current = collection();
|
|
23
|
+
if (current[itemKey] === value) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (onDestroy) {
|
|
27
|
+
onDestroy(() => {
|
|
28
|
+
const currentState = collection();
|
|
29
|
+
const { [itemKey]: _removed, ...rest } = currentState;
|
|
30
|
+
collection.set(rest);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
collection.update((prevState) => ({
|
|
34
|
+
...prevState,
|
|
35
|
+
[itemKey]: value,
|
|
36
|
+
}));
|
|
37
|
+
},
|
|
38
|
+
remove(itemKey) {
|
|
39
|
+
const current = collection();
|
|
40
|
+
const { [itemKey]: _removed, ...rest } = current;
|
|
41
|
+
collection.set(rest);
|
|
42
|
+
},
|
|
43
|
+
set(itemKey, value) {
|
|
44
|
+
collection.update((prev) => ({
|
|
45
|
+
...prev,
|
|
46
|
+
[itemKey]: value,
|
|
47
|
+
}));
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=bindable-id-collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bindable-id-collection.js","sourceRoot":"","sources":["../../../src/machine/bindable-id-collection.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAA;AAIpC,MAAM,UAAU,oBAAoB;IAIlC,MAAM,UAAU,GAAG,MAAM,CAAoB,EAAE,sDAAC,CAAA;IAEhD,OAAO;QACL,GAAG,CAAC,OAAe;YACjB,OAAO,UAAU,EAAE,CAAC,OAAO,CAAC,CAAA;QAC9B,CAAC;QACD,MAAM;YACJ,MAAM,MAAM,GAAsB,EAAE,CAAA;YACpC,MAAM,OAAO,GAAG,UAAU,EAAE,CAAA;YAC5B,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;gBAC1B,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;YAC5B,CAAC;YACD,OAAO,MAAM,CAAA;QACf,CAAC;QACD,IAAI;YACF,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,CAAC,CAAA;QAClC,CAAC;QACD,QAAQ,CACN,OAAe,EACf,KAAQ,EACR,SAA0C;YAE1C,MAAM,OAAO,GAAG,UAAU,EAAE,CAAA;YAC5B,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/B,OAAM;YACR,CAAC;YAED,IAAI,SAAS,EAAE,CAAC;gBACd,SAAS,CAAC,GAAG,EAAE;oBACb,MAAM,YAAY,GAAG,UAAU,EAAE,CAAA;oBACjC,MAAM,EAAC,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAC,GAAG,YAAY,CAAA;oBACnD,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;gBACtB,CAAC,CAAC,CAAA;YACJ,CAAC;YAED,UAAU,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;gBAChC,GAAG,SAAS;gBACZ,CAAC,OAAO,CAAC,EAAE,KAAK;aACjB,CAAC,CAAC,CAAA;QACL,CAAC;QACD,MAAM,CAAC,OAAe;YACpB,MAAM,OAAO,GAAG,UAAU,EAAE,CAAA;YAC5B,MAAM,EAAC,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAC,GAAG,OAAO,CAAA;YAC9C,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;QACtB,CAAC;QACD,GAAG,CAAC,OAAe,EAAE,KAAQ;YAC3B,UAAU,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;gBAC3B,GAAG,IAAI;gBACP,CAAC,OAAO,CAAC,EAAE,KAAK;aACjB,CAAC,CAAC,CAAA;QACL,CAAC;KACF,CAAA;AACH,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {signal} from \"@angular/core\"\n\nimport type {BindableIdCollection, Dict} from \"@qualcomm-ui/utils/machine\"\n\nexport function bindableIdCollection<T extends Dict>(): BindableIdCollection<\n any,\n any\n> {\n const collection = signal<Record<string, T>>({})\n\n return {\n get(itemKey: string): T | undefined {\n return collection()[itemKey]\n },\n getAll(): Record<string, T> {\n const result: Record<string, T> = {}\n const current = collection()\n for (const key in current) {\n result[key] = current[key]\n }\n return result\n },\n keys(): string[] {\n return Object.keys(collection())\n },\n register(\n itemKey: string,\n value: T,\n onDestroy?: (callback: () => void) => void,\n ) {\n const current = collection()\n if (current[itemKey] === value) {\n return\n }\n\n if (onDestroy) {\n onDestroy(() => {\n const currentState = collection()\n const {[itemKey]: _removed, ...rest} = currentState\n collection.set(rest)\n })\n }\n\n collection.update((prevState) => ({\n ...prevState,\n [itemKey]: value,\n }))\n },\n remove(itemKey: string) {\n const current = collection()\n const {[itemKey]: _removed, ...rest} = current\n collection.set(rest)\n },\n set(itemKey: string, value: T) {\n collection.update((prev) => ({\n ...prev,\n [itemKey]: value,\n }))\n },\n }\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { signal } from "@angular/core";
|
|
4
|
+
export function bindableId(initialValue) {
|
|
5
|
+
// this value won't trigger change detection, but signals do
|
|
6
|
+
let cachedValue = initialValue;
|
|
7
|
+
const value = signal(initialValue, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
8
|
+
return {
|
|
9
|
+
get() {
|
|
10
|
+
return value();
|
|
11
|
+
},
|
|
12
|
+
set(v) {
|
|
13
|
+
if (cachedValue === v) {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
cachedValue = v;
|
|
17
|
+
value.set(v);
|
|
18
|
+
},
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=bindable-id.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bindable-id.js","sourceRoot":"","sources":["../../../src/machine/bindable-id.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,MAAM,EAAC,MAAM,eAAe,CAAA;AAIpC,MAAM,UAAU,UAAU,CACxB,YAAgC;IAEhC,4DAA4D;IAC5D,IAAI,WAAW,GAAG,YAAY,CAAA;IAC9B,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,iDAAC,CAAA;IAElC,OAAO;QACL,GAAG;YACD,OAAO,KAAK,EAAE,CAAA;QAChB,CAAC;QACD,GAAG,CAAC,CAAqB;YACvB,IAAI,WAAW,KAAK,CAAC,EAAE,CAAC;gBACtB,OAAM;YACR,CAAC;YACD,WAAW,GAAG,CAAC,CAAA;YACf,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;QACd,CAAC;KACF,CAAA;AACH,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {signal} from \"@angular/core\"\n\nimport type {BindableId} from \"@qualcomm-ui/utils/machine\"\n\nexport function bindableId(\n initialValue: string | undefined,\n): BindableId<string | undefined> {\n // this value won't trigger change detection, but signals do\n let cachedValue = initialValue\n const value = signal(initialValue)\n\n return {\n get(): string | undefined {\n return value()\n },\n set(v: string | undefined) {\n if (cachedValue === v) {\n return\n }\n cachedValue = v\n value.set(v)\n },\n }\n}\n"]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, effect, signal } from "@angular/core";
|
|
4
|
+
import { isFunction } from "@qualcomm-ui/utils/guard";
|
|
5
|
+
export function bindable(props) {
|
|
6
|
+
const initial = props().value ?? props().defaultValue;
|
|
7
|
+
const eq = props().isEqual ?? Object.is;
|
|
8
|
+
const value = signal(initial, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
9
|
+
const controlled = computed(() => props().value !== undefined, ...(ngDevMode ? [{ debugName: "controlled" }] : []));
|
|
10
|
+
const valueRef = computed(() => (controlled() ? props().value : value()), ...(ngDevMode ? [{ debugName: "valueRef" }] : []));
|
|
11
|
+
return {
|
|
12
|
+
get() {
|
|
13
|
+
return valueRef();
|
|
14
|
+
},
|
|
15
|
+
hash(value) {
|
|
16
|
+
return props().hash?.(value) ?? String(value);
|
|
17
|
+
},
|
|
18
|
+
initial,
|
|
19
|
+
invoke(nextValue, prevValue) {
|
|
20
|
+
props().onChange?.(nextValue, null, prevValue);
|
|
21
|
+
},
|
|
22
|
+
ref: valueRef,
|
|
23
|
+
set(v, event) {
|
|
24
|
+
const prev = valueRef();
|
|
25
|
+
const next = isFunction(v) ? v(prev) : v;
|
|
26
|
+
if (!controlled()) {
|
|
27
|
+
value.set(next);
|
|
28
|
+
}
|
|
29
|
+
if (!eq(next, prev)) {
|
|
30
|
+
props().onChange?.(next, event, prev);
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
bindable.cleanup = (fn) => {
|
|
36
|
+
effect((onCleanup) => onCleanup(fn));
|
|
37
|
+
};
|
|
38
|
+
bindable.ref = (defaultValue) => {
|
|
39
|
+
let value = defaultValue;
|
|
40
|
+
return {
|
|
41
|
+
get: () => value,
|
|
42
|
+
set: (next) => {
|
|
43
|
+
value = next;
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=bindable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bindable.js","sourceRoot":"","sources":["../../../src/machine/bindable.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAC,MAAM,eAAe,CAAA;AAEtD,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAA;AAOnD,MAAM,UAAU,QAAQ,CACtB,KAA2C;IAE3C,MAAM,OAAO,GAAG,KAAK,EAAE,CAAC,KAAK,IAAI,KAAK,EAAE,CAAC,YAAY,CAAA;IAErD,MAAM,EAAE,GAAG,KAAK,EAAE,CAAC,OAAO,IAAI,MAAM,CAAC,EAAE,CAAA;IAEvC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAY,iDAAC,CAAA;IAClC,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,KAAK,SAAS,sDAAC,CAAA;IAE9D,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,KAAM,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,oDAAC,CAAA;IAE1E,OAAO;QACL,GAAG;YACD,OAAO,QAAQ,EAAE,CAAA;QACnB,CAAC;QACD,IAAI,CAAC,KAAQ;YACX,OAAO,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,CAAA;QAC/C,CAAC;QACD,OAAO;QACP,MAAM,CAAC,SAAY,EAAE,SAAY;YAC/B,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,IAAmB,EAAE,SAAS,CAAC,CAAA;QAC/D,CAAC;QACD,GAAG,EAAE,QAAQ;QACb,GAAG,CAAC,CAAuB,EAAE,KAAkB;YAC7C,MAAM,IAAI,GAAG,QAAQ,EAAE,CAAA;YACvB,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;YAExC,IAAI,CAAC,UAAU,EAAE,EAAE,CAAC;gBAClB,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;YACjB,CAAC;YAED,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC;gBACpB,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,CAAA;YACvC,CAAC;QACH,CAAC;KACF,CAAA;AACH,CAAC;AAED,QAAQ,CAAC,OAAO,GAAG,CAAC,EAAgB,EAAE,EAAE;IACtC,MAAM,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAA;AACtC,CAAC,CAAA;AAED,QAAQ,CAAC,GAAG,GAAG,CAAI,YAAe,EAAE,EAAE;IACpC,IAAI,KAAK,GAAG,YAAY,CAAA;IAExB,OAAO;QACL,GAAG,EAAE,GAAG,EAAE,CAAC,KAAK;QAChB,GAAG,EAAE,CAAC,IAAO,EAAE,EAAE;YACf,KAAK,GAAG,IAAI,CAAA;QACd,CAAC;KACF,CAAA;AACH,CAAC,CAAA","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, effect, signal} from \"@angular/core\"\n\nimport {isFunction} from \"@qualcomm-ui/utils/guard\"\nimport type {\n Bindable,\n BindableParams,\n EventDetails,\n} from \"@qualcomm-ui/utils/machine\"\n\nexport function bindable<T, ChangeEvent extends EventDetails | void | null>(\n props: () => BindableParams<T, ChangeEvent>,\n): Bindable<T, ChangeEvent> {\n const initial = props().value ?? props().defaultValue\n\n const eq = props().isEqual ?? Object.is\n\n const value = signal(initial as T)\n const controlled = computed(() => props().value !== undefined)\n\n const valueRef = computed(() => (controlled() ? props().value! : value()))\n\n return {\n get(): T {\n return valueRef()\n },\n hash(value: T) {\n return props().hash?.(value) ?? String(value)\n },\n initial,\n invoke(nextValue: T, prevValue: T) {\n props().onChange?.(nextValue, null as ChangeEvent, prevValue)\n },\n ref: valueRef,\n set(v: T | ((prev: T) => T), event: ChangeEvent) {\n const prev = valueRef()\n const next = isFunction(v) ? v(prev) : v\n\n if (!controlled()) {\n value.set(next)\n }\n\n if (!eq(next, prev)) {\n props().onChange?.(next, event, prev)\n }\n },\n }\n}\n\nbindable.cleanup = (fn: VoidFunction) => {\n effect((onCleanup) => onCleanup(fn))\n}\n\nbindable.ref = <T>(defaultValue: T) => {\n let value = defaultValue\n\n return {\n get: () => value,\n set: (next: T) => {\n value = next\n },\n }\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./api-context.directive";
|
|
2
|
+
export * from "./api-context.service";
|
|
3
|
+
export * from "./bindable-id-collection";
|
|
4
|
+
export * from "./bindable-id";
|
|
5
|
+
export * from "./bindable";
|
|
6
|
+
export * from "./merge-props";
|
|
7
|
+
export * from "./q-bind.directive";
|
|
8
|
+
export * from "./normalize-props";
|
|
9
|
+
export * from "./refs";
|
|
10
|
+
export * from "./track";
|
|
11
|
+
export * from "./use-machine";
|
|
12
|
+
export * from "./use-track-bindings";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/machine/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAE1B,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,sBAAsB,CAAA","sourcesContent":["export * from \"./api-context.directive\"\nexport * from \"./api-context.service\"\nexport * from \"./bindable-id-collection\"\nexport * from \"./bindable-id\"\nexport * from \"./bindable\"\nexport type * from \"./machine.types\"\nexport * from \"./merge-props\"\nexport * from \"./q-bind.directive\"\nexport * from \"./normalize-props\"\nexport * from \"./refs\"\nexport * from \"./track\"\nexport * from \"./use-machine\"\nexport * from \"./use-track-bindings\"\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine.types.js","sourceRoot":"","sources":["../../../src/machine/machine.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 {TrackBindingsConfig} from \"./use-track-bindings\"\n\n/**\n * @deprecated, migrate to the useTrackBindingsInitOptions\n */\nexport interface MachineInitOptions extends TrackBindingsConfig {\n disabled?: never\n}\n"]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { clsx } from "@qualcomm-ui/utils/clsx";
|
|
4
|
+
import { callAll } from "@qualcomm-ui/utils/functions";
|
|
5
|
+
const CSS_REGEX = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
6
|
+
/**
|
|
7
|
+
* Converts a CSS text fragment (`"color:red; width:10px"`)
|
|
8
|
+
* into a `{color:'red', width:'10px'}` object.
|
|
9
|
+
*/
|
|
10
|
+
function parseCssText(style) {
|
|
11
|
+
const out = {};
|
|
12
|
+
let match;
|
|
13
|
+
while ((match = CSS_REGEX.exec(style))) {
|
|
14
|
+
out[match[1]] = match[2];
|
|
15
|
+
}
|
|
16
|
+
return out;
|
|
17
|
+
}
|
|
18
|
+
function mergeStyle(a, b) {
|
|
19
|
+
if (typeof a === "string") {
|
|
20
|
+
if (typeof b === "string") {
|
|
21
|
+
return `${a};${b}`;
|
|
22
|
+
}
|
|
23
|
+
a = parseCssText(a);
|
|
24
|
+
}
|
|
25
|
+
else if (typeof b === "string") {
|
|
26
|
+
b = parseCssText(b);
|
|
27
|
+
}
|
|
28
|
+
return { ...(a ?? {}), ...(b ?? {}) };
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Angular-friendly version of `mergeProps`.
|
|
32
|
+
*
|
|
33
|
+
* - Handlers (`on*`) are composed with `callAll`.
|
|
34
|
+
* - `class` / `className` values are merged via `clsx`.
|
|
35
|
+
* - `style` strings or objects are merged and normalised.
|
|
36
|
+
*/
|
|
37
|
+
export function mergeProps(...sources) {
|
|
38
|
+
const result = {};
|
|
39
|
+
for (const current of sources) {
|
|
40
|
+
if (!current) {
|
|
41
|
+
continue;
|
|
42
|
+
}
|
|
43
|
+
for (const key in current) {
|
|
44
|
+
const prev = result[key];
|
|
45
|
+
const next = current[key];
|
|
46
|
+
if (prev !== undefined) {
|
|
47
|
+
if (key.startsWith("on") &&
|
|
48
|
+
typeof prev === "function" &&
|
|
49
|
+
typeof next === "function") {
|
|
50
|
+
result[key] = callAll(prev, next);
|
|
51
|
+
continue;
|
|
52
|
+
}
|
|
53
|
+
if (key === "class" || key === "className") {
|
|
54
|
+
result[key] = clsx(prev, next);
|
|
55
|
+
continue;
|
|
56
|
+
}
|
|
57
|
+
if (key === "style") {
|
|
58
|
+
result[key] = mergeStyle(prev, next);
|
|
59
|
+
continue;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
result[key] = next;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
// Adapt the merged object to Angular-friendly prop names.
|
|
66
|
+
return result;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=merge-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"merge-props.js","sourceRoot":"","sources":["../../../src/machine/merge-props.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,IAAI,EAAC,MAAM,yBAAyB,CAAA;AAC5C,OAAO,EAAC,OAAO,EAAC,MAAM,8BAA8B,CAAA;AAMpD,MAAM,SAAS,GAAG,oCAAoC,CAAA;AAEtD;;;GAGG;AACH,SAAS,YAAY,CAAC,KAAa;IACjC,MAAM,GAAG,GAA2B,EAAE,CAAA;IACtC,IAAI,KAA6B,CAAA;IACjC,OAAO,CAAC,KAAK,GAAG,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACvC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;IAC1B,CAAC;IACD,OAAO,GAAG,CAAA;AACZ,CAAC;AAED,SAAS,UAAU,CACjB,CAA8C,EAC9C,CAA8C;IAE9C,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC1B,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;YAC1B,OAAO,GAAG,CAAC,IAAI,CAAC,EAAE,CAAA;QACpB,CAAC;QACD,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAAA;IACrB,CAAC;SAAM,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;QACjC,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,CAAA;IACrB,CAAC;IACD,OAAO,EAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAC,CAAA;AACrC,CAAC;AAYD;;;;;;GAMG;AACH,MAAM,UAAU,UAAU,CACxB,GAAG,OAAU;IAEb,MAAM,MAAM,GAAU,EAAE,CAAA;IAExB,KAAK,MAAM,OAAO,IAAI,OAAO,EAAE,CAAC;QAC9B,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,SAAQ;QACV,CAAC;QAED,KAAK,MAAM,GAAG,IAAI,OAAO,EAAE,CAAC;YAC1B,MAAM,IAAI,GAAQ,MAAM,CAAC,GAAG,CAAC,CAAA;YAC7B,MAAM,IAAI,GAAQ,OAAO,CAAC,GAAG,CAAC,CAAA;YAE9B,IAAI,IAAI,KAAK,SAAS,EAAE,CAAC;gBACvB,IACE,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC;oBACpB,OAAO,IAAI,KAAK,UAAU;oBAC1B,OAAO,IAAI,KAAK,UAAU,EAC1B,CAAC;oBACD,MAAM,CAAC,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;oBACjC,SAAQ;gBACV,CAAC;gBAED,IAAI,GAAG,KAAK,OAAO,IAAI,GAAG,KAAK,WAAW,EAAE,CAAC;oBAC3C,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;oBAC9B,SAAQ;gBACV,CAAC;gBAED,IAAI,GAAG,KAAK,OAAO,EAAE,CAAC;oBACpB,MAAM,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;oBACpC,SAAQ;gBACV,CAAC;YACH,CAAC;YAED,MAAM,CAAC,GAAG,CAAC,GAAG,IAAI,CAAA;QACpB,CAAC;IACH,CAAC;IAED,0DAA0D;IAC1D,OAAO,MAAuB,CAAA;AAChC,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {clsx} from \"@qualcomm-ui/utils/clsx\"\nimport {callAll} from \"@qualcomm-ui/utils/functions\"\n\ninterface Props {\n [key: string]: any\n}\n\nconst CSS_REGEX = /((?:--)?(?:\\w+-?)+)\\s*:\\s*([^;]*)/g\n\n/**\n * Converts a CSS text fragment (`\"color:red; width:10px\"`)\n * into a `{color:'red', width:'10px'}` object.\n */\nfunction parseCssText(style: string): Record<string, string> {\n const out: Record<string, string> = {}\n let match: RegExpExecArray | null\n while ((match = CSS_REGEX.exec(style))) {\n out[match[1]] = match[2]\n }\n return out\n}\n\nfunction mergeStyle(\n a: Record<string, string> | string | undefined,\n b: Record<string, string> | string | undefined,\n): Record<string, string> | string {\n if (typeof a === \"string\") {\n if (typeof b === \"string\") {\n return `${a};${b}`\n }\n a = parseCssText(a)\n } else if (typeof b === \"string\") {\n b = parseCssText(b)\n }\n return {...(a ?? {}), ...(b ?? {})}\n}\n\n/**\n * Construct the real resulting type so callers keep strong typing.\n */\nexport type MergeProps<T extends readonly Props[]> = T extends readonly [\n infer First extends Props,\n ...infer Rest extends readonly Props[],\n]\n ? First & MergeProps<Rest>\n : {}\n\n/**\n * Angular-friendly version of `mergeProps`.\n *\n * - Handlers (`on*`) are composed with `callAll`.\n * - `class` / `className` values are merged via `clsx`.\n * - `style` strings or objects are merged and normalised.\n */\nexport function mergeProps<T extends readonly Props[]>(\n ...sources: T\n): MergeProps<T> {\n const result: Props = {}\n\n for (const current of sources) {\n if (!current) {\n continue\n }\n\n for (const key in current) {\n const prev: any = result[key]\n const next: any = current[key]\n\n if (prev !== undefined) {\n if (\n key.startsWith(\"on\") &&\n typeof prev === \"function\" &&\n typeof next === \"function\"\n ) {\n result[key] = callAll(prev, next)\n continue\n }\n\n if (key === \"class\" || key === \"className\") {\n result[key] = clsx(prev, next)\n continue\n }\n\n if (key === \"style\") {\n result[key] = mergeStyle(prev, next)\n continue\n }\n }\n\n result[key] = next\n }\n }\n\n // Adapt the merged object to Angular-friendly prop names.\n return result as MergeProps<T>\n}\n"]}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { normalizeAriaAttr } from "@qualcomm-ui/utils/attributes";
|
|
4
|
+
import { clsx } from "@qualcomm-ui/utils/clsx";
|
|
5
|
+
import { isObject, isString } from "@qualcomm-ui/utils/guard";
|
|
6
|
+
import { createPropNormalizer } from "@qualcomm-ui/utils/machine";
|
|
7
|
+
const propMap = {
|
|
8
|
+
className: "class",
|
|
9
|
+
defaultChecked: "checked",
|
|
10
|
+
defaultValue: "value",
|
|
11
|
+
htmlFor: "for",
|
|
12
|
+
onBlur: "onfocusout",
|
|
13
|
+
onChange: "oninput",
|
|
14
|
+
onDoubleClick: "ondblclick",
|
|
15
|
+
onFocus: "onfocusin",
|
|
16
|
+
readOnly: "readonly",
|
|
17
|
+
};
|
|
18
|
+
const preserveKeys = new Set([
|
|
19
|
+
"viewBox",
|
|
20
|
+
"className",
|
|
21
|
+
"preserveAspectRatio",
|
|
22
|
+
"fillRule",
|
|
23
|
+
"clipPath",
|
|
24
|
+
"clipRule",
|
|
25
|
+
]);
|
|
26
|
+
const transformers = {
|
|
27
|
+
"aria-hidden": normalizeAriaAttr,
|
|
28
|
+
};
|
|
29
|
+
export const normalizeProps = createPropNormalizer((props) => {
|
|
30
|
+
const normalized = {};
|
|
31
|
+
for (const [key, value] of Object.entries(props)) {
|
|
32
|
+
if (key === "style") {
|
|
33
|
+
if (isString(value)) {
|
|
34
|
+
normalized["style"] = serializeStyle(value);
|
|
35
|
+
}
|
|
36
|
+
else if (isObject(value)) {
|
|
37
|
+
normalized["style"] = hyphenateStyle(value);
|
|
38
|
+
}
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
if (key === "className") {
|
|
42
|
+
if (isString(value)) {
|
|
43
|
+
normalized["class"] = value;
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
normalized["class"] = clsx(value);
|
|
47
|
+
}
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
if (key === "children") {
|
|
51
|
+
if (isString(value)) {
|
|
52
|
+
normalized["textContent"] = value;
|
|
53
|
+
}
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
56
|
+
if (key in transformers) {
|
|
57
|
+
normalized[key] = transformers[key](value);
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
normalized[toAngularProp(key)] = value;
|
|
61
|
+
}
|
|
62
|
+
return normalized;
|
|
63
|
+
});
|
|
64
|
+
const STYLE_REGEX = /((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g;
|
|
65
|
+
function serializeStyle(style) {
|
|
66
|
+
const res = {};
|
|
67
|
+
let match;
|
|
68
|
+
while ((match = STYLE_REGEX.exec(style))) {
|
|
69
|
+
res[match[1]] = match[2];
|
|
70
|
+
}
|
|
71
|
+
return res;
|
|
72
|
+
}
|
|
73
|
+
function hyphenateStyle(style) {
|
|
74
|
+
const res = {};
|
|
75
|
+
for (const [property, value] of Object.entries(style)) {
|
|
76
|
+
if (value === null || value === undefined) {
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
res[hyphenateStyleName(property)] = value;
|
|
80
|
+
}
|
|
81
|
+
return res;
|
|
82
|
+
}
|
|
83
|
+
const cache = new Map();
|
|
84
|
+
const uppercasePattern = /[A-Z]/g;
|
|
85
|
+
const msPattern = /^ms-/;
|
|
86
|
+
function hyphenateStyleName(name) {
|
|
87
|
+
if (name.startsWith("--")) {
|
|
88
|
+
return name;
|
|
89
|
+
}
|
|
90
|
+
if (cache.has(name)) {
|
|
91
|
+
return cache.get(name);
|
|
92
|
+
}
|
|
93
|
+
const hName = name.replace(uppercasePattern, toHyphenLower);
|
|
94
|
+
return cache.set(name, msPattern.test(hName) ? `-${hName}` : hName).get(name);
|
|
95
|
+
}
|
|
96
|
+
function toHyphenLower(match) {
|
|
97
|
+
return `-${match.toLowerCase()}`;
|
|
98
|
+
}
|
|
99
|
+
function toAngularProp(prop) {
|
|
100
|
+
if (prop in propMap) {
|
|
101
|
+
return propMap[prop];
|
|
102
|
+
}
|
|
103
|
+
if (preserveKeys.has(prop)) {
|
|
104
|
+
return prop;
|
|
105
|
+
}
|
|
106
|
+
return prop.toLowerCase();
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=normalize-props.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize-props.js","sourceRoot":"","sources":["../../../src/machine/normalize-props.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,iBAAiB,EAAC,MAAM,+BAA+B,CAAA;AAC/D,OAAO,EAAC,IAAI,EAAC,MAAM,yBAAyB,CAAA;AAC5C,OAAO,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAC,oBAAoB,EAAC,MAAM,4BAA4B,CAAA;AAE/D,MAAM,OAAO,GAA2B;IACtC,SAAS,EAAE,OAAO;IAClB,cAAc,EAAE,SAAS;IACzB,YAAY,EAAE,OAAO;IACrB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,YAAY;IACpB,QAAQ,EAAE,SAAS;IACnB,aAAa,EAAE,YAAY;IAC3B,OAAO,EAAE,WAAW;IACpB,QAAQ,EAAE,UAAU;CACrB,CAAA;AAED,MAAM,YAAY,GAAgB,IAAI,GAAG,CAAS;IAChD,SAAS;IACT,WAAW;IACX,qBAAqB;IACrB,UAAU;IACV,UAAU;IACV,UAAU;CACX,CAAC,CAAA;AAEF,MAAM,YAAY,GAA4C;IAC5D,aAAa,EAAE,iBAAiB;CACjC,CAAA;AAMD,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,UAAU,GAAS,EAAE,CAAA;IAE3B,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACjD,IAAI,GAAG,KAAK,OAAO,EAAE,CAAC;YACpB,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBACpB,UAAU,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,KAAK,CAAC,CAAA;YAC7C,CAAC;iBAAM,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBAC3B,UAAU,CAAC,OAAO,CAAC,GAAG,cAAc,CAAC,KAAK,CAAC,CAAA;YAC7C,CAAC;YAED,SAAQ;QACV,CAAC;QAED,IAAI,GAAG,KAAK,WAAW,EAAE,CAAC;YACxB,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBACpB,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;YAC7B,CAAC;iBAAM,CAAC;gBACN,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAA;YACnC,CAAC;YACD,SAAQ;QACV,CAAC;QAED,IAAI,GAAG,KAAK,UAAU,EAAE,CAAC;YACvB,IAAI,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;gBACpB,UAAU,CAAC,aAAa,CAAC,GAAG,KAAK,CAAA;YACnC,CAAC;YAED,SAAQ;QACV,CAAC;QAED,IAAI,GAAG,IAAI,YAAY,EAAE,CAAC;YACxB,UAAU,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA;YAC1C,SAAQ;QACV,CAAC;QAED,UAAU,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,KAAK,CAAA;IACxC,CAAC;IAED,OAAO,UAAU,CAAA;AACnB,CAAC,CAAC,CAAA;AAEF,MAAM,WAAW,GAAG,oCAAoC,CAAA;AAExD,SAAS,cAAc,CAAC,KAAa;IACnC,MAAM,GAAG,GAAgB,EAAE,CAAA;IAE3B,IAAI,KAA6B,CAAA;IAEjC,OAAO,CAAC,KAAK,GAAG,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;QACzC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;IAC1B,CAAC;IAED,OAAO,GAAG,CAAA;AACZ,CAAC;AAED,SAAS,cAAc,CAAC,KAAsC;IAC5D,MAAM,GAAG,GAAgB,EAAE,CAAA;IAE3B,KAAK,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACtD,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YAC1C,SAAQ;QACV,CAAC;QAED,GAAG,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,GAAG,KAAK,CAAA;IAC3C,CAAC;IAED,OAAO,GAAG,CAAA;AACZ,CAAC;AAED,MAAM,KAAK,GAAG,IAAI,GAAG,EAAkB,CAAA;AACvC,MAAM,gBAAgB,GAAG,QAAQ,CAAA;AACjC,MAAM,SAAS,GAAG,MAAM,CAAA;AAExB,SAAS,kBAAkB,CAAC,IAAY;IACtC,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAA;IACb,CAAC;IAED,IAAI,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACpB,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAE,CAAA;IACzB,CAAC;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE,aAAa,CAAC,CAAA;IAE3D,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,IAAI,CAAE,CAAA;AAChF,CAAC;AAED,SAAS,aAAa,CAAC,KAAa;IAClC,OAAO,IAAI,KAAK,CAAC,WAAW,EAAE,EAAE,CAAA;AAClC,CAAC;AAED,SAAS,aAAa,CAAC,IAAY;IACjC,IAAI,IAAI,IAAI,OAAO,EAAE,CAAC;QACpB,OAAO,OAAO,CAAC,IAAI,CAAC,CAAA;IACtB,CAAC;IAED,IAAI,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAA;IACb,CAAC;IAED,OAAO,IAAI,CAAC,WAAW,EAAE,CAAA;AAC3B,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {normalizeAriaAttr} from \"@qualcomm-ui/utils/attributes\"\nimport {clsx} from \"@qualcomm-ui/utils/clsx\"\nimport {isObject, isString} from \"@qualcomm-ui/utils/guard\"\nimport {createPropNormalizer} from \"@qualcomm-ui/utils/machine\"\n\nconst propMap: Record<string, string> = {\n className: \"class\",\n defaultChecked: \"checked\",\n defaultValue: \"value\",\n htmlFor: \"for\",\n onBlur: \"onfocusout\",\n onChange: \"oninput\",\n onDoubleClick: \"ondblclick\",\n onFocus: \"onfocusin\",\n readOnly: \"readonly\",\n}\n\nconst preserveKeys: Set<string> = new Set<string>([\n \"viewBox\",\n \"className\",\n \"preserveAspectRatio\",\n \"fillRule\",\n \"clipPath\",\n \"clipRule\",\n])\n\nconst transformers: Record<string, (value: unknown) => any> = {\n \"aria-hidden\": normalizeAriaAttr,\n}\n\nexport type StyleObject = Record<string, string | number>\n\nexport type Dict = Record<string, any>\n\nexport const normalizeProps = createPropNormalizer((props) => {\n const normalized: Dict = {}\n\n for (const [key, value] of Object.entries(props)) {\n if (key === \"style\") {\n if (isString(value)) {\n normalized[\"style\"] = serializeStyle(value)\n } else if (isObject(value)) {\n normalized[\"style\"] = hyphenateStyle(value)\n }\n\n continue\n }\n\n if (key === \"className\") {\n if (isString(value)) {\n normalized[\"class\"] = value\n } else {\n normalized[\"class\"] = clsx(value)\n }\n continue\n }\n\n if (key === \"children\") {\n if (isString(value)) {\n normalized[\"textContent\"] = value\n }\n\n continue\n }\n\n if (key in transformers) {\n normalized[key] = transformers[key](value)\n continue\n }\n\n normalized[toAngularProp(key)] = value\n }\n\n return normalized\n})\n\nconst STYLE_REGEX = /((?:--)?(?:\\w+-?)+)\\s*:\\s*([^;]*)/g\n\nfunction serializeStyle(style: string) {\n const res: StyleObject = {}\n\n let match: RegExpExecArray | null\n\n while ((match = STYLE_REGEX.exec(style))) {\n res[match[1]] = match[2]\n }\n\n return res\n}\n\nfunction hyphenateStyle(style: Record<string, string | number>): StyleObject {\n const res: StyleObject = {}\n\n for (const [property, value] of Object.entries(style)) {\n if (value === null || value === undefined) {\n continue\n }\n\n res[hyphenateStyleName(property)] = value\n }\n\n return res\n}\n\nconst cache = new Map<string, string>()\nconst uppercasePattern = /[A-Z]/g\nconst msPattern = /^ms-/\n\nfunction hyphenateStyleName(name: string) {\n if (name.startsWith(\"--\")) {\n return name\n }\n\n if (cache.has(name)) {\n return cache.get(name)!\n }\n\n const hName = name.replace(uppercasePattern, toHyphenLower)\n\n return cache.set(name, msPattern.test(hName) ? `-${hName}` : hName).get(name)!\n}\n\nfunction toHyphenLower(match: string) {\n return `-${match.toLowerCase()}`\n}\n\nfunction toAngularProp(prop: string) {\n if (prop in propMap) {\n return propMap[prop]\n }\n\n if (preserveKeys.has(prop)) {\n return prop\n }\n\n return prop.toLowerCase()\n}\n"]}
|