@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":"abstract-checkbox-form-control.directive.js","sourceRoot":"","sources":["../../../src/checkbox/abstract-checkbox-form-control.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,MAAM,EACN,QAAQ,EACR,KAAK,EACL,SAAS,EACT,YAAY,EAEZ,MAAM,EACN,qBAAqB,EACrB,MAAM,GACP,MAAM,eAAe,CAAA;AACtB,OAAO,EAAC,kBAAkB,EAAC,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAIL,kBAAkB,EAClB,kBAAkB,EAClB,SAAS,EACT,MAAM,EACN,OAAO,EACP,mBAAmB,EACnB,UAAU,GACX,MAAM,gBAAgB,CAAA;AAEvB,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAA;AAC7D,OAAO,EACL,eAAe,GAEhB,MAAM,iCAAiC,CAAA;;AAIxC,MAAM,OAAgB,oCAAoC;IAGxD;;;;OAIG;IACM,cAAc,GAAG,KAAK,CAAkC,SAAS,kDACxE,SAAS,EAAE,gBAAgB,OAD+C;YAC1E,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEF;;;;OAIG;IACM,QAAQ,GAAG,KAAK,CAAkC,SAAS,4CAClE,SAAS,EAAE,gBAAgB,OADyC;YACpE,SAAS,EAAE,gBAAgB;SAC5B,GAAC,CAAA;IAEF;;OAEG;IACM,IAAI,GAAG,KAAK,0DAAsB,CAAA;IAE3C;;;OAGG;IACM,QAAQ,GAAG,KAA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BAAkB,EAAE,IAAI,CAAC,CAAA;YACtE,IAAI,kBAAkB,EAAE,CAAC;gBACvB,OAAO,kBAAkB,CAAA;YAC3B,CAAC;QACH,CAAC;QAAC,MAAM,CAAC,CAAA,CAAC;QAEV,OAAO,IAAI,CAAA;IACb,CAAC;IAED;;OAEG;IACH,UAAU,CAAC,KAAU;QACnB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IACzB,CAAC;IAED,cAAc;IACJ,QAAQ,GAAG,CAAC,MAAW,EAAE,EAAE,GAAE,CAAC,CAAA;IAExC,gBAAgB,CAAC,EAAwB;QACvC,IAAI,CAAC,QAAQ,GAAG,CAAC,MAAM,EAAE,EAAE;YACzB,EAAE,CAAC,MAAM,CAAC,CAAA;YACV,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;YACxB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAClC,CAAC,CAAA;IACH,CAAC;IAES,SAAS,GAAG,GAAG,EAAE,GAAE,CAAC,CAAA;IAC9B,iBAAiB,CAAC,EAAc;QAC9B,IAAI,CAAC,SAAS,GAAG,EAAE,CAAA;IACrB,CAAC;IAED;;;;OAIG;IACH,gBAAgB,CAAC,UAAmB;QAClC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACjC,CAAC;wGAhSmB,oCAAoC;4FAApC,oCAAoC;;4FAApC,oCAAoC;kBADzD,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {\n afterNextRender,\n booleanAttribute,\n computed,\n Directive,\n effect,\n inject,\n Injector,\n input,\n isDevMode,\n linkedSignal,\n type OnInit,\n output,\n runInInjectionContext,\n signal,\n} from \"@angular/core\"\nimport {takeUntilDestroyed} from \"@angular/core/rxjs-interop\"\nimport {\n type AbstractControl,\n type ControlValueAccessor,\n type FormControlStatus,\n FormGroupDirective,\n FormSubmittedEvent,\n NgControl,\n NgForm,\n NgModel,\n PristineChangeEvent,\n Validators,\n} from \"@angular/forms\"\n\nimport {useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {\n allEventsSignal,\n type FormEventData,\n} from \"@qualcomm-ui/angular-core/forms\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\n\n@Directive()\nexport abstract class AbstractCheckboxFormControlDirective\n implements ControlValueAccessor, OnInit\n{\n /**\n * The initial checked state of the checkbox when rendered. Use when you don't\n * need to control the checked state of the checkbox. This property will be\n * ignored if you opt into controlled state via form control bindings.\n */\n readonly defaultChecked = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is disabled in template-driven forms. When true,\n * prevents user interaction and applies visual styling to indicate the disabled\n * state.\n */\n readonly disabled = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The name of the input field in a checkbox. Useful for form submission.\n */\n readonly name = input<string | undefined>()\n\n /**\n * Whether the input is read-only. When true, prevents user interaction while\n * keeping the input focusable and visible.\n */\n readonly readOnly = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Controls whether the input is required in template-driven forms. When\n * true, the input must have a value for form validation to pass.\n */\n readonly required = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * Event emitted when the checkbox is checked or unchecked. This is only emitted\n * on interaction. It doesn't emit in response to programmatic form control\n * changes.\n */\n readonly checkedChanged = output<boolean>()\n\n /* the internal \"checked\" state of the checkbox */\n protected readonly checked = signal<boolean>(false)\n protected readonly onDestroy = useOnDestroy()\n protected readonly injector = inject(Injector)\n protected readonly formControlStatus = signal<FormControlStatus | undefined>(\n undefined,\n )\n protected readonly formSubmitted = signal(false)\n\n protected readonly ngControl: NgControl | null = inject(NgControl, {\n optional: true,\n self: true,\n })\n\n protected readonly formEventData = signal<FormEventData<\n boolean | undefined\n > | null>(null)\n\n /**\n * If the component is bound to an Angular AbstractControl, its state wins.\n * If not, fall back to the host attribute.\n */\n protected readonly isDisabled = linkedSignal(() => {\n /**\n * When the component is bound to any AbstractControl, status is guaranteed to\n * be non-undefined.\n */\n const status = this.formControlStatus()\n const disabled = this.disabled()\n if (status !== undefined) {\n return status === \"DISABLED\"\n }\n\n return !!disabled\n })\n\n readonly invalid = computed(() => {\n const formEventData = this.formEventData()\n const submitted = this.formSubmitted()\n if (!this.control) {\n return false\n }\n\n let invalid, touched, dirty\n\n if (this.isTemplateDrivenForm) {\n invalid = this.control.invalid\n touched = this.control.touched\n dirty = this.control.dirty\n } else if (formEventData) {\n invalid = formEventData.invalid\n touched = formEventData.touched\n dirty = formEventData.dirty\n } else {\n return false\n }\n\n if (submitted) {\n return invalid\n }\n\n switch (this.control.updateOn) {\n case \"submit\":\n return invalid\n case \"blur\":\n return invalid && touched\n default:\n // \"change\"\n return dirty && invalid\n }\n })\n\n readonly isRequired = linkedSignal(() => {\n const control = this.control\n const required = this.required()\n if (!control || !this.isReactiveForm) {\n return required\n }\n\n if (typeof control.hasValidator === \"function\") {\n return (\n control.hasValidator(Validators.required) ||\n control.hasValidator(Validators.requiredTrue)\n )\n }\n return false\n })\n\n constructor() {\n if (this.ngControl) {\n this.ngControl.valueAccessor = this\n }\n\n afterNextRender(() => {\n const required = this.required()\n if (required && this.isReactiveForm && isDevMode()) {\n console.warn(\n \"The required attribute is not supported on reactive forms. Use Validators instead. https://angular.dev/guide/forms/form-validation#validating-input-in-reactive-forms\",\n )\n }\n })\n\n effect(() => {\n const required = this.required()\n if (this.control && this.isTemplateDrivenForm) {\n if (required) {\n this.control.addValidators(Validators.requiredTrue)\n } else if (this.control.hasValidator(Validators.requiredTrue)) {\n this.control.removeValidators(Validators.requiredTrue)\n }\n }\n })\n }\n\n ngOnInit() {\n // Ensure the form control receives the initial value\n if (!this.control && this.defaultChecked()) {\n this.checked.set(true)\n } else if (this.control) {\n const subscription = this.control.statusChanges.subscribe((status) => {\n this.formControlStatus.set(status)\n })\n this.onDestroy(() => {\n subscription.unsubscribe()\n })\n\n const parent = this.getParentForm()\n\n runInInjectionContext(this.injector, () => {\n if (this.control) {\n const formSignal = allEventsSignal<boolean | undefined>(this.control)\n effect(() => {\n this.formEventData.set(formSignal())\n })\n }\n\n if (parent) {\n let prevPristine = this.control?.pristine || false\n parent.form.events.pipe(takeUntilDestroyed()).subscribe((event) => {\n if (event instanceof PristineChangeEvent) {\n if (event.pristine && !prevPristine) {\n // if this event fires with pristine status and the control was\n // previously not pristine, this means that the form was reset. There\n // isn't another way to determine form resets programmatically,\n // unfortunately.\n this.formSubmitted.set(false)\n }\n prevPristine = event.pristine\n } else if (event instanceof FormSubmittedEvent) {\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n }\n })\n parent.ngSubmit.pipe(takeUntilDestroyed()).subscribe(() => {\n if (this.isReactiveForm) {\n // already accounted for in the above event subscription.\n return\n }\n this.formSubmitted.set(true)\n this.control?.markAsDirty()\n })\n }\n })\n }\n }\n\n /** `true` when used with template-driven forms (`[(ngModel)]`, `ngModel`, …). */\n get isTemplateDrivenForm(): boolean {\n return this.ngControl instanceof NgModel\n }\n\n /** `true` when used with reactive-forms (`formControl`, `formControlName`, …). */\n get isReactiveForm(): boolean {\n // Any NgControl that is *not* NgModel belongs to the reactive-forms package\n return !!this.ngControl && !this.isTemplateDrivenForm\n }\n\n /** Convenience access to the underlying AbstractControl (can be null). */\n protected get control(): AbstractControl | null {\n return this.ngControl?.control ?? null\n }\n\n /**\n * Used to subscribe to form submit events.\n */\n private getParentForm(): NgForm | FormGroupDirective | null {\n if (!this.control) {\n return null\n }\n\n // Try to find NgForm first\n try {\n const ngForm = this.injector.get(NgForm, null)\n if (ngForm) {\n return ngForm\n }\n } catch {}\n\n // Fall back to FormGroupDirective\n try {\n const formGroupDirective = this.injector.get(FormGroupDirective, null)\n if (formGroupDirective) {\n return formGroupDirective\n }\n } catch {}\n\n return null\n }\n\n /*\n * Control value accessor methods\n */\n writeValue(value: any): void {\n this.checked.set(value)\n }\n\n // placeholder\n protected onChange = (_value: any) => {}\n\n registerOnChange(fn: (value: any) => void): void {\n this.onChange = (_value) => {\n fn(_value)\n this.checked.set(_value)\n this.checkedChanged.emit(_value)\n }\n }\n\n protected onTouched = () => {}\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn\n }\n\n /**\n * NgModel never calls setDisabledState, but ReactiveForms does. Everything else\n * (writeValue, registerOnChange, registerOnTouched) is identical between Reactive\n * and Template forms.\n */\n setDisabledState(isDisabled: boolean): void {\n this.isDisabled.set(isDisabled)\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { Injectable } from "@angular/core";
|
|
4
|
+
import { BaseApiContextService, createApiContext, } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class CheckboxContextService extends BaseApiContextService {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CheckboxContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
8
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CheckboxContextService });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CheckboxContextService, decorators: [{
|
|
11
|
+
type: Injectable
|
|
12
|
+
}] });
|
|
13
|
+
export const [CHECKBOX_CONTEXT, useCheckboxContext, provideCheckboxContext,] = createApiContext("CheckboxContext", CheckboxContextService);
|
|
14
|
+
//# sourceMappingURL=checkbox-context.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-context.service.js","sourceRoot":"","sources":["../../../src/checkbox/checkbox-context.service.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAA;AAExC,OAAO,EAEL,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;;AAI1C,MAAM,OAAO,sBAAuB,SAAQ,qBAAkC;wGAAjE,sBAAsB;4GAAtB,sBAAsB;;4FAAtB,sBAAsB;kBADlC,UAAU;;AAGX,MAAM,CAAC,MAAM,CACX,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACvB,GAA4B,gBAAgB,CAC3C,iBAAiB,EACjB,sBAAsB,CACvB,CAAA","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {CheckboxApi} from \"@qualcomm-ui/core/checkbox\"\n\n@Injectable()\nexport class CheckboxContextService extends BaseApiContextService<CheckboxApi> {}\n\nexport const [\n CHECKBOX_CONTEXT,\n useCheckboxContext,\n provideCheckboxContext,\n]: ApiContext<CheckboxApi> = createApiContext<CheckboxApi>(\n \"CheckboxContext\",\n CheckboxContextService,\n)\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, Directive, input } from "@angular/core";
|
|
4
|
+
import { useId, useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
5
|
+
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
+
import { useCheckboxContext } from "./checkbox-context.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CoreCheckboxControlDirective {
|
|
9
|
+
/**
|
|
10
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
11
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
12
|
+
*/
|
|
13
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
14
|
+
checkboxContext = useCheckboxContext();
|
|
15
|
+
trackBindings = useTrackBindings(() => this.checkboxContext().getControlBindings({
|
|
16
|
+
id: this.hostId(),
|
|
17
|
+
onDestroy: this.onDestroy,
|
|
18
|
+
}));
|
|
19
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
20
|
+
onDestroy = useOnDestroy();
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
this.trackBindings();
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxControlDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreCheckboxControlDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxControlDirective, decorators: [{
|
|
28
|
+
type: Directive
|
|
29
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
30
|
+
//# sourceMappingURL=core-checkbox-control.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-checkbox-control.directive.js","sourceRoot":"","sources":["../../../src/checkbox/core-checkbox-control.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAc,MAAM,eAAe,CAAA;AAErE,OAAO,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4BAA4B,CAAA;;AAG7D,MAAM,OAAO,4BAA4B;IACvC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,eAAe,GAAG,kBAAkB,EAAE,CAAA;IAEtC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,eAAe,EAAE,CAAC,kBAAkB,CAAC;QACxC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CACH,CAAA;IAEgB,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAE/C,SAAS,GAAG,YAAY,EAAE,CAAA;IAE3C,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAtBU,4BAA4B;4FAA5B,4BAA4B;;4FAA5B,4BAA4B;kBADxC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxControlDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getControlBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, Directive, input } from "@angular/core";
|
|
4
|
+
import { useId, useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
5
|
+
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
+
import { useCheckboxContext } from "./checkbox-context.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CoreCheckboxErrorTextDirective {
|
|
9
|
+
/**
|
|
10
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
11
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
12
|
+
*/
|
|
13
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
14
|
+
checkboxContext = useCheckboxContext();
|
|
15
|
+
trackBindings = useTrackBindings(() => this.checkboxContext().getErrorTextBindings({
|
|
16
|
+
id: this.hostId(),
|
|
17
|
+
onDestroy: this.onDestroy,
|
|
18
|
+
}));
|
|
19
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
20
|
+
onDestroy = useOnDestroy();
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
this.trackBindings();
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxErrorTextDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreCheckboxErrorTextDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxErrorTextDirective, decorators: [{
|
|
28
|
+
type: Directive
|
|
29
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
30
|
+
//# sourceMappingURL=core-checkbox-error-text.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-checkbox-error-text.directive.js","sourceRoot":"","sources":["../../../src/checkbox/core-checkbox-error-text.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAc,MAAM,eAAe,CAAA;AAErE,OAAO,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4BAA4B,CAAA;;AAG7D,MAAM,OAAO,8BAA8B;IACzC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,eAAe,GAAG,kBAAkB,EAAE,CAAA;IAEtC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,eAAe,EAAE,CAAC,oBAAoB,CAAC;QAC1C,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CACH,CAAA;IAEgB,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAE/C,SAAS,GAAG,YAAY,EAAE,CAAA;IAE3C,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAtBU,8BAA8B;4FAA9B,8BAA8B;;4FAA9B,8BAA8B;kBAD1C,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxErrorTextDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getErrorTextBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, Directive, input } from "@angular/core";
|
|
4
|
+
import { useId, useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
5
|
+
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
+
import { useCheckboxContext } from "./checkbox-context.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CoreCheckboxHiddenInputDirective {
|
|
9
|
+
/**
|
|
10
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
11
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
12
|
+
*/
|
|
13
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
14
|
+
checkboxContext = useCheckboxContext();
|
|
15
|
+
trackBindings = useTrackBindings(() => this.checkboxContext().getHiddenInputBindings({
|
|
16
|
+
id: this.hostId(),
|
|
17
|
+
onDestroy: this.onDestroy,
|
|
18
|
+
}));
|
|
19
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
20
|
+
onDestroy = useOnDestroy();
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
this.trackBindings();
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxHiddenInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreCheckboxHiddenInputDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxHiddenInputDirective, decorators: [{
|
|
28
|
+
type: Directive
|
|
29
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
30
|
+
//# sourceMappingURL=core-checkbox-hidden-input.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-checkbox-hidden-input.directive.js","sourceRoot":"","sources":["../../../src/checkbox/core-checkbox-hidden-input.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAc,MAAM,eAAe,CAAA;AAErE,OAAO,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4BAA4B,CAAA;;AAG7D,MAAM,OAAO,gCAAgC;IAC3C;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,eAAe,GAAG,kBAAkB,EAAE,CAAA;IAEtC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,eAAe,EAAE,CAAC,sBAAsB,CAAC;QAC5C,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CACH,CAAA;IAEgB,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAE/C,SAAS,GAAG,YAAY,EAAE,CAAA;IAE3C,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAtBU,gCAAgC;4FAAhC,gCAAgC;;4FAAhC,gCAAgC;kBAD5C,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxHiddenInputDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getHiddenInputBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { Directive } from "@angular/core";
|
|
4
|
+
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
+
import { useCheckboxContext } from "./checkbox-context.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class CoreCheckboxIndicatorDirective {
|
|
8
|
+
checkboxContext = useCheckboxContext();
|
|
9
|
+
trackBindings = useTrackBindings(() => this.checkboxContext().getIndicatorBindings());
|
|
10
|
+
ngOnInit() {
|
|
11
|
+
this.trackBindings();
|
|
12
|
+
}
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxIndicatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
14
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.10", type: CoreCheckboxIndicatorDirective, isStandalone: true, ngImport: i0 });
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxIndicatorDirective, decorators: [{
|
|
17
|
+
type: Directive
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=core-checkbox-indicator.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-checkbox-indicator.directive.js","sourceRoot":"","sources":["../../../src/checkbox/core-checkbox-indicator.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,SAAS,EAAc,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4BAA4B,CAAA;;AAG7D,MAAM,OAAO,8BAA8B;IACtB,eAAe,GAAG,kBAAkB,EAAE,CAAA;IAEtC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,eAAe,EAAE,CAAC,oBAAoB,EAAE,CAC9C,CAAA;IAED,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGATU,8BAA8B;4FAA9B,8BAA8B;;4FAA9B,8BAA8B;kBAD1C,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Directive, type OnInit} from \"@angular/core\"\n\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxIndicatorDirective implements OnInit {\n protected readonly checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getIndicatorBindings(),\n )\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, Directive, input } from "@angular/core";
|
|
4
|
+
import { useId, useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
5
|
+
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
+
import { useCheckboxContext } from "./checkbox-context.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CoreCheckboxLabelDirective {
|
|
9
|
+
/**
|
|
10
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
11
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
12
|
+
*/
|
|
13
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
14
|
+
checkboxContext = useCheckboxContext();
|
|
15
|
+
trackBindings = useTrackBindings(() => this.checkboxContext().getLabelBindings({
|
|
16
|
+
id: this.hostId(),
|
|
17
|
+
onDestroy: this.onDestroy,
|
|
18
|
+
}));
|
|
19
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
20
|
+
onDestroy = useOnDestroy();
|
|
21
|
+
ngOnInit() {
|
|
22
|
+
this.trackBindings();
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxLabelDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreCheckboxLabelDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxLabelDirective, decorators: [{
|
|
28
|
+
type: Directive
|
|
29
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
30
|
+
//# sourceMappingURL=core-checkbox-label.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-checkbox-label.directive.js","sourceRoot":"","sources":["../../../src/checkbox/core-checkbox-label.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAc,MAAM,eAAe,CAAA;AAErE,OAAO,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,kBAAkB,EAAC,MAAM,4BAA4B,CAAA;;AAG7D,MAAM,OAAO,0BAA0B;IACrC;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,eAAe,GAAG,kBAAkB,EAAE,CAAA;IAEtC,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE,CACvD,IAAI,CAAC,eAAe,EAAE,CAAC,gBAAgB,CAAC;QACtC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,SAAS,EAAE,IAAI,CAAC,SAAS;KAC1B,CAAC,CACH,CAAA;IAEgB,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAE/C,SAAS,GAAG,YAAY,EAAE,CAAA;IAE3C,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAtBU,0BAA0B;4FAA1B,0BAA0B;;4FAA1B,0BAA0B;kBADtC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCheckboxContext} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxLabelDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly checkboxContext = useCheckboxContext()\n\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContext().getLabelBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n }),\n )\n\n private readonly hostId = computed(() => useId(this, this.id()))\n\n private readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { DOCUMENT } from "@angular/common";
|
|
4
|
+
import { booleanAttribute, computed, Directive, inject, input, } from "@angular/core";
|
|
5
|
+
import {} from "@angular/forms";
|
|
6
|
+
import { useId } from "@qualcomm-ui/angular-core/common";
|
|
7
|
+
import { normalizeProps, useMachine, useTrackBindings, } from "@qualcomm-ui/angular-core/machine";
|
|
8
|
+
import { checkboxMachine, createCheckboxApi, } from "@qualcomm-ui/core/checkbox";
|
|
9
|
+
import { AbstractCheckboxFormControlDirective } from "./abstract-checkbox-form-control.directive";
|
|
10
|
+
import { CheckboxContextService } from "./checkbox-context.service";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export class CoreCheckboxRootDirective extends AbstractCheckboxFormControlDirective {
|
|
13
|
+
/**
|
|
14
|
+
* The document's text/writing direction.
|
|
15
|
+
*
|
|
16
|
+
* @default "ltr"
|
|
17
|
+
*/
|
|
18
|
+
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
|
|
19
|
+
/**
|
|
20
|
+
* A root node to correctly resolve the Document in custom environments. i.e.,
|
|
21
|
+
* Iframes, Electron.
|
|
22
|
+
*/
|
|
23
|
+
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
|
|
24
|
+
/**
|
|
25
|
+
* If true and the checkbox is not checked, the checkbox will be in the
|
|
26
|
+
* `indeterminate` state.
|
|
27
|
+
*/
|
|
28
|
+
indeterminate = input(undefined, ...(ngDevMode ? [{ debugName: "indeterminate", transform: booleanAttribute }] : [{
|
|
29
|
+
transform: booleanAttribute,
|
|
30
|
+
}]));
|
|
31
|
+
/**
|
|
32
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
33
|
+
* omitted, a unique identifier will be generated for accessibility.)
|
|
34
|
+
*/
|
|
35
|
+
id = input(undefined, ...(ngDevMode ? [{ debugName: "id" }] : []));
|
|
36
|
+
/**
|
|
37
|
+
* The value of checkbox input. Useful for form submission.
|
|
38
|
+
* @default "on"
|
|
39
|
+
*/
|
|
40
|
+
value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
|
|
41
|
+
checkboxContextService = inject(CheckboxContextService);
|
|
42
|
+
document = inject(DOCUMENT);
|
|
43
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
44
|
+
trackBindings = useTrackBindings(() => this.checkboxContextService.context().getRootBindings({ id: this.hostId() }));
|
|
45
|
+
ngOnInit() {
|
|
46
|
+
super.ngOnInit();
|
|
47
|
+
const machine = useMachine(checkboxMachine, computed(() => ({
|
|
48
|
+
checked: this.checked(),
|
|
49
|
+
defaultChecked: this.defaultChecked(),
|
|
50
|
+
dir: this.dir(),
|
|
51
|
+
disabled: this.isDisabled(),
|
|
52
|
+
// angular handles this automatically with ngModel and Reactive Forms
|
|
53
|
+
form: undefined,
|
|
54
|
+
getRootNode: this.getRootNode() || (() => this.document),
|
|
55
|
+
ids: undefined,
|
|
56
|
+
indeterminate: this.indeterminate(),
|
|
57
|
+
invalid: this.invalid(),
|
|
58
|
+
name: this.name(),
|
|
59
|
+
onCheckedChange: (checked) => {
|
|
60
|
+
this.onChange(checked);
|
|
61
|
+
if (!this.control) {
|
|
62
|
+
this.checkedChanged.emit(checked);
|
|
63
|
+
this.checked.set(checked);
|
|
64
|
+
}
|
|
65
|
+
if (this.control && !this.control?.touched) {
|
|
66
|
+
this.onTouched();
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
onFocusChange: (focused) => {
|
|
70
|
+
if (!focused) {
|
|
71
|
+
// only trigger onTouched on blur.
|
|
72
|
+
this.onTouched();
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
readOnly: this.readOnly(),
|
|
76
|
+
required: this.isRequired(),
|
|
77
|
+
value: this.value(),
|
|
78
|
+
})), this.injector);
|
|
79
|
+
this.checkboxContextService.init(computed(() => createCheckboxApi(machine, normalizeProps)));
|
|
80
|
+
this.trackBindings();
|
|
81
|
+
}
|
|
82
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxRootDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
83
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreCheckboxRootDirective, isStandalone: true, inputs: { dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, usesInheritance: true, ngImport: i0 });
|
|
84
|
+
}
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCheckboxRootDirective, decorators: [{
|
|
86
|
+
type: Directive
|
|
87
|
+
}], propDecorators: { dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }] } });
|
|
88
|
+
//# sourceMappingURL=core-checkbox-root.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"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B,IAAI,CAAC,OAAO,EAAE,CAAC;oBACb,kCAAkC;oBAClC,IAAI,CAAC,SAAS,EAAE,CAAA;gBAClB,CAAC;YACH,CAAC;YACD,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE;YACzB,QAAQ,EAAE,IAAI,CAAC,UAAU,EAAE;YAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE;SACpB,CAAC,CAAC,EACH,IAAI,CAAC,QAAQ,CACd,CAAA;QAED,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAC9B,QAAQ,CAAC,GAAG,EAAE,CAAC,iBAAiB,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAC3D,CAAA;QAED,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGA/FU,yBAAyB;4FAAzB,yBAAyB;;4FAAzB,yBAAyB;kBADrC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n input,\n type OnInit,\n} from \"@angular/core\"\nimport {type ControlValueAccessor} from \"@angular/forms\"\n\nimport {useId} from \"@qualcomm-ui/angular-core/common\"\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n type CheckboxApiProps,\n checkboxMachine,\n createCheckboxApi,\n} from \"@qualcomm-ui/core/checkbox\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {AbstractCheckboxFormControlDirective} from \"./abstract-checkbox-form-control.directive\"\nimport {CheckboxContextService} from \"./checkbox-context.service\"\n\n@Directive()\nexport class CoreCheckboxRootDirective\n extends AbstractCheckboxFormControlDirective\n implements\n SignalifyInput<Omit<CheckboxApiProps, \"checked\" | \"form\" | \"ids\">>,\n ControlValueAccessor,\n OnInit\n{\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * If true and the checkbox is not checked, the checkbox will be in the\n * `indeterminate` state.\n */\n readonly indeterminate = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.)\n */\n readonly id = input<string | undefined>(undefined)\n\n /**\n * The value of checkbox input. Useful for form submission.\n * @default \"on\"\n */\n readonly value = input<string | undefined>()\n\n protected readonly checkboxContextService = inject(CheckboxContextService)\n protected document = inject(DOCUMENT)\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n protected readonly trackBindings = useTrackBindings(() =>\n this.checkboxContextService.context().getRootBindings({id: this.hostId()}),\n )\n\n override ngOnInit() {\n super.ngOnInit()\n\n const machine = useMachine(\n checkboxMachine,\n computed<Explicit<CheckboxApiProps>>(() => ({\n checked: this.checked(),\n defaultChecked: this.defaultChecked(),\n dir: this.dir(),\n disabled: this.isDisabled(),\n // angular handles this automatically with ngModel and Reactive Forms\n form: undefined,\n getRootNode: this.getRootNode() || (() => this.document),\n ids: undefined,\n indeterminate: this.indeterminate(),\n invalid: this.invalid(),\n name: this.name(),\n onCheckedChange: (checked) => {\n this.onChange(checked)\n if (!this.control) {\n this.checkedChanged.emit(checked)\n this.checked.set(checked)\n }\n if (this.control && !this.control?.touched) {\n this.onTouched()\n }\n },\n onFocusChange: (focused) => {\n if (!focused) {\n // only trigger onTouched on blur.\n this.onTouched()\n }\n },\n readOnly: this.readOnly(),\n required: this.isRequired(),\n value: this.value(),\n })),\n this.injector,\n )\n\n this.checkboxContextService.init(\n computed(() => createCheckboxApi(machine, normalizeProps)),\n )\n\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from "./abstract-checkbox-form-control.directive";
|
|
2
|
+
export * from "./checkbox-context.service";
|
|
3
|
+
export * from "./core-checkbox-control.directive";
|
|
4
|
+
export * from "./core-checkbox-error-text.directive";
|
|
5
|
+
export * from "./core-checkbox-hidden-input.directive";
|
|
6
|
+
export * from "./core-checkbox-indicator.directive";
|
|
7
|
+
export * from "./core-checkbox-label.directive";
|
|
8
|
+
export * from "./core-checkbox-root.directive";
|
|
9
|
+
export * from "./use-checkbox-group";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/checkbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,4CAA4C,CAAA;AAC1D,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mCAAmC,CAAA;AACjD,cAAc,sCAAsC,CAAA;AACpD,cAAc,wCAAwC,CAAA;AACtD,cAAc,qCAAqC,CAAA;AACnD,cAAc,iCAAiC,CAAA;AAC/C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,sBAAsB,CAAA","sourcesContent":["export * from \"./abstract-checkbox-form-control.directive\"\nexport * from \"./checkbox-context.service\"\nexport * from \"./core-checkbox-control.directive\"\nexport * from \"./core-checkbox-error-text.directive\"\nexport * from \"./core-checkbox-hidden-input.directive\"\nexport * from \"./core-checkbox-indicator.directive\"\nexport * from \"./core-checkbox-label.directive\"\nexport * from \"./core-checkbox-root.directive\"\nexport * from \"./use-checkbox-group\"\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qualcomm-ui-angular-core-checkbox.js","sourceRoot":"","sources":["../../../src/checkbox/qualcomm-ui-angular-core-checkbox.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,62 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed } from "@angular/core";
|
|
4
|
+
import { useControlledState } from "@qualcomm-ui/angular-core/state";
|
|
5
|
+
export function useCheckboxGroup(props = {}) {
|
|
6
|
+
const { defaultValue, disabled, onValueChange, readOnly, value: controlledValue, } = props;
|
|
7
|
+
const state = useControlledState({
|
|
8
|
+
defaultValue: computed(() => access(defaultValue) || []),
|
|
9
|
+
onChange: (value) => onValueChange?.(value || []),
|
|
10
|
+
value: controlledValue,
|
|
11
|
+
});
|
|
12
|
+
const { setValue, value: getValue } = state();
|
|
13
|
+
const value = computed(() => getValue() || [], ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
14
|
+
const interactive = !disabled && !readOnly;
|
|
15
|
+
const getIsChecked = (val) => {
|
|
16
|
+
return computed(() => value().some((v) => String(v) === String(val)));
|
|
17
|
+
};
|
|
18
|
+
const isChecked = (val) => getIsChecked(val)();
|
|
19
|
+
const toggleValue = (val) => {
|
|
20
|
+
if (!interactive) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
if (isChecked(val)) {
|
|
24
|
+
removeValue(val);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
addValue(val);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
const addValue = (val) => {
|
|
31
|
+
if (!interactive) {
|
|
32
|
+
return;
|
|
33
|
+
}
|
|
34
|
+
if (isChecked(val)) {
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
setValue(value().concat(val));
|
|
38
|
+
};
|
|
39
|
+
const removeValue = (val) => {
|
|
40
|
+
if (!interactive) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
setValue(value().filter((v) => String(v) !== String(val)));
|
|
44
|
+
};
|
|
45
|
+
return {
|
|
46
|
+
isChecked,
|
|
47
|
+
removeValue,
|
|
48
|
+
setValue,
|
|
49
|
+
toggleValue,
|
|
50
|
+
value,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function access(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (typeof value === "function") {
|
|
58
|
+
return value();
|
|
59
|
+
}
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=use-checkbox-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-checkbox-group.js","sourceRoot":"","sources":["../../../src/checkbox/use-checkbox-group.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAc,MAAM,eAAe,CAAA;AAEnD,OAAO,EAAC,kBAAkB,EAAC,MAAM,iCAAiC,CAAA;AAqClE,MAAM,UAAU,gBAAgB,CAC9B,QAA+B,EAAE;IAEjC,MAAM,EACJ,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,KAAK,EAAE,eAAe,GACvB,GAAG,KAAK,CAAA;IAET,MAAM,KAAK,GAAG,kBAAkB,CAAC;QAC/B,YAAY,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;QACxD,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,aAAa,EAAE,CAAC,KAAK,IAAI,EAAE,CAAC;QACjD,KAAK,EAAE,eAAe;KACvB,CAAC,CAAA;IAEF,MAAM,EAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAC,GAAG,KAAK,EAAE,CAAA;IAE3C,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,IAAI,EAAE,iDAAC,CAAA;IAE9C,MAAM,WAAW,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AW;QACX,QAAQ;QACR,WAAW;QACX,KAAK;KACN,CAAA;AACH,CAAC;AAED,SAAS,MAAM,CAAI,KAAgC;IACjD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,OAAO,SAAS,CAAA;IAClB,CAAC;IACD,IAAI,OAAO,KAAK,KAAK,UAAU,EAAE,CAAC;QAChC,OAAQ,KAA8B,EAAE,CAAA;IAC1C,CAAC;IACD,OAAO,KAAU,CAAA;AACnB,CAAC","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, type Signal} from \"@angular/core\"\n\nimport {useControlledState} from \"@qualcomm-ui/angular-core/state\"\n\nexport interface UseCheckboxGroupProps {\n /**\n * The initial value of `value` when uncontrolled\n */\n defaultValue?: Signal<string[] | undefined> | string[] | undefined\n\n /**\n * If `true`, the checkbox group is disabled\n */\n disabled?: boolean | undefined\n\n /**\n * The callback to call when the value changes\n */\n onValueChange?: ((value: string[]) => void) | undefined\n\n /**\n * If `true`, the checkbox group is read-only\n */\n readOnly?: boolean | undefined\n\n /**\n * The controlled value of the checkbox group\n */\n value?: Signal<string[] | undefined>\n}\n\nexport interface CheckboxGroupState {\n isChecked: (val: string | undefined) => boolean\n removeValue: (val: string) => void\n setValue: (value: string[]) => void\n toggleValue: (val: string) => void\n value: Signal<string[]>\n}\n\nexport function useCheckboxGroup(\n props: UseCheckboxGroupProps = {},\n): CheckboxGroupState {\n const {\n defaultValue,\n disabled,\n onValueChange,\n readOnly,\n value: controlledValue,\n } = props\n\n const state = useControlledState({\n defaultValue: computed(() => access(defaultValue) || []),\n onChange: (value) => onValueChange?.(value || []),\n value: controlledValue,\n })\n\n const {setValue, value: getValue} = state()\n\n const value = computed(() => getValue() || [])\n\n const interactive = !disabled && !readOnly\n\n const getIsChecked = (val: string | undefined) => {\n return computed(() => value().some((v) => String(v) === String(val)))\n }\n\n const isChecked = (val: string | undefined) => getIsChecked(val)()\n\n const toggleValue = (val: string) => {\n if (!interactive) {\n return\n }\n if (isChecked(val)) {\n removeValue(val)\n } else {\n addValue(val)\n }\n }\n\n const addValue = (val: string) => {\n if (!interactive) {\n return\n }\n if (isChecked(val)) {\n return\n }\n setValue(value().concat(val))\n }\n\n const removeValue = (val: string) => {\n if (!interactive) {\n return\n }\n setValue(value().filter((v) => String(v) !== String(val)))\n }\n\n return {\n isChecked,\n removeValue,\n setValue,\n toggleValue,\n value,\n }\n}\n\nfunction access<T>(value: Signal<T> | T | undefined): T | undefined {\n if (value === undefined) {\n return undefined\n }\n if (typeof value === \"function\") {\n return (value as unknown as Signal<T>)()\n }\n return value as T\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { Injectable } from "@angular/core";
|
|
4
|
+
import { BaseApiContextService, createApiContext, } from "@qualcomm-ui/angular-core/machine";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class CollapsibleContextService extends BaseApiContextService {
|
|
7
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CollapsibleContextService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
8
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CollapsibleContextService });
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CollapsibleContextService, decorators: [{
|
|
11
|
+
type: Injectable
|
|
12
|
+
}] });
|
|
13
|
+
export const [COLLAPSIBLE_CONTEXT, useCollapsibleContext, provideCollapsibleContext,] = createApiContext("CollapsibleContext", CollapsibleContextService);
|
|
14
|
+
//# sourceMappingURL=collapsible-context.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collapsible-context.service.js","sourceRoot":"","sources":["../../../src/collapsible/collapsible-context.service.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAA;AAExC,OAAO,EAEL,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;;AAI1C,MAAM,OAAO,yBAA0B,SAAQ,qBAAqC;wGAAvE,yBAAyB;4GAAzB,yBAAyB;;4FAAzB,yBAAyB;kBADrC,UAAU;;AAGX,MAAM,CAAC,MAAM,CACX,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EAC1B,GAA+B,gBAAgB,CAC9C,oBAAoB,EACpB,yBAAyB,CAC1B,CAAA","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {Injectable} from \"@angular/core\"\n\nimport {\n type ApiContext,\n BaseApiContextService,\n createApiContext,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {CollapsibleApi} from \"@qualcomm-ui/core/collapsible\"\n\n@Injectable()\nexport class CollapsibleContextService extends BaseApiContextService<CollapsibleApi> {}\n\nexport const [\n COLLAPSIBLE_CONTEXT,\n useCollapsibleContext,\n provideCollapsibleContext,\n]: ApiContext<CollapsibleApi> = createApiContext<CollapsibleApi>(\n \"CollapsibleContext\",\n CollapsibleContextService,\n)\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { computed, Directive, input } from "@angular/core";
|
|
4
|
+
import { useId, useOnDestroy } from "@qualcomm-ui/angular-core/common";
|
|
5
|
+
import { useTrackBindings } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
+
import { useCollapsibleContext } from "./collapsible-context.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class CoreCollapsibleContentDirective {
|
|
9
|
+
/**
|
|
10
|
+
* {@link https://www.w3schools.com/html/html_id.asp id attribute}. If
|
|
11
|
+
* omitted, a unique identifier will be generated for accessibility.
|
|
12
|
+
*/
|
|
13
|
+
id = input(...(ngDevMode ? [undefined, { debugName: "id" }] : []));
|
|
14
|
+
collapsibleContext = useCollapsibleContext();
|
|
15
|
+
trackBindings = useTrackBindings(() => {
|
|
16
|
+
return this.collapsibleContext().getContentBindings({
|
|
17
|
+
id: this.hostId(),
|
|
18
|
+
onDestroy: this.onDestroy,
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
hostId = computed(() => useId(this, this.id()), ...(ngDevMode ? [{ debugName: "hostId" }] : []));
|
|
22
|
+
onDestroy = useOnDestroy();
|
|
23
|
+
ngOnInit() {
|
|
24
|
+
this.trackBindings();
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCollapsibleContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreCollapsibleContentDirective, isStandalone: true, inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCollapsibleContentDirective, decorators: [{
|
|
30
|
+
type: Directive
|
|
31
|
+
}], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
|
|
32
|
+
//# sourceMappingURL=core-collapsible-content.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-collapsible-content.directive.js","sourceRoot":"","sources":["../../../src/collapsible/core-collapsible-content.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAc,MAAM,eAAe,CAAA;AAErE,OAAO,EAAC,KAAK,EAAE,YAAY,EAAC,MAAM,kCAAkC,CAAA;AACpE,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAA;AAElE,OAAO,EAAC,qBAAqB,EAAC,MAAM,+BAA+B,CAAA;;AAGnE,MAAM,OAAO,+BAA+B;IAC1C;;;OAGG;IACM,EAAE,GAAG,KAAK,wDAAU,CAAA;IAEV,kBAAkB,GAAG,qBAAqB,EAAE,CAAA;IAE5C,aAAa,GAAG,gBAAgB,CAAC,GAAG,EAAE;QACvD,OAAO,IAAI,CAAC,kBAAkB,EAAE,CAAC,kBAAkB,CAAC;YAClD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;YACjB,SAAS,EAAE,IAAI,CAAC,SAAS;SAC1B,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEiB,MAAM,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,EAAE,CAAC,kDAAC,CAAA;IAE/C,SAAS,GAAG,YAAY,EAAE,CAAA;IAE7C,QAAQ;QACN,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGAtBU,+BAA+B;4FAA/B,+BAA+B;;4FAA/B,+BAA+B;kBAD3C,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {computed, Directive, input, type OnInit} from \"@angular/core\"\n\nimport {useId, useOnDestroy} from \"@qualcomm-ui/angular-core/common\"\nimport {useTrackBindings} from \"@qualcomm-ui/angular-core/machine\"\n\nimport {useCollapsibleContext} from \"./collapsible-context.service\"\n\n@Directive()\nexport class CoreCollapsibleContentDirective implements OnInit {\n /**\n * {@link https://www.w3schools.com/html/html_id.asp id attribute}. If\n * omitted, a unique identifier will be generated for accessibility.\n */\n readonly id = input<string>()\n\n protected readonly collapsibleContext = useCollapsibleContext()\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.collapsibleContext().getContentBindings({\n id: this.hostId(),\n onDestroy: this.onDestroy,\n })\n })\n\n protected readonly hostId = computed(() => useId(this, this.id()))\n\n protected readonly onDestroy = useOnDestroy()\n\n ngOnInit() {\n this.trackBindings()\n }\n}\n"]}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
|
|
2
|
+
// SPDX-License-Identifier: BSD-3-Clause-Clear
|
|
3
|
+
import { DOCUMENT } from "@angular/common";
|
|
4
|
+
import { booleanAttribute, computed, Directive, inject, Injector, input, output, } from "@angular/core";
|
|
5
|
+
import { normalizeProps, useMachine, useTrackBindings, } from "@qualcomm-ui/angular-core/machine";
|
|
6
|
+
import { collapsibleMachine, createCollapsibleApi, } from "@qualcomm-ui/core/collapsible";
|
|
7
|
+
import { CollapsibleContextService } from "./collapsible-context.service";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class CoreCollapsibleRootDirective {
|
|
10
|
+
/**
|
|
11
|
+
* The initial open state of the collapsible when rendered.
|
|
12
|
+
* Use when you don't need to control the open state of the collapsible.
|
|
13
|
+
*/
|
|
14
|
+
defaultOpen = input(undefined, ...(ngDevMode ? [{ debugName: "defaultOpen", transform: booleanAttribute }] : [{
|
|
15
|
+
transform: booleanAttribute,
|
|
16
|
+
}]));
|
|
17
|
+
/**
|
|
18
|
+
* The document's text/writing direction.
|
|
19
|
+
*
|
|
20
|
+
* @default "ltr"
|
|
21
|
+
*/
|
|
22
|
+
dir = input(undefined, ...(ngDevMode ? [{ debugName: "dir" }] : []));
|
|
23
|
+
/**
|
|
24
|
+
* Whether the collapsible is disabled.
|
|
25
|
+
*/
|
|
26
|
+
disabled = input(...(ngDevMode ? [undefined, { debugName: "disabled" }] : []));
|
|
27
|
+
/**
|
|
28
|
+
* A root node to correctly resolve the Document in custom environments. i.e.,
|
|
29
|
+
* Iframes, Electron.
|
|
30
|
+
*/
|
|
31
|
+
getRootNode = input(...(ngDevMode ? [undefined, { debugName: "getRootNode" }] : []));
|
|
32
|
+
/**
|
|
33
|
+
* The controlled open state of the collapsible
|
|
34
|
+
*/
|
|
35
|
+
open = input(...(ngDevMode ? [undefined, { debugName: "open" }] : []));
|
|
36
|
+
/**
|
|
37
|
+
* Function called when the animation ends in the closed state
|
|
38
|
+
*/
|
|
39
|
+
exitCompleted = output();
|
|
40
|
+
/**
|
|
41
|
+
* Function called when {@link open} changes.
|
|
42
|
+
*/
|
|
43
|
+
openChanged = output();
|
|
44
|
+
collapsibleService = inject(CollapsibleContextService);
|
|
45
|
+
injector = inject(Injector);
|
|
46
|
+
document = inject(DOCUMENT);
|
|
47
|
+
trackBindings = useTrackBindings(() => {
|
|
48
|
+
return this.collapsibleService.context().getRootBindings();
|
|
49
|
+
});
|
|
50
|
+
ngOnInit() {
|
|
51
|
+
const machine = useMachine(collapsibleMachine, computed(() => ({
|
|
52
|
+
defaultOpen: this.defaultOpen(),
|
|
53
|
+
dir: this.dir(),
|
|
54
|
+
disabled: this.disabled(),
|
|
55
|
+
forceMeasureOnOpen: true,
|
|
56
|
+
getRootNode: this.getRootNode() || (() => this.document),
|
|
57
|
+
onExitComplete: () => this.exitCompleted.emit(),
|
|
58
|
+
onOpenChange: (open) => this.openChanged.emit(open),
|
|
59
|
+
open: this.open(),
|
|
60
|
+
})), this.injector);
|
|
61
|
+
const collapsibleApi = computed(() => createCollapsibleApi(machine, normalizeProps), ...(ngDevMode ? [{ debugName: "collapsibleApi" }] : []));
|
|
62
|
+
this.collapsibleService.init(collapsibleApi);
|
|
63
|
+
this.trackBindings();
|
|
64
|
+
}
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCollapsibleRootDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.10", type: CoreCollapsibleRootDirective, isStandalone: true, inputs: { defaultOpen: { classPropertyName: "defaultOpen", publicName: "defaultOpen", isSignal: true, isRequired: false, transformFunction: null }, dir: { classPropertyName: "dir", publicName: "dir", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, getRootNode: { classPropertyName: "getRootNode", publicName: "getRootNode", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { exitCompleted: "exitCompleted", openChanged: "openChanged" }, ngImport: i0 });
|
|
67
|
+
}
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: CoreCollapsibleRootDirective, decorators: [{
|
|
69
|
+
type: Directive
|
|
70
|
+
}], propDecorators: { defaultOpen: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultOpen", required: false }] }], dir: [{ type: i0.Input, args: [{ isSignal: true, alias: "dir", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], getRootNode: [{ type: i0.Input, args: [{ isSignal: true, alias: "getRootNode", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], exitCompleted: [{ type: i0.Output, args: ["exitCompleted"] }], openChanged: [{ type: i0.Output, args: ["openChanged"] }] } });
|
|
71
|
+
//# sourceMappingURL=core-collapsible-root.directive.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core-collapsible-root.directive.js","sourceRoot":"","sources":["../../../src/collapsible/core-collapsible-root.directive.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,8CAA8C;AAE9C,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,C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CAAC,WAAW,EAAE;YAC/B,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE;YACf,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE;YACzB,kBAAkB,EAAE,IAAI;YACxB,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC;YACxD,cAAc,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,IAAI,EAAE;YAC/C,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC;YACnD,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;SAClB,CAAC,CAAC,EACH,IAAI,CAAC,QAAQ,CACd,CAAA;QAED,MAAM,cAAc,GAAG,QAAQ,CAAC,GAAG,EAAE,CACnC,oBAAoB,CAAC,OAAO,EAAE,cAAc,CAAC,0DAC9C,CAAA;QAED,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAA;QAE5C,IAAI,CAAC,aAAa,EAAE,CAAA;IACtB,CAAC;wGA9EU,4BAA4B;4FAA5B,4BAA4B;;4FAA5B,4BAA4B;kBADxC,SAAS","sourcesContent":["// Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.\n// SPDX-License-Identifier: BSD-3-Clause-Clear\n\nimport {DOCUMENT} from \"@angular/common\"\nimport {\n booleanAttribute,\n computed,\n Directive,\n inject,\n Injector,\n input,\n type OnInit,\n output,\n} from \"@angular/core\"\n\nimport {\n normalizeProps,\n useMachine,\n useTrackBindings,\n} from \"@qualcomm-ui/angular-core/machine\"\nimport type {SignalifyInput} from \"@qualcomm-ui/angular-core/signals\"\nimport {\n type CollapsibleApiProps,\n collapsibleMachine,\n createCollapsibleApi,\n} from \"@qualcomm-ui/core/collapsible\"\nimport type {Booleanish} from \"@qualcomm-ui/utils/coercion\"\nimport type {Direction} from \"@qualcomm-ui/utils/direction\"\nimport type {Explicit} from \"@qualcomm-ui/utils/guard\"\n\nimport {CollapsibleContextService} from \"./collapsible-context.service\"\n\n@Directive()\nexport class CoreCollapsibleRootDirective\n implements OnInit, SignalifyInput<CollapsibleApiProps>\n{\n /**\n * The initial open state of the collapsible when rendered.\n * Use when you don't need to control the open state of the collapsible.\n */\n readonly defaultOpen = input<boolean | undefined, Booleanish>(undefined, {\n transform: booleanAttribute,\n })\n\n /**\n * The document's text/writing direction.\n *\n * @default \"ltr\"\n */\n readonly dir = input<Direction | undefined>(undefined)\n\n /**\n * Whether the collapsible is disabled.\n */\n readonly disabled = input<boolean | undefined>()\n\n /**\n * A root node to correctly resolve the Document in custom environments. i.e.,\n * Iframes, Electron.\n */\n readonly getRootNode = input<\n (() => ShadowRoot | Document | Node) | undefined\n >()\n\n /**\n * The controlled open state of the collapsible\n */\n readonly open = input<boolean | undefined>()\n\n /**\n * Function called when the animation ends in the closed state\n */\n readonly exitCompleted = output<void>()\n\n /**\n * Function called when {@link open} changes.\n */\n readonly openChanged = output<boolean>()\n\n readonly collapsibleService = inject(CollapsibleContextService)\n\n private readonly injector = inject(Injector)\n private readonly document = inject(DOCUMENT)\n\n protected readonly trackBindings = useTrackBindings(() => {\n return this.collapsibleService.context().getRootBindings()\n })\n\n ngOnInit() {\n const machine = useMachine(\n collapsibleMachine,\n computed<Explicit<CollapsibleApiProps>>(() => ({\n defaultOpen: this.defaultOpen(),\n dir: this.dir(),\n disabled: this.disabled(),\n forceMeasureOnOpen: true,\n getRootNode: this.getRootNode() || (() => this.document),\n onExitComplete: () => this.exitCompleted.emit(),\n onOpenChange: (open) => this.openChanged.emit(open),\n open: this.open(),\n })),\n this.injector,\n )\n\n const collapsibleApi = computed(() =>\n createCollapsibleApi(machine, normalizeProps),\n )\n\n this.collapsibleService.init(collapsibleApi)\n\n this.trackBindings()\n }\n}\n"]}
|