@crystaldesign/diva-backoffice 26.13.0-beta.3 → 26.13.0-beta.30
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 +35746 -30702
- package/build/types/backoffice/src/Configuration.d.ts +2 -4
- 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/views.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Detail.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Navigation/types.d.ts +4 -0
- package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/ProductOnboarding/Content.d.ts +6 -0
- package/build/types/backoffice/src/layout/ProductOnboarding/Content.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/ProductOnboarding/Navigation.d.ts +6 -0
- package/build/types/backoffice/src/layout/ProductOnboarding/Navigation.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/ProductOnboarding/index.d.ts +4 -0
- package/build/types/backoffice/src/layout/ProductOnboarding/index.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/ProductOnboarding/views.d.ts +10 -0
- package/build/types/backoffice/src/layout/ProductOnboarding/views.d.ts.map +1 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts +18 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +20 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts +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.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +16 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/index.d.ts +8 -2
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/index.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/useWysiwygContentItem.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 +0 -2
- 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/DetailStore.d.ts +29 -2
- package/build/types/backoffice/src/store/DetailStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/ToolBarStore.d.ts +25 -1
- package/build/types/backoffice/src/store/ToolBarStore.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +8 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -1
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openToolbarToolDisabled.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openToolbarToolDisabled.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/store/DetailStore.replaceRightDetail.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/store/DetailStore.replaceRightDetail.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/store/ToolBarStore.borrowTools.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/store/ToolBarStore.borrowTools.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/store/ToolBarStore.order.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/store/ToolBarStore.order.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/store/ToolBarStore.previewSettings.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/store/ToolBarStore.previewSettings.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/updateConfirmationReview.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/CommonComponents/updateConfirmationReview.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/measureUnitValidator.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/measureUnitValidator.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionAssetFields.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionAssetFields.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertySchemaParity.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertySchemaParity.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts +12 -4
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +7 -6
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts +8 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts +7 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts +11 -3
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts +4 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts +13 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/StatusLegend/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts +16 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts +5 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.d.ts +2 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts +12 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts +16 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +3 -3
- 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 +42 -11
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts +7 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleSearch.d.ts +22 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleSearch.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts +16 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts +9 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts +4 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts +35 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts +7 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts +9 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts +19 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts +19 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliExport/index.d.ts +13 -6
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliExport/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliImport/index.d.ts +13 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliImport/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts +2 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/index.d.ts +2 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts +17 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/types.d.ts +0 -4
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/config/articleTransfer.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/config/colliExport.d.ts +2 -2
- package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.d.ts +4 -3
- package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.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/config/readiness.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +0 -3
- package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/logic/itemRows.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/logic/itemRows.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSearch.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSearch.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/colliExportSearch.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/colliExportSearch.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +67 -4
- package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts +2 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +6 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts +44 -0
- package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/ErrorDisplay.d.ts +3 -1
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/ErrorDisplay.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/index.d.ts +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/types.d.ts +10 -0
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/types.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/useUploadState.d.ts +2 -0
- package/build/types/backoffice/src/ui/CommonComponents/UploadModal/useUploadState.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/CommonComponents/useBorrowedTools.d.ts +8 -0
- package/build/types/backoffice/src/ui/CommonComponents/useBorrowedTools.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/ContentItems/ContentItemPanel.d.ts +22 -0
- package/build/types/backoffice/src/ui/ContentItems/ContentItemPanel.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/ContentItems/api.d.ts +18 -0
- package/build/types/backoffice/src/ui/ContentItems/api.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/ContentItems/editor.d.ts +21 -0
- package/build/types/backoffice/src/ui/ContentItems/editor.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/ContentItems/useContentItem.d.ts +11 -0
- package/build/types/backoffice/src/ui/ContentItems/useContentItem.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/Form/Fields/Translation/useTranslationForm.d.ts +2 -0
- package/build/types/backoffice/src/ui/Form/Fields/Translation/useTranslationForm.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Form/elements.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Form/index.d.ts +4 -0
- package/build/types/backoffice/src/ui/Form/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Form/useFormData.d.ts +3 -1
- package/build/types/backoffice/src/ui/Form/useFormData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts +2 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +4 -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 +4 -2
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts +10 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -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 +14 -0
- package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts +7 -2
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts +4 -2
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts.map +1 -1
- 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 +6 -3
- package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts +7 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts +5 -11
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts +8 -5
- package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/MismatchedValueCell.d.ts +13 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/MismatchedValueCell.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyInfo.d.ts +10 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyInfo.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts +29 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/RemovePropertyButton.d.ts +9 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/RemovePropertyButton.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 +16 -20
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/usePropertyInfoDrawer.d.ts +14 -0
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/usePropertyInfoDrawer.d.ts.map +1 -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/publishUtils.d.ts +2 -2
- 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.map +1 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts +20 -0
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/globalContentItem.d.ts +16 -0
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/globalContentItem.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/PropertyContentItemPanel.d.ts +11 -0
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/PropertyContentItemPanel.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/JsonEditor/index.d.ts +5 -0
- package/build/types/backoffice/src/ui/JsonEditor/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts +4 -0
- package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/MediaUpload/useMediaUpload.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts +1 -1
- package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts +26 -3
- package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts +18 -0
- package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/TreeChart/OrgItem/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TreeChart/ZoomWrapper/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/TreeChart/getNewChildData.d.ts +10 -0
- package/build/types/backoffice/src/ui/TreeChart/getNewChildData.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/TreeChart/types.d.ts +7 -1
- package/build/types/backoffice/src/ui/TreeChart/types.d.ts.map +1 -1
- package/package.json +18 -14
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/types.d.ts +0 -5
- package/build/types/backoffice/src/ui/AssortmentManager/ColliData/types.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts +0 -16
- package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts +0 -22
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts +0 -3
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/AdoptGlobalModal.d.ts +0 -15
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/AdoptGlobalModal.d.ts.map +0 -1
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts +0 -3
- package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +0 -1
|
@@ -48,6 +48,7 @@ export interface FakeGridOptions {
|
|
|
48
48
|
};
|
|
49
49
|
/** What the commit reports back. */
|
|
50
50
|
/** `createdIds` is what the server answered for created rows — the receipt reads it before it looks at the grid node. */
|
|
51
|
+
/** `declined` rows the host took back after the answer (a confirmation the user did not give): back to their saved state. */
|
|
51
52
|
commit?: {
|
|
52
53
|
committed?: string[];
|
|
53
54
|
failed?: {
|
|
@@ -55,6 +56,7 @@ export interface FakeGridOptions {
|
|
|
55
56
|
errors: string[];
|
|
56
57
|
}[];
|
|
57
58
|
skipped?: string[];
|
|
59
|
+
declined?: string[];
|
|
58
60
|
createdIds?: Record<string, string>;
|
|
59
61
|
};
|
|
60
62
|
/** Serie record the catalog editor's context holds. */
|
|
@@ -144,6 +146,11 @@ export interface FakeGridOptions {
|
|
|
144
146
|
unloadedRowsOnScreen?: boolean;
|
|
145
147
|
/** Rows a FILTER answer loads: matches beyond this many are on screen as loading stubs (the server-side block size). */
|
|
146
148
|
blockSize?: number;
|
|
149
|
+
/**
|
|
150
|
+
* A freshly mounted grid (after a serie switch): for this long it shows one loading stub, and a write into it is
|
|
151
|
+
* dropped, as ag-grid drops a transaction that arrives before the first block.
|
|
152
|
+
*/
|
|
153
|
+
firstBlockAfterMs?: number;
|
|
147
154
|
}
|
|
148
155
|
/** The computed column's colId - a matrix cell is addressed by that, never by a field. */
|
|
149
156
|
export declare const MATRIX_CELL = "10-T110.mandatoryQuantity";
|
|
@@ -166,6 +173,7 @@ export declare function fakeEnvironment(options?: FakeGridOptions): {
|
|
|
166
173
|
added: Record<string, unknown>[];
|
|
167
174
|
rolledBack: () => number;
|
|
168
175
|
lookupFetches: () => number;
|
|
176
|
+
lookupRowData: unknown[];
|
|
169
177
|
commitCalls: () => number;
|
|
170
178
|
refreshed: () => number;
|
|
171
179
|
headerAdds: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fakeGridEnvironment.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,SAAS,MAAM,mCAAmC,CAAC;AAE/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,eAAO,MAAM,OAAO,6BAA6B,CAAC;AAClD,eAAO,MAAM,QAAQ,6BAA6B,CAAC;AAEnD,qGAAqG;AACrG,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC/D,yDAAyD;IACzD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+GAA+G;IAC/G,QAAQ,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,KAAK,OAAO,CAAC,CAAC;IAC9E,gKAAgK;IAChK,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,uGAAuG;QACvG,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC;KACzD,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qFAAqF;IACrF,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACjD;AAED,MAAM,WAAW,eAAe;IAC9B,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2EAA2E;IAC3E,UAAU,CAAC,EAAE,aAAa,EAAE,CAAC;IAC7B,yFAAyF;IACzF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1C,yFAAyF;IACzF,IAAI,CAAC,EAAE;QAAE,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;IACpD,oCAAoC;IACpC,yHAAyH;IACzH,MAAM,CAAC,EAAE;
|
|
1
|
+
{"version":3,"file":"fakeGridEnvironment.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navigateToPaths.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"openToolbarToolDisabled.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/openToolbarToolDisabled.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readColumnOptionsRow.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reloadSelection.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stageAfterRemount.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.ts"],"names":[],"mappings":""}
|
package/build/types/backoffice/src/tests/unit/store/DetailStore.replaceRightDetail.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailStore.replaceRightDetail.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/store/DetailStore.replaceRightDetail.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolBarStore.borrowTools.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/store/ToolBarStore.borrowTools.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolBarStore.order.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/store/ToolBarStore.order.test.ts"],"names":[],"mappings":""}
|
package/build/types/backoffice/src/tests/unit/store/ToolBarStore.previewSettings.test.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolBarStore.previewSettings.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/store/ToolBarStore.previewSettings.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateConfirmationReview.test.d.ts","sourceRoot":"","sources":["../../../../../../../../src/tests/unit/ui/CommonComponents/updateConfirmationReview.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measureUnitValidator.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/measureUnitValidator.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"optionAssetFields.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/optionAssetFields.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceFeatureGroupSubtables.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"propertySchemaParity.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertySchemaParity.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { HeaderRefreshState } from '../../logic/headerSync';
|
|
2
3
|
import { ArticleReadiness } from '../../logic/readiness';
|
|
4
|
+
import type { GridApi, IRowNode } from 'ag-grid-enterprise';
|
|
3
5
|
type ArticleRow = Record<string, unknown>;
|
|
4
6
|
interface ArticleStatusCellProps {
|
|
5
7
|
data?: ArticleRow;
|
|
6
|
-
/**
|
|
8
|
+
/** The grid and the row — the missing required fields of the tooltip jump to their cells. */
|
|
9
|
+
api?: GridApi<ArticleRow>;
|
|
10
|
+
node?: IRowNode<ArticleRow>;
|
|
11
|
+
/** `readinessOf` and `headerStateOf` arrive through the column's `customParams`, see `articleStatusColumn`. */
|
|
7
12
|
colDef?: {
|
|
8
13
|
cellRendererParams?: {
|
|
9
14
|
readinessOf?: (row: ArticleRow) => ArticleReadiness;
|
|
15
|
+
headerStateOf?: (row: ArticleRow) => HeaderRefreshState | undefined;
|
|
10
16
|
};
|
|
11
17
|
};
|
|
12
18
|
}
|
|
@@ -14,11 +20,13 @@ interface ArticleStatusCellProps {
|
|
|
14
20
|
* The leading status cell of an article, next to the checkbox. First the last transfer's message
|
|
15
21
|
* (`transferMessage` — the configured message fields): a filled cross when it failed, a warning sign when
|
|
16
22
|
* it went through with remarks, the stored text as tooltip. Then a transferred article: a filled green
|
|
17
|
-
* check — done. Otherwise, for an article not yet transferred, its readiness for the transfer
|
|
23
|
+
* check — done, the tooltip names the day ("Übertragen am 22.05.2026"). Otherwise, for an article not yet transferred, its readiness for the transfer
|
|
18
24
|
* (`readinessOf`): an outlined check when it passes the catalogue checks and the configured rules, a
|
|
19
25
|
* cross with the reasons as tooltip when not. An article a run is working on shows nothing here — the
|
|
20
|
-
* number cell carries the spinner.
|
|
26
|
+
* number cell carries the spinner. An article whose header values can be refreshed (`headerStateOf`, see
|
|
27
|
+
* headerSync.ts) — marked by the yellow stripe at the row's left edge, which can carry no tooltip itself — gets the
|
|
28
|
+
* reason and the way appended to the symbol's tooltip.
|
|
21
29
|
*/
|
|
22
|
-
export default function ArticleStatusCell({ data, colDef }: ArticleStatusCellProps): React.JSX.Element | null;
|
|
30
|
+
export default function ArticleStatusCell({ data, colDef, api, node }: ArticleStatusCellProps): React.JSX.Element | null;
|
|
23
31
|
export {};
|
|
24
32
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAuC,MAAM,uBAAuB,CAAC;AAE9F,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE5D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,UAAU,sBAAsB;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,6FAA6F;IAC7F,GAAG,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC5B,+GAA+G;IAC/G,MAAM,CAAC,EAAE;QACP,kBAAkB,CAAC,EAAE;YACnB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;YACpD,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,kBAAkB,GAAG,SAAS,CAAC;SACrE,CAAC;KACH,CAAC;CACH;AAKD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,sBAAsB,4BAsG5F"}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { DivaColDef, DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
|
|
3
3
|
import { AssortmentManagerViewCondition } from '../../../types';
|
|
4
4
|
import { HeaderProducts } from '../../logic/headerSync';
|
|
5
|
+
import type { PlanningRemovalParams } from '../../logic/planningTransfer';
|
|
5
6
|
interface ArticleTableProps {
|
|
6
|
-
/** Free text of the page's search input —
|
|
7
|
+
/** Free text of the page's search input — each `;`-separated term is ORed over the legacy search fields. */
|
|
7
8
|
searchTerm?: string;
|
|
8
9
|
/** Page-level hooks, e.g. the selection that drives the subtable tabs. */
|
|
9
10
|
hooks?: DivaSpreadsheetHooks<Record<string, unknown>>;
|
|
10
|
-
/** The page's row buttons (actions column), e.g. the header refresh. */
|
|
11
|
-
rowActions?: DivaActionDef<Record<string, unknown>, DivaContext>[];
|
|
12
11
|
/** The organization's header rows for the refresh marker; the grid waits for them (undefined = loading). */
|
|
13
12
|
headers?: HeaderProducts;
|
|
14
13
|
/** The conditions of the active predefined views (`logic/articleViews.ts`) — joined into the pre filter. */
|
|
15
14
|
viewConditions?: AssortmentManagerViewCondition[];
|
|
16
15
|
/** Takes a paste on the DIVA number column (the planning transfer). Must keep its identity — a new one rebuilds the grid. */
|
|
17
16
|
onDivaNrPaste?: DivaColDef<Record<string, unknown>>['onPaste'];
|
|
17
|
+
/** Takes Delete on the DIVA number column (the planning removal). Must keep its identity — a new one rebuilds the grid. */
|
|
18
|
+
onDivaNrRemove?: (params: PlanningRemovalParams) => void;
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
21
|
* All articles of the organization as a server-side grid: the catalog service pages, sorts and
|
|
@@ -23,8 +24,8 @@ interface ArticleTableProps {
|
|
|
23
24
|
* The supplier / EK group context is per row: the two leading columns name it; keeping the header
|
|
24
25
|
* inheritance (`headerValues`) linked to those values is a server concern. A header save changes no
|
|
25
26
|
* article — rows whose header snapshot differs from the header row, or that are not linked to the
|
|
26
|
-
* header row of their context yet,
|
|
27
|
-
* header values
|
|
27
|
+
* header row of their context yet, carry a yellow stripe at the very front of the row, and the page's toolbar
|
|
28
|
+
* action pulls the current header values into the marked ones.
|
|
28
29
|
*/
|
|
29
30
|
declare const ArticleTable: React.ForwardRefExoticComponent<ArticleTableProps & React.RefAttributes<SpreadsheetRefProps<Record<string, unknown>>>>;
|
|
30
31
|
export default ArticleTable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAiB,UAAU,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAUhE,OAAO,EAAE,cAAc,EAAwC,MAAM,wBAAwB,CAAC;AAC9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAW1E,UAAU,iBAAiB;IACzB,4GAA4G;IAC5G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,4GAA4G;IAC5G,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,4GAA4G;IAC5G,cAAc,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAClD,6HAA6H;IAC7H,aAAa,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/D,2HAA2H;IAC3H,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;CAC1D;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,wHA2HhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/BulkActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,EAAE,gBAAgB,EAAc,MAAM,uBAAuB,CAAC;AAErE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAS1C,6GAA6G;AAC7G,eAAO,MAAM,mBAAmB;;;;;;;CAAyG,CAAC;AAE1I,kGAAkG;AAClG,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,UAAU,gBAAgB;IACxB,kEAAkE;IAClE,YAAY,EAAE,MAAM,UAAU,EAAE,CAAC;IACjC,wFAAwF;IACxF,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6GAA6G;IAC7G,SAAS,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;IACjD,sHAAsH;IACtH,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/BulkActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,EAAE,gBAAgB,EAAc,MAAM,uBAAuB,CAAC;AAErE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAS1C,6GAA6G;AAC7G,eAAO,MAAM,mBAAmB;;;;;;;CAAyG,CAAC;AAE1I,kGAAkG;AAClG,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,UAAU,gBAAgB;IACxB,kEAAkE;IAClE,YAAY,EAAE,MAAM,UAAU,EAAE,CAAC;IACjC,wFAAwF;IACxF,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6GAA6G;IAC7G,SAAS,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;IACjD,sHAAsH;IACtH,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,gBAAgB,qBAwQnH"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
import { type TableColumnsType } from 'antd';
|
|
2
3
|
import { type ClassificationGroup } from '../../../logic/classificationGroups';
|
|
4
|
+
import { type ListedMarkedArticle } from '../../MarkedArticles';
|
|
3
5
|
interface ClassificationGroupsProps {
|
|
4
6
|
/** The class groups of a marking that spans several classes, supplier by supplier. */
|
|
5
7
|
groups: ClassificationGroup[];
|
|
@@ -7,11 +9,15 @@ interface ClassificationGroupsProps {
|
|
|
7
9
|
isClassified: (ids: string[]) => boolean;
|
|
8
10
|
/** Opens the editor on one group's articles. */
|
|
9
11
|
onClassify: (ids: string[]) => void;
|
|
12
|
+
/** The template and target choice in front of each group's articles — see the panel's template takeover. */
|
|
13
|
+
templateColumns?: TableColumnsType<ListedMarkedArticle>;
|
|
14
|
+
/** The template takeover's bar with its start, below the hint. */
|
|
15
|
+
templateBar?: ReactNode;
|
|
10
16
|
}
|
|
11
17
|
/**
|
|
12
18
|
* The start screen's answer to a marking over several classes — what the editor's "Weitere Aktionen" dialog
|
|
13
19
|
* shows, settled before the editor opens: per supplier the class groups, each classified on its own.
|
|
14
20
|
*/
|
|
15
|
-
declare function ClassificationGroups({ groups, isClassified, onClassify }: ClassificationGroupsProps): React.JSX.Element;
|
|
21
|
+
declare function ClassificationGroups({ groups, isClassified, onClassify, templateColumns, templateBar }: ClassificationGroupsProps): React.JSX.Element;
|
|
16
22
|
export default ClassificationGroups;
|
|
17
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAA2D,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGtG,OAAO,EAAY,KAAK,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAEzF,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhF,UAAU,yBAAyB;IACjC,sFAAsF;IACtF,MAAM,EAAE,mBAAmB,EAAE,CAAC;IAC9B,qGAAqG;IACrG,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC;IACzC,gDAAgD;IAChD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpC,4GAA4G;IAC5G,eAAe,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACxD,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED;;;GAGG;AACH,iBAAS,oBAAoB,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAE,EAAE,yBAAyB,qBAwE1H;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
import { type TableColumnsType } from 'antd';
|
|
2
3
|
import { type ListedMarkedArticle } from '../../MarkedArticles';
|
|
3
4
|
interface ClassificationReadyProps {
|
|
4
5
|
/** The class the marked articles share, already worded for display. */
|
|
@@ -9,8 +10,12 @@ interface ClassificationReadyProps {
|
|
|
9
10
|
/** All of these articles were already saved from this page. */
|
|
10
11
|
classified: boolean;
|
|
11
12
|
onStart: () => void;
|
|
13
|
+
/** The template and target choice in front of the listed articles — see the panel's template takeover. */
|
|
14
|
+
templateColumns?: TableColumnsType<ListedMarkedArticle>;
|
|
15
|
+
/** The template takeover's bar with its start, above the list. */
|
|
16
|
+
templateBar?: ReactNode;
|
|
12
17
|
}
|
|
13
18
|
/** The start screen for a marking that fits one class: which class, which articles, and the start. */
|
|
14
|
-
declare function ClassificationReady({ className, articles, showSupplier, classified, onStart }: ClassificationReadyProps): React.JSX.Element;
|
|
19
|
+
declare function ClassificationReady({ className, articles, showSupplier, classified, onStart, templateColumns, templateBar }: ClassificationReadyProps): React.JSX.Element;
|
|
15
20
|
export default ClassificationReady;
|
|
16
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAA2B,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAGtE,OAAuB,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhF,UAAU,wBAAwB;IAChC,uEAAuE;IACvE,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,uEAAuE;IACvE,YAAY,EAAE,OAAO,CAAC;IACtB,+DAA+D;IAC/D,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,0GAA0G;IAC1G,eAAe,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACxD,kEAAkE;IAClE,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,sGAAsG;AACtG,iBAAS,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,EAAE,wBAAwB,qBAgC9I;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4E,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4E,MAAM,OAAO,CAAC;AAYjG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAM1D,yDAAyD;AACzD,eAAO,MAAM,4BAA4B,0CAA0C,CAAC;AAwBpF,UAAU,wBAAwB;IAChC,sEAAsE;IACtE,YAAY,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC9C;;;OAGG;IACH,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6EAA6E;IAC7E,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C;AAED;;;;;;;;;;;;GAYG;AACH,iBAAS,mBAAmB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,wBAAwB,qBA2a1F;;;;AAED,wBAA6C"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ICellRendererParams } from 'ag-grid-enterprise';
|
|
3
|
+
import { type PlanningRemovalParams } from '../../logic/planningTransfer';
|
|
4
|
+
interface DivaNrCellParams {
|
|
5
|
+
/** Takes Delete on the cell and the click on its trash icon — the page's planning removal (`planningColumn`). */
|
|
6
|
+
onRemove?: (params: PlanningRemovalParams) => void;
|
|
7
|
+
}
|
|
3
8
|
/**
|
|
4
|
-
* The DIVA number cell (`planningColumn`): while a planning transfer works on the article, its number is
|
|
5
|
-
* change — the cell shows a spinner instead until the re-read row brings the new one.
|
|
9
|
+
* The DIVA number cell (`planningColumn`): while a planning transfer or removal works on the article, its number is
|
|
10
|
+
* about to change — the cell shows a spinner instead until the re-read row brings the new one. A planned article's
|
|
11
|
+
* cell shows a trash icon on hover and focus; it and Delete on the focused cell go to `onRemove`. The grid swallows
|
|
12
|
+
* Delete on read-only cells before any column handler sees it, so the cell listens on its own element.
|
|
6
13
|
*/
|
|
7
|
-
export default function DivaNrCell({ value, data }: ICellRendererParams<Record<string, unknown>>): React.JSX.Element;
|
|
14
|
+
export default function DivaNrCell({ value, data, eGridCell, api, node, onRemove }: ICellRendererParams<Record<string, unknown>> & DivaNrCellParams): React.JSX.Element;
|
|
15
|
+
export {};
|
|
8
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAIzD,OAAO,EAAqB,KAAK,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAG7F,UAAU,gBAAgB;IACxB,iHAAiH;IACjH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACpD;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,gBAAgB,qBA6BlJ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { type TableColumnsType } from 'antd';
|
|
2
3
|
import { type MarkedArticle } from '../../logic/markedArticles';
|
|
3
4
|
/** A listed article, with its supplier where the list spans several and its DIVA number where it is about plannings. */
|
|
4
5
|
export interface ListedMarkedArticle extends MarkedArticle {
|
|
@@ -11,12 +12,14 @@ interface MarkedArticlesProps {
|
|
|
11
12
|
showSupplier?: boolean;
|
|
12
13
|
/** Adds the DIVA number column — for a list about the articles' plannings. */
|
|
13
14
|
showDivaNr?: boolean;
|
|
15
|
+
/** Columns put in front of the article's own — e.g. the classification panel's template and target choice. */
|
|
16
|
+
leadingColumns?: TableColumnsType<ListedMarkedArticle>;
|
|
14
17
|
}
|
|
15
18
|
/**
|
|
16
19
|
* The marked articles of a panel's start screen (classification, configurator) and of the planning transfer's dialogs by what the category manager knows
|
|
17
20
|
* them by: SAP number, supplier article number and the short text in the portal language (German where the article
|
|
18
21
|
* has none in it).
|
|
19
22
|
*/
|
|
20
|
-
declare function MarkedArticles({ articles, showSupplier, showDivaNr }: MarkedArticlesProps): React.JSX.Element;
|
|
23
|
+
declare function MarkedArticles({ articles, showSupplier, showDivaNr, leadingColumns }: MarkedArticlesProps): React.JSX.Element;
|
|
21
24
|
export default MarkedArticles;
|
|
22
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAEpD,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE7E,wHAAwH;AACxH,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8GAA8G;IAC9G,cAAc,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;CACxD;AAID;;;;GAIG;AACH,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,mBAAmB,qBAgDlG;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { MissingRequiredLink } from '../../logic/requiredFieldJump';
|
|
3
|
+
interface MissingRequiredFieldsProps {
|
|
4
|
+
/** The selected article's missing required fields, see `missingRequiredLinks`. */
|
|
5
|
+
links: MissingRequiredLink[];
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* How many required fields the selected article still lacks, next to the page title. Its popover lists them, each a
|
|
9
|
+
* link to its cell; a click on the tag jumps to the first. Nothing when none is missing.
|
|
10
|
+
*/
|
|
11
|
+
declare function MissingRequiredFields({ links }: MissingRequiredFieldsProps): React.JSX.Element | null;
|
|
12
|
+
export default MissingRequiredFields;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAGzE,UAAU,0BAA0B;IAClC,kFAAkF;IAClF,KAAK,EAAE,mBAAmB,EAAE,CAAC;CAC9B;AAED;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,EAAE,KAAK,EAAE,EAAE,0BAA0B,4BA6BnE;AAED,eAAe,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/StatusLegend/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/StatusLegend/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAc1B;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,sBAqFnC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import RootStore from '../../../../store/RootStore';
|
|
2
|
+
import { type SupplierArticleKey } from '../logic/supplierArticleDuplicate';
|
|
3
|
+
/** Another article of the organization with the same supplier article number in the same supplier / EK group combination. */
|
|
4
|
+
export interface SupplierArticleDuplicate {
|
|
5
|
+
_id: unknown;
|
|
6
|
+
retailerArticleNr?: unknown;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Another saved article carrying the key's supplier article number in its combination, other than `articleId` — the
|
|
10
|
+
* legacy "ArtikelNr ist in dieser EKG doppelt vorhanden". Read like `fetchHighestPosition`: the products query's
|
|
11
|
+
* `search` on the Atlas Search index, where the number is mapped case-insensitively (as the legacy compared it).
|
|
12
|
+
* Header rows and deleted articles do not count; archived ones do. Two rows at most — one may be the article itself.
|
|
13
|
+
* The index follows a save with a short delay, so a duplicate saved a moment ago may not be found yet.
|
|
14
|
+
*/
|
|
15
|
+
export declare function findSupplierArticleDuplicate(root: RootStore, articleId: string, key: SupplierArticleKey): Promise<SupplierArticleDuplicate | undefined>;
|
|
16
|
+
//# sourceMappingURL=findSupplierArticleDuplicate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findSupplierArticleDuplicate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAA4B,KAAK,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGtG,6HAA6H;AAC7H,MAAM,WAAW,wBAAwB;IACvC,GAAG,EAAE,OAAO,CAAC;IACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;GAMG;AACH,wBAAsB,4BAA4B,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAe7J"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts
CHANGED
|
@@ -23,4 +23,9 @@ export declare function findPlannedArticles(root: RootStore, divaNr: string): Pr
|
|
|
23
23
|
* fields the deployment derives from a planning.
|
|
24
24
|
*/
|
|
25
25
|
export declare function assignPlanning(root: RootStore, sourceId: string, targetIds: string[]): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Removes the article's planning through the catalog (`DELETE /v1/products/:id/configuration`): the DIVA number, the
|
|
28
|
+
* configuration and the fields the planning brought along go, and the fields the deployment derives follow.
|
|
29
|
+
*/
|
|
30
|
+
export declare function removePlanning(root: RootStore, id: string): Promise<void>;
|
|
26
31
|
//# sourceMappingURL=planningTransferApi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planningTransferApi.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"planningTransferApi.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAIpE,gHAAgH;AAChH,MAAM,MAAM,eAAe,GAAG,oBAAoB,GAAG;IACnD,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE;YAAE,cAAc,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;CACrD,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,uBAAuB,UAAwE,CAAC;AAE7G;;;;GAIG;AACH,wBAAsB,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAMrG;AAED;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAM1G;AAED;;;GAGG;AACH,wBAAsB,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAK/E"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { AdvancedFilterModel } from 'ag-grid-enterprise';
|
|
|
2
2
|
import { AssortmentManagerViewCondition } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* The server-side pre filter of the article grids (positions and Kollidaten): the organization's SM articles the
|
|
5
|
-
* user may see, narrowed by the active predefined views.
|
|
5
|
+
* user may see, narrowed by the active predefined views and the free text search (several terms separated by `;`).
|
|
6
6
|
*
|
|
7
7
|
* String values are single-quoted by the NodeJs adapter, so numeric-looking codes stay strings server side; the
|
|
8
8
|
* booleans have to be real booleans for the same reason — quoted they would arrive as the strings 'false'/'true'
|
|
9
9
|
* (hence the cast, ag-grid types text filters as string-only).
|
|
10
10
|
*/
|
|
11
|
-
export default function useArticlePreFilter(organizationId: string | undefined, allowedValues: Record<string, string[] | undefined> | undefined, viewConditions: AssortmentManagerViewCondition[]): AdvancedFilterModel;
|
|
11
|
+
export default function useArticlePreFilter(organizationId: string | undefined, allowedValues: Record<string, string[] | undefined> | undefined, viewConditions: AssortmentManagerViewCondition[], searchText: string): AdvancedFilterModel;
|
|
12
12
|
//# sourceMappingURL=useArticlePreFilter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useArticlePreFilter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"useArticlePreFilter.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAI7D;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,cAAc,EAAE,MAAM,GAAG,SAAS,EAClC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS,EAC/D,cAAc,EAAE,8BAA8B,EAAE,EAChD,UAAU,EAAE,MAAM,GACjB,mBAAmB,CAmCrB"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CellPasteParams } from '@crystaldesign/spreadsheet';
|
|
3
3
|
import RootStore from '../../../../store/RootStore';
|
|
4
|
+
import { type PlanningRemovalParams } from '../logic/planningTransfer';
|
|
4
5
|
type ArticleRow = Record<string, unknown>;
|
|
5
6
|
/**
|
|
6
7
|
* Transfers a planning by pasting a copied DIVA number onto other articles' DIVA-Nr. cells — the legacy
|
|
@@ -8,10 +9,19 @@ type ArticleRow = Record<string, unknown>;
|
|
|
8
9
|
* SAP transfer run works on are left out with a warning (checked on the paste and again before the assign); targets
|
|
9
10
|
* that carry a planning already are overwritten only on request, the catalog gives every target a copy with a DIVA
|
|
10
11
|
* number of its own, and `onTransferred` re-reads the targets (and hands them to the legacy SM) — meanwhile their
|
|
11
|
-
* DIVA-Nr. cells show a spinner.
|
|
12
|
+
* DIVA-Nr. cells show a spinner. Delete on the DIVA-Nr. cells removes plannings again (`removePlanningOf`). The dialogs
|
|
13
|
+
* render through `planningTransferDialogs`, which the page mounts.
|
|
12
14
|
*/
|
|
13
15
|
export default function usePlanningTransfer(root: RootStore, onTransferred: (ids: string[]) => Promise<void>): {
|
|
14
|
-
planningTransferDialogs: React.
|
|
16
|
+
planningTransferDialogs: React.JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* Delete on the DIVA-Nr. column — the legacy "Basiskonfigurat löschen": removes the plannings of the covered rows
|
|
19
|
+
* (`planningRemovalNodes`) — several only after a question, and every removal after `UNDO_SECONDS` without an undo
|
|
20
|
+
* (`waitForUndo`) — one article after the other, stopping at the first failure. Rows a SAP transfer run works on
|
|
21
|
+
* are left out with a warning; `onTransferred` re-reads the rows done (and hands them to the legacy SM) — from the
|
|
22
|
+
* announcement on their DIVA-Nr. cells show a spinner.
|
|
23
|
+
*/
|
|
24
|
+
removePlanningOf: (params: PlanningRemovalParams) => Promise<void>;
|
|
15
25
|
transferPlanning: ({ api, data, nodes }: CellPasteParams<ArticleRow>) => Promise<void>;
|
|
16
26
|
};
|
|
17
27
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePlanningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,SAAS,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"usePlanningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAE3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAOL,KAAK,qBAAqB,EAC3B,MAAM,2BAA2B,CAAC;AASnC,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAkB1C;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC;;IAmIxG;;;;;;OAMG;+BAEc,qBAAqB;6CA8CP,eAAe,CAAC,UAAU,CAAC;EA+E7D"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import RootStore from '../../../../store/RootStore';
|
|
2
|
+
/** The answer of the SAP update for one article number. */
|
|
3
|
+
export interface SapUpdateResult {
|
|
4
|
+
matnr: string;
|
|
5
|
+
ok: boolean;
|
|
6
|
+
productId?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Pulls the SAP master data of one article into its catalog product through the Pfister article service
|
|
11
|
+
* (`POST /v1/pfisterproducts/sap/articles/update`, SI_O_S_ARTIKELUPDATE, addressed by SAP article number) and returns
|
|
12
|
+
* the service's answer for it — the legacy `UpdateFlatarticlesFromSAP` a copy ran first. The service patches the
|
|
13
|
+
* product itself; the caller re-reads the row.
|
|
14
|
+
*/
|
|
15
|
+
export default function useUpdateFromSap(root: RootStore): (matnr: string) => Promise<SapUpdateResult>;
|
|
16
|
+
//# sourceMappingURL=useUpdateFromSap.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useUpdateFromSap.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAGpD,2DAA2D;AAC3D,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,OAAO,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,IAAI,EAAE,SAAS,WAEtC,MAAM,KAAG,OAAO,CAAC,eAAe,CAAC,CAmBlD"}
|
|
@@ -4,9 +4,9 @@ import React from 'react';
|
|
|
4
4
|
* organization, narrowed by the free text search. The supplier / EK group context lives per row in
|
|
5
5
|
* the two leading columns; writes into them link the header row client side (`onCellEditRequest` →
|
|
6
6
|
* headerLink), the catalog service relinks on every save that changes them. A header save does not
|
|
7
|
-
* change the articles — rows whose header snapshot differs from the current header row
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* change the articles — rows whose header snapshot differs from the current header row carry a yellow
|
|
8
|
+
* stripe at the row's front, and the toolbar's header refresh pulls the current header values into the
|
|
9
|
+
* marked ones on request. The selected row feeds the ITEM_GROUP tabs in the bottom toolbar.
|
|
10
10
|
*/
|
|
11
11
|
declare function ArticleData(): React.JSX.Element;
|
|
12
12
|
declare const _default: typeof ArticleData & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AA6DtE;;;;;;;;GAQG;AACH,iBAAS,WAAW,sBAypBnB;;;;AAED,wBAAqC"}
|