@gooddata/sdk-ui-dashboard 10.7.0-alpha.2 → 10.7.0-alpha.21
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.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/sharedHooks/useCommonDateFilterTitle.d.ts.map +1 -0
- package/esm/{presentation/filterBar/dateFilter → _staging/sharedHooks}/useCommonDateFilterTitle.js +1 -1
- package/esm/_staging/sharedHooks/useCommonDateFilterTitle.js.map +1 -0
- package/esm/_staging/sharedHooks/useDateFiltersTitles.d.ts +4 -0
- package/esm/_staging/sharedHooks/useDateFiltersTitles.d.ts.map +1 -0
- package/esm/_staging/sharedHooks/useDateFiltersTitles.js +21 -0
- package/esm/_staging/sharedHooks/useDateFiltersTitles.js.map +1 -0
- package/esm/assets/list.svg +1 -0
- package/esm/locales.d.ts.map +1 -1
- package/esm/locales.js +0 -18
- package/esm/locales.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js +11 -1
- package/esm/model/commandHandlers/dashboard/common/stateInitializers.js.map +1 -1
- package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts +3 -4
- package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/common/intersectionUtils.js +18 -19
- package/esm/model/commandHandlers/drill/common/intersectionUtils.js.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +2 -4
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +64 -10
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js +94 -18
- package/esm/model/commandHandlers/filterContext/changeFilterContextSelectionHandler.js.map +1 -1
- package/esm/model/commands/dashboard.d.ts +1 -1
- package/esm/model/commands/dashboard.d.ts.map +1 -1
- package/esm/model/commands/filters.d.ts +32 -1
- package/esm/model/commands/filters.d.ts.map +1 -1
- package/esm/model/commands/filters.js +27 -0
- package/esm/model/commands/filters.js.map +1 -1
- package/esm/model/commands/index.d.ts +1 -1
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +1 -1
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/scheduledEmail.d.ts +9 -9
- package/esm/model/commands/scheduledEmail.d.ts.map +1 -1
- package/esm/model/commands/scheduledEmail.js +6 -6
- package/esm/model/commands/scheduledEmail.js.map +1 -1
- package/esm/model/events/drill.d.ts +6 -2
- package/esm/model/events/drill.d.ts.map +1 -1
- package/esm/model/events/drill.js +2 -1
- package/esm/model/events/drill.js.map +1 -1
- package/esm/model/events/filters.d.ts +2 -2
- package/esm/model/events/filters.d.ts.map +1 -1
- package/esm/model/events/filters.js.map +1 -1
- package/esm/model/react/index.d.ts +1 -0
- package/esm/model/react/index.d.ts.map +1 -1
- package/esm/model/react/index.js +1 -0
- package/esm/model/react/index.js.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.d.ts +13 -8
- package/esm/model/react/useDashboardScheduledEmails.d.ts.map +1 -1
- package/esm/model/react/useDashboardScheduledEmails.js +46 -19
- package/esm/model/react/useDashboardScheduledEmails.js.map +1 -1
- package/esm/model/react/useWorkspaceAutomations.d.ts +4 -2
- package/esm/model/react/useWorkspaceAutomations.d.ts.map +1 -1
- package/esm/model/react/useWorkspaceAutomations.js.map +1 -1
- package/esm/model/store/dashboardStore.d.ts.map +1 -1
- package/esm/model/store/dashboardStore.js +4 -1
- package/esm/model/store/dashboardStore.js.map +1 -1
- package/esm/model/store/index.d.ts +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/ui/index.d.ts +8 -2
- package/esm/model/store/ui/index.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.d.ts +9 -3
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +14 -2
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +9 -1
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +9 -1
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +3 -1
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/model/utils/filterResolver.d.ts +2 -2
- package/esm/model/utils/filterResolver.d.ts.map +1 -1
- package/esm/model/utils/filterResolver.js +2 -2
- package/esm/model/utils/filterResolver.js.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.d.ts.map +1 -1
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js +3 -3
- package/esm/presentation/dashboard/DashboardHeader/ScheduledEmailDialogProvider.js.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js +1 -1
- package/esm/presentation/filterBar/attributeFilter/dashboardDropdownBody/configuration/limitValues/LimitValuesConfiguration.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +0 -7
- package/esm/presentation/localization/bundles/en-GB.json +0 -7
- package/esm/presentation/localization/bundles/en-US.json +60 -230
- package/esm/presentation/localization/bundles/es-419.json +0 -7
- package/esm/presentation/localization/bundles/es-ES.json +0 -7
- package/esm/presentation/localization/bundles/fr-CA.json +0 -7
- package/esm/presentation/localization/bundles/fr-FR.json +0 -7
- package/esm/presentation/localization/bundles/it-IT.json +0 -7
- package/esm/presentation/localization/bundles/ja-JP.json +0 -7
- package/esm/presentation/localization/bundles/nl-NL.json +0 -7
- package/esm/presentation/localization/bundles/pt-BR.json +0 -7
- package/esm/presentation/localization/bundles/pt-PT.json +0 -7
- package/esm/presentation/localization/bundles/ru-RU.json +0 -7
- package/esm/presentation/localization/bundles/zh-Hans.json +0 -7
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +29 -8
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts +30 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js +76 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFilters.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts +8 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js +14 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentFiltersList.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts +16 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js +52 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/AttachmentItems.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.d.ts +11 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js +49 -12
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/Attachments.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts +0 -18
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js +0 -18
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/constants.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts +38 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js +114 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useAttachmentDashboardFilters.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.js +3 -7
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useCreateScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +5 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +127 -34
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js +9 -6
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useSaveScheduledEmailToBackend.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.d.ts +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.js +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useUpdateScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.d.ts +3 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.js +3 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/types.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts +10 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js +65 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/automationHelpers.js.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js +3 -3
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js.map +1 -1
- 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/esm/presentation/scheduledEmail/index.d.ts +1 -1
- package/esm/presentation/scheduledEmail/index.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/index.js +1 -1
- package/esm/presentation/scheduledEmail/types.d.ts +15 -1
- package/esm/presentation/scheduledEmail/types.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.d.ts.map +1 -1
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js +24 -2
- package/esm/presentation/topBar/menuButton/useDefaultMenuItems.js.map +1 -1
- package/esm/presentation/widget/common/configuration/DateDatasetDropdown.js +4 -4
- package/esm/presentation/widget/common/configuration/DateDatasetDropdown.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightDescriptionConfig/InsightDescription.js.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts +3 -0
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.d.ts.map +1 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js +19 -1
- package/esm/presentation/widget/insightMenu/DefaultDashboardInsightMenu/getDefaultInsightMenuItems.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +25 -6
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts +3 -0
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js +11 -2
- package/esm/presentation/widget/widget/InsightWidget/useInsightMenu.js.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +149 -18
- package/esm/types.d.ts +18 -0
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js +1 -1
- package/package.json +15 -15
- package/styles/css/configurationPanel.css +3 -3
- package/styles/css/configurationPanel.css.map +1 -1
- package/styles/css/dashboard.css +130 -354
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/icons.css +8 -0
- package/styles/css/icons.css.map +1 -1
- package/styles/css/layout.css +8 -1
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css +156 -363
- package/styles/css/main.css.map +1 -1
- package/styles/css/scheduled_mail.css +122 -353
- package/styles/css/scheduled_mail.css.map +1 -1
- package/styles/scss/configurationPanel.scss +3 -3
- package/styles/scss/icons.scss +12 -0
- package/styles/scss/layout.scss +10 -2
- package/styles/scss/scheduled_mail.scss +132 -382
- package/esm/presentation/filterBar/dateFilter/useCommonDateFilterTitle.d.ts.map +0 -1
- package/esm/presentation/filterBar/dateFilter/useCommonDateFilterTitle.js.map +0 -1
- 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/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
- /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,29 +96,38 @@ $min-content-height: 110px;
|
|
|
140
96
|
line-height: 30px;
|
|
141
97
|
}
|
|
142
98
|
|
|
143
|
-
.gd-attachment-
|
|
144
|
-
display:
|
|
145
|
-
|
|
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
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
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
|
|
|
165
|
-
.gd-
|
|
130
|
+
.gd-attachment-item {
|
|
166
131
|
display: flex;
|
|
167
132
|
flex-wrap: nowrap;
|
|
168
133
|
overflow: hidden;
|
|
@@ -205,145 +170,142 @@ $min-content-height: 110px;
|
|
|
205
170
|
margin-left: 7px;
|
|
206
171
|
}
|
|
207
172
|
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.gd-schedule-email-dialog-datetime,
|
|
212
|
-
.gd-schedule-email-dialog-repeat {
|
|
213
|
-
align-items: flex-start;
|
|
214
|
-
flex-direction: row;
|
|
215
|
-
|
|
216
|
-
@media #{kit-variables.$small-only} {
|
|
217
|
-
.gd-label {
|
|
218
|
-
margin-bottom: 0;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
173
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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;
|
|
174
|
+
&-no-name {
|
|
175
|
+
> span {
|
|
176
|
+
border-radius: 3px;
|
|
240
177
|
}
|
|
178
|
+
}
|
|
241
179
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
180
|
+
&-configuration {
|
|
181
|
+
display: flex;
|
|
182
|
+
height: 24px;
|
|
183
|
+
color: kit-variables.$gd-color-text;
|
|
184
|
+
background: variables.$button-grey-background;
|
|
185
|
+
border-radius: 0 3px 3px 0;
|
|
186
|
+
padding-left: 7px;
|
|
187
|
+
padding-right: 7px;
|
|
188
|
+
margin-left: -10px;
|
|
189
|
+
cursor: pointer;
|
|
245
190
|
|
|
246
|
-
|
|
247
|
-
|
|
191
|
+
&::before {
|
|
192
|
+
position: relative;
|
|
193
|
+
top: 2px;
|
|
194
|
+
margin-top: 1px;
|
|
248
195
|
}
|
|
249
196
|
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
250
199
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
.gd-schedule-email-dialog-datetime-time {
|
|
256
|
-
margin-left: $horizontal-space;
|
|
200
|
+
.gd-attachment-filters-dropdown {
|
|
201
|
+
width: 245px;
|
|
202
|
+
max-height: 350px;
|
|
257
203
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}
|
|
204
|
+
.gd-list-title {
|
|
205
|
+
line-height: normal;
|
|
206
|
+
}
|
|
262
207
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
208
|
+
.gd-close-button {
|
|
209
|
+
position: absolute;
|
|
210
|
+
top: 5px;
|
|
211
|
+
right: 5px;
|
|
212
|
+
outline: none;
|
|
268
213
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}
|
|
214
|
+
.gd-button-link.gd-button-icon-only::before {
|
|
215
|
+
font-size: 14px;
|
|
272
216
|
}
|
|
273
217
|
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.gd-automation-cron-input {
|
|
277
|
-
margin-left: 10px;
|
|
278
|
-
}
|
|
279
218
|
|
|
280
|
-
.gd-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
margin-bottom: $vertical-space;
|
|
219
|
+
.gd-attachment-filters-dropdown-content {
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
padding: 10px;
|
|
285
223
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
}
|
|
224
|
+
> :first-child {
|
|
225
|
+
margin-bottom: 5px;
|
|
289
226
|
}
|
|
290
|
-
}
|
|
291
227
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
height: $input-height;
|
|
228
|
+
> :last-child {
|
|
229
|
+
margin-top: 5px;
|
|
295
230
|
}
|
|
296
|
-
}
|
|
297
231
|
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
232
|
+
.gd-icon-circle-question {
|
|
233
|
+
position: relative;
|
|
234
|
+
top: 2px;
|
|
235
|
+
padding: 5px;
|
|
236
|
+
color: kit-variables.$gd-color-state-blank;
|
|
237
|
+
}
|
|
301
238
|
|
|
302
|
-
|
|
303
|
-
|
|
239
|
+
.gd-attachment-filters-list {
|
|
240
|
+
display: flex;
|
|
241
|
+
flex-direction: column;
|
|
242
|
+
gap: 10px;
|
|
304
243
|
border-left: 2px dotted kit-variables.$gd-border-color;
|
|
244
|
+
padding: 0 10px;
|
|
245
|
+
margin-left: 6px;
|
|
246
|
+
max-height: 190px;
|
|
247
|
+
overflow-y: auto;
|
|
248
|
+
margin-right: -10px;
|
|
305
249
|
}
|
|
306
250
|
|
|
307
|
-
.gd-
|
|
308
|
-
|
|
251
|
+
.gd-attachment-filters-list-item-title {
|
|
252
|
+
text-overflow: ellipsis;
|
|
253
|
+
white-space: nowrap;
|
|
254
|
+
overflow: hidden;
|
|
255
|
+
color: kit-variables.$gd-color-link;
|
|
256
|
+
font-size: 12px;
|
|
257
|
+
font-style: normal;
|
|
258
|
+
font-weight: 400;
|
|
259
|
+
line-height: normal;
|
|
309
260
|
}
|
|
310
261
|
|
|
311
|
-
.gd-
|
|
312
|
-
|
|
262
|
+
.gd-attachment-filters-list-item-subtitle {
|
|
263
|
+
text-overflow: ellipsis;
|
|
264
|
+
white-space: nowrap;
|
|
265
|
+
overflow: hidden;
|
|
266
|
+
color: kit-variables.$gd-color-text;
|
|
267
|
+
font-size: 12px;
|
|
268
|
+
font-style: normal;
|
|
269
|
+
font-weight: bold;
|
|
270
|
+
line-height: normal;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
313
273
|
|
|
314
|
-
|
|
315
|
-
|
|
274
|
+
.gd-attachment-filters-dropdown-footer {
|
|
275
|
+
display: flex;
|
|
276
|
+
justify-content: end;
|
|
277
|
+
padding: 10px;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
316
280
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
text-align: center;
|
|
320
|
-
padding-right: 0;
|
|
321
|
-
padding-left: 0;
|
|
322
|
-
}
|
|
323
|
-
}
|
|
281
|
+
.gd-attachment-settings-dropdown {
|
|
282
|
+
width: 245px;
|
|
324
283
|
|
|
325
|
-
|
|
326
|
-
|
|
284
|
+
.gd-list-title {
|
|
285
|
+
line-height: normal;
|
|
286
|
+
}
|
|
327
287
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
288
|
+
.gd-close-button {
|
|
289
|
+
position: absolute;
|
|
290
|
+
top: 2px;
|
|
291
|
+
right: 0;
|
|
292
|
+
outline: none;
|
|
332
293
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
height: 0;
|
|
336
|
-
flex-basis: 100%;
|
|
337
|
-
}
|
|
294
|
+
.gd-button-link.gd-button-icon-only::before {
|
|
295
|
+
font-size: 14px;
|
|
338
296
|
}
|
|
297
|
+
}
|
|
339
298
|
|
|
340
|
-
|
|
341
|
-
|
|
299
|
+
.gd-attachment-settings-dropdown-content {
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
padding: 15px 10px;
|
|
303
|
+
}
|
|
342
304
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
305
|
+
.gd-attachment-settings-dropdown-footer {
|
|
306
|
+
display: flex;
|
|
307
|
+
justify-content: end;
|
|
308
|
+
padding: 10px;
|
|
347
309
|
}
|
|
348
310
|
}
|
|
349
311
|
|
|
@@ -615,224 +577,6 @@ $min-content-height: 110px;
|
|
|
615
577
|
}
|
|
616
578
|
}
|
|
617
579
|
|
|
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
580
|
.gd-schedule-mail-dialog-content-wrapper {
|
|
837
581
|
background: variables.$dialog-background;
|
|
838
582
|
margin: 0 (-$dialog-padding);
|
|
@@ -844,8 +588,14 @@ $min-content-height: 110px;
|
|
|
844
588
|
margin-bottom: $vertical-space;
|
|
845
589
|
}
|
|
846
590
|
|
|
591
|
+
.gd-divider-without-margin {
|
|
592
|
+
margin-top: 0;
|
|
593
|
+
margin-bottom: 0;
|
|
594
|
+
}
|
|
595
|
+
|
|
847
596
|
.gd-divider-full-row {
|
|
848
|
-
margin:
|
|
597
|
+
margin-left: -$dialog-padding;
|
|
598
|
+
margin-right: -$dialog-padding;
|
|
849
599
|
}
|
|
850
600
|
|
|
851
601
|
.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"}
|
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"}
|