af-connect-components 0.0.24 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +16 -0
- package/.vscode/extensions.json +4 -0
- package/.vscode/launch.json +20 -0
- package/.vscode/tasks.json +42 -0
- package/README.md +11 -8
- package/angular.json +40 -0
- package/package.json +41 -31
- package/projects/af-connect-components/README.md +24 -0
- package/projects/af-connect-components/ng-package.json +7 -0
- package/projects/af-connect-components/package-lock.json +4286 -0
- package/projects/af-connect-components/package.json +12 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.html +13 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.scss +50 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.ts +17 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.html +25 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.scss +306 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-button/af-connect-button.component.ts +25 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.html +20 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.scss +209 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.ts +21 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.html +4 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.scss +100 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-card/af-connect-card.component.ts +14 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-chart/af-connect-chart.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.html +15 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.scss +125 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-chip/af-connect-chip.component.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-components.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-components.component.ts +15 -0
- package/projects/af-connect-components/src/lib/af-connect-components.module.ts +146 -0
- package/projects/af-connect-components/src/lib/af-connect-components.service.spec.ts +16 -0
- package/projects/af-connect-components/src/lib/af-connect-components.service.ts +9 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.scss +227 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-content/af-connect-content.component.ts +13 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-datepicker/af-connect-datepicker.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.scss +51 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-error/af-connect-error.component.ts +18 -0
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.html +106 -0
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.scss +186 -0
- package/projects/af-connect-components/src/lib/af-connect-footer/af-connect-footer.component.ts +292 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.scss +18 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-form-group/af-connect-form-group.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.html +40 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.scss +5 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.ts +14 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.html +49 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.scss +24 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-header/af-connect-header.component.ts +27 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.scss +68 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-inline-error/af-connect-inline-error.component.ts +18 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.html +29 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.scss +117 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-input/af-connect-input.component.ts +77 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.scss +67 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.ts +15 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.html +43 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.scss +136 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-modal/af-connect-modal.component.ts +99 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.html +8 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.scss +94 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-no-content/af-connect-no-content.component.ts +18 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.html +11 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.scss +72 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-notification/af-connect-notification.component.ts +12 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.html +16 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.scss +32 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.spec.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/af-connect-products-carousel.component.ts +58 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/defaultConfig.ts +26 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.scss +96 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-products-carousel/image-card/image-card.component.ts +21 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.html +94 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.scss +176 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.ts +48 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.html +11 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.scss +48 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-progress-bar/af-connect-progress-bar.component.ts +34 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.html +28 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.scss +204 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-button/af-connect-radio-button.component.ts +101 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.scss +28 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-radio-group/af-connect-radio-group.component.ts +111 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.scss +8 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-section/af-connect-section.component.ts +13 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.html +17 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.scss +153 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-section-header/af-connect-section-header.component.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.html +91 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.scss +242 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-select/af-connect-select.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.html +6 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.scss +66 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-svg-button/af-connect-svg-button.component.ts +19 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.html +4 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-tab/af-connect-tab.component.ts +11 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.html +1 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.scss +0 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-table/af-connect-table.component.ts +10 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.html +15 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.scss +125 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-tabs/af-connect-tabs.component.ts +100 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.html +13 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.scss +66 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-toaster-message/af-connect-toaster-message.component.ts +22 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.html +26 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.scss +55 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-toggle-button/af-connect-toggle-button.component.ts +120 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.html +11 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.scss +149 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/af-connect-tooltip.component.ts +36 -0
- package/projects/af-connect-components/src/lib/af-connect-tooltip/types.ts +1 -0
- package/projects/af-connect-components/src/lib/constants/animation.constants.ts +149 -0
- package/projects/af-connect-components/src/lib/constants/base.constants.ts +10 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.html +4 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.scss +0 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.spec.ts +22 -0
- package/projects/af-connect-components/src/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.ts +21 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.html +14 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.scss +0 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.spec.ts +22 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-arrow/expandable-arrow.component.ts +38 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.html +3 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.scss +3 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/expandable/expandable-container/expandable-container.component.ts +21 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.html +7 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.scss +18 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/faq/faq/faq.component.ts +16 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.html +15 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.scss +58 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.spec.ts +23 -0
- package/projects/af-connect-components/src/lib/faq/faq-item/faq-item.component.ts +12 -0
- package/projects/af-connect-components/src/lib/faq/image-fallback/image-fallback.component.ts +57 -0
- package/{lib/models/notification-response.model.d.ts → projects/af-connect-components/src/lib/models/notification-response.model.ts} +1 -0
- package/projects/af-connect-components/src/lib/models/radio.model.ts +3 -0
- package/projects/af-connect-components/src/lib/services/breakpoint.service.ts +10 -0
- package/projects/af-connect-components/src/lib/utilities/number.util.ts +3 -0
- package/{public-api.d.ts → projects/af-connect-components/src/public-api.ts} +7 -0
- package/projects/af-connect-components/src/shared/pipes/get-initials.ts +13 -0
- package/projects/af-connect-components/src/styles/breakpoints.scss +91 -0
- package/projects/af-connect-components/tsconfig.lib.json +14 -0
- package/projects/af-connect-components/tsconfig.lib.prod.json +10 -0
- package/projects/af-connect-components/tsconfig.spec.json +14 -0
- package/tsconfig.json +39 -0
- package/esm2020/af-connect-components.mjs +0 -5
- package/esm2020/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.mjs +0 -22
- package/esm2020/lib/af-connect-button/af-connect-button.component.mjs +0 -47
- package/esm2020/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.mjs +0 -33
- package/esm2020/lib/af-connect-card/af-connect-card.component.mjs +0 -17
- package/esm2020/lib/af-connect-chart/af-connect-chart.component.mjs +0 -11
- package/esm2020/lib/af-connect-chip/af-connect-chip.component.mjs +0 -23
- package/esm2020/lib/af-connect-components.component.mjs +0 -19
- package/esm2020/lib/af-connect-components.module.mjs +0 -239
- package/esm2020/lib/af-connect-components.service.mjs +0 -14
- package/esm2020/lib/af-connect-content/af-connect-content.component.mjs +0 -14
- package/esm2020/lib/af-connect-datepicker/af-connect-datepicker.component.mjs +0 -11
- package/esm2020/lib/af-connect-error/af-connect-error.component.mjs +0 -26
- package/esm2020/lib/af-connect-footer/af-connect-footer.component.mjs +0 -266
- package/esm2020/lib/af-connect-form-group/af-connect-form-group.component.mjs +0 -11
- package/esm2020/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.mjs +0 -21
- package/esm2020/lib/af-connect-header/af-connect-header.component.mjs +0 -46
- package/esm2020/lib/af-connect-inline-error/af-connect-inline-error.component.mjs +0 -29
- package/esm2020/lib/af-connect-input/af-connect-input.component.mjs +0 -92
- package/esm2020/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.mjs +0 -18
- package/esm2020/lib/af-connect-modal/af-connect-modal.component.mjs +0 -101
- package/esm2020/lib/af-connect-no-content/af-connect-no-content.component.mjs +0 -26
- package/esm2020/lib/af-connect-notification/af-connect-notification.component.mjs +0 -15
- package/esm2020/lib/af-connect-products-carousel/af-connect-products-carousel.component.mjs +0 -47
- package/esm2020/lib/af-connect-products-carousel/defaultConfig.mjs +0 -27
- package/esm2020/lib/af-connect-products-carousel/image-card/image-card.component.mjs +0 -27
- package/esm2020/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.mjs +0 -69
- package/esm2020/lib/af-connect-progress-bar/af-connect-progress-bar.component.mjs +0 -45
- package/esm2020/lib/af-connect-radio-button/af-connect-radio-button.component.mjs +0 -99
- package/esm2020/lib/af-connect-radio-group/af-connect-radio-group.component.mjs +0 -114
- package/esm2020/lib/af-connect-section/af-connect-section.component.mjs +0 -14
- package/esm2020/lib/af-connect-section-header/af-connect-section-header.component.mjs +0 -35
- package/esm2020/lib/af-connect-select/af-connect-select.component.mjs +0 -11
- package/esm2020/lib/af-connect-svg-button/af-connect-svg-button.component.mjs +0 -27
- package/esm2020/lib/af-connect-tab/af-connect-tab.component.mjs +0 -20
- package/esm2020/lib/af-connect-table/af-connect-table.component.mjs +0 -11
- package/esm2020/lib/af-connect-tabs/af-connect-tabs.component.mjs +0 -87
- package/esm2020/lib/af-connect-toaster-message/af-connect-toaster-message.component.mjs +0 -33
- package/esm2020/lib/af-connect-toggle-button/af-connect-toggle-button.component.mjs +0 -133
- package/esm2020/lib/af-connect-tooltip/af-connect-tooltip.component.mjs +0 -48
- package/esm2020/lib/af-connect-tooltip/types.mjs +0 -2
- package/esm2020/lib/constants/animation.constants.mjs +0 -121
- package/esm2020/lib/constants/base.constants.mjs +0 -10
- package/esm2020/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.mjs +0 -23
- package/esm2020/lib/expandable/expandable-arrow/expandable-arrow.component.mjs +0 -54
- package/esm2020/lib/expandable/expandable-container/expandable-container.component.mjs +0 -29
- package/esm2020/lib/faq/faq/faq.component.mjs +0 -22
- package/esm2020/lib/faq/faq-item/faq-item.component.mjs +0 -16
- package/esm2020/lib/faq/faqItem.mjs +0 -2
- package/esm2020/lib/faq/image-fallback/image-fallback.component.mjs +0 -74
- package/esm2020/lib/models/notification-response.model.mjs +0 -2
- package/esm2020/lib/models/radio.model.mjs +0 -2
- package/esm2020/lib/services/breakpoint.service.mjs +0 -16
- package/esm2020/lib/utilities/number.util.mjs +0 -4
- package/esm2020/public-api.mjs +0 -43
- package/esm2020/shared/pipes/get-initials.mjs +0 -20
- package/fesm2015/af-connect-components.mjs +0 -2154
- package/fesm2015/af-connect-components.mjs.map +0 -1
- package/fesm2020/af-connect-components.mjs +0 -2146
- package/fesm2020/af-connect-components.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/af-connect-breadcrumb/af-connect-breadcrumb.component.d.ts +0 -10
- package/lib/af-connect-button/af-connect-button.component.d.ts +0 -21
- package/lib/af-connect-card/af-connect-card-header/af-connect-card-header.component.d.ts +0 -14
- package/lib/af-connect-card/af-connect-card.component.d.ts +0 -8
- package/lib/af-connect-chart/af-connect-chart.component.d.ts +0 -5
- package/lib/af-connect-chip/af-connect-chip.component.d.ts +0 -12
- package/lib/af-connect-components.component.d.ts +0 -5
- package/lib/af-connect-components.module.d.ts +0 -52
- package/lib/af-connect-components.service.d.ts +0 -6
- package/lib/af-connect-content/af-connect-content.component.d.ts +0 -8
- package/lib/af-connect-datepicker/af-connect-datepicker.component.d.ts +0 -5
- package/lib/af-connect-error/af-connect-error.component.d.ts +0 -12
- package/lib/af-connect-footer/af-connect-footer.component.d.ts +0 -152
- package/lib/af-connect-form-group/af-connect-form-group.component.d.ts +0 -5
- package/lib/af-connect-form-validation-errors/af-connect-form-validation-errors.component.d.ts +0 -10
- package/lib/af-connect-header/af-connect-header.component.d.ts +0 -18
- package/lib/af-connect-inline-error/af-connect-inline-error.component.d.ts +0 -13
- package/lib/af-connect-input/af-connect-input.component.d.ts +0 -36
- package/lib/af-connect-loading-spinner/af-connect-loading-spinner.component.d.ts +0 -8
- package/lib/af-connect-modal/af-connect-modal.component.d.ts +0 -46
- package/lib/af-connect-no-content/af-connect-no-content.component.d.ts +0 -12
- package/lib/af-connect-notification/af-connect-notification.component.d.ts +0 -8
- package/lib/af-connect-products-carousel/af-connect-products-carousel.component.d.ts +0 -32
- package/lib/af-connect-products-carousel/defaultConfig.d.ts +0 -6
- package/lib/af-connect-products-carousel/image-card/image-card.component.d.ts +0 -13
- package/lib/af-connect-profile-dropdown/af-connect-profile-dropdown.component.d.ts +0 -26
- package/lib/af-connect-progress-bar/af-connect-progress-bar.component.d.ts +0 -18
- package/lib/af-connect-radio-button/af-connect-radio-button.component.d.ts +0 -34
- package/lib/af-connect-radio-group/af-connect-radio-group.component.d.ts +0 -35
- package/lib/af-connect-section/af-connect-section.component.d.ts +0 -8
- package/lib/af-connect-section-header/af-connect-section-header.component.d.ts +0 -15
- package/lib/af-connect-select/af-connect-select.component.d.ts +0 -5
- package/lib/af-connect-svg-button/af-connect-svg-button.component.d.ts +0 -14
- package/lib/af-connect-tab/af-connect-tab.component.d.ts +0 -9
- package/lib/af-connect-table/af-connect-table.component.d.ts +0 -5
- package/lib/af-connect-tabs/af-connect-tabs.component.d.ts +0 -25
- package/lib/af-connect-toaster-message/af-connect-toaster-message.component.d.ts +0 -13
- package/lib/af-connect-toggle-button/af-connect-toggle-button.component.d.ts +0 -37
- package/lib/af-connect-tooltip/af-connect-tooltip.component.d.ts +0 -16
- package/lib/af-connect-tooltip/types.d.ts +0 -1
- package/lib/constants/animation.constants.d.ts +0 -13
- package/lib/constants/base.constants.d.ts +0 -10
- package/lib/expandable/afc-expandable-wrapper/afc-expandable-wrapper.component.d.ts +0 -8
- package/lib/expandable/expandable-arrow/expandable-arrow.component.d.ts +0 -21
- package/lib/expandable/expandable-container/expandable-container.component.d.ts +0 -8
- package/lib/faq/faq/faq.component.d.ts +0 -9
- package/lib/faq/faq-item/faq-item.component.d.ts +0 -7
- package/lib/faq/image-fallback/image-fallback.component.d.ts +0 -18
- package/lib/models/radio.model.d.ts +0 -3
- package/lib/services/breakpoint.service.d.ts +0 -9
- package/lib/utilities/number.util.d.ts +0 -1
- package/shared/pipes/get-initials.d.ts +0 -10
- /package/{lib/faq/faqItem.d.ts → projects/af-connect-components/src/lib/faq/faqItem.ts} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Host, Optional } from '@angular/core';
|
|
2
|
+
import { animate, style, transition, trigger, state } from '@angular/animations';
|
|
3
|
+
import { ExpandableWrapperComponent } from '../afc-expandable-wrapper/afc-expandable-wrapper.component';
|
|
4
|
+
|
|
5
|
+
@Component({
|
|
6
|
+
selector: 'afc-expandable-container',
|
|
7
|
+
templateUrl: './expandable-container.component.html',
|
|
8
|
+
styleUrls: ['./expandable-container.component.scss'],
|
|
9
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10
|
+
animations: [trigger('expandContainer', [
|
|
11
|
+
state(
|
|
12
|
+
'collapsed',
|
|
13
|
+
style({ height: '0px', minHeight: '0', visibility: 'hidden', border: 'none', overflow: 'hidden' })
|
|
14
|
+
),
|
|
15
|
+
state('expanded', style({ height: '*' })),
|
|
16
|
+
transition('expanded <=> collapsed', animate('300ms ease-out'))
|
|
17
|
+
])]
|
|
18
|
+
})
|
|
19
|
+
export class ExpandableContainerComponent {
|
|
20
|
+
constructor(@Host() @Optional() public wrapper: ExpandableWrapperComponent) { }
|
|
21
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import '../../../styles/breakpoints.scss';
|
|
2
|
+
|
|
3
|
+
.item-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 15px;
|
|
7
|
+
|
|
8
|
+
@include media(tabletTreshold) {
|
|
9
|
+
gap: 10px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.faq-container {
|
|
14
|
+
gap: 2rem;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-wrap: wrap;
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { FaqComponent } from './faq.component';
|
|
4
|
+
|
|
5
|
+
describe('FaqComponent', () => {
|
|
6
|
+
let component: FaqComponent;
|
|
7
|
+
let fixture: ComponentFixture<FaqComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ FaqComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(FaqComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { FaqItem } from '../faqItem';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'lib-faq',
|
|
6
|
+
templateUrl: './faq.component.html',
|
|
7
|
+
styleUrls: ['./faq.component.scss']
|
|
8
|
+
})
|
|
9
|
+
export class FaqComponent {
|
|
10
|
+
@Input()
|
|
11
|
+
faqItems: FaqItem[] = [];
|
|
12
|
+
@Input()
|
|
13
|
+
fallBackImageSrc: string;
|
|
14
|
+
@Input()
|
|
15
|
+
imageSrc: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<div class="item-container">
|
|
2
|
+
<afc-expandable-wrapper>
|
|
3
|
+
<div triggerable class="title-container">
|
|
4
|
+
<h2 class="section-title">
|
|
5
|
+
{{faqItem.title}}
|
|
6
|
+
</h2>
|
|
7
|
+
<afc-expandable-arrow color="#124E57"></afc-expandable-arrow>
|
|
8
|
+
</div>
|
|
9
|
+
<afc-expandable-container>
|
|
10
|
+
<div class="expanded-info">
|
|
11
|
+
{{faqItem.description}}
|
|
12
|
+
</div>
|
|
13
|
+
</afc-expandable-container>
|
|
14
|
+
</afc-expandable-wrapper>
|
|
15
|
+
</div>
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import '../../../styles/breakpoints.scss';
|
|
2
|
+
|
|
3
|
+
$baseColor: #124E57;
|
|
4
|
+
$basePadding: 4%;
|
|
5
|
+
$basePaddingMobile: 2.2%;
|
|
6
|
+
$baseFullPaddingMobile: clamp(1rem, $basePaddingMobile, 27px);
|
|
7
|
+
|
|
8
|
+
.item-container {
|
|
9
|
+
border: 1px solid $baseColor;
|
|
10
|
+
border-radius: 5px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.title-container {
|
|
14
|
+
padding: clamp(1rem, $basePadding, 27px);
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: space-between;
|
|
17
|
+
align-items: center;
|
|
18
|
+
cursor: pointer;
|
|
19
|
+
background: none;
|
|
20
|
+
|
|
21
|
+
@include media(tabletTreshold) {
|
|
22
|
+
padding: $baseFullPaddingMobile;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.expanded-info {
|
|
27
|
+
$padding: clamp(1rem, $basePadding, 27px);
|
|
28
|
+
padding: 0rem $padding $padding $padding;
|
|
29
|
+
color: #707070;
|
|
30
|
+
font-family: Hero New;
|
|
31
|
+
font-size: 1rem;
|
|
32
|
+
|
|
33
|
+
@include media(tabletTreshold) {
|
|
34
|
+
padding: 0rem $baseFullPaddingMobile $baseFullPaddingMobile $baseFullPaddingMobile;
|
|
35
|
+
font-size: 0.875rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@include media(mobileBreakPointTreshold) {
|
|
39
|
+
margin: 0px;
|
|
40
|
+
font-size: 0.75rem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.section-title {
|
|
45
|
+
margin: 0px;
|
|
46
|
+
font-size: 1.25rem;
|
|
47
|
+
font-family: Hero New SemiBold;
|
|
48
|
+
color: $baseColor;
|
|
49
|
+
|
|
50
|
+
@include media(tabletTreshold) {
|
|
51
|
+
font-size: 1rem;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@include media(mobileBreakPointTreshold) {
|
|
55
|
+
margin: 0px;
|
|
56
|
+
font-size: 0.875rem;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
+
|
|
3
|
+
import { FaqItemComponent } from './faq-item.component';
|
|
4
|
+
|
|
5
|
+
describe('FaqItemComponent', () => {
|
|
6
|
+
let component: FaqItemComponent;
|
|
7
|
+
let fixture: ComponentFixture<FaqItemComponent>;
|
|
8
|
+
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
await TestBed.configureTestingModule({
|
|
11
|
+
declarations: [ FaqItemComponent ]
|
|
12
|
+
})
|
|
13
|
+
.compileComponents();
|
|
14
|
+
|
|
15
|
+
fixture = TestBed.createComponent(FaqItemComponent);
|
|
16
|
+
component = fixture.componentInstance;
|
|
17
|
+
fixture.detectChanges();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
it('should create', () => {
|
|
21
|
+
expect(component).toBeTruthy();
|
|
22
|
+
});
|
|
23
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { FaqItem } from '../faqItem';
|
|
3
|
+
|
|
4
|
+
@Component({
|
|
5
|
+
selector: 'lib-faq-item',
|
|
6
|
+
templateUrl: './faq-item.component.html',
|
|
7
|
+
styleUrls: ['./faq-item.component.scss']
|
|
8
|
+
})
|
|
9
|
+
export class FaqItemComponent {
|
|
10
|
+
@Input()
|
|
11
|
+
faqItem: FaqItem;
|
|
12
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Directive, Component, Input, ContentChild, ElementRef } from '@angular/core';
|
|
2
|
+
import { fromEvent } from 'rxjs';
|
|
3
|
+
import { first } from 'rxjs/operators';
|
|
4
|
+
|
|
5
|
+
@Directive({ selector: '[imgWithFallback]' })
|
|
6
|
+
export class ImageWithFallbackDirective {
|
|
7
|
+
constructor(public el: ElementRef) { }
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
enum ImageState {
|
|
11
|
+
loading = 'loading',
|
|
12
|
+
error = 'error',
|
|
13
|
+
loaded = 'loaded'
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@Component({
|
|
17
|
+
selector: 'img-with-fallback',
|
|
18
|
+
template: `
|
|
19
|
+
<ng-container *ngIf="loaded">
|
|
20
|
+
<ng-content select="[imgWithFallback]" [style.visibility]="loaded"></ng-content>
|
|
21
|
+
</ng-container>
|
|
22
|
+
<div *ngIf="loading">
|
|
23
|
+
<ng-content select=".loading"></ng-content>
|
|
24
|
+
</div>
|
|
25
|
+
<div *ngIf="error">
|
|
26
|
+
<ng-content select=".error"></ng-content>
|
|
27
|
+
</div>
|
|
28
|
+
`,
|
|
29
|
+
styles: []
|
|
30
|
+
})
|
|
31
|
+
export class ImageWithFallbackComponent {
|
|
32
|
+
@ContentChild(ImageWithFallbackDirective) image: ImageWithFallbackDirective;
|
|
33
|
+
|
|
34
|
+
private state: ImageState = ImageState.loading;
|
|
35
|
+
|
|
36
|
+
get loaded() {
|
|
37
|
+
return this.state === ImageState.loaded;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
get loading() {
|
|
41
|
+
return this.state === ImageState.loading;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
get error() {
|
|
45
|
+
return this.state === ImageState.error;
|
|
46
|
+
}
|
|
47
|
+
ngAfterContentInit() {
|
|
48
|
+
fromEvent(this.image.el.nativeElement, 'load')
|
|
49
|
+
.pipe(first())
|
|
50
|
+
.subscribe(() => this.state = ImageState.loaded)
|
|
51
|
+
|
|
52
|
+
fromEvent(this.image.el.nativeElement, 'error')
|
|
53
|
+
.pipe(first())
|
|
54
|
+
.subscribe(() => this.state = ImageState.error)
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
|
+
import { map } from 'rxjs';
|
|
4
|
+
|
|
5
|
+
@Injectable()
|
|
6
|
+
export class BreakpointLibService {
|
|
7
|
+
constructor(private responsive: BreakpointObserver) { }
|
|
8
|
+
|
|
9
|
+
public isMobile$ = this.responsive.observe(['(max-width: 768px)']).pipe(map((result) => !result.matches));
|
|
10
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface of af-connect-components
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
export * from './lib/af-connect-components.service';
|
|
2
6
|
export * from './lib/af-connect-components.component';
|
|
3
7
|
export * from './lib/af-connect-components.module';
|
|
@@ -37,3 +41,6 @@ export * from './lib/af-connect-toaster-message/af-connect-toaster-message.compo
|
|
|
37
41
|
export * from './lib/af-connect-toggle-button/af-connect-toggle-button.component';
|
|
38
42
|
export * from './lib/af-connect-tooltip/af-connect-tooltip.component';
|
|
39
43
|
export * from './lib/af-connect-breadcrumb/af-connect-breadcrumb.component';
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Pipe, PipeTransform } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* Gets the initials of a Name (First Second -> FS)
|
|
4
|
+
*/
|
|
5
|
+
@Pipe({ name: 'getInitials' })
|
|
6
|
+
export class GetinItialsPipe implements PipeTransform {
|
|
7
|
+
transform(value: string | undefined): string {
|
|
8
|
+
if (!value) {
|
|
9
|
+
return '';
|
|
10
|
+
}
|
|
11
|
+
return value.split(' ').map(word => word.charAt(0)).join('').slice(0, 2);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@mixin mobileScreen {
|
|
2
|
+
@media (max-width: 480px) {
|
|
3
|
+
@content;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@mixin tabletScreen {
|
|
8
|
+
@media (min-width: 481px) and (max-width: 768px) {
|
|
9
|
+
@content;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin smallDesktopScreen {
|
|
14
|
+
@media (min-width: 769px) and (max-width: 1023px) {
|
|
15
|
+
@content;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin desktopScreen {
|
|
20
|
+
@media (min-width: 1024px) and (max-width: 1200px) {
|
|
21
|
+
@content;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin desktopTreshold {
|
|
26
|
+
@media (max-width: 1200px) {
|
|
27
|
+
@content;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin faqTreshold {
|
|
32
|
+
@media (max-width: 1351px) {
|
|
33
|
+
@content;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
@mixin tabletTreshold {
|
|
38
|
+
@media (max-width: 1024px) {
|
|
39
|
+
@content;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@mixin mobileBreakPointTreshold {
|
|
44
|
+
@media (max-width: 768px) {
|
|
45
|
+
@content;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@mixin media($keys...) {
|
|
50
|
+
@each $key in $keys {
|
|
51
|
+
@if ($key == mobileScreen) {
|
|
52
|
+
@include mobileScreen {
|
|
53
|
+
@content;
|
|
54
|
+
}
|
|
55
|
+
} @else if ($key == tabletScreen) {
|
|
56
|
+
@include tabletScreen {
|
|
57
|
+
@content;
|
|
58
|
+
}
|
|
59
|
+
} @else if ($key == desktopScreen) {
|
|
60
|
+
@include desktopScreen {
|
|
61
|
+
@content;
|
|
62
|
+
}
|
|
63
|
+
} @else if ($key == mobileBreakPointTreshold) {
|
|
64
|
+
@include mobileBreakPointTreshold {
|
|
65
|
+
@content;
|
|
66
|
+
}
|
|
67
|
+
} @else if ($key == tabletTreshold) {
|
|
68
|
+
@include tabletTreshold {
|
|
69
|
+
@content;
|
|
70
|
+
}
|
|
71
|
+
} @else if ($key == desktopTreshold) {
|
|
72
|
+
@include desktopTreshold {
|
|
73
|
+
@content;
|
|
74
|
+
}
|
|
75
|
+
} @else if ($key == smallDesktopScreen) {
|
|
76
|
+
@include smallDesktopScreen {
|
|
77
|
+
@content;
|
|
78
|
+
}
|
|
79
|
+
} @else if ($key == faqTreshold) {
|
|
80
|
+
@include faqTreshold {
|
|
81
|
+
@content;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
//USAGE
|
|
88
|
+
|
|
89
|
+
// @include media(smallDesktopScreen, tabletScreen, mobileScreen){
|
|
90
|
+
// font-size: 24px;
|
|
91
|
+
// }
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/lib",
|
|
6
|
+
"declaration": true,
|
|
7
|
+
"declarationMap": true,
|
|
8
|
+
"inlineSources": true,
|
|
9
|
+
"types": []
|
|
10
|
+
},
|
|
11
|
+
"exclude": [
|
|
12
|
+
"**/*.spec.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"extends": "../../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "../../out-tsc/spec",
|
|
6
|
+
"types": [
|
|
7
|
+
"jasmine"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"**/*.spec.ts",
|
|
12
|
+
"**/*.d.ts"
|
|
13
|
+
]
|
|
14
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
+
{
|
|
3
|
+
"compileOnSave": false,
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"strictPropertyInitialization": false,
|
|
6
|
+
"paths": {
|
|
7
|
+
"af-connect-components": [
|
|
8
|
+
"dist/af-connect-components"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"baseUrl": "./",
|
|
12
|
+
"outDir": "./dist/out-tsc",
|
|
13
|
+
"forceConsistentCasingInFileNames": true,
|
|
14
|
+
"strict": true,
|
|
15
|
+
"noImplicitOverride": true,
|
|
16
|
+
"noPropertyAccessFromIndexSignature": true,
|
|
17
|
+
"noImplicitReturns": true,
|
|
18
|
+
"noFallthroughCasesInSwitch": true,
|
|
19
|
+
"sourceMap": true,
|
|
20
|
+
"declaration": false,
|
|
21
|
+
"downlevelIteration": true,
|
|
22
|
+
"experimentalDecorators": true,
|
|
23
|
+
"moduleResolution": "node",
|
|
24
|
+
"importHelpers": true,
|
|
25
|
+
"target": "ES2022",
|
|
26
|
+
"module": "ES2022",
|
|
27
|
+
"useDefineForClassFields": false,
|
|
28
|
+
"lib": [
|
|
29
|
+
"ES2022",
|
|
30
|
+
"dom"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"angularCompilerOptions": {
|
|
34
|
+
"enableI18nLegacyMessageIdFormat": false,
|
|
35
|
+
"strictInjectionParameters": true,
|
|
36
|
+
"strictInputAccessModifiers": true,
|
|
37
|
+
"strictTemplates": true
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
export * from './public-api';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWYtY29ubmVjdC1jb21wb25lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvYWYtY29ubmVjdC1jb21wb25lbnRzL3NyYy9hZi1jb25uZWN0LWNvbXBvbmVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/router";
|
|
4
|
-
import * as i2 from "../expandable/expandable-arrow/expandable-arrow.component";
|
|
5
|
-
import * as i3 from "../af-connect-svg-button/af-connect-svg-button.component";
|
|
6
|
-
export class AfConnectBreadcrumbComponent {
|
|
7
|
-
constructor(router) {
|
|
8
|
-
this.router = router;
|
|
9
|
-
}
|
|
10
|
-
goToDashboard() {
|
|
11
|
-
// this.router.navigate(['/dashboard']);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
AfConnectBreadcrumbComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectBreadcrumbComponent, deps: [{ token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
AfConnectBreadcrumbComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectBreadcrumbComponent, selector: "lib-af-connect-breadcrumb", inputs: { currentPage: "currentPage" }, ngImport: i0, template: "<div class=\"breadcrumb-wrapper\">\r\n <div class=\"breadcrumb-container\">\r\n <div class=\"home-icon-container\" (click)=\"goToDashboard()\">\r\n <lib-af-connect-svg-button [customSize]=\"24\" src=\"../../../assets/icons/home.svg\" emitValue=\"isCloseModal\"></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"titles-container\">\r\n <div class=\"home-title\" (click)=\"goToDashboard()\">Home</div>\r\n <afc-expandable-arrow></afc-expandable-arrow>\r\n <div class=\"current-title\">{{ currentPage }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".breadcrumb-wrapper{padding:2rem 0}@media (max-width: 768px){.breadcrumb-wrapper{padding:12px 6px}}.breadcrumb-container{display:inline-flex;align-items:center;padding:.5rem;background:var(--main-white-color);border-radius:22px;gap:14px}.home-icon-container{flex-shrink:0;width:32px;height:32px;background-color:var(--breadcrumb-background-color);display:flex;justify-content:center;align-items:center;border-radius:16px}.titles-container{display:flex;gap:1rem;font-size:14px;justify-content:space-between;align-items:center}@media (max-width: 768px){.titles-container{gap:.5rem}}.current-title{color:var(--primary-dark-teal-color);margin-right:.375rem}.home-title{cursor:pointer}\n"], dependencies: [{ kind: "component", type: i2.ExpandableArrowComponent, selector: "afc-expandable-arrow", inputs: ["color", "startPosition", "endPosition"] }, { kind: "component", type: i3.AfConnectSvgButtonComponent, selector: "lib-af-connect-svg-button", inputs: ["src", "emitValue", "customSize", "size"], outputs: ["clickBtn"] }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectBreadcrumbComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{ selector: 'lib-af-connect-breadcrumb', template: "<div class=\"breadcrumb-wrapper\">\r\n <div class=\"breadcrumb-container\">\r\n <div class=\"home-icon-container\" (click)=\"goToDashboard()\">\r\n <lib-af-connect-svg-button [customSize]=\"24\" src=\"../../../assets/icons/home.svg\" emitValue=\"isCloseModal\"></lib-af-connect-svg-button>\r\n </div>\r\n <div class=\"titles-container\">\r\n <div class=\"home-title\" (click)=\"goToDashboard()\">Home</div>\r\n <afc-expandable-arrow></afc-expandable-arrow>\r\n <div class=\"current-title\">{{ currentPage }}</div>\r\n </div>\r\n </div>\r\n </div>\r\n ", styles: [".breadcrumb-wrapper{padding:2rem 0}@media (max-width: 768px){.breadcrumb-wrapper{padding:12px 6px}}.breadcrumb-container{display:inline-flex;align-items:center;padding:.5rem;background:var(--main-white-color);border-radius:22px;gap:14px}.home-icon-container{flex-shrink:0;width:32px;height:32px;background-color:var(--breadcrumb-background-color);display:flex;justify-content:center;align-items:center;border-radius:16px}.titles-container{display:flex;gap:1rem;font-size:14px;justify-content:space-between;align-items:center}@media (max-width: 768px){.titles-container{gap:.5rem}}.current-title{color:var(--primary-dark-teal-color);margin-right:.375rem}.home-title{cursor:pointer}\n"] }]
|
|
19
|
-
}], ctorParameters: function () { return [{ type: i1.Router }]; }, propDecorators: { currentPage: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}] } });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWYtY29ubmVjdC1icmVhZGNydW1iLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FmLWNvbm5lY3QtY29tcG9uZW50cy9zcmMvbGliL2FmLWNvbm5lY3QtYnJlYWRjcnVtYi9hZi1jb25uZWN0LWJyZWFkY3J1bWIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWYtY29ubmVjdC1jb21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vdXRlci5uYXZpZ2F0ZShbJy9kYXNoYm9hcmQnXSk7XHJcbiAgfVxyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJvdXRlcjogUm91dGVyKSB7fVxyXG59XHJcbiIsIjxkaXYgY2xhc3M9XCJicmVhZGNydW1iLXdyYXBwZXJcIj5cclxuICAgIDxkaXYgY2xhc3M9XCJicmVhZGNydW1iLWNvbnRhaW5lclwiPlxyXG4gICAgICA8ZGl2IGNsYXNzPVwiaG9tZS1pY29uLWNvbnRhaW5lclwiIChjbGljayk9XCJnb1RvRGFzaGJvYXJkKClcIj5cclxuICAgICAgICA8bGliLWFmLWNvbm5lY3Qtc3ZnLWJ1dHRvbiBbY3VzdG9tU2l6ZV09XCIyNFwiIHNyYz1cIi4uLy4uLy4uL2Fzc2V0cy9pY29ucy9ob21lLnN2Z1wiIGVtaXRWYWx1ZT1cImlzQ2xvc2VNb2RhbFwiPjwvbGliLWFmLWNvbm5lY3Qtc3ZnLWJ1dHRvbj5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxkaXYgY2xhc3M9XCJ0aXRsZXMtY29udGFpbmVyXCI+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cImhvbWUtdGl0bGVcIiAoY2xpY2spPVwiZ29Ub0Rhc2hib2FyZCgpXCI+SG9tZTwvZGl2PlxyXG4gICAgICAgIDxhZmMtZXhwYW5kYWJsZS1hcnJvdz48L2FmYy1leHBhbmRhYmxlLWFycm93PlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJjdXJyZW50LXRpdGxlXCI+e3sgY3VycmVudFBhZ2UgfX08L2Rpdj5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L2Rpdj5cclxuICAiXX0=
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
export class AfConnectButtonComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.title = '';
|
|
7
|
-
this.size = 'small';
|
|
8
|
-
this.variant = 'outlined';
|
|
9
|
-
this.iconSize = 14;
|
|
10
|
-
this.iconPosition = 'start';
|
|
11
|
-
this.clickBtn = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() { }
|
|
14
|
-
}
|
|
15
|
-
AfConnectButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
AfConnectButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.0", type: AfConnectButtonComponent, selector: "lib-af-connect-button", inputs: { isActive: "isActive", emitValue: "emitValue", title: "title", disabled: "disabled", hybrid: "hybrid", fullWidth: "fullWidth", size: "size", variant: "variant", iconSrc: "iconSrc", iconSize: "iconSize", iconPosition: "iconPosition", activeItem: "activeItem" }, outputs: { clickBtn: "clickBtn" }, ngImport: i0, template: "<button\r\n [class.hybrid]=\"hybrid\"\r\n [ngClass]=\"[\r\n fullWidth ? 'fullWidth' : '', 'button',\r\n size,\r\n variant,\r\n activeItem === title || isActive ? 'active' : '',\r\n iconPosition\r\n ]\"\r\n title=\"\"\r\n [disabled]=\"disabled\"\r\n (click)=\"this.clickBtn.emit(emitValue || title)\"\r\n>\r\n <!-- TODO: Templates -->\r\n <div\r\n *ngIf=\"iconSrc\"\r\n [ngStyle]=\"{\r\n '-webkit-mask-image': 'url(' + iconSrc + ')',\r\n 'width': iconSize + 'px'\r\n }\"\r\n class=\"icon\"\r\n >\r\n </div>\r\n <span [class]=\"['title', size, variant]\">{{ title }}</span>\r\n</button>\r\n", styles: [":host{display:flex;justify-content:center;width:auto}:host(.align-right){justify-content:flex-end}:host(.align-left){justify-content:flex-start}:host(.full-width) .button{width:100%}:host(.register-button) .button{color:var(--main-white-color);border-color:var(--main-white-color)}.button{display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border-radius:30px;font-size:.8rem;padding:0 10px;background-color:var(--transparent-color);color:var(--primary-connected-orange-color);border:solid 1px var(--primary-connected-orange-color)}.button:disabled{border-color:var(--neutral-anchor-color);color:var(--neutral-anchor-color);cursor:auto}.button:disabled .icon{background:var(--neutral-anchor-color)}.button.small{width:8.4rem;height:2rem}.button.dynamic{width:100%;height:2rem}.button.medium{width:8.875rem;height:2.6rem}@media (max-width: 1024px){.button.medium{height:2.1rem}}.button.large{width:12rem;height:2.6rem}@media (max-width: 1024px){.button.large{min-width:8.5rem;height:2.3rem;font-size:12px}}.button.x-large{width:22rem;height:3.1875rem;font-size:1.375rem}@media (max-width: 1024px){.button.x-large{width:11.8rem;height:2.5rem;font-size:1rem}}.button.block{width:22rem;font-size:1rem;height:3rem}@media (max-width: 1024px){.button.block{width:11.8rem;height:2.5rem}}.button.filled{color:var(--main-white-color);background-color:var(--primary-connected-orange-color)}.button.filled:hover:not(:disabled){background:var(--primary-catalyst-yellow-color) 0% 0% no-repeat padding-box;border-color:var(--primary-catalyst-yellow-color)}.button.filled:disabled{background-color:var(--neutral-button-color);color:var(--neutral-anchor-color);border-color:var(--neutral-button-color)}.button.transparent{color:var(--main-white-color);border:solid 1px var(--main-white-color)}.button.cancel{color:var(--neutral-anchor-color);background:var(--neutral-button-color);border:none}.button.link{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.link:disabled{color:var(--neutral-anchor-color)}.button.link:hover:not(:disabled),.button.link:disabled{background:transparent}@media (max-width: 768px){.button.hybrid{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.hybrid:disabled{color:var(--neutral-anchor-color)}.button.hybrid:hover:not(:disabled),.button.hybrid:disabled{background:transparent}.button.hybrid .icon{display:none}}.button.fullWidth{width:100%}.button.greyish{padding:10px 8px;color:var(--main-black-color);background:var(--neutral-button-color);border:none;font-family:var(--standard-font-family-hero-new);font-size:.875rem;width:6.25rem;height:2.35rem;transition:background-color 125ms ease-in-out}.button.greyish>.title{white-space:nowrap;font-family:var(--standard-font-family-hero-new);font-size:14px}.button.greyish.small{height:2rem;width:5.5rem}@media (max-width: 768px){.button.greyish.small{min-width:auto;max-width:4.8rem}}.button.greyish.active{background-color:var(--primary-balanced-teal-color);color:var(--main-white-color)}@media (max-width: 768px){.button.greyish{min-width:100%;width:auto;max-height:2rem;padding:0}}.button.start{flex-direction:row}.button.end{flex-direction:row-reverse}.mat-button-disabled{opacity:.5;pointer-events:none}.icon{-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;aspect-ratio:1;background:var(--primary-connected-orange-color)}.filled .icon{background:var(--main-white-color)}.title{font-family:var(--standard-font-family-hero-new-bold);font-size:14px}.title.small,.title.dynamic{font-size:12px}.title.medium{font-size:14px}.title.x-large{font-size:1.375rem;font-family:var(--standard-font-family-hero-new)}.title.link{font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.title{font-size:.75rem}.title.x-large{font-size:1rem}}@media (max-width: 768px){.title.large{font-family:var(--standard-font-family-hero-new-semibold)}}:host(.bold) .title{font-family:var(--standard-font-family-hero-new-semibold)}:host(.filter) .button.small{min-height:32px}:host(.filter) .title{font-size:1rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.filter) .title{font-size:14px}}:host(.filter) .button{max-width:6.5rem}@media (max-width: 768px){:host(.filter) .button{max-width:4.5rem;max-height:1.75rem}}:host(.auto-width){width:auto}:host(.full-width){width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0", ngImport: i0, type: AfConnectButtonComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
19
|
-
args: [{ selector: 'lib-af-connect-button', template: "<button\r\n [class.hybrid]=\"hybrid\"\r\n [ngClass]=\"[\r\n fullWidth ? 'fullWidth' : '', 'button',\r\n size,\r\n variant,\r\n activeItem === title || isActive ? 'active' : '',\r\n iconPosition\r\n ]\"\r\n title=\"\"\r\n [disabled]=\"disabled\"\r\n (click)=\"this.clickBtn.emit(emitValue || title)\"\r\n>\r\n <!-- TODO: Templates -->\r\n <div\r\n *ngIf=\"iconSrc\"\r\n [ngStyle]=\"{\r\n '-webkit-mask-image': 'url(' + iconSrc + ')',\r\n 'width': iconSize + 'px'\r\n }\"\r\n class=\"icon\"\r\n >\r\n </div>\r\n <span [class]=\"['title', size, variant]\">{{ title }}</span>\r\n</button>\r\n", styles: [":host{display:flex;justify-content:center;width:auto}:host(.align-right){justify-content:flex-end}:host(.align-left){justify-content:flex-start}:host(.full-width) .button{width:100%}:host(.register-button) .button{color:var(--main-white-color);border-color:var(--main-white-color)}.button{display:flex;align-items:center;justify-content:center;gap:.5rem;cursor:pointer;border-radius:30px;font-size:.8rem;padding:0 10px;background-color:var(--transparent-color);color:var(--primary-connected-orange-color);border:solid 1px var(--primary-connected-orange-color)}.button:disabled{border-color:var(--neutral-anchor-color);color:var(--neutral-anchor-color);cursor:auto}.button:disabled .icon{background:var(--neutral-anchor-color)}.button.small{width:8.4rem;height:2rem}.button.dynamic{width:100%;height:2rem}.button.medium{width:8.875rem;height:2.6rem}@media (max-width: 1024px){.button.medium{height:2.1rem}}.button.large{width:12rem;height:2.6rem}@media (max-width: 1024px){.button.large{min-width:8.5rem;height:2.3rem;font-size:12px}}.button.x-large{width:22rem;height:3.1875rem;font-size:1.375rem}@media (max-width: 1024px){.button.x-large{width:11.8rem;height:2.5rem;font-size:1rem}}.button.block{width:22rem;font-size:1rem;height:3rem}@media (max-width: 1024px){.button.block{width:11.8rem;height:2.5rem}}.button.filled{color:var(--main-white-color);background-color:var(--primary-connected-orange-color)}.button.filled:hover:not(:disabled){background:var(--primary-catalyst-yellow-color) 0% 0% no-repeat padding-box;border-color:var(--primary-catalyst-yellow-color)}.button.filled:disabled{background-color:var(--neutral-button-color);color:var(--neutral-anchor-color);border-color:var(--neutral-button-color)}.button.transparent{color:var(--main-white-color);border:solid 1px var(--main-white-color)}.button.cancel{color:var(--neutral-anchor-color);background:var(--neutral-button-color);border:none}.button.link{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.link:disabled{color:var(--neutral-anchor-color)}.button.link:hover:not(:disabled),.button.link:disabled{background:transparent}@media (max-width: 768px){.button.hybrid{color:var(--primary-connected-orange-color);background:none;border:none;padding:0;height:-moz-fit-content;height:fit-content;width:auto;display:block}.button.hybrid:disabled{color:var(--neutral-anchor-color)}.button.hybrid:hover:not(:disabled),.button.hybrid:disabled{background:transparent}.button.hybrid .icon{display:none}}.button.fullWidth{width:100%}.button.greyish{padding:10px 8px;color:var(--main-black-color);background:var(--neutral-button-color);border:none;font-family:var(--standard-font-family-hero-new);font-size:.875rem;width:6.25rem;height:2.35rem;transition:background-color 125ms ease-in-out}.button.greyish>.title{white-space:nowrap;font-family:var(--standard-font-family-hero-new);font-size:14px}.button.greyish.small{height:2rem;width:5.5rem}@media (max-width: 768px){.button.greyish.small{min-width:auto;max-width:4.8rem}}.button.greyish.active{background-color:var(--primary-balanced-teal-color);color:var(--main-white-color)}@media (max-width: 768px){.button.greyish{min-width:100%;width:auto;max-height:2rem;padding:0}}.button.start{flex-direction:row}.button.end{flex-direction:row-reverse}.mat-button-disabled{opacity:.5;pointer-events:none}.icon{-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;aspect-ratio:1;background:var(--primary-connected-orange-color)}.filled .icon{background:var(--main-white-color)}.title{font-family:var(--standard-font-family-hero-new-bold);font-size:14px}.title.small,.title.dynamic{font-size:12px}.title.medium{font-size:14px}.title.x-large{font-size:1.375rem;font-family:var(--standard-font-family-hero-new)}.title.link{font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 1024px){.title{font-size:.75rem}.title.x-large{font-size:1rem}}@media (max-width: 768px){.title.large{font-family:var(--standard-font-family-hero-new-semibold)}}:host(.bold) .title{font-family:var(--standard-font-family-hero-new-semibold)}:host(.filter) .button.small{min-height:32px}:host(.filter) .title{font-size:1rem;font-family:var(--standard-font-family-hero-new-semibold)}@media (max-width: 768px){:host(.filter) .title{font-size:14px}}:host(.filter) .button{max-width:6.5rem}@media (max-width: 768px){:host(.filter) .button{max-width:4.5rem;max-height:1.75rem}}:host(.auto-width){width:auto}:host(.full-width){width:100%}\n"] }]
|
|
20
|
-
}], propDecorators: { isActive: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}], emitValue: [{
|
|
23
|
-
type: Input
|
|
24
|
-
}], title: [{
|
|
25
|
-
type: Input
|
|
26
|
-
}], disabled: [{
|
|
27
|
-
type: Input
|
|
28
|
-
}], hybrid: [{
|
|
29
|
-
type: Input
|
|
30
|
-
}], fullWidth: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], size: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], variant: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], iconSrc: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}], iconSize: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], iconPosition: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], activeItem: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], clickBtn: [{
|
|
45
|
-
type: Output
|
|
46
|
-
}] } });
|
|
47
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWYtY29ubmVjdC1idXR0b24uY29tcG9u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