@gooddata/sdk-ui-dashboard 10.7.0-alpha.1 → 10.7.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 (116) 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/_staging/sharedHooks/useCommonDateFilterTitle.d.ts.map +1 -0
  6. package/esm/{presentation/filterBar/dateFilter → _staging/sharedHooks}/useCommonDateFilterTitle.js +1 -1
  7. package/esm/_staging/sharedHooks/useCommonDateFilterTitle.js.map +1 -0
  8. package/esm/_staging/sharedHooks/useDateFiltersTitles.d.ts +4 -0
  9. package/esm/_staging/sharedHooks/useDateFiltersTitles.d.ts.map +1 -0
  10. package/esm/_staging/sharedHooks/useDateFiltersTitles.js +21 -0
  11. package/esm/_staging/sharedHooks/useDateFiltersTitles.js.map +1 -0
  12. package/esm/locales.d.ts.map +1 -1
  13. package/esm/locales.js +0 -18
  14. package/esm/locales.js.map +1 -1
  15. package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts +6 -1
  16. package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts.map +1 -1
  17. package/esm/model/commandHandlers/drill/common/intersectionUtils.js +19 -9
  18. package/esm/model/commandHandlers/drill/common/intersectionUtils.js.map +1 -1
  19. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts +1 -1
  20. package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
  21. package/esm/model/commandHandlers/drill/crossFilteringHandler.js +8 -6
  22. package/esm/model/commandHandlers/drill/crossFilteringHandler.js.map +1 -1
  23. package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
  24. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +16 -6
  25. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
  26. package/esm/model/commands/scheduledEmail.d.ts +9 -9
  27. package/esm/model/commands/scheduledEmail.d.ts.map +1 -1
  28. package/esm/model/commands/scheduledEmail.js +6 -6
  29. package/esm/model/commands/scheduledEmail.js.map +1 -1
  30. package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
  31. package/esm/model/react/useDashboardScheduledEmails.js +1 -1
  32. package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
  33. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js +1 -1
  34. package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js.map +1 -1
  35. package/esm/presentation/localization/bundles/en-US.json +33 -198
  36. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  37. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +1 -1
  38. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  39. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts +30 -0
  40. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts.map +1 -0
  41. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js +76 -0
  42. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +1 -0
  43. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts +8 -0
  44. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts.map +1 -0
  45. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js +14 -0
  46. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js.map +1 -0
  47. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.d.ts +4 -2
  48. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.d.ts.map +1 -1
  49. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js +44 -9
  50. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js.map +1 -1
  51. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts +0 -18
  52. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts.map +1 -1
  53. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js +0 -18
  54. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js.map +1 -1
  55. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts +38 -0
  56. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts.map +1 -0
  57. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js +114 -0
  58. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js.map +1 -0
  59. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.d.ts.map +1 -1
  60. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.js +3 -7
  61. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.js.map +1 -1
  62. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -2
  63. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  64. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +37 -18
  65. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
  66. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +1 -1
  67. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js +9 -6
  68. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js.map +1 -1
  69. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.d.ts +2 -2
  70. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.d.ts.map +1 -1
  71. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.js +2 -2
  72. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.js.map +1 -1
  73. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.d.ts +5 -0
  74. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.d.ts.map +1 -0
  75. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.js +31 -0
  76. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.js.map +1 -0
  77. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.d.ts +0 -9
  78. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.d.ts.map +1 -1
  79. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.js +0 -38
  80. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.js.map +1 -1
  81. package/esm/sdk-ui-dashboard.d.ts +8 -8
  82. package/package.json +15 -15
  83. package/styles/css/dashboard.css +80 -356
  84. package/styles/css/dashboard.css.map +1 -1
  85. package/styles/css/main.css +80 -356
  86. package/styles/css/main.css.map +1 -1
  87. package/styles/css/scheduled_mail.css +80 -356
  88. package/styles/css/scheduled_mail.css.map +1 -1
  89. package/styles/scss/scheduled_mail.scss +85 -390
  90. package/esm/presentation/filterBar/dateFilter/useCommonDateFilterTitle.d.ts.map +0 -1
  91. package/esm/presentation/filterBar/dateFilter/useCommonDateFilterTitle.js.map +0 -1
  92. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.d.ts +0 -31
  93. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.d.ts.map +0 -1
  94. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.js +0 -28
  95. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.js.map +0 -1
  96. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.d.ts +0 -98
  97. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.d.ts.map +0 -1
  98. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.js +0 -11
  99. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.js.map +0 -1
  100. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.d.ts +0 -12
  101. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.d.ts.map +0 -1
  102. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.js +0 -44
  103. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.js.map +0 -1
  104. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.d.ts +0 -3
  105. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.d.ts.map +0 -1
  106. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.js +0 -24
  107. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.js.map +0 -1
  108. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.d.ts +0 -4
  109. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.d.ts.map +0 -1
  110. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.js +0 -69
  111. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.js.map +0 -1
  112. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts +0 -15
  113. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts.map +0 -1
  114. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.js +0 -10
  115. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.js.map +0 -1
  116. /package/esm/{presentation/filterBar/dateFilter → _staging/sharedHooks}/useCommonDateFilterTitle.d.ts +0 -0
