@gooddata/sdk-ui-dashboard 10.16.0-alpha.2 → 10.16.0-alpha.21
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 +4 -4
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +26 -4
- 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
package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
// (C) 2007-
|
|
1
|
+
// (C) 2007-2024 GoodData Corporation
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { RowEndHotspot, WidgetDropZoneColumn, useIsDraggingCurrentItem } from "../../dragAndDrop/index.js";
|
|
5
4
|
import { DashboardLayoutItemViewRenderer } from "./DashboardLayoutItemViewRenderer.js";
|
|
6
5
|
import { renderModeAware } from "../../componentDefinition/index.js";
|
|
7
6
|
import { isCustomWidgetBase } from "../../../model/index.js";
|
|
7
|
+
import { WidgetDropZoneColumn } from "../dragAndDrop/draggableWidget/WidgetDropZoneColumn.js";
|
|
8
|
+
import { RowEndHotspot } from "../dragAndDrop/draggableWidget/RowEndHotspot.js";
|
|
9
|
+
import { useIsDraggingCurrentItem } from "../dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js";
|
|
8
10
|
function getLayoutCoordinates(item) {
|
|
9
11
|
return {
|
|
10
12
|
sectionIndex: item.section()?.index(),
|
package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutItemRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutItemRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AAEtG,SAAS,oBAAoB,CAAC,IAAyC;IACnE,OAAO;QACH,YAAY,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE;QACrC,SAAS,EAAE,IAAI,CAAC,KAAK,EAAE;KAC1B,CAAC;AACN,CAAC;AAED,MAAM,+BAA+B,GAA0C,CAAC,KAAK,EAAE,EAAE;IACrF,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEzC,MAAM,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAE/D,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;IAEhF,MAAM,cAAc,GAAG,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAEzD,OAAO,CACH;QACK,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACrB,oBAAC,oBAAoB,IAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,GAAI,CAC7F;QACD,oBAAC,+BAA+B,OACxB,KAAK,EACT,SAAS,EAAE,EAAE,CAAC;gBACV,uBAAuB,EAAE,qBAAqB;aACjD,CAAC,IAED,QAAQ,CACqB;QACjC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,aAAa,IAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAI,CACvE,CACN,CAAC;AACN,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,eAAe,CAAwC;IAC9F,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,+BAA+B;CACxC,CAA0C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ScreenSize } from "@gooddata/sdk-model";
|
|
3
3
|
import { RenderMode } from "../../../types.js";
|
|
4
|
-
import { IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/
|
|
4
|
+
import { IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/legacyFluidLayout/facade/interfaces.js";
|
|
5
5
|
import { IDashboardLayoutGridRowRenderer, IDashboardLayoutItemKeyGetter, IDashboardLayoutItemRenderer, IDashboardLayoutSectionHeaderRenderer, IDashboardLayoutSectionKeyGetter, IDashboardLayoutSectionRenderer, IDashboardLayoutWidgetRenderer } from "./interfaces.js";
|
|
6
6
|
/**
|
|
7
7
|
* @alpha
|
package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAEH,6BAA6B,EAChC,MAAM,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAEH,6BAA6B,EAChC,MAAM,oEAAoE,CAAC;AAI5E,OAAO,EACH,+BAA+B,EAC/B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,gCAAgC,EAChC,+BAA+B,EAC/B,8BAA8B,EACjC,MAAM,iBAAiB,CAAC;AAKzB;;GAEG;AACH,MAAM,WAAW,4BAA4B,CAAC,OAAO;IACjD,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAChD,gBAAgB,CAAC,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAC;IAC7D,eAAe,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,CAAC;IAC3D,qBAAqB,CAAC,EAAE,qCAAqC,CAAC,OAAO,CAAC,CAAC;IACvE,aAAa,CAAC,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;IACvD,YAAY,CAAC,EAAE,4BAA4B,CAAC,OAAO,CAAC,CAAC;IACrD,cAAc,EAAE,8BAA8B,CAAC,OAAO,CAAC,CAAC;IACxD,eAAe,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,CAAC;IAC3D,mBAAmB,EAAE,MAAM,OAAO,CAAC;IACnC,MAAM,EAAE,UAAU,CAAC;IACnB,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAYD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,4BAA4B,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CAwFzG"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
// (C) 2007-
|
|
1
|
+
// (C) 2007-2024 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import cx from "classnames";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { useDashboardSelector, selectActiveSection } from "../../../model/index.js";
|
|
5
|
+
import { DashboardLayoutSectionBorder, } from "../dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js";
|
|
6
|
+
import { useIsDraggingWidget } from "../../dragAndDrop/index.js";
|
|
6
7
|
const isHiddenStyle = { height: 0, width: 0, overflow: "hidden", flex: 0 };
|
|
7
8
|
const defaultStyle = {};
|
|
8
9
|
function useBorderStatus(sectionIndex) {
|
|
9
|
-
const
|
|
10
|
+
const activeSection = useDashboardSelector(selectActiveSection);
|
|
10
11
|
const isDraggingWidget = useIsDraggingWidget();
|
|
11
12
|
if (isDraggingWidget) {
|
|
12
13
|
return "muted";
|
|
13
14
|
}
|
|
14
|
-
const isActive =
|
|
15
|
+
const isActive = activeSection?.sectionIndex === sectionIndex;
|
|
15
16
|
return !isActive ? "invisible" : "muted";
|
|
16
17
|
}
|
|
17
18
|
export const EditableDashboardLayoutSectionRenderer = (props) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableDashboardLayoutSectionRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,
|
|
1
|
+
{"version":3,"file":"EditableDashboardLayoutSectionRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAEH,4BAA4B,GAC/B,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEjE,MAAM,aAAa,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAC3E,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,SAAS,eAAe,CAAC,YAAoB;IACzC,MAAM,aAAa,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;IAChE,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,IAAI,gBAAgB,EAAE,CAAC;QACnB,OAAO,OAAO,CAAC;IACnB,CAAC;IAED,MAAM,QAAQ,GAAG,aAAa,EAAE,YAAY,KAAK,YAAY,CAAC;IAC9D,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC;AAC7C,CAAC;AAED,MAAM,CAAC,MAAM,sCAAsC,GAA6C,CAAC,KAAK,EAAE,EAAE;IACtG,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;IAEhE,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC;IACtD,MAAM,MAAM,GAAG,eAAe,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;IAEhD,OAAO,CACH,6BACI,SAAS,EAAE,EAAE,CAAC,CAAC,oBAAoB,EAAE,oBAAoB,EAAE,SAAS,CAAC,EAAE;YACnE,0BAA0B,EAAE,KAAK;SACpC,CAAC,EACF,KAAK,EAAE,KAAK;QAEZ,oBAAC,4BAA4B,IAAC,MAAM,EAAE,MAAM,IAAG,QAAQ,CAAgC,CACrF,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeaderEditable.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":";AA4BA,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,2BAA2B,GAAG,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"SectionHeaderEditable.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":";AA4BA,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,2BAA2B,GAAG,GAAG,CAAC,OAAO,CAgIrF"}
|
|
@@ -23,10 +23,13 @@ export function SectionHeaderEditable(props) {
|
|
|
23
23
|
const changeTitle = useCallback((title) => dispatch(changeLayoutSectionHeader(index, { title }, true)), [dispatch, index]);
|
|
24
24
|
const changeDescription = useCallback((description) => dispatch(changeLayoutSectionHeader(index, { description }, true)), [dispatch, index]);
|
|
25
25
|
const onEditingStart = useCallback(() => {
|
|
26
|
-
dispatch(uiActions.
|
|
26
|
+
dispatch(uiActions.setActiveSection({
|
|
27
|
+
parent: undefined, // root layout
|
|
28
|
+
sectionIndex: index,
|
|
29
|
+
}));
|
|
27
30
|
}, [dispatch, index]);
|
|
28
31
|
const onEditingEnd = useCallback(() => {
|
|
29
|
-
dispatch(uiActions.
|
|
32
|
+
dispatch(uiActions.clearActiveSection());
|
|
30
33
|
}, [dispatch]);
|
|
31
34
|
const onTitleSubmit = useCallback((title) => {
|
|
32
35
|
changeTitle(title);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeaderEditable.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,sBAAsB,EACtB,gCAAgC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,yBAAyB,EACzB,gCAAgC,EAChC,SAAS,EACT,oBAAo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;IAEF,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;QACpC,QAAQ,
|
|
1
|
+
{"version":3,"file":"SectionHeaderEditable.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,sBAAsB,EACtB,gCAAgC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,yBAAyB,EACzB,gCAAgC,EAChC,SAAS,EACT,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,MAAM,0BAA0B,GAAkB;IAC9C,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;IAC1C,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE;CAC9C,CAAC;AAQF,MAAM,UAAU,qBAAqB,CAAC,KAAkC;IACpE,MAAM,WAAW,GAAG,oBAAoB,CAAC,gCAAgC,CAAC,CAAC;IAC3E,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACxF,MAAM,KAAK,GAAG,Q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}
|
|
@@ -12,8 +12,8 @@ export { DashboardLayoutSectionRenderer } from "./DashboardLayoutSectionRenderer
|
|
|
12
12
|
export { DashboardLayoutWidgetRenderer } from "./DashboardLayoutWidgetRenderer.js";
|
|
13
13
|
export { getGeoPushpinWidgetStyle, isGeoPushpin } from "./utils/legacy.js";
|
|
14
14
|
export { getDashboardLayoutItemHeightForRatioAndScreen, getDashboardLayoutItemMaxGridWidth, getDashboardLayoutWidgetDefaultGridWidth, validateDashboardLayoutWidgetSize, } from "./utils/sizing.js";
|
|
15
|
-
export { DashboardLayoutBuilder } from "../../../_staging/dashboard/
|
|
16
|
-
export { DashboardLayoutFacade } from "../../../_staging/dashboard/
|
|
17
|
-
export type { DashboardLayoutItemModifications, DashboardLayoutItemsSelector, DashboardLayoutModifications, DashboardLayoutSectionModifications, DashboardLayoutSectionsSelector, IDashboardLayoutBuilder, IDashboardLayoutItemBuilder, IDashboardLayoutSectionBuilder, } from "../../../_staging/dashboard/
|
|
18
|
-
export type { IDashboardLayoutItemFacade, IDashboardLayoutItemsFacade, IDashboardLayoutFacade, IDashboardLayoutSectionFacade, IDashboardLayoutSectionsFacade, } from "../../../_staging/dashboard/
|
|
15
|
+
export { DashboardLayoutBuilder } from "../../../_staging/dashboard/legacyFluidLayout/builder/layout.js";
|
|
16
|
+
export { DashboardLayoutFacade } from "../../../_staging/dashboard/legacyFluidLayout/facade/layout.js";
|
|
17
|
+
export type { DashboardLayoutItemModifications, DashboardLayoutItemsSelector, DashboardLayoutModifications, DashboardLayoutSectionModifications, DashboardLayoutSectionsSelector, IDashboardLayoutBuilder, IDashboardLayoutItemBuilder, IDashboardLayoutSectionBuilder, } from "../../../_staging/dashboard/legacyFluidLayout/builder/interfaces.js";
|
|
18
|
+
export type { IDashboardLayoutItemFacade, IDashboardLayoutItemsFacade, IDashboardLayoutFacade, IDashboardLayoutSectionFacade, IDashboardLayoutSectionsFacade, } from "../../../_staging/dashboard/legacyFluidLayout/facade/interfaces.js";
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/index.ts"],"names":[],"mappings":"AACA,YAAY,EACR,6BAA6B,EAC7B,kCAAkC,EAClC,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,wCAAwC,EACxC,qCAAqC,EACrC,gCAAgC,EAChC,qCAAqC,EACrC,kCAAkC,EAClC,+BAA+B,EAC/B,iCAAiC,EACjC,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,2BAA2B,GAC9B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,YAAY,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACH,6CAA6C,EAC7C,kCAAkC,EAClC,wCAAwC,EACxC,iCAAiC,GACpC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/index.ts"],"names":[],"mappings":"AACA,YAAY,EACR,6BAA6B,EAC7B,kCAAkC,EAClC,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,EACxB,wCAAwC,EACxC,qCAAqC,EACrC,gCAAgC,EAChC,qCAAqC,EACrC,kCAAkC,EAClC,+BAA+B,EAC/B,iCAAiC,EACjC,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,2BAA2B,GAC9B,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,YAAY,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACH,6CAA6C,EAC7C,kCAAkC,EAClC,wCAAwC,EACxC,iCAAiC,GACpC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iEAAiE,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC;AACvG,YAAY,EACR,gCAAgC,EAChC,4BAA4B,EAC5B,4BAA4B,EAC5B,mCAAmC,EACnC,+BAA+B,EAC/B,uBAAuB,EACvB,2BAA2B,EAC3B,8BAA8B,GACjC,MAAM,qEAAqE,CAAC;AAC7E,YAAY,EACR,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,EACtB,6BAA6B,EAC7B,8BAA8B,GACjC,MAAM,oEAAoE,CAAC"}
|
|
@@ -9,6 +9,6 @@ export { DashboardLayoutSectionRenderer } from "./DashboardLayoutSectionRenderer
|
|
|
9
9
|
export { DashboardLayoutWidgetRenderer } from "./DashboardLayoutWidgetRenderer.js";
|
|
10
10
|
export { getGeoPushpinWidgetStyle, isGeoPushpin } from "./utils/legacy.js";
|
|
11
11
|
export { getDashboardLayoutItemHeightForRatioAndScreen, getDashboardLayoutItemMaxGridWidth, getDashboardLayoutWidgetDefaultGridWidth, validateDashboardLayoutWidgetSize, } from "./utils/sizing.js";
|
|
12
|
-
export { DashboardLayoutBuilder } from "../../../_staging/dashboard/
|
|
13
|
-
export { DashboardLayoutFacade } from "../../../_staging/dashboard/
|
|
12
|
+
export { DashboardLayoutBuilder } from "../../../_staging/dashboard/legacyFluidLayout/builder/layout.js";
|
|
13
|
+
export { DashboardLayoutFacade } from "../../../_staging/dashboard/legacyFluidLayout/facade/layout.js";
|
|
14
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACH,6CAA6C,EAC7C,kCAAkC,EAClC,wCAAwC,EACxC,iCAAiC,GACpC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/index.ts"],"names":[],"mappings":"AAoBA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AACjF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,wBAAwB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EACH,6CAA6C,EAC7C,kCAAkC,EAClC,wCAAwC,EACxC,iCAAiC,GACpC,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,sBAAsB,EAAE,MAAM,iEAAiE,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,gEAAgE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IDashboardLayout, IDashboardWidget, ScreenSize } from "@gooddata/sdk-model";
|
|
3
3
|
import { RenderMode } from "../../../types.js";
|
|
4
|
-
import { IDashboardLayoutItemFacade, IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/
|
|
4
|
+
import { IDashboardLayoutItemFacade, IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/legacyFluidLayout/facade/interfaces.js";
|
|
5
5
|
/**
|
|
6
6
|
* Default props provided to {@link IDashboardLayoutSectionKeyGetter}.
|
|
7
7
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACH,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EACH,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,oEAAoE,CAAC;AAE5E;;;;GAIG;AACH,MAAM,MAAM,qCAAqC,CAAC,OAAO,GAAG,gBAAgB,IAAI;IAC5E;;OAEG;IACH,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAEhD;;OAEG;IACH,MAAM,EAA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
|
|
|
1
|
-
import { IDashboardLayoutItemFacade } from "../../../../_staging/dashboard/
|
|
1
|
+
import { IDashboardLayoutItemFacade } from "../../../../_staging/dashboard/legacyFluidLayout/index.js";
|
|
2
2
|
export declare const emptyItemFacadeWithFullSize: IDashboardLayoutItemFacade<unknown>;
|
|
3
3
|
//# sourceMappingURL=emptyFacade.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emptyFacade.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"emptyFacade.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2DAA2D,CAAC;AAEvG,eAAO,MAAM,2BAA2B,EAAE,0BAA0B,CAAC,OAAO,CA4B3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emptyFacade.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"emptyFacade.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAIrC,MAAM,CAAC,MAAM,2BAA2B,GAAwC;IAC5E,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;IACd,GAAG,EAAE,GAAG,EAAE,CAAC,IAAW,EAAE,+CAA+C;IACvE,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI;IAClB,GAAG,EAAE,GAAG,EAAE,CAAC,SAAS;IACpB,OAAO,EAAE,GAAG,EAAE,CAAC,SAAgB,EAAE,+CAA+C;IAChF,IAAI,EAA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
+
import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../../_staging/dashboard/legacyFluidLayout/index.js";
|
|
3
3
|
const RATIO_16_9 = 9 / 16;
|
|
4
4
|
const HEADER_HEIGHT = 330;
|
|
5
5
|
const PADDING_BOTTOM = 55;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"legacy.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sCAAsC,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,mCAAmC,EAAE,MAAM,2DAA2D,CAAC;AAEhH,MAAM,UAAU,GAAG,CAAC,GAAG,EAAE,CAAC;AAC1B,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,cAAc,GAAG,EAAE,CAAC;AAC1B,MAAM,qBAAqB,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,2CAA2C;AAElF,MAAM,UAAU,+BAA+B,CAC3C,YAAoB,EACpB,sBAA8B;IAE9B,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,sBAAsB,GAAG,UAAU,CAAC,CAAC;IACrE,MAAM,eAAe,GAAG,YAAY,GAAG,aAAa,GAAG,cAAc,CAAC;IACtE,MAAM,0BAA0B,GAAG,sCAAsC,GAAG,qBAAqB,CAAC;IAClG,MAAM,SAAS,GACX,eAAe,GAAG,0BAA0B,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,0BAA0B,CAAC;IAChG,OAAO;QACH,MAAM,EAAE,YAAY;QACpB,SAAS;KACZ,CAAC;AACN,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,OAAgB;IACzC,OAAO,OAAO,KAAK,SAAS,CAAC;AACjC,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,kBAA0B,EAAE,OAAgB;IAC9E,OAAO,YAAY,CAAC,OAAO,CAAC,IAAI,kBAAkB,KAAK,mCAAmC,CAAC;AAC/F,CAAC;AAED,MAAM,UAAU,wBAAwB,CACpC,OAAgB,EAChB,sBAA8B,EAC9B,kBAA0B,EAC1B,YAAoB,EACpB,kBAA2B;IAE3B,IAAI,qBAAqB,CAAC,kBAAkB,EAAE,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAC5E,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,+BAA+B,CAAC,YAAY,EAAE,sBAAsB,CAAC,CAAC;QACpG,OAAO;YACH,MAAM;YACN,SAAS;SACZ,CAAC;IACN,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnalyticalWidgetType, IDashboardLayout, IDashboardLayoutItem, IDashboardLayoutSize, ISettings, ScreenSize } from "@gooddata/sdk-model";
|
|
2
|
-
import { IDashboardLayoutItemFacade } from "../../../../_staging/dashboard/
|
|
2
|
+
import { IDashboardLayoutItemFacade } from "../../../../_staging/dashboard/legacyFluidLayout/index.js";
|
|
3
3
|
import { MeasurableWidgetContent } from "../../../../_staging/layout/sizing.js";
|
|
4
4
|
/**
|
|
5
5
|
* Unify dashboard layout items height for all screens.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizing.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.ts"],"names":[],"mappings":"AACA,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EAEpB,oBAAoB,EAGpB,SAAS,EAGT,UAAU,EACb,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"sizing.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.ts"],"names":[],"mappings":"AACA,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,oBAAoB,EAEpB,oBAAoB,EAGpB,SAAS,EAGT,UAAU,EACb,MAAM,qBAAqB,CAAC;AAS7B,OAAO,EAGH,0BAA0B,EAE7B,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAEH,uBAAuB,EAK1B,MAAM,uCAAuC,CAAC;AAO/C;;;;GAIG;AACH,wBAAgB,+BAA+B,CAAC,OAAO,EACnD,MAAM,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAClC,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAC7B,wBAAgB,+BAA+B,CAAC,OAAO,EACnD,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC,EAAE,GACvC,oBAAoB,CAAC,OAAO,CAAC,EAAE,CAAC;AAoJnC;;;;;;GAMG;AACH,wBAAgB,2CAA2C,CAAC,OAAO,EAC/D,KAAK,EAAE,oBAAoB,CAAC,OAAO,CAAC,EAAE,EACtC,MAAM,EAAE,UAAU,GACnB,oBAAoB,CAAC,OAAO,CAAC,EAAE,EAAE,CA4BnC;AAsGD;;;;;GAKG;AACH,KAAK,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,uBAAuB,6GAGrB,YAAY,EAAE,KAC1B,YAAY,EAiCd,CAAC;AAEF,eAAO,MAAM,6CAA6C,SAChD,oBAAoB,UAClB,UAAU,KACnB,MAOF,CAAC;AAEF,wBAAgB,kCAAkC,CAC9C,IAAI,EAAE,0BAA0B,CAAC,GAAG,CAAC,EACrC,MAAM,EAAE,UAAU,GACnB,MAAM,CAsBR;AAED,wBAAgB,wCAAwC,CACpD,QAAQ,EAAE,SAAS,EACnB,UAAU,EAAE,oBAAoB,EAChC,aAAa,CAAC,EAAE,uBAAuB,GACxC,MAAM,CAGR;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAC/C,MAAM,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAClC,gBAAgB,CAAC,OAAO,CAAC,CAgB3B;AAiBD;;GAEG;AACH,wBAAgB,iCAAiC,CAC7C,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,uBAAuB,EACtC,QAAQ,EAAE,SAAS,GACpB;IACC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAYA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2019-
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
2
|
import { isDashboardLayout, isWidget, isWidgetDefinition, } from "@gooddata/sdk-model";
|
|
3
3
|
import { fluidLayoutDescriptor } from "@gooddata/sdk-ui-ext";
|
|
4
4
|
import clamp from "lodash/clamp.js";
|
|
@@ -7,9 +7,7 @@ import isEqual from "lodash/isEqual.js";
|
|
|
7
7
|
import isNil from "lodash/isNil.js";
|
|
8
8
|
import round from "lodash/round.js";
|
|
9
9
|
import { invariant } from "ts-invariant";
|
|
10
|
-
import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../../_staging/dashboard/
|
|
11
|
-
import { DashboardLayoutBuilder } from "../../../../_staging/dashboard/fluidLayout/builder/layout.js";
|
|
12
|
-
import { DashboardLayoutFacade } from "../../../../_staging/dashboard/fluidLayout/facade/layout.js";
|
|
10
|
+
import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, DashboardLayoutBuilder, DashboardLayoutFacade, } from "../../../../_staging/dashboard/legacyFluidLayout/index.js";
|
|
13
11
|
import { getDashboardLayoutItemHeightForGrid, getSizeInfo, getDashboardLayoutWidgetMinGridWidth, getDashboardLayoutWidgetMinGridHeight, getDashboardLayoutWidgetMaxGridHeight, } from "../../../../_staging/layout/sizing.js";
|
|
14
12
|
import { ALL_SCREENS, DASHBOARD_LAYOUT_CONTAINER_WIDTHS, DASHBOARD_LAYOUT_MAX_HEIGHT_AS_RATIO_XS, } from "../../../constants/index.js";
|
|
15
13
|
export function unifyDashboardLayoutItemHeights(itemsOrLayout) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sizing.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAOH,iBAAiB,EAEjB,QAAQ,EACR,kBAAkB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,
|
|
1
|
+
{"version":3,"file":"sizing.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAOH,iBAAiB,EAEjB,QAAQ,EACR,kBAAkB,GAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EACH,mCA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
|
2
2
|
import { renderModeAware } from "../componentDefinition/index.js";
|
|
3
|
-
import { EmptyDashboardDropZone } from "../dragAndDrop/index.js";
|
|
4
3
|
import { EmptyDashboardError } from "./EmptyDashboardError.js";
|
|
4
|
+
import { EmptyDashboardDropZone } from "./dragAndDrop/draggableWidget/EmptyDashboardDropZone.js";
|
|
5
5
|
export const EmptyDashboardLayout = renderModeAware({
|
|
6
6
|
view: EmptyDashboardError,
|
|
7
7
|
edit: EmptyDashboardDropZone,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/layout/EmptyDashboardLayout.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"EmptyDashboardLayout.js","sourceRoot":"","sources":["../../../src/presentation/layout/EmptyDashboardLayout.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AAEjG,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAChD,IAAI,EAAE,mBAAmB;IACzB,IAAI,EAAE,sBAAsB;CAC/B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/presentation/layout/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,4BAA4B,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/presentation/layout/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAC/C,eAAO,MAAM,4BAA4B,MAAM,CAAC"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
// (C) 2022 GoodData Corporation
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
export const DEFAULT_COLUMN_CLIENT_WIDTH = 100;
|
|
3
3
|
export const DEFAULT_WIDTH_RESIZER_HEIGHT = 300;
|
|
4
|
-
export const emptyDOMRect = {
|
|
5
|
-
x: 0,
|
|
6
|
-
y: 0,
|
|
7
|
-
bottom: 0,
|
|
8
|
-
top: 0,
|
|
9
|
-
left: 0,
|
|
10
|
-
right: 0,
|
|
11
|
-
height: 0,
|
|
12
|
-
width: 0,
|
|
13
|
-
};
|
|
14
4
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/presentation/layout/constants.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/presentation/layout/constants.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAC;AAC/C,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DragLayer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/dragAndDrop/DragLayer.tsx"],"names":[],"mappings":"AACA,OAAc,EAAiB,EAAE,EAA2C,MAAM,OAAO,CAAC;AAsB1F,eAAO,MAAM,kBAAkB,EAAE,EA0DhC,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import React, { useCallback, useEffect, useMemo, useRef } from "react";
|
|
3
|
+
import { useDragLayer } from "react-dnd";
|
|
4
|
+
import { isDraggableInternalItemType, useResizeHandlers, } from "../../dragAndDrop/index.js";
|
|
5
|
+
import { useScrollCorrection } from "../../dragAndDrop/Resize/useScrollCorrection.js";
|
|
6
|
+
import { DASHBOARD_HEADER_OVERLAYS_Z_INDEX } from "../../constants/index.js";
|
|
7
|
+
import { ContentDragPreview } from "./DragLayerPreview/ContentDragPreview.js";
|
|
8
|
+
import { HeightResizerDragPreview } from "./DragLayerPreview/HeightResizerDragPreview.js";
|
|
9
|
+
import { WidthResizerDragPreview } from "./DragLayerPreview/WidthResizerDragPreview.js";
|
|
10
|
+
import { emptyDOMRect } from "../../constants.js";
|
|
11
|
+
const previewComponentsMap = {
|
|
12
|
+
"internal-height-resizer": HeightResizerDragPreview,
|
|
13
|
+
"internal-width-resizer": WidthResizerDragPreview,
|
|
14
|
+
};
|
|
15
|
+
export const DragLayerComponent = () => {
|
|
16
|
+
const dragLayerRef = useRef(null);
|
|
17
|
+
const { setScrollCorrection } = useResizeHandlers();
|
|
18
|
+
const dragLayerProperties = useDragLayer((monitor) => ({
|
|
19
|
+
item: monitor.getItem(),
|
|
20
|
+
itemType: monitor.getItemType(),
|
|
21
|
+
clientOffset: monitor.getClientOffset(),
|
|
22
|
+
currentOffset: monitor.getSourceClientOffset(),
|
|
23
|
+
initialOffset: monitor.getInitialSourceClientOffset(),
|
|
24
|
+
differenceFromInitialOffset: monitor.getDifferenceFromInitialOffset(),
|
|
25
|
+
isDragging: monitor.isDragging(),
|
|
26
|
+
}));
|
|
27
|
+
const { itemType, isDragging } = dragLayerProperties;
|
|
28
|
+
const getDragLayerPosition = useCallback(() => {
|
|
29
|
+
return dragLayerRef.current?.getBoundingClientRect() ?? emptyDOMRect;
|
|
30
|
+
}, [dragLayerRef.current]);
|
|
31
|
+
const isResizing = itemType === "internal-height-resizer" || itemType === "internal-width-resizer";
|
|
32
|
+
const { scrollCorrection } = useScrollCorrection(getDragLayerPosition, isDragging && isResizing);
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
setScrollCorrection(scrollCorrection);
|
|
35
|
+
}, [scrollCorrection, setScrollCorrection]);
|
|
36
|
+
const layerStyles = useMemo(() => {
|
|
37
|
+
const position = isResizing ? "relative" : "fixed";
|
|
38
|
+
return {
|
|
39
|
+
position,
|
|
40
|
+
pointerEvents: "none",
|
|
41
|
+
zIndex: DASHBOARD_HEADER_OVERLAYS_Z_INDEX + 1,
|
|
42
|
+
left: 0,
|
|
43
|
+
top: 0,
|
|
44
|
+
width: "100%",
|
|
45
|
+
height: "100%",
|
|
46
|
+
};
|
|
47
|
+
}, [isResizing]);
|
|
48
|
+
if (!isDragging) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
const Component = isDraggableInternalItemType(itemType)
|
|
52
|
+
? previewComponentsMap[itemType]
|
|
53
|
+
: ContentDragPreview;
|
|
54
|
+
const previewProps = isDraggableInternalItemType(itemType)
|
|
55
|
+
? { ...dragLayerProperties, getDragLayerPosition, scrollCorrection }
|
|
56
|
+
: dragLayerProperties;
|
|
57
|
+
return (React.createElement("div", { className: "drag-layer", style: layerStyles, ref: dragLayerRef },
|
|
58
|
+
React.createElement(Component, { ...previewProps })));
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=DragLayer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DragLayer.js","sourceRoot":"","sources":["../../../../src/presentation/layout/dragAndDrop/DragLayer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAqB,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEzC,OAAO,EAGH,2BAA2B,EAC3B,iBAAiB,GACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAE7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+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CAAC,EAAE,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAE5C,MAAM,WAAW,GAAkB,OAAO,CAAC,GAAG,EAAE;QAC5C,MAAM,QAAQ,GAAG,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC;QAEnD,OAAO;YACH,QAAQ;YACR,aAAa,EAAE,MAAM;YACrB,MAAM,EAAE,iCAAiC,GAAG,CAAC;YAC7C,IAAI,EAAE,CAAC;YACP,GAAG,EAAE,CAAC;YACN,KAAK,EAAE,MAAM;YACb,MAAM,EAAE,MAAM;SACjB,CAAC;IACN,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAC;IAEjB,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,SAAS,GAAG,2BAA2B,CAAC,QAAQ,CAAC;QACnD,CAAC,CAAC,oBAAoB,CAAC,QAAQ,CAAC;QAChC,CAAC,CAAC,kBAAkB,CAAC;IAEzB,MAAM,YAAY,GAAG,2BAA2B,CAAC,QAAQ,CAAC;QACtD,CAAC,CAAC,EAAE,GAAG,mBAAmB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE;QACpE,CAAC,CAAC,mBAAmB,CAAC;IAE1B,OAAO,CACH,6BAAK,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,YAAY;QAC7D,oBAAC,SAAS,OAAK,YAAY,GAAI,CAC7B,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { DraggableContentItem } from "../../../dragAndDrop/index.js";
|
|
3
|
+
import { DragPreviewProps } from "../../../dragAndDrop/DragLayerPreview/types.js";
|
|
4
|
+
export declare const ContentDragPreview: FC<DragPreviewProps<DraggableContentItem>>;
|
|
5
|
+
//# sourceMappingURL=ContentDragPreview.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDragPreview.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,EAAE,EAAW,MAAM,OAAO,CAAC;AAG3C,OAAO,EAAE,oBAAoB,EAA4B,MAAM,+BAA+B,CAAC;AAG/F,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAkBlF,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAkDzE,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import React, { useMemo } from "react";
|
|
3
|
+
import { useDashboardComponentsContext } from "../../../dashboardContexts/index.js";
|
|
4
|
+
import { DEBUG_SHOW_DROP_ZONES } from "../../../dragAndDrop/debug.js";
|
|
5
|
+
function getItemStyles(initialOffset, clientOffset) {
|
|
6
|
+
if (!initialOffset || !clientOffset) {
|
|
7
|
+
return {
|
|
8
|
+
display: "none",
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
const { x, y } = clientOffset;
|
|
12
|
+
const transform = `translate(${x}px, ${y}px)`;
|
|
13
|
+
return {
|
|
14
|
+
transform,
|
|
15
|
+
WebkitTransform: transform,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export const ContentDragPreview = (props) => {
|
|
19
|
+
const { itemType, item, initialOffset, clientOffset } = props;
|
|
20
|
+
const { AttributeFilterComponentSet, InsightWidgetComponentSet, KpiWidgetComponentSet, DateFilterComponentSet, RichTextWidgetComponentSet, VisualizationSwitcherWidgetComponentSet, DashboardLayoutWidgetComponentSet, } = useDashboardComponentsContext();
|
|
21
|
+
const previewComponentsMap = useMemo(() => ({
|
|
22
|
+
attributeFilter: AttributeFilterComponentSet.dragging.DraggingComponent,
|
|
23
|
+
dateFilter: DateFilterComponentSet.dragging.DraggingComponent,
|
|
24
|
+
insight: InsightWidgetComponentSet.dragging.DraggingComponent,
|
|
25
|
+
kpi: KpiWidgetComponentSet.dragging.DraggingComponent,
|
|
26
|
+
richText: RichTextWidgetComponentSet.dragging.DraggingComponent,
|
|
27
|
+
visualizationSwitcher: VisualizationSwitcherWidgetComponentSet.dragging.DraggingComponent,
|
|
28
|
+
dashboardLayout: DashboardLayoutWidgetComponentSet.dragging.DraggingComponent,
|
|
29
|
+
}), [
|
|
30
|
+
AttributeFilterComponentSet.dragging.DraggingComponent,
|
|
31
|
+
InsightWidgetComponentSet.dragging.DraggingComponent,
|
|
32
|
+
KpiWidgetComponentSet.dragging.DraggingComponent,
|
|
33
|
+
DateFilterComponentSet.dragging.DraggingComponent,
|
|
34
|
+
RichTextWidgetComponentSet.dragging.DraggingComponent,
|
|
35
|
+
VisualizationSwitcherWidgetComponentSet.dragging.DraggingComponent,
|
|
36
|
+
DashboardLayoutWidgetComponentSet.dragging.DraggingComponent,
|
|
37
|
+
]);
|
|
38
|
+
const component = useMemo(() => {
|
|
39
|
+
if (!(itemType in previewComponentsMap)) {
|
|
40
|
+
if (DEBUG_SHOW_DROP_ZONES) {
|
|
41
|
+
console.warn(`DND: dnd item ${itemType} not handled by CustomDragLayer`);
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
const Component = previewComponentsMap[itemType];
|
|
46
|
+
return React.createElement(Component, { itemType: itemType, item: item });
|
|
47
|
+
}, [itemType, previewComponentsMap, item]);
|
|
48
|
+
return (React.createElement("div", { className: "drag-preview", style: getItemStyles(initialOffset, clientOffset) }, component));
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=ContentDragPreview.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentDragPreview.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,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,CAAC,iBAAiB;KAChF,CAAC,EACF;QACI,2BAA2B,CAAC,QAAQ,CAAC,iBAAiB;QACtD,yBAAyB,CAAC,QAAQ,CAAC,iBAAiB;QACpD,qBAAqB,CAAC,QAAQ,CAAC,iBAAiB;QAChD,sBAAsB,CAAC,QAAQ,CAAC,iBAAiB;QACjD,0BAA0B,CAAC,QAAQ,CAAC,iBAAiB;QACrD,uCAAuC,CAAC,QAAQ,CAAC,iBAAiB;QAClE,iCAAiC,CAAC,QAAQ,CAAC,iBAAiB;KAC/D,CACJ,CAAC;IAEF,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,EAAE;QAC3B,IAAI,CAAC,CAAC,QAAQ,IAAI,oBAAoB,CAAC,EAAE,CAAC;YACtC,IAAI,qBAAqB,EAAE,CAAC;gBACxB,OAAO,CAAC,IAAI,CAAC,iBAAiB,QAAQ,iCAAiC,CAAC,CAAC;YAC7E,CAAC;YACD,OAAO,IAAI,CAAC;QAChB,CAAC;QAED,MAAM,SAAS,GAAG,oBAAoB,CAAC,QAAoC,CAAC,CAAC;QAC7E,OAAO,oBAAC,SAAS,IAAC,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;IACzD,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,EAAE,IAAI,CAAC,CAAC,CAAC;IAE3C,OAAO,CACH,6BAAK,SAAS,EAAC,cAAc,EAAC,KAAK,EAAE,aAAa,CAAC,aAAa,EAAE,YAAY,CAAC,IAC1E,SAAS,CACR,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { HeightResizerDragItem } from "../../../dragAndDrop/index.js";
|
|
3
|
+
import { DragResizeProps } from "../../../dragAndDrop/DragLayerPreview/types.js";
|
|
4
|
+
export type HeightResizerDragPreviewProps = DragResizeProps<HeightResizerDragItem>;
|
|
5
|
+
export declare const HeightResizerDragPreview: (props: HeightResizerDragPreviewProps) => React.JSX.Element;
|
|
6
|
+
export declare function getLimitedYCoord(item: HeightResizerDragItem, initialSourceClientOffsetY: number, differenceFromInitialOffsetY: number, scrollingCorrectionY: number): number;
|
|
7
|
+
//# sourceMappingURL=HeightResizerDragPreview.d.ts.map
|
package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeightResizerDragPreview.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,EAAE,qBAAqB,EAAqB,MAAM,+BAA+B,CAAC;AAGzF,OAAO,EAAE,eAAe,EAAwB,MAAM,gDAAgD,CAAC;AAEvG,MAAM,MAAM,6BAA6B,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AAEnF,eAAO,MAAM,wBAAwB,UAAW,6BAA6B,sBAyC5E,CAAC;AAoBF,wBAAgB,gBAAgB,CAC5B,IAAI,EAAE,qBAAqB,EAC3B,0BAA0B,EAAE,MAAM,EAClC,4BAA4B,EAAE,MAAM,EACpC,oBAAoB,EAAE,MAAM,GAC7B,MAAM,CASR"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// (C) 2021-
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
2
|
import React, { useEffect, useState } from "react";
|
|
3
|
-
import { HeightResizer } from "../Resize/HeightResizer.js";
|
|
4
3
|
import { fluidLayoutDescriptor } from "@gooddata/sdk-ui-ext";
|
|
5
|
-
import {
|
|
4
|
+
import { HeightResizer } from "../Resize/HeightResizer.js";
|
|
5
|
+
import { useResizeHandlers } from "../../../dragAndDrop/index.js";
|
|
6
6
|
import { getLimitedSize } from "./sizeLimiting.js";
|
|
7
7
|
export const HeightResizerDragPreview = (props) => {
|
|
8
8
|
const { item, initialOffset, differenceFromInitialOffset, scrollCorrection, getDragLayerPosition } = props;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeightResizerDragPreview.js","sourceRoot":"","sources":["../../../../../src/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAyB,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAEzF,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKnD,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,KAAoC,EAAE,EAAE;IAC7E,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,GAC9F,KAAK,CAAC;IAEV,MAAM,EAAE,wBAAwB,EAAE,GAAG,iBAAiB,EAAE,CAAC;IACzD,MAAM,CAAC,eAAe,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAuB,MAAM,CAAC,CAAC;IAClF,SAAS,CAAC,GAAG,EAAE;QACX,wBAAwB,CAAC,eAAe,CAAC,CAAC;IAC9C,CAAC,EAAE,CAAC,eAAe,EAAE,wBAAwB,CAAC,CAAC,CAAC;IAEhD,MAAM,eAAe,GAAG,oBAAoB,EAAE,CAAC;IAC/C,MAAM,wBAAwB,GAAG,cAAc,CAC3C,IAAI,CAAC,aAAa,EAClB,2BAA2B,CAAC,CAAC,EAC7B,gBAAgB,CAAC,CAAC,CACrB,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE;QACX,MAAM,kBAAkB,GAAG,qBAAqB,CAC5C,wBAAwB,EACxB,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,QAAQ,CA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