@odx/angular 1.0.0-rc.1 → 1.0.0-rc.2
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/LICENSE +1 -0
- package/README.md +44 -0
- package/animations/index.d.ts +3 -2
- package/animations/{config.d.ts → lib/config.d.ts} +0 -0
- package/animations/lib/expand.d.ts +2 -0
- package/animations/{fade.d.ts → lib/fade.d.ts} +0 -0
- package/animations/{slide.d.ts → lib/slide.d.ts} +0 -0
- package/cdk/checkbox-control/README.md +3 -0
- package/cdk/checkbox-control/index.d.ts +1 -0
- package/cdk/checkbox-control/lib/checkbox-control.directive.d.ts +16 -0
- package/cdk/custom-form-control/README.md +3 -0
- package/cdk/custom-form-control/index.d.ts +2 -0
- package/{lib/directives → cdk/custom-form-control/lib}/control.directive.d.ts +1 -3
- package/{lib/controls → cdk/custom-form-control/lib}/custom-form-control.d.ts +7 -8
- package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +1 -1
- package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +1 -1
- package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +1 -1
- package/cdk/dynamic-view/lib/facade/index.d.ts +0 -1
- package/cdk/dynamic-view/lib/helpers/index.d.ts +0 -2
- package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +5 -3
- package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +1 -1
- package/cdk/expandable/README.md +3 -0
- package/cdk/expandable/index.d.ts +3 -0
- package/cdk/expandable/lib/directives/expandable-item.directive.d.ts +18 -0
- package/cdk/expandable/lib/directives/extandable-container.directive.d.ts +13 -0
- package/cdk/expandable/lib/directives/index.d.ts +2 -0
- package/cdk/expandable/lib/expandable.module.d.ts +8 -0
- package/cdk/expandable/lib/facade/expandable-container.d.ts +6 -0
- package/cdk/expandable/lib/facade/expandable-item.d.ts +7 -0
- package/cdk/expandable/lib/facade/index.d.ts +2 -0
- package/cdk/radio-group-control/README.md +3 -0
- package/cdk/radio-group-control/index.d.ts +3 -0
- package/cdk/radio-group-control/lib/radio-control.directive.d.ts +13 -0
- package/cdk/radio-group-control/lib/radio-group-control.directive.d.ts +10 -0
- package/cdk/radio-group-control/lib/radio-group-control.module.d.ts +9 -0
- package/components/accordion/README.md +3 -0
- package/components/accordion/index.d.ts +4 -0
- package/components/accordion/lib/accordion.component.d.ts +7 -0
- package/components/accordion/lib/accordion.module.d.ts +10 -0
- package/components/accordion/lib/components/accordion-item/accordion-item.component.d.ts +16 -0
- package/components/accordion/lib/components/index.d.ts +1 -0
- package/components/accordion/lib/directives/accordion-item-title.d.ts +5 -0
- package/components/accordion/lib/directives/index.d.ts +1 -0
- package/components/action-group/action-group.component.d.ts +1 -3
- package/components/area-header/area-header.component.d.ts +1 -3
- package/components/area-header/area-header.module.d.ts +2 -1
- package/components/avatar/lib/avatar.component.d.ts +1 -3
- package/components/badge/lib/badge.component.d.ts +3 -5
- package/components/badge/lib/badge.directive.d.ts +4 -5
- package/components/button/lib/button.component.d.ts +8 -16
- package/components/button/lib/models/button-size.d.ts +5 -0
- package/components/button/lib/models/index.d.ts +1 -0
- package/components/button-group/README.md +3 -0
- package/components/button-group/index.d.ts +1 -0
- package/components/button-group/lib/button-group.component.d.ts +15 -0
- package/components/checkbox/lib/checkbox.component.d.ts +5 -12
- package/components/form-field/README.md +3 -0
- package/components/form-field/index.d.ts +6 -0
- package/components/form-field/lib/components/form-field-info/form-field-info.component.d.ts +9 -0
- package/components/form-field/lib/components/form-group/form-group.component.d.ts +14 -0
- package/components/form-field/lib/components/index.d.ts +2 -0
- package/components/form-field/lib/directives/form-field-control.directive.d.ts +22 -0
- package/components/form-field/lib/directives/form-field-error.directive.d.ts +10 -0
- package/components/form-field/lib/directives/form-field-hint.directive.d.ts +8 -0
- package/components/form-field/lib/directives/form-field-label.directive.d.ts +6 -0
- package/components/form-field/lib/directives/form.directive.d.ts +9 -0
- package/components/form-field/lib/directives/index.d.ts +5 -0
- package/components/form-field/lib/form-field.component.d.ts +18 -0
- package/components/form-field/lib/form-field.config.d.ts +19 -0
- package/components/form-field/lib/form-field.module.d.ts +18 -0
- package/components/form-field/lib/form-field.service.d.ts +30 -0
- package/components/form-field/lib/models/form-field-error-resolver.d.ts +27 -0
- package/components/form-field/lib/models/form-field-error.d.ts +7 -0
- package/components/form-field/lib/models/index.d.ts +2 -0
- package/components/form-field/lib/services/form-field-error.service.d.ts +18 -0
- package/components/form-field/lib/services/index.d.ts +1 -0
- package/components/header/lib/header.component.d.ts +1 -3
- package/components/header/lib/header.module.d.ts +2 -1
- package/components/icon/lib/icon.component.d.ts +9 -5
- package/components/link/link.directive.d.ts +4 -6
- package/components/logo/logo.directive.d.ts +1 -3
- package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +1 -4
- package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +3 -4
- package/components/main-menu/lib/main-menu.component.d.ts +2 -4
- package/components/main-menu/lib/main-menu.module.d.ts +6 -6
- package/components/modal/README.md +3 -0
- package/components/modal/index.d.ts +9 -0
- package/components/modal/lib/components/index.d.ts +2 -0
- package/components/modal/lib/components/modal-footer/modal-footer.component.d.ts +6 -0
- package/components/modal/lib/components/modal-header/modal-header.component.d.ts +11 -0
- package/components/modal/lib/directives/index.d.ts +3 -0
- package/components/modal/lib/directives/modal-close.directive.d.ts +8 -0
- package/components/modal/lib/directives/modal-content.directive.d.ts +6 -0
- package/components/modal/lib/directives/modal-dismiss.directive.d.ts +7 -0
- package/components/modal/lib/helpers/index.d.ts +2 -0
- package/components/modal/lib/helpers/inject-modal-ref.d.ts +2 -0
- package/components/modal/lib/helpers/provide-modal-ref.d.ts +3 -0
- package/components/modal/lib/modal.component.d.ts +16 -0
- package/components/modal/lib/modal.config.d.ts +3 -0
- package/components/modal/lib/modal.directive.d.ts +14 -0
- package/components/modal/lib/modal.module.d.ts +21 -0
- package/components/modal/lib/modal.service.d.ts +20 -0
- package/components/modal/lib/models/index.d.ts +4 -0
- package/components/modal/lib/models/modal-options.d.ts +13 -0
- package/components/modal/lib/models/modal-ref.d.ts +16 -0
- package/components/modal/lib/models/modal-size.d.ts +6 -0
- package/components/modal/lib/models/modal-type.d.ts +8 -0
- package/components/modal/lib/services/index.d.ts +1 -0
- package/components/modal/lib/services/open-modal-manager.service.d.ts +15 -0
- package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +4 -11
- package/components/radio-group/lib/radio-group.component.d.ts +3 -5
- package/components/radio-group/lib/radio-group.module.d.ts +4 -4
- package/components/switch/README.md +3 -0
- package/components/switch/index.d.ts +1 -0
- package/components/switch/lib/switch.component.d.ts +6 -0
- package/components/toggle-button-group/README.md +3 -0
- package/components/toggle-button-group/index.d.ts +3 -0
- package/components/toggle-button-group/lib/components/index.d.ts +1 -0
- package/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.d.ts +7 -0
- package/components/toggle-button-group/lib/toggle-button-group.component.d.ts +7 -0
- package/components/toggle-button-group/lib/toggle-button-group.module.d.ts +9 -0
- package/esm2020/animations/index.mjs +4 -3
- package/esm2020/animations/lib/config.mjs +8 -0
- package/esm2020/animations/lib/expand.mjs +12 -0
- package/esm2020/animations/lib/fade.mjs +12 -0
- package/esm2020/animations/lib/slide.mjs +34 -0
- package/esm2020/cdk/checkbox-control/index.mjs +2 -0
- package/esm2020/cdk/checkbox-control/lib/checkbox-control.directive.mjs +43 -0
- package/esm2020/cdk/checkbox-control/odx-angular-cdk-checkbox-control.mjs +5 -0
- package/esm2020/cdk/custom-form-control/index.mjs +3 -0
- package/esm2020/cdk/custom-form-control/lib/control.directive.mjs +19 -0
- package/esm2020/cdk/custom-form-control/lib/custom-form-control.mjs +121 -0
- package/esm2020/cdk/custom-form-control/odx-angular-cdk-custom-form-control.mjs +5 -0
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +3 -3
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +11 -10
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +5 -5
- package/esm2020/cdk/dynamic-view/lib/facade/dynamic-content.mjs +1 -1
- package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +1 -1
- package/esm2020/cdk/dynamic-view/lib/facade/index.mjs +1 -2
- package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +1 -3
- package/esm2020/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +2 -2
- package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +18 -8
- package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +6 -2
- package/esm2020/cdk/expandable/index.mjs +4 -0
- package/esm2020/cdk/expandable/lib/directives/expandable-item.directive.mjs +48 -0
- package/esm2020/cdk/expandable/lib/directives/extandable-container.directive.mjs +43 -0
- package/esm2020/cdk/expandable/lib/directives/index.mjs +3 -0
- package/esm2020/cdk/expandable/lib/expandable.module.mjs +17 -0
- package/esm2020/cdk/expandable/lib/facade/expandable-container.mjs +3 -0
- package/esm2020/cdk/expandable/lib/facade/expandable-item.mjs +3 -0
- package/esm2020/cdk/expandable/lib/facade/index.mjs +3 -0
- package/esm2020/cdk/expandable/odx-angular-cdk-expandable.mjs +5 -0
- package/esm2020/cdk/radio-group-control/index.mjs +4 -0
- package/esm2020/cdk/radio-group-control/lib/radio-control.directive.mjs +39 -0
- package/esm2020/cdk/radio-group-control/lib/radio-group-control.directive.mjs +43 -0
- package/esm2020/cdk/radio-group-control/lib/radio-group-control.module.mjs +19 -0
- package/esm2020/cdk/radio-group-control/odx-angular-cdk-radio-group-control.mjs +5 -0
- package/esm2020/components/accordion/index.mjs +5 -0
- package/esm2020/components/accordion/lib/accordion.component.mjs +24 -0
- package/esm2020/components/accordion/lib/accordion.module.mjs +20 -0
- package/esm2020/components/accordion/lib/components/accordion-item/accordion-item.component.mjs +54 -0
- package/esm2020/components/accordion/lib/components/index.mjs +2 -0
- package/esm2020/components/accordion/lib/directives/accordion-item-title.mjs +14 -0
- package/esm2020/components/accordion/lib/directives/index.mjs +2 -0
- package/esm2020/components/accordion/odx-angular-components-accordion.mjs +5 -0
- package/esm2020/components/action-group/action-group.component.mjs +15 -18
- package/esm2020/components/area-header/area-header.component.mjs +10 -10
- package/esm2020/components/area-header/area-header.module.mjs +9 -8
- package/esm2020/components/area-header/directives/area-header-content.directive.mjs +4 -5
- package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +4 -5
- package/esm2020/components/avatar/lib/avatar.component.mjs +10 -10
- package/esm2020/components/badge/lib/badge.component.mjs +20 -22
- package/esm2020/components/badge/lib/badge.directive.mjs +11 -11
- package/esm2020/components/button/lib/button.component.mjs +26 -33
- package/esm2020/components/button/lib/models/button-size.mjs +5 -0
- package/esm2020/components/button/lib/models/index.mjs +2 -1
- package/esm2020/components/button-group/index.mjs +2 -0
- package/esm2020/components/button-group/lib/button-group.component.mjs +54 -0
- package/esm2020/components/button-group/odx-angular-components-button-group.mjs +5 -0
- package/esm2020/components/checkbox/lib/checkbox.component.mjs +16 -33
- package/esm2020/components/content-box/lib/content-box.component.mjs +3 -3
- package/esm2020/components/content-box/lib/content-box.module.mjs +4 -4
- package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +4 -5
- package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +4 -5
- package/esm2020/components/form-field/index.mjs +7 -0
- package/esm2020/components/form-field/lib/components/form-field-info/form-field-info.component.mjs +24 -0
- package/esm2020/components/form-field/lib/components/form-group/form-group.component.mjs +36 -0
- package/esm2020/components/form-field/lib/components/index.mjs +3 -0
- package/esm2020/components/form-field/lib/directives/form-field-control.directive.mjs +68 -0
- package/esm2020/components/form-field/lib/directives/form-field-error.directive.mjs +25 -0
- package/esm2020/components/form-field/lib/directives/form-field-hint.directive.mjs +23 -0
- package/esm2020/components/form-field/lib/directives/form-field-label.directive.mjs +24 -0
- package/esm2020/components/form-field/lib/directives/form.directive.mjs +28 -0
- package/esm2020/components/form-field/lib/directives/index.mjs +6 -0
- package/esm2020/components/form-field/lib/form-field.component.mjs +47 -0
- package/esm2020/components/form-field/lib/form-field.config.mjs +7 -0
- package/esm2020/components/form-field/lib/form-field.module.mjs +49 -0
- package/esm2020/components/form-field/lib/form-field.service.mjs +53 -0
- package/esm2020/components/form-field/lib/models/form-field-error-resolver.mjs +2 -0
- package/esm2020/components/form-field/lib/models/form-field-error.mjs +2 -0
- package/esm2020/components/form-field/lib/models/index.mjs +3 -0
- package/esm2020/components/form-field/lib/services/form-field-error.service.mjs +56 -0
- package/esm2020/components/form-field/lib/services/index.mjs +2 -0
- package/esm2020/components/form-field/odx-angular-components-form-field.mjs +5 -0
- package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +3 -3
- package/esm2020/components/header/lib/directives/header-title.directive.mjs +4 -5
- package/esm2020/components/header/lib/header.component.mjs +11 -11
- package/esm2020/components/header/lib/header.module.mjs +9 -9
- package/esm2020/components/icon/lib/icon.component.mjs +36 -12
- package/esm2020/components/link/link.directive.mjs +14 -18
- package/esm2020/components/logo/logo.directive.mjs +10 -11
- package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +12 -13
- package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +14 -14
- package/esm2020/components/main-menu/lib/main-menu.component.mjs +21 -22
- package/esm2020/components/main-menu/lib/main-menu.module.mjs +7 -7
- package/esm2020/components/main-menu/lib/main-menu.service.mjs +5 -5
- package/esm2020/components/modal/index.mjs +10 -0
- package/esm2020/components/modal/lib/components/index.mjs +3 -0
- package/esm2020/components/modal/lib/components/modal-footer/modal-footer.component.mjs +21 -0
- package/esm2020/components/modal/lib/components/modal-header/modal-header.component.mjs +38 -0
- package/esm2020/components/modal/lib/directives/index.mjs +4 -0
- package/esm2020/components/modal/lib/directives/modal-close.directive.mjs +29 -0
- package/esm2020/components/modal/lib/directives/modal-content.directive.mjs +24 -0
- package/esm2020/components/modal/lib/directives/modal-dismiss.directive.mjs +24 -0
- package/esm2020/components/modal/lib/helpers/index.mjs +3 -0
- package/esm2020/components/modal/lib/helpers/inject-modal-ref.mjs +6 -0
- package/esm2020/components/modal/lib/helpers/provide-modal-ref.mjs +5 -0
- package/esm2020/components/modal/lib/modal.component.mjs +63 -0
- package/esm2020/components/modal/lib/modal.config.mjs +8 -0
- package/esm2020/components/modal/lib/modal.directive.mjs +33 -0
- package/esm2020/components/modal/lib/modal.module.mjs +32 -0
- package/esm2020/components/modal/lib/modal.service.mjs +70 -0
- package/esm2020/components/modal/lib/models/index.mjs +5 -0
- package/esm2020/components/modal/lib/models/modal-options.mjs +2 -0
- package/esm2020/components/modal/lib/models/modal-ref.mjs +33 -0
- package/esm2020/components/modal/lib/models/modal-size.mjs +6 -0
- package/esm2020/components/modal/lib/models/modal-type.mjs +2 -0
- package/esm2020/components/modal/lib/services/index.mjs +2 -0
- package/esm2020/components/modal/lib/services/open-modal-manager.service.mjs +42 -0
- package/esm2020/components/modal/odx-angular-components-modal.mjs +5 -0
- package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +19 -38
- package/esm2020/components/radio-group/lib/radio-group.component.mjs +33 -16
- package/esm2020/components/radio-group/lib/radio-group.module.mjs +7 -7
- package/esm2020/components/switch/index.mjs +2 -0
- package/esm2020/components/switch/lib/switch.component.mjs +22 -0
- package/esm2020/components/switch/odx-angular-components-switch.mjs +5 -0
- package/esm2020/components/toggle-button-group/index.mjs +4 -0
- package/esm2020/components/toggle-button-group/lib/components/index.mjs +2 -0
- package/esm2020/components/toggle-button-group/lib/components/toggle-button/toggle-button.component.mjs +30 -0
- package/esm2020/components/toggle-button-group/lib/toggle-button-group.component.mjs +33 -0
- package/esm2020/components/toggle-button-group/lib/toggle-button-group.module.mjs +19 -0
- package/esm2020/components/toggle-button-group/odx-angular-components-toggle-button-group.mjs +5 -0
- package/esm2020/index.mjs +1 -2
- package/esm2020/internal/decorators/css-modifier.mjs +6 -5
- package/esm2020/internal/helpers/camel-to-kebab-case.mjs +12 -0
- package/esm2020/internal/helpers/index.mjs +2 -4
- package/esm2020/internal/index.mjs +1 -4
- package/esm2020/lib/controllers/controller.mjs +37 -0
- package/esm2020/lib/controllers/disabled.controller.mjs +25 -19
- package/esm2020/lib/controllers/index.mjs +3 -1
- package/esm2020/lib/controllers/readonly.controller.mjs +68 -0
- package/esm2020/lib/core.module.mjs +11 -10
- package/esm2020/lib/directives/click-outside.directive.mjs +58 -0
- package/esm2020/lib/directives/index.mjs +2 -3
- package/esm2020/lib/services/index.mjs +1 -2
- package/esm2020/lib/services/window-ref.mjs +6 -6
- package/esm2020/rxjs/index.mjs +2 -1
- package/esm2020/rxjs/lib/mark-for-check.mjs +5 -0
- package/esm2020/utils/index.mjs +2 -1
- package/esm2020/utils/lib/helpers/angular.mjs +30 -0
- package/esm2020/utils/lib/helpers/dom.mjs +22 -0
- package/esm2020/utils/lib/helpers/index.mjs +6 -1
- package/esm2020/utils/lib/helpers/ng-changes.mjs +1 -1
- package/esm2020/utils/lib/helpers/provide-module-config.mjs +21 -0
- package/esm2020/utils/lib/helpers/type-guards.mjs +29 -0
- package/esm2020/utils/lib/helpers/until-destroyed.mjs +13 -0
- package/esm2020/utils/lib/types/get-properties.mjs +2 -0
- package/esm2020/utils/lib/types/index.mjs +2 -0
- package/fesm2015/odx-angular-animations.mjs +11 -1
- package/fesm2015/odx-angular-animations.mjs.map +1 -1
- package/fesm2015/odx-angular-cdk-checkbox-control.mjs +50 -0
- package/fesm2015/odx-angular-cdk-checkbox-control.mjs.map +1 -0
- package/fesm2015/odx-angular-cdk-custom-form-control.mjs +150 -0
- package/fesm2015/odx-angular-cdk-custom-form-control.mjs.map +1 -0
- package/fesm2015/odx-angular-cdk-dynamic-view.mjs +48 -55
- package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -1
- package/fesm2015/odx-angular-cdk-expandable.mjs +114 -0
- package/fesm2015/odx-angular-cdk-expandable.mjs.map +1 -0
- package/fesm2015/odx-angular-cdk-radio-group-control.mjs +99 -0
- package/fesm2015/odx-angular-cdk-radio-group-control.mjs.map +1 -0
- package/fesm2015/odx-angular-components-accordion.mjs +104 -0
- package/fesm2015/odx-angular-components-accordion.mjs.map +1 -0
- package/fesm2015/odx-angular-components-action-group.mjs +14 -17
- package/fesm2015/odx-angular-components-action-group.mjs.map +1 -1
- package/fesm2015/odx-angular-components-area-header.mjs +23 -24
- package/fesm2015/odx-angular-components-area-header.mjs.map +1 -1
- package/fesm2015/odx-angular-components-avatar.mjs +9 -9
- package/fesm2015/odx-angular-components-avatar.mjs.map +1 -1
- package/fesm2015/odx-angular-components-badge.mjs +27 -29
- package/fesm2015/odx-angular-components-badge.mjs.map +1 -1
- package/fesm2015/odx-angular-components-button-group.mjs +60 -0
- package/fesm2015/odx-angular-components-button-group.mjs.map +1 -0
- package/fesm2015/odx-angular-components-button.mjs +30 -36
- package/fesm2015/odx-angular-components-button.mjs.map +1 -1
- package/fesm2015/odx-angular-components-checkbox.mjs +15 -31
- package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -1
- package/fesm2015/odx-angular-components-content-box.mjs +13 -15
- package/fesm2015/odx-angular-components-content-box.mjs.map +1 -1
- package/fesm2015/odx-angular-components-form-field.mjs +381 -0
- package/fesm2015/odx-angular-components-form-field.mjs.map +1 -0
- package/fesm2015/odx-angular-components-header.mjs +24 -25
- package/fesm2015/odx-angular-components-header.mjs.map +1 -1
- package/fesm2015/odx-angular-components-icon.mjs +35 -11
- package/fesm2015/odx-angular-components-icon.mjs.map +1 -1
- package/fesm2015/odx-angular-components-link.mjs +13 -17
- package/fesm2015/odx-angular-components-link.mjs.map +1 -1
- package/fesm2015/odx-angular-components-logo.mjs +9 -10
- package/fesm2015/odx-angular-components-logo.mjs.map +1 -1
- package/fesm2015/odx-angular-components-main-menu.mjs +48 -50
- package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -1
- package/fesm2015/odx-angular-components-modal.mjs +380 -0
- package/fesm2015/odx-angular-components-modal.mjs.map +1 -0
- package/fesm2015/odx-angular-components-radio-group.mjs +64 -67
- package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -1
- package/fesm2015/odx-angular-components-switch.mjs +28 -0
- package/fesm2015/odx-angular-components-switch.mjs.map +1 -0
- package/fesm2015/odx-angular-components-toggle-button-group.mjs +75 -0
- package/fesm2015/odx-angular-components-toggle-button-group.mjs.map +1 -0
- package/fesm2015/odx-angular-internal.mjs +39 -104
- package/fesm2015/odx-angular-internal.mjs.map +1 -1
- package/fesm2015/odx-angular-rxjs.mjs +6 -2
- package/fesm2015/odx-angular-rxjs.mjs.map +1 -1
- package/fesm2015/odx-angular-utils.mjs +110 -1
- package/fesm2015/odx-angular-utils.mjs.map +1 -1
- package/fesm2015/odx-angular.mjs +179 -212
- package/fesm2015/odx-angular.mjs.map +1 -1
- package/fesm2020/odx-angular-animations.mjs +11 -1
- package/fesm2020/odx-angular-animations.mjs.map +1 -1
- package/fesm2020/odx-angular-cdk-checkbox-control.mjs +50 -0
- package/fesm2020/odx-angular-cdk-checkbox-control.mjs.map +1 -0
- package/fesm2020/odx-angular-cdk-custom-form-control.mjs +144 -0
- package/fesm2020/odx-angular-cdk-custom-form-control.mjs.map +1 -0
- package/fesm2020/odx-angular-cdk-dynamic-view.mjs +41 -37
- package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -1
- package/fesm2020/odx-angular-cdk-expandable.mjs +113 -0
- package/fesm2020/odx-angular-cdk-expandable.mjs.map +1 -0
- package/fesm2020/odx-angular-cdk-radio-group-control.mjs +99 -0
- package/fesm2020/odx-angular-cdk-radio-group-control.mjs.map +1 -0
- package/fesm2020/odx-angular-components-accordion.mjs +103 -0
- package/fesm2020/odx-angular-components-accordion.mjs.map +1 -0
- package/fesm2020/odx-angular-components-action-group.mjs +14 -17
- package/fesm2020/odx-angular-components-action-group.mjs.map +1 -1
- package/fesm2020/odx-angular-components-area-header.mjs +23 -24
- package/fesm2020/odx-angular-components-area-header.mjs.map +1 -1
- package/fesm2020/odx-angular-components-avatar.mjs +9 -9
- package/fesm2020/odx-angular-components-avatar.mjs.map +1 -1
- package/fesm2020/odx-angular-components-badge.mjs +27 -29
- package/fesm2020/odx-angular-components-badge.mjs.map +1 -1
- package/fesm2020/odx-angular-components-button-group.mjs +60 -0
- package/fesm2020/odx-angular-components-button-group.mjs.map +1 -0
- package/fesm2020/odx-angular-components-button.mjs +30 -32
- package/fesm2020/odx-angular-components-button.mjs.map +1 -1
- package/fesm2020/odx-angular-components-checkbox.mjs +15 -31
- package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -1
- package/fesm2020/odx-angular-components-content-box.mjs +13 -15
- package/fesm2020/odx-angular-components-content-box.mjs.map +1 -1
- package/fesm2020/odx-angular-components-form-field.mjs +378 -0
- package/fesm2020/odx-angular-components-form-field.mjs.map +1 -0
- package/fesm2020/odx-angular-components-header.mjs +24 -25
- package/fesm2020/odx-angular-components-header.mjs.map +1 -1
- package/fesm2020/odx-angular-components-icon.mjs +35 -11
- package/fesm2020/odx-angular-components-icon.mjs.map +1 -1
- package/fesm2020/odx-angular-components-link.mjs +13 -17
- package/fesm2020/odx-angular-components-link.mjs.map +1 -1
- package/fesm2020/odx-angular-components-logo.mjs +9 -10
- package/fesm2020/odx-angular-components-logo.mjs.map +1 -1
- package/fesm2020/odx-angular-components-main-menu.mjs +48 -50
- package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -1
- package/fesm2020/odx-angular-components-modal.mjs +376 -0
- package/fesm2020/odx-angular-components-modal.mjs.map +1 -0
- package/fesm2020/odx-angular-components-radio-group.mjs +64 -66
- package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -1
- package/fesm2020/odx-angular-components-switch.mjs +28 -0
- package/fesm2020/odx-angular-components-switch.mjs.map +1 -0
- package/fesm2020/odx-angular-components-toggle-button-group.mjs +75 -0
- package/fesm2020/odx-angular-components-toggle-button-group.mjs.map +1 -0
- package/fesm2020/odx-angular-internal.mjs +38 -102
- package/fesm2020/odx-angular-internal.mjs.map +1 -1
- package/fesm2020/odx-angular-rxjs.mjs +6 -2
- package/fesm2020/odx-angular-rxjs.mjs.map +1 -1
- package/fesm2020/odx-angular-utils.mjs +109 -1
- package/fesm2020/odx-angular-utils.mjs.map +1 -1
- package/fesm2020/odx-angular.mjs +175 -206
- package/fesm2020/odx-angular.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/internal/helpers/camel-to-kebab-case.d.ts +2 -0
- package/internal/helpers/index.d.ts +1 -3
- package/internal/index.d.ts +0 -3
- package/{internal/abstract → lib/controllers}/controller.d.ts +3 -2
- package/lib/controllers/disabled.controller.d.ts +5 -3
- package/lib/controllers/index.d.ts +2 -0
- package/lib/controllers/readonly.controller.d.ts +18 -0
- package/lib/core.module.d.ts +3 -3
- package/lib/directives/click-outside.directive.d.ts +18 -0
- package/lib/directives/index.d.ts +1 -2
- package/lib/services/index.d.ts +0 -1
- package/package.json +94 -10
- package/rxjs/index.d.ts +1 -0
- package/rxjs/lib/mark-for-check.d.ts +3 -0
- package/utils/index.d.ts +1 -0
- package/utils/lib/helpers/angular.d.ts +5 -0
- package/utils/lib/helpers/dom.d.ts +5 -0
- package/utils/lib/helpers/index.d.ts +5 -0
- package/utils/lib/helpers/ng-changes.d.ts +1 -1
- package/utils/lib/helpers/provide-module-config.d.ts +12 -0
- package/{internal → utils/lib}/helpers/type-guards.d.ts +2 -1
- package/utils/lib/helpers/until-destroyed.d.ts +2 -0
- package/{internal → utils/lib}/types/get-properties.d.ts +1 -1
- package/{internal → utils/lib}/types/index.d.ts +0 -0
- package/cdk/dynamic-view/lib/facade/animated-component.d.ts +0 -4
- package/cdk/dynamic-view/lib/helpers/is-animated-component.d.ts +0 -3
- package/cdk/dynamic-view/lib/helpers/wait-for-animations.d.ts +0 -3
- package/esm2020/animations/config.mjs +0 -8
- package/esm2020/animations/fade.mjs +0 -12
- package/esm2020/animations/slide.mjs +0 -34
- package/esm2020/cdk/dynamic-view/lib/facade/animated-component.mjs +0 -2
- package/esm2020/cdk/dynamic-view/lib/helpers/is-animated-component.mjs +0 -5
- package/esm2020/cdk/dynamic-view/lib/helpers/wait-for-animations.mjs +0 -9
- package/esm2020/internal/abstract/controller.mjs +0 -29
- package/esm2020/internal/abstract/index.mjs +0 -2
- package/esm2020/internal/helpers/dom.mjs +0 -7
- package/esm2020/internal/helpers/type-guards.mjs +0 -27
- package/esm2020/internal/helpers/watch.mjs +0 -8
- package/esm2020/internal/providers/index.mjs +0 -2
- package/esm2020/internal/providers/watched-controller-provider.mjs +0 -9
- package/esm2020/internal/types/get-properties.mjs +0 -2
- package/esm2020/internal/types/index.mjs +0 -2
- package/esm2020/lib/controls/custom-form-control.mjs +0 -133
- package/esm2020/lib/controls/index.mjs +0 -2
- package/esm2020/lib/directives/control.directive.mjs +0 -18
- package/esm2020/lib/directives/monitor-focus.directive.mjs +0 -34
- package/esm2020/lib/services/destroy.service.mjs +0 -18
- package/internal/abstract/index.d.ts +0 -1
- package/internal/helpers/dom.d.ts +0 -2
- package/internal/helpers/watch.d.ts +0 -4
- package/internal/providers/index.d.ts +0 -1
- package/internal/providers/watched-controller-provider.d.ts +0 -5
- package/lib/controls/index.d.ts +0 -1
- package/lib/directives/monitor-focus.directive.d.ts +0 -12
- package/lib/services/destroy.service.d.ts +0 -9
package/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Copyright (c) 2022 Drägerwerk AG & Co.KGaA, all rights reserved.
|
package/README.md
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# @odx/angular
|
|
2
|
+
|
|
3
|
+
[<img src="https://img.shields.io/npm/v/@odx/angular">](https://npmjs.org/package/@odx/angular)
|
|
4
|
+
[<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/animations">](https://npmjs.org/package/@angular/animations)
|
|
5
|
+
[<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/cdk">](https://npmjs.org/package/@angular/cdk)
|
|
6
|
+
[<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/core">](https://npmjs.org/package/@angular/core)
|
|
7
|
+
[<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/common">](https://npmjs.org/package/@angular/common)
|
|
8
|
+
[<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@angular/common">](https://npmjs.org/package/@angular/forms)
|
|
9
|
+
[<img src="https://img.shields.io/npm/dependency-version/@odx/angular/peer/@odx/ui">](https://npmjs.org/package/@angular/forms)
|
|
10
|
+
|
|
11
|
+
### Install 🚀
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @odx/angular
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
### Usage
|
|
18
|
+
|
|
19
|
+
Import the modules/components/utils your applications needs from `@odx/angular/**`;
|
|
20
|
+
|
|
21
|
+
Entry points:
|
|
22
|
+
|
|
23
|
+
- `@odx/angular` - Common services and building blocks for angular applicationd development
|
|
24
|
+
- `@odx/angular/animations` - Predefined static angular animations to use inside your components
|
|
25
|
+
- `@odx/angular/cdk/*` - Component development kit
|
|
26
|
+
- `@odx/angular/components/*` - Components
|
|
27
|
+
- `@odx/angular/rxjs` - Collection of useful rxjs operators
|
|
28
|
+
- `@odx/angular/utils` - Collection of useful utilities for angular application development
|
|
29
|
+
|
|
30
|
+
#### UiKitModule
|
|
31
|
+
|
|
32
|
+
It's recommended to create a `UiKitModule` and re-export the `CoreModule` and all the components that are needed throughout the the application.
|
|
33
|
+
|
|
34
|
+
```ts
|
|
35
|
+
@NgModule({
|
|
36
|
+
exports: [CoreModule, ButtonComponent, IconComponent, ...]
|
|
37
|
+
})
|
|
38
|
+
export class UiKitModule {
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Live demo ⭐
|
|
43
|
+
|
|
44
|
+
Please refer to our [**Storybook**](https://app-odx-storybook-release-weu.azurewebsites.net/), to see the components in action and to get further information.
|
package/animations/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './lib/expand';
|
|
2
|
+
export * from './lib/fade';
|
|
3
|
+
export * from './lib/slide';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/checkbox-control.directive';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CheckBoxControl extends CustomFormControl<boolean> {
|
|
5
|
+
static ngAcceptInputType_checked: BooleanInput;
|
|
6
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
|
+
set checked(value: boolean);
|
|
8
|
+
get checked(): boolean;
|
|
9
|
+
value: string | null;
|
|
10
|
+
get ariaChecked(): string;
|
|
11
|
+
constructor();
|
|
12
|
+
onChanged(event: Event): void;
|
|
13
|
+
protected updateRequiredValidator(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxControl, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckBoxControl, "[odxCheckBoxControl]", never, { "checked": "checked"; "value": "value"; }, {}, never, never, false>;
|
|
16
|
+
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class ControlDirective {
|
|
4
|
-
readonly element: ElementRef<HTMLElement>;
|
|
5
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
3
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
6
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<ControlDirective, never>;
|
|
7
5
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ControlDirective, "[odxControl]", ["odxControl"], {}, {}, never, never, true>;
|
|
8
6
|
}
|
|
@@ -1,28 +1,27 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { AfterContentInit
|
|
2
|
+
import { AfterContentInit } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor, NgControl, ValidatorFn } from '@angular/forms';
|
|
4
|
-
import { Controller } from '@odx/angular
|
|
5
|
-
import { ControlDirective } from '
|
|
4
|
+
import { Controller, DisabledController, ReadonlyController } from '@odx/angular';
|
|
5
|
+
import { ControlDirective } from './control.directive';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare abstract class CustomFormControl<T> extends Controller implements ControlValueAccessor, AfterContentInit {
|
|
8
8
|
private static CURRENT_INDEX;
|
|
9
9
|
static ngAcceptInputType_required: BooleanInput;
|
|
10
10
|
private internalValue;
|
|
11
11
|
private isRequired;
|
|
12
|
-
protected readonly
|
|
13
|
-
protected readonly
|
|
12
|
+
protected readonly disabledController: DisabledController | null;
|
|
13
|
+
protected readonly readonlyController: ReadonlyController | null;
|
|
14
14
|
protected readonly enabled$: import("rxjs").Observable<void>;
|
|
15
15
|
protected readonly ngControl: NgControl | null;
|
|
16
16
|
id: string | null;
|
|
17
17
|
name: string;
|
|
18
|
-
readonly: boolean;
|
|
19
18
|
set required(value: unknown);
|
|
20
19
|
get required(): boolean;
|
|
21
|
-
readonly change: EventEmitter<T>;
|
|
22
20
|
set controlValue(value: T);
|
|
23
21
|
get controlValue(): T;
|
|
24
22
|
get hasError(): boolean;
|
|
25
23
|
get isDisabled(): boolean;
|
|
24
|
+
get isReadonly(): boolean;
|
|
26
25
|
readonly control: ControlDirective | null;
|
|
27
26
|
constructor(initialValue: T);
|
|
28
27
|
ngAfterContentInit(): void;
|
|
@@ -36,5 +35,5 @@ export declare abstract class CustomFormControl<T> extends Controller implements
|
|
|
36
35
|
protected toggleValidator(validator: ValidatorFn, state: boolean): void;
|
|
37
36
|
protected updateRequiredValidator(): void;
|
|
38
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomFormControl<any>, never>;
|
|
39
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomFormControl<any>, never, never, { "id": "id"; "name": "name"; "
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CustomFormControl<any>, never, never, { "id": "id"; "name": "name"; "required": "required"; }, {}, never, never, false>;
|
|
40
39
|
}
|
|
@@ -11,7 +11,7 @@ export declare class DynamicViewDirective<T extends DynamicContent<unknown> = Dy
|
|
|
11
11
|
context?: GetDynamicViewContext<T>;
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
ngOnChanges(changes: NgChanges<DynamicViewDirective<DynamicContent>>): void;
|
|
14
|
-
ngOnDestroy():
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
15
|
getView(): DynamicViewRef<T> | null;
|
|
16
16
|
private render;
|
|
17
17
|
private destroy;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
-
import { GetProperties } from '@odx/angular/
|
|
2
|
+
import { GetProperties } from '@odx/angular/utils';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export declare type DynamicTextContent = string | Observable<string>;
|
|
5
5
|
export declare type DynamicContent<C = unknown> = DynamicTextContent | TemplateRef<C> | Type<C>;
|
|
@@ -2,7 +2,7 @@ import { ViewRef } from '@angular/core';
|
|
|
2
2
|
import { DynamicContent, GetDynamicViewContext } from './dynamic-content';
|
|
3
3
|
export interface DynamicViewRef<T extends DynamicContent> {
|
|
4
4
|
detectChanges(): void;
|
|
5
|
-
destroy():
|
|
5
|
+
destroy(): void;
|
|
6
6
|
getElement(): Element;
|
|
7
7
|
update(context: GetDynamicViewContext<T>): void;
|
|
8
8
|
getView(): ViewRef | null;
|
|
@@ -6,11 +6,13 @@ export interface DynamicComponentOptions<T extends Type<unknown>> extends Dynami
|
|
|
6
6
|
component: T;
|
|
7
7
|
}
|
|
8
8
|
export declare class DynamicComponentRef<T extends Type<unknown>, C extends GetDynamicViewContext<T>> implements DynamicViewRef<T> {
|
|
9
|
+
private readonly options;
|
|
10
|
+
private readonly application;
|
|
9
11
|
private componentRef;
|
|
10
|
-
constructor(
|
|
12
|
+
constructor(options: DynamicComponentOptions<T>);
|
|
11
13
|
detectChanges(): void;
|
|
12
|
-
destroy():
|
|
13
|
-
getElement
|
|
14
|
+
destroy(): void;
|
|
15
|
+
getElement(): Element;
|
|
14
16
|
update(context: C): void;
|
|
15
17
|
getView(): ViewRef | null;
|
|
16
18
|
}
|
|
@@ -10,7 +10,7 @@ export declare class DynamicTemplateRef<T extends NgTemplateRef<unknown> = NgTem
|
|
|
10
10
|
private embeddedViewRef;
|
|
11
11
|
constructor(options: DynamicTemplateOptions<T>);
|
|
12
12
|
detectChanges(): void;
|
|
13
|
-
destroy():
|
|
13
|
+
destroy(): void;
|
|
14
14
|
getElement(): Element;
|
|
15
15
|
update(context: GetDynamicViewContext<T>): void;
|
|
16
16
|
getView(): ViewRef | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { ExpandableItem } from '../facade';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ExpandableItemDirective extends ExpandableItem {
|
|
5
|
+
static ID: number;
|
|
6
|
+
static ngAcceptInputType_expanded: BooleanInput;
|
|
7
|
+
private readonly container;
|
|
8
|
+
private readonly changeDetectorRef;
|
|
9
|
+
private _expanded;
|
|
10
|
+
readonly id: string;
|
|
11
|
+
set expanded(value: boolean);
|
|
12
|
+
get expanded(): boolean;
|
|
13
|
+
toggle(): void;
|
|
14
|
+
open(): void;
|
|
15
|
+
close(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableItemDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandableItemDirective, "[odxExpandableItem]", never, { "expanded": "expanded"; }, {}, never, never, true>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import { ExpandableContainer, ExpandableItem } from '../facade';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ExpandableContainerDirective extends ExpandableContainer {
|
|
5
|
+
static ngAcceptInputType_multiple: BooleanInput;
|
|
6
|
+
private openItems;
|
|
7
|
+
multiple: boolean;
|
|
8
|
+
close(item: ExpandableItem): void;
|
|
9
|
+
closeAll(): void;
|
|
10
|
+
open(item: ExpandableItem): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableContainerDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ExpandableContainerDirective, "[odxExpandableContainer]", never, { "multiple": "multiple"; }, {}, never, never, true>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./directives/extandable-container.directive";
|
|
3
|
+
import * as i2 from "./directives/expandable-item.directive";
|
|
4
|
+
export declare class ExpandableModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandableModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ExpandableModule, never, [typeof i1.ExpandableContainerDirective, typeof i2.ExpandableItemDirective], [typeof i1.ExpandableContainerDirective, typeof i2.ExpandableItemDirective]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ExpandableModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DisabledController, ReadonlyController } from '@odx/angular';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RadioControlDirective<T = unknown> {
|
|
4
|
+
protected readonly disabledController: DisabledController | null;
|
|
5
|
+
protected readonly readonlyController: ReadonlyController | null;
|
|
6
|
+
protected readonly radioGroupControl: import("./radio-group-control.directive").RadioGroupControlDirective<unknown>;
|
|
7
|
+
value: T | null;
|
|
8
|
+
get ariaChecked(): string;
|
|
9
|
+
get isActive(): boolean;
|
|
10
|
+
constructor();
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioControlDirective<any>, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioControlDirective<any>, "[odxRadioControl]", never, { "value": "value"; }, {}, never, never, true>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { CustomFormControl } from '@odx/angular/cdk/custom-form-control';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const RADIO_GROUP_CONTROL: InjectionToken<RadioGroupControlDirective<unknown>>;
|
|
5
|
+
export declare class RadioGroupControlDirective<T = unknown> extends CustomFormControl<T | null> {
|
|
6
|
+
constructor();
|
|
7
|
+
onFocusOut(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupControlDirective<any>, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioGroupControlDirective<any>, "[odxRadioGroupControl]", never, {}, {}, never, never, true>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./radio-group-control.directive";
|
|
3
|
+
import * as i2 from "./radio-control.directive";
|
|
4
|
+
import * as i3 from "@odx/angular";
|
|
5
|
+
export declare class RadioGroupControlModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RadioGroupControlModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RadioGroupControlModule, never, [typeof i1.RadioGroupControlDirective, typeof i2.RadioControlDirective], [typeof i3.CoreModule, typeof i1.RadioGroupControlDirective, typeof i2.RadioControlDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RadioGroupControlModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ExpandableContainerDirective } from '@odx/angular/cdk/expandable';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AccordionComponent extends ExpandableContainerDirective {
|
|
4
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "odx-accordion", never, {}, {}, never, ["odx-accordion-item"], true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./accordion.component";
|
|
3
|
+
import * as i2 from "./components/accordion-item/accordion-item.component";
|
|
4
|
+
import * as i3 from "./directives/accordion-item-title";
|
|
5
|
+
import * as i4 from "@odx/angular";
|
|
6
|
+
export declare class AccordionModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionModule, never, [typeof i1.AccordionComponent, typeof i2.AccordionItemComponent, typeof i3.AccordionItemTitleDirective], [typeof i4.CoreModule, typeof i1.AccordionComponent, typeof i2.AccordionItemComponent, typeof i3.AccordionItemTitleDirective]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AccordionModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ExpandableItemDirective } from '@odx/angular/cdk/expandable';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AccordionItemComponent extends ExpandableItemDirective {
|
|
5
|
+
private readonly disabledController;
|
|
6
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
|
+
title?: string | null;
|
|
8
|
+
expandedChange: EventEmitter<boolean>;
|
|
9
|
+
get isDisabled(): boolean;
|
|
10
|
+
get isExpanded(): boolean;
|
|
11
|
+
get titleId(): string;
|
|
12
|
+
get slotId(): string;
|
|
13
|
+
onAnimationEnd(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "odx-accordion-item", never, { "title": "title"; }, { "expandedChange": "expandedChange"; }, never, ["odx-accordion-item-title", "*"], true>;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './accordion-item/accordion-item.component';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AccordionItemTitleDirective {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemTitleDirective, never>;
|
|
4
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AccordionItemTitleDirective, "odx-accordion-item-title", never, {}, {}, never, never, true>;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './accordion-item-title';
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ActionGroupComponent {
|
|
5
|
-
readonly element: ElementRef<HTMLElement>;
|
|
6
4
|
static ngAcceptInputType_reverse: BooleanInput;
|
|
5
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
6
|
reverse: boolean;
|
|
8
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ActionGroupComponent, never>;
|
|
10
8
|
static ɵcmp: i0.ɵɵComponentDeclaration<ActionGroupComponent, "odx-action-group", never, { "reverse": "reverse"; }, {}, never, ["[odxButton]"], true>;
|
|
11
9
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { AreaHeaderSize } from './models';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class AreaHeaderComponent {
|
|
5
|
-
readonly element: ElementRef<HTMLElement>;
|
|
4
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
6
5
|
size: AreaHeaderSize;
|
|
7
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
8
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaHeaderComponent, never>;
|
|
9
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<AreaHeaderComponent, "odx-area-header", never, { "size": "size"; }, {}, never, ["odx-avatar", "*", "odx-area-header-subtitle", "odx-area-header-content"], true>;
|
|
10
8
|
}
|
|
@@ -6,8 +6,9 @@ import * as i4 from "@odx/angular/components/avatar";
|
|
|
6
6
|
import * as i5 from "@odx/angular/components/action-group";
|
|
7
7
|
import * as i6 from "@odx/angular/components/button";
|
|
8
8
|
import * as i7 from "@odx/angular/components/icon";
|
|
9
|
+
import * as i8 from "@odx/angular";
|
|
9
10
|
export declare class AreaHeaderModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<AreaHeaderModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AreaHeaderModule, never, [typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent], [typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AreaHeaderModule, never, [typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent], [typeof i8.CoreModule, typeof i1.AreaHeaderComponent, typeof i2.AreaHeaderContentDirective, typeof i3.AreaHeaderSubtitleDirective, typeof i4.AvatarComponent, typeof i5.ActionGroupComponent, typeof i6.ButtonComponent, typeof i7.IconComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<AreaHeaderModule>;
|
|
13
14
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { AvatarSize } from './models';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class AvatarComponent {
|
|
5
|
-
readonly element: ElementRef<HTMLElement>;
|
|
4
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
6
5
|
size?: AvatarSize | null;
|
|
7
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
8
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
|
|
9
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "odx-avatar", never, { "size": "size"; }, {}, never, ["*"], true>;
|
|
10
8
|
}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy } from '@angular/core';
|
|
2
2
|
import { NgChanges } from '@odx/angular/utils';
|
|
3
3
|
import { BadgePosition, BadgeVariant } from './models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class BadgeComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
6
|
-
readonly element: ElementRef<HTMLElement>;
|
|
7
|
-
private readonly zone;
|
|
8
6
|
private readonly hostElement;
|
|
9
|
-
private readonly
|
|
7
|
+
private readonly zone;
|
|
10
8
|
private positionUpdater?;
|
|
11
9
|
private elementRect;
|
|
10
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
12
11
|
value: number;
|
|
13
12
|
position: BadgePosition;
|
|
14
13
|
contrast: boolean;
|
|
15
14
|
variant: BadgeVariant;
|
|
16
|
-
constructor(element: ElementRef<HTMLElement>, zone: NgZone);
|
|
17
15
|
ngOnChanges(changes: NgChanges<BadgeComponent>): void;
|
|
18
16
|
ngAfterViewInit(): void;
|
|
19
17
|
ngOnDestroy(): void;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { BooleanInput, NumberInput } from '@angular/cdk/coercion';
|
|
2
|
-
import {
|
|
2
|
+
import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { BadgeHost } from './facade';
|
|
4
4
|
import { BadgePosition, BadgeVariant } from './models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class BadgeDirective implements BadgeHost, OnChanges, OnDestroy {
|
|
7
|
-
private readonly injector;
|
|
8
|
-
private readonly viewContainer;
|
|
9
7
|
static ngAcceptInputType_content: NumberInput;
|
|
10
8
|
static ngAcceptInputType_contrast: BooleanInput;
|
|
11
9
|
private badgeRef;
|
|
12
|
-
readonly
|
|
10
|
+
private readonly injector;
|
|
11
|
+
private readonly viewContainer;
|
|
12
|
+
readonly hostElement: HTMLElement;
|
|
13
13
|
value: number;
|
|
14
14
|
contrast: boolean;
|
|
15
15
|
position: BadgePosition;
|
|
16
16
|
variant: BadgeVariant;
|
|
17
|
-
constructor(injector: Injector, viewContainer: ViewContainerRef);
|
|
18
17
|
ngOnChanges(changes: SimpleChanges): void;
|
|
19
18
|
ngOnDestroy(): void;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeDirective, never>;
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { ButtonVariant } from './models';
|
|
1
|
+
import { DisabledController } from '@odx/angular';
|
|
2
|
+
import { ButtonSize, ButtonVariant } from './models';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ButtonComponent {
|
|
6
|
-
readonly
|
|
7
|
-
readonly element: ElementRef<HTMLButtonElement | HTMLLinkElement>;
|
|
8
|
-
private readonly isSubmitButton;
|
|
9
|
-
private readonly isResetButton;
|
|
10
|
-
protected readonly disabledController: import("@odx/angular").DisabledController | null;
|
|
11
|
-
protected readonly form: NgForm | null;
|
|
12
|
-
protected readonly formGroup: FormGroupDirective | null;
|
|
13
|
-
get isDisabled(): boolean;
|
|
14
|
-
get isParentFormInvalid(): boolean;
|
|
15
|
-
get isParentFormDirty(): boolean;
|
|
5
|
+
protected readonly disabledController: DisabledController | null;
|
|
6
|
+
readonly element: import("@angular/core").ElementRef<HTMLButtonElement | HTMLLinkElement>;
|
|
16
7
|
variant?: ButtonVariant | null;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
static
|
|
8
|
+
size?: ButtonSize | null;
|
|
9
|
+
get type(): string | null;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[odxButton], a[odxButton]", never, { "variant": "variant"; "size": "size"; }, {}, never, ["odx-icon[alignLeft]", "*", "odx-icon[alignRight]"], true>;
|
|
20
12
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/button-group.component';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ButtonGroupComponent {
|
|
4
|
+
static ngAcceptInputType_reverse: BooleanInput;
|
|
5
|
+
static ngAcceptInputType_block: BooleanInput;
|
|
6
|
+
static ngAcceptInputType_alignRight: BooleanInput;
|
|
7
|
+
static ngAcceptInputType_vertical: BooleanInput;
|
|
8
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
9
|
+
alignRight: boolean;
|
|
10
|
+
block: boolean;
|
|
11
|
+
vertical: boolean;
|
|
12
|
+
reverse: boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonGroupComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonGroupComponent, "odx-button-group", never, { "alignRight": "alignRight"; "block": "block"; "vertical": "vertical"; "reverse": "reverse"; }, {}, never, ["button[odxButton], a[odxButton]"], true>;
|
|
15
|
+
}
|