@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
|
@@ -1,145 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as i4 from '@angular/material/tabs';
|
|
7
|
-
import { MatTabGroup } from '@angular/material/tabs';
|
|
8
|
-
import * as i6 from '@testgorilla/tgo-ui/components/core';
|
|
9
|
-
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
10
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
11
|
-
import { Observable } from 'rxjs';
|
|
12
|
-
import * as i3 from '@angular/common';
|
|
13
|
-
import * as i7 from '@testgorilla/tgo-ui/components/skeleton';
|
|
14
|
-
|
|
15
|
-
interface Tab {
|
|
16
|
-
tabName: string;
|
|
17
|
-
tabLabel: string;
|
|
18
|
-
contentTemplateRef: any;
|
|
19
|
-
iconLeft?: IconName;
|
|
20
|
-
iconRight?: IconName;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
canLeave?: (ctx?: {
|
|
23
|
-
currentTab: Tab;
|
|
24
|
-
nextTab: Tab;
|
|
25
|
-
}) => boolean | Promise<boolean>;
|
|
26
|
-
linkUrl?: string;
|
|
27
|
-
ariaLabel?: string;
|
|
28
|
-
order?: number;
|
|
29
|
-
skeletonTheme?: NgxSkeletonLoaderConfigTheme;
|
|
30
|
-
isSkeletonAiTheme?: boolean;
|
|
31
|
-
}
|
|
32
|
-
type TabsType = 'underlined' | 'filled';
|
|
33
|
-
declare const TAB_HEADER_SIZE: {
|
|
34
|
-
readonly BIG: "big";
|
|
35
|
-
readonly MEDIUM: "medium";
|
|
36
|
-
readonly SMALL: "small";
|
|
37
|
-
};
|
|
38
|
-
type TabHeaderSize = (typeof TAB_HEADER_SIZE)[keyof typeof TAB_HEADER_SIZE];
|
|
39
|
-
|
|
40
|
-
declare class TabDirective implements OnInit {
|
|
41
|
-
tabLabel: _angular_core.InputSignal<string>;
|
|
42
|
-
tabName: _angular_core.InputSignal<string>;
|
|
43
|
-
iconLeft: _angular_core.InputSignal<IconName | undefined>;
|
|
44
|
-
iconRight: _angular_core.InputSignal<IconName | undefined>;
|
|
45
|
-
disabled: _angular_core.InputSignalWithTransform<boolean, string>;
|
|
46
|
-
canLeave: _angular_core.InputSignal<((ctx?: {
|
|
47
|
-
currentTab: Tab;
|
|
48
|
-
nextTab: Tab;
|
|
49
|
-
}) => boolean | Promise<boolean>) | undefined>;
|
|
50
|
-
linkUrl: _angular_core.InputSignal<string | undefined>;
|
|
51
|
-
order: _angular_core.InputSignal<number | undefined>;
|
|
52
|
-
skeletonTheme: _angular_core.InputSignal<NgxSkeletonLoaderConfigTheme | undefined>;
|
|
53
|
-
isSkeletonAiTheme: _angular_core.InputSignal<boolean | undefined>;
|
|
54
|
-
private tabsComponent;
|
|
55
|
-
private template;
|
|
56
|
-
private syncProps;
|
|
57
|
-
private cleanup;
|
|
58
|
-
ngOnInit(): void;
|
|
59
|
-
private addTab;
|
|
60
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabDirective, never>;
|
|
61
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TabDirective, "ng-template[uiTab]", never, { "tabLabel": { "alias": "tabLabel"; "required": true; "isSignal": true; }; "tabName": { "alias": "tabName"; "required": true; "isSignal": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; "isSignal": true; }; "iconRight": { "alias": "iconRight"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "canLeave": { "alias": "canLeave"; "required": false; "isSignal": true; }; "linkUrl": { "alias": "linkUrl"; "required": false; "isSignal": true; }; "order": { "alias": "order"; "required": false; "isSignal": true; }; "skeletonTheme": { "alias": "skeletonTheme"; "required": false; "isSignal": true; }; "isSkeletonAiTheme": { "alias": "isSkeletonAiTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
declare class TabsComponent implements AfterViewInit {
|
|
65
|
-
private readonly defaultAppTheme;
|
|
66
|
-
protected readonly isMobile$: Observable<boolean>;
|
|
67
|
-
/**
|
|
68
|
-
* Color of the Tabs.
|
|
69
|
-
* Defaults to Test Gorilla primary color.
|
|
70
|
-
*
|
|
71
|
-
* @type {string}
|
|
72
|
-
* @memberof TabsComponent
|
|
73
|
-
*/
|
|
74
|
-
companyColor: string | null;
|
|
75
|
-
/**
|
|
76
|
-
* Type the Tabs.
|
|
77
|
-
* Defaults underlined.
|
|
78
|
-
*
|
|
79
|
-
* @type {TabsType}
|
|
80
|
-
* @memberof TabsComponent
|
|
81
|
-
*/
|
|
82
|
-
type: TabsType;
|
|
83
|
-
/**
|
|
84
|
-
* Animation duration when switching tabs
|
|
85
|
-
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof TabsComponent
|
|
88
|
-
*/
|
|
89
|
-
animationDuration: number;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the padding for content and header
|
|
92
|
-
*
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof TabsComponent
|
|
95
|
-
*/
|
|
96
|
-
headerContentPadding: string;
|
|
97
|
-
/**
|
|
98
|
-
* Sets the dynamic height of the tab
|
|
99
|
-
* @type {boolean}
|
|
100
|
-
* @memberof TabsComponent
|
|
101
|
-
*/
|
|
102
|
-
dynamicHeight: boolean;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* Defines the application theme
|
|
106
|
-
*
|
|
107
|
-
* @type {ApplicationTheme}
|
|
108
|
-
* @memberof TabsComponent
|
|
109
|
-
*/
|
|
110
|
-
applicationTheme: ApplicationTheme;
|
|
111
|
-
tabHeaderSize: _angular_core.InputSignal<TabHeaderSize>;
|
|
112
|
-
isLoading: _angular_core.InputSignal<boolean>;
|
|
113
|
-
selectedTabIndex: EventEmitter<number>;
|
|
114
|
-
selectedTab: EventEmitter<Tab>;
|
|
115
|
-
tabGroup: MatTabGroup;
|
|
116
|
-
protected tabs: Tab[];
|
|
117
|
-
readonly tabIndex: _angular_core.WritableSignal<number>;
|
|
118
|
-
protected tabIndexMap: Record<string, number>;
|
|
119
|
-
private insertionCounter;
|
|
120
|
-
private tabTransitionInProgress;
|
|
121
|
-
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
|
|
122
|
-
ngAfterViewInit(): void;
|
|
123
|
-
addTab(tab: Tab): void;
|
|
124
|
-
private sortTabs;
|
|
125
|
-
private updateTabIndexMap;
|
|
126
|
-
onTabChange(index: number): void;
|
|
127
|
-
selectTab(tabName: string): void;
|
|
128
|
-
indexOf(tabName: string): number;
|
|
129
|
-
trackByTabName(index: number, tab: Tab): string;
|
|
130
|
-
removeTab(tabName: string): void;
|
|
131
|
-
updateTab(tabName: string, tab: Partial<Omit<Tab, 'tabName'>>): void;
|
|
132
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponent, [{ optional: true; }, null]>;
|
|
133
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "headerContentPadding": { "alias": "headerContentPadding"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tabHeaderSize": { "alias": "tabHeaderSize"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "selectedTabIndex": "selectedTabIndex"; "selectedTab": "selectedTab"; }, never, never, false, never>;
|
|
134
|
-
static ngAcceptInputType_headerContentPadding: number;
|
|
135
|
-
static ngAcceptInputType_dynamicHeight: unknown;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
declare class TabsComponentModule {
|
|
139
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabsComponentModule, never>;
|
|
140
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<TabsComponentModule, [typeof TabsComponent], [typeof TabDirective, typeof i3.CommonModule, typeof i4.MatTabsModule, typeof i5.IconComponentModule, typeof i6.UiTranslatePipe, typeof i7.SkeletonComponent], [typeof TabsComponent, typeof TabDirective]>;
|
|
141
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<TabsComponentModule>;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
export { TAB_HEADER_SIZE, TabDirective, TabsComponent, TabsComponentModule };
|
|
145
|
-
export type { Tab, TabHeaderSize, TabsType };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/tabs" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
3
|
+
import { Tab } from './tabs.model';
|
|
4
|
+
import { NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TabDirective implements OnInit {
|
|
7
|
+
tabLabel: import("@angular/core").InputSignal<string>;
|
|
8
|
+
tabName: import("@angular/core").InputSignal<string>;
|
|
9
|
+
iconLeft: import("@angular/core").InputSignal<IconName | undefined>;
|
|
10
|
+
iconRight: import("@angular/core").InputSignal<IconName | undefined>;
|
|
11
|
+
disabled: import("@angular/core").InputSignalWithTransform<boolean, string>;
|
|
12
|
+
canLeave: import("@angular/core").InputSignal<((ctx?: {
|
|
13
|
+
currentTab: Tab;
|
|
14
|
+
nextTab: Tab;
|
|
15
|
+
}) => boolean | Promise<boolean>) | undefined>;
|
|
16
|
+
linkUrl: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
+
order: import("@angular/core").InputSignal<number | undefined>;
|
|
18
|
+
skeletonTheme: import("@angular/core").InputSignal<NgxSkeletonLoaderConfigTheme | undefined>;
|
|
19
|
+
isSkeletonAiTheme: import("@angular/core").InputSignal<boolean | undefined>;
|
|
20
|
+
private tabsComponent;
|
|
21
|
+
private template;
|
|
22
|
+
private syncProps;
|
|
23
|
+
private cleanup;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
private addTab;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TabDirective, "ng-template[uiTab]", never, { "tabLabel": { "alias": "tabLabel"; "required": true; "isSignal": true; }; "tabName": { "alias": "tabName"; "required": true; "isSignal": true; }; "iconLeft": { "alias": "iconLeft"; "required": false; "isSignal": true; }; "iconRight": { "alias": "iconRight"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "canLeave": { "alias": "canLeave"; "required": false; "isSignal": true; }; "linkUrl": { "alias": "linkUrl"; "required": false; "isSignal": true; }; "order": { "alias": "order"; "required": false; "isSignal": true; }; "skeletonTheme": { "alias": "skeletonTheme"; "required": false; "isSignal": true; }; "isSkeletonAiTheme": { "alias": "isSkeletonAiTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { EventEmitter, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { MatTabGroup } from '@angular/material/tabs';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { Tab, TabHeaderSize, TabsType } from './tabs.model';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class TabsComponent implements AfterViewInit {
|
|
8
|
+
private readonly defaultAppTheme;
|
|
9
|
+
protected readonly isMobile$: Observable<boolean>;
|
|
10
|
+
/**
|
|
11
|
+
* Color of the Tabs.
|
|
12
|
+
* Defaults to Test Gorilla primary color.
|
|
13
|
+
*
|
|
14
|
+
* @type {string}
|
|
15
|
+
* @memberof TabsComponent
|
|
16
|
+
*/
|
|
17
|
+
companyColor: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Type the Tabs.
|
|
20
|
+
* Defaults underlined.
|
|
21
|
+
*
|
|
22
|
+
* @type {TabsType}
|
|
23
|
+
* @memberof TabsComponent
|
|
24
|
+
*/
|
|
25
|
+
type: TabsType;
|
|
26
|
+
/**
|
|
27
|
+
* Animation duration when switching tabs
|
|
28
|
+
*
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof TabsComponent
|
|
31
|
+
*/
|
|
32
|
+
animationDuration: number;
|
|
33
|
+
/**
|
|
34
|
+
* Sets the padding for content and header
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof TabsComponent
|
|
38
|
+
*/
|
|
39
|
+
headerContentPadding: string;
|
|
40
|
+
/**
|
|
41
|
+
* Sets the dynamic height of the tab
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof TabsComponent
|
|
44
|
+
*/
|
|
45
|
+
dynamicHeight: boolean;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* Defines the application theme
|
|
49
|
+
*
|
|
50
|
+
* @type {ApplicationTheme}
|
|
51
|
+
* @memberof TabsComponent
|
|
52
|
+
*/
|
|
53
|
+
applicationTheme: ApplicationTheme;
|
|
54
|
+
tabHeaderSize: import("@angular/core").InputSignal<TabHeaderSize>;
|
|
55
|
+
isLoading: import("@angular/core").InputSignal<boolean>;
|
|
56
|
+
selectedTabIndex: EventEmitter<number>;
|
|
57
|
+
selectedTab: EventEmitter<Tab>;
|
|
58
|
+
tabGroup: MatTabGroup;
|
|
59
|
+
protected tabs: Tab[];
|
|
60
|
+
readonly tabIndex: import("@angular/core").WritableSignal<number>;
|
|
61
|
+
protected tabIndexMap: Record<string, number>;
|
|
62
|
+
private insertionCounter;
|
|
63
|
+
private tabTransitionInProgress;
|
|
64
|
+
constructor(defaultAppTheme: ApplicationTheme, isMobile$: Observable<boolean>);
|
|
65
|
+
ngAfterViewInit(): void;
|
|
66
|
+
addTab(tab: Tab): void;
|
|
67
|
+
private sortTabs;
|
|
68
|
+
private updateTabIndexMap;
|
|
69
|
+
onTabChange(index: number): void;
|
|
70
|
+
selectTab(tabName: string): void;
|
|
71
|
+
indexOf(tabName: string): number;
|
|
72
|
+
trackByTabName(index: number, tab: Tab): string;
|
|
73
|
+
removeTab(tabName: string): void;
|
|
74
|
+
updateTab(tabName: string, tab: Partial<Omit<Tab, 'tabName'>>): void;
|
|
75
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, [{ optional: true; }, null]>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "ui-tabs", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "type": { "alias": "type"; "required": false; }; "animationDuration": { "alias": "animationDuration"; "required": false; }; "headerContentPadding": { "alias": "headerContentPadding"; "required": false; }; "dynamicHeight": { "alias": "dynamicHeight"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tabHeaderSize": { "alias": "tabHeaderSize"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, { "selectedTabIndex": "selectedTabIndex"; "selectedTab": "selectedTab"; }, never, never, false, never>;
|
|
77
|
+
static ngAcceptInputType_headerContentPadding: number;
|
|
78
|
+
static ngAcceptInputType_dynamicHeight: unknown;
|
|
79
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tabs.component";
|
|
3
|
+
import * as i2 from "./tab.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/tabs";
|
|
6
|
+
import * as i5 from "@testgorilla/tgo-ui/components/icon";
|
|
7
|
+
import * as i6 from "@testgorilla/tgo-ui/components/core";
|
|
8
|
+
import * as i7 from "@testgorilla/tgo-ui/components/skeleton";
|
|
9
|
+
export declare class TabsComponentModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponentModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TabsComponentModule, [typeof i1.TabsComponent], [typeof i2.TabDirective, typeof i3.CommonModule, typeof i4.MatTabsModule, typeof i5.IconComponentModule, typeof i6.UiTranslatePipe, typeof i7.SkeletonComponent], [typeof i1.TabsComponent, typeof i2.TabDirective]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TabsComponentModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
2
|
+
import { NgxSkeletonLoaderConfigTheme } from 'ngx-skeleton-loader';
|
|
3
|
+
export interface Tab {
|
|
4
|
+
tabName: string;
|
|
5
|
+
tabLabel: string;
|
|
6
|
+
contentTemplateRef: any;
|
|
7
|
+
iconLeft?: IconName;
|
|
8
|
+
iconRight?: IconName;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
canLeave?: (ctx?: {
|
|
11
|
+
currentTab: Tab;
|
|
12
|
+
nextTab: Tab;
|
|
13
|
+
}) => boolean | Promise<boolean>;
|
|
14
|
+
linkUrl?: string;
|
|
15
|
+
ariaLabel?: string;
|
|
16
|
+
order?: number;
|
|
17
|
+
skeletonTheme?: NgxSkeletonLoaderConfigTheme;
|
|
18
|
+
isSkeletonAiTheme?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export type TabsType = 'underlined' | 'filled';
|
|
21
|
+
export declare const TAB_HEADER_SIZE: {
|
|
22
|
+
readonly BIG: "big";
|
|
23
|
+
readonly MEDIUM: "medium";
|
|
24
|
+
readonly SMALL: "small";
|
|
25
|
+
};
|
|
26
|
+
export type TabHeaderSize = (typeof TAB_HEADER_SIZE)[keyof typeof TAB_HEADER_SIZE];
|
|
@@ -1,166 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as i7 from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
9
|
-
import * as i2 from '@angular/common';
|
|
10
|
-
import * as i4 from '@testgorilla/tgo-ui/components/tooltip';
|
|
11
|
-
import * as i5 from '@angular/material/tooltip';
|
|
12
|
-
import * as i6 from '@angular/material/input';
|
|
13
|
-
import * as i8 from '@testgorilla/tgo-ui/components/badge';
|
|
14
|
-
|
|
15
|
-
declare class TagComponent implements AfterViewInit, OnInit {
|
|
16
|
-
private readonly defaultAppTheme;
|
|
17
|
-
/**
|
|
18
|
-
* Tag's label
|
|
19
|
-
*
|
|
20
|
-
* @memberof TagComponent
|
|
21
|
-
*/
|
|
22
|
-
set label(value: string);
|
|
23
|
-
/**
|
|
24
|
-
* Icon
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TagComponent
|
|
28
|
-
*/
|
|
29
|
-
icon: IconName;
|
|
30
|
-
/**
|
|
31
|
-
* Whether to allow the tag to be closed.
|
|
32
|
-
*
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @default false
|
|
35
|
-
* @memberof TagComponent
|
|
36
|
-
*/
|
|
37
|
-
allowClose: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Whether the tag is in read-only mode.
|
|
40
|
-
*
|
|
41
|
-
* @type {boolean}
|
|
42
|
-
* @default false
|
|
43
|
-
* @memberof TagComponent
|
|
44
|
-
*/
|
|
45
|
-
readOnly: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Whether the tag is selected.
|
|
48
|
-
*
|
|
49
|
-
* @type {boolean}
|
|
50
|
-
* @default false
|
|
51
|
-
* @memberof TagComponent
|
|
52
|
-
*/
|
|
53
|
-
isSelected: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Display icon when is selected
|
|
56
|
-
*
|
|
57
|
-
* @type {boolean}
|
|
58
|
-
* @default false
|
|
59
|
-
* @memberof TagComponent
|
|
60
|
-
*/
|
|
61
|
-
showIconWhenSelected: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Specifies whether the element is disabled.
|
|
64
|
-
*
|
|
65
|
-
* @type {boolean}
|
|
66
|
-
* @default false
|
|
67
|
-
* @memberof TagComponent
|
|
68
|
-
*/
|
|
69
|
-
isDisabled: boolean;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* Defines the application theme
|
|
73
|
-
*
|
|
74
|
-
* @type {ApplicationTheme}
|
|
75
|
-
* @memberof TagComponent
|
|
76
|
-
*/
|
|
77
|
-
applicationTheme: ApplicationTheme;
|
|
78
|
-
/**
|
|
79
|
-
* A string representing the ARIA label for accessibility.
|
|
80
|
-
* This label is used to provide an accessible name for the input element.
|
|
81
|
-
* @type {string}
|
|
82
|
-
* @memberof TagComponent
|
|
83
|
-
*/
|
|
84
|
-
ariaLabel: string;
|
|
85
|
-
/**
|
|
86
|
-
* A string representing the ARIA requirement for accessibility.
|
|
87
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* @memberof TagComponent
|
|
90
|
-
*/
|
|
91
|
-
ariaRequired: boolean;
|
|
92
|
-
/**
|
|
93
|
-
* Whether to show the badge on the tag.
|
|
94
|
-
* @type {boolean}
|
|
95
|
-
* @default false
|
|
96
|
-
* @memberof TagComponent
|
|
97
|
-
*/
|
|
98
|
-
showBadge: i0.InputSignal<boolean>;
|
|
99
|
-
/**
|
|
100
|
-
* The notifications amount to be displayed on the badge.
|
|
101
|
-
* @type {number}
|
|
102
|
-
* @default 0
|
|
103
|
-
* @memberof TagComponent
|
|
104
|
-
*/
|
|
105
|
-
notificationsAmount: i0.InputSignal<number>;
|
|
106
|
-
/**
|
|
107
|
-
* Event triggered when the tag should be closed.
|
|
108
|
-
*
|
|
109
|
-
* @event
|
|
110
|
-
* @memberof TagComponent
|
|
111
|
-
*/
|
|
112
|
-
close: EventEmitter<void>;
|
|
113
|
-
/**
|
|
114
|
-
* Event triggered when a press action occurs.
|
|
115
|
-
*
|
|
116
|
-
* @event
|
|
117
|
-
* @memberof TagComponent
|
|
118
|
-
*/
|
|
119
|
-
press: EventEmitter<boolean>;
|
|
120
|
-
/**
|
|
121
|
-
* Subject that needs to be triggered when Label input changes, to check if it's truncated
|
|
122
|
-
* @private
|
|
123
|
-
* @type {void}
|
|
124
|
-
* @memberof TagComponent
|
|
125
|
-
*/
|
|
126
|
-
private checkLabelEllipsis$;
|
|
127
|
-
/**
|
|
128
|
-
* Observable that indicates if the Label is truncated
|
|
129
|
-
* debounceTime is used to wait for view to be initialized after receiving a new Label input
|
|
130
|
-
* @protected
|
|
131
|
-
* @type {boolean}
|
|
132
|
-
* @memberof TagComponent
|
|
133
|
-
*/
|
|
134
|
-
protected isEllipseActiveObs$: rxjs.Observable<boolean>;
|
|
135
|
-
protected labelText: string;
|
|
136
|
-
protected isHovered: boolean;
|
|
137
|
-
protected shrink: boolean;
|
|
138
|
-
protected iconToPass: IconName;
|
|
139
|
-
protected iconColor: IconColor;
|
|
140
|
-
protected closeBtnFocused: i0.WritableSignal<boolean>;
|
|
141
|
-
labelElement: ElementRef<HTMLElement>;
|
|
142
|
-
constructor(defaultAppTheme: ApplicationTheme);
|
|
143
|
-
ngOnInit(): void;
|
|
144
|
-
ngAfterViewInit(): void;
|
|
145
|
-
onPress(): void;
|
|
146
|
-
setHoverState(state: boolean): void;
|
|
147
|
-
setShrinkState(state: boolean): void;
|
|
148
|
-
onClose(): void;
|
|
149
|
-
private isLabelEllipseActive;
|
|
150
|
-
get tabIndex(): number;
|
|
151
|
-
get filled(): boolean;
|
|
152
|
-
onKeydown($event: KeyboardEvent): void;
|
|
153
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, [{ optional: true; }]>;
|
|
154
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ui-tag", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "allowClose": { "alias": "allowClose"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "notificationsAmount": { "alias": "notificationsAmount"; "required": false; "isSignal": true; }; }, { "close": "close"; "press": "press"; }, never, never, false, never>;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
declare class TagComponentModule {
|
|
158
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponentModule, never>;
|
|
159
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TagComponentModule, [typeof TagComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.TooltipComponentModule, typeof i5.MatTooltipModule, typeof i6.MatInputModule, typeof i7.UiTranslatePipe, typeof i8.BadgeComponentModule], [typeof TagComponent]>;
|
|
160
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TagComponentModule>;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
type TagColor = 'teal' | 'petrol' | 'grey' | 'red' | 'gold';
|
|
164
|
-
|
|
165
|
-
export { TagComponent, TagComponentModule };
|
|
166
|
-
export type { TagColor };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/tag" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { IconColor, IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TagComponent implements AfterViewInit, OnInit {
|
|
6
|
+
private readonly defaultAppTheme;
|
|
7
|
+
/**
|
|
8
|
+
* Tag's label
|
|
9
|
+
*
|
|
10
|
+
* @memberof TagComponent
|
|
11
|
+
*/
|
|
12
|
+
set label(value: string);
|
|
13
|
+
/**
|
|
14
|
+
* Icon
|
|
15
|
+
*
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof TagComponent
|
|
18
|
+
*/
|
|
19
|
+
icon: IconName;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to allow the tag to be closed.
|
|
22
|
+
*
|
|
23
|
+
* @type {boolean}
|
|
24
|
+
* @default false
|
|
25
|
+
* @memberof TagComponent
|
|
26
|
+
*/
|
|
27
|
+
allowClose: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the tag is in read-only mode.
|
|
30
|
+
*
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @default false
|
|
33
|
+
* @memberof TagComponent
|
|
34
|
+
*/
|
|
35
|
+
readOnly: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the tag is selected.
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @default false
|
|
41
|
+
* @memberof TagComponent
|
|
42
|
+
*/
|
|
43
|
+
isSelected: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Display icon when is selected
|
|
46
|
+
*
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @default false
|
|
49
|
+
* @memberof TagComponent
|
|
50
|
+
*/
|
|
51
|
+
showIconWhenSelected: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Specifies whether the element is disabled.
|
|
54
|
+
*
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @default false
|
|
57
|
+
* @memberof TagComponent
|
|
58
|
+
*/
|
|
59
|
+
isDisabled: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* Defines the application theme
|
|
63
|
+
*
|
|
64
|
+
* @type {ApplicationTheme}
|
|
65
|
+
* @memberof TagComponent
|
|
66
|
+
*/
|
|
67
|
+
applicationTheme: ApplicationTheme;
|
|
68
|
+
/**
|
|
69
|
+
* A string representing the ARIA label for accessibility.
|
|
70
|
+
* This label is used to provide an accessible name for the input element.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof TagComponent
|
|
73
|
+
*/
|
|
74
|
+
ariaLabel: string;
|
|
75
|
+
/**
|
|
76
|
+
* A string representing the ARIA requirement for accessibility.
|
|
77
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof TagComponent
|
|
80
|
+
*/
|
|
81
|
+
ariaRequired: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Whether to show the badge on the tag.
|
|
84
|
+
* @type {boolean}
|
|
85
|
+
* @default false
|
|
86
|
+
* @memberof TagComponent
|
|
87
|
+
*/
|
|
88
|
+
showBadge: import("@angular/core").InputSignal<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* The notifications amount to be displayed on the badge.
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @default 0
|
|
93
|
+
* @memberof TagComponent
|
|
94
|
+
*/
|
|
95
|
+
notificationsAmount: import("@angular/core").InputSignal<number>;
|
|
96
|
+
/**
|
|
97
|
+
* Event triggered when the tag should be closed.
|
|
98
|
+
*
|
|
99
|
+
* @event
|
|
100
|
+
* @memberof TagComponent
|
|
101
|
+
*/
|
|
102
|
+
close: EventEmitter<void>;
|
|
103
|
+
/**
|
|
104
|
+
* Event triggered when a press action occurs.
|
|
105
|
+
*
|
|
106
|
+
* @event
|
|
107
|
+
* @memberof TagComponent
|
|
108
|
+
*/
|
|
109
|
+
press: EventEmitter<boolean>;
|
|
110
|
+
/**
|
|
111
|
+
* Subject that needs to be triggered when Label input changes, to check if it's truncated
|
|
112
|
+
* @private
|
|
113
|
+
* @type {void}
|
|
114
|
+
* @memberof TagComponent
|
|
115
|
+
*/
|
|
116
|
+
private checkLabelEllipsis$;
|
|
117
|
+
/**
|
|
118
|
+
* Observable that indicates if the Label is truncated
|
|
119
|
+
* debounceTime is used to wait for view to be initialized after receiving a new Label input
|
|
120
|
+
* @protected
|
|
121
|
+
* @type {boolean}
|
|
122
|
+
* @memberof TagComponent
|
|
123
|
+
*/
|
|
124
|
+
protected isEllipseActiveObs$: import("rxjs").Observable<boolean>;
|
|
125
|
+
protected labelText: string;
|
|
126
|
+
protected isHovered: boolean;
|
|
127
|
+
protected shrink: boolean;
|
|
128
|
+
protected iconToPass: IconName;
|
|
129
|
+
protected iconColor: IconColor;
|
|
130
|
+
protected closeBtnFocused: import("@angular/core").WritableSignal<boolean>;
|
|
131
|
+
labelElement: ElementRef<HTMLElement>;
|
|
132
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
133
|
+
ngOnInit(): void;
|
|
134
|
+
ngAfterViewInit(): void;
|
|
135
|
+
onPress(): void;
|
|
136
|
+
setHoverState(state: boolean): void;
|
|
137
|
+
setShrinkState(state: boolean): void;
|
|
138
|
+
onClose(): void;
|
|
139
|
+
private isLabelEllipseActive;
|
|
140
|
+
get tabIndex(): number;
|
|
141
|
+
get filled(): boolean;
|
|
142
|
+
onKeydown($event: KeyboardEvent): void;
|
|
143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, [{ optional: true; }]>;
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "ui-tag", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "allowClose": { "alias": "allowClose"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "showIconWhenSelected": { "alias": "showIconWhenSelected"; "required": false; }; "isDisabled": { "alias": "isDisabled"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "showBadge": { "alias": "showBadge"; "required": false; "isSignal": true; }; "notificationsAmount": { "alias": "notificationsAmount"; "required": false; "isSignal": true; }; }, { "close": "close"; "press": "press"; }, never, never, false, never>;
|
|
145
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./tag.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@testgorilla/tgo-ui/components/icon";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/tooltip";
|
|
6
|
+
import * as i5 from "@angular/material/tooltip";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
import * as i7 from "@testgorilla/tgo-ui/components/core";
|
|
9
|
+
import * as i8 from "@testgorilla/tgo-ui/components/badge";
|
|
10
|
+
export declare class TagComponentModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponentModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TagComponentModule, [typeof i1.TagComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.TooltipComponentModule, typeof i5.MatTooltipModule, typeof i6.MatInputModule, typeof i7.UiTranslatePipe, typeof i8.BadgeComponentModule], [typeof i1.TagComponent]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TagComponentModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TagColor = 'teal' | 'petrol' | 'grey' | 'red' | 'gold';
|