@crystaldesign/diva-backoffice 26.12.0-beta.1 → 26.12.0-beta.11

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 (183) hide show
  1. package/build/esm/index.js +11871 -2783
  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/backofficeToolset.d.ts +13 -4
  5. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
  6. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts +10 -0
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/contentToolset.d.ts.map +1 -0
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts +2 -4
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts.map +1 -1
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
  11. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts +115 -0
  12. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -0
  13. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +26 -17
  14. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
  15. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/CatalogSelection/index.d.ts.map +1 -1
  16. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts +15 -0
  17. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventScope.d.ts.map +1 -0
  18. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.d.ts.map +1 -1
  19. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/useWysiwygConfigurator.d.ts.map +1 -1
  20. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  21. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  22. package/build/types/backoffice/src/store/DataStore.d.ts.map +1 -1
  23. package/build/types/backoffice/src/store/GridRegistry.d.ts +39 -0
  24. package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -1
  25. package/build/types/backoffice/src/store/RootStore.d.ts +1 -1
  26. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  27. package/build/types/backoffice/src/store/ToolBarStore.d.ts +5 -0
  28. package/build/types/backoffice/src/store/ToolBarStore.d.ts.map +1 -1
  29. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts +35 -8
  30. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts.map +1 -1
  31. package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts +2 -0
  32. package/build/types/backoffice/src/tests/unit/agentBridge/agentBridgePanel.test.d.ts.map +1 -0
  33. package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts +2 -0
  34. package/build/types/backoffice/src/tests/unit/agentBridge/bridgeStatus.test.d.ts.map +1 -0
  35. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts +2 -0
  36. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentMount.test.d.ts.map +1 -0
  37. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.d.ts +2 -0
  38. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.d.ts.map +1 -0
  39. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts +2 -0
  40. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.d.ts.map +1 -0
  41. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts +2 -0
  42. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.d.ts.map +1 -0
  43. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +161 -0
  44. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -0
  45. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts +2 -0
  46. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.d.ts.map +1 -0
  47. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts +2 -0
  48. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.d.ts.map +1 -0
  49. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts +2 -0
  50. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.d.ts.map +1 -0
  51. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts +2 -0
  52. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.d.ts.map +1 -0
  53. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.d.ts +2 -0
  54. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.d.ts.map +1 -0
  55. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts +2 -0
  56. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.d.ts.map +1 -0
  57. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts +2 -0
  58. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.d.ts.map +1 -0
  59. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts +2 -0
  60. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.d.ts.map +1 -0
  61. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts +2 -0
  62. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.d.ts.map +1 -0
  63. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts +2 -0
  64. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.d.ts.map +1 -0
  65. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts +2 -0
  66. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.d.ts.map +1 -0
  67. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts +2 -0
  68. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.d.ts.map +1 -0
  69. package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts +2 -0
  70. package/build/types/backoffice/src/tests/unit/store/WebplannerInstanceStore.test.d.ts.map +1 -0
  71. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts +2 -0
  72. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.d.ts.map +1 -0
  73. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts +2 -0
  74. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.d.ts.map +1 -0
  75. package/build/types/backoffice/src/tests/unit/ui/IDMCollectionEditor/Tables/collectionMemberUtils.test.d.ts +2 -0
  76. package/build/types/backoffice/src/tests/unit/ui/IDMCollectionEditor/Tables/collectionMemberUtils.test.d.ts.map +1 -0
  77. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts +2 -0
  78. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.d.ts.map +1 -0
  79. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/publishUtils.test.d.ts +2 -0
  80. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/publishUtils.test.d.ts.map +1 -0
  81. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts +2 -0
  82. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.d.ts.map +1 -0
  83. package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts +2 -0
  84. package/build/types/backoffice/src/tests/unit/utils/routeCatalogId.test.d.ts.map +1 -0
  85. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +10 -2
  86. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
  87. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts +15 -0
  88. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts.map +1 -0
  89. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useRefreshHeaderValues.d.ts +9 -0
  90. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useRefreshHeaderValues.d.ts.map +1 -0
  91. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +5 -2
  92. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
  93. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +3 -2
  94. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
  95. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerLink.d.ts +38 -0
  96. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerLink.d.ts.map +1 -0
  97. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts +36 -0
  98. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map +1 -0
  99. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.d.ts +3 -2
  100. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/AffectedCount/index.d.ts.map +1 -1
  101. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts +1 -1
  102. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts.map +1 -1
  103. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useAffectedProducts.d.ts +6 -6
  104. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts +14 -0
  105. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts.map +1 -1
  106. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.d.ts +7 -6
  107. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.d.ts.map +1 -1
  108. package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
  109. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerLink.test.d.ts +2 -0
  110. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerLink.test.d.ts.map +1 -0
  111. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerSync.test.d.ts +2 -0
  112. package/build/types/backoffice/src/ui/AssortmentManager/tests/headerSync.test.d.ts.map +1 -0
  113. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +6 -0
  114. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
  115. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts +7 -0
  116. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/ContentItemPreview.d.ts.map +1 -0
  117. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts +7 -0
  118. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/index.d.ts.map +1 -0
  119. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts +21 -0
  120. package/build/types/backoffice/src/ui/CommonComponents/ContentItemLibrary/libraryContext.d.ts.map +1 -0
  121. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +5 -0
  122. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  123. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts.map +1 -1
  124. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AddAccessoryModal.d.ts.map +1 -1
  125. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts +61 -0
  126. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.d.ts.map +1 -0
  127. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts +2 -0
  128. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts.map +1 -1
  129. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  130. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts +1 -1
  131. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  132. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionGroupOptions.d.ts.map +1 -1
  133. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts +1 -1
  134. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
  135. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +1 -1
  136. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  137. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +1 -1
  138. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  139. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts +25 -0
  140. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureColumns.d.ts.map +1 -0
  141. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts +11 -0
  142. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  143. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
  144. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts +8 -0
  145. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  146. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts +4 -0
  147. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  148. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts.map +1 -1
  149. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts +13 -0
  150. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts.map +1 -0
  151. package/build/types/backoffice/src/ui/IDMCollectionEditor/modules/TableCollections/index.d.ts.map +1 -1
  152. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts +8 -1
  153. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
  154. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts +19 -0
  155. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -0
  156. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -1
  157. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts +12 -39
  158. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
  159. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts +16 -0
  160. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts.map +1 -0
  161. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts.map +1 -1
  162. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts +27 -0
  163. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts.map +1 -0
  164. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -1
  165. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  166. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts +23 -0
  167. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts.map +1 -1
  168. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +6 -0
  169. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
  170. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts +1 -0
  171. package/build/types/backoffice/src/ui/IDMFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
  172. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts +4 -0
  173. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/modules/TableFeatures/index.d.ts.map +1 -1
  174. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts +1 -0
  175. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/modules/TableOptions/index.d.ts.map +1 -1
  176. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +1 -1
  177. package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts +11 -0
  178. package/build/types/backoffice/src/utils/contentItemEndpoints.d.ts.map +1 -0
  179. package/build/types/backoffice/src/utils/routeCatalogId.d.ts +8 -0
  180. package/build/types/backoffice/src/utils/routeCatalogId.d.ts.map +1 -0
  181. package/package.json +10 -10
  182. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts +0 -6
  183. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyObjectExpandedEditor.d.ts.map +0 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=agentToolDefs.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agentToolDefs.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/agentToolDefs.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=checkCellInput.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkCellInput.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/checkCellInput.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=contentToolset.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"contentToolset.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/contentToolset.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,161 @@
