@gooddata/sdk-ui-dashboard 10.9.0-alpha.1 → 10.9.0-alpha.11

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.
Files changed (141) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.d.ts.map +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/__version.js.map +1 -1
  5. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
  6. package/esm/model/commandHandlers/drill/crossFilteringHandler.js +4 -1
  7. package/esm/model/commandHandlers/drill/crossFilteringHandler.js.map +1 -1
  8. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.d.ts.map +1 -1
  9. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js +24 -0
  10. package/esm/model/commandHandlers/filterContext/attributeFilter/changeAttributeDisplayFormHandler.js.map +1 -1
  11. package/esm/presentation/constants/index.d.ts +1 -0
  12. package/esm/presentation/constants/index.d.ts.map +1 -1
  13. package/esm/presentation/constants/index.js +2 -1
  14. package/esm/presentation/constants/index.js.map +1 -1
  15. package/esm/presentation/localization/bundles/de-DE.json +1 -0
  16. package/esm/presentation/localization/bundles/en-AU.json +475 -0
  17. package/esm/presentation/localization/bundles/en-GB.json +1 -0
  18. package/esm/presentation/localization/bundles/en-US.json +135 -0
  19. package/esm/presentation/localization/bundles/es-419.json +1 -0
  20. package/esm/presentation/localization/bundles/es-ES.json +1 -0
  21. package/esm/presentation/localization/bundles/fi-FI.json +475 -0
  22. package/esm/presentation/localization/bundles/fr-CA.json +1 -0
  23. package/esm/presentation/localization/bundles/fr-FR.json +1 -0
  24. package/esm/presentation/localization/bundles/it-IT.json +1 -0
  25. package/esm/presentation/localization/bundles/ja-JP.json +1 -0
  26. package/esm/presentation/localization/bundles/nl-NL.json +1 -0
  27. package/esm/presentation/localization/bundles/pt-BR.json +1 -0
  28. package/esm/presentation/localization/bundles/pt-PT.json +1 -0
  29. package/esm/presentation/localization/bundles/zh-Hans.json +1 -0
  30. package/esm/presentation/localization/bundles/zh-Hant.json +475 -0
  31. package/esm/presentation/localization/bundles/zh-Yue.json +475 -0
  32. package/esm/presentation/localization/translations.d.ts.map +1 -1
  33. package/esm/presentation/localization/translations.js +8 -0
  34. package/esm/presentation/localization/translations.js.map +1 -1
  35. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +1 -1
  36. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  37. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +1 -1
  38. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
  39. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts +12 -0
  40. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.d.ts.map +1 -0
  41. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js +74 -0
  42. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertActionsDropdown.js.map +1 -0
  43. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts +8 -0
  44. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.d.ts.map +1 -0
  45. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js +25 -0
  46. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertComparisonOperatorSelect.js.map +1 -0
  47. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.d.ts +7 -0
  48. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.d.ts.map +1 -0
  49. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.js +13 -0
  50. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDeleteDialog.js.map +1 -0
  51. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts +9 -0
  52. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.d.ts.map +1 -0
  53. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +23 -0
  54. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -0
  55. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts +9 -0
  56. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.d.ts.map +1 -0
  57. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js +22 -0
  58. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertMeasureSelect.js.map +1 -0
  59. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts +8 -0
  60. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.d.ts.map +1 -0
  61. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js +35 -0
  62. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertTriggerModeSelect.js.map +1 -0
  63. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts +15 -0
  64. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.d.ts.map +1 -0
  65. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js +19 -0
  66. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsList.js.map +1 -0
  67. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts +12 -0
  68. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.d.ts.map +1 -0
  69. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js +16 -0
  70. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertsListItem.js.map +1 -0
  71. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts +15 -0
  72. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.d.ts.map +1 -0
  73. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js +7 -0
  74. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/CreateAlert.js.map +1 -0
  75. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts +17 -0
  76. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -0
  77. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +46 -0
  78. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -0
  79. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts +10 -0
  80. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.d.ts.map +1 -0
  81. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js +47 -0
  82. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlertConfiguration.js.map +1 -0
  83. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts +23 -0
  84. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.d.ts.map +1 -0
  85. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js +36 -0
  86. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/constants.js.map +1 -0
  87. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts +48 -0
  88. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.d.ts.map +1 -0
  89. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js +50 -0
  90. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/messages.js.map +1 -0
  91. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.d.ts +21 -0
  92. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.d.ts.map +1 -0
  93. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.js +97 -0
  94. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useEditAlert.js.map +1 -0
  95. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.d.ts +27 -0
  96. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.d.ts.map +1 -0
  97. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.js +128 -0
  98. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/useInsightAlerting.js.map +1 -0
  99. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts +16 -0
  100. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.d.ts.map +1 -0
  101. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js +86 -0
  102. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils.js.map +1 -0
  103. package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts +4 -0
  104. package/esm/presentation/widget/insight/configuration/InsightAlerts.d.ts.map +1 -0
  105. package/esm/presentation/widget/insight/configuration/InsightAlerts.js +38 -0
  106. package/esm/presentation/widget/insight/configuration/InsightAlerts.js.map +1 -0
  107. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.d.ts.map +1 -1
  108. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js +1 -1
  109. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuItemButton.js.map +1 -1
  110. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts +1 -1
  111. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.d.ts.map +1 -1
  112. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuContainer.js +1 -1
  113. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts +1 -1
  114. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.d.ts.map +1 -1
  115. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js +4 -3
  116. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightSubmenuHeader.js.map +1 -1
  117. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.d.ts.map +1 -1
  118. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js +3 -3
  119. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/index.js.map +1 -1
  120. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +2 -0
  121. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
  122. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +28 -7
  123. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
  124. package/esm/presentation/widget/insightMenu/index.d.ts +1 -1
  125. package/esm/presentation/widget/insightMenu/index.d.ts.map +1 -1
  126. package/esm/presentation/widget/insightMenu/types.d.ts +28 -6
  127. package/esm/presentation/widget/insightMenu/types.d.ts.map +1 -1
  128. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +7 -2
  129. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  130. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +2 -0
  131. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
  132. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +13 -8
  133. package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
  134. package/esm/sdk-ui-dashboard.d.ts +30 -5
  135. package/package.json +15 -15
  136. package/styles/css/alerting.css +211 -0
  137. package/styles/css/alerting.css.map +1 -0
  138. package/styles/css/main.css +210 -0
  139. package/styles/css/main.css.map +1 -1
  140. package/styles/scss/alerting.scss +253 -0
  141. package/styles/scss/main.scss +1 -0
