@testgorilla/tgo-ui 2.10.1 → 2.10.2
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/components/accordion/accordion.component.d.ts +76 -0
- package/components/accordion/accordion.component.module.d.ts +12 -0
- package/components/alert-banner/alert-banner.component.d.ts +89 -0
- package/components/alert-banner/alert-banner.component.module.d.ts +10 -0
- package/components/autocomplete/autocomplete.component.d.ts +211 -0
- package/components/autocomplete/autocomplete.component.module.d.ts +22 -0
- package/components/autocomplete/autocomplete.model.d.ts +18 -0
- package/components/autocomplete/includes.pipe.d.ts +12 -0
- package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
- package/components/avatar/avatar.component.d.ts +58 -0
- package/components/avatar/avatar.component.module.d.ts +12 -0
- package/components/avatar/avatar.model.d.ts +7 -0
- package/components/badge/badge.component.d.ts +58 -0
- package/components/badge/badge.component.module.d.ts +9 -0
- package/components/badge/badge.model.d.ts +27 -0
- package/components/button/button.component.d.ts +190 -0
- package/components/button/button.component.module.d.ts +13 -0
- package/components/button/button.model.d.ts +14 -0
- package/components/card/card.component.d.ts +46 -0
- package/components/card/card.component.module.d.ts +9 -0
- package/components/checkbox/checkbox.component.d.ts +147 -0
- package/components/checkbox/checkbox.component.module.d.ts +15 -0
- package/components/confirm-dialog/confirm-dialog.component.d.ts +25 -0
- package/components/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
- package/components/confirm-dialog/confirm-dialog.model.d.ts +9 -0
- package/components/datepicker/datepicker.component.d.ts +205 -0
- package/components/datepicker/datepicker.component.module.d.ts +18 -0
- package/components/datepicker/no-date-format.directive.d.ts +11 -0
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +38 -0
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
- package/components/deprecated-table/deprecated-table.component.d.ts +91 -0
- package/components/deprecated-table/deprecated-table.component.module.d.ts +14 -0
- package/components/deprecated-table/deprecated-table.model.d.ts +45 -0
- package/components/deprecated-table/directives/dynamic-component.directive.d.ts +13 -0
- package/components/dialog/dialog.component.d.ts +108 -0
- package/components/dialog/dialog.component.module.d.ts +11 -0
- package/components/dialog/dialog.service.d.ts +13 -0
- package/components/divider/divider.component.d.ts +39 -0
- package/components/divider/divider.component.module.d.ts +9 -0
- package/components/dropdown/dropdown.component.d.ts +157 -0
- package/components/dropdown/dropdown.component.module.d.ts +17 -0
- package/components/dropdown/dropdown.model.d.ts +5 -0
- package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
- package/components/empty-state/empty-state.component.d.ts +124 -0
- package/components/empty-state/empty-state.component.module.d.ts +11 -0
- package/components/field/field.component.d.ts +238 -0
- package/components/field/field.component.module.d.ts +18 -0
- package/components/field/field.model.d.ts +1 -0
- package/components/file-upload/file-upload.component.d.ts +124 -0
- package/components/file-upload/file-upload.component.module.d.ts +14 -0
- package/components/icon/icon.component.d.ts +65 -0
- package/components/icon/icon.component.module.d.ts +10 -0
- package/components/icon/icon.config.d.ts +10 -0
- package/components/icon/icon.model.d.ts +7 -0
- package/components/icon-label/icon-label.component.d.ts +39 -0
- package/components/icon-label/icon-label.component.module.d.ts +9 -0
- package/components/logo/logo.component.d.ts +57 -0
- package/components/logo/logo.component.module.d.ts +8 -0
- package/components/logo/logo.model.d.ts +29 -0
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +22 -0
- package/components/navbar/navbar.component.d.ts +113 -0
- package/components/navbar/navbar.component.module.d.ts +20 -0
- package/components/navbar/navbar.model.d.ts +10 -0
- package/components/overflow-menu/overflow-menu.component.d.ts +55 -0
- package/components/overflow-menu/overflow-menu.component.module.d.ts +11 -0
- package/components/overflow-menu/overflow-menu.model.d.ts +10 -0
- package/components/page-header/page-header.component.d.ts +45 -0
- package/components/page-header/page-header.component.module.d.ts +10 -0
- package/components/paginator/paginator.component.d.ts +49 -0
- package/components/paginator/paginator.component.module.d.ts +9 -0
- package/components/password-criteria/password.component.d.ts +49 -0
- package/components/password-criteria/password.component.module.d.ts +13 -0
- package/components/password-strength/password-strength.component.d.ts +52 -0
- package/components/password-strength/password-strength.component.module.d.ts +11 -0
- package/components/phone-input/join-strings.pipe.d.ts +7 -0
- package/components/phone-input/phone-input.component.d.ts +154 -0
- package/components/phone-input/phone-input.component.module.d.ts +20 -0
- package/components/phone-input/phone-input.model.d.ts +8 -0
- package/components/progress-bar/progress-bar.component.d.ts +52 -0
- package/components/progress-bar/progress-bar.component.module.d.ts +9 -0
- package/components/radial-progress/radial-progress.component.d.ts +68 -0
- package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
- package/components/radial-progress/radial-progress.model.d.ts +10 -0
- package/components/radio-button/radio-button.component.d.ts +116 -0
- package/components/radio-button/radio-button.component.module.d.ts +11 -0
- package/components/radio-button/radio-button.model.d.ts +4 -0
- package/components/rating/half-star.pipe.d.ts +14 -0
- package/components/rating/rating.component.d.ts +64 -0
- package/components/rating/rating.component.module.d.ts +10 -0
- package/components/scale/scale.component.d.ts +34 -0
- package/components/scale/scale.component.module.d.ts +8 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +54 -0
- package/components/segmented-bar/segmented-bar.component.module.d.ts +10 -0
- package/components/segmented-bar/segmented-bar.model.d.ts +7 -0
- package/components/segmented-button/segmented-button.component.d.ts +23 -0
- package/components/segmented-button/segmented-button.component.module.d.ts +10 -0
- package/components/segmented-button/segmented-button.model.d.ts +6 -0
- package/components/side-sheet/side-sheet.component.d.ts +49 -0
- package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
- package/components/side-sheet/side-sheet.model.d.ts +10 -0
- package/components/side-sheet/side-sheet.service.d.ts +14 -0
- package/components/skeleton/skeleton.component.d.ts +26 -0
- package/components/skeleton/skeleton.model.d.ts +2 -0
- package/components/slider/slider.component.d.ts +103 -0
- package/components/slider/slider.component.module.d.ts +14 -0
- package/components/slider/slider.model.d.ts +4 -0
- package/components/snackbar/snackbar.component.d.ts +111 -0
- package/components/snackbar/snackbar.component.module.d.ts +12 -0
- package/components/snackbar/snackbar.service.d.ts +12 -0
- package/components/spinner/spinner.component.d.ts +38 -0
- package/components/spinner/spinner.module.d.ts +8 -0
- package/components/step/step.component.d.ts +104 -0
- package/components/step/step.component.module.d.ts +9 -0
- package/components/stepper/stepper.component.d.ts +76 -0
- package/components/stepper/stepper.component.module.d.ts +15 -0
- package/components/stepper/stepper.model.d.ts +9 -0
- package/components/table/sentence-case.pipe.d.ts +7 -0
- package/components/table/table.component.d.ts +93 -0
- package/components/table/table.component.module.d.ts +19 -0
- package/components/table/table.model.d.ts +92 -0
- package/components/tabs/tab.directive.d.ts +18 -0
- package/components/tabs/tabs.component.d.ts +59 -0
- package/components/tabs/tabs.component.module.d.ts +11 -0
- package/components/tabs/tabs.model.d.ts +9 -0
- package/components/tag/tag.component.d.ts +129 -0
- package/components/tag/tag.component.module.d.ts +12 -0
- package/components/toggle/toggle.component.d.ts +105 -0
- package/components/toggle/toggle.component.module.d.ts +12 -0
- package/components/tooltip/tooltip.component.d.ts +44 -0
- package/components/tooltip/tooltip.component.module.d.ts +8 -0
- package/components/tooltip/tooltip.model.d.ts +6 -0
- package/components/validation-error/validation-error.component.d.ts +27 -0
- package/components/validation-error/validation-error.module.d.ts +10 -0
- package/directives/digits-only.directive.d.ts +15 -0
- package/directives/drag-drop.directive.d.ts +12 -0
- package/directives/ellipse-text.directive.d.ts +16 -0
- package/directives/select-text.directive.d.ts +19 -0
- package/directives/step-line-width.directive.d.ts +15 -0
- package/esm2022/assets/i18n/da-dk.json +77 -0
- package/esm2022/assets/i18n/de.json +77 -0
- package/esm2022/assets/i18n/en.json +100 -0
- package/esm2022/assets/i18n/es.json +77 -0
- package/esm2022/assets/i18n/fr.json +77 -0
- package/esm2022/assets/i18n/it-it.json +77 -0
- package/esm2022/assets/i18n/ja-jp.json +77 -0
- package/esm2022/assets/i18n/nb-no.json +77 -0
- package/esm2022/assets/i18n/nl.json +77 -0
- package/esm2022/assets/i18n/pl-pl.json +77 -0
- package/esm2022/assets/i18n/pt-br.json +77 -0
- package/esm2022/assets/i18n/sv-se.json +77 -0
- package/esm2022/components/accordion/accordion.component.mjs +105 -0
- package/esm2022/components/accordion/accordion.component.module.mjs +40 -0
- package/esm2022/components/accordion/accordion.model.mjs +2 -0
- package/esm2022/components/alert-banner/alert-banner.component.mjs +127 -0
- package/esm2022/components/alert-banner/alert-banner.component.module.mjs +20 -0
- package/esm2022/components/alert-banner/alert-banner.model.mjs +2 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +507 -0
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +70 -0
- package/esm2022/components/autocomplete/autocomplete.model.mjs +22 -0
- package/esm2022/components/autocomplete/includes.pipe.mjs +21 -0
- package/esm2022/components/autocomplete/transform-Item.pipe.mjs +29 -0
- package/esm2022/components/avatar/avatar.component.mjs +91 -0
- package/esm2022/components/avatar/avatar.component.module.mjs +22 -0
- package/esm2022/components/avatar/avatar.model.mjs +12 -0
- package/esm2022/components/badge/badge.component.mjs +102 -0
- package/esm2022/components/badge/badge.component.module.mjs +19 -0
- package/esm2022/components/badge/badge.model.mjs +28 -0
- package/esm2022/components/button/button.component.mjs +352 -0
- package/esm2022/components/button/button.component.module.mjs +41 -0
- package/esm2022/components/button/button.model.mjs +2 -0
- package/esm2022/components/card/card.component.mjs +75 -0
- package/esm2022/components/card/card.component.module.mjs +19 -0
- package/esm2022/components/card/card.model.mjs +2 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +228 -0
- package/esm2022/components/checkbox/checkbox.component.module.mjs +25 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +48 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +29 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +2 -0
- package/esm2022/components/datepicker/datepicker.component.mjs +302 -0
- package/esm2022/components/datepicker/datepicker.component.module.mjs +60 -0
- package/esm2022/components/datepicker/no-date-format.directive.mjs +56 -0
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +55 -0
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +20 -0
- package/esm2022/components/deprecated-table/deprecated-table.component.mjs +158 -0
- package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +43 -0
- package/esm2022/components/deprecated-table/deprecated-table.model.mjs +13 -0
- package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +40 -0
- package/esm2022/components/dialog/dialog.component.mjs +193 -0
- package/esm2022/components/dialog/dialog.component.module.mjs +23 -0
- package/esm2022/components/dialog/dialog.service.mjs +32 -0
- package/esm2022/components/divider/divider.component.mjs +65 -0
- package/esm2022/components/divider/divider.component.module.mjs +19 -0
- package/esm2022/components/divider/divider.model.mjs +2 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +228 -0
- package/esm2022/components/dropdown/dropdown.component.module.mjs +57 -0
- package/esm2022/components/dropdown/dropdown.model.mjs +2 -0
- package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +45 -0
- package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +18 -0
- package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +9 -0
- package/esm2022/components/empty-state/empty-state.component.mjs +195 -0
- package/esm2022/components/empty-state/empty-state.component.module.mjs +21 -0
- package/esm2022/components/empty-state/empty-state.model.mjs +2 -0
- package/esm2022/components/field/field.component.mjs +409 -0
- package/esm2022/components/field/field.component.module.mjs +58 -0
- package/esm2022/components/field/field.model.mjs +2 -0
- package/esm2022/components/file-upload/file-upload.component.mjs +271 -0
- package/esm2022/components/file-upload/file-upload.component.module.mjs +40 -0
- package/esm2022/components/icon/icon.component.mjs +127 -0
- package/esm2022/components/icon/icon.component.module.mjs +21 -0
- package/esm2022/components/icon/icon.config.mjs +657 -0
- package/esm2022/components/icon/icon.model.mjs +2 -0
- package/esm2022/components/icon-label/icon-label.component.mjs +53 -0
- package/esm2022/components/icon-label/icon-label.component.module.mjs +20 -0
- package/esm2022/components/logo/logo.component.mjs +149 -0
- package/esm2022/components/logo/logo.component.module.mjs +18 -0
- package/esm2022/components/logo/logo.model.mjs +32 -0
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +75 -0
- package/esm2022/components/navbar/navbar.component.mjs +200 -0
- package/esm2022/components/navbar/navbar.component.module.mjs +67 -0
- package/esm2022/components/navbar/navbar.model.mjs +2 -0
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +73 -0
- package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +21 -0
- package/esm2022/components/overflow-menu/overflow-menu.model.mjs +2 -0
- package/esm2022/components/page-header/page-header.component.mjs +81 -0
- package/esm2022/components/page-header/page-header.component.module.mjs +20 -0
- package/esm2022/components/paginator/paginator.component.mjs +76 -0
- package/esm2022/components/paginator/paginator.component.module.mjs +19 -0
- package/esm2022/components/password-criteria/password.component.mjs +115 -0
- package/esm2022/components/password-criteria/password.component.module.mjs +39 -0
- package/esm2022/components/password-strength/password-strength.component.mjs +103 -0
- package/esm2022/components/password-strength/password-strength.component.module.mjs +21 -0
- package/esm2022/components/phone-input/join-strings.pipe.mjs +14 -0
- package/esm2022/components/phone-input/phone-input.component.mjs +363 -0
- package/esm2022/components/phone-input/phone-input.component.module.mjs +63 -0
- package/esm2022/components/phone-input/phone-input.model.mjs +2 -0
- package/esm2022/components/progress-bar/progress-bar.component.mjs +74 -0
- package/esm2022/components/progress-bar/progress-bar.component.module.mjs +20 -0
- package/esm2022/components/radial-progress/radial-progress.component.mjs +106 -0
- package/esm2022/components/radial-progress/radial-progress.component.module.mjs +20 -0
- package/esm2022/components/radial-progress/radial-progress.model.mjs +11 -0
- package/esm2022/components/radio-button/radio-button.component.mjs +176 -0
- package/esm2022/components/radio-button/radio-button.component.module.mjs +21 -0
- package/esm2022/components/radio-button/radio-button.model.mjs +2 -0
- package/esm2022/components/rating/half-star.pipe.mjs +23 -0
- package/esm2022/components/rating/rating.component.mjs +92 -0
- package/esm2022/components/rating/rating.component.module.mjs +20 -0
- package/esm2022/components/scale/scale.component.mjs +58 -0
- package/esm2022/components/scale/scale.component.module.mjs +18 -0
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +75 -0
- package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +20 -0
- package/esm2022/components/segmented-bar/segmented-bar.model.mjs +2 -0
- package/esm2022/components/segmented-button/segmented-button.component.mjs +53 -0
- package/esm2022/components/segmented-button/segmented-button.component.module.mjs +32 -0
- package/esm2022/components/segmented-button/segmented-button.model.mjs +2 -0
- package/esm2022/components/side-sheet/side-sheet.component.mjs +109 -0
- package/esm2022/components/side-sheet/side-sheet.component.module.mjs +43 -0
- package/esm2022/components/side-sheet/side-sheet.model.mjs +2 -0
- package/esm2022/components/side-sheet/side-sheet.service.mjs +31 -0
- package/esm2022/components/skeleton/skeleton.component.mjs +71 -0
- package/esm2022/components/skeleton/skeleton.model.mjs +2 -0
- package/esm2022/components/slider/slider.component.mjs +191 -0
- package/esm2022/components/slider/slider.component.module.mjs +43 -0
- package/esm2022/components/slider/slider.model.mjs +2 -0
- package/esm2022/components/snackbar/snackbar.component.mjs +208 -0
- package/esm2022/components/snackbar/snackbar.component.module.mjs +24 -0
- package/esm2022/components/snackbar/snackbar.model.mjs +2 -0
- package/esm2022/components/snackbar/snackbar.service.mjs +41 -0
- package/esm2022/components/spinner/spinner.component.mjs +62 -0
- package/esm2022/components/spinner/spinner.model.mjs +2 -0
- package/esm2022/components/spinner/spinner.module.mjs +18 -0
- package/esm2022/components/step/step.component.mjs +110 -0
- package/esm2022/components/step/step.component.module.mjs +19 -0
- package/esm2022/components/stepper/stepper.component.mjs +124 -0
- package/esm2022/components/stepper/stepper.component.module.mjs +44 -0
- package/esm2022/components/stepper/stepper.model.mjs +2 -0
- package/esm2022/components/table/sentence-case.pipe.mjs +19 -0
- package/esm2022/components/table/table.component.mjs +220 -0
- package/esm2022/components/table/table.component.module.mjs +58 -0
- package/esm2022/components/table/table.model.mjs +13 -0
- package/esm2022/components/tabs/tab.directive.mjs +42 -0
- package/esm2022/components/tabs/tabs.component.mjs +99 -0
- package/esm2022/components/tabs/tabs.component.module.mjs +33 -0
- package/esm2022/components/tabs/tabs.model.mjs +2 -0
- package/esm2022/components/tag/tag.component.mjs +201 -0
- package/esm2022/components/tag/tag.component.module.mjs +23 -0
- package/esm2022/components/tag/tag.model.mjs +2 -0
- package/esm2022/components/toggle/toggle.component.mjs +169 -0
- package/esm2022/components/toggle/toggle.component.module.mjs +22 -0
- package/esm2022/components/toggle/toggle.model.mjs +2 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +79 -0
- package/esm2022/components/tooltip/tooltip.component.module.mjs +18 -0
- package/esm2022/components/tooltip/tooltip.model.mjs +8 -0
- package/esm2022/components/validation-error/validation-error.component.mjs +59 -0
- package/esm2022/components/validation-error/validation-error.model.mjs +2 -0
- package/esm2022/components/validation-error/validation-error.module.mjs +20 -0
- package/esm2022/directives/digits-only.directive.mjs +52 -0
- package/esm2022/directives/drag-drop.directive.mjs +55 -0
- package/esm2022/directives/ellipse-text.directive.mjs +37 -0
- package/esm2022/directives/select-text.directive.mjs +41 -0
- package/esm2022/directives/step-line-width.directive.mjs +38 -0
- package/esm2022/models/application-theme.model.mjs +2 -0
- package/esm2022/models/colors.model.mjs +78 -0
- package/esm2022/models/screen-breakpoints.model.mjs +6 -0
- package/esm2022/pipes/data-property-getter.mjs +33 -0
- package/esm2022/pipes/has-validation-error.pipe.mjs +27 -0
- package/esm2022/pipes/name-initials.pipe.mjs +25 -0
- package/esm2022/pipes/ui-translate.pipe.mjs +76 -0
- package/esm2022/providers/is-mobile.mjs +11 -0
- package/esm2022/public-api.mjs +184 -0
- package/esm2022/testgorilla-tgo-ui.mjs +5 -0
- package/esm2022/utils/alert-bar.model.mjs +2 -0
- package/esm2022/utils/alert-bars.utils.mjs +33 -0
- package/esm2022/utils/autocomplete-utils.mjs +61 -0
- package/esm2022/utils/color-contrast.mjs +131 -0
- package/esm2022/utils/localization/language.model.mjs +16 -0
- package/esm2022/utils/localization/language.service.mjs +33 -0
- package/esm2022/utils/table.utils.mjs +19 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +11104 -0
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/models/colors.model.d.ts +63 -0
- package/models/screen-breakpoints.model.d.ts +4 -0
- package/package.json +17 -68
- package/pipes/data-property-getter.d.ts +8 -0
- package/pipes/has-validation-error.pipe.d.ts +15 -0
- package/pipes/name-initials.pipe.d.ts +7 -0
- package/pipes/ui-translate.pipe.d.ts +28 -0
- package/providers/is-mobile.d.ts +2 -0
- package/public-api.d.ts +130 -0
- package/utils/alert-bars.utils.d.ts +7 -0
- package/utils/autocomplete-utils.d.ts +11 -0
- package/utils/color-contrast.d.ts +28 -0
- package/utils/localization/language.model.d.ts +14 -0
- package/utils/localization/language.service.d.ts +16 -0
- package/utils/table.utils.d.ts +6 -0
- package/.circleci/config.yml +0 -112
- package/.editorconfig +0 -16
- package/.eslintignore +0 -5
- package/.eslintrc.js +0 -301
- package/.github/README.md +0 -81
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -2
- package/.prettierrc +0 -13
- package/.storybook/main.js +0 -25
- package/.storybook/preview-head.html +0 -10
- package/.storybook/preview.js +0 -107
- package/.storybook/tsconfig.json +0 -24
- package/.storybook/typings.d.ts +0 -4
- package/.stylelintrc.json +0 -30
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/CHANGELOG.md +0 -123
- package/angular.json +0 -164
- package/e2e/bannerAction.spec.ts +0 -46
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--default-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--error-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--info-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--warning-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
- package/e2e/button.spec.ts +0 -53
- package/e2e/button.spec.ts-snapshots/id-button--basic-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--button-as-link-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--button-only-label-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--disabled-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--full-width-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--label-icon-left-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--label-icon-right-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--loading-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--menu-cell-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--menu-trigger-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--only-icon-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--small-chromium-linux.png +0 -0
- package/e2e/card.spec.ts +0 -43
- package/e2e/card.spec.ts-snapshots/id-card--default-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts +0 -47
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--greysacale-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-error-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-petrol-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-teal-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-warning-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--secondary-colors-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts +0 -102
- package/e2e/createAccount.spec.ts-snapshots/id-create-account--default-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/id-deprecated-create-account--default-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/register-with-errors-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/register-with-texts-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts +0 -94
- package/e2e/createPassword.spec.ts-snapshots/createPassword-with-errors-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/createPassword-with-texts-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-args-viewMode-story-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-deprecated-create-password--default-chromium-linux.png +0 -0
- package/e2e/dialog.spec.ts +0 -43
- package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-darwin.png +0 -0
- package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-linux.png +0 -0
- package/e2e/field.spec.ts +0 -51
- package/e2e/field.spec.ts-snapshots/id-forms-field--email-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--number-type-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--password-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--search-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--tel-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--text-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-disable-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-errors-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-require-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--without-label-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts +0 -94
- package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-errors-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-texts-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-deprecated-forgot-password--default-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-args-viewMode-story-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-chromium-linux.png +0 -0
- package/e2e/label.spec.ts +0 -47
- package/e2e/label.spec.ts-snapshots/id-label--big-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--huge-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--large-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--medium-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--small-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--big-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--huge-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--large-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--medium-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--small-chromium-linux.png +0 -0
- package/e2e/login.spec.ts +0 -102
- package/e2e/login.spec.ts-snapshots/id-deprecated-login--default-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/id-login--default-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/login-with-errors-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/login-with-texts-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts +0 -45
- package/e2e/logo.spec.ts-snapshots/id-logo--default-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts-snapshots/id-logo--powered-by-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts-snapshots/id-logo--reverse-chromium-linux.png +0 -0
- package/e2e/navbar.spec.ts +0 -42
- package/e2e/navbar.spec.ts-snapshots/id-navbar--default-chromium-linux.png +0 -0
- package/e2e/navigation.spec.ts +0 -43
- package/e2e/navigation.spec.ts-snapshots/id-navigation--default-chromium-linux.png +0 -0
- package/e2e/paginator.spec.ts +0 -42
- package/e2e/paginator.spec.ts-snapshots/id-paginator--default-chromium-linux.png +0 -0
- package/e2e/progressBar.spec.ts +0 -42
- package/e2e/progressBar.spec.ts-snapshots/id-progressbar--determinate-chromium-linux.png +0 -0
- package/e2e/table.spec.ts +0 -47
- package/e2e/table.spec.ts-snapshots/id-deprecated-table--default-chromium-linux.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--default-chromium-darwin.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--default-chromium-linux.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-darwin.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-linux.png +0 -0
- package/e2e/typography.spec.ts +0 -42
- package/e2e/typography.spec.ts-snapshots/id-foundations-typography--page-args-viewMode-story-chromium-linux.png +0 -0
- package/globalSetup.js +0 -9
- package/jest.config.js +0 -69
- package/ng-package.json +0 -9
- package/projects/client/src/app/app.component.html +0 -1
- package/projects/client/src/app/app.component.scss +0 -8
- package/projects/client/src/app/app.component.spec.ts +0 -27
- package/projects/client/src/app/app.component.ts +0 -37
- package/projects/client/src/app/app.routes.ts +0 -8
- package/projects/client/src/app/components/avatar/avatar.component.html +0 -10
- package/projects/client/src/app/components/avatar/avatar.component.scss +0 -0
- package/projects/client/src/app/components/avatar/avatar.component.ts +0 -25
- package/projects/client/src/assets/.gitkeep +0 -0
- package/projects/client/src/favicon.ico +0 -0
- package/projects/client/src/index.html +0 -13
- package/projects/client/src/main.ts +0 -15
- package/projects/client/src/styles.scss +0 -10
- package/projects/client/tsconfig.app.json +0 -14
- package/projects/client/tsconfig.spec.json +0 -14
- package/projects/tgo-canopy-ui/__mocks__/alert-bar.mock.ts +0 -18
- package/projects/tgo-canopy-ui/__mocks__/button.mock.ts +0 -34
- package/projects/tgo-canopy-ui/__mocks__/field.mock.ts +0 -10
- package/projects/tgo-canopy-ui/__mocks__/icon.mock.ts +0 -14
- package/projects/tgo-canopy-ui/__mocks__/tag.mock.ts +0 -9
- package/projects/tgo-canopy-ui/assets/.gitkeep +0 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.html +0 -35
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.module.ts +0 -26
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.scss +0 -284
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.spec.ts +0 -37
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.stories.ts +0 -176
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.ts +0 -97
- package/projects/tgo-canopy-ui/components/alert-banner/__snapshots__/alert-banner.component.spec.ts.snap +0 -42
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.html +0 -22
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.scss +0 -39
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.spec.ts +0 -177
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.stories.ts +0 -100
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.ts +0 -130
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.html +0 -198
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.module.ts +0 -40
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.scss +0 -283
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.spec.ts +0 -238
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.stories.ts +0 -135
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.ts +0 -519
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.model.ts +0 -22
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.spec.ts +0 -33
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.ts +0 -15
- package/projects/tgo-canopy-ui/components/autocomplete/transform-Item.pipe.ts +0 -21
- package/projects/tgo-canopy-ui/components/autocomplete/transform-item.pipe.spec.ts +0 -24
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.html +0 -23
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.module.ts +0 -14
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.scss +0 -75
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.spec.ts +0 -39
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.stories.ts +0 -111
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.ts +0 -76
- package/projects/tgo-canopy-ui/components/avatar/avatar.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/badge/badge.component.html +0 -10
- package/projects/tgo-canopy-ui/components/badge/badge.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/badge/badge.component.scss +0 -147
- package/projects/tgo-canopy-ui/components/badge/badge.component.spec.ts +0 -57
- package/projects/tgo-canopy-ui/components/badge/badge.component.stories.ts +0 -61
- package/projects/tgo-canopy-ui/components/badge/badge.component.ts +0 -99
- package/projects/tgo-canopy-ui/components/badge/badge.model.ts +0 -40
- package/projects/tgo-canopy-ui/components/button/__snapshots__/button.component.spec.ts.snap +0 -64
- package/projects/tgo-canopy-ui/components/button/button.component.html +0 -80
- package/projects/tgo-canopy-ui/components/button/button.component.module.ts +0 -23
- package/projects/tgo-canopy-ui/components/button/button.component.scss +0 -1012
- package/projects/tgo-canopy-ui/components/button/button.component.spec.ts +0 -274
- package/projects/tgo-canopy-ui/components/button/button.component.stories.ts +0 -455
- package/projects/tgo-canopy-ui/components/button/button.component.ts +0 -393
- package/projects/tgo-canopy-ui/components/button/button.model.ts +0 -28
- package/projects/tgo-canopy-ui/components/card/card.component.html +0 -9
- package/projects/tgo-canopy-ui/components/card/card.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/card/card.component.scss +0 -91
- package/projects/tgo-canopy-ui/components/card/card.component.spec.ts +0 -76
- package/projects/tgo-canopy-ui/components/card/card.component.stories.ts +0 -88
- package/projects/tgo-canopy-ui/components/card/card.component.ts +0 -72
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.html +0 -23
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.module.ts +0 -17
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.scss +0 -221
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.spec.ts +0 -191
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.stories.ts +0 -122
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.ts +0 -233
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.html +0 -16
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.module.ts +0 -18
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.spec.ts +0 -42
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.ts +0 -43
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.model.ts +0 -10
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.stories.ts +0 -37
- package/projects/tgo-canopy-ui/components/datepicker/__snapshots__/datepicker.component.spec.ts.snap +0 -56
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.html +0 -98
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.module.ts +0 -33
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.scss +0 -195
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.spec.ts +0 -249
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.stories.ts +0 -138
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.ts +0 -358
- package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.spec.ts +0 -35
- package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.ts +0 -43
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.html +0 -5
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.scss +0 -32
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.stories.ts +0 -31
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.ts +0 -54
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.html +0 -113
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.module.ts +0 -25
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.scss +0 -188
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.stories.ts +0 -620
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.ts +0 -160
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.model.ts +0 -51
- package/projects/tgo-canopy-ui/components/deprecated-table/directives/dynamic-component.directive.ts +0 -41
- package/projects/tgo-canopy-ui/components/dialog/__snapshots__/dialog.component.spec.ts.snap +0 -51
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.html +0 -41
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.scss +0 -133
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.spec.ts +0 -230
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.stories.ts +0 -60
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.ts +0 -184
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.spec.ts +0 -55
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.ts +0 -33
- package/projects/tgo-canopy-ui/components/dialog-custom/__snapshots__/dialog-custom.component.spec.ts.snap +0 -28
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom +0 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.html +0 -38
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.mdx +0 -38
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.spec.ts +0 -56
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.stories.ts +0 -27
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.ts +0 -45
- package/projects/tgo-canopy-ui/components/dialog-demo/__snapshots__/dialog-demo.component.spec.ts.snap +0 -21
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.html +0 -4
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.mdx +0 -28
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.scss +0 -12
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.spec.ts +0 -58
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.stories.ts +0 -30
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.ts +0 -33
- package/projects/tgo-canopy-ui/components/divider/divider.component.html +0 -13
- package/projects/tgo-canopy-ui/components/divider/divider.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/divider/divider.component.scss +0 -57
- package/projects/tgo-canopy-ui/components/divider/divider.component.spec.ts +0 -21
- package/projects/tgo-canopy-ui/components/divider/divider.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/divider/divider.component.ts +0 -54
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.html +0 -43
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.module.ts +0 -31
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.scss +0 -237
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.spec.ts +0 -104
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.stories.ts +0 -213
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.ts +0 -250
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.model.ts +0 -5
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.html +0 -3
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.scss +0 -41
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.spec.ts +0 -39
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.stories.ts +0 -59
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.ts +0 -38
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.constant.ts +0 -9
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.html +0 -25
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.scss +0 -70
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.spec.ts +0 -80
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.stories.ts +0 -159
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.ts +0 -174
- package/projects/tgo-canopy-ui/components/field/__snapshots__/field.component.spec.ts.snap +0 -55
- package/projects/tgo-canopy-ui/components/field/field.component.html +0 -105
- package/projects/tgo-canopy-ui/components/field/field.component.module.ts +0 -32
- package/projects/tgo-canopy-ui/components/field/field.component.scss +0 -492
- package/projects/tgo-canopy-ui/components/field/field.component.spec.ts +0 -268
- package/projects/tgo-canopy-ui/components/field/field.component.stories.ts +0 -212
- package/projects/tgo-canopy-ui/components/field/field.component.ts +0 -430
- package/projects/tgo-canopy-ui/components/field/field.model.ts +0 -11
- package/projects/tgo-canopy-ui/components/file-upload/__snapshots__/file-upload.component.spec.ts.snap +0 -59
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.html +0 -94
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.module.ts +0 -23
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.scss +0 -182
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.spec.ts +0 -142
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.stories.ts +0 -96
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.ts +0 -284
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.html +0 -32
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.module.ts +0 -14
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.scss +0 -23
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.spec.ts +0 -111
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.stories.ts +0 -28
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.ts +0 -74
- package/projects/tgo-canopy-ui/components/form-demo/form-demo-component.stories.ts +0 -41
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.html +0 -210
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.module.ts +0 -34
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.scss +0 -59
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.spec.ts +0 -127
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.ts +0 -217
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.model.ts +0 -6
- package/projects/tgo-canopy-ui/components/icon/__snapshots__/icon.component.spec.ts.snap +0 -20
- package/projects/tgo-canopy-ui/components/icon/icon.component.html +0 -1
- package/projects/tgo-canopy-ui/components/icon/icon.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/icon/icon.component.scss +0 -66
- package/projects/tgo-canopy-ui/components/icon/icon.component.spec.ts +0 -150
- package/projects/tgo-canopy-ui/components/icon/icon.component.stories.ts +0 -68
- package/projects/tgo-canopy-ui/components/icon/icon.component.ts +0 -147
- package/projects/tgo-canopy-ui/components/icon/icon.config.ts +0 -658
- package/projects/tgo-canopy-ui/components/icon/icon.model.ts +0 -8
- package/projects/tgo-canopy-ui/components/icon-label/__snapshots__/icon-label.component.spec.ts.snap +0 -15
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.html +0 -2
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.scss +0 -8
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.spec.ts +0 -64
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.ts +0 -53
- package/projects/tgo-canopy-ui/components/icons-showcase/__snapshots__/icons-showcase.component.spec.ts.snap +0 -3487
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.html +0 -17
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.scss +0 -25
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.spec.ts +0 -40
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.stories.ts +0 -44
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.ts +0 -43
- package/projects/tgo-canopy-ui/components/login/login.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.html +0 -14
- package/projects/tgo-canopy-ui/components/logo/logo.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/logo/logo.component.scss +0 -13
- package/projects/tgo-canopy-ui/components/logo/logo.component.spec.ts +0 -162
- package/projects/tgo-canopy-ui/components/logo/logo.component.stories.ts +0 -55
- package/projects/tgo-canopy-ui/components/logo/logo.component.ts +0 -148
- package/projects/tgo-canopy-ui/components/logo/logo.model.ts +0 -30
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.html +0 -36
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.scss +0 -70
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.spec.ts +0 -58
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.ts +0 -58
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.html +0 -62
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.module.ts +0 -36
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.scss +0 -240
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.spec.ts +0 -136
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.stories.ts +0 -134
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.ts +0 -206
- package/projects/tgo-canopy-ui/components/navbar/navbar.model.ts +0 -12
- package/projects/tgo-canopy-ui/components/overflow-menu/__snapshots__/overflow-menu.component.spec.ts.snap +0 -28
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.html +0 -47
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.scss +0 -98
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.spec.ts +0 -124
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.stories.ts +0 -58
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.ts +0 -88
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.model.ts +0 -11
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.html +0 -35
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.scss +0 -61
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.spec.ts +0 -34
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.stories.ts +0 -56
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.ts +0 -64
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.html +0 -10
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.scss +0 -159
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.spec.ts +0 -29
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.stories.ts +0 -36
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.ts +0 -67
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.html +0 -31
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.module.ts +0 -22
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.scss +0 -56
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.spec.ts +0 -45
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.stories.ts +0 -49
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.ts +0 -106
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.html +0 -19
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.scss +0 -54
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.spec.ts +0 -40
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.stories.ts +0 -50
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.ts +0 -98
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.html +0 -2
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.spec.ts +0 -28
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.stories.ts +0 -40
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.ts +0 -20
- package/projects/tgo-canopy-ui/components/phone-input/join-string.pipe.spec.ts +0 -9
- package/projects/tgo-canopy-ui/components/phone-input/join-strings.pipe.ts +0 -8
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.html +0 -64
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.module.ts +0 -35
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.scss +0 -133
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.spec.ts +0 -212
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.stories.ts +0 -89
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.ts +0 -427
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.model.ts +0 -8
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.html +0 -9
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.scss +0 -152
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.spec.ts +0 -76
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.ts +0 -82
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.html +0 -26
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.scss +0 -41
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.spec.ts +0 -102
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.stories.ts +0 -69
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.ts +0 -114
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.html +0 -16
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.scss +0 -175
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.spec.ts +0 -141
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.stories.ts +0 -126
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.ts +0 -190
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.model.ts +0 -4
- package/projects/tgo-canopy-ui/components/rating/__snapshots__/rating.component.spec.ts.snap +0 -47
- package/projects/tgo-canopy-ui/components/rating/half-star.pipe.spec.ts +0 -33
- package/projects/tgo-canopy-ui/components/rating/half-star.pipe.ts +0 -17
- package/projects/tgo-canopy-ui/components/rating/rating.component.html +0 -31
- package/projects/tgo-canopy-ui/components/rating/rating.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/rating/rating.component.scss +0 -139
- package/projects/tgo-canopy-ui/components/rating/rating.component.spec.ts +0 -142
- package/projects/tgo-canopy-ui/components/rating/rating.component.stories.ts +0 -87
- package/projects/tgo-canopy-ui/components/rating/rating.component.ts +0 -97
- package/projects/tgo-canopy-ui/components/scale/__snapshots__/scale.component.spec.ts.snap +0 -42
- package/projects/tgo-canopy-ui/components/scale/scale.component.html +0 -7
- package/projects/tgo-canopy-ui/components/scale/scale.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/scale/scale.component.scss +0 -71
- package/projects/tgo-canopy-ui/components/scale/scale.component.spec.ts +0 -125
- package/projects/tgo-canopy-ui/components/scale/scale.component.stories.ts +0 -60
- package/projects/tgo-canopy-ui/components/scale/scale.component.ts +0 -57
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.html +0 -16
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.scss +0 -86
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.spec.ts +0 -69
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.stories.ts +0 -98
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.ts +0 -69
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.model.ts +0 -8
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.html +0 -11
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.module.ts +0 -22
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.scss +0 -44
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.spec.ts +0 -50
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.ts +0 -54
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.model.ts +0 -7
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.html +0 -37
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.module.ts +0 -24
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.scss +0 -97
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.spec.ts +0 -176
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.ts +0 -110
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.model.ts +0 -12
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.spec.ts +0 -88
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.ts +0 -28
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.html +0 -5
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.scss +0 -14
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.spec.ts +0 -26
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.stories.ts +0 -54
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.ts +0 -98
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.html +0 -5
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.spec.ts +0 -75
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.stories.ts +0 -47
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.ts +0 -66
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.model.ts +0 -3
- package/projects/tgo-canopy-ui/components/slider/slider.component.html +0 -75
- package/projects/tgo-canopy-ui/components/slider/slider.component.module.ts +0 -24
- package/projects/tgo-canopy-ui/components/slider/slider.component.scss +0 -223
- package/projects/tgo-canopy-ui/components/slider/slider.component.spec.ts +0 -103
- package/projects/tgo-canopy-ui/components/slider/slider.component.stories.ts +0 -87
- package/projects/tgo-canopy-ui/components/slider/slider.component.ts +0 -185
- package/projects/tgo-canopy-ui/components/slider/slider.model.ts +0 -4
- package/projects/tgo-canopy-ui/components/snackbar/__snapshots__/snackbar.component.spec.ts.snap +0 -44
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.html +0 -33
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.module.ts +0 -16
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.scss +0 -45
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.spec.ts +0 -214
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.stories.ts +0 -159
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.ts +0 -196
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.spec.ts +0 -52
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.ts +0 -37
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.html +0 -6
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.scss +0 -75
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.spec.ts +0 -82
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.stories.ts +0 -46
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.ts +0 -59
- package/projects/tgo-canopy-ui/components/spinner/spinner.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/step/step.component.html +0 -100
- package/projects/tgo-canopy-ui/components/step/step.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/step/step.component.scss +0 -315
- package/projects/tgo-canopy-ui/components/step/step.component.spec.ts +0 -61
- package/projects/tgo-canopy-ui/components/step/step.component.ts +0 -134
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.html +0 -79
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.module.ts +0 -25
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.scss +0 -144
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.spec.ts +0 -64
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.stories.ts +0 -84
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.ts +0 -118
- package/projects/tgo-canopy-ui/components/stepper/stepper.model.ts +0 -10
- package/projects/tgo-canopy-ui/components/table/sentence-case.pipe.ts +0 -13
- package/projects/tgo-canopy-ui/components/table/sentence-case.spec.ts +0 -53
- package/projects/tgo-canopy-ui/components/table/table.component.html +0 -290
- package/projects/tgo-canopy-ui/components/table/table.component.module.ts +0 -33
- package/projects/tgo-canopy-ui/components/table/table.component.scss +0 -201
- package/projects/tgo-canopy-ui/components/table/table.component.spec.ts +0 -187
- package/projects/tgo-canopy-ui/components/table/table.component.stories.ts +0 -425
- package/projects/tgo-canopy-ui/components/table/table.component.ts +0 -235
- package/projects/tgo-canopy-ui/components/table/table.model.ts +0 -103
- package/projects/tgo-canopy-ui/components/tabs/tab.directive.ts +0 -33
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.html +0 -19
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.module.ts +0 -22
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.scss +0 -234
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.spec.ts +0 -85
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.stories.ts +0 -73
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.ts +0 -79
- package/projects/tgo-canopy-ui/components/tabs/tabs.directive.spec.ts +0 -90
- package/projects/tgo-canopy-ui/components/tabs/tabs.model.ts +0 -11
- package/projects/tgo-canopy-ui/components/tag/__snapshots__/tag.component.spec.ts.snap +0 -42
- package/projects/tgo-canopy-ui/components/tag/tag.component.html +0 -26
- package/projects/tgo-canopy-ui/components/tag/tag.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/tag/tag.component.scss +0 -161
- package/projects/tgo-canopy-ui/components/tag/tag.component.spec.ts +0 -193
- package/projects/tgo-canopy-ui/components/tag/tag.component.stories.ts +0 -125
- package/projects/tgo-canopy-ui/components/tag/tag.component.ts +0 -213
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.html +0 -24
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.module.ts +0 -14
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.scss +0 -202
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.spec.ts +0 -197
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.stories.ts +0 -97
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.ts +0 -179
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.html +0 -9
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.spec.ts +0 -53
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.stories.ts +0 -235
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.ts +0 -81
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.model.ts +0 -6
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.html +0 -29
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.spec.ts +0 -75
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.ts +0 -53
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.module.ts +0 -12
- package/projects/tgo-canopy-ui/directives/digits-only.directive.spec.ts +0 -121
- package/projects/tgo-canopy-ui/directives/digits-only.directive.ts +0 -42
- package/projects/tgo-canopy-ui/directives/drag-drop.directive.spec.ts +0 -84
- package/projects/tgo-canopy-ui/directives/drag-drop.directive.ts +0 -39
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.spec.ts +0 -57
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.ts +0 -27
- package/projects/tgo-canopy-ui/directives/select-text.directive.spec.ts +0 -54
- package/projects/tgo-canopy-ui/directives/select-text.directive.ts +0 -37
- package/projects/tgo-canopy-ui/directives/step-line-width.directive.spec.ts +0 -59
- package/projects/tgo-canopy-ui/directives/step-line-width.directive.ts +0 -31
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.html +0 -4
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.scss +0 -318
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.spec.ts +0 -47
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.ts +0 -22
- package/projects/tgo-canopy-ui/foundations/colors/colors.stories.ts +0 -426
- package/projects/tgo-canopy-ui/foundations/typography/typography.stories.ts +0 -195
- package/projects/tgo-canopy-ui/mocked-assets/images/some_progress.svg +0 -4
- package/projects/tgo-canopy-ui/models/colors.model.ts +0 -88
- package/projects/tgo-canopy-ui/models/screen-breakpoints.model.ts +0 -4
- package/projects/tgo-canopy-ui/pipes/data-property-getter.spec.ts +0 -42
- package/projects/tgo-canopy-ui/pipes/data-property-getter.ts +0 -31
- package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.spec.ts +0 -32
- package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.ts +0 -20
- package/projects/tgo-canopy-ui/pipes/name-initials.pipe.spec.ts +0 -44
- package/projects/tgo-canopy-ui/pipes/name-initials.pipe.ts +0 -18
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.spec.ts +0 -45
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.ts +0 -71
- package/projects/tgo-canopy-ui/polyfills.ts +0 -51
- package/projects/tgo-canopy-ui/providers/is-mobile.ts +0 -11
- package/projects/tgo-canopy-ui/public-api.ts +0 -184
- package/projects/tgo-canopy-ui/services/custom-event-manager.service.spec.ts +0 -57
- package/projects/tgo-canopy-ui/services/custom-event-manager.service.ts +0 -28
- package/projects/tgo-canopy-ui/test-utils/mock-file.spec.ts +0 -44
- package/projects/tgo-canopy-ui/test-utils/mock-file.ts +0 -24
- package/projects/tgo-canopy-ui/test.ts +0 -20
- package/projects/tgo-canopy-ui/utils/alert-bars.utils.spec.ts +0 -47
- package/projects/tgo-canopy-ui/utils/alert-bars.utils.ts +0 -36
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.spec.ts +0 -68
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.ts +0 -66
- package/projects/tgo-canopy-ui/utils/color-contrast.spec.ts +0 -46
- package/projects/tgo-canopy-ui/utils/color-contrast.ts +0 -135
- package/projects/tgo-canopy-ui/utils/localization/language.model.ts +0 -14
- package/projects/tgo-canopy-ui/utils/localization/language.service.mocks.ts +0 -6
- package/projects/tgo-canopy-ui/utils/localization/language.service.spec.ts +0 -25
- package/projects/tgo-canopy-ui/utils/localization/language.service.ts +0 -32
- package/projects/tgo-canopy-ui/utils/table.utils.spec.ts +0 -47
- package/projects/tgo-canopy-ui/utils/table.utils.ts +0 -22
- package/projects/tgo-canopy-ui/utils/transform-theme.ts +0 -9
- package/projects/tgo-canopy-ui/utils/transform.theme.spec.ts +0 -16
- package/projects/tgo-canopy-ui/utils/validators.utils.spec.ts +0 -16
- package/projects/tgo-canopy-ui/utils/validators.utils.ts +0 -9
- package/setupJest.ts +0 -1
- package/transloco.config.js +0 -5
- package/tsconfig.json +0 -46
- package/tsconfig.spec.json +0 -17
- package/tsconfig.ui.json +0 -24
- package/tsconfig.ui.prod.json +0 -10
- package/visual-tests/component-page-objects/avatar-component.ts +0 -30
- package/visual-tests/component-page-objects/base-component.ts +0 -44
- package/visual-tests/component-tests/avatar.spec.ts +0 -32
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-allow-edit-for-the-avatar-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/playwright.config.ts +0 -45
- package/visual-tests/runConfig.ts +0 -1
- /package/{projects/tgo-canopy-ui/components/accordion/accordion.model.ts → components/accordion/accordion.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/alert-banner/alert-banner.model.ts → components/alert-banner/alert-banner.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/card/card.model.ts → components/card/card.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/divider/divider.model.ts → components/divider/divider.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/empty-state/empty-state.model.ts → components/empty-state/empty-state.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/snackbar/snackbar.model.ts → components/snackbar/snackbar.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/spinner/spinner.model.ts → components/spinner/spinner.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/tag/tag.model.ts → components/tag/tag.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/toggle/toggle.model.ts → components/toggle/toggle.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/validation-error/validation-error.model.ts → components/validation-error/validation-error.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/models/application-theme.model.ts → models/application-theme.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/utils/alert-bar.model.ts → utils/alert-bar.model.d.ts} +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AutocompleteComponent } from './autocomplete.component';
|
|
4
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
5
|
+
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
6
|
+
import { MatInputModule } from '@angular/material/input';
|
|
7
|
+
import { FormsModule } from '@angular/forms';
|
|
8
|
+
import { TagComponentModule } from '../tag/tag.component.module';
|
|
9
|
+
import { MatChipsModule } from '@angular/material/chips';
|
|
10
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
11
|
+
import { TransformItemPipe } from './transform-Item.pipe';
|
|
12
|
+
import { IncludesPipe } from './includes.pipe';
|
|
13
|
+
import { SelectTextDirective } from '../../directives/select-text.directive';
|
|
14
|
+
import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
|
|
15
|
+
import { ValidationErrorModule } from '../validation-error/validation-error.module';
|
|
16
|
+
import { HasValidationErrorPipe } from '../../pipes/has-validation-error.pipe';
|
|
17
|
+
import { CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
export class AutocompleteComponentModule {
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutocompleteComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
21
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AutocompleteComponentModule, declarations: [AutocompleteComponent, TransformItemPipe, IncludesPipe, SelectTextDirective], imports: [CommonModule,
|
|
22
|
+
MatFormFieldModule,
|
|
23
|
+
MatAutocompleteModule,
|
|
24
|
+
MatInputModule,
|
|
25
|
+
FormsModule,
|
|
26
|
+
TagComponentModule,
|
|
27
|
+
MatChipsModule,
|
|
28
|
+
IconComponentModule,
|
|
29
|
+
UiTranslatePipe,
|
|
30
|
+
ValidationErrorModule,
|
|
31
|
+
HasValidationErrorPipe,
|
|
32
|
+
CdkVirtualForOf,
|
|
33
|
+
CdkVirtualScrollViewport,
|
|
34
|
+
CdkFixedSizeVirtualScroll], exports: [AutocompleteComponent] }); }
|
|
35
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutocompleteComponentModule, providers: [TransformItemPipe, IncludesPipe, SelectTextDirective], imports: [CommonModule,
|
|
36
|
+
MatFormFieldModule,
|
|
37
|
+
MatAutocompleteModule,
|
|
38
|
+
MatInputModule,
|
|
39
|
+
FormsModule,
|
|
40
|
+
TagComponentModule,
|
|
41
|
+
MatChipsModule,
|
|
42
|
+
IconComponentModule,
|
|
43
|
+
ValidationErrorModule,
|
|
44
|
+
CdkVirtualScrollViewport] }); }
|
|
45
|
+
}
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AutocompleteComponentModule, decorators: [{
|
|
47
|
+
type: NgModule,
|
|
48
|
+
args: [{
|
|
49
|
+
declarations: [AutocompleteComponent, TransformItemPipe, IncludesPipe, SelectTextDirective],
|
|
50
|
+
imports: [
|
|
51
|
+
CommonModule,
|
|
52
|
+
MatFormFieldModule,
|
|
53
|
+
MatAutocompleteModule,
|
|
54
|
+
MatInputModule,
|
|
55
|
+
FormsModule,
|
|
56
|
+
TagComponentModule,
|
|
57
|
+
MatChipsModule,
|
|
58
|
+
IconComponentModule,
|
|
59
|
+
UiTranslatePipe,
|
|
60
|
+
ValidationErrorModule,
|
|
61
|
+
HasValidationErrorPipe,
|
|
62
|
+
CdkVirtualForOf,
|
|
63
|
+
CdkVirtualScrollViewport,
|
|
64
|
+
CdkFixedSizeVirtualScroll,
|
|
65
|
+
],
|
|
66
|
+
exports: [AutocompleteComponent],
|
|
67
|
+
providers: [TransformItemPipe, IncludesPipe, SelectTextDirective],
|
|
68
|
+
}]
|
|
69
|
+
}] });
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvYXV0b2NvbXBsZXRlL2F1dG9jb21wbGV0ZS5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTy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Zvck9mLFxuICAgIENka1ZpcnR1YWxTY3JvbGxWaWV3cG9ydCxcbiAgICBDZGtGaXhlZFNpemVWaXJ0dWFsU2Nyb2xsLFxuICBdLFxuICBleHBvcnRzOiBbQXV0b2NvbXBsZXRlQ29tcG9uZW50XSxcbiAgcHJvdmlkZXJzOiBbVHJhbnNmb3JtSXRlbVBpcGUsIEluY2x1ZGVzUGlwZSwgU2VsZWN0VGV4dERpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIEF1dG9jb21wbGV0ZUNvbXBvbmVudE1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export var Autocomplete;
|
|
2
|
+
(function (Autocomplete) {
|
|
3
|
+
Autocomplete["SINGLE"] = "single";
|
|
4
|
+
Autocomplete["MULTI"] = "multi";
|
|
5
|
+
Autocomplete["LARGE"] = "large";
|
|
6
|
+
})(Autocomplete || (Autocomplete = {}));
|
|
7
|
+
export var Padding;
|
|
8
|
+
(function (Padding) {
|
|
9
|
+
Padding[Padding["AUTOCOMPLETE_CONTAINER"] = 40] = "AUTOCOMPLETE_CONTAINER";
|
|
10
|
+
Padding[Padding["DROPDOWN_CONTAINER"] = 60] = "DROPDOWN_CONTAINER";
|
|
11
|
+
})(Padding || (Padding = {}));
|
|
12
|
+
export var Timeout;
|
|
13
|
+
(function (Timeout) {
|
|
14
|
+
Timeout[Timeout["VIEW_INITIALIZED_AFTER_ACTION"] = 150] = "VIEW_INITIALIZED_AFTER_ACTION";
|
|
15
|
+
Timeout[Timeout["VIEW_INITIALIZED_COMPONENT_LOAD"] = 600] = "VIEW_INITIALIZED_COMPONENT_LOAD";
|
|
16
|
+
})(Timeout || (Timeout = {}));
|
|
17
|
+
export var DropdownVariation;
|
|
18
|
+
(function (DropdownVariation) {
|
|
19
|
+
DropdownVariation["AUTOCOMPLETE"] = "autocomplete";
|
|
20
|
+
DropdownVariation["DROPDOWN"] = "dropdown";
|
|
21
|
+
})(DropdownVariation || (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GUge1xuICBTSU5HTEUgPSAnc2luZ2xlJyxcbiAgTVVMVEkgPSAnbXVsdGknLFxuICBMQVJHRSA9ICdsYXJnZScsXG59XG5cbmV4cG9ydCBlbnVtIFBhZGRpbmcge1xuICBBVVRPQ09NUExFVEVfQ09OVEFJTkVSID0gNDAsXG4gIERST1BET1dOX0NPTlRBSU5FUiA9IDYwLFxufVxuXG5leHBvcnQgZW51bSBUaW1lb3V0IHtcbiAgVklFV19JTklUSUFMSVpFRF9BRlRFUl9BQ1RJT04gPSAxNTAsXG4gIFZJRVdfSU5JVElBTElaRURfQ09NUE9ORU5UX0xPQUQgPSA2MDAsXG59XG5cbmV4cG9ydCBlbnVtIERyb3Bkb3duVmFyaWF0aW9uIHtcbiAgQVVUT0NPTVBMRVRFID0gJ2F1dG9jb21wbGV0ZScsXG4gIERST1BET1dOID0gJ2Ryb3Bkb3duJyxcbn1cbiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* The purpose of this pipe is to determine if the value is present in the values array.
|
|
5
|
+
* If values is an array, the method uses the includes method to check for inclusion.
|
|
6
|
+
* If values is not an array, it checks for strict equality between value and values.
|
|
7
|
+
*/
|
|
8
|
+
export class IncludesPipe {
|
|
9
|
+
transform(value, values) {
|
|
10
|
+
return Array.isArray(values) ? values.includes(value) : value === values;
|
|
11
|
+
}
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IncludesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
13
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IncludesPipe, name: "includes" }); }
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0,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hlIG1ldGhvZCB1c2VzIHRoZSBpbmNsdWRlcyBtZXRob2QgdG8gY2hlY2sgZm9yIGluY2x1c2lvbi5cbiAqIElmIHZhbHVlcyBpcyBub3QgYW4gYXJyYXksIGl0IGNoZWNrcyBmb3Igc3RyaWN0IGVxdWFsaXR5IGJldHdlZW4gdmFsdWUgYW5kIHZhbHVlcy5cbiAqL1xuQFBpcGUoe1xuICBuYW1lOiAnaW5jbHVkZXMnLFxufSlcbmV4cG9ydCBjbGFzcyBJbmNsdWRlc1BpcGUgaW1wbGVtZW50cyBQaXBlVHJhbnNmb3JtIHtcbiAgdHJhbnNmb3JtKHZhbHVlOiBhbnksIHZhbHVlczogYW55KTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIEFycmF5LmlzQXJyYXkodmFsdWVzKSA/IHZhbHVlcy5pbmNsdWRlcyh2YWx1ZSkgOiB2YWx1ZSA9PT0gdmFsdWVzO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import { AutocompleteUtils } from '../../utils/autocomplete-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* the TransformItemPipe is designed to selectively extract and return values from objects based on a specified field,
|
|
6
|
+
* providing a way to transform and display data a template.
|
|
7
|
+
*/
|
|
8
|
+
export class TransformItemPipe {
|
|
9
|
+
transform(value, field) {
|
|
10
|
+
if (AutocompleteUtils.isPrimitive(value)) {
|
|
11
|
+
return value;
|
|
12
|
+
}
|
|
13
|
+
else if (!AutocompleteUtils.isPrimitive(value) && field && (value[field] || value[0][field])) {
|
|
14
|
+
return value[field] || value[0][field];
|
|
15
|
+
}
|
|
16
|
+
else {
|
|
17
|
+
AutocompleteUtils.throwInvalidSetupError();
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TransformItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
21
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TransformItemPipe, name: "transformItem" }); }
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TransformItemPipe, decorators: [{
|
|
24
|
+
type: Pipe,
|
|
25
|
+
args: [{
|
|
26
|
+
name: 'transformItem',
|
|
27
|
+
}]
|
|
28
|
+
}] });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmb3JtLUl0ZW0ucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9hdXRvY29tcGxldGUvdHJhbnNmb3JtLUl0ZW0ucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQzs7QUFFbkU7OztHQUdHO0FBSUgsTUFBTSxPQUFPLGlCQUFpQjtJQUM1QixTQUFTLENBQUMsS0FBVSxFQUFFLEtBQWE7UUFDakMsSUFBSSxpQkFBaUIsQ0FBQyxXQUFXLENBQUMsS0FBSyxDQUFDLEVBQUU7WUFDeEMsT0FBTyxLQUFLLENBQUM7U0FDZDthQUFNLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxXQUFXLENBQUMsS0FBSyxDQUFDLElBQUksS0FBSyxJQUFJLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxJQUFJLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLENB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gICB9IGVsc2UgaWYgKCFBdXRvY29tcGxldGVVdGlscy5pc1ByaW1pdGl2ZSh2YWx1ZSkgJiYgZmllbGQgJiYgKHZhbHVlW2ZpZWxkXSB8fCB2YWx1ZVswXVtmaWVsZF0pKSB7XG4gICAgICByZXR1cm4gdmFsdWVbZmllbGRdIHx8IHZhbHVlWzBdW2ZpZWxkXTtcbiAgICB9IGVsc2Uge1xuICAgICAgQXV0b2NvbXBsZXRlVXRpbHMudGhyb3dJbnZhbGlkU2V0dXBFcnJvcigpO1xuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';
|
|
2
|
+
import { AvatarSize, iconSize } from './avatar.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../icon/icon.component";
|
|
6
|
+
import * as i3 from "../button/button.component";
|
|
7
|
+
import * as i4 from "../../pipes/name-initials.pipe";
|
|
8
|
+
export class AvatarComponent {
|
|
9
|
+
constructor(defaultAppTheme) {
|
|
10
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
11
|
+
/**
|
|
12
|
+
* Input property for specifying the size of the avatar.
|
|
13
|
+
* @type {AvatarSize}
|
|
14
|
+
* @default AvatarSize.SMALL
|
|
15
|
+
* @memberof AvatarComponent
|
|
16
|
+
*/
|
|
17
|
+
this.size = AvatarSize.SMALL;
|
|
18
|
+
/**
|
|
19
|
+
* Input property for specifying the URL of the image to display in the avatar.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AvatarComponent
|
|
22
|
+
*/
|
|
23
|
+
this.imageUrl = '';
|
|
24
|
+
/**
|
|
25
|
+
* Input property for specifying the initials to display in the avatar.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AvatarComponent
|
|
28
|
+
*/
|
|
29
|
+
this.name = '';
|
|
30
|
+
/**
|
|
31
|
+
* Input property for specifying the tooltip text for edit.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AvatarComponent
|
|
34
|
+
*/
|
|
35
|
+
this.tooltipText = '';
|
|
36
|
+
/**
|
|
37
|
+
* Input property that makes avatar editable.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof AvatarComponent
|
|
40
|
+
*/
|
|
41
|
+
this.allowEdit = false;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* Defines the application theme where
|
|
45
|
+
*
|
|
46
|
+
* @type {ApplicationTheme}
|
|
47
|
+
* @memberof AvatarComponent
|
|
48
|
+
*/
|
|
49
|
+
this.applicationTheme = 'light';
|
|
50
|
+
/**
|
|
51
|
+
* Event emitted when the edit button is clicked.
|
|
52
|
+
* @type {Event}
|
|
53
|
+
* @memberof AvatarComponent
|
|
54
|
+
*/
|
|
55
|
+
this.editClick = new EventEmitter();
|
|
56
|
+
this.iconSize = iconSize;
|
|
57
|
+
this.avatarSize = AvatarSize;
|
|
58
|
+
if (defaultAppTheme) {
|
|
59
|
+
this.applicationTheme = defaultAppTheme;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
onEditClick(event) {
|
|
63
|
+
this.editClick.emit(event);
|
|
64
|
+
}
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AvatarComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AvatarComponent, selector: "ui-avatar", inputs: { size: "size", imageUrl: "imageUrl", name: "name", tooltipText: "tooltipText", allowEdit: "allowEdit", applicationTheme: "applicationTheme" }, outputs: { editClick: "editClick" }, ngImport: i0, template: "<div\n class=\"avatar-container\"\n [attr.type]=\"!imageUrl && !name ? 'icon' : 'initials'\"\n [ngClass]=\"[size]\"\n [attr.theme]=\"applicationTheme\"\n>\n <span *ngIf=\"name && !imageUrl\">\n {{ name | nameInitials }}\n </span>\n <img *ngIf=\"imageUrl\" [attr.src]=\"imageUrl\" [alt]=\"'profile-image'\">\n <ui-icon [color]=\"applicationTheme === 'classic' ? 'dark' : 'rebrand-black'\" [applicationTheme]=\"applicationTheme\" [size]=\"iconSize[size]\" *ngIf=\"!imageUrl && !name\" [name]=\"'User-profile'\"></ui-icon>\n <div class=\"edit-avatar\" *ngIf=\"size === avatarSize.LARGE && allowEdit\">\n <ui-button\n [applicationTheme]=\"applicationTheme\"\n [companyColor]=\"'black'\"\n [size]=\"'small'\"\n [iconName]=\"'Edit'\"\n [variant]=\"'icon-button'\"\n [tooltip]=\"tooltipText\"\n (buttonClickEvent)=\"onEditClick($event)\"\n ></ui-button>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host .clickable{cursor:pointer}:host .non-clickable{pointer-events:none}:host .avatar-container{font-family:Open Sans,sans-serif;font-weight:400;display:flex;justify-content:center;align-items:center;border-radius:100%;background:#cbd6cb;position:relative;-webkit-user-select:none;user-select:none}:host .avatar-container[type=icon]{background:#e0e0e0}:host .avatar-container img{width:100%;height:100%;object-fit:cover;border-radius:100%}:host .avatar-container.small{width:24px;height:24px;font-size:10px}:host .avatar-container.medium{width:48px;height:48px;font-size:20px}:host .avatar-container.large{width:120px;height:120px;font-size:50px;letter-spacing:-2}:host .avatar-container .edit-avatar{display:flex;justify-content:center;align-items:center;position:absolute;right:0;bottom:0;background:#f6f6f6;width:32px;height:32px;border-radius:100%}:host .avatar-container[theme=dark],:host .avatar-container[theme=light]{background:#e9e9e9;color:#242424}:host .avatar-container[theme=dark] .edit-avatar,:host .avatar-container[theme=light] .edit-avatar{box-shadow:0 4px 16px #24242414;background:#fff}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme"] }, { kind: "component", type: i3.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "pipe", type: i4.NameInitialsPipe, name: "nameInitials" }] }); }
|
|
67
|
+
}
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{ selector: 'ui-avatar', template: "<div\n class=\"avatar-container\"\n [attr.type]=\"!imageUrl && !name ? 'icon' : 'initials'\"\n [ngClass]=\"[size]\"\n [attr.theme]=\"applicationTheme\"\n>\n <span *ngIf=\"name && !imageUrl\">\n {{ name | nameInitials }}\n </span>\n <img *ngIf=\"imageUrl\" [attr.src]=\"imageUrl\" [alt]=\"'profile-image'\">\n <ui-icon [color]=\"applicationTheme === 'classic' ? 'dark' : 'rebrand-black'\" [applicationTheme]=\"applicationTheme\" [size]=\"iconSize[size]\" *ngIf=\"!imageUrl && !name\" [name]=\"'User-profile'\"></ui-icon>\n <div class=\"edit-avatar\" *ngIf=\"size === avatarSize.LARGE && allowEdit\">\n <ui-button\n [applicationTheme]=\"applicationTheme\"\n [companyColor]=\"'black'\"\n [size]=\"'small'\"\n [iconName]=\"'Edit'\"\n [variant]=\"'icon-button'\"\n [tooltip]=\"tooltipText\"\n (buttonClickEvent)=\"onEditClick($event)\"\n ></ui-button>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host .clickable{cursor:pointer}:host .non-clickable{pointer-events:none}:host .avatar-container{font-family:Open Sans,sans-serif;font-weight:400;display:flex;justify-content:center;align-items:center;border-radius:100%;background:#cbd6cb;position:relative;-webkit-user-select:none;user-select:none}:host .avatar-container[type=icon]{background:#e0e0e0}:host .avatar-container img{width:100%;height:100%;object-fit:cover;border-radius:100%}:host .avatar-container.small{width:24px;height:24px;font-size:10px}:host .avatar-container.medium{width:48px;height:48px;font-size:20px}:host .avatar-container.large{width:120px;height:120px;font-size:50px;letter-spacing:-2}:host .avatar-container .edit-avatar{display:flex;justify-content:center;align-items:center;position:absolute;right:0;bottom:0;background:#f6f6f6;width:32px;height:32px;border-radius:100%}:host .avatar-container[theme=dark],:host .avatar-container[theme=light]{background:#e9e9e9;color:#242424}:host .avatar-container[theme=dark] .edit-avatar,:host .avatar-container[theme=light] .edit-avatar{box-shadow:0 4px 16px #24242414;background:#fff}\n"] }]
|
|
71
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
72
|
+
type: Optional
|
|
73
|
+
}, {
|
|
74
|
+
type: Inject,
|
|
75
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
76
|
+
}] }]; }, propDecorators: { size: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], imageUrl: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], name: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], tooltipText: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], allowEdit: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], applicationTheme: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], editClick: [{
|
|
89
|
+
type: Output
|
|
90
|
+
}] } });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXB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J1wiXG4gICAgICBbdmFyaWFudF09XCInaWNvbi1idXR0b24nXCJcbiAgICAgIFt0b29sdGlwXT1cInRvb2x0aXBUZXh0XCJcbiAgICAgIChidXR0b25DbGlja0V2ZW50KT1cIm9uRWRpdENsaWNrKCRldmVudClcIlxuICAgID48L3VpLWJ1dHRvbj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AvatarComponent } from './avatar.component';
|
|
4
|
+
import { NameInitialsPipe } from '../../pipes/name-initials.pipe';
|
|
5
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
6
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
7
|
+
import { ButtonComponentModule } from '../button/button.component.module';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export class AvatarComponentModule {
|
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AvatarComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AvatarComponentModule, declarations: [AvatarComponent, NameInitialsPipe], imports: [CommonModule, IconComponentModule, MatTooltipModule, ButtonComponentModule], exports: [AvatarComponent] }); }
|
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AvatarComponentModule, imports: [CommonModule, IconComponentModule, MatTooltipModule, ButtonComponentModule] }); }
|
|
13
|
+
}
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AvatarComponentModule, decorators: [{
|
|
15
|
+
type: NgModule,
|
|
16
|
+
args: [{
|
|
17
|
+
declarations: [AvatarComponent, NameInitialsPipe],
|
|
18
|
+
imports: [CommonModule, IconComponentModule, MatTooltipModule, ButtonComponentModule],
|
|
19
|
+
exports: [AvatarComponent],
|
|
20
|
+
}]
|
|
21
|
+
}] });
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvYXZhdGFyL2F2YXRhci5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQztBQUNsRSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUNwRSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUM3RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQzs7QUFPMUUsTUFBTSxPQUFPLHFCQUFxQjsrR0FBckIscUJBQXFCO2dIQUFyQixxQkFBcUIsaUJBSmpCLGVBQWUsRUFBRSxnQkFBZ0IsYUFDdEMsWUFBWSxFQUFFLG1CQUFtQixFQUFFLGdCQUFnQixFQUFFLHFCQUFxQixhQUMxRSxlQUFlO2dIQUVkLHFCQUFxQixZQUh0QixZQUFZLEVBQUUsbUJBQW1CLEVBQUUsZ0JBQWdCLEV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b3J0czogW0F2YXRhckNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEF2YXRhckNvbXBvbmVudE1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var AvatarSize;
|
|
2
|
+
(function (AvatarSize) {
|
|
3
|
+
AvatarSize["SMALL"] = "small";
|
|
4
|
+
AvatarSize["MEDIUM"] = "medium";
|
|
5
|
+
AvatarSize["LARGE"] = "large";
|
|
6
|
+
})(AvatarSize || (AvatarSize = {}));
|
|
7
|
+
export const iconSize = {
|
|
8
|
+
small: '16',
|
|
9
|
+
medium: '24',
|
|
10
|
+
large: '80',
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFOLElBQVksVUFJWDtBQUpELFdBQVksVUFBVTtJQUNwQiw2QkFBZSxDQUFBO0lBQ2YsK0JBQWlCLENBQUE7SUFDakIsNkJBQWUsQ0FBQTtBQUNqQixDQUFDLEVBSlcsVUFBVSxLQUFWLFVBQVUsUUFJckI7QUFFRCxNQUFNLENBQUMsTUFBTSxRQUFRLEdBQTZCO0lBQ2hELEtBQUssRUFBRSxJQUFJO0lBQ1gsTUFBTSxFQUFFLElBQUk7SUFDWixLQUFLLEVBQUUsSUFBSTtDQUNaLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJY29uU2l6ZSB9IGZyb20gJy4uL2ljb24vaWNvbi5tb2RlbCc7XG5cbmV4cG9ydCBlbnVtIEF2YXRhclNpemUge1xuICBTTUFMTCA9ICdzbWFsbCcsXG4gIE1FRElVTSA9ICdtZWRpdW0nLFxuICBMQVJHRSA9ICdsYXJnZScsXG59XG5cbmV4cG9ydCBjb25zdCBpY29uU2l6ZTogUmVjb3JkPHN0cmluZywgSWNvblNpemU+ID0ge1xuICBzbWFsbDogJzE2JyxcbiAgbWVkaXVtOiAnMjQnLFxuICBsYXJnZTogJzgwJyxcbn07XG4iXX0=
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Component, Inject, Input, Optional } from '@angular/core';
|
|
2
|
+
import { BadgeColorEnum, BadgeVariantEnum, RebrandBadgeColorEnum, } from './badge.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../icon/icon.component";
|
|
6
|
+
export class BadgeComponent {
|
|
7
|
+
constructor(defaultAppTheme) {
|
|
8
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
9
|
+
/**
|
|
10
|
+
* The label to be displayed on the badge.
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @memberof BadgeComponent
|
|
13
|
+
*/
|
|
14
|
+
this.label = '';
|
|
15
|
+
/**
|
|
16
|
+
* The icon name to be displayed on the badge.
|
|
17
|
+
* @type {IconName}
|
|
18
|
+
* @memberof BadgeComponent
|
|
19
|
+
*/
|
|
20
|
+
this.icon = '';
|
|
21
|
+
/**
|
|
22
|
+
* The color of the badge. Defaults to 'petrol'.
|
|
23
|
+
* @type {BadgeColor}
|
|
24
|
+
* @memberof BadgeComponent
|
|
25
|
+
*/
|
|
26
|
+
this.color = 'petrol';
|
|
27
|
+
/**
|
|
28
|
+
* The variant of the badge. Defaults to 'primary'.
|
|
29
|
+
* @type {BadgeVariant}
|
|
30
|
+
* @memberof BadgeComponent
|
|
31
|
+
*/
|
|
32
|
+
this.variant = 'primary';
|
|
33
|
+
/**
|
|
34
|
+
* The amount of notifications to be displayed on the badge.
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof BadgeComponent
|
|
37
|
+
*/
|
|
38
|
+
this.notificationsAmount = 0;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* Defines the application theme
|
|
42
|
+
*
|
|
43
|
+
* @type {ApplicationTheme}
|
|
44
|
+
* @memberof BadgeComponent
|
|
45
|
+
*/
|
|
46
|
+
this.applicationTheme = 'light';
|
|
47
|
+
/**
|
|
48
|
+
* The color of the badge on new theme. Defaults to 'brand'.
|
|
49
|
+
* @type {RebrandBadgeColor}
|
|
50
|
+
* @memberof BadgeComponent
|
|
51
|
+
*/
|
|
52
|
+
this.rebrandColor = 'brand';
|
|
53
|
+
this.badgeVariant = BadgeVariantEnum;
|
|
54
|
+
this.darkColors = [
|
|
55
|
+
BadgeColorEnum.GREY_MEDIUM,
|
|
56
|
+
BadgeColorEnum.PETROL_90W,
|
|
57
|
+
BadgeColorEnum.TEAL_60W,
|
|
58
|
+
BadgeColorEnum.PETROL_60W,
|
|
59
|
+
RebrandBadgeColorEnum.SUCCESS,
|
|
60
|
+
RebrandBadgeColorEnum.INFO,
|
|
61
|
+
RebrandBadgeColorEnum.BRAND,
|
|
62
|
+
RebrandBadgeColorEnum.NEUTRAL,
|
|
63
|
+
RebrandBadgeColorEnum.NEGATIVE,
|
|
64
|
+
RebrandBadgeColorEnum.WARNING,
|
|
65
|
+
];
|
|
66
|
+
if (defaultAppTheme) {
|
|
67
|
+
this.applicationTheme = defaultAppTheme;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
get iconColor() {
|
|
71
|
+
return this.darkColors.includes(this.isClassicTheme ? this.color : this.rebrandColor) ? 'black' : 'white';
|
|
72
|
+
}
|
|
73
|
+
get isClassicTheme() {
|
|
74
|
+
return this.applicationTheme === 'classic';
|
|
75
|
+
}
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BadgeComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BadgeComponent, selector: "ui-badge", inputs: { label: "label", icon: "icon", color: "color", variant: "variant", notificationsAmount: "notificationsAmount", applicationTheme: "applicationTheme", rebrandColor: "rebrandColor" }, ngImport: i0, template: "<div [class]=\"'badge-container-' + variant\" [attr.theme]=\"applicationTheme\" [attr.color]=\"isClassicTheme ? color : rebrandColor\">\n <ng-container [ngSwitch]=\"variant\">\n <ng-container *ngSwitchCase=\"badgeVariant.PRIMARY\">\n <ui-icon *ngIf=\"icon\" class=\"badge-icon\" [name]=\"icon\" [color]=\"iconColor\" ></ui-icon>\n </ng-container>\n <div *ngSwitchCase=\"badgeVariant.SECONDARY\" class=\"point\" [attr.color]=\"isClassicTheme ? color : rebrandColor\"></div>\n <div *ngSwitchCase=\"badgeVariant.NOTIFICATION\" class=\"number-notification\">{{ notificationsAmount }}</div>\n </ng-container>\n <div class=\"label\" *ngIf=\"label && variant !== badgeVariant.NOTIFICATION\">{{ label }}</div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{display:block;width:-moz-fit-content;width:fit-content}:host .badge-container-primary,:host .badge-container-secondary{height:24px;padding:0 8px;border-radius:21px;color:#fff;line-height:10px}:host .badge-container-primary .label,:host .badge-container-secondary .label{font-size:12px}:host .badge-container-primary .badge-icon,:host .badge-container-secondary .badge-icon{margin-right:8px}:host .badge-container-secondary .point{border-radius:50%;width:8px;height:8px;margin-right:8px}:host .badge-container-secondary .label{color:#000!important}:host .badge-container-secondary[theme=dark],:host .badge-container-secondary[theme=light]{color:#242424}:host .badge-container-notification{width:20px;height:20px;border-radius:50%;color:#fff;line-height:10px}:host .badge-container-notification .label{font-size:12px}:host .badge-container-notification[theme=dark],:host .badge-container-notification[theme=light]{background:#242424!important;color:#fff!important;border-color:1px solid #ffffff}.flex-center,:host .badge-container-primary,:host .badge-container-secondary,:host .badge-container-notification{display:flex;align-items:center;justify-content:center}.background-colors[color=red],:host [color=red].badge-container-primary,:host .badge-container-secondary [color=red].point,:host [color=red].badge-container-notification{background:#cb7b7a}.background-colors[color=grey-medium],:host [color=grey-medium].badge-container-primary,:host .badge-container-secondary [color=grey-medium].point,:host [color=grey-medium].badge-container-notification{background:#e0e0e0;color:#000}.background-colors[color=teal],:host [color=teal].badge-container-primary,:host .badge-container-secondary [color=teal].point,:host [color=teal].badge-container-notification{background:#46a997}.background-colors[color=yellow],:host [color=yellow].badge-container-primary,:host .badge-container-secondary [color=yellow].point,:host [color=yellow].badge-container-notification{background:#cca45f}.background-colors[color=petrol],:host [color=petrol].badge-container-primary,:host .badge-container-secondary [color=petrol].point,:host [color=petrol].badge-container-notification{background:#276678}.background-colors[color=teal-60w],:host [color=teal-60w].badge-container-primary,:host .badge-container-secondary [color=teal-60w].point,:host [color=teal-60w].badge-container-notification{background:#b5ddd5;color:#000}.background-colors[color=petrol-90w],:host [color=petrol-90w].badge-container-primary,:host .badge-container-secondary [color=petrol-90w].point,:host [color=petrol-90w].badge-container-notification{background:#e9f0f1;color:#000}.background-colors[color=petrol-60w],:host [color=petrol-60w].badge-container-primary,:host .badge-container-secondary [color=petrol-60w].point,:host [color=petrol-60w].badge-container-notification{background:#a9c2c9;color:#000}.background-colors[color=grey-dark],:host [color=grey-dark].badge-container-primary,:host .badge-container-secondary [color=grey-dark].point,:host [color=grey-dark].badge-container-notification{background:#888}.background-colors[color=success],:host [color=success].badge-container-primary,:host .badge-container-secondary [color=success].point,:host [color=success].badge-container-notification{background:#e2f4b3;color:#242424}.background-colors[color=warning],:host [color=warning].badge-container-primary,:host .badge-container-secondary [color=warning].point,:host [color=warning].badge-container-notification{background:#ffe1b3;color:#242424}.background-colors[color=negative],:host [color=negative].badge-container-primary,:host .badge-container-secondary [color=negative].point,:host [color=negative].badge-container-notification{background:#ffac9a;color:#242424}.background-colors[color=info],:host [color=info].badge-container-primary,:host .badge-container-secondary [color=info].point,:host [color=info].badge-container-notification{background:#d9e8ff;color:#242424}.background-colors[color=brand],:host [color=brand].badge-container-primary,:host .badge-container-secondary [color=brand].point,:host [color=brand].badge-container-notification{background:#ffe6fa;color:#242424}.background-colors[color=neutral],:host [color=neutral].badge-container-primary,:host .badge-container-secondary [color=neutral].point,:host [color=neutral].badge-container-notification{background:#e9e9e9;color:#242424}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme"] }] }); }
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: 'ui-badge', template: "<div [class]=\"'badge-container-' + variant\" [attr.theme]=\"applicationTheme\" [attr.color]=\"isClassicTheme ? color : rebrandColor\">\n <ng-container [ngSwitch]=\"variant\">\n <ng-container *ngSwitchCase=\"badgeVariant.PRIMARY\">\n <ui-icon *ngIf=\"icon\" class=\"badge-icon\" [name]=\"icon\" [color]=\"iconColor\" ></ui-icon>\n </ng-container>\n <div *ngSwitchCase=\"badgeVariant.SECONDARY\" class=\"point\" [attr.color]=\"isClassicTheme ? color : rebrandColor\"></div>\n <div *ngSwitchCase=\"badgeVariant.NOTIFICATION\" class=\"number-notification\">{{ notificationsAmount }}</div>\n </ng-container>\n <div class=\"label\" *ngIf=\"label && variant !== badgeVariant.NOTIFICATION\">{{ label }}</div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{display:block;width:-moz-fit-content;width:fit-content}:host .badge-container-primary,:host .badge-container-secondary{height:24px;padding:0 8px;border-radius:21px;color:#fff;line-height:10px}:host .badge-container-primary .label,:host .badge-container-secondary .label{font-size:12px}:host .badge-container-primary .badge-icon,:host .badge-container-secondary .badge-icon{margin-right:8px}:host .badge-container-secondary .point{border-radius:50%;width:8px;height:8px;margin-right:8px}:host .badge-container-secondary .label{color:#000!important}:host .badge-container-secondary[theme=dark],:host .badge-container-secondary[theme=light]{color:#242424}:host .badge-container-notification{width:20px;height:20px;border-radius:50%;color:#fff;line-height:10px}:host .badge-container-notification .label{font-size:12px}:host .badge-container-notification[theme=dark],:host .badge-container-notification[theme=light]{background:#242424!important;color:#fff!important;border-color:1px solid #ffffff}.flex-center,:host .badge-container-primary,:host .badge-container-secondary,:host .badge-container-notification{display:flex;align-items:center;justify-content:center}.background-colors[color=red],:host [color=red].badge-container-primary,:host .badge-container-secondary [color=red].point,:host [color=red].badge-container-notification{background:#cb7b7a}.background-colors[color=grey-medium],:host [color=grey-medium].badge-container-primary,:host .badge-container-secondary [color=grey-medium].point,:host [color=grey-medium].badge-container-notification{background:#e0e0e0;color:#000}.background-colors[color=teal],:host [color=teal].badge-container-primary,:host .badge-container-secondary [color=teal].point,:host [color=teal].badge-container-notification{background:#46a997}.background-colors[color=yellow],:host [color=yellow].badge-container-primary,:host .badge-container-secondary [color=yellow].point,:host [color=yellow].badge-container-notification{background:#cca45f}.background-colors[color=petrol],:host [color=petrol].badge-container-primary,:host .badge-container-secondary [color=petrol].point,:host [color=petrol].badge-container-notification{background:#276678}.background-colors[color=teal-60w],:host [color=teal-60w].badge-container-primary,:host .badge-container-secondary [color=teal-60w].point,:host [color=teal-60w].badge-container-notification{background:#b5ddd5;color:#000}.background-colors[color=petrol-90w],:host [color=petrol-90w].badge-container-primary,:host .badge-container-secondary [color=petrol-90w].point,:host [color=petrol-90w].badge-container-notification{background:#e9f0f1;color:#000}.background-colors[color=petrol-60w],:host [color=petrol-60w].badge-container-primary,:host .badge-container-secondary [color=petrol-60w].point,:host [color=petrol-60w].badge-container-notification{background:#a9c2c9;color:#000}.background-colors[color=grey-dark],:host [color=grey-dark].badge-container-primary,:host .badge-container-secondary [color=grey-dark].point,:host [color=grey-dark].badge-container-notification{background:#888}.background-colors[color=success],:host [color=success].badge-container-primary,:host .badge-container-secondary [color=success].point,:host [color=success].badge-container-notification{background:#e2f4b3;color:#242424}.background-colors[color=warning],:host [color=warning].badge-container-primary,:host .badge-container-secondary [color=warning].point,:host [color=warning].badge-container-notification{background:#ffe1b3;color:#242424}.background-colors[color=negative],:host [color=negative].badge-container-primary,:host .badge-container-secondary [color=negative].point,:host [color=negative].badge-container-notification{background:#ffac9a;color:#242424}.background-colors[color=info],:host [color=info].badge-container-primary,:host .badge-container-secondary [color=info].point,:host [color=info].badge-container-notification{background:#d9e8ff;color:#242424}.background-colors[color=brand],:host [color=brand].badge-container-primary,:host .badge-container-secondary [color=brand].point,:host [color=brand].badge-container-notification{background:#ffe6fa;color:#242424}.background-colors[color=neutral],:host [color=neutral].badge-container-primary,:host .badge-container-secondary [color=neutral].point,:host [color=neutral].badge-container-notification{background:#e9e9e9;color:#242424}\n"] }]
|
|
82
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
83
|
+
type: Optional
|
|
84
|
+
}, {
|
|
85
|
+
type: Inject,
|
|
86
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
87
|
+
}] }]; }, propDecorators: { label: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], icon: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], color: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], variant: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], notificationsAmount: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], applicationTheme: [{
|
|
98
|
+
type: Input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yXCI+PC9kaXY+XG4gICAgPGRpdiAqbmdTd2l0Y2hDYXNlPVwiYmFkZ2VWYXJpYW50Lk5PVElGSUNBVElPTlwiIGNsYXNzPVwibnVtYmVyLW5vdGlmaWNhdGlvblwiPnt7IG5vdGlmaWNhdGlvbnNBbW91bnQgfX08L2Rpdj5cbiAgPC9uZy1jb250YWluZXI+XG4gIDxkaXYgY2xhc3M9XCJsYWJlbFwiICpuZ0lmPVwibGFiZWwgJiYgdmFyaWFudCAhPT0gYmFkZ2VWYXJpYW50Lk5PVElGSUNBVElPTlwiPnt7IGxhYmVsIH19PC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BadgeComponent } from './badge.component';
|
|
4
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class BadgeComponentModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BadgeComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: BadgeComponentModule, declarations: [BadgeComponent], imports: [CommonModule, IconComponentModule], exports: [BadgeComponent] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BadgeComponentModule, imports: [CommonModule, IconComponentModule] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BadgeComponentModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [BadgeComponent],
|
|
15
|
+
imports: [CommonMod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b20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBCYWRnZUNvbXBvbmVudCB9IGZyb20gJy4vYmFkZ2UuY29tcG9uZW50JztcbmltcG9ydCB7IEljb25Db21wb25lbnRNb2R1bGUgfSBmcm9tICcuLi9pY29uL2ljb24uY29tcG9uZW50Lm1vZHVsZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0JhZGdlQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgSWNvbkNvbXBvbmVudE1vZHVsZV0sXG4gIGV4cG9ydHM6IFtCYWRnZUNvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIEJhZGdlQ29tcG9uZW50TW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export var BadgeColorEnum;
|
|
2
|
+
(function (BadgeColorEnum) {
|
|
3
|
+
BadgeColorEnum["RED"] = "red";
|
|
4
|
+
BadgeColorEnum["GREY_MEDIUM"] = "grey-medium";
|
|
5
|
+
BadgeColorEnum["TEAL"] = "teal";
|
|
6
|
+
BadgeColorEnum["YELLOW"] = "yellow";
|
|
7
|
+
BadgeColorEnum["PETROL"] = "petrol";
|
|
8
|
+
BadgeColorEnum["TEAL_60W"] = "teal-60w";
|
|
9
|
+
BadgeColorEnum["PETROL_90W"] = "petrol-90w";
|
|
10
|
+
BadgeColorEnum["PETROL_60W"] = "petrol-60w";
|
|
11
|
+
BadgeColorEnum["GREY_DARK"] = "grey-dark";
|
|
12
|
+
})(BadgeColorEnum || (BadgeColorEnum = {}));
|
|
13
|
+
export var RebrandBadgeColorEnum;
|
|
14
|
+
(function (RebrandBadgeColorEnum) {
|
|
15
|
+
RebrandBadgeColorEnum["SUCCESS"] = "success";
|
|
16
|
+
RebrandBadgeColorEnum["WARNING"] = "warning";
|
|
17
|
+
RebrandBadgeColorEnum["NEGATIVE"] = "negative";
|
|
18
|
+
RebrandBadgeColorEnum["INFO"] = "info";
|
|
19
|
+
RebrandBadgeColorEnum["BRAND"] = "brand";
|
|
20
|
+
RebrandBadgeColorEnum["NEUTRAL"] = "neutral";
|
|
21
|
+
})(RebrandBadgeColorEnum || (RebrandBadgeColorEnum = {}));
|
|
22
|
+
export var BadgeVariantEnum;
|
|
23
|
+
(function (BadgeVariantEnum) {
|
|
24
|
+
BadgeVariantEnum["PRIMARY"] = "primary";
|
|
25
|
+
BadgeVariantEnum["SECONDARY"] = "secondary";
|
|
26
|
+
BadgeVariantEnum["NOTIFICATION"] = "notification";
|
|
27
|
+
})(BadgeVariantEnum || (BadgeVariantEnum = {}));
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvYmFkZ2UvYmFkZ2UubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWUEsTUFBTSxDQUFOLElBQVksY0FVWDtBQVZELFdBQVksY0FBYztJQUN4Qiw2QkFBVyxDQUFBO0lBQ1gsNkNBQTJCLENBQUE7SUFDM0IsK0JBQWEsQ0FBQTtJQUNiLG1DQUFpQixDQUFBO0lBQ2pCLG1DQUFpQixDQUFBO0lBQ2pCLHVDQUFxQixDQUFBO0lBQ3JCLDJDQUF5QixDQUFBO0lBQ3pCLDJDQUF5QixDQUFBO0lBQ3pCLHlDQUF1QixDQUFBO0FBQ3pCLENBQUMsRUFWVyxjQUFjLEtBQWQsY0FBYyxRQVV6QjtBQUlELE1BQU0sQ0FBTixJQUFZLHFCQU9YO0FBUEQsV0FBWSxxQkFBcUI7SUFDL0IsNENBQW1CLENBQUE7SUFDbkIsNENBQW1CLENBQUE7SUFDbkIsOENBQXFCLENBQUE7SUFDckIsc0NBQWEsQ0FBQTtJQ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