1
+ /**
2
+ * Shared fake grid environment for the DivaAgent navigation-toolset suites.
3
+ *
4
+ * Lives outside jest's testRegex so that importing it from several suites does NOT run any of
5
+ * them a second time. The fake mirrors what the toolset can observe on a registered grid: an
6
+ * AG Grid api subset, the CRUD handle, the approval bar and the RootStore slices the toolset reads.
7
+ */
8
+ import type RootStore from '../../../../../../store/RootStore';
9
+ export declare const CATALOG = "6a7482dbbc0dbae27f20eb5c";
10
+ export declare const SERIE_ID = "6a74000000000000000000a1";
11
+ /** Column the fake grid knows; a write to anything else is an unknown column, as in a real table. */
12
+ export interface FakeColumnDef {
13
+ field: string;
14
+ required?: boolean;
15
+ cellDataType?: 'text' | 'number' | 'asset' | 'lookup';
16
+ /** A hidden internal column — not an editing surface. */
17
+ hide?: boolean;
18
+ /** `false` blocks every write; a function is the grid's per-row rule and gets `{ data }` like the real one. */
19
+ editable?: boolean | ((params: {
20
+ data: Record<string, unknown>;
21
+ }) => boolean);
22
+ /** enumData = the option list an enum column accepts (name shown, value stored); multiple = comma-separated. */
23
+ customParams?: {
24
+ enumData?: {
25
+ value: string;
26
+ name: string;
27
+ }[];
28
+ multiple?: boolean;
29
+ };
30
+ }
31
+ export interface FakeGridOptions {
32
+ /** Table label the grid is registered under (default 'items'). */
33
+ grid?: string;
34
+ /** Fielded columns of the table; defaults to the items table's columns. */
35
+ columnDefs?: FakeColumnDef[];
36
+ /** Endpoint template — the '/series/${…}' segment is what makes a table serie-scoped. */
37
+ readUrl?: string;
38
+ applicationData?: Record<string, unknown>;
39
+ /** Rows already in the grid, keyed by rowId (server rows are keyed by their own _id). */
40
+ rows?: {
41
+ [rowId: string]: Record<string, unknown>;
42
+ };
43
+ /** What the commit reports back. */
44
+ commit?: {
45
+ committed?: string[];
46
+ failed?: {
47
+ rowId: string;
48
+ errors: string[];
49
+ }[];
50
+ skipped?: string[];
51
+ };
52
+ /** Serie record the catalog editor's context holds. */
53
+ selectedSerie?: Record<string, unknown>;
54
+ /** _id the server hands back for an added row. */
55
+ addedId?: string;
56
+ /** Fields the fake server drops on save: the row commits, but these values come back empty. */
57
+ dropOnCommit?: string[];
58
+ /** Rows the commit REPORTS as committed although the server transaction did not keep them. */
59
+ revertOnCommit?: string[];
60
+ /** A table whose grid has no '_id' column — the read-back then has nothing to address rows by. */
61
+ withoutIdColumn?: boolean;
62
+ /**
63
+ * rowIds visible WITHOUT a filter — everything else only appears once a filter targeting it is set
64
+ * (mirrors a server-side lazy table whose initial window does not hold every row). Omitted = every
65
+ * row is visible from the start, like the other fixtures in this file.
66
+ */
67
+ loadedWindow?: string[];
68
+ /** The grid saves its pending changes on its own (a click outside it) while the approval bar is still open. */
69
+ savedBeforeDecision?: boolean;
70
+ /** What the user answers on the approval bar; without it the changes are approved. */
71
+ approveDecision?: boolean;
72
+ /** Adds a COMPUTED column: no field of its own, stored through cellEditToRowUpdate (the accessory matrix). */
73
+ computedColumn?: boolean;
74
+ /** Actions the VIEW declares on this table (runTableAction hands them the input and the approval). */
75
+ actions?: {
76
+ name: string;
77
+ description: string;
78
+ mutating?: boolean;
79
+ run: (input: string) => Promise<string>;
80
+ }[];
81
+ /**
82
+ * A header-add column (the "add a feature column" lookup): `keys` are the entries the fake lookup service knows.
83
+ * runHeaderLookupAdd then registers a new fielded column `<key>.value`, which is what the poll in addColumn looks for.
84
+ */
85
+ addColumn?: {
86
+ field: string;
87
+ keys: {
88
+ value: string;
89
+ label: string;
90
+ }[];
91
+ failOn?: string;
92
+ };
93
+ /** Further registered grids (e.g. the 'pricelists' parent the factor actions write through). */
94
+ extraEntries?: Record<string, unknown>[];
95
+ /** The option list a LOOKUP column's service knows, per column — what resolveLookupWrite/fetchLookupOptions answer from. */
96
+ lookups?: Record<string, {
97
+ value: string | number;
98
+ label: string;
99
+ }[]>;
100
+ }
101
+ /** The computed column's colId - a matrix cell is addressed by that, never by a field. */
102
+ export declare const MATRIX_CELL = "10-T110.mandatoryQuantity";
103
+ /** The items table's fielded columns; `_id` is implicit and only dropped via `withoutIdColumn`. */
104
+ export declare const ITEMS_COLUMN_DEFS: FakeColumnDef[];
105
+ /**
106
+ * A fake catalog-editor grid: rows live in memory, staging keeps a pre-stage snapshot per row, and the commit
107
+ * reports whatever `options.commit` prescribes. Returns the toolset under test plus the counters and probes the
108
+ * suites assert on (`rolledBack`, `commitCalls`, the recorded stage calls). See `FakeGridOptions` for the knobs.
109
+ */
110
+ export declare function fakeEnvironment(options?: FakeGridOptions): {
111
+ /** Runs any navigation tool against this environment. */
112
+ dispatch: (name: string, input: unknown) => Promise<any>;
113
+ stage: (input: unknown) => Promise<any>;
114
+ staged: {
115
+ rowId: string;
116
+ patch: Record<string, unknown>;
117
+ }[];
118
+ removed: string[][];
119
+ added: Record<string, unknown>[];
120
+ rolledBack: () => number;
121
+ commitCalls: () => number;
122
+ refreshed: () => number;
123
+ headerAdds: {
124
+ field: string;
125
+ key: string;
126
+ }[];
127
+ /** The registry entry of this grid — pushed into ANOTHER environment's registry to model a second grid. */
128
+ entry: {
129
+ id: number;
130
+ label: string;
131
+ gridId: string;
132
+ readUrl: string | undefined;
133
+ getHandle: () => any;
134
+ getActions: () => {
135
+ name: string;
136
+ description: string;
137
+ mutating?: boolean;
138
+ run: (input: string) => Promise<string>;
139
+ }[];
140
+ requestAgentApproval: (changeCount: number, actionLabel?: string) => Promise<boolean>;
141
+ };
142
+ /** The fake store, for tests that stage what the store does between calls (toolbars, grid registration). */
143
+ root: RootStore;
144
+ approvalCalls: {
145
+ changeCount: number;
146
+ actionLabel?: string;
147
+ }[];
148
+ rows: {
149
+ [rowId: string]: any;
150
+ };
151
+ };
152
+ /** Serie 0 is the components serie the view auto-selects. */
153
+ export declare const KOMPONENTEN: {
154
+ _id: string;
155
+ serieNo: number;
156
+ seriesName: {
157
+ DE: string;
158
+ EN: string;
159
+ };
160
+ };
161
+ //# sourceMappingURL=fakeGridEnvironment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fakeGridEnvironment.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=generateImageAsset.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateImageAsset.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/generateImageAsset.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=locateRowExactMatch.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locateRowExactMatch.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowExactMatch.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=lookupWrite.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lookupWrite.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/lookupWrite.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mediaBatchIsolation.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mediaBatchIsolation.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/mediaBatchIsolation.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=navigationToolDefs.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigationToolDefs.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigationToolDefs.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=publishCatalogTestManifest.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishCatalogTestManifest.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/publishCatalogTestManifest.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=runTableAction.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"runTableAction.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/runTableAction.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=setAssetCellBatch.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setAssetCellBatch.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/setAssetCellBatch.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stageTableEdits.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stageTableEdits.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEdits.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=stageTableEditsSequentialLookup.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stageTableEditsSequentialLookup.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageTableEditsSequentialLookup.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=uploadAssetSources.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uploadAssetSources.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/DivaAgent/uploadAssetSources.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=articlesEventBelongsToView.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articlesEventBelongsToView.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/layout/Toolbar/Tools/WYSIWYG_Configurator/articlesEventBelongsToView.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=WebplannerInstanceStore.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebplannerInstanceStore.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/store/WebplannerInstanceStore.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=accessoryLookup.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accessoryLookup.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryLookup.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=featureColumns.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"featureColumns.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCatalogEditor/Tables/featureColumns.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=collectionMemberUtils.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collectionMemberUtils.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMCollectionEditor/Tables/collectionMemberUtils.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=propertyColumn.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"propertyColumn.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertyColumn.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=publishUtils.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishUtils.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/tests/unit/ui/IDMEnricherEditor/TablePackages/publishUtils.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=priceFactorMutations.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"priceFactorMutations.test.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/tests/unit/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=routeCatalogId.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"routeCatalogId.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/tests/unit/utils/routeCatalogId.test.ts"],"names":[],"mappings":""}
@@ -1,17 +1,25 @@
1
1
  import React from 'react';
