@gooddata/sdk-ui-dashboard 10.7.0-alpha.4 → 10.7.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +0 -18
- package/esm/locales.js.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +0 -205
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts +0 -19
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js +0 -19
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.d.ts +5 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.js +31 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationFilters.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.d.ts +0 -9
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.js +0 -38
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/utils.js.map +1 -1
- package/package.json +15 -15
- package/styles/css/dashboard.css +3 -370
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/main.css +3 -370
- package/styles/css/main.css.map +1 -1
- package/styles/css/scheduled_mail.css +3 -370
- package/styles/css/scheduled_mail.css.map +1 -1
- package/styles/scss/scheduled_mail.scss +3 -413
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.d.ts +0 -31
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.js +0 -28
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.d.ts +0 -98
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.js +0 -11
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.d.ts +0 -12
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.js +0 -44
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/getAutomationFilters.d.ts +0 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/getAutomationFilters.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/getAutomationFilters.js +0 -13
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/getAutomationFilters.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.d.ts +0 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.js +0 -24
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailRecipients.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.d.ts +0 -4
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.js +0 -69
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/scheduledMailSummary.js.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts +0 -15
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.d.ts.map +0 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.js +0 -10
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/stripLocalIdentifierFromFilters.js.map +0 -1
|
@@ -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,11 +96,6 @@ $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
99
|
.gd-attachment-list {
|
|
149
100
|
display: flex;
|
|
150
101
|
flex-direction: row;
|
|
@@ -157,13 +108,6 @@ $min-content-height: 110px;
|
|
|
157
108
|
@media #{kit-variables.$small-only} {
|
|
158
109
|
max-width: none;
|
|
159
110
|
}
|
|
160
|
-
|
|
161
|
-
&-content {
|
|
162
|
-
display: flex;
|
|
163
|
-
flex-wrap: wrap;
|
|
164
|
-
overflow: hidden;
|
|
165
|
-
margin: 0 -5px;
|
|
166
|
-
}
|
|
167
111
|
}
|
|
168
112
|
|
|
169
113
|
.gd-attachment-list-message {
|
|
@@ -281,6 +225,9 @@ $min-content-height: 110px;
|
|
|
281
225
|
}
|
|
282
226
|
|
|
283
227
|
.gd-attachment-filters-list-item-title {
|
|
228
|
+
text-overflow: ellipsis;
|
|
229
|
+
white-space: nowrap;
|
|
230
|
+
overflow: hidden;
|
|
284
231
|
color: kit-variables.$gd-color-link;
|
|
285
232
|
font-size: 12px;
|
|
286
233
|
font-style: normal;
|
|
@@ -307,145 +254,6 @@ $min-content-height: 110px;
|
|
|
307
254
|
}
|
|
308
255
|
}
|
|
309
256
|
|
|
310
|
-
.gd-schedule-email-dialog-datetime,
|
|
311
|
-
.gd-schedule-email-dialog-repeat {
|
|
312
|
-
align-items: flex-start;
|
|
313
|
-
flex-direction: row;
|
|
314
|
-
|
|
315
|
-
@media #{kit-variables.$small-only} {
|
|
316
|
-
.gd-label {
|
|
317
|
-
margin-bottom: 0;
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
> div {
|
|
322
|
-
display: flex;
|
|
323
|
-
align-items: center;
|
|
324
|
-
flex-wrap: wrap;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
.gd-schedule-email-dialog-datetime {
|
|
329
|
-
> div {
|
|
330
|
-
.gd-datepicker {
|
|
331
|
-
width: 119px;
|
|
332
|
-
|
|
333
|
-
@media #{kit-variables.$small-only} {
|
|
334
|
-
width: calc(50% - 10px);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.input-text {
|
|
338
|
-
@include input-styles;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.input-text:hover {
|
|
342
|
-
color: var(--gd-palette-complementary-8, inherit);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.gd-datepicker-icon {
|
|
346
|
-
top: -2px;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
.gd-schedule-email-dialog-datetime-date input {
|
|
351
|
-
height: $input-height;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.gd-schedule-email-dialog-datetime-time {
|
|
355
|
-
margin-left: $horizontal-space;
|
|
356
|
-
|
|
357
|
-
button {
|
|
358
|
-
height: $input-height;
|
|
359
|
-
}
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.gd-schedule-email-dialog-datetime-timezone {
|
|
363
|
-
@media #{kit-variables.$small-only} {
|
|
364
|
-
width: 100%;
|
|
365
|
-
margin-top: 15px;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
@media #{kit-variables.$medium-up} {
|
|
369
|
-
margin-left: $horizontal-space;
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
.gd-automation-cron-input {
|
|
376
|
-
margin-left: 10px;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.gd-schedule-email-dialog-repeat {
|
|
380
|
-
@media #{kit-variables.$small-only} {
|
|
381
|
-
.gd-schedule-email-dialog-repeat-type {
|
|
382
|
-
width: 100%;
|
|
383
|
-
margin-bottom: $vertical-space;
|
|
384
|
-
|
|
385
|
-
.button-dropdown {
|
|
386
|
-
width: 100%;
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
.gd-schedule-email-dialog-repeat-type {
|
|
392
|
-
button {
|
|
393
|
-
height: $input-height;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
.gd-schedule-email-dialog-repeat-custom {
|
|
398
|
-
display: flex;
|
|
399
|
-
align-items: center;
|
|
400
|
-
|
|
401
|
-
@media #{kit-variables.$small-only} {
|
|
402
|
-
flex-wrap: wrap;
|
|
403
|
-
border-left: 2px dotted kit-variables.$gd-border-color;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
.gd-schedule-email-dialog-repeat-every {
|
|
407
|
-
margin-left: $horizontal-space;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
.gd-schedule-email-dialog-repeat-period {
|
|
411
|
-
margin-left: $horizontal-space;
|
|
412
|
-
|
|
413
|
-
.gd-input-field {
|
|
414
|
-
@include input-styles;
|
|
415
|
-
|
|
416
|
-
width: 24px;
|
|
417
|
-
height: $input-height;
|
|
418
|
-
text-align: center;
|
|
419
|
-
padding-right: 0;
|
|
420
|
-
padding-left: 0;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
.gd-schedule-email-dialog-repeat-frequency {
|
|
425
|
-
margin-left: $horizontal-space;
|
|
426
|
-
|
|
427
|
-
button {
|
|
428
|
-
height: $input-height;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
@media #{kit-variables.$small-only} {
|
|
433
|
-
.break-the-row {
|
|
434
|
-
height: 0;
|
|
435
|
-
flex-basis: 100%;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
.gd-schedule-email-dialog-repeat-execute-on {
|
|
440
|
-
margin-left: $horizontal-space;
|
|
441
|
-
|
|
442
|
-
@media #{kit-variables.$small-only} {
|
|
443
|
-
margin-top: $vertical-space;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
257
|
.gd-scheduled-email-management-dialog {
|
|
450
258
|
display: flex;
|
|
451
259
|
flex-direction: column;
|
|
@@ -714,224 +522,6 @@ $min-content-height: 110px;
|
|
|
714
522
|
}
|
|
715
523
|
}
|
|
716
524
|
|
|
717
|
-
.gd-schedule-email-dialog-attachments {
|
|
718
|
-
display: flex;
|
|
719
|
-
flex-direction: row;
|
|
720
|
-
flex-wrap: wrap;
|
|
721
|
-
margin: 0 -10px;
|
|
722
|
-
|
|
723
|
-
& > div {
|
|
724
|
-
margin: 5px 10px;
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
.gd-schedule-dropdown {
|
|
729
|
-
&-button {
|
|
730
|
-
display: flex;
|
|
731
|
-
align-items: center;
|
|
732
|
-
height: 30px;
|
|
733
|
-
margin: 0;
|
|
734
|
-
padding: 0;
|
|
735
|
-
border: none;
|
|
736
|
-
outline: inherit;
|
|
737
|
-
font: inherit;
|
|
738
|
-
color: kit-variables.$gd-color-link;
|
|
739
|
-
background: none;
|
|
740
|
-
text-decoration: underline;
|
|
741
|
-
font-size: 14px;
|
|
742
|
-
cursor: pointer;
|
|
743
|
-
|
|
744
|
-
&-icon {
|
|
745
|
-
display: flex;
|
|
746
|
-
flex-direction: row;
|
|
747
|
-
justify-content: center;
|
|
748
|
-
align-items: center;
|
|
749
|
-
height: 100%;
|
|
750
|
-
margin-right: 6px;
|
|
751
|
-
flex-shrink: 0;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
&-disabled {
|
|
755
|
-
color: kit-variables.$gd-color-disabled;
|
|
756
|
-
|
|
757
|
-
svg {
|
|
758
|
-
fill: kit-variables.$gd-color-disabled;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
&:hover {
|
|
762
|
-
color: kit-variables.$gd-color-disabled;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
&-body {
|
|
768
|
-
display: flex;
|
|
769
|
-
flex-direction: column;
|
|
770
|
-
height: inherit;
|
|
771
|
-
font-size: 12px;
|
|
772
|
-
|
|
773
|
-
@media #{kit-variables.$small-only} {
|
|
774
|
-
width: 100vw;
|
|
775
|
-
max-height: calc(100vh - 30px);
|
|
776
|
-
}
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
&-header {
|
|
780
|
-
display: flex;
|
|
781
|
-
flex: 0 0 auto;
|
|
782
|
-
align-items: center;
|
|
783
|
-
padding-left: 10px;
|
|
784
|
-
padding-right: 10px;
|
|
785
|
-
overflow: hidden;
|
|
786
|
-
height: 35px;
|
|
787
|
-
white-space: nowrap;
|
|
788
|
-
color: kit-variables.$gd-color-state-blank;
|
|
789
|
-
background: kit-variables.$is-focused-background;
|
|
790
|
-
text-overflow: ellipsis;
|
|
791
|
-
text-transform: uppercase;
|
|
792
|
-
font-size: 11px;
|
|
793
|
-
font-weight: bold;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
&-content {
|
|
797
|
-
flex: 0 0 auto;
|
|
798
|
-
overflow-y: auto;
|
|
799
|
-
max-height: 200px;
|
|
800
|
-
|
|
801
|
-
@media #{kit-variables.$small-only} {
|
|
802
|
-
overflow: auto;
|
|
803
|
-
height: calc(100vh - 113px);
|
|
804
|
-
max-height: calc(100vh - 113px);
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
&-footer {
|
|
809
|
-
flex: 0 0 auto;
|
|
810
|
-
height: 47px;
|
|
811
|
-
padding: 10px;
|
|
812
|
-
border-top: 1px solid kit-variables.$gd-border-color;
|
|
813
|
-
text-align: right;
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
.gd-format-options-dropdown {
|
|
818
|
-
padding: 10px;
|
|
819
|
-
min-width: 253px;
|
|
820
|
-
|
|
821
|
-
@media #{kit-variables.$small-only} {
|
|
822
|
-
width: 100%;
|
|
823
|
-
min-width: none;
|
|
824
|
-
}
|
|
825
|
-
|
|
826
|
-
&-selector {
|
|
827
|
-
display: flex;
|
|
828
|
-
flex-direction: row;
|
|
829
|
-
align-items: center;
|
|
830
|
-
height: $input-height;
|
|
831
|
-
|
|
832
|
-
& > div {
|
|
833
|
-
margin-left: 15px;
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
|
|
838
|
-
.gd-format-options-dropdown-xlsx {
|
|
839
|
-
display: flex;
|
|
840
|
-
flex-direction: column;
|
|
841
|
-
border-left: 1px dashed kit-variables.$gd-color-link;
|
|
842
|
-
padding-left: 10px;
|
|
843
|
-
margin-top: 5px;
|
|
844
|
-
font-size: 14px;
|
|
845
|
-
color: kit-variables.$gd-color-text;
|
|
846
|
-
|
|
847
|
-
& > div:not(:first-child) {
|
|
848
|
-
margin-top: 10px;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
& > div {
|
|
852
|
-
display: flex;
|
|
853
|
-
align-items: center;
|
|
854
|
-
height: $input-height;
|
|
855
|
-
|
|
856
|
-
& > label {
|
|
857
|
-
display: flex;
|
|
858
|
-
align-items: center;
|
|
859
|
-
width: 100%;
|
|
860
|
-
padding-right: 0;
|
|
861
|
-
|
|
862
|
-
& > span {
|
|
863
|
-
margin-left: 4px;
|
|
864
|
-
white-space: nowrap;
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
.gd-attachments-selection-dropdown {
|
|
871
|
-
width: 253px;
|
|
872
|
-
padding: 10px;
|
|
873
|
-
|
|
874
|
-
@media #{kit-variables.$small-only} {
|
|
875
|
-
width: 100%;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
h3 {
|
|
879
|
-
flex-grow: 2;
|
|
880
|
-
position: relative;
|
|
881
|
-
overflow: hidden;
|
|
882
|
-
height: 23px;
|
|
883
|
-
margin-top: 5px;
|
|
884
|
-
margin-bottom: 5px;
|
|
885
|
-
font-size: 11px;
|
|
886
|
-
font-weight: bold;
|
|
887
|
-
text-transform: uppercase;
|
|
888
|
-
color: kit-variables.$gd-color-state-blank;
|
|
889
|
-
|
|
890
|
-
&::after {
|
|
891
|
-
content: "";
|
|
892
|
-
position: absolute;
|
|
893
|
-
top: 50%;
|
|
894
|
-
display: inline-block;
|
|
895
|
-
width: 100%;
|
|
896
|
-
height: 0;
|
|
897
|
-
margin-left: 10px;
|
|
898
|
-
border-top: 1px solid kit-variables.$gd-color-state-blank;
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
& > div:not(:last-child) {
|
|
903
|
-
margin-bottom: 10px;
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
& > div {
|
|
907
|
-
display: flex;
|
|
908
|
-
align-items: center;
|
|
909
|
-
overflow: hidden;
|
|
910
|
-
height: $input-height;
|
|
911
|
-
|
|
912
|
-
& > label {
|
|
913
|
-
display: flex;
|
|
914
|
-
align-items: center;
|
|
915
|
-
overflow: hidden;
|
|
916
|
-
width: 100%;
|
|
917
|
-
padding-right: 0;
|
|
918
|
-
|
|
919
|
-
& > svg {
|
|
920
|
-
margin-left: 4px;
|
|
921
|
-
margin-right: 6px;
|
|
922
|
-
flex-shrink: 0;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
& > span {
|
|
926
|
-
overflow: hidden;
|
|
927
|
-
white-space: nowrap;
|
|
928
|
-
text-overflow: ellipsis;
|
|
929
|
-
margin-left: 4px;
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
}
|
|
934
|
-
|
|
935
525
|
.gd-schedule-mail-dialog-content-wrapper {
|
|
936
526
|
background: variables.$dialog-background;
|
|
937
527
|
margin: 0 (-$dialog-padding);
|
package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.d.ts
DELETED
|
@@ -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
|
package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.d.ts.map
DELETED
|
@@ -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"}
|
package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.js
DELETED
|
@@ -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
|
package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useWorkspaceUsers.js.map
DELETED
|
@@ -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"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { IOrganizationUser } from "@gooddata/sdk-model";
|
|
2
|
-
/**
|
|
3
|
-
* @internal
|
|
4
|
-
*/
|
|
5
|
-
export interface IScheduleEmailRepeatDate {
|
|
6
|
-
day: number;
|
|
7
|
-
month: number;
|
|
8
|
-
year: number;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*/
|
|
13
|
-
export interface IScheduleEmailRepeatTime {
|
|
14
|
-
hour: number;
|
|
15
|
-
minute: number;
|
|
16
|
-
second: number;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
*/
|
|
21
|
-
export interface IScheduleEmailRepeatFrequencyDayOfWeek {
|
|
22
|
-
day: number;
|
|
23
|
-
week: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @internal
|
|
27
|
-
*/
|
|
28
|
-
export interface IScheduleEmailRepeatFrequency {
|
|
29
|
-
day?: boolean;
|
|
30
|
-
week?: {
|
|
31
|
-
days: number[];
|
|
32
|
-
};
|
|
33
|
-
month?: {
|
|
34
|
-
type: "dayOfMonth" | "dayOfWeek";
|
|
35
|
-
dayOfMonth?: number;
|
|
36
|
-
dayOfWeek?: IScheduleEmailRepeatFrequencyDayOfWeek;
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
|
-
export interface IScheduleEmailRepeat {
|
|
43
|
-
time: IScheduleEmailRepeatTime;
|
|
44
|
-
repeatFrequency: IScheduleEmailRepeatFrequency;
|
|
45
|
-
repeatPeriod: number;
|
|
46
|
-
repeatType: string;
|
|
47
|
-
cron: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
export interface IScheduleEmailExternalRecipient {
|
|
53
|
-
/**
|
|
54
|
-
* Target email, if recipient is an external user
|
|
55
|
-
*/
|
|
56
|
-
email: string;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
export declare const isScheduleEmailExternalRecipient: (obj: unknown) => obj is IScheduleEmailExternalRecipient;
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
export interface IScheduleEmailExistingRecipient {
|
|
66
|
-
/**
|
|
67
|
-
* Target user, if the recipient is an existing user
|
|
68
|
-
*/
|
|
69
|
-
user: IOrganizationUser;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
export declare const isScheduleEmailExistingRecipient: (obj: unknown) => obj is IScheduleEmailExistingRecipient;
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
export type IScheduleEmailRecipient = IScheduleEmailExternalRecipient | IScheduleEmailExistingRecipient;
|
|
79
|
-
/**
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
export interface IDropdownItem {
|
|
83
|
-
id: string;
|
|
84
|
-
title: string;
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
export interface IWidgetsSelection {
|
|
90
|
-
[ref: string]: boolean;
|
|
91
|
-
}
|
|
92
|
-
export type WidgetExportFileFormat = "csv" | "xlsx";
|
|
93
|
-
export interface IWidgetExportConfiguration {
|
|
94
|
-
format: WidgetExportFileFormat;
|
|
95
|
-
mergeHeaders: boolean;
|
|
96
|
-
includeFilters: boolean;
|
|
97
|
-
}
|
|
98
|
-
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE;QACH,IAAI,EAAE,MAAM,EAAE,CAAC;KAClB,CAAC;IACF,KAAK,CAAC,EAAE;QACJ,IAAI,EAAE,YAAY,GAAG,WAAW,CAAC;QACjC,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,sCAAsC,CAAC;KACtD,CAAC;CACL;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,IAAI,EAAE,wBAAwB,CAAC;IAC/B,eAAe,EAAE,6BAA6B,CAAC;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,gCAAgC,QAAS,OAAO,2CAC0B,CAAC;AAExF;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,gCAAgC,QAAS,OAAO,2CACyB,CAAC;AAEvF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,+BAA+B,GAAG,+BAA+B,CAAC;AAExG;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B;AAED,MAAM,MAAM,sBAAsB,GAAG,KAAK,GAAG,MAAM,CAAC;AAEpD,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;CAC3B"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// (C) 2019-2024 GoodData Corporation
|
|
2
|
-
import isEmpty from "lodash/isEmpty.js";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export const isScheduleEmailExternalRecipient = (obj) => !isEmpty(obj) && typeof obj.email === "string";
|
|
7
|
-
/**
|
|
8
|
-
* @internal
|
|
9
|
-
*/
|
|
10
|
-
export const isScheduleEmailExistingRecipient = (obj) => !isEmpty(obj) && typeof obj.user === "object";
|
|
11
|
-
//# sourceMappingURL=interfaces.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/interfaces.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAgExC;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,GAAY,EAA0C,EAAE,CACrG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,OAAQ,GAAuC,CAAC,KAAK,KAAK,QAAQ,CAAC;AAYxF;;GAEG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,GAAY,EAA0C,EAAE,CACrG,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,OAAQ,GAAuC,CAAC,IAAI,KAAK,QAAQ,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IntlShape } from "react-intl";
|
|
2
|
-
export declare function convertDateToPlatformDateString(date: Date): string;
|
|
3
|
-
export declare function convertDateToDisplayDateString(date: Date, dateFormat: string): string;
|
|
4
|
-
export declare function getDate(date: Date): number;
|
|
5
|
-
export declare function getDayName(date: Date): string;
|
|
6
|
-
export declare function getIntlDayName(intl: IntlShape, startDate: Date): string;
|
|
7
|
-
export declare function convertSun2MonWeekday(dayIndex: number): number;
|
|
8
|
-
export declare function getDay(date: Date): number;
|
|
9
|
-
export declare function getWeek(date: Date): number;
|
|
10
|
-
export declare function getMonth(date: Date): number;
|
|
11
|
-
export declare function getYear(date: Date): number;
|
|
12
|
-
//# sourceMappingURL=datetime.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datetime.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/datetime.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAAC;AAKpE,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;AAgBvF,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE1C;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE7C;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,IAAI,GAAG,MAAM,CAEvE;AAED,wBAAgB,qBAAqB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAEzC;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE1C;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE3C;AAED,wBAAgB,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE1C"}
|