@gooddata/sdk-ui-dashboard 10.16.0-alpha.11 → 10.16.0-alpha.12

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 (968) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/_staging/dashboard/dashboardLayout.d.ts.map +1 -1
  4. package/esm/_staging/dashboard/dashboardLayout.js +15 -2
  5. package/esm/_staging/dashboard/dashboardLayout.js.map +1 -1
  6. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts.map +1 -0
  7. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.js.map +1 -0
  8. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts +32 -0
  9. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts.map +1 -0
  10. package/esm/_staging/dashboard/flexibleLayout/builder/item.js +87 -0
  11. package/esm/_staging/dashboard/flexibleLayout/builder/item.js.map +1 -0
  12. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts +40 -0
  13. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts.map +1 -0
  14. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js +156 -0
  15. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js.map +1 -0
  16. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts +32 -0
  17. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts.map +1 -0
  18. package/esm/_staging/dashboard/flexibleLayout/builder/section.js +147 -0
  19. package/esm/_staging/dashboard/flexibleLayout/builder/section.js.map +1 -0
  20. package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -0
  21. package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.js +1 -1
  22. package/esm/_staging/dashboard/flexibleLayout/config.js.map +1 -0
  23. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts +119 -0
  24. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts.map +1 -0
  25. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.js.map +1 -0
  26. package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts +41 -0
  27. package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts.map +1 -0
  28. package/esm/_staging/dashboard/flexibleLayout/facade/item.js +115 -0
  29. package/esm/_staging/dashboard/flexibleLayout/facade/item.js.map +1 -0
  30. package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts +23 -0
  31. package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts.map +1 -0
  32. package/esm/_staging/dashboard/flexibleLayout/facade/items.js +74 -0
  33. package/esm/_staging/dashboard/flexibleLayout/facade/items.js.map +1 -0
  34. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts +24 -0
  35. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts.map +1 -0
  36. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js +44 -0
  37. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js.map +1 -0
  38. package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts +34 -0
  39. package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts.map +1 -0
  40. package/esm/_staging/dashboard/flexibleLayout/facade/section.js +88 -0
  41. package/esm/_staging/dashboard/flexibleLayout/facade/section.js.map +1 -0
  42. package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts +24 -0
  43. package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts.map +1 -0
  44. package/esm/_staging/dashboard/flexibleLayout/facade/sections.js +55 -0
  45. package/esm/_staging/dashboard/flexibleLayout/facade/sections.js.map +1 -0
  46. package/esm/_staging/dashboard/flexibleLayout/index.d.ts.map +1 -0
  47. package/esm/_staging/dashboard/flexibleLayout/index.js.map +1 -0
  48. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts +435 -0
  49. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts.map +1 -0
  50. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js +2 -0
  51. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js.map +1 -0
  52. package/esm/_staging/dashboard/legacyFluidLayout/builder/item.d.ts.map +1 -0
  53. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.js +1 -1
  54. package/esm/_staging/dashboard/legacyFluidLayout/builder/item.js.map +1 -0
  55. package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.d.ts.map +1 -0
  56. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.js +1 -1
  57. package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.js.map +1 -0
  58. package/esm/_staging/dashboard/legacyFluidLayout/builder/section.d.ts.map +1 -0
  59. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.js +1 -1
  60. package/esm/_staging/dashboard/legacyFluidLayout/builder/section.js.map +1 -0
  61. package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts +2 -0
  62. package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts.map +1 -0
  63. package/esm/_staging/dashboard/legacyFluidLayout/config.js +4 -0
  64. package/esm/_staging/dashboard/legacyFluidLayout/config.js.map +1 -0
  65. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.d.ts.map +1 -0
  66. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js +2 -0
  67. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js.map +1 -0
  68. package/esm/_staging/dashboard/legacyFluidLayout/facade/item.d.ts.map +1 -0
  69. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.js +1 -1
  70. package/esm/_staging/dashboard/legacyFluidLayout/facade/item.js.map +1 -0
  71. package/esm/_staging/dashboard/legacyFluidLayout/facade/items.d.ts.map +1 -0
  72. package/esm/_staging/dashboard/legacyFluidLayout/facade/items.js.map +1 -0
  73. package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.d.ts.map +1 -0
  74. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.js +1 -1
  75. package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.js.map +1 -0
  76. package/esm/_staging/dashboard/legacyFluidLayout/facade/section.d.ts.map +1 -0
  77. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.js +1 -1
  78. package/esm/_staging/dashboard/legacyFluidLayout/facade/section.js.map +1 -0
  79. package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.d.ts.map +1 -0
  80. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.js +1 -1
  81. package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.js.map +1 -0
  82. package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts +11 -0
  83. package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts.map +1 -0
  84. package/esm/_staging/dashboard/legacyFluidLayout/index.js +10 -0
  85. package/esm/_staging/dashboard/legacyFluidLayout/index.js.map +1 -0
  86. package/esm/_staging/layout/coordinates.d.ts +20 -2
  87. package/esm/_staging/layout/coordinates.d.ts.map +1 -1
  88. package/esm/_staging/layout/coordinates.js +190 -1
  89. package/esm/_staging/layout/coordinates.js.map +1 -1
  90. package/esm/_staging/layout/sizing.d.ts +1 -1
  91. package/esm/_staging/layout/sizing.d.ts.map +1 -1
  92. package/esm/_staging/layout/sizing.js +10 -2
  93. package/esm/_staging/layout/sizing.js.map +1 -1
  94. package/esm/internal.d.ts +2 -2
  95. package/esm/internal.d.ts.map +1 -1
  96. package/esm/internal.js +2 -2
  97. package/esm/internal.js.map +1 -1
  98. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
  99. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +9 -3
  100. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js.map +1 -1
  101. package/esm/model/commandHandlers/layout/addSectionItemsHandler.d.ts.map +1 -1
  102. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js +47 -23
  103. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js.map +1 -1
  104. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.d.ts.map +1 -1
  105. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js +17 -5
  106. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js.map +1 -1
  107. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.d.ts.map +1 -1
  108. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js +48 -18
  109. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js.map +1 -1
  110. package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
  111. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +90 -40
  112. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
  113. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
  114. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +90 -26
  115. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
  116. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.d.ts.map +1 -1
  117. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js +22 -7
  118. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js.map +1 -1
  119. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.d.ts.map +1 -1
  120. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js +5 -3
  121. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js.map +1 -1
  122. package/esm/model/commandHandlers/layout/removeSectionItemHandler.d.ts.map +1 -1
  123. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js +36 -20
  124. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js.map +1 -1
  125. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.d.ts.map +1 -1
  126. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js +38 -18
  127. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js.map +1 -1
  128. package/esm/model/commandHandlers/layout/resizeHeightHandler.d.ts.map +1 -1
  129. package/esm/model/commandHandlers/layout/resizeHeightHandler.js +30 -11
  130. package/esm/model/commandHandlers/layout/resizeHeightHandler.js.map +1 -1
  131. package/esm/model/commandHandlers/layout/resizeWidthHandler.d.ts.map +1 -1
  132. package/esm/model/commandHandlers/layout/resizeWidthHandler.js +32 -17
  133. package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
  134. package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts +5 -4
  135. package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts.map +1 -1
  136. package/esm/model/commandHandlers/layout/validation/layoutValidation.js +55 -15
  137. package/esm/model/commandHandlers/layout/validation/layoutValidation.js.map +1 -1
  138. package/esm/model/commands/index.d.ts +1 -1
  139. package/esm/model/commands/index.d.ts.map +1 -1
  140. package/esm/model/commands/index.js +1 -1
  141. package/esm/model/commands/index.js.map +1 -1
  142. package/esm/model/commands/layout.d.ts +436 -10
  143. package/esm/model/commands/layout.d.ts.map +1 -1
  144. package/esm/model/commands/layout.js +450 -5
  145. package/esm/model/commands/layout.js.map +1 -1
  146. package/esm/model/events/layout.d.ts +152 -11
  147. package/esm/model/events/layout.d.ts.map +1 -1
  148. package/esm/model/events/layout.js +25 -11
  149. package/esm/model/events/layout.js.map +1 -1
  150. package/esm/model/events/userInteraction.d.ts +5 -1
  151. package/esm/model/events/userInteraction.d.ts.map +1 -1
  152. package/esm/model/events/userInteraction.js.map +1 -1
  153. package/esm/model/react/useDashboardUserInteraction.d.ts +2 -1
  154. package/esm/model/react/useDashboardUserInteraction.d.ts.map +1 -1
  155. package/esm/model/react/useDashboardUserInteraction.js +4 -0
  156. package/esm/model/react/useDashboardUserInteraction.js.map +1 -1
  157. package/esm/model/react/useWidgetSelection.d.ts.map +1 -1
  158. package/esm/model/react/useWidgetSelection.js +3 -1
  159. package/esm/model/react/useWidgetSelection.js.map +1 -1
  160. package/esm/model/store/index.d.ts +2 -2
  161. package/esm/model/store/index.d.ts.map +1 -1
  162. package/esm/model/store/index.js +2 -2
  163. package/esm/model/store/index.js.map +1 -1
  164. package/esm/model/store/layout/index.d.ts +12 -18
  165. package/esm/model/store/layout/index.d.ts.map +1 -1
  166. package/esm/model/store/layout/layoutReducers.d.ts +19 -24
  167. package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
  168. package/esm/model/store/layout/layoutReducers.js +82 -58
  169. package/esm/model/store/layout/layoutReducers.js.map +1 -1
  170. package/esm/model/store/layout/layoutSelectors.d.ts +39 -1
  171. package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
  172. package/esm/model/store/layout/layoutSelectors.js +58 -4
  173. package/esm/model/store/layout/layoutSelectors.js.map +1 -1
  174. package/esm/model/store/layout/layoutUtils.d.ts +7 -7
  175. package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
  176. package/esm/model/store/layout/layoutUtils.js +26 -9
  177. package/esm/model/store/layout/layoutUtils.js.map +1 -1
  178. package/esm/model/store/ui/index.d.ts +5 -5
  179. package/esm/model/store/ui/uiReducers.d.ts +6 -6
  180. package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
  181. package/esm/model/store/ui/uiReducers.js +11 -8
  182. package/esm/model/store/ui/uiReducers.js.map +1 -1
  183. package/esm/model/store/ui/uiSelectors.d.ts +31 -1
  184. package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
  185. package/esm/model/store/ui/uiSelectors.js +38 -3
  186. package/esm/model/store/ui/uiSelectors.js.map +1 -1
  187. package/esm/model/store/ui/uiState.d.ts +4 -4
  188. package/esm/model/store/ui/uiState.d.ts.map +1 -1
  189. package/esm/model/store/ui/uiState.js +1 -1
  190. package/esm/model/store/ui/uiState.js.map +1 -1
  191. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +2 -2
  192. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js.map +1 -1
  193. package/esm/presentation/constants.d.ts +2 -0
  194. package/esm/presentation/constants.d.ts.map +1 -0
  195. package/esm/presentation/constants.js +12 -0
  196. package/esm/presentation/constants.js.map +1 -0
  197. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
  198. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
  199. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
  200. package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
  201. package/esm/presentation/dashboard/components/DashboardInner.js +12 -3
  202. package/esm/presentation/dashboard/components/DashboardInner.js.map +1 -1
  203. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts +18 -0
  204. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts.map +1 -0
  205. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js +32 -0
  206. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js.map +1 -0
  207. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
  208. package/esm/presentation/dashboard/components/DashboardMainContent.js +7 -2
  209. package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
  210. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  211. package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
  212. package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
  213. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts +11 -0
  214. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts.map +1 -0
  215. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +45 -0
  216. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js.map +1 -0
  217. package/esm/presentation/dragAndDrop/DragLayerPreview/types.d.ts.map +1 -1
  218. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts +1 -0
  219. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts.map +1 -1
  220. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js +1 -1
  221. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js.map +1 -1
  222. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts +1 -1
  223. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
  224. package/esm/presentation/dragAndDrop/LayoutResizeContext.js +2 -2
  225. package/esm/presentation/dragAndDrop/LayoutResizeContext.js.map +1 -1
  226. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts +2 -0
  227. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts.map +1 -1
  228. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js +4 -2
  229. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js.map +1 -1
  230. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts +1 -1
  231. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts.map +1 -1
  232. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js +4 -3
  233. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js.map +1 -1
  234. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.d.ts.map +1 -1
  235. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js +3 -1
  236. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js.map +1 -1
  237. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts.map +1 -1
  238. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js +4 -2
  239. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js.map +1 -1
  240. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.d.ts.map +1 -1
  241. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js +3 -2
  242. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js.map +1 -1
  243. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts.map +1 -1
  244. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js +3 -2
  245. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js.map +1 -1
  246. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts +14 -0
  247. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts.map +1 -0
  248. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js +30 -0
  249. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js.map +1 -0
  250. package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts +0 -9
  251. package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts.map +1 -1
  252. package/esm/presentation/dragAndDrop/draggableWidget/index.js +0 -9
  253. package/esm/presentation/dragAndDrop/draggableWidget/index.js.map +1 -1
  254. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.d.ts.map +1 -1
  255. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js +1 -1
  256. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js.map +1 -1
  257. package/esm/presentation/dragAndDrop/index.d.ts +0 -6
  258. package/esm/presentation/dragAndDrop/index.d.ts.map +1 -1
  259. package/esm/presentation/dragAndDrop/index.js +1 -7
  260. package/esm/presentation/dragAndDrop/index.js.map +1 -1
  261. package/esm/presentation/dragAndDrop/types.d.ts +6 -0
  262. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  263. package/esm/presentation/dragAndDrop/types.js +2 -1
  264. package/esm/presentation/dragAndDrop/types.js.map +1 -1
  265. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  266. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -3
  267. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
  268. package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
  269. package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
  270. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  271. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +59 -37
  272. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  273. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  274. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +34 -16
  275. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  276. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
  277. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +8 -6
  278. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  279. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -3
  280. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  281. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +7 -4
  282. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
  283. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
  284. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  285. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +10 -7
  286. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  287. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -3
  288. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  289. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -2
  290. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
  291. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
  292. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +6 -13
  293. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
  294. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts.map +1 -1
  295. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +4 -3
  296. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
  297. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +4 -4
  298. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  299. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +14 -10
  300. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  301. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
  302. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +3 -4
  303. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
  304. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
  305. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +6 -4
  306. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
  307. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
  308. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +2 -3
  309. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
  310. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
  311. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +3 -1
  312. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
  313. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts.map +1 -1
  314. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +13 -12
  315. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
  316. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +3 -2
  317. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  318. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +13 -12
  319. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
  320. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +1 -9
  321. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
  322. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +9 -45
  323. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
  324. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts +5 -4
  325. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
  326. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js +3 -2
  327. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
  328. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +15 -28
  329. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  330. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +3 -2
  331. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
  332. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +3 -2
  333. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
  334. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
  335. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
  336. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +9 -5
  337. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  338. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +29 -25
  339. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  340. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  341. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +26 -18
  342. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  343. package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js +1 -1
  344. package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js.map +1 -1
  345. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts +3 -0
  346. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts.map +1 -0
  347. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js +9 -0
  348. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js.map +1 -0
  349. package/esm/presentation/flexibleLayout/constants.d.ts +0 -1
  350. package/esm/presentation/flexibleLayout/constants.d.ts.map +1 -1
  351. package/esm/presentation/flexibleLayout/constants.js +0 -10
  352. package/esm/presentation/flexibleLayout/constants.js.map +1 -1
  353. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.d.ts.map +1 -0
  354. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.js +6 -7
  355. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.js.map +1 -0
  356. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
  357. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
  358. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/ContentDragPreview.js +2 -2
  359. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
  360. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.d.ts +2 -2
  361. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
  362. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js +56 -0
  363. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
  364. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.d.ts +3 -3
  365. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
  366. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.js +2 -2
  367. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
  368. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.d.ts +1 -1
  369. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
  370. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.js +1 -1
  371. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
  372. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +9 -0
  373. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
  374. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +16 -0
  375. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
  376. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +3 -0
  377. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
  378. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +20 -0
  379. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
  380. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
  381. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js +11 -0
  382. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
  383. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +13 -0
  384. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
  385. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +96 -0
  386. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
  387. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.d.ts +1 -1
  388. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
  389. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.js +1 -1
  390. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
  391. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
  392. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js +10 -0
  393. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
  394. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts +10 -0
  395. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
  396. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +65 -0
  397. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
  398. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.d.ts.map +1 -0
  399. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js +3 -0
  400. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js.map +1 -0
  401. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +12 -0
  402. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
  403. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +8 -0
  404. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
  405. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +11 -0
  406. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
  407. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +12 -0
  408. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
  409. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
  410. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +1 -1
  411. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
  412. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
  413. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
  414. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
  415. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
  416. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
  417. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +55 -0
  418. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
  419. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts +5 -0
  420. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -0
  421. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +50 -0
  422. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -0
  423. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts +12 -0
  424. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
  425. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +95 -0
  426. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
  427. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +8 -0
  428. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
  429. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +20 -0
  430. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
  431. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts +8 -0
  432. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
  433. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js +20 -0
  434. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
  435. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts +12 -0
  436. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
  437. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js +89 -0
  438. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
  439. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts +9 -0
  440. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
  441. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZone.js +1 -1
  442. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
  443. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
  444. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.js +1 -1
  445. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
  446. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts +8 -0
  447. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
  448. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +82 -0
  449. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
  450. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
  451. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
  452. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js +8 -9
  453. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +1 -0
  454. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts +9 -0
  455. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts.map +1 -0
  456. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js +75 -0
  457. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js.map +1 -0
  458. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts +4 -0
  459. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
  460. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js +68 -0
  461. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
  462. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts +3 -0
  463. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
  464. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js +33 -0
  465. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
  466. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts +3 -0
  467. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
  468. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js +14 -0
  469. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
  470. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts +3 -0
  471. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
  472. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js +36 -0
  473. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
  474. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts +4 -0
  475. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
  476. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js +23 -0
  477. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
  478. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +4 -0
  479. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
  480. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +8 -0
  481. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
  482. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
  483. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
  484. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js +5 -11
  485. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +1 -0
  486. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +4 -0
  487. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
  488. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js +72 -0
  489. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
  490. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +3 -0
  491. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
  492. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +35 -0
  493. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
  494. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +3 -0
  495. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
  496. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +38 -0
  497. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
  498. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +4 -0
  499. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
  500. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +43 -0
  501. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
  502. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
  503. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  504. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +44 -0
  505. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  506. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +4 -0
  507. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
  508. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js +41 -0
  509. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
  510. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
  511. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  512. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +42 -0
  513. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  514. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts +9 -0
  515. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
  516. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.js +2 -2
  517. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
  518. package/esm/presentation/flexibleLayout/refs.d.ts +1 -1
  519. package/esm/presentation/flexibleLayout/refs.d.ts.map +1 -1
  520. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.d.ts.map +1 -1
  521. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js +10 -6
  522. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js.map +1 -1
  523. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
  524. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
  525. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.js +1 -1
  526. package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
  527. package/esm/presentation/layout/DashboardLayoutWidget.js +5 -2
  528. package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
  529. package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
  530. package/esm/presentation/layout/DefaultDashboardLayout.js +2 -1
  531. package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
  532. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  533. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js +2 -2
  534. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  535. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +2 -2
  536. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  537. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -1
  538. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  539. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
  540. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  541. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +3 -2
  542. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  543. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -1
  544. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  545. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -1
  546. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
  547. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +4 -2
  548. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
  549. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +1 -1
  550. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  551. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +6 -5
  552. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
  553. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  554. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +5 -2
  555. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
  556. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +4 -4
  557. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
  558. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js +2 -2
  559. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
  560. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +1 -1
  561. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  562. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +1 -1
  563. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
  564. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +1 -1
  565. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
  566. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
  567. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
  568. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +1 -1
  569. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  570. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -4
  571. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  572. package/esm/presentation/layout/EmptyDashboardLayout.js +2 -2
  573. package/esm/presentation/layout/EmptyDashboardLayout.js.map +1 -1
  574. package/esm/presentation/layout/constants.d.ts +0 -1
  575. package/esm/presentation/layout/constants.d.ts.map +1 -1
  576. package/esm/presentation/layout/constants.js +1 -11
  577. package/esm/presentation/layout/constants.js.map +1 -1
  578. package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts +3 -0
  579. package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts.map +1 -0
  580. package/esm/presentation/layout/dragAndDrop/DragLayer.js +60 -0
  581. package/esm/presentation/layout/dragAndDrop/DragLayer.js.map +1 -0
  582. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
  583. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
  584. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js +50 -0
  585. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
  586. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts +7 -0
  587. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
  588. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.js +3 -3
  589. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
  590. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts +29 -0
  591. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
  592. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js +62 -0
  593. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
  594. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts +9 -0
  595. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
  596. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js +24 -0
  597. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
  598. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
  599. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.js +1 -1
  600. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
  601. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
  602. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.js +3 -3
  603. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
  604. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts +4 -0
  605. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
  606. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizer.js +1 -1
  607. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
  608. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.d.ts +2 -2
  609. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
  610. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.js +5 -6
  611. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
  612. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts +10 -0
  613. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
  614. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js +67 -0
  615. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
  616. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts +4 -0
  617. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
  618. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizer.js +1 -1
  619. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
  620. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.d.ts +1 -1
  621. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
  622. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.js +5 -6
  623. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
  624. package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts +5 -0
  625. package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts.map +1 -0
  626. package/esm/presentation/layout/dragAndDrop/Resize/types.js +3 -0
  627. package/esm/presentation/layout/dragAndDrop/Resize/types.js.map +1 -0
  628. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
  629. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +1 -1
  630. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
  631. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
  632. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +1 -1
  633. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
  634. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +8 -0
  635. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
  636. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +13 -0
  637. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
  638. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +4 -0
  639. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
  640. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +4 -0
  641. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
  642. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +2 -0
  643. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
  644. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js +2 -0
  645. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
  646. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts +3 -0
  647. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
  648. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.js +4 -14
  649. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
  650. package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
  651. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.js +4 -13
  652. package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
  653. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.d.ts +1 -1
  654. package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
  655. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.js +2 -2
  656. package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
  657. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
  658. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.js +1 -1
  659. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
  660. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
  661. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.js +3 -12
  662. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
  663. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
  664. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js +9 -0
  665. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
  666. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts +7 -0
  667. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
  668. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js +14 -0
  669. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
  670. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
  671. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.js +9 -16
  672. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
  673. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
  674. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.js +4 -4
  675. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
  676. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
  677. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.js +4 -4
  678. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
  679. package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
  680. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.js +2 -2
  681. package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
  682. package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
  683. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.js +4 -4
  684. package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
  685. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.d.ts +1 -1
  686. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
  687. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.js +1 -1
  688. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
  689. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +2 -2
  690. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
  691. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +2 -2
  692. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
  693. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
  694. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.js +4 -4
  695. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
  696. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
  697. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +4 -4
  698. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
  699. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
  700. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +4 -4
  701. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
  702. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
  703. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +1 -1
  704. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
  705. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  706. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +1 -1
  707. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  708. package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
  709. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.js +2 -2
  710. package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
  711. package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  712. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +1 -1
  713. package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  714. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.d.ts +1 -1
  715. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
  716. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js +17 -0
  717. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
  718. package/esm/presentation/layout/refs.d.ts +1 -1
  719. package/esm/presentation/layout/refs.d.ts.map +1 -1
  720. package/esm/presentation/localization/bundles/en-US.json +25 -0
  721. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
  722. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
  723. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +17 -3
  724. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
  725. package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts +1 -1
  726. package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts.map +1 -1
  727. package/esm/presentation/widget/dashboardLayout/DashboardLayout.js.map +1 -1
  728. package/esm/presentation/widget/dashboardLayout/types.d.ts +5 -4
  729. package/esm/presentation/widget/dashboardLayout/types.d.ts.map +1 -1
  730. package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js +3 -3
  731. package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js.map +1 -1
  732. package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js +7 -7
  733. package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js.map +1 -1
  734. package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js +6 -6
  735. package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js.map +1 -1
  736. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -1
  737. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +12 -3
  738. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -1
  739. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts +7 -0
  740. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -0
  741. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +47 -0
  742. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -0
  743. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts +6 -0
  744. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts.map +1 -0
  745. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js +12 -0
  746. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js.map +1 -0
  747. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts +8 -0
  748. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -0
  749. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +31 -0
  750. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -0
  751. package/esm/presentation/widget/widget/DashboardWidget.d.ts.map +1 -1
  752. package/esm/presentation/widget/widget/DashboardWidget.js +12 -4
  753. package/esm/presentation/widget/widget/DashboardWidget.js.map +1 -1
  754. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
  755. package/esm/presentation/widget/widget/DefaultDashboardWidget.js +10 -6
  756. package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
  757. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
  758. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +3 -1
  759. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js.map +1 -1
  760. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.d.ts.map +1 -1
  761. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js +3 -1
  762. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js.map +1 -1
  763. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
  764. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +7 -2
  765. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
  766. package/esm/presentation/widget/widget/types.d.ts +7 -1
  767. package/esm/presentation/widget/widget/types.d.ts.map +1 -1
  768. package/esm/sdk-ui-dashboard.d.ts +691 -19
  769. package/esm/types.d.ts +37 -0
  770. package/esm/types.d.ts.map +1 -1
  771. package/esm/types.js +23 -0
  772. package/esm/types.js.map +1 -1
  773. package/package.json +15 -15
  774. package/styles/css/dashboard.css +78 -47
  775. package/styles/css/dashboard.css.map +1 -1
  776. package/styles/css/dashboardNestedLayoutToolbar.css +39 -0
  777. package/styles/css/dashboardNestedLayoutToolbar.css.map +1 -0
  778. package/styles/css/dashboardNestedLayoutWidget.css +106 -0
  779. package/styles/css/dashboardNestedLayoutWidget.css.map +1 -0
  780. package/styles/css/dragAndDrop.css +134 -5
  781. package/styles/css/dragAndDrop.css.map +1 -1
  782. package/styles/css/layout.css +60 -41
  783. package/styles/css/layout.css.map +1 -1
  784. package/styles/css/main.css +396 -52
  785. package/styles/css/main.css.map +1 -1
  786. package/styles/css/resizing.css +51 -0
  787. package/styles/css/resizing.css.map +1 -1
  788. package/styles/scss/dashboard.scss +28 -11
  789. package/styles/scss/dashboardNestedLayoutToolbar.scss +41 -0
  790. package/styles/scss/dashboardNestedLayoutWidget.scss +128 -0
  791. package/styles/scss/dragAndDrop.scss +176 -8
  792. package/styles/scss/layout.scss +20 -45
  793. package/styles/scss/main.scss +2 -0
  794. package/styles/scss/resizing.scss +65 -6
  795. package/esm/_staging/dashboard/fluidLayout/builder/interfaces.d.ts.map +0 -1
  796. package/esm/_staging/dashboard/fluidLayout/builder/interfaces.js.map +0 -1
  797. package/esm/_staging/dashboard/fluidLayout/builder/item.d.ts.map +0 -1
  798. package/esm/_staging/dashboard/fluidLayout/builder/item.js.map +0 -1
  799. package/esm/_staging/dashboard/fluidLayout/builder/layout.d.ts.map +0 -1
  800. package/esm/_staging/dashboard/fluidLayout/builder/layout.js.map +0 -1
  801. package/esm/_staging/dashboard/fluidLayout/builder/section.d.ts.map +0 -1
  802. package/esm/_staging/dashboard/fluidLayout/builder/section.js.map +0 -1
  803. package/esm/_staging/dashboard/fluidLayout/config.d.ts.map +0 -1
  804. package/esm/_staging/dashboard/fluidLayout/config.js.map +0 -1
  805. package/esm/_staging/dashboard/fluidLayout/facade/interfaces.d.ts.map +0 -1
  806. package/esm/_staging/dashboard/fluidLayout/facade/interfaces.js.map +0 -1
  807. package/esm/_staging/dashboard/fluidLayout/facade/item.d.ts.map +0 -1
  808. package/esm/_staging/dashboard/fluidLayout/facade/item.js.map +0 -1
  809. package/esm/_staging/dashboard/fluidLayout/facade/items.d.ts.map +0 -1
  810. package/esm/_staging/dashboard/fluidLayout/facade/items.js.map +0 -1
  811. package/esm/_staging/dashboard/fluidLayout/facade/layout.d.ts.map +0 -1
  812. package/esm/_staging/dashboard/fluidLayout/facade/layout.js.map +0 -1
  813. package/esm/_staging/dashboard/fluidLayout/facade/section.d.ts.map +0 -1
  814. package/esm/_staging/dashboard/fluidLayout/facade/section.js.map +0 -1
  815. package/esm/_staging/dashboard/fluidLayout/facade/sections.d.ts.map +0 -1
  816. package/esm/_staging/dashboard/fluidLayout/facade/sections.js.map +0 -1
  817. package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +0 -1
  818. package/esm/_staging/dashboard/fluidLayout/index.js.map +0 -1
  819. package/esm/presentation/dragAndDrop/DragLayer.d.ts.map +0 -1
  820. package/esm/presentation/dragAndDrop/DragLayer.js.map +0 -1
  821. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +0 -5
  822. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +0 -1
  823. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +0 -1
  824. package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +0 -1
  825. package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +0 -1
  826. package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +0 -1
  827. package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +0 -1
  828. package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +0 -1
  829. package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +0 -1
  830. package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +0 -1
  831. package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.js.map +0 -1
  832. package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +0 -1
  833. package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +0 -1
  834. package/esm/presentation/dragAndDrop/Resize/HeightResizer.d.ts.map +0 -1
  835. package/esm/presentation/dragAndDrop/Resize/HeightResizer.js.map +0 -1
  836. package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +0 -1
  837. package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.js.map +0 -1
  838. package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.d.ts.map +0 -1
  839. package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.js.map +0 -1
  840. package/esm/presentation/dragAndDrop/Resize/WidthResizer.d.ts.map +0 -1
  841. package/esm/presentation/dragAndDrop/Resize/WidthResizer.js.map +0 -1
  842. package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +0 -1
  843. package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.js.map +0 -1
  844. package/esm/presentation/dragAndDrop/Resize/types.d.ts.map +0 -1
  845. package/esm/presentation/dragAndDrop/Resize/types.js +0 -3
  846. package/esm/presentation/dragAndDrop/Resize/types.js.map +0 -1
  847. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +0 -1
  848. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +0 -1
  849. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +0 -1
  850. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +0 -1
  851. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +0 -1
  852. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +0 -1
  853. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +0 -1
  854. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +0 -1
  855. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +0 -1
  856. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +0 -1
  857. package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +0 -1
  858. package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +0 -1
  859. package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.d.ts.map +0 -1
  860. package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js.map +0 -1
  861. package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +0 -1
  862. package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.js.map +0 -1
  863. package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +0 -1
  864. package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +0 -1
  865. package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +0 -1
  866. package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js.map +0 -1
  867. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +0 -1
  868. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.js.map +0 -1
  869. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +0 -1
  870. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +0 -1
  871. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +0 -1
  872. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +0 -1
  873. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts +0 -3
  874. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts.map +0 -1
  875. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js +0 -46
  876. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js.map +0 -1
  877. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
  878. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
  879. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +0 -1
  880. package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +0 -1
  881. package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +0 -1
  882. package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +0 -1
  883. package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +0 -1
  884. package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +0 -1
  885. package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +0 -1
  886. package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +0 -1
  887. package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +0 -1
  888. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +0 -1
  889. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +0 -1
  890. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +0 -1
  891. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +0 -1
  892. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
  893. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
  894. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +0 -1
  895. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +0 -1
  896. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +0 -1
  897. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +0 -1
  898. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +0 -1
  899. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +0 -1
  900. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +0 -1
  901. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +0 -1
  902. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +0 -1
  903. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
  904. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
  905. package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +0 -1
  906. package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +0 -1
  907. package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
  908. package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
  909. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +0 -1
  910. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +0 -1
  911. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts +0 -2
  912. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts.map +0 -1
  913. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js +0 -3
  914. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js.map +0 -1
  915. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts +0 -4
  916. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts.map +0 -1
  917. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js +0 -34
  918. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js.map +0 -1
  919. package/styles/css/flexibleLayout.css +0 -425
  920. package/styles/css/flexibleLayout.css.map +0 -1
  921. package/styles/scss/flexibleLayout.scss +0 -410
  922. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.d.ts +0 -0
  923. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.js +0 -0
  924. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.d.ts +0 -0
  925. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/facade/interfaces.js +0 -0
  926. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.d.ts +0 -0
  927. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.js +0 -0
  928. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.d.ts +0 -0
  929. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.d.ts +0 -0
  930. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.d.ts +0 -0
  931. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/interfaces.d.ts +0 -0
  932. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.d.ts +0 -0
  933. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.d.ts +0 -0
  934. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.js +0 -0
  935. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.d.ts +0 -0
  936. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.d.ts +0 -0
  937. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.d.ts +0 -0
  938. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.d.ts +0 -0
  939. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/HeightResizer.d.ts +0 -0
  940. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/WidthResizer.d.ts +0 -0
  941. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/types.d.ts +0 -0
  942. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +0 -0
  943. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +0 -0
  944. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.js +0 -0
  945. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +0 -0
  946. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.js +0 -0
  947. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.d.ts +0 -0
  948. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.d.ts +0 -0
  949. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.d.ts +0 -0
  950. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.d.ts +0 -0
  951. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +0 -0
  952. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +0 -0
  953. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.d.ts +0 -0
  954. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.d.ts +0 -0
  955. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.d.ts +0 -0
  956. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZone.d.ts +0 -0
  957. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.d.ts +0 -0
  958. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.d.ts +0 -0
  959. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.d.ts +0 -0
  960. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.d.ts +0 -0
  961. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.d.ts +0 -0
  962. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +0 -0
  963. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +0 -0
  964. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +0 -0
  965. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +0 -0
  966. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
  967. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +0 -0
  968. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
