@gooddata/sdk-ui-dashboard 11.55.0-alpha.2 → 11.55.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 (204) hide show
  1. package/NOTICE +9 -9
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/_staging/automation/index.d.ts +19 -1
  5. package/esm/_staging/automation/index.d.ts.map +1 -1
  6. package/esm/_staging/automation/index.js +44 -8
  7. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts +1 -18
  8. package/esm/_staging/dashboard/dashboardFilterConverter.d.ts.map +1 -1
  9. package/esm/_staging/dashboard/dashboardFilterConverter.js +1 -62
  10. package/esm/_staging/insight/insightWidgetProperties.d.ts +6 -0
  11. package/esm/_staging/insight/insightWidgetProperties.d.ts.map +1 -0
  12. package/esm/_staging/insight/insightWidgetProperties.js +32 -0
  13. package/esm/_staging/sharedHooks/useRichTextFilters.d.ts.map +1 -1
  14. package/esm/_staging/sharedHooks/useRichTextFilters.js +1 -2
  15. package/esm/index.d.ts +25 -7
  16. package/esm/index.d.ts.map +1 -1
  17. package/esm/index.js +22 -4
  18. package/esm/internal.d.ts +3 -3
  19. package/esm/internal.d.ts.map +1 -1
  20. package/esm/internal.js +3 -3
  21. package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.d.ts.map +1 -1
  22. package/esm/kdaDialog/dialog/hooks/useChangeAnalysis.js +1 -2
  23. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.d.ts.map +1 -1
  24. package/esm/model/commandHandlers/common/validateDrillToCustomUrlParams.js +1 -2
  25. package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
  26. package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +1 -2
  27. package/esm/model/commandHandlers/scheduledEmail/automationParametersRestore.d.ts +11 -5
  28. package/esm/model/commandHandlers/scheduledEmail/automationParametersRestore.d.ts.map +1 -1
  29. package/esm/model/commandHandlers/scheduledEmail/automationParametersRestore.js +24 -7
  30. package/esm/model/commandHandlers/scheduledEmail/csvRawExecutionDefinition.d.ts.map +1 -1
  31. package/esm/model/commandHandlers/scheduledEmail/csvRawExecutionDefinition.js +1 -2
  32. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  33. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +5 -0
  34. package/esm/model/commandHandlers/widgets/exportInsightWidgetHandler.d.ts.map +1 -1
  35. package/esm/model/commandHandlers/widgets/exportInsightWidgetHandler.js +21 -3
  36. package/esm/model/commandHandlers/widgets/exportRawInsightWidgetHandler.js +1 -2
  37. package/esm/model/commands/filters.d.ts +1 -1
  38. package/esm/model/commands/filters.js +1 -1
  39. package/esm/model/events/filters.d.ts +6 -6
  40. package/esm/model/store/tabs/layout/layoutSelectors.d.ts.map +1 -1
  41. package/esm/model/store/tabs/layout/layoutSelectors.js +1 -2
  42. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts +10 -22
  43. package/esm/model/store/tabs/parameters/parametersHelpers.d.ts.map +1 -1
  44. package/esm/model/store/tabs/parameters/parametersHelpers.js +13 -42
  45. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts +8 -10
  46. package/esm/model/store/tabs/parameters/parametersSelectors.d.ts.map +1 -1
  47. package/esm/model/store/tabs/parameters/parametersSelectors.js +22 -32
  48. package/esm/presentation/automations/alerting/AlertingManagementDialog.d.ts +4 -0
  49. package/esm/presentation/automations/alerting/AlertingManagementDialog.d.ts.map +1 -1
  50. package/esm/presentation/automations/alerting/AlertingManagementDialog.js +6 -2
  51. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts +16 -16
  52. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.d.ts.map +1 -1
  53. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js +34 -109
  54. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts +10 -0
  55. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.d.ts.map +1 -0
  56. package/esm/presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js +12 -0
  57. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts +49 -0
  58. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.d.ts.map +1 -0
  59. package/esm/presentation/automations/alerting/blocks/AlertingDialogShell.js +128 -0
  60. package/esm/presentation/automations/alerting/blocks/DefaultLoadingAlertingDialog.d.ts.map +1 -0
  61. package/esm/presentation/automations/alerting/types.d.ts +109 -0
  62. package/esm/presentation/automations/alerting/types.d.ts.map +1 -1
  63. package/esm/presentation/automations/connectors/AlertingConnector.d.ts +3 -3
  64. package/esm/presentation/automations/connectors/AlertingConnector.d.ts.map +1 -1
  65. package/esm/presentation/automations/connectors/AlertingConnector.js +6 -4
  66. package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts +3 -3
  67. package/esm/presentation/automations/connectors/ScheduledEmailConnector.d.ts.map +1 -1
  68. package/esm/presentation/automations/connectors/ScheduledEmailConnector.js +6 -4
  69. package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.d.ts.map +1 -1
  70. package/esm/presentation/automations/connectors/hooks/useBuildAlertingManagementDialogContext.js +7 -0
  71. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts +22 -0
  72. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.d.ts.map +1 -1
  73. package/esm/presentation/automations/contexts/AlertingManagementDialogContext.js +10 -0
  74. package/esm/presentation/automations/contexts/AutomationsContext.d.ts +10 -0
  75. package/esm/presentation/automations/contexts/AutomationsContext.d.ts.map +1 -1
  76. package/esm/presentation/automations/contexts/AutomationsContext.js +10 -0
  77. package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts +10 -0
  78. package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.d.ts.map +1 -1
  79. package/esm/presentation/automations/contexts/ScheduledEmailManagementDialogContext.js +10 -0
  80. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts +15 -10
  81. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  82. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +45 -198
  83. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts +2 -18
  84. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/DashboardAttachments.d.ts.map +1 -1
  85. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts +2 -23
  86. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/Attachments/WidgetAttachments.d.ts.map +1 -1
  87. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts +11 -0
  88. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.d.ts.map +1 -0
  89. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js +12 -0
  90. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts +11 -0
  91. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.d.ts.map +1 -0
  92. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js +12 -0
  93. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts +11 -0
  94. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.d.ts.map +1 -0
  95. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js +12 -0
  96. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts +11 -0
  97. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.d.ts.map +1 -0
  98. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js +12 -0
  99. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts +11 -0
  100. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.d.ts.map +1 -0
  101. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js +12 -0
  102. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts +11 -0
  103. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.d.ts.map +1 -0
  104. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js +12 -0
  105. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.d.ts +2 -17
  106. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.d.ts.map +1 -1
  107. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/EvaluationModeCheckbox/EvaluationModeCheckbox.js +0 -3
  108. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.d.ts +2 -6
  109. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/MessageForm/MessageForm.d.ts.map +1 -1
  110. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +1 -1
  111. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.d.ts +2 -10
  112. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/SubjectForm/SubjectForm.d.ts.map +1 -1
  113. package/esm/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.d.ts +4 -0
  114. package/esm/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.d.ts.map +1 -1
  115. package/esm/presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.js +6 -2
  116. package/esm/presentation/automations/scheduledEmail/blocks/DefaultLoadingScheduledEmailDialog.d.ts.map +1 -0
  117. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts +16 -0
  118. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.d.ts.map +1 -0
  119. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js +28 -0
  120. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts +16 -0
  121. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.d.ts.map +1 -0
  122. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js +28 -0
  123. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts +15 -0
  124. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.d.ts.map +1 -0
  125. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js +27 -0
  126. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts +16 -0
  127. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.d.ts.map +1 -0
  128. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js +24 -0
  129. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts +59 -0
  130. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.d.ts.map +1 -0
  131. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js +195 -0
  132. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts +16 -0
  133. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.d.ts.map +1 -0
  134. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js +29 -0
  135. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts +16 -0
  136. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.d.ts.map +1 -0
  137. package/esm/presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.js +28 -0
  138. package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.d.ts +6 -0
  139. package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.d.ts.map +1 -0
  140. package/esm/presentation/automations/scheduledEmail/state/useIsInPlatformChannel.js +13 -0
  141. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts +73 -0
  142. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.d.ts.map +1 -0
  143. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js +168 -0
  144. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts +30 -0
  145. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.d.ts.map +1 -0
  146. package/esm/presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js +26 -0
  147. package/esm/presentation/automations/scheduledEmail/types.d.ts +351 -1
  148. package/esm/presentation/automations/scheduledEmail/types.d.ts.map +1 -1
  149. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts +8 -4
  150. package/esm/presentation/automations/shared/automationFilters/automationParameters.d.ts.map +1 -1
  151. package/esm/presentation/automations/shared/automationFilters/automationParameters.js +30 -13
  152. package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.d.ts.map +1 -1
  153. package/esm/presentation/automations/shared/automationFilters/components/AutomationParameter.js +1 -4
  154. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.d.ts.map +1 -1
  155. package/esm/presentation/automations/shared/automationFilters/hooks/useValidateExistingAutomationFilters.js +12 -7
  156. package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.d.ts.map +1 -1
  157. package/esm/presentation/automations/shared/automationFilters/useAutomationAlertParameters.js +3 -1
  158. package/esm/presentation/automations/shared/filters/conversions.d.ts.map +1 -1
  159. package/esm/presentation/automations/shared/filters/conversions.js +1 -2
  160. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts +51 -0
  161. package/esm/presentation/automations/shared/hooks/useWorkspaceUsersSearch.d.ts.map +1 -0
  162. package/esm/presentation/automations/{scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect → shared/hooks}/useWorkspaceUsersSearch.js +13 -0
  163. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  164. package/esm/presentation/dashboard/components/DashboardRenderer.js +4 -1
  165. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +1 -1
  166. package/esm/presentation/dashboard/types.d.ts +32 -2
  167. package/esm/presentation/dashboard/types.d.ts.map +1 -1
  168. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts +6 -2
  169. package/esm/presentation/dashboardContexts/DashboardComponentsContext.d.ts.map +1 -1
  170. package/esm/presentation/dashboardContexts/DashboardComponentsContext.js +3 -0
  171. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.d.ts.map +1 -1
  172. package/esm/presentation/drill/DrillConfigPanel/DrillToUrl/CustomUrlEditor.js +1 -2
  173. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.d.ts.map +1 -1
  174. package/esm/presentation/filterBar/attributeFilter/AttributeFilterParentFilteringContext.js +1 -2
  175. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +1 -3
  176. package/esm/presentation/filterBar/attributeFilter/useParentFilters.d.ts.map +1 -1
  177. package/esm/presentation/filterBar/attributeFilter/useParentFilters.js +1 -2
  178. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.d.ts.map +1 -1
  179. package/esm/presentation/filterBar/parameterFilter/DashboardParameterFilter.js +12 -8
  180. package/esm/presentation/localization/bundles/zh-HK.localization-bundle.js +91 -91
  181. package/esm/presentation/widget/insight/ViewModeDashboardInsight/useResolveDashboardInsightProperties.d.ts.map +1 -1
  182. package/esm/presentation/widget/insight/ViewModeDashboardInsight/useResolveDashboardInsightProperties.js +3 -35
  183. package/esm/presentation/widget/insightMenu/types.js +1 -1
  184. package/esm/presentation/widget/richTextMenu/types.d.ts.map +1 -1
  185. package/esm/presentation/widget/richTextMenu/types.js +2 -1
  186. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts +2 -1
  187. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
  188. package/esm/sdk-ui-dashboard.d.ts +1118 -161
  189. package/esm/types.d.ts +59 -3
  190. package/esm/types.d.ts.map +1 -1
  191. package/esm/types.js +2 -4
  192. package/package.json +23 -24
  193. package/styles/scss/dashboard.scss +4 -4
  194. package/esm/converters/filterConverters.d.ts +0 -93
  195. package/esm/converters/filterConverters.d.ts.map +0 -1
  196. package/esm/converters/filterConverters.js +0 -199
  197. package/esm/presentation/automations/alerting/DefaultAlertingDialog/DefaultLoadingAlertingDialog.d.ts.map +0 -1
  198. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/DefaultLoadingScheduledEmailDialog.d.ts.map +0 -1
  199. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/useWorkspaceUsersSearch.d.ts +0 -13
  200. package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/useWorkspaceUsersSearch.d.ts.map +0 -1
  201. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog → blocks}/DefaultLoadingAlertingDialog.d.ts +0 -0
  202. /package/esm/presentation/automations/alerting/{DefaultAlertingDialog → blocks}/DefaultLoadingAlertingDialog.js +0 -0
  203. /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog → blocks}/DefaultLoadingScheduledEmailDialog.d.ts +0 -0
  204. /package/esm/presentation/automations/scheduledEmail/{DefaultScheduledEmailDialog → blocks}/DefaultLoadingScheduledEmailDialog.js +0 -0
