@testgorilla/tgo-ui 6.4.2-beta.1 → 6.4.2-beta.3
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 +70 -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 +165 -5
- package/components/audio-waveform/index.d.ts +71 -5
- package/components/autocomplete/index.d.ts +414 -3
- package/components/avatar/index.d.ts +107 -5
- package/components/badge/index.d.ts +125 -5
- package/components/breadcrumb/index.d.ts +62 -5
- package/components/button/index.d.ts +298 -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 +346 -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 +96 -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 +203 -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 +59 -5
- package/components/phone-input/index.d.ts +179 -3
- package/components/popover/index.d.ts +34 -5
- package/components/progress-bar/index.d.ts +86 -5
- package/components/prompt/index.d.ts +95 -5
- package/components/radial-progress/index.d.ts +99 -5
- package/components/radio-button/index.d.ts +211 -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-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 +127 -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 +36 -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 +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 +21 -21
- 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 +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 +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 +12 -13
- 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 +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 +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 +32 -14
- 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 +46 -5
- package/package.json +19 -19
- 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 -60
- 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 -144
- package/components/alert-banner/alert-banner.component.module.d.ts +0 -12
- package/components/alert-banner/alert-banner.model.d.ts +0 -6
- 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/avatar/avatar.component.d.ts +0 -67
- 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 -73
- 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 -238
- 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 -6
- 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/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/public-api.d.ts +0 -25
- package/components/core/screen-breakpoints.model.d.ts +0 -5
- package/components/core/select-text.directive.d.ts +0 -19
- 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 -21
- 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 -45
- 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 -31
- 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 -62
- 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 -75
- 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 -189
- 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-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 -22
- 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 -81
|
@@ -1,5 +1,416 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnChanges, AfterViewInit, DoCheck, OnDestroy, OnInit, EventEmitter, ElementRef, ChangeDetectorRef, DestroyRef, NgZone, SimpleChanges, PipeTransform } from '@angular/core';
|
|
3
|
+
import * as rxjs from 'rxjs';
|
|
4
|
+
import { ReplaySubject, BehaviorSubject, Subscription } from 'rxjs';
|
|
5
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
6
|
+
import * as i15 from '@angular/cdk/scrolling';
|
|
7
|
+
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
8
|
+
import * as i9 from '@angular/forms';
|
|
9
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
10
|
+
import * as i7 from '@angular/material/autocomplete';
|
|
11
|
+
import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
12
|
+
import * as i13 from '@testgorilla/tgo-ui/components/core';
|
|
13
|
+
import { ApplicationTheme, AutocompleteUtils } from '@testgorilla/tgo-ui/components/core';
|
|
14
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
15
|
+
import * as i5 from '@angular/common';
|
|
16
|
+
import * as i6 from '@angular/material/form-field';
|
|
17
|
+
import * as i8 from '@angular/material/input';
|
|
18
|
+
import * as i10 from '@testgorilla/tgo-ui/components/tag';
|
|
19
|
+
import * as i11 from '@angular/material/chips';
|
|
20
|
+
import * as i12 from '@testgorilla/tgo-ui/components/icon';
|
|
21
|
+
import * as i14 from '@testgorilla/tgo-ui/components/validation-error';
|
|
22
|
+
import * as i17 from '@testgorilla/tgo-ui/components/spinner';
|
|
23
|
+
|
|
24
|
+
type AutocompleteType = 'single' | 'multi' | 'large';
|
|
25
|
+
declare enum Autocomplete {
|
|
26
|
+
SINGLE = "single",
|
|
27
|
+
MULTI = "multi",
|
|
28
|
+
LARGE = "large"
|
|
29
|
+
}
|
|
30
|
+
declare enum Padding {
|
|
31
|
+
AUTOCOMPLETE_CONTAINER = 40,
|
|
32
|
+
DROPDOWN_CONTAINER = 60,
|
|
33
|
+
AUTOCOMPLETE_SPACE_CONTAINER = 65,
|
|
34
|
+
DROPDOWN_SPACE_CONTAINER = 85
|
|
35
|
+
}
|
|
36
|
+
declare const AMOUNT_TAG_WIDTH = 33;
|
|
37
|
+
declare enum Timeout {
|
|
38
|
+
VIEW_INITIALIZED_AFTER_ACTION = 150,
|
|
39
|
+
VIEW_INITIALIZED_COMPONENT_LOAD = 600
|
|
40
|
+
}
|
|
41
|
+
declare enum DropdownVariation {
|
|
42
|
+
AUTOCOMPLETE = "autocomplete",
|
|
43
|
+
DROPDOWN = "dropdown"
|
|
44
|
+
}
|
|
45
|
+
type DropdownVariationType = `${DropdownVariation}`;
|
|
46
|
+
type AutocompleteSize = 'small' | 'medium';
|
|
47
|
+
|
|
48
|
+
declare class AutocompleteComponent implements ControlValueAccessor, OnChanges, AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
49
|
+
private readonly defaultAppTheme;
|
|
50
|
+
private readonly cdr;
|
|
51
|
+
ngControl: NgControl;
|
|
52
|
+
private readonly platformId;
|
|
53
|
+
private readonly el;
|
|
54
|
+
private readonly focusMonitor;
|
|
55
|
+
private readonly destroyRef;
|
|
56
|
+
private readonly ngZone;
|
|
57
|
+
/**
|
|
58
|
+
* @property itemsList
|
|
59
|
+
* @description The list of items to display in the autocomplete.
|
|
60
|
+
* @memberof AutocompleteComponent
|
|
61
|
+
*/
|
|
62
|
+
itemsList: any[] | {
|
|
63
|
+
groupName: string;
|
|
64
|
+
items: any[];
|
|
65
|
+
isGroup: boolean;
|
|
66
|
+
}[];
|
|
67
|
+
/**
|
|
68
|
+
* @property suggestionsList
|
|
69
|
+
* @description The list of suggestions to display in the autocomplete.
|
|
70
|
+
* @memberof AutocompleteComponent
|
|
71
|
+
*/
|
|
72
|
+
suggestionsList: any[];
|
|
73
|
+
/**
|
|
74
|
+
* @property disabled
|
|
75
|
+
* @description If `true`, the autocomplete is disabled.
|
|
76
|
+
* @memberof AutocompleteComponent
|
|
77
|
+
*/
|
|
78
|
+
disabled: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* @property allowAdd
|
|
81
|
+
* @description If `true`, allows adding new values to the autocomplete.
|
|
82
|
+
* @memberof AutocompleteComponent
|
|
83
|
+
*/
|
|
84
|
+
allowAdd: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* @property textField
|
|
87
|
+
* @description The field to be used as the display text in the autocomplete.
|
|
88
|
+
* @memberof AutocompleteComponent
|
|
89
|
+
*/
|
|
90
|
+
textField: string;
|
|
91
|
+
/**
|
|
92
|
+
* @property valueField
|
|
93
|
+
* @description The field to be used as the value in the autocomplete.
|
|
94
|
+
* @memberof AutocompleteComponent
|
|
95
|
+
*/
|
|
96
|
+
valueField: string;
|
|
97
|
+
/**
|
|
98
|
+
* @property label
|
|
99
|
+
* @description The label for the autocomplete input.
|
|
100
|
+
* @memberof AutocompleteComponent
|
|
101
|
+
*/
|
|
102
|
+
label: string;
|
|
103
|
+
/**
|
|
104
|
+
* @property placeholder
|
|
105
|
+
* @description The placeholder for the autocomplete input.
|
|
106
|
+
* @memberof AutocompleteComponent
|
|
107
|
+
*/
|
|
108
|
+
placeholder: string;
|
|
109
|
+
/**
|
|
110
|
+
* @property value
|
|
111
|
+
* @description The selected value(s) in the autocomplete.
|
|
112
|
+
* @memberof AutocompleteComponent
|
|
113
|
+
*/
|
|
114
|
+
set itemValue(v: any);
|
|
115
|
+
/**
|
|
116
|
+
* @property type
|
|
117
|
+
* @description The type of the autocomplete ('single', 'multi', etc.).
|
|
118
|
+
* @memberof AutocompleteComponent
|
|
119
|
+
*/
|
|
120
|
+
type: AutocompleteType;
|
|
121
|
+
/**
|
|
122
|
+
* @property minCharactersSearch
|
|
123
|
+
* @description The minimum characters to trigger search.
|
|
124
|
+
* @memberof AutocompleteComponent
|
|
125
|
+
*/
|
|
126
|
+
minCharactersSearch: number;
|
|
127
|
+
/**
|
|
128
|
+
* @property variant
|
|
129
|
+
* @description The variant of Autocomplete
|
|
130
|
+
* @memberof AutocompleteComponent
|
|
131
|
+
*/
|
|
132
|
+
variant: DropdownVariationType;
|
|
133
|
+
/**
|
|
134
|
+
* Show reserved content below form field
|
|
135
|
+
* @property showBottomContent
|
|
136
|
+
* @type {boolean}
|
|
137
|
+
* @memberof AutocompleteComponent
|
|
138
|
+
*/
|
|
139
|
+
showBottomContent: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Return full object if true
|
|
142
|
+
* @property valuePrimitive
|
|
143
|
+
* @type {boolean}
|
|
144
|
+
* @memberof AutocompleteComponent
|
|
145
|
+
*/
|
|
146
|
+
valuePrimitive: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Indicator of the autocomplete width
|
|
149
|
+
* @property fullWidth
|
|
150
|
+
* @type {boolean}
|
|
151
|
+
* @memberof AutocompleteComponent
|
|
152
|
+
*/
|
|
153
|
+
fullWidth: boolean;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* Defines the application theme
|
|
157
|
+
*
|
|
158
|
+
* @type {ApplicationTheme}
|
|
159
|
+
* @memberof AutocompleteComponent
|
|
160
|
+
*/
|
|
161
|
+
applicationTheme: ApplicationTheme;
|
|
162
|
+
/**
|
|
163
|
+
* Autocomplete is required or not
|
|
164
|
+
*
|
|
165
|
+
* @type {boolean}
|
|
166
|
+
* @memberof AutocompleteComponent
|
|
167
|
+
*/
|
|
168
|
+
required: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Input field errors
|
|
171
|
+
*
|
|
172
|
+
* @type {string[]}
|
|
173
|
+
* @memberof AutocompleteComponent
|
|
174
|
+
*/
|
|
175
|
+
set errors(errors: string[]);
|
|
176
|
+
/**
|
|
177
|
+
* Color of the option hover.
|
|
178
|
+
* Defaults to Test Gorilla primary color.
|
|
179
|
+
*
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof AutocompleteComponent
|
|
182
|
+
*/
|
|
183
|
+
companyColor: string | null;
|
|
184
|
+
/**
|
|
185
|
+
* Hide in-build errors for Reactive Forms
|
|
186
|
+
*
|
|
187
|
+
* @type {number}
|
|
188
|
+
* @memberof AutocompleteComponent
|
|
189
|
+
*/
|
|
190
|
+
hideBuiltInErrors: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Hide label in errors
|
|
193
|
+
*
|
|
194
|
+
* @type {number}
|
|
195
|
+
* @memberof AutocompleteComponent
|
|
196
|
+
*/
|
|
197
|
+
hideLabelInErrors: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Sets dropdown list to virtual scroll mode
|
|
200
|
+
*
|
|
201
|
+
* @type {boolean}
|
|
202
|
+
* @memberof AutocompleteComponent
|
|
203
|
+
*/
|
|
204
|
+
virtualScroll: boolean;
|
|
205
|
+
/**
|
|
206
|
+
* @property compareWith
|
|
207
|
+
* @description Custom comparison logic for the autocomplete.
|
|
208
|
+
* @memberof AutocompleteComponent
|
|
209
|
+
*/
|
|
210
|
+
compareWith: (a: any, b: any) => boolean;
|
|
211
|
+
/**
|
|
212
|
+
* @property dropdownPanelClass
|
|
213
|
+
* @description Sets class on autocomplete dropdown
|
|
214
|
+
* @memberof AutocompleteComponent
|
|
215
|
+
*/
|
|
216
|
+
dropdownPanelClass: string;
|
|
217
|
+
/**
|
|
218
|
+
* @property closeOnScroll
|
|
219
|
+
* @description Defines if dropdown should be closed on page scroll
|
|
220
|
+
* @memberof AutocompleteComponent
|
|
221
|
+
*/
|
|
222
|
+
closeOnScroll: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* @property AutocompleteSize
|
|
225
|
+
* @description Defines the size of the autocomplete. Small changes the tags to counter; medium is default.
|
|
226
|
+
* @memberof AutocompleteComponent
|
|
227
|
+
*/
|
|
228
|
+
size: AutocompleteSize;
|
|
229
|
+
/**
|
|
230
|
+
* @property allowUserInput
|
|
231
|
+
* @description If `true`, allows the user to input custom values in the autocomplete.
|
|
232
|
+
* @type {boolean}
|
|
233
|
+
* @memberof AutocompleteComponent
|
|
234
|
+
*/
|
|
235
|
+
allowUserInput: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* @property clearable
|
|
238
|
+
* @description If `true`, allows the user to clear the input values
|
|
239
|
+
* @type {boolean}
|
|
240
|
+
* @memberof AutocompleteComponent
|
|
241
|
+
*/
|
|
242
|
+
clearable: boolean;
|
|
243
|
+
/**
|
|
244
|
+
* @property exactMatchSelect
|
|
245
|
+
* @description If `true`, allows to select the exact match from the suggestions list
|
|
246
|
+
* @type {boolean}
|
|
247
|
+
* @memberof AutocompleteComponent
|
|
248
|
+
*/
|
|
249
|
+
exactMatchSelect: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* @property maxItemSelected
|
|
252
|
+
* @description Sets the maximum number of items that can be selected in the autocomplete
|
|
253
|
+
* @type {boolean}
|
|
254
|
+
* @memberof AutocompleteComponent
|
|
255
|
+
*/
|
|
256
|
+
maxItemSelected: number;
|
|
257
|
+
/**
|
|
258
|
+
* @property maxItemSelected
|
|
259
|
+
* @description Sets the maximum length of the autocomplete input
|
|
260
|
+
* @type {boolean}
|
|
261
|
+
* @memberof AutocompleteComponent
|
|
262
|
+
*/
|
|
263
|
+
maxLength?: number;
|
|
264
|
+
isDynamicFilteringEnabled: boolean;
|
|
265
|
+
dynamicFilterLoading: boolean;
|
|
266
|
+
dynamicFilteredList: any[] | null;
|
|
267
|
+
infiniteScroll: boolean;
|
|
268
|
+
hasMoreOptionsForInfiniteScroll: boolean;
|
|
269
|
+
selectionChange: EventEmitter<any>;
|
|
270
|
+
searchTextChange: EventEmitter<string>;
|
|
271
|
+
blur: EventEmitter<void>;
|
|
272
|
+
focus: EventEmitter<void>;
|
|
273
|
+
/**
|
|
274
|
+
* @property scrollViewportBottomReached
|
|
275
|
+
* @description Emits when the bottom of the unfiltered list is reached during infinite scroll
|
|
276
|
+
* @memberof AutocompleteComponent
|
|
277
|
+
*/
|
|
278
|
+
scrollViewportBottomReached: EventEmitter<void>;
|
|
279
|
+
/**
|
|
280
|
+
* @property scrollViewportBottomReachedFiltered
|
|
281
|
+
* @description Emits when the bottom of the filtered list is reached during infinite scroll
|
|
282
|
+
* @memberof AutocompleteComponent
|
|
283
|
+
*/
|
|
284
|
+
scrollViewportBottomReachedFiltered: EventEmitter<void>;
|
|
285
|
+
formFieldElement: ElementRef<HTMLElement>;
|
|
286
|
+
tagContainer: ElementRef<HTMLElement>;
|
|
287
|
+
autocomplete: MatAutocompleteTrigger;
|
|
288
|
+
set cdkVirtualScrollViewport(viewport: CdkVirtualScrollViewport);
|
|
289
|
+
matAutocomplete: MatAutocomplete;
|
|
290
|
+
matInput: ElementRef<HTMLInputElement>;
|
|
291
|
+
protected safeErrors: string[];
|
|
292
|
+
protected value: any;
|
|
293
|
+
protected inputValue: any;
|
|
294
|
+
protected isInputFocus: boolean;
|
|
295
|
+
protected autocompleteType: typeof Autocomplete;
|
|
296
|
+
protected isOverLapping: boolean;
|
|
297
|
+
protected isOverlapChecking: boolean;
|
|
298
|
+
protected overlapIndex: number;
|
|
299
|
+
protected inputOpacity: number;
|
|
300
|
+
protected firstTagMaxWidth: number;
|
|
301
|
+
protected inputValueSearch$: ReplaySubject<string>;
|
|
302
|
+
protected userInput$: ReplaySubject<string>;
|
|
303
|
+
protected dynamicFilteredList$: BehaviorSubject<any[] | null>;
|
|
304
|
+
protected filteredItemsList$: rxjs.Observable<any>;
|
|
305
|
+
protected filteredSuggestionList$: rxjs.Observable<any>;
|
|
306
|
+
protected savedVirtualScrollViewport: CdkVirtualScrollViewport;
|
|
307
|
+
protected savedVirtualScrollSubscription: Subscription;
|
|
308
|
+
protected isFilteredViewport: boolean;
|
|
309
|
+
scrollEvent: (event: any) => void;
|
|
310
|
+
protected searchResult$: rxjs.Observable<boolean>;
|
|
311
|
+
protected translationContext: string;
|
|
312
|
+
protected readonly AutocompleteUtils: typeof AutocompleteUtils;
|
|
313
|
+
private readonly isPlatform;
|
|
314
|
+
private observer;
|
|
315
|
+
protected keyboardFocused: i0.WritableSignal<boolean>;
|
|
316
|
+
isAlreadyAdded: boolean;
|
|
317
|
+
constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl, platformId: any, el: ElementRef, focusMonitor: FocusMonitor, destroyRef: DestroyRef, ngZone: NgZone);
|
|
318
|
+
ngOnInit(): void;
|
|
319
|
+
/**
|
|
320
|
+
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
321
|
+
* to display validation errors that might happen (e.g. required)
|
|
322
|
+
*/
|
|
323
|
+
ngDoCheck(): void;
|
|
324
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
325
|
+
ngAfterViewInit(): void;
|
|
326
|
+
ngOnDestroy(): void;
|
|
327
|
+
onChange: (_: any) => void;
|
|
328
|
+
onTouch: () => void;
|
|
329
|
+
registerOnChange(fn: any): void;
|
|
330
|
+
registerOnTouched(fn: any): void;
|
|
331
|
+
setDisabledState(isDisabled: boolean): void;
|
|
332
|
+
writeValue(value: any): void;
|
|
333
|
+
protected get isGrouped(): boolean;
|
|
334
|
+
protected onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
335
|
+
protected onOptionRemoved(option: any): void;
|
|
336
|
+
protected onInputChange(event: Event): void;
|
|
337
|
+
protected onClear(): void;
|
|
338
|
+
protected refillInput(): void;
|
|
339
|
+
protected gotoUp(): void;
|
|
340
|
+
protected onFocus(): void;
|
|
341
|
+
private checkOverlap;
|
|
342
|
+
private onUpdate;
|
|
343
|
+
private updateControlMaxLengthValidity;
|
|
344
|
+
private initValue;
|
|
345
|
+
private addNewValue;
|
|
346
|
+
protected get isDropdown(): boolean;
|
|
347
|
+
protected onChevronClick(autocomplete: MatAutocomplete): void;
|
|
348
|
+
protected get inputWidth(): number;
|
|
349
|
+
protected trackByFn: (index: number, value: string) => string;
|
|
350
|
+
/**
|
|
351
|
+
* Adding company color variable to the body to style overlay container that's out of the component scope.
|
|
352
|
+
*/
|
|
353
|
+
private setCompanyColorVariable;
|
|
354
|
+
private subscriberDisplayChange;
|
|
355
|
+
protected get hasObjectValue(): boolean;
|
|
356
|
+
onKeydown($event: KeyboardEvent): void;
|
|
357
|
+
protected getVirtualScrollHeight(itemCount: number): number;
|
|
358
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, { optional: true; self: true; }, null, null, null, null, null]>;
|
|
359
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "compareWith": { "alias": "compareWith"; "required": false; }; "dropdownPanelClass": { "alias": "dropdownPanelClass"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "allowUserInput": { "alias": "allowUserInput"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "exactMatchSelect": { "alias": "exactMatchSelect"; "required": false; }; "maxItemSelected": { "alias": "maxItemSelected"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "isDynamicFilteringEnabled": { "alias": "isDynamicFilteringEnabled"; "required": false; }; "dynamicFilterLoading": { "alias": "dynamicFilterLoading"; "required": false; }; "dynamicFilteredList": { "alias": "dynamicFilteredList"; "required": false; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; }; "hasMoreOptionsForInfiniteScroll": { "alias": "hasMoreOptionsForInfiniteScroll"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; "blur": "blur"; "focus": "focus"; "scrollViewportBottomReached": "scrollViewportBottomReached"; "scrollViewportBottomReachedFiltered": "scrollViewportBottomReachedFiltered"; }, never, never, false, never>;
|
|
360
|
+
static ngAcceptInputType_virtualScroll: unknown;
|
|
361
|
+
}
|
|
362
|
+
|
|
1
363
|
/**
|
|
2
|
-
*
|
|
364
|
+
* the TransformItemPipe is designed to selectively extract and return values from objects based on a specified field,
|
|
365
|
+
* providing a way to transform and display data a template.
|
|
3
366
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
367
|
+
declare class TransformItemPipe implements PipeTransform {
|
|
368
|
+
transform(value: any, field: string, getValueList?: boolean): any;
|
|
369
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TransformItemPipe, never>;
|
|
370
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TransformItemPipe, "transformItem", false>;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* The purpose of this pipe is to determine if the value is present in the values array.
|
|
375
|
+
* If values is an array, the method uses the includes method to check for inclusion.
|
|
376
|
+
* If values is not an array, it checks for strict equality between value and values.
|
|
377
|
+
*/
|
|
378
|
+
declare class IncludesPipe implements PipeTransform {
|
|
379
|
+
transform(value: any, values: any, valueField?: string): boolean;
|
|
380
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IncludesPipe, never>;
|
|
381
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<IncludesPipe, "includes", false>;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* the SelectTextDirective provides a dynamic way to highlight or style specific text within an element.
|
|
386
|
+
*/
|
|
387
|
+
declare class SelectTextDirective implements OnChanges {
|
|
388
|
+
private el;
|
|
389
|
+
selectText: string | null;
|
|
390
|
+
constructor(el: ElementRef);
|
|
391
|
+
/**
|
|
392
|
+
* this method utilizes setTimeout to defer the execution until the next tick of the event loop.
|
|
393
|
+
* The text content of the element is modified by wrapping occurrences of the specified selectText with a <span> element,
|
|
394
|
+
* applying a bold font-weight style.
|
|
395
|
+
*/
|
|
396
|
+
private setTextColor;
|
|
397
|
+
ngOnChanges(): void;
|
|
398
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectTextDirective, never>;
|
|
399
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectTextDirective, "[selectText]", never, { "selectText": { "alias": "selectText"; "required": false; }; }, {}, never, never, false, never>;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
declare class PreventInputDirective {
|
|
403
|
+
uiPreventInput: boolean;
|
|
404
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
405
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PreventInputDirective, never>;
|
|
406
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PreventInputDirective, "[uiPreventInput]", never, { "uiPreventInput": { "alias": "uiPreventInput"; "required": false; }; }, {}, never, never, true, never>;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
declare class AutocompleteComponentModule {
|
|
410
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponentModule, never>;
|
|
411
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutocompleteComponentModule, [typeof AutocompleteComponent, typeof TransformItemPipe, typeof IncludesPipe, typeof SelectTextDirective], [typeof i5.CommonModule, typeof i6.MatFormFieldModule, typeof i7.MatAutocompleteModule, typeof i8.MatInputModule, typeof i9.FormsModule, typeof i10.TagComponentModule, typeof i11.MatChipsModule, typeof i12.IconComponentModule, typeof i13.UiTranslatePipe, typeof i14.ValidationErrorModule, typeof i13.HasValidationErrorPipe, typeof i15.CdkVirtualForOf, typeof i15.CdkVirtualScrollViewport, typeof i15.CdkFixedSizeVirtualScroll, typeof PreventInputDirective, typeof i17.SpinnerComponentModule], [typeof AutocompleteComponent]>;
|
|
412
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AutocompleteComponentModule>;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export { AMOUNT_TAG_WIDTH, Autocomplete, AutocompleteComponent, AutocompleteComponentModule, DropdownVariation, Padding, Timeout };
|
|
416
|
+
export type { AutocompleteSize, AutocompleteType, DropdownVariationType };
|
|
@@ -1,5 +1,107 @@
|
|
|
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 onEditClick(event: Event): void;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, [{ optional: true; }]>;
|
|
91
|
+
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>;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
declare class NameInitialsPipe implements PipeTransform {
|
|
95
|
+
transform(value: string): string;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NameInitialsPipe, never>;
|
|
97
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<NameInitialsPipe, "nameInitials", false>;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
declare class AvatarComponentModule {
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponentModule, never>;
|
|
102
|
+
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]>;
|
|
103
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarComponentModule>;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export { AvatarBackgroundColor, AvatarComponent, AvatarComponentModule, AvatarSize, iconSize };
|
|
107
|
+
export type { AvatarSizeType, BackgroundAvatarColorType };
|
|
@@ -1,5 +1,125 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
2
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
4
|
+
import { IconName, IconColor } from '@testgorilla/tgo-ui/components/icon';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
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
|
+
* The color of the badge. Defaults to 'petrol'.
|
|
72
|
+
* @type {BadgeColor}
|
|
73
|
+
* @memberof BadgeComponent
|
|
74
|
+
*/
|
|
75
|
+
color: BadgeColor;
|
|
76
|
+
/**
|
|
77
|
+
* The variant of the badge. Defaults to 'primary'.
|
|
78
|
+
* @type {BadgeVariant}
|
|
79
|
+
* @memberof BadgeComponent
|
|
80
|
+
*/
|
|
81
|
+
variant: BadgeVariant;
|
|
82
|
+
/**
|
|
83
|
+
* The amount of notifications to be displayed on the badge.
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof BadgeComponent
|
|
86
|
+
*/
|
|
87
|
+
notificationsAmount: number;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* Defines the application theme
|
|
91
|
+
*
|
|
92
|
+
* @type {ApplicationTheme}
|
|
93
|
+
* @memberof BadgeComponent
|
|
94
|
+
*/
|
|
95
|
+
applicationTheme: ApplicationTheme;
|
|
96
|
+
/**
|
|
97
|
+
* The color of the badge on new theme. Defaults to 'brand'.
|
|
98
|
+
* @type {RebrandBadgeColor}
|
|
99
|
+
* @memberof BadgeComponent
|
|
100
|
+
*/
|
|
101
|
+
rebrandColor: RebrandBadgeColor;
|
|
102
|
+
truncateLabel: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Whether to enable the animation when label changes from empty to having content.
|
|
105
|
+
* @type {boolean}
|
|
106
|
+
* @memberof BadgeComponent
|
|
107
|
+
*/
|
|
108
|
+
enableAnimation: boolean;
|
|
109
|
+
protected badgeVariant: typeof BadgeVariantEnum;
|
|
110
|
+
private darkColors;
|
|
111
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
112
|
+
protected get iconColor(): IconColor;
|
|
113
|
+
protected get isClassicTheme(): boolean;
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, [{ optional: true; }]>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "ui-badge", never, { "label": { "alias": "label"; "required": false; }; "staticLabel": { "alias": "staticLabel"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "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>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class BadgeComponentModule {
|
|
119
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponentModule, never>;
|
|
120
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BadgeComponentModule, [typeof BadgeComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.MatTooltipModule], [typeof BadgeComponent]>;
|
|
121
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BadgeComponentModule>;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export { BadgeColorEnum, BadgeComponent, BadgeComponentModule, BadgeVariantEnum, RebrandBadgeColorEnum };
|
|
125
|
+
export type { BadgeColor, BadgeVariant, RebrandBadgeColor };
|