@@ -0,0 +1,253 @@
1
+ // (C) 2024 GoodData Corporation
2
+
3
+ @use "@gooddata/sdk-ui-kit/styles/scss/variables" as kit-variables;
4
+
5
+ //
6
+ // Alerts list
7
+ //
8
+ .gd-alerts-list {
9
+ width: 100%;
10
+ }
11
+
12
+ .gd-alerts-list__items {
13
+ padding: 10px 0 10px 0;
14
+ }
15
+
16
+ .gd-alerts-list__buttons {
17
+ padding: 10px 0;
18
+ }
19
+
20
+ //
21
+ // Alerts list item
22
+ //
23
+ .gd-alerts-list-item {
24
+ display: flex;
25
+ align-items: center;
26
+ cursor: pointer;
27
+ transition: background-color 100ms ease-in-out;
28
+
29
+ &:hover {
30
+ background-color: kit-variables.$is-focused-background;
31
+ }
32
+ }
33
+
34
+ .gd-alerts-list-item__content {
35
+ padding: 5px 0 5px 10px;
36
+ display: flex;
37
+ align-items: center;
38
+ width: 100%;
39
+ min-width: 0;
40
+ }
41
+
42
+ .gd-alerts-list-item__icon {
43
+ background-color: kit-variables.$is-focused-background;
44
+ width: 26px;
45
+ height: 26px;
46
+ border-radius: 51%;
47
+ display: flex;
48
+ align-items: center;
49
+ justify-content: center;
50
+ flex-shrink: 0;
51
+ }
52
+
53
+ .gd-alerts-list-item__details {
54
+ margin-left: 10px;
55
+ margin-right: 10px;
56
+ font-size: 12px;
57
+ line-height: normal;
58
+ width: 100%;
59
+ min-width: 0;
60
+ }
61
+
62
+ .gd-alerts-list-item__title {
63
+ overflow: hidden;
64
+ text-overflow: ellipsis;
65
+ color: kit-variables.$gd-color-text;
66
+ font-weight: 700;
67
+ }
68
+
69
+ .gd-alerts-list-item__description {
70
+ overflow: hidden;
71
+ text-overflow: ellipsis;
72
+ color: kit-variables.$gd-color-state-blank;
73
+ font-weight: 400;
74
+ white-space: nowrap;
75
+ }
76
+
77
+ //
78
+ // Edit alert
79
+ //
80
+ .gd-edit-alert {
81
+ font-size: 12px;
82
+ line-height: 14px;
83
+ color: kit-variables.$gd-color-text;
84
+ width: 100%;
85
+ }
86
+
87
+ .gd-edit-alert__form {
88
+ padding: 10px 10px 0 10px;
89
+ }
90
+
91
+ .gd-edit-alert__measure-label {
92
+ margin-bottom: 5px;
93
+ }
94
+
95
+ .gd-edit-alert__value-input {
96
+ margin-bottom: 10px;
97
+
98
+ /* Removes number input arrows for Chrome, Safari, Edge, Opera */
99
+ input::-webkit-outer-spin-button,
100
+ input::-webkit-inner-spin-button {
101
+ -webkit-appearance: none;
102
+ margin: 0;
103
+ }
104
+
105
+ /* Removes number input arrows for Firefox */
106
+ input[type="number"] {
107
+ appearance: textfield;
108
+ -moz-appearance: textfield;
109
+ }
110
+ }
111
+
112
+ .gd-edit-alert__buttons {
113
+ padding: 10px;
114
+ display: flex;
115
+ align-items: center;
116
+ justify-content: space-between;
117
+ border-top: 1px solid kit-variables.$gd-border-color;
118
+ }
119
+
120
+ .gd-edit-alert__configuration-button {
121
+ color: kit-variables.$gd-color-state-blank;
122
+ }
123
+
124
+ //
125
+ // Edit alert configuration
126
+ //
127
+ .gd-edit-alert-configuration {
128
+ width: 100%;
129
+ }
130
+
131
+ .gd-edit-alert-configuration__form {
132
+ display: flex;
133
+ align-items: center;
134
+ justify-content: space-between;
135
+ padding: 10px;
136
+ }
137
+
138
+ .gd-edit-alert-configuration__trigger-label {
139
+ display: flex;
140
+ align-items: center;
141
+ width: 50%;
142
+ }
143
+
144
+ .gd-edit-alert-configuration__trigger-label-icon {
145
+ margin-left: 5px;
146
+ position: relative;
147
+ top: 2px;
148
+ }
149
+
150
+ .gd-edit-alert-configuration__trigger-select {
151
+ width: 50%;
152
+ }
153
+
154
+ .gd-edit-alert-configuration__buttons {
155
+ padding: 10px;
156
+ display: flex;
157
+ align-items: center;
158
+ justify-content: flex-end;
159
+ border-top: 1px solid kit-variables.$gd-border-color;
160
+ }
161
+
162
+ //
163
+ // Measure select
164
+ //
165
+ .gd-alert-measure-select {
166
+ margin-bottom: 10px;
167
+ }
168
+
169
+ .gd-alert-measure-select__button {
170
+ width: 100%;
171
+ }
172
+
173
+ .gd-alert-measure-select__list {
174
+ height: 100%;
175
+ }
176
+
177
+ .gd-alert-measure-select__icon {
178
+ height: 100%;
179
+
180
+ &::before {
181
+ height: 100%;
182
+ }
183
+ }
184
+
185
+ //
186
+ // Comparison operator select
187
+ //
188
+ .gd-alert-comparison-operator-select {
189
+ margin-bottom: 10px;
190
+ }
191
+
192
+ .gd-alert-comparison-operator-select__button {
193
+ width: 100%;
194
+ }
195
+
196
+ //
197
+ // Alert destination select
198
+ //
199
+ .gd-alert-destination-select {
200
+ margin-bottom: 10px;
201
+ }
202
+
203
+ // TODO: support "invisible" styling of the Button on sdk-ui-kit component level.
204
+ // For now overload because of clash with other config panel css
205
+ .gd-button.gd-alert-destination-select__button {
206
+ margin-top: 0;
207
+ width: 105px;
208
+
209
+ &:not(&--open, &:hover, &:active, &:focus) {
210
+ box-shadow: none;
211
+ border-color: transparent;
212
+ }
213
+
214
+ &:not(&--open, &:active, &:focus) {
215
+ background: transparent;
216
+ }
217
+ }
218
+
219
+ //
220
+ // Trigger mode select
221
+ //
222
+ .gd-edit-alert-trigger-mode-select__button {
223
+ width: 100%;
224
+ }
225
+
226
+ //
227
+ // Alert actions dropdown
228
+ //
229
+ .gd-button.gd-alert-actions-dropdown__button {
230
+ width: 42px;
231
+ height: 42px;
232
+ padding: 0;
233
+
234
+ &:hover,
235
+ &.gd-alert-actions-dropdown__button--open {
236
+ background-color: kit-variables.$gd-input-text-border;
237
+ }
238
+
239
+ .gd-button-text {
240
+ display: flex;
241
+ align-items: center;
242
+ justify-content: center;
243
+ width: 100%;
244
+ height: 100%;
245
+ }
246
+ }
247
+
248
+ .gd-alert-actions-dropdown__list-item-delete {
249
+ &:hover {
250
+ color: kit-variables.$gd-color-negative;
251
+ background-color: kit-variables.$gd-palette-error-dimmed;
252
+ }
253
+ }
@@ -30,3 +30,4 @@
30
30
  @use "toolbar";
31
31
  @use "dateFilterConfig";
32
32
  @use "richTextWidget";
33
+ @use "alerting";