@crystaldesign/diva-backoffice 26.12.0-beta.2 → 26.12.0-beta.21

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 (289) hide show
  1. package/build/esm/index.js +20574 -4577
  2. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts +38 -0
  3. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts.map +1 -0
  4. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/index.d.ts +11 -0
  5. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/index.d.ts.map +1 -0
  6. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.d.ts +21 -0
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/plannerSemantics.d.ts.map +1 -0
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.d.ts +47 -0
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/primitives.d.ts.map +1 -0
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/recipes.d.ts +21 -0
  11. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/recipes.d.ts.map +1 -0
  12. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/render.d.ts +40 -0
  13. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/render.d.ts.map +1 -0
  14. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/style.d.ts +147 -0
  15. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/style.d.ts.map +1 -0
  16. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.d.ts +20 -0
  17. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/templates.d.ts.map +1 -0
  18. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/types.d.ts +129 -0
  19. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/articleSvg/types.d.ts.map +1 -0
  20. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +13 -4
  21. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
  22. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts +10 -0
  23. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts.map +1 -0
  24. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts +2 -4
  25. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts.map +1 -1
  26. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
  27. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts +121 -0
  28. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -0
  29. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +33 -17
  30. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
  31. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/CatalogSelection/index.d.ts.map +1 -1
  32. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts +15 -0
  33. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts.map +1 -0
  34. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.d.ts.map +1 -1
  35. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/useWysiwygConfigurator.d.ts.map +1 -1
  36. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  37. package/build/types/backoffice/src/store/ConfigurationStore.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/GridRegistry.d.ts +60 -1
  40. package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -1
  41. package/build/types/backoffice/src/store/RootStore.d.ts +1 -1
  42. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  43. package/build/types/backoffice/src/store/ToolBarStore.d.ts +5 -0
  44. package/build/types/backoffice/src/store/ToolBarStore.d.ts.map +1 -1
  45. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts +35 -8
  46. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts.map +1 -1
  47. package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts +2 -0
  48. package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts.map +1 -0
  49. package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts +2 -0
  50. package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts.map +1 -0
  51. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.d.ts +2 -0
  52. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsDryRun.test.d.ts.map +1 -0
  53. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.d.ts +2 -0
  54. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsLookupReuse.test.d.ts.map +1 -0
  55. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts +2 -0
  56. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsReceipt.test.d.ts.map +1 -0
  57. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsRowRule.test.d.ts +2 -0
  58. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsRowRule.test.d.ts.map +1 -0
  59. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsTsv.test.d.ts +2 -0
  60. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/addRowsTsv.test.d.ts.map +1 -0
  61. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts +2 -0
  62. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts.map +1 -0
  63. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.d.ts +2 -0
  64. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.d.ts.map +1 -0
  65. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgMatrix.test.d.ts +2 -0
  66. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgMatrix.test.d.ts.map +1 -0
  67. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgPlannerIntegration.test.d.ts +2 -0
  68. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgPlannerIntegration.test.d.ts.map +1 -0
  69. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgStyle.test.d.ts +2 -0
  70. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgStyle.test.d.ts.map +1 -0
  71. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgTemplates.test.d.ts +2 -0
  72. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/articleSvgTemplates.test.d.ts.map +1 -0
  73. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts +2 -0
  74. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts.map +1 -0
  75. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts +2 -0
  76. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts.map +1 -0
  77. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/discardStagedChanges.test.d.ts +2 -0
  78. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/discardStagedChanges.test.d.ts.map +1 -0
  79. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/dryRunNeverWrites.test.d.ts +2 -0
  80. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/dryRunNeverWrites.test.d.ts.map +1 -0
  81. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/failedReceipt.test.d.ts +2 -0
  82. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/failedReceipt.test.d.ts.map +1 -0
  83. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +206 -0
  84. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -0
  85. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts +2 -0
  86. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts.map +1 -0
  87. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/getAssetUrls.test.d.ts +2 -0
  88. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/getAssetUrls.test.d.ts.map +1 -0
  89. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/listGridsCompact.test.d.ts +2 -0
  90. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/listGridsCompact.test.d.ts.map +1 -0
  91. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts +2 -0
  92. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts.map +1 -0
  93. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowUnverified.test.d.ts +2 -0
  94. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowUnverified.test.d.ts.map +1 -0
  95. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts +2 -0
  96. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts.map +1 -0
  97. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts +2 -0
  98. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts.map +1 -0
  99. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.d.ts +2 -0
  100. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.d.ts.map +1 -0
  101. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.d.ts +2 -0
  102. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/partlistposActions.test.d.ts.map +1 -0
  103. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts +2 -0
  104. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts.map +1 -0
  105. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsSearch.test.d.ts +2 -0
  106. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsSearch.test.d.ts.map +1 -0
  107. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readGridRowsCreatorRow.test.d.ts +2 -0
  108. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readGridRowsCreatorRow.test.d.ts.map +1 -0
  109. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts +2 -0
  110. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/recordIdAsRowId.test.d.ts.map +1 -0
  111. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/removeColumn.test.d.ts +2 -0
  112. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/removeColumn.test.d.ts.map +1 -0
  113. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts +2 -0
  114. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts.map +1 -0
  115. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts +2 -0
  116. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts.map +1 -0
  117. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts +2 -0
  118. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts.map +1 -0
  119. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts +2 -0
  120. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts.map +1 -0
  121. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts +2 -0
  122. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/subtableParentBinding.test.d.ts.map +1 -0
  123. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts +2 -0
  124. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts.map +1 -0
  125. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/writeRowLimit.test.d.ts +2 -0
  126. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/writeRowLimit.test.d.ts.map +1 -0
  127. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts +2 -0
  128. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts.map +1 -0
  129. package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts +2 -0
  130. package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts.map +1 -0
  131. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts +2 -0
  132. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts.map +1 -0
  133. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts +2 -0
  134. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts.map +1 -0
  135. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionCombinationColumns.test.d.ts +2 -0
  136. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionCombinationColumns.test.d.ts.map +1 -0
  137. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/partlistPosColumns.test.d.ts +2 -0
  138. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/partlistPosColumns.test.d.ts.map +1 -0
  139. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/components/SvgGeneratorTool.test.d.ts +2 -0
  140. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/components/SvgGeneratorTool.test.d.ts.map +1 -0
  141. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRows.test.d.ts +2 -0
  142. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRows.test.d.ts.map +1 -0
  143. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRowsJwt.test.d.ts +2 -0
  144. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogRowsJwt.test.d.ts.map +1 -0
  145. package/build/types/backoffice/src/tests/unit/ui/IDMCollectionEditor/Tables/collectionMemberUtils.test.d.ts +2 -0
  146. package/build/types/backoffice/src/tests/unit/ui/IDMCollectionEditor/Tables/collectionMemberUtils.test.d.ts.map +1 -0
  147. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts +2 -0
  148. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts.map +1 -0
  149. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/publishUtils.test.d.ts +2 -0
  150. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/publishUtils.test.d.ts.map +1 -0
  151. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts +2 -0
  152. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts.map +1 -0
  153. package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts +2 -0
  154. package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts.map +1 -0
  155. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +10 -2
  156. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
  157. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts +15 -0
  158. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts.map +1 -0
  159. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useRefreshHeaderValues.d.ts +9 -0
  160. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useRefreshHeaderValues.d.ts.map +1 -0
  161. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +5 -2
  162. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
  163. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +3 -2
  164. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
  165. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerLink.d.ts +38 -0
  166. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerLink.d.ts.map +1 -0
  167. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts +40 -0
  168. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map +1 -0
  169. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.d.ts +3 -2
  170. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.d.ts.map +1 -1
  171. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts +1 -1
  172. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts.map +1 -1
  173. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useAffectedProducts.d.ts +6 -6
  174. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts +14 -0
  175. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts.map +1 -1
  176. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.d.ts +7 -6
  177. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.d.ts.map +1 -1
  178. package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
  179. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerLink.test.d.ts +2 -0
  180. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerLink.test.d.ts.map +1 -0
  181. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerSync.test.d.ts +2 -0
  182. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerSync.test.d.ts.map +1 -0
  183. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +6 -0
  184. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
  185. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts +7 -0
  186. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts.map +1 -0
  187. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts +7 -0
  188. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts.map +1 -0
  189. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts +21 -0
  190. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts.map +1 -0
  191. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +7 -0
  192. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  193. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts.map +1 -1
  194. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.d.ts.map +1 -1
  195. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts +61 -0
  196. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts.map +1 -0
  197. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts +2 -0
  198. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts.map +1 -1
  199. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts +3 -0
  200. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
  201. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/DecisionCellRenderer/index.d.ts +16 -0
  202. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/DecisionCellRenderer/index.d.ts.map +1 -0
  203. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts +3 -0
  204. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts.map +1 -1
  205. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts +3 -0
  206. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  207. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts +5 -2
  208. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  209. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/optionsSetRefCodec.d.ts +7 -1
  210. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/optionsSetRefCodec.d.ts.map +1 -1
  211. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts +4 -1
  212. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts.map +1 -1
  213. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +5 -2
  214. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
  215. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +5 -2
  216. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  217. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +5 -2
  218. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  219. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts +25 -0
  220. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts.map +1 -0
  221. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts +59 -0
  222. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map +1 -0
  223. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/partlistPosColumns.d.ts +66 -0
  224. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/partlistPosColumns.d.ts.map +1 -0
  225. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/SvgGeneratorTool/index.d.ts +13 -0
  226. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/SvgGeneratorTool/index.d.ts.map +1 -0
  227. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts +11 -0
  228. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  229. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogRows.d.ts +24 -0
  230. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogRows.d.ts.map +1 -0
  231. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useDecisionsOfCatalog.d.ts +8 -0
  232. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useDecisionsOfCatalog.d.ts.map +1 -0
  233. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
  234. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePartlistsOfCatalog.d.ts +8 -0
  235. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePartlistsOfCatalog.d.ts.map +1 -0
  236. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllOptionCombinations/index.d.ts +11 -0
  237. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllOptionCombinations/index.d.ts.map +1 -0
  238. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts +11 -0
  239. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts.map +1 -0
  240. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
  241. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
  242. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
  243. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -1
  244. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts +8 -0
  245. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  246. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.d.ts.map +1 -1
  247. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
  248. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
  249. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts +4 -0
  250. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  251. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -1
  252. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts +4 -1
  253. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts.map +1 -1
  254. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts +13 -0
  255. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts.map +1 -0
  256. package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map +1 -1
  257. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts +12 -2
  258. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
  259. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts +19 -0
  260. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -0
  261. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -1
  262. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts +12 -39
  263. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
  264. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts +16 -0
  265. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts.map +1 -0
  266. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts.map +1 -1
  267. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts +27 -0
  268. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts.map +1 -0
  269. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -1
  270. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  271. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts +23 -0
  272. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts.map +1 -1
  273. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +6 -0
  274. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
  275. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
  276. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts +1 -0
  277. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
  278. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts +4 -0
  279. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
  280. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts +1 -0
  281. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts.map +1 -1
  282. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +1 -1
  283. package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts +11 -0
  284. package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts.map +1 -0
  285. package/build/types/backoffice/src/utils/routeCatalogId.d.ts +8 -0
  286. package/build/types/backoffice/src/utils/routeCatalogId.d.ts.map +1 -0
  287. package/package.json +10 -10
  288. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts +0 -6
  289. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts.map +0 -1
