@gooddata/sdk-ui-dashboard 11.50.0-alpha.2 → 11.50.0-alpha.4

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 (73) hide show
  1. package/NOTICE +3 -3
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/dateFilterConfig/dateFilterConfigConverters.d.ts +1 -9
  5. package/esm/_staging/dateFilterConfig/dateFilterConfigConverters.d.ts.map +1 -1
  6. package/esm/_staging/dateFilterConfig/dateFilterConfigConverters.js +3 -88
  7. package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.d.ts +1 -33
  8. package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.d.ts.map +1 -1
  9. package/esm/_staging/dateFilterConfig/dateFilterOptionMapping.js +3 -260
  10. package/esm/_staging/dateFilterConfig/defaultConfig.d.ts +1 -11
  11. package/esm/_staging/dateFilterConfig/defaultConfig.d.ts.map +1 -1
  12. package/esm/_staging/dateFilterConfig/defaultConfig.js +3 -436
  13. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  14. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +5 -10
  15. package/esm/model/store/config/configSelectors.d.ts +1 -17
  16. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  17. package/esm/model/store/config/configSelectors.js +9 -40
  18. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +2 -3
  19. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  20. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +3 -12
  21. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts +6 -4
  22. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.d.ts.map +1 -1
  23. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertFilters.js +6 -4
  24. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSelectedValues.d.ts +5 -5
  25. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSelectedValues.js +5 -5
  26. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSupportedMetrics.d.ts +5 -5
  27. package/esm/presentation/automations/alerting/DefaultAlertingDialog/hooks/useAlertSupportedMetrics.js +5 -5
  28. package/esm/presentation/automations/connectors/AlertingConnector.d.ts +5 -7
  29. package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
  30. package/esm/presentation/automations/connectors/AlertingConnector.js +5 -7
  31. package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts +4 -4
  32. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +4 -4
  33. package/esm/presentation/automations/contexts/AlertingDialogContext.d.ts +3 -3
  34. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts +4 -2
  35. package/esm/presentation/automations/contexts/ScheduledEmailDialogContext.d.ts.map +1 -1
  36. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -2
  37. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  38. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +10 -190
  39. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.d.ts +8 -10
  40. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.d.ts.map +1 -1
  41. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailEffectiveFilters.js +8 -10
  42. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailExportSettings.d.ts +3 -11
  43. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailExportSettings.d.ts.map +1 -1
  44. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailExportSettings.js +21 -3
  45. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.d.ts +34 -0
  46. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.d.ts.map +1 -0
  47. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFilters.js +194 -0
  48. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFormState.d.ts +6 -9
  49. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFormState.d.ts.map +1 -1
  50. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/hooks/useScheduledEmailFormState.js +11 -10
  51. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterConfigConverters.d.ts +1 -9
  52. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterConfigConverters.d.ts.map +1 -1
  53. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterConfigConverters.js +3 -88
  54. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterOptionMapping.d.ts +1 -33
  55. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterOptionMapping.d.ts.map +1 -1
  56. package/esm/presentation/automations/shared/dateFilterConfig/dateFilterOptionMapping.js +3 -260
  57. package/esm/presentation/automations/shared/dateFilterConfig/defaultConfig.d.ts +1 -11
  58. package/esm/presentation/automations/shared/dateFilterConfig/defaultConfig.d.ts.map +1 -1
  59. package/esm/presentation/automations/shared/dateFilterConfig/defaultConfig.js +3 -436
  60. package/esm/presentation/dashboardList/DashboardList.d.ts.map +1 -1
  61. package/esm/presentation/dashboardList/DashboardList.js +6 -0
  62. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.d.ts.map +1 -1
  63. package/esm/presentation/filterBar/filterBar/DefaultDashboardFilterGroup.js +1 -15
  64. package/esm/presentation/widget/common/InsightDropdown.d.ts.map +1 -1
  65. package/esm/presentation/widget/common/InsightDropdown.js +14 -0
  66. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
  67. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +2 -0
  68. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuBubble.d.ts.map +1 -1
  69. package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/DashboardInsightMenu/DashboardInsightMenuBubble.js +1 -1
  70. package/esm/sdk-ui-dashboard.d.ts +2 -3
  71. package/package.json +21 -21
  72. package/styles/css/main.css +4 -1
  73. package/styles/css/main.css.map +1 -1
