@gooddata/sdk-ui-dashboard 10.9.0-alpha.0 → 10.9.0-alpha.10

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