af-connect-components 0.0.24 → 0.0.26
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/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +11 -8
- package/angular.json +40 -0
- package/package.json +41 -31
- package/projects/af-connect-components/README.md +24 -0
- package/projects/af-connect-components/ng-package.json +7 -0
- package/projects/af-connect-components/package-lock.json +4286 -0
- package/projects/af-connect-components/package.json +12 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.html +13 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.scss +50 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.ts +17 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.html +25 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.scss +306 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.ts +25 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.html +20 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.scss +209 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.ts +21 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.html +4 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss +100 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.ts +14 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html +15 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss +125 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-components.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-components.component.ts +15 -0
- package/projects/af-connect-components/src/lib/af-connect-components.module.ts +146 -0
- package/projects/af-connect-components/src/lib/af-connect-components.service.spec.ts +16 -0
- package/projects/af-connect-components/src/lib/af-connect-components.service.ts +9 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.scss +227 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.ts +13 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.scss +51 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.ts +18 -0
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.html +106 -0
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.scss +186 -0
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.ts +292 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.scss +18 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.html +40 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.scss +5 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.ts +14 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.html +49 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.scss +24 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.ts +27 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.scss +68 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.ts +18 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.html +29 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.scss +117 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.ts +77 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.scss +67 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.ts +15 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.html +43 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss +136 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.ts +99 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.html +8 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.scss +94 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.ts +18 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.html +11 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.scss +72 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.ts +12 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.html +16 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.scss +32 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.spec.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.ts +58 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/defaultConfig.ts +26 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.scss +96 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.ts +21 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.html +94 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.scss +176 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.ts +48 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.html +11 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.scss +48 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.ts +34 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.html +28 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.scss +204 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.ts +101 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.scss +28 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.ts +111 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.scss +8 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.ts +13 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.html +17 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.scss +153 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html +91 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss +242 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.scss +66 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.ts +19 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.html +4 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.ts +11 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html +15 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss +125 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.ts +100 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.html +13 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.scss +66 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.html +26 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.scss +55 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.ts +120 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.html +11 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.scss +149 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.ts +36 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/types.ts +1 -0
- package/projects/af-connect-components/src/lib/constants/animation.constants.ts +149 -0
- package/projects/af-connect-components/src/lib/constants/base.constants.ts +10 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.html +4 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.scss +0 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.spec.ts +22 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.ts +21 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.html +14 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.scss +0 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.spec.ts +22 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.ts +38 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.html +3 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.scss +3 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.ts +21 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.html +7 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.scss +18 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.ts +16 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.html +15 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.scss +58 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.ts +12 -0
- package/projects/af-connect-components/src/lib/faq/image-fallback/image-fallback.component.ts +57 -0
- package/{lib/models/notification-response.model.d.ts → projects/af-connect-components/src/lib/models/notification-response.model.ts} +1 -0
- package/projects/af-connect-components/src/lib/models/radio.model.ts +3 -0
- package/projects/af-connect-components/src/lib/services/breakpoint.service.ts +10 -0
- package/projects/af-connect-components/src/lib/utilities/number.util.ts +3 -0
- package/{public-api.d.ts → projects/af-connect-components/src/public-api.ts} +7 -0
- package/projects/af-connect-components/src/shared/pipes/get-initials.ts +13 -0
- package/projects/af-connect-components/src/styles/breakpoints.scss +91 -0
- package/projects/af-connect-components/tsconfig.lib.json +14 -0
- package/projects/af-connect-components/tsconfig.lib.prod.json +10 -0
- package/projects/af-connect-components/tsconfig.spec.json +14 -0
- package/tsconfig.json +39 -0
- package/esm2020/af-connect-components.mjs +0 -5
- package/esm2020/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +0 -22
- package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +0 -47
- package/esm2020/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +0 -33
- package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +0 -17
- package/esm2020/lib/af-connect-chart/af-connect-chart.component.mjs +0 -11
- package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +0 -23
- package/esm2020/lib/af-connect-components.component.mjs +0 -19
- package/esm2020/lib/af-connect-components.module.mjs +0 -239
- package/esm2020/lib/af-connect-components.service.mjs +0 -14
- package/esm2020/lib/af-connect-content/af-connect-content.component.mjs +0 -14
- package/esm2020/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +0 -11
- package/esm2020/lib/af-connect-error/af-connect-error.component.mjs +0 -26
- package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +0 -266
- package/esm2020/lib/af-connect-form-group/af-connect-form-group.component.mjs +0 -11
- package/esm2020/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +0 -21
- package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +0 -46
- package/esm2020/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +0 -29
- package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +0 -92
- package/esm2020/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +0 -18
- package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +0 -101
- package/esm2020/lib/af-connect-no-content/af-connect-no-content.component.mjs +0 -26
- package/esm2020/lib/af-connect-notification/af-connect-notification.component.mjs +0 -15
- package/esm2020/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +0 -47
- package/esm2020/lib/af-connect-products-carousel/defaultConfig.mjs +0 -27
- package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +0 -27
- package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +0 -69
- package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +0 -45
- package/esm2020/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +0 -99
- package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +0 -114
- package/esm2020/lib/af-connect-section/af-connect-section.component.mjs +0 -14
- package/esm2020/lib/af-connect-section-header/af-connect-section-header.component.mjs +0 -35
- package/esm2020/lib/af-connect-select/af-connect-select.component.mjs +0 -11
- package/esm2020/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +0 -27
- package/esm2020/lib/af-connect-tab/af-connect-tab.component.mjs +0 -20
- package/esm2020/lib/af-connect-table/af-connect-table.component.mjs +0 -11
- package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +0 -87
- package/esm2020/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +0 -33
- package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +0 -133
- package/esm2020/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +0 -48
- package/esm2020/lib/af-connect-tooltip/types.mjs +0 -2
- package/esm2020/lib/constants/animation.constants.mjs +0 -121
- package/esm2020/lib/constants/base.constants.mjs +0 -10
- package/esm2020/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +0 -23
- package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +0 -54
- package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +0 -29
- package/esm2020/lib/faq/faq/faq.component.mjs +0 -22
- package/esm2020/lib/faq/faq-item/faq-item.component.mjs +0 -16
- package/esm2020/lib/faq/faqItem.mjs +0 -2
- package/esm2020/lib/faq/image-fallback/image-fallback.component.mjs +0 -74
- package/esm2020/lib/models/notification-response.model.mjs +0 -2
- package/esm2020/lib/models/radio.model.mjs +0 -2
- package/esm2020/lib/services/breakpoint.service.mjs +0 -16
- package/esm2020/lib/utilities/number.util.mjs +0 -4
- package/esm2020/public-api.mjs +0 -43
- package/esm2020/shared/pipes/get-initials.mjs +0 -20
- package/fesm2015/af-connect-components.mjs +0 -2154
- package/fesm2015/af-connect-components.mjs.map +0 -1
- package/fesm2020/af-connect-components.mjs +0 -2146
- package/fesm2020/af-connect-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +0 -10
- package/lib/af-connect-button/af-connect-button.component.d.ts +0 -21
- package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +0 -14
- package/lib/af-connect-card/af-connect-card.component.d.ts +0 -8
- package/lib/af-connect-chart/af-connect-chart.component.d.ts +0 -5
- package/lib/af-connect-chip/af-connect-chip.component.d.ts +0 -12
- package/lib/af-connect-components.component.d.ts +0 -5
- package/lib/af-connect-components.module.d.ts +0 -52
- package/lib/af-connect-components.service.d.ts +0 -6
- package/lib/af-connect-content/af-connect-content.component.d.ts +0 -8
- package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +0 -5
- package/lib/af-connect-error/af-connect-error.component.d.ts +0 -12
- package/lib/af-connect-footer/af-connect-footer.component.d.ts +0 -152
- package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +0 -5
- package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +0 -10
- package/lib/af-connect-header/af-connect-header.component.d.ts +0 -18
- package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +0 -13
- package/lib/af-connect-input/af-connect-input.component.d.ts +0 -36
- package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +0 -8
- package/lib/af-connect-modal/af-connect-modal.component.d.ts +0 -46
- package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +0 -12
- package/lib/af-connect-notification/af-connect-notification.component.d.ts +0 -8
- package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +0 -32
- package/lib/af-connect-products-carousel/defaultConfig.d.ts +0 -6
- package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +0 -13
- package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +0 -26
- package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +0 -18
- package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +0 -34
- package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +0 -35
- package/lib/af-connect-section/af-connect-section.component.d.ts +0 -8
- package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +0 -15
- package/lib/af-connect-select/af-connect-select.component.d.ts +0 -5
- package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +0 -14
- package/lib/af-connect-tab/af-connect-tab.component.d.ts +0 -9
- package/lib/af-connect-table/af-connect-table.component.d.ts +0 -5
- package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +0 -25
- package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +0 -13
- package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +0 -37
- package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +0 -16
- package/lib/af-connect-tooltip/types.d.ts +0 -1
- package/lib/constants/animation.constants.d.ts +0 -13
- package/lib/constants/base.constants.d.ts +0 -10
- package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +0 -8
- package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +0 -21
- package/lib/expandable/expandable-container/expandable-container.component.d.ts +0 -8
- package/lib/faq/faq/faq.component.d.ts +0 -9
- package/lib/faq/faq-item/faq-item.component.d.ts +0 -7
- package/lib/faq/image-fallback/image-fallback.component.d.ts +0 -18
- package/lib/models/radio.model.d.ts +0 -3
- package/lib/services/breakpoint.service.d.ts +0 -9
- package/lib/utilities/number.util.d.ts +0 -1
- package/shared/pipes/get-initials.d.ts +0 -10
- /package/{lib/faq/faqItem.d.ts → projects/af-connect-components/src/lib/faq/faqItem.ts} +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
@import '../../styles/breakpoints.scss';
|
|
2
|
+
|
|
3
|
+
:host {
|
|
4
|
+
position: relative;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:host(.investments-mobile) {
|
|
8
|
+
.buttons-container {
|
|
9
|
+
margin: auto 0 0;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
:host(.portfolio-mobile-card-title) {
|
|
14
|
+
border: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host(.documents-section-header) {
|
|
18
|
+
.header-container .border-line {
|
|
19
|
+
margin-bottom: 0.75rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@keyframes colorchange {
|
|
24
|
+
0% {
|
|
25
|
+
background: var(--secondary-grey-color);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
50% {
|
|
29
|
+
background: darken(#fafbfc, 10%);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
100% {
|
|
33
|
+
background: var(--secondary-grey-color);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@keyframes colorBack {
|
|
38
|
+
0% {
|
|
39
|
+
background: var(--secondary-grey-color);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
50% {
|
|
43
|
+
background: darken(#fafbfc, 10%);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
100% {
|
|
47
|
+
background: var(--secondary-grey-color);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
$animation-time: 0.9s;
|
|
52
|
+
$background-primary: var(--secondary-grey-color);
|
|
53
|
+
|
|
54
|
+
.header-container {
|
|
55
|
+
background: $background-primary;
|
|
56
|
+
|
|
57
|
+
font-family: var(--standard-font-family-hero-new-semibold);
|
|
58
|
+
padding: 1rem 1.75rem;
|
|
59
|
+
min-height: 2.7rem;
|
|
60
|
+
border-radius: var(--section-border-radius);
|
|
61
|
+
align-items: center;
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
|
|
66
|
+
@include media(tabletTreshold) {
|
|
67
|
+
font-size: 18px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@include media(mobileBreakPointTreshold) {
|
|
71
|
+
padding: 0.5rem 1.25rem;
|
|
72
|
+
min-height: 0px;
|
|
73
|
+
background-color: var(--main-background-color-mobile);
|
|
74
|
+
border: 1px solid var(--neutral-button-color);
|
|
75
|
+
border-radius: 0;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.default {
|
|
79
|
+
font-size: 1.4rem;
|
|
80
|
+
color: var(--primary-dark-teal-color);
|
|
81
|
+
|
|
82
|
+
@include media(mobileBreakPointTreshold) {
|
|
83
|
+
font-size: 1.125rem;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.portfolio {
|
|
88
|
+
font-size: var(--standard-font-size-14);
|
|
89
|
+
color: var(--main-black-color);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&.isStatic {
|
|
93
|
+
background-color: $background-primary;
|
|
94
|
+
font-family: var(--standard-font-family-hero-new-bold);
|
|
95
|
+
|
|
96
|
+
@include media(mobileBreakPointTreshold) {
|
|
97
|
+
background: var(--main-white-color);
|
|
98
|
+
border: none;
|
|
99
|
+
padding: 0 1.25rem;
|
|
100
|
+
padding-top: 0.5rem;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.isExpandable {
|
|
105
|
+
cursor: pointer;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.section-wrapper {
|
|
110
|
+
align-items: center;
|
|
111
|
+
justify-content: space-between;
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: row;
|
|
114
|
+
width: 100%;
|
|
115
|
+
gap: 0.5rem;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.title-container {
|
|
119
|
+
@include media(mobileBreakPointTreshold) {
|
|
120
|
+
max-width: 170px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.expanded {
|
|
125
|
+
animation: colorchange $animation-time;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.collapsed {
|
|
129
|
+
animation: colorBack $animation-time;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.buttons-container {
|
|
133
|
+
display: flex;
|
|
134
|
+
gap: 1rem;
|
|
135
|
+
margin-left: auto;
|
|
136
|
+
|
|
137
|
+
@include media(mobileBreakPointTreshold) {
|
|
138
|
+
font-size: 11px;
|
|
139
|
+
height: 100%;
|
|
140
|
+
font-family: var(--standard-font-family-hero-new-semibold);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.border-line {
|
|
145
|
+
display: none;
|
|
146
|
+
|
|
147
|
+
@include media(mobileBreakPointTreshold) {
|
|
148
|
+
width: 100%;
|
|
149
|
+
border-bottom: 1px solid var(--primary-dark-teal-color);
|
|
150
|
+
display: block;
|
|
151
|
+
margin-top: 8px;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { AfConnectSectionHeaderComponent } from './af-connect-section-header.component';
|
|
4
|
+
|
|
5
|
+
describe('AfConnectSectionHeaderComponent', () => {
|
|
6
|
+
let component: AfConnectSectionHeaderComponent;
|
|
7
|
+
let fixture: ComponentFixture<AfConnectSectionHeaderComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ AfConnectSectionHeaderComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(AfConnectSectionHeaderComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Component, Host, Input, OnInit, Optional, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ExpandableWrapperComponent } from '../expandable/afc-expandable-wrapper/afc-expandable-wrapper.component';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'lib-af-connect-section-header',
|
|
6
|
+
templateUrl: './af-connect-section-header.component.html',
|
|
7
|
+
styleUrls: ['./af-connect-section-header.component.scss']
|
|
8
|
+
})
|
|
9
|
+
export class AfConnectSectionHeaderComponent {
|
|
10
|
+
@Input() title: string;
|
|
11
|
+
@Input() isStatic: boolean = true;
|
|
12
|
+
@Input() variant: 'default' | 'portfolio' = 'default'
|
|
13
|
+
@Output() onClick = new EventEmitter();
|
|
14
|
+
|
|
15
|
+
constructor(@Host() @Optional() public wrapper: ExpandableWrapperComponent) { }
|
|
16
|
+
|
|
17
|
+
ngOnInit(): void { }
|
|
18
|
+
|
|
19
|
+
toggleMobileContent() {
|
|
20
|
+
this.onClick.emit();
|
|
21
|
+
}
|
|
22
|
+
}
|
package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<!-- <div class="dropdown-collection" [ngClass]="[size, (control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',]" (click)="toggleDropdown($event)">
|
|
2
|
+
|
|
3
|
+
<div class="field-container">
|
|
4
|
+
<div class="label-container">
|
|
5
|
+
<label *ngIf="label" [ngClass]="[variant]" class="label">
|
|
6
|
+
{{ label }}<span *ngIf="withAsterisk" class="asterisk">*</span>
|
|
7
|
+
</label>
|
|
8
|
+
<afc-form-validation-errors
|
|
9
|
+
[control]="control"
|
|
10
|
+
[fieldText]="errorReferenceText || label"
|
|
11
|
+
></afc-form-validation-errors>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="input-container">
|
|
14
|
+
<input
|
|
15
|
+
type="text"
|
|
16
|
+
class="field-container-input"
|
|
17
|
+
[placeholder]="(isReadOnly && readOnlyPlaceholder) || placeholder"
|
|
18
|
+
[maxLength]="maxLength"
|
|
19
|
+
[ngClass]="[
|
|
20
|
+
(control && control.disabled) || isDisabled ? 'disabled' : 'not-disabled',
|
|
21
|
+
size,
|
|
22
|
+
dropdownOpen ? 'dropdown-open' : '',
|
|
23
|
+
control && control.errors && control.dirty && control.touched ? 'hasError' : '',
|
|
24
|
+
filter ? 'filterable' : 'non-filterable'
|
|
25
|
+
]"
|
|
26
|
+
[disabled]="(control && control.disabled) || isDisabled || variant === 'read-only' || isReadOnly"
|
|
27
|
+
[(ngModel)]="currentValue"
|
|
28
|
+
(blur)="onBlur()"
|
|
29
|
+
(ngModelChange)="onChange($event)"
|
|
30
|
+
/>
|
|
31
|
+
<div class="arrow-container" *ngIf="variant !== 'read-only'">
|
|
32
|
+
<afc-expandable-arrow
|
|
33
|
+
endPosition="top"
|
|
34
|
+
startPosition="bottom"
|
|
35
|
+
animationSpeed="fast"
|
|
36
|
+
ngClass="arrow"
|
|
37
|
+
[isExpanded]="dropdownOpen"
|
|
38
|
+
>
|
|
39
|
+
</afc-expandable-arrow>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
|
|
44
|
+
<ng-container *ngTemplateOutlet="dropdownListItems; context: { type }"></ng-container>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<ng-template #dropdownListItems let-type="type">
|
|
48
|
+
<ul
|
|
49
|
+
class="dropdown-list"
|
|
50
|
+
role="listbox"
|
|
51
|
+
aria-expanded="false"
|
|
52
|
+
[@selectAnimation]="dropdownOpen ? 'expanded' : 'collapsed'"
|
|
53
|
+
[ngClass]="{ 'dropdown-open': dropdownOpen }"
|
|
54
|
+
>
|
|
55
|
+
<ng-container
|
|
56
|
+
*ngIf="filteredOptions.length !== 0; else noDropdownData"
|
|
57
|
+
[ngTemplateOutlet]="virtualScroll"
|
|
58
|
+
></ng-container>
|
|
59
|
+
</ul>
|
|
60
|
+
</ng-template>
|
|
61
|
+
|
|
62
|
+
<ng-template #virtualScroll>
|
|
63
|
+
<cdk-virtual-scroll-viewport
|
|
64
|
+
class="select-menu-inner"
|
|
65
|
+
[appendOnly]="true"
|
|
66
|
+
[itemSize]="SizeEnum[size]"
|
|
67
|
+
[style.height.px]="itemsShown * SizeEnum[size]"
|
|
68
|
+
[minBufferPx]="itemsShown * SizeEnum[size]"
|
|
69
|
+
[maxBufferPx]="itemsShown * SizeEnum[size]"
|
|
70
|
+
>
|
|
71
|
+
<div
|
|
72
|
+
class="list-item-container"
|
|
73
|
+
*cdkVirtualFor="let option of filteredOptions"
|
|
74
|
+
[ngClass]="[currentValue === option ? 'selected' : '', size]"
|
|
75
|
+
(click)="select(option)"
|
|
76
|
+
>
|
|
77
|
+
<img
|
|
78
|
+
height="14"
|
|
79
|
+
width="26"
|
|
80
|
+
*ngIf="(type === 'country' || type === 'country-code') && option['countryCode']"
|
|
81
|
+
[src]="'../../../../assets/country-flags/' + option?.['countryCode'] + '.svg' | lowercase"
|
|
82
|
+
/>
|
|
83
|
+
<li tabindex="0" role="option" [innerHTML]="valueField && textField ? option[textField] : option"></li>
|
|
84
|
+
</div>
|
|
85
|
+
</cdk-virtual-scroll-viewport>
|
|
86
|
+
</ng-template>
|
|
87
|
+
|
|
88
|
+
<ng-template #noDropdownData>
|
|
89
|
+
<div class="dropdown-no-data">No Data</div>
|
|
90
|
+
</ng-template>
|
|
91
|
+
-->
|
package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
@import '../../styles/breakpoints.scss';
|
|
2
|
+
|
|
3
|
+
:host {
|
|
4
|
+
font-family: var(--standard-font-family-hero-new);
|
|
5
|
+
font-size: 0.875rem;
|
|
6
|
+
color: var(--main-black-color);
|
|
7
|
+
min-width: 5.2rem;
|
|
8
|
+
|
|
9
|
+
&[size='large'] {
|
|
10
|
+
width: 100%;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
ul {
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.dropdown-collection {
|
|
19
|
+
max-width: 26rem;
|
|
20
|
+
position: relative;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
|
|
23
|
+
&.small {
|
|
24
|
+
.arrow {
|
|
25
|
+
right: 10px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.large {
|
|
30
|
+
width: 100%;
|
|
31
|
+
max-width: 100%;
|
|
32
|
+
|
|
33
|
+
&.disabled {
|
|
34
|
+
pointer-events: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.label {
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
.asterisk {
|
|
42
|
+
color: var(--primary-orange-mobile-color);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.large {
|
|
46
|
+
// color: var(--neutral-anchor-color);
|
|
47
|
+
margin-bottom: 3px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.dropdown-list {
|
|
52
|
+
display: block;
|
|
53
|
+
background: var(--main-white-color);
|
|
54
|
+
list-style: none;
|
|
55
|
+
box-shadow: 0px 5px 8px #00000029;
|
|
56
|
+
position: absolute;
|
|
57
|
+
bottom: 0;
|
|
58
|
+
left: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
z-index: 10;
|
|
61
|
+
right: 0;
|
|
62
|
+
margin: 0;
|
|
63
|
+
transform: translateY(100%);
|
|
64
|
+
z-index: 1001;
|
|
65
|
+
|
|
66
|
+
.list-item-container {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
gap: 0.5rem;
|
|
70
|
+
padding: 0.5rem 0.5rem 0.5rem 18px;
|
|
71
|
+
cursor: pointer;
|
|
72
|
+
color: var(--select-grey-color);
|
|
73
|
+
border: 2px solid transparent;
|
|
74
|
+
box-sizing: border-box;
|
|
75
|
+
|
|
76
|
+
&:hover,
|
|
77
|
+
&:focus {
|
|
78
|
+
transition-property: color, background-color;
|
|
79
|
+
transition-duration: 1.1s;
|
|
80
|
+
border: 2px solid lighten($color: #47b6c4, $amount: 35);
|
|
81
|
+
border-radius: 2px;
|
|
82
|
+
background: lighten($color: #47b6c4, $amount: 35);
|
|
83
|
+
outline: none;
|
|
84
|
+
color: var(--footer-dark-black-color);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.empty-option {
|
|
88
|
+
min-height: 20px;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.small {
|
|
92
|
+
gap: 0.2rem;
|
|
93
|
+
padding: 0.5rem 0 0.5rem 2px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.large {
|
|
97
|
+
padding: 11px 11px 11px 20px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.dropdown-no-data {
|
|
102
|
+
height: 3rem;
|
|
103
|
+
font-size: 1rem;
|
|
104
|
+
display: flex;
|
|
105
|
+
align-items: center;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
color: var(--neutral-anchor-color);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
input {
|
|
112
|
+
transition-property: outline-color, background-color;
|
|
113
|
+
transition-duration: 200ms;
|
|
114
|
+
|
|
115
|
+
&:focus {
|
|
116
|
+
outline: transparent;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&::placeholder {
|
|
120
|
+
color: var(--main-grey-color);
|
|
121
|
+
opacity: 0.7;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.field-container-input {
|
|
125
|
+
font-family: var(--standard-font-family-hero-new);
|
|
126
|
+
font-size: 0.875rem;
|
|
127
|
+
padding: 11px 2rem 11px 1.25rem;
|
|
128
|
+
|
|
129
|
+
width: 100%;
|
|
130
|
+
background-color: var(--main-white-color);
|
|
131
|
+
color: var(--main-black-color);
|
|
132
|
+
border: 1px solid transparent;
|
|
133
|
+
transition-property: border-color, background-color;
|
|
134
|
+
transition-duration: 200ms;
|
|
135
|
+
|
|
136
|
+
&.hasError {
|
|
137
|
+
border: 1px solid var(--primary-connected-orange-color) !important;
|
|
138
|
+
background-color: var(--neutral-inline-error-color);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&.filterable {
|
|
142
|
+
pointer-events: all;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&.non-filterable {
|
|
146
|
+
pointer-events: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.read-only {
|
|
150
|
+
background-color: var(--neutral-button-color);
|
|
151
|
+
color: var(--warm-grey-color);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@include media(mobileBreakPointTreshold) {
|
|
155
|
+
font-size: 13px;
|
|
156
|
+
border-radius: var(--input-border-radius);
|
|
157
|
+
box-shadow: var(--input-box-shadow);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.not-disabled {
|
|
162
|
+
color: var(--warm-grey-color);
|
|
163
|
+
border-color: var(--primary-dark-teal-color);
|
|
164
|
+
|
|
165
|
+
&:disabled {
|
|
166
|
+
border: none;
|
|
167
|
+
color: var(--warm-grey-color);
|
|
168
|
+
background-color: var(--neutral-button-color);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&.small {
|
|
173
|
+
padding-left: 0.5rem;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
&.large {
|
|
177
|
+
color: var(--main-black-color);
|
|
178
|
+
padding: 15px;
|
|
179
|
+
border: none;
|
|
180
|
+
|
|
181
|
+
&:disabled {
|
|
182
|
+
background-color: var(--neutral-button-color);
|
|
183
|
+
color: var(--warm-grey-color);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&.dropdown-open {
|
|
188
|
+
border-color: transparent;
|
|
189
|
+
box-shadow: 0px 5px 8px #00000029;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.read-only {
|
|
193
|
+
background-color: var(--neutral-button-color);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.field-container {
|
|
198
|
+
display: flex;
|
|
199
|
+
flex-direction: column;
|
|
200
|
+
gap: 0.5rem;
|
|
201
|
+
|
|
202
|
+
& .label-container {
|
|
203
|
+
display: flex;
|
|
204
|
+
justify-content: space-between;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
cdk-virtual-scroll-viewport {
|
|
209
|
+
&::-webkit-scrollbar {
|
|
210
|
+
width: 0.4rem;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
&::-webkit-scrollbar-thumb {
|
|
214
|
+
border-radius: 2px;
|
|
215
|
+
background-color: var(--primary-balanced-teal-color);
|
|
216
|
+
outline: none;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.input-container {
|
|
221
|
+
display: flex;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.arrow-container {
|
|
225
|
+
position: relative;
|
|
226
|
+
display: flex;
|
|
227
|
+
min-height: 100%;
|
|
228
|
+
justify-content: center;
|
|
229
|
+
align-items: center;
|
|
230
|
+
|
|
231
|
+
.arrow {
|
|
232
|
+
position: absolute;
|
|
233
|
+
cursor: pointer;
|
|
234
|
+
right: 10px;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
:host(.countryCode) {
|
|
239
|
+
.label-container {
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
}
|
|
242
|
+
}
|
package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { AfConnectSelectComponent } from './af-connect-select.component';
|
|
4
|
+
|
|
5
|
+
describe('AfConnectSelectComponent', () => {
|
|
6
|
+
let component: AfConnectSelectComponent;
|
|
7
|
+
let fixture: ComponentFixture<AfConnectSelectComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ AfConnectSelectComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(AfConnectSelectComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@import '../../styles/breakpoints.scss';
|
|
2
|
+
|
|
3
|
+
:host {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
img {
|
|
10
|
+
background: none;
|
|
11
|
+
border: none;
|
|
12
|
+
padding: 0px;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.svg {
|
|
17
|
+
&.small {
|
|
18
|
+
$size: 14px;
|
|
19
|
+
width: $size;
|
|
20
|
+
height: $size;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.medium {
|
|
24
|
+
$size: 30px;
|
|
25
|
+
width: $size;
|
|
26
|
+
height: $size;
|
|
27
|
+
|
|
28
|
+
@include media(mobileBreakPointTreshold) {
|
|
29
|
+
width: 20px;
|
|
30
|
+
height: 20px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.large {
|
|
35
|
+
$size: 42px;
|
|
36
|
+
width: $size;
|
|
37
|
+
height: $size;
|
|
38
|
+
|
|
39
|
+
@include media(tabletTreshold) {
|
|
40
|
+
&.large {
|
|
41
|
+
width: 32px;
|
|
42
|
+
height: 32px;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:host(.external-info) {
|
|
49
|
+
@include media(tabletTreshold) {
|
|
50
|
+
$size: 14px;
|
|
51
|
+
img {
|
|
52
|
+
width: $size;
|
|
53
|
+
height: $size;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
:host(.external-investments) {
|
|
59
|
+
@include media(tabletTreshold) {
|
|
60
|
+
$size: 16px;
|
|
61
|
+
img {
|
|
62
|
+
width: $size;
|
|
63
|
+
height: $size;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { AfConnectSvgButtonComponent } from './af-connect-svg-button.component';
|
|
4
|
+
|
|
5
|
+
describe('AfConnectSvgButtonComponent', () => {
|
|
6
|
+
let component: AfConnectSvgButtonComponent;
|
|
7
|
+
let fixture: ComponentFixture<AfConnectSvgButtonComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ AfConnectSvgButtonComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(AfConnectSvgButtonComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
|
2
|
+
import { EmitValue } from '../constants/base.constants';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'lib-af-connect-svg-button',
|
|
6
|
+
templateUrl: './af-connect-svg-button.component.html',
|
|
7
|
+
styleUrls: ['./af-connect-svg-button.component.scss']
|
|
8
|
+
})
|
|
9
|
+
export class AfConnectSvgButtonComponent implements OnInit {
|
|
10
|
+
@Input() src: string;
|
|
11
|
+
@Input() emitValue: EmitValue;
|
|
12
|
+
@Input() customSize: number;
|
|
13
|
+
@Input() size: 'large' | 'medium' | 'small' | 'none' = 'none';
|
|
14
|
+
|
|
15
|
+
@Output() clickBtn = new EventEmitter<string | null>();
|
|
16
|
+
constructor() {}
|
|
17
|
+
|
|
18
|
+
ngOnInit(): void {}
|
|
19
|
+
}
|
|
File without changes
|