af-connect-components 0.0.26 → 0.0.28
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 +285 -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 +2173 -0
- package/fesm2015/af-connect-components.mjs.map +1 -0
- package/fesm2020/af-connect-components.mjs +2165 -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 +155 -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-modal/af-connect-modal.component.html
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<div class="modal-wrapper" (click)="toggleModal()">
|
|
2
|
-
<ng-content select="[isOpenButton]"></ng-content>
|
|
3
|
-
</div>
|
|
4
|
-
|
|
5
|
-
<div *ngIf="isOpen" class="background-container" (click)="externalClickClose($event)">
|
|
6
|
-
<div
|
|
7
|
-
[ngStyle]="{ width: width + 'px' }"
|
|
8
|
-
[ngClass]="[
|
|
9
|
-
'content-container',
|
|
10
|
-
variant,
|
|
11
|
-
noScrollbarContentContainer ? 'noScrollbar' : '',
|
|
12
|
-
borderHighlight ? 'with-border' : ''
|
|
13
|
-
]"
|
|
14
|
-
>
|
|
15
|
-
<div *ngIf="variant !== 'standard'" class="color-bar"></div>
|
|
16
|
-
<div [ngStyle]="{ padding: reversedPadding ? '0px' : null }" class="inner-container">
|
|
17
|
-
<div
|
|
18
|
-
*ngIf="header"
|
|
19
|
-
class="header-container"
|
|
20
|
-
[ngStyle]="{ padding: reversedPadding ? '24px 24px 20px 24px' : null }"
|
|
21
|
-
>
|
|
22
|
-
<div class="header-content">
|
|
23
|
-
<img *ngIf="variant === 'error'" src="../../../../assets/icons/warning.svg" class="warning-icon" />
|
|
24
|
-
{{ header }}
|
|
25
|
-
</div>
|
|
26
|
-
<lib-af-connect-svg-button
|
|
27
|
-
*ngIf="withCloseButton"
|
|
28
|
-
size="small"
|
|
29
|
-
src="../../../assets/icons/delete.svg"
|
|
30
|
-
emitValue="isCloseModal"
|
|
31
|
-
(clickBtn)="toggleModal()"
|
|
32
|
-
></lib-af-connect-svg-button>
|
|
33
|
-
</div>
|
|
34
|
-
<div class="body-container">
|
|
35
|
-
<ng-container *ngIf="content">
|
|
36
|
-
{{ content }}
|
|
37
|
-
</ng-container>
|
|
38
|
-
<ng-content></ng-content>
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
|
package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss
DELETED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
@import '../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
$padding-inline-disclaimer: 1.5rem;
|
|
4
|
-
$heading-gap: 1.25rem;
|
|
5
|
-
$heading-gap-mobile: 0.875rem;
|
|
6
|
-
$icon-width: 2rem;
|
|
7
|
-
$icon-width-mobile: 1.625rem;
|
|
8
|
-
|
|
9
|
-
.background-container {
|
|
10
|
-
top: 0px;
|
|
11
|
-
left: 0px;
|
|
12
|
-
width: 100%;
|
|
13
|
-
height: 100vh;
|
|
14
|
-
position: fixed;
|
|
15
|
-
background: rgba(0, 0, 0, 0.2);
|
|
16
|
-
z-index: 2000;
|
|
17
|
-
backdrop-filter: blur(2px);
|
|
18
|
-
overflow-y: hidden;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.content-container {
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
$topValue: 15%;
|
|
24
|
-
z-index: 2050;
|
|
25
|
-
position: relative;
|
|
26
|
-
top: $topValue;
|
|
27
|
-
margin: auto;
|
|
28
|
-
overflow: auto;
|
|
29
|
-
max-height: 90%-$topValue;
|
|
30
|
-
background: var(--main-white-color);
|
|
31
|
-
border-radius: 5px;
|
|
32
|
-
max-width: 85%;
|
|
33
|
-
|
|
34
|
-
@include media(mobileBreakPointTreshold) {
|
|
35
|
-
$topValueMobile: 5%;
|
|
36
|
-
max-height: 100%-$topValueMobile;
|
|
37
|
-
width: auto;
|
|
38
|
-
max-width: 95%;
|
|
39
|
-
top: $topValueMobile;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.content-container.noScrollbar {
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.content-container.error,
|
|
48
|
-
.content-container.info {
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: stretch;
|
|
51
|
-
|
|
52
|
-
.inner-container {
|
|
53
|
-
padding: 1.25rem;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.header-container {
|
|
57
|
-
color: var(--main-black-color);
|
|
58
|
-
border-bottom-color: var(--claim-info-grey);
|
|
59
|
-
|
|
60
|
-
@include media(mobileBreakPointTreshold) {
|
|
61
|
-
padding-bottom: 1.25rem;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.body-container {
|
|
66
|
-
padding-block: 1.25rem 0.5rem;
|
|
67
|
-
|
|
68
|
-
@include media(mobileBreakPointTreshold) {
|
|
69
|
-
padding-top: 1rem;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.inner-container {
|
|
75
|
-
box-sizing: border-box;
|
|
76
|
-
width: 100%;
|
|
77
|
-
padding: $padding-inline-disclaimer;
|
|
78
|
-
|
|
79
|
-
@include media(mobileBreakPointTreshold) {
|
|
80
|
-
padding: 1rem;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.color-bar {
|
|
85
|
-
width: 0.5rem;
|
|
86
|
-
background-color: var(--primary-connected-orange-color);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.header-container {
|
|
90
|
-
display: flex;
|
|
91
|
-
justify-content: space-between;
|
|
92
|
-
align-items: center;
|
|
93
|
-
border-bottom: 1px solid var(--primary-dark-teal-color);
|
|
94
|
-
padding-bottom: 1.25rem;
|
|
95
|
-
color: var(--primary-dark-teal-color);
|
|
96
|
-
font-size: 1.25rem;
|
|
97
|
-
font-family: var(--standard-font-family-hero-new-semibold);
|
|
98
|
-
|
|
99
|
-
@include media(mobileBreakPointTreshold) {
|
|
100
|
-
font-size: 1.125rem;
|
|
101
|
-
padding-bottom: 0.5rem;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.header-content {
|
|
106
|
-
display: flex;
|
|
107
|
-
align-items: center;
|
|
108
|
-
gap: $heading-gap;
|
|
109
|
-
|
|
110
|
-
.warning-icon {
|
|
111
|
-
width: $icon-width;
|
|
112
|
-
aspect-ratio: 1;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@include media(mobileBreakPointTreshold) {
|
|
116
|
-
gap: $heading-gap-mobile;
|
|
117
|
-
|
|
118
|
-
.warning-icon {
|
|
119
|
-
width: $icon-width-mobile;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.content-container.with-border {
|
|
125
|
-
border-left: 8px solid var(--primary-orange-mobile-color);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
:host(.claim-details-modal-mobile) {
|
|
129
|
-
.body-container {
|
|
130
|
-
display: flex;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.inner-container {
|
|
134
|
-
max-height: 90vh;
|
|
135
|
-
}
|
|
136
|
-
}
|
package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectModalComponent } from './af-connect-modal.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectModalComponent', () => {
|
|
6
|
-
let component: AfConnectModalComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectModalComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectModalComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectModalComponent);
|
|
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-modal/af-connect-modal.component.ts
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Component,
|
|
3
|
-
ContentChildren,
|
|
4
|
-
ElementRef,
|
|
5
|
-
EventEmitter,
|
|
6
|
-
Input,
|
|
7
|
-
OnDestroy,
|
|
8
|
-
Output,
|
|
9
|
-
QueryList
|
|
10
|
-
} from '@angular/core';
|
|
11
|
-
import { EmitValue } from '../constants/base.constants';
|
|
12
|
-
import { AfConnectButtonComponent } from '../af-connect-button/af-connect-button.component';
|
|
13
|
-
import { AfConnectSvgButtonComponent } from '../af-connect-svg-button/af-connect-svg-button.component';
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
Example usage
|
|
17
|
-
<afc-modal>
|
|
18
|
-
<afc-button isOpenButton title="Open Modal"></afc-button>
|
|
19
|
-
<div class="content">
|
|
20
|
-
<afc-button emitValue="isCloseModal" title="Close Modal"></afc-button>
|
|
21
|
-
<h1> This is test modal </h1>
|
|
22
|
-
</div>
|
|
23
|
-
</afc-modal>
|
|
24
|
-
|
|
25
|
-
isOpenButton tag specifies which element triggers the modal (usually a button), and it is always shown.
|
|
26
|
-
Pass [isCloseButton]="true" to a button to specify which buttons in the modal should be used
|
|
27
|
-
for closing the modal.Everything that does not have isOpenButton tag is the content of the modal.
|
|
28
|
-
|
|
29
|
-
No additional event handling required for open/close of the modal.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
*/
|
|
33
|
-
|
|
34
|
-
@Component({
|
|
35
|
-
selector: 'lib-af-connect-modal',
|
|
36
|
-
templateUrl: './af-connect-modal.component.html',
|
|
37
|
-
styleUrls: ['./af-connect-modal.component.scss']
|
|
38
|
-
})
|
|
39
|
-
export class AfConnectModalComponent implements OnDestroy{
|
|
40
|
-
@Input() isOpen: boolean = false;
|
|
41
|
-
@Input() disableOutsideClickClose: boolean = false;
|
|
42
|
-
@Input() withCloseButton: boolean = true;
|
|
43
|
-
@Input() variant: 'standard' | 'error' | 'info' = 'standard';
|
|
44
|
-
@Input() header: string;
|
|
45
|
-
@Input() content: string;
|
|
46
|
-
@Input() width: number;
|
|
47
|
-
@Input() noScrollbarContentContainer: boolean;
|
|
48
|
-
@Input() reversedPadding: boolean; // sets inner-container to 0 padding, sets 24px to header-container
|
|
49
|
-
@Input() borderHighlight: boolean;
|
|
50
|
-
@Output() onClose = new EventEmitter<boolean>();
|
|
51
|
-
@ContentChildren(AfConnectButtonComponent, { descendants: true }) buttons: QueryList<AfConnectButtonComponent>;
|
|
52
|
-
@ContentChildren(AfConnectSvgButtonComponent, { descendants: true }) svgButton: QueryList<AfConnectSvgButtonComponent>;
|
|
53
|
-
|
|
54
|
-
constructor(elementRef: ElementRef) {
|
|
55
|
-
this.nativeElement = elementRef.nativeElement;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
public ngAfterViewInit() {
|
|
59
|
-
this.svgButton.forEach((svgButton: AfConnectSvgButtonComponent) =>
|
|
60
|
-
svgButton.clickBtn.subscribe((emitValue: EmitValue) => {
|
|
61
|
-
if (!this.disableOutsideClickClose) {
|
|
62
|
-
this.closeFromModal(emitValue);
|
|
63
|
-
}
|
|
64
|
-
})
|
|
65
|
-
);
|
|
66
|
-
this.buttons.forEach((buttons: AfConnectButtonComponent) =>
|
|
67
|
-
buttons.clickBtn.subscribe((emitValue: EmitValue) => {
|
|
68
|
-
// if (!this.disableOutsideClickClose) {
|
|
69
|
-
this.closeFromModal(emitValue);
|
|
70
|
-
// }
|
|
71
|
-
})
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
public nativeElement: HTMLElement;
|
|
75
|
-
|
|
76
|
-
public toggleModal() {
|
|
77
|
-
this.isOpen = !this.isOpen;
|
|
78
|
-
this.onClose.emit(this.isOpen);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
public externalClickClose(e: Event) {
|
|
82
|
-
if (!this.disableOutsideClickClose) {
|
|
83
|
-
const target = e.target as HTMLElement;
|
|
84
|
-
if (target.classList.contains('content-container') || target.classList.contains('background-container')) {
|
|
85
|
-
this.isOpen = false;
|
|
86
|
-
this.onClose.emit(this.isOpen);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
public ngOnDestroy(): void {}
|
|
92
|
-
|
|
93
|
-
private closeFromModal(emitValue: EmitValue) {
|
|
94
|
-
if (emitValue === 'isCloseModal') {
|
|
95
|
-
this.isOpen = false;
|
|
96
|
-
this.onClose.emit(this.isOpen);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
@import '../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
img {
|
|
4
|
-
background: none;
|
|
5
|
-
border: none;
|
|
6
|
-
width: 74px;
|
|
7
|
-
height: 55px;
|
|
8
|
-
padding: 1rem 1rem 1rem 0rem;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.center {
|
|
12
|
-
justify-content: center;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.left {
|
|
16
|
-
justify-content: start;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.no-content-container {
|
|
20
|
-
width: 100%;
|
|
21
|
-
display: flex;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
align-items: center;
|
|
24
|
-
background-color: var(--bright-apple-color-with-opacity);
|
|
25
|
-
border-radius: 15px;
|
|
26
|
-
|
|
27
|
-
@include media(tabletTreshold) {
|
|
28
|
-
justify-content: center;
|
|
29
|
-
text-align: start;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&.medium {
|
|
33
|
-
height: 15rem;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.large {
|
|
37
|
-
height: 20rem;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.xLarge {
|
|
41
|
-
height: 25rem;
|
|
42
|
-
|
|
43
|
-
@include media(mobileBreakPointTreshold) {
|
|
44
|
-
height: 27em;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.fill {
|
|
49
|
-
height: 100%;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.info-container {
|
|
54
|
-
padding: 1rem 0rem 1rem 0rem;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.no-content-message {
|
|
58
|
-
font-size: var(--standard-font-size-16);
|
|
59
|
-
font-family: var(--standard-font-family-hero-new);
|
|
60
|
-
color: var(--secondary-black-color);
|
|
61
|
-
|
|
62
|
-
@include media(tabletTreshold) {
|
|
63
|
-
font-size: var(--standard-font-size-14);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@include media(mobileBreakPointTreshold) {
|
|
67
|
-
font-size: var(--standard-font-size-14);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.no-content-title {
|
|
72
|
-
font-size: var(--standard-font-size-18);
|
|
73
|
-
font-family: var(--standard-font-family-hero-new-semibold);
|
|
74
|
-
color: var(--secondary-black-color);
|
|
75
|
-
|
|
76
|
-
@include media(tabletTreshold) {
|
|
77
|
-
font-size: var(--standard-font-size-16);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@include media(mobileBreakPointTreshold) {
|
|
81
|
-
font-size: var(--standard-font-size-14);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.no-content-message,
|
|
86
|
-
.no-content-title {
|
|
87
|
-
margin: 0;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
:host(.full-width) {
|
|
91
|
-
position: relative;
|
|
92
|
-
width: 100%;
|
|
93
|
-
display: block;
|
|
94
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectNoContentComponent } from './af-connect-no-content.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectNoContentComponent', () => {
|
|
6
|
-
let component: AfConnectNoContentComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectNoContentComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectNoContentComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectNoContentComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'lib-af-connect-no-content',
|
|
5
|
-
templateUrl: './af-connect-no-content.component.html',
|
|
6
|
-
styleUrls: ['./af-connect-no-content.component.scss']
|
|
7
|
-
})
|
|
8
|
-
export class AfConnectNoContentComponent {
|
|
9
|
-
@Input() src: string;
|
|
10
|
-
@Input() title: string;
|
|
11
|
-
@Input() message: string;
|
|
12
|
-
@Input() alignContent: 'center' | 'left' = 'left';
|
|
13
|
-
@Input() height: 'small' | 'medium' | 'large' | 'xLarge' | 'fill' = 'small';
|
|
14
|
-
|
|
15
|
-
constructor() {}
|
|
16
|
-
|
|
17
|
-
ngOnInit() {}
|
|
18
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<div [class]="['wrapper', variant]">
|
|
2
|
-
<div [class]="['svg-container', variant]">
|
|
3
|
-
<img [class]="['svg-overlay', variant]" src="/assets/icons/tool.svg" alt="">
|
|
4
|
-
<img [class]="['svg-background', variant]" src="/assets/icons/splash_background.svg" alt="">
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div class="text-container">
|
|
8
|
-
<span>{{ data.categoryTitleToDisplay }}</span>
|
|
9
|
-
<div [innerHTML]="data.htmlContent"></div>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
.wrapper {
|
|
2
|
-
display: flex;
|
|
3
|
-
gap: 1rem;
|
|
4
|
-
height: fit-content;
|
|
5
|
-
background-color: #FFF6EB;
|
|
6
|
-
border: 1px solid #F69521;
|
|
7
|
-
border-left: 5px solid #F69521;
|
|
8
|
-
border-radius: 5px;
|
|
9
|
-
box-sizing: border-box;
|
|
10
|
-
padding: 1rem;
|
|
11
|
-
|
|
12
|
-
&.wide {
|
|
13
|
-
z-index: 1;
|
|
14
|
-
position: relative;
|
|
15
|
-
border-radius: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.text-container {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
gap: 0.5rem;
|
|
22
|
-
|
|
23
|
-
span {
|
|
24
|
-
font-family: 'Hero New Bold';
|
|
25
|
-
font-size: 16px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
div {
|
|
29
|
-
margin: 0;
|
|
30
|
-
font-size: 14px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.svg-container {
|
|
36
|
-
position: relative;
|
|
37
|
-
|
|
38
|
-
&.small {
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&.wide {
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.svg-overlay {
|
|
46
|
-
position: absolute;
|
|
47
|
-
|
|
48
|
-
&.small {
|
|
49
|
-
width: 31px;
|
|
50
|
-
height: 25px;
|
|
51
|
-
left: 0.5rem;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&.wide {
|
|
55
|
-
width: 71px;
|
|
56
|
-
height: 58px;
|
|
57
|
-
top: 1rem;
|
|
58
|
-
left: 3rem;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.svg-background {
|
|
63
|
-
&.small {
|
|
64
|
-
width: 47px;
|
|
65
|
-
height: 24px;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.wide {
|
|
69
|
-
width: 158px;
|
|
70
|
-
height: 85px;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { AfConnectNotificationComponent } from './af-connect-notification.component';
|
|
4
|
-
|
|
5
|
-
describe('AfConnectNotificationComponent', () => {
|
|
6
|
-
let component: AfConnectNotificationComponent;
|
|
7
|
-
let fixture: ComponentFixture<AfConnectNotificationComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [ AfConnectNotificationComponent ]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(AfConnectNotificationComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { NotificationResponseList } from '../models/notification-response.model';
|
|
3
|
-
|
|
4
|
-
@Component({
|
|
5
|
-
selector: 'lib-af-connect-notification',
|
|
6
|
-
templateUrl: './af-connect-notification.component.html',
|
|
7
|
-
styleUrls: ['./af-connect-notification.component.scss']
|
|
8
|
-
})
|
|
9
|
-
export class AfConnectNotificationComponent {
|
|
10
|
-
@Input() data: NotificationResponseList;
|
|
11
|
-
@Input() variant: 'small' | 'wide';
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<div
|
|
2
|
-
class="holder"
|
|
3
|
-
(mousedown)="mousedown($event)"
|
|
4
|
-
(mouseleave)="mouseleave()"
|
|
5
|
-
(mouseup)="mouseup()"
|
|
6
|
-
(mousemove)="mousemove($event)"
|
|
7
|
-
>
|
|
8
|
-
<ng-container *ngFor="let card of config || defaultConfig">
|
|
9
|
-
<af-connect-image-card
|
|
10
|
-
[src]="card.imageSrc"
|
|
11
|
-
[title]="card.title"
|
|
12
|
-
[content]="card.content"
|
|
13
|
-
[readMoreLink]="card.readMore"
|
|
14
|
-
></af-connect-image-card>
|
|
15
|
-
</ng-container>
|
|
16
|
-
</div>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import '../../styles/breakpoints.scss';
|
|
2
|
-
|
|
3
|
-
:host {
|
|
4
|
-
display: flex;
|
|
5
|
-
|
|
6
|
-
@include media(mobileBreakPointTreshold) {
|
|
7
|
-
padding: 0;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.holder {
|
|
12
|
-
display: flex;
|
|
13
|
-
padding: 1rem 1.75rem;
|
|
14
|
-
flex-direction: row;
|
|
15
|
-
gap: 1.5rem;
|
|
16
|
-
flex-wrap: nowrap;
|
|
17
|
-
overflow-x: scroll;
|
|
18
|
-
|
|
19
|
-
&.active {
|
|
20
|
-
cursor: grabbing;
|
|
21
|
-
cursor: -webkit-grabbing;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@include media(mobileBreakPointTreshold) {
|
|
25
|
-
gap: 3rem;
|
|
26
|
-
padding: 0 1.25rem 0 3.25rem;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.holder::-webkit-scrollbar {
|
|
31
|
-
display: none; /* for Chrome, Safari, and Opera */
|
|
32
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
import { AfConnectProductsCarouselComponent } from './af-connect-products-carousel.component';
|
|
3
|
-
|
|
4
|
-
describe('AfConnectProductsCarouselComponent', () => {
|
|
5
|
-
let component: AfConnectProductsCarouselComponent;
|
|
6
|
-
let fixture: ComponentFixture<AfConnectProductsCarouselComponent>;
|
|
7
|
-
|
|
8
|
-
beforeEach(async () => {
|
|
9
|
-
await TestBed.configureTestingModule({
|
|
10
|
-
declarations: [ AfConnectProductsCarouselComponent ]
|
|
11
|
-
})
|
|
12
|
-
.compileComponents();
|
|
13
|
-
|
|
14
|
-
fixture = TestBed.createComponent(AfConnectProductsCarouselComponent);
|
|
15
|
-
component = fixture.componentInstance;
|
|
16
|
-
fixture.detectChanges();
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
it('should create', () => {
|
|
20
|
-
expect(component).toBeTruthy();
|
|
21
|
-
});
|
|
22
|
-
});
|