@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,97 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as i4 from '@angular/material/input';
|
|
7
|
-
|
|
8
|
-
type RatingComponentTheme = 'stars' | 'block';
|
|
9
|
-
declare class RatingComponent {
|
|
10
|
-
private readonly defaultAppTheme;
|
|
11
|
-
private readonly MIN_LENGTH;
|
|
12
|
-
private readonly DEFAULT_LENGTH;
|
|
13
|
-
protected items: number[];
|
|
14
|
-
protected hoverIndex: number;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* Defines the application theme where accordion is used
|
|
18
|
-
*
|
|
19
|
-
* @type {ApplicationTheme}
|
|
20
|
-
* @memberof AccordionComponent
|
|
21
|
-
*/
|
|
22
|
-
applicationTheme: ApplicationTheme;
|
|
23
|
-
/**
|
|
24
|
-
* The value representing the rating.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof RatingComponent
|
|
27
|
-
*/
|
|
28
|
-
value: number;
|
|
29
|
-
/**
|
|
30
|
-
* The theme of the rating component. Defaults "block".
|
|
31
|
-
* @type {RatingComponentTheme}
|
|
32
|
-
* @memberof RatingComponent
|
|
33
|
-
*/
|
|
34
|
-
theme: RatingComponentTheme;
|
|
35
|
-
/**
|
|
36
|
-
* A flag indicating whether the rating component is disabled.
|
|
37
|
-
* @type {boolean}
|
|
38
|
-
* @memberof RatingComponent
|
|
39
|
-
*/
|
|
40
|
-
disabled: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* A string representing the ARIA label for accessibility.
|
|
43
|
-
* This label is used to provide an accessible name for the input element.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof RatingComponent
|
|
46
|
-
*/
|
|
47
|
-
ariaLabel: string;
|
|
48
|
-
/**
|
|
49
|
-
* A string representing the ARIA requirement for accessibility.
|
|
50
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
51
|
-
* @type {boolean}
|
|
52
|
-
* @memberof RatingComponent
|
|
53
|
-
*/
|
|
54
|
-
ariaRequired: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* The width of the rating bar.
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof RatingComponent
|
|
59
|
-
*/
|
|
60
|
-
barWidth: number;
|
|
61
|
-
/**
|
|
62
|
-
* A flag indicating whether the rating can be unselected by clicking on the same value.
|
|
63
|
-
* When false, clicking on the same value will not change the rating.
|
|
64
|
-
* @type {boolean}
|
|
65
|
-
* @memberof RatingComponent
|
|
66
|
-
*/
|
|
67
|
-
canUnselect: boolean;
|
|
68
|
-
set length(length: number);
|
|
69
|
-
valueChange: EventEmitter<number>;
|
|
70
|
-
constructor(defaultAppTheme: ApplicationTheme);
|
|
71
|
-
protected select(index: number): void;
|
|
72
|
-
protected onHover(index: number): void;
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, [{ optional: true; }]>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "ui-rating", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "value": { "alias": "value"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "barWidth": { "alias": "barWidth"; "required": false; }; "canUnselect": { "alias": "canUnselect"; "required": false; }; "length": { "alias": "length"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
declare class HalfStarPipe implements PipeTransform {
|
|
78
|
-
/**
|
|
79
|
-
* @description Used to indicate whether display half-star icon.
|
|
80
|
-
* Returns true if the rounded value of the current element
|
|
81
|
-
* is equal to it's index, and value is not integer (e.g. index = 4, value = 3.5),
|
|
82
|
-
* @param index the index of the current element
|
|
83
|
-
* @param value the value of the current element
|
|
84
|
-
*/
|
|
85
|
-
transform(index: number, value: number): boolean;
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HalfStarPipe, never>;
|
|
87
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<HalfStarPipe, "halfStar", false>;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
declare class RatingComponentModule {
|
|
91
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponentModule, never>;
|
|
92
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RatingComponentModule, [typeof RatingComponent, typeof HalfStarPipe], [typeof i3.CommonModule, typeof i4.MatInputModule], [typeof RatingComponent]>;
|
|
93
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<RatingComponentModule>;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export { RatingComponent, RatingComponentModule };
|
|
97
|
-
export type { RatingComponentTheme };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/rating" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export type RatingComponentTheme = 'stars' | 'block';
|
|
5
|
+
export declare class RatingComponent {
|
|
6
|
+
private readonly defaultAppTheme;
|
|
7
|
+
private readonly MIN_LENGTH;
|
|
8
|
+
private readonly DEFAULT_LENGTH;
|
|
9
|
+
protected items: number[];
|
|
10
|
+
protected hoverIndex: number;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Defines the application theme where accordion is used
|
|
14
|
+
*
|
|
15
|
+
* @type {ApplicationTheme}
|
|
16
|
+
* @memberof AccordionComponent
|
|
17
|
+
*/
|
|
18
|
+
applicationTheme: ApplicationTheme;
|
|
19
|
+
/**
|
|
20
|
+
* The value representing the rating.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof RatingComponent
|
|
23
|
+
*/
|
|
24
|
+
value: number;
|
|
25
|
+
/**
|
|
26
|
+
* The theme of the rating component. Defaults "block".
|
|
27
|
+
* @type {RatingComponentTheme}
|
|
28
|
+
* @memberof RatingComponent
|
|
29
|
+
*/
|
|
30
|
+
theme: RatingComponentTheme;
|
|
31
|
+
/**
|
|
32
|
+
* A flag indicating whether the rating component is disabled.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof RatingComponent
|
|
35
|
+
*/
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* A string representing the ARIA label for accessibility.
|
|
39
|
+
* This label is used to provide an accessible name for the input element.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof RatingComponent
|
|
42
|
+
*/
|
|
43
|
+
ariaLabel: string;
|
|
44
|
+
/**
|
|
45
|
+
* A string representing the ARIA requirement for accessibility.
|
|
46
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof RatingComponent
|
|
49
|
+
*/
|
|
50
|
+
ariaRequired: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The width of the rating bar.
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof RatingComponent
|
|
55
|
+
*/
|
|
56
|
+
barWidth: number;
|
|
57
|
+
/**
|
|
58
|
+
* A flag indicating whether the rating can be unselected by clicking on the same value.
|
|
59
|
+
* When false, clicking on the same value will not change the rating.
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof RatingComponent
|
|
62
|
+
*/
|
|
63
|
+
canUnselect: boolean;
|
|
64
|
+
set length(length: number);
|
|
65
|
+
valueChange: EventEmitter<number>;
|
|
66
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
67
|
+
protected select(index: number): void;
|
|
68
|
+
protected onHover(index: number): void;
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, [{ optional: true; }]>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "ui-rating", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "value": { "alias": "value"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "barWidth": { "alias": "barWidth"; "required": false; }; "canUnselect": { "alias": "canUnselect"; "required": false; }; "length": { "alias": "length"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./rating.component";
|
|
3
|
+
import * as i2 from "./half-star.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/input";
|
|
6
|
+
export declare class RatingComponentModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponentModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RatingComponentModule, [typeof i1.RatingComponent, typeof i2.HalfStarPipe], [typeof i3.CommonModule, typeof i4.MatInputModule], [typeof i1.RatingComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RatingComponentModule>;
|
|
10
|
+
}
|
|
@@ -1,65 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
declare class ScaleComponent implements OnInit, OnChanges {
|
|
8
|
-
private readonly defaultAppTheme;
|
|
9
|
-
private readonly MIN_LENGTH;
|
|
10
|
-
private readonly DEFAULT_LENGTH;
|
|
11
|
-
protected items: number[];
|
|
12
|
-
scaleItems: QueryList<ElementRef>;
|
|
13
|
-
/**
|
|
14
|
-
* The value representing the selected item of the scale.
|
|
15
|
-
* @type {number}
|
|
16
|
-
* @memberof ScaleComponent
|
|
17
|
-
*/
|
|
18
|
-
selectedIndex: number | null;
|
|
19
|
-
/**
|
|
20
|
-
* The max number of items in the scale.
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ScaleComponent
|
|
23
|
-
*/
|
|
24
|
-
set length(length: number);
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* Defines the application theme
|
|
28
|
-
*
|
|
29
|
-
* @type {ApplicationTheme}
|
|
30
|
-
* @memberof ScaleComponent
|
|
31
|
-
*/
|
|
32
|
-
applicationTheme: ApplicationTheme;
|
|
33
|
-
/**
|
|
34
|
-
* Color of the option hover.
|
|
35
|
-
* Defaults to Test Gorilla primary color.
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ScaleComponent
|
|
39
|
-
*/
|
|
40
|
-
companyColor: string;
|
|
41
|
-
selectedIndexChange: EventEmitter<number>;
|
|
42
|
-
styles: i0.WritableSignal<{
|
|
43
|
-
'--hover-color': string;
|
|
44
|
-
'--selected-color': string;
|
|
45
|
-
}>;
|
|
46
|
-
constructor(defaultAppTheme: ApplicationTheme);
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
49
|
-
protected select(index: number): void;
|
|
50
|
-
onKeyDown(event: KeyboardEvent, index: number): void;
|
|
51
|
-
focusItem(index: number): void;
|
|
52
|
-
getAriaLabel(index: number): string;
|
|
53
|
-
private setCompanyColor;
|
|
54
|
-
onFocus(item: number): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleComponent, [{ optional: true; }]>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleComponent, "ui-scale", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, never, false, never>;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
declare class ScaleComponentModule {
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleComponentModule, never>;
|
|
61
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ScaleComponentModule, [typeof ScaleComponent], [typeof i2.CommonModule], [typeof ScaleComponent]>;
|
|
62
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ScaleComponentModule>;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export { ScaleComponent, ScaleComponentModule };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/scale" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScaleComponent implements OnInit, OnChanges {
|
|
5
|
+
private readonly defaultAppTheme;
|
|
6
|
+
private readonly MIN_LENGTH;
|
|
7
|
+
private readonly DEFAULT_LENGTH;
|
|
8
|
+
protected items: number[];
|
|
9
|
+
scaleItems: QueryList<ElementRef>;
|
|
10
|
+
/**
|
|
11
|
+
* The value representing the selected item of the scale.
|
|
12
|
+
* @type {number}
|
|
13
|
+
* @memberof ScaleComponent
|
|
14
|
+
*/
|
|
15
|
+
selectedIndex: number | null;
|
|
16
|
+
/**
|
|
17
|
+
* The max number of items in the scale.
|
|
18
|
+
* @type {number}
|
|
19
|
+
* @memberof ScaleComponent
|
|
20
|
+
*/
|
|
21
|
+
set length(length: number);
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* Defines the application theme
|
|
25
|
+
*
|
|
26
|
+
* @type {ApplicationTheme}
|
|
27
|
+
* @memberof ScaleComponent
|
|
28
|
+
*/
|
|
29
|
+
applicationTheme: ApplicationTheme;
|
|
30
|
+
/**
|
|
31
|
+
* Color of the option hover.
|
|
32
|
+
* Defaults to Test Gorilla primary color.
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ScaleComponent
|
|
36
|
+
*/
|
|
37
|
+
companyColor: string;
|
|
38
|
+
selectedIndexChange: EventEmitter<number>;
|
|
39
|
+
styles: import("@angular/core").WritableSignal<{
|
|
40
|
+
'--hover-color': string;
|
|
41
|
+
'--selected-color': string;
|
|
42
|
+
}>;
|
|
43
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
46
|
+
protected select(index: number): void;
|
|
47
|
+
onKeyDown(event: KeyboardEvent, index: number): void;
|
|
48
|
+
focusItem(index: number): void;
|
|
49
|
+
getAriaLabel(index: number): string;
|
|
50
|
+
private setCompanyColor;
|
|
51
|
+
onFocus(item: number): void;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleComponent, [{ optional: true; }]>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleComponent, "ui-scale", never, { "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, never, false, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./scale.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class ScaleComponentModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleComponentModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScaleComponentModule, [typeof i1.ScaleComponent], [typeof i2.CommonModule], [typeof i1.ScaleComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScaleComponentModule>;
|
|
8
|
+
}
|
|
@@ -1,49 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
length?: number;
|
|
7
|
-
value?: number;
|
|
8
|
-
text: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare class ScaleTableComponent {
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* Defines the application theme
|
|
15
|
-
*
|
|
16
|
-
* @type {ApplicationTheme}
|
|
17
|
-
* @memberof ScaleTableComponent
|
|
18
|
-
*/
|
|
19
|
-
applicationTheme: _angular_core.InputSignal<ApplicationTheme>;
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* Defines items with their text and it's values
|
|
23
|
-
*
|
|
24
|
-
* @type {ScaleTable}
|
|
25
|
-
* @memberof ScaleTableComponent
|
|
26
|
-
*/
|
|
27
|
-
scaleItems: _angular_core.ModelSignal<ScaleItem[]>;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* Defines description of scales
|
|
31
|
-
*
|
|
32
|
-
* @type {string[]}
|
|
33
|
-
* @memberof ScaleTableComponent
|
|
34
|
-
*/
|
|
35
|
-
labels: _angular_core.InputSignal<string[]>;
|
|
36
|
-
hideBetterExperience: _angular_core.ModelSignal<boolean>;
|
|
37
|
-
scaleItemChange: _angular_core.OutputEmitterRef<{
|
|
38
|
-
item: ScaleItem;
|
|
39
|
-
label: string;
|
|
40
|
-
}>;
|
|
41
|
-
scaleCount: _angular_core.Signal<number>;
|
|
42
|
-
protected readonly translationContext = "SCALE_TABLE.";
|
|
43
|
-
select(scaleItemIndex: number, scaleIndex: number): void;
|
|
44
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ScaleTableComponent, never>;
|
|
45
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ScaleTableComponent, "ui-scale-table", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "scaleItems": { "alias": "scaleItems"; "required": true; "isSignal": true; }; "labels": { "alias": "labels"; "required": true; "isSignal": true; }; "hideBetterExperience": { "alias": "hideBetterExperience"; "required": false; "isSignal": true; }; }, { "scaleItems": "scaleItemsChange"; "hideBetterExperience": "hideBetterExperienceChange"; "scaleItemChange": "scaleItemChange"; }, never, never, true, never>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export { ScaleTableComponent };
|
|
49
|
-
export type { ScaleItem };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/scale-table" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
2
|
+
import { ScaleItem } from './scale-table.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScaleTableComponent {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* Defines the application theme
|
|
8
|
+
*
|
|
9
|
+
* @type {ApplicationTheme}
|
|
10
|
+
* @memberof ScaleTableComponent
|
|
11
|
+
*/
|
|
12
|
+
applicationTheme: import("@angular/core").InputSignal<ApplicationTheme>;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* Defines items with their text and it's values
|
|
16
|
+
*
|
|
17
|
+
* @type {ScaleTable}
|
|
18
|
+
* @memberof ScaleTableComponent
|
|
19
|
+
*/
|
|
20
|
+
scaleItems: import("@angular/core").ModelSignal<ScaleItem[]>;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Defines description of scales
|
|
24
|
+
*
|
|
25
|
+
* @type {string[]}
|
|
26
|
+
* @memberof ScaleTableComponent
|
|
27
|
+
*/
|
|
28
|
+
labels: import("@angular/core").InputSignal<string[]>;
|
|
29
|
+
hideBetterExperience: import("@angular/core").ModelSignal<boolean>;
|
|
30
|
+
scaleItemChange: import("@angular/core").OutputEmitterRef<{
|
|
31
|
+
item: ScaleItem;
|
|
32
|
+
label: string;
|
|
33
|
+
}>;
|
|
34
|
+
scaleCount: import("@angular/core").Signal<number>;
|
|
35
|
+
protected readonly translationContext = "SCALE_TABLE.";
|
|
36
|
+
select(scaleItemIndex: number, scaleIndex: number): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleTableComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleTableComponent, "ui-scale-table", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "scaleItems": { "alias": "scaleItems"; "required": true; "isSignal": true; }; "labels": { "alias": "labels"; "required": true; "isSignal": true; }; "hideBetterExperience": { "alias": "hideBetterExperience"; "required": false; "isSignal": true; }; }, { "scaleItems": "scaleItemsChange"; "hideBetterExperience": "hideBetterExperienceChange"; "scaleItemChange": "scaleItemChange"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -1,92 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as i2 from '@angular/common';
|
|
7
|
-
import * as i3 from '@angular/material/tooltip';
|
|
8
|
-
import * as i4 from '@angular/material/input';
|
|
9
|
-
import * as i6 from '@testgorilla/tgo-ui/components/tooltip';
|
|
10
|
-
|
|
11
|
-
type SegmentedBarVariant = 'large' | 'small';
|
|
12
|
-
type SegmentedBarColor = 'teal' | 'rhubarb' | 'light-teal' | 'grey';
|
|
13
|
-
interface SegmentedBar {
|
|
14
|
-
value: number;
|
|
15
|
-
color: SegmentedBarColor;
|
|
16
|
-
tooltip?: string;
|
|
17
|
-
icon?: IconName;
|
|
18
|
-
}
|
|
19
|
-
type SegmentedBarWithPercentage = SegmentedBar & {
|
|
20
|
-
percentage: string;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
declare class SegmentedBarComponent {
|
|
24
|
-
private readonly defaultAppTheme;
|
|
25
|
-
/**
|
|
26
|
-
* The width of the segmented bar. Defaults to '100%'.
|
|
27
|
-
* You can use '100%' or '100px' for this field. 100 is just an example
|
|
28
|
-
* @default '100%'
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof SegmentedBarComponent
|
|
31
|
-
*/
|
|
32
|
-
width: string;
|
|
33
|
-
/**
|
|
34
|
-
* The size variant of the segmented bar. Can be 'small' or 'large'.
|
|
35
|
-
* Defaults to 'large'.
|
|
36
|
-
* @default 'large'
|
|
37
|
-
* @type {SegmentedBarVariant}
|
|
38
|
-
* @memberof SegmentedBarComponent
|
|
39
|
-
*/
|
|
40
|
-
size: SegmentedBarVariant;
|
|
41
|
-
/**
|
|
42
|
-
* The segments to be displayed in the segmented bar.
|
|
43
|
-
* @required true
|
|
44
|
-
* @type {SegmentedBar}
|
|
45
|
-
* @memberof SegmentedBarComponent
|
|
46
|
-
*/
|
|
47
|
-
set segments(segments: SegmentedBar[]);
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* Defines the application theme
|
|
51
|
-
*
|
|
52
|
-
* @type {ApplicationTheme}
|
|
53
|
-
* @memberof SegmentedBarComponent
|
|
54
|
-
*/
|
|
55
|
-
applicationTheme: ApplicationTheme;
|
|
56
|
-
/**
|
|
57
|
-
* A string representing the ARIA label for accessibility.
|
|
58
|
-
* This label is used to provide an accessible name for the input element.
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof SegmentedBarComponent
|
|
61
|
-
*/
|
|
62
|
-
ariaLabel: string;
|
|
63
|
-
/**
|
|
64
|
-
* A string representing the ARIA requirement for accessibility.
|
|
65
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @memberof SegmentedBarComponent
|
|
68
|
-
*/
|
|
69
|
-
ariaRequired: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Groups the tooltips into one template
|
|
72
|
-
*
|
|
73
|
-
* @type {boolean}
|
|
74
|
-
* @memberof SegmentedBarComponent
|
|
75
|
-
*/
|
|
76
|
-
tooltipStats: boolean;
|
|
77
|
-
segmentList: SegmentedBarWithPercentage[];
|
|
78
|
-
constructor(defaultAppTheme: ApplicationTheme);
|
|
79
|
-
calculatePercentages(segments: SegmentedBar[]): SegmentedBarWithPercentage[];
|
|
80
|
-
get accessibleValueText(): string;
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponent, [{ optional: true; }]>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedBarComponent, "ui-segmented-bar", never, { "width": { "alias": "width"; "required": false; }; "size": { "alias": "size"; "required": false; }; "segments": { "alias": "segments"; "required": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "tooltipStats": { "alias": "tooltipStats"; "required": false; }; }, {}, never, never, false, never>;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
declare class SegmentedBarComponentModule {
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponentModule, never>;
|
|
87
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentedBarComponentModule, [typeof SegmentedBarComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.TooltipComponentModule], [typeof SegmentedBarComponent]>;
|
|
88
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SegmentedBarComponentModule>;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export { SegmentedBarComponent, SegmentedBarComponentModule };
|
|
92
|
-
export type { SegmentedBar, SegmentedBarColor, SegmentedBarVariant, SegmentedBarWithPercentage };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/segmented-bar" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { SegmentedBar, SegmentedBarVariant, SegmentedBarWithPercentage } from './segmented-bar.model';
|
|
2
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SegmentedBarComponent {
|
|
5
|
+
private readonly defaultAppTheme;
|
|
6
|
+
/**
|
|
7
|
+
* The width of the segmented bar. Defaults to '100%'.
|
|
8
|
+
* You can use '100%' or '100px' for this field. 100 is just an example
|
|
9
|
+
* @default '100%'
|
|
10
|
+
* @type {string}
|
|
11
|
+
* @memberof SegmentedBarComponent
|
|
12
|
+
*/
|
|
13
|
+
width: string;
|
|
14
|
+
/**
|
|
15
|
+
* The size variant of the segmented bar. Can be 'small' or 'large'.
|
|
16
|
+
* Defaults to 'large'.
|
|
17
|
+
* @default 'large'
|
|
18
|
+
* @type {SegmentedBarVariant}
|
|
19
|
+
* @memberof SegmentedBarComponent
|
|
20
|
+
*/
|
|
21
|
+
size: SegmentedBarVariant;
|
|
22
|
+
/**
|
|
23
|
+
* The segments to be displayed in the segmented bar.
|
|
24
|
+
* @required true
|
|
25
|
+
* @type {SegmentedBar}
|
|
26
|
+
* @memberof SegmentedBarComponent
|
|
27
|
+
*/
|
|
28
|
+
set segments(segments: SegmentedBar[]);
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* Defines the application theme
|
|
32
|
+
*
|
|
33
|
+
* @type {ApplicationTheme}
|
|
34
|
+
* @memberof SegmentedBarComponent
|
|
35
|
+
*/
|
|
36
|
+
applicationTheme: ApplicationTheme;
|
|
37
|
+
/**
|
|
38
|
+
* A string representing the ARIA label for accessibility.
|
|
39
|
+
* This label is used to provide an accessible name for the input element.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof SegmentedBarComponent
|
|
42
|
+
*/
|
|
43
|
+
ariaLabel: string;
|
|
44
|
+
/**
|
|
45
|
+
* A string representing the ARIA requirement for accessibility.
|
|
46
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof SegmentedBarComponent
|
|
49
|
+
*/
|
|
50
|
+
ariaRequired: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Groups the tooltips into one template
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof SegmentedBarComponent
|
|
56
|
+
*/
|
|
57
|
+
tooltipStats: boolean;
|
|
58
|
+
segmentList: SegmentedBarWithPercentage[];
|
|
59
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
60
|
+
calculatePercentages(segments: SegmentedBar[]): SegmentedBarWithPercentage[];
|
|
61
|
+
get accessibleValueText(): string;
|
|
62
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponent, [{ optional: true; }]>;
|
|
63
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedBarComponent, "ui-segmented-bar", never, { "width": { "alias": "width"; "required": false; }; "size": { "alias": "size"; "required": false; }; "segments": { "alias": "segments"; "required": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "tooltipStats": { "alias": "tooltipStats"; "required": false; }; }, {}, never, never, false, never>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./segmented-bar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/tooltip";
|
|
5
|
+
import * as i4 from "@angular/material/input";
|
|
6
|
+
import * as i5 from "@testgorilla/tgo-ui/components/icon";
|
|
7
|
+
import * as i6 from "@testgorilla/tgo-ui/components/tooltip";
|
|
8
|
+
export declare class SegmentedBarComponentModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedBarComponentModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SegmentedBarComponentModule, [typeof i1.SegmentedBarComponent], [typeof i2.CommonModule, typeof i3.MatTooltipModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.TooltipComponentModule], [typeof i1.SegmentedBarComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SegmentedBarComponentModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
2
|
+
export type SegmentedBarVariant = 'large' | 'small';
|
|
3
|
+
export type SegmentedBarColor = 'teal' | 'rhubarb' | 'light-teal' | 'grey';
|
|
4
|
+
export interface SegmentedBar {
|
|
5
|
+
value: number;
|
|
6
|
+
color: SegmentedBarColor;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
icon?: IconName;
|
|
9
|
+
}
|
|
10
|
+
export type SegmentedBarWithPercentage = SegmentedBar & {
|
|
11
|
+
percentage: string;
|
|
12
|
+
};
|