@testgorilla/tgo-ui 7.0.0-beta.0 → 7.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 +100 -0
- package/components/accordion/accordion.component.module.d.ts +12 -0
- package/components/accordion/accordion.model.d.ts +2 -0
- package/components/accordion/index.d.ts +5 -118
- package/components/accordion/public-api.d.ts +4 -0
- package/components/ai-audio-circle/ai-audio-circle.component.d.ts +60 -0
- package/components/ai-audio-circle/ai-audio-circle.module.d.ts +8 -0
- package/components/ai-audio-circle/index.d.ts +5 -70
- package/components/ai-audio-circle/public-api.d.ts +2 -0
- package/components/ai-caveat/ai-caveat.component.d.ts +36 -0
- package/components/ai-caveat/ai-caveat.component.module.d.ts +10 -0
- package/components/ai-caveat/index.d.ts +3 -47
- package/components/ai-caveat/public-api.d.ts +3 -0
- package/components/ai-feedback/ai-feedback.component.d.ts +52 -0
- package/components/ai-feedback/ai-feedback.model.d.ts +19 -0
- package/components/ai-feedback/ai-feedback.module.d.ts +16 -0
- package/components/ai-feedback/index.d.ts +5 -92
- package/components/ai-feedback/public-api.d.ts +4 -0
- package/components/alert-banner/alert-banner.component.d.ts +144 -0
- package/components/alert-banner/alert-banner.component.module.d.ts +12 -0
- package/components/alert-banner/alert-banner.model.d.ts +6 -0
- package/components/alert-banner/index.d.ts +5 -165
- package/components/alert-banner/public-api.d.ts +4 -0
- package/components/audio-waveform/audio-waveform.component.d.ts +32 -0
- package/components/audio-waveform/audio-waveform.model.d.ts +8 -0
- package/components/audio-waveform/audio-waveform.module.d.ts +7 -0
- package/components/audio-waveform/audio-waveform.service.d.ts +21 -0
- package/components/audio-waveform/index.d.ts +5 -71
- package/components/audio-waveform/public-api.d.ts +4 -0
- package/components/autocomplete/autocomplete.component.d.ts +324 -0
- package/components/autocomplete/autocomplete.component.module.d.ts +23 -0
- package/components/autocomplete/autocomplete.model.d.ts +23 -0
- package/components/autocomplete/includes.pipe.d.ts +12 -0
- package/components/autocomplete/index.d.ts +3 -414
- package/components/autocomplete/prevent-input.directive.d.ts +7 -0
- package/components/autocomplete/public-api.d.ts +4 -0
- package/components/autocomplete/select-text.directive.d.ts +19 -0
- package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
- package/components/avatar/avatar.component.d.ts +67 -0
- package/components/avatar/avatar.component.module.d.ts +13 -0
- package/components/avatar/avatar.model.d.ts +18 -0
- package/components/avatar/index.d.ts +5 -107
- package/components/avatar/name-initials.pipe.d.ts +7 -0
- package/components/avatar/public-api.d.ts +4 -0
- package/components/badge/badge.component.d.ts +73 -0
- package/components/badge/badge.component.module.d.ts +10 -0
- package/components/badge/badge.model.d.ts +38 -0
- package/components/badge/index.d.ts +5 -125
- package/components/badge/public-api.d.ts +4 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +40 -0
- package/components/breadcrumb/breadcrumb.component.module.d.ts +14 -0
- package/components/breadcrumb/breadcrumb.model.d.ts +5 -0
- package/components/breadcrumb/index.d.ts +5 -62
- package/components/breadcrumb/public-api.d.ts +4 -0
- package/components/button/button.component.d.ts +238 -0
- package/components/button/button.component.module.d.ts +15 -0
- package/components/button/button.model.d.ts +14 -0
- package/components/button/color-contrast.d.ts +28 -0
- package/components/button/index.d.ts +3 -298
- package/components/button/public-api.d.ts +5 -0
- package/components/card/card.component.d.ts +87 -0
- package/components/card/card.component.module.d.ts +9 -0
- package/components/card/card.model.d.ts +3 -0
- package/components/card/index.d.ts +5 -103
- package/components/card/public-api.d.ts +4 -0
- package/components/checkbox/checkbox.component.d.ts +193 -0
- package/components/checkbox/checkbox.component.module.d.ts +16 -0
- package/components/checkbox/focus-visible.directive.d.ts +12 -0
- package/components/checkbox/index.d.ts +5 -221
- package/components/checkbox/public-api.d.ts +4 -0
- package/components/checklist/checklist.component.d.ts +82 -0
- package/components/checklist/checklist.model.d.ts +9 -0
- package/components/checklist/index.d.ts +5 -97
- package/components/checklist/public-api.d.ts +3 -0
- package/components/core/alert-bar.model.d.ts +2 -0
- package/components/core/alert-bars.utils.d.ts +6 -0
- package/components/core/application-theme.model.d.ts +7 -0
- package/components/core/autocomplete-utils.d.ts +12 -0
- package/components/core/checkbox.model.d.ts +1 -0
- package/components/core/color-contrast.d.ts +28 -0
- package/components/core/colors.model.d.ts +63 -0
- package/components/core/data-property-getter.pipe.d.ts +8 -0
- package/components/core/digits-only.directive.d.ts +17 -0
- package/components/core/dynamic-component.directive.d.ts +20 -0
- package/components/core/ellipse-text.directive.d.ts +20 -0
- package/components/core/has-validation-error.pipe.d.ts +15 -0
- package/components/core/hex-to-rgb.d.ts +1 -0
- package/components/core/index.d.ts +3 -346
- package/components/core/is-large-tablet.d.ts +2 -0
- package/components/core/is-mobile.d.ts +2 -0
- package/components/core/keyboard-events.model.d.ts +11 -0
- package/components/core/language.model.d.ts +14 -0
- package/components/core/language.service.d.ts +20 -0
- package/components/core/link-target.model.d.ts +1 -0
- package/components/core/memoize-func.pipe.d.ts +26 -0
- package/components/core/public-api.d.ts +25 -0
- package/components/core/screen-breakpoints.model.d.ts +5 -0
- package/components/core/select-text.directive.d.ts +19 -0
- package/components/core/truncate.pipe.d.ts +7 -0
- package/components/core/ui-ordinal-suffix.pipe.d.ts +7 -0
- package/components/core/ui-translate.pipe.d.ts +32 -0
- package/components/datepicker/date-adapter.d.ts +34 -0
- package/components/datepicker/datepicker.component.d.ts +235 -0
- package/components/datepicker/datepicker.component.module.d.ts +17 -0
- package/components/datepicker/datepicker.service.d.ts +8 -0
- package/components/datepicker/index.d.ts +5 -305
- package/components/datepicker/no-date-format.directive.d.ts +11 -0
- package/components/datepicker/public-api.d.ts +6 -0
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +34 -0
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
- package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +38 -0
- package/components/dialog/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
- package/components/dialog/confirm-dialog/confirm-dialog.model.d.ts +47 -0
- 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 +163 -0
- package/components/dialog/dialog.component.module.d.ts +11 -0
- package/components/dialog/dialog.model.d.ts +12 -0
- package/components/dialog/dialog.service.d.ts +14 -0
- package/components/dialog/index.d.ts +5 -308
- package/components/dialog/public-api.d.ts +10 -0
- package/components/divider/divider.component.d.ts +39 -0
- package/components/divider/divider.component.module.d.ts +9 -0
- package/components/divider/divider.model.d.ts +1 -0
- package/components/divider/index.d.ts +5 -53
- package/components/divider/public-api.d.ts +4 -0
- package/components/donut-chart/donut-chart.component.d.ts +22 -0
- package/components/donut-chart/donut-chart.component.model.d.ts +6 -0
- package/components/donut-chart/donut-chart.component.module.d.ts +8 -0
- package/components/donut-chart/index.d.ts +5 -39
- package/components/donut-chart/public-api.d.ts +3 -0
- package/components/dropdown/dropdown.component.d.ts +214 -0
- package/components/dropdown/dropdown.component.module.d.ts +16 -0
- package/components/dropdown/dropdown.model.d.ts +6 -0
- package/components/dropdown/index.d.ts +5 -240
- package/components/dropdown/public-api.d.ts +4 -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/elevation-shadow/index.d.ts +5 -45
- package/components/elevation-shadow/public-api.d.ts +3 -0
- package/components/empty-state/empty-state.component.d.ts +199 -0
- package/components/empty-state/empty-state.component.module.d.ts +11 -0
- package/components/empty-state/empty-state.model.d.ts +3 -0
- package/components/empty-state/index.d.ts +5 -217
- package/components/empty-state/public-api.d.ts +4 -0
- package/components/field/field.component.d.ts +376 -0
- package/components/field/field.component.module.d.ts +17 -0
- package/components/field/field.model.d.ts +1 -0
- package/components/field/index.d.ts +3 -396
- package/components/field/public-api.d.ts +4 -0
- package/components/file-upload/drag-drop.directive.d.ts +12 -0
- package/components/file-upload/file-upload.component.d.ts +142 -0
- package/components/file-upload/file-upload.component.module.d.ts +14 -0
- package/components/file-upload/index.d.ts +5 -169
- package/components/file-upload/public-api.d.ts +3 -0
- package/components/filter-button/filter-button.component.d.ts +140 -0
- package/components/filter-button/filter-button.component.module.d.ts +17 -0
- package/components/filter-button/filter-button.model.d.ts +13 -0
- package/components/filter-button/index.d.ts +5 -173
- package/components/filter-button/public-api.d.ts +4 -0
- package/components/gaussian-chart/gaussian-chart.component.d.ts +82 -0
- package/components/gaussian-chart/gaussian-chart.module.d.ts +12 -0
- package/components/gaussian-chart/index.d.ts +5 -96
- package/components/gaussian-chart/public-api.d.ts +2 -0
- package/components/icon/icon-svg-content.d.ts +16 -0
- package/components/icon/icon.component.d.ts +72 -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/icons.service.d.ts +8 -0
- package/components/icon/index.d.ts +5 -109
- package/components/icon/public-api.d.ts +6 -0
- package/components/icon-label/icon-label.component.d.ts +51 -0
- package/components/icon-label/icon-label.component.module.d.ts +9 -0
- package/components/icon-label/index.d.ts +5 -62
- package/components/icon-label/public-api.d.ts +2 -0
- package/components/inline-field/index.d.ts +3 -273
- package/components/inline-field/inline-field.component.d.ts +153 -0
- package/components/inline-field/inline-field.component.module.d.ts +13 -0
- package/components/inline-field/inline-field.model.d.ts +107 -0
- package/components/inline-field/public-api.d.ts +4 -0
- package/components/logo/index.d.ts +5 -106
- package/components/logo/logo.component.d.ts +66 -0
- package/components/logo/logo.component.module.d.ts +8 -0
- package/components/logo/logo.model.d.ts +29 -0
- package/components/logo/public-api.d.ts +4 -0
- package/components/media-card/index.d.ts +5 -35
- package/components/media-card/media-card.component.d.ts +32 -0
- package/components/media-card/public-api.d.ts +1 -0
- package/components/media-dialog/index.d.ts +5 -47
- package/components/media-dialog/media-dialog.component.d.ts +28 -0
- package/components/media-dialog/media-dialog.model.d.ts +16 -0
- package/components/media-dialog/public-api.d.ts +2 -0
- package/components/multi-input/index.d.ts +5 -185
- package/components/multi-input/multi-input.component.d.ts +158 -0
- package/components/multi-input/multi-input.component.module.d.ts +17 -0
- package/components/multi-input/multi-input.model.d.ts +4 -0
- package/components/multi-input/public-api.d.ts +5 -0
- package/components/multi-input/required-multi-input.validator.d.ts +3 -0
- package/components/navbar/index.d.ts +5 -203
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +28 -0
- package/components/navbar/navbar.component.d.ts +133 -0
- package/components/navbar/navbar.component.module.d.ts +21 -0
- package/components/navbar/navbar.model.d.ts +21 -0
- package/components/navbar/public-api.d.ts +5 -0
- package/components/overflow-menu/index.d.ts +5 -163
- package/components/overflow-menu/overflow-menu.component.d.ts +117 -0
- package/components/overflow-menu/overflow-menu.component.module.d.ts +14 -0
- package/components/overflow-menu/overflow-menu.model.d.ts +32 -0
- package/components/overflow-menu/public-api.d.ts +4 -0
- package/components/page-header/index.d.ts +5 -51
- package/components/page-header/page-header.component.d.ts +38 -0
- package/components/page-header/page-header.component.module.d.ts +10 -0
- package/components/page-header/public-api.d.ts +3 -0
- package/components/paginator/index.d.ts +5 -70
- package/components/paginator/paginator.component.d.ts +58 -0
- package/components/paginator/paginator.component.module.d.ts +9 -0
- package/components/paginator/public-api.d.ts +3 -0
- package/components/password-criteria/index.d.ts +5 -60
- package/components/password-criteria/password.component.d.ts +44 -0
- package/components/password-criteria/password.component.module.d.ts +13 -0
- package/components/password-criteria/public-api.d.ts +3 -0
- package/components/password-strength/index.d.ts +5 -59
- package/components/password-strength/password-strength.component.d.ts +45 -0
- package/components/password-strength/password-strength.component.module.d.ts +11 -0
- package/components/password-strength/public-api.d.ts +3 -0
- package/components/phone-input/index.d.ts +3 -179
- package/components/phone-input/join-strings.pipe.d.ts +7 -0
- package/components/phone-input/phone-input.component.d.ts +145 -0
- package/components/phone-input/phone-input.component.module.d.ts +19 -0
- package/components/phone-input/phone-input.model.d.ts +8 -0
- package/components/phone-input/public-api.d.ts +5 -0
- package/components/popover/index.d.ts +5 -34
- package/components/popover/popover.component.d.ts +9 -0
- package/components/popover/popover.directive.d.ts +31 -0
- package/components/popover/public-api.d.ts +1 -0
- package/components/progress-bar/index.d.ts +5 -86
- package/components/progress-bar/progress-bar.component.d.ts +73 -0
- package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
- package/components/progress-bar/public-api.d.ts +3 -0
- package/components/prompt/index.d.ts +5 -95
- package/components/prompt/prompt.component.d.ts +62 -0
- package/components/prompt/prompt.model.d.ts +9 -0
- package/components/prompt/prompt.module.d.ts +20 -0
- package/components/prompt/public-api.d.ts +4 -0
- package/components/radial-progress/index.d.ts +5 -99
- package/components/radial-progress/public-api.d.ts +4 -0
- package/components/radial-progress/radial-progress.component.d.ts +75 -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/index.d.ts +5 -211
- package/components/radio-button/public-api.d.ts +4 -0
- package/components/radio-button/radio-button.component.d.ts +189 -0
- package/components/radio-button/radio-button.component.module.d.ts +15 -0
- package/components/radio-button/radio-button.model.d.ts +4 -0
- package/components/rating/half-star.pipe.d.ts +14 -0
- package/components/rating/index.d.ts +5 -97
- package/components/rating/public-api.d.ts +3 -0
- package/components/rating/rating.component.d.ts +71 -0
- package/components/rating/rating.component.module.d.ts +10 -0
- package/components/scale/index.d.ts +5 -65
- package/components/scale/public-api.d.ts +3 -0
- package/components/scale/scale.component.d.ts +54 -0
- package/components/scale/scale.component.module.d.ts +8 -0
- package/components/scale-table/index.d.ts +5 -49
- package/components/scale-table/public-api.d.ts +3 -0
- package/components/scale-table/scale-table.component.d.ts +39 -0
- package/components/scale-table/scale-table.model.d.ts +5 -0
- package/components/segmented-bar/index.d.ts +5 -92
- package/components/segmented-bar/public-api.d.ts +4 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +64 -0
- package/components/segmented-bar/segmented-bar.component.module.d.ts +12 -0
- package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
- package/components/segmented-button/index.d.ts +5 -77
- package/components/segmented-button/public-api.d.ts +4 -0
- package/components/segmented-button/segmented-button.component.d.ts +55 -0
- package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
- package/components/segmented-button/segmented-button.model.d.ts +8 -0
- package/components/selectable-card/index.d.ts +5 -50
- package/components/selectable-card/public-api.d.ts +2 -0
- package/components/selectable-card/selectable-card.component.d.ts +38 -0
- package/components/selectable-card/selectable-card.component.module.d.ts +10 -0
- package/components/side-panel/index.d.ts +3 -97
- package/components/side-panel/public-api.d.ts +5 -0
- package/components/side-panel/side-panel-data-injection-token.d.ts +2 -0
- package/components/side-panel/side-panel.animations.d.ts +3 -0
- package/components/side-panel/side-panel.component.d.ts +22 -0
- package/components/side-panel/side-panel.model.d.ts +46 -0
- package/components/side-panel/side-panel.service.d.ts +22 -0
- package/components/side-sheet/index.d.ts +5 -81
- package/components/side-sheet/public-api.d.ts +4 -0
- package/components/side-sheet/side-sheet.component.d.ts +43 -0
- package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
- package/components/side-sheet/side-sheet.model.d.ts +10 -0
- package/components/side-sheet/side-sheet.service.d.ts +14 -0
- package/components/skeleton/index.d.ts +5 -34
- package/components/skeleton/public-api.d.ts +3 -0
- package/components/skeleton/skeleton.component.d.ts +27 -0
- package/components/skeleton/skeleton.model.d.ts +2 -0
- package/components/slider/index.d.ts +5 -144
- package/components/slider/public-api.d.ts +4 -0
- package/components/slider/slider.component.d.ts +128 -0
- package/components/slider/slider.component.module.d.ts +7 -0
- package/components/slider/slider.model.d.ts +5 -0
- package/components/snackbar/index.d.ts +5 -162
- package/components/snackbar/public-api.d.ts +5 -0
- package/components/snackbar/snackbar.component.d.ts +126 -0
- package/components/snackbar/snackbar.component.module.d.ts +13 -0
- package/components/snackbar/snackbar.model.d.ts +7 -0
- package/components/snackbar/snackbar.service.d.ts +16 -0
- package/components/spider-chart/index.d.ts +5 -127
- package/components/spider-chart/public-api.d.ts +3 -0
- package/components/spider-chart/spider-chart.component.d.ts +90 -0
- package/components/spider-chart/spider-chart.model.d.ts +12 -0
- package/components/spider-chart/spider-chart.module.d.ts +12 -0
- package/components/spinner/index.d.ts +5 -74
- package/components/spinner/public-api.d.ts +4 -0
- package/components/spinner/spinner.component.d.ts +59 -0
- package/components/spinner/spinner.model.d.ts +1 -0
- package/components/spinner/spinner.module.d.ts +10 -0
- package/components/stepper/index.d.ts +3 -341
- package/components/stepper/public-api.d.ts +7 -0
- package/components/stepper/step-line-element.directive.d.ts +17 -0
- package/components/stepper/step.component.d.ts +184 -0
- package/components/stepper/step.component.module.d.ts +11 -0
- package/components/stepper/stepper.component.d.ts +102 -0
- package/components/stepper/stepper.component.module.d.ts +15 -0
- package/components/stepper/stepper.model.d.ts +23 -0
- package/components/table/index.d.ts +3 -251
- package/components/table/public-api.d.ts +6 -0
- package/components/table/sentence-case.pipe.d.ts +7 -0
- package/components/table/table.component.d.ts +117 -0
- package/components/table/table.component.module.d.ts +17 -0
- package/components/table/table.model.d.ts +104 -0
- package/components/table/table.utils.d.ts +6 -0
- package/components/tabs/index.d.ts +5 -145
- package/components/tabs/public-api.d.ts +5 -0
- package/components/tabs/tab.directive.d.ts +28 -0
- package/components/tabs/tabs.component.d.ts +79 -0
- package/components/tabs/tabs.component.module.d.ts +13 -0
- package/components/tabs/tabs.model.d.ts +26 -0
- package/components/tag/index.d.ts +5 -166
- package/components/tag/public-api.d.ts +4 -0
- package/components/tag/tag.component.d.ts +145 -0
- package/components/tag/tag.component.module.d.ts +14 -0
- package/components/tag/tag.model.d.ts +1 -0
- package/components/toggle/index.d.ts +5 -130
- package/components/toggle/public-api.d.ts +3 -0
- package/components/toggle/toggle.component.d.ts +113 -0
- package/components/toggle/toggle.component.module.d.ts +13 -0
- package/components/toggle/toggle.model.d.ts +1 -0
- package/components/tooltip/index.d.ts +5 -111
- package/components/tooltip/public-api.d.ts +5 -0
- package/components/tooltip/tooltip-template.directive.d.ts +27 -0
- package/components/tooltip/tooltip.component.d.ts +64 -0
- package/components/tooltip/tooltip.component.module.d.ts +11 -0
- package/components/tooltip/tooltip.model.d.ts +8 -0
- package/components/universal-skills/index.d.ts +5 -153
- package/components/universal-skills/public-api.d.ts +6 -0
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.d.ts +14 -0
- package/components/universal-skills/universal-skills-report.component.d.ts +33 -0
- package/components/universal-skills/universal-skills-report.component.module.d.ts +12 -0
- package/components/universal-skills/universal-skills-report.model.d.ts +44 -0
- package/components/universal-skills/universal-skills.service.d.ts +13 -0
- package/components/validation-error/index.d.ts +5 -36
- package/components/validation-error/public-api.d.ts +3 -0
- package/components/validation-error/validation-error.component.d.ts +22 -0
- package/components/validation-error/validation-error.model.d.ts +1 -0
- package/components/validation-error/validation-error.module.d.ts +10 -0
- package/components/write-with-ai/index.d.ts +3 -131
- package/components/write-with-ai/llm.service.d.ts +22 -0
- package/components/write-with-ai/public-api.d.ts +4 -0
- package/components/write-with-ai/write-with-ai.component.d.ts +79 -0
- package/components/write-with-ai/write-with-ai.model.d.ts +24 -0
- package/components/write-with-ai/write-with-ai.module.d.ts +7 -0
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +23 -22
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +9 -8
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +21 -21
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +31 -31
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +18 -18
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +26 -26
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +13 -12
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +9 -8
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +34 -33
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +21 -19
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +28 -28
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +17 -17
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +15 -15
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +14 -32
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +20 -20
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +27 -27
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +38 -38
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/index.d.ts +5 -46
- package/mcp/catalog.json +1 -0
- package/mcp/server.mjs +21567 -0
- package/package.json +30 -29
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +0 -2
- package/public-api.d.ts +81 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { DestroyRef, EventEmitter, InputSignal, Signal, TemplateRef } from '@angular/core';
|
|
2
|
+
import { IRoute, MenuItem, MenuState, ScreenSize } from './navbar.model';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import { SideSheetService } from '@testgorilla/tgo-ui/components/side-sheet';
|
|
5
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
6
|
+
import { LogoTypeEnum } from '@testgorilla/tgo-ui/components/logo';
|
|
7
|
+
import { AvatarSize } from '@testgorilla/tgo-ui/components/avatar';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class NavbarComponent {
|
|
10
|
+
private readonly breakpointObserver;
|
|
11
|
+
private readonly defaultAppTheme;
|
|
12
|
+
private sideSheetService;
|
|
13
|
+
private destroyRef;
|
|
14
|
+
/**
|
|
15
|
+
* Routes object
|
|
16
|
+
*
|
|
17
|
+
* @type {IRoute}
|
|
18
|
+
* @memberof NavbarComponent
|
|
19
|
+
* @ignore
|
|
20
|
+
*/
|
|
21
|
+
routes: IRoute[];
|
|
22
|
+
/**
|
|
23
|
+
* Actived route id
|
|
24
|
+
*
|
|
25
|
+
* @type {InputSignal<string>}
|
|
26
|
+
* @memberof NavbarComponent
|
|
27
|
+
*/
|
|
28
|
+
activedRoute: InputSignal<string>;
|
|
29
|
+
/**
|
|
30
|
+
* User first name and last name
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof NavbarComponent
|
|
34
|
+
*/
|
|
35
|
+
userName: string;
|
|
36
|
+
/**
|
|
37
|
+
* User email
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof NavbarComponent
|
|
41
|
+
*/
|
|
42
|
+
email: string;
|
|
43
|
+
/**
|
|
44
|
+
* Menu items to show in menu above the Log out button
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof NavbarComponent
|
|
48
|
+
*/
|
|
49
|
+
menuItems: MenuItem[];
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* Defines the application theme
|
|
53
|
+
*
|
|
54
|
+
* @type {ApplicationTheme}
|
|
55
|
+
* @memberof NavbarComponent
|
|
56
|
+
*/
|
|
57
|
+
applicationTheme: ApplicationTheme;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* It's ng-content for mobile version
|
|
61
|
+
*
|
|
62
|
+
* @type {ApplicationTheme}
|
|
63
|
+
* @memberof NavbarComponent
|
|
64
|
+
*/
|
|
65
|
+
contentTemplateRef: TemplateRef<any>;
|
|
66
|
+
/**
|
|
67
|
+
* Additional info template reference for the extra user info in the dropdown/sidesheet
|
|
68
|
+
* @type {TemplateRef<any>}
|
|
69
|
+
* @memberof NavbarComponent
|
|
70
|
+
*/
|
|
71
|
+
userInfoExtraTemplateRef: TemplateRef<any>;
|
|
72
|
+
/**
|
|
73
|
+
* Custom content template reference for the menu section between user info and menu items.
|
|
74
|
+
* Use this to add custom components like credits display.
|
|
75
|
+
* @type {TemplateRef<any>}
|
|
76
|
+
* @memberof NavbarComponent
|
|
77
|
+
*/
|
|
78
|
+
menuContentTemplateRef: TemplateRef<any>;
|
|
79
|
+
/**
|
|
80
|
+
* Mobile breakpoint
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof NavbarComponent
|
|
83
|
+
*/
|
|
84
|
+
set mobileBreakpoint(value: number);
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* Show avatar with user initials
|
|
88
|
+
*
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
* @memberof NavbarComponent
|
|
91
|
+
*/
|
|
92
|
+
isAvatar: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Sets class for the menu
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof NavbarComponent
|
|
98
|
+
*/
|
|
99
|
+
menuClass: string;
|
|
100
|
+
/**
|
|
101
|
+
* @ignore
|
|
102
|
+
*/
|
|
103
|
+
navigateEvent: EventEmitter<string>;
|
|
104
|
+
/**
|
|
105
|
+
* @ignore
|
|
106
|
+
*/
|
|
107
|
+
menuItemClicked: EventEmitter<string>;
|
|
108
|
+
/**
|
|
109
|
+
* @ignore
|
|
110
|
+
*/
|
|
111
|
+
logoutEvent: EventEmitter<void>;
|
|
112
|
+
menuState: EventEmitter<MenuState>;
|
|
113
|
+
protected screenSize: ScreenSize;
|
|
114
|
+
protected readonly translationContext = "NAVBAR.";
|
|
115
|
+
private readonly _mobileBreakpoint$;
|
|
116
|
+
private readonly _tabletBreakpoint$;
|
|
117
|
+
private readonly mobileBreakpointObs$;
|
|
118
|
+
private readonly tabletBreakpointObs$;
|
|
119
|
+
protected readonly isMobile$: import("rxjs").Observable<boolean>;
|
|
120
|
+
protected readonly isTablet$: import("rxjs").Observable<boolean>;
|
|
121
|
+
protected isOpened: boolean;
|
|
122
|
+
protected logoType: typeof LogoTypeEnum;
|
|
123
|
+
activeRoutesMap: Signal<Map<string, boolean>>;
|
|
124
|
+
constructor(breakpointObserver: BreakpointObserver, defaultAppTheme: ApplicationTheme, sideSheetService: SideSheetService, destroyRef: DestroyRef);
|
|
125
|
+
openMobileMenu(): void;
|
|
126
|
+
navigate(routeId: string): void;
|
|
127
|
+
logout(): void;
|
|
128
|
+
clickMenuItem(id: string): void;
|
|
129
|
+
onChangeMenuState(isOpened: boolean, screenSize: ScreenSize): void;
|
|
130
|
+
protected readonly AvatarSize: typeof AvatarSize;
|
|
131
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, [null, { optional: true; }, null, null]>;
|
|
132
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "routes": { "alias": "routes"; "required": false; }; "activedRoute": { "alias": "activedRoute"; "required": false; "isSignal": true; }; "userName": { "alias": "userName"; "required": false; }; "email": { "alias": "email"; "required": false; }; "menuItems": { "alias": "menuItems"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "userInfoExtraTemplateRef": { "alias": "userInfoExtraTemplateRef"; "required": false; }; "menuContentTemplateRef": { "alias": "menuContentTemplateRef"; "required": false; }; "mobileBreakpoint": { "alias": "mobileBreakpoint"; "required": false; }; "isAvatar": { "alias": "isAvatar"; "required": false; }; "menuClass": { "alias": "menuClass"; "required": false; }; }, { "navigateEvent": "navigateEvent"; "menuItemClicked": "menuItemClicked"; "logoutEvent": "logoutEvent"; "menuState": "menuState"; }, never, ["[actions]", "*"], false, never>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./navbar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/toolbar";
|
|
5
|
+
import * as i4 from "@angular/material/icon";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "@angular/material/core";
|
|
8
|
+
import * as i7 from "@angular/material/menu";
|
|
9
|
+
import * as i8 from "@testgorilla/tgo-ui/components/logo";
|
|
10
|
+
import * as i9 from "@testgorilla/tgo-ui/components/icon";
|
|
11
|
+
import * as i10 from "@testgorilla/tgo-ui/components/core";
|
|
12
|
+
import * as i11 from "@testgorilla/tgo-ui/components/avatar";
|
|
13
|
+
import * as i12 from "@testgorilla/tgo-ui/components/side-sheet";
|
|
14
|
+
import * as i13 from "@testgorilla/tgo-ui/components/button";
|
|
15
|
+
import * as i14 from "./mobile-navbar-side-sheet/mobile-navbar-side-sheet.component";
|
|
16
|
+
import * as i15 from "@testgorilla/tgo-ui/components/badge";
|
|
17
|
+
export declare class NavbarComponentModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponentModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NavbarComponentModule, [typeof i1.NavbarComponent], [typeof i2.CommonModule, typeof i3.MatToolbarModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatRippleModule, typeof i7.MatMenuModule, typeof i8.LogoComponentModule, typeof i9.IconComponentModule, typeof i10.UiTranslatePipe, typeof i11.AvatarComponentModule, typeof i12.SideSheetComponentModule, typeof i13.ButtonComponentModule, typeof i14.MobileNavbarSideSheetComponent, typeof i15.BadgeComponentModule], [typeof i1.NavbarComponent]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NavbarComponentModule>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
2
|
+
import { RebrandBadgeColor } from '@testgorilla/tgo-ui/components/badge';
|
|
3
|
+
export interface IRoute {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
badgeOptions?: RouteBadge;
|
|
7
|
+
}
|
|
8
|
+
export interface RouteBadge {
|
|
9
|
+
color: RebrandBadgeColor;
|
|
10
|
+
text: string;
|
|
11
|
+
}
|
|
12
|
+
export interface MenuItem {
|
|
13
|
+
id: string;
|
|
14
|
+
icon: IconName;
|
|
15
|
+
text: string;
|
|
16
|
+
}
|
|
17
|
+
export interface MenuState {
|
|
18
|
+
screenSize: ScreenSize;
|
|
19
|
+
isOpened: boolean;
|
|
20
|
+
}
|
|
21
|
+
export type ScreenSize = 'mobile' | 'tablet' | 'desktop';
|
|
@@ -1,163 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { MenuPositionX, MenuPositionY, MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
7
|
-
import * as i3 from '@testgorilla/tgo-ui/components/button';
|
|
8
|
-
import { ButtonColor, ButtonSize } from '@testgorilla/tgo-ui/components/button';
|
|
9
|
-
import * as i8 from '@testgorilla/tgo-ui/components/core';
|
|
10
|
-
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
11
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
12
|
-
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
13
|
-
import * as i2 from '@angular/common';
|
|
14
|
-
import * as i6 from '@angular/material/button';
|
|
15
|
-
import * as i7 from '@angular/material/tooltip';
|
|
16
|
-
|
|
17
|
-
type OverflowMenuButtonsType = {
|
|
18
|
-
icon?: IconName;
|
|
19
|
-
label: string;
|
|
20
|
-
isDestructive?: boolean;
|
|
21
|
-
value: string;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
btnTemplate?: TemplateRef<any>;
|
|
24
|
-
subMenu?: OverflowMenuButtonsType[] | number;
|
|
25
|
-
action?: number | string;
|
|
26
|
-
describedby?: string;
|
|
27
|
-
ariaLabel?: string;
|
|
28
|
-
tooltipText?: string;
|
|
29
|
-
isTitleButton?: boolean;
|
|
30
|
-
hideTitleButton?: boolean;
|
|
31
|
-
isPremium?: boolean;
|
|
32
|
-
};
|
|
33
|
-
type ButtonOptions = {
|
|
34
|
-
isTextEllipsed?: boolean;
|
|
35
|
-
isFocused?: boolean;
|
|
36
|
-
isHovered?: boolean;
|
|
37
|
-
};
|
|
38
|
-
type MenuConfig = {
|
|
39
|
-
xPosition: MenuPositionX;
|
|
40
|
-
yPosition: MenuPositionY;
|
|
41
|
-
overlapTrigger: boolean;
|
|
42
|
-
panelClass: string;
|
|
43
|
-
};
|
|
44
|
-
type OverflowMenuButtonModify = OverflowMenuButtonsType & ButtonOptions;
|
|
45
|
-
|
|
46
|
-
declare class OverflowMenuComponent implements OnInit, OnChanges, AfterViewInit {
|
|
47
|
-
private readonly defaultAppTheme;
|
|
48
|
-
private focusMonitor;
|
|
49
|
-
private ngZone;
|
|
50
|
-
/**
|
|
51
|
-
* Menu buttons
|
|
52
|
-
*
|
|
53
|
-
* @type {OverflowMenuButtonsType[]}
|
|
54
|
-
* @memberof OverflowMenuComponent
|
|
55
|
-
*/
|
|
56
|
-
buttons: OverflowMenuButtonsType[];
|
|
57
|
-
/**
|
|
58
|
-
* Menu icon trigger
|
|
59
|
-
*
|
|
60
|
-
* @memberof OverflowMenuComponent
|
|
61
|
-
*/
|
|
62
|
-
iconTrigger: IconName;
|
|
63
|
-
/**
|
|
64
|
-
* Label menu
|
|
65
|
-
*
|
|
66
|
-
* @memberof OverflowMenuComponent
|
|
67
|
-
*/
|
|
68
|
-
menuLabel: string;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* Defines the application theme
|
|
72
|
-
*
|
|
73
|
-
* @type {ApplicationTheme}
|
|
74
|
-
* @memberof OverflowMenuComponent
|
|
75
|
-
*/
|
|
76
|
-
applicationTheme: ApplicationTheme;
|
|
77
|
-
/**
|
|
78
|
-
* A string representing the ARIA label for accessibility.
|
|
79
|
-
* This label is used to provide an accessible name for the input element.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof OverflowMenuComponent
|
|
82
|
-
*/
|
|
83
|
-
ariaLabel: string;
|
|
84
|
-
/**
|
|
85
|
-
* A string representing the ARIA requirement for accessibility.
|
|
86
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
87
|
-
* @type {boolean}
|
|
88
|
-
* @memberof OverflowMenuComponent
|
|
89
|
-
*/
|
|
90
|
-
ariaRequired: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* A string representing the ARIA requirement for accessibility.
|
|
93
|
-
* This attribute is used to indicate whether an input for description.
|
|
94
|
-
* @type {text}
|
|
95
|
-
* @memberof OverflowMenuComponent
|
|
96
|
-
*/
|
|
97
|
-
describedby: string;
|
|
98
|
-
/**
|
|
99
|
-
* Custom template for the button (optional)
|
|
100
|
-
*
|
|
101
|
-
* @type {TemplateRef<any>}
|
|
102
|
-
* @memberof OverflowMenuComponent
|
|
103
|
-
*/
|
|
104
|
-
contentTemplateRef: TemplateRef<any>;
|
|
105
|
-
/**
|
|
106
|
-
* Button variant for the overflow menu trigger
|
|
107
|
-
* When null, uses the default icon rendering
|
|
108
|
-
*
|
|
109
|
-
* @type {ButtonColor | null}
|
|
110
|
-
* @memberof OverflowMenuComponent
|
|
111
|
-
*/
|
|
112
|
-
buttonVariant: ButtonColor | null;
|
|
113
|
-
/**
|
|
114
|
-
* Button size for the overflow menu trigger
|
|
115
|
-
*
|
|
116
|
-
* @type {ButtonSize}
|
|
117
|
-
* @memberof OverflowMenuComponent
|
|
118
|
-
*/
|
|
119
|
-
buttonSize: ButtonSize;
|
|
120
|
-
menuConfig: MenuConfig;
|
|
121
|
-
isDynamicMenu: boolean;
|
|
122
|
-
withRemovableOption: boolean;
|
|
123
|
-
selectItem: EventEmitter<string>;
|
|
124
|
-
menuOpened: EventEmitter<void>;
|
|
125
|
-
menuClosed: EventEmitter<void>;
|
|
126
|
-
matmenus: QueryList<MatMenu>;
|
|
127
|
-
matTrigger: QueryList<MatMenuTrigger>;
|
|
128
|
-
buttonElement: any;
|
|
129
|
-
menuItems: string[];
|
|
130
|
-
submenus: Array<OverflowMenuButtonModify[]>;
|
|
131
|
-
isMenuRendered: i0.WritableSignal<boolean>;
|
|
132
|
-
isMenuOpened: i0.WritableSignal<boolean>;
|
|
133
|
-
isFocused: i0.WritableSignal<boolean>;
|
|
134
|
-
get menuItemHasHovered(): boolean;
|
|
135
|
-
constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, ngZone: NgZone);
|
|
136
|
-
ngOnInit(): void;
|
|
137
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
138
|
-
ngAfterViewInit(): void;
|
|
139
|
-
onSelectItem(event: Event, value: string): void;
|
|
140
|
-
onMenuOpened(): void;
|
|
141
|
-
onMenuClosed(): void;
|
|
142
|
-
onButtonFocus(button: OverflowMenuButtonModify): void;
|
|
143
|
-
onButtonBlur(button: OverflowMenuButtonModify): void;
|
|
144
|
-
onButtonClick(button: OverflowMenuButtonModify, $event: Event): void;
|
|
145
|
-
onSubmenuOpened(): void;
|
|
146
|
-
trackByButton: (_: number, btn: OverflowMenuButtonModify) => string | number;
|
|
147
|
-
onButtonHover(button: OverflowMenuButtonModify, state: boolean): void;
|
|
148
|
-
getMenu(index: any): MatMenu | null;
|
|
149
|
-
private reindex;
|
|
150
|
-
private resetSubmenus;
|
|
151
|
-
private createSubmenus;
|
|
152
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, [{ optional: true; }, null, null]>;
|
|
153
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OverflowMenuComponent, "ui-overflow-menu", never, { "buttons": { "alias": "buttons"; "required": false; }; "iconTrigger": { "alias": "iconTrigger"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "describedby": { "alias": "describedby"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "buttonVariant": { "alias": "buttonVariant"; "required": false; }; "buttonSize": { "alias": "buttonSize"; "required": false; }; "menuConfig": { "alias": "menuConfig"; "required": false; }; "isDynamicMenu": { "alias": "isDynamicMenu"; "required": false; }; "withRemovableOption": { "alias": "withRemovableOption"; "required": false; }; }, { "selectItem": "selectItem"; "menuOpened": "menuOpened"; "menuClosed": "menuClosed"; }, never, ["[menu-content]"], false, never>;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
declare class OverflowMenuComponentModule {
|
|
157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponentModule, never>;
|
|
158
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OverflowMenuComponentModule, [typeof OverflowMenuComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule, typeof i5.MatMenuModule, typeof i6.MatButtonModule, typeof i7.MatTooltipModule, typeof i8.EllipseTextDirective, typeof i8.UiTranslatePipe], [typeof OverflowMenuComponent]>;
|
|
159
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<OverflowMenuComponentModule>;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export { OverflowMenuComponent, OverflowMenuComponentModule };
|
|
163
|
-
export type { MenuConfig, OverflowMenuButtonModify, OverflowMenuButtonsType };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/overflow-menu" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { EventEmitter, NgZone, OnInit, QueryList, SimpleChanges, TemplateRef, OnChanges, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
3
|
+
import { MenuConfig, OverflowMenuButtonModify, OverflowMenuButtonsType } from './overflow-menu.model';
|
|
4
|
+
import { ButtonColor, ButtonSize } from '@testgorilla/tgo-ui/components/button';
|
|
5
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
6
|
+
import { MatMenu, MatMenuTrigger } from '@angular/material/menu';
|
|
7
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class OverflowMenuComponent implements OnInit, OnChanges, AfterViewInit {
|
|
10
|
+
private readonly defaultAppTheme;
|
|
11
|
+
private focusMonitor;
|
|
12
|
+
private ngZone;
|
|
13
|
+
/**
|
|
14
|
+
* Menu buttons
|
|
15
|
+
*
|
|
16
|
+
* @type {OverflowMenuButtonsType[]}
|
|
17
|
+
* @memberof OverflowMenuComponent
|
|
18
|
+
*/
|
|
19
|
+
buttons: OverflowMenuButtonsType[];
|
|
20
|
+
/**
|
|
21
|
+
* Menu icon trigger
|
|
22
|
+
*
|
|
23
|
+
* @memberof OverflowMenuComponent
|
|
24
|
+
*/
|
|
25
|
+
iconTrigger: IconName;
|
|
26
|
+
/**
|
|
27
|
+
* Label menu
|
|
28
|
+
*
|
|
29
|
+
* @memberof OverflowMenuComponent
|
|
30
|
+
*/
|
|
31
|
+
menuLabel: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* Defines the application theme
|
|
35
|
+
*
|
|
36
|
+
* @type {ApplicationTheme}
|
|
37
|
+
* @memberof OverflowMenuComponent
|
|
38
|
+
*/
|
|
39
|
+
applicationTheme: ApplicationTheme;
|
|
40
|
+
/**
|
|
41
|
+
* A string representing the ARIA label for accessibility.
|
|
42
|
+
* This label is used to provide an accessible name for the input element.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OverflowMenuComponent
|
|
45
|
+
*/
|
|
46
|
+
ariaLabel: string;
|
|
47
|
+
/**
|
|
48
|
+
* A string representing the ARIA requirement for accessibility.
|
|
49
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof OverflowMenuComponent
|
|
52
|
+
*/
|
|
53
|
+
ariaRequired: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* A string representing the ARIA requirement for accessibility.
|
|
56
|
+
* This attribute is used to indicate whether an input for description.
|
|
57
|
+
* @type {text}
|
|
58
|
+
* @memberof OverflowMenuComponent
|
|
59
|
+
*/
|
|
60
|
+
describedby: string;
|
|
61
|
+
/**
|
|
62
|
+
* Custom template for the button (optional)
|
|
63
|
+
*
|
|
64
|
+
* @type {TemplateRef<any>}
|
|
65
|
+
* @memberof OverflowMenuComponent
|
|
66
|
+
*/
|
|
67
|
+
contentTemplateRef: TemplateRef<any>;
|
|
68
|
+
/**
|
|
69
|
+
* Button variant for the overflow menu trigger
|
|
70
|
+
* When null, uses the default icon rendering
|
|
71
|
+
*
|
|
72
|
+
* @type {ButtonColor | null}
|
|
73
|
+
* @memberof OverflowMenuComponent
|
|
74
|
+
*/
|
|
75
|
+
buttonVariant: ButtonColor | null;
|
|
76
|
+
/**
|
|
77
|
+
* Button size for the overflow menu trigger
|
|
78
|
+
*
|
|
79
|
+
* @type {ButtonSize}
|
|
80
|
+
* @memberof OverflowMenuComponent
|
|
81
|
+
*/
|
|
82
|
+
buttonSize: ButtonSize;
|
|
83
|
+
menuConfig: MenuConfig;
|
|
84
|
+
isDynamicMenu: boolean;
|
|
85
|
+
withRemovableOption: boolean;
|
|
86
|
+
selectItem: EventEmitter<string>;
|
|
87
|
+
menuOpened: EventEmitter<void>;
|
|
88
|
+
menuClosed: EventEmitter<void>;
|
|
89
|
+
matmenus: QueryList<MatMenu>;
|
|
90
|
+
matTrigger: QueryList<MatMenuTrigger>;
|
|
91
|
+
buttonElement: any;
|
|
92
|
+
menuItems: string[];
|
|
93
|
+
submenus: Array<OverflowMenuButtonModify[]>;
|
|
94
|
+
isMenuRendered: import("@angular/core").WritableSignal<boolean>;
|
|
95
|
+
isMenuOpened: import("@angular/core").WritableSignal<boolean>;
|
|
96
|
+
isFocused: import("@angular/core").WritableSignal<boolean>;
|
|
97
|
+
get menuItemHasHovered(): boolean;
|
|
98
|
+
constructor(defaultAppTheme: ApplicationTheme, focusMonitor: FocusMonitor, ngZone: NgZone);
|
|
99
|
+
ngOnInit(): void;
|
|
100
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
101
|
+
ngAfterViewInit(): void;
|
|
102
|
+
onSelectItem(event: Event, value: string): void;
|
|
103
|
+
onMenuOpened(): void;
|
|
104
|
+
onMenuClosed(): void;
|
|
105
|
+
onButtonFocus(button: OverflowMenuButtonModify): void;
|
|
106
|
+
onButtonBlur(button: OverflowMenuButtonModify): void;
|
|
107
|
+
onButtonClick(button: OverflowMenuButtonModify, $event: Event): void;
|
|
108
|
+
onSubmenuOpened(): void;
|
|
109
|
+
trackByButton: (_: number, btn: OverflowMenuButtonModify) => string | number;
|
|
110
|
+
onButtonHover(button: OverflowMenuButtonModify, state: boolean): void;
|
|
111
|
+
getMenu(index: any): MatMenu | null;
|
|
112
|
+
private reindex;
|
|
113
|
+
private resetSubmenus;
|
|
114
|
+
private createSubmenus;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponent, [{ optional: true; }, null, null]>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverflowMenuComponent, "ui-overflow-menu", never, { "buttons": { "alias": "buttons"; "required": false; }; "iconTrigger": { "alias": "iconTrigger"; "required": false; }; "menuLabel": { "alias": "menuLabel"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "describedby": { "alias": "describedby"; "required": false; }; "contentTemplateRef": { "alias": "contentTemplateRef"; "required": false; }; "buttonVariant": { "alias": "buttonVariant"; "required": false; }; "buttonSize": { "alias": "buttonSize"; "required": false; }; "menuConfig": { "alias": "menuConfig"; "required": false; }; "isDynamicMenu": { "alias": "isDynamicMenu"; "required": false; }; "withRemovableOption": { "alias": "withRemovableOption"; "required": false; }; }, { "selectItem": "selectItem"; "menuOpened": "menuOpened"; "menuClosed": "menuClosed"; }, never, ["[menu-content]"], false, never>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./overflow-menu.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@testgorilla/tgo-ui/components/button";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/icon";
|
|
6
|
+
import * as i5 from "@angular/material/menu";
|
|
7
|
+
import * as i6 from "@angular/material/button";
|
|
8
|
+
import * as i7 from "@angular/material/tooltip";
|
|
9
|
+
import * as i8 from "@testgorilla/tgo-ui/components/core";
|
|
10
|
+
export declare class OverflowMenuComponentModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverflowMenuComponentModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OverflowMenuComponentModule, [typeof i1.OverflowMenuComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule, typeof i5.MatMenuModule, typeof i6.MatButtonModule, typeof i7.MatTooltipModule, typeof i8.EllipseTextDirective, typeof i8.UiTranslatePipe], [typeof i1.OverflowMenuComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<OverflowMenuComponentModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import { MenuPositionX, MenuPositionY } from '@angular/material/menu';
|
|
4
|
+
export type OverflowMenuButtonsType = {
|
|
5
|
+
icon?: IconName;
|
|
6
|
+
label: string;
|
|
7
|
+
isDestructive?: boolean;
|
|
8
|
+
value: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
btnTemplate?: TemplateRef<any>;
|
|
11
|
+
subMenu?: OverflowMenuButtonsType[] | number;
|
|
12
|
+
action?: number | string;
|
|
13
|
+
describedby?: string;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
tooltipText?: string;
|
|
16
|
+
isTitleButton?: boolean;
|
|
17
|
+
hideTitleButton?: boolean;
|
|
18
|
+
isPremium?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type ButtonOptions = {
|
|
21
|
+
isTextEllipsed?: boolean;
|
|
22
|
+
isFocused?: boolean;
|
|
23
|
+
isHovered?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export type MenuConfig = {
|
|
26
|
+
xPosition: MenuPositionX;
|
|
27
|
+
yPosition: MenuPositionY;
|
|
28
|
+
overlapTrigger: boolean;
|
|
29
|
+
panelClass: string;
|
|
30
|
+
};
|
|
31
|
+
export type OverflowMenuButtonModify = OverflowMenuButtonsType & ButtonOptions;
|
|
32
|
+
export {};
|
|
@@ -1,51 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
import * as i2 from '@angular/common';
|
|
8
|
-
import * as i3 from '@testgorilla/tgo-ui/components/button';
|
|
9
|
-
|
|
10
|
-
declare class PageHeaderComponent {
|
|
11
|
-
private readonly defaultAppTheme;
|
|
12
|
-
protected readonly isMobile$: Observable<boolean>;
|
|
13
|
-
/**
|
|
14
|
-
* Flag to determine whether the "Back" button should be displayed.
|
|
15
|
-
* @default true
|
|
16
|
-
* @memberof PageHeaderComponent
|
|
17
|
-
*/
|
|
18
|
-
showBackButton: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Back button tooltip for mobile variation
|
|
21
|
-
* @property tooltip
|
|
22
|
-
* @memberof PageHeaderComponent
|
|
23
|
-
*/
|
|
24
|
-
tooltip: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* Defines the application theme
|
|
28
|
-
*
|
|
29
|
-
* @type {ApplicationTheme}
|
|
30
|
-
* @memberof PageHeaderComponent
|
|
31
|
-
*/
|
|
32
|
-
applicationTheme: ApplicationTheme;
|
|
33
|
-
/**
|
|
34
|
-
* Event triggered when the "Back" button is clicked.
|
|
35
|
-
* @memberof PageHeaderComponent
|
|
36
|
-
*/
|
|
37
|
-
back: EventEmitter<void>;
|
|
38
|
-
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
|
|
39
|
-
protected onBack(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [{ optional: true; }, null]>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "back": "back"; }, never, ["[content]", "[right-side]"], false, never>;
|
|
42
|
-
static ngAcceptInputType_showBackButton: unknown;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
declare class PageHeaderModule {
|
|
46
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
|
|
47
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof PageHeaderComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.UiTranslatePipe], [typeof PageHeaderComponent]>;
|
|
48
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export { PageHeaderComponent, PageHeaderModule };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/page-header" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PageHeaderComponent {
|
|
6
|
+
private readonly defaultAppTheme;
|
|
7
|
+
protected readonly isMobile$: Observable<boolean>;
|
|
8
|
+
/**
|
|
9
|
+
* Flag to determine whether the "Back" button should be displayed.
|
|
10
|
+
* @default true
|
|
11
|
+
* @memberof PageHeaderComponent
|
|
12
|
+
*/
|
|
13
|
+
showBackButton: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Back button tooltip for mobile variation
|
|
16
|
+
* @property tooltip
|
|
17
|
+
* @memberof PageHeaderComponent
|
|
18
|
+
*/
|
|
19
|
+
tooltip: string;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* Defines the application theme
|
|
23
|
+
*
|
|
24
|
+
* @type {ApplicationTheme}
|
|
25
|
+
* @memberof PageHeaderComponent
|
|
26
|
+
*/
|
|
27
|
+
applicationTheme: ApplicationTheme;
|
|
28
|
+
/**
|
|
29
|
+
* Event triggered when the "Back" button is clicked.
|
|
30
|
+
* @memberof PageHeaderComponent
|
|
31
|
+
*/
|
|
32
|
+
back: EventEmitter<void>;
|
|
33
|
+
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
|
|
34
|
+
protected onBack(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [{ optional: true; }, null]>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "ui-page-header", never, { "showBackButton": { "alias": "showBackButton"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, { "back": "back"; }, never, ["[content]", "[right-side]"], false, never>;
|
|
37
|
+
static ngAcceptInputType_showBackButton: unknown;
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-header.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@testgorilla/tgo-ui/components/button";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/core";
|
|
6
|
+
export declare class PageHeaderModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.UiTranslatePipe], [typeof i1.PageHeaderComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
|
|
10
|
+
}
|