@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,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./stepper.component";
|
|
3
|
+
import * as i2 from "./step-line-element.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/icon";
|
|
6
|
+
import * as i5 from "./step.component.module";
|
|
7
|
+
import * as i6 from "@angular/material/progress-spinner";
|
|
8
|
+
import * as i7 from "@testgorilla/tgo-ui/components/radial-progress";
|
|
9
|
+
import * as i8 from "@testgorilla/tgo-ui/components/core";
|
|
10
|
+
import * as i9 from "@angular/material/input";
|
|
11
|
+
export declare class StepperComponentModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponentModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StepperComponentModule, [typeof i1.StepperComponent, typeof i2.StepLineElementDirective], [typeof i3.CommonModule, typeof i4.IconComponentModule, typeof i5.StepComponentModule, typeof i6.MatProgressSpinnerModule, typeof i7.RadialProgressComponentModule, typeof i8.UiTranslatePipe, typeof i9.MatInputModule], [typeof i1.StepperComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StepperComponentModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
export interface Step {
|
|
4
|
+
label: string;
|
|
5
|
+
isVisited?: boolean;
|
|
6
|
+
iconName?: IconName;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
submitted?: boolean;
|
|
9
|
+
showIconWhenSelected?: boolean;
|
|
10
|
+
htmlDescription?: HtmlDescription[];
|
|
11
|
+
boldLabel?: boolean;
|
|
12
|
+
descriptionTpl?: TemplateRef<any>;
|
|
13
|
+
labelTooltip?: string;
|
|
14
|
+
alwaysShowIcon?: boolean;
|
|
15
|
+
context?: any;
|
|
16
|
+
}
|
|
17
|
+
export interface HtmlDescription {
|
|
18
|
+
text?: string;
|
|
19
|
+
iconName?: IconName;
|
|
20
|
+
iconTooltip?: string;
|
|
21
|
+
}
|
|
22
|
+
export type StepperPosition = 'horizontal' | 'vertical';
|
|
23
|
+
export type StepperVariation = 'primary' | 'secondary';
|
|
@@ -1,253 +1,5 @@
|
|
|
1
|
-
import * as _angular_material_paginator from '@angular/material/paginator';
|
|
2
|
-
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
|
-
import { Type, TemplateRef, OnChanges, AfterViewInit, OnInit, EventEmitter, ElementRef, DestroyRef, SimpleChanges, PipeTransform } from '@angular/core';
|
|
5
|
-
import * as i11 from '@testgorilla/tgo-ui/components/core';
|
|
6
|
-
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
import * as i4 from '@angular/material/table';
|
|
9
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
10
|
-
import * as i9 from '@angular/material/sort';
|
|
11
|
-
import { Sort as Sort$1 } from '@angular/material/sort';
|
|
12
|
-
import { Observable, BehaviorSubject } from 'rxjs';
|
|
13
|
-
import * as i3 from '@angular/common';
|
|
14
|
-
import * as i5 from '@angular/material/tooltip';
|
|
15
|
-
import * as i6 from '@testgorilla/tgo-ui/components/skeleton';
|
|
16
|
-
import * as i7 from '@testgorilla/tgo-ui/components/paginator';
|
|
17
|
-
import * as i8 from '@testgorilla/tgo-ui/components/button';
|
|
18
|
-
import * as i10 from '@testgorilla/tgo-ui/components/icon';
|
|
19
|
-
|
|
20
|
-
interface TableConfig<T = any> {
|
|
21
|
-
columns: TableColumn<T>[];
|
|
22
|
-
pagination?: Pagination;
|
|
23
|
-
title?: string;
|
|
24
|
-
width?: number;
|
|
25
|
-
sort?: Sort;
|
|
26
|
-
hidePagination?: boolean;
|
|
27
|
-
noDataRowTpl?: TemplateRef<any>;
|
|
28
|
-
sortable?: boolean;
|
|
29
|
-
}
|
|
30
|
-
interface TableConfigWithPagination<T> extends TableConfig<T> {
|
|
31
|
-
pagination?: Pagination;
|
|
32
|
-
}
|
|
33
|
-
interface TableColumn<T = any> {
|
|
34
|
-
title?: string;
|
|
35
|
-
key: string;
|
|
36
|
-
allowMultiline?: boolean;
|
|
37
|
-
bold?: boolean;
|
|
38
|
-
showTooltip?: boolean;
|
|
39
|
-
tooltip?: string;
|
|
40
|
-
allowSort?: boolean;
|
|
41
|
-
isSticky?: boolean;
|
|
42
|
-
headerCellTemplate?: TemplateRef<any>;
|
|
43
|
-
rowCellTemplate?: TemplateRef<any>;
|
|
44
|
-
rowCellTemplateClick?: () => any;
|
|
45
|
-
sortHeader?: string;
|
|
46
|
-
hidden?: boolean;
|
|
47
|
-
order?: number;
|
|
48
|
-
fontSize?: '12px' | '14px';
|
|
49
|
-
field?: string;
|
|
50
|
-
type?: ColumnType;
|
|
51
|
-
function?: (v: T) => string;
|
|
52
|
-
renderer?: (v: T) => ComponentRenderer | string;
|
|
53
|
-
styles?: ColumnStyles;
|
|
54
|
-
sortStart?: SortDirection;
|
|
55
|
-
uniqueId?: string;
|
|
56
|
-
}
|
|
57
|
-
interface Pagination {
|
|
58
|
-
itemsPerPageOptions: number[];
|
|
59
|
-
itemsPerPage: number;
|
|
60
|
-
currentPage: number;
|
|
61
|
-
totalItems: number;
|
|
62
|
-
}
|
|
63
|
-
type TableData = Record<string, any>[];
|
|
64
|
-
interface ColumnEllipse {
|
|
65
|
-
index: number;
|
|
66
|
-
showTooltip: boolean;
|
|
67
|
-
}
|
|
68
|
-
interface Sort {
|
|
69
|
-
active: string;
|
|
70
|
-
direction: SortDirection;
|
|
71
|
-
defaultSortStart?: SortDirection;
|
|
72
|
-
}
|
|
73
|
-
type SortDirection = 'asc' | 'desc' | '';
|
|
74
|
-
interface TableDetailColumn<T, TDetail> {
|
|
75
|
-
columnDefs: TableColumn<TDetail>[];
|
|
76
|
-
setDetailRowData: (params: DetailRowDataParams<T, TDetail>) => void;
|
|
77
|
-
}
|
|
78
|
-
interface DetailRowDataParams<T, TDetail> {
|
|
79
|
-
data: T;
|
|
80
|
-
setDetailDataSource(rowData: TDetail[]): void;
|
|
81
|
-
}
|
|
82
|
-
declare enum ColumnType {
|
|
83
|
-
FIELD = "field",
|
|
84
|
-
FUNCTION = "function",
|
|
85
|
-
RENDERER = "renderer"
|
|
86
|
-
}
|
|
87
|
-
interface ComponentRenderer {
|
|
88
|
-
component: Type<any>;
|
|
89
|
-
inputs?: any;
|
|
90
|
-
outputs?: {
|
|
91
|
-
[key: string]: any;
|
|
92
|
-
};
|
|
93
|
-
}
|
|
94
|
-
interface ColumnStyles {
|
|
95
|
-
alignment?: ColumnAlignment;
|
|
96
|
-
width?: string;
|
|
97
|
-
'min-width'?: string;
|
|
98
|
-
padding?: string;
|
|
99
|
-
}
|
|
100
|
-
declare enum ColumnAlignment {
|
|
101
|
-
LEFT = "left",
|
|
102
|
-
RIGHT = "right",
|
|
103
|
-
CENTER = "center"
|
|
104
|
-
}
|
|
105
|
-
declare enum ColumnTypeEnum {
|
|
106
|
-
FIELD = "field",
|
|
107
|
-
FUNCTION = "function",
|
|
108
|
-
RENDERER = "renderer"
|
|
109
|
-
}
|
|
110
|
-
declare enum ColumnAlignmentEnum {
|
|
111
|
-
LEFT = "left",
|
|
112
|
-
RIGHT = "right",
|
|
113
|
-
CENTER = "center"
|
|
114
|
-
}
|
|
115
|
-
type DataSource = {
|
|
116
|
-
[key: string]: any;
|
|
117
|
-
};
|
|
118
|
-
type ScrollSettings = {
|
|
119
|
-
scrollEnd: boolean;
|
|
120
|
-
horizontalScroll: boolean;
|
|
121
|
-
scrollStart: boolean;
|
|
122
|
-
};
|
|
123
|
-
|
|
124
|
-
declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges, AfterViewInit, OnInit {
|
|
125
|
-
private readonly defaultAppTheme;
|
|
126
|
-
private destroyRef;
|
|
127
|
-
protected readonly isMobile$: Observable<boolean>;
|
|
128
|
-
/**
|
|
129
|
-
* Table configuration
|
|
130
|
-
*
|
|
131
|
-
* @type {TableConfig}
|
|
132
|
-
* @memberof TableComponent
|
|
133
|
-
*/
|
|
134
|
-
config: TableConfigWithPagination<T>;
|
|
135
|
-
/**
|
|
136
|
-
* Input property for providing the table data.
|
|
137
|
-
*
|
|
138
|
-
* @type {TableData}
|
|
139
|
-
* @memberof TableComponent
|
|
140
|
-
*/
|
|
141
|
-
data: TableData;
|
|
142
|
-
/**
|
|
143
|
-
* Input property indicating whether the table is in a loading state.
|
|
144
|
-
*
|
|
145
|
-
* @type {boolean}
|
|
146
|
-
* @memberof TableComponent
|
|
147
|
-
* @default false
|
|
148
|
-
*/
|
|
149
|
-
loading: boolean;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* Defines the application theme
|
|
153
|
-
* @type {ApplicationTheme}
|
|
154
|
-
* @memberof TableComponent
|
|
155
|
-
*/
|
|
156
|
-
applicationTheme: ApplicationTheme;
|
|
157
|
-
/**
|
|
158
|
-
* Data structure to select which columns should be rendered and their capabilities
|
|
159
|
-
*
|
|
160
|
-
* @type {TableDetailColumn}
|
|
161
|
-
* @memberof TableComponent
|
|
162
|
-
*/
|
|
163
|
-
tableDetailColumns: TableDetailColumn<T, TDetail>;
|
|
164
|
-
tableDetails: boolean;
|
|
165
|
-
/**
|
|
166
|
-
* Disable border radius for table
|
|
167
|
-
*
|
|
168
|
-
* @type {boolean}
|
|
169
|
-
* @memberof TableComponent
|
|
170
|
-
*/
|
|
171
|
-
disableBorderRadius: boolean;
|
|
172
|
-
/**
|
|
173
|
-
* Condensed table
|
|
174
|
-
*
|
|
175
|
-
* @type {boolean}
|
|
176
|
-
* @memberof TableComponent
|
|
177
|
-
*/
|
|
178
|
-
isCondensed: boolean;
|
|
179
|
-
/**
|
|
180
|
-
* Sticky header
|
|
181
|
-
*
|
|
182
|
-
* @type {boolean}
|
|
183
|
-
* @memberof TableComponent
|
|
184
|
-
*/
|
|
185
|
-
stickyHeader: boolean;
|
|
186
|
-
/**
|
|
187
|
-
* Max height
|
|
188
|
-
*
|
|
189
|
-
* @type {string}
|
|
190
|
-
* @memberof TableComponent
|
|
191
|
-
*/
|
|
192
|
-
maxHeight: string;
|
|
193
|
-
onRowClickEvent: EventEmitter<any>;
|
|
194
|
-
onDetailRowClickEvent: EventEmitter<any>;
|
|
195
|
-
paginatorChange: EventEmitter<PageEvent>;
|
|
196
|
-
sortChange: EventEmitter<Sort$1>;
|
|
197
|
-
table: ElementRef;
|
|
198
|
-
protected tableData: TableData;
|
|
199
|
-
protected sourceData: TableData;
|
|
200
|
-
protected columnsTooltipState: ColumnEllipse[];
|
|
201
|
-
protected tableConfig: TableConfigWithPagination<T>;
|
|
202
|
-
protected displayedColumns: string[];
|
|
203
|
-
protected columnsDetailToDisplay: string[];
|
|
204
|
-
protected skeletonStyleConfig: {
|
|
205
|
-
background: string;
|
|
206
|
-
'border-radius': string;
|
|
207
|
-
height: string;
|
|
208
|
-
};
|
|
209
|
-
protected dataSourceDetail: MatTableDataSource<any, _angular_material_paginator.MatPaginator>;
|
|
210
|
-
protected elementDetail: any;
|
|
211
|
-
protected readonly DataType: typeof ColumnType;
|
|
212
|
-
protected scrollSettings$: BehaviorSubject<ScrollSettings>;
|
|
213
|
-
constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
|
|
214
|
-
ngOnInit(): void;
|
|
215
|
-
ngAfterViewInit(): void;
|
|
216
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
217
|
-
hasTableScroll(): void;
|
|
218
|
-
callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): any;
|
|
219
|
-
protected onPaginatorChange(event: PageEvent): void;
|
|
220
|
-
protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
|
|
221
|
-
protected onSortChange(sortState: Sort$1, emitEvent?: boolean): void;
|
|
222
|
-
protected onRowClick(rowParams: any, rowIndex: number): void;
|
|
223
|
-
protected onDetailRowClick(rowParams: any): void;
|
|
224
|
-
protected toggleRow(element: T): void;
|
|
225
|
-
private setTableDetailDataSource;
|
|
226
|
-
private setTableConfig;
|
|
227
|
-
private setTableData;
|
|
228
|
-
private defaultPaginationConfig;
|
|
229
|
-
trackColumnUniqueId: (index: number, column: TableColumn<T>) => string;
|
|
230
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
|
|
231
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "ui-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; "tableDetails": { "alias": "tableDetails"; "required": false; }; "disableBorderRadius": { "alias": "disableBorderRadius"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], false, never>;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
declare class SentenceCasePipe implements PipeTransform {
|
|
235
|
-
transform(value: string | undefined): string;
|
|
236
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SentenceCasePipe, never>;
|
|
237
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase", false>;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
declare class TableComponentModule {
|
|
241
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
|
|
242
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof TableComponent, typeof SentenceCasePipe], [typeof i3.CommonModule, typeof i4.MatTableModule, typeof i5.MatTooltipModule, typeof i6.SkeletonComponent, typeof i7.PaginatorComponentModule, typeof i8.ButtonComponentModule, typeof i9.MatSortModule, typeof i10.IconComponentModule, typeof i11.EllipseTextDirective, typeof i11.DynamicComponentDirective, typeof i11.DataPropertyGetterPipe, typeof i11.MemoizeFuncPipe], [typeof TableComponent]>;
|
|
243
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
1
|
/**
|
|
247
|
-
*
|
|
248
|
-
* The rest columns keep the same ordering and displayed after the sorted ones.
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
249
3
|
*/
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
export { ColumnAlignment, ColumnAlignmentEnum, ColumnType, ColumnTypeEnum, SentenceCasePipe, TableComponent, TableComponentModule, sortByOrder };
|
|
253
|
-
export type { ColumnEllipse, ColumnStyles, ComponentRenderer, DataSource, DetailRowDataParams, Pagination, ScrollSettings, Sort, SortDirection, TableColumn, TableConfig, TableConfigWithPagination, TableData, TableDetailColumn };
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/table" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SentenceCasePipe implements PipeTransform {
|
|
4
|
+
transform(value: string | undefined): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SentenceCasePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SentenceCasePipe, "sentencecase", false>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { AfterViewInit, DestroyRef, ElementRef, EventEmitter, OnChanges, SimpleChanges, OnInit } from '@angular/core';
|
|
2
|
+
import { ColumnEllipse, ColumnType, ComponentRenderer, DataSource, ScrollSettings, TableColumn, TableConfigWithPagination, TableData, TableDetailColumn } from './table.model';
|
|
3
|
+
import { PageEvent } from '@angular/material/paginator';
|
|
4
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
+
import { Sort } from '@angular/material/sort';
|
|
7
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class TableComponent<T extends DataSource, TDetail extends DataSource> implements OnChanges, AfterViewInit, OnInit {
|
|
10
|
+
private readonly defaultAppTheme;
|
|
11
|
+
private destroyRef;
|
|
12
|
+
protected readonly isMobile$: Observable<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* Table configuration
|
|
15
|
+
*
|
|
16
|
+
* @type {TableConfig}
|
|
17
|
+
* @memberof TableComponent
|
|
18
|
+
*/
|
|
19
|
+
config: TableConfigWithPagination<T>;
|
|
20
|
+
/**
|
|
21
|
+
* Input property for providing the table data.
|
|
22
|
+
*
|
|
23
|
+
* @type {TableData}
|
|
24
|
+
* @memberof TableComponent
|
|
25
|
+
*/
|
|
26
|
+
data: TableData;
|
|
27
|
+
/**
|
|
28
|
+
* Input property indicating whether the table is in a loading state.
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof TableComponent
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
loading: boolean;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* Defines the application theme
|
|
38
|
+
* @type {ApplicationTheme}
|
|
39
|
+
* @memberof TableComponent
|
|
40
|
+
*/
|
|
41
|
+
applicationTheme: ApplicationTheme;
|
|
42
|
+
/**
|
|
43
|
+
* Data structure to select which columns should be rendered and their capabilities
|
|
44
|
+
*
|
|
45
|
+
* @type {TableDetailColumn}
|
|
46
|
+
* @memberof TableComponent
|
|
47
|
+
*/
|
|
48
|
+
tableDetailColumns: TableDetailColumn<T, TDetail>;
|
|
49
|
+
tableDetails: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Disable border radius for table
|
|
52
|
+
*
|
|
53
|
+
* @type {boolean}
|
|
54
|
+
* @memberof TableComponent
|
|
55
|
+
*/
|
|
56
|
+
disableBorderRadius: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Condensed table
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof TableComponent
|
|
62
|
+
*/
|
|
63
|
+
isCondensed: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Sticky header
|
|
66
|
+
*
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof TableComponent
|
|
69
|
+
*/
|
|
70
|
+
stickyHeader: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Max height
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof TableComponent
|
|
76
|
+
*/
|
|
77
|
+
maxHeight: string;
|
|
78
|
+
onRowClickEvent: EventEmitter<any>;
|
|
79
|
+
onDetailRowClickEvent: EventEmitter<any>;
|
|
80
|
+
paginatorChange: EventEmitter<PageEvent>;
|
|
81
|
+
sortChange: EventEmitter<Sort>;
|
|
82
|
+
table: ElementRef;
|
|
83
|
+
protected tableData: TableData;
|
|
84
|
+
protected sourceData: TableData;
|
|
85
|
+
protected columnsTooltipState: ColumnEllipse[];
|
|
86
|
+
protected tableConfig: TableConfigWithPagination<T>;
|
|
87
|
+
protected displayedColumns: string[];
|
|
88
|
+
protected columnsDetailToDisplay: string[];
|
|
89
|
+
protected skeletonStyleConfig: {
|
|
90
|
+
background: string;
|
|
91
|
+
'border-radius': string;
|
|
92
|
+
height: string;
|
|
93
|
+
};
|
|
94
|
+
protected dataSourceDetail: MatTableDataSource<any, import("@angular/material/paginator.d-CexYxFq4").M>;
|
|
95
|
+
protected elementDetail: any;
|
|
96
|
+
protected readonly DataType: typeof ColumnType;
|
|
97
|
+
protected scrollSettings$: BehaviorSubject<ScrollSettings>;
|
|
98
|
+
constructor(defaultAppTheme: ApplicationTheme, destroyRef: DestroyRef, isMobile$: Observable<boolean>);
|
|
99
|
+
ngOnInit(): void;
|
|
100
|
+
ngAfterViewInit(): void;
|
|
101
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
102
|
+
hasTableScroll(): void;
|
|
103
|
+
callRenderer([rendererFn, element]: [(v: T) => ComponentRenderer | string, T]): any;
|
|
104
|
+
protected onPaginatorChange(event: PageEvent): void;
|
|
105
|
+
protected onChangeColumnSize(columnIndex: number, showTooltip: boolean): void;
|
|
106
|
+
protected onSortChange(sortState: Sort, emitEvent?: boolean): void;
|
|
107
|
+
protected onRowClick(rowParams: any, rowIndex: number): void;
|
|
108
|
+
protected onDetailRowClick(rowParams: any): void;
|
|
109
|
+
protected toggleRow(element: T): void;
|
|
110
|
+
private setTableDetailDataSource;
|
|
111
|
+
private setTableConfig;
|
|
112
|
+
private setTableData;
|
|
113
|
+
private defaultPaginationConfig;
|
|
114
|
+
trackColumnUniqueId: (index: number, column: TableColumn<T>) => string;
|
|
115
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any, any>, [{ optional: true; }, null, null]>;
|
|
116
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any, any>, "ui-table", never, { "config": { "alias": "config"; "required": true; }; "data": { "alias": "data"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "tableDetailColumns": { "alias": "tableDetailColumns"; "required": false; }; "tableDetails": { "alias": "tableDetails"; "required": false; }; "disableBorderRadius": { "alias": "disableBorderRadius"; "required": false; }; "isCondensed": { "alias": "isCondensed"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "onRowClickEvent": "onRowClickEvent"; "onDetailRowClickEvent": "onDetailRowClickEvent"; "paginatorChange": "paginatorChange"; "sortChange": "sortChange"; }, never, ["[title-actions]"], false, never>;
|
|
117
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table.component";
|
|
3
|
+
import * as i2 from "./sentence-case.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/table";
|
|
6
|
+
import * as i5 from "@angular/material/tooltip";
|
|
7
|
+
import * as i6 from "@testgorilla/tgo-ui/components/skeleton";
|
|
8
|
+
import * as i7 from "@testgorilla/tgo-ui/components/paginator";
|
|
9
|
+
import * as i8 from "@testgorilla/tgo-ui/components/button";
|
|
10
|
+
import * as i9 from "@angular/material/sort";
|
|
11
|
+
import * as i10 from "@testgorilla/tgo-ui/components/icon";
|
|
12
|
+
import * as i11 from "@testgorilla/tgo-ui/components/core";
|
|
13
|
+
export declare class TableComponentModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponentModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TableComponentModule, [typeof i1.TableComponent, typeof i2.SentenceCasePipe], [typeof i3.CommonModule, typeof i4.MatTableModule, typeof i5.MatTooltipModule, typeof i6.SkeletonComponent, typeof i7.PaginatorComponentModule, typeof i8.ButtonComponentModule, typeof i9.MatSortModule, typeof i10.IconComponentModule, typeof i11.EllipseTextDirective, typeof i11.DynamicComponentDirective, typeof i11.DataPropertyGetterPipe, typeof i11.MemoizeFuncPipe], [typeof i1.TableComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TableComponentModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
|
2
|
+
export interface TableConfig<T = any> {
|
|
3
|
+
columns: TableColumn<T>[];
|
|
4
|
+
pagination?: Pagination;
|
|
5
|
+
title?: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
sort?: Sort;
|
|
8
|
+
hidePagination?: boolean;
|
|
9
|
+
noDataRowTpl?: TemplateRef<any>;
|
|
10
|
+
sortable?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface TableConfigWithPagination<T> extends TableConfig<T> {
|
|
13
|
+
pagination?: Pagination;
|
|
14
|
+
}
|
|
15
|
+
export interface TableColumn<T = any> {
|
|
16
|
+
title?: string;
|
|
17
|
+
key: string;
|
|
18
|
+
allowMultiline?: boolean;
|
|
19
|
+
bold?: boolean;
|
|
20
|
+
showTooltip?: boolean;
|
|
21
|
+
tooltip?: string;
|
|
22
|
+
allowSort?: boolean;
|
|
23
|
+
isSticky?: boolean;
|
|
24
|
+
headerCellTemplate?: TemplateRef<any>;
|
|
25
|
+
rowCellTemplate?: TemplateRef<any>;
|
|
26
|
+
rowCellTemplateClick?: () => any;
|
|
27
|
+
sortHeader?: string;
|
|
28
|
+
hidden?: boolean;
|
|
29
|
+
order?: number;
|
|
30
|
+
fontSize?: '12px' | '14px';
|
|
31
|
+
field?: string;
|
|
32
|
+
type?: ColumnType;
|
|
33
|
+
function?: (v: T) => string;
|
|
34
|
+
renderer?: (v: T) => ComponentRenderer | string;
|
|
35
|
+
styles?: ColumnStyles;
|
|
36
|
+
sortStart?: SortDirection;
|
|
37
|
+
uniqueId?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface Pagination {
|
|
40
|
+
itemsPerPageOptions: number[];
|
|
41
|
+
itemsPerPage: number;
|
|
42
|
+
currentPage: number;
|
|
43
|
+
totalItems: number;
|
|
44
|
+
}
|
|
45
|
+
export type TableData = Record<string, any>[];
|
|
46
|
+
export interface ColumnEllipse {
|
|
47
|
+
index: number;
|
|
48
|
+
showTooltip: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface Sort {
|
|
51
|
+
active: string;
|
|
52
|
+
direction: SortDirection;
|
|
53
|
+
defaultSortStart?: SortDirection;
|
|
54
|
+
}
|
|
55
|
+
export type SortDirection = 'asc' | 'desc' | '';
|
|
56
|
+
export interface TableDetailColumn<T, TDetail> {
|
|
57
|
+
columnDefs: TableColumn<TDetail>[];
|
|
58
|
+
setDetailRowData: (params: DetailRowDataParams<T, TDetail>) => void;
|
|
59
|
+
}
|
|
60
|
+
export interface DetailRowDataParams<T, TDetail> {
|
|
61
|
+
data: T;
|
|
62
|
+
setDetailDataSource(rowData: TDetail[]): void;
|
|
63
|
+
}
|
|
64
|
+
export declare enum ColumnType {
|
|
65
|
+
FIELD = "field",
|
|
66
|
+
FUNCTION = "function",
|
|
67
|
+
RENDERER = "renderer"
|
|
68
|
+
}
|
|
69
|
+
export interface ComponentRenderer {
|
|
70
|
+
component: Type<any>;
|
|
71
|
+
inputs?: any;
|
|
72
|
+
outputs?: {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
export interface ColumnStyles {
|
|
77
|
+
alignment?: ColumnAlignment;
|
|
78
|
+
width?: string;
|
|
79
|
+
'min-width'?: string;
|
|
80
|
+
padding?: string;
|
|
81
|
+
}
|
|
82
|
+
export declare enum ColumnAlignment {
|
|
83
|
+
LEFT = "left",
|
|
84
|
+
RIGHT = "right",
|
|
85
|
+
CENTER = "center"
|
|
86
|
+
}
|
|
87
|
+
export declare enum ColumnTypeEnum {
|
|
88
|
+
FIELD = "field",
|
|
89
|
+
FUNCTION = "function",
|
|
90
|
+
RENDERER = "renderer"
|
|
91
|
+
}
|
|
92
|
+
export declare enum ColumnAlignmentEnum {
|
|
93
|
+
LEFT = "left",
|
|
94
|
+
RIGHT = "right",
|
|
95
|
+
CENTER = "center"
|
|
96
|
+
}
|
|
97
|
+
export type DataSource = {
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
};
|
|
100
|
+
export type ScrollSettings = {
|
|
101
|
+
scrollEnd: boolean;
|
|
102
|
+
horizontalScroll: boolean;
|
|
103
|
+
scrollStart: boolean;
|
|
104
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TableColumn } from './table.model';
|
|
2
|
+
/**
|
|
3
|
+
* Sorting table columns by order value if set.
|
|
4
|
+
* The rest columns keep the same ordering and displayed after the sorted ones.
|
|
5
|
+
*/
|
|
6
|
+
export declare const sortByOrder: <T>(columns: TableColumn<T>[]) => TableColumn<T>[];
|