@@ -38,26 +38,6 @@ $min-content-height: 110px;
38
38
  .gd-dialog-footer {
39
39
  display: flex;
40
40
  }
41
-
42
- .gd-schedule-email-dialog-filters-message {
43
- margin-top: -5px;
44
- margin-bottom: $vertical-space;
45
- }
46
- }
47
-
48
- .gd-schedule-email-dialog-unsubscribed-recipients {
49
- margin-top: -5px;
50
- margin-left: 105px;
51
- overflow: hidden;
52
- width: 100%;
53
- line-height: 16px;
54
- white-space: normal;
55
- font-size: 12px;
56
- color: kit-variables.$gd-color-link;
57
-
58
- @media #{kit-variables.$small-only} {
59
- margin-left: 0;
60
- }
61
41
  }
62
42
 
63
43
  .gd-input-component {
@@ -106,30 +86,6 @@ $min-content-height: 110px;
106
86
  }
107
87
  }
108
88
 
109
- .gd-attachment-component {
110
- @media #{kit-variables.$medium-up} {
111
- align-items: flex-start;
112
- }
113
-
114
- .gd-attachment-name {
115
- flex: 1;
116
- padding-left: 7px;
117
-
118
- @media #{kit-variables.$medium-up} {
119
- margin-top: 3px;
120
- word-break: break-all;
121
- }
122
- }
123
-
124
- .gd-icon-pdf {
125
- position: relative;
126
- top: 1px;
127
- flex: 0;
128
- padding: 0;
129
- margin-top: 3px;
130
- }
131
- }
132
-
133
89
  .gd-schedule-email-attachments {
134
90
  @media #{kit-variables.$medium-up} {
135
91
  align-items: flex-start;
@@ -140,25 +96,34 @@ $min-content-height: 110px;
140
96
  line-height: 30px;
141
97
  }
142
98
 
143
- .gd-attachment-config-button {
144
- display: inline-block;
145
- margin: 10px 20px 0 0;
146
- }
147
-
148
- .gd-dashboard-attachment-list {
99
+ .gd-attachment-list {
100
+ display: flex;
101
+ flex-direction: row;
102
+ align-items: baseline;
149
103
  flex: 1;
150
104
  overflow: hidden;
151
105
  margin: -2px 0;
106
+ flex-wrap: wrap;
152
107
 
153
108
  @media #{kit-variables.$small-only} {
154
109
  max-width: none;
155
110
  }
111
+ }
156
112
 
157
- &-content {
158
- display: flex;
159
- flex-wrap: wrap;
160
- overflow: hidden;
161
- margin: 0 -5px;
113
+ .gd-attachment-list-message {
114
+ display: flex;
115
+ flex-basis: 100%;
116
+ margin-top: 10px;
117
+ }
118
+
119
+ .gd-attachment-filters-dropdown-button {
120
+ display: flex;
121
+ align-items: baseline;
122
+ height: 28px;
123
+
124
+ .gd-button-link-dimmed {
125
+ border: none;
126
+ box-shadow: none;
162
127
  }
163
128
  }
164
129
 
@@ -208,143 +173,85 @@ $min-content-height: 110px;
208
173
  }
209
174
  }
210
175
 