@@ -1,437 +1,4 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { idRef } from "@gooddata/sdk-model";
3
- /**
4
- * Default date filter preset for standard calendar.
5
- */
6
- export const DEFAULT_DATE_FILTER_PRESET = "THIS_MONTH";
7
- /**
8
- * Default date filter preset for fiscal calendar.
9
- * Used when fiscal calendar is set as the default calendar type.
10
- */
11
- export const DEFAULT_FISCAL_DATE_FILTER_PRESET = "THIS_FISCAL_MONTH";
12
- export const defaultDateFilterConfig = {
13
- ref: idRef("defaultDateFilterProjectConfig"),
14
- selectedOption: DEFAULT_DATE_FILTER_PRESET,
15
- allTime: {
16
- localIdentifier: "ALL_TIME",
17
- type: "allTime",
18
- name: "",
19
- visible: true,
20
- },
21
- emptyValues: {
22
- localIdentifier: "EMPTY_VALUES",
23
- type: "emptyValues",
24
- name: "",
25
- visible: true,
26
- },
27
- absoluteForm: {
28
- localIdentifier: "ABSOLUTE_FORM",
29
- type: "absoluteForm",
30
- name: "",
31
- visible: true,
32
- },
33
- relativeForm: {
34
- type: "relativeForm",
35
- // month has to be the first as it should be the default selected option
36
- availableGranularities: [
37
- "GDC.time.month",
38
- "GDC.time.fiscal_month",
39
- "GDC.time.minute",
40
- "GDC.time.hour",
41
- "GDC.time.date",
42
- "GDC.time.week_us",
43
- "GDC.time.quarter",
44
- "GDC.time.fiscal_quarter",
45
- "GDC.time.year",
46
- "GDC.time.fiscal_year",
47
- ],
48
- localIdentifier: "RELATIVE_FORM",
49
- name: "",
50
- visible: true,
51
- },
52
- relativePresets: [
53
- {
54
- from: -14,
55
- to: 0,
56
- granularity: "GDC.time.minute",
57
- localIdentifier: "LAST_15_MINUTES",
58
- type: "relativePreset",
59
- visible: true,
60
- name: "",
61
- },
62
- {
63
- from: -29,
64
- to: 0,
65
- granularity: "GDC.time.minute",
66
- localIdentifier: "LAST_30_MINUTES",
67
- type: "relativePreset",
68
- visible: true,
69
- name: "",
70
- },
71
- {
72
- from: -44,
73
- to: 0,
74
- granularity: "GDC.time.minute",
75
- localIdentifier: "LAST_45_MINUTES",
76
- type: "relativePreset",
77
- visible: true,
78
- name: "",
79
- },
80
- {
81
- from: -59,
82
- to: 0,
83
- granularity: "GDC.time.minute",
84
- localIdentifier: "LAST_60_MINUTES",
85
- type: "relativePreset",
86
- visible: true,
87
- name: "",
88
- },
89
- {
90
- from: -1,
91
- to: -1,
92
- granularity: "GDC.time.hour",
93
- localIdentifier: "LAST_HOUR",
94
- type: "relativePreset",
95
- visible: true,
96
- name: "",
97
- },
98
- {
99
- from: -7,
100
- to: 0,
101
- granularity: "GDC.time.hour",
102
- localIdentifier: "LAST_8_HOURS",
103
- type: "relativePreset",
104
- visible: true,
105
- name: "",
106
- },
107
- {
108
- from: -11,
109
- to: 0,
110
- granularity: "GDC.time.hour",
111
- localIdentifier: "LAST_12_HOURS",
112
- type: "relativePreset",
113
- visible: true,
114
- name: "",
115
- },
116
- {
117
- from: -23,
118
- to: 0,
119
- granularity: "GDC.time.hour",
120
- localIdentifier: "LAST_24_HOURS",
121
- type: "relativePreset",
122
- visible: true,
123
- name: "",
124
- },
125
- {
126
- from: 0,
127
- to: 0,
128
- granularity: "GDC.time.week_us",
129
- localIdentifier: "THIS_WEEK",
130
- type: "relativePreset",
131
- visible: true,
132
- name: "",
133
- },
134
- {
135
- from: 0,
136
- to: 0,
137
- granularity: "GDC.time.week_us",
138
- localIdentifier: "THIS_WEEK_TO_DATE",
139
- type: "relativePreset",
140
- visible: true,
141
- name: "",
142
- boundedFilter: {
143
- granularity: "GDC.time.date",
144
- to: 0,
145
- },
146
- },
147
- {
148
- from: -1,
149
- to: -1,
150
- granularity: "GDC.time.week_us",
151
- localIdentifier: "LAST_WEEK",
152
- type: "relativePreset",
153
- visible: true,
154
- name: "",
155
- },
156
- {
157
- from: -1,
158
- to: 0,
159
- granularity: "GDC.time.week_us",
160
- localIdentifier: "LAST_2_WEEKS",
161
- type: "relativePreset",
162
- visible: true,
163
- name: "",
164
- },
165
- {
166
- from: 0,
167
- to: 0,
168
- granularity: "GDC.time.date",
169
- localIdentifier: "TODAY",
170
- type: "relativePreset",
171
- visible: true,
172
- name: "",
173
- },
174
- {
175
- from: -1,
176
- to: -1,
177
- granularity: "GDC.time.date",
178
- localIdentifier: "YESTERDAY",
179
- type: "relativePreset",
180
- visible: true,
181
- name: "",
182
- },
183
- {
184
- from: -6,
185
- to: 0,
186
- granularity: "GDC.time.date",
187
- localIdentifier: "LAST_7_DAYS",
188
- type: "relativePreset",
189
- visible: true,
190
- name: "",
191
- },
192
- {
193
- from: -29,
194
- to: 0,
195
- granularity: "GDC.time.date",
196
- localIdentifier: "LAST_30_DAYS",
197
- type: "relativePreset",
198
- visible: true,
199
- name: "",
200
- },
201
- {
202
- from: -89,
203
- to: 0,
204
- granularity: "GDC.time.date",
205
- localIdentifier: "LAST_90_DAYS",
206
- type: "relativePreset",
207
- visible: true,
208
- name: "",
209
- },
210
- {
211
- from: 0,
212
- to: 0,
213
- granularity: "GDC.time.month",
214
- localIdentifier: "THIS_MONTH_TO_DATE",
215
- type: "relativePreset",
216
- visible: true,
217
- name: "",
218
- boundedFilter: {
219
- granularity: "GDC.time.date",
220
- to: 0,
221
- },
222
- },
223
- {
224
- from: 0,
225
- to: 0,
226
- granularity: "GDC.time.month",
227
- localIdentifier: "THIS_MONTH",
228
- type: "relativePreset",
229
- visible: true,
230
- name: "",
231
- },
232
- {
233
- from: -1,
234
- to: -1,
235
- granularity: "GDC.time.month",
236
- localIdentifier: "LAST_MONTH",
237
- type: "relativePreset",
238
- visible: true,
239
- name: "",
240
- },
241
- {
242
- from: -11,
243
- to: 0,
244
- granularity: "GDC.time.month",
245
- localIdentifier: "LAST_12_MONTHS",
246
- type: "relativePreset",
247
- visible: true,
248
- name: "",
249
- },
250
- {
251
- from: 0,
252
- to: 0,
253
- granularity: "GDC.time.quarter",
254
- localIdentifier: "THIS_QUARTER_TO_DATE",
255
- type: "relativePreset",
256
- visible: true,
257
- name: "",
258
- boundedFilter: {
259
- granularity: "GDC.time.date",
260
- to: 0,
261
- },
262
- },
263
- {
264
- from: 0,
265
- to: 0,
266
- granularity: "GDC.time.quarter",
267
- localIdentifier: "THIS_QUARTER",
268
- type: "relativePreset",
269
- visible: true,
270
- name: "",
271
- },
272
- {
273
- from: -1,
274
- to: -1,
275
- granularity: "GDC.time.quarter",
276
- localIdentifier: "LAST_QUARTER",
277
- type: "relativePreset",
278
- visible: true,
279
- name: "",
280
- },
281
- {
282
- from: -3,
283
- to: 0,
284
- granularity: "GDC.time.quarter",
285
- localIdentifier: "LAST_4_QUARTERS",
286
- type: "relativePreset",
287
- visible: true,
288
- name: "",
289
- },
290
- {
291
- from: 0,
292
- to: 0,
293
- granularity: "GDC.time.year",
294
- localIdentifier: "THIS_YEAR_TO_DATE",
295
- type: "relativePreset",
296
- visible: true,
297
- name: "",
298
- boundedFilter: {
299
- granularity: "GDC.time.date",
300
- to: 0,
301
- },
302
- },
303
- {
304
- from: 0,
305
- to: 0,
306
- granularity: "GDC.time.year",
307
- localIdentifier: "THIS_YEAR",
308
- type: "relativePreset",
309
- visible: true,
310
- name: "",
311
- },
312
- {
313
- from: -1,
314
- to: -1,
315
- granularity: "GDC.time.year",
316
- localIdentifier: "LAST_YEAR",
317
- type: "relativePreset",
318
- visible: true,
319
- name: "",
320
- },
321
- // Fiscal Year presets
322
- {
323
- from: 0,
324
- to: 0,
325
- granularity: "GDC.time.fiscal_year",
326
- localIdentifier: "THIS_FISCAL_YEAR_TO_DATE",
327
- type: "relativePreset",
328
- visible: true,
329
- name: "",
330
- boundedFilter: {
331
- granularity: "GDC.time.date",
332
- to: 0,
333
- },
334
- },
335
- {
336
- from: 0,
337
- to: 0,
338
- granularity: "GDC.time.fiscal_year",
339
- localIdentifier: "THIS_FISCAL_YEAR",
340
- type: "relativePreset",
341
- visible: true,
342
- name: "",
343
- },
344
- {
345
- from: -1,
346
- to: -1,
347
- granularity: "GDC.time.fiscal_year",
348
- localIdentifier: "LAST_FISCAL_YEAR",
349
- type: "relativePreset",
350
- visible: true,
351
- name: "",
352
- },
353
- // Fiscal Quarter presets
354
- {
355
- from: 0,
356
- to: 0,
357
- granularity: "GDC.time.fiscal_quarter",
358
- localIdentifier: "THIS_FISCAL_QUARTER_TO_DATE",
359
- type: "relativePreset",
360
- visible: true,
361
- name: "",
362
- boundedFilter: {
363
- granularity: "GDC.time.date",
364
- to: 0,
365
- },
366
- },
367
- {
368
- from: 0,
369
- to: 0,
370
- granularity: "GDC.time.fiscal_quarter",
371
- localIdentifier: "THIS_FISCAL_QUARTER",
372
- type: "relativePreset",
373
- visible: true,
374
- name: "",
375
- },
376
- {
377
- from: -1,
378
- to: -1,
379
- granularity: "GDC.time.fiscal_quarter",
380
- localIdentifier: "LAST_FISCAL_QUARTER",
381
- type: "relativePreset",
382
- visible: true,
383
- name: "",
384
- },
385
- {
386
- from: -3,
387
- to: 0,
388
- granularity: "GDC.time.fiscal_quarter",
389
- localIdentifier: "LAST_4_FISCAL_QUARTERS",
390
- type: "relativePreset",
391
- visible: true,
392
- name: "",
393
- },
394
- // Fiscal Month (Period) presets
395
- {
396
- from: 0,
397
- to: 0,
398
- granularity: "GDC.time.fiscal_month",
399
- localIdentifier: "THIS_FISCAL_MONTH_TO_DATE",
400
- type: "relativePreset",
401
- visible: true,
402
- name: "",
403
- boundedFilter: {
404
- granularity: "GDC.time.date",
405
- to: 0,
406
- },
407
- },
408
- {
409
- from: 0,
410
- to: 0,
411
- granularity: "GDC.time.fiscal_month",
412
- localIdentifier: "THIS_FISCAL_MONTH",
413
- type: "relativePreset",
414
- visible: true,
415
- name: "",
416
- },
417
- {
418
- from: -1,
419
- to: -1,
420
- granularity: "GDC.time.fiscal_month",
421
- localIdentifier: "LAST_FISCAL_MONTH",
422
- type: "relativePreset",
423
- visible: true,
424
- name: "",
425
- },
426
- {
427
- from: -11,
428
- to: 0,
429
- granularity: "GDC.time.fiscal_month",
430
- localIdentifier: "LAST_12_FISCAL_MONTHS",
431
- type: "relativePreset",
432
- visible: true,
433
- name: "",
434
- },
435
- ],
436
- absolutePresets: [],
437
- };
2
+ /* oxlint-disable no-barrel-files/no-barrel-files */
3
+ // Moved to @gooddata/sdk-ui-filters (shared with the CF date pickers); re-exported for existing import sites.
4
+ export { DEFAULT_DATE_FILTER_PRESET, DEFAULT_FISCAL_DATE_FILTER_PRESET, defaultDateFilterConfig, } from "@gooddata/sdk-ui-filters";
@@ -1 +1 @@
1
- {"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAgD/C,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAqC/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAWnE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,sBAAsB,GAC7B,YAAY,CA+Sd"}
1
+ {"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAgD/C,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAmC/E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAWnE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,sBAAsB,GAC7B,YAAY,CAoSd"}
@@ -14,7 +14,7 @@ import { switchDashboardTab } from "../../commands/tabs.js";
14
14
  import { dispatchDashboardEvent } from "../../store/_infra/eventDispatcher.js";
