@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,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 { BehaviorSubject, ReplaySubject, 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$: BehaviorSubject<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,219 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, AfterViewInit, DoCheck, ElementRef } from '@angular/core';
|
|
3
|
+
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
4
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
5
|
+
import { MatAutocompleteTrigger, MatAutocomplete, MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
6
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
+
import { BehaviorSubject, ReplaySubject, Observable } from 'rxjs';
|
|
9
|
+
|
|
10
|
+
declare class AutocompleteFilterService<T extends Record<string, any> = Record<string, any>> implements OnDestroy {
|
|
11
|
+
readonly textField: _angular_core.WritableSignal<string>;
|
|
12
|
+
readonly flatItems: _angular_core.WritableSignal<T[]>;
|
|
13
|
+
readonly groupsList: _angular_core.WritableSignal<AutocompleteGroup<T>[]>;
|
|
14
|
+
readonly suggestions: _angular_core.WritableSignal<T[]>;
|
|
15
|
+
readonly searchText$: BehaviorSubject<string>;
|
|
16
|
+
readonly userInput$: ReplaySubject<string>;
|
|
17
|
+
readonly isSearching$: Observable<boolean>;
|
|
18
|
+
private readonly dynamicSource$;
|
|
19
|
+
private isDynamicMode;
|
|
20
|
+
filteredItems$: Observable<T[] | null>;
|
|
21
|
+
readonly filteredGroupedItems$: Observable<any[] | null>;
|
|
22
|
+
readonly filteredSuggestions$: Observable<T[] | null>;
|
|
23
|
+
search(text: string, minChars: number): void;
|
|
24
|
+
clearSearch(): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
setDynamicResults(list: T[] | null, loading: boolean): void;
|
|
27
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteFilterService<any>, never>;
|
|
28
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AutocompleteFilterService<any>>;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type Item = Record<string, unknown>;
|
|
32
|
+
declare class AutocompleteV2Utils {
|
|
33
|
+
static transformDisplayValue<T extends Item>(value: T | null | undefined, textField: string): string;
|
|
34
|
+
static filterItems<T extends Item>(items: T[], inputValue: string, textField: string): T[];
|
|
35
|
+
static filterGroupedItems<T extends Item>(groups: {
|
|
36
|
+
groupName: string;
|
|
37
|
+
items: T[];
|
|
38
|
+
}[], inputValue: string, textField: string): {
|
|
39
|
+
groupName: string;
|
|
40
|
+
items: T[];
|
|
41
|
+
filteredItems: T[];
|
|
42
|
+
}[];
|
|
43
|
+
static excludeSuggestions<T extends Item>(items: T[], excludeItems: T[], valueField: string): T[];
|
|
44
|
+
static createValueItem<T extends Item>(value: T | string, textField: string, valueField: string): T;
|
|
45
|
+
static findDuplicate<T extends Item>(items: T[], selectedValue: T, lookupKey: string): T | undefined;
|
|
46
|
+
static isArray(value: unknown): value is unknown[];
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
type AutocompleteType = 'single' | 'multi' | 'large';
|
|
50
|
+
declare enum Autocomplete {
|
|
51
|
+
SINGLE = "single",
|
|
52
|
+
MULTI = "multi",
|
|
53
|
+
LARGE = "large"
|
|
54
|
+
}
|
|
55
|
+
declare enum DropdownVariation {
|
|
56
|
+
AUTOCOMPLETE = "autocomplete",
|
|
57
|
+
DROPDOWN = "dropdown"
|
|
58
|
+
}
|
|
59
|
+
type DropdownVariationType = `${DropdownVariation}`;
|
|
60
|
+
type AutocompleteSize = 'small' | 'medium';
|
|
61
|
+
|
|
62
|
+
declare class AutocompleteValueManager<T extends Record<string, any> = Record<string, any>> {
|
|
63
|
+
readonly type: _angular_core.WritableSignal<AutocompleteType>;
|
|
64
|
+
readonly textField: _angular_core.WritableSignal<string>;
|
|
65
|
+
readonly valueField: _angular_core.WritableSignal<string>;
|
|
66
|
+
readonly compareWith: _angular_core.WritableSignal<((a: T, b: T) => boolean) | undefined>;
|
|
67
|
+
readonly value: _angular_core.WritableSignal<T | T[] | null>;
|
|
68
|
+
readonly isSingle: _angular_core.Signal<boolean>;
|
|
69
|
+
readonly displayValue: _angular_core.Signal<string>;
|
|
70
|
+
private onChangeFn;
|
|
71
|
+
private onTouchedFn;
|
|
72
|
+
registerOnChange(fn: (value: T | T[] | null) => void): void;
|
|
73
|
+
registerOnTouched(fn: () => void): void;
|
|
74
|
+
notifyChange(): void;
|
|
75
|
+
markAsTouched(): void;
|
|
76
|
+
writeValue(v: T | T[] | null): void;
|
|
77
|
+
addValue(newValue: T): void;
|
|
78
|
+
/**
|
|
79
|
+
* Removes `option` from the value array.
|
|
80
|
+
* Returns the found item (so the caller can deselect the mat-option), or undefined if not found.
|
|
81
|
+
*/
|
|
82
|
+
removeValue(option: T): T | undefined;
|
|
83
|
+
clear(): void;
|
|
84
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteValueManager<any>, never>;
|
|
85
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AutocompleteValueManager<any>>;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
declare class AutocompleteOverflowDetectDirective implements AfterViewInit, OnDestroy {
|
|
89
|
+
measureContainer: _angular_core.InputSignal<HTMLElement | undefined>;
|
|
90
|
+
itemSelector: _angular_core.InputSignal<string>;
|
|
91
|
+
reserveWidth: _angular_core.InputSignal<number>;
|
|
92
|
+
visibleCount: _angular_core.WritableSignal<number>;
|
|
93
|
+
overflowCount: _angular_core.WritableSignal<number>;
|
|
94
|
+
hasMeasured: _angular_core.WritableSignal<boolean>;
|
|
95
|
+
tagMaxWidth: _angular_core.WritableSignal<number | null>;
|
|
96
|
+
private resizeObserver;
|
|
97
|
+
private rafId;
|
|
98
|
+
private readonly el;
|
|
99
|
+
private readonly ngZone;
|
|
100
|
+
ngAfterViewInit(): void;
|
|
101
|
+
setupObserver(containerSelector: string): void;
|
|
102
|
+
measure(): void;
|
|
103
|
+
ngOnDestroy(): void;
|
|
104
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteOverflowDetectDirective, never>;
|
|
105
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutocompleteOverflowDetectDirective, "[uiAutocompleteOverflowDetect]", ["autocompleteOverflowDetect"], { "measureContainer": { "alias": "measureContainer"; "required": false; "isSignal": true; }; "itemSelector": { "alias": "itemSelector"; "required": false; "isSignal": true; }; "reserveWidth": { "alias": "reserveWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
interface AutocompleteGroup<T extends Record<string, any> = Record<string, any>> {
|
|
109
|
+
groupName: string;
|
|
110
|
+
items: T[];
|
|
111
|
+
}
|
|
112
|
+
declare class AutocompleteV2Component<T extends Record<string, any> = Record<string, any>> implements ControlValueAccessor, AfterViewInit, DoCheck, OnDestroy {
|
|
113
|
+
itemsList: _angular_core.InputSignal<T[]>;
|
|
114
|
+
suggestionsList: _angular_core.InputSignal<T[]>;
|
|
115
|
+
groupsList: _angular_core.InputSignal<AutocompleteGroup<T>[]>;
|
|
116
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
117
|
+
allowAdd: _angular_core.InputSignal<boolean>;
|
|
118
|
+
textField: _angular_core.InputSignal<string>;
|
|
119
|
+
valueField: _angular_core.InputSignal<string>;
|
|
120
|
+
imageField: _angular_core.InputSignal<string>;
|
|
121
|
+
label: _angular_core.InputSignal<string>;
|
|
122
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
123
|
+
type: _angular_core.InputSignal<AutocompleteType>;
|
|
124
|
+
minCharactersSearch: _angular_core.InputSignal<number>;
|
|
125
|
+
variant: _angular_core.InputSignal<"autocomplete" | "dropdown">;
|
|
126
|
+
showBottomContent: _angular_core.InputSignal<boolean>;
|
|
127
|
+
required: _angular_core.InputSignal<boolean | undefined>;
|
|
128
|
+
virtualScroll: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
129
|
+
compareWith: _angular_core.InputSignal<((a: T, b: T) => boolean) | undefined>;
|
|
130
|
+
dropdownPanelClass: _angular_core.InputSignal<string>;
|
|
131
|
+
closeOnScroll: _angular_core.InputSignal<boolean>;
|
|
132
|
+
size: _angular_core.InputSignal<AutocompleteSize>;
|
|
133
|
+
allowUserInput: _angular_core.InputSignal<boolean>;
|
|
134
|
+
clearable: _angular_core.InputSignal<boolean>;
|
|
135
|
+
maxLength: _angular_core.InputSignal<number | undefined>;
|
|
136
|
+
dynamicFilterLoading: _angular_core.InputSignal<boolean>;
|
|
137
|
+
dynamicFilteredList: _angular_core.InputSignal<T[] | null>;
|
|
138
|
+
infiniteScroll: _angular_core.InputSignal<boolean>;
|
|
139
|
+
hasMoreOptionsForInfiniteScroll: _angular_core.InputSignal<boolean>;
|
|
140
|
+
itemValue: _angular_core.InputSignal<T | T[] | null>;
|
|
141
|
+
formErrorConfig: _angular_core.InputSignal<Record<string, string>>;
|
|
142
|
+
errors: _angular_core.InputSignal<string[]>;
|
|
143
|
+
selectionChange: _angular_core.OutputEmitterRef<T | T[]>;
|
|
144
|
+
searchTextChange: _angular_core.OutputEmitterRef<string>;
|
|
145
|
+
blur: _angular_core.OutputEmitterRef<void>;
|
|
146
|
+
focus: _angular_core.OutputEmitterRef<void>;
|
|
147
|
+
scrollViewportBottomReached: _angular_core.OutputEmitterRef<void>;
|
|
148
|
+
scrollViewportBottomReachedFiltered: _angular_core.OutputEmitterRef<void>;
|
|
149
|
+
formFieldElement: ElementRef<HTMLElement>;
|
|
150
|
+
tagContainer: ElementRef<HTMLElement>;
|
|
151
|
+
protected measureElRef?: ElementRef<HTMLElement>;
|
|
152
|
+
overflowDir?: AutocompleteOverflowDetectDirective;
|
|
153
|
+
autocomplete: MatAutocompleteTrigger;
|
|
154
|
+
set cdkViewport(viewport: CdkVirtualScrollViewport);
|
|
155
|
+
matAutocomplete: MatAutocomplete;
|
|
156
|
+
matInput: ElementRef<HTMLInputElement>;
|
|
157
|
+
protected readonly valueManager: AutocompleteValueManager<T>;
|
|
158
|
+
protected readonly filterService: AutocompleteFilterService<T>;
|
|
159
|
+
private readonly scrollManager;
|
|
160
|
+
private readonly cdr;
|
|
161
|
+
private readonly focusMonitor;
|
|
162
|
+
private readonly destroyRef;
|
|
163
|
+
private readonly ngZone;
|
|
164
|
+
readonly ngControl: NgControl | null;
|
|
165
|
+
protected readonly applicationTheme: ApplicationTheme;
|
|
166
|
+
protected inputValue: _angular_core.WritableSignal<string>;
|
|
167
|
+
protected isInputFocus: _angular_core.WritableSignal<boolean>;
|
|
168
|
+
protected autocompleteType: typeof Autocomplete;
|
|
169
|
+
/** Flat list for default (ungrouped) rendering and virtual scroll */
|
|
170
|
+
protected flatItemsList: _angular_core.Signal<T[]>;
|
|
171
|
+
/** Grouped list — only used when isGrouped is true */
|
|
172
|
+
protected groupedItemsList: _angular_core.Signal<{
|
|
173
|
+
groupName: string;
|
|
174
|
+
items: T[];
|
|
175
|
+
}[]>;
|
|
176
|
+
protected _isDisabled: _angular_core.WritableSignal<boolean>;
|
|
177
|
+
protected translationContext: string;
|
|
178
|
+
protected readonly utils: typeof AutocompleteV2Utils;
|
|
179
|
+
protected keyboardFocused: _angular_core.WritableSignal<boolean>;
|
|
180
|
+
protected isAlreadyAdded: _angular_core.Signal<boolean>;
|
|
181
|
+
protected showClearButton: _angular_core.Signal<any>;
|
|
182
|
+
protected safeErrors: _angular_core.Signal<string[]>;
|
|
183
|
+
private controlInvalid;
|
|
184
|
+
protected hasError: _angular_core.Signal<boolean>;
|
|
185
|
+
protected hiddenItemsTooltip: _angular_core.Signal<string>;
|
|
186
|
+
constructor();
|
|
187
|
+
/**
|
|
188
|
+
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
189
|
+
* to display validation errors that might happen (e.g. required)
|
|
190
|
+
*/
|
|
191
|
+
ngDoCheck(): void;
|
|
192
|
+
ngAfterViewInit(): void;
|
|
193
|
+
ngOnDestroy(): void;
|
|
194
|
+
registerOnChange(fn: any): void;
|
|
195
|
+
registerOnTouched(fn: any): void;
|
|
196
|
+
setDisabledState(isDisabled: boolean): void;
|
|
197
|
+
writeValue(value: T | T[] | null): void;
|
|
198
|
+
protected get isGrouped(): boolean;
|
|
199
|
+
protected onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
200
|
+
protected onOptionRemoved(option: T): void;
|
|
201
|
+
protected onInputChange(event: Event): void;
|
|
202
|
+
protected onClear(): void;
|
|
203
|
+
protected onBlur(): void;
|
|
204
|
+
protected onPanelOpened(): void;
|
|
205
|
+
protected onScrollBottom(): void;
|
|
206
|
+
protected onFocus(): void;
|
|
207
|
+
private onUpdate;
|
|
208
|
+
protected get isDropdown(): boolean;
|
|
209
|
+
protected onChevronClick(autocomplete: MatAutocomplete): void;
|
|
210
|
+
protected trackByFn: (index: number, value: string) => string;
|
|
211
|
+
protected trackByItem: (_index: number, item: T) => any;
|
|
212
|
+
onKeydown($event: KeyboardEvent): void;
|
|
213
|
+
protected getVirtualScrollHeight(itemCount: number): number;
|
|
214
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutocompleteV2Component<any>, never>;
|
|
215
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AutocompleteV2Component<any>, "ui-autocomplete-v2", never, { "itemsList": { "alias": "itemsList"; "required": false; "isSignal": true; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; "isSignal": true; }; "groupsList": { "alias": "groupsList"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "allowAdd": { "alias": "allowAdd"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "imageField": { "alias": "imageField"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": true; "isSignal": true; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; "isSignal": true; }; "compareWith": { "alias": "compareWith"; "required": false; "isSignal": true; }; "dropdownPanelClass": { "alias": "dropdownPanelClass"; "required": false; "isSignal": true; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "allowUserInput": { "alias": "allowUserInput"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; "dynamicFilterLoading": { "alias": "dynamicFilterLoading"; "required": false; "isSignal": true; }; "dynamicFilteredList": { "alias": "dynamicFilteredList"; "required": false; "isSignal": true; }; "infiniteScroll": { "alias": "infiniteScroll"; "required": false; "isSignal": true; }; "hasMoreOptionsForInfiniteScroll": { "alias": "hasMoreOptionsForInfiniteScroll"; "required": false; "isSignal": true; }; "itemValue": { "alias": "itemValue"; "required": false; "isSignal": true; }; "formErrorConfig": { "alias": "formErrorConfig"; "required": false; "isSignal": true; }; "errors": { "alias": "errors"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; "blur": "blur"; "focus": "focus"; "scrollViewportBottomReached": "scrollViewportBottomReached"; "scrollViewportBottomReachedFiltered": "scrollViewportBottomReachedFiltered"; }, never, never, true, never>;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export { Autocomplete, AutocompleteFilterService, AutocompleteOverflowDetectDirective, AutocompleteV2Component, AutocompleteV2Utils, AutocompleteValueManager, DropdownVariation };
|
|
219
|
+
export type { AutocompleteGroup, AutocompleteSize, AutocompleteType, DropdownVariationType };
|