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

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
@@ -7,22 +7,22 @@ import isEqual from "lodash/isEqual.js";
7
7
  import isNil from "lodash/isNil.js";
8
8
  import round from "lodash/round.js";
9
9
  import { invariant } from "ts-invariant";
10
- import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../../_staging/dashboard/fluidLayout/index.js";
11
- import { DashboardLayoutBuilder } from "../../../../_staging/dashboard/fluidLayout/builder/layout.js";
12
- import { DashboardLayoutFacade } from "../../../../_staging/dashboard/fluidLayout/facade/layout.js";
13
- import { getDashboardLayoutItemHeightForGrid, getSizeInfo, getDashboardLayoutWidgetMinGridWidth, getDashboardLayoutWidgetMinGridHeight, getDashboardLayoutWidgetMaxGridHeight, } from "../../../../_staging/layout/sizing.js";
10
+ import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../../_staging/dashboard/flexibleLayout/index.js";
11
+ import { DashboardLayoutBuilder } from "../../../../_staging/dashboard/flexibleLayout/builder/layout.js";
12
+ import { DashboardLayoutFacade } from "../../../../_staging/dashboard/flexibleLayout/facade/layout.js";
13
+ import { getDashboardLayoutItemHeightForGrid, getSizeInfo, getDashboardLayoutWidgetMinGridWidth, getDashboardLayoutWidgetMinGridHeight, getDashboardLayoutWidgetMaxGridHeight, implicitLayoutItemSizeFromXlSize, determineSizeForScreen, } from "../../../../_staging/layout/sizing.js";
14
14
  import { ALL_SCREENS, DASHBOARD_LAYOUT_CONTAINER_WIDTHS, DASHBOARD_LAYOUT_MAX_HEIGHT_AS_RATIO_XS, } from "../../../constants/index.js";
15
- import { GRID_COLUMNS_COUNT } from "../constants.js";
16
- export function unifyDashboardLayoutItemHeights(itemsOrLayout) {
15
+ import { getItemIndex } from "../../../../_staging/layout/coordinates.js";
16
+ export function unifyDashboardLayoutItemHeights(itemsOrLayout, parentLayoutSize, parentLayoutPath) {
17
17
  if (isDashboardLayout(itemsOrLayout)) {
18
18
  return {
19
19
  ...itemsOrLayout,
20
- sections: DashboardLayoutFacade.for(itemsOrLayout)
20
+ sections: DashboardLayoutFacade.for(itemsOrLayout, parentLayoutPath)
21
21
  .sections()
22
22
  .reduce((acc, section) => {
23
23
  acc.push({
24
24
  ...section.raw(),
25
- items: unifyDashboardLayoutItemHeights(section.items().raw()),
25
+ items: unifyDashboardLayoutItemHeights(section.items().raw(), parentLayoutSize, parentLayoutPath),
26
26
  });
27
27
  return acc;
28
28
  }, []),
@@ -34,123 +34,29 @@ export function unifyDashboardLayoutItemHeights(itemsOrLayout) {
34
34
  }));
35
35
  // items with unified height for all screens
36
36
  return ALL_SCREENS.reduce((acc, screen) => {
37
- const itemsAsFutureGridRows = splitDashboardLayoutItemsAsRenderedGridRows(acc, screen);
37
+ const itemsAsFutureGridRows = splitDashboardLayoutItemsAsRenderedGridRows(acc, parentLayoutSize, screen);
38
38
  return flatten(itemsAsFutureGridRows.map((futureGridRow) => unifyDashboardLayoutItemHeightsForScreen(futureGridRow, screen)));
39
39
  }, itemsWithSizeForAllScreens);
40
40
  }
41
- /**
42
- * Derive dashboard layout size for all screens from dashboard layout size defined for xl screen.
43
- * We have only xl size saved in metadata, this will create additional screen sizes based on xl.
44
- *
45
- * @param xlSize - dashboard layout size for xl screen
46
- */
47
- export function implicitLayoutItemSizeFromXlSize(xlSize) {
48
- const xlWidth = xlSize.gridWidth;
49
- const xlHeight = xlSize.gridHeight;
50
- const ratio = xlSize.heightAsRatio;
51
- switch (xlWidth) {
52
- case 0:
53
- return dashboardLayoutItemSizeForAllScreens(0, 0, 0, 0, 0, 0, 0);
54
- case 1:
55
- return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 2, 6, 12);
56
- case 2:
57
- return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 4, 6, 12);
58
- case 3:
59
- case 4:
60
- case 5:
61
- case 6:
62
- case 7:
63
- case 8:
64
- case 9:
65
- return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 6, 12, 12);
66
- case 10:
67
- return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 12, 12, 12);
68
- case 11:
69
- return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 12, 12, 12);
70
- case 12:
71
- return dashboardLayoutItemSizeForAllScreens(ratio, xlHeight, xlWidth, xlWidth, 12, 12, 12);
72
- default:
73
- invariant(false, `Unsupported xlWidth: ${xlWidth}`);
74
- }
75
- }
76
- /**
77
- * Create dashboard layout item size for all screens,
78
- * with identical height, defined as ratio,
79
- * but different width, defined as grid items count.
80
- *
81
- * @param heightAsRatio - height as ratio to the width, defined in percents
82
- * @param gridHeight - height as number of grid rows
83
- * @param xl - width as grid items count for xl screen
84
- * @param lg - width as grid items count for lg screen
85
- * @param md - width as grid items count for md screen
86
- * @param sm - width as grid items count for sm screen
87
- * @param xs - width as grid items count for xs screen
88
- */
89
- function dashboardLayoutItemSizeForAllScreens(heightAsRatio, gridHeight, xl, lg, md, sm, xs) {
90
- if (gridHeight) {
91
- return {
92
- xl: {
93
- gridWidth: xl,
94
- gridHeight,
95
- },
96
- lg: {
97
- gridWidth: lg,
98
- gridHeight,
99
- },
100
- md: {
101
- gridWidth: md,
102
- gridHeight,
103
- },
104
- sm: {
105
- gridWidth: sm,
106
- gridHeight,
107
- },
108
- xs: {
109
- gridWidth: xs,
110
- gridHeight,
111
- },
112
- };
113
- }
114
- return {
115
- xl: {
116
- gridWidth: xl,
117
- heightAsRatio,
118
- },
119
- lg: {
120
- gridWidth: lg,
121
- heightAsRatio,
122
- },
123
- md: {
124
- gridWidth: md,
125
- heightAsRatio,
126
- },
127
- sm: {
128
- gridWidth: sm,
129
- heightAsRatio,
130
- },
131
- xs: {
132
- gridWidth: xs,
133
- heightAsRatio,
134
- },
135
- };
136
- }
137
41
  /**
138
42
  * Divide the items into a list representing the future rows of the grid.
139
43
  * This is useful for performing item transformations, depending on how they really appear in the grid.
140
44
  *
141
45
  * @param items - dashboard layout items
46
+ * @param parentLayoutSize - the size of parent layout, undefined if the items are in the root layout
142
47
  * @param screen - responsive screen class
143
48
  */