15
15
  import { selectAutomationsIsInitialized, selectAutomationsIsLoading, } from "../../store/automations/automationsSelectors.js";
16
16
  import { automationsActions } from "../../store/automations/index.js";
17
- import { selectEnableArbitraryFilterKD, selectEnableMatchFilterKD, selectEnableNotificationChannelIdentifiers, selectEnableParameters, selectEnableStringParameters, selectExternalRecipient, selectFocusObject, selectIsExport, selectIsReadOnly, selectOpenAutomationOnLoad, } from "../../store/config/configSelectors.js";
17
+ import { selectEnableNotificationChannelIdentifiers, selectEnableParameters, selectEnableStringParameters, selectExternalRecipient, selectFocusObject, selectIsExport, selectIsReadOnly, selectOpenAutomationOnLoad, } from "../../store/config/configSelectors.js";
18
18
  import { selectInsightByWidgetRef } from "../../store/insights/insightsSelectors.js";
19
19
  import { selectDashboardId } from "../../store/meta/metaSelectors.js";
20
20
  import { notificationChannelsActions } from "../../store/notificationChannels/index.js";
@@ -37,8 +37,6 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
37
37
  const dashboardId = yield select(selectDashboardId);
38
38
  const user = yield select(selectCurrentUser);
39
39
  const canManageAutomations = yield select(selectCanManageWorkspace);