package/NOTICE CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
9
9
 
10
- Date generated: 2026-8-30
10
+ Date generated: 2026-9-1
11
11
 
12
- Revision ID: ddb9da987c2b38f109d24ae5d452deb8e2f28bd2
12
+ Revision ID: 3404f1a0d36039369213be192418b30d4f1226a6
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -518,7 +518,7 @@ No first party licenses found in gooddata-ui-sdk
518
518
  - open (7.4.2) [MIT]
519
519
  - ora (5.4.1) [MIT]
520
520
  - oxc-transform (0.147.0) [MIT]
521
- - oxfmt (0.52.0) [MIT, 0BSD]
521
+ - oxfmt (0.58.0) [MIT, 0BSD]
522
522
  - p-map (3.0.0) [MIT]
523
523
  - package-json-from-dist (1.0.1) [blueoak-1.0.0]
524
524
  - parent-module (1.0.1) [MIT]
@@ -10463,9 +10463,9 @@ Dependency Path: oxc-transform
10463
10463
  File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
10464
10464
 
10465
10465
  --------------------------------------------------------------------------------
10466
- Package Title: oxfmt (0.52.0)
10466
+ Package Title: oxfmt (0.58.0)
10467
10467
 
10468
- Package Locator: npm+oxfmt$0.52.0
10468
+ Package Locator: npm+oxfmt$0.58.0
10469
10469
 
