@gooddata/sdk-ui-analytical-designer 11.67.0-alpha.3 → 11.67.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/NOTICE +16 -233
  2. package/README.md +13 -5
  3. package/esm/Root.d.ts +0 -2
  4. package/esm/Root.d.ts.map +1 -1
  5. package/esm/Root.js +0 -4
  6. package/esm/actions/app_context_actions.d.ts.map +1 -1
  7. package/esm/actions/app_context_actions.js +2 -4
  8. package/esm/actions/dialogs_actions.d.ts +2 -2
  9. package/esm/actions/dialogs_actions.js +2 -2
  10. package/esm/components/Editor.d.ts.map +1 -1
  11. package/esm/components/Editor.js +31 -2
  12. package/esm/components/EditorHeader.d.ts +19 -1
  13. package/esm/components/EditorHeader.d.ts.map +1 -1
  14. package/esm/components/EditorHeader.js +38 -86
  15. package/esm/components/ReportDescription.d.ts +8 -1
  16. package/esm/components/ReportDescription.d.ts.map +1 -1
  17. package/esm/components/ReportDescription.js +37 -7
  18. package/esm/components/buckets/MeasureAttributeFilterOrganized.d.ts.map +1 -1
  19. package/esm/components/buckets/MeasureAttributeFilterOrganized.js +1 -1
  20. package/esm/components/buckets/MeasureDateFilter.d.ts.map +1 -1
  21. package/esm/components/buckets/MeasureDateFilter.js +1 -1
  22. package/esm/components/buckets/categories/DateDatasetsDropdown.d.ts.map +1 -1
  23. package/esm/components/filterBar/dateFilter/TimeComparisonSection/TimeComparisonTypesDropdown.d.ts.map +1 -1
  24. package/esm/components/header/CancelButton.d.ts +13 -0
  25. package/esm/components/header/CancelButton.d.ts.map +1 -0
  26. package/esm/components/header/CancelButton.js +32 -0
  27. package/esm/components/header/ClearButton.d.ts +7 -0
  28. package/esm/components/header/ClearButton.d.ts.map +1 -0
  29. package/esm/components/header/ClearButton.js +24 -0
  30. package/esm/components/header/EditorActions.d.ts +14 -0
  31. package/esm/components/header/EditorActions.d.ts.map +1 -0
  32. package/esm/components/header/EditorActions.js +71 -0
  33. package/esm/components/header/Embed/EmbedButton.d.ts +6 -1
  34. package/esm/components/header/Embed/EmbedButton.d.ts.map +1 -1
  35. package/esm/components/header/Embed/EmbedButton.js +48 -48
  36. package/esm/components/header/Embed/EmbedInsightDialogContainer.d.ts +6 -0
  37. package/esm/components/header/Embed/EmbedInsightDialogContainer.d.ts.map +1 -0
  38. package/esm/components/header/Embed/EmbedInsightDialogContainer.js +52 -0
  39. package/esm/components/header/Embed/EmbedMenu.d.ts +6 -4
  40. package/esm/components/header/Embed/EmbedMenu.d.ts.map +1 -1
  41. package/esm/components/header/Embed/EmbedMenu.js +2 -6
  42. package/esm/components/header/InsightPickerDialog.d.ts +5 -1
  43. package/esm/components/header/InsightPickerDialog.d.ts.map +1 -1
  44. package/esm/components/header/InsightPickerDialog.js +9 -29
  45. package/esm/components/header/OpenControl.d.ts +7 -0
  46. package/esm/components/header/OpenControl.d.ts.map +1 -0
  47. package/esm/components/header/OpenControl.js +69 -0
  48. package/esm/components/header/OptionsMenu/OptionsButton.d.ts +5 -1
  49. package/esm/components/header/OptionsMenu/OptionsButton.d.ts.map +1 -1
  50. package/esm/components/header/OptionsMenu/OptionsButton.js +19 -9
  51. package/esm/components/header/OptionsMenu/OptionsMenu.d.ts +8 -60
  52. package/esm/components/header/OptionsMenu/OptionsMenu.d.ts.map +1 -1
  53. package/esm/components/header/OptionsMenu/OptionsMenu.js +56 -112
  54. package/esm/components/header/OptionsMenu/OptionsMenuItem.d.ts +3 -4
  55. package/esm/components/header/OptionsMenu/OptionsMenuItem.d.ts.map +1 -1
  56. package/esm/components/header/OptionsMenu/OptionsMenuItem.js +5 -9
  57. package/esm/components/header/OptionsMenu/useOptionsProps.d.ts +26 -0
  58. package/esm/components/header/OptionsMenu/useOptionsProps.d.ts.map +1 -0
  59. package/esm/components/header/OptionsMenu/useOptionsProps.js +188 -0
  60. package/esm/components/header/SaveAsNewReportButton.d.ts +6 -1
  61. package/esm/components/header/SaveAsNewReportButton.d.ts.map +1 -1
  62. package/esm/components/header/SaveAsNewReportButton.js +20 -10
  63. package/esm/components/header/SaveReportButton.d.ts +6 -1
  64. package/esm/components/header/SaveReportButton.d.ts.map +1 -1
  65. package/esm/components/header/SaveReportButton.js +41 -18
  66. package/esm/components/header/TimezoneDialog.d.ts +1 -1
  67. package/esm/components/header/TimezoneDialog.js +1 -1
  68. package/esm/components/header/UndoRedoButtons.d.ts +7 -0
  69. package/esm/components/header/UndoRedoButtons.d.ts.map +1 -0
  70. package/esm/components/header/UndoRedoButtons.js +31 -0
  71. package/esm/components/header/VisualizationInfo.d.ts +11 -0
  72. package/esm/components/header/VisualizationInfo.d.ts.map +1 -0
  73. package/esm/components/header/VisualizationInfo.js +47 -0
  74. package/esm/components/header/VisualizationTitle.d.ts +7 -0
  75. package/esm/components/header/VisualizationTitle.d.ts.map +1 -0
  76. package/esm/components/header/VisualizationTitle.js +36 -0
  77. package/esm/components/header/VisualizationsDropdown.d.ts +5 -1
  78. package/esm/components/header/VisualizationsDropdown.d.ts.map +1 -1
  79. package/esm/components/header/VisualizationsDropdown.js +7 -33
  80. package/esm/components/header/editorHeaderContext.d.ts +20 -0
  81. package/esm/components/header/editorHeaderContext.d.ts.map +1 -0
  82. package/esm/components/header/editorHeaderContext.js +58 -0
  83. package/esm/components/header/share/InsightAccess.d.ts +30 -1
  84. package/esm/components/header/share/InsightAccess.d.ts.map +1 -1
  85. package/esm/components/header/share/InsightAccess.js +81 -18
  86. package/esm/components/header/share/InsightAccessChip.d.ts +2 -2
  87. package/esm/components/header/share/InsightAccessChip.d.ts.map +1 -1
  88. package/esm/components/header/share/InsightAccessChip.js +3 -3
  89. package/esm/embedding/AnalyticalDesignerEmbedded.d.ts +1 -1
  90. package/esm/embedding/AnalyticalDesignerEmbedded.js +1 -1
  91. package/esm/embedding/editorHeaderSlotTypes.d.ts +569 -0
  92. package/esm/embedding/editorHeaderSlotTypes.d.ts.map +1 -0
  93. package/esm/embedding/editorHeaderSlotTypes.js +2 -0
  94. package/esm/embedding/slots.d.ts +73 -0
  95. package/esm/embedding/slots.d.ts.map +1 -1
  96. package/esm/index.d.ts +1 -0
  97. package/esm/index.d.ts.map +1 -1
  98. package/esm/postMessageApi/outgoing/metrics_changed_events.d.ts +1 -1
  99. package/esm/postMessageApi/outgoing/metrics_changed_events.js +1 -1
  100. package/esm/postMessageApi/outgoing/post_event_helper.d.ts +1 -1
  101. package/esm/postMessageApi/outgoing/post_event_helper.d.ts.map +1 -1
  102. package/esm/postMessageApi/outgoing/post_event_helper.js +1 -1
  103. package/esm/postMessageApi/sagas/control_filtering_saga.js +1 -1
  104. package/esm/sdk-ui-analytical-designer.d.ts +664 -0
  105. package/esm/selectors/editor_header_selector.d.ts +225 -0
  106. package/esm/selectors/editor_header_selector.d.ts.map +1 -1
  107. package/esm/selectors/editor_header_selector.js +8 -1
  108. package/esm/selectors/insight_access_selector.d.ts +185 -4
  109. package/esm/selectors/insight_access_selector.d.ts.map +1 -1
  110. package/esm/selectors/insight_access_selector.js +5 -3
  111. package/esm/selectors/report_title_selector.d.ts +6 -6
  112. package/esm/selectors/report_title_selector.d.ts.map +1 -1
  113. package/esm/selectors/report_title_selector.js +4 -3
  114. package/esm/selectors/report_visualization_selector.d.ts +4 -0
  115. package/esm/selectors/report_visualization_selector.d.ts.map +1 -1
  116. package/esm/selectors/save_report_selector.d.ts +7 -0
  117. package/esm/selectors/save_report_selector.d.ts.map +1 -1
  118. package/esm/selectors/save_report_selector.js +11 -1
  119. package/esm/selectors/uri_selector.js +1 -1
  120. package/esm/store/app_context/app_context_slices.d.ts.map +1 -1
  121. package/esm/store/app_context/app_context_slices.js +2 -3
  122. package/esm/store/app_context/session_id_reducer.d.ts +2 -3
  123. package/esm/store/app_context/session_id_reducer.d.ts.map +1 -1
  124. package/esm/store/app_context/session_id_reducer.js +2 -3
  125. package/esm/store/intl/intl_slice.d.ts.map +1 -1
  126. package/esm/store/intl/intl_slice.js +2 -3
  127. package/esm/translations/en-US.json +8 -0
  128. package/esm/utils/browser_detect.d.ts +2 -1
  129. package/esm/utils/browser_detect.d.ts.map +1 -1
  130. package/esm/utils/browser_detect.js +21 -3
  131. package/esm/utils/dropdown.d.ts +6 -2
  132. package/esm/utils/dropdown.d.ts.map +1 -1
  133. package/esm/utils/dropdown.js +10 -3
  134. package/package.json +23 -31
  135. package/styles/css/catalog.css +2 -2
  136. package/styles/css/catalog_sidebar.css +1 -1
  137. package/styles/css/catalog_sidebar.css.map +1 -1
  138. package/styles/css/editor_canvas.css +1 -1
  139. package/styles/css/editor_header.css +16 -1
  140. package/styles/css/editor_header.css.map +1 -1
  141. package/styles/css/main.css +20 -5
  142. package/styles/css/main.css.map +1 -1
  143. package/styles/scss/catalog.scss +2 -2
  144. package/styles/scss/catalog_sidebar.scss +2 -1
  145. package/styles/scss/editor_canvas.scss +1 -1
  146. package/styles/scss/editor_header.scss +20 -1
  147. package/esm/components/ReportTitle.d.ts +0 -2
  148. package/esm/components/ReportTitle.d.ts.map +0 -1
  149. package/esm/components/ReportTitle.js +0 -51
  150. package/esm/components/header/Embed/utils.d.ts +0 -4
  151. package/esm/components/header/Embed/utils.d.ts.map +0 -1
  152. package/esm/components/header/Embed/utils.js +0 -5