144
- export function splitDashboardLayoutItemsAsRenderedGridRows(items, screen) {
49
+ export function splitDashboardLayoutItemsAsRenderedGridRows(items, parentLayoutSize, screen) {
50
+ const parentLayoutColumnWidth = parentLayoutSize?.[screen]?.gridWidth ?? DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT;
145
51
  const renderedRows = [];
146
52
  let currentRowWidth = 0;
147
53
  let currentRow = [];
148
54
  items.forEach((item) => {
149
- const itemSize = item.size[screen];
55
+ const itemSize = determineSizeForScreen(screen, item.size);
150
56
  if (isNil(itemSize)) {
151
57
  throw Error("Item size for current screen is undefined");
152
58
  }
153
- if (currentRowWidth + itemSize.gridWidth > DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT) {
59
+ if (currentRowWidth + itemSize.gridWidth > parentLayoutColumnWidth) {
154
60
  renderedRows.push(currentRow);
155
61
  currentRow = [];
156
62
  currentRowWidth = 0;
@@ -198,7 +104,7 @@ function unifyDashboardLayoutItemHeightsForScreen(items, screen) {
198
104
  return items.map((item) => updateDashboardLayoutItemHeight(item, screen, maxHeight));
199
105
  }
200
106
  const updateDashboardLayoutItemHeight = (item, screen, maxHeight) => {
201
- const itemSizeForCurrentScreen = item.size[screen];
107
+ const itemSizeForCurrentScreen = determineSizeForScreen(screen, item.size);
202
108
  const heightAsRatio = itemSizeForCurrentScreen?.gridWidth
203
109
  ? round(maxHeight / itemSizeForCurrentScreen.gridWidth, 2)
204
110
  : 0;
@@ -219,7 +125,7 @@ const updateDashboardLayoutItemHeight = (item, screen, maxHeight) => {
219
125
  size: {
220
126
  ...updatedColumn.size,
221
127
  [screen]: {
222
- ...updatedColumn.size[screen],
128
+ ...determineSizeForScreen(screen, updatedColumn.size),
223
129
  heightAsRatio,
224
130
  },
225
131
  },
@@ -243,28 +149,28 @@ const updateDashboardLayoutItemHeight = (item, screen, maxHeight) => {
243
149
  *
244
150
  * @internal
245
151
  */
246
- export const getResizedItemPositions = (originalLayout, resizedLayout, positions = []) => {
247
- const originalLayoutFacade = DashboardLayoutFacade.for(originalLayout);
248
- return DashboardLayoutFacade.for(resizedLayout)
152
+ export const getResizedItemPositions = (originalLayout, resizedLayout, positions = [], parentLayoutPath) => {
153
+ const originalLayoutFacade = DashboardLayoutFacade.for(originalLayout, parentLayoutPath);
154
+ return DashboardLayoutFacade.for(resizedLayout, parentLayoutPath)
249
155
  .sections()
250
156
  .reduce((acc, section) => {
251
157
  return section.items().reduce((acc, item) => {
252
158
  const originalColumn = originalLayoutFacade
253
159
  .sections()
254
- .section(section.index())
160
+ .section(section.index().sectionIndex)
255
161
  .items()
256
- .item(item.index());
162
+ .item(getItemIndex(item.index()));
257
163
  // if this bombs there is something wrong with the layout
258
164
  invariant(originalColumn);
259
165
  const originalContent = originalColumn.widget();
260
166
  const updatedContent = item.widget();
261
167
  // Is nested layout?
262
168
  if (isDashboardLayout(originalContent) && isDashboardLayout(updatedContent)) {
263
- return getResizedItemPositions(originalContent, updatedContent, positions);
169
+ return getResizedItemPositions(originalContent, updatedContent, positions, item.index());
264
170
  }
265
171
  if (!isEqual(originalColumn.size(), item.size()) &&
266
172
  (isWidget(updatedContent) || isWidgetDefinition(updatedContent))) {
267
- acc.push([item.section().index(), item.index()]);
173
+ acc.push([item.section().index().sectionIndex, getItemIndex(item.index())]);
268
174
  }
269
175
  return acc;
270
176
  }, acc);
@@ -280,23 +186,25 @@ export const getDashboardLayoutItemHeightForRatioAndScreen = (size, screen) => {
280
186
  export function getDashboardLayoutItemMaxGridWidth(item, screen) {
281
187
  let gridRowWidth = 0;
282
188
  const sectionItems = item.section().items().all();
189
+ const parentLayout = item.section().layout();
190
+ // TODO LX: 664 should not use size() here but new layout method sizeForScreen()
191
+ const maxGridWidth = parentLayout.size()?.gridWidth ?? DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT;
283
192
  for (const sectionItem of sectionItems) {
284
193
  const newWidth = sectionItem.sizeForScreen(screen).gridWidth + gridRowWidth;
285
- if (newWidth <= DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT) {
286
- if (sectionItem.index() === item.index()) {
194
+ if (newWidth <= maxGridWidth) {
195
+ if (getItemIndex(sectionItem.index()) === getItemIndex(item.index())) {
287
196
  break;
288
197
  }
289
198
  gridRowWidth = newWidth;
290
199
  }
291
200
  else {
292
- if (sectionItem.index() === item.index()) {
293
- return DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT;
201
+ if (getItemIndex(sectionItem.index()) === getItemIndex(item.index())) {
202
+ return maxGridWidth;
294
203
  }
295
- // TODO is this default ok?
296
204
  gridRowWidth = sectionItem.sizeForScreen(screen)?.gridWidth ?? 1;
297
205
  }
298
206
  }
299
- return DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT - gridRowWidth;
207
+ return maxGridWidth - gridRowWidth;
300
208
  }
301
209
  export function getDashboardLayoutWidgetDefaultGridWidth(settings, widgetType, widgetContent) {
302
210
  const sizeInfo = getSizeInfo(settings, widgetType, widgetContent);
@@ -344,17 +252,4 @@ export function validateDashboardLayoutWidgetSize(currentWidth, currentHeight, w
344
252
  validHeight,
345
253
  };
346
254
  }
347
- export const determineSizeForScreen = (screen, layoutItemSize) => {
348
- // Determine if element has size set in metadata object for the current screen size
349
- const providedSizeForScreen = layoutItemSize ? layoutItemSize[screen] : undefined;
350
- // Use the provided size for the screen if it is known, otherwise determine the size for the current
351
- // screen if we at least know xl size from metadata object, otherwise expect the element to be root
352
- // element with that spans the full size.
353
- const itemSize = providedSizeForScreen ??
354
- implicitLayoutItemSizeFromXlSize(layoutItemSize?.xl ?? {
355
- gridWidth: GRID_COLUMNS_COUNT,
356
- })[screen];
357
- // Expect element to be full size if we could not get the size for the current screen from the value above.
358
- return itemSize?.gridWidth ?? GRID_COLUMNS_COUNT;
359
- };
360
255
  //# sourceMappingURL=sizing.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sizing.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAOH,iBAAiB,EAEjB,QAAQ,EACR,kBAAkB,GAErB,MAAM,qBAAqB,CAAC;AA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C,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;IACvG,MAAM,WAAW,GACb,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;IAC7F,OAAO;QACH,UAAU;QACV,WAAW;KACd,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAClC,MAAkB,EAClB,cAAiD,EACnD,EAAE;IACA,mFAAmF;IACnF,MAAM,qBAAqB,GAAG,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IAClF,oGAAoG;IACpG,mGAAmG;IACnG,yCAAyC;IACzC,MAAM,QAAQ,GACV,qBAAqB;QACrB,gCAAgC,CAC5B,cAAc,EAAE,EAAE,IAAI;YAClB,SAAS,EAAE,kBAAkB;SAChC,CACJ,CAAC,MAAM,CAAC,CAAC;IACd,2GAA2G;IAC3G,OAAO,QAAQ,EAAE,SAAS,IAAI,kBAAkB,CAAC;AACrD,CAAC,CAAC"}
1
+ {"version":3,"file":"sizing.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAOH,iBAAiB,EAEjB,QAAQ,EACR,kBAAkB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,EAAE,SAAS,EA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AC;IAE7C,OAAO;QACH,GAAG,IAAI;QACP,IAAI,EAAE;YACF,GAAG,IAAI,CAAC,IAAI;YACZ,EAAE,EAAE;gBACA,GAAG,IAAI;aACV;SACJ;KACJ,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iCAAiC,CAC7C,YAAoB,EACpB,aAAiC,EACjC,UAAgC,EAChC,aAAsC,EACtC,QAAmB;IAKnB,MAAM,QAAQ,GAAG,oCAAoC,CAAC,QAAQ,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IAC3F,MAAM,QAAQ,GAAG,qBAAqB,CAAC,gBAAgB,CAAC;IACxD,MAAM,SAAS,GAAG,qCAAqC,CAAC,QAAQ,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IAC7F,MAAM,SAAS,GAAG,qCAAqC,CAAC,QAAQ,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IAC7F,MAAM,UAAU,GAAG,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC;IACvG,MAAM,WAAW,GACb,aAAa,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC;IAC7F,OAAO;QACH,UAAU;QACV,WAAW;KACd,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultFlexibleDashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.tsx"],"names":[],"mappings":";AAyBA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAoEnD;;GAEG;AACH,eAAO,MAAM,8BAA8B,UAAW,qBAAqB,KAAG,WAuF7E,CAAC"}
1
+ {"version":3,"file":"DefaultFlexibleDashboardLayout.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.tsx"],"names":[],"mappings":";AA0BA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAyEnD;;GAEG;AACH,eAAO,MAAM,8BAA8B,UAAW,qBAAqB,KAAG,WAqF7E,CAAC"}
@@ -3,15 +3,18 @@ import React, { useCallback, useMemo } from "react";
3
3
  import { objRefToString, isWidget, } from "@gooddata/sdk-model";
4
4
  import { LRUCache } from "lru-cache";
5
5
  import max from "lodash/max.js";
6
- import { useDashboardSelector, selectIsExport, selectIsLayoutEmpty, selectLayout, selectInsightsMap, selectEnableWidgetCustomHeight, selectRenderMode, } from "../../model/index.js";
6
+ import { useDashboardSelector, selectIsExport, selectLayout, selectInsightsMap, selectEnableWidgetCustomHeight, selectRenderMode, } from "../../model/index.js";
7
+ import { serializeLayoutItemPath } from "../../_staging/layout/coordinates.js";
7
8
  import { DashboardLayoutWidget } from "./DashboardLayoutWidget.js";
8
9
  import { DashboardLayout, DashboardLayoutBuilder, } from "./DefaultDashboardLayoutRenderer/index.js";
9
10
  import { renderModeAwareDashboardLayoutSectionRenderer } from "./DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionRenderer.js";
10
11
  import { renderModeAwareDashboardLayoutSectionHeaderRenderer } from "./DefaultDashboardLayoutRenderer/RenderModeAwareDashboardLayoutSectionHeaderRenderer.js";
11
12
  import { getMemoizedWidgetSanitizer } from "./DefaultDashboardLayoutUtils.js";
12
- import { SectionHotspot } from "../dragAndDrop/index.js";
13
- import { isInitialPlaceholderWidget } from "../../widgets/index.js";
14
13
  import { EmptyDashboardLayout } from "./EmptyDashboardLayout.js";
14
+ import { EmptyDashboardNestedLayout } from "./EmptyDashboardNestedLayout.js";
15
+ import { useScreenSize } from "../dashboard/components/DashboardScreenSizeContext.js";
16
+ import { useDashboardItemPathAndSize } from "../dashboard/components/DashboardItemPathAndSizeContext.js";
17
+ import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../_staging/dashboard/flexibleLayout/index.js";
15
18
  /**
16
19
  * Get dashboard layout for exports.
17
20
  * - Create new extra rows if current row has width of widgets greater than 12
@@ -20,12 +23,14 @@ import { EmptyDashboardLayout } from "./EmptyDashboardLayout.js";
20
23
  * @param layout - dashboard layout to modify
21
24
  * @returns transformed layout
22
25
  */
23
- function getDashboardLayoutForExport(layout) {
26
+ function getDashboardLayoutForExport(layout, parentSize) {
24
27
  const dashLayout = DashboardLayoutBuilder.for(layout);
25
28
  const layoutFacade = dashLayout.facade();
26
29
  const sections = layoutFacade.sections();
27
30
  const screenSplitSections = sections.map((section) => ({
28
- items: section.items().asGridRows("xl"),
31
+ items: section
32
+ .items()
33
+ .asGridRows("xl", parentSize?.["xl"].gridWidth ?? DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT),
29
34
  header: section.header(),
30
35
  }));
31
36
  dashLayout.removeSections();
@@ -55,20 +60,25 @@ const itemKeyGetter = (keyGetterProps) => {
55
60
  if (isWidget(widget)) {
56
61
  return objRefToString(widget.ref);
57
62
  }
58
- return keyGetterProps.item.index().toString();
63
+ return serializeLayoutItemPath(keyGetterProps.item.index());
59
64
  };
60
65
  /**
61
66
  * @alpha
62
67
  */
63
68
  export const DefaultFlexibleDashboardLayout = (props) => {
64
- const { layout: providedLayout, screen: providedScreen, parentLayoutItemSize, onFiltersChange, onDrill, onError, } = props;
69
+ const { layout: providedLayout, onFiltersChange, onDrill, onError } = props;
65
70
  const selectedLayout = useDashboardSelector(selectLayout);
66
- const isLayoutEmpty = useDashboardSelector(selectIsLayoutEmpty);
67
71
  const enableWidgetCustomHeight = useDashboardSelector(selectEnableWidgetCustomHeight);
68
72
  const insights = useDashboardSelector(selectInsightsMap);
69
73
  const isExport = useDashboardSelector(selectIsExport);
70
74
  const renderMode = useDashboardSelector(selectRenderMode);
71
- const layout = providedLayout ?? selectedLayout;
75
+ const screenSize = useScreenSize();
76
+ const { itemPath, itemSize } = useDashboardItemPathAndSize();
77
+ const layout = useMemo(() => ({
78
+ ...(providedLayout ?? selectedLayout),
79
+ ...(itemSize ? { size: itemSize[screenSize] } : {}),
80
+ }), [providedLayout, selectedLayout, itemSize, screenSize]);
81
+ const isLayoutEmpty = !layout.sections.length;
72
82
  const getInsightByRef = useCallback((insightRef) => {
73
83
  return insights.get(insightRef);
74
84
  }, [insights]);
@@ -79,24 +89,22 @@ export const DefaultFlexibleDashboardLayout = (props) => {
79
89
  }, []);
80
90
  const transformedLayout = useMemo(() => {
81
91
  if (isExport) {
82
- return getDashboardLayoutForExport(layout);
92
+ return getDashboardLayoutForExport(layout, itemSize);
83
93
  }
84
- return DashboardLayoutBuilder.for(layout)
94
+ return DashboardLayoutBuilder.for(layout, itemPath)
85
95
  .modifySections((section) => section.modifyItems(sanitizeWidgets(getInsightByRef, enableWidgetCustomHeight)))
86
96
  .build();
87
- }, [layout, isExport, getInsightByRef, enableWidgetCustomHeight, sanitizeWidgets]);
97
+ }, [isExport, layout, itemPath, itemSize, sanitizeWidgets, getInsightByRef, enableWidgetCustomHeight]);
88
98
  const widgetRenderer = useCallback((renderProps) => {
89
99
  return (React.createElement(DashboardLayoutWidget, { onError: onError, onDrill: onDrill, onFiltersChange: onFiltersChange, ...renderProps }));
90
100
  }, [onError, onDrill, onFiltersChange]);
91
101
  if (isLayoutEmpty) {
102
+ if (providedLayout) {
103
+ return React.createElement(EmptyDashboardNestedLayout, null);
104
+ }
92
105
  return React.createElement(EmptyDashboardLayout, null);
93
106
  }
94
- // do not render the tailing section hotspot if there is only one section in the layout and it has only initial placeholders in it
95
- const shouldRenderSectionHotspot = transformedLayout.sections.length > 1 ||
96
- (transformedLayout.sections.length === 1 &&
97
- transformedLayout.sections[0].items.some((i) => !isInitialPlaceholderWidget(i.widget)));
98
107
  return (React.createElement(React.Fragment, null,
99
- React.createElement(DashboardLayout, { className: isExport ? "export-mode" : "", layout: transformedLayout, parentLayoutItemSize: parentLayoutItemSize, screen: providedScreen, itemKeyGetter: itemKeyGetter, widgetRenderer: widgetRenderer, enableCustomHeight: enableWidgetCustomHeight, sectionRenderer: renderModeAwareDashboardLayoutSectionRenderer, sectionHeaderRenderer: renderModeAwareDashboardLayoutSectionHeaderRenderer, renderMode: renderMode }),
100
- !!shouldRenderSectionHotspot && (React.createElement(SectionHotspot, { index: transformedLayout.sections.length, targetPosition: "below" }))));
108
+ React.createElement(DashboardLayout, { className: isExport ? "export-mode" : "", layout: transformedLayout, parentLayoutItemSize: itemSize, parentLayoutPath: itemPath, itemKeyGetter: itemKeyGetter, widgetRenderer: widgetRenderer, enableCustomHeight: enableWidgetCustomHeight, sectionRenderer: renderModeAwareDashboardLayoutSectionRenderer, sectionHeaderRenderer: renderModeAwareDashboardLayoutSectionHeaderRenderer, renderMode: renderMode })));
101
109
  };
102
110
  //# sourceMappingURL=DefaultFlexibleDashboardLayout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultFlexibleDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAGH,cAAc,EACd,QAAQ,GAGX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,GAAG,MAAM,eAAe,CAAC;AAEhC,OAAO,EACH,oBAAoB,EACpB,cAAc,EACd,mBAAmB,EACnB,YAAY,EAEZ,iBAAiB,EACjB,8BAA8B,EAC9B,gBAAgB,GACnB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,OAAO,EACH,eAAe,EACf,sBAAsB,GAGzB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAAE,6CAA6C,EAAE,MAAM,mFAAmF,CAAC;AAClJ,OAAO,EAAE,mDAAmD,EAAE,MAAM,yFAAyF,CAAC;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,CAAC,OAAO,EAAE,OAAO,EAAE,eAAe,CAAC,CACtC,CAAC;IAEF,IAAI,aAAa,EAAE,CAAC;QAChB,OAAO,oBAAC,oBAAoB,OAAG,CAAC;IACpC,CAAC;IAED,kIAAkI;IAClI,MAAM,0BAA0B,GAC5B,iBAAiB,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC;QACrC,CAAC,iBAAiB,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC;YACpC,iBAAiB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAEhG,OAAO,CACH;QACI,oBAAC,eAAe,IACZ,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EACxC,MAAM,EAAE,iBAAiB,EACzB,oBAAoB,EAAE,oBAAoB,EAC1C,MAAM,EAAE,cAAc,EACtB,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,wBAAwB,EAC5C,eAAe,EAAE,6CAA6C,EAC9D,qBAAqB,EAAE,mDAAmD,EAC1E,UAAU,EAAE,UAAU,GACxB;QACD,CAAC,CAAC,0BAA0B,IAAI,CAC7B,oBAAC,cAAc,IAAC,KAAK,EAAE,iBAAiB,CAAC,QAAQ,CAAC,MAAM,EAAE,cAAc,EAAC,OAAO,GAAG,CACtF,CACF,CACN,CAAC;AACN,CAAC,CAAC"}
1
+ {"version":3,"file":"DefaultFlexibleDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAGH,cAAc,EACd,QAAQ,GAIX,MAAM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B,OAAG,CAAC;QAC1C,CAAC;QACD,OAAO,oBAAC,oBAAoB,OAAG,CAAC;IACpC,CAAC;IAED,OAAO,CACH;QACI,oBAAC,eAAe,IACZ,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EACxC,MAAM,EAAE,iBAAiB,EACzB,oBAAoB,EAAE,QAAQ,EAC9B,gBAAgB,EAAE,QAAQ,EAC1B,aAAa,EAAE,aAAa,EAC5B,cAAc,EAAE,cAAc,EAC9B,kBAAkB,EAAE,wBAAwB,EAC5C,eAAe,EAAE,6CAA6C,EAC9D,qBAAqB,EAAE,mDAAmD,EAC1E,UAAU,EAAE,UAAU,GACxB,CACH,CACN,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2022-2024 GoodData Corporation
2
2
  import { renderModeAware } from "../componentDefinition/index.js";
3
- import { EmptyDashboardDropZone } from "../dragAndDrop/index.js";
3
+ import { EmptyDashboardDropZone } from "./dragAndDrop/draggableWidget/EmptyDashboardDropZone.js";
4
4
  import { EmptyDashboardError } from "./EmptyDashboardError.js";
5
5
  export const EmptyDashboardLayout = renderModeAware({
6
6
  view: EmptyDashboardError,
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/EmptyDashboardLayout.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAChD,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,sBAAsB;CAC/B,CAAC,CAAC"}
1
+ {"version":3,"file":"EmptyDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/EmptyDashboardLayout.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AACjG,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAChD,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,sBAAsB;CAC/B,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const EmptyDashboardNestedLayout: import("react").ComponentType<{}>;
3
+ //# sourceMappingURL=EmptyDashboardNestedLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyDashboardNestedLayout.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/EmptyDashboardNestedLayout.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,0BAA0B,mCAGrC,CAAC"}
@@ -0,0 +1,9 @@
1
+ // (C) 2022-2024 GoodData Corporation
2
+ import { renderModeAware } from "../componentDefinition/index.js";
3
+ import { EmptyDashboardError } from "./EmptyDashboardError.js";
4
+ import { EmptyNestedLayoutDropZone } from "./dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js";
5
+ export const EmptyDashboardNestedLayout = renderModeAware({
6
+ view: EmptyDashboardError,
7
+ edit: EmptyNestedLayoutDropZone,
8
+ });
9
+ //# sourceMappingURL=EmptyDashboardNestedLayout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyDashboardNestedLayout.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/EmptyDashboardNestedLayout.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAElE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,4DAA4D,CAAC;AAEvG,MAAM,CAAC,MAAM,0BAA0B,GAAG,eAAe,CAAC;IACtD,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,yBAAyB;CAClC,CAAC,CAAC"}
@@ -1,4 +1,3 @@
1
1
  export declare const DEFAULT_COLUMN_CLIENT_WIDTH = 100;
2
2
  export declare const DEFAULT_WIDTH_RESIZER_HEIGHT = 300;
3
- export declare const emptyDOMRect: DOMRect;
4
3
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,4BAA4B,MAAM,CAAC;AAEhD,eAAO,MAAM,YAAY,SASb,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,4BAA4B,MAAM,CAAC"}
@@ -1,14 +1,4 @@
1
1
  // (C) 2022-2024 GoodData Corporation
2
2
  export const DEFAULT_COLUMN_CLIENT_WIDTH = 100;
3
3
  export const DEFAULT_WIDTH_RESIZER_HEIGHT = 300;
4
- export const emptyDOMRect = {
5
- x: 0,
6
- y: 0,
7
- bottom: 0,
8
- top: 0,
9
- left: 0,
10
- right: 0,
11
- height: 0,
12
- width: 0,
13
- };
14
4
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/constants.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAC;AAEhD,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,CAAC,EAAE,CAAC;IACJ,CAAC,EAAE,CAAC;IACJ,MAAM,EAAE,CAAC;IACT,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,CAAC;IACR,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,CAAC;CACA,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/constants.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragLayer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayer.tsx"],"names":[],"mappings":"AACA,OAAc,EAAiB,EAAE,EAA2C,MAAM,OAAO,CAAC;AAsB1F,eAAO,MAAM,kBAAkB,EAAE,EA0DhC,CAAC"}
@@ -1,14 +1,13 @@
1
- // (C) 2022 GoodData Corporation
1
+ // (C) 2022-2024 GoodData Corporation
2
2
  import React, { useCallback, useEffect, useMemo, useRef } from "react";
3
3
  import { useDragLayer } from "react-dnd";
4
- import { ContentDragPreview } from "./DragLayerPreview/ContentDragPreview.js";
4
+ import { isDraggableInternalItemType, useResizeHandlers, } from "../../dragAndDrop/index.js";
5
+ import { useScrollCorrection } from "../../dragAndDrop/Resize/useScrollCorrection.js";
6
+ import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../../constants/index.js";
5
7
  import { HeightResizerDragPreview } from "./DragLayerPreview/HeightResizerDragPreview.js";
6
8
  import { WidthResizerDragPreview } from "./DragLayerPreview/WidthResizerDragPreview.js";
7
- import { useScrollCorrection } from "./Resize/useScrollCorrection.js";
8
- import { isDraggableInternalItemType } from "./types.js";
9
- import { emptyDOMRect } from "../layout/constants.js";
10
- import { useResizeHandlers } from "./LayoutResizeContext.js";
11
- import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../constants/index.js";
9
+ import { ContentDragPreview } from "./DragLayerPreview/ContentDragPreview.js";
10
+ import { emptyDOMRect } from "../../constants.js";
12
11
  const previewComponentsMap = {
13
12
  "internal-height-resizer": HeightResizerDragPreview,
14
13
  "internal-width-resizer": WidthResizerDragPreview,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragLayer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAqB,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,EAGH,2BAA2B,EAC3B,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAE7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD,MAAM,oBAAoB,GAA2C;IACjE,yBAAyB,EAAE,wBAAwB;IACnD,wBAAwB,EAAE,uBAAuB;CACpD,CAAC;AAEF,MAAM,CAAC,MAAM,kBAAkB,GAAO,GAAG,EAAE;IACvC,MAAM,YAAY,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAClD,MAAM,EAAE,mBAAmB,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAEpD,MAAM,mBAAmB,GAAG,YAAY,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACnD,IAAI,EAAE,OAAO,CAA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AAC,CAAC;IAEjB,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,SAAS,GAAG,2BAA2B,CAAC,QAAQ,CAAC;QACnD,CAAC,CAAC,oBAAoB,CAAC,QAAQ,CAAC;QAChC,CAAC,CAAC,kBAAkB,CAAC;IAEzB,MAAM,YAAY,GAAG,2BAA2B,CAAC,QAAQ,CAAC;QACtD,CAAC,CAAC,EAAE,GAAG,mBAAmB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE;QACpE,CAAC,CAAC,mBAAmB,CAAC;IAE1B,OAAO,CACH,6BAAK,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;QAC7D,oBAAC,SAAS,OAAK,YAAY,GAAI,CAC7B,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { FC } from "react";
2
+ import { DraggableContentItem } from "../../../dragAndDrop/types.js";
3
+ import { DragPreviewProps } from "../../../dragAndDrop/DragLayerPreview/types.js";
4
+ export declare const ContentDragPreview: FC<DragPreviewProps<DraggableContentItem>>;
5
+ //# sourceMappingURL=ContentDragPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentDragPreview.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,oBAAoB,EAA4B,MAAM,+BAA+B,CAAC;AAC/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAkBlF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAkDzE,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2022-2024 GoodData Corporation
2
2
  import React, { useMemo } from "react";
3
- import { useDashboardComponentsContext } from "../../dashboardContexts/index.js";
4
- import { DEBUG_SHOW_DROP_ZONES } from "../debug.js";
3
+ import { useDashboardComponentsContext } from "../../../dashboardContexts/index.js";
4
+ import { DEBUG_SHOW_DROP_ZONES } from "../../../dragAndDrop/debug.js";
5
5
  function getItemStyles(initialOffset, clientOffset) {
6
6
  if (!initialOffset || !clientOffset) {
7
7
  return {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentDragPreview.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAM,OAAO,EAAE,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAItE,SAAS,aAAa,CAAC,aAA6B,EAAE,YAA4B;IAC9E,IAAI,CAAC,aAAa,IAAI,CAAC,YAAY,EAAE,CAAC;QAClC,OAAO;YACH,OAAO,EAAE,MAAM;SAClB,CAAC;IACN,CAAC;IAED,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,YAAY,CAAC;IAE9B,MAAM,SAAS,GAAG,aAAa,CAAC,OAAO,CAAC,KAAK,CAAC;IAC9C,OAAO;QACH,SAAS;QACT,eAAe,EAAE,SAAS;KAC7B,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,kBAAkB,GAA+C,CAAC,KAAK,EAAE,EAAE;IACpF,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE9D,MAAM,EACF,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,uCAAuC,EACvC,iCAAiC,GACpC,GAAG,6BAA6B,EAAE,CAAC;IACpC,MAAM,oBAAoB,GAAG,OAAO,CAChC,GA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CACH,6BAAK,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,aAAa,CAAC,aAAa,EAAE,YAAY,CAAC,IAC1E,SAAS,CACR,CACT,CAAC;AACN,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import { DragResizeProps } from "./types.js";
3
- import { HeightResizerDragItem } from "../types.js";
2
+ import { HeightResizerDragItem } from "../../../dragAndDrop/types.js";
3
+ import { DragResizeProps } from "../../../dragAndDrop/DragLayerPreview/types.js";
4
4
  export type HeightResizerDragPreviewProps = DragResizeProps<HeightResizerDragItem>;
5
5
  export declare const HeightResizerDragPreview: (props: HeightResizerDragPreviewProps) => React.JSX.Element;
6
6
  export declare function getLimitedYCoord(item: HeightResizerDragItem, initialSourceClientOffsetY: number, differenceFromInitialOffsetY: number, scrollingCorrectionY: number): number;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeightResizerDragPreview.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAGtE,OAAO,EAAE,eAAe,EAAwB,MAAM,gDAAgD,CAAC;AAGvG,MAAM,MAAM,6BAA6B,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AAEnF,eAAO,MAAM,wBAAwB,UAAW,6BAA6B,sBAyC5E,CAAC;AAoBF,wBAAgB,gBAAgB,CAC5B,IAAI,EAAE,qBAAqB,EAC3B,0BAA0B,EAAE,MAAM,EAClC,4BAA4B,EAAE,MAAM,EACpC,oBAAoB,EAAE,MAAM,GAC7B,MAAM,CASR"}