40
- const enableArbitraryFilterKD = yield select(selectEnableArbitraryFilterKD);
41
- const enableMatchFilterKD = yield select(selectEnableMatchFilterKD);
42
40
  const enableNotificationChannelIdentifiers = yield select(selectEnableNotificationChannelIdentifiers);
43
41
  const automationsInitialized = yield select(selectAutomationsIsInitialized);
44
42
  const automationsIsLoading = yield select(selectAutomationsIsLoading);
@@ -96,7 +94,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
96
94
  : targetAlertFilters;
97
95
  const keepDateFilterDataSets = !!ctx.backend.capabilities.supportsMultipleDateFilters;
98
96
  const filtersToSetAsFilterContextItems = compact(filtersToSet.map((filter) => dashboardFilterToFilterContextItem(filter, keepDateFilterDataSets)));
99
- const compatibleFiltersToSet = filtersToSetAsFilterContextItems.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap, enableArbitraryFilterKD, enableMatchFilterKD, filterContextFilters));
97
+ const compatibleFiltersToSet = filtersToSetAsFilterContextItems.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap, filterContextFilters));
100
98
  // Empty alert execution filters = reset all filters (set them to all).
101
99
  // Empty sanitized filters = keep filters as they are, do not reset them (all alert execution filters are insight specific / ignored).
