@gooddata/sdk-ui-dashboard 10.19.0-alpha.9 → 10.19.0

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 (315) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.d.ts.map +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/__version.js.map +1 -1
  5. package/esm/_staging/automation/index.d.ts +1 -0
  6. package/esm/_staging/automation/index.d.ts.map +1 -1
  7. package/esm/_staging/automation/index.js +14 -1
  8. package/esm/_staging/automation/index.js.map +1 -1
  9. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts +81 -0
  10. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts.map +1 -1
  11. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts +4 -3
  12. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts.map +1 -1
  13. package/esm/_staging/dashboard/flexibleLayout/builder/item.js +12 -4
  14. package/esm/_staging/dashboard/flexibleLayout/builder/item.js.map +1 -1
  15. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts +14 -10
  16. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts.map +1 -1
  17. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js +160 -50
  18. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js.map +1 -1
  19. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts +0 -1
  20. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts.map +1 -1
  21. package/esm/_staging/dashboard/flexibleLayout/builder/section.js +1 -5
  22. package/esm/_staging/dashboard/flexibleLayout/builder/section.js.map +1 -1
  23. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts +2 -1
  24. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts.map +1 -1
  25. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts +2 -1
  26. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts.map +1 -1
  27. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js +18 -2
  28. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js.map +1 -1
  29. package/esm/_staging/layout/coordinates.d.ts +1 -1
  30. package/esm/_staging/layout/coordinates.d.ts.map +1 -1
  31. package/esm/_staging/layout/coordinates.js +4 -5
  32. package/esm/_staging/layout/coordinates.js.map +1 -1
  33. package/esm/_staging/layout/sizing.d.ts +16 -7
  34. package/esm/_staging/layout/sizing.d.ts.map +1 -1
  35. package/esm/_staging/layout/sizing.js +108 -57
  36. package/esm/_staging/layout/sizing.js.map +1 -1
  37. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
  38. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +6 -2
  39. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js.map +1 -1
  40. package/esm/model/commandHandlers/layout/addSectionItemsHandler.d.ts.map +1 -1
  41. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js +3 -1
  42. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js.map +1 -1
  43. package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts +10 -0
  44. package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts.map +1 -0
  45. package/esm/model/commandHandlers/layout/containerHeightSanitization.js +82 -0
  46. package/esm/model/commandHandlers/layout/containerHeightSanitization.js.map +1 -0
  47. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.d.ts.map +1 -1
  48. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js +5 -2
  49. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js.map +1 -1
  50. package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
  51. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +5 -2
  52. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
  53. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
  54. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +6 -3
  55. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
  56. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.d.ts.map +1 -1
  57. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js +4 -2
  58. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js.map +1 -1
  59. package/esm/model/commandHandlers/layout/removeSectionItemHandler.d.ts.map +1 -1
  60. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js +4 -1
  61. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js.map +1 -1
  62. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.d.ts.map +1 -1
  63. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js +3 -1
  64. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js.map +1 -1
  65. package/esm/model/commandHandlers/layout/resizeHeightHandler.d.ts.map +1 -1
  66. package/esm/model/commandHandlers/layout/resizeHeightHandler.js +15 -10
  67. package/esm/model/commandHandlers/layout/resizeHeightHandler.js.map +1 -1
  68. package/esm/model/commandHandlers/layout/resizeWidthHandler.d.ts.map +1 -1
  69. package/esm/model/commandHandlers/layout/resizeWidthHandler.js +10 -6
  70. package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
  71. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  72. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +60 -15
  73. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
  74. package/esm/model/events/index.d.ts +4 -4
  75. package/esm/model/events/index.d.ts.map +1 -1
  76. package/esm/model/events/index.js +1 -1
  77. package/esm/model/events/index.js.map +1 -1
  78. package/esm/model/index.d.ts +1 -1
  79. package/esm/model/index.d.ts.map +1 -1
  80. package/esm/model/index.js +1 -1
  81. package/esm/model/index.js.map +1 -1
  82. package/esm/model/react/useDashboardCommand.d.ts +1 -1
  83. package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
  84. package/esm/model/react/useDashboardCommandProcessing.d.ts +4 -0
  85. package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
  86. package/esm/model/store/config/configSelectors.d.ts +7 -3
  87. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  88. package/esm/model/store/config/configSelectors.js +10 -4
  89. package/esm/model/store/config/configSelectors.js.map +1 -1
  90. package/esm/model/store/index.d.ts +1 -1
  91. package/esm/model/store/index.d.ts.map +1 -1
  92. package/esm/model/store/index.js +1 -1
  93. package/esm/model/store/index.js.map +1 -1
  94. package/esm/model/store/layout/index.d.ts +6 -0
  95. package/esm/model/store/layout/index.d.ts.map +1 -1
  96. package/esm/model/store/layout/layoutReducers.d.ts +5 -1
  97. package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
  98. package/esm/model/store/layout/layoutReducers.js +19 -0
  99. package/esm/model/store/layout/layoutReducers.js.map +1 -1
  100. package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
  101. package/esm/model/store/layout/layoutSelectors.js +29 -15
  102. package/esm/model/store/layout/layoutSelectors.js.map +1 -1
  103. package/esm/model/types/commonTypes.d.ts +33 -4
  104. package/esm/model/types/commonTypes.d.ts.map +1 -1
  105. package/esm/model/types/commonTypes.js.map +1 -1
  106. package/esm/model/types/layoutTypes.d.ts +10 -0
  107. package/esm/model/types/layoutTypes.d.ts.map +1 -1
  108. package/esm/model/types/layoutTypes.js +1 -1
  109. package/esm/model/types/layoutTypes.js.map +1 -1
  110. package/esm/plugins/customizationApis/fluidLayoutCustomizer.d.ts +5 -2
  111. package/esm/plugins/customizationApis/fluidLayoutCustomizer.d.ts.map +1 -1
  112. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +40 -19
  113. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js.map +1 -1
  114. package/esm/plugins/customizer.d.ts +34 -1
  115. package/esm/plugins/customizer.d.ts.map +1 -1
  116. package/esm/presentation/dragAndDrop/types.d.ts +1 -0
  117. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  118. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts +1 -1
  119. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
  120. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +15 -3
  121. package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
  122. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts +1 -1
  123. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  124. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +12 -6
  125. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  126. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  127. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +5 -4
  128. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  129. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
  130. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +5 -2
  131. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  132. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -0
  133. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  134. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +3 -3
  135. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
  136. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  137. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +5 -3
  138. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  139. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -0
  140. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  141. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +3 -2
  142. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
  143. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +3 -3
  144. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
  145. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +2 -2
  146. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
  147. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  148. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +5 -2
  149. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  150. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
  151. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +5 -2
  152. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
  153. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +2 -2
  154. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
  155. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +2 -2
  156. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
  157. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +1 -1
  158. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
  159. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +8 -7
  160. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
  161. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +8 -0
  162. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  163. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.d.ts +7 -0
  164. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.d.ts.map +1 -0
  165. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.js +18 -0
  166. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.js.map +1 -0
  167. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +0 -9
  168. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  169. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -33
  170. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  171. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts +0 -12
  172. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -1
  173. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js +2 -4
  174. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -1
  175. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +4 -3
  176. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -1
  177. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +9 -7
  178. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
  179. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts +2 -1
  180. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
  181. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +7 -7
  182. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
  183. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts +3 -1
  184. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -1
  185. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +13 -5
  186. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -1
  187. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +1 -0
  188. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
  189. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +2 -1
  190. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
  191. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -1
  192. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js +4 -3
  193. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -1
  194. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts +1 -0
  195. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -1
  196. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js +17 -4
  197. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -1
  198. package/esm/presentation/layout/DashboardLayoutWidget.js +2 -2
  199. package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
  200. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  201. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +4 -2
  202. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  203. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +0 -8
  204. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  205. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -2
  206. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  207. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +4 -3
  208. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -1
  209. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js +9 -7
  210. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
  211. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
  212. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js +3 -2
  213. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
  214. package/esm/presentation/localization/bundles/de-DE.json +5 -1
  215. package/esm/presentation/localization/bundles/en-AU.json +5 -1
  216. package/esm/presentation/localization/bundles/en-GB.json +5 -1
  217. package/esm/presentation/localization/bundles/en-US.json +20 -0
  218. package/esm/presentation/localization/bundles/es-419.json +5 -1
  219. package/esm/presentation/localization/bundles/es-ES.json +5 -1
  220. package/esm/presentation/localization/bundles/fi-FI.json +5 -1
  221. package/esm/presentation/localization/bundles/fr-CA.json +5 -1
  222. package/esm/presentation/localization/bundles/fr-FR.json +5 -1
  223. package/esm/presentation/localization/bundles/it-IT.json +5 -1
  224. package/esm/presentation/localization/bundles/ja-JP.json +5 -1
  225. package/esm/presentation/localization/bundles/nl-NL.json +5 -1
  226. package/esm/presentation/localization/bundles/pt-BR.json +5 -1
  227. package/esm/presentation/localization/bundles/pt-PT.json +5 -1
  228. package/esm/presentation/localization/bundles/zh-HK.json +5 -1
  229. package/esm/presentation/localization/bundles/zh-Hans.json +5 -1
  230. package/esm/presentation/localization/bundles/zh-Hant.json +5 -1
  231. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts +1 -0
  232. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts.map +1 -1
  233. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js +5 -4
  234. package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js.map +1 -1
  235. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
  236. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +2 -2
  237. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
  238. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts +8 -0
  239. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
  240. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +10 -24
  241. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js.map +1 -1
  242. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +8 -1
  243. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
  244. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +51 -22
  245. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
  246. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -1
  247. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
  248. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +13 -4
  249. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
  250. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.d.ts +5 -0
  251. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.d.ts.map +1 -0
  252. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.js +35 -0
  253. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.js.map +1 -0
  254. package/esm/presentation/widget/common/useWidgetHighlighting.d.ts +7 -0
  255. package/esm/presentation/widget/common/useWidgetHighlighting.d.ts.map +1 -0
  256. package/esm/presentation/widget/common/useWidgetHighlighting.js +66 -0
  257. package/esm/presentation/widget/common/useWidgetHighlighting.js.map +1 -0
  258. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.d.ts +4 -4
  259. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.d.ts.map +1 -1
  260. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js +2 -4
  261. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js.map +1 -1
  262. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
  263. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +15 -5
  264. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
  265. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.d.ts +2 -1
  266. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -1
  267. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js +54 -3
  268. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js.map +1 -1
  269. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +2 -1
  270. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
  271. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +41 -33
  272. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
  273. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.d.ts +11 -0
  274. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.d.ts.map +1 -0
  275. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.js +40 -0
  276. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.js.map +1 -0
  277. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
  278. package/esm/presentation/widget/widget/DefaultDashboardWidget.js +32 -36
  279. package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
  280. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
  281. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +6 -22
  282. package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
  283. package/esm/presentation/widget/widget/RichTextWidget/DefaultDashboardRichTextWidget.d.ts.map +1 -1
  284. package/esm/presentation/widget/widget/RichTextWidget/DefaultDashboardRichTextWidget.js +6 -2
  285. package/esm/presentation/widget/widget/RichTextWidget/DefaultDashboardRichTextWidget.js.map +1 -1
  286. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
  287. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js +6 -2
  288. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js.map +1 -1
  289. package/esm/presentation/widget/widget/types.d.ts +10 -0
  290. package/esm/presentation/widget/widget/types.d.ts.map +1 -1
  291. package/esm/sdk-ui-dashboard.d.ts +173 -15
  292. package/package.json +15 -15
  293. package/styles/css/dashboard.css +21 -7
  294. package/styles/css/dashboard.css.map +1 -1
  295. package/styles/css/dashboardNestedLayoutWidget.css +3 -0
  296. package/styles/css/dashboardNestedLayoutWidget.css.map +1 -1
  297. package/styles/css/dragAndDrop.css +10 -0
  298. package/styles/css/dragAndDrop.css.map +1 -1
  299. package/styles/css/export.css +10 -4
  300. package/styles/css/export.css.map +1 -1
  301. package/styles/css/layout.css +4 -0
  302. package/styles/css/layout.css.map +1 -1
  303. package/styles/css/main.css +46 -13
  304. package/styles/css/main.css.map +1 -1
  305. package/styles/css/resizing.css +2 -2
  306. package/styles/css/scheduled_mail_recipients.css +14 -4
  307. package/styles/css/scheduled_mail_recipients.css.map +1 -1
  308. package/styles/scss/_zIndexes.scss +2 -0
  309. package/styles/scss/dashboard.scss +3 -3
  310. package/styles/scss/dashboardNestedLayoutWidget.scss +4 -0
  311. package/styles/scss/dragAndDrop.scss +14 -0
  312. package/styles/scss/export.scss +23 -4
  313. package/styles/scss/layout.scss +6 -0
  314. package/styles/scss/resizing.scss +2 -2
  315. package/styles/scss/scheduled_mail_recipients.scss +5 -0
