@gooddata/sdk-ui-dashboard 10.16.0-alpha.8 → 10.16.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +9 -9
- 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 +120 -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 +42 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.js +122 -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 +13 -4
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +143 -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/dashboard/common/loadNotificationChannelsCount.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js +12 -2
- package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +2 -0
- package/esm/model/commandHandlers/index.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 +40 -22
- package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts +6 -0
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.js +9 -0
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.js.map +1 -0
- 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/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +3 -2
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts +1 -1
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js +10 -2
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js.map +1 -1
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/index.d.ts +4 -4
- 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 +465 -10
- package/esm/model/commands/layout.d.ts.map +1 -1
- package/esm/model/commands/layout.js +473 -5
- package/esm/model/commands/layout.js.map +1 -1
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/base.js.map +1 -1
- package/esm/model/events/layout.d.ts +180 -12
- package/esm/model/events/layout.d.ts.map +1 -1
- package/esm/model/events/layout.js +42 -11
- package/esm/model/events/layout.js.map +1 -1
- package/esm/model/events/userInteraction.d.ts +6 -2
- package/esm/model/events/userInteraction.d.ts.map +1 -1
- package/esm/model/events/userInteraction.js.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +1 -0
- package/esm/model/react/useDashboardCommand.d.ts.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.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +9 -1
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +3 -3
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +3 -3
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +23 -18
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/index.js +6 -1
- package/esm/model/store/layout/index.js.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +24 -25
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +86 -58
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts +46 -2
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +66 -4
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/store/layout/layoutState.d.ts +2 -1
- package/esm/model/store/layout/layoutState.d.ts.map +1 -1
- package/esm/model/store/layout/layoutState.js +2 -1
- package/esm/model/store/layout/layoutState.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 +63 -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 +10 -8
- 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 +8 -6
- 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 +11 -47
- 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 +4 -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 -13
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +31 -136
- 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 +95 -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 +7 -8
- 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/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +5 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
- 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/AlertDestinationSelect.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +5 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +27 -5
- 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 +742 -23
- 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 +16 -15
- 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/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
|
+
import React, { useEffect, useState } from "react";
|
|
3
|
+
import { fluidLayoutDescriptor } from "@gooddata/sdk-ui-ext";
|
|
4
|
+
import { HeightResizer } from "../Resize/HeightResizer.js";
|
|
5
|
+
import { getLimitedSize } from "./sizeLimiting.js";
|
|
6
|
+
import { useResizeHandlers } from "../../../dragAndDrop/index.js";
|
|
7
|
+
export const HeightResizerDragPreview = (props) => {
|
|
8
|
+
const { item, initialOffset, differenceFromInitialOffset, scrollCorrection, getDragLayerPosition } = props;
|
|
9
|
+
const { toggleHeightLimitReached } = useResizeHandlers();
|
|
10
|
+
const [hasReachedLimit, setReachedLimit] = useState("none");
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
toggleHeightLimitReached(hasReachedLimit);
|
|
13
|
+
}, [hasReachedLimit, toggleHeightLimitReached]);
|
|
14
|
+
const dragLayerOffset = getDragLayerPosition();
|
|
15
|
+
const currentUnlimitedHeightGR = getNewHeightGR(item.widgetHeights, differenceFromInitialOffset.y, scrollCorrection.y);
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
const hasNowReachedLimit = hasHeightReachedLimit(currentUnlimitedHeightGR, item.minLimit, item.maxLimit);
|
|
18
|
+
if (hasNowReachedLimit !== hasReachedLimit) {
|
|
19
|
+
setReachedLimit(hasNowReachedLimit);
|
|
20
|
+
}
|
|
21
|
+
}, [currentUnlimitedHeightGR, item.minLimit, item.maxLimit, hasReachedLimit]);
|
|
22
|
+
const top = getLimitedYCoord(item, initialOffset.y, differenceFromInitialOffset.y, scrollCorrection.y);
|
|
23
|
+
const style = {
|
|
24
|
+
top: `${top - dragLayerOffset.y + scrollCorrection.y}px`,
|
|
25
|
+
left: `${initialOffset.x - dragLayerOffset.x + scrollCorrection.x}px`,
|
|
26
|
+
width: `${item.initialLayoutDimensions.width}px`,
|
|
27
|
+
};
|
|
28
|
+
return (React.createElement("div", { className: "height-resizer-drag-preview s-height-resizer-drag-preview", style: style },
|
|
29
|
+
React.createElement(HeightResizer, { status: "active" })));
|
|
30
|
+
};
|
|
31
|
+
function getPrimaryHeightGR(heightsGR) {
|
|
32
|
+
heightsGR = heightsGR || [10];
|
|
33
|
+
return Math.max(...heightsGR);
|
|
34
|
+
}
|
|
35
|
+
function hasHeightReachedLimit(heightGR, min, max) {
|
|
36
|
+
if (heightGR < min)
|
|
37
|
+
return "min";
|
|
38
|
+
if (heightGR > max)
|
|
39
|
+
return "max";
|
|
40
|
+
return "none";
|
|
41
|
+
}
|
|
42
|
+
function getNewHeightGR(widgetHeights, offsetYPX, scrollingCorrectionY) {
|
|
43
|
+
const primaryHeightGR = getPrimaryHeightGR(widgetHeights);
|
|
44
|
+
const totalDelta = offsetYPX - scrollingCorrectionY;
|
|
45
|
+
const deltaHeightGR = fluidLayoutDescriptor.toGridHeight(totalDelta);
|
|
46
|
+
return primaryHeightGR + deltaHeightGR;
|
|
47
|
+
}
|
|
48
|
+
export function getLimitedYCoord(item, initialSourceClientOffsetY, differenceFromInitialOffsetY, scrollingCorrectionY) {
|
|
49
|
+
const { minLimit, maxLimit } = item;
|
|
50
|
+
const deltaSize = fluidLayoutDescriptor.toGridHeight(differenceFromInitialOffsetY - scrollingCorrectionY);
|
|
51
|
+
const curPrimaryHeightGR = getPrimaryHeightGR(item.widgetHeights);
|
|
52
|
+
const newSizeLimited = getLimitedSize(minLimit, maxLimit, curPrimaryHeightGR, deltaSize);
|
|
53
|
+
const deltaY = fluidLayoutDescriptor.toHeightInPx(newSizeLimited - curPrimaryHeightGR);
|
|
54
|
+
return initialSourceClientOffsetY + deltaY;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=HeightResizerDragPreview.js.map
|
package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeightResizerDragPreview.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE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gB,CAC5B,IAA2B,EAC3B,0BAAkC,EAClC,4BAAoC,EACpC,oBAA4B;IAE5B,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAEpC,MAAM,SAAS,GAAG,qBAAqB,CAAC,YAAY,CAAC,4BAA4B,GAAG,oBAAoB,CAAC,CAAC;IAC1G,MAAM,kBAAkB,GAAG,kBAAkB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IAClE,MAAM,cAAc,GAAG,cAAc,CAAC,QAAQ,EAAE,QAAQ,EAAE,kBAAkB,EAAE,SAAS,CAAC,CAAC;IACzF,MAAM,MAAM,GAAG,qBAAqB,CAAC,YAAY,CAAC,cAAc,GAAG,kBAAkB,CAAC,CAAC;IAEvF,OAAO,0BAA0B,GAAG,MAAM,CAAC;AAC/C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { XYCoord } from "react-dnd";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { WidthResizerDragItem } from "../../../dragAndDrop/types.js";
|
|
4
|
+
import { DragResizeProps } from "../../../dragAndDrop/DragLayerPreview/types.js";
|
|
5
5
|
interface IWidthResizerDragPreviewOwnProps {
|
|
6
6
|
item: WidthResizerDragItem;
|
|
7
7
|
differenceFromInitialOffset: XYCoord;
|
|
@@ -22,7 +22,7 @@ export declare function getSizeAndXCoords(item: WidthResizerDragItem, initialSou
|
|
|
22
22
|
limitedSize: number;
|
|
23
23
|
unlimitedSize: number;
|
|
24
24
|
isLimited: boolean;
|
|
25
|
-
limitReached: import("
|
|
25
|
+
limitReached: import("../../../dragAndDrop/DragLayerPreview/types.js").ReachedResizingLimit;
|
|
26
26
|
};
|
|
27
27
|
export declare function getDiffInGridColumns(pxDiffX: number, gridColumnWidth: number): number;
|
|
28
28
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidthResizerDragPreview.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.tsx"],"names":[],"mappings":"AACA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAGrE,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AAGjF,UAAU,gCAAgC;IACtC,IAAI,EAAE,oBAAoB,CAAC;IAC3B,2BAA2B,EAAE,OAAO,CAAC;IACrC,yBAAyB,EAAE,OAAO,CAAC;CACtC;AAED,MAAM,WAAW,qCAAqC;IAClD,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAChD,oBAAoB,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9E;AAED,MAAM,MAAM,6BAA6B,GAAG,qCAAqC,GAC7E,gCAAgC,CAAC;AAErC,MAAM,MAAM,4BAA4B,GAAG,eAAe,CAAC,oBAAoB,CAAC,CAAC;AAEjF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,4BAA4B,qBAwC1E;AAED,wBAAgB,iBAAiB,CAC7B,IAAI,EAAE,oBAAoB,EAC1B,0BAA0B,EAAE,MAAM,EAClC,4BAA4B,EAAE,MAAM,EACpC,iBAAiB,EAAE,MAAM;;;;;;;;;EAsB5B;AAED,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAErF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// (C) 2019-
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
2
|
import React, { useEffect } from "react";
|
|
3
3
|
import { WidthResizer } from "../Resize/WidthResizer.js";
|
|
4
4
|
import { applySizeLimitation } from "./sizeLimiting.js";
|
|
5
|
-
import { useResizeHandlers } from "
|
|
5
|
+
import { useResizeHandlers } from "../../../dragAndDrop/index.js";
|
|
6
6
|
export function WidthResizerDragPreview(props) {
|
|
7
7
|
const { setWidthState } = useResizeHandlers();
|
|
8
8
|
const { item, differenceFromInitialOffset, initialOffset, scrollCorrection, getDragLayerPosition } = props;
|
package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidthResizerDragPreview.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAkBlE,MAAM,UAAU,uBAAuB,CAAC,KAAmC;IACvE,MAAM,EAAE,aAAa,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAE9C,MAAM,EAAE,IAAI,EAAE,2BAA2B,EAAE,aAAa,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,GAC9F,KAAK,CAAC;IACV,MAAM,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;IACtC,MAAM,aAAa,GAAG,iBAAiB,CACnC,IAAI,EACJ,aAAa,CAAC,CAAC,EACf,2BAA2B,CAAC,CAAC,EAC7B,gBAAgB,CAAC,CAAC,CACrB,CAAC;IAEF,MAAM,KAAK,GAAG,oBAAoB,CAAC;QAC/B,oBAAoB;QACpB,aAAa;QACb,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,eAAe,EAAE,oBAAoB,EAAE;QACvC,gBAAgB;KACnB,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,aAAa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Ae;QACxD,YAAY;QACZ,YAAY;KACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,OAAe,EAAE,eAAuB;IACzE,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,eAAe,CAAC,CAAC;AACjD,CAAC;AAED,SAAS,oBAAoB,CAAC,EAC1B,aAAa,EACb,QAAQ,EACR,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GAOnB;IACG,OAAO;QACH,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,GAAG,aAAa,CAAC,CAAC,GAAG,eAAe,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,IAAI;QACpE,IAAI,EAAE,GAAG,QAAQ,GAAG,eAAe,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,IAAI;QAC9D,MAAM,EAAE,GAAG,oBAAoB,IAAI;KACtC,CAAC;AACN,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReachedResizingLimit } from "
|
|
1
|
+
import { ReachedResizingLimit } from "../../../dragAndDrop/DragLayerPreview/types.js";
|
|
2
2
|
export declare function getLimitedSize(minimumSize: number, maximumSize: number, originalSize: number, deltaSize: number): number;
|
|
3
3
|
export declare function applySizeLimitation(minimumSize: number, maximumSize: number, originalSize: number, deltaSize: number): {
|
|
4
4
|
limitedSize: number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sizeLimiting.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAEtF,wBAAgB,cAAc,CAC1B,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM,GAClB,MAAM,CAGR;AAgBD,wBAAgB,mBAAmB,CAC/B,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,SAAS,EAAE,MAAM;;;;;EAWpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sizeLimiting.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAGpC,MAAM,UAAU,cAAc,CAC1B,WAAmB,EACnB,WAAmB,EACnB,YAAoB,EACpB,SAAiB;IAEjB,MAAM,OAAO,GAAG,YAAY,GAAG,SAAS,CAAC;IACzC,OAAO,KAAK,CAAC,OAAO,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;AACpD,CAAC;AAED,SAAS,eAAe,CACpB,aAAqB,EACrB,WAAmB,EACnB,WAAmB;IAEnB,MAAM,SAAS,GAAG,WAAW,KAAK,aAAa,CAAC;IAEhD,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,OAAO,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,mBAAmB,CAC/B,WAAmB,EACnB,WAAmB,EACnB,YAAoB,EACpB,SAAiB;IAEjB,MAAM,aAAa,GAAG,YAAY,GAAG,SAAS,CAAC;IAC/C,MAAM,WAAW,GAAG,KAAK,CAAC,aAAa,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;IAEnE,OAAO;QACH,WAAW;QACX,aAAa;QACb,SAAS,EAAE,WAAW,KAAK,aAAa;QACxC,YAAY,EAAE,eAAe,CAAC,aAAa,EAAE,WAAW,EAAE,WAAW,CAAC;KACzE,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bullet.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,WAAW;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoBxC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
export const Bullet = ({ isCurrent, isInitial, isLast, index }) => {
|
|
5
|
+
const bulletStyle = classnames("gd-resize-bullet", `s-resize-bullet-${index}`, {
|
|
6
|
+
"gd-resize-bullet--last": isLast,
|
|
7
|
+
});
|
|
8
|
+
return (React.createElement("div", { className: bulletStyle },
|
|
9
|
+
React.createElement("svg", { className: "gd-resize-bullet-icon" },
|
|
10
|
+
React.createElement("circle", { cx: "3", cy: "3", r: "3", className: classnames({
|
|
11
|
+
active: isCurrent,
|
|
12
|
+
initial: isInitial,
|
|
13
|
+
passive: !isCurrent && !isInitial,
|
|
14
|
+
}) }))));
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=Bullet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Bullet.js","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,YAAY,CAAC;AASpC,MAAM,CAAC,MAAM,MAAM,GAA0B,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACrF,MAAM,WAAW,GAAG,UAAU,CAAC,kBAAkB,EAAE,mBAAmB,KAAK,EAAE,EAAE;QAC3E,wBAAwB,EAAE,MAAM;KACnC,CAAC,CAAC;IACH,OAAO,CACH,6BAAK,SAAS,EAAE,WAAW;QACvB,6BAAK,SAAS,EAAC,uBAAuB;YAClC,gCACI,EAAE,EAAC,GAAG,EACN,EAAE,EAAC,GAAG,EACN,CAAC,EAAC,GAAG,EACL,SAAS,EAAE,UAAU,CAAC;oBAClB,MAAM,EAAE,SAAS;oBACjB,OAAO,EAAE,SAAS;oBAClB,OAAO,EAAE,CAAC,SAAS,IAAI,CAAC,SAAS;iBACpC,CAAC,GACJ,CACA,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BulletsBar.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAuC9B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../../../_staging/dashboard/flexibleLayout/config.js";
|
|
4
|
+
import { useResizeWidthStatus } from "../../../../dragAndDrop/index.js";
|
|
5
|
+
import { Bullet } from "./Bullet.js";
|
|
6
|
+
export const BulletsBar = () => {
|
|
7
|
+
const widthResizingStatus = useResizeWidthStatus();
|
|
8
|
+
if (!widthResizingStatus.isResizingWidth) {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
// CSS Grid: grid setup copies the main dashboard grid with 12 columns. Each column contains one bullet
|
|
12
|
+
// that marks the grid column start. The last bullet is rendered next to the grid in flex container and
|
|
13
|
+
// shifted via CSS to the left so, it is placed directly on the grid line. This could be done entirely
|
|
14
|
+
// in CSS, but we need to be able to style bullets based on state (current, initial).
|
|
15
|
+
return (React.createElement("div", { className: "gd-grid-layout__ruler" },
|
|
16
|
+
React.createElement("div", { className: "gd-grid-layout__container--root" }, [...Array(DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT)].map((_, index) => (React.createElement("div", { key: index, className: "gd-grid-layout__item--span-1" },
|
|
17
|
+
React.createElement(Bullet, { key: index, index: index, isInitial: widthResizingStatus.initialIndex === index, isCurrent: widthResizingStatus.currentIndex === index }),
|
|
18
|
+
index === DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT - 1 ? (React.createElement(Bullet, { index: DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, isInitial: widthResizingStatus.initialIndex === DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, isCurrent: widthResizingStatus.currentIndex === DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT, isLast: true })) : null))))));
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=BulletsBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BulletsBar.js","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,mCAAmC,EAAE,MAAM,4DAA4D,CAAC;AACjH,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,UAAU,GAAa,GAAG,EAAE;IACrC,MAAM,mBAAmB,GAAG,oBAAoB,EAAE,CAAC;IAEnD,IAAI,CAAC,mBAAmB,CAAC,eAAe,EAAE,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,uGAAuG;IACvG,uGAAuG;IACvG,sGAAsG;IACtG,qFAAqF;IACrF,OAAO,CACH,6BAAK,SAAS,EAAC,uBAAuB;QAClC,6BAAK,SAAS,EAAC,iCAAiC,IAC3C,CAAC,GAAG,KAAK,CAAC,mCAAmC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CAC/D,6BAAK,GAAG,EAAE,KAAK,EAAE,SAAS,EAAC,8BAA8B;YACrD,oBAAC,MAAM,IACH,GAAG,EAAE,KAAK,EACV,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,mBAAmB,CAAC,YAAY,KAAK,KAAK,EACrD,SAAS,EAAE,mBAAmB,CAAC,YAAY,KAAK,KAAK,GACvD;YACD,KAAK,KAAK,mCAAmC,GAAG,CAAC,CAAC,CAAC,CAAC,CACjD,oBAAC,MAAM,IACH,KAAK,EAAE,mCAAmC,EAC1C,SAAS,EACL,mBAAmB,CAAC,YAAY,KAAK,mCAAmC,EAE5E,SAAS,EACL,mBAAmB,CAAC,YAAY,KAAK,mCAAmC,EAE5E,MAAM,EAAE,IAAI,GACd,CACL,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC,CACA,CACJ,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeightResizer.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAShD,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
export const HeightResizer = (props) => {
|
|
5
|
+
const { status } = props;
|
|
6
|
+
const boxClassName = cx("gd-fluidlayout-height-resizer", status, "s-gd-fluidlayout-height-resizer");
|
|
7
|
+
const lineClassName = cx("height-resizer-line", status);
|
|
8
|
+
return (React.createElement("div", { className: boxClassName },
|
|
9
|
+
React.createElement("div", { className: lineClassName })));
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=HeightResizer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeightResizer.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,MAAM,CAAC,MAAM,aAAa,GAA2B,CAAC,KAAK,EAAE,EAAE;IAC3D,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,MAAM,YAAY,GAAG,EAAE,CAAC,+BAA+B,EAAE,MAAM,EAAE,iCAAiC,CAAC,CAAC;IACpG,MAAM,aAAa,GAAG,EAAE,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC;IACxD,OAAO,CACH,6BAAK,SAAS,EAAE,YAAY;QACxB,6BAAK,SAAS,EAAE,aAAa,GAAI,CAC/B,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ISettings, ScreenSize, IInsight } from "@gooddata/sdk-model";
|
|
3
|
+
import { IDashboardLayoutItemFacade, IDashboardLayoutSectionFacade } from "../../../../_staging/dashboard/flexibleLayout/facade/interfaces.js";
|
|
4
|
+
import { ObjRefMap } from "../../../../_staging/metadata/objRefMap.js";
|
|
5
|
+
export type HeightResizerHotspotProps = {
|
|
6
|
+
section: IDashboardLayoutSectionFacade<unknown>;
|
|
7
|
+
items: IDashboardLayoutItemFacade<unknown>[];
|
|
8
|
+
getLayoutDimensions: () => DOMRect;
|
|
9
|
+
};
|
|
10
|
+
export declare function HeightResizerHotspot({ section, items, getLayoutDimensions }: HeightResizerHotspotProps): React.JSX.Element;
|
|
11
|
+
export declare function getHeightsGR(items: IDashboardLayoutItemFacade<unknown>[], insightMap: ObjRefMap<IInsight>, screen: ScreenSize, settings: ISettings): number[];
|
|
12
|
+
export declare function getNewHeightGR(widgetHeights: number[], offsetYPX: number, scrollCorrectionY: number, minLimit: number, maxLimit: number): number;
|
|
13
|
+
//# sourceMappingURL=HeightResizerHotspot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeightResizerHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAW,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAoB/E,OAAO,EACH,0BAA0B,EAC1B,6BAA6B,EAChC,MAAM,oEAAoE,CAAC;AAK5E,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAOvE,MAAM,MAAM,yBAAyB,GAAG;IACpC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAChD,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7C,mBAAmB,EAAE,MAAM,OAAO,CAAC;CACtC,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,EAAE,yBAAyB,qBAiGtG;AAED,wBAAgB,YAAY,CACxB,KAAK,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAAE,EAC5C,UAAU,EAAE,SAAS,CAAC,QAAQ,CAAC,EAC/B,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,SAAS,YAetB;AAED,wBAAgB,cAAc,CAC1B,aAAa,EAAE,MAAM,EAAE,EACvB,SAAS,EAAE,MAAM,EACjB,iBAAiB,EAAE,MAAM,EACzB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,GACjB,MAAM,CAKR"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// (C) 2021-2024 GoodData Corporation
|
|
2
|
+
import React, { useEffect, useMemo, useState } from "react";
|
|
3
|
+
import { fluidLayoutDescriptor, INSIGHT_WIDGET_SIZE_INFO_DEFAULT } from "@gooddata/sdk-ui-ext";
|
|
4
|
+
import isEqual from "lodash/fp/isEqual.js";
|
|
5
|
+
import isEmpty from "lodash/isEmpty.js";
|
|
6
|
+
import { useDashboardDrag } from "../../../dragAndDrop/useDashboardDrag.js";
|
|
7
|
+
import { isCustomWidgetBase, resizeNestedLayoutItemsHeight, selectInsightsMap, selectSettings, useDashboardDispatch, useDashboardSelector, } from "../../../../model/index.js";
|
|
8
|
+
import { calculateWidgetMinHeight, getMaxHeight, getMinHeight, determineWidthForScreen, } from "../../../../_staging/layout/sizing.js";
|
|
9
|
+
import { HeightResizer } from "./HeightResizer.js";
|
|
10
|
+
import { DEFAULT_WIDTH_RESIZER_HEIGHT } from "../../../layout/constants.js";
|
|
11
|
+
import { getItemIndex } from "../../../../_staging/layout/coordinates.js";
|
|
12
|
+
import cx from "classnames";
|
|
13
|
+
import { useScreenSize } from "../../../dashboard/components/DashboardScreenSizeContext.js";
|
|
14
|
+
import { useResizeContext } from "../../../dragAndDrop/index.js";
|
|
15
|
+
import { useDashboardItemPathAndSize } from "../../../dashboard/components/DashboardItemPathAndSizeContext.js";
|
|
16
|
+
export function HeightResizerHotspot({ section, items, getLayoutDimensions }) {
|
|
17
|
+
const dispatch = useDashboardDispatch();
|
|
18
|
+
const insightsMap = useDashboardSelector(selectInsightsMap);
|
|
19
|
+
const settings = useDashboardSelector(selectSettings);
|
|
20
|
+
const screen = useScreenSize();
|
|
21
|
+
const { itemSize } = useDashboardItemPathAndSize();
|
|
22
|
+
const { resizeDirection, resizeItemIdentifiers, resizeStart, resizeEnd, getScrollCorrection } = useResizeContext();
|
|
23
|
+
const widgets = useMemo(() => items.map((item) => item.widget()), [items]);
|
|
24
|
+
const widgetIdentifiers = useMemo(() => widgets.map((widget) => widget.identifier), [widgets]);
|
|
25
|
+
const customWidgetsRestrictions = useMemo(() => getCustomWidgetRestrictions(items), [items]);
|
|
26
|
+
const gridWidth = determineWidthForScreen(screen, itemSize);
|
|
27
|
+
const [{ isDragging }, dragRef] = useDashboardDrag({
|
|
28
|
+
dragItem: () => {
|
|
29
|
+
const initialLayoutDimensions = getLayoutDimensions();
|
|
30
|
+
const minLimit = getMinHeight(widgets, insightsMap, customWidgetsRestrictions.heightLimit);
|
|
31
|
+
const maxLimit = getMaxHeight(widgets, insightsMap);
|
|
32
|
+
const heightsGR = getHeightsGR(items, insightsMap, screen, settings);
|
|
33
|
+
return {
|
|
34
|
+
type: "internal-height-resizer",
|
|
35
|
+
sectionPath: section.index(),
|
|
36
|
+
sectionIndex: -1, // only for type compatibility reasons, will not be used
|
|
37
|
+
itemIndexes: items.map((item) => getItemIndex(item.index())),
|
|
38
|
+
initialLayoutDimensions,
|
|
39
|
+
widgetHeights: heightsGR,
|
|
40
|
+
minLimit,
|
|
41
|
+
maxLimit,
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
dragEnd: (item, monitor) => {
|
|
45
|
+
const scrollCorrection = getScrollCorrection();
|
|
46
|
+
const { sectionPath, itemIndexes, widgetHeights } = item;
|
|
47
|
+
const minLimit = getMinHeight(widgets, insightsMap, customWidgetsRestrictions.heightLimit);
|
|
48
|
+
const maxLimit = getMaxHeight(widgets, insightsMap);
|
|
49
|
+
const newHeightGR = getNewHeightGR(widgetHeights, monitor.getDifferenceFromInitialOffset()?.y || 0, scrollCorrection.y, minLimit, maxLimit);
|
|
50
|
+
dispatch(resizeNestedLayoutItemsHeight(sectionPath, itemIndexes, newHeightGR));
|
|
51
|
+
resizeEnd();
|
|
52
|
+
},
|
|
53
|
+
}, [widgets, insightsMap, customWidgetsRestrictions.heightLimit]);
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
if (isDragging) {
|
|
56
|
+
resizeStart("height", widgetIdentifiers);
|
|
57
|
+
}
|
|
58
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps -- we want to run this only when isDragging changes
|
|
59
|
+
}, [isDragging]);
|
|
60
|
+
const areWidgetsResizing = resizeDirection !== "none";
|
|
61
|
+
const isColumnResizing = resizeDirection === "width";
|
|
62
|
+
const isOtherRowResizing = !isEmpty(resizeItemIdentifiers) && !isEqual(resizeItemIdentifiers, widgetIdentifiers);
|
|
63
|
+
const [isResizerVisible, setResizerVisibility] = useState(false);
|
|
64
|
+
const onMouseEnter = () => setResizerVisibility(true);
|
|
65
|
+
const onMouseLeave = () => setResizerVisibility(false);
|
|
66
|
+
const shouldRenderResizer = (areWidgetsResizing || isResizerVisible) && !isColumnResizing && !isOtherRowResizing;
|
|
67
|
+
const status = isDragging ? "muted" : "active";
|
|
68
|
+
return (React.createElement("div", { className: cx("dash-height-resizer-container s-dash-height-resizer-container", `gd-grid-layout__item--span-${gridWidth}`) }, customWidgetsRestrictions.allowHeightResize ? (React.createElement("div", { ref: dragRef, className: "dash-height-resizer-hotspot s-dash-height-resizer-hotspot", onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave }, shouldRenderResizer ? React.createElement(HeightResizer, { status: status }) : null)) : null));
|
|
69
|
+
}
|
|
70
|
+
export function getHeightsGR(items, insightMap, screen, settings) {
|
|
71
|
+
return items.reduce((acc, item) => {
|
|
72
|
+
const currentSize = item.sizeForScreen(screen);
|
|
73
|
+
const widgetMinHeightPX = calculateWidgetMinHeight(item.widget(), currentSize, insightMap, settings) ?? DEFAULT_WIDTH_RESIZER_HEIGHT;
|
|
74
|
+
const curHeightGR = fluidLayoutDescriptor.toGridHeight(widgetMinHeightPX);
|
|
75
|
+
const gridHeight = item.sizeForScreen(screen)?.gridHeight ?? curHeightGR;
|
|
76
|
+
return [...acc, gridHeight];
|
|
77
|
+
}, []);
|
|
78
|
+
}
|
|
79
|
+
export function getNewHeightGR(widgetHeights, offsetYPX, scrollCorrectionY, minLimit, maxLimit) {
|
|
80
|
+
const currentWidth = Math.max(...widgetHeights);
|
|
81
|
+
const deltaHeightGR = fluidLayoutDescriptor.toGridHeight(offsetYPX - scrollCorrectionY);
|
|
82
|
+
return Math.min(maxLimit, Math.max(minLimit, currentWidth + deltaHeightGR));
|
|
83
|
+
}
|
|
84
|
+
function getCustomWidgetRestrictions(items) {
|
|
85
|
+
const customWidgetItems = items.filter((item) => isCustomWidgetBase(item.widget()));
|
|
86
|
+
const heightLimit = customWidgetItems.reduce((minCustomWidgetHeight, item) => {
|
|
87
|
+
const { xl: { gridHeight = INSIGHT_WIDGET_SIZE_INFO_DEFAULT.height.default }, } = item.size() ?? { xl: {} };
|
|
88
|
+
return Math.max(minCustomWidgetHeight, gridHeight);
|
|
89
|
+
}, 0);
|
|
90
|
+
return {
|
|
91
|
+
allowHeightResize: customWidgetItems.length < items.length,
|
|
92
|
+
heightLimit: customWidgetItems.length > 0 ? heightLimit : 0,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=HeightResizerHotspot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeightResizerHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,qBAAqB,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAC/F,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAC3C,OAAO,OAAO,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AAC5E,OAAO,EACH,kBAAkB,EAClB,6BAA6B,EAC7B,iBAAiB,EACjB,cAAc,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G,CAAC,GAAG,aAAa,CAAC,CAAC;IAChD,MAAM,aAAa,GAAG,qBAAqB,CAAC,YAAY,CAAC,SAAS,GAAG,iBAAiB,CAAC,CAAC;IAExF,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,GAAG,aAAa,CAAC,CAAC,CAAC;AAChF,CAAC;AACD,SAAS,2BAA2B,CAAC,KAA4C;IAC7E,MAAM,iBAAiB,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IAEpF,MAAM,WAAW,GAAG,iBAAiB,CAAC,MAAM,CAAS,CAAC,qBAAqB,EAAE,IAAI,EAAE,EAAE;QACjF,MAAM,EACF,EAAE,EAAE,EAAE,UAAU,GAAG,gCAAgC,CAAC,MAAM,CAAC,OAAO,EAAE,GACvE,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC;QAE9B,OAAO,IAAI,CAAC,GAAG,CAAC,qBAAqB,EAAE,UAAU,CAAC,CAAC;IACvD,CAAC,EAAE,CAAC,CAAC,CAAC;IAEN,OAAO;QACH,iBAAiB,EAAE,iBAAiB,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM;QAC1D,WAAW,EAAE,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;KAC9D,CAAC;AACN,CAAC"}
|
package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.d.ts
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ReachedResizingLimit } from "
|
|
2
|
+
import { ReachedResizingLimit } from "../../../dragAndDrop/DragLayerPreview/types.js";
|
|
3
3
|
export interface ResizeOverlayProps {
|
|
4
4
|
isResizingColumnOrRow: boolean;
|
|
5
5
|
isActive: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResizeOverlay.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAgBtF,MAAM,WAAW,kBAAkB;IAC/B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,oBAAoB,CAAC;IACxC,kBAAkB,EAAE,oBAAoB,CAAC;CAC5C;AA2CD,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,4BAgCtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResizeOverlay.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAG9D,MAAM,QAAQ,GAAG,cAAc,CAAC;IAC5B,SAAS,EAAE,EAAE,EAAE,EAAE,0BAA0B,EAAE;IAC7C,SAAS,EAAE,EAAE,EAAE,EAAE,0BAA0B,EAAE;IAC7C,QAAQ,EAAE,EAAE,EAAE,EAAE,yBAAyB,EAAE;IAC3C,QAAQ,EAAE,EAAE,EAAE,EAAE,yBAAyB,EAAE;CAC9C,CAAC,CAAC;AAEH,IAAK,mBAKJ;AALD,WAAK,mBAAmB;IACpB,6DAAI,CAAA;IACJ,6DAAI,CAAA;IACJ,iEAAM,CAAA;IACN,+DAAK,CAAA;AACT,CAAC,EALI,mBAAmB,KAAnB,mBAAmB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AAK,mBAAmB,CAAC,MAAM,CAAC;IAEvD,MAAM,OAAO,GAAG,EAAE,CAAC,mBAAmB,EAAE;QACpC,MAAM,EAAE,QAAQ;QAChB,KAAK,EAAE,SAAS;KACnB,CAAC,CAAC;IAEH,MAAM,OAAO,GAAG,UAAU,CAAC;QACvB,kBAAkB,EAAE,KAAK,CAAC,kBAAkB;QAC5C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB;KAC7C,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,CACd,6BAAK,SAAS,EAAC,wBAAwB;QACnC,oBAAC,gBAAgB,OAAK,OAAO,GAAI,CAC/B,CACT,CAAC;IAEF,OAAO,CACH;QACI,6BAAK,IAAI,EAAC,gBAAgB,EAAC,SAAS,EAAE,OAAO,GAAI;QAChD,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAC9B,CACN,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidthResizer.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,wBAAgB,YAAY,CAAC,EAAE,MAAM,EAAE,EAAE,YAAY,qBAQpD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
export function WidthResizer({ status }) {
|
|
5
|
+
const boxClassName = cx("gd-fluidlayout-width-resizer", status, "s-gd-fluidlayout-width-resizer");
|
|
6
|
+
const lineClassName = cx("width-resizer-line", status);
|
|
7
|
+
return (React.createElement("div", { className: boxClassName },
|
|
8
|
+
React.createElement("div", { className: lineClassName })));
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=WidthResizer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidthResizer.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,MAAM,UAAU,YAAY,CAAC,EAAE,MAAM,EAAgB;IACjD,MAAM,YAAY,GAAG,EAAE,CAAC,8BAA8B,EAAE,MAAM,EAAE,gCAAgC,CAAC,CAAC;IAClG,MAAM,aAAa,GAAG,EAAE,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IACvD,OAAO,CACH,6BAAK,SAAS,EAAE,YAAY;QACxB,6BAAK,SAAS,EAAE,aAAa,GAAI,CAC/B,CACT,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDashboardLayoutItemFacade } from "../../../../_staging/dashboard/flexibleLayout/index.js";
|
|
3
|
+
export type WidthResizerHotspotProps = {
|
|
4
|
+
item: IDashboardLayoutItemFacade<unknown>;
|
|
5
|
+
getGridColumnHeightInPx: () => number;
|
|
6
|
+
getGridColumnWidth: () => number;
|
|
7
|
+
getLayoutDimensions: () => DOMRect;
|
|
8
|
+
};
|
|
9
|
+
export declare function WidthResizerHotspot({ item, getGridColumnWidth, getGridColumnHeightInPx, getLayoutDimensions, }: WidthResizerHotspotProps): React.JSX.Element | null;
|
|
10
|
+
//# sourceMappingURL=WidthResizerHotspot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidthResizerHotspot.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAQ5D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AAQpG,MAAM,MAAM,wBAAwB,GAAG;IACnC,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;IAC1C,uBAAuB,EAAE,MAAM,MAAM,CAAC;IACtC,kBAAkB,EAAE,MAAM,MAAM,CAAC;IACjC,mBAAmB,EAAE,MAAM,OAAO,CAAC;CACtC,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,EAChC,IAAI,EACJ,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,GACtB,EAAE,wBAAwB,4BAoF1B"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import React, { useEffect, useMemo, useState } from "react";
|
|
2
|
+
import { resizeNestedLayoutItemWidth, selectInsightsMap, useDashboardDispatch, useDashboardSelector, } from "../../../../model/index.js";
|
|
3
|
+
import { getMinWidth } from "../../../../_staging/layout/sizing.js";
|
|
4
|
+
import { getDashboardLayoutItemMaxGridWidth } from "../../DefaultDashboardLayoutRenderer/index.js";
|
|
5
|
+
import { getSizeAndXCoords } from "../DragLayerPreview/WidthResizerDragPreview.js";
|
|
6
|
+
import { useDashboardDrag, useResizeHandlers, useResizeWidthItemStatus } from "../../../dragAndDrop/index.js";
|
|
7
|
+
import { WidthResizer } from "./WidthResizer.js";
|
|
8
|
+
import { useScreenSize } from "../../../dashboard/components/DashboardScreenSizeContext.js";
|
|
9
|
+
export function WidthResizerHotspot({ item, getGridColumnWidth, getGridColumnHeightInPx, getLayoutDimensions, }) {
|
|
10
|
+
const dispatch = useDashboardDispatch();
|
|
11
|
+
const insightsMap = useDashboardSelector(selectInsightsMap);
|
|
12
|
+
const { resizeStart, resizeEnd, getScrollCorrection } = useResizeHandlers();
|
|
13
|
+
const screen = useScreenSize();
|
|
14
|
+
const widget = useMemo(() => item.widget(), [item]);
|
|
15
|
+
const widgetIdentifier = widget.identifier;
|
|
16
|
+
const { isWidthResizing, isActive } = useResizeWidthItemStatus(widgetIdentifier);
|
|
17
|
+
const [isResizerVisible, setResizerVisibility] = useState(false);
|
|
18
|
+
const onMouseEnter = () => setResizerVisibility(true);
|
|
19
|
+
const onMouseLeave = () => setResizerVisibility(false);
|
|
20
|
+
const layoutPath = item.index();
|
|
21
|
+
const currentWidth = item.sizeForScreen(screen).gridWidth;
|
|
22
|
+
const minLimit = getMinWidth(widget, insightsMap, screen);
|
|
23
|
+
const maxLimit = getDashboardLayoutItemMaxGridWidth(item, screen);
|
|
24
|
+
const [{ isDragging }, dragRef] = useDashboardDrag({
|
|
25
|
+
dragItem: () => {
|
|
26
|
+
const initialLayoutDimensions = getLayoutDimensions();
|
|
27
|
+
return {
|
|
28
|
+
type: "internal-width-resizer",
|
|
29
|
+
layoutPath,
|
|
30
|
+
sectionIndex: -1, // only for type compatibility reasons, will not be used
|
|
31
|
+
itemIndex: -1, // only for type compatibility reasons, will not be used
|
|
32
|
+
gridColumnHeightInPx: getGridColumnHeightInPx(),
|
|
33
|
+
gridColumnWidth: getGridColumnWidth(),
|
|
34
|
+
initialLayoutDimensions,
|
|
35
|
+
currentWidth,
|
|
36
|
+
minLimit,
|
|
37
|
+
maxLimit,
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
dragEnd: (dragItem, monitor) => {
|
|
41
|
+
const scrollCorrection = getScrollCorrection();
|
|
42
|
+
const { limitedSize } = getSizeAndXCoords(dragItem, monitor.getInitialClientOffset().x, monitor.getDifferenceFromInitialOffset().x, scrollCorrection.x);
|
|
43
|
+
dispatch(resizeNestedLayoutItemWidth(layoutPath, limitedSize));
|
|
44
|
+
setResizerVisibility(false);
|
|
45
|
+
},
|
|
46
|
+
}, [widget, insightsMap, layoutPath, currentWidth, minLimit, maxLimit]);
|
|
47
|
+
useEffect(() => {
|
|
48
|
+
if (isDragging) {
|
|
49
|
+
resizeStart("width", [widgetIdentifier], getLayoutDimensions);
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resizeEnd();
|
|
53
|
+
}
|
|
54
|
+
}, [isDragging]);
|
|
55
|
+
const isThisResizing = isWidthResizing && isActive;
|
|
56
|
+
const showHotspot = !isDragging || isWidthResizing || isResizerVisible;
|
|
57
|
+
const showResizer = isResizerVisible || isThisResizing;
|
|
58
|
+
const status = isDragging ? "muted" : "active";
|
|
59
|
+
if (!showHotspot) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return (React.createElement("div", { className: "dash-width-resizer-container" },
|
|
63
|
+
React.createElement("div", { className: "dash-width-resizer-hotspot s-dash-width-resizer-hotspot", onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, ref: dragRef }, showResizer ? React.createElement(WidthResizer, { status: status }) : null)));
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=WidthResizerHotspot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WidthResizerHotspot.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,EACH,2BAA2B,EAC3B,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,+CAA+C,CAAC;AACnG,OAAO,EAAE,iBAAiB,EAAE,MAAM,gDAAgD,CAAC;AACnF,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9G,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,6DAA6D,CAAC;AAS5F,MAAM,UAAU,mBAAmB,CAAC,EAChC,IAAI,EACJ,kBAAkB,EAClB,uBAAuB,EACvB,mBAAmB,GACI;IACvB,MAAM,QAAQ,GA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W,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,6BAAK,SAAS,EAAC,8BAA8B;QACzC,6BACI,SAAS,EAAC,yDAAyD,EACnE,YAAY,EAAE,YAAY,EAC1B,YAAY,EAAE,YAAY,EAC1B,GAAG,EAAE,OAAO,IAEX,WAAW,CAAC,CAAC,CAAC,oBAAC,YAAY,IAAC,MAAM,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,CACpD,CACJ,CACT,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/types.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AAEzD,MAAM,WAAW,YAAY;IACzB,MAAM,EAAE,aAAa,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/Resize/types.ts"],"names":[],"mappings":"AAAA,qCAAqC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
|
|
3
|
+
import { DashboardLayoutSectionBorderStatus } from "./types.js";
|
|
4
|
+
interface IDashboardLayoutSectionBorderProps {
|
|
5
|
+
status: DashboardLayoutSectionBorderStatus;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
renderBottomBorder?: boolean;
|
|
8
|
+
itemSize?: IDashboardLayoutSizeByScreenSize;
|
|
9
|
+
}
|
|
10
|
+
export declare const DashboardLayoutSectionBorder: React.FC<IDashboardLayoutSectionBorderProps>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=DashboardLayoutSectionBorder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionBorder.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAGvE,OAAO,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC;AAEhE,UAAU,kCAAkC;IACxC,MAAM,EAAE,kCAAkC,CAAC;IAC3C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,EAAE,gCAAgC,CAAC;CAC/C;AAED,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CAarF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { DashboardLayoutSectionBorderLine } from "./DashboardLayoutSectionBorderLine.js";
|
|
4
|
+
export const DashboardLayoutSectionBorder = ({ status, renderBottomBorder = true, children, itemSize, }) => (React.createElement(React.Fragment, null,
|
|
5
|
+
React.createElement(DashboardLayoutSectionBorderLine, { position: "top", status: status, itemSize: itemSize }),
|
|
6
|
+
children,
|
|
7
|
+
renderBottomBorder ? (React.createElement(DashboardLayoutSectionBorderLine, { position: "bottom", status: status, itemSize: itemSize })) : null));
|
|
8
|
+
//# sourceMappingURL=DashboardLayoutSectionBorder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionBorder.js","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AAUzF,MAAM,CAAC,MAAM,4BAA4B,GAAiD,CAAC,EACvF,MAAM,EACN,kBAAkB,GAAG,IAAI,EACzB,QAAQ,EACR,QAAQ,GACX,EAAE,EAAE,CAAC,CACF;IACI,oBAAC,gCAAgC,IAAC,QAAQ,EAAC,KAAK,EAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAI;IACtF,QAAQ;IACR,kBAAkB,CAAC,CAAC,CAAC,CAClB,oBAAC,gCAAgC,IAAC,QAAQ,EAAC,QAAQ,EAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,GAAI,CAC7F,CAAC,CAAC,CAAC,IAAI,CACT,CACN,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
|
|
3
|
+
import { DashboardLayoutSectionBorderStatus } from "./types.js";
|
|
4
|
+
interface IDashboardLayoutSectionBorderLineProps {
|
|
5
|
+
position: "top" | "bottom";
|
|
6
|
+
status: DashboardLayoutSectionBorderStatus;
|
|
7
|
+
itemSize?: IDashboardLayoutSizeByScreenSize;
|
|
8
|
+
}
|
|
9
|
+
export declare const DashboardLayoutSectionBorderLine: React.FC<IDashboardLayoutSectionBorderLineProps>;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=DashboardLayoutSectionBorderLine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionBorderLine.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAGvE,OAAO,EAAE,kCAAkC,EAAE,MAAM,YAAY,CAAC;AAGhE,UAAU,sCAAsC;IAC5C,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC3B,MAAM,EAAE,kCAAkC,CAAC;IAC3C,QAAQ,CAAC,EAAE,gCAAgC,CAAC;CAC/C;AAED,eAAO,MAAM,gCAAgC,EAAE,KAAK,CAAC,EAAE,CAAC,sCAAsC,CAsB7F,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// (C) 2019-2024 GoodData Corporation
|
|
2
|
+
import React from "react";
|
|
3
|
+
import cx from "classnames";
|
|
4
|
+
import { DashboardLayoutSectionBorderMarker } from "./DashboardLayoutSectionBorderMarker.js";
|
|
5
|
+
import { GridLayoutElement } from "../../../DefaultDashboardLayoutRenderer/GridLayoutElement.js";
|
|
6
|
+
export const DashboardLayoutSectionBorderLine = ({ position, status, itemSize, }) => {
|
|
7
|
+
return (React.createElement(GridLayoutElement, { type: "item", layoutItemSize: itemSize, className: cx("gd-fluidlayout-row-separator", "s-fluidlayout-row-separator", position, status) },
|
|
8
|
+
React.createElement(DashboardLayoutSectionBorderMarker, { className: "gd-fluidlayout-row-separator-icon gd-fluidlayout-row-separator-icon-left", active: status === "active" }),
|
|
9
|
+
React.createElement("div", { className: "gd-fluidlayout-row-separator-line" }),
|
|
10
|
+
React.createElement(DashboardLayoutSectionBorderMarker, { className: "gd-fluidlayout-row-separator-icon gd-fluidlayout-row-separator-icon-right", active: status === "active" })));
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=DashboardLayoutSectionBorderLine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionBorderLine.js","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,YAAY,CAAC;AAG5B,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAE7F,OAAO,EAAE,iBAAiB,EAAE,MAAM,8DAA8D,CAAC;AAQjG,MAAM,CAAC,MAAM,gCAAgC,GAAqD,CAAC,EAC/F,QAAQ,EACR,MAAM,EACN,QAAQ,GACX,EAAE,EAAE;IACD,OAAO,CACH,oBAAC,iBAAiB,IACd,IAAI,EAAC,MAAM,EACX,cAAc,EAAE,QAAQ,EACxB,SAAS,EAAE,EAAE,CAAC,8BAA8B,EAAE,6BAA6B,EAAE,QAAQ,EAAE,MAAM,CAAC;QAE9F,oBAAC,kCAAkC,IAC/B,SAAS,EAAC,0EAA0E,EACpF,MAAM,EAAE,MAAM,KAAK,QAAQ,GAC7B;QACF,6BAAK,SAAS,EAAC,mCAAmC,GAAG;QACrD,oBAAC,kCAAkC,IAC/B,SAAS,EAAC,2EAA2E,EACrF,MAAM,EAAE,MAAM,KAAK,QAAQ,GAC7B,CACc,CACvB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionBorderMarker.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,wCAAwC;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,kCAAkC,EAAE,KAAK,CAAC,EAAE,CAAC,wCAAwC,CA0BjG,CAAC"}
|