2
- import { DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
2
+ import { DivaActionDef, DivaContext, DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
3
+ import { HeaderProducts } from '../../logic/headerSync';
3
4
  interface ArticleTableProps {
4
5
  /** Free text of the page's search input — the grid ORs it over the legacy search fields. */
5
6
  searchTerm?: string;
6
7
  /** Page-level hooks, e.g. the selection that drives the subtable tabs. */
7
8
  hooks?: DivaSpreadsheetHooks<Record<string, unknown>>;
9
+ /** The page's row buttons (actions column), e.g. the header refresh. */
10
+ rowActions?: DivaActionDef<Record<string, unknown>, DivaContext>[];
11
+ /** The organization's header rows for the refresh marker; the grid waits for them (undefined = loading). */
12
+ headers?: HeaderProducts;
8
13
  }
9
14
  /**
10
15
  * All articles of the organization as a server-side grid: the catalog service pages, sorts and
11
16
  * filters `/v1/products`. The organization scoping lives in the preFilter — the products filter path
12
17
  * applies neither the organization nor `archived` by itself (see HeaderData/hooks/useHeaderData.ts).
13
18
  * The supplier / EK group context is per row: the two leading columns name it; keeping the header
14
- * inheritance (`headerValues`) in sync with those values is a server concern.
19
+ * inheritance (`headerValues`) linked to those values is a server concern. A header save changes no
20
+ * article — rows whose header snapshot differs from the header row, or that are not linked to the
21
+ * header row of their context yet, get a warning accent, and the page's row action pulls the current
22
+ * header values in.
15
23
  */
16
24
  declare const ArticleTable: React.ForwardRefExoticComponent<ArticleTableProps & React.RefAttributes<SpreadsheetRefProps<Record<string, unknown>>>>;
17
25
  export default ArticleTable;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAiB,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAatG,UAAU,iBAAiB;IACzB,4FAA4F;IAC5F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CACvD;AAED;;;;;;GAMG;AACH,QAAA,MAAM,YAAY,wHA6GhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAiB,aAAa,EAAE,WAAW,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAUlI,OAAO,EAAE,cAAc,EAAoB,MAAM,wBAAwB,CAAC;AAI1E,UAAU,iBAAiB;IACzB,4FAA4F;IAC5F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,wEAAwE;IACxE,UAAU,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,CAAC,EAAE,CAAC;IACnE,4GAA4G;IAC5G,OAAO,CAAC,EAAE,cAAc,CAAC;CAC1B;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,wHAmHhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -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;AAyB1E,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,36 @@
1
+ /**
2
+ * The active header rows of the organization (`_id`, `lastUpdated`, key fields), keyed by product id and by
3
+ * 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 is older than the header row it references: the header was saved after
19
+ * the article last pulled its values. Compared by timestamp — `headerValues.lastUpdated` is the header's
20
+ * `lastUpdated` at snapshot time — so the header rows are loaded with a few fields instead of their whole
21
+ * `customData`; an organization has thousands of them. Derived from the data on both sides, a header save
22
+ * writes nothing into articles. Not reported for transferred articles (they can never be refreshed), for
23
+ * articles without a link, and while the header rows are not loaded or the referenced row is gone.
24
+ */
25
+ export declare function isHeaderOutdated(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
26
+ /**
27
+ * An article without a header link whose supplier / EK group context has a header row by now: the article
28
+ * was imported or created before that header row existed (the import sets no link then, and a header save
29
+ * writes nothing into articles). A refresh links it — the catalog resolves the header through the key
30
+ * fields, not through the stored link. Not reported for transferred articles and while the header rows are
31
+ * not loaded.
32
+ */
33
+ export declare function hasUnlinkedHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
34
+ /** Whether the refresh action has something to pull: outdated header values, or a header row not linked yet. */
35
+ export declare function canRefreshHeader(data: Record<string, unknown> | undefined, headers: HeaderProducts | undefined): boolean;
36
+ //# 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;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,EAAE,OAAO,EAAE,cAAc,GAAG,SAAS,GAAG,OAAO,CAOxH;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[];