@crystaldesign/diva-backoffice 26.13.0-beta.9 → 26.13.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/esm/index.js +38156 -31648
- 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 +41 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts +46 -0
- package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts.map +1 -0
- 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 +8 -0
- 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/DetailStore.d.ts +29 -2
- package/build/types/backoffice/src/store/DetailStore.d.ts.map +1 -1
- package/build/types/backoffice/src/store/RootStore.d.ts +11 -1
- package/build/types/backoffice/src/store/RootStore.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/store/index.d.ts +3 -1
- package/build/types/backoffice/src/store/index.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/locateRowNotUnique.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.d.ts.map +1 -0
- 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/openCatalogFacts.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.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/pageReload.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.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/IDMCatalogEditor/hooks/catalogRecord.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/catalogRecord.test.d.ts.map +1 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogContext.test.d.ts +2 -0
- package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogContext.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/ArticleSubTable/index.d.ts +4 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +10 -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 +10 -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 +9 -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/CopyActions/index.d.ts +15 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts +9 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts +15 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts +13 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts +9 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts +9 -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/useAllowedFieldValues.d.ts +3 -2
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.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/useHeaderProducts.d.ts +4 -3
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.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/classificationRequiredFields.d.ts +14 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts +8 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts.map +1 -1
- 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/finalDeletes.d.ts +28 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/finalDeletes.d.ts.map +1 -0
- 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/sapNrList.d.ts +28 -0
- package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapNrList.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 +5 -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/components/Content/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/index.d.ts.map +1 -1
- 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/SupplierColors/index.d.ts +13 -0
- package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/index.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts +20 -0
- package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts +9 -0
- package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts.map +1 -0
- 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/hooks/useApi2Sync.d.ts +12 -4
- package/build/types/backoffice/src/ui/AssortmentManager/hooks/useApi2Sync.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +1 -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/finalDeletes.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/finalDeletes.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/sapNrList.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/sapNrList.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/tests/supplierColors.test.d.ts +2 -0
- package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierColors.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/Features.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/OptionSetRefForm.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/PartlistPos.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/hooks/catalogRecord.d.ts +24 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/catalogRecord.d.ts.map +1 -0
- package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDetailInfos/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
- package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/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.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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ButtonProps } from 'antd';
|
|
3
|
+
import { type MarkedArticle } from '../../../logic/markedArticles';
|
|
4
|
+
interface CopyActionsProps {
|
|
5
|
+
/** The articles of the marking or of one class group. */
|
|
6
|
+
articles: MarkedArticle[];
|
|
7
|
+
size?: ButtonProps['size'];
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The copy buttons of a class group, as in the product list's SAP number classification: its SAP numbers
|
|
11
|
+
* (comma-separated, `sapNrList`) and the link that opens the CLASSIFICATION module on its articles.
|
|
12
|
+
*/
|
|
13
|
+
declare function CopyActions({ articles, size }: CopyActionsProps): React.JSX.Element;
|
|
14
|
+
export default CopyActions;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAiC,KAAK,WAAW,EAAE,MAAM,MAAM,CAAC;AAGvE,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAI9E,UAAU,gBAAgB;IACxB,yDAAyD;IACzD,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC5B;AAED;;;GAGG;AACH,iBAAS,WAAW,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,gBAAgB,qBAyCxD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ClassificationBlocker } from '../../../logic/classificationRequiredFields';
|
|
3
|
+
interface RequiredFieldsAlertProps {
|
|
4
|
+
blockers: ClassificationBlocker[];
|
|
5
|
+
}
|
|
6
|
+
/** Names the articles the classification is refused for and what each lacks — their starts stay disabled until it is filled in. */
|
|
7
|
+
declare function RequiredFieldsAlert({ blockers }: RequiredFieldsAlertProps): React.JSX.Element;
|
|
8
|
+
export default RequiredFieldsAlert;
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEzF,UAAU,wBAAwB;IAChC,QAAQ,EAAE,qBAAqB,EAAE,CAAC;CACnC;AAED,mIAAmI;AACnI,iBAAS,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,qBA0BlE;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SapNrListInputProps {
|
|
3
|
+
/** While the user's allowed values load — the lookup is narrowed to them. */
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
/** Looks the numbers up; resolves once the panel shows the outcome, rejects with the reason. */
|
|
6
|
+
onSubmit: (sapNrs: string[]) => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The SAP number list on the empty start screen: a list of SAP numbers instead of a marking — the product list's SAP
|
|
10
|
+
* number classification. Once articles are found the start screen shows them instead; a list without any keeps its
|
|
11
|
+
* text here to be corrected.
|
|
12
|
+
*/
|
|
13
|
+
declare function SapNrListInput({ disabled, onSubmit }: SapNrListInputProps): React.JSX.Element;
|
|
14
|
+
export default SapNrListInput;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,UAAU,mBAAmB;IAC3B,6EAA6E;IAC7E,QAAQ,EAAE,OAAO,CAAC;IAClB,gGAAgG;IAChG,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAED;;;;GAIG;AACH,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,mBAAmB,qBAgElE;AAED,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SapNrListResultProps {
|
|
3
|
+
/** How many SAP numbers the list held. */
|
|
4
|
+
count: number;
|
|
5
|
+
/** The numbers no article was found for. */
|
|
6
|
+
notFound: string[];
|
|
7
|
+
/** Drops the list — the start screen follows the marking again. */
|
|
8
|
+
onDiscard: () => void;
|
|
9
|
+
}
|
|
10
|
+
/** The outcome of a pasted SAP number list above the start screen: how many were found, which were not (to copy), and its discard. */
|
|
11
|
+
declare function SapNrListResult({ count, notFound, onDiscard }: SapNrListResultProps): React.JSX.Element;
|
|
12
|
+
export default SapNrListResult;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,oBAAoB;IAC5B,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,mEAAmE;IACnE,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,sIAAsI;AACtI,iBAAS,eAAe,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,oBAAoB,qBA4C5E;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import RootStore from '../../../../../store/RootStore';
|
|
2
|
+
import { type SapNrListMatch } from '../../logic/sapNrList';
|
|
3
|
+
/**
|
|
4
|
+
* The articles of a pasted SAP number list and the numbers without one — the product list's SAP number
|
|
5
|
+
* classification on the articles the article table shows the user (`logic/sapNrList.ts`). Read on the plain Mongo
|
|
6
|
+
* path: a just-sent article's SAP number is there before the Atlas Search index has it.
|
|
7
|
+
*/
|
|
8
|
+
export declare function findSapNrList(root: RootStore, sapNrs: string[], allowedValues: Record<string, string[] | undefined>): Promise<SapNrListMatch>;
|
|
9
|
+
//# sourceMappingURL=findSapNrList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findSapNrList.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,EAAmC,KAAK,cAAc,EAAqB,MAAM,uBAAuB,CAAC;AAKhH;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAKnJ"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { NotificationInstance } from 'antd/es/notification/interface';
|
|
2
3
|
import type { BulkActionSelection } from '../BulkActions';
|
|
3
4
|
/** Right toolbar tool id of the classification panel. */
|
|
4
5
|
export declare const CLASSIFICATION_PANEL_TOOL_ID = "assortmentManager_classificationPanel";
|
|
@@ -12,6 +13,8 @@ interface ClassificationPanelProps {
|
|
|
12
13
|
selection: BulkActionSelection;
|
|
13
14
|
/** Called with the ids the editor saved — the caller re-reads those rows. */
|
|
14
15
|
onSaved: (saved: string[]) => Promise<void>;
|
|
16
|
+
/** The page's notifications — a failed load of the allowed values reports through them. */
|
|
17
|
+
notify: NotificationInstance;
|
|
15
18
|
}
|
|
16
19
|
/**
|
|
17
20
|
* The "Klassifikation" panel of the right toolbar: the marked articles in the classification editor
|
|
@@ -25,8 +28,13 @@ interface ClassificationPanelProps {
|
|
|
25
28
|
* back at the start — the caller re-reads the saved rows, and the start screen checks the marking, which the
|
|
26
29
|
* grid kept all along, for the next group. The editor's catalog comes from the CLASSIFICATION component's
|
|
27
30
|
* registry settings — the same ones the portal hands that component when it opens it.
|
|
31
|
+
*
|
|
32
|
+
* Without a marking the start screen takes a pasted list of SAP numbers instead (the product list's SAP number
|
|
33
|
+
* classification, `logic/sapNrList.ts`): the numbers no article was found for are listed to copy, the found articles
|
|
34
|
+
* stand in for the marking until the list is discarded. Any start is refused while one of its articles lacks a legacy
|
|
35
|
+
* required field (`logic/classificationRequiredFields.ts`).
|
|
28
36
|
*/
|
|
29
|
-
declare function ClassificationPanel({ selectedRows, selection, onSaved }: ClassificationPanelProps): React.JSX.Element;
|
|
37
|
+
declare function ClassificationPanel({ selectedRows, selection, onSaved, notify }: ClassificationPanelProps): React.JSX.Element;
|
|
30
38
|
declare const _default: typeof ClassificationPanel & {
|
|
31
39
|
displayName: string;
|
|
32
40
|
};
|
|
@@ -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;AAEjG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAc3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAU1D,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;IAC5C,2FAA2F;IAC3F,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,iBAAS,mBAAmB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,wBAAwB,qBAqelG;;;;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/useAllowedFieldValues.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NotificationInstance } from 'antd/es/notification/interface';
|
|
1
2
|
import RootStore from '../../../../store/RootStore';
|
|
2
3
|
/**
|
|
3
4
|
* The per-user allowed values of every restricted catalogue field (`allowedValues`), keyed by field
|
|
@@ -5,7 +6,7 @@ import RootStore from '../../../../store/RootStore';
|
|
|
5
6
|
* field whose value is undefined after the load is unrestricted (the backend applies no restriction
|
|
6
7
|
* to this user, e.g. no personal number) — no filter, full dropdown. A field whose load errs (e.g.
|
|
7
8
|
* SAP unreachable) fails closed to an empty list — the article grid then shows nothing — and
|
|
8
|
-
* surfaces a
|
|
9
|
+
* surfaces a notification through `notify`.
|
|
9
10
|
*/
|
|
10
|
-
export default function useAllowedFieldValues(root: RootStore): Record<string, string[] | undefined> | undefined;
|
|
11
|
+
export default function useAllowedFieldValues(root: RootStore, notify: NotificationInstance): Record<string, string[] | undefined> | undefined;
|
|
11
12
|
//# sourceMappingURL=useAllowedFieldValues.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAllowedFieldValues.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAllowedFieldValues.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,SAAS,MAAM,6BAA6B,CAAC;AA4CpD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS,CA4B7I"}
|
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/useHeaderProducts.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { NotificationInstance } from 'antd/es/notification/interface';
|
|
1
2
|
import RootStore from '../../../../store/RootStore';
|
|
2
3
|
import { HeaderProducts } from '../logic/headerSync';
|
|
3
4
|
export interface HeaderProductsState {
|
|
@@ -8,8 +9,8 @@ export interface HeaderProductsState {
|
|
|
8
9
|
/**
|
|
9
10
|
* The header rows the article table compares the articles against (`isHeaderOutdated`, `hasUnlinkedHeader`).
|
|
10
11
|
* Loaded once per mount — the grid waits for it, because ag-grid does not re-evaluate row classes when a
|
|
11
|
-
* value outside the row data changes. A failed load degrades to "nothing marked" with a warning
|
|
12
|
-
* articles themselves stay fully usable.
|
|
12
|
+
* value outside the row data changes. A failed load degrades to "nothing marked" with a warning notification
|
|
13
|
+
* (`notify`, the page's); the articles themselves stay fully usable.
|
|
13
14
|
*/
|
|
14
|
-
export default function useHeaderProducts(root: RootStore): HeaderProductsState;
|
|
15
|
+
export default function useHeaderProducts(root: RootStore, notify: NotificationInstance): HeaderProductsState;
|
|
15
16
|
//# sourceMappingURL=useHeaderProducts.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHeaderProducts.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useHeaderProducts.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAE3E,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAuB,MAAM,qBAAqB,CAAC;AA0B1E,MAAM,WAAW,mBAAmB;IAClC,oHAAoH;IACpH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CAClB;AA+CD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,oBAAoB,GAAG,mBAAmB,CA6B5G"}
|
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;EAiF7D"}
|
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,sBAysBnB;;;;AAED,wBAAqC"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import { AssortmentManagerField, AssortmentManagerItemGroup } from '../../types'
|
|
|
5
5
|
import { Translate } from '../../HeaderData/types';
|
|
6
6
|
import { EnumEntry } from '../../HeaderData/hooks/useDropdownEnumData';
|
|
7
7
|
import type { ArticleReadiness } from './readiness';
|
|
8
|
+
import type { HeaderRefreshState } from './headerSync';
|
|
9
|
+
import type { PlanningRemovalParams } from './planningTransfer';
|
|
8
10
|
type ArticleRow = Record<string, unknown>;
|
|
9
11
|
type ArticleColumn = DivaColDef<ArticleRow> | DivaColGroupDef<ArticleRow>;
|
|
10
12
|
/**
|
|
@@ -13,6 +15,11 @@ type ArticleColumn = DivaColDef<ArticleRow> | DivaColGroupDef<ArticleRow>;
|
|
|
13
15
|
* pfister-article docs refers to the payload conversion towards SAP, not to the storage.
|
|
14
16
|
*/
|
|
15
17
|
export declare const ARTICLE_LANGUAGES: string[];
|
|
18
|
+
/**
|
|
19
|
+
* The last header group of the article table: the planning's image and DIVA number, then the shown article columns
|
|
20
|
+
* without an `articlePosition`.
|
|
21
|
+
*/
|
|
22
|
+
export declare const ARTICLE_OTHER_GROUP = "backoffice.assortmentmanager.group.other";
|
|
16
23
|
/** Distinct dropdown lists the article columns need. */
|
|
17
24
|
export declare const ARTICLE_DROPDOWN_KEYS: string[];
|
|
18
25
|
/** Distinct dropdown lists the Kollidaten columns need (the Verpackung). */
|
|
@@ -74,9 +81,11 @@ export declare const ARTICLE_STATUS_COL_ID = "articleStatus";
|
|
|
74
81
|
* columns (they ride along hidden, see `buildArticleColDefs`).
|
|
75
82
|
*
|
|
76
83
|
* The column has no header text; `headerElement` puts the symbol legend there instead — the spreadsheet's
|
|
77
|
-
* default inner header renders it as its `additionalElement` (the IDM grids' info button pattern).
|
|
84
|
+
* default inner header renders it as its `additionalElement` (the IDM grids' info button pattern). `headerStateOf`
|
|
85
|
+
* tells the cell which articles need a header refresh (see headerSync.ts) — their symbol's tooltip names the reason
|
|
86
|
+
* of the yellow stripe at the row's front.
|
|
78
87
|
*/
|
|
79
|
-
export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer'], readinessOf: (row: ArticleRow) => ArticleReadiness, headerElement?: ReactNode, headerClass?: string): DivaColDef<ArticleRow>;
|
|
88
|
+
export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer'], readinessOf: (row: ArticleRow) => ArticleReadiness, headerElement?: ReactNode, headerClass?: string, headerStateOf?: (row: ArticleRow) => HeaderRefreshState | undefined): DivaColDef<ArticleRow>;
|
|
80
89
|
/**
|
|
81
90
|
* Whether a derived field's cell is being recalculated: the row's changes are on their way to the server, and the
|
|
82
91
|
* catalog derives the field anew with that save — until the answer is in (the grid then redraws the row). The row
|
|
@@ -85,6 +94,24 @@ export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>
|
|
|
85
94
|
* row with its errors.
|
|
86
95
|
*/
|
|
87
96
|
export declare function isRecalculating({ node, data, context, api }: CellClassParams<ArticleRow, unknown, DivaContext<ArticleRow>>): boolean;
|
|
97
|
+
/**
|
|
98
|
+
* A field of one row of a repeating table (catalogue `itemRow`, e.g. the ST row of the units of measure or the
|
|
99
|
+
* sales row) as a computed column: it shows the row field and writes the whole table with that row updated — a
|
|
100
|
+
* missing row is added with its fixed values (see withItemRowValue). A row without an own table yet (a new or copied
|
|
101
|
+
* one, linked to its header) shows and writes on the header snapshot's table, so a write overrides just the one field
|
|
102
|
+
* and not the whole inherited sales row. The cell typing is the plain column's.
|
|
103
|
+
* Without a field of its own the column id follows the flat SAP article naming (`SAP_MARM_LAENG_ST`,
|
|
104
|
+
* `SAP_MVKE_SSTUF`): a dotted path below the array would collide with the array's projection wherever column ids
|
|
105
|
+
* are projected (the Excel export). The table itself is projected by a hidden column (see buildArticleColDefs).
|
|
106
|
+
* Neither sortable nor filterable: the search index does not map the tables. `required` / `requiredWhen` is not
|
|
107
|
+
* passed on: the grid's row validation marks the failing cell by its field, which this column lacks — the row would
|
|
108
|
+
* be held back without a visible reason; the transfer readiness checks the required row fields instead.
|
|
109
|
+
*/
|
|
110
|
+
/**
|
|
111
|
+
* The id of the column a catalogue field shows in: an item row field's flat SAP name (see itemRowColumn), the primary
|
|
112
|
+
* language of a multilanguage field, else the field the column binds (the grid takes it as the column id).
|
|
113
|
+
*/
|
|
114
|
+
export declare function articleColumnIdOf(field: AssortmentManagerField): string;
|
|
88
115
|
/**
|
|
89
116
|
* The article's `mainImage` as the spreadsheet's asset thumbnail, left of the DIVA number — the picture the catalog
|
|
90
117
|
* derives from the planning's media. A plain URL field (`isObject: false`, the field is its own URL); read-only, so the
|
|
@@ -99,13 +126,15 @@ export declare const PLANNING_COL_ID = "assortmentManager_planning";
|
|
|
99
126
|
* unplanned article. Bound to the `divaNr` the readiness rules read as well, so the row holds it once; read-only
|
|
100
127
|
* (the configurator sets it), and a duplicate starts without it (a copy is a new, unplanned article). A paste on it
|
|
101
128
|
* goes to `onPaste` instead of writing the copied number — the page's planning transfer, whose progress `cellRenderer`
|
|
102
|
-
* shows.
|
|
129
|
+
* shows; Delete on it goes to `onRemove` (the renderer's param) — the page's planning removal.
|
|
103
130
|
*/
|
|
104
|
-
export declare function planningColumn(t: Translate, onPaste?: DivaColDef<ArticleRow>['onPaste'], cellRenderer?: DivaColDef<ArticleRow>['cellRenderer']): DivaColDef<ArticleRow>;
|
|
131
|
+
export declare function planningColumn(t: Translate, onPaste?: DivaColDef<ArticleRow>['onPaste'], cellRenderer?: DivaColDef<ArticleRow>['cellRenderer'], onRemove?: (params: PlanningRemovalParams) => void): DivaColDef<ArticleRow>;
|
|
105
132
|
/**
|
|
106
|
-
* Builds the article table's column tree from the field catalogue: one
|
|
107
|
-
*
|
|
108
|
-
* ungrouped at the top level
|
|
133
|
+
* Builds the article table's column tree from the field catalogue: one column per `showOnArticle` entry in the
|
|
134
|
+
* order of its `articlePosition`, one header group per catalogue `group`; entries without a group render
|
|
135
|
+
* ungrouped at the top level, `'hidden'` ones follow hidden and ungrouped — the column chooser shows them again.
|
|
136
|
+
* The group "Sonstiges" closes the table: the planning's image and DIVA number, then the entries without a
|
|
137
|
+
* position. Header-inheritable text and number fields render as `withPlaceholder`
|
|
109
138
|
* columns (except the two context columns, see CONTEXT_FIELD_KEYS), multilanguage fields as nested
|
|
110
139
|
* language groups, ITEM_GROUPs as row-count summaries, fields of a table row (`itemRow`) as computed
|
|
111
140
|
* columns on that row.
|
|
@@ -123,11 +152,13 @@ onDivaNrPaste?: DivaColDef<ArticleRow>['onPaste'],
|
|
|
123
152
|
/** Renders the DIVA number cell (`planningColumn`) — it shows a planning transfer's progress in place of the number. */
|
|
124
153
|
divaNrCellRenderer?: DivaColDef<ArticleRow>['cellRenderer'],
|
|
125
154
|
/** The cell class of a `derived` field's value about to be recalculated (see isRecalculating) — the page styles it as loading. */
|
|
126
|
-
recalculatingCellClass?: string
|
|
155
|
+
recalculatingCellClass?: string,
|
|
156
|
+
/** Takes Delete on the DIVA number column (`planningColumn`) — the page's planning removal. */
|
|
157
|
+
onDivaNrRemove?: (params: PlanningRemovalParams) => void): ArticleColumn[];
|
|
127
158
|
/**
|
|
128
|
-
* The Kollidaten table's columns (`config/colliFields.ts`) in the order of its template
|
|
129
|
-
* number, Verpackung, COL, then one group per package (`packageUnit`, headed "C01" … "C39") with its length, width,
|
|
130
|
-
* height and weight. Each group starts collapsed, showing only the package's
|
|
159
|
+
* The Kollidaten table's columns (`config/colliFields.ts`): SAP number, then in the order of its template supplier,
|
|
160
|
+
* supplier article number, Verpackung, COL, then one group per package (`packageUnit`, headed "C01" … "C39") with its length, width,
|
|
161
|
+
* height and weight. Each group starts collapsed, showing only the package's summary cell; its expand toggle
|
|
131
162
|
* swaps it for the measures, which take input only up to the number of packages (see packageEditable). Item row fields
|
|
132
163
|
* become item row columns, the others plain columns. Hidden columns project the row identity, the transfer lock
|
|
133
164
|
* (cells of a transferred article stay read-only), the transfer's messages and the units table.
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAmE,MAAM,oBAAoB,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAmE,MAAM,oBAAoB,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EAAmD,MAAM,4BAA4B,CAAC;AAIvI,OAAO,EAEL,sBAAsB,EAEtB,0BAA0B,EAE3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AACvD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAMhE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC1C,KAAK,aAAa,GAAG,UAAU,CAAC,UAAU,CAAC,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,UAAqB,CAAC;AAKpD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,6CAA6C,CAAC;AAgB9E,wDAAwD;AACxD,eAAO,MAAM,qBAAqB,UAAiC,CAAC;AAEpE,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,UAA+B,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,UAIjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,8BAG/B,CAAC;AA+BF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,sBAAsB,GAAG,MAAM,CAEnE;AAUD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAWrE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,sBAAsB,GAAG,OAAO,CAGpF;AAqBD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,aAAa,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAIvF,CAAC;AA+DH;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAOjH;AAwFD,+DAA+D;AAC/D,eAAO,MAAM,qBAAqB,kBAAkB,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,EACpD,WAAW,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,EAClD,aAAa,CAAC,EAAE,SAAS,EACzB,WAAW,CAAC,EAAE,MAAM,EACpB,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,kBAAkB,GAAG,SAAS,GAClE,UAAU,CAAC,UAAU,CAAC,CAuBxB;AA+BD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,eAAe,CAAC,UAAU,EAAE,OAAO,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC,GAAG,OAAO,CAMpI;AAkQD;;;;;;;;;;;;GAYG;AACH;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,sBAAsB,GAAG,MAAM,CAOvE;AAqED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC,UAAU,CAAC,CAYpE;AAED,yHAAyH;AACzH,eAAO,MAAM,eAAe,+BAA+B,CAAC;AAE5D;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,CAAC,EAAE,SAAS,EACZ,OAAO,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC,EAC3C,YAAY,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,EACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,GACjD,UAAU,CAAC,UAAU,CAAC,CAexB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,EAAE,SAAS,EACZ,wBAAwB,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,EACjE,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAM;AAC3C,8IAA8I;AAC9I,sBAAsB,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC;AAC/D,iGAAiG;AACjG,aAAa,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC;AACjD,wHAAwH;AACxH,kBAAkB,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC;AAC3D,kIAAkI;AAClI,sBAAsB,CAAC,EAAE,MAAM;AAC/B,+FAA+F;AAC/F,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,GACvD,aAAa,EAAE,CAuKjB;AAyDD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,CAAC,EAAE,SAAS,EACZ,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAM;AAC3C,kIAAkI;AAClI,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,GAC/D,aAAa,EAAE,CA4BjB"}
|
|
@@ -13,6 +13,11 @@ export declare function isTransferred(data: ArticleRow | undefined): boolean;
|
|
|
13
13
|
* A transferred article is not reported here, even if a stale mark survived.
|
|
14
14
|
*/
|
|
15
15
|
export declare function isTransferring(data: ArticleRow | undefined): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* The day a transferred article went over (`dateField`) as `DD.MM.YYYY` — nothing for an article not transferred
|
|
18
|
+
* or without a date.
|
|
19
|
+
*/
|
|
20
|
+
export declare function transferDate(data: ArticleRow | undefined): string | undefined;
|
|
16
21
|
/** Whether the row is read-only for transfer reasons: transferred, or being transferred. */
|
|
17
22
|
export declare function isTransferLocked(data: ArticleRow | undefined): boolean;
|
|
18
23
|
/** The message the last transfer left on an article, and how severe it is. */
|
|
@@ -38,7 +43,8 @@ export declare function clearedTransferMessages(): Record<string, null>;
|
|
|
38
43
|
* The grid's `hooks.onCellEditRequest` part of the article and Kollidaten pages: a write into an article after a
|
|
39
44
|
* failed or remarked transfer adds the cleared messages (`clearedTransferMessages`) to the same commit — the
|
|
40
45
|
* header linker's way of adding to a write. Only while the write itself leaves the messages in place, so the
|
|
41
|
-
* clearing update never triggers itself.
|
|
46
|
+
* clearing update never triggers itself. Not for a transferred article: its remark still describes the transfer
|
|
47
|
+
* that went through, an edit of a field it keeps editable (`editableWhenTransferred`) stays in DIVA.
|
|
42
48
|
*/
|
|
43
49
|
export declare function clearTransferMessagesOnEdit({ oldData, data, node, context }: CellEditRequestedEvent<ArticleRow, DivaContext>): void;
|
|
44
50
|
/**
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleLock.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleLock.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"articleLock.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleLock.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAKjF,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAO1C;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEnE;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEpE;AAED;;;GAGG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAE7E;AAED,4FAA4F;AAC5F,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED,8EAA8E;AAC9E,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,KAAK,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;CACjB;AAMD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,eAAe,GAAG,SAAS,CAKzF;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAE9D;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,sBAAsB,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,IAAI,CAWnI;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU,CAIhE"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Separates several search terms in the free text search, e.g. `188889;188890`. */
|
|
2
|
+
export declare const SEARCH_TERM_SEPARATOR = ";";
|
|
3
|
+
/** The distinct, trimmed, non-empty terms of a search text. */
|
|
4
|
+
export declare function splitSearchTerms(text: string): string[];
|
|
5
|
+
/**
|
|
6
|
+
* The free text search as a pre filter condition: a row matches when one of the terms is contained in one of
|
|
7
|
+
* the search fields (`ARTICLE_SEARCH_FIELDS`). Built here instead of the spreadsheet's `searchText`, which
|
|
8
|
+
* searches for the whole text as one term. A single term gives the same condition as the spreadsheet's search.
|
|
9
|
+
*
|
|
10
|
+
* @returns the OR join as the only element, or no condition for an empty search
|
|
11
|
+
*/
|
|
12
|
+
export declare function articleSearchConditions(text: string): {
|
|
13
|
+
filterType: string;
|
|
14
|
+
type: string;
|
|
15
|
+
conditions: {
|
|
16
|
+
colId: string;
|
|
17
|
+
filterType: string;
|
|
18
|
+
type: string;
|
|
19
|
+
filter: string;
|
|
20
|
+
}[];
|
|
21
|
+
}[];
|
|
22
|
+
//# sourceMappingURL=articleSearch.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleSearch.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"articleSearch.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleSearch.ts"],"names":[],"mappings":"AAEA,oFAAoF;AACpF,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,+DAA+D;AAC/D,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAEvD;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,MAAM;;;;;;;;;IAUnD"}
|