@@ -1,2 +1,2 @@
1
- export declare const LIB_VERSION = "10.16.0-alpha.11";
1
+ export declare const LIB_VERSION = "10.16.0-alpha.12";
2
2
  //# sourceMappingURL=__version.d.ts.map
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.16.0-alpha.11";
3
+ export const LIB_VERSION = "10.16.0-alpha.12";
4
4
  //# sourceMappingURL=__version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardLayout.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,QAAQ,EAGR,wBAAwB,EAIxB,gBAAgB,EAChB,gBAAgB,EAGhB,SAAS,EACZ,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAiFrD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,gBAAgB,EACxD,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC3B,QAAQ,EAAE,QAAQ,EAAE,EACpB,QAAQ,EAAE,SAAS,GACpB,gBAAgB,CAAC,CAAC,CAAC,CAmBrB;AAED;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,OAAO,EAAE,wBAAwB,CAAC;CACrC,CAAC;AAkEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,gBAAgB,EACvE,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC7B,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAC7B,SAAS,CAAC,eAAe,CAAC,CAI5B;AAED,MAAM,MAAM,gCAAgC,GAAG,CAAC,QAAQ,EAAE,wBAAwB,KAAK,OAAO,CAAC;AAE/F;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,SAAS,gBAAgB,EACpE,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC3B,iBAAiB,EAAE,gCAAgC,GACpD,gBAAgB,CAqClB"}
