@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
@@ -0,0 +1,95 @@
1
+ // (C) 2022-2024 GoodData Corporation
2
+ import cx from "classnames";
3
+ import React, { useCallback, useEffect, useRef, useMemo } from "react";
4
+ import { getDropZoneDebugStyle } from "../../../dragAndDrop/debug.js";
5
+ import { isDashboardLayoutDraggableItem, isInsightDraggableItem, isKpiDraggableItem, isRichTextDraggableItem, isVisualizationSwitcherDraggableItem, } from "../../../dragAndDrop/types.js";
6
+ import { useDashboardDrop } from "../../../dragAndDrop/index.js";
7
+ import { useInsightListItemDropHandler } from "./useInsightListItemDropHandler.js";
8
+ import { useInsightPlaceholderDropHandler } from "./useInsightPlaceholderDropHandler.js";
9
+ import { useKpiPlaceholderDropHandler } from "./useKpiPlaceholderDropHandler.js";
10
+ import { useMoveWidgetDropHandler } from "./useMoveWidgetHandler.js";
11
+ import { useRichTextPlaceholderDropHandler } from "./useRichTextPlaceholderDropHandler.js";
12
+ import { useVisualizationSwitcherPlaceholderDropHandler } from "./useVisualizationSwitcherPlaceholderDropHandler.js";
13
+ import { useDashboardLayoutPlaceholderDropHandler } from "./useDashboardLayoutPlaceholderDropHandler.js";
14
+ import { areLayoutPathsEqual, updateItem, getItemIndex } from "../../../../_staging/layout/coordinates.js";
15
+ import { draggableWidgetDropHandler } from "../../../dragAndDrop/draggableWidget/draggableWidgetDropHandler.js";
16
+ import { useWidgetDragHoverHandlers } from "./useWidgetDragHoverHandlers.js";
17
+ export const Hotspot = (props) => {
18
+ const { layoutPath, classNames, dropZoneType, isEndingHotspot } = props;
19
+ const isOverLastValue = useRef(false);
20
+ const currentItemIndex = getItemIndex(layoutPath);
21
+ // for "next" we need to add the item after the current index, for "prev" on the current one
22
+ const targetItemIndex = dropZoneType === "next" ? currentItemIndex + 1 : currentItemIndex;
23
+ const targetSectionIndex = layoutPath[layoutPath.length - 1].sectionIndex;
24
+ const desiredDestination = useMemo(() => updateItem(layoutPath, targetSectionIndex, targetItemIndex), [layoutPath, targetItemIndex, targetSectionIndex]);
25
+ const handleInsightListItemDrop = useInsightListItemDropHandler(desiredDestination);
26
+ const handleInsightPlaceholderDrop = useInsightPlaceholderDropHandler(desiredDestination);
27
+ const handleKpiPlaceholderDrop = useKpiPlaceholderDropHandler(desiredDestination);
28
+ const handleRichTextPlaceholderDrop = useRichTextPlaceholderDropHandler(desiredDestination);
29
+ const handleVisualizationSwitcherPlaceholderDrop = useVisualizationSwitcherPlaceholderDropHandler(desiredDestination);
30
+ const handleDashboardLayoutPlaceholderDrop = useDashboardLayoutPlaceholderDropHandler(desiredDestination);
31
+ const handleWidgetDrop = useMoveWidgetDropHandler(desiredDestination);
32
+ const { handleDragHoverStart } = useWidgetDragHoverHandlers();
33
+ const [{ canDrop, isOver, item }, dropRef] = useDashboardDrop([
34
+ "insightListItem",
35
+ "kpi-placeholder",
36
+ "insight-placeholder",
37
+ "kpi",
38
+ "insight",
39
+ "richText",
40
+ "richTextListItem",
41
+ "visualizationSwitcher",
42
+ "visualizationSwitcherListItem",
43
+ "dashboardLayout",
44
+ "dashboardLayoutListItem",
45
+ ], {
46
+ drop: (item) => {
47
+ draggableWidgetDropHandler(item, {
48
+ handleInsightListItemDrop,
49
+ handleKpiPlaceholderDrop,
50
+ handleInsightPlaceholderDrop,
51
+ handleRichTextPlaceholderDrop,
52
+ handleVisualizationSwitcherPlaceholderDrop,
53
+ handleDashboardLayoutPlaceholderDrop,
54
+ handleWidgetDrop,
55
+ });
56
+ },
57
+ }, [
58
+ targetItemIndex,
59
+ targetSectionIndex,
60
+ handleInsightListItemDrop,
61
+ handleInsightPlaceholderDrop,
62
+ handleKpiPlaceholderDrop,
63
+ handleWidgetDrop,
64
+ handleVisualizationSwitcherPlaceholderDrop,
65
+ handleRichTextPlaceholderDrop,
66
+ handleDashboardLayoutPlaceholderDrop,
67
+ ]);
68
+ useEffect(() => {
69
+ if (isOver) {
70
+ handleDragHoverStart(desiredDestination);
71
+ isOverLastValue.current = isOver;
72
+ }
73
+ }, [isOver, desiredDestination, handleDragHoverStart]);
74
+ const debugStyle = getDropZoneDebugStyle({ isOver });
75
+ const canDropSafe = useCallback((item) => {
76
+ if (!item) {
77
+ return false;
78
+ }
79
+ if (isInsightDraggableItem(item) ||
80
+ isKpiDraggableItem(item) ||
81
+ isRichTextDraggableItem(item) ||
82
+ isVisualizationSwitcherDraggableItem(item) ||
83
+ isDashboardLayoutDraggableItem(item)) {
84
+ return isEndingHotspot || !areLayoutPathsEqual(item.layoutPath, layoutPath);
85
+ }
86
+ return true;
87
+ }, [isEndingHotspot, layoutPath]);
88
+ return (React.createElement("div", { className: cx(classNames, "dropzone", dropZoneType, {
89
+ hidden: !canDrop || !canDropSafe(item),
90
+ full: isEndingHotspot,
91
+ active: isOver,
92
+ }), style: debugStyle, ref: dropRef },
93
+ React.createElement("div", { className: "gd-hotspot-border" })));
94
+ };
95
+ //# sourceMappingURL=Hotspot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Hotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,8 @@
1
+ import { IDashboardWidget } from "@gooddata/sdk-model";
2
+ import React from "react";
3
+ import { IDashboardLayoutItemFacade } from "../../../../_staging/dashboard/flexibleLayout/index.js";
4
+ export type RowEndHotspotProps<TWidget = IDashboardWidget> = {
5
+ item: IDashboardLayoutItemFacade<TWidget>;
6
+ };
7
+ export declare const RowEndHotspot: (props: RowEndHotspotProps<unknown>) => React.JSX.Element | null;
8
+ //# sourceMappingURL=RowEndHotspot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowEndHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AAKpG,MAAM,MAAM,kBAAkB,CAAC,OAAO,GAAG,gBAAgB,IAAI;IACzD,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,mBAAmB,OAAO,CAAC,6BAqC/D,CAAC"}
@@ -0,0 +1,20 @@
1
+ import cx from "classnames";
2
+ import React from "react";
3
+ import { selectIsInEditMode, useDashboardSelector } from "../../../../model/index.js";
4
+ import { Hotspot } from "./Hotspot.js";
5
+ import { updateItem } from "../../../../_staging/layout/coordinates.js";
6
+ export const RowEndHotspot = (props) => {
7
+ const { item } = props;
8
+ const isInEditMode = useDashboardSelector(selectIsInEditMode);
9
+ const layoutPath = item.index();
10
+ const isLastInSection = item.isLast();
11
+ const showEndingHotspot = isLastInSection && isInEditMode;
12
+ if (!showEndingHotspot) {
13
+ return null;
14
+ }
15
+ const layoutPathForEndHotspot = updateItem(layoutPath, layoutPath[layoutPath.length - 1].sectionIndex, layoutPath[layoutPath.length - 1].itemIndex + 1); // increment item index manually as end hotspot is rendered as prev type
16
+ return (React.createElement(React.Fragment, null,
17
+ React.createElement("div", { className: cx("gd-fluidlayout-column", "gd-fluidlayout-column-row-end-hotspot", "s-fluid-layout-column") },
18
+ React.createElement(Hotspot, { dropZoneType: "prev", isEndingHotspot: true, layoutPath: layoutPathForEndHotspot, isLastInSection: item.isLast() }))));
19
+ };
20
+ //# sourceMappingURL=RowEndHotspot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RowEndHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGtF,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,4CAA4C,CAAC;AAMxE,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,KAAkC,EAAE,EAAE;IAChE,MAAM,EAAE,IAAI,EAAE,GAAG,KAAK,CAAC;IAEvB,MAAM,YAAY,GAAG,oBAAoB,CAAC,kBAAkB,CAAC,CAAC;IAC9D,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;IAEhC,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;IACtC,MAAM,iBAAiB,GAAG,eAAe,IAAI,YAAY,CAAC;IAE1D,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,uBAAuB,GAAG,UAAU,CACtC,UAAU,EACV,UAAU,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,YAAY,EAC9C,UAAU,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,SAAS,GAAG,CAAC,CAClD,CAAC,CAAC,wEAAwE;IAE3E,OAAO,CACH;QACI,6BACI,SAAS,EAAE,EAAE,CACT,uBAAuB,EACvB,uCAAuC,EACvC,uBAAuB,CAC1B;YAED,oBAAC,OAAO,IACJ,YAAY,EAAC,MAAM,EACnB,eAAe,QACf,UAAU,EAAE,uBAAuB,EACnC,eAAe,EAAE,IAAI,CAAC,MAAM,EAAE,GAChC,CACA,CACP,CACN,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
3
+ export interface ISectionDropZoneBoxProps {
4
+ isOver: boolean;
5
+ itemSize?: IDashboardLayoutSizeByScreenSize;
6
+ }
7
+ export declare const SectionDropZoneBox: React.FC<ISectionDropZoneBoxProps>;
8
+ //# sourceMappingURL=SectionDropZoneBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionDropZoneBox.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAIvE,MAAM,WAAW,wBAAwB;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,gCAAgC,CAAC;CAC/C;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA+BjE,CAAC"}
@@ -0,0 +1,20 @@
1
+ // (C) 2019-2024 GoodData Corporation
2
+ import React from "react";
3
+ import cx from "classnames";
4
+ import { FormattedMessage } from "react-intl";
5
+ import { Typography } from "@gooddata/sdk-ui-kit";
6
+ import { DashboardLayoutSectionBorder } from "./DashboardLayoutSectionBorder/index.js";
7
+ export const SectionDropZoneBox = ({ isOver, itemSize }) => {
8
+ return (React.createElement("div", { className: "new-row-dropzone" },
9
+ React.createElement(DashboardLayoutSectionBorder, { status: isOver ? "active" : "muted", itemSize: itemSize },
10
+ React.createElement("div", { className: cx("drag-info-placeholder", "widget-dropzone-box", "s-last-drop-position", "type-kpi") },
11
+ React.createElement("div", { className: cx("drag-info-placeholder-inner", "can-drop", { "is-over": isOver }) },
12
+ React.createElement("div", { className: "drag-info-placeholder-drop-target" },
13
+ React.createElement("div", { className: "drop-target-inner" },
14
+ React.createElement(Typography, { tagName: "p", className: "drop-target-message kpi-drop-target" },
15
+ React.createElement(FormattedMessage, { id: "dropzone.new.row.desc", values: {
16
+ b: (chunks) => React.createElement("b", null, chunks),
17
+ nbsp: React.createElement(React.Fragment, null, "\u00A0"),
18
+ } })))))))));
19
+ };
20
+ //# sourceMappingURL=SectionDropZoneBox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionDropZoneBox.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAGlD,OAAO,EAAE,4BAA4B,EAAE,MAAM,yCAAyC,CAAC;AAOvF,MAAM,CAAC,MAAM,kBAAkB,GAAuC,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3F,OAAO,CACH,6BAAK,SAAS,EAAC,kBAAkB;QAC7B,oBAAC,4BAA4B,IAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ;YACjF,6BACI,SAAS,EAAE,EAAE,CACT,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,UAAU,CACb;gBAED,6BAAK,SAAS,EAAE,EAAE,CAAC,6BAA6B,EAAE,UAAU,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;oBAChF,6BAAK,SAAS,EAAC,mCAAmC;wBAC9C,6BAAK,SAAS,EAAC,mBAAmB;4BAC9B,oBAAC,UAAU,IAAC,OAAO,EAAC,GAAG,EAAC,SAAS,EAAC,qCAAqC;gCACnE,oBAAC,gBAAgB,IACb,EAAE,EAAC,uBAAuB,EAC1B,MAAM,EAAE;wCACJ,CAAC,EAAE,CAAC,MAAiB,EAAE,EAAE,CAAC,+BAAI,MAAM,CAAK;wCACzC,IAAI,EAAE,mDAAW;qCACpB,GACH,CACO,CACX,CACJ,CACJ,CACJ,CACqB,CAC7B,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
3
+ import { ILayoutSectionPath } from "../../../../types.js";
4
+ export type RowPosition = "above" | "below";
5
+ interface ISectionHotspotProps {
6
+ index: ILayoutSectionPath;
7
+ targetPosition?: RowPosition;
8
+ itemSize?: IDashboardLayoutSizeByScreenSize;
9
+ }
10
+ export declare const SectionHotspot: React.FC<ISectionHotspotProps>;
11
+ export {};
12
+ //# sourceMappingURL=SectionHotspot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAavE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO1D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,CAAC;AAE5C,UAAU,oBAAoB;IAC1B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,cAAc,CAAC,EAAE,WAAW,CAAC;IAC7B,QAAQ,CAAC,EAAE,gCAAgC,CAAC;CAC/C;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAyFzD,CAAC"}
@@ -0,0 +1,89 @@
1
+ // (C) 2022-2024 GoodData Corporation
2
+ import cx from "classnames";
3
+ import React, { useEffect } from "react";
4
+ import { useDashboardDispatch } from "../../../../model/index.js";
5
+ import { isBaseDraggableMovingItem } from "../../../dragAndDrop/types.js";
6
+ import { getDropZoneDebugStyle } from "../../../dragAndDrop/debug.js";
7
+ import { useDashboardDrop } from "../../../dragAndDrop/index.js";
8
+ import { useMoveWidgetToNewSectionDropHandler } from "./useMoveWidgetToNewSectionDropHandler.js";
9
+ import { useNewSectionInsightListItemDropHandler } from "./useNewSectionInsightListItemDropHandler.js";
10
+ import { useNewSectionInsightPlaceholderDropHandler } from "./useNewSectionInsightPlaceholderDropHandler.js";
11
+ import { useNewSectionKpiPlaceholderDropHandler } from "./useNewSectionKpiPlaceholderDropHandler.js";
12
+ import { useNewSectionRichTextPlaceholderDropHandler } from "./useNewSectionRichTextPlaceholderDropHandler.js";
13
+ import { useNewSectionVisualizationSwitcherPlaceholderDropHandler } from "./useNewSectionVisualizationSwitcherPlaceholderDropHandler.js";
14
+ import { useNewSectionDashboardLayoutPlaceholderDropHandler } from "./useNewSectionDashboardLayoutPlaceholderDropHandler.js";
15
+ import { isItemInSection } from "../../../../_staging/layout/coordinates.js";
16
+ import { draggableWidgetDropHandler } from "../../../dragAndDrop/draggableWidget/draggableWidgetDropHandler.js";
17
+ import { SectionDropZoneBox } from "./SectionDropZoneBox.js";
18
+ import { useWidgetDragHoverHandlers } from "./useWidgetDragHoverHandlers.js";
19
+ export const SectionHotspot = ({ index, targetPosition, itemSize }) => {
20
+ const dispatch = useDashboardDispatch();
21
+ const handleInsightListItemDrop = useNewSectionInsightListItemDropHandler(index);
22
+ const handleKpiPlaceholderDrop = useNewSectionKpiPlaceholderDropHandler(index);
23
+ const handleInsightPlaceholderDrop = useNewSectionInsightPlaceholderDropHandler(index);
24
+ const handleRichTextPlaceholderDrop = useNewSectionRichTextPlaceholderDropHandler(index);
25
+ const handleVisualizationSwitcherPlaceholderDrop = useNewSectionVisualizationSwitcherPlaceholderDropHandler(index);
26
+ const handleDashboardLayoutPlaceholderDrop = useNewSectionDashboardLayoutPlaceholderDropHandler(index);
27
+ const moveWidgetToNewSection = useMoveWidgetToNewSectionDropHandler(index);
28
+ const { handleDragHoverEnd } = useWidgetDragHoverHandlers();
29
+ const [{ canDrop, isOver }, dropRef] = useDashboardDrop([
30
+ "insightListItem",
31
+ "kpi-placeholder",
32
+ "insight-placeholder",
33
+ "kpi",
34
+ "insight",
35
+ "richText",
36
+ "richTextListItem",
37
+ "visualizationSwitcher",
38
+ "visualizationSwitcherListItem",
39
+ "dashboardLayout",
40
+ "dashboardLayoutListItem",
41
+ ], {
42
+ drop: (item) => {
43
+ draggableWidgetDropHandler(item, {
44
+ handleKpiPlaceholderDrop,
45
+ handleInsightListItemDrop,
46
+ handleInsightPlaceholderDrop,
47
+ handleRichTextPlaceholderDrop,
48
+ handleVisualizationSwitcherPlaceholderDrop,
49
+ handleDashboardLayoutPlaceholderDrop,
50
+ handleWidgetDrop: moveWidgetToNewSection,
51
+ });
52
+ },
53
+ canDrop: (item) => {
54
+ if (isBaseDraggableMovingItem(item) && item.layoutPath) {
55
+ const itemCoordinates = item.layoutPath[item.layoutPath.length - 1];
56
+ const isAdjacentSection = isItemInSection(item.layoutPath, index) &&
57
+ (index.sectionIndex === itemCoordinates.sectionIndex ||
58
+ index.sectionIndex === itemCoordinates.sectionIndex + 1);
59
+ return !(item.isOnlyItemInSection && isAdjacentSection);
60
+ }
61
+ return true;
62
+ },
63
+ }, [
64
+ dispatch,
65
+ index,
66
+ handleInsightListItemDrop,
67
+ handleKpiPlaceholderDrop,
68
+ handleInsightPlaceholderDrop,
69
+ handleVisualizationSwitcherPlaceholderDrop,
70
+ handleDashboardLayoutPlaceholderDrop,
71
+ ]);
72
+ useEffect(() => {
73
+ if (isOver) {
74
+ handleDragHoverEnd();
75
+ }
76
+ }, [handleDragHoverEnd, isOver]);
77
+ if (!canDrop) {
78
+ return null;
79
+ }
80
+ const isLast = targetPosition === "below";
81
+ const debugStyle = getDropZoneDebugStyle({ isOver });
82
+ return (React.createElement("div", { className: cx("row-hotspot-container", {
83
+ last: isLast && canDrop,
84
+ "s-last-drop-position": isLast && canDrop,
85
+ hidden: !canDrop,
86
+ }) },
87
+ React.createElement("div", { className: cx("row-hotspot", { hidden: !canDrop }), style: { ...debugStyle }, ref: dropRef }, !!isOver && React.createElement(SectionDropZoneBox, { isOver: isOver, itemSize: itemSize }))));
88
+ };
89
+ //# sourceMappingURL=SectionHotspot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { ILayoutItemPath } from "../../../../types.js";
3
+ export type WidgetDropZoneProps = {
4
+ isLastInSection: boolean;
5
+ layoutPath: ILayoutItemPath;
6
+ dropRef: any;
7
+ };
8
+ export declare const WidgetDropZone: (props: WidgetDropZoneProps) => React.JSX.Element;
9
+ //# sourceMappingURL=WidgetDropZone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetDropZone.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAIvD,MAAM,MAAM,mBAAmB,GAAG;IAC9B,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,eAAe,CAAC;IAC5B,OAAO,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,cAAc,UAAW,mBAAmB,sBAQxD,CAAC"}
@@ -1,4 +1,4 @@
1
- // (C) 2022 GoodData Corporation
1
+ // (C) 2022-2024 GoodData Corporation
2
2
  import React from "react";
