@crystaldesign/diva-backoffice 26.11.0-beta.3 → 26.11.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/build/esm/index.js +14502 -8122
  2. package/build/types/backoffice/src/Configuration.d.ts +11 -5
  3. package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
  4. package/build/types/backoffice/src/layout/Content/index.d.ts.map +1 -1
  5. package/build/types/backoffice/src/layout/Navigation/types.d.ts +1 -1
  6. package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +19 -0
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -0
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts +30 -0
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/createHeadlessPlanner.d.ts.map +1 -0
  11. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts +8 -0
  12. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -0
  13. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +32 -0
  14. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -0
  15. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/index.d.ts.map +1 -1
  16. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/useWysiwygConfigurator.d.ts.map +1 -1
  17. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/wysiwygSettings.d.ts +12 -0
  18. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_Configurator/wysiwygSettings.d.ts.map +1 -0
  19. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  20. package/build/types/backoffice/src/store/ConfigurationStore.d.ts +5 -1
  21. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  22. package/build/types/backoffice/src/store/ContentStore.d.ts +1 -0
  23. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  24. package/build/types/backoffice/src/store/GridRegistry.d.ts +25 -0
  25. package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -0
  26. package/build/types/backoffice/src/store/RootStore.d.ts +4 -0
  27. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  28. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts +68 -0
  29. package/build/types/backoffice/src/store/WebplannerInstanceStore.d.ts.map +1 -0
  30. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.test.d.ts +2 -0
  31. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.test.d.ts.map +1 -0
  32. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/api/goodsGroups.test.d.ts +2 -0
  33. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/api/goodsGroups.test.d.ts.map +1 -0
  34. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.test.d.ts +2 -0
  35. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.test.d.ts.map +1 -0
  36. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/automaticPublishingFilterModelParser.test.d.ts +2 -0
  37. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TablePackages/automaticPublishingFilterModelParser.test.d.ts.map +1 -0
  38. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/inputImagesModalUtils.test.d.ts +2 -0
  39. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/inputImagesModalUtils.test.d.ts.map +1 -0
  40. package/build/types/backoffice/src/tests/unit/utils/parseServersideFilters.test.d.ts +2 -0
  41. package/build/types/backoffice/src/tests/unit/utils/parseServersideFilters.test.d.ts.map +1 -0
  42. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts +30 -0
  43. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts.map +1 -0
  44. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +18 -0
  45. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -0
  46. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/CommonColumnCell/index.d.ts +19 -0
  47. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/CommonColumnCell/index.d.ts.map +1 -0
  48. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts +11 -0
  49. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts.map +1 -0
  50. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +13 -0
  51. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -0
  52. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/allowedFieldValues.d.ts +28 -0
  53. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/allowedFieldValues.d.ts.map +1 -0
  54. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +55 -0
  55. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -0
  56. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articlePayloads.d.ts +16 -0
  57. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articlePayloads.d.ts.map +1 -0
  58. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapLock.d.ts +7 -0
  59. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapLock.d.ts.map +1 -0
  60. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts +5 -0
  61. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts.map +1 -0
  62. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts.map +1 -1
  63. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/ItemGroupTable/index.d.ts +5 -1
  64. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/ItemGroupTable/index.d.ts.map +1 -1
  65. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useDropdownEnumData.d.ts +8 -4
  66. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useDropdownEnumData.d.ts.map +1 -1
  67. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts +1 -12
  68. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useHeaderData.d.ts.map +1 -1
  69. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/useSaveHeaderData.d.ts.map +1 -1
  70. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts +18 -8
  71. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts.map +1 -1
  72. package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
  73. package/build/types/backoffice/src/ui/AssortmentManager/{HeaderData/hooks → hooks}/usePersistedFilter.d.ts +4 -2
  74. package/build/types/backoffice/src/ui/AssortmentManager/hooks/usePersistedFilter.d.ts.map +1 -0
  75. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +4 -3
  76. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts.map +1 -1
  77. package/build/types/backoffice/src/ui/AssortmentManager/logic/jsonPointer.d.ts +7 -0
  78. package/build/types/backoffice/src/ui/AssortmentManager/logic/jsonPointer.d.ts.map +1 -0
  79. package/build/types/backoffice/src/ui/AssortmentManager/tests/allowedFieldValues.test.d.ts +2 -0
  80. package/build/types/backoffice/src/ui/AssortmentManager/tests/allowedFieldValues.test.d.ts.map +1 -0
  81. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleColumns.test.d.ts +2 -0
  82. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleColumns.test.d.ts.map +1 -0
  83. package/build/types/backoffice/src/ui/AssortmentManager/tests/articlePayloads.test.d.ts +2 -0
  84. package/build/types/backoffice/src/ui/AssortmentManager/tests/articlePayloads.test.d.ts.map +1 -0
  85. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSubTable.test.d.ts +2 -0
  86. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSubTable.test.d.ts.map +1 -0
  87. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapLock.test.d.ts +2 -0
  88. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapLock.test.d.ts.map +1 -0
  89. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +69 -5
  90. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
  91. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +11 -2
  92. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  93. package/build/types/backoffice/src/ui/CommonComponents/editorViews.d.ts +34 -0
  94. package/build/types/backoffice/src/ui/CommonComponents/editorViews.d.ts.map +1 -0
  95. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts +3 -1
  96. package/build/types/backoffice/src/ui/CommonComponents/useTools.d.ts.map +1 -1
  97. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.d.ts +17 -0
  98. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/accessoryCellEdit.d.ts.map +1 -0
  99. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts +4 -5
  100. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/index.d.ts.map +1 -1
  101. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
  102. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/IdmCatalogs.d.ts.map +1 -1
  103. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts +5 -1
  104. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  105. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  106. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  107. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  108. package/build/types/backoffice/src/ui/IDMCatalogEditor/api/goodsGroups.d.ts +129 -0
  109. package/build/types/backoffice/src/ui/IDMCatalogEditor/api/goodsGroups.d.ts.map +1 -0
  110. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/ClassifyTrigger.d.ts +10 -0
  111. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/ClassifyTrigger.d.ts.map +1 -0
  112. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/index.d.ts +36 -0
  113. package/build/types/backoffice/src/ui/IDMCatalogEditor/components/GoodsGroups/index.d.ts.map +1 -0
  114. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  115. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.d.ts +21 -0
  116. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupRun.d.ts.map +1 -0
  117. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupVocabulary.d.ts +9 -0
  118. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useGoodsGroupVocabulary.d.ts.map +1 -0
  119. package/build/types/backoffice/src/ui/IDMCatalogEditor/index.d.ts.map +1 -1
  120. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableCatalogs/index.d.ts.map +1 -1
  121. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
  122. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  123. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  124. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts +4 -0
  125. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -0
  126. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts +34 -0
  127. package/build/types/backoffice/src/ui/IDMEnricherEditor/hooks/useEnricherContext.d.ts.map +1 -1
  128. package/build/types/backoffice/src/ui/IDMEnricherEditor/index.d.ts.map +1 -1
  129. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableGroups/index.d.ts.map +1 -1
  130. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/automaticPublishingFilterModelParser.d.ts +33 -0
  131. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/automaticPublishingFilterModelParser.d.ts.map +1 -0
  132. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  133. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePartlistPos/index.d.ts.map +1 -1
  134. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
  135. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts +3 -7
  136. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/index.d.ts.map +1 -1
  137. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.d.ts +2 -1
  138. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/catalogConfig.d.ts.map +1 -1
  139. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/createAssetOverrideColumn.d.ts +59 -0
  140. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/createAssetOverrideColumn.d.ts.map +1 -0
  141. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.d.ts +2 -1
  142. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/detailInfosConfig.d.ts.map +1 -1
  143. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.d.ts +2 -1
  144. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/itemConfig.d.ts.map +1 -1
  145. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts +2 -1
  146. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/optionsConfig.d.ts.map +1 -1
  147. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.d.ts +2 -1
  148. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableRenaming/tableConfiguration/seriesConfig.d.ts.map +1 -1
  149. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableTabGroups/index.d.ts.map +1 -1
  150. package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts +4 -0
  151. package/build/types/backoffice/src/ui/IDMEnricherEditor/views.d.ts.map +1 -0
  152. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +1 -1
  153. package/build/types/backoffice/src/ui/Table/StandardTable/useTableData.d.ts.map +1 -1
  154. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/ApprovalWorkspace/index.d.ts +3 -1
  155. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/ApprovalWorkspace/index.d.ts.map +1 -1
  156. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/ImagePanel/index.d.ts +3 -1
  157. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/ImagePanel/index.d.ts.map +1 -1
  158. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/InputImagesModal/index.d.ts +23 -0
  159. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/InputImagesModal/index.d.ts.map +1 -0
  160. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/InputImagesModal/utils.d.ts +10 -0
  161. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/InputImagesModal/utils.d.ts.map +1 -0
  162. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/LeftSlider/index.d.ts.map +1 -1
  163. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/MetadataPanel/index.d.ts +16 -1
  164. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/MetadataPanel/index.d.ts.map +1 -1
  165. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/ReferenceImageTag/index.d.ts +4 -0
  166. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/ReferenceImageTag/index.d.ts.map +1 -0
  167. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts.map +1 -1
  168. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SideBySideViewer/index.d.ts +3 -1
  169. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SideBySideViewer/index.d.ts.map +1 -1
  170. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useKeyboardShortcuts.d.ts.map +1 -1
  171. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useRenderJobData.d.ts.map +1 -1
  172. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts +2 -0
  173. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts.map +1 -1
  174. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/index.d.ts.map +1 -1
  175. package/build/types/backoffice/src/ui/TableRenderJobs/config.d.ts +23 -0
  176. package/build/types/backoffice/src/ui/TableRenderJobs/config.d.ts.map +1 -1
  177. package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobPatch.d.ts.map +1 -1
  178. package/build/types/backoffice/src/ui/TableRenderJobs/types.d.ts +4 -0
  179. package/build/types/backoffice/src/ui/TableRenderJobs/types.d.ts.map +1 -1
  180. package/build/types/backoffice/src/utils/ApiHandler.d.ts +1 -1
  181. package/build/types/backoffice/src/utils/ApiHandler.d.ts.map +1 -1
  182. package/build/types/backoffice/src/utils/getIcons.d.ts.map +1 -1
  183. package/build/types/backoffice/src/utils/parseServersideFilters.d.ts +7 -0
  184. package/build/types/backoffice/src/utils/parseServersideFilters.d.ts.map +1 -1
  185. package/package.json +12 -11
  186. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/hooks/usePersistedFilter.d.ts.map +0 -1
  187. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AccessoryCellRenderer/index.d.ts +0 -31
  188. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/AccessoryCellRenderer/index.d.ts.map +0 -1
  189. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts +0 -8
  190. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/index.d.ts.map +0 -1
  191. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts +0 -258
  192. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableExclusivity/tableConfiguration.d.ts.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/CommonColumnCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAIxD,UAAU,qBAAqB;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE;QAAE,kBAAkB,CAAC,EAAE;YAAE,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;SAAE,CAAA;KAAE,CAAC;CACzE;AAWD;;;;;GAKG;AACH,iBAAS,gBAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,qBAAqB,qBA+BhE;AAED,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import RootStore from '../../../../store/RootStore';
