@testgorilla/tgo-ui 2.31.1 → 2.31.3-beta.0
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 +100 -0
- package/components/accordion/accordion.component.module.d.ts +12 -0
- package/components/alert-banner/alert-banner.component.d.ts +123 -0
- package/components/alert-banner/alert-banner.component.module.d.ts +11 -0
- package/components/autocomplete/autocomplete.component.d.ts +306 -0
- package/components/autocomplete/autocomplete.component.module.d.ts +24 -0
- package/components/autocomplete/autocomplete.model.d.ts +22 -0
- package/components/autocomplete/includes.pipe.d.ts +12 -0
- package/components/autocomplete/prevent-input.directive.d.ts +7 -0
- package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
- package/components/avatar/avatar.component.d.ts +67 -0
- package/components/avatar/avatar.component.module.d.ts +13 -0
- package/components/avatar/avatar.model.d.ts +16 -0
- package/components/badge/badge.component.d.ts +59 -0
- package/components/badge/badge.component.module.d.ts +10 -0
- package/components/badge/badge.model.d.ts +35 -0
- package/components/button/button.component.d.ts +234 -0
- package/components/button/button.component.module.d.ts +16 -0
- package/components/button/button.model.d.ts +14 -0
- package/components/card/card.component.d.ts +66 -0
- package/components/card/card.component.module.d.ts +9 -0
- package/components/checkbox/checkbox.component.d.ts +192 -0
- package/components/checkbox/checkbox.component.module.d.ts +18 -0
- package/components/checkbox/focus-visible.directive.d.ts +12 -0
- package/components/checklist/checklist.component.d.ts +78 -0
- package/components/checklist/checklist.model.d.ts +8 -0
- package/components/confirm-dialog/confirm-dialog.component.d.ts +30 -0
- package/components/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
- package/components/confirm-dialog/confirm-dialog.model.d.ts +12 -0
- package/components/datepicker/date-adapter.d.ts +30 -0
- package/components/datepicker/datepicker.component.d.ts +214 -0
- package/components/datepicker/datepicker.component.module.d.ts +18 -0
- package/components/datepicker/datepicker.service.d.ts +8 -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/dialog/dialog.component.d.ts +149 -0
- package/components/dialog/dialog.component.module.d.ts +11 -0
- package/components/dialog/dialog.model.d.ts +12 -0
- package/components/dialog/dialog.service.d.ts +14 -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 +190 -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 +155 -0
- package/components/empty-state/empty-state.component.module.d.ts +11 -0
- package/components/field/field.component.d.ts +295 -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 +120 -0
- package/components/file-upload/file-upload.component.module.d.ts +14 -0
- package/components/filter-button/filter-button.component.d.ts +126 -0
- package/components/filter-button/filter-button.component.module.d.ts +18 -0
- package/components/filter-button/filter-button.model.d.ts +8 -0
- package/components/gaussian-chart/gaussian-chart.component.d.ts +75 -0
- package/components/gaussian-chart/gaussian-chart.module.d.ts +13 -0
- package/components/icon/icon.component.d.ts +71 -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 +66 -0
- package/components/logo/logo.component.module.d.ts +8 -0
- package/components/logo/logo.model.d.ts +29 -0
- package/components/media-card/media-card.component.d.ts +32 -0
- package/components/multi-input/multi-input.component.d.ts +171 -0
- package/components/multi-input/multi-input.component.module.d.ts +18 -0
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +26 -0
- package/components/navbar/navbar.component.d.ts +120 -0
- package/components/navbar/navbar.component.module.d.ts +21 -0
- package/components/navbar/navbar.model.d.ts +21 -0
- package/components/overflow-menu/overflow-menu.component.d.ts +86 -0
- package/components/overflow-menu/overflow-menu.component.module.d.ts +15 -0
- package/components/overflow-menu/overflow-menu.model.d.ts +20 -0
- package/components/page-header/page-header.component.d.ts +38 -0
- package/components/page-header/page-header.component.module.d.ts +10 -0
- package/components/paginator/paginator.component.d.ts +58 -0
- package/components/paginator/paginator.component.module.d.ts +9 -0
- package/components/password-criteria/password.component.d.ts +44 -0
- package/components/password-criteria/password.component.module.d.ts +13 -0
- package/components/password-strength/password-strength.component.d.ts +45 -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 +147 -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 +73 -0
- package/components/progress-bar/progress-bar.component.module.d.ts +10 -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 +182 -0
- package/components/radio-button/radio-button.component.module.d.ts +15 -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 +53 -0
- package/components/scale/scale.component.module.d.ts +8 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +63 -0
- package/components/segmented-bar/segmented-bar.component.module.d.ts +13 -0
- package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
- package/components/segmented-button/segmented-button.component.d.ts +55 -0
- package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
- package/components/segmented-button/segmented-button.model.d.ts +8 -0
- package/components/side-panel/side-panel.animations.d.ts +3 -0
- package/components/side-panel/side-panel.component.d.ts +21 -0
- package/components/side-panel/side-panel.model.d.ts +15 -0
- package/components/side-panel/side-panel.service.d.ts +20 -0
- package/components/side-sheet/side-sheet.component.d.ts +43 -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 +116 -0
- package/components/slider/slider.component.module.d.ts +7 -0
- package/components/slider/slider.model.d.ts +5 -0
- package/components/snackbar/snackbar.component.d.ts +119 -0
- package/components/snackbar/snackbar.component.module.d.ts +13 -0
- package/components/snackbar/snackbar.service.d.ts +16 -0
- package/components/spider-chart/spider-chart.component.d.ts +90 -0
- package/components/spider-chart/spider-chart.model.d.ts +12 -0
- package/components/spider-chart/spider-chart.module.d.ts +13 -0
- package/components/spinner/spinner.component.d.ts +44 -0
- package/components/spinner/spinner.module.d.ts +9 -0
- package/components/step/step.component.d.ts +169 -0
- package/components/step/step.component.module.d.ts +10 -0
- package/components/stepper/stepper.component.d.ts +94 -0
- package/components/stepper/stepper.component.module.d.ts +15 -0
- package/components/stepper/stepper.model.d.ts +22 -0
- package/components/table/sentence-case.pipe.d.ts +7 -0
- package/components/table/table.component.d.ts +117 -0
- package/components/table/table.component.module.d.ts +20 -0
- package/components/table/table.model.d.ts +104 -0
- package/components/tabs/tab.directive.d.ts +24 -0
- package/components/tabs/tabs.component.d.ts +73 -0
- package/components/tabs/tabs.component.module.d.ts +12 -0
- package/components/tabs/tabs.model.d.ts +16 -0
- package/components/tag/tag.component.d.ts +131 -0
- package/components/tag/tag.component.module.d.ts +13 -0
- package/components/toggle/toggle.component.d.ts +113 -0
- package/components/toggle/toggle.component.module.d.ts +14 -0
- package/components/tooltip/tooltip-template.directive.d.ts +27 -0
- package/components/tooltip/tooltip.component.d.ts +64 -0
- package/components/tooltip/tooltip.component.module.d.ts +12 -0
- package/components/tooltip/tooltip.model.d.ts +8 -0
- package/components/universal-skills-report/universal-skills-report.component.d.ts +33 -0
- package/components/universal-skills-report/universal-skills-report.component.module.d.ts +14 -0
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
- package/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.d.ts +16 -0
- package/components/validation-error/validation-error.component.d.ts +22 -0
- package/components/validation-error/validation-error.module.d.ts +10 -0
- package/directives/digits-only.directive.d.ts +17 -0
- package/directives/drag-drop.directive.d.ts +12 -0
- package/directives/dynamic-component.directive.d.ts +20 -0
- package/directives/ellipse-text.directive.d.ts +20 -0
- package/directives/select-text.directive.d.ts +19 -0
- package/directives/step-line-element.directive.d.ts +17 -0
- package/esm2022/assets/i18n/da-dk.json +181 -0
- package/esm2022/assets/i18n/de.json +181 -0
- package/esm2022/assets/i18n/en.json +817 -0
- package/esm2022/assets/i18n/es.json +181 -0
- package/esm2022/assets/i18n/fr.json +181 -0
- package/esm2022/assets/i18n/it-it.json +181 -0
- package/esm2022/assets/i18n/ja-jp.json +181 -0
- package/esm2022/assets/i18n/nb-no.json +181 -0
- package/esm2022/assets/i18n/nl.json +181 -0
- package/esm2022/assets/i18n/pl-pl.json +181 -0
- package/esm2022/assets/i18n/pt-br.json +181 -0
- package/esm2022/assets/i18n/sv-se.json +181 -0
- package/esm2022/components/accordion/accordion.component.mjs +135 -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 +180 -0
- package/esm2022/components/alert-banner/alert-banner.component.module.mjs +21 -0
- package/esm2022/components/alert-banner/alert-banner.model.mjs +2 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +808 -0
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +77 -0
- package/esm2022/components/autocomplete/autocomplete.model.mjs +25 -0
- package/esm2022/components/autocomplete/includes.pipe.mjs +25 -0
- package/esm2022/components/autocomplete/prevent-input.directive.mjs +27 -0
- package/esm2022/components/autocomplete/transform-Item.pipe.mjs +32 -0
- package/esm2022/components/avatar/avatar.component.mjs +104 -0
- package/esm2022/components/avatar/avatar.component.module.mjs +23 -0
- package/esm2022/components/avatar/avatar.model.mjs +21 -0
- package/esm2022/components/badge/badge.component.mjs +109 -0
- package/esm2022/components/badge/badge.component.module.mjs +20 -0
- package/esm2022/components/badge/badge.model.mjs +36 -0
- package/esm2022/components/button/button.component.mjs +449 -0
- package/esm2022/components/button/button.component.module.mjs +51 -0
- package/esm2022/components/button/button.model.mjs +2 -0
- package/esm2022/components/card/card.component.mjs +119 -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 +319 -0
- package/esm2022/components/checkbox/checkbox.component.module.mjs +28 -0
- package/esm2022/components/checkbox/focus-visible.directive.mjs +40 -0
- package/esm2022/components/checklist/checklist.component.mjs +147 -0
- package/esm2022/components/checklist/checklist.model.mjs +2 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +56 -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/date-adapter.mjs +30 -0
- package/esm2022/components/datepicker/datepicker.component.mjs +333 -0
- package/esm2022/components/datepicker/datepicker.component.module.mjs +60 -0
- package/esm2022/components/datepicker/datepicker.service.mjs +20 -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/dialog/dialog.component.mjs +259 -0
- package/esm2022/components/dialog/dialog.component.module.mjs +23 -0
- package/esm2022/components/dialog/dialog.model.mjs +2 -0
- package/esm2022/components/dialog/dialog.service.mjs +36 -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 +353 -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 +234 -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 +488 -0
- package/esm2022/components/field/field.component.module.mjs +60 -0
- package/esm2022/components/field/field.model.mjs +2 -0
- package/esm2022/components/file-upload/file-upload.component.mjs +282 -0
- package/esm2022/components/file-upload/file-upload.component.module.mjs +40 -0
- package/esm2022/components/filter-button/filter-button.component.mjs +236 -0
- package/esm2022/components/filter-button/filter-button.component.module.mjs +58 -0
- package/esm2022/components/filter-button/filter-button.model.mjs +2 -0
- package/esm2022/components/gaussian-chart/gaussian-chart.component.mjs +246 -0
- package/esm2022/components/gaussian-chart/gaussian-chart.module.mjs +42 -0
- package/esm2022/components/icon/icon.component.mjs +149 -0
- package/esm2022/components/icon/icon.component.module.mjs +21 -0
- package/esm2022/components/icon/icon.config.mjs +699 -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 +165 -0
- package/esm2022/components/logo/logo.component.module.mjs +18 -0
- package/esm2022/components/logo/logo.model.mjs +32 -0
- package/esm2022/components/media-card/media-card.component.mjs +47 -0
- package/esm2022/components/multi-input/multi-input.component.mjs +331 -0
- package/esm2022/components/multi-input/multi-input.component.module.mjs +58 -0
- package/esm2022/components/multi-input/multi-input.model.mjs +2 -0
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +84 -0
- package/esm2022/components/navbar/navbar.component.mjs +211 -0
- package/esm2022/components/navbar/navbar.component.module.mjs +71 -0
- package/esm2022/components/navbar/navbar.model.mjs +2 -0
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +195 -0
- package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +25 -0
- package/esm2022/components/overflow-menu/overflow-menu.model.mjs +2 -0
- package/esm2022/components/page-header/page-header.component.mjs +71 -0
- package/esm2022/components/page-header/page-header.component.module.mjs +20 -0
- package/esm2022/components/paginator/paginator.component.mjs +87 -0
- package/esm2022/components/paginator/paginator.component.module.mjs +19 -0
- package/esm2022/components/password-criteria/password.component.mjs +111 -0
- package/esm2022/components/password-criteria/password.component.module.mjs +39 -0
- package/esm2022/components/password-strength/password-strength.component.mjs +93 -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 +353 -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 +103 -0
- package/esm2022/components/progress-bar/progress-bar.component.module.mjs +21 -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 +329 -0
- package/esm2022/components/radio-button/radio-button.component.module.mjs +25 -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 +124 -0
- package/esm2022/components/scale/scale.component.module.mjs +18 -0
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +106 -0
- package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +23 -0
- package/esm2022/components/segmented-bar/segmented-bar.model.mjs +2 -0
- package/esm2022/components/segmented-button/segmented-button.component.mjs +104 -0
- package/esm2022/components/segmented-button/segmented-button.component.module.mjs +21 -0
- package/esm2022/components/segmented-button/segmented-button.model.mjs +2 -0
- package/esm2022/components/side-panel/side-panel.animations.mjs +26 -0
- package/esm2022/components/side-panel/side-panel.component.mjs +55 -0
- package/esm2022/components/side-panel/side-panel.model.mjs +20 -0
- package/esm2022/components/side-panel/side-panel.service.mjs +76 -0
- package/esm2022/components/side-sheet/side-sheet.component.mjs +105 -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 +256 -0
- package/esm2022/components/slider/slider.component.module.mjs +16 -0
- package/esm2022/components/slider/slider.model.mjs +2 -0
- package/esm2022/components/snackbar/snackbar.component.mjs +218 -0
- package/esm2022/components/snackbar/snackbar.component.module.mjs +25 -0
- package/esm2022/components/snackbar/snackbar.model.mjs +2 -0
- package/esm2022/components/snackbar/snackbar.service.mjs +40 -0
- package/esm2022/components/spider-chart/spider-chart.component.mjs +443 -0
- package/esm2022/components/spider-chart/spider-chart.model.mjs +4 -0
- package/esm2022/components/spider-chart/spider-chart.module.mjs +44 -0
- package/esm2022/components/spinner/spinner.component.mjs +72 -0
- package/esm2022/components/spinner/spinner.model.mjs +2 -0
- package/esm2022/components/spinner/spinner.module.mjs +19 -0
- package/esm2022/components/step/step.component.mjs +189 -0
- package/esm2022/components/step/step.component.module.mjs +20 -0
- package/esm2022/components/stepper/stepper.component.mjs +184 -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 +273 -0
- package/esm2022/components/table/table.component.module.mjs +61 -0
- package/esm2022/components/table/table.model.mjs +25 -0
- package/esm2022/components/tabs/tab.directive.mjs +54 -0
- package/esm2022/components/tabs/tabs.component.mjs +189 -0
- package/esm2022/components/tabs/tabs.component.module.mjs +22 -0
- package/esm2022/components/tabs/tabs.model.mjs +2 -0
- package/esm2022/components/tag/tag.component.mjs +212 -0
- package/esm2022/components/tag/tag.component.module.mjs +24 -0
- package/esm2022/components/tag/tag.model.mjs +2 -0
- package/esm2022/components/toggle/toggle.component.mjs +190 -0
- package/esm2022/components/toggle/toggle.component.module.mjs +24 -0
- package/esm2022/components/toggle/toggle.model.mjs +2 -0
- package/esm2022/components/tooltip/tooltip-template.directive.mjs +133 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +108 -0
- package/esm2022/components/tooltip/tooltip.component.module.mjs +27 -0
- package/esm2022/components/tooltip/tooltip.model.mjs +8 -0
- package/esm2022/components/universal-skills-report/universal-skills-report.component.mjs +80 -0
- package/esm2022/components/universal-skills-report/universal-skills-report.component.module.mjs +43 -0
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.mjs +109 -0
- package/esm2022/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.mjs +52 -0
- package/esm2022/components/validation-error/validation-error.component.mjs +55 -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 +77 -0
- package/esm2022/directives/drag-drop.directive.mjs +55 -0
- package/esm2022/directives/dynamic-component.directive.mjs +40 -0
- package/esm2022/directives/ellipse-text.directive.mjs +51 -0
- package/esm2022/directives/select-text.directive.mjs +40 -0
- package/esm2022/directives/step-line-element.directive.mjs +51 -0
- package/esm2022/models/application-theme.model.mjs +2 -0
- package/esm2022/models/checkbox.model.mjs +2 -0
- package/esm2022/models/colors.model.mjs +78 -0
- package/esm2022/models/keyboard-events.model.mjs +13 -0
- package/esm2022/models/screen-breakpoints.model.mjs +6 -0
- package/esm2022/models/universal-skills-report.model.mjs +33 -0
- package/esm2022/pipes/data-property-getter.mjs +33 -0
- package/esm2022/pipes/has-validation-error.pipe.mjs +27 -0
- package/esm2022/pipes/memoize-func.pipe.mjs +39 -0
- package/esm2022/pipes/name-initials.pipe.mjs +25 -0
- package/esm2022/pipes/ui-ordinal-suffix.pipe.mjs +31 -0
- package/esm2022/pipes/ui-translate.pipe.mjs +81 -0
- package/esm2022/providers/is-mobile.mjs +11 -0
- package/esm2022/public-api.mjs +227 -0
- package/esm2022/services/icons.service.mjs +22 -0
- package/esm2022/services/universal-skills.service.mjs +85 -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 +34 -0
- package/esm2022/utils/autocomplete-utils.mjs +78 -0
- package/esm2022/utils/color-contrast.mjs +131 -0
- package/esm2022/utils/hex-to-rgb.mjs +9 -0
- package/esm2022/utils/localization/language.model.mjs +16 -0
- package/esm2022/utils/localization/language.service.mjs +44 -0
- package/esm2022/utils/table.utils.mjs +19 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +17408 -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/keyboard-events.model.d.ts +11 -0
- package/models/screen-breakpoints.model.d.ts +4 -0
- package/models/universal-skills-report.model.d.ts +44 -0
- package/package.json +17 -77
- package/pipes/data-property-getter.d.ts +8 -0
- package/pipes/has-validation-error.pipe.d.ts +15 -0
- package/pipes/memoize-func.pipe.d.ts +26 -0
- package/pipes/name-initials.pipe.d.ts +7 -0
- package/pipes/ui-ordinal-suffix.pipe.d.ts +7 -0
- package/pipes/ui-translate.pipe.d.ts +32 -0
- package/providers/is-mobile.d.ts +2 -0
- package/public-api.d.ts +159 -0
- package/services/icons.service.d.ts +8 -0
- package/services/universal-skills.service.d.ts +13 -0
- package/utils/alert-bars.utils.d.ts +7 -0
- package/utils/autocomplete-utils.d.ts +12 -0
- package/utils/color-contrast.d.ts +28 -0
- package/utils/hex-to-rgb.d.ts +1 -0
- package/utils/localization/language.model.d.ts +14 -0
- package/utils/localization/language.service.d.ts +20 -0
- package/utils/table.utils.d.ts +6 -0
- package/.circleci/config.yml +0 -349
- package/.editorconfig +0 -16
- package/.eslintignore +0 -5
- package/.eslintrc-a11y.js +0 -23
- package/.eslintrc.js +0 -301
- package/.github/CODEOWNERS +0 -22
- package/.github/README.md +0 -81
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -2
- package/.prettierrc +0 -14
- package/.storybook/main.js +0 -24
- package/.storybook/preview-head.html +0 -10
- package/.storybook/preview.js +0 -112
- 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 -1386
- package/angular.json +0 -174
- package/blob-report/report.zip +0 -0
- 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 -56
- package/ng-package.json +0 -9
- package/parse-a11y-linter.js +0 -79
- 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 -48
- package/projects/client/src/app/components/alert-banner/alert-banner.component.html +0 -15
- package/projects/client/src/app/components/alert-banner/alert-banner.component.scss +0 -0
- package/projects/client/src/app/components/alert-banner/alert-banner.component.ts +0 -26
- 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/app/components/badge/badge.component.html +0 -11
- package/projects/client/src/app/components/badge/badge.component.scss +0 -0
- package/projects/client/src/app/components/badge/badge.component.ts +0 -22
- package/projects/client/src/app/components/button/button.component.html +0 -23
- package/projects/client/src/app/components/button/button.component.scss +0 -0
- package/projects/client/src/app/components/button/button.component.ts +0 -40
- package/projects/client/src/app/components/card/card.component.html +0 -8
- package/projects/client/src/app/components/card/card.component.scss +0 -0
- package/projects/client/src/app/components/card/card.component.ts +0 -17
- package/projects/client/src/app/components/checkbox/checkbox.component.html +0 -13
- package/projects/client/src/app/components/checkbox/checkbox.component.scss +0 -0
- package/projects/client/src/app/components/checkbox/checkbox.component.ts +0 -23
- package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.html +0 -169
- package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.scss +0 -19
- package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.spec.ts +0 -23
- package/projects/client/src/app/components/disabled-inputs/disabled-inputs.component.ts +0 -78
- package/projects/client/src/app/components/field/field.component.html +0 -28
- package/projects/client/src/app/components/field/field.component.scss +0 -0
- package/projects/client/src/app/components/field/field.component.ts +0 -37
- package/projects/client/src/app/components/icon/icon.component.html +0 -10
- package/projects/client/src/app/components/icon/icon.component.scss +0 -0
- package/projects/client/src/app/components/icon/icon.component.ts +0 -19
- package/projects/client/src/app/components/localisation/localisation.component.html +0 -8
- package/projects/client/src/app/components/localisation/localisation.component.scss +0 -0
- package/projects/client/src/app/components/localisation/localisation.component.spec.ts +0 -23
- package/projects/client/src/app/components/localisation/localisation.component.ts +0 -31
- package/projects/client/src/app/components/logo/logo.component.html +0 -8
- package/projects/client/src/app/components/logo/logo.component.scss +0 -0
- package/projects/client/src/app/components/logo/logo.component.ts +0 -18
- package/projects/client/src/app/components/radio/radio.component.html +0 -16
- package/projects/client/src/app/components/radio/radio.component.scss +0 -0
- package/projects/client/src/app/components/radio/radio.component.ts +0 -28
- package/projects/client/src/app/components/side-panel/side-panel.component.html +0 -2
- package/projects/client/src/app/components/side-panel/side-panel.component.scss +0 -0
- package/projects/client/src/app/components/side-panel/side-panel.component.ts +0 -28
- package/projects/client/src/app/components/snackbar/snackbar.component.html +0 -15
- package/projects/client/src/app/components/snackbar/snackbar.component.scss +0 -0
- package/projects/client/src/app/components/snackbar/snackbar.component.ts +0 -35
- package/projects/client/src/app/components/spinner/spinner.component.html +0 -7
- package/projects/client/src/app/components/spinner/spinner.component.scss +0 -0
- package/projects/client/src/app/components/spinner/spinner.component.ts +0 -16
- package/projects/client/src/app/components/tooltip/tooltip.component.html +0 -12
- package/projects/client/src/app/components/tooltip/tooltip.component.scss +0 -0
- package/projects/client/src/app/components/tooltip/tooltip.component.ts +0 -15
- package/projects/client/src/assets/.gitkeep +0 -0
- package/projects/client/src/assets/Avatar.png +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 -44
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.module.ts +0 -26
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.scss +0 -326
- 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 -245
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.ts +0 -126
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.html +0 -50
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.scss +0 -62
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.spec.ts +0 -200
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.stories.ts +0 -121
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.ts +0 -184
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.html +0 -391
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.module.ts +0 -44
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.scss +0 -338
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.spec.ts +0 -532
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.stories.ts +0 -152
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.ts +0 -855
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.model.ts +0 -28
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.spec.ts +0 -33
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.ts +0 -19
- package/projects/tgo-canopy-ui/components/autocomplete/prevent-input.directive.spec.ts +0 -46
- package/projects/tgo-canopy-ui/components/autocomplete/prevent-input.directive.ts +0 -18
- package/projects/tgo-canopy-ui/components/autocomplete/transform-Item.pipe.ts +0 -25
- package/projects/tgo-canopy-ui/components/autocomplete/transform-item.pipe.spec.ts +0 -25
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.html +0 -32
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.scss +0 -81
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.spec.ts +0 -58
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.stories.ts +0 -113
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.ts +0 -93
- package/projects/tgo-canopy-ui/components/avatar/avatar.model.ts +0 -27
- package/projects/tgo-canopy-ui/components/badge/badge.component.html +0 -16
- package/projects/tgo-canopy-ui/components/badge/badge.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/badge/badge.component.scss +0 -203
- package/projects/tgo-canopy-ui/components/badge/badge.component.spec.ts +0 -67
- package/projects/tgo-canopy-ui/components/badge/badge.component.stories.ts +0 -69
- package/projects/tgo-canopy-ui/components/badge/badge.component.ts +0 -104
- package/projects/tgo-canopy-ui/components/badge/badge.model.ts +0 -64
- package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.html +0 -11
- package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.module.ts +0 -25
- package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.stories.ts +0 -30
- package/projects/tgo-canopy-ui/components/bars-demo/bars-demo.component.ts +0 -31
- package/projects/tgo-canopy-ui/components/button/button.component.html +0 -146
- package/projects/tgo-canopy-ui/components/button/button.component.module.ts +0 -29
- package/projects/tgo-canopy-ui/components/button/button.component.scss +0 -1051
- package/projects/tgo-canopy-ui/components/button/button.component.spec.ts +0 -288
- package/projects/tgo-canopy-ui/components/button/button.component.stories.ts +0 -516
- package/projects/tgo-canopy-ui/components/button/button.component.ts +0 -489
- package/projects/tgo-canopy-ui/components/button/button.model.ts +0 -28
- package/projects/tgo-canopy-ui/components/card/card.component.html +0 -17
- package/projects/tgo-canopy-ui/components/card/card.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/card/card.component.scss +0 -153
- package/projects/tgo-canopy-ui/components/card/card.component.spec.ts +0 -116
- package/projects/tgo-canopy-ui/components/card/card.component.stories.ts +0 -102
- package/projects/tgo-canopy-ui/components/card/card.component.ts +0 -129
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.html +0 -46
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.module.ts +0 -20
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.scss +0 -312
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.spec.ts +0 -263
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.stories.ts +0 -125
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.ts +0 -343
- package/projects/tgo-canopy-ui/components/checkbox/focus-visible.directive.spec.ts +0 -26
- package/projects/tgo-canopy-ui/components/checkbox/focus-visible.directive.ts +0 -29
- package/projects/tgo-canopy-ui/components/checklist/checklist.component.html +0 -63
- package/projects/tgo-canopy-ui/components/checklist/checklist.component.scss +0 -145
- package/projects/tgo-canopy-ui/components/checklist/checklist.component.spec.ts +0 -212
- package/projects/tgo-canopy-ui/components/checklist/checklist.component.stories.ts +0 -85
- package/projects/tgo-canopy-ui/components/checklist/checklist.component.ts +0 -169
- package/projects/tgo-canopy-ui/components/checklist/checklist.model.ts +0 -8
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.html +0 -20
- 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 -51
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.stories.ts +0 -37
- package/projects/tgo-canopy-ui/components/datepicker/date-adapter.spec.ts +0 -80
- package/projects/tgo-canopy-ui/components/datepicker/date-adapter.ts +0 -34
- 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 -242
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.stories.ts +0 -141
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.ts +0 -391
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.service.spec.ts +0 -30
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.service.ts +0 -16
- 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/dialog/dialog.component.html +0 -62
- 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 -225
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.stories.ts +0 -60
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.ts +0 -251
- package/projects/tgo-canopy-ui/components/dialog/dialog.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.spec.ts +0 -58
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.ts +0 -43
- 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.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.scss +0 -10
- 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 -47
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.html +0 -33
- 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 -80
- 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 -62
- 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 -281
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.spec.ts +0 -232
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.stories.ts +0 -248
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.ts +0 -381
- 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 -72
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.spec.ts +0 -110
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.stories.ts +0 -183
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.ts +0 -210
- package/projects/tgo-canopy-ui/components/field/field.component.html +0 -137
- package/projects/tgo-canopy-ui/components/field/field.component.module.ts +0 -33
- package/projects/tgo-canopy-ui/components/field/field.component.scss +0 -538
- package/projects/tgo-canopy-ui/components/field/field.component.spec.ts +0 -264
- package/projects/tgo-canopy-ui/components/field/field.component.stories.ts +0 -215
- package/projects/tgo-canopy-ui/components/field/field.component.ts +0 -523
- package/projects/tgo-canopy-ui/components/field/field.model.ts +0 -11
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.html +0 -110
- 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 -206
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.spec.ts +0 -135
- 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 -299
- 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 -34
- 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/filter-button/filter-button.component.html +0 -122
- package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.module.ts +0 -32
- package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.scss +0 -113
- package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.spec.ts +0 -189
- package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.stories.ts +0 -172
- package/projects/tgo-canopy-ui/components/filter-button/filter-button.component.ts +0 -243
- package/projects/tgo-canopy-ui/components/filter-button/filter-button.model.ts +0 -9
- package/projects/tgo-canopy-ui/components/form-demo/form-demo-component.stories.ts +0 -45
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.html +0 -220
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.module.ts +0 -36
- 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 -129
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.ts +0 -228
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.model.ts +0 -6
- package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.html +0 -92
- package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.scss +0 -161
- package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.spec.ts +0 -182
- package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.stories.ts +0 -113
- package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.component.ts +0 -275
- package/projects/tgo-canopy-ui/components/gaussian-chart/gaussian-chart.module.ts +0 -26
- package/projects/tgo-canopy-ui/components/icon/icon.component.html +0 -5
- package/projects/tgo-canopy-ui/components/icon/icon.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/icon/icon.component.scss +0 -72
- package/projects/tgo-canopy-ui/components/icon/icon.component.spec.ts +0 -156
- package/projects/tgo-canopy-ui/components/icon/icon.component.stories.ts +0 -68
- package/projects/tgo-canopy-ui/components/icon/icon.component.ts +0 -171
- package/projects/tgo-canopy-ui/components/icon/icon.config.ts +0 -700
- package/projects/tgo-canopy-ui/components/icon/icon.model.ts +0 -8
- 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 -59
- 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/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 -60
- 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 -166
- package/projects/tgo-canopy-ui/components/logo/logo.component.stories.ts +0 -55
- package/projects/tgo-canopy-ui/components/logo/logo.component.ts +0 -172
- package/projects/tgo-canopy-ui/components/logo/logo.model.ts +0 -30
- package/projects/tgo-canopy-ui/components/media-card/media-card.component.html +0 -17
- package/projects/tgo-canopy-ui/components/media-card/media-card.component.scss +0 -46
- package/projects/tgo-canopy-ui/components/media-card/media-card.component.spec.ts +0 -23
- package/projects/tgo-canopy-ui/components/media-card/media-card.component.stories.ts +0 -38
- package/projects/tgo-canopy-ui/components/media-card/media-card.component.ts +0 -46
- package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.html +0 -48
- package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.module.ts +0 -34
- package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.scss +0 -127
- package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.spec.ts +0 -87
- package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.stories.ts +0 -70
- package/projects/tgo-canopy-ui/components/multi-input/multi-input.component.ts +0 -335
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.html +0 -84
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.scss +0 -150
- 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 -79
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.html +0 -142
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.module.ts +0 -38
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.scss +0 -341
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.spec.ts +0 -164
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.stories.ts +0 -166
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.ts +0 -227
- package/projects/tgo-canopy-ui/components/navbar/navbar.model.ts +0 -26
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.html +0 -83
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.module.ts +0 -17
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.scss +0 -212
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.spec.ts +0 -149
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.stories.ts +0 -73
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.ts +0 -221
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.model.ts +0 -22
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.html +0 -38
- 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 -83
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.spec.ts +0 -36
- 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 -55
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.html +0 -11
- 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 -80
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.stories.ts +0 -36
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.ts +0 -77
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.html +0 -36
- 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 -90
- 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 -116
- 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 -81
- 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 -89
- 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 -264
- 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 -418
- 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 -22
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.scss +0 -164
- 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 -49
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.ts +0 -107
- 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 -199
- 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 -38
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.module.ts +0 -17
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.scss +0 -273
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.spec.ts +0 -179
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.stories.ts +0 -129
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.ts +0 -358
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.model.ts +0 -4
- 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 -32
- 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 -137
- 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/scale.component.html +0 -15
- package/projects/tgo-canopy-ui/components/scale/scale.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/scale/scale.component.scss +0 -94
- package/projects/tgo-canopy-ui/components/scale/scale.component.spec.ts +0 -208
- package/projects/tgo-canopy-ui/components/scale/scale.component.stories.ts +0 -60
- package/projects/tgo-canopy-ui/components/scale/scale.component.ts +0 -140
- package/projects/tgo-canopy-ui/components/scale-table/__snapshots__/scale-table.component.spec.ts.snap +0 -37
- package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.html +0 -34
- package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.scss +0 -69
- package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.spec.ts +0 -54
- package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.stories.ts +0 -53
- package/projects/tgo-canopy-ui/components/scale-table/scale-table.component.ts +0 -67
- package/projects/tgo-canopy-ui/components/scale-table/scale-table.model.ts +0 -10
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.html +0 -84
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.scss +0 -247
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.spec.ts +0 -81
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.stories.ts +0 -115
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.ts +0 -99
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.html +0 -18
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.scss +0 -97
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.spec.ts +0 -104
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.stories.ts +0 -87
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.ts +0 -110
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.model.ts +0 -9
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.animations.ts +0 -28
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.html +0 -31
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.scss +0 -76
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.spec.ts +0 -100
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.component.ts +0 -72
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.model.ts +0 -27
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.service.spec.ts +0 -115
- package/projects/tgo-canopy-ui/components/side-panel/side-panel.service.ts +0 -97
- 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 -96
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.spec.ts +0 -177
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.ts +0 -106
- 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 -117
- 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 -185
- package/projects/tgo-canopy-ui/components/slider/slider.component.module.ts +0 -8
- package/projects/tgo-canopy-ui/components/slider/slider.component.scss +0 -230
- package/projects/tgo-canopy-ui/components/slider/slider.component.spec.ts +0 -210
- package/projects/tgo-canopy-ui/components/slider/slider.component.stories.ts +0 -117
- package/projects/tgo-canopy-ui/components/slider/slider.component.ts +0 -264
- package/projects/tgo-canopy-ui/components/slider/slider.model.ts +0 -6
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.html +0 -53
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.module.ts +0 -17
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.scss +0 -44
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.spec.ts +0 -211
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.stories.ts +0 -160
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.ts +0 -204
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.spec.ts +0 -138
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.ts +0 -40
- package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.html +0 -91
- package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.scss +0 -74
- package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.spec.ts +0 -261
- package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.stories.ts +0 -273
- package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.component.ts +0 -442
- package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/spider-chart/spider-chart.module.ts +0 -27
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.html +0 -14
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.scss +0 -98
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.spec.ts +0 -122
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.stories.ts +0 -52
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.ts +0 -70
- package/projects/tgo-canopy-ui/components/spinner/spinner.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/step/step.component.html +0 -131
- package/projects/tgo-canopy-ui/components/step/step.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/step/step.component.scss +0 -431
- package/projects/tgo-canopy-ui/components/step/step.component.spec.ts +0 -61
- package/projects/tgo-canopy-ui/components/step/step.component.ts +0 -253
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.html +0 -111
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.module.ts +0 -25
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.scss +0 -200
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.spec.ts +0 -153
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.stories.ts +0 -97
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.ts +0 -189
- package/projects/tgo-canopy-ui/components/stepper/stepper.model.ts +0 -25
- 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 -345
- package/projects/tgo-canopy-ui/components/table/table.component.module.ts +0 -35
- package/projects/tgo-canopy-ui/components/table/table.component.scss +0 -344
- 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 -780
- package/projects/tgo-canopy-ui/components/table/table.component.ts +0 -305
- package/projects/tgo-canopy-ui/components/table/table.model.ts +0 -117
- package/projects/tgo-canopy-ui/components/tabs/tab.directive.spec.ts +0 -77
- package/projects/tgo-canopy-ui/components/tabs/tab.directive.ts +0 -53
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.html +0 -47
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.module.ts +0 -14
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.scss +0 -264
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.spec.ts +0 -308
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.stories.ts +0 -73
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.ts +0 -186
- package/projects/tgo-canopy-ui/components/tabs/tabs.model.ts +0 -15
- package/projects/tgo-canopy-ui/components/tag/tag.component.html +0 -30
- package/projects/tgo-canopy-ui/components/tag/tag.component.module.ts +0 -16
- package/projects/tgo-canopy-ui/components/tag/tag.component.scss +0 -148
- package/projects/tgo-canopy-ui/components/tag/tag.component.spec.ts +0 -288
- package/projects/tgo-canopy-ui/components/tag/tag.component.stories.ts +0 -128
- package/projects/tgo-canopy-ui/components/tag/tag.component.ts +0 -225
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.html +0 -37
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.module.ts +0 -16
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.scss +0 -273
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.spec.ts +0 -240
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.stories.ts +0 -105
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.ts +0 -201
- package/projects/tgo-canopy-ui/components/tooltip/tooltip-template.directive.spec.ts +0 -84
- package/projects/tgo-canopy-ui/components/tooltip/tooltip-template.directive.ts +0 -148
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.html +0 -52
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.module.ts +0 -17
- 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 -296
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.ts +0 -105
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.model.ts +0 -9
- package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.html +0 -80
- package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.module.ts +0 -26
- package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.scss +0 -135
- package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.spec.ts +0 -61
- package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.stories.ts +0 -109
- package/projects/tgo-canopy-ui/components/universal-skills-report/universal-skills-report.component.ts +0 -88
- package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.html +0 -8
- package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.module.ts +0 -30
- package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.scss +0 -12
- package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.spec.ts +0 -130
- package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.stories.ts +0 -168
- package/projects/tgo-canopy-ui/components/universal-skills-spider-charts/universal-skills-spider-charts.component.ts +0 -125
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.html +0 -34
- 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 -46
- 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 -156
- package/projects/tgo-canopy-ui/directives/digits-only.directive.ts +0 -65
- 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/dynamic-component.directive.ts +0 -46
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.spec.ts +0 -57
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.ts +0 -40
- 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-element.directive.spec.ts +0 -97
- package/projects/tgo-canopy-ui/directives/step-line-element.directive.ts +0 -43
- 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 -322
- 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 -437
- 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/keyboard-events.model.ts +0 -11
- package/projects/tgo-canopy-ui/models/screen-breakpoints.model.ts +0 -4
- package/projects/tgo-canopy-ui/models/universal-skills-report.model.ts +0 -53
- package/projects/tgo-canopy-ui/pipes/data-property-getter.spec.ts +0 -63
- 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/memoize-func.pipe.spec.ts +0 -28
- package/projects/tgo-canopy-ui/pipes/memoize-func.pipe.ts +0 -34
- 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-ordinal-suffix.pipe.spec.ts +0 -43
- package/projects/tgo-canopy-ui/pipes/ui-ordinal-suffix.pipe.ts +0 -28
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.spec.ts +0 -66
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.ts +0 -79
- 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 -227
- 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/services/icons.service.spec.ts +0 -35
- package/projects/tgo-canopy-ui/services/icons.service.ts +0 -16
- package/projects/tgo-canopy-ui/services/universal-skills.service.spec.ts +0 -50
- package/projects/tgo-canopy-ui/services/universal-skills.service.ts +0 -91
- 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 -37
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.spec.ts +0 -68
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.ts +0 -84
- 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/hex-to-rgb.spec.ts +0 -23
- package/projects/tgo-canopy-ui/utils/hex-to-rgb.ts +0 -10
- 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 -43
- 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/alert-banner-component.ts +0 -44
- package/visual-tests/component-page-objects/avatar-component.ts +0 -30
- package/visual-tests/component-page-objects/badge-component.ts +0 -33
- package/visual-tests/component-page-objects/base-component.ts +0 -44
- package/visual-tests/component-page-objects/button-component.ts +0 -58
- package/visual-tests/component-page-objects/card-component.ts +0 -28
- package/visual-tests/component-page-objects/checkbox-component.ts +0 -38
- package/visual-tests/component-page-objects/field-component.ts +0 -68
- package/visual-tests/component-page-objects/icon-component.ts +0 -32
- package/visual-tests/component-page-objects/logo-component.ts +0 -28
- package/visual-tests/component-page-objects/radio-button-component.ts +0 -44
- package/visual-tests/component-page-objects/snackbar-component.ts +0 -43
- package/visual-tests/component-page-objects/spinner-component.ts +0 -26
- package/visual-tests/component-page-objects/tooltip-component.ts +0 -26
- package/visual-tests/component-tests/alert-banner.spec.ts +0 -64
- package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Banner-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Banner-with-dismiss-button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Banner-with-link-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/alert-banner.spec.ts-snapshots/Alert-Banner-Component-Visual-Tests-should-display-the-Alert-Callout-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/avatar.spec.ts +0 -91
- 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-large-avatar-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-medium-avatar-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-small-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/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-image-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-emit-edit-click-event-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/badge.spec.ts +0 -56
- package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-notification-badge-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-secondary-badge-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-the-badge-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/badge.spec.ts-snapshots/Badge-Component-Visual-Tests-should-display-the-badge-with-icon-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts +0 -371
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-full-width-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-icon-left-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-icon-right-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-menu-cell-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-Button-menu-trigger-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-destructive-button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-disabled-Button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-disabled-scale-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-ghost-button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-only-Button-icon-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-premium-Button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-secondary-button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-tertiary-button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-text-button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-the-Button-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-display-the-Button-link-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/button.spec.ts-snapshots/Button-Component-Visual-Tests-should-emit-edit-click-event-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/card.spec.ts +0 -64
- package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-card-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-card-with-errors-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-large-card-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-small-card-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/card.spec.ts-snapshots/Card-Component-Visual-Tests-should-display-the-state-card-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts +0 -151
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-checked-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-disabled-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-error-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-indeterminate-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-multiple-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-multiple-error-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-set-company-color-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/checkbox.spec.ts-snapshots/Checkbox-Component-Visual-Tests-should-display-the-checkbox-without-lable-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts +0 -514
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-Collapsed-search-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-disable-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-email-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-loading-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-multi-line-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-number-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-password-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-required-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-search-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-tel-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-textarea-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-validation-text-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-with-errors-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/field.spec.ts-snapshots/Field-Component-Visual-Tests-should-display-the-field-without-label-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/icon.spec.ts +0 -41
- package/visual-tests/component-tests/icon.spec.ts-snapshots/Icon-Component-Visual-Tests-should-display-red-the-icon-color-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/icon.spec.ts-snapshots/Icon-Component-Visual-Tests-should-display-the-icon-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/icon.spec.ts-snapshots/Icon-Component-Visual-Tests-should-display-the-icon-small-size-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/logo.spec.ts +0 -54
- package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-custom-width-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-powered-by-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/logo.spec.ts-snapshots/Logo-Component-Visual-Tests-should-display-the-logo-reverse-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/radio-button.spec.ts +0 -115
- package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-disable-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-multiple-error-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-selected-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-single-error-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-with-label-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/radio-button.spec.ts-snapshots/Radio-Component-Visual-Tests-should-display-the-Radio-with-label-multiple-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/snackbar.spec.ts +0 -107
- package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-error-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-hyperlink-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-info-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-mobile-variant-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/snackbar.spec.ts-snapshots/Snackbar-Component-Visual-Tests-should-display-the-snackbar-without-dismiss-button-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/spinner.spec.ts +0 -25
- package/visual-tests/component-tests/spinner.spec.ts-snapshots/Spinner-Component-Visual-Tests-should-display-the-spinner-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/spinner.spec.ts-snapshots/Spinner-Component-Visual-Tests-should-display-the-spinner-small-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/tooltip.spec.ts +0 -17
- package/visual-tests/component-tests/tooltip.spec.ts-snapshots/Tooltip-Component-Visual-Tests-should-display-the-tooltip-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/multi-input/multi-input.model.ts → components/multi-input/multi-input.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/models/checkbox.model.ts → models/checkbox.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,77 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AutocompleteComponent } from './autocomplete.component';
|
|
4
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
5
|
+
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
6
|
+
import { MatInputModule } from '@angular/material/input';
|
|
7
|
+
import { FormsModule } from '@angular/forms';
|
|
8
|
+
import { TagComponentModule } from '../tag/tag.component.module';
|
|
9
|
+
import { MatChipsModule } from '@angular/material/chips';
|
|
10
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
11
|
+
import { TransformItemPipe } from './transform-Item.pipe';
|
|
12
|
+
import { IncludesPipe } from './includes.pipe';
|
|
13
|
+
import { SelectTextDirective } from '../../directives/select-text.directive';
|
|
14
|
+
import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
|
|
15
|
+
import { ValidationErrorModule } from '../validation-error/validation-error.module';
|
|
16
|
+
import { HasValidationErrorPipe } from '../../pipes/has-validation-error.pipe';
|
|
17
|
+
import { CdkFixedSizeVirtualScroll, CdkVirtualForOf, CdkVirtualScrollViewport } from "@angular/cdk/scrolling";
|
|
18
|
+
import { PreventInputDirective } from "./prevent-input.directive";
|
|
19
|
+
import { SpinnerComponentModule } from '../spinner/spinner.module';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
21
|
+
export class AutocompleteComponentModule {
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutocompleteComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
23
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: AutocompleteComponentModule, declarations: [AutocompleteComponent, TransformItemPipe, IncludesPipe, SelectTextDirective], imports: [CommonModule,
|
|
24
|
+
MatFormFieldModule,
|
|
25
|
+
MatAutocompleteModule,
|
|
26
|
+
MatInputModule,
|
|
27
|
+
FormsModule,
|
|
28
|
+
TagComponentModule,
|
|
29
|
+
MatChipsModule,
|
|
30
|
+
IconComponentModule,
|
|
31
|
+
UiTranslatePipe,
|
|
32
|
+
ValidationErrorModule,
|
|
33
|
+
HasValidationErrorPipe,
|
|
34
|
+
CdkVirtualForOf,
|
|
35
|
+
CdkVirtualScrollViewport,
|
|
36
|
+
CdkFixedSizeVirtualScroll,
|
|
37
|
+
PreventInputDirective,
|
|
38
|
+
SpinnerComponentModule], exports: [AutocompleteComponent] }); }
|
|
39
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutocompleteComponentModule, providers: [TransformItemPipe, IncludesPipe, SelectTextDirective], imports: [CommonModule,
|
|
40
|
+
MatFormFieldModule,
|
|
41
|
+
MatAutocompleteModule,
|
|
42
|
+
MatInputModule,
|
|
43
|
+
FormsModule,
|
|
44
|
+
TagComponentModule,
|
|
45
|
+
MatChipsModule,
|
|
46
|
+
IconComponentModule,
|
|
47
|
+
ValidationErrorModule,
|
|
48
|
+
CdkVirtualScrollViewport,
|
|
49
|
+
SpinnerComponentModule] }); }
|
|
50
|
+
}
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AutocompleteComponentModule, decorators: [{
|
|
52
|
+
type: NgModule,
|
|
53
|
+
args: [{
|
|
54
|
+
declarations: [AutocompleteComponent, TransformItemPipe, IncludesPipe, SelectTextDirective],
|
|
55
|
+
imports: [
|
|
56
|
+
CommonModule,
|
|
57
|
+
MatFormFieldModule,
|
|
58
|
+
MatAutocompleteModule,
|
|
59
|
+
MatInputModule,
|
|
60
|
+
FormsModule,
|
|
61
|
+
TagComponentModule,
|
|
62
|
+
MatChipsModule,
|
|
63
|
+
IconComponentModule,
|
|
64
|
+
UiTranslatePipe,
|
|
65
|
+
ValidationErrorModule,
|
|
66
|
+
HasValidationErrorPipe,
|
|
67
|
+
CdkVirtualForOf,
|
|
68
|
+
CdkVirtualScrollViewport,
|
|
69
|
+
CdkFixedSizeVirtualScroll,
|
|
70
|
+
PreventInputDirective,
|
|
71
|
+
SpinnerComponentModule
|
|
72
|
+
],
|
|
73
|
+
exports: [AutocompleteComponent],
|
|
74
|
+
providers: [TransformItemPipe, IncludesPipe, SelectTextDirective],
|
|
75
|
+
}]
|
|
76
|
+
}] });
|
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvYXV0b2NvbXBsZXRlL2F1dG9jb21wbGV0ZS5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ2xFLE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1bGUsXG4gICAgICAgIFRhZ0NvbXBvbmVudE1vZHVsZSxcbiAgICAgICAgTWF0Q2hpcHNNb2R1bGUsXG4gICAgICAgIEljb25Db21wb25lbnRNb2R1bGUsXG4gICAgICAgIFVpVHJhbnNsYXRlUGlwZSxcbiAgICAgICAgVmFsaWRhdGlvbkVycm9yTW9kdWxlLFxuICAgICAgICBIYXNWYWxpZGF0aW9uRXJyb3JQaXBlLFxuICAgICAgICBDZGtWaXJ0dWFsRm9yT2YsXG4gICAgICAgIENka1ZpcnR1YWxTY3JvbGxWaWV3cG9ydCxcbiAgICAgICAgQ2RrRml4ZWRTaXplVmlydHVhbFNjcm9sbCxcbiAgICAgICAgUHJldmVudElucHV0RGlyZWN0aXZlLFxuICAgICAgICBTcGlubmVyQ29tcG9uZW50TW9kdWxlXG4gICAgXSxcbiAgZXhwb3J0czogW0F1dG9jb21wbGV0ZUNvbXBvbmVudF0sXG4gIHByb3ZpZGVyczogW1RyYW5zZm9ybUl0ZW1QaXBlLCBJbmNsdWRlc1BpcGUsIFNlbGVjdFRleHREaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBBdXRvY29tcGxldGVDb21wb25lbnRNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export var Autocomplete;
|
|
2
|
+
(function (Autocomplete) {
|
|
3
|
+
Autocomplete["SINGLE"] = "single";
|
|
4
|
+
Autocomplete["MULTI"] = "multi";
|
|
5
|
+
Autocomplete["LARGE"] = "large";
|
|
6
|
+
})(Autocomplete || (Autocomplete = {}));
|
|
7
|
+
export var Padding;
|
|
8
|
+
(function (Padding) {
|
|
9
|
+
Padding[Padding["AUTOCOMPLETE_CONTAINER"] = 40] = "AUTOCOMPLETE_CONTAINER";
|
|
10
|
+
Padding[Padding["DROPDOWN_CONTAINER"] = 60] = "DROPDOWN_CONTAINER";
|
|
11
|
+
Padding[Padding["AUTOCOMPLETE_SPACE_CONTAINER"] = 65] = "AUTOCOMPLETE_SPACE_CONTAINER";
|
|
12
|
+
Padding[Padding["DROPDOWN_SPACE_CONTAINER"] = 85] = "DROPDOWN_SPACE_CONTAINER";
|
|
13
|
+
})(Padding || (Padding = {}));
|
|
14
|
+
export const AMOUNT_TAG_WIDTH = 33;
|
|
15
|
+
export var Timeout;
|
|
16
|
+
(function (Timeout) {
|
|
17
|
+
Timeout[Timeout["VIEW_INITIALIZED_AFTER_ACTION"] = 150] = "VIEW_INITIALIZED_AFTER_ACTION";
|
|
18
|
+
Timeout[Timeout["VIEW_INITIALIZED_COMPONENT_LOAD"] = 600] = "VIEW_INITIALIZED_COMPONENT_LOAD";
|
|
19
|
+
})(Timeout || (Timeout = {}));
|
|
20
|
+
export var DropdownVariation;
|
|
21
|
+
(function (DropdownVariation) {
|
|
22
|
+
DropdownVariation["AUTOCOMPLETE"] = "autocomplete";
|
|
23
|
+
DropdownVariation["DROPDOWN"] = "dropdown";
|
|
24
|
+
})(DropdownVariation || (DropdownVariation = {}));
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXV0b2NvbXBsZXRlLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2F1dG9jb21wbGV0ZS9hdXRvY29tcGxldGUubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFOLElBQVksWUFJWDtBQUpELFdBQVksWUFBWTtJQUN0QixpQ0FBaUIsQ0FBQTtJQUNqQiwrQkFBZSxDQUFBO0lBQ2YsK0JBQWUsQ0FBQTtBQUNqQixDQUFDLEVBSlcsWUFBWSxLQUFaLFlBQVksUUFJdkI7QUFFRCxNQUFNLENBQU4sSUFBWSxPQUtYO0FBTEQsV0FBWSxPQUFPO0lBQ2pCLDBFQUEyQixDQUFBO0lBQzNCLGtF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TUwLFxuICBWSUVXX0lOSVRJQUxJWkVEX0NPTVBPTkVOVF9MT0FEID0gNjAwLFxufVxuXG5leHBvcnQgZW51bSBEcm9wZG93blZhcmlhdGlvbiB7XG4gIEFVVE9DT01QTEVURSA9ICdhdXRvY29tcGxldGUnLFxuICBEUk9QRE9XTiA9ICdkcm9wZG93bicsXG59XG5cbmV4cG9ydCB0eXBlIEF1dG9jb21wbGV0ZVNpemUgPSAnc21hbGwnIHwgJ21lZGl1bSc7XG4iXX0=
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* The purpose of this pipe is to determine if the value is present in the values array.
|
|
5
|
+
* If values is an array, the method uses the includes method to check for inclusion.
|
|
6
|
+
* If values is not an array, it checks for strict equality between value and values.
|
|
7
|
+
*/
|
|
8
|
+
export class IncludesPipe {
|
|
9
|
+
transform(value, values, valueField) {
|
|
10
|
+
return Array.isArray(values)
|
|
11
|
+
? !!values?.find(v => (valueField ? v?.[valueField] === value?.[valueField] : value === v))
|
|
12
|
+
: valueField
|
|
13
|
+
? value?.[valueField] === values?.[valueField]
|
|
14
|
+
: value === values;
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IncludesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
17
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: IncludesPipe, name: "includes" }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: IncludesPipe, decorators: [{
|
|
20
|
+
type: Pipe,
|
|
21
|
+
args: [{
|
|
22
|
+
name: 'includes',
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceM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
+
export class PreventInputDirective {
|
|
4
|
+
onKeyDown(event) {
|
|
5
|
+
const allowedKeys = [
|
|
6
|
+
'ArrowLeft', 'ArrowRight', 'ArrowUp', 'ArrowDown', 'Backspace', 'Tab', 'Delete', 'Control', 'Shift', 'Alt'
|
|
7
|
+
];
|
|
8
|
+
if (!allowedKeys.includes(event.key) && !event.ctrlKey && !event.metaKey && this.uiPreventInput) {
|
|
9
|
+
event.preventDefault();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreventInputDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: PreventInputDirective, isStandalone: true, selector: "[uiPreventInput]", inputs: { uiPreventInput: "uiPreventInput" }, host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PreventInputDirective, decorators: [{
|
|
16
|
+
type: Directive,
|
|
17
|
+
args: [{
|
|
18
|
+
selector: '[uiPreventInput]',
|
|
19
|
+
standalone: true
|
|
20
|
+
}]
|
|
21
|
+
}], propDecorators: { uiPreventInput: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], onKeyDown: [{
|
|
24
|
+
type: HostListener,
|
|
25
|
+
args: ['keydown', ['$event']]
|
|
26
|
+
}] } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJldmVudC1pbnB1dC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvYXV0b2NvbXBsZXRlL3By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XZlbnRJbnB1dF0nLFxuICBzdGFuZGFsb25lOiB0cnVlXG59KVxuZXhwb3J0IGNsYXNzIFByZXZlbnRJbnB1dERpcmVjdGl2ZSB7XG4gIEBJbnB1dCgpIHVpUHJldmVudElucHV0OiBib29sZWFuO1xuICBASG9zdExpc3RlbmVyKCdrZXlkb3duJywgWyckZXZlbnQnXSlcbiAgb25LZXlEb3duKGV2ZW50OiBLZXlib2FyZEV2ZW50KTogdm9pZCB7XG4gICAgY29uc3QgYWxsb3dlZEtleXMgPSBbXG4gICAgICAnQXJyb3dMZWZ0JywgJ0Fycm93UmlnaHQnLCAnQXJyb3dVcCcsICdBcnJvd0Rvd24nLCAnQmFja3NwYWNlJywgJ1RhYicsICdEZWxldGUnLCAnQ29udHJvbCcsICdTaGlmdCcsICdBbHQnXG4gICAgXTtcbiAgICBpZiAoIWFsbG93ZWRLZXlzLmluY2x1ZGVzKGV2ZW50LmtleSkgJiYgIWV2ZW50LmN0cmxLZXkgJiYgIWV2ZW50Lm1ldGFLZXkgJiYgdGhpcy51aVByZXZlbnRJbnB1dCkge1xuICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Pipe } from '@angular/core';
|
|
2
|
+
import { AutocompleteUtils } from '../../utils/autocomplete-utils';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* the TransformItemPipe is designed to selectively extract and return values from objects based on a specified field,
|
|
6
|
+
* providing a way to transform and display data a template.
|
|
7
|
+
*/
|
|
8
|
+
export class TransformItemPipe {
|
|
9
|
+
transform(value, field, getValueList = false) {
|
|
10
|
+
if (getValueList) {
|
|
11
|
+
return AutocompleteUtils.isArray(value) ? value.map((item) => field ? item[field] : item) : field ? value?.[field] : value;
|
|
12
|
+
}
|
|
13
|
+
if (AutocompleteUtils.isPrimitive(value)) {
|
|
14
|
+
return value;
|
|
15
|
+
}
|
|
16
|
+
else if (!AutocompleteUtils.isPrimitive(value) && field && (value?.[field] || value[0][field])) {
|
|
17
|
+
return value?.[field] || value[0][field];
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
AutocompleteUtils.throwInvalidSetupError();
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TransformItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
24
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: TransformItemPipe, name: "transformItem" }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TransformItemPipe, decorators: [{
|
|
27
|
+
type: Pipe,
|
|
28
|
+
args: [{
|
|
29
|
+
name: 'transformItem',
|
|
30
|
+
}]
|
|
31
|
+
}] });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhbnNmb3JtLUl0ZW0ucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9hdXRvY29tcGxldGUvdHJhbnNmb3JtLUl0ZW0ucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUNwRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQ0FBZ0MsQ0FBQzs7QUFFbkU7OztHQUdHO0FBSUgsTUFBTSxPQUFPLGlCQUFpQjtJQUM1QixTQUFTLENBQUMsS0FBVSxFQUFFLEtBQWEsRUFBRSxlQUF3QixLQUFLO1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GQgJiYgKHZhbHVlPy5bZmllbGRdIHx8IHZhbHVlWzBdW2ZpZWxkXSkpIHtcbiAgICAgIHJldHVybiB2YWx1ZT8uW2ZpZWxkXSB8fCB2YWx1ZVswXVtmaWVsZF07XG4gICAgfSBlbHNlIHtcbiAgICAgIEF1dG9jb21wbGV0ZVV0aWxzLnRocm93SW52YWxpZFNldHVwRXJyb3IoKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';
|
|
2
|
+
import { AvatarSize, iconSize, AvatarBackgroundColor } from './avatar.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../icon/icon.component";
|
|
6
|
+
import * as i3 from "../button/button.component";
|
|
7
|
+
import * as i4 from "../../pipes/ui-translate.pipe";
|
|
8
|
+
import * as i5 from "../../pipes/name-initials.pipe";
|
|
9
|
+
export class AvatarComponent {
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* Defines the background color
|
|
13
|
+
*
|
|
14
|
+
* @type {BackgroundAvatarColorType}
|
|
15
|
+
* @memberof AvatarComponent
|
|
16
|
+
*/
|
|
17
|
+
set backgroundColor(colorName) {
|
|
18
|
+
this.backgroundAvatarColor = AvatarBackgroundColor[colorName.toUpperCase()];
|
|
19
|
+
}
|
|
20
|
+
constructor(defaultAppTheme) {
|
|
21
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
22
|
+
/**
|
|
23
|
+
* Input property for specifying the size of the avatar.
|
|
24
|
+
* @type {AvatarSize}
|
|
25
|
+
* @default AvatarSize.SMALL
|
|
26
|
+
* @memberof AvatarComponent
|
|
27
|
+
*/
|
|
28
|
+
this.size = AvatarSize.SMALL;
|
|
29
|
+
/**
|
|
30
|
+
* Input property for specifying the URL of the image to display in the avatar.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AvatarComponent
|
|
33
|
+
*/
|
|
34
|
+
this.imageUrl = '';
|
|
35
|
+
/**
|
|
36
|
+
* Input property for specifying the initials to display in the avatar.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof AvatarComponent
|
|
39
|
+
*/
|
|
40
|
+
this.name = '';
|
|
41
|
+
/**
|
|
42
|
+
* Input property for specifying the tooltip text for edit.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof AvatarComponent
|
|
45
|
+
*/
|
|
46
|
+
this.tooltipText = '';
|
|
47
|
+
/**
|
|
48
|
+
* Input property that makes avatar editable.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof AvatarComponent
|
|
51
|
+
*/
|
|
52
|
+
this.allowEdit = false;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* Defines the application theme where
|
|
56
|
+
*
|
|
57
|
+
* @type {ApplicationTheme}
|
|
58
|
+
* @memberof AvatarComponent
|
|
59
|
+
*/
|
|
60
|
+
this.applicationTheme = 'light';
|
|
61
|
+
/**
|
|
62
|
+
* Event emitted when the edit button is clicked.
|
|
63
|
+
* @type {Event}
|
|
64
|
+
* @memberof AvatarComponent
|
|
65
|
+
*/
|
|
66
|
+
this.editClick = new EventEmitter();
|
|
67
|
+
this.iconSize = iconSize;
|
|
68
|
+
this.avatarSize = AvatarSize;
|
|
69
|
+
if (defaultAppTheme) {
|
|
70
|
+
this.applicationTheme = defaultAppTheme;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
onEditClick(event) {
|
|
74
|
+
this.editClick.emit(event);
|
|
75
|
+
}
|
|
76
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AvatarComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
77
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AvatarComponent, selector: "ui-avatar", inputs: { size: "size", imageUrl: "imageUrl", name: "name", tooltipText: "tooltipText", allowEdit: "allowEdit", applicationTheme: "applicationTheme", backgroundColor: "backgroundColor" }, outputs: { editClick: "editClick" }, ngImport: i0, template: "<div\n class=\"avatar-container\"\n [attr.type]=\"!imageUrl && !name ? 'icon' : 'initials'\"\n [ngClass]=\"[size]\"\n [attr.theme]=\"applicationTheme\"\n [ngStyle]=\"{ backgroundColor: backgroundAvatarColor }\"\n>\n <span *ngIf=\"name && !imageUrl\">\n {{ name | nameInitials }}\n </span>\n <img [attr.aria-hidden]=\"true\" *ngIf=\"imageUrl\" [attr.src]=\"imageUrl\" [alt]=\"\">\n <ui-icon\n *ngIf=\"!imageUrl && !name\"\n [attr.aria-hidden]=\"true\"\n [color]=\"applicationTheme === 'classic' ? 'dark' : 'rebrand-black'\"\n [applicationTheme]=\"applicationTheme\"\n [size]=\"iconSize[size]\"\n [name]=\"'User-profile'\"\n ></ui-icon>\n <div class=\"edit-avatar\" *ngIf=\"size === avatarSize.LARGE && allowEdit\">\n <ui-button\n [applicationTheme]=\"applicationTheme\"\n [companyColor]=\"'black'\"\n [size]=\"'small'\"\n [iconName]=\"'Edit'\"\n [variant]=\"'icon-button'\"\n [tooltip]=\"tooltipText\"\n [ariaLabel]=\"(('AVATAR.EDIT_AVATAR') | uiTranslate | async)!\"\n (buttonClickEvent)=\"onEditClick($event)\"\n ></ui-button>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host .clickable{cursor:pointer}:host .non-clickable{pointer-events:none}:host .avatar-container{font-family:Open Sans,sans-serif;font-weight:400;display:flex;justify-content:center;align-items:center;border-radius:100%;background:#cbd6cb;position:relative;-webkit-user-select:none;user-select:none}:host .avatar-container[type=icon]{background:#e0e0e0}:host .avatar-container img{width:100%;height:100%;object-fit:cover;border-radius:100%}:host .avatar-container.small{width:24px;height:24px;font-size:10px}:host .avatar-container.smallMedium{width:36px;height:36px;font-size:14px}:host .avatar-container.medium{width:48px;height:48px;font-size:20px}:host .avatar-container.large{width:120px;height:120px;font-size:50px;letter-spacing:-2}:host .avatar-container .edit-avatar{display:flex;justify-content:center;align-items:center;position:absolute;right:0;bottom:0;background:#f6f6f6;width:32px;height:32px;border-radius:100%}:host .avatar-container[theme=dark],:host .avatar-container[theme=light]{background:#e9e9e9;color:#242424}:host .avatar-container[theme=dark] .edit-avatar,:host .avatar-container[theme=light] .edit-avatar{box-shadow:0 4px 16px #24242414;background:#fff}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme", "useFullIconName"] }, { kind: "component", type: i3.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.UiTranslatePipe, name: "uiTranslate" }, { kind: "pipe", type: i5.NameInitialsPipe, name: "nameInitials" }] }); }
|
|
78
|
+
}
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AvatarComponent, decorators: [{
|
|
80
|
+
type: Component,
|
|
81
|
+
args: [{ selector: 'ui-avatar', template: "<div\n class=\"avatar-container\"\n [attr.type]=\"!imageUrl && !name ? 'icon' : 'initials'\"\n [ngClass]=\"[size]\"\n [attr.theme]=\"applicationTheme\"\n [ngStyle]=\"{ backgroundColor: backgroundAvatarColor }\"\n>\n <span *ngIf=\"name && !imageUrl\">\n {{ name | nameInitials }}\n </span>\n <img [attr.aria-hidden]=\"true\" *ngIf=\"imageUrl\" [attr.src]=\"imageUrl\" [alt]=\"\">\n <ui-icon\n *ngIf=\"!imageUrl && !name\"\n [attr.aria-hidden]=\"true\"\n [color]=\"applicationTheme === 'classic' ? 'dark' : 'rebrand-black'\"\n [applicationTheme]=\"applicationTheme\"\n [size]=\"iconSize[size]\"\n [name]=\"'User-profile'\"\n ></ui-icon>\n <div class=\"edit-avatar\" *ngIf=\"size === avatarSize.LARGE && allowEdit\">\n <ui-button\n [applicationTheme]=\"applicationTheme\"\n [companyColor]=\"'black'\"\n [size]=\"'small'\"\n [iconName]=\"'Edit'\"\n [variant]=\"'icon-button'\"\n [tooltip]=\"tooltipText\"\n [ariaLabel]=\"(('AVATAR.EDIT_AVATAR') | uiTranslate | async)!\"\n (buttonClickEvent)=\"onEditClick($event)\"\n ></ui-button>\n </div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host .clickable{cursor:pointer}:host .non-clickable{pointer-events:none}:host .avatar-container{font-family:Open Sans,sans-serif;font-weight:400;display:flex;justify-content:center;align-items:center;border-radius:100%;background:#cbd6cb;position:relative;-webkit-user-select:none;user-select:none}:host .avatar-container[type=icon]{background:#e0e0e0}:host .avatar-container img{width:100%;height:100%;object-fit:cover;border-radius:100%}:host .avatar-container.small{width:24px;height:24px;font-size:10px}:host .avatar-container.smallMedium{width:36px;height:36px;font-size:14px}:host .avatar-container.medium{width:48px;height:48px;font-size:20px}:host .avatar-container.large{width:120px;height:120px;font-size:50px;letter-spacing:-2}:host .avatar-container .edit-avatar{display:flex;justify-content:center;align-items:center;position:absolute;right:0;bottom:0;background:#f6f6f6;width:32px;height:32px;border-radius:100%}:host .avatar-container[theme=dark],:host .avatar-container[theme=light]{background:#e9e9e9;color:#242424}:host .avatar-container[theme=dark] .edit-avatar,:host .avatar-container[theme=light] .edit-avatar{box-shadow:0 4px 16px #24242414;background:#fff}\n"] }]
|
|
82
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
83
|
+
type: Optional
|
|
84
|
+
}, {
|
|
85
|
+
type: Inject,
|
|
86
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
87
|
+
}] }], propDecorators: { size: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}], imageUrl: [{
|
|
90
|
+
type: Input
|
|
91
|
+
}], name: [{
|
|
92
|
+
type: Input
|
|
93
|
+
}], tooltipText: [{
|
|
94
|
+
type: Input
|
|
95
|
+
}], allowEdit: [{
|
|
96
|
+
type: Input
|
|
97
|
+
}], applicationTheme: [{
|
|
98
|
+
type: Input
|
|
99
|
+
}], backgroundColor: [{
|
|
100
|
+
type: Input
|
|
101
|
+
}], editClick: [{
|
|
102
|
+
type: Output
|
|
103
|
+
}] } });
|
|
104
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9hdmF0YXIvYXZhdGFyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9hdmF0YXIvYXZhdGFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQU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wiIFthbHRdPVwiXCI+XG4gIDx1aS1pY29uXG4gICAgKm5nSWY9XCIhaW1hZ2VVcmwgJiYgIW5hbWVcIlxuICAgIFthdHRyLmFyaWEtaGlkZGVuXT1cInRydWVcIlxuICAgIFtjb2xvcl09XCJhcHBsaWNhdGlvblRoZW1lID09PSAnY2xhc3NpYycgPyAnZGFyaycgOiAncmVicmFuZC1ibGFjaydcIlxuICAgIFthcHBsaWNhdGlvblRoZW1lXT1cImFwcGxpY2F0aW9uVGhlbWVcIlxuICAgIFtzaXplXT1cImljb25TaXplW3NpemVdXCJcbiAgICBbbmFtZV09XCInVXNlci1wcm9maWxlJ1wiXG4gID48L3VpLWljb24+XG4gIDxkaXYgY2xhc3M9XCJlZGl0LWF2YXRhclwiICpuZ0lmPVwic2l6ZSA9PT0gYXZhdGFyU2l6ZS5MQVJHRSAmJiBhbGxvd0VkaXRcIj5cbiAgICA8dWktYnV0dG9uXG4gICAgICBbYXBwbGljYXRpb25UaGVtZV09XCJhcHBsaWNhdGlvblRoZW1lXCJcbiAgICAgIFtjb21wYW55Q29sb3JdPVwiJ2JsYWNrJ1wiXG4gICAgICBbc2l6ZV09XCInc21hbGwnXCJcbiAgICAgIFtpY29uTmFtZV09XCInRWRpdCdcIlxuICAgICAgW3ZhcmlhbnRdPVwiJ2ljb24tYnV0dG9uJ1wiXG4gICAgICBbdG9vbHRpcF09XCJ0b29sdGlwVGV4dFwiXG4gICAgICBbYXJpYUxhYmVsXT1cIigoJ0FWQVRBUi5FRElUX0FWQVRBUicpIHwgdWlUcmFuc2xhdGUgfCBhc3luYykhXCJcbiAgICAgIChidXR0b25DbGlja0V2ZW50KT1cIm9uRWRpdENsaWNrKCRldmVudClcIlxuICAgID48L3VpLWJ1dHRvbj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { AvatarComponent } from './avatar.component';
|
|
4
|
+
import { NameInitialsPipe } from '../../pipes/name-initials.pipe';
|
|
5
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
6
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
7
|
+
import { ButtonComponentModule } from '../button/button.component.module';
|
|
8
|
+
import { UiTranslatePipe } from "../../pipes/ui-translate.pipe";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class AvatarComponentModule {
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AvatarComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: AvatarComponentModule, declarations: [AvatarComponent, NameInitialsPipe], imports: [CommonModule, IconComponentModule, MatTooltipModule, ButtonComponentModule, UiTranslatePipe], exports: [AvatarComponent] }); }
|
|
13
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AvatarComponentModule, imports: [CommonModule, IconComponentModule, MatTooltipModule, ButtonComponentModule] }); }
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AvatarComponentModule, decorators: [{
|
|
16
|
+
type: NgModule,
|
|
17
|
+
args: [{
|
|
18
|
+
declarations: [AvatarComponent, NameInitialsPipe],
|
|
19
|
+
imports: [CommonModule, IconComponentModule, MatTooltipModule, ButtonComponentModule, UiTranslatePipe],
|
|
20
|
+
exports: [AvatarComponent],
|
|
21
|
+
}]
|
|
22
|
+
}] });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic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LFxufSlcbmV4cG9ydCBjbGFzcyBBdmF0YXJDb21wb25lbnRNb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export var AvatarSize;
|
|
2
|
+
(function (AvatarSize) {
|
|
3
|
+
AvatarSize["SMALL"] = "small";
|
|
4
|
+
AvatarSize["SMALL_MEDIUM"] = "smallMedium";
|
|
5
|
+
AvatarSize["MEDIUM"] = "medium";
|
|
6
|
+
AvatarSize["LARGE"] = "large";
|
|
7
|
+
})(AvatarSize || (AvatarSize = {}));
|
|
8
|
+
export const iconSize = {
|
|
9
|
+
small: '16',
|
|
10
|
+
medium: '24',
|
|
11
|
+
large: '80',
|
|
12
|
+
};
|
|
13
|
+
export var AvatarBackgroundColor;
|
|
14
|
+
(function (AvatarBackgroundColor) {
|
|
15
|
+
AvatarBackgroundColor["PINK"] = "#FFE6FA";
|
|
16
|
+
AvatarBackgroundColor["BLUE"] = "#D9E8FF";
|
|
17
|
+
AvatarBackgroundColor["GREEN"] = "#E2F4B3";
|
|
18
|
+
AvatarBackgroundColor["ORANGE"] = "#FFE1B3";
|
|
19
|
+
AvatarBackgroundColor["RED"] = "#FFAC9A";
|
|
20
|
+
})(AvatarBackgroundColor || (AvatarBackgroundColor = {}));
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXZhdGFyLm1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2F2YXRhci9hdmF0YXIubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFOLElBQVksVUFLWDtBQUxELFdBQVksVUFBVTtJQUNwQiw2QkFBZSxDQUFBO0lBQ2YsMENBQTRCLENBQUE7SUFDNUIsK0JBQWlCLENBQUE7SUFDakIsNkJBQWUsQ0FBQT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dyZWQnIHwgJ2JsdWUnIHwgJ2dyZWVuJyB8ICdvcmFuZ2UnIHwgJ3BpbmsnO1xuXG5cblxuIl19
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Component, Inject, Input, Optional } from '@angular/core';
|
|
2
|
+
import { BadgeColorEnum, BadgeVariantEnum, RebrandBadgeColorEnum, } from './badge.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "../icon/icon.component";
|
|
6
|
+
import * as i3 from "@angular/material/tooltip";
|
|
7
|
+
export class BadgeComponent {
|
|
8
|
+
constructor(defaultAppTheme) {
|
|
9
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
10
|
+
/**
|
|
11
|
+
* The label to be displayed on the badge.
|
|
12
|
+
* @type {string}
|
|
13
|
+
* @memberof BadgeComponent
|
|
14
|
+
*/
|
|
15
|
+
this.label = '';
|
|
16
|
+
/**
|
|
17
|
+
* The icon name to be displayed on the badge.
|
|
18
|
+
* @type {IconName}
|
|
19
|
+
* @memberof BadgeComponent
|
|
20
|
+
*/
|
|
21
|
+
this.icon = '';
|
|
22
|
+
/**
|
|
23
|
+
* The color of the badge. Defaults to 'petrol'.
|
|
24
|
+
* @type {BadgeColor}
|
|
25
|
+
* @memberof BadgeComponent
|
|
26
|
+
*/
|
|
27
|
+
this.color = 'petrol';
|
|
28
|
+
/**
|
|
29
|
+
* The variant of the badge. Defaults to 'primary'.
|
|
30
|
+
* @type {BadgeVariant}
|
|
31
|
+
* @memberof BadgeComponent
|
|
32
|
+
*/
|
|
33
|
+
this.variant = 'primary';
|
|
34
|
+
/**
|
|
35
|
+
* The amount of notifications to be displayed on the badge.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof BadgeComponent
|
|
38
|
+
*/
|
|
39
|
+
this.notificationsAmount = 0;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* Defines the application theme
|
|
43
|
+
*
|
|
44
|
+
* @type {ApplicationTheme}
|
|
45
|
+
* @memberof BadgeComponent
|
|
46
|
+
*/
|
|
47
|
+
this.applicationTheme = 'light';
|
|
48
|
+
/**
|
|
49
|
+
* The color of the badge on new theme. Defaults to 'brand'.
|
|
50
|
+
* @type {RebrandBadgeColor}
|
|
51
|
+
* @memberof BadgeComponent
|
|
52
|
+
*/
|
|
53
|
+
this.rebrandColor = 'brand';
|
|
54
|
+
this.truncateLabel = true;
|
|
55
|
+
this.badgeVariant = BadgeVariantEnum;
|
|
56
|
+
this.darkColors = [
|
|
57
|
+
BadgeColorEnum.GREY_MEDIUM,
|
|
58
|
+
BadgeColorEnum.PETROL_90W,
|
|
59
|
+
BadgeColorEnum.TEAL_60W,
|
|
60
|
+
BadgeColorEnum.PETROL_60W,
|
|
61
|
+
RebrandBadgeColorEnum.SUCCESS,
|
|
62
|
+
RebrandBadgeColorEnum.INFO,
|
|
63
|
+
RebrandBadgeColorEnum.BRAND,
|
|
64
|
+
RebrandBadgeColorEnum.NEUTRAL,
|
|
65
|
+
RebrandBadgeColorEnum.NEGATIVE,
|
|
66
|
+
RebrandBadgeColorEnum.WARNING,
|
|
67
|
+
RebrandBadgeColorEnum.BLUE_20,
|
|
68
|
+
RebrandBadgeColorEnum.PINK_30,
|
|
69
|
+
RebrandBadgeColorEnum.BLUE_10,
|
|
70
|
+
];
|
|
71
|
+
if (defaultAppTheme) {
|
|
72
|
+
this.applicationTheme = defaultAppTheme;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
get iconColor() {
|
|
76
|
+
return this.darkColors.includes(this.isClassicTheme ? this.color : this.rebrandColor) ? 'black' : 'white';
|
|
77
|
+
}
|
|
78
|
+
get isClassicTheme() {
|
|
79
|
+
return this.applicationTheme === 'classic';
|
|
80
|
+
}
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BadgeComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
82
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BadgeComponent, selector: "ui-badge", inputs: { label: "label", icon: "icon", color: "color", variant: "variant", notificationsAmount: "notificationsAmount", applicationTheme: "applicationTheme", rebrandColor: "rebrandColor", truncateLabel: "truncateLabel" }, ngImport: i0, template: "<div [class]=\"'badge badge-container-' + variant\"\n [attr.aria-label]=\"label\"\n [attr.theme]=\"applicationTheme\"\n [attr.color]=\"isClassicTheme ? color : rebrandColor\"\n [matTooltip]=\"(label.length > 25) ? label : ''\"\n [matTooltipClass]=\"applicationTheme\"\n>\n <ng-container [ngSwitch]=\"variant\">\n <ng-container *ngSwitchCase=\"badgeVariant.PRIMARY\">\n <ui-icon *ngIf=\"icon\" class=\"badge-icon\" [name]=\"icon\" [color]=\"iconColor\" ></ui-icon>\n </ng-container>\n <div *ngSwitchCase=\"badgeVariant.SECONDARY\" class=\"point\" [attr.color]=\"isClassicTheme ? color : rebrandColor\"></div>\n <div *ngSwitchCase=\"badgeVariant.NOTIFICATION\" class=\"number-notification\">{{ notificationsAmount }}</div>\n </ng-container>\n <div class=\"label\" *ngIf=\"label && variant !== badgeVariant.NOTIFICATION\">{{ label.length > 25 && truncateLabel ? (label | slice : 0 : 25) + '...' : label }}</div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{display:block}:host .badge-container-primary,:host .badge-container-secondary,:host .badge-container-notification{width:fit-content}:host .badge-container-primary,:host .badge-container-secondary{height:24px;padding:0 8px;border-radius:21px;color:#fff;line-height:10px}:host .badge-container-primary .label,:host .badge-container-secondary .label{font-size:12px;line-height:14px}:host .badge-container-primary .badge-icon,:host .badge-container-secondary .badge-icon{margin-right:8px}:host .badge-container-secondary .point{border-radius:50%;width:8px;height:8px;margin-right:8px}:host .badge-container-secondary .label{color:#000!important;width:100%}:host .badge-container-secondary[theme=dark],:host .badge-container-secondary[theme=light]{color:#242424}:host .badge-container-notification{width:20px;height:20px;border-radius:50%;color:#fff;line-height:10px}:host .badge-container-notification .label{font-size:12px}:host .badge-container-notification[theme=dark],:host .badge-container-notification[theme=light]{background:#242424!important;color:#fff!important;border-color:1px solid #ffffff}:host .badge{width:100%!important;max-width:fit-content!important}:host .badge .label{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-sizing:border-box!important}.flex-center,:host .badge-container-primary,:host .badge-container-secondary,:host .badge-container-notification{display:flex;align-items:center;justify-content:center}.background-colors[color=red],:host [color=red].badge-container-primary,:host .badge-container-secondary [color=red].point,:host [color=red].badge-container-notification{background:#cb7b7a}.background-colors[color=grey-medium],:host [color=grey-medium].badge-container-primary,:host .badge-container-secondary [color=grey-medium].point,:host [color=grey-medium].badge-container-notification{background:#e0e0e0;color:#000}.background-colors[color=teal],:host [color=teal].badge-container-primary,:host .badge-container-secondary [color=teal].point,:host [color=teal].badge-container-notification{background:#46a997}.background-colors[color=yellow],:host [color=yellow].badge-container-primary,:host .badge-container-secondary [color=yellow].point,:host [color=yellow].badge-container-notification{background:#cca45f}.background-colors[color=petrol],:host [color=petrol].badge-container-primary,:host .badge-container-secondary [color=petrol].point,:host [color=petrol].badge-container-notification{background:#276678}.background-colors[color=teal-60w],:host [color=teal-60w].badge-container-primary,:host .badge-container-secondary [color=teal-60w].point,:host [color=teal-60w].badge-container-notification{background:#b5ddd5;color:#000}.background-colors[color=petrol-90w],:host [color=petrol-90w].badge-container-primary,:host .badge-container-secondary [color=petrol-90w].point,:host [color=petrol-90w].badge-container-notification{background:#e9f0f1;color:#000}.background-colors[color=petrol-60w],:host [color=petrol-60w].badge-container-primary,:host .badge-container-secondary [color=petrol-60w].point,:host [color=petrol-60w].badge-container-notification{background:#a9c2c9;color:#000}.background-colors[color=grey-dark],:host [color=grey-dark].badge-container-primary,:host .badge-container-secondary [color=grey-dark].point,:host [color=grey-dark].badge-container-notification{background:#888}.background-colors[color=success],:host [color=success].badge-container-primary,:host .badge-container-secondary [color=success].point,:host [color=success].badge-container-notification{background:#aae47a;color:#242424}.background-colors[color=warning],:host [color=warning].badge-container-primary,:host .badge-container-secondary [color=warning].point,:host [color=warning].badge-container-notification{background:#ffe1b3;color:#242424}.background-colors[color=negative],:host [color=negative].badge-container-primary,:host .badge-container-secondary [color=negative].point,:host [color=negative].badge-container-notification{background:#ffac9a;color:#242424}.background-colors[color=info],:host [color=info].badge-container-primary,:host .badge-container-secondary [color=info].point,:host [color=info].badge-container-notification{background:#d9e8ff;color:#242424}.background-colors[color=brand],:host [color=brand].badge-container-primary,:host .badge-container-secondary [color=brand].point,:host [color=brand].badge-container-notification{background:#ffe6fa;color:#242424}.background-colors[color=neutral],:host [color=neutral].badge-container-primary,:host .badge-container-secondary [color=neutral].point,:host [color=neutral].badge-container-notification{background:#e9e9e9;color:#242424}.background-colors[color=blue-20],:host [color=blue-20].badge-container-primary,:host .badge-container-secondary [color=blue-20].point,:host [color=blue-20].badge-container-notification{background:#99c1fe;color:#242424}.background-colors[color=blue-30],:host [color=blue-30].badge-container-primary,:host .badge-container-secondary [color=blue-30].point,:host [color=blue-30].badge-container-notification{background:#277cfd;color:#fff}.background-colors[color=blue-40],:host [color=blue-40].badge-container-primary,:host .badge-container-secondary [color=blue-40].point,:host [color=blue-40].badge-container-notification{background:#0165fc;color:#fff}.background-colors[color=pink-30],:host [color=pink-30].badge-container-primary,:host .badge-container-secondary [color=pink-30].point,:host [color=pink-30].badge-container-notification{background:#ffb3ee;color:#242424}.background-colors[color=blue-10],:host [color=blue-10].badge-container-primary,:host .badge-container-secondary [color=blue-10].point,:host [color=blue-10].badge-container-notification{background:#d9e8ff;color:#242424}.background-colors[color=grey-30],:host [color=grey-30].badge-container-primary,:host .badge-container-secondary [color=grey-30].point,:host [color=grey-30].badge-container-notification{background:#d3d3d3;color:#242424}.background-colors[color=grey-10],:host [color=grey-10].badge-container-primary,:host .badge-container-secondary [color=grey-10].point,:host [color=grey-10].badge-container-notification{background:#f4f4f4;color:#242424}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme", "useFullIconName"] }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "pipe", type: i1.SlicePipe, name: "slice" }] }); }
|
|
83
|
+
}
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BadgeComponent, decorators: [{
|
|
85
|
+
type: Component,
|
|
86
|
+
args: [{ selector: 'ui-badge', template: "<div [class]=\"'badge badge-container-' + variant\"\n [attr.aria-label]=\"label\"\n [attr.theme]=\"applicationTheme\"\n [attr.color]=\"isClassicTheme ? color : rebrandColor\"\n [matTooltip]=\"(label.length > 25) ? label : ''\"\n [matTooltipClass]=\"applicationTheme\"\n>\n <ng-container [ngSwitch]=\"variant\">\n <ng-container *ngSwitchCase=\"badgeVariant.PRIMARY\">\n <ui-icon *ngIf=\"icon\" class=\"badge-icon\" [name]=\"icon\" [color]=\"iconColor\" ></ui-icon>\n </ng-container>\n <div *ngSwitchCase=\"badgeVariant.SECONDARY\" class=\"point\" [attr.color]=\"isClassicTheme ? color : rebrandColor\"></div>\n <div *ngSwitchCase=\"badgeVariant.NOTIFICATION\" class=\"number-notification\">{{ notificationsAmount }}</div>\n </ng-container>\n <div class=\"label\" *ngIf=\"label && variant !== badgeVariant.NOTIFICATION\">{{ label.length > 25 && truncateLabel ? (label | slice : 0 : 25) + '...' : label }}</div>\n</div>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{display:block}:host .badge-container-primary,:host .badge-container-secondary,:host .badge-container-notification{width:fit-content}:host .badge-container-primary,:host .badge-container-secondary{height:24px;padding:0 8px;border-radius:21px;color:#fff;line-height:10px}:host .badge-container-primary .label,:host .badge-container-secondary .label{font-size:12px;line-height:14px}:host .badge-container-primary .badge-icon,:host .badge-container-secondary .badge-icon{margin-right:8px}:host .badge-container-secondary .point{border-radius:50%;width:8px;height:8px;margin-right:8px}:host .badge-container-secondary .label{color:#000!important;width:100%}:host .badge-container-secondary[theme=dark],:host .badge-container-secondary[theme=light]{color:#242424}:host .badge-container-notification{width:20px;height:20px;border-radius:50%;color:#fff;line-height:10px}:host .badge-container-notification .label{font-size:12px}:host .badge-container-notification[theme=dark],:host .badge-container-notification[theme=light]{background:#242424!important;color:#fff!important;border-color:1px solid #ffffff}:host .badge{width:100%!important;max-width:fit-content!important}:host .badge .label{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-sizing:border-box!important}.flex-center,:host .badge-container-primary,:host .badge-container-secondary,:host .badge-container-notification{display:flex;align-items:center;justify-content:center}.background-colors[color=red],:host [color=red].badge-container-primary,:host .badge-container-secondary [color=red].point,:host [color=red].badge-container-notification{background:#cb7b7a}.background-colors[color=grey-medium],:host [color=grey-medium].badge-container-primary,:host .badge-container-secondary [color=grey-medium].point,:host [color=grey-medium].badge-container-notification{background:#e0e0e0;color:#000}.background-colors[color=teal],:host [color=teal].badge-container-primary,:host .badge-container-secondary [color=teal].point,:host [color=teal].badge-container-notification{background:#46a997}.background-colors[color=yellow],:host [color=yellow].badge-container-primary,:host .badge-container-secondary [color=yellow].point,:host [color=yellow].badge-container-notification{background:#cca45f}.background-colors[color=petrol],:host [color=petrol].badge-container-primary,:host .badge-container-secondary [color=petrol].point,:host [color=petrol].badge-container-notification{background:#276678}.background-colors[color=teal-60w],:host [color=teal-60w].badge-container-primary,:host .badge-container-secondary [color=teal-60w].point,:host [color=teal-60w].badge-container-notification{background:#b5ddd5;color:#000}.background-colors[color=petrol-90w],:host [color=petrol-90w].badge-container-primary,:host .badge-container-secondary [color=petrol-90w].point,:host [color=petrol-90w].badge-container-notification{background:#e9f0f1;color:#000}.background-colors[color=petrol-60w],:host [color=petrol-60w].badge-container-primary,:host .badge-container-secondary [color=petrol-60w].point,:host [color=petrol-60w].badge-container-notification{background:#a9c2c9;color:#000}.background-colors[color=grey-dark],:host [color=grey-dark].badge-container-primary,:host .badge-container-secondary [color=grey-dark].point,:host [color=grey-dark].badge-container-notification{background:#888}.background-colors[color=success],:host [color=success].badge-container-primary,:host .badge-container-secondary [color=success].point,:host [color=success].badge-container-notification{background:#aae47a;color:#242424}.background-colors[color=warning],:host [color=warning].badge-container-primary,:host .badge-container-secondary [color=warning].point,:host [color=warning].badge-container-notification{background:#ffe1b3;color:#242424}.background-colors[color=negative],:host [color=negative].badge-container-primary,:host .badge-container-secondary [color=negative].point,:host [color=negative].badge-container-notification{background:#ffac9a;color:#242424}.background-colors[color=info],:host [color=info].badge-container-primary,:host .badge-container-secondary [color=info].point,:host [color=info].badge-container-notification{background:#d9e8ff;color:#242424}.background-colors[color=brand],:host [color=brand].badge-container-primary,:host .badge-container-secondary [color=brand].point,:host [color=brand].badge-container-notification{background:#ffe6fa;color:#242424}.background-colors[color=neutral],:host [color=neutral].badge-container-primary,:host .badge-container-secondary [color=neutral].point,:host [color=neutral].badge-container-notification{background:#e9e9e9;color:#242424}.background-colors[color=blue-20],:host [color=blue-20].badge-container-primary,:host .badge-container-secondary [color=blue-20].point,:host [color=blue-20].badge-container-notification{background:#99c1fe;color:#242424}.background-colors[color=blue-30],:host [color=blue-30].badge-container-primary,:host .badge-container-secondary [color=blue-30].point,:host [color=blue-30].badge-container-notification{background:#277cfd;color:#fff}.background-colors[color=blue-40],:host [color=blue-40].badge-container-primary,:host .badge-container-secondary [color=blue-40].point,:host [color=blue-40].badge-container-notification{background:#0165fc;color:#fff}.background-colors[color=pink-30],:host [color=pink-30].badge-container-primary,:host .badge-container-secondary [color=pink-30].point,:host [color=pink-30].badge-container-notification{background:#ffb3ee;color:#242424}.background-colors[color=blue-10],:host [color=blue-10].badge-container-primary,:host .badge-container-secondary [color=blue-10].point,:host [color=blue-10].badge-container-notification{background:#d9e8ff;color:#242424}.background-colors[color=grey-30],:host [color=grey-30].badge-container-primary,:host .badge-container-secondary [color=grey-30].point,:host [color=grey-30].badge-container-notification{background:#d3d3d3;color:#242424}.background-colors[color=grey-10],:host [color=grey-10].badge-container-primary,:host .badge-container-secondary [color=grey-10].point,:host [color=grey-10].badge-container-notification{background:#f4f4f4;color:#242424}\n"] }]
|
|
87
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
88
|
+
type: Optional
|
|
89
|
+
}, {
|
|
90
|
+
type: Inject,
|
|
91
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
92
|
+
}] }], propDecorators: { label: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], icon: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], color: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], variant: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], notificationsAmount: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], applicationTheme: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}], rebrandColor: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], truncateLabel: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}] } });
|
|
109
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL2JhZGdlL2JhZGdlLmNvbXBv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lVmFyaWFudC5QUklNQVJZXCI+XG4gICAgICA8dWktaWNvbiAqbmdJZj1cImljb25cIiBjbGFzcz1cImJhZGdlLWljb25cIiBbbmFtZV09XCJpY29uXCIgW2NvbG9yXT1cImljb25Db2xvclwiID48L3VpLWljb24+XG4gICAgPC9uZy1jb250YWluZXI+XG4gICAgPGRpdiAqbmdTd2l0Y2hDYXNlPVwiYmFkZ2VWYXJpYW50LlNFQ09OREFSWVwiIGNsYXNzPVwicG9pbnRcIiBbYXR0ci5jb2xvcl09XCJpc0NsYXNzaWNUaGVtZSA/IGNvbG9yIDogcmVicmFuZENvbG9yXCI+PC9kaXY+XG4gICAgPGRpdiAqbmdTd2l0Y2hDYXNlPVwiYmFkZ2VWYXJpYW50Lk5PVElGSUNBVElPTlwiIGNsYXNzPVwibnVtYmVyLW5vdGlmaWNhdGlvblwiPnt7IG5vdGlmaWNhdGlvbnNBbW91bnQgfX08L2Rpdj5cbiAgPC9uZy1jb250YWluZXI+XG4gIDxkaXYgY2xhc3M9XCJsYWJlbFwiICpuZ0lmPVwibGFiZWwgJiYgdmFyaWFudCAhPT0gYmFkZ2VWYXJpYW50Lk5PVElGSUNBVElPTlwiPnt7IGxhYmVsLmxlbmd0aCA+IDI1ICYmIHRydW5jYXRlTGFiZWwgPyAobGFiZWwgfCBzbGljZSA6IDAgOiAyNSkgKyAnLi4uJyA6IGxhYmVsIH19PC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BadgeComponent } from './badge.component';
|
|
4
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
5
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class BadgeComponentModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BadgeComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: BadgeComponentModule, declarations: [BadgeComponent], imports: [CommonModule, IconComponentModule, MatTooltipModule], exports: [BadgeComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BadgeComponentModule, imports: [CommonModule, IconComponentModule, MatTooltipModule] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BadgeComponentModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [BadgeComponent],
|
|
16
|
+
imports: [CommonModule, IconComponentModule, MatTooltipModule],
|
|
17
|
+
exports: [BadgeComponent],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFkZ2UuY29tcG9uZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9iYWRnZS9iYWRnZS5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQ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