@odx/angular 1.0.0-rc.0 → 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
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { CheckBoxControl } from '@odx/angular/cdk/checkbox-control';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CheckboxComponent extends
|
|
6
|
-
readonly element: ElementRef<HTMLElement>;
|
|
7
|
-
static ngAcceptInputType_checked: BooleanInput;
|
|
5
|
+
export declare class CheckboxComponent extends CheckBoxControl {
|
|
8
6
|
static ngAcceptInputType_indeterminate: BooleanInput;
|
|
9
7
|
private isIndeterminate;
|
|
10
|
-
set checked(value: boolean);
|
|
11
|
-
get checked(): boolean;
|
|
12
8
|
set indeterminate(value: unknown);
|
|
13
9
|
get indeterminate(): boolean;
|
|
14
|
-
|
|
10
|
+
readonly indeterminateChange: EventEmitter<boolean>;
|
|
15
11
|
get ariaChecked(): string;
|
|
16
12
|
get modifierIcon(): string;
|
|
17
|
-
readonly indeterminateChange: EventEmitter<boolean>;
|
|
18
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
19
13
|
onChanged(event: Event): void;
|
|
20
|
-
protected updateRequiredValidator(): void;
|
|
21
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "odx-checkbox", never, { "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "odx-checkbox", never, { "indeterminate": "indeterminate"; }, { "indeterminateChange": "indeterminateChange"; }, never, ["*"], true>;
|
|
23
16
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormFieldService } from '../../form-field.service';
|
|
2
|
+
import { FormFieldError } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormFieldInfoComponent {
|
|
5
|
+
protected readonly formFieldService: FormFieldService;
|
|
6
|
+
error: FormFieldError | null;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldInfoComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldInfoComponent, "odx-form-field-info", never, { "error": "error"; }, {}, never, ["*"], true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AfterContentInit, QueryList } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FormFieldError } from '../../models';
|
|
4
|
+
import { FormFieldErrorService } from '../../services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormGroupComponent implements AfterContentInit {
|
|
7
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
8
|
+
error$: Observable<FormFieldError | null> | null;
|
|
9
|
+
formFieldErrorServices: QueryList<FormFieldErrorService>;
|
|
10
|
+
constructor();
|
|
11
|
+
ngAfterContentInit(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormGroupComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormGroupComponent, "odx-form-group", never, {}, {}, ["formFieldErrorServices"], ["odx-form-field", "odx-form-field-hint"], true>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormFieldControlDirective implements OnInit, OnDestroy {
|
|
4
|
+
private readonly config;
|
|
5
|
+
private readonly element;
|
|
6
|
+
private readonly ngControl;
|
|
7
|
+
private readonly form;
|
|
8
|
+
private readonly onFormReset$;
|
|
9
|
+
private readonly onFormSubmit$;
|
|
10
|
+
private readonly formFieldService;
|
|
11
|
+
private readonly formFieldErrorService;
|
|
12
|
+
private readonly isInput;
|
|
13
|
+
private readonly takeUntilDestroyed;
|
|
14
|
+
constructor();
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
private registerOnBlur;
|
|
17
|
+
ngOnDestroy(): void;
|
|
18
|
+
private registerOnChange;
|
|
19
|
+
private registerOnSubmit;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldControlDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormFieldControlDirective, "[odxFormFieldControl]", never, {}, {}, never, never, true>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormFieldErrorDirective implements OnInit {
|
|
4
|
+
private readonly formFieldErrorService;
|
|
5
|
+
private readonly template;
|
|
6
|
+
key?: string;
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldErrorDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormFieldErrorDirective, "[odxFormFieldError]", never, { "key": "odxFormFieldError"; }, {}, never, never, true>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FormFieldService } from '../form-field.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FormFieldHintDirective {
|
|
4
|
+
protected readonly formFieldService: FormFieldService;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldHintDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormFieldHintDirective, "odx-form-field-hint", never, {}, {}, never, never, true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormFieldLabelDirective {
|
|
3
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldLabelDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormFieldLabelDirective, "odx-form-field-label", never, {}, {}, never, never, true>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormDirective {
|
|
3
|
+
private readonly takeUntilDestroyed;
|
|
4
|
+
readonly element: import("@angular/core").ElementRef<HTMLFormElement>;
|
|
5
|
+
readonly submit$: import("rxjs").Observable<Event>;
|
|
6
|
+
readonly reset$: import("rxjs").Observable<Event>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormDirective, "form[odxForm]", never, {}, {}, never, never, true>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FormGroupComponent } from './components';
|
|
2
|
+
import { FormFieldLabelDirective } from './directives';
|
|
3
|
+
import { FormFieldService } from './form-field.service';
|
|
4
|
+
import { FormFieldErrorService } from './services';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormFieldComponent {
|
|
7
|
+
protected readonly formGroup: FormGroupComponent | null;
|
|
8
|
+
protected readonly formFieldService: FormFieldService;
|
|
9
|
+
protected readonly formFieldErrorService: FormFieldErrorService;
|
|
10
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
11
|
+
labelDirective?: FormFieldLabelDirective;
|
|
12
|
+
label?: string | null;
|
|
13
|
+
get hasLabel(): boolean;
|
|
14
|
+
get isStandalone(): boolean;
|
|
15
|
+
constructor();
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "odx-form-field", never, { "label": "label"; }, {}, ["labelDirective"], ["odx-form-field-label", "[odxFormFieldPrefix]", "*", "[odxFormFieldSuffix]", "odx-form-field-hint"], true>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FormFieldErrorResolvers } from './models';
|
|
2
|
+
export interface FormFieldModuleConfig {
|
|
3
|
+
/**
|
|
4
|
+
* Object of error resolvers used to resolve error messages globally
|
|
5
|
+
* @default {}
|
|
6
|
+
*/
|
|
7
|
+
errors: FormFieldErrorResolvers;
|
|
8
|
+
/**
|
|
9
|
+
* Detect if native control element supports the `blur` event
|
|
10
|
+
* @default ({ tagName }: Element) => ['input', 'select', 'textarea'].includes(tagName.toLowerCase())
|
|
11
|
+
* */
|
|
12
|
+
blurPredicate: (element: Element) => boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Detect form field control changes on `blur` and/or `change`
|
|
15
|
+
* @default ['blur']
|
|
16
|
+
*/
|
|
17
|
+
updateOn: Array<'blur' | 'change'>;
|
|
18
|
+
}
|
|
19
|
+
export declare const FormFieldDefaultModuleConfig: FormFieldModuleConfig, FormFieldModuleConfig: import("@angular/core").InjectionToken<Partial<FormFieldModuleConfig>>, injectFormFieldModuleConfig: () => FormFieldModuleConfig;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { ModuleConfigDependencies, ModuleConfigProvider } from '@odx/angular/utils';
|
|
3
|
+
import { FormFieldModuleConfig } from './form-field.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./form-field.component";
|
|
6
|
+
import * as i2 from "./components/form-group/form-group.component";
|
|
7
|
+
import * as i3 from "./directives/form.directive";
|
|
8
|
+
import * as i4 from "./directives/form-field-control.directive";
|
|
9
|
+
import * as i5 from "./directives/form-field-error.directive";
|
|
10
|
+
import * as i6 from "./directives/form-field-hint.directive";
|
|
11
|
+
import * as i7 from "./directives/form-field-label.directive";
|
|
12
|
+
import * as i8 from "@odx/angular";
|
|
13
|
+
export declare class FormFieldModule {
|
|
14
|
+
static forRoot<D extends ModuleConfigDependencies>(config: ModuleConfigProvider<Partial<FormFieldModuleConfig>, D>): ModuleWithProviders<FormFieldModule>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormFieldModule, never, [typeof i1.FormFieldComponent, typeof i2.FormGroupComponent, typeof i3.FormDirective, typeof i4.FormFieldControlDirective, typeof i5.FormFieldErrorDirective, typeof i6.FormFieldHintDirective, typeof i7.FormFieldLabelDirective], [typeof i8.CoreModule, typeof i1.FormFieldComponent, typeof i2.FormGroupComponent, typeof i3.FormDirective, typeof i4.FormFieldControlDirective, typeof i5.FormFieldErrorDirective, typeof i6.FormFieldHintDirective, typeof i7.FormFieldLabelDirective]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormFieldModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { Controller } from '@odx/angular';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
interface FieldControl {
|
|
7
|
+
control: AbstractControl;
|
|
8
|
+
nativeElement: HTMLElement;
|
|
9
|
+
}
|
|
10
|
+
export declare class FormFieldService extends Controller implements OnDestroy {
|
|
11
|
+
private static ID;
|
|
12
|
+
private readonly disabledController;
|
|
13
|
+
private readonly readonlyController;
|
|
14
|
+
private readonly control$$;
|
|
15
|
+
readonly control$: Observable<FieldControl | null>;
|
|
16
|
+
readonly controlId$: Observable<string | null>;
|
|
17
|
+
readonly controlHintId$: Observable<string | null>;
|
|
18
|
+
readonly controlErrorId$: Observable<string | null>;
|
|
19
|
+
readonly isDisabled$: Observable<boolean>;
|
|
20
|
+
readonly isRequired$: Observable<boolean>;
|
|
21
|
+
readonly isReadonly$: Observable<boolean>;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
registerControl(control: AbstractControl, { nativeElement }: ElementRef<HTMLElement>): void;
|
|
24
|
+
removeControl(): void;
|
|
25
|
+
private updateControlDisabledState;
|
|
26
|
+
private getControlDisabledState;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldService, never>;
|
|
28
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormFieldService>;
|
|
29
|
+
}
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';
|
|
2
|
+
export declare type FormFieldErrorResolver<C = boolean> = (context: C) => DynamicTextContent;
|
|
3
|
+
export interface FormFieldErrorResolvers {
|
|
4
|
+
min?: FormFieldErrorResolver<{
|
|
5
|
+
min: number;
|
|
6
|
+
actual: number;
|
|
7
|
+
}>;
|
|
8
|
+
max?: FormFieldErrorResolver<{
|
|
9
|
+
max: number;
|
|
10
|
+
actual: number;
|
|
11
|
+
}>;
|
|
12
|
+
required?: FormFieldErrorResolver;
|
|
13
|
+
requiredTrue?: FormFieldErrorResolver;
|
|
14
|
+
email?: FormFieldErrorResolver;
|
|
15
|
+
minlength?: FormFieldErrorResolver<{
|
|
16
|
+
requiredLength: number;
|
|
17
|
+
actualLength: number;
|
|
18
|
+
}>;
|
|
19
|
+
maxlength?: FormFieldErrorResolver<{
|
|
20
|
+
requiredLength: number;
|
|
21
|
+
actualLength: number;
|
|
22
|
+
}>;
|
|
23
|
+
pattern?: FormFieldErrorResolver<{
|
|
24
|
+
requiredPattern: string;
|
|
25
|
+
}>;
|
|
26
|
+
[key: string]: FormFieldErrorResolver<any> | undefined;
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { FormFieldError } from '../models';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FormFieldErrorService implements OnDestroy {
|
|
6
|
+
private readonly config;
|
|
7
|
+
private readonly fieldError$$;
|
|
8
|
+
private readonly customErrors$$;
|
|
9
|
+
readonly error$: import("rxjs").Observable<FormFieldError | null>;
|
|
10
|
+
readonly hasError$: import("rxjs").Observable<boolean>;
|
|
11
|
+
get hasError(): boolean;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
setError(errors?: ValidationErrors | null): void;
|
|
14
|
+
registerCustomError(key: string | undefined, template: TemplateRef<unknown>): void;
|
|
15
|
+
private resolveError;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldErrorService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormFieldErrorService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './form-field-error.service';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class HeaderComponent {
|
|
4
|
-
readonly element: ElementRef<HTMLElement>;
|
|
5
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
3
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
6
4
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
7
5
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "odx-header", never, {}, {}, never, ["button[odxMainMenuButton]", "odx-header-title", "odx-action-group", "[odxHeaderAvatar]"], true>;
|
|
8
6
|
}
|
|
@@ -8,8 +8,9 @@ import * as i6 from "@odx/angular/components/icon";
|
|
|
8
8
|
import * as i7 from "@odx/angular/components/button";
|
|
9
9
|
import * as i8 from "@odx/angular/components/avatar";
|
|
10
10
|
import * as i9 from "@odx/angular/components/logo";
|
|
11
|
+
import * as i10 from "@odx/angular";
|
|
11
12
|
export declare class HeaderModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, never, [typeof i1.HeaderComponent, typeof i2.HeaderTitleDirective, typeof i3.HeaderAvatarDirective, typeof i4.MainMenuModule, typeof i5.ActionGroupComponent, typeof i6.IconComponent, typeof i7.ButtonComponent, typeof i8.AvatarComponent, typeof i9.LogoDirective], [typeof i1.HeaderComponent, typeof i2.HeaderTitleDirective, typeof i3.HeaderAvatarDirective, typeof i4.MainMenuModule, typeof i5.ActionGroupComponent, typeof i6.IconComponent, typeof i7.ButtonComponent, typeof i8.AvatarComponent, typeof i9.LogoDirective]>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, never, [typeof i1.HeaderComponent, typeof i2.HeaderTitleDirective, typeof i3.HeaderAvatarDirective, typeof i4.MainMenuModule, typeof i5.ActionGroupComponent, typeof i6.IconComponent, typeof i7.ButtonComponent, typeof i8.AvatarComponent, typeof i9.LogoDirective], [typeof i10.CoreModule, typeof i1.HeaderComponent, typeof i2.HeaderTitleDirective, typeof i3.HeaderAvatarDirective, typeof i4.MainMenuModule, typeof i5.ActionGroupComponent, typeof i6.IconComponent, typeof i7.ButtonComponent, typeof i8.AvatarComponent, typeof i9.LogoDirective]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
|
|
15
16
|
}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BooleanInput } from '@angular/cdk/coercion';
|
|
2
2
|
import { IconSize } from './models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class IconComponent {
|
|
5
|
-
|
|
5
|
+
static ngAcceptInputType_inline: BooleanInput;
|
|
6
|
+
private iconName;
|
|
7
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
8
|
+
inline: boolean;
|
|
6
9
|
size: IconSize;
|
|
7
|
-
name: string;
|
|
8
|
-
|
|
10
|
+
set name(value: string | null);
|
|
11
|
+
get name(): string | null;
|
|
12
|
+
private getIconClass;
|
|
9
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "odx-icon", never, { "size": "size"; "name": "name"; }, {}, never, never, true>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "odx-icon", never, { "inline": "inline"; "size": "size"; "name": "name"; }, {}, never, never, true>;
|
|
11
15
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DisabledController } from '@odx/angular';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LinkDirective {
|
|
4
|
-
readonly
|
|
5
|
-
|
|
4
|
+
protected readonly disabledController: DisabledController | null;
|
|
5
|
+
readonly element: import("@angular/core").ElementRef<HTMLLinkElement>;
|
|
6
6
|
get isDisabled(): boolean;
|
|
7
|
-
href: string | null;
|
|
8
|
-
constructor(element: ElementRef<HTMLLinkElement>);
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LinkDirective, "a[odxLink]", never, {
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LinkDirective, "a[odxLink]", never, {}, {}, never, never, true>;
|
|
11
9
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { LogoSize, LogoVariant } from './models';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class LogoDirective {
|
|
5
|
-
readonly element: ElementRef<HTMLElement>;
|
|
4
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
6
5
|
size: LogoSize;
|
|
7
6
|
variant: LogoVariant;
|
|
8
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
9
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LogoDirective, never>;
|
|
10
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<LogoDirective, "odx-logo", never, { "size": "size"; "variant": "variant"; }, {}, never, never, true>;
|
|
11
9
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { MainMenuService } from '../main-menu.service';
|
|
3
1
|
import * as i0 from "@angular/core";
|
|
4
2
|
export declare class MainMenuButtonDirective {
|
|
5
|
-
readonly element: ElementRef<HTMLButtonElement>;
|
|
6
3
|
private readonly mainMenuService;
|
|
7
|
-
|
|
4
|
+
readonly element: import("@angular/core").ElementRef<HTMLButtonElement>;
|
|
8
5
|
onClick(): void;
|
|
9
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuButtonDirective, never>;
|
|
10
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuButtonDirective, "button[odxMainMenuButton]", never, {}, {}, never, never, true>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DisabledController } from '@odx/angular';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MainMenuItemDirective {
|
|
4
|
-
readonly
|
|
5
|
-
|
|
4
|
+
protected readonly disabledController: DisabledController | null;
|
|
5
|
+
readonly element: import("@angular/core").ElementRef<HTMLLinkElement>;
|
|
6
6
|
get isDisabled(): boolean;
|
|
7
|
-
constructor(element: ElementRef<HTMLLinkElement>);
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuItemDirective, never>;
|
|
9
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuItemDirective, "a[odxMainMenuItem]", never, {}, {}, never, never, true>;
|
|
10
9
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
1
|
import { MainMenuService } from './main-menu.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class MainMenuComponent {
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
4
|
+
protected readonly mainMenuService: MainMenuService;
|
|
5
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
6
|
title: string;
|
|
8
7
|
subtitle: string | null;
|
|
9
8
|
copyright: string | null;
|
|
10
9
|
set isOpen(value: boolean);
|
|
11
10
|
get isOpen(): boolean;
|
|
12
11
|
menuOpen: import("rxjs").Observable<boolean>;
|
|
13
|
-
constructor(element: ElementRef<HTMLElement>, mainMenuSerice: MainMenuService);
|
|
14
12
|
close(): void;
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuComponent, never>;
|
|
16
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<MainMenuComponent, "odx-main-menu", never, { "title": "title"; "subtitle": "subtitle"; "copyright": "copyright"; "isOpen": "isOpen"; }, { "menuOpen": "menuOpen"; }, never, ["a[odxMainMenuItem]", "[odxLink]"], true>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@odx/angular";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "./main-menu.
|
|
5
|
-
import * as i4 from "./directives/main-menu-
|
|
6
|
-
import * as i5 from "
|
|
2
|
+
import * as i1 from "@odx/angular/components/link";
|
|
3
|
+
import * as i2 from "./main-menu.component";
|
|
4
|
+
import * as i3 from "./directives/main-menu-item.directive";
|
|
5
|
+
import * as i4 from "./directives/main-menu-button.directive";
|
|
6
|
+
import * as i5 from "@odx/angular";
|
|
7
7
|
export declare class MainMenuModule {
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MainMenuModule, never, [typeof i1.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MainMenuModule, never, [typeof i1.LinkDirective, typeof i2.MainMenuComponent, typeof i3.MainMenuItemDirective, typeof i4.MainMenuButtonDirective], [typeof i5.CoreModule, typeof i1.LinkDirective, typeof i2.MainMenuComponent, typeof i3.MainMenuItemDirective, typeof i4.MainMenuButtonDirective]>;
|
|
10
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<MainMenuModule>;
|
|
11
11
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './lib/components';
|
|
2
|
+
export * from './lib/directives';
|
|
3
|
+
export * from './lib/modal.component';
|
|
4
|
+
export * from './lib/modal.config';
|
|
5
|
+
export * from './lib/modal.directive';
|
|
6
|
+
export * from './lib/modal.module';
|
|
7
|
+
export * from './lib/modal.service';
|
|
8
|
+
export * from './lib/models';
|
|
9
|
+
export * from './lib/services';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModalFooterComponent {
|
|
3
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalFooterComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalFooterComponent, "odx-modal-footer", never, {}, {}, never, ["*"], true>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AfterContentInit } from '@angular/core';
|
|
2
|
+
import { AreaHeaderComponent } from '@odx/angular/components/area-header';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ModalHeaderComponent implements AfterContentInit {
|
|
5
|
+
protected readonly modalRef: import("@odx/angular/components/modal").ModalRef<unknown, unknown>;
|
|
6
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
7
|
+
areaHeaderComponent?: AreaHeaderComponent;
|
|
8
|
+
ngAfterContentInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalHeaderComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalHeaderComponent, "odx-modal-header", never, {}, {}, ["areaHeaderComponent"], ["odx-area-header"], true>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModalCloseDirective<T = unknown> {
|
|
3
|
+
private readonly modalRef;
|
|
4
|
+
result: T | null;
|
|
5
|
+
onClick(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalCloseDirective<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalCloseDirective<any>, "[odxModalClose]", never, { "result": "odxModalClose"; }, {}, never, never, true>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModalContentDirective {
|
|
3
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalContentDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalContentDirective, "odx-modal-content", never, {}, {}, never, never, true>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ModalDismissDirective {
|
|
3
|
+
private readonly modalRef;
|
|
4
|
+
onClick(): void;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalDismissDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalDismissDirective, "[odxModalDismiss]", never, {}, {}, never, never, true>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { DynamicContent, DynamicTextContent } from '@odx/angular/cdk/dynamic-view';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ModalComponent {
|
|
5
|
+
protected readonly modalRef: import("@odx/angular/components/modal").ModalRef<unknown, unknown>;
|
|
6
|
+
protected readonly injector: Injector;
|
|
7
|
+
protected readonly context: {
|
|
8
|
+
$implicit: import("@odx/angular/components/modal").ModalRef<unknown, unknown>;
|
|
9
|
+
};
|
|
10
|
+
readonly element: import("@angular/core").ElementRef<HTMLElement>;
|
|
11
|
+
readonly size: import("@odx/angular/components/modal").ModalSize;
|
|
12
|
+
content: Exclude<DynamicContent, DynamicTextContent>;
|
|
13
|
+
onClose(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "odx-modal", never, { "content": "content"; }, {}, never, never, true>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ModalInstanceOptions } from './models';
|
|
2
|
+
export declare type ModalModuleConfig = Omit<ModalInstanceOptions, 'id' | 'host' | 'data'>;
|
|
3
|
+
export declare const ModalDefaultModuleConfig: ModalModuleConfig, ModalModuleConfig: import("@angular/core").InjectionToken<Partial<ModalModuleConfig>>, injectModalModuleConfig: () => ModalModuleConfig;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
+
import { ModalOptions } from './models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ModalDirective implements OnDestroy {
|
|
5
|
+
private readonly modalService;
|
|
6
|
+
private modalRef;
|
|
7
|
+
modalOptions?: Partial<ModalOptions> | '' | null;
|
|
8
|
+
protected readonly template: TemplateRef<any>;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
open(): void;
|
|
11
|
+
dismiss(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalDirective, "ng-template[odxModal]", ["odxModal"], { "modalOptions": "odxModal"; }, {}, never, never, true>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { ModuleConfigDependencies, ModuleConfigProvider } from '@odx/angular/utils';
|
|
3
|
+
import { ModalModuleConfig } from './modal.config';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@odx/angular/components/button";
|
|
6
|
+
import * as i2 from "@odx/angular/components/button-group";
|
|
7
|
+
import * as i3 from "./modal.component";
|
|
8
|
+
import * as i4 from "./components/modal-header/modal-header.component";
|
|
9
|
+
import * as i5 from "./components/modal-footer/modal-footer.component";
|
|
10
|
+
import * as i6 from "./modal.directive";
|
|
11
|
+
import * as i7 from "./directives/modal-close.directive";
|
|
12
|
+
import * as i8 from "./directives/modal-content.directive";
|
|
13
|
+
import * as i9 from "./directives/modal-dismiss.directive";
|
|
14
|
+
import * as i10 from "@odx/angular";
|
|
15
|
+
import * as i11 from "@odx/angular/components/area-header";
|
|
16
|
+
export declare class ModalModule {
|
|
17
|
+
static forRoot<D extends ModuleConfigDependencies>(config: ModuleConfigProvider<Partial<ModalModuleConfig>, D>): ModuleWithProviders<ModalModule>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModalModule, never, [typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.ModalComponent, typeof i4.ModalHeaderComponent, typeof i5.ModalFooterComponent, typeof i6.ModalDirective, typeof i7.ModalCloseDirective, typeof i8.ModalContentDirective, typeof i9.ModalDismissDirective], [typeof i10.CoreModule, typeof i11.AreaHeaderModule, typeof i1.ButtonComponent, typeof i2.ButtonGroupComponent, typeof i3.ModalComponent, typeof i4.ModalHeaderComponent, typeof i5.ModalFooterComponent, typeof i6.ModalDirective, typeof i7.ModalCloseDirective, typeof i8.ModalContentDirective, typeof i9.ModalDismissDirective]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ModalModule>;
|
|
21
|
+
}
|