2
+ /**
3
+ * The per-user allowed values of every restricted catalogue field (`allowedValues`), keyed by field
4
+ * key — e.g. the SAP Warengruppen the user is authorized for. Returns undefined while loading. A
5
+ * field whose value is undefined after the load is unrestricted (the backend applies no restriction
6
+ * to this user, e.g. no personal number) — no filter, full dropdown. A field whose load errs (e.g.
7
+ * SAP unreachable) fails closed to an empty list — the article grid then shows nothing — and
8
+ * surfaces a toast.
9
+ */
10
+ export default function useAllowedFieldValues(root: RootStore): Record<string, string[] | undefined> | undefined;
11
+ //# sourceMappingURL=useAllowedFieldValues.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAllowedFieldValues.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.ts"],"names":[],"mappings":"AAGA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AA4CpD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAC,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GAAG,SAAS,CA4B/G"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ /**
3
+ * The article ("Positionsdaten") page of the assortment manager: lists all articles of the
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.
7
+ */
8
+ declare function ArticleData(): React.JSX.Element;
9
+ declare const _default: typeof ArticleData & {
10
+ displayName: string;
11
+ };
12
+ export default _default;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAgBtE;;;;;GAKG;AACH,iBAAS,WAAW,sBAoJnB;;;;AAED,wBAAqC"}
@@ -0,0 +1,28 @@
1
+ import { AdvancedFilterModel } from 'ag-grid-enterprise';
2
+ import { AssortmentManagerAllowedValues, AssortmentManagerField } from '../../types';
3
+ import { EnumEntry } from '../../HeaderData/hooks/useDropdownEnumData';
4
+ /** A catalogue field whose `allowedValues` restriction is configured. */
5
+ export type AllowedValueField = AssortmentManagerField & {
6
+ allowedValues: AssortmentManagerAllowedValues;
7
+ };
8
+ /** The article-visible catalogue fields restricted to per-user allowed values. */
9
+ export declare const ALLOWED_VALUE_FIELDS: AllowedValueField[];
10
+ /**
11
+ * The preFilter condition restricting the article grid to the allowed values of one field — ONE set
12
+ * condition, which the NodeJs adapter serializes to the grammar's `{field,in,v1,v2,…}` and the
13
+ * service to one index-friendly $in. With hundreds of allowed codes this filter is why the article
14
+ * grid reads via POST (parameters in the body instead of the URL — see ArticleTable). The codes are
15
+ * pre-quoted: the adapter's set serializer does not quote, and the service parser casts unquoted
16
+ * numeric-looking values to numbers, which never match string columns. Without any allowed value
17
+ * the condition matches only articles where the field is blank — which the `allowedValues` contract
18
+ * assumes do not exist — so the user sees nothing (fail closed).
19
+ */
20
+ export declare function allowedValuesPreFilterCondition(fieldKey: string, allowedValues: string[]): AdvancedFilterModel;
21
+ /**
22
+ * Narrows the dropdown lists of the restricted fields to their allowed codes, so the column
23
+ * dropdowns offer only those — other lists, and fields without a restriction for this user
24
+ * (undefined allowed values), pass through untouched. Never mutates the (session-cached) input
25
+ * lists.
26
+ */
27
+ export declare function restrictEnumLists(lists: Record<string, EnumEntry[]>, allowedByFieldKey: Record<string, string[] | undefined>): Record<string, EnumEntry[]>;
28
+ //# sourceMappingURL=allowedFieldValues.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowedFieldValues.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/allowedFieldValues.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEzD,OAAO,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,4CAA4C,CAAC;AAEvE,yEAAyE;AACzE,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,GAAG;IAAE,aAAa,EAAE,8BAA8B,CAAA;CAAE,CAAC;AAE3G,kFAAkF;AAClF,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,EAEnD,CAAC;AAEF;;;;;;;;;GASG;AACH,wBAAgB,+BAA+B,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,mBAAmB,CAO9G;AAED;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,EAClC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,GACtD,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAU7B"}
@@ -0,0 +1,55 @@
1
+ import { DivaColDef, DivaColGroupDef } from '@crystaldesign/spreadsheet';
2
+ import { AssortmentManagerItemGroup } from '../../types';
3
+ import { Translate } from '../../HeaderData/types';
4
+ import { EnumEntry } from '../../HeaderData/hooks/useDropdownEnumData';
5
+ type ArticleRow = Record<string, unknown>;
6
+ type ArticleColumn = DivaColDef<ArticleRow> | DivaColGroupDef<ArticleRow>;
7
+ /**
8
+ * Languages of the multilanguage text objects, in display order. The products store the keys as the
9
+ * import delivered them — lowercase in the Pfister data; the uppercase `{ DE, FR, IT }` in the
10
+ * pfister-article docs refers to the payload conversion towards SAP, not to the storage.
11
+ */
12
+ export declare const ARTICLE_LANGUAGES: string[];
13
+ /**
14
+ * Distinct dropdown lists the article columns need — they become the `enumData` of the enum cells.
15
+ * The 'X' flag and row-derived (dotted) keys stay plain text, like on the header page.
16
+ */
17
+ export declare const ARTICLE_DROPDOWN_KEYS: string[];
18
+ /**
19
+ * The field paths the free text search matches (catalog `search` flag), mirroring the legacy
20
+ * assortment manager's flat article filter — minus its `ProductID`, which the SM2.0 catalog does
21
+ * not carry. Multi-language fields are searched in the primary language only (legacy searched DE).
22
+ */
23
+ export declare const ARTICLE_SEARCH_FIELDS: string[];
24
+ /**
25
+ * The repeating tables of the article page; each becomes one tab in the bottom toolbar, fed by the
26
+ * selected row. Groups without a single article-visible column get no tab.
27
+ */
28
+ export declare const ARTICLE_ITEM_GROUPS: AssortmentManagerItemGroup[];
29
+ /**
30
+ * Dropdown column path → companion column path of the fields whose descriptive text lives in a
31
+ * `showAsLabelFor` companion (the Produkthierarchie and its "Prodh. Bez."). Exported for the page's
32
+ * post-commit reset, see {@link labelCompanionResets}.
33
+ */
34
+ export declare const ARTICLE_LABEL_COMPANIONS: ReadonlyArray<{
35
+ field: string;
36
+ companion: string;
37
+ }>;
38
+ /**
39
+ * The companion overrides to clear after a committed row update: a dropdown override that went away
40
+ * on a path bypassing the column's valueParser (editor clear, Entf, undo) leaves its companion text
41
+ * behind, which would then describe the inherited code wrongly. Only fields that actually changed
42
+ * count, so unrelated edits never touch an imported companion value.
43
+ */
44
+ export declare function labelCompanionResets(oldData: ArticleRow | undefined, data: ArticleRow): Record<string, undefined>;
45
+ /**
46
+ * Builds the article table's column tree from the field catalogue: one header group per catalogue
47
+ * `group` in file order, one column per `showOnArticle` entry; entries without a group render
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.
50
+ * Fields naming a `commonColumn` collapse into one shared symbol column each, their own columns
51
+ * hidden.
52
+ */
53
+ export declare function buildArticleColDefs(t: Translate, commonColumnCellRenderer?: DivaColDef<ArticleRow>['cellRenderer'], enumLists?: Record<string, EnumEntry[]>): ArticleColumn[];
54
+ export {};
55
+ //# sourceMappingURL=articleColumns.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * JSON Patch operation writing one ITEM_GROUP array of an article wholesale — `add` rather than
3
+ * `replace` because it also creates a group that does not exist on the article yet.
4
+ */
5
+ export interface SubtablePatchOperation {
6
+ op: 'add';
7
+ path: string;
8
+ value: Record<string, unknown>[];
9
+ }
10
+ /**
11
+ * The patch of one subtable save: the ITEM_GROUP arrays live inside the article's `customData` and
12
+ * are written wholesale — the catalog service rewrites the `/customData/...` path onto the article's
13
+ * `overrideValues` and re-materializes the merge (arrays never merge partially by design).
14
+ */
15
+ export declare function buildSubtablePatch(groupKey: string, rows: Record<string, unknown>[]): SubtablePatchOperation[];
16
+ //# sourceMappingURL=articlePayloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articlePayloads.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articlePayloads.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,KAAK,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;CAClC;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,sBAAsB,EAAE,CAE9G"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * An article already transferred to SAP is locked: the transfer (at this stage only possible through
3
+ * the legacy SM) sets `SentToSAPSuccess`, and from then on the row is read-only — only the base
4
+ * configuration and the classification may still change, which separate tickets cover.
5
+ */
6
+ export declare function isSentToSAP(data: Record<string, unknown> | undefined): boolean;
7
+ //# sourceMappingURL=sapLock.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sapLock.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/sapLock.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,OAAO,CAE9E"}
@@ -0,0 +1,5 @@
1
+ import { BaseModulConfiguration } from '../../../Configuration';
2
+ export interface AssortmentManagerArticleDataConfiguration extends BaseModulConfiguration {
3
+ type: 'AssortmentManagerArticleData';
4
+ }
5
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/ArticleData/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,WAAW,yCAA0C,SAAQ,sBAAsB;IACvF,IAAI,EAAE,8BAA8B,CAAC;CACtC"}
@@ -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;AA0ChD,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,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"}
@@ -12,6 +12,10 @@ interface ItemGroupTableProps {
12
12
  onPendingChange: (groupKey: string, hasPending: boolean) => void;
13
13
  /** Registers the grid's imperative API with the page shell (prepareSave / rollback / couplings). */
14
14
  onGridRef: (groupKey: string, grid: SpreadsheetRefProps<Record<string, unknown>> | null) => void;
15
+ /** Which side of the field catalogue the columns show — the header data page (default) or the article page. */
16
+ level?: 'header' | 'article';
17
+ /** Renders the grid without any edit capability — e.g. for articles already transferred to SAP. */
18
+ readOnly?: boolean;
15
19
  }
