aeb-ui-kit 0.0.117 → 0.0.121
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 +24 -17
- package/aeb-ui-kit.d.ts +21 -0
- package/aeb-ui-kit.metadata.json +1 -0
- package/{projects/aeb-ui-kit/src/assets → assets}/fonts/LICENSE.txt +202 -202
- package/{projects/aeb-ui-kit/src/assets → assets}/fonts/Roboto-Bold.ttf +0 -0
- package/{projects/aeb-ui-kit/src/assets → assets}/fonts/Roboto-Medium.ttf +0 -0
- package/{projects/aeb-ui-kit/src/assets → assets}/fonts/Roboto-Regular.ttf +0 -0
- package/{projects/aeb-ui-kit/src/assets → assets}/images/arrow_down/arrow_down_blue.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/arrow_down/arrow_down_gray.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/arrow_down/arrow_down_turquoise.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/arrow_down/arrow_down_white.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/attach/passport_primary.svg +13 -13
- package/{projects/aeb-ui-kit/src/assets → assets}/images/attach/passport_secondary.svg +15 -15
- package/{projects/aeb-ui-kit/src/assets → assets}/images/background-search.png +0 -0
- package/{projects/aeb-ui-kit/src/assets → assets}/images/clip.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/clip_blue.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/close.svg +4 -4
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-add.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-back.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-blocked.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-checked.svg +3 -3
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-download.svg +4 -4
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-edit.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-failure.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-more.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-rework.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-spinner.svg +9 -9
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-subtract.svg +4 -4
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-success.svg +4 -4
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-time.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/icon-trash.svg +6 -6
- package/{projects/aeb-ui-kit/src/assets → assets}/images/info.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/nt-icon.svg +6 -6
- package/{projects/aeb-ui-kit/src/assets → assets}/images/visa/icon_failure.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/visa/icon_time.svg +5 -5
- package/{projects/aeb-ui-kit/src/assets → assets}/images/visa/success_icon.svg +4 -4
- package/bundles/aeb-ui-kit.umd.js +4842 -0
- package/bundles/aeb-ui-kit.umd.js.map +1 -0
- package/bundles/aeb-ui-kit.umd.min.js +17 -0
- package/bundles/aeb-ui-kit.umd.min.js.map +1 -0
- package/esm2015/aeb-ui-kit.js +22 -0
- package/esm2015/index.js +2 -0
- package/esm2015/lib/accordion/accordion.component.js +35 -0
- package/esm2015/lib/accordion/accordion.module.js +15 -0
- package/esm2015/lib/action-bar/action-bar.component.js +20 -0
- package/esm2015/lib/action-bar/action-bar.module.js +15 -0
- package/esm2015/lib/aeb-ui-kit.module.js +119 -0
- package/esm2015/lib/button/button.component.js +31 -0
- package/esm2015/lib/button/button.module.js +13 -0
- package/esm2015/lib/checkbox/checkbox.component.js +97 -0
- package/esm2015/lib/checkbox/checkbox.module.js +13 -0
- package/esm2015/lib/click-outside/click-outside.directive.js +44 -0
- package/esm2015/lib/click-outside/click-outside.module.js +13 -0
- package/esm2015/lib/comment/comment.component.js +53 -0
- package/esm2015/lib/comment/comment.module.js +25 -0
- package/esm2015/lib/credit-item-card/credit-item-card.component.js +26 -0
- package/esm2015/lib/credit-item-card/credit-item-card.module.js +17 -0
- package/esm2015/lib/credit-item-card/models/IProductItemCard.js +2 -0
- package/esm2015/lib/datepicker/datepicker-core/datepicker-core.component.js +135 -0
- package/esm2015/lib/datepicker/datepicker-month/datepicker-month.component.js +52 -0
- package/esm2015/lib/datepicker/datepicker-tiles/datepicker-tiles.component.js +81 -0
- package/esm2015/lib/datepicker/datepicker.component.js +337 -0
- package/esm2015/lib/datepicker/datepicker.module.js +43 -0
- package/esm2015/lib/datepicker/pipes/date-to-str.pipe.js +13 -0
- package/esm2015/lib/datepicker/services/datepicker-utils.service.js +149 -0
- package/esm2015/lib/datepicker/services/mask-utils.service.js +61 -0
- package/esm2015/lib/dropdown/dropdown.component.js +91 -0
- package/esm2015/lib/dropdown/dropdown.module.js +14 -0
- package/esm2015/lib/field-slider/directives/numbers-only.directive.js +64 -0
- package/esm2015/lib/field-slider/field-slider.component.js +152 -0
- package/esm2015/lib/field-slider/field-slider.module.js +25 -0
- package/esm2015/lib/field-slider/pipes/replace.pipe.js +15 -0
- package/esm2015/lib/file-attach/directives/drag-and-drop.directive.js +40 -0
- package/esm2015/lib/file-attach/file-attach.component.js +63 -0
- package/esm2015/lib/file-attach/file-attach.module.js +15 -0
- package/esm2015/lib/filter-tags/filter-tag/filter-tag.component.js +27 -0
- package/esm2015/lib/filter-tags/filter-tags.component.js +33 -0
- package/esm2015/lib/filter-tags/filter-tags.module.js +16 -0
- package/esm2015/lib/footer/footer-bottom/footer-bottom.component.js +41 -0
- package/esm2015/lib/footer/footer-menu/footer-menu.component.js +57 -0
- package/esm2015/lib/footer/footer-top/footer-top.component.js +24 -0
- package/esm2015/lib/footer/footer.component.js +22 -0
- package/esm2015/lib/footer/footer.module.js +23 -0
- package/esm2015/lib/form-field/form-field.component.js +73 -0
- package/esm2015/lib/form-field/form-field.module.js +17 -0
- package/esm2015/lib/form-field/icon.directive.js +11 -0
- package/esm2015/lib/form-field/input.directive.js +55 -0
- package/esm2015/lib/form-field/label.directive.js +11 -0
- package/esm2015/lib/form-field/textarea.directive.js +55 -0
- package/esm2015/lib/header/header.component.js +23 -0
- package/esm2015/lib/header/header.module.js +14 -0
- package/esm2015/lib/header/logo.component.js +18 -0
- package/esm2015/lib/heading/breadcrumps/breadcrumps.component.js +26 -0
- package/esm2015/lib/heading/heading.component.js +19 -0
- package/esm2015/lib/heading/heading.module.js +17 -0
- package/esm2015/lib/heading/product-title/product-title.component.js +25 -0
- package/esm2015/lib/label/label.component.js +15 -0
- package/esm2015/lib/label/label.module.js +13 -0
- package/esm2015/lib/new-button/new-button.component.js +51 -0
- package/esm2015/lib/new-button/new-button.module.js +13 -0
- package/esm2015/lib/new-dropdown/new-dropdown.component.js +162 -0
- package/esm2015/lib/new-dropdown/new-dropdown.module.js +21 -0
- package/esm2015/lib/new-notifications/new-notifications.component.js +37 -0
- package/esm2015/lib/new-notifications/new-notifications.module.js +15 -0
- package/esm2015/lib/new-tooltip/new-tooltip.component.js +21 -0
- package/esm2015/lib/new-tooltip/new-tooltip.module.js +20 -0
- package/esm2015/lib/new-tooltip/services/domservice.service.js +44 -0
- package/esm2015/lib/new-tooltip/tooltip.directive.js +146 -0
- package/esm2015/lib/news-card/news-card.component.js +17 -0
- package/esm2015/lib/news-card/news-card.module.js +15 -0
- package/esm2015/lib/notifications/notifications.component.js +24 -0
- package/esm2015/lib/notifications/notifications.module.js +13 -0
- package/esm2015/lib/pagination/pagination.component.js +154 -0
- package/esm2015/lib/pagination/pagination.module.js +19 -0
- package/esm2015/lib/pop-up/pop-up.component.js +25 -0
- package/esm2015/lib/pop-up/pop-up.directive.js +57 -0
- package/esm2015/lib/pop-up/pop-up.module.js +16 -0
- package/esm2015/lib/radio-buttons/radio-buttons.component.js +56 -0
- package/esm2015/lib/radio-buttons/radio-buttons.module.js +15 -0
- package/esm2015/lib/search/highlight.pipe.js +12 -0
- package/esm2015/lib/search/search.component.js +56 -0
- package/esm2015/lib/search/search.module.js +18 -0
- package/esm2015/lib/select/option.component.js +25 -0
- package/esm2015/lib/select/select.component.js +108 -0
- package/esm2015/lib/select/select.module.js +15 -0
- package/esm2015/lib/sidebar/sidebar.component.js +32 -0
- package/esm2015/lib/sidebar/sidebar.module.js +13 -0
- package/esm2015/lib/slider/pipes/replace.pipe.js +15 -0
- package/esm2015/lib/slider/slider.component.js +129 -0
- package/esm2015/lib/slider/slider.module.js +17 -0
- package/esm2015/lib/spinner/spinner.component.js +15 -0
- package/esm2015/lib/spinner/spinner.module.js +13 -0
- package/esm2015/lib/table/table.component.js +27 -0
- package/esm2015/lib/table/table.model.js +2 -0
- package/esm2015/lib/table/table.module.js +14 -0
- package/esm2015/lib/table/table.pipe.js +18 -0
- package/esm2015/lib/tabs/tab.directive.js +18 -0
- package/esm2015/lib/tabs/tabs.component.js +64 -0
- package/esm2015/lib/tabs/tabs.module.js +16 -0
- package/esm2015/lib/tag-tab/tag-tab.component.js +19 -0
- package/esm2015/lib/tag-tab/tag-tab.module.js +13 -0
- package/esm2015/lib/tooltip/tooltip.component.js +29 -0
- package/esm2015/lib/tooltip/tooltip.module.js +13 -0
- package/esm2015/lib/visa/visa-item.component.js +16 -0
- package/esm2015/lib/visa/visa-span.directive.js +26 -0
- package/esm2015/lib/visa/visa.component.js +15 -0
- package/esm2015/lib/visa/visa.module.js +25 -0
- package/esm2015/lib/wizard/wizard-step.component.js +33 -0
- package/esm2015/lib/wizard/wizard.component.js +80 -0
- package/esm2015/lib/wizard/wizard.module.js +14 -0
- package/esm2015/public-api.js +96 -0
- package/fesm2015/aeb-ui-kit.js +4087 -0
- package/fesm2015/aeb-ui-kit.js.map +1 -0
- package/{projects/aeb-ui-kit/src/index.ts → index.d.ts} +1 -1
- package/lib/accordion/accordion.component.d.ts +10 -0
- package/lib/accordion/accordion.module.d.ts +2 -0
- package/lib/action-bar/action-bar.component.d.ts +7 -0
- package/lib/action-bar/action-bar.module.d.ts +2 -0
- package/lib/aeb-ui-kit.module.d.ts +2 -0
- package/lib/button/button.component.d.ts +9 -0
- package/lib/button/button.module.d.ts +2 -0
- package/lib/checkbox/checkbox.component.d.ts +29 -0
- package/lib/checkbox/checkbox.module.d.ts +2 -0
- package/lib/click-outside/click-outside.directive.d.ts +12 -0
- package/lib/click-outside/click-outside.module.d.ts +2 -0
- package/lib/comment/comment.component.d.ts +36 -0
- package/lib/comment/comment.module.d.ts +2 -0
- package/lib/credit-item-card/credit-item-card.component.d.ts +10 -0
- package/lib/credit-item-card/credit-item-card.module.d.ts +2 -0
- package/{projects/aeb-ui-kit/src/lib/credit-item-card/models/IProductItemCard.ts → lib/credit-item-card/models/IProductItemCard.d.ts} +16 -17
- package/lib/datepicker/datepicker-core/datepicker-core.component.d.ts +38 -0
- package/lib/datepicker/datepicker-month/datepicker-month.component.d.ts +19 -0
- package/lib/datepicker/datepicker-tiles/datepicker-tiles.component.d.ts +28 -0
- package/lib/datepicker/datepicker.component.d.ts +86 -0
- package/lib/datepicker/datepicker.module.d.ts +4 -0
- package/lib/datepicker/pipes/date-to-str.pipe.d.ts +4 -0
- package/lib/datepicker/services/datepicker-utils.service.d.ts +29 -0
- package/lib/datepicker/services/mask-utils.service.d.ts +7 -0
- package/lib/dropdown/dropdown.component.d.ts +39 -0
- package/lib/dropdown/dropdown.module.d.ts +2 -0
- package/lib/field-slider/directives/numbers-only.directive.d.ts +7 -0
- package/lib/field-slider/field-slider.component.d.ts +31 -0
- package/lib/field-slider/field-slider.module.d.ts +2 -0
- package/lib/field-slider/pipes/replace.pipe.d.ts +4 -0
- package/lib/file-attach/directives/drag-and-drop.directive.d.ts +9 -0
- package/lib/file-attach/file-attach.component.d.ts +25 -0
- package/lib/file-attach/file-attach.module.d.ts +2 -0
- package/lib/filter-tags/filter-tag/filter-tag.component.d.ts +9 -0
- package/lib/filter-tags/filter-tags.component.d.ts +14 -0
- package/lib/filter-tags/filter-tags.module.d.ts +2 -0
- package/lib/footer/footer-bottom/footer-bottom.component.d.ts +13 -0
- package/lib/footer/footer-menu/footer-menu.component.d.ts +13 -0
- package/lib/footer/footer-top/footer-top.component.d.ts +8 -0
- package/lib/footer/footer.component.d.ts +7 -0
- package/lib/footer/footer.module.d.ts +2 -0
- package/lib/form-field/form-field.component.d.ts +16 -0
- package/lib/form-field/form-field.module.d.ts +2 -0
- package/lib/form-field/icon.directive.d.ts +3 -0
- package/lib/form-field/input.directive.d.ts +22 -0
- package/lib/form-field/label.directive.d.ts +3 -0
- package/lib/form-field/textarea.directive.d.ts +22 -0
- package/lib/header/header.component.d.ts +6 -0
- package/lib/header/header.module.d.ts +2 -0
- package/lib/header/logo.component.d.ts +5 -0
- package/lib/heading/breadcrumps/breadcrumps.component.d.ts +8 -0
- package/lib/heading/heading.component.d.ts +6 -0
- package/lib/heading/heading.module.d.ts +2 -0
- package/lib/heading/product-title/product-title.component.d.ts +8 -0
- package/lib/label/label.component.d.ts +5 -0
- package/lib/label/label.module.d.ts +2 -0
- package/lib/new-button/new-button.component.d.ts +38 -0
- package/lib/new-button/new-button.module.d.ts +2 -0
- package/lib/new-dropdown/new-dropdown.component.d.ts +42 -0
- package/lib/new-dropdown/new-dropdown.module.d.ts +2 -0
- package/lib/new-notifications/new-notifications.component.d.ts +19 -0
- package/lib/new-notifications/new-notifications.module.d.ts +2 -0
- package/lib/new-tooltip/new-tooltip.component.d.ts +8 -0
- package/lib/new-tooltip/new-tooltip.module.d.ts +2 -0
- package/lib/new-tooltip/services/domservice.service.d.ts +12 -0
- package/lib/new-tooltip/tooltip.directive.d.ts +47 -0
- package/lib/news-card/news-card.component.d.ts +4 -0
- package/lib/news-card/news-card.module.d.ts +2 -0
- package/lib/notifications/notifications.component.d.ts +12 -0
- package/lib/notifications/notifications.module.d.ts +2 -0
- package/lib/pagination/pagination.component.d.ts +32 -0
- package/lib/pagination/pagination.module.d.ts +2 -0
- package/lib/pop-up/pop-up.component.d.ts +9 -0
- package/lib/pop-up/pop-up.directive.d.ts +12 -0
- package/lib/pop-up/pop-up.module.d.ts +2 -0
- package/lib/radio-buttons/radio-buttons.component.d.ts +23 -0
- package/lib/radio-buttons/radio-buttons.module.d.ts +2 -0
- package/lib/search/highlight.pipe.d.ts +4 -0
- package/lib/search/search.component.d.ts +24 -0
- package/lib/search/search.module.d.ts +2 -0
- package/lib/select/option.component.d.ts +10 -0
- package/lib/select/select.component.d.ts +42 -0
- package/lib/select/select.module.d.ts +2 -0
- package/lib/sidebar/sidebar.component.d.ts +9 -0
- package/lib/sidebar/sidebar.module.d.ts +2 -0
- package/lib/slider/pipes/replace.pipe.d.ts +4 -0
- package/lib/slider/slider.component.d.ts +32 -0
- package/lib/slider/slider.module.d.ts +2 -0
- package/lib/spinner/spinner.component.d.ts +5 -0
- package/lib/spinner/spinner.module.d.ts +2 -0
- package/lib/table/table.component.d.ts +9 -0
- package/lib/table/table.model.d.ts +31 -0
- package/lib/table/table.module.d.ts +2 -0
- package/lib/table/table.pipe.d.ts +4 -0
- package/lib/tabs/tab.directive.d.ts +6 -0
- package/lib/tabs/tabs.component.d.ts +21 -0
- package/lib/tabs/tabs.module.d.ts +2 -0
- package/lib/tag-tab/tag-tab.component.d.ts +4 -0
- package/lib/tag-tab/tag-tab.module.d.ts +2 -0
- package/lib/tooltip/tooltip.component.d.ts +8 -0
- package/lib/tooltip/tooltip.module.d.ts +2 -0
- package/lib/visa/visa-item.component.d.ts +6 -0
- package/lib/visa/visa-span.directive.d.ts +6 -0
- package/lib/visa/visa.component.d.ts +5 -0
- package/lib/visa/visa.module.d.ts +2 -0
- package/lib/wizard/wizard-step.component.d.ts +14 -0
- package/lib/wizard/wizard.component.d.ts +19 -0
- package/lib/wizard/wizard.module.d.ts +2 -0
- package/package.json +21 -85
- package/{projects/aeb-ui-kit/src/public-api.ts → public-api.d.ts} +92 -133
- package/{projects/aeb-ui-kit/src/styles/variables.scss → styles.css} +104 -89
- package/.babelrc +0 -3
- package/.ci/Chart/values.dev.yaml +0 -17
- package/.ci/Chart/values.mr.yaml +0 -12
- package/.ci/Chart/values.prod.yaml +0 -23
- package/.ci/Components/UI.yml +0 -28
- package/.ci/Deployments.yml +0 -69
- package/.editorconfig +0 -16
- package/.gitlab-ci.yml +0 -35
- package/.storybook/main.js +0 -11
- package/.storybook/manager.js +0 -11
- package/.storybook/preview.js +0 -4
- package/.storybook/tsconfig.json +0 -20
- package/.storybook/typings.d.ts +0 -4
- package/Dockerfile +0 -12
- package/angular.json +0 -51
- package/debug.log +0 -1
- package/documentation.json +0 -12382
- package/gulpfile.babel.js +0 -23
- package/nginx/default.conf +0 -27
- package/package-lock.json +0 -24398
- package/projects/aeb-ui-kit/README.md +0 -24
- package/projects/aeb-ui-kit/karma.conf.js +0 -32
- package/projects/aeb-ui-kit/ng-package.json +0 -8
- package/projects/aeb-ui-kit/package.json +0 -13
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.html +0 -41
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.scss +0 -53
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.component.ts +0 -44
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/accordion/accordion.stories.ts +0 -41
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.html +0 -9
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.scss +0 -13
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.component.ts +0 -19
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/action-bar/action-bar.stories.ts +0 -73
- package/projects/aeb-ui-kit/src/lib/aeb-ui-kit.module.ts +0 -116
- package/projects/aeb-ui-kit/src/lib/button/button.component.html +0 -6
- package/projects/aeb-ui-kit/src/lib/button/button.component.scss +0 -125
- package/projects/aeb-ui-kit/src/lib/button/button.component.spec.ts +0 -24
- package/projects/aeb-ui-kit/src/lib/button/button.component.ts +0 -33
- package/projects/aeb-ui-kit/src/lib/button/button.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/button/button.stories.ts +0 -45
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.html +0 -34
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.scss +0 -173
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.spec.ts +0 -24
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.component.ts +0 -112
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/checkbox/checkbox.stories.ts +0 -64
- package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.directive.ts +0 -47
- package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/click-outside/click-outside.stories.ts +0 -29
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.html +0 -139
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.scss +0 -190
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/comment/comment.component.ts +0 -93
- package/projects/aeb-ui-kit/src/lib/comment/comment.module.ts +0 -22
- package/projects/aeb-ui-kit/src/lib/comment/comment.stories.ts +0 -141
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.html +0 -32
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.scss +0 -92
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.component.ts +0 -28
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.module.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/credit-item-card/credit-item-card.stories.ts +0 -54
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.html +0 -141
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.scss +0 -70
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.ts +0 -161
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.html +0 -34
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.scss +0 -66
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.ts +0 -53
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.html +0 -34
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.scss +0 -55
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-tiles/datepicker-tiles.component.ts +0 -94
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.html +0 -65
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.scss +0 -45
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.component.ts +0 -423
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.module.ts +0 -43
- package/projects/aeb-ui-kit/src/lib/datepicker/datepicker.stories.ts +0 -137
- package/projects/aeb-ui-kit/src/lib/datepicker/pipes/date-to-str.pipe.spec.ts +0 -8
- package/projects/aeb-ui-kit/src/lib/datepicker/pipes/date-to-str.pipe.ts +0 -13
- package/projects/aeb-ui-kit/src/lib/datepicker/services/datepicker-utils.service.spec.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/datepicker/services/datepicker-utils.service.ts +0 -218
- package/projects/aeb-ui-kit/src/lib/datepicker/services/mask-utils.service.ts +0 -69
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.html +0 -48
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.scss +0 -117
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.component.ts +0 -115
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.module.ts +0 -11
- package/projects/aeb-ui-kit/src/lib/dropdown/dropdown.stories.ts +0 -47
- package/projects/aeb-ui-kit/src/lib/field-slider/directives/numbers-only.directive.ts +0 -64
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.html +0 -30
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.scss +0 -77
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.component.ts +0 -168
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.module.ts +0 -24
- package/projects/aeb-ui-kit/src/lib/field-slider/field-slider.stories.ts +0 -35
- package/projects/aeb-ui-kit/src/lib/field-slider/pipes/replace.pipe.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/file-attach/directives/drag-and-drop.directive.ts +0 -41
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.html +0 -56
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.scss +0 -149
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.component.ts +0 -67
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/file-attach/file-attach.stories.ts +0 -45
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.html +0 -9
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.scss +0 -20
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tag/filter-tag.component.ts +0 -32
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.html +0 -10
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.scss +0 -5
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.component.ts +0 -47
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.module.ts +0 -15
- package/projects/aeb-ui-kit/src/lib/filter-tags/filter-tags.stories.ts +0 -106
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.html +0 -31
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.scss +0 -41
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/footer/footer-bottom/footer-bottom.component.ts +0 -51
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.html +0 -14
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.scss +0 -42
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/footer/footer-menu/footer-menu.component.ts +0 -67
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.html +0 -46
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.scss +0 -74
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/footer/footer-top/footer-top.component.ts +0 -29
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.html +0 -16
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.scss +0 -14
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/footer/footer.component.ts +0 -26
- package/projects/aeb-ui-kit/src/lib/footer/footer.module.ts +0 -22
- package/projects/aeb-ui-kit/src/lib/footer/footer.stories.ts +0 -97
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.html +0 -9
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.scss +0 -181
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.component.ts +0 -83
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/form-field/form-field.stories.ts +0 -95
- package/projects/aeb-ui-kit/src/lib/form-field/icon.directive.ts +0 -8
- package/projects/aeb-ui-kit/src/lib/form-field/input.directive.ts +0 -68
- package/projects/aeb-ui-kit/src/lib/form-field/label.directive.ts +0 -8
- package/projects/aeb-ui-kit/src/lib/form-field/textarea.directive.ts +0 -68
- package/projects/aeb-ui-kit/src/lib/header/header.component.html +0 -1
- package/projects/aeb-ui-kit/src/lib/header/header.component.scss +0 -43
- package/projects/aeb-ui-kit/src/lib/header/header.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/header/header.component.ts +0 -20
- package/projects/aeb-ui-kit/src/lib/header/header.module.ts +0 -11
- package/projects/aeb-ui-kit/src/lib/header/header.stories.ts +0 -27
- package/projects/aeb-ui-kit/src/lib/header/logo.component.html +0 -20
- package/projects/aeb-ui-kit/src/lib/header/logo.component.scss +0 -6
- package/projects/aeb-ui-kit/src/lib/header/logo.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/header/logo.component.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.html +0 -15
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.scss +0 -25
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/heading/breadcrumps/breadcrumps.component.ts +0 -31
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.html +0 -3
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.scss +0 -6
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/heading/heading.component.ts +0 -18
- package/projects/aeb-ui-kit/src/lib/heading/heading.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/heading/heading.stories.ts +0 -174
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.html +0 -18
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.scss +0 -20
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/heading/product-title/product-title.component.ts +0 -30
- package/projects/aeb-ui-kit/src/lib/label/label.component.html +0 -10
- package/projects/aeb-ui-kit/src/lib/label/label.component.scss +0 -23
- package/projects/aeb-ui-kit/src/lib/label/label.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/label/label.component.ts +0 -13
- package/projects/aeb-ui-kit/src/lib/label/label.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/label/label.stories.ts +0 -21
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.html +0 -28
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.scss +0 -113
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.component.ts +0 -59
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.module.ts +0 -12
- package/projects/aeb-ui-kit/src/lib/new-button/new-button.stories.ts +0 -107
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.html +0 -67
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.scss +0 -96
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.component.ts +0 -202
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.module.ts +0 -18
- package/projects/aeb-ui-kit/src/lib/new-dropdown/new-dropdown.stories.ts +0 -118
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.html +0 -46
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.scss +0 -54
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.component.ts +0 -46
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.module.ts +0 -12
- package/projects/aeb-ui-kit/src/lib/new-notifications/new-notifications.stories.ts +0 -127
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.html +0 -7
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.scss +0 -93
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.component.ts +0 -20
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.module.ts +0 -19
- package/projects/aeb-ui-kit/src/lib/new-tooltip/new-tooltip.stories.ts +0 -126
- package/projects/aeb-ui-kit/src/lib/new-tooltip/services/domservice.service.spec.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/new-tooltip/services/domservice.service.ts +0 -59
- package/projects/aeb-ui-kit/src/lib/new-tooltip/tooltip.directive.spec.ts +0 -8
- package/projects/aeb-ui-kit/src/lib/new-tooltip/tooltip.directive.ts +0 -195
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.html +0 -8
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.scss +0 -28
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.component.ts +0 -19
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.module.ts +0 -12
- package/projects/aeb-ui-kit/src/lib/news-card/news-card.stories.ts +0 -46
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.html +0 -20
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.scss +0 -54
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.component.ts +0 -34
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/notifications/notifications.stories.ts +0 -36
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.html +0 -110
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.scss +0 -173
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.component.ts +0 -191
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.module.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/pagination/pagination.stories.ts +0 -63
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.html +0 -22
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.scss +0 -35
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.component.ts +0 -33
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.directive.spec.ts +0 -8
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.directive.ts +0 -70
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.module.ts +0 -13
- package/projects/aeb-ui-kit/src/lib/pop-up/pop-up.stories.ts +0 -211
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.html +0 -26
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.scss +0 -112
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.component.ts +0 -69
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/radio-buttons/radio-buttons.stories.ts +0 -101
- package/projects/aeb-ui-kit/src/lib/search/highlight.pipe.spec.ts +0 -8
- package/projects/aeb-ui-kit/src/lib/search/highlight.pipe.ts +0 -13
- package/projects/aeb-ui-kit/src/lib/search/search.component.html +0 -85
- package/projects/aeb-ui-kit/src/lib/search/search.component.scss +0 -133
- package/projects/aeb-ui-kit/src/lib/search/search.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/search/search.component.ts +0 -80
- package/projects/aeb-ui-kit/src/lib/search/search.module.ts +0 -15
- package/projects/aeb-ui-kit/src/lib/search/search.stories.ts +0 -118
- package/projects/aeb-ui-kit/src/lib/select/option.component.html +0 -5
- package/projects/aeb-ui-kit/src/lib/select/option.component.ts +0 -36
- package/projects/aeb-ui-kit/src/lib/select/select.component.html +0 -86
- package/projects/aeb-ui-kit/src/lib/select/select.component.scss +0 -154
- package/projects/aeb-ui-kit/src/lib/select/select.component.ts +0 -133
- package/projects/aeb-ui-kit/src/lib/select/select.module.ts +0 -12
- package/projects/aeb-ui-kit/src/lib/select/select.stories.ts +0 -40
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.html +0 -53
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.scss +0 -206
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.component.ts +0 -31
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/sidebar/sidebar.stories.ts +0 -101
- package/projects/aeb-ui-kit/src/lib/slider/pipes/replace.pipe.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/slider/slider.component.html +0 -19
- package/projects/aeb-ui-kit/src/lib/slider/slider.component.scss +0 -85
- package/projects/aeb-ui-kit/src/lib/slider/slider.component.ts +0 -169
- package/projects/aeb-ui-kit/src/lib/slider/slider.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/slider/slider.stories.ts +0 -41
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.html +0 -19
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.scss +0 -90
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.component.ts +0 -13
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/spinner/spinner.stories.ts +0 -21
- package/projects/aeb-ui-kit/src/lib/table/table.component.html +0 -72
- package/projects/aeb-ui-kit/src/lib/table/table.component.scss +0 -52
- package/projects/aeb-ui-kit/src/lib/table/table.component.ts +0 -28
- package/projects/aeb-ui-kit/src/lib/table/table.model.ts +0 -35
- package/projects/aeb-ui-kit/src/lib/table/table.module.ts +0 -11
- package/projects/aeb-ui-kit/src/lib/table/table.pipe.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/table/table.stories.ts +0 -165
- package/projects/aeb-ui-kit/src/lib/tabs/tab.directive.spec.ts +0 -8
- package/projects/aeb-ui-kit/src/lib/tabs/tab.directive.ts +0 -16
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.html +0 -32
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.scss +0 -46
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.spec.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.component.ts +0 -84
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.module.ts +0 -14
- package/projects/aeb-ui-kit/src/lib/tabs/tabs.stories.ts +0 -83
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.html +0 -1
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.scss +0 -22
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.component.ts +0 -15
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.module.ts +0 -12
- package/projects/aeb-ui-kit/src/lib/tag-tab/tag-tab.stories.ts +0 -25
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.html +0 -8
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.scss +0 -274
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.spec.ts +0 -24
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.component.ts +0 -31
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.module.ts +0 -10
- package/projects/aeb-ui-kit/src/lib/tooltip/tooltip.stories.ts +0 -47
- package/projects/aeb-ui-kit/src/lib/visa/visa-item.component.html +0 -59
- package/projects/aeb-ui-kit/src/lib/visa/visa-item.component.ts +0 -11
- package/projects/aeb-ui-kit/src/lib/visa/visa-span.directive.ts +0 -21
- package/projects/aeb-ui-kit/src/lib/visa/visa.component.html +0 -8
- package/projects/aeb-ui-kit/src/lib/visa/visa.component.scss +0 -89
- package/projects/aeb-ui-kit/src/lib/visa/visa.component.ts +0 -21
- package/projects/aeb-ui-kit/src/lib/visa/visa.module.ts +0 -24
- package/projects/aeb-ui-kit/src/lib/visa/visa.stories.ts +0 -70
- package/projects/aeb-ui-kit/src/lib/wizard/wizard-step.component.html +0 -3
- package/projects/aeb-ui-kit/src/lib/wizard/wizard-step.component.ts +0 -22
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.html +0 -56
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.scss +0 -142
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.component.ts +0 -97
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.module.ts +0 -11
- package/projects/aeb-ui-kit/src/lib/wizard/wizard.stories.ts +0 -54
- package/projects/aeb-ui-kit/src/styles/styles.scss +0 -12
- package/projects/aeb-ui-kit/src/styles/typography.scss +0 -20
- package/projects/aeb-ui-kit/src/test.ts +0 -26
- package/projects/aeb-ui-kit/tsconfig.lib.json +0 -24
- package/projects/aeb-ui-kit/tsconfig.lib.prod.json +0 -7
- package/projects/aeb-ui-kit/tsconfig.spec.json +0 -17
- package/projects/aeb-ui-kit/tslint.json +0 -17
- package/tsconfig.base.json +0 -25
- package/tsconfig.json +0 -17
- package/tslint.json +0 -140
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
.credit-item-card {
|
|
2
|
-
box-sizing: border-box;
|
|
3
|
-
position: relative;
|
|
4
|
-
width: 100%;
|
|
5
|
-
height: 359px;
|
|
6
|
-
border-radius: 8px;
|
|
7
|
-
padding: 32px;
|
|
8
|
-
background-size: contain;
|
|
9
|
-
background-repeat: no-repeat;
|
|
10
|
-
background-position: right;
|
|
11
|
-
zoom: 98%;
|
|
12
|
-
color: var(--darkblue);
|
|
13
|
-
|
|
14
|
-
@media screen and (max-width: 767px) {
|
|
15
|
-
zoom: 54%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@media screen and (max-width: 374px) {
|
|
19
|
-
zoom: 48%;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&__info-icon {
|
|
23
|
-
position: absolute;
|
|
24
|
-
width: 27px;
|
|
25
|
-
height: 27px;
|
|
26
|
-
right: 38px;
|
|
27
|
-
background: url('../../assets/images/info.svg');
|
|
28
|
-
background-size: cover;
|
|
29
|
-
background-repeat: no-repeat;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__title-wrapper {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
display: inline-flex;
|
|
36
|
-
flex-direction: column;
|
|
37
|
-
align-items: flex-start;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&__title {
|
|
41
|
-
display: inline-block;
|
|
42
|
-
font-weight: 500;
|
|
43
|
-
font-size: 32px;
|
|
44
|
-
line-height: 42px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__title-text {
|
|
48
|
-
display: inline-block;
|
|
49
|
-
font-size: 18px;
|
|
50
|
-
line-height: 42px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&__details-wrapper {
|
|
54
|
-
margin-top: 48px;
|
|
55
|
-
width: 375px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&__button-wrapper {
|
|
59
|
-
margin-top: 16px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__credit-details {
|
|
63
|
-
width: 100%;
|
|
64
|
-
height: 90px;
|
|
65
|
-
display: flex;
|
|
66
|
-
justify-content: space-between;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&__credit-details-item {
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
align-items: flex-start;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&__credit-details-item-title {
|
|
76
|
-
font-size: 16px;
|
|
77
|
-
line-height: 20px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&__credit-details-item-separator {
|
|
81
|
-
width: 50px;
|
|
82
|
-
margin-top: 16px;
|
|
83
|
-
border-top: 1px solid var(--darkblue);
|
|
84
|
-
border-bottom: 1px solid var(--darkblue);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&__credit-details-item-value {
|
|
88
|
-
font-weight: 500;
|
|
89
|
-
font-size: 24px;
|
|
90
|
-
line-height: 52px;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, Component, ElementRef, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
2
|
-
import { IProductItemCard } from './models/IProductItemCard';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'aeb-credit-item-card',
|
|
6
|
-
templateUrl: './credit-item-card.component.html',
|
|
7
|
-
styleUrls: ['./credit-item-card.component.scss']
|
|
8
|
-
})
|
|
9
|
-
export class CreditItemCardComponent implements AfterViewInit {
|
|
10
|
-
|
|
11
|
-
@Input()
|
|
12
|
-
public cardInfo: IProductItemCard;
|
|
13
|
-
|
|
14
|
-
@Output()
|
|
15
|
-
public buttonClickEvent$: EventEmitter<void> = new EventEmitter();
|
|
16
|
-
@Output()
|
|
17
|
-
public infoClickEvent$: EventEmitter<void> = new EventEmitter();
|
|
18
|
-
|
|
19
|
-
@ViewChild('creditItemCard') cardComponent: ElementRef;
|
|
20
|
-
|
|
21
|
-
constructor() { }
|
|
22
|
-
|
|
23
|
-
ngAfterViewInit(): void {
|
|
24
|
-
this.cardComponent.nativeElement.style.backgroundImage = `url('/assets/images/product-cards/${this.cardInfo.image}')`;
|
|
25
|
-
this.cardComponent.nativeElement.style.backgroundColor = this.cardInfo.backgroundColor;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CreditItemCardComponent } from './credit-item-card.component';
|
|
4
|
-
import { NewButtonModule } from '../new-button/new-button.module';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
declarations: [CreditItemCardComponent],
|
|
10
|
-
imports: [
|
|
11
|
-
CommonModule,
|
|
12
|
-
NewButtonModule,
|
|
13
|
-
],
|
|
14
|
-
exports: [CreditItemCardComponent]
|
|
15
|
-
})
|
|
16
|
-
export class CreditItemCardModule { }
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { CreditItemCardComponent } from './credit-item-card.component';
|
|
2
|
-
|
|
3
|
-
import { moduleMetadata } from '@storybook/angular';
|
|
4
|
-
import { Story } from '@storybook/angular/types-6-0';
|
|
5
|
-
import { CreditItemCardModule } from './credit-item-card.module';
|
|
6
|
-
|
|
7
|
-
import { boolean } from '@storybook/addon-knobs';
|
|
8
|
-
|
|
9
|
-
const cardData = {
|
|
10
|
-
id: 'simple-solutions',
|
|
11
|
-
title: 'Простые решения',
|
|
12
|
-
caption: 'Кредит, который решит любые задачи!',
|
|
13
|
-
details: {
|
|
14
|
-
time: 5,
|
|
15
|
-
timeMeasure: 'лет',
|
|
16
|
-
rate: 11,
|
|
17
|
-
amount: 3,
|
|
18
|
-
amountMeasure: 'млн ₽'
|
|
19
|
-
},
|
|
20
|
-
backgroundColor: '#EFE9E3'
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const partialСardData = {
|
|
24
|
-
id: 'simple-solutions',
|
|
25
|
-
title: 'Простые решения',
|
|
26
|
-
caption: 'Кредит, который решит любые задачи!',
|
|
27
|
-
backgroundColor: '#EFE9E3'
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export default {
|
|
31
|
-
title: 'Components/Credit item card',
|
|
32
|
-
component: CreditItemCardComponent,
|
|
33
|
-
decorators: [
|
|
34
|
-
moduleMetadata({
|
|
35
|
-
imports: [CreditItemCardModule]
|
|
36
|
-
})
|
|
37
|
-
]
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export const Default: Story<CreditItemCardComponent> = () => ({
|
|
41
|
-
component: CreditItemCardComponent,
|
|
42
|
-
template: `
|
|
43
|
-
<aeb-credit-item-card
|
|
44
|
-
[cardInfo]="withoutDetails ? partData : data"
|
|
45
|
-
(buttonClickEvent$)="openCalculator(item.id)"
|
|
46
|
-
(infoClickEvent$)="showInfoPopup(item)"
|
|
47
|
-
></aeb-credit-item-card>
|
|
48
|
-
`,
|
|
49
|
-
props: {
|
|
50
|
-
data: cardData,
|
|
51
|
-
partData: partialСardData,
|
|
52
|
-
withoutDetails: boolean('Without details', false)
|
|
53
|
-
}
|
|
54
|
-
});
|
package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.html
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="aeb-datepicker-core"
|
|
3
|
-
[ngClass]="{
|
|
4
|
-
'aeb-datepicker-core--with-background': withBackground,
|
|
5
|
-
'aeb-datepicker-core--left': align === 'left',
|
|
6
|
-
'aeb-datepicker-core--right': align === 'right'
|
|
7
|
-
}"
|
|
8
|
-
#container
|
|
9
|
-
>
|
|
10
|
-
<div class="aeb-datepicker-core__controls">
|
|
11
|
-
<div
|
|
12
|
-
class="aeb-datepicker-core__arrow"
|
|
13
|
-
(click)="subMonth()"
|
|
14
|
-
>
|
|
15
|
-
<svg
|
|
16
|
-
width="9"
|
|
17
|
-
height="16"
|
|
18
|
-
viewBox="0 0 9 16"
|
|
19
|
-
fill="none"
|
|
20
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
21
|
-
>
|
|
22
|
-
<path
|
|
23
|
-
d="M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15"
|
|
24
|
-
stroke="#27303E"
|
|
25
|
-
stroke-width="2"
|
|
26
|
-
stroke-linecap="round"
|
|
27
|
-
/>
|
|
28
|
-
</svg>
|
|
29
|
-
</div>
|
|
30
|
-
<div
|
|
31
|
-
class="aeb-datepicker-core__btn aeb-datepicker-core__btn--month"
|
|
32
|
-
(click)="showMonthsHandler()"
|
|
33
|
-
>
|
|
34
|
-
{{ firstDay() | date:'LLLL' | titlecase }}
|
|
35
|
-
<div
|
|
36
|
-
class="aeb-datepicker-core__arrow-icon"
|
|
37
|
-
[ngClass]="{'aeb-datepicker-core__arrow-icon--active': isShowMonths}"
|
|
38
|
-
>
|
|
39
|
-
<svg
|
|
40
|
-
width="10"
|
|
41
|
-
height="6"
|
|
42
|
-
viewBox="0 0 10 6"
|
|
43
|
-
fill="none"
|
|
44
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
45
|
-
>
|
|
46
|
-
<path
|
|
47
|
-
d="M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1"
|
|
48
|
-
stroke="#27303E"
|
|
49
|
-
stroke-width="2"
|
|
50
|
-
stroke-linecap="round"
|
|
51
|
-
/>
|
|
52
|
-
</svg>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
<div
|
|
56
|
-
class="aeb-datepicker-core__btn"
|
|
57
|
-
(click)="showYearsHandler()"
|
|
58
|
-
>
|
|
59
|
-
{{ firstDay() | date:'yyyy' }}
|
|
60
|
-
<div
|
|
61
|
-
class="aeb-datepicker-core__arrow-icon"
|
|
62
|
-
[ngClass]="{'aeb-datepicker-core__arrow-icon--active': isShowYears}"
|
|
63
|
-
>
|
|
64
|
-
<svg
|
|
65
|
-
width="10"
|
|
66
|
-
height="6"
|
|
67
|
-
viewBox="0 0 10 6"
|
|
68
|
-
fill="none"
|
|
69
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
70
|
-
>
|
|
71
|
-
<path
|
|
72
|
-
d="M9 1L5.07071 4.92929C5.03166 4.96834 4.96834 4.96834 4.92929 4.92929L1 1"
|
|
73
|
-
stroke="#27303E"
|
|
74
|
-
stroke-width="2"
|
|
75
|
-
stroke-linecap="round"
|
|
76
|
-
/>
|
|
77
|
-
</svg>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
<div
|
|
81
|
-
class="aeb-datepicker-core__arrow aeb-datepicker-core__arrow--right"
|
|
82
|
-
(click)="addMonth()"
|
|
83
|
-
>
|
|
84
|
-
<svg
|
|
85
|
-
width="9"
|
|
86
|
-
height="16"
|
|
87
|
-
viewBox="0 0 9 16"
|
|
88
|
-
fill="none"
|
|
89
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
90
|
-
>
|
|
91
|
-
<path
|
|
92
|
-
d="M8 1L1.35355 7.64645C1.15829 7.84171 1.15829 8.15829 1.35355 8.35355L8 15"
|
|
93
|
-
stroke="#27303E"
|
|
94
|
-
stroke-width="2"
|
|
95
|
-
stroke-linecap="round"
|
|
96
|
-
/>
|
|
97
|
-
</svg>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
<div class="aeb-datepicker-core__calendar">
|
|
101
|
-
<div [style.display]="(!isShowYears && !isShowMonths) ? 'block' : 'none'">
|
|
102
|
-
<aeb-datepicker-month
|
|
103
|
-
[month]="month"
|
|
104
|
-
[date]="date"
|
|
105
|
-
[minDate]="minDate"
|
|
106
|
-
[maxDate]="maxDate"
|
|
107
|
-
[excludedDates]="excludedDates"
|
|
108
|
-
(setDate)="setDate($event)"
|
|
109
|
-
>
|
|
110
|
-
</aeb-datepicker-month>
|
|
111
|
-
</div>
|
|
112
|
-
<div [style.display]="isShowYears ? 'block' : 'none'">
|
|
113
|
-
<aeb-datepicker-tiles
|
|
114
|
-
[year]="currentYear"
|
|
115
|
-
[date]="startOfYear(currentYear)"
|
|
116
|
-
[minYear]="minYear"
|
|
117
|
-
[maxYear]="maxYear"
|
|
118
|
-
(setYear)="setYear($event)"
|
|
119
|
-
[isYears]="isShowYears"
|
|
120
|
-
[minDate]="minDate"
|
|
121
|
-
[maxDate]="maxDate"
|
|
122
|
-
[woDays]="withoutDays"
|
|
123
|
-
>
|
|
124
|
-
</aeb-datepicker-tiles>
|
|
125
|
-
</div>
|
|
126
|
-
<div [style.display]="isShowMonths ? 'block' : 'none'">
|
|
127
|
-
<aeb-datepicker-tiles
|
|
128
|
-
[isMonths]="isShowMonths"
|
|
129
|
-
[month]="currentMonth"
|
|
130
|
-
[minYear]="minYear"
|
|
131
|
-
[maxYear]="maxYear"
|
|
132
|
-
(setMonth)="setMonth($event)"
|
|
133
|
-
[year]="currentYear"
|
|
134
|
-
[minDate]="minDate"
|
|
135
|
-
[maxDate]="maxDate"
|
|
136
|
-
[woDays]="withoutDays"
|
|
137
|
-
>
|
|
138
|
-
</aeb-datepicker-tiles>
|
|
139
|
-
</div>
|
|
140
|
-
</div>
|
|
141
|
-
</div>
|
package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.scss
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
.aeb-datepicker-core {
|
|
2
|
-
user-select: none;
|
|
3
|
-
position: fixed;
|
|
4
|
-
z-index: 9999;
|
|
5
|
-
|
|
6
|
-
&--with-background {
|
|
7
|
-
background-color: var(--white);
|
|
8
|
-
border-radius: 10px;
|
|
9
|
-
border: 2px solid var(--gray-primary);
|
|
10
|
-
padding: 10px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// &--right {
|
|
14
|
-
// right: 0;
|
|
15
|
-
// }
|
|
16
|
-
|
|
17
|
-
// &--left {
|
|
18
|
-
// left: 0;
|
|
19
|
-
// }
|
|
20
|
-
|
|
21
|
-
&__calendar {
|
|
22
|
-
min-height: 220px;
|
|
23
|
-
width: 100%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__controls {
|
|
27
|
-
display: flex;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
align-items: center;
|
|
30
|
-
margin-bottom: 10px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__arrow {
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
|
|
36
|
-
&--right {
|
|
37
|
-
transform: rotate(180deg);
|
|
38
|
-
margin-bottom: 10px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__btn {
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: space-between;
|
|
46
|
-
border: 2px solid var(--gray-primary);
|
|
47
|
-
font-size: 14px;
|
|
48
|
-
padding: 6px 10px;
|
|
49
|
-
border-radius: 4px;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
margin-right: 20px;
|
|
52
|
-
width: 72px;
|
|
53
|
-
box-sizing: border-box;
|
|
54
|
-
|
|
55
|
-
&--month {
|
|
56
|
-
width: 112px;
|
|
57
|
-
margin-right: 10px;
|
|
58
|
-
margin-left: 20px;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__arrow-icon {
|
|
63
|
-
box-sizing: border-box;
|
|
64
|
-
position: relative;
|
|
65
|
-
bottom: 2px;
|
|
66
|
-
&--active {
|
|
67
|
-
transform: rotate(180deg);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-core/datepicker-core.component.spec.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { DatepickerCoreComponent } from './datepicker-core.component';
|
|
4
|
-
|
|
5
|
-
describe('DatepickerCoreComponent', () => {
|
|
6
|
-
let component: DatepickerCoreComponent;
|
|
7
|
-
let fixture: ComponentFixture<DatepickerCoreComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ DatepickerCoreComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
fixture = TestBed.createComponent(DatepickerCoreComponent);
|
|
18
|
-
component = fixture.componentInstance;
|
|
19
|
-
fixture.detectChanges();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should create', () => {
|
|
23
|
-
expect(component).toBeTruthy();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { Component, OnInit, LOCALE_ID, Input, OnChanges, Output, EventEmitter, ViewEncapsulation, ViewChild, ElementRef } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { DatepickerUtilsService } from '../services/datepicker-utils.service';
|
|
4
|
-
import '@angular/common/locales/global/ru';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'aeb-datepicker-core',
|
|
8
|
-
templateUrl: './datepicker-core.component.html',
|
|
9
|
-
styleUrls: ['./datepicker-core.component.scss'],
|
|
10
|
-
providers: [
|
|
11
|
-
{ provide: LOCALE_ID, useValue: 'ru' }
|
|
12
|
-
],
|
|
13
|
-
encapsulation: ViewEncapsulation.None
|
|
14
|
-
})
|
|
15
|
-
export class DatepickerCoreComponent implements OnInit, OnChanges {
|
|
16
|
-
|
|
17
|
-
@Input ('date') date: Date;
|
|
18
|
-
@Input ('minDate') minDate: Date;
|
|
19
|
-
@Input ('maxDate') maxDate: Date;
|
|
20
|
-
@Input ('excludedDates') excludedDates: Date[];
|
|
21
|
-
@Input ('minYear') minYear: Date;
|
|
22
|
-
@Input ('maxYear') maxYear: Date;
|
|
23
|
-
@Input ('withBackground') withBackground: boolean = true;
|
|
24
|
-
@Input ('align') align: 'left' | 'right' = 'right';
|
|
25
|
-
|
|
26
|
-
@Input ('withoutDays') withoutDays = false;
|
|
27
|
-
|
|
28
|
-
@Output ('onDateChange') onDateChange: EventEmitter<Date> = new EventEmitter();
|
|
29
|
-
|
|
30
|
-
@Output ('woDaysMonth') woDaysMonth: EventEmitter<any> = new EventEmitter();
|
|
31
|
-
@Output ('woDaysYear') woDaysYear: EventEmitter<any> = new EventEmitter();
|
|
32
|
-
@Output ('woDaysMonthSubInc') woDaysMonthSubInc: EventEmitter<boolean> = new EventEmitter();
|
|
33
|
-
|
|
34
|
-
@ViewChild ('container') container: ElementRef<HTMLDivElement>;
|
|
35
|
-
|
|
36
|
-
month: Date[][];
|
|
37
|
-
isShowYears: boolean = false;
|
|
38
|
-
isShowMonths: boolean = false;
|
|
39
|
-
currentMonth: number;
|
|
40
|
-
currentYear: number;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
constructor(private utils: DatepickerUtilsService) {}
|
|
44
|
-
|
|
45
|
-
addMonth(): void {
|
|
46
|
-
const startOfMonth = this.firstDay();
|
|
47
|
-
|
|
48
|
-
if (this.currentMonth === 11) {
|
|
49
|
-
this.currentMonth = 0;
|
|
50
|
-
this.currentYear = this.currentYear + 1;
|
|
51
|
-
|
|
52
|
-
} else {
|
|
53
|
-
this.currentMonth = this.currentMonth + 1;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
this.month = this.utils.genMonth(
|
|
57
|
-
this.utils.addMonths(startOfMonth, 1)
|
|
58
|
-
);
|
|
59
|
-
|
|
60
|
-
if (this.withoutDays) {
|
|
61
|
-
this.woDaysMonthSubInc.emit(true);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
subMonth(): void {
|
|
66
|
-
const startOfMonth = this.firstDay();
|
|
67
|
-
|
|
68
|
-
if (this.currentMonth === 0) {
|
|
69
|
-
this.currentMonth = 11;
|
|
70
|
-
this.currentYear = this.currentYear - 1;
|
|
71
|
-
|
|
72
|
-
} else {
|
|
73
|
-
this.currentMonth = this.currentMonth - 1;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
this.month = this.utils.genMonth(
|
|
77
|
-
this.utils.subMonths(startOfMonth, 1)
|
|
78
|
-
);
|
|
79
|
-
|
|
80
|
-
if (this.withoutDays) {
|
|
81
|
-
this.woDaysMonthSubInc.emit(false);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
setMonth(month: number, erase?: boolean): void {
|
|
86
|
-
if (this.withoutDays) {
|
|
87
|
-
this.woDaysMonth.emit([ month, erase ]);
|
|
88
|
-
this.currentMonth = month;
|
|
89
|
-
this.reDraw();
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
this.currentMonth = month;
|
|
94
|
-
this.isShowMonths = false;
|
|
95
|
-
this.reDraw();
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
setYear(year: number, erase?: boolean): void {
|
|
99
|
-
if (this.withoutDays) {
|
|
100
|
-
this.woDaysYear.emit([year, erase]);
|
|
101
|
-
this.currentYear = year;
|
|
102
|
-
this.reDraw();
|
|
103
|
-
return;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
this.currentYear = year;
|
|
107
|
-
this.isShowYears = false;
|
|
108
|
-
this.reDraw();
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
setDate(date: Date): void {
|
|
112
|
-
this.onDateChange.emit(date);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
reDraw(): void {
|
|
116
|
-
const startOfMonth = this.utils.setMonth(
|
|
117
|
-
this.currentMonth,
|
|
118
|
-
this.currentYear
|
|
119
|
-
);
|
|
120
|
-
|
|
121
|
-
this.month = this.utils.genMonth(startOfMonth);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
firstDay(): Date {
|
|
125
|
-
return this.month[0].filter(item => item)[0];
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
showMonthsHandler(): void {
|
|
129
|
-
if (this.withoutDays && this.isShowMonths) return;
|
|
130
|
-
|
|
131
|
-
if (this.isShowYears) this.isShowYears = false;
|
|
132
|
-
|
|
133
|
-
this.isShowMonths = !this.isShowMonths;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
showYearsHandler(): void {
|
|
137
|
-
if (this.withoutDays && this.isShowYears) return;
|
|
138
|
-
|
|
139
|
-
if (this.isShowMonths) this.isShowMonths = false;
|
|
140
|
-
|
|
141
|
-
this.isShowYears = !this.isShowYears;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
startOfYear(year: number): Date {
|
|
145
|
-
return new Date(year, 0, 1);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
ngOnInit(): void {
|
|
149
|
-
this.currentMonth = this.utils.getMonth(this.date);
|
|
150
|
-
this.currentYear = this.utils.getYear(this.date);
|
|
151
|
-
this.month = this.utils.genMonth(this.date);
|
|
152
|
-
|
|
153
|
-
if (this.withoutDays) {
|
|
154
|
-
this.isShowMonths = true;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
ngOnChanges(changes) {
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
}
|
package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.html
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<div class="aeb-datepicker-month__week">
|
|
2
|
-
<div
|
|
3
|
-
*ngFor="let day of week"
|
|
4
|
-
class="aeb-datepicker-month__day aeb-datepicker-month__day--weekd"
|
|
5
|
-
>
|
|
6
|
-
{{day}}
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
<div *ngFor="let week of month" class="aeb-datepicker-month__week">
|
|
10
|
-
<ng-container
|
|
11
|
-
*ngFor="let day of week"
|
|
12
|
-
>
|
|
13
|
-
<div
|
|
14
|
-
*ngIf="!!day; else elseStub"
|
|
15
|
-
class="aeb-datepicker-month__day"
|
|
16
|
-
[ngClass]="{
|
|
17
|
-
'aeb-datepicker-month__day--today': isToday(day),
|
|
18
|
-
'aeb-datepicker-month__day--picked': sameDate(day),
|
|
19
|
-
'aeb-datepicker-month__day--disabled': isDisabled(day)
|
|
20
|
-
}"
|
|
21
|
-
(click)="emitDate(day)"
|
|
22
|
-
>
|
|
23
|
-
{{day | dateToStr}}
|
|
24
|
-
</div>
|
|
25
|
-
<ng-template
|
|
26
|
-
#elseStub
|
|
27
|
-
>
|
|
28
|
-
<div
|
|
29
|
-
class="aeb-datepicker-month__day aeb-datepicker-month__day--stub"
|
|
30
|
-
>
|
|
31
|
-
</div>
|
|
32
|
-
</ng-template>
|
|
33
|
-
</ng-container>
|
|
34
|
-
</div>
|
package/projects/aeb-ui-kit/src/lib/datepicker/datepicker-month/datepicker-month.component.scss
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
.aeb-datepicker-month {
|
|
2
|
-
&__week {
|
|
3
|
-
width: fit-content;
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
&:not(:last-child) {
|
|
7
|
-
margin-bottom: 10px;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&__day {
|
|
12
|
-
width: 32px;
|
|
13
|
-
height: 28px;
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
font-size: 16px;
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
border-radius: 4px;
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
border: 1px solid var(--blue);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&--stub {
|
|
27
|
-
cursor: none;
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
&:hover {
|
|
30
|
-
border: none;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&--today {
|
|
35
|
-
border: 1px solid var(--gray-primary);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&--picked {
|
|
39
|
-
border: none;
|
|
40
|
-
background-color: var(--blue);
|
|
41
|
-
color: white;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&--disabled {
|
|
45
|
-
color: var(--gray-primary);
|
|
46
|
-
cursor: none;
|
|
47
|
-
pointer-events: none;
|
|
48
|
-
&:hover {
|
|
49
|
-
border: none;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:not(:last-child) {
|
|
54
|
-
margin-right: 8px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&--weekd {
|
|
58
|
-
font-size: 12px;
|
|
59
|
-
color: var(--gray-primary);
|
|
60
|
-
cursor: default;
|
|
61
|
-
&:hover {
|
|
62
|
-
border: none;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|