@crystaldesign/diva-backoffice 26.13.0-beta.8 → 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,21 @@
|
|
|
1
|
+
import type { TFunction } from 'i18next';
|
|
2
|
+
import RootStore from '../../store/RootStore';
|
|
3
|
+
import { DetailEditor } from '../../store/DetailStore';
|
|
4
|
+
import { ContentItem } from './api';
|
|
5
|
+
export type ContentItemEditorType = DetailEditor['type'];
|
|
6
|
+
export interface ContentItemEditorOptions {
|
|
7
|
+
title: string;
|
|
8
|
+
/** The item to edit, or - without an _id - the one to create. */
|
|
9
|
+
data: Partial<ContentItem>;
|
|
10
|
+
/** The editor the drawer opens with. */
|
|
11
|
+
start: ContentItemEditorType;
|
|
12
|
+
/** Offers switching between the form and the JSON in the drawer's header. */
|
|
13
|
+
switchable: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Opens the drawer with a content item editor and resolves to the saved item, or to undefined when it was cancelled.
|
|
17
|
+
* Save and cancel are not in the drawer but under the preview of the ContentItem tab (ContentItemPanel). Cancelling a
|
|
18
|
+
* new item closes the tab the editor showed it in, as nothing is left to preview; an existing item's stays.
|
|
19
|
+
*/
|
|
20
|
+
export declare function openContentItemEditor(root: RootStore, t: TFunction, { title, data, start, switchable }: ContentItemEditorOptions): Promise<ContentItem | undefined>;
|
|
21
|
+
//# sourceMappingURL=editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ContentItems/editor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAGpC,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAQzD,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IAC3B,wCAAwC;IACxC,KAAK,EAAE,qBAAqB,CAAC;IAC7B,6EAA6E;IAC7E,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,CACnC,IAAI,EAAE,SAAS,EACf,CAAC,EAAE,SAAS,EACZ,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,wBAAwB,GAC3D,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAuBlC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ContentItem } from './api';
|
|
2
|
+
/**
|
|
3
|
+
* The content item with the id or key: undefined while it loads, null when there is none or `accept` turns it down.
|
|
4
|
+
* `show` displays an item the caller already holds - one just saved - also once the id or key turns to it, so the
|
|
5
|
+
* preview does not flicker through an empty state to the reloaded item.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useContentItem(idOrCodex: string | undefined, accept?: (item: ContentItem) => boolean): {
|
|
8
|
+
item: ContentItem | null | undefined;
|
|
9
|
+
show: (saved: ContentItem) => void;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=useContentItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useContentItem.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ContentItems/useContentItem.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAmB,MAAM,OAAO,CAAC;AAErD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,EAAE,MAAM,GAAE,CAAC,IAAI,EAAE,WAAW,KAAK,OAAoB;;kBA4B9E,WAAW;EAM7C"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { FormState } from '../../useFormData';
|
|
2
2
|
import { TranslationItem } from '../../types';
|
|
3
|
+
/** The languages a translation field edits - also the ones the content item preview offers. */
|
|
4
|
+
export declare const TRANSLATION_LANGUAGES: string[];
|
|
3
5
|
export default function (item: TranslationItem, state: FormState): {
|
|
4
6
|
currentLang: string;
|
|
5
7
|
onChange: (value: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTranslationForm.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/Form/Fields/Translation/useTranslationForm.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTranslationForm.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/Form/Fields/Translation/useTranslationForm.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAQ,eAAe,EAAE,MAAM,aAAa,CAAC;AAIpD,+FAA+F;AAC/F,eAAO,MAAM,qBAAqB,UAA2B,CAAC;AAE9D,MAAM,CAAC,OAAO,WAAW,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,SAAS;;sBAsGrC,MAAM;;;;;;EAMhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"elements.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/elements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,YAAY,EAAwB,MAAM,MAAM,CAAC;AACnE,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAc,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAoB1C,wBAAgB,UAAU,CACxB,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,GAAG,EACf,KAAK,EAAE,SAAS,EAChB,YAAY,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EACjE,OAAO,EAAE,GAAG,EACZ,IAAI,CAAC,EAAE,SAAS,EAChB,IAAI,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,EACxB,MAAM,CAAC,EAAE,OAAO,EAEhB,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAC1C,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"elements.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/elements.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAW,YAAY,EAAwB,MAAM,MAAM,CAAC;AACnE,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAc,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAoB1C,wBAAgB,UAAU,CACxB,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,GAAG,EACf,KAAK,EAAE,SAAS,EAChB,YAAY,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EACjE,OAAO,EAAE,GAAG,EACZ,IAAI,CAAC,EAAE,SAAS,EAChB,IAAI,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,EACxB,MAAM,CAAC,EAAE,OAAO,EAEhB,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAC1C,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,qBAyRxC;AAQD,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,uBAY/C"}
|
|
@@ -6,6 +6,8 @@ import { FormConfiguration } from './types';
|
|
|
6
6
|
export interface Props {
|
|
7
7
|
id?: string;
|
|
8
8
|
data?: any;
|
|
9
|
+
/** The stored state an update is computed against when the form opens with another one (an editor switched to); defaults to data. */
|
|
10
|
+
origData?: any;
|
|
9
11
|
onChange?: (data: any) => any;
|
|
10
12
|
onError?: (error: string, showTrace?: boolean) => void;
|
|
11
13
|
skipApi?: boolean;
|
|
@@ -21,8 +23,10 @@ export interface Props {
|
|
|
21
23
|
export declare function getLabel(item: Item, t: any): any;
|
|
22
24
|
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & React.RefAttributes<{
|
|
23
25
|
submit: () => void;
|
|
26
|
+
getData?: () => any;
|
|
24
27
|
}>, "ref"> & React.RefAttributes<{
|
|
25
28
|
submit: () => void;
|
|
29
|
+
getData?: () => any;
|
|
26
30
|
}>>>;
|
|
27
31
|
export default _default;
|
|
28
32
|
export * from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAEjF,OAAO,EAAiB,YAAY,EAAgC,MAAM,MAAM,CAAC;AAGjF,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAMnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAe5C,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,IAAI,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAEjF,OAAO,EAAiB,YAAY,EAAgC,MAAM,MAAM,CAAC;AAGjF,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAG/B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAMnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAe5C,MAAM,WAAW,KAAK;IACpB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,qIAAqI;IACrI,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IAC9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,IAAI,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAiWD,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,OAG1C;;YAjV0B,MAAM,IAAI;cAAY,MAAM,GAAG;;YAA/B,MAAM,IAAI;cAAY,MAAM,GAAG;;AAmV1D,wBAAuD;AAEvD,cAAc,SAAS,CAAC"}
|
|
@@ -9,6 +9,8 @@ import { MediaItem } from '../AssetMananger/MediaItem';
|
|
|
9
9
|
interface Props {
|
|
10
10
|
id?: string;
|
|
11
11
|
data?: any;
|
|
12
|
+
/** The stored state an update is computed against; defaults to data. */
|
|
13
|
+
origData?: any;
|
|
12
14
|
skipApi?: boolean;
|
|
13
15
|
mappingData?: any;
|
|
14
16
|
apiInterface?: ApiInterface;
|
|
@@ -58,6 +60,6 @@ interface HiddenRequiredDisabledStateType {
|
|
|
58
60
|
disabled: boolean;
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
|
-
export default function ({ id, data: inboundData, skipApi, mappingData, apiInterface, form, setCanSave, configuration: configurationOverride, namePrefix, }: Props): FormState;
|
|
63
|
+
export default function ({ id, data: inboundData, origData: storedData, skipApi, mappingData, apiInterface, form, setCanSave, configuration: configurationOverride, namePrefix, }: Props): FormState;
|
|
62
64
|
export {};
|
|
63
65
|
//# sourceMappingURL=useFormData.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/useFormData.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,iBAAiB,EAA2C,MAAM,SAAS,CAAC;AAEhG,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"useFormData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/Form/useFormData.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,iBAAiB,EAA2C,MAAM,SAAS,CAAC;AAEhG,OAAO,UAAU,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAMpC,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AA8BvD,UAAU,KAAK;IACb,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,wEAAwE;IACxE,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,IAAI,CAAC,EAAE,YAAY,CAAC,GAAG,CAAC,CAAC;IACzB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;CAC3C;AAED,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,GAAG,CAAC;IACV,MAAM,EAAE,OAAO,CAAC;IAChB,aAAa,EAAE,iBAAiB,CAAC;IACjC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IAC3B,gBAAgB,EAAE,UAAU,CAAC;IAC7B,YAAY,EAAE,GAAG,CAAC;IAClB,eAAe,EAAE,GAAG,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,aAAa,EAAE,GAAG,CAAC;IACnB,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7C,MAAM,EAAE;QAAE,OAAO,EAAE,GAAG,CAAC;QAAC,UAAU,EAAE,GAAG,CAAA;KAAE,CAAC;IAC1C,qBAAqB,EAAE,MAAM,GAAG,CAAC;IACjC,aAAa,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAClC,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,WAAW,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAK,OAAO,CAAC;IAC5F,cAAc,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;IACpF,WAAW,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACvC,sBAAsB,EAAE,+BAA+B,CAAC;IACxD,4BAA4B,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,aAAa,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACvE,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;IAC5D,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,KAAK,IAAI,EAAE,CAAC;IAC5C,oBAAoB,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAClE,oBAAoB,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IACjD,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,mBAAmB,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI,CAAC;CACrD;AAED,UAAU,+BAA+B;IACvC,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,MAAM,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,CAAC;CAC3E;AAED,MAAM,CAAC,OAAO,WAAW,EACvB,EAAE,EACF,IAAI,EAAE,WAAW,EACjB,QAAQ,EAAE,UAAU,EACpB,OAAO,EACP,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,aAAa,EAAE,qBAAqB,EACpC,UAAU,GACX,EAAE,KAAK,GAAG,SAAS,CA+iBnB"}
|
|
@@ -11,11 +11,11 @@ export interface AccessoryCell {
|
|
|
11
11
|
typeNo: string;
|
|
12
12
|
/** Whether the relation is active at all - the checkbox of the grid cell. */
|
|
13
13
|
active: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/** Pflichtanzahl, published as MANDATORY_QUANTITY - the binding minimum in the planner. */
|
|
15
15
|
mandatoryQuantity?: number;
|
|
16
16
|
/** IDM set (MANDATORY_ITEM_GROUP.SET_NO) the mandatory reference belongs to - set iff a quantity is. */
|
|
17
17
|
mandatorySetNo?: number;
|
|
18
|
-
/**
|
|
18
|
+
/** Empfohlene Anzahl, published as OPTIONAL_QUANTITY - a non-binding suggestion, no cap. */
|
|
19
19
|
optionalQuantity?: number;
|
|
20
20
|
/** IDM set (OPTIONAL_ITEM_GROUP.SET_NO) the optional reference belongs to - set iff a quantity is. */
|
|
21
21
|
optionalSetNo?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"additionalItemsCodec.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,0FAA0F;AAC1F,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,+EAA+E;AAC/E,eAAO,MAAM,UAAU,IAAI,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,
|
|
1
|
+
{"version":3,"file":"additionalItemsCodec.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,0FAA0F;AAC1F,eAAO,MAAM,cAAc,IAAI,CAAC;AAEhC,+EAA+E;AAC/E,eAAO,MAAM,UAAU,IAAI,CAAC;AAE5B,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,2FAA2F;IAC3F,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wGAAwG;IACxG,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4FAA4F;IAC5F,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,sGAAsG;IACtG,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAgBD,iHAAiH;AACjH,MAAM,WAAW,OAAO;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC;AAcD,wBAAgB,YAAY,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UAE3D;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CA6BjF;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EACpC,SAAS,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAC9C,QAAQ,EAAE,MAAM,aAAa,EAC7B,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,iCAuBpC;AAED;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,QAqC1H;AAED,yGAAyG;AACzG,wBAAgB,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAS7E;AAED,0FAA0F;AAC1F,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,YAIjD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Features.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAIvC,QAAA,MAAM,QAAQ;oBAGM,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CAiLnC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionSetRefForm.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/OptionSetRefForm.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"OptionSetRefForm.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/OptionCombinations/OptionSetRefForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAKzE,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACzB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,aAAa,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAExD,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,QAAQ,CAAC;IACnB,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAiBD,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,mBAAmB,GAAG,sBAAsB,CAgEpF;AAUD,wBAAgB,yBAAyB,CAAC,CAAC,EAAE,sBAAsB,GAAG,mBAAmB,CAsExF;AAED,UAAU,qBAAqB;IAC7B,gFAAgF;IAChF,KAAK,CAAC,EAAE,mBAAmB,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC7C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACtB;AAID,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,qBAAqB,qBAyZxH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,OAAO;oBAGO,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/Options.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,QAAA,MAAM,OAAO;oBAGO,MAAM;qBACL,WAAW;eACjB,SAAS;YACZ,oBAAoB,CAAC,GAAG,CAAC;6CA4VnC,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,
|
|
1
|
+
{"version":3,"file":"PartlistPos.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PartlistPos.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAqC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAc,oBAAoB,EAAsC,MAAM,4BAA4B,CAAC;AAMlH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,cAAc,EACd,OAAO,EACP,QAAQ,EACR,SAAS,EACT,KAAK,EACL,gBAAgB,EAChB,gCAAgC,EAChC,uBAA2B,EAC3B,gBAAgB,GACjB,EAAE;IACD,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,gHAAgH;IAChH,gCAAgC,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9D,0FAA0F;IAC1F,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBA+MA"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
4
|
-
export default function PriceFeatureGroupFinishes({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, agentBoundParent, }: {
|
|
4
|
+
export default function PriceFeatureGroupFinishes({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, onRowsSaved, agentBoundParent, }: {
|
|
5
5
|
priceFeatureGroup: any;
|
|
6
6
|
catalogId: string;
|
|
7
7
|
defaultLanguage?: string;
|
|
8
8
|
apiConfig: ApiConfig;
|
|
9
9
|
setNodeDataValue: (data: Record<string, any>) => Promise<boolean> | void;
|
|
10
|
-
setIsPercentage:
|
|
10
|
+
setIsPercentage: React.Dispatch<React.SetStateAction<boolean | undefined>>;
|
|
11
|
+
/** Called after every save: it can give the serie a new price key column (PRFG<groupNo>_…). */
|
|
12
|
+
onRowsSaved?: () => void;
|
|
11
13
|
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
12
14
|
agentBoundParent?: AgentBoundParent;
|
|
13
15
|
}): React.JSX.Element;
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PriceFeatureGroupFinishes.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,yBAAyB,CAAC,EAChD,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,gBAAgB,GACjB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAkPA"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ApiConfig } from '@crystaldesign/diva-core';
|
|
3
3
|
import type { AgentBoundParent } from '../../../store/GridRegistry';
|
|
4
|
-
export default function PriceFeatureGroupPercentageSurcharge({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, agentBoundParent, }: {
|
|
4
|
+
export default function PriceFeatureGroupPercentageSurcharge({ priceFeatureGroup, catalogId, defaultLanguage, apiConfig, setNodeDataValue, setIsPercentage, onRowsSaved, agentBoundParent, }: {
|
|
5
5
|
priceFeatureGroup: any;
|
|
6
6
|
catalogId: string;
|
|
7
7
|
defaultLanguage?: string;
|
|
8
8
|
apiConfig: ApiConfig;
|
|
9
9
|
setNodeDataValue: (data: Record<string, any>) => Promise<boolean> | void;
|
|
10
|
-
setIsPercentage:
|
|
10
|
+
setIsPercentage: React.Dispatch<React.SetStateAction<boolean | undefined>>;
|
|
11
|
+
/** Called after every save: it can give the serie a new price key column (PRFG<groupNo>_…). */
|
|
12
|
+
onRowsSaved?: () => void;
|
|
11
13
|
/** Set by the module that opens this subtable: the parent row it is bound to. */
|
|
12
14
|
agentBoundParent?: AgentBoundParent;
|
|
13
15
|
}): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PriceFeatureGroupPercentageSurcharge.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAMrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,oCAAoC,CAAC,EAC3D,iBAAiB,EACjB,SAAS,EACT,eAAe,EACf,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,gBAAgB,GACjB,EAAE;IACD,iBAAiB,EAAE,GAAG,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,SAAS,CAAC;IACrB,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IACzE,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC;IAC3E,+FAA+F;IAC/F,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBA6OA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** IDM requires FEATURE_TYPE/MEASURE/MEASURE_UNIT once MEASURE is there, which a measure parameter writes. */
|
|
2
|
+
export declare function measureUnitValidator(t: (key: string, options: {
|
|
3
|
+
defaultValue: string;
|
|
4
|
+
}) => string): ({ value, data }: {
|
|
5
|
+
value: unknown;
|
|
6
|
+
data: {
|
|
7
|
+
measureParameter?: string | null;
|
|
8
|
+
} | undefined;
|
|
9
|
+
}) => string | undefined;
|
|
10
|
+
//# sourceMappingURL=measureUnitValidator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"measureUnitValidator.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/measureUnitValidator.ts"],"names":[],"mappings":"AAAA,8GAA8G;AAC9G,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,KAAK,MAAM,qBAGvE;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE;QAAE,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAA;CAAE,wBAMpG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
interface CatalogRecord {
|
|
2
|
+
_id: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
isoLanguageIds?: string[];
|
|
5
|
+
major?: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Whether the tables may be built for this catalog: the IDM version (`major`) decides which fields they read and
|
|
9
|
+
* write, so a catalog record without it must not be edited yet.
|
|
10
|
+
*/
|
|
11
|
+
export declare function catalogVersionKnown(catalog?: Partial<CatalogRecord> | null): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* The catalog record as the tables use it: IDM stores no MAJOR for older 3.0 catalogs and serves them as 3.0
|
|
14
|
+
* (idm-service `CatalogController.Get`), so a loaded record without a version is a 3.0 catalog.
|
|
15
|
+
*/
|
|
16
|
+
export declare function withIdmVersion<T extends CatalogRecord>(record: T): T;
|
|
17
|
+
/**
|
|
18
|
+
* Whether a record of the open catalog (same id) should replace the one in the context. A record without the version
|
|
19
|
+
* never replaces one with it: the catalog selector delivers such a placeholder for a catalog outside its list
|
|
20
|
+
* (other organization in the URL, older version), and taking it would drop the version again.
|
|
21
|
+
*/
|
|
22
|
+
export declare function shouldReplaceCatalogRecord(current: CatalogRecord | undefined, incoming: CatalogRecord): boolean;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=catalogRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalogRecord.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/catalogRecord.ts"],"names":[],"mappings":"AAAA,UAAU,aAAa;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG,IAAI,GAAG,OAAO,CAEpF;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,CAAC,SAAS,aAAa,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,CAEpE;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,OAAO,EAAE,aAAa,GAAG,SAAS,EAAE,QAAQ,EAAE,aAAa,GAAG,OAAO,CAQ/G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCatalogContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useCatalogContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAU,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;
|
|
1
|
+
{"version":3,"file":"useCatalogContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/hooks/useCatalogContext.ts"],"names":[],"mappings":"AAGA,OAAO,EAAU,iBAAiB,EAAE,MAAM,sDAAsD,CAAC;AAyCjG;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,oBAAoB,MAAM,EAAE;8BAqD9C,GAAG,GAAG,SAAS;4BAOhB,GAAG,GAAG,SAAS;kCAOZ,GAAG,GAAG,SAAS;kCAOf,GAAG,GAAG,MAAM,YAAW,MAAM,EAAE,SAAyB,MAAM,UAAiB,OAAO;;;eAlGvF,MAAM;qBACA,GAAG;gBACR,MAAM;oBACF,MAAM;0BACA,iBAAiB;oBACvB,GAAG;yBACE,iBAAiB;mBACvB,GAAG;uBACC,iBAAiB;sBAClB,GAAG;0BACC,iBAAiB;CA0MxC,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqC,MAAM,OAAO,CAAC;AAwB1D;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;CAmN9B,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAuBxC;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;CAqEhC,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDetailInfos/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableDetailInfos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableDetailInfos/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAgBlD,eAAO,MAAM,gBAAgB;;CAyN3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAiB/C;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;;CAuGrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableOptions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAetC,eAAO,MAAM,YAAY;;CAoEvB,CAAC"}
|
package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePartlists/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAc5D,eAAO,MAAM,cAAc;;CAiPzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,eAAO,MAAM,uBAAuB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAgBvE,eAAO,MAAM,uBAAuB;;CA4QlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/modules/TableSeries/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAmCtE;;;GAGG;AACH,eAAO,MAAM,WAAW;;CAkkBtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionMembers.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/CollectionMembers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,MAAM,4BAA4B,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,UAAU,EACV,cAAc,EACd,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,UAAU,EAAE,GAAG,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,
|
|
1
|
+
{"version":3,"file":"CollectionMembers.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/CollectionMembers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAiB,MAAM,4BAA4B,CAAC;AAGjF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,UAAU,EACV,cAAc,EACd,SAAS,EACT,gBAAgB,GACjB,EAAE;IACD,UAAU,EAAE,GAAG,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,oBAAoB,CAAC,GAAG,CAAC,CAAC;IAClC,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC,qBAsHA"}
|
|
@@ -10,4 +10,18 @@ export declare function isPackageSelectableAsCollectionMember(packageData: {
|
|
|
10
10
|
};
|
|
11
11
|
isApi?: boolean;
|
|
12
12
|
} | undefined, organizationId: string, parentOrganizations: ParentOrganization[]): boolean;
|
|
13
|
+
/** The setting of a collection member that decides whether the publish adds new series to it. */
|
|
14
|
+
export interface CollectionMemberSeriesSetting {
|
|
15
|
+
autoIncludeNewSeries?: boolean | null;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Whether the publish adds every new serie of the live catalog to a member of a supplier collection. A member
|
|
19
|
+
* without the setting does, as every member did before the setting existed.
|
|
20
|
+
*/
|
|
21
|
+
export declare function addsNewSeriesAutomatically(member: CollectionMemberSeriesSetting | undefined): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the user chooses the series of a member: always in a regular collection, in a supplier collection only
|
|
24
|
+
* for a member the publish does not add new series to - otherwise the publish lists every serie of the live catalog.
|
|
25
|
+
*/
|
|
26
|
+
export declare function isSerieSelectionByHand(isSupplierCollection: boolean | undefined, member: CollectionMemberSeriesSetting | undefined): boolean;
|
|
13
27
|
//# sourceMappingURL=collectionMemberUtils.d.ts.map
|
package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collectionMemberUtils.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAEjI;;;;GAIG;AACH,wBAAgB,qCAAqC,CACnD,WAAW,EAAE;IAAE,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,EAC/F,cAAc,EAAE,MAAM,EACtB,mBAAmB,EAAE,kBAAkB,EAAE,GACxC,OAAO,CAIT"}
|
|
1
|
+
{"version":3,"file":"collectionMemberUtils.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmC,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAEjI;;;;GAIG;AACH,wBAAgB,qCAAqC,CACnD,WAAW,EAAE;IAAE,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,EAC/F,cAAc,EAAE,MAAM,EACtB,mBAAmB,EAAE,kBAAkB,EAAE,GACxC,OAAO,CAIT;AAED,iGAAiG;AACjG,MAAM,WAAW,6BAA6B;IAC5C,oBAAoB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACvC;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,6BAA6B,GAAG,SAAS,GAAG,OAAO,CAErG;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,oBAAoB,EAAE,OAAO,GAAG,SAAS,EAAE,MAAM,EAAE,6BAA6B,GAAG,SAAS,GAAG,OAAO,CAE5I"}
|
|
@@ -4,8 +4,9 @@ interface PriceFactorHeaderComponentProps {
|
|
|
4
4
|
* Callback to save the price factor value
|
|
5
5
|
* @param data - The data to save
|
|
6
6
|
* @param value - The value to save
|
|
7
|
+
* @param isDiscount - Per value whether it is shown as discount ([] when none is)
|
|
7
8
|
*/
|
|
8
|
-
onSave: (data: any, value: number[]) => Promise<void>;
|
|
9
|
+
onSave: (data: any, value: number[], isDiscount: boolean[]) => Promise<void>;
|
|
9
10
|
/**
|
|
10
11
|
* Callback to save the priority value
|
|
11
12
|
* @param value - The value to save
|
|
@@ -23,6 +24,10 @@ interface PriceFactorHeaderComponentProps {
|
|
|
23
24
|
* The value of the price factor
|
|
24
25
|
*/
|
|
25
26
|
value: number[];
|
|
27
|
+
/**
|
|
28
|
+
* Per value of the price factor whether it is shown as discount
|
|
29
|
+
*/
|
|
30
|
+
isDiscount?: boolean[];
|
|
26
31
|
/**
|
|
27
32
|
* The tooltip key for the input
|
|
28
33
|
*/
|
|
@@ -32,6 +37,6 @@ interface PriceFactorHeaderComponentProps {
|
|
|
32
37
|
*/
|
|
33
38
|
checkboxTooltip: string;
|
|
34
39
|
}
|
|
35
|
-
export default function PriceFactorHeaderComponent({ onSave, onPriorityChange, priority, priorityForced, value, inputTooltip, checkboxTooltip, }: PriceFactorHeaderComponentProps): React.JSX.Element;
|
|
40
|
+
export default function PriceFactorHeaderComponent({ onSave, onPriorityChange, priority, priorityForced, value, isDiscount, inputTooltip, checkboxTooltip, }: PriceFactorHeaderComponentProps): React.JSX.Element;
|
|
36
41
|
export {};
|
|
37
42
|
//# sourceMappingURL=PriceFactorHeaderComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceFactorHeaderComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,+BAA+B;IACvC
|
|
1
|
+
{"version":3,"file":"PriceFactorHeaderComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,+BAA+B;IACvC;;;;;OAKG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E;;;OAGG;IACH,gBAAgB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EACjD,MAAM,EACN,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,KAAK,EACL,UAAU,EACV,YAAY,EACZ,eAAe,GAChB,EAAE,+BAA+B,qBAwBjC"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface PriceFactorInputProps {
|
|
3
3
|
value: number[];
|
|
4
|
-
|
|
4
|
+
/** Per value whether it is shown as discount */
|
|
5
|
+
isDiscount?: boolean[];
|
|
6
|
+
onSave: (data: any, value: number[], isDiscount: boolean[]) => Promise<void>;
|
|
5
7
|
disabled?: boolean;
|
|
6
8
|
title?: string;
|
|
7
9
|
tooltip?: string;
|
|
8
10
|
className?: string;
|
|
9
11
|
}
|
|
10
|
-
export default function PriceFactorInput({ onSave, value, ...props }: PriceFactorInputProps): React.JSX.Element;
|
|
12
|
+
export default function PriceFactorInput({ onSave, value, isDiscount, ...props }: PriceFactorInputProps): React.JSX.Element;
|
|
11
13
|
export {};
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,UAAU,qBAAqB;IAC7B,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,gDAAgD;IAChD,UAAU,CAAC,EAAE,OAAO,EAAE,CAAC;IACvB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,qBA6BtG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAOrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAmBvE,UAAU,WAAW;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;IACF,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;IACf,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,WAAoB,WAAW;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAOrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAmBvE,UAAU,WAAW;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE;QACf,GAAG,EAAE,MAAM,CAAC;QACZ,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;IACF,SAAS,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,GAAG,CAAC;IACf,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,IAAI,CAAC;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,WAAoB,WAAW;;CAiZhD,CAAC"}
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts
CHANGED
|
@@ -7,13 +7,16 @@
|
|
|
7
7
|
export type PriceFactorScope = 'article' | 'typeKey' | 'priceFeatureGroup' | 'priceGroup' | 'serie';
|
|
8
8
|
/** Pricelist field per scope holding the factor map. */
|
|
9
9
|
export declare const PRICE_FACTOR_FIELDS: Record<PriceFactorScope, string>;
|
|
10
|
+
/** Pricelist field per scope holding, index by index beside the factors, whether each factor is shown as discount. */
|
|
11
|
+
export declare const PRICE_FACTOR_DISCOUNT_FIELDS: Record<PriceFactorScope, string>;
|
|
10
12
|
/** Pricelist field per scope holding the priority list map — only PFG and PG scopes support priority. */
|
|
11
13
|
export declare const PRICE_FACTOR_PRIORITY_FIELDS: Partial<Record<PriceFactorScope, string>>;
|
|
12
14
|
/**
|
|
13
|
-
* Computes the
|
|
14
|
-
*
|
|
15
|
+
* Computes the `setNodeDataValue` patch that applies — or, with an empty `value`, clears — a price factor for a
|
|
16
|
+
* scope/key on a serie. `key` is unused for scope 'serie'. `isDiscount` flags the factors shown as discount, index
|
|
17
|
+
* by index; empty when none is, which also clears flags left from before (e.g. when the agent sets factors).
|
|
15
18
|
*/
|
|
16
|
-
export declare function applyPriceFactor(pricelist: Record<string, any>, serieNo: number, scope: PriceFactorScope, key: string | undefined, value: number[]): Record<string, any>;
|
|
19
|
+
export declare function applyPriceFactor(pricelist: Record<string, any>, serieNo: number, scope: PriceFactorScope, key: string | undefined, value: number[], isDiscount?: boolean[]): Record<string, any>;
|
|
17
20
|
/** Computes the single-field `setNodeDataValue` patch that sets/clears the priority flag of a PFG or price-group factor. */
|
|
18
21
|
export declare function applyPriceFactorPriority(pricelist: Record<string, any>, serieNo: number, scope: PriceFactorScope, key: string, priority: boolean): Record<string, any>;
|
|
19
22
|
//# sourceMappingURL=priceFactorMutations.d.ts.map
|
package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceFactorMutations.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,uFAAuF;AACvF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,mBAAmB,GAAG,YAAY,GAAG,OAAO,CAAC;AAEpG,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAMhE,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,4BAA4B,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAGlF,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"priceFactorMutations.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,uFAAuF;AACvF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,mBAAmB,GAAG,YAAY,GAAG,OAAO,CAAC;AAEpG,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAMhE,CAAC;AAEF,sHAAsH;AACtH,eAAO,MAAM,4BAA4B,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAMzE,CAAC;AAEF,yGAAyG;AACzG,eAAO,MAAM,4BAA4B,EAAE,OAAO,CAAC,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAGlF,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,gBAAgB,EACvB,GAAG,EAAE,MAAM,GAAG,SAAS,EACvB,KAAK,EAAE,MAAM,EAAE,EACf,UAAU,GAAE,OAAO,EAAO,GACzB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAMrB;AAiDD,4HAA4H;AAC5H,wBAAgB,wBAAwB,CACtC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC9B,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,gBAAgB,EACvB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,OAAO,GAChB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAwBrB"}
|
|
@@ -10,7 +10,13 @@ export default function PriceFactorCellRenderer(props: Partial<CustomCellRendere
|
|
|
10
10
|
};
|
|
11
11
|
manualPrices: string[];
|
|
12
12
|
}, number[], DivaContext>> & {
|
|
13
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Saves the factors and, index by index, whether each is shown as discount ([] when none is).
|
|
15
|
+
* `nodeId` is the grid row of the cell; unset outside a grid.
|
|
16
|
+
*/
|
|
17
|
+
onSave: (data: any, value: number[], isDiscount: boolean[], nodeId?: string) => Promise<void>;
|
|
18
|
+
/** Reads the discount flags of the factors of a row; values without a flag are shown as factors */
|
|
19
|
+
getIsDiscount?: (data: any) => boolean[] | null | undefined;
|
|
14
20
|
/**
|
|
15
21
|
* if true, the component is used outside of an ag-grid cell, thus we have to handle the click event differently
|
|
16
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,KAAK,EAAE,OAAO,CACZ,uBAAuB,CACrB;IACE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,EACD,MAAM,EAAE,EACR,WAAW,CACZ,CACF,GAAG;IACF,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAC7C,KAAK,EAAE,OAAO,CACZ,uBAAuB,CACrB;IACE,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAClC,UAAU,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACtC,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB,EACD,MAAM,EAAE,EACR,WAAW,CACZ,CACF,GAAG;IACF;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9F,mGAAmG;IACnG,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,OAAO,EAAE,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5D;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,qBA4KF"}
|
|
@@ -6,27 +6,21 @@ export interface PriceEntry {
|
|
|
6
6
|
value: string;
|
|
7
7
|
/** The text as typed by the user; shown instead of the converted value so typing is not overwritten */
|
|
8
8
|
input?: string;
|
|
9
|
+
/** Whether the row is entered as factor or as discount; the stored value is always the factor */
|
|
10
|
+
type: PriceType;
|
|
9
11
|
/** Whether the current value is valid according to type rules */
|
|
10
12
|
isValid: boolean;
|
|
11
13
|
}
|
|
12
14
|
/** Largest discount in percent that can be entered */
|
|
13
15
|
export declare const MAX_DISCOUNT = 99.99999;
|
|
14
|
-
/** State container for both factor and discount entries */
|
|
15
|
-
export interface EntryState {
|
|
16
|
-
/** List of price factor entries (values > 1) */
|
|
17
|
-
factor: PriceEntry[];
|
|
18
|
-
/** List of discount entries (values between 0 and 1) */
|
|
19
|
-
discount: PriceEntry[];
|
|
20
|
-
}
|
|
21
16
|
/**
|
|
22
17
|
* Formats a list of values for display in the cell
|
|
23
18
|
* For both types, displays the actual factor value (e.g., 0.8 for 20% discount)
|
|
24
19
|
* @param values - The values to format
|
|
25
|
-
* @param type - The type of price modification
|
|
26
20
|
* @param locale - The locale to use for formatting
|
|
27
21
|
* @returns The formatted string with values separated by semicolons
|
|
28
22
|
*/
|
|
29
|
-
export declare const formatListValue: (values: number[],
|
|
23
|
+
export declare const formatListValue: (values: number[], locale: string) => string;
|
|
30
24
|
/**
|
|
31
25
|
* Converts an internal value to its display representation
|
|
32
26
|
* For factors: keeps the decimal value
|
|
@@ -48,7 +42,7 @@ export declare const convertToDisplayValue: (value: string, type: PriceType) =>
|
|
|
48
42
|
export declare const convertFromDisplayValue: (value: string, type: PriceType) => string;
|
|
49
43
|
/**
|
|
50
44
|
* Validates if an input value is valid for the given type
|
|
51
|
-
* For factors: must be
|
|
45
|
+
* For factors: must be > 0 (factors below 1 lower the price, factors above 1 raise it)
|
|
52
46
|
* For discounts: the discount must be between 0 and 99.99999 percent
|
|
53
47
|
* @param value - The value to validate
|
|
54
48
|
* @param type - The type of price modification
|
|
@@ -57,7 +51,7 @@ export declare const convertFromDisplayValue: (value: string, type: PriceType) =
|
|
|
57
51
|
export declare const isValidInput: (value: string, type: PriceType) => boolean;
|
|
58
52
|
/**
|
|
59
53
|
* Checks if a value is effective (should be saved)
|
|
60
|
-
* For factors: must be
|
|
54
|
+
* For factors: must not be 1 (1 is valid but leaves the price unchanged)
|
|
61
55
|
* For discounts: must be < 1 (a 0% discount is valid but not effective)
|
|
62
56
|
* @param value - The value to check
|
|
63
57
|
* @param type - The type of price modification
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"priceFactorHelpers.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9C,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IACzB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,uGAAuG;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,sDAAsD;AACtD,eAAO,MAAM,YAAY,WAAW,CAAC;AAKrC
|
|
1
|
+
{"version":3,"file":"priceFactorHelpers.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9C,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IACzB,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,uGAAuG;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iGAAiG;IACjG,IAAI,EAAE,SAAS,CAAC;IAChB,iEAAiE;IACjE,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,sDAAsD;AACtD,eAAO,MAAM,YAAY,WAAW,CAAC;AAKrC;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,WAAY,MAAM,EAAE,UAAU,MAAM,KAAG,MASlE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAItE,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,UAAW,MAAM,QAAQ,SAAS,KAAG,MAIxE,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,UAAW,MAAM,QAAQ,SAAS,KAAG,OAM7D,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,UAAW,MAAM,QAAQ,SAAS,KAAG,OAGjE,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,QAAO,MAAa,CAAC;AAEjD;;;;GAIG;AACH,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,OAE9C,CAAC"}
|