@crystaldesign/diva-backoffice 26.13.0-beta.9 → 26.13.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/build/esm/index.js +38156 -31648
  2. package/build/types/backoffice/src/Configuration.d.ts +2 -4
  3. package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
  4. package/build/types/backoffice/src/index.d.ts +2 -0
  5. package/build/types/backoffice/src/index.d.ts.map +1 -1
  6. package/build/types/backoffice/src/layout/Content/index.d.ts.map +1 -1
  7. package/build/types/backoffice/src/layout/DataEngine/views.d.ts.map +1 -1
  8. package/build/types/backoffice/src/layout/Detail.d.ts.map +1 -1
  9. package/build/types/backoffice/src/layout/Navigation/types.d.ts +4 -0
  10. package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
  11. package/build/types/backoffice/src/layout/ProductOnboarding/Content.d.ts +6 -0
  12. package/build/types/backoffice/src/layout/ProductOnboarding/Content.d.ts.map +1 -0
  13. package/build/types/backoffice/src/layout/ProductOnboarding/Navigation.d.ts +6 -0
  14. package/build/types/backoffice/src/layout/ProductOnboarding/Navigation.d.ts.map +1 -0
  15. package/build/types/backoffice/src/layout/ProductOnboarding/index.d.ts +4 -0
  16. package/build/types/backoffice/src/layout/ProductOnboarding/index.d.ts.map +1 -0
  17. package/build/types/backoffice/src/layout/ProductOnboarding/views.d.ts +10 -0
  18. package/build/types/backoffice/src/layout/ProductOnboarding/views.d.ts.map +1 -0
  19. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts +18 -1
  20. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts.map +1 -1
  21. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +20 -0
  22. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
  23. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts +1 -1
  24. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
  25. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
  26. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +41 -0
  27. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
  28. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts +46 -0
  29. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts.map +1 -0
  30. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/index.d.ts +8 -2
  31. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/index.d.ts.map +1 -1
  32. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/useWysiwygContentItem.d.ts.map +1 -1
  33. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  34. package/build/types/backoffice/src/store/ConfigurationStore.d.ts +0 -2
  35. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  36. package/build/types/backoffice/src/store/ContentStore.d.ts +8 -0
  37. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  38. package/build/types/backoffice/src/store/DataStore.d.ts.map +1 -1
  39. package/build/types/backoffice/src/store/DetailStore.d.ts +29 -2
  40. package/build/types/backoffice/src/store/DetailStore.d.ts.map +1 -1
  41. package/build/types/backoffice/src/store/RootStore.d.ts +11 -1
  42. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  43. package/build/types/backoffice/src/store/ToolBarStore.d.ts +25 -1
  44. package/build/types/backoffice/src/store/ToolBarStore.d.ts.map +1 -1
  45. package/build/types/backoffice/src/store/index.d.ts +3 -1
  46. package/build/types/backoffice/src/store/index.d.ts.map +1 -1
  47. package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts +2 -0
  48. package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts.map +1 -0
  49. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts +2 -0
  50. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts.map +1 -0
  51. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts +2 -0
  52. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts.map +1 -0
  53. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +8 -0
  54. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -1
  55. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.d.ts +2 -0
  56. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.d.ts.map +1 -0
  57. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts +2 -0
  58. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts.map +1 -0
  59. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.test.d.ts +2 -0
  60. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.test.d.ts.map +1 -0
  61. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openToolbarToolDisabled.test.d.ts +2 -0
  62. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openToolbarToolDisabled.test.d.ts.map +1 -0
  63. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.test.d.ts +2 -0
  64. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.test.d.ts.map +1 -0
  65. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts +2 -0
  66. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts.map +1 -0
  67. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts +2 -0
  68. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts.map +1 -0
  69. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts +2 -0
  70. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts.map +1 -0
  71. package/build/types/backoffice/src/tests/unit/store/DetailStore.replaceRightDetail.test.d.ts +2 -0
  72. package/build/types/backoffice/src/tests/unit/store/DetailStore.replaceRightDetail.test.d.ts.map +1 -0
  73. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.borrowTools.test.d.ts +2 -0
  74. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.borrowTools.test.d.ts.map +1 -0
  75. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.order.test.d.ts +2 -0
  76. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.order.test.d.ts.map +1 -0
  77. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.previewSettings.test.d.ts +2 -0
  78. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.previewSettings.test.d.ts.map +1 -0
  79. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/updateConfirmationReview.test.d.ts +2 -0
  80. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/updateConfirmationReview.test.d.ts.map +1 -0
  81. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/measureUnitValidator.test.d.ts +2 -0
  82. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/measureUnitValidator.test.d.ts.map +1 -0
  83. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionAssetFields.test.d.ts +2 -0
  84. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionAssetFields.test.d.ts.map +1 -0
  85. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts +2 -0
  86. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts.map +1 -0
  87. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/catalogRecord.test.d.ts +2 -0
  88. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/catalogRecord.test.d.ts.map +1 -0
  89. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogContext.test.d.ts +2 -0
  90. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogContext.test.d.ts.map +1 -0
  91. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertySchemaParity.test.d.ts +2 -0
  92. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertySchemaParity.test.d.ts.map +1 -0
  93. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts +12 -4
  94. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts.map +1 -1
  95. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts +4 -1
  96. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts.map +1 -1
  97. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +10 -6
  98. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
  99. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts.map +1 -1
  100. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts +10 -2
  101. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts.map +1 -1
  102. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts +9 -2
  103. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts.map +1 -1
  104. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.d.ts +15 -0
  105. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.d.ts.map +1 -0
  106. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts +9 -0
  107. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts.map +1 -0
  108. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts +15 -0
  109. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts.map +1 -0
  110. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts +13 -0
  111. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts.map +1 -0
  112. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts +9 -0
  113. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts.map +1 -0
  114. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts +9 -1
  115. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts.map +1 -1
  116. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts +11 -3
  117. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts.map +1 -1
  118. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts +4 -1
  119. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts.map +1 -1
  120. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts +13 -0
  121. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts.map +1 -0
  122. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/StatusLegend/index.d.ts.map +1 -1
  123. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts +16 -0
  124. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts.map +1 -0
  125. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts +5 -0
  126. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts.map +1 -1
  127. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts +3 -2
  128. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts.map +1 -1
  129. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.d.ts +2 -2
  130. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.d.ts.map +1 -1
  131. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts +4 -3
  132. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts.map +1 -1
  133. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts +12 -2
  134. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts.map +1 -1
  135. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts +16 -0
  136. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts.map +1 -0
  137. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +3 -3
  138. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
  139. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +42 -11
  140. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
  141. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts +7 -1
  142. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts.map +1 -1
  143. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleSearch.d.ts +22 -0
  144. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleSearch.d.ts.map +1 -0
  145. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.d.ts +14 -0
  146. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.d.ts.map +1 -0
  147. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts +8 -0
  148. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts.map +1 -1
  149. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts +16 -0
  150. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts.map +1 -0
  151. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts +9 -1
  152. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts.map +1 -1
  153. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/finalDeletes.d.ts +28 -0
  154. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/finalDeletes.d.ts.map +1 -0
  155. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts +4 -0
  156. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map +1 -1
  157. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts +35 -0
  158. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map +1 -1
  159. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts +7 -0
  160. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts.map +1 -1
  161. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts +9 -0
  162. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts.map +1 -0
  163. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts +19 -0
  164. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts.map +1 -0
  165. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapNrList.d.ts +28 -0
  166. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapNrList.d.ts.map +1 -0
  167. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts +19 -0
  168. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts.map +1 -0
  169. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliExport/index.d.ts +13 -6
  170. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliExport/index.d.ts.map +1 -1
  171. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliImport/index.d.ts +13 -0
  172. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliImport/index.d.ts.map +1 -0
  173. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts +5 -2
  174. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts.map +1 -1
  175. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/index.d.ts +2 -1
  176. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/index.d.ts.map +1 -1
  177. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts +17 -0
  178. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts.map +1 -0
  179. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts.map +1 -1
  180. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/index.d.ts.map +1 -1
  181. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts +2 -0
  182. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts.map +1 -1
  183. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/types.d.ts +0 -4
  184. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/types.d.ts.map +1 -1
  185. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/index.d.ts +13 -0
  186. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/index.d.ts.map +1 -0
  187. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts +20 -0
  188. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts.map +1 -0
  189. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts +9 -0
  190. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts.map +1 -0
  191. package/build/types/backoffice/src/ui/AssortmentManager/config/articleTransfer.d.ts.map +1 -1
  192. package/build/types/backoffice/src/ui/AssortmentManager/config/colliExport.d.ts +2 -2
  193. package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.d.ts +4 -3
  194. package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.d.ts.map +1 -1
  195. package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
  196. package/build/types/backoffice/src/ui/AssortmentManager/config/readiness.d.ts.map +1 -1
  197. package/build/types/backoffice/src/ui/AssortmentManager/hooks/useApi2Sync.d.ts +12 -4
  198. package/build/types/backoffice/src/ui/AssortmentManager/hooks/useApi2Sync.d.ts.map +1 -1
  199. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +1 -3
  200. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts.map +1 -1
  201. package/build/types/backoffice/src/ui/AssortmentManager/logic/itemRows.d.ts +2 -0
  202. package/build/types/backoffice/src/ui/AssortmentManager/logic/itemRows.d.ts.map +1 -1
  203. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSearch.test.d.ts +2 -0
  204. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSearch.test.d.ts.map +1 -0
  205. package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts +2 -0
  206. package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts.map +1 -0
  207. package/build/types/backoffice/src/ui/AssortmentManager/tests/colliExportSearch.test.d.ts +2 -0
  208. package/build/types/backoffice/src/ui/AssortmentManager/tests/colliExportSearch.test.d.ts.map +1 -0
  209. package/build/types/backoffice/src/ui/AssortmentManager/tests/finalDeletes.test.d.ts +2 -0
  210. package/build/types/backoffice/src/ui/AssortmentManager/tests/finalDeletes.test.d.ts.map +1 -0
  211. package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts +2 -0
  212. package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts.map +1 -0
  213. package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts +2 -0
  214. package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts.map +1 -0
  215. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapNrList.test.d.ts +2 -0
  216. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapNrList.test.d.ts.map +1 -0
  217. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts +2 -0
  218. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts.map +1 -0
  219. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierColors.test.d.ts +2 -0
  220. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierColors.test.d.ts.map +1 -0
  221. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +67 -4
  222. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
  223. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts +2 -0
  224. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts.map +1 -1
  225. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +6 -0
  226. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  227. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts +44 -0
  228. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts.map +1 -0
  229. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/ErrorDisplay.d.ts +3 -1
  230. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/ErrorDisplay.d.ts.map +1 -1
  231. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/index.d.ts +1 -1
  232. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/index.d.ts.map +1 -1
  233. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/types.d.ts +10 -0
  234. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/types.d.ts.map +1 -1
  235. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/useUploadState.d.ts +2 -0
  236. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/useUploadState.d.ts.map +1 -1
  237. package/build/types/backoffice/src/ui/CommonComponents/useBorrowedTools.d.ts +8 -0
  238. package/build/types/backoffice/src/ui/CommonComponents/useBorrowedTools.d.ts.map +1 -0
  239. package/build/types/backoffice/src/ui/ContentItems/ContentItemPanel.d.ts +22 -0
  240. package/build/types/backoffice/src/ui/ContentItems/ContentItemPanel.d.ts.map +1 -0
  241. package/build/types/backoffice/src/ui/ContentItems/api.d.ts +18 -0
  242. package/build/types/backoffice/src/ui/ContentItems/api.d.ts.map +1 -0
  243. package/build/types/backoffice/src/ui/ContentItems/editor.d.ts +21 -0
  244. package/build/types/backoffice/src/ui/ContentItems/editor.d.ts.map +1 -0
  245. package/build/types/backoffice/src/ui/ContentItems/useContentItem.d.ts +11 -0
  246. package/build/types/backoffice/src/ui/ContentItems/useContentItem.d.ts.map +1 -0
  247. package/build/types/backoffice/src/ui/Form/Fields/Translation/useTranslationForm.d.ts +2 -0
  248. package/build/types/backoffice/src/ui/Form/Fields/Translation/useTranslationForm.d.ts.map +1 -1
  249. package/build/types/backoffice/src/ui/Form/elements.d.ts.map +1 -1
  250. package/build/types/backoffice/src/ui/Form/index.d.ts +4 -0
  251. package/build/types/backoffice/src/ui/Form/index.d.ts.map +1 -1
  252. package/build/types/backoffice/src/ui/Form/useFormData.d.ts +3 -1
  253. package/build/types/backoffice/src/ui/Form/useFormData.d.ts.map +1 -1
  254. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts +2 -2
  255. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts.map +1 -1
  256. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
  257. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/OptionSetRefForm.d.ts.map +1 -1
  258. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  259. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
  260. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +4 -2
  261. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  262. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +4 -2
  263. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  264. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts +10 -0
  265. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts.map +1 -0
  266. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/catalogRecord.d.ts +24 -0
  267. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/catalogRecord.d.ts.map +1 -0
  268. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  269. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts.map +1 -1
  270. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
  271. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDetailInfos/index.d.ts.map +1 -1
  272. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  273. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts.map +1 -1
  274. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
  275. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
  276. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  277. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts.map +1 -1
  278. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts +14 -0
  279. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts.map +1 -1
  280. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts +7 -2
  281. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts.map +1 -1
  282. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts +4 -2
  283. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts.map +1 -1
  284. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
  285. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts +6 -3
  286. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -1
  287. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts +7 -1
  288. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts.map +1 -1
  289. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts +5 -11
  290. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts.map +1 -1
  291. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts +8 -5
  292. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts.map +1 -1
  293. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/MismatchedValueCell.d.ts +13 -0
  294. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/MismatchedValueCell.d.ts.map +1 -0
  295. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyInfo.d.ts +10 -0
  296. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyInfo.d.ts.map +1 -0
  297. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts +29 -0
  298. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts.map +1 -0
  299. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/RemovePropertyButton.d.ts +9 -0
  300. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/RemovePropertyButton.d.ts.map +1 -0
  301. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts.map +1 -1
  302. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts +16 -20
  303. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts.map +1 -1
  304. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/usePropertyInfoDrawer.d.ts +14 -0
  305. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/usePropertyInfoDrawer.d.ts.map +1 -0
  306. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  307. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts +2 -2
  308. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts.map +1 -1
  309. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
  310. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
  311. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts +20 -0
  312. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts.map +1 -0
  313. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/globalContentItem.d.ts +16 -0
  314. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/globalContentItem.d.ts.map +1 -0
  315. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/PropertyContentItemPanel.d.ts +11 -0
  316. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/PropertyContentItemPanel.d.ts.map +1 -0
  317. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/index.d.ts.map +1 -1
  318. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts +5 -0
  319. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts.map +1 -1
  320. package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts +4 -0
  321. package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts.map +1 -1
  322. package/build/types/backoffice/src/ui/MediaUpload/useMediaUpload.d.ts.map +1 -1
  323. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts +1 -1
  324. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
  325. package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts +26 -3
  326. package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts.map +1 -1
  327. package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts +18 -0
  328. package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts.map +1 -0
  329. package/build/types/backoffice/src/ui/TreeChart/OrgItem/index.d.ts.map +1 -1
  330. package/build/types/backoffice/src/ui/TreeChart/ZoomWrapper/index.d.ts.map +1 -1
  331. package/build/types/backoffice/src/ui/TreeChart/getNewChildData.d.ts +10 -0
  332. package/build/types/backoffice/src/ui/TreeChart/getNewChildData.d.ts.map +1 -0
  333. package/build/types/backoffice/src/ui/TreeChart/types.d.ts +7 -1
  334. package/build/types/backoffice/src/ui/TreeChart/types.d.ts.map +1 -1
  335. package/package.json +18 -14
  336. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts +0 -5
  337. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts.map +0 -1
  338. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/types.d.ts +0 -5
  339. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/types.d.ts.map +0 -1
  340. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts +0 -16
  341. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts.map +0 -1
  342. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts +0 -22
  343. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts.map +0 -1
  344. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts +0 -3
  345. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts.map +0 -1
  346. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/AdoptGlobalModal.d.ts +0 -15
  347. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/AdoptGlobalModal.d.ts.map +0 -1
  348. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts +0 -3
  349. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +0 -1