102
100
  // Non-empty sanitized filters = set them (some alert execution filters are originating from the dashboard).
@@ -127,7 +125,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
127
125
  });
128
126
  const sanitizedFilters = sanitizeDateFilters(filtersToSet, tabCommonDateFilterLocalId);
129
127
  const tabSelectionTypeMap = selectionTypeMapByTab[tabId];
130
- const compatibleFilters = sanitizedFilters.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, tabSelectionTypeMap, enableArbitraryFilterKD, enableMatchFilterKD, tabCurrentFilters));
128
+ const compatibleFilters = sanitizedFilters.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, tabSelectionTypeMap, tabCurrentFilters));
131
129
  // Empty tab filters = reset all filters (set them to all).
132
130
  // Empty sanitized filters = keep filters as they are.
133
131
  // Non-empty sanitized filters = set them.
@@ -151,7 +149,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
151
149
  return true;
152
150
  }) ?? [];
153
151
  const sanitizedFiltersToSet = sanitizeDateFilters(filtersToSet, commonDateFilterLocalId);
154
- const compatibleFiltersToSet = sanitizedFiltersToSet.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap, enableArbitraryFilterKD, enableMatchFilterKD, filterContextFilters));
152
+ const compatibleFiltersToSet = sanitizedFiltersToSet.filter((filter) => isFilterContextItemCompatibleWithSelectionType(filter, effectiveActiveTabSelectionTypeMap, filterContextFilters));
155
153
  // Empty schedule execution filters = reset all filters (set them to all).
