aeb-ui-kit 0.0.116 → 0.0.117
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/.babelrc +3 -0
- package/.ci/Chart/values.dev.yaml +17 -0
- package/.ci/Chart/values.mr.yaml +12 -0
- package/.ci/Chart/values.prod.yaml +23 -0
- package/.ci/Components/UI.yml +28 -0
- package/.ci/Deployments.yml +69 -0
- package/.editorconfig +16 -0
- package/.gitlab-ci.yml +35 -0
- package/.storybook/main.js +11 -0
- package/.storybook/manager.js +11 -0
- package/.storybook/preview.js +4 -0
- package/.storybook/tsconfig.json +20 -0
- package/.storybook/typings.d.ts +4 -0
- package/Dockerfile +12 -0
- package/README.md +15 -22
- package/angular.json +51 -0
- package/debug.log +1 -0
- package/documentation.json +12382 -0
- package/gulpfile.babel.js +23 -0
- package/nginx/default.conf +27 -0
- package/package-lock.json +24398 -0
- package/package.json +85 -21
- package/projects/aeb-ui-kit/README.md +24 -0
- package/projects/aeb-ui-kit/karma.conf.js +32 -0
- package/projects/aeb-ui-kit/ng-package.json +8 -0
- package/projects/aeb-ui-kit/package.json +13 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/fonts/LICENSE.txt +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/fonts/Roboto-Bold.ttf +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/fonts/Roboto-Medium.ttf +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/fonts/Roboto-Regular.ttf +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_blue.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_gray.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_turquoise.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/arrow_down/arrow_down_white.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/attach/passport_primary.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/attach/passport_secondary.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/background-search.png +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/clip.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/clip_blue.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/close.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-add.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-back.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-blocked.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-checked.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-download.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-edit.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-failure.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-more.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-rework.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-spinner.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-subtract.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-success.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-time.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/icon-trash.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/info.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/nt-icon.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/visa/icon_failure.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/visa/icon_time.svg +0 -0
- package/{assets → projects/aeb-ui-kit/src/assets}/images/visa/success_icon.svg +0 -0
- package/{index.d.ts → projects/aeb-ui-kit/src/index.ts} +0 -0
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.html +41 -0
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.scss +53 -0
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.ts +44 -0
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.stories.ts +41 -0
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.html +9 -0
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.scss +13 -0
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.ts +19 -0
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.stories.ts +73 -0
- package/projects/aeb-ui-kit/src/lib/aeb-ui-kit.module.ts +116 -0
- package/projects/aeb-ui-kit/src/lib/button/button.component.html +6 -0
- package/projects/aeb-ui-kit/src/lib/button/button.component.scss +125 -0
- package/projects/aeb-ui-kit/src/lib/button/button.component.spec.ts +24 -0
- package/projects/aeb-ui-kit/src/lib/button/button.component.ts +33 -0
- package/projects/aeb-ui-kit/src/lib/button/button.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/button/button.stories.ts +45 -0
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.html +34 -0
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.scss +173 -0
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.spec.ts +24 -0
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.ts +112 -0
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.stories.ts +64 -0
- package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.directive.ts +47 -0
- package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.stories.ts +29 -0
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.html +139 -0
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.scss +190 -0
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.ts +93 -0
- package/projects/aeb-ui-kit/src/lib/comment/comment.module.ts +22 -0
- package/projects/aeb-ui-kit/src/lib/comment/comment.stories.ts +141 -0
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.html +32 -0
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.scss +92 -0
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.ts +28 -0
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.module.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.stories.ts +54 -0
- package/{lib/credit-item-card/models/IProductItemCard.d.ts → projects/aeb-ui-kit/src/lib/credit-item-card/models/IProductItemCard.ts} +1 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.html +141 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.scss +70 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.ts +161 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.html +34 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.scss +66 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.ts +53 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.html +34 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.scss +55 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.ts +94 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.html +65 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.scss +45 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.ts +423 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.module.ts +43 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.stories.ts +137 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/pipes/date-to-str.pipe.spec.ts +8 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/pipes/date-to-str.pipe.ts +13 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/services/datepicker-utils.service.spec.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/services/datepicker-utils.service.ts +218 -0
- package/projects/aeb-ui-kit/src/lib/datepicker/services/mask-utils.service.ts +69 -0
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.html +48 -0
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.scss +117 -0
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.ts +115 -0
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.module.ts +11 -0
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.stories.ts +47 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/directives/numbers-only.directive.ts +64 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.html +30 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.scss +77 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.ts +168 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.module.ts +24 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.stories.ts +35 -0
- package/projects/aeb-ui-kit/src/lib/field-slider/pipes/replace.pipe.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/file-attach/directives/drag-and-drop.directive.ts +41 -0
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.html +56 -0
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.scss +149 -0
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.ts +67 -0
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.stories.ts +45 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.html +9 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.scss +20 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.ts +32 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.html +10 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.scss +5 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.ts +47 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.module.ts +15 -0
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.stories.ts +106 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.html +31 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.scss +41 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.ts +51 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.html +14 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.scss +42 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.ts +67 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.html +46 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.scss +74 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.ts +29 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.html +16 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.scss +14 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.ts +26 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer.module.ts +22 -0
- package/projects/aeb-ui-kit/src/lib/footer/footer.stories.ts +97 -0
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.html +9 -0
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.scss +181 -0
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.ts +83 -0
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.stories.ts +95 -0
- package/projects/aeb-ui-kit/src/lib/form-field/icon.directive.ts +8 -0
- package/projects/aeb-ui-kit/src/lib/form-field/input.directive.ts +68 -0
- package/projects/aeb-ui-kit/src/lib/form-field/label.directive.ts +8 -0
- package/projects/aeb-ui-kit/src/lib/form-field/textarea.directive.ts +68 -0
- package/projects/aeb-ui-kit/src/lib/header/header.component.html +1 -0
- package/projects/aeb-ui-kit/src/lib/header/header.component.scss +43 -0
- package/projects/aeb-ui-kit/src/lib/header/header.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/header/header.component.ts +20 -0
- package/projects/aeb-ui-kit/src/lib/header/header.module.ts +11 -0
- package/projects/aeb-ui-kit/src/lib/header/header.stories.ts +27 -0
- package/projects/aeb-ui-kit/src/lib/header/logo.component.html +20 -0
- package/projects/aeb-ui-kit/src/lib/header/logo.component.scss +6 -0
- package/projects/aeb-ui-kit/src/lib/header/logo.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/header/logo.component.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.html +15 -0
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.scss +25 -0
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.ts +31 -0
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.html +3 -0
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.scss +6 -0
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.ts +18 -0
- package/projects/aeb-ui-kit/src/lib/heading/heading.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/heading/heading.stories.ts +174 -0
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.html +18 -0
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.scss +20 -0
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.ts +30 -0
- package/projects/aeb-ui-kit/src/lib/label/label.component.html +10 -0
- package/projects/aeb-ui-kit/src/lib/label/label.component.scss +23 -0
- package/projects/aeb-ui-kit/src/lib/label/label.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/label/label.component.ts +13 -0
- package/projects/aeb-ui-kit/src/lib/label/label.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/label/label.stories.ts +21 -0
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.html +28 -0
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.scss +113 -0
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.ts +59 -0
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.module.ts +12 -0
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.stories.ts +107 -0
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.html +67 -0
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.scss +96 -0
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.ts +202 -0
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.module.ts +18 -0
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.stories.ts +118 -0
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.html +46 -0
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.scss +54 -0
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.ts +46 -0
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.module.ts +12 -0
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.stories.ts +127 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.html +7 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.scss +93 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.ts +20 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.module.ts +19 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.stories.ts +126 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/services/domservice.service.spec.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/services/domservice.service.ts +59 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/tooltip.directive.spec.ts +8 -0
- package/projects/aeb-ui-kit/src/lib/new-tooltip/tooltip.directive.ts +195 -0
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.html +8 -0
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.scss +28 -0
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.ts +19 -0
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.module.ts +12 -0
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.stories.ts +46 -0
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.html +20 -0
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.scss +54 -0
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.ts +34 -0
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.stories.ts +36 -0
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.html +110 -0
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.scss +173 -0
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.ts +191 -0
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.module.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.stories.ts +63 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.html +22 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.scss +35 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.ts +33 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.directive.spec.ts +8 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.directive.ts +70 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.module.ts +13 -0
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.stories.ts +211 -0
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.html +26 -0
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.scss +112 -0
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.ts +69 -0
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.stories.ts +101 -0
- package/projects/aeb-ui-kit/src/lib/search/highlight.pipe.spec.ts +8 -0
- package/projects/aeb-ui-kit/src/lib/search/highlight.pipe.ts +13 -0
- package/projects/aeb-ui-kit/src/lib/search/search.component.html +85 -0
- package/projects/aeb-ui-kit/src/lib/search/search.component.scss +133 -0
- package/projects/aeb-ui-kit/src/lib/search/search.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/search/search.component.ts +80 -0
- package/projects/aeb-ui-kit/src/lib/search/search.module.ts +15 -0
- package/projects/aeb-ui-kit/src/lib/search/search.stories.ts +118 -0
- package/projects/aeb-ui-kit/src/lib/select/option.component.html +5 -0
- package/projects/aeb-ui-kit/src/lib/select/option.component.ts +36 -0
- package/projects/aeb-ui-kit/src/lib/select/select.component.html +86 -0
- package/projects/aeb-ui-kit/src/lib/select/select.component.scss +154 -0
- package/projects/aeb-ui-kit/src/lib/select/select.component.ts +133 -0
- package/projects/aeb-ui-kit/src/lib/select/select.module.ts +12 -0
- package/projects/aeb-ui-kit/src/lib/select/select.stories.ts +40 -0
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.html +53 -0
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.scss +206 -0
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.ts +31 -0
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.stories.ts +101 -0
- package/projects/aeb-ui-kit/src/lib/slider/pipes/replace.pipe.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/slider/slider.component.html +19 -0
- package/projects/aeb-ui-kit/src/lib/slider/slider.component.scss +85 -0
- package/projects/aeb-ui-kit/src/lib/slider/slider.component.ts +169 -0
- package/projects/aeb-ui-kit/src/lib/slider/slider.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/slider/slider.stories.ts +41 -0
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.html +19 -0
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.scss +90 -0
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.ts +13 -0
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.stories.ts +21 -0
- package/projects/aeb-ui-kit/src/lib/table/table.component.html +72 -0
- package/projects/aeb-ui-kit/src/lib/table/table.component.scss +52 -0
- package/projects/aeb-ui-kit/src/lib/table/table.component.ts +28 -0
- package/projects/aeb-ui-kit/src/lib/table/table.model.ts +35 -0
- package/projects/aeb-ui-kit/src/lib/table/table.module.ts +11 -0
- package/projects/aeb-ui-kit/src/lib/table/table.pipe.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/table/table.stories.ts +165 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tab.directive.spec.ts +8 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tab.directive.ts +16 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.html +32 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.scss +46 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.spec.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.ts +84 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.module.ts +14 -0
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.stories.ts +83 -0
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.html +1 -0
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.scss +22 -0
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.ts +15 -0
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.module.ts +12 -0
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.stories.ts +25 -0
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.html +8 -0
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.scss +274 -0
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.spec.ts +24 -0
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.ts +31 -0
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.module.ts +10 -0
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.stories.ts +47 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa-item.component.html +59 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa-item.component.ts +11 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa-span.directive.ts +21 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa.component.html +8 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa.component.scss +89 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa.component.ts +21 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa.module.ts +24 -0
- package/projects/aeb-ui-kit/src/lib/visa/visa.stories.ts +70 -0
- package/projects/aeb-ui-kit/src/lib/wizard/wizard-step.component.html +3 -0
- package/projects/aeb-ui-kit/src/lib/wizard/wizard-step.component.ts +22 -0
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.html +56 -0
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.scss +142 -0
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.ts +97 -0
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.module.ts +11 -0
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.stories.ts +54 -0
- package/{public-api.d.ts → projects/aeb-ui-kit/src/public-api.ts} +41 -0
- package/projects/aeb-ui-kit/src/styles/styles.scss +12 -0
- package/projects/aeb-ui-kit/src/styles/typography.scss +20 -0
- package/{styles.css → projects/aeb-ui-kit/src/styles/variables.scss} +69 -84
- package/projects/aeb-ui-kit/src/test.ts +26 -0
- package/projects/aeb-ui-kit/tsconfig.lib.json +24 -0
- package/projects/aeb-ui-kit/tsconfig.lib.prod.json +7 -0
- package/projects/aeb-ui-kit/tsconfig.spec.json +17 -0
- package/projects/aeb-ui-kit/tslint.json +17 -0
- package/tsconfig.base.json +25 -0
- package/tsconfig.json +17 -0
- package/tslint.json +140 -0
- package/aeb-ui-kit.d.ts +0 -21
- package/aeb-ui-kit.metadata.json +0 -1
- package/bundles/aeb-ui-kit.umd.js +0 -4828
- package/bundles/aeb-ui-kit.umd.js.map +0 -1
- package/bundles/aeb-ui-kit.umd.min.js +0 -17
- package/bundles/aeb-ui-kit.umd.min.js.map +0 -1
- package/esm2015/aeb-ui-kit.js +0 -22
- package/esm2015/index.js +0 -2
- package/esm2015/lib/accordion/accordion.component.js +0 -35
- package/esm2015/lib/accordion/accordion.module.js +0 -15
- package/esm2015/lib/action-bar/action-bar.component.js +0 -20
- package/esm2015/lib/action-bar/action-bar.module.js +0 -15
- package/esm2015/lib/aeb-ui-kit.module.js +0 -119
- package/esm2015/lib/button/button.component.js +0 -31
- package/esm2015/lib/button/button.module.js +0 -13
- package/esm2015/lib/checkbox/checkbox.component.js +0 -97
- package/esm2015/lib/checkbox/checkbox.module.js +0 -13
- package/esm2015/lib/click-outside/click-outside.directive.js +0 -44
- package/esm2015/lib/click-outside/click-outside.module.js +0 -13
- package/esm2015/lib/comment/comment.component.js +0 -53
- package/esm2015/lib/comment/comment.module.js +0 -25
- package/esm2015/lib/credit-item-card/credit-item-card.component.js +0 -26
- package/esm2015/lib/credit-item-card/credit-item-card.module.js +0 -17
- package/esm2015/lib/credit-item-card/models/IProductItemCard.js +0 -2
- package/esm2015/lib/datepicker/datepicker-core/datepicker-core.component.js +0 -135
- package/esm2015/lib/datepicker/datepicker-month/datepicker-month.component.js +0 -52
- package/esm2015/lib/datepicker/datepicker-tiles/datepicker-tiles.component.js +0 -81
- package/esm2015/lib/datepicker/datepicker.component.js +0 -337
- package/esm2015/lib/datepicker/datepicker.module.js +0 -43
- package/esm2015/lib/datepicker/pipes/date-to-str.pipe.js +0 -13
- package/esm2015/lib/datepicker/services/datepicker-utils.service.js +0 -149
- package/esm2015/lib/datepicker/services/mask-utils.service.js +0 -61
- package/esm2015/lib/dropdown/dropdown.component.js +0 -91
- package/esm2015/lib/dropdown/dropdown.module.js +0 -14
- package/esm2015/lib/field-slider/directives/numbers-only.directive.js +0 -64
- package/esm2015/lib/field-slider/field-slider.component.js +0 -152
- package/esm2015/lib/field-slider/field-slider.module.js +0 -25
- package/esm2015/lib/field-slider/pipes/replace.pipe.js +0 -15
- package/esm2015/lib/file-attach/directives/drag-and-drop.directive.js +0 -40
- package/esm2015/lib/file-attach/file-attach.component.js +0 -63
- package/esm2015/lib/file-attach/file-attach.module.js +0 -15
- package/esm2015/lib/filter-tags/filter-tag/filter-tag.component.js +0 -27
- package/esm2015/lib/filter-tags/filter-tags.component.js +0 -33
- package/esm2015/lib/filter-tags/filter-tags.module.js +0 -16
- package/esm2015/lib/footer/footer-bottom/footer-bottom.component.js +0 -41
- package/esm2015/lib/footer/footer-menu/footer-menu.component.js +0 -57
- package/esm2015/lib/footer/footer-top/footer-top.component.js +0 -24
- package/esm2015/lib/footer/footer.component.js +0 -22
- package/esm2015/lib/footer/footer.module.js +0 -23
- package/esm2015/lib/form-field/form-field.component.js +0 -73
- package/esm2015/lib/form-field/form-field.module.js +0 -17
- package/esm2015/lib/form-field/icon.directive.js +0 -11
- package/esm2015/lib/form-field/input.directive.js +0 -55
- package/esm2015/lib/form-field/label.directive.js +0 -11
- package/esm2015/lib/form-field/textarea.directive.js +0 -55
- package/esm2015/lib/header/header.component.js +0 -23
- package/esm2015/lib/header/header.module.js +0 -14
- package/esm2015/lib/header/logo.component.js +0 -18
- package/esm2015/lib/heading/breadcrumps/breadcrumps.component.js +0 -26
- package/esm2015/lib/heading/heading.component.js +0 -19
- package/esm2015/lib/heading/heading.module.js +0 -17
- package/esm2015/lib/heading/product-title/product-title.component.js +0 -25
- package/esm2015/lib/label/label.component.js +0 -15
- package/esm2015/lib/label/label.module.js +0 -13
- package/esm2015/lib/new-button/new-button.component.js +0 -51
- package/esm2015/lib/new-button/new-button.module.js +0 -13
- package/esm2015/lib/new-dropdown/new-dropdown.component.js +0 -162
- package/esm2015/lib/new-dropdown/new-dropdown.module.js +0 -21
- package/esm2015/lib/new-notifications/new-notifications.component.js +0 -32
- package/esm2015/lib/new-notifications/new-notifications.module.js +0 -15
- package/esm2015/lib/new-tooltip/new-tooltip.component.js +0 -21
- package/esm2015/lib/new-tooltip/new-tooltip.module.js +0 -20
- package/esm2015/lib/new-tooltip/services/domservice.service.js +0 -44
- package/esm2015/lib/new-tooltip/tooltip.directive.js +0 -146
- package/esm2015/lib/news-card/news-card.component.js +0 -17
- package/esm2015/lib/news-card/news-card.module.js +0 -15
- package/esm2015/lib/notifications/notifications.component.js +0 -24
- package/esm2015/lib/notifications/notifications.module.js +0 -13
- package/esm2015/lib/pagination/pagination.component.js +0 -154
- package/esm2015/lib/pagination/pagination.module.js +0 -19
- package/esm2015/lib/pop-up/pop-up.component.js +0 -25
- package/esm2015/lib/pop-up/pop-up.directive.js +0 -57
- package/esm2015/lib/pop-up/pop-up.module.js +0 -16
- package/esm2015/lib/radio-buttons/radio-buttons.component.js +0 -56
- package/esm2015/lib/radio-buttons/radio-buttons.module.js +0 -15
- package/esm2015/lib/search/highlight.pipe.js +0 -12
- package/esm2015/lib/search/search.component.js +0 -56
- package/esm2015/lib/search/search.module.js +0 -18
- package/esm2015/lib/select/option.component.js +0 -25
- package/esm2015/lib/select/select.component.js +0 -108
- package/esm2015/lib/select/select.module.js +0 -15
- package/esm2015/lib/sidebar/sidebar.component.js +0 -32
- package/esm2015/lib/sidebar/sidebar.module.js +0 -13
- package/esm2015/lib/slider/pipes/replace.pipe.js +0 -15
- package/esm2015/lib/slider/slider.component.js +0 -129
- package/esm2015/lib/slider/slider.module.js +0 -17
- package/esm2015/lib/spinner/spinner.component.js +0 -15
- package/esm2015/lib/spinner/spinner.module.js +0 -13
- package/esm2015/lib/table/table.component.js +0 -27
- package/esm2015/lib/table/table.model.js +0 -2
- package/esm2015/lib/table/table.module.js +0 -14
- package/esm2015/lib/table/table.pipe.js +0 -18
- package/esm2015/lib/tabs/tab.directive.js +0 -18
- package/esm2015/lib/tabs/tabs.component.js +0 -64
- package/esm2015/lib/tabs/tabs.module.js +0 -16
- package/esm2015/lib/tag-tab/tag-tab.component.js +0 -19
- package/esm2015/lib/tag-tab/tag-tab.module.js +0 -13
- package/esm2015/lib/tooltip/tooltip.component.js +0 -29
- package/esm2015/lib/tooltip/tooltip.module.js +0 -13
- package/esm2015/lib/visa/visa-item.component.js +0 -16
- package/esm2015/lib/visa/visa-span.directive.js +0 -26
- package/esm2015/lib/visa/visa.component.js +0 -15
- package/esm2015/lib/visa/visa.module.js +0 -25
- package/esm2015/lib/wizard/wizard-step.component.js +0 -33
- package/esm2015/lib/wizard/wizard.component.js +0 -80
- package/esm2015/lib/wizard/wizard.module.js +0 -14
- package/esm2015/public-api.js +0 -96
- package/fesm2015/aeb-ui-kit.js +0 -4082
- package/fesm2015/aeb-ui-kit.js.map +0 -1
- package/lib/accordion/accordion.component.d.ts +0 -10
- package/lib/accordion/accordion.module.d.ts +0 -2
- package/lib/action-bar/action-bar.component.d.ts +0 -7
- package/lib/action-bar/action-bar.module.d.ts +0 -2
- package/lib/aeb-ui-kit.module.d.ts +0 -2
- package/lib/button/button.component.d.ts +0 -9
- package/lib/button/button.module.d.ts +0 -2
- package/lib/checkbox/checkbox.component.d.ts +0 -29
- package/lib/checkbox/checkbox.module.d.ts +0 -2
- package/lib/click-outside/click-outside.directive.d.ts +0 -12
- package/lib/click-outside/click-outside.module.d.ts +0 -2
- package/lib/comment/comment.component.d.ts +0 -36
- package/lib/comment/comment.module.d.ts +0 -2
- package/lib/credit-item-card/credit-item-card.component.d.ts +0 -10
- package/lib/credit-item-card/credit-item-card.module.d.ts +0 -2
- package/lib/datepicker/datepicker-core/datepicker-core.component.d.ts +0 -38
- package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +0 -19
- package/lib/datepicker/datepicker-tiles/datepicker-tiles.component.d.ts +0 -28
- package/lib/datepicker/datepicker.component.d.ts +0 -86
- package/lib/datepicker/datepicker.module.d.ts +0 -4
- package/lib/datepicker/pipes/date-to-str.pipe.d.ts +0 -4
- package/lib/datepicker/services/datepicker-utils.service.d.ts +0 -29
- package/lib/datepicker/services/mask-utils.service.d.ts +0 -7
- package/lib/dropdown/dropdown.component.d.ts +0 -39
- package/lib/dropdown/dropdown.module.d.ts +0 -2
- package/lib/field-slider/directives/numbers-only.directive.d.ts +0 -7
- package/lib/field-slider/field-slider.component.d.ts +0 -31
- package/lib/field-slider/field-slider.module.d.ts +0 -2
- package/lib/field-slider/pipes/replace.pipe.d.ts +0 -4
- package/lib/file-attach/directives/drag-and-drop.directive.d.ts +0 -9
- package/lib/file-attach/file-attach.component.d.ts +0 -25
- package/lib/file-attach/file-attach.module.d.ts +0 -2
- package/lib/filter-tags/filter-tag/filter-tag.component.d.ts +0 -9
- package/lib/filter-tags/filter-tags.component.d.ts +0 -14
- package/lib/filter-tags/filter-tags.module.d.ts +0 -2
- package/lib/footer/footer-bottom/footer-bottom.component.d.ts +0 -13
- package/lib/footer/footer-menu/footer-menu.component.d.ts +0 -13
- package/lib/footer/footer-top/footer-top.component.d.ts +0 -8
- package/lib/footer/footer.component.d.ts +0 -7
- package/lib/footer/footer.module.d.ts +0 -2
- package/lib/form-field/form-field.component.d.ts +0 -16
- package/lib/form-field/form-field.module.d.ts +0 -2
- package/lib/form-field/icon.directive.d.ts +0 -3
- package/lib/form-field/input.directive.d.ts +0 -22
- package/lib/form-field/label.directive.d.ts +0 -3
- package/lib/form-field/textarea.directive.d.ts +0 -22
- package/lib/header/header.component.d.ts +0 -6
- package/lib/header/header.module.d.ts +0 -2
- package/lib/header/logo.component.d.ts +0 -5
- package/lib/heading/breadcrumps/breadcrumps.component.d.ts +0 -8
- package/lib/heading/heading.component.d.ts +0 -6
- package/lib/heading/heading.module.d.ts +0 -2
- package/lib/heading/product-title/product-title.component.d.ts +0 -8
- package/lib/label/label.component.d.ts +0 -5
- package/lib/label/label.module.d.ts +0 -2
- package/lib/new-button/new-button.component.d.ts +0 -38
- package/lib/new-button/new-button.module.d.ts +0 -2
- package/lib/new-dropdown/new-dropdown.component.d.ts +0 -42
- package/lib/new-dropdown/new-dropdown.module.d.ts +0 -2
- package/lib/new-notifications/new-notifications.component.d.ts +0 -17
- package/lib/new-notifications/new-notifications.module.d.ts +0 -2
- package/lib/new-tooltip/new-tooltip.component.d.ts +0 -8
- package/lib/new-tooltip/new-tooltip.module.d.ts +0 -2
- package/lib/new-tooltip/services/domservice.service.d.ts +0 -12
- package/lib/new-tooltip/tooltip.directive.d.ts +0 -47
- package/lib/news-card/news-card.component.d.ts +0 -4
- package/lib/news-card/news-card.module.d.ts +0 -2
- package/lib/notifications/notifications.component.d.ts +0 -12
- package/lib/notifications/notifications.module.d.ts +0 -2
- package/lib/pagination/pagination.component.d.ts +0 -32
- package/lib/pagination/pagination.module.d.ts +0 -2
- package/lib/pop-up/pop-up.component.d.ts +0 -9
- package/lib/pop-up/pop-up.directive.d.ts +0 -12
- package/lib/pop-up/pop-up.module.d.ts +0 -2
- package/lib/radio-buttons/radio-buttons.component.d.ts +0 -23
- package/lib/radio-buttons/radio-buttons.module.d.ts +0 -2
- package/lib/search/highlight.pipe.d.ts +0 -4
- package/lib/search/search.component.d.ts +0 -24
- package/lib/search/search.module.d.ts +0 -2
- package/lib/select/option.component.d.ts +0 -10
- package/lib/select/select.component.d.ts +0 -42
- package/lib/select/select.module.d.ts +0 -2
- package/lib/sidebar/sidebar.component.d.ts +0 -9
- package/lib/sidebar/sidebar.module.d.ts +0 -2
- package/lib/slider/pipes/replace.pipe.d.ts +0 -4
- package/lib/slider/slider.component.d.ts +0 -32
- package/lib/slider/slider.module.d.ts +0 -2
- package/lib/spinner/spinner.component.d.ts +0 -5
- package/lib/spinner/spinner.module.d.ts +0 -2
- package/lib/table/table.component.d.ts +0 -9
- package/lib/table/table.model.d.ts +0 -31
- package/lib/table/table.module.d.ts +0 -2
- package/lib/table/table.pipe.d.ts +0 -4
- package/lib/tabs/tab.directive.d.ts +0 -6
- package/lib/tabs/tabs.component.d.ts +0 -21
- package/lib/tabs/tabs.module.d.ts +0 -2
- package/lib/tag-tab/tag-tab.component.d.ts +0 -4
- package/lib/tag-tab/tag-tab.module.d.ts +0 -2
- package/lib/tooltip/tooltip.component.d.ts +0 -8
- package/lib/tooltip/tooltip.module.d.ts +0 -2
- package/lib/visa/visa-item.component.d.ts +0 -6
- package/lib/visa/visa-span.directive.d.ts +0 -6
- package/lib/visa/visa.component.d.ts +0 -5
- package/lib/visa/visa.module.d.ts +0 -2
- package/lib/wizard/wizard-step.component.d.ts +0 -14
- package/lib/wizard/wizard.component.d.ts +0 -19
- package/lib/wizard/wizard.module.d.ts +0 -2
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
.tooltip-item {
|
|
2
|
+
display: inline-block;
|
|
3
|
+
width: auto;
|
|
4
|
+
z-index: 0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tooltip-body {
|
|
8
|
+
position: absolute;
|
|
9
|
+
visibility: hidden;
|
|
10
|
+
opacity: 0;
|
|
11
|
+
width: auto;
|
|
12
|
+
padding-top: 32px;
|
|
13
|
+
transition: visibility 0s, opacity 0.5s linear;
|
|
14
|
+
filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.15));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.tooltip {
|
|
18
|
+
position: relative;
|
|
19
|
+
display: inline-block;
|
|
20
|
+
&:hover > .tooltip-body {
|
|
21
|
+
visibility: visible;
|
|
22
|
+
opacity: 1;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.tooltip-text {
|
|
27
|
+
background-color: var(--white);
|
|
28
|
+
width: 360px;
|
|
29
|
+
min-height: 56px;
|
|
30
|
+
border-radius: 12px;
|
|
31
|
+
padding: 16px 20px 20px 20px;
|
|
32
|
+
z-index: 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.aeb-top-left-tooltip {
|
|
36
|
+
.tooltip-body {
|
|
37
|
+
top: 100%;
|
|
38
|
+
left: calc(50% - 57px);
|
|
39
|
+
}
|
|
40
|
+
.tooltip-text::after {
|
|
41
|
+
content: " ";
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 18px;
|
|
44
|
+
left: 32px;
|
|
45
|
+
background-color: var(--white);
|
|
46
|
+
border-radius: 0 0 0 8px;
|
|
47
|
+
width: 44px;
|
|
48
|
+
height: 35px;
|
|
49
|
+
transform: rotate(-225deg);
|
|
50
|
+
z-index: -10000;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.aeb-top-center-tooltip {
|
|
55
|
+
.tooltip-body {
|
|
56
|
+
top: 100%;
|
|
57
|
+
left: calc(50% - 198px);
|
|
58
|
+
}
|
|
59
|
+
.tooltip-text::after {
|
|
60
|
+
content: " ";
|
|
61
|
+
position: absolute;
|
|
62
|
+
top: 18px;
|
|
63
|
+
right: calc(50% - 17px);
|
|
64
|
+
background-color: var(--white);
|
|
65
|
+
border-radius: 0 0 0 8px;
|
|
66
|
+
width: 44px;
|
|
67
|
+
height: 35px;
|
|
68
|
+
transform: rotate(-225deg);
|
|
69
|
+
z-index: -10000;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.aeb-top-right-tooltip {
|
|
74
|
+
.tooltip-body {
|
|
75
|
+
top: 100%;
|
|
76
|
+
right: calc(50% - 51px);
|
|
77
|
+
}
|
|
78
|
+
.tooltip-text::after {
|
|
79
|
+
content: " ";
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 18px;
|
|
82
|
+
right: 32px;
|
|
83
|
+
background-color: var(--white);
|
|
84
|
+
border-radius: 0 0 0 8px;
|
|
85
|
+
width: 44px;
|
|
86
|
+
height: 35px;
|
|
87
|
+
transform: rotate(-225deg);
|
|
88
|
+
z-index: -10000;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.aeb-bottom-left-tooltip {
|
|
93
|
+
.tooltip-body {
|
|
94
|
+
padding-top: 0;
|
|
95
|
+
padding-bottom: 32px;
|
|
96
|
+
bottom: 100%;
|
|
97
|
+
left: calc(50% - 51px);
|
|
98
|
+
}
|
|
99
|
+
.tooltip-text::after {
|
|
100
|
+
content: " ";
|
|
101
|
+
position: absolute;
|
|
102
|
+
bottom: 18px;
|
|
103
|
+
left: 32px;
|
|
104
|
+
background-color: var(--white);
|
|
105
|
+
border-radius: 0 0 0 8px;
|
|
106
|
+
width: 44px;
|
|
107
|
+
height: 35px;
|
|
108
|
+
transform: rotate(-45deg);
|
|
109
|
+
z-index: -10000;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.aeb-bottom-center-tooltip {
|
|
114
|
+
.tooltip-body {
|
|
115
|
+
padding-top: 0;
|
|
116
|
+
padding-bottom: 32px;
|
|
117
|
+
bottom: 100%;
|
|
118
|
+
left: calc(50% - 192px);
|
|
119
|
+
}
|
|
120
|
+
.tooltip-text::after {
|
|
121
|
+
content: " ";
|
|
122
|
+
position: absolute;
|
|
123
|
+
bottom: 18px;
|
|
124
|
+
right: calc(50% - 17px);
|
|
125
|
+
background-color: var(--white);
|
|
126
|
+
border-radius: 0 0 0 8px;
|
|
127
|
+
width: 44px;
|
|
128
|
+
height: 35px;
|
|
129
|
+
transform: rotate(-45deg);
|
|
130
|
+
z-index: -10000;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.aeb-bottom-right-tooltip {
|
|
135
|
+
.tooltip-body {
|
|
136
|
+
padding-top: 0;
|
|
137
|
+
padding-bottom: 32px;
|
|
138
|
+
bottom: 100%;
|
|
139
|
+
right: calc(50% - 57px);
|
|
140
|
+
}
|
|
141
|
+
.tooltip-text::after {
|
|
142
|
+
content: " ";
|
|
143
|
+
position: absolute;
|
|
144
|
+
bottom: 18px;
|
|
145
|
+
right: 32px;
|
|
146
|
+
background-color: var(--white);
|
|
147
|
+
border-radius: 0 0 0 8px;
|
|
148
|
+
width: 44px;
|
|
149
|
+
height: 35px;
|
|
150
|
+
transform: rotate(-45deg);
|
|
151
|
+
z-index: -10000;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.aeb-left-top-tooltip {
|
|
156
|
+
.tooltip-body {
|
|
157
|
+
padding-top: 0;
|
|
158
|
+
padding-left: 32px;
|
|
159
|
+
left: 100%;
|
|
160
|
+
top: calc(50% - 47px);
|
|
161
|
+
}
|
|
162
|
+
.tooltip-text::after {
|
|
163
|
+
content: " ";
|
|
164
|
+
position: absolute;
|
|
165
|
+
top: 32px;
|
|
166
|
+
left: 18px;
|
|
167
|
+
background-color: var(--white);
|
|
168
|
+
border-radius: 0 0 0 8px;
|
|
169
|
+
width: 44px;
|
|
170
|
+
height: 35px;
|
|
171
|
+
transform: rotate(45deg);
|
|
172
|
+
z-index: -10000;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.aeb-left-center-tooltip {
|
|
177
|
+
.tooltip-body {
|
|
178
|
+
padding-top: 0;
|
|
179
|
+
padding-left: 32px;
|
|
180
|
+
left: 100%;
|
|
181
|
+
//top: calc(50% - 47px);
|
|
182
|
+
}
|
|
183
|
+
.tooltip-text::after {
|
|
184
|
+
content: " ";
|
|
185
|
+
position: absolute;
|
|
186
|
+
top: calc(50% - 17px);
|
|
187
|
+
left: 18px;
|
|
188
|
+
background-color: var(--white);
|
|
189
|
+
border-radius: 0 0 0 8px;
|
|
190
|
+
width: 44px;
|
|
191
|
+
height: 35px;
|
|
192
|
+
transform: rotate(45deg);
|
|
193
|
+
z-index: -10000;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.aeb-left-bottom-tooltip {
|
|
198
|
+
.tooltip-body {
|
|
199
|
+
padding-top: 0;
|
|
200
|
+
padding-left: 32px;
|
|
201
|
+
left: 100%;
|
|
202
|
+
bottom: calc(50% - 52px);
|
|
203
|
+
}
|
|
204
|
+
.tooltip-text::after {
|
|
205
|
+
content: " ";
|
|
206
|
+
position: absolute;
|
|
207
|
+
bottom: 32px;
|
|
208
|
+
left: 18px;
|
|
209
|
+
background-color: var(--white);
|
|
210
|
+
border-radius: 0 0 0 8px;
|
|
211
|
+
width: 44px;
|
|
212
|
+
height: 35px;
|
|
213
|
+
transform: rotate(45deg);
|
|
214
|
+
z-index: -10000;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.aeb-right-top-tooltip {
|
|
219
|
+
.tooltip-body {
|
|
220
|
+
padding-top: 0;
|
|
221
|
+
padding-right: 32px;
|
|
222
|
+
right: 100%;
|
|
223
|
+
top: calc(50% - 53px);
|
|
224
|
+
}
|
|
225
|
+
.tooltip-text::after {
|
|
226
|
+
content: " ";
|
|
227
|
+
position: absolute;
|
|
228
|
+
top: 32px;
|
|
229
|
+
right: 18px;
|
|
230
|
+
background-color: var(--white);
|
|
231
|
+
border-radius: 0 0 0 8px;
|
|
232
|
+
width: 44px;
|
|
233
|
+
height: 35px;
|
|
234
|
+
transform: rotate(-135deg);
|
|
235
|
+
z-index: -10000;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
.aeb-right-center-tooltip {
|
|
241
|
+
.tooltip-text::after {
|
|
242
|
+
content: " ";
|
|
243
|
+
position: absolute;
|
|
244
|
+
bottom: calc(50% - 12px);
|
|
245
|
+
left: calc(100% - 25px);
|
|
246
|
+
background-color: var(--white);
|
|
247
|
+
border-radius: 0 0 0 8px;
|
|
248
|
+
width: 44px;
|
|
249
|
+
height: 35px;
|
|
250
|
+
transform: rotate(-135deg);
|
|
251
|
+
z-index: -10000;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.aeb-right-bottom-tooltip {
|
|
256
|
+
.tooltip-body {
|
|
257
|
+
padding-top: 0;
|
|
258
|
+
padding-right: 32px;
|
|
259
|
+
right: 100%;
|
|
260
|
+
bottom: calc(50% - 47px);
|
|
261
|
+
}
|
|
262
|
+
.tooltip-text::after {
|
|
263
|
+
content: " ";
|
|
264
|
+
position: absolute;
|
|
265
|
+
bottom: 32px;
|
|
266
|
+
right: 18px;
|
|
267
|
+
background-color: var(--white);
|
|
268
|
+
border-radius: 0 0 0 8px;
|
|
269
|
+
width: 44px;
|
|
270
|
+
height: 35px;
|
|
271
|
+
transform: rotate(-135deg);
|
|
272
|
+
z-index: -10000;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { TooltipComponent } from './tooltip.component';
|
|
4
|
+
|
|
5
|
+
describe('ButtonComponent', () => {
|
|
6
|
+
let component: TooltipComponent;
|
|
7
|
+
let fixture: ComponentFixture<TooltipComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async(() => {
|
|
10
|
+
TestBed.configureTestingModule({
|
|
11
|
+
declarations: [TooltipComponent],
|
|
12
|
+
}).compileComponents();
|
|
13
|
+
}));
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
fixture = TestBed.createComponent(TooltipComponent);
|
|
17
|
+
component = fixture.componentInstance;
|
|
18
|
+
fixture.detectChanges();
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it('should create', () => {
|
|
22
|
+
expect(component).toBeTruthy();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Component,
|
|
3
|
+
OnInit,
|
|
4
|
+
Input,
|
|
5
|
+
ViewEncapsulation,
|
|
6
|
+
ElementRef,
|
|
7
|
+
OnChanges
|
|
8
|
+
} from '@angular/core';
|
|
9
|
+
|
|
10
|
+
@Component({
|
|
11
|
+
selector: 'aeb-tooltip',
|
|
12
|
+
templateUrl: './tooltip.component.html',
|
|
13
|
+
styleUrls: ['./tooltip.component.scss'],
|
|
14
|
+
encapsulation: ViewEncapsulation.None
|
|
15
|
+
})
|
|
16
|
+
export class TooltipComponent implements OnInit, OnChanges {
|
|
17
|
+
@Input()
|
|
18
|
+
align?: 'top-left' | 'top-center' | 'top-right' | 'right-top' | 'right-center' | 'right-bottom' | 'bottom-right' | 'bottom-center' | 'bottom-left' | 'left-bottom' | 'left-center' | 'left-top';
|
|
19
|
+
|
|
20
|
+
constructor(private elementRef: ElementRef<HTMLButtonElement>) {}
|
|
21
|
+
|
|
22
|
+
ngOnInit(): void {
|
|
23
|
+
this.elementRef.nativeElement.classList.add(`aeb-${this.align}-tooltip`);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
ngOnChanges(changes: any): void {
|
|
27
|
+
if (changes.align) {
|
|
28
|
+
this.elementRef.nativeElement.className = `aeb-${this.align}-tooltip`;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { TooltipComponent } from './tooltip.component';
|
|
4
|
+
|
|
5
|
+
@NgModule({
|
|
6
|
+
declarations: [TooltipComponent],
|
|
7
|
+
imports: [CommonModule],
|
|
8
|
+
exports: [TooltipComponent]
|
|
9
|
+
})
|
|
10
|
+
export class TooltipModule {}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { TooltipComponent } from './tooltip.component';
|
|
2
|
+
import { select } from '@storybook/addon-knobs';
|
|
3
|
+
import { moduleMetadata } from '@storybook/angular';
|
|
4
|
+
import { Story } from '@storybook/angular/types-6-0';
|
|
5
|
+
|
|
6
|
+
const wrapper = `
|
|
7
|
+
padding: 200px;
|
|
8
|
+
padding-left: 500px;
|
|
9
|
+
`
|
|
10
|
+
|
|
11
|
+
const options = [
|
|
12
|
+
'top-left',
|
|
13
|
+
'top-center',
|
|
14
|
+
'top-right',
|
|
15
|
+
'bottom-left',
|
|
16
|
+
'bottom-center',
|
|
17
|
+
'bottom-right',
|
|
18
|
+
'left-top',
|
|
19
|
+
'left-bottom',
|
|
20
|
+
'right-top',
|
|
21
|
+
'right-bottom'
|
|
22
|
+
];
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
title: 'Components/Tooltip',
|
|
26
|
+
component: TooltipComponent,
|
|
27
|
+
decorators: [
|
|
28
|
+
moduleMetadata({
|
|
29
|
+
declarations: [TooltipComponent]
|
|
30
|
+
})
|
|
31
|
+
]
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const Default: Story<TooltipComponent> = () => ({
|
|
35
|
+
component: TooltipComponent,
|
|
36
|
+
template: `
|
|
37
|
+
<div style="${wrapper}">
|
|
38
|
+
<aeb-tooltip [align]="align">
|
|
39
|
+
<div class="tooltip-item" style="color:white">HOVER ME</div>
|
|
40
|
+
<div tooltip-text>LoremIpsum<br>LoremIpsum<br>LoremIpsum<br>LoremIpsum<br>LoremIpsum</div>
|
|
41
|
+
</aeb-tooltip>
|
|
42
|
+
</div>
|
|
43
|
+
`,
|
|
44
|
+
props: {
|
|
45
|
+
align: select('Align', options, 'top-left')
|
|
46
|
+
}
|
|
47
|
+
});
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<div [ngSwitch]="status" class="aeb-visa-icon">
|
|
2
|
+
<ng-template ngSwitchCase="isReturned">
|
|
3
|
+
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4
|
+
<circle cx="10" cy="10" r="10" fill="#FF3055" />
|
|
5
|
+
<rect
|
|
6
|
+
x="5"
|
|
7
|
+
y="5.88379"
|
|
8
|
+
width="1.75"
|
|
9
|
+
height="12.5"
|
|
10
|
+
rx="0.875"
|
|
11
|
+
transform="rotate(-45 5 5.88379)"
|
|
12
|
+
fill="white"
|
|
13
|
+
/>
|
|
14
|
+
<rect
|
|
15
|
+
width="1.75"
|
|
16
|
+
height="12.5"
|
|
17
|
+
rx="0.875"
|
|
18
|
+
transform="matrix(-0.707107 -0.707107 -0.707107 0.707107 14.7229 5.88379)"
|
|
19
|
+
fill="white"
|
|
20
|
+
/>
|
|
21
|
+
</svg>
|
|
22
|
+
|
|
23
|
+
<div class="aeb-visa-progress"></div>
|
|
24
|
+
</ng-template>
|
|
25
|
+
<ng-template ngSwitchCase="isAgreed">
|
|
26
|
+
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
27
|
+
<path
|
|
28
|
+
d="M10.0283 0.0283264C4.5298 0.0127068 0.0439644 4.47313 0.0283447 9.97167C0.012725 15.4702 4.47315 19.9561 9.97169 19.9717C15.4702 19.9873 19.9561 15.5269 19.9717 10.0283C19.9873 4.52978 15.5269 0.0439461 10.0283 0.0283264Z"
|
|
29
|
+
fill="#00BF41"
|
|
30
|
+
/>
|
|
31
|
+
<path
|
|
32
|
+
d="M13.109 6.98264L9.52446 11.2591L7.67997 9.40447C7.35682 9.07906 6.82998 9.07756 6.50498 9.40114C6.17956 9.72471 6.17807 10.2507 6.50164 10.5761L8.98748 13.0761C9.14367 13.2328 9.35491 13.3206 9.5747 13.3213C9.58716 13.3213 9.60004 13.3213 9.61251 13.3205C9.84563 13.3108 10.0641 13.203 10.2141 13.0239L14.3832 8.04991C14.6779 7.69799 14.6316 7.17435 14.2801 6.87918C13.9282 6.58485 13.4037 6.63072 13.109 6.98264Z"
|
|
33
|
+
fill="white"
|
|
34
|
+
/>
|
|
35
|
+
</svg>
|
|
36
|
+
|
|
37
|
+
<div class="aeb-visa-progress agreed"></div>
|
|
38
|
+
</ng-template>
|
|
39
|
+
<ng-template ngSwitchCase="isProgress"
|
|
40
|
+
><svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
41
|
+
<circle cx="10" cy="10" r="10" fill="#E7EAEC" />
|
|
42
|
+
<path
|
|
43
|
+
d="M10 3C6.1402 3 3 6.1402 3 10C3 13.8598 6.1402 17 10 17C13.8598 17 17 13.8598 17 10C17 6.1402 13.8598 3 10 3ZM10 15.5105C6.96153 15.5105 4.48934 13.0386 4.48934 10C4.48934 6.96138 6.96153 4.48948 10 4.48948C13.0385 4.48948 15.5107 6.96138 15.5107 10C15.5107 13.0386 13.0385 15.5105 10 15.5105Z"
|
|
44
|
+
fill="white"
|
|
45
|
+
/>
|
|
46
|
+
<path
|
|
47
|
+
d="M13.4088 9.95425H10.1823V6.52288C10.1823 6.23412 9.91762 6 9.59116 6C9.26469 6 9 6.23412 9 6.52288V10.4771C9 10.7659 9.26469 11 9.59116 11H13.4088C13.7353 11 14 10.7659 14 10.4771C14 10.1884 13.7353 9.95425 13.4088 9.95425Z"
|
|
48
|
+
fill="white"
|
|
49
|
+
stroke="white"
|
|
50
|
+
stroke-width="0.3"
|
|
51
|
+
/>
|
|
52
|
+
</svg>
|
|
53
|
+
|
|
54
|
+
<div class="aeb-visa-progress"></div>
|
|
55
|
+
</ng-template>
|
|
56
|
+
</div>
|
|
57
|
+
<div class="aeb-visa-status {{ status }}">
|
|
58
|
+
<ng-content></ng-content>
|
|
59
|
+
</div>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Component, OnInit, Input, ContentChild } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'aeb-visa-item',
|
|
5
|
+
templateUrl: './visa-item.component.html',
|
|
6
|
+
})
|
|
7
|
+
export class VisaItemComponent implements OnInit {
|
|
8
|
+
@Input() public status: String;
|
|
9
|
+
constructor() {}
|
|
10
|
+
ngOnInit(): void {}
|
|
11
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Directive({
|
|
4
|
+
selector: 'span[title]',
|
|
5
|
+
host: {
|
|
6
|
+
class: 'aeb-visa-title',
|
|
7
|
+
},
|
|
8
|
+
})
|
|
9
|
+
export class SpanTitleDirective {
|
|
10
|
+
constructor() {}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@Directive({
|
|
14
|
+
selector: 'span[subtitle]',
|
|
15
|
+
host: {
|
|
16
|
+
class: 'aeb-visa-subtitle',
|
|
17
|
+
},
|
|
18
|
+
})
|
|
19
|
+
export class SpanSubtitleDirective {
|
|
20
|
+
constructor() {}
|
|
21
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
$padding-visa: 24px 22px 24px 22px;
|
|
2
|
+
$size-icon: 20px;
|
|
3
|
+
|
|
4
|
+
.aeb-visa {
|
|
5
|
+
width: 100%;
|
|
6
|
+
background: var(--white);
|
|
7
|
+
border-radius: 12px;
|
|
8
|
+
padding: $padding-visa;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
color: var(--darkblue);
|
|
11
|
+
|
|
12
|
+
> h3 {
|
|
13
|
+
margin: 0;
|
|
14
|
+
font-weight: bold;
|
|
15
|
+
font-size: 20px;
|
|
16
|
+
line-height: 23px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.aeb-visa-timeline {
|
|
20
|
+
margin-top: 3rem;
|
|
21
|
+
|
|
22
|
+
> aeb-visa-item {
|
|
23
|
+
margin-bottom: 2rem;
|
|
24
|
+
display: flex;
|
|
25
|
+
}
|
|
26
|
+
& aeb-visa-item:last-child {
|
|
27
|
+
margin-bottom: 0rem;
|
|
28
|
+
.aeb-visa-progress {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.aeb-visa-icon {
|
|
33
|
+
position: relative;
|
|
34
|
+
z-index: 2;
|
|
35
|
+
width: $size-icon;
|
|
36
|
+
height: $size-icon;
|
|
37
|
+
flex: none;
|
|
38
|
+
display: block;
|
|
39
|
+
> svg {
|
|
40
|
+
width: $size-icon;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.aeb-visa-progress {
|
|
44
|
+
width: 2px;
|
|
45
|
+
height: 70px;
|
|
46
|
+
background: #e7eaec;
|
|
47
|
+
z-index: -1;
|
|
48
|
+
position: relative;
|
|
49
|
+
top: -($size-icon/2-1px);
|
|
50
|
+
left: $size-icon/2-1px;
|
|
51
|
+
&.agreed {
|
|
52
|
+
background: #00bf41;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.aeb-visa-status {
|
|
57
|
+
margin-left: 20px;
|
|
58
|
+
&.isReturned {
|
|
59
|
+
.aeb-visa-title {
|
|
60
|
+
color: #ff3055;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
&.isAgreed {
|
|
64
|
+
.aeb-visa-title {
|
|
65
|
+
color: #00bf41;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
.aeb-visa-title {
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
line-height: 22px;
|
|
74
|
+
color: #27303e;
|
|
75
|
+
}
|
|
76
|
+
.aeb-visa-subtitle {
|
|
77
|
+
font-weight: normal;
|
|
78
|
+
font-size: 16px;
|
|
79
|
+
line-height: 22px;
|
|
80
|
+
color: #9ca8af;
|
|
81
|
+
display: block;
|
|
82
|
+
}
|
|
83
|
+
@media (max-width: 767px) {
|
|
84
|
+
.aeb-visa {
|
|
85
|
+
> h3 {
|
|
86
|
+
font-size: 14px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Component,
|
|
3
|
+
OnInit,
|
|
4
|
+
ViewEncapsulation,
|
|
5
|
+
Output,
|
|
6
|
+
Input,
|
|
7
|
+
EventEmitter,
|
|
8
|
+
} from '@angular/core';
|
|
9
|
+
|
|
10
|
+
import { VisaItemComponent } from './visa-item.component';
|
|
11
|
+
|
|
12
|
+
@Component({
|
|
13
|
+
selector: 'aeb-visa',
|
|
14
|
+
templateUrl: './visa.component.html',
|
|
15
|
+
styleUrls: ['./visa.component.scss'],
|
|
16
|
+
encapsulation: ViewEncapsulation.None,
|
|
17
|
+
})
|
|
18
|
+
export class VisaComponent implements OnInit {
|
|
19
|
+
constructor() {}
|
|
20
|
+
ngOnInit(): void {}
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { VisaComponent } from './visa.component';
|
|
4
|
+
import { VisaItemComponent } from './visa-item.component';
|
|
5
|
+
import {
|
|
6
|
+
SpanTitleDirective,
|
|
7
|
+
SpanSubtitleDirective,
|
|
8
|
+
} from './visa-span.directive';
|
|
9
|
+
@NgModule({
|
|
10
|
+
declarations: [
|
|
11
|
+
VisaComponent,
|
|
12
|
+
VisaItemComponent,
|
|
13
|
+
SpanTitleDirective,
|
|
14
|
+
SpanSubtitleDirective,
|
|
15
|
+
],
|
|
16
|
+
imports: [CommonModule],
|
|
17
|
+
exports: [
|
|
18
|
+
VisaComponent,
|
|
19
|
+
VisaItemComponent,
|
|
20
|
+
SpanTitleDirective,
|
|
21
|
+
SpanSubtitleDirective,
|
|
22
|
+
],
|
|
23
|
+
})
|
|
24
|
+
export class VisaModule {}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { VisaModule } from './visa.module';
|
|
2
|
+
import { VisaItemComponent } from './visa-item.component';
|
|
3
|
+
import { ButtonModule } from '../button/button.module';
|
|
4
|
+
|
|
5
|
+
import { moduleMetadata } from '@storybook/angular';
|
|
6
|
+
import { Story } from '@storybook/angular/types-6-0';
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
title: 'Components/Visa',
|
|
10
|
+
component: VisaItemComponent,
|
|
11
|
+
decorators: [
|
|
12
|
+
moduleMetadata({
|
|
13
|
+
imports: [
|
|
14
|
+
ButtonModule,
|
|
15
|
+
VisaModule
|
|
16
|
+
]
|
|
17
|
+
})
|
|
18
|
+
]
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export const Default: Story<VisaItemComponent> = () => ({
|
|
22
|
+
component: VisaItemComponent,
|
|
23
|
+
template: `
|
|
24
|
+
<aeb-visa>
|
|
25
|
+
<aeb-visa-item [status]="'isProgress'">
|
|
26
|
+
<span title>
|
|
27
|
+
Верификатор
|
|
28
|
+
</span>
|
|
29
|
+
<span subtitle>
|
|
30
|
+
На рассмотрении
|
|
31
|
+
</span>
|
|
32
|
+
</aeb-visa-item>
|
|
33
|
+
|
|
34
|
+
<aeb-visa-item [status]="'isProgress'">
|
|
35
|
+
<span title>
|
|
36
|
+
Кредитный аналитик
|
|
37
|
+
</span>
|
|
38
|
+
<span subtitle>
|
|
39
|
+
На рассмотрении
|
|
40
|
+
</span>
|
|
41
|
+
</aeb-visa-item>
|
|
42
|
+
|
|
43
|
+
<aeb-visa-item [status]="'isReturned'">
|
|
44
|
+
<span title>
|
|
45
|
+
Подразделение кредитных рисков
|
|
46
|
+
</span>
|
|
47
|
+
<span subtitle>
|
|
48
|
+
Отправлено на доработку
|
|
49
|
+
</span>
|
|
50
|
+
</aeb-visa-item>
|
|
51
|
+
|
|
52
|
+
<aeb-visa-item [status]="'isAgreed'">
|
|
53
|
+
<span title>
|
|
54
|
+
Залоговое подразделение
|
|
55
|
+
</span>
|
|
56
|
+
<span subtitle>
|
|
57
|
+
Согласовано
|
|
58
|
+
</span>
|
|
59
|
+
</aeb-visa-item>
|
|
60
|
+
<aeb-visa-item [status]="'isAgreed'">
|
|
61
|
+
<span title>
|
|
62
|
+
Залоговое подразделение
|
|
63
|
+
</span>
|
|
64
|
+
<span subtitle>
|
|
65
|
+
Согласовано
|
|
66
|
+
</span>
|
|
67
|
+
</aeb-visa-item>
|
|
68
|
+
</aeb-visa>
|
|
69
|
+
`
|
|
70
|
+
});
|