@odx/angular 1.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -0
- package/animations/README.md +3 -0
- package/animations/config.d.ts +7 -0
- package/animations/fade.d.ts +2 -0
- package/animations/index.d.ts +2 -0
- package/animations/slide.d.ts +13 -0
- package/cdk/dynamic-view/README.md +3 -0
- package/cdk/dynamic-view/index.d.ts +7 -0
- package/cdk/dynamic-view/lib/dynamic-view.component.d.ts +12 -0
- package/cdk/dynamic-view/lib/dynamic-view.directive.d.ts +20 -0
- package/cdk/dynamic-view/lib/dynamic-view.service.d.ts +9 -0
- package/cdk/dynamic-view/lib/facade/animated-component.d.ts +4 -0
- package/cdk/dynamic-view/lib/facade/dynamic-content.d.ts +8 -0
- package/cdk/dynamic-view/lib/facade/dynamic-view-ref.d.ts +9 -0
- package/cdk/dynamic-view/lib/facade/index.d.ts +3 -0
- package/cdk/dynamic-view/lib/helpers/index.d.ts +4 -0
- package/cdk/dynamic-view/lib/helpers/is-animated-component.d.ts +3 -0
- package/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.d.ts +2 -0
- package/cdk/dynamic-view/lib/helpers/is-dynamic-view.d.ts +2 -0
- package/cdk/dynamic-view/lib/helpers/wait-for-animations.d.ts +3 -0
- package/cdk/dynamic-view/lib/models/dynamic-component-ref.d.ts +16 -0
- package/cdk/dynamic-view/lib/models/dynamic-template-ref.d.ts +18 -0
- package/cdk/dynamic-view/lib/models/dynamic-view-options.d.ts +7 -0
- package/cdk/dynamic-view/lib/models/index.d.ts +3 -0
- package/cdk/dynamic-view/lib/tokens/dynamic-view-context.d.ts +5 -0
- package/cdk/dynamic-view/lib/tokens/index.d.ts +1 -0
- package/components/action-group/README.md +3 -0
- package/components/action-group/action-group.component.d.ts +11 -0
- package/components/action-group/index.d.ts +1 -0
- package/components/area-header/README.md +3 -0
- package/components/area-header/area-header.component.d.ts +10 -0
- package/components/area-header/area-header.module.d.ts +13 -0
- package/components/area-header/directives/area-header-content.directive.d.ts +5 -0
- package/components/area-header/directives/area-header-subtitle.directive.d.ts +5 -0
- package/components/area-header/directives/index.d.ts +2 -0
- package/components/area-header/index.d.ts +4 -0
- package/components/area-header/models/area-header-size.d.ts +7 -0
- package/components/area-header/models/index.d.ts +1 -0
- package/components/avatar/README.md +3 -0
- package/components/avatar/index.d.ts +2 -0
- package/components/avatar/lib/avatar.component.d.ts +10 -0
- package/components/avatar/lib/models/avatar-size.d.ts +6 -0
- package/components/avatar/lib/models/index.d.ts +1 -0
- package/components/badge/README.md +3 -0
- package/components/badge/index.d.ts +3 -0
- package/components/badge/lib/badge.component.d.ts +25 -0
- package/components/badge/lib/badge.config.d.ts +3 -0
- package/components/badge/lib/badge.directive.d.ts +22 -0
- package/components/badge/lib/facade/badge-host.d.ts +3 -0
- package/components/badge/lib/facade/index.d.ts +1 -0
- package/components/badge/lib/models/badge-position.d.ts +5 -0
- package/components/badge/lib/models/badge-variant.d.ts +6 -0
- package/components/badge/lib/models/index.d.ts +2 -0
- package/components/button/README.md +3 -0
- package/components/button/index.d.ts +2 -0
- package/components/button/lib/button.component.d.ts +20 -0
- package/components/button/lib/models/button-variant.d.ts +10 -0
- package/components/button/lib/models/index.d.ts +1 -0
- package/components/checkbox/README.md +3 -0
- package/components/checkbox/index.d.ts +1 -0
- package/components/checkbox/lib/checkbox.component.d.ts +23 -0
- package/components/content-box/README.md +3 -0
- package/components/content-box/index.d.ts +3 -0
- package/components/content-box/lib/content-box.component.d.ts +5 -0
- package/components/content-box/lib/content-box.module.d.ts +9 -0
- package/components/content-box/lib/directives/content-box-footer-directive.d.ts +5 -0
- package/components/content-box/lib/directives/content-box-header-directive.d.ts +5 -0
- package/components/content-box/lib/directives/index.d.ts +2 -0
- package/components/header/README.md +3 -0
- package/components/header/index.d.ts +3 -0
- package/components/header/lib/directives/header-avatar.directive.d.ts +5 -0
- package/components/header/lib/directives/header-title.directive.d.ts +5 -0
- package/components/header/lib/directives/index.d.ts +2 -0
- package/components/header/lib/header.component.d.ts +8 -0
- package/components/header/lib/header.module.d.ts +15 -0
- package/components/icon/README.md +3 -0
- package/components/icon/index.d.ts +2 -0
- package/components/icon/lib/icon.component.d.ts +11 -0
- package/components/icon/lib/models/icon-size.d.ts +7 -0
- package/components/icon/lib/models/index.d.ts +1 -0
- package/components/link/README.md +3 -0
- package/components/link/index.d.ts +1 -0
- package/components/link/link.directive.d.ts +11 -0
- package/components/logo/README.md +3 -0
- package/components/logo/index.d.ts +2 -0
- package/components/logo/logo.directive.d.ts +11 -0
- package/components/logo/models/index.d.ts +2 -0
- package/components/logo/models/logo-size.d.ts +6 -0
- package/components/logo/models/logo-variant.d.ts +5 -0
- package/components/main-menu/README.md +3 -0
- package/components/main-menu/index.d.ts +3 -0
- package/components/main-menu/lib/directives/index.d.ts +2 -0
- package/components/main-menu/lib/directives/main-menu-button.directive.d.ts +11 -0
- package/components/main-menu/lib/directives/main-menu-item.directive.d.ts +10 -0
- package/components/main-menu/lib/main-menu.component.d.ts +17 -0
- package/components/main-menu/lib/main-menu.module.d.ts +11 -0
- package/components/main-menu/lib/main-menu.service.d.ts +11 -0
- package/components/radio-group/README.md +3 -0
- package/components/radio-group/index.d.ts +3 -0
- package/components/radio-group/lib/components/index.d.ts +1 -0
- package/components/radio-group/lib/components/radio-button/radio-button.component.d.ts +19 -0
- package/components/radio-group/lib/radio-group.component.d.ts +10 -0
- package/components/radio-group/lib/radio-group.module.d.ts +9 -0
- package/esm2020/animations/config.mjs +8 -0
- package/esm2020/animations/fade.mjs +12 -0
- package/esm2020/animations/index.mjs +3 -0
- package/esm2020/animations/odx-angular-animations.mjs +5 -0
- package/esm2020/animations/slide.mjs +34 -0
- package/esm2020/cdk/dynamic-view/index.mjs +8 -0
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.component.mjs +34 -0
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.directive.mjs +79 -0
- package/esm2020/cdk/dynamic-view/lib/dynamic-view.service.mjs +43 -0
- package/esm2020/cdk/dynamic-view/lib/facade/animated-component.mjs +2 -0
- package/esm2020/cdk/dynamic-view/lib/facade/dynamic-content.mjs +2 -0
- package/esm2020/cdk/dynamic-view/lib/facade/dynamic-view-ref.mjs +2 -0
- package/esm2020/cdk/dynamic-view/lib/facade/index.mjs +4 -0
- package/esm2020/cdk/dynamic-view/lib/helpers/index.mjs +5 -0
- package/esm2020/cdk/dynamic-view/lib/helpers/is-animated-component.mjs +5 -0
- package/esm2020/cdk/dynamic-view/lib/helpers/is-dynamic-text-content.mjs +6 -0
- package/esm2020/cdk/dynamic-view/lib/helpers/is-dynamic-view.mjs +5 -0
- package/esm2020/cdk/dynamic-view/lib/helpers/wait-for-animations.mjs +9 -0
- package/esm2020/cdk/dynamic-view/lib/models/dynamic-component-ref.mjs +38 -0
- package/esm2020/cdk/dynamic-view/lib/models/dynamic-template-ref.mjs +41 -0
- package/esm2020/cdk/dynamic-view/lib/models/dynamic-view-options.mjs +2 -0
- package/esm2020/cdk/dynamic-view/lib/models/index.mjs +4 -0
- package/esm2020/cdk/dynamic-view/lib/tokens/dynamic-view-context.mjs +3 -0
- package/esm2020/cdk/dynamic-view/lib/tokens/index.mjs +2 -0
- package/esm2020/cdk/dynamic-view/odx-angular-cdk-dynamic-view.mjs +5 -0
- package/esm2020/components/action-group/action-group.component.mjs +33 -0
- package/esm2020/components/action-group/index.mjs +2 -0
- package/esm2020/components/action-group/odx-angular-components-action-group.mjs +5 -0
- package/esm2020/components/area-header/area-header.component.mjs +29 -0
- package/esm2020/components/area-header/area-header.module.mjs +46 -0
- package/esm2020/components/area-header/directives/area-header-content.directive.mjs +18 -0
- package/esm2020/components/area-header/directives/area-header-subtitle.directive.mjs +18 -0
- package/esm2020/components/area-header/directives/index.mjs +3 -0
- package/esm2020/components/area-header/index.mjs +5 -0
- package/esm2020/components/area-header/models/area-header-size.mjs +7 -0
- package/esm2020/components/area-header/models/index.mjs +2 -0
- package/esm2020/components/area-header/odx-angular-components-area-header.mjs +5 -0
- package/esm2020/components/avatar/index.mjs +3 -0
- package/esm2020/components/avatar/lib/avatar.component.mjs +30 -0
- package/esm2020/components/avatar/lib/models/avatar-size.mjs +6 -0
- package/esm2020/components/avatar/lib/models/index.mjs +2 -0
- package/esm2020/components/avatar/odx-angular-components-avatar.mjs +5 -0
- package/esm2020/components/badge/index.mjs +4 -0
- package/esm2020/components/badge/lib/badge.component.mjs +97 -0
- package/esm2020/components/badge/lib/badge.config.mjs +3 -0
- package/esm2020/components/badge/lib/badge.directive.mjs +56 -0
- package/esm2020/components/badge/lib/facade/badge-host.mjs +2 -0
- package/esm2020/components/badge/lib/facade/index.mjs +2 -0
- package/esm2020/components/badge/lib/models/badge-position.mjs +5 -0
- package/esm2020/components/badge/lib/models/badge-variant.mjs +6 -0
- package/esm2020/components/badge/lib/models/index.mjs +3 -0
- package/esm2020/components/badge/odx-angular-components-badge.mjs +5 -0
- package/esm2020/components/button/index.mjs +3 -0
- package/esm2020/components/button/lib/button.component.mjs +54 -0
- package/esm2020/components/button/lib/models/button-variant.mjs +10 -0
- package/esm2020/components/button/lib/models/index.mjs +2 -0
- package/esm2020/components/button/odx-angular-components-button.mjs +5 -0
- package/esm2020/components/checkbox/index.mjs +2 -0
- package/esm2020/components/checkbox/lib/checkbox.component.mjs +75 -0
- package/esm2020/components/checkbox/odx-angular-components-checkbox.mjs +5 -0
- package/esm2020/components/content-box/index.mjs +4 -0
- package/esm2020/components/content-box/lib/content-box.component.mjs +13 -0
- package/esm2020/components/content-box/lib/content-box.module.mjs +19 -0
- package/esm2020/components/content-box/lib/directives/content-box-footer-directive.mjs +18 -0
- package/esm2020/components/content-box/lib/directives/content-box-header-directive.mjs +18 -0
- package/esm2020/components/content-box/lib/directives/index.mjs +3 -0
- package/esm2020/components/content-box/odx-angular-components-content-box.mjs +5 -0
- package/esm2020/components/header/index.mjs +4 -0
- package/esm2020/components/header/lib/directives/header-avatar.directive.mjs +17 -0
- package/esm2020/components/header/lib/directives/header-title.directive.mjs +18 -0
- package/esm2020/components/header/lib/directives/index.mjs +3 -0
- package/esm2020/components/header/lib/header.component.mjs +23 -0
- package/esm2020/components/header/lib/header.module.mjs +56 -0
- package/esm2020/components/header/odx-angular-components-header.mjs +5 -0
- package/esm2020/components/icon/index.mjs +3 -0
- package/esm2020/components/icon/lib/icon.component.mjs +42 -0
- package/esm2020/components/icon/lib/models/icon-size.mjs +7 -0
- package/esm2020/components/icon/lib/models/index.mjs +2 -0
- package/esm2020/components/icon/odx-angular-components-icon.mjs +5 -0
- package/esm2020/components/link/index.mjs +2 -0
- package/esm2020/components/link/link.directive.mjs +38 -0
- package/esm2020/components/link/odx-angular-components-link.mjs +5 -0
- package/esm2020/components/logo/index.mjs +3 -0
- package/esm2020/components/logo/logo.directive.mjs +45 -0
- package/esm2020/components/logo/models/index.mjs +3 -0
- package/esm2020/components/logo/models/logo-size.mjs +6 -0
- package/esm2020/components/logo/models/logo-variant.mjs +5 -0
- package/esm2020/components/logo/odx-angular-components-logo.mjs +5 -0
- package/esm2020/components/main-menu/index.mjs +4 -0
- package/esm2020/components/main-menu/lib/directives/index.mjs +3 -0
- package/esm2020/components/main-menu/lib/directives/main-menu-button.directive.mjs +33 -0
- package/esm2020/components/main-menu/lib/directives/main-menu-item.directive.mjs +36 -0
- package/esm2020/components/main-menu/lib/main-menu.component.mjs +71 -0
- package/esm2020/components/main-menu/lib/main-menu.module.mjs +20 -0
- package/esm2020/components/main-menu/lib/main-menu.service.mjs +37 -0
- package/esm2020/components/main-menu/odx-angular-components-main-menu.mjs +5 -0
- package/esm2020/components/radio-group/index.mjs +4 -0
- package/esm2020/components/radio-group/lib/components/index.mjs +2 -0
- package/esm2020/components/radio-group/lib/components/radio-button/radio-button.component.mjs +60 -0
- package/esm2020/components/radio-group/lib/radio-group.component.mjs +31 -0
- package/esm2020/components/radio-group/lib/radio-group.module.mjs +19 -0
- package/esm2020/components/radio-group/odx-angular-components-radio-group.mjs +5 -0
- package/esm2020/index.mjs +6 -0
- package/esm2020/internal/abstract/controller.mjs +29 -0
- package/esm2020/internal/abstract/index.mjs +2 -0
- package/esm2020/internal/decorators/css-component.mjs +24 -0
- package/esm2020/internal/decorators/css-modifier.mjs +50 -0
- package/esm2020/internal/decorators/index.mjs +3 -0
- package/esm2020/internal/helpers/dom.mjs +7 -0
- package/esm2020/internal/helpers/get-css-variables.mjs +29 -0
- package/esm2020/internal/helpers/get-enum-values.mjs +6 -0
- package/esm2020/internal/helpers/index.mjs +7 -0
- package/esm2020/internal/helpers/type-guards.mjs +27 -0
- package/esm2020/internal/helpers/watch.mjs +8 -0
- package/esm2020/internal/helpers/with-mutiple-descriptors.mjs +37 -0
- package/esm2020/internal/index.mjs +6 -0
- package/esm2020/internal/odx-angular-internal.mjs +5 -0
- package/esm2020/internal/providers/index.mjs +2 -0
- package/esm2020/internal/providers/watched-controller-provider.mjs +9 -0
- package/esm2020/internal/types/get-properties.mjs +2 -0
- package/esm2020/internal/types/index.mjs +2 -0
- package/esm2020/lib/controllers/disabled.controller.mjs +75 -0
- package/esm2020/lib/controllers/index.mjs +2 -0
- package/esm2020/lib/controls/custom-form-control.mjs +133 -0
- package/esm2020/lib/controls/index.mjs +2 -0
- package/esm2020/lib/core.module.mjs +19 -0
- package/esm2020/lib/directives/control.directive.mjs +18 -0
- package/esm2020/lib/directives/index.mjs +3 -0
- package/esm2020/lib/directives/monitor-focus.directive.mjs +34 -0
- package/esm2020/lib/services/destroy.service.mjs +18 -0
- package/esm2020/lib/services/index.mjs +3 -0
- package/esm2020/lib/services/window-ref.mjs +32 -0
- package/esm2020/odx-angular.mjs +5 -0
- package/esm2020/rxjs/index.mjs +2 -0
- package/esm2020/rxjs/lib/from-events.mjs +5 -0
- package/esm2020/rxjs/odx-angular-rxjs.mjs +5 -0
- package/esm2020/utils/index.mjs +3 -0
- package/esm2020/utils/lib/decorators/index.mjs +2 -0
- package/esm2020/utils/lib/decorators/transform.mjs +14 -0
- package/esm2020/utils/lib/helpers/array.mjs +4 -0
- package/esm2020/utils/lib/helpers/index.mjs +3 -0
- package/esm2020/utils/lib/helpers/ng-changes.mjs +14 -0
- package/esm2020/utils/odx-angular-utils.mjs +5 -0
- package/fesm2015/odx-angular-animations.mjs +49 -0
- package/fesm2015/odx-angular-animations.mjs.map +1 -0
- package/fesm2015/odx-angular-cdk-dynamic-view.mjs +266 -0
- package/fesm2015/odx-angular-cdk-dynamic-view.mjs.map +1 -0
- package/fesm2015/odx-angular-components-action-group.mjs +39 -0
- package/fesm2015/odx-angular-components-action-group.mjs.map +1 -0
- package/fesm2015/odx-angular-components-area-header.mjs +115 -0
- package/fesm2015/odx-angular-components-area-header.mjs.map +1 -0
- package/fesm2015/odx-angular-components-avatar.mjs +41 -0
- package/fesm2015/odx-angular-components-avatar.mjs.map +1 -0
- package/fesm2015/odx-angular-components-badge.mjs +170 -0
- package/fesm2015/odx-angular-components-badge.mjs.map +1 -0
- package/fesm2015/odx-angular-components-button.mjs +74 -0
- package/fesm2015/odx-angular-components-button.mjs.map +1 -0
- package/fesm2015/odx-angular-components-checkbox.mjs +80 -0
- package/fesm2015/odx-angular-components-checkbox.mjs.map +1 -0
- package/fesm2015/odx-angular-components-content-box.mjs +66 -0
- package/fesm2015/odx-angular-components-content-box.mjs.map +1 -0
- package/fesm2015/odx-angular-components-header.mjs +111 -0
- package/fesm2015/odx-angular-components-header.mjs.map +1 -0
- package/fesm2015/odx-angular-components-icon.mjs +54 -0
- package/fesm2015/odx-angular-components-icon.mjs.map +1 -0
- package/fesm2015/odx-angular-components-link.mjs +45 -0
- package/fesm2015/odx-angular-components-link.mjs.map +1 -0
- package/fesm2015/odx-angular-components-logo.mjs +61 -0
- package/fesm2015/odx-angular-components-logo.mjs.map +1 -0
- package/fesm2015/odx-angular-components-main-menu.mjs +181 -0
- package/fesm2015/odx-angular-components-main-menu.mjs.map +1 -0
- package/fesm2015/odx-angular-components-radio-group.mjs +105 -0
- package/fesm2015/odx-angular-components-radio-group.mjs.map +1 -0
- package/fesm2015/odx-angular-internal.mjs +232 -0
- package/fesm2015/odx-angular-internal.mjs.map +1 -0
- package/fesm2015/odx-angular-rxjs.mjs +12 -0
- package/fesm2015/odx-angular-rxjs.mjs.map +1 -0
- package/fesm2015/odx-angular-utils.mjs +39 -0
- package/fesm2015/odx-angular-utils.mjs.map +1 -0
- package/fesm2015/odx-angular.mjs +320 -0
- package/fesm2015/odx-angular.mjs.map +1 -0
- package/fesm2020/odx-angular-animations.mjs +58 -0
- package/fesm2020/odx-angular-animations.mjs.map +1 -0
- package/fesm2020/odx-angular-cdk-dynamic-view.mjs +249 -0
- package/fesm2020/odx-angular-cdk-dynamic-view.mjs.map +1 -0
- package/fesm2020/odx-angular-components-action-group.mjs +39 -0
- package/fesm2020/odx-angular-components-action-group.mjs.map +1 -0
- package/fesm2020/odx-angular-components-area-header.mjs +115 -0
- package/fesm2020/odx-angular-components-area-header.mjs.map +1 -0
- package/fesm2020/odx-angular-components-avatar.mjs +41 -0
- package/fesm2020/odx-angular-components-avatar.mjs.map +1 -0
- package/fesm2020/odx-angular-components-badge.mjs +163 -0
- package/fesm2020/odx-angular-components-badge.mjs.map +1 -0
- package/fesm2020/odx-angular-components-button.mjs +69 -0
- package/fesm2020/odx-angular-components-button.mjs.map +1 -0
- package/fesm2020/odx-angular-components-checkbox.mjs +80 -0
- package/fesm2020/odx-angular-components-checkbox.mjs.map +1 -0
- package/fesm2020/odx-angular-components-content-box.mjs +66 -0
- package/fesm2020/odx-angular-components-content-box.mjs.map +1 -0
- package/fesm2020/odx-angular-components-header.mjs +111 -0
- package/fesm2020/odx-angular-components-header.mjs.map +1 -0
- package/fesm2020/odx-angular-components-icon.mjs +54 -0
- package/fesm2020/odx-angular-components-icon.mjs.map +1 -0
- package/fesm2020/odx-angular-components-link.mjs +44 -0
- package/fesm2020/odx-angular-components-link.mjs.map +1 -0
- package/fesm2020/odx-angular-components-logo.mjs +61 -0
- package/fesm2020/odx-angular-components-logo.mjs.map +1 -0
- package/fesm2020/odx-angular-components-main-menu.mjs +180 -0
- package/fesm2020/odx-angular-components-main-menu.mjs.map +1 -0
- package/fesm2020/odx-angular-components-radio-group.mjs +103 -0
- package/fesm2020/odx-angular-components-radio-group.mjs.map +1 -0
- package/fesm2020/odx-angular-internal.mjs +227 -0
- package/fesm2020/odx-angular-internal.mjs.map +1 -0
- package/fesm2020/odx-angular-rxjs.mjs +12 -0
- package/fesm2020/odx-angular-rxjs.mjs.map +1 -0
- package/fesm2020/odx-angular-utils.mjs +39 -0
- package/fesm2020/odx-angular-utils.mjs.map +1 -0
- package/fesm2020/odx-angular.mjs +313 -0
- package/fesm2020/odx-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/internal/README.md +3 -0
- package/internal/abstract/controller.d.ts +14 -0
- package/internal/abstract/index.d.ts +1 -0
- package/internal/decorators/css-component.d.ts +9 -0
- package/internal/decorators/css-modifier.d.ts +10 -0
- package/internal/decorators/index.d.ts +2 -0
- package/internal/helpers/dom.d.ts +2 -0
- package/internal/helpers/get-css-variables.d.ts +8 -0
- package/internal/helpers/get-enum-values.d.ts +4 -0
- package/internal/helpers/index.d.ts +6 -0
- package/internal/helpers/type-guards.d.ts +9 -0
- package/internal/helpers/watch.d.ts +4 -0
- package/internal/helpers/with-mutiple-descriptors.d.ts +9 -0
- package/internal/index.d.ts +5 -0
- package/internal/providers/index.d.ts +1 -0
- package/internal/providers/watched-controller-provider.d.ts +5 -0
- package/internal/types/get-properties.d.ts +5 -0
- package/internal/types/index.d.ts +1 -0
- package/lib/controllers/disabled.controller.d.ts +19 -0
- package/lib/controllers/index.d.ts +1 -0
- package/lib/controls/custom-form-control.d.ts +40 -0
- package/lib/controls/index.d.ts +1 -0
- package/lib/core.module.d.ts +10 -0
- package/lib/directives/control.directive.d.ts +8 -0
- package/lib/directives/index.d.ts +2 -0
- package/lib/directives/monitor-focus.directive.d.ts +12 -0
- package/lib/services/destroy.service.d.ts +9 -0
- package/lib/services/index.d.ts +2 -0
- package/lib/services/window-ref.d.ts +11 -0
- package/package.json +184 -0
- package/rxjs/README.md +3 -0
- package/rxjs/index.d.ts +1 -0
- package/rxjs/lib/from-events.d.ts +3 -0
- package/utils/README.md +3 -0
- package/utils/index.d.ts +2 -0
- package/utils/lib/decorators/index.d.ts +1 -0
- package/utils/lib/decorators/transform.d.ts +3 -0
- package/utils/lib/helpers/array.d.ts +1 -0
- package/utils/lib/helpers/index.d.ts +2 -0
- package/utils/lib/helpers/ng-changes.d.ts +10 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, inject, ElementRef, NgZone, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Directive } from '@angular/core';
|
|
4
|
+
import { autoUpdate, computePosition, offset, hide } from '@floating-ui/dom';
|
|
5
|
+
import { applyStyles, px, CSSModifier, CSSComponent } from '@odx/angular/internal';
|
|
6
|
+
import { hasChanged, Transform } from '@odx/angular/utils';
|
|
7
|
+
import { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
8
|
+
|
|
9
|
+
const BADGE_HOST = new InjectionToken('@odx/angular/components/badge::BadgeHost');
|
|
10
|
+
|
|
11
|
+
const BadgePosition = {
|
|
12
|
+
TOP: 'top',
|
|
13
|
+
BOTTOM: 'bottom',
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const BadgeVariant = {
|
|
17
|
+
HIGHLIGHT: 'highlight',
|
|
18
|
+
DANGER: 'danger',
|
|
19
|
+
CONFIRMATION: 'confirmation',
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const POSITION_STRATEGY = 'fixed';
|
|
23
|
+
let BadgeComponent = class BadgeComponent {
|
|
24
|
+
constructor(element, zone) {
|
|
25
|
+
this.element = element;
|
|
26
|
+
this.zone = zone;
|
|
27
|
+
this.hostElement = inject(BADGE_HOST).hostElement;
|
|
28
|
+
this.referenceElement = this.element.nativeElement;
|
|
29
|
+
this.elementRect = null;
|
|
30
|
+
this.value = 0;
|
|
31
|
+
this.position = BadgePosition.BOTTOM;
|
|
32
|
+
this.contrast = false;
|
|
33
|
+
}
|
|
34
|
+
ngOnChanges(changes) {
|
|
35
|
+
if (hasChanged(changes, 'value')) {
|
|
36
|
+
this.startPositionUpdater();
|
|
37
|
+
}
|
|
38
|
+
if (hasChanged(changes, 'position')) {
|
|
39
|
+
this.updateBadgePosition();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
ngAfterViewInit() {
|
|
43
|
+
this.referenceElement.style.position = POSITION_STRATEGY;
|
|
44
|
+
this.startPositionUpdater();
|
|
45
|
+
}
|
|
46
|
+
ngOnDestroy() {
|
|
47
|
+
this.stopPositionUpdater();
|
|
48
|
+
}
|
|
49
|
+
startPositionUpdater() {
|
|
50
|
+
this.referenceElement.dataset['value'] = this.value.toString();
|
|
51
|
+
if (this.value === 0) {
|
|
52
|
+
return this.stopPositionUpdater();
|
|
53
|
+
}
|
|
54
|
+
this.elementRect = this.referenceElement.getBoundingClientRect();
|
|
55
|
+
this.positionUpdater ?? (this.positionUpdater = this.zone.runOutsideAngular(() => autoUpdate(this.hostElement, this.referenceElement, () => this.updateBadgePosition(), { animationFrame: true })));
|
|
56
|
+
}
|
|
57
|
+
stopPositionUpdater() {
|
|
58
|
+
this.positionUpdater?.();
|
|
59
|
+
this.positionUpdater = undefined;
|
|
60
|
+
}
|
|
61
|
+
async updateBadgePosition() {
|
|
62
|
+
const badgeOffset = (this.elementRect?.height ?? 0) / 2;
|
|
63
|
+
const badgeWidth = this.elementRect?.width ?? 0;
|
|
64
|
+
const { x, y, middlewareData } = await computePosition(this.hostElement, this.referenceElement, {
|
|
65
|
+
middleware: [offset({ alignmentAxis: -badgeOffset, mainAxis: badgeOffset - badgeWidth }), hide()],
|
|
66
|
+
placement: this.position === BadgePosition.TOP ? 'right-start' : 'right-end',
|
|
67
|
+
strategy: POSITION_STRATEGY,
|
|
68
|
+
});
|
|
69
|
+
if (!middlewareData.hide?.referenceHidden) {
|
|
70
|
+
applyStyles(this.referenceElement, { transform: `translate(${px(x)}, ${px(y)})`, display: null });
|
|
71
|
+
}
|
|
72
|
+
else if (this.referenceElement.style.display !== 'none') {
|
|
73
|
+
applyStyles(this.referenceElement, { display: 'none' });
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
BadgeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
+
BadgeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: BadgeComponent, isStandalone: true, selector: "odx-badge", inputs: { value: "value", position: "position", contrast: "contrast", variant: "variant" }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
79
|
+
__decorate([
|
|
80
|
+
CSSModifier(),
|
|
81
|
+
__metadata("design:type", Object)
|
|
82
|
+
], BadgeComponent.prototype, "contrast", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
CSSModifier({ default: BadgeVariant.HIGHLIGHT }),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], BadgeComponent.prototype, "variant", void 0);
|
|
87
|
+
BadgeComponent = __decorate([
|
|
88
|
+
CSSComponent('badge'),
|
|
89
|
+
__metadata("design:paramtypes", [ElementRef, NgZone])
|
|
90
|
+
], BadgeComponent);
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
92
|
+
type: Component,
|
|
93
|
+
args: [{
|
|
94
|
+
selector: 'odx-badge',
|
|
95
|
+
template: '',
|
|
96
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
97
|
+
encapsulation: ViewEncapsulation.None,
|
|
98
|
+
standalone: true,
|
|
99
|
+
}]
|
|
100
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { value: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], position: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], contrast: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], variant: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}] } });
|
|
109
|
+
|
|
110
|
+
class BadgeDirective {
|
|
111
|
+
constructor(injector, viewContainer) {
|
|
112
|
+
this.injector = injector;
|
|
113
|
+
this.viewContainer = viewContainer;
|
|
114
|
+
this.badgeRef = null;
|
|
115
|
+
this.hostElement = inject((ElementRef)).nativeElement;
|
|
116
|
+
}
|
|
117
|
+
ngOnChanges(changes) {
|
|
118
|
+
this.badgeRef ?? (this.badgeRef = this.viewContainer.createComponent(BadgeComponent, { injector: this.injector }));
|
|
119
|
+
for (const prop in changes) {
|
|
120
|
+
this.badgeRef.setInput(prop, changes[prop].currentValue);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
ngOnDestroy() {
|
|
124
|
+
this.badgeRef?.destroy();
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
BadgeDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeDirective, deps: [{ token: i0.Injector }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
128
|
+
BadgeDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: BadgeDirective, isStandalone: true, selector: "[odxBadge]", inputs: { value: ["odxBadge", "value"], contrast: ["odxBadgeContrast", "contrast"], position: ["odxBadgePosition", "position"], variant: ["odxBadgeVariant", "variant"] }, providers: [{ provide: BADGE_HOST, useExisting: BadgeDirective }], usesOnChanges: true, ngImport: i0 });
|
|
129
|
+
__decorate([
|
|
130
|
+
Transform(coerceNumberProperty),
|
|
131
|
+
__metadata("design:type", Number)
|
|
132
|
+
], BadgeDirective.prototype, "value", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
Transform(coerceBooleanProperty),
|
|
135
|
+
__metadata("design:type", Boolean)
|
|
136
|
+
], BadgeDirective.prototype, "contrast", void 0);
|
|
137
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: BadgeDirective, decorators: [{
|
|
138
|
+
type: Directive,
|
|
139
|
+
args: [{
|
|
140
|
+
selector: '[odxBadge]',
|
|
141
|
+
standalone: true,
|
|
142
|
+
providers: [{ provide: BADGE_HOST, useExisting: BadgeDirective }],
|
|
143
|
+
}]
|
|
144
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ViewContainerRef }]; }, propDecorators: { value: [{
|
|
145
|
+
type: Input,
|
|
146
|
+
args: ['odxBadge']
|
|
147
|
+
}], contrast: [{
|
|
148
|
+
type: Input,
|
|
149
|
+
args: ['odxBadgeContrast']
|
|
150
|
+
}], position: [{
|
|
151
|
+
type: Input,
|
|
152
|
+
args: ['odxBadgePosition']
|
|
153
|
+
}], variant: [{
|
|
154
|
+
type: Input,
|
|
155
|
+
args: ['odxBadgeVariant']
|
|
156
|
+
}] } });
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Generated bundle index. Do not edit.
|
|
160
|
+
*/
|
|
161
|
+
|
|
162
|
+
export { BadgeComponent, BadgeDirective, BadgePosition, BadgeVariant };
|
|
163
|
+
//# sourceMappingURL=odx-angular-components-badge.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odx-angular-components-badge.mjs","sources":["../../../../libs/angular/components/badge/src/lib/badge.config.ts","../../../../libs/angular/components/badge/src/lib/models/badge-position.ts","../../../../libs/angular/components/badge/src/lib/models/badge-variant.ts","../../../../libs/angular/components/badge/src/lib/badge.component.ts","../../../../libs/angular/components/badge/src/lib/badge.directive.ts","../../../../libs/angular/components/badge/src/odx-angular-components-badge.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { BadgeHost } from './facade';\n\nexport const BADGE_HOST = new InjectionToken<BadgeHost>('@odx/angular/components/badge::BadgeHost');\n","export type BadgePosition = typeof BadgePosition[keyof typeof BadgePosition];\n\nexport const BadgePosition = {\n TOP: 'top',\n BOTTOM: 'bottom',\n} as const;\n","export type BadgeVariant = typeof BadgeVariant[keyof typeof BadgeVariant];\n\nexport const BadgeVariant = {\n HIGHLIGHT: 'highlight',\n DANGER: 'danger',\n CONFIRMATION: 'confirmation',\n} as const;\n","import { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, inject, Input, NgZone, OnChanges, OnDestroy, ViewEncapsulation } from '@angular/core';\nimport { autoUpdate, computePosition, hide, offset, Strategy } from '@floating-ui/dom';\nimport { applyStyles, CSSComponent, CSSModifier, px } from '@odx/angular/internal';\nimport { hasChanged, NgChanges } from '@odx/angular/utils';\nimport { BADGE_HOST } from './badge.config';\nimport { BadgePosition, BadgeVariant } from './models';\n\nconst POSITION_STRATEGY: Strategy = 'fixed';\n\n@CSSComponent('badge')\n@Component({\n selector: 'odx-badge',\n template: '',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n standalone: true,\n})\nexport class BadgeComponent implements AfterViewInit, OnChanges, OnDestroy {\n private readonly hostElement = inject(BADGE_HOST).hostElement;\n private readonly referenceElement = this.element.nativeElement;\n private positionUpdater?: () => void;\n private elementRect: DOMRect | null = null;\n\n @Input()\n public value = 0;\n\n @Input()\n public position: BadgePosition = BadgePosition.BOTTOM;\n\n @CSSModifier()\n @Input()\n public contrast = false;\n\n @CSSModifier({ default: BadgeVariant.HIGHLIGHT })\n @Input()\n public variant!: BadgeVariant;\n\n constructor(public readonly element: ElementRef<HTMLElement>, private readonly zone: NgZone) {}\n\n public ngOnChanges(changes: NgChanges<BadgeComponent>): void {\n if (hasChanged(changes, 'value')) {\n this.startPositionUpdater();\n }\n if (hasChanged(changes, 'position')) {\n this.updateBadgePosition();\n }\n }\n\n public ngAfterViewInit(): void {\n this.referenceElement.style.position = POSITION_STRATEGY;\n this.startPositionUpdater();\n }\n\n public ngOnDestroy(): void {\n this.stopPositionUpdater();\n }\n\n private startPositionUpdater(): void {\n this.referenceElement.dataset['value'] = this.value.toString();\n if (this.value === 0) {\n return this.stopPositionUpdater();\n }\n this.elementRect = this.referenceElement.getBoundingClientRect();\n this.positionUpdater ??= this.zone.runOutsideAngular(() =>\n autoUpdate(this.hostElement, this.referenceElement, () => this.updateBadgePosition(), { animationFrame: true })\n );\n }\n\n private stopPositionUpdater(): void {\n this.positionUpdater?.();\n this.positionUpdater = undefined;\n }\n\n private async updateBadgePosition(): Promise<void> {\n const badgeOffset = (this.elementRect?.height ?? 0) / 2;\n const badgeWidth = this.elementRect?.width ?? 0;\n const { x, y, middlewareData } = await computePosition(this.hostElement, this.referenceElement, {\n middleware: [offset({ alignmentAxis: -badgeOffset, mainAxis: badgeOffset - badgeWidth }), hide()],\n placement: this.position === BadgePosition.TOP ? 'right-start' : 'right-end',\n strategy: POSITION_STRATEGY,\n });\n if (!middlewareData.hide?.referenceHidden) {\n applyStyles(this.referenceElement, { transform: `translate(${px(x)}, ${px(y)})`, display: null });\n } else if (this.referenceElement.style.display !== 'none') {\n applyStyles(this.referenceElement, { display: 'none' });\n }\n }\n}\n","import { BooleanInput, coerceBooleanProperty, coerceNumberProperty, NumberInput } from '@angular/cdk/coercion';\nimport { ComponentRef, Directive, ElementRef, inject, Injector, Input, OnChanges, OnDestroy, SimpleChanges, ViewContainerRef } from '@angular/core';\nimport { Transform } from '@odx/angular/utils';\nimport { BadgeComponent } from './badge.component';\nimport { BADGE_HOST } from './badge.config';\nimport { BadgeHost } from './facade';\nimport { BadgePosition, BadgeVariant } from './models';\n\n@Directive({\n selector: '[odxBadge]',\n standalone: true,\n providers: [{ provide: BADGE_HOST, useExisting: BadgeDirective }],\n})\nexport class BadgeDirective implements BadgeHost, OnChanges, OnDestroy {\n public static ngAcceptInputType_content: NumberInput;\n public static ngAcceptInputType_contrast: BooleanInput;\n\n private badgeRef: ComponentRef<BadgeComponent> | null = null;\n\n public readonly hostElement = inject(ElementRef<HTMLElement>).nativeElement;\n\n @Transform(coerceNumberProperty)\n @Input('odxBadge')\n public value!: number;\n\n @Transform(coerceBooleanProperty)\n @Input('odxBadgeContrast')\n public contrast!: boolean;\n\n @Input('odxBadgePosition')\n public position!: BadgePosition;\n\n @Input('odxBadgeVariant')\n public variant!: BadgeVariant;\n\n constructor(private readonly injector: Injector, private readonly viewContainer: ViewContainerRef) {}\n\n public ngOnChanges(changes: SimpleChanges): void {\n this.badgeRef ??= this.viewContainer.createComponent(BadgeComponent, { injector: this.injector });\n\n for (const prop in changes) {\n this.badgeRef.setInput(prop, changes[prop].currentValue);\n }\n }\n\n public ngOnDestroy(): void {\n this.badgeRef?.destroy();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAGO,MAAM,UAAU,GAAG,IAAI,cAAc,CAAY,0CAA0C,CAAC;;ACDtF,MAAA,aAAa,GAAG;AAC3B,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,MAAM,EAAE,QAAQ;;;ACFL,MAAA,YAAY,GAAG;AAC1B,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,MAAM,EAAE,QAAQ;AAChB,IAAA,YAAY,EAAE,cAAc;;;ACE9B,MAAM,iBAAiB,GAAa,OAAO,CAAC;AAU/B,IAAA,cAAc,SAAd,cAAc,CAAA;IAoBzB,WAA4B,CAAA,OAAgC,EAAmB,IAAY,EAAA;QAA/D,IAAO,CAAA,OAAA,GAAP,OAAO,CAAyB;QAAmB,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;AAnB1E,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC;AAC7C,QAAA,IAAA,CAAA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A,EAAA,OAAA,CAAA,EAAA,QAAA,EAAA,CAAA,kBAAA,EAAA,UAAA,CAAA,EAAA,QAAA,EAAA,CAAA,kBAAA,EAAA,UAAA,CAAA,EAAA,OAAA,EAAA,CAAA,iBAAA,EAAA,SAAA,CAAA,EAAA,EAAA,SAAA,EAFd,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;IAUhE,SAAS,CAAC,oBAAoB,CAAC;;AAEV,CAAA,EAAA,cAAA,CAAA,SAAA,EAAA,OAAA,EAAA,KAAA,CAAA,CAAA,CAAA;;IAErB,SAAS,CAAC,qBAAqB,CAAC;;AAEP,CAAA,EAAA,cAAA,CAAA,SAAA,EAAA,UAAA,EAAA,KAAA,CAAA,CAAA,CAAA;2FAdf,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAgB,cAAA,EAAE,CAAC;AAClE,iBAAA,CAAA;8HAWQ,KAAK,EAAA,CAAA;sBADX,KAAK;uBAAC,UAAU,CAAA;gBAKV,QAAQ,EAAA,CAAA;sBADd,KAAK;uBAAC,kBAAkB,CAAA;gBAIlB,QAAQ,EAAA,CAAA;sBADd,KAAK;uBAAC,kBAAkB,CAAA;gBAIlB,OAAO,EAAA,CAAA;sBADb,KAAK;uBAAC,iBAAiB,CAAA;;;AChC1B;;AAEG;;;;"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { __decorate, __metadata } from 'tslib';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, Attribute, Input } from '@angular/core';
|
|
4
|
+
import { NgForm, FormGroupDirective } from '@angular/forms';
|
|
5
|
+
import { DISABLED_CONTROLLER, DISABLED_CONTROLLER_PROVIDER } from '@odx/angular';
|
|
6
|
+
import { CSSModifier, CSSComponent } from '@odx/angular/internal';
|
|
7
|
+
|
|
8
|
+
const ButtonVariant = {
|
|
9
|
+
PRIMARY: 'primary',
|
|
10
|
+
SECONDARY: 'secondary',
|
|
11
|
+
GHOST: 'ghost',
|
|
12
|
+
HIGHLIGHT: 'highlight',
|
|
13
|
+
SUCCESS: 'success',
|
|
14
|
+
CONFIRMATION: 'confirmation',
|
|
15
|
+
DANGER: 'danger',
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
let ButtonComponent = class ButtonComponent {
|
|
19
|
+
constructor(type, element) {
|
|
20
|
+
this.type = type;
|
|
21
|
+
this.element = element;
|
|
22
|
+
this.isSubmitButton = this.type === 'submit';
|
|
23
|
+
this.isResetButton = this.type === 'reset';
|
|
24
|
+
this.disabledController = inject(DISABLED_CONTROLLER, { optional: true });
|
|
25
|
+
this.form = inject(NgForm, { optional: true });
|
|
26
|
+
this.formGroup = inject(FormGroupDirective, { optional: true });
|
|
27
|
+
}
|
|
28
|
+
get isDisabled() {
|
|
29
|
+
return this.disabledController?.disabled || (this.isSubmitButton && this.isParentFormInvalid) || (this.isResetButton && this.isParentFormDirty);
|
|
30
|
+
}
|
|
31
|
+
get isParentFormInvalid() {
|
|
32
|
+
return !!this.form?.invalid || !!this.formGroup?.invalid;
|
|
33
|
+
}
|
|
34
|
+
get isParentFormDirty() {
|
|
35
|
+
return !!this.form?.dirty || !!this.formGroup?.dirty;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ButtonComponent, deps: [{ token: 'type', attribute: true }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ButtonComponent, isStandalone: true, selector: "button[odxButton], a[odxButton]", inputs: { variant: "variant" }, host: { properties: { "class.is-disabled": "isDisabled", "attr.disabled": "isDisabled || null", "attr.role": "\"button\"" } }, providers: [DISABLED_CONTROLLER_PROVIDER], ngImport: i0, template: "<ng-content select=\"odx-icon[alignLeft]\"></ng-content>\n<ng-content></ng-content>\n<ng-content select=\"odx-icon[alignRight]\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
40
|
+
__decorate([
|
|
41
|
+
CSSModifier({
|
|
42
|
+
default: ButtonVariant.SECONDARY,
|
|
43
|
+
}),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], ButtonComponent.prototype, "variant", void 0);
|
|
46
|
+
ButtonComponent = __decorate([
|
|
47
|
+
CSSComponent('button'),
|
|
48
|
+
__metadata("design:paramtypes", [Object, ElementRef])
|
|
49
|
+
], ButtonComponent);
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
51
|
+
type: Component,
|
|
52
|
+
args: [{ standalone: true, selector: 'button[odxButton], a[odxButton]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [DISABLED_CONTROLLER_PROVIDER], host: {
|
|
53
|
+
'[class.is-disabled]': 'isDisabled',
|
|
54
|
+
'[attr.disabled]': 'isDisabled || null',
|
|
55
|
+
'[attr.role]': '"button"',
|
|
56
|
+
}, template: "<ng-content select=\"odx-icon[alignLeft]\"></ng-content>\n<ng-content></ng-content>\n<ng-content select=\"odx-icon[alignRight]\"></ng-content>\n" }]
|
|
57
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
58
|
+
type: Attribute,
|
|
59
|
+
args: ['type']
|
|
60
|
+
}] }, { type: i0.ElementRef }]; }, propDecorators: { variant: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}] } });
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Generated bundle index. Do not edit.
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
export { ButtonComponent, ButtonVariant };
|
|
69
|
+
//# sourceMappingURL=odx-angular-components-button.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odx-angular-components-button.mjs","sources":["../../../../libs/angular/components/button/src/lib/models/button-variant.ts","../../../../libs/angular/components/button/src/lib/button.component.ts","../../../../libs/angular/components/button/src/lib/button.component.html","../../../../libs/angular/components/button/src/odx-angular-components-button.ts"],"sourcesContent":["export type ButtonVariant = typeof ButtonVariant[keyof typeof ButtonVariant];\n\nexport const ButtonVariant = {\n PRIMARY: 'primary',\n SECONDARY: 'secondary',\n GHOST: 'ghost',\n HIGHLIGHT: 'highlight',\n SUCCESS: 'success',\n CONFIRMATION: 'confirmation',\n DANGER: 'danger',\n} as const;\n","import { Attribute, ChangeDetectionStrategy, Component, ElementRef, inject, Input, ViewEncapsulation } from '@angular/core';\nimport { FormGroupDirective, NgForm } from '@angular/forms';\nimport { DISABLED_CONTROLLER, DISABLED_CONTROLLER_PROVIDER } from '@odx/angular';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\nimport { ButtonVariant } from './models';\n\n@CSSComponent('button')\n@Component({\n standalone: true,\n // eslint-disable-next-line @angular-eslint/component-selector\n selector: 'button[odxButton], a[odxButton]',\n templateUrl: './button.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [DISABLED_CONTROLLER_PROVIDER],\n host: {\n '[class.is-disabled]': 'isDisabled',\n '[attr.disabled]': 'isDisabled || null',\n '[attr.role]': '\"button\"',\n },\n})\nexport class ButtonComponent {\n private readonly isSubmitButton = this.type === 'submit';\n private readonly isResetButton = this.type === 'reset';\n\n protected readonly disabledController = inject(DISABLED_CONTROLLER, { optional: true });\n protected readonly form = inject(NgForm, { optional: true });\n protected readonly formGroup = inject(FormGroupDirective, { optional: true });\n\n public get isDisabled(): boolean {\n return this.disabledController?.disabled || (this.isSubmitButton && this.isParentFormInvalid) || (this.isResetButton && this.isParentFormDirty);\n }\n\n public get isParentFormInvalid(): boolean {\n return !!this.form?.invalid || !!this.formGroup?.invalid;\n }\n\n public get isParentFormDirty(): boolean {\n return !!this.form?.dirty || !!this.formGroup?.dirty;\n }\n\n @CSSModifier({\n default: ButtonVariant.SECONDARY,\n })\n @Input()\n public variant?: ButtonVariant | null;\n\n constructor(@Attribute('type') public readonly type: string | null, public readonly element: ElementRef<HTMLButtonElement | HTMLLinkElement>) {}\n}\n","<ng-content select=\"odx-icon[alignLeft]\"></ng-content>\n<ng-content></ng-content>\n<ng-content select=\"odx-icon[alignRight]\"></ng-content>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAEa,MAAA,aAAa,GAAG;AAC3B,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,SAAS,EAAE,WAAW;AACtB,IAAA,OAAO,EAAE,SAAS;AAClB,IAAA,YAAY,EAAE,cAAc;AAC5B,IAAA,MAAM,EAAE,QAAQ;;;ACYL,IAAA,eAAe,SAAf,eAAe,CAAA;IA0B1B,WAA+C,CAAA,IAAmB,EAAkB,OAAwD,EAAA;QAA7F,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAe;QAAkB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAiD;AAzB3H,QAAA,IAAA,CAAA,cAAc,GAAG,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC;AACxC,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC;QAEpC,IAAkB,CAAA,kBAAA,GAAG,MAAM,CAAC,mBAAmB,EAAE,EAAE,QAAQ,EAAE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
+
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { EventEmitter, ElementRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, Output } from '@angular/core';
|
|
5
|
+
import { Validators } from '@angular/forms';
|
|
6
|
+
import * as i1 from '@odx/angular';
|
|
7
|
+
import { CustomFormControl, DISABLED_CONTROLLER_PROVIDER, CoreModule } from '@odx/angular';
|
|
8
|
+
import { IconComponent } from '@odx/angular/components/icon';
|
|
9
|
+
import { CSSModifier, CSSComponent } from '@odx/angular/internal';
|
|
10
|
+
|
|
11
|
+
let CheckboxComponent = class CheckboxComponent extends CustomFormControl {
|
|
12
|
+
constructor(element) {
|
|
13
|
+
super(false);
|
|
14
|
+
this.element = element;
|
|
15
|
+
this.isIndeterminate = false;
|
|
16
|
+
this.value = null;
|
|
17
|
+
this.indeterminateChange = new EventEmitter();
|
|
18
|
+
}
|
|
19
|
+
set checked(value) {
|
|
20
|
+
this.controlValue = value;
|
|
21
|
+
}
|
|
22
|
+
get checked() {
|
|
23
|
+
return this.controlValue;
|
|
24
|
+
}
|
|
25
|
+
set indeterminate(value) {
|
|
26
|
+
if (this.isIndeterminate !== value) {
|
|
27
|
+
this.isIndeterminate = coerceBooleanProperty(value);
|
|
28
|
+
this.indeterminateChange.emit(this.isIndeterminate);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
get indeterminate() {
|
|
32
|
+
return this.isIndeterminate;
|
|
33
|
+
}
|
|
34
|
+
get ariaChecked() {
|
|
35
|
+
return this.checked ? 'true' : this.indeterminate ? 'mixed' : 'false';
|
|
36
|
+
}
|
|
37
|
+
get modifierIcon() {
|
|
38
|
+
return this.indeterminate ? 'indeterminate' : 'checkmark';
|
|
39
|
+
}
|
|
40
|
+
onChanged(event) {
|
|
41
|
+
event.stopPropagation();
|
|
42
|
+
this.indeterminate = false;
|
|
43
|
+
super.updateValue(event.target.checked);
|
|
44
|
+
}
|
|
45
|
+
updateRequiredValidator() {
|
|
46
|
+
this.toggleValidator(Validators.requiredTrue, this.required);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
CheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
CheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: CheckboxComponent, isStandalone: true, selector: "odx-checkbox", inputs: { checked: "checked", indeterminate: "indeterminate", value: "value" }, outputs: { indeterminateChange: "indeterminateChange" }, host: { properties: { "class.is-active": "checked || indeterminate" } }, providers: [DISABLED_CONTROLLER_PROVIDER], usesInheritance: true, ngImport: i0, template: "<label class=\"odx-checkbox__label\" [class.has-focus]=\"focusMonitor.hasFocus\">\n <input\n odxControl\n odxMonitorFocus\n class=\"odx-checkbox__input\"\n [attr.aria-checked]=\"ariaChecked\"\n [checked]=\"checked\"\n [disabled]=\"isDisabled || readonly\"\n [indeterminate]=\"indeterminate\"\n [name]=\"name\"\n [readonly]=\"readonly\"\n [value]=\"value\"\n type=\"checkbox\"\n (blur)=\"onTouched()\"\n (change)=\"onChanged($event)\"\n #focusMonitor=\"odxMonitorFocus\"\n />\n <div class=\"odx-checkbox__indicator\">\n <odx-icon [name]=\"modifierIcon\"></odx-icon>\n </div>\n <div class=\"odx-checkbox__content\">\n <ng-content></ng-content>\n </div>\n</label>\n", dependencies: [{ kind: "ngmodule", type: CoreModule }, { kind: "directive", type: i1.DisabledController, selector: "[disabled]", inputs: ["disabled"] }, { kind: "directive", type: i1.ControlDirective, selector: "[odxControl]", exportAs: ["odxControl"] }, { kind: "directive", type: i1.MonitorFocusDirective, selector: "[odxMonitorFocus]", exportAs: ["odxMonitorFocus"] }, { kind: "component", type: IconComponent, selector: "odx-icon", inputs: ["size", "name"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
51
|
+
__decorate([
|
|
52
|
+
CSSModifier(),
|
|
53
|
+
__metadata("design:type", Object),
|
|
54
|
+
__metadata("design:paramtypes", [Object])
|
|
55
|
+
], CheckboxComponent.prototype, "indeterminate", null);
|
|
56
|
+
CheckboxComponent = __decorate([
|
|
57
|
+
CSSComponent('checkbox'),
|
|
58
|
+
__metadata("design:paramtypes", [ElementRef])
|
|
59
|
+
], CheckboxComponent);
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CheckboxComponent, decorators: [{
|
|
61
|
+
type: Component,
|
|
62
|
+
args: [{ standalone: true, selector: 'odx-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, imports: [CoreModule, IconComponent], providers: [DISABLED_CONTROLLER_PROVIDER], host: {
|
|
63
|
+
'[class.is-active]': 'checked || indeterminate',
|
|
64
|
+
}, template: "<label class=\"odx-checkbox__label\" [class.has-focus]=\"focusMonitor.hasFocus\">\n <input\n odxControl\n odxMonitorFocus\n class=\"odx-checkbox__input\"\n [attr.aria-checked]=\"ariaChecked\"\n [checked]=\"checked\"\n [disabled]=\"isDisabled || readonly\"\n [indeterminate]=\"indeterminate\"\n [name]=\"name\"\n [readonly]=\"readonly\"\n [value]=\"value\"\n type=\"checkbox\"\n (blur)=\"onTouched()\"\n (change)=\"onChanged($event)\"\n #focusMonitor=\"odxMonitorFocus\"\n />\n <div class=\"odx-checkbox__indicator\">\n <odx-icon [name]=\"modifierIcon\"></odx-icon>\n </div>\n <div class=\"odx-checkbox__content\">\n <ng-content></ng-content>\n </div>\n</label>\n" }]
|
|
65
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { checked: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], indeterminate: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], value: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], indeterminateChange: [{
|
|
72
|
+
type: Output
|
|
73
|
+
}] } });
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Generated bundle index. Do not edit.
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
export { CheckboxComponent };
|
|
80
|
+
//# sourceMappingURL=odx-angular-components-checkbox.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odx-angular-components-checkbox.mjs","sources":["../../../../libs/angular/components/checkbox/src/lib/checkbox.component.ts","../../../../libs/angular/components/checkbox/src/lib/checkbox.component.html","../../../../libs/angular/components/checkbox/src/odx-angular-components-checkbox.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/no-output-native */\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { Validators } from '@angular/forms';\nimport { CoreModule, CustomFormControl, DISABLED_CONTROLLER_PROVIDER } from '@odx/angular';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent, CSSModifier } from '@odx/angular/internal';\n\n@CSSComponent('checkbox')\n@Component({\n standalone: true,\n selector: 'odx-checkbox',\n templateUrl: 'checkbox.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n imports: [CoreModule, IconComponent],\n providers: [DISABLED_CONTROLLER_PROVIDER],\n host: {\n '[class.is-active]': 'checked || indeterminate',\n },\n})\nexport class CheckboxComponent extends CustomFormControl<boolean> {\n public static ngAcceptInputType_checked: BooleanInput;\n public static ngAcceptInputType_indeterminate: BooleanInput;\n\n private isIndeterminate = false;\n\n @Input()\n public set checked(value: boolean) {\n this.controlValue = value;\n }\n public get checked(): boolean {\n return this.controlValue;\n }\n\n @CSSModifier()\n @Input()\n public set indeterminate(value: unknown) {\n if (this.isIndeterminate !== value) {\n this.isIndeterminate = coerceBooleanProperty(value);\n this.indeterminateChange.emit(this.isIndeterminate);\n }\n }\n public get indeterminate(): boolean {\n return this.isIndeterminate;\n }\n\n @Input()\n public value: string | null = null;\n\n public get ariaChecked(): string {\n return this.checked ? 'true' : this.indeterminate ? 'mixed' : 'false';\n }\n\n public get modifierIcon(): string {\n return this.indeterminate ? 'indeterminate' : 'checkmark';\n }\n\n @Output()\n public readonly indeterminateChange = new EventEmitter<boolean>();\n\n constructor(public readonly element: ElementRef<HTMLElement>) {\n super(false);\n }\n\n public onChanged(event: Event): void {\n event.stopPropagation();\n this.indeterminate = false;\n super.updateValue((event.target as HTMLInputElement).checked);\n }\n\n protected override updateRequiredValidator(): void {\n this.toggleValidator(Validators.requiredTrue, this.required);\n }\n}\n","<label class=\"odx-checkbox__label\" [class.has-focus]=\"focusMonitor.hasFocus\">\n <input\n odxControl\n odxMonitorFocus\n class=\"odx-checkbox__input\"\n [attr.aria-checked]=\"ariaChecked\"\n [checked]=\"checked\"\n [disabled]=\"isDisabled || readonly\"\n [indeterminate]=\"indeterminate\"\n [name]=\"name\"\n [readonly]=\"readonly\"\n [value]=\"value\"\n type=\"checkbox\"\n (blur)=\"onTouched()\"\n (change)=\"onChanged($event)\"\n #focusMonitor=\"odxMonitorFocus\"\n />\n <div class=\"odx-checkbox__indicator\">\n <odx-icon [name]=\"modifierIcon\"></odx-icon>\n </div>\n <div class=\"odx-checkbox__content\">\n <ng-content></ng-content>\n </div>\n</label>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;IAqBa,iBAAiB,GAAA,MAAjB,iBAAkB,SAAQ,iBAA0B,CAAA;AAwC/D,IAAA,WAAA,CAA4B,OAAgC,EAAA;QAC1D,KAAK,CAAC,KAAK,CAAC,CAAC;QADa,IAAO,CAAA,OAAA,GAAP,OAAO,CAAyB;QApCpD,IAAe,CAAA,eAAA,GAAG,KAAK,CAAC;QAuBzB,IAAK,CAAA,KAAA,GAAkB,IAAI,CAAC;AAWnB,QAAA,IAAA,CAAA,mBAA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,CAAC,UAAU,CAAC;qCAqDc,UAAU,CAAA,CAAA;AAxCpC,CAAA,EAAA,iBAAiB,CAqD7B,CAAA;2FArDY,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAZ7B,SAAS;iCACI,IAAI,EAAA,QAAA,EACN,cAAc,EAEP,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,WAC5B,CAAC,UAAU,EAAE,aAAa,CAAC,aACzB,CAAC,4BAA4B,CAAC,EACnC,IAAA,EAAA;AACJ,wBAAA,mBAAmB,EAAE,0BAA0B;AAChD,qBAAA,EAAA,QAAA,EAAA,8sBAAA,EAAA,CAAA;iGASU,OAAO,EAAA,CAAA;sBADjB,KAAK;gBAUK,aAAa,EAAA,CAAA;sBADvB,KAAK;gBAYC,KAAK,EAAA,CAAA;sBADX,KAAK;gBAYU,mBAAmB,EAAA,CAAA;sBADlC,MAAM;;;AE1DT;;AAEG;;;;"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, NgModule } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class ContentBoxComponent {
|
|
5
|
+
}
|
|
6
|
+
ContentBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
ContentBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: ContentBoxComponent, isStandalone: true, selector: "odx-content-box", host: { properties: { "class.odx-content-box": "true" } }, ngImport: i0, template: "<ng-content select=\"odx-area-header, odx-content-box-header\"></ng-content>\n<div class=\"odx-content-box__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"odx-content-box-footer\"></ng-content>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
8
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxComponent, decorators: [{
|
|
9
|
+
type: Component,
|
|
10
|
+
args: [{ selector: 'odx-content-box', standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
11
|
+
'[class.odx-content-box]': 'true',
|
|
12
|
+
}, template: "<ng-content select=\"odx-area-header, odx-content-box-header\"></ng-content>\n<div class=\"odx-content-box__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"odx-content-box-footer\"></ng-content>\n" }]
|
|
13
|
+
}] });
|
|
14
|
+
|
|
15
|
+
class ContentBoxFooterDirective {
|
|
16
|
+
}
|
|
17
|
+
ContentBoxFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
ContentBoxFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ContentBoxFooterDirective, isStandalone: true, selector: "odx-content-box-footer", host: { properties: { "class.odx-content-box__footer": "true" } }, ngImport: i0 });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxFooterDirective, decorators: [{
|
|
20
|
+
type: Directive,
|
|
21
|
+
args: [{
|
|
22
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
23
|
+
selector: 'odx-content-box-footer',
|
|
24
|
+
standalone: true,
|
|
25
|
+
host: {
|
|
26
|
+
'[class.odx-content-box__footer]': 'true',
|
|
27
|
+
},
|
|
28
|
+
}]
|
|
29
|
+
}] });
|
|
30
|
+
|
|
31
|
+
class ContentBoxHeaderDirective {
|
|
32
|
+
}
|
|
33
|
+
ContentBoxHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
+
ContentBoxHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ContentBoxHeaderDirective, isStandalone: true, selector: "odx-content-box-header", host: { properties: { "class.odx-content-box__header": "true" } }, ngImport: i0 });
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxHeaderDirective, decorators: [{
|
|
36
|
+
type: Directive,
|
|
37
|
+
args: [{
|
|
38
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
39
|
+
selector: 'odx-content-box-header',
|
|
40
|
+
standalone: true,
|
|
41
|
+
host: {
|
|
42
|
+
'[class.odx-content-box__header]': 'true',
|
|
43
|
+
},
|
|
44
|
+
}]
|
|
45
|
+
}] });
|
|
46
|
+
|
|
47
|
+
const modules = [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective];
|
|
48
|
+
class ContentBoxModule {
|
|
49
|
+
}
|
|
50
|
+
ContentBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
51
|
+
ContentBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxModule, imports: [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective], exports: [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective] });
|
|
52
|
+
ContentBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxModule, imports: [ContentBoxComponent] });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ContentBoxModule, decorators: [{
|
|
54
|
+
type: NgModule,
|
|
55
|
+
args: [{
|
|
56
|
+
imports: modules,
|
|
57
|
+
exports: modules,
|
|
58
|
+
}]
|
|
59
|
+
}] });
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Generated bundle index. Do not edit.
|
|
63
|
+
*/
|
|
64
|
+
|
|
65
|
+
export { ContentBoxComponent, ContentBoxFooterDirective, ContentBoxHeaderDirective, ContentBoxModule };
|
|
66
|
+
//# sourceMappingURL=odx-angular-components-content-box.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odx-angular-components-content-box.mjs","sources":["../../../../libs/angular/components/content-box/src/lib/content-box.component.ts","../../../../libs/angular/components/content-box/src/lib/content-box.component.html","../../../../libs/angular/components/content-box/src/lib/directives/content-box-footer-directive.ts","../../../../libs/angular/components/content-box/src/lib/directives/content-box-header-directive.ts","../../../../libs/angular/components/content-box/src/lib/content-box.module.ts","../../../../libs/angular/components/content-box/src/odx-angular-components-content-box.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'odx-content-box',\n standalone: true,\n templateUrl: './content-box.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '[class.odx-content-box]': 'true',\n },\n})\nexport class ContentBoxComponent {}\n","<ng-content select=\"odx-area-header, odx-content-box-header\"></ng-content>\n<div class=\"odx-content-box__content\">\n <ng-content></ng-content>\n</div>\n<ng-content select=\"odx-content-box-footer\"></ng-content>\n","import { Directive } from '@angular/core';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'odx-content-box-footer',\n standalone: true,\n host: {\n '[class.odx-content-box__footer]': 'true',\n },\n})\nexport class ContentBoxFooterDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'odx-content-box-header',\n standalone: true,\n host: {\n '[class.odx-content-box__header]': 'true',\n },\n})\nexport class ContentBoxHeaderDirective {}\n","import { NgModule } from '@angular/core';\nimport { ContentBoxComponent } from './content-box.component';\nimport { ContentBoxFooterDirective } from './directives/content-box-footer-directive';\nimport { ContentBoxHeaderDirective } from './directives/content-box-header-directive';\n\nconst modules = [ContentBoxComponent, ContentBoxHeaderDirective, ContentBoxFooterDirective];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class ContentBoxModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAYa,mBAAmB,CAAA;;gHAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnB,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,sICZhC,4NAKA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2FDOa,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAV/B,SAAS;+BACE,iBAAiB,EAAA,UAAA,EACf,IAAI,EAAA,aAAA,EAED,iBAAiB,CAAC,IAAI,EACpB,eAAA,EAAA,uBAAuB,CAAC,MAAM,EACzC,IAAA,EAAA;AACJ,wBAAA,yBAAyB,EAAE,MAAM;AAClC,qBAAA,EAAA,QAAA,EAAA,4NAAA,EAAA,CAAA;;;MEAU,yBAAyB,CAAA;;sHAAzB,yBAAyB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;0GAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,IA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,EAAE,yBAAyB,EAAE,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAM7E,gBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YANZ,mBAAmB,CAAA,EAAA,CAAA,CAAA;2FAMvB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,OAAO;AAChB,oBAAA,OAAO,EAAE,OAAO;AACjB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, ElementRef, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
3
|
+
import { __decorate, __metadata } from 'tslib';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { LogoDirective } from '@odx/angular/components/logo';
|
|
6
|
+
import { CSSComponent } from '@odx/angular/internal';
|
|
7
|
+
import { ActionGroupComponent } from '@odx/angular/components/action-group';
|
|
8
|
+
import { AvatarComponent } from '@odx/angular/components/avatar';
|
|
9
|
+
import { ButtonComponent } from '@odx/angular/components/button';
|
|
10
|
+
import { IconComponent } from '@odx/angular/components/icon';
|
|
11
|
+
import { MainMenuModule } from '@odx/angular/components/main-menu';
|
|
12
|
+
|
|
13
|
+
class HeaderAvatarDirective {
|
|
14
|
+
}
|
|
15
|
+
HeaderAvatarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderAvatarDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
HeaderAvatarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: HeaderAvatarDirective, isStandalone: true, selector: "button[odxHeaderAvatar]", host: { properties: { "class.odx-header__avatar": "true" } }, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderAvatarDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
standalone: true,
|
|
21
|
+
selector: 'button[odxHeaderAvatar]',
|
|
22
|
+
host: {
|
|
23
|
+
'[class.odx-header__avatar]': 'true',
|
|
24
|
+
},
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
|
|
28
|
+
class HeaderTitleDirective {
|
|
29
|
+
}
|
|
30
|
+
HeaderTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
31
|
+
HeaderTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: HeaderTitleDirective, isStandalone: true, selector: "odx-header-title", host: { properties: { "class.odx-header__title": "true" } }, ngImport: i0 });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderTitleDirective, decorators: [{
|
|
33
|
+
type: Directive,
|
|
34
|
+
args: [{
|
|
35
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
36
|
+
selector: 'odx-header-title',
|
|
37
|
+
standalone: true,
|
|
38
|
+
host: {
|
|
39
|
+
'[class.odx-header__title]': 'true',
|
|
40
|
+
},
|
|
41
|
+
}]
|
|
42
|
+
}] });
|
|
43
|
+
|
|
44
|
+
let HeaderComponent = class HeaderComponent {
|
|
45
|
+
constructor(element) {
|
|
46
|
+
this.element = element;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
HeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
HeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: HeaderComponent, isStandalone: true, selector: "odx-header", ngImport: i0, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: LogoDirective, selector: "odx-logo", inputs: ["size", "variant"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
51
|
+
HeaderComponent = __decorate([
|
|
52
|
+
CSSComponent('header'),
|
|
53
|
+
__metadata("design:paramtypes", [ElementRef])
|
|
54
|
+
], HeaderComponent);
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ standalone: true, selector: 'odx-header', imports: [CommonModule, LogoDirective], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n" }]
|
|
58
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
59
|
+
|
|
60
|
+
const modules = [
|
|
61
|
+
HeaderComponent,
|
|
62
|
+
HeaderTitleDirective,
|
|
63
|
+
HeaderAvatarDirective,
|
|
64
|
+
MainMenuModule,
|
|
65
|
+
ActionGroupComponent,
|
|
66
|
+
IconComponent,
|
|
67
|
+
ButtonComponent,
|
|
68
|
+
AvatarComponent,
|
|
69
|
+
LogoDirective,
|
|
70
|
+
];
|
|
71
|
+
class HeaderModule {
|
|
72
|
+
}
|
|
73
|
+
HeaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
74
|
+
HeaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
|
|
75
|
+
HeaderTitleDirective,
|
|
76
|
+
HeaderAvatarDirective,
|
|
77
|
+
MainMenuModule,
|
|
78
|
+
ActionGroupComponent,
|
|
79
|
+
IconComponent,
|
|
80
|
+
ButtonComponent,
|
|
81
|
+
AvatarComponent,
|
|
82
|
+
LogoDirective], exports: [HeaderComponent,
|
|
83
|
+
HeaderTitleDirective,
|
|
84
|
+
HeaderAvatarDirective,
|
|
85
|
+
MainMenuModule,
|
|
86
|
+
ActionGroupComponent,
|
|
87
|
+
IconComponent,
|
|
88
|
+
ButtonComponent,
|
|
89
|
+
AvatarComponent,
|
|
90
|
+
LogoDirective] });
|
|
91
|
+
HeaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, imports: [HeaderComponent,
|
|
92
|
+
MainMenuModule,
|
|
93
|
+
ActionGroupComponent,
|
|
94
|
+
IconComponent,
|
|
95
|
+
ButtonComponent,
|
|
96
|
+
AvatarComponent,
|
|
97
|
+
MainMenuModule] });
|
|
98
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: HeaderModule, decorators: [{
|
|
99
|
+
type: NgModule,
|
|
100
|
+
args: [{
|
|
101
|
+
imports: modules,
|
|
102
|
+
exports: modules,
|
|
103
|
+
}]
|
|
104
|
+
}] });
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Generated bundle index. Do not edit.
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
export { HeaderAvatarDirective, HeaderComponent, HeaderModule, HeaderTitleDirective };
|
|
111
|
+
//# sourceMappingURL=odx-angular-components-header.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"odx-angular-components-header.mjs","sources":["../../../../libs/angular/components/header/src/lib/directives/header-avatar.directive.ts","../../../../libs/angular/components/header/src/lib/directives/header-title.directive.ts","../../../../libs/angular/components/header/src/lib/header.component.ts","../../../../libs/angular/components/header/src/lib/header.component.html","../../../../libs/angular/components/header/src/lib/header.module.ts","../../../../libs/angular/components/header/src/odx-angular-components-header.ts"],"sourcesContent":["import { Directive } from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'button[odxHeaderAvatar]',\n host: {\n '[class.odx-header__avatar]': 'true',\n },\n})\nexport class HeaderAvatarDirective {}\n","import { Directive } from '@angular/core';\n\n@Directive({\n // eslint-disable-next-line @angular-eslint/directive-selector\n selector: 'odx-header-title',\n standalone: true,\n host: {\n '[class.odx-header__title]': 'true',\n },\n})\nexport class HeaderTitleDirective {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, ElementRef, ViewEncapsulation } from '@angular/core';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { CSSComponent } from '@odx/angular/internal';\n\n@CSSComponent('header')\n@Component({\n standalone: true,\n selector: 'odx-header',\n imports: [CommonModule, LogoDirective],\n templateUrl: './header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class HeaderComponent {\n constructor(public readonly element: ElementRef<HTMLElement>) {}\n}\n","<ng-content select=\"button[odxMainMenuButton]\"></ng-content>\n<ng-content select=\"odx-header-title\"></ng-content>\n<odx-logo></odx-logo>\n<ng-content select=\"odx-action-group\"></ng-content>\n<ng-content select=\"[odxHeaderAvatar]\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { LogoDirective } from '@odx/angular/components/logo';\nimport { MainMenuModule } from '@odx/angular/components/main-menu';\nimport { HeaderAvatarDirective, HeaderTitleDirective } from './directives';\nimport { HeaderComponent } from './header.component';\n\nconst modules = [\n HeaderComponent,\n HeaderTitleDirective,\n HeaderAvatarDirective,\n MainMenuModule,\n ActionGroupComponent,\n IconComponent,\n ButtonComponent,\n AvatarComponent,\n LogoDirective,\n];\n\n@NgModule({\n imports: modules,\n exports: modules,\n})\nexport class HeaderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MASa,qBAAqB,CAAA;;kHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;sGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,0BAAA,EAAA,MAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAPjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,IAAI,EAAE;AACJ,wBAAA,4BAA4B,EAAE,MAAM;AACrC,qBAAA;AACF,iBAAA,CAAA;;;MCEY,oBAAoB,CAAA;;iHAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qGAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,k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