156
154
  // Empty sanitized filters = keep filters as they are, do not reset them (all schedule execution filters are ignored).
157
155
  // Non-empty sanitized filters = set them (some schedule export definition filters are originating from the dashboard).
@@ -400,10 +398,7 @@ function removeDateFiltersIfDateFilterIsIgnored(filters, widget) {
400
398
  // If widget has ignored date filter, remove it
401
399
  return isDateIgnored ? filters.filter((f) => !isDateFilter(f)) : filters;
402
400
  }
403
- function isFilterContextItemCompatibleWithSelectionType(filter, selectionTypeMap, enableArbitraryFilterKD, enableMatchFilterKD, dashboardFilters) {
404
- if (!enableArbitraryFilterKD && !enableMatchFilterKD) {
405
- return true;
406
- }
401
+ function isFilterContextItemCompatibleWithSelectionType(filter, selectionTypeMap, dashboardFilters) {
407
402
  if (!isDashboardAttributeFilterItem(filter)) {
408
403
  return true;
409
404
  }
@@ -251,18 +251,6 @@ export declare const selectEnableKda: DashboardSelector<boolean>;
251
251
  * @internal
252
252
  */
253
253
  export declare const selectEnableImmediateAttributeFilterDisplayAsLabelMigration: DashboardSelector<boolean>;
254
- /**
255
- * Returns whether arbitrary text filter mode is enabled in dashboards.
256
- *
257
- * @alpha
258
- */
259
- export declare const selectEnableArbitraryFilterKD: DashboardSelector<boolean>;
260
- /**
261
- * Returns whether match text filter mode is enabled in dashboards.
262
- *
263
- * @alpha
264
- */
265
- export declare const selectEnableMatchFilterKD: DashboardSelector<boolean>;
266
254
  /**
267
255
  * Returns whether measure value (numeric) filter is enabled in dashboards.
268
256
  *
@@ -270,11 +258,7 @@ export declare const selectEnableMatchFilterKD: DashboardSelector<boolean>;
270
258
  */
271
259
  export declare const selectEnableMeasureValueFilterKD: DashboardSelector<boolean>;
272
260
  /**
273
- * Returns available attribute filter modes based on feature flags.
274
- *
275
- * @remarks
276
- * Always includes "elements" mode. Adds "arbitrary" and/or "match" when
277
- * the corresponding feature flags are enabled.
261
+ * Returns available attribute filter modes.
278
262
  *
279
263
  * @alpha
280
264
  */
@@ -1 +1 @@
1
- {"version":3,"file":"configSelectors.d.ts","sourceRoot":"","sources":["../../../../src/model/store/config/configSelectors.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,SAAS,EACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,KAAK,qCAAqC,EAAE,MAAM,0BAA0B,CAAC;AAEtF,OAAO,EACH,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,aAAa,CAAC;AAO1E;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,uBAAuB,CAOnE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,iBAAiB,CAKvE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,SAAS,CAEtD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,YAAY,EAAE,iBAAiB,CAAC,OAAO,CAElD,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,iBAAiB,C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MAAM,mCAAmC,EAAE,iBAAiB,CAAC,OAAO,CAK1E,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gDAAgD,EAAE,iBAAiB,CAAC,OAAO,CAKvF,CAAC"}
@@ -1,6 +1,7 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
2
  import { createSelector } from "@reduxjs/toolkit";
3
3
  import { invariant } from "ts-invariant";
4
+ import { resolveWeekStart, } from "@gooddata/sdk-model";
4
5
  const selectSelf = createSelector((state) => state, (state) => state.config);
5
6
  /**
6
7
  * Returns dashboard's config.
@@ -108,15 +109,7 @@ export const selectMaxZoomLevel = createSelector(selectConfig, (state) => {
108
109
  *
109
110
  * @internal
110
111
  */
111
- export const selectWeekStart = createSelector(selectConfig, (state) => {
112
- if (state.settings == null) {
113
- return "Sunday";
114
- }
115
- if (state.settings["enableNewUIWeekStartChange"] && state.settings["weekStartOnMondayEnabled"]) {
116
- return "Monday";
117
- }
118
- return state.settings?.weekStart ?? "Sunday";
119
- });
112
+ export const selectWeekStart = createSelector(selectConfig, (state) => resolveWeekStart(state.settings));
120
113
  /**
121
114
  * Returns whether the Dashboard is executed in read-only mode.
122
115
  *
@@ -331,22 +324,6 @@ export const selectEnableKda = createSelector(selectConfig, (state) => {
331
324
  export const selectEnableImmediateAttributeFilterDisplayAsLabelMigration = createSelector(selectConfig, (state) => {
332
325
  return state.settings?.enableImmediateAttributeFilterDisplayAsLabelMigration ?? false;
333
326
  });
334
- /**
335
- * Returns whether arbitrary text filter mode is enabled in dashboards.
336
- *
337
- * @alpha
338
- */
339
- export const selectEnableArbitraryFilterKD = createSelector(selectConfig, (state) => {
340
- return state.settings?.enableArbitraryFilterKD ?? true;
341
- });
342
- /**
343
- * Returns whether match text filter mode is enabled in dashboards.
344
- *
345
- * @alpha
346
- */
347
- export const selectEnableMatchFilterKD = createSelector(selectConfig, (state) => {
348
- return state.settings?.enableMatchFilterKD ?? true;
349
- });
350
327
  /**
351
328
  * Returns whether measure value (numeric) filter is enabled in dashboards.
352
329
  *
@@ -355,25 +332,17 @@ export const selectEnableMatchFilterKD = createSelector(selectConfig, (state) =>
355
332
  export const selectEnableMeasureValueFilterKD = createSelector(selectConfig, (state) => {
356
333
  return state.settings?.enableMeasureValueFilterKD ?? true;
357
334
  });
335
+ const AVAILABLE_ATTRIBUTE_FILTER_SELECTION_TYPES = [
336
+ "elements",
337
+ "arbitrary",
338
+ "match",
339
+ ];
358
340
  /**
359
- * Returns available attribute filter modes based on feature flags.
360
- *
361
- * @remarks
362
- * Always includes "elements" mode. Adds "arbitrary" and/or "match" when
363
- * the corresponding feature flags are enabled.
341
+ * Returns available attribute filter modes.
364
342
  *
365
343
  * @alpha
366
344
  */
367
- export const selectAvailableAttributeFilterSelectionTypes = createSelector(selectEnableArbitraryFilterKD, selectEnableMatchFilterKD, (arbitraryEnabled, matchEnabled) => {
368
- const modes = ["elements"];
369
- if (arbitraryEnabled) {
370
- modes.push("arbitrary");
371
- }
372
- if (matchEnabled) {
373
- modes.push("match");
374
- }
375
- return modes;
376
- });
345
+ export const selectAvailableAttributeFilterSelectionTypes = () => AVAILABLE_ATTRIBUTE_FILTER_SELECTION_TYPES;
377
346
  /**
378
347
  * Returns whether semantic search is enabled.
379
348
  *
@@ -11,9 +11,8 @@ export declare function AlertingDialogRenderer({ alertToEdit, users, usersError,
11
11
  * wholesale slot replacement, inherit the contexts automatically and require no extra wiring.
12
12
  *
13
13
  * The providers are intentionally hoisted above the slot rather than built inside this component:
14
- * that is what lets a wholesale replacement receive the same contexts (see the Phase-2 boundary in
15
- * `docs/tasks/26Q1 - Automation Dialog Separation.md`). Rendering this component outside those
16
- * providers throws at runtime.
14
+ * that is what lets a wholesale replacement receive the same contexts. Rendering this component
15
+ * outside those providers throws at runtime.
17
16
  *
18
17
  * @alpha
19
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AA0CA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AA4BxD,wBAAgB,sBAAsB,CAAC,EACnC,WAAW,EACX,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EAChB,EAAE,oBAAoB,2CA6iBtB;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,oBAAoB,2CAahE"}
1
+ {"version":3,"file":"DefaultAlertingDialog.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.tsx"],"names":[],"mappings":"AA0CA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AA4BxD,wBAAgB,sBAAsB,CAAC,EACnC,WAAW,EACX,KAAK,EACL,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,MAAM,EACN,QAAQ,EACR,eAAe,EACf,aAAa,EACb,OAAO,EACP,SAAS,EACT,WAAW,EACX,aAAa,EAChB,EAAE,oBAAoB,2CA6iBtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,oBAAoB,2CAahE"}