@@ -0,0 +1,569 @@
1
+ import { type ReactNode } from "react";
2
+ import { type IObjectPermissionsObject } from "@gooddata/sdk-backend-spi";
3
+ import { type IFilter, type ISeparators, type ObjRef, type ShareStatus } from "@gooddata/sdk-model";
4
+ /**
5
+ * How the editor header is placed next to the catalog.
6
+ *
7
+ * @remarks
8
+ * - `legacy`: the header spans the editor and its information starts after the catalog width.
9
+ *
10
+ * - `compact`: the header spans the editor and its information starts at the left edge.
11
+ *
12
+ * - `catalogSidebar`: the header starts next to the collapsible catalog and follows its width.
13
+ *
14
+ * @alpha
15
+ */
16
+ export type AnalyticalDesignerHeaderLayoutMode = "legacy" | "compact" | "catalogSidebar";
17
+ /**
18
+ * Layout of the editor header.
19
+ *
20
+ * @alpha
21
+ */
22
+ export interface IAnalyticalDesignerHeaderLayout {
23
+ /**
24
+ * How the header is placed next to the catalog.
25
+ */
26
+ mode: AnalyticalDesignerHeaderLayoutMode;
27
+ /**
28
+ * Whether the catalog is collapsed. Analytical Designer then shows its own restore control before the
29
+ * header content.
30
+ */
31
+ isCatalogCollapsed: boolean;
32
+ /**
33
+ * Whether the catalog can be collapsed.
34
+ */
35
+ canCollapseCatalog: boolean;
36
+ }
37
+ /**
38
+ * Data that every editor header slot receives.
39
+ *
40
+ * @alpha
41
+ */
42
+ export interface IAnalyticalDesignerHeaderContext {
43
+ /**
44
+ * Layout of the header.
45
+ */
46
+ layout: IAnalyticalDesignerHeaderLayout;
47
+ /**
48
+ * Identifier of the workspace that Analytical Designer works in.
49
+ */
50
+ workspace: string;
51
+ /**
52
+ * Reference of the saved visualization. Undefined for a visualization that is not saved yet.
53
+ */
54
+ insightRef?: ObjRef;
55
+ /**
56
+ * Current title of the visualization. Empty for an untitled visualization.
57
+ */
58
+ title: string;
59
+ /**
60
+ * Whether the visualization differs from its last saved version, whether or not it can be saved now. A
61
+ * visualization that is not saved yet has changes once it is not blank. Always false in read-only mode.
62
+ */
63
+ hasUnsavedChanges: boolean;
64
+ }
65
+ /**
66
+ * Props of the editor header region.
67
+ *
68
+ * @remarks
69
+ * The children come already rendered with their own slots. Render each of them at most once; leave one
70
+ * out to hide it. The default arranges them in one row.
71
+ *
72
+ * @alpha
73
+ */
74
+ export interface IAnalyticalDesignerEditorHeaderProps extends IAnalyticalDesignerHeaderContext {
75
+ /**
76
+ * The visualization information region (the VisualizationInfo slot).
77
+ */
78
+ visualizationInfo: ReactNode;
79
+ /**
80
+ * The editor actions region (the EditorActions slot).
81
+ */
82
+ editorActions: ReactNode;
83
+ }
84
+ /**
85
+ * Props of the region with the visualization title, description and access.
86
+ *
87
+ * @remarks
88
+ * The children come already rendered with their own slots. Render each of them at most once.
89
+ *
90
+ * @alpha
91
+ */
92
+ export interface IAnalyticalDesignerVisualizationInfoProps extends IAnalyticalDesignerHeaderContext {
93
+ /**
94
+ * The visualization title (the VisualizationTitle slot).
95
+ */
96
+ visualizationTitle: ReactNode;
97
+ /**
98
+ * The visualization description (the VisualizationDescription slot).
99
+ */
100
+ visualizationDescription: ReactNode;
101
+ /**
102
+ * The visualization access (the VisualizationAccess slot).
103
+ */
104
+ visualizationAccess: ReactNode;
105
+ /**
106
+ * The lock and unsaved changes indicators.
107
+ */
108
+ indicators: ReactNode;
109
+ /**
110
+ * The dashboards that use the visualization, when Analytical Designer shows them.
111
+ */
112
+ usages: ReactNode;
113
+ /**
114
+ * Whether a navigation request is refused now, because the visualization is being saved.
115
+ */
116
+ isNavigationDisabled: boolean;
117
+ /**
118
+ * Requests leaving the editor, for a Back control.
119
+ *
120
+ * @remarks
121
+ * Starts the cancellation flow that `IAnalyticalDesignerApi.requestCancellation()` starts too: Analytical
122
+ * Designer asks for confirmation when there are unsaved changes and then emits the `insightEditingCancelled`
123
+ * event, on which the host navigates. Navigate only on that event. Unlike that command, the request is
124
+ * ignored while `isNavigationDisabled` is true.
125
+ */
126
+ onRequestBack: () => void;
127
+ }
128
+ /**
129
+ * One control in the editor actions region.
130
+ *
131
+ * @alpha
132
+ */
133
+ export interface IAnalyticalDesignerEditorAction {
134
+ /**
135
+ * Stable identifier of the control. Built-in controls are `undoRedo`, `clear`, `open`, `cancel`,
136
+ * `saveAs`, `save`, `embed` and `options`. Prefix the identifier of a custom control with `custom:`.
137
+ */
138
+ id: string;
139
+ /**
140
+ * The rendered control.
141
+ */
142
+ content: ReactNode;
143
+ }
144
+ /**
145
+ * Props of the editor actions region.
146
+ *
147
+ * @alpha
148
+ */
149
+ export interface IAnalyticalDesignerEditorActionsProps extends IAnalyticalDesignerHeaderContext {
150
+ /**
151
+ * The controls in their order, already rendered with their own slots. Filter, reorder or add items
152
+ * and pass the list to the default.
153
+ */
154
+ items: readonly IAnalyticalDesignerEditorAction[];
155
+ }
156
+ /**
157
+ * Props of the visualization title.
158
+ *
159
+ * @alpha
160
+ */
161
+ export interface IAnalyticalDesignerVisualizationTitleProps extends IAnalyticalDesignerHeaderContext {
162
+ /**
163
+ * Text shown when the visualization has no title.
164
+ */
165
+ placeholder: string;
166
+ /**
167
+ * Maximum length of the title.
168
+ */
169
+ maxLength: number;
170
+ /**
171
+ * Whether the title can be changed.
172
+ */
173
+ isEditable: boolean;
174
+ /**
175
+ * Whether the visualization is locked, for example because it is inherited from a parent workspace.
176
+ */
177
+ isLocked: boolean;
178
+ /**
179
+ * Changes the title. Ignored when the title cannot be changed.
180
+ */
181
+ onTitleChange: (title: string) => void;
182
+ }
183
+ /**
184
+ * Props of the visualization description.
185
+ *
186
+ * @alpha
187
+ */
188
+ export interface IAnalyticalDesignerVisualizationDescriptionProps extends IAnalyticalDesignerHeaderContext {
189
+ /**
190
+ * Current description of the visualization. Empty when it has none.
191
+ */
192
+ description: string;
193
+ /**
194
+ * Label of the action that adds a description.
195
+ */
196
+ addLabel: string;
197
+ /**
198
+ * Text shown in the empty description editor.
199
+ */
200
+ placeholder: string;
201
+ /**
202
+ * Whether the description can be changed.
203
+ */
204
+ isEditable: boolean;
205
+ /**
206
+ * Filters of the visualization, which references in the rich text description resolve against.
207
+ */
208
+ filters: IFilter[];
209
+ /**
210
+ * Number separators for the references in the description.
211
+ */
212
+ separators?: ISeparators;
213
+ /**
214
+ * Changes the description. Ignored when the description cannot be changed.
215
+ */
216
+ onDescriptionChange: (description: string) => void;
217
+ }
218
+ /**
219
+ * Props of the visualization access.
220
+ *
221
+ * @remarks
222
+ * Analytical Designer resolves this slot also where its own sharing is unavailable, for example when a host
223
+ * embeds it, so that the host can render its own access control there. The access level is read only
224
+ * after `onRequestAccessSummary` is called.
225
+ *
226
+ * @alpha
227
+ */
228
+ export interface IAnalyticalDesignerVisualizationAccessProps extends IAnalyticalDesignerHeaderContext {
229
+ /**
230
+ * Whether the built-in sharing is available. The default renders nothing when it is not.
231
+ */
232
+ isDefaultAvailable: boolean;
233
+ /**
234
+ * Whether the user may change who can open the visualization.
235
+ */
236
+ canManageAccess: boolean;
237
+ /**
238
+ * The saved visualization whose access is managed. Undefined for a visualization that is not saved
239
+ * yet; its access is then a draft applied on its first save.
240
+ */
241
+ target?: IObjectPermissionsObject;
242
+ /**
243
+ * Title of the visualization for the sharing UI, with the untitled placeholder for an empty title.
244
+ */
245
+ objectTitle: string;
246
+ /**
247
+ * Access level of the visualization: `private` when only its owner can open it, `shared` when some users or
248
+ * groups can, and `public` when everyone in the workspace can. Undefined until requested, while loading, or
249
+ * when the read failed.
250
+ */
251
+ accessLevel?: ShareStatus;
252
+ /**
253
+ * Whether the access level is being read.
254
+ */
255
+ isAccessLoading: boolean;
256
+ /**
257
+ * Whether the access level could not be read.
258
+ */
259
+ isAccessError: boolean;
260
+ /**
261
+ * Starts reading the access level, once. Ignored when the built-in sharing is unavailable.
262
+ */
263
+ onRequestAccessSummary: () => void;
264
+ }
265
+ /**
266
+ * Props of the undo and redo controls, which are one control.
267
+ *
268
+ * @remarks
269
+ * The default owns its localized tooltips and accessible names; a replacement supplies its own.
270
+ *
271
+ * @alpha
272
+ */
273
+ export interface IAnalyticalDesignerUndoRedoProps extends IAnalyticalDesignerHeaderContext {
274
+ /**
275
+ * Whether there is nothing to undo, or the visualization is being saved.
276
+ */
277
+ isUndoDisabled: boolean;
278
+ /**
279
+ * Whether there is nothing to redo, or the visualization is being saved.
280
+ */
281
+ isRedoDisabled: boolean;
282
+ /**
283
+ * Undoes the last change. Ignored when undo is disabled.
284
+ */
285
+ onUndo: () => void;
286
+ /**
287
+ * Redoes the last undone change. Ignored when redo is disabled.
288
+ */
289
+ onRedo: () => void;
290
+ }
291
+ /**
292
+ * Props of the control that clears the visualization.
293
+ *
294
+ * @alpha
295
+ */
296
+ export interface IAnalyticalDesignerClearProps extends IAnalyticalDesignerHeaderContext {
297
+ /**
298
+ * Label of the control.
299
+ */
300
+ label: string;
301
+ /**
302
+ * Whether there is nothing to clear, or the visualization is being saved.
303
+ */
304
+ isDisabled: boolean;
305
+ /**
306
+ * Clears the visualization. Ignored when the control is disabled.
307
+ */
308
+ onClear: () => void;
309
+ }
310
+ /**
311
+ * How the default Open control offers the visualizations.
312
+ *
313
+ * @remarks
314
+ * - `dialog`: a dialog with the visualization picker.
315
+ *
316
+ * - `dropdown`: a dropdown list.
317
+ *
318
+ * @alpha
319
+ */
320
+ export type AnalyticalDesignerInsightPickerVariant = "dialog" | "dropdown";
321
+ /**
322
+ * Props of the control that opens a saved visualization, including its picker.
323
+ *
324
+ * @alpha
325
+ */
326
+ export interface IAnalyticalDesignerOpenProps extends IAnalyticalDesignerHeaderContext {
327
+ /**
328
+ * Label of the control.
329
+ */
330
+ label: string;
331
+ /**
332
+ * Whether a visualization cannot be opened now, because one is being saved or opened.
333
+ */
334
+ isDisabled: boolean;
335
+ /**
336
+ * Whether a visualization is being opened.
337
+ */
338
+ isLoading: boolean;
339
+ /**
340
+ * Identifier of the visualization that is open. Undefined for a visualization that is not saved yet.
341
+ */
342
+ selectedInsightId?: string;
343
+ /**
344
+ * How the default offers the visualizations.
345
+ */
346
+ pickerVariant: AnalyticalDesignerInsightPickerVariant;
347
+ /**
348
+ * Only visualizations with one of these tags are offered. Undefined offers all.
349
+ */
350
+ includeTags?: string[];
351
+ /**
352
+ * Visualizations with one of these tags are not offered.
353
+ */
354
+ excludeTags?: string[];
355
+ /**
356
+ * Visualization class URLs Analytical Designer can edit. Other visualizations are shown as unknown.
357
+ */
358
+ enabledVisualizationUrls: string[];
359
+ /**
360
+ * Whether the picker searches semantically too.
361
+ */
362
+ isSemanticSearchEnabled: boolean;
363
+ /**
364
+ * Opens a saved visualization.
365
+ *
366
+ * @remarks
367
+ * Analytical Designer asks for confirmation when the current visualization has unsaved changes. The call
368
+ * requests the opening; the `insightOpened` event reports it. Ignored while `isDisabled` is true.
369
+ */
370
+ onOpenInsight: (ref: ObjRef) => void;
371
+ }
372
+ /**
373
+ * Props of the control that leaves the editor without saving.
374
+ *
375
+ * @alpha
376
+ */
377
+ export interface IAnalyticalDesignerCancelProps extends IAnalyticalDesignerHeaderContext {
378
+ /**
379
+ * Label of the control.
380
+ */
381
+ label: string;
382
+ /**
383
+ * Whether leaving is refused now, because the visualization is being saved.
384
+ */
385
+ isDisabled: boolean;
386
+ /**
387
+ * Requests leaving the editor, with the same flow as `IAnalyticalDesignerVisualizationInfoProps.onRequestBack`.
388
+ * Ignored while `isDisabled` is true.
389
+ */
390
+ onCancel: () => void;
391
+ }
392
+ /**
393
+ * Props of the control that saves the visualization as a new one.
394
+ *
395
+ * @alpha
396
+ */
397
+ export interface IAnalyticalDesignerSaveAsProps extends IAnalyticalDesignerHeaderContext {
398
+ /**
399
+ * Label of the control. It changes while the visualization is being saved as a new one.
400
+ */
401
+ label: string;
402
+ /**
403
+ * Whether the visualization cannot be saved as a new one now.
404
+ */
405
+ isDisabled: boolean;
406
+ /**
407
+ * Whether the visualization is being saved as a new one.
408
+ */
409
+ isSaving: boolean;
410
+ /**
411
+ * Starts saving the visualization as a new one. Ignored when the control is disabled.
412
+ */
413
+ onSaveAs: () => void;
414
+ }
415
+ /**
416
+ * Props of the control that saves the visualization.
417
+ *
418
+ * @alpha
419
+ */
420
+ export interface IAnalyticalDesignerSaveProps extends IAnalyticalDesignerHeaderContext {
421
+ /**
422
+ * Label of the control. It changes while the visualization is being saved.
423
+ */
424
+ label: string;
425
+ /**
426
+ * Whether the visualization cannot be saved now.
427
+ */
428
+ isDisabled: boolean;
429
+ /**
430
+ * Whether the visualization is being saved.
431
+ */
432
+ isSaving: boolean;
433
+ /**
434
+ * Why the control is disabled, when there is a reason to tell the user.
435
+ */
436
+ disabledTooltip?: string;
437
+ /**
438
+ * Starts saving the visualization. Ignored when the control is disabled.
439
+ */
440
+ onSave: () => void;
441
+ }
442
+ /**
443
+ * Props of the control that embeds the visualization.
444
+ *
445
+ * @alpha
446
+ */
447
+ export interface IAnalyticalDesignerEmbedProps extends IAnalyticalDesignerHeaderContext {
448
+ /**
449
+ * Accessible name of the control.
450
+ */
451
+ label: string;
452
+ /**
453
+ * Label of the choice that shows the code embedding the visualization.
454
+ */
455
+ embedInsightLabel: string;
456
+ /**
457
+ * Whether the visualization cannot be embedded, because it is empty.
458
+ */
459
+ isEmbedInsightDisabled: boolean;
460
+ /**
461
+ * Why the visualization cannot be embedded.
462
+ */
463
+ embedInsightDisabledReason?: string;
464
+ /**
465
+ * Label of the choice that opens the documentation about embedding Analytical Designer.
466
+ */
467
+ documentationLabel: string;
468
+ /**
469
+ * Address of the documentation about embedding Analytical Designer.
470
+ */
471
+ documentationUrl: string;
472
+ /**
473
+ * Opens the dialog with the code embedding the visualization. Ignored when it cannot be embedded.
474
+ */
475
+ onEmbedInsight: () => void;
476
+ }
477
+ /**
478
+ * An action in the options menu.
479
+ *
480
+ * @alpha
481
+ */
482
+ export interface IAnalyticalDesignerOptionsAction {
483
+ type: "action";
484
+ /**
485
+ * Stable identifier of the item. Built-in actions are `openInAnalyticalDesigner`, `exportXlsx`,
486
+ * `exportPdf`, `exportCsv`, `exportCsvRaw` and `changeTimezone`. Prefix a custom identifier with
487
+ * `custom:`.
488
+ */
489
+ id: string;
490
+ /**
491
+ * Label of the action.
492
+ */
493
+ label: string;
494
+ /**
495
+ * Whether the action is disabled.
496
+ */
497
+ isDisabled: boolean;
498
+ /**
499
+ * Why the action is disabled.
500
+ */
501
+ disabledTooltip?: string;
502
+ /**
503
+ * Starts the action. A built-in action starts its usual flow, such as an export dialog, and ignores
504
+ * the call while it is disabled.
505
+ */
506
+ onSelect: () => void;
507
+ }
508
+ /**
509
+ * A section label in the options menu. It labels the actions after it, up to the next section or separator.
510
+ *
511
+ * @alpha
512
+ */
513
+ export interface IAnalyticalDesignerOptionsSection {
514
+ type: "section";
515
+ /**
516
+ * Stable identifier of the item. The built-in section is `exportSection`.
517
+ */
518
+ id: string;
519
+ /**
520
+ * Label of the section.
521
+ */
522
+ label: string;
523
+ }
524
+ /**
525
+ * A separator in the options menu.
526
+ *
527
+ * @alpha
528
+ */
529
+ export interface IAnalyticalDesignerOptionsSeparator {
530
+ type: "separator";
531
+ /**
532
+ * Stable identifier of the item. The built-in separator is `timezoneSeparator`.
533
+ */
534
+ id: string;
535
+ }
536
+ /**
537
+ * An item of the options menu.
538
+ *
539
+ * @alpha
540
+ */
541
+ export type AnalyticalDesignerOptionsItem = IAnalyticalDesignerOptionsAction | IAnalyticalDesignerOptionsSection | IAnalyticalDesignerOptionsSeparator;
542
+ /**
543
+ * Props of the options menu, including its trigger.
544
+ *
545
+ * @remarks
546
+ * The default drops sections without actions and separators that separate nothing, so filtered items need
547
+ * no cleanup.
548
+ *
549
+ * @alpha
550
+ */
551
+ export interface IAnalyticalDesignerOptionsProps extends IAnalyticalDesignerHeaderContext {
552
+ /**
553
+ * Text of the trigger.
554
+ */
555
+ label: string;
556
+ /**
557
+ * Accessible name of the trigger.
558
+ */
559
+ accessibleName: string;
560
+ /**
561
+ * Whether the trigger is disabled.
562
+ */
563
+ isDisabled: boolean;
564
+ /**
565
+ * Items of the menu in their order.
566
+ */
567
+ items: readonly AnalyticalDesignerOptionsItem[];
568
+ }
569
+ //# sourceMappingURL=editorHeaderSlotTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editorHeaderSlotTypes.d.ts","sourceRoot":"","sources":["../../src/embedding/editorHeaderSlotTypes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAEpG;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,kCAAkC,GAAG,QAAQ,GAAG,SAAS,GAAG,gBAAgB,CAAC;AAEzF;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,IAAI,EAAE,kCAAkC,CAAC;IAEzC;;;OAGG;IACH,kBAAkB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EX;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB;AAED;;;;GAIG;AACH,MAAM,WAAW,mCAAmC;IAChD,IAAI,EAAE,WAAW,CAAC;IAElB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,MAAM,MAAM,6BAA6B,GACnC,gCAAgC,GAChC,iCAAiC,GACjC,mCAAmC,CAAC;AAE1C;;;;;;;;GAQG;AACH,MAAM,WAAW,+BAAgC,SAAQ,gCAAgC;IACrF;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,SAAS,6BAA6B,EAAE,CAAC;CACnD"}
@@ -0,0 +1,2 @@
1
+ // (C) 2026 GoodData Corporation
2
+ export {};
@@ -1,5 +1,6 @@
1
1
  import { type ComponentType, type ReactElement } from "react";