@@ -1,2 +1,2 @@
1
- export declare const LIB_VERSION = "10.19.0-alpha.9";
1
+ export declare const LIB_VERSION = "10.19.0";
2
2
  //# sourceMappingURL=__version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,oBAAoB,CAAC"}
1
+ {"version":3,"file":"__version.d.ts","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,YAAY,CAAC"}
package/esm/__version.js CHANGED
@@ -1,4 +1,4 @@
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 = "10.19.0-alpha.9";
3
+ export const LIB_VERSION = "10.19.0";
4
4
  //# sourceMappingURL=__version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"__version.js","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC"}
1
+ {"version":3,"file":"__version.js","sourceRoot":"","sources":["../src/__version.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,6DAA6D;AAC7D,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC"}
@@ -9,5 +9,6 @@ export declare const getAutomationDashboardFilters: (automation: IAutomationMeta
9
9
  export declare const getAutomationVisualizationFilters: (automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | undefined) => IFilter[] | undefined;
10
10
  export declare const areAutomationsEqual: (originalAutomation: IAutomationMetadataObjectDefinition, updatedAutomation: IAutomationMetadataObjectDefinition) => boolean;
11
11
  export declare const convertCurrentUserToAutomationRecipient: (users: IWorkspaceUser[], user: IUser) => IAutomationRecipient;
12
+ export declare const convertCurrentUserToWorkspaceUser: (users: IWorkspaceUser[], user: IUser) => IWorkspaceUser;
12
13
  export declare const convertUserToAutomationRecipient: (user: IUser) => IAutomationRecipient;
13
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_staging/automation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,iBAAiB,EACjB,yBAAyB,EACzB,mCAAmC,EACnC,oBAAoB,EAEpB,+BAA+B,EAC/B,yCAAyC,EAEzC,OAAO,EAKP,KAAK,EACL,cAAc,EACjB,MAAM,qBAAqB,CAAC;AAK7B,eAAO,MAAM,qBAAqB,eAClB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,wBAS1F,CAAC;AAEF,eAAO,MAAM,yBAAyB,eACtB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,wBAS1F,CAAC;AAEF,eAAO,MAAM,4BAA4B,eACzB,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,wBAO1F,CAAC;AAEF,eAAO,MAAM,kCAAkC,qBACzB,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAE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;AAEF,eAAO,MAAM,mCAAmC,qBAC1B,+BAA+B,GAAG,yCAAyC,GAAG,SAAS,YAU5G,CAAC;AAEF,eAAO,MAAM,6BAA6B,eAC1B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,iBAAiB,EAAE,GAAG,SAUxB,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAC9B,yBAAyB,GAAG,mCAAmC,GAAG,SAAS,KACxF,OAAO,EAAE,GAAG,SAUd,CAAC;AAOF,eAAO,MAAM,mBAAmB,uBACR,mCAAmC,qBACpC,mCAAmC,YAmBzD,CAAC;AAEF,eAAO,MAAM,uCAAuC,UACzC,cAAc,EAAE,QACjB,KAAK,KACZ,oBAIF,CAAC;AAEF,eAAO,MAAM,iCAAiC,UAAW,cAAc,EAAE,QAAQ,KAAK,KAAG,cAexF,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,KAAK,KAAG,oBAO9D,CAAC"}
@@ -1,4 +1,4 @@
1
- // (C) 2024 GoodData Corporation
1
+ // (C) 2024-2025 GoodData Corporation
2
2
  import { isExportDefinitionDashboardRequestPayload, isExportDefinitionVisualizationObjectRequestPayload, isFilter, isFilterContextItem, } from "@gooddata/sdk-model";
3
3
  import omit from "lodash/omit.js";
4
4
  import isEqual from "lodash/isEqual.js";
@@ -81,6 +81,19 @@ export const convertCurrentUserToAutomationRecipient = (users, user) => {
81
81
  const foundUser = users.find((u) => u.login === user.login);
82
82
  return convertUserToAutomationRecipient(foundUser ?? user);
83
83
  };
84
+ export const convertCurrentUserToWorkspaceUser = (users, user) => {
85
+ const foundUser = users.find((u) => u.login === user.login);
86
+ return (foundUser ?? {
87
+ email: user.email ?? "",
88
+ fullName: user.fullName,
89
+ status: "ENABLED",
90
+ login: user.login,
91
+ lastName: user.lastName,
92
+ firstName: user.firstName,
93
+ uri: user.login,
94
+ ref: user.ref,
95
+ });
96
+ };
84
97
  export const convertUserToAutomationRecipient = (user) => {
85
98
  return {
86
99
  id: user.login,
@@ -1 +1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AAO,CACH,SAAS,IAAI;QACT,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,EAAE;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,GAAG,EAAE,IAAI,CAAC,KAAK;QACf,GAAG,EAAE,IAAI,CAAC,GAAG;KAChB,CACJ,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,IAAW,EAAwB,EAAE;IAClF,OAAO;QACH,EAAE,EAAE,IAAI,CAAC,KAAK;QACd,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,IAAI,EAAE,IAAI,CAAC,QAAQ;QACnB,IAAI,EAAE,MAAM;KACf,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { ObjRef, IDashboardLayout, IDashboardWidget, IDashboardLayoutSection, IDashboardLayoutSectionHeader, IDashboardLayoutSize, IDashboardLayoutSizeByScreenSize, IDashboardLayoutItem } from "@gooddata/sdk-model";
2
2
  import { InsightWidgetBuilder, KpiWidgetBuilder, ValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
3
3
  import { IDashboardLayoutFacade, IDashboardLayoutItemFacade, IDashboardLayoutItemsFacade, IDashboardLayoutSectionFacade, IDashboardLayoutSectionsFacade } from "../facade/interfaces.js";
4
+ import { ILayoutItemPath, ILayoutSectionPath } from "../../../../types.js";
4
5
  /**
5
6
  * Represents a query to select a subset of layout sections.
6
7
  *
@@ -125,6 +126,14 @@ export interface IDashboardLayoutItemBuilder<TWidget = IDashboardWidget> {
125
126
  * @param modify - callback to modify the widget
126
127
  */
127
128
  modifyKpiWidget(modify: (builder: KpiWidgetBuilder) => KpiWidgetBuilder): this;
129
+ /**
130
+ * Modify existing layout widget in this item.
131
+ *
132
+ * Note: When the item doesn't contain a layout widget, the error is thrown.
133
+ *
134
+ * @param modify - callback to modify the widget
135
+ */
136
+ modifyLayoutWidget(modify: (builder: IDashboardLayoutBuilder<TWidget>) => IDashboardLayoutBuilder<TWidget>, dashboardLayoutBuilderConstructor: (layout: IDashboardLayout<TWidget>, layoutPath?: ILayoutItemPath) => IDashboardLayoutBuilder<TWidget>): this;
128
137
  }
129
138
  /**
130
139
  * Builder for convenient creation or transformation of any {@link @gooddata/sdk-backend-spi#IDashboardLayoutRow}.
@@ -309,6 +318,22 @@ export interface IDashboardLayoutBuilder<TWidget = IDashboardWidget> {
309
318
  * @returns this
310
319
  */
311
320
  createSection(create?: (builder: IDashboardLayoutSectionBuilder<TWidget>) => IDashboardLayoutSectionBuilder<TWidget>, index?: number): this;
321
+ /**
322
+ * Creates a new section and adds it to a layout.
323
+ *
324
+ * Note:
325
+ * - This operation is non-invasive, it cannot replace an existing section.
326
+ * This means that if there is already an existing section on the specified index,
327
+ * this and all subsequent sections will be moved after the added section.
328
+ * If you want to replace an existing section use .modifySection() or .modifySections() method instead.
329
+ *
330
+ * - When no create callback is provided, an empty section is added
331
+ *
332
+ * @param create - callback to create the section
333
+ * @param sectionPath - path in layout where to place the section
334
+ * @returns this
335
+ */
336
+ createSection(create?: (builder: IDashboardLayoutSectionBuilder<TWidget>) => IDashboardLayoutSectionBuilder<TWidget>, sectionPath?: ILayoutSectionPath): this;
312
337
  /**
313
338
  * Adds a new section to a layout.
314
339
  *
@@ -325,6 +350,20 @@ export interface IDashboardLayoutBuilder<TWidget = IDashboardWidget> {
325
350
  * @returns this
326
351
  */
327
352
  addSection(section: IDashboardLayoutSection<TWidget>, index?: number): this;
353
+ /**
354
+ * Adds a new section to a layout.
355
+ *
356
+ * Note:
357
+ * - This operation is non-invasive, it cannot replace an existing section.
358
+ * This means that if there is already an existing section on the specified index,
359
+ * this and all subsequent sections will be moved after the added section.
360
+ * If you want to replace an existing section use .modifySection() or .modifySections() method instead.
361
+ *
362
+ * @param section - section to add
363
+ * @param sectionPath - path where to place the section
364
+ * @returns this
365
+ */
366
+ addSection(section: IDashboardLayoutSection<TWidget>, sectionPath: ILayoutSectionPath): this;
328
367
  /**
329
368
  * Modify section at a specified index.
330
369
  *
@@ -338,6 +377,19 @@ export interface IDashboardLayoutBuilder<TWidget = IDashboardWidget> {
338
377
  * @returns this
339
378
  */
340
379
  modifySection(index: number, modify: DashboardLayoutSectionModifications<TWidget>): this;
380
+ /**
381
+ * Modify section at a specified path.
382
+ *
383
+ * Note:
384
+ * - If the section does not exist at the specified index, the error is thrown.
385
+ * Do this only when you are sure about the section index, or use .modifySections() method instead,
386
+ * which allows you to select the sections according to your predicate and does nothing if it is not met.
387
+ *
388
+ * @param sectionPath - section path
389
+ * @param modify - callback to modify the section
390
+ * @returns this
391
+ */
392
+ modifySection(sectionPath: ILayoutSectionPath, modify: DashboardLayoutSectionModifications<TWidget>): this;
341
393
  /**
342
394
  * Remove the section at a specified index.
343
395
  *
@@ -350,6 +402,18 @@ export interface IDashboardLayoutBuilder<TWidget = IDashboardWidget> {
350
402
  * @returns this
351
403
  */
352
404
  removeSection(index: number): this;
405
+ /**
406
+ * Remove the section at a specified path.
407
+ *
408
+ * Note:
409
+ * - If the section does not exist at the specified index, the error is thrown.
410
+ * Do this only when you are sure about the section index, or use .removeSections() method instead,
411
+ * which allows you to select the sections according to your predicate and does nothing if it is not met.
412
+ *
413
+ * @param sectionPath - the path of the section to remove
414
+ * @returns this
415
+ */
416
+ removeSection(sectionPath: ILayoutSectionPath): this;
353
417
  /**
354
418
  * Move section from a specified index to a target index.
355
419
  *
@@ -366,11 +430,26 @@ export interface IDashboardLayoutBuilder<TWidget = IDashboardWidget> {
366
430
  * @returns this
367
431
  */
368
432
  moveSection(fromIndex: number, toIndex: number): this;
433
+ /**
434
+ * Move section from a specified path to a target path.
435
+ *
436
+ * Note:
437
+ * - If the section does not exist at the specified path, the error is thrown.
438
+ * - This operation is non-invasive, it cannot replace an existing section.
439
+ * This means that if there is already an existing section at the target path,
440
+ * this and all subsequent sections will be moved after the added section.
441
+ *
442
+ * @param fromPath - the path of the section to move
443
+ * @param toPath - the target path where the section will be moved
444
+ * @returns this
445
+ */
446
+ moveSection(fromPath: ILayoutSectionPath, toPath: ILayoutSectionPath): this;
369
447
  /**
370
448
  * Perform modifications for the selected section(s).
371
449
  * This is useful to perform a set of transformations for sections selected by any predicate.
372
450
  * Usually, you want to use .filter() and or .find() for the selector,
373
451
  * but it's really flexible and you can select any subset of the sections.
452
+ * Works only in root of this layout. Any nested layouts are not affected.
374
453
  *
375
454
  * Note:
376
455
  * - When no selector is provided, all sections are selected by default.
@@ -387,6 +466,7 @@ export interface IDashboardLayoutBuilder<TWidget = IDashboardWidget> {
387
466
  * This is useful to remove sections selected by any predicate.
388
467
  * Usually, you want to use .filter() and or .find() for the selector,
389
468
  * but it's really flexible and you can select any subset of the sections.
469
+ * Works only in root of this layout. Any nested layouts are not affected.
390
470
  *
391
471
  * Note:
392
472
  * - When no selector is provided, all sections are selected by default (and therefore removed).
@@ -399,6 +479,7 @@ export interface IDashboardLayoutBuilder<TWidget = IDashboardWidget> {
399
479
  removeSections(selector?: DashboardLayoutSectionsSelector<TWidget>): this;
400
480
  /**
401
481
  * Remove all empty sections.
482
+ * Works only in root of this layout. Any nested layouts are not affected.
402
483
  *
403
484
  * @returns this
404
485
  */
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/interfaces.ts"],"names":[],"mappings":"AACA,OAAO,EACH,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,6BAA6B,EAC7B,oBAAoB,EACpB,gCAAgC,EAChC,oBAAoB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC3G,OAAO,EACH,sBAAsB,EACtB,0BAA0B,EAC1B,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;;;OAIG;IACH,MAAM,IAAI,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAE1C;;;;;;OAMG;IACH,MAAM,CAAC,aAAa,EAAE,4BAA4B,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAEnE;;;;OAIG;IACH,KAAK,IAAI,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACtC"}
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/interfaces.ts"],"names":[],"mappings":"AACA,OAAO,EACH,MAAM,EACN,gBAAgB,EAChB,gBAAgB,EAChB,uBAAuB,EACvB,6BAA6B,EAC7B,oBAAoB,EACpB,gCAAgC,EAChC,oBAAoB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAC3G,OAAO,EACH,sBAAsB,EACtB,0BAA0B,EAC1B,2BAA2B,EAC3B,6BAA6B,EAC7B,8BAA8B,EACjC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE3E;;;;;;GAMG;AACH,MAAM,MAAM,+BAA+B,CAAC,OAAO,GAAG,gBAAgB,IAAI,CACtE,cAAc,EAAE,8BAA8B,CAAC,OAAO,CAAC,KACtD,6BAA6B,CAAC,OAAO,CAAC,EAAE,GAAG,6BAA6B,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;AAEnG;;;;;;;GAOG;AACH,MAAM,MAAM,mCAAmC,CAAC,OAAO,GAAG,gBAAgB,IAAI,CAC1E,cAAc,EAAE,8BAA8B,CAAC,OAAO,CAAC,EACvD,aAAa,EAAE,6BAA6B,CAAC,OAAO,CAAC,KACpD,8BAA8B,CAAC,OAAO,CAAC,CAAC;AAE7C;;;;;;GAMG;AACH,MAAM,MAAM,4BAA4B,CAAC,OAAO,GAAG,gBAAgB,IAAI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QAAQ,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,GACpD,IAAI,CAAC;IAER;;;;;;;;;;;;;;OAcG;IACH,cAAc,CAAC,QAAQ,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAE1E;;;;;OAKG;IACH,mBAAmB,IAAI,IAAI,CAAC;IAE5B;;;;;;OAMG;IACH,SAAS,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC;IAEzF;;;;OAIG;IACH,MAAM,IAAI,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAE1C;;;;;;OAMG;IACH,MAAM,CAAC,aAAa,EAAE,4BAA4B,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAEnE;;;;OAIG;IACH,KAAK,IAAI,gBAAgB,CAAC,OAAO,CAAC,CAAC;CACtC"}
@@ -1,9 +1,9 @@
1
- import { DashboardLayoutItemModifications, IDashboardLayoutItemBuilder, IDashboardLayoutSectionBuilder } from "./interfaces.js";
1
+ import { DashboardLayoutItemModifications, IDashboardLayoutItemBuilder, IDashboardLayoutSectionBuilder, IDashboardLayoutBuilder } from "./interfaces.js";
2
2
  import { IDashboardLayoutItemFacade } from "../facade/interfaces.js";
3
3
  import { InsightWidgetBuilder, KpiWidgetBuilder, ValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
4
- import { ObjRef, IDashboardLayoutSection, IDashboardLayoutSizeByScreenSize, IDashboardLayoutItem } from "@gooddata/sdk-model";
4
+ import { ObjRef, IDashboardLayoutSection, IDashboardLayoutSizeByScreenSize, IDashboardLayoutItem, IDashboardLayout } from "@gooddata/sdk-model";
5
+ import { ILayoutItemPath } from "../../../../types.js";
5
6
  /**
6
- * TODO LX-603: rewrite to support nested layouts
7
7
  * @alpha
8
8
  */
9
9
  export declare class DashboardLayoutItemBuilder<TWidget> implements IDashboardLayoutItemBuilder<TWidget> {
@@ -28,5 +28,6 @@ export declare class DashboardLayoutItemBuilder<TWidget> implements IDashboardLa
28
28
  modifyInsightWidget(modify: (builder: InsightWidgetBuilder) => InsightWidgetBuilder): this;
29
29
  newKpiWidget(measure: ObjRef, create?: (builder: KpiWidgetBuilder) => KpiWidgetBuilder): this;
30
30
  modifyKpiWidget(modify: (builder: KpiWidgetBuilder) => KpiWidgetBuilder): this;
31
+ modifyLayoutWidget(modify: (builder: IDashboardLayoutBuilder<TWidget>) => IDashboardLayoutBuilder<TWidget>, dashboardLayoutBuilderConstructor: (layout: IDashboardLayout<TWidget>, layoutPath?: ILayoutItemPath) => IDashboardLayoutBuilder<TWidget>): this;
31
32
  }
32
33
  //# sourceMappingURL=item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/item.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,gCAAgC,EAChC,2BAA2B,EAC3B,8BAA8B,EACjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAC;AACrE,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAEhB,qBAAqB,EACxB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,MAAM,EAKN,uBAAuB,EACvB,gCAAgC,EAChC,oBAAoB,EAEvB,MAAM,qBAAqB,CAAC;AAG7B;;;GAGG;AACH,qBAAa,0BAA0B,CAAC,OAAO,CAAE,YAAW,2BAA2B,CAAC,OAAO,CAAC;IAExF,SAAS,CAAC,UAAU,EAAE,CAClB,qBAAqB,EAAE,qBAAqB,CAAC,uBAAuB,CAAC,OAAO,CAAC,CAAC,KAC7E,IAAI;IACT,SAAS,CAAC,aAAa,EAAE,MAAM,0BAA0B,CAAC,OAAO,CAAC;IAClE,SAAS,CAAC,SAAS,EAAE,MAAM;IAL/B,SAAS,aACK,UAAU,EAAE,CAClB,qBAAqB,EAAE,qBAAqB,CAAC,uBAAuB,CAAC,OAAO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,GAAG,IAAI;IAKtE,KAAK,IAAI,oBAAoB,CAAC,OAAO,CAAC;IAItC,MAAM,IAAI,0BAA0B,CAAC,OAAO,CAAC;IAI7C,gBAAgB,CACnB,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,oBAA+B,GAC3E,IAAI;IAKA,mBAAmB,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,oBAAoB,KAAK,oBAAoB,GAAG,IAAI;IAU1F,YAAY,CACf,OAAO,EAAE,MAAM,EACf,MAAM,GAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,gBAA2B,GACnE,IAAI;IAKA,eAAe,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,gBAAgB,GAAG,IAAI;IAW9E,kBAAkB,CACrB,MAAM,EAAE,CAAC,OAAO,EAAE,uBAAuB,CAAC,OAAO,CAAC,KAAK,uBAAuB,CAAC,OAAO,CAAC,EACvF,iCAAiC,EAAE,CAC/B,MAAM,EAAE,gBAAgB,CAAC,OAAO,CAAC,EACjC,UAAU,CAAC,EAAE,eAAe,KAC3B,uBAAuB,CAAC,OAAO,CAAC,GACtC,IAAI;CAQV"}
@@ -1,10 +1,9 @@
1
- // (C) 2019-2024 GoodData Corporation
1
+ // (C) 2019-2025 GoodData Corporation
2
2
  import { invariant } from "ts-invariant";
3
3
  import { InsightWidgetBuilder, KpiWidgetBuilder, resolveValueOrUpdateCallback, } from "@gooddata/sdk-backend-base";
4
- import { isKpiWidgetDefinition, isKpiWidget, isInsightWidgetDefinition, isInsightWidget, isDashboardLayoutItem, } from "@gooddata/sdk-model";
4
+ import { isKpiWidgetDefinition, isKpiWidget, isInsightWidgetDefinition, isInsightWidget, isDashboardLayoutItem, isDashboardLayout, } from "@gooddata/sdk-model";
5
5
  import identity from "lodash/identity.js";
6
6
  /**
7
- * TODO LX-603: rewrite to support nested layouts
8
7
  * @alpha
9
8
  */
10
9
  export class DashboardLayoutItemBuilder {
@@ -80,7 +79,16 @@ export class DashboardLayoutItemBuilder {
80
79
  modifyKpiWidget(modify) {
81
80
  const content = this.facade().widget();
82
81
  invariant(isKpiWidgetDefinition(content) || isKpiWidget(content), "Content of the item is not a kpi widget.");
83
- this.widget(modify(KpiWidgetBuilder.for(content)).build());
82
+ const builder = KpiWidgetBuilder.for(content);
83
+ this.widget(modify(builder).build());
84
+ return this;
85
+ }
86
+ modifyLayoutWidget(modify, dashboardLayoutBuilderConstructor) {
87
+ const content = this.facade().widget();
88
+ invariant(isDashboardLayout(content), "Content of the item is not a layout widget.");
89
+ const itemPath = this.getItemFacade().index();
90
+ const builder = dashboardLayoutBuilderConstructor(content, itemPath);
91
+ this.widget(modify(builder).build());
84
92
  return this;
85
93
  }
86
94
  }
@@ -1 +1 @@
1
- {"version":3,"file":"item.js","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/item.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,4BAA4B,GAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,qBAAqB,EACrB,WAAW,EACX,yBAAyB,EACzB,eAAe,EAIf,qBAAqB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAE1C;;;GAGG;AACH,MAAM,OAAO,0BAA0B;IAErB;IAGA;IACA;IALd,YACc,UAED,EACC,aAAwD,EACxD,SAAiB;QAJjB,eAAU,GAAV,UAAU,CAEX;QACC,kBAAa,GAAb,aAAa,CAA2C;QACxD,cAAS,GAAT,SAAS,CAAQ;IAC5B,CAAC;IAEJ;;;;;OAKG;IACI,MAAM,CAAC,GAAG,CACb,cAAuD,EACvD,SAAiB;QAEjB,SAAS,CACL,qBAAqB,CAAU,cAAc,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,EAA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AAC,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,EAAwB,CAAC,CAAC;QACjF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
1
+ {"version":3,"file":"item.js","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/item.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzC,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,4BAA4B,GAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,qBAAqB,EACrB,WAAW,EACX,yBAAyB,EACzB,eAAe,EAIf,qBAAqB,EACrB,iBAAiB,GAEpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,QAAQ,MAAM,oBAAoB,CAAC;AAG1C;;GAEG;AACH,MAAM,OAAO,0BAA0B;IAErB;IAGA;IACA;IALd,YACc,UAED,EACC,aAAwD,EACxD,SAAiB;QAJjB,eAAU,GAAV,UAAU,CAEX;QACC,kBAAa,GAAb,aAAa,CAA2C;QACxD,cAAS,GAAT,SAAS,CAAQ;IAC5B,CAAC;IAEJ;;;;;OAKG;IACI,MAAM,CAAC,GAAG,CACb,cAAuD,EACvD,SAAiB;QAEjB,SAAS,CACL,qBAAqB,CAAU,cAAc,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,EAC9E,+CAA+C,SAAS,IAAI,cAAc;aACrE,MAAM,EAAE;aACR,IAAI,CAAC,SAAS,CAAC,EAAE,CACzB,CAAC;QACF,OAAO,IAAI,0BAA0B,CACjC,CAAC,OAAO,EAAE,EAAE,CAAC,cAAc,CAAC,UAAU,CAAC,OAAO,CAAC,EAC/C,GAAG,EAAE,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,SAAS,CAAE,EAC9C,SAAS,CACZ,CAAC;IACN,CAAC;IAEM,IAAI,CAAC,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AM,QAAQ,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC;QAC9C,MAAM,OAAO,GAAG,iCAAiC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACrE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,KAAK,EAAwB,CAAC,CAAC;QAC3D,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
@@ -1,10 +1,9 @@
1
1
  import { IDashboardLayout, IDashboardLayoutSection, IDashboardLayoutSize } from "@gooddata/sdk-model";
2
- import { DashboardLayoutModifications, DashboardLayoutSectionModifications, DashboardLayoutSectionsSelector, IDashboardLayoutBuilder } from "./interfaces.js";
2
+ import { DashboardLayoutModifications, DashboardLayoutSectionModifications, DashboardLayoutSectionsSelector, IDashboardLayoutBuilder, IDashboardLayoutSectionBuilder } from "./interfaces.js";
3
3
  import { IDashboardLayoutFacade } from "../facade/interfaces.js";
4
4
  import { ValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
5
- import { ILayoutItemPath } from "../../../../types.js";
5
+ import { ILayoutItemPath, ILayoutSectionPath } from "../../../../types.js";
6
6
  /**
7
- * TODO LX-603: rewrite to support nested layouts
8
7
  * @alpha
9
8
  */
10
9
  export declare class DashboardLayoutBuilder<TWidget> implements IDashboardLayoutBuilder<TWidget> {
@@ -16,19 +15,24 @@ export declare class DashboardLayoutBuilder<TWidget> implements IDashboardLayout
16
15
  *
17
16
  * @param layout - layout to modify
18
17
  */
19
- static for<TWidget>(layout: IDashboardLayout<TWidget>, layoutPath?: ILayoutItemPath): IDashboardLayoutBuilder<TWidget>;
18
+ static for<TWidget>(layout: IDashboardLayout<TWidget>, layoutPath?: ILayoutItemPath): DashboardLayoutBuilder<TWidget>;
20
19
  /**
21
20
  * Creates an instance of DashboardLayoutBuilder with empty layout.
22
21
  *
23
22
  * @param layoutPath - layout path in case of nested layout
24
23
  */
25
- static forNewLayout<TWidget>(layoutPath: ILayoutItemPath | undefined): IDashboardLayoutBuilder<TWidget>;
24
+ static forNewLayout<TWidget>(layoutPath?: ILayoutItemPath): IDashboardLayoutBuilder<TWidget>;
26
25
  size(valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayoutSize | undefined>): this;
27
- createSection(create?: DashboardLayoutSectionModifications<TWidget>, index?: number): this;
28
- addSection(section: IDashboardLayoutSection<TWidget>, index?: number): this;
29
- modifySection(index: number, modify: DashboardLayoutSectionModifications<TWidget>): this;
30
- removeSection(index: number): this;
31
- moveSection(fromIndex: number, toIndex: number): this;
26
+ createSection(create?: (builder: IDashboardLayoutSectionBuilder<TWidget>) => IDashboardLayoutSectionBuilder<TWidget>, indexOrPath?: number | ILayoutSectionPath): this;
27
+ private createSectionByPath;
28
+ addSection(section: IDashboardLayoutSection<TWidget>, indexOrPath: number | ILayoutSectionPath | undefined): this;
29
+ private addSectionByPath;
30
+ modifySection(indexOrPath: number | ILayoutSectionPath, modify: DashboardLayoutSectionModifications<TWidget>): this;
31
+ private modifySectionByPath;
32
+ removeSection(indexOrPath: number | ILayoutSectionPath): this;
33
+ private removeSectionByPath;
34
+ moveSection(fromIndexOrPath: number | ILayoutSectionPath, toIndexOrPath: number | ILayoutSectionPath): this;
35
+ private moveSectionByPath;
32
36
  removeSections(selector?: DashboardLayoutSectionsSelector<TWidget>): this;
33
37
  removeEmptySections(): this;
34
38
  modifySections(modify: DashboardLayoutSectionModifications<TWidget>, selector?: DashboardLayoutSectionsSelector<TWidget>): this;
@@ -1 +1 @@
1
- {"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/layout.ts"],"names":[],"mappings":"AACA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,oBAAoB,EAEvB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EACH,4BAA4B,EAC5B,mCAAmC,EACnC,+BAA+B,EAC/B,uBAAuB,EAC1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB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