@testgorilla/tgo-ui 11.22.2 → 12.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/fesm2022/testgorilla-tgo-ui-components-accordion.mjs +335 -229
- package/fesm2022/testgorilla-tgo-ui-components-accordion.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs +547 -465
- package/fesm2022/testgorilla-tgo-ui-components-ai-audio-circle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs +160 -75
- package/fesm2022/testgorilla-tgo-ui-components-ai-caveat.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs +678 -278
- package/fesm2022/testgorilla-tgo-ui-components-ai-feedback.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs +337 -274
- package/fesm2022/testgorilla-tgo-ui-components-alert-banner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs +351 -192
- package/fesm2022/testgorilla-tgo-ui-components-audio-waveform.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs +1950 -960
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete-v2.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs +1206 -1044
- package/fesm2022/testgorilla-tgo-ui-components-autocomplete.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs +328 -182
- package/fesm2022/testgorilla-tgo-ui-components-avatar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs +383 -203
- package/fesm2022/testgorilla-tgo-ui-components-badge.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs +553 -261
- package/fesm2022/testgorilla-tgo-ui-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs +709 -739
- package/fesm2022/testgorilla-tgo-ui-components-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs +219 -184
- package/fesm2022/testgorilla-tgo-ui-components-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs +515 -458
- package/fesm2022/testgorilla-tgo-ui-components-checkbox.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs +423 -162
- package/fesm2022/testgorilla-tgo-ui-components-checklist.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs +10784 -10996
- package/fesm2022/testgorilla-tgo-ui-components-core.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs +810 -533
- package/fesm2022/testgorilla-tgo-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs +473 -116
- package/fesm2022/testgorilla-tgo-ui-components-device-control.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs +1149 -540
- package/fesm2022/testgorilla-tgo-ui-components-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs +148 -84
- package/fesm2022/testgorilla-tgo-ui-components-divider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs +239 -142
- package/fesm2022/testgorilla-tgo-ui-components-donut-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs +599 -467
- package/fesm2022/testgorilla-tgo-ui-components-dropdown.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs +126 -70
- package/fesm2022/testgorilla-tgo-ui-components-elevation-shadow.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs +324 -329
- package/fesm2022/testgorilla-tgo-ui-components-empty-state.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs +969 -648
- package/fesm2022/testgorilla-tgo-ui-components-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs +553 -419
- package/fesm2022/testgorilla-tgo-ui-components-file-upload.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs +847 -452
- package/fesm2022/testgorilla-tgo-ui-components-filter-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs +398 -302
- package/fesm2022/testgorilla-tgo-ui-components-gaussian-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs +162 -95
- package/fesm2022/testgorilla-tgo-ui-components-icon-label.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs +1825 -1789
- package/fesm2022/testgorilla-tgo-ui-components-icon.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs +1018 -672
- package/fesm2022/testgorilla-tgo-ui-components-infinite-scroll-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs +758 -368
- package/fesm2022/testgorilla-tgo-ui-components-inline-field.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs +204 -212
- package/fesm2022/testgorilla-tgo-ui-components-logo.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs +183 -48
- package/fesm2022/testgorilla-tgo-ui-components-media-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs +243 -79
- package/fesm2022/testgorilla-tgo-ui-components-media-dialog.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs +751 -361
- package/fesm2022/testgorilla-tgo-ui-components-multi-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs +1122 -385
- package/fesm2022/testgorilla-tgo-ui-components-navbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs +689 -413
- package/fesm2022/testgorilla-tgo-ui-components-overflow-menu.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs +227 -92
- package/fesm2022/testgorilla-tgo-ui-components-page-header.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs +174 -113
- package/fesm2022/testgorilla-tgo-ui-components-paginator.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs +367 -165
- package/fesm2022/testgorilla-tgo-ui-components-password-criteria.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs +253 -118
- package/fesm2022/testgorilla-tgo-ui-components-password-strength.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs +730 -444
- package/fesm2022/testgorilla-tgo-ui-components-phone-input.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs +533 -221
- package/fesm2022/testgorilla-tgo-ui-components-popover.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs +274 -76
- package/fesm2022/testgorilla-tgo-ui-components-popup-tip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs +184 -124
- package/fesm2022/testgorilla-tgo-ui-components-progress-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs +1223 -574
- package/fesm2022/testgorilla-tgo-ui-components-prompt.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs +249 -160
- package/fesm2022/testgorilla-tgo-ui-components-radial-progress.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs +447 -439
- package/fesm2022/testgorilla-tgo-ui-components-radio-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs +226 -150
- package/fesm2022/testgorilla-tgo-ui-components-rating.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs +255 -67
- package/fesm2022/testgorilla-tgo-ui-components-scale-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs +205 -162
- package/fesm2022/testgorilla-tgo-ui-components-scale.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs +245 -153
- package/fesm2022/testgorilla-tgo-ui-components-segmented-bar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs +274 -140
- package/fesm2022/testgorilla-tgo-ui-components-segmented-button.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs +319 -147
- package/fesm2022/testgorilla-tgo-ui-components-segmented-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs +286 -84
- package/fesm2022/testgorilla-tgo-ui-components-selectable-card.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs +660 -208
- package/fesm2022/testgorilla-tgo-ui-components-side-navigation.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs +579 -320
- package/fesm2022/testgorilla-tgo-ui-components-side-panel.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs +419 -200
- package/fesm2022/testgorilla-tgo-ui-components-side-sheet.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs +132 -80
- package/fesm2022/testgorilla-tgo-ui-components-skeleton.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs +741 -390
- package/fesm2022/testgorilla-tgo-ui-components-slider.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs +455 -329
- package/fesm2022/testgorilla-tgo-ui-components-snackbar.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs +543 -514
- package/fesm2022/testgorilla-tgo-ui-components-spider-chart.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs +193 -104
- package/fesm2022/testgorilla-tgo-ui-components-spinner.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs +760 -524
- package/fesm2022/testgorilla-tgo-ui-components-stepper.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs +714 -415
- package/fesm2022/testgorilla-tgo-ui-components-table.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs +847 -438
- package/fesm2022/testgorilla-tgo-ui-components-tabs.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs +535 -275
- package/fesm2022/testgorilla-tgo-ui-components-tag.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs +316 -246
- package/fesm2022/testgorilla-tgo-ui-components-toggle.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs +404 -284
- package/fesm2022/testgorilla-tgo-ui-components-tooltip.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs +664 -383
- package/fesm2022/testgorilla-tgo-ui-components-universal-skills.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs +201 -112
- package/fesm2022/testgorilla-tgo-ui-components-validation-error.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs +1014 -458
- package/fesm2022/testgorilla-tgo-ui-components-write-with-ai.mjs.map +1 -1
- package/fesm2022/testgorilla-tgo-ui.mjs +147 -155
- package/fesm2022/testgorilla-tgo-ui.mjs.map +1 -1
- package/mcp/catalog.json +1 -1
- package/package.json +16 -17
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-filled.svg +3 -0
- package/projects/tgo-canopy-ui/assets/icons/rebrand/Sequences-in-line.svg +3 -0
- package/projects/tgo-canopy-ui/theme/_palette.scss +23 -18
- package/types/testgorilla-tgo-ui-components-accordion.d.ts +214 -158
- package/types/testgorilla-tgo-ui-components-ai-audio-circle.d.ts +93 -69
- package/types/testgorilla-tgo-ui-components-ai-caveat.d.ts +37 -34
- package/types/testgorilla-tgo-ui-components-ai-feedback.d.ts +126 -86
- package/types/testgorilla-tgo-ui-components-alert-banner.d.ts +260 -185
- package/types/testgorilla-tgo-ui-components-audio-waveform.d.ts +96 -67
- package/types/testgorilla-tgo-ui-components-autocomplete-v2.d.ts +455 -256
- package/types/testgorilla-tgo-ui-components-autocomplete.d.ts +545 -390
- package/types/testgorilla-tgo-ui-components-avatar.d.ts +128 -102
- package/types/testgorilla-tgo-ui-components-badge.d.ts +191 -139
- package/types/testgorilla-tgo-ui-components-breadcrumb.d.ts +100 -62
- package/types/testgorilla-tgo-ui-components-button.d.ts +479 -340
- package/types/testgorilla-tgo-ui-components-card.d.ts +153 -114
- package/types/testgorilla-tgo-ui-components-checkbox.d.ts +299 -223
- package/types/testgorilla-tgo-ui-components-checklist.d.ts +149 -97
- package/types/testgorilla-tgo-ui-components-core.d.ts +307 -295
- package/types/testgorilla-tgo-ui-components-datepicker.d.ts +404 -299
- package/types/testgorilla-tgo-ui-components-device-control.d.ts +151 -81
- package/types/testgorilla-tgo-ui-components-dialog.d.ts +442 -329
- package/types/testgorilla-tgo-ui-components-divider.d.ts +64 -51
- package/types/testgorilla-tgo-ui-components-donut-chart.d.ts +41 -37
- package/types/testgorilla-tgo-ui-components-dropdown.d.ts +335 -241
- package/types/testgorilla-tgo-ui-components-elevation-shadow.d.ts +48 -43
- package/types/testgorilla-tgo-ui-components-empty-state.d.ts +317 -215
- package/types/testgorilla-tgo-ui-components-field.d.ts +559 -388
- package/types/testgorilla-tgo-ui-components-file-upload.d.ts +230 -168
- package/types/testgorilla-tgo-ui-components-filter-button.d.ts +263 -206
- package/types/testgorilla-tgo-ui-components-gaussian-chart.d.ts +107 -94
- package/types/testgorilla-tgo-ui-components-icon-label.d.ts +84 -61
- package/types/testgorilla-tgo-ui-components-icon.d.ts +137 -110
- package/types/testgorilla-tgo-ui-components-infinite-scroll-table.d.ts +429 -303
- package/types/testgorilla-tgo-ui-components-inline-field.d.ts +338 -254
- package/types/testgorilla-tgo-ui-components-logo.d.ts +119 -101
- package/types/testgorilla-tgo-ui-components-media-card.d.ts +51 -35
- package/types/testgorilla-tgo-ui-components-media-dialog.d.ts +40 -45
- package/types/testgorilla-tgo-ui-components-multi-input.d.ts +283 -194
- package/types/testgorilla-tgo-ui-components-navbar.d.ts +326 -208
- package/types/testgorilla-tgo-ui-components-overflow-menu.d.ts +276 -204
- package/types/testgorilla-tgo-ui-components-page-header.d.ts +67 -50
- package/types/testgorilla-tgo-ui-components-paginator.d.ts +103 -70
- package/types/testgorilla-tgo-ui-components-password-criteria.d.ts +67 -58
- package/types/testgorilla-tgo-ui-components-password-strength.d.ts +66 -57
- package/types/testgorilla-tgo-ui-components-phone-input.d.ts +217 -175
- package/types/testgorilla-tgo-ui-components-popover.d.ts +94 -53
- package/types/testgorilla-tgo-ui-components-popup-tip.d.ts +81 -44
- package/types/testgorilla-tgo-ui-components-progress-bar.d.ts +115 -84
- package/types/testgorilla-tgo-ui-components-prompt.d.ts +315 -219
- package/types/testgorilla-tgo-ui-components-radial-progress.d.ts +146 -107
- package/types/testgorilla-tgo-ui-components-radio-button.d.ts +296 -219
- package/types/testgorilla-tgo-ui-components-rating.d.ts +134 -95
- package/types/testgorilla-tgo-ui-components-scale-table.d.ts +67 -47
- package/types/testgorilla-tgo-ui-components-scale.d.ts +91 -66
- package/types/testgorilla-tgo-ui-components-segmented-bar.d.ts +118 -89
- package/types/testgorilla-tgo-ui-components-segmented-button.d.ts +107 -80
- package/types/testgorilla-tgo-ui-components-segmented-toggle.d.ts +138 -105
- package/types/testgorilla-tgo-ui-components-selectable-card.d.ts +90 -56
- package/types/testgorilla-tgo-ui-components-side-navigation.d.ts +183 -107
- package/types/testgorilla-tgo-ui-components-side-panel.d.ts +156 -145
- package/types/testgorilla-tgo-ui-components-side-sheet.d.ts +98 -89
- package/types/testgorilla-tgo-ui-components-skeleton.d.ts +50 -33
- package/types/testgorilla-tgo-ui-components-slider.d.ts +278 -198
- package/types/testgorilla-tgo-ui-components-snackbar.d.ts +211 -159
- package/types/testgorilla-tgo-ui-components-spider-chart.d.ts +140 -121
- package/types/testgorilla-tgo-ui-components-spinner.d.ts +93 -72
- package/types/testgorilla-tgo-ui-components-stepper.d.ts +480 -338
- package/types/testgorilla-tgo-ui-components-table.d.ts +280 -233
- package/types/testgorilla-tgo-ui-components-tabs.d.ts +282 -183
- package/types/testgorilla-tgo-ui-components-tag.d.ts +266 -193
- package/types/testgorilla-tgo-ui-components-toggle.d.ts +180 -132
- package/types/testgorilla-tgo-ui-components-tooltip.d.ts +142 -105
- package/types/testgorilla-tgo-ui-components-universal-skills.d.ts +165 -144
- package/types/testgorilla-tgo-ui-components-validation-error.d.ts +70 -51
- package/types/testgorilla-tgo-ui-components-write-with-ai.d.ts +210 -133
- package/types/testgorilla-tgo-ui.d.ts +52 -45
|
@@ -1,340 +1,453 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i2 from
|
|
4
|
-
import {
|
|
5
|
-
import * as i3 from
|
|
6
|
-
import { ButtonColor,
|
|
7
|
-
import * as i4 from
|
|
8
|
-
import { ApplicationTheme, Language } from
|
|
9
|
-
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
3
|
+
import * as i2 from "@angular/material/dialog";
|
|
4
|
+
import { MatDialog, MatDialogConfig, MatDialogRef } from "@angular/material/dialog";
|
|
5
|
+
import * as i3 from "@testgorilla/tgo-ui/components/button";
|
|
6
|
+
import { ButtonColor, ButtonComponent, ButtonIconPosition } from "@testgorilla/tgo-ui/components/button";
|
|
7
|
+
import * as i4$1 from "@testgorilla/tgo-ui/components/core";
|
|
8
|
+
import { ApplicationTheme, ApplicationTheme as ApplicationTheme$1, Language } from "@testgorilla/tgo-ui/components/core";
|
|
9
|
+
import { IconName } from "@testgorilla/tgo-ui/components/icon";
|
|
10
|
+
import * as i1 from "@angular/common";
|
|
11
|
+
import { ComponentType } from "@angular/cdk/portal";
|
|
12
|
+
import * as i4 from "@testgorilla/tgo-ui/components/toggle";
|
|
13
|
+
export declare class DialogComponent implements OnInit, OnChanges, AfterViewInit {
|
|
14
|
+
private readonly defaultAppTheme;
|
|
15
|
+
dialogRef: MatDialogRef<DialogComponent>;
|
|
16
|
+
private readonly data;
|
|
17
|
+
/**
|
|
18
|
+
* Dialog title
|
|
19
|
+
*
|
|
20
|
+
* @memberof DialogComponent
|
|
21
|
+
*/
|
|
22
|
+
title?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Show close button
|
|
25
|
+
*
|
|
26
|
+
* @memberof DialogComponent
|
|
27
|
+
*/
|
|
28
|
+
showCloseButton: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Fuction called before dialgo is closed
|
|
31
|
+
*
|
|
32
|
+
* @memberof DialogComponent
|
|
33
|
+
*/
|
|
34
|
+
canCloseFn: () => boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Secondary button label
|
|
37
|
+
*
|
|
38
|
+
* @memberof DialogComponent
|
|
39
|
+
*/
|
|
40
|
+
secondaryButtonLabel?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Footer dialog message
|
|
43
|
+
*
|
|
44
|
+
* @memberof DialogComponent
|
|
45
|
+
*/
|
|
46
|
+
footerMessage?: string | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Primary button label
|
|
49
|
+
*
|
|
50
|
+
* @memberof DialogComponent
|
|
51
|
+
*/
|
|
52
|
+
primaryButtonLabel?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* Primary button icon name
|
|
55
|
+
*
|
|
56
|
+
* @memberof DialogComponent
|
|
57
|
+
*/
|
|
58
|
+
primaryButtonIconName?: IconName | '';
|
|
59
|
+
/**
|
|
60
|
+
* Secondary button type
|
|
61
|
+
*
|
|
62
|
+
* @memberof DialogComponent
|
|
63
|
+
*/
|
|
64
|
+
secondaryButtonType: ButtonColor;
|
|
65
|
+
/**
|
|
66
|
+
* Primary button type
|
|
67
|
+
*
|
|
68
|
+
* @memberof DialogComponent
|
|
69
|
+
*/
|
|
70
|
+
primaryButtonType: ButtonColor;
|
|
71
|
+
/**
|
|
72
|
+
* Primary button test id
|
|
73
|
+
*
|
|
74
|
+
* @memberof DialogComponent
|
|
75
|
+
*/
|
|
76
|
+
primaryButtonDataTestId: string | null;
|
|
77
|
+
testId: string | null;
|
|
78
|
+
closeButtonTestId: string | null;
|
|
79
|
+
closeButtonAriaLabel: string;
|
|
80
|
+
/**
|
|
81
|
+
* Secondary button test id
|
|
82
|
+
*
|
|
83
|
+
* @memberof DialogComponent
|
|
84
|
+
*/
|
|
85
|
+
secondaryButtonDataTestId: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Color of the dialog.
|
|
88
|
+
* Defaults to Test Gorilla primary color.
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof DialogComponent
|
|
92
|
+
*/
|
|
93
|
+
companyColor: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* Defines the application theme
|
|
97
|
+
*
|
|
98
|
+
* @type {ApplicationTheme}
|
|
99
|
+
* @memberof DialogComponent
|
|
100
|
+
*/
|
|
101
|
+
applicationTheme: ApplicationTheme$1;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* Disable primary button
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof DialogComponent
|
|
108
|
+
*/
|
|
109
|
+
disablePrimaryButton: boolean;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* Show a spinner in place of the primary button label while the action runs.
|
|
113
|
+
* Also disables the button, so a second click cannot fire
|
|
114
|
+
* `primaryButtonClickEvent` while the first is still in flight.
|
|
115
|
+
*
|
|
116
|
+
* @memberof DialogComponent
|
|
117
|
+
*/
|
|
118
|
+
primaryButtonLoading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* Tooltip shown when hovering the primary button. Bound to a wrapper around the
|
|
122
|
+
* button so it also shows while the button is disabled (a disabled button
|
|
123
|
+
* receives no pointer events), e.g. to explain why the action is unavailable.
|
|
124
|
+
*
|
|
125
|
+
* @type {string}
|
|
126
|
+
* @memberof DialogComponent
|
|
127
|
+
*/
|
|
128
|
+
primaryButtonTooltip: string;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* Disable close button
|
|
132
|
+
*
|
|
133
|
+
* @type {boolean}
|
|
134
|
+
* @memberof DialogComponent
|
|
135
|
+
*/
|
|
136
|
+
disableClose: boolean;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* Disable button when canCloseFn is used
|
|
140
|
+
*
|
|
141
|
+
* @type {boolean}
|
|
142
|
+
* @memberof DialogComponent
|
|
143
|
+
*/
|
|
144
|
+
shouldDisableButtons: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* A string representing the ARIA requirement for accessibility.
|
|
147
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof DialogComponent
|
|
150
|
+
*/
|
|
151
|
+
ariaLabelledby: string;
|
|
152
|
+
/**
|
|
153
|
+
* A string representing the ARIA requirement for accessibility.
|
|
154
|
+
* This attribute is used to indicate whether an input field is required for form submission.
|
|
155
|
+
* @type {string}
|
|
156
|
+
* @memberof DialogComponent
|
|
157
|
+
*/
|
|
158
|
+
ariaDescribedby: string;
|
|
159
|
+
/**
|
|
160
|
+
* Defines how modal was opened (with keyboard or not)
|
|
161
|
+
*
|
|
162
|
+
* @type {boolean}
|
|
163
|
+
* @memberof DialogComponent
|
|
164
|
+
*/
|
|
165
|
+
keyboardOpen: boolean;
|
|
166
|
+
primaryButtonIconPosition: import("@angular/core").InputSignal<ButtonIconPosition>;
|
|
167
|
+
closeEvent: EventEmitter<Event>;
|
|
168
|
+
secondaryButtonClickEvent: EventEmitter<Event>;
|
|
169
|
+
primaryButtonClickEvent: EventEmitter<Event>;
|
|
170
|
+
closeButton: ButtonComponent;
|
|
171
|
+
modalClosed: boolean;
|
|
172
|
+
onEsc(): void;
|
|
173
|
+
constructor(defaultAppTheme: ApplicationTheme$1, dialogRef: MatDialogRef<DialogComponent>, data: {
|
|
174
|
+
applicationTheme: ApplicationTheme$1;
|
|
175
|
+
});
|
|
176
|
+
disableButtons: boolean;
|
|
177
|
+
protected readonly translationContext = "DIALOG.";
|
|
178
|
+
customHeader?: unknown;
|
|
179
|
+
get hasCustomHeader(): boolean;
|
|
180
|
+
ngOnInit(): void;
|
|
181
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
182
|
+
ngAfterViewInit(): void;
|
|
183
|
+
areButtonsDisabled(): void;
|
|
184
|
+
dismiss(): void;
|
|
185
|
+
onClose(event: Event): void;
|
|
186
|
+
onSecondaryButtonClick(event: Event): void;
|
|
187
|
+
onPrimaryButtonClick(event: Event): void;
|
|
188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, [{
|
|
189
|
+
optional: true;
|
|
190
|
+
}, null, null]>;
|
|
191
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "ui-dialog", never, {
|
|
192
|
+
"title": {
|
|
193
|
+
"alias": "title";
|
|
194
|
+
"required": false;
|
|
195
|
+
};
|
|
196
|
+
"showCloseButton": {
|
|
197
|
+
"alias": "showCloseButton";
|
|
198
|
+
"required": false;
|
|
199
|
+
};
|
|
200
|
+
"canCloseFn": {
|
|
201
|
+
"alias": "canCloseFn";
|
|
202
|
+
"required": false;
|
|
203
|
+
};
|
|
204
|
+
"secondaryButtonLabel": {
|
|
205
|
+
"alias": "secondaryButtonLabel";
|
|
206
|
+
"required": false;
|
|
207
|
+
};
|
|
208
|
+
"footerMessage": {
|
|
209
|
+
"alias": "footerMessage";
|
|
210
|
+
"required": false;
|
|
211
|
+
};
|
|
212
|
+
"primaryButtonLabel": {
|
|
213
|
+
"alias": "primaryButtonLabel";
|
|
214
|
+
"required": false;
|
|
215
|
+
};
|
|
216
|
+
"primaryButtonIconName": {
|
|
217
|
+
"alias": "primaryButtonIconName";
|
|
218
|
+
"required": false;
|
|
219
|
+
};
|
|
220
|
+
"secondaryButtonType": {
|
|
221
|
+
"alias": "secondaryButtonType";
|
|
222
|
+
"required": false;
|
|
223
|
+
};
|
|
224
|
+
"primaryButtonType": {
|
|
225
|
+
"alias": "primaryButtonType";
|
|
226
|
+
"required": false;
|
|
227
|
+
};
|
|
228
|
+
"primaryButtonDataTestId": {
|
|
229
|
+
"alias": "primaryButtonDataTestId";
|
|
230
|
+
"required": false;
|
|
231
|
+
};
|
|
232
|
+
"testId": {
|
|
233
|
+
"alias": "testId";
|
|
234
|
+
"required": false;
|
|
235
|
+
};
|
|
236
|
+
"closeButtonTestId": {
|
|
237
|
+
"alias": "closeButtonTestId";
|
|
238
|
+
"required": false;
|
|
239
|
+
};
|
|
240
|
+
"closeButtonAriaLabel": {
|
|
241
|
+
"alias": "closeButtonAriaLabel";
|
|
242
|
+
"required": false;
|
|
243
|
+
};
|
|
244
|
+
"secondaryButtonDataTestId": {
|
|
245
|
+
"alias": "secondaryButtonDataTestId";
|
|
246
|
+
"required": false;
|
|
247
|
+
};
|
|
248
|
+
"companyColor": {
|
|
249
|
+
"alias": "companyColor";
|
|
250
|
+
"required": false;
|
|
251
|
+
};
|
|
252
|
+
"applicationTheme": {
|
|
253
|
+
"alias": "applicationTheme";
|
|
254
|
+
"required": false;
|
|
255
|
+
};
|
|
256
|
+
"disablePrimaryButton": {
|
|
257
|
+
"alias": "disablePrimaryButton";
|
|
258
|
+
"required": false;
|
|
259
|
+
};
|
|
260
|
+
"primaryButtonLoading": {
|
|
261
|
+
"alias": "primaryButtonLoading";
|
|
262
|
+
"required": false;
|
|
263
|
+
"isSignal": true;
|
|
264
|
+
};
|
|
265
|
+
"primaryButtonTooltip": {
|
|
266
|
+
"alias": "primaryButtonTooltip";
|
|
267
|
+
"required": false;
|
|
268
|
+
};
|
|
269
|
+
"disableClose": {
|
|
270
|
+
"alias": "disableClose";
|
|
271
|
+
"required": false;
|
|
272
|
+
};
|
|
273
|
+
"shouldDisableButtons": {
|
|
274
|
+
"alias": "shouldDisableButtons";
|
|
275
|
+
"required": false;
|
|
276
|
+
};
|
|
277
|
+
"ariaLabelledby": {
|
|
278
|
+
"alias": "ariaLabelledby";
|
|
279
|
+
"required": false;
|
|
280
|
+
};
|
|
281
|
+
"ariaDescribedby": {
|
|
282
|
+
"alias": "ariaDescribedby";
|
|
283
|
+
"required": false;
|
|
284
|
+
};
|
|
285
|
+
"keyboardOpen": {
|
|
286
|
+
"alias": "keyboardOpen";
|
|
287
|
+
"required": false;
|
|
288
|
+
};
|
|
289
|
+
"primaryButtonIconPosition": {
|
|
290
|
+
"alias": "primaryButtonIconPosition";
|
|
291
|
+
"required": false;
|
|
292
|
+
"isSignal": true;
|
|
293
|
+
};
|
|
294
|
+
}, {
|
|
295
|
+
"closeEvent": "closeEvent";
|
|
296
|
+
"secondaryButtonClickEvent": "secondaryButtonClickEvent";
|
|
297
|
+
"primaryButtonClickEvent": "primaryButtonClickEvent";
|
|
298
|
+
}, ["customHeader"], ["[dialogHeader]", "*", "[dialogFooter]"], true, never>;
|
|
192
299
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
|
|
300
|
+
export declare class DialogComponentModule {
|
|
301
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponentModule, never>;
|
|
302
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogComponentModule, never, [typeof i1.CommonModule, typeof i2.MatDialogModule, typeof i3.ButtonComponentModule, typeof i4$1.UiTranslatePipe, typeof DialogComponent], [typeof DialogComponent]>;
|
|
303
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogComponentModule>;
|
|
198
304
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
305
|
+
export type DialogSize = 'small' | 'large' | 'x-large';
|
|
306
|
+
export declare class DialogService {
|
|
307
|
+
private readonly matDialog;
|
|
308
|
+
private readonly defaultAppTheme;
|
|
309
|
+
constructor(matDialog: MatDialog, defaultAppTheme: ApplicationTheme$1);
|
|
310
|
+
open<K = any, R = any, T = any>(dialogComponent: ComponentType<T>, dialogConfig?: DialogConfig<K>): MatDialogRef<T, R>;
|
|
311
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, [null, {
|
|
312
|
+
optional: true;
|
|
313
|
+
}]>;
|
|
314
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
208
315
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
config?: MatDialogConfig;
|
|
316
|
+
export interface DialogConfig<T = any> {
|
|
317
|
+
applicationTheme?: ApplicationTheme$1;
|
|
318
|
+
size?: DialogSize;
|
|
319
|
+
panelClass?: string;
|
|
320
|
+
extraData?: T;
|
|
321
|
+
backdropClass?: string;
|
|
322
|
+
keyboardOpen?: boolean;
|
|
323
|
+
config?: MatDialogConfig;
|
|
218
324
|
}
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
onConfirm?: () => void;
|
|
325
|
+
export interface ConfirmDialogData {
|
|
326
|
+
message?: string;
|
|
327
|
+
confirmButtonText?: string;
|
|
328
|
+
cancelButtonText?: string;
|
|
329
|
+
title?: string;
|
|
330
|
+
color?: string;
|
|
331
|
+
language?: Language;
|
|
332
|
+
messageHtml?: string;
|
|
333
|
+
showCloseButton?: boolean;
|
|
334
|
+
showSecondaryButton?: boolean;
|
|
335
|
+
primaryButtonType?: ButtonColor;
|
|
336
|
+
primaryButtonIconPosition?: ButtonIconPosition;
|
|
337
|
+
secondaryButtonType?: ButtonColor;
|
|
338
|
+
primaryButtonIconName?: IconName;
|
|
339
|
+
primaryButtonDataTestId?: string;
|
|
340
|
+
secondaryButtonDataTestId?: string;
|
|
341
|
+
/**
|
|
342
|
+
* Callback function executed when the primary/confirm button is clicked.
|
|
343
|
+
*
|
|
344
|
+
* This callback is executed immediately before the dialog closes, within the same
|
|
345
|
+
* user gesture context. This is crucial for operations that may trigger popup blockers
|
|
346
|
+
* in restrictive browsers, such as:
|
|
347
|
+
* - Opening new tabs/windows (window.open)
|
|
348
|
+
* - Triggering file downloads
|
|
349
|
+
* - Navigating to external URLs
|
|
350
|
+
* - Accessing clipboard operations
|
|
351
|
+
*
|
|
352
|
+
* **Important**: Use this instead of subscribing to `afterClosed()` for popup-sensitive
|
|
353
|
+
* operations, as `afterClosed()` executes outside the user gesture context and will
|
|
354
|
+
* be blocked by popup blockers in most modern browsers.
|
|
355
|
+
*
|
|
356
|
+
* @example
|
|
357
|
+
* ```typescript
|
|
358
|
+
* // ✅ Good - executes within user gesture, won't be blocked
|
|
359
|
+
* onConfirm: () => window.open('https://example.com', '_blank')
|
|
360
|
+
*
|
|
361
|
+
* // ❌ Bad - executes outside user gesture, could be blocked
|
|
362
|
+
* dialogRef.afterClosed().subscribe(result => {
|
|
363
|
+
* if (result) window.open('https://example.com', '_blank');
|
|
364
|
+
* });
|
|
365
|
+
* ```
|
|
366
|
+
*/
|
|
367
|
+
onConfirm?: () => void;
|
|
263
368
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
369
|
+
export declare class ConfirmDialogComponent {
|
|
370
|
+
private readonly defaultAppTheme;
|
|
371
|
+
dialogRef: MatDialogRef<ConfirmDialogComponent>;
|
|
372
|
+
private readonly data;
|
|
373
|
+
confirmMessage: string | undefined;
|
|
374
|
+
confirmButtonText: string | undefined;
|
|
375
|
+
cancelButtonText: string | undefined;
|
|
376
|
+
title: string | undefined;
|
|
377
|
+
lang: import("@testgorilla/tgo-ui/components/core").Language;
|
|
378
|
+
confirmMessageHtml: string | undefined;
|
|
379
|
+
showCloseButton: boolean;
|
|
380
|
+
showSecondaryButton: boolean;
|
|
381
|
+
color: string | null;
|
|
382
|
+
primaryButtonType: ButtonColor;
|
|
383
|
+
secondaryButtonType: ButtonColor;
|
|
384
|
+
primaryButtonIconName: IconName | undefined;
|
|
385
|
+
primaryButtonDataTestId: string;
|
|
386
|
+
secondaryButtonDataTestId: string;
|
|
387
|
+
primaryButtonIconPosition: ButtonIconPosition;
|
|
388
|
+
/**
|
|
389
|
+
*
|
|
390
|
+
* Defines the application theme
|
|
391
|
+
*
|
|
392
|
+
* @type {ApplicationTheme}
|
|
393
|
+
* @memberof DialogComponent
|
|
394
|
+
*/
|
|
395
|
+
applicationTheme: ApplicationTheme$1;
|
|
396
|
+
constructor(defaultAppTheme: ApplicationTheme$1, dialogRef: MatDialogRef<ConfirmDialogComponent>, data: ConfirmDialogData);
|
|
397
|
+
onConfirm(): void;
|
|
398
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, [{
|
|
399
|
+
optional: true;
|
|
400
|
+
}, null, null]>;
|
|
401
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "ui-confirm-dialog", never, {
|
|
402
|
+
"applicationTheme": {
|
|
403
|
+
"alias": "applicationTheme";
|
|
404
|
+
"required": false;
|
|
405
|
+
};
|
|
406
|
+
}, {}, never, never, true, never>;
|
|
296
407
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
|
|
408
|
+
export declare class ConfirmDialogComponentModule {
|
|
409
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponentModule, never>;
|
|
410
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ConfirmDialogComponentModule, never, [typeof i1.CommonModule, typeof i2.MatDialogModule, typeof i3.ButtonComponentModule, typeof DialogComponentModule, typeof i4$1.UiTranslatePipe, typeof ConfirmDialogComponent], [typeof ConfirmDialogComponent]>;
|
|
411
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmDialogComponentModule>;
|
|
302
412
|
}
|
|
303
|
-
|
|
304
413
|
interface DialogCustomData {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
414
|
+
title?: string;
|
|
415
|
+
type?: 'default' | 'custom-header' | 'footer-content' | 'disabled-primary-tooltip';
|
|
416
|
+
showCloseButton: boolean;
|
|
417
|
+
keyboardOpen: boolean;
|
|
418
|
+
footerMessage?: string;
|
|
419
|
+
primaryButtonTooltip?: string;
|
|
311
420
|
}
|
|
312
|
-
declare class DialogCustomComponent implements OnInit {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
421
|
+
export declare class DialogCustomComponent implements OnInit {
|
|
422
|
+
private readonly defaultAppTheme;
|
|
423
|
+
protected data: DialogCustomData;
|
|
424
|
+
private readonly cdr;
|
|
425
|
+
canClose: () => boolean;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* Defines the application theme
|
|
429
|
+
*
|
|
430
|
+
* @type {ApplicationTheme}
|
|
431
|
+
* @memberof DialogComponent
|
|
432
|
+
*/
|
|
433
|
+
applicationTheme: ApplicationTheme$1;
|
|
434
|
+
constructor(defaultAppTheme: ApplicationTheme$1, data: DialogCustomData, cdr: ChangeDetectorRef);
|
|
435
|
+
ngOnInit(): void;
|
|
436
|
+
canCloseFalse(): boolean;
|
|
437
|
+
canCloseTrue(): boolean;
|
|
438
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponent, [{
|
|
439
|
+
optional: true;
|
|
440
|
+
}, null, null]>;
|
|
441
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogCustomComponent, "ui-dialog-custom", never, {
|
|
442
|
+
"applicationTheme": {
|
|
443
|
+
"alias": "applicationTheme";
|
|
444
|
+
"required": false;
|
|
445
|
+
};
|
|
446
|
+
}, {}, never, never, true, never>;
|
|
331
447
|
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DialogCustomComponentModule>;
|
|
448
|
+
export declare class DialogCustomComponentModule {
|
|
449
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCustomComponentModule, never>;
|
|
450
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DialogCustomComponentModule, never, [typeof i1.CommonModule, typeof DialogComponentModule, typeof i3.ButtonComponentModule, typeof i4.ToggleComponentModule, typeof DialogCustomComponent], [typeof DialogCustomComponent]>;
|
|
451
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DialogCustomComponentModule>;
|
|
337
452
|
}
|
|
338
|
-
|
|
339
|
-
export { ConfirmDialogComponent, ConfirmDialogComponentModule, DialogComponent, DialogComponentModule, DialogCustomComponent, DialogCustomComponentModule, DialogService };
|
|
340
|
-
export type { ConfirmDialogData, DialogConfig, DialogSize };
|
|
453
|
+
export { ApplicationTheme };
|