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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1023) hide show
  1. package/NOTICE +9 -9
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/__version.js.map +1 -1
  6. package/esm/_staging/dashboard/dashboardLayout.d.ts.map +1 -1
  7. package/esm/_staging/dashboard/dashboardLayout.js +15 -2
  8. package/esm/_staging/dashboard/dashboardLayout.js.map +1 -1
  9. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts.map +1 -0
  10. package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.js.map +1 -0
  11. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts +32 -0
  12. package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts.map +1 -0
  13. package/esm/_staging/dashboard/flexibleLayout/builder/item.js +87 -0
  14. package/esm/_staging/dashboard/flexibleLayout/builder/item.js.map +1 -0
  15. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts +40 -0
  16. package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts.map +1 -0
  17. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js +156 -0
  18. package/esm/_staging/dashboard/flexibleLayout/builder/layout.js.map +1 -0
  19. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts +32 -0
  20. package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts.map +1 -0
  21. package/esm/_staging/dashboard/flexibleLayout/builder/section.js +147 -0
  22. package/esm/_staging/dashboard/flexibleLayout/builder/section.js.map +1 -0
  23. package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -0
  24. package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.js +1 -1
  25. package/esm/_staging/dashboard/flexibleLayout/config.js.map +1 -0
  26. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts +120 -0
  27. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts.map +1 -0
  28. package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.js.map +1 -0
  29. package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts +42 -0
  30. package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts.map +1 -0
  31. package/esm/_staging/dashboard/flexibleLayout/facade/item.js +122 -0
  32. package/esm/_staging/dashboard/flexibleLayout/facade/item.js.map +1 -0
  33. package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts +23 -0
  34. package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts.map +1 -0
  35. package/esm/_staging/dashboard/flexibleLayout/facade/items.js +74 -0
  36. package/esm/_staging/dashboard/flexibleLayout/facade/items.js.map +1 -0
  37. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts +24 -0
  38. package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts.map +1 -0
  39. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js +44 -0
  40. package/esm/_staging/dashboard/flexibleLayout/facade/layout.js.map +1 -0
  41. package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts +34 -0
  42. package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts.map +1 -0
  43. package/esm/_staging/dashboard/flexibleLayout/facade/section.js +88 -0
  44. package/esm/_staging/dashboard/flexibleLayout/facade/section.js.map +1 -0
  45. package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts +24 -0
  46. package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts.map +1 -0
  47. package/esm/_staging/dashboard/flexibleLayout/facade/sections.js +55 -0
  48. package/esm/_staging/dashboard/flexibleLayout/facade/sections.js.map +1 -0
  49. package/esm/_staging/dashboard/flexibleLayout/index.d.ts.map +1 -0
  50. package/esm/_staging/dashboard/flexibleLayout/index.js.map +1 -0
  51. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts +435 -0
  52. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts.map +1 -0
  53. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js +2 -0
  54. package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js.map +1 -0
  55. package/esm/_staging/dashboard/legacyFluidLayout/builder/item.d.ts.map +1 -0
  56. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.js +1 -1
  57. package/esm/_staging/dashboard/legacyFluidLayout/builder/item.js.map +1 -0
  58. package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.d.ts.map +1 -0
  59. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.js +1 -1
  60. package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.js.map +1 -0
  61. package/esm/_staging/dashboard/legacyFluidLayout/builder/section.d.ts.map +1 -0
  62. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.js +1 -1
  63. package/esm/_staging/dashboard/legacyFluidLayout/builder/section.js.map +1 -0
  64. package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts +2 -0
  65. package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts.map +1 -0
  66. package/esm/_staging/dashboard/legacyFluidLayout/config.js +4 -0
  67. package/esm/_staging/dashboard/legacyFluidLayout/config.js.map +1 -0
  68. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.d.ts.map +1 -0
  69. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js +2 -0
  70. package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js.map +1 -0
  71. package/esm/_staging/dashboard/legacyFluidLayout/facade/item.d.ts.map +1 -0
  72. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.js +1 -1
  73. package/esm/_staging/dashboard/legacyFluidLayout/facade/item.js.map +1 -0
  74. package/esm/_staging/dashboard/legacyFluidLayout/facade/items.d.ts.map +1 -0
  75. package/esm/_staging/dashboard/legacyFluidLayout/facade/items.js.map +1 -0
  76. package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.d.ts.map +1 -0
  77. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.js +1 -1
  78. package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.js.map +1 -0
  79. package/esm/_staging/dashboard/legacyFluidLayout/facade/section.d.ts.map +1 -0
  80. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.js +1 -1
  81. package/esm/_staging/dashboard/legacyFluidLayout/facade/section.js.map +1 -0
  82. package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.d.ts.map +1 -0
  83. package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.js +1 -1
  84. package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.js.map +1 -0
  85. package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts +11 -0
  86. package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts.map +1 -0
  87. package/esm/_staging/dashboard/legacyFluidLayout/index.js +10 -0
  88. package/esm/_staging/dashboard/legacyFluidLayout/index.js.map +1 -0
  89. package/esm/_staging/layout/coordinates.d.ts +20 -2
  90. package/esm/_staging/layout/coordinates.d.ts.map +1 -1
  91. package/esm/_staging/layout/coordinates.js +190 -1
  92. package/esm/_staging/layout/coordinates.js.map +1 -1
  93. package/esm/_staging/layout/sizing.d.ts +13 -4
  94. package/esm/_staging/layout/sizing.d.ts.map +1 -1
  95. package/esm/_staging/layout/sizing.js +143 -4
  96. package/esm/_staging/layout/sizing.js.map +1 -1
  97. package/esm/internal.d.ts +2 -2
  98. package/esm/internal.d.ts.map +1 -1
  99. package/esm/internal.js +2 -2
  100. package/esm/internal.js.map +1 -1
  101. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.d.ts.map +1 -1
  102. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js +12 -2
  103. package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js.map +1 -1
  104. package/esm/model/commandHandlers/index.d.ts.map +1 -1
  105. package/esm/model/commandHandlers/index.js +2 -0
  106. package/esm/model/commandHandlers/index.js.map +1 -1
  107. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
  108. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +9 -3
  109. package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js.map +1 -1
  110. package/esm/model/commandHandlers/layout/addSectionItemsHandler.d.ts.map +1 -1
  111. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js +47 -23
  112. package/esm/model/commandHandlers/layout/addSectionItemsHandler.js.map +1 -1
  113. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.d.ts.map +1 -1
  114. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js +17 -5
  115. package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js.map +1 -1
  116. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.d.ts.map +1 -1
  117. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js +48 -18
  118. package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js.map +1 -1
  119. package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
  120. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +90 -40
  121. package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
  122. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
  123. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +90 -26
  124. package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
  125. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.d.ts.map +1 -1
  126. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js +22 -7
  127. package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js.map +1 -1
  128. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.d.ts.map +1 -1
  129. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js +5 -3
  130. package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js.map +1 -1
  131. package/esm/model/commandHandlers/layout/removeSectionItemHandler.d.ts.map +1 -1
  132. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js +36 -20
  133. package/esm/model/commandHandlers/layout/removeSectionItemHandler.js.map +1 -1
  134. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.d.ts.map +1 -1
  135. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js +38 -18
  136. package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js.map +1 -1
  137. package/esm/model/commandHandlers/layout/resizeHeightHandler.d.ts.map +1 -1
  138. package/esm/model/commandHandlers/layout/resizeHeightHandler.js +30 -11
  139. package/esm/model/commandHandlers/layout/resizeHeightHandler.js.map +1 -1
  140. package/esm/model/commandHandlers/layout/resizeWidthHandler.d.ts.map +1 -1
  141. package/esm/model/commandHandlers/layout/resizeWidthHandler.js +40 -22
  142. package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
  143. package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts +6 -0
  144. package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts.map +1 -0
  145. package/esm/model/commandHandlers/layout/setScreenSizeHandler.js +9 -0
  146. package/esm/model/commandHandlers/layout/setScreenSizeHandler.js.map +1 -0
  147. package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts +5 -4
  148. package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts.map +1 -1
  149. package/esm/model/commandHandlers/layout/validation/layoutValidation.js +55 -15
  150. package/esm/model/commandHandlers/layout/validation/layoutValidation.js.map +1 -1
  151. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
  152. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +3 -2
  153. package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
  154. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts +1 -1
  155. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts.map +1 -1
  156. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js +10 -2
  157. package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js.map +1 -1
  158. package/esm/model/commands/base.d.ts +1 -1
  159. package/esm/model/commands/base.d.ts.map +1 -1
  160. package/esm/model/commands/index.d.ts +4 -4
  161. package/esm/model/commands/index.d.ts.map +1 -1
  162. package/esm/model/commands/index.js +1 -1
  163. package/esm/model/commands/index.js.map +1 -1
  164. package/esm/model/commands/layout.d.ts +465 -10
  165. package/esm/model/commands/layout.d.ts.map +1 -1
  166. package/esm/model/commands/layout.js +473 -5
  167. package/esm/model/commands/layout.js.map +1 -1
  168. package/esm/model/events/base.d.ts +1 -1
  169. package/esm/model/events/base.d.ts.map +1 -1
  170. package/esm/model/events/base.js.map +1 -1
  171. package/esm/model/events/layout.d.ts +180 -12
  172. package/esm/model/events/layout.d.ts.map +1 -1
  173. package/esm/model/events/layout.js +42 -11
  174. package/esm/model/events/layout.js.map +1 -1
  175. package/esm/model/events/userInteraction.d.ts +6 -2
  176. package/esm/model/events/userInteraction.d.ts.map +1 -1
  177. package/esm/model/events/userInteraction.js.map +1 -1
  178. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js +1 -1
  179. package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js.map +1 -1
  180. package/esm/model/react/useDashboardCommand.d.ts +1 -0
  181. package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
  182. package/esm/model/react/useDashboardUserInteraction.d.ts +2 -1
  183. package/esm/model/react/useDashboardUserInteraction.d.ts.map +1 -1
  184. package/esm/model/react/useDashboardUserInteraction.js +4 -0
  185. package/esm/model/react/useDashboardUserInteraction.js.map +1 -1
  186. package/esm/model/react/useWidgetSelection.d.ts.map +1 -1
  187. package/esm/model/react/useWidgetSelection.js +3 -1
  188. package/esm/model/react/useWidgetSelection.js.map +1 -1
  189. package/esm/model/store/config/configSelectors.d.ts +6 -0
  190. package/esm/model/store/config/configSelectors.d.ts.map +1 -1
  191. package/esm/model/store/config/configSelectors.js +9 -1
  192. package/esm/model/store/config/configSelectors.js.map +1 -1
  193. package/esm/model/store/index.d.ts +3 -3
  194. package/esm/model/store/index.d.ts.map +1 -1
  195. package/esm/model/store/index.js +3 -3
  196. package/esm/model/store/index.js.map +1 -1
  197. package/esm/model/store/layout/index.d.ts +23 -18
  198. package/esm/model/store/layout/index.d.ts.map +1 -1
  199. package/esm/model/store/layout/index.js +6 -1
  200. package/esm/model/store/layout/index.js.map +1 -1
  201. package/esm/model/store/layout/layoutReducers.d.ts +24 -25
  202. package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
  203. package/esm/model/store/layout/layoutReducers.js +86 -58
  204. package/esm/model/store/layout/layoutReducers.js.map +1 -1
  205. package/esm/model/store/layout/layoutSelectors.d.ts +46 -2
  206. package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
  207. package/esm/model/store/layout/layoutSelectors.js +66 -4
  208. package/esm/model/store/layout/layoutSelectors.js.map +1 -1
  209. package/esm/model/store/layout/layoutState.d.ts +2 -1
  210. package/esm/model/store/layout/layoutState.d.ts.map +1 -1
  211. package/esm/model/store/layout/layoutState.js +2 -1
  212. package/esm/model/store/layout/layoutState.js.map +1 -1
  213. package/esm/model/store/layout/layoutUtils.d.ts +7 -7
  214. package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
  215. package/esm/model/store/layout/layoutUtils.js +26 -9
  216. package/esm/model/store/layout/layoutUtils.js.map +1 -1
  217. package/esm/model/store/ui/index.d.ts +5 -5
  218. package/esm/model/store/ui/uiReducers.d.ts +6 -6
  219. package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
  220. package/esm/model/store/ui/uiReducers.js +11 -8
  221. package/esm/model/store/ui/uiReducers.js.map +1 -1
  222. package/esm/model/store/ui/uiSelectors.d.ts +31 -1
  223. package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
  224. package/esm/model/store/ui/uiSelectors.js +38 -3
  225. package/esm/model/store/ui/uiSelectors.js.map +1 -1
  226. package/esm/model/store/ui/uiState.d.ts +4 -4
  227. package/esm/model/store/ui/uiState.d.ts.map +1 -1
  228. package/esm/model/store/ui/uiState.js +1 -1
  229. package/esm/model/store/ui/uiState.js.map +1 -1
  230. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +2 -2
  231. package/esm/plugins/customizationApis/fluidLayoutCustomizer.js.map +1 -1
  232. package/esm/presentation/constants.d.ts +2 -0
  233. package/esm/presentation/constants.d.ts.map +1 -0
  234. package/esm/presentation/constants.js +12 -0
  235. package/esm/presentation/constants.js.map +1 -0
  236. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
  237. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
  238. package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
  239. package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
  240. package/esm/presentation/dashboard/components/DashboardInner.js +12 -3
  241. package/esm/presentation/dashboard/components/DashboardInner.js.map +1 -1
  242. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts +18 -0
  243. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts.map +1 -0
  244. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js +32 -0
  245. package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js.map +1 -0
  246. package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
  247. package/esm/presentation/dashboard/components/DashboardMainContent.js +7 -2
  248. package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
  249. package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
  250. package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
  251. package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
  252. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts +11 -0
  253. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts.map +1 -0
  254. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +63 -0
  255. package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js.map +1 -0
  256. package/esm/presentation/dragAndDrop/DragLayerPreview/types.d.ts.map +1 -1
  257. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts +1 -0
  258. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts.map +1 -1
  259. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js +1 -1
  260. package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js.map +1 -1
  261. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts +1 -1
  262. package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
  263. package/esm/presentation/dragAndDrop/LayoutResizeContext.js +2 -2
  264. package/esm/presentation/dragAndDrop/LayoutResizeContext.js.map +1 -1
  265. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts +2 -0
  266. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts.map +1 -1
  267. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js +4 -2
  268. package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js.map +1 -1
  269. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts +1 -1
  270. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts.map +1 -1
  271. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js +4 -3
  272. package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js.map +1 -1
  273. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.d.ts.map +1 -1
  274. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js +3 -1
  275. package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js.map +1 -1
  276. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts.map +1 -1
  277. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js +4 -2
  278. package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js.map +1 -1
  279. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.d.ts.map +1 -1
  280. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js +3 -2
  281. package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js.map +1 -1
  282. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts.map +1 -1
  283. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js +3 -2
  284. package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js.map +1 -1
  285. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts +14 -0
  286. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts.map +1 -0
  287. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js +30 -0
  288. package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js.map +1 -0
  289. package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts +0 -9
  290. package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts.map +1 -1
  291. package/esm/presentation/dragAndDrop/draggableWidget/index.js +0 -9
  292. package/esm/presentation/dragAndDrop/draggableWidget/index.js.map +1 -1
  293. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.d.ts.map +1 -1
  294. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js +1 -1
  295. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js.map +1 -1
  296. package/esm/presentation/dragAndDrop/index.d.ts +0 -6
  297. package/esm/presentation/dragAndDrop/index.d.ts.map +1 -1
  298. package/esm/presentation/dragAndDrop/index.js +1 -7
  299. package/esm/presentation/dragAndDrop/index.js.map +1 -1
  300. package/esm/presentation/dragAndDrop/types.d.ts +6 -0
  301. package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
  302. package/esm/presentation/dragAndDrop/types.js +2 -1
  303. package/esm/presentation/dragAndDrop/types.js.map +1 -1
  304. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
  305. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -3
  306. package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
  307. package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
  308. package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
  309. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
  310. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +59 -37
  311. package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
  312. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  313. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +34 -16
  314. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  315. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
  316. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +10 -8
  317. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  318. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -3
  319. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  320. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +7 -4
  321. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
  322. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
  323. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  324. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +10 -7
  325. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  326. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -3
  327. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  328. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -2
  329. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
  330. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
  331. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +6 -13
  332. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
  333. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts.map +1 -1
  334. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +4 -3
  335. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
  336. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +4 -4
  337. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  338. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +14 -10
  339. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
  340. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
  341. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +3 -4
  342. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
  343. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
  344. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +8 -6
  345. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
  346. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
  347. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +2 -3
  348. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
  349. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
  350. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +3 -1
  351. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
  352. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts.map +1 -1
  353. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +13 -12
  354. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
  355. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +3 -2
  356. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  357. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +13 -12
  358. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
  359. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +1 -9
  360. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
  361. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +11 -47
  362. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
  363. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts +5 -4
  364. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
  365. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js +3 -2
  366. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
  367. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +15 -28
  368. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  369. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +3 -2
  370. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
  371. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +4 -2
  372. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
  373. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
  374. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
  375. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +9 -13
  376. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  377. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +31 -136
  378. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  379. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
  380. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +26 -18
  381. package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
  382. package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js +1 -1
  383. package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js.map +1 -1
  384. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts +3 -0
  385. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts.map +1 -0
  386. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js +9 -0
  387. package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js.map +1 -0
  388. package/esm/presentation/flexibleLayout/constants.d.ts +0 -1
  389. package/esm/presentation/flexibleLayout/constants.d.ts.map +1 -1
  390. package/esm/presentation/flexibleLayout/constants.js +0 -10
  391. package/esm/presentation/flexibleLayout/constants.js.map +1 -1
  392. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.d.ts.map +1 -0
  393. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.js +6 -7
  394. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.js.map +1 -0
  395. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
  396. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
  397. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/ContentDragPreview.js +2 -2
  398. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
  399. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.d.ts +2 -2
  400. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
  401. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js +56 -0
  402. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
  403. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.d.ts +3 -3
  404. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
  405. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.js +2 -2
  406. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
  407. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.d.ts +1 -1
  408. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
  409. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.js +1 -1
  410. package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
  411. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +9 -0
  412. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
  413. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +16 -0
  414. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
  415. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +3 -0
  416. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
  417. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +20 -0
  418. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
  419. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
  420. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js +11 -0
  421. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
  422. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +13 -0
  423. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
  424. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +95 -0
  425. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
  426. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.d.ts +1 -1
  427. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
  428. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.js +1 -1
  429. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
  430. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
  431. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js +10 -0
  432. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
  433. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts +10 -0
  434. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
  435. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +65 -0
  436. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
  437. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.d.ts.map +1 -0
  438. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js +3 -0
  439. package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js.map +1 -0
  440. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +12 -0
  441. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
  442. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +8 -0
  443. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
  444. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +11 -0
  445. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
  446. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +12 -0
  447. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
  448. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
  449. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +1 -1
  450. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
  451. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
  452. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
  453. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
  454. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
  455. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
  456. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +55 -0
  457. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
  458. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts +5 -0
  459. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -0
  460. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +50 -0
  461. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -0
  462. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts +12 -0
  463. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
  464. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +95 -0
  465. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
  466. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +8 -0
  467. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
  468. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +20 -0
  469. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
  470. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts +8 -0
  471. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
  472. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js +20 -0
  473. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
  474. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts +12 -0
  475. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
  476. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js +89 -0
  477. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
  478. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts +9 -0
  479. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
  480. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZone.js +1 -1
  481. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
  482. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
  483. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.js +1 -1
  484. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
  485. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts +8 -0
  486. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
  487. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +82 -0
  488. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
  489. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
  490. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
  491. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js +8 -9
  492. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +1 -0
  493. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts +9 -0
  494. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts.map +1 -0
  495. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js +75 -0
  496. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js.map +1 -0
  497. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts +4 -0
  498. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
  499. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js +68 -0
  500. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
  501. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts +3 -0
  502. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
  503. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js +33 -0
  504. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
  505. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts +3 -0
  506. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
  507. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js +14 -0
  508. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
  509. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts +3 -0
  510. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
  511. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js +36 -0
  512. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
  513. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts +4 -0
  514. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
  515. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js +23 -0
  516. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
  517. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +4 -0
  518. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
  519. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +8 -0
  520. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
  521. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
  522. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
  523. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js +5 -11
  524. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +1 -0
  525. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +4 -0
  526. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
  527. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js +72 -0
  528. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
  529. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +3 -0
  530. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
  531. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +35 -0
  532. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
  533. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +3 -0
  534. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
  535. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +38 -0
  536. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
  537. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +4 -0
  538. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
  539. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +43 -0
  540. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
  541. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
  542. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  543. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +44 -0
  544. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  545. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +4 -0
  546. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
  547. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js +41 -0
  548. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
  549. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
  550. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  551. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +42 -0
  552. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  553. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts +9 -0
  554. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
  555. package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.js +2 -2
  556. package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
  557. package/esm/presentation/flexibleLayout/refs.d.ts +1 -1
  558. package/esm/presentation/flexibleLayout/refs.d.ts.map +1 -1
  559. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.d.ts.map +1 -1
  560. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js +10 -6
  561. package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js.map +1 -1
  562. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
  563. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
  564. package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.js +1 -1
  565. package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
  566. package/esm/presentation/layout/DashboardLayoutWidget.js +5 -2
  567. package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
  568. package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
  569. package/esm/presentation/layout/DefaultDashboardLayout.js +2 -1
  570. package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
  571. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
  572. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js +2 -2
  573. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
  574. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +2 -2
  575. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
  576. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -1
  577. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
  578. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
  579. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
  580. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +3 -2
  581. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
  582. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -1
  583. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
  584. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -1
  585. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
  586. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +4 -2
  587. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
  588. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +1 -1
  589. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
  590. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +6 -5
  591. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
  592. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
  593. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +5 -2
  594. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
  595. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +4 -4
  596. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
  597. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js +2 -2
  598. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
  599. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +1 -1
  600. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
  601. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +1 -1
  602. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
  603. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +1 -1
  604. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
  605. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
  606. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
  607. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +1 -1
  608. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
  609. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -4
  610. package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
  611. package/esm/presentation/layout/EmptyDashboardLayout.js +2 -2
  612. package/esm/presentation/layout/EmptyDashboardLayout.js.map +1 -1
  613. package/esm/presentation/layout/constants.d.ts +0 -1
  614. package/esm/presentation/layout/constants.d.ts.map +1 -1
  615. package/esm/presentation/layout/constants.js +1 -11
  616. package/esm/presentation/layout/constants.js.map +1 -1
  617. package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts +3 -0
  618. package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts.map +1 -0
  619. package/esm/presentation/layout/dragAndDrop/DragLayer.js +60 -0
  620. package/esm/presentation/layout/dragAndDrop/DragLayer.js.map +1 -0
  621. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
  622. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
  623. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js +50 -0
  624. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
  625. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts +7 -0
  626. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
  627. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.js +3 -3
  628. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
  629. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts +29 -0
  630. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
  631. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js +62 -0
  632. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
  633. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts +9 -0
  634. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
  635. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js +24 -0
  636. package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
  637. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
  638. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.js +1 -1
  639. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
  640. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
  641. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.js +3 -3
  642. package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
  643. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts +4 -0
  644. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
  645. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizer.js +1 -1
  646. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
  647. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.d.ts +2 -2
  648. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
  649. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.js +5 -6
  650. package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
  651. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts +10 -0
  652. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
  653. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js +67 -0
  654. package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
  655. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts +4 -0
  656. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
  657. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizer.js +1 -1
  658. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
  659. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.d.ts +1 -1
  660. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
  661. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.js +7 -8
  662. package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
  663. package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts +5 -0
  664. package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts.map +1 -0
  665. package/esm/presentation/layout/dragAndDrop/Resize/types.js +3 -0
  666. package/esm/presentation/layout/dragAndDrop/Resize/types.js.map +1 -0
  667. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
  668. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +1 -1
  669. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
  670. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
  671. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +1 -1
  672. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
  673. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +8 -0
  674. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
  675. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +13 -0
  676. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
  677. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +4 -0
  678. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
  679. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +4 -0
  680. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
  681. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +2 -0
  682. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
  683. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js +2 -0
  684. package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
  685. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts +3 -0
  686. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
  687. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.js +4 -14
  688. package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
  689. package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
  690. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.js +4 -13
  691. package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
  692. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.d.ts +1 -1
  693. package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
  694. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.js +2 -2
  695. package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
  696. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
  697. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.js +1 -1
  698. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
  699. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
  700. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.js +3 -12
  701. package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
  702. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
  703. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js +9 -0
  704. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
  705. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts +7 -0
  706. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
  707. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js +14 -0
  708. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
  709. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
  710. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.js +9 -16
  711. package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
  712. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
  713. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.js +4 -4
  714. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
  715. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
  716. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.js +4 -4
  717. package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
  718. package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
  719. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.js +2 -2
  720. package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
  721. package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
  722. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.js +4 -4
  723. package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
  724. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.d.ts +1 -1
  725. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
  726. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.js +1 -1
  727. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
  728. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +2 -2
  729. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
  730. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +2 -2
  731. package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
  732. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
  733. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.js +4 -4
  734. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
  735. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
  736. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +4 -4
  737. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
  738. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
  739. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +4 -4
  740. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
  741. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
  742. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +1 -1
  743. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
  744. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  745. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +1 -1
  746. package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  747. package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
  748. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.js +2 -2
  749. package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
  750. package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
  751. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +1 -1
  752. package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
  753. package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.d.ts +1 -1
  754. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
  755. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js +17 -0
  756. package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
  757. package/esm/presentation/layout/refs.d.ts +1 -1
  758. package/esm/presentation/layout/refs.d.ts.map +1 -1
  759. package/esm/presentation/localization/bundles/en-US.json +25 -0
  760. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +1 -1
  761. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
  762. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +1 -1
  763. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
  764. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +5 -5
  765. package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
  766. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +1 -1
  767. package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
  768. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
  769. package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
  770. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +17 -3
  771. package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
  772. package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts +1 -1
  773. package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts.map +1 -1
  774. package/esm/presentation/widget/dashboardLayout/DashboardLayout.js.map +1 -1
  775. package/esm/presentation/widget/dashboardLayout/types.d.ts +5 -4
  776. package/esm/presentation/widget/dashboardLayout/types.d.ts.map +1 -1
  777. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +2 -2
  778. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
  779. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +5 -5
  780. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
  781. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +1 -1
  782. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
  783. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +27 -5
  784. package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js.map +1 -1
  785. package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js +3 -3
  786. package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js.map +1 -1
  787. package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js +7 -7
  788. package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js.map +1 -1
  789. package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js +6 -6
  790. package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js.map +1 -1
  791. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -1
  792. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +12 -3
  793. package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -1
  794. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts +7 -0
  795. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -0
  796. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +47 -0
  797. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -0
  798. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts +6 -0
  799. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts.map +1 -0
  800. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js +12 -0
  801. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js.map +1 -0
  802. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts +8 -0
  803. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -0
  804. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +31 -0
  805. package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -0
  806. package/esm/presentation/widget/widget/DashboardWidget.d.ts.map +1 -1
  807. package/esm/presentation/widget/widget/DashboardWidget.js +12 -4
  808. package/esm/presentation/widget/widget/DashboardWidget.js.map +1 -1
  809. package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
  810. package/esm/presentation/widget/widget/DefaultDashboardWidget.js +10 -6
  811. package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
  812. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
  813. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +3 -1
  814. package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js.map +1 -1
  815. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.d.ts.map +1 -1
  816. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js +3 -1
  817. package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js.map +1 -1
  818. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
  819. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +7 -2
  820. package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
  821. package/esm/presentation/widget/widget/types.d.ts +7 -1
  822. package/esm/presentation/widget/widget/types.d.ts.map +1 -1
  823. package/esm/sdk-ui-dashboard.d.ts +742 -23
  824. package/esm/types.d.ts +37 -0
  825. package/esm/types.d.ts.map +1 -1
  826. package/esm/types.js +23 -0
  827. package/esm/types.js.map +1 -1
  828. package/package.json +16 -15
  829. package/styles/css/dashboard.css +78 -47
  830. package/styles/css/dashboard.css.map +1 -1
  831. package/styles/css/dashboardNestedLayoutToolbar.css +39 -0
  832. package/styles/css/dashboardNestedLayoutToolbar.css.map +1 -0
  833. package/styles/css/dashboardNestedLayoutWidget.css +106 -0
  834. package/styles/css/dashboardNestedLayoutWidget.css.map +1 -0
  835. package/styles/css/dragAndDrop.css +134 -5
  836. package/styles/css/dragAndDrop.css.map +1 -1
  837. package/styles/css/layout.css +60 -41
  838. package/styles/css/layout.css.map +1 -1
  839. package/styles/css/main.css +396 -52
  840. package/styles/css/main.css.map +1 -1
  841. package/styles/css/resizing.css +51 -0
  842. package/styles/css/resizing.css.map +1 -1
  843. package/styles/scss/dashboard.scss +28 -11
  844. package/styles/scss/dashboardNestedLayoutToolbar.scss +41 -0
  845. package/styles/scss/dashboardNestedLayoutWidget.scss +128 -0
  846. package/styles/scss/dragAndDrop.scss +176 -8
  847. package/styles/scss/layout.scss +20 -45
  848. package/styles/scss/main.scss +2 -0
  849. package/styles/scss/resizing.scss +65 -6
  850. package/esm/_staging/dashboard/fluidLayout/builder/interfaces.d.ts.map +0 -1
  851. package/esm/_staging/dashboard/fluidLayout/builder/interfaces.js.map +0 -1
  852. package/esm/_staging/dashboard/fluidLayout/builder/item.d.ts.map +0 -1
  853. package/esm/_staging/dashboard/fluidLayout/builder/item.js.map +0 -1
  854. package/esm/_staging/dashboard/fluidLayout/builder/layout.d.ts.map +0 -1
  855. package/esm/_staging/dashboard/fluidLayout/builder/layout.js.map +0 -1
  856. package/esm/_staging/dashboard/fluidLayout/builder/section.d.ts.map +0 -1
  857. package/esm/_staging/dashboard/fluidLayout/builder/section.js.map +0 -1
  858. package/esm/_staging/dashboard/fluidLayout/config.d.ts.map +0 -1
  859. package/esm/_staging/dashboard/fluidLayout/config.js.map +0 -1
  860. package/esm/_staging/dashboard/fluidLayout/facade/interfaces.d.ts.map +0 -1
  861. package/esm/_staging/dashboard/fluidLayout/facade/interfaces.js.map +0 -1
  862. package/esm/_staging/dashboard/fluidLayout/facade/item.d.ts.map +0 -1
  863. package/esm/_staging/dashboard/fluidLayout/facade/item.js.map +0 -1
  864. package/esm/_staging/dashboard/fluidLayout/facade/items.d.ts.map +0 -1
  865. package/esm/_staging/dashboard/fluidLayout/facade/items.js.map +0 -1
  866. package/esm/_staging/dashboard/fluidLayout/facade/layout.d.ts.map +0 -1
  867. package/esm/_staging/dashboard/fluidLayout/facade/layout.js.map +0 -1
  868. package/esm/_staging/dashboard/fluidLayout/facade/section.d.ts.map +0 -1
  869. package/esm/_staging/dashboard/fluidLayout/facade/section.js.map +0 -1
  870. package/esm/_staging/dashboard/fluidLayout/facade/sections.d.ts.map +0 -1
  871. package/esm/_staging/dashboard/fluidLayout/facade/sections.js.map +0 -1
  872. package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +0 -1
  873. package/esm/_staging/dashboard/fluidLayout/index.js.map +0 -1
  874. package/esm/presentation/dragAndDrop/DragLayer.d.ts.map +0 -1
  875. package/esm/presentation/dragAndDrop/DragLayer.js.map +0 -1
  876. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +0 -5
  877. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +0 -1
  878. package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +0 -1
  879. package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +0 -1
  880. package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +0 -1
  881. package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +0 -1
  882. package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +0 -1
  883. package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +0 -1
  884. package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +0 -1
  885. package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +0 -1
  886. package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.js.map +0 -1
  887. package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +0 -1
  888. package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +0 -1
  889. package/esm/presentation/dragAndDrop/Resize/HeightResizer.d.ts.map +0 -1
  890. package/esm/presentation/dragAndDrop/Resize/HeightResizer.js.map +0 -1
  891. package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +0 -1
  892. package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.js.map +0 -1
  893. package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.d.ts.map +0 -1
  894. package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.js.map +0 -1
  895. package/esm/presentation/dragAndDrop/Resize/WidthResizer.d.ts.map +0 -1
  896. package/esm/presentation/dragAndDrop/Resize/WidthResizer.js.map +0 -1
  897. package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +0 -1
  898. package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.js.map +0 -1
  899. package/esm/presentation/dragAndDrop/Resize/types.d.ts.map +0 -1
  900. package/esm/presentation/dragAndDrop/Resize/types.js +0 -3
  901. package/esm/presentation/dragAndDrop/Resize/types.js.map +0 -1
  902. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +0 -1
  903. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +0 -1
  904. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +0 -1
  905. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +0 -1
  906. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +0 -1
  907. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +0 -1
  908. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +0 -1
  909. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +0 -1
  910. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +0 -1
  911. package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +0 -1
  912. package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +0 -1
  913. package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +0 -1
  914. package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.d.ts.map +0 -1
  915. package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js.map +0 -1
  916. package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +0 -1
  917. package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.js.map +0 -1
  918. package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +0 -1
  919. package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +0 -1
  920. package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +0 -1
  921. package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js.map +0 -1
  922. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +0 -1
  923. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.js.map +0 -1
  924. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +0 -1
  925. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +0 -1
  926. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +0 -1
  927. package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +0 -1
  928. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts +0 -3
  929. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts.map +0 -1
  930. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js +0 -46
  931. package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js.map +0 -1
  932. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
  933. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
  934. package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +0 -1
  935. package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +0 -1
  936. package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +0 -1
  937. package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +0 -1
  938. package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +0 -1
  939. package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +0 -1
  940. package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +0 -1
  941. package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +0 -1
  942. package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +0 -1
  943. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +0 -1
  944. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +0 -1
  945. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +0 -1
  946. package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +0 -1
  947. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
  948. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
  949. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +0 -1
  950. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +0 -1
  951. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +0 -1
  952. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +0 -1
  953. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +0 -1
  954. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +0 -1
  955. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +0 -1
  956. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +0 -1
  957. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +0 -1
  958. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
  959. package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
  960. package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +0 -1
  961. package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +0 -1
  962. package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
  963. package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
  964. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +0 -1
  965. package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +0 -1
  966. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts +0 -2
  967. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts.map +0 -1
  968. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js +0 -3
  969. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js.map +0 -1
  970. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts +0 -4
  971. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts.map +0 -1
  972. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js +0 -34
  973. package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js.map +0 -1
  974. package/styles/css/flexibleLayout.css +0 -425
  975. package/styles/css/flexibleLayout.css.map +0 -1
  976. package/styles/scss/flexibleLayout.scss +0 -410
  977. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.d.ts +0 -0
  978. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.js +0 -0
  979. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.d.ts +0 -0
  980. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/facade/interfaces.js +0 -0
  981. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.d.ts +0 -0
  982. /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.js +0 -0
  983. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.d.ts +0 -0
  984. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.d.ts +0 -0
  985. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.d.ts +0 -0
  986. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/interfaces.d.ts +0 -0
  987. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.d.ts +0 -0
  988. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.d.ts +0 -0
  989. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.js +0 -0
  990. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.d.ts +0 -0
  991. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.d.ts +0 -0
  992. /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.d.ts +0 -0
  993. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.d.ts +0 -0
  994. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/HeightResizer.d.ts +0 -0
  995. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/WidthResizer.d.ts +0 -0
  996. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/types.d.ts +0 -0
  997. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +0 -0
  998. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +0 -0
  999. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.js +0 -0
  1000. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +0 -0
  1001. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.js +0 -0
  1002. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.d.ts +0 -0
  1003. /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.d.ts +0 -0
  1004. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.d.ts +0 -0
  1005. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.d.ts +0 -0
  1006. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +0 -0
  1007. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +0 -0
  1008. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.d.ts +0 -0
  1009. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.d.ts +0 -0
  1010. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.d.ts +0 -0
  1011. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZone.d.ts +0 -0
  1012. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.d.ts +0 -0
  1013. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.d.ts +0 -0
  1014. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.d.ts +0 -0
  1015. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.d.ts +0 -0
  1016. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.d.ts +0 -0
  1017. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +0 -0
  1018. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +0 -0
  1019. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +0 -0
  1020. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +0 -0
  1021. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
  1022. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +0 -0
  1023. /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"removeSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AAIA,OAAO,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I,EAAE;gBACF,GAAG,EAAE,WAAW;aACnB;SACJ,CAAC,CACL,CAAC;QAEF,MAAM,sBAAsB,CACxB,wBAAwB,CACpB,GAAG,EACH,YAAY,EACZ,SAAS,EACT,SAAS,EACT,eAAe,EACf,GAAG,CAAC,aAAa,CACpB,CACJ,CAAC;IACN,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"removeSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,OAAO,EACH,WAAW,EACX,uBAAuB,EACvB,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,eAAe,GAClB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAS7F,SAAS,kBAAkB,CAAC,UAAoC;IAC5D,MAAM,EACF,GAAG,EACH,GAAG,EAAE,EACD,OAAO,EAAE,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,GACjD,EACD,MAAM,GACT,GAAG,UAAU,CAAC;IAEf,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;QACzB,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC;YAC/C,MAAM,wBAAwB,CAC1B,GAAG,EACH,UAAU,CAAC,WAAW,EACtB,0DAA0D,YAAY,oBAAoB,MAAM,CA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AG,CAAC,aAAa,CACpB,CACJ,CAAC;QAEF,MAAM,sBAAsB,CACxB,oBAAoB,CAChB,GAAG,EACH,qBAAqB,EACrB,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,EACjE,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,QAAQ,CAAC,EACtF,IAAI,EACJ,SAAS,EACT,GAAG,CAAC,aAAa,CACpB,CACJ,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,MAAM,GAAG,CACL,aAAa,CAAC,iBAAiB,CAAC;YAC5B,SAAS,EAAE,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ;YAC5E,eAAe;YACf,IAAI,EAAE;gBACF,GAAG,EAAE,WAAW;aACnB;SACJ,CAAC,CACL,CAAC;QAEF,MAAM,sBAAsB,CACxB,wBAAwB,CACpB,GAAG,EACH,YAAY,EACZ,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,EAC3D,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,SAAS,EACT,eAAe,EACf,GAAG,CAAC,aAAa,CACpB,CACJ,CAAC;IACN,CAAC;AACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"replaceSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAQ7D,OAAO,EAAE,kCAAkC,EAA6B,MAAM,wBAAwB,CAAC;AAiEvG,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,kBAAkB,GACxB,YAAY,CAAC,kCAAkC,CAAC,CAsDlD"}