2
2
  import { type ISlotProps } from "@gooddata/sdk-ui-kit";
3
+ import { type IAnalyticalDesignerCancelProps, type IAnalyticalDesignerClearProps, type IAnalyticalDesignerEditorActionsProps, type IAnalyticalDesignerEditorHeaderProps, type IAnalyticalDesignerEmbedProps, type IAnalyticalDesignerOpenProps, type IAnalyticalDesignerOptionsProps, type IAnalyticalDesignerSaveAsProps, type IAnalyticalDesignerSaveProps, type IAnalyticalDesignerUndoRedoProps, type IAnalyticalDesignerVisualizationAccessProps, type IAnalyticalDesignerVisualizationDescriptionProps, type IAnalyticalDesignerVisualizationInfoProps, type IAnalyticalDesignerVisualizationTitleProps } from "./editorHeaderSlotTypes.js";
3
4
  /**
4
5
  * Props of the region shown while Analytical Designer loads.
5
6
  *
@@ -32,6 +33,19 @@ export type AnalyticalDesignerSlotComponent<TProps> = ComponentType<ISlotProps<T
32
33
  /**
33
34
  * Regions of Analytical Designer that a host can replace or wrap.
34
35
  *
36
+ * @remarks
37
+ * The editor header slots form a tree: EditorHeader holds VisualizationInfo and EditorActions,
38
+ * VisualizationInfo holds VisualizationTitle, VisualizationDescription and VisualizationAccess, and
39
+ * EditorActions holds UndoRedo, Clear, Open, Cancel, SaveAs, Save, Embed and Options. A slot can hide its
40
+ * region by returning `null`, replace it using the data and callbacks in `defaultProps`, or render
41
+ * `Default` with changed props or next to its own content. A region receives its children already
42
+ * rendered with their slots.
43
+ *
44
+ * A control that Analytical Designer does not show, for its permissions, configuration (`hiddenActions`)
45
+ * or mode, does not render its slot. Hiding or changing a control grants no permission: the callbacks in
46
+ * `defaultProps` check again when called. Define slot components outside render, so that they keep their
47
+ * state.
48
+ *
35
49
  * @alpha
36
50
  */
