@gooddata/sdk-ui-dashboard 10.16.0-alpha.9 → 10.16.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +9 -9
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/_staging/dashboard/dashboardLayout.d.ts.map +1 -1
- package/esm/_staging/dashboard/dashboardLayout.js +15 -2
- package/esm/_staging/dashboard/dashboardLayout.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts +32 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.js +87 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/item.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts +40 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.js +156 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts +32 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.js +147 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/section.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/config.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.js +1 -1
- package/esm/_staging/dashboard/flexibleLayout/config.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts +120 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts +42 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.js +122 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/item.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts +23 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.js +74 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/items.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts +24 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.js +44 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts +34 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.js +88 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/section.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts +24 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.js +55 -0
- package/esm/_staging/dashboard/flexibleLayout/facade/sections.js.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/index.d.ts.map +1 -0
- package/esm/_staging/dashboard/flexibleLayout/index.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts +435 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js +2 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/builder/item.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/builder/layout.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/builder/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/builder/section.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts +2 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.js +4 -0
- package/esm/_staging/dashboard/legacyFluidLayout/config.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js +2 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/interfaces.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/item.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/item.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/items.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/items.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/layout.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/section.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/section.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.d.ts.map +1 -0
- package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.js +1 -1
- package/esm/_staging/dashboard/legacyFluidLayout/facade/sections.js.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts +11 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.d.ts.map +1 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.js +10 -0
- package/esm/_staging/dashboard/legacyFluidLayout/index.js.map +1 -0
- package/esm/_staging/layout/coordinates.d.ts +20 -2
- package/esm/_staging/layout/coordinates.d.ts.map +1 -1
- package/esm/_staging/layout/coordinates.js +190 -1
- package/esm/_staging/layout/coordinates.js.map +1 -1
- package/esm/_staging/layout/sizing.d.ts +13 -4
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +143 -4
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/internal.d.ts +2 -2
- package/esm/internal.d.ts.map +1 -1
- package/esm/internal.js +2 -2
- package/esm/internal.js.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.d.ts.map +1 -1
- package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js +12 -2
- package/esm/model/commandHandlers/dashboard/common/loadNotificationChannelsCount.js.map +1 -1
- package/esm/model/commandHandlers/index.d.ts.map +1 -1
- package/esm/model/commandHandlers/index.js +2 -0
- package/esm/model/commandHandlers/index.js.map +1 -1
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +9 -3
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/addSectionItemsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/addSectionItemsHandler.js +47 -23
- package/esm/model/commandHandlers/layout/addSectionItemsHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js +17 -5
- package/esm/model/commandHandlers/layout/changeLayoutSectionHeaderHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js +48 -18
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.js +90 -40
- package/esm/model/commandHandlers/layout/moveSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js +90 -26
- package/esm/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js +22 -7
- package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js +5 -3
- package/esm/model/commandHandlers/layout/removeSectionItemByWidgetRefHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.js +36 -20
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/replaceSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js +38 -18
- package/esm/model/commandHandlers/layout/replaceSectionItemHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/resizeHeightHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/resizeHeightHandler.js +30 -11
- package/esm/model/commandHandlers/layout/resizeHeightHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/resizeWidthHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/resizeWidthHandler.js +40 -22
- package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts +6 -0
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.d.ts.map +1 -0
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.js +9 -0
- package/esm/model/commandHandlers/layout/setScreenSizeHandler.js.map +1 -0
- package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts +5 -4
- package/esm/model/commandHandlers/layout/validation/layoutValidation.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/validation/layoutValidation.js +55 -15
- package/esm/model/commandHandlers/layout/validation/layoutValidation.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +3 -2
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts +1 -1
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js +10 -2
- package/esm/model/commandHandlers/scheduledEmail/loadNotificationChannels.js.map +1 -1
- package/esm/model/commands/base.d.ts +1 -1
- package/esm/model/commands/base.d.ts.map +1 -1
- package/esm/model/commands/index.d.ts +4 -4
- package/esm/model/commands/index.d.ts.map +1 -1
- package/esm/model/commands/index.js +1 -1
- package/esm/model/commands/index.js.map +1 -1
- package/esm/model/commands/layout.d.ts +465 -10
- package/esm/model/commands/layout.d.ts.map +1 -1
- package/esm/model/commands/layout.js +473 -5
- package/esm/model/commands/layout.js.map +1 -1
- package/esm/model/events/base.d.ts +1 -1
- package/esm/model/events/base.d.ts.map +1 -1
- package/esm/model/events/base.js.map +1 -1
- package/esm/model/events/layout.d.ts +180 -12
- package/esm/model/events/layout.d.ts.map +1 -1
- package/esm/model/events/layout.js +42 -11
- package/esm/model/events/layout.js.map +1 -1
- package/esm/model/events/userInteraction.d.ts +6 -2
- package/esm/model/events/userInteraction.d.ts.map +1 -1
- package/esm/model/events/userInteraction.js.map +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js +1 -1
- package/esm/model/react/useDasboardScheduledEmails/useDashboardScheduledEmailsDialog.js.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +1 -0
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardUserInteraction.d.ts +2 -1
- package/esm/model/react/useDashboardUserInteraction.d.ts.map +1 -1
- package/esm/model/react/useDashboardUserInteraction.js +4 -0
- package/esm/model/react/useDashboardUserInteraction.js.map +1 -1
- package/esm/model/react/useWidgetSelection.d.ts.map +1 -1
- package/esm/model/react/useWidgetSelection.js +3 -1
- package/esm/model/react/useWidgetSelection.js.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +6 -0
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +9 -1
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +3 -3
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +3 -3
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +23 -18
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/index.js +6 -1
- package/esm/model/store/layout/index.js.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +24 -25
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +86 -58
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts +46 -2
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +66 -4
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/store/layout/layoutState.d.ts +2 -1
- package/esm/model/store/layout/layoutState.d.ts.map +1 -1
- package/esm/model/store/layout/layoutState.js +2 -1
- package/esm/model/store/layout/layoutState.js.map +1 -1
- package/esm/model/store/layout/layoutUtils.d.ts +7 -7
- package/esm/model/store/layout/layoutUtils.d.ts.map +1 -1
- package/esm/model/store/layout/layoutUtils.js +26 -9
- package/esm/model/store/layout/layoutUtils.js.map +1 -1
- package/esm/model/store/ui/index.d.ts +5 -5
- package/esm/model/store/ui/uiReducers.d.ts +6 -6
- package/esm/model/store/ui/uiReducers.d.ts.map +1 -1
- package/esm/model/store/ui/uiReducers.js +11 -8
- package/esm/model/store/ui/uiReducers.js.map +1 -1
- package/esm/model/store/ui/uiSelectors.d.ts +31 -1
- package/esm/model/store/ui/uiSelectors.d.ts.map +1 -1
- package/esm/model/store/ui/uiSelectors.js +38 -3
- package/esm/model/store/ui/uiSelectors.js.map +1 -1
- package/esm/model/store/ui/uiState.d.ts +4 -4
- package/esm/model/store/ui/uiState.d.ts.map +1 -1
- package/esm/model/store/ui/uiState.js +1 -1
- package/esm/model/store/ui/uiState.js.map +1 -1
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +2 -2
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.js.map +1 -1
- package/esm/presentation/constants.d.ts +2 -0
- package/esm/presentation/constants.d.ts.map +1 -0
- package/esm/presentation/constants.js +12 -0
- package/esm/presentation/constants.js.map +1 -0
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js +7 -2
- package/esm/presentation/dashboard/DefaultDashboardContent/DefaultDashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardInner.js +12 -3
- package/esm/presentation/dashboard/components/DashboardInner.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts +18 -0
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js +32 -0
- package/esm/presentation/dashboard/components/DashboardItemPathAndSizeContext.js.map +1 -0
- package/esm/presentation/dashboard/components/DashboardMainContent.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardMainContent.js +7 -2
- package/esm/presentation/dashboard/components/DashboardMainContent.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.d.ts.map +1 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js +3 -1
- package/esm/presentation/dashboard/components/DashboardRenderer.js.map +1 -1
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts +11 -0
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.d.ts.map +1 -0
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js +63 -0
- package/esm/presentation/dashboard/components/DashboardScreenSizeContext.js.map +1 -0
- package/esm/presentation/dragAndDrop/DragLayerPreview/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts +1 -0
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js +1 -1
- package/esm/presentation/dragAndDrop/DraggableCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/LayoutResizeContext.js +2 -2
- package/esm/presentation/dragAndDrop/LayoutResizeContext.js.map +1 -1
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts +2 -0
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js +4 -2
- package/esm/presentation/dragAndDrop/WrapCreatePanelItemWithDrag.js.map +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js +4 -3
- package/esm/presentation/dragAndDrop/WrapInsightListItemWithDrag.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js +3 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableDashboardLayoutCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js +4 -2
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableInsightListItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js +3 -2
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableRichTextCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js +3 -2
- package/esm/presentation/dragAndDrop/draggableWidget/DraggableVisualizationSwitcherCreatePanelItem.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts +14 -0
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.d.ts.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js +30 -0
- package/esm/presentation/dragAndDrop/draggableWidget/draggableWidgetDropHandler.js.map +1 -0
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts +0 -9
- package/esm/presentation/dragAndDrop/draggableWidget/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/index.js +0 -9
- package/esm/presentation/dragAndDrop/draggableWidget/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js +1 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragEndHandler.js.map +1 -1
- package/esm/presentation/dragAndDrop/index.d.ts +0 -6
- package/esm/presentation/dragAndDrop/index.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/index.js +1 -7
- package/esm/presentation/dragAndDrop/index.js.map +1 -1
- package/esm/presentation/dragAndDrop/types.d.ts +6 -0
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/types.js +2 -1
- package/esm/presentation/dragAndDrop/types.js.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.d.ts.map +1 -1
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js +5 -3
- package/esm/presentation/filterBar/filterBar/DefaultFilterBarContainer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
- package/esm/presentation/flexibleLayout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +59 -37
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js +34 -16
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +10 -8
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +7 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +10 -7
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +6 -13
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +4 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +4 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +14 -10
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js +3 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +8 -6
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js +2 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js +3 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +13 -12
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +13 -12
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +1 -9
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +11 -47
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts +5 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +15 -28
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +4 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +9 -13
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +31 -136
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js +26 -18
- package/esm/presentation/flexibleLayout/DefaultFlexibleDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardLayout.js.map +1 -1
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts +3 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js +9 -0
- package/esm/presentation/flexibleLayout/EmptyDashboardNestedLayout.js.map +1 -0
- package/esm/presentation/flexibleLayout/constants.d.ts +0 -1
- package/esm/presentation/flexibleLayout/constants.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/constants.js +0 -10
- package/esm/presentation/flexibleLayout/constants.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.js +6 -7
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayer.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/ContentDragPreview.js +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.d.ts +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js +56 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.d.ts +3 -3
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/WidthResizerDragPreview.js +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.d.ts +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayerPreview/sizeLimiting.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js +16 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js +20 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js +11 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +13 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +95 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.d.ts +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/ResizeOverlay.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js +10 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts +10 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +65 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/types.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +11 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js +55 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts +5 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +50 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js +95 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +20 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js +20 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts +12 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js +89 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZone.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.js +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js +82 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js +8 -9
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js +75 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useEmptyContentHandlers.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js +68 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js +33 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js +14 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js +36 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js +23 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +8 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js +5 -11
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js +72 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +35 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +3 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +38 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +43 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +44 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js +41 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +4 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +42 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts +9 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.js +2 -2
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
- package/esm/presentation/flexibleLayout/refs.d.ts +1 -1
- package/esm/presentation/flexibleLayout/refs.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.d.ts.map +1 -1
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js +10 -6
- package/esm/presentation/kpiDeleteDialog/DefaultKpiDeleteDialog.js.map +1 -1
- package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts +1 -1
- package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardItemOverlay/DashboardItemOverlayController.js +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +5 -2
- package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js +2 -1
- package/esm/presentation/layout/DefaultDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayout.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +3 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +4 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js +6 -5
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +5 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts +4 -4
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/index.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/emptyFacade.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/legacy.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -4
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
- package/esm/presentation/layout/EmptyDashboardLayout.js +2 -2
- package/esm/presentation/layout/EmptyDashboardLayout.js.map +1 -1
- package/esm/presentation/layout/constants.d.ts +0 -1
- package/esm/presentation/layout/constants.d.ts.map +1 -1
- package/esm/presentation/layout/constants.js +1 -11
- package/esm/presentation/layout/constants.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts +3 -0
- package/esm/presentation/layout/dragAndDrop/DragLayer.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayer.js +60 -0
- package/esm/presentation/layout/dragAndDrop/DragLayer.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +5 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js +50 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts +7 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/DragLayerPreview/HeightResizerDragPreview.js +3 -3
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts +29 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js +62 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts +9 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js +24 -0
- package/esm/presentation/layout/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/Bullet.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.js +3 -3
- package/esm/presentation/layout/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts +4 -0
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizer.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizer.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.d.ts +2 -2
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/HeightResizerHotspot.js +5 -6
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts +10 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js +67 -0
- package/esm/presentation/layout/dragAndDrop/Resize/ResizeOverlay.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts +4 -0
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizer.js +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizer.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/WidthResizerHotspot.js +7 -8
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts +5 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.js +3 -0
- package/esm/presentation/layout/dragAndDrop/Resize/types.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +8 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js +13 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +4 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js +4 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +2 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js +2 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts +3 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.js +4 -14
- package/esm/presentation/layout/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.js +4 -13
- package/esm/presentation/layout/dragAndDrop/draggableWidget/Hotspot.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/RowEndHotspot.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.js +3 -12
- package/esm/presentation/layout/dragAndDrop/draggableWidget/SectionHotspot.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js +9 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts +7 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js +14 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.js +9 -16
- package/esm/presentation/layout/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useMoveWidgetToNewSectionDropHandler.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js +4 -4
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.js +2 -2
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +1 -0
- package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useWidgetDragHoverHandlers.d.ts +1 -1
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +1 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js +17 -0
- package/esm/presentation/layout/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +1 -0
- package/esm/presentation/layout/refs.d.ts +1 -1
- package/esm/presentation/layout/refs.d.ts.map +1 -1
- package/esm/presentation/localization/bundles/en-US.json +25 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/DestinationSelect/DestinationSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +5 -5
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailManagementDialog/components/ScheduledEmail.js.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts +2 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.d.ts.map +1 -1
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js +17 -3
- package/esm/presentation/widget/common/configuration/ConfigurationBubble.js.map +1 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts +1 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.d.ts.map +1 -1
- package/esm/presentation/widget/dashboardLayout/DashboardLayout.js.map +1 -1
- package/esm/presentation/widget/dashboardLayout/types.d.ts +5 -4
- package/esm/presentation/widget/dashboardLayout/types.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js +2 -2
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertDestinationSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +5 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useInsightAlerting.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js +27 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/utils/transformation.js.map +1 -1
- package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js +3 -3
- package/esm/presentation/widget/kpi/EditModeDashboardKpi/EditModeDashboardKpi.js.map +1 -1
- package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js +7 -7
- package/esm/presentation/widget/kpiPlaceholder/DefaultDashboardKpiPlaceholderWidget.js.map +1 -1
- package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js +6 -6
- package/esm/presentation/widget/kpiPlaceholder/KpiPlaceholderConfigurationPanel.js.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.d.ts.map +1 -1
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js +12 -3
- package/esm/presentation/widget/visualizationSwitcher/configuration/Toolbar.js.map +1 -1
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts +7 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js +47 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/EditableDashboardNestedLayoutWidget.js.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts +6 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.d.ts.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js +12 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/RenderModeAwareDashboardNestedLayoutWidget.js.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts +8 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.d.ts.map +1 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js +31 -0
- package/esm/presentation/widget/widget/DashboardNestedLayoutWidget/Toolbar.js.map +1 -0
- package/esm/presentation/widget/widget/DashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DashboardWidget.js +12 -4
- package/esm/presentation/widget/widget/DashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +10 -6
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js +3 -1
- package/esm/presentation/widget/widget/InsightWidget/EditableDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js +3 -1
- package/esm/presentation/widget/widget/RichTextWidget/EditableDashboardRichTextWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js +7 -2
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/EditableDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/types.d.ts +7 -1
- package/esm/presentation/widget/widget/types.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +742 -23
- package/esm/types.d.ts +37 -0
- package/esm/types.d.ts.map +1 -1
- package/esm/types.js +23 -0
- package/esm/types.js.map +1 -1
- package/package.json +16 -15
- package/styles/css/dashboard.css +78 -47
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutToolbar.css +39 -0
- package/styles/css/dashboardNestedLayoutToolbar.css.map +1 -0
- package/styles/css/dashboardNestedLayoutWidget.css +106 -0
- package/styles/css/dashboardNestedLayoutWidget.css.map +1 -0
- package/styles/css/dragAndDrop.css +134 -5
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/layout.css +60 -41
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css +396 -52
- package/styles/css/main.css.map +1 -1
- package/styles/css/resizing.css +51 -0
- package/styles/css/resizing.css.map +1 -1
- package/styles/scss/dashboard.scss +28 -11
- package/styles/scss/dashboardNestedLayoutToolbar.scss +41 -0
- package/styles/scss/dashboardNestedLayoutWidget.scss +128 -0
- package/styles/scss/dragAndDrop.scss +176 -8
- package/styles/scss/layout.scss +20 -45
- package/styles/scss/main.scss +2 -0
- package/styles/scss/resizing.scss +65 -6
- package/esm/_staging/dashboard/fluidLayout/builder/interfaces.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/interfaces.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/item.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/item.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/layout.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/layout.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/section.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/builder/section.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/config.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/config.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/interfaces.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/interfaces.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/item.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/item.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/items.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/items.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/layout.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/layout.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/section.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/section.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/sections.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/facade/sections.js.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/index.d.ts.map +0 -1
- package/esm/_staging/dashboard/fluidLayout/index.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayer.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayer.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts +0 -5
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/ContentDragPreview.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/HeightResizerDragPreview.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/DragLayerPreview/sizeLimiting.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/Bullet.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/BulletsBar/BulletsBar.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizer.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizer.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/HeightResizerHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/ResizeOverlay.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizer.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizer.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/WidthResizerHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/types.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/Resize/types.js +0 -3
- package/esm/presentation/dragAndDrop/Resize/types.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/types.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/EmptyDashboardDropZone.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/Hotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/RowEndHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionDropZoneBox.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/SectionHotspot.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZone.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/WidgetDropZoneColumn.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts +0 -3
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js +0 -46
- package/esm/presentation/dragAndDrop/draggableWidget/useAddInitialSectionHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
- package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useDashboardLayoutPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightListItemDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useInsightPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useKpiPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useMoveWidgetToNewSectionDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts +0 -2
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionDashboardLayoutPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightListItemDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionInsightPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionKpiPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useRichTextPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.js.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.d.ts.map +0 -1
- package/esm/presentation/dragAndDrop/draggableWidget/useWidgetDragHoverHandlers.js.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts +0 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js +0 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/constants.js.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts +0 -4
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.d.ts.map +0 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js +0 -34
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useScreenSize.js.map +0 -1
- package/styles/css/flexibleLayout.css +0 -425
- package/styles/css/flexibleLayout.css.map +0 -1
- package/styles/scss/flexibleLayout.scss +0 -410
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/builder/interfaces.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/config.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/facade/interfaces.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → flexibleLayout}/index.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/item.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/layout.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/builder/section.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/interfaces.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/item.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/items.js +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/layout.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/section.d.ts +0 -0
- /package/esm/_staging/dashboard/{fluidLayout → legacyFluidLayout}/facade/sections.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/DragLayer.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/HeightResizer.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/WidthResizer.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/Resize/types.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderMarker.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/index.js +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/types.js +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/EmptyDashboardDropZone.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → flexibleLayout/dragAndDrop}/draggableWidget/WidgetDropZoneBox.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/Bullet.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/Resize/BulletsBar/BulletsBar.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorder.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/DashboardLayoutSectionBorder/DashboardLayoutSectionBorderLine.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/Hotspot.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionDropZoneBox.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/SectionHotspot.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZone.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/WidgetDropZoneColumn.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightListItemDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useInsightPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useIsDraggingCurrentItem.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useKpiPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightListItemDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionInsightPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionKpiPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionRichTextPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useNewSectionVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useRichTextPlaceholderDropHandler.d.ts +0 -0
- /package/esm/presentation/{dragAndDrop → layout/dragAndDrop}/draggableWidget/useVisualizationSwitcherPlaceholderDropHandler.d.ts +0 -0
package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutItem.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutItem.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAWnF,MAAM,mBAAmB,GAA0C,CAAC,KAAK,EAAE,EAAE,CAAC,CAC1E,oBAAC,2BAA2B,OAAK,KAAK,GAAI,CAC7C,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAU,KAAyC;IAClF,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,mBAAmB,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAE3E,MAAM,WAAW,GAAG;QAChB,IAAI;QACJ,qBAAqB,EAAE,6BAA6B;KACT,CAAC;IAEhD,OAAO,YAAY,CAAC;QAChB,GAAG,KAAK;QACR,mBAAmB,EAAE,2BAA2B;QAChD,QAAQ,EAAE,cAAc,CAAC,WAAW,CAAC;KACxC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutItemRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DashboardLayoutItemRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AAuB/D;;GAEG;AACH,eAAO,MAAM,2BAA2B,uCAGG,CAAC"}
|
|
@@ -1,27 +1,20 @@
|
|
|
1
1
|
// (C) 2007-2024 GoodData Corporation
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { RowEndHotspot, WidgetDropZoneColumn, useIsDraggingCurrentItem } from "../../dragAndDrop/index.js";
|
|
5
|
-
import { DashboardLayoutItemViewRenderer } from "./DashboardLayoutItemViewRenderer.js";
|
|
6
4
|
import { renderModeAware } from "../../componentDefinition/index.js";
|
|
7
5
|
import { isCustomWidgetBase } from "../../../model/index.js";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
itemIndex: item.index(),
|
|
12
|
-
};
|
|
13
|
-
}
|
|
6
|
+
import { RowEndHotspot } from "../dragAndDrop/draggableWidget/RowEndHotspot.js";
|
|
7
|
+
import { DashboardLayoutItemViewRenderer } from "./DashboardLayoutItemViewRenderer.js";
|
|
8
|
+
import { useIsDraggingCurrentItem } from "../dragAndDrop/draggableWidget/useIsDraggingCurrentItem.js";
|
|
14
9
|
const DashboardLayoutItemEditRenderer = (props) => {
|
|
15
|
-
const { item,
|
|
16
|
-
const
|
|
17
|
-
const isDraggingCurrentItem = useIsDraggingCurrentItem(sectionIndex, itemIndex);
|
|
10
|
+
const { item, children } = props;
|
|
11
|
+
const isDraggingCurrentItem = useIsDraggingCurrentItem(item.index());
|
|
18
12
|
const isCustomWidget = isCustomWidgetBase(item.widget());
|
|
19
13
|
return (React.createElement(React.Fragment, null,
|
|
20
|
-
isCustomWidget ? null : (React.createElement(WidgetDropZoneColumn, { screen: screen, sectionIndex: sectionIndex, itemIndex: itemIndex })),
|
|
21
14
|
React.createElement(DashboardLayoutItemViewRenderer, { ...props, className: cx({
|
|
22
15
|
"current-dragging-item": isDraggingCurrentItem,
|
|
23
16
|
}) }, children),
|
|
24
|
-
isCustomWidget ? null : React.createElement(RowEndHotspot, { item: item
|
|
17
|
+
isCustomWidget ? null : React.createElement(RowEndHotspot, { item: item })));
|
|
25
18
|
};
|
|
26
19
|
/**
|
|
27
20
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutItemRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutItemRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAEhF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4DAA4D,CAAC;AAEtG,MAAM,+BAA+B,GAA0C,CAAC,KAAK,EAAE,EAAE;IACrF,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACjC,MAAM,qBAAqB,GAAG,wBAAwB,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;IACrE,MAAM,cAAc,GAAG,kBAAkB,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;IAEzD,OAAO,CACH;QACI,oBAAC,+BAA+B,OACxB,KAAK,EACT,SAAS,EAAE,EAAE,CAAC;gBACV,uBAAuB,EAAE,qBAAqB;aACjD,CAAC,IAED,QAAQ,CACqB;QACjC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,aAAa,IAAC,IAAI,EAAE,IAAI,GAAI,CACvD,CACN,CAAC;AACN,CAAC,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,eAAe,CAAwC;IAC9F,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,+BAA+B;CACxC,CAA0C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutItemViewRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutItemViewRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AAM/D,eAAO,MAAM,+BAA+B,EAAE,4BAA4B,CAAC,OAAO,CAwCjF,CAAC"}
|
|
@@ -3,9 +3,10 @@ import React, { useMemo } from "react";
|
|
|
3
3
|
import cx from "classnames";
|
|
4
4
|
import isNil from "lodash/isNil.js";
|
|
5
5
|
import { GridLayoutElement } from "./GridLayoutElement.js";
|
|
6
|
+
import { useScreenSize } from "../../dashboard/components/DashboardScreenSizeContext.js";
|
|
6
7
|
const isHiddenStyle = { height: 0, width: 0, overflow: "hidden", flex: 0 };
|
|
7
|
-
export const DashboardLayoutItemViewRenderer = (
|
|
8
|
-
const
|
|
8
|
+
export const DashboardLayoutItemViewRenderer = ({ item, children, className, minHeight = 0, isHidden, }) => {
|
|
9
|
+
const screen = useScreenSize();
|
|
9
10
|
const { ratio, height } = getSizeForItem(item, screen);
|
|
10
11
|
const style = useMemo(() => {
|
|
11
12
|
let computedStyle = {
|
|
@@ -19,7 +20,7 @@ export const DashboardLayoutItemViewRenderer = (props) => {
|
|
|
19
20
|
}
|
|
20
21
|
return computedStyle;
|
|
21
22
|
}, [minHeight, isHidden]);
|
|
22
|
-
return (React.createElement(GridLayoutElement, { type: "item",
|
|
23
|
+
return (React.createElement(GridLayoutElement, { type: "item", layoutItemSize: item.size(), className: cx({
|
|
23
24
|
[`s-fluid-layout-column-ratio-${ratio}`]: !isNil(ratio),
|
|
24
25
|
[`s-fluid-layout-column-height-${height}`]: !isNil(height),
|
|
25
26
|
}, className), style: style }, children));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutItemViewRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAMpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutItemViewRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,KAAK,MAAM,iBAAiB,CAAC;AAMpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,0DAA0D,CAAC;AAEzF,MAAM,aAAa,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAE3E,MAAM,CAAC,MAAM,+BAA+B,GAA0C,CAAC,EACnF,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,SAAS,GAAG,CAAC,EACb,QAAQ,GACX,EAAE,EAAE;IACD,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,cAAc,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAEvD,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QACvB,IAAI,aAAa,GAAG;YAChB,SAAS;SACZ,CAAC;QAEF,IAAI,QAAQ,EAAE,CAAC;YACX,aAAa,GAAG;gBACZ,GAAG,aAAa;gBAChB,GAAG,aAAa;aACnB,CAAC;QACN,CAAC;QACD,OAAO,aAAa,CAAC;IACzB,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAC;IAE1B,OAAO,CACH,oBAAC,iBAAiB,IACd,IAAI,EAAC,MAAM,EACX,cAAc,EAAE,IAAI,CAAC,IAAI,EAAE,EAC3B,SAAS,EAAE,EAAE,CACT;YACI,CAAC,+BAA+B,KAAK,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YACvD,CAAC,gCAAgC,MAAM,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;SAC7D,EACD,SAAS,CACZ,EACD,KAAK,EAAE,KAAK,IAEX,QAAQ,CACO,CACvB,CAAC;AACN,CAAC,CAAC;AAEF,SAAS,cAAc,CAAC,IAAyC,EAAE,MAAkB;IACjF,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,MAAM,8BAA8B,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAClE,MAAM,KAAK,GAAG,8BAA8B,EAAE,aAAa,CAAC;IAC5D,MAAM,MAAM,GAAG,8BAA8B,EAAE,UAAU,CAAC;IAC1D,MAAM,KAAK,GAAG,8BAA8B,EAAE,SAAS,CAAC;IAExD,OAAO;QACH,MAAM;QACN,KAAK;QACL,KAAK;QACL,IAAI;KACP,CAAC;AACN,CAAC"}
|
package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import { RenderMode } from "../../../types.js";
|
|
4
|
-
import { IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/
|
|
2
|
+
import { IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
|
|
3
|
+
import { RenderMode, ILayoutItemPath } from "../../../types.js";
|
|
4
|
+
import { IDashboardLayoutSectionFacade } from "../../../_staging/dashboard/flexibleLayout/facade/interfaces.js";
|
|
5
5
|
import { IDashboardLayoutGridRowRenderer, IDashboardLayoutItemKeyGetter, IDashboardLayoutItemRenderer, IDashboardLayoutSectionHeaderRenderer, IDashboardLayoutSectionKeyGetter, IDashboardLayoutSectionRenderer, IDashboardLayoutWidgetRenderer } from "./interfaces.js";
|
|
6
6
|
/**
|
|
7
7
|
* @alpha
|
|
@@ -16,10 +16,10 @@ export interface IDashboardLayoutSectionProps<TWidget> {
|
|
|
16
16
|
widgetRenderer: IDashboardLayoutWidgetRenderer<TWidget>;
|
|
17
17
|
gridRowRenderer?: IDashboardLayoutGridRowRenderer<TWidget>;
|
|
18
18
|
getLayoutDimensions: () => DOMRect;
|
|
19
|
-
screen: ScreenSize;
|
|
20
19
|
renderMode: RenderMode;
|
|
21
20
|
isDraggingWidget?: boolean;
|
|
22
21
|
parentLayoutItemSize?: IDashboardLayoutSizeByScreenSize;
|
|
22
|
+
parentLayoutPath: ILayoutItemPath | undefined;
|
|
23
23
|
}
|
|
24
24
|
export declare function DashboardLayoutSection<TWidget>(props: IDashboardLayoutSectionProps<TWidget>): JSX.Element;
|
|
25
25
|
//# sourceMappingURL=DashboardLayoutSection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSection.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAGvE,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAEH,6BAA6B,EAChC,MAAM,iEAAiE,CAAC;AAIzE,OAAO,EACH,+BAA+B,EAC/B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,gCAAgC,EAChC,+BAA+B,EAC/B,8BAA8B,EACjC,MAAM,iBAAiB,CAAC;AAOzB;;GAEG;AACH,MAAM,WAAW,4BAA4B,CAAC,OAAO;IACjD,OAAO,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;IAChD,gBAAgB,CAAC,EAAE,gCAAgC,CAAC,OAAO,CAAC,CAAC;IAC7D,eAAe,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,CAAC;IAC3D,qBAAqB,CAAC,EAAE,qCAAqC,CAAC,OAAO,CAAC,CAAC;IACvE,aAAa,CAAC,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC;IACvD,YAAY,CAAC,EAAE,4BAA4B,CAAC,OAAO,CAAC,CAAC;IACrD,cAAc,EAAE,8BAA8B,CAAC,OAAO,CAAC,CAAC;IACxD,eAAe,CAAC,EAAE,+BAA+B,CAAC,OAAO,CAAC,CAAC;IAC3D,mBAAmB,EAAE,MAAM,OAAO,CAAC;IACnC,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,gCAAgC,CAAC;IACxD,gBAAgB,EAAE,eAAe,GAAG,SAAS,CAAC;CACjD;AAaD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,KAAK,EAAE,4BAA4B,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC,OAAO,CA6FzG"}
|
package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js
CHANGED
|
@@ -6,23 +6,26 @@ import { DashboardLayoutSectionRenderer } from "./DashboardLayoutSectionRenderer
|
|
|
6
6
|
import { DashboardLayoutSectionOverlayController } from "../DashboardItemOverlay/DashboardItemOverlayController.js";
|
|
7
7
|
import last from "lodash/last.js";
|
|
8
8
|
import { DashboardLayoutGridRowEdit } from "./DashboardLayoutGridRowEdit.js";
|
|
9
|
+
import { getItemIndex, serializeLayoutItemPath } from "../../../_staging/layout/coordinates.js";
|
|
10
|
+
import { useScreenSize } from "../../dashboard/components/DashboardScreenSizeContext.js";
|
|
9
11
|
const defaultSectionRenderer = (props) => (React.createElement(DashboardLayoutSectionRenderer, { ...props }));
|
|
10
12
|
const defaultHeaderRenderer = (props) => (React.createElement(DashboardLayoutSectionHeaderRenderer, { ...props }));
|
|
11
|
-
const defaultItemKeyGetter = ({ item }) => item.index()
|
|
13
|
+
const defaultItemKeyGetter = ({ item }) => serializeLayoutItemPath(item.index());
|
|
12
14
|
export function DashboardLayoutSection(props) {
|
|
13
|
-
const { section, sectionRenderer = defaultSectionRenderer, sectionHeaderRenderer = defaultHeaderRenderer, itemKeyGetter = defaultItemKeyGetter, gridRowRenderer, itemRenderer, widgetRenderer, getLayoutDimensions,
|
|
14
|
-
const renderProps = { section,
|
|
15
|
+
const { section, sectionRenderer = defaultSectionRenderer, sectionHeaderRenderer = defaultHeaderRenderer, itemKeyGetter = defaultItemKeyGetter, gridRowRenderer, itemRenderer, widgetRenderer, getLayoutDimensions, renderMode, parentLayoutItemSize, parentLayoutPath, } = props;
|
|
16
|
+
const renderProps = { section, renderMode, parentLayoutItemSize, parentLayoutPath };
|
|
17
|
+
const screen = useScreenSize();
|
|
15
18
|
const items = useMemo(() => {
|
|
16
19
|
if (renderMode === "edit") {
|
|
17
20
|
const itemsInRowsByIndex = section
|
|
18
21
|
.items()
|
|
19
|
-
.asGridRows(screen)
|
|
20
|
-
.map((itemsInRow) => [last(itemsInRow).index(), itemsInRow]);
|
|
22
|
+
.asGridRows(screen, parentLayoutItemSize?.[screen]?.gridWidth)
|
|
23
|
+
.map((itemsInRow) => [getItemIndex(last(itemsInRow).index()), itemsInRow]);
|
|
21
24
|
const itemsInRow = section.items().all();
|
|
22
|
-
return (React.createElement(DashboardLayoutGridRowEdit, {
|
|
25
|
+
return (React.createElement(DashboardLayoutGridRowEdit, { itemsInRowsByIndex: itemsInRowsByIndex, section: section, items: itemsInRow, gridRowRenderer: gridRowRenderer, itemKeyGetter: itemKeyGetter, itemRenderer: itemRenderer, widgetRenderer: widgetRenderer, renderMode: renderMode, getLayoutDimensions: getLayoutDimensions }));
|
|
23
26
|
}
|
|
24
|
-
return flatMap(section.items().asGridRows(screen), (itemsInRow, index) => {
|
|
25
|
-
return (React.createElement(DashboardLayoutGridRow, { key: index.toString(),
|
|
27
|
+
return flatMap(section.items().asGridRows(screen, parentLayoutItemSize?.[screen]?.gridWidth), (itemsInRow, index) => {
|
|
28
|
+
return (React.createElement(DashboardLayoutGridRow, { key: index.toString(), section: section, items: itemsInRow, gridRowRenderer: gridRowRenderer, itemKeyGetter: itemKeyGetter, itemRenderer: itemRenderer, widgetRenderer: widgetRenderer, renderMode: renderMode, getLayoutDimensions: getLayoutDimensions }));
|
|
26
29
|
});
|
|
27
30
|
}, [
|
|
28
31
|
getLayoutDimensions,
|
|
@@ -30,9 +33,10 @@ export function DashboardLayoutSection(props) {
|
|
|
30
33
|
itemKeyGetter,
|
|
31
34
|
itemRenderer,
|
|
32
35
|
renderMode,
|
|
33
|
-
screen,
|
|
34
36
|
section,
|
|
35
37
|
widgetRenderer,
|
|
38
|
+
parentLayoutItemSize,
|
|
39
|
+
screen,
|
|
36
40
|
]);
|
|
37
41
|
return sectionRenderer({
|
|
38
42
|
...renderProps,
|
|
@@ -40,9 +44,9 @@ export function DashboardLayoutSection(props) {
|
|
|
40
44
|
children: (React.createElement(React.Fragment, null,
|
|
41
45
|
sectionHeaderRenderer({
|
|
42
46
|
section,
|
|
43
|
-
screen,
|
|
44
47
|
DefaultSectionHeaderRenderer: DashboardLayoutSectionHeaderRenderer,
|
|
45
48
|
parentLayoutItemSize,
|
|
49
|
+
parentLayoutPath,
|
|
46
50
|
}),
|
|
47
51
|
items,
|
|
48
52
|
renderMode === "edit" ? React.createElement(DashboardLayoutSectionOverlayController, { section: section }) : null)),
|
package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSection.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.tsx"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAMvC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AACjG,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAUrF,OAAO,EAAE,uCAAuC,EAAE,MAAM,2DAA2D,CAAC;AACpH,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSection.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAErC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionHeader.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAErC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CAAC,kCAAkC,CA+BrF,CAAC"}
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Typography } from "@gooddata/sdk-ui-kit";
|
|
4
4
|
import { DashboardLayoutSectionHeaderDescription } from "./DashboardLayoutSectionHeaderDescription.js";
|
|
5
|
-
export const DashboardLayoutSectionHeader = (
|
|
6
|
-
const { title, description, renderBeforeHeader, renderHeader } = props;
|
|
5
|
+
export const DashboardLayoutSectionHeader = ({ title, description, renderBeforeHeader, renderHeader, }) => {
|
|
7
6
|
return (React.createElement("div", { className: "gd-fluid-layout-row-header s-fluid-layout-row-header" },
|
|
8
7
|
renderBeforeHeader,
|
|
9
|
-
React.createElement("div", { className: "gd-fluid-layout-row-header-container" }, renderHeader ?? (React.createElement("div", { className: "gd-row-header-view" },
|
|
8
|
+
title || description || renderHeader ? (React.createElement("div", { className: "gd-fluid-layout-row-header-container" }, renderHeader ?? (React.createElement("div", { className: "gd-row-header-view" },
|
|
10
9
|
title ? (React.createElement("div", { className: "gd-row-header-title-wrapper" },
|
|
11
10
|
React.createElement("span", { className: "title" },
|
|
12
11
|
React.createElement(Typography, { tagName: "h2", className: "s-fluid-layout-row-title" }, title)))) : null,
|
|
13
|
-
description ? (React.createElement(DashboardLayoutSectionHeaderDescription, { description: description })) : null)))));
|
|
12
|
+
description ? (React.createElement(DashboardLayoutSectionHeaderDescription, { description: description })) : null)))) : null));
|
|
14
13
|
};
|
|
15
14
|
//# sourceMappingURL=DashboardLayoutSectionHeader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSectionHeader.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC;AA0BvG,MAAM,CAAC,MAAM,4BAA4B,GAAiD,CAAC,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionHeader.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeader.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC;AA0BvG,MAAM,CAAC,MAAM,4BAA4B,GAAiD,CAAC,EACvF,KAAK,EACL,WAAW,EACX,kBAAkB,EAClB,YAAY,GACf,EAAE,EAAE;IACD,OAAO,CACH,6BAAK,SAAS,EAAC,sDAAsD;QAChE,kBAAkB;QAClB,KAAK,IAAI,WAAW,IAAI,YAAY,CAAC,CAAC,CAAC,CACpC,6BAAK,SAAS,EAAC,sCAAsC,IAChD,YAAY,IAAI,CACb,6BAAK,SAAS,EAAC,oBAAoB;YAC9B,KAAK,CAAC,CAAC,CAAC,CACL,6BAAK,SAAS,EAAC,6BAA6B;gBACxC,8BAAM,SAAS,EAAC,OAAO;oBACnB,oBAAC,UAAU,IAAC,OAAO,EAAC,IAAI,EAAC,SAAS,EAAC,0BAA0B,IACxD,KAAK,CACG,CACV,CACL,CACT,CAAC,CAAC,CAAC,IAAI;YACP,WAAW,CAAC,CAAC,CAAC,CACX,oBAAC,uCAAuC,IAAC,WAAW,EAAE,WAAW,GAAI,CACxE,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CACC,CACT,CAAC,CAAC,CAAC,IAAI,CACN,CACT,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSectionHeaderRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,wCAAwC,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionHeaderRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,wCAAwC,EAAE,MAAM,iBAAiB,CAAC;AAK3E,wBAAgB,oCAAoC,CAChD,KAAK,EAAE,wCAAwC,CAAC,GAAG,CAAC,GACrD,GAAG,CAAC,OAAO,GAAG,IAAI,CAoBpB"}
|
|
@@ -3,15 +3,17 @@ import React, { useMemo } from "react";
|
|
|
3
3
|
import { DashboardLayoutItemViewRenderer } from "./DashboardLayoutItemViewRenderer.js";
|
|
4
4
|
import { DashboardLayoutSectionHeader } from "./DashboardLayoutSectionHeader.js";
|
|
5
5
|
import { buildEmptyItemFacadeWithSetSize } from "./utils/emptyFacade.js";
|
|
6
|
-
import {
|
|
6
|
+
import { determineWidthForScreen } from "../../../_staging/layout/sizing.js";
|
|
7
|
+
import { useScreenSize } from "../../dashboard/components/DashboardScreenSizeContext.js";
|
|
7
8
|
export function DashboardLayoutSectionHeaderRenderer(props) {
|
|
8
|
-
const { section,
|
|
9
|
+
const { section, parentLayoutItemSize } = props;
|
|
9
10
|
const sectionHeader = section.header();
|
|
10
|
-
const
|
|
11
|
+
const screen = useScreenSize();
|
|
12
|
+
const gridWidth = determineWidthForScreen(screen, parentLayoutItemSize);
|
|
11
13
|
const emptyItem = useMemo(() => {
|
|
12
|
-
return buildEmptyItemFacadeWithSetSize(gridWidth);
|
|
13
|
-
}, [gridWidth]);
|
|
14
|
-
return sectionHeader ? (React.createElement(DashboardLayoutItemViewRenderer, { DefaultItemRenderer: DashboardLayoutItemViewRenderer, item: emptyItem
|
|
14
|
+
return buildEmptyItemFacadeWithSetSize(gridWidth, section.index());
|
|
15
|
+
}, [gridWidth, section]);
|
|
16
|
+
return sectionHeader ? (React.createElement(DashboardLayoutItemViewRenderer, { DefaultItemRenderer: DashboardLayoutItemViewRenderer, item: emptyItem },
|
|
15
17
|
React.createElement(DashboardLayoutSectionHeader, { title: sectionHeader.title, description: sectionHeader.description }))) : null;
|
|
16
18
|
}
|
|
17
19
|
//# sourceMappingURL=DashboardLayoutSectionHeaderRenderer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSectionHeaderRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionHeaderRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAEjF,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,0DAA0D,CAAC;AAEzF,MAAM,UAAU,oCAAoC,CAChD,KAAoD;IAEpD,MAAM,EAAE,OAAO,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAC;IAChD,MAAM,aAAa,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IACvC,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,SAAS,GAAG,uBAAuB,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAAC;IACxE,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,EAAE;QAC3B,OAAO,+BAA+B,CAAC,SAAS,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;IACvE,CAAC,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC;IAEzB,OAAO,aAAa,CAAC,CAAC,CAAC,CACnB,oBAAC,+BAA+B,IAC5B,mBAAmB,EAAE,+BAA+B,EACpD,IAAI,EAAE,SAAS;QAEf,oBAAC,4BAA4B,IACzB,KAAK,EAAE,aAAa,CAAC,KAAK,EAC1B,WAAW,EAAE,aAAa,CAAC,WAAW,GACxC,CAC4B,CACrC,CAAC,CAAC,CAAC,IAAI,CAAC;AACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSectionRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAMlE,eAAO,MAAM,8BAA8B,EAAE,+BAA+B,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAMlE,eAAO,MAAM,8BAA8B,EAAE,+BAA+B,CAAC,OAAO,CAiBnF,CAAC"}
|
|
@@ -3,9 +3,8 @@ import React from "react";
|
|
|
3
3
|
import { GridLayoutElement } from "./GridLayoutElement.js";
|
|
4
4
|
const isHiddenStyle = { height: 0, width: 0, overflow: "hidden", flex: 0 };
|
|
5
5
|
const defaultStyle = {};
|
|
6
|
-
export const DashboardLayoutSectionRenderer = (
|
|
7
|
-
const { children, screen, parentLayoutItemSize, className, isHidden } = props;
|
|
6
|
+
export const DashboardLayoutSectionRenderer = ({ children, parentLayoutItemSize, className, isHidden, }) => {
|
|
8
7
|
const style = isHidden ? isHiddenStyle : defaultStyle;
|
|
9
|
-
return (React.createElement(GridLayoutElement, { type: "section",
|
|
8
|
+
return (React.createElement(GridLayoutElement, { type: "section", layoutItemSize: parentLayoutItemSize, className: className, style: style }, children));
|
|
10
9
|
};
|
|
11
10
|
//# sourceMappingURL=DashboardLayoutSectionRenderer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutSectionRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,aAAa,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAC3E,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,MAAM,CAAC,MAAM,8BAA8B,GAA6C,CAAC,
|
|
1
|
+
{"version":3,"file":"DashboardLayoutSectionRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,aAAa,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAC3E,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,MAAM,CAAC,MAAM,8BAA8B,GAA6C,CAAC,EACrF,QAAQ,EACR,oBAAoB,EACpB,SAAS,EACT,QAAQ,GACX,EAAE,EAAE;IACD,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC;IACtD,OAAO,CACH,oBAAC,iBAAiB,IACd,IAAI,EAAC,SAAS,EACd,cAAc,EAAE,oBAAoB,EACpC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,IAEX,QAAQ,CACO,CACvB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutWidgetRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iCAAiC,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutWidgetRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,iCAAiC,EAAE,MAAM,iBAAiB,CAAC;AAGpE,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,iCAAiC,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,OAAO,CAwCxG"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
// (C) 2007-2024 GoodData Corporation
|
|
2
2
|
import React, { useMemo } from "react";
|
|
3
3
|
import cx from "classnames";
|
|
4
|
+
import { useScreenSize } from "../../dashboard/components/DashboardScreenSizeContext.js";
|
|
4
5
|
export function DashboardLayoutWidgetRenderer(props) {
|
|
5
|
-
const { item,
|
|
6
|
+
const { item, className, contentRef, isResizedByLayoutSizingStrategy, minHeight, height, allowOverflow, children, } = props;
|
|
7
|
+
const screen = useScreenSize();
|
|
6
8
|
const { heightAsRatio, gridHeight } = item.size()[screen];
|
|
7
9
|
const style = useMemo(() => {
|
|
8
10
|
const computedStyle = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardLayoutWidgetRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"DashboardLayoutWidgetRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutWidgetRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAiB,OAAO,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,aAAa,EAAE,MAAM,0DAA0D,CAAC;AAEzF,MAAM,UAAU,6BAA6B,CAAC,KAA6C;IACvF,MAAM,EACF,IAAI,EACJ,SAAS,EACT,UAAU,EACV,+BAA+B,EAC/B,SAAS,EACT,MAAM,EACN,aAAa,EACb,QAAQ,GACX,GAAG,KAAK,CAAC;IAEV,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC;IAC/B,MAAM,EAAE,aAAa,EAAE,UAAU,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,CAAE,CAAC;IAE3D,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,EAAE;QACvB,MAAM,aAAa,GAAkB;YACjC,SAAS;YACT,MAAM;SACT,CAAC;QAEF,IAAI,aAAa,EAAE,CAAC;YAChB,aAAa,CAAC,SAAS,GAAG,QAAQ,CAAC;YACnC,aAAa,CAAC,SAAS,GAAG,MAAM,CAAC;QACrC,CAAC;QAED,OAAO,aAAa,CAAC;IACzB,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,EAAE,+BAA+B,CAAC,CAAC,CAAC;IAEvF,OAAO,CACH,6BACI,GAAG,EAAE,UAAU,EACf,SAAS,EAAE,EAAE,CAAC,iCAAiC,EAAE,SAAS,EAAE;YACxD,eAAe,EAAE,CAAC,CAAC,UAAU;SAChC,CAAC,EACF,KAAK,EAAE,KAAK,IAEX,QAAQ,CACP,CACT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableDashboardLayoutSectionRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditableDashboardLayoutSectionRenderer.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,+BAA+B,EAAE,MAAM,iBAAiB,CAAC;AAoBlE,eAAO,MAAM,sCAAsC,EAAE,+BAA+B,CAAC,OAAO,CAyB3F,CAAC"}
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
// (C) 2007-2024 GoodData Corporation
|
|
2
2
|
import React from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { selectActiveSection, useDashboardSelector } from "../../../model/index.js";
|
|
4
|
+
import { areSectionLayoutPathsEqual } from "../../../_staging/layout/coordinates.js";
|
|
5
|
+
import { DashboardLayoutSectionBorder, } from "../dragAndDrop/draggableWidget/DashboardLayoutSectionBorder/index.js";
|
|
5
6
|
import { GridLayoutElement } from "./GridLayoutElement.js";
|
|
7
|
+
import { useIsDraggingWidget } from "../../dragAndDrop/draggableWidget/useIsDraggingWidget.js";
|
|
6
8
|
const isHiddenStyle = { height: 0, width: 0, overflow: "hidden", flex: 0 };
|
|
7
9
|
const defaultStyle = {};
|
|
8
|
-
function useBorderStatus(
|
|
9
|
-
const
|
|
10
|
+
function useBorderStatus(section) {
|
|
11
|
+
const activeSection = useDashboardSelector(selectActiveSection);
|
|
10
12
|
const isDraggingWidget = useIsDraggingWidget();
|
|
11
13
|
if (isDraggingWidget) {
|
|
12
|
-
return "muted";
|
|
14
|
+
return { status: "muted", renderBottomBorder: section.isLast() };
|
|
13
15
|
}
|
|
14
|
-
const isActive =
|
|
15
|
-
return
|
|
16
|
+
const isActive = areSectionLayoutPathsEqual(activeSection, section.index());
|
|
17
|
+
return isActive ? { status: "muted", renderBottomBorder: true } : { status: "invisible" };
|
|
16
18
|
}
|
|
17
|
-
export const EditableDashboardLayoutSectionRenderer = (
|
|
18
|
-
const { children, className, isHidden, section, screen, parentLayoutItemSize } = props;
|
|
19
|
+
export const EditableDashboardLayoutSectionRenderer = ({ children, className, isHidden, section, parentLayoutItemSize, }) => {
|
|
19
20
|
const style = isHidden ? isHiddenStyle : defaultStyle;
|
|
20
|
-
const status = useBorderStatus(section
|
|
21
|
-
return (React.createElement(GridLayoutElement, { type: "section",
|
|
22
|
-
React.createElement(DashboardLayoutSectionBorder, { status: status }, children)));
|
|
21
|
+
const { status, renderBottomBorder } = useBorderStatus(section);
|
|
22
|
+
return (React.createElement(GridLayoutElement, { type: "section", layoutItemSize: parentLayoutItemSize, className: className, style: style },
|
|
23
|
+
React.createElement(DashboardLayoutSectionBorder, { status: status, renderBottomBorder: renderBottomBorder, itemSize: parentLayoutItemSize }, children)));
|
|
23
24
|
};
|
|
24
25
|
//# sourceMappingURL=EditableDashboardLayoutSectionRenderer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditableDashboardLayoutSectionRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
|
1
|
+
{"version":3,"file":"EditableDashboardLayoutSectionRenderer.js","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableDashboardLayoutSectionRenderer.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAEH,4BAA4B,GAC/B,MAAM,sEAAsE,CAAC;AAG9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAC;AAE/F,MAAM,aAAa,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAC3E,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,SAAS,eAAe,CAAC,OAA+C;IAIpE,MAAM,aAAa,GAAG,oBAAoB,CAAC,mBAAmB,CAAC,CAAC;IAChE,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,IAAI,gBAAgB,EAAE,CAAC;QACnB,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,EAAE,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;IACrE,CAAC;IACD,MAAM,QAAQ,GAAG,0BAA0B,CAAC,aAAa,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;IAC5E,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;AAC9F,CAAC;AAED,MAAM,CAAC,MAAM,sCAAsC,GAA6C,CAAC,EAC7F,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,OAAO,EACP,oBAAoB,GACvB,EAAE,EAAE;IACD,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC;IACtD,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,GAAG,eAAe,CAAC,OAAO,CAAC,CAAC;IAChE,OAAO,CACH,oBAAC,iBAAiB,IACd,IAAI,EAAC,SAAS,EACd,cAAc,EAAE,oBAAoB,EACpC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK;QAEZ,oBAAC,4BAA4B,IACzB,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,oBAAoB,IAE7B,QAAQ,CACkB,CACf,CACvB,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { ILayoutSectionPath } from "../../../../types.js";
|
|
2
3
|
export interface ISectionHeaderEditableProps {
|
|
3
4
|
title: string;
|
|
4
5
|
description: string;
|
|
5
|
-
|
|
6
|
+
section: ILayoutSectionPath;
|
|
6
7
|
}
|
|
7
|
-
export declare function SectionHeaderEditable(
|
|
8
|
+
export declare function SectionHeaderEditable({ title: rawTitle, description: rawDescription, section, }: ISectionHeaderEditableProps): JSX.Element;
|
|
8
9
|
//# sourceMappingURL=SectionHeaderEditable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeaderEditable.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"SectionHeaderEditable.d.ts","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":";AAsBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAS1D,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAED,wBAAgB,qBAAqB,CAAC,EAClC,KAAK,EAAE,QAAQ,EACf,WAAW,EAAE,cAAc,EAC3B,OAAO,GACV,EAAE,2BAA2B,GAAG,GAAG,CAAC,OAAO,CA4H3C"}
|
|
@@ -5,28 +5,28 @@ import cx from "classnames";
|
|
|
5
5
|
import { RichTextWithTooltip } from "@gooddata/sdk-ui-kit";
|
|
6
6
|
import { EditableLabelWithBubble } from "./EditableLabelWithBubble.js";
|
|
7
7
|
import { getTitle, getDescription, MAX_TITLE_LENGTH, TITLE_LENGTH_WARNING_LIMIT, MAX_DESCRIPTION_LENGTH, DESCRIPTION_LENGTH_WARNING_LIMIT, } from "./sectionHeaderHelper.js";
|
|
8
|
-
import {
|
|
8
|
+
import { changeNestedLayoutSectionHeader, selectEnableRichTextDescriptions, uiActions, useDashboardDispatch, useDashboardSelector, } from "../../../../model/index.js";
|
|
9
|
+
import { serializeLayoutSectionPath } from "../../../../_staging/layout/coordinates.js";
|
|
9
10
|
const richTextTooltipAlignPoints = [
|
|
10
11
|
{ align: "bl tl", offset: { x: 6, y: 1 } },
|
|
11
12
|
{ align: "tl bl", offset: { x: 6, y: -1 } },
|
|
12
13
|
];
|
|
13
|
-
export function SectionHeaderEditable(
|
|
14
|
+
export function SectionHeaderEditable({ title: rawTitle, description: rawDescription, section, }) {
|
|
14
15
|
const useRichText = useDashboardSelector(selectEnableRichTextDescriptions);
|
|
15
|
-
const description = useRichText ?
|
|
16
|
-
const title = getTitle(
|
|
17
|
-
const { index } = props;
|
|
16
|
+
const description = useRichText ? rawDescription : getDescription(rawDescription);
|
|
17
|
+
const title = getTitle(rawTitle);
|
|
18
18
|
const intl = useIntl();
|
|
19
19
|
const placeholder = intl.formatMessage({
|
|
20
20
|
id: "layout.header.add.description.placeholder",
|
|
21
21
|
});
|
|
22
22
|
const dispatch = useDashboardDispatch();
|
|
23
|
-
const changeTitle = useCallback((title) => dispatch(
|
|
24
|
-
const changeDescription = useCallback((description) => dispatch(
|
|
23
|
+
const changeTitle = useCallback((title) => dispatch(changeNestedLayoutSectionHeader(section, { title }, true)), [dispatch, section]);
|
|
24
|
+
const changeDescription = useCallback((description) => dispatch(changeNestedLayoutSectionHeader(section, { description }, true)), [dispatch, section]);
|
|
25
25
|
const onEditingStart = useCallback(() => {
|
|
26
|
-
dispatch(uiActions.
|
|
27
|
-
}, [dispatch,
|
|
26
|
+
dispatch(uiActions.setActiveSection(section));
|
|
27
|
+
}, [dispatch, section]);
|
|
28
28
|
const onEditingEnd = useCallback(() => {
|
|
29
|
-
dispatch(uiActions.
|
|
29
|
+
dispatch(uiActions.clearActiveSection());
|
|
30
30
|
}, [dispatch]);
|
|
31
31
|
const onTitleSubmit = useCallback((title) => {
|
|
32
32
|
changeTitle(title);
|
|
@@ -55,12 +55,13 @@ export function SectionHeaderEditable(props) {
|
|
|
55
55
|
useEffect(() => {
|
|
56
56
|
setRichTextValue(description);
|
|
57
57
|
}, [description]);
|
|
58
|
+
const serializedSectionIndex = serializeLayoutSectionPath(section);
|
|
58
59
|
return (React.createElement("div", { className: "gd-row-header-edit" },
|
|
59
60
|
React.createElement("div", { className: "gd-editable-label-container gd-row-header-title-wrapper" },
|
|
60
|
-
React.createElement(EditableLabelWithBubble, { className: `gd-title-for-${
|
|
61
|
+
React.createElement(EditableLabelWithBubble, { className: `gd-title-for-${serializedSectionIndex} s-fluid-layout-row-title-input title gd-heading-2`, maxRows: 10, value: title || "", maxLength: MAX_TITLE_LENGTH, warningLimit: TITLE_LENGTH_WARNING_LIMIT, placeholderMessage: intl.formatMessage({ id: "layout.header.add.title.placeholder" }), alignTo: `.gd-title-for-${serializedSectionIndex}`, onSubmit: onTitleSubmit, onEditingStart: onEditingStart, onCancel: onEditingEnd })),
|
|
61
62
|
React.createElement("div", { className: "gd-editable-label-container gd-row-header-description-wrapper" }, useRichText ? (React.createElement("div", { className: cx("gd-editable-label-richtext s-fluid-layout-row-description-input", {
|
|
62
63
|
"is-editing": isRichTextEditing,
|
|
63
64
|
}), onClick: onDescriptionClick, onBlur: onDescriptionBlur },
|
|
64
|
-
React.createElement(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 10, editPlaceholder: placeholder, emptyElement: React.createElement("div", { className: "gd-editable-label-richtext-empty" }, placeholder), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints }))) : (React.createElement(EditableLabelWithBubble, { className: `gd-description-for-${
|
|
65
|
+
React.createElement(RichTextWithTooltip, { value: richTextValue, renderMode: isRichTextEditing ? "edit" : "view", onChange: onRichTextChange, editRows: 10, editPlaceholder: placeholder, emptyElement: React.createElement("div", { className: "gd-editable-label-richtext-empty" }, placeholder), showTooltip: isRichTextEditing, tooltipAlignPoints: richTextTooltipAlignPoints }))) : (React.createElement(EditableLabelWithBubble, { className: `gd-description-for-${serializedSectionIndex} s-fluid-layout-row-description-input description`, alignTo: `.gd-description-for-${serializedSectionIndex}`, maxRows: 15, value: description || "", maxLength: MAX_DESCRIPTION_LENGTH, warningLimit: DESCRIPTION_LENGTH_WARNING_LIMIT, placeholderMessage: placeholder, onSubmit: onDescriptionSubmit, onEditingStart: onEditingStart, onCancel: onEditingEnd })))));
|
|
65
66
|
}
|
|
66
67
|
//# sourceMappingURL=SectionHeaderEditable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionHeaderEditable.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,sBAAsB,EACtB,gCAAgC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,
|
|
1
|
+
{"version":3,"file":"SectionHeaderEditable.js","sourceRoot":"","sources":["../../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.tsx"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAe,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AACvE,OAAO,EACH,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,0BAA0B,EAC1B,sBAAsB,EACtB,gCAAgC,GACnC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACH,+BAA+B,EAC/B,gCAAgC,EAChC,SAAS,EACT,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,MAAM,0BAA0B,GAAkB;IAC9C,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;IAC1C,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE;CAC9C,CAAC;AAQF,MAAM,UAAU,qBAAqB,CAAC,EAClC,KAAK,EAAE,QAAQ,EACf,WAAW,EAAE,cAAc,EAC3B,OAAO,GACmB;IAC1B,MAAM,WAAW,GAAG,oBAAoB,CAAC,gCAAgC,CAAC,CAAC;IAC3E,MAAM,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IAClF,MAAM,KAAK,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAC;IACjC,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IACvB,MAAM,WAAW,GAAG,IAAI,CAAC,aAAa,CAAC;QACnC,EAAE,EAAE,2CAA2C;KAClD,CAAC,CAAC;IAEH,MAAM,QAAQ,GAAG,oBAAoB,EAAE,CAAC;IACxC,MAAM,WAAW,GAAG,WAAW,CAC3B,CAAC,KAAa,EAAE,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC,EACtF,CAAC,QAAQ,EAAE,OAAO,CAAC,CACtB,CAAC;IACF,MAAM,iBAAiB,GAAG,WAAW,CACjC,CAAC,WAAmB,EAAE,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC,OAAO,EAAE,EAAE,WAAW,EAAE,EAAE,IAAI,CAAC,CAAC,EAClG,CAAC,QAAQ,EAAE,OAAO,CAAC,CACtB,CAAC;IAEF,MAAM,cAAc,GAAG,WAAW,CAAC,GAAG,EAAE;QACpC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC;IAClD,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IAExB,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,EAAE;QAClC,QAAQ,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC,CAAC;IAC7C,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,aAAa,GAAG,WAAW,CAC7B,CAAC,KAAa,EAAE,EAAE;QACd,WAAW,CAAC,KAAK,CAAC,CAAC;QACnB,YAAY,EAAE,CAAC;IACnB,CAAC,EACD,CAAC,WAAW,EAAE,YAAY,CAAC,CAC9B,CAAC;IAEF,MAAM,mBAAmB,GAAG,WAAW,CACnC,CAAC,WAAmB,EAAE,EAAE;QACpB,iBAAiB,CAAC,WAAW,CAAC,CAAC;QAC/B,YAAY,EAAE,CAAC;IACnB,CAAC,EACD,CAAC,iBAAiB,EAAE,YAAY,CAAC,CACpC,CAAC;IAEF,MAAM,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAClE,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IAE/D,MAAM,kBAAkB,GAAG,WAAW,CAAC,GAAG,EAAE;QACxC,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACrB,cAAc,EAAE,CAAC;YACjB,oBAAoB,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC;IACL,CAAC,EAAE,CAAC,iBAAiB,EAAE,cAAc,CAAC,CAAC,CAAC;IAExC,MAAM,iBAAiB,GAAG,WAAW,CAAC,GAAG,EAAE;QACvC,iBAAiB,CAAC,aAAa,CAAC,CAAC;QACjC,YAAY,EAAE,CAAC;QACf,oBAAoB,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC,EAAE,CAAC,iBAAiB,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC;IAErD,MAAM,gBAAgB,GAAG,WAAW,CAAC,CAAC,KAAa,EAAE,EAAE;QACnD,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,SAAS,CAAC,GAAG,EAAE;QACX,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,sBAAsB,GAAG,0BAA0B,CAAC,OAAO,CAAC,CAAC;IAEnE,OAAO,CACH,6BAAK,SAAS,EAAC,oBAAoB;QAC/B,6BAAK,SAAS,EAAC,yDAAyD;YACpE,oBAAC,uBAAuB,IACpB,SAAS,EAAE,gBAAgB,sBAAsB,oDAAoD,EACrG,OAAO,EAAE,EAAE,EACX,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,SAAS,EAAE,gBAAgB,EAC3B,YAAY,EAAE,0BAA0B,EACxC,kBAAkB,EAAE,IAAI,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,qCAAqC,EAAE,CAAC,EACrF,OAAO,EAAE,iBAAiB,sBAAsB,EAAE,EAClD,QAAQ,EAAE,aAAa,EACvB,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,YAAY,GACxB,CACA;QACN,6BAAK,SAAS,EAAC,+DAA+D,IACzE,WAAW,CAAC,CAAC,CAAC,CACX,6BACI,SAAS,EAAE,EAAE,CAAC,iEAAiE,EAAE;gBAC7E,YAAY,EAAE,iBAAiB;aAClC,CAAC,EACF,OAAO,EAAE,kBAAkB,EAC3B,MAAM,EAAE,iBAAiB;YAEzB,oBAAC,mBAAmB,IAChB,KAAK,EAAE,aAAa,EACpB,UAAU,EAAE,iBAAiB,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAC/C,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,EAAE,EACZ,eAAe,EAAE,WAAW,EAC5B,YAAY,EACR,6BAAK,SAAS,EAAC,kCAAkC,IAAE,WAAW,CAAO,EAEzE,WAAW,EAAE,iBAAiB,EAC9B,kBAAkB,EAAE,0BAA0B,GAChD,CACA,CACT,CAAC,CAAC,CAAC,CACA,oBAAC,uBAAuB,IACpB,SAAS,EAAE,sBAAsB,sBAAsB,mDAAmD,EAC1G,OAAO,EAAE,uBAAuB,sBAAsB,EAAE,EACxD,OAAO,EAAE,EAAE,EACX,KAAK,EAAE,WAAW,IAAI,EAAE,EACxB,SAAS,EAAE,sBAAsB,EACjC,YAAY,EAAE,gCAAgC,EAC9C,kBAAkB,EAAE,WAAW,EAC/B,QAAQ,EAAE,mBAAmB,EAC7B,cAAc,EAAE,cAAc,EAC9B,QAAQ,EAAE,YAAY,GACxB,CACL,CACC,CACJ,CACT,CAAC;AACN,CAAC"}
|
package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { CSSProperties, MouseEventHandler } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { IDashboardLayoutSizeByScreenSize } from "@gooddata/sdk-model";
|
|
3
3
|
export type LayoutElementType = "root" | "nested" | "section" | "item";
|
|
4
4
|
export interface IGridLayoutElementProps {
|
|
5
5
|
/**
|
|
@@ -18,18 +18,10 @@ export interface IGridLayoutElementProps {
|
|
|
18
18
|
* Optional style set on the element, used for quick hiding of the element from layout.
|
|
19
19
|
*/
|
|
20
20
|
style?: CSSProperties | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* The current scree size.
|
|
23
|
-
*/
|
|
24
|
-
screen: ScreenSize;
|
|
25
21
|
/**
|
|
26
22
|
* The sizes of the grid element per each supported screen size.
|
|
27
23
|
*/
|
|
28
24
|
layoutItemSize?: IDashboardLayoutSizeByScreenSize;
|
|
29
|
-
/**
|
|
30
|
-
* Enable to render debugging information about the element.
|
|
31
|
-
*/
|
|
32
|
-
debug?: boolean;
|
|
33
25
|
/**
|
|
34
26
|
* Callback called when mouse leave the element.
|
|
35
27
|
*/
|
package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridLayoutElement.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"GridLayoutElement.d.ts","sourceRoot":"","sources":["../../../../src/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,iBAAiB,EAAc,MAAM,OAAO,CAAC;AAE5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,qBAAqB,CAAC;AAMvE,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAgBvE,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,cAAc,CAAC,EAAE,gCAAgC,CAAC;IAClD;;OAEG;IACH,YAAY,CAAC,EAAE,iBAAiB,CAAC;CACpC;AAED,eAAO,MAAM,iBAAiB,gGAgB7B,CAAC"}
|