@@ -0,0 +1,14 @@
1
+ import type { MarkedArticle } from './markedArticles';
2
+ /** A legacy required field of the classification. */
3
+ export type ClassificationRequiredField = 'supplierArticleNr' | 'shortText';
4
+ /** An article the classification is refused for, with the required fields it lacks. */
5
+ export interface ClassificationBlocker {
6
+ article: MarkedArticle;
7
+ missing: ClassificationRequiredField[];
8
+ }
9
+ /**
10
+ * The articles that may not be classified yet — the legacy assortment manager's check before its classification tool
11
+ * opened: every article needs its supplier article number (`SAP_EINA_IDNLF`) and its German short text (`SAP_MAKT`).
12
+ */
13
+ export declare function classificationBlockers(articles: MarkedArticle[]): ClassificationBlocker[];
14
+ //# sourceMappingURL=classificationRequiredFields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classificationRequiredFields.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,qDAAqD;AACrD,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,WAAW,CAAC;AAE5E,uFAAuF;AACvF,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,2BAA2B,EAAE,CAAC;CACxC;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,qBAAqB,EAAE,CAOzF"}
@@ -12,4 +12,12 @@ export interface ClassificationTarget {
12
12
  * A row without an id (none in practice — the grid's selection reader skips them) is left out.
13
13
  */
14
14
  export declare function classificationTarget(rows: Record<string, unknown>[]): ClassificationTarget;
15
+ /**
16
+ * The link that opens the portal's CLASSIFICATION module on these articles — the product list's "copy URL": the
17
+ * current page's query parameters kept, the ids `;`-joined as its `id` parameter.
18
+ */
19
+ export declare function classificationLink(location: {
20
+ origin: string;
21
+ search: string;
22
+ }, ids: string[]): string;
15
23
  //# sourceMappingURL=classificationSelection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"classificationSelection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationSelection.ts"],"names":[],"mappings":"AAAA,mHAAmH;AACnH,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,8DAA8D;IAC9D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,oBAAoB,CAG1F"}
1
+ {"version":3,"file":"classificationSelection.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/classificationSelection.ts"],"names":[],"mappings":"AAAA,mHAAmH;AACnH,eAAO,MAAM,2BAA2B,MAAM,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,+CAA+C;IAC/C,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,8DAA8D;IAC9D,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,oBAAoB,CAG1F;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,MAAM,CAKtG"}
@@ -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"}
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"duplicateArticle.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.ts"],"names":[],"mappings":"AAEA,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAa1C;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,GAAG,UAAU,CAclF"}
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"}
@@ -0,0 +1,28 @@
1
+ /** An entry of a bulk answer's error lists, naming the row by its position in the request list. */
2
+ interface BulkErrorEntry {
3
+ index?: number;
4
+ resolved?: boolean;
5
+ }
6
+ /** The parts of the catalog's bulk answer (`POST /v1/products/bulk`) read and written here; the rest passes through. */
7
+ interface BulkAnswer {
8
+ errors?: {
9
+ remove?: BulkErrorEntry[];
10
+ [list: string]: unknown;
11
+ };
12
+ }
13
+ /** The bulk request the answer belongs to: lists of rows per operation, the deletes as their ids. */
14
+ interface BulkRequest {
15
+ remove?: unknown[];
16
+ [list: string]: unknown;
17
+ }
18
+ /**
19
+ * Makes the deletes of a bulk answer final for the grid (its `reviewBulkResponse`): every delete the catalog confirmed
20
+ * gets a `resolved` entry — the grid's word for "saved, but not undoable" — so the grid books the row as deleted, drops
21
+ * its whole undo history (an undo of an older edit of the row would restore it as well) and announces the delete
22
+ * without the revert button. A delete cannot be undone here: the legacy SM removes the article with it and API2
23
+ * archives the catalog product on top (`../hooks/useApi2Sync`), a restored article would come back archived. Refused
24
+ * deletes keep their error.
25
+ */
26
+ export declare function withFinalDeletes<T extends BulkAnswer>(response: T, request: BulkRequest): T;
27
+ export {};
28
+ //# sourceMappingURL=finalDeletes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"finalDeletes.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/finalDeletes.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wHAAwH;AACxH,UAAU,UAAU;IAClB,MAAM,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,cAAc,EAAE,CAAC;QAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAC;CACjE;AAED,qGAAqG;AACrG,UAAU,WAAW;IACnB,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC;IACnB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CACzB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,UAAU,EAAE,QAAQ,EAAE,CAAC,EAAE,OAAO,EAAE,WAAW,GAAG,CAAC,CAQ3F"}
@@ -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
@@ -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"}
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"planningTransfer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/planningTransfer.ts"],"names":[],"mappings":"AAQA,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAK1C,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"}
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
@@ -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;AAoBnG;;;;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"}
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"}
@@ -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
@@ -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"}
@@ -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
@@ -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,28 @@
1
+ /** An article found for a pasted SAP number — what the lookup projects to. */
2
+ export interface SapNrProduct {
3
+ _id: unknown;
4
+ retailerArticleNr?: unknown;
5
+ }
6
+ /** The outcome of a pasted SAP number list: the articles to classify, and the numbers no article has. */
7
+ export interface SapNrListMatch {
8
+ /** The found articles' ids, in the order of the list. */
9
+ ids: string[];
10
+ /** The numbers of the list without an article, in the order of the list. */
11
+ notFound: string[];
12
+ }
13
+ /**
14
+ * The distinct SAP numbers of a pasted list. Anything between them separates: line breaks (an Excel column), tabs
15
+ * (an Excel row), `;` (the article search's separator), `,` and spaces.
16
+ */
17
+ export declare function parseSapNrList(input: string): string[];
18
+ /**
19
+ * The query grammar filter for the articles of a SAP number list: exactly by `retailerArticleNr` — the SAP number the
20
+ * catalog mirrors from `SAP_MARA_MATNR`, as the product list's SAP number classification matches — among the articles
21
+ * the article table shows the user: the organization's SM articles (supplier and EK group set), not archived, no
22
+ * header rows, not deleted, within the user's allowed values. Returns undefined when nothing can match: no number
23
+ * fits the grammar, or a restricted field allows no value at all (the table shows nothing then either).
24
+ */
25
+ export declare function sapNrListFilter(organizationId: string, sapNrs: string[], allowedValues: Record<string, string[] | undefined>): string | undefined;
26
+ /** Pairs the list with the articles found for it: every article of a number (a number may have several), else the number as unfound. */
27
+ export declare function matchSapNrList(sapNrs: string[], products: SapNrProduct[]): SapNrListMatch;
28
+ //# sourceMappingURL=sapNrList.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sapNrList.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/sapNrList.ts"],"names":[],"mappings":"AAGA,8EAA8E;AAC9E,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,OAAO,CAAC;IACb,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,yGAAyG;AACzG,MAAM,WAAW,cAAc;IAC7B,yDAAyD;IACzD,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAEtD;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,MAAM,GAAG,SAAS,CAsBjJ;AAED,wIAAwI;AACxI,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,cAAc,CASzF"}
@@ -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"}
@@ -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: instead of the marked rows
8
- * it exports exactly what the table shows — the grid's own search and sort (pre filter, predefined views, search
9
- * text, column filters) go unchanged in the body of the COLLI_DATA datafeed's POST, since both read through the
10
- * same product search.
11
- * Saves the file, or tells that the service mails it; a table that shows nothing has nothing to export.
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;AASxC,UAAU,gBAAgB;IACxB,+GAA+G;IAC/G,WAAW,EAAE,MAAM,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;CAC/C;AAED;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,WAAW,EAAE,EAAE,gBAAgB,qBAoDpE"}
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"}
@@ -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"}
@@ -1,19 +1,22 @@
1
1
  import React from 'react';
