@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
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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ClassificationGrouping } from './classificationGroups';
|
|
2
|
+
/**
|
|
3
|
+
* Taking one article's classification over to other marked articles: the user picks the template (a classified
|
|
4
|
+
* article) and the targets (by default every other marked article); the editor opens on the targets, prefilled with
|
|
5
|
+
* the template's values (its `templateProductId`), and saves only after the user reviewed them.
|
|
6
|
+
*/
|
|
7
|
+
/** The marked articles that carry a class — the ones that can serve as a template. */
|
|
8
|
+
export declare function classifiedIds(grouping: ClassificationGrouping): string[];
|
|
9
|
+
/**
|
|
10
|
+
* The template preselected for a marking: the typical case of one classified article marked with unclassified ones.
|
|
11
|
+
* Any other marking leaves the choice to the user.
|
|
12
|
+
*/
|
|
13
|
+
export declare function suggestedTemplateId(grouping: ClassificationGrouping): string | undefined;
|
|
14
|
+
/** The targets of `templateId`: every other marked article the user did not uncheck, in the marking's order. */
|
|
15
|
+
export declare function templateTargets(grouping: ClassificationGrouping, templateId: string, unchecked: ReadonlySet<string>): string[];
|
|
16
|
+
//# sourceMappingURL=classificationTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classificationTemplate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAE/E;;;;GAIG;AAEH,sFAAsF;AACtF,wBAAgB,aAAa,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,EAAE,CAExE;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,sBAAsB,GAAG,MAAM,GAAG,SAAS,CAIxF;AAED,gHAAgH;AAChH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,CAE9H"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts
CHANGED
|
@@ -6,8 +6,16 @@ type ArticleRow = Record<string, unknown>;
|
|
|
6
6
|
* second one ("EAN wird bereits verwendet") — and the copy references its source: `SAP_MAW1_ZZSHOPREF` = the
|
|
7
7
|
* source's SAP number once it has one, else `SAP_MAW1_ZZSHOPREF_TMP` = its supplier article number, which the SAP
|
|
8
8
|
* send resolves to the source's SAP number (a send takes the articles without it first). The other reference is
|
|
9
|
-
* cleared, so a copy of a copy never points at the grandparent.
|
|
9
|
+
* cleared, so a copy of a copy never points at the grandparent. The SAP article number and its catalog mirror
|
|
10
|
+
* `retailerArticleNr` never go along, whatever the copy carries — a copy is a new article SAP numbers itself.
|
|
10
11
|
*/
|
|
11
12
|
export declare function duplicatedArticle(copy: ArticleRow, source: ArticleRow): ArticleRow;
|
|
13
|
+
/**
|
|
14
|
+
* The row cut down to the grid's own paths (`fields`: the columns' `field` and `additionalFields`, what the grid
|
|
15
|
+
* reads): a row that took a whole product — a re-read, a save's answer — carries fields without a column, which
|
|
16
|
+
* the duplicate's column flags (`excludeFromDuplicate`) cannot drop. Cut down, a copy carries what the legacy copy
|
|
17
|
+
* carried and nothing else.
|
|
18
|
+
*/
|
|
19
|
+
export declare function gridShaped(row: ArticleRow, fields: string[]): ArticleRow;
|
|
12
20
|
export {};
|
|
13
21
|
//# sourceMappingURL=duplicateArticle.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicateArticle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"duplicateArticle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.ts"],"names":[],"mappings":"AAGA,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAa1C;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,UAAU,CAgBlF;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,UAAU,CAExE"}
|
|
@@ -39,4 +39,8 @@ export declare function isHeaderOutdated(data: Record<string, unknown> | undefin
|
|
|
39
39
|
export declare function hasUnlinkedHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
|
|
40
40
|
/** Whether the refresh action has something to pull: outdated header values, or a header row not linked yet. */
|
|
41
41
|
export declare function canRefreshHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
|
|
42
|
+
/** Why the refresh has something to pull for an article ({@link canRefreshHeader}) — none while it has not. */
|
|
43
|
+
export type HeaderRefreshState = 'outdated' | 'unlinked';
|
|
44
|
+
/** The reason behind {@link canRefreshHeader}, for the marker's tooltip: outdated header values, or a header row not linked yet. */
|
|
45
|
+
export declare function headerRefreshState(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): HeaderRefreshState | undefined;
|
|
42
46
|
//# sourceMappingURL=headerSync.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"headerSync.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/headerSync.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACnD,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACzD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAI9F;AAED,iGAAiG;AACjG,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,cAAc,CAOnF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAcxH;AAYD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAMzH;AAED,gHAAgH;AAChH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAExH"}
|
|
1
|
+
{"version":3,"file":"headerSync.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/headerSync.ts"],"names":[],"mappings":"AAOA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACnD,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACzD;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAI9F;AAED,iGAAiG;AACjG,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,cAAc,CAOnF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAcxH;AAYD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAMzH;AAED,gHAAgH;AAChH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAExH;AAED,+GAA+G;AAC/G,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,UAAU,CAAC;AAEzD,oIAAoI;AACpI,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAIjJ"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transferring a planning by pasting a copied DIVA number onto other articles' DIVA-Nr. cells — the legacy
|
|
3
|
+
* "Basiskonfigurat kopieren / übertragen": the pasted number names the source article, the pasted rows are the
|
|
4
|
+
* targets, each of them receives a copy of the source's planning with a DIVA number of its own. Delete on the
|
|
5
|
+
* DIVA-Nr. cells removes the planning again — the legacy "Basiskonfigurat löschen".
|
|
6
|
+
*/
|
|
7
|
+
import type { GridApi, IRowNode } from 'ag-grid-enterprise';
|
|
1
8
|
type ArticleRow = Record<string, unknown>;
|
|
9
|
+
/** Delete on a DIVA-Nr. cell: the grid and the row of the focused cell. */
|
|
10
|
+
export interface PlanningRemovalParams {
|
|
11
|
+
api: GridApi<ArticleRow>;
|
|
12
|
+
node: IRowNode<ArticleRow>;
|
|
13
|
+
}
|
|
2
14
|
/** The pasted DIVA number: the clipboard's first cell, trimmed — `undefined` when it is empty or no DIVA number. */
|
|
3
15
|
export declare function pastedDivaNr(data: string[][]): string | undefined;
|
|
4
16
|
/** Whether a planning transfer works on the row right now — its DIVA-Nr. cell shows a spinner meanwhile. */
|
|
@@ -21,5 +33,28 @@ export interface PlanningTransferTargets {
|
|
|
21
33
|
* target all the same: its planning may still change.
|
|
22
34
|
*/
|
|
23
35
|
export declare function planningTransferTargets(rows: (ArticleRow | undefined)[], sourceId: string): PlanningTransferTargets;
|
|
36
|
+
/**
|
|
37
|
+
* A copy of the row without its planning's fields, for a removed planning. The re-read row cannot clear them: it
|
|
38
|
+
* merges over the grid row and simply lacks the removed fields. The given row is left alone.
|
|
39
|
+
*/
|
|
40
|
+
export declare function withoutPlanning(row: ArticleRow): ArticleRow;
|
|
41
|
+
/** The ids of the rows a planning removal covers, by whether it may run on them. */
|
|
42
|
+
export interface PlanningRemovalTargets {
|
|
43
|
+
/** Rows with a planning — it is removed. */
|
|
44
|
+
removable: string[];
|
|
45
|
+
/** Rows with a planning a SAP transfer run is working on (`isTransferring`) — left alone, the write would race the transfer. */
|
|
46
|
+
transferring: string[];
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Splits the rows of a Delete on the DIVA-Nr. column. Rows without a planning, without an id (the empty add row) and
|
|
50
|
+
* those a planning transfer or removal works on already are left out. A transferred article is covered all the same:
|
|
51
|
+
* its planning may still change.
|
|
52
|
+
*/
|
|
53
|
+
export declare function planningRemovalTargets(rows: (ArticleRow | undefined)[]): PlanningRemovalTargets;
|
|
54
|
+
/**
|
|
55
|
+
* The rows a Delete on the focused DIVA-Nr. cell covers: those of the cell ranges over the DIVA-Nr. column when the
|
|
56
|
+
* focused row lies in one of them, else the focused row alone.
|
|
57
|
+
*/
|
|
58
|
+
export declare function planningRemovalNodes({ api, node }: PlanningRemovalParams, planningColId: string): IRowNode<ArticleRow>[];
|
|
24
59
|
export {};
|
|
25
60
|
//# sourceMappingURL=planningTransfer.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"planningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningTransfer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"planningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningTransfer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAI5D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,2EAA2E;AAC3E,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACzB,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;CAC5B;AAKD,oHAAoH;AACpH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,MAAM,GAAG,SAAS,CAGjE;AAKD,4GAA4G;AAC5G,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED,8FAA8F;AAC9F,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU,CAKjF;AAED,wFAAwF;AACxF,MAAM,WAAW,uBAAuB;IACtC,gFAAgF;IAChF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,uEAAuE;IACvE,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,gHAAgH;IAChH,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,EAAE,QAAQ,EAAE,MAAM,GAAG,uBAAuB,CAUnH;AAKD;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,CAI3D;AAED,oFAAoF;AACpF,MAAM,WAAW,sBAAsB;IACrC,4CAA4C;IAC5C,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,gIAAgI;IAChI,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,CAAC,UAAU,GAAG,SAAS,CAAC,EAAE,GAAG,sBAAsB,CAS/F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,UAAU,CAAC,EAAE,CAYxH"}
|
|
@@ -14,6 +14,13 @@ export interface ArticleReadiness {
|
|
|
14
14
|
}
|
|
15
15
|
export declare const MISSING_REQUIRED_REASON = "backoffice.assortmentmanager.articledata.readiness.missingRequired";
|
|
16
16
|
export declare const TOO_FEW_ROWS_REASON = "backoffice.assortmentmanager.articledata.readiness.tooFewRows";
|
|
17
|
+
declare const REQUIRED_FIELDS: import("../../types").AssortmentManagerField[];
|
|
18
|
+
/**
|
|
19
|
+
* The catalogue's required fields the row lacks (`required`, `requiredWhen` while its condition holds), in catalogue
|
|
20
|
+
* order — inherited header values count as filled, like the cells show them. Also the page's missing-fields counter
|
|
21
|
+
* and its jump to the next one.
|
|
22
|
+
*/
|
|
23
|
+
export declare function missingRequiredFields(row: ArticleRow): (typeof REQUIRED_FIELDS)[number][];
|
|
17
24
|
/**
|
|
18
25
|
* Whether the article may go into a transfer, and why not: the catalogue's required fields and minimum
|
|
19
26
|
* rows first, then the configured rules (`config/readiness.ts`) in their order. Evaluated on the loaded
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readiness.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/readiness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,uGAAuG;AACvG,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,uBAAuB,uEAAuE,CAAC;AAC5G,eAAO,MAAM,mBAAmB,kEAAkE,CAAC;
|
|
1
|
+
{"version":3,"file":"readiness.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/readiness.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iCAAiC,EAAE,8BAA8B,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,uGAAuG;AACvG,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,eAAO,MAAM,uBAAuB,uEAAuE,CAAC;AAC5G,eAAO,MAAM,mBAAmB,kEAAkE,CAAC;AAUnG,QAAA,MAAM,eAAe,gDAEpB,CAAC;AAQF;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,UAAU,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,EAAE,CAEzF;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CACzB,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,IAAI,CAAC,iCAAiC,EAAE,WAAW,CAAC,EAC3D,KAAK,GAAE,8BAA8B,EAA4B,GAChE,gBAAgB,CAclB;AAED,mFAAmF;AACnF,wBAAgB,UAAU,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,eAAe,GAAG,MAAM,CAExE"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AssortmentManagerField } from '../../types';
|
|
2
|
+
type ArticleRow = Record<string, unknown>;
|
|
3
|
+
/**
|
|
4
|
+
* The recommended fields the row lacks: those whose conditions all hold while the field is empty — the legacy
|
|
5
|
+
* soft required check (`ValidateRowData`), which warned but saved anyway.
|
|
6
|
+
*/
|
|
7
|
+
export declare function missingRecommendedFields(row: ArticleRow): AssortmentManagerField[];
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=recommendedFields.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendedFields.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/recommendedFields.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAmC,MAAM,aAAa,CAAC;AAGtF,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAiB1C;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,UAAU,GAAG,sBAAsB,EAAE,CAElF"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Column, GridApi } from 'ag-grid-enterprise';
|
|
2
|
+
type ArticleRow = Record<string, unknown>;
|
|
3
|
+
/** A missing required field: its name (an i18n key), and the jump to its cell — none when the user hid the column. */
|
|
4
|
+
export interface MissingRequiredLink {
|
|
5
|
+
name: string;
|
|
6
|
+
jump?: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Moves focus and cell selection to the cell — the selection drives the page's subtables like a click would. A column
|
|
10
|
+
* folded into a closed group opens its groups first; the grid scrolls the cell into view.
|
|
11
|
+
*/
|
|
12
|
+
export declare function focusGridCell(api: GridApi<ArticleRow>, rowIndex: number, column: Column): void;
|
|
13
|
+
/**
|
|
14
|
+
* The row's missing required fields (`missingRequiredFields`) as links to their cells, in the grid's column order —
|
|
15
|
+
* those whose column the user hid at the end, without a jump.
|
|
16
|
+
*/
|
|
17
|
+
export declare function missingRequiredLinks(api: GridApi<ArticleRow>, row: ArticleRow, rowIndex: number): MissingRequiredLink[];
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=requiredFieldJump.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requiredFieldJump.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAK1D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,sHAAsH;AACtH,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;CACnB;AAcD;;;GAGG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAS9F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,mBAAmB,EAAE,CAOvH"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type ArticleRow = Record<string, unknown>;
|
|
2
|
+
/** Path of the supplier's article number — unique within a supplier / EK group combination. */
|
|
3
|
+
export declare const SUPPLIER_ARTICLE_NR_PATH = "customData.SAP.SAP_EINA_IDNLF";
|
|
4
|
+
/** What a supplier article number is unique within, and the number itself. */
|
|
5
|
+
export interface SupplierArticleKey {
|
|
6
|
+
supplier: string;
|
|
7
|
+
ekg: string;
|
|
8
|
+
supplierArticleNr: string;
|
|
9
|
+
}
|
|
10
|
+
/** The row's supplier article number with its combination — nothing while one of them is missing or unqueryable. */
|
|
11
|
+
export declare function supplierArticleKey(row: ArticleRow | undefined): SupplierArticleKey | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The key a save asks the duplicate check for: only when the save set or changed the supplier article number or its
|
|
14
|
+
* combination (a new row included) — the legacy warned on every row save, which a cell-by-cell auto-save would turn
|
|
15
|
+
* into a warning per edit. Compared case-insensitively, like the check itself.
|
|
16
|
+
*/
|
|
17
|
+
export declare function duplicateCheckKey(oldData: ArticleRow | undefined, data: ArticleRow | undefined): SupplierArticleKey | undefined;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=supplierArticleDuplicate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supplierArticleDuplicate.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.ts"],"names":[],"mappings":"AAGA,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,+FAA+F;AAC/F,eAAO,MAAM,wBAAwB,kCAAkC,CAAC;AAExE,8EAA8E;AAC9E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAWD,oHAAoH;AACpH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAM9F;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,SAAS,GAAG,kBAAkB,GAAG,SAAS,CAU/H"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliExport/index.d.ts
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ColliExportSelection } from '../../logic/colliExportSearch';
|
|
2
3
|
interface ColliExportProps {
|
|
3
4
|
/** The grid's current server query (`SpreadsheetRefProps.getServerQuery`), read when the button is pressed. */
|
|
4
5
|
serverQuery: () => object | false | undefined;
|
|
6
|
+
/** The marking of the grid's checkbox column, read when the button is pressed. */
|
|
7
|
+
selection: () => ColliExportSelection;
|
|
8
|
+
/** Number of marked rows as the grid reports it — none disables the button. */
|
|
9
|
+
selectedCount: number;
|
|
5
10
|
}
|
|
6
11
|
/**
|
|
7
|
-
* The "Kollidaten exportieren" button, the counterpart of the article page's PIM export:
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
+
* The "Kollidaten exportieren" button, the counterpart of the article page's PIM export: it exports the rows marked
|
|
13
|
+
* in the grid's checkbox column, sorted as the table sorts — the grid's own query goes in the body of the COLLI_DATA
|
|
14
|
+
* datafeed's POST, since both read through the same product search. Marked rows replace its filter by their ids;
|
|
15
|
+
* the header's "select all" keeps it, less the rows unmarked again (`logic/colliExportSearch`), so it exports every
|
|
16
|
+
* article the table shows, not only the loaded ones, and warns with the count. Without a marking the button is
|
|
17
|
+
* disabled, its tooltip says why.
|
|
18
|
+
* Saves the file, or tells that the service mails it.
|
|
12
19
|
*/
|
|
13
|
-
export default function ColliExport({ serverQuery }: ColliExportProps): React.JSX.Element;
|
|
20
|
+
export default function ColliExport({ serverQuery, selection, selectedCount }: ColliExportProps): React.JSX.Element;
|
|
14
21
|
export {};
|
|
15
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ColliData/components/ColliExport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ColliData/components/ColliExport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAQxC,OAAO,EAAE,oBAAoB,EAAqB,MAAM,+BAA+B,CAAC;AAExF,UAAU,gBAAgB;IACxB,+GAA+G;IAC/G,WAAW,EAAE,MAAM,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;IAC9C,kFAAkF;IAClF,SAAS,EAAE,MAAM,oBAAoB,CAAC;IACtC,+EAA+E;IAC/E,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,gBAAgB,qBAkE9F"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliImport/index.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* The "Kollidaten importieren" button: the common upload dialog (`CommonComponents/UploadModal`) posting the edited
|
|
4
|
+
* Kollidaten export (xlsx, column product_id) as multipart (`file`) to the pfister-article import, the organization
|
|
5
|
+
* as query parameter. The service checks the whole file first — all or nothing: a refused file shows its rows and
|
|
6
|
+
* reasons in the dialog, nothing is saved. An accepted file closes the dialog and a toast reports the start, like the
|
|
7
|
+
* article import's (`ArticleData/components/ImportArticles`): the service writes the changed articles in the
|
|
8
|
+
* background and mails the outcome, the rows show it with the next reload of the table. The page does not follow the
|
|
9
|
+
* run's task — reading the admin service's task status needs `read:taskStatus`, which not everyone who may import
|
|
10
|
+
* has. The dialog is driven here rather than through `UploadModalButton`, which keeps it open.
|
|
11
|
+
*/
|
|
12
|
+
export default function ColliImport(): React.JSX.Element;
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ColliData/components/ColliImport/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC;;;;;;;;;GASG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,sBAoDlC"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
|
|
3
3
|
import { AssortmentManagerViewCondition } from '../../../types';
|
|
4
4
|
interface ColliTableProps {
|
|
5
|
-
/** Free text of the page's search input —
|
|
5
|
+
/** Free text of the page's search input — each `;`-separated term is ORed over the article search fields. */
|
|
6
6
|
searchTerm?: string;
|
|
7
7
|
/** Page-level hooks, e.g. the API2 sync after a save. */
|
|
8
8
|
hooks?: DivaSpreadsheetHooks<Record<string, unknown>>;
|
|
@@ -13,7 +13,7 @@ interface ColliTableProps {
|
|
|
13
13
|
* The articles of the Kollidaten page as a server-side grid: the same articles and saves as the article table
|
|
14
14
|
* (pre filter, `/v1/products/query`, one bulk request per commit), but only the Colli columns
|
|
15
15
|
* (`config/colliFields.ts`). Articles are edited here, never created or deleted; transferred articles and those a
|
|
16
|
-
* transfer run is working on stay read-only. An article whose Colli data would hold its SAP transfer back is marked,
|
|
16
|
+
* transfer run is working on stay read-only, but can be marked for the export. An article whose Colli data would hold its SAP transfer back is marked,
|
|
17
17
|
* the reason is the tooltip of its Colli cells.
|
|
18
18
|
*/
|
|
19
19
|
declare const ColliTable: React.ForwardRefExoticComponent<ColliTableProps & React.RefAttributes<SpreadsheetRefProps<Record<string, unknown>>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ColliData/components/ColliTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAchE,UAAU,eAAe;IACvB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ColliData/components/ColliTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAEhE,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGtG,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAchE,UAAU,eAAe;IACvB,6GAA6G;IAC7G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,KAAK,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,kFAAkF;IAClF,cAAc,CAAC,EAAE,8BAA8B,EAAE,CAAC;CACnD;AAED;;;;;;GAMG;AACH,QAAA,MAAM,UAAU,sHAyEd,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -3,7 +3,8 @@ import React from 'react';
|
|
|
3
3
|
* The Kollidaten page of the assortment manager: the articles of the article page ("Positionsdaten") with their
|
|
4
4
|
* packaging and packages — Verpackung, the number of packages (COL) and per package C01–C39 its dimensions and
|
|
5
5
|
* weight, one flat row per article. Same search and predefined views as the article page; every save also goes to
|
|
6
|
-
* the legacy SM while API2 is still in use. The export saves
|
|
6
|
+
* the legacy SM while API2 is still in use. The export saves the marked rows as a file (`config/colliExport.ts`),
|
|
7
|
+
* the import reads such a file back after it was edited (the pfister-article service writes it).
|
|
7
8
|
*/
|
|
8
9
|
declare function ColliData(): React.JSX.Element;
|
|
9
10
|
declare const _default: typeof ColliData & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ColliData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ColliData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAiBtE;;;;;;GAMG;AACH,iBAAS,SAAS,sBAkFjB;;;;AAED,wBAAmC"}
|
package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/** The articles the export takes, as the grid's checkbox column marks them. */
|
|
2
|
+
export interface ColliExportSelection {
|
|
3
|
+
/** The header's "select all": every article the table's filter matches except `ids` — loaded or not. */
|
|
4
|
+
all: boolean;
|
|
5
|
+
/** The marked articles; under "select all" the ones unmarked again. */
|
|
6
|
+
ids: string[];
|
|
7
|
+
/** Number of articles the export takes. */
|
|
8
|
+
count: number;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* The `search` of the Kollidaten export: marked rows by their ids, the header's "select all" by the table's own
|
|
12
|
+
* filter (pre filter, predefined views, search text, column filters) — one AND list (`[…]`) that the ids unmarked
|
|
13
|
+
* again join as an exclusion. Undefined when the table has no filter: the datafeed would export every article of the
|
|
14
|
+
* organization.
|
|
15
|
+
*/
|
|
16
|
+
export declare function colliExportSearch(selection: ColliExportSelection, tableSearch: string | undefined): string | undefined;
|
|
17
|
+
//# sourceMappingURL=colliExportSearch.d.ts.map
|
package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colliExportSearch.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ColliData/logic/colliExportSearch.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,MAAM,WAAW,oBAAoB;IACnC,wGAAwG;IACxG,GAAG,EAAE,OAAO,CAAC;IACb,uEAAuE;IACvE,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,2CAA2C;IAC3C,KAAK,EAAE,MAAM,CAAC;CACf;AAKD;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAItH"}
|
package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare const CELL_DATA_TYPES: Record<AssortmentManagerFieldType, string>
|
|
|
12
12
|
* leave mixed data behind. Accepts ISO strings and SAP dates; anything unparsable clears the cell.
|
|
13
13
|
*/
|
|
14
14
|
export declare function toSapDateString(value: unknown): string | undefined;
|
|
15
|
+
/** A stored date (SAP `YYYYMMDD` or ISO) the way the date cells display it; anything unparsable stays as delivered. */
|
|
16
|
+
export declare function toDisplayDate(value: unknown): string | undefined;
|
|
15
17
|
/**
|
|
16
18
|
* Complements the grid's own `required` check, which only catches `undefined`: the SAP columns model
|
|
17
19
|
* "no value" as an empty string, so that (and `null`) counts as missing too. Errors surface exactly
|
package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"itemGroupColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAA0B,0BAA0B,EAAE,0BAA0B,EAAiC,MAAM,aAAa,CAAC;AAC5I,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AASzD,yFAAyF;AACzF,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAEhD,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,0BAA0B,EAAE,MAAM,CAMtE,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKlE;AAYD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,SAAS,eAC7B;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,wBAEtC;AAYD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,0BAA0B,EACjC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC/B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAS3B;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,0BAA0B,EACjC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,EACtC,CAAC,EAAE,SAAS,EACZ,KAAK,GAAE,QAAQ,GAAG,SAAoB,GACrC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAmCvC"}
|
|
1
|
+
{"version":3,"file":"itemGroupColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAA0B,0BAA0B,EAAE,0BAA0B,EAAiC,MAAM,aAAa,CAAC;AAC5I,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AASzD,yFAAyF;AACzF,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAEhD,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,0BAA0B,EAAE,MAAM,CAMtE,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKlE;AAED,uHAAuH;AACvH,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKhE;AAYD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,SAAS,eAC7B;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,wBAEtC;AAYD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,0BAA0B,EACjC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EAC/B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAS3B;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,0BAA0B,EACjC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,EACtC,CAAC,EAAE,SAAS,EACZ,KAAK,GAAE,QAAQ,GAAG,SAAoB,GACrC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAmCvC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { BaseModulConfiguration } from '../../../Configuration';
|
|
2
|
-
export interface AssortmentManagerHeaderDataConfiguration extends BaseModulConfiguration {
|
|
3
|
-
type: 'AssortmentManagerHeaderData';
|
|
4
|
-
}
|
|
5
1
|
/**
|
|
6
2
|
* The i18next `t` the pure logic modules receive from their calling component. `name`, `description`
|
|
7
3
|
* and `group` of [../config/fields.ts](../config/fields.ts) are translation keys, so they are passed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/HeaderData/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/HeaderData/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;QAAE,YAAY,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC;CACpF;AAED;;;;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,mGAAmG;IACnG,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC;IACnD,+FAA+F;IAC/F,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,uFAAuF;IACvF,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,iEAAiE;IACjE,KAAK,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"articleTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/articleTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,
|
|
1
|
+
{"version":3,"file":"articleTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/articleTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,UAAU,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,EAAE,gCAQ9B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AssortmentManagerDownload } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
* The export of the Kollidaten page: the COLLI_DATA datafeed of the catalog (its column template lives in the
|
|
4
|
-
* datafeed configuration, not here) for
|
|
5
|
-
* by POST with the
|
|
4
|
+
* datafeed configuration, not here) for the articles marked in the table — under "select all" every article the table
|
|
5
|
+
* shows, loaded or not — sorted as the table sorts. Requested by POST with the query in the body (`components/ColliExport`).
|
|
6
6
|
*/
|
|
7
7
|
export declare const COLLI_EXPORT: AssortmentManagerDownload;
|
|
8
8
|
//# sourceMappingURL=colliExport.d.ts.map
|
|
@@ -7,9 +7,10 @@ export declare const COLLI_COUNT_ROW: AssortmentManagerItemRow;
|
|
|
7
7
|
/** The number of packages (Anzahl Colli, X of the COL row): packages C01 … C<count> take input. */
|
|
8
8
|
export declare const COLLI_COUNT_KEY = "customData.SAP.SAP_MARM.COL.SAP_MARM_UMREN";
|
|
9
9
|
/**
|
|
10
|
-
* The columns of the Kollidaten table, in the column order of its template
|
|
11
|
-
* Verpackung, COL (number of packages), then per package C01–C39 its length, width, height and
|
|
12
|
-
* rows of the units of measure (`SAP_MARM`) are edited as item row fields — the data model stays
|
|
10
|
+
* The columns of the Kollidaten table: SAP number, then in the column order of its template supplier, supplier
|
|
11
|
+
* article number, Verpackung, COL (number of packages), then per package C01–C39 its length, width, height and
|
|
12
|
+
* weight. The Colli rows of the units of measure (`SAP_MARM`) are edited as item row fields — the data model stays
|
|
13
|
+
* the array.
|
|
13
14
|
*/
|
|
14
15
|
export declare const COLLI_FIELDS: AssortmentManagerColliField[];
|
|
15
16
|
//# sourceMappingURL=colliFields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colliFields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/colliFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA0B,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAUzG;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,wBAK7B,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,eAAe,+CAAqC,CAAC;AA2BlE
|
|
1
|
+
{"version":3,"file":"colliFields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/colliFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA0B,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAUzG;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,wBAK7B,CAAC;AAEF,mGAAmG;AACnG,eAAO,MAAM,eAAe,+CAAqC,CAAC;AA2BlE;;;;;GAKG;AACH,eAAO,MAAM,YAAY,EAAE,2BAA2B,EAyCrD,CAAC"}
|