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,10 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ClickOutsideDirective } from './click-outside.directive';
|
|
4
|
-
|
|
5
|
-
@NgModule({
|
|
6
|
-
declarations: [ClickOutsideDirective],
|
|
7
|
-
imports: [CommonModule],
|
|
8
|
-
exports: [ClickOutsideDirective],
|
|
9
|
-
})
|
|
10
|
-
export class ClickOutsideModule {}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { action } from '@storybook/addon-actions';
|
|
2
|
-
import { ClickOutsideModule } from './click-outside.module';
|
|
3
|
-
import { ClickOutsideDirective } from './click-outside.directive';
|
|
4
|
-
import { moduleMetadata } from '@storybook/angular';
|
|
5
|
-
import { Story } from '@storybook/angular/types-6-0';
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: 'Components/Click outside',
|
|
9
|
-
component: ClickOutsideDirective,
|
|
10
|
-
decorators: [
|
|
11
|
-
moduleMetadata({
|
|
12
|
-
imports: [ClickOutsideModule]
|
|
13
|
-
})
|
|
14
|
-
]
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
export const Default: Story<ClickOutsideDirective> = () => ({
|
|
18
|
-
component: ClickOutsideDirective,
|
|
19
|
-
template: `
|
|
20
|
-
<div (clickOutside)="handleClickOutside($event)" style="background: lightblue; padding: 2rem;">
|
|
21
|
-
Кликни по внешнему элементу
|
|
22
|
-
</div>
|
|
23
|
-
`,
|
|
24
|
-
props: {
|
|
25
|
-
handleClickOutside: (event: Event) => {
|
|
26
|
-
action('Outside clicked')(event);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
});
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
<div class="aeb-comment">
|
|
2
|
-
<div class="aeb-comment__avatar-column">
|
|
3
|
-
<div class="aeb-comment__avatar">
|
|
4
|
-
<img
|
|
5
|
-
[src]="comment.avatar"
|
|
6
|
-
*ngIf="comment.avatar; else nameTemplate"
|
|
7
|
-
/>
|
|
8
|
-
<ng-template #nameTemplate>
|
|
9
|
-
<div class="aeb-comment__initials">
|
|
10
|
-
{{comment.firstName.slice(0,1)}}{{comment.lastName.slice(0,1)}}
|
|
11
|
-
</div>
|
|
12
|
-
</ng-template>
|
|
13
|
-
</div>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="aeb-comment__comment-column">
|
|
16
|
-
<div class="aeb-comment__author-wrapper">
|
|
17
|
-
<div class="aeb-comment__author-group">
|
|
18
|
-
{{comment.group}}
|
|
19
|
-
<ng-container
|
|
20
|
-
*ngIf="comment.parentName"
|
|
21
|
-
>
|
|
22
|
-
<div class="aeb-comment__reply-icon">
|
|
23
|
-
<svg width="10" height="8" viewBox="0 0 10 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
24
|
-
<path d="M4.68742 1.87519H3.7499V0.312666C3.7499 0.183289 3.67053 0.0676621 3.55052 0.0207864C3.43052 -0.0254644 3.29365 0.00703617 3.20614 0.102663L0.081095 3.54022C-0.0270317 3.65897 -0.0270317 3.84085 0.081095 3.96022L3.20614 7.39778C3.26677 7.46403 3.35115 7.50028 3.4374 7.50028C3.47552 7.50028 3.51365 7.4934 3.55052 7.47965C3.67053 7.43278 3.7499 7.31715 3.7499 7.18777V5.62525H4.61929C6.40307 5.62525 8.1306 6.26401 9.48437 7.42528C9.57624 7.50465 9.70812 7.52278 9.81812 7.47153C9.92937 7.4209 10 7.30965 10 7.18777C10 4.25835 7.61684 1.87519 4.68742 1.87519Z" fill="#A3AAAE"/>
|
|
25
|
-
</svg>
|
|
26
|
-
</div>
|
|
27
|
-
<span class="aeb-comment__reply-host">
|
|
28
|
-
{{comment.parentName}}
|
|
29
|
-
</span>
|
|
30
|
-
</ng-container>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="aeb-comment__author-name">
|
|
33
|
-
{{comment.fullName}}
|
|
34
|
-
<div aebTooltip [position]="'right'" class="aeb-comment__author-info">
|
|
35
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
36
|
-
<path d="M15.5 8C15.5 12.1421 12.1421 15.5 8 15.5C3.85786 15.5 0.5 12.1421 0.5 8C0.5 3.85786 3.85786 0.5 8 0.5C12.1421 0.5 15.5 3.85786 15.5 8Z" stroke="#27303E"/>
|
|
37
|
-
<path d="M5.8125 6.3584C5.83529 5.78223 6.03874 5.31348 6.42285 4.95215C6.81022 4.59082 7.3457 4.41016 8.0293 4.41016C8.66732 4.41016 9.18652 4.58105 9.58691 4.92285C9.9873 5.26139 10.1875 5.69434 10.1875 6.22168C10.1875 6.92806 9.8457 7.48633 9.16211 7.89648C8.84961 8.08203 8.63639 8.25456 8.52246 8.41406C8.40853 8.57031 8.35156 8.77539 8.35156 9.0293V9.32715H7.34082L7.33594 8.93652C7.32292 8.59798 7.39128 8.3099 7.54102 8.07227C7.69401 7.83464 7.93978 7.61328 8.27832 7.4082C8.5778 7.22917 8.78613 7.05664 8.90332 6.89062C9.02051 6.72461 9.0791 6.51628 9.0791 6.26562C9.0791 5.98568 8.97819 5.75618 8.77637 5.57715C8.57454 5.39811 8.30762 5.30859 7.97559 5.30859C7.6403 5.30859 7.37012 5.40299 7.16504 5.5918C6.95996 5.7806 6.84603 6.03613 6.82324 6.3584H5.8125ZM7.85352 11.5879C7.67448 11.5879 7.52311 11.5277 7.39941 11.4072C7.27572 11.2868 7.21387 11.137 7.21387 10.958C7.21387 10.779 7.27572 10.6292 7.39941 10.5088C7.52311 10.3883 7.67448 10.3281 7.85352 10.3281C8.03581 10.3281 8.1888 10.3883 8.3125 10.5088C8.4362 10.6292 8.49805 10.779 8.49805 10.958C8.49805 11.137 8.4362 11.2868 8.3125 11.4072C8.1888 11.5277 8.03581 11.5879 7.85352 11.5879Z" fill="#27303E"/>
|
|
38
|
-
</svg>
|
|
39
|
-
<div #tooltipContent>
|
|
40
|
-
<div class="aeb-comment__tooltip">
|
|
41
|
-
{{comment.aboutAuthor}}
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="aeb-comment__comment-wrapper">
|
|
48
|
-
<div class="aeb-comment__comment-header">
|
|
49
|
-
{{comment.title}}
|
|
50
|
-
</div>
|
|
51
|
-
<div class="aeb-comment__comment-txt">
|
|
52
|
-
{{comment.content}}
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
<div class="aeb-comment__date-response">
|
|
56
|
-
<div class="aeb-comment__comment-date">
|
|
57
|
-
{{comment.date}}
|
|
58
|
-
</div>
|
|
59
|
-
<div
|
|
60
|
-
class="aeb-comment__comment-response"
|
|
61
|
-
(click)="responseHandler()"
|
|
62
|
-
>
|
|
63
|
-
Ответить
|
|
64
|
-
</div>
|
|
65
|
-
</div>
|
|
66
|
-
<form
|
|
67
|
-
class="aeb-comment__response-form"
|
|
68
|
-
*ngIf="onResponse"
|
|
69
|
-
[formGroup]="responseForm"
|
|
70
|
-
(submit)="nullTarget($event)"
|
|
71
|
-
>
|
|
72
|
-
<div
|
|
73
|
-
class="aeb-comment__input"
|
|
74
|
-
[ngClass]="{
|
|
75
|
-
'aeb-comment__input--error': titleError
|
|
76
|
-
}"
|
|
77
|
-
>
|
|
78
|
-
<aeb-form-field>
|
|
79
|
-
<aeb-label>Заголовок комментария</aeb-label>
|
|
80
|
-
<input
|
|
81
|
-
aebInput
|
|
82
|
-
type="text"
|
|
83
|
-
formControlName="title"
|
|
84
|
-
/>
|
|
85
|
-
</aeb-form-field>
|
|
86
|
-
</div>
|
|
87
|
-
<div
|
|
88
|
-
class="aeb-comment__input"
|
|
89
|
-
[ngClass]="{
|
|
90
|
-
'aeb-comment__input--error': contentError
|
|
91
|
-
}"
|
|
92
|
-
>
|
|
93
|
-
<aeb-form-field>
|
|
94
|
-
<aeb-label>Текст комментария</aeb-label>
|
|
95
|
-
<textarea
|
|
96
|
-
aebTextarea
|
|
97
|
-
style="height: 140px;"
|
|
98
|
-
formControlName="content"
|
|
99
|
-
required
|
|
100
|
-
>
|
|
101
|
-
</textarea>
|
|
102
|
-
</aeb-form-field>
|
|
103
|
-
</div>
|
|
104
|
-
<div class="aeb-comment__submit">
|
|
105
|
-
<button (click)="submitHandler()" aeb-button>Отправить</button>
|
|
106
|
-
</div>
|
|
107
|
-
</form>
|
|
108
|
-
<div
|
|
109
|
-
(click)="expandHandler()"
|
|
110
|
-
*ngIf="comment.nestedComments && comment.nestedComments.length"
|
|
111
|
-
class="aeb-comment__response-ctrls"
|
|
112
|
-
>
|
|
113
|
-
<div class="aeb-comment__responses">
|
|
114
|
-
Ответы
|
|
115
|
-
</div>
|
|
116
|
-
<div class="aeb-comment__response-counter">
|
|
117
|
-
{{comment.nestedComments.length}}
|
|
118
|
-
</div>
|
|
119
|
-
<div
|
|
120
|
-
class="aeb-comment__arrow-icon"
|
|
121
|
-
[ngClass]="{
|
|
122
|
-
'aeb-comment__arrow-icon--active': isExpanded
|
|
123
|
-
}"
|
|
124
|
-
>
|
|
125
|
-
<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
126
|
-
<path d="M0.999999 5L4.92929 1.07071C4.96834 1.03166 5.03166 1.03166 5.07071 1.07071L9 5" stroke="#2F88F0" stroke-width="2" stroke-linecap="round"/>
|
|
127
|
-
</svg>
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
<ng-container
|
|
131
|
-
*ngIf="comment.nestedComments && comment.nestedComments.length && isExpanded"
|
|
132
|
-
>
|
|
133
|
-
<ng-container *ngFor="let comment of comment.nestedComments">
|
|
134
|
-
<aeb-comment (response)="hoistHandler($event)" [comment]="comment">
|
|
135
|
-
</aeb-comment>
|
|
136
|
-
</ng-container>
|
|
137
|
-
</ng-container>
|
|
138
|
-
</div>
|
|
139
|
-
</div>
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
.aeb-comment {
|
|
2
|
-
width: 100%;
|
|
3
|
-
display: flex;
|
|
4
|
-
color: var(--darkblue);
|
|
5
|
-
|
|
6
|
-
&__avatar-column {
|
|
7
|
-
margin-right: 12px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&__comment-column {
|
|
11
|
-
flex-grow: 1;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__avatar {
|
|
15
|
-
width: 40px;
|
|
16
|
-
height: 40px;
|
|
17
|
-
background-color: var(--blue);
|
|
18
|
-
border-radius: 50%;
|
|
19
|
-
display: flex;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
align-items: center;
|
|
22
|
-
|
|
23
|
-
img {
|
|
24
|
-
width: 90%;
|
|
25
|
-
border-radius: 50%;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&__initials {
|
|
30
|
-
color: var(--white);
|
|
31
|
-
position: relative;
|
|
32
|
-
bottom: 1px;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&__author-group {
|
|
36
|
-
font-size: 20px;
|
|
37
|
-
font-weight: 500;
|
|
38
|
-
margin-bottom: 4px;
|
|
39
|
-
display: flex;
|
|
40
|
-
align-items: center;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__reply-icon {
|
|
44
|
-
margin-left: 32px;
|
|
45
|
-
position: relative;
|
|
46
|
-
bottom: 4px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&__reply-host {
|
|
50
|
-
color: var(--gray-primary);
|
|
51
|
-
font-size: 12px;
|
|
52
|
-
margin-left: 8px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&__author-name {
|
|
56
|
-
font-size: 16px;
|
|
57
|
-
color: var(--gray-primary);
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__author-info {
|
|
63
|
-
margin-left: 12px;
|
|
64
|
-
position: relative;
|
|
65
|
-
top: 3px;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&__tooltip {
|
|
70
|
-
max-width: 200px;
|
|
71
|
-
white-space: normal;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&__author-wrapper {
|
|
75
|
-
margin-bottom: 20px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&__comment-wrapper {
|
|
79
|
-
background: var(--web-white);
|
|
80
|
-
border-radius: 8px;
|
|
81
|
-
padding: 16px;
|
|
82
|
-
width: 100%;
|
|
83
|
-
box-sizing: border-box;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&__comment-header {
|
|
87
|
-
font-size: 20px;
|
|
88
|
-
font-weight: 500;
|
|
89
|
-
color: var(--darkblue);
|
|
90
|
-
margin-bottom: 10px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
&__date-response {
|
|
94
|
-
display: flex;
|
|
95
|
-
align-items: center;
|
|
96
|
-
margin-top: 20px;
|
|
97
|
-
margin-bottom: 25px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&__comment-date {
|
|
101
|
-
color: var(--gray-primary);
|
|
102
|
-
font-size: 14px;
|
|
103
|
-
margin-right: 30px;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&__comment-response {
|
|
107
|
-
color: var(--blue);
|
|
108
|
-
font-size: 14px;
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&__response-ctrls {
|
|
113
|
-
display: inline-flex;
|
|
114
|
-
margin-bottom: 28px;
|
|
115
|
-
align-items: center;
|
|
116
|
-
cursor: pointer;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&__responses {
|
|
120
|
-
font-size: 14px;
|
|
121
|
-
color: var(--darkblue);
|
|
122
|
-
margin-right: 15px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&__response-counter {
|
|
126
|
-
font-size: 14px;
|
|
127
|
-
color: var(--gray-primary);
|
|
128
|
-
margin-right: 12px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&__arrow-icon {
|
|
132
|
-
position: relative;
|
|
133
|
-
top: 2px;
|
|
134
|
-
transform: rotate(180deg);
|
|
135
|
-
|
|
136
|
-
&--active {
|
|
137
|
-
transform: none;
|
|
138
|
-
bottom: 3px;
|
|
139
|
-
top: unset;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&__input {
|
|
144
|
-
margin-bottom: 24px;
|
|
145
|
-
|
|
146
|
-
// .aeb-input {
|
|
147
|
-
// background: transparent !important;
|
|
148
|
-
// // border: 2px solid var(--gray-primary) !important;
|
|
149
|
-
// }
|
|
150
|
-
|
|
151
|
-
// .aeb-label {
|
|
152
|
-
// background: transparent !important;
|
|
153
|
-
// }
|
|
154
|
-
|
|
155
|
-
// .aeb-form-field {
|
|
156
|
-
// &.focused {
|
|
157
|
-
// .aeb-label {
|
|
158
|
-
// background: var(--gray-primary) !important;
|
|
159
|
-
// }
|
|
160
|
-
// }
|
|
161
|
-
|
|
162
|
-
// &.has-value {
|
|
163
|
-
// .aeb-label {
|
|
164
|
-
// background: var(--gray-primary) !important;
|
|
165
|
-
// }
|
|
166
|
-
// }
|
|
167
|
-
// }
|
|
168
|
-
|
|
169
|
-
// &--error {
|
|
170
|
-
// .aeb-input {
|
|
171
|
-
// border-color: #ff3055 !important;
|
|
172
|
-
// }
|
|
173
|
-
|
|
174
|
-
// .aeb-label {
|
|
175
|
-
// color: #ff3055 !important;
|
|
176
|
-
// }
|
|
177
|
-
// }
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&__submit {
|
|
181
|
-
margin-top: 24px;
|
|
182
|
-
width: 100%;
|
|
183
|
-
display: flex;
|
|
184
|
-
justify-content: flex-end;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&__response-form {
|
|
188
|
-
margin-bottom: 24px;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { CommentComponent } from './comment.component';
|
|
4
|
-
|
|
5
|
-
describe('CommentComponent', () => {
|
|
6
|
-
let component: CommentComponent;
|
|
7
|
-
let fixture: ComponentFixture<CommentComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ CommentComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
fixture = TestBed.createComponent(CommentComponent);
|
|
18
|
-
component = fixture.componentInstance;
|
|
19
|
-
fixture.detectChanges();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should create', () => {
|
|
23
|
-
expect(component).toBeTruthy();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
OnInit,
|
|
4
|
-
ViewEncapsulation,
|
|
5
|
-
Input,
|
|
6
|
-
Output,
|
|
7
|
-
EventEmitter,
|
|
8
|
-
ViewChild
|
|
9
|
-
} from '@angular/core';
|
|
10
|
-
import { FormControl, FormGroup, Validators } from '@angular/forms';
|
|
11
|
-
|
|
12
|
-
import { TooltipDirective } from '../new-tooltip/tooltip.directive';
|
|
13
|
-
|
|
14
|
-
export type comment = {
|
|
15
|
-
hash: string,
|
|
16
|
-
title: string,
|
|
17
|
-
content: string,
|
|
18
|
-
fullName: string,
|
|
19
|
-
firstName: string,
|
|
20
|
-
lastName: string,
|
|
21
|
-
middleName: string,
|
|
22
|
-
avatar: string,
|
|
23
|
-
aboutAuthor: string,
|
|
24
|
-
date: string,
|
|
25
|
-
group: string,
|
|
26
|
-
parentHash: string,
|
|
27
|
-
nestedComments: comment[],
|
|
28
|
-
parentName: string
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@Component({
|
|
32
|
-
selector: 'aeb-comment',
|
|
33
|
-
templateUrl: './comment.component.html',
|
|
34
|
-
styleUrls: ['./comment.component.scss'],
|
|
35
|
-
encapsulation: ViewEncapsulation.None
|
|
36
|
-
})
|
|
37
|
-
export class CommentComponent implements OnInit {
|
|
38
|
-
@Input ('comment') comment: comment;
|
|
39
|
-
@Output ('response') response: EventEmitter<any> = new EventEmitter();
|
|
40
|
-
|
|
41
|
-
@ViewChild (TooltipDirective) tooltip: TooltipDirective;
|
|
42
|
-
|
|
43
|
-
isExpanded: boolean = false;
|
|
44
|
-
onResponse: boolean = false;
|
|
45
|
-
|
|
46
|
-
titleError: boolean = false;
|
|
47
|
-
contentError: boolean = false;
|
|
48
|
-
|
|
49
|
-
expandHandler(): void {
|
|
50
|
-
this.isExpanded = !this.isExpanded;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
responseHandler(): void {
|
|
54
|
-
this.onResponse = !this.onResponse;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
responseForm = new FormGroup({
|
|
58
|
-
title: new FormControl('', { validators: Validators.required }),
|
|
59
|
-
content: new FormControl('', { validators: Validators.required })
|
|
60
|
-
})
|
|
61
|
-
|
|
62
|
-
submitHandler(): void {
|
|
63
|
-
this.titleError = this.responseForm.get('title').invalid;
|
|
64
|
-
this.contentError = this.responseForm.get('content').invalid;
|
|
65
|
-
|
|
66
|
-
if (this.responseForm.invalid) return;
|
|
67
|
-
|
|
68
|
-
this.response.emit({
|
|
69
|
-
...this.responseForm.value,
|
|
70
|
-
hash: this.comment.hash,
|
|
71
|
-
parentHash: this.comment.parentHash,
|
|
72
|
-
parentName: this.comment.parentName,
|
|
73
|
-
firstName: 'Дмитрий',
|
|
74
|
-
lastName: 'Сахаров',
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
this.onResponse = false;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
hoistHandler(data: any): void {
|
|
81
|
-
this.response.emit(data);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
nullTarget(event: Event): void {
|
|
85
|
-
event.preventDefault();
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
constructor() {}
|
|
89
|
-
|
|
90
|
-
ngOnInit(): void {
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { CommentComponent } from './comment.component';
|
|
4
|
-
import { NewTooltipModule } from '../new-tooltip/new-tooltip.module';
|
|
5
|
-
import { FormFieldModule } from '../form-field/form-field.module';
|
|
6
|
-
import { ButtonModule } from '../button/button.module';
|
|
7
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
|
8
|
-
|
|
9
|
-
@NgModule({
|
|
10
|
-
declarations: [
|
|
11
|
-
CommentComponent
|
|
12
|
-
],
|
|
13
|
-
imports: [
|
|
14
|
-
CommonModule,
|
|
15
|
-
NewTooltipModule,
|
|
16
|
-
FormFieldModule,
|
|
17
|
-
ButtonModule,
|
|
18
|
-
ReactiveFormsModule
|
|
19
|
-
],
|
|
20
|
-
exports: [CommentComponent]
|
|
21
|
-
})
|
|
22
|
-
export class CommentModule { }
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { CommentModule } from './comment.module';
|
|
2
|
-
import { CommentComponent } from './comment.component';
|
|
3
|
-
import { withDesign } from 'storybook-addon-designs';
|
|
4
|
-
import { action } from '@storybook/addon-actions';
|
|
5
|
-
|
|
6
|
-
import { moduleMetadata } from '@storybook/angular';
|
|
7
|
-
import { Story } from '@storybook/angular/types-6-0';
|
|
8
|
-
|
|
9
|
-
import {
|
|
10
|
-
Component,
|
|
11
|
-
} from '@angular/core';
|
|
12
|
-
|
|
13
|
-
const avatar = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAIAAACyr5FlAAAHHUlEQVR4nO3dS4hPbxzH8Wf+DOOe+5TcIolEkYyNLMglYeGSmsRCStnYTGSFwsZtSbmUhZWdci2UjUTKrZHLlEK53w3G7ukzz99H+v3OMceZ92v1PX2bc85Mn555Opfn1LS1tQXglwgHnP86+gRQXIQDFuGARThgEQ5YhAMW4YBFOGARDliEAxbhgEU4YBEOWIQDFuGARThgEQ5YXTv6BDpebW2ta7W2tv7NMykaRg5YhAMW4YDVWeYc9fX1utnU1BTrNWvWaOvHjx+xPnjwoLZ27twZ65cvX2Z8isXDyAGLcMAiHLAIB6wyT0h79uwZ661bt2pr3bp1se7a1f4RNm7cqJtfv36N9bZt27T15cuXis+zsBg5YBEOWIQDVk1bW1tNTU1Hn0YuGhoaYn3+/Hlt9ejRo4Idvn37NtazZs3S1o0bNyrYYcExcsAiHLAIByzCAavMF8GWLl0a68pmoIm+ffvGes6cOdpiQorOhXDAIhywyjznmDx5cn47nzRpUn47LwhGDliEAxbhgEU4YJVqQlpXV6ebvXr1yu9YAwYMyG/nBcHIAYtwwCIcsEo150geAX/37l1+x9KnwsqKkQMW4YBFOGARDlilmpAmX7q8d+9erOfNm5ftsXTnZcXIAYtwwCIcsEo150icPXs21sliCpW9Afr9+/dYX7x4seIT+1cwcsAiHLAIByzCAavME9Lr16/H+vHjx9oaNWpUBTu8c+dOrG/dulXpef0zGDlgEQ5YhAPW355zjB49Otbjxo3T1tChQ2Od3EJ78+ZNrB8+fKit5ubmWH/+/Flbz58/j/Xhw4e1pcuS/mYdUl14NLRfJ//Fixfup3r37q2bY8eOjbX++qH9mg7fvn3Tlp58cpOvpaXFHTpbjBywCAcswgGLcMDKZZHaQYMGxXr9+vXaWr58eayHDx+urX79+sU6mZB+/Pgx1jpTCyHcv38/1sePH9fWmTNnYt2nTx9tnTp1KtY6YUwkK30tXLgw1skfbe7cubFubGzUlk5ChwwZoi1dqUy/EBXaz8GTGeiRI0d+WSc/VT1GDliEAxbhgJXNnEMv5oQQ9u/fH+vVq1dXufM/l8xU9MZb8u2cgQMHxnrPnj3a+vTpU6w3bNigrf79+8c6ebRs4sSJsc77QwM6O9m3b5+29OLehw8fqjwQIwcswgGLcMAiHLCymZAuWbJEN48dOxbr5OpTR3n//r1uHj16NNZ6hS20X3gjeWBs1apVsc5kpf3qJTeHV65cGetz585VuXNGDliEAxbhgJXNk2DJ/+aCzDNU8nSWzh6SK136HeumpiZtFWSeofS6XAihvr4+w50zcsAiHLAIByzCASubCem1a9d089mzZ7HWFw7+Mr1Jm7zQoPeNly1bpq3Xr1/HevPmzdratGlTrEeMGJHRaVbl0aNHunnz5s0Md87IAYtwwCIcsLKZc1y9elU39fGk5DpS8sxY9fSxqOQulD5ivnfvXm3px6oXLFigLV34K/m9VqxYEWudf4QQZs+eHevkOz3V39dMnnB79epVrHfv3q2t27dvV3ksxcgBi3DAIhywCAesXF6HrK2tjXWyIr2+qTB16lRtDRs2LNZdunTRll5Vu3v3rrZ0znjixAlt6RWhKVOmaEvnqoMHD/7VLxHC/y6dzZ8/P9YPHjzQln4aXV/5DCFMnz491uPHj9eWHjp5HVKvbl25ckVbutbI5cuXtaWz6eoxcsAiHLAIB6xc5hztDtB+5/qV6OTprO7du7uf0rW5kofF9bHyZFktfXDrwIED2lq7dq07lkr+heuLk1u2bHFnmCwyps/FJc+SdevWLdbJlS5d3yz5EqW+sJkrRg5YhAMW4YBFOGDlPiHtQPrCRPKsWnLj9A/pNbGZM2dq6+nTpxXssOAYOWARDliEA1aZP8aja4NWNslI6IqiDQ0N2jp58mT1+y8aRg5YhAMW4YBFOGCVeUI6bdq0/HY+Y8YM3WRCis6FcMAiHLBKNedI7iCOGTMmv2ONHDkyv50XBCMHLMIBi3DAIhywSjUhTd4J0Af/M1fAhXgzx8gBi3DAIhywSjXnaG1t1U1dOytzyYexS4mRAxbhgEU4YBEOWKWakCYuXboU60WLFuW387Ji5IBFOGARDlhlXoJhwoQJsb5w4YK2KvtEkK49qivhhxBaWloq2GHBMXLAIhywCAcswgGrzBfBmpubY71r1y5t7dixI9a/+Qi5roAbQti+fXusnzx5ksEpFhsjByzCAYtwwCrzRTBVV1enm4sXL451Y2OjtnQx/EOHDmnr9OnTsdaV8MuKkQMW4YBFOGARDlidZUL6G8mXKPWLSckXGzsbRg5YhAMW4YCXfJQQiBg5YBEOWIQDFuGARThgEQ5YhAMW4YBFOGARDliEAxbhgEU4YBEOWIQDFuGARThgEQ5YhAMW4YBFOGD9BHAK0C/V9yxjAAAAAElFTkSuQmCC';
|
|
14
|
-
|
|
15
|
-
const content = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.';
|
|
16
|
-
const fullName = 'Сахаров Дмитрий Алексеевич';
|
|
17
|
-
const aboutAuthor = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit';
|
|
18
|
-
|
|
19
|
-
const randomString = (): string => {
|
|
20
|
-
return Math.round((Math.pow(36, 6 + 1) - Math.random() * Math.pow(36, 6))).toString(36).slice(1);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
const hashSearch = (hash: string, comments: any) => {
|
|
24
|
-
if (!comments.length) return null;
|
|
25
|
-
|
|
26
|
-
for (let i: number = 0; i < comments.length; i += 1) {
|
|
27
|
-
if (comments[i].hash === hash) return comments[i];
|
|
28
|
-
|
|
29
|
-
const target = hashSearch(hash, comments[i].nestedComments);
|
|
30
|
-
|
|
31
|
-
if (target) {
|
|
32
|
-
return target;
|
|
33
|
-
|
|
34
|
-
} else {
|
|
35
|
-
continue;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
const comment = {
|
|
42
|
-
hash: 'zxcxxx',
|
|
43
|
-
title: 'Title 1',
|
|
44
|
-
content,
|
|
45
|
-
fullName,
|
|
46
|
-
firstName: 'Дмитрий',
|
|
47
|
-
lastName: 'Сахаров',
|
|
48
|
-
middleName: 'Алексеевич',
|
|
49
|
-
avatar,
|
|
50
|
-
aboutAuthor,
|
|
51
|
-
date: '22.01.2021',
|
|
52
|
-
group: 'Служба ОБ',
|
|
53
|
-
parentHash: '',
|
|
54
|
-
nestedComments: [
|
|
55
|
-
{
|
|
56
|
-
hash: 'qwe123123',
|
|
57
|
-
title: 'Title 2',
|
|
58
|
-
content,
|
|
59
|
-
fullName,
|
|
60
|
-
firstName: 'Дмитрий',
|
|
61
|
-
lastName: 'Сахаров',
|
|
62
|
-
middleName: 'Алексеевич',
|
|
63
|
-
aboutAuthor,
|
|
64
|
-
date: '22.01.2021',
|
|
65
|
-
group: 'Служба ОБ',
|
|
66
|
-
parentHash: 'zxcxxx',
|
|
67
|
-
parentName: fullName,
|
|
68
|
-
nestedComments: []
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
hash: 'qwersdfa2q34',
|
|
72
|
-
title: 'Title 3',
|
|
73
|
-
content,
|
|
74
|
-
fullName,
|
|
75
|
-
firstName: 'Дмитрий',
|
|
76
|
-
lastName: 'Сахаров',
|
|
77
|
-
middleName: 'Алексеевич',
|
|
78
|
-
aboutAuthor,
|
|
79
|
-
date: '22.01.2021',
|
|
80
|
-
group: 'Служба ОБ',
|
|
81
|
-
parentHash: 'zxcxxx',
|
|
82
|
-
parentName: fullName,
|
|
83
|
-
nestedComments: []
|
|
84
|
-
}
|
|
85
|
-
]
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
@Component({
|
|
89
|
-
selector: 'test-component',
|
|
90
|
-
template: `
|
|
91
|
-
<div style="width: 850px; background: rgba(255,255,255,0.1); padding: 15px">
|
|
92
|
-
<aeb-comment (response)="test($event)" [comment]="comment"></aeb-comment>
|
|
93
|
-
</div>
|
|
94
|
-
`
|
|
95
|
-
})
|
|
96
|
-
class TestComponent {
|
|
97
|
-
comment: any = comment;
|
|
98
|
-
|
|
99
|
-
constructor () {}
|
|
100
|
-
|
|
101
|
-
test(data: any) {
|
|
102
|
-
const targetComment: any = hashSearch(data.hash, [comment]);
|
|
103
|
-
targetComment.nestedComments.push({
|
|
104
|
-
...data,
|
|
105
|
-
fullName,
|
|
106
|
-
aboutAuthor,
|
|
107
|
-
date: '22.01.2021',
|
|
108
|
-
group: 'Служба ОБ',
|
|
109
|
-
hash: randomString(),
|
|
110
|
-
nestedComments: []
|
|
111
|
-
});
|
|
112
|
-
action('Comment tree')(comment);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export default {
|
|
117
|
-
title: 'Components/Comment',
|
|
118
|
-
component: CommentComponent,
|
|
119
|
-
decorators: [
|
|
120
|
-
moduleMetadata({
|
|
121
|
-
imports: [CommentModule],
|
|
122
|
-
declarations: [ TestComponent ]
|
|
123
|
-
}),
|
|
124
|
-
withDesign
|
|
125
|
-
]
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
export const Default: Story<CommentComponent> = () => ({
|
|
129
|
-
component: CommentComponent,
|
|
130
|
-
template: `
|
|
131
|
-
<test-component>
|
|
132
|
-
</test-component>
|
|
133
|
-
`
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
Default.parameters = {
|
|
137
|
-
design: {
|
|
138
|
-
type: 'figma',
|
|
139
|
-
url: 'https://www.figma.com/file/THaYMLbry68fxOz8A5Orhh/AEB.Web.UI?node-id=852%3A2058'
|
|
140
|
-
}
|
|
141
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<div class="credit-item-card" #creditItemCard>
|
|
2
|
-
<div class="credit-item-card__info-icon" (click)="infoClickEvent$.emit()"></div>
|
|
3
|
-
<div class="credit-item-card__title-wrapper" (click)="buttonClickEvent$.emit()">
|
|
4
|
-
<div class="credit-item-card__title">«{{ cardInfo?.title }}»</div>
|
|
5
|
-
<div class="credit-item-card__title-text">{{ cardInfo?.caption }}</div>
|
|
6
|
-
</div>
|
|
7
|
-
<div class="credit-item-card__details-wrapper">
|
|
8
|
-
<div class="credit-item-card__credit-details">
|
|
9
|
-
<div *ngIf="cardInfo?.details?.time" class="credit-item-card__credit-details-item">
|
|
10
|
-
<div class="credit-item-card__credit-details-item-title">Срок кредита</div>
|
|
11
|
-
<div class="credit-item-card__credit-details-item-separator"></div>
|
|
12
|
-
<div class="credit-item-card__credit-details-item-value">до {{ cardInfo?.details?.time }} {{ cardInfo?.details?.timeMeasure }}</div>
|
|
13
|
-
</div>
|
|
14
|
-
<div *ngIf="cardInfo?.details?.rate" class="credit-item-card__credit-details-item">
|
|
15
|
-
<div class="credit-item-card__credit-details-item-title">Ставка</div>
|
|
16
|
-
<div class="credit-item-card__credit-details-item-separator"></div>
|
|
17
|
-
<div class="credit-item-card__credit-details-item-value">{{ cardInfo?.details?.rate }} %</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div *ngIf="cardInfo?.details?.amount" class="credit-item-card__credit-details-item">
|
|
20
|
-
<div class="ccredit-item-card__credit-details-item-title">Сумма кредита</div>
|
|
21
|
-
<div class="credit-item-card__credit-details-item-separator"></div>
|
|
22
|
-
<div class="credit-item-card__credit-details-item-value">до {{ cardInfo?.details?.amount }} {{ cardInfo?.details?.amountMeasure }}</div>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="credit-item-card__button-wrapper">
|
|
27
|
-
<aeb-new-button
|
|
28
|
-
[label]="'Рассчитать кредит'"
|
|
29
|
-
(click)="buttonClickEvent$.emit()"
|
|
30
|
-
></aeb-new-button>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|