@testgorilla/tgo-ui 2.10.1 → 2.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/components/accordion/accordion.component.d.ts +76 -0
- package/components/accordion/accordion.component.module.d.ts +12 -0
- package/components/alert-banner/alert-banner.component.d.ts +89 -0
- package/components/alert-banner/alert-banner.component.module.d.ts +10 -0
- package/components/autocomplete/autocomplete.component.d.ts +219 -0
- package/components/autocomplete/autocomplete.component.module.d.ts +22 -0
- package/components/autocomplete/autocomplete.model.d.ts +18 -0
- package/components/autocomplete/includes.pipe.d.ts +12 -0
- package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
- package/components/avatar/avatar.component.d.ts +58 -0
- package/components/avatar/avatar.component.module.d.ts +12 -0
- package/components/avatar/avatar.model.d.ts +7 -0
- package/components/badge/badge.component.d.ts +58 -0
- package/components/badge/badge.component.module.d.ts +9 -0
- package/components/badge/badge.model.d.ts +27 -0
- package/components/button/button.component.d.ts +190 -0
- package/components/button/button.component.module.d.ts +13 -0
- package/components/button/button.model.d.ts +14 -0
- package/components/card/card.component.d.ts +46 -0
- package/components/card/card.component.module.d.ts +9 -0
- package/components/checkbox/checkbox.component.d.ts +147 -0
- package/components/checkbox/checkbox.component.module.d.ts +15 -0
- package/components/confirm-dialog/confirm-dialog.component.d.ts +25 -0
- package/components/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
- package/components/confirm-dialog/confirm-dialog.model.d.ts +9 -0
- package/components/datepicker/datepicker.component.d.ts +205 -0
- package/components/datepicker/datepicker.component.module.d.ts +18 -0
- package/components/datepicker/no-date-format.directive.d.ts +11 -0
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +38 -0
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
- package/components/deprecated-table/deprecated-table.component.d.ts +91 -0
- package/components/deprecated-table/deprecated-table.component.module.d.ts +14 -0
- package/components/deprecated-table/deprecated-table.model.d.ts +45 -0
- package/components/deprecated-table/directives/dynamic-component.directive.d.ts +13 -0
- package/components/dialog/dialog.component.d.ts +108 -0
- package/components/dialog/dialog.component.module.d.ts +11 -0
- package/components/dialog/dialog.service.d.ts +13 -0
- package/components/divider/divider.component.d.ts +39 -0
- package/components/divider/divider.component.module.d.ts +9 -0
- package/components/dropdown/dropdown.component.d.ts +157 -0
- package/components/dropdown/dropdown.component.module.d.ts +17 -0
- package/components/dropdown/dropdown.model.d.ts +5 -0
- package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
- package/components/empty-state/empty-state.component.d.ts +124 -0
- package/components/empty-state/empty-state.component.module.d.ts +11 -0
- package/components/field/field.component.d.ts +238 -0
- package/components/field/field.component.module.d.ts +18 -0
- package/components/field/field.model.d.ts +1 -0
- package/components/file-upload/file-upload.component.d.ts +124 -0
- package/components/file-upload/file-upload.component.module.d.ts +14 -0
- package/components/icon/icon.component.d.ts +65 -0
- package/components/icon/icon.component.module.d.ts +10 -0
- package/components/icon/icon.config.d.ts +10 -0
- package/components/icon/icon.model.d.ts +7 -0
- package/components/icon-label/icon-label.component.d.ts +39 -0
- package/components/icon-label/icon-label.component.module.d.ts +9 -0
- package/components/logo/logo.component.d.ts +57 -0
- package/components/logo/logo.component.module.d.ts +8 -0
- package/components/logo/logo.model.d.ts +29 -0
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +22 -0
- package/components/navbar/navbar.component.d.ts +113 -0
- package/components/navbar/navbar.component.module.d.ts +20 -0
- package/components/navbar/navbar.model.d.ts +10 -0
- package/components/overflow-menu/overflow-menu.component.d.ts +55 -0
- package/components/overflow-menu/overflow-menu.component.module.d.ts +11 -0
- package/components/overflow-menu/overflow-menu.model.d.ts +10 -0
- package/components/page-header/page-header.component.d.ts +45 -0
- package/components/page-header/page-header.component.module.d.ts +10 -0
- package/components/paginator/paginator.component.d.ts +49 -0
- package/components/paginator/paginator.component.module.d.ts +9 -0
- package/components/password-criteria/password.component.d.ts +49 -0
- package/components/password-criteria/password.component.module.d.ts +13 -0
- package/components/password-strength/password-strength.component.d.ts +52 -0
- package/components/password-strength/password-strength.component.module.d.ts +11 -0
- package/components/phone-input/join-strings.pipe.d.ts +7 -0
- package/components/phone-input/phone-input.component.d.ts +154 -0
- package/components/phone-input/phone-input.component.module.d.ts +20 -0
- package/components/phone-input/phone-input.model.d.ts +8 -0
- package/components/progress-bar/progress-bar.component.d.ts +52 -0
- package/components/progress-bar/progress-bar.component.module.d.ts +9 -0
- package/components/radial-progress/radial-progress.component.d.ts +68 -0
- package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
- package/components/radial-progress/radial-progress.model.d.ts +10 -0
- package/components/radio-button/radio-button.component.d.ts +116 -0
- package/components/radio-button/radio-button.component.module.d.ts +11 -0
- package/components/radio-button/radio-button.model.d.ts +4 -0
- package/components/rating/half-star.pipe.d.ts +14 -0
- package/components/rating/rating.component.d.ts +64 -0
- package/components/rating/rating.component.module.d.ts +10 -0
- package/components/scale/scale.component.d.ts +34 -0
- package/components/scale/scale.component.module.d.ts +8 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +54 -0
- package/components/segmented-bar/segmented-bar.component.module.d.ts +10 -0
- package/components/segmented-bar/segmented-bar.model.d.ts +7 -0
- package/components/segmented-button/segmented-button.component.d.ts +23 -0
- package/components/segmented-button/segmented-button.component.module.d.ts +10 -0
- package/components/segmented-button/segmented-button.model.d.ts +6 -0
- package/components/side-sheet/side-sheet.component.d.ts +49 -0
- package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
- package/components/side-sheet/side-sheet.model.d.ts +10 -0
- package/components/side-sheet/side-sheet.service.d.ts +14 -0
- package/components/skeleton/skeleton.component.d.ts +26 -0
- package/components/skeleton/skeleton.model.d.ts +2 -0
- package/components/slider/slider.component.d.ts +103 -0
- package/components/slider/slider.component.module.d.ts +14 -0
- package/components/slider/slider.model.d.ts +4 -0
- package/components/snackbar/snackbar.component.d.ts +111 -0
- package/components/snackbar/snackbar.component.module.d.ts +12 -0
- package/components/snackbar/snackbar.service.d.ts +12 -0
- package/components/spinner/spinner.component.d.ts +38 -0
- package/components/spinner/spinner.module.d.ts +8 -0
- package/components/step/step.component.d.ts +104 -0
- package/components/step/step.component.module.d.ts +9 -0
- package/components/stepper/stepper.component.d.ts +76 -0
- package/components/stepper/stepper.component.module.d.ts +15 -0
- package/components/stepper/stepper.model.d.ts +9 -0
- package/components/table/sentence-case.pipe.d.ts +7 -0
- package/components/table/table.component.d.ts +93 -0
- package/components/table/table.component.module.d.ts +19 -0
- package/components/table/table.model.d.ts +92 -0
- package/components/tabs/tab.directive.d.ts +18 -0
- package/components/tabs/tabs.component.d.ts +59 -0
- package/components/tabs/tabs.component.module.d.ts +11 -0
- package/components/tabs/tabs.model.d.ts +9 -0
- package/components/tag/tag.component.d.ts +129 -0
- package/components/tag/tag.component.module.d.ts +12 -0
- package/components/toggle/toggle.component.d.ts +105 -0
- package/components/toggle/toggle.component.module.d.ts +12 -0
- package/components/tooltip/tooltip.component.d.ts +44 -0
- package/components/tooltip/tooltip.component.module.d.ts +8 -0
- package/components/tooltip/tooltip.model.d.ts +6 -0
- package/components/validation-error/validation-error.component.d.ts +27 -0
- package/components/validation-error/validation-error.module.d.ts +10 -0
- package/directives/digits-only.directive.d.ts +15 -0
- package/directives/drag-drop.directive.d.ts +12 -0
- package/directives/ellipse-text.directive.d.ts +16 -0
- package/directives/select-text.directive.d.ts +19 -0
- package/directives/step-line-width.directive.d.ts +15 -0
- package/esm2022/assets/i18n/da-dk.json +77 -0
- package/esm2022/assets/i18n/de.json +77 -0
- package/esm2022/assets/i18n/en.json +100 -0
- package/esm2022/assets/i18n/es.json +77 -0
- package/esm2022/assets/i18n/fr.json +77 -0
- package/esm2022/assets/i18n/it-it.json +77 -0
- package/esm2022/assets/i18n/ja-jp.json +77 -0
- package/esm2022/assets/i18n/nb-no.json +77 -0
- package/esm2022/assets/i18n/nl.json +77 -0
- package/esm2022/assets/i18n/pl-pl.json +77 -0
- package/esm2022/assets/i18n/pt-br.json +77 -0
- package/esm2022/assets/i18n/sv-se.json +77 -0
- package/esm2022/components/accordion/accordion.component.mjs +105 -0
- package/esm2022/components/accordion/accordion.component.module.mjs +40 -0
- package/esm2022/components/accordion/accordion.model.mjs +2 -0
- package/esm2022/components/alert-banner/alert-banner.component.mjs +127 -0
- package/esm2022/components/alert-banner/alert-banner.component.module.mjs +20 -0
- package/esm2022/components/alert-banner/alert-banner.model.mjs +2 -0
- package/esm2022/components/autocomplete/autocomplete.component.mjs +517 -0
- package/esm2022/components/autocomplete/autocomplete.component.module.mjs +70 -0
- package/esm2022/components/autocomplete/autocomplete.model.mjs +22 -0
- package/esm2022/components/autocomplete/includes.pipe.mjs +21 -0
- package/esm2022/components/autocomplete/transform-Item.pipe.mjs +29 -0
- package/esm2022/components/avatar/avatar.component.mjs +91 -0
- package/esm2022/components/avatar/avatar.component.module.mjs +22 -0
- package/esm2022/components/avatar/avatar.model.mjs +12 -0
- package/esm2022/components/badge/badge.component.mjs +102 -0
- package/esm2022/components/badge/badge.component.module.mjs +19 -0
- package/esm2022/components/badge/badge.model.mjs +28 -0
- package/esm2022/components/button/button.component.mjs +352 -0
- package/esm2022/components/button/button.component.module.mjs +41 -0
- package/esm2022/components/button/button.model.mjs +2 -0
- package/esm2022/components/card/card.component.mjs +75 -0
- package/esm2022/components/card/card.component.module.mjs +19 -0
- package/esm2022/components/card/card.model.mjs +2 -0
- package/esm2022/components/checkbox/checkbox.component.mjs +228 -0
- package/esm2022/components/checkbox/checkbox.component.module.mjs +25 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.component.mjs +48 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.component.module.mjs +29 -0
- package/esm2022/components/confirm-dialog/confirm-dialog.model.mjs +2 -0
- package/esm2022/components/datepicker/datepicker.component.mjs +302 -0
- package/esm2022/components/datepicker/datepicker.component.module.mjs +60 -0
- package/esm2022/components/datepicker/no-date-format.directive.mjs +56 -0
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.mjs +55 -0
- package/esm2022/components/deprecated-paginator/deprecated-paginator.component.module.mjs +20 -0
- package/esm2022/components/deprecated-table/deprecated-table.component.mjs +158 -0
- package/esm2022/components/deprecated-table/deprecated-table.component.module.mjs +43 -0
- package/esm2022/components/deprecated-table/deprecated-table.model.mjs +13 -0
- package/esm2022/components/deprecated-table/directives/dynamic-component.directive.mjs +40 -0
- package/esm2022/components/dialog/dialog.component.mjs +193 -0
- package/esm2022/components/dialog/dialog.component.module.mjs +23 -0
- package/esm2022/components/dialog/dialog.service.mjs +32 -0
- package/esm2022/components/divider/divider.component.mjs +65 -0
- package/esm2022/components/divider/divider.component.module.mjs +19 -0
- package/esm2022/components/divider/divider.model.mjs +2 -0
- package/esm2022/components/dropdown/dropdown.component.mjs +228 -0
- package/esm2022/components/dropdown/dropdown.component.module.mjs +57 -0
- package/esm2022/components/dropdown/dropdown.model.mjs +2 -0
- package/esm2022/components/elevation-shadow/elevation-shadow.component.mjs +45 -0
- package/esm2022/components/elevation-shadow/elevation-shadow.component.module.mjs +18 -0
- package/esm2022/components/elevation-shadow/elevation-shadow.constant.mjs +9 -0
- package/esm2022/components/empty-state/empty-state.component.mjs +195 -0
- package/esm2022/components/empty-state/empty-state.component.module.mjs +21 -0
- package/esm2022/components/empty-state/empty-state.model.mjs +2 -0
- package/esm2022/components/field/field.component.mjs +409 -0
- package/esm2022/components/field/field.component.module.mjs +58 -0
- package/esm2022/components/field/field.model.mjs +2 -0
- package/esm2022/components/file-upload/file-upload.component.mjs +271 -0
- package/esm2022/components/file-upload/file-upload.component.module.mjs +40 -0
- package/esm2022/components/icon/icon.component.mjs +127 -0
- package/esm2022/components/icon/icon.component.module.mjs +21 -0
- package/esm2022/components/icon/icon.config.mjs +657 -0
- package/esm2022/components/icon/icon.model.mjs +2 -0
- package/esm2022/components/icon-label/icon-label.component.mjs +53 -0
- package/esm2022/components/icon-label/icon-label.component.module.mjs +20 -0
- package/esm2022/components/logo/logo.component.mjs +149 -0
- package/esm2022/components/logo/logo.component.module.mjs +18 -0
- package/esm2022/components/logo/logo.model.mjs +32 -0
- package/esm2022/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.mjs +75 -0
- package/esm2022/components/navbar/navbar.component.mjs +200 -0
- package/esm2022/components/navbar/navbar.component.module.mjs +67 -0
- package/esm2022/components/navbar/navbar.model.mjs +2 -0
- package/esm2022/components/overflow-menu/overflow-menu.component.mjs +73 -0
- package/esm2022/components/overflow-menu/overflow-menu.component.module.mjs +21 -0
- package/esm2022/components/overflow-menu/overflow-menu.model.mjs +2 -0
- package/esm2022/components/page-header/page-header.component.mjs +81 -0
- package/esm2022/components/page-header/page-header.component.module.mjs +20 -0
- package/esm2022/components/paginator/paginator.component.mjs +76 -0
- package/esm2022/components/paginator/paginator.component.module.mjs +19 -0
- package/esm2022/components/password-criteria/password.component.mjs +115 -0
- package/esm2022/components/password-criteria/password.component.module.mjs +39 -0
- package/esm2022/components/password-strength/password-strength.component.mjs +103 -0
- package/esm2022/components/password-strength/password-strength.component.module.mjs +21 -0
- package/esm2022/components/phone-input/join-strings.pipe.mjs +14 -0
- package/esm2022/components/phone-input/phone-input.component.mjs +363 -0
- package/esm2022/components/phone-input/phone-input.component.module.mjs +63 -0
- package/esm2022/components/phone-input/phone-input.model.mjs +2 -0
- package/esm2022/components/progress-bar/progress-bar.component.mjs +74 -0
- package/esm2022/components/progress-bar/progress-bar.component.module.mjs +20 -0
- package/esm2022/components/radial-progress/radial-progress.component.mjs +106 -0
- package/esm2022/components/radial-progress/radial-progress.component.module.mjs +20 -0
- package/esm2022/components/radial-progress/radial-progress.model.mjs +11 -0
- package/esm2022/components/radio-button/radio-button.component.mjs +176 -0
- package/esm2022/components/radio-button/radio-button.component.module.mjs +21 -0
- package/esm2022/components/radio-button/radio-button.model.mjs +2 -0
- package/esm2022/components/rating/half-star.pipe.mjs +23 -0
- package/esm2022/components/rating/rating.component.mjs +92 -0
- package/esm2022/components/rating/rating.component.module.mjs +20 -0
- package/esm2022/components/scale/scale.component.mjs +58 -0
- package/esm2022/components/scale/scale.component.module.mjs +18 -0
- package/esm2022/components/segmented-bar/segmented-bar.component.mjs +75 -0
- package/esm2022/components/segmented-bar/segmented-bar.component.module.mjs +20 -0
- package/esm2022/components/segmented-bar/segmented-bar.model.mjs +2 -0
- package/esm2022/components/segmented-button/segmented-button.component.mjs +53 -0
- package/esm2022/components/segmented-button/segmented-button.component.module.mjs +32 -0
- package/esm2022/components/segmented-button/segmented-button.model.mjs +2 -0
- package/esm2022/components/side-sheet/side-sheet.component.mjs +109 -0
- package/esm2022/components/side-sheet/side-sheet.component.module.mjs +43 -0
- package/esm2022/components/side-sheet/side-sheet.model.mjs +2 -0
- package/esm2022/components/side-sheet/side-sheet.service.mjs +31 -0
- package/esm2022/components/skeleton/skeleton.component.mjs +71 -0
- package/esm2022/components/skeleton/skeleton.model.mjs +2 -0
- package/esm2022/components/slider/slider.component.mjs +191 -0
- package/esm2022/components/slider/slider.component.module.mjs +43 -0
- package/esm2022/components/slider/slider.model.mjs +2 -0
- package/esm2022/components/snackbar/snackbar.component.mjs +208 -0
- package/esm2022/components/snackbar/snackbar.component.module.mjs +24 -0
- package/esm2022/components/snackbar/snackbar.model.mjs +2 -0
- package/esm2022/components/snackbar/snackbar.service.mjs +41 -0
- package/esm2022/components/spinner/spinner.component.mjs +62 -0
- package/esm2022/components/spinner/spinner.model.mjs +2 -0
- package/esm2022/components/spinner/spinner.module.mjs +18 -0
- package/esm2022/components/step/step.component.mjs +110 -0
- package/esm2022/components/step/step.component.module.mjs +19 -0
- package/esm2022/components/stepper/stepper.component.mjs +124 -0
- package/esm2022/components/stepper/stepper.component.module.mjs +44 -0
- package/esm2022/components/stepper/stepper.model.mjs +2 -0
- package/esm2022/components/table/sentence-case.pipe.mjs +19 -0
- package/esm2022/components/table/table.component.mjs +220 -0
- package/esm2022/components/table/table.component.module.mjs +58 -0
- package/esm2022/components/table/table.model.mjs +13 -0
- package/esm2022/components/tabs/tab.directive.mjs +42 -0
- package/esm2022/components/tabs/tabs.component.mjs +99 -0
- package/esm2022/components/tabs/tabs.component.module.mjs +33 -0
- package/esm2022/components/tabs/tabs.model.mjs +2 -0
- package/esm2022/components/tag/tag.component.mjs +201 -0
- package/esm2022/components/tag/tag.component.module.mjs +23 -0
- package/esm2022/components/tag/tag.model.mjs +2 -0
- package/esm2022/components/toggle/toggle.component.mjs +169 -0
- package/esm2022/components/toggle/toggle.component.module.mjs +22 -0
- package/esm2022/components/toggle/toggle.model.mjs +2 -0
- package/esm2022/components/tooltip/tooltip.component.mjs +79 -0
- package/esm2022/components/tooltip/tooltip.component.module.mjs +18 -0
- package/esm2022/components/tooltip/tooltip.model.mjs +8 -0
- package/esm2022/components/validation-error/validation-error.component.mjs +59 -0
- package/esm2022/components/validation-error/validation-error.model.mjs +2 -0
- package/esm2022/components/validation-error/validation-error.module.mjs +20 -0
- package/esm2022/directives/digits-only.directive.mjs +52 -0
- package/esm2022/directives/drag-drop.directive.mjs +55 -0
- package/esm2022/directives/ellipse-text.directive.mjs +37 -0
- package/esm2022/directives/select-text.directive.mjs +41 -0
- package/esm2022/directives/step-line-width.directive.mjs +38 -0
- package/esm2022/models/application-theme.model.mjs +2 -0
- package/esm2022/models/colors.model.mjs +78 -0
- package/esm2022/models/screen-breakpoints.model.mjs +6 -0
- package/esm2022/pipes/data-property-getter.mjs +33 -0
- package/esm2022/pipes/has-validation-error.pipe.mjs +27 -0
- package/esm2022/pipes/name-initials.pipe.mjs +25 -0
- package/esm2022/pipes/ui-translate.pipe.mjs +76 -0
- package/esm2022/providers/is-mobile.mjs +11 -0
- package/esm2022/public-api.mjs +184 -0
- package/esm2022/testgorilla-tgo-ui.mjs +5 -0
- package/esm2022/utils/alert-bar.model.mjs +2 -0
- package/esm2022/utils/alert-bars.utils.mjs +33 -0
- package/esm2022/utils/autocomplete-utils.mjs +61 -0
- package/esm2022/utils/color-contrast.mjs +131 -0
- package/esm2022/utils/localization/language.model.mjs +16 -0
- package/esm2022/utils/localization/language.service.mjs +33 -0
- package/esm2022/utils/table.utils.mjs +19 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +11114 -0
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/models/colors.model.d.ts +63 -0
- package/models/screen-breakpoints.model.d.ts +4 -0
- package/package.json +17 -68
- package/pipes/data-property-getter.d.ts +8 -0
- package/pipes/has-validation-error.pipe.d.ts +15 -0
- package/pipes/name-initials.pipe.d.ts +7 -0
- package/pipes/ui-translate.pipe.d.ts +28 -0
- package/providers/is-mobile.d.ts +2 -0
- package/public-api.d.ts +130 -0
- package/utils/alert-bars.utils.d.ts +7 -0
- package/utils/autocomplete-utils.d.ts +11 -0
- package/utils/color-contrast.d.ts +28 -0
- package/utils/localization/language.model.d.ts +14 -0
- package/utils/localization/language.service.d.ts +16 -0
- package/utils/table.utils.d.ts +6 -0
- package/.circleci/config.yml +0 -112
- package/.editorconfig +0 -16
- package/.eslintignore +0 -5
- package/.eslintrc.js +0 -301
- package/.github/README.md +0 -81
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -2
- package/.prettierrc +0 -13
- package/.storybook/main.js +0 -25
- package/.storybook/preview-head.html +0 -10
- package/.storybook/preview.js +0 -107
- package/.storybook/tsconfig.json +0 -24
- package/.storybook/typings.d.ts +0 -4
- package/.stylelintrc.json +0 -30
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/tasks.json +0 -42
- package/CHANGELOG.md +0 -123
- package/angular.json +0 -164
- package/e2e/bannerAction.spec.ts +0 -46
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--default-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--error-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--info-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--warning-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-darwin.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-alert-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--default-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--error-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--info-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--warning-chromium-linux.png +0 -0
- package/e2e/bannerAction.spec.ts-snapshots/id-bars-banner-action--with-relative-width-chromium-linux.png +0 -0
- package/e2e/button.spec.ts +0 -53
- package/e2e/button.spec.ts-snapshots/id-button--basic-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--button-as-link-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--button-only-label-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--disabled-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--full-width-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--label-icon-left-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--label-icon-right-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--loading-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--menu-cell-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--menu-trigger-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--only-icon-chromium-linux.png +0 -0
- package/e2e/button.spec.ts-snapshots/id-button--small-chromium-linux.png +0 -0
- package/e2e/card.spec.ts +0 -43
- package/e2e/card.spec.ts-snapshots/id-card--default-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts +0 -47
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--greysacale-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-error-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-petrol-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-teal-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--primary-warning-chromium-linux.png +0 -0
- package/e2e/colors.spec.ts-snapshots/id-foundations-colors--secondary-colors-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts +0 -102
- package/e2e/createAccount.spec.ts-snapshots/id-create-account--default-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/id-deprecated-create-account--default-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/register-with-errors-chromium-linux.png +0 -0
- package/e2e/createAccount.spec.ts-snapshots/register-with-texts-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts +0 -94
- package/e2e/createPassword.spec.ts-snapshots/createPassword-with-errors-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/createPassword-with-texts-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-args-viewMode-story-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-createpassword--default-chromium-linux.png +0 -0
- package/e2e/createPassword.spec.ts-snapshots/id-deprecated-create-password--default-chromium-linux.png +0 -0
- package/e2e/dialog.spec.ts +0 -43
- package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-darwin.png +0 -0
- package/e2e/dialog.spec.ts-snapshots/id-dialog-dialog--default-chromium-linux.png +0 -0
- package/e2e/field.spec.ts +0 -51
- package/e2e/field.spec.ts-snapshots/id-forms-field--email-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--number-type-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--password-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--search-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--tel-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--text-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-disable-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-errors-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--with-require-chromium-linux.png +0 -0
- package/e2e/field.spec.ts-snapshots/id-forms-field--without-label-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts +0 -94
- package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-errors-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/forgotPassword-with-texts-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-deprecated-forgot-password--default-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-args-viewMode-story-chromium-linux.png +0 -0
- package/e2e/forgotPassword.spec.ts-snapshots/id-forgotpassword--default-chromium-linux.png +0 -0
- package/e2e/label.spec.ts +0 -47
- package/e2e/label.spec.ts-snapshots/id-label--big-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--huge-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--large-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--medium-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-label--small-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--big-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--huge-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--large-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--medium-chromium-linux.png +0 -0
- package/e2e/label.spec.ts-snapshots/id-under-review-label--small-chromium-linux.png +0 -0
- package/e2e/login.spec.ts +0 -102
- package/e2e/login.spec.ts-snapshots/id-deprecated-login--default-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/id-login--default-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/login-with-errors-chromium-linux.png +0 -0
- package/e2e/login.spec.ts-snapshots/login-with-texts-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts +0 -45
- package/e2e/logo.spec.ts-snapshots/id-logo--default-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts-snapshots/id-logo--powered-by-chromium-linux.png +0 -0
- package/e2e/logo.spec.ts-snapshots/id-logo--reverse-chromium-linux.png +0 -0
- package/e2e/navbar.spec.ts +0 -42
- package/e2e/navbar.spec.ts-snapshots/id-navbar--default-chromium-linux.png +0 -0
- package/e2e/navigation.spec.ts +0 -43
- package/e2e/navigation.spec.ts-snapshots/id-navigation--default-chromium-linux.png +0 -0
- package/e2e/paginator.spec.ts +0 -42
- package/e2e/paginator.spec.ts-snapshots/id-paginator--default-chromium-linux.png +0 -0
- package/e2e/progressBar.spec.ts +0 -42
- package/e2e/progressBar.spec.ts-snapshots/id-progressbar--determinate-chromium-linux.png +0 -0
- package/e2e/table.spec.ts +0 -47
- package/e2e/table.spec.ts-snapshots/id-deprecated-table--default-chromium-linux.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--default-chromium-darwin.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--default-chromium-linux.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-darwin.png +0 -0
- package/e2e/table.spec.ts-snapshots/id-table--expandable-chromium-linux.png +0 -0
- package/e2e/typography.spec.ts +0 -42
- package/e2e/typography.spec.ts-snapshots/id-foundations-typography--page-args-viewMode-story-chromium-linux.png +0 -0
- package/globalSetup.js +0 -9
- package/jest.config.js +0 -69
- package/ng-package.json +0 -9
- package/projects/client/src/app/app.component.html +0 -1
- package/projects/client/src/app/app.component.scss +0 -8
- package/projects/client/src/app/app.component.spec.ts +0 -27
- package/projects/client/src/app/app.component.ts +0 -37
- package/projects/client/src/app/app.routes.ts +0 -8
- package/projects/client/src/app/components/avatar/avatar.component.html +0 -10
- package/projects/client/src/app/components/avatar/avatar.component.scss +0 -0
- package/projects/client/src/app/components/avatar/avatar.component.ts +0 -25
- package/projects/client/src/assets/.gitkeep +0 -0
- package/projects/client/src/favicon.ico +0 -0
- package/projects/client/src/index.html +0 -13
- package/projects/client/src/main.ts +0 -15
- package/projects/client/src/styles.scss +0 -10
- package/projects/client/tsconfig.app.json +0 -14
- package/projects/client/tsconfig.spec.json +0 -14
- package/projects/tgo-canopy-ui/__mocks__/alert-bar.mock.ts +0 -18
- package/projects/tgo-canopy-ui/__mocks__/button.mock.ts +0 -34
- package/projects/tgo-canopy-ui/__mocks__/field.mock.ts +0 -10
- package/projects/tgo-canopy-ui/__mocks__/icon.mock.ts +0 -14
- package/projects/tgo-canopy-ui/__mocks__/tag.mock.ts +0 -9
- package/projects/tgo-canopy-ui/assets/.gitkeep +0 -0
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.html +0 -35
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.module.ts +0 -26
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.scss +0 -284
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.spec.ts +0 -37
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.stories.ts +0 -176
- package/projects/tgo-canopy-ui/components/accordion/accordion.component.ts +0 -97
- package/projects/tgo-canopy-ui/components/alert-banner/__snapshots__/alert-banner.component.spec.ts.snap +0 -42
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.html +0 -22
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.scss +0 -39
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.spec.ts +0 -177
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.stories.ts +0 -100
- package/projects/tgo-canopy-ui/components/alert-banner/alert-banner.component.ts +0 -130
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.html +0 -198
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.module.ts +0 -40
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.scss +0 -283
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.spec.ts +0 -238
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.stories.ts +0 -135
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.component.ts +0 -519
- package/projects/tgo-canopy-ui/components/autocomplete/autocomplete.model.ts +0 -22
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.spec.ts +0 -33
- package/projects/tgo-canopy-ui/components/autocomplete/includes.pipe.ts +0 -15
- package/projects/tgo-canopy-ui/components/autocomplete/transform-Item.pipe.ts +0 -21
- package/projects/tgo-canopy-ui/components/autocomplete/transform-item.pipe.spec.ts +0 -24
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.html +0 -23
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.module.ts +0 -14
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.scss +0 -75
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.spec.ts +0 -39
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.stories.ts +0 -111
- package/projects/tgo-canopy-ui/components/avatar/avatar.component.ts +0 -76
- package/projects/tgo-canopy-ui/components/avatar/avatar.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/badge/badge.component.html +0 -10
- package/projects/tgo-canopy-ui/components/badge/badge.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/badge/badge.component.scss +0 -147
- package/projects/tgo-canopy-ui/components/badge/badge.component.spec.ts +0 -57
- package/projects/tgo-canopy-ui/components/badge/badge.component.stories.ts +0 -61
- package/projects/tgo-canopy-ui/components/badge/badge.component.ts +0 -99
- package/projects/tgo-canopy-ui/components/badge/badge.model.ts +0 -40
- package/projects/tgo-canopy-ui/components/button/__snapshots__/button.component.spec.ts.snap +0 -64
- package/projects/tgo-canopy-ui/components/button/button.component.html +0 -80
- package/projects/tgo-canopy-ui/components/button/button.component.module.ts +0 -23
- package/projects/tgo-canopy-ui/components/button/button.component.scss +0 -1012
- package/projects/tgo-canopy-ui/components/button/button.component.spec.ts +0 -274
- package/projects/tgo-canopy-ui/components/button/button.component.stories.ts +0 -455
- package/projects/tgo-canopy-ui/components/button/button.component.ts +0 -393
- package/projects/tgo-canopy-ui/components/button/button.model.ts +0 -28
- package/projects/tgo-canopy-ui/components/card/card.component.html +0 -9
- package/projects/tgo-canopy-ui/components/card/card.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/card/card.component.scss +0 -91
- package/projects/tgo-canopy-ui/components/card/card.component.spec.ts +0 -76
- package/projects/tgo-canopy-ui/components/card/card.component.stories.ts +0 -88
- package/projects/tgo-canopy-ui/components/card/card.component.ts +0 -72
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.html +0 -23
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.module.ts +0 -17
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.scss +0 -221
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.spec.ts +0 -191
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.stories.ts +0 -122
- package/projects/tgo-canopy-ui/components/checkbox/checkbox.component.ts +0 -233
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.html +0 -16
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.module.ts +0 -18
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.scss +0 -3
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.spec.ts +0 -42
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.component.ts +0 -43
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.model.ts +0 -10
- package/projects/tgo-canopy-ui/components/confirm-dialog/confirm-dialog.stories.ts +0 -37
- package/projects/tgo-canopy-ui/components/datepicker/__snapshots__/datepicker.component.spec.ts.snap +0 -56
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.html +0 -98
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.module.ts +0 -33
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.scss +0 -195
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.spec.ts +0 -249
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.stories.ts +0 -138
- package/projects/tgo-canopy-ui/components/datepicker/datepicker.component.ts +0 -358
- package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.spec.ts +0 -35
- package/projects/tgo-canopy-ui/components/datepicker/no-date-format.directive.ts +0 -43
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.html +0 -5
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.scss +0 -32
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.stories.ts +0 -31
- package/projects/tgo-canopy-ui/components/deprecated-paginator/deprecated-paginator.component.ts +0 -54
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.html +0 -113
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.module.ts +0 -25
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.scss +0 -188
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.stories.ts +0 -620
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.component.ts +0 -160
- package/projects/tgo-canopy-ui/components/deprecated-table/deprecated-table.model.ts +0 -51
- package/projects/tgo-canopy-ui/components/deprecated-table/directives/dynamic-component.directive.ts +0 -41
- package/projects/tgo-canopy-ui/components/dialog/__snapshots__/dialog.component.spec.ts.snap +0 -51
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.html +0 -41
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.scss +0 -133
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.spec.ts +0 -230
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.stories.ts +0 -60
- package/projects/tgo-canopy-ui/components/dialog/dialog.component.ts +0 -184
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.spec.ts +0 -55
- package/projects/tgo-canopy-ui/components/dialog/dialog.service.ts +0 -33
- package/projects/tgo-canopy-ui/components/dialog-custom/__snapshots__/dialog-custom.component.spec.ts.snap +0 -28
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom +0 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.html +0 -38
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.mdx +0 -38
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.spec.ts +0 -56
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.stories.ts +0 -27
- package/projects/tgo-canopy-ui/components/dialog-custom/dialog-custom.component.ts +0 -45
- package/projects/tgo-canopy-ui/components/dialog-demo/__snapshots__/dialog-demo.component.spec.ts.snap +0 -21
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.html +0 -4
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.mdx +0 -28
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.scss +0 -12
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.spec.ts +0 -58
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.stories.ts +0 -30
- package/projects/tgo-canopy-ui/components/dialog-demo/dialog-demo.component.ts +0 -33
- package/projects/tgo-canopy-ui/components/divider/divider.component.html +0 -13
- package/projects/tgo-canopy-ui/components/divider/divider.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/divider/divider.component.scss +0 -57
- package/projects/tgo-canopy-ui/components/divider/divider.component.spec.ts +0 -21
- package/projects/tgo-canopy-ui/components/divider/divider.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/divider/divider.component.ts +0 -54
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.html +0 -43
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.module.ts +0 -31
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.scss +0 -237
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.spec.ts +0 -104
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.stories.ts +0 -213
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.component.ts +0 -250
- package/projects/tgo-canopy-ui/components/dropdown/dropdown.model.ts +0 -5
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.html +0 -3
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.scss +0 -41
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.spec.ts +0 -39
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.stories.ts +0 -59
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.component.ts +0 -38
- package/projects/tgo-canopy-ui/components/elevation-shadow/elevation-shadow.constant.ts +0 -9
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.html +0 -25
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.scss +0 -70
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.spec.ts +0 -80
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.stories.ts +0 -159
- package/projects/tgo-canopy-ui/components/empty-state/empty-state.component.ts +0 -174
- package/projects/tgo-canopy-ui/components/field/__snapshots__/field.component.spec.ts.snap +0 -55
- package/projects/tgo-canopy-ui/components/field/field.component.html +0 -105
- package/projects/tgo-canopy-ui/components/field/field.component.module.ts +0 -32
- package/projects/tgo-canopy-ui/components/field/field.component.scss +0 -492
- package/projects/tgo-canopy-ui/components/field/field.component.spec.ts +0 -268
- package/projects/tgo-canopy-ui/components/field/field.component.stories.ts +0 -212
- package/projects/tgo-canopy-ui/components/field/field.component.ts +0 -430
- package/projects/tgo-canopy-ui/components/field/field.model.ts +0 -11
- package/projects/tgo-canopy-ui/components/file-upload/__snapshots__/file-upload.component.spec.ts.snap +0 -59
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.html +0 -94
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.module.ts +0 -23
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.scss +0 -182
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.spec.ts +0 -142
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.stories.ts +0 -96
- package/projects/tgo-canopy-ui/components/file-upload/file-upload.component.ts +0 -284
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.html +0 -32
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.module.ts +0 -14
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.scss +0 -23
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.spec.ts +0 -111
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.stories.ts +0 -28
- package/projects/tgo-canopy-ui/components/file-upload-demo/file-upload-demo.component.ts +0 -74
- package/projects/tgo-canopy-ui/components/form-demo/form-demo-component.stories.ts +0 -41
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.html +0 -210
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.module.ts +0 -34
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.scss +0 -59
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.spec.ts +0 -127
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.component.ts +0 -217
- package/projects/tgo-canopy-ui/components/form-demo/form-demo.model.ts +0 -6
- package/projects/tgo-canopy-ui/components/icon/__snapshots__/icon.component.spec.ts.snap +0 -20
- package/projects/tgo-canopy-ui/components/icon/icon.component.html +0 -1
- package/projects/tgo-canopy-ui/components/icon/icon.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/icon/icon.component.scss +0 -66
- package/projects/tgo-canopy-ui/components/icon/icon.component.spec.ts +0 -150
- package/projects/tgo-canopy-ui/components/icon/icon.component.stories.ts +0 -68
- package/projects/tgo-canopy-ui/components/icon/icon.component.ts +0 -147
- package/projects/tgo-canopy-ui/components/icon/icon.config.ts +0 -658
- package/projects/tgo-canopy-ui/components/icon/icon.model.ts +0 -8
- package/projects/tgo-canopy-ui/components/icon-label/__snapshots__/icon-label.component.spec.ts.snap +0 -15
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.html +0 -2
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.scss +0 -8
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.spec.ts +0 -64
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/icon-label/icon-label.component.ts +0 -53
- package/projects/tgo-canopy-ui/components/icons-showcase/__snapshots__/icons-showcase.component.spec.ts.snap +0 -3487
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.html +0 -17
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.scss +0 -25
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.spec.ts +0 -40
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.stories.ts +0 -44
- package/projects/tgo-canopy-ui/components/icons-showcase/icons-showcase.component.ts +0 -43
- package/projects/tgo-canopy-ui/components/login/login.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/logo/logo.component.html +0 -14
- package/projects/tgo-canopy-ui/components/logo/logo.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/logo/logo.component.scss +0 -13
- package/projects/tgo-canopy-ui/components/logo/logo.component.spec.ts +0 -162
- package/projects/tgo-canopy-ui/components/logo/logo.component.stories.ts +0 -55
- package/projects/tgo-canopy-ui/components/logo/logo.component.ts +0 -148
- package/projects/tgo-canopy-ui/components/logo/logo.model.ts +0 -30
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.html +0 -36
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.scss +0 -70
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.spec.ts +0 -58
- package/projects/tgo-canopy-ui/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.ts +0 -58
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.html +0 -62
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.module.ts +0 -36
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.scss +0 -240
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.spec.ts +0 -136
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.stories.ts +0 -134
- package/projects/tgo-canopy-ui/components/navbar/navbar.component.ts +0 -206
- package/projects/tgo-canopy-ui/components/navbar/navbar.model.ts +0 -12
- package/projects/tgo-canopy-ui/components/overflow-menu/__snapshots__/overflow-menu.component.spec.ts.snap +0 -28
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.html +0 -47
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.scss +0 -98
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.spec.ts +0 -124
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.stories.ts +0 -58
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.component.ts +0 -88
- package/projects/tgo-canopy-ui/components/overflow-menu/overflow-menu.model.ts +0 -11
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.html +0 -35
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.scss +0 -61
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.spec.ts +0 -34
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.stories.ts +0 -56
- package/projects/tgo-canopy-ui/components/page-header/page-header.component.ts +0 -64
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.html +0 -10
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.scss +0 -159
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.spec.ts +0 -29
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.stories.ts +0 -36
- package/projects/tgo-canopy-ui/components/paginator/paginator.component.ts +0 -67
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.html +0 -31
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.module.ts +0 -22
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.scss +0 -56
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.spec.ts +0 -45
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.stories.ts +0 -49
- package/projects/tgo-canopy-ui/components/password-criteria/password.component.ts +0 -106
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.html +0 -19
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.scss +0 -54
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.spec.ts +0 -40
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.stories.ts +0 -50
- package/projects/tgo-canopy-ui/components/password-strength/password-strength.component.ts +0 -98
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.html +0 -2
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.spec.ts +0 -28
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.stories.ts +0 -40
- package/projects/tgo-canopy-ui/components/password-strength-demo/password-strength-demo.component.ts +0 -20
- package/projects/tgo-canopy-ui/components/phone-input/join-string.pipe.spec.ts +0 -9
- package/projects/tgo-canopy-ui/components/phone-input/join-strings.pipe.ts +0 -8
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.html +0 -64
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.module.ts +0 -35
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.scss +0 -133
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.spec.ts +0 -212
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.stories.ts +0 -89
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.component.ts +0 -427
- package/projects/tgo-canopy-ui/components/phone-input/phone-input.model.ts +0 -8
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.html +0 -9
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.scss +0 -152
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.spec.ts +0 -76
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/progress-bar/progress-bar.component.ts +0 -82
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.html +0 -26
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.scss +0 -41
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.spec.ts +0 -102
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.stories.ts +0 -69
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.component.ts +0 -114
- package/projects/tgo-canopy-ui/components/radial-progress/radial-progress.model.ts +0 -13
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.html +0 -16
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.module.ts +0 -13
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.scss +0 -175
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.spec.ts +0 -141
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.stories.ts +0 -126
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.component.ts +0 -190
- package/projects/tgo-canopy-ui/components/radio-button/radio-button.model.ts +0 -4
- package/projects/tgo-canopy-ui/components/rating/__snapshots__/rating.component.spec.ts.snap +0 -47
- package/projects/tgo-canopy-ui/components/rating/half-star.pipe.spec.ts +0 -33
- package/projects/tgo-canopy-ui/components/rating/half-star.pipe.ts +0 -17
- package/projects/tgo-canopy-ui/components/rating/rating.component.html +0 -31
- package/projects/tgo-canopy-ui/components/rating/rating.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/rating/rating.component.scss +0 -139
- package/projects/tgo-canopy-ui/components/rating/rating.component.spec.ts +0 -142
- package/projects/tgo-canopy-ui/components/rating/rating.component.stories.ts +0 -87
- package/projects/tgo-canopy-ui/components/rating/rating.component.ts +0 -97
- package/projects/tgo-canopy-ui/components/scale/__snapshots__/scale.component.spec.ts.snap +0 -42
- package/projects/tgo-canopy-ui/components/scale/scale.component.html +0 -7
- package/projects/tgo-canopy-ui/components/scale/scale.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/scale/scale.component.scss +0 -71
- package/projects/tgo-canopy-ui/components/scale/scale.component.spec.ts +0 -125
- package/projects/tgo-canopy-ui/components/scale/scale.component.stories.ts +0 -60
- package/projects/tgo-canopy-ui/components/scale/scale.component.ts +0 -57
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.html +0 -16
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.scss +0 -86
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.spec.ts +0 -69
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.stories.ts +0 -98
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.component.ts +0 -69
- package/projects/tgo-canopy-ui/components/segmented-bar/segmented-bar.model.ts +0 -8
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.html +0 -11
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.module.ts +0 -22
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.scss +0 -44
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.spec.ts +0 -50
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.stories.ts +0 -48
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.component.ts +0 -54
- package/projects/tgo-canopy-ui/components/segmented-button/segmented-button.model.ts +0 -7
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.html +0 -37
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.module.ts +0 -24
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.scss +0 -97
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.spec.ts +0 -176
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.component.ts +0 -110
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.model.ts +0 -12
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.spec.ts +0 -88
- package/projects/tgo-canopy-ui/components/side-sheet/side-sheet.service.ts +0 -28
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.html +0 -5
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.scss +0 -14
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.spec.ts +0 -26
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.stories.ts +0 -54
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.component.ts +0 -98
- package/projects/tgo-canopy-ui/components/side-sheet-demo/side-sheet-demo.module.ts +0 -12
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.html +0 -5
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.spec.ts +0 -75
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.stories.ts +0 -47
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.component.ts +0 -66
- package/projects/tgo-canopy-ui/components/skeleton/skeleton.model.ts +0 -3
- package/projects/tgo-canopy-ui/components/slider/slider.component.html +0 -75
- package/projects/tgo-canopy-ui/components/slider/slider.component.module.ts +0 -24
- package/projects/tgo-canopy-ui/components/slider/slider.component.scss +0 -223
- package/projects/tgo-canopy-ui/components/slider/slider.component.spec.ts +0 -103
- package/projects/tgo-canopy-ui/components/slider/slider.component.stories.ts +0 -87
- package/projects/tgo-canopy-ui/components/slider/slider.component.ts +0 -185
- package/projects/tgo-canopy-ui/components/slider/slider.model.ts +0 -4
- package/projects/tgo-canopy-ui/components/snackbar/__snapshots__/snackbar.component.spec.ts.snap +0 -44
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.html +0 -33
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.module.ts +0 -16
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.scss +0 -45
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.spec.ts +0 -214
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.stories.ts +0 -159
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.component.ts +0 -196
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.spec.ts +0 -52
- package/projects/tgo-canopy-ui/components/snackbar/snackbar.service.ts +0 -37
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.html +0 -6
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.scss +0 -75
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.spec.ts +0 -82
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.stories.ts +0 -46
- package/projects/tgo-canopy-ui/components/spinner/spinner.component.ts +0 -59
- package/projects/tgo-canopy-ui/components/spinner/spinner.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/step/step.component.html +0 -100
- package/projects/tgo-canopy-ui/components/step/step.component.module.ts +0 -11
- package/projects/tgo-canopy-ui/components/step/step.component.scss +0 -315
- package/projects/tgo-canopy-ui/components/step/step.component.spec.ts +0 -61
- package/projects/tgo-canopy-ui/components/step/step.component.ts +0 -134
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.html +0 -79
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.module.ts +0 -25
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.scss +0 -144
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.spec.ts +0 -64
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.stories.ts +0 -84
- package/projects/tgo-canopy-ui/components/stepper/stepper.component.ts +0 -118
- package/projects/tgo-canopy-ui/components/stepper/stepper.model.ts +0 -10
- package/projects/tgo-canopy-ui/components/table/sentence-case.pipe.ts +0 -13
- package/projects/tgo-canopy-ui/components/table/sentence-case.spec.ts +0 -53
- package/projects/tgo-canopy-ui/components/table/table.component.html +0 -290
- package/projects/tgo-canopy-ui/components/table/table.component.module.ts +0 -33
- package/projects/tgo-canopy-ui/components/table/table.component.scss +0 -201
- package/projects/tgo-canopy-ui/components/table/table.component.spec.ts +0 -187
- package/projects/tgo-canopy-ui/components/table/table.component.stories.ts +0 -425
- package/projects/tgo-canopy-ui/components/table/table.component.ts +0 -235
- package/projects/tgo-canopy-ui/components/table/table.model.ts +0 -103
- package/projects/tgo-canopy-ui/components/tabs/tab.directive.ts +0 -33
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.html +0 -19
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.module.ts +0 -22
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.scss +0 -234
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.spec.ts +0 -85
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.stories.ts +0 -73
- package/projects/tgo-canopy-ui/components/tabs/tabs.component.ts +0 -79
- package/projects/tgo-canopy-ui/components/tabs/tabs.directive.spec.ts +0 -90
- package/projects/tgo-canopy-ui/components/tabs/tabs.model.ts +0 -11
- package/projects/tgo-canopy-ui/components/tag/__snapshots__/tag.component.spec.ts.snap +0 -42
- package/projects/tgo-canopy-ui/components/tag/tag.component.html +0 -26
- package/projects/tgo-canopy-ui/components/tag/tag.component.module.ts +0 -15
- package/projects/tgo-canopy-ui/components/tag/tag.component.scss +0 -161
- package/projects/tgo-canopy-ui/components/tag/tag.component.spec.ts +0 -193
- package/projects/tgo-canopy-ui/components/tag/tag.component.stories.ts +0 -125
- package/projects/tgo-canopy-ui/components/tag/tag.component.ts +0 -213
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.html +0 -24
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.module.ts +0 -14
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.scss +0 -202
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.spec.ts +0 -197
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.stories.ts +0 -97
- package/projects/tgo-canopy-ui/components/toggle/toggle.component.ts +0 -179
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.html +0 -9
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.spec.ts +0 -53
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.stories.ts +0 -235
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.component.ts +0 -81
- package/projects/tgo-canopy-ui/components/tooltip/tooltip.model.ts +0 -6
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.html +0 -29
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.scss +0 -0
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.spec.ts +0 -75
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.component.ts +0 -53
- package/projects/tgo-canopy-ui/components/validation-error/validation-error.module.ts +0 -12
- package/projects/tgo-canopy-ui/directives/digits-only.directive.spec.ts +0 -121
- package/projects/tgo-canopy-ui/directives/digits-only.directive.ts +0 -42
- package/projects/tgo-canopy-ui/directives/drag-drop.directive.spec.ts +0 -84
- package/projects/tgo-canopy-ui/directives/drag-drop.directive.ts +0 -39
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.spec.ts +0 -57
- package/projects/tgo-canopy-ui/directives/ellipse-text.directive.ts +0 -27
- package/projects/tgo-canopy-ui/directives/select-text.directive.spec.ts +0 -54
- package/projects/tgo-canopy-ui/directives/select-text.directive.ts +0 -37
- package/projects/tgo-canopy-ui/directives/step-line-width.directive.spec.ts +0 -59
- package/projects/tgo-canopy-ui/directives/step-line-width.directive.ts +0 -31
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.html +0 -4
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.module.ts +0 -10
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.scss +0 -318
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.spec.ts +0 -47
- package/projects/tgo-canopy-ui/foundations/colors/colors.component.ts +0 -22
- package/projects/tgo-canopy-ui/foundations/colors/colors.stories.ts +0 -426
- package/projects/tgo-canopy-ui/foundations/typography/typography.stories.ts +0 -195
- package/projects/tgo-canopy-ui/mocked-assets/images/some_progress.svg +0 -4
- package/projects/tgo-canopy-ui/models/colors.model.ts +0 -88
- package/projects/tgo-canopy-ui/models/screen-breakpoints.model.ts +0 -4
- package/projects/tgo-canopy-ui/pipes/data-property-getter.spec.ts +0 -42
- package/projects/tgo-canopy-ui/pipes/data-property-getter.ts +0 -31
- package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.spec.ts +0 -32
- package/projects/tgo-canopy-ui/pipes/has-validation-error.pipe.ts +0 -20
- package/projects/tgo-canopy-ui/pipes/name-initials.pipe.spec.ts +0 -44
- package/projects/tgo-canopy-ui/pipes/name-initials.pipe.ts +0 -18
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.spec.ts +0 -45
- package/projects/tgo-canopy-ui/pipes/ui-translate.pipe.ts +0 -71
- package/projects/tgo-canopy-ui/polyfills.ts +0 -51
- package/projects/tgo-canopy-ui/providers/is-mobile.ts +0 -11
- package/projects/tgo-canopy-ui/public-api.ts +0 -184
- package/projects/tgo-canopy-ui/services/custom-event-manager.service.spec.ts +0 -57
- package/projects/tgo-canopy-ui/services/custom-event-manager.service.ts +0 -28
- package/projects/tgo-canopy-ui/test-utils/mock-file.spec.ts +0 -44
- package/projects/tgo-canopy-ui/test-utils/mock-file.ts +0 -24
- package/projects/tgo-canopy-ui/test.ts +0 -20
- package/projects/tgo-canopy-ui/utils/alert-bars.utils.spec.ts +0 -47
- package/projects/tgo-canopy-ui/utils/alert-bars.utils.ts +0 -36
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.spec.ts +0 -68
- package/projects/tgo-canopy-ui/utils/autocomplete-utils.ts +0 -66
- package/projects/tgo-canopy-ui/utils/color-contrast.spec.ts +0 -46
- package/projects/tgo-canopy-ui/utils/color-contrast.ts +0 -135
- package/projects/tgo-canopy-ui/utils/localization/language.model.ts +0 -14
- package/projects/tgo-canopy-ui/utils/localization/language.service.mocks.ts +0 -6
- package/projects/tgo-canopy-ui/utils/localization/language.service.spec.ts +0 -25
- package/projects/tgo-canopy-ui/utils/localization/language.service.ts +0 -32
- package/projects/tgo-canopy-ui/utils/table.utils.spec.ts +0 -47
- package/projects/tgo-canopy-ui/utils/table.utils.ts +0 -22
- package/projects/tgo-canopy-ui/utils/transform-theme.ts +0 -9
- package/projects/tgo-canopy-ui/utils/transform.theme.spec.ts +0 -16
- package/projects/tgo-canopy-ui/utils/validators.utils.spec.ts +0 -16
- package/projects/tgo-canopy-ui/utils/validators.utils.ts +0 -9
- package/setupJest.ts +0 -1
- package/transloco.config.js +0 -5
- package/tsconfig.json +0 -46
- package/tsconfig.spec.json +0 -17
- package/tsconfig.ui.json +0 -24
- package/tsconfig.ui.prod.json +0 -10
- package/visual-tests/component-page-objects/avatar-component.ts +0 -30
- package/visual-tests/component-page-objects/base-component.ts +0 -44
- package/visual-tests/component-tests/avatar.spec.ts +0 -32
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-allow-edit-for-the-avatar-1-chromium-linux.png +0 -0
- package/visual-tests/component-tests/avatar.spec.ts-snapshots/Avatar-Component-Visual-Tests-should-display-the-avatar-correctly-1-chromium-linux.png +0 -0
- package/visual-tests/playwright.config.ts +0 -45
- package/visual-tests/runConfig.ts +0 -1
- /package/{projects/tgo-canopy-ui/components/accordion/accordion.model.ts → components/accordion/accordion.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/alert-banner/alert-banner.model.ts → components/alert-banner/alert-banner.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/card/card.model.ts → components/card/card.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/divider/divider.model.ts → components/divider/divider.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/empty-state/empty-state.model.ts → components/empty-state/empty-state.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/snackbar/snackbar.model.ts → components/snackbar/snackbar.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/spinner/spinner.model.ts → components/spinner/spinner.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/tag/tag.model.ts → components/tag/tag.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/toggle/toggle.model.ts → components/toggle/toggle.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/components/validation-error/validation-error.model.ts → components/validation-error/validation-error.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/models/application-theme.model.ts → models/application-theme.model.d.ts} +0 -0
- /package/{projects/tgo-canopy-ui/utils/alert-bar.model.ts → utils/alert-bar.model.d.ts} +0 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { booleanAttribute, Component, EventEmitter, HostBinding, Inject, Input, Optional, Output } from '@angular/core';
|
|
2
|
+
import { IS_MOBILE_TOKEN } from '../../providers/is-mobile';
|
|
3
|
+
import { LanguageService } from '../../utils/localization/language.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
6
|
+
import * as i2 from "../button/button.component";
|
|
7
|
+
import * as i3 from "../../pipes/ui-translate.pipe";
|
|
8
|
+
import * as i4 from "rxjs";
|
|
9
|
+
export class PageHeaderComponent {
|
|
10
|
+
constructor(defaultAppTheme, isMobile$) {
|
|
11
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
12
|
+
this.isMobile$ = isMobile$;
|
|
13
|
+
/**
|
|
14
|
+
* Flag to determine whether the "Back" button should be displayed.
|
|
15
|
+
* @default true
|
|
16
|
+
* @memberof PageHeaderComponent
|
|
17
|
+
*/
|
|
18
|
+
this.showBackButton = true;
|
|
19
|
+
/**
|
|
20
|
+
* The language to be used
|
|
21
|
+
* @property language
|
|
22
|
+
* @type {Language}
|
|
23
|
+
* @memberof PageHeaderComponent
|
|
24
|
+
*/
|
|
25
|
+
this.language = LanguageService.defaultLanguage;
|
|
26
|
+
/**
|
|
27
|
+
* Back button tooltip for mobile variation
|
|
28
|
+
* @property tooltip
|
|
29
|
+
* @memberof PageHeaderComponent
|
|
30
|
+
*/
|
|
31
|
+
this.tooltip = 'COMMON.BACK';
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* Defines the application theme
|
|
35
|
+
*
|
|
36
|
+
* @type {ApplicationTheme}
|
|
37
|
+
* @memberof PageHeaderComponent
|
|
38
|
+
*/
|
|
39
|
+
this.applicationTheme = 'light';
|
|
40
|
+
/**
|
|
41
|
+
* Event triggered when the "Back" button is clicked.
|
|
42
|
+
* @memberof PageHeaderComponent
|
|
43
|
+
*/
|
|
44
|
+
this.back = new EventEmitter();
|
|
45
|
+
if (defaultAppTheme) {
|
|
46
|
+
this.applicationTheme = defaultAppTheme;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
onBack() {
|
|
50
|
+
this.back.emit();
|
|
51
|
+
}
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageHeaderComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }, { token: IS_MOBILE_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "16.2.12", type: PageHeaderComponent, selector: "ui-page-header", inputs: { showBackButton: ["showBackButton", "showBackButton", booleanAttribute], language: "language", tooltip: "tooltip", applicationTheme: "applicationTheme" }, outputs: { back: "back" }, host: { properties: { "attr.theme": "this.applicationTheme" } }, ngImport: i0, template: "<ng-container>\n <div class=\"page-header-container\">\n <div class=\"page-header-content\">\n <ng-container *ngIf=\"!(isMobile$ | async) else mobile\">\n <ui-button\n [applicationTheme]=\"applicationTheme\"\n *ngIf=\"showBackButton\"\n (click)=\"onBack()\"\n [variant]=\"'ghost'\"\n [justIcon]=\"true\"\n [iconName]=\"applicationTheme === 'classic' ? 'Arrow_left' : 'Arrow-chevron-left-in-line'\"\n ></ui-button>\n </ng-container>\n\n <ng-template #mobile>\n <ui-button\n [applicationTheme]=\"applicationTheme\" class=\"mobile-back-btn\" [tooltip]=\"('COMMON.BACK') | uiTranslate : language\"\n [variant]=\"'icon-button'\"\n (click)=\"onBack()\"\n [justIcon]=\"true\"\n [iconName]=\"applicationTheme === 'classic' ? 'Arrow_left' : 'Arrow-chevron-left-in-line'\"\n ></ui-button>\n </ng-template>\n\n <div class=\"main-content\" [ngClass]=\"{ 'remove-margin': !showBackButton }\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n\n <div class=\"right-side\">\n <ng-content select=\"[right-side]\"></ng-content>\n </div>\n </div>\n </div>\n\n</ng-container>\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}.page-header-container{border-bottom:1px solid #E0E0E0}.page-header-container .page-header-content{display:flex;flex-direction:row;padding:16px 64px;max-width:1312px;min-height:48px}.page-header-container .page-header-content .main-content{margin:0 16px 0 24px}.page-header-container .page-header-content .main-content.remove-margin{margin-left:0}.page-header-container .page-header-content .desktop-back-btn{margin-right:24px}@media (max-width: 600px){.page-header-container .page-header-content{padding:8px 16px;max-width:unset}.page-header-container .page-header-content .main-content{width:100%;margin:0 0 0 16px}.page-header-container .page-header-content .main-content .content{width:100%}.page-header-container .page-header-content .right-side{display:none}}.page-header-container .page-header-content .mobile-back-btn{top:-10px;position:relative}.page-header-container .page-header-content .right-side{margin-left:auto}:host[theme=dark] .page-header-container,:host[theme=light] .page-header-container{border-color:#d3d3d3}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.UiTranslatePipe, name: "uiTranslate" }] }); }
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageHeaderComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: 'ui-page-header', template: "<ng-container>\n <div class=\"page-header-container\">\n <div class=\"page-header-content\">\n <ng-container *ngIf=\"!(isMobile$ | async) else mobile\">\n <ui-button\n [applicationTheme]=\"applicationTheme\"\n *ngIf=\"showBackButton\"\n (click)=\"onBack()\"\n [variant]=\"'ghost'\"\n [justIcon]=\"true\"\n [iconName]=\"applicationTheme === 'classic' ? 'Arrow_left' : 'Arrow-chevron-left-in-line'\"\n ></ui-button>\n </ng-container>\n\n <ng-template #mobile>\n <ui-button\n [applicationTheme]=\"applicationTheme\" class=\"mobile-back-btn\" [tooltip]=\"('COMMON.BACK') | uiTranslate : language\"\n [variant]=\"'icon-button'\"\n (click)=\"onBack()\"\n [justIcon]=\"true\"\n [iconName]=\"applicationTheme === 'classic' ? 'Arrow_left' : 'Arrow-chevron-left-in-line'\"\n ></ui-button>\n </ng-template>\n\n <div class=\"main-content\" [ngClass]=\"{ 'remove-margin': !showBackButton }\">\n <ng-content select=\"[content]\"></ng-content>\n </div>\n\n <div class=\"right-side\">\n <ng-content select=\"[right-side]\"></ng-content>\n </div>\n </div>\n </div>\n\n</ng-container>\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}.page-header-container{border-bottom:1px solid #E0E0E0}.page-header-container .page-header-content{display:flex;flex-direction:row;padding:16px 64px;max-width:1312px;min-height:48px}.page-header-container .page-header-content .main-content{margin:0 16px 0 24px}.page-header-container .page-header-content .main-content.remove-margin{margin-left:0}.page-header-container .page-header-content .desktop-back-btn{margin-right:24px}@media (max-width: 600px){.page-header-container .page-header-content{padding:8px 16px;max-width:unset}.page-header-container .page-header-content .main-content{width:100%;margin:0 0 0 16px}.page-header-container .page-header-content .main-content .content{width:100%}.page-header-container .page-header-content .right-side{display:none}}.page-header-container .page-header-content .mobile-back-btn{top:-10px;position:relative}.page-header-container .page-header-content .right-side{margin-left:auto}:host[theme=dark] .page-header-container,:host[theme=light] .page-header-container{border-color:#d3d3d3}\n"] }]
|
|
58
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
59
|
+
type: Optional
|
|
60
|
+
}, {
|
|
61
|
+
type: Inject,
|
|
62
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
63
|
+
}] }, { type: i4.Observable, decorators: [{
|
|
64
|
+
type: Inject,
|
|
65
|
+
args: [IS_MOBILE_TOKEN]
|
|
66
|
+
}] }]; }, propDecorators: { showBackButton: [{
|
|
67
|
+
type: Input,
|
|
68
|
+
args: [{ transform: booleanAttribute }]
|
|
69
|
+
}], language: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], tooltip: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], applicationTheme: [{
|
|
74
|
+
type: HostBinding,
|
|
75
|
+
args: ['attr.the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XCJvbkJhY2soKVwiXG4gICAgICAgICAgW2p1c3RJY29uXT1cInRydWVcIlxuICAgICAgICAgIFtpY29uTmFtZV09XCJhcHBsaWNhdGlvblRoZW1lID09PSAnY2xhc3NpYycgPyAnQXJyb3dfbGVmdCcgOiAnQXJyb3ctY2hldnJvbi1sZWZ0LWluLWxpbmUnXCJcbiAgICAgICAgPjwvdWktYnV0dG9uPlxuICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgPGRpdiBjbGFzcz1cIm1haW4tY29udGVudFwiIFtuZ0NsYXNzXT1cInsgJ3JlbW92ZS1tYXJnaW4nOiAhc2hvd0JhY2tCdXR0b24gfVwiPlxuICAgICAgICA8bmctY29udGVudCBzZWxlY3Q9XCJbY29udGVudF1cIj48L25nLWNvbnRlbnQ+XG4gICAgICA8L2Rpdj5cblxuICAgICAgPGRpdiBjbGFzcz1cInJpZ2h0LXNpZGVcIj5cbiAgICAgICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3JpZ2h0LXNpZGVdXCI+PC9uZy1jb250ZW50PlxuICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuXG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { PageHeaderComponent } from './page-header.component';
|
|
4
|
+
import { ButtonComponentModule } from '../button/button.component.module';
|
|
5
|
+
import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class PageHeaderModule {
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PageHeaderModule, declarations: [PageHeaderComponent], imports: [CommonModule, ButtonComponentModule, UiTranslatePipe], exports: [PageHeaderComponent] }); }
|
|
10
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageHeaderModule, imports: [CommonModule, ButtonComponentModule] }); }
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PageHeaderModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
declarations: [PageHeaderComponent],
|
|
16
|
+
imports: [CommonModule, ButtonComponentModule, UiTranslatePipe],
|
|
17
|
+
exports: [PageHeaderComponent],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS1oZWFkZXIuY29tcG9uZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9wYWdlLWhlYWRlci9wYWdlLWhlYWRlci5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzlELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLG1DQUFtQyxDQUFDO0FBQzFFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7QUFPaEUsTUFBTSxPQUFPLGdCQUFnQ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7fVxuIl19
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/material/paginator";
|
|
4
|
+
export class PaginatorComponent {
|
|
5
|
+
constructor(defaultAppTheme) {
|
|
6
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
7
|
+
/**
|
|
8
|
+
* Paginator size options
|
|
9
|
+
*
|
|
10
|
+
* @type {number[]}
|
|
11
|
+
* @memberof PaginatorComponent
|
|
12
|
+
*/
|
|
13
|
+
this.pageSizeOptions = [10, 25, 50];
|
|
14
|
+
/**
|
|
15
|
+
* Data length
|
|
16
|
+
*
|
|
17
|
+
* @type {number}
|
|
18
|
+
* @memberof PaginatorComponent
|
|
19
|
+
*/
|
|
20
|
+
this.length = 0;
|
|
21
|
+
/**
|
|
22
|
+
* Page size
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PaginatorComponent
|
|
26
|
+
*/
|
|
27
|
+
this.pageSize = 25;
|
|
28
|
+
/**
|
|
29
|
+
* Disabled
|
|
30
|
+
*
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberOf PaginatorComponent
|
|
33
|
+
*/
|
|
34
|
+
this.disabled = false;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* Defines the application theme
|
|
38
|
+
*
|
|
39
|
+
* @type {ApplicationTheme}
|
|
40
|
+
* @memberof PaginatorComponent
|
|
41
|
+
*/
|
|
42
|
+
this.applicationTheme = 'light';
|
|
43
|
+
this.paginatorChange = new EventEmitter();
|
|
44
|
+
this.selectConfig = { panelClass: 'ui-dropdown-list' };
|
|
45
|
+
if (defaultAppTheme) {
|
|
46
|
+
this.applicationTheme = defaultAppTheme;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
onPaginatorChange(paginator) {
|
|
50
|
+
this.paginatorChange.emit(paginator);
|
|
51
|
+
}
|
|
52
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PaginatorComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
53
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PaginatorComponent, selector: "ui-paginator", inputs: { pageSizeOptions: "pageSizeOptions", length: "length", pageSize: "pageSize", disabled: "disabled", applicationTheme: "applicationTheme" }, outputs: { paginatorChange: "paginatorChange" }, ngImport: i0, template: "<mat-paginator\n [disabled]=\"disabled\"\n [length]=\"length\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [attr.theme]=\"applicationTheme\"\n [selectConfig]=\"selectConfig\"\n [color]=\"'accent'\"\n (page)=\"onPaginatorChange($event)\"\n></mat-paginator>\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}.flex-center,::ng-deep .mat-mdc-paginator .mat-mdc-select-arrow-wrapper,::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button{display:flex;justify-content:center;align-items:center}::ng-deep .mat-mdc-paginator{border-radius:0 0 8px 8px}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions{height:40px!important;margin-left:16px!important}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions .mat-mdc-paginator-range-label{margin:0 16px 0 0}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button{width:40px!important;padding:0}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button[disabled=true] svg{fill:#ededed!important}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button svg{height:24px!important;width:24px!important;fill:#888!important}::ng-deep .mat-mdc-paginator .mat-mdc-select-arrow-wrapper{width:24px}::ng-deep .mat-mdc-paginator .mat-mdc-form-field-infix{padding:4px 0!important;min-height:28px!important}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-page-size-select{width:64px}::ng-deep .mat-mdc-paginator .mat-mdc-text-field-wrapper{height:32px!important;padding:0 8px;width:64px}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container{border-radius:0 0 8px 8px;font-weight:400;font-size:14px;padding:8px 24px;line-height:20px;color:#000}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container{padding:0}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-select-value-text{font-size:14px}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions{height:100%}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions button{height:100%;width:70px;border-radius:0}::ng-deep .mat-mdc-paginator[theme=dark] .mdc-icon-button__ripple,::ng-deep .mat-mdc-paginator[theme=light] .mdc-icon-button__ripple{display:none}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button{border-radius:50%!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:disabled svg,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:disabled svg{fill:#919191!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused{padding:1px;border:1px dashed #888888;outline:0}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:active,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:active{transform:scale(.98)}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button .mat-mdc-button-touch-target,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button .mat-mdc-button-touch-target{width:40px;height:40px}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button{color:#242424!important}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button svg{fill:#242424!important}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:hover{background-color:#e9e9e9}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused{border-color:#666}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button{color:#fff!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button svg{fill:#fff!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:hover{background-color:#666}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused{border-color:#e9e9e9}\n"], dependencies: [{ kind: "component", type: i1.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }] }); }
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PaginatorComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
57
|
+
args: [{ selector: 'ui-paginator', template: "<mat-paginator\n [disabled]=\"disabled\"\n [length]=\"length\"\n [pageSize]=\"pageSize\"\n [pageSizeOptions]=\"pageSizeOptions\"\n [attr.theme]=\"applicationTheme\"\n [selectConfig]=\"selectConfig\"\n [color]=\"'accent'\"\n (page)=\"onPaginatorChange($event)\"\n></mat-paginator>\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}.flex-center,::ng-deep .mat-mdc-paginator .mat-mdc-select-arrow-wrapper,::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button{display:flex;justify-content:center;align-items:center}::ng-deep .mat-mdc-paginator{border-radius:0 0 8px 8px}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions{height:40px!important;margin-left:16px!important}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions .mat-mdc-paginator-range-label{margin:0 16px 0 0}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button{width:40px!important;padding:0}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button[disabled=true] svg{fill:#ededed!important}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-range-actions button svg{height:24px!important;width:24px!important;fill:#888!important}::ng-deep .mat-mdc-paginator .mat-mdc-select-arrow-wrapper{width:24px}::ng-deep .mat-mdc-paginator .mat-mdc-form-field-infix{padding:4px 0!important;min-height:28px!important}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-page-size-select{width:64px}::ng-deep .mat-mdc-paginator .mat-mdc-text-field-wrapper{height:32px!important;padding:0 8px;width:64px}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container{border-radius:0 0 8px 8px;font-weight:400;font-size:14px;padding:8px 24px;line-height:20px;color:#000}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container{padding:0}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-select-value-text{font-size:14px}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions{height:100%}::ng-deep .mat-mdc-paginator .mat-mdc-paginator-outer-container .mat-mdc-paginator-container .mat-mdc-paginator-range-actions button{height:100%;width:70px;border-radius:0}::ng-deep .mat-mdc-paginator[theme=dark] .mdc-icon-button__ripple,::ng-deep .mat-mdc-paginator[theme=light] .mdc-icon-button__ripple{display:none}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button{border-radius:50%!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:disabled svg,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:disabled svg{fill:#919191!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused{padding:1px;border:1px dashed #888888;outline:0}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:active,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:active{transform:scale(.98)}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button .mat-mdc-button-touch-target,::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button .mat-mdc-button-touch-target{width:40px;height:40px}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button{color:#242424!important}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button svg{fill:#242424!important}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:hover{background-color:#e9e9e9}::ng-deep .mat-mdc-paginator[theme=light] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused{border-color:#666}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button{color:#fff!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button svg{fill:#fff!important}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:hover{background-color:#666}::ng-deep .mat-mdc-paginator[theme=dark] .mat-mdc-paginator-range-actions .mdc-icon-button:focus.cdk-focused{border-color:#e9e9e9}\n"] }]
|
|
58
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
59
|
+
type: Optional
|
|
60
|
+
}, {
|
|
61
|
+
type: Inject,
|
|
62
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
63
|
+
}] }]; }, propDecorators: { pageSizeOptions: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], length: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], pageSize: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], disabled: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], applicationTheme: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], paginatorChange: [{
|
|
74
|
+
type: Output
|
|
75
|
+
}] } });
|
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9wYWdpbmF0b3IvcGFnaW5hdG9yLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9wYWdpbmF0b3IvcGFnaW5hdG9yLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLE1BQU0s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2UocGFnaW5hdG9yOiBQYWdlRXZlbnQpIHtcbiAgICB0aGlzLnBhZ2luYXRvckNoYW5nZS5lbWl0KHBhZ2luYXRvcik7XG4gIH1cbn1cbiIsIjxtYXQtcGFnaW5hdG9yXG4gIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gIFtsZW5ndGhdPVwibGVuZ3RoXCJcbiAgW3BhZ2VTaXplXT1cInBhZ2VTaXplXCJcbiAgW3BhZ2VTaXplT3B0aW9uc109XCJwYWdlU2l6ZU9wdGlvbnNcIlxuICBbYXR0ci50aGVtZV09XCJhcHBsaWNhdGlvblRoZW1lXCJcbiAgW3NlbGVjdENvbmZpZ109XCJzZWxlY3RDb25maWdcIlxuICBbY29sb3JdPVwiJ2FjY2VudCdcIlxuICAocGFnZSk9XCJvblBhZ2luYXRvckNoYW5nZSgkZXZlbnQpXCJcbj48L21hdC1wYWdpbmF0b3I+XG4iXX0=
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { PaginatorComponent } from './paginator.component';
|
|
4
|
+
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class PaginatorComponentModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PaginatorComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PaginatorComponentModule, declarations: [PaginatorComponent], imports: [CommonModule, MatPaginatorModule], exports: [PaginatorComponent] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PaginatorComponentModule, imports: [CommonModule, MatPaginatorModule] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PaginatorComponentModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [PaginatorComponent],
|
|
15
|
+
imports: [CommonModule, MatPaginatorModule],
|
|
16
|
+
exports: [PaginatorComponent],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLmNvbXBvbmVudC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90Z28tY2Fub3B5LXVpL2NvbXBvbmVudHMvcGFnaW5hdG9yL3BhZ2luYXRvci5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzNELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDZCQUE2QixDQUFDOztBQU9qRSxNQUFNLE9BQU8sd0JBQXdCOytHQUF4Qix3QkFBd0I7Z0hBQXhCLHdCQUF3QixpQkFKcEIsa0JBQWtCLGFBQ3ZCLFlBQVksRUFBRSxrQkFBa0IsYUFDaEMsa0JBQWtCO2dIQUVqQix3QkFBd0IsWUFIekIsWUFBWSxFQUFFLGtCQUFrQjs7NEZBRy9CLHdCQUF3QjtrQkFMcEMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztvQkFDbEMsT0FBTyxFQUFFLENBQUMsWUFBWSxFQUFFLGtCQUFrQixDQUFDO29CQUMzQyxPQUFPLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztpQkFDOUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJztcbmltcG9ydCB7IFBhZ2luYXRvckNvbXBvbmVudCB9IGZyb20gJy4vcGFnaW5hdG9yLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBNYXRQYWdpbmF0b3JNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9tYXRlcmlhbC9wYWdpbmF0b3InO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtQYWdpbmF0b3JDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBNYXRQYWdpbmF0b3JNb2R1bGVdLFxuICBleHBvcnRzOiBbUGFnaW5hdG9yQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgUGFnaW5hdG9yQ29tcG9uZW50TW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, forwardRef, Input, Output } from '@angular/core';
|
|
2
|
+
import { FormControl, NG_VALUE_ACCESSOR, Validators } from '@angular/forms';
|
|
3
|
+
import { LanguageService } from '../../utils/localization/language.service';
|
|
4
|
+
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "../field/field.component";
|
|
8
|
+
import * as i3 from "@angular/forms";
|
|
9
|
+
import * as i4 from "../icon/icon.component";
|
|
10
|
+
import * as i5 from "../progress-bar/progress-bar.component";
|
|
11
|
+
import * as i6 from "../../pipes/ui-translate.pipe";
|
|
12
|
+
export class PasswordComponent {
|
|
13
|
+
constructor(destroyRef) {
|
|
14
|
+
this.destroyRef = destroyRef;
|
|
15
|
+
/**
|
|
16
|
+
* The language to be used
|
|
17
|
+
*
|
|
18
|
+
* @type {Language}
|
|
19
|
+
* @memberof PasswordComponent
|
|
20
|
+
*/
|
|
21
|
+
this.language = LanguageService.defaultLanguage;
|
|
22
|
+
/**
|
|
23
|
+
* Show criteria for password. Defaults true
|
|
24
|
+
*
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof PasswordComponent
|
|
27
|
+
*/
|
|
28
|
+
this.showCriteria = true;
|
|
29
|
+
/**
|
|
30
|
+
* Password is required or not
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof PasswordComponent
|
|
34
|
+
*/
|
|
35
|
+
this.required = false;
|
|
36
|
+
this.passwordChange = new EventEmitter();
|
|
37
|
+
this.allCriteriaPassed = new EventEmitter();
|
|
38
|
+
this.formControl = new FormControl('', Validators.required);
|
|
39
|
+
this.criteriaPassed = {};
|
|
40
|
+
this.criteria = [
|
|
41
|
+
{ translateKey: 'PASSWORD.LOWERCASE', key: 'hasLowercase' },
|
|
42
|
+
{ translateKey: 'PASSWORD.UPPERCASE', key: 'hasUppercase' },
|
|
43
|
+
{ translateKey: 'PASSWORD.NUMBER', key: 'hasNumber' },
|
|
44
|
+
{ translateKey: 'PASSWORD.SPECIAL_CHARACTER', key: 'hasSpecialChar' },
|
|
45
|
+
{ translateKey: 'PASSWORD.CHARACTERS', key: 'hasMinLength' },
|
|
46
|
+
];
|
|
47
|
+
this.onChange = (v) => { };
|
|
48
|
+
this.onTouch = () => { };
|
|
49
|
+
this.formControl.valueChanges.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
50
|
+
this.checkCriteria();
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
checkCriteria() {
|
|
54
|
+
const password = this.formControl.value ?? '';
|
|
55
|
+
this.criteriaPassed = {
|
|
56
|
+
hasLowercase: /^(?=.*?[a-z])/.test(password),
|
|
57
|
+
hasUppercase: /^(?=.*?[A-Z])/.test(password),
|
|
58
|
+
hasNumber: /^(?=.*?[0-9])/.test(password),
|
|
59
|
+
hasSpecialChar: /^(?=.*?[" !#$%&'()*+,-./:;<=>?@[\]^_`{|}~])/.test(password),
|
|
60
|
+
hasMinLength: password.length >= 12,
|
|
61
|
+
};
|
|
62
|
+
const passedCount = this.countPassed();
|
|
63
|
+
this.progressValue = Math.min(Math.max(passedCount * (100 / Object.keys(this.criteriaPassed).length), 1), 100);
|
|
64
|
+
this.passwordChange.emit(password);
|
|
65
|
+
this.allCriteriaPassed.emit(passedCount === Object.keys(this.criteriaPassed).length);
|
|
66
|
+
this.onChange(password);
|
|
67
|
+
}
|
|
68
|
+
countPassed() {
|
|
69
|
+
let count = 0;
|
|
70
|
+
for (const key in this.criteriaPassed) {
|
|
71
|
+
if (this.criteriaPassed.hasOwnProperty(key) && this.criteriaPassed[key]) {
|
|
72
|
+
count++;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return count;
|
|
76
|
+
}
|
|
77
|
+
writeValue(obj) {
|
|
78
|
+
this.formControl.setValue(obj);
|
|
79
|
+
}
|
|
80
|
+
registerOnChange(fn) {
|
|
81
|
+
this.onChange = fn;
|
|
82
|
+
}
|
|
83
|
+
registerOnTouched(fn) {
|
|
84
|
+
this.onTouch = fn;
|
|
85
|
+
}
|
|
86
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PasswordComponent, deps: [{ token: i0.DestroyRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
87
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PasswordComponent, selector: "ui-password-criteria", inputs: { language: "language", showCriteria: "showCriteria", required: "required" }, outputs: { passwordChange: "passwordChange", allCriteriaPassed: "allCriteriaPassed" }, providers: [
|
|
88
|
+
{
|
|
89
|
+
provide: NG_VALUE_ACCESSOR,
|
|
90
|
+
useExisting: forwardRef(() => PasswordComponent),
|
|
91
|
+
multi: true,
|
|
92
|
+
},
|
|
93
|
+
], ngImport: i0, template: "<div class=\"password-criteria-container\">\n\n <ui-field [applicationTheme]=\"'dark'\"\n [formControl]=\"formControl\"\n [type]=\"'password'\"\n [placeholder]=\"('PASSWORD.PASSWORD_PLACEHOLDER' | uiTranslate : language) + (required ? ' *' : '')\"\n (keydown.enter)=\"showError = true\"\n (focusout)=\"showError = true\"\n ></ui-field>\n\n <div class=\"criteria-container\" *ngIf=\"showCriteria\">\n\n <div class=\"progress\">\n <ui-progress-bar [progress]=\"progressValue === 1 ? 0 : progressValue\" [applicationTheme]=\"'dark'\"></ui-progress-bar>\n </div>\n\n <div\n *ngFor=\"let criterion of criteria\"\n class=\"criterion\"\n [ngClass]=\"{ 'passed': criteriaPassed[criterion.key], error: !criteriaPassed[criterion.key] && showError }\"\n >\n <ui-icon [size]=\"'24'\"\n [color]=\"'rebrand-black'\"\n [name]=\"!criteriaPassed[criterion.key] && showError ? 'Info-in-line' : 'Check-round-in-line'\"\n applicationTheme=\"dark\"\n ></ui-icon>\n <span>{{ criterion.translateKey | uiTranslate : language }}</span>\n </div>\n </div>\n\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}.password-criteria-container .criteria-container{margin-top:14px}.password-criteria-container .criteria-container .progress{margin-bottom:16px}.password-criteria-container .criteria-container .criterion{display:flex;flex-direction:row;align-items:center;gap:8px}.password-criteria-container .criteria-container .criterion ui-icon ::ng-deep svg{color:#e9e9e9}.password-criteria-container .criteria-container .criterion span{text-align:center;font-size:14px;line-height:23px;color:#242424}.password-criteria-container .criteria-container .criterion.passed ui-icon ::ng-deep svg{color:#242424}.password-criteria-container .criteria-container .criterion.passed span{color:#666;text-decoration:line-through}.password-criteria-container .criteria-container .criterion.error ui-icon ::ng-deep svg{color:#e02800}.password-criteria-container .criteria-container .criterion.error span{color:#e02800}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.FieldComponent, selector: "ui-field", inputs: ["label", "fieldName", "placeholder", "id", "value", "errors", "disabled", "required", "hintMessage", "type", "updateOnBlur", "allowOnlyDigits", "language", "showBottomContent", "applicationTheme", "ariaLabel", "ariaRequired", "loading", "isValid", "maxCharacters", "trimOnBlur", "trimOnSubmit", "maxRows", "hideBuiltInErrors", "hideLabelInErrors"], outputs: ["validateEvent", "fieldBlur"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme"] }, { kind: "component", type: i5.ProgressBarComponent, selector: "ui-progress-bar", inputs: ["companyColor", "progress", "mode", "buffer", "applicationTheme"] }, { kind: "pipe", type: i6.UiTranslatePipe, name: "uiTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
94
|
+
}
|
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PasswordComponent, decorators: [{
|
|
96
|
+
type: Component,
|
|
97
|
+
args: [{ selector: 'ui-password-criteria', providers: [
|
|
98
|
+
{
|
|
99
|
+
provide: NG_VALUE_ACCESSOR,
|
|
100
|
+
useExisting: forwardRef(() => PasswordComponent),
|
|
101
|
+
multi: true,
|
|
102
|
+
},
|
|
103
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"password-criteria-container\">\n\n <ui-field [applicationTheme]=\"'dark'\"\n [formControl]=\"formControl\"\n [type]=\"'password'\"\n [placeholder]=\"('PASSWORD.PASSWORD_PLACEHOLDER' | uiTranslate : language) + (required ? ' *' : '')\"\n (keydown.enter)=\"showError = true\"\n (focusout)=\"showError = true\"\n ></ui-field>\n\n <div class=\"criteria-container\" *ngIf=\"showCriteria\">\n\n <div class=\"progress\">\n <ui-progress-bar [progress]=\"progressValue === 1 ? 0 : progressValue\" [applicationTheme]=\"'dark'\"></ui-progress-bar>\n </div>\n\n <div\n *ngFor=\"let criterion of criteria\"\n class=\"criterion\"\n [ngClass]=\"{ 'passed': criteriaPassed[criterion.key], error: !criteriaPassed[criterion.key] && showError }\"\n >\n <ui-icon [size]=\"'24'\"\n [color]=\"'rebrand-black'\"\n [name]=\"!criteriaPassed[criterion.key] && showError ? 'Info-in-line' : 'Check-round-in-line'\"\n applicationTheme=\"dark\"\n ></ui-icon>\n <span>{{ criterion.translateKey | uiTranslate : language }}</span>\n </div>\n </div>\n\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}.password-criteria-container .criteria-container{margin-top:14px}.password-criteria-container .criteria-container .progress{margin-bottom:16px}.password-criteria-container .criteria-container .criterion{display:flex;flex-direction:row;align-items:center;gap:8px}.password-criteria-container .criteria-container .criterion ui-icon ::ng-deep svg{color:#e9e9e9}.password-criteria-container .criteria-container .criterion span{text-align:center;font-size:14px;line-height:23px;color:#242424}.password-criteria-container .criteria-container .criterion.passed ui-icon ::ng-deep svg{color:#242424}.password-criteria-container .criteria-container .criterion.passed span{color:#666;text-decoration:line-through}.password-criteria-container .criteria-container .criterion.error ui-icon ::ng-deep svg{color:#e02800}.password-criteria-container .criteria-container .criterion.error span{color:#e02800}\n"] }]
|
|
104
|
+
}], ctorParameters: function () { return [{ type: i0.DestroyRef }]; }, propDecorators: { language: [{
|
|
105
|
+
type: Input
|
|
106
|
+
}], showCriteria: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], required: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}], passwordChange: [{
|
|
111
|
+
type: Output
|
|
112
|
+
}], allCriteriaPassed: [{
|
|
113
|
+
type: Output
|
|
114
|
+
}] } });
|
|
115
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25lbnRzL3Bhc3N3b3JkLWNyaXRlcmlhL3Bhc3N3b3JkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9wYXNzd29yZC1jcml0ZXJpYS9wYXNzd29yZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFjLFlBQVksRUFBRSxVQUFVLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN4SCxPQUFPLEVBQXdCLFdBQVcsRUFBRSxpQkFBaUIsRUFBRSxVQUFVLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNsRyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkNBQTJDLENBQUM7QUFDNUUsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0sNEJBQTRCLENBQUM7Ozs7Ozs7O0FBZWhFLE1BQU0sT0FBTyxpQkFBaUI7SUF5QzVCLFlBQTZCLFVBQXNCO1FBQXRCLGVBQVUs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 +1,39 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { PasswordComponent } from './password.component';
|
|
4
|
+
import { FieldComponentModule } from '../field/field.component.module';
|
|
5
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import { IconComponentModule } from '../icon/icon.component.module';
|
|
7
|
+
import { ProgressBarComponentModule } from '../progress-bar/progress-bar.component.module';
|
|
8
|
+
import { UiTranslatePipe } from '../../pipes/ui-translate.pipe';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export class PasswordComponentModule {
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PasswordComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: PasswordComponentModule, declarations: [PasswordComponent], imports: [CommonModule,
|
|
13
|
+
FieldComponentModule,
|
|
14
|
+
ReactiveFormsModule,
|
|
15
|
+
IconComponentModule,
|
|
16
|
+
ProgressBarComponentModule,
|
|
17
|
+
UiTranslatePipe], exports: [PasswordComponent] }); }
|
|
18
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PasswordComponentModule, imports: [CommonModule,
|
|
19
|
+
FieldComponentModule,
|
|
20
|
+
ReactiveFormsModule,
|
|
21
|
+
IconComponentModule,
|
|
22
|
+
ProgressBarComponentModule] }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PasswordComponentModule, decorators: [{
|
|
25
|
+
type: NgModule,
|
|
26
|
+
args: [{
|
|
27
|
+
declarations: [PasswordComponent],
|
|
28
|
+
exports: [PasswordComponent],
|
|
29
|
+
imports: [
|
|
30
|
+
CommonModule,
|
|
31
|
+
FieldComponentModule,
|
|
32
|
+
ReactiveFormsModule,
|
|
33
|
+
IconComponentModule,
|
|
34
|
+
ProgressBarComponentModule,
|
|
35
|
+
UiTranslatePipe,
|
|
36
|
+
],
|
|
37
|
+
}]
|
|
38
|
+
}] });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQuY29tcG9uZW50Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Rnby1jYW5vcHktdWkvY29tcG9uZW50cy9wYXNzd29yZC1jcml0ZXJpYS9wYXNzd29yZC5jb21wb25lbnQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLCtCQUErQixDQUFDO0FBQ3BFLE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLCtDQUErQyxDQUFDO0FBQzNGLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQzs7QUFjaEUsTUFBTSxPQUFPLHVCQUF1QjsrR0FBdkIsdUJBQXVCO2dIQUF2Qix1QkFBdUIsaUJBWG5CLGlCQUFpQixhQUc5QixZQUFZO1lBQ1osb0JBQW9CO1l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50Lm1vZHVsZSc7XG5pbXBvcnQgeyBVaVRyYW5zbGF0ZVBpcGUgfSBmcm9tICcuLi8uLi9waXBlcy91aS10cmFuc2xhdGUucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1Bhc3N3b3JkQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW1Bhc3N3b3JkQ29tcG9uZW50XSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBGaWVsZENvbXBvbmVudE1vZHVsZSxcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgIEljb25Db21wb25lbnRNb2R1bGUsXG4gICAgUHJvZ3Jlc3NCYXJDb21wb25lbnRNb2R1bGUsXG4gICAgVWlUcmFuc2xhdGVQaXBlLFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBQYXNzd29yZENvbXBvbmVudE1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Component, EventEmitter, Inject, Input, Optional, Output } from '@angular/core';
|
|
2
|
+
import { LanguageService } from '../../utils/localization/language.service';
|
|
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 "../progress-bar/progress-bar.component";
|
|
7
|
+
import * as i4 from "../../pipes/ui-translate.pipe";
|
|
8
|
+
export class PasswordStrengthComponent {
|
|
9
|
+
/**
|
|
10
|
+
* The password that needs to be checked
|
|
11
|
+
* @property password
|
|
12
|
+
* @type {string}
|
|
13
|
+
* @memberof PasswordStrengthComponent
|
|
14
|
+
*/
|
|
15
|
+
set password(value) {
|
|
16
|
+
this._password = value;
|
|
17
|
+
this.checkCriteria(this._password);
|
|
18
|
+
}
|
|
19
|
+
constructor(defaultAppTheme) {
|
|
20
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Defines the application theme
|
|
24
|
+
*
|
|
25
|
+
* @type {ApplicationTheme}
|
|
26
|
+
* @memberof PasswordStrengthComponent
|
|
27
|
+
*/
|
|
28
|
+
this.applicationTheme = 'light';
|
|
29
|
+
/**
|
|
30
|
+
* The language to be used
|
|
31
|
+
* @property language
|
|
32
|
+
* @type {Language}
|
|
33
|
+
* @memberof PasswordStrengthComponent
|
|
34
|
+
*/
|
|
35
|
+
this.language = LanguageService.defaultLanguage;
|
|
36
|
+
/**
|
|
37
|
+
* Event that outputs validation check result
|
|
38
|
+
* @property validationCheck
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof PasswordStrengthComponent
|
|
41
|
+
*/
|
|
42
|
+
this.validationCheck = new EventEmitter();
|
|
43
|
+
this.criteriaPassed = {};
|
|
44
|
+
this._password = '';
|
|
45
|
+
this.criteria = [
|
|
46
|
+
{ translateKey: 'PASSWORD.LOWERCASE', key: 'hasLowercase' },
|
|
47
|
+
{ translateKey: 'PASSWORD.UPPERCASE', key: 'hasUppercase' },
|
|
48
|
+
{ translateKey: 'PASSWORD.NUMBER', key: 'hasNumber' },
|
|
49
|
+
{ translateKey: 'PASSWORD.SPECIAL_CHARACTER', key: 'hasSpecialChar' },
|
|
50
|
+
{ translateKey: 'PASSWORD.CHARACTERS', key: 'hasMinLength' },
|
|
51
|
+
];
|
|
52
|
+
if (this.defaultAppTheme) {
|
|
53
|
+
this.applicationTheme = defaultAppTheme;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
checkCriteria(password) {
|
|
57
|
+
this.criteriaPassed = {
|
|
58
|
+
hasLowercase: /^(?=.*?[a-z])/.test(password),
|
|
59
|
+
hasUppercase: /^(?=.*?[A-Z])/.test(password),
|
|
60
|
+
hasNumber: /^(?=.*?[0-9])/.test(password),
|
|
61
|
+
hasSpecialChar: /^(?=.*?[" !#$%&'()*+,-./:;<=>?@[\]^_`{|}~])/.test(password),
|
|
62
|
+
hasMinLength: password.length >= 12,
|
|
63
|
+
};
|
|
64
|
+
const passedCount = this.countPassed();
|
|
65
|
+
this.progressValue = Math.min(Math.max(passedCount * (100 / Object.keys(this.criteriaPassed).length), 1), 100);
|
|
66
|
+
this.validationCheck.emit(passedCount === Object.keys(this.criteriaPassed).length);
|
|
67
|
+
}
|
|
68
|
+
countPassed() {
|
|
69
|
+
let count = 0;
|
|
70
|
+
for (const key in this.criteriaPassed) {
|
|
71
|
+
if (this.criteriaPassed.hasOwnProperty(key) && this.criteriaPassed[key]) {
|
|
72
|
+
count++;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
return count;
|
|
76
|
+
}
|
|
77
|
+
get infoIcon() {
|
|
78
|
+
return this.applicationTheme === 'classic' ? 'Info' : 'Info-in-line';
|
|
79
|
+
}
|
|
80
|
+
get checkIcon() {
|
|
81
|
+
return this.applicationTheme === 'classic' ? 'Round-check' : 'Check-round-in-line';
|
|
82
|
+
}
|
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PasswordStrengthComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
84
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: PasswordStrengthComponent, selector: "ui-password-strength", inputs: { applicationTheme: "applicationTheme", language: "language", password: "password" }, outputs: { validationCheck: "validationCheck" }, ngImport: i0, template: "<div class=\"criteria-container\">\n\n <div class=\"progress\">\n <ui-progress-bar [progress]=\"progressValue === 1 ? 0 : progressValue\" [applicationTheme]=\"applicationTheme\"></ui-progress-bar>\n </div>\n\n <div\n *ngFor=\"let criterion of criteria\"\n class=\"criterion\"\n [ngClass]=\"{ 'passed': criteriaPassed[criterion.key], error: !criteriaPassed[criterion.key] }\"\n >\n <ui-icon [size]=\"'24'\"\n [color]=\"'rebrand-black'\"\n [name]=\"!criteriaPassed[criterion.key] ? infoIcon : checkIcon\"\n [applicationTheme]=\"applicationTheme\"\n ></ui-icon>\n <span>{{ criterion.translateKey | uiTranslate : language }}</span>\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}.criteria-container{margin-top:14px}.criteria-container .progress{margin-bottom:16px}.criteria-container .criterion{display:flex;flex-direction:row;align-items:center;gap:8px}.criteria-container .criterion ui-icon ::ng-deep svg{color:#e9e9e9}.criteria-container .criterion span{text-align:center;font-size:14px;line-height:23px;color:#242424}.criteria-container .criterion.passed ui-icon ::ng-deep svg{color:#242424}.criteria-container .criterion.passed span{color:#666;text-decoration:line-through}.criteria-container .criterion.error ui-icon ::ng-deep svg{color:#e02800}.criteria-container .criterion.error span{color:#e02800}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.IconComponent, selector: "ui-icon", inputs: ["size", "cssClass", "name", "color", "filled", "applicationTheme"] }, { kind: "component", type: i3.ProgressBarComponent, selector: "ui-progress-bar", inputs: ["companyColor", "progress", "mode", "buffer", "applicationTheme"] }, { kind: "pipe", type: i4.UiTranslatePipe, name: "uiTranslate" }] }); }
|
|
85
|
+
}
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PasswordStrengthComponent, decorators: [{
|
|
87
|
+
type: Component,
|
|
88
|
+
args: [{ selector: 'ui-password-strength', template: "<div class=\"criteria-container\">\n\n <div class=\"progress\">\n <ui-progress-bar [progress]=\"progressValue === 1 ? 0 : progressValue\" [applicationTheme]=\"applicationTheme\"></ui-progress-bar>\n </div>\n\n <div\n *ngFor=\"let criterion of criteria\"\n class=\"criterion\"\n [ngClass]=\"{ 'passed': criteriaPassed[criterion.key], error: !criteriaPassed[criterion.key] }\"\n >\n <ui-icon [size]=\"'24'\"\n [color]=\"'rebrand-black'\"\n [name]=\"!criteriaPassed[criterion.key] ? infoIcon : checkIcon\"\n [applicationTheme]=\"applicationTheme\"\n ></ui-icon>\n <span>{{ criterion.translateKey | uiTranslate : language }}</span>\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}.criteria-container{margin-top:14px}.criteria-container .progress{margin-bottom:16px}.criteria-container .criterion{display:flex;flex-direction:row;align-items:center;gap:8px}.criteria-container .criterion ui-icon ::ng-deep svg{color:#e9e9e9}.criteria-container .criterion span{text-align:center;font-size:14px;line-height:23px;color:#242424}.criteria-container .criterion.passed ui-icon ::ng-deep svg{color:#242424}.criteria-container .criterion.passed span{color:#666;text-decoration:line-through}.criteria-container .criterion.error ui-icon ::ng-deep svg{color:#e02800}.criteria-container .criterion.error span{color:#e02800}\n"] }]
|
|
89
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
90
|
+
type: Optional
|
|
91
|
+
}, {
|
|
92
|
+
type: Inject,
|
|
93
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
94
|
+
}] }]; }, propDecorators: { applicationTheme: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], language: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], password: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], validationCheck: [{
|
|
101
|
+
type: Output
|
|
102
|
+
}] } });
|
|
103
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQtc3RyZW5ndGguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdGdvLWNhbm9weS11aS9jb21wb25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