211
- .gd-schedule-email-dialog-datetime,
212
- .gd-schedule-email-dialog-repeat {
213
- align-items: flex-start;
214
- flex-direction: row;
176
+ .gd-attachment-filters-dropdown {
177
+ width: 245px;
178
+ max-height: 350px;
215
179
 
216
- @media #{kit-variables.$small-only} {
217
- .gd-label {
218
- margin-bottom: 0;
219
- }
220
- }
221
-
222
- > div {
223
- display: flex;
224
- align-items: center;
225
- flex-wrap: wrap;
226
- }
227
- }
228
-
229
- .gd-schedule-email-dialog-datetime {
230
- > div {
231
- .gd-datepicker {
232
- width: 119px;
233
-
234
- @media #{kit-variables.$small-only} {
235
- width: calc(50% - 10px);
236
- }
237
-
238
- .input-text {
239
- @include input-styles;
240
- }
241
-
242
- .input-text:hover {
243
- color: var(--gd-palette-complementary-8, inherit);
244
- }
245
-
246
- .gd-datepicker-icon {
247
- top: -2px;
248
- }
249
- }
250
-
251
- .gd-schedule-email-dialog-datetime-date input {
252
- height: $input-height;
253
- }
254
-
255
- .gd-schedule-email-dialog-datetime-time {
256
- margin-left: $horizontal-space;
257
-
258
- button {
259
- height: $input-height;
260
- }
261
- }
262
-
263
- .gd-schedule-email-dialog-datetime-timezone {
264
- @media #{kit-variables.$small-only} {
265
- width: 100%;
266
- margin-top: 15px;
267
- }
268
-
269
- @media #{kit-variables.$medium-up} {
270
- margin-left: $horizontal-space;
271
- }
272
- }
180
+ .gd-list-title {
181
+ line-height: normal;
273
182
  }
274
- }
275
183
 
