@testgorilla/tgo-ui 7.0.0-beta.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/accordion.component.d.ts +100 -0
- package/components/accordion/accordion.component.module.d.ts +12 -0
- package/components/accordion/accordion.model.d.ts +2 -0
- package/components/accordion/index.d.ts +5 -118
- package/components/accordion/public-api.d.ts +4 -0
- package/components/ai-audio-circle/ai-audio-circle.component.d.ts +60 -0
- package/components/ai-audio-circle/ai-audio-circle.module.d.ts +8 -0
- package/components/ai-audio-circle/index.d.ts +5 -70
- package/components/ai-audio-circle/public-api.d.ts +2 -0
- package/components/ai-caveat/ai-caveat.component.d.ts +36 -0
- package/components/ai-caveat/ai-caveat.component.module.d.ts +10 -0
- package/components/ai-caveat/index.d.ts +3 -47
- package/components/ai-caveat/public-api.d.ts +3 -0
- package/components/ai-feedback/ai-feedback.component.d.ts +52 -0
- package/components/ai-feedback/ai-feedback.model.d.ts +19 -0
- package/components/ai-feedback/ai-feedback.module.d.ts +16 -0
- package/components/ai-feedback/index.d.ts +5 -92
- package/components/ai-feedback/public-api.d.ts +4 -0
- package/components/alert-banner/alert-banner.component.d.ts +144 -0
- package/components/alert-banner/alert-banner.component.module.d.ts +12 -0
- package/components/alert-banner/alert-banner.model.d.ts +6 -0
- package/components/alert-banner/index.d.ts +5 -165
- package/components/alert-banner/public-api.d.ts +4 -0
- package/components/audio-waveform/audio-waveform.component.d.ts +32 -0
- package/components/audio-waveform/audio-waveform.model.d.ts +8 -0
- package/components/audio-waveform/audio-waveform.module.d.ts +7 -0
- package/components/audio-waveform/audio-waveform.service.d.ts +21 -0
- package/components/audio-waveform/index.d.ts +5 -71
- package/components/audio-waveform/public-api.d.ts +4 -0
- package/components/autocomplete/autocomplete.component.d.ts +324 -0
- package/components/autocomplete/autocomplete.component.module.d.ts +23 -0
- package/components/autocomplete/autocomplete.model.d.ts +23 -0
- package/components/autocomplete/includes.pipe.d.ts +12 -0
- package/components/autocomplete/index.d.ts +3 -414
- package/components/autocomplete/prevent-input.directive.d.ts +7 -0
- package/components/autocomplete/public-api.d.ts +4 -0
- package/components/autocomplete/select-text.directive.d.ts +19 -0
- package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
- package/components/avatar/avatar.component.d.ts +67 -0
- package/components/avatar/avatar.component.module.d.ts +13 -0
- package/components/avatar/avatar.model.d.ts +18 -0
- package/components/avatar/index.d.ts +5 -107
- package/components/avatar/name-initials.pipe.d.ts +7 -0
- package/components/avatar/public-api.d.ts +4 -0
- package/components/badge/badge.component.d.ts +73 -0
- package/components/badge/badge.component.module.d.ts +10 -0
- package/components/badge/badge.model.d.ts +38 -0
- package/components/badge/index.d.ts +5 -125
- package/components/badge/public-api.d.ts +4 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +40 -0
- package/components/breadcrumb/breadcrumb.component.module.d.ts +14 -0
- package/components/breadcrumb/breadcrumb.model.d.ts +5 -0
- package/components/breadcrumb/index.d.ts +5 -62
- package/components/breadcrumb/public-api.d.ts +4 -0
- package/components/button/button.component.d.ts +238 -0
- package/components/button/button.component.module.d.ts +15 -0
- package/components/button/button.model.d.ts +14 -0
- package/components/button/color-contrast.d.ts +28 -0
- package/components/button/index.d.ts +3 -298
- package/components/button/public-api.d.ts +5 -0
- package/components/card/card.component.d.ts +87 -0
- package/components/card/card.component.module.d.ts +9 -0
- package/components/card/card.model.d.ts +3 -0
- package/components/card/index.d.ts +5 -103
- package/components/card/public-api.d.ts +4 -0
- package/components/checkbox/checkbox.component.d.ts +193 -0
- package/components/checkbox/checkbox.component.module.d.ts +16 -0
- package/components/checkbox/focus-visible.directive.d.ts +12 -0
- package/components/checkbox/index.d.ts +5 -221
- package/components/checkbox/public-api.d.ts +4 -0
- package/components/checklist/checklist.component.d.ts +82 -0
- package/components/checklist/checklist.model.d.ts +9 -0
- package/components/checklist/index.d.ts +5 -97
- package/components/checklist/public-api.d.ts +3 -0
- package/components/core/alert-bar.model.d.ts +2 -0
- package/components/core/alert-bars.utils.d.ts +6 -0
- package/components/core/application-theme.model.d.ts +7 -0
- package/components/core/autocomplete-utils.d.ts +12 -0
- package/components/core/checkbox.model.d.ts +1 -0
- package/components/core/color-contrast.d.ts +28 -0
- package/components/core/colors.model.d.ts +63 -0
- package/components/core/data-property-getter.pipe.d.ts +8 -0
- package/components/core/digits-only.directive.d.ts +17 -0
- package/components/core/dynamic-component.directive.d.ts +20 -0
- package/components/core/ellipse-text.directive.d.ts +20 -0
- package/components/core/has-validation-error.pipe.d.ts +15 -0
- package/components/core/hex-to-rgb.d.ts +1 -0
- package/components/core/index.d.ts +3 -346
- package/components/core/is-large-tablet.d.ts +2 -0
- package/components/core/is-mobile.d.ts +2 -0
- package/components/core/keyboard-events.model.d.ts +11 -0
- package/components/core/language.model.d.ts +14 -0
- package/components/core/language.service.d.ts +20 -0
- package/components/core/link-target.model.d.ts +1 -0
- package/components/core/memoize-func.pipe.d.ts +26 -0
- package/components/core/public-api.d.ts +25 -0
- package/components/core/screen-breakpoints.model.d.ts +5 -0
- package/components/core/select-text.directive.d.ts +19 -0
- package/components/core/truncate.pipe.d.ts +7 -0
- package/components/core/ui-ordinal-suffix.pipe.d.ts +7 -0
- package/components/core/ui-translate.pipe.d.ts +32 -0
- package/components/datepicker/date-adapter.d.ts +34 -0
- package/components/datepicker/datepicker.component.d.ts +235 -0
- package/components/datepicker/datepicker.component.module.d.ts +17 -0
- package/components/datepicker/datepicker.service.d.ts +8 -0
- package/components/datepicker/index.d.ts +5 -305
- package/components/datepicker/no-date-format.directive.d.ts +11 -0
- package/components/datepicker/public-api.d.ts +6 -0
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +34 -0
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
- package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +38 -0
- package/components/dialog/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
- package/components/dialog/confirm-dialog/confirm-dialog.model.d.ts +47 -0
- package/components/dialog/dialog-custom/dialog-custom.component.d.ts +22 -0
- package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +10 -0
- package/components/dialog/dialog.component.d.ts +163 -0
- package/components/dialog/dialog.component.module.d.ts +11 -0
- package/components/dialog/dialog.model.d.ts +12 -0
- package/components/dialog/dialog.service.d.ts +14 -0
- package/components/dialog/index.d.ts +5 -308
- package/components/dialog/public-api.d.ts +10 -0
- package/components/divider/divider.component.d.ts +39 -0
- package/components/divider/divider.component.module.d.ts +9 -0
- package/components/divider/divider.model.d.ts +1 -0
- package/components/divider/index.d.ts +5 -53
- package/components/divider/public-api.d.ts +4 -0
- package/components/donut-chart/donut-chart.component.d.ts +22 -0
- package/components/donut-chart/donut-chart.component.model.d.ts +6 -0
- package/components/donut-chart/donut-chart.component.module.d.ts +8 -0
- package/components/donut-chart/index.d.ts +5 -39
- package/components/donut-chart/public-api.d.ts +3 -0
- package/components/dropdown/dropdown.component.d.ts +214 -0
- package/components/dropdown/dropdown.component.module.d.ts +16 -0
- package/components/dropdown/dropdown.model.d.ts +6 -0
- package/components/dropdown/index.d.ts +5 -240
- package/components/dropdown/public-api.d.ts +4 -0
- package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
- package/components/elevation-shadow/index.d.ts +5 -45
- package/components/elevation-shadow/public-api.d.ts +3 -0
- package/components/empty-state/empty-state.component.d.ts +199 -0
- package/components/empty-state/empty-state.component.module.d.ts +11 -0
- package/components/empty-state/empty-state.model.d.ts +3 -0
- package/components/empty-state/index.d.ts +5 -217
- package/components/empty-state/public-api.d.ts +4 -0
- package/components/field/field.component.d.ts +376 -0
- package/components/field/field.component.module.d.ts +17 -0
- package/components/field/field.model.d.ts +1 -0
- package/components/field/index.d.ts +3 -396
- package/components/field/public-api.d.ts +4 -0
- package/components/file-upload/drag-drop.directive.d.ts +12 -0
- package/components/file-upload/file-upload.component.d.ts +142 -0
- package/components/file-upload/file-upload.component.module.d.ts +14 -0
- package/components/file-upload/index.d.ts +5 -169
- package/components/file-upload/public-api.d.ts +3 -0
- package/components/filter-button/filter-button.component.d.ts +140 -0
- package/components/filter-button/filter-button.component.module.d.ts +17 -0
- package/components/filter-button/filter-button.model.d.ts +13 -0
- package/components/filter-button/index.d.ts +5 -173
- package/components/filter-button/public-api.d.ts +4 -0
- package/components/gaussian-chart/gaussian-chart.component.d.ts +82 -0
- package/components/gaussian-chart/gaussian-chart.module.d.ts +12 -0
- package/components/gaussian-chart/index.d.ts +5 -96
- package/components/gaussian-chart/public-api.d.ts +2 -0
- package/components/icon/icon-svg-content.d.ts +16 -0
- package/components/icon/icon.component.d.ts +72 -0
- package/components/icon/icon.component.module.d.ts +10 -0
- package/components/icon/icon.config.d.ts +10 -0
- package/components/icon/icon.model.d.ts +7 -0
- package/components/icon/icons.service.d.ts +8 -0
- package/components/icon/index.d.ts +5 -109
- package/components/icon/public-api.d.ts +6 -0
- package/components/icon-label/icon-label.component.d.ts +51 -0
- package/components/icon-label/icon-label.component.module.d.ts +9 -0
- package/components/icon-label/index.d.ts +5 -62
- package/components/icon-label/public-api.d.ts +2 -0
- package/components/inline-field/index.d.ts +3 -273
- package/components/inline-field/inline-field.component.d.ts +153 -0
- package/components/inline-field/inline-field.component.module.d.ts +13 -0
- package/components/inline-field/inline-field.model.d.ts +107 -0
- package/components/inline-field/public-api.d.ts +4 -0
- package/components/logo/index.d.ts +5 -106
- package/components/logo/logo.component.d.ts +66 -0
- package/components/logo/logo.component.module.d.ts +8 -0
- package/components/logo/logo.model.d.ts +29 -0
- package/components/logo/public-api.d.ts +4 -0
- package/components/media-card/index.d.ts +5 -35
- package/components/media-card/media-card.component.d.ts +32 -0
- package/components/media-card/public-api.d.ts +1 -0
- package/components/media-dialog/index.d.ts +5 -47
- package/components/media-dialog/media-dialog.component.d.ts +28 -0
- package/components/media-dialog/media-dialog.model.d.ts +16 -0
- package/components/media-dialog/public-api.d.ts +2 -0
- package/components/multi-input/index.d.ts +5 -185
- package/components/multi-input/multi-input.component.d.ts +158 -0
- package/components/multi-input/multi-input.component.module.d.ts +17 -0
- package/components/multi-input/multi-input.model.d.ts +4 -0
- package/components/multi-input/public-api.d.ts +5 -0
- package/components/multi-input/required-multi-input.validator.d.ts +3 -0
- package/components/navbar/index.d.ts +5 -203
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +28 -0
- package/components/navbar/navbar.component.d.ts +133 -0
- package/components/navbar/navbar.component.module.d.ts +21 -0
- package/components/navbar/navbar.model.d.ts +21 -0
- package/components/navbar/public-api.d.ts +5 -0
- package/components/overflow-menu/index.d.ts +5 -163
- package/components/overflow-menu/overflow-menu.component.d.ts +117 -0
- package/components/overflow-menu/overflow-menu.component.module.d.ts +14 -0
- package/components/overflow-menu/overflow-menu.model.d.ts +32 -0
- package/components/overflow-menu/public-api.d.ts +4 -0
- package/components/page-header/index.d.ts +5 -51
- package/components/page-header/page-header.component.d.ts +38 -0
- package/components/page-header/page-header.component.module.d.ts +10 -0
- package/components/page-header/public-api.d.ts +3 -0
- package/components/paginator/index.d.ts +5 -70
- package/components/paginator/paginator.component.d.ts +58 -0
- package/components/paginator/paginator.component.module.d.ts +9 -0
- package/components/paginator/public-api.d.ts +3 -0
- package/components/password-criteria/index.d.ts +5 -60
- package/components/password-criteria/password.component.d.ts +44 -0
- package/components/password-criteria/password.component.module.d.ts +13 -0
- package/components/password-criteria/public-api.d.ts +3 -0
- package/components/password-strength/index.d.ts +5 -59
- package/components/password-strength/password-strength.component.d.ts +45 -0
- package/components/password-strength/password-strength.component.module.d.ts +11 -0
- package/components/password-strength/public-api.d.ts +3 -0
- package/components/phone-input/index.d.ts +3 -179
- package/components/phone-input/join-strings.pipe.d.ts +7 -0
- package/components/phone-input/phone-input.component.d.ts +145 -0
- package/components/phone-input/phone-input.component.module.d.ts +19 -0
- package/components/phone-input/phone-input.model.d.ts +8 -0
- package/components/phone-input/public-api.d.ts +5 -0
- package/components/popover/index.d.ts +5 -34
- package/components/popover/popover.component.d.ts +9 -0
- package/components/popover/popover.directive.d.ts +31 -0
- package/components/popover/public-api.d.ts +1 -0
- package/components/progress-bar/index.d.ts +5 -86
- package/components/progress-bar/progress-bar.component.d.ts +73 -0
- package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
- package/components/progress-bar/public-api.d.ts +3 -0
- package/components/prompt/index.d.ts +5 -95
- package/components/prompt/prompt.component.d.ts +62 -0
- package/components/prompt/prompt.model.d.ts +9 -0
- package/components/prompt/prompt.module.d.ts +20 -0
- package/components/prompt/public-api.d.ts +4 -0
- package/components/radial-progress/index.d.ts +5 -99
- package/components/radial-progress/public-api.d.ts +4 -0
- package/components/radial-progress/radial-progress.component.d.ts +75 -0
- package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
- package/components/radial-progress/radial-progress.model.d.ts +10 -0
- package/components/radio-button/index.d.ts +5 -211
- package/components/radio-button/public-api.d.ts +4 -0
- package/components/radio-button/radio-button.component.d.ts +189 -0
- package/components/radio-button/radio-button.component.module.d.ts +15 -0
- package/components/radio-button/radio-button.model.d.ts +4 -0
- package/components/rating/half-star.pipe.d.ts +14 -0
- package/components/rating/index.d.ts +5 -97
- package/components/rating/public-api.d.ts +3 -0
- package/components/rating/rating.component.d.ts +71 -0
- package/components/rating/rating.component.module.d.ts +10 -0
- package/components/scale/index.d.ts +5 -65
- package/components/scale/public-api.d.ts +3 -0
- package/components/scale/scale.component.d.ts +54 -0
- package/components/scale/scale.component.module.d.ts +8 -0
- package/components/scale-table/index.d.ts +5 -49
- package/components/scale-table/public-api.d.ts +3 -0
- package/components/scale-table/scale-table.component.d.ts +39 -0
- package/components/scale-table/scale-table.model.d.ts +5 -0
- package/components/segmented-bar/index.d.ts +5 -92
- package/components/segmented-bar/public-api.d.ts +4 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +64 -0
- package/components/segmented-bar/segmented-bar.component.module.d.ts +12 -0
- package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
- package/components/segmented-button/index.d.ts +5 -77
- package/components/segmented-button/public-api.d.ts +4 -0
- package/components/segmented-button/segmented-button.component.d.ts +55 -0
- package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
- package/components/segmented-button/segmented-button.model.d.ts +8 -0
- package/components/selectable-card/index.d.ts +5 -50
- package/components/selectable-card/public-api.d.ts +2 -0
- package/components/selectable-card/selectable-card.component.d.ts +38 -0
- package/components/selectable-card/selectable-card.component.module.d.ts +10 -0
- package/components/side-panel/index.d.ts +3 -97
- package/components/side-panel/public-api.d.ts +5 -0
- package/components/side-panel/side-panel-data-injection-token.d.ts +2 -0
- package/components/side-panel/side-panel.animations.d.ts +3 -0
- package/components/side-panel/side-panel.component.d.ts +22 -0
- package/components/side-panel/side-panel.model.d.ts +46 -0
- package/components/side-panel/side-panel.service.d.ts +22 -0
- package/components/side-sheet/index.d.ts +5 -81
- package/components/side-sheet/public-api.d.ts +4 -0
- package/components/side-sheet/side-sheet.component.d.ts +43 -0
- package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
- package/components/side-sheet/side-sheet.model.d.ts +10 -0
- package/components/side-sheet/side-sheet.service.d.ts +14 -0
- package/components/skeleton/index.d.ts +5 -34
- package/components/skeleton/public-api.d.ts +3 -0
- package/components/skeleton/skeleton.component.d.ts +27 -0
- package/components/skeleton/skeleton.model.d.ts +2 -0
- package/components/slider/index.d.ts +5 -144
- package/components/slider/public-api.d.ts +4 -0
- package/components/slider/slider.component.d.ts +128 -0
- package/components/slider/slider.component.module.d.ts +7 -0
- package/components/slider/slider.model.d.ts +5 -0
- package/components/snackbar/index.d.ts +5 -162
- package/components/snackbar/public-api.d.ts +5 -0
- package/components/snackbar/snackbar.component.d.ts +126 -0
- package/components/snackbar/snackbar.component.module.d.ts +13 -0
- package/components/snackbar/snackbar.model.d.ts +7 -0
- package/components/snackbar/snackbar.service.d.ts +16 -0
- package/components/spider-chart/index.d.ts +5 -127
- package/components/spider-chart/public-api.d.ts +3 -0
- package/components/spider-chart/spider-chart.component.d.ts +90 -0
- package/components/spider-chart/spider-chart.model.d.ts +12 -0
- package/components/spider-chart/spider-chart.module.d.ts +12 -0
- package/components/spinner/index.d.ts +5 -74
- package/components/spinner/public-api.d.ts +4 -0
- package/components/spinner/spinner.component.d.ts +59 -0
- package/components/spinner/spinner.model.d.ts +1 -0
- package/components/spinner/spinner.module.d.ts +10 -0
- package/components/stepper/index.d.ts +3 -341
- package/components/stepper/public-api.d.ts +7 -0
- package/components/stepper/step-line-element.directive.d.ts +17 -0
- package/components/stepper/step.component.d.ts +184 -0
- package/components/stepper/step.component.module.d.ts +11 -0
- package/components/stepper/stepper.component.d.ts +102 -0
- package/components/stepper/stepper.component.module.d.ts +15 -0
- package/components/stepper/stepper.model.d.ts +23 -0
- package/components/table/index.d.ts +3 -251
- package/components/table/public-api.d.ts +6 -0
- package/components/table/sentence-case.pipe.d.ts +7 -0
- package/components/table/table.component.d.ts +117 -0
- package/components/table/table.component.module.d.ts +17 -0
- package/components/table/table.model.d.ts +104 -0
- package/components/table/table.utils.d.ts +6 -0
- package/components/tabs/index.d.ts +5 -145
- package/components/tabs/public-api.d.ts +5 -0
- package/components/tabs/tab.directive.d.ts +28 -0
- package/components/tabs/tabs.component.d.ts +79 -0
- package/components/tabs/tabs.component.module.d.ts +13 -0
- package/components/tabs/tabs.model.d.ts +26 -0
- package/components/tag/index.d.ts +5 -166
- package/components/tag/public-api.d.ts +4 -0
- package/components/tag/tag.component.d.ts +145 -0
- package/components/tag/tag.component.module.d.ts +14 -0
- package/components/tag/tag.model.d.ts +1 -0
- package/components/toggle/index.d.ts +5 -130
- package/components/toggle/public-api.d.ts +3 -0
- package/components/toggle/toggle.component.d.ts +113 -0
- package/components/toggle/toggle.component.module.d.ts +13 -0
- package/components/toggle/toggle.model.d.ts +1 -0
- package/components/tooltip/index.d.ts +5 -111
- package/components/tooltip/public-api.d.ts +5 -0
- package/components/tooltip/tooltip-template.directive.d.ts +27 -0
- package/components/tooltip/tooltip.component.d.ts +64 -0
- package/components/tooltip/tooltip.component.module.d.ts +11 -0
- package/components/tooltip/tooltip.model.d.ts +8 -0
- package/components/universal-skills/index.d.ts +5 -153
- package/components/universal-skills/public-api.d.ts +6 -0
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.d.ts +14 -0
- package/components/universal-skills/universal-skills-report.component.d.ts +33 -0
- package/components/universal-skills/universal-skills-report.component.module.d.ts +12 -0
- package/components/universal-skills/universal-skills-report.model.d.ts +44 -0
- package/components/universal-skills/universal-skills.service.d.ts +13 -0
- package/components/validation-error/index.d.ts +5 -36
- package/components/validation-error/public-api.d.ts +3 -0
- package/components/validation-error/validation-error.component.d.ts +22 -0
- package/components/validation-error/validation-error.model.d.ts +1 -0
- package/components/validation-error/validation-error.module.d.ts +10 -0
- package/components/write-with-ai/index.d.ts +3 -131
- package/components/write-with-ai/llm.service.d.ts +22 -0
- package/components/write-with-ai/public-api.d.ts +4 -0
- package/components/write-with-ai/write-with-ai.component.d.ts +79 -0
- package/components/write-with-ai/write-with-ai.model.d.ts +24 -0
- package/components/write-with-ai/write-with-ai.module.d.ts +7 -0
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +23 -22
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +9 -8
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +21 -21
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +31 -31
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +18 -18
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +26 -26
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +13 -12
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +9 -8
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +34 -33
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +21 -19
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +28 -28
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +17 -17
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +15 -15
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +14 -32
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +20 -20
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +27 -27
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +38 -38
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/index.d.ts +5 -46
- package/mcp/catalog.json +1 -0
- package/mcp/server.mjs +21567 -0
- package/package.json +30 -29
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +0 -2
- package/public-api.d.ts +81 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
2
|
+
import { ChangeDetectorRef, DoCheck, ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor, NgControl, UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
4
|
+
import { ErrorStateMatcher } from '@angular/material/core';
|
|
5
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
6
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
+
import { UICountry } from './phone-input.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class PhoneInputComponent implements OnInit, OnDestroy, ControlValueAccessor, DoCheck {
|
|
10
|
+
ngControl: NgControl;
|
|
11
|
+
private errorMatcher;
|
|
12
|
+
private fb;
|
|
13
|
+
private focusMonitor;
|
|
14
|
+
private ref;
|
|
15
|
+
private readonly defaultAppTheme;
|
|
16
|
+
/**
|
|
17
|
+
* Phone number
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof PhoneInputComponent
|
|
21
|
+
*/
|
|
22
|
+
set value(value: string);
|
|
23
|
+
/**
|
|
24
|
+
* Country list for select
|
|
25
|
+
*
|
|
26
|
+
* @type {UICountry[]}
|
|
27
|
+
* @memberof PhoneInputComponent
|
|
28
|
+
*/
|
|
29
|
+
set countryList(countryList: UICountry[]);
|
|
30
|
+
/**
|
|
31
|
+
* Placeholder input
|
|
32
|
+
*
|
|
33
|
+
* @type {text}
|
|
34
|
+
* @memberof PhoneInputComponent
|
|
35
|
+
*/
|
|
36
|
+
set placeholder(value: string);
|
|
37
|
+
/**
|
|
38
|
+
* Determines if input is disabled
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof PhoneInputComponent
|
|
42
|
+
*/
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Input is required or not
|
|
46
|
+
*
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof PhoneInputComponent
|
|
49
|
+
*/
|
|
50
|
+
required: boolean;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* Defines the application theme
|
|
54
|
+
*
|
|
55
|
+
* @type {ApplicationTheme}
|
|
56
|
+
* @memberof PhoneInputComponent
|
|
57
|
+
*/
|
|
58
|
+
applicationTheme: ApplicationTheme;
|
|
59
|
+
/**
|
|
60
|
+
* Indicator of the phone input width
|
|
61
|
+
* @property fullWidth
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof PhoneInputComponent
|
|
64
|
+
*/
|
|
65
|
+
fullWidth: boolean;
|
|
66
|
+
_errors: string[];
|
|
67
|
+
/**
|
|
68
|
+
* Input field errors
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PhoneInputComponent
|
|
72
|
+
*/
|
|
73
|
+
set errors(errors: string[]);
|
|
74
|
+
/**
|
|
75
|
+
* Hide in build errors for Reactive Forms
|
|
76
|
+
*
|
|
77
|
+
* @type {number}
|
|
78
|
+
* @memberof PhoneInputComponent
|
|
79
|
+
*/
|
|
80
|
+
hideBuiltInErrors: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Hide label in errors
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof PhoneInputComponent
|
|
86
|
+
*/
|
|
87
|
+
hideLabelInErrors: boolean;
|
|
88
|
+
static nextId: number;
|
|
89
|
+
private countries;
|
|
90
|
+
protected countries$: Observable<UICountry[]>;
|
|
91
|
+
form: UntypedFormGroup;
|
|
92
|
+
protected controlType: string;
|
|
93
|
+
protected userAriaDescribedBy?: string;
|
|
94
|
+
protected loadCountries$: BehaviorSubject<UICountry[]>;
|
|
95
|
+
protected countryCode: BehaviorSubject<string>;
|
|
96
|
+
protected stateChanges: Subject<void>;
|
|
97
|
+
protected focused: boolean;
|
|
98
|
+
protected selectFilterCtrl: UntypedFormControl;
|
|
99
|
+
protected errorsLength: boolean;
|
|
100
|
+
protected readonly countryFlagSrc = "assets/svg-country-flags/";
|
|
101
|
+
input: ElementRef<HTMLElement>;
|
|
102
|
+
select: ElementRef<HTMLElement>;
|
|
103
|
+
id: string;
|
|
104
|
+
get shouldLabelFloat(): boolean;
|
|
105
|
+
describedBy: string;
|
|
106
|
+
get empty(): boolean;
|
|
107
|
+
get errorState(): boolean;
|
|
108
|
+
get value(): string;
|
|
109
|
+
get placeholder(): string;
|
|
110
|
+
private initialValue;
|
|
111
|
+
private readonly DEFAULT_COUNTRY_CODE;
|
|
112
|
+
private internalPlaceholder;
|
|
113
|
+
protected selectedCountry: UICountry;
|
|
114
|
+
private unsubscribeAll$;
|
|
115
|
+
constructor(ngControl: NgControl, errorMatcher: ErrorStateMatcher, fb: UntypedFormBuilder, focusMonitor: FocusMonitor, ref: ChangeDetectorRef, defaultAppTheme: ApplicationTheme);
|
|
116
|
+
/**
|
|
117
|
+
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
118
|
+
* to display validation errors that might happen (e.g. required)
|
|
119
|
+
*/
|
|
120
|
+
ngDoCheck(): void;
|
|
121
|
+
ngOnInit(): void;
|
|
122
|
+
setErrorsLength(): boolean;
|
|
123
|
+
setDescribedByIds(ids: string[]): void;
|
|
124
|
+
onChange: (value: string) => void;
|
|
125
|
+
onTouch: () => void;
|
|
126
|
+
writeValue(phoneNumber: string): void;
|
|
127
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
128
|
+
registerOnTouched(fn: () => void): void;
|
|
129
|
+
setDisabledState(isDisabled: boolean): void;
|
|
130
|
+
ngOnDestroy(): void;
|
|
131
|
+
onOptionsSelected(value: UICountry): void;
|
|
132
|
+
onInput(value: string): void;
|
|
133
|
+
filteredCountryTrackByMethod(index: number, el: UICountry): string;
|
|
134
|
+
private setCountry;
|
|
135
|
+
private getNumberWithCountryCode;
|
|
136
|
+
private subscribeToFocusEvents;
|
|
137
|
+
private preSelectCountry;
|
|
138
|
+
private getCountryByAlpha2Code;
|
|
139
|
+
private getCountryByCallingCode;
|
|
140
|
+
private loadCountries;
|
|
141
|
+
disableClick(ev: Event): void;
|
|
142
|
+
trackByFn: (index: number, value: string) => string;
|
|
143
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponent, [{ optional: true; self: true; }, null, null, null, null, { optional: true; }]>;
|
|
144
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneInputComponent, "ui-phone-input", never, { "value": { "alias": "value"; "required": false; }; "countryList": { "alias": "countryList"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, {}, never, never, false, never>;
|
|
145
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./phone-input.component";
|
|
3
|
+
import * as i2 from "./join-strings.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/material/progress-spinner";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "@angular/material/select";
|
|
8
|
+
import * as i7 from "@angular/material/icon";
|
|
9
|
+
import * as i8 from "@angular/material/input";
|
|
10
|
+
import * as i9 from "ngx-mat-select-search";
|
|
11
|
+
import * as i10 from "@testgorilla/tgo-ui/components/icon";
|
|
12
|
+
import * as i11 from "@testgorilla/tgo-ui/components/spinner";
|
|
13
|
+
import * as i12 from "@testgorilla/tgo-ui/components/core";
|
|
14
|
+
import * as i13 from "@testgorilla/tgo-ui/components/validation-error";
|
|
15
|
+
export declare class PhoneInputComponentModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneInputComponentModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PhoneInputComponentModule, [typeof i1.PhoneInputComponent, typeof i2.JoinStringsPipe], [typeof i3.CommonModule, typeof i4.MatProgressSpinnerModule, typeof i5.ReactiveFormsModule, typeof i6.MatSelectModule, typeof i7.MatIconModule, typeof i8.MatInputModule, typeof i9.NgxMatSelectSearchModule, typeof i10.IconComponentModule, typeof i11.SpinnerComponentModule, typeof i12.UiTranslatePipe, typeof i13.ValidationErrorModule, typeof i12.HasValidationErrorPipe], [typeof i1.PhoneInputComponent]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PhoneInputComponentModule>;
|
|
19
|
+
}
|
|
@@ -1,34 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
uiPopover: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
7
|
-
popoverOffset: _angular_core.InputSignal<number>;
|
|
8
|
-
popoverAlign: _angular_core.InputSignal<HorizontalConnectionPos>;
|
|
9
|
-
popoverOpen: _angular_core.InputSignal<boolean>;
|
|
10
|
-
popoverCard: _angular_core.InputSignal<boolean>;
|
|
11
|
-
private readonly overlay;
|
|
12
|
-
private readonly elementRef;
|
|
13
|
-
private readonly injector;
|
|
14
|
-
private readonly ngZone;
|
|
15
|
-
private overlayRef;
|
|
16
|
-
private openTimeout;
|
|
17
|
-
private closeTimeout;
|
|
18
|
-
private overlayListeners;
|
|
19
|
-
onMouseEnter(): void;
|
|
20
|
-
onMouseLeave(): void;
|
|
21
|
-
private open;
|
|
22
|
-
private createOverlay;
|
|
23
|
-
private scheduleOpen;
|
|
24
|
-
private cancelOpen;
|
|
25
|
-
private scheduleClose;
|
|
26
|
-
private cancelClose;
|
|
27
|
-
private close;
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
31
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[uiPopover]", never, { "uiPopover": { "alias": "uiPopover"; "required": true; "isSignal": true; }; "popoverOffset": { "alias": "popoverOffset"; "required": false; "isSignal": true; }; "popoverAlign": { "alias": "popoverAlign"; "required": false; "isSignal": true; }; "popoverOpen": { "alias": "popoverOpen"; "required": false; "isSignal": true; }; "popoverCard": { "alias": "popoverCard"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export { PopoverDirective };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/popover" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PopoverComponent {
|
|
4
|
+
templateRef: import("@angular/core").InputSignal<TemplateRef<unknown> | null>;
|
|
5
|
+
ctx: import("@angular/core").InputSignal<Record<string, unknown>>;
|
|
6
|
+
popoverCard: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PopoverComponent, "ui-popover", never, { "templateRef": { "alias": "templateRef"; "required": false; "isSignal": true; }; "ctx": { "alias": "ctx"; "required": false; "isSignal": true; }; "popoverCard": { "alias": "popoverCard"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { HorizontalConnectionPos } from '@angular/cdk/overlay';
|
|
2
|
+
import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PopoverDirective implements OnInit, OnDestroy {
|
|
5
|
+
uiPopover: import("@angular/core").InputSignal<TemplateRef<unknown>>;
|
|
6
|
+
popoverOffset: import("@angular/core").InputSignal<number>;
|
|
7
|
+
popoverAlign: import("@angular/core").InputSignal<HorizontalConnectionPos>;
|
|
8
|
+
popoverOpen: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
popoverCard: import("@angular/core").InputSignal<boolean>;
|
|
10
|
+
private readonly overlay;
|
|
11
|
+
private readonly elementRef;
|
|
12
|
+
private readonly injector;
|
|
13
|
+
private readonly ngZone;
|
|
14
|
+
private overlayRef;
|
|
15
|
+
private openTimeout;
|
|
16
|
+
private closeTimeout;
|
|
17
|
+
private overlayListeners;
|
|
18
|
+
onMouseEnter(): void;
|
|
19
|
+
onMouseLeave(): void;
|
|
20
|
+
private open;
|
|
21
|
+
private createOverlay;
|
|
22
|
+
private scheduleOpen;
|
|
23
|
+
private cancelOpen;
|
|
24
|
+
private scheduleClose;
|
|
25
|
+
private cancelClose;
|
|
26
|
+
private close;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnDestroy(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[uiPopover]", never, { "uiPopover": { "alias": "uiPopover"; "required": true; "isSignal": true; }; "popoverOffset": { "alias": "popoverOffset"; "required": false; "isSignal": true; }; "popoverAlign": { "alias": "popoverAlign"; "required": false; "isSignal": true; }; "popoverOpen": { "alias": "popoverOpen"; "required": false; "isSignal": true; }; "popoverCard": { "alias": "popoverCard"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './popover.directive';
|
|
@@ -1,86 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
import * as i2 from '@angular/common';
|
|
9
|
-
|
|
10
|
-
declare class ProgressBarComponent implements OnInit {
|
|
11
|
-
private readonly defaultAppTheme;
|
|
12
|
-
/**
|
|
13
|
-
* Color of the progress bar.
|
|
14
|
-
* Defaults to Test Gorilla primary color.
|
|
15
|
-
*
|
|
16
|
-
* @type {string}
|
|
17
|
-
* @memberof ProgressBarComponent
|
|
18
|
-
*/
|
|
19
|
-
companyColor: string | null;
|
|
20
|
-
/**
|
|
21
|
-
* Progress value of the progress bar.
|
|
22
|
-
* Defaults to zero.
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof ProgressBarComponent
|
|
26
|
-
*/
|
|
27
|
-
progress: number;
|
|
28
|
-
/**
|
|
29
|
-
* Mode of the progress bar.
|
|
30
|
-
* Mode must be one of these values: determinate, indeterminate, buffer, query.
|
|
31
|
-
* Defaults to 'determinate'.
|
|
32
|
-
*
|
|
33
|
-
* @type {ProgressBarMode}
|
|
34
|
-
* @memberof ProgressBarComponent
|
|
35
|
-
*/
|
|
36
|
-
mode: ProgressBarMode;
|
|
37
|
-
/**
|
|
38
|
-
* Buffer value of the progress bar.
|
|
39
|
-
* Defaults to zero.
|
|
40
|
-
*
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @memberof ProgressBarComponent
|
|
43
|
-
*/
|
|
44
|
-
buffer: number;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* Defines the application theme
|
|
48
|
-
*
|
|
49
|
-
* @type {ApplicationTheme}
|
|
50
|
-
* @memberof ProgressBarComponent
|
|
51
|
-
*/
|
|
52
|
-
applicationTheme: ApplicationTheme;
|
|
53
|
-
/**
|
|
54
|
-
* A string representing the ARIA requirement for accessibility.
|
|
55
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof ProgressBarComponent
|
|
58
|
-
*/
|
|
59
|
-
ariaLabel: string;
|
|
60
|
-
/**
|
|
61
|
-
* A string representing the ARIA requirement for accessibility.
|
|
62
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof ProgressBarComponent
|
|
65
|
-
*/
|
|
66
|
-
ariaDescribedBy: string;
|
|
67
|
-
/**
|
|
68
|
-
* Shows the percentage amount
|
|
69
|
-
* @property showPercentage
|
|
70
|
-
* @type {boolean}
|
|
71
|
-
* @memberof ProgressBarComponent
|
|
72
|
-
*/
|
|
73
|
-
showPercentage: boolean;
|
|
74
|
-
constructor(defaultAppTheme: ApplicationTheme);
|
|
75
|
-
ngOnInit(): void;
|
|
76
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, [{ optional: true; }]>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "buffer": { "alias": "buffer"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; "showPercentage": { "alias": "showPercentage"; "required": false; }; }, {}, never, never, false, never>;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
declare class ProgressBarComponentModule {
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponentModule, never>;
|
|
82
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarComponentModule, [typeof ProgressBarComponent], [typeof i2.CommonModule, typeof i3.MatProgressBarModule, typeof i4.UiTranslatePipe], [typeof ProgressBarComponent]>;
|
|
83
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarComponentModule>;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export { ProgressBarComponent, ProgressBarComponentModule };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/progress-bar" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ProgressBarMode } from '@angular/material/progress-bar';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProgressBarComponent implements OnInit {
|
|
6
|
+
private readonly defaultAppTheme;
|
|
7
|
+
/**
|
|
8
|
+
* Color of the progress bar.
|
|
9
|
+
* Defaults to Test Gorilla primary color.
|
|
10
|
+
*
|
|
11
|
+
* @type {string}
|
|
12
|
+
* @memberof ProgressBarComponent
|
|
13
|
+
*/
|
|
14
|
+
companyColor: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Progress value of the progress bar.
|
|
17
|
+
* Defaults to zero.
|
|
18
|
+
*
|
|
19
|
+
* @type {number}
|
|
20
|
+
* @memberof ProgressBarComponent
|
|
21
|
+
*/
|
|
22
|
+
progress: number;
|
|
23
|
+
/**
|
|
24
|
+
* Mode of the progress bar.
|
|
25
|
+
* Mode must be one of these values: determinate, indeterminate, buffer, query.
|
|
26
|
+
* Defaults to 'determinate'.
|
|
27
|
+
*
|
|
28
|
+
* @type {ProgressBarMode}
|
|
29
|
+
* @memberof ProgressBarComponent
|
|
30
|
+
*/
|
|
31
|
+
mode: ProgressBarMode;
|
|
32
|
+
/**
|
|
33
|
+
* Buffer value of the progress bar.
|
|
34
|
+
* Defaults to zero.
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ProgressBarComponent
|
|
38
|
+
*/
|
|
39
|
+
buffer: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* Defines the application theme
|
|
43
|
+
*
|
|
44
|
+
* @type {ApplicationTheme}
|
|
45
|
+
* @memberof ProgressBarComponent
|
|
46
|
+
*/
|
|
47
|
+
applicationTheme: ApplicationTheme;
|
|
48
|
+
/**
|
|
49
|
+
* A string representing the ARIA requirement for accessibility.
|
|
50
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ProgressBarComponent
|
|
53
|
+
*/
|
|
54
|
+
ariaLabel: string;
|
|
55
|
+
/**
|
|
56
|
+
* A string representing the ARIA requirement for accessibility.
|
|
57
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ProgressBarComponent
|
|
60
|
+
*/
|
|
61
|
+
ariaDescribedBy: string;
|
|
62
|
+
/**
|
|
63
|
+
* Shows the percentage amount
|
|
64
|
+
* @property showPercentage
|
|
65
|
+
* @type {boolean}
|
|
66
|
+
* @memberof ProgressBarComponent
|
|
67
|
+
*/
|
|
68
|
+
showPercentage: boolean;
|
|
69
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
70
|
+
ngOnInit(): void;
|
|
71
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, [{ optional: true; }]>;
|
|
72
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "ui-progress-bar", never, { "companyColor": { "alias": "companyColor"; "required": false; }; "progress": { "alias": "progress"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "buffer": { "alias": "buffer"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaDescribedBy": { "alias": "ariaDescribedBy"; "required": false; }; "showPercentage": { "alias": "showPercentage"; "required": false; }; }, {}, never, never, false, never>;
|
|
73
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./progress-bar.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/progress-bar";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/core";
|
|
6
|
+
export declare class ProgressBarComponentModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponentModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProgressBarComponentModule, [typeof i1.ProgressBarComponent], [typeof i2.CommonModule, typeof i3.MatProgressBarModule, typeof i4.UiTranslatePipe], [typeof i1.ProgressBarComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProgressBarComponentModule>;
|
|
10
|
+
}
|
|
@@ -1,95 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { OverflowMenuButtonsType } from '@testgorilla/tgo-ui/components/overflow-menu';
|
|
7
|
-
import * as i3 from '@testgorilla/tgo-ui/components/field';
|
|
8
|
-
import { FieldComponent } from '@testgorilla/tgo-ui/components/field';
|
|
9
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
10
|
-
import * as i2 from '@angular/common';
|
|
11
|
-
import * as i4 from '@testgorilla/tgo-ui/components/button';
|
|
12
|
-
import * as i6 from '@testgorilla/tgo-ui/components/tag';
|
|
13
|
-
import * as i7 from '@testgorilla/tgo-ui/components/badge';
|
|
14
|
-
import * as i9 from '@testgorilla/tgo-ui/components/card';
|
|
15
|
-
import * as i10 from '@angular/cdk/text-field';
|
|
16
|
-
import * as i11 from '@testgorilla/tgo-ui/components/tooltip';
|
|
17
|
-
import * as i12 from '@angular/material/tooltip';
|
|
18
|
-
import * as i13 from '@testgorilla/tgo-ui/components/core';
|
|
19
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
20
|
-
import * as i14 from '@testgorilla/tgo-ui/components/icon';
|
|
21
|
-
|
|
22
|
-
interface PromptTag {
|
|
23
|
-
id: number;
|
|
24
|
-
label: string;
|
|
25
|
-
autocomplete: string;
|
|
26
|
-
}
|
|
27
|
-
interface PromptData {
|
|
28
|
-
text?: string;
|
|
29
|
-
files?: File[];
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
declare class PromptComponent implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
33
|
-
tags: _angular_core.InputSignal<PromptTag[]>;
|
|
34
|
-
maxCharacters: _angular_core.InputSignal<number>;
|
|
35
|
-
supportedFileTypes: _angular_core.InputSignal<string>;
|
|
36
|
-
autoClear: _angular_core.InputSignal<boolean>;
|
|
37
|
-
showSendButton: _angular_core.InputSignal<boolean>;
|
|
38
|
-
enableFileUpload: _angular_core.InputSignal<boolean>;
|
|
39
|
-
/**
|
|
40
|
-
* Placeholder for the prompt.
|
|
41
|
-
*/
|
|
42
|
-
placeholder: _angular_core.InputSignal<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Custom error message displayed below the prompt.
|
|
45
|
-
*/
|
|
46
|
-
errorMessage: _angular_core.InputSignal<string>;
|
|
47
|
-
promptData: _angular_core.OutputEmitterRef<PromptData>;
|
|
48
|
-
promptFilesList: _angular_core.WritableSignal<File[]>;
|
|
49
|
-
promptTextValue: _angular_core.WritableSignal<string>;
|
|
50
|
-
fileListMenuConfig: _angular_core.WritableSignal<OverflowMenuButtonsType[]>;
|
|
51
|
-
tagsVisible: _angular_core.WritableSignal<PromptTag[]>;
|
|
52
|
-
tagsInDropdown: _angular_core.WritableSignal<PromptTag[]>;
|
|
53
|
-
autocompleteSuggestion: _angular_core.WritableSignal<string>;
|
|
54
|
-
isDropdownOpened: _angular_core.WritableSignal<boolean>;
|
|
55
|
-
isFieldHovered: _angular_core.WritableSignal<boolean>;
|
|
56
|
-
isFieldFocused: _angular_core.WritableSignal<boolean>;
|
|
57
|
-
isHighlighted: _angular_core.Signal<boolean>;
|
|
58
|
-
private destroyRef;
|
|
59
|
-
private translationPipe;
|
|
60
|
-
fileDrop: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
61
|
-
tagDropdown: _angular_core.Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
62
|
-
fieldComponentRef: _angular_core.Signal<FieldComponent>;
|
|
63
|
-
readonly dropdownPositions: ConnectedPosition[];
|
|
64
|
-
ngOnInit(): void;
|
|
65
|
-
ngAfterViewInit(): void;
|
|
66
|
-
uploadFile(event: Event): Promise<void>;
|
|
67
|
-
sendPromptData(): void;
|
|
68
|
-
selectedMenuOption(menuOptionValue: string): void;
|
|
69
|
-
selectTag(tag: PromptTag, event: Event): void;
|
|
70
|
-
onTextareaTab(event: Event): void;
|
|
71
|
-
dropdownOutsideClick(): void;
|
|
72
|
-
toggleDropdown(): void;
|
|
73
|
-
focusTagDropdown(): void;
|
|
74
|
-
private syncInputChange;
|
|
75
|
-
private initTags;
|
|
76
|
-
private updateFileMenu;
|
|
77
|
-
private clearPromptData;
|
|
78
|
-
writeValue(value: PromptData): void;
|
|
79
|
-
private onChange;
|
|
80
|
-
private onTouch;
|
|
81
|
-
registerOnChange(fn: any): void;
|
|
82
|
-
registerOnTouched(fn: any): void;
|
|
83
|
-
private emitValue;
|
|
84
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptComponent, never>;
|
|
85
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PromptComponent, "ui-prompt", never, { "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; "isSignal": true; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; "isSignal": true; }; "autoClear": { "alias": "autoClear"; "required": false; "isSignal": true; }; "showSendButton": { "alias": "showSendButton"; "required": false; "isSignal": true; }; "enableFileUpload": { "alias": "enableFileUpload"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; }, { "promptData": "promptData"; }, never, never, false, never>;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
declare class PromptModule {
|
|
89
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PromptModule, never>;
|
|
90
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<PromptModule, [typeof PromptComponent], [typeof i2.CommonModule, typeof i3.FieldComponentModule, typeof i4.ButtonComponentModule, typeof i5.OverflowMenuComponentModule, typeof i6.TagComponentModule, typeof i7.BadgeComponentModule, typeof i8.CdkOverlayOrigin, typeof i8.CdkConnectedOverlay, typeof i9.CardComponentModule, typeof i10.CdkTextareaAutosize, typeof i11.TooltipComponentModule, typeof i12.MatTooltip, typeof i13.UiTranslatePipe, typeof i14.IconComponentModule], [typeof PromptComponent]>;
|
|
91
|
-
static ɵinj: _angular_core.ɵɵInjectorDeclaration<PromptModule>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
export { PromptComponent, PromptModule };
|
|
95
|
-
export type { PromptData, PromptTag };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/prompt" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
3
|
+
import { OverflowMenuButtonsType } from '@testgorilla/tgo-ui/components/overflow-menu';
|
|
4
|
+
import { FieldComponent } from '@testgorilla/tgo-ui/components/field';
|
|
5
|
+
import { PromptData, PromptTag } from './prompt.model';
|
|
6
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class PromptComponent implements ControlValueAccessor, OnInit, AfterViewInit {
|
|
9
|
+
tags: import("@angular/core").InputSignal<PromptTag[]>;
|
|
10
|
+
maxCharacters: import("@angular/core").InputSignal<number>;
|
|
11
|
+
supportedFileTypes: import("@angular/core").InputSignal<string>;
|
|
12
|
+
autoClear: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
showSendButton: import("@angular/core").InputSignal<boolean>;
|
|
14
|
+
enableFileUpload: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
/**
|
|
16
|
+
* Placeholder for the prompt.
|
|
17
|
+
*/
|
|
18
|
+
placeholder: import("@angular/core").InputSignal<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Custom error message displayed below the prompt.
|
|
21
|
+
*/
|
|
22
|
+
errorMessage: import("@angular/core").InputSignal<string>;
|
|
23
|
+
promptData: import("@angular/core").OutputEmitterRef<PromptData>;
|
|
24
|
+
promptFilesList: import("@angular/core").WritableSignal<File[]>;
|
|
25
|
+
promptTextValue: import("@angular/core").WritableSignal<string>;
|
|
26
|
+
fileListMenuConfig: import("@angular/core").WritableSignal<OverflowMenuButtonsType[]>;
|
|
27
|
+
tagsVisible: import("@angular/core").WritableSignal<PromptTag[]>;
|
|
28
|
+
tagsInDropdown: import("@angular/core").WritableSignal<PromptTag[]>;
|
|
29
|
+
autocompleteSuggestion: import("@angular/core").WritableSignal<string>;
|
|
30
|
+
isDropdownOpened: import("@angular/core").WritableSignal<boolean>;
|
|
31
|
+
isFieldHovered: import("@angular/core").WritableSignal<boolean>;
|
|
32
|
+
isFieldFocused: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
+
isHighlighted: import("@angular/core").Signal<boolean>;
|
|
34
|
+
private destroyRef;
|
|
35
|
+
private translationPipe;
|
|
36
|
+
fileDrop: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
37
|
+
tagDropdown: import("@angular/core").Signal<ElementRef<HTMLInputElement> | undefined>;
|
|
38
|
+
fieldComponentRef: import("@angular/core").Signal<FieldComponent>;
|
|
39
|
+
readonly dropdownPositions: ConnectedPosition[];
|
|
40
|
+
ngOnInit(): void;
|
|
41
|
+
ngAfterViewInit(): void;
|
|
42
|
+
uploadFile(event: Event): Promise<void>;
|
|
43
|
+
sendPromptData(): void;
|
|
44
|
+
selectedMenuOption(menuOptionValue: string): void;
|
|
45
|
+
selectTag(tag: PromptTag, event: Event): void;
|
|
46
|
+
onTextareaTab(event: Event): void;
|
|
47
|
+
dropdownOutsideClick(): void;
|
|
48
|
+
toggleDropdown(): void;
|
|
49
|
+
focusTagDropdown(): void;
|
|
50
|
+
private syncInputChange;
|
|
51
|
+
private initTags;
|
|
52
|
+
private updateFileMenu;
|
|
53
|
+
private clearPromptData;
|
|
54
|
+
writeValue(value: PromptData): void;
|
|
55
|
+
private onChange;
|
|
56
|
+
private onTouch;
|
|
57
|
+
registerOnChange(fn: any): void;
|
|
58
|
+
registerOnTouched(fn: any): void;
|
|
59
|
+
private emitValue;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PromptComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PromptComponent, "ui-prompt", never, { "tags": { "alias": "tags"; "required": false; "isSignal": true; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; "isSignal": true; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; "isSignal": true; }; "autoClear": { "alias": "autoClear"; "required": false; "isSignal": true; }; "showSendButton": { "alias": "showSendButton"; "required": false; "isSignal": true; }; "enableFileUpload": { "alias": "enableFileUpload"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; }, { "promptData": "promptData"; }, never, never, false, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./prompt.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@testgorilla/tgo-ui/components/field";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/button";
|
|
6
|
+
import * as i5 from "@testgorilla/tgo-ui/components/overflow-menu";
|
|
7
|
+
import * as i6 from "@testgorilla/tgo-ui/components/tag";
|
|
8
|
+
import * as i7 from "@testgorilla/tgo-ui/components/badge";
|
|
9
|
+
import * as i8 from "@angular/cdk/overlay";
|
|
10
|
+
import * as i9 from "@testgorilla/tgo-ui/components/card";
|
|
11
|
+
import * as i10 from "@angular/cdk/text-field";
|
|
12
|
+
import * as i11 from "@testgorilla/tgo-ui/components/tooltip";
|
|
13
|
+
import * as i12 from "@angular/material/tooltip";
|
|
14
|
+
import * as i13 from "@testgorilla/tgo-ui/components/core";
|
|
15
|
+
import * as i14 from "@testgorilla/tgo-ui/components/icon";
|
|
16
|
+
export declare class PromptModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PromptModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PromptModule, [typeof i1.PromptComponent], [typeof i2.CommonModule, typeof i3.FieldComponentModule, typeof i4.ButtonComponentModule, typeof i5.OverflowMenuComponentModule, typeof i6.TagComponentModule, typeof i7.BadgeComponentModule, typeof i8.CdkOverlayOrigin, typeof i8.CdkConnectedOverlay, typeof i9.CardComponentModule, typeof i10.CdkTextareaAutosize, typeof i11.TooltipComponentModule, typeof i12.MatTooltip, typeof i13.UiTranslatePipe, typeof i14.IconComponentModule], [typeof i1.PromptComponent]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PromptModule>;
|
|
20
|
+
}
|