1
+ {"version":3,"file":"dashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardLayout.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,QAAQ,EAGR,wBAAwB,EAIxB,gBAAgB,EAChB,gBAAgB,EAGhB,SAAS,EACZ,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAiFrD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,gBAAgB,EACxD,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC3B,QAAQ,EAAE,QAAQ,EAAE,EACpB,QAAQ,EAAE,SAAS,GACpB,gBAAgB,CAAC,CAAC,CAAC,CAmBrB;AAED;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,EAAE,wBAAwB,CAAC;IACnC,OAAO,EAAE,wBAAwB,CAAC;CACrC,CAAC;AAkEF;;;;;;;;;;;;GAYG;AACH,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,gBAAgB,EACvE,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC7B,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAC7B,SAAS,CAAC,eAAe,CAAC,CAI5B;AAED,MAAM,MAAM,gCAAgC,GAAG,CAAC,QAAQ,EAAE,wBAAwB,KAAK,OAAO,CAAC;AAE/F;;;;;;;;;GASG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,SAAS,gBAAgB,EACpE,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC3B,iBAAiB,EAAE,gCAAgC,GACpD,gBAAgB,CAoDlB"}
@@ -1,4 +1,4 @@
1
- // (C) 2021-2022 GoodData Corporation
1
+ // (C) 2021-2024 GoodData Corporation
2
2
  import { insightRef, serializeObjRef, isKpiWidget, isInsightWidget, isDashboardLayout, } from "@gooddata/sdk-model";
