@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,22 +1,23 @@
|
|
|
1
|
-
import { __decorate
|
|
1
|
+
import { __decorate } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Injectable,
|
|
4
|
-
import {
|
|
3
|
+
import { Injectable, inject, Directive, HostListener, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
|
|
4
|
+
import { CSSComponent } from '@odx/angular/internal';
|
|
5
|
+
import { isBoolean, injectElement } from '@odx/angular/utils';
|
|
5
6
|
import { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';
|
|
6
7
|
import * as i3 from '@odx/angular';
|
|
7
|
-
import {
|
|
8
|
+
import { DisabledController, CoreModule } from '@odx/angular';
|
|
8
9
|
import { trigger, transition, useAnimation } from '@angular/animations';
|
|
9
|
-
import * as
|
|
10
|
+
import * as i1 from '@angular/cdk/a11y';
|
|
10
11
|
import { A11yModule } from '@angular/cdk/a11y';
|
|
11
12
|
import { slideInLeft, slideOutLeft, fadeIn, fadeOut } from '@odx/angular/animations';
|
|
12
|
-
import * as
|
|
13
|
+
import * as i4 from '@odx/angular/components/area-header';
|
|
13
14
|
import { AreaHeaderModule } from '@odx/angular/components/area-header';
|
|
14
|
-
import * as
|
|
15
|
+
import * as i5 from '@odx/angular/components/button';
|
|
15
16
|
import { ButtonComponent } from '@odx/angular/components/button';
|
|
16
|
-
import * as
|
|
17
|
+
import * as i6 from '@odx/angular/components/icon';
|
|
17
18
|
import { IconComponent } from '@odx/angular/components/icon';
|
|
18
19
|
import { LogoDirective } from '@odx/angular/components/logo';
|
|
19
|
-
import * as
|
|
20
|
+
import * as i2 from '@angular/common';
|
|
20
21
|
import { LinkDirective } from '@odx/angular/components/link';
|
|
21
22
|
|
|
22
23
|
class MainMenuService {
|
|
@@ -45,61 +46,59 @@ class MainMenuService {
|
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
MainMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
49
|
-
MainMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
49
|
+
MainMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
50
|
+
MainMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuService, providedIn: 'root' });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuService, decorators: [{
|
|
51
52
|
type: Injectable,
|
|
52
53
|
args: [{ providedIn: 'root' }]
|
|
53
54
|
}] });
|
|
54
55
|
|
|
55
56
|
let MainMenuButtonDirective = class MainMenuButtonDirective {
|
|
56
|
-
constructor(
|
|
57
|
-
this.
|
|
58
|
-
this.
|
|
57
|
+
constructor() {
|
|
58
|
+
this.mainMenuService = inject(MainMenuService);
|
|
59
|
+
this.element = injectElement();
|
|
59
60
|
}
|
|
60
61
|
onClick() {
|
|
61
62
|
this.mainMenuService.toggle();
|
|
62
63
|
}
|
|
63
64
|
};
|
|
64
|
-
MainMenuButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
65
|
-
MainMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.
|
|
65
|
+
MainMenuButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
+
MainMenuButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: MainMenuButtonDirective, isStandalone: true, selector: "button[odxMainMenuButton]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
|
|
66
67
|
MainMenuButtonDirective = __decorate([
|
|
67
|
-
CSSComponent('main-menu-button')
|
|
68
|
-
__metadata("design:paramtypes", [ElementRef, MainMenuService])
|
|
68
|
+
CSSComponent('main-menu-button')
|
|
69
69
|
], MainMenuButtonDirective);
|
|
70
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuButtonDirective, decorators: [{
|
|
71
71
|
type: Directive,
|
|
72
72
|
args: [{
|
|
73
73
|
selector: 'button[odxMainMenuButton]',
|
|
74
74
|
standalone: true,
|
|
75
75
|
}]
|
|
76
|
-
}],
|
|
76
|
+
}], propDecorators: { onClick: [{
|
|
77
77
|
type: HostListener,
|
|
78
78
|
args: ['click']
|
|
79
79
|
}] } });
|
|
80
80
|
|
|
81
81
|
let MainMenuItemDirective = class MainMenuItemDirective {
|
|
82
|
-
constructor(
|
|
83
|
-
this.
|
|
84
|
-
this.
|
|
82
|
+
constructor() {
|
|
83
|
+
this.disabledController = DisabledController.inject();
|
|
84
|
+
this.element = injectElement();
|
|
85
85
|
}
|
|
86
86
|
get isDisabled() {
|
|
87
87
|
var _a;
|
|
88
88
|
return !!((_a = this.disabledController) === null || _a === void 0 ? void 0 : _a.disabled);
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
MainMenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
92
|
-
MainMenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.
|
|
91
|
+
MainMenuItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
92
|
+
MainMenuItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.7", type: MainMenuItemDirective, isStandalone: true, selector: "a[odxMainMenuItem]", host: { properties: { "class.is-disabled": "isDisabled", "attr.disabled": "isDisabled || null", "attr.role": "\"button\"", "tabindex": "isDisabled ? -1 : 0" } }, providers: [DisabledController.connect()], ngImport: i0 });
|
|
93
93
|
MainMenuItemDirective = __decorate([
|
|
94
|
-
CSSComponent('main-menu-item')
|
|
95
|
-
__metadata("design:paramtypes", [ElementRef])
|
|
94
|
+
CSSComponent('main-menu-item')
|
|
96
95
|
], MainMenuItemDirective);
|
|
97
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
96
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuItemDirective, decorators: [{
|
|
98
97
|
type: Directive,
|
|
99
98
|
args: [{
|
|
100
99
|
selector: 'a[odxMainMenuItem]',
|
|
101
100
|
standalone: true,
|
|
102
|
-
providers: [
|
|
101
|
+
providers: [DisabledController.connect()],
|
|
103
102
|
host: {
|
|
104
103
|
'[class.is-disabled]': 'isDisabled',
|
|
105
104
|
'[attr.disabled]': 'isDisabled || null',
|
|
@@ -107,36 +106,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
107
106
|
'[tabindex]': 'isDisabled ? -1 : 0',
|
|
108
107
|
},
|
|
109
108
|
}]
|
|
110
|
-
}]
|
|
109
|
+
}] });
|
|
111
110
|
|
|
112
111
|
let MainMenuComponent = class MainMenuComponent {
|
|
113
|
-
constructor(
|
|
114
|
-
this.
|
|
115
|
-
this.
|
|
112
|
+
constructor() {
|
|
113
|
+
this.mainMenuService = inject(MainMenuService);
|
|
114
|
+
this.element = injectElement();
|
|
116
115
|
this.subtitle = null;
|
|
117
116
|
this.copyright = null;
|
|
118
|
-
this.menuOpen = this.
|
|
117
|
+
this.menuOpen = this.mainMenuService.isOpen$;
|
|
119
118
|
}
|
|
120
119
|
set isOpen(value) {
|
|
121
|
-
this.
|
|
120
|
+
this.mainMenuService.toggle(value);
|
|
122
121
|
}
|
|
123
122
|
get isOpen() {
|
|
124
|
-
return this.
|
|
123
|
+
return this.mainMenuService.isOpen();
|
|
125
124
|
}
|
|
126
125
|
close() {
|
|
127
|
-
this.
|
|
126
|
+
this.mainMenuService.close();
|
|
128
127
|
}
|
|
129
128
|
};
|
|
130
|
-
MainMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
131
|
-
MainMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
129
|
+
MainMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
130
|
+
MainMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.7", type: MainMenuComponent, isStandalone: true, selector: "odx-main-menu", inputs: { title: "title", subtitle: "subtitle", copyright: "copyright", isOpen: "isOpen" }, outputs: { menuOpen: "menuOpen" }, host: { listeners: { "window:keydown.escape": "close()" }, properties: { "class.is-open": "isOpen" } }, ngImport: i0, template: "<aside @menuAnimation class=\"odx-main-menu__inner\" cdkTrapFocus cdkTrapFocusAutoCapture *ngIf=\"menuOpen | async\">\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\">\n <odx-icon name=\"close\"></odx-icon>\n </button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\">\n {{ title }}\n <odx-area-header-subtitle *ngIf=\"subtitle\">\n {{ subtitle }}\n </odx-area-header-subtitle>\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content select=\"a[odxMainMenuItem]\"></ng-content>\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\"></ng-content>\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\"></odx-logo>\n <p class=\"odx-text odx-text--small\" *ngIf=\"copyright\">\n {{ copyright }}\n </p>\n </div>\n</aside>\n<div @overlayAnimation class=\"odx-main-menu__overlay\" (click)=\"close()\" *ngIf=\"menuOpen | async\"></div>\n", dependencies: [{ kind: "ngmodule", type: A11yModule }, { kind: "directive", type: i1.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "directive", type: i3.DisabledController, selector: "[disabled]", inputs: ["disabled"] }, { kind: "ngmodule", type: AreaHeaderModule }, { kind: "component", type: i4.AreaHeaderComponent, selector: "odx-area-header", inputs: ["size"] }, { kind: "directive", type: i4.AreaHeaderSubtitleDirective, selector: "odx-area-header-subtitle" }, { kind: "component", type: i5.ButtonComponent, selector: "button[odxButton], a[odxButton]", inputs: ["variant", "size"] }, { kind: "component", type: i6.IconComponent, selector: "odx-icon", inputs: ["inline", "size", "name"] }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], animations: [
|
|
132
131
|
trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),
|
|
133
132
|
trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),
|
|
134
133
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
135
134
|
MainMenuComponent = __decorate([
|
|
136
|
-
CSSComponent('main-menu')
|
|
137
|
-
__metadata("design:paramtypes", [ElementRef, MainMenuService])
|
|
135
|
+
CSSComponent('main-menu')
|
|
138
136
|
], MainMenuComponent);
|
|
139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuComponent, decorators: [{
|
|
140
138
|
type: Component,
|
|
141
139
|
args: [{ selector: 'odx-main-menu', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [A11yModule, CoreModule, AreaHeaderModule, ButtonComponent, IconComponent, LogoDirective], standalone: true, host: {
|
|
142
140
|
'[class.is-open]': 'isOpen',
|
|
@@ -144,7 +142,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
144
142
|
trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),
|
|
145
143
|
trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),
|
|
146
144
|
], template: "<aside @menuAnimation class=\"odx-main-menu__inner\" cdkTrapFocus cdkTrapFocusAutoCapture *ngIf=\"menuOpen | async\">\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\">\n <odx-icon name=\"close\"></odx-icon>\n </button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\">\n {{ title }}\n <odx-area-header-subtitle *ngIf=\"subtitle\">\n {{ subtitle }}\n </odx-area-header-subtitle>\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content select=\"a[odxMainMenuItem]\"></ng-content>\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\"></ng-content>\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\"></odx-logo>\n <p class=\"odx-text odx-text--small\" *ngIf=\"copyright\">\n {{ copyright }}\n </p>\n </div>\n</aside>\n<div @overlayAnimation class=\"odx-main-menu__overlay\" (click)=\"close()\" *ngIf=\"menuOpen | async\"></div>\n" }]
|
|
147
|
-
}],
|
|
145
|
+
}], propDecorators: { title: [{
|
|
148
146
|
type: Input
|
|
149
147
|
}], subtitle: [{
|
|
150
148
|
type: Input
|
|
@@ -159,17 +157,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
159
157
|
args: ['window:keydown.escape']
|
|
160
158
|
}] } });
|
|
161
159
|
|
|
162
|
-
const modules = [
|
|
160
|
+
const modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective];
|
|
163
161
|
class MainMenuModule {
|
|
164
162
|
}
|
|
165
|
-
MainMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
166
|
-
MainMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.
|
|
167
|
-
MainMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.
|
|
168
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
163
|
+
MainMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
164
|
+
MainMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.7", ngImport: i0, type: MainMenuModule, imports: [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective], exports: [CoreModule, LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective] });
|
|
165
|
+
MainMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuModule, imports: [MainMenuComponent, CoreModule] });
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: MainMenuModule, decorators: [{
|
|
169
167
|
type: NgModule,
|
|
170
168
|
args: [{
|
|
171
169
|
imports: modules,
|
|
172
|
-
exports: modules,
|
|
170
|
+
exports: [CoreModule, ...modules],
|
|
173
171
|
}]
|
|
174
172
|
}] });
|
|
175
173
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"odx-angular-components-main-menu.mjs","sources":["../../../../libs/angular/components/main-menu/src/lib/main-menu.service.ts","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-button.directive.ts","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-item.directive.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.html","../../../../libs/angular/components/main-menu/src/lib/main-menu.module.ts","../../../../libs/angular/components/main-menu/src/odx-angular-components-main-menu.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { isBoolean } from '@odx/angular/internal';\nimport { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class MainMenuService {\n private readonly isOpen$$ = new BehaviorSubject(false);\n\n public readonly isOpen$ = this.isOpen$$.pipe(distinctUntilChanged(), shareReplay({ refCount: true }));\n\n public isOpen(): boolean {\n return this.isOpen$$.getValue();\n }\n\n public open(): void {\n this.toggle(true);\n }\n\n public close(): void {\n this.toggle(false);\n }\n\n public toggle(forceState?: boolean): void {\n if (isBoolean(forceState)) {\n this.isOpen$$.next(forceState);\n } else if (this.isOpen()) {\n this.isOpen$$.next(false);\n } else {\n this.isOpen$$.next(true);\n }\n }\n}\n","import { Directive, ElementRef, HostListener } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { MainMenuService } from '../main-menu.service';\n\n@CSSComponent('main-menu-button')\n@Directive({\n selector: 'button[odxMainMenuButton]',\n standalone: true,\n})\nexport class MainMenuButtonDirective {\n constructor(public readonly element: ElementRef<HTMLButtonElement>, private readonly mainMenuService: MainMenuService) {}\n\n @HostListener('click')\n public onClick() {\n this.mainMenuService.toggle();\n }\n}\n","import { Directive, ElementRef, inject } from '@angular/core';\nimport { DISABLED_CONTROLLER, DISABLED_CONTROLLER_PROVIDER } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\n\n@CSSComponent('main-menu-item')\n@Directive({\n selector: 'a[odxMainMenuItem]',\n standalone: true,\n providers: [DISABLED_CONTROLLER_PROVIDER],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[attr.disabled]': 'isDisabled || null',\n '[attr.role]': '\"button\"',\n '[tabindex]': 'isDisabled ? -1 : 0',\n },\n})\nexport class MainMenuItemDirective {\n protected readonly disabledController = inject(DISABLED_CONTROLLER, { optional: true });\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n\n constructor(public readonly element: ElementRef<HTMLLinkElement>) {}\n}\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { ChangeDetectionStrategy, Component, ElementRef, HostListener, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { fadeIn, fadeOut, slideInLeft, slideOutLeft } from '@odx/angular/animations';\nimport { AreaHeaderModule } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { MainMenuService } from './main-menu.service';\n\n@CSSComponent('main-menu')\n@Component({\n selector: 'odx-main-menu',\n templateUrl: './main-menu.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [A11yModule, CoreModule, AreaHeaderModule, ButtonComponent, IconComponent, LogoDirective],\n standalone: true,\n host: {\n '[class.is-open]': 'isOpen',\n },\n animations: [\n trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),\n trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),\n ],\n})\nexport class MainMenuComponent {\n @Input()\n public title!: string;\n\n @Input()\n public subtitle: string | null = null;\n\n @Input()\n public copyright: string | null = null;\n\n @Input()\n public set isOpen(value: boolean) {\n this.mainMenuSerice.toggle(value);\n }\n\n public get isOpen(): boolean {\n return this.mainMenuSerice.isOpen();\n }\n\n @Output()\n public menuOpen = this.mainMenuSerice.isOpen$;\n\n constructor(public readonly element: ElementRef<HTMLElement>, public readonly mainMenuSerice: MainMenuService) {}\n\n @HostListener('window:keydown.escape')\n public close(): void {\n this.mainMenuSerice.close();\n }\n}\n","<aside @menuAnimation class=\"odx-main-menu__inner\" cdkTrapFocus cdkTrapFocusAutoCapture *ngIf=\"menuOpen | async\">\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\">\n <odx-icon name=\"close\"></odx-icon>\n </button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\">\n {{ title }}\n <odx-area-header-subtitle *ngIf=\"subtitle\">\n {{ subtitle }}\n </odx-area-header-subtitle>\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content select=\"a[odxMainMenuItem]\"></ng-content>\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\"></ng-content>\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\"></odx-logo>\n <p class=\"odx-text odx-text--small\" *ngIf=\"copyright\">\n {{ copyright }}\n </p>\n </div>\n</aside>\n<div @overlayAnimation class=\"odx-main-menu__overlay\" (click)=\"close()\" *ngIf=\"menuOpen | async\"></div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { MainMenuButtonDirective, MainMenuItemDirective } from './directives';\nimport { MainMenuComponent } from './main-menu.component';\n\nconst modules = [CoreModule, LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class MainMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.MainMenuService"],"mappings":";;;;;;;;;;;;;;;;;;;;;MAKa,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;QAEmB,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;QAEvC,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAA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EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,EANV,OAAA,EAAA,CAAA,UAAU,EAAiB,iBAAiB,EAA5C,UAAU,CAAA,EAAA,CAAA,CAAA;2FAMd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;iBACjB,CAAA;;;ACXD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"odx-angular-components-main-menu.mjs","sources":["../../../../libs/angular/components/main-menu/src/lib/main-menu.service.ts","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-button.directive.ts","../../../../libs/angular/components/main-menu/src/lib/directives/main-menu-item.directive.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.ts","../../../../libs/angular/components/main-menu/src/lib/main-menu.component.html","../../../../libs/angular/components/main-menu/src/lib/main-menu.module.ts","../../../../libs/angular/components/main-menu/src/odx-angular-components-main-menu.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { isBoolean } from '@odx/angular/utils';\nimport { BehaviorSubject, distinctUntilChanged, shareReplay } from 'rxjs';\n\n@Injectable({ providedIn: 'root' })\nexport class MainMenuService {\n private readonly isOpen$$ = new BehaviorSubject(false);\n\n public readonly isOpen$ = this.isOpen$$.pipe(distinctUntilChanged(), shareReplay({ refCount: true }));\n\n public isOpen(): boolean {\n return this.isOpen$$.getValue();\n }\n\n public open(): void {\n this.toggle(true);\n }\n\n public close(): void {\n this.toggle(false);\n }\n\n public toggle(forceState?: boolean): void {\n if (isBoolean(forceState)) {\n this.isOpen$$.next(forceState);\n } else if (this.isOpen()) {\n this.isOpen$$.next(false);\n } else {\n this.isOpen$$.next(true);\n }\n }\n}\n","import { Directive, HostListener, inject } from '@angular/core';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { MainMenuService } from '../main-menu.service';\n\n@CSSComponent('main-menu-button')\n@Directive({\n selector: 'button[odxMainMenuButton]',\n standalone: true,\n})\nexport class MainMenuButtonDirective {\n private readonly mainMenuService = inject(MainMenuService);\n public readonly element = injectElement<HTMLButtonElement>();\n\n @HostListener('click')\n public onClick() {\n this.mainMenuService.toggle();\n }\n}\n","import { Directive } from '@angular/core';\nimport { DisabledController } from '@odx/angular';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\n\n@CSSComponent('main-menu-item')\n@Directive({\n selector: 'a[odxMainMenuItem]',\n standalone: true,\n providers: [DisabledController.connect()],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[attr.disabled]': 'isDisabled || null',\n '[attr.role]': '\"button\"',\n '[tabindex]': 'isDisabled ? -1 : 0',\n },\n})\nexport class MainMenuItemDirective {\n protected readonly disabledController = DisabledController.inject();\n public readonly element = injectElement<HTMLLinkElement>();\n\n public get isDisabled(): boolean {\n return !!this.disabledController?.disabled;\n }\n}\n","import { transition, trigger, useAnimation } from '@angular/animations';\nimport { A11yModule } from '@angular/cdk/a11y';\nimport { ChangeDetectionStrategy, Component, HostListener, inject, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { fadeIn, fadeOut, slideInLeft, slideOutLeft } from '@odx/angular/animations';\nimport { AreaHeaderModule } from '@odx/angular/components/area-header';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { MainMenuService } from './main-menu.service';\n\n@CSSComponent('main-menu')\n@Component({\n selector: 'odx-main-menu',\n templateUrl: './main-menu.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [A11yModule, CoreModule, AreaHeaderModule, ButtonComponent, IconComponent, LogoDirective],\n standalone: true,\n host: {\n '[class.is-open]': 'isOpen',\n },\n animations: [\n trigger('menuAnimation', [transition(':enter', [useAnimation(slideInLeft)]), transition(':leave', [useAnimation(slideOutLeft)])]),\n trigger('overlayAnimation', [transition(':enter', [useAnimation(fadeIn())]), transition(':leave', [useAnimation(fadeOut())])]),\n ],\n})\nexport class MainMenuComponent {\n protected readonly mainMenuService = inject(MainMenuService);\n public readonly element = injectElement();\n\n @Input()\n public title!: string;\n\n @Input()\n public subtitle: string | null = null;\n\n @Input()\n public copyright: string | null = null;\n\n @Input()\n public set isOpen(value: boolean) {\n this.mainMenuService.toggle(value);\n }\n\n public get isOpen(): boolean {\n return this.mainMenuService.isOpen();\n }\n\n @Output()\n public menuOpen = this.mainMenuService.isOpen$;\n\n @HostListener('window:keydown.escape')\n public close(): void {\n this.mainMenuService.close();\n }\n}\n","<aside @menuAnimation class=\"odx-main-menu__inner\" cdkTrapFocus cdkTrapFocusAutoCapture *ngIf=\"menuOpen | async\">\n <div class=\"odx-main-menu__actions\">\n <button class=\"odx-main-menu__close\" odxButton disabled=\"false\" (click)=\"close()\">\n <odx-icon name=\"close\"></odx-icon>\n </button>\n </div>\n <odx-area-header class=\"odx-main-menu__header\">\n {{ title }}\n <odx-area-header-subtitle *ngIf=\"subtitle\">\n {{ subtitle }}\n </odx-area-header-subtitle>\n </odx-area-header>\n <nav class=\"odx-main-menu__content\">\n <ng-content select=\"a[odxMainMenuItem]\"></ng-content>\n </nav>\n <div class=\"odx-main-menu__info\">\n <ng-content select=\"[odxLink]\"></ng-content>\n </div>\n <div class=\"odx-main-menu__footer\">\n <odx-logo variant=\"inverse\"></odx-logo>\n <p class=\"odx-text odx-text--small\" *ngIf=\"copyright\">\n {{ copyright }}\n </p>\n </div>\n</aside>\n<div @overlayAnimation class=\"odx-main-menu__overlay\" (click)=\"close()\" *ngIf=\"menuOpen | async\"></div>\n","import { NgModule } from '@angular/core';\nimport { CoreModule } from '@odx/angular';\nimport { LinkDirective } from '@odx/angular/components/link';\nimport { MainMenuButtonDirective, MainMenuItemDirective } from './directives';\nimport { MainMenuComponent } from './main-menu.component';\n\nconst modules = [LinkDirective, MainMenuComponent, MainMenuItemDirective, MainMenuButtonDirective];\n\n@NgModule({\n imports: modules,\n exports: [CoreModule, ...modules],\n})\nexport class MainMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;MAKa,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;QAEmB,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;QAEvC,IAAA,CAAA,OAAO,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KAuBvG;IArBQ,MAAM,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;KACjC;IAEM,IAAI,GAAA;AACT,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;KACnB;IAEM,KAAK,GAAA;AACV,QAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;KACpB;AAEM,IAAA,MAAM,CAAC,UAAoB,EAAA;AAChC,QAAA,IAAI,SAAS,CAAC,UAAU,CAAC,EAAE;AACzB,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAChC,SAAA;AAAM,aAAA,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE;AACxB,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC3B,SAAA;AAAM,aAAA;AACL,YAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,SAAA;KACF;;4GAzBU,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAA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