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,211 +0,0 @@
|
|
|
1
|
-
import { withDesign } from 'storybook-addon-designs';
|
|
2
|
-
import { PopUpModule } from './pop-up.module';
|
|
3
|
-
import { PopUpDirective } from './pop-up.directive';
|
|
4
|
-
|
|
5
|
-
import { moduleMetadata } from '@storybook/angular';
|
|
6
|
-
import { Story } from '@storybook/angular/types-6-0';
|
|
7
|
-
|
|
8
|
-
import { select } from '@storybook/addon-knobs';
|
|
9
|
-
|
|
10
|
-
import { Component } from "@angular/core";
|
|
11
|
-
|
|
12
|
-
const wrapper = 'width: 100%; display: flex; align-content: center; justify-content: center; padding: 20px; box-sizing: border-box;margin-top: 200px;';
|
|
13
|
-
const popUpTrigger = 'width: 200px; height: 50px; background: rgba(255,255,255,0.3); cursor: pointer; display: flex; justify-content: center; align-items: center; user-select: none';
|
|
14
|
-
|
|
15
|
-
const positions = [
|
|
16
|
-
'top',
|
|
17
|
-
'right',
|
|
18
|
-
'bottom',
|
|
19
|
-
'left'
|
|
20
|
-
]
|
|
21
|
-
|
|
22
|
-
@Component({
|
|
23
|
-
template: `
|
|
24
|
-
<div
|
|
25
|
-
class="test-component"
|
|
26
|
-
[ngClass]="{
|
|
27
|
-
'test-component--expanded': expanded
|
|
28
|
-
}"
|
|
29
|
-
>
|
|
30
|
-
<div class="test-component__item">
|
|
31
|
-
<div class="test-component__date">
|
|
32
|
-
03.09.2019
|
|
33
|
-
</div>
|
|
34
|
-
<div class="test-component__content">
|
|
35
|
-
Срок действия сертификата закqwehqweklqjwekljqkl;wej;qlkwej;qklwje
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
<div class="test-component__item">
|
|
39
|
-
<div class="test-component__date">
|
|
40
|
-
03.09.2019
|
|
41
|
-
</div>
|
|
42
|
-
<div class="test-component__content">
|
|
43
|
-
Срок действия сертификата закqwehqweklqjwekljqkl;wej;qlkwej;qklwje
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<div class="test-component__item">
|
|
47
|
-
<div class="test-component__date">
|
|
48
|
-
03.09.2019
|
|
49
|
-
</div>
|
|
50
|
-
<div class="test-component__content">
|
|
51
|
-
Срок действия сертификата закqwehqweklqjwekljqkl;wej;qlkwej;qklwje
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
<div class="test-component__item">
|
|
55
|
-
<div class="test-component__date">
|
|
56
|
-
03.09.2019
|
|
57
|
-
</div>
|
|
58
|
-
<div class="test-component__content">
|
|
59
|
-
Срок действия сертификата закqwehqweklqjwekljqkl;wej;qlkwej;qklwje
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
<div class="test-component__item">
|
|
63
|
-
<div class="test-component__date">
|
|
64
|
-
03.09.2019
|
|
65
|
-
</div>
|
|
66
|
-
<div class="test-component__content">
|
|
67
|
-
Срок действия сертификата закqwehqweklqjwekljqkl;wej;qlkwej;qklwje
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="test-component__item">
|
|
71
|
-
<div class="test-component__date">
|
|
72
|
-
03.09.2019
|
|
73
|
-
</div>
|
|
74
|
-
<div class="test-component__content">
|
|
75
|
-
Срок действия сертификата закqwehqweklqjwekljqkl;wej;qlkwej;qklwje
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
<div class="test-component__item">
|
|
79
|
-
<div class="test-component__date">
|
|
80
|
-
03.09.2019
|
|
81
|
-
</div>
|
|
82
|
-
<div class="test-component__content">
|
|
83
|
-
Срок действия сертификата закqwehqweklqjwekljqkl;wej;qlkwej;qklwje
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
86
|
-
</div>
|
|
87
|
-
<div class="show-all">
|
|
88
|
-
<div
|
|
89
|
-
class="show-all__btn"
|
|
90
|
-
(click)="toggleExpand()"
|
|
91
|
-
>
|
|
92
|
-
{{ expanded ? 'Скрыть' : 'Показать все' }}
|
|
93
|
-
</div>
|
|
94
|
-
</div>
|
|
95
|
-
`,
|
|
96
|
-
selector: 'test-component',
|
|
97
|
-
styles: [`
|
|
98
|
-
.test-component {
|
|
99
|
-
padding: 16px 0;
|
|
100
|
-
max-height: 144px;
|
|
101
|
-
overflow: auto;
|
|
102
|
-
max-width: 360px;
|
|
103
|
-
padding-right: 10px;
|
|
104
|
-
box-sizing: border-box;
|
|
105
|
-
border-bottom: 1px solid #E1E4E7;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.test-component::-webkit-scrollbar {
|
|
109
|
-
width: 4px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.test-component::-webkit-scrollbar-thumb {
|
|
113
|
-
background-color: #D5E8FC;
|
|
114
|
-
outline: none;
|
|
115
|
-
border-radius: 2px;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.test-component__item {
|
|
119
|
-
display: flex;
|
|
120
|
-
align-items: center;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.test-component__item:not(:last-child) {
|
|
124
|
-
margin-bottom: 16px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.test-component__date {
|
|
128
|
-
color: #A3AAAE;
|
|
129
|
-
font-size: 14px;
|
|
130
|
-
margin-right: 12px;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.test-component__content {
|
|
134
|
-
word-break: keep-all;
|
|
135
|
-
display: inline-block;
|
|
136
|
-
white-space: nowrap;
|
|
137
|
-
max-width: 100%;
|
|
138
|
-
overflow: hidden;
|
|
139
|
-
text-overflow: ellipsis;
|
|
140
|
-
font-size: 14px;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.show-all {
|
|
144
|
-
width: 100%;
|
|
145
|
-
display: flex;
|
|
146
|
-
justify-content: flex-end;
|
|
147
|
-
margin-top: 14px;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.show-all__btn {
|
|
151
|
-
color: #2F88F0;
|
|
152
|
-
font-size: 12px;
|
|
153
|
-
cursor: pointer;
|
|
154
|
-
user-select: none;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.test-component--expanded {
|
|
158
|
-
max-height: unset;
|
|
159
|
-
}
|
|
160
|
-
`]
|
|
161
|
-
})
|
|
162
|
-
class TestComponent {
|
|
163
|
-
constructor () {}
|
|
164
|
-
|
|
165
|
-
expanded: boolean = false;
|
|
166
|
-
|
|
167
|
-
toggleExpand(): void {
|
|
168
|
-
this.expanded = !this.expanded;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export default {
|
|
174
|
-
title: 'Components/Pop-up',
|
|
175
|
-
component: PopUpDirective,
|
|
176
|
-
decorators: [
|
|
177
|
-
moduleMetadata({
|
|
178
|
-
imports: [PopUpModule],
|
|
179
|
-
declarations: [TestComponent]
|
|
180
|
-
}),
|
|
181
|
-
withDesign
|
|
182
|
-
]
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
export const Default: Story<PopUpDirective> = () => ({
|
|
186
|
-
component: PopUpDirective,
|
|
187
|
-
template: `
|
|
188
|
-
<div style="${wrapper}">
|
|
189
|
-
<div
|
|
190
|
-
style="${popUpTrigger}"
|
|
191
|
-
aebPopUp
|
|
192
|
-
[position]="position"
|
|
193
|
-
>
|
|
194
|
-
Open / Reposition Pop-up
|
|
195
|
-
<aeb-pop-up [header]="'Уведомления'">
|
|
196
|
-
<test-component></test-component>
|
|
197
|
-
</aeb-pop-up>
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
`,
|
|
201
|
-
props: {
|
|
202
|
-
position: select('Position', positions, 'bottom')
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
|
|
206
|
-
Default.parameters = {
|
|
207
|
-
design: {
|
|
208
|
-
type: 'figma',
|
|
209
|
-
url: 'https://www.figma.com/file/THaYMLbry68fxOz8A5Orhh/AEB.Web.UI?node-id=1591%3A430'
|
|
210
|
-
}
|
|
211
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="aeb-radio-buttons"
|
|
3
|
-
[ngClass]="{
|
|
4
|
-
'aeb-radio-buttons--disabled': disabled,
|
|
5
|
-
'aeb-radio-buttons--error': hasError
|
|
6
|
-
}"
|
|
7
|
-
>
|
|
8
|
-
<div class="aeb-radio-buttons__header">
|
|
9
|
-
{{header}}
|
|
10
|
-
</div>
|
|
11
|
-
<div class="aeb-radio-buttons__items" [ngClass]="{horizontal: horizontal}">
|
|
12
|
-
<div
|
|
13
|
-
*ngFor="let option of options"
|
|
14
|
-
class="aeb-radio-buttons__item"
|
|
15
|
-
(click)="writeValue(option.value)"
|
|
16
|
-
>
|
|
17
|
-
<div
|
|
18
|
-
class="aeb-radio-buttons__circle"
|
|
19
|
-
[ngClass]="{'aeb-radio-buttons__circle--active': value === option.value}"
|
|
20
|
-
></div>
|
|
21
|
-
<span class="aeb-radio-buttons__label">
|
|
22
|
-
{{option.label}}
|
|
23
|
-
</span>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
.aeb-radio-buttons {
|
|
2
|
-
color: var(--darkblue);
|
|
3
|
-
&--disabled {
|
|
4
|
-
color: var(--gray-primary);
|
|
5
|
-
pointer-events: none;
|
|
6
|
-
|
|
7
|
-
.aeb-radio-buttons__circle {
|
|
8
|
-
border: 2px solid var(--gray-primary);
|
|
9
|
-
|
|
10
|
-
&::after {
|
|
11
|
-
background-color: var(--gray-primary);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&--error {
|
|
17
|
-
color: var(--red);
|
|
18
|
-
|
|
19
|
-
.aeb-radio-buttons__circle {
|
|
20
|
-
border: 2px solid var(--red);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&__header {
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
color: var(--gray-primary);
|
|
27
|
-
margin-bottom: 15px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&__items {
|
|
31
|
-
display: inline-flex;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
&.horizontal {
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
align-items: flex-start;
|
|
36
|
-
.aeb-radio-buttons__item {
|
|
37
|
-
padding-right: 32px;
|
|
38
|
-
margin-bottom: 0;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__item {
|
|
44
|
-
display: inline-flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
&:not(:last-child) {
|
|
48
|
-
margin-bottom: 15px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&:hover {
|
|
52
|
-
.aeb-radio-buttons__circle {
|
|
53
|
-
border: 2px solid var(--blue-turquoise);
|
|
54
|
-
|
|
55
|
-
&::after {
|
|
56
|
-
background-color: var(--blue-turquoise);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&:active {
|
|
62
|
-
.aeb-radio-buttons__circle {
|
|
63
|
-
position: relative;
|
|
64
|
-
background-image: var(--active-gradient);
|
|
65
|
-
border: 2px solid transparent;
|
|
66
|
-
|
|
67
|
-
&::before {
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
content: "";
|
|
71
|
-
width: 100%;
|
|
72
|
-
height: 100%;
|
|
73
|
-
border-radius: 50%;
|
|
74
|
-
background-color: white;
|
|
75
|
-
z-index: 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&::after {
|
|
79
|
-
background-image: var(--active-gradient);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&__label {
|
|
86
|
-
font-size: 16px;
|
|
87
|
-
display: block;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&__circle {
|
|
91
|
-
width: 16px;
|
|
92
|
-
height: 16px;
|
|
93
|
-
margin-right: 10px;
|
|
94
|
-
border: 2px solid var(--blue);
|
|
95
|
-
border-radius: 50%;
|
|
96
|
-
|
|
97
|
-
position: relative;
|
|
98
|
-
|
|
99
|
-
&--active {
|
|
100
|
-
&::after {
|
|
101
|
-
position: absolute;
|
|
102
|
-
top: calc(50% - 5px);
|
|
103
|
-
left: calc(50% - 5px);
|
|
104
|
-
content: "";
|
|
105
|
-
width: 10px;
|
|
106
|
-
height: 10px;
|
|
107
|
-
background-color: var(--blue);
|
|
108
|
-
border-radius: 50%;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { RadioButtonsComponent } from './radio-buttons.component';
|
|
4
|
-
|
|
5
|
-
describe('RadioButtonsComponent', () => {
|
|
6
|
-
let component: RadioButtonsComponent;
|
|
7
|
-
let fixture: ComponentFixture<RadioButtonsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async(() => {
|
|
10
|
-
TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ RadioButtonsComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
fixture = TestBed.createComponent(RadioButtonsComponent);
|
|
18
|
-
component = fixture.componentInstance;
|
|
19
|
-
fixture.detectChanges();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should create', () => {
|
|
23
|
-
expect(component).toBeTruthy();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
forwardRef,
|
|
4
|
-
ViewEncapsulation,
|
|
5
|
-
Input,
|
|
6
|
-
Output,
|
|
7
|
-
EventEmitter
|
|
8
|
-
} from '@angular/core';
|
|
9
|
-
import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
10
|
-
|
|
11
|
-
export type radioOption = {
|
|
12
|
-
value: number;
|
|
13
|
-
label: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
@Component({
|
|
17
|
-
selector: 'aeb-radio-buttons',
|
|
18
|
-
templateUrl: './radio-buttons.component.html',
|
|
19
|
-
styleUrls: ['./radio-buttons.component.scss'],
|
|
20
|
-
encapsulation: ViewEncapsulation.None,
|
|
21
|
-
providers: [
|
|
22
|
-
{
|
|
23
|
-
provide: NG_VALUE_ACCESSOR,
|
|
24
|
-
useExisting: forwardRef(() => RadioButtonsComponent),
|
|
25
|
-
multi: true
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
})
|
|
29
|
-
export class RadioButtonsComponent implements ControlValueAccessor {
|
|
30
|
-
@Input ('options') options: radioOption[];
|
|
31
|
-
@Input ('header') header: string;
|
|
32
|
-
@Input ('hasError') hasError: boolean;
|
|
33
|
-
|
|
34
|
-
// Методы для управления компонентом вне формы
|
|
35
|
-
@Output() readonly change: EventEmitter<Event> = new EventEmitter<Event>();
|
|
36
|
-
touched: boolean;
|
|
37
|
-
|
|
38
|
-
@Input ('value') value: number;
|
|
39
|
-
disabled: boolean = false;
|
|
40
|
-
|
|
41
|
-
@Input ('horizontal') horizontal: boolean = false;
|
|
42
|
-
|
|
43
|
-
constructor() { }
|
|
44
|
-
|
|
45
|
-
private onChange(value: any): void {}
|
|
46
|
-
private onTouch(): void {}
|
|
47
|
-
|
|
48
|
-
registerOnChange(fn: (value: any) => void) {
|
|
49
|
-
this.onChange = fn;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
registerOnTouched(fn: any) {
|
|
53
|
-
this.onTouch = fn;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
writeValue(value: any) {
|
|
57
|
-
if (this.disabled) return;
|
|
58
|
-
|
|
59
|
-
this.value = value;
|
|
60
|
-
this.onChange(value);
|
|
61
|
-
this.onTouch();
|
|
62
|
-
if (!this.touched) this.touched = true;
|
|
63
|
-
this.change.emit(value);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
setDisabledState(disabled: boolean) {
|
|
67
|
-
this.disabled = disabled;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { RadioButtonsComponent } from './radio-buttons.component';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@NgModule({
|
|
8
|
-
declarations: [RadioButtonsComponent],
|
|
9
|
-
imports: [
|
|
10
|
-
CommonModule
|
|
11
|
-
],
|
|
12
|
-
exports: [RadioButtonsComponent]
|
|
13
|
-
})
|
|
14
|
-
export class RadioButtonsModule { }
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { radioOption } from './radio-buttons.component';
|
|
2
|
-
import { RadioButtonsModule } from './radio-buttons.module';
|
|
3
|
-
import { RadioButtonsComponent } from './radio-buttons.component';
|
|
4
|
-
import { action } from '@storybook/addon-actions';
|
|
5
|
-
import { boolean, text, array } from '@storybook/addon-knobs';
|
|
6
|
-
import { withDesign } from 'storybook-addon-designs';
|
|
7
|
-
|
|
8
|
-
import { moduleMetadata } from '@storybook/angular';
|
|
9
|
-
import { Story } from '@storybook/angular/types-6-0';
|
|
10
|
-
|
|
11
|
-
import { Component, Input, OnChanges } from '@angular/core';
|
|
12
|
-
import { FormControl, ReactiveFormsModule, FormGroup, Validators } from '@angular/forms';
|
|
13
|
-
|
|
14
|
-
const storyConvert = (options) => {
|
|
15
|
-
return [...options].map((opt, index) => ({
|
|
16
|
-
value: index + 1,
|
|
17
|
-
label: opt
|
|
18
|
-
}))
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@Component({
|
|
22
|
-
selector: 'storybook-test',
|
|
23
|
-
template: `
|
|
24
|
-
<form class="exmp-form" [formGroup]="sampleForm">
|
|
25
|
-
<aeb-radio-buttons [hasError]="hasError" [header]="header" [options]="options" formControlName="rdb">
|
|
26
|
-
</aeb-radio-buttons>
|
|
27
|
-
</form>
|
|
28
|
-
`,
|
|
29
|
-
styles: [`
|
|
30
|
-
.exmp-form {
|
|
31
|
-
background-color: white;
|
|
32
|
-
padding: 20px;
|
|
33
|
-
}
|
|
34
|
-
`]
|
|
35
|
-
})
|
|
36
|
-
class TestComponent implements OnChanges {
|
|
37
|
-
@Input ('disabled') disabled: boolean;
|
|
38
|
-
@Input ('header') header: string;
|
|
39
|
-
@Input ('options') options: radioOption[];
|
|
40
|
-
@Input ('hasError') hasError: boolean;
|
|
41
|
-
|
|
42
|
-
sampleForm = new FormGroup({
|
|
43
|
-
rdb: new FormControl('', {validators: Validators.required})
|
|
44
|
-
})
|
|
45
|
-
|
|
46
|
-
constructor() {
|
|
47
|
-
this.sampleForm.valueChanges.subscribe(form => {
|
|
48
|
-
if (form.rdb) {
|
|
49
|
-
action('[RADIO VALUE, LABEL]: ')(form.rdb, this.options[form.rdb - 1].label);
|
|
50
|
-
}
|
|
51
|
-
})
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
ngOnChanges(changes) {
|
|
55
|
-
if (changes.disabled) {
|
|
56
|
-
this.sampleForm.get('rdb')[this.disabled ? 'disable' : 'enable']();
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export default {
|
|
62
|
-
title: 'Components/Radio buttons',
|
|
63
|
-
component: RadioButtonsComponent,
|
|
64
|
-
decorators: [
|
|
65
|
-
moduleMetadata({
|
|
66
|
-
imports: [
|
|
67
|
-
RadioButtonsModule,
|
|
68
|
-
ReactiveFormsModule
|
|
69
|
-
],
|
|
70
|
-
declarations: [TestComponent]
|
|
71
|
-
}),
|
|
72
|
-
withDesign
|
|
73
|
-
]
|
|
74
|
-
};
|
|
75
|
-
|
|
76
|
-
export const Default: Story<RadioButtonsComponent> = () => ({
|
|
77
|
-
component: RadioButtonsComponent,
|
|
78
|
-
template: `
|
|
79
|
-
<storybook-test
|
|
80
|
-
[header]="header()"
|
|
81
|
-
[disabled]="disabled()"
|
|
82
|
-
[options]="options()"
|
|
83
|
-
[hasError]="onError()"
|
|
84
|
-
></storybook-test>
|
|
85
|
-
`,
|
|
86
|
-
props: {
|
|
87
|
-
disabled: () => boolean('Disabled', false),
|
|
88
|
-
header: () => text('Header', 'Группа радиокнопок'),
|
|
89
|
-
onError: () => boolean('On error', false),
|
|
90
|
-
options: () => storyConvert(
|
|
91
|
-
array('Options', ['Значение 1', 'Значение 2', 'Значение 3'], ', ')
|
|
92
|
-
)
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
|
|
96
|
-
Default.parameters = {
|
|
97
|
-
design: {
|
|
98
|
-
type: 'figma',
|
|
99
|
-
url: 'https://www.figma.com/file/THaYMLbry68fxOz8A5Orhh/AEB.Web.UI?node-id=393%3A1440'
|
|
100
|
-
}
|
|
101
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Pipe({
|
|
4
|
-
name: 'highlight'
|
|
5
|
-
})
|
|
6
|
-
export class HighlightPipe implements PipeTransform {
|
|
7
|
-
|
|
8
|
-
transform(value: string, ...args: string[]): string {
|
|
9
|
-
|
|
10
|
-
return `${value.replace(RegExp(args[0]), `<b>${args[0]}</b>`)}`;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="aeb-search"
|
|
3
|
-
[ngClass]="{
|
|
4
|
-
'aeb-search--plate': !withoutBg
|
|
5
|
-
}"
|
|
6
|
-
>
|
|
7
|
-
<div class="aeb-search__input-wrapper">
|
|
8
|
-
<div class="aeb-search__search-icon">
|
|
9
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10
|
-
<circle cx="10.5" cy="10.5" r="6.5" stroke="#2F88F0" stroke-width="2"/>
|
|
11
|
-
<path d="M15 15.5L19.5 20" stroke="#2F88F0" stroke-width="2" stroke-linecap="round"/>
|
|
12
|
-
</svg>
|
|
13
|
-
</div>
|
|
14
|
-
<input
|
|
15
|
-
class="aeb-search__input"
|
|
16
|
-
clickOutside
|
|
17
|
-
[placeholder]="placeholder"
|
|
18
|
-
(input)="inputHandler($event)"
|
|
19
|
-
(clickOutside)="blurHandler()"
|
|
20
|
-
[value]="value"
|
|
21
|
-
(focus)="focusHandler()"
|
|
22
|
-
[ngClass]="{
|
|
23
|
-
'aeb-search__input--expanded': onShowOptions && options.length
|
|
24
|
-
}"
|
|
25
|
-
#input
|
|
26
|
-
/>
|
|
27
|
-
<div
|
|
28
|
-
class="aeb-search__options"
|
|
29
|
-
*ngIf="onShowOptions && options.length"
|
|
30
|
-
>
|
|
31
|
-
<div
|
|
32
|
-
class="aeb-search__option-wrapper"
|
|
33
|
-
*ngFor="let option of options"
|
|
34
|
-
(click)="selectHandler(option.value)"
|
|
35
|
-
>
|
|
36
|
-
<div
|
|
37
|
-
class="aeb-search__option"
|
|
38
|
-
>
|
|
39
|
-
<div class="aeb-search__option-img">
|
|
40
|
-
<img *ngIf="option.image; else elseTemplate" [src]="option.image" />
|
|
41
|
-
<ng-template #elseTemplate>
|
|
42
|
-
{{option.value[0].toUpperCase()}}
|
|
43
|
-
</ng-template>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="aeb-search__option-content">
|
|
46
|
-
<div
|
|
47
|
-
class="aeb-search__option-value"
|
|
48
|
-
[innerHTML]="option.value | highlight:value"
|
|
49
|
-
></div>
|
|
50
|
-
<div class="aeb-search__option-desc">
|
|
51
|
-
{{option.description}}
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
<ng-container
|
|
58
|
-
*ngIf="!withoutBg"
|
|
59
|
-
>
|
|
60
|
-
<div
|
|
61
|
-
class="aeb-search__examples"
|
|
62
|
-
*ngIf="examples.length"
|
|
63
|
-
>
|
|
64
|
-
Например:
|
|
65
|
-
<span
|
|
66
|
-
class="aeb-search__example"
|
|
67
|
-
*ngFor="let example of examples; index as i"
|
|
68
|
-
(click)="inputExample(example)"
|
|
69
|
-
>
|
|
70
|
-
{{example}}<span *ngIf="i !== examples.length - 1">, </span>
|
|
71
|
-
</span>
|
|
72
|
-
</div>
|
|
73
|
-
</ng-container>
|
|
74
|
-
<div
|
|
75
|
-
class="aeb-search__close-icon"
|
|
76
|
-
*ngIf="value"
|
|
77
|
-
(click)="clearInput()"
|
|
78
|
-
>
|
|
79
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
80
|
-
<path d="M5.63074 5.63086L18.3692 18.3693" stroke="#27303E" stroke-width="2" stroke-linecap="round"/>
|
|
81
|
-
<path d="M18.3693 5.63086L5.63077 18.3693" stroke="#27303E" stroke-width="2" stroke-linecap="round"/>
|
|
82
|
-
</svg>
|
|
83
|
-
</div>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|