3
3
  import compact from "lodash/compact.js";
4
4
  import keyBy from "lodash/keyBy.js";
@@ -162,9 +162,22 @@ export function dashboardLayoutRemoveIdentity(layout, identityPredicate) {
162
162
  const updatedSections = layout.sections.map((section) => {
163
163
  const updatedItems = section.items.map((item) => {
164
164
  if (isDashboardLayout(item.widget)) {
165
+ const identity = getWidgetIdentity(item.widget);
166
+ if (!identity || !identityPredicate(identity)) {
167
+ return {
168
+ ...item,
169
+ widget: dashboardLayoutRemoveIdentity(item.widget, identityPredicate),
170
+ };
171
+ }
165
172
  return {
166
173
  ...item,
167
- widget: dashboardLayoutRemoveIdentity(layout, identityPredicate),
174
+ widget: {
175
+ ...item.widget,
176
+ ...dashboardLayoutRemoveIdentity(item.widget, identityPredicate),
177
+ ref: undefined,
178
+ uri: undefined,
179
+ identifier: undefined,
180
+ },
168
181
  };
169
182
  }
170
183
  else {
@@ -1 +1 @@
1
- {"version":3,"file":"dashboardLayout.js","sourceRoot":"","sources":["../../../src/_staging/dashboard/dashboardLayout.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAEH,UAAU,EACV,eAAe,EAGf,WAAW,EACX,eAAe,EAIf,iBAAiB,GAEpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,EAAE,iCAAiC,EAAE,MAAM,0EAA0E,CAAC;AAC7H,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAGrD,SAAS,wBAAwB,CAC7B,MAAwB,EACxB,YAAsC;IAEtC,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;QAC1B,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QAElC,OAAO;YACH,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,YAAY,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC;SACrD,CAAC;IACN,CAAC;SAAM,IAAI,WAAW,CAAC,MAAM,CAAC,EAAE,CAAC;QAC7B,OAAO;YACH,IAAI,EAAE,KAAK;YACX,OAAO,EAAE,MAAM,CAAC,GAAG;SACtB,CAAC;IACN,CAAC;IAED,MAAM,IAAI,cAAc,CAAC,sDAAsD,MAAM,CAAC,IAAI,EAAE,CAAC,CA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BAED,OAAO;oBACH,GAAG,IAAI;oBACP,MAAM,EAAE;wBACJ,GAAG,IAAI,CAAC,MAAM;wBACd,GAAG,6BAA6B,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC;wBAChE,GAAG,EAAE,SAAS;wBACd,GAAG,EAAE,SAAS;wBACd,UAAU,EAAE,SAAS;qBACxB;iBACJ,CAAC;YACN,CAAC;iBAAM,CAAC;gBACJ,MAAM,QAAQ,GAAG,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBAEhD,IAAI,CAAC,QAAQ,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,EAAE,CAAC;oBAC5C,OAAO,IAAI,CAAC;gBAChB,CAAC;gBAED,OAAO;oBACH,GAAG,IAAI;oBACP,MAAM,EAAE;wBACJ,GAAG,IAAI,CAAC,MAAM;wBACd,GAAG,EAAE,SAAS;wBACd,GAAG,EAAE,SAAS;wBACd,UAAU,EAAE,SAAS;qBACxB;iBACG,CAAC;YACb,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,OAAO;YACH,GAAG,OAAO;YACV,KAAK,EAAE,YAAY;SACtB,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,OAAO;QACH,GAAG,MAAM;QACT,QAAQ,EAAE,eAAe;KAC5B,CAAC;AACN,CAAC"}
@@ -0,0 +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,2BAA2B,EAC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H,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"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
1
+ import { DashboardLayoutItemModifications, IDashboardLayoutItemBuilder, IDashboardLayoutSectionBuilder } from "./interfaces.js";
2
+ import { IDashboardLayoutItemFacade } from "../facade/interfaces.js";
3
+ import { InsightWidgetBuilder, KpiWidgetBuilder, ValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
4
+ import { ObjRef, IDashboardLayoutSection, IDashboardLayoutSizeByScreenSize, IDashboardLayoutItem } from "@gooddata/sdk-model";
5
+ /**
6
+ * TODO LX-603: rewrite to support nested layouts
7
+ * @alpha
8
+ */
9
+ export declare class DashboardLayoutItemBuilder<TWidget> implements IDashboardLayoutItemBuilder<TWidget> {
10
+ protected setSection: (valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayoutSection<TWidget>>) => void;
11
+ protected getItemFacade: () => IDashboardLayoutItemFacade<TWidget>;
12
+ protected itemIndex: number;
13
+ protected constructor(setSection: (valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayoutSection<TWidget>>) => void, getItemFacade: () => IDashboardLayoutItemFacade<TWidget>, itemIndex: number);
14
+ /**
15
+ * Creates an instance of DashboardLayoutItemBuilder for particular layout item.
16
+ *
17
+ * @param sectionBuilder - section builder
18
+ * @param itemIndex - item to modify
19
+ */
20
+ static for<TWidget>(sectionBuilder: IDashboardLayoutSectionBuilder<TWidget>, itemIndex: number): IDashboardLayoutItemBuilder<TWidget>;
21
+ size(valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayoutSizeByScreenSize>): this;
22
+ widget(valueOrUpdateCallback: ValueOrUpdateCallback<TWidget | undefined>): this;
23
+ setItem(valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayoutItem<TWidget>>): this;
24
+ modify(modifications: DashboardLayoutItemModifications<TWidget>): this;
25
+ build(): IDashboardLayoutItem<TWidget>;
26
+ facade(): IDashboardLayoutItemFacade<TWidget>;
27
+ newInsightWidget(insight: ObjRef, create?: (builder: InsightWidgetBuilder) => InsightWidgetBuilder): this;
28
+ modifyInsightWidget(modify: (builder: InsightWidgetBuilder) => InsightWidgetBuilder): this;
29
+ newKpiWidget(measure: ObjRef, create?: (builder: KpiWidgetBuilder) => KpiWidgetBuilder): this;
30
+ modifyKpiWidget(modify: (builder: KpiWidgetBuilder) => KpiWidgetBuilder): this;
31
+ }
32
+ //# sourceMappingURL=item.d.ts.map
@@ -0,0 +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;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ts-invariant";
3
+ import { InsightWidgetBuilder, KpiWidgetBuilder, resolveValueOrUpdateCallback, } from "@gooddata/sdk-backend-base";
4
+ import { isKpiWidgetDefinition, isKpiWidget, isInsightWidgetDefinition, isInsightWidget, isDashboardLayoutItem, } from "@gooddata/sdk-model";
5
+ import identity from "lodash/identity.js";
6
+ /**
7
+ * TODO LX-603: rewrite to support nested layouts
8
+ * @alpha
9
+ */
10
+ export class DashboardLayoutItemBuilder {
11
+ setSection;
12
+ getItemFacade;
13
+ itemIndex;
14
+ constructor(setSection, getItemFacade, itemIndex) {
15
+ this.setSection = setSection;
16
+ this.getItemFacade = getItemFacade;
17
+ this.itemIndex = itemIndex;
18
+ }
19
+ /**
20
+ * Creates an instance of DashboardLayoutItemBuilder for particular layout item.
21
+ *
22
+ * @param sectionBuilder - section builder
23
+ * @param itemIndex - item to modify
24
+ */
25
+ static for(sectionBuilder, itemIndex) {
26
+ invariant(isDashboardLayoutItem(sectionBuilder.facade().item(itemIndex)?.raw()), `Provided data must be IDashboardLayoutItem! ${itemIndex} ${sectionBuilder
27
+ .facade()
28
+ .item(itemIndex)}`);
29
+ return new DashboardLayoutItemBuilder((section) => sectionBuilder.setSection(section), () => sectionBuilder.facade().item(itemIndex), itemIndex);
30
+ }
31
+ size(valueOrUpdateCallback) {
32
+ this.setItem((item) => ({
33
+ ...item,
34
+ size: resolveValueOrUpdateCallback(valueOrUpdateCallback, item.size),
35
+ }));
36
+ return this;
37
+ }
38
+ widget(valueOrUpdateCallback) {
39
+ this.setItem((item) => ({
40
+ ...item,
41
+ widget: resolveValueOrUpdateCallback(valueOrUpdateCallback, item.widget),
42
+ }));
43
+ return this;
44
+ }
45
+ setItem(valueOrUpdateCallback) {
46
+ this.setSection((section) => {
47
+ const updatedItems = [...section.items];
48
+ updatedItems[this.itemIndex] = resolveValueOrUpdateCallback(valueOrUpdateCallback, this.build());
49
+ return {
50
+ ...section,
51
+ items: updatedItems,
52
+ };
53
+ });
54
+ return this;
55
+ }
56
+ modify(modifications) {
57
+ modifications(this, this.facade());
58
+ return this;
59
+ }
60
+ build() {
61
+ return this.facade().raw();
62
+ }
63
+ facade() {
64
+ return this.getItemFacade();
65
+ }
66
+ newInsightWidget(insight, create = identity) {
67
+ this.widget(create(InsightWidgetBuilder.forNew(insight)).build());
68
+ return this;
69
+ }
70
+ modifyInsightWidget(modify) {
71
+ const content = this.facade().widget();
72
+ invariant(isInsightWidgetDefinition(content) || isInsightWidget(content), "Content of the item is not a kpi widget.");
73
+ this.widget(modify(InsightWidgetBuilder.for(content)).build());
74
+ return this;
75
+ }
76
+ newKpiWidget(measure, create = identity) {
77
+ this.widget(create(KpiWidgetBuilder.forNew(measure)).build());
78
+ return this;
79
+ }
80
+ modifyKpiWidget(modify) {
81
+ const content = this.facade().widget();
82
+ invariant(isKpiWidgetDefinition(content) || isKpiWidget(content), "Content of the item is not a kpi widget.");
83
+ this.widget(modify(KpiWidgetBuilder.for(content)).build());
84
+ return this;
85
+ }
86
+ }
87
+ //# sourceMappingURL=item.js.map
@@ -0,0 +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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E,CAAC,MAAM,EAAE,CAAC;QACvC,SAAS,CACL,qBAAqB,CAAC,OAAO,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,EACtD,0CAA0C,CAC7C,CAAC;QACF,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,EAAwB,CAAC,CAAC;QACjF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
@@ -0,0 +1,40 @@
1
+ import { IDashboardLayout, IDashboardLayoutSection, IDashboardLayoutSize } from "@gooddata/sdk-model";
2
+ import { DashboardLayoutModifications, DashboardLayoutSectionModifications, DashboardLayoutSectionsSelector, IDashboardLayoutBuilder } from "./interfaces.js";
3
+ import { IDashboardLayoutFacade } from "../facade/interfaces.js";
4
+ import { ValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
5
+ import { ILayoutItemPath } from "../../../../types.js";
6
+ /**
7
+ * TODO LX-603: rewrite to support nested layouts
8
+ * @alpha
9
+ */
10
+ export declare class DashboardLayoutBuilder<TWidget> implements IDashboardLayoutBuilder<TWidget> {
11
+ protected layoutFacade: IDashboardLayoutFacade<TWidget>;
12
+ protected layoutFacadeConstructor: (layout: IDashboardLayout<TWidget>, layoutPath: ILayoutItemPath | undefined) => IDashboardLayoutFacade<TWidget>;
13
+ protected constructor(layoutFacade: IDashboardLayoutFacade<TWidget>, layoutFacadeConstructor: (layout: IDashboardLayout<TWidget>, layoutPath: ILayoutItemPath | undefined) => IDashboardLayoutFacade<TWidget>);
14
+ /**
15
+ * Creates an instance of DashboardLayoutBuilder for particular layout.
16
+ *
17
+ * @param layout - layout to modify
18
+ */
19
+ static for<TWidget>(layout: IDashboardLayout<TWidget>, layoutPath?: ILayoutItemPath): IDashboardLayoutBuilder<TWidget>;
20
+ /**
21
+ * Creates an instance of DashboardLayoutBuilder with empty layout.
22
+ *
23
+ * @param layoutPath - layout path in case of nested layout
24
+ */
25
+ static forNewLayout<TWidget>(layoutPath: ILayoutItemPath | undefined): IDashboardLayoutBuilder<TWidget>;
26
+ 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;
32
+ removeSections(selector?: DashboardLayoutSectionsSelector<TWidget>): this;
33
+ removeEmptySections(): this;
34
+ modifySections(modify: DashboardLayoutSectionModifications<TWidget>, selector?: DashboardLayoutSectionsSelector<TWidget>): this;
35
+ setLayout(valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayout<TWidget>>): this;
36
+ facade(): IDashboardLayoutFacade<TWidget>;
37
+ modify(modifications: DashboardLayoutModifications<TWidget>): this;
38
+ build(): IDashboardLayout<TWidget>;
39
+ }
40
+ //# sourceMappingURL=layout.d.ts.map
@@ -0,0 +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,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EAAgC,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEjG,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,qBAAa,sBAAsB,CAAC,OAAO,CAAE,YAAW,uBAAuB,CAAC,OAAO,CAAC;IAEhF,SAAS,CAAC,YAAY,EAAE,sBAAsB,CAAC,OAA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C,CAAC,OAAO,CAAC,EACpD,QAAQ,GAAE,+BAA+B,CAAC,OAAO,CAAgC,GAClF,IAAI;IAcA,SAAS,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,GAAG,IAAI;IAOxF,MAAM,IAAI,sBAAsB,CAAC,OAAO,CAAC;IAIzC,MAAM,CAAC,aAAa,EAAE,4BAA4B,CAAC,OAAO,CAAC,GAAG,IAAI;IAKlE,KAAK,IAAI,gBAAgB,CAAC,OAAO,CAAC;CAG5C"}
@@ -0,0 +1,156 @@
1
+ // (C) 2019-2024 GoodData Corporation
2
+ import { isDashboardLayout, } from "@gooddata/sdk-model";
3
+ import { invariant } from "ts-invariant";
4
+ import difference from "lodash/difference.js";
5
+ import isArray from "lodash/isArray.js";
6
+ import identity from "lodash/identity.js";
7
+ import { DashboardLayoutFacade } from "../facade/layout.js";
8
+ import { DashboardLayoutSectionBuilder } from "./section.js";
9
+ import { resolveValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
10
+ import { getSectionIndex } from "../../../layout/coordinates.js";
11
+ /**
12
+ * TODO LX-603: rewrite to support nested layouts
13
+ * @alpha
14
+ */
15
+ export class DashboardLayoutBuilder {
16
+ layoutFacade;
17
+ layoutFacadeConstructor;
18
+ constructor(layoutFacade, layoutFacadeConstructor) {
19
+ this.layoutFacade = layoutFacade;
20
+ this.layoutFacadeConstructor = layoutFacadeConstructor;
21
+ }
22
+ /**
23
+ * Creates an instance of DashboardLayoutBuilder for particular layout.
24
+ *
25
+ * @param layout - layout to modify
26
+ */
27
+ static for(layout, layoutPath) {
28
+ invariant(isDashboardLayout(layout), "Provided data must be IDashboardLayout.");
29
+ const dashboardLayoutBuilder = new DashboardLayoutBuilder(DashboardLayoutFacade.for(layout, layoutPath), DashboardLayoutFacade.for);
30
+ return dashboardLayoutBuilder;
31
+ }
32
+ /**
33
+ * Creates an instance of DashboardLayoutBuilder with empty layout.
34
+ *
35
+ * @param layoutPath - layout path in case of nested layout
36
+ */
37
+ static forNewLayout(layoutPath) {
38
+ const emptyLayout = {
39
+ type: "IDashboardLayout",
40
+ sections: [],
41
+ };
42
+ return DashboardLayoutBuilder.for(emptyLayout, layoutPath);
43
+ }
44
+ size(valueOrUpdateCallback) {
45
+ return this.setLayout((layout) => ({
46
+ ...layout,
47
+ size: resolveValueOrUpdateCallback(valueOrUpdateCallback, this.facade().size()),
48
+ }));
49
+ }
50
+ createSection(create = identity, index = this.facade().sections().count()) {
51
+ const emptySection = {
52
+ type: "IDashboardLayoutSection",
53
+ items: [],
54
+ };
55
+ this.setLayout((layout) => {
56
+ const updatedRows = [...layout.sections];
57
+ updatedRows.splice(index, 0, emptySection);
58
+ return {
59
+ ...layout,
60
+ sections: updatedRows,
61
+ };
62
+ });
63
+ DashboardLayoutSectionBuilder.for(this, index).modify(create);
64
+ return this;
65
+ }
66
+ addSection(section, index = this.facade().sections().count()) {
67
+ this.setLayout((layout) => {
68
+ const updatedRows = [...layout.sections];
69
+ updatedRows.splice(index, 0, section);
70
+ return {
71
+ ...layout,
72
+ sections: updatedRows,
73
+ };
74
+ });
75
+ return this;
76
+ }
77
+ modifySection(index, modify) {
78
+ const sectionFacade = this.facade().sections().section(index);
79
+ invariant(sectionFacade, `Cannot modify the section - section at index ${index} does not exist.`);
80
+ DashboardLayoutSectionBuilder.for(this, index).modify(modify);
81
+ return this;
82
+ }
83
+ removeSection(index) {
84
+ const sectionFacade = this.facade().sections().section(index);
85
+ invariant(sectionFacade, `Cannot remove the section - section at index ${index} does not exist.`);
86
+ return this.setLayout((layout) => {
87
+ const updatedRows = [...layout.sections];
88
+ updatedRows.splice(index, 1);
89
+ return {
90
+ ...layout,
91
+ sections: updatedRows,
92
+ };
93
+ });
94
+ }
95
+ moveSection(fromIndex, toIndex) {
96
+ const section = this.facade().sections().section(fromIndex)?.raw();
97
+ invariant(section, `Cannot move the section - section at index ${fromIndex} does not exist.`);
98
+ const maxToIndex = Math.min(toIndex, this.facade().sections().count() - 1);
99
+ this.removeSection(fromIndex);
100
+ this.createSection((r) => {
101
+ return r.setSection(section);
102
+ }, maxToIndex);
103
+ return this;
104
+ }
105
+ removeSections(selector = (sections) => sections.all()) {
106
+ const sectionsToRemove = selector(this.facade().sections());
107
+ if (isArray(sectionsToRemove)) {
108
+ this.setLayout((layout) => {
109
+ const updatedRows = difference(layout.sections, sectionsToRemove.map((r) => r.raw()));
110
+ return {
111
+ ...layout,
112
+ sections: updatedRows,
113
+ };
114
+ });
115
+ }
116
+ else if (sectionsToRemove) {
117
+ // TODO LX-603: rewrite to support nested layouts, currently works only in root layout
118
+ this.removeSection(getSectionIndex(sectionsToRemove.index()));
119
+ }
120
+ return this;
121
+ }
122
+ removeEmptySections() {
123
+ return this.removeSections((sections) => sections.filter((section) => section.isEmpty()));
124
+ }
125
+ modifySections(modify, selector = (sections) => sections.all()) {
126
+ const sectionsToModify = selector(this.facade().sections());
127
+ if (isArray(sectionsToModify)) {
128
+ sectionsToModify.forEach((section) => {
129
+ // TODO LX-603: rewrite to support nested layouts, currently works only in root layout
130
+ this.modifySection(getSectionIndex(section.index()), modify);
131
+ });
132
+ }
133
+ else if (sectionsToModify) {
134
+ // TODO LX-603: rewrite to support nested layouts, currently works only in root layout
135
+ this.modifySection(getSectionIndex(sectionsToModify.index()), modify);
136
+ }
137
+ return this;
138
+ }
139
+ setLayout(valueOrUpdateCallback) {
140
+ const updatedLayout = resolveValueOrUpdateCallback(valueOrUpdateCallback, this.build());
141
+ // TODO LX-603: rewrite to support nested layouts, currently works only in root layout
142
+ this.layoutFacade = this.layoutFacadeConstructor(updatedLayout, undefined);
143
+ return this;
144
+ }
145
+ facade() {
146
+ return this.layoutFacade;
147
+ }
148
+ modify(modifications) {
149
+ modifications(this, this.facade());
150
+ return this;
151
+ }
152
+ build() {
153
+ return this.layoutFacade.raw();
154
+ }
155
+ }
156
+ //# sourceMappingURL=layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layout.js","sourceRoot":"","sources":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E;QAEjF,MAAM,gBAAgB,GAAG,QAAQ,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;QAC5D,IAAI,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAC5B,gBAAgB,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;gBACjC,sFAAsF;gBACtF,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC;YACjE,CAAC,CAAC,CAAC;QACP,CAAC;aAAM,IAAI,gBAAgB,EAAE,CAAC;YAC1B,sFAAsF;YACtF,IAAI,CAAC,aAAa,CAAC,eAAe,CAAC,gBAAgB,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,CAAC,CAAC;QAC1E,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,SAAS,CAAC,qBAAuE;QACpF,MAAM,aAAa,GAAG,4BAA4B,CAAC,qBAAqB,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QACxF,sFAAsF;QACtF,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,uBAAuB,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;QAC3E,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM;QACT,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,MAAM,CAAC,aAAoD;QAC9D,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,KAAK;QACR,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,CAAC;IACnC,CAAC;CACJ"}
@@ -0,0 +1,32 @@
1
+ import { IDashboardLayout, IDashboardLayoutSection, IDashboardLayoutSectionHeader, IDashboardLayoutSize, IDashboardLayoutItem } from "@gooddata/sdk-model";
2
+ import { ValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
3
+ import { DashboardLayoutItemModifications, DashboardLayoutItemsSelector, DashboardLayoutSectionModifications, IDashboardLayoutBuilder, IDashboardLayoutItemBuilder, IDashboardLayoutSectionBuilder } from "./interfaces.js";
4
+ import { IDashboardLayoutSectionFacade } from "../facade/interfaces.js";
5
+ /**
6
+ * TODO LX-603: rewrite to support nested layouts
7
+ * @alpha
8
+ */
9
+ export declare class DashboardLayoutSectionBuilder<TContent> implements IDashboardLayoutSectionBuilder<TContent> {
10
+ protected sectionIndex: number;
11
+ protected getSectionFacade: () => IDashboardLayoutSectionFacade<TContent>;
12
+ protected setLayout: (valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayout<TContent>>) => void;
13
+ protected constructor(sectionIndex: number, getSectionFacade: () => IDashboardLayoutSectionFacade<TContent>, setLayout: (valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayout<TContent>>) => void);
14
+ /**
15
+ * Creates an instance of DashboardLayoutSectionBuilder for particular layout item.
16
+ */
17
+ static for<TContent>(layoutBuilder: IDashboardLayoutBuilder<TContent>, sectionIndex: number): IDashboardLayoutSectionBuilder<TContent>;
18
+ header(valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayoutSectionHeader | undefined>): this;
19
+ createItem(xlSize: IDashboardLayoutSize, create?: (builder: IDashboardLayoutItemBuilder<TContent>) => IDashboardLayoutItemBuilder<TContent>, index?: number): this;
20
+ addItem(item: IDashboardLayoutItem<TContent>, index?: number): this;
21
+ modifyItem(index: number, modify: DashboardLayoutItemModifications<TContent>): this;
22
+ removeItem(index: number): this;
23
+ moveItem(fromIndex: number, toIndex: number): this;
24
+ removeItems(selector?: DashboardLayoutItemsSelector<TContent>): this;
25
+ removeEmptyItems: () => this;
26
+ modifyItems(modify: DashboardLayoutItemModifications<TContent>, selector?: DashboardLayoutItemsSelector<TContent>): this;
27
+ setSection(valueOrUpdateCallback: ValueOrUpdateCallback<IDashboardLayoutSection<TContent>>): this;
28
+ facade(): IDashboardLayoutSectionFacade<TContent>;
29
+ modify(modifications: DashboardLayoutSectionModifications<TContent>): this;
30
+ build(): IDashboardLayoutSection<TContent>;
31
+ }
32
+ //# sourceMappingURL=section.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/flexibleLayout/builder/section.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EACvB,6BAA6B,EAC7B,oBAAoB,EACpB,oBAAoB,EAEvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAgC,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACjG,OAAO,EACH,gCAAgC,EAChC,4BAA4B,EAC5B,mCAAmC,EACnC,uBAAuB,EACvB,2BAA2B,EAC3B,8BAA8B,EACjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,6BAA6B,EAAE,MAAM,yBAAyB,CAAC;AAIxE;;;GAGG;AACH,qBAAa,6BAA6B,CAAC,QAAQ,CAAE,YAAW,8BAA8B,CAAC,QAAQ,CAAC;IAEhG,SAAS,CAAC,YAAY,EAAE,MAAM;IAC9B,SAAS,CAAC,gBAAgB,EAAE,MAAM,6BAA6B,CAAC,QAAQ,CAAC;IACzE,SAAS,CAAC,SAAS,EAAE,CACjB,qBAAqB,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,KACvE,IAAI;IALb,SAAS,aACK,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,6BAA6B,CAAC,QAAQ,CAAC,EAC/D,SAAS,EAAE,CACjB,qBAAqB,EAAE,qBAAqB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,KACvE,IAAI;IAGb;;OAEG;WACW,GAAG,CAAC,QAAQ,EACtB,aAAa,EAAE,uBAAuB,CAAC,QAAQ,CAAC,EAChD,YAAY,EAAE,MAAM,GACrB,8BAA8B,CAAC,QAAQ,CAAC;IAapC,MAAM,CACT,qBAAqB,EAAE,qBAAqB,CAAC,6BAA6B,GAAG,SAAS,CAAC,GACxF,IAAI;IAOA,UAAU,CACb,MAAM,EAAE,oBAAoB,EAC5B,MAAM,GAAE,CACJ,OAAO,EAAE,2BAA2B,CAAC,QAAQ,CAAC,KAC7C,2BAA2B,CAAC,QAAQ,CAAY,EACrD,KAAK,GAAE,MAAsC,GAC9C,IAAI;IAmBA,OAAO,CACV,IAAI,EAAE,oBAAoB,CAAC,QAAQ,CAAC,EACpC,KAAK,GAAE,MAAsC,GAC9C,IAAI;IAaA,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,gCAAgC,CAAC,QAAQ,CAAC,GAAG,IAAI;IAQnF,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAc/B,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAWlD,WAAW,CAAC,QAAQ,GAAE,4BAA4B,CAAC,QAAQ,CAA0B,GAAG,IAAI;IAoB5F,gBAAgB,QAAO,IAAI,CAEhC;IAEK,WAAW,CACd,MAAM,EAAE,gCAAgC,CAAC,QAAQ,CAAC,EAClD,QAAQ,GAAE,4BAA4B,CAAC,QAAQ,CAA0B,GAC1E,IAAI;IAcA,UAAU,CAAC,qBAAqB,EAAE,qBAAqB,CAAC,uBAAuB,CAAC,QAAQ,CAAC,CAAC,GAAG,IAAI;IAejG,MAAM,IAAI,6BAA6B,CAAC,QAAQ,CAAC;IAIjD,MAAM,CAAC,aAAa,EAAE,mCAAmC,CAAC,QAAQ,CAAC,GAAG,IAAI;IAK1E,KAAK,IAAI,uBAAuB,CAAC,QAAQ,CAAC;CAGpD"}
@@ -0,0 +1,147 @@
1
+ // (C) 2019-2024 GoodData Corporation
2
+ import { invariant } from "ts-invariant";
3
+ import identity from "lodash/identity.js";
4
+ import isArray from "lodash/isArray.js";
5
+ import difference from "lodash/difference.js";
6
+ import { isDashboardLayoutSection, } from "@gooddata/sdk-model";
7
+ import { resolveValueOrUpdateCallback } from "@gooddata/sdk-backend-base";
8
+ import { DashboardLayoutItemBuilder } from "./item.js";
9
+ import { getItemIndex } from "../../../layout/coordinates.js";
10
+ /**
11
+ * TODO LX-603: rewrite to support nested layouts
12
+ * @alpha
13
+ */
14
+ export class DashboardLayoutSectionBuilder {
15
+ sectionIndex;
16
+ getSectionFacade;
17
+ setLayout;
18
+ constructor(sectionIndex, getSectionFacade, setLayout) {
19
+ this.sectionIndex = sectionIndex;
20
+ this.getSectionFacade = getSectionFacade;
21
+ this.setLayout = setLayout;
22
+ }
23
+ /**
24
+ * Creates an instance of DashboardLayoutSectionBuilder for particular layout item.
25
+ */
26
+ static for(layoutBuilder, sectionIndex) {
27
+ invariant(isDashboardLayoutSection(layoutBuilder.facade().sections().section(sectionIndex)?.raw()), `Provided data must be IDashboardLayoutSection.`);
28
+ return new DashboardLayoutSectionBuilder(sectionIndex, () => layoutBuilder.facade().section(sectionIndex), (layout) => layoutBuilder.setLayout(layout));
29
+ }
30
+ header(valueOrUpdateCallback) {
31
+ return this.setSection((section) => ({
32
+ ...section,
33
+ header: resolveValueOrUpdateCallback(valueOrUpdateCallback, section.header),
34
+ }));
35
+ }
36
+ createItem(xlSize, create = identity, index = this.facade().items().count()) {
37
+ const emptyItem = {
38
+ type: "IDashboardLayoutItem",
39
+ size: {
40
+ xl: xlSize,
41
+ },
42
+ };
43
+ this.setSection((section) => {
44
+ const updatedItems = [...section.items];
45
+ updatedItems.splice(index, 0, emptyItem);
46
+ return {
47
+ ...section,
48
+ items: updatedItems,
49
+ };
50
+ });
51
+ DashboardLayoutItemBuilder.for(this, index).modify(create);
52
+ return this;
53
+ }
54
+ addItem(item, index = this.facade().items().count()) {
55
+ this.setSection((section) => {
56
+ const updatedItems = [...section.items];
57
+ updatedItems.splice(index, 0, item);
58
+ return {
59
+ ...section,
60
+ items: updatedItems,
61
+ };
62
+ });
63
+ return this;
64
+ }
65
+ modifyItem(index, modify) {
66
+ const itemFacade = this.facade().items().item(index);
67
+ invariant(itemFacade, `Cannot modify the item - item at index ${index} does not exist.`);
68
+ DashboardLayoutItemBuilder.for(this, index).modify(modify);
69
+ return this;
70
+ }
71
+ removeItem(index) {
72
+ const itemFacade = this.facade().items().item(index);
73
+ invariant(itemFacade, `Cannot remove the item - item at index ${index} does not exist.`);
74
+ return this.setSection((section) => {
75
+ const updatedItems = [...section.items];
76
+ updatedItems.splice(index, 1);
77
+ return {
78
+ ...section,
79
+ items: updatedItems,
80
+ };
81
+ });
82
+ }
83
+ moveItem(fromIndex, toIndex) {
84
+ const itemFacade = this.facade().item(fromIndex);
85
+ invariant(itemFacade, `Cannot move the item - item at index ${fromIndex} does not exist.`);
86
+ const maxToIndex = Math.min(toIndex, this.facade().items().count() - 1);
87
+ this.removeItem(fromIndex);
88
+ this.createItem(itemFacade.sizeForScreen("xl"), (c) => c.setItem(itemFacade.raw()), maxToIndex);
89
+ return this;
90
+ }
91
+ removeItems(selector = (items) => items.all()) {
92
+ const itemsToRemove = selector(this.facade().items());
93
+ if (isArray(itemsToRemove)) {
94
+ this.setSection((section) => {
95
+ const updatedItems = difference(section.items, itemsToRemove.map((r) => r.raw()));
96
+ return {
97
+ ...section,
98
+ items: updatedItems,
99
+ };
100
+ });
101
+ }
102
+ else if (itemsToRemove) {
103
+ // TODO LX-603: rewrite to support nested layouts, currently works only in root layout
104
+ this.removeItem(getItemIndex(itemsToRemove.index()));
105
+ }
106
+ return this;
107
+ }
108
+ removeEmptyItems = () => {
109
+ return this.removeItems((items) => items.filter((item) => item.isEmpty()));
110
+ };
111
+ modifyItems(modify, selector = (items) => items.all()) {
112
+ const itemsToModify = selector(this.facade().items());
113
+ if (isArray(itemsToModify)) {
114
+ itemsToModify.forEach((item) => {
115
+ // TODO LX-603: rewrite to support nested layouts, currently works only in root layout
116
+ this.modifyItem(getItemIndex(item.index()), modify);
117
+ });
118
+ }
119
+ else if (itemsToModify) {
120
+ // TODO LX-603: rewrite to support nested layouts, currently works only in root layout
121
+ this.modifyItem(getItemIndex(itemsToModify.index()), modify);
122
+ }
123
+ return this;
124
+ }
125
+ setSection(valueOrUpdateCallback) {
126
+ this.setLayout((layout) => {
127
+ const updatedRows = [...layout.sections];
128
+ updatedRows[this.sectionIndex] = resolveValueOrUpdateCallback(valueOrUpdateCallback, this.build());
129
+ return {
130
+ ...layout,
131
+ sections: updatedRows,
132
+ };
133
+ });
134
+ return this;
135
+ }
136
+ facade() {
137
+ return this.getSectionFacade();
138
+ }
139
+ modify(modifications) {
140
+ modifications(this, this.facade());
141
+ return this;
142
+ }
143
+ build() {
144
+ return this.facade().raw();
145
+ }
146
+ }
147
+ //# sourceMappingURL=section.js.map