276
- .gd-automation-cron-input {
277
- margin-left: 10px;
278
- }
184
+ .gd-close-button {
185
+ position: absolute;
186
+ top: 5px;
187
+ right: 5px;
188
+ outline: none;
279
189
 
280
- .gd-schedule-email-dialog-repeat {
281
- @media #{kit-variables.$small-only} {
282
- .gd-schedule-email-dialog-repeat-type {
283
- width: 100%;
284
- margin-bottom: $vertical-space;
285
-
286
- .button-dropdown {
287
- width: 100%;
288
- }
289
- }
290
- }
291
-
292
- .gd-schedule-email-dialog-repeat-type {
293
- button {
294
- height: $input-height;
190
+ .gd-button-link.gd-button-icon-only::before {
191
+ font-size: 14px;
295
192
  }
296
193
  }
297
194
 
298
- .gd-schedule-email-dialog-repeat-custom {
195
+ .gd-attachment-filters-dropdown-content {
299
196
  display: flex;
300
- align-items: center;
197
+ flex-direction: column;
198
+ padding: 10px;
301
199
 
302
- @media #{kit-variables.$small-only} {
303
- flex-wrap: wrap;
304
- border-left: 2px dotted kit-variables.$gd-border-color;
200
+ > :first-child {
201
+ margin-bottom: 5px;
305
202
  }
306
203
 
307
- .gd-schedule-email-dialog-repeat-every {
308
- margin-left: $horizontal-space;
204
+ > :last-child {
205
+ margin-top: 5px;
309
206
  }
310
207
 
311
- .gd-schedule-email-dialog-repeat-period {
312
- margin-left: $horizontal-space;
313
-
314
- .gd-input-field {
315
- @include input-styles;
316
-
317
- width: 24px;
318
- height: $input-height;
319
- text-align: center;
320
- padding-right: 0;
321
- padding-left: 0;
322
- }
208
+ .gd-icon-circle-question {
209
+ position: relative;
210
+ top: 2px;
211
+ padding: 5px;
212
+ color: kit-variables.$gd-color-state-blank;
323
213
  }
324
214
 
325
- .gd-schedule-email-dialog-repeat-frequency {
326
- margin-left: $horizontal-space;
327
-
328
- button {
329
- height: $input-height;
330
- }
215
+ .gd-attachment-filters-list {
216
+ display: flex;
217
+ flex-direction: column;
218
+ gap: 10px;
219
+ border-left: 2px dotted kit-variables.$gd-border-color;
220
+ padding: 0 10px;
221
+ margin-left: 6px;
222
+ max-height: 190px;
223
+ overflow-y: auto;
224
+ margin-right: -10px;
331
225
  }
332
226
 
333
- @media #{kit-variables.$small-only} {
334
- .break-the-row {
335
- height: 0;
336
- flex-basis: 100%;
337
- }
227
+ .gd-attachment-filters-list-item-title {
228
+ text-overflow: ellipsis;
229
+ white-space: nowrap;
230
+ overflow: hidden;
231
+ color: kit-variables.$gd-color-link;
232
+ font-size: 12px;
233
+ font-style: normal;
234
+ font-weight: 400;
235
+ line-height: normal;
338
236
  }
339
237
 
340
- .gd-schedule-email-dialog-repeat-execute-on {
341
- margin-left: $horizontal-space;
342
-
343
- @media #{kit-variables.$small-only} {
344
- margin-top: $vertical-space;
345
- }
238
+ .gd-attachment-filters-list-item-subtitle {
239
+ text-overflow: ellipsis;
240
+ white-space: nowrap;
241
+ overflow: hidden;
242
+ color: kit-variables.$gd-color-text;
243
+ font-size: 12px;
244
+ font-style: normal;
245
+ font-weight: bold;
246
+ line-height: normal;
346
247
  }
347
248
  }
249
+
250
+ .gd-attachment-filters-dropdown-footer {
251
+ display: flex;
252
+ justify-content: end;
253
+ padding: 10px;
254
+ }
348
255
  }
349
256
 
350
257
  .gd-scheduled-email-management-dialog {
@@ -615,224 +522,6 @@ $min-content-height: 110px;
615
522
  }
616
523
  }
617
524
 
618
- .gd-schedule-email-dialog-attachments {
619
- display: flex;
620
- flex-direction: row;
621
- flex-wrap: wrap;
622
- margin: 0 -10px;
623
-
624
- & > div {
625
- margin: 5px 10px;
626
- }
627
- }
628
-
629
- .gd-schedule-dropdown {
630
- &-button {
631
- display: flex;
632
- align-items: center;
633
- height: 30px;
634
- margin: 0;
635
- padding: 0;
636
- border: none;
637
- outline: inherit;
638
- font: inherit;
639
- color: kit-variables.$gd-color-link;
640
- background: none;
641
- text-decoration: underline;
642
- font-size: 14px;
643
- cursor: pointer;
644
-
645
- &-icon {
646
- display: flex;
647
- flex-direction: row;
648
- justify-content: center;
649
- align-items: center;
650
- height: 100%;
651
- margin-right: 6px;
652
- flex-shrink: 0;
653
- }
654
-
655
- &-disabled {
656
- color: kit-variables.$gd-color-disabled;
657
-
658
- svg {
659
- fill: kit-variables.$gd-color-disabled;
660
- }
661
-
662
- &:hover {
663
- color: kit-variables.$gd-color-disabled;
664
- }
665
- }
666
- }
667
-
668
- &-body {
669
- display: flex;
670
- flex-direction: column;
671
- height: inherit;
672
- font-size: 12px;
673
-
674
- @media #{kit-variables.$small-only} {
675
- width: 100vw;
676
- max-height: calc(100vh - 30px);
677
- }
678
- }
679
-
680
- &-header {
681
- display: flex;
682
- flex: 0 0 auto;
683
- align-items: center;
684
- padding-left: 10px;
685
- padding-right: 10px;
686
- overflow: hidden;
687
- height: 35px;
688
- white-space: nowrap;
689
- color: kit-variables.$gd-color-state-blank;
690
- background: kit-variables.$is-focused-background;
691
- text-overflow: ellipsis;
692
- text-transform: uppercase;
693
- font-size: 11px;
694
- font-weight: bold;
695
- }
696
-
697
- &-content {
698
- flex: 0 0 auto;
699
- overflow-y: auto;
700
- max-height: 200px;
701
-
702
- @media #{kit-variables.$small-only} {
703
- overflow: auto;
704
- height: calc(100vh - 113px);
705
- max-height: calc(100vh - 113px);
706
- }
707
- }
708
-
709
- &-footer {
710
- flex: 0 0 auto;
711
- height: 47px;
712
- padding: 10px;
713
- border-top: 1px solid kit-variables.$gd-border-color;
714
- text-align: right;
715
- }
716
- }
717
-
718
- .gd-format-options-dropdown {
719
- padding: 10px;
720
- min-width: 253px;
721
-
722
- @media #{kit-variables.$small-only} {
723
- width: 100%;
724
- min-width: none;
725
- }
726
-
727
- &-selector {
728
- display: flex;
729
- flex-direction: row;
730
- align-items: center;
731
- height: $input-height;
732
-
733
- & > div {
734
- margin-left: 15px;
735
- }
736
- }
737
- }
738
-
739
- .gd-format-options-dropdown-xlsx {
740
- display: flex;
741
- flex-direction: column;
742
- border-left: 1px dashed kit-variables.$gd-color-link;
743
- padding-left: 10px;
744
- margin-top: 5px;
745
- font-size: 14px;
746
- color: kit-variables.$gd-color-text;
747
-
748
- & > div:not(:first-child) {
749
- margin-top: 10px;
750
- }
751
-
752
- & > div {
753
- display: flex;
754
- align-items: center;
755
- height: $input-height;
756
-
757
- & > label {
758
- display: flex;
759
- align-items: center;
760
- width: 100%;
761
- padding-right: 0;
762
-
763
- & > span {
764
- margin-left: 4px;
765
- white-space: nowrap;
766
- }
767
- }
768
- }
769
- }
770
-
771
- .gd-attachments-selection-dropdown {
772
- width: 253px;
773
- padding: 10px;
774
-
775
- @media #{kit-variables.$small-only} {
776
- width: 100%;
777
- }
778
-
779
- h3 {
780
- flex-grow: 2;
781
- position: relative;
782
- overflow: hidden;
783
- height: 23px;
784
- margin-top: 5px;
785
- margin-bottom: 5px;
786
- font-size: 11px;
787
- font-weight: bold;
788
- text-transform: uppercase;
789
- color: kit-variables.$gd-color-state-blank;
790
-
791
- &::after {
792
- content: "";
793
- position: absolute;
794
- top: 50%;
795
- display: inline-block;
796
- width: 100%;
797
- height: 0;
798
- margin-left: 10px;
799
- border-top: 1px solid kit-variables.$gd-color-state-blank;
800
- }
801
- }
802
-
803
- & > div:not(:last-child) {
804
- margin-bottom: 10px;
805
- }
806
-
807
- & > div {
808
- display: flex;
809
- align-items: center;
810
- overflow: hidden;
811
- height: $input-height;
812
-
813
- & > label {
814
- display: flex;
815
- align-items: center;
816
- overflow: hidden;
817
- width: 100%;
818
- padding-right: 0;
819
-
820
- & > svg {
821
- margin-left: 4px;
822
- margin-right: 6px;
823
- flex-shrink: 0;
824
- }
825
-
826
- & > span {
827
- overflow: hidden;
828
- white-space: nowrap;
829
- text-overflow: ellipsis;
830
- margin-left: 4px;
831
- }
832
- }
833
- }
834
- }
835
-
836
525
  .gd-schedule-mail-dialog-content-wrapper {
837
526
  background: variables.$dialog-background;
838
527
  margin: 0 (-$dialog-padding);
@@ -844,8 +533,14 @@ $min-content-height: 110px;
844
533
  margin-bottom: $vertical-space;
845
534
  }
