@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,37 @@
|
|
|
1
|
+
import { Directive, EventEmitter, HostListener, Output } from '@angular/core';
|
|
2
|
+
import { debounceTime, startWith, Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Checks if element ellipsis
|
|
6
|
+
*/
|
|
7
|
+
export class EllipseTextDirective {
|
|
8
|
+
resize() {
|
|
9
|
+
this.checkEllipsis$.next();
|
|
10
|
+
}
|
|
11
|
+
constructor(el) {
|
|
12
|
+
this.el = el;
|
|
13
|
+
this.checkEllipsis$ = new Subject();
|
|
14
|
+
this.onChangeTextState = new EventEmitter();
|
|
15
|
+
}
|
|
16
|
+
ngOnInit() {
|
|
17
|
+
this.checkEllipsis$.pipe(startWith(null), debounceTime(100)).subscribe(() => {
|
|
18
|
+
const textElement = this.el.nativeElement;
|
|
19
|
+
this.onChangeTextState.emit(textElement.clientWidth < textElement.scrollWidth);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EllipseTextDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
23
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EllipseTextDirective, isStandalone: true, selector: "[uiEllipseText]", outputs: { onChangeTextState: "onChangeTextState" }, host: { listeners: { "window:resize": "resize()" } }, ngImport: i0 }); }
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EllipseTextDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: '[uiEllipseText]',
|
|
29
|
+
standalone: true,
|
|
30
|
+
}]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onChangeTextState: [{
|
|
32
|
+
type: Output
|
|
33
|
+
}], resize: [{
|
|
34
|
+
type: HostListener,
|
|
35
|
+
args: ['window:resize']
|
|
36
|
+
}] } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWxsaXBzZS10ZXh0LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvZGlyZWN0aXZlcy9lbGxpcHNlLXRleHQuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWMsWUFBWSxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQUUsTUFBTSxlQ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KTtcbiAgICB9KTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* the SelectTextDirective provides a dynamic way to highlight or style specific text within an element.
|
|
5
|
+
*/
|
|
6
|
+
export class SelectTextDirective {
|
|
7
|
+
constructor(el) {
|
|
8
|
+
this.el = el;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* this method utilizes setTimeout to defer the execution until the next tick of the event loop.
|
|
12
|
+
* The text content of the element is modified by wrapping occurrences of the specified selectText with a <span> element,
|
|
13
|
+
* applying a bold font-weight style.
|
|
14
|
+
*/
|
|
15
|
+
setTextColor() {
|
|
16
|
+
const textElement = this.el.nativeElement;
|
|
17
|
+
setTimeout(() => {
|
|
18
|
+
const { textContent } = textElement;
|
|
19
|
+
if (this.selectText && textContent) {
|
|
20
|
+
textElement.innerHTML = textContent.replace(new RegExp(this.selectText, 'gmi'), match => `<span style="font-weight: bold" >${match}</span>`);
|
|
21
|
+
}
|
|
22
|
+
else if (textElement.textContent) {
|
|
23
|
+
textElement.textContent = textContent;
|
|
24
|
+
}
|
|
25
|
+
}, 0);
|
|
26
|
+
}
|
|
27
|
+
ngOnChanges() {
|
|
28
|
+
this.setTextColor();
|
|
29
|
+
}
|
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectTextDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
31
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SelectTextDirective, selector: "[selectText]", inputs: { selectText: "selectText" }, usesOnChanges: true, ngImport: i0 }); }
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SelectTextDirective, decorators: [{
|
|
34
|
+
type: Directive,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: '[selectText]',
|
|
37
|
+
}]
|
|
38
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { selectText: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}] } });
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LXRleHQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9kaXJlY3RpdmVzL3NlbGVjdC10ZXh0LmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBYSxNQUFNLGVBQWUsQ0FBQzs7QUFFeEU7O0dBRUc7QUFJSCxNQUFNLE9BQU8sbUJBQW1CO0lBRzlCLFlBQW9CLEVBQWM7UUFBZCxPQUFFLEdBQUYsRUFBRSxDQUFZO0lBQUcsQ0FBQztJQUV0Qzs7OztPQUlHO0lBQ0ssWUFBWTtRQUNsQixNQUFNLFdBQVcsR0FBRyxJQUFJLENBQUMsRUFBRSxDQUFDLGFBQTRCLENBQUM7UUFDekQsVUFBVSxDQUFDLEdBQUcsRUFBRTtZQUNkLE1BQU0sRUFBRSxXQUFXLEVBQUUsR0FBRyxXQUFXLENBQUM7WUFDcEMsSUFBSSxJQUFJLENBQUMsVUFBVSxJQUFJLFdBQVcsRUFBRTtnQkFDbEMsV0FBVyxDQUFDLFNBQVMsR0FBRyxXQUFXLENBQUMsT0FBTyxDQUN6QyxJQUFJLE1BQU0sQ0FBQyxJQUFJLENBQUMsVUFBVSxFQUFFLEtBQUssQ0FBQyxFQUNsQyxLQUFLLENBQUMsRUFBRSxDQUFDLG9DQUFvQyxLQUFLLFNBQVMsQ0FDNUQsQ0F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BUaGUgdGV4dCBjb250ZW50IG9mIHRoZSBlbGVtZW50IGlzIG1vZGlmaWVkIGJ5IHdyYXBwaW5nIG9jY3VycmVuY2VzIG9mIHRoZSBzcGVjaWZpZWQgc2VsZWN0VGV4dCB3aXRoIGEgPHNwYW4+IGVsZW1lbnQsXG4gICAqIGFwcGx5aW5nIGEgYm9sZCBmb250LXdlaWdodCBzdHlsZS5cbiAgICovXG4gIHByaXZhdGUgc2V0VGV4dENvbG9yKCk6IHZvaWQge1xuICAgIGNvbnN0IHRleHRFbGVtZW50ID0gdGhpcy5lbC5uYXRpdmVFbGVtZW50IGFzIEhUTUxFbGVtZW50O1xuICAgIHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgY29uc3QgeyB0ZXh0Q29udGVudCB9ID0gdGV4dEVsZW1lbnQ7XG4gICAgICBpZiAodGhpcy5zZWxlY3RUZXh0ICYmIHRleHRDb250ZW50KSB7XG4gICAgICAgIHRleHRFbGVtZW50LmlubmVySFRNTCA9IHRleHRDb250ZW50LnJlcGxhY2UoXG4gICAgICAgICAgbmV3IFJlZ0V4cCh0aGlzLnNlbGVjdFRleHQsICdnbWknKSxcbiAgICAgICAgICBtYXRjaCA9PiBgPHNwYW4gc3R5bGU9XCJmb250LXdlaWdodDogYm9sZFwiID4ke21hdGNofTwvc3Bhbj5gXG4gICAgICAgICk7XG4gICAgICB9IGVsc2UgaWYgKHRleHRFbGVtZW50LnRleHRDb250ZW50KSB7XG4gICAgICAgIHRleHRFbGVtZW50LnRleHRDb250ZW50ID0gdGV4dENvbnRlbnQ7XG4gICAgICB9XG4gICAgfSwgMCk7XG4gIH1cblxuICBuZ09uQ2hhbmdlcygpOiB2b2lkIHtcbiAgICB0aGlzLnNldFRleHRDb2xvcigpO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Directive, HostListener, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
const MARGINS = 36;
|
|
4
|
+
const PADDING = 16;
|
|
5
|
+
/**
|
|
6
|
+
* Directive is used to draw lines between steps
|
|
7
|
+
*/
|
|
8
|
+
export class StepLineWidthDirective {
|
|
9
|
+
resize() {
|
|
10
|
+
this.setSize();
|
|
11
|
+
}
|
|
12
|
+
constructor(el) {
|
|
13
|
+
this.el = el;
|
|
14
|
+
}
|
|
15
|
+
setSize() {
|
|
16
|
+
this.el.nativeElement.style.width = `calc(100% + ${this.stepLineWidth.getBoundingClientRect().width / 2 - PADDING}px)`;
|
|
17
|
+
this.el.nativeElement.style.left = `-${this.stepLineWidth.getBoundingClientRect().width / 2 - MARGINS}px`;
|
|
18
|
+
}
|
|
19
|
+
ngOnChanges() {
|
|
20
|
+
queueMicrotask(() => {
|
|
21
|
+
this.setSize();
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepLineWidthDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
25
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: StepLineWidthDirective, selector: "[stepLineWidth]", inputs: { stepLineWidth: "stepLineWidth" }, host: { listeners: { "window:resize.out-zone": "resize($event)" } }, usesOnChanges: true, ngImport: i0 }); }
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StepLineWidthDirective, decorators: [{
|
|
28
|
+
type: Directive,
|
|
29
|
+
args: [{
|
|
30
|
+
selector: '[stepLineWidth]',
|
|
31
|
+
}]
|
|
32
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { stepLineWidth: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], resize: [{
|
|
35
|
+
type: HostListener,
|
|
36
|
+
args: ['window:resize.out-zone', ['$event']]
|
|
37
|
+
}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aCA9IGBjYWxjKDEwMCUgKyAke3RoaXMuc3RlcExpbmVXaWR0aC5nZXRCb3VuZGluZ0NsaWVudFJlY3QoKS53aWR0aCAvIDIgLSBQQURESU5HfXB4KWA7XG4gICAgdGhpcy5lbC5uYXRpdmVFbGVtZW50LnN0eWxlLmxlZnQgPSBgLSR7dGhpcy5zdGVwTGluZVdpZHRoLmdldEJvdW5kaW5nQ2xpZW50UmVjdCgpLndpZHRoIC8gMiAtIE1BUkdJTlN9cHhgO1xuICB9XG5cbiAgbmdPbkNoYW5nZXMoKTogdm9pZCB7XG4gICAgcXVldWVNaWNyb3Rhc2soKCkgPT4ge1xuICAgICAgdGhpcy5zZXRTaXplKCk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwbGljYXRpb24tdGhlbWUubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL21vZGVscy9hcHBsaWNhdGlvbi10aGVtZS5tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgQXBwbGljYXRpb25UaGVtZSA9ICdkYXJrJyB8ICdsaWdodCcgfCAnY2xhc3NpYyc7XG4iXX0=
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export var Color;
|
|
2
|
+
(function (Color) {
|
|
3
|
+
// Teal colors
|
|
4
|
+
Color["TGO_TEAL_60B"] = "#1C443C";
|
|
5
|
+
Color["TGO_TEAL_30B"] = "#31766A";
|
|
6
|
+
Color["TGO_TEAL_DEFAULT"] = "#46A997";
|
|
7
|
+
Color["TGO_TEAL_30W"] = "#7EC3B6";
|
|
8
|
+
Color["TGO_TEAL_60W"] = "#B5DDD5";
|
|
9
|
+
Color["TGO_TEAL_SECONDARY"] = "#CBD6CB";
|
|
10
|
+
Color["TGO_TEAL_90W"] = "#ECF6F5";
|
|
11
|
+
// Petrol colors
|
|
12
|
+
Color["TGO_PETROL_60B"] = "#102930";
|
|
13
|
+
Color["TGO_PETROL_30B"] = "#1B4754";
|
|
14
|
+
Color["TGO_PETROL_DEFAULT"] = "#276678";
|
|
15
|
+
Color["TGO_PETROL_30W"] = "#6894A0";
|
|
16
|
+
Color["TGO_PETROL_60W"] = "#A9C2C9";
|
|
17
|
+
Color["TGO_PETROL_SECONDARY"] = "#C8D7DE";
|
|
18
|
+
Color["TGO_PETROL_90W"] = "#E9F0F1";
|
|
19
|
+
// Error colors
|
|
20
|
+
Color["TGO_ERROR_60B"] = "#513131";
|
|
21
|
+
Color["TGO_ERROR_30B"] = "#8E5655";
|
|
22
|
+
Color["TGO_ERROR_60W"] = "#E3C3C6";
|
|
23
|
+
Color["TGO_ERROR_SECONDARY"] = "#F0DAD9";
|
|
24
|
+
Color["TGO_ERROR_DEFAULT"] = "#CB7B7A";
|
|
25
|
+
// Warning colors
|
|
26
|
+
Color["TGO_WARNING_SECONDARY"] = "#F0D6BB";
|
|
27
|
+
Color["TGO_WARNING_DEFAULT"] = "#CCA45F";
|
|
28
|
+
// Black colors - grayscale
|
|
29
|
+
Color["TGO_BLACK"] = "#000000";
|
|
30
|
+
Color["TGO_DARK"] = "#888888";
|
|
31
|
+
Color["TGO_MEDIUM"] = "#E0E0E0";
|
|
32
|
+
Color["TGO_GREY"] = "#EDEDED";
|
|
33
|
+
Color["TGO_LIGHT"] = "#F6F6F6";
|
|
34
|
+
Color["TGO_WHITE"] = "#FFFFFF";
|
|
35
|
+
// Brand colors
|
|
36
|
+
Color["BRAND_60"] = "#A90686";
|
|
37
|
+
Color["BRAND_50"] = "#D410AA";
|
|
38
|
+
Color["BRAND_40"] = "#FF54DA";
|
|
39
|
+
Color["BRAND_30"] = "#FFB3EE";
|
|
40
|
+
Color["BRAND_20"] = "#FFE6FA";
|
|
41
|
+
Color["BRAND_10"] = "#FFF2FC";
|
|
42
|
+
// Grayscale colors
|
|
43
|
+
Color["GRAYSCALE_50"] = "#666666";
|
|
44
|
+
Color["GRAYSCALE_40"] = "#919191";
|
|
45
|
+
Color["GRAYSCALE_30"] = "#D3D3D3";
|
|
46
|
+
Color["GRAYSCALE_20"] = "#E9E9E9";
|
|
47
|
+
Color["GRAYSCALE_10"] = "#F4F4F4";
|
|
48
|
+
// Additional colors
|
|
49
|
+
Color["BLACK"] = "#242424";
|
|
50
|
+
// Accent colors
|
|
51
|
+
Color["ACCENT_20"] = "#FFF5ED";
|
|
52
|
+
Color["ACCENT_10"] = "#FFFAF6";
|
|
53
|
+
// Informative colors
|
|
54
|
+
Color["INFORMATIVE_50"] = "#1A47AA";
|
|
55
|
+
Color["INFORMATIVE_40"] = "#0165FC";
|
|
56
|
+
Color["INFORMATIVE_30"] = "#277CFD";
|
|
57
|
+
Color["INFORMATIVE_20"] = "#99C1FE";
|
|
58
|
+
Color["INFORMATIVE_10"] = "#D9E8FF";
|
|
59
|
+
// Success colors
|
|
60
|
+
Color["SUCCESS_50"] = "#88B901";
|
|
61
|
+
Color["SUCCESS_40"] = "#A0D900";
|
|
62
|
+
Color["SUCCESS_30"] = "#C6E866";
|
|
63
|
+
Color["SUCCESS_20"] = "#E2F4B3";
|
|
64
|
+
Color["SUCCESS_10"] = "#F5FAE3";
|
|
65
|
+
// Error additional colors
|
|
66
|
+
Color["ERROR_50"] = "#E02800";
|
|
67
|
+
Color["ERROR_40"] = "#FF3003";
|
|
68
|
+
Color["ERROR_30"] = "#FF6E4F";
|
|
69
|
+
Color["ERROR_20"] = "#FFAC9A";
|
|
70
|
+
Color["ERROR_10"] = "#FFEAE6";
|
|
71
|
+
// Warning additional colors
|
|
72
|
+
Color["WARNING_50"] = "#D07D00";
|
|
73
|
+
Color["WARNING_40"] = "#FF9A03";
|
|
74
|
+
Color["WARNING_30"] = "#F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BVElWRV8yMCA9ICcjOTlDMUZFJyxcbiAgSU5GT1JNQVRJVkVfMTAgPSAnI0Q5RThGRicsXG5cbiAgLy8gU3VjY2VzcyBjb2xvcnNcbiAgU1VDQ0VTU181MCA9ICcjODhCOTAxJyxcbiAgU1VDQ0VTU180MCA9ICcjQTBEOTAwJyxcbiAgU1VDQ0VTU18zMCA9ICcjQzZFODY2JyxcbiAgU1VDQ0VTU18yMCA9ICcjRTJGNEIzJyxcbiAgU1VDQ0VTU18xMCA9ICcjRjVGQUUzJyxcblxuICAvLyBFcnJvciBhZGRpdGlvbmFsIGNvbG9yc1xuICBFUlJPUl81MCA9ICcjRTAyODAwJyxcbiAgRVJST1JfNDAgPSAnI0ZGMzAwMycsXG4gIEVSUk9SXzMwID0gJyNGRjZFNEYnLFxuICBFUlJPUl8yMCA9ICcjRkZBQzlBJyxcbiAgRVJST1JfMTAgPSAnI0ZGRUFFNicsXG5cbiAgLy8gV2FybmluZyBhZGRpdGlvbmFsIGNvbG9yc1xuICBXQVJOSU5HXzUwID0gJyNEMDdEMDAnLFxuICBXQVJOSU5HXzQwID0gJyNGRjlBMDMnLFxuICBXQVJOSU5HXzMwID0gJyNGRkMyNjgnLFxuICBXQVJOSU5HXzIwID0gJyNGRkUxQjMnLFxuICBXQVJOSU5HXzEwID0gJyNGRkY1RTYnLFxufVxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var ScreenBreakpoints;
|
|
2
|
+
(function (ScreenBreakpoints) {
|
|
3
|
+
ScreenBreakpoints[ScreenBreakpoints["MOBILE"] = 600] = "MOBILE";
|
|
4
|
+
ScreenBreakpoints[ScreenBreakpoints["TABLET"] = 1023] = "TABLET";
|
|
5
|
+
})(ScreenBreakpoints || (ScreenBreakpoints = {}));
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NyZWVuLWJyZWFrcG9pbnRzLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9tb2RlbHMvc2NyZWVuLWJyZWFrcG9pbnRzLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGlCQUdYO0FBSEQsV0FBWSxpQkFBaUI7SUFDM0IsK0RBQVksQ0FBQTtJQUNaLGdFQUFhLENBQUE7QUFDZixDQUFDLEVBSFcsaUJBQWlCLEtBQWpCLGlCQUFpQixRQUc1QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIFNjcmVlbkJyZWFrcG9pbnRzIHtcbiAgTU9CSUxFID0gNjAwLFxuICBUQUJMRVQgPSAxMDIzLFxufVxuIl19
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class DataPropertyGetterPipe {
|
|
4
|
+
transform(obj, keyName = '') {
|
|
5
|
+
return this.getDeepVal(obj, keyName);
|
|
6
|
+
}
|
|
7
|
+
getDeepVal(obj, path) {
|
|
8
|
+
if (typeof obj === 'undefined' || obj === null) {
|
|
9
|
+
return '';
|
|
10
|
+
}
|
|
11
|
+
const splittedPath = path.split(/[\.\[\]\"\']{1,2}/);
|
|
12
|
+
for (let i = 0, l = splittedPath.length; i < l; i++) {
|
|
13
|
+
if (splittedPath[i] === '') {
|
|
14
|
+
continue;
|
|
15
|
+
}
|
|
16
|
+
obj = obj[splittedPath[i]];
|
|
17
|
+
if (typeof obj === 'undefined' || obj === null) {
|
|
18
|
+
return '';
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return obj;
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataPropertyGetterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
24
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: DataPropertyGetterPipe, isStandalone: true, name: "dataPropertyGetter" }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataPropertyGetterPipe, decorators: [{
|
|
27
|
+
type: Pipe,
|
|
28
|
+
args: [{
|
|
29
|
+
name: 'dataPropertyGetter',
|
|
30
|
+
standalone: true,
|
|
31
|
+
}]
|
|
32
|
+
}] });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1wcm9wZXJ0eS1nZXR0ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL3BpcGVzL2RhdGEtcHJvcGVydHktZ2V0dGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDOztBQVNwRCxNQUFNLE9BQU8sc0JBQXNCO0lBQ2pDLFNBQVMsQ0FBQyxHQUFXLEVBQUUsVUFBa0IsRUFBRTtRQUN6QyxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsR0FBRyxFQUFFLE9BQU8sQ0FBQyxDQUFDO0lBQ3ZDLENBQUM7SUFFTyxVQUFVLENBQUMsR0FBUSxFQUFFLElBQVk7UUFDdkMsSUFBSSxPQUFPLEdBQUcsS0FBSyxXQUFXLElBQUksR0FBRyxLQUFLLElBQUksRUFBRTtZQUM5QyxPQUFPLEVBQUUsQ0FBQztTQUNYO1FBQ0QsTUFBTSxZQUFZLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDO1FBQ3JELEtBQUssSUFBSSxDQUFDLEdBQUcs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RoaXMuZ2V0RGVlcFZhbChvYmosIGtleU5hbWUpO1xuICB9XG5cbiAgcHJpdmF0ZSBnZXREZWVwVmFsKG9iajogYW55LCBwYXRoOiBzdHJpbmcpIHtcbiAgICBpZiAodHlwZW9mIG9iaiA9PT0gJ3VuZGVmaW5lZCcgfHwgb2JqID09PSBudWxsKSB7XG4gICAgICByZXR1cm4gJyc7XG4gICAgfVxuICAgIGNvbnN0IHNwbGl0dGVkUGF0aCA9IHBhdGguc3BsaXQoL1tcXC5cXFtcXF1cXFwiXFwnXXsxLDJ9Lyk7XG4gICAgZm9yIChsZXQgaSA9IDAsIGwgPSBzcGxpdHRlZFBhdGgubGVuZ3RoOyBpIDwgbDsgaSsrKSB7XG4gICAgICBpZiAoc3BsaXR0ZWRQYXRoW2ldID09PSAnJykge1xuICAgICAgICBjb250aW51ZTtcbiAgICAgIH1cbiAgICAgIG9iaiA9IG9ialtzcGxpdHRlZFBhdGhbaV1dO1xuICAgICAgaWYgKHR5cGVvZiBvYmogPT09ICd1bmRlZmluZWQnIHx8IG9iaiA9PT0gbnVsbCkge1xuICAgICAgICByZXR1cm4gJyc7XG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiBvYmo7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class HasValidationErrorPipe {
|
|
4
|
+
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* List of the error types that are handled
|
|
7
|
+
*/
|
|
8
|
+
this.errorTypes = ['maxlength', 'minlength', 'min', 'max', 'required', 'email'];
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Checks if the error on the NgControl is in the list of handled error types
|
|
12
|
+
* @param value
|
|
13
|
+
*/
|
|
14
|
+
transform(value) {
|
|
15
|
+
return value ? !!Object.keys(value).filter(key => this.errorTypes.includes(key)).length : false;
|
|
16
|
+
}
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HasValidationErrorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
18
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: HasValidationErrorPipe, isStandalone: true, name: "hasValidationError" }); }
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HasValidationErrorPipe, decorators: [{
|
|
21
|
+
type: Pipe,
|
|
22
|
+
args: [{
|
|
23
|
+
name: 'hasValidationError',
|
|
24
|
+
standalone: true,
|
|
25
|
+
}]
|
|
26
|
+
}] });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFzLXZhbGlkYXRpb24tZXJyb3IucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvcGlwZXMvaGFzLXZhbGlkYXRpb24tZXJyb3IucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQzs7QUFNcEQsTUFBTSxPQUFPLHNCQUFzQjtJQUpuQztRQUtFOztXQUVHO1FBQ2MsZUFBVSxHQUFHLENBQUMsV0FBVyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFFLFVBQVUsRUFBRSxPQUFPLENBQUMsQ0FBQztLQVM3RjtJQVBDOzs7T0FHRztJQUNILFNBQVMsQ0FBQyxLQUE2QztRQUNyRCxPQUFPLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUMsT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Y3Qua2V5cyh2YWx1ZSkuZmlsdGVyKGtleSA9PiB0aGlzLmVycm9yVHlwZXMuaW5jbHVkZXMoa2V5KSkubGVuZ3RoIDogZmFsc2U7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class NameInitialsPipe {
|
|
4
|
+
transform(value) {
|
|
5
|
+
const initials = value.split(' ').filter(Boolean);
|
|
6
|
+
if (initials.length > 1) {
|
|
7
|
+
return initials
|
|
8
|
+
.map((initial, i) => (i === 0 || i === initials.length - 1 ? initial[0].toUpperCase() : ''))
|
|
9
|
+
.join('');
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
const firstLetters = value.substring(0, 2);
|
|
13
|
+
return `${firstLetters[0]?.toUpperCase() ?? ''}${firstLetters[1]?.toLowerCase() ?? ''}`;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NameInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
17
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: NameInitialsPipe, name: "nameInitials" }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NameInitialsPipe, decorators: [{
|
|
20
|
+
type: Pipe,
|
|
21
|
+
args: [{
|
|
22
|
+
name: 'nameInitials',
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmFtZS1pbml0aWFscy5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamV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QUM7b0JBQ0osSUFBSSxFQUFFLGNBQWM7aUJBQ3JCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AUGlwZSh7XG4gIG5hbWU6ICduYW1lSW5pdGlhbHMnLFxufSlcbmV4cG9ydCBjbGFzcyBOYW1lSW5pdGlhbHNQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG4gIHRyYW5zZm9ybSh2YWx1ZTogc3RyaW5nKTogc3RyaW5nIHtcbiAgICBjb25zdCBpbml0aWFscyA9IHZhbHVlLnNwbGl0KCcgJykuZmlsdGVyKEJvb2xlYW4pO1xuICAgIGlmIChpbml0aWFscy5sZW5ndGggPiAxKSB7XG4gICAgICByZXR1cm4gaW5pdGlhbHNcbiAgICAgICAgLm1hcCgoaW5pdGlhbCwgaSkgPT4gKGkgPT09IDAgfHwgaSA9PT0gaW5pdGlhbHMubGVuZ3RoIC0gMSA/IGluaXRpYWxbMF0udG9VcHBlckNhc2UoKSA6ICcnKSlcbiAgICAgICAgLmpvaW4oJycpO1xuICAgIH0gZWxzZSB7XG4gICAgICBjb25zdCBmaXJzdExldHRlcnMgPSB2YWx1ZS5zdWJzdHJpbmcoMCwgMik7XG4gICAgICByZXR1cm4gYCR7Zmlyc3RMZXR0ZXJzWzBdPy50b1VwcGVyQ2FzZSgpID8/ICcnfSR7Zmlyc3RMZXR0ZXJzWzFdPy50b0xvd2VyQ2FzZSgpID8/ICcnfWA7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import en from '../assets/i18n/en.json';
|
|
3
|
+
import es from '../assets/i18n/es.json';
|
|
4
|
+
import de from '../assets/i18n/de.json';
|
|
5
|
+
import * as daDk from '../assets/i18n/da-dk.json';
|
|
6
|
+
import fr from '../assets/i18n/fr.json';
|
|
7
|
+
import * as itIt from '../assets/i18n/it-it.json';
|
|
8
|
+
import * as jaJp from '../assets/i18n/ja-jp.json';
|
|
9
|
+
import * as nbNo from '../assets/i18n/nb-no.json';
|
|
10
|
+
import nl from '../assets/i18n/nl.json';
|
|
11
|
+
import * as plPl from '../assets/i18n/pl-pl.json';
|
|
12
|
+
import * as ptBr from '../assets/i18n/pt-br.json';
|
|
13
|
+
import * as svSe from '../assets/i18n/sv-se.json';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
/**
|
|
16
|
+
* Used for translations
|
|
17
|
+
*/
|
|
18
|
+
export class UiTranslatePipe {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.LANGS = {
|
|
21
|
+
en,
|
|
22
|
+
es,
|
|
23
|
+
de,
|
|
24
|
+
'da-dk': daDk,
|
|
25
|
+
fr,
|
|
26
|
+
'it-it': itIt,
|
|
27
|
+
'ja-jp': jaJp,
|
|
28
|
+
'nb-no': nbNo,
|
|
29
|
+
nl,
|
|
30
|
+
'pl-pl': plPl,
|
|
31
|
+
'pt-br': ptBr,
|
|
32
|
+
'sv-se': svSe,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Finds the translation by keys with interpolation if provided
|
|
37
|
+
* @param translateKey key, can have multiple keys separated with '.' eg ('KEY', 'FIRST_LVL_KEY.SECOND_LVL_KEY')
|
|
38
|
+
* @param activeLang current active language
|
|
39
|
+
* @param interpolationData data that will be used to replace interpolations in translated variant
|
|
40
|
+
* For example, for translate text like this
|
|
41
|
+
* 'You have {{attemptsAmount}} attempts left
|
|
42
|
+
* the interpolation object should be { attemptsAmount: 10 }
|
|
43
|
+
*/
|
|
44
|
+
transform(translateKey, activeLang, interpolationData) {
|
|
45
|
+
const currentLangObject = JSON.parse(JSON.stringify(this.LANGS[activeLang]));
|
|
46
|
+
const enLangObject = JSON.parse(JSON.stringify(this.LANGS['en']));
|
|
47
|
+
const keys = translateKey.split('.');
|
|
48
|
+
const translation = keys.reduce((acc, currentKey) => acc && acc[currentKey], currentLangObject);
|
|
49
|
+
if (translation && interpolationData) {
|
|
50
|
+
return this.interpolate(translation, interpolationData);
|
|
51
|
+
}
|
|
52
|
+
const englishTranslation = keys.reduce((acc, currentKey) => acc && acc[currentKey], enLangObject);
|
|
53
|
+
return this.interpolate(englishTranslation, interpolationData);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Used to find and replace interpolation in text
|
|
57
|
+
* @param translation the translation text
|
|
58
|
+
* @param interpolationData the interpolation object
|
|
59
|
+
*/
|
|
60
|
+
interpolate(translation, interpolationData) {
|
|
61
|
+
return translation?.replace(/{{(.*?)}}/g, (match, group) => {
|
|
62
|
+
const value = interpolationData[group.trim()];
|
|
63
|
+
return value ?? match;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiTranslatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
67
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: UiTranslatePipe, isStandalone: true, name: "uiTranslate" }); }
|
|
68
|
+
}
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UiTranslatePipe, decorators: [{
|
|
70
|
+
type: Pipe,
|
|
71
|
+
args: [{
|
|
72
|
+
name: 'uiTranslate',
|
|
73
|
+
standalone: true,
|
|
74
|
+
}]
|
|
75
|
+
}] });
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidWktdHJhbnNsYXRlLnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL3BpcGVzL3VpLXRyYW5zbGF0ZS5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+IGFjYyAmJiBhY2NbY3VycmVudEtleV0sIGVuTGFuZ09iamVjdCk7XG4gICAgcmV0dXJuIHRoaXMuaW50ZXJwb2xhdGUoZW5nbGlzaFRyYW5zbGF0aW9uLCBpbnRlcnBvbGF0aW9uRGF0YSk7XG4gIH1cblxuICAvKipcbiAgICogVXNlZCB0byBmaW5kIGFuZCByZXBsYWNlIGludGVycG9sYXRpb24gaW4gdGV4dFxuICAgKiBAcGFyYW0gdHJhbnNsYXRpb24gdGhlIHRyYW5zbGF0aW9uIHRleHRcbiAgICogQHBhcmFtIGludGVycG9sYXRpb25EYXRhIHRoZSBpbnRlcnBvbGF0aW9uIG9iamVjdFxuICAgKi9cbiAgcHJpdmF0ZSBpbnRlcnBvbGF0ZSh0cmFuc2xhdGlvbjogc3RyaW5nLCBpbnRlcnBvbGF0aW9uRGF0YTogeyBba2V5OiBzdHJpbmddOiBhbnkgfSk6IHN0cmluZyB7XG4gICAgcmV0dXJuIHRyYW5zbGF0aW9uPy5yZXBsYWNlKC97eyguKj8pfX0vZywgKG1hdGNoOiBzdHJpbmcsIGdyb3VwOiBzdHJpbmcpID0+IHtcbiAgICAgIGNvbnN0IHZhbHVlID0gaW50ZXJwb2xhdGlvbkRhdGFbZ3JvdXAudHJpbSgpXSBhcyBzdHJpbmc7XG4gICAgICByZXR1cm4gdmFsdWUgPz8gbWF0Y2g7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { inject, InjectionToken } from '@angular/core';
|
|
2
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
3
|
+
import { map } from 'rxjs';
|
|
4
|
+
import { ScreenBreakpoints } from '../models/screen-breakpoints.model';
|
|
5
|
+
export const IS_MOBILE_TOKEN = new InjectionToken('Is mobile', {
|
|
6
|
+
factory: () => {
|
|
7
|
+
const breakpointObserver = inject(BreakpointObserver);
|
|
8
|
+
return breakpointObserver.observe(`(max-width: ${ScreenBreakpoints.MO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