@@ -0,0 +1,15 @@
1
+ import RootStore from '../../../../store/RootStore';
2
+ import { HeaderProducts } from '../logic/headerSync';
3
+ export interface HeaderProductsState {
4
+ /** The active header rows, indexed. Undefined while loading; empty after a failed load (nothing is marked then). */
5
+ headers?: HeaderProducts;
6
+ loading: boolean;
7
+ }
8
+ /**
9
+ * The header rows the article table compares the articles against (`isHeaderOutdated`, `hasUnlinkedHeader`).
10
+ * Loaded once per mount — the grid waits for it, because ag-grid does not re-evaluate row classes when a
11
+ * value outside the row data changes. A failed load degrades to "nothing marked" with a warning toast; the
12
+ * articles themselves stay fully usable.
13
+ */
14
+ export default function useHeaderProducts(root: RootStore): HeaderProductsState;
15
+ //# sourceMappingURL=useHeaderProducts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useHeaderProducts.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.ts"],"names":[],"mappings":"AAGA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAEpD,OAAO,EAAE,cAAc,EAAuB,MAAM,qBAAqB,CAAC;AA0B1E,MAAM,WAAW,mBAAmB;IAClC,oHAAoH;IACpH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;CAClB;AA+CD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,IAAI,EAAE,SAAS,GAAG,mBAAmB,CA0B9E"}
@@ -0,0 +1,9 @@
1
+ import RootStore from '../../../../store/RootStore';
2
+ /**
3
+ * Pulls the current header values into one article through the catalog service
4
+ * (`POST /v1/products/:id/headervalues/refresh`) and returns the updated article, which the grid uses to
5
+ * replace its row. The server resolves the header row, rebuilds the merge and refuses transferred
6
+ * articles — the client sends nothing but the id. No loading state here: the row action button shows its own.
7
+ */
8
+ export default function useRefreshHeaderValues(root: RootStore): (articleId: string) => Promise<Record<string, unknown>>;
9
+ //# sourceMappingURL=useRefreshHeaderValues.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRefreshHeaderValues.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useRefreshHeaderValues.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAGpD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,IAAI,EAAE,SAAS,eAExC,MAAM,KAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAkB9D"}
@@ -2,8 +2,11 @@ import React from 'react';
2
2
  /**
3
3
  * The article ("Positionsdaten") page of the assortment manager: lists all articles of the
4
4
  * organization, narrowed by the free text search. The supplier / EK group context lives per row in
5
- * the two leading columns; keeping the header inheritance (`headerValues`) in sync with those values
6
- * is a server concern. The selected row feeds the ITEM_GROUP tabs in the bottom toolbar.
5
+ * the two leading columns; writes into them link the header row client side (`onCellEditRequest` →
6
+ * headerLink), the catalog service relinks on every save that changes them. A header save does not
7
+ * change the articles — rows whose header snapshot differs from the current header row show as
8
+ * outdated, and the row action of the actions column pulls the current header values into one
9
+ * article on request. The selected row feeds the ITEM_GROUP tabs in the bottom toolbar.
7
10
  */
