@testgorilla/tgo-ui 6.4.5 → 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 +51 -52
- 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,118 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
5
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
6
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
7
|
+
import * as i2 from '@angular/common';
|
|
8
|
+
import * as i4 from '@testgorilla/tgo-ui/components/button';
|
|
9
|
+
import * as i5 from '@angular/material/tooltip';
|
|
10
|
+
import * as i6 from '@angular/material/expansion';
|
|
11
|
+
|
|
12
|
+
type AccordionVariant = 'standard' | 'filter' | 'table';
|
|
13
|
+
type ToggleIconPosition = 'left' | 'right';
|
|
14
|
+
|
|
15
|
+
declare class AccordionComponent {
|
|
16
|
+
private readonly defaultAppTheme;
|
|
17
|
+
/**
|
|
18
|
+
* The label displayed for the accordion.
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @required
|
|
21
|
+
* @memberof AccordionComponent
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
* Determines whether the accordion is initially open.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @default false
|
|
28
|
+
* @memberof AccordionComponent
|
|
29
|
+
*/
|
|
30
|
+
open: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Disables the accordion if set to true.
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @default false
|
|
35
|
+
* @memberof AccordionComponent
|
|
36
|
+
*/
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Indicates whether to show a premium icon.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @default false
|
|
42
|
+
* @memberof AccordionComponent
|
|
43
|
+
*/
|
|
44
|
+
showPremiumIcon: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* The tooltip text for the premium icon.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @default ''
|
|
49
|
+
* @memberof AccordionComponent
|
|
50
|
+
*/
|
|
51
|
+
premiumTooltipText: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* Defines the application theme where accordion is used
|
|
55
|
+
*
|
|
56
|
+
* @type {ApplicationTheme}
|
|
57
|
+
* @memberof AccordionComponent
|
|
58
|
+
*/
|
|
59
|
+
applicationTheme: ApplicationTheme;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* Changed premium icon on this icon
|
|
63
|
+
*
|
|
64
|
+
* @type {IconName}
|
|
65
|
+
* @memberof AccordionComponent
|
|
66
|
+
*/
|
|
67
|
+
labelIcon: IconName;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* Select accordion variant. Don`t work on Classic theme
|
|
71
|
+
*
|
|
72
|
+
* @type {AccordionVariant}
|
|
73
|
+
* @memberof AccordionComponent
|
|
74
|
+
*/
|
|
75
|
+
variant: AccordionVariant;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* Projects content with attribute 'customHeader'
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof AccordionComponent
|
|
82
|
+
*/
|
|
83
|
+
allowCustomHeader: boolean;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* Sets background color of content to none
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof AccordionComponent
|
|
90
|
+
*/
|
|
91
|
+
noBackgroundColor: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* Defines the toggle icon position
|
|
95
|
+
*
|
|
96
|
+
* @type {boolean}
|
|
97
|
+
* @memberof AccordionComponent
|
|
98
|
+
*/
|
|
99
|
+
toggleIconPosition: ToggleIconPosition;
|
|
100
|
+
closed: EventEmitter<void>;
|
|
101
|
+
opened: EventEmitter<void>;
|
|
102
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
103
|
+
protected toggle(open: boolean): void;
|
|
104
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, [{ optional: true; }]>;
|
|
105
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ui-accordion", never, { "label": { "alias": "label"; "required": true; }; "open": { "alias": "open"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showPremiumIcon": { "alias": "showPremiumIcon"; "required": false; }; "premiumTooltipText": { "alias": "premiumTooltipText"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "labelIcon": { "alias": "labelIcon"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "allowCustomHeader": { "alias": "allowCustomHeader"; "required": false; }; "noBackgroundColor": { "alias": "noBackgroundColor"; "required": false; }; "toggleIconPosition": { "alias": "toggleIconPosition"; "required": false; }; }, { "closed": "closed"; "opened": "opened"; }, never, ["[subHeader]", "[customHeader]", "[actions]", "*"], false, never>;
|
|
106
|
+
static ngAcceptInputType_open: unknown;
|
|
107
|
+
static ngAcceptInputType_disabled: unknown;
|
|
108
|
+
static ngAcceptInputType_showPremiumIcon: unknown;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
declare class AccordionComponentModule {
|
|
112
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponentModule, never>;
|
|
113
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AccordionComponentModule, [typeof AccordionComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.ButtonComponentModule, typeof i5.MatTooltipModule, typeof i6.MatExpansionModule], [typeof AccordionComponent]>;
|
|
114
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AccordionComponentModule>;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export { AccordionComponent, AccordionComponentModule };
|
|
118
|
+
export type { AccordionVariant, ToggleIconPosition };
|
|
@@ -1,5 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, AfterViewInit, ElementRef, WritableSignal } from '@angular/core';
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
|
+
|
|
5
|
+
declare enum InterviewState {
|
|
6
|
+
CandidateSpeaking = "candidate-speaking",
|
|
7
|
+
AiListening = "ai-listening",
|
|
8
|
+
AiSpeaking = "ai-speaking"
|
|
9
|
+
}
|
|
10
|
+
declare class AiAudioCircleComponent implements OnDestroy, AfterViewInit {
|
|
11
|
+
pulseCanvasRef?: ElementRef<HTMLCanvasElement>;
|
|
12
|
+
audioTrack: _angular_core.InputSignal<MediaStreamTrack | undefined>;
|
|
13
|
+
candidateAudioTrack: _angular_core.InputSignal<MediaStreamTrack | undefined>;
|
|
14
|
+
state: _angular_core.ModelSignal<InterviewState>;
|
|
15
|
+
canvasSize: _angular_core.InputSignal<number>;
|
|
16
|
+
animated: _angular_core.InputSignal<boolean>;
|
|
17
|
+
isSpeaking: WritableSignal<boolean>;
|
|
18
|
+
scaleValue: WritableSignal<number>;
|
|
19
|
+
audioContext?: AudioContext;
|
|
20
|
+
analyser?: AnalyserNode;
|
|
21
|
+
candidateAnalyser?: AnalyserNode;
|
|
22
|
+
dataArray?: Uint8Array<ArrayBuffer>;
|
|
23
|
+
candidateDataArray?: Uint8Array<ArrayBuffer>;
|
|
24
|
+
animationFrameId?: number;
|
|
25
|
+
source?: MediaStreamAudioSourceNode;
|
|
26
|
+
candidateSource?: MediaStreamAudioSourceNode;
|
|
27
|
+
pulseCtx?: CanvasRenderingContext2D;
|
|
28
|
+
currentAmp: number;
|
|
29
|
+
simTime: number;
|
|
30
|
+
baseRadius: _angular_core.Signal<number>;
|
|
31
|
+
readonly AI_SPEAKING_THRESHOLD = 0.02;
|
|
32
|
+
readonly CANDIDATE_SPEAKING_THRESHOLD = 0.5;
|
|
33
|
+
readonly SHADOW_COLOR_RGB: string;
|
|
34
|
+
pulseTime: number;
|
|
35
|
+
pulseScale: number;
|
|
36
|
+
pulseTargetScale: number;
|
|
37
|
+
pulseAnimationId?: number;
|
|
38
|
+
blobs: Array<{
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
vx: number;
|
|
42
|
+
vy: number;
|
|
43
|
+
radius: number;
|
|
44
|
+
color: string;
|
|
45
|
+
opacity: number;
|
|
46
|
+
}>;
|
|
47
|
+
constructor();
|
|
48
|
+
ngAfterViewInit(): void;
|
|
49
|
+
private initializeCanvas;
|
|
50
|
+
private initializeBlobs;
|
|
51
|
+
private setupAudioAnalysis;
|
|
52
|
+
private setupCandidateAudioAnalysis;
|
|
53
|
+
private analyzeAudio;
|
|
54
|
+
private startAnimations;
|
|
55
|
+
private mainLoop;
|
|
56
|
+
private animatePulse;
|
|
57
|
+
private hexToRgb;
|
|
58
|
+
private cleanup;
|
|
59
|
+
ngOnDestroy(): void;
|
|
60
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiAudioCircleComponent, never>;
|
|
61
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AiAudioCircleComponent, "ui-ai-audio-circle", never, { "audioTrack": { "alias": "audioTrack"; "required": false; "isSignal": true; }; "candidateAudioTrack": { "alias": "candidateAudioTrack"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "canvasSize": { "alias": "canvasSize"; "required": false; "isSignal": true; }; "animated": { "alias": "animated"; "required": false; "isSignal": true; }; }, { "state": "stateChange"; }, never, never, false, never>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare class AiAudioCircleModule {
|
|
65
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiAudioCircleModule, never>;
|
|
66
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AiAudioCircleModule, [typeof AiAudioCircleComponent], [typeof i2.CommonModule], [typeof AiAudioCircleComponent]>;
|
|
67
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AiAudioCircleModule>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { AiAudioCircleComponent, AiAudioCircleModule, InterviewState };
|
|
@@ -1,5 +1,49 @@
|
|
|
1
|
+
import * as i4 from '@testgorilla/tgo-ui/components/core';
|
|
2
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import * as i0 from '@angular/core';
|
|
5
|
+
import * as i2 from '@angular/common';
|
|
6
|
+
import * as i3 from '@testgorilla/tgo-ui/components/icon';
|
|
7
|
+
|
|
1
8
|
/**
|
|
2
|
-
*
|
|
9
|
+
* AI Caveat Component
|
|
10
|
+
*
|
|
11
|
+
* A standardized, reusable UI component to be displayed beneath all AI-generated content.
|
|
12
|
+
* The purpose is to promote responsible AI usage by informing users that content should be
|
|
13
|
+
* verified for accuracy, thereby reducing risk and managing user expectations regarding AI reliability.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <ui-ai-caveat></ui-ai-caveat>
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* <ui-ai-caveat [applicationTheme]="'dark'"></ui-ai-caveat>
|
|
3
20
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
21
|
+
declare class AiCaveatComponent {
|
|
22
|
+
private readonly defaultAppTheme;
|
|
23
|
+
/**
|
|
24
|
+
* Defines the application theme
|
|
25
|
+
*
|
|
26
|
+
* @type {ApplicationTheme}
|
|
27
|
+
* @default 'light'
|
|
28
|
+
* @memberof AiCaveatComponent
|
|
29
|
+
*/
|
|
30
|
+
applicationTheme: ApplicationTheme;
|
|
31
|
+
/**
|
|
32
|
+
* The translation key for the disclaimer text
|
|
33
|
+
*
|
|
34
|
+
* @readonly
|
|
35
|
+
* @memberof AiCaveatComponent
|
|
36
|
+
*/
|
|
37
|
+
readonly disclaimerKey = "AI_CAVEAT.DISCLAIMER";
|
|
38
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AiCaveatComponent, [{ optional: true; }]>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AiCaveatComponent, "ui-ai-caveat", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class AiCaveatComponentModule {
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AiCaveatComponentModule, never>;
|
|
45
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AiCaveatComponentModule, [typeof AiCaveatComponent], [typeof i2.CommonModule, typeof i3.IconComponentModule, typeof i4.UiTranslatePipe], [typeof AiCaveatComponent]>;
|
|
46
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AiCaveatComponentModule>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { AiCaveatComponent, AiCaveatComponentModule };
|
|
@@ -1,5 +1,92 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as rxjs from 'rxjs';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
4
|
+
import * as i3 from '@angular/forms';
|
|
5
|
+
import { FormControl } from '@angular/forms';
|
|
6
|
+
import * as i10 from '@testgorilla/tgo-ui/components/core';
|
|
7
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
9
|
+
import * as i2 from '@angular/common';
|
|
10
|
+
import * as i4 from '@testgorilla/tgo-ui/components/button';
|
|
11
|
+
import * as i5 from '@testgorilla/tgo-ui/components/card';
|
|
12
|
+
import * as i6 from '@testgorilla/tgo-ui/components/tag';
|
|
13
|
+
import * as i7 from '@testgorilla/tgo-ui/components/field';
|
|
14
|
+
import * as i8 from '@testgorilla/tgo-ui/components/ai-caveat';
|
|
15
|
+
import * as i9 from '@testgorilla/tgo-ui/components/icon';
|
|
16
|
+
|
|
17
|
+
declare enum AiFeedbackPanelType {
|
|
18
|
+
POSITIVE = "positive",
|
|
19
|
+
NEGATIVE = "negative"
|
|
20
|
+
}
|
|
21
|
+
type AiFeedbackVariant = 'default' | 'panel' | 'input-only';
|
|
22
|
+
interface AiFeedbackOption {
|
|
23
|
+
id: string;
|
|
24
|
+
label: string;
|
|
25
|
+
}
|
|
26
|
+
interface AiFeedbackConfig {
|
|
27
|
+
title: string;
|
|
28
|
+
options?: AiFeedbackOption[];
|
|
29
|
+
otherPlaceholder?: string;
|
|
30
|
+
}
|
|
31
|
+
interface AiFeedbackData {
|
|
32
|
+
isPositiveFeedback: boolean | null;
|
|
33
|
+
selectedOptions?: string[];
|
|
34
|
+
otherText?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class AiFeedbackComponent implements OnInit {
|
|
38
|
+
positiveConfig: _angular_core.InputSignal<AiFeedbackConfig | undefined>;
|
|
39
|
+
negativeConfig: _angular_core.InputSignal<AiFeedbackConfig | undefined>;
|
|
40
|
+
skipPanelForPositive: _angular_core.InputSignal<boolean>;
|
|
41
|
+
applicationTheme: _angular_core.InputSignal<ApplicationTheme>;
|
|
42
|
+
variant: _angular_core.InputSignal<AiFeedbackVariant>;
|
|
43
|
+
isRatingDisabled: _angular_core.InputSignal<boolean>;
|
|
44
|
+
enableAutoEmit: _angular_core.InputSignal<boolean>;
|
|
45
|
+
isPositiveFeedback: _angular_core.ModelSignal<boolean | null>;
|
|
46
|
+
selectionChange: _angular_core.OutputEmitterRef<boolean | null>;
|
|
47
|
+
feedbackSubmitted: _angular_core.OutputEmitterRef<AiFeedbackData>;
|
|
48
|
+
feedbackCancelled: _angular_core.OutputEmitterRef<AiFeedbackData>;
|
|
49
|
+
feedbackChanged: _angular_core.OutputEmitterRef<AiFeedbackData>;
|
|
50
|
+
protected readonly isMobile$: rxjs.Observable<boolean>;
|
|
51
|
+
private destroyRef;
|
|
52
|
+
isMobile: _angular_core.Signal<boolean>;
|
|
53
|
+
showPanel: _angular_core.WritableSignal<boolean>;
|
|
54
|
+
panelType: _angular_core.WritableSignal<AiFeedbackPanelType | null>;
|
|
55
|
+
selectedOptions: _angular_core.WritableSignal<string[]>;
|
|
56
|
+
otherTextControl: FormControl<string | null>;
|
|
57
|
+
otherTextValue: _angular_core.WritableSignal<string>;
|
|
58
|
+
private selectedOptionsSubject;
|
|
59
|
+
private otherTextSubject;
|
|
60
|
+
readonly translationContext = "AI_FEEDBACK.";
|
|
61
|
+
readonly AiFeedbackPanelType: typeof AiFeedbackPanelType;
|
|
62
|
+
private readonly defaultPositiveTitle;
|
|
63
|
+
private readonly defaultNegativeTitle;
|
|
64
|
+
private readonly OTHER_OPTION_ID;
|
|
65
|
+
shouldAutoEmit: _angular_core.Signal<boolean>;
|
|
66
|
+
ngOnInit(): void;
|
|
67
|
+
getDefaultPanelTitleTranslation(panelType: AiFeedbackPanelType | null): string;
|
|
68
|
+
activeConfig: _angular_core.Signal<AiFeedbackConfig | null | undefined>;
|
|
69
|
+
arrowPosition: _angular_core.Signal<"left" | "right">;
|
|
70
|
+
isSubmitDisabled: _angular_core.Signal<boolean>;
|
|
71
|
+
private ensureOtherOption;
|
|
72
|
+
private buildFeedbackData;
|
|
73
|
+
private resetPanelState;
|
|
74
|
+
private shouldShowPanelForVariant;
|
|
75
|
+
onSelectionChange(isPositive: boolean): void;
|
|
76
|
+
toggleOption(optionId: string): void;
|
|
77
|
+
isOptionSelected(optionId: string): boolean;
|
|
78
|
+
showOtherField(): boolean;
|
|
79
|
+
onSubmit(): void;
|
|
80
|
+
closePanel(): void;
|
|
81
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiFeedbackComponent, never>;
|
|
82
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AiFeedbackComponent, "ui-ai-feedback", never, { "positiveConfig": { "alias": "positiveConfig"; "required": false; "isSignal": true; }; "negativeConfig": { "alias": "negativeConfig"; "required": false; "isSignal": true; }; "skipPanelForPositive": { "alias": "skipPanelForPositive"; "required": false; "isSignal": true; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "isRatingDisabled": { "alias": "isRatingDisabled"; "required": false; "isSignal": true; }; "enableAutoEmit": { "alias": "enableAutoEmit"; "required": false; "isSignal": true; }; "isPositiveFeedback": { "alias": "isPositiveFeedback"; "required": false; "isSignal": true; }; }, { "isPositiveFeedback": "isPositiveFeedbackChange"; "selectionChange": "selectionChange"; "feedbackSubmitted": "feedbackSubmitted"; "feedbackCancelled": "feedbackCancelled"; "feedbackChanged": "feedbackChanged"; }, never, never, false, never>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare class AiFeedbackModule {
|
|
86
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AiFeedbackModule, never>;
|
|
87
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AiFeedbackModule, [typeof AiFeedbackComponent], [typeof i2.CommonModule, typeof i2.AsyncPipe, typeof i3.ReactiveFormsModule, typeof i4.ButtonComponentModule, typeof i5.CardComponentModule, typeof i6.TagComponentModule, typeof i7.FieldComponentModule, typeof i8.AiCaveatComponentModule, typeof i9.IconComponentModule, typeof i10.UiTranslatePipe, typeof i10.MemoizeFuncPipe], [typeof AiFeedbackComponent]>;
|
|
88
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AiFeedbackModule>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export { AiFeedbackComponent, AiFeedbackModule, AiFeedbackPanelType };
|
|
92
|
+
export type { AiFeedbackConfig, AiFeedbackData, AiFeedbackOption, AiFeedbackVariant };
|
|
@@ -1,5 +1,165 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import * as i4 from '@testgorilla/tgo-ui/components/icon';
|
|
4
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
5
|
+
import * as i6 from '@testgorilla/tgo-ui/components/core';
|
|
6
|
+
import { ApplicationTheme, AlertBarType, AlertVariant } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
+
import * as i2 from '@angular/common';
|
|
9
|
+
import * as i3 from '@testgorilla/tgo-ui/components/button';
|
|
10
|
+
import * as i5 from '@testgorilla/tgo-ui/components/spinner';
|
|
11
|
+
|
|
12
|
+
type LinkTargetType = '' | '_self' | '_blank' | '_parent' | '_top';
|
|
13
|
+
interface AlertBannerAction {
|
|
14
|
+
label: string;
|
|
15
|
+
onClick: ($event: Event) => void;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class AlertBannerComponent implements OnInit, OnChanges {
|
|
20
|
+
private readonly defaultAppTheme;
|
|
21
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
22
|
+
/**
|
|
23
|
+
* Alert Banner type
|
|
24
|
+
*
|
|
25
|
+
* @type {AlertBarType}
|
|
26
|
+
* @default 'success'
|
|
27
|
+
* @memberof AlertBannerComponent
|
|
28
|
+
*/
|
|
29
|
+
alertType: AlertBarType;
|
|
30
|
+
/**
|
|
31
|
+
* Alert Banner variant
|
|
32
|
+
*
|
|
33
|
+
* @type {AlertVariant}
|
|
34
|
+
* @default 'banner'
|
|
35
|
+
* @memberof AlertBannerComponent
|
|
36
|
+
*/
|
|
37
|
+
alertVariant: AlertVariant;
|
|
38
|
+
/**
|
|
39
|
+
* Alert banner message
|
|
40
|
+
*
|
|
41
|
+
* @memberof AlertBannerComponent
|
|
42
|
+
*/
|
|
43
|
+
message: string;
|
|
44
|
+
/**
|
|
45
|
+
* Include dismmiss button
|
|
46
|
+
*
|
|
47
|
+
* @default true
|
|
48
|
+
* @memberof AlertBannerComponent
|
|
49
|
+
*/
|
|
50
|
+
includeDismissButton: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Include shadow or not
|
|
53
|
+
*
|
|
54
|
+
* @default false
|
|
55
|
+
* @memberof AlertBannerComponent
|
|
56
|
+
*/
|
|
57
|
+
shadow: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Link text that will appended at the end of message
|
|
60
|
+
*
|
|
61
|
+
* @default ''
|
|
62
|
+
* @memberof AlertBannerComponent
|
|
63
|
+
*/
|
|
64
|
+
linkText?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Link url
|
|
67
|
+
*
|
|
68
|
+
* @memberof AlertBannerComponent
|
|
69
|
+
*/
|
|
70
|
+
linkUrl?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Link target
|
|
73
|
+
*
|
|
74
|
+
* @type {@type {LinkTargetType}}
|
|
75
|
+
* @default '_blank'
|
|
76
|
+
* @memberof AlertBannerComponent
|
|
77
|
+
*/
|
|
78
|
+
linkTarget?: LinkTargetType;
|
|
79
|
+
/**
|
|
80
|
+
* Optional action buttons displayed on the right side of the banner.
|
|
81
|
+
*
|
|
82
|
+
* @type {AlertBannerAction[]}
|
|
83
|
+
* @default []
|
|
84
|
+
* @memberof AlertBannerComponent
|
|
85
|
+
*/
|
|
86
|
+
actions: AlertBannerAction[];
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* Defines the application theme
|
|
90
|
+
*
|
|
91
|
+
* @type {ApplicationTheme}
|
|
92
|
+
* @default 'light'
|
|
93
|
+
* @memberof AlertBannerComponent
|
|
94
|
+
*/
|
|
95
|
+
applicationTheme: ApplicationTheme;
|
|
96
|
+
/**
|
|
97
|
+
* Sets the full width
|
|
98
|
+
*
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof AlertBannerComponent
|
|
101
|
+
*/
|
|
102
|
+
isFullWidth: boolean | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Close button tooltip
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @default ''
|
|
108
|
+
* @memberof AlertBannerComponent
|
|
109
|
+
*/
|
|
110
|
+
closeButtonTooltip: string;
|
|
111
|
+
/**
|
|
112
|
+
* Shows icon
|
|
113
|
+
*
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @default true
|
|
116
|
+
* @memberof AlertBannerComponent
|
|
117
|
+
*/
|
|
118
|
+
hasIcon: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Controls loading state for spinner visibility.
|
|
121
|
+
*
|
|
122
|
+
* @type {boolean}
|
|
123
|
+
* @default false
|
|
124
|
+
* @memberof AlertBannerComponent
|
|
125
|
+
*/
|
|
126
|
+
isLoading: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* Sets the alert banner position
|
|
129
|
+
*
|
|
130
|
+
* @type {boolean}
|
|
131
|
+
* @default false
|
|
132
|
+
* @memberof AlertBannerComponent
|
|
133
|
+
*/
|
|
134
|
+
fixed: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* A string representing the ARIA requirement for accessibility.
|
|
137
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
138
|
+
* @type {string}
|
|
139
|
+
* @memberof AlertBannerComponent
|
|
140
|
+
*/
|
|
141
|
+
ariaDescribedby: string;
|
|
142
|
+
secondaryAlerts: string[];
|
|
143
|
+
get isDismissed(): boolean;
|
|
144
|
+
iconName: IconName;
|
|
145
|
+
visible: boolean;
|
|
146
|
+
fullWidth: boolean;
|
|
147
|
+
position: string;
|
|
148
|
+
cssClass: string;
|
|
149
|
+
dismissAlertBanner: boolean;
|
|
150
|
+
ngOnInit(): void;
|
|
151
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
152
|
+
private updateBanner;
|
|
153
|
+
dismissClick(): void;
|
|
154
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponent, [{ optional: true; }]>;
|
|
155
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AlertBannerComponent, "ui-alert-banner", never, { "alertType": { "alias": "alertType"; "required": false; }; "alertVariant": { "alias": "alertVariant"; "required": false; }; "message": { "alias": "message"; "required": false; }; "includeDismissButton": { "alias": "includeDismissButton"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkUrl": { "alias": "linkUrl"; "required": false; }; "linkTarget": { "alias": "linkTarget"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "isFullWidth": { "alias": "isFullWidth"; "required": false; }; "closeButtonTooltip": { "alias": "closeButtonTooltip"; "required": false; }; "hasIcon": { "alias": "hasIcon"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "secondaryAlerts": { "alias": "secondaryAlerts"; "required": false; }; }, {}, never, never, false, never>;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
declare class AlertBannerComponentModule {
|
|
159
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AlertBannerComponentModule, never>;
|
|
160
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AlertBannerComponentModule, [typeof AlertBannerComponent], [typeof i2.CommonModule, typeof i3.ButtonComponentModule, typeof i4.IconComponentModule, typeof i5.SpinnerComponentModule, typeof i6.UiTranslatePipe], [typeof AlertBannerComponent]>;
|
|
161
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AlertBannerComponentModule>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export { AlertBannerComponent, AlertBannerComponentModule };
|
|
165
|
+
export type { AlertBannerAction, LinkTargetType };
|
|
@@ -1,5 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class AudioWaveformComponent implements OnDestroy {
|
|
5
|
+
private readonly waveformService;
|
|
6
|
+
readonly barCount: number;
|
|
7
|
+
readonly width: _angular_core.InputSignal<number>;
|
|
8
|
+
readonly height: _angular_core.InputSignal<number>;
|
|
9
|
+
readonly gap: _angular_core.InputSignal<number>;
|
|
10
|
+
readonly minScale: _angular_core.InputSignal<number>;
|
|
11
|
+
readonly smoothing: _angular_core.InputSignal<number>;
|
|
12
|
+
/**
|
|
13
|
+
* When provided, the component operates in controlled mode —
|
|
14
|
+
* it renders externally-supplied bar values instead of managing the mic itself.
|
|
15
|
+
*/
|
|
16
|
+
readonly bars: _angular_core.InputSignal<number[] | null>;
|
|
17
|
+
/** Mirror of `bars` for controlled mode; required when `bars` is set. */
|
|
18
|
+
readonly active: _angular_core.InputSignal<boolean | null>;
|
|
19
|
+
readonly controlled: _angular_core.Signal<boolean>;
|
|
20
|
+
readonly effectiveBars: _angular_core.Signal<number[]>;
|
|
21
|
+
readonly effectiveActive: _angular_core.Signal<boolean>;
|
|
22
|
+
readonly barWidth: _angular_core.Signal<number>;
|
|
23
|
+
constructor();
|
|
24
|
+
barHeight(value: number): number;
|
|
25
|
+
barRadius(): number;
|
|
26
|
+
barValue(index: number): number;
|
|
27
|
+
barColor(index: number): string;
|
|
28
|
+
/** Returns the x-offset for a bar so the shared CSS gradient aligns correctly. */
|
|
29
|
+
barOffset(index: number): number;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AudioWaveformComponent, never>;
|
|
32
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AudioWaveformComponent, "ui-audio-waveform", never, { "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; "minScale": { "alias": "minScale"; "required": false; "isSignal": true; }; "smoothing": { "alias": "smoothing"; "required": false; "isSignal": true; }; "bars": { "alias": "bars"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare class AudioWaveformModule {
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AudioWaveformModule, never>;
|
|
37
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AudioWaveformModule, never, [typeof AudioWaveformComponent], [typeof AudioWaveformComponent]>;
|
|
38
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AudioWaveformModule>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
interface AudioWaveformConfig {
|
|
42
|
+
barCount: number;
|
|
43
|
+
smoothing: number;
|
|
44
|
+
fftSize: number;
|
|
45
|
+
}
|
|
46
|
+
declare const DEFAULT_AUDIO_WAVEFORM_CONFIG: AudioWaveformConfig;
|
|
47
|
+
/** Per-bar colors for the 5-bar waveform (left to right) */
|
|
48
|
+
declare const AUDIO_WAVEFORM_BAR_COLORS: string[];
|
|
49
|
+
|
|
50
|
+
declare class AudioWaveformService implements OnDestroy {
|
|
51
|
+
private ctx;
|
|
52
|
+
private analyser;
|
|
53
|
+
private source;
|
|
54
|
+
private stream;
|
|
55
|
+
private raf;
|
|
56
|
+
readonly bars: _angular_core.WritableSignal<number[]>;
|
|
57
|
+
readonly active: _angular_core.WritableSignal<boolean>;
|
|
58
|
+
start(barCount?: number, smoothing?: number): Promise<void>;
|
|
59
|
+
stop(): void;
|
|
60
|
+
ngOnDestroy(): void;
|
|
61
|
+
/**
|
|
62
|
+
* Creates a symmetric bar distribution where middle bars are highest.
|
|
63
|
+
* Uses a bell-curve-like pattern centered at the middle bar.
|
|
64
|
+
*/
|
|
65
|
+
private createSymmetricBars;
|
|
66
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AudioWaveformService, never>;
|
|
67
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AudioWaveformService>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { AUDIO_WAVEFORM_BAR_COLORS, AudioWaveformComponent, AudioWaveformModule, AudioWaveformService, DEFAULT_AUDIO_WAVEFORM_CONFIG };
|
|
71
|
+
export type { AudioWaveformConfig };
|