@crystaldesign/diva-backoffice 26.12.0-beta.3 → 26.12.0-beta.31
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/build/esm/index.js +60488 -44255
- package/build/types/backoffice/src/Configuration.d.ts +2 -10
- package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
- package/build/types/backoffice/src/index.d.ts +2 -0
- package/build/types/backoffice/src/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Content/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/DataEngine/Content.d.ts +6 -0
- package/build/types/backoffice/src/layout/DataEngine/Content.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/DataEngine/LegacyRedirect.d.ts +7 -0
- package/build/types/backoffice/src/layout/DataEngine/LegacyRedirect.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/DataEngine/Navigation.d.ts +6 -0
- package/build/types/backoffice/src/layout/DataEngine/Navigation.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/DataEngine/index.d.ts +4 -0
- package/build/types/backoffice/src/layout/DataEngine/index.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/DataEngine/routes.d.ts +8 -0
- package/build/types/backoffice/src/layout/DataEngine/routes.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/DataEngine/views.d.ts +10 -0
- package/build/types/backoffice/src/layout/DataEngine/views.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/MainLayout.d.ts +7 -1
- package/build/types/backoffice/src/layout/MainLayout.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Navigation/ThemeSwitch.d.ts +6 -0
- package/build/types/backoffice/src/layout/Navigation/ThemeSwitch.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Navigation/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Router.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts +38 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/index.d.ts +11 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/index.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.d.ts +21 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.d.ts +47 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/recipes.d.ts +21 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/recipes.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/render.d.ts +40 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/render.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/style.d.ts +147 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/style.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.d.ts +20 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/types.d.ts +129 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/types.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +15 -4
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts +11 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts +2 -4
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts +121 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +72 -16
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/CatalogSelection/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts +15 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/useWysiwygConfigurator.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/DataStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/GridRegistry.d.ts +60 -1
- package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -1
- package/build/types/backoffice/src/store/RootStore.d.ts +13 -2
- package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ToolBarStore.d.ts +5 -0
- package/build/types/backoffice/src/store/ToolBarStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts +35 -8
- package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/index.d.ts +4 -1
- package/build/types/backoffice/src/store/index.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/DataEngine/LegacyRedirect.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/DataEngine/LegacyRedirect.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsRowRule.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsRowRule.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsTsv.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsTsv.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolNames.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolNames.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgMatrix.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgMatrix.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgPlannerIntegration.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgPlannerIntegration.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgStyle.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgStyle.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgTemplates.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgTemplates.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/discardStagedChanges.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/discardStagedChanges.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/dryRunNeverWrites.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/dryRunNeverWrites.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/failedReceipt.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/failedReceipt.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +217 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/getAssetUrls.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/getAssetUrls.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/listGridsCompact.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/listGridsCompact.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowBulkOrFilter.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowBulkOrFilter.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowUnverified.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowUnverified.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsSearch.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsSearch.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readGridRowsCreatorRow.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readGridRowsCreatorRow.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/removeColumn.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/removeColumn.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/writeRowLimit.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/writeRowLimit.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/store/ContentStore.hostMenu.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/store/ContentStore.hostMenu.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionCombinationColumns.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionCombinationColumns.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/partlistPosColumns.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/partlistPosColumns.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/components/SvgGeneratorTool.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/components/SvgGeneratorTool.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRows.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRows.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRowsJwt.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRowsJwt.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCollectionEditor/Tables/collectionMemberUtils.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCollectionEditor/Tables/collectionMemberUtils.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/packageRowUtils.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/packageRowUtils.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/publishUtils.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/publishUtils.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/stateHistoryMessages.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/stateHistoryMessages.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +10 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts +15 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useRefreshHeaderValues.d.ts +9 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useRefreshHeaderValues.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +5 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +3 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerLink.d.ts +38 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerLink.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts +40 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.d.ts +3 -2
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useAffectedProducts.d.ts +6 -6
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts +14 -0
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.d.ts +7 -6
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/tests/headerLink.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/headerLink.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/headerSync.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/headerSync.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +6 -0
- package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts +7 -0
- package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts +7 -0
- package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts +21 -0
- package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +7 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts +61 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts +2 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/DecisionCellRenderer/index.d.ts +16 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/DecisionCellRenderer/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/IdmCatalogs.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts +3 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/optionsSetRefCodec.d.ts +7 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/optionsSetRefCodec.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +5 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts +25 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts +59 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/partlistPosColumns.d.ts +66 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/partlistPosColumns.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/components/SvgGeneratorTool/index.d.ts +13 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/components/SvgGeneratorTool/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogRows.d.ts +24 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogRows.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useDecisionsOfCatalog.d.ts +8 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useDecisionsOfCatalog.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePartlistsOfCatalog.d.ts +8 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePartlistsOfCatalog.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllOptionCombinations/index.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllOptionCombinations/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts +8 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts +4 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts +0 -4
- package/build/types/backoffice/src/ui/IDMCatalogEditor/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts +4 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts +13 -0
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCollectionEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMCollectionEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts +12 -2
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts +19 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishButton.d.ts +3 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishButton.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts +3 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackageSelector.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/reopenEditor.d.ts +10 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/reopenEditor.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts +17 -40
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useModule.d.ts +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useModule.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts +16 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts +27 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/ReleasedFromCell.d.ts +12 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/ReleasedFromCell.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/derivePackage.d.ts +27 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/derivePackage.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts +6 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/packageRowUtils.d.ts +70 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/packageRowUtils.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts +23 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +13 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/types.d.ts +0 -4
- package/build/types/backoffice/src/ui/IDMEnricherEditor/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMFeaturesEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMFeaturesEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts +1 -0
- package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts +4 -0
- package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts +1 -0
- package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts +1 -7
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/List/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts +4 -0
- package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/constants.d.ts +1 -0
- package/build/types/backoffice/src/ui/TableRenderJobs/constants.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TableRenderJobs/utils.d.ts +18 -0
- package/build/types/backoffice/src/ui/TableRenderJobs/utils.d.ts.map +1 -1
- package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts +11 -0
- package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts.map +1 -0
- package/build/types/backoffice/src/utils/routeCatalogId.d.ts +8 -0
- package/build/types/backoffice/src/utils/routeCatalogId.d.ts.map +1 -0
- package/package.json +11 -11
- package/build/types/backoffice/src/ui/IDMCollectionEditor/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/IDMCollectionEditor/types.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts +0 -6
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMFeaturesEditor/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/IDMFeaturesEditor/types.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/types.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/types.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/types.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/types.d.ts.map +0 -1
|
@@ -1,12 +1,71 @@
|
|
|
1
1
|
import type { SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
|
|
2
|
+
/**
|
|
3
|
+
* An operation a table offers beyond cell edits - adding a matrix column, a server-side bulk removal. The VIEW
|
|
4
|
+
* declares them on its spreadsheet configuration and the agent tools only carry them through: name, description
|
|
5
|
+
* and the exact input shape travel to the model with listGrids, so a new action needs no change in the toolset.
|
|
6
|
+
* It is also the headless twin of a dialog - the modal a human fills is one way to produce `input`, not the only one.
|
|
7
|
+
*/
|
|
8
|
+
export interface AgentGridAction {
|
|
9
|
+
/** Addressed by this name in runTableAction; unique per table. */
|
|
10
|
+
name: string;
|
|
11
|
+
/** What it does AND the exact `input` string it takes - this is what the model reads before calling. */
|
|
12
|
+
description: string;
|
|
13
|
+
/** Runs it. The returned text is reported back to the model; throw with a readable message to fail. */
|
|
14
|
+
run: (input: string) => Promise<string>;
|
|
15
|
+
/** Whether it changes catalog data - a mutating action asks the user for approval first. Defaults to true. */
|
|
16
|
+
mutating?: boolean;
|
|
17
|
+
/** The values `input` accepts, answered by readColumnOptions under the action's name - the picker a dialog shows. */
|
|
18
|
+
options?: (search: string, limit: number) => Promise<{
|
|
19
|
+
options: {
|
|
20
|
+
value: string;
|
|
21
|
+
label: string;
|
|
22
|
+
}[];
|
|
23
|
+
note?: string;
|
|
24
|
+
}>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* The parent row a SUBTABLE is bound to - the row its endpoint is scoped by - as the module that opens the subtable
|
|
28
|
+
* declares it. A stageTableEdits without parentRow lands under exactly this row and is refused while there is none;
|
|
29
|
+
* a parentRow call waits until it reports the row that call selected.
|
|
30
|
+
*/
|
|
31
|
+
export interface AgentBoundParent {
|
|
32
|
+
/** The parent grid's label, as listGrids names it. */
|
|
33
|
+
grid: string;
|
|
34
|
+
/** The parent grid's key column. */
|
|
35
|
+
column: string;
|
|
36
|
+
/** The bound row's value in `column`; unset while no parent row is bound. */
|
|
37
|
+
value?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The toolbar tool that opens this subtable - what parentRow.tool names. Its gridId and label can carry other names
|
|
40
|
+
* (finishes under 'priceFeatureGroupFinishes'), so this is how a repeated parentRow call finds it while it is open.
|
|
41
|
+
*/
|
|
42
|
+
tool?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* A live table as the agent sees it: registered by the SpreadsheetWrapper on mount (re-registered when its label or
|
|
46
|
+
* description changes), removed on unmount. The callbacks read the current handle and actions at call time, so a
|
|
47
|
+
* re-render never invalidates an entry; `requestAgentApproval` is how a mutating flow gets the user's go-ahead.
|
|
48
|
+
*/
|
|
2
49
|
export interface GridEntry {
|
|
3
50
|
id: number;
|
|
4
51
|
/** Agent-facing handle: the table's author-assigned agentGridId, else its read-endpoint last segment. */
|
|
5
52
|
label: string;
|
|
53
|
+
/** The table's `gridId` prop — unique per grid, unlike the label, so tools resolve by it first. */
|
|
54
|
+
gridId?: string;
|
|
55
|
+
/** The table's read endpoint (template) — lets tools gate service-specific actions. */
|
|
56
|
+
readUrl?: string;
|
|
6
57
|
/** The table's `agentDescription` (what it contains, which subtables a selection reveals). */
|
|
7
58
|
description?: string;
|
|
59
|
+
/** Set when the grid lives inside a right-toolbar tool, so flows can reveal that tool before acting on it. */
|
|
60
|
+
toolbarToolId?: string;
|
|
8
61
|
/** Resolves the live spreadsheet handle — undefined after unmount. */
|
|
9
62
|
getHandle: () => SpreadsheetRefProps | null;
|
|
63
|
+
/** The view-declared agent actions of this table, read live so a re-render never needs a re-registration. */
|
|
64
|
+
getActions: () => AgentGridAction[];
|
|
65
|
+
/** Set only on a SUBTABLE: the parent row it is bound to right now, read live (see AgentBoundParent). */
|
|
66
|
+
getBoundParent?: () => AgentBoundParent | undefined;
|
|
67
|
+
/** Shows the in-grid approval bar and resolves the user's decision; false on discard, unmount or abort. */
|
|
68
|
+
requestAgentApproval: (changeCount: number, actionLabel?: string, signal?: AbortSignal) => Promise<boolean>;
|
|
10
69
|
}
|
|
11
70
|
/**
|
|
12
71
|
* Registry of the AG Grid tables currently on screen. Every SpreadsheetWrapper
|
|
@@ -19,7 +78,7 @@ export default class GridRegistry {
|
|
|
19
78
|
constructor();
|
|
20
79
|
register(entry: Omit<GridEntry, 'id'>): number;
|
|
21
80
|
unregister(id: number): void;
|
|
22
|
-
/** Grids currently mounted, in mount order
|
|
81
|
+
/** Grids currently mounted, in mount order. */
|
|
23
82
|
get entries(): GridEntry[];
|
|
24
83
|
}
|
|
25
84
|
//# sourceMappingURL=GridRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridRegistry.d.ts","sourceRoot":"","sources":["../../../../../src/store/GridRegistry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,yGAAyG;IACzG,KAAK,EAAE,MAAM,CAAC;IACd,8FAA8F;IAC9F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,SAAS,EAAE,MAAM,mBAAmB,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"GridRegistry.d.ts","sourceRoot":"","sources":["../../../../../src/store/GridRegistry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;;;;GAKG;AACH,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,wGAAwG;IACxG,WAAW,EAAE,MAAM,CAAC;IACpB,uGAAuG;IACvG,GAAG,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACxC,8GAA8G;IAC9G,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qHAAqH;IACrH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,OAAO,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACtH;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,yGAAyG;IACzG,KAAK,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uFAAuF;IACvF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8FAA8F;IAC9F,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8GAA8G;IAC9G,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sEAAsE;IACtE,SAAS,EAAE,MAAM,mBAAmB,GAAG,IAAI,CAAC;IAC5C,6GAA6G;IAC7G,UAAU,EAAE,MAAM,eAAe,EAAE,CAAC;IACpC,yGAAyG;IACzG,cAAc,CAAC,EAAE,MAAM,gBAAgB,GAAG,SAAS,CAAC;IACpD,2GAA2G;IAC3G,oBAAoB,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;CAC7G;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,OAAO,CAAC,QAAQ,CAAmB;IACnC,OAAO,CAAC,IAAI,CAAK;;IAQjB,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,MAAM;IAM9C,UAAU,CAAC,EAAE,EAAE,MAAM;IAIrB,+CAA+C;IAC/C,IAAI,OAAO,IAAI,SAAS,EAAE,CAEzB;CACF"}
|
|
@@ -12,9 +12,15 @@ import { NavigateFunction } from 'react-router-dom';
|
|
|
12
12
|
import ContextStore from './ContextStore';
|
|
13
13
|
import WebplannerInstanceStore from './WebplannerInstanceStore';
|
|
14
14
|
import GridRegistry from './GridRegistry';
|
|
15
|
+
import { MenuItem } from '../layout/Navigation/types';
|
|
15
16
|
export default class {
|
|
16
17
|
readonly i18n: i18n;
|
|
17
18
|
readonly navigate: NavigateFunction;
|
|
19
|
+
/**
|
|
20
|
+
* Menu of a host that renders its own navigation and routes (the Data Engine). The store then only
|
|
21
|
+
* permission-filters it into `contentStore.resolvedMenu`; without it the backoffice menu is built.
|
|
22
|
+
*/
|
|
23
|
+
readonly menu?: MenuItem[] | undefined;
|
|
18
24
|
detailStore: DetailStore;
|
|
19
25
|
modalStore: ModalStore;
|
|
20
26
|
contentStore: ContentStore;
|
|
@@ -22,7 +28,7 @@ export default class {
|
|
|
22
28
|
configurationStore: ConfigurationStore;
|
|
23
29
|
downloadStore: DownloadStore;
|
|
24
30
|
contextStore: ContextStore;
|
|
25
|
-
webplannerInstanceStore: WebplannerInstanceStore
|
|
31
|
+
webplannerInstanceStore: WebplannerInstanceStore<import("packages/web-planner-logic/src").default>;
|
|
26
32
|
gridRegistry: GridRegistry;
|
|
27
33
|
actions: Actions;
|
|
28
34
|
handler: CoreHandlers;
|
|
@@ -42,7 +48,12 @@ export default class {
|
|
|
42
48
|
constructor(actions: Actions, handler: CoreHandlers, i18n: i18n, navigate: NavigateFunction, navigationState: {
|
|
43
49
|
searchParams: URLSearchParams;
|
|
44
50
|
path: string;
|
|
45
|
-
}
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* Menu of a host that renders its own navigation and routes (the Data Engine). The store then only
|
|
54
|
+
* permission-filters it into `contentStore.resolvedMenu`; without it the backoffice menu is built.
|
|
55
|
+
*/
|
|
56
|
+
menu?: MenuItem[] | undefined);
|
|
46
57
|
updateHandlers(handler: CoreHandlers): void;
|
|
47
58
|
updateNavigationState(navigationState: {
|
|
48
59
|
searchParams: URLSearchParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RootStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/RootStore.ts"],"names":[],"mappings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CAAC,GAAG,SAAS;IAI5D,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO;IAI/C,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB,IAAI,CAAC,yEAEJ;IAED,qBAAqB,CAAC,kBAAkB,CAAC,EAAE,MAAM,IAAI;IAIrD,cAAc,CAAC,GAAG,EAAE,gBAAgB,GAAG,QAAQ,GAAG,WAAW,GAAG,wBAAwB,GAAG,MAAM;IAuBjG;;;;;OAKG;IACH,aAAa,CAAC,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,YAAY;CAkBtD"}
|
|
@@ -92,6 +92,11 @@ export default class ToolBarStore {
|
|
|
92
92
|
setPopoutWindow(toolId: string, win: Window | undefined): void;
|
|
93
93
|
/** Brings a detached tool's window to the front. */
|
|
94
94
|
focusPopout(toolId: string): void;
|
|
95
|
+
/**
|
|
96
|
+
* Makes a tool visible without displacing what the user is looking at — a background tool is detached
|
|
97
|
+
* into its own window while another tool is open (a blocked popup redocks it without stealing the selection).
|
|
98
|
+
*/
|
|
99
|
+
revealTool(toolId: string): 'already-visible' | 'focused-window' | 'detached' | 'selected' | 'not-found';
|
|
95
100
|
/**
|
|
96
101
|
* Updates the internal tool state based on available tools.
|
|
97
102
|
* Sets default values for selected tool, pinned state, visibility and width.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolBarStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/ToolBarStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,4BAA4B,CAAC;AAelD;;;GAGG;AACH,MAAM,CAAC,OAAO,OAAO,YAAY;IA2B7B,OAAO,CAAC,eAAe;IACvB,OAAO,CAAC,eAAe,CAAC;IA3B1B,OAAO,CAAC,MAAM,CAAc;IAC5B,OAAO,CAAC,OAAO,CAAiB;IAChC,OAAO,CAAC,OAAO,CAAkB;IACjC,OAAO,CAAC,eAAe,CAAqB;IAC5C,OAAO,C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AAE,MAAM,CAAC,EAAE,OAAO;CAsD/D"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import type DivaWebPlanner from '@crystaldesign/web-planner-logic';
|
|
2
|
+
/** What the store itself needs from a planner instance - the full DivaWebPlanner in production, a double in tests. */
|
|
3
|
+
export interface PlannerInstance {
|
|
4
|
+
readonly isDestroyed: boolean;
|
|
5
|
+
destroyWebPlanner(): void;
|
|
6
|
+
clearCache(): void;
|
|
7
|
+
}
|
|
2
8
|
/**
|
|
3
9
|
* Shares DivaWebPlanner LOGIC instances between planner views and other tools (DIVA agent):
|
|
4
10
|
* the MOUNTED instance registered by the WYSIWYG (re-registered on every re-init, so resolve it
|
|
5
11
|
* through this store at call time and never cache it) and HEADLESS instances created on demand,
|
|
6
12
|
* cached per key and LRU-evicted. Keys must come from `webplannerInstanceKey`.
|
|
7
13
|
*/
|
|
8
|
-
export default class WebplannerInstanceStore {
|
|
14
|
+
export default class WebplannerInstanceStore<TPlanner extends PlannerInstance = DivaWebPlanner> {
|
|
9
15
|
private _activeKey?;
|
|
10
16
|
private _activeInstance?;
|
|
11
17
|
private _headless;
|
|
@@ -14,22 +20,42 @@ export default class WebplannerInstanceStore {
|
|
|
14
20
|
private _invalidations;
|
|
15
21
|
private _pinnedKey?;
|
|
16
22
|
private _activeReloadHandler?;
|
|
23
|
+
/**
|
|
24
|
+
* Instances whose catalog data changed. Bound to the INSTANCE, not its key: a replacement can register under the
|
|
25
|
+
* same key before the old view's asynchronous teardown runs, and a key-based mark would then condemn the
|
|
26
|
+
* replacement while leaking the instance it was meant to retire.
|
|
27
|
+
*/
|
|
28
|
+
private _invalidatedInstances;
|
|
17
29
|
constructor();
|
|
18
|
-
register(key: string, instance:
|
|
19
|
-
|
|
30
|
+
register(key: string, instance: TPlanner): void;
|
|
31
|
+
/**
|
|
32
|
+
* Ends the mounted registration. Pass the instance that was registered whenever the caller knows it: both
|
|
33
|
+
* registrations share one key, so a teardown that names no instance can only retire whatever is active —
|
|
34
|
+
* including a replacement whose view is still on screen. With the instance given, a teardown that lost the
|
|
35
|
+
* race is a no-op instead.
|
|
36
|
+
*/
|
|
37
|
+
unregister(key: string, instance?: TPlanner): void;
|
|
38
|
+
/**
|
|
39
|
+
* Destroys an instance whose data went stale, otherwise returns it to the headless pool. An invalidated instance
|
|
40
|
+
* must not be rescued — an adopted planner runs attachAdoptedLogic() and would serve stale data forever.
|
|
41
|
+
*/
|
|
42
|
+
private retire;
|
|
20
43
|
/** Takes a headless instance OUT of the pool so a mounting view can adopt it (a mounted instance must never be LRU-evicted). */
|
|
21
|
-
adoptHeadless(key: string):
|
|
44
|
+
adoptHeadless(key: string): TPlanner | undefined;
|
|
22
45
|
/**
|
|
23
46
|
* The logic instance of the currently mounted planner view, if any
|
|
24
47
|
*/
|
|
25
|
-
get active():
|
|
48
|
+
get active(): TPlanner | undefined;
|
|
49
|
+
/** Keys of every available instance (mounted first, then pooled headless ones); empty means no planner is loaded at all. */
|
|
50
|
+
get loadedKeys(): string[];
|
|
26
51
|
/**
|
|
27
52
|
* Resolves an already available instance for a key: the mounted one wins (UI steering
|
|
28
|
-
* works on it), otherwise a cached headless one.
|
|
53
|
+
* works on it), otherwise a cached headless one. A mounted instance whose key was invalidated is
|
|
54
|
+
* not handed out any more - its view tears it down asynchronously, and until then it serves stale data.
|
|
29
55
|
*/
|
|
30
|
-
resolve(key: string):
|
|
56
|
+
resolve(key: string): TPlanner | undefined;
|
|
31
57
|
/** Resolves the instance for a key, creating a headless one when none exists. Concurrent calls for the same key share one creation. */
|
|
32
|
-
getOrCreateHeadless(key: string, create: () => Promise<
|
|
58
|
+
getOrCreateHeadless(key: string, create: () => Promise<TPlanner>): Promise<TPlanner>;
|
|
33
59
|
/**
|
|
34
60
|
* Builds and caches a headless instance. An invalidation that lands while the instance is being
|
|
35
61
|
* built cannot reach it — it is not in `_headless` yet — so caching it would serve pre-invalidation
|
|
@@ -45,6 +71,7 @@ export default class WebplannerInstanceStore {
|
|
|
45
71
|
invalidateByBase(baseId: string): {
|
|
46
72
|
destroyed: number;
|
|
47
73
|
reloadTriggered: boolean;
|
|
74
|
+
knownKeys: string[];
|
|
48
75
|
};
|
|
49
76
|
/** Protects the instance under this key from LRU eviction while a consumer is actively using it (eviction destroys instances). */
|
|
50
77
|
pin(key: string): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebplannerInstanceStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/WebplannerInstanceStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC;AAInE;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,uBAAuB;
|
|
1
|
+
{"version":3,"file":"WebplannerInstanceStore.d.ts","sourceRoot":"","sources":["../../../../../src/store/WebplannerInstanceStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAC;AAInE,sHAAsH;AACtH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,iBAAiB,IAAI,IAAI,CAAC;IAC1B,UAAU,IAAI,IAAI,CAAC;CACpB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,OAAO,uBAAuB,CAAC,QAAQ,SAAS,eAAe,GAAG,cAAc;IAC5F,OAAO,CAAC,UAAU,CAAC,CAAS;IAC5B,OAAO,CAAC,eAAe,CAAC,CAAW;IACnC,OAAO,CAAC,SAAS,CAA+B;IAChD,OAAO,CAAC,QAAQ,CAAwC;IACxD,oGAAoG;IACpG,OAAO,CAAC,cAAc,CAA6B;IACnD,OAAO,CAAC,UAAU,CAAC,CAAS;IAC5B,OAAO,CAAC,oBAAoB,CAAC,CAAa;IAC1C;;;;OAIG;IACH,OAAO,CAAC,qBAAqB,CAAuB;;IAYpD,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ;IAYxC;;;;;OAKG;IACH,UAAU,CAAC,GAAG,EAAE,MAAM,E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aldesign/diva-core';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Configuration } from '../Configuration';
|
|
4
4
|
import RootStore from './RootStore';
|
|
5
|
-
|
|
5
|
+
import { MenuItem } from '../layout/Navigation/types';
|
|
6
|
+
export declare const StoreProvider: ({ children, settings, isVisible, menu, }: ComponentProps<Configuration> & {
|
|
6
7
|
children: React.ReactElement;
|
|
8
|
+
/** See `RootStore.menu`: set by a host with its own navigation, absent for the backoffice. */
|
|
9
|
+
menu?: MenuItem[];
|
|
7
10
|
}) => React.JSX.Element;
|
|
8
11
|
export declare const useStore: () => RootStore;
|
|
9
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,0BAA0B,CAAC;AACvF,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,SAAS,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/store/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAA+B,MAAM,0BAA0B,CAAC;AACvF,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAItD,eAAO,MAAM,aAAa,6CAKvB,cAAc,CAAC,aAAa,CAAC,GAAG;IACjC,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,8FAA8F;IAC9F,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;CACnB,sBA2BA,CAAC;AAEF,eAAO,MAAM,QAAQ,iBAMpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentBridgePanel.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/agentBridge/agentBridgePanel.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bridgeStatus.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/agentBridge/bridgeStatus.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegacyRedirect.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/layout/DataEngine/LegacyRedirect.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsDryRun.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsLookupReuse.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsReceipt.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsRowRule.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsRowRule.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addRowsTsv.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsTsv.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentMount.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentToolNames.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolNames.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articleSvgMatrix.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgMatrix.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articleSvgPlannerIntegration.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgPlannerIntegration.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articleSvgStyle.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgStyle.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articleSvgTemplates.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgTemplates.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkCellInput.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentToolset.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discardStagedChanges.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/discardStagedChanges.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dryRunNeverWrites.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/dryRunNeverWrites.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"failedReceipt.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/failedReceipt.test.ts"],"names":[],"mappings":""}
|