@gooddata/sdk-ui-dashboard 10.16.0-alpha.9 → 10.16.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1023) hide show
  1. package/NOTICE +9 -9
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/__version.js.map +1 -1
  6. package/esm/_staging/dashboard/dashboardLayout.d.ts.map +1 -1
  7. package/esm/_staging/dashboard/dashboardLayout.js +15 -2
  8. package/esm/_staging/dashboard/dashboardLayout.js.map +1 -1
  9. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts.map +1 -0
  10. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.js.map +1 -0
  11. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts +32 -0
  12. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts.map +1 -0
  13. package/esm/_staging/dashboard/flexibleLayout/builder/item.js +87 -0
  14. package/esm/_staging/dashboard/flexibleLayout/builder/item.js.map +1 -0
  15. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts +40 -0
  16. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts.map +1 -0
  17. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js +156 -0
  18. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js.map +1 -0
  19. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts +32 -0
  20. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts.map +1 -0
  21. package/esm/_staging/dashboard/flexibleLayout/builder/section.js +147 -0
  22. package/esm/_staging/dashboard/flexibleLayout/builder/section.js.map +1 -0
  23. package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -0
  24. package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.js +1 -1
  25. package/esm/_staging/dashboard/flexibleLayout/config.js.map +1 -0
  26. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts +120 -0
  27. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts.map +1 -0
  28. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.js.map +1 -0
  29. package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts +42 -0
  30. package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts.map +1 -0
  31. package/esm/_staging/dashboard/flexibleLayout/facade/item.js +122 -0
  32. package/esm/_staging/dashboard/flexibleLayout/facade/item.js.map +1 -0
  33. package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts +23 -0
  34. package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts.map +1 -0
  35. package/esm/_staging/dashboard/flexibleLayout/facade/items.js +74 -0
  36. package/esm/_staging/dashboard/flexibleLayout/facade/items.js.map +1 -0
  37. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts +24 -0
  38. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts.map +1 -0
  39. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js +44 -0
  40. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js.map +1 -0
  41. package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts +34 -0
  42. package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts.map +1 -0
  43. package/esm/_staging/dashboard/flexibleLayout/facade/section.js +88 -0
  44. package/esm/_staging/dashboard/flexibleLayout/facade/section.js.map +1 -0
  45. package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts +24 -0
  46. package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts.map +1 -0
  47. package/esm/_staging/dashboard/flexibleLayout/facade/sections.js +55 -0
  48. package/esm/_staging/dashboard/flexibleLayout/facade/sections.js.map +1 -0
  49. package/esm/_staging/dashboard/flexibleLayout/index.d.ts.map +1 -0
  50. package/esm/_staging/dashboard/flexibleLayout/index.js.map +1 -0
  51. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts +435 -0
  52. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts.map +1 -0
  53. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js +2 -0
  54. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js.map +1 -0
  55. package/esm/_staging/dashboard/legacyFluidLayout/builder/item.d.ts.map +1 -0
  56. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.js +1 -1
  57. package/esm/_staging/dashboard/legacyFluidLayout/builder/item.js.map +1 -0
  58. package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.d.ts.map +1 -0
  59. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.js +1 -1
  60. package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.js.map +1 -0
  61. package/esm/_staging/dashboard/legacyFluidLayout/builder/section.d.ts.map +1 -0
  62. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.js +1 -1
  63. package/esm/_staging/dashboard/legacyFluidLayout/builder/section.js.map +1 -0
  64. package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts +2 -0
  65. package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts.map +1 -0
  66. package/esm/_staging/dashboard/legacyFluidLayout/config.js +4 -0
  67. package/esm/_staging/dashboard/legacyFluidLayout/config.js.map +1 -0
  68. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.d.ts.map +1 -0
  69. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js +2 -0
  70. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js.map +1 -0
  71. package/esm/_staging/dashboard/legacyFluidLayout/facade/item.d.ts.map +1 -0
  72. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.js +1 -1
  73. package/esm/_staging/dashboard/legacyFluidLayout/facade/item.js.map +1 -0
  74. package/esm/_staging/dashboard/legacyFluidLayout/facade/items.d.ts.map +1 -0
  75. package/esm/_staging/dashboard/legacyFluidLayout/facade/items.js.map +1 -0
  76. package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.d.ts.map +1 -0
  77. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.js +1 -1
  78. package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.js.map +1 -0
  79. package/esm/_staging/dashboard/legacyFluidLayout/facade/section.d.ts.map +1 -0
  80. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.js +1 -1
  81. package/esm/_staging/dashboard/legacyFluidLayout/facade/section.js.map +1 -0
  82. package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.d.ts.map +1 -0
  83. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.js +1 -1
  84. package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.js.map +1 -0
  85. package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts +11 -0
  86. package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts.map +1 -0
  87. package/esm/_staging/dashboard/legacyFluidLayout/index.js +10 -0
  88. package/esm/_staging/dashboard/legacyFluidLayout/index.js.map +1 -0
  89. package/esm/_staging/layout/coordinates.d.ts +20 -2
  90. package/esm/_staging/layout/coordinates.d.ts.map +1 -1
  91. package/esm/_staging/layout/coordinates.js +190 -1
  92. package/esm/_staging/layout/coordinates.js.map +1 -1
  93. package/esm/_staging/layout/sizing.d.ts +13 -4
  94. package/esm/_staging/layout/sizing.d.ts.map +1 -1
  95. package/esm/_staging/layout/sizing.js +143 -4
  96. package/esm/_staging/layout/sizing.js.map +1 -1
  97. package/esm/internal.d.ts +2 -2
  98. package/esm/internal.d.ts.map +1 -1
  99. package/esm/internal.js +2 -2
  100. package/esm/internal.js.map +1 -1
  101. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.d.ts.map +1 -1
  102. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js +12 -2
  103. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js.map +1 -1
  104. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  105. package/esm/model/commandHandlers/index.js +2 -0
  106. package/esm/model/commandHandlers/index.js.map +1 -1
  107. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
  108. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +9 -3
  109. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js.map +1 -1
  110. package/esm/model/commandHandlers/layout/addSectionItemsHandler.d.ts.map +1 -1
  111. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js +47 -23
  112. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js.map +1 -1
  113. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.d.ts.map +1 -1
  114. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js +17 -5
  115. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js.map +1 -1
  116. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.d.ts.map +1 -1
  117. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js +48 -18
  118. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js.map +1 -1
  119. package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
  120. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +90 -40
  121. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
  122. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
  123. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +90 -26
  124. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
  125. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.d.ts.map +1 -1
  126. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js +22 -7
  127. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js.map +1 -1
  128. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.d.ts.map +1 -1
  129. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js +5 -3
  130. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js.map +1 -1
  131. package/esm/model/commandHandlers/layout/removeSectionItemHandler.d.ts.map +1 -1
  132. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js +36 -20
  133. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js.map +1 -1
  134. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.d.ts.map +1 -1
  135. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js +38 -18
  136. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js.map +1 -1
  137. package/esm/model/commandHandlers/layout/resizeHeightHandler.d.ts.map +1 -1
  138. package/esm/model/commandHandlers/layout/resizeHeightHandler.js +30 -11
  139. package/esm/model/commandHandlers/layout/resizeHeightHandler.js.map +1 -1
  140. package/esm/model/commandHandlers/layout/resizeWidthHandler.d.ts.map +1 -1
  141. package/esm/model/commandHandlers/layout/resizeWidthHandler.js +40 -22
  142. package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
  143. package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts +6 -0
  144. package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts.map +1 -0
  145. package/esm/model/commandHandlers/layout/setScreenSizeHandler.js +9 -0
  146. package/esm/model/commandHandlers/layout/setScreenSizeHandler.js.map +1 -0
  147. package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts +5 -4
  148. package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts.map +1 -1
  149. package/esm/model/commandHandlers/layout/validation/layoutValidation.js +55 -15
  150. package/esm/model/commandHandlers/layout/validation/layoutValidation.js.map +1 -1
  151. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  152. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +3 -2
  153. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
  154. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts +1 -1
  155. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts.map +1 -1
  156. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js +10 -2
  157. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js.map +1 -1
  158. package/esm/model/commands/base.d.ts +1 -1
  159. package/esm/model/commands/base.d.ts.map +1 -1
  160. package/esm/model/commands/index.d.ts +4 -4
  161. package/esm/model/commands/index.d.ts.map +1 -1
  162. package/esm/model/commands/index.js +1 -1
  163. package/esm/model/commands/index.js.map +1 -1
  164. package/esm/model/commands/layout.d.ts +465 -10
  165. package/esm/model/commands/layout.d.ts.map +1 -1
  166. package/esm/model/commands/layout.js +473 -5
  167. package/esm/model/commands/layout.js.map +1 -1
  168. package/esm/model/events/base.d.ts +1 -1
  169. package/esm/model/events/base.d.ts.map +1 -1
  170. package/esm/model/events/base.js.map +1 -1
  171. package/esm/model/events/layout.d.ts +180 -12
  172. package/esm/model/events/layout.d.ts.map +1 -1
  173. package/esm/model/events/layout.js +42 -11
  174. package/esm/model/events/layout.js.map +1 -1
  175. package/esm/model/events/userInteraction.d.ts +6 -2
  176. package/esm/model/events/userInteraction.d.ts.map +1 -1
  177. package/esm/model/events/userInteraction.js.map +1 -1
  178. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js +1 -1
  179. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js.map +1 -1
  180. package/esm/model/react/useDashboardCommand.d.ts +1 -0
  181. package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
  182. package/esm/model/react/useDashboardUserInteraction.d.ts +2 -1
  183. package/esm/model/react/useDashboardUserInteraction.d.ts.map +1 -1
  184. package/esm/model/react/useDashboardUserInteraction.js +4 -0
  185. package/esm/model/react/useDashboardUserInteraction.js.map +1 -1
  186. package/esm/model/react/useWidgetSelection.d.ts.map +1 -1
  187. package/esm/model/react/useWidgetSelection.js +3 -1
  188. package/esm/model/react/useWidgetSelection.js.map +1 -1
  189. package/esm/model/store/config/configSelectors.d.ts +6 -0
  190. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  191. package/esm/model/store/config/configSelectors.js +9 -1
  192. package/esm/model/store/config/configSelectors.js.map +1 -1
  193. package/esm/model/store/index.d.ts +3 -3
  194. package/esm/model/store/index.d.ts.map +1 -1
  195. package/esm/model/store/index.js +3 -3
  196. package/esm/model/store/index.js.map +1 -1
  197. package/esm/model/store/layout/index.d.ts +23 -18
  198. package/esm/model/store/layout/index.d.ts.map +1 -1
  199. package/esm/model/store/layout/index.js +6 -1
  200. package/esm/model/store/layout/index.js.map +1 -1
  201. package/esm/model/store/layout/layoutReducers.d.ts +24 -25
  202. package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
  203. package/esm/model/store/layout/layoutReducers.js +86 -58
  204. package/esm/model/store/layout/layoutReducers.js.map +1 -1
  205. package/esm/model/store/layout/layoutSelectors.d.ts +46 -2
  206. package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
  207. package/esm/model/store/layout/layoutSelectors.js +66 -4
  208. package/esm/model/store/layout/layoutSelectors.js.map +1 -1
  209. package/esm/model/store/layout/layoutState.d.ts +2 -1
  210. package/esm/model/store/layout/layoutState.d.ts.map +1 -1
  211. package/esm/model/store/layout/layoutState.js +2 -1
  212. package/esm/model/store/layout/layoutState.js.map +1 -1
  213. package/esm/model/store/layout/layoutUtils.d.ts +7 -7
  214. package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
  215. package/esm/model/store/layout/layoutUtils.js +26 -9
  216. package/esm/model/store/layout/layoutUtils.js.map +1 -1
  217. package/esm/model/store/ui/index.d.ts +5 -5
  218. package/esm/model/store/ui/uiReducers.d.ts +6 -6
  219. package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
  220. package/esm/model/store/ui/uiReducers.js +11 -8
  221. package/esm/model/store/ui/uiReducers.js.map +1 -1
  222. package/esm/model/store/ui/uiSelectors.d.ts +31 -1
  223. package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
  224. package/esm/model/store/ui/uiSelectors.js +38 -3
  225. package/esm/model/store/ui/uiSelectors.js.map +1 -1
  226. package/esm/model/store/ui/uiState.d.ts +4 -4
  227. package/esm/model/store/ui/uiState.d.ts.map +1 -1
  228. package/esm/model/store/ui/uiState.js +1 -1
  229. package/esm/model/store/ui/uiState.js.map +1 -1
  230. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +2 -2
  231. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js.map +1 -1
  232. package/esm/presentation/constants.d.ts +2 -0
  233. package/esm/presentation/constants.d.ts.map +1 -0
  234. package/esm/presentation/constants.js +12 -0
  235. package/esm/presentation/constants.js.map +1 -0
  236. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
  237. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
  238. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
  239. package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
  240. package/esm/presentation/dashboard/components/DashboardInner.js +12 -3
  241. package/esm/presentation/dashboard/components/DashboardInner.js.map +1 -1
  242. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts +18 -0
  243. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts.map +1 -0
  244. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js +32 -0
  245. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js.map +1 -0
  246. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
  247. package/esm/presentation/dashboard/components/DashboardMainContent.js +7 -2
  248. package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
  249. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  250. package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
  251. package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
  252. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts +11 -0
  253. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts.map +1 -0
  254. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +63 -0
  255. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js.map +1 -0
  256. package/esm/presentation/dragAndDrop/DragLayerPreview/types.d.ts.map +1 -1
  257. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts +1 -0
  258. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts.map +1 -1
  259. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js +1 -1
  260. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js.map +1 -1
  261. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts +1 -1
  262. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
  263. package/esm/presentation/dragAndDrop/LayoutResizeContext.js +2 -2
  264. package/esm/presentation/dragAndDrop/LayoutResizeContext.js.map +1 -1
  265. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts +2 -0
  266. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts.map +1 -1
  267. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js +4 -2
  268. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js.map +1 -1
  269. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts +1 -1
  270. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts.map +1 -1
  271. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js +4 -3
  272. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js.map +1 -1
  273. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.d.ts.map +1 -1
  274. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js +3 -1
  275. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js.map +1 -1
  276. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts.map +1 -1
  277. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js +4 -2
  278. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js.map +1 -1
  279. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.d.ts.map +1 -1
  280. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js +3 -2
  281. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js.map +1 -1
  282. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts.map +1 -1
  283. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js +3 -2
  284. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js.map +1 -1
  285. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts +14 -0
  286. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts.map +1 -0
  287. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js +30 -0
  288. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js.map +1 -0
  289. package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts +0 -9
  290. package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts.map +1 -1
  291. package/esm/presentation/dragAndDrop/draggableWidget/index.js +0 -9
  292. package/esm/presentation/dragAndDrop/draggableWidget/index.js.map +1 -1
  293. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.d.ts.map +1 -1
  294. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js +1 -1
  295. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js.map +1 -1
  296. package/esm/presentation/dragAndDrop/index.d.ts +0 -6
  297. package/esm/presentation/dragAndDrop/index.d.ts.map +1 -1
  298. package/esm/presentation/dragAndDrop/index.js +1 -7
  299. package/esm/presentation/dragAndDrop/index.js.map +1 -1
  300. package/esm/presentation/dragAndDrop/types.d.ts +6 -0
  301. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  302. package/esm/presentation/dragAndDrop/types.js +2 -1
  303. package/esm/presentation/dragAndDrop/types.js.map +1 -1
  304. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  305. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -3
  306. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
  307. package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
  308. package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
  309. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  310. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +59 -37
  311. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  312. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  313. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +34 -16
  314. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  315. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
  316. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +10 -8
  317. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  318. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -3
  319. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  320. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +7 -4
  321. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
  322. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
  323. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  324. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +10 -7
  325. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  326. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -3
  327. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  328. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -2
  329. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
  330. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
  331. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +6 -13
  332. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
  333. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts.map +1 -1
  334. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +4 -3
  335. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
  336. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +4 -4
  337. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  338. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +14 -10
  339. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  340. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
  341. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +3 -4
  342. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
  343. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
  344. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +8 -6
  345. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
  346. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
  347. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +2 -3
  348. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
  349. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
  350. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +3 -1
  351. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
  352. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts.map +1 -1
  353. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +13 -12
  354. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
  355. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +3 -2
  356. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  357. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +13 -12
  358. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
  359. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +1 -9
  360. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
  361. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +11 -47
  362. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
  363. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts +5 -4
  364. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
  365. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js +3 -2
  366. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
  367. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +15 -28
  368. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  369. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +3 -2
  370. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
  371. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +4 -2
  372. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
  373. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
  374. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
  375. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +9 -13
  376. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  377. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +31 -136
  378. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  379. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  380. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +26 -18
  381. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  382. package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js +1 -1
  383. package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js.map +1 -1
  384. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts +3 -0
  385. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts.map +1 -0
  386. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js +9 -0
  387. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js.map +1 -0
  388. package/esm/presentation/flexibleLayout/constants.d.ts +0 -1
  389. package/esm/presentation/flexibleLayout/constants.d.ts.map +1 -1
  390. package/esm/presentation/flexibleLayout/constants.js +0 -10
  391. package/esm/presentation/flexibleLayout/constants.js.map +1 -1
  392. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.d.ts.map +1 -0
  393. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.js +6 -7
  394. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.js.map +1 -0
  395. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
  396. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
  397. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/ContentDragPreview.js +2 -2
  398. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
  399. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.d.ts +2 -2
  400. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
  401. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js +56 -0
  402. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
  403. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.d.ts +3 -3
  404. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
  405. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.js +2 -2
  406. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
  407. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.d.ts +1 -1
  408. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
  409. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.js +1 -1
  410. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
  411. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +9 -0
  412. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
  413. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +16 -0
  414. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
  415. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +3 -0
  416. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
  417. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +20 -0
  418. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
  419. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
  420. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js +11 -0
  421. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
  422. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +13 -0
  423. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
  424. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +95 -0
  425. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
  426. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.d.ts +1 -1
  427. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
  428. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.js +1 -1
  429. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
  430. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
  431. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js +10 -0
  432. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
  433. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts +10 -0
  434. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
  435. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +65 -0
  436. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
  437. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.d.ts.map +1 -0
  438. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js +3 -0
  439. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js.map +1 -0
  440. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +12 -0
  441. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
  442. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +8 -0
  443. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
  444. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +11 -0
  445. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
  446. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +12 -0
  447. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
  448. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
  449. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +1 -1
  450. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
  451. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
  452. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
  453. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
  454. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
  455. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
  456. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +55 -0
  457. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
  458. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts +5 -0
  459. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -0
  460. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +50 -0
  461. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -0
  462. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts +12 -0
  463. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
  464. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +95 -0
  465. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
  466. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +8 -0
  467. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
  468. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +20 -0
  469. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
  470. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts +8 -0
  471. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
  472. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js +20 -0
  473. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
  474. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts +12 -0
  475. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
  476. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js +89 -0
  477. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
  478. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts +9 -0
  479. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
  480. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZone.js +1 -1
  481. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
  482. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
  483. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.js +1 -1
  484. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
  485. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts +8 -0
  486. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
  487. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +82 -0
  488. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
  489. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
  490. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
  491. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js +8 -9
  492. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +1 -0
  493. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts +9 -0
  494. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts.map +1 -0
  495. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js +75 -0
  496. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js.map +1 -0
  497. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts +4 -0
  498. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
  499. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js +68 -0
  500. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
  501. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts +3 -0
  502. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
  503. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js +33 -0
  504. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
  505. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts +3 -0
  506. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
  507. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js +14 -0
  508. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
  509. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts +3 -0
  510. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
  511. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js +36 -0
  512. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
  513. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts +4 -0
  514. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
  515. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js +23 -0
  516. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
  517. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +4 -0
  518. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
  519. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +8 -0
  520. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
  521. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
  522. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
  523. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js +5 -11
  524. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +1 -0
  525. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +4 -0
  526. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
  527. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js +72 -0
  528. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
  529. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +3 -0
  530. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
  531. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +35 -0
  532. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
  533. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +3 -0
  534. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
  535. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +38 -0
  536. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
  537. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +4 -0
  538. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
  539. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +43 -0
  540. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
  541. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
  542. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  543. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +44 -0
  544. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  545. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +4 -0
  546. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
  547. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js +41 -0
  548. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
  549. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
  550. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  551. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +42 -0
  552. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  553. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts +9 -0
  554. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
  555. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.js +2 -2
  556. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
  557. package/esm/presentation/flexibleLayout/refs.d.ts +1 -1
  558. package/esm/presentation/flexibleLayout/refs.d.ts.map +1 -1
  559. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.d.ts.map +1 -1
  560. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js +10 -6
  561. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js.map +1 -1
  562. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
  563. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
  564. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.js +1 -1
  565. package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
  566. package/esm/presentation/layout/DashboardLayoutWidget.js +5 -2
  567. package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
  568. package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
  569. package/esm/presentation/layout/DefaultDashboardLayout.js +2 -1
  570. package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
  571. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  572. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js +2 -2
  573. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  574. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +2 -2
  575. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  576. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -1
  577. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  578. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
  579. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  580. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +3 -2
  581. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  582. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -1
  583. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  584. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -1
  585. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
  586. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +4 -2
  587. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
  588. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +1 -1
  589. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  590. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +6 -5
  591. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
  592. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  593. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +5 -2
  594. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
  595. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +4 -4
  596. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
  597. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js +2 -2
  598. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
  599. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +1 -1
  600. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  601. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +1 -1
  602. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
  603. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +1 -1
  604. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
  605. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
  606. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
  607. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +1 -1
  608. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  609. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -4
  610. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  611. package/esm/presentation/layout/EmptyDashboardLayout.js +2 -2
  612. package/esm/presentation/layout/EmptyDashboardLayout.js.map +1 -1
  613. package/esm/presentation/layout/constants.d.ts +0 -1
  614. package/esm/presentation/layout/constants.d.ts.map +1 -1
  615. package/esm/presentation/layout/constants.js +1 -11
  616. package/esm/presentation/layout/constants.js.map +1 -1
  617. package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts +3 -0
  618. package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts.map +1 -0
  619. package/esm/presentation/layout/dragAndDrop/DragLayer.js +60 -0
  620. package/esm/presentation/layout/dragAndDrop/DragLayer.js.map +1 -0
  621. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
  622. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
  623. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js +50 -0
  624. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
  625. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts +7 -0
  626. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
  627. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.js +3 -3
  628. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
  629. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts +29 -0
  630. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
  631. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js +62 -0
  632. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
  633. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts +9 -0
  634. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
  635. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js +24 -0
  636. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
  637. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
  638. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.js +1 -1
  639. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
  640. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
  641. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.js +3 -3
  642. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
  643. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts +4 -0
  644. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
  645. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizer.js +1 -1
  646. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
  647. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.d.ts +2 -2
  648. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
  649. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.js +5 -6
  650. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
  651. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts +10 -0
  652. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
  653. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js +67 -0
  654. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
  655. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts +4 -0
  656. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
  657. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizer.js +1 -1
  658. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
  659. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.d.ts +1 -1
  660. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
  661. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.js +7 -8
  662. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
  663. package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts +5 -0
  664. package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts.map +1 -0
  665. package/esm/presentation/layout/dragAndDrop/Resize/types.js +3 -0
  666. package/esm/presentation/layout/dragAndDrop/Resize/types.js.map +1 -0
  667. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
  668. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +1 -1
  669. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
  670. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
  671. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +1 -1
  672. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
  673. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +8 -0
  674. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
  675. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +13 -0
  676. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
  677. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +4 -0
  678. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
  679. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +4 -0
  680. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
  681. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +2 -0
  682. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
  683. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js +2 -0
  684. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
  685. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts +3 -0
  686. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
  687. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.js +4 -14
  688. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
  689. package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
  690. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.js +4 -13
  691. package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
  692. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.d.ts +1 -1
  693. package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
  694. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.js +2 -2
  695. package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
  696. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
  697. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.js +1 -1
  698. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
  699. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
  700. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.js +3 -12
  701. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
  702. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
  703. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js +9 -0
  704. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
  705. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts +7 -0
  706. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
  707. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js +14 -0
  708. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
  709. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
  710. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.js +9 -16
  711. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
  712. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
  713. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.js +4 -4
  714. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
  715. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
  716. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.js +4 -4
  717. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
  718. package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
  719. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.js +2 -2
  720. package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
  721. package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
  722. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.js +4 -4
  723. package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
  724. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.d.ts +1 -1
  725. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
  726. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.js +1 -1
  727. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
  728. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +2 -2
  729. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
  730. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +2 -2
  731. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
  732. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
  733. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.js +4 -4
  734. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
  735. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
  736. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +4 -4
  737. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
  738. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
  739. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +4 -4
  740. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
  741. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
  742. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +1 -1
  743. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
  744. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  745. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +1 -1
  746. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  747. package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
  748. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.js +2 -2
  749. package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
  750. package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  751. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +1 -1
  752. package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  753. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.d.ts +1 -1
  754. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
  755. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js +17 -0
  756. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
  757. package/esm/presentation/layout/refs.d.ts +1 -1
  758. package/esm/presentation/layout/refs.d.ts.map +1 -1
  759. package/esm/presentation/localization/bundles/en-US.json +25 -0
  760. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +1 -1
  761. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
  762. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +1 -1
  763. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
  764. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +5 -5
  765. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
  766. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +1 -1
  767. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
  768. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
  769. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
  770. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +17 -3
  771. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
  772. package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts +1 -1
  773. package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts.map +1 -1
  774. package/esm/presentation/widget/dashboardLayout/DashboardLayout.js.map +1 -1
  775. package/esm/presentation/widget/dashboardLayout/types.d.ts +5 -4
  776. package/esm/presentation/widget/dashboardLayout/types.d.ts.map +1 -1
  777. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +2 -2
  778. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
  779. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +5 -5
  780. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
  781. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +1 -1
  782. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
  783. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +27 -5
  784. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js.map +1 -1
  785. package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js +3 -3
  786. package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js.map +1 -1
  787. package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js +7 -7
  788. package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js.map +1 -1
  789. package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js +6 -6
  790. package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js.map +1 -1
  791. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -1
  792. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +12 -3
  793. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -1
  794. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts +7 -0
  795. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -0
  796. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +47 -0
  797. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -0
  798. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts +6 -0
  799. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts.map +1 -0
  800. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js +12 -0
  801. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js.map +1 -0
  802. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts +8 -0
  803. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -0
  804. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +31 -0
  805. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -0
  806. package/esm/presentation/widget/widget/DashboardWidget.d.ts.map +1 -1
  807. package/esm/presentation/widget/widget/DashboardWidget.js +12 -4
  808. package/esm/presentation/widget/widget/DashboardWidget.js.map +1 -1
  809. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
  810. package/esm/presentation/widget/widget/DefaultDashboardWidget.js +10 -6
  811. package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
  812. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
  813. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +3 -1
  814. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js.map +1 -1
  815. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.d.ts.map +1 -1
  816. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js +3 -1
  817. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js.map +1 -1
  818. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
  819. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +7 -2
  820. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
  821. package/esm/presentation/widget/widget/types.d.ts +7 -1
  822. package/esm/presentation/widget/widget/types.d.ts.map +1 -1
  823. package/esm/sdk-ui-dashboard.d.ts +742 -23
  824. package/esm/types.d.ts +37 -0
  825. package/esm/types.d.ts.map +1 -1
  826. package/esm/types.js +23 -0
  827. package/esm/types.js.map +1 -1
  828. package/package.json +16 -15
  829. package/styles/css/dashboard.css +78 -47
  830. package/styles/css/dashboard.css.map +1 -1
  831. package/styles/css/dashboardNestedLayoutToolbar.css +39 -0
  832. package/styles/css/dashboardNestedLayoutToolbar.css.map +1 -0
  833. package/styles/css/dashboardNestedLayoutWidget.css +106 -0
  834. package/styles/css/dashboardNestedLayoutWidget.css.map +1 -0
  835. package/styles/css/dragAndDrop.css +134 -5
  836. package/styles/css/dragAndDrop.css.map +1 -1
  837. package/styles/css/layout.css +60 -41
  838. package/styles/css/layout.css.map +1 -1
  839. package/styles/css/main.css +396 -52
  840. package/styles/css/main.css.map +1 -1
  841. package/styles/css/resizing.css +51 -0
  842. package/styles/css/resizing.css.map +1 -1
  843. package/styles/scss/dashboard.scss +28 -11
  844. package/styles/scss/dashboardNestedLayoutToolbar.scss +41 -0
  845. package/styles/scss/dashboardNestedLayoutWidget.scss +128 -0
  846. package/styles/scss/dragAndDrop.scss +176 -8
  847. package/styles/scss/layout.scss +20 -45
  848. package/styles/scss/main.scss +2 -0
  849. package/styles/scss/resizing.scss +65 -6
  850. package/esm/_staging/dashboard/fluidLayout/builder/interfaces.d.ts.map +0 -1
  851. package/esm/_staging/dashboard/fluidLayout/builder/interfaces.js.map +0 -1
  852. package/esm/_staging/dashboard/fluidLayout/builder/item.d.ts.map +0 -1
  853. package/esm/_staging/dashboard/fluidLayout/builder/item.js.map +0 -1
  854. package/esm/_staging/dashboard/fluidLayout/builder/layout.d.ts.map +0 -1
  855. package/esm/_staging/dashboard/fluidLayout/builder/layout.js.map +0 -1
  856. package/esm/_staging/dashboard/fluidLayout/builder/section.d.ts.map +0 -1
  857. package/esm/_staging/dashboard/fluidLayout/builder/section.js.map +0 -1
  858. package/esm/_staging/dashboard/fluidLayout/config.d.ts.map +0 -1
  859. package/esm/_staging/dashboard/fluidLayout/config.js.map +0 -1
  860. package/esm/_staging/dashboard/fluidLayout/facade/interfaces.d.ts.map +0 -1
  861. package/esm/_staging/dashboard/fluidLayout/facade/interfaces.js.map +0 -1
  862. package/esm/_staging/dashboard/fluidLayout/facade/item.d.ts.map +0 -1
  863. package/esm/_staging/dashboard/fluidLayout/facade/item.js.map +0 -1
  864. package/esm/_staging/dashboard/fluidLayout/facade/items.d.ts.map +0 -1
  865. package/esm/_staging/dashboard/fluidLayout/facade/items.js.map +0 -1
  866. package/esm/_staging/dashboard/fluidLayout/facade/layout.d.ts.map +0 -1
  867. package/esm/_staging/dashboard/fluidLayout/facade/layout.js.map +0 -1
  868. package/esm/_staging/dashboard/fluidLayout/facade/section.d.ts.map +0 -1
  869. package/esm/_staging/dashboard/fluidLayout/facade/section.js.map +0 -1
  870. package/esm/_staging/dashboard/fluidLayout/facade/sections.d.ts.map +0 -1
  871. package/esm/_staging/dashboard/fluidLayout/facade/sections.js.map +0 -1
  872. package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +0 -1
  873. package/esm/_staging/dashboard/fluidLayout/index.js.map +0 -1
  874. package/esm/presentation/dragAndDrop/DragLayer.d.ts.map +0 -1
  875. package/esm/presentation/dragAndDrop/DragLayer.js.map +0 -1
  876. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +0 -5
  877. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +0 -1
  878. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +0 -1
  879. package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +0 -1
  880. package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +0 -1
  881. package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +0 -1
  882. package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +0 -1
  883. package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +0 -1
  884. package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +0 -1
  885. package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +0 -1
  886. package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.js.map +0 -1
  887. package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +0 -1
  888. package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +0 -1
  889. package/esm/presentation/dragAndDrop/Resize/HeightResizer.d.ts.map +0 -1
  890. package/esm/presentation/dragAndDrop/Resize/HeightResizer.js.map +0 -1
  891. package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +0 -1
  892. package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.js.map +0 -1
  893. package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.d.ts.map +0 -1
  894. package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.js.map +0 -1
  895. package/esm/presentation/dragAndDrop/Resize/WidthResizer.d.ts.map +0 -1
  896. package/esm/presentation/dragAndDrop/Resize/WidthResizer.js.map +0 -1
  897. package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +0 -1
  898. package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.js.map +0 -1
  899. package/esm/presentation/dragAndDrop/Resize/types.d.ts.map +0 -1
  900. package/esm/presentation/dragAndDrop/Resize/types.js +0 -3
  901. package/esm/presentation/dragAndDrop/Resize/types.js.map +0 -1
  902. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +0 -1
  903. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +0 -1
  904. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +0 -1
  905. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +0 -1
  906. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +0 -1
  907. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +0 -1
  908. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +0 -1
  909. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +0 -1
  910. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +0 -1
  911. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +0 -1
  912. package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +0 -1
  913. package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +0 -1
  914. package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.d.ts.map +0 -1
  915. package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js.map +0 -1
  916. package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +0 -1
  917. package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.js.map +0 -1
  918. package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +0 -1
  919. package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +0 -1
  920. package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +0 -1
  921. package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js.map +0 -1
  922. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +0 -1
  923. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.js.map +0 -1
  924. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +0 -1
  925. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +0 -1
  926. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +0 -1
  927. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +0 -1
  928. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts +0 -3
  929. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts.map +0 -1
  930. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js +0 -46
  931. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js.map +0 -1
  932. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
  933. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
  934. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +0 -1
  935. package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +0 -1
  936. package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +0 -1
  937. package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +0 -1
  938. package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +0 -1
  939. package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +0 -1
  940. package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +0 -1
  941. package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +0 -1
  942. package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +0 -1
  943. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +0 -1
  944. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +0 -1
  945. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +0 -1
  946. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +0 -1
  947. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
  948. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
  949. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +0 -1
  950. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +0 -1
  951. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +0 -1
  952. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +0 -1
  953. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +0 -1
  954. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +0 -1
  955. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +0 -1
  956. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +0 -1
  957. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +0 -1
  958. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
  959. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
  960. package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +0 -1
  961. package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +0 -1
  962. package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
  963. package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
  964. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +0 -1
  965. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +0 -1
  966. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts +0 -2
  967. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts.map +0 -1
  968. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js +0 -3
  969. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js.map +0 -1
  970. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts +0 -4
  971. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts.map +0 -1
  972. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js +0 -34
  973. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js.map +0 -1
  974. package/styles/css/flexibleLayout.css +0 -425
  975. package/styles/css/flexibleLayout.css.map +0 -1
  976. package/styles/scss/flexibleLayout.scss +0 -410
  977. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.d.ts +0 -0
  978. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.js +0 -0
  979. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.d.ts +0 -0
  980. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/facade/interfaces.js +0 -0
  981. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.d.ts +0 -0
  982. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.js +0 -0
  983. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.d.ts +0 -0
  984. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.d.ts +0 -0
  985. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.d.ts +0 -0
  986. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/interfaces.d.ts +0 -0
  987. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.d.ts +0 -0
  988. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.d.ts +0 -0
  989. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.js +0 -0
  990. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.d.ts +0 -0
  991. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.d.ts +0 -0
  992. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.d.ts +0 -0
  993. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.d.ts +0 -0
  994. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/HeightResizer.d.ts +0 -0
  995. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/WidthResizer.d.ts +0 -0
  996. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/types.d.ts +0 -0
  997. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +0 -0
  998. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +0 -0
  999. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.js +0 -0
  1000. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +0 -0
  1001. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.js +0 -0
  1002. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.d.ts +0 -0
  1003. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.d.ts +0 -0
  1004. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.d.ts +0 -0
  1005. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.d.ts +0 -0
  1006. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +0 -0
  1007. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +0 -0
  1008. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.d.ts +0 -0
  1009. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.d.ts +0 -0
  1010. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.d.ts +0 -0
  1011. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZone.d.ts +0 -0
  1012. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.d.ts +0 -0
  1013. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.d.ts +0 -0
  1014. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.d.ts +0 -0
  1015. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.d.ts +0 -0
  1016. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.d.ts +0 -0
  1017. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +0 -0
  1018. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +0 -0
  1019. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +0 -0
  1020. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +0 -0
  1021. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
  1022. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +0 -0
  1023. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- // (C) 2019-2022 GoodData Corporation