16
20
  /**
17
21
  * One ITEM_GROUP of the header product as an editable client-side grid. The grid owns the working
@@ -19,6 +23,6 @@ interface ItemGroupTableProps {
19
23
  * registered ref (`prepareSave` → `confirm`/`abort`), discards via `rollback` and triggers reloads
20
24
  * explicitly via `refresh` (after a baseline swap or a discard).
21
25
  */
22
- declare function ItemGroupTable({ group, getSeedRows, onPendingChange, onGridRef }: ItemGroupTableProps): React.JSX.Element;
26
+ declare function ItemGroupTable({ group, getSeedRows, onPendingChange, onGridRef, level, readOnly }: ItemGroupTableProps): React.JSX.Element;
23
27
  export default ItemGroupTable;
24
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/HeaderData/components/ItemGroupTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAuC,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAItG,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAQ5D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,0BAA0B,CAAC;IAClC;;;OAGG;IACH,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC7D,0GAA0G;IAC1G,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,oGAAoG;IACpG,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;CAClG;AAED;;;;;GAKG;AACH,iBAAS,cAAc,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,EAAE,mBAAmB,qBA2D9F;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/HeaderData/components/ItemGroupTable/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAuC,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAItG,OAAO,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAS5D,UAAU,mBAAmB;IAC3B,KAAK,EAAE,0BAA0B,CAAC;IAClC;;;OAGG;IACH,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC7D,0GAA0G;IAC1G,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,oGAAoG;IACpG,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IACjG,+GAA+G;IAC/G,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,mGAAmG;IACnG,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,iBAAS,cAAc,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,SAAS,EAAE,KAAgB,EAAE,QAAgB,EAAE,EAAE,mBAAmB,qBAmElI;AAED,eAAe,cAAc,CAAC"}
@@ -6,6 +6,10 @@ export interface DropdownItem {
6
6
  /** Descriptive text of the code. */
7
7
  value: string;
8
8
  }
