@gooddata/sdk-ui-dashboard 10.16.0-alpha.9 → 10.16.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { insightRef, insightTitle } from "@gooddata/sdk-model";
|
|
4
|
+
import { getSizeInfo } from "../../../../_staging/layout/sizing.js";
|
|
5
|
+
import { newLoadingPlaceholderWidget } from "../../../../widgets/index.js";
|
|
6
|
+
import { selectSettings, useDashboardDispatch, useDashboardSelector, useDashboardCommandProcessing, uiActions, enableInsightWidgetDateFilter, addNestedLayoutSection, dispatchAndWaitFor, replaceNestedLayoutSectionItem, } from "../../../../model/index.js";
|
|
7
|
+
import { asLayoutItemPath, serializeLayoutSectionPath } from "../../../../_staging/layout/coordinates.js";
|
|
8
|
+
export function useNewSectionInsightListItemDropHandler(sectionIndex) {
|
|
9
|
+
const dispatch = useDashboardDispatch();
|
|
10
|
+
const settings = useDashboardSelector(selectSettings);
|
|
11
|
+
const { run: preselectDateDataset } = useDashboardCommandProcessing({
|
|
12
|
+
commandCreator: enableInsightWidgetDateFilter,
|
|
13
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
14
|
+
successEvent: "GDC.DASH/EVT.INSIGHT_WIDGET.FILTER_SETTINGS_CHANGED",
|
|
15
|
+
onSuccess: (event) => {
|
|
16
|
+
dispatch(uiActions.setWidgetLoadingAdditionalDataStopped(event.payload.ref));
|
|
17
|
+
},
|
|
18
|
+
onError: (event) => {
|
|
19
|
+
dispatch(uiActions.setWidgetLoadingAdditionalDataStopped(event.payload.command.payload.ref));
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
const { run: replaceSectionItemLoader } = useDashboardCommandProcessing({
|
|
23
|
+
commandCreator: replaceNestedLayoutSectionItem,
|
|
24
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
25
|
+
successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.ITEM_REPLACED",
|
|
26
|
+
onSuccess: (event) => {
|
|
27
|
+
const ref = event.payload.items[0].widget.ref;
|
|
28
|
+
dispatch(uiActions.selectWidget(ref));
|
|
29
|
+
dispatch(uiActions.setConfigurationPanelOpened(true));
|
|
30
|
+
dispatch(uiActions.setWidgetDateDatasetAutoSelect(true));
|
|
31
|
+
dispatch(uiActions.setWidgetLoadingAdditionalDataStarted(ref));
|
|
32
|
+
preselectDateDataset(ref, "default");
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
return useCallback((insight) => {
|
|
36
|
+
const correlationId = `insert-insight-list-item-${serializeLayoutSectionPath(sectionIndex)}`;
|
|
37
|
+
const itemIndex = 0;
|
|
38
|
+
const layoutPath = asLayoutItemPath(sectionIndex, itemIndex);
|
|
39
|
+
const sizeInfo = getSizeInfo(settings, "insight", insight);
|
|
40
|
+
dispatchAndWaitFor(dispatch, addNestedLayoutSection(sectionIndex, {}, [
|
|
41
|
+
{
|
|
42
|
+
type: "IDashboardLayoutItem",
|
|
43
|
+
size: {
|
|
44
|
+
xl: {
|
|
45
|
+
gridHeight: sizeInfo.height.default,
|
|
46
|
+
gridWidth: sizeInfo.width.default,
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
widget: newLoadingPlaceholderWidget(),
|
|
50
|
+
},
|
|
51
|
+
], false, correlationId)).then(() => {
|
|
52
|
+
replaceSectionItemLoader(layoutPath, {
|
|
53
|
+
type: "IDashboardLayoutItem",
|
|
54
|
+
widget: {
|
|
55
|
+
type: "insight",
|
|
56
|
+
insight: insightRef(insight),
|
|
57
|
+
ignoreDashboardFilters: [],
|
|
58
|
+
drills: [],
|
|
59
|
+
title: insightTitle(insight),
|
|
60
|
+
description: "",
|
|
61
|
+
},
|
|
62
|
+
size: {
|
|
63
|
+
xl: {
|
|
64
|
+
gridHeight: sizeInfo.height.default,
|
|
65
|
+
gridWidth: sizeInfo.width.default,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
}, undefined, false, correlationId);
|
|
69
|
+
});
|
|
70
|
+
}, [dispatch, replaceSectionItemLoader, sectionIndex, settings]);
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=useNewSectionInsightListItemDropHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionInsightListItemDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAY,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEzE,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EACH,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,SAAS,EACT,6BAA6B,EAG7B,sBAAsB,EACtB,kBAAkB,EAClB,8BAA8B,GACjC,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAE1G,MAAM,UAAU,uCAAuC,CAAC,YAAgC;IACpF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC;IAEtD,MAAM,EAAE,GAAG,EAAE,oBAAoB,EAAE,GAAG,6BAA6B,CAAC;QAChE,cAAc,EAAE,6BAA6B;QAC7C,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,qDAAqD;QACnE,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,QAAQ,CAAC,SAAS,CAAC,qCAAqC,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;QACjF,CAAC;QACD,OAAO,EAAE,CAAC,KAAgE,EAAE,EAAE;YAC1E,QAAQ,CAAC,SAAS,CAAC,qCAAqC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;QACjG,CAAC;KACJ,CAAC,CAAC;IAEH,MAAM,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,6BAA6B,CAAC;QACpE,cAAc,EAAE,8BAA8B;QAC9C,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,yCAAyC;QACvD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YAC/C,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;YACtC,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;YACtD,QAAQ,CAAC,SAAS,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC,CAAC;YACzD,QAAQ,CAAC,SAAS,CAAC,qCAAqC,CAAC,GAAG,CAAC,CAAC,CAAC;YAC/D,oBAAoB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QACzC,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CACd,CAAC,OAAiB,EAAE,EAAE;QAClB,MAAM,aAAa,GAAG,4BAA4B,0BAA0B,CAAC,YAAY,CAAC,EAAE,CAAC;QAC7F,MAAM,SAAS,GAAG,CAAC,CAAC;QACpB,MAAM,UAAU,GAAG,gBAAgB,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;QAC7D,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;QAE3D,kBAAkB,CACd,QAAQ,EACR,sBAAsB,CAClB,YAAY,EACZ,EAAE,EACF;YACI;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO;wBACnC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAQ;qBACrC;iBACJ;gBACD,MAAM,EAAE,2BAA2B,EAAE;aACxC;SACJ,EACD,KAAK,EACL,aAAa,CAChB,CACJ,CAAC,IAAI,CAAC,GAAG,EAAE;YACR,wBAAwB,CACpB,UAAU,EACV;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE;oBACJ,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;oBAC5B,sBAAsB,EAAE,EAAE;oBAC1B,MAAM,EAAE,EAAE;oBACV,KAAK,EAAE,YAAY,CAAC,OAAO,CAAC;oBAC5B,WAAW,EAAE,EAAE;iBAClB;gBACD,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO;wBACnC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAQ;qBACrC;iBACJ;aACJ,EACD,SAAS,EACT,KAAK,EACL,aAAa,CAChB,CAAC;QACN,CAAC,CAAC,CAAC;IACP,CAAC,EACD,CAAC,QAAQ,EAAE,wBAAwB,EAAE,YAAY,EAAE,QAAQ,CAAC,CAC/D,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionInsightPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,wBAAgB,0CAA0C,CAAC,YAAY,EAAE,kBAAkB,cA6B1F"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { idRef } from "@gooddata/sdk-model";
|
|
4
|
+
import { getInsightPlaceholderSizeInfo } from "../../../../_staging/layout/sizing.js";
|
|
5
|
+
import { selectSettings, useDashboardDispatch, useDashboardSelector, useDashboardCommandProcessing, uiActions, addNestedLayoutSection, } from "../../../../model/index.js";
|
|
6
|
+
import { INSIGHT_PLACEHOLDER_WIDGET_ID, newInsightPlaceholderWidget } from "../../../../widgets/index.js";
|
|
7
|
+
export function useNewSectionInsightPlaceholderDropHandler(sectionIndex) {
|
|
8
|
+
const dispatch = useDashboardDispatch();
|
|
9
|
+
const settings = useDashboardSelector(selectSettings);
|
|
10
|
+
const { run: addNewSectionWithInsightPlaceholder } = useDashboardCommandProcessing({
|
|
11
|
+
commandCreator: addNestedLayoutSection,
|
|
12
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
13
|
+
successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED",
|
|
14
|
+
onSuccess: () => {
|
|
15
|
+
dispatch(uiActions.selectWidget(idRef(INSIGHT_PLACEHOLDER_WIDGET_ID)));
|
|
16
|
+
dispatch(uiActions.setConfigurationPanelOpened(true));
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
return useCallback(() => {
|
|
20
|
+
const sizeInfo = getInsightPlaceholderSizeInfo(settings);
|
|
21
|
+
addNewSectionWithInsightPlaceholder(sectionIndex, {}, [
|
|
22
|
+
{
|
|
23
|
+
type: "IDashboardLayoutItem",
|
|
24
|
+
size: {
|
|
25
|
+
xl: {
|
|
26
|
+
gridHeight: sizeInfo.height.default,
|
|
27
|
+
gridWidth: sizeInfo.width.default,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
widget: newInsightPlaceholderWidget(),
|
|
31
|
+
},
|
|
32
|
+
]);
|
|
33
|
+
}, [addNewSectionWithInsightPlaceholder, sectionIndex, settings]);
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=useNewSectionInsightPlaceholderDropHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionInsightPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EACH,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,SAAS,EACT,sBAAsB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,6BAA6B,EAAE,2BAA2B,EAAE,MAAM,8BAA8B,CAAC;AAG1G,MAAM,UAAU,0CAA0C,CAAC,YAAgC;IACvF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC;IAEtD,MAAM,EAAE,GAAG,EAAE,mCAAmC,EAAE,GAAG,6BAA6B,CAAC;QAC/E,cAAc,EAAE,sBAAsB;QACtC,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,yCAAyC;QACvD,SAAS,EAAE,GAAG,EAAE;YACZ,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,CAAC,CAAC;YACvE,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC,GAAG,EAAE;QACpB,MAAM,QAAQ,GAAG,6BAA6B,CAAC,QAAQ,CAAC,CAAC;QACzD,mCAAmC,CAAC,YAAY,EAAE,EAAE,EAAE;YAClD;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAQ;wBACpC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAQ;qBACrC;iBACJ;gBACD,MAAM,EAAE,2BAA2B,EAAE;aACxC;SACJ,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,mCAAmC,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;AACtE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionKpiPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,wBAAgB,sCAAsC,CAAC,YAAY,EAAE,kBAAkB,cAgCtF"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { idRef } from "@gooddata/sdk-model";
|
|
4
|
+
import { getSizeInfo } from "../../../../_staging/layout/sizing.js";
|
|
5
|
+
import { selectSettings, useDashboardDispatch, useDashboardSelector, useDashboardCommandProcessing, uiActions, addNestedLayoutSection, } from "../../../../model/index.js";
|
|
6
|
+
import { KPI_PLACEHOLDER_WIDGET_ID, newKpiPlaceholderWidget } from "../../../../widgets/index.js";
|
|
7
|
+
export function useNewSectionKpiPlaceholderDropHandler(sectionIndex) {
|
|
8
|
+
const dispatch = useDashboardDispatch();
|
|
9
|
+
const settings = useDashboardSelector(selectSettings);
|
|
10
|
+
const { run: addNewSectionWithKpiPlaceholder } = useDashboardCommandProcessing({
|
|
11
|
+
commandCreator: addNestedLayoutSection,
|
|
12
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
13
|
+
successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED",
|
|
14
|
+
onSuccess: (event) => {
|
|
15
|
+
const ref = event.payload.section.items[0].widget.ref;
|
|
16
|
+
dispatch(uiActions.selectWidget(idRef(KPI_PLACEHOLDER_WIDGET_ID)));
|
|
17
|
+
dispatch(uiActions.setConfigurationPanelOpened(true));
|
|
18
|
+
dispatch(uiActions.setWidgetDateDatasetAutoSelect(true));
|
|
19
|
+
dispatch(uiActions.setWidgetLoadingAdditionalDataStarted(ref));
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
return useCallback(() => {
|
|
23
|
+
const sizeInfo = getSizeInfo(settings, "kpi");
|
|
24
|
+
addNewSectionWithKpiPlaceholder(sectionIndex, {}, [
|
|
25
|
+
{
|
|
26
|
+
type: "IDashboardLayoutItem",
|
|
27
|
+
size: {
|
|
28
|
+
xl: {
|
|
29
|
+
gridHeight: sizeInfo.height.default,
|
|
30
|
+
gridWidth: sizeInfo.width.default,
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
widget: newKpiPlaceholderWidget(),
|
|
34
|
+
},
|
|
35
|
+
]);
|
|
36
|
+
}, [addNewSectionWithKpiPlaceholder, sectionIndex, settings]);
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=useNewSectionKpiPlaceholderDropHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionKpiPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EACH,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,6BAA6B,EAC7B,SAAS,EACT,sBAAsB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAGlG,MAAM,UAAU,sCAAsC,CAAC,YAAgC;IACnF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC;IAEtD,MAAM,EAAE,GAAG,EAAE,+BAA+B,EAAE,GAAG,6BAA6B,CAAC;QAC3E,cAAc,EAAE,sBAAsB;QACtC,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,yCAAyC;QACvD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACvD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC;YACnE,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;YACtD,QAAQ,CAAC,SAAS,CAAC,8BAA8B,CAAC,IAAI,CAAC,CAAC,CAAC;YACzD,QAAQ,CAAC,SAAS,CAAC,qCAAqC,CAAC,GAAG,CAAC,CAAC,CAAC;QACnE,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CAAC,GAAG,EAAE;QACpB,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;QAC9C,+BAA+B,CAAC,YAAY,EAAE,EAAE,EAAE;YAC9C;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAQ;wBACpC,SAAS,EAAE,QAAQ,CAAC,KAAK,CAAC,OAAQ;qBACrC;iBACJ;gBACD,MAAM,EAAE,uBAAuB,EAAE;aACpC;SACJ,CAAC,CAAC;IACP,CAAC,EAAE,CAAC,+BAA+B,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC;AAClE,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ILayoutSectionPath } from "../../../../types.js";
|
|
2
|
+
import { BaseDraggableLayoutItemSize } from "../../../dragAndDrop/index.js";
|
|
3
|
+
export declare function useNewSectionRichTextPlaceholderDropHandler(sectionIndex: ILayoutSectionPath): (itemSize: BaseDraggableLayoutItemSize) => void;
|
|
4
|
+
//# sourceMappingURL=useNewSectionRichTextPlaceholderDropHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionRichTextPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,wBAAgB,2CAA2C,CAAC,YAAY,EAAE,kBAAkB,cAczE,2BAA2B,UA4B7C"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { useDashboardDispatch, useDashboardCommandProcessing, uiActions, addNestedLayoutSection, } from "../../../../model/index.js";
|
|
4
|
+
import { idRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { v4 as uuidv4 } from "uuid";
|
|
6
|
+
export function useNewSectionRichTextPlaceholderDropHandler(sectionIndex) {
|
|
7
|
+
const dispatch = useDashboardDispatch();
|
|
8
|
+
const { run: addNewSectionWithRichText } = useDashboardCommandProcessing({
|
|
9
|
+
commandCreator: addNestedLayoutSection,
|
|
10
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
11
|
+
successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED",
|
|
12
|
+
onSuccess: (event) => {
|
|
13
|
+
const ref = event.payload.section.items[0].widget.ref;
|
|
14
|
+
dispatch(uiActions.selectWidget(ref));
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
return useCallback((itemSize) => {
|
|
18
|
+
const id = uuidv4();
|
|
19
|
+
addNewSectionWithRichText(sectionIndex, {}, [
|
|
20
|
+
{
|
|
21
|
+
type: "IDashboardLayoutItem",
|
|
22
|
+
size: {
|
|
23
|
+
xl: {
|
|
24
|
+
gridHeight: itemSize.gridHeight,
|
|
25
|
+
gridWidth: itemSize.gridWidth,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
widget: {
|
|
29
|
+
type: "richText",
|
|
30
|
+
description: "",
|
|
31
|
+
content: "",
|
|
32
|
+
drills: [],
|
|
33
|
+
ignoreDashboardFilters: [],
|
|
34
|
+
title: "",
|
|
35
|
+
identifier: id,
|
|
36
|
+
ref: idRef(id),
|
|
37
|
+
uri: `/${id}`,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
]);
|
|
41
|
+
}, [addNewSectionWithRichText, sectionIndex]);
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=useNewSectionRichTextPlaceholderDropHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionRichTextPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EACH,oBAAoB,EACpB,6BAA6B,EAC7B,SAAS,EACT,sBAAsB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAIpC,MAAM,UAAU,2CAA2C,CAAC,YAAgC;IACxF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,yBAAyB,EAAE,GAAG,6BAA6B,CAAC;QACrE,cAAc,EAAE,sBAAsB;QACtC,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,yCAAyC;QACvD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACvD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1C,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CACd,CAAC,QAAqC,EAAE,EAAE;QACtC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QAEpB,yBAAyB,CAAC,YAAY,EAAE,EAAE,EAAE;YACxC;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,QAAQ,CAAC,UAAU;wBAC/B,SAAS,EAAE,QAAQ,CAAC,SAAS;qBAChC;iBACJ;gBACD,MAAM,EAAE;oBACJ,IAAI,EAAE,UAAU;oBAChB,WAAW,EAAE,EAAE;oBACf,OAAO,EAAE,EAAE;oBACX,MAAM,EAAE,EAAE;oBACV,sBAAsB,EAAE,EAAE;oBAC1B,KAAK,EAAE,EAAE;oBACT,UAAU,EAAE,EAAE;oBACd,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;oBACd,GAAG,EAAE,IAAI,EAAE,EAAE;iBAChB;aACJ;SACJ,CAAC,CAAC;IACP,CAAC,EACD,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAC5C,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ILayoutSectionPath } from "../../../../types.js";
|
|
2
|
+
import { BaseDraggableLayoutItemSize } from "../../../dragAndDrop/index.js";
|
|
3
|
+
export declare function useNewSectionVisualizationSwitcherPlaceholderDropHandler(sectionIndex: ILayoutSectionPath): (itemSize: BaseDraggableLayoutItemSize) => void;
|
|
4
|
+
//# sourceMappingURL=useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,wBAAgB,wDAAwD,CAAC,YAAY,EAAE,kBAAkB,cAetF,2BAA2B,UA4B7C"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { v4 as uuidv4 } from "uuid";
|
|
4
|
+
import { idRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { useDashboardDispatch, useDashboardCommandProcessing, uiActions, addNestedLayoutSection, } from "../../../../model/index.js";
|
|
6
|
+
export function useNewSectionVisualizationSwitcherPlaceholderDropHandler(sectionIndex) {
|
|
7
|
+
const dispatch = useDashboardDispatch();
|
|
8
|
+
const { run: addNewSectionWithVisualizationSwitcherPlaceholder } = useDashboardCommandProcessing({
|
|
9
|
+
commandCreator: addNestedLayoutSection,
|
|
10
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
11
|
+
successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.SECTION_ADDED",
|
|
12
|
+
onSuccess: (event) => {
|
|
13
|
+
const ref = event.payload.section.items[0].widget.ref;
|
|
14
|
+
dispatch(uiActions.selectWidget(ref));
|
|
15
|
+
dispatch(uiActions.setConfigurationPanelOpened(true));
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
return useCallback((itemSize) => {
|
|
19
|
+
const id = uuidv4();
|
|
20
|
+
addNewSectionWithVisualizationSwitcherPlaceholder(sectionIndex, {}, [
|
|
21
|
+
{
|
|
22
|
+
type: "IDashboardLayoutItem",
|
|
23
|
+
size: {
|
|
24
|
+
xl: {
|
|
25
|
+
gridHeight: itemSize.gridHeight,
|
|
26
|
+
gridWidth: itemSize.gridWidth,
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
widget: {
|
|
30
|
+
type: "visualizationSwitcher",
|
|
31
|
+
visualizations: [],
|
|
32
|
+
description: "",
|
|
33
|
+
drills: [],
|
|
34
|
+
ignoreDashboardFilters: [],
|
|
35
|
+
title: "",
|
|
36
|
+
identifier: id,
|
|
37
|
+
ref: idRef(id),
|
|
38
|
+
uri: `/${id}`,
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
]);
|
|
42
|
+
}, [addNewSectionWithVisualizationSwitcherPlaceholder, sectionIndex]);
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNewSectionVisualizationSwitcherPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,EACH,oBAAoB,EACpB,6BAA6B,EAC7B,SAAS,EACT,sBAAsB,GACzB,MAAM,4BAA4B,CAAC;AAIpC,MAAM,UAAU,wDAAwD,CAAC,YAAgC;IACrG,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,iDAAiD,EAAE,GAAG,6BAA6B,CAAC;QAC7F,cAAc,EAAE,sBAAsB;QACtC,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,yCAAyC;QACvD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACvD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;YACtC,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CACd,CAAC,QAAqC,EAAE,EAAE;QACtC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QAEpB,iDAAiD,CAAC,YAAY,EAAE,EAAE,EAAE;YAChE;gBACI,IAAI,EAAE,sBAAsB;gBAC5B,IAAI,EAAE;oBACF,EAAE,EAAE;wBACA,UAAU,EAAE,QAAQ,CAAC,UAAU;wBAC/B,SAAS,EAAE,QAAQ,CAAC,SAAS;qBAChC;iBACJ;gBACD,MAAM,EAAE;oBACJ,IAAI,EAAE,uBAAuB;oBAC7B,cAAc,EAAE,EAAE;oBAClB,WAAW,EAAE,EAAE;oBACf,MAAM,EAAE,EAAE;oBACV,sBAAsB,EAAE,EAAE;oBAC1B,KAAK,EAAE,EAAE;oBACT,UAAU,EAAE,EAAE;oBACd,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;oBACd,GAAG,EAAE,IAAI,EAAE,EAAE;iBAChB;aACJ;SACJ,CAAC,CAAC;IACP,CAAC,EACD,CAAC,iDAAiD,EAAE,YAAY,CAAC,CACpE,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ILayoutItemPath } from "../../../../types.js";
|
|
2
|
+
import { BaseDraggableLayoutItemSize } from "../../../dragAndDrop/index.js";
|
|
3
|
+
export declare function useRichTextPlaceholderDropHandler(layoutPath: ILayoutItemPath): (itemSize: BaseDraggableLayoutItemSize) => void;
|
|
4
|
+
//# sourceMappingURL=useRichTextPlaceholderDropHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRichTextPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,wBAAgB,iCAAiC,CAAC,UAAU,EAAE,eAAe,cAc1D,2BAA2B,UA0B7C"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { addNestedLayoutSectionItem, uiActions, useDashboardCommandProcessing, useDashboardDispatch, } from "../../../../model/index.js";
|
|
4
|
+
import { idRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { v4 as uuidv4 } from "uuid";
|
|
6
|
+
export function useRichTextPlaceholderDropHandler(layoutPath) {
|
|
7
|
+
const dispatch = useDashboardDispatch();
|
|
8
|
+
const { run: createRichText } = useDashboardCommandProcessing({
|
|
9
|
+
commandCreator: addNestedLayoutSectionItem,
|
|
10
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
11
|
+
successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.ITEMS_ADDED",
|
|
12
|
+
onSuccess: (event) => {
|
|
13
|
+
const ref = event.payload.itemsAdded[0].widget.ref;
|
|
14
|
+
dispatch(uiActions.selectWidget(ref));
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
return useCallback((itemSize) => {
|
|
18
|
+
const id = uuidv4();
|
|
19
|
+
createRichText(layoutPath, {
|
|
20
|
+
type: "IDashboardLayoutItem",
|
|
21
|
+
size: {
|
|
22
|
+
xl: {
|
|
23
|
+
gridHeight: itemSize.gridHeight,
|
|
24
|
+
gridWidth: itemSize.gridWidth,
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
widget: {
|
|
28
|
+
type: "richText",
|
|
29
|
+
description: "",
|
|
30
|
+
content: "",
|
|
31
|
+
drills: [],
|
|
32
|
+
ignoreDashboardFilters: [],
|
|
33
|
+
title: "",
|
|
34
|
+
identifier: id,
|
|
35
|
+
ref: idRef(id),
|
|
36
|
+
uri: `/${id}`,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
}, [createRichText, layoutPath]);
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=useRichTextPlaceholderDropHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRichTextPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EACH,0BAA0B,EAC1B,SAAS,EACT,6BAA6B,EAC7B,oBAAoB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAIpC,MAAM,UAAU,iCAAiC,CAAC,UAA2B;IACzE,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,6BAA6B,CAAC;QAC1D,cAAc,EAAE,0BAA0B;QAC1C,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,uCAAuC;QACrD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACpD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1C,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CACd,CAAC,QAAqC,EAAE,EAAE;QACtC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QAEpB,cAAc,CAAC,UAAU,EAAE;YACvB,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE;gBACF,EAAE,EAAE;oBACA,UAAU,EAAE,QAAQ,CAAC,UAAU;oBAC/B,SAAS,EAAE,QAAQ,CAAC,SAAS;iBAChC;aACJ;YACD,MAAM,EAAE;gBACJ,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,EAAE;gBACf,OAAO,EAAE,EAAE;gBACX,MAAM,EAAE,EAAE;gBACV,sBAAsB,EAAE,EAAE;gBAC1B,KAAK,EAAE,EAAE;gBACT,UAAU,EAAE,EAAE;gBACd,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;gBACd,GAAG,EAAE,IAAI,EAAE,EAAE;aAChB;SACJ,CAAC,CAAC;IACP,CAAC,EACD,CAAC,cAAc,EAAE,UAAU,CAAC,CAC/B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ILayoutItemPath } from "../../../../types.js";
|
|
2
|
+
import { BaseDraggableLayoutItemSize } from "../../../dragAndDrop/index.js";
|
|
3
|
+
export declare function useVisualizationSwitcherPlaceholderDropHandler(layoutPath: ILayoutItemPath): (itemSize: BaseDraggableLayoutItemSize) => void;
|
|
4
|
+
//# sourceMappingURL=useVisualizationSwitcherPlaceholderDropHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVisualizationSwitcherPlaceholderDropHandler.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,wBAAgB,8CAA8C,CAAC,UAAU,EAAE,eAAe,cAevE,2BAA2B,UA0B7C"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// (C) 2024 GoodData Corporation
|
|
2
|
+
import { useCallback } from "react";
|
|
3
|
+
import { v4 as uuidv4 } from "uuid";
|
|
4
|
+
import { idRef } from "@gooddata/sdk-model";
|
|
5
|
+
import { addNestedLayoutSectionItem, uiActions, useDashboardCommandProcessing, useDashboardDispatch, } from "../../../../model/index.js";
|
|
6
|
+
export function useVisualizationSwitcherPlaceholderDropHandler(layoutPath) {
|
|
7
|
+
const dispatch = useDashboardDispatch();
|
|
8
|
+
const { run: createVisualizationSwitcher } = useDashboardCommandProcessing({
|
|
9
|
+
commandCreator: addNestedLayoutSectionItem,
|
|
10
|
+
errorEvent: "GDC.DASH/EVT.COMMAND.FAILED",
|
|
11
|
+
successEvent: "GDC.DASH/EVT.FLUID_LAYOUT.ITEMS_ADDED",
|
|
12
|
+
onSuccess: (event) => {
|
|
13
|
+
const ref = event.payload.itemsAdded[0].widget.ref;
|
|
14
|
+
dispatch(uiActions.selectWidget(ref));
|
|
15
|
+
dispatch(uiActions.setConfigurationPanelOpened(true));
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
return useCallback((itemSize) => {
|
|
19
|
+
const id = uuidv4();
|
|
20
|
+
createVisualizationSwitcher(layoutPath, {
|
|
21
|
+
type: "IDashboardLayoutItem",
|
|
22
|
+
size: {
|
|
23
|
+
xl: {
|
|
24
|
+
gridHeight: itemSize.gridHeight,
|
|
25
|
+
gridWidth: itemSize.gridWidth,
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
widget: {
|
|
29
|
+
type: "visualizationSwitcher",
|
|
30
|
+
visualizations: [],
|
|
31
|
+
description: "",
|
|
32
|
+
drills: [],
|
|
33
|
+
ignoreDashboardFilters: [],
|
|
34
|
+
title: "",
|
|
35
|
+
identifier: id,
|
|
36
|
+
ref: idRef(id),
|
|
37
|
+
uri: `/${id}`,
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
}, [createVisualizationSwitcher, layoutPath]);
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=useVisualizationSwitcherPlaceholderDropHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useVisualizationSwitcherPlaceholderDropHandler.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAE5C,OAAO,EACH,0BAA0B,EAC1B,SAAS,EACT,6BAA6B,EAC7B,oBAAoB,GACvB,MAAM,4BAA4B,CAAC;AAIpC,MAAM,UAAU,8CAA8C,CAAC,UAA2B;IACtF,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,EAAE,GAAG,EAAE,2BAA2B,EAAE,GAAG,6BAA6B,CAAC;QACvE,cAAc,EAAE,0BAA0B;QAC1C,UAAU,EAAE,6BAA6B;QACzC,YAAY,EAAE,uCAAuC;QACrD,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YACjB,MAAM,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAO,CAAC,GAAG,CAAC;YACpD,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;YACtC,QAAQ,CAAC,SAAS,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1D,CAAC;KACJ,CAAC,CAAC;IAEH,OAAO,WAAW,CACd,CAAC,QAAqC,EAAE,EAAE;QACtC,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;QAEpB,2BAA2B,CAAC,UAAU,EAAE;YACpC,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE;gBACF,EAAE,EAAE;oBACA,UAAU,EAAE,QAAQ,CAAC,UAAU;oBAC/B,SAAS,EAAE,QAAQ,CAAC,SAAS;iBAChC;aACJ;YACD,MAAM,EAAE;gBACJ,IAAI,EAAE,uBAAuB;gBAC7B,cAAc,EAAE,EAAE;gBAClB,WAAW,EAAE,EAAE;gBACf,MAAM,EAAE,EAAE;gBACV,sBAAsB,EAAE,EAAE;gBAC1B,KAAK,EAAE,EAAE;gBACT,UAAU,EAAE,EAAE;gBACd,GAAG,EAAE,KAAK,CAAC,EAAE,CAAC;gBACd,GAAG,EAAE,IAAI,EAAE,EAAE;aAChB;SACJ,CAAC,CAAC;IACP,CAAC,EACD,CAAC,2BAA2B,EAAE,UAAU,CAAC,CAC5C,CAAC;AACN,CAAC"}
|
package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ILayoutItemPath } from "../../../../types.js";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare function useWidgetDragHoverHandlers(): {
|
|
6
|
+
handleDragHoverStart: (coordinations: ILayoutItemPath) => void;
|
|
7
|
+
handleDragHoverEnd: () => void;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=useWidgetDragHoverHandlers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWidgetDragHoverHandlers.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,wBAAgB,0BAA0B;;;EAezC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// (C) 2022 GoodData Corporation
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
import { useCallback } from "react";
|
|
3
|
-
import { uiActions, useDashboardDispatch } from "
|
|
3
|
+
import { uiActions, useDashboardDispatch } from "../../../../model/index.js";
|
|
4
4
|
/**
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useWidgetDragHoverHandlers.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAG7E;;GAEG;AACH,MAAM,UAAU,0BAA0B;IACtC,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IAExC,MAAM,oBAAoB,GAAG,WAAW,CACpC,CAAC,aAA8B,EAAE,EAAE;QAC/B,QAAQ,CAAC,SAAS,CAAC,uBAAuB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC/D,CAAC,EACD,CAAC,QAAQ,CAAC,CACb,CAAC;IAEF,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,EAAE;QACxC,QAAQ,CAAC,SAAS,CAAC,yBAAyB,EAAE,CAAC,CAAC;IACpD,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,CAAC;AACxD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ObjRef } from "@gooddata/sdk-model";
|
|
2
|
-
import { IDashboardLayoutSectionFacade, IDashboardLayoutItemFacade } from "../../_staging/dashboard/
|
|
2
|
+
import { IDashboardLayoutSectionFacade, IDashboardLayoutItemFacade } from "../../_staging/dashboard/flexibleLayout/index.js";
|
|
3
3
|
export declare function getRefsForSection(section: IDashboardLayoutSectionFacade<unknown>): (ObjRef | undefined)[];
|
|
4
4
|
export declare function getRefsForItem(item: IDashboardLayoutItemFacade<unknown>): (ObjRef | undefined)[];
|
|
5
5
|
//# sourceMappingURL=refs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"refs.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/refs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACH,6BAA6B,EAC7B,0BAA0B,EAC7B,MAAM
|
|
1
|
+
{"version":3,"file":"refs.d.ts","sourceRoot":"","sources":["../../../src/presentation/flexibleLayout/refs.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACH,6BAA6B,EAC7B,0BAA0B,EAC7B,MAAM,kDAAkD,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAEzG;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,0BAA0B,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,CAEhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultKpiDeleteDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAWnD;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,qBAAqB,
|
|
1
|
+
{"version":3,"file":"DefaultKpiDeleteDialog.d.ts","sourceRoot":"","sources":["../../../src/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAWnD;;GAEG;AACH,wBAAgB,uBAAuB,IAAI,qBAAqB,CAoB/D;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,UAAW,qBAAqB,KAAG,WAAW,GAAG,IAwBnF,CAAC"}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
// (C) 2022 GoodData Corporation
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
import React, { useCallback } from "react";
|
|
3
3
|
import { ConfirmDialog, Typography } from "@gooddata/sdk-ui-kit";
|
|
4
4
|
import { FormattedMessage, useIntl } from "react-intl";
|
|
5
|
-
import { dispatchAndWaitFor,
|
|
5
|
+
import { dispatchAndWaitFor, eagerRemoveNestedLayoutSectionItem, selectIsKpiDeleteDialogOpen, selectKpiDeleteDialogWidgetLayoutPath, uiActions, useDashboardDispatch, useDashboardSelector, } from "../../model/index.js";
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
9
|
export function useKpiDeleteDialogProps() {
|
|
10
10
|
const dispatch = useDashboardDispatch();
|
|
11
|
-
const
|
|
11
|
+
const layoutPath = useDashboardSelector(selectKpiDeleteDialogWidgetLayoutPath);
|
|
12
12
|
const onCancel = useCallback(() => dispatch(uiActions.closeKpiDeleteDialog()), [dispatch]);
|
|
13
|
-
const onDelete = useCallback(() =>
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
const onDelete = useCallback(() => {
|
|
14
|
+
if (layoutPath !== undefined) {
|
|
15
|
+
dispatchAndWaitFor(dispatch, eagerRemoveNestedLayoutSectionItem(layoutPath)).finally(() => {
|
|
16
|
+
dispatch(uiActions.closeKpiDeleteDialog());
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
}, [layoutPath, dispatch]);
|
|
16
20
|
const isVisible = useDashboardSelector(selectIsKpiDeleteDialogOpen);
|
|
17
21
|
return {
|
|
18
22
|
isVisible,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultKpiDeleteDialog.js","sourceRoot":"","sources":["../../../src/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"DefaultKpiDeleteDialog.js","sourceRoot":"","sources":["../../../src/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAEvD,OAAO,EACH,kBAAkB,EAClB,kCAAkC,EAClC,2BAA2B,EAC3B,qCAAqC,EACrC,SAAS,EACT,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,UAAU,uBAAuB;IACnC,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IACxC,MAAM,UAAU,GAAG,oBAAoB,CAAC,qCAAqC,CAAC,CAAC;IAC/E,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,oBAAoB,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAE3F,MAAM,QAAQ,GAAG,WAAW,CAAC,GAAG,EAAE;QAC9B,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;YAC3B,kBAAkB,CAAC,QAAQ,EAAE,kCAAkC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE;gBACtF,QAAQ,CAAC,SAAS,CAAC,oBAAoB,EAAE,CAAC,CAAC;YAC/C,CAAC,CAAC,CAAC;QACP,CAAC;IACL,CAAC,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE3B,MAAM,SAAS,GAAG,oBAAoB,CAAC,2BAA2B,CAAC,CAAC;IAEpE,OAAO;QACH,SAAS;QACT,QAAQ;QACR,QAAQ;KACX,CAAC;AACN,CAAC;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAA4B,EAAsB,EAAE;IACvF,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAEhD,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,CACH,oBAAC,aAAa,IACV,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,KAAK,EACjB,SAAS,EAAC,UAAU,EACpB,QAAQ,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,sCAAsC,EAAE,CAAC,EAC5E,gBAAgB,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,EACtD,gBAAgB,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,8CAA8C,EAAE,CAAC;QAE5F,oBAAC,UAAU,IAAC,OAAO,EAAC,GAAG;YACnB,oBAAC,gBAAgB,IAAC,EAAE,EAAC,qCAAqC,GAAG,CACpD,CACD,CACnB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/
|
|
2
|
+
import { IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/legacyFluidLayout/index.js";
|
|
3
3
|
interface IDashboardLayoutSectionOverlayControllerProps {
|
|
4
4
|
section: IDashboardLayoutSectionFacade<unknown>;
|
|
5
5
|
}
|
package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardItemOverlayController.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DashboardItemOverlayController.d.ts","sourceRoot":"","sources":["../../../../src/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,6BAA6B,EAAE,MAAM,wDAAwD,CAAC;AAIvG,UAAU,6CAA6C;IACnD,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,uCAAuC,EAAE,KAAK,CAAC,EAAE,CAC1D,6CAA6C,CAuBhD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// (C) 2022-
|
|
1
|
+
// (C) 2022-2024 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { useDashboardSelector, useDashboardDispatch, selectWidgetsOverlayState, selectSectionModification, uiActions, } from "../../../model/index.js";
|
|
4
4
|
import { getRefsForSection } from "../refs.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutWidget.d.ts","sourceRoot":"","sources":["../../../src/presentation/layout/DashboardLayoutWidget.tsx"],"names":[],"mappings":"AAiBA,OAAO,EACH,uBAAuB,EAe1B,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutWidget.d.ts","sourceRoot":"","sources":["../../../src/presentation/layout/DashboardLayoutWidget.tsx"],"names":[],"mappings":"AAiBA,OAAO,EACH,uBAAuB,EAe1B,MAAM,sBAAsB,CAAC;AAa9B,OAAO,EAAmB,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE5E,OAAO,EAGH,8BAA8B,EACjC,MAAM,2CAA2C,CAAC;AAmCnD;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,8BAA8B,CAC9D,uBAAuB,EACvB,IAAI,CAAC,qBAAqB,EAAE,SAAS,GAAG,SAAS,GAAG,iBAAiB,CAAC,CAqKzE,CAAC"}
|
|
@@ -8,12 +8,15 @@ import { isAnyPlaceholderWidget, isPlaceholderWidget } from "../../widgets/index
|
|
|
8
8
|
import { getSizeInfo, calculateWidgetMinHeight } from "../../_staging/layout/sizing.js";
|
|
9
9
|
import { getLayoutCoordinates } from "../../_staging/layout/coordinates.js";
|
|
10
10
|
import { useDashboardComponentsContext } from "../dashboardContexts/index.js";
|
|
11
|
-
import {
|
|
11
|
+
import { useDashboardDrag, useResizeItemStatus, useWidgetDragEndHandler, } from "../dragAndDrop/index.js";
|
|
12
12
|
import { DashboardWidget } from "../widget/index.js";
|
|
13
13
|
import { DEFAULT_COLUMN_CLIENT_WIDTH, DEFAULT_WIDTH_RESIZER_HEIGHT } from "./constants.js";
|
|
14
14
|
import { getDashboardLayoutItemHeightForRatioAndScreen, } from "./DefaultDashboardLayoutRenderer/index.js";
|
|
15
15
|
import { DashboardItemOverlay } from "./DashboardItemOverlay/DashboardItemOverlay.js";
|
|
16
16
|
import { getRefsForSection, getRefsForItem } from "./refs.js";
|
|
17
|
+
import { ResizeOverlay } from "./dragAndDrop/Resize/ResizeOverlay.js";
|
|
18
|
+
import { WidthResizerHotspot } from "./dragAndDrop/Resize/WidthResizerHotspot.js";
|
|
19
|
+
import { Hotspot } from "./dragAndDrop/draggableWidget/Hotspot.js";
|
|
17
20
|
/**
|
|
18
21
|
* Tests in KD require widget index for css selectors.
|
|
19
22
|
* Widget index equals to the widget order in the layout.
|
|
@@ -151,7 +154,7 @@ function createDraggableItem(item, insights, settings) {
|
|
|
151
154
|
}
|
|
152
155
|
else if (isInsightWidget(widget)) {
|
|
153
156
|
const insight = insights.get(widget.insight);
|
|
154
|
-
const sizeInfo = getSizeInfo(settings, "
|
|
157
|
+
const sizeInfo = getSizeInfo(settings, "insight", insight);
|
|
155
158
|
return {
|
|
156
159
|
type: "insight",
|
|
157
160
|
insight,
|