37
51
  export interface IAnalyticalDesignerSlots {
@@ -43,6 +57,65 @@ export interface IAnalyticalDesignerSlots {
43
57
  * Shown when Analytical Designer cannot start.
44
58
  */
45
59
  Error?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerErrorProps>;
60
+ /**
61
+ * The editor header, with the visualization information and the editor actions. Wrap the default to
62
+ * add content above or below it. Analytical Designer keeps the catalog restore control outside it.
63
+ */
64
+ EditorHeader?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerEditorHeaderProps>;
65
+ /**
66
+ * The visualization title, description, access, indicators and dashboard usages. Wrap the default to
67
+ * add a Back control before the title.
68
+ */
69
+ VisualizationInfo?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerVisualizationInfoProps>;
70
+ /**
71
+ * The controls on the right of the header.
72
+ */
73
+ EditorActions?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerEditorActionsProps>;
74
+ /**
75
+ * The visualization title.
76
+ */
77
+ VisualizationTitle?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerVisualizationTitleProps>;
78
+ /**
79
+ * The visualization description, including its bubble.
80
+ */
81
+ VisualizationDescription?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerVisualizationDescriptionProps>;
82
+ /**
83
+ * Who can open the visualization, including the sharing dialog. Rendered also where the built-in
84
+ * sharing is unavailable.
85
+ */
86
+ VisualizationAccess?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerVisualizationAccessProps>;
87
+ /**
88
+ * The undo and redo controls, as one control.
89
+ */
90
+ UndoRedo?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerUndoRedoProps>;
91
+ /**
92
+ * The control that clears the visualization.
93
+ */
94
+ Clear?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerClearProps>;
95
+ /**
96
+ * The control that opens a saved visualization, including its picker.
97
+ */
98
+ Open?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerOpenProps>;
99
+ /**
100
+ * The control that leaves the editor without saving, when Analytical Designer offers it.
101
+ */
102
+ Cancel?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerCancelProps>;
103
+ /**
104
+ * The control that saves the visualization as a new one, when Analytical Designer offers it.
105
+ */
106
+ SaveAs?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerSaveAsProps>;
107
+ /**
108
+ * The control that saves the visualization.
109
+ */
110
+ Save?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerSaveProps>;
111
+ /**
112
+ * The control that embeds the visualization, including its menu.
113
+ */
114
+ Embed?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerEmbedProps>;
115
+ /**
116
+ * The options menu with exports and the time zone, including its trigger.
117
+ */
118
+ Options?: AnalyticalDesignerSlotComponent<IAnalyticalDesignerOptionsProps>;
46
119
  }
47
120
  export declare const AdSlotsProvider: import("react").Provider<IAnalyticalDesignerSlots>;
48
121
  export declare function useAdSlots(): IAnalyticalDesignerSlots;
@@ -1 +1 @@
1
- {"version":3,"file":"slots.d.ts","sourceRoot":"","sources":["../../src/embedding/slots.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAA6B,MAAM,OAAO,CAAC;AAEzF,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;GAIG;AACH,MAAM,WAAW,+BAA+B;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+BAA+B,CAAC,4BAA4B,CAAC,CAAC;IAErE;;OAEG;IACH,MAAM,CAAC,EAAE,+BAA+B,CAAC,8BAA8B,CAAC,CAAC;IAEzE;;OAEG;IACH,MAAM,CAAC,EAAE,+BAA+B,CAAC,8BAA8B,CAAC,CAAC;IAEzE;;OAEG;IACH,IAAI,CAAC,EAAE,+BAA+B,CAAC,4BAA4B,CAAC,CAAC;IAErE;;OAEG;IACH,KAAK,CAAC,EAAE,+BAA+B,CAAC,6BAA6B,CAAC,CAAC;IAEvE;;OAEG;IACH,OAAO,CAAC,EAAE,+BAA+B,CAAC,+BAA+B,CAAC,CAAC;CAC9E;AAID,eAAO,MAAM,eAAe,oDAA0B,CAAC;AAEvD,wBAAgB,UAAU,IAAI,wBAAwB,CAErD;AAED,6EAA6E;AAC7E,wBAAgB,WAAW,CAAC,EAAE,SAA0B,EAAE,EAAE,+BAA+B,2CAE1F;AAED,oFAAoF;AACpF,wBAAgB,UAAU,CAAC,MAAM,SAAS,MAAM,EAC5C,IAAI,EAAE,+BAA+B,CAAC,MAAM,CAAC,GAAG,SAAS,EACzD,OAAO,EAAE,aAAa,CAAC,MAAM,CAAC,EAC9B,YAAY,EAAE,MAAM,GACrB,YAAY,CAEd"}
package/esm/index.d.ts CHANGED
@@ -5,5 +5,6 @@
5
5
  */
6
6
  export { AnalyticalDesigner } from "./embedding/AnalyticalDesigner.js";
7
7
  export { type AnalyticalDesignerEvent, type AnalyticalDesignerEventType, type AnalyticalDesignerHiddenAction, type IAnalyticalDesignerApi, type IAnalyticalDesignerCacheReset, type IAnalyticalDesignerConfig, type IAnalyticalDesignerEventDataMap, type IAnalyticalDesignerInsightOpenedData, type IAnalyticalDesignerProps, type IAnalyticalDesignerTelemetryCallbacks, } from "./embedding/analyticalDesignerTypes.js";
8
+ export { type AnalyticalDesignerHeaderLayoutMode, type AnalyticalDesignerInsightPickerVariant, type AnalyticalDesignerOptionsItem, type IAnalyticalDesignerCancelProps, type IAnalyticalDesignerClearProps, type IAnalyticalDesignerEditorAction, type IAnalyticalDesignerEditorActionsProps, type IAnalyticalDesignerEditorHeaderProps, type IAnalyticalDesignerEmbedProps, type IAnalyticalDesignerHeaderContext, type IAnalyticalDesignerHeaderLayout, type IAnalyticalDesignerOpenProps, type IAnalyticalDesignerOptionsAction, type IAnalyticalDesignerOptionsProps, type IAnalyticalDesignerOptionsSection, type IAnalyticalDesignerOptionsSeparator, type IAnalyticalDesignerSaveAsProps, type IAnalyticalDesignerSaveProps, type IAnalyticalDesignerUndoRedoProps, type IAnalyticalDesignerVisualizationAccessProps, type IAnalyticalDesignerVisualizationDescriptionProps, type IAnalyticalDesignerVisualizationInfoProps, type IAnalyticalDesignerVisualizationTitleProps, } from "./embedding/editorHeaderSlotTypes.js";
8
9
  export { type AnalyticalDesignerSlotComponent, type IAnalyticalDesignerErrorProps, type IAnalyticalDesignerLoadingProps, type IAnalyticalDesignerSlots, } from "./embedding/slots.js";
9
10
  //# sourceMappingURL=index.d.ts.map