8
11
  declare function ArticleData(): React.JSX.Element;
9
12
  declare const _default: typeof ArticleData & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAgBtE;;;;;GAKG;AACH,iBAAS,WAAW,sBAoJnB;;;;AAED,wBAAqC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAwBtE;;;;;;;;GAQG;AACH,iBAAS,WAAW,sBA0OnB;;;;AAED,wBAAqC"}
@@ -46,9 +46,10 @@ export declare function labelCompanionResets(oldData: ArticleRow | undefined, da
46
46
  * Builds the article table's column tree from the field catalogue: one header group per catalogue
47
47
  * `group` in file order, one column per `showOnArticle` entry; entries without a group render
48
48
  * ungrouped at the top level. Header-inheritable text and number fields render as `withPlaceholder`
49
- * columns, multilanguage fields as nested language groups, ITEM_GROUPs as row-count summaries.
49
+ * columns (except the two context columns, see CONTEXT_FIELD_KEYS), multilanguage fields as nested
50
+ * language groups, ITEM_GROUPs as row-count summaries.
50
51
  * Fields naming a `commonColumn` collapse into one shared symbol column each, their own columns
51
- * hidden.
52
+ * hidden. Fields flagged `collapsed` show only while their header group is expanded.
52
53
  */
53
54
  export declare function buildArticleColDefs(t: Translate, commonColumnCellRenderer?: DivaColDef<ArticleRow>['cellRenderer'], enumLists?: Record<string, EnumEntry[]>): ArticleColumn[];
54
55
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEzE,OAAO,EAA0B,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAGvE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC1C,KAAK,aAAa,GAAG,UAAU,CAAC,UAAU,CAAC,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,UAAqB,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAQjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,UAIjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,8BAE/B,CAAC;AAoBF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,aAAa,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAIvF,CAAC;AAsBH;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAOjH;AAiQD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,EAAE,SAAS,EACZ,wBAAwB,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,EACjE,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAM,GAC1C,aAAa,EAAE,CA2EjB"}
1
+ {"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,eAAe,EAAoB,MAAM,4BAA4B,CAAC;AAE3F,OAAO,EAA0B,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAIvE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAC1C,KAAK,aAAa,GAAG,UAAU,CAAC,UAAU,CAAC,GAAG,eAAe,CAAC,UAAU,CAAC,CAAC;AAE1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,UAAqB,CAAC;AAEpD;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAQjC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,UAIjC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,8BAG/B,CAAC;AAoBF;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,aAAa,CAAC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAIvF,CAAC;AAuDH;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,UAAU,GAAG,SAAS,EAAE,IAAI,EAAE,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAOjH;AAkRD;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,EAAE,SAAS,EACZ,wBAAwB,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC,EACjE,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAM,GAC1C,aAAa,EAAE,CAkFjB"}
@@ -0,0 +1,38 @@
1
+ import { CellEditRequestedEvent, DivaContext } from '@crystaldesign/spreadsheet';
2
+ import { HeaderProduct } from '../../HeaderData/hooks/useHeaderData';
3
+ type ArticleRow = Record<string, unknown>;
4
+ /** Loads the header product of a supplier / EK group combination; undefined when the combination has none. */
5
+ export type HeaderResolver = (supplierNr: string, ekg: string) => Promise<HeaderProduct | undefined>;
6
+ /** The article paths the header row is looked up by — the key fields the catalog relinks on (`headerInheritance.keyFields`). */
7
+ export declare const HEADER_KEY_PATHS: {
8
+ readonly supplier: "customData.SAP.SAP_EINA_LIFNR";
9
+ readonly ekg: "customData.SAP.SAP_EINE_EKGRP";
10
+ };
11
+ /**
12
+ * The `headerValues` an article carries for its header row, in the shape the catalog service writes
13
+ * itself (`buildHeaderValuesSnapshot`): the row's customData as the inheritance source plus its audit
14
+ * fields (`lastUpdated` is what the outdated marker compares, see headerSync.ts).
15
+ */
16
+ export declare function headerValuesSnapshot(header: HeaderProduct): Record<string, unknown>;
17
+ export type HeaderLinker = ReturnType<typeof createHeaderLinker>;
18
+ /**
19
+ * Links the header row client side, the way the lookup cell fills its dependent fields: once both key
20
+ * fields of a row are set, the header product is loaded and written into the row's `headerValues`, so
21
+ * the placeholder cells show the inherited values before anything is saved and the commit carries the
22
+ * link. The catalog service respects a body carrying `headerValues` on create and rebuilds the link
23
+ * itself whenever the keys change later, so it stays the authority — this only moves the moment the
24
+ * user sees the inheritance forward. A missing key, a combination without a header row and a failed
25
+ * lookup all remove the link, as the server would: the previous header's values must not survive a
26
+ * key change — and the catalog links the row on save anyway.
27
+ */
28
+ export declare function createHeaderLinker(resolveHeader: HeaderResolver): {
29
+ /**
30
+ * The grid's `hooks.onCellEditRequest`: every write into a cell arrives here; whenever it changes the
31
+ * supplier / EK group combination (`oldData` vs `data`, the row as the write leaves it — whichever
32
+ * column or source did it), the (re)link starts with the new keys. The transaction handler lock holds
33
+ * the auto-commit back until the link is written, so the saved row carries it.
34
+ */
35
+ onCellEditRequest({ oldData, data, node, context, api }: CellEditRequestedEvent<ArticleRow, DivaContext>): void;
36
+ };
37
+ export {};
38
+ //# sourceMappingURL=headerLink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"headerLink.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/headerLink.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,8GAA8G;AAC9G,MAAM,MAAM,cAAc,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;AAErG,gIAAgI;AAChI,eAAO,MAAM,gBAAgB;;;CAA+F,CAAC;AAE7H;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAWnF;AAWD,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEjE;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,cAAc;IAiC5D;;;;;OAKG;6DACsD,sBAAsB,CAAC,UAAU,EAAE,WAAW,CAAC,GAAG,IAAI;EAiBlH"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * The active header rows of the organization (`_id`, `headerHash`, `lastUpdated`, key fields), keyed by
3
+ * product id and by their supplier / EK group context ({@link headerContextKey}).
4
+ */
5
+ export interface HeaderProducts {
6
+ byId: ReadonlyMap<string, Record<string, unknown>>;
7
+ byContext: ReadonlyMap<string, Record<string, unknown>>;
8
+ }
9
+ /**
10
+ * The supplier / EK group context of a row as one map key — the client-side counterpart of the catalog's
11
+ * header key fields (`headerInheritance.keyFields`), read from the materialized values. Undefined while a
12
+ * key field is missing or empty: an incomplete context pairs with no header row.
13
+ */
14
+ export declare function headerContextKey(data: Record<string, unknown> | undefined): string | undefined;
15
+ /** Indexes the loaded header rows for {@link isHeaderOutdated} and {@link hasUnlinkedHeader}. */
16
+ export declare function indexHeaderProducts(rows: Record<string, unknown>[]): HeaderProducts;
17
+ /**
18
+ * An article whose header snapshot no longer holds the content of the header row it references. Compared
19
+ * by content hash — `headerValues.headerHash` is the copy of the header row's `headerHash` (the catalog's
20
+ * hash of the header `customData`, kept on every write) at snapshot time — so equal content is current
21
+ * whatever was saved in between: a header saved and reverted, or saved without a value change, marks nothing.
22
+ * The header rows are loaded with a few fields instead of their whole `customData`; an organization has
23
+ * thousands of them. While one side carries no hash yet (rows and snapshots written before it existed) the
24
+ * timestamps decide: `headerValues.lastUpdated` is the header's `lastUpdated` at snapshot time, and a header
25
+ * saved after it marks. Derived from the data on both sides, a header save writes nothing into articles. Not
26
+ * reported for transferred articles (they can never be refreshed), for articles without a link, and while
27
+ * the header rows are not loaded or the referenced row is gone.
28
+ */
29
+ export declare function isHeaderOutdated(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
30
+ /**
31
+ * An article without a header link whose supplier / EK group context has a header row by now: the article
32
+ * was imported or created before that header row existed (the import sets no link then, and a header save
33
+ * writes nothing into articles). A refresh links it — the catalog resolves the header through the key
34
+ * fields, not through the stored link. Not reported for transferred articles and while the header rows are
35
+ * not loaded.
36
+ */
37
+ export declare function hasUnlinkedHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
38
+ /** Whether the refresh action has something to pull: outdated header values, or a header row not linked yet. */
39
+ export declare function canRefreshHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
40
+ //# sourceMappingURL=headerSync.d.ts.map
@@ -0,0 +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;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAUxH;AAED;;;;;;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"}
@@ -2,12 +2,13 @@ import React from 'react';
2
2
  import { AffectedProductsState } from '../../hooks/useAffectedProducts';
3
3
  interface AffectedCountProps {
4
4
  affected: AffectedProductsState;
5
- /** Unsaved changes present — the number turns into a warning because it is about to take effect. */
5
+ /** Unsaved changes present — the number turns into a warning because saving makes that many articles outdated. */
6
6
  dirty: boolean;
7
7
  }
8
8
  /**
9
9
  * How many articles inherit the header values. Stays quiet while nothing is edited and turns into a warning
10
- * as soon as there are unsaved changes, since that is the moment the number becomes a consequence.
10
+ * as soon as there are unsaved changes: after the save exactly these articles show as outdated in the
11
+ * article table, and each of them has to be refreshed there.
11
12
  *
12
13
  * The count is per supplier / EK group and not per field: the filter behind it does not look at individual
13
14
  * fields, so a per-field number would be the same one repeated.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAIxE,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,qBAAqB,CAAC;IAChC,oGAAoG;IACpG,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;GAMG;AACH,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,kBAAkB,4BA6B7D;AAED,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAIxE,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,qBAAqB,CAAC;IAChC,kHAAkH;IAClH,KAAK,EAAE,OAAO,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,iBAAS,aAAa,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,kBAAkB,4BA6B7D;AAED,eAAe,aAAa,CAAC"}
@@ -5,7 +5,7 @@ import { PreparedTableSave } from '../../types';
5
5
  interface ContentProps {
6
6
  /** The loaded header product (`isHeader: true`) whose values are edited. */
7
7
  data?: HeaderProduct;
8
- /** How many articles a save propagates the header values into. */
8
+ /** How many articles inherit from this header — the ones that show as outdated after a save. */
9
9
  affected: AffectedProductsState;
10
10
  /** Group keys (= product paths) of ITEM_GROUP tabs with unsaved changes; drives save button and markers. */
11
11
  tableDirtyKeys: string[];
@@ -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;AASnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAGxE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AA2ChD,UAAU,YAAY;IACpB,4EAA4E;IAC5E,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,kEAAkE;IAClE,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,qBA0MnI;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;AASnD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AAGxE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AA2ChD,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,qBA0MnI;AAED,eAAe,OAAO,CAAC"}
@@ -6,13 +6,13 @@ export interface AffectedProductsState {
6
6
  error?: string;
7
7
  }
8
8
  /**
9
- * Counts the articles a change to the header values reaches.
9
+ * Counts the articles a change to the header values concerns — the ones that show as outdated in the
10
+ * article table after a save and can be refreshed there.
10
11
  *
11
- * The filter mirrors what `ProductModificationService.collectHeaderValueTargetIds` selects server side — the
12
- * `headerValues._id` reference plus the same two exclusions — so the number reflects what a save actually
13
- * touches. Deliberately unlike the SAP import path (`PfisterArticleService.updateHeaderValuesInProducts`),
14
- * articles already sent to SAP (`SentToSAPSuccess: true`) are excluded: editing header data must not change
15
- * articles that are already transferred.
12
+ * The filter is the `headerValues._id` reference plus the two exclusions the refresh refuses anyway.
13
+ * Deliberately unlike the SAP import path (`PfisterArticleService.updateHeaderValuesInProducts`), articles
14
+ * already sent to SAP (`SentToSAPSuccess: true`) are excluded: transferred articles can never be refreshed,
15
+ * so the article table does not report them as outdated either.
16
16
  * `limit=0` makes this a pure count: the catalog service skips the data pipeline and only runs the count
17
17
  * aggregation, so `total` arrives without any documents.
18
18
  */
@@ -10,6 +10,20 @@ export interface HeaderDataState {
10
10
  /** Set when the request itself failed, which is a different situation from "no header row exists". */
11
11
  error?: string;
12
12
  }
13
+ /**
14
+ * Fetches the header product (`isHeader: true`) of a supplier / EK group combination; undefined when
15
+ * the combination has none.
16
+ *
17
+ * `type: 'string'` on the two SAP keys is required: `parseFilterParam` casts an unquoted numeric string to
18
+ * a number, which then matches nothing. `archived` is filtered here because the catalog service drops the
19
+ * controller's own `archived: false` on the filter code path — the same reason
20
+ * `PfisterArticleService.getProductHeaderValues` spells it out.
21
+ *
22
+ * `organizationId` belongs in the filter as well: on that same code path the `organizationIds` query
23
+ * parameter only drives the permission check and does not scope the query (`ProductService.search`), so
24
+ * without the clause another organization's header row could be loaded.
25
+ */
26
+ export declare function fetchHeaderProduct(root: RootStore, supplierNr: string, ekg: string): Promise<HeaderProduct | undefined>;
13
27
  /** Loads the header product for a supplier / EK group combination as reactive state. */
14
28
  export default function useHeaderData(root: RootStore, supplierNr?: string, ekg?: string): HeaderDataState;
15
29
  //# sourceMappingURL=useHeaderData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useHeaderData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAGpD,yFAAyF;AACzF,MAAM,WAAW,aAAc,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,uGAAuG;IACvG,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,sGAAsG;IACtG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAyCD,wFAAwF;AACxF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,eAAe,CA4BzG"}
1
+ {"version":3,"file":"useHeaderData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAGpD,yFAAyF;AACzF,MAAM,WAAW,aAAc,SAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC5D,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,uGAAuG;IACvG,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,sGAAsG;IACtG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,GAAG,SAAS,CAAC,CAwB7H;AAED,wFAAwF;AACxF,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,eAAe,CA4BzG"}
@@ -8,18 +8,19 @@ export interface SaveHeaderDataState {
8
8
  /**
9
9
  * Saves the header product through the catalog service.
10
10
  *
11
- * `PATCH /v1/products/:id/headervalues` patches the header row and propagates its values into the
12
- * `headerValues` of every product referencing it. Both halves live in the catalog because that is where
13
- * `isHeader`, `headerValues` and `overrideValues` are defined and merged — going through a client specific
14
- * service is not necessary and would tie the assortment manager to one customer's article service.
11
+ * `PATCH /v1/products/:id/headervalues` patches the header row and nothing else — the products referencing
12
+ * it keep their values until the user refreshes them one by one in the article table, which recognizes them
13
+ * by comparing their header snapshot with the header row. The route lives in the catalog because that is
14
+ * where `isHeader`, `headerValues` and `overrideValues` are defined and merged — going through a client
15
+ * specific service is not necessary and would tie the assortment manager to one customer's article service.
15
16
  *
16
17
  * Only the changed paths are sent, as JSON Patch. That is the reason for using this endpoint over the older
17
18
  * route through diva-pfister-article, whose `createProductFromDivaNr` was written to sync whole records out
18
19
  * of the legacy SQL database and replaces `customData` wholesale — it forced the client to send the entire
19
20
  * object back and silently dropped anything left out.
20
21
  *
21
- * Which products inherit from this header is decided by the backend off the `headerValues._id` they carry;
22
- * the client sends no filter for it.
22
+ * Which products inherit from this header is recorded on the products themselves (`headerValues._id`); the
23
+ * client sends nothing about them.
23
24
  */
24
25
  export default function useSaveHeaderData(root: RootStore, data?: HeaderProduct): SaveHeaderDataState;
25
26
  //# sourceMappingURL=useSaveHeaderData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useSaveHeaderData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,mBAAmB;IAClC,4FAA4F;IAC5F,IAAI,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;IACzE,MAAM,EAAE,OAAO,CAAC;CACjB;AASD;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,mBAAmB,CAoCpG"}
1
+ {"version":3,"file":"useSaveHeaderData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAGpD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,WAAW,mBAAmB;IAClC,4FAA4F;IAC5F,IAAI,EAAE,CAAC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;IACzE,MAAM,EAAE,OAAO,CAAC;CACjB;AASD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,mBAAmB,CAoCpG"}
@@ -1 +1 @@
1
- {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,yBAAyB,EAAE,4BAA4B,EA26CnE,CAAC"}
1
+ {"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/config/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAC;AAExD,eAAO,MAAM,yBAAyB,EAAE,4BAA4B,EAo7CnE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=headerLink.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"headerLink.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/headerLink.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=headerSync.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"headerSync.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/headerSync.test.ts"],"names":[],"mappings":""}
@@ -62,6 +62,12 @@ interface AssortmentManagerEntryBase {
62
62
  * ungrouped at the top level — header-visible entries always carry one.
63
63
  */
64
64
  group?: string;
65
+ /**
66
+ * Hides the article table column while its header group is collapsed; it appears once the group
67
+ * is expanded through the header's toggle (spreadsheet `columnGroupShow: 'open'`). Only meaningful
68
+ * together with `group` — the columns of a group without the flag are always shown.
69
+ */
70
+ collapsed?: boolean;
65
71
  /**
66
72
  * Pins the article table column to the given edge — passed through to the spreadsheet column
67
73
  * definition's `pinned` flag. Replaces the legacy grid's `locked: true` on the LOCKED editor group.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/AssortmentManager/types.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/AssortmentManager/types.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,MAAM,MAAM,0BAA0B,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AAE9F,qHAAqH;AACrH,MAAM,WAAW,gCAAgC;IAC/C,uFAAuF;IACvF,KAAK,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC3B;AAED,8GAA8G;AAC9G,MAAM,WAAW,+BAA+B;IAC9C,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;CACzC;AAED;;;;;GAKG;AACH,MAAM,WAAW,8BAA8B;IAC7C,yFAAyF;IACzF,OAAO,EAAE,sBAAsB,GAAG,gBAAgB,CAAC;IACnD,yDAAyD;IACzD,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,6FAA6F;AAC7F,MAAM,WAAW,2BAA2B;IAC1C,oGAAoG;IACpG,SAAS,EAAE,MAAM,CAAC;IAClB,+EAA+E;IAC/E,WAAW,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,UAAU,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,0BAA0B;IAClC,0EAA0E;IAC1E,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,mGAAmG;IACnG,aAAa,EAAE,OAAO,CAAC;IACvB,oGAAoG;IACpG,kBAAkB,EAAE,OAAO,CAAC;IAC5B,sFAAsF;IACtF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,sFAAsF;IACtF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,+BAA+B;AAC/B,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,IAAI,EAAE,0BAA0B,CAAC;IACjC,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,CAAC,EAAE,8BAA8B,CAAC;IAC/C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,2BAA2B,EAAE,CAAC;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,+BAA+B,CAAC;IAC/C;;;;OAIG;IACH,WAAW,CAAC,EAAE,gCAAgC,CAAC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,0BAA2B,SAAQ,0BAA0B;IAC5E,IAAI,EAAE,YAAY,CAAC;IACnB,MAAM,EAAE,sBAAsB,EAAE,CAAC;IACjC;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,GAAG,0BAA0B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ /** WYSIWYG preview of the content item selected in the library; self-fetching, so it shows current server state. */
3
+ declare const ContentItemPreview: (() => React.JSX.Element) & {
4
+ displayName: string;
5
+ };
6
+ export default ContentItemPreview;
7
+ //# sourceMappingURL=ContentItemPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentItemPreview.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,oHAAoH;AACpH,QAAA,MAAM,kBAAkB;;CAmBtB,CAAC;AAEH,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ /**
3
+ * Toolbar table of the organization's content items, mounted on views whose rows can reference one
4
+ * so users reuse items instead of duplicating them. The selection feeds the parallel preview tool.
5
+ */
6
+ export default function ContentItemLibrary(): React.JSX.Element;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/ContentItemLibrary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,sBA4DzC"}
@@ -0,0 +1,21 @@
1
+ import type RootStore from '../../../store/RootStore';
2
+ /**
3
+ * Shared selection of the ContentItem library, kept in the ContextStore so the grid, the agent's content
4
+ * tools and the preview tool see one value. Sticky: written only on a real selection, never cleared.
5
+ */
6
+ export interface ContentItemLibraryContext {
7
+ selectedContentItemId?: string;
8
+ previewRevision?: number;
9
+ }
10
+ /** Records a real selection in the shared context; it stays until the next selection, a deselect never clears it. */
11
+ export declare function selectContentItem(root: RootStore, contentItemId: string): void;
12
+ /** The content item last selected in the library, or undefined when nothing has been selected yet. */
13
+ export declare function getSelectedContentItemId(root: RootStore): string | undefined;
14
+ /**
15
+ * Announces that the selected item changed ON THE SERVER. The preview fetches once per mount and remounts
16
+ * per selection, so an in-place update of the item already shown would keep rendering the old content.
17
+ */
18
+ export declare function refreshContentItemPreview(root: RootStore): void;
19
+ /** Counts the forced refreshes; part of the preview's React key, never a selection in itself. */
20
+ export declare function getContentItemPreviewRevision(root: RootStore): number;
21
+ //# sourceMappingURL=libraryContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"libraryContext.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/ContentItemLibrary/libraryContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAEtD;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAID,qHAAqH;AACrH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,QAEvE;AAED,sGAAsG;AACtG,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS,CAE5E;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,SAAS,QAGxD;AAED,iGAAiG;AACjG,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAErE"}
@@ -1,4 +1,5 @@
1
1
  import { Configuration, SpreadsheetProps, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
2
+ import type { AgentBoundParent, AgentGridAction } from '../../../store/GridRegistry';
2
3
  import React from 'react';
3
4
  /** Spreadsheet configuration plus the agent-addressing fields consumed only by this wrapper's grid registry. */
4
5
  export type AgentGridConfiguration<TData = any> = Configuration<TData> & {
@@ -6,9 +7,15 @@ export type AgentGridConfiguration<TData = any> = Configuration<TData> & {
6
7
  agentDescription?: string;
7
8
  /** Stable unique grid handle for AI tools (replaces the collision-prone read-endpoint label). */
8
9
  agentGridId?: string;
10
+ /** Operations this table offers beyond cell edits, carried to the agent as-is (see AgentGridAction). */
11
+ agentActions?: AgentGridAction[];
9
12
  };
10
13
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<SpreadsheetProps<any>, "jwt" | "configuration"> & {
11
14
  configuration: AgentGridConfiguration;
15
+ /** Set when this grid lives inside a right-toolbar tool (see GridEntry.toolbarToolId). */
16
+ toolbarToolId?: string;
17
+ /** Set on a SUBTABLE: the parent row its endpoint is scoped by (see GridEntry.getBoundParent). */
18
+ agentBoundParent?: AgentBoundParent;
12
19
  } & React.RefAttributes<SpreadsheetRefProps>, "ref"> & React.RefAttributes<SpreadsheetRefProps>>>;
13
20
  export default _default;
14
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/SpreadsheetWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAe,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE/G,OAAO,KAAwC,MAAM,OAAO,CAAC;AAG7D,gHAAgH;AAEhH,MAAM,MAAM,sBAAsB,CAAC,KAAK,GAAG,GAAG,IAAI,aAAa,CAAC,KAAK,CAAC,GAAG;IACvE,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;;mBAGe,sBAAsB;;AA4DvC,wBAA4C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/CommonComponents/SpreadsheetWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAe,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAE/G,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACrF,OAAO,KAAkD,MAAM,OAAO,CAAC;AAKvE,gHAAgH;AAEhH,MAAM,MAAM,sBAAsB,CAAC,KAAK,GAAG,GAAG,IAAI,aAAa,CAAC,KAAK,CAAC,GAAG;IACvE,+DAA+D;IAC/D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wGAAwG;IACxG,YAAY,CAAC,EAAE,eAAe,EAAE,CAAC;CAClC,CAAC;;mBAGe,sBAAsB;IACrC,0FAA0F;oBAC1E,MAAM;IACtB,kGAAkG;uBAC/E,gBAAgB;;AA+HrC,wBAA4C"}
@@ -1 +1 @@
1
- {"version":3,"file":"useTools.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/CommonComponents/useTools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAuB,iBAAiB,EAAE,MAAM,wEAAwE,CAAC;AAEhI,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qDAAqD;IACrD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,0CAA0C;IAC1C,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,mCAAmC;IACnC,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4FAA4F;IAC5F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,8BAA8B;IAC9B,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACpD,uBAAuB;IACvB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ,uJAYlB,aAAa;sCA8E2B,OAAO,CAAC,iBAAiB,CAAC;qCAd3B,MAAM,QAAQ,OAAO;CA2E9D,CAAC"}
1
+ {"version":3,"file":"useTools.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/CommonComponents/useTools.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AACrD,OAAO,EAAuB,iBAAiB,EAAE,MAAM,wEAAwE,CAAC;AAIhI,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,4CAA4C;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qDAAqD;IACrD,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,0CAA0C;IAC1C,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9C,mCAAmC;IACnC,IAAI,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,+BAA+B;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,sCAAsC;IACtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,4FAA4F;IAC5F,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACnE,8BAA8B;IAC9B,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACpD,uBAAuB;IACvB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;CACtC,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,QAAQ,uJAYlB,aAAa;sCAgF2B,OAAO,CAAC,iBAAiB,CAAC;qCAd3B,MAAM,QAAQ,OAAO;CA0E9D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AddAccessoryModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAQzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,qBAiJvG"}
1
+ {"version":3,"file":"AddAccessoryModal.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAQzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAItE,UAAU,KAAK;IACb,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,KAAK,qBAoKvG"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Resolving accessory ARTICLES for the Zusatzartikel grid: the same two questions the add dialog asks - which
3
+ * articles can become a column, and which article does a given key mean. Kept free of stores and fetch (the reader
4
+ * is injected) so the agent action and the dialog answer them identically.
5
+ *
6
+ * An accessory is addressed as `<serieNo>/<typeNo>`: a type no is only unique inside its serie, and an accessory
7
+ * may come from another serie than the one being edited. A token without a serie means the edited serie.
8
+ */
9
+ import { AdditionalItemRef } from '../../hooks/useAdditionalItemRefs';
10
+ /** Reads a JSON list from the idm service. */
11
+ export type ReadList = (path: string) => Promise<any[]>;
12
+ interface Serie {
13
+ _id: string;
14
+ serieNo: string | number;
15
+ seriesName?: {
16
+ [language: string]: string;
17
+ };
18
+ }
19
+ /** What resolving an accessory token needs: the catalog's list reader, the catalog, the serie being edited and the display language. */
20
+ export interface AccessoryLookupContext {
21
+ readList: ReadList;
22
+ catalogId: string;
23
+ /** _id of the serie being edited - the default serie of a token that names none. */
24
+ serieId: string;
25
+ language: string;
26
+ }
27
+ /** The series of the catalog, as the add dialog lists them. */
28
+ export declare const seriesOf: (ctx: AccessoryLookupContext) => Promise<Serie[]>;
29
+ /** Only what the picker and the column need - without the projection the endpoint resolves prices and partlists per item. */
30
+ export declare const itemsOf: (ctx: AccessoryLookupContext, serieId: string) => Promise<any[]>;
31
+ /** A serie as the dialog and the agent name it: "<name> (<serieNo>)", the number alone when it has no name in this language. */
32
+ export declare const serieLabel: (serie: Serie, language: string) => string;
33
+ /** An article as the dialog and the agent name it: "<short text> (<typeNo>)", the number alone when it has no short text in this language. */
34
+ export declare const itemLabel: (item: {
35
+ typeNo: string;
36
+ shortText?: {
37
+ [language: string]: string;
38
+ };
39
+ }, language: string) => string;
40
+ /**
41
+ * The articles that can become accessory columns, as `<serieNo>/<typeNo>` values. A search of the form
42
+ * `<serieNo>/<text>` lists that serie's articles, anything else searches the serie being edited - which is where an
43
+ * accessory comes from in most cases, and the default of the dialog.
44
+ */
45
+ export declare function accessoryCandidates(ctx: AccessoryLookupContext, search: string, limit: number): Promise<{
46
+ options: {
47
+ value: string;
48
+ label: string;
49
+ }[];
50
+ note?: string;
51
+ }>;
52
+ /**
53
+ * Resolves `<serieNo>/<typeNo>` tokens into the column references the grid adds. Every token is checked against the
54
+ * catalog, so a mistyped article becomes a named failure instead of a column that can never hold a relation.
55
+ */
56
+ export declare function resolveAccessoryRefs(ctx: AccessoryLookupContext, input: string): Promise<{
57
+ refs: AdditionalItemRef[];
58
+ unknown: string[];
59
+ }>;
60
+ export {};
61
+ //# sourceMappingURL=accessoryLookup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryLookup.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAGtE,8CAA8C;AAC9C,MAAM,MAAM,QAAQ,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,EAAE,CAAC,CAAC;AAExD,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CAC7C;AAED,wIAAwI;AACxI,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,oFAAoF;IACpF,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAWD,+DAA+D;AAC/D,eAAO,MAAM,QAAQ,QAAS,sBAAsB,KAA0D,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;AAE/H,6HAA6H;AAC7H,eAAO,MAAM,OAAO,QAAS,sBAAsB,WAAW,MAAM,mBACiD,CAAC;AAEtH,gIAAgI;AAChI,eAAO,MAAM,UAAU,UAAW,KAAK,YAAY,MAAM,WAKxD,CAAC;AAEF,8IAA8I;AAC9I,eAAO,MAAM,SAAS,SAAU;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAA;CAAE,YAAY,MAAM,WAI/G,CAAC;AAEF;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,GAAG,EAAE,sBAAsB,EAC3B,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC;IAAE,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CA0BzE;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CA2ChJ"}
@@ -14,6 +14,8 @@ interface Props {
14
14
  onlyWithRelations?: boolean;
15
15
  /** Drops the column of an accessory whose relations were deleted from the serie. */
16
16
  onRemoved?: (key: string) => void;
17
+ /** Opens columns for further accessories - the same callback the add dialog uses, offered to the agent as an action. */
18
+ onAdd?: (columns: AdditionalItemRef[]) => void;
17
19
  viewOnly?: boolean;
18
20
  }
19
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAKtE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB,WAAoB,KAAK;;CAwOpD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAY5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAMtE,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2GAA2G;IAC3G,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,qGAAqG;IACrG,WAAW,EAAE,iBAAiB,EAAE,CAAC;IACjC,iGAAiG;IACjG,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oFAAoF;IACpF,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,wHAAwH;IACxH,KAAK,CAAC,EAAE,CAAC,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAKD;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,gBAAgB,WAAoB,KAAK;;CAkUpD,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import type { AgentBoundParent } from '../../../store/GridRegistry';
2
3
  import { ApiConfig } from '@crystaldesign/diva-core';
3
4
  import { SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
4
5
  export type SetSelectedCatalogFn = (catalogId: string, modules: string[], path: string, replace?: boolean) => void;
@@ -20,6 +21,8 @@ declare const Catalogs: React.ForwardRefExoticComponent<{
20
21
  onActualChange?: () => void;
21
22
  /** When changed, this grid refreshes (used to sync refresh from the other table) */
22
23
  refreshTrigger?: number;
24
+ /** Set by the module that opens this subtable: the parent row it is bound to. */
25
+ agentBoundParent?: AgentBoundParent;
23
26
  } & React.RefAttributes<SpreadsheetRefProps>>;
24
27
  export default Catalogs;
25
28
  //# sourceMappingURL=CatalogVersions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CatalogVersions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/CatalogVersions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,mBAAmB,EAAoB,MAAM,4BAA4B,CAAC;AAYlG,MAAM,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;AAEnH,MAAM,MAAM,UAAU,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAEhI,QAAA,MAAM,QAAQ;oBAGM,MAAM;eACX,SAAS;aACX,UAAU;eACR,OAAO;yBACG,oBAAoB;IACzC,mEAAmE;qBAClD,MAAM,IAAI;IAC3B,oFAAoF;qBACnE,MAAM;6CA63BzB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"CatalogVersions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMCatalogEditor/Tables/CatalogVersions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAiB,mBAAmB,EAAoB,MAAM,4BAA4B,CAAC;AAYlG,MAAM,MAAM,oBAAoB,GAAG,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;AAEnH,MAAM,MAAM,UAAU,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAEhI,QAAA,MAAM,QAAQ;oBAGM,MAAM;eACX,SAAS;aACX,UAAU;eACR,OAAO;yBACG,oBAAoB;IACzC,mEAAmE;qBAClD,MAAM,IAAI;IAC3B,oFAAoF;qBACnE,MAAM;IACvB,iFAAiF;uBAC9D,gBAAgB;6CAi4BrC,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { CustomCellRendererProps } from 'ag-grid-react';
3
+ import { DivaContext } from '@crystaldesign/spreadsheet';
4
+ export interface DecisionParts {
5
+ /** The decision's text; cut short with an ellipsis when the cell is too narrow. */
6
+ text: string;
7
+ /** Its number and type in brackets; always visible. */
8
+ tag: string;
9
+ }
10
+ export interface DecisionCellRendererProps extends CustomCellRendererProps<unknown, unknown, DivaContext> {
11
+ /** Splits the row's decision (by its decisionNo) into the text and the tag, in the UI language. */
12
+ decisionParts: (decisionNo: unknown, language: string) => DecisionParts;
13
+ }
14
+ /** The decision of a row: its text, cut short when the cell is narrow, and its number and type, which stay visible. */
15
+ export default function DecisionCellRenderer({ value, decisionParts, context }: DecisionCellRendererProps): React.JSX.Element | null;
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMCatalogEditor/Tables/DecisionCellRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAGzD,MAAM,WAAW,aAAa;IAC5B,mFAAmF;IACnF,IAAI,EAAE,MAAM,CAAC;IACb,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,yBAA0B,SAAQ,uBAAuB,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,CAAC;IACvG,mGAAmG;IACnG,aAAa,EAAE,CAAC,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,aAAa,CAAC;CACzE;AAED,uHAAuH;AACvH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE,yBAAyB,4BASxG"}