@testgorilla/tgo-ui 4.2.4 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/accordion.component.d.ts +2 -2
- package/components/accordion/accordion.component.module.d.ts +2 -2
- package/components/accordion/index.d.ts +5 -0
- package/components/accordion/public-api.d.ts +4 -0
- package/components/ai-feedback/ai-feedback.module.d.ts +2 -2
- package/components/ai-feedback/index.d.ts +5 -0
- package/components/ai-feedback/public-api.d.ts +4 -0
- package/components/alert-banner/alert-banner.component.d.ts +3 -3
- package/components/alert-banner/alert-banner.component.module.d.ts +3 -3
- package/components/alert-banner/index.d.ts +5 -0
- package/components/alert-banner/public-api.d.ts +4 -0
- package/components/autocomplete/autocomplete.component.d.ts +2 -2
- package/components/autocomplete/autocomplete.component.module.d.ts +9 -10
- package/components/autocomplete/index.d.ts +5 -0
- package/components/autocomplete/public-api.d.ts +4 -0
- package/components/avatar/avatar.component.d.ts +2 -2
- package/components/avatar/avatar.component.module.d.ts +4 -4
- package/components/avatar/avatar.model.d.ts +1 -1
- package/components/avatar/index.d.ts +5 -0
- package/components/avatar/public-api.d.ts +4 -0
- package/components/badge/badge.component.d.ts +2 -2
- package/components/badge/badge.component.module.d.ts +1 -1
- package/components/badge/index.d.ts +5 -0
- package/components/badge/public-api.d.ts +4 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +2 -2
- package/components/breadcrumb/breadcrumb.component.module.d.ts +8 -9
- package/components/breadcrumb/index.d.ts +5 -0
- package/components/breadcrumb/public-api.d.ts +4 -0
- package/components/button/button.component.d.ts +2 -2
- package/components/button/button.component.module.d.ts +4 -5
- package/components/button/button.model.d.ts +1 -1
- package/components/button/index.d.ts +5 -0
- package/components/button/public-api.d.ts +5 -0
- package/components/card/card.component.d.ts +2 -2
- package/components/card/card.component.module.d.ts +1 -1
- package/components/card/index.d.ts +5 -0
- package/components/card/public-api.d.ts +4 -0
- package/components/checkbox/checkbox.component.d.ts +2 -2
- package/components/checkbox/checkbox.component.module.d.ts +6 -8
- package/components/checkbox/index.d.ts +5 -0
- package/components/checkbox/public-api.d.ts +4 -0
- package/components/checklist/checklist.component.d.ts +1 -2
- package/components/checklist/index.d.ts +5 -0
- package/components/checklist/public-api.d.ts +3 -0
- package/{utils → components/core}/alert-bars.utils.d.ts +1 -2
- package/components/core/application-theme.model.d.ts +7 -0
- package/components/core/color-contrast.d.ts +28 -0
- package/components/core/index.d.ts +5 -0
- package/components/core/link-target.model.d.ts +1 -0
- package/components/core/public-api.d.ts +25 -0
- package/components/core/select-text.directive.d.ts +19 -0
- package/{pipes → components/core}/truncate.pipe.d.ts +1 -1
- package/{pipes → components/core}/ui-translate.pipe.d.ts +1 -1
- package/components/datepicker/datepicker.component.d.ts +1 -1
- package/components/datepicker/datepicker.component.module.d.ts +4 -5
- package/components/datepicker/index.d.ts +5 -0
- package/components/datepicker/public-api.d.ts +6 -0
- package/components/{confirm-dialog → dialog/confirm-dialog}/confirm-dialog.component.d.ts +4 -4
- package/components/{confirm-dialog → dialog/confirm-dialog}/confirm-dialog.component.module.d.ts +3 -3
- package/components/{confirm-dialog → dialog/confirm-dialog}/confirm-dialog.model.d.ts +3 -3
- package/components/dialog/dialog-custom/dialog-custom.component.d.ts +22 -0
- package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +10 -0
- package/components/dialog/dialog.component.d.ts +4 -4
- package/components/dialog/dialog.component.module.d.ts +2 -2
- package/components/dialog/dialog.model.d.ts +1 -1
- package/components/dialog/dialog.service.d.ts +1 -1
- package/components/dialog/index.d.ts +5 -0
- package/components/dialog/public-api.d.ts +10 -0
- package/components/divider/divider.component.d.ts +1 -1
- package/components/divider/index.d.ts +5 -0
- package/components/divider/public-api.d.ts +4 -0
- package/components/donut-chart/donut-chart.component.d.ts +1 -1
- package/components/donut-chart/index.d.ts +5 -0
- package/components/donut-chart/public-api.d.ts +3 -0
- package/components/dropdown/dropdown.component.d.ts +2 -2
- package/components/dropdown/dropdown.component.module.d.ts +5 -6
- package/components/dropdown/index.d.ts +5 -0
- package/components/dropdown/public-api.d.ts +4 -0
- package/components/elevation-shadow/elevation-shadow.component.d.ts +1 -1
- package/components/elevation-shadow/index.d.ts +5 -0
- package/components/elevation-shadow/public-api.d.ts +3 -0
- package/components/empty-state/empty-state.component.d.ts +4 -4
- package/components/empty-state/empty-state.component.module.d.ts +3 -3
- package/components/empty-state/index.d.ts +5 -0
- package/components/empty-state/public-api.d.ts +4 -0
- package/components/field/field.component.d.ts +4 -4
- package/components/field/field.component.module.d.ts +6 -8
- package/components/field/index.d.ts +5 -0
- package/components/field/public-api.d.ts +4 -0
- package/components/file-upload/file-upload.component.d.ts +1 -2
- package/components/file-upload/file-upload.component.module.d.ts +4 -4
- package/components/file-upload/index.d.ts +5 -0
- package/components/file-upload/public-api.d.ts +3 -0
- package/components/filter-button/filter-button.component.d.ts +3 -3
- package/components/filter-button/filter-button.component.module.d.ts +7 -8
- package/components/filter-button/filter-button.model.d.ts +1 -1
- package/components/filter-button/index.d.ts +5 -0
- package/components/filter-button/public-api.d.ts +4 -0
- package/components/gaussian-chart/gaussian-chart.component.d.ts +1 -1
- package/components/gaussian-chart/gaussian-chart.module.d.ts +3 -4
- package/components/gaussian-chart/index.d.ts +5 -0
- package/components/gaussian-chart/public-api.d.ts +2 -0
- package/components/icon/icon.component.d.ts +2 -2
- package/components/icon/index.d.ts +5 -0
- package/components/icon/public-api.d.ts +6 -0
- package/components/icon-label/icon-label.component.d.ts +2 -2
- package/components/icon-label/icon-label.component.module.d.ts +1 -1
- package/components/icon-label/index.d.ts +5 -0
- package/components/icon-label/public-api.d.ts +2 -0
- package/components/inline-field/index.d.ts +5 -0
- package/components/inline-field/inline-field.component.d.ts +5 -5
- package/components/inline-field/inline-field.component.module.d.ts +3 -3
- package/components/inline-field/inline-field.model.d.ts +1 -1
- package/components/inline-field/public-api.d.ts +4 -0
- package/components/logo/index.d.ts +5 -0
- package/components/logo/logo.component.d.ts +1 -1
- package/components/logo/public-api.d.ts +4 -0
- package/components/media-card/index.d.ts +5 -0
- package/components/media-card/public-api.d.ts +1 -0
- package/components/media-dialog/index.d.ts +5 -0
- package/components/media-dialog/public-api.d.ts +2 -0
- package/components/multi-input/index.d.ts +5 -0
- package/components/multi-input/multi-input.component.module.d.ts +7 -8
- package/components/multi-input/public-api.d.ts +5 -0
- package/components/navbar/index.d.ts +5 -0
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +2 -2
- package/components/navbar/navbar.component.d.ts +4 -4
- package/components/navbar/navbar.component.module.d.ts +7 -7
- package/components/navbar/navbar.model.d.ts +2 -2
- package/components/navbar/public-api.d.ts +5 -0
- package/components/overflow-menu/index.d.ts +5 -0
- package/components/overflow-menu/overflow-menu.component.d.ts +3 -3
- package/components/overflow-menu/overflow-menu.component.module.d.ts +4 -5
- package/components/overflow-menu/overflow-menu.model.d.ts +1 -1
- package/components/overflow-menu/public-api.d.ts +4 -0
- package/components/page-header/index.d.ts +5 -0
- package/components/page-header/page-header.component.d.ts +1 -1
- package/components/page-header/page-header.component.module.d.ts +2 -2
- package/components/page-header/public-api.d.ts +3 -0
- package/components/paginator/index.d.ts +5 -0
- package/components/paginator/paginator.component.d.ts +1 -1
- package/components/paginator/public-api.d.ts +3 -0
- package/components/password-criteria/index.d.ts +5 -0
- package/components/password-criteria/password.component.module.d.ts +4 -4
- package/components/password-criteria/public-api.d.ts +3 -0
- package/components/password-strength/index.d.ts +5 -0
- package/components/password-strength/password-strength.component.d.ts +2 -2
- package/components/password-strength/password-strength.component.module.d.ts +3 -3
- package/components/password-strength/public-api.d.ts +3 -0
- package/components/phone-input/index.d.ts +5 -0
- package/components/phone-input/phone-input.component.d.ts +1 -1
- package/components/phone-input/phone-input.component.module.d.ts +5 -6
- package/components/phone-input/public-api.d.ts +5 -0
- package/components/progress-bar/index.d.ts +5 -0
- package/components/progress-bar/progress-bar.component.d.ts +1 -1
- package/components/progress-bar/progress-bar.component.module.d.ts +1 -1
- package/components/progress-bar/public-api.d.ts +3 -0
- package/components/prompt/index.d.ts +5 -0
- package/components/prompt/prompt.component.d.ts +2 -2
- package/components/prompt/prompt.module.d.ts +8 -8
- package/components/prompt/public-api.d.ts +4 -0
- package/components/radial-progress/index.d.ts +5 -0
- package/components/radial-progress/public-api.d.ts +4 -0
- package/components/radial-progress/radial-progress.component.d.ts +2 -2
- package/components/radial-progress/radial-progress.component.module.d.ts +1 -1
- package/components/radio-button/index.d.ts +5 -0
- package/components/radio-button/public-api.d.ts +4 -0
- package/components/radio-button/radio-button.component.d.ts +2 -2
- package/components/radio-button/radio-button.component.module.d.ts +2 -2
- package/components/rating/index.d.ts +5 -0
- package/components/rating/public-api.d.ts +3 -0
- package/components/rating/rating.component.d.ts +1 -1
- package/components/scale/index.d.ts +5 -0
- package/components/scale/public-api.d.ts +3 -0
- package/components/scale/scale.component.d.ts +1 -1
- package/components/scale-table/index.d.ts +5 -0
- package/components/scale-table/public-api.d.ts +3 -0
- package/components/scale-table/scale-table.component.d.ts +1 -1
- package/components/segmented-bar/index.d.ts +5 -0
- package/components/segmented-bar/public-api.d.ts +4 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +1 -1
- package/components/segmented-bar/segmented-bar.component.module.d.ts +2 -2
- package/components/segmented-bar/segmented-bar.model.d.ts +1 -1
- package/components/segmented-button/index.d.ts +5 -0
- package/components/segmented-button/public-api.d.ts +4 -0
- package/components/segmented-button/segmented-button.component.d.ts +1 -1
- package/components/selectable-card/index.d.ts +5 -0
- package/components/selectable-card/public-api.d.ts +2 -0
- package/components/selectable-card/selectable-card.component.d.ts +1 -1
- package/components/selectable-card/selectable-card.component.module.d.ts +2 -2
- package/components/side-panel/index.d.ts +5 -0
- package/components/side-panel/public-api.d.ts +5 -0
- package/components/side-panel/side-panel.component.d.ts +1 -1
- package/components/side-sheet/index.d.ts +5 -0
- package/components/side-sheet/public-api.d.ts +4 -0
- package/components/side-sheet/side-sheet.component.d.ts +1 -1
- package/components/side-sheet/side-sheet.component.module.d.ts +4 -4
- package/components/skeleton/index.d.ts +5 -0
- package/components/skeleton/public-api.d.ts +3 -0
- package/components/skeleton/skeleton.component.d.ts +2 -2
- package/components/slider/index.d.ts +5 -0
- package/components/slider/public-api.d.ts +4 -0
- package/components/slider/slider.component.d.ts +1 -1
- package/components/snackbar/index.d.ts +5 -0
- package/components/snackbar/public-api.d.ts +5 -0
- package/components/snackbar/snackbar.component.d.ts +4 -4
- package/components/snackbar/snackbar.component.module.d.ts +3 -3
- package/components/snackbar/snackbar.service.d.ts +1 -1
- package/components/spider-chart/index.d.ts +5 -0
- package/components/spider-chart/public-api.d.ts +3 -0
- package/components/spider-chart/spider-chart.component.d.ts +1 -1
- package/components/spider-chart/spider-chart.module.d.ts +3 -4
- package/components/spinner/index.d.ts +5 -0
- package/components/spinner/public-api.d.ts +4 -0
- package/components/spinner/spinner.component.d.ts +2 -2
- package/components/spinner/spinner.module.d.ts +2 -2
- package/components/stepper/index.d.ts +5 -0
- package/components/stepper/public-api.d.ts +7 -0
- package/{directives → components/stepper}/step-line-element.directive.d.ts +1 -1
- package/components/{step → stepper}/step.component.d.ts +4 -4
- package/components/{step → stepper}/step.component.module.d.ts +2 -2
- package/components/stepper/stepper.component.d.ts +1 -1
- package/components/stepper/stepper.component.module.d.ts +5 -5
- package/components/stepper/stepper.model.d.ts +1 -1
- package/components/table/index.d.ts +5 -0
- package/components/table/public-api.d.ts +6 -0
- package/components/table/table.component.d.ts +1 -1
- package/components/table/table.component.module.d.ts +6 -9
- package/{utils → components/table}/table.utils.d.ts +1 -1
- package/components/tabs/index.d.ts +5 -0
- package/components/tabs/public-api.d.ts +5 -0
- package/components/tabs/tab.directive.d.ts +1 -1
- package/components/tabs/tabs.component.d.ts +1 -1
- package/components/tabs/tabs.component.module.d.ts +3 -3
- package/components/tabs/tabs.model.d.ts +1 -1
- package/components/tag/index.d.ts +5 -0
- package/components/tag/public-api.d.ts +4 -0
- package/components/tag/tag.component.d.ts +2 -2
- package/components/tag/tag.component.module.d.ts +3 -3
- package/components/toggle/index.d.ts +5 -0
- package/components/toggle/public-api.d.ts +3 -0
- package/components/toggle/toggle.component.d.ts +1 -1
- package/components/toggle/toggle.component.module.d.ts +4 -5
- package/components/tooltip/index.d.ts +5 -0
- package/components/tooltip/public-api.d.ts +5 -0
- package/components/tooltip/tooltip.component.d.ts +1 -1
- package/components/tooltip/tooltip.component.module.d.ts +2 -3
- package/components/universal-skills/index.d.ts +5 -0
- package/components/universal-skills/public-api.d.ts +6 -0
- package/components/{universal-skills-spider-charts → universal-skills/spider-charts}/universal-skills-spider-charts.component.d.ts +4 -4
- package/components/{universal-skills-spider-charts → universal-skills/spider-charts}/universal-skills-spider-charts.component.module.d.ts +7 -9
- package/components/{universal-skills-report → universal-skills}/universal-skills-report.component.d.ts +4 -4
- package/components/{universal-skills-report → universal-skills}/universal-skills-report.component.module.d.ts +5 -7
- package/{models → components/universal-skills}/universal-skills-report.model.d.ts +1 -1
- package/{services → components/universal-skills}/universal-skills.service.d.ts +1 -1
- package/components/validation-error/index.d.ts +5 -0
- package/components/validation-error/public-api.d.ts +3 -0
- package/components/validation-error/validation-error.component.d.ts +1 -1
- package/components/validation-error/validation-error.module.d.ts +2 -2
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +179 -0
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +59 -0
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +222 -0
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1045 -0
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +173 -0
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +180 -0
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +250 -0
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +635 -0
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +164 -0
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +402 -0
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +162 -0
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +11243 -0
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +512 -0
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +481 -0
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +88 -0
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +146 -0
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +434 -0
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +75 -0
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +326 -0
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +639 -0
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +402 -0
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +314 -0
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +297 -0
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +98 -0
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1496 -0
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +367 -0
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +218 -0
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +54 -0
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +82 -0
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +343 -0
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +358 -0
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +279 -0
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +94 -0
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +110 -0
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +153 -0
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +118 -0
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +428 -0
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +128 -0
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +252 -0
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +152 -0
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +373 -0
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +150 -0
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +68 -0
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +158 -0
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +137 -0
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +128 -0
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +81 -0
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +231 -0
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +180 -0
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +81 -0
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +274 -0
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +299 -0
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +490 -0
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +108 -0
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +507 -0
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +394 -0
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +304 -0
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +239 -0
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +216 -0
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +272 -0
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +381 -0
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +79 -0
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -0
- package/fesm2022/testgorilla-tgo-ui.mjs +118 -27024
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/package.json +249 -1
- package/public-api.d.ts +75 -183
- package/components/ai-caveat/ai-caveat.component.d.ts +0 -36
- package/components/ai-caveat/ai-caveat.component.module.d.ts +0 -10
- package/models/application-theme.model.d.ts +0 -1
- package/projects/tgo-canopy-ui/assets/i18n/da-dk.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/de.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/en.json +0 -830
- package/projects/tgo-canopy-ui/assets/i18n/es.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/fr.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/it-it.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/ja-jp.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/nb-no.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/nl.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/pl-pl.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/pt-br.json +0 -820
- package/projects/tgo-canopy-ui/assets/i18n/sv-se.json +0 -820
- /package/{directives → components/autocomplete}/select-text.directive.d.ts +0 -0
- /package/{pipes → components/avatar}/name-initials.pipe.d.ts +0 -0
- /package/{utils → components/button}/color-contrast.d.ts +0 -0
- /package/{utils → components/core}/alert-bar.model.d.ts +0 -0
- /package/{utils → components/core}/autocomplete-utils.d.ts +0 -0
- /package/{models → components/core}/checkbox.model.d.ts +0 -0
- /package/{models → components/core}/colors.model.d.ts +0 -0
- /package/{pipes/data-property-getter.d.ts → components/core/data-property-getter.pipe.d.ts} +0 -0
- /package/{directives → components/core}/digits-only.directive.d.ts +0 -0
- /package/{directives → components/core}/dynamic-component.directive.d.ts +0 -0
- /package/{directives → components/core}/ellipse-text.directive.d.ts +0 -0
- /package/{pipes → components/core}/has-validation-error.pipe.d.ts +0 -0
- /package/{utils → components/core}/hex-to-rgb.d.ts +0 -0
- /package/{providers → components/core}/is-large-tablet.d.ts +0 -0
- /package/{providers → components/core}/is-mobile.d.ts +0 -0
- /package/{models → components/core}/keyboard-events.model.d.ts +0 -0
- /package/{utils/localization → components/core}/language.model.d.ts +0 -0
- /package/{utils/localization → components/core}/language.service.d.ts +0 -0
- /package/{pipes → components/core}/memoize-func.pipe.d.ts +0 -0
- /package/{models → components/core}/screen-breakpoints.model.d.ts +0 -0
- /package/{pipes → components/core}/ui-ordinal-suffix.pipe.d.ts +0 -0
- /package/{directives → components/file-upload}/drag-drop.directive.d.ts +0 -0
- /package/{services → components/icon}/icons.service.d.ts +0 -0
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Optional, Inject, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { NgIf } from '@angular/common';
|
|
5
|
+
|
|
6
|
+
var LogoTypeEnum;
|
|
7
|
+
(function (LogoTypeEnum) {
|
|
8
|
+
LogoTypeEnum["DEFAULT"] = "default";
|
|
9
|
+
LogoTypeEnum["POWEREDBY"] = "poweredby";
|
|
10
|
+
LogoTypeEnum["REVERSE"] = "reverse";
|
|
11
|
+
LogoTypeEnum["PRIMARY_BRANDMARK_PINK"] = "primary-brandmark-pink";
|
|
12
|
+
LogoTypeEnum["PRIMARY_LOCKUP_PINK"] = "primary-lockup-pink";
|
|
13
|
+
LogoTypeEnum["PRIMARY_WORDMARK_PINK"] = "primary-wordmark-pink";
|
|
14
|
+
LogoTypeEnum["SECONDARY_BRANDMARK_BLACK"] = "secondary-brandmark-black";
|
|
15
|
+
LogoTypeEnum["SECONDARY_BRANDMARK_CREAM"] = "secondary-brandmark-cream";
|
|
16
|
+
LogoTypeEnum["SECONDARY_LOCKUP_BLACK"] = "secondary-lockup-black";
|
|
17
|
+
LogoTypeEnum["SECONDARY_LOCKUP_CREAM"] = "secondary-lockup-cream";
|
|
18
|
+
LogoTypeEnum["SECONDARY_WORDMARK_BLACK"] = "secondary-wordmark-black";
|
|
19
|
+
LogoTypeEnum["SECONDARY_WORDMARK_CREAM"] = "secondary-wordmark-cream";
|
|
20
|
+
})(LogoTypeEnum || (LogoTypeEnum = {}));
|
|
21
|
+
var LogoPathEnum;
|
|
22
|
+
(function (LogoPathEnum) {
|
|
23
|
+
LogoPathEnum["DEFAULT"] = "/images/testgorilla.svg";
|
|
24
|
+
LogoPathEnum["POWEREDBY"] = "/images/poweredbyTG.svg";
|
|
25
|
+
LogoPathEnum["REVERSE"] = "/images/reverseTG.svg";
|
|
26
|
+
LogoPathEnum["PRIMARY_BRANDMARK_PINK"] = "/images/rebrand-logo/primary_brandmark_pink.svg";
|
|
27
|
+
LogoPathEnum["PRIMARY_LOCKUP_PINK"] = "/images/rebrand-logo/primary_lockup_pink.svg";
|
|
28
|
+
LogoPathEnum["PRIMARY_WORDMARK_PINK"] = "/images/rebrand-logo/primary_wordmark_pink.svg";
|
|
29
|
+
LogoPathEnum["SECONDARY_BRANDMARK_BLACK"] = "/images/rebrand-logo/secondary_brandmark_black.svg";
|
|
30
|
+
LogoPathEnum["SECONDARY_BRANDMARK_CREAM"] = "/images/rebrand-logo/secondary_brandmark_cream.svg";
|
|
31
|
+
LogoPathEnum["SECONDARY_LOCKUP_BLACK"] = "/images/rebrand-logo/secondary_lockup_black.svg";
|
|
32
|
+
LogoPathEnum["SECONDARY_LOCKUP_CREAM"] = "/images/rebrand-logo/secondary_lockup_cream.svg";
|
|
33
|
+
LogoPathEnum["SECONDARY_WORDMARK_BLACK"] = "/images/rebrand-logo/secondary_wordmark_black.svg";
|
|
34
|
+
LogoPathEnum["SECONDARY_WORDMARK_CREAM"] = "/images/rebrand-logo/secondary_wordmark_cream.svg";
|
|
35
|
+
LogoPathEnum["REBRAND_POWEREDBY"] = "/images/rebrand-logo/powered-by.svg";
|
|
36
|
+
})(LogoPathEnum || (LogoPathEnum = {}));
|
|
37
|
+
|
|
38
|
+
class LogoComponent {
|
|
39
|
+
constructor(defaultAppTheme) {
|
|
40
|
+
this.defaultAppTheme = defaultAppTheme;
|
|
41
|
+
/**
|
|
42
|
+
* Logo type
|
|
43
|
+
*
|
|
44
|
+
* @type {LogoTypeEnum}
|
|
45
|
+
* @memberof LogoComponent
|
|
46
|
+
*/
|
|
47
|
+
this.type = LogoTypeEnum.DEFAULT;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* Defines the application theme
|
|
51
|
+
*
|
|
52
|
+
* @type {ApplicationTheme}
|
|
53
|
+
* @memberof LogoComponent
|
|
54
|
+
*/
|
|
55
|
+
this.applicationTheme = 'light';
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* Label. Only for ppoweredby type
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof LogoComponent
|
|
62
|
+
*/
|
|
63
|
+
this.label = 'POWERED BY';
|
|
64
|
+
/**
|
|
65
|
+
* Set logo width
|
|
66
|
+
* @default 200
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof LogoComponent
|
|
69
|
+
*/
|
|
70
|
+
this.width = 200;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* Allow change logo width
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof LogoComponent
|
|
77
|
+
*/
|
|
78
|
+
this.allowResizing = false;
|
|
79
|
+
this.LogoTypeEnum = LogoTypeEnum;
|
|
80
|
+
/**
|
|
81
|
+
* @ignore
|
|
82
|
+
*/
|
|
83
|
+
this.setURL = () => {
|
|
84
|
+
if (this.applicationTheme === 'classic') {
|
|
85
|
+
switch (this.type) {
|
|
86
|
+
case LogoTypeEnum.POWEREDBY: {
|
|
87
|
+
this.logoURL = LogoPathEnum.POWEREDBY;
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
case LogoTypeEnum.REVERSE: {
|
|
91
|
+
this.logoURL = LogoPathEnum.REVERSE;
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
default: {
|
|
95
|
+
this.logoURL = LogoPathEnum.DEFAULT;
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
else {
|
|
101
|
+
switch (this.type) {
|
|
102
|
+
case LogoTypeEnum.PRIMARY_BRANDMARK_PINK: {
|
|
103
|
+
this.logoURL = LogoPathEnum.PRIMARY_BRANDMARK_PINK;
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
case LogoTypeEnum.PRIMARY_LOCKUP_PINK: {
|
|
107
|
+
this.logoURL = LogoPathEnum.PRIMARY_LOCKUP_PINK;
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
case LogoTypeEnum.PRIMARY_WORDMARK_PINK: {
|
|
111
|
+
this.logoURL = LogoPathEnum.PRIMARY_WORDMARK_PINK;
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
case LogoTypeEnum.SECONDARY_BRANDMARK_BLACK: {
|
|
115
|
+
this.logoURL = LogoPathEnum.SECONDARY_BRANDMARK_BLACK;
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
case LogoTypeEnum.SECONDARY_BRANDMARK_CREAM: {
|
|
119
|
+
this.logoURL = LogoPathEnum.SECONDARY_BRANDMARK_CREAM;
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
case LogoTypeEnum.SECONDARY_LOCKUP_BLACK: {
|
|
123
|
+
this.logoURL = LogoPathEnum.SECONDARY_LOCKUP_BLACK;
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
case LogoTypeEnum.SECONDARY_LOCKUP_CREAM: {
|
|
127
|
+
this.logoURL = LogoPathEnum.SECONDARY_LOCKUP_CREAM;
|
|
128
|
+
break;
|
|
129
|
+
}
|
|
130
|
+
case LogoTypeEnum.SECONDARY_WORDMARK_BLACK: {
|
|
131
|
+
this.logoURL = LogoPathEnum.SECONDARY_WORDMARK_BLACK;
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
case LogoTypeEnum.SECONDARY_WORDMARK_CREAM: {
|
|
135
|
+
this.logoURL = LogoPathEnum.SECONDARY_WORDMARK_CREAM;
|
|
136
|
+
break;
|
|
137
|
+
}
|
|
138
|
+
case LogoTypeEnum.POWEREDBY: {
|
|
139
|
+
this.logoURL = LogoPathEnum.REBRAND_POWEREDBY;
|
|
140
|
+
break;
|
|
141
|
+
}
|
|
142
|
+
default: {
|
|
143
|
+
this.logoURL = LogoPathEnum.PRIMARY_LOCKUP_PINK;
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
if (defaultAppTheme) {
|
|
150
|
+
this.applicationTheme = defaultAppTheme;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @ignore
|
|
155
|
+
*/
|
|
156
|
+
ngOnInit() {
|
|
157
|
+
this.setURL();
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @ignore
|
|
161
|
+
*/
|
|
162
|
+
ngOnChanges(changes) {
|
|
163
|
+
this.setURL();
|
|
164
|
+
if (changes['width']) {
|
|
165
|
+
this.changeWidth(changes['width'].currentValue);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
changeWidth(changedWidth) {
|
|
169
|
+
if (changedWidth >= 200 || this.allowResizing) {
|
|
170
|
+
this.width = changedWidth;
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
this.width = 200;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogoComponent, deps: [{ token: 'CANOPYUI_DEFAULT_APPLICATION_THEME', optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: LogoComponent, isStandalone: false, selector: "ui-logo", inputs: { type: "type", applicationTheme: "applicationTheme", label: "label", width: "width", allowResizing: "allowResizing" }, usesOnChanges: true, ngImport: i0, template: "<ng-container *ngIf=\"applicationTheme === 'classic'; else rebrandLogo\">\n <img [attr.src]=\"logoURL\" [alt]=\"type\">\n</ng-container>\n\n<ng-template #rebrandLogo>\n <div *ngIf=\"label && type === LogoTypeEnum.POWEREDBY; else others\" class=\"logo-label\" [style.width]=\"width + 'px'\">\n <h3 class=\"bold\">{{ label }}</h3>\n <img [attr.src]=\"logoURL\" [alt]=\"type\" [width]=\"width\">\n </div>\n\n <ng-template #others>\n <img [attr.src]=\"logoURL\" [alt]=\"type\" [width]=\"width\">\n </ng-template>\n</ng-template>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{position:relative}:host .logo-label{height:80px}:host .logo-label h3{margin-left:35px;color:#919191}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
178
|
+
}
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogoComponent, decorators: [{
|
|
180
|
+
type: Component,
|
|
181
|
+
args: [{ selector: 'ui-logo', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-container *ngIf=\"applicationTheme === 'classic'; else rebrandLogo\">\n <img [attr.src]=\"logoURL\" [alt]=\"type\">\n</ng-container>\n\n<ng-template #rebrandLogo>\n <div *ngIf=\"label && type === LogoTypeEnum.POWEREDBY; else others\" class=\"logo-label\" [style.width]=\"width + 'px'\">\n <h3 class=\"bold\">{{ label }}</h3>\n <img [attr.src]=\"logoURL\" [alt]=\"type\" [width]=\"width\">\n </div>\n\n <ng-template #others>\n <img [attr.src]=\"logoURL\" [alt]=\"type\" [width]=\"width\">\n </ng-template>\n</ng-template>\n", styles: [".bg-teal-60b{background:#1c443c}.bg-teal-30b{background:#31766a}.bg-teal-default{background:#46a997}.bg-teal-30w{background:#7ec3b6}.bg-teal-60w{background:#b5ddd5}.bg-teal-secondary{background:#cbd6cb}.bg-teal-90w{background:#ecf6f5}.bg-petrol-60b{background:#102930}.bg-petrol-30b{background:#1b4754}.bg-petrol-default{background:#276678}.bg-petrol-30w{background:#6894a0}.bg-petrol-60w{background:#a9c2c9}.bg-petrol-secondary{background:#c8d7de}.bg-petrol-90w{background:#e9f0f1}.bg-error-60b{background:#513131}.bg-error-30b{background:#8e5655}.bg-error-60w{background:#e3c3c6}.bg-error-secondary{background:#f0dad9}.bg-error-default{background:#cb7b7a}.bg-warning-secondary{background:#f0d6bb}.bg-warning-default{background:#cca45f}.bg-black{background:#000}.bg-dark{background:#888}.bg-medium{background:#e0e0e0}.bg-grey{background:#ededed}.bg-light{background:#f6f6f6}.bg-white{background:#fff}.bg-box-shadow{background:#00000014}.bg-navigation-subtitle{background:#528593}.bgc-teal-60b{background-color:#1c443c}.bgc-teal-30b{background-color:#31766a}.bgc-teal-default{background-color:#46a997}.bgc-teal-30w{background-color:#7ec3b6}.bgc-teal-60w{background-color:#b5ddd5}.bgc-teal-secondary{background-color:#cbd6cb}.bgc-teal-90w{background-color:#ecf6f5}.bgc-petrol-60b{background-color:#102930}.bgc-petrol-30b{background-color:#1b4754}.bgc-petrol-default{background-color:#276678}.bgc-petrol-30w{background-color:#6894a0}.bgc-petrol-60w{background-color:#a9c2c9}.bgc-petrol-secondary{background-color:#c8d7de}.bgc-petrol-90w{background-color:#e9f0f1}.bgc-error-60b{background-color:#513131}.bgc-error-30b{background-color:#8e5655}.bgc-error-60w{background-color:#e3c3c6}.bgc-error-secondary{background-color:#f0dad9}.bgc-error-default{background-color:#cb7b7a}.bgc-warning-secondary{background-color:#f0d6bb}.bgc-warning-default{background-color:#cca45f}.bgc-black{background-color:#000}.bgc-dark{background-color:#888}.bgc-medium{background-color:#e0e0e0}.bgc-grey{background-color:#ededed}.bgc-light{background-color:#f6f6f6}.bgc-white{background-color:#fff}.bgc-box-shadow{background-color:#00000014}.bgc-navigation-subtitle{background-color:#528593}:host{position:relative}:host .logo-label{height:80px}:host .logo-label h3{margin-left:35px;color:#919191}\n"] }]
|
|
182
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
183
|
+
type: Optional
|
|
184
|
+
}, {
|
|
185
|
+
type: Inject,
|
|
186
|
+
args: ['CANOPYUI_DEFAULT_APPLICATION_THEME']
|
|
187
|
+
}] }], propDecorators: { type: [{
|
|
188
|
+
type: Input
|
|
189
|
+
}], applicationTheme: [{
|
|
190
|
+
type: Input
|
|
191
|
+
}], label: [{
|
|
192
|
+
type: Input
|
|
193
|
+
}], width: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}], allowResizing: [{
|
|
196
|
+
type: Input
|
|
197
|
+
}] } });
|
|
198
|
+
|
|
199
|
+
class LogoComponentModule {
|
|
200
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogoComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
201
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: LogoComponentModule, declarations: [LogoComponent], imports: [NgIf], exports: [LogoComponent] }); }
|
|
202
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogoComponentModule }); }
|
|
203
|
+
}
|
|
204
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: LogoComponentModule, decorators: [{
|
|
205
|
+
type: NgModule,
|
|
206
|
+
args: [{
|
|
207
|
+
declarations: [LogoComponent],
|
|
208
|
+
imports: [NgIf],
|
|
209
|
+
exports: [LogoComponent],
|
|
210
|
+
}]
|
|
211
|
+
}] });
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Generated bundle index. Do not edit.
|
|
215
|
+
*/
|
|
216
|
+
|
|
217
|
+
export { LogoComponent, LogoComponentModule, LogoPathEnum, LogoTypeEnum };
|
|
218
|
+
//# sourceMappingURL=testgorilla-tgo-ui-components-logo.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testgorilla-tgo-ui-components-logo.mjs","sources":["../../../components/logo/logo.model.ts","../../../components/logo/logo.component.ts","../../../components/logo/logo.component.html","../../../components/logo/logo.component.module.ts","../../../components/logo/testgorilla-tgo-ui-components-logo.ts"],"sourcesContent":["export enum LogoTypeEnum {\n DEFAULT = 'default',\n POWEREDBY = 'poweredby',\n REVERSE = 'reverse',\n PRIMARY_BRANDMARK_PINK = 'primary-brandmark-pink',\n PRIMARY_LOCKUP_PINK = 'primary-lockup-pink',\n PRIMARY_WORDMARK_PINK = 'primary-wordmark-pink',\n SECONDARY_BRANDMARK_BLACK = 'secondary-brandmark-black',\n SECONDARY_BRANDMARK_CREAM = 'secondary-brandmark-cream',\n SECONDARY_LOCKUP_BLACK = 'secondary-lockup-black',\n SECONDARY_LOCKUP_CREAM = 'secondary-lockup-cream',\n SECONDARY_WORDMARK_BLACK = 'secondary-wordmark-black',\n SECONDARY_WORDMARK_CREAM = 'secondary-wordmark-cream',\n}\n\nexport enum LogoPathEnum {\n DEFAULT = '/images/testgorilla.svg',\n POWEREDBY = '/images/poweredbyTG.svg',\n REVERSE = '/images/reverseTG.svg',\n PRIMARY_BRANDMARK_PINK = '/images/rebrand-logo/primary_brandmark_pink.svg',\n PRIMARY_LOCKUP_PINK = '/images/rebrand-logo/primary_lockup_pink.svg',\n PRIMARY_WORDMARK_PINK = '/images/rebrand-logo/primary_wordmark_pink.svg',\n SECONDARY_BRANDMARK_BLACK = '/images/rebrand-logo/secondary_brandmark_black.svg',\n SECONDARY_BRANDMARK_CREAM = '/images/rebrand-logo/secondary_brandmark_cream.svg',\n SECONDARY_LOCKUP_BLACK = '/images/rebrand-logo/secondary_lockup_black.svg',\n SECONDARY_LOCKUP_CREAM = '/images/rebrand-logo/secondary_lockup_cream.svg',\n SECONDARY_WORDMARK_BLACK = '/images/rebrand-logo/secondary_wordmark_black.svg',\n SECONDARY_WORDMARK_CREAM = '/images/rebrand-logo/secondary_wordmark_cream.svg',\n REBRAND_POWEREDBY = '/images/rebrand-logo/powered-by.svg',\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n Input,\n OnChanges,\n OnInit,\n Optional,\n SimpleChanges,\n} from '@angular/core';\nimport { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';\nimport { LogoPathEnum, LogoTypeEnum } from './logo.model';\n\n@Component({\n selector: 'ui-logo',\n templateUrl: './logo.component.html',\n styleUrls: ['./logo.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false\n})\nexport class LogoComponent implements OnInit, OnChanges {\n /**\n * Logo type\n *\n * @type {LogoTypeEnum}\n * @memberof LogoComponent\n */\n @Input() type: LogoTypeEnum = LogoTypeEnum.DEFAULT;\n\n /**\n *\n * Defines the application theme\n *\n * @type {ApplicationTheme}\n * @memberof LogoComponent\n */\n @Input() applicationTheme: ApplicationTheme = 'light';\n\n /**\n *\n * Label. Only for ppoweredby type\n *\n * @type {string}\n * @memberof LogoComponent\n */\n @Input() label = 'POWERED BY';\n\n /**\n * Set logo width\n * @default 200\n * @type {number}\n * @memberof LogoComponent\n */\n @Input() width = 200;\n\n /**\n *\n * Allow change logo width\n *\n * @type {string}\n * @memberof LogoComponent\n */\n @Input() allowResizing = false;\n\n protected readonly LogoTypeEnum = LogoTypeEnum;\n\n /**\n * @ignore\n */\n logoURL: String;\n\n /**\n * @ignore\n */\n setURL = () => {\n if (this.applicationTheme === 'classic') {\n switch (this.type) {\n case LogoTypeEnum.POWEREDBY: {\n this.logoURL = LogoPathEnum.POWEREDBY;\n break;\n }\n case LogoTypeEnum.REVERSE: {\n this.logoURL = LogoPathEnum.REVERSE;\n break;\n }\n default: {\n this.logoURL = LogoPathEnum.DEFAULT;\n break;\n }\n }\n } else {\n switch (this.type) {\n case LogoTypeEnum.PRIMARY_BRANDMARK_PINK: {\n this.logoURL = LogoPathEnum.PRIMARY_BRANDMARK_PINK;\n break;\n }\n case LogoTypeEnum.PRIMARY_LOCKUP_PINK: {\n this.logoURL = LogoPathEnum.PRIMARY_LOCKUP_PINK;\n break;\n }\n case LogoTypeEnum.PRIMARY_WORDMARK_PINK: {\n this.logoURL = LogoPathEnum.PRIMARY_WORDMARK_PINK;\n break;\n }\n case LogoTypeEnum.SECONDARY_BRANDMARK_BLACK: {\n this.logoURL = LogoPathEnum.SECONDARY_BRANDMARK_BLACK;\n break;\n }\n case LogoTypeEnum.SECONDARY_BRANDMARK_CREAM: {\n this.logoURL = LogoPathEnum.SECONDARY_BRANDMARK_CREAM;\n break;\n }\n case LogoTypeEnum.SECONDARY_LOCKUP_BLACK: {\n this.logoURL = LogoPathEnum.SECONDARY_LOCKUP_BLACK;\n break;\n }\n case LogoTypeEnum.SECONDARY_LOCKUP_CREAM: {\n this.logoURL = LogoPathEnum.SECONDARY_LOCKUP_CREAM;\n break;\n }\n case LogoTypeEnum.SECONDARY_WORDMARK_BLACK: {\n this.logoURL = LogoPathEnum.SECONDARY_WORDMARK_BLACK;\n break;\n }\n case LogoTypeEnum.SECONDARY_WORDMARK_CREAM: {\n this.logoURL = LogoPathEnum.SECONDARY_WORDMARK_CREAM;\n break;\n }\n case LogoTypeEnum.POWEREDBY: {\n this.logoURL = LogoPathEnum.REBRAND_POWEREDBY;\n break;\n }\n default: {\n this.logoURL = LogoPathEnum.PRIMARY_LOCKUP_PINK;\n break;\n }\n }\n }\n };\n\n constructor(\n @Optional() @Inject('CANOPYUI_DEFAULT_APPLICATION_THEME') private readonly defaultAppTheme: ApplicationTheme,\n ) {\n if (defaultAppTheme) {\n this.applicationTheme = defaultAppTheme;\n }\n }\n\n /**\n * @ignore\n */\n ngOnInit(): void {\n this.setURL();\n }\n\n /**\n * @ignore\n */\n ngOnChanges(changes: SimpleChanges): void {\n this.setURL();\n if (changes['width']) {\n this.changeWidth(changes['width'].currentValue);\n }\n }\n\n private changeWidth(changedWidth: number): void {\n if (changedWidth >= 200 || this.allowResizing) {\n this.width = changedWidth;\n } else {\n this.width = 200;\n }\n }\n}\n","<ng-container *ngIf=\"applicationTheme === 'classic'; else rebrandLogo\">\n <img [attr.src]=\"logoURL\" [alt]=\"type\">\n</ng-container>\n\n<ng-template #rebrandLogo>\n <div *ngIf=\"label && type === LogoTypeEnum.POWEREDBY; else others\" class=\"logo-label\" [style.width]=\"width + 'px'\">\n <h3 class=\"bold\">{{ label }}</h3>\n <img [attr.src]=\"logoURL\" [alt]=\"type\" [width]=\"width\">\n </div>\n\n <ng-template #others>\n <img [attr.src]=\"logoURL\" [alt]=\"type\" [width]=\"width\">\n </ng-template>\n</ng-template>\n","import { NgModule } from '@angular/core';\nimport { LogoComponent } from './logo.component';\nimport { NgIf } from '@angular/common';\n\n@NgModule({\n declarations: [LogoComponent],\n imports: [NgIf],\n exports: [LogoComponent],\n})\nexport class LogoComponentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;IAAY;AAAZ,CAAA,UAAY,YAAY,EA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,EAAA,SAAS,EAGF,eAAA,EAAA,uBAAuB,CAAC,MAAM,cACnC,KAAK,EAAA,QAAA,EAAA,8hBAAA,EAAA,MAAA,EAAA,CAAA,iuEAAA,CAAA,EAAA;;0BA2HhB;;0BAAY,MAAM;2BAAC,oCAAoC;yCAlHjD,IAAI,EAAA,CAAA;sBAAZ;gBASQ,gBAAgB,EAAA,CAAA;sBAAxB;gBASQ,KAAK,EAAA,CAAA;sBAAb;gBAQQ,KAAK,EAAA,CAAA;sBAAb;gBASQ,aAAa,EAAA,CAAA;sBAArB;;;MErDU,mBAAmB,CAAA;+GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAJf,YAAA,EAAA,CAAA,aAAa,CAClB,EAAA,OAAA,EAAA,CAAA,IAAI,aACJ,aAAa,CAAA,EAAA,CAAA,CAAA;gHAEZ,mBAAmB,EAAA,CAAA,CAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,aAAa,CAAC;oBAC7B,OAAO,EAAE,CAAC,IAAI,CAAC;oBACf,OAAO,EAAE,CAAC,aAAa,CAAC;AACzB,iBAAA;;;ACRD;;AAEG;;;;"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@testgorilla/tgo-ui/components/divider';
|
|
4
|
+
import { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';
|
|
5
|
+
import { EllipseTextDirective } from '@testgorilla/tgo-ui/components/core';
|
|
6
|
+
import * as i3 from '@angular/material/tooltip';
|
|
7
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
8
|
+
import * as i2 from '@testgorilla/tgo-ui/components/button';
|
|
9
|
+
import { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';
|
|
10
|
+
|
|
11
|
+
class MediaCardComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
/**
|
|
14
|
+
* The label of the button
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof MediaCardComponent
|
|
17
|
+
*/
|
|
18
|
+
this.buttonLabel = '';
|
|
19
|
+
this.buttonClick = new EventEmitter();
|
|
20
|
+
this.showTitleTooltip = false;
|
|
21
|
+
}
|
|
22
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MediaCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: MediaCardComponent, isStandalone: true, selector: "ui-media-card", inputs: { title: "title", description: "description", image: "image", buttonLabel: "buttonLabel" }, outputs: { buttonClick: "buttonClick" }, ngImport: i0, template: "<img [attr.src]=\"image\" alt=\"card image\">\n\n<div class=\"media-card-content\">\n <div class=\"media-card-title\" [isMultiline]=\"true\" [matTooltip]=\"showTitleTooltip ? title : ''\" uiEllipseText (onChangeTextState)=\"showTitleTooltip = $event\">\n {{ title }}\n </div>\n\n <div class=\"media-card-description\">\n {{ description }}\n </div>\n</div>\n\n<ui-divider [size]=\"'small'\"></ui-divider>\n\n<div class=\"media-card-action\">\n <ui-button [variant]=\"'ghost'\" [label]=\"buttonLabel\" (buttonClickEvent)=\"buttonClick.emit()\"></ui-button>\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}h1,h2,h3,.h1,.h2,.h3{font-weight:400;margin:0}h4,h5,h6,.h4,:host .media-card-content .media-card-title,.h5,.h6{font-weight:700;margin:0}h1,.h1{font-size:40px;line-height:60px;font-weight:700}h2,.h2{font-size:24px;line-height:36px}h2.bold,.h2.bold{font-weight:700}h3,.h3{font-size:20px;line-height:28px}h3.bold,.h3.bold{font-weight:700}h4,.h4,:host .media-card-content .media-card-title{font-size:16px;line-height:24px}h5,.h5{font-size:14px;line-height:20px}h6,.h6{font-size:12px;line-height:16px;text-transform:uppercase}body{font-size:14px;line-height:20px}strong,b{font-weight:700!important}.featured{font-size:16px;line-height:24px}p .semibold,.featured .semibold,.caption .semibold{font-weight:600;color:#46a997}small{font-size:8px;line-height:12px}caption,.caption{font-size:12px;line-height:16px;display:inline-block}*[theme=dark] h1,*[theme=dark] .h1,*[theme=light] h1,*[theme=light] .h1{color:#242424;font-size:32px;line-height:48px;font-weight:400}*[theme=dark] h1.black,*[theme=dark] .h1.black,*[theme=light] h1.black,*[theme=light] .h1.black{font-family:ModernGothic,sans-serif!important;font-weight:900}*[theme=dark] h2,*[theme=dark] .h2,*[theme=light] h2,*[theme=light] .h2{color:#242424;font-size:24px;line-height:30px;font-weight:900;font-family:ModernGothic,sans-serif!important}*[theme=dark] h3,*[theme=dark] .h3,*[theme=light] h3,*[theme=light] .h3{font-size:20px;line-height:26px;font-weight:400;color:#242424}*[theme=dark] h3.bold,*[theme=dark] .h3.bold,*[theme=light] h3.bold,*[theme=light] .h3.bold{font-family:ModernGothic,sans-serif!important;font-weight:700}*[theme=dark] h4,*[theme=dark] .h4,:host *[theme=dark] .media-card-content .media-card-title,:host .media-card-content *[theme=dark] .media-card-title,*[theme=light] h4,*[theme=light] .h4,:host *[theme=light] .media-card-content .media-card-title,:host .media-card-content *[theme=light] .media-card-title{font-size:16px;line-height:20px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] h5,*[theme=dark] .h5,*[theme=light] h5,*[theme=light] .h5{font-size:14px;line-height:18px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] .body-large,*[theme=light] .body-large{font-weight:700;font-size:14px;line-height:22px}*[theme=dark] .body-large-bold,*[theme=light] .body-large-bold{font-weight:700;font-size:16px;line-height:24px}*[theme=dark] .body-large-regular,*[theme=light] .body-large-regular{font-weight:400;font-size:16px;line-height:24px}*[theme=dark] .body-small-bold,*[theme=light] .body-small-bold{font-weight:700;font-size:12px;line-height:16px}*[theme=dark] .body-small-regular,*[theme=light] .body-small-regular{font-weight:400;font-size:12px;line-height:16px}*[theme=dark] .hyperlink-large,*[theme=light] .hyperlink-large{font-weight:500;font-size:16px;line-height:24px}*[theme=dark] .hyperlink,*[theme=light] .hyperlink{font-weight:500;font-size:14px;line-height:22px}*[theme=dark] .hyperlink-small,*[theme=light] .hyperlink-small{font-weight:500;font-size:12px;line-height:16px}*[theme=dark] .button-label,*[theme=light] .button-label{font-weight:500;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .label,*[theme=light] .label{font-weight:400;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .large-hover-state,*[theme=light] .large-hover-state{font-weight:700;text-decoration:underline;font-size:16px;line-height:24px}*[theme=dark] .hover-state,*[theme=light] .hover-state{font-weight:700;text-decoration:underline;font-size:14px;line-height:22px}*[theme=dark] h1,*[theme=dark] .h1,*[theme=dark] h2,*[theme=dark] .h2,*[theme=dark] h3,*[theme=dark] .h3,*[theme=dark] h4,*[theme=dark] .h4,:host *[theme=dark] .media-card-content .media-card-title,:host .media-card-content *[theme=dark] .media-card-title,*[theme=dark] h5,*[theme=dark] .h5{color:#fff}:host{display:flex;flex-direction:column;border:1px solid #D3D3D3;border-radius:10px;max-width:568px;min-width:288px;background:#fff}:host img{aspect-ratio:19.5/9;width:100%;border-radius:10px 10px 0 0}:host .media-card-content{display:flex;flex-direction:column;padding:24px 24px 24px 16px;height:100%}:host .media-card-content .media-card-title{overflow:hidden;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis;white-space:normal;color:#242424;margin-bottom:8px}:host .media-card-content .media-card-description{height:62px;color:#666;font-size:14px;overflow:auto}:host .media-card-action{display:flex;justify-content:flex-end;padding:16px 24px}\n"], dependencies: [{ kind: "ngmodule", type: DividerComponentModule }, { kind: "component", type: i1.DividerComponent, selector: "ui-divider", inputs: ["size", "companyColor", "applicationTheme", "label"] }, { kind: "ngmodule", type: ButtonComponentModule }, { 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", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role", "iconFilled"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "directive", type: EllipseTextDirective, selector: "[uiEllipseText]", inputs: ["isMultiline", "maxDiffPixels", "refresh"], outputs: ["onChangeTextState"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MediaCardComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ selector: 'ui-media-card', imports: [
|
|
28
|
+
DividerComponentModule,
|
|
29
|
+
ButtonComponentModule,
|
|
30
|
+
EllipseTextDirective,
|
|
31
|
+
MatTooltipModule
|
|
32
|
+
], template: "<img [attr.src]=\"image\" alt=\"card image\">\n\n<div class=\"media-card-content\">\n <div class=\"media-card-title\" [isMultiline]=\"true\" [matTooltip]=\"showTitleTooltip ? title : ''\" uiEllipseText (onChangeTextState)=\"showTitleTooltip = $event\">\n {{ title }}\n </div>\n\n <div class=\"media-card-description\">\n {{ description }}\n </div>\n</div>\n\n<ui-divider [size]=\"'small'\"></ui-divider>\n\n<div class=\"media-card-action\">\n <ui-button [variant]=\"'ghost'\" [label]=\"buttonLabel\" (buttonClickEvent)=\"buttonClick.emit()\"></ui-button>\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}h1,h2,h3,.h1,.h2,.h3{font-weight:400;margin:0}h4,h5,h6,.h4,:host .media-card-content .media-card-title,.h5,.h6{font-weight:700;margin:0}h1,.h1{font-size:40px;line-height:60px;font-weight:700}h2,.h2{font-size:24px;line-height:36px}h2.bold,.h2.bold{font-weight:700}h3,.h3{font-size:20px;line-height:28px}h3.bold,.h3.bold{font-weight:700}h4,.h4,:host .media-card-content .media-card-title{font-size:16px;line-height:24px}h5,.h5{font-size:14px;line-height:20px}h6,.h6{font-size:12px;line-height:16px;text-transform:uppercase}body{font-size:14px;line-height:20px}strong,b{font-weight:700!important}.featured{font-size:16px;line-height:24px}p .semibold,.featured .semibold,.caption .semibold{font-weight:600;color:#46a997}small{font-size:8px;line-height:12px}caption,.caption{font-size:12px;line-height:16px;display:inline-block}*[theme=dark] h1,*[theme=dark] .h1,*[theme=light] h1,*[theme=light] .h1{color:#242424;font-size:32px;line-height:48px;font-weight:400}*[theme=dark] h1.black,*[theme=dark] .h1.black,*[theme=light] h1.black,*[theme=light] .h1.black{font-family:ModernGothic,sans-serif!important;font-weight:900}*[theme=dark] h2,*[theme=dark] .h2,*[theme=light] h2,*[theme=light] .h2{color:#242424;font-size:24px;line-height:30px;font-weight:900;font-family:ModernGothic,sans-serif!important}*[theme=dark] h3,*[theme=dark] .h3,*[theme=light] h3,*[theme=light] .h3{font-size:20px;line-height:26px;font-weight:400;color:#242424}*[theme=dark] h3.bold,*[theme=dark] .h3.bold,*[theme=light] h3.bold,*[theme=light] .h3.bold{font-family:ModernGothic,sans-serif!important;font-weight:700}*[theme=dark] h4,*[theme=dark] .h4,:host *[theme=dark] .media-card-content .media-card-title,:host .media-card-content *[theme=dark] .media-card-title,*[theme=light] h4,*[theme=light] .h4,:host *[theme=light] .media-card-content .media-card-title,:host .media-card-content *[theme=light] .media-card-title{font-size:16px;line-height:20px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] h5,*[theme=dark] .h5,*[theme=light] h5,*[theme=light] .h5{font-size:14px;line-height:18px;font-weight:700;color:#242424;font-family:ModernGothic,sans-serif!important}*[theme=dark] .body-large,*[theme=light] .body-large{font-weight:700;font-size:14px;line-height:22px}*[theme=dark] .body-large-bold,*[theme=light] .body-large-bold{font-weight:700;font-size:16px;line-height:24px}*[theme=dark] .body-large-regular,*[theme=light] .body-large-regular{font-weight:400;font-size:16px;line-height:24px}*[theme=dark] .body-small-bold,*[theme=light] .body-small-bold{font-weight:700;font-size:12px;line-height:16px}*[theme=dark] .body-small-regular,*[theme=light] .body-small-regular{font-weight:400;font-size:12px;line-height:16px}*[theme=dark] .hyperlink-large,*[theme=light] .hyperlink-large{font-weight:500;font-size:16px;line-height:24px}*[theme=dark] .hyperlink,*[theme=light] .hyperlink{font-weight:500;font-size:14px;line-height:22px}*[theme=dark] .hyperlink-small,*[theme=light] .hyperlink-small{font-weight:500;font-size:12px;line-height:16px}*[theme=dark] .button-label,*[theme=light] .button-label{font-weight:500;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .label,*[theme=light] .label{font-weight:400;font-size:14px;font-feature-settings:\"capb\"}*[theme=dark] .large-hover-state,*[theme=light] .large-hover-state{font-weight:700;text-decoration:underline;font-size:16px;line-height:24px}*[theme=dark] .hover-state,*[theme=light] .hover-state{font-weight:700;text-decoration:underline;font-size:14px;line-height:22px}*[theme=dark] h1,*[theme=dark] .h1,*[theme=dark] h2,*[theme=dark] .h2,*[theme=dark] h3,*[theme=dark] .h3,*[theme=dark] h4,*[theme=dark] .h4,:host *[theme=dark] .media-card-content .media-card-title,:host .media-card-content *[theme=dark] .media-card-title,*[theme=dark] h5,*[theme=dark] .h5{color:#fff}:host{display:flex;flex-direction:column;border:1px solid #D3D3D3;border-radius:10px;max-width:568px;min-width:288px;background:#fff}:host img{aspect-ratio:19.5/9;width:100%;border-radius:10px 10px 0 0}:host .media-card-content{display:flex;flex-direction:column;padding:24px 24px 24px 16px;height:100%}:host .media-card-content .media-card-title{overflow:hidden;-webkit-line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;text-overflow:ellipsis;white-space:normal;color:#242424;margin-bottom:8px}:host .media-card-content .media-card-description{height:62px;color:#666;font-size:14px;overflow:auto}:host .media-card-action{display:flex;justify-content:flex-end;padding:16px 24px}\n"] }]
|
|
33
|
+
}], propDecorators: { title: [{
|
|
34
|
+
type: Input,
|
|
35
|
+
args: [{ required: true }]
|
|
36
|
+
}], description: [{
|
|
37
|
+
type: Input,
|
|
38
|
+
args: [{ required: true }]
|
|
39
|
+
}], image: [{
|
|
40
|
+
type: Input,
|
|
41
|
+
args: [{ required: true }]
|
|
42
|
+
}], buttonLabel: [{
|
|
43
|
+
type: Input,
|
|
44
|
+
args: [{ required: true }]
|
|
45
|
+
}], buttonClick: [{
|
|
46
|
+
type: Output
|
|
47
|
+
}] } });
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Generated bundle index. Do not edit.
|
|
51
|
+
*/
|
|
52
|
+
|
|
53
|
+
export { MediaCardComponent };
|
|
54
|
+
//# sourceMappingURL=testgorilla-tgo-ui-components-media-card.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testgorilla-tgo-ui-components-media-card.mjs","sources":["../../../components/media-card/media-card.component.ts","../../../components/media-card/media-card.component.html","../../../components/media-card/testgorilla-tgo-ui-components-media-card.ts"],"sourcesContent":["import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { DividerComponentModule } from '@testgorilla/tgo-ui/components/divider';\nimport { EllipseTextDirective } from \"@testgorilla/tgo-ui/components/core\";\nimport { MatTooltipModule } from \"@angular/material/tooltip\";\nimport { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';\n\n@Component({\n selector: 'ui-media-card',\n imports: [\n DividerComponentModule,\n ButtonComponentModule,\n EllipseTextDirective,\n MatTooltipModule\n ],\n templateUrl: './media-card.component.html',\n styleUrl: './media-card.component.scss'\n})\nexport class MediaCardComponent {\n /**\n * The title of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) title: string;\n /**\n * The description of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) description: string;\n /**\n * The image of the card\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) image: string;\n /**\n * The label of the button\n * @type {string}\n * @memberof MediaCardComponent\n */\n @Input({ required: true }) buttonLabel = '';\n @Output() buttonClick = new EventEmitter<void>();\n protected showTitleTooltip = false;\n}\n","<img [attr.src]=\"image\" alt=\"card image\">\n\n<div class=\"media-card-content\">\n <div class=\"media-card-title\" [isMultiline]=\"true\" [matTooltip]=\"showTitleTooltip ? title : ''\" uiEllipseText (onChangeTextState)=\"showTitleTooltip = $event\">\n {{ title }}\n </div>\n\n <div class=\"media-card-description\">\n {{ description }}\n </div>\n</div>\n\n<ui-divider [size]=\"'small'\"></ui-divider>\n\n<div class=\"media-card-action\">\n <ui-button [variant]=\"'ghost'\" [label]=\"buttonLabel\" (buttonClickEvent)=\"buttonClick.emit()\"></ui-button>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;MAiBa,kBAAkB,CAAA;AAX/B,IAAA,WAAA,GAAA;AA8BE;;;;AAIG;QACwB,IAAW,CAAA,WAAA,GAAG,EAAE;AACjC,QAAA,IAAA,CAAA,WAAW,GAAG,IA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EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EACpB,gBAAgB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,UAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,4BAAA,EAAA,oBAAA,EAAA,qBAAA,EAAA,qBAAA,EAAA,yBAAA,EAAA,YAAA,EAAA,iBAAA,CAAA,EAAA,QAAA,EAAA,CAAA,YAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAKX,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAX9B,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,EAChB,OAAA,EAAA;wBACL,sBAAsB;wBACtB,qBAAqB;wBACrB,oBAAoB;wBACpB;AACH,qBAAA,EAAA,QAAA,EAAA,ikBAAA,EAAA,MAAA,EAAA,CAAA,mjNAAA,CAAA,EAAA;8BAUwB,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAME,WAAW,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAME,KAAK,EAAA,CAAA;sBAA/B,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAME,WAAW,EAAA,CAAA;sBAArC,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE;gBACf,WAAW,EAAA,CAAA;sBAApB;;;AE1CH;;AAEG;;;;"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Inject, Component } from '@angular/core';
|
|
3
|
+
import * as i3 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i1 from '@angular/material/dialog';
|
|
6
|
+
import { MAT_DIALOG_DATA, MatDialogModule } from '@angular/material/dialog';
|
|
7
|
+
import * as i4 from '@testgorilla/tgo-ui/components/button';
|
|
8
|
+
import { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';
|
|
9
|
+
import * as i5 from '@testgorilla/tgo-ui/components/dialog';
|
|
10
|
+
import { DialogComponentModule } from '@testgorilla/tgo-ui/components/dialog';
|
|
11
|
+
import * as i6 from '@testgorilla/tgo-ui/components/progress-bar';
|
|
12
|
+
import { ProgressBarComponentModule } from '@testgorilla/tgo-ui/components/progress-bar';
|
|
13
|
+
import * as i2 from '@angular/platform-browser';
|
|
14
|
+
|
|
15
|
+
class MediaDialogComponent {
|
|
16
|
+
constructor(dialogRef, data, domSanitizer) {
|
|
17
|
+
this.dialogRef = dialogRef;
|
|
18
|
+
this.data = data;
|
|
19
|
+
this.domSanitizer = domSanitizer;
|
|
20
|
+
this.primaryButtonDataTestId = 'media-dialog.confirm-button';
|
|
21
|
+
this.secondaryButtonDataTestId = 'media-dialog.cancel-button';
|
|
22
|
+
this.backButtonDataTestId = 'media-dialog.back-button';
|
|
23
|
+
this.currentStepIndex = 0;
|
|
24
|
+
this.steps = [];
|
|
25
|
+
this.steps = data.steps ?? [];
|
|
26
|
+
if (this.steps.length < 1) {
|
|
27
|
+
this.dialogRef.close();
|
|
28
|
+
throw new Error('MediaDialogComponent: steps must contain at least one step.');
|
|
29
|
+
}
|
|
30
|
+
this.setStep(0);
|
|
31
|
+
}
|
|
32
|
+
setStep(index) {
|
|
33
|
+
const step = this.steps[index];
|
|
34
|
+
this.currentStepIndex = index;
|
|
35
|
+
this.title = step.title;
|
|
36
|
+
this.subheader = step.subheader;
|
|
37
|
+
this.body = this.domSanitizer.bypassSecurityTrustHtml(step.body ?? '');
|
|
38
|
+
this.mediaContainer = step.mediaContainer;
|
|
39
|
+
this.primaryButtonLabel = step?.primaryButtonLabel;
|
|
40
|
+
this.secondaryButtonLabel = step?.secondaryButtonLabel;
|
|
41
|
+
this.backButtonLabel = step?.backButtonLabel;
|
|
42
|
+
this.primaryButtonDataTestId = step?.primaryButtonDataTestId ?? 'media-dialog.confirm-button';
|
|
43
|
+
this.secondaryButtonDataTestId = step?.secondaryButtonDataTestId ?? 'media-dialog.cancel-button';
|
|
44
|
+
this.backButtonDataTestId = step?.backButtonDataTestId ?? 'media-dialog.back-button';
|
|
45
|
+
}
|
|
46
|
+
onPrimaryButtonClick() {
|
|
47
|
+
const isLastStep = this.currentStepIndex === this.steps.length - 1;
|
|
48
|
+
if (isLastStep) {
|
|
49
|
+
this.dialogRef.close(true);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
this.setStep(this.currentStepIndex + 1);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
onBackButtonClick() {
|
|
56
|
+
if (this.currentStepIndex > 0) {
|
|
57
|
+
this.setStep(this.currentStepIndex - 1);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
onSecondaryButtonClick() {
|
|
61
|
+
this.dialogRef.close(false);
|
|
62
|
+
}
|
|
63
|
+
dismiss() {
|
|
64
|
+
this.dialogRef.close(null);
|
|
65
|
+
}
|
|
66
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MediaDialogComponent, deps: [{ token: i1.MatDialogRef }, { token: MAT_DIALOG_DATA }, { token: i2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
67
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.18", type: MediaDialogComponent, isStandalone: true, selector: "ui-media-dialog", ngImport: i0, template: "<ng-container>\n @if (steps && steps.length > 1) {\n <ui-progress-bar [progress]=\"(currentStepIndex + 1) * (100 / steps.length)\"></ui-progress-bar>\n }\n\n <ui-dialog\n [title]=\"title\"\n (closeEvent)=\"dialogRef.close(null)\"\n [showCloseButton]=\"true\"\n >\n @if (mediaContainer) {\n <div class=\"media-container\">\n <ng-container [ngTemplateOutlet]=\"mediaContainer\"></ng-container>\n </div>\n }\n\n @if (subheader) {\n <h4 class=\"subheader\">{{ subheader }}</h4>\n }\n\n @if (body) {\n <div [innerHTML]=\"body\"></div>\n }\n\n <div mat-dialog-actions class=\"footer\">\n <div>\n @if (backButtonLabel && currentStepIndex > 0) {\n <ui-button\n variant=\"text-inline\"\n size=\"medium\"\n [label]=\"backButtonLabel\"\n [attr.data-testid]=\"backButtonDataTestId\"\n (click)=\"onBackButtonClick()\"\n ></ui-button>\n }\n </div>\n\n <div class=\"action-buttons\">\n @if (secondaryButtonLabel) {\n <ui-button\n variant=\"ghost\"\n [label]=\"secondaryButtonLabel\"\n [attr.data-testid]=\"secondaryButtonDataTestId\"\n (click)=\"onSecondaryButtonClick()\"\n ></ui-button>\n }\n @if (primaryButtonLabel) {\n <ui-button\n variant=\"primary\"\n [label]=\"primaryButtonLabel\"\n [attr.data-testid]=\"primaryButtonDataTestId\"\n (click)=\"onPrimaryButtonClick()\"\n ></ui-button>\n }\n </div>\n </div>\n </ui-dialog>\n</ng-container>\n", styles: ["::ng-deep .ui-dialog-wrapper{max-width:600px!important}ui-progress-bar{position:absolute;top:0;left:0;width:100%}.media-container{width:536px;height:302px;border-radius:10px;margin-bottom:16px;overflow:hidden}.subheader{margin:0 0 8px!important}.footer{display:flex;justify-content:space-between;align-items:center}.footer .action-buttons{display:flex;gap:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "ngmodule", type: ButtonComponentModule }, { kind: "component", type: i4.ButtonComponent, selector: "ui-button", inputs: ["size", "variant", "label", "iconPosition", "justIcon", "iconName", "disabled", "loading", "fullWidth", "url", "urlTarget", "value", "tooltip", "isPremium", "type", "companyColor", "buttonBadgeConfig", "applicationTheme", "disabledScaleOnClick", "ariaLabel", "ariaRequired", "ariaLabelledby", "ariaDescribedby", "preventDefault", "hasBackground", "tooltipPosition", "role", "iconFilled"], outputs: ["buttonClickEvent", "buttonHoverEvent"] }, { kind: "ngmodule", type: DialogComponentModule }, { kind: "component", type: i5.DialogComponent, selector: "ui-dialog", inputs: ["title", "showCloseButton", "canCloseFn", "secondaryButtonLabel", "footerMessage", "primaryButtonLabel", "primaryButtonIconName", "secondaryButtonType", "primaryButtonType", "primaryButtonDataTestId", "secondaryButtonDataTestId", "companyColor", "applicationTheme", "disablePrimaryButton", "disableClose", "shouldDisableButtons", "ariaLabelledby", "ariaDescribedby", "keyboardOpen", "primaryButtonIconPosition"], outputs: ["closeEvent", "secondaryButtonClickEvent", "primaryButtonClickEvent"] }, { kind: "ngmodule", type: ProgressBarComponentModule }, { kind: "component", type: i6.ProgressBarComponent, selector: "ui-progress-bar", inputs: ["companyColor", "progress", "mode", "buffer", "applicationTheme", "ariaLabel", "ariaDescribedBy", "showPercentage"] }] }); }
|
|
68
|
+
}
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: MediaDialogComponent, decorators: [{
|
|
70
|
+
type: Component,
|
|
71
|
+
args: [{ selector: 'ui-media-dialog', imports: [CommonModule, MatDialogModule, ButtonComponentModule, DialogComponentModule, ProgressBarComponentModule], template: "<ng-container>\n @if (steps && steps.length > 1) {\n <ui-progress-bar [progress]=\"(currentStepIndex + 1) * (100 / steps.length)\"></ui-progress-bar>\n }\n\n <ui-dialog\n [title]=\"title\"\n (closeEvent)=\"dialogRef.close(null)\"\n [showCloseButton]=\"true\"\n >\n @if (mediaContainer) {\n <div class=\"media-container\">\n <ng-container [ngTemplateOutlet]=\"mediaContainer\"></ng-container>\n </div>\n }\n\n @if (subheader) {\n <h4 class=\"subheader\">{{ subheader }}</h4>\n }\n\n @if (body) {\n <div [innerHTML]=\"body\"></div>\n }\n\n <div mat-dialog-actions class=\"footer\">\n <div>\n @if (backButtonLabel && currentStepIndex > 0) {\n <ui-button\n variant=\"text-inline\"\n size=\"medium\"\n [label]=\"backButtonLabel\"\n [attr.data-testid]=\"backButtonDataTestId\"\n (click)=\"onBackButtonClick()\"\n ></ui-button>\n }\n </div>\n\n <div class=\"action-buttons\">\n @if (secondaryButtonLabel) {\n <ui-button\n variant=\"ghost\"\n [label]=\"secondaryButtonLabel\"\n [attr.data-testid]=\"secondaryButtonDataTestId\"\n (click)=\"onSecondaryButtonClick()\"\n ></ui-button>\n }\n @if (primaryButtonLabel) {\n <ui-button\n variant=\"primary\"\n [label]=\"primaryButtonLabel\"\n [attr.data-testid]=\"primaryButtonDataTestId\"\n (click)=\"onPrimaryButtonClick()\"\n ></ui-button>\n }\n </div>\n </div>\n </ui-dialog>\n</ng-container>\n", styles: ["::ng-deep .ui-dialog-wrapper{max-width:600px!important}ui-progress-bar{position:absolute;top:0;left:0;width:100%}.media-container{width:536px;height:302px;border-radius:10px;margin-bottom:16px;overflow:hidden}.subheader{margin:0 0 8px!important}.footer{display:flex;justify-content:space-between;align-items:center}.footer .action-buttons{display:flex;gap:8px}\n"] }]
|
|
72
|
+
}], ctorParameters: () => [{ type: i1.MatDialogRef }, { type: undefined, decorators: [{
|
|
73
|
+
type: Inject,
|
|
74
|
+
args: [MAT_DIALOG_DATA]
|
|
75
|
+
}] }, { type: i2.DomSanitizer }] });
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Generated bundle index. Do not edit.
|
|
79
|
+
*/
|
|
80
|
+
|
|
81
|
+
export { MediaDialogComponent };
|
|
82
|
+
//# sourceMappingURL=testgorilla-tgo-ui-components-media-dialog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testgorilla-tgo-ui-components-media-dialog.mjs","sources":["../../../components/media-dialog/media-dialog.component.ts","../../../components/media-dialog/media-dialog.component.html","../../../components/media-dialog/testgorilla-tgo-ui-components-media-dialog.ts"],"sourcesContent":["import { Component, Inject, TemplateRef } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { MatDialogModule, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { ButtonComponentModule } from '@testgorilla/tgo-ui/components/button';\nimport { DialogComponentModule } from '@testgorilla/tgo-ui/components/dialog';\nimport { MediaDialogData, MediaDialogStep } from './media-dialog.model';\nimport { ProgressBarComponentModule } from '@testgorilla/tgo-ui/components/progress-bar';\n\n@Component({\n selector: 'ui-media-dialog',\n templateUrl: './media-dialog.component.html',\n styleUrls: ['./media-dialog.component.scss'],\n imports: [CommonModule, MatDialogModule, ButtonComponentModule, DialogComponentModule, ProgressBarComponentModule]\n})\nexport class MediaDialogComponent {\n primaryButtonLabel: string | undefined;\n secondaryButtonLabel: string | undefined;\n backButtonLabel: string | undefined;\n title: string | undefined;\n primaryButtonDataTestId = 'media-dialog.confirm-button';\n secondaryButtonDataTestId = 'media-dialog.cancel-button';\n backButtonDataTestId = 'media-dialog.back-button';\n\n mediaContainer: TemplateRef<any>;\n subheader: string | undefined;\n body: SafeHtml;\n\n currentStepIndex = 0;\n steps: MediaDialogStep[] = [];\n\n constructor(\n public dialogRef: MatDialogRef<MediaDialogComponent>,\n @Inject(MAT_DIALOG_DATA) private data: MediaDialogData,\n protected domSanitizer: DomSanitizer\n ) {\n this.steps = data.steps ?? [];\n if (this.steps.length < 1) {\n this.dialogRef.close();\n throw new Error('MediaDialogComponent: steps must contain at least one step.');\n }\n this.setStep(0);\n }\n\n private setStep(index: number): void {\n const step = this.steps[index];\n this.currentStepIndex = index;\n this.title = step.title;\n this.subheader = step.subheader;\n this.body = this.domSanitizer.bypassSecurityTrustHtml(step.body ?? '');\n this.mediaContainer = step.mediaContainer;\n this.primaryButtonLabel = step?.primaryButtonLabel;\n this.secondaryButtonLabel = step?.secondaryButtonLabel;\n this.backButtonLabel = step?.backButtonLabel;\n this.primaryButtonDataTestId = step?.primaryButtonDataTestId ?? 'media-dialog.confirm-button';\n this.secondaryButtonDataTestId = step?.secondaryButtonDataTestId ?? 'media-dialog.cancel-button';\n this.backButtonDataTestId = step?.backButtonDataTestId ?? 'media-dialog.back-button';\n }\n\n onPrimaryButtonClick(): void {\n const isLastStep = this.currentStepIndex === this.steps.length - 1;\n\n if (isLastStep) {\n this.dialogRef.close(true);\n } else {\n this.setStep(this.currentStepIndex + 1);\n }\n }\n\n onBackButtonClick(): void {\n if (this.currentStepIndex > 0) {\n this.setStep(this.currentStepIndex - 1);\n }\n }\n\n onSecondaryButtonClick(): void {\n this.dialogRef.close(false);\n }\n\n dismiss(): void {\n this.dialogRef.close(null);\n }\n}\n","<ng-container>\n @if (steps && steps.length > 1) {\n <ui-progress-bar [progress]=\"(currentStepIndex + 1) * (100 / steps.length)\"></ui-progress-bar>\n }\n\n <ui-dialog\n [title]=\"title\"\n (closeEvent)=\"dialogRef.close(null)\"\n [showCloseButton]=\"true\"\n >\n @if (mediaContainer) {\n <div class=\"media-container\">\n <ng-container [ngTemplateOutlet]=\"mediaContainer\"></ng-container>\n </div>\n }\n\n @if (subheader) {\n <h4 class=\"subheader\">{{ subheader }}</h4>\n }\n\n @if (body) {\n <div [innerHTML]=\"body\"></div>\n }\n\n <div mat-dialog-actions class=\"footer\">\n <div>\n @if (backButtonLabel && currentStepIndex > 0) {\n <ui-button\n variant=\"text-inline\"\n size=\"medium\"\n [label]=\"backButtonLabel\"\n [attr.data-testid]=\"backButtonDataTestId\"\n (click)=\"onBackButtonClick()\"\n ></ui-button>\n }\n </div>\n\n <div class=\"action-buttons\">\n @if (secondaryButtonLabel) {\n <ui-button\n variant=\"ghost\"\n [label]=\"secondaryButtonLabel\"\n [attr.data-testid]=\"secondaryButtonDataTestId\"\n (click)=\"onSecondaryButtonClick()\"\n ></ui-button>\n }\n @if (primaryButtonLabel) {\n <ui-button\n variant=\"primary\"\n [label]=\"primaryButtonLabel\"\n [attr.data-testid]=\"primaryButtonDataTestId\"\n (click)=\"onPrimaryButtonClick()\"\n ></ui-button>\n }\n </div>\n </div>\n </ui-dialog>\n</ng-container>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAea,oBAAoB,CAAA;AAgB/B,IAAA,WAAA,CACS,SAA6C,EACnB,IAAqB,EAC5C,YAA0B,EAAA;QAF7B,IAAS,CAAA,SAAA,GAAT,SAAS;QACiB,IAAI,CAAA,IAAA,GAAJ,IAAI;QAC3B,IAAY,CAAA,YAAA,GAAZ,YAAY;QAdxB,IAAuB,CAAA,uBAAA,GAAG,6BAA6B;QACvD,IAAyB,CAAA,yBAAA,GAAG,4BAA4B;QACxD,IAAoB,CAAA,oBAAA,GAAG,0BAA0B;QAMjD,IAAgB,CAAA,gBAAA,GAAG,CAAC;QACpB,IAAK,CAAA,KAAA,GAAsB,EAAE;QAO3B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,IAAI,EAAE;QAC7B,IAAI,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;AACzB,YAAA,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE;AACtB,YAAA,MAAM,IAAI,KAAK,CAAC,6DAA6D,CAAC;;AAEhF,QAAA,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;;AAGT,IAAA,OAAO,CAAC,KAAa,EAAA;QAC3B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;AAC9B,QAAA,IAAI,CAAC,gBAAgB,GAAG,KAAK;AAC7B,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK;AACvB,QAAA,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS;AAC/B,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,uBAAuB,CAAC,IAAI,CAAC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