1
+ {"version":3,"file":"replaceSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAQ7D,OAAO,EAAE,kCAAkC,EAA6B,MAAM,wBAAwB,CAAC;AAiHvG,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,kBAAkB,GACxB,YAAY,CAAC,kCAAkC,CAAC,CAwDlD"}
@@ -10,23 +10,43 @@ import { validateAndNormalizeWidgetItems, validateAndResolveItemFilterSettings,
10
10
  import { batchActions } from "redux-batched-actions";
11
11
  import { insightsActions } from "../../store/insights/index.js";
12
12
  import { addTemporaryIdentityToWidgets } from "../../utils/dashboardItemUtils.js";
13
+ import { serializeLayoutItemPath, findSection, findItem, getSectionIndex, getItemIndex, } from "../../../_staging/layout/coordinates.js";
13
14
  function validateAndResolve(commandCtx) {
14
- const { ctx, cmd: { payload: { sectionIndex, itemIndex }, }, items, layout, stash, } = commandCtx;
15
- if (!validateSectionExists(layout, sectionIndex)) {
16
- throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
15
+ const { ctx, cmd: { payload: { itemPath, itemIndex, sectionIndex }, }, items, layout, stash, } = commandCtx;
16
+ if (itemPath === undefined) {
17
+ if (!validateSectionExists(layout, sectionIndex)) {
18
+ throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
19
+ }
20
+ const fromSection = layout.sections[sectionIndex];
21
+ if (!validateItemExists(fromSection, itemIndex)) {
22
+ throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
23
+ }
24
+ const stashValidationResult = validateAndResolveStashedItems(stash, items);
25
+ if (!isEmpty(stashValidationResult.missing)) {
26
+ throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
27
+ }
28
+ return {
29
+ itemToReplace: fromSection.items[itemIndex],
30
+ stashValidationResult,
31
+ };
17
32
  }
18
- const fromSection = layout.sections[sectionIndex];
19
- if (!validateItemExists(fromSection, itemIndex)) {
20
- throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
33
+ else {
34
+ if (!validateSectionExists(layout, itemPath)) {
35
+ throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace item from non-existent section at ${serializeLayoutItemPath(itemPath)}.`);
36
+ }
37
+ const fromSection = findSection(layout, itemPath);
38
+ if (!validateItemExists(fromSection, itemPath)) {
39
+ throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to replace non-existent item from index ${serializeLayoutItemPath(itemPath)}. There are only ${fromSection.items.length} items in this section.`);
40
+ }
41
+ const stashValidationResult = validateAndResolveStashedItems(stash, items);
42
+ if (!isEmpty(stashValidationResult.missing)) {
43
+ throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
44
+ }
45
+ return {
46
+ itemToReplace: findItem(layout, itemPath),
47
+ stashValidationResult,
48
+ };
21
49
  }
22
- const stashValidationResult = validateAndResolveStashedItems(stash, items);
23
- if (!isEmpty(stashValidationResult.missing)) {
24
- throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to use non-existing stashes. Identifiers of missing stashes: ${stashValidationResult.missing.join(", ")}`);
25
- }
26
- return {
27
- itemToReplace: fromSection.items[itemIndex],
28
- stashValidationResult,
29
- };
30
50
  }
31
51
  export function* replaceSectionItemHandler(ctx, cmd) {
32
52
  const { payload: { item }, } = cmd;
@@ -38,14 +58,14 @@ export function* replaceSectionItemHandler(ctx, cmd) {
38
58
  stash: yield select(selectStash),
39
59
  };
40
60
  const { itemToReplace, stashValidationResult } = validateAndResolve(commandCtx);
41
- const { sectionIndex, itemIndex, stashIdentifier, autoResolveDateFilterDataset } = cmd.payload;
61
+ const { itemPath, sectionIndex, itemIndex, stashIdentifier, autoResolveDateFilterDataset } = cmd.payload;
42
62
  const normalizationResult = yield call(validateAndNormalizeWidgetItems, ctx, stashValidationResult, cmd);
43
63
  const itemsToAdd = yield call(validateAndResolveItemFilterSettings, ctx, cmd, normalizationResult, autoResolveDateFilterDataset);
64
+ const layoutPath = itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath;
44
65
  yield put(batchActions([
45
66
  insightsActions.addInsights(normalizationResult.resolvedInsights.loaded),
46
67
  layoutActions.replaceSectionItem({
47
- sectionIndex,
48
- itemIndex,
68
+ layoutPath,
49
69
  newItems: itemsToAdd,
50
70
  stashIdentifier,
51
71
  usedStashes: stashValidationResult.existing,
@@ -54,6 +74,6 @@ export function* replaceSectionItemHandler(ctx, cmd) {
54
74
  },
55
75
  }),
56
76
  ]));
57
- return layoutSectionItemReplaced(ctx, sectionIndex, itemIndex, stashValidationResult.resolved, itemToReplace, stashIdentifier, cmd.correlationId);
77
+ return layoutSectionItemReplaced(ctx, sectionIndex === undefined ? getSectionIndex(layoutPath) : sectionIndex, itemIndex === undefined ? getItemIndex(layoutPath) : itemIndex, layoutPath, stashValidationResult.resolved, itemToReplace, stashIdentifier, cmd.correlationId);
58
78
  }
59
79
  //# sourceMappingURL=replaceSectionItemHandler.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"replaceSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAsC,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACvG,OAAO,EACH,+BAA+B,EAC/B,oCAAoC,GACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAUlF,SAAS,kBAAkB,CAAC,UAAqC;IAC7D,MAAM,EACF,GAAG,EACH,GAAG,EAAE,EACD,OAAO,EAAE,EAAE,YAAY,EAAE,SAAS,EAAE,GACvC,EACD,KAAK,EACL,MAAM,EACN,KAAK,GACR,GAAG,UAAU,CAAC;IAEf,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC;QAC/C,MAAM,wBAAwB,CAC1B,GAAG,EACH,UAAU,CAAC,GAAG,EACd,2DAA2D,YAAY,oBAAoB,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A4B,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IAE/F,MAAM,mBAAmB,GAA2D,MAAM,IAAI,CAC1F,+BAA+B,EAC/B,GAAG,EACH,qBAAqB,EACrB,GAAG,CACN,CAAC;IAEF,MAAM,UAAU,GAAgE,MAAM,IAAI,CACtF,oCAAoC,EACpC,GAAG,EACH,GAAG,EACH,mBAAmB,EACnB,4BAA4B,CAC/B,CAAC;IAEF,MAAM,GAAG,CACL,YAAY,CAAC;QACT,eAAe,CAAC,WAAW,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,MAAM,CAAC;QACxE,aAAa,CAAC,kBAAkB,CAAC;YAC7B,YAAY;YACZ,SAAS;YACT,QAAQ,EAAE,UAAU;YACpB,eAAe;YACf,WAAW,EAAE,qBAAqB,CAAC,QAAQ;YAC3C,IAAI,EAAE;gBACF,GAAG;aACN;SACJ,CAAC;KACL,CAAC,CACL,CAAC;IAEF,OAAO,yBAAyB,CAC5B,GAAG,EACH,YAAY,EACZ,SAAS,EACT,qBAAqB,CAAC,QAAQ,EAC9B,aAAa,EACb,eAAe,EACf,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
1
+ {"version":3,"file":"replaceSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,OAAO,MAAM,mBAAmB,CAAC;A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,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,YAAY,EACvE,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,EAC9D,UAAU,EACV,qBAAqB,CAAC,QAAQ,EAC9B,aAAa,EACb,eAAe,EACf,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resizeHeightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeHeightHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EACH,wCAAwC,EAE3C,MAAM,wBAAwB,CAAC;AAKhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiC9D,wBAAiB,mBAAmB,CAChC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,YAAY,GAClB,YAAY,CAAC,wCAAwC,CAAC,CAqBxD"}
1
+ {"version":3,"file":"resizeHeightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeHeightHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EACH,wCAAwC,EAE3C,MAAM,wBAAwB,CAAC;AAKhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAiE9D,wBAAiB,mBAAmB,CAChC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,YAAY,GAClB,YAAY,CAAC,wCAAwC,CAAC,CA+BxD"}
@@ -1,4 +1,4 @@
1
- // (C) 2021-2022 GoodData Corporation
1
+ // (C) 2021-2024 GoodData Corporation
2
2
  import { put, select } from "redux-saga/effects";
3
3
  import { invalidArgumentsProvided } from "../../events/general.js";
4
4
  import { layoutSectionItemsHeightResized, } from "../../events/layout.js";
@@ -7,17 +7,32 @@ import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
7
7
  import { layoutActions } from "../../store/layout/index.js";
8
8
  import { selectLayout } from "../../store/layout/layoutSelectors.js";
9
9
  import { validateItemExists, validateSectionExists } from "./validation/layoutValidation.js";
10
+ import { serializeLayoutSectionPath, findSection, asLayoutItemPath, serializeLayoutItemPath, } from "../../../_staging/layout/coordinates.js";
10
11
  function validateLayoutIndexes(ctx, layout, command) {
11
12
  const { payload: { sectionIndex, itemIndexes }, } = command;
12
- if (!validateSectionExists(layout, sectionIndex)) {
13
- throw invalidArgumentsProvided(ctx, command, `Attempting to resize item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
13
+ if (typeof sectionIndex === "number") {
14
+ if (!validateSectionExists(layout, sectionIndex)) {
15
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
16
+ }
17
+ const fromSection = layout.sections[sectionIndex];
18
+ itemIndexes.forEach((itemIndex) => {
19
+ if (!validateItemExists(fromSection, itemIndex)) {
20
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
21
+ }
22
+ });
14
23
  }
15
- const fromSection = layout.sections[sectionIndex];
16
- itemIndexes.forEach((itemIndex) => {
17
- if (!validateItemExists(fromSection, itemIndex)) {
18
- throw invalidArgumentsProvided(ctx, command, `Attempting to resize non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
24
+ else {
25
+ if (!validateSectionExists(layout, sectionIndex)) {
26
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize item from non-existent section at ${serializeLayoutSectionPath(sectionIndex)}.`);
19
27
  }
20
- });
28
+ const fromSection = findSection(layout, sectionIndex);
29
+ itemIndexes.forEach((itemIndex) => {
30
+ const layoutPath = asLayoutItemPath(sectionIndex, itemIndex);
31
+ if (!validateItemExists(fromSection, layoutPath)) {
32
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize non-existent item from index ${serializeLayoutItemPath(layoutPath)}. There are only ${fromSection.items.length} items in this section.`);
33
+ }
34
+ });
35
+ }
21
36
  }
22
37
  export function* resizeHeightHandler(ctx, cmd) {
23
38
  const { payload: { sectionIndex, itemIndexes, height }, } = cmd;
@@ -25,16 +40,20 @@ export function* resizeHeightHandler(ctx, cmd) {
25
40
  const insightsMap = yield select(selectInsightsMap);
26
41
  validateLayoutIndexes(ctx, layout, cmd);
27
42
  validateHeight(ctx, layout, insightsMap, cmd);
43
+ const numericalSectionIndex = typeof sectionIndex === "number" ? sectionIndex : sectionIndex.sectionIndex;
44
+ const sectionPath = typeof sectionIndex === "number" ? { parent: undefined, sectionIndex } : sectionIndex;
28
45
  yield put(layoutActions.changeItemsHeight({
29
- sectionIndex,
46
+ sectionIndex: sectionPath,
30
47
  itemIndexes,
31
48
  height,
32
49
  }));
33
- return layoutSectionItemsHeightResized(ctx, sectionIndex, itemIndexes, height, cmd.correlationId);
50
+ return layoutSectionItemsHeightResized(ctx, numericalSectionIndex, sectionPath, itemIndexes, height, cmd.correlationId);
34
51
  }
35
52
  function validateHeight(ctx, layout, insightsMap, cmd) {
36
53
  const { payload: { sectionIndex, itemIndexes, height }, } = cmd;
37
- const widgets = itemIndexes.map((itemIndex) => layout.sections[sectionIndex].items[itemIndex].widget);
54
+ const widgets = itemIndexes.map((itemIndex) => typeof sectionIndex === "number"
55
+ ? layout.sections[sectionIndex].items[itemIndex].widget
56
+ : findSection(layout, sectionIndex).items[itemIndex].widget);
38
57
  const minLimit = getMinHeight(widgets, insightsMap);
39
58
  const maxLimit = getMaxHeight(widgets, insightsMap);
40
59
  const validHeight = height >= minLimit && height <= maxLimit;
@@ -1 +1 @@
1
- {"version":3,"file":"resizeHeightHandler.js","sourceRoot":"","sources":["../../../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AAC;QACf,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,4DAA4D,QAAQ,OAAO,QAAQ,GAAG,CACzF,CAAC;IACN,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"resizeHeightHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeHeightHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAIrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAEH,+BAA+B,GAClC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EACH,0BAA0B,EAC1B,WAAW,EACX,gBAAgB,EAChB,uBAAuB,GAC1B,MAAM,yCAAyC,CAAC;AAEjD,SAAS,qBAAqB,CAC1B,GAAqB,EACrB,MAAuC,EACvC,OAAqB;IAErB,MAAM,EACF,OAAO,EAAE,EAAE,YAAY,EAAE,WAAW,EAAE,GACzC,GAAG,OAAO,CAAC;IACZ,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE,CAAC;QACnC,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,YAAY,CAAC,EAAE,CAAC;YAC/C,MAAM,wBAAwB,CAC1B,GAAG,EACH,OAAO,EACP,0DAA0D,YAAY,oBAAoB,MAAM,CAAC,QAAQ,CAAC,MAAM,YAAY,CAC/H,CAAC;QACN,CAAC;QAED,MAAM,WAAW,GAAG,MAAM,CAAC,QAAQ,CA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AAQ,GAAG,YAAY,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAEpD,MAAM,WAAW,GAAG,MAAM,IAAI,QAAQ,IAAI,MAAM,IAAI,QAAQ,CAAC;IAE7D,IAAI,CAAC,WAAW,EAAE,CAAC;QACf,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,4DAA4D,QAAQ,OAAO,QAAQ,GAAG,CACzF,CAAC;IACN,CAAC;AACL,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"resizeWidthHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeWidthHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAOvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EACH,sCAAsC,EAEzC,MAAM,wBAAwB,CAAC;AA8BhC,wBAAiB,kBAAkB,CAC/B,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,WAAW,GACjB,YAAY,CAAC,sCAAsC,CAAC,CAoBtD"}
1
+ {"version":3,"file":"resizeWidthHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeWidthHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAOvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EACH,sCAAsC,EAEzC,MAAM,wBAAwB,CAAC;AA4DhC,wBAAiB,kBAAkB,CAC/B,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,WAAW,GACjB,YAAY,CAAC,sCAAsC,CAAC,CA6BtD"}
@@ -1,43 +1,61 @@
1
- // (C) 2021-2022 GoodData Corporation
1
+ // (C) 2021-2024 GoodData Corporation
2
2
  import { put, select } from "redux-saga/effects";
3
3
  import { invalidArgumentsProvided } from "../../events/general.js";
4
- import { getMinWidth } from "../../../_staging/layout/sizing.js";
4
+ import { determineWidthForScreen, getMinWidth } from "../../../_staging/layout/sizing.js";
5
5
  import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
6
6
  import { layoutActions } from "../../store/layout/index.js";
7
- import { selectLayout } from "../../store/layout/layoutSelectors.js";
7
+ import { selectLayout, selectScreen } from "../../store/layout/layoutSelectors.js";
8
8
  import { validateItemExists, validateSectionExists } from "./validation/layoutValidation.js";
9
9
  import { layoutSectionItemWidthResized, } from "../../events/layout.js";
10
- import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../_staging/dashboard/fluidLayout/config.js";
10
+ import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../_staging/dashboard/flexibleLayout/config.js";
11
+ import { serializeLayoutItemPath, findSection, findItem, getSectionIndex, getItemIndex, } from "../../../_staging/layout/coordinates.js";
11
12
  function validateLayoutIndexes(ctx, layout, command) {
12
- const { payload: { sectionIndex, itemIndex }, } = command;
13
- if (!validateSectionExists(layout, sectionIndex)) {
14
- throw invalidArgumentsProvided(ctx, command, `Attempting to resize item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
13
+ const { payload: { itemPath, sectionIndex, itemIndex }, } = command;
14
+ if (itemPath === undefined) {
15
+ if (!validateSectionExists(layout, sectionIndex)) {
16
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
17
+ }
18
+ const fromSection = layout.sections[sectionIndex];
19
+ if (!validateItemExists(fromSection, itemIndex)) {
20
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
21
+ }
15
22
  }
16
- const fromSection = layout.sections[sectionIndex];
17
- if (!validateItemExists(fromSection, itemIndex)) {
18
- throw invalidArgumentsProvided(ctx, command, `Attempting to resize non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
23
+ else {
24
+ if (!validateSectionExists(layout, itemPath)) {
25
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize item from non-existent section at ${serializeLayoutItemPath(itemPath)}.`);
26
+ }
27
+ const fromSection = findSection(layout, itemPath);
28
+ if (!validateItemExists(fromSection, itemPath)) {
29
+ throw invalidArgumentsProvided(ctx, command, `Attempting to resize non-existent item from index ${serializeLayoutItemPath(itemPath)}. There are only ${fromSection.items.length} items in this section.`);
30
+ }
19
31
  }
20
32
  }
21
33
  export function* resizeWidthHandler(ctx, cmd) {
22
- const { payload: { sectionIndex, itemIndex, width }, } = cmd;
34
+ const { payload: { itemPath, sectionIndex, itemIndex, width }, } = cmd;
23
35
  const layout = yield select(selectLayout);
24
36
  const insightsMap = yield select(selectInsightsMap);
37
+ const screen = yield select(selectScreen);
25
38
  validateLayoutIndexes(ctx, layout, cmd);
26
- validateWidth(ctx, layout, insightsMap, cmd);
39
+ validateWidth(ctx, layout, insightsMap, cmd, screen);
40
+ const layoutPath = itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath;
27
41
  yield put(layoutActions.changeItemWidth({
28
- sectionIndex,
29
- itemIndex,
42
+ layoutPath,
30
43
  width,
31
44
  }));
32
- return layoutSectionItemWidthResized(ctx, sectionIndex, itemIndex, width, cmd.correlationId);
45
+ return layoutSectionItemWidthResized(ctx, getSectionIndex(layoutPath), getItemIndex(layoutPath), layoutPath, width, cmd.correlationId);
33
46
  }
34
- function validateWidth(ctx, layout, insightsMap, cmd) {
35
- const { payload: { sectionIndex, itemIndex, width }, } = cmd;
36
- const widget = layout.sections[sectionIndex].items[itemIndex].widget;
37
- const minLimit = getMinWidth(widget, insightsMap);
38
- const maxLimit = DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT;
39
- const validHeight = width >= minLimit && width <= maxLimit;
40
- if (!validHeight) {
47
+ function validateWidth(ctx, layout, insightsMap, cmd, screen = "xl") {
48
+ const { payload: { itemPath, sectionIndex, itemIndex, width }, } = cmd;
49
+ const widget = itemPath === undefined
50
+ ? layout.sections[sectionIndex].items[itemIndex].widget
51
+ : findItem(layout, itemPath).widget;
52
+ const minLimit = getMinWidth(widget, insightsMap, screen);
53
+ const parent = itemPath !== undefined && itemPath.slice(0, -1).length > 0 && findItem(layout, itemPath.slice(0, -1));
54
+ const maxLimit = parent
55
+ ? determineWidthForScreen(screen, parent.size)
56
+ : DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT;
57
+ const validWidth = width >= minLimit && width <= maxLimit;
58
+ if (!validWidth) {
41
59
  throw invalidArgumentsProvided(ctx, cmd, `Attempting to set invalid width. Allowed width is from ${minLimit} to ${maxLimit}.`);
42
60
  }
43
61
  }
@@ -1 +1 @@
1
- {"version":3,"file":"resizeWidthHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeWidthHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAIrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAErE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAEH,6BAA6B,GAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,mCAAmC,EAAE,MAAM,mDAAmD,CAAC;AAExG,SAAS,qBAAqB,CAC1B,GAAqB,EACrB,MAAuC,EACvC,OAAoB;IAEpB,MAAM,EACF,OAAO,EAAE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Q,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,MAAkB;QACpE,CAAC,CAAE,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,MAAkB,CAAC;IAEzD,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,CAAC;IAC1D,MAAM,MAAM,GACR,QAAQ,KAAK,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAE1G,MAAM,QAAQ,GAAG,MAAM;QACnB,CAAC,CAAC,uBAAuB,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC;QAC9C,CAAC,CAAC,mCAAmC,CAAC;IAE1C,MAAM,UAAU,GAAG,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,QAAQ,CAAC;IAE1D,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,0DAA0D,QAAQ,OAAO,QAAQ,GAAG,CACvF,CAAC;IACN,CAAC;AACL,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { SagaIterator } from "redux-saga";
2
+ import { DashboardContext } from "../../types/commonTypes.js";
3
+ import { SetScreenSize } from "../../commands/index.js";
4
+ import { ScreenSizeChanged } from "../../events/layout.js";
5
+ export declare function setScreenSizeHandler(ctx: DashboardContext, cmd: SetScreenSize): SagaIterator<ScreenSizeChanged>;
6
+ //# sourceMappingURL=setScreenSizeHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setScreenSizeHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/setScreenSizeHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAGxD,OAAO,EAAE,iBAAiB,EAAqB,MAAM,wBAAwB,CAAC;AAE9E,wBAAiB,oBAAoB,CACjC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,aAAa,GACnB,YAAY,CAAC,iBAAiB,CAAC,CAMjC"}
@@ -0,0 +1,9 @@
1
+ import { put } from "redux-saga/effects";
2
+ import { layoutActions } from "../../store/layout/index.js";
3
+ import { screenSizeChanged } from "../../events/layout.js";
4
+ export function* setScreenSizeHandler(ctx, cmd) {
5
+ const { screenSize } = cmd.payload;
6
+ yield put(layoutActions.setScreen({ screen: screenSize }));
7
+ return screenSizeChanged(ctx, screenSize, cmd.correlationId);
8
+ }
9
+ //# sourceMappingURL=setScreenSizeHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setScreenSizeHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/setScreenSizeHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAKzC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAqB,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,MAAM,SAAS,CAAC,CAAC,oBAAoB,CACjC,GAAqB,EACrB,GAAkB;IAElB,MAAM,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IAEnC,MAAM,GAAG,CAAC,aAAa,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;IAE3D,OAAO,iBAAiB,CAAC,GAAG,EAAE,UAAU,EAAE,GAAG,CAAC,aAAa,CAAC,CAAC;AACjE,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import { IDashboardLayout } from "@gooddata/sdk-model";
2
2
  import { ExtendedDashboardLayoutSection, ExtendedDashboardWidget } from "../../../types/layoutTypes.js";
3
- export declare function validateSectionPlacement(layout: IDashboardLayout<ExtendedDashboardWidget>, index: number): boolean;
4
- export declare function validateSectionExists(layout: IDashboardLayout<ExtendedDashboardWidget>, index: number): boolean;
5
- export declare function validateItemPlacement(section: ExtendedDashboardLayoutSection, index: number): boolean;
6
- export declare function validateItemExists(section: ExtendedDashboardLayoutSection, index: number): boolean;
3
+ import { ILayoutItemPath, ILayoutSectionPath } from "../../../../types.js";
4
+ export declare function validateSectionPlacement(layout: IDashboardLayout<ExtendedDashboardWidget>, index: ILayoutSectionPath | ILayoutItemPath | number): boolean;
5
+ export declare function validateSectionExists(layout: IDashboardLayout<ExtendedDashboardWidget>, layoutPath: ILayoutItemPath | ILayoutSectionPath | number): boolean;
6
+ export declare function validateItemPlacement(section: ExtendedDashboardLayoutSection, index: ILayoutItemPath | number): boolean;
7
+ export declare function validateItemExists(section: ExtendedDashboardLayoutSection, index: ILayoutItemPath | number): boolean;
7
8
  //# sourceMappingURL=layoutValidation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"layoutValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/layoutValidation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAGxG,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,KAAK,EAAE,MAAM,GACd,OAAO,CAWT;AAED,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,KAAK,EAAE,MAAM,GACd,OAAO,CAET;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,8BAA8B,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAWrG;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,8BAA8B,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAElG"}
1
+ {"version":3,"file":"layoutValidation.d.ts","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/layoutValidation.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,8BAA8B,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExG,OAAO,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ3E,wBAAgB,wBAAwB,CACpC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,KAAK,EAAE,kBAAkB,GAAG,eAAe,GAAG,MAAM,GACrD,OAAO,CA4BT;AAED,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,CAAC,EACjD,UAAU,EAAE,eAAe,GAAG,kBAAkB,GAAG,MAAM,GAC1D,OAAO,CAOT;AAED,wBAAgB,qBAAqB,CACjC,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,eAAe,GAAG,MAAM,GAChC,OAAO,CAyBT;AAED,wBAAgB,kBAAkB,CAC9B,OAAO,EAAE,8BAA8B,EACvC,KAAK,EAAE,eAAe,GAAG,MAAM,GAChC,OAAO,CAOT"}
@@ -1,28 +1,68 @@
1
1
  import isEmpty from "lodash/isEmpty.js";
2
+ import { getItemIndex, findSection, getSectionIndex, findSections, } from "../../../../_staging/layout/coordinates.js";
2
3
  export function validateSectionPlacement(layout, index) {
3
- if (index === -1) {
4
- return true;
4
+ if (typeof index === "number") {
5
+ if (index === -1) {
6
+ return true;
7
+ }
8
+ if (isEmpty(layout.sections) && !index) {
9
+ return true;
10
+ }
11
+ // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
12
+ return index <= layout.sections.length;
5
13
  }
6
- if (isEmpty(layout.sections) && !index) {
7
- return true;
14
+ else {
15
+ const sectionIndex = getSectionIndex(index);
16
+ if (sectionIndex === -1) {
17
+ return true;
18
+ }
19
+ const sections = findSections(layout, index);
20
+ if (isEmpty(sections) && !sectionIndex) {
21
+ return true;
22
+ }
23
+ // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
24
+ return sectionIndex <= sections.length;
8
25
  }
9
- // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
10
- return index <= layout.sections.length;
11
26
  }
12
- export function validateSectionExists(layout, index) {
13
- return index > -1 && index < layout.sections.length;
27
+ export function validateSectionExists(layout, layoutPath) {
28
+ if (typeof layoutPath === "number") {
29
+ return layoutPath > -1 && layoutPath < layout.sections.length;
30
+ }
31
+ else {
32
+ const section = findSection(layout, layoutPath);
33
+ return section !== undefined;
34
+ }
14
35
  }
15
36
  export function validateItemPlacement(section, index) {
16
- if (index === -1) {
17
- return true;
37
+ if (typeof index === "number") {
38
+ if (index === -1) {
39
+ return true;
40
+ }
41
+ if (isEmpty(section.items) && !index) {
42
+ return true;
43
+ }
44
+ // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
45
+ return index <= section.items.length;
18
46
  }
19
- if (isEmpty(section.items) && !index) {
20
- return true;
47
+ else {
48
+ const itemIndex = getItemIndex(index);
49
+ if (itemIndex === -1) {
50
+ return true;
51
+ }
52
+ if (isEmpty(section.items) && !itemIndex) {
53
+ return true;
54
+ }
55
+ // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
56
+ return itemIndex <= section.items.length;
21
57
  }
22
- // using <= here so that we can add to the last place not only by using -1 by also by using (lastIndex+1)
23
- return index <= section.items.length;
24
58
  }
25
59
  export function validateItemExists(section, index) {
26
- return index > -1 && index < section.items.length;
60
+ if (typeof index === "number") {
61
+ return index > -1 && index < section.items.length;
62
+ }
63
+ else {
64
+ const itemIndex = getItemIndex(index);
65
+ return itemIndex > -1 && itemIndex < section.items.length;
66
+ }
27
67
  }
28
68
  //# sourceMappingURL=layoutValidation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layoutValidation.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/layoutValidation.ts"],"names":[],"mappings":"AAGA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,MAAM,UAAU,wBAAwB,CACpC,MAAiD,EACjD,KAAa;IAEb,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QACrC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,yGAAyG;IACzG,OAAO,KAAK,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,qBAAqB,CACjC,MAAiD,EACjD,KAAa;IAEb,OAAO,KAAK,GAAG,CAAC,CAAC,IAAI,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC;AACxD,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,OAAuC,EAAE,KAAa;IACxF,IAAI,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,yGAAyG;IACzG,OAAO,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,OAAuC,EAAE,KAAa;IACrF,OAAO,KAAK,GAAG,CAAC,CAAC,IAAI,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC;AACtD,CAAC"}
1
+ {"version":3,"file":"layoutValidation.js","sourceRoot":"","sources":["../../../../../src/model/commandHandlers/layout/validation/layoutValidation.ts"],"names":[],"mappings":"AAGA,OAAO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commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAoBzE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,qBAAqB,GAC5B,YAAY,CA+Dd"}
1
+ {"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAqBzE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,qBAAqB,GAC5B,YAAY,CAgEd"}
@@ -1,7 +1,7 @@
1
1
  import { call, select, put, all } from "redux-saga/effects";
2
2
  import { batchActions } from "redux-batched-actions";
3
3
  import { convertError } from "@gooddata/sdk-ui";
4
- import { selectEnableAutomations, selectIsReadOnly, } from "../../store/config/configSelectors.js";
4
+ import { selectEnableAutomations, selectEnableInPlatformNotifications, selectIsReadOnly, } from "../../store/config/configSelectors.js";
5
5
  import { automationsActions } from "../../store/automations/index.js";
6
6
  import { selectDashboardId } from "../../store/meta/metaSelectors.js";
7
7
  import { usersActions } from "../../store/users/index.js";
@@ -17,6 +17,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
17
17
  const user = yield select(selectCurrentUser);
18
18
  const canManageAutomations = yield select(selectCanManageWorkspace);
19
19
  const enableAutomations = yield select(selectEnableAutomations);
20
+ const enableInPlatformNotifications = yield select(selectEnableInPlatformNotifications);
20
21
  const automationsInitialized = yield select(selectAutomationsIsInitialized);
21
22
  const automationsIsLoading = yield select(selectAutomationsIsLoading);
22
23
  const isReadOnly = yield select(selectIsReadOnly);
@@ -33,7 +34,7 @@ export function* initializeAutomationsHandler(ctx, _cmd) {
33
34
  const [automations, allAutomationsCount, notificationChannels, users] = yield all([
34
35
  call(loadDashboardUserAutomations, ctx, dashboardId, user.login, !canManageAutomations),
35
36
  call(loadWorkspaceAutomationsCount, ctx),
36
- call(loadNotificationChannels, ctx),
37
+ call(loadNotificationChannels, ctx, enableInPlatformNotifications),
37
38
  call(loadWorkspaceUsers, ctx),
38
39
  ]);
39
40
  yield put(batchActions([
@@ -1 +1 @@
1
- {"version":3,"file":"initializeAutomationsHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIhD,OAAO,EACH,uBAAuB,EAEvB,gBAAgB,GACnB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EACH,8BAA8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CAAC;YACT,kBAAkB,CAAC,yBAAyB,EAAE;YAC9C,kBAAkB,CAAC,qBAAqB,CAAC,KAAK,CAAC;YAC/C,kBAAkB,CAAC,kBAAkB,CAAC,WAAW,CAAC;YAClD,kBAAkB,CAAC,sBAAsB,CAAC,mBAAmB,CAAC;YAC9D,2BAA2B,CAAC,uBAAuB,CAAC,oBAAoB,CAAC;YACzE,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC;SAC/B,CAAC,CACL,CAAC;IACN,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,GAAG,CACL,YAAY,CAAC;YACT,kBAAkB,CAAC,yBAAyB,EAAE;YAC9C,kBAAkB,CAAC,qBAAqB,CAAC,KAAK,CAAC;YAC/C,kBAAkB,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;SAC1D,CAAC,CACL,CAAC;IACN,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"initializeAutomationsHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIhD,OAAO,EACH,uBAAuB,EACvB,mCAAmC,EAEnC,gBAAgB,GACnB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAA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,GAAG,EAAE,WAAW,EAAE,IAAI,CAAC,KAAK,EAAE,CAAC,oBAAoB,CAAC;YACvF,IAAI,CAAC,6BAA6B,EAAE,GAAG,CAAC;YACxC,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE,6BAA6B,CAAC;YAClE,IAAI,CAAC,kBAAkB,EAAE,GAAG,CAAC;SAChC,CAAC,CAAC;QAEH,MAAM,GAAG,CACL,YAAY,CAAC;YACT,kBAAkB,CAAC,yBAAyB,EAAE;YAC9C,kBAAkB,CAAC,qBAAqB,CAAC,KAAK,CAAC;YAC/C,kBAAkB,CAAC,kBAAkB,CAAC,WAAW,CAAC;YAClD,kBAAkB,CAAC,sBAAsB,CAAC,mBAAmB,CAAC;YAC9D,2BAA2B,CAAC,uBAAuB,CAAC,oBAAoB,CAAC;YACzE,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC;SAC/B,CAAC,CACL,CAAC;IACN,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,GAAG,CACL,YAAY,CAAC;YACT,kBAAkB,CAAC,yBAAyB,EAAE;YAC9C,kBAAkB,CAAC,qBAAqB,CAAC,KAAK,CAAC;YAC/C,kBAAkB,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;SAC1D,CAAC,CACL,CAAC;IACN,CAAC;AACL,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { INotificationChannelMetadataObject } from "@gooddata/sdk-model";
2
2
  import { DashboardContext } from "../../types/commonTypes.js";
3
- export declare function loadNotificationChannels(ctx: DashboardContext): Promise<INotificationChannelMetadataObject[]>;
3
+ export declare function loadNotificationChannels(ctx: DashboardContext, enableInPlatformNotifications: boolean): Promise<INotificationChannelMetadataObject[]>;
4
4
  //# sourceMappingURL=loadNotificationChannels.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loadNotificationChannels.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/loadNotificationChannels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kCAAkC,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,wBAAgB,wBAAwB,CACpC,GAAG,EAAE,gBAAgB,GACtB,OAAO,CAAC,kCAAkC,EAAE,CAAC,CAS/C"}
1
+ {"version":3,"file":"loadNotificationChannels.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/loadNotificationChannels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kCAAkC,EAAsC,MAAM,qBAAqB,CAAC;AAC7G,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,wBAAgB,wBAAwB,CACpC,GAAG,EAAE,gBAAgB,EACrB,6BAA6B,EAAE,OAAO,GACvC,OAAO,CAAC,kCAAkC,EAAE,CAAC,CAkB/C"}
@@ -1,10 +1,18 @@
1
- export function loadNotificationChannels(ctx) {
1
+ export function loadNotificationChannels(ctx, enableInPlatformNotifications) {
2
2
  const { backend } = ctx;
3
+ const typesToLoad = ["smtp", "webhook"];
4
+ if (enableInPlatformNotifications) {
5
+ typesToLoad.push("inPlatform");
6
+ }
3
7
  return backend
4
8
  .organizations()
5
9
  .getCurrentOrganization()
6
10
  .then((organization) => {
7
- return organization.notificationChannels().getAll();
11
+ return organization
12
+ .notificationChannels()
13
+ .getNotificationChannelsQuery()
14
+ .withTypes(typesToLoad)
15
+ .queryAll();
8
16
  });
9
17
  }
10
18
  //# sourceMappingURL=loadNotificationChannels.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loadNotificationChannels.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/loadNotificationChannels.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,wBAAwB,CACpC,GAAqB;IAErB,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IAExB,OAAO,OAAO;SACT,aAAa,EAAE;SACf,sBAAsB,EAAE;SACxB,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE;QACnB,OAAO,YAAY,CAAC,oBAAoB,EAAE,CAAC,MAAM,EAAE,CAAC;IACxD,CAAC,CAAC,CAAC;AACX,CAAC"}
1
+ {"version":3,"file":"loadNotificationChannels.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/loadNotificationChannels.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,wBAAwB,CACpC,GAAqB,EACrB,6BAAsC;IAEtC,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,CAAC;IAExB,MAAM,WAAW,GAAyC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;IAE9E,IAAI,6BAA6B,EAAE,CAAC;QAChC,WAAW,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACnC,CAAC;IACD,OAAO,OAAO;SACT,aAAa,EAAE;SACf,sBAAsB,EAAE;SACxB,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE;QACnB,OAAO,YAAY;aACd,oBAAoB,EAAE;aACtB,4BAA4B,EAAE;aAC9B,SAAS,CAAC,WAAW,CAAC;aACtB,QAAQ,EAAE,CAAC;IACpB,CAAC,CAAC,CAAC;AACX,CAAC"}