af-connect-components 0.0.26 → 0.0.27
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 +8 -11
- package/esm2020/af-connect-components.mjs +5 -0
- package/esm2020/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +22 -0
- package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +47 -0
- package/esm2020/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +33 -0
- package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +17 -0
- package/esm2020/lib/af-connect-chart/af-connect-chart.component.mjs +11 -0
- package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +23 -0
- package/esm2020/lib/af-connect-components.component.mjs +19 -0
- package/esm2020/lib/af-connect-components.module.mjs +239 -0
- package/esm2020/lib/af-connect-components.service.mjs +14 -0
- package/esm2020/lib/af-connect-content/af-connect-content.component.mjs +14 -0
- package/esm2020/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +11 -0
- package/esm2020/lib/af-connect-error/af-connect-error.component.mjs +26 -0
- package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +270 -0
- package/esm2020/lib/af-connect-form-group/af-connect-form-group.component.mjs +11 -0
- package/esm2020/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +21 -0
- package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +46 -0
- package/esm2020/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +29 -0
- package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +92 -0
- package/esm2020/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +18 -0
- package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +101 -0
- package/esm2020/lib/af-connect-no-content/af-connect-no-content.component.mjs +26 -0
- package/esm2020/lib/af-connect-notification/af-connect-notification.component.mjs +15 -0
- package/esm2020/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +47 -0
- package/esm2020/lib/af-connect-products-carousel/defaultConfig.mjs +27 -0
- package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +27 -0
- package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +69 -0
- package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +45 -0
- package/esm2020/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +99 -0
- package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +114 -0
- package/esm2020/lib/af-connect-section/af-connect-section.component.mjs +14 -0
- package/esm2020/lib/af-connect-section-header/af-connect-section-header.component.mjs +35 -0
- package/esm2020/lib/af-connect-select/af-connect-select.component.mjs +11 -0
- package/esm2020/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +27 -0
- package/esm2020/lib/af-connect-tab/af-connect-tab.component.mjs +20 -0
- package/esm2020/lib/af-connect-table/af-connect-table.component.mjs +11 -0
- package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +87 -0
- package/esm2020/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +33 -0
- package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +133 -0
- package/esm2020/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +48 -0
- package/esm2020/lib/af-connect-tooltip/types.mjs +2 -0
- package/esm2020/lib/constants/animation.constants.mjs +121 -0
- package/esm2020/lib/constants/base.constants.mjs +10 -0
- package/esm2020/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +23 -0
- package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +54 -0
- package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +29 -0
- package/esm2020/lib/faq/faq/faq.component.mjs +22 -0
- package/esm2020/lib/faq/faq-item/faq-item.component.mjs +16 -0
- package/esm2020/lib/faq/faqItem.mjs +2 -0
- package/esm2020/lib/faq/image-fallback/image-fallback.component.mjs +74 -0
- package/esm2020/lib/models/notification-response.model.mjs +2 -0
- package/esm2020/lib/models/radio.model.mjs +2 -0
- package/esm2020/lib/services/breakpoint.service.mjs +16 -0
- package/esm2020/lib/utilities/number.util.mjs +4 -0
- package/esm2020/public-api.mjs +43 -0
- package/esm2020/shared/pipes/get-initials.mjs +20 -0
- package/fesm2015/af-connect-components.mjs +2158 -0
- package/fesm2015/af-connect-components.mjs.map +1 -0
- package/fesm2020/af-connect-components.mjs +2150 -0
- package/fesm2020/af-connect-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +10 -0
- package/lib/af-connect-button/af-connect-button.component.d.ts +21 -0
- package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +14 -0
- package/lib/af-connect-card/af-connect-card.component.d.ts +8 -0
- package/lib/af-connect-chart/af-connect-chart.component.d.ts +5 -0
- package/lib/af-connect-chip/af-connect-chip.component.d.ts +12 -0
- package/lib/af-connect-components.component.d.ts +5 -0
- package/lib/af-connect-components.module.d.ts +52 -0
- package/lib/af-connect-components.service.d.ts +6 -0
- package/lib/af-connect-content/af-connect-content.component.d.ts +8 -0
- package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +5 -0
- package/lib/af-connect-error/af-connect-error.component.d.ts +12 -0
- package/lib/af-connect-footer/af-connect-footer.component.d.ts +153 -0
- package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +5 -0
- package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +10 -0
- package/lib/af-connect-header/af-connect-header.component.d.ts +18 -0
- package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +13 -0
- package/lib/af-connect-input/af-connect-input.component.d.ts +36 -0
- package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +8 -0
- package/lib/af-connect-modal/af-connect-modal.component.d.ts +46 -0
- package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +12 -0
- package/lib/af-connect-notification/af-connect-notification.component.d.ts +8 -0
- package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +32 -0
- package/lib/af-connect-products-carousel/defaultConfig.d.ts +6 -0
- package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +13 -0
- package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +26 -0
- package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +18 -0
- package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +34 -0
- package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +35 -0
- package/lib/af-connect-section/af-connect-section.component.d.ts +8 -0
- package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +15 -0
- package/lib/af-connect-select/af-connect-select.component.d.ts +5 -0
- package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +14 -0
- package/lib/af-connect-tab/af-connect-tab.component.d.ts +9 -0
- package/lib/af-connect-table/af-connect-table.component.d.ts +5 -0
- package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +25 -0
- package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +13 -0
- package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +37 -0
- package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +16 -0
- package/lib/af-connect-tooltip/types.d.ts +1 -0
- package/lib/constants/animation.constants.d.ts +13 -0
- package/lib/constants/base.constants.d.ts +10 -0
- package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +8 -0
- package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +21 -0
- package/lib/expandable/expandable-container/expandable-container.component.d.ts +8 -0
- package/lib/faq/faq/faq.component.d.ts +9 -0
- package/lib/faq/faq-item/faq-item.component.d.ts +7 -0
- package/lib/faq/image-fallback/image-fallback.component.d.ts +18 -0
- package/{projects/af-connect-components/src/lib/models/notification-response.model.ts → lib/models/notification-response.model.d.ts} +0 -1
- package/lib/models/radio.model.d.ts +3 -0
- package/lib/services/breakpoint.service.d.ts +9 -0
- package/lib/utilities/number.util.d.ts +1 -0
- package/package.json +31 -41
- package/{projects/af-connect-components/src/public-api.ts → public-api.d.ts} +0 -7
- package/shared/pipes/get-initials.d.ts +10 -0
- package/.editorconfig +0 -16
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/angular.json +0 -40
- package/projects/af-connect-components/README.md +0 -24
- package/projects/af-connect-components/ng-package.json +0 -7
- package/projects/af-connect-components/package-lock.json +0 -4286
- package/projects/af-connect-components/package.json +0 -12
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.html +0 -13
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.scss +0 -50
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.ts +0 -17
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.html +0 -25
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.scss +0 -306
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.ts +0 -25
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.html +0 -20
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.scss +0 -209
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.ts +0 -21
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.html +0 -4
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss +0 -100
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.ts +0 -14
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html +0 -1
- 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 +0 -23
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html +0 -15
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss +0 -125
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-components.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-components.component.ts +0 -15
- package/projects/af-connect-components/src/lib/af-connect-components.module.ts +0 -146
- package/projects/af-connect-components/src/lib/af-connect-components.service.spec.ts +0 -16
- package/projects/af-connect-components/src/lib/af-connect-components.service.ts +0 -9
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.scss +0 -227
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.ts +0 -13
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.html +0 -1
- 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 +0 -23
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.scss +0 -51
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.ts +0 -18
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.html +0 -106
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.scss +0 -186
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.ts +0 -292
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.scss +0 -18
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.html +0 -40
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.scss +0 -5
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.ts +0 -14
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.html +0 -49
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.scss +0 -24
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.ts +0 -27
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.scss +0 -68
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.ts +0 -18
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.html +0 -29
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.scss +0 -117
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.ts +0 -77
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.scss +0 -67
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.ts +0 -15
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.html +0 -43
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss +0 -136
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.ts +0 -99
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.html +0 -8
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.scss +0 -94
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.ts +0 -18
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.html +0 -11
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.scss +0 -72
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.ts +0 -12
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.html +0 -16
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.scss +0 -32
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.spec.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.ts +0 -58
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/defaultConfig.ts +0 -26
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.scss +0 -96
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.ts +0 -21
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.html +0 -94
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.scss +0 -176
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.ts +0 -48
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.html +0 -11
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.scss +0 -48
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.ts +0 -34
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.html +0 -28
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.scss +0 -204
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.ts +0 -101
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.scss +0 -28
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.ts +0 -111
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.html +0 -1
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.scss +0 -8
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.ts +0 -13
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.html +0 -17
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.scss +0 -153
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html +0 -91
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss +0 -242
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.html +0 -6
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.scss +0 -66
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.ts +0 -19
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.html +0 -4
- 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 +0 -23
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.ts +0 -11
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html +0 -1
- 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 +0 -23
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.ts +0 -10
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html +0 -15
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss +0 -125
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.ts +0 -100
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.html +0 -13
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.scss +0 -66
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.ts +0 -22
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.html +0 -26
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.scss +0 -55
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.ts +0 -120
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.html +0 -11
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.scss +0 -149
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.ts +0 -36
- package/projects/af-connect-components/src/lib/af-connect-tooltip/types.ts +0 -1
- package/projects/af-connect-components/src/lib/constants/animation.constants.ts +0 -149
- package/projects/af-connect-components/src/lib/constants/base.constants.ts +0 -10
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.html +0 -4
- 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 +0 -22
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.ts +0 -21
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.html +0 -14
- 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 +0 -22
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.ts +0 -38
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.html +0 -3
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.scss +0 -3
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.ts +0 -21
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.html +0 -7
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.scss +0 -18
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.ts +0 -16
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.html +0 -15
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.scss +0 -58
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.spec.ts +0 -23
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.ts +0 -12
- package/projects/af-connect-components/src/lib/faq/image-fallback/image-fallback.component.ts +0 -57
- package/projects/af-connect-components/src/lib/models/radio.model.ts +0 -3
- package/projects/af-connect-components/src/lib/services/breakpoint.service.ts +0 -10
- package/projects/af-connect-components/src/lib/utilities/number.util.ts +0 -3
- package/projects/af-connect-components/src/shared/pipes/get-initials.ts +0 -13
- package/projects/af-connect-components/src/styles/breakpoints.scss +0 -91
- package/projects/af-connect-components/tsconfig.lib.json +0 -14
- package/projects/af-connect-components/tsconfig.lib.prod.json +0 -10
- package/projects/af-connect-components/tsconfig.spec.json +0 -14
- package/tsconfig.json +0 -39
- /package/{projects/af-connect-components/src/lib/faq/faqItem.ts → lib/faq/faqItem.d.ts} +0 -0
package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectTabComponent } from './af-connect-tab.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectTabComponent', () => {
|
|
6
|
-
let component: AfConnectTabComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectTabComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectTabComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectTabComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component, Input, TemplateRef } from '@angular/core';
|
|
2
|
-
@Component({
|
|
3
|
-
selector: 'lib-af-connect-tab',
|
|
4
|
-
templateUrl: './af-connect-tab.component.html',
|
|
5
|
-
styleUrls: ['./af-connect-tab.component.scss']
|
|
6
|
-
})
|
|
7
|
-
export class AfConnectTabComponent {
|
|
8
|
-
@Input() label: string;
|
|
9
|
-
@Input() isActive: boolean = false;
|
|
10
|
-
@Input() tabButtons: TemplateRef<any>;
|
|
11
|
-
}
|
package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<p>af-connect-table works!</p>
|
package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.scss
DELETED
|
File without changes
|
package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectTableComponent } from './af-connect-table.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectTableComponent', () => {
|
|
6
|
-
let component: AfConnectTableComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectTableComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectTableComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectTableComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<nav class="tabs-nav">
|
|
2
|
-
<ul class="nav-list">
|
|
3
|
-
<li #tab *ngFor="let tab of tabs; let i = index" class="nav-item" [class.active]="tab.isActive">
|
|
4
|
-
<button class="nav-button" (click)="activateTab(tab, i)">
|
|
5
|
-
{{ tab.label }}
|
|
6
|
-
</button>
|
|
7
|
-
</li>
|
|
8
|
-
<span #slider class="slider"></span>
|
|
9
|
-
</ul>
|
|
10
|
-
<div class="nav-action-buttons">
|
|
11
|
-
<ng-container [ngTemplateOutlet]="activeTab.tabButtons"></ng-container>
|
|
12
|
-
</div>
|
|
13
|
-
</nav>
|
|
14
|
-
<ng-content></ng-content>
|
|
15
|
-
|
package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
@import '../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
width: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
$button-width: 75%;
|
|
8
|
-
|
|
9
|
-
.tabs-nav {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
margin-bottom: 1.75rem;
|
|
14
|
-
border-bottom: 1px solid var(--primary-dark-teal-color);
|
|
15
|
-
|
|
16
|
-
@include media(mobileBreakPointTreshold) {
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
margin-bottom: 0.625rem;
|
|
19
|
-
border: none;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.nav-list {
|
|
24
|
-
display: flex;
|
|
25
|
-
//min-width: $button-width;
|
|
26
|
-
position: relative;
|
|
27
|
-
margin: 0;
|
|
28
|
-
padding: 0;
|
|
29
|
-
list-style-type: none;
|
|
30
|
-
|
|
31
|
-
.slider {
|
|
32
|
-
position: absolute;
|
|
33
|
-
bottom: 0;
|
|
34
|
-
// z-index: 100;
|
|
35
|
-
border-top-width: 1px;
|
|
36
|
-
border-color: var(--primary-dark-teal-color);
|
|
37
|
-
border-top-style: solid;
|
|
38
|
-
transition-property: left, width;
|
|
39
|
-
transition-duration: 250ms;
|
|
40
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@include media(mobileBreakPointTreshold) {
|
|
44
|
-
margin-right: auto;
|
|
45
|
-
justify-content: space-between;
|
|
46
|
-
width: 80%;
|
|
47
|
-
max-width: 320px;
|
|
48
|
-
border-bottom: 1px solid var(--light-grey-color);
|
|
49
|
-
|
|
50
|
-
.nav-item .nav-button {
|
|
51
|
-
padding-inline: 1.25rem;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.slider {
|
|
55
|
-
border-color: var(--primary-orange-mobile-color);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.nav-item {
|
|
61
|
-
$label-spacing: 1.75rem;
|
|
62
|
-
position: relative;
|
|
63
|
-
|
|
64
|
-
&:first-child .nav-button {
|
|
65
|
-
padding-right: $label-spacing;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:not(:first-child) .nav-button {
|
|
69
|
-
padding-inline: $label-spacing;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.nav-item.active {
|
|
74
|
-
.nav-button {
|
|
75
|
-
color: var(--primary-dark-teal-color);
|
|
76
|
-
text-shadow: 0px 0px 1px var(--primary-dark-teal-color);
|
|
77
|
-
|
|
78
|
-
@include media(mobileBreakPointTreshold) {
|
|
79
|
-
text-shadow: none;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.nav-button {
|
|
85
|
-
display: block;
|
|
86
|
-
background: none;
|
|
87
|
-
border: none;
|
|
88
|
-
height: 100%;
|
|
89
|
-
padding: 1.5rem 0;
|
|
90
|
-
font-family: var(--standard-font-family-hero-new);
|
|
91
|
-
font-size: 1rem;
|
|
92
|
-
color: var(--secondary-space-color);
|
|
93
|
-
cursor: pointer;
|
|
94
|
-
|
|
95
|
-
@include media(mobileBreakPointTreshold) {
|
|
96
|
-
padding-block: 0.375rem;
|
|
97
|
-
font-size: 0.875rem;
|
|
98
|
-
font-family: var(--standard-font-family-hero-new-semibold);
|
|
99
|
-
color: var(--primary-dark-teal-color);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.nav-action-buttons {
|
|
104
|
-
display: flex;
|
|
105
|
-
justify-content: flex-end;
|
|
106
|
-
gap: 1rem;
|
|
107
|
-
min-width: 100%-$button-width;
|
|
108
|
-
|
|
109
|
-
@include media(mobileBreakPointTreshold) {
|
|
110
|
-
align-self: flex-end;
|
|
111
|
-
padding-top: 1.125rem;
|
|
112
|
-
max-width: 100px;
|
|
113
|
-
min-width: auto;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
@include media(tabletTreshold) {
|
|
117
|
-
max-width: 200px;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
:host(.mobile-claim-info-tabs) {
|
|
122
|
-
.nav-list {
|
|
123
|
-
width: 100%;
|
|
124
|
-
}
|
|
125
|
-
}
|
package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectTabsComponent } from './af-connect-tabs.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectTabsComponent', () => {
|
|
6
|
-
let component: AfConnectTabsComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectTabsComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectTabsComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectTabsComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
ContentChildren,
|
|
4
|
-
ElementRef,
|
|
5
|
-
QueryList,
|
|
6
|
-
ViewChild,
|
|
7
|
-
ViewChildren,
|
|
8
|
-
OnDestroy,
|
|
9
|
-
Output,
|
|
10
|
-
EventEmitter,
|
|
11
|
-
Input,
|
|
12
|
-
ChangeDetectionStrategy,
|
|
13
|
-
ChangeDetectorRef
|
|
14
|
-
} from '@angular/core';
|
|
15
|
-
import { debounceTime, fromEvent, Subscription } from 'rxjs';
|
|
16
|
-
import { AfConnectTabComponent } from '../af-connect-tab/af-connect-tab.component';
|
|
17
|
-
|
|
18
|
-
@Component({
|
|
19
|
-
selector: 'lib-af-connect-tabs',
|
|
20
|
-
templateUrl: './af-connect-tabs.component.html',
|
|
21
|
-
styleUrls: ['./af-connect-tabs.component.scss'],
|
|
22
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
23
|
-
})
|
|
24
|
-
export class AfConnectTabsComponent implements OnDestroy {
|
|
25
|
-
@ContentChildren(AfConnectTabComponent) tabs: QueryList<AfConnectTabComponent>;
|
|
26
|
-
@ViewChild('slider', { read: ElementRef }) slider: ElementRef<HTMLSpanElement>;
|
|
27
|
-
@ViewChildren('tab', { read: ElementRef }) tabsRefs: QueryList<ElementRef<HTMLLIElement>>;
|
|
28
|
-
public activeTabIndex: number;
|
|
29
|
-
public subs = new Subscription();
|
|
30
|
-
|
|
31
|
-
constructor(public cdr: ChangeDetectorRef) {}
|
|
32
|
-
|
|
33
|
-
@Input() selectedTabIndex: number;
|
|
34
|
-
|
|
35
|
-
@Output() activeTabSelected = new EventEmitter<number>();
|
|
36
|
-
|
|
37
|
-
ngOnDestroy(): void {
|
|
38
|
-
this.subs.unsubscribe();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
ngOnInit() {
|
|
42
|
-
this.subs.add(
|
|
43
|
-
fromEvent(window, 'resize')
|
|
44
|
-
.pipe(debounceTime(50))
|
|
45
|
-
.subscribe(() => {
|
|
46
|
-
this.triggerSlider(this.activeTabIndex);
|
|
47
|
-
})
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
ngAfterContentChecked() {
|
|
52
|
-
if (!this.selectedTabIndex) {
|
|
53
|
-
const activeTab = this.tabs.find((tab) => tab.isActive);
|
|
54
|
-
if (!activeTab) {
|
|
55
|
-
const firstTab = this.tabs.first;
|
|
56
|
-
firstTab.isActive = true;
|
|
57
|
-
this.activeTabIndex = 0;
|
|
58
|
-
this.activeTabSelected.emit(0);
|
|
59
|
-
}
|
|
60
|
-
} else {
|
|
61
|
-
this.setActiveLabel();
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
ngAfterViewChecked() {
|
|
66
|
-
if (!this.activeTabIndex) {
|
|
67
|
-
this.triggerSlider(0);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
get activeTab() {
|
|
72
|
-
return this.tabs.find((tab) => tab.isActive) || this.tabs.first;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
activateTab(selectedTab: AfConnectTabComponent, index: number) {
|
|
76
|
-
this.tabs.forEach((tab) => {
|
|
77
|
-
tab.isActive = tab === selectedTab;
|
|
78
|
-
});
|
|
79
|
-
this.activeTabIndex = index;
|
|
80
|
-
this.triggerSlider(index);
|
|
81
|
-
this.activeTabSelected.emit(index);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private triggerSlider(i: number) {
|
|
85
|
-
const activeTabRef = this.tabsRefs.get(i);
|
|
86
|
-
this.slider.nativeElement.style.left = `${activeTabRef?.nativeElement.offsetLeft}px`;
|
|
87
|
-
this.slider.nativeElement.style.width = `${activeTabRef?.nativeElement.offsetWidth}px`;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private setActiveLabel() {
|
|
91
|
-
this.tabs.find((tab, i) => {
|
|
92
|
-
const foundTab = i === this.selectedTabIndex;
|
|
93
|
-
if (foundTab) {
|
|
94
|
-
this.activeTabIndex = i;
|
|
95
|
-
tab.isActive = true;
|
|
96
|
-
}
|
|
97
|
-
return foundTab;
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<div class="toaster-container">
|
|
2
|
-
<img [class]="['svg', size]" [src]="src" />
|
|
3
|
-
<span class="toaster-message">{{ message }}</span>
|
|
4
|
-
<afc-svg-button
|
|
5
|
-
ngClass="close-btn"
|
|
6
|
-
size="medium"
|
|
7
|
-
src="/assets/icons/delete.svg"
|
|
8
|
-
emitValue="isCloseModal"
|
|
9
|
-
(clickBtn)="closeToast()"
|
|
10
|
-
>
|
|
11
|
-
</afc-svg-button>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
@import '../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
display: flex;
|
|
5
|
-
min-height: 2rem;
|
|
6
|
-
padding-top: 0.5em;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
img {
|
|
11
|
-
background: none;
|
|
12
|
-
border: none;
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
justify-content: center;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.svg {
|
|
18
|
-
&.small {
|
|
19
|
-
$size: 14px;
|
|
20
|
-
width: $size;
|
|
21
|
-
height: $size;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.medium {
|
|
25
|
-
$size: 16px;
|
|
26
|
-
width: $size;
|
|
27
|
-
height: $size;
|
|
28
|
-
|
|
29
|
-
@include media(mobileBreakPointTreshold) {
|
|
30
|
-
width: 14px;
|
|
31
|
-
height: 14px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
@include media(tabletTreshold) {
|
|
36
|
-
&.large {
|
|
37
|
-
width: 23px;
|
|
38
|
-
height: 23px;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.toaster-container {
|
|
44
|
-
border-radius: 5px;
|
|
45
|
-
padding: 0.5rem 1rem;
|
|
46
|
-
opacity: 1;
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
gap: 1rem;
|
|
50
|
-
box-shadow: 0px 3px 6px #00000029;
|
|
51
|
-
border-left: 8px solid var(--primary-orange-mobile-color);
|
|
52
|
-
justify-content: space-between;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.toaster-message {
|
|
56
|
-
font-size: 12px;
|
|
57
|
-
color: var(--main-black-color);
|
|
58
|
-
display: flex;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
line-height: 2;
|
|
61
|
-
margin: 0 auto 0 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.close-btn {
|
|
65
|
-
line-height: 0;
|
|
66
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectToasterMessageComponent } from './af-connect-toaster-message.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectToasterMessageComponent', () => {
|
|
6
|
-
let component: AfConnectToasterMessageComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectToasterMessageComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectToasterMessageComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectToasterMessageComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'lib-af-connect-toaster-message',
|
|
5
|
-
templateUrl: './af-connect-toaster-message.component.html',
|
|
6
|
-
styleUrls: ['./af-connect-toaster-message.component.scss']
|
|
7
|
-
})
|
|
8
|
-
export class AfConnectToasterMessageComponent {
|
|
9
|
-
@Input() public message: string;
|
|
10
|
-
@Input() src: string;
|
|
11
|
-
@Input() size: 'small' | 'medium' | 'large' = 'small';
|
|
12
|
-
@Input() timer = 5000;
|
|
13
|
-
@Output() onClose = new EventEmitter<boolean>();
|
|
14
|
-
|
|
15
|
-
ngOnInit() {
|
|
16
|
-
setTimeout(() => this.onClose.emit(), this.timer)
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
public closeToast() {
|
|
20
|
-
this.onClose.emit();
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<label>{{ label }}</label>
|
|
2
|
-
<button
|
|
3
|
-
type="button"
|
|
4
|
-
class="toggle-button"
|
|
5
|
-
(click)="this.clickBtn.emit(emitValue); togglePosition();"
|
|
6
|
-
[disabled]="disabled"
|
|
7
|
-
[ngStyle]="getButtonStyles()">
|
|
8
|
-
<span
|
|
9
|
-
*ngIf="onStateText"
|
|
10
|
-
[ngStyle]="getOnStateTextStyles() || null"
|
|
11
|
-
class="onStateText">
|
|
12
|
-
{{onStateText}}
|
|
13
|
-
</span>
|
|
14
|
-
<div
|
|
15
|
-
class="toggle-ball"
|
|
16
|
-
[@toggleButton]="position"
|
|
17
|
-
[ngStyle]="getToggleBallStyles() || null">
|
|
18
|
-
</div>
|
|
19
|
-
<span
|
|
20
|
-
*ngIf="offStateText"
|
|
21
|
-
[ngStyle]="getOffStateTextStyles() || null"
|
|
22
|
-
class="offStateText">
|
|
23
|
-
{{offStateText}}
|
|
24
|
-
</span>
|
|
25
|
-
</button>
|
|
26
|
-
<span *ngIf="label" class="state-info-text">{{ position === 'on' ? 'Yes' : 'No' }}</span>
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
width: 100%;
|
|
5
|
-
|
|
6
|
-
& label {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: fit-content;
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
:host(.tax-certificates-toggle) {
|
|
14
|
-
width: auto;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.toggle-button {
|
|
18
|
-
position: relative;
|
|
19
|
-
width: 49px;
|
|
20
|
-
height: 28px;
|
|
21
|
-
border: none;
|
|
22
|
-
border-radius: 14px;
|
|
23
|
-
background: var(--toggle-button-grey-color);
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
padding: 0;
|
|
28
|
-
|
|
29
|
-
&:disabled {
|
|
30
|
-
cursor: default;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.toggle-button,
|
|
35
|
-
.state-info-text {
|
|
36
|
-
align-self: center;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.toggle-ball {
|
|
40
|
-
width: 18.67px;
|
|
41
|
-
height: 18.67px;
|
|
42
|
-
background: white;
|
|
43
|
-
border-radius: 50%;
|
|
44
|
-
margin: 0 5.83px;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.onStateText {
|
|
48
|
-
position: absolute;
|
|
49
|
-
margin-left: 0.5rem;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.onStateText,
|
|
53
|
-
.offStateText {
|
|
54
|
-
color: var(--neutral-button-color);
|
|
55
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectToggleButtonComponent } from './af-connect-toggle-button.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectToggleButtonComponent', () => {
|
|
6
|
-
let component: AfConnectToggleButtonComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectToggleButtonComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectToggleButtonComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectToggleButtonComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|