3
3
  import { WidgetDropZoneBox } from "./WidgetDropZoneBox.js";
4
4
  export const WidgetDropZone = (props) => {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetDropZone.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAQ3D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAA0B,EAAE,EAAE;IACzD,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAE3C,OAAO,CACH,6BAAK,SAAS,EAAC,iBAAiB,EAAC,GAAG,EAAE,OAAO;QACzC,oBAAC,iBAAiB,IAAC,MAAM,EAAE,eAAe,GAAI,CAC5C,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetDropZoneBox.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAKzC,UAAU,uBAAuB;IAC7B,MAAM,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA2B/D,CAAC"}
@@ -1,4 +1,4 @@
1
- // (C) 2022 GoodData Corporation
1
+ // (C) 2022-2024 GoodData Corporation
2
2
  import React from "react";
3
3
  import cx from "classnames";
4
4
  import { FormattedMessage } from "react-intl";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetDropZoneBox.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAMlD,MAAM,CAAC,MAAM,iBAAiB,GAAsC,CAAC,KAAK,EAAE,EAAE;IAC1E,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,OAAO,CACH,6BACI,SAAS,EAAE,EAAE,CAAC,uBAAuB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,UAAU,CAAC;QAEjG,6BAAK,SAAS,EAAE,EAAE,CAAC,6BAA6B,EAAE,UAAU,EAAE,SAAS,CAAC;YACpE,6BAAK,SAAS,EAAC,mCAAmC;gBAC9C,6BAAK,SAAS,EAAC,mBAAmB;oBAC9B,oBAAC,UAAU,IAAC,OAAO,EAAC,GAAG,EAAC,SAAS,EAAC,qCAAqC,IAClE,MAAM,CAAC,CAAC,CAAC,CACN,oBAAC,gBAAgB,IACb,EAAE,EAAC,kCAAkC,EACrC,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,MAAiB,EAAE,EAAE,CAAC,+BAAI,MAAM,CAAK,EAAE,GACvD,CACL,CAAC,CAAC,CAAC,CACA,oBAAC,gBAAgB,IACb,EAAE,EAAC,sBAAsB,EACzB,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,MAAiB,EAAE,EAAE,CAAC,+BAAI,MAAM,CAAK,EAAE,GACvD,CACL,CACQ,CACX,CACJ,CACJ,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { ILayoutItemPath } from "../../../../types.js";
3
+ export type WidgetDropZoneColumnProps = {
4
+ layoutPath: ILayoutItemPath;
5
+ isLastInSection?: boolean;
6
+ };
7
+ export declare const WidgetDropZoneColumn: (props: WidgetDropZoneColumnProps) => React.JSX.Element | null;
8
+ //# sourceMappingURL=WidgetDropZoneColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetDropZoneColumn.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAiBvC,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAKvD,MAAM,MAAM,yBAAyB,GAAG;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAAW,yBAAyB,6BAyFpE,CAAC"}
@@ -0,0 +1,82 @@
1
+ // (C) 2007-2024 GoodData Corporation
2
+ import cx from "classnames";
3
+ import React, { useMemo } from "react";
4
+ import { selectDraggingWidgetTargetLayoutPath, useDashboardDispatch, useDashboardSelector, } from "../../../../model/index.js";
5
+ import { WidgetDropZone } from "./WidgetDropZone.js";
6
+ import { useDashboardDrop } from "../../../dragAndDrop/useDashboardDrop.js";
7
+ import { useInsightListItemDropHandler } from "./useInsightListItemDropHandler.js";
8
+ import { useInsightPlaceholderDropHandler } from "./useInsightPlaceholderDropHandler.js";
9
+ import { useKpiPlaceholderDropHandler } from "./useKpiPlaceholderDropHandler.js";
10
+ import { useMoveWidgetDropHandler } from "./useMoveWidgetHandler.js";
11
+ import { getDashboardLayoutItemHeightForGrid } from "../../../../_staging/layout/sizing.js";
12
+ import { useRichTextPlaceholderDropHandler } from "./useRichTextPlaceholderDropHandler.js";
13
+ import { useVisualizationSwitcherPlaceholderDropHandler } from "./useVisualizationSwitcherPlaceholderDropHandler.js";
14
+ import { useDashboardLayoutPlaceholderDropHandler } from "./useDashboardLayoutPlaceholderDropHandler.js";
15
+ import { areLayoutPathsEqual } from "../../../../_staging/layout/coordinates.js";
16
+ import { draggableWidgetDropHandler } from "../../../dragAndDrop/draggableWidget/draggableWidgetDropHandler.js";
17
+ import { GridLayoutElement } from "../../DefaultDashboardLayoutRenderer/GridLayoutElement.js";
18
+ export const WidgetDropZoneColumn = (props) => {
19
+ const { layoutPath, isLastInSection = false } = props;
20
+ const dropzoneCoordinates = useDashboardSelector(selectDraggingWidgetTargetLayoutPath);
21
+ const handleInsightListItemDrop = useInsightListItemDropHandler(layoutPath);
22
+ const handleInsightPlaceholderDrop = useInsightPlaceholderDropHandler(layoutPath);
23
+ const handleKpiPlaceholderDrop = useKpiPlaceholderDropHandler(layoutPath);
24
+ const handleRichTextPlaceholderDrop = useRichTextPlaceholderDropHandler(layoutPath);
25
+ const handleVisualizationSwitcherPlaceholderDrop = useVisualizationSwitcherPlaceholderDropHandler(layoutPath);
26
+ const handleDashboardLayoutPlaceholderDrop = useDashboardLayoutPlaceholderDropHandler(layoutPath);
27
+ const handleWidgetDrop = useMoveWidgetDropHandler(layoutPath);
28
+ const dispatch = useDashboardDispatch();
29
+ const [collectedProps, dropRef] = useDashboardDrop([
30
+ "insightListItem",
31
+ "kpi-placeholder",
32
+ "insight-placeholder",
33
+ "kpi",
34
+ "insight",
35
+ "richText",
36
+ "richTextListItem",
37
+ "visualizationSwitcher",
38
+ "visualizationSwitcherListItem",
39
+ "dashboardLayout",
40
+ "dashboardLayoutListItem",
41
+ ], {
42
+ drop: (item) => {
43
+ draggableWidgetDropHandler(item, {
44
+ handleInsightListItemDrop,
45
+ handleKpiPlaceholderDrop,
46
+ handleInsightPlaceholderDrop,
47
+ handleRichTextPlaceholderDrop,
48
+ handleVisualizationSwitcherPlaceholderDrop,
49
+ handleDashboardLayoutPlaceholderDrop,
50
+ handleWidgetDrop,
51
+ });
52
+ },
53
+ }, [
54
+ dispatch,
55
+ handleInsightListItemDrop,
56
+ handleInsightPlaceholderDrop,
57
+ handleKpiPlaceholderDrop,
58
+ handleVisualizationSwitcherPlaceholderDrop,
59
+ handleRichTextPlaceholderDrop,
60
+ handleWidgetDrop,
61
+ handleDashboardLayoutPlaceholderDrop,
62
+ ]);
63
+ const showDropZone = useMemo(() => areLayoutPathsEqual(dropzoneCoordinates, layoutPath), [dropzoneCoordinates, layoutPath]);
64
+ if (!showDropZone) {
65
+ return null;
66
+ }
67
+ if (!collectedProps?.item) {
68
+ return null;
69
+ }
70
+ const { gridWidth = 12, gridHeight } = collectedProps.item.size;
71
+ return (React.createElement(GridLayoutElement, { type: "item", layoutItemSize: {
72
+ xl: { gridWidth, gridHeight },
73
+ lg: { gridWidth, gridHeight },
74
+ md: { gridWidth, gridHeight },
75
+ sm: { gridWidth, gridHeight },
76
+ xs: { gridWidth, gridHeight },
77
+ }, className: cx("gd-fluidlayout-column", "gd-fluidlayout-column-dropzone", "s-fluid-layout-column"), style: {
78
+ minHeight: getDashboardLayoutItemHeightForGrid(gridHeight),
79
+ } },
80
+ React.createElement(WidgetDropZone, { isLastInSection: isLastInSection, layoutPath: layoutPath, dropRef: dropRef })));
81
+ };
82
+ //# sourceMappingURL=WidgetDropZoneColumn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WidgetDropZoneColumn.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ import { ILayoutItemPath } from "../../../../types.js";
2
+ import { BaseDraggableLayoutItemSize } from "../../../dragAndDrop/index.js";
3
+ export declare function useDashboardLayoutPlaceholderDropHandler(layoutPath: ILayoutItemPath): (itemSize: BaseDraggableLayoutItemSize) => void;
4
+ //# sourceMappingURL=useDashboardLayoutPlaceholderDropHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDashboardLayoutPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAOvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,wBAAgB,wCAAwC,CAAC,UAAU,EAAE,eAAe,cAejE,2BAA2B,UAqB7C"}
@@ -2,12 +2,11 @@
2
2
  import { useCallback } from "react";
3
3
  import { v4 as uuidv4 } from "uuid";
4
4
  import { idRef } from "@gooddata/sdk-model";
5
- import { DASHBOARD_LAYOUT_WIDGET_SIZE_INFO_DEFAULT } from "@gooddata/sdk-ui-ext";
6
- import { addSectionItem, uiActions, useDashboardCommandProcessing, useDashboardDispatch, } from "../../../model/index.js";
7
- export function useDashboardLayoutPlaceholderDropHandler(sectionIndex, itemIndex) {
5
+ import { useDashboardDispatch, useDashboardCommandProcessing, addNestedLayoutSectionItem, uiActions, } from "../../../../model/index.js";
6
+ export function useDashboardLayoutPlaceholderDropHandler(layoutPath) {
8
7
  const dispatch = useDashboardDispatch();
9
8
  const { run: createDashboardLayout } = useDashboardCommandProcessing({
10
- commandCreator: addSectionItem,
9
+ commandCreator: addNestedLayoutSectionItem,
11
10
  errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
12
11
  successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.ITEMS_ADDED",
13
12
  onSuccess: (event) => {
@@ -16,14 +15,14 @@ export function useDashboardLayoutPlaceholderDropHandler(sectionIndex, itemIndex
16
15
  dispatch(uiActions.setConfigurationPanelOpened(true));
17
16
  },
18
17
  });
19
- return useCallback(() => {
18
+ return useCallback((itemSize) => {
20
19
  const id = uuidv4();
21
- createDashboardLayout(sectionIndex, itemIndex, {
20
+ createDashboardLayout(layoutPath, {
22
21
  type: "IDashboardLayoutItem",
23
22
  size: {
24
23
  xl: {
25
- gridHeight: DASHBOARD_LAYOUT_WIDGET_SIZE_INFO_DEFAULT.height.default,
26
- gridWidth: DASHBOARD_LAYOUT_WIDGET_SIZE_INFO_DEFAULT.width.default,
24
+ gridHeight: itemSize.gridHeight,
25
+ gridWidth: itemSize.gridWidth,
27
26
  },
28
27
  },
29
28
  widget: {
@@ -34,6 +33,6 @@ export function useDashboardLayoutPlaceholderDropHandler(sectionIndex, itemIndex
34
33
  uri: `/${id}`,
35
34
  },
36
35
  });
37
- }, [createDashboardLayout, itemIndex, sectionIndex]);
36
+ }, [createDashboardLayout, layoutPath]);
38
37
  }
39
38
  //# sourceMappingURL=useDashboardLayoutPlaceholderDropHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDashboardLayoutPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,EACH,oBAAoB,EACpB,6BAA6B,EAC7B,0BAA0B,EAC1B,SAAS,GACZ,MAAM,4BAA4B,CAAC;AAGpC,MAAM,UAAU,wCAAwC,CAAC,UAA2B;IAChF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,qBAAqB,EAAE,GAAG,6BAA6B,CAAC;QACjE,cAAc,EAAE,0BAA0B;QAC1C,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,uCAAuC;QACrD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACpD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;YACtC,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CACd,CAAC,QAAqC,EAAE,EAAE;QACtC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QACpB,qBAAqB,CAAC,UAAU,EAAE;YAC9B,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE;gBACF,EAAE,EAAE;oBACA,UAAU,EAAE,QAAQ,CAAC,UAAU;oBAC/B,SAAS,EAAE,QAAQ,CAAC,SAAS;iBAChC;aACJ;YACD,MAAM,EAAE;gBACJ,IAAI,EAAE,kBAAkB;gBACxB,QAAQ,EAAE,EAAE;gBACZ,UAAU,EAAE,EAAE;gBACd,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;gBACd,GAAG,EAAE,IAAI,EAAE,EAAE;aAChB;SACJ,CAAC,CAAC;IACP,CAAC,EACD,CAAC,qBAAqB,EAAE,UAAU,CAAC,CACtC,CAAC;AACN,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { ILayoutSectionPath } from "../../../../types.js";
2
+ export declare const useEmptyContentHandlers: (sectionPath: ILayoutSectionPath) => {
3
+ canDrop: boolean;
4
+ isOver: boolean;
5
+ itemType: import("../../../dragAndDrop/types.js").DraggableItemType;
6
+ item: unknown;
7
+ dropRef: import("react-dnd").ConnectDropTarget;
8
+ };
9
+ //# sourceMappingURL=useEmptyContentHandlers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEmptyContentHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAiB1D,eAAO,MAAM,uBAAuB,gBAAiB,kBAAkB;;;;;;CAyEtE,CAAC"}
@@ -0,0 +1,75 @@
1
+ // (C) 2024 GoodData Corporation
2
+ import { useNewSectionDashboardLayoutPlaceholderDropHandler } from "./useNewSectionDashboardLayoutPlaceholderDropHandler.js";
3
+ import { useNewSectionInsightListItemDropHandler } from "./useNewSectionInsightListItemDropHandler.js";
4
+ import { useNewSectionInsightPlaceholderDropHandler } from "./useNewSectionInsightPlaceholderDropHandler.js";
5
+ import { useNewSectionKpiPlaceholderDropHandler } from "./useNewSectionKpiPlaceholderDropHandler.js";
6
+ import { useNewSectionRichTextPlaceholderDropHandler } from "./useNewSectionRichTextPlaceholderDropHandler.js";
7
+ import { useNewSectionVisualizationSwitcherPlaceholderDropHandler } from "./useNewSectionVisualizationSwitcherPlaceholderDropHandler.js";
8
+ import { useDashboardDrop, isInsightDraggableListItem, isKpiPlaceholderDraggableItem, isInsightPlaceholderDraggableItem, isRichTextDraggableListItem, isVisualizationSwitcherDraggableListItem, isDashboardLayoutDraggableListItem, isInsightDraggableItem, isKpiDraggableItem, isRichTextDraggableItem, isVisualizationSwitcherDraggableItem, } from "../../../dragAndDrop/index.js";
9
+ import { isDashboardLayoutItem } from "@gooddata/sdk-model";
10
+ import { useMoveWidgetToNewSectionDropHandler } from "./useMoveWidgetToNewSectionDropHandler.js";
11
+ export const useEmptyContentHandlers = (sectionPath) => {
12
+ const handleInsightListItemDrop = useNewSectionInsightListItemDropHandler(sectionPath);
13
+ const handleKpiPlaceholderDrop = useNewSectionKpiPlaceholderDropHandler(sectionPath);
14
+ const handleInsightPlaceholderDrop = useNewSectionInsightPlaceholderDropHandler(sectionPath);
15
+ const handleRichTextPlaceholderDrop = useNewSectionRichTextPlaceholderDropHandler(sectionPath);
16
+ const handleVisualizationSwitcherPlaceholderDrop = useNewSectionVisualizationSwitcherPlaceholderDropHandler(sectionPath);
17
+ const handleDashboardLayoutPlaceholderDrop = useNewSectionDashboardLayoutPlaceholderDropHandler(sectionPath);
18
+ const moveWidgetToNewSection = useMoveWidgetToNewSectionDropHandler(sectionPath);
19
+ const [{ canDrop, isOver, itemType, item }, dropRef] = useDashboardDrop([
20
+ "insightListItem",
21
+ "kpi-placeholder",
22
+ "insight-placeholder",
23
+ "richTextListItem",
24
+ "visualizationSwitcherListItem",
25
+ "dashboardLayoutListItem",
26
+ "insight",
27
+ "richText",
28
+ "visualizationSwitcher",
29
+ "dashboardLayout",
30
+ ], {
31
+ drop: (item) => {
32
+ if (isInsightDraggableListItem(item)) {
33
+ handleInsightListItemDrop(item.insight);
34
+ }
35
+ if (isKpiPlaceholderDraggableItem(item)) {
36
+ handleKpiPlaceholderDrop();
37
+ }
38
+ if (isInsightPlaceholderDraggableItem(item)) {
39
+ handleInsightPlaceholderDrop();
40
+ }
41
+ if (isRichTextDraggableListItem(item)) {
42
+ handleRichTextPlaceholderDrop(item.size);
43
+ }
44
+ if (isVisualizationSwitcherDraggableListItem(item)) {
45
+ handleVisualizationSwitcherPlaceholderDrop(item.size);
46
+ }
47
+ if (isDashboardLayoutDraggableListItem(item)) {
48
+ handleDashboardLayoutPlaceholderDrop(item.size);
49
+ }
50
+ if (isInsightDraggableItem(item) ||
51
+ isKpiDraggableItem(item) ||
52
+ isRichTextDraggableItem(item) ||
53
+ isVisualizationSwitcherDraggableItem(item) ||
54
+ isDashboardLayoutItem(item)) {
55
+ moveWidgetToNewSection(item);
56
+ }
57
+ },
58
+ }, [
59
+ handleInsightListItemDrop,
60
+ handleKpiPlaceholderDrop,
61
+ handleInsightPlaceholderDrop,
62
+ handleVisualizationSwitcherPlaceholderDrop,
63
+ handleRichTextPlaceholderDrop,
64
+ handleDashboardLayoutPlaceholderDrop,
65
+ moveWidgetToNewSection,
66
+ ]);
67
+ return {
68
+ canDrop,
69
+ isOver,
70
+ itemType,
71
+ item,
72
+ dropRef,
73
+ };
74
+ };
75
+ //# sourceMappingURL=useEmptyContentHandlers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEmptyContentHandlers.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ import { IInsight } from "@gooddata/sdk-model";
2
+ import { ILayoutItemPath } from "../../../../types.js";
3
+ export declare function useInsightListItemDropHandler(layoutPath: ILayoutItemPath): (insight: IInsight) => void;
4
+ //# sourceMappingURL=useInsightListItemDropHandler.d.ts.map