@gooddata/sdk-ui-dashboard 10.19.0-alpha.9 → 10.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/automation/index.d.ts +1 -0
- package/esm/_staging/automation/index.d.ts.map +1 -1
- package/esm/_staging/automation/index.js +14 -1
- package/esm/_staging/automation/index.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts +81 -0
- package/esm/_staging/dashboard/flexibleLayout/builder/interfaces.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts +4 -3
- package/esm/_staging/dashboard/flexibleLayout/builder/item.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/item.js +12 -4
- package/esm/_staging/dashboard/flexibleLayout/builder/item.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts +14 -10
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.js +160 -50
- package/esm/_staging/dashboard/flexibleLayout/builder/layout.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts +0 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/section.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/builder/section.js +1 -5
- package/esm/_staging/dashboard/flexibleLayout/builder/section.js.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts +2 -1
- package/esm/_staging/dashboard/flexibleLayout/facade/interfaces.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts +2 -1
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.d.ts.map +1 -1
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.js +18 -2
- package/esm/_staging/dashboard/flexibleLayout/facade/layout.js.map +1 -1
- package/esm/_staging/layout/coordinates.d.ts +1 -1
- package/esm/_staging/layout/coordinates.d.ts.map +1 -1
- package/esm/_staging/layout/coordinates.js +4 -5
- package/esm/_staging/layout/coordinates.js.map +1 -1
- package/esm/_staging/layout/sizing.d.ts +16 -7
- package/esm/_staging/layout/sizing.d.ts.map +1 -1
- package/esm/_staging/layout/sizing.js +108 -57
- package/esm/_staging/layout/sizing.js.map +1 -1
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/addLayoutSectionHandler.js +6 -2
- 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 +3 -1
- package/esm/model/commandHandlers/layout/addSectionItemsHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts +10 -0
- package/esm/model/commandHandlers/layout/containerHeightSanitization.d.ts.map +1 -0
- package/esm/model/commandHandlers/layout/containerHeightSanitization.js +82 -0
- package/esm/model/commandHandlers/layout/containerHeightSanitization.js.map +1 -0
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/moveLayoutSectionHandler.js +5 -2
- 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 +5 -2
- 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 +6 -3
- 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 +4 -2
- package/esm/model/commandHandlers/layout/removeLayoutSectionHandler.js.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/layout/removeSectionItemHandler.js +4 -1
- 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 +3 -1
- 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 +15 -10
- 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 +10 -6
- package/esm/model/commandHandlers/layout/resizeWidthHandler.js.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.d.ts.map +1 -1
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js +60 -15
- package/esm/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.js.map +1 -1
- package/esm/model/events/index.d.ts +4 -4
- package/esm/model/events/index.d.ts.map +1 -1
- package/esm/model/events/index.js +1 -1
- package/esm/model/events/index.js.map +1 -1
- package/esm/model/index.d.ts +1 -1
- package/esm/model/index.d.ts.map +1 -1
- package/esm/model/index.js +1 -1
- package/esm/model/index.js.map +1 -1
- package/esm/model/react/useDashboardCommand.d.ts +1 -1
- package/esm/model/react/useDashboardCommand.d.ts.map +1 -1
- package/esm/model/react/useDashboardCommandProcessing.d.ts +4 -0
- package/esm/model/react/useDashboardCommandProcessing.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.d.ts +7 -3
- package/esm/model/store/config/configSelectors.d.ts.map +1 -1
- package/esm/model/store/config/configSelectors.js +10 -4
- package/esm/model/store/config/configSelectors.js.map +1 -1
- package/esm/model/store/index.d.ts +1 -1
- package/esm/model/store/index.d.ts.map +1 -1
- package/esm/model/store/index.js +1 -1
- package/esm/model/store/index.js.map +1 -1
- package/esm/model/store/layout/index.d.ts +6 -0
- package/esm/model/store/layout/index.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.d.ts +5 -1
- package/esm/model/store/layout/layoutReducers.d.ts.map +1 -1
- package/esm/model/store/layout/layoutReducers.js +19 -0
- package/esm/model/store/layout/layoutReducers.js.map +1 -1
- package/esm/model/store/layout/layoutSelectors.d.ts.map +1 -1
- package/esm/model/store/layout/layoutSelectors.js +29 -15
- package/esm/model/store/layout/layoutSelectors.js.map +1 -1
- package/esm/model/types/commonTypes.d.ts +33 -4
- package/esm/model/types/commonTypes.d.ts.map +1 -1
- package/esm/model/types/commonTypes.js.map +1 -1
- package/esm/model/types/layoutTypes.d.ts +10 -0
- package/esm/model/types/layoutTypes.d.ts.map +1 -1
- package/esm/model/types/layoutTypes.js +1 -1
- package/esm/model/types/layoutTypes.js.map +1 -1
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.d.ts +5 -2
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.d.ts.map +1 -1
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.js +40 -19
- package/esm/plugins/customizationApis/fluidLayoutCustomizer.js.map +1 -1
- package/esm/plugins/customizer.d.ts +34 -1
- package/esm/plugins/customizer.d.ts.map +1 -1
- package/esm/presentation/dragAndDrop/types.d.ts +1 -0
- package/esm/presentation/dragAndDrop/types.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.d.ts.map +1 -1
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js +15 -3
- package/esm/presentation/filterBar/attributeFilter/DefaultDashboardAttributeFilter.js.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DashboardLayoutWidget.js +12 -6
- 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 +5 -4
- 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 +5 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutEditSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js +3 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRow.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +5 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js +3 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItem.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js +3 -3
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js +2 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutItemViewRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js +5 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSection.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js +5 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js +2 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/DashboardLayoutViewSectionHeaderRenderer.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js +2 -2
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/EditableHeader/SectionHeaderEditable.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js +8 -7
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/GridLayoutElement.js.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts +8 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/interfaces.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.d.ts +7 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.d.ts.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.js +18 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/useItemWidthValidation.js.map +1 -0
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +0 -9
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -33
- package/esm/presentation/flexibleLayout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts +0 -12
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js +2 -4
- package/esm/presentation/flexibleLayout/dragAndDrop/DragLayerPreview/WidthResizerDragPreview.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +4 -3
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js +9 -7
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts +2 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js +7 -7
- package/esm/presentation/flexibleLayout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts +3 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js +13 -5
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/EmptyNestedLayoutDropZone.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js +2 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/RowEndHotspot.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js +4 -3
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZone.js.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts +1 -0
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.d.ts.map +1 -1
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js +17 -4
- package/esm/presentation/flexibleLayout/dragAndDrop/draggableWidget/WidgetDropZoneBox.js.map +1 -1
- package/esm/presentation/layout/DashboardLayoutWidget.js +2 -2
- package/esm/presentation/layout/DashboardLayoutWidget.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js +4 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/DashboardLayoutGridRowEdit.js.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts +0 -8
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.d.ts.map +1 -1
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js +2 -2
- package/esm/presentation/layout/DefaultDashboardLayoutRenderer/utils/sizing.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts +4 -3
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js +9 -7
- package/esm/presentation/layout/dragAndDrop/Resize/HeightResizerHotspot.js.map +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.d.ts.map +1 -1
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js +3 -2
- package/esm/presentation/layout/dragAndDrop/Resize/WidthResizerHotspot.js.map +1 -1
- package/esm/presentation/localization/bundles/de-DE.json +5 -1
- package/esm/presentation/localization/bundles/en-AU.json +5 -1
- package/esm/presentation/localization/bundles/en-GB.json +5 -1
- package/esm/presentation/localization/bundles/en-US.json +20 -0
- package/esm/presentation/localization/bundles/es-419.json +5 -1
- package/esm/presentation/localization/bundles/es-ES.json +5 -1
- package/esm/presentation/localization/bundles/fi-FI.json +5 -1
- package/esm/presentation/localization/bundles/fr-CA.json +5 -1
- package/esm/presentation/localization/bundles/fr-FR.json +5 -1
- package/esm/presentation/localization/bundles/it-IT.json +5 -1
- package/esm/presentation/localization/bundles/ja-JP.json +5 -1
- package/esm/presentation/localization/bundles/nl-NL.json +5 -1
- package/esm/presentation/localization/bundles/pt-BR.json +5 -1
- package/esm/presentation/localization/bundles/pt-PT.json +5 -1
- package/esm/presentation/localization/bundles/zh-HK.json +5 -1
- package/esm/presentation/localization/bundles/zh-Hans.json +5 -1
- package/esm/presentation/localization/bundles/zh-Hant.json +5 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts +1 -0
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.d.ts.map +1 -1
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js +5 -4
- package/esm/presentation/presentationComponents/DashboardItems/DashboardItem.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js +2 -2
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/DefaultScheduledEmailDialog.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts +8 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js +10 -24
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelect.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts +8 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +51 -22
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts +2 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.d.ts.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js +13 -4
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/hooks/useEditScheduledEmail.js.map +1 -1
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.d.ts +5 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.d.ts.map +1 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.js +35 -0
- package/esm/presentation/scheduledEmail/DefaultScheduledEmailDialog/utils/users.js.map +1 -0
- package/esm/presentation/widget/common/useWidgetHighlighting.d.ts +7 -0
- package/esm/presentation/widget/common/useWidgetHighlighting.d.ts.map +1 -0
- package/esm/presentation/widget/common/useWidgetHighlighting.js +66 -0
- package/esm/presentation/widget/common/useWidgetHighlighting.js.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.d.ts +4 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js +2 -4
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/AlertAttributeSelect.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js +15 -5
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/EditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.d.ts +2 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js +54 -3
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useAttributeValuesFromExecResults.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts +2 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.d.ts.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js +41 -33
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useEditAlert.js.map +1 -1
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.d.ts +11 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.d.ts.map +1 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.js +40 -0
- package/esm/presentation/widget/insight/configuration/InsightAlertConfig/hooks/useThresholdValue.js.map +1 -0
- package/esm/presentation/widget/widget/DefaultDashboardWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js +32 -36
- package/esm/presentation/widget/widget/DefaultDashboardWidget.js.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js +6 -22
- package/esm/presentation/widget/widget/InsightWidget/DefaultDashboardInsightWidget.js.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/DefaultDashboardRichTextWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/RichTextWidget/DefaultDashboardRichTextWidget.js +6 -2
- package/esm/presentation/widget/widget/RichTextWidget/DefaultDashboardRichTextWidget.js.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.d.ts.map +1 -1
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js +6 -2
- package/esm/presentation/widget/widget/VisualizationSwitcherWidget/DefaultDashboardVisualizationSwitcherWidget.js.map +1 -1
- package/esm/presentation/widget/widget/types.d.ts +10 -0
- package/esm/presentation/widget/widget/types.d.ts.map +1 -1
- package/esm/sdk-ui-dashboard.d.ts +173 -15
- package/package.json +15 -15
- package/styles/css/dashboard.css +21 -7
- package/styles/css/dashboard.css.map +1 -1
- package/styles/css/dashboardNestedLayoutWidget.css +3 -0
- package/styles/css/dashboardNestedLayoutWidget.css.map +1 -1
- package/styles/css/dragAndDrop.css +10 -0
- package/styles/css/dragAndDrop.css.map +1 -1
- package/styles/css/export.css +10 -4
- package/styles/css/export.css.map +1 -1
- package/styles/css/layout.css +4 -0
- package/styles/css/layout.css.map +1 -1
- package/styles/css/main.css +46 -13
- package/styles/css/main.css.map +1 -1
- package/styles/css/resizing.css +2 -2
- package/styles/css/scheduled_mail_recipients.css +14 -4
- package/styles/css/scheduled_mail_recipients.css.map +1 -1
- package/styles/scss/_zIndexes.scss +2 -0
- package/styles/scss/dashboard.scss +3 -3
- package/styles/scss/dashboardNestedLayoutWidget.scss +4 -0
- package/styles/scss/dragAndDrop.scss +14 -0
- package/styles/scss/export.scss +23 -4
- package/styles/scss/layout.scss +6 -0
- package/styles/scss/resizing.scss +2 -2
- package/styles/scss/scheduled_mail_recipients.scss +5 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { put, select } from "redux-saga/effects";
|
|
1
|
+
import { put, select, call } from "redux-saga/effects";
|
|
2
2
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
3
3
|
import { selectLayout } from "../../store/layout/layoutSelectors.js";
|
|
4
4
|
import { layoutActions } from "../../store/layout/index.js";
|
|
5
5
|
import { layoutSectionMoved } from "../../events/layout.js";
|
|
6
6
|
import { resolveRelativeIndex } from "../../utils/arrayOps.js";
|
|
7
|
-
import { serializeLayoutSectionPath, findSections, getSectionIndex, areLayoutPathsEqual, updateSectionIndex, findSection, } from "../../../_staging/layout/coordinates.js";
|
|
7
|
+
import { serializeLayoutSectionPath, findSections, getSectionIndex, areLayoutPathsEqual, updateSectionIndex, findSection, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
8
8
|
import { validateSectionExists, validateSectionPlacement } from "./validation/layoutValidation.js";
|
|
9
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
9
10
|
function validateAndResolve(commandCtx) {
|
|
10
11
|
const { ctx, cmd: { payload: { sectionIndex, toIndex }, }, layout, } = commandCtx;
|
|
11
12
|
if (typeof sectionIndex === "number" && typeof toIndex === "number") {
|
|
@@ -67,6 +68,8 @@ export function* moveLayoutSectionHandler(ctx, cmd) {
|
|
|
67
68
|
cmd,
|
|
68
69
|
},
|
|
69
70
|
}));
|
|
71
|
+
yield call(resizeParentContainers, getParentPath(sourceSection));
|
|
72
|
+
yield call(resizeParentContainers, getParentPath(toSectionPath));
|
|
70
73
|
return layoutSectionMoved(ctx, movedSection, typeof sectionIndex === "number" ? sectionIndex : getSectionIndex(sourceSection), typeof toIndex === "number" ? absoluteIndex : getSectionIndex(toSectionPath), sourceSection, toSectionPath, cmd.correlationId);
|
|
71
74
|
}
|
|
72
75
|
//# sourceMappingURL=moveLayoutSectionHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveLayoutSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveLayoutSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"moveLayoutSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers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AAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;IAEjE,OAAO,kBAAkB,CACrB,GAAG,EACH,YAAY,EACZ,OAAO,YAAY,KAAK,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,aAAa,CAAC,EAChF,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,aAAa,CAAC,EAC5E,aAAa,EACb,aAAa,EACb,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,+BAA+B,EAA0B,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"moveSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAI1D,OAAO,EAAE,+BAA+B,EAA0B,MAAM,wBAAwB,CAAC;AA+LjG,wBAAiB,sBAAsB,CACnC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,eAAe,GACrB,YAAY,CAAC,+BAA+B,CAAC,CAuF/C"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { batchActions } from "redux-batched-actions";
|
|
2
|
-
import { put, select } from "redux-saga/effects";
|
|
2
|
+
import { put, select, call } from "redux-saga/effects";
|
|
3
3
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
4
4
|
import { selectLayout, selectScreen } from "../../store/layout/layoutSelectors.js";
|
|
5
5
|
import { layoutActions } from "../../store/layout/index.js";
|
|
6
6
|
import { layoutSectionItemMoved } from "../../events/layout.js";
|
|
7
7
|
import { resolveIndexOfNewItem, resolveRelativeIndex } from "../../utils/arrayOps.js";
|
|
8
|
-
import { findItem, serializeLayoutItemPath, findSections, findSection, getItemIndex, updateItem, getSectionIndex, areItemsInSameSection, asSectionPath, } from "../../../_staging/layout/coordinates.js";
|
|
8
|
+
import { findItem, serializeLayoutItemPath, findSections, findSection, getItemIndex, updateItem, getSectionIndex, areItemsInSameSection, asSectionPath, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
9
9
|
import { validateItemExists, validateItemPlacement, validateSectionExists, validateSectionPlacement, } from "./validation/layoutValidation.js";
|
|
10
10
|
import { selectSettings } from "../../store/config/configSelectors.js";
|
|
11
11
|
import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
|
|
12
12
|
import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
|
|
13
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
13
14
|
function validateAndResolve(commandCtx) {
|
|
14
15
|
const { ctx, layout, cmd: { payload: { sectionIndex, toSectionIndex, toItemIndex, itemIndex, fromPath, toPath, removeOriginalSectionIfEmpty, }, }, } = commandCtx;
|
|
15
16
|
if (fromPath === undefined && toPath === undefined) {
|
|
@@ -131,6 +132,8 @@ export function* moveSectionItemHandler(ctx, cmd) {
|
|
|
131
132
|
]
|
|
132
133
|
: []),
|
|
133
134
|
]));
|
|
135
|
+
yield call(resizeParentContainers, getParentPath(fromPath));
|
|
136
|
+
yield call(resizeParentContainers, getParentPath(targetIndex));
|
|
134
137
|
const targetSectionIndexUpdated = targetSectionIndex === undefined
|
|
135
138
|
? getSectionIndex(targetIndex)
|
|
136
139
|
: shouldRemoveSection && sectionIndex < targetSectionIndex
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAkB,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"moveSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAkB,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAIvE,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAmC,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AACjG,OAAO,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EACH,QAAQ,EACR,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,aAAa,GAChB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EACH,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,GAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AACvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAC/E,OAAO,EAAE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;IAE/D,MAAM,yBAAyB,GAC3B,kBAAkB,KAAK,SAAS;QAC5B,CAAC,CAAC,eAAe,CAAC,WAAW,CAAC;QAC9B,CAAC,CAAC,mBAAmB,IAAI,YAAY,GAAG,kBAAkB;YAC1D,CAAC,CAAC,YAAY,GAAG,CAAC;YAClB,CAAC,CAAC,kBAAkB,CAAC;IAE7B,OAAO,sBAAsB,CACzB,GAAG,EACH,sBAAsB,EACtB,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,eAAe,CAAC,QAAQ,CAAC,EACjE,yBAAyB,EACzB,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,EAC3D,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,EACvE,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,WAAW,KAAK,SAAS;QACrB,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,yBAA0B,EAAE,SAAS,EAAE,WAAY,EAAE,CAAC;QACzE,CAAC,CAAC,WAAW,EACjB,mBAAmB,EACnB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveSectionItemToNewSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EACH,2CAA2C,EAE9C,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"moveSectionItemToNewSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EACH,2CAA2C,EAE9C,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAoK9D,wBAAiB,kCAAkC,CAC/C,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,2BAA2B,GACjC,YAAY,CAAC,2CAA2C,CAAC,CA2G3D"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
// (C) 2021-
|
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
|
2
2
|
import { batchActions } from "redux-batched-actions";
|
|
3
|
-
import { put, select } from "redux-saga/effects";
|
|
3
|
+
import { put, select, call } from "redux-saga/effects";
|
|
4
4
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
5
5
|
import { layoutSectionItemMovedToNewSection, } from "../../events/layout.js";
|
|
6
6
|
import { layoutActions } from "../../store/layout/index.js";
|
|
7
7
|
import { selectLayout, selectScreen } from "../../store/layout/layoutSelectors.js";
|
|
8
8
|
import { validateItemExists, validateSectionExists, validateSectionPlacement, } from "./validation/layoutValidation.js";
|
|
9
|
-
import { serializeLayoutItemPath, serializeLayoutSectionPath, findSection, findItem, asSectionPath, asLayoutItemPath, getSectionIndex, getItemIndex, } from "../../../_staging/layout/coordinates.js";
|
|
9
|
+
import { serializeLayoutItemPath, serializeLayoutSectionPath, findSection, findItem, asSectionPath, asLayoutItemPath, getSectionIndex, getItemIndex, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
10
10
|
import { selectSettings } from "../../store/config/configSelectors.js";
|
|
11
11
|
import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
|
|
12
12
|
import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
|
|
13
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
13
14
|
function validateAndResolve(commandCtx) {
|
|
14
15
|
const { ctx, layout, cmd: { payload: { itemPath, sectionIndex, itemIndex, toSectionIndex, toSection, removeOriginalSectionIfEmpty, }, }, } = commandCtx;
|
|
15
16
|
if (itemPath === undefined && toSection === undefined) {
|
|
@@ -147,6 +148,8 @@ export function* moveSectionItemToNewSectionHandler(ctx, cmd) {
|
|
|
147
148
|
]
|
|
148
149
|
: []),
|
|
149
150
|
]));
|
|
151
|
+
yield call(resizeParentContainers, getParentPath(itemPath));
|
|
152
|
+
yield call(resizeParentContainers, getParentPath(toItemIndex));
|
|
150
153
|
return layoutSectionItemMovedToNewSection(ctx, itemWithNormalizedSize, itemPath === undefined ? sectionIndex : getSectionIndex(itemPath), targetSectionIndex === undefined ? getSectionIndex(toItemIndex) : targetSectionIndex, itemPath === undefined ? itemIndex : getItemIndex(itemPath), targetItemIndex === undefined ? getItemIndex(toItemIndex) : targetItemIndex, itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath, toItemIndex === undefined
|
|
151
154
|
? [{ sectionIndex: targetSectionIndex, itemIndex: targetItemIndex }]
|
|
152
155
|
: toItemIndex, shouldRemoveSection, cmd.correlationId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"moveSectionItemToNewSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAAkB,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"moveSectionItemToNewSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/moveSectionItemToNewSectionHandler.ts"],"names":[],"mappings":"AAAA,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,CAAC,YAAY,CAAC,QAAQ,CAAC,EAC3D,eAAe,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,eAAe,EAC3E,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,WAAW,KAAK,SAAS;QACrB,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,kBAAkB,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;QACpE,CAAC,CAAC,WAAW,EACjB,mBAAmB,EACnB,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAK9D,OAAO,EAAE,6BAA6B,EAAwB,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"removeLayoutSectionHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAK9D,OAAO,EAAE,6BAA6B,EAAwB,MAAM,wBAAwB,CAAC;AAY7F,wBAAiB,0BAA0B,CACvC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,mBAAmB,GACzB,YAAY,CAAC,6BAA6B,CAAC,CA4D7C"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
2
2
|
import { selectLayout } from "../../store/layout/layoutSelectors.js";
|
|
3
|
-
import { put, select } from "redux-saga/effects";
|
|
3
|
+
import { put, select, call } from "redux-saga/effects";
|
|
4
4
|
import { layoutActions } from "../../store/layout/index.js";
|
|
5
5
|
import { layoutSectionRemoved } from "../../events/layout.js";
|
|
6
6
|
import isEmpty from "lodash/isEmpty.js";
|
|
7
7
|
import { validateSectionExists } from "./validation/layoutValidation.js";
|
|
8
8
|
import { resolveRelativeIndex } from "../../utils/arrayOps.js";
|
|
9
|
-
import { serializeLayoutSectionPath, findSections, updateSectionIndex, } from "../../../_staging/layout/coordinates.js";
|
|
9
|
+
import { serializeLayoutSectionPath, findSections, updateSectionIndex, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
10
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
10
11
|
export function* removeLayoutSectionHandler(ctx, cmd) {
|
|
11
12
|
const layout = yield select(selectLayout);
|
|
12
13
|
const { index, stashIdentifier } = cmd.payload;
|
|
@@ -39,6 +40,7 @@ export function* removeLayoutSectionHandler(ctx, cmd) {
|
|
|
39
40
|
cmd,
|
|
40
41
|
},
|
|
41
42
|
}));
|
|
43
|
+
yield call(resizeParentContainers, getParentPath(targetSection));
|
|
42
44
|
return layoutSectionRemoved(ctx, section, absoluteIndex, targetSection, false, stashIdentifier, cmd.correlationId);
|
|
43
45
|
}
|
|
44
46
|
//# sourceMappingURL=removeLayoutSectionHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeLayoutSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"removeLayoutSectionHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeLayoutSectionHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAiC,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC7F,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACH,0BAA0B,EAC1B,YAAY,EACZ,kBAAkB,EAClB,aAAa,GAChB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAE1E,MAAM,SAAS,CAAC,CAAC,0BAA0B,CACvC,GAAqB,EACrB,GAAwB;IAExB,MAAM,MAAM,GAAoC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC;IAC3E,MAAM,EAAE,KAAK,EAAE,eAAe,EAAE,GAAG,GAAG,CAAC,OAAO,CAAC;IAC/C,MAAM,eAAe,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC;IAClD,MAAM,QAAQ,GAAG,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAEjF,IAAI,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpB,MAAM,wBAAwB,CAAC,GAAG,EAAE,GAAG,EAAE,sDAAsD,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d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAG1F,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;
|
|
1
|
+
{"version":3,"file":"removeSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAG1F,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAiBrE,KAAK,wBAAwB,GAAG;IAC5B,QAAQ,CAAC,GAAG,EAAE,gBAAgB,CAAC;IAC/B,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC9C,WAAW,EAAE,iBAAiB,GAAG,4BAA4B,CAAC;IAC9D,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACpD,CAAC;AAoEF,wBAAiB,wBAAwB,CAAC,GAAG,EAAE,gBAAgB,EAAE,GAAG,EAAE,iBAAiB,GAAG,YAAY,CAAC,IAAI,CAAC,CAE3G;AAED,wBAAiB,qBAAqB,CAClC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,iBAAiB,GAAG,wBAAwB,CAAC,KAAK,CAAC,EACxD,WAAW,GAAE,4BAAyC,GACvD,YAAY,CAAC,IAAI,CAAC,CA+EpB"}
|
|
@@ -4,8 +4,9 @@ import { invalidArgumentsProvided } from "../../events/general.js";
|
|
|
4
4
|
import { selectLayout } from "../../store/layout/layoutSelectors.js";
|
|
5
5
|
import { layoutSectionItemRemoved, layoutSectionRemoved } from "../../events/layout.js";
|
|
6
6
|
import { layoutActions } from "../../store/layout/index.js";
|
|
7
|
-
import { findSection, serializeLayoutItemPath, findItem, asSectionPath, getItemIndex, getSectionIndex, } from "../../../_staging/layout/coordinates.js";
|
|
7
|
+
import { findSection, serializeLayoutItemPath, findItem, asSectionPath, getItemIndex, getSectionIndex, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
8
8
|
import { validateItemExists, validateSectionExists } from "./validation/layoutValidation.js";
|
|
9
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
9
10
|
function validateAndResolve(commandCtx) {
|
|
10
11
|
const { ctx, cmd: { payload: { itemIndex, sectionIndex, itemPath }, }, layout, } = commandCtx;
|
|
11
12
|
if (itemPath === undefined) {
|
|
@@ -64,6 +65,7 @@ export function* removeSectionItemSaga(ctx, cmd, originalCmd = cmd) {
|
|
|
64
65
|
items: [],
|
|
65
66
|
};
|
|
66
67
|
yield dispatchDashboardEvent(layoutSectionItemRemoved(ctx, itemToRemove, itemPath === undefined ? itemIndex : getItemIndex(itemPath), itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath, sectionWithEmptyItems, stashIdentifier, cmd.correlationId));
|
|
68
|
+
yield call(resizeParentContainers, getParentPath(itemPath));
|
|
67
69
|
yield dispatchDashboardEvent(layoutSectionRemoved(ctx, sectionWithEmptyItems, itemPath === undefined ? sectionIndex : getSectionIndex(itemPath), itemPath === undefined ? { parent: undefined, sectionIndex } : asSectionPath(itemPath), true, undefined, cmd.correlationId));
|
|
68
70
|
}
|
|
69
71
|
else {
|
|
@@ -74,6 +76,7 @@ export function* removeSectionItemSaga(ctx, cmd, originalCmd = cmd) {
|
|
|
74
76
|
cmd: originalCmd,
|
|
75
77
|
},
|
|
76
78
|
}));
|
|
79
|
+
yield call(resizeParentContainers, getParentPath(itemPath));
|
|
77
80
|
yield dispatchDashboardEvent(layoutSectionItemRemoved(ctx, itemToRemove, itemPath === undefined ? itemIndex : getItemIndex(itemPath), itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath, undefined, stashIdentifier, cmd.correlationId));
|
|
78
81
|
}
|
|
79
82
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"removeSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,OAAO,EACH,WAAW,EACX,uBAAuB,EACvB,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,eAAe,
|
|
1
|
+
{"version":3,"file":"removeSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/removeSectionItemHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACxF,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE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,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ;YAC5E,eAAe;YACf,IAAI,EAAE;gBACF,GAAG,EAAE,WAAW;aACnB;SACJ,CAAC,CACL,CAAC;QAEF,MAAM,IAAI,CAAC,sBAAsB,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC;QAE5D,MAAM,sBAAsB,CACxB,wBAAwB,CACpB,GAAG,EACH,YAAY,EACZ,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,QAAQ,CAAC,EAC3D,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EACjE,SAAS,EACT,eAAe,EACf,GAAG,CAAC,aAAa,CACpB,CACJ,CAAC;IACN,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replaceSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAQ7D,OAAO,EAAE,kCAAkC,EAA6B,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"replaceSectionItemHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAQ7D,OAAO,EAAE,kCAAkC,EAA6B,MAAM,wBAAwB,CAAC;AAqHvG,wBAAiB,yBAAyB,CACtC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,kBAAkB,GACxB,YAAY,CAAC,kCAAkC,CAAC,CAsElD"}
|
|
@@ -10,9 +10,10 @@ import { validateAndNormalizeWidgetItems, validateAndResolveItemFilterSettings,
|
|
|
10
10
|
import { batchActions } from "redux-batched-actions";
|
|
11
11
|
import { insightsActions } from "../../store/insights/index.js";
|
|
12
12
|
import { addTemporaryIdentityToWidgets } from "../../utils/dashboardItemUtils.js";
|
|
13
|
-
import { serializeLayoutItemPath, findSection, findItem, getSectionIndex, getItemIndex, } from "../../../_staging/layout/coordinates.js";
|
|
13
|
+
import { serializeLayoutItemPath, findSection, findItem, getSectionIndex, getItemIndex, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
14
14
|
import { normalizeItemSizeToParent } from "../../../_staging/layout/sizing.js";
|
|
15
15
|
import { selectSettings } from "../../store/config/configSelectors.js";
|
|
16
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
16
17
|
function validateAndResolve(commandCtx) {
|
|
17
18
|
const { ctx, cmd: { payload: { itemPath, itemIndex, sectionIndex }, }, items, layout, stash, } = commandCtx;
|
|
18
19
|
if (itemPath === undefined) {
|
|
@@ -79,6 +80,7 @@ export function* replaceSectionItemHandler(ctx, cmd) {
|
|
|
79
80
|
},
|
|
80
81
|
}),
|
|
81
82
|
]));
|
|
83
|
+
yield call(resizeParentContainers, getParentPath(layoutPath));
|
|
82
84
|
return layoutSectionItemReplaced(ctx, sectionIndex === undefined ? getSectionIndex(layoutPath) : sectionIndex, itemIndex === undefined ? getItemIndex(layoutPath) : itemIndex, layoutPath, [itemWithNormalizedSize], itemToReplace, stashIdentifier, cmd.correlationId);
|
|
83
85
|
}
|
|
84
86
|
//# sourceMappingURL=replaceSectionItemHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replaceSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAChG,OAAO,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACjF,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAsC,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AACvG,OAAO,EACH,+BAA+B,EAC/B,oCAAoC,GACvC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,6BAA6B,EAAE,MAAM,mCAAmC,CAAC;AAClF,OAAO,EACH,uBAAuB,EACvB,WAAW,EACX,QAAQ,EACR,eAAe,EACf,YAAY,
|
|
1
|
+
{"version":3,"file":"replaceSectionItemHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/replaceSectionItemHandler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAChG,OAAO,EAAE,IAAI,EAAE,GAAG,EAAkB,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;A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,QAAQ,CAAC;IAErF,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,GAAG,yBAAyB,CAC9D,UAAU,CAAC,CAAC,CAAC,EACb,UAAU,EACV,UAAU,CAAC,MAAM,EACjB,QAAQ,EACR,mBAAmB,CAAC,gBAAgB,CAAC,QAAQ,EAC7C,MAAM,CACT,CAAC;IAEF,MAAM,GAAG,CACL,YAAY,CAAC;QACT,eAAe,CAAC,WAAW,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,MAAM,CAAC;QACxE,aAAa,CAAC,kBAAkB,CAAC;YAC7B,UAAU;YACV,QAAQ,EAAE,CAAC,sBAAsB,CAAC;YAClC,eAAe;YACf,WAAW,EAAE,qBAAqB,CAAC,QAAQ;YAC3C,IAAI,EAAE;gBACF,GAAG;aACN;SACJ,CAAC;KACL,CAAC,CACL,CAAC;IAEF,MAAM,IAAI,CAAC,sBAAsB,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;IAE9D,OAAO,yBAAyB,CAC5B,GAAG,EACH,YAAY,KAAK,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,YAAY,EACvE,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,EAC9D,UAAU,EACV,CAAC,sBAAsB,CAAC,EACxB,aAAa,EACb,eAAe,EACf,GAAG,CAAC,aAAa,CACpB,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizeHeightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeHeightHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resizeHeightHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeHeightHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EACH,wCAAwC,EAE3C,MAAM,wBAAwB,CAAC;AAKhC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAqE9D,wBAAiB,mBAAmB,CAChC,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,YAAY,GAClB,YAAY,CAAC,wCAAwC,CAAC,CAmCxD"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
// (C) 2021-
|
|
2
|
-
import { put, select } from "redux-saga/effects";
|
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
|
2
|
+
import { call, put, select } from "redux-saga/effects";
|
|
3
3
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
4
4
|
import { layoutSectionItemsHeightResized, } from "../../events/layout.js";
|
|
5
5
|
import { getMaxHeight, getMinHeight } from "../../../_staging/layout/sizing.js";
|
|
6
6
|
import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
|
|
7
7
|
import { layoutActions } from "../../store/layout/index.js";
|
|
8
|
-
import { selectLayout } from "../../store/layout/layoutSelectors.js";
|
|
8
|
+
import { selectLayout, selectScreen } from "../../store/layout/layoutSelectors.js";
|
|
9
|
+
import { serializeLayoutSectionPath, findSection, asLayoutItemPath, serializeLayoutItemPath, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
9
10
|
import { validateItemExists, validateSectionExists } from "./validation/layoutValidation.js";
|
|
10
|
-
import {
|
|
11
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
12
|
+
import { selectSettings } from "../../store/config/configSelectors.js";
|
|
11
13
|
function validateLayoutIndexes(ctx, layout, command) {
|
|
12
14
|
const { payload: { sectionIndex, itemIndexes }, } = command;
|
|
13
15
|
if (typeof sectionIndex === "number") {
|
|
@@ -38,8 +40,10 @@ export function* resizeHeightHandler(ctx, cmd) {
|
|
|
38
40
|
const { payload: { sectionIndex, itemIndexes, height }, } = cmd;
|
|
39
41
|
const layout = yield select(selectLayout);
|
|
40
42
|
const insightsMap = yield select(selectInsightsMap);
|
|
43
|
+
const screen = yield select(selectScreen);
|
|
44
|
+
const settings = yield select(selectSettings);
|
|
41
45
|
validateLayoutIndexes(ctx, layout, cmd);
|
|
42
|
-
validateHeight(ctx, layout, insightsMap, cmd);
|
|
46
|
+
validateHeight(ctx, layout, insightsMap, cmd, screen, settings);
|
|
43
47
|
const numericalSectionIndex = typeof sectionIndex === "number" ? sectionIndex : sectionIndex.sectionIndex;
|
|
44
48
|
const sectionPath = typeof sectionIndex === "number" ? { parent: undefined, sectionIndex } : sectionIndex;
|
|
45
49
|
yield put(layoutActions.changeItemsHeight({
|
|
@@ -47,15 +51,16 @@ export function* resizeHeightHandler(ctx, cmd) {
|
|
|
47
51
|
itemIndexes,
|
|
48
52
|
height,
|
|
49
53
|
}));
|
|
54
|
+
yield call(resizeParentContainers, getParentPath(sectionPath));
|
|
50
55
|
return layoutSectionItemsHeightResized(ctx, numericalSectionIndex, sectionPath, itemIndexes, height, cmd.correlationId);
|
|
51
56
|
}
|
|
52
|
-
function validateHeight(ctx, layout, insightsMap, cmd) {
|
|
57
|
+
function validateHeight(ctx, layout, insightsMap, cmd, screen = "xl", settings) {
|
|
53
58
|
const { payload: { sectionIndex, itemIndexes, height }, } = cmd;
|
|
54
59
|
const widgets = itemIndexes.map((itemIndex) => typeof sectionIndex === "number"
|
|
55
|
-
? layout.sections[sectionIndex].items[itemIndex]
|
|
56
|
-
: findSection(layout, sectionIndex).items[itemIndex]
|
|
57
|
-
const minLimit = getMinHeight(widgets, insightsMap);
|
|
58
|
-
const maxLimit = getMaxHeight(widgets, insightsMap);
|
|
60
|
+
? layout.sections[sectionIndex].items[itemIndex]
|
|
61
|
+
: findSection(layout, sectionIndex).items[itemIndex]);
|
|
62
|
+
const minLimit = getMinHeight(widgets, insightsMap, screen, settings);
|
|
63
|
+
const maxLimit = getMaxHeight(widgets, insightsMap, screen, settings);
|
|
59
64
|
const validHeight = height >= minLimit && height <= maxLimit;
|
|
60
65
|
if (!validHeight) {
|
|
61
66
|
throw invalidArgumentsProvided(ctx, cmd, `Attempting to set invalid height. Allowed height is from ${minLimit} to ${maxLimit}.`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizeHeightHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeHeightHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;
|
|
1
|
+
{"version":3,"file":"resizeHeightHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeHeightHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAGrC,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAGvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAEH,+BAA+B,GAClC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAEnF,OAAO,EACH,0BAA0B,EAC1B,WAAW,EACX,gBAAgB,EAChB,uBAAuB,EACvB,aAAa,GAChB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,SAAS,qBAAqB,CAC1B,GAAqB,EACrB,MAAuC,EACvC,OAAqB;IAErB,MAAM,EACF,OAAO,EAAE,EAAE,YAAY,EAAE,WAAW,EAAE,GACzC,GAAG,OAAO,CAAC;IACZ,IAAI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AAiD,EACjD,GAAiB,EACjB,SAA0C,IAAI,EAC9C,QAA2C;IAE3C,MAAM,EACF,OAAO,EAAE,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,EAAE,GACjD,GAAG,GAAG,CAAC;IAER,MAAM,OAAO,GAAG,WAAW,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,CAC1C,OAAO,YAAY,KAAK,QAAQ;QAC5B,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC;QAChD,CAAC,CAAC,WAAW,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAC3D,CAAC;IAEF,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IACtE,MAAM,QAAQ,GAAG,YAAY,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IAEtE,MAAM,WAAW,GAAG,MAAM,IAAI,QAAQ,IAAI,MAAM,IAAI,QAAQ,CAAC;IAE7D,IAAI,CAAC,WAAW,EAAE,CAAC;QACf,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,4DAA4D,QAAQ,OAAO,QAAQ,GAAG,CACzF,CAAC;IACN,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizeWidthHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeWidthHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAOvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EACH,sCAAsC,EAEzC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"resizeWidthHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeWidthHandler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAOvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EACH,sCAAsC,EAEzC,MAAM,wBAAwB,CAAC;AA+DhC,wBAAiB,kBAAkB,CAC/B,GAAG,EAAE,gBAAgB,EACrB,GAAG,EAAE,WAAW,GACjB,YAAY,CAAC,sCAAsC,CAAC,CAgCtD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// (C) 2021-
|
|
2
|
-
import { put, select } from "redux-saga/effects";
|
|
1
|
+
// (C) 2021-2025 GoodData Corporation
|
|
2
|
+
import { put, select, call } from "redux-saga/effects";
|
|
3
3
|
import { invalidArgumentsProvided } from "../../events/general.js";
|
|
4
4
|
import { determineWidthForScreen, getMinWidth } from "../../../_staging/layout/sizing.js";
|
|
5
5
|
import { selectInsightsMap } from "../../store/insights/insightsSelectors.js";
|
|
@@ -8,7 +8,9 @@ import { selectLayout, selectScreen } from "../../store/layout/layoutSelectors.j
|
|
|
8
8
|
import { validateItemExists, validateSectionExists } from "./validation/layoutValidation.js";
|
|
9
9
|
import { layoutSectionItemWidthResized, } from "../../events/layout.js";
|
|
10
10
|
import { DASHBOARD_LAYOUT_GRID_COLUMNS_COUNT } from "../../../_staging/dashboard/flexibleLayout/config.js";
|
|
11
|
-
import { serializeLayoutItemPath, findSection, findItem, getSectionIndex, getItemIndex, } from "../../../_staging/layout/coordinates.js";
|
|
11
|
+
import { serializeLayoutItemPath, findSection, findItem, getSectionIndex, getItemIndex, getParentPath, } from "../../../_staging/layout/coordinates.js";
|
|
12
|
+
import { resizeParentContainers } from "./containerHeightSanitization.js";
|
|
13
|
+
import { selectSettings } from "../../store/config/configSelectors.js";
|
|
12
14
|
function validateLayoutIndexes(ctx, layout, command) {
|
|
13
15
|
const { payload: { itemPath, sectionIndex, itemIndex }, } = command;
|
|
14
16
|
if (itemPath === undefined) {
|
|
@@ -35,21 +37,23 @@ export function* resizeWidthHandler(ctx, cmd) {
|
|
|
35
37
|
const layout = yield select(selectLayout);
|
|
36
38
|
const insightsMap = yield select(selectInsightsMap);
|
|
37
39
|
const screen = yield select(selectScreen);
|
|
40
|
+
const settings = yield select(selectSettings);
|
|
38
41
|
validateLayoutIndexes(ctx, layout, cmd);
|
|
39
|
-
validateWidth(ctx, layout, insightsMap, cmd, screen);
|
|
42
|
+
validateWidth(ctx, layout, insightsMap, cmd, settings, screen);
|
|
40
43
|
const layoutPath = itemPath === undefined ? [{ sectionIndex, itemIndex }] : itemPath;
|
|
41
44
|
yield put(layoutActions.changeItemWidth({
|
|
42
45
|
layoutPath,
|
|
43
46
|
width,
|
|
44
47
|
}));
|
|
48
|
+
yield call(resizeParentContainers, getParentPath(layoutPath));
|
|
45
49
|
return layoutSectionItemWidthResized(ctx, getSectionIndex(layoutPath), getItemIndex(layoutPath), layoutPath, width, cmd.correlationId);
|
|
46
50
|
}
|
|
47
|
-
function validateWidth(ctx, layout, insightsMap, cmd, screen = "xl") {
|
|
51
|
+
function validateWidth(ctx, layout, insightsMap, cmd, settings, screen = "xl") {
|
|
48
52
|
const { payload: { itemPath, sectionIndex, itemIndex, width }, } = cmd;
|
|
49
53
|
const widget = itemPath === undefined
|
|
50
54
|
? layout.sections[sectionIndex].items[itemIndex].widget
|
|
51
55
|
: findItem(layout, itemPath).widget;
|
|
52
|
-
const minLimit = getMinWidth(widget, insightsMap, screen);
|
|
56
|
+
const minLimit = getMinWidth(widget, insightsMap, screen, settings);
|
|
53
57
|
const parent = itemPath !== undefined && itemPath.slice(0, -1).length > 0 && findItem(layout, itemPath.slice(0, -1));
|
|
54
58
|
const maxLimit = parent
|
|
55
59
|
? determineWidthForScreen(screen, parent.size)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizeWidthHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeWidthHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAIrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"resizeWidthHandler.js","sourceRoot":"","sources":["../../../../src/model/commandHandlers/layout/resizeWidthHandler.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAIrC,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,OAAO,EAAE,uBAAuB,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAC1F,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAEnF,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC7F,OAAO,EAEH,6BAA6B,GAChC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,mCAAmC,EAAE,MAAM,sDAAsD,CAAC;AAC3G,OAAO,EACH,uBAAuB,EACvB,WAAW,EACX,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,aAAa,GAChB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,uCAAuC,CAAC;AAEvE,SAAS,qBAAqB,CAC1B,GAAqB,EACrB,MAAuC,EACvC,OAAoB;IAEpB,MAAM,EACF,OAAO,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,GACjD,GAAG,OAAO,CAAC;IAEZ,IAAI,QAAQ,KAAK,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,QAAQ,CAAC,CAAC,MAAkB,CAAC;IAEzD,MAAM,QAAQ,GAAG,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;IACpE,MAAM,MAAM,GACR,QAAQ,KAAK,SAAS,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,IAAI,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;IAE1G,MAAM,QAAQ,GAAG,MAAM;QACnB,CAAC,CAAC,uBAAuB,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC;QAC9C,CAAC,CAAC,mCAAmC,CAAC;IAE1C,MAAM,UAAU,GAAG,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,QAAQ,CAAC;IAE1D,IAAI,CAAC,UAAU,EAAE,CAAC;QACd,MAAM,wBAAwB,CAC1B,GAAG,EACH,GAAG,EACH,0DAA0D,QAAQ,OAAO,QAAQ,GAAG,CACvF,CAAC;IACN,CAAC;AACL,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"initializeAutomationsHandler.d.ts","sourceRoot":"","sources":["../../../../src/model/commandHandlers/scheduledEmail/initializeAutomationsHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAI1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAwCzE,wBAAiB,4BAA4B,CACzC,GAAG,EAAE,gBAAgB,EACrB,IAAI,EAAE,qBAAqB,GAC5B,YAAY,CA0Fd"}
|