@testgorilla/tgo-ui 7.0.0-beta.0 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/accordion/accordion.component.d.ts +100 -0
- package/components/accordion/accordion.component.module.d.ts +12 -0
- package/components/accordion/accordion.model.d.ts +2 -0
- package/components/accordion/index.d.ts +5 -118
- package/components/accordion/public-api.d.ts +4 -0
- package/components/ai-audio-circle/ai-audio-circle.component.d.ts +60 -0
- package/components/ai-audio-circle/ai-audio-circle.module.d.ts +8 -0
- package/components/ai-audio-circle/index.d.ts +5 -70
- package/components/ai-audio-circle/public-api.d.ts +2 -0
- package/components/ai-caveat/ai-caveat.component.d.ts +36 -0
- package/components/ai-caveat/ai-caveat.component.module.d.ts +10 -0
- package/components/ai-caveat/index.d.ts +3 -47
- package/components/ai-caveat/public-api.d.ts +3 -0
- package/components/ai-feedback/ai-feedback.component.d.ts +52 -0
- package/components/ai-feedback/ai-feedback.model.d.ts +19 -0
- package/components/ai-feedback/ai-feedback.module.d.ts +16 -0
- package/components/ai-feedback/index.d.ts +5 -92
- package/components/ai-feedback/public-api.d.ts +4 -0
- package/components/alert-banner/alert-banner.component.d.ts +144 -0
- package/components/alert-banner/alert-banner.component.module.d.ts +12 -0
- package/components/alert-banner/alert-banner.model.d.ts +6 -0
- package/components/alert-banner/index.d.ts +5 -165
- package/components/alert-banner/public-api.d.ts +4 -0
- package/components/audio-waveform/audio-waveform.component.d.ts +32 -0
- package/components/audio-waveform/audio-waveform.model.d.ts +8 -0
- package/components/audio-waveform/audio-waveform.module.d.ts +7 -0
- package/components/audio-waveform/audio-waveform.service.d.ts +21 -0
- package/components/audio-waveform/index.d.ts +5 -71
- package/components/audio-waveform/public-api.d.ts +4 -0
- package/components/autocomplete/autocomplete.component.d.ts +324 -0
- package/components/autocomplete/autocomplete.component.module.d.ts +23 -0
- package/components/autocomplete/autocomplete.model.d.ts +23 -0
- package/components/autocomplete/includes.pipe.d.ts +12 -0
- package/components/autocomplete/index.d.ts +3 -414
- package/components/autocomplete/prevent-input.directive.d.ts +7 -0
- package/components/autocomplete/public-api.d.ts +4 -0
- package/components/autocomplete/select-text.directive.d.ts +19 -0
- package/components/autocomplete/transform-Item.pipe.d.ts +11 -0
- package/components/avatar/avatar.component.d.ts +67 -0
- package/components/avatar/avatar.component.module.d.ts +13 -0
- package/components/avatar/avatar.model.d.ts +18 -0
- package/components/avatar/index.d.ts +5 -107
- package/components/avatar/name-initials.pipe.d.ts +7 -0
- package/components/avatar/public-api.d.ts +4 -0
- package/components/badge/badge.component.d.ts +73 -0
- package/components/badge/badge.component.module.d.ts +10 -0
- package/components/badge/badge.model.d.ts +38 -0
- package/components/badge/index.d.ts +5 -125
- package/components/badge/public-api.d.ts +4 -0
- package/components/breadcrumb/breadcrumb.component.d.ts +40 -0
- package/components/breadcrumb/breadcrumb.component.module.d.ts +14 -0
- package/components/breadcrumb/breadcrumb.model.d.ts +5 -0
- package/components/breadcrumb/index.d.ts +5 -62
- package/components/breadcrumb/public-api.d.ts +4 -0
- package/components/button/button.component.d.ts +238 -0
- package/components/button/button.component.module.d.ts +15 -0
- package/components/button/button.model.d.ts +14 -0
- package/components/button/color-contrast.d.ts +28 -0
- package/components/button/index.d.ts +3 -298
- package/components/button/public-api.d.ts +5 -0
- package/components/card/card.component.d.ts +87 -0
- package/components/card/card.component.module.d.ts +9 -0
- package/components/card/card.model.d.ts +3 -0
- package/components/card/index.d.ts +5 -103
- package/components/card/public-api.d.ts +4 -0
- package/components/checkbox/checkbox.component.d.ts +193 -0
- package/components/checkbox/checkbox.component.module.d.ts +16 -0
- package/components/checkbox/focus-visible.directive.d.ts +12 -0
- package/components/checkbox/index.d.ts +5 -221
- package/components/checkbox/public-api.d.ts +4 -0
- package/components/checklist/checklist.component.d.ts +82 -0
- package/components/checklist/checklist.model.d.ts +9 -0
- package/components/checklist/index.d.ts +5 -97
- package/components/checklist/public-api.d.ts +3 -0
- package/components/core/alert-bar.model.d.ts +2 -0
- package/components/core/alert-bars.utils.d.ts +6 -0
- package/components/core/application-theme.model.d.ts +7 -0
- package/components/core/autocomplete-utils.d.ts +12 -0
- package/components/core/checkbox.model.d.ts +1 -0
- package/components/core/color-contrast.d.ts +28 -0
- package/components/core/colors.model.d.ts +63 -0
- package/components/core/data-property-getter.pipe.d.ts +8 -0
- package/components/core/digits-only.directive.d.ts +17 -0
- package/components/core/dynamic-component.directive.d.ts +20 -0
- package/components/core/ellipse-text.directive.d.ts +20 -0
- package/components/core/has-validation-error.pipe.d.ts +15 -0
- package/components/core/hex-to-rgb.d.ts +1 -0
- package/components/core/index.d.ts +3 -346
- package/components/core/is-large-tablet.d.ts +2 -0
- package/components/core/is-mobile.d.ts +2 -0
- package/components/core/keyboard-events.model.d.ts +11 -0
- package/components/core/language.model.d.ts +14 -0
- package/components/core/language.service.d.ts +20 -0
- package/components/core/link-target.model.d.ts +1 -0
- package/components/core/memoize-func.pipe.d.ts +26 -0
- package/components/core/public-api.d.ts +25 -0
- package/components/core/screen-breakpoints.model.d.ts +5 -0
- package/components/core/select-text.directive.d.ts +19 -0
- package/components/core/truncate.pipe.d.ts +7 -0
- package/components/core/ui-ordinal-suffix.pipe.d.ts +7 -0
- package/components/core/ui-translate.pipe.d.ts +32 -0
- package/components/datepicker/date-adapter.d.ts +34 -0
- package/components/datepicker/datepicker.component.d.ts +235 -0
- package/components/datepicker/datepicker.component.module.d.ts +17 -0
- package/components/datepicker/datepicker.service.d.ts +8 -0
- package/components/datepicker/index.d.ts +5 -305
- package/components/datepicker/no-date-format.directive.d.ts +11 -0
- package/components/datepicker/public-api.d.ts +6 -0
- package/components/deprecated-paginator/deprecated-paginator.component.d.ts +34 -0
- package/components/deprecated-paginator/deprecated-paginator.component.module.d.ts +9 -0
- package/components/dialog/confirm-dialog/confirm-dialog.component.d.ts +38 -0
- package/components/dialog/confirm-dialog/confirm-dialog.component.module.d.ts +12 -0
- package/components/dialog/confirm-dialog/confirm-dialog.model.d.ts +47 -0
- package/components/dialog/dialog-custom/dialog-custom.component.d.ts +22 -0
- package/components/dialog/dialog-custom/dialog-custom.component.module.d.ts +10 -0
- package/components/dialog/dialog.component.d.ts +163 -0
- package/components/dialog/dialog.component.module.d.ts +11 -0
- package/components/dialog/dialog.model.d.ts +12 -0
- package/components/dialog/dialog.service.d.ts +14 -0
- package/components/dialog/index.d.ts +5 -308
- package/components/dialog/public-api.d.ts +10 -0
- package/components/divider/divider.component.d.ts +39 -0
- package/components/divider/divider.component.module.d.ts +9 -0
- package/components/divider/divider.model.d.ts +1 -0
- package/components/divider/index.d.ts +5 -53
- package/components/divider/public-api.d.ts +4 -0
- package/components/donut-chart/donut-chart.component.d.ts +22 -0
- package/components/donut-chart/donut-chart.component.model.d.ts +6 -0
- package/components/donut-chart/donut-chart.component.module.d.ts +8 -0
- package/components/donut-chart/index.d.ts +5 -39
- package/components/donut-chart/public-api.d.ts +3 -0
- package/components/dropdown/dropdown.component.d.ts +214 -0
- package/components/dropdown/dropdown.component.module.d.ts +16 -0
- package/components/dropdown/dropdown.model.d.ts +6 -0
- package/components/dropdown/index.d.ts +5 -240
- package/components/dropdown/public-api.d.ts +4 -0
- package/components/elevation-shadow/elevation-shadow.component.d.ts +26 -0
- package/components/elevation-shadow/elevation-shadow.component.module.d.ts +8 -0
- package/components/elevation-shadow/elevation-shadow.constant.d.ts +8 -0
- package/components/elevation-shadow/index.d.ts +5 -45
- package/components/elevation-shadow/public-api.d.ts +3 -0
- package/components/empty-state/empty-state.component.d.ts +199 -0
- package/components/empty-state/empty-state.component.module.d.ts +11 -0
- package/components/empty-state/empty-state.model.d.ts +3 -0
- package/components/empty-state/index.d.ts +5 -217
- package/components/empty-state/public-api.d.ts +4 -0
- package/components/field/field.component.d.ts +376 -0
- package/components/field/field.component.module.d.ts +17 -0
- package/components/field/field.model.d.ts +1 -0
- package/components/field/index.d.ts +3 -396
- package/components/field/public-api.d.ts +4 -0
- package/components/file-upload/drag-drop.directive.d.ts +12 -0
- package/components/file-upload/file-upload.component.d.ts +142 -0
- package/components/file-upload/file-upload.component.module.d.ts +14 -0
- package/components/file-upload/index.d.ts +5 -169
- package/components/file-upload/public-api.d.ts +3 -0
- package/components/filter-button/filter-button.component.d.ts +140 -0
- package/components/filter-button/filter-button.component.module.d.ts +17 -0
- package/components/filter-button/filter-button.model.d.ts +13 -0
- package/components/filter-button/index.d.ts +5 -173
- package/components/filter-button/public-api.d.ts +4 -0
- package/components/gaussian-chart/gaussian-chart.component.d.ts +82 -0
- package/components/gaussian-chart/gaussian-chart.module.d.ts +12 -0
- package/components/gaussian-chart/index.d.ts +5 -96
- package/components/gaussian-chart/public-api.d.ts +2 -0
- package/components/icon/icon-svg-content.d.ts +16 -0
- package/components/icon/icon.component.d.ts +72 -0
- package/components/icon/icon.component.module.d.ts +10 -0
- package/components/icon/icon.config.d.ts +10 -0
- package/components/icon/icon.model.d.ts +7 -0
- package/components/icon/icons.service.d.ts +8 -0
- package/components/icon/index.d.ts +5 -109
- package/components/icon/public-api.d.ts +6 -0
- package/components/icon-label/icon-label.component.d.ts +51 -0
- package/components/icon-label/icon-label.component.module.d.ts +9 -0
- package/components/icon-label/index.d.ts +5 -62
- package/components/icon-label/public-api.d.ts +2 -0
- package/components/inline-field/index.d.ts +3 -273
- package/components/inline-field/inline-field.component.d.ts +153 -0
- package/components/inline-field/inline-field.component.module.d.ts +13 -0
- package/components/inline-field/inline-field.model.d.ts +107 -0
- package/components/inline-field/public-api.d.ts +4 -0
- package/components/logo/index.d.ts +5 -106
- package/components/logo/logo.component.d.ts +66 -0
- package/components/logo/logo.component.module.d.ts +8 -0
- package/components/logo/logo.model.d.ts +29 -0
- package/components/logo/public-api.d.ts +4 -0
- package/components/media-card/index.d.ts +5 -35
- package/components/media-card/media-card.component.d.ts +32 -0
- package/components/media-card/public-api.d.ts +1 -0
- package/components/media-dialog/index.d.ts +5 -47
- package/components/media-dialog/media-dialog.component.d.ts +28 -0
- package/components/media-dialog/media-dialog.model.d.ts +16 -0
- package/components/media-dialog/public-api.d.ts +2 -0
- package/components/multi-input/index.d.ts +5 -185
- package/components/multi-input/multi-input.component.d.ts +158 -0
- package/components/multi-input/multi-input.component.module.d.ts +17 -0
- package/components/multi-input/multi-input.model.d.ts +4 -0
- package/components/multi-input/public-api.d.ts +5 -0
- package/components/multi-input/required-multi-input.validator.d.ts +3 -0
- package/components/navbar/index.d.ts +5 -203
- package/components/navbar/mobile-navbar-side-sheet/mobile-navbar-side-sheet.component.d.ts +28 -0
- package/components/navbar/navbar.component.d.ts +133 -0
- package/components/navbar/navbar.component.module.d.ts +21 -0
- package/components/navbar/navbar.model.d.ts +21 -0
- package/components/navbar/public-api.d.ts +5 -0
- package/components/overflow-menu/index.d.ts +5 -163
- package/components/overflow-menu/overflow-menu.component.d.ts +117 -0
- package/components/overflow-menu/overflow-menu.component.module.d.ts +14 -0
- package/components/overflow-menu/overflow-menu.model.d.ts +32 -0
- package/components/overflow-menu/public-api.d.ts +4 -0
- package/components/page-header/index.d.ts +5 -51
- package/components/page-header/page-header.component.d.ts +38 -0
- package/components/page-header/page-header.component.module.d.ts +10 -0
- package/components/page-header/public-api.d.ts +3 -0
- package/components/paginator/index.d.ts +5 -70
- package/components/paginator/paginator.component.d.ts +58 -0
- package/components/paginator/paginator.component.module.d.ts +9 -0
- package/components/paginator/public-api.d.ts +3 -0
- package/components/password-criteria/index.d.ts +5 -60
- package/components/password-criteria/password.component.d.ts +44 -0
- package/components/password-criteria/password.component.module.d.ts +13 -0
- package/components/password-criteria/public-api.d.ts +3 -0
- package/components/password-strength/index.d.ts +5 -59
- package/components/password-strength/password-strength.component.d.ts +45 -0
- package/components/password-strength/password-strength.component.module.d.ts +11 -0
- package/components/password-strength/public-api.d.ts +3 -0
- package/components/phone-input/index.d.ts +3 -179
- package/components/phone-input/join-strings.pipe.d.ts +7 -0
- package/components/phone-input/phone-input.component.d.ts +145 -0
- package/components/phone-input/phone-input.component.module.d.ts +19 -0
- package/components/phone-input/phone-input.model.d.ts +8 -0
- package/components/phone-input/public-api.d.ts +5 -0
- package/components/popover/index.d.ts +5 -34
- package/components/popover/popover.component.d.ts +9 -0
- package/components/popover/popover.directive.d.ts +31 -0
- package/components/popover/public-api.d.ts +1 -0
- package/components/progress-bar/index.d.ts +5 -86
- package/components/progress-bar/progress-bar.component.d.ts +73 -0
- package/components/progress-bar/progress-bar.component.module.d.ts +10 -0
- package/components/progress-bar/public-api.d.ts +3 -0
- package/components/prompt/index.d.ts +5 -95
- package/components/prompt/prompt.component.d.ts +62 -0
- package/components/prompt/prompt.model.d.ts +9 -0
- package/components/prompt/prompt.module.d.ts +20 -0
- package/components/prompt/public-api.d.ts +4 -0
- package/components/radial-progress/index.d.ts +5 -99
- package/components/radial-progress/public-api.d.ts +4 -0
- package/components/radial-progress/radial-progress.component.d.ts +75 -0
- package/components/radial-progress/radial-progress.component.module.d.ts +10 -0
- package/components/radial-progress/radial-progress.model.d.ts +10 -0
- package/components/radio-button/index.d.ts +5 -211
- package/components/radio-button/public-api.d.ts +4 -0
- package/components/radio-button/radio-button.component.d.ts +189 -0
- package/components/radio-button/radio-button.component.module.d.ts +15 -0
- package/components/radio-button/radio-button.model.d.ts +4 -0
- package/components/rating/half-star.pipe.d.ts +14 -0
- package/components/rating/index.d.ts +5 -97
- package/components/rating/public-api.d.ts +3 -0
- package/components/rating/rating.component.d.ts +71 -0
- package/components/rating/rating.component.module.d.ts +10 -0
- package/components/scale/index.d.ts +5 -65
- package/components/scale/public-api.d.ts +3 -0
- package/components/scale/scale.component.d.ts +54 -0
- package/components/scale/scale.component.module.d.ts +8 -0
- package/components/scale-table/index.d.ts +5 -49
- package/components/scale-table/public-api.d.ts +3 -0
- package/components/scale-table/scale-table.component.d.ts +39 -0
- package/components/scale-table/scale-table.model.d.ts +5 -0
- package/components/segmented-bar/index.d.ts +5 -92
- package/components/segmented-bar/public-api.d.ts +4 -0
- package/components/segmented-bar/segmented-bar.component.d.ts +64 -0
- package/components/segmented-bar/segmented-bar.component.module.d.ts +12 -0
- package/components/segmented-bar/segmented-bar.model.d.ts +12 -0
- package/components/segmented-button/index.d.ts +5 -77
- package/components/segmented-button/public-api.d.ts +4 -0
- package/components/segmented-button/segmented-button.component.d.ts +55 -0
- package/components/segmented-button/segmented-button.component.module.d.ts +11 -0
- package/components/segmented-button/segmented-button.model.d.ts +8 -0
- package/components/selectable-card/index.d.ts +5 -50
- package/components/selectable-card/public-api.d.ts +2 -0
- package/components/selectable-card/selectable-card.component.d.ts +38 -0
- package/components/selectable-card/selectable-card.component.module.d.ts +10 -0
- package/components/side-panel/index.d.ts +3 -97
- package/components/side-panel/public-api.d.ts +5 -0
- package/components/side-panel/side-panel-data-injection-token.d.ts +2 -0
- package/components/side-panel/side-panel.animations.d.ts +3 -0
- package/components/side-panel/side-panel.component.d.ts +22 -0
- package/components/side-panel/side-panel.model.d.ts +46 -0
- package/components/side-panel/side-panel.service.d.ts +22 -0
- package/components/side-sheet/index.d.ts +5 -81
- package/components/side-sheet/public-api.d.ts +4 -0
- package/components/side-sheet/side-sheet.component.d.ts +43 -0
- package/components/side-sheet/side-sheet.component.module.d.ts +14 -0
- package/components/side-sheet/side-sheet.model.d.ts +10 -0
- package/components/side-sheet/side-sheet.service.d.ts +14 -0
- package/components/skeleton/index.d.ts +5 -34
- package/components/skeleton/public-api.d.ts +3 -0
- package/components/skeleton/skeleton.component.d.ts +27 -0
- package/components/skeleton/skeleton.model.d.ts +2 -0
- package/components/slider/index.d.ts +5 -144
- package/components/slider/public-api.d.ts +4 -0
- package/components/slider/slider.component.d.ts +128 -0
- package/components/slider/slider.component.module.d.ts +7 -0
- package/components/slider/slider.model.d.ts +5 -0
- package/components/snackbar/index.d.ts +5 -162
- package/components/snackbar/public-api.d.ts +5 -0
- package/components/snackbar/snackbar.component.d.ts +126 -0
- package/components/snackbar/snackbar.component.module.d.ts +13 -0
- package/components/snackbar/snackbar.model.d.ts +7 -0
- package/components/snackbar/snackbar.service.d.ts +16 -0
- package/components/spider-chart/index.d.ts +5 -127
- package/components/spider-chart/public-api.d.ts +3 -0
- package/components/spider-chart/spider-chart.component.d.ts +90 -0
- package/components/spider-chart/spider-chart.model.d.ts +12 -0
- package/components/spider-chart/spider-chart.module.d.ts +12 -0
- package/components/spinner/index.d.ts +5 -74
- package/components/spinner/public-api.d.ts +4 -0
- package/components/spinner/spinner.component.d.ts +59 -0
- package/components/spinner/spinner.model.d.ts +1 -0
- package/components/spinner/spinner.module.d.ts +10 -0
- package/components/stepper/index.d.ts +3 -341
- package/components/stepper/public-api.d.ts +7 -0
- package/components/stepper/step-line-element.directive.d.ts +17 -0
- package/components/stepper/step.component.d.ts +184 -0
- package/components/stepper/step.component.module.d.ts +11 -0
- package/components/stepper/stepper.component.d.ts +102 -0
- package/components/stepper/stepper.component.module.d.ts +15 -0
- package/components/stepper/stepper.model.d.ts +23 -0
- package/components/table/index.d.ts +3 -251
- package/components/table/public-api.d.ts +6 -0
- package/components/table/sentence-case.pipe.d.ts +7 -0
- package/components/table/table.component.d.ts +117 -0
- package/components/table/table.component.module.d.ts +17 -0
- package/components/table/table.model.d.ts +104 -0
- package/components/table/table.utils.d.ts +6 -0
- package/components/tabs/index.d.ts +5 -145
- package/components/tabs/public-api.d.ts +5 -0
- package/components/tabs/tab.directive.d.ts +28 -0
- package/components/tabs/tabs.component.d.ts +79 -0
- package/components/tabs/tabs.component.module.d.ts +13 -0
- package/components/tabs/tabs.model.d.ts +26 -0
- package/components/tag/index.d.ts +5 -166
- package/components/tag/public-api.d.ts +4 -0
- package/components/tag/tag.component.d.ts +145 -0
- package/components/tag/tag.component.module.d.ts +14 -0
- package/components/tag/tag.model.d.ts +1 -0
- package/components/toggle/index.d.ts +5 -130
- package/components/toggle/public-api.d.ts +3 -0
- package/components/toggle/toggle.component.d.ts +113 -0
- package/components/toggle/toggle.component.module.d.ts +13 -0
- package/components/toggle/toggle.model.d.ts +1 -0
- package/components/tooltip/index.d.ts +5 -111
- package/components/tooltip/public-api.d.ts +5 -0
- package/components/tooltip/tooltip-template.directive.d.ts +27 -0
- package/components/tooltip/tooltip.component.d.ts +64 -0
- package/components/tooltip/tooltip.component.module.d.ts +11 -0
- package/components/tooltip/tooltip.model.d.ts +8 -0
- package/components/universal-skills/index.d.ts +5 -153
- package/components/universal-skills/public-api.d.ts +6 -0
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.d.ts +47 -0
- package/components/universal-skills/spider-charts/universal-skills-spider-charts.component.module.d.ts +14 -0
- package/components/universal-skills/universal-skills-report.component.d.ts +33 -0
- package/components/universal-skills/universal-skills-report.component.module.d.ts +12 -0
- package/components/universal-skills/universal-skills-report.model.d.ts +44 -0
- package/components/universal-skills/universal-skills.service.d.ts +13 -0
- package/components/validation-error/index.d.ts +5 -36
- package/components/validation-error/public-api.d.ts +3 -0
- package/components/validation-error/validation-error.component.d.ts +22 -0
- package/components/validation-error/validation-error.model.d.ts +1 -0
- package/components/validation-error/validation-error.module.d.ts +10 -0
- package/components/write-with-ai/index.d.ts +3 -131
- package/components/write-with-ai/llm.service.d.ts +22 -0
- package/components/write-with-ai/public-api.d.ts +4 -0
- package/components/write-with-ai/write-with-ai.component.d.ts +79 -0
- package/components/write-with-ai/write-with-ai.model.d.ts +24 -0
- package/components/write-with-ai/write-with-ai.module.d.ts +7 -0
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +24 -24
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +23 -22
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +9 -8
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +21 -21
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +31 -31
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +18 -18
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +26 -26
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +13 -12
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +10 -10
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +33 -33
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +9 -8
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +3 -3
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +34 -33
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +21 -19
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +16 -16
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +28 -28
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +14 -14
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +13 -13
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +17 -17
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +5 -5
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +15 -15
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +14 -32
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +7 -7
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +20 -20
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +27 -27
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +12 -12
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +9 -9
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +23 -23
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +11 -11
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +38 -38
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +8 -8
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/index.d.ts +5 -46
- package/mcp/catalog.json +1 -0
- package/mcp/server.mjs +21567 -0
- package/package.json +30 -29
- package/projects/tgo-canopy-ui/theme/_tooltip.scss +0 -2
- package/public-api.d.ts +81 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./confirm-dialog.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/button";
|
|
6
|
+
import * as i5 from "../dialog.component.module";
|
|
7
|
+
import * as i6 from "@testgorilla/tgo-ui/components/core";
|
|
8
|
+
export declare class ConfirmDialogComponentModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, [typeof i1.ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.DialogComponentModule, typeof i6.UiTranslatePipe], [typeof i1.ConfirmDialogComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Language } from '@testgorilla/tgo-ui/components/core';
|
|
2
|
+
import { ButtonColor, ButtonIconPosition } from '@testgorilla/tgo-ui/components/button';
|
|
3
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
4
|
+
export interface ConfirmDialogData {
|
|
5
|
+
message?: string;
|
|
6
|
+
confirmButtonText?: string;
|
|
7
|
+
cancelButtonText?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
language?: Language;
|
|
11
|
+
messageHtml?: string;
|
|
12
|
+
showCloseButton?: boolean;
|
|
13
|
+
showSecondaryButton?: boolean;
|
|
14
|
+
primaryButtonType?: ButtonColor;
|
|
15
|
+
primaryButtonIconPosition?: ButtonIconPosition;
|
|
16
|
+
secondaryButtonType?: ButtonColor;
|
|
17
|
+
primaryButtonIconName?: IconName;
|
|
18
|
+
primaryButtonDataTestId?: string;
|
|
19
|
+
secondaryButtonDataTestId?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Callback function executed when the primary/confirm button is clicked.
|
|
22
|
+
*
|
|
23
|
+
* This callback is executed immediately before the dialog closes, within the same
|
|
24
|
+
* user gesture context. This is crucial for operations that may trigger popup blockers
|
|
25
|
+
* in restrictive browsers, such as:
|
|
26
|
+
* - Opening new tabs/windows (window.open)
|
|
27
|
+
* - Triggering file downloads
|
|
28
|
+
* - Navigating to external URLs
|
|
29
|
+
* - Accessing clipboard operations
|
|
30
|
+
*
|
|
31
|
+
* **Important**: Use this instead of subscribing to `afterClosed()` for popup-sensitive
|
|
32
|
+
* operations, as `afterClosed()` executes outside the user gesture context and will
|
|
33
|
+
* be blocked by popup blockers in most modern browsers.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```typescript
|
|
37
|
+
* // ✅ Good - executes within user gesture, won't be blocked
|
|
38
|
+
* onConfirm: () => window.open('https://example.com', '_blank')
|
|
39
|
+
*
|
|
40
|
+
* // ❌ Bad - executes outside user gesture, could be blocked
|
|
41
|
+
* dialogRef.afterClosed().subscribe(result => {
|
|
42
|
+
* if (result) window.open('https://example.com', '_blank');
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
onConfirm?: () => void;
|
|
47
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DialogCustomComponent implements OnInit {
|
|
5
|
+
private readonly defaultAppTheme;
|
|
6
|
+
protected data: any;
|
|
7
|
+
canClose: () => boolean;
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* Defines the application theme
|
|
11
|
+
*
|
|
12
|
+
* @type {ApplicationTheme}
|
|
13
|
+
* @memberof DialogComponent
|
|
14
|
+
*/
|
|
15
|
+
applicationTheme: ApplicationTheme;
|
|
16
|
+
constructor(defaultAppTheme: ApplicationTheme, data: any);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
canCloseFalse(): boolean;
|
|
19
|
+
canCloseTrue(): boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponent, [{ optional: true; }, null]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogCustomComponent, "ui-dialog-custom", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog-custom.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../dialog.component.module";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/button";
|
|
6
|
+
export declare class DialogCustomComponentModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponentModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogCustomComponentModule, [typeof i1.DialogCustomComponent], [typeof i2.CommonModule, typeof i3.DialogComponentModule, typeof i4.ButtonComponentModule], [typeof i1.DialogCustomComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogCustomComponentModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import { ButtonComponent } from '@testgorilla/tgo-ui/components/button';
|
|
5
|
+
import { ButtonColor, ButtonIconPosition } from '@testgorilla/tgo-ui/components/button';
|
|
6
|
+
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
|
|
9
|
+
private readonly defaultAppTheme;
|
|
10
|
+
dialogRef: MatDialogRef<DialogComponent>;
|
|
11
|
+
private data;
|
|
12
|
+
/**
|
|
13
|
+
* Dialog title
|
|
14
|
+
*
|
|
15
|
+
* @memberof DialogComponent
|
|
16
|
+
*/
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Show close button
|
|
20
|
+
*
|
|
21
|
+
* @memberof DialogComponent
|
|
22
|
+
*/
|
|
23
|
+
showCloseButton: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Fuction called before dialgo is closed
|
|
26
|
+
*
|
|
27
|
+
* @memberof DialogComponent
|
|
28
|
+
*/
|
|
29
|
+
canCloseFn: () => boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Secondary button label
|
|
32
|
+
*
|
|
33
|
+
* @memberof DialogComponent
|
|
34
|
+
*/
|
|
35
|
+
secondaryButtonLabel?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Footer dialog message
|
|
38
|
+
*
|
|
39
|
+
* @memberof DialogComponent
|
|
40
|
+
*/
|
|
41
|
+
footerMessage?: string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Primary button label
|
|
44
|
+
*
|
|
45
|
+
* @memberof DialogComponent
|
|
46
|
+
*/
|
|
47
|
+
primaryButtonLabel?: string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Primary button icon name
|
|
50
|
+
*
|
|
51
|
+
* @memberof DialogComponent
|
|
52
|
+
*/
|
|
53
|
+
primaryButtonIconName?: IconName | '';
|
|
54
|
+
/**
|
|
55
|
+
* Secondary button type
|
|
56
|
+
*
|
|
57
|
+
* @memberof DialogComponent
|
|
58
|
+
*/
|
|
59
|
+
secondaryButtonType: ButtonColor;
|
|
60
|
+
/**
|
|
61
|
+
* Primary button type
|
|
62
|
+
*
|
|
63
|
+
* @memberof DialogComponent
|
|
64
|
+
*/
|
|
65
|
+
primaryButtonType: ButtonColor;
|
|
66
|
+
/**
|
|
67
|
+
* Primary button test id
|
|
68
|
+
*
|
|
69
|
+
* @memberof DialogComponent
|
|
70
|
+
*/
|
|
71
|
+
primaryButtonDataTestId: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Secondary button test id
|
|
74
|
+
*
|
|
75
|
+
* @memberof DialogComponent
|
|
76
|
+
*/
|
|
77
|
+
secondaryButtonDataTestId: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* Color of the dialog.
|
|
80
|
+
* Defaults to Test Gorilla primary color.
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof DialogComponent
|
|
84
|
+
*/
|
|
85
|
+
companyColor: string | null;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* Defines the application theme
|
|
89
|
+
*
|
|
90
|
+
* @type {ApplicationTheme}
|
|
91
|
+
* @memberof DialogComponent
|
|
92
|
+
*/
|
|
93
|
+
applicationTheme: ApplicationTheme;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* Disable primary button
|
|
97
|
+
*
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof DialogComponent
|
|
100
|
+
*/
|
|
101
|
+
disablePrimaryButton: boolean;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* Disable close button
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof DialogComponent
|
|
108
|
+
*/
|
|
109
|
+
disableClose: boolean;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* Disable button when canCloseFn is used
|
|
113
|
+
*
|
|
114
|
+
* @type {boolean}
|
|
115
|
+
* @memberof DialogComponent
|
|
116
|
+
*/
|
|
117
|
+
shouldDisableButtons: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* A string representing the ARIA requirement for accessibility.
|
|
120
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof DialogComponent
|
|
123
|
+
*/
|
|
124
|
+
ariaLabelledby: string;
|
|
125
|
+
/**
|
|
126
|
+
* A string representing the ARIA requirement for accessibility.
|
|
127
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof DialogComponent
|
|
130
|
+
*/
|
|
131
|
+
ariaDescribedby: string;
|
|
132
|
+
/**
|
|
133
|
+
* Defines how modal was opened (with keyboard or not)
|
|
134
|
+
*
|
|
135
|
+
* @type {boolean}
|
|
136
|
+
* @memberof DialogComponent
|
|
137
|
+
*/
|
|
138
|
+
keyboardOpen: boolean;
|
|
139
|
+
primaryButtonIconPosition: import("@angular/core").InputSignal<ButtonIconPosition>;
|
|
140
|
+
closeEvent: EventEmitter<Event>;
|
|
141
|
+
secondaryButtonClickEvent: EventEmitter<Event>;
|
|
142
|
+
primaryButtonClickEvent: EventEmitter<Event>;
|
|
143
|
+
closeButton: ButtonComponent;
|
|
144
|
+
modalClosed: boolean;
|
|
145
|
+
onEsc(): void;
|
|
146
|
+
constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<DialogComponent>, data: {
|
|
147
|
+
applicationTheme: ApplicationTheme;
|
|
148
|
+
});
|
|
149
|
+
disableButtons: boolean;
|
|
150
|
+
protected readonly translationContext = "DIALOG.";
|
|
151
|
+
customHeader?: any;
|
|
152
|
+
get hasCustomHeader(): boolean;
|
|
153
|
+
ngOnInit(): void;
|
|
154
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
155
|
+
ngAfterViewInit(): void;
|
|
156
|
+
areButtonsDisabled(): void;
|
|
157
|
+
dismiss(): void;
|
|
158
|
+
onClose(event: Event): void;
|
|
159
|
+
onSecondaryButtonClick(event: Event): void;
|
|
160
|
+
onPrimaryButtonClick(event: Event): void;
|
|
161
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
|
|
162
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "footerMessage": { "alias": "footerMessage"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; "isSignal": true; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, ["customHeader"], ["[dialogHeader]", "*"], false, never>;
|
|
163
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dialog.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "@testgorilla/tgo-ui/components/button";
|
|
6
|
+
import * as i5 from "@testgorilla/tgo-ui/components/core";
|
|
7
|
+
export declare class DialogComponentModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof i1.DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof i1.DialogComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DialogSize } from './dialog.service';
|
|
2
|
+
import { MatDialogConfig } from '@angular/material/dialog';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
export interface DialogConfig<T = any> {
|
|
5
|
+
applicationTheme?: ApplicationTheme;
|
|
6
|
+
size?: DialogSize;
|
|
7
|
+
panelClass?: string;
|
|
8
|
+
extraData?: T;
|
|
9
|
+
backdropClass?: string;
|
|
10
|
+
keyboardOpen?: boolean;
|
|
11
|
+
config?: MatDialogConfig;
|
|
12
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
4
|
+
import { DialogConfig } from './dialog.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export type DialogSize = 'small' | 'large' | 'x-large';
|
|
7
|
+
export declare class DialogService {
|
|
8
|
+
private matDialog;
|
|
9
|
+
private readonly defaultAppTheme;
|
|
10
|
+
constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme);
|
|
11
|
+
open<K = any, R = any, T = any>(dialogComponent: ComponentType<T>, dialogConfig?: DialogConfig<K>): MatDialogRef<T, R>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, { optional: true; }]>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
14
|
+
}
|
|
@@ -1,308 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { ApplicationTheme, Language } from '@testgorilla/tgo-ui/components/core';
|
|
7
|
-
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
8
|
-
import * as i4 from '@testgorilla/tgo-ui/components/button';
|
|
9
|
-
import { ButtonColor, ButtonIconPosition, ButtonComponent } from '@testgorilla/tgo-ui/components/button';
|
|
10
|
-
import { IconName } from '@testgorilla/tgo-ui/components/icon';
|
|
11
|
-
import * as i2 from '@angular/common';
|
|
12
|
-
import { ComponentType } from '@angular/cdk/portal';
|
|
13
|
-
|
|
14
|
-
declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
|
|
15
|
-
private readonly defaultAppTheme;
|
|
16
|
-
dialogRef: MatDialogRef<DialogComponent>;
|
|
17
|
-
private data;
|
|
18
|
-
/**
|
|
19
|
-
* Dialog title
|
|
20
|
-
*
|
|
21
|
-
* @memberof DialogComponent
|
|
22
|
-
*/
|
|
23
|
-
title?: string | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Show close button
|
|
26
|
-
*
|
|
27
|
-
* @memberof DialogComponent
|
|
28
|
-
*/
|
|
29
|
-
showCloseButton: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Fuction called before dialgo is closed
|
|
32
|
-
*
|
|
33
|
-
* @memberof DialogComponent
|
|
34
|
-
*/
|
|
35
|
-
canCloseFn: () => boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Secondary button label
|
|
38
|
-
*
|
|
39
|
-
* @memberof DialogComponent
|
|
40
|
-
*/
|
|
41
|
-
secondaryButtonLabel?: string | undefined;
|
|
42
|
-
/**
|
|
43
|
-
* Footer dialog message
|
|
44
|
-
*
|
|
45
|
-
* @memberof DialogComponent
|
|
46
|
-
*/
|
|
47
|
-
footerMessage?: string | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* Primary button label
|
|
50
|
-
*
|
|
51
|
-
* @memberof DialogComponent
|
|
52
|
-
*/
|
|
53
|
-
primaryButtonLabel?: string | undefined;
|
|
54
|
-
/**
|
|
55
|
-
* Primary button icon name
|
|
56
|
-
*
|
|
57
|
-
* @memberof DialogComponent
|
|
58
|
-
*/
|
|
59
|
-
primaryButtonIconName?: IconName | '';
|
|
60
|
-
/**
|
|
61
|
-
* Secondary button type
|
|
62
|
-
*
|
|
63
|
-
* @memberof DialogComponent
|
|
64
|
-
*/
|
|
65
|
-
secondaryButtonType: ButtonColor;
|
|
66
|
-
/**
|
|
67
|
-
* Primary button type
|
|
68
|
-
*
|
|
69
|
-
* @memberof DialogComponent
|
|
70
|
-
*/
|
|
71
|
-
primaryButtonType: ButtonColor;
|
|
72
|
-
/**
|
|
73
|
-
* Primary button test id
|
|
74
|
-
*
|
|
75
|
-
* @memberof DialogComponent
|
|
76
|
-
*/
|
|
77
|
-
primaryButtonDataTestId: string | null;
|
|
78
|
-
/**
|
|
79
|
-
* Secondary button test id
|
|
80
|
-
*
|
|
81
|
-
* @memberof DialogComponent
|
|
82
|
-
*/
|
|
83
|
-
secondaryButtonDataTestId: string | null;
|
|
84
|
-
/**
|
|
85
|
-
* Color of the dialog.
|
|
86
|
-
* Defaults to Test Gorilla primary color.
|
|
87
|
-
*
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof DialogComponent
|
|
90
|
-
*/
|
|
91
|
-
companyColor: string | null;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* Defines the application theme
|
|
95
|
-
*
|
|
96
|
-
* @type {ApplicationTheme}
|
|
97
|
-
* @memberof DialogComponent
|
|
98
|
-
*/
|
|
99
|
-
applicationTheme: ApplicationTheme;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* Disable primary button
|
|
103
|
-
*
|
|
104
|
-
* @type {boolean}
|
|
105
|
-
* @memberof DialogComponent
|
|
106
|
-
*/
|
|
107
|
-
disablePrimaryButton: boolean;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* Disable close button
|
|
111
|
-
*
|
|
112
|
-
* @type {boolean}
|
|
113
|
-
* @memberof DialogComponent
|
|
114
|
-
*/
|
|
115
|
-
disableClose: boolean;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* Disable button when canCloseFn is used
|
|
119
|
-
*
|
|
120
|
-
* @type {boolean}
|
|
121
|
-
* @memberof DialogComponent
|
|
122
|
-
*/
|
|
123
|
-
shouldDisableButtons: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* A string representing the ARIA requirement for accessibility.
|
|
126
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
127
|
-
* @type {string}
|
|
128
|
-
* @memberof DialogComponent
|
|
129
|
-
*/
|
|
130
|
-
ariaLabelledby: string;
|
|
131
|
-
/**
|
|
132
|
-
* A string representing the ARIA requirement for accessibility.
|
|
133
|
-
* This attribute is used to indicate whether an input field is required for form submission.
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof DialogComponent
|
|
136
|
-
*/
|
|
137
|
-
ariaDescribedby: string;
|
|
138
|
-
/**
|
|
139
|
-
* Defines how modal was opened (with keyboard or not)
|
|
140
|
-
*
|
|
141
|
-
* @type {boolean}
|
|
142
|
-
* @memberof DialogComponent
|
|
143
|
-
*/
|
|
144
|
-
keyboardOpen: boolean;
|
|
145
|
-
primaryButtonIconPosition: i0.InputSignal<ButtonIconPosition>;
|
|
146
|
-
closeEvent: EventEmitter<Event>;
|
|
147
|
-
secondaryButtonClickEvent: EventEmitter<Event>;
|
|
148
|
-
primaryButtonClickEvent: EventEmitter<Event>;
|
|
149
|
-
closeButton: ButtonComponent;
|
|
150
|
-
modalClosed: boolean;
|
|
151
|
-
onEsc(): void;
|
|
152
|
-
constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<DialogComponent>, data: {
|
|
153
|
-
applicationTheme: ApplicationTheme;
|
|
154
|
-
});
|
|
155
|
-
disableButtons: boolean;
|
|
156
|
-
protected readonly translationContext = "DIALOG.";
|
|
157
|
-
customHeader?: any;
|
|
158
|
-
get hasCustomHeader(): boolean;
|
|
159
|
-
ngOnInit(): void;
|
|
160
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
161
|
-
ngAfterViewInit(): void;
|
|
162
|
-
areButtonsDisabled(): void;
|
|
163
|
-
dismiss(): void;
|
|
164
|
-
onClose(event: Event): void;
|
|
165
|
-
onSecondaryButtonClick(event: Event): void;
|
|
166
|
-
onPrimaryButtonClick(event: Event): void;
|
|
167
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{ optional: true; }, null, null]>;
|
|
168
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, { "title": { "alias": "title"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "canCloseFn": { "alias": "canCloseFn"; "required": false; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; }; "footerMessage": { "alias": "footerMessage"; "required": false; }; "primaryButtonLabel": { "alias": "primaryButtonLabel"; "required": false; }; "primaryButtonIconName": { "alias": "primaryButtonIconName"; "required": false; }; "secondaryButtonType": { "alias": "secondaryButtonType"; "required": false; }; "primaryButtonType": { "alias": "primaryButtonType"; "required": false; }; "primaryButtonDataTestId": { "alias": "primaryButtonDataTestId"; "required": false; }; "secondaryButtonDataTestId": { "alias": "secondaryButtonDataTestId"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "disablePrimaryButton": { "alias": "disablePrimaryButton"; "required": false; }; "disableClose": { "alias": "disableClose"; "required": false; }; "shouldDisableButtons": { "alias": "shouldDisableButtons"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaDescribedby": { "alias": "ariaDescribedby"; "required": false; }; "keyboardOpen": { "alias": "keyboardOpen"; "required": false; }; "primaryButtonIconPosition": { "alias": "primaryButtonIconPosition"; "required": false; "isSignal": true; }; }, { "closeEvent": "closeEvent"; "secondaryButtonClickEvent": "secondaryButtonClickEvent"; "primaryButtonClickEvent": "primaryButtonClickEvent"; }, ["customHeader"], ["[dialogHeader]", "*"], false, never>;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
declare class DialogComponentModule {
|
|
172
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
|
|
173
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, [typeof DialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof i5.UiTranslatePipe], [typeof DialogComponent]>;
|
|
174
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
type DialogSize = 'small' | 'large' | 'x-large';
|
|
178
|
-
declare class DialogService {
|
|
179
|
-
private matDialog;
|
|
180
|
-
private readonly defaultAppTheme;
|
|
181
|
-
constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme);
|
|
182
|
-
open<K = any, R = any, T = any>(dialogComponent: ComponentType<T>, dialogConfig?: DialogConfig<K>): MatDialogRef<T, R>;
|
|
183
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, { optional: true; }]>;
|
|
184
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
interface DialogConfig<T = any> {
|
|
188
|
-
applicationTheme?: ApplicationTheme;
|
|
189
|
-
size?: DialogSize;
|
|
190
|
-
panelClass?: string;
|
|
191
|
-
extraData?: T;
|
|
192
|
-
backdropClass?: string;
|
|
193
|
-
keyboardOpen?: boolean;
|
|
194
|
-
config?: MatDialogConfig;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
interface ConfirmDialogData {
|
|
198
|
-
message?: string;
|
|
199
|
-
confirmButtonText?: string;
|
|
200
|
-
cancelButtonText?: string;
|
|
201
|
-
title?: string;
|
|
202
|
-
color?: string;
|
|
203
|
-
language?: Language;
|
|
204
|
-
messageHtml?: string;
|
|
205
|
-
showCloseButton?: boolean;
|
|
206
|
-
showSecondaryButton?: boolean;
|
|
207
|
-
primaryButtonType?: ButtonColor;
|
|
208
|
-
primaryButtonIconPosition?: ButtonIconPosition;
|
|
209
|
-
secondaryButtonType?: ButtonColor;
|
|
210
|
-
primaryButtonIconName?: IconName;
|
|
211
|
-
primaryButtonDataTestId?: string;
|
|
212
|
-
secondaryButtonDataTestId?: string;
|
|
213
|
-
/**
|
|
214
|
-
* Callback function executed when the primary/confirm button is clicked.
|
|
215
|
-
*
|
|
216
|
-
* This callback is executed immediately before the dialog closes, within the same
|
|
217
|
-
* user gesture context. This is crucial for operations that may trigger popup blockers
|
|
218
|
-
* in restrictive browsers, such as:
|
|
219
|
-
* - Opening new tabs/windows (window.open)
|
|
220
|
-
* - Triggering file downloads
|
|
221
|
-
* - Navigating to external URLs
|
|
222
|
-
* - Accessing clipboard operations
|
|
223
|
-
*
|
|
224
|
-
* **Important**: Use this instead of subscribing to `afterClosed()` for popup-sensitive
|
|
225
|
-
* operations, as `afterClosed()` executes outside the user gesture context and will
|
|
226
|
-
* be blocked by popup blockers in most modern browsers.
|
|
227
|
-
*
|
|
228
|
-
* @example
|
|
229
|
-
* ```typescript
|
|
230
|
-
* // ✅ Good - executes within user gesture, won't be blocked
|
|
231
|
-
* onConfirm: () => window.open('https://example.com', '_blank')
|
|
232
|
-
*
|
|
233
|
-
* // ❌ Bad - executes outside user gesture, could be blocked
|
|
234
|
-
* dialogRef.afterClosed().subscribe(result => {
|
|
235
|
-
* if (result) window.open('https://example.com', '_blank');
|
|
236
|
-
* });
|
|
237
|
-
* ```
|
|
238
|
-
*/
|
|
239
|
-
onConfirm?: () => void;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
declare class ConfirmDialogComponent {
|
|
243
|
-
private readonly defaultAppTheme;
|
|
244
|
-
dialogRef: MatDialogRef<ConfirmDialogComponent>;
|
|
245
|
-
private data;
|
|
246
|
-
confirmMessage: string | undefined;
|
|
247
|
-
confirmButtonText: string | undefined;
|
|
248
|
-
cancelButtonText: string | undefined;
|
|
249
|
-
title: string | undefined;
|
|
250
|
-
lang: i5.Language;
|
|
251
|
-
confirmMessageHtml: string | undefined;
|
|
252
|
-
showCloseButton: boolean;
|
|
253
|
-
showSecondaryButton: boolean;
|
|
254
|
-
color: string | null;
|
|
255
|
-
primaryButtonType: ButtonColor;
|
|
256
|
-
secondaryButtonType: ButtonColor;
|
|
257
|
-
primaryButtonIconName: IconName | undefined;
|
|
258
|
-
primaryButtonDataTestId: string;
|
|
259
|
-
secondaryButtonDataTestId: string;
|
|
260
|
-
primaryButtonIconPosition: ButtonIconPosition;
|
|
261
|
-
/**
|
|
262
|
-
*
|
|
263
|
-
* Defines the application theme
|
|
264
|
-
*
|
|
265
|
-
* @type {ApplicationTheme}
|
|
266
|
-
* @memberof DialogComponent
|
|
267
|
-
*/
|
|
268
|
-
applicationTheme: ApplicationTheme;
|
|
269
|
-
constructor(defaultAppTheme: ApplicationTheme, dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData);
|
|
270
|
-
onConfirm(): void;
|
|
271
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, [{ optional: true; }, null, null]>;
|
|
272
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
declare class ConfirmDialogComponentModule {
|
|
276
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
|
|
277
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, [typeof ConfirmDialogComponent], [typeof i2.CommonModule, typeof i3.MatDialogModule, typeof i4.ButtonComponentModule, typeof DialogComponentModule, typeof i5.UiTranslatePipe], [typeof ConfirmDialogComponent]>;
|
|
278
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
declare class DialogCustomComponent implements OnInit {
|
|
282
|
-
private readonly defaultAppTheme;
|
|
283
|
-
protected data: any;
|
|
284
|
-
canClose: () => boolean;
|
|
285
|
-
/**
|
|
286
|
-
*
|
|
287
|
-
* Defines the application theme
|
|
288
|
-
*
|
|
289
|
-
* @type {ApplicationTheme}
|
|
290
|
-
* @memberof DialogComponent
|
|
291
|
-
*/
|
|
292
|
-
applicationTheme: ApplicationTheme;
|
|
293
|
-
constructor(defaultAppTheme: ApplicationTheme, data: any);
|
|
294
|
-
ngOnInit(): void;
|
|
295
|
-
canCloseFalse(): boolean;
|
|
296
|
-
canCloseTrue(): boolean;
|
|
297
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponent, [{ optional: true; }, null]>;
|
|
298
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DialogCustomComponent, "ui-dialog-custom", never, { "applicationTheme": { "alias": "applicationTheme"; "required": false; }; }, {}, never, never, false, never>;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
declare class DialogCustomComponentModule {
|
|
302
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponentModule, never>;
|
|
303
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogCustomComponentModule, [typeof DialogCustomComponent], [typeof i2.CommonModule, typeof DialogComponentModule, typeof i4.ButtonComponentModule], [typeof DialogCustomComponent]>;
|
|
304
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DialogCustomComponentModule>;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
export { ConfirmDialogComponent, ConfirmDialogComponentModule, DialogComponent, DialogComponentModule, DialogCustomComponent, DialogCustomComponentModule, DialogService };
|
|
308
|
-
export type { ConfirmDialogData, DialogConfig, DialogSize };
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@testgorilla/tgo-ui/components/dialog" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './dialog.component';
|
|
2
|
+
export * from './dialog.component.module';
|
|
3
|
+
export * from './dialog.model';
|
|
4
|
+
export * from './dialog.service';
|
|
5
|
+
export * from './confirm-dialog/confirm-dialog.component';
|
|
6
|
+
export * from './confirm-dialog/confirm-dialog.component.module';
|
|
7
|
+
export * from './confirm-dialog/confirm-dialog.model';
|
|
8
|
+
export * from './dialog-custom/dialog-custom.component';
|
|
9
|
+
export * from './dialog-custom/dialog-custom.component.module';
|
|
10
|
+
export { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { DividerSize } from './divider.model';
|
|
2
|
+
import { ApplicationTheme } from '@testgorilla/tgo-ui/components/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DividerComponent {
|
|
5
|
+
private readonly defaultAppTheme;
|
|
6
|
+
/**
|
|
7
|
+
* Divider size
|
|
8
|
+
*
|
|
9
|
+
* @type {DividerSize}
|
|
10
|
+
* @memberof DividerComponent
|
|
11
|
+
*/
|
|
12
|
+
size: DividerSize;
|
|
13
|
+
/**
|
|
14
|
+
* Determines whether the checkbox color.
|
|
15
|
+
* Default: Test Gorilla primary color.
|
|
16
|
+
*
|
|
17
|
+
* @type {string}
|
|
18
|
+
* @memberof DividerComponent
|
|
19
|
+
*/
|
|
20
|
+
companyColor: string | null;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* Defines the application theme
|
|
24
|
+
*
|
|
25
|
+
* @type {ApplicationTheme}
|
|
26
|
+
* @memberof DividerComponent
|
|
27
|
+
*/
|
|
28
|
+
applicationTheme: ApplicationTheme;
|
|
29
|
+
/**
|
|
30
|
+
* Text content in the center of the divider
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DividerComponent
|
|
34
|
+
*/
|
|
35
|
+
label: string;
|
|
36
|
+
constructor(defaultAppTheme: ApplicationTheme);
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DividerComponent, [{ optional: true; }]>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DividerComponent, "ui-divider", never, { "size": { "alias": "size"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
|
+
}
|