@gooddata/sdk-ui-dashboard 10.16.0-alpha.2 → 10.16.0-alpha.20
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.
- package/NOTICE +74 -24
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/dashboard/dashboardLayout.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardLayout.js +15 -2
- package/esm/_staging/dashboard/dashboardLayout.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts +32 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.js +87 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts +40 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.js +156 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts +32 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.js +147 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.js +1 -1
- package/esm/_staging/dashboard/flexibleLayout/config.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts +119 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts +41 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.js +115 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts +23 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.js +74 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts +24 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.js +44 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts +34 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.js +88 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts +24 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.js +55 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/index.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/index.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts +435 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js +2 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/builder/item.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/builder/section.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts +2 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.js +4 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js +2 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/item.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/items.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/items.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/section.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts +11 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.js +10 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.js.map +1 -0
- package/esm/_staging/layout/coordinates.d.ts +20 -2
- package/esm/_staging/layout/coordinates.d.ts.map +1 -1
- package/esm/_staging/layout/coordinates.js +190 -1
- package/esm/_staging/layout/coordinates.js.map +1 -1
- package/esm/_staging/layout/sizing.d.ts +1 -1
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +10 -2
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/internal.d.ts +2 -2
- package/esm/internal.d.ts.map +1 -1
- package/esm/internal.js +2 -2
- package/esm/internal.js.map +1 -1
- package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts +1 -1
- package/esm/model/commandHandlers/drill/common/intersectionUtils.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/common/intersectionUtils.js +2 -2
- package/esm/model/commandHandlers/drill/common/intersectionUtils.js.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js +3 -2
- package/esm/model/commandHandlers/drill/crossFilteringHandler.js.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js +5 -4
- package/esm/model/commandHandlers/drill/drillToDashboardHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +9 -3
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/addSectionItemsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/addSectionItemsHandler.js +47 -23
- package/esm/model/commandHandlers/layout/addSectionItemsHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js +17 -5
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js +48 -18
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +90 -40
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +90 -26
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js +22 -7
- package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js +5 -3
- package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.js +36 -20
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/replaceSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js +38 -18
- package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/resizeHeightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/resizeHeightHandler.js +30 -11
- package/esm/model/commandHandlers/layout/resizeHeightHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/resizeWidthHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/resizeWidthHandler.js +32 -17
- package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts +5 -4
- package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/validation/layoutValidation.js +55 -15
- package/esm/model/commandHandlers/layout/validation/layoutValidation.js.map +1 -1
- package/esm/model/commands/index.d.ts +1 -1
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +1 -1
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/layout.d.ts +436 -10
- package/esm/model/commands/layout.d.ts.map +1 -1
- package/esm/model/commands/layout.js +450 -5
- package/esm/model/commands/layout.js.map +1 -1
- package/esm/model/events/layout.d.ts +152 -11
- package/esm/model/events/layout.d.ts.map +1 -1
- package/esm/model/events/layout.js +25 -11
- package/esm/model/events/layout.js.map +1 -1
- package/esm/model/events/userInteraction.d.ts +5 -1
- package/esm/model/events/userInteraction.d.ts.map +1 -1
- package/esm/model/events/userInteraction.js.map +1 -1
- package/esm/model/react/useDashboardUserInteraction.d.ts +2 -1
- package/esm/model/react/useDashboardUserInteraction.d.ts.map +1 -1
- package/esm/model/react/useDashboardUserInteraction.js +4 -0
- package/esm/model/react/useDashboardUserInteraction.js.map +1 -1
- package/esm/model/react/useWidgetSelection.d.ts.map +1 -1
- package/esm/model/react/useWidgetSelection.js +3 -1
- package/esm/model/react/useWidgetSelection.js.map +1 -1
- package/esm/model/store/config/configSelectors.js +1 -1
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.d.ts.map +1 -1
- package/esm/model/store/filterContext/filterContextReducers.js +6 -5
- package/esm/model/store/filterContext/filterContextReducers.js.map +1 -1
- package/esm/model/store/index.d.ts +2 -2
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +2 -2
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +12 -18
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +19 -24
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +82 -58
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts +39 -1
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +58 -4
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/store/layout/layoutUtils.d.ts +7 -7
- package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
- package/esm/model/store/layout/layoutUtils.js +26 -9
- package/esm/model/store/layout/layoutUtils.js.map +1 -1
- package/esm/model/store/ui/index.d.ts +5 -5
- package/esm/model/store/ui/uiReducers.d.ts +6 -6
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +11 -8
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +31 -1
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +38 -3
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +4 -4
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +1 -1
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +2 -2
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.js.map +1 -1
- package/esm/presentation/constants.d.ts +2 -0
- package/esm/presentation/constants.d.ts.map +1 -0
- package/esm/presentation/constants.js +12 -0
- package/esm/presentation/constants.js.map +1 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +12 -3
- package/esm/presentation/dashboard/components/DashboardInner.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts +18 -0
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js +32 -0
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js.map +1 -0
- package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardMainContent.js +7 -2
- package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts +11 -0
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +45 -0
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js.map +1 -0
- package/esm/presentation/dragAndDrop/DragLayerPreview/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts +1 -0
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js +1 -1
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.js +2 -2
- package/esm/presentation/dragAndDrop/LayoutResizeContext.js.map +1 -1
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts +2 -0
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js +4 -2
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js.map +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js +4 -3
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js +3 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js +4 -2
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js +3 -2
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js +3 -2
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts +14 -0
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js +30 -0
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts +0 -9
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/index.js +0 -9
- package/esm/presentation/dragAndDrop/draggableWidget/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/index.d.ts +0 -6
- package/esm/presentation/dragAndDrop/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/index.js +1 -7
- package/esm/presentation/dragAndDrop/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/types.d.ts +6 -0
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/types.js +2 -1
- package/esm/presentation/dragAndDrop/types.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -3
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +59 -37
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +34 -16
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +8 -6
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +7 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +10 -7
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +6 -13
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +4 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +4 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +14 -10
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +3 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +6 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +2 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +3 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +13 -12
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +13 -12
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +1 -9
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +9 -45
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts +5 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +15 -28
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +9 -5
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +29 -25
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +26 -18
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts +3 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js +9 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js.map +1 -0
- package/esm/presentation/flexibleLayout/constants.d.ts +0 -1
- package/esm/presentation/flexibleLayout/constants.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/constants.js +0 -10
- package/esm/presentation/flexibleLayout/constants.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.js +6 -7
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/ContentDragPreview.js +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.d.ts +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js +56 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.d.ts +3 -3
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.js +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.d.ts +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +16 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +20 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js +11 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +13 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +96 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.d.ts +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js +10 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts +10 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +65 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +11 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +55 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts +5 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +50 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +95 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +20 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js +20 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js +89 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZone.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +82 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js +8 -9
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js +75 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js +68 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js +33 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js +14 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js +36 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js +23 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js +5 -11
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js +72 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +35 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +38 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +43 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +44 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js +41 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +42 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.js +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
- package/esm/presentation/flexibleLayout/refs.d.ts +1 -1
- package/esm/presentation/flexibleLayout/refs.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js +10 -6
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js.map +1 -1
- package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
- package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.js +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +5 -2
- package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js +2 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +3 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +4 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +6 -5
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +5 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +4 -4
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -4
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
- package/esm/presentation/layout/EmptyDashboardLayout.js +2 -2
- package/esm/presentation/layout/EmptyDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/constants.d.ts +0 -1
- package/esm/presentation/layout/constants.d.ts.map +1 -1
- package/esm/presentation/layout/constants.js +1 -11
- package/esm/presentation/layout/constants.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts +3 -0
- package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayer.js +60 -0
- package/esm/presentation/layout/dragAndDrop/DragLayer.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js +50 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts +7 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.js +3 -3
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts +29 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js +62 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts +9 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js +24 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.js +3 -3
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts +4 -0
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizer.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.d.ts +2 -2
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.js +5 -6
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts +10 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js +67 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts +4 -0
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizer.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.js +5 -6
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts +5 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.js +3 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +8 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +13 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +4 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +4 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +2 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js +2 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts +3 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.js +4 -14
- package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.js +4 -13
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.js +3 -12
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js +9 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts +7 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js +14 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.js +9 -16
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js +17 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
- package/esm/presentation/layout/refs.d.ts +1 -1
- package/esm/presentation/layout/refs.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +25 -0
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +17 -3
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts +1 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.js.map +1 -1
- package/esm/presentation/widget/dashboardLayout/types.d.ts +5 -4
- package/esm/presentation/widget/dashboardLayout/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/items.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/items.js +21 -18
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/items.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +28 -6
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js.map +1 -1
- package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js +3 -3
- package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js.map +1 -1
- package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js +7 -7
- package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js.map +1 -1
- package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js +6 -6
- package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +12 -3
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +47 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts +6 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js +12 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts +8 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +31 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -0
- package/esm/presentation/widget/widget/DashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DashboardWidget.js +12 -4
- package/esm/presentation/widget/widget/DashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +10 -6
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +3 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js +3 -1
- package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +7 -2
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/types.d.ts +7 -1
- package/esm/presentation/widget/widget/types.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +691 -19
- package/esm/types.d.ts +37 -0
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js +23 -0
- package/esm/types.js.map +1 -1
- package/package.json +17 -16
- package/styles/css/dashboard.css +78 -47
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutToolbar.css +39 -0
- package/styles/css/dashboardNestedLayoutToolbar.css.map +1 -0
- package/styles/css/dashboardNestedLayoutWidget.css +106 -0
- package/styles/css/dashboardNestedLayoutWidget.css.map +1 -0
- package/styles/css/dragAndDrop.css +134 -5
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/layout.css +60 -41
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css +396 -52
- package/styles/css/main.css.map +1 -1
- package/styles/css/resizing.css +51 -0
- package/styles/css/resizing.css.map +1 -1
- package/styles/scss/dashboard.scss +28 -11
- package/styles/scss/dashboardNestedLayoutToolbar.scss +41 -0
- package/styles/scss/dashboardNestedLayoutWidget.scss +128 -0
- package/styles/scss/dragAndDrop.scss +176 -8
- package/styles/scss/layout.scss +20 -45
- package/styles/scss/main.scss +2 -0
- package/styles/scss/resizing.scss +65 -6
- package/esm/_staging/dashboard/fluidLayout/builder/interfaces.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/interfaces.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/item.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/item.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/layout.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/layout.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/section.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/section.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/config.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/config.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/interfaces.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/interfaces.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/item.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/item.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/items.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/items.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/layout.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/layout.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/section.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/section.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/sections.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/sections.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/index.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayer.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayer.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +0 -5
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizer.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizer.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizer.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizer.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/types.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/types.js +0 -3
- package/esm/presentation/dragAndDrop/Resize/types.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts +0 -3
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js +0 -46
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
- package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts +0 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js +0 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts +0 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js +0 -34
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js.map +0 -1
- package/styles/css/flexibleLayout.css +0 -425
- package/styles/css/flexibleLayout.css.map +0 -1
- package/styles/scss/flexibleLayout.scss +0 -410
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/facade/interfaces.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/interfaces.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/HeightResizer.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/WidthResizer.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/types.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.js +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.js +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZone.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"moveSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAA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AAC,WAAW,CAAC,EACvE,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,WAAW,KAAK,SAAS;QACrB,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,yBAA0B,EAAE,SAAS,EAAE,WAAY,EAAE,CAAC;QACzE,CAAC,CAAC,WAAW,EACjB,mBAAmB,EACnB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveSectionItemToNewSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EACH,2CAA2C,EAE9C,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"moveSectionItemToNewSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EACH,2CAA2C,EAE9C,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AA+J9D,wBAAiB,kCAAkC,CAC/C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,2BAA2B,GACjC,YAAY,CAAC,2CAA2C,CAAC,CAgF3D"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2021-
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
2
|
import { batchActions } from "redux-batched-actions";
|
|
3
3
|
import { put, select } from "redux-saga/effects";
|
|
4
4
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
@@ -6,25 +6,76 @@ import { layoutSectionItemMovedToNewSection, } from "../../events/layout.js";
|
|
|
6
6
|
import { layoutActions } from "../../store/layout/index.js";
|
|
7
7
|
import { selectLayout } from "../../store/layout/layoutSelectors.js";
|
|
8
8
|
import { validateItemExists, validateSectionExists, validateSectionPlacement, } from "./validation/layoutValidation.js";
|
|
9
|
+
import { serializeLayoutItemPath, serializeLayoutSectionPath, findSection, findItem, asSectionPath, asLayoutItemPath, getSectionIndex, getItemIndex, } from "../../../_staging/layout/coordinates.js";
|
|
9
10
|
function validateAndResolve(commandCtx) {
|
|
10
|
-
const { ctx, layout, cmd: { payload: { sectionIndex, toSectionIndex,
|
|
11
|
-
if (
|
|
12
|
-
|
|
11
|
+
const { ctx, layout, cmd: { payload: { itemPath, sectionIndex, itemIndex, toSectionIndex, toSection, removeOriginalSectionIfEmpty, }, }, } = commandCtx;
|
|
12
|
+
if (itemPath === undefined && toSection === undefined) {
|
|
13
|
+
if (!validateSectionExists(layout, sectionIndex)) {
|
|
14
|
+
throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to move item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
|
|
15
|
+
}
|
|
16
|
+
const fromSection = layout.sections[sectionIndex];
|
|
17
|
+
if (!validateItemExists(fromSection, itemIndex)) {
|
|
18
|
+
throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to move non-existent item from index ${itemIndex}. There are only ${fromSection.items.length} items.`);
|
|
19
|
+
}
|
|
20
|
+
const itemToMove = fromSection.items[itemIndex];
|
|
21
|
+
if (!validateSectionPlacement(layout, toSectionIndex)) {
|
|
22
|
+
throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to move item to a wrong section at index ${toSectionIndex}. There are currently ${layout.sections.length} sections.`);
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
targetSectionIndex: toSectionIndex,
|
|
26
|
+
targetItemIndex: 0,
|
|
27
|
+
itemToMove,
|
|
28
|
+
shouldRemoveSection: Boolean(removeOriginalSectionIfEmpty) && fromSection.items.length === 1,
|
|
29
|
+
};
|
|
13
30
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
31
|
+
else if (itemPath !== undefined && toSection !== undefined) {
|
|
32
|
+
if (!validateSectionExists(layout, itemPath)) {
|
|
33
|
+
throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to move item from non-existent section at ${serializeLayoutItemPath(itemPath)}.`);
|
|
34
|
+
}
|
|
35
|
+
const fromSection = findSection(layout, itemPath);
|
|
36
|
+
if (!validateItemExists(fromSection, itemPath)) {
|
|
37
|
+
throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to move non-existent item from index ${serializeLayoutItemPath(itemPath)}. There are only ${fromSection.items.length} items.`);
|
|
38
|
+
}
|
|
39
|
+
const itemToMove = findItem(layout, itemPath);
|
|
40
|
+
if (!validateSectionPlacement(layout, toSection)) {
|
|
41
|
+
throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to move item to a wrong section at index ${serializeLayoutSectionPath(toSection)}.`);
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
itemToMove,
|
|
45
|
+
toItemIndex: asLayoutItemPath(toSection, 0),
|
|
46
|
+
shouldRemoveSection: Boolean(removeOriginalSectionIfEmpty) && fromSection.items.length === 1,
|
|
47
|
+
};
|
|
17
48
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
throw invalidArgumentsProvided(ctx, commandCtx.cmd, `Attempting to move item to a wrong section at index ${toSectionIndex}. There are currently ${layout.sections.length} sections.`);
|
|
49
|
+
else {
|
|
50
|
+
throw invalidArgumentsProvided(ctx, commandCtx.cmd, "Both itemPath and toSection cannot be undefined at the same time.");
|
|
21
51
|
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
52
|
+
}
|
|
53
|
+
function toIsBeforeFrom(toItemPath, fromItemPath) {
|
|
54
|
+
return getSectionIndex(toItemPath) <= getSectionIndex(fromItemPath);
|
|
55
|
+
}
|
|
56
|
+
function hasSamePredPath(fromItemPath, toItemPath) {
|
|
57
|
+
for (let i = 0; i < toItemPath.length; i++) {
|
|
58
|
+
if (fromItemPath[i] !== toItemPath[i]) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
function requiresSectionShift(fromItemPath, toItemPath) {
|
|
65
|
+
const commonPath = fromItemPath.slice(0, toItemPath.length);
|
|
66
|
+
return (hasSamePredPath(commonPath.slice(0, -1), toItemPath.slice(0, -1)) &&
|
|
67
|
+
toIsBeforeFrom(toItemPath, commonPath));
|
|
68
|
+
}
|
|
69
|
+
function getItemPathWithSectionsShifted(fromItemPath, toItemPath) {
|
|
70
|
+
if (fromItemPath && toItemPath && requiresSectionShift(fromItemPath, toItemPath)) {
|
|
71
|
+
const fromItemPathCopy = fromItemPath.slice();
|
|
72
|
+
fromItemPathCopy[toItemPath.length - 1] = {
|
|
73
|
+
sectionIndex: fromItemPathCopy[toItemPath.length - 1].sectionIndex + 1,
|
|
74
|
+
itemIndex: fromItemPathCopy[toItemPath.length - 1].itemIndex,
|
|
75
|
+
};
|
|
76
|
+
return fromItemPathCopy;
|
|
77
|
+
}
|
|
78
|
+
return fromItemPath;
|
|
28
79
|
}
|
|
29
80
|
export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
30
81
|
const commandCtx = {
|
|
@@ -32,16 +83,23 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
|
32
83
|
cmd,
|
|
33
84
|
layout: yield select(selectLayout),
|
|
34
85
|
};
|
|
35
|
-
const { targetSectionIndex, targetItemIndex, itemToMove, shouldRemoveSection } = validateAndResolve(commandCtx);
|
|
36
|
-
const { itemIndex, sectionIndex, toSectionIndex } = cmd.payload;
|
|
37
|
-
const itemSectionIndex =
|
|
86
|
+
const { targetSectionIndex, targetItemIndex, itemToMove, toItemIndex, shouldRemoveSection } = validateAndResolve(commandCtx);
|
|
87
|
+
const { itemIndex, sectionIndex, toSectionIndex, itemPath } = cmd.payload;
|
|
88
|
+
const itemSectionIndex = itemPath === undefined
|
|
89
|
+
? toSectionIndex > sectionIndex
|
|
90
|
+
? sectionIndex
|
|
91
|
+
: sectionIndex + 1
|
|
92
|
+
: getSectionIndex(itemPath);
|
|
38
93
|
const section = {
|
|
39
94
|
type: "IDashboardLayoutSection",
|
|
40
95
|
items: [],
|
|
41
96
|
};
|
|
97
|
+
const itemPathWithSectionsShifted = getItemPathWithSectionsShifted(itemPath, toItemIndex);
|
|
42
98
|
yield put(batchActions([
|
|
43
99
|
layoutActions.addSection({
|
|
44
|
-
index:
|
|
100
|
+
index: toItemIndex === undefined
|
|
101
|
+
? { parent: undefined, sectionIndex: targetSectionIndex }
|
|
102
|
+
: asSectionPath(toItemIndex),
|
|
45
103
|
section,
|
|
46
104
|
usedStashes: [],
|
|
47
105
|
undo: {
|
|
@@ -49,10 +107,12 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
|
49
107
|
},
|
|
50
108
|
}),
|
|
51
109
|
layoutActions.moveSectionItem({
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
toItemIndex:
|
|
110
|
+
itemIndex: itemPathWithSectionsShifted === undefined
|
|
111
|
+
? [{ sectionIndex: itemSectionIndex, itemIndex }]
|
|
112
|
+
: itemPathWithSectionsShifted,
|
|
113
|
+
toItemIndex: toItemIndex === undefined
|
|
114
|
+
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
|
115
|
+
: toItemIndex,
|
|
56
116
|
undo: {
|
|
57
117
|
cmd,
|
|
58
118
|
},
|
|
@@ -60,7 +120,9 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
|
60
120
|
...(shouldRemoveSection
|
|
61
121
|
? [
|
|
62
122
|
layoutActions.removeSection({
|
|
63
|
-
index:
|
|
123
|
+
index: itemPathWithSectionsShifted === undefined
|
|
124
|
+
? { parent: undefined, sectionIndex: itemSectionIndex }
|
|
125
|
+
: asSectionPath(itemPathWithSectionsShifted),
|
|
64
126
|
undo: {
|
|
65
127
|
cmd,
|
|
66
128
|
},
|
|
@@ -68,6 +130,8 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
|
68
130
|
]
|
|
69
131
|
: []),
|
|
70
132
|
]));
|
|
71
|
-
return layoutSectionItemMovedToNewSection(ctx, itemToMove, sectionIndex, targetSectionIndex, itemIndex, targetItemIndex,
|
|
133
|
+
return layoutSectionItemMovedToNewSection(ctx, itemToMove, itemPath === undefined ? sectionIndex : getSectionIndex(itemPath), targetSectionIndex === undefined ? getSectionIndex(toItemIndex) : targetSectionIndex, itemPath === undefined ? itemIndex : getItemIndex(itemPath), targetItemIndex === undefined ? getItemIndex(toItemIndex) : targetItemIndex, itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath, toItemIndex === undefined
|
|
134
|
+
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
|
135
|
+
: toItemIndex, shouldRemoveSection, cmd.correlationId);
|
|
72
136
|
}
|
|
73
137
|
//# sourceMappingURL=moveSectionItemToNewSectionHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveSectionItemToNewSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAEH,kCAAkC,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"moveSectionItemToNewSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAEjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAEH,kCAAkC,GACrC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,QAAQ,EACR,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,YAAY,GACf,MAAM,yCAAyC,CAAC;AASjD,SAAS,kBAAkB,CAAC,UAA8C;IACtE,MAAM,EACF,GAAG,EACH,MAAM,EACN,GAAG,EAAE,EACD,OAAO,EAAE,EACL,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,cAAc,EACd,SAAS,EACT,4BAA4B,GAC/B,GACJ,GACJ,GAAG,UAAU,CAAC;IAEf,IAAI,QAAQ,KAAK,SAAS,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QACpD,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,YA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AS,EAAE,YAAY,EAAE,gBAAgB,EAAE;wBACvD,CAAC,CAAC,aAAa,CAAC,2BAA2B,CAAC;oBACpD,IAAI,EAAE;wBACF,GAAG;qBACN;iBACJ,CAAC;aACL;YACH,CAAC,CAAC,EAAE,CAAC;KACZ,CAAC,CACL,CAAC;IAEF,OAAO,kCAAkC,CACrC,GAAG,EACH,UAAU,EACV,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,EACjE,kBAAkB,KAAK,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,kBAAkB,EACpF,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,EAC3D,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,eAAe,EAC3E,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,WAAW,KAAK,SAAS;QACrB,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;QACpE,CAAC,CAAC,WAAW,EACjB,mBAAmB,EACnB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAK9D,OAAO,EAAE,6BAA6B,EAAwB,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"removeLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAK9D,OAAO,EAAE,6BAA6B,EAAwB,MAAM,wBAAwB,CAAC;AAU7F,wBAAiB,0BAA0B,CACvC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,6BAA6B,CAAC,CA0D7C"}
|
|
@@ -6,24 +6,39 @@ import { layoutSectionRemoved } from "../../events/layout.js";
|
|
|
6
6
|
import isEmpty from "lodash/isEmpty.js";
|
|
7
7
|
import { validateSectionExists } from "./validation/layoutValidation.js";
|
|
8
8
|
import { resolveRelativeIndex } from "../../utils/arrayOps.js";
|
|
9
|
+
import { serializeLayoutSectionPath, findSections, updateSectionIndex, } from "../../../_staging/layout/coordinates.js";
|
|
9
10
|
export function* removeLayoutSectionHandler(ctx, cmd) {
|
|
10
11
|
const layout = yield select(selectLayout);
|
|
11
12
|
const { index, stashIdentifier } = cmd.payload;
|
|
12
|
-
|
|
13
|
+
const isLegacyCommand = typeof index === "number";
|
|
14
|
+
const sections = isLegacyCommand ? layout.sections : findSections(layout, index);
|
|
15
|
+
if (isEmpty(sections)) {
|
|
13
16
|
throw invalidArgumentsProvided(ctx, cmd, `Attempting to remove a section from an empty layout.`);
|
|
14
17
|
}
|
|
15
|
-
if (
|
|
16
|
-
|
|
18
|
+
if (isLegacyCommand) {
|
|
19
|
+
if (!validateSectionExists(layout, index)) {
|
|
20
|
+
throw invalidArgumentsProvided(ctx, cmd, `Attempting to remove non-existing layout section at index ${index}.`);
|
|
21
|
+
}
|
|
17
22
|
}
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
else {
|
|
24
|
+
if (!validateSectionExists(layout, index)) {
|
|
25
|
+
throw invalidArgumentsProvided(ctx, cmd, `Attempting to remove non-existing layout section at index ${serializeLayoutSectionPath(index)}.`);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const absoluteIndex = isLegacyCommand
|
|
29
|
+
? resolveRelativeIndex(layout.sections, index)
|
|
30
|
+
: resolveRelativeIndex(sections, index.sectionIndex);
|
|
31
|
+
const section = sections[absoluteIndex];
|
|
32
|
+
const targetSection = isLegacyCommand
|
|
33
|
+
? { parent: undefined, sectionIndex: absoluteIndex }
|
|
34
|
+
: updateSectionIndex(index, absoluteIndex);
|
|
20
35
|
yield put(layoutActions.removeSection({
|
|
21
|
-
index:
|
|
36
|
+
index: targetSection,
|
|
22
37
|
stashIdentifier,
|
|
23
38
|
undo: {
|
|
24
39
|
cmd,
|
|
25
40
|
},
|
|
26
41
|
}));
|
|
27
|
-
return layoutSectionRemoved(ctx, section, absoluteIndex, false, stashIdentifier, cmd.correlationId);
|
|
42
|
+
return layoutSectionRemoved(ctx, section, absoluteIndex, targetSection, false, stashIdentifier, cmd.correlationId);
|
|
28
43
|
}
|
|
29
44
|
//# sourceMappingURL=removeLayoutSectionHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeLayoutSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAiC,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"removeLayoutSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAiC,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACH,0BAA0B,EAC1B,YAAY,EACZ,kBAAkB,GACrB,MAAM,yCAAyC,CAAC;AAEjD,MAAM,SAAS,CAAC,CAAC,0BAA0B,CACvC,GAAqB,EACrB,GAAwB;IAExB,MAAM,MAAM,GAAoC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC;IAC3E,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IAC/C,MAAM,eAAe,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC;IAClD,MAAM,QAAQ,GAAG,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAEjF,IAAI,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpB,MAAM,wBAAwB,CAAC,GAAG,EAAE,GAAG,EAAE,sDAAsD,CAAC,CAAC;IACrG,CAAC;IAED,IAAI,eAAe,EAAE,CAAC;QAClB,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;YACxC,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,6DAA6D,KAAK,GAAG,CACxE,CAAC;QACN,CAAC;IACL,CAAC;SAAM,CAAC;QACJ,IAAI,CAAC,qBAAqB,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC;YACxC,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,6DAA6D,0BAA0B,CACnF,KAAK,CACR,GAAG,CACP,CAAC;QACN,CAAC;IACL,CAAC;IAED,MAAM,aAAa,GAAG,eAAe;QACjC,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,CAAC;QAC9C,CAAC,CAAC,oBAAoB,CAAC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC,CAAC;IACzD,MAAM,OAAO,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;IAExC,MAAM,aAAa,GAAG,eAAe;QACjC,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE;QACpD,CAAC,CAAC,kBAAkB,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;IAE/C,MAAM,GAAG,CACL,aAAa,CAAC,aAAa,CAAC;QACxB,KAAK,EAAE,aAAa;QACpB,eAAe;QACf,IAAI,EAAE;YACF,GAAG;SACN;KACJ,CAAC,CACL,CAAC;IAEF,OAAO,oBAAoB,CACvB,GAAG,EACH,OAAO,EACP,aAAa,EACb,aAAa,EACb,KAAK,EACL,eAAe,EACf,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeSectionItemByWidgetRefHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAKxE,wBAAiB,mCAAmC,CAChD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,4BAA4B,GAClC,YAAY,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"removeSectionItemByWidgetRefHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAKxE,wBAAiB,mCAAmC,CAChD,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,4BAA4B,GAClC,YAAY,CAAC,IAAI,CAAC,CA6BpB"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { call, select } from "redux-saga/effects";
|
|
2
|
-
import {
|
|
2
|
+
import { selectWidgetPathByRef } from "../../store/layout/layoutSelectors.js";
|
|
3
3
|
import { removeSectionItemSaga } from "./removeSectionItemHandler.js";
|
|
4
4
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
5
5
|
import { objRefToString } from "@gooddata/sdk-model";
|
|
6
6
|
export function* removeSectionItemByWidgetRefHandler(ctx, cmd) {
|
|
7
7
|
let widgetCoordinates;
|
|
8
8
|
try {
|
|
9
|
-
widgetCoordinates = yield select(
|
|
9
|
+
widgetCoordinates = yield select(selectWidgetPathByRef(cmd.payload.widgetRef));
|
|
10
10
|
}
|
|
11
11
|
catch (e) {
|
|
12
12
|
throw invalidArgumentsProvided(ctx, cmd, `Can't get widget coordinates for widget ref: ${objRefToString(cmd.payload.widgetRef)}, ${e.message}`);
|
|
@@ -14,7 +14,9 @@ export function* removeSectionItemByWidgetRefHandler(ctx, cmd) {
|
|
|
14
14
|
return yield call(removeSectionItemSaga, ctx, {
|
|
15
15
|
correlationId: cmd.correlationId,
|
|
16
16
|
payload: {
|
|
17
|
-
|
|
17
|
+
itemPath: widgetCoordinates,
|
|
18
|
+
sectionIndex: -1, // just for compatibility purposes, information will be ignored
|
|
19
|
+
itemIndex: -1, // just for compatibility purposes, information will be ignored
|
|
18
20
|
eager: cmd.payload.eager,
|
|
19
21
|
stashIdentifier: cmd.payload.stashIdentifier,
|
|
20
22
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeSectionItemByWidgetRefHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"removeSectionItemByWidgetRefHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAI9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,SAAS,CAAC,CAAC,mCAAmC,CAChD,GAAqB,EACrB,GAAiC;IAEjC,IAAI,iBAAuE,CAAC;IAC5E,IAAI,CAAC;QACD,iBAAiB,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC;IACnF,CAAC;IAAC,OAAO,CAAM,EAAE,CAAC;QACd,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,gDAAgD,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,SAAS,CAAC,KACjF,CAAC,CAAC,OACN,EAAE,CACL,CAAC;IACN,CAAC;IAED,OAAO,MAAM,IAAI,CACb,qBAAqB,EACrB,GAAG,EACH;QACI,aAAa,EAAE,GAAG,CAAC,aAAa;QAChC,OAAO,EAAE;YACL,QAAQ,EAAE,iBAAiB;YAC3B,YAAY,EAAE,CAAC,CAAC,EAAE,+DAA+D;YACjF,SAAS,EAAE,CAAC,CAAC,EAAE,+DAA+D;YAC9E,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,KAAK;YACxB,eAAe,EAAE,GAAG,CAAC,OAAO,CAAC,eAAe;SAC/C;KACJ,EACD,GAAG,CACN,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"removeSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAG1F,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAerE,KAAK,wBAAwB,GAAG;IAC5B,QAAQ,CAAC,GAAG,EAAE,gBAAgB,CAAC;IAC/B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC9C,WAAW,EAAE,iBAAiB,GAAG,4BAA4B,CAAC;IAC9D,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACpD,CAAC;AAoEF,wBAAiB,wBAAwB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,iBAAiB,GAAG,YAAY,CAAC,IAAI,CAAC,CAE3G;AAED,wBAAiB,qBAAqB,CAClC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GAAG,wBAAwB,CAAC,KAAK,CAAC,EACxD,WAAW,GAAE,4BAAyC,GACvD,YAAY,CAAC,IAAI,CAAC,CA2EpB"}
|
|
@@ -1,24 +1,41 @@
|
|
|
1
|
+
import { call, put, select } from "redux-saga/effects";
|
|
1
2
|
import { dispatchDashboardEvent } from "../../store/_infra/eventDispatcher.js";
|
|
2
3
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
3
4
|
import { selectLayout } from "../../store/layout/layoutSelectors.js";
|
|
4
|
-
import { call, put, select } from "redux-saga/effects";
|
|
5
|
-
import { validateItemExists, validateSectionExists } from "./validation/layoutValidation.js";
|
|
6
5
|
import { layoutSectionItemRemoved, layoutSectionRemoved } from "../../events/layout.js";
|
|
7
6
|
import { layoutActions } from "../../store/layout/index.js";
|
|
7
|
+
import { findSection, serializeLayoutItemPath, findItem, asSectionPath, getItemIndex, getSectionIndex, } from "../../../_staging/layout/coordinates.js";
|
|
8
|
+
import { validateItemExists, validateSectionExists } from "./validation/layoutValidation.js";
|
|
8
9
|
function validateAndResolve(commandCtx) {
|
|
9
|
-
const { ctx, cmd: { payload: { sectionIndex,
|
|
10
|
-
if (
|
|
11
|
-
|
|
10
|
+
const { ctx, cmd: { payload: { itemIndex, sectionIndex, itemPath }, }, layout, } = commandCtx;
|
|
11
|
+
if (itemPath === undefined) {
|
|
12
|
+
if (!validateSectionExists(layout, sectionIndex)) {
|
|
13
|
+
throw invalidArgumentsProvided(ctx, commandCtx.originalCmd, `Attempting to remove item from non-existent section at ${sectionIndex}. There are only ${layout.sections.length} sections.`);
|
|
14
|
+
}
|
|
15
|
+
const fromSection = layout.sections[sectionIndex];
|
|
16
|
+
if (!validateItemExists(fromSection, itemIndex)) {
|
|
17
|
+
throw invalidArgumentsProvided(ctx, commandCtx.originalCmd, `Attempting to remove non-existent item from index ${itemIndex} in section ${sectionIndex}. There are only ${fromSection.items.length} items in this section.`);
|
|
18
|
+
}
|
|
19
|
+
const itemToRemove = fromSection.items[itemIndex];
|
|
20
|
+
return {
|
|
21
|
+
fromSection,
|
|
22
|
+
itemToRemove,
|
|
23
|
+
};
|
|
12
24
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
25
|
+
else {
|
|
26
|
+
if (!validateSectionExists(layout, itemPath)) {
|
|
27
|
+
throw invalidArgumentsProvided(ctx, commandCtx.originalCmd, `Attempting to remove item from non-existent section at ${itemPath ? serializeLayoutItemPath(itemPath) : undefined}.`);
|
|
28
|
+
}
|
|
29
|
+
const fromSection = findSection(layout, itemPath);
|
|
30
|
+
if (!validateItemExists(fromSection, itemPath)) {
|
|
31
|
+
throw invalidArgumentsProvided(ctx, commandCtx.originalCmd, `Attempting to remove non-existent item from index ${serializeLayoutItemPath(itemPath)}. There are only ${fromSection.items.length} items in this section.`);
|
|
32
|
+
}
|
|
33
|
+
const itemToRemove = findItem(layout, itemPath);
|
|
34
|
+
return {
|
|
35
|
+
fromSection,
|
|
36
|
+
itemToRemove,
|
|
37
|
+
};
|
|
16
38
|
}
|
|
17
|
-
const itemToRemove = fromSection.items[itemIndex];
|
|
18
|
-
return {
|
|
19
|
-
fromSection,
|
|
20
|
-
itemToRemove,
|
|
21
|
-
};
|
|
22
39
|
}
|
|
23
40
|
export function* removeSectionItemHandler(ctx, cmd) {
|
|
24
41
|
return yield call(removeSectionItemSaga, ctx, cmd);
|
|
@@ -31,10 +48,10 @@ export function* removeSectionItemSaga(ctx, cmd, originalCmd = cmd) {
|
|
|
31
48
|
layout: yield select(selectLayout),
|
|
32
49
|
};
|
|
33
50
|
const { fromSection, itemToRemove } = validateAndResolve(commandCtx);
|
|
34
|
-
const { sectionIndex, itemIndex, eager, stashIdentifier } = cmd.payload;
|
|
51
|
+
const { sectionIndex, itemIndex, itemPath, eager, stashIdentifier } = cmd.payload;
|
|
35
52
|
if (eager && fromSection.items.length === 1) {
|
|
36
53
|
yield put(layoutActions.removeSection({
|
|
37
|
-
index: sectionIndex,
|
|
54
|
+
index: itemPath === undefined ? { parent: undefined, sectionIndex } : asSectionPath(itemPath),
|
|
38
55
|
stashIdentifier,
|
|
39
56
|
undo: {
|
|
40
57
|
cmd: originalCmd,
|
|
@@ -46,19 +63,18 @@ export function* removeSectionItemSaga(ctx, cmd, originalCmd = cmd) {
|
|
|
46
63
|
...fromSection,
|
|
47
64
|
items: [],
|
|
48
65
|
};
|
|
49
|
-
yield dispatchDashboardEvent(layoutSectionItemRemoved(ctx, itemToRemove, itemIndex, sectionWithEmptyItems, stashIdentifier, cmd.correlationId));
|
|
50
|
-
yield dispatchDashboardEvent(layoutSectionRemoved(ctx, sectionWithEmptyItems, sectionIndex, true, undefined, cmd.correlationId));
|
|
66
|
+
yield dispatchDashboardEvent(layoutSectionItemRemoved(ctx, itemToRemove, itemPath === undefined ? itemIndex : getItemIndex(itemPath), itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath, sectionWithEmptyItems, stashIdentifier, cmd.correlationId));
|
|
67
|
+
yield dispatchDashboardEvent(layoutSectionRemoved(ctx, sectionWithEmptyItems, itemPath === undefined ? sectionIndex : getSectionIndex(itemPath), itemPath === undefined ? { parent: undefined, sectionIndex } : asSectionPath(itemPath), true, undefined, cmd.correlationId));
|
|
51
68
|
}
|
|
52
69
|
else {
|
|
53
70
|
yield put(layoutActions.removeSectionItem({
|
|
54
|
-
sectionIndex,
|
|
55
|
-
itemIndex,
|
|
71
|
+
itemIndex: itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath,
|
|
56
72
|
stashIdentifier,
|
|
57
73
|
undo: {
|
|
58
74
|
cmd: originalCmd,
|
|
59
75
|
},
|
|
60
76
|
}));
|
|
61
|
-
yield dispatchDashboardEvent(layoutSectionItemRemoved(ctx, itemToRemove, itemIndex, undefined, stashIdentifier, cmd.correlationId));
|
|
77
|
+
yield dispatchDashboardEvent(layoutSectionItemRemoved(ctx, itemToRemove, itemPath === undefined ? itemIndex : getItemIndex(itemPath), itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath, undefined, stashIdentifier, cmd.correlationId));
|
|
62
78
|
}
|
|
63
79
|
}
|
|
64
80
|
//# sourceMappingURL=removeSectionItemHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"
|
|
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,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,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;
|
|
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: {
|
|
15
|
-
if (
|
|
16
|
-
|
|
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
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
|
|
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;
|
|
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;AAClF,OAAO,EACH,uBAAuB,EACvB,WAAW,EACX,QAAQ,EACR,eAAe,EACf,YAAY,GACf,MAAM,yCAAyC,CAAC;AAUjD,SAAS,kBAAkB,CAAC,UAAqC;IAC7D,MAAM,EACF,GAAG,EACH,GAAG,EAAE,EACD,OAAO,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,YAAY,EAAE,GACjD,EACD,KAAK,EACL,MAAM,EACN,KA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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,UAAU,GAAG,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;IAErF,MAAM,GAAG,CACL,YAAY,CAAC;QACT,eAAe,CAAC,WAAW,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,MAAM,CAAC;QACxE,aAAa,CAAC,kBAAkB,CAAC;YAC7B,UAAU;YACV,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,KAAK,SAAS,CAAC,CAAC,CAAC,eAAe,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;
|
|
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"}
|