1
+ // (C) 2019-2024 GoodData Corporation
2
2
  import isEqual from "lodash/isEqual.js";
3
3
  import isNil from "lodash/isNil.js";
4
4
  import { DashboardLayoutItemFacade } from "./item.js";
@@ -0,0 +1 @@
1
+ {"version":3,"file":"section.js","sourceRoot":"","sources":["../../../../../src/_staging/dashboard/legacyFluidLayout/facade/section.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAQpC,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAExD;;GAEG;AACH,MAAM,OAAO,4BAA4B;IAEd;IACA;IACA;IAHvB,YACuB,YAA8C,EAC9C,OAA0C,EAC1C,YAAoB;QAFpB,iBAAY,GAAZ,YAAY,CAAkC;QAC9C,YAAO,GAAP,OAAO,CAAmC;QAC1C,iBAAY,GAAZ,YAAY,CAAQ;IACxC,CAAC;IAEG,MAAM,CAAC,GAAG,CACb,YAA8C,EAC9C,OAA0C,EAC1C,KAAa;QAEb,OAAO,IAAI,4BAA4B,CAAC,YAAY,EAAE,OAAO,EAAE,KAAK,CAAC,CAAC;IAC1E,CAAC;IAEM,GAAG;QACN,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IAEM,MAAM;QACT,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC;IAC/B,CAAC;IAEM,KAAK;QACR,OAAO,IAAI,CAAC,MAAM,EAAE,EAAE,KAAK,CAAC;IAChC,CAAC;IAEM,WAAW;QACd,OAAO,IAAI,CAAC,MAAM,EAAE,EAAE,WAAW,CAAC;IACtC,CAAC;IAEM,KAAK;QACR,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC;IAEM,MAAM;QACT,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,KAAK,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,CAAC,OAAO,CAAC,KAAK,OAAO,EAAE,GACzE,OAAO,EAAE;IAIL,KAAK,IAAI,MAAM;IAIf,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,KAAK,OAAO,GAAG,OAAO,EAAE;IAI/F,MAAM,CAAC,OAAO,EACjB,QAAQ,EAAE,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,KAAK,OAAO,EACpF,YAAY,EAAE,OAAO,GACtB,OAAO;IAIH,KAAK,CAAC,OAAO,SAAS,6BAA6B,CAAC,OAAO,CAAC,EAC/D,IAAI,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,KAAK,OAAO,IAAI,OAAO,GAC9E,OAAO;IAIH,IAAI,CAAC,OAAO,SAAS,6BAA6B,CAAC,OAAO,CAAC,EAC9D,IAAI,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,KAAK,OAAO,IAAI,OAAO,GAC9E,OAAO;IAIH,IAAI,CAAC,OAAO,SAAS,6BAA6B,CAAC,OAAO,CAAC,EAC9D,IAAI,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,KAAK,OAAO,IAAI,OAAO,GAC9E,OAAO,GAAG,SAAS;IAIf,MAAM,CAAC,OAAO,SAAS,6BAA6B,CAAC,OAAO,CAAC,EAChE,IAAI,EAAE,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,KAAK,OAAO,IAAI,OAAO,GAC9E,OAAO,EAAE;CAGf"}
@@ -1,4 +1,4 @@
1
- // (C) 2019-2022 GoodData Corporation
1
+ // (C) 2019-2024 GoodData Corporation
2
2
  import flatMap from "lodash/flatMap.js";
3
3
  import { DashboardLayoutSectionFacade } from "./section.js";
4
4
  /**
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sections.js","sourceRoot":"","sources":["../../../../../src/_staging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AAC,cAAc,CAAC,MAAM,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAC9D,CAAC;IAEM,KAAK,CACR,IAA6E;QAE7E,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;IAEM,IAAI,CACP,IAA6E;QAE7E,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAEM,IAAI,CACP,IAA6E;QAE7E,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAEM,MAAM,CACT,IAA6E;QAE7E,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC5C,CAAC;CACJ"}
@@ -0,0 +1,11 @@
1
+ export { DashboardLayoutBuilder } from "./builder/layout.js";
2
+ export type { DashboardLayoutItemModifications, DashboardLayoutItemsSelector, DashboardLayoutModifications, DashboardLayoutSectionModifications, DashboardLayoutSectionsSelector, IDashboardLayoutBuilder, IDashboardLayoutItemBuilder, IDashboardLayoutSectionBuilder, } from "./builder/interfaces.js";
3
+ export { DashboardLayoutItemBuilder } from "./builder/item.js";
4
+ export { DashboardLayoutSectionBuilder } from "./builder/section.js";
5
+ export type { IDashboardLayoutFacade, IDashboardLayoutSectionFacade, IDashboardLayoutSectionsFacade, IDashboardLayoutItemFacade, IDashboardLayoutItemsFacade, } from "./facade/interfaces.js";
6
+ export { DashboardLayoutFacade } from "./facade/layout.js";
7
+ export { DashboardLayoutSectionFacade } from "./facade/section.js";
8
+ export { DashboardLayoutItemsFacade } from "./facade/items.js";
9
+ export { DashboardLayoutItemFacade } from "./facade/item.js";
10
+ export { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "./config.js";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/_staging/dashboard/legacyFluidLayout/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EACR,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,mCAAmC,EACnC,+BAA+B,EAC/B,uBAAuB,EACvB,2BAA2B,EAC3B,8BAA8B,GACjC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACrE,YAAY,EACR,sBAAsB,EACtB,6BAA6B,EAC7B,8BAA8B,EAC9B,0BAA0B,EAC1B,2BAA2B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,10 @@
1
+ // (C) 2021-2024 GoodData Corporation
2
+ export { DashboardLayoutBuilder } from "./builder/layout.js";
3
+ export { DashboardLayoutItemBuilder } from "./builder/item.js";
4
+ export { DashboardLayoutSectionBuilder } from "./builder/section.js";
5
+ export { DashboardLayoutFacade } from "./facade/layout.js";
6
+ export { DashboardLayoutSectionFacade } from "./facade/section.js";
7
+ export { DashboardLayoutItemsFacade } from "./facade/items.js";
8
+ export { DashboardLayoutItemFacade } from "./facade/item.js";
9
+ export { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "./config.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/_staging/dashboard/legacyFluidLayout/index.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAW7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AAQrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAC"}
@@ -1,7 +1,25 @@
1
- import { ILayoutCoordinates } from "../../types.js";
2
- import { IDashboardLayoutItemFacade } from "../dashboard/fluidLayout/facade/interfaces.js";
1
+ import { IDashboardLayout, IDashboardLayoutSection, IDashboardLayoutItem } from "@gooddata/sdk-model";
2
+ import { ILayoutCoordinates, ILayoutItemPath, ILayoutSectionPath } from "../../types.js";
3
+ import { IDashboardLayoutItemFacade } from "../dashboard/legacyFluidLayout/facade/interfaces.js";
4
+ import { ExtendedDashboardWidget } from "../../model/types/layoutTypes.js";
3
5
  /**
4
6
  * @internal
5
7
  */
6
8
  export declare function getLayoutCoordinates(item: IDashboardLayoutItemFacade<unknown>): ILayoutCoordinates;
9
+ export declare const areLayoutPathsEqual: (path1: ILayoutItemPath | undefined, path2: ILayoutItemPath | undefined) => boolean;
10
+ export declare const areItemsInSameSection: (path1: ILayoutItemPath | undefined, path2: ILayoutItemPath | undefined) => boolean;
11
+ export declare const serializeLayoutItemPath: (path: ILayoutItemPath | undefined) => string;
12
+ export declare const serializeLayoutSectionPath: (path: ILayoutSectionPath | undefined) => string;
13
+ export declare const areSectionLayoutPathsEqual: (section1: ILayoutSectionPath | undefined, section2: ILayoutSectionPath | undefined) => boolean;
14
+ export declare const asLayoutItemPath: (sectionIndex: ILayoutSectionPath, itemIndex: number) => ILayoutItemPath;
15
+ export declare const asSectionPath: (layoutPath: ILayoutItemPath) => ILayoutSectionPath;
16
+ export declare const findSection: (layout: IDashboardLayout<ExtendedDashboardWidget>, index: ILayoutSectionPath | ILayoutItemPath) => IDashboardLayoutSection<ExtendedDashboardWidget>;
17
+ export declare const findSections: (layout: IDashboardLayout<ExtendedDashboardWidget>, index: ILayoutSectionPath | ILayoutItemPath) => IDashboardLayoutSection<ExtendedDashboardWidget>[];
18
+ export declare const findItem: (layout: IDashboardLayout<ExtendedDashboardWidget>, path: ILayoutItemPath) => IDashboardLayoutItem<ExtendedDashboardWidget>;
19
+ export declare const isItemInSection: (item: ILayoutItemPath, section: ILayoutSectionPath) => boolean;
20
+ export declare const getItemIndex: (layoutPath: ILayoutItemPath) => number;
21
+ export declare const getSectionIndex: (layoutPath: ILayoutItemPath | ILayoutSectionPath) => number;
22
+ export declare const updateItemIndex: (layoutPath: ILayoutItemPath, newItemIndex: number) => ILayoutItemPath;
23
+ export declare const updateSectionIndex: (layoutPath: ILayoutSectionPath, newSectionIndex: number) => ILayoutSectionPath;
24
+ export declare const updateItem: (layoutPath: ILayoutItemPath, newSectionIndex: number, newItemIndex: number) => ILayoutItemPath;
7
25
  //# sourceMappingURL=coordinates.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"coordinates.d.ts","sourceRoot":"","sources":["../../../src/_staging/layout/coordinates.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+CAA+C,CAAC;AAE3F;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,GAAG,kBAAkB,CAKlG"}
1
+ {"version":3,"file":"coordinates.d.ts","sourceRoot":"","sources":["../../../src/_staging/layout/coordinates.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,gBAAgB,EAChB,uBAAuB,EA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mCAAoC,kBAAkB,KAAG,OASpF,CAAC;AAEF,eAAO,MAAM,YAAY,mCAAkC,MAG1D,CAAC;AAEF,eAAO,MAAM,eAAe,eAAgB,eAAe,GAAG,kBAAkB,KAAG,MAKlF,CAAC;AAEF,eAAO,MAAM,eAAe,8CAA+C,MAAM,oBAShF,CAAC;AAEF,eAAO,MAAM,kBAAkB,eACf,kBAAkB,mBACb,MAAM,KACxB,kBAMF,CAAC;AAEF,eAAO,MAAM,UAAU,iDAEF,MAAM,gBACT,MAAM,oBAUvB,CAAC"}
@@ -1,4 +1,7 @@
1
- // (C) 2019-2022 GoodData Corporation
1
+ // (C) 2019-2024 GoodData Corporation
2
+ import { isDashboardLayout, } from "@gooddata/sdk-model";
3
+ import { invariant } from "ts-invariant";
4
+ import { isLayoutSectionPath } from "../../types.js";
2
5
  /**
3
6
  * @internal
4
7
  */
@@ -8,4 +11,190 @@ export function getLayoutCoordinates(item) {
8
11
  itemIndex: item.index(),
9
12
  };
10
13
  }
14
+ export const areLayoutPathsEqual = (path1, path2) => {
15
+ if (path1 === path2) {
16
+ return true;
17
+ }
18
+ if (path1 === undefined || path2 === undefined) {
19
+ return false;
20
+ }
21
+ if (path1.length !== path2.length) {
22
+ return false;
23
+ }
24
+ return path1.every((path, index) => path.sectionIndex === path2[index].sectionIndex && path.itemIndex === path2[index].itemIndex);
25
+ };
26
+ export const areItemsInSameSection = (path1, path2) => {
27
+ if (path1 === undefined || path2 === undefined) {
28
+ return false;
29
+ }
30
+ if (path1.length === 0 || path2.length === 0) {
31
+ return false;
32
+ }
33
+ if (path1 === path2) {
34
+ return true;
35
+ }
36
+ if (path1.length !== path2.length) {
37
+ return false;
38
+ }
39
+ return path1.every((path, index) => path.sectionIndex === path2[index].sectionIndex &&
40
+ path.sectionIndex !== undefined &&
41
+ path2[index].sectionIndex !== undefined &&
42
+ (path.itemIndex === path2[index].itemIndex || index === path1.length - 1));
43
+ };
44
+ export const serializeLayoutItemPath = (path) => {
45
+ return (path?.map(({ sectionIndex, itemIndex }) => `${sectionIndex}_${itemIndex}`).join("-") || "undefined");
46
+ };
47
+ export const serializeLayoutSectionPath = (path) => {
48
+ const parentPath = path?.parent
49
+ ?.map(({ sectionIndex, itemIndex }) => `${sectionIndex}_${itemIndex}`)
50
+ .join("-");
51
+ return parentPath
52
+ ? `${parentPath}-${path?.sectionIndex}`
53
+ : path?.sectionIndex === undefined
54
+ ? "undefined"
55
+ : String(path.sectionIndex);
56
+ };
57
+ export const areSectionLayoutPathsEqual = (section1, section2) => {
58
+ if (section1 === section2) {
59
+ return true;
60
+ }
61
+ if (section1 === undefined || section2 === undefined) {
62
+ return false;
63
+ }
64
+ if (!areLayoutPathsEqual(section1.parent, section2.parent)) {
65
+ return false;
66
+ }
67
+ return section1.sectionIndex == section2.sectionIndex;
68
+ };
69
+ export const asLayoutItemPath = (sectionIndex, itemIndex) => {
70
+ invariant(sectionIndex, "Section path is not defined.");
71
+ return [
72
+ ...(sectionIndex.parent ? sectionIndex.parent : []),
73
+ {
74
+ sectionIndex: sectionIndex.sectionIndex,
75
+ itemIndex,
76
+ },
77
+ ];
78
+ };
79
+ export const asSectionPath = (layoutPath) => {
80
+ invariant(layoutPath, "Layout item path is not defined.");
81
+ const parent = layoutPath.slice(0, -1);
82
+ return {
83
+ parent: parent.length === 0 ? undefined : parent,
84
+ sectionIndex: getSectionIndex(layoutPath),
85
+ };
86
+ };
87
+ const findSectionRecursive = (searchingViaItemPath, currentLayout, path, targetSectionIndex) => {
88
+ if (path.length === 0) {
89
+ const section = currentLayout.sections[targetSectionIndex];
90
+ invariant(section, "Section not found under the provided path.");
91
+ return section;
92
+ }
93
+ const [nextPathEntry, ...remainingPath] = path;
94
+ const section = currentLayout.sections[nextPathEntry.sectionIndex];
95
+ const item = section.items[nextPathEntry.itemIndex];
96
+ if (searchingViaItemPath && remainingPath.length === 0) {
97
+ return section;
98
+ }
99
+ invariant(isDashboardLayout(item.widget), "Invalid path: Expected a layout at the specified path.");
100
+ return findSectionRecursive(searchingViaItemPath, item.widget, remainingPath, targetSectionIndex);
101
+ };
102
+ export const findSection = (layout, index) => {
103
+ invariant(layout, "Layout is undefined.");
104
+ invariant(index, "Layout item or section path is undefined.");
105
+ if (isLayoutSectionPath(index)) {
106
+ const path = index.parent ?? [];
107
+ return findSectionRecursive(false, layout, path, index.sectionIndex);
108
+ }
109
+ else {
110
+ const path = index.length > 1 ? index : [];
111
+ const sectionIndex = index[index.length - 1].sectionIndex;
112
+ return findSectionRecursive(true, layout, path, sectionIndex);
113
+ }
114
+ };
115
+ const findSectionsRecursive = (searchingViaItemPath, currentLayout, path) => {
116
+ if (path.length === 0) {
117
+ const sections = currentLayout.sections;
118
+ invariant(sections, "Invalid path: Expected a sections to find based on provided path.");
119
+ return sections;
120
+ }
121
+ const [nextPathEntry, ...remainingPath] = path;
122
+ const section = currentLayout.sections[nextPathEntry.sectionIndex];
123
+ const item = section.items[nextPathEntry.itemIndex];
124
+ if (searchingViaItemPath && remainingPath.length === 0) {
125
+ return currentLayout.sections;
126
+ }
127
+ invariant(isDashboardLayout(item.widget), "Invalid path: Expected a layout at the specified path.");
128
+ return findSectionsRecursive(searchingViaItemPath, item.widget, remainingPath);
129
+ };
130
+ export const findSections = (layout, index) => {
131
+ invariant(layout, "Layout is undefined.");
132
+ invariant(index !== undefined &&
133
+ (isLayoutSectionPath(index) ? index.sectionIndex !== undefined : index.length > 0), "Layout item or section path is undefined.");
134
+ const path = isLayoutSectionPath(index) ? index.parent ?? [] : index;
135
+ return findSectionsRecursive(!isLayoutSectionPath(index), layout, path);
136
+ };
137
+ export const findItem = (layout, path) => {
138
+ invariant(layout, "Layout is undefined.");
139
+ invariant(path !== undefined && path.length > 0, "Layout item path is undefined.");
140
+ const [nextPathEntry, ...remainingPath] = path;
141
+ // Get the target section
142
+ const section = layout.sections[nextPathEntry.sectionIndex];
143
+ invariant(section, "Invalid path: Section index out of bounds.");
144
+ // Get the target item in the section
145
+ const item = section.items[nextPathEntry.itemIndex];
146
+ invariant(item, "Invalid path: Item index out of bounds.");
147
+ // Base case: if there are no more path entries, we’ve reached the target item
148
+ if (remainingPath.length === 0) {
149
+ return item;
150
+ }
151
+ // Recursive case: if there are more path entries, ensure the item is a layout and keep traversing
152
+ invariant(isDashboardLayout(item.widget), "Invalid path: Expected a layout at the specified path.");
153
+ // Recur into the nested layout
154
+ return findItem(item.widget, remainingPath);
155
+ };
156
+ const sanitizeParentPath = (path) => path === undefined || path.length > 0 ? path : undefined;
157
+ export const isItemInSection = (item, section) => {
158
+ invariant(item, "Layout item path is undefined.");
159
+ invariant(section, "Layout section path is undefined.");
160
+ const isParentSame = areLayoutPathsEqual(sanitizeParentPath(item.slice(0, -1)), sanitizeParentPath(section.parent));
161
+ return isParentSame && getSectionIndex(item) === section.sectionIndex;
162
+ };
163
+ export const getItemIndex = (layoutPath) => {
164
+ invariant(layoutPath, "Layout item path is undefined.");
165
+ return layoutPath[layoutPath.length - 1].itemIndex;
166
+ };
167
+ export const getSectionIndex = (layoutPath) => {
168
+ invariant(layoutPath, "Layout item or section path is undefined.");
169
+ return isLayoutSectionPath(layoutPath)
170
+ ? layoutPath.sectionIndex
171
+ : layoutPath[layoutPath.length - 1].sectionIndex;
172
+ };
173
+ export const updateItemIndex = (layoutPath, newItemIndex) => {
174
+ invariant(layoutPath !== undefined && layoutPath.length > 0, "Layout item path is undefined.");
175
+ return [
176
+ ...layoutPath.slice(0, -1),
177
+ {
178
+ sectionIndex: getSectionIndex(layoutPath),
179
+ itemIndex: newItemIndex,
180
+ },
181
+ ];
182
+ };
183
+ export const updateSectionIndex = (layoutPath, newSectionIndex) => {
184
+ invariant(layoutPath, "Layout section path is undefined.");
185
+ return {
186
+ ...layoutPath,
187
+ sectionIndex: newSectionIndex,
188
+ };
189
+ };
190
+ export const updateItem = (layoutPath, newSectionIndex, newItemIndex) => {
191
+ invariant(layoutPath !== undefined && layoutPath.length > 0, "Layout item path is undefined.");
192
+ return [
193
+ ...layoutPath.slice(0, -1),
194
+ {
195
+ sectionIndex: newSectionIndex,
196
+ itemIndex: newItemIndex,
197
+ },
198
+ ];
199
+ };
11
200
  //# sourceMappingURL=coordinates.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"coordinates.js","sourceRoot":"","sources":["../../../src/_staging/layout/coordinates.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAKrC;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAyC;IAC1E,OAAO;QACH,YAAY,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE;QACrC,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE;KAC1B,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"coordinates.js","sourceRoot":"","sources":["../../../src/_staging/layout/coordinates.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAGH,iBAAiB,GAEpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EAA2D,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAI9G;;GAEG;AACH,MAAM,UAAU,oBAAoB,CAAC,IAAyC;IAC1E,OAAO;QACH,YAAY,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE;QACrC,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE;KAC1B,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,KAAkC,EAClC,KAAkC,EAC3B,EAAE;IACT,IAAI,KAAK,KAAK,KAAK,EAAE,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QAC7C,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,EAAE,CAAC;QAChC,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,OAAO,KAAK,CAAC,KAAK,CAC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AAU,CAAC,MAAM,GAAG,CAAC,EAAE,gCAAgC,CAAC,CAAC;IAC/F,OAAO;QACH,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAC1B;YACI,YAAY,EAAE,eAAe;YAC7B,SAAS,EAAE,YAAY;SAC1B;KACJ,CAAC;AACN,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { AnalyticalWidgetType, IDashboardLayoutSize, IInsight, IInsightDefinition, IKpi, ISettings, IWidget } from "@gooddata/sdk-model";
1
+ import { AnalyticalWidgetType, IDashboardLayoutSize, IInsight, IInsightDefinition, IKpi, ISettings, IWidget, IDashboardWidget, ScreenSize, IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
2
2
  import { IVisualizationSizeInfo } from "@gooddata/sdk-ui-ext";
3
3
  import { ObjRefMap } from "../metadata/objRefMap.js";
4
4
  import { ExtendedDashboardWidget } from "../../model/types/layoutTypes.js";
@@ -9,7 +9,7 @@ export type MeasurableWidgetContent = IInsightDefinition | IKpi;
9
9
  /**
10
10
  * @internal
11
11
  */
12
- export declare function getSizeInfo(settings: ISettings, widgetType: AnalyticalWidgetType, widgetContent?: MeasurableWidgetContent): IVisualizationSizeInfo;
12
+ export declare function getSizeInfo(settings: ISettings, widgetType: AnalyticalWidgetType | ExtendedDashboardWidget["type"], widgetContent?: MeasurableWidgetContent): IVisualizationSizeInfo;
13
13
  /**
14
14
  * @internal
15
15
  */
@@ -37,15 +37,24 @@ export declare function getMaxHeight(widgets: IWidget[], insightMap: ObjRefMap<I
37
37
  /**
38
38
  * @internal
39
39
  */
40
- export declare function getDashboardLayoutWidgetMinGridWidth(settings: ISettings, widgetType: AnalyticalWidgetType, widgetContent?: MeasurableWidgetContent): number;
40
+ export declare function getDashboardLayoutWidgetMinGridWidth(settings: ISettings, widgetType: AnalyticalWidgetType | ExtendedDashboardWidget["type"], widgetContent?: MeasurableWidgetContent): number;
41
41
  /**
42
42
  * @internal
43
43
  */
44
- export declare function getMinWidth(widget: IWidget, insightMap: ObjRefMap<IInsight>): number;
44
+ export declare function getMinWidth(widget: IDashboardWidget, insightMap: ObjRefMap<IInsight>, screen: ScreenSize): number;
45
45
  /**
46
46
  * @internal
47
47
  */
48
48
  export declare function calculateWidgetMinHeight(widget: ExtendedDashboardWidget, currentSize: IDashboardLayoutSize | undefined, insightMap: ObjRefMap<IInsight>, settings: ISettings): number | undefined;
49
49
  export declare const getDashboardLayoutItemHeight: (size: IDashboardLayoutSize) => number | undefined;
50
50
  export declare const getDashboardLayoutItemHeightForGrid: (gridHeight: number) => number;
51
+ export declare const determineSizeForScreen: (screen: ScreenSize, layoutItemSize?: IDashboardLayoutSizeByScreenSize) => IDashboardLayoutSize;
52
+ export declare const determineWidthForScreen: (screen: ScreenSize, layoutItemSize?: IDashboardLayoutSizeByScreenSize) => number;
53
+ /**
54
+ * Derive dashboard layout size for all screens from dashboard layout size defined for xl screen.
55
+ * We have only xl size saved in metadata, this will create additional screen sizes based on xl.
56
+ *
57
+ * @param xlSize - dashboard layout size for xl screen
58
+ */
59
+ export declare function implicitLayoutItemSizeFromXlSize(xlSize: IDashboardLayoutSize): IDashboardLayoutSizeByScreenSize;
51
60
  //# sourceMappingURL=sizing.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sizing.d.ts","sourceRoot":"","sources":["../../../src/_staging/layout/sizing.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,oBAAoB,EACpB,oBAAoB,EACpB,QAAQ,EACR,kBAAkB,EAClB,IAAI,EAEJ,SAAS,EAOT,OAAO,EAIV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAMH,sBAAsB,EAOzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAMrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG,IAAI,CAAC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C;AAEF;;;;;GAKG;AACH,wBAAgB,gCAAgC,CAC5C,MAAM,EAAE,oBAAoB,GAC7B,gCAAgC,CA6BlC"}
@@ -1,7 +1,9 @@
1
1
  // (C) 2019-2024 GoodData Corporation
2
- import { isDashboardWidget, isInsight, isInsightWidget, isKpi, isKpiWidget, isKpiWithoutComparison, isWidget, widgetType as getWidgetType, isVisualizationSwitcherWidget, } from "@gooddata/sdk-model";
3
- import { fluidLayoutDescriptor, getInsightSizeInfo, INSIGHT_WIDGET_SIZE_INFO_DEFAULT, INSIGHT_WIDGET_SIZE_INFO_DEFAULT_LEGACY, INSIGHT_WIDGET_SIZE_INFO_NEW_DEFAULT, KPI_WIDGET_SIZE_INFO_DEFAULT, KPI_WIDGET_SIZE_INFO_DEFAULT_LEGACY, RICH_TEXT_WIDGET_SIZE_INFO_DEFAULT, VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_DEFAULT, RICH_TEXT_WIDGET_SIZE_INFO_NEW_DEFAULT, VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_NEW_DEFAULT, } from "@gooddata/sdk-ui-ext";
2
+ import { isDashboardWidget, isInsight, isInsightWidget, isKpi, isKpiWidget, isKpiWithoutComparison, isWidget, widgetType as getWidgetType, isVisualizationSwitcherWidget, isDashboardLayout, } from "@gooddata/sdk-model";
3
+ import { fluidLayoutDescriptor, getInsightSizeInfo, INSIGHT_WIDGET_SIZE_INFO_DEFAULT, INSIGHT_WIDGET_SIZE_INFO_DEFAULT_LEGACY, INSIGHT_WIDGET_SIZE_INFO_NEW_DEFAULT, KPI_WIDGET_SIZE_INFO_DEFAULT, KPI_WIDGET_SIZE_INFO_DEFAULT_LEGACY, RICH_TEXT_WIDGET_SIZE_INFO_DEFAULT, VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_DEFAULT, RICH_TEXT_WIDGET_SIZE_INFO_NEW_DEFAULT, VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_NEW_DEFAULT, DASHBOARD_LAYOUT_WIDGET_SIZE_INFO_DEFAULT, } from "@gooddata/sdk-ui-ext";
4
4
  import { KPI_WITHOUT_COMPARISON_SIZE_INFO, KPI_WITH_COMPARISON_SIZE_INFO, GRID_ROW_HEIGHT_IN_PX, } from "./constants.js";
5
+ import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../dashboard/flexibleLayout/config.js";
6
+ import { invariant } from "ts-invariant";
5
7
  /**
6
8
  * @internal
7
9
  */
@@ -14,6 +16,9 @@ export function getSizeInfo(settings, widgetType, widgetContent) {
14
16
  ? RICH_TEXT_WIDGET_SIZE_INFO_NEW_DEFAULT
15
17
  : RICH_TEXT_WIDGET_SIZE_INFO_DEFAULT;
16
18
  }
19
+ else if (widgetType === "IDashboardLayout") {
20
+ return DASHBOARD_LAYOUT_WIDGET_SIZE_INFO_DEFAULT;
21
+ }
17
22
  else if (widgetType === "visualizationSwitcher" && !widgetContent) {
18
23
  return settings.enableDashboardFlexibleLayout
19
24
  ? VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_NEW_DEFAULT
@@ -91,10 +96,15 @@ export function getMinHeight(widgets, insightMap, defaultMin = 0) {
91
96
  });
92
97
  return Math.max(defaultMin, ...mins);
93
98
  }
99
+ const MAXIMUM_HEIGHT_OF_ROW_WITH_NESTED_WIDGETS = 2000;
94
100
  /**
95
101
  * @internal
96
102
  */
97
103
  export function getMaxHeight(widgets, insightMap) {
104
+ const containsNestedLayout = widgets.some(isDashboardLayout);
105
+ if (containsNestedLayout) {
106
+ return MAXIMUM_HEIGHT_OF_ROW_WITH_NESTED_WIDGETS;
107
+ }
98
108
  const maxs = widgets.filter(isDashboardWidget).map((widget) => {
99
109
  let widgetContent;
100
110
  if (isKpiWidget(widget)) {
@@ -126,10 +136,13 @@ function getVisSwitcherHeightWidth(widget, widgetContent, insightMap, fn) {
126
136
  });
127
137
  return result;
128
138
  }
139
+ function getCurrentWidth(item, screen) {
140
+ return determineWidthForScreen(screen, item.size);
141
+ }
129
142
  /**
130
143
  * @internal
131
144
  */
132
- export function getMinWidth(widget, insightMap) {
145
+ export function getMinWidth(widget, insightMap, screen) {
133
146
  let widgetContent;
134
147
  if (isKpiWidget(widget)) {
135
148
  widgetContent = widget.kpi;
@@ -140,7 +153,18 @@ export function getMinWidth(widget, insightMap) {
140
153
  else if (isVisualizationSwitcherWidget(widget) && widget.visualizations.length > 0) {
141
154
  return Math.max(...getVisSwitcherHeightWidth(widget, widgetContent, insightMap, getDashboardLayoutWidgetMinGridWidth));
142
155
  }
143
- return getDashboardLayoutWidgetMinGridWidth({ enableKDWidgetCustomHeight: true }, getWidgetType(widget), widgetContent);
156
+ else if (isDashboardLayout(widget)) {
157
+ const emptyLayoutMinWidth = getDashboardLayoutWidgetMinGridWidth({ enableKDWidgetCustomHeight: true }, widget.type);
158
+ return widget.sections.reduce((acc, section) => {
159
+ return Math.max(acc, section.items.reduce((acc, item) => {
160
+ return Math.max(acc, getCurrentWidth(item, screen) ?? emptyLayoutMinWidth);
161
+ }, emptyLayoutMinWidth));
162
+ }, emptyLayoutMinWidth);
163
+ }
164
+ const widgetType = isWidget(widget)
165
+ ? getWidgetType(widget)
166
+ : widget.type;
167
+ return getDashboardLayoutWidgetMinGridWidth({ enableKDWidgetCustomHeight: true }, widgetType, widgetContent);
144
168
  }
145
169
  /**
146
170
  * @internal
@@ -174,4 +198,119 @@ export const getDashboardLayoutItemHeight = (size) => {
174
198
  return undefined;
175
199
  };
176
200
  export const getDashboardLayoutItemHeightForGrid = (gridHeight) => gridHeight * GRID_ROW_HEIGHT_IN_PX;
201
+ export const determineSizeForScreen = (screen, layoutItemSize) => {
202
+ return {
203
+ ...(layoutItemSize ? layoutItemSize[screen] ?? {} : {}),
204
+ gridWidth: determineWidthForScreen(screen, layoutItemSize),
205
+ };
206
+ };
207
+ export const determineWidthForScreen = (screen, layoutItemSize) => {
208
+ // Determine if element has size set in metadata object for the current screen size
209
+ const providedSizeForScreen = layoutItemSize?.[screen];
210
+ // Use the provided size for the screen if it is known, otherwise determine the size for the current
211
+ // screen if we at least know xl size from metadata object, otherwise expect the element to be root
212
+ // element with that spans the full size.
213
+ const itemSize = providedSizeForScreen ??
214
+ implicitLayoutItemSizeFromXlSize(layoutItemSize?.xl ?? {
215
+ gridWidth: DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT,
216
+ })[screen];
217
+ // Expect element to be full size if we could not get the size for the current screen from the value above.
218
+ return itemSize?.gridWidth ?? DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT;
219
+ };
220
+ /**
221
+ * Derive dashboard layout size for all screens from dashboard layout size defined for xl screen.
222
+ * We have only xl size saved in metadata, this will create additional screen sizes based on xl.
223
+ *
224
+ * @param xlSize - dashboard layout size for xl screen
225
+ */
226
+ export function implicitLayoutItemSizeFromXlSize(xlSize) {
227
+ const xlWidth = xlSize.gridWidth;
228
+ const xlHeight = xlSize.gridHeight;
229
+ const ratio = xlSize.heightAsRatio;
230
+ switch (xlWidth) {
231
+ case 0:
232
+ return dashboardLayoutItemSizeForAllScreens(0, 0, 0, 0, 0, 0, 0);
233
+ case 1:
234
+ return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 2, 6, 12);
235
+ case 2:
236
+ return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 4, 6, 12);
237
+ case 3:
238
+ case 4:
239
+ case 5:
240
+ case 6:
241
+ case 7:
242
+ case 8:
243
+ case 9:
244
+ return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 6, 12, 12);
245
+ case 10:
246
+ return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 12, 12, 12);
247
+ case 11:
248
+ return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 12, 12, 12);
249
+ case 12:
250
+ return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 12, 12, 12);
251
+ default:
252
+ invariant(false, `Unsupported xlWidth: ${xlWidth}`);
253
+ }
254
+ }
255
+ /**
256
+ * Create dashboard layout item size for all screens,
257
+ * with identical height, defined as ratio,
258
+ * but different width, defined as grid items count.
259
+ *
260
+ * @param heightAsRatio - height as ratio to the width, defined in percents
261
+ * @param gridHeight - height as number of grid rows
262
+ * @param xl - width as grid items count for xl screen
263
+ * @param lg - width as grid items count for lg screen
264
+ * @param md - width as grid items count for md screen
265
+ * @param sm - width as grid items count for sm screen
266
+ * @param xs - width as grid items count for xs screen
267
+ */
268
+ function dashboardLayoutItemSizeForAllScreens(heightAsRatio, gridHeight, xl, lg, md, sm, xs) {
269
+ if (gridHeight) {
270
+ return {
271
+ xl: {
272
+ gridWidth: xl,
273
+ gridHeight,
274
+ },
275
+ lg: {
276
+ gridWidth: lg,
277
+ gridHeight,
278
+ },
279
+ md: {
280
+ gridWidth: md,
281
+ gridHeight,
282
+ },
283
+ sm: {
284
+ gridWidth: sm,
285
+ gridHeight,
286
+ },
287
+ xs: {
288
+ gridWidth: xs,
289
+ gridHeight,
290
+ },
291
+ };
292
+ }
293
+ return {
294
+ xl: {
295
+ gridWidth: xl,
296
+ heightAsRatio,
297
+ },
298
+ lg: {
299
+ gridWidth: lg,
300
+ heightAsRatio,
301
+ },
302
+ md: {
303
+ gridWidth: md,
304
+ heightAsRatio,
305
+ },
306
+ sm: {
307
+ gridWidth: sm,
308
+ heightAsRatio,
309
+ },
310
+ xs: {
311
+ gridWidth: xs,
312
+ heightAsRatio,
313
+ },
314
+ };
315
+ }
177
316
  //# sourceMappingURL=sizing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sizing.js","sourceRoot":"","sources":["../../../src/_staging/layout/sizing.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,EAMH,iBAAiB,EAEjB,SAAS,EACT,eAAe,EACf,KAAK,EACL,WAAW,EACX,sBAAsB,EACtB,QAAQ,EAER,UAAU,IAAI,aAAa,EAC3B,6BAA6B,GAEhC,MAAM,qBAAqB,CAAC;AA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AE;gBACb,UAAU;aACb;YACD,EAAE,EAAE;gBACA,SAAS,EAAE,EAAE;gBACb,UAAU;aACb;YACD,EAAE,EAAE;gBACA,SAAS,EAAE,EAAE;gBACb,UAAU;aACb;YACD,EAAE,EAAE;gBACA,SAAS,EAAE,EAAE;gBACb,UAAU;aACb;YACD,EAAE,EAAE;gBACA,SAAS,EAAE,EAAE;gBACb,UAAU;aACb;SACJ,CAAC;IACN,CAAC;IACD,OAAO;QACH,EAAE,EAAE;YACA,SAAS,EAAE,EAAE;YACb,aAAa;SAChB;QACD,EAAE,EAAE;YACA,SAAS,EAAE,EAAE;YACb,aAAa;SAChB;QACD,EAAE,EAAE;YACA,SAAS,EAAE,EAAE;YACb,aAAa;SAChB;QACD,EAAE,EAAE;YACA,SAAS,EAAE,EAAE;YACb,aAAa;SAChB;QACD,EAAE,EAAE;YACA,SAAS,EAAE,EAAE;YACb,aAAa;SAChB;KACJ,CAAC;AACN,CAAC"}
package/esm/internal.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * This file is used to re-export internal parts of the package that are used in other GoodData applications.
3
- * These are not to be used outside of GoodData as they can change or disappear at any time.
3
+ * These are not to be used, outside GoodData, as they can change or disappear at any time.
4
4
  * Do not add anything new here, instead try to remove as much as possible when you can.
5
5
  */
6
6
  export * from "./presentation/constants/index.js";
@@ -14,7 +14,7 @@ export * from "./presentation/widget/kpi/common/KpiContent/index.js";
14
14
  export * from "./presentation/widget/kpi/common/types.js";
15
15
  export * from "./presentation/widget/kpi/common/filterUtils.js";
16
16
  export * from "./model/utils/alertsUtils.js";
17
- export * from "./_staging/dashboard/fluidLayout/config.js";
17
+ export * from "./_staging/dashboard/legacyFluidLayout/config.js";
18
18
  export * from "./_staging/layout/sizing.js";
19
19
  export * from "./_staging/dateFilterConfig/dateFilterOptionMapping.js";
20
20
  export * from "./_staging/dateFilterConfig/dateFilterConfigConverters.js";
@@ -1 +1 @@
1
- {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,cAAc,mCAAmC,CAAC;AAClD,cAAc,+DAA+D,CAAC;AAC9E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0FAA0F,CAAC;AACzG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wEAAwE,CAAC;AAC9G,cAAc,mEAAmE,CAAC;AAClF,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wDAAwD,CAAC;AACvE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,kDAAkD,CAAC"}
1
+ {"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AAEH,cAAc,mCAAmC,CAAC;AAClD,cAAc,+DAA+D,CAAC;AAC9E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wCAAwC,CAAC;AACvD,cAAc,0FAA0F,CAAC;AACzG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wEAAwE,CAAC;AAC9G,cAAc,mEAAmE,CAAC;AAClF,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kDAAkD,CAAC;AACjE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wDAAwD,CAAC;AACvE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,kDAAkD,CAAC"}