9
+ /** The batch response of `GET /v1/dropdownItems/lists`: the whole lists keyed by dropdownKey (catalog schema `DropdownItemLists`). */
10
+ export interface DropdownItemLists {
11
+ lists: Record<string, DropdownItem[]>;
12
+ }
9
13
  /** One entry of an enum cell list — the spreadsheet's `enumData` shape. */
10
14
  export interface EnumEntry {
11
15
  /** Descriptive text of the code (dropdownItems `value`). */
@@ -35,10 +39,10 @@ export declare function dropdownItemOptions(items: DropdownItem[]): {
35
39
  data: DropdownItem;
36
40
  }[];
37
41
  /**
38
- * Loads the dropdownItems lists (the same source the header form selects use) for the given keys
39
- * they become the `enumData` of the ITEM_GROUP grid columns. Returns undefined while loading so the
40
- * grid can wait for a stable configuration; a failed load resolves to an empty list, which makes
41
- * the affected column fall back to a plain text editor.
42
+ * Loads the dropdownItems lists (the same source the header form selects use) for the given keys in
43
+ * one request — they become the `enumData` of the grid enum columns. Returns undefined while loading
44
+ * so the grid can wait for a stable configuration; a failed load resolves to empty lists, which
45
+ * makes the affected columns fall back to plain text editors.
42
46
  */
43
47
  export default function useDropdownEnumData(root: RootStore, dropdownKeys: string[]): Record<string, EnumEntry[]> | undefined;
44
48
  //# sourceMappingURL=useDropdownEnumData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDropdownEnumData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/hooks/useDropdownEnumData.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAKpD,gEAAgE;AAChE,MAAM,WAAW,YAAY;IAC3B,uBAAuB;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,2EAA2E;AAC3E,MAAM,WAAW,SAAS;IACxB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,SAAS,MAAM,CAAC;AAyB7B;;;;GAIG;AACH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,SAAS,EACf,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC;IAAE,KAAK,EAAE,YAAY,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAanD;AAKD;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CA4BzH;AAkCD,+FAA+F;AAC/F,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAAE;;;;IAExD;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,GAAG,SAAS,CAkB5H"}
1
+ {"version":3,"file":"useDropdownEnumData.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/hooks/useDropdownEnumData.ts"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AAKpD,gEAAgE;AAChE,MAAM,WAAW,YAAY;IAC3B,uBAAuB;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,sIAAsI;AACtI,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;CACvC;AAED,2EAA2E;AAC3E,MAAM,WAAW,SAAS;IACxB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,SAAS,MAAM,CAAC;AA4B7B;;;;GAIG;AACH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,SAAS,EACf,WAAW,EAAE,MAAM,EACnB,IAAI,EAAE,MAAM,EACZ,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC;IAAE,KAAK,EAAE,YAAY,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAanD;AAKD;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CA4BzH;AAiDD,+FAA+F;AAC/F,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,EAAE;;;;IAExD;AAED;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,GAAG,SAAS,CAmB5H"}
@@ -10,17 +10,6 @@ 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
- * Loads the header product (`isHeader: true`) for a supplier / EK group combination.
15
- *
16
- * `type: 'string'` on the two SAP keys is required: `parseFilterParam` casts an unquoted numeric string to
17
- * a number, which then matches nothing. `archived` is filtered here because the catalog service drops the
18
- * controller's own `archived: false` on the filter code path — the same reason
19
- * `PfisterArticleService.getProductHeaderValues` spells it out.
20
- *
21
- * `organizationId` belongs in the filter as well: on that same code path the `organizationIds` query
22
- * parameter only drives the permission check and does not scope the query (`ProductService.search`), so
23
- * without the clause another organization's header row could be loaded.
24
- */
13
+ /** Loads the header product for a supplier / EK group combination as reactive state. */
25
14
  export default function useHeaderData(root: RootStore, supplierNr?: string, ekg?: string): HeaderDataState;
26
15
  //# 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;AAED;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,IAAI,EAAE,SAAS,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,eAAe,CAkDzG"}
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 +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;AAEpD,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;AAqBD;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,IAAI,EAAE,SAAS,EAAE,IAAI,CAAC,EAAE,aAAa,GAAG,mBAAmB,CAoCpG"}
@@ -1,9 +1,11 @@
1
1
  import { DivaColDef } from '@crystaldesign/spreadsheet';
2
- import { AssortmentManagerItemGroup } from '../../types';
2
+ import { AssortmentManagerFieldType, AssortmentManagerItemGroup } from '../../types';
3
3
  import { Translate } from '../types';
4
4
  import { EnumEntry } from '../hooks/useDropdownEnumData';
5
5
  /** How date cells display their values — the same format the form's date pickers use. */
6
6
  export declare const DISPLAY_DATE_FORMAT = "DD.MM.YYYY";
7
+ /** Maps the catalogue field types onto the spreadsheet cell data types. */
8
+ export declare const CELL_DATA_TYPES: Record<AssortmentManagerFieldType, string>;
7
9
  /**
8
10
  * Normalizes any date value the grid produces to the SAP `YYYYMMDD` storage format — the dateString
9
11
  * cell type itself would store ISO, but the header form writes SAP format, and mixed writers would
@@ -11,12 +13,20 @@ export declare const DISPLAY_DATE_FORMAT = "DD.MM.YYYY";
11
13
  */
12
14
  export declare function toSapDateString(value: unknown): string | undefined;
13
15
  /**
14
- * Builds the column definitions of one ITEM_GROUP grid on the header data page. Article-only sub
15
- * fields (`showOnHeaderValues: false`, e.g. the dimensions of the Mengen Einheiten legacy
16
- * `ShowOnSupplierLevel`) get no column; their values survive untouched inside the row data. Columns
17
- * whose dropdown list is loaded and non-empty render as `enum` cells in the same shape the IDM
18
- * tables use (searchable select editor, set filter, "name (code)" display); everything else falls
19
- * back to the plain cell data types.
16
+ * Complements the grid's own `required` check, which only catches `undefined`: the SAP columns model
17
+ * "no value" as an empty string, so that (and `null`) counts as missing too. Errors surface exactly
18
+ * like the built-in check live cell marking plus a held-back row at `prepareSave`.
20
19
  */
21
- export declare function buildItemGroupColDefs(group: AssortmentManagerItemGroup, enumLists: Record<string, EnumEntry[]>, t: Translate): DivaColDef<Record<string, unknown>>[];
20
+ export declare function requiredCellValidator(t: Translate): ({ value }: {
21
+ value: unknown;
22
+ }) => string | undefined;
23
+ /**
24
+ * Builds the column definitions of one ITEM_GROUP grid. On the header data page (`level: 'header'`,
25
+ * the default) article-only sub fields get no column; on the article page (`level: 'article'`) the
26
+ * `showOnArticle` sub fields render instead. Hidden fields' values survive untouched inside the row
27
+ * data. Columns whose dropdown list is loaded and non-empty render as `enum` cells in the same shape
28
+ * the IDM tables use (searchable select editor, set filter, "name (code)" display); everything else
29
+ * falls back to the plain cell data types.
30
+ */
31
+ export declare function buildItemGroupColDefs(group: AssortmentManagerItemGroup, enumLists: Record<string, EnumEntry[]>, t: Translate, level?: 'header' | 'article'): DivaColDef<Record<string, unknown>>[];
22
32
  //# sourceMappingURL=itemGroupColumns.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"itemGroupColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAA8B,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAOzD,yFAAyF;AACzF,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAWhD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKlE;AAsBD;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,0BAA0B,EACjC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,EACtC,CAAC,EAAE,SAAS,GACX,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CA6BvC"}
1
+ {"version":3,"file":"itemGroupColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AACrF,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAOzD,yFAAyF;AACzF,eAAO,MAAM,mBAAmB,eAAe,CAAC;AAEhD,2EAA2E;AAC3E,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,0BAA0B,EAAE,MAAM,CAMtE,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAKlE;AAYD;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,CAAC,EAAE,SAAS,eAC7B;IAAE,KAAK,EAAE,OAAO,CAAA;CAAE,wBAEtC;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,KAAK,EAAE,0BAA0B,EACjC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,EACtC,CAAC,EAAE,SAAS,EACZ,KAAK,GAAE,QAAQ,GAAG,SAAoB,GACrC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAiCvC"}
@@ -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,EAy2CnE,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,EA26CnE,CAAC"}
@@ -1,9 +1,11 @@
1
1
  /**
2
- * Supplier and EK group selection, restored on reload.
2
+ * Supplier and EK group selection, restored on reload. Shared by the header data and the article data
3
+ * page: the storage key is not page scoped, so switching between the menu items keeps the context.
3
4
  *
4
5
  * The initial value is read once on mount, which is enough: switching the organization remounts the whole
5
6
  * backoffice tree (`BrowserRouter key={organization?._id}` in `index.tsx`), so the hook re-reads with the
6
- * new key by itself.
7
+ * new key by itself — and the routes mount one page at a time, so the last unmounted page's value is the
8
+ * one the next page picks up.
7
9
  */
8
10
  export default function usePersistedFilter(organizationId?: string): {
9
11
  supplierNr: string | undefined;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePersistedFilter.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/hooks/usePersistedFilter.ts"],"names":[],"mappings":"AA+CA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,cAAc,CAAC,EAAE,MAAM;;;iCAUjC,MAAM;mBACpB,MAAM;EAExB"}
@@ -1,4 +1,5 @@
1
- import AssortmentManagerHeaderData from './HeaderData';
2
- import { AssortmentManagerHeaderDataConfiguration } from './HeaderData/types';
3
- export { AssortmentManagerHeaderDataConfiguration, AssortmentManagerHeaderData };
1
+ export { default as AssortmentManagerHeaderData } from './HeaderData';
2
+ export type { AssortmentManagerHeaderDataConfiguration } from './HeaderData/types';
3
+ export { default as AssortmentManagerArticleData } from './ArticleData';
4
+ export type { AssortmentManagerArticleDataConfiguration } from './ArticleData/types';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/AssortmentManager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,MAAM,cAAc,CAAC;AACvD,OAAO,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,wCAAwC,EAAE,2BAA2B,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/AssortmentManager/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,2BAA2B,EAAE,MAAM,cAAc,CAAC;AACtE,YAAY,EAAE,wCAAwC,EAAE,MAAM,oBAAoB,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,4BAA4B,EAAE,MAAM,eAAe,CAAC;AACxE,YAAY,EAAE,yCAAyC,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Turns the config's dot separated field paths into JSON Pointers, e.g. `customData.SAP.SAP_MARA_MTART`
3
+ * becomes `/customData/SAP/SAP_MARA_MTART`. Per RFC 6901 a literal `~` and `/` inside a segment have to be
4
+ * escaped; no field key currently contains either, but a future custom field might.
5
+ */
6
+ export declare function toJsonPointer(key: string): string;
7
+ //# sourceMappingURL=jsonPointer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonPointer.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/logic/jsonPointer.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,UAKxC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=allowedFieldValues.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowedFieldValues.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/allowedFieldValues.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=articleColumns.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articleColumns.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/articleColumns.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=articlePayloads.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articlePayloads.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/articlePayloads.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=articleSubTable.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articleSubTable.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/articleSubTable.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sapLock.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sapLock.test.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/AssortmentManager/tests/sapLock.test.ts"],"names":[],"mappings":""}
@@ -17,6 +17,20 @@ export interface AssortmentManagerFixedValueRule {
17
17
  */
18
18
  values: Record<string, number | string>;
19
19
  }
20
+ /**
21
+ * Restricts a field to externally resolved allowed values (e.g. per-user SAP authorizations), see
22
+ * `AssortmentManagerField.allowedValues`: the article table shows only rows whose value is allowed,
23
+ * and the field's dropdown offers only the allowed codes. Fail closed by contract: an empty or
24
+ * unloadable list shows no rows — which assumes the field is never blank on the articles.
25
+ */
26
+ export interface AssortmentManagerAllowedValues {
27
+ /** apiConfig key of the service that resolves the allowed codes for the current user. */
28
+ service: 'clientArticleService' | 'catalogService';
29
+ /** Endpoint path on that service returning the codes. */
30
+ path: string;
31
+ /** Property of the response object carrying the string codes. */
32
+ responseField: string;
33
+ }
20
34
  /** One target of a form → table value coupling, see `AssortmentManagerField.copyValueTo`. */
21
35
  export interface AssortmentManagerCopyTarget {
22
36
  /** Full path of the ITEM_GROUP whose rows receive the value (e.g. `customData.SAP.SAP_KONP_EK`). */
@@ -42,14 +56,57 @@ interface AssortmentManagerEntryBase {
42
56
  showOnHeaderValues: boolean;
43
57
  /** Help text shown as a tooltip (legacy `ToolTip`, falling back to `Description`). */
44
58
  description?: string;
45
- /** Card title on the header data page; entries sharing a group land in the same card (legacy `EditorGroup`). */
46
- group: string;
59
+ /**
60
+ * Card title on the header data page and header group in the article table; entries sharing a
61
+ * group land in the same card/group (legacy `EditorGroup`). Without it an article column renders
62
+ * ungrouped at the top level — header-visible entries always carry one.
63
+ */
64
+ group?: string;
65
+ /**
66
+ * Pins the article table column to the given edge — passed through to the spreadsheet column
67
+ * definition's `pinned` flag. Replaces the legacy grid's `locked: true` on the LOCKED editor group.
68
+ */
69
+ pinned?: 'left' | 'right';
70
+ /**
71
+ * Folds the field into a shared compact symbol column of the article table: all entries naming
72
+ * the same column collapse into one (the name is its colId and header label), rendered by a
73
+ * page-provided cell renderer. The fields' own columns stay in the grid hidden — they keep
74
+ * carrying the initial sort, feed the renderer and remain reachable through the column panel.
75
+ */
76
+ commonColumn?: string;
77
+ /**
78
+ * The field's value is not carried over when an article row is duplicated — the copy starts
79
+ * empty here (per-article unique values, e.g. the SAP article number). Passed through to the
80
+ * spreadsheet column definition's `excludeFromDuplicate` flag. Effective for plain and
81
+ * multilanguage columns; a header-inheritable field would additionally need its materialized
82
+ * path stripped (its column binds the `overrideValues.…` path only).
83
+ */
84
+ excludeFromDuplicate?: boolean;
85
+ /** Offers sorting on the article table column (legacy `Sortable`); off by default. */
86
+ sortable?: boolean;
87
+ /**
88
+ * Offers filtering on the article table column (legacy `Filterable`); off by default. Named after
89
+ * the spreadsheet column definition's `filter` flag it is passed through to.
90
+ */
91
+ filter?: boolean;
92
+ /**
93
+ * The article table's free text search matches this field (legacy flat article filter); off by
94
+ * default. Multi-language fields are searched in the primary language only, like the legacy
95
+ * DE-only search.
96
+ */
97
+ search?: boolean;
47
98
  }
48
99
  /** A single editable field. */
49
100
  export interface AssortmentManagerField extends AssortmentManagerEntryBase {
50
101
  type: AssortmentManagerFieldType;
51
102
  /** When set, the field renders as a select fed by `/v1/dropdownItems` (legacy `DropdownKey`). */
52
103
  dropDownKey?: string;
104
+ /**
105
+ * Restricts the field to per-user allowed values resolved by the configured endpoint — the
106
+ * article table then shows only rows whose value is allowed, and the dropdown (`dropDownKey`
107
+ * list) offers only the allowed codes. See {@link AssortmentManagerAllowedValues}.
108
+ */
109
+ allowedValues?: AssortmentManagerAllowedValues;
53
110
  /**
54
111
  * When set, the field renders as a multi select fed by `/v1/dropdownItems`; the selected codes are
55
112
  * stored semicolon-joined in one string value (e.g. Marketplace `A;B`).
@@ -68,15 +125,22 @@ export interface AssortmentManagerField extends AssortmentManagerEntryBase {
68
125
  notRequiredOnHeaderValues?: boolean;
69
126
  /** Maximum input length for string fields, enforced by the editors (legacy `MaxLength`). */
70
127
  maxLength?: number;
128
+ /**
129
+ * The value is an object keyed by uppercase language codes (`{ DE, FR, IT }`, legacy
130
+ * `MultiLanguage`); the article table renders one child column per language.
131
+ */
132
+ multiLanguage?: boolean;
71
133
  /**
72
134
  * Renders the field as a growing textarea instead of a single-line input (legacy `Multiline` > 1,
73
135
  * which opened a modal editor because its form inputs were single-line only).
74
136
  */
75
137
  multiline?: boolean;
76
138
  /**
77
- * Full path of a sibling dropdown field this field is the descriptive label of. The field then
78
- * renders read-only, always showing the label text of the referenced field's current selection,
79
- * and carries no form value of its own.
139
+ * Full path of a sibling dropdown field this field is the descriptive label of. On the header page
140
+ * the field then renders read-only, always showing the label text of the referenced field's current
141
+ * selection, and carries no form value of its own. In the article table it is a stored column:
142
+ * picking a value in the referenced dropdown writes the selection's text into it, clearing the
143
+ * dropdown clears it.
80
144
  */
81
145
  showAsLabelFor?: string;
82
146
  /**
@@ -1 +1 @@
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,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,gHAAgH;IAChH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,+BAA+B;AAC/B,MAAM,WAAW,sBAAuB,SAAQ,0BAA0B;IACxE,IAAI,EAAE,0BAA0B,CAAC;IACjC,iGAAiG;IACjG,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;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,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;OAIG;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"}
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;;;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"}
@@ -1,5 +1,14 @@
1
- import { SpreadsheetProps, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
1
+ import { Configuration, SpreadsheetProps, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
2
2
  import React from 'react';
3
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<SpreadsheetProps<any>, "jwt"> & React.RefAttributes<SpreadsheetRefProps>, "ref"> & React.RefAttributes<SpreadsheetRefProps>>>;
3
+ /** Spreadsheet configuration plus the agent-addressing fields consumed only by this wrapper's grid registry. */
4
+ export type AgentGridConfiguration<TData = any> = Configuration<TData> & {
5
+ /** What this table contains, for AI tools driving the grid. */
6
+ agentDescription?: string;
7
+ /** Stable unique grid handle for AI tools (replaces the collision-prone read-endpoint label). */
8
+ agentGridId?: string;
9
+ };
10
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Omit<SpreadsheetProps<any>, "jwt" | "configuration"> & {
11
+ configuration: AgentGridConfiguration;
12
+ } & React.RefAttributes<SpreadsheetRefProps>, "ref"> & React.RefAttributes<SpreadsheetRefProps>>>;
4
13
  export default _default;
5
14
  //# 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,gBAAgB,EAAe,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAEhG,OAAO,KAA6B,MAAM,OAAO,CAAC;;AAiClD,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,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"}