846
535
 
536
+ .gd-divider-without-margin {
537
+ margin-top: 0;
538
+ margin-bottom: 0;
539
+ }
540
+
847
541
  .gd-divider-full-row {
848
- margin: 0 (-$dialog-padding) $vertical-space;
542
+ margin-left: -$dialog-padding;
543
+ margin-right: -$dialog-padding;
849
544
  }
850
545
 
851
546
  .gd-schedule-email-dialog-destination-empty {
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCommonDateFilterTitle.d.ts","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/useCommonDateFilterTitle.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAIvC,eAAO,MAAM,wBAAwB,SAAU,SAAS,WAIvD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useCommonDateFilterTitle.js","sourceRoot":"","sources":["../../../../src/presentation/filterBar/dateFilter/useCommonDateFilterTitle.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAIhC,OAAO,EAAE,+BAA+B,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEhG,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,IAAe,EAAE,EAAE;IACxD,MAAM,YAAY,GAAG,oBAAoB,CAAC,+BAA+B,CAAC,CAAC;IAE3E,OAAO,YAAY,EAAE,UAAU,IAAI,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,0BAA0B,EAAE,CAAC,CAAC;AAC9F,CAAC,CAAC"}
@@ -1,31 +0,0 @@
1
- import { IAnalyticalBackend } from "@gooddata/sdk-backend-spi";
2
- import { IWorkspaceUser } from "@gooddata/sdk-model";
3
- import { GoodDataSdkError, UseCancelablePromiseCallbacks, UseCancelablePromiseState } from "@gooddata/sdk-ui";
4
- interface IUseWorkspaceUsersConfig extends UseCancelablePromiseCallbacks<IWorkspaceUser[], GoodDataSdkError> {
5
- /**
6
- * Option to filter users by the provided string.
7
- */
8
- search?: string;
9
- /**
10
- * Backend to work with.
11
- *
12
- * Note: the backend must come either from this property or from BackendContext. If you do not specify
13
- * backend here, then the hook MUST be called within an existing BackendContext.
14
- */
15
- backend?: IAnalyticalBackend;
16
- /**
17
- * Workspace to work with.
18
- *
19
- * Note: the workspace must come either from this property or from WorkspaceContext. If you do not specify
20
- * workspace here, then the hook MUST be called within an existing WorkspaceContext.
21
- */
22
- workspace?: string;
23
- }
24
- /**
25
- * Hook allowing to download workspace users
26
- * @param config - configuration of the hook
27
- * @internal
28
- */
29
- export declare function useWorkspaceUsers({ search, backend, workspace, onCancel, onError, onLoading, onPending, onSuccess, }: IUseWorkspaceUsersConfig): UseCancelablePromiseState<IWorkspaceUser[], any>;
30
- export {};
31
- //# sourceMappingURL=useWorkspaceUsers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWorkspaceUsers.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EACH,gBAAgB,EAGhB,6BAA6B,EAC7B,yBAAyB,EAE5B,MAAM,kBAAkB,CAAC;AAI1B,UAAU,wBAAyB,SAAQ,6BAA6B,CAAC,cAAc,EAAE,EAAE,gBAAgB,CAAC;IACxG;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAC9B,MAAM,EACN,OAAO,EACP,SAAS,EACT,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GACZ,EAAE,wBAAwB,GAAG,yBAAyB,CAAC,cAAc,EAAE,EAAE,GAAG,CAAC,CAqB7E"}
@@ -1,28 +0,0 @@
1
- import { useBackendStrict, useCancelablePromise, useWorkspaceStrict, } from "@gooddata/sdk-ui";
2
- import { useDashboardSelector, selectCanListUsersInWorkspace } from "../../../../model/index.js";
3
- /**
4
- * Hook allowing to download workspace users
5
- * @param config - configuration of the hook
6
- * @internal
7
- */
8
- export function useWorkspaceUsers({ search, backend, workspace, onCancel, onError, onLoading, onPending, onSuccess, }) {
9
- const effectiveBackend = useBackendStrict(backend);
10
- const effectiveWorkspace = useWorkspaceStrict(workspace);
11
- const canListUsersInWorkspace = useDashboardSelector(selectCanListUsersInWorkspace);
12
- // if the user cannot list the users, do not even try and resolve to an empty array
13
- const promise = canListUsersInWorkspace
14
- ? () => {
15
- let loader = effectiveBackend.workspace(effectiveWorkspace).users();
16
- if (search) {
17
- loader = loader.withOptions({ search: `%${search}` });
18
- }
19
- return loader.queryAll();
20
- }
21
- : () => Promise.resolve([]);
22
- return useCancelablePromise({ promise, onCancel, onError, onLoading, onPending, onSuccess }, [
23
- effectiveBackend,
24
- effectiveWorkspace,
25
- search,
26
- ]);
27
- }
28
- //# sourceMappingURL=useWorkspaceUsers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWorkspaceUsers.js","sourceRoot":"","sources":["../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.ts"],"names":[],"mappings":"AAGA,OAAO,EAEH,gBAAgB,EAChB,oBAAoB,EAGpB,kBAAkB,GACrB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAyBjG;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,EAC9B,MAAM,EACN,OAAO,EACP,SAAS,EACT,QAAQ,EACR,OAAO,EACP,SAAS,EACT,SAAS,EACT,SAAS,GACc;IACvB,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACnD,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,SAAS,CAAC,CAAC;IACzD,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,6BAA6B,CAAC,CAAC;IAEpF,mFAAmF;IACnF,MAAM,OAAO,GAAG,uBAAuB;QACnC,CAAC,CAAC,GAAG,EAAE;YACD,IAAI,MAAM,GAAG,gBAAgB,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,KAAK,EAAE,CAAC;YACpE,IAAI,MAAM,EAAE,CAAC;gBACT,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,EAAE,EAAE,CAAC,CAAC;YAC1D,CAAC;YACD,OAAO,MAAM,CAAC,QAAQ,EAAE,CAAC;QAC7B,CAAC;QACH,CAAC,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;IAEhC,OAAO,oBAAoB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE;QACzF,gBAAgB;QAChB,kBAAkB;QAClB,MAAM;KACT,CAAC,CAAC;AACP,CAAC"}