2
+ import type { NotificationInstance } from 'antd/es/notification/interface';
2
3
  import { DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
3
4
  import { AssortmentManagerViewCondition } from '../../../types';
4
5
  interface ColliTableProps {
5
- /** Free text of the page's search input — the grid ORs it over the article search fields. */
6
+ /** Free text of the page's search input — each `;`-separated term is ORed over the article search fields. */
6
7
  searchTerm?: string;
7
8
  /** Page-level hooks, e.g. the API2 sync after a save. */
8
9
  hooks?: DivaSpreadsheetHooks<Record<string, unknown>>;
9
10
  /** The conditions of the active predefined views — joined into the pre filter. */
10
11
  viewConditions?: AssortmentManagerViewCondition[];
12
+ /** The page's notifications — a failed load reports while the table still shows its spinner. */
13
+ notify: NotificationInstance;
11
14
  }
12
15
  /**
13
16
  * The articles of the Kollidaten page as a server-side grid: the same articles and saves as the article table
14
17
  * (pre filter, `/v1/products/query`, one bulk request per commit), but only the Colli columns
15
18
  * (`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,
19
+ * 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
20
  * the reason is the tooltip of its Colli cells.
18
21
  */
19
22
  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,6FAA6F;IAC7F,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,sHAsEd,CAAC;AAEH,eAAe,UAAU,CAAC"}
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,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,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;IAClD,gGAAgG;IAChG,MAAM,EAAE,oBAAoB,CAAC;CAC9B;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 what the table shows as a file (`config/colliExport.ts`).
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,KAAoC,MAAM,OAAO,CAAC;AAczD;;;;;GAKG;AACH,iBAAS,SAAS,sBA2DjB;;;;AAED,wBAAmC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ColliData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAkBtE;;;;;;GAMG;AACH,iBAAS,SAAS,sBAoFjB;;;;AAED,wBAAmC"}
@@ -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
@@ -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"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/HeaderData/components/Content/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAGxE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAgDhD,UAAU,YAAY;IACpB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,gGAAgG;IAChG,QAAQ,EAAE,qBAAqB,CAAC;IAChC,4GAA4G;IAC5G,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChD,uGAAuG;IACvG,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,sGAAsG;IACtG,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;;;GAKG;AACH,iBAAS,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,YAAY,qBA2MnI;AAED,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/HeaderData/components/Content/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAGxE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAiDhD,UAAU,YAAY;IACpB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,gGAAgG;IAChG,QAAQ,EAAE,qBAAqB,CAAC;IAChC,4GAA4G;IAC5G,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB;;;;OAIG;IACH,aAAa,EAAE,MAAM,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChD,uGAAuG;IACvG,eAAe,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACxD;;;OAGG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,sGAAsG;IACtG,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACzC,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED;;;;;GAKG;AACH,iBAAS,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,aAAa,EAAE,eAAe,EAAE,aAAa,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,YAAY,qBA6MnI;AAED,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/HeaderData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA0CjF,iBAAS,UAAU,sBAyXlB;;;;AAED,wBAAoC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/HeaderData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA2CjF,iBAAS,UAAU,sBA2XlB;;;;AAED,wBAAoC"}
@@ -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
@@ -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,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,WAAW,wCAAyC,SAAQ,sBAAsB;IACtF,IAAI,EAAE,6BAA6B,CAAC;CACrC;AAED;;;;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
+ {"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"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ /**
3
+ * The Lieferantenfarben page of the assortment manager: imports a supplier's colors file (XML) through the legacy
4
+ * API2 import (`logic/supplierColorsImport.ts`). Choose the supplier, add the file, start — the file is checked first
5
+ * (`logic/supplierColorsFile.ts`), since API2 replaces all colors of the supplier with the file's. The import runs in
6
+ * the background and mails its outcome; the page only reports the start. No EKG: API2 keeps the colors per supplier.
7
+ */
8
+ declare function SupplierColors(): React.JSX.Element;
9
+ declare const _default: typeof SupplierColors & {
10
+ displayName: string;
11
+ };
12
+ export default _default;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/SupplierColors/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAWxC;;;;;GAKG;AACH,iBAAS,cAAc,sBA8HtB;;;;AAED,wBAAwC"}
@@ -0,0 +1,20 @@
1
+ /** What keeps a supplier colors file from being imported. */
2
+ export type SupplierColorsFileIssue = {
3
+ reason: 'invalidXml';
4
+ } | {
5
+ reason: 'noColors';
6
+ }
7
+ /** The `SupplierNumber`s of the file that differ from the chosen supplier — a missing one as the empty string. */
8
+ | {
9
+ reason: 'otherSupplier';
10
+ supplierNumbers: string[];
11
+ };
12
+ /**
13
+ * Checks a supplier colors file before it goes to API2. `importsuppliercolors` deletes every color of the supplier and
14
+ * inserts the file's `<COLOR>` elements, so a file it reads as empty — no `<COLOR>`, or all of them in a namespace
15
+ * (the XSD declares `targetNamespace="SupplierColors"`) — would wipe the supplier's colors. The file is read the way
16
+ * API2 reads it: `<COLOR>` elements without namespace, their `SupplierNumber` a direct child without namespace,
17
+ * compared verbatim (`00554` is not `554`). Returns undefined for a file that may be imported.
18
+ */
19
+ export declare function checkSupplierColorsFile(xml: string, supplierNr: string): SupplierColorsFileIssue | undefined;
20
+ //# sourceMappingURL=supplierColorsFile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supplierColorsFile.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,MAAM,MAAM,uBAAuB,GAC/B;IAAE,MAAM,EAAE,YAAY,CAAA;CAAE,GACxB;IAAE,MAAM,EAAE,UAAU,CAAA;CAAE;AACxB,kHAAkH;GAChH;IAAE,MAAM,EAAE,eAAe,CAAC;IAAC,eAAe,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAE3D;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,uBAAuB,GAAG,SAAS,CAc5G"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Starts the legacy supplier colors import of API2 — the endpoint the legacy SM's "Lieferantenfarben importieren" used,
3
+ * on the EK server, where the classification reads the colors (`getjsonsuppliercolors`). `function=upload` stores the
4
+ * file in the session's inbox under its name, `function=importsuppliercolors` imports it from there in the background:
5
+ * it replaces all colors of the supplier with the file's and renames them in the classification of the supplier's
6
+ * articles. The outcome is mailed to the session's user; this only reports whether the import started.
7
+ */
8
+ export declare function startSupplierColorsImport(api2Url: string, sessionGuid: string, file: File, supplierNr: string): Promise<void>;
9
+ //# sourceMappingURL=supplierColorsImport.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supplierColorsImport.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.ts"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAUnI"}
@@ -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,gCAO9B,CAAC"}
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 exactly the articles the table shows, sorted as the table sorts. Requested
5
- * by POST with the table's query in the body (`components/ColliExport`).
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