10470
10470
  Package Depth: Direct
10471
10471
  --------------------------------------------------------------------------------
@@ -10535,7 +10535,7 @@ SOFTWARE.
10535
10535
  0BSD
10536
10536
  --------------------------------------------------------------------------------
10537
10537
  File matches:
10538
- - dist/plugin-C4twtOn4.js
10538
+ - dist/plugin-B4cguZ1l.js
10539
10539
  - Copyright (c) Microsoft Corporation.
10540
10540
  --------------------------------------------------------------------------------
10541
10541
 
@@ -10560,7 +10560,7 @@ MIT
10560
10560
  Authors: boshenc@gmail.com
10561
10561
  Package Manager: NPM
10562
10562
  Project URL: https://oxc.rs/docs/guide/usage/formatter
10563
- Package Download URL: https://registry.npmjs.org/oxfmt/-/oxfmt-0.52.0.tgz
10563
+ Package Download URL: https://registry.npmjs.org/oxfmt/-/oxfmt-0.58.0.tgz
10564
10564
  Dependency Path: oxfmt
10565
10565
  File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
10566
10566
 
@@ -35327,7 +35327,7 @@ MIT
35327
35327
 
35328
35328
  Authors: admin@simonboudrias.com
35329
35329
  Package Manager: NPM
35330
- Project URL: https://www.npmjs.com/package/run-async
35330
+ Project URL: https://github.com/SBoudrias/run-async#readme
35331
35331
  Package Download URL: https://registry.npmjs.org/run-async/-/run-async-3.0.0.tgz
35332
35332
  Dependency Path: inquirer > run-async
35333
35333
  File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
@@ -64321,4 +64321,4 @@ File Path(s): common/config/subspaces/sdk/pnpm-lock.yaml
64321
64321
  --------------------------------------------------------------------------------
64322
64322
  --------------------------------------------------------------------------------
64323
64323
 
64324
- Report Generated by FOSSA on 2026-8-30
64324
+ Report Generated by FOSSA on 2026-9-1
@@ -1,4 +1,4 @@
1
- export declare const LIB_VERSION = "11.55.0-alpha.2";
1
+ export declare const LIB_VERSION = "11.55.0-alpha.4";
2
2
  export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
3
3
  export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
4
4
  //# sourceMappingURL=__version.d.ts.map
package/esm/__version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // (C) 2021 GoodData Corporation
2
2
  // DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
3
- export const LIB_VERSION = "11.55.0-alpha.2";
3
+ export const LIB_VERSION = "11.55.0-alpha.4";
4
4
  export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
5
5
  export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
@@ -1,4 +1,4 @@
1
- import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IDashboardExportParameter, type IExportDefinitionMetadataObject, type IExportDefinitionMetadataObjectDefinition, type IFilter, type IInsightParameterValue, type IUser, type IWorkspaceUser } from "@gooddata/sdk-model";
1
+ import { type FilterContextItem, type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IAutomationRecipient, type IDashboardExportParameter, type IExportDefinitionMetadataObject, type IExportDefinitionMetadataObjectDefinition, type IFilter, type IInsightParameterValue, type IParameterDefinition, type IUser, type IWorkspaceUser, type ParameterValue } from "@gooddata/sdk-model";
2
2
  export declare const isDashboardAutomation: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => boolean | undefined;
3
3
  /**
4
4
  * The timezone baked into an automation at creation time, when it could not be derived at run
@@ -39,6 +39,24 @@ export declare function setExportParametersByTab(automation: IAutomationMetadata
39
39
  * does not know (persisted by a newer one) are dropped.
40
40
  */
41
41
  export declare function exportParametersToValues(stored: IDashboardExportParameter[], isStringParametersEnabled: boolean): IInsightParameterValue[];
