@testgorilla/tgo-ui 6.4.5-beta.1 → 7.0.0-beta.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 +70 -5
- package/components/ai-caveat/index.d.ts +47 -3
- package/components/ai-feedback/index.d.ts +92 -5
- package/components/alert-banner/index.d.ts +165 -5
- package/components/audio-waveform/index.d.ts +71 -5
- package/components/autocomplete/index.d.ts +414 -3
- package/components/avatar/index.d.ts +107 -5
- package/components/badge/index.d.ts +125 -5
- package/components/breadcrumb/index.d.ts +62 -5
- package/components/button/index.d.ts +298 -3
- package/components/card/index.d.ts +103 -5
- package/components/checkbox/index.d.ts +221 -5
- package/components/checklist/index.d.ts +97 -5
- package/components/core/index.d.ts +346 -3
- package/components/datepicker/index.d.ts +305 -5
- package/components/dialog/index.d.ts +308 -5
- package/components/divider/index.d.ts +53 -5
- package/components/donut-chart/index.d.ts +39 -5
- package/components/dropdown/index.d.ts +240 -5
- package/components/elevation-shadow/index.d.ts +45 -5
- package/components/empty-state/index.d.ts +217 -5
- package/components/field/index.d.ts +396 -3
- package/components/file-upload/index.d.ts +169 -5
- package/components/filter-button/index.d.ts +173 -5
- package/components/gaussian-chart/index.d.ts +96 -5
- package/components/icon/index.d.ts +109 -5
- package/components/icon-label/index.d.ts +62 -5
- package/components/inline-field/index.d.ts +273 -3
- package/components/logo/index.d.ts +106 -5
- package/components/media-card/index.d.ts +35 -5
- package/components/media-dialog/index.d.ts +47 -5
- package/components/multi-input/index.d.ts +185 -5
- package/components/navbar/index.d.ts +203 -5
- package/components/overflow-menu/index.d.ts +163 -5
- package/components/page-header/index.d.ts +51 -5
- package/components/paginator/index.d.ts +70 -5
- package/components/password-criteria/index.d.ts +60 -5
- package/components/password-strength/index.d.ts +59 -5
- package/components/phone-input/index.d.ts +179 -3
- package/components/popover/index.d.ts +34 -5
- package/components/progress-bar/index.d.ts +86 -5
- package/components/prompt/index.d.ts +95 -5
- package/components/radial-progress/index.d.ts +99 -5
- package/components/radio-button/index.d.ts +211 -5
- package/components/rating/index.d.ts +97 -5
- package/components/scale/index.d.ts +65 -5
- package/components/scale-table/index.d.ts +49 -5
- package/components/segmented-bar/index.d.ts +92 -5
- package/components/segmented-button/index.d.ts +77 -5
- package/components/selectable-card/index.d.ts +50 -5
- package/components/side-panel/index.d.ts +97 -3
- package/components/side-sheet/index.d.ts +81 -5
- package/components/skeleton/index.d.ts +34 -5
- package/components/slider/index.d.ts +144 -5
- package/components/snackbar/index.d.ts +162 -5
- package/components/spider-chart/index.d.ts +127 -5
- package/components/spinner/index.d.ts +74 -5
- package/components/stepper/index.d.ts +341 -3
- package/components/table/index.d.ts +251 -3
- package/components/tabs/index.d.ts +145 -5
- package/components/tag/index.d.ts +166 -5
- package/components/toggle/index.d.ts +130 -5
- package/components/tooltip/index.d.ts +111 -5
- package/components/universal-skills/index.d.ts +153 -5
- package/components/validation-error/index.d.ts +36 -5
- package/components/write-with-ai/index.d.ts +131 -3
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +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 +22 -23
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +8 -9
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +21 -21
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +31 -31
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +18 -18
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +26 -26
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +12 -13
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +8 -9
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +33 -34
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +19 -21
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +28 -28
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +17 -17
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +15 -15
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +32 -14
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +20 -20
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +27 -27
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +38 -38
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/index.d.ts +46 -5
- package/package.json +45 -46
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +2 -0
- package/components/accordion/accordion.component.d.ts +0 -100
- package/components/accordion/accordion.component.module.d.ts +0 -12
- package/components/accordion/accordion.model.d.ts +0 -2
- package/components/accordion/public-api.d.ts +0 -4
- package/components/ai-audio-circle/ai-audio-circle.component.d.ts +0 -60
- package/components/ai-audio-circle/ai-audio-circle.module.d.ts +0 -8
- package/components/ai-audio-circle/public-api.d.ts +0 -2
- package/components/ai-caveat/ai-caveat.component.d.ts +0 -36
- package/components/ai-caveat/ai-caveat.component.module.d.ts +0 -10
- package/components/ai-caveat/public-api.d.ts +0 -3
- package/components/ai-feedback/ai-feedback.component.d.ts +0 -52
- package/components/ai-feedback/ai-feedback.model.d.ts +0 -19
- package/components/ai-feedback/ai-feedback.module.d.ts +0 -16
- package/components/ai-feedback/public-api.d.ts +0 -4
- package/components/alert-banner/alert-banner.component.d.ts +0 -144
- package/components/alert-banner/alert-banner.component.module.d.ts +0 -12
- package/components/alert-banner/alert-banner.model.d.ts +0 -6
- package/components/alert-banner/public-api.d.ts +0 -4
- package/components/audio-waveform/audio-waveform.component.d.ts +0 -32
- package/components/audio-waveform/audio-waveform.model.d.ts +0 -8
- package/components/audio-waveform/audio-waveform.module.d.ts +0 -7
- package/components/audio-waveform/audio-waveform.service.d.ts +0 -21
- package/components/audio-waveform/public-api.d.ts +0 -4
- package/components/autocomplete/autocomplete.component.d.ts +0 -324
- package/components/autocomplete/autocomplete.component.module.d.ts +0 -23
- package/components/autocomplete/autocomplete.model.d.ts +0 -23
- package/components/autocomplete/includes.pipe.d.ts +0 -12
- package/components/autocomplete/prevent-input.directive.d.ts +0 -7
- package/components/autocomplete/public-api.d.ts +0 -4
- package/components/autocomplete/select-text.directive.d.ts +0 -19
- package/components/autocomplete/transform-Item.pipe.d.ts +0 -11
- package/components/avatar/avatar.component.d.ts +0 -67
- package/components/avatar/avatar.component.module.d.ts +0 -13
- package/components/avatar/avatar.model.d.ts +0 -18
- package/components/avatar/name-initials.pipe.d.ts +0 -7
- package/components/avatar/public-api.d.ts +0 -4
- package/components/badge/badge.component.d.ts +0 -73
- package/components/badge/badge.component.module.d.ts +0 -10
- package/components/badge/badge.model.d.ts +0 -38
- package/components/badge/public-api.d.ts +0 -4
- package/components/breadcrumb/breadcrumb.component.d.ts +0 -40
- package/components/breadcrumb/breadcrumb.component.module.d.ts +0 -14
- package/components/breadcrumb/breadcrumb.model.d.ts +0 -5
- package/components/breadcrumb/public-api.d.ts +0 -4
- package/components/button/button.component.d.ts +0 -238
- package/components/button/button.component.module.d.ts +0 -15
- package/components/button/button.model.d.ts +0 -14
- package/components/button/color-contrast.d.ts +0 -28
- package/components/button/public-api.d.ts +0 -5
- package/components/card/card.component.d.ts +0 -87
- package/components/card/card.component.module.d.ts +0 -9
- package/components/card/card.model.d.ts +0 -3
- package/components/card/public-api.d.ts +0 -4
- package/components/checkbox/checkbox.component.d.ts +0 -193
- package/components/checkbox/checkbox.component.module.d.ts +0 -16
- package/components/checkbox/focus-visible.directive.d.ts +0 -12
- package/components/checkbox/public-api.d.ts +0 -4
- package/components/checklist/checklist.component.d.ts +0 -82
- package/components/checklist/checklist.model.d.ts +0 -9
- package/components/checklist/public-api.d.ts +0 -3
- package/components/core/alert-bar.model.d.ts +0 -2
- package/components/core/alert-bars.utils.d.ts +0 -6
- package/components/core/application-theme.model.d.ts +0 -7
- package/components/core/autocomplete-utils.d.ts +0 -12
- package/components/core/checkbox.model.d.ts +0 -1
- package/components/core/color-contrast.d.ts +0 -28
- package/components/core/colors.model.d.ts +0 -63
- package/components/core/data-property-getter.pipe.d.ts +0 -8
- package/components/core/digits-only.directive.d.ts +0 -17
- package/components/core/dynamic-component.directive.d.ts +0 -20
- package/components/core/ellipse-text.directive.d.ts +0 -20
- package/components/core/has-validation-error.pipe.d.ts +0 -15
- package/components/core/hex-to-rgb.d.ts +0 -1
- package/components/core/is-large-tablet.d.ts +0 -2
- package/components/core/is-mobile.d.ts +0 -2
- package/components/core/keyboard-events.model.d.ts +0 -11
- package/components/core/language.model.d.ts +0 -14
- package/components/core/language.service.d.ts +0 -20
- package/components/core/link-target.model.d.ts +0 -1
- package/components/core/memoize-func.pipe.d.ts +0 -26
- package/components/core/public-api.d.ts +0 -25
- package/components/core/screen-breakpoints.model.d.ts +0 -5
- package/components/core/select-text.directive.d.ts +0 -19
- package/components/core/truncate.pipe.d.ts +0 -7
- package/components/core/ui-ordinal-suffix.pipe.d.ts +0 -7
- package/components/core/ui-translate.pipe.d.ts +0 -32
- package/components/datepicker/date-adapter.d.ts +0 -34
- package/components/datepicker/datepicker.component.d.ts +0 -235
- package/components/datepicker/datepicker.component.module.d.ts +0 -17
- package/components/datepicker/datepicker.service.d.ts +0 -8
- package/components/datepicker/no-date-format.directive.d.ts +0 -11
- package/components/datepicker/public-api.d.ts +0 -6
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +0 -34
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +0 -9
- package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +0 -38
- package/components/dialog/confirm-dialog/confirm-dialog.component.module.d.ts +0 -12
- package/components/dialog/confirm-dialog/confirm-dialog.model.d.ts +0 -47
- package/components/dialog/dialog-custom/dialog-custom.component.d.ts +0 -22
- package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +0 -10
- package/components/dialog/dialog.component.d.ts +0 -163
- package/components/dialog/dialog.component.module.d.ts +0 -11
- package/components/dialog/dialog.model.d.ts +0 -12
- package/components/dialog/dialog.service.d.ts +0 -14
- package/components/dialog/public-api.d.ts +0 -10
- package/components/divider/divider.component.d.ts +0 -39
- package/components/divider/divider.component.module.d.ts +0 -9
- package/components/divider/divider.model.d.ts +0 -1
- package/components/divider/public-api.d.ts +0 -4
- package/components/donut-chart/donut-chart.component.d.ts +0 -22
- package/components/donut-chart/donut-chart.component.model.d.ts +0 -6
- package/components/donut-chart/donut-chart.component.module.d.ts +0 -8
- package/components/donut-chart/public-api.d.ts +0 -3
- package/components/dropdown/dropdown.component.d.ts +0 -214
- package/components/dropdown/dropdown.component.module.d.ts +0 -16
- package/components/dropdown/dropdown.model.d.ts +0 -6
- package/components/dropdown/public-api.d.ts +0 -4
- package/components/elevation-shadow/elevation-shadow.component.d.ts +0 -26
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +0 -8
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +0 -8
- package/components/elevation-shadow/public-api.d.ts +0 -3
- package/components/empty-state/empty-state.component.d.ts +0 -199
- package/components/empty-state/empty-state.component.module.d.ts +0 -11
- package/components/empty-state/empty-state.model.d.ts +0 -3
- package/components/empty-state/public-api.d.ts +0 -4
- package/components/field/field.component.d.ts +0 -376
- package/components/field/field.component.module.d.ts +0 -17
- package/components/field/field.model.d.ts +0 -1
- package/components/field/public-api.d.ts +0 -4
- package/components/file-upload/drag-drop.directive.d.ts +0 -12
- package/components/file-upload/file-upload.component.d.ts +0 -142
- package/components/file-upload/file-upload.component.module.d.ts +0 -14
- package/components/file-upload/public-api.d.ts +0 -3
- package/components/filter-button/filter-button.component.d.ts +0 -140
- package/components/filter-button/filter-button.component.module.d.ts +0 -17
- package/components/filter-button/filter-button.model.d.ts +0 -13
- package/components/filter-button/public-api.d.ts +0 -4
- package/components/gaussian-chart/gaussian-chart.component.d.ts +0 -82
- package/components/gaussian-chart/gaussian-chart.module.d.ts +0 -12
- package/components/gaussian-chart/public-api.d.ts +0 -2
- package/components/icon/icon-svg-content.d.ts +0 -16
- package/components/icon/icon.component.d.ts +0 -72
- package/components/icon/icon.component.module.d.ts +0 -10
- package/components/icon/icon.config.d.ts +0 -10
- package/components/icon/icon.model.d.ts +0 -7
- package/components/icon/icons.service.d.ts +0 -8
- package/components/icon/public-api.d.ts +0 -6
- package/components/icon-label/icon-label.component.d.ts +0 -51
- package/components/icon-label/icon-label.component.module.d.ts +0 -9
- package/components/icon-label/public-api.d.ts +0 -2
- package/components/inline-field/inline-field.component.d.ts +0 -153
- package/components/inline-field/inline-field.component.module.d.ts +0 -13
- package/components/inline-field/inline-field.model.d.ts +0 -107
- package/components/inline-field/public-api.d.ts +0 -4
- package/components/logo/logo.component.d.ts +0 -66
- package/components/logo/logo.component.module.d.ts +0 -8
- package/components/logo/logo.model.d.ts +0 -29
- package/components/logo/public-api.d.ts +0 -4
- package/components/media-card/media-card.component.d.ts +0 -32
- package/components/media-card/public-api.d.ts +0 -1
- package/components/media-dialog/media-dialog.component.d.ts +0 -28
- package/components/media-dialog/media-dialog.model.d.ts +0 -16
- package/components/media-dialog/public-api.d.ts +0 -2
- package/components/multi-input/multi-input.component.d.ts +0 -158
- package/components/multi-input/multi-input.component.module.d.ts +0 -17
- package/components/multi-input/multi-input.model.d.ts +0 -4
- package/components/multi-input/public-api.d.ts +0 -5
- package/components/multi-input/required-multi-input.validator.d.ts +0 -3
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +0 -28
- package/components/navbar/navbar.component.d.ts +0 -133
- package/components/navbar/navbar.component.module.d.ts +0 -21
- package/components/navbar/navbar.model.d.ts +0 -21
- package/components/navbar/public-api.d.ts +0 -5
- package/components/overflow-menu/overflow-menu.component.d.ts +0 -117
- package/components/overflow-menu/overflow-menu.component.module.d.ts +0 -14
- package/components/overflow-menu/overflow-menu.model.d.ts +0 -32
- package/components/overflow-menu/public-api.d.ts +0 -4
- package/components/page-header/page-header.component.d.ts +0 -38
- package/components/page-header/page-header.component.module.d.ts +0 -10
- package/components/page-header/public-api.d.ts +0 -3
- package/components/paginator/paginator.component.d.ts +0 -58
- package/components/paginator/paginator.component.module.d.ts +0 -9
- package/components/paginator/public-api.d.ts +0 -3
- package/components/password-criteria/password.component.d.ts +0 -44
- package/components/password-criteria/password.component.module.d.ts +0 -13
- package/components/password-criteria/public-api.d.ts +0 -3
- package/components/password-strength/password-strength.component.d.ts +0 -45
- package/components/password-strength/password-strength.component.module.d.ts +0 -11
- package/components/password-strength/public-api.d.ts +0 -3
- package/components/phone-input/join-strings.pipe.d.ts +0 -7
- package/components/phone-input/phone-input.component.d.ts +0 -145
- package/components/phone-input/phone-input.component.module.d.ts +0 -19
- package/components/phone-input/phone-input.model.d.ts +0 -8
- package/components/phone-input/public-api.d.ts +0 -5
- package/components/popover/popover.component.d.ts +0 -9
- package/components/popover/popover.directive.d.ts +0 -31
- package/components/popover/public-api.d.ts +0 -1
- package/components/progress-bar/progress-bar.component.d.ts +0 -73
- package/components/progress-bar/progress-bar.component.module.d.ts +0 -10
- package/components/progress-bar/public-api.d.ts +0 -3
- package/components/prompt/prompt.component.d.ts +0 -62
- package/components/prompt/prompt.model.d.ts +0 -9
- package/components/prompt/prompt.module.d.ts +0 -20
- package/components/prompt/public-api.d.ts +0 -4
- package/components/radial-progress/public-api.d.ts +0 -4
- package/components/radial-progress/radial-progress.component.d.ts +0 -75
- package/components/radial-progress/radial-progress.component.module.d.ts +0 -10
- package/components/radial-progress/radial-progress.model.d.ts +0 -10
- package/components/radio-button/public-api.d.ts +0 -4
- package/components/radio-button/radio-button.component.d.ts +0 -189
- package/components/radio-button/radio-button.component.module.d.ts +0 -15
- package/components/radio-button/radio-button.model.d.ts +0 -4
- package/components/rating/half-star.pipe.d.ts +0 -14
- package/components/rating/public-api.d.ts +0 -3
- package/components/rating/rating.component.d.ts +0 -71
- package/components/rating/rating.component.module.d.ts +0 -10
- package/components/scale/public-api.d.ts +0 -3
- package/components/scale/scale.component.d.ts +0 -54
- package/components/scale/scale.component.module.d.ts +0 -8
- package/components/scale-table/public-api.d.ts +0 -3
- package/components/scale-table/scale-table.component.d.ts +0 -39
- package/components/scale-table/scale-table.model.d.ts +0 -5
- package/components/segmented-bar/public-api.d.ts +0 -4
- package/components/segmented-bar/segmented-bar.component.d.ts +0 -64
- package/components/segmented-bar/segmented-bar.component.module.d.ts +0 -12
- package/components/segmented-bar/segmented-bar.model.d.ts +0 -12
- package/components/segmented-button/public-api.d.ts +0 -4
- package/components/segmented-button/segmented-button.component.d.ts +0 -55
- package/components/segmented-button/segmented-button.component.module.d.ts +0 -11
- package/components/segmented-button/segmented-button.model.d.ts +0 -8
- package/components/selectable-card/public-api.d.ts +0 -2
- package/components/selectable-card/selectable-card.component.d.ts +0 -38
- package/components/selectable-card/selectable-card.component.module.d.ts +0 -10
- package/components/side-panel/public-api.d.ts +0 -5
- package/components/side-panel/side-panel-data-injection-token.d.ts +0 -2
- package/components/side-panel/side-panel.animations.d.ts +0 -3
- package/components/side-panel/side-panel.component.d.ts +0 -22
- package/components/side-panel/side-panel.model.d.ts +0 -46
- package/components/side-panel/side-panel.service.d.ts +0 -22
- package/components/side-sheet/public-api.d.ts +0 -4
- package/components/side-sheet/side-sheet.component.d.ts +0 -43
- package/components/side-sheet/side-sheet.component.module.d.ts +0 -14
- package/components/side-sheet/side-sheet.model.d.ts +0 -10
- package/components/side-sheet/side-sheet.service.d.ts +0 -14
- package/components/skeleton/public-api.d.ts +0 -3
- package/components/skeleton/skeleton.component.d.ts +0 -27
- package/components/skeleton/skeleton.model.d.ts +0 -2
- package/components/slider/public-api.d.ts +0 -4
- package/components/slider/slider.component.d.ts +0 -128
- package/components/slider/slider.component.module.d.ts +0 -7
- package/components/slider/slider.model.d.ts +0 -5
- package/components/snackbar/public-api.d.ts +0 -5
- package/components/snackbar/snackbar.component.d.ts +0 -126
- package/components/snackbar/snackbar.component.module.d.ts +0 -13
- package/components/snackbar/snackbar.model.d.ts +0 -7
- package/components/snackbar/snackbar.service.d.ts +0 -16
- package/components/spider-chart/public-api.d.ts +0 -3
- package/components/spider-chart/spider-chart.component.d.ts +0 -90
- package/components/spider-chart/spider-chart.model.d.ts +0 -12
- package/components/spider-chart/spider-chart.module.d.ts +0 -12
- package/components/spinner/public-api.d.ts +0 -4
- package/components/spinner/spinner.component.d.ts +0 -59
- package/components/spinner/spinner.model.d.ts +0 -1
- package/components/spinner/spinner.module.d.ts +0 -10
- package/components/stepper/public-api.d.ts +0 -7
- package/components/stepper/step-line-element.directive.d.ts +0 -17
- package/components/stepper/step.component.d.ts +0 -184
- package/components/stepper/step.component.module.d.ts +0 -11
- package/components/stepper/stepper.component.d.ts +0 -102
- package/components/stepper/stepper.component.module.d.ts +0 -15
- package/components/stepper/stepper.model.d.ts +0 -23
- package/components/table/public-api.d.ts +0 -6
- package/components/table/sentence-case.pipe.d.ts +0 -7
- package/components/table/table.component.d.ts +0 -117
- package/components/table/table.component.module.d.ts +0 -17
- package/components/table/table.model.d.ts +0 -104
- package/components/table/table.utils.d.ts +0 -6
- package/components/tabs/public-api.d.ts +0 -5
- package/components/tabs/tab.directive.d.ts +0 -28
- package/components/tabs/tabs.component.d.ts +0 -79
- package/components/tabs/tabs.component.module.d.ts +0 -13
- package/components/tabs/tabs.model.d.ts +0 -26
- package/components/tag/public-api.d.ts +0 -4
- package/components/tag/tag.component.d.ts +0 -145
- package/components/tag/tag.component.module.d.ts +0 -14
- package/components/tag/tag.model.d.ts +0 -1
- package/components/toggle/public-api.d.ts +0 -3
- package/components/toggle/toggle.component.d.ts +0 -113
- package/components/toggle/toggle.component.module.d.ts +0 -13
- package/components/toggle/toggle.model.d.ts +0 -1
- package/components/tooltip/public-api.d.ts +0 -5
- package/components/tooltip/tooltip-template.directive.d.ts +0 -27
- package/components/tooltip/tooltip.component.d.ts +0 -64
- package/components/tooltip/tooltip.component.module.d.ts +0 -11
- package/components/tooltip/tooltip.model.d.ts +0 -8
- package/components/universal-skills/public-api.d.ts +0 -6
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.d.ts +0 -47
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.d.ts +0 -14
- package/components/universal-skills/universal-skills-report.component.d.ts +0 -33
- package/components/universal-skills/universal-skills-report.component.module.d.ts +0 -12
- package/components/universal-skills/universal-skills-report.model.d.ts +0 -44
- package/components/universal-skills/universal-skills.service.d.ts +0 -13
- package/components/validation-error/public-api.d.ts +0 -3
- package/components/validation-error/validation-error.component.d.ts +0 -22
- package/components/validation-error/validation-error.model.d.ts +0 -1
- package/components/validation-error/validation-error.module.d.ts +0 -10
- package/components/write-with-ai/llm.service.d.ts +0 -22
- package/components/write-with-ai/public-api.d.ts +0 -4
- package/components/write-with-ai/write-with-ai.component.d.ts +0 -79
- package/components/write-with-ai/write-with-ai.model.d.ts +0 -24
- package/components/write-with-ai/write-with-ai.module.d.ts +0 -7
- package/public-api.d.ts +0 -81
|
@@ -1,5 +1,398 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnInit, DoCheck, AfterViewInit, EventEmitter, ElementRef, ChangeDetectorRef, NgZone, DestroyRef } from '@angular/core';
|
|
3
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
|
4
|
+
import * as i6 from '@angular/forms';
|
|
5
|
+
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
6
|
+
import * as i8 from '@angular/material/icon';
|
|
7
|
+
import { MatIconRegistry } from '@angular/material/icon';
|
|
8
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
9
|
+
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
10
|
+
import * as i9 from '@testgorilla/tgo-ui/components/core';
|
|
11
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
12
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
13
|
+
import * as i11 from '@testgorilla/tgo-ui/components/badge';
|
|
14
|
+
import { BadgeVariant } from '@testgorilla/tgo-ui/components/badge';
|
|
15
|
+
import * as i5 from '@testgorilla/tgo-ui/components/icon';
|
|
16
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
17
|
+
import * as i2 from '@angular/common';
|
|
18
|
+
import * as i3 from '@angular/material/form-field';
|
|
19
|
+
import * as i4 from '@angular/material/input';
|
|
20
|
+
import * as i7 from '@testgorilla/tgo-ui/components/button';
|
|
21
|
+
import * as i10 from '@testgorilla/tgo-ui/components/validation-error';
|
|
22
|
+
|
|
23
|
+
type FieldType = 'text' | 'password' | 'email' | 'number' | 'tel' | 'search' | 'collapsed-search' | 'validation-text' | 'textarea' | 'textarea-scrollable' | 'multi-line';
|
|
24
|
+
|
|
1
25
|
/**
|
|
2
|
-
*
|
|
26
|
+
* A global counter used to generate unique field IDs.
|
|
27
|
+
* This variable is incremented each time a new field ID is needed.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* This is primarily used to ensure that each field component
|
|
31
|
+
* has a unique identifier within the application / useful for their Aria Labels.
|
|
3
32
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
33
|
+
declare let fieldID: number;
|
|
34
|
+
declare class FieldComponent implements OnInit, ControlValueAccessor, DoCheck, AfterViewInit {
|
|
35
|
+
private readonly defaultAppTheme;
|
|
36
|
+
private matIconRegistry;
|
|
37
|
+
private domSanitizer;
|
|
38
|
+
private cdr;
|
|
39
|
+
ngControl: NgControl;
|
|
40
|
+
private focusMonitor;
|
|
41
|
+
private ngZone;
|
|
42
|
+
private destroyRef;
|
|
43
|
+
class: string;
|
|
44
|
+
/**
|
|
45
|
+
* Indicator of the autocomplete width
|
|
46
|
+
*
|
|
47
|
+
* @type {boolean}
|
|
48
|
+
* @memberof FieldComponent
|
|
49
|
+
*/
|
|
50
|
+
fullWidth: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Indicator of the field height
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof FieldComponent
|
|
56
|
+
*/
|
|
57
|
+
fullHeight: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Form field label
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof FieldComponent
|
|
63
|
+
*/
|
|
64
|
+
label?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Form field label from html
|
|
67
|
+
*
|
|
68
|
+
* @memberof FieldComponent
|
|
69
|
+
*/
|
|
70
|
+
labelHtml: _angular_core.InputSignal<string | null>;
|
|
71
|
+
/**
|
|
72
|
+
* Icon to display alongside the label
|
|
73
|
+
*
|
|
74
|
+
* @type {IconName}
|
|
75
|
+
* @memberof FieldComponent
|
|
76
|
+
*/
|
|
77
|
+
labelIcon?: IconName;
|
|
78
|
+
/**
|
|
79
|
+
* Input name attribute
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof FieldComponent
|
|
83
|
+
*/
|
|
84
|
+
fieldName?: string;
|
|
85
|
+
/**
|
|
86
|
+
* Input placeholder
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof FieldComponent
|
|
90
|
+
*/
|
|
91
|
+
placeholder?: string | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* Input id
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof FieldComponent
|
|
97
|
+
*/
|
|
98
|
+
id: _angular_core.InputSignal<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Input value
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof FieldComponent
|
|
104
|
+
*/
|
|
105
|
+
value: string;
|
|
106
|
+
/**
|
|
107
|
+
* Variant of badge to use
|
|
108
|
+
*
|
|
109
|
+
* @type {BadgeVariant}
|
|
110
|
+
* @memberof FieldComponent
|
|
111
|
+
*/
|
|
112
|
+
badgeVariant?: BadgeVariant | undefined;
|
|
113
|
+
_errors: string[];
|
|
114
|
+
/**
|
|
115
|
+
* Input field errors
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof FieldComponent
|
|
119
|
+
*/
|
|
120
|
+
set errors(errors: string[]);
|
|
121
|
+
/**
|
|
122
|
+
* Determines if input is disabled
|
|
123
|
+
*
|
|
124
|
+
* @type {boolean}
|
|
125
|
+
* @memberof FieldComponent
|
|
126
|
+
*/
|
|
127
|
+
disabled: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Input is required or not
|
|
130
|
+
*
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
* @memberof FieldComponent
|
|
133
|
+
*/
|
|
134
|
+
required: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Input is readonly or not
|
|
137
|
+
*
|
|
138
|
+
* @type {boolean}
|
|
139
|
+
* @memberof FieldComponent
|
|
140
|
+
*/
|
|
141
|
+
readOnly: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Hint text
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof FieldComponent
|
|
147
|
+
*/
|
|
148
|
+
hintMessage: string;
|
|
149
|
+
/**
|
|
150
|
+
* Input type
|
|
151
|
+
*
|
|
152
|
+
* @type {FieldType}
|
|
153
|
+
* @memberof FieldComponent
|
|
154
|
+
*/
|
|
155
|
+
type: FieldType;
|
|
156
|
+
/**
|
|
157
|
+
* Input is update only on blur
|
|
158
|
+
*
|
|
159
|
+
* @type {Boolean}
|
|
160
|
+
* @memberof FieldComponent
|
|
161
|
+
*/
|
|
162
|
+
updateOnBlur: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* allow only digits in input
|
|
165
|
+
*
|
|
166
|
+
* @type {Boolean}
|
|
167
|
+
* @memberof FieldComponent
|
|
168
|
+
*/
|
|
169
|
+
allowOnlyDigits: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* allow autocomplete off in input
|
|
172
|
+
*
|
|
173
|
+
* @type {Boolean}
|
|
174
|
+
* @memberof FieldComponent
|
|
175
|
+
*/
|
|
176
|
+
isAutocompleteOff: boolean;
|
|
177
|
+
/**
|
|
178
|
+
* allow negative numbers
|
|
179
|
+
*
|
|
180
|
+
* @type {Boolean}
|
|
181
|
+
* @memberof FieldComponent
|
|
182
|
+
*/
|
|
183
|
+
allowNegative: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Show reserved content below form field
|
|
186
|
+
* @property showBottomContent
|
|
187
|
+
* @type {boolean}
|
|
188
|
+
* @memberof FieldComponent
|
|
189
|
+
*/
|
|
190
|
+
showBottomContent: boolean;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* Defines the application theme
|
|
194
|
+
*
|
|
195
|
+
* @type {ApplicationTheme}
|
|
196
|
+
* @memberof FieldComponent
|
|
197
|
+
*/
|
|
198
|
+
applicationTheme: ApplicationTheme;
|
|
199
|
+
/**
|
|
200
|
+
* A string representing the ARIA label for accessibility.
|
|
201
|
+
* This label is used to provide an accessible name for the input element.
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof FieldComponent
|
|
204
|
+
*/
|
|
205
|
+
ariaLabel: string;
|
|
206
|
+
/**
|
|
207
|
+
* Show loading button. Only for text
|
|
208
|
+
*
|
|
209
|
+
* @type {boolean}
|
|
210
|
+
* @memberof FieldComponent
|
|
211
|
+
*/
|
|
212
|
+
loading: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Show icon when field is valid
|
|
215
|
+
*
|
|
216
|
+
* @type {boolean}
|
|
217
|
+
* @memberof FieldComponent
|
|
218
|
+
*/
|
|
219
|
+
isValid: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Max characters number
|
|
222
|
+
*
|
|
223
|
+
* @type {number}
|
|
224
|
+
* @memberof FieldComponent
|
|
225
|
+
*/
|
|
226
|
+
maxCharacters: number;
|
|
227
|
+
/**
|
|
228
|
+
* Trim text on blur
|
|
229
|
+
*
|
|
230
|
+
* @type {boolean}
|
|
231
|
+
* @memberof FieldComponent
|
|
232
|
+
*/
|
|
233
|
+
trimOnBlur: boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Trim text on submit
|
|
236
|
+
*
|
|
237
|
+
* @type {boolean}
|
|
238
|
+
* @memberof FieldComponent
|
|
239
|
+
*/
|
|
240
|
+
trimOnSubmit: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* Max rows for multi-line type
|
|
243
|
+
*
|
|
244
|
+
* @type {number}
|
|
245
|
+
* @memberof FieldComponent
|
|
246
|
+
*/
|
|
247
|
+
maxRows: number;
|
|
248
|
+
/**
|
|
249
|
+
* has text area counter
|
|
250
|
+
*
|
|
251
|
+
* @type {boolean}
|
|
252
|
+
* @memberof FieldComponent
|
|
253
|
+
*/
|
|
254
|
+
hasTextAreaCounter: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Hide in build errors for Reactive Forms
|
|
257
|
+
*
|
|
258
|
+
* @type {number}
|
|
259
|
+
* @memberof FieldComponent
|
|
260
|
+
*/
|
|
261
|
+
hideBuiltInErrors: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* Hide label in errors
|
|
264
|
+
*
|
|
265
|
+
* @type {number}
|
|
266
|
+
* @memberof FieldComponent
|
|
267
|
+
*/
|
|
268
|
+
hideLabelInErrors: boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Set maximum number
|
|
271
|
+
*
|
|
272
|
+
* @type {number}
|
|
273
|
+
* @memberof FieldComponent
|
|
274
|
+
*/
|
|
275
|
+
max: number | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* Set minimum number
|
|
278
|
+
*
|
|
279
|
+
* @type {number}
|
|
280
|
+
* @memberof FieldComponent
|
|
281
|
+
*/
|
|
282
|
+
min: number | undefined;
|
|
283
|
+
/**
|
|
284
|
+
* Sets textarea height. Default 110
|
|
285
|
+
*
|
|
286
|
+
* @type {number}
|
|
287
|
+
* @memberof FieldComponent
|
|
288
|
+
*/
|
|
289
|
+
textareaHeight: number;
|
|
290
|
+
/**
|
|
291
|
+
* Sets textarea borderless. Default false
|
|
292
|
+
*
|
|
293
|
+
* @type {number}
|
|
294
|
+
* @memberof FieldComponent
|
|
295
|
+
*/
|
|
296
|
+
borderless: boolean;
|
|
297
|
+
autosizableTextarea: boolean;
|
|
298
|
+
/**
|
|
299
|
+
* Indicates if this field is filled by AI
|
|
300
|
+
*
|
|
301
|
+
* @type {boolean}
|
|
302
|
+
* @memberof FieldComponent
|
|
303
|
+
*/
|
|
304
|
+
isAIVariant: boolean;
|
|
305
|
+
/**
|
|
306
|
+
* A string representing the ARIA requirement for accessibility.
|
|
307
|
+
* This attribute is used for input field Aria Labeled By Element Id.
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof FieldComponent
|
|
310
|
+
*/
|
|
311
|
+
protected readonly ariaLabelledbyId: _angular_core.Signal<string>;
|
|
312
|
+
/**
|
|
313
|
+
* A string representing the ARIA requirement for accessibility.
|
|
314
|
+
* This attribute is used for input field Aria LabeledBy Text.
|
|
315
|
+
* @type {string}
|
|
316
|
+
* @memberof FieldComponent
|
|
317
|
+
*/
|
|
318
|
+
protected readonly ariaLabelledby: _angular_core.InputSignal<string | undefined>;
|
|
319
|
+
/**
|
|
320
|
+
* A string representing the ARIA requirement for accessibility.
|
|
321
|
+
* This attribute is used for input field Aria Described By Element Id.
|
|
322
|
+
* @type {string}
|
|
323
|
+
* @memberof FieldComponent
|
|
324
|
+
*/
|
|
325
|
+
protected readonly ariaDescribedbyId: _angular_core.Signal<string>;
|
|
326
|
+
/**
|
|
327
|
+
* A string representing the ARIA requirement for accessibility.
|
|
328
|
+
* This attribute is used for input field Aria DescribedBy Text.
|
|
329
|
+
* @type {string}
|
|
330
|
+
* @memberof FieldComponent
|
|
331
|
+
*/
|
|
332
|
+
protected readonly ariaDescribedby: _angular_core.InputSignal<string | undefined>;
|
|
333
|
+
/**
|
|
334
|
+
* Show state of error
|
|
335
|
+
* @type {boolean}
|
|
336
|
+
* @memberof FieldComponent
|
|
337
|
+
*/
|
|
338
|
+
hasError: boolean;
|
|
339
|
+
validateEvent: EventEmitter<string>;
|
|
340
|
+
fieldBlur: EventEmitter<void>;
|
|
341
|
+
field: ElementRef<HTMLInputElement>;
|
|
342
|
+
autosize: CdkTextareaAutosize;
|
|
343
|
+
get getPasswordIcon(): IconName;
|
|
344
|
+
isActiveField: boolean;
|
|
345
|
+
isActiveHover: boolean;
|
|
346
|
+
keyboardFocused: _angular_core.WritableSignal<boolean>;
|
|
347
|
+
protected readonly translationContext = "FIELD.";
|
|
348
|
+
/**
|
|
349
|
+
* @ignore
|
|
350
|
+
*/
|
|
351
|
+
onChange: (_: any) => void;
|
|
352
|
+
/**
|
|
353
|
+
* @ignore
|
|
354
|
+
*/
|
|
355
|
+
onTouch: () => void;
|
|
356
|
+
constructor(defaultAppTheme: ApplicationTheme, matIconRegistry: MatIconRegistry, domSanitizer: DomSanitizer, cdr: ChangeDetectorRef, ngControl: NgControl, focusMonitor: FocusMonitor, ngZone: NgZone, destroyRef: DestroyRef);
|
|
357
|
+
ngAfterViewInit(): void;
|
|
358
|
+
/**
|
|
359
|
+
* Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
|
|
360
|
+
* to display validation errors that might happen (e.g. required)
|
|
361
|
+
*/
|
|
362
|
+
ngDoCheck(): void;
|
|
363
|
+
showClose: boolean;
|
|
364
|
+
showPassword: boolean;
|
|
365
|
+
currentType: string;
|
|
366
|
+
errorsLength: boolean;
|
|
367
|
+
ngOnInit(): void;
|
|
368
|
+
validate(): void;
|
|
369
|
+
setSearchInput(): void;
|
|
370
|
+
getType(): string;
|
|
371
|
+
clearValue(): void;
|
|
372
|
+
showPasswordClick(): void;
|
|
373
|
+
onChangeInputSearch(): void;
|
|
374
|
+
setErrorsLength(): boolean;
|
|
375
|
+
onInput(event: any): void;
|
|
376
|
+
writeValue(value?: any): void;
|
|
377
|
+
registerOnChange(fn: any): void;
|
|
378
|
+
registerOnTouched(fn: any): void;
|
|
379
|
+
setDisabledState(isDisabled: boolean): void;
|
|
380
|
+
onActive(state: boolean, action: string): void;
|
|
381
|
+
onSubmit(): void;
|
|
382
|
+
private clearSpace;
|
|
383
|
+
onBlur(): void;
|
|
384
|
+
trackByFn: (index: number, value: string) => string;
|
|
385
|
+
focus(): void;
|
|
386
|
+
refocusPasswordButton(btn: any): void;
|
|
387
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldComponent, [{ optional: true; }, null, null, null, { optional: true; self: true; }, null, null, null]>;
|
|
388
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FieldComponent, "ui-field", never, { "fullWidth": { "alias": "fullWidth"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelHtml": { "alias": "labelHtml"; "required": false; "isSignal": true; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "fieldName": { "alias": "fieldName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; "badgeVariant": { "alias": "badgeVariant"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "hintMessage": { "alias": "hintMessage"; "required": false; }; "type": { "alias": "type"; "required": false; }; "updateOnBlur": { "alias": "updateOnBlur"; "required": false; }; "allowOnlyDigits": { "alias": "allowOnlyDigits"; "required": false; }; "isAutocompleteOff": { "alias": "isAutocompleteOff"; "required": false; }; "allowNegative": { "alias": "allowNegative"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "isValid": { "alias": "isValid"; "required": false; }; "maxCharacters": { "alias": "maxCharacters"; "required": false; }; "trimOnBlur": { "alias": "trimOnBlur"; "required": false; }; "trimOnSubmit": { "alias": "trimOnSubmit"; "required": false; }; "maxRows": { "alias": "maxRows"; "required": false; }; "hasTextAreaCounter": { "alias": "hasTextAreaCounter"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "textareaHeight": { "alias": "textareaHeight"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "autosizableTextarea": { "alias": "autosizableTextarea"; "required": false; }; "isAIVariant": { "alias": "isAIVariant"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; "isSignal": true; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; "isSignal": true; }; "hasError": { "alias": "hasError"; "required": false; }; }, { "validateEvent": "validateEvent"; "fieldBlur": "fieldBlur"; }, never, never, false, never>;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
declare class FieldComponentModule {
|
|
392
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FieldComponentModule, never>;
|
|
393
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<FieldComponentModule, [typeof FieldComponent], [typeof i2.CommonModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.IconComponentModule, typeof i6.FormsModule, typeof i6.ReactiveFormsModule, typeof i7.ButtonComponentModule, typeof i8.MatIconModule, typeof i9.UiTranslatePipe, typeof i10.ValidationErrorModule, typeof i9.HasValidationErrorPipe, typeof i9.DigitsOnlyDirective, typeof i11.BadgeComponentModule], [typeof FieldComponent]>;
|
|
394
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<FieldComponentModule>;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
export { FieldComponent, FieldComponentModule, fieldID };
|
|
398
|
+
export type { FieldType };
|
|
@@ -1,5 +1,169 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
import * as i8 from '@testgorilla/tgo-ui/components/core';
|
|
5
|
+
import { ApplicationTheme, Color } from '@testgorilla/tgo-ui/components/core';
|
|
6
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
+
import * as i3 from '@angular/common';
|
|
8
|
+
import * as i4 from '@angular/material/form-field';
|
|
9
|
+
import * as i5 from '@angular/material/input';
|
|
10
|
+
import * as i6 from '@testgorilla/tgo-ui/components/icon';
|
|
11
|
+
import * as i7 from '@testgorilla/tgo-ui/components/progress-bar';
|
|
12
|
+
|
|
13
|
+
declare class FileUploadComponent implements OnInit, OnChanges, ControlValueAccessor {
|
|
14
|
+
private readonly defaultAppTheme;
|
|
15
|
+
class: string;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @type {number}
|
|
19
|
+
* @memberof FileUploadComponent
|
|
20
|
+
*/
|
|
21
|
+
maxFileSizeMB: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof FileUploadComponent
|
|
26
|
+
*/
|
|
27
|
+
minFileSizeMB: number;
|
|
28
|
+
/**
|
|
29
|
+
* Supported files for input field
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FileUploadComponent
|
|
33
|
+
*/
|
|
34
|
+
supportedFileTypes?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Upload progress
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof FileUploadComponent
|
|
40
|
+
*/
|
|
41
|
+
uploadProgress: number;
|
|
42
|
+
/**
|
|
43
|
+
* Show Upload progress percentage or not
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof FileUploadComponent
|
|
47
|
+
*/
|
|
48
|
+
showUploadProgress: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Custom progress message
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof FileUploadComponent
|
|
54
|
+
*/
|
|
55
|
+
fileProcessingMessage: string | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* File upload errors
|
|
58
|
+
*
|
|
59
|
+
* @type {string[]}
|
|
60
|
+
* @memberof FileUploadComponent
|
|
61
|
+
*/
|
|
62
|
+
errors?: string[] | null;
|
|
63
|
+
/**
|
|
64
|
+
* File upload disabled
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof FileUploadComponent
|
|
68
|
+
*/
|
|
69
|
+
disabled: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Existing file information
|
|
72
|
+
*
|
|
73
|
+
* @type {(File | null)}
|
|
74
|
+
* @memberof FileUploadComponent
|
|
75
|
+
*/
|
|
76
|
+
file: File | null;
|
|
77
|
+
/**
|
|
78
|
+
* Color of the file upload.
|
|
79
|
+
* Defaults to Test Gorilla primary color.
|
|
80
|
+
*
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof FileUploadComponent
|
|
83
|
+
*/
|
|
84
|
+
companyColor: string | null;
|
|
85
|
+
compColor: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* Defines the application theme
|
|
89
|
+
*
|
|
90
|
+
* @type {ApplicationTheme}
|
|
91
|
+
* @memberof FileUploadComponent
|
|
92
|
+
*/
|
|
93
|
+
applicationTheme: ApplicationTheme;
|
|
94
|
+
/**
|
|
95
|
+
* A string representing the ARIA label for accessibility.
|
|
96
|
+
* This label is used to provide an accessible name for the input element.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof FileUploadComponent
|
|
99
|
+
*/
|
|
100
|
+
ariaLabel: string;
|
|
101
|
+
/**
|
|
102
|
+
* A string representing the ARIA requirement for accessibility.
|
|
103
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof FileUploadComponent
|
|
106
|
+
*/
|
|
107
|
+
ariaRequired: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Whether to show the file size information.
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof FileUploadComponent
|
|
112
|
+
*/
|
|
113
|
+
showFileSize: boolean;
|
|
114
|
+
OnDrop: EventEmitter<File>;
|
|
115
|
+
fileDrop: ElementRef<HTMLInputElement>;
|
|
116
|
+
protected readonly translationContext = "FILE_UPLOAD.";
|
|
117
|
+
/**
|
|
118
|
+
* @ignore
|
|
119
|
+
*/
|
|
120
|
+
onChange: (_value: any) => void;
|
|
121
|
+
/**
|
|
122
|
+
* @ignore
|
|
123
|
+
*/
|
|
124
|
+
onTouch: () => void;
|
|
125
|
+
get fileSizeInMB(): string | null;
|
|
126
|
+
isMissedMinSize: boolean;
|
|
127
|
+
progress: boolean;
|
|
128
|
+
success: boolean;
|
|
129
|
+
browse: boolean;
|
|
130
|
+
isCanceled: boolean;
|
|
131
|
+
colorUploadSuccess: Color;
|
|
132
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
133
|
+
ngOnInit(): void;
|
|
134
|
+
onFileDropped(files: FileList): void;
|
|
135
|
+
onChangeUpload(event: Event): void;
|
|
136
|
+
emitFile(files: FileList): void;
|
|
137
|
+
showProgress(): boolean;
|
|
138
|
+
showSuccess(): boolean;
|
|
139
|
+
showBrowse(): boolean;
|
|
140
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
141
|
+
writeValue(value?: File): void;
|
|
142
|
+
registerOnChange(fn: any): void;
|
|
143
|
+
registerOnTouched(fn: any): void;
|
|
144
|
+
setDisabledState(isDisabled: boolean): void;
|
|
145
|
+
private getCompanyColor;
|
|
146
|
+
private fileSizeToMB;
|
|
147
|
+
onKeydown(ev: KeyboardEvent): void;
|
|
148
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, [{ optional: true; }]>;
|
|
149
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "ui-file-upload", never, { "maxFileSizeMB": { "alias": "maxFileSizeMB"; "required": false; }; "minFileSizeMB": { "alias": "minFileSizeMB"; "required": false; }; "supportedFileTypes": { "alias": "supportedFileTypes"; "required": false; }; "uploadProgress": { "alias": "uploadProgress"; "required": false; }; "showUploadProgress": { "alias": "showUploadProgress"; "required": false; }; "fileProcessingMessage": { "alias": "fileProcessingMessage"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "file": { "alias": "file"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaRequired": { "alias": "ariaRequired"; "required": false; }; "showFileSize": { "alias": "showFileSize"; "required": false; }; }, { "OnDrop": "OnDrop"; }, never, never, false, never>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare class DragDropDirective {
|
|
153
|
+
constructor();
|
|
154
|
+
file: boolean;
|
|
155
|
+
fileDropped: EventEmitter<any>;
|
|
156
|
+
onDragOver(event: Event): void;
|
|
157
|
+
onDragLeave(event: Event): void;
|
|
158
|
+
ondrop(event: DragEvent): void;
|
|
159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragDropDirective, never>;
|
|
160
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragDropDirective, "[uiDragDrop]", never, {}, { "fileDropped": "fileDropped"; }, never, never, false, never>;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
declare class FileUploadComponentModule {
|
|
164
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponentModule, never>;
|
|
165
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileUploadComponentModule, [typeof FileUploadComponent, typeof DragDropDirective], [typeof i3.CommonModule, typeof i4.MatFormFieldModule, typeof i5.MatInputModule, typeof i6.IconComponentModule, typeof i7.ProgressBarComponentModule, typeof i8.UiTranslatePipe], [typeof FileUploadComponent]>;
|
|
166
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FileUploadComponentModule>;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export { FileUploadComponent, FileUploadComponentModule };
|