@testgorilla/tgo-ui 7.13.2 → 8.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/index.d.ts +118 -5
- package/components/ai-audio-circle/index.d.ts +71 -5
- package/components/ai-caveat/index.d.ts +47 -3
- package/components/ai-feedback/index.d.ts +92 -5
- package/components/alert-banner/index.d.ts +168 -5
- package/components/audio-waveform/index.d.ts +71 -5
- package/components/autocomplete/index.d.ts +414 -3
- package/components/autocomplete-v2/index.d.ts +219 -5
- package/components/avatar/index.d.ts +108 -5
- package/components/badge/index.d.ts +143 -5
- package/components/breadcrumb/index.d.ts +62 -5
- package/components/button/index.d.ts +327 -3
- package/components/card/index.d.ts +103 -5
- package/components/checkbox/index.d.ts +221 -5
- package/components/checklist/index.d.ts +97 -5
- package/components/core/index.d.ts +359 -3
- package/components/datepicker/index.d.ts +305 -5
- package/components/dialog/index.d.ts +308 -5
- package/components/divider/index.d.ts +53 -5
- package/components/donut-chart/index.d.ts +39 -5
- package/components/dropdown/index.d.ts +240 -5
- package/components/elevation-shadow/index.d.ts +45 -5
- package/components/empty-state/index.d.ts +217 -5
- package/components/field/index.d.ts +396 -3
- package/components/file-upload/index.d.ts +169 -5
- package/components/filter-button/index.d.ts +173 -5
- package/components/gaussian-chart/index.d.ts +103 -5
- package/components/icon/index.d.ts +109 -5
- package/components/icon-label/index.d.ts +62 -5
- package/components/inline-field/index.d.ts +273 -3
- package/components/logo/index.d.ts +106 -5
- package/components/media-card/index.d.ts +35 -5
- package/components/media-dialog/index.d.ts +47 -5
- package/components/multi-input/index.d.ts +185 -5
- package/components/navbar/index.d.ts +205 -5
- package/components/overflow-menu/index.d.ts +163 -5
- package/components/page-header/index.d.ts +51 -5
- package/components/paginator/index.d.ts +70 -5
- package/components/password-criteria/index.d.ts +60 -5
- package/components/password-strength/index.d.ts +60 -5
- package/components/phone-input/index.d.ts +179 -3
- package/components/popover/index.d.ts +35 -5
- package/components/progress-bar/index.d.ts +86 -5
- package/components/prompt/index.d.ts +106 -5
- package/components/radial-progress/index.d.ts +111 -5
- package/components/radio-button/index.d.ts +220 -5
- package/components/rating/index.d.ts +97 -5
- package/components/scale/index.d.ts +65 -5
- package/components/scale-table/index.d.ts +49 -5
- package/components/segmented-bar/index.d.ts +92 -5
- package/components/segmented-button/index.d.ts +77 -5
- package/components/selectable-card/index.d.ts +50 -5
- package/components/side-navigation/index.d.ts +112 -5
- package/components/side-panel/index.d.ts +97 -3
- package/components/side-sheet/index.d.ts +81 -5
- package/components/skeleton/index.d.ts +34 -5
- package/components/slider/index.d.ts +144 -5
- package/components/snackbar/index.d.ts +162 -5
- package/components/spider-chart/index.d.ts +126 -5
- package/components/spinner/index.d.ts +74 -5
- package/components/stepper/index.d.ts +341 -3
- package/components/table/index.d.ts +251 -3
- package/components/tabs/index.d.ts +145 -5
- package/components/tag/index.d.ts +166 -5
- package/components/toggle/index.d.ts +130 -5
- package/components/tooltip/index.d.ts +111 -5
- package/components/universal-skills/index.d.ts +153 -5
- package/components/validation-error/index.d.ts +40 -5
- package/components/write-with-ai/index.d.ts +131 -3
- 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 +25 -25
- 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-v2.mjs +78 -80
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +21 -25
- 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 +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +22 -23
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +8 -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 +46 -48
- 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 +19 -21
- 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 +11 -11
- 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 +8 -9
- 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 +33 -34
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +19 -21
- 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 +8 -8
- 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 +17 -17
- 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 +31 -31
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +8 -8
- 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 +10 -10
- 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-navigation.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +14 -14
- 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 +36 -13
- 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 +21 -21
- 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 +8 -8
- 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 +46 -5
- package/mcp/catalog.json +1 -1
- package/package.json +42 -41
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +2 -0
- package/components/accordion/accordion.component.d.ts +0 -100
- package/components/accordion/accordion.component.module.d.ts +0 -12
- package/components/accordion/accordion.model.d.ts +0 -2
- package/components/accordion/public-api.d.ts +0 -4
- package/components/ai-audio-circle/ai-audio-circle.component.d.ts +0 -61
- package/components/ai-audio-circle/ai-audio-circle.module.d.ts +0 -8
- package/components/ai-audio-circle/public-api.d.ts +0 -2
- package/components/ai-caveat/ai-caveat.component.d.ts +0 -36
- package/components/ai-caveat/ai-caveat.component.module.d.ts +0 -10
- package/components/ai-caveat/public-api.d.ts +0 -3
- package/components/ai-feedback/ai-feedback.component.d.ts +0 -52
- package/components/ai-feedback/ai-feedback.model.d.ts +0 -19
- package/components/ai-feedback/ai-feedback.module.d.ts +0 -16
- package/components/ai-feedback/public-api.d.ts +0 -4
- package/components/alert-banner/alert-banner.component.d.ts +0 -145
- package/components/alert-banner/alert-banner.component.module.d.ts +0 -12
- package/components/alert-banner/alert-banner.model.d.ts +0 -8
- package/components/alert-banner/public-api.d.ts +0 -4
- package/components/audio-waveform/audio-waveform.component.d.ts +0 -32
- package/components/audio-waveform/audio-waveform.model.d.ts +0 -8
- package/components/audio-waveform/audio-waveform.module.d.ts +0 -7
- package/components/audio-waveform/audio-waveform.service.d.ts +0 -21
- package/components/audio-waveform/public-api.d.ts +0 -4
- package/components/autocomplete/autocomplete.component.d.ts +0 -324
- package/components/autocomplete/autocomplete.component.module.d.ts +0 -23
- package/components/autocomplete/autocomplete.model.d.ts +0 -23
- package/components/autocomplete/includes.pipe.d.ts +0 -12
- package/components/autocomplete/prevent-input.directive.d.ts +0 -7
- package/components/autocomplete/public-api.d.ts +0 -4
- package/components/autocomplete/select-text.directive.d.ts +0 -19
- package/components/autocomplete/transform-Item.pipe.d.ts +0 -11
- package/components/autocomplete-v2/autocomplete-overflow-detect.directive.d.ts +0 -21
- package/components/autocomplete-v2/autocomplete-v2-filter.service.d.ts +0 -24
- package/components/autocomplete-v2/autocomplete-v2-utils.d.ts +0 -18
- package/components/autocomplete-v2/autocomplete-v2-value-manager.d.ts +0 -27
- package/components/autocomplete-v2/autocomplete-v2.component.d.ts +0 -120
- package/components/autocomplete-v2/autocomplete-v2.model.d.ts +0 -12
- package/components/autocomplete-v2/infinite-scroll.directive.d.ts +0 -21
- package/components/autocomplete-v2/public-api.d.ts +0 -7
- package/components/avatar/avatar.component.d.ts +0 -68
- package/components/avatar/avatar.component.module.d.ts +0 -13
- package/components/avatar/avatar.model.d.ts +0 -18
- package/components/avatar/name-initials.pipe.d.ts +0 -7
- package/components/avatar/public-api.d.ts +0 -4
- package/components/badge/badge.component.d.ts +0 -91
- package/components/badge/badge.component.module.d.ts +0 -10
- package/components/badge/badge.model.d.ts +0 -38
- package/components/badge/public-api.d.ts +0 -4
- package/components/breadcrumb/breadcrumb.component.d.ts +0 -40
- package/components/breadcrumb/breadcrumb.component.module.d.ts +0 -14
- package/components/breadcrumb/breadcrumb.model.d.ts +0 -5
- package/components/breadcrumb/public-api.d.ts +0 -4
- package/components/button/button.component.d.ts +0 -267
- package/components/button/button.component.module.d.ts +0 -15
- package/components/button/button.model.d.ts +0 -14
- package/components/button/color-contrast.d.ts +0 -28
- package/components/button/public-api.d.ts +0 -5
- package/components/card/card.component.d.ts +0 -87
- package/components/card/card.component.module.d.ts +0 -9
- package/components/card/card.model.d.ts +0 -3
- package/components/card/public-api.d.ts +0 -4
- package/components/checkbox/checkbox.component.d.ts +0 -193
- package/components/checkbox/checkbox.component.module.d.ts +0 -16
- package/components/checkbox/focus-visible.directive.d.ts +0 -12
- package/components/checkbox/public-api.d.ts +0 -4
- package/components/checklist/checklist.component.d.ts +0 -82
- package/components/checklist/checklist.model.d.ts +0 -9
- package/components/checklist/public-api.d.ts +0 -3
- package/components/core/alert-bar.model.d.ts +0 -2
- package/components/core/alert-bars.utils.d.ts +0 -8
- package/components/core/application-theme.model.d.ts +0 -7
- package/components/core/autocomplete-utils.d.ts +0 -12
- package/components/core/checkbox.model.d.ts +0 -1
- package/components/core/color-contrast.d.ts +0 -28
- package/components/core/colors.model.d.ts +0 -63
- package/components/core/data-property-getter.pipe.d.ts +0 -8
- package/components/core/digits-only.directive.d.ts +0 -17
- package/components/core/directives/index.d.ts +0 -2
- package/components/core/directives/prevent-input.directive.d.ts +0 -7
- package/components/core/directives/select-text.directive.d.ts +0 -10
- package/components/core/dynamic-component.directive.d.ts +0 -20
- package/components/core/ellipse-text.directive.d.ts +0 -20
- package/components/core/has-validation-error.pipe.d.ts +0 -15
- package/components/core/hex-to-rgb.d.ts +0 -1
- package/components/core/is-large-tablet.d.ts +0 -2
- package/components/core/is-mobile.d.ts +0 -2
- package/components/core/keyboard-events.model.d.ts +0 -11
- package/components/core/language.model.d.ts +0 -14
- package/components/core/language.service.d.ts +0 -20
- package/components/core/link-target.model.d.ts +0 -1
- package/components/core/memoize-func.pipe.d.ts +0 -26
- package/components/core/pipes/includes.pipe.d.ts +0 -7
- package/components/core/pipes/index.d.ts +0 -2
- package/components/core/pipes/transform-item.pipe.d.ts +0 -8
- package/components/core/public-api.d.ts +0 -26
- package/components/core/screen-breakpoints.model.d.ts +0 -5
- package/components/core/truncate.pipe.d.ts +0 -7
- package/components/core/ui-ordinal-suffix.pipe.d.ts +0 -7
- package/components/core/ui-translate.pipe.d.ts +0 -32
- package/components/datepicker/date-adapter.d.ts +0 -34
- package/components/datepicker/datepicker.component.d.ts +0 -235
- package/components/datepicker/datepicker.component.module.d.ts +0 -17
- package/components/datepicker/datepicker.service.d.ts +0 -8
- package/components/datepicker/no-date-format.directive.d.ts +0 -11
- package/components/datepicker/public-api.d.ts +0 -6
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +0 -34
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +0 -9
- package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +0 -38
- package/components/dialog/confirm-dialog/confirm-dialog.component.module.d.ts +0 -12
- package/components/dialog/confirm-dialog/confirm-dialog.model.d.ts +0 -47
- package/components/dialog/dialog-custom/dialog-custom.component.d.ts +0 -22
- package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +0 -10
- package/components/dialog/dialog.component.d.ts +0 -163
- package/components/dialog/dialog.component.module.d.ts +0 -11
- package/components/dialog/dialog.model.d.ts +0 -12
- package/components/dialog/dialog.service.d.ts +0 -14
- package/components/dialog/public-api.d.ts +0 -10
- package/components/divider/divider.component.d.ts +0 -39
- package/components/divider/divider.component.module.d.ts +0 -9
- package/components/divider/divider.model.d.ts +0 -1
- package/components/divider/public-api.d.ts +0 -4
- package/components/donut-chart/donut-chart.component.d.ts +0 -22
- package/components/donut-chart/donut-chart.component.model.d.ts +0 -6
- package/components/donut-chart/donut-chart.component.module.d.ts +0 -8
- package/components/donut-chart/public-api.d.ts +0 -3
- package/components/dropdown/dropdown.component.d.ts +0 -214
- package/components/dropdown/dropdown.component.module.d.ts +0 -16
- package/components/dropdown/dropdown.model.d.ts +0 -6
- package/components/dropdown/public-api.d.ts +0 -4
- package/components/elevation-shadow/elevation-shadow.component.d.ts +0 -26
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +0 -8
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +0 -8
- package/components/elevation-shadow/public-api.d.ts +0 -3
- package/components/empty-state/empty-state.component.d.ts +0 -199
- package/components/empty-state/empty-state.component.module.d.ts +0 -11
- package/components/empty-state/empty-state.model.d.ts +0 -3
- package/components/empty-state/public-api.d.ts +0 -4
- package/components/field/field.component.d.ts +0 -376
- package/components/field/field.component.module.d.ts +0 -17
- package/components/field/field.model.d.ts +0 -1
- package/components/field/public-api.d.ts +0 -4
- package/components/file-upload/drag-drop.directive.d.ts +0 -12
- package/components/file-upload/file-upload.component.d.ts +0 -142
- package/components/file-upload/file-upload.component.module.d.ts +0 -14
- package/components/file-upload/public-api.d.ts +0 -3
- package/components/filter-button/filter-button.component.d.ts +0 -140
- package/components/filter-button/filter-button.component.module.d.ts +0 -17
- package/components/filter-button/filter-button.model.d.ts +0 -13
- package/components/filter-button/public-api.d.ts +0 -4
- package/components/gaussian-chart/gaussian-chart.component.d.ts +0 -82
- package/components/gaussian-chart/gaussian-chart.module.d.ts +0 -12
- package/components/gaussian-chart/public-api.d.ts +0 -2
- package/components/icon/icon-svg-content.d.ts +0 -16
- package/components/icon/icon.component.d.ts +0 -72
- package/components/icon/icon.component.module.d.ts +0 -10
- package/components/icon/icon.config.d.ts +0 -10
- package/components/icon/icon.model.d.ts +0 -7
- package/components/icon/icons.service.d.ts +0 -8
- package/components/icon/public-api.d.ts +0 -6
- package/components/icon-label/icon-label.component.d.ts +0 -51
- package/components/icon-label/icon-label.component.module.d.ts +0 -9
- package/components/icon-label/public-api.d.ts +0 -2
- package/components/inline-field/inline-field.component.d.ts +0 -153
- package/components/inline-field/inline-field.component.module.d.ts +0 -13
- package/components/inline-field/inline-field.model.d.ts +0 -107
- package/components/inline-field/public-api.d.ts +0 -4
- package/components/logo/logo.component.d.ts +0 -66
- package/components/logo/logo.component.module.d.ts +0 -8
- package/components/logo/logo.model.d.ts +0 -29
- package/components/logo/public-api.d.ts +0 -4
- package/components/media-card/media-card.component.d.ts +0 -32
- package/components/media-card/public-api.d.ts +0 -1
- package/components/media-dialog/media-dialog.component.d.ts +0 -28
- package/components/media-dialog/media-dialog.model.d.ts +0 -16
- package/components/media-dialog/public-api.d.ts +0 -2
- package/components/multi-input/multi-input.component.d.ts +0 -158
- package/components/multi-input/multi-input.component.module.d.ts +0 -17
- package/components/multi-input/multi-input.model.d.ts +0 -4
- package/components/multi-input/public-api.d.ts +0 -5
- package/components/multi-input/required-multi-input.validator.d.ts +0 -3
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +0 -28
- package/components/navbar/navbar.component.d.ts +0 -133
- package/components/navbar/navbar.component.module.d.ts +0 -21
- package/components/navbar/navbar.model.d.ts +0 -23
- package/components/navbar/public-api.d.ts +0 -5
- package/components/overflow-menu/overflow-menu.component.d.ts +0 -117
- package/components/overflow-menu/overflow-menu.component.module.d.ts +0 -14
- package/components/overflow-menu/overflow-menu.model.d.ts +0 -32
- package/components/overflow-menu/public-api.d.ts +0 -4
- package/components/page-header/page-header.component.d.ts +0 -38
- package/components/page-header/page-header.component.module.d.ts +0 -10
- package/components/page-header/public-api.d.ts +0 -3
- package/components/paginator/paginator.component.d.ts +0 -58
- package/components/paginator/paginator.component.module.d.ts +0 -9
- package/components/paginator/public-api.d.ts +0 -3
- package/components/password-criteria/password.component.d.ts +0 -44
- package/components/password-criteria/password.component.module.d.ts +0 -13
- package/components/password-criteria/public-api.d.ts +0 -3
- package/components/password-strength/password-strength.component.d.ts +0 -46
- package/components/password-strength/password-strength.component.module.d.ts +0 -11
- package/components/password-strength/public-api.d.ts +0 -3
- package/components/phone-input/join-strings.pipe.d.ts +0 -7
- package/components/phone-input/phone-input.component.d.ts +0 -145
- package/components/phone-input/phone-input.component.module.d.ts +0 -19
- package/components/phone-input/phone-input.model.d.ts +0 -8
- package/components/phone-input/public-api.d.ts +0 -5
- package/components/popover/popover.component.d.ts +0 -9
- package/components/popover/popover.directive.d.ts +0 -32
- package/components/popover/public-api.d.ts +0 -1
- package/components/progress-bar/progress-bar.component.d.ts +0 -73
- package/components/progress-bar/progress-bar.component.module.d.ts +0 -10
- package/components/progress-bar/public-api.d.ts +0 -3
- package/components/prompt/prompt.component.d.ts +0 -73
- package/components/prompt/prompt.model.d.ts +0 -9
- package/components/prompt/prompt.module.d.ts +0 -20
- package/components/prompt/public-api.d.ts +0 -4
- package/components/radial-progress/public-api.d.ts +0 -4
- package/components/radial-progress/radial-progress.component.d.ts +0 -87
- package/components/radial-progress/radial-progress.component.module.d.ts +0 -10
- package/components/radial-progress/radial-progress.model.d.ts +0 -10
- package/components/radio-button/public-api.d.ts +0 -4
- package/components/radio-button/radio-button.component.d.ts +0 -198
- package/components/radio-button/radio-button.component.module.d.ts +0 -15
- package/components/radio-button/radio-button.model.d.ts +0 -4
- package/components/rating/half-star.pipe.d.ts +0 -14
- package/components/rating/public-api.d.ts +0 -3
- package/components/rating/rating.component.d.ts +0 -71
- package/components/rating/rating.component.module.d.ts +0 -10
- package/components/scale/public-api.d.ts +0 -3
- package/components/scale/scale.component.d.ts +0 -54
- package/components/scale/scale.component.module.d.ts +0 -8
- package/components/scale-table/public-api.d.ts +0 -3
- package/components/scale-table/scale-table.component.d.ts +0 -39
- package/components/scale-table/scale-table.model.d.ts +0 -5
- package/components/segmented-bar/public-api.d.ts +0 -4
- package/components/segmented-bar/segmented-bar.component.d.ts +0 -64
- package/components/segmented-bar/segmented-bar.component.module.d.ts +0 -12
- package/components/segmented-bar/segmented-bar.model.d.ts +0 -12
- package/components/segmented-button/public-api.d.ts +0 -4
- package/components/segmented-button/segmented-button.component.d.ts +0 -55
- package/components/segmented-button/segmented-button.component.module.d.ts +0 -11
- package/components/segmented-button/segmented-button.model.d.ts +0 -8
- package/components/selectable-card/public-api.d.ts +0 -2
- package/components/selectable-card/selectable-card.component.d.ts +0 -38
- package/components/selectable-card/selectable-card.component.module.d.ts +0 -10
- package/components/side-navigation/public-api.d.ts +0 -3
- package/components/side-navigation/side-navigation.component.d.ts +0 -75
- package/components/side-navigation/side-navigation.component.module.d.ts +0 -15
- package/components/side-navigation/side-navigation.model.d.ts +0 -20
- package/components/side-panel/public-api.d.ts +0 -5
- package/components/side-panel/side-panel-data-injection-token.d.ts +0 -2
- package/components/side-panel/side-panel.animations.d.ts +0 -3
- package/components/side-panel/side-panel.component.d.ts +0 -22
- package/components/side-panel/side-panel.model.d.ts +0 -46
- package/components/side-panel/side-panel.service.d.ts +0 -22
- package/components/side-sheet/public-api.d.ts +0 -4
- package/components/side-sheet/side-sheet.component.d.ts +0 -43
- package/components/side-sheet/side-sheet.component.module.d.ts +0 -14
- package/components/side-sheet/side-sheet.model.d.ts +0 -10
- package/components/side-sheet/side-sheet.service.d.ts +0 -14
- package/components/skeleton/public-api.d.ts +0 -3
- package/components/skeleton/skeleton.component.d.ts +0 -27
- package/components/skeleton/skeleton.model.d.ts +0 -2
- package/components/slider/public-api.d.ts +0 -4
- package/components/slider/slider.component.d.ts +0 -128
- package/components/slider/slider.component.module.d.ts +0 -7
- package/components/slider/slider.model.d.ts +0 -5
- package/components/snackbar/public-api.d.ts +0 -5
- package/components/snackbar/snackbar.component.d.ts +0 -126
- package/components/snackbar/snackbar.component.module.d.ts +0 -13
- package/components/snackbar/snackbar.model.d.ts +0 -7
- package/components/snackbar/snackbar.service.d.ts +0 -16
- package/components/spider-chart/public-api.d.ts +0 -3
- package/components/spider-chart/spider-chart.component.d.ts +0 -90
- package/components/spider-chart/spider-chart.model.d.ts +0 -12
- package/components/spider-chart/spider-chart.module.d.ts +0 -12
- package/components/spinner/public-api.d.ts +0 -4
- package/components/spinner/spinner.component.d.ts +0 -59
- package/components/spinner/spinner.model.d.ts +0 -1
- package/components/spinner/spinner.module.d.ts +0 -10
- package/components/stepper/public-api.d.ts +0 -7
- package/components/stepper/step-line-element.directive.d.ts +0 -17
- package/components/stepper/step.component.d.ts +0 -184
- package/components/stepper/step.component.module.d.ts +0 -11
- package/components/stepper/stepper.component.d.ts +0 -102
- package/components/stepper/stepper.component.module.d.ts +0 -15
- package/components/stepper/stepper.model.d.ts +0 -23
- package/components/table/public-api.d.ts +0 -6
- package/components/table/sentence-case.pipe.d.ts +0 -7
- package/components/table/table.component.d.ts +0 -117
- package/components/table/table.component.module.d.ts +0 -17
- package/components/table/table.model.d.ts +0 -104
- package/components/table/table.utils.d.ts +0 -6
- package/components/tabs/public-api.d.ts +0 -5
- package/components/tabs/tab.directive.d.ts +0 -28
- package/components/tabs/tabs.component.d.ts +0 -79
- package/components/tabs/tabs.component.module.d.ts +0 -13
- package/components/tabs/tabs.model.d.ts +0 -26
- package/components/tag/public-api.d.ts +0 -4
- package/components/tag/tag.component.d.ts +0 -145
- package/components/tag/tag.component.module.d.ts +0 -14
- package/components/tag/tag.model.d.ts +0 -1
- package/components/toggle/public-api.d.ts +0 -3
- package/components/toggle/toggle.component.d.ts +0 -113
- package/components/toggle/toggle.component.module.d.ts +0 -13
- package/components/toggle/toggle.model.d.ts +0 -1
- package/components/tooltip/public-api.d.ts +0 -5
- package/components/tooltip/tooltip-template.directive.d.ts +0 -27
- package/components/tooltip/tooltip.component.d.ts +0 -64
- package/components/tooltip/tooltip.component.module.d.ts +0 -11
- package/components/tooltip/tooltip.model.d.ts +0 -8
- package/components/universal-skills/public-api.d.ts +0 -6
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.d.ts +0 -47
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.d.ts +0 -14
- package/components/universal-skills/universal-skills-report.component.d.ts +0 -33
- package/components/universal-skills/universal-skills-report.component.module.d.ts +0 -12
- package/components/universal-skills/universal-skills-report.model.d.ts +0 -44
- package/components/universal-skills/universal-skills.service.d.ts +0 -13
- package/components/validation-error/public-api.d.ts +0 -3
- package/components/validation-error/validation-error.component.d.ts +0 -26
- package/components/validation-error/validation-error.model.d.ts +0 -1
- package/components/validation-error/validation-error.module.d.ts +0 -10
- package/components/write-with-ai/llm.service.d.ts +0 -22
- package/components/write-with-ai/public-api.d.ts +0 -4
- package/components/write-with-ai/write-with-ai.component.d.ts +0 -79
- package/components/write-with-ai/write-with-ai.model.d.ts +0 -24
- package/components/write-with-ai/write-with-ai.module.d.ts +0 -7
- package/public-api.d.ts +0 -82
|
@@ -1,5 +1,108 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _testgorilla_tgo_ui_components_icon from '@testgorilla/tgo-ui/components/icon';
|
|
2
|
+
import { IconSize } from '@testgorilla/tgo-ui/components/icon';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { EventEmitter, PipeTransform } from '@angular/core';
|
|
5
|
+
import * as i7 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 i3 from '@angular/common';
|
|
9
|
+
import * as i5 from '@angular/material/tooltip';
|
|
10
|
+
import * as i6 from '@testgorilla/tgo-ui/components/button';
|
|
11
|
+
|
|
12
|
+
declare enum AvatarSize {
|
|
13
|
+
SMALL = "small",
|
|
14
|
+
SMALL_MEDIUM = "smallMedium",
|
|
15
|
+
MEDIUM = "medium",
|
|
16
|
+
MEDIUM_LARGE = "mediumLarge",
|
|
17
|
+
LARGE = "large"
|
|
18
|
+
}
|
|
19
|
+
type AvatarSizeType = `${AvatarSize}`;
|
|
20
|
+
declare const iconSize: Record<string, IconSize>;
|
|
21
|
+
declare enum AvatarBackgroundColor {
|
|
22
|
+
PINK = "#FFE6FA",
|
|
23
|
+
BLUE = "#D9E8FF",
|
|
24
|
+
GREEN = "#D4F2C3",
|
|
25
|
+
ORANGE = "#FFE1B3",
|
|
26
|
+
RED = "#FFAC9A"
|
|
27
|
+
}
|
|
28
|
+
type BackgroundAvatarColorType = 'red' | 'blue' | 'green' | 'orange' | 'pink';
|
|
29
|
+
|
|
30
|
+
declare class AvatarComponent {
|
|
31
|
+
private readonly defaultAppTheme;
|
|
32
|
+
/**
|
|
33
|
+
* Input property for specifying the size of the avatar.
|
|
34
|
+
* @type {AvatarSize}
|
|
35
|
+
* @default AvatarSize.SMALL
|
|
36
|
+
* @memberof AvatarComponent
|
|
37
|
+
*/
|
|
38
|
+
size: AvatarSizeType;
|
|
39
|
+
/**
|
|
40
|
+
* Input property for specifying the URL of the image to display in the avatar.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof AvatarComponent
|
|
43
|
+
*/
|
|
44
|
+
imageUrl: string;
|
|
45
|
+
/**
|
|
46
|
+
* Input property for specifying the initials to display in the avatar.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof AvatarComponent
|
|
49
|
+
*/
|
|
50
|
+
name: string;
|
|
51
|
+
/**
|
|
52
|
+
* Input property for specifying the tooltip text for edit.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof AvatarComponent
|
|
55
|
+
*/
|
|
56
|
+
tooltipText: string;
|
|
57
|
+
/**
|
|
58
|
+
* Input property that makes avatar editable.
|
|
59
|
+
* @type {boolean}
|
|
60
|
+
* @memberof AvatarComponent
|
|
61
|
+
*/
|
|
62
|
+
allowEdit: boolean;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* Defines the application theme where
|
|
66
|
+
*
|
|
67
|
+
* @type {ApplicationTheme}
|
|
68
|
+
* @memberof AvatarComponent
|
|
69
|
+
*/
|
|
70
|
+
applicationTheme: ApplicationTheme;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* Defines the background color
|
|
74
|
+
*
|
|
75
|
+
* @type {BackgroundAvatarColorType}
|
|
76
|
+
* @memberof AvatarComponent
|
|
77
|
+
*/
|
|
78
|
+
set backgroundColor(colorName: BackgroundAvatarColorType);
|
|
79
|
+
/**
|
|
80
|
+
* Event emitted when the edit button is clicked.
|
|
81
|
+
* @type {Event}
|
|
82
|
+
* @memberof AvatarComponent
|
|
83
|
+
*/
|
|
84
|
+
editClick: EventEmitter<Event>;
|
|
85
|
+
protected backgroundAvatarColor: string;
|
|
86
|
+
protected readonly iconSize: Record<string, _testgorilla_tgo_ui_components_icon.IconSize>;
|
|
87
|
+
protected readonly avatarSize: typeof AvatarSize;
|
|
88
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
89
|
+
protected handleImageError(): void;
|
|
90
|
+
protected onEditClick(event: Event): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, [{ optional: true; }]>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "ui-avatar", never, { "size": { "alias": "size"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "name": { "alias": "name"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "allowEdit": { "alias": "allowEdit"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; }, { "editClick": "editClick"; }, never, never, false, never>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare class NameInitialsPipe implements PipeTransform {
|
|
96
|
+
transform(value: string): string;
|
|
97
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NameInitialsPipe, never>;
|
|
98
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NameInitialsPipe, "nameInitials", false>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare class AvatarComponentModule {
|
|
102
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponentModule, never>;
|
|
103
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarComponentModule, [typeof AvatarComponent, typeof NameInitialsPipe], [typeof i3.CommonModule, typeof _testgorilla_tgo_ui_components_icon.IconComponentModule, typeof i5.MatTooltipModule, typeof i6.ButtonComponentModule, typeof i7.UiTranslatePipe], [typeof AvatarComponent]>;
|
|
104
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarComponentModule>;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export { AvatarBackgroundColor, AvatarComponent, AvatarComponentModule, AvatarSize, iconSize };
|
|
108
|
+
export type { AvatarSizeType, BackgroundAvatarColorType };
|
|
@@ -1,5 +1,143 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
5
|
+
import { IconName, IconColor } from '@testgorilla/tgo-ui/components/icon';
|
|
6
|
+
import * as i2 from '@angular/common';
|
|
7
|
+
import * as i4 from '@angular/material/tooltip';
|
|
8
|
+
|
|
9
|
+
type BadgeVariant = 'primary' | 'secondary' | 'notification' | 'primary-ai' | 'secondary-ai';
|
|
10
|
+
type BadgeColor = 'red' | 'grey-medium' | 'teal' | 'yellow' | 'petrol' | 'teal-60w' | 'petrol-90w' | 'petrol-60w' | 'grey-dark' | 'blue-20' | 'blue-40' | 'pink-30' | 'blue-10';
|
|
11
|
+
declare enum BadgeColorEnum {
|
|
12
|
+
RED = "red",
|
|
13
|
+
GREY_MEDIUM = "grey-medium",
|
|
14
|
+
TEAL = "teal",
|
|
15
|
+
YELLOW = "yellow",
|
|
16
|
+
PETROL = "petrol",
|
|
17
|
+
TEAL_60W = "teal-60w",
|
|
18
|
+
PETROL_90W = "petrol-90w",
|
|
19
|
+
PETROL_60W = "petrol-60w",
|
|
20
|
+
GREY_DARK = "grey-dark",
|
|
21
|
+
BLUE_20 = "blue-20",
|
|
22
|
+
BLUE_40 = "blue-40"
|
|
23
|
+
}
|
|
24
|
+
type RebrandBadgeColor = 'success' | 'warning' | 'negative' | 'info' | 'brand' | 'neutral' | 'blue-20' | 'blue-40' | 'pink-30' | 'blue-10' | 'grey-10' | 'grey-20' | 'grey-30';
|
|
25
|
+
declare enum RebrandBadgeColorEnum {
|
|
26
|
+
SUCCESS = "success",
|
|
27
|
+
WARNING = "warning",
|
|
28
|
+
NEGATIVE = "negative",
|
|
29
|
+
INFO = "info",
|
|
30
|
+
BRAND = "brand",
|
|
31
|
+
NEUTRAL = "neutral",
|
|
32
|
+
BLUE_40 = "blue-40",
|
|
33
|
+
BLUE_20 = "blue-20",
|
|
34
|
+
PINK_30 = "pink-30",
|
|
35
|
+
BLUE_10 = "blue-10",
|
|
36
|
+
GREY_30 = "grey-30",
|
|
37
|
+
GREY_20 = "grey-20",
|
|
38
|
+
GREY_10 = "grey-10"
|
|
39
|
+
}
|
|
40
|
+
declare enum BadgeVariantEnum {
|
|
41
|
+
PRIMARY = "primary",
|
|
42
|
+
PRIMARY_AI = "primary-ai",
|
|
43
|
+
SECONDARY = "secondary",
|
|
44
|
+
SECONDARY_AI = "secondary-ai",
|
|
45
|
+
NOTIFICATION = "notification"
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare class BadgeComponent {
|
|
49
|
+
private readonly defaultAppTheme;
|
|
50
|
+
/**
|
|
51
|
+
* The label to be displayed on the badge.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof BadgeComponent
|
|
54
|
+
*/
|
|
55
|
+
label: string;
|
|
56
|
+
/**
|
|
57
|
+
* A static label always displayed after the main label, never truncated.
|
|
58
|
+
* Intended for short suffixes (max 4 chars, e.g. "100%").
|
|
59
|
+
* When the main label is truncated, the tooltip shows both labels in full.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof BadgeComponent
|
|
62
|
+
*/
|
|
63
|
+
staticLabel: string;
|
|
64
|
+
/**
|
|
65
|
+
* The icon name to be displayed on the badge.
|
|
66
|
+
* @type {IconName}
|
|
67
|
+
* @memberof BadgeComponent
|
|
68
|
+
*/
|
|
69
|
+
icon: IconName;
|
|
70
|
+
/**
|
|
71
|
+
* Override color for the leading icon. Accepts any value the `ui-icon`
|
|
72
|
+
* `color` input accepts (named token, hex, or CSS custom property).
|
|
73
|
+
* When unset, falls back to the auto-derived color based on the badge background.
|
|
74
|
+
*/
|
|
75
|
+
iconColor: i0.InputSignal<string | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Optional trailing icon, rendered after the label/static label on the primary variant.
|
|
78
|
+
*/
|
|
79
|
+
trailingIcon: i0.InputSignal<IconName>;
|
|
80
|
+
/**
|
|
81
|
+
* Override color for the trailing icon. Accepts any value the `ui-icon`
|
|
82
|
+
* `color` input accepts (named token, hex, or CSS custom property).
|
|
83
|
+
* When unset, falls back to the auto-derived color based on the badge background.
|
|
84
|
+
*/
|
|
85
|
+
trailingIconColor: i0.InputSignal<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The color of the badge. Defaults to 'petrol'.
|
|
88
|
+
* @type {BadgeColor}
|
|
89
|
+
* @memberof BadgeComponent
|
|
90
|
+
*/
|
|
91
|
+
color: BadgeColor;
|
|
92
|
+
/**
|
|
93
|
+
* The variant of the badge. Defaults to 'primary'.
|
|
94
|
+
* @type {BadgeVariant}
|
|
95
|
+
* @memberof BadgeComponent
|
|
96
|
+
*/
|
|
97
|
+
variant: BadgeVariant;
|
|
98
|
+
/**
|
|
99
|
+
* The amount of notifications to be displayed on the badge.
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof BadgeComponent
|
|
102
|
+
*/
|
|
103
|
+
notificationsAmount: number;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* Defines the application theme
|
|
107
|
+
*
|
|
108
|
+
* @type {ApplicationTheme}
|
|
109
|
+
* @memberof BadgeComponent
|
|
110
|
+
*/
|
|
111
|
+
applicationTheme: ApplicationTheme;
|
|
112
|
+
/**
|
|
113
|
+
* The color of the badge on new theme. Defaults to 'brand'.
|
|
114
|
+
* @type {RebrandBadgeColor}
|
|
115
|
+
* @memberof BadgeComponent
|
|
116
|
+
*/
|
|
117
|
+
rebrandColor: RebrandBadgeColor;
|
|
118
|
+
truncateLabel: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Whether to enable the animation when label changes from empty to having content.
|
|
121
|
+
* @type {boolean}
|
|
122
|
+
* @memberof BadgeComponent
|
|
123
|
+
*/
|
|
124
|
+
enableAnimation: boolean;
|
|
125
|
+
protected badgeVariant: typeof BadgeVariantEnum;
|
|
126
|
+
private darkColors;
|
|
127
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
128
|
+
protected get autoIconColor(): IconColor;
|
|
129
|
+
protected get resolvedIconColor(): IconColor;
|
|
130
|
+
protected get resolvedTrailingIconColor(): IconColor;
|
|
131
|
+
protected get isClassicTheme(): boolean;
|
|
132
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, [{ optional: true; }]>;
|
|
133
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "ui-badge", never, { "label": { "alias": "label"; "required": false; }; "staticLabel": { "alias": "staticLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "trailingIcon": { "alias": "trailingIcon"; "required": false; "isSignal": true; }; "trailingIconColor": { "alias": "trailingIconColor"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "notificationsAmount": { "alias": "notificationsAmount"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "rebrandColor": { "alias": "rebrandColor"; "required": false; }; "truncateLabel": { "alias": "truncateLabel"; "required": false; }; "enableAnimation": { "alias": "enableAnimation"; "required": false; }; }, {}, never, never, false, never>;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
declare class BadgeComponentModule {
|
|
137
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponentModule, never>;
|
|
138
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeComponentModule, [typeof BadgeComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.MatTooltipModule], [typeof BadgeComponent]>;
|
|
139
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BadgeComponentModule>;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export { BadgeColorEnum, BadgeComponent, BadgeComponentModule, BadgeVariantEnum, RebrandBadgeColorEnum };
|
|
143
|
+
export type { BadgeColor, BadgeVariant, RebrandBadgeColor };
|
|
@@ -1,5 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterViewInit, OnDestroy, EventEmitter, ElementRef, Injector } from '@angular/core';
|
|
3
|
+
import * as i8 from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
6
|
+
import * as i5 from '@testgorilla/tgo-ui/components/overflow-menu';
|
|
7
|
+
import { OverflowMenuButtonsType } from '@testgorilla/tgo-ui/components/overflow-menu';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
10
|
+
import * as i4 from '@angular/material/tooltip';
|
|
11
|
+
import * as i6 from '@testgorilla/tgo-ui/components/button';
|
|
12
|
+
import * as i7 from '@testgorilla/tgo-ui/components/skeleton';
|
|
13
|
+
|
|
14
|
+
type BreadcrumbSize = 'small' | 'medium' | 'large';
|
|
15
|
+
interface BreadcrumbItem {
|
|
16
|
+
label: string;
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class BreadcrumbComponent implements AfterViewInit, OnDestroy {
|
|
21
|
+
private readonly parentInjector;
|
|
22
|
+
size: _angular_core.InputSignal<BreadcrumbSize>;
|
|
23
|
+
items: _angular_core.InputSignal<BreadcrumbItem[]>;
|
|
24
|
+
applicationTheme: _angular_core.InputSignal<ApplicationTheme>;
|
|
25
|
+
includeBackButton: _angular_core.InputSignal<boolean>;
|
|
26
|
+
isLoading: _angular_core.InputSignal<boolean>;
|
|
27
|
+
numberOfLoadingItems: _angular_core.InputSignal<number>;
|
|
28
|
+
maxItemLength: _angular_core.InputSignal<number>;
|
|
29
|
+
selectItem: EventEmitter<string>;
|
|
30
|
+
backButtonClickEvent: EventEmitter<Event>;
|
|
31
|
+
loadingItems: _angular_core.Signal<any[]>;
|
|
32
|
+
isOverflowing: _angular_core.WritableSignal<boolean>;
|
|
33
|
+
visibleItems: _angular_core.WritableSignal<BreadcrumbItem[]>;
|
|
34
|
+
overflowItems: _angular_core.WritableSignal<BreadcrumbItem[]>;
|
|
35
|
+
overflowButtonItems: _angular_core.Signal<OverflowMenuButtonsType[]>;
|
|
36
|
+
shouldTruncateLastItem: _angular_core.WritableSignal<boolean>;
|
|
37
|
+
breadcrumbContainer: ElementRef<HTMLElement>;
|
|
38
|
+
private resizeObserver?;
|
|
39
|
+
private itemsInOverflow;
|
|
40
|
+
private previousLoadingState?;
|
|
41
|
+
private injector;
|
|
42
|
+
constructor(parentInjector: Injector);
|
|
43
|
+
ngAfterViewInit(): void;
|
|
44
|
+
ngOnDestroy(): void;
|
|
45
|
+
private calculateItemDistribution;
|
|
46
|
+
private handleOverflow;
|
|
47
|
+
private tryReduceOverflow;
|
|
48
|
+
private updateItemArrays;
|
|
49
|
+
private resetToAllVisible;
|
|
50
|
+
private setupResizeObserver;
|
|
51
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
52
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbComponent, "ui-breadcrumb", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "includeBackButton": { "alias": "includeBackButton"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "numberOfLoadingItems": { "alias": "numberOfLoadingItems"; "required": false; "isSignal": true; }; "maxItemLength": { "alias": "maxItemLength"; "required": false; "isSignal": true; }; }, { "selectItem": "selectItem"; "backButtonClickEvent": "backButtonClickEvent"; }, never, never, false, never>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare class BreadcrumbComponentModule {
|
|
56
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbComponentModule, never>;
|
|
57
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<BreadcrumbComponentModule, [typeof BreadcrumbComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.MatTooltipModule, typeof i5.OverflowMenuComponentModule, typeof i6.ButtonComponentModule, typeof i7.SkeletonComponent, typeof i8.UiTranslatePipe, typeof i8.TruncatePipe], [typeof BreadcrumbComponent]>;
|
|
58
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<BreadcrumbComponentModule>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export { BreadcrumbComponent, BreadcrumbComponentModule };
|
|
62
|
+
export type { BreadcrumbItem, BreadcrumbSize };
|
|
@@ -1,5 +1,329 @@
|
|
|
1
|
+
import { FocusOrigin } from '@angular/cdk/a11y';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { OnInit, AfterViewInit, ElementRef, EventEmitter, SimpleChanges } from '@angular/core';
|
|
4
|
+
import * as i3 from '@angular/material/button';
|
|
5
|
+
import { MatButton } from '@angular/material/button';
|
|
6
|
+
import * as i6 from '@angular/material/tooltip';
|
|
7
|
+
import { TooltipPosition } from '@angular/material/tooltip';
|
|
8
|
+
import * as i8 from '@testgorilla/tgo-ui/components/core';
|
|
9
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
10
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
11
|
+
import * as i4 from '@testgorilla/tgo-ui/components/icon';
|
|
12
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
13
|
+
import * as i7 from '@testgorilla/tgo-ui/components/badge';
|
|
14
|
+
import { BadgeVariant, RebrandBadgeColor } from '@testgorilla/tgo-ui/components/badge';
|
|
15
|
+
import * as i2 from '@angular/common';
|
|
16
|
+
import * as i5 from '@angular/material/progress-spinner';
|
|
17
|
+
import * as i9 from '@angular/material/radio';
|
|
18
|
+
|
|
19
|
+
type ButtonIconPosition = 'left' | 'right';
|
|
20
|
+
type ButtonColor = 'primary' | 'secondary' | 'secondary-inverted' | 'ghost' | 'ghost-ai' | 'outlined' | 'destructive' | 'tertiary' | 'link' | 'tab' | 'text' | 'text-inline' | 'menuTrigger' | 'menuCell' | 'icon-button' | 'linkedin';
|
|
21
|
+
type ButtonSize = 'big' | 'medium' | 'small';
|
|
22
|
+
type LinkUrlTarget = '' | '_self' | '_blank' | '_parent' | '_top';
|
|
23
|
+
type IconButtonSize = '24' | '32' | '40';
|
|
24
|
+
type ButtonType = 'button' | 'submit' | 'reset';
|
|
25
|
+
type ButtonState = 'hover' | 'pressed' | 'disabled' | 'default';
|
|
26
|
+
interface ButtonBadgeConfig {
|
|
27
|
+
badgeType: BadgeVariant | null;
|
|
28
|
+
badgeLabel?: string;
|
|
29
|
+
badgeNotificationAmount: number;
|
|
30
|
+
rebrandColor?: RebrandBadgeColor;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
declare class ButtonComponent implements OnInit, AfterViewInit {
|
|
34
|
+
private readonly defaultAppTheme;
|
|
35
|
+
get enabled(): string;
|
|
36
|
+
tooltipElement: ElementRef<HTMLElement>;
|
|
37
|
+
/**
|
|
38
|
+
* Define button height
|
|
39
|
+
*
|
|
40
|
+
* @type {ButtonSize}
|
|
41
|
+
* @memberof ButtonComponent
|
|
42
|
+
*/
|
|
43
|
+
size: ButtonSize;
|
|
44
|
+
/**
|
|
45
|
+
* Background color of the button while in active state
|
|
46
|
+
*
|
|
47
|
+
* @type {ButtonColor}
|
|
48
|
+
* @memberof ButtonComponent
|
|
49
|
+
*/
|
|
50
|
+
variant: ButtonColor;
|
|
51
|
+
/**
|
|
52
|
+
* Text content to appear on the button
|
|
53
|
+
*
|
|
54
|
+
* @memberof ButtonComponent
|
|
55
|
+
*/
|
|
56
|
+
label: string;
|
|
57
|
+
/**
|
|
58
|
+
* Positioning of the icon (when existant)
|
|
59
|
+
*
|
|
60
|
+
* @type {ButtonIconPosition}
|
|
61
|
+
* @memberof ButtonComponent
|
|
62
|
+
*/
|
|
63
|
+
iconPosition?: ButtonIconPosition;
|
|
64
|
+
/**
|
|
65
|
+
* Define if button has only icon without text
|
|
66
|
+
*
|
|
67
|
+
* @memberof ButtonComponent
|
|
68
|
+
*/
|
|
69
|
+
justIcon: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Name of ui-icon
|
|
72
|
+
*
|
|
73
|
+
* @type {IconName}
|
|
74
|
+
* @memberof ButtonComponent
|
|
75
|
+
*/
|
|
76
|
+
iconName: IconName | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Indicator if the button should be disabled
|
|
79
|
+
*
|
|
80
|
+
* @memberof ButtonComponent
|
|
81
|
+
*/
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Indicator if the loading icon should be shown
|
|
85
|
+
*
|
|
86
|
+
* @memberof ButtonComponent
|
|
87
|
+
*/
|
|
88
|
+
loading: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Show a small inline spinner to the left of the label while keeping the
|
|
91
|
+
* label visible. Pair with `disabled` to make the button non-interactive.
|
|
92
|
+
* If `loading` is also true, `loading` takes precedence.
|
|
93
|
+
*
|
|
94
|
+
* @memberof ButtonComponent
|
|
95
|
+
*/
|
|
96
|
+
loadingWithLabel: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Indicator of the button width
|
|
99
|
+
*
|
|
100
|
+
* @memberof ButtonComponent
|
|
101
|
+
*/
|
|
102
|
+
fullWidth: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Url of button if it is a link
|
|
105
|
+
*
|
|
106
|
+
* @memberof ButtonComponent
|
|
107
|
+
*/
|
|
108
|
+
url?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Url's target of button if it is a link
|
|
111
|
+
*
|
|
112
|
+
* @type {@type {LinkUrlTarget}}
|
|
113
|
+
* @memberof ButtonComponent
|
|
114
|
+
*/
|
|
115
|
+
urlTarget?: LinkUrlTarget;
|
|
116
|
+
/**
|
|
117
|
+
* Button value
|
|
118
|
+
*
|
|
119
|
+
* @memberof ButtonComponent
|
|
120
|
+
*/
|
|
121
|
+
value?: string;
|
|
122
|
+
/**
|
|
123
|
+
* @property tooltip
|
|
124
|
+
* @description The tooltip that is displayed on hover. Required for icon-button type
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof ButtonComponent
|
|
127
|
+
*/
|
|
128
|
+
tooltip: string;
|
|
129
|
+
/**
|
|
130
|
+
* @property isPremium
|
|
131
|
+
* @description The icon that is displayed for Premium button
|
|
132
|
+
* @type {boolean}
|
|
133
|
+
* @memberof ButtonComponent
|
|
134
|
+
*/
|
|
135
|
+
isPremium: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* The type of the button.
|
|
138
|
+
*
|
|
139
|
+
* @type {ButtonType}
|
|
140
|
+
* @memberof ButtonComponent
|
|
141
|
+
* @default 'button'
|
|
142
|
+
*/
|
|
143
|
+
type: ButtonType;
|
|
144
|
+
/**
|
|
145
|
+
* Color of the button.
|
|
146
|
+
* Defaults to Test Gorilla primary color.
|
|
147
|
+
*
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof ButtonComponent
|
|
150
|
+
*/
|
|
151
|
+
companyColor: string | null;
|
|
152
|
+
/**
|
|
153
|
+
* Config for the button badge variation
|
|
154
|
+
* @type {ButtonBadgeConfig}
|
|
155
|
+
* @property badgeType Type of badge on the button
|
|
156
|
+
* @property badgeLabel Label text for the badge
|
|
157
|
+
* @property badgeNotificationAmount The amount for notification in the badge
|
|
158
|
+
*/
|
|
159
|
+
buttonBadgeConfig: ButtonBadgeConfig | undefined;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* Defines the application theme where buttons is used
|
|
163
|
+
*
|
|
164
|
+
* @type {ApplicationTheme}
|
|
165
|
+
* @memberof ButtonComponent
|
|
166
|
+
*/
|
|
167
|
+
applicationTheme: ApplicationTheme;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* Disabled button scale on click
|
|
171
|
+
*
|
|
172
|
+
* @type {boolean}
|
|
173
|
+
* @memberof ButtonComponent
|
|
174
|
+
*/
|
|
175
|
+
disabledScaleOnClick: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* A string representing the ARIA label for accessibility.
|
|
178
|
+
* This label is used to provide an accessible name for the input element.
|
|
179
|
+
* @type {string}
|
|
180
|
+
* @memberof ButtonComponent
|
|
181
|
+
*/
|
|
182
|
+
ariaLabel: string;
|
|
183
|
+
/**
|
|
184
|
+
* Whether the button controls a disclosure widget that is currently expanded.
|
|
185
|
+
* Set to `true` for an expanded disclosure, `false` for collapsed, or leave
|
|
186
|
+
* undefined when the button is not a disclosure trigger.
|
|
187
|
+
* @memberof ButtonComponent
|
|
188
|
+
*/
|
|
189
|
+
ariaExpanded?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* The id of the element controlled by this button (used together with
|
|
192
|
+
* `ariaExpanded` for disclosure semantics).
|
|
193
|
+
* @memberof ButtonComponent
|
|
194
|
+
*/
|
|
195
|
+
ariaControls?: string;
|
|
196
|
+
/**
|
|
197
|
+
* Whether the button is a toggle button currently in the pressed state.
|
|
198
|
+
* Use `true` / `false` for two-state toggles. Leave undefined when the
|
|
199
|
+
* button is not a toggle.
|
|
200
|
+
* @memberof ButtonComponent
|
|
201
|
+
*/
|
|
202
|
+
ariaPressed?: boolean;
|
|
203
|
+
/**
|
|
204
|
+
* A string representing the ARIA requirement for accessibility.
|
|
205
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
206
|
+
* @type {boolean}
|
|
207
|
+
* @memberof ButtonComponent
|
|
208
|
+
*/
|
|
209
|
+
ariaRequired: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* A string representing the ARIA requirement for accessibility.
|
|
212
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof ButtonComponent
|
|
215
|
+
*/
|
|
216
|
+
ariaLabelledby: string;
|
|
217
|
+
/**
|
|
218
|
+
* A string representing the ARIA requirement for accessibility.
|
|
219
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof ButtonComponent
|
|
222
|
+
*/
|
|
223
|
+
ariaDescribedby: string;
|
|
224
|
+
/**
|
|
225
|
+
* Prevents default button click behavior
|
|
226
|
+
* @type {boolean}
|
|
227
|
+
* @memberof ButtonComponent
|
|
228
|
+
*/
|
|
229
|
+
preventDefault: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Ghost variant with white background
|
|
232
|
+
* @type {boolean}
|
|
233
|
+
* @memberof ButtonComponent
|
|
234
|
+
*/
|
|
235
|
+
hasBackground: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* Sets tooltip position
|
|
238
|
+
*
|
|
239
|
+
* @type {TooltipPosition}
|
|
240
|
+
* @memberof ButtonComponent
|
|
241
|
+
*/
|
|
242
|
+
tooltipPosition: TooltipPosition;
|
|
243
|
+
role: string;
|
|
244
|
+
iconFilled: boolean;
|
|
245
|
+
buttonClickEvent: EventEmitter<Event>;
|
|
246
|
+
buttonHoverEvent: EventEmitter<Event>;
|
|
247
|
+
buttonElement: MatButton;
|
|
248
|
+
get isDisabled(): boolean;
|
|
249
|
+
get compColor(): string;
|
|
250
|
+
classCss: string;
|
|
251
|
+
styleCss: any;
|
|
252
|
+
isButtonLink: boolean;
|
|
253
|
+
isLabel: boolean;
|
|
254
|
+
buttonState: ButtonState;
|
|
255
|
+
hover: boolean;
|
|
256
|
+
iconButtonSize: IconButtonSize;
|
|
257
|
+
allowButtonTypeForPremium: ButtonColor[];
|
|
258
|
+
isFilledIcon: boolean;
|
|
259
|
+
coloredIcons: string[];
|
|
260
|
+
labelEllipsis: boolean;
|
|
261
|
+
icon: IconName;
|
|
262
|
+
private static nextAriaLabelledId;
|
|
263
|
+
ariaLabelledbyId: string;
|
|
264
|
+
get typeIncluded(): boolean;
|
|
265
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
266
|
+
ngOnInit(): void;
|
|
267
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
268
|
+
ngAfterViewInit(): void;
|
|
269
|
+
buttonClick(event: Event): void;
|
|
270
|
+
buttonHover(event: Event): void;
|
|
271
|
+
showLabel(): boolean;
|
|
272
|
+
setCssClass(): string;
|
|
273
|
+
setCssStyle(): any;
|
|
274
|
+
get showSpinner(): boolean;
|
|
275
|
+
get showInlineSpinner(): boolean;
|
|
276
|
+
showButtonLink(): boolean;
|
|
277
|
+
setIconButtonSize(): IconButtonSize;
|
|
278
|
+
onPressed(ev: Event): void;
|
|
279
|
+
focus(origin?: FocusOrigin): void;
|
|
280
|
+
get getCompanyColor(): string;
|
|
281
|
+
get shouldChangeFilledStatus(): boolean;
|
|
282
|
+
onKeydown(event: KeyboardEvent): void;
|
|
283
|
+
onKeyup(event: KeyboardEvent): void;
|
|
284
|
+
onLabelEllipsisChange(state: boolean): void;
|
|
285
|
+
getIconName(iconName: string, defaultValue: string): IconName;
|
|
286
|
+
private createAriaLabelledById;
|
|
287
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, [{ optional: true; }]>;
|
|
288
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "label": { "alias": "label"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "justIcon": { "alias": "justIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingWithLabel": { "alias": "loadingWithLabel"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "url": { "alias": "url"; "required": false; }; "urlTarget": { "alias": "urlTarget"; "required": false; }; "value": { "alias": "value"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "isPremium": { "alias": "isPremium"; "required": false; }; "type": { "alias": "type"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "buttonBadgeConfig": { "alias": "buttonBadgeConfig"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disabledScaleOnClick": { "alias": "disabledScaleOnClick"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "ariaControls": { "alias": "ariaControls"; "required": false; }; "ariaPressed": { "alias": "ariaPressed"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "preventDefault": { "alias": "preventDefault"; "required": false; }; "hasBackground": { "alias": "hasBackground"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "iconFilled": { "alias": "iconFilled"; "required": false; }; }, { "buttonClickEvent": "buttonClickEvent"; "buttonHoverEvent": "buttonHoverEvent"; }, never, never, false, never>;
|
|
289
|
+
static ngAcceptInputType_preventDefault: unknown;
|
|
290
|
+
static ngAcceptInputType_hasBackground: unknown;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
declare class ButtonComponentModule {
|
|
294
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponentModule, never>;
|
|
295
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonComponentModule, [typeof ButtonComponent], [typeof i2.CommonModule, typeof i3.MatButtonModule, typeof i4.IconComponentModule, typeof i5.MatProgressSpinnerModule, typeof i6.MatTooltipModule, typeof i7.BadgeComponentModule, typeof i8.EllipseTextDirective, typeof i9.MatRadioModule, typeof i8.UiTranslatePipe], [typeof ButtonComponent]>;
|
|
296
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonComponentModule>;
|
|
297
|
+
}
|
|
298
|
+
|
|
1
299
|
/**
|
|
2
|
-
*
|
|
300
|
+
* Function for adjusting the lightness of a color based on different events (hover, pressed, disabled).
|
|
301
|
+
* Accepts a hex color, transforms it to HSL, and based on color's L and event darkens or lightens it.
|
|
302
|
+
* Used to manage different colors based on application configuration
|
|
303
|
+
*
|
|
304
|
+
* @param hexColor color in hex format
|
|
305
|
+
* @param typeEvent interaction event
|
|
306
|
+
* @param theme
|
|
3
307
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
308
|
+
declare const adjustLightness: (hexColor: string, typeEvent: "hover" | "pressed" | "disabled", theme?: "new" | "classic") => string;
|
|
309
|
+
/**
|
|
310
|
+
* Transforms hex color to HSL in object variation.
|
|
311
|
+
* @param hexColor string value with hex color
|
|
312
|
+
*/
|
|
313
|
+
declare const hexToHsl: (hexColor: string) => {
|
|
314
|
+
h: number;
|
|
315
|
+
s: number;
|
|
316
|
+
l: number;
|
|
317
|
+
};
|
|
318
|
+
/**
|
|
319
|
+
* Transforms HSL color, represented as an object and transforms it to hex string.
|
|
320
|
+
* @param hslColor accepts the HSL color like an object.
|
|
321
|
+
*/
|
|
322
|
+
declare const hslToHex: (hslColor: {
|
|
323
|
+
h: number;
|
|
324
|
+
s: number;
|
|
325
|
+
l: number;
|
|
326
|
+
}) => string;
|
|
327
|
+
|
|
328
|
+
export { ButtonComponent, ButtonComponentModule, adjustLightness, hexToHsl, hslToHex };
|
|
329
|
+
export type { ButtonBadgeConfig, ButtonColor, ButtonIconPosition, ButtonSize, ButtonState, ButtonType, IconButtonSize, LinkUrlTarget };
|