42
+ /**
43
+ * Strict whole-string numeric parse of a wire value: only a non-empty string that is entirely a
44
+ * finite number parses (guarding the `Number("") === 0` quirk); anything else is `undefined`.
45
+ * Runtime rows can violate the declared type (e.g. a null value in persisted metadata), so the
46
+ * input is stringified first — the parse degrades to `undefined` instead of throwing.
47
+ */
48
+ export declare function parseNumberWireValue(wireValue: string): number | undefined;
49
+ /**
50
+ * Decodes a stored alert parameter value against a workspace parameter definition. The alert wire
51
+ * format is untyped — values arrive as raw strings — so the definition is the only source of the
52
+ * value's type: under a NUMBER definition a numeric string parses to a number, under a STRING
53
+ * definition the string passes through byte-for-byte. A value already carrying the definition's
54
+ * runtime type (user-edited in the dialog) passes through unchanged. Returns `undefined` when the
55
+ * value cannot be decoded (see {@link decodeParameterValue}).
56
+ *
57
+ * @internal
58
+ */
59
+ export declare function decodeParameterWireValue(definition: IParameterDefinition, value: ParameterValue): ParameterValue | undefined;
42
60
  export declare const getAutomationVisualizationFilters: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => {
43
61
  executionFilters: IFilter[] | undefined;
44
62
  filterContextItems: FilterContextItem[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_staging/automation/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAE9B,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,KAAK,EACV,KAAK,cAAc,EAStB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,qBAAqB,kHAUjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,iHAI+B,CAAC;AAElE,eAAO,MAAM,yBAAyB,kHAUrC,CAAC;AAEF,eAAO,MAAM,4BAA4B,kHAQxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,wHAW9C,CAAC;AAEF,eAAO,MAAM,6BAA6B,kHAQzC,CAAC;AAEF,eAAO,MAAM,mCAAmC,wHAW/C,CAAC;AAEF,eAAO,MAAM,6BAA6B,8HAYzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,8IAY9C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,sJAW9C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,mCAAmC,EAC/C,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,GACzE,mCAAmC,CA+BrC;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,yBAAyB,EAAE,EACnC,yBAAyB,EAAE,OAAO,GACnC,sBAAsB,EAAE,CAQ1B;AAqBD,eAAO,MAAM,iCAAiC;;;CAuB7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,oHAQrC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,mIAIxC,CAAC;AAOF,eAAO,MAAM,mBAAmB,8HAqB/B,CAAC;AAEF,eAAO,MAAM,uCAAuC,gEAOnD,CAAC;AAEF,eAAO,MAAM,iCAAiC,0DAe7C,CAAC;AAEF,eAAO,MAAM,gCAAgC,uCAO5C,CAAC;AAEF,eAAO,MAAM,6CAA6C,qDASzD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_staging/automation/index.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,mCAAmC,EACxC,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAE9B,KAAK,+BAA+B,EACpC,KAAK,yCAAyC,EAE9C,KAAK,OAAO,EACZ,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,KAAK,EACV,KAAK,cAAc,EAEnB,KAAK,cAAc,EAOtB,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,qBAAqB,kHAUjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,iHAI+B,CAAC;AAElE,eAAO,MAAM,yBAAyB,kHAUrC,CAAC;AAEF,eAAO,MAAM,4BAA4B,kHAQxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,wHAW9C,CAAC;AAEF,eAAO,MAAM,6BAA6B,kHAQzC,CAAC;AAEF,eAAO,MAAM,mCAAmC,wHAW/C,CAAC;AAEF,eAAO,MAAM,6BAA6B,8HAYzC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kCAAkC,8IAY9C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,sJAW9C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,mCAAmC,EAC/C,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,yBAAyB,EAAE,CAAC,GAAG,SAAS,GACzE,mCAAmC,CA+BrC;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,yBAAyB,EAAE,EACnC,yBAAyB,EAAE,OAAO,GACnC,sBAAsB,EAAE,CAa1B;AA2BD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI1E;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACpC,UAAU,EAAE,oBAAoB,EAChC,KAAK,EAAE,cAAc,GACtB,cAAc,GAAG,SAAS,CAE5B;AAED,eAAO,MAAM,iCAAiC;;;CAuB7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,oHAQrC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,mIAIxC,CAAC;AAOF,eAAO,MAAM,mBAAmB,8HAqB/B,CAAC;AAEF,eAAO,MAAM,uCAAuC,gEAOnD,CAAC;AAEF,eAAO,MAAM,iCAAiC,0DAe7C,CAAC;AAEF,eAAO,MAAM,gCAAgC,uCAO5C,CAAC;AAEF,eAAO,MAAM,6CAA6C,qDASzD,CAAC"}
@@ -130,27 +130,63 @@ export function setExportParametersByTab(automation, parametersByTab) {
130
130
  */
131
131
  export function exportParametersToValues(stored, isStringParametersEnabled) {
132
132
  return stored.reduce((acc, row) => {
133
- const value = decodeExportParameterValue(row.parameterType, row.value, isStringParametersEnabled);
133
+ // Untagged rows predate the tag — a wire-format rule, so the default lives at this call site
134
+ const tag = row.parameterType ?? "NUMBER";
135
+ if (tag === "STRING" && !isStringParametersEnabled) {
136
+ return acc;
137
+ }
138
+ const value = decodeParameterValue(tag, row.value);
134
139
  if (value !== undefined) {
135
140
  acc.push({ ref: idRef(row.id, "parameter"), value });
136
141
  }
137
142
  return acc;
138
143
  }, []);
139
144
  }
140
- function decodeExportParameterValue(parameterType, wireValue, isStringParametersEnabled) {
141
- const tag = parameterType ?? "NUMBER";
145
+ /**
146
+ * The single core of parameter value decoding: coerces `value` to the type named by `tag`, or
147
+ * fails with `undefined` — for a non-numeric value under NUMBER, a tag this version does not know
148
+ * (persisted by a newer one), or a malformed persisted row whose value is nullish. Both wire
149
+ * shapes route here: export rows pass their own type tag, alert values pass the workspace
150
+ * definition's type (see {@link decodeParameterWireValue}).
151
+ */
152
+ function decodeParameterValue(tag, value) {
153
+ if (value == null) {
154
+ return undefined;
155
+ }
142
156
  switch (tag) {
143
- case "NUMBER": {
144
- const parsed = Number(wireValue);
145
- return Number.isFinite(parsed) ? parsed : undefined;
146
- }
157
+ case "NUMBER":
158
+ return typeof value === "number" ? value : parseNumberWireValue(value);
147
159
  case "STRING":
148
- return isStringParametersEnabled ? wireValue : undefined;
160
+ return String(value);
149
161
  default:
150
162
  assertNever(tag);
151
163
  return undefined;
152
164
  }
153
165
  }
166
+ /**
167
+ * Strict whole-string numeric parse of a wire value: only a non-empty string that is entirely a
168
+ * finite number parses (guarding the `Number("") === 0` quirk); anything else is `undefined`.
169
+ * Runtime rows can violate the declared type (e.g. a null value in persisted metadata), so the
170
+ * input is stringified first — the parse degrades to `undefined` instead of throwing.
171
+ */
172
+ export function parseNumberWireValue(wireValue) {
173
+ const normalized = String(wireValue).trim();
174
+ const parsed = normalized === "" ? Number.NaN : Number(normalized);
175
+ return Number.isFinite(parsed) ? parsed : undefined;
176
+ }
177
+ /**
178
+ * Decodes a stored alert parameter value against a workspace parameter definition. The alert wire
179
+ * format is untyped — values arrive as raw strings — so the definition is the only source of the
180
+ * value's type: under a NUMBER definition a numeric string parses to a number, under a STRING
181
+ * definition the string passes through byte-for-byte. A value already carrying the definition's
182
+ * runtime type (user-edited in the dialog) passes through unchanged. Returns `undefined` when the
183
+ * value cannot be decoded (see {@link decodeParameterValue}).
184
+ *
185
+ * @internal
186
+ */
187
+ export function decodeParameterWireValue(definition, value) {
188
+ return decodeParameterValue(definition.type, value);
189
+ }
154
190
  export const getAutomationVisualizationFilters = (automation) => {
155
191
  if (!automation) {
156
192
  return { executionFilters: undefined, filterContextItems: undefined };
@@ -1,22 +1,5 @@
1
- import { type DashboardAttributeFilterItem, type DashboardAttributeFilterSelectionMode, type IAttributeElement, type IAttributeFilter, type IDashboardDateFilter, type ObjRef } from "@gooddata/sdk-model";
1
+ import { type IDashboardDateFilter, type ObjRef } from "@gooddata/sdk-model";
2
2
  import { type DateFilterOption } from "@gooddata/sdk-ui-filters";
3
- /**
4
- * Converts {@link IAttributeFilter} to {@link DashboardAttributeFilterItem}.
5
- *
6
- * @remarks
7
- * For arbitrary and match filters, returns the corresponding dedicated dashboard filter type
8
- * with full lossless conversion. For element-based filters, returns {@link IDashboardAttributeFilter}.
9
- *
10
- * @internal
11
- * @param filter - filter to convert
12
- * @param localIdentifier - localIdentifier of the filter
13
- * @param title - custom title of the filter
14
- * @param attributeElements - currently selected elements. Only used for element-based filters.
15
- * @param isInverted - whether filter has negative selection (NOT_IN operator). Default is taken from the filter param.
16
- * @param selectionMode - selection mode of the filter (single / multi). Default is undefined.
17
- * @returns converted filter
18
- */
19
- export declare function attributeFilterToDashboardAttributeFilter(filter: IAttributeFilter, localIdentifier: string | undefined, title: string | undefined, attributeElements?: IAttributeElement[], isInverted?: boolean, selectionMode?: DashboardAttributeFilterSelectionMode): DashboardAttributeFilterItem;
20
3
  /**
21
4
  * Converts {@link DateFilterOption} to {@link IDashboardDateFilter}.
22
5
  *
@@ -1 +1 @@
1
- {"version":3,"file":"dashboardFilterConverter.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,KAAK,4BAA4B,EACjC,KAAK,qCAAqC,EAE1C,KAAK,iBAAiB,EAGtB,KAAK,gBAAgB,EAErB,KAAK,oBAAoB,EAEzB,KAAK,MAAM,EAYd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEpF;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yCAAyC,CACrD,MAAM,EAAE,gBAAgB,EACxB,eAAe,EAAE,MAAM,GAAG,SAAS,EACnC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,iBAAiB,CAAC,EAAE,iBAAiB,EAAE,EACvC,UAAU,CAAC,EAAE,OAAO,EACpB,aAAa,CAAC,EAAE,qCAAqC,GACtD,4BAA4B,CAgD9B;AAED;;;;;;GAMG;AACH,wBAAgB,qCAAqC,CACjD,gBAAgB,EAAE,gBAAgB,EAClC,oBAAoB,EAAE,OAAO,EAC7B,OAAO,CAAC,EAAE,MAAM,EAChB,eAAe,CAAC,EAAE,MAAM,GACzB,oBAAoB,GAAG,SAAS,CAoDlC"}
1
+ {"version":3,"file":"dashboardFilterConverter.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardFilterConverter.ts"],"names":[],"mappings":"AAEA,OAAO,EAEH,KAAK,oBAAoB,EACzB,KAAK,MAAM,EAMd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEpF;;;;;;GAMG;AACH,wBAAgB,qCAAqC,CACjD,gBAAgB,EAAE,gBAAgB,EAClC,oBAAoB,EAAE,OAAO,EAC7B,OAAO,CAAC,EAAE,MAAM,EAChB,eAAe,CAAC,EAAE,MAAM,GACzB,oBAAoB,GAAG,SAAS,CAoDlC"}
@@ -1,67 +1,6 @@
1
1
  // (C) 2021-2026 GoodData Corporation
2
- import { absoluteDateFilterValues, filterAttributeElements, filterObjRef, idRef, isArbitraryAttributeFilter, isAttributeFilterWithSelection, isEmptyValuesDateFilterOption, isMatchAttributeFilter, isNegativeAttributeFilter, isRelativeDateFilter, relativeDateFilterValues, } from "@gooddata/sdk-model";
2
+ import { absoluteDateFilterValues, idRef, isEmptyValuesDateFilterOption, isRelativeDateFilter, relativeDateFilterValues, } from "@gooddata/sdk-model";
3
3
  import { DateFilterHelpers } from "@gooddata/sdk-ui-filters";
4
- /**
5
- * Converts {@link IAttributeFilter} to {@link DashboardAttributeFilterItem}.
6
- *
7
- * @remarks
8
- * For arbitrary and match filters, returns the corresponding dedicated dashboard filter type
9
- * with full lossless conversion. For element-based filters, returns {@link IDashboardAttributeFilter}.
10
- *
11
- * @internal
12
- * @param filter - filter to convert
13
- * @param localIdentifier - localIdentifier of the filter
14
- * @param title - custom title of the filter
15
- * @param attributeElements - currently selected elements. Only used for element-based filters.
16
- * @param isInverted - whether filter has negative selection (NOT_IN operator). Default is taken from the filter param.
17
- * @param selectionMode - selection mode of the filter (single / multi). Default is undefined.
18
- * @returns converted filter
19
- */
20
- export function attributeFilterToDashboardAttributeFilter(filter, localIdentifier, title, attributeElements, isInverted, selectionMode) {
21
- if (isArbitraryAttributeFilter(filter)) {
22
- const result = {
23
- arbitraryAttributeFilter: {
24
- displayForm: filterObjRef(filter),
25
- values: filter.arbitraryAttributeFilter.values,
26
- negativeSelection: filter.arbitraryAttributeFilter.negativeSelection ?? false,
27
- localIdentifier,
28
- title,
29
- },
30
- };
31
- return result;
32
- }
33
- if (isMatchAttributeFilter(filter)) {
34
- const result = {
35
- matchAttributeFilter: {
36
- displayForm: filterObjRef(filter),
37
- operator: filter.matchAttributeFilter.operator,
38
- literal: filter.matchAttributeFilter.literal,
39
- caseSensitive: filter.matchAttributeFilter.caseSensitive,
40
- negativeSelection: filter.matchAttributeFilter.negativeSelection ?? false,
41
- localIdentifier,
42
- title,
43
- },
44
- };
45
- return result;
46
- }
47
- const attributeElementsObj = attributeElements && {
48
- uris: attributeElements.map((element) => element.uri),
49
- };
50
- let resolvedElements = attributeElementsObj;
51
- if (!resolvedElements && isAttributeFilterWithSelection(filter)) {
52
- resolvedElements = filterAttributeElements(filter);
53
- }
54
- return {
55
- attributeFilter: {
56
- attributeElements: resolvedElements ?? { values: [] },
57
- displayForm: filterObjRef(filter),
58
- negativeSelection: isInverted ?? isNegativeAttributeFilter(filter),
59
- localIdentifier,
60
- title,
61
- selectionMode,
62
- },
63
- };
64
- }
65
4
  /**
66
5
  * Converts {@link DateFilterOption} to {@link IDashboardDateFilter}.
67
6
  *
@@ -0,0 +1,6 @@
1
+ import { type IInsight, type IInsightWidget } from "@gooddata/sdk-model";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare function mergeInsightWithWidgetProperties(insight: IInsight, widget: IInsightWidget): IInsight;
6
+ //# sourceMappingURL=insightWidgetProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insightWidgetProperties.d.ts","sourceRoot":"","sources":["../../../src/_staging/insight/insightWidgetProperties.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,QAAQ,EACb,KAAK,cAAc,EAGtB,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,cAAc,GAAG,QAAQ,CA4BpG"}
@@ -0,0 +1,32 @@
1
+ // (C) 2020-2026 GoodData Corporation
2
+ import { mergeWith } from "lodash-es";
3
+ import { insightProperties, insightSetProperties, } from "@gooddata/sdk-model";
4
+ /**
5
+ * @internal
6
+ */
7
+ export function mergeInsightWithWidgetProperties(insight, widget) {
8
+ const fromWidget = widget.properties;
9
+ if (!fromWidget) {
10
+ return insight;
11
+ }
12
+ const fromWidgetWithZoomingHandled = {
13
+ ...fromWidget,
14
+ controls: {
15
+ ...fromWidget?.["controls"],
16
+ // we need to take the relevant feature flag into account as well
17
+ zoomInsight: !!fromWidget?.["controls"]?.zoomInsight,
18
+ },
19
+ };
20
+ const fromInsight = insightProperties(insight);
21
+ const merged = mergeWith({}, fromInsight, fromWidgetWithZoomingHandled, (currentValue, incomingValue) => {
22
+ /**
23
+ * Replace arrays instead of merging them. This is important for column sizing for example,
24
+ * where widget might provide an empty array to override the custom column sizes defined on the insight level.
25
+ */
26
+ if (Array.isArray(currentValue)) {
27
+ return incomingValue;
28
+ }
29
+ // for other types fall back to the default merging strategy by returning nothing
30
+ });
31
+ return insightSetProperties(insight, merged);
32
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"useRichTextFilters.d.ts","sourceRoot":"","sources":["../../../src/_staging/sharedHooks/useRichTextFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EAMvB,MAAM,qBAAqB,CAAC;AAc7B;;GAEG;AACH,UAAU,sBAAsB;IAC5B;;OAEG;IACH,OAAO,EAAE,OAAO,EAAE,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,eAAe,GAAG,cAAc,GAAG,sBAAsB,CAWzG;AAED;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,IAAI,sBAAsB,CAgErE"}
1
+ {"version":3,"file":"useRichTextFilters.d.ts","sourceRoot":"","sources":["../../../src/_staging/sharedHooks/useRichTextFilters.ts"],"names":[],"mappings":"AAIA,OAAO,EAEH,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EAOvB,MAAM,qBAAqB,CAAC;AAa7B;;GAEG;AACH,UAAU,sBAAsB;IAC5B;;OAEG;IACH,OAAO,EAAE,OAAO,EAAE,CAAC;IAEnB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,eAAe,GAAG,cAAc,GAAG,sBAAsB,CAWzG;AAED;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,IAAI,sBAAsB,CAgErE"}
@@ -1,7 +1,6 @@
1
1
  // (C) 2025-2026 GoodData Corporation
2
2
  import { useEffect, useMemo } from "react";
3
- import { areObjRefsEqual, idRef, isAbsoluteDateFilter, isObjRef, isRelativeDateFilter, } from "@gooddata/sdk-model";
4
- import { filterContextItemsToDashboardFiltersByRichTextWidget } from "../../converters/filterConverters.js";
3
+ import { areObjRefsEqual, filterContextItemsToDashboardFiltersByRichTextWidget, idRef, isAbsoluteDateFilter, isObjRef, isRelativeDateFilter, } from "@gooddata/sdk-model";
5
4
  import { queryDateDatasetsForInsight, } from "../../model/queries/insights.js";
6
5
  import { useDashboardSelector } from "../../model/react/DashboardStoreProvider.js";
7
6
  import { useDashboardQueryProcessing } from "../../model/react/useDashboardQueryProcessing.js";
package/esm/index.d.ts CHANGED
@@ -250,12 +250,12 @@ export { DefaultScheduledEmailDialog } from "./presentation/automations/schedule
250
250
  export { ScheduledEmailManagementDialog as DefaultScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailManagementDialog/DefaultScheduledEmailManagementDialog.js";
251
251
  export { ScheduledEmailDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailDialog.js";
252
252
  export { ScheduledEmailManagementDialog } from "./presentation/automations/scheduledEmail/ScheduledEmailManagementDialog.js";
253
- export type { IScheduledEmailDialogProps, IScheduledEmailManagementDialogProps, CustomScheduledEmailDialogComponent, CustomScheduledEmailDialogContextDecoratorComponent, CustomScheduledEmailManagementDialogComponent, IScheduledEmailDialogHeaderProps, ScheduledEmailDialogHeaderDefaultProps, IScheduledEmailDialogFiltersProps, IScheduleTimezoneSelection, IScheduledEmailDialogTimezoneProps, ScheduledEmailDialogTimezoneDefaultProps, IScheduledEmailDialogRecipientsProps, IScheduledEmailDialogSlots, IDefaultScheduledEmailDialogProps, } from "./presentation/automations/scheduledEmail/types.js";
253
+ export type { IScheduledEmailDialogProps, IScheduledEmailManagementDialogProps, CustomScheduledEmailDialogComponent, CustomScheduledEmailDialogContextDecoratorComponent, CustomScheduledEmailManagementDialogComponent, CustomScheduledEmailManagementDialogContextDecoratorComponent, IScheduledEmailDialogHeaderProps, ScheduledEmailDialogHeaderDefaultProps, IScheduledEmailDialogFiltersProps, IScheduleTimezoneSelection, IScheduledEmailDialogTimezoneProps, ScheduledEmailDialogTimezoneDefaultProps, IScheduledEmailDialogRecipientsProps, IScheduledEmailDialogSlots, IDefaultScheduledEmailDialogProps, IScheduledEmailDialogShellProps, IScheduledEmailDialogRecurrenceProps, IScheduledEmailDialogSubjectProps, IScheduledEmailDialogMessageProps, IScheduledEmailDialogWidgetAttachmentsProps, IScheduledEmailDialogDashboardAttachmentsProps, IScheduledEmailDialogEvaluationModeProps, } from "./presentation/automations/scheduledEmail/types.js";
254
254
  export { DefaultAlertingDialog } from "./presentation/automations/alerting/DefaultAlertingDialog/DefaultAlertingDialog.js";
255
255
  export { DefaultAlertingManagementDialogNew } from "./presentation/automations/connectors/DefaultAlertingManagementDialogConnected.js";
256
256
  export { AlertingDialog } from "./presentation/automations/alerting/AlertingDialog.js";
257
257
  export { AlertingManagementDialog } from "./presentation/automations/alerting/AlertingManagementDialog.js";
258
- export { AlertMetricComparatorType, type CustomAlertingManagementDialogComponent, type CustomAlertingDialogComponent, type CustomAlertingDialogContextDecoratorComponent, type IAlertingManagementDialogProps, type IAlertingDialogProps, type IAlertingDialogHeaderProps, type AlertingDialogHeaderDefaultProps, type IAlertingDialogFiltersProps, type IAlertingDialogSlots, type IDefaultAlertingDialogProps, type AlertAttribute, type AlertMetric, type AlertMetricComparator, type AlertAiOperator, type IAlertingDialogAttributeProps, type IAlertingDialogComparisonOperatorProps, type IAlertingDialogComparisonPeriodProps, type IAlertingDialogGranularityProps, type IAlertingDialogMeasureProps, type IAlertingDialogSensitivityProps, type IAlertingDialogThresholdProps, type IAlertingDialogTriggerIntervalProps, type IAlertingDialogTriggerModeProps, } from "./presentation/automations/alerting/types.js";
258
+ export { AlertMetricComparatorType, type CustomAlertingManagementDialogComponent, type CustomAlertingManagementDialogContextDecoratorComponent, type CustomAlertingDialogComponent, type CustomAlertingDialogContextDecoratorComponent, type IAlertingManagementDialogProps, type IAlertingDialogProps, type IAlertingDialogHeaderProps, type AlertingDialogHeaderDefaultProps, type IAlertingDialogFiltersProps, type IAlertingDialogSlots, type IDefaultAlertingDialogProps, type IAlertingDialogShellProps, type IAlertingDialogFormFieldGroupProps, type AlertAttribute, type AlertMetric, type AlertMetricComparator, type AlertAiOperator, type IAlertingDialogAttributeProps, type IAlertingDialogComparisonOperatorProps, type IAlertingDialogComparisonPeriodProps, type IAlertingDialogGranularityProps, type IAlertingDialogMeasureProps, type IAlertingDialogSensitivityProps, type IAlertingDialogThresholdProps, type IAlertingDialogTriggerIntervalProps, type IAlertingDialogTriggerModeProps, } from "./presentation/automations/alerting/types.js";
259
259
  export type { AttributeValue } from "./presentation/automations/alerting/hooks/useAttributeValuesFromExecResults.js";
260
260
  export type { IMeasureFormatMap } from "./presentation/automations/alerting/utils/getters.js";
261
261
  export type { IAlertActionsContextValue, IAlertDataContextValue, IAlertDialogValidity, IAlertDraftContextValue, IAlertFiltersContextValue, IAlertSelectedValues, IAlertSubmitState, IUseAlertSubmitCallbacks, } from "./presentation/automations/alerting/state/types.js";
@@ -297,6 +297,8 @@ export { AlertingDialogGranularity } from "./presentation/automations/alerting/b
297
297
  export { AlertingDialogTriggerMode } from "./presentation/automations/alerting/blocks/AlertingDialogTriggerMode.js";
298
298
  export { AlertingDialogTriggerInterval } from "./presentation/automations/alerting/blocks/AlertingDialogTriggerInterval.js";
299
299
  export { AutomationDialogFormField } from "./presentation/automations/shared/slots/AutomationDialogFormField.js";
300
+ export { AlertingDialogFormFieldGroup } from "./presentation/automations/alerting/blocks/AlertingDialogFormFieldGroup.js";
301
+ export { AlertingDialogShell } from "./presentation/automations/alerting/blocks/AlertingDialogShell.js";
300
302
  export type { IScheduledEmailSaveState, IScheduledExportActionsContextValue, IScheduledExportAttachments, IScheduledExportDataContextValue, IScheduledExportDialogValidity, IScheduledExportDraftContextValue, IScheduledExportFiltersContextValue, IUseSaveScheduledEmailCallbacks, } from "./presentation/automations/scheduledEmail/state/types.js";
301
303
  export { useScheduledExportDraft } from "./presentation/automations/scheduledEmail/state/ScheduledExportDraftContext.js";
302
304
  export { useScheduledExportActions } from "./presentation/automations/scheduledEmail/state/ScheduledExportActionsContext.js";
@@ -306,25 +308,41 @@ export { useScheduledExportDialogValidity } from "./presentation/automations/sch
306
308
  export { useScheduledExportAttachments } from "./presentation/automations/scheduledEmail/state/useScheduledExportAttachments.js";
307
309
  export { useSaveScheduledEmailToBackend } from "./presentation/automations/scheduledEmail/state/useSaveScheduledEmailToBackend.js";
308
310
  export { useScheduledEmailDialogActionBarProps, useScheduledEmailDialogDestinationProps, useScheduledEmailDialogFiltersProps, useScheduledEmailDialogHeaderProps, useScheduledEmailDialogRecipientsProps, useScheduledEmailDialogTimezoneProps, type IUseScheduledEmailDialogActionBarPropsInput, type IUseScheduledEmailDialogHeaderPropsInput, type IUseScheduledEmailDialogRecipientsPropsInput, } from "./presentation/automations/scheduledEmail/state/useScheduledEmailDialogRegionProps.js";
311
+ export { useScheduledEmailDialogRecurrenceProps, useScheduledEmailDialogSubjectProps, useScheduledEmailDialogMessageProps, useScheduledEmailDialogWidgetAttachmentsProps, useScheduledEmailDialogDashboardAttachmentsProps, useScheduledEmailDialogEvaluationModeProps, type IUseScheduledEmailDialogRecurrencePropsInput, type IUseScheduledEmailDialogSubjectPropsInput, } from "./presentation/automations/scheduledEmail/state/useScheduledEmailDialogFieldProps.js";
309
312
  export { DefaultScheduledEmailDialogHeader } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogHeader.js";
310
313
  export { DefaultScheduledEmailDialogFilters } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogFilters.js";
311
314
  export { DefaultScheduledEmailDialogDestination } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDestination.js";
312
315
  export { DefaultScheduledEmailDialogRecipients } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecipients.js";
316
+ export { DefaultScheduledEmailDialogRecurrence } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogRecurrence.js";
317
+ export { DefaultScheduledEmailDialogSubject } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogSubject.js";
318
+ export { DefaultScheduledEmailDialogMessage } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogMessage.js";
319
+ export { DefaultScheduledEmailDialogWidgetAttachments } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogWidgetAttachments.js";
320
+ export { DefaultScheduledEmailDialogDashboardAttachments } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogDashboardAttachments.js";
321
+ export { DefaultScheduledEmailDialogEvaluationMode } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogEvaluationMode.js";
313
322
  export { DefaultScheduledEmailDialogTimezone } from "./presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/DefaultScheduledEmailDialogTimezone.js";
314
323
  export { ScheduledEmailDialogHeader } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogHeader.js";
315
324
  export { ScheduledEmailDialogFilters } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogFilters.js";
316
325
  export { ScheduledEmailDialogDestination } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDestination.js";
317
326
  export { ScheduledEmailDialogRecipients } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecipients.js";
327
+ export { ScheduledEmailDialogRecurrence } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogRecurrence.js";
328
+ export { ScheduledEmailDialogSubject } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogSubject.js";
329
+ export { ScheduledEmailDialogMessage } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogMessage.js";
330
+ export { ScheduledEmailDialogWidgetAttachments } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogWidgetAttachments.js";
331
+ export { ScheduledEmailDialogDashboardAttachments } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogDashboardAttachments.js";
332
+ export { ScheduledEmailDialogEvaluationMode } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogEvaluationMode.js";
318
333
  export { ScheduledEmailDialogTimezone } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogTimezone.js";
319
334
  export { ScheduledEmailDialogActionBar, type IScheduledEmailDialogActionBarBlockProps, } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogActionBar.js";
335
+ export { ScheduledEmailDialogShell } from "./presentation/automations/scheduledEmail/blocks/ScheduledEmailDialogShell.js";
336
+ export { useScheduledEmailSubmitOnEnter, type IUseScheduledEmailSubmitOnEnterInput, } from "./presentation/automations/scheduledEmail/state/useScheduledEmailSubmitOnEnter.js";
320
337
  export type { IAutomationDialogActionBarProps, IAutomationDialogDestinationProps, IAutomationDialogFiltersProps, IAutomationDialogFormFieldProps, IAutomationDialogHeaderProps, IAutomationDialogRecipientsProps, } from "./presentation/automations/shared/slots/types.js";
321
338
  export type { ISlotProps } from "@gooddata/sdk-ui-kit";
322
339
  export type { IAutomationParameter } from "./presentation/automations/shared/automationFilters/automationParameters.js";
323
- export { useAutomationsContext, type IAutomationsContextValue, type IAutomationsDateFilterConfig, type IAutomationsParameters, } from "./presentation/automations/contexts/AutomationsContext.js";
340
+ export { useWorkspaceUsersSearch, type IUseWorkspaceUsersSearchResult, } from "./presentation/automations/shared/hooks/useWorkspaceUsersSearch.js";
341
+ export { AutomationsContextProvider, useAutomationsContext, type IAutomationsContextValue, type IAutomationsDateFilterConfig, type IAutomationsParameters, } from "./presentation/automations/contexts/AutomationsContext.js";
324
342
  export { AlertingDialogContextProvider, useAlertingDialogContext, type IAlertingDialogContextValue, } from "./presentation/automations/contexts/AlertingDialogContext.js";
325
- export { useAlertingManagementDialogContext, type IAlertingManagementDialogContextValue, } from "./presentation/automations/contexts/AlertingManagementDialogContext.js";
343
+ export { AlertingManagementDialogContextProvider, useAlertingManagementDialogContext, type IAlertingManagementDialogContextValue, } from "./presentation/automations/contexts/AlertingManagementDialogContext.js";
326
344
  export { ScheduledEmailDialogContextProvider, useScheduledEmailDialogContext, type IScheduledEmailDialogContextValue, } from "./presentation/automations/contexts/ScheduledEmailDialogContext.js";
327
- export { useScheduledEmailManagementDialogContext, type IScheduledEmailManagementDialogContextValue, } from "./presentation/automations/contexts/ScheduledEmailManagementDialogContext.js";
345
+ export { ScheduledEmailManagementDialogContextProvider, useScheduledEmailManagementDialogContext, type IScheduledEmailManagementDialogContextValue, } from "./presentation/automations/contexts/ScheduledEmailManagementDialogContext.js";
328
346
  export { DefaultSaveAsDialog, useSaveAsDialogProps, } from "./presentation/saveAs/DefaultSaveAsDialog/index.js";
329
347
  export { SaveAsDialog } from "./presentation/saveAs/SaveAsDialog.js";
330
348
  export type { CustomSaveAsDialogComponent, ISaveAsDialogProps } from "./presentation/saveAs/types.js";
@@ -444,8 +462,8 @@ export { type IExportThemeProviderProps, ExportThemeProvider, } from "./presenta
444
462
  export { useMinimalSizeValidation } from "./presentation/export/hooks/useMinimalSizeValidation.js";
445
463
  export type { DashboardRelatedFilter } from "./presentation/export/hooks/useDashboardRelatedFilters.js";
446
464
  export { resolveMessages, DEFAULT_MESSAGES } from "./presentation/localization/translations.js";
447
- export { type IDashboardFilter, isDashboardFilter, type DashboardDrillDefinition, type IDashboardDrillEvent, type OnFiredDashboardDrillEvent, type IDrillDownContext, type IDrillDownDefinition, isDrillDownDefinition, type IDashboardDrillContext, type IDrillToUrlPlaceholder, type ISharingProperties, type IMenuButtonItemsVisibility, type RenderMode, type DashboardDensity, type DateFilterValidationResult, type ILegacyDashboardTab, type ILegacyDashboard, type ILayoutCoordinates, isLayoutCoordinates, type DropZoneType, type ILayoutItemPath, isLayoutItemPath, type ILayoutSectionPath, isLayoutSectionPath, type IGlobalDrillDownAttributeHierarchyDefinition, type IDrillToUrlAttributeDefinition, type IScheduleEmailContext, type IAlertDialogContext, } from "./types.js";
448
- export { filterContextItemsToDashboardFiltersByWidget, filterContextItemsToDashboardFiltersByDateDataSet, filterContextToDashboardFiltersByWidget, filterContextToDashboardFiltersByDateDataSet, filterContextItemsToDashboardFiltersByRichTextWidget, dashboardDateFilterToDateFilterByWidget, dashboardDateFilterToDateFilterByDateDataSet, dashboardAttributeFilterToAttributeFilter, dashboardAttributeFilterItemToAttributeFilter, } from "./converters/filterConverters.js";
465
+ export { type CustomAutomationsContextDecoratorComponent, type IDashboardFilter, isDashboardFilter, type DashboardDrillDefinition, type IDashboardDrillEvent, type OnFiredDashboardDrillEvent, type IDrillDownContext, type IDrillDownDefinition, isDrillDownDefinition, type IDashboardDrillContext, type IDrillToUrlPlaceholder, type ISharingProperties, type IMenuButtonItemsVisibility, type RenderMode, type DashboardDensity, type DateFilterValidationResult, type ILegacyDashboardTab, type ILegacyDashboard, type ILayoutCoordinates, isLayoutCoordinates, type DropZoneType, type ILayoutItemPath, isLayoutItemPath, type ILayoutSectionPath, isLayoutSectionPath, type IGlobalDrillDownAttributeHierarchyDefinition, type IDrillToUrlAttributeDefinition, type IScheduleEmailContext, type IAlertDialogContext, } from "./types.js";
466
+ export { filterContextItemsToDashboardFiltersByWidget, filterContextItemsToDashboardFiltersByDateDataSet, filterContextToDashboardFiltersByWidget, filterContextToDashboardFiltersByDateDataSet, filterContextItemsToDashboardFiltersByRichTextWidget, dashboardDateFilterToDateFilterByWidget, dashboardDateFilterToDateFilterByDateDataSet, dashboardAttributeFilterToAttributeFilter, dashboardAttributeFilterItemToAttributeFilter, } from "@gooddata/sdk-model";
449
467
  export { DashboardPluginV1, type IDashboardPluginContract_V1, type DashboardPluginDescriptor, } from "./plugins/plugin.js";
450
468
  export { newDashboardEngine, type IDashboardEngine } from "./plugins/engine.js";
451
469
  export type { IDashboardEventHandling, IDashboardCustomizer, IDashboardInsightCustomizer, IDashboardLayoutCustomizer, IDashboardContentCustomizer, IDashboardWidgetCustomizer, FluidLayoutCustomizationFn, IFluidLayoutCustomizer, IFilterBarCustomizer, DashboardStateChangeCallback, FilterBarRenderingMode, IAttributeFiltersCustomizer, IFilterGroupsCustomizer, IMeasureValueFiltersCustomizer, IDateFiltersCustomizer, IFiltersCustomizer, ITitleCustomizer, ITopBarCustomizer, ILoadingCustomizer, IVisualizationSwitcherCustomizer, IRichTextCustomizer, ExportLayoutCustomizationFn, IExportLayoutCustomizer, SectionSlidesTransformer, ISectionSlidesTransformerFunction, } from "./plugins/customizer.js";