@crystaldesign/diva-backoffice 26.14.0-beta.2 → 26.14.0-beta.20

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 (205) hide show
  1. package/build/esm/index.js +13164 -9893
  2. package/build/types/backoffice/src/config/imageFormats.d.ts +5 -0
  3. package/build/types/backoffice/src/config/imageFormats.d.ts.map +1 -0
  4. package/build/types/backoffice/src/layout/MainLayout.d.ts.map +1 -1
  5. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts +4 -3
  6. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatComposer.d.ts.map +1 -1
  7. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.d.ts +1 -3
  8. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ChatThread.d.ts.map +1 -1
  9. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.d.ts +1 -3
  10. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ConversationSidebar.d.ts.map +1 -1
  11. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/generation.d.ts +73 -0
  12. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/generation.d.ts.map +1 -0
  13. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/index.d.ts.map +1 -1
  14. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/pricing.d.ts +0 -2
  15. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/pricing.d.ts.map +1 -1
  16. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.d.ts +3 -4
  17. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/conversationsRepo.d.ts.map +1 -1
  18. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.d.ts +4 -4
  19. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/storage/imagesRepo.d.ts.map +1 -1
  20. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.d.ts +2 -7
  21. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/useAiChat.d.ts.map +1 -1
  22. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/utils.d.ts +0 -1
  23. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/utils.d.ts.map +1 -1
  24. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
  25. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
  26. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +2 -0
  27. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
  28. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  29. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  30. package/build/types/backoffice/src/store/GridRegistry.d.ts +7 -0
  31. package/build/types/backoffice/src/store/GridRegistry.d.ts.map +1 -1
  32. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +13 -0
  33. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -1
  34. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/keyChangeApproval.test.d.ts +2 -0
  35. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/keyChangeApproval.test.d.ts.map +1 -0
  36. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/inUseUsageTables.test.d.ts +2 -0
  37. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/inUseUsageTables.test.d.ts.map +1 -0
  38. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeCheck.test.d.ts +2 -0
  39. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/publishedKeyChangeCheck.test.d.ts.map +1 -0
  40. package/build/types/backoffice/src/tests/unit/ui/Form/formErrorText.test.d.ts +2 -0
  41. package/build/types/backoffice/src/tests/unit/ui/Form/formErrorText.test.d.ts.map +1 -0
  42. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureMeanings.test.d.ts +2 -0
  43. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featureMeanings.test.d.ts.map +1 -0
  44. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featuresMeaningHint.test.d.ts +2 -0
  45. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/featuresMeaningHint.test.d.ts.map +1 -0
  46. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.d.ts +2 -0
  47. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/parseSlotConflict.test.d.ts.map +1 -0
  48. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/runPerProduct.test.d.ts +2 -0
  49. package/build/types/backoffice/src/tests/unit/ui/TableRenderJobs/runPerProduct.test.d.ts.map +1 -0
  50. package/build/types/backoffice/src/tests/unit/ui/TreeChart/canHaveChildOfType.test.d.ts +2 -0
  51. package/build/types/backoffice/src/tests/unit/ui/TreeChart/canHaveChildOfType.test.d.ts.map +1 -0
  52. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.d.ts +12 -3
  53. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ConfigurationGroupCard/index.d.ts.map +1 -1
  54. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.d.ts +15 -0
  55. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.d.ts.map +1 -0
  56. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.d.ts +39 -0
  57. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.d.ts.map +1 -0
  58. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.d.ts +8 -4
  59. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.d.ts.map +1 -1
  60. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.d.ts +3 -3
  61. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.d.ts.map +1 -1
  62. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.d.ts +17 -0
  63. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.d.ts.map +1 -0
  64. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts.map +1 -1
  65. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +3 -1
  66. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
  67. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts +0 -9
  68. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts.map +1 -1
  69. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.d.ts +8 -0
  70. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.d.ts.map +1 -0
  71. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts +8 -1
  72. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts.map +1 -1
  73. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.d.ts +11 -0
  74. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.d.ts.map +1 -0
  75. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useEanOwners.d.ts +19 -0
  76. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useEanOwners.d.ts.map +1 -0
  77. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
  78. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +20 -1
  79. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
  80. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationGroups.d.ts +11 -1
  81. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationGroups.d.ts.map +1 -1
  82. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationStatus.d.ts +51 -0
  83. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/configurationStatus.d.ts.map +1 -0
  84. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/eanOwners.d.ts +39 -0
  85. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/eanOwners.d.ts.map +1 -0
  86. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.d.ts +26 -0
  87. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.d.ts.map +1 -0
  88. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.d.ts +87 -0
  89. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningChangeGroups.d.ts.map +1 -0
  90. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts +6 -0
  91. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map +1 -1
  92. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts +6 -2
  93. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts.map +1 -1
  94. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts +4 -1
  95. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts.map +1 -1
  96. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/SapDateCellEditor/index.d.ts +13 -0
  97. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/SapDateCellEditor/index.d.ts.map +1 -0
  98. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts +6 -0
  99. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts.map +1 -1
  100. package/build/types/backoffice/src/ui/AssortmentManager/config/articleViews.d.ts +8 -2
  101. package/build/types/backoffice/src/ui/AssortmentManager/config/articleViews.d.ts.map +1 -1
  102. package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
  103. package/build/types/backoffice/src/ui/AssortmentManager/config/readiness.d.ts.map +1 -1
  104. package/build/types/backoffice/src/ui/AssortmentManager/tests/configurationStatus.test.d.ts +2 -0
  105. package/build/types/backoffice/src/ui/AssortmentManager/tests/configurationStatus.test.d.ts.map +1 -0
  106. package/build/types/backoffice/src/ui/AssortmentManager/tests/eanOwners.test.d.ts +2 -0
  107. package/build/types/backoffice/src/ui/AssortmentManager/tests/eanOwners.test.d.ts.map +1 -0
  108. package/build/types/backoffice/src/ui/AssortmentManager/tests/pfisterConfigurationDeriver.test.d.ts +2 -0
  109. package/build/types/backoffice/src/ui/AssortmentManager/tests/pfisterConfigurationDeriver.test.d.ts.map +1 -0
  110. package/build/types/backoffice/src/ui/AssortmentManager/tests/planningChangeGroups.test.d.ts +2 -0
  111. package/build/types/backoffice/src/ui/AssortmentManager/tests/planningChangeGroups.test.d.ts.map +1 -0
  112. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapDateCellEditor.test.d.ts +2 -0
  113. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapDateCellEditor.test.d.ts.map +1 -0
  114. package/build/types/backoffice/src/ui/AssortmentManager/tests/useEanOwners.test.d.ts +2 -0
  115. package/build/types/backoffice/src/ui/AssortmentManager/tests/useEanOwners.test.d.ts.map +1 -0
  116. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +12 -0
  117. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
  118. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/catalogPublished.d.ts +15 -0
  119. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/catalogPublished.d.ts.map +1 -0
  120. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts +31 -0
  121. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts.map +1 -1
  122. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +9 -1
  123. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  124. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/publishedKeyChangeCheck.d.ts +34 -0
  125. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/publishedKeyChangeCheck.d.ts.map +1 -0
  126. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts +27 -2
  127. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts.map +1 -1
  128. package/build/types/backoffice/src/ui/CommonComponents/notificationConfig.d.ts +10 -0
  129. package/build/types/backoffice/src/ui/CommonComponents/notificationConfig.d.ts.map +1 -0
  130. package/build/types/backoffice/src/ui/Form/formErrorText.d.ts +12 -0
  131. package/build/types/backoffice/src/ui/Form/formErrorText.d.ts.map +1 -0
  132. package/build/types/backoffice/src/ui/Form/index.d.ts.map +1 -1
  133. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/CatalogVersions.d.ts.map +1 -1
  134. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
  135. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/FeaturesWithFeatureClass.d.ts.map +1 -1
  136. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Items.d.ts.map +1 -1
  137. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts +6 -0
  138. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/actionsRequired.d.ts.map +1 -0
  139. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/index.d.ts.map +1 -1
  140. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  141. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  142. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureMeanings.d.ts +41 -0
  143. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/featureMeanings.d.ts.map +1 -0
  144. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts +9 -0
  145. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts.map +1 -1
  146. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnits.d.ts +3 -0
  147. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnits.d.ts.map +1 -0
  148. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/optionCombinationColumns.d.ts.map +1 -1
  149. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/priceTypeColumns.d.ts +21 -0
  150. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/priceTypeColumns.d.ts.map +1 -0
  151. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useModule.d.ts.map +1 -1
  152. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePriceTypesOfCatalog.d.ts +27 -0
  153. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/usePriceTypesOfCatalog.d.ts.map +1 -0
  154. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDecisions/index.d.ts.map +1 -1
  155. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDetailInfos/index.d.ts.map +1 -1
  156. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFeatureClasses/index.d.ts.map +1 -1
  157. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableFormulas/index.d.ts.map +1 -1
  158. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptionGroups/index.d.ts.map +1 -1
  159. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
  160. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
  161. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceTypes/index.d.ts +9 -0
  162. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceTypes/index.d.ts.map +1 -0
  163. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePrices/index.d.ts.map +1 -1
  164. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  165. package/build/types/backoffice/src/ui/IDMCatalogEditor/views.d.ts.map +1 -1
  166. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PrefilterSelectors/PackagePublishSwitch.d.ts.map +1 -1
  167. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts +4 -1
  168. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts.map +1 -1
  169. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/PackagePublishControls.d.ts.map +1 -1
  170. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  171. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts +2 -0
  172. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
  173. package/build/types/backoffice/src/ui/IDMFeaturesEditor/Tables/Features.d.ts.map +1 -1
  174. package/build/types/backoffice/src/ui/IDMOrganizationFeaturesEditor/Tables/Features.d.ts.map +1 -1
  175. package/build/types/backoffice/src/ui/IDMOrganizationOptionsEditor/Tables/Options.d.ts.map +1 -1
  176. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
  177. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/SlotConflictModal.d.ts +18 -0
  178. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/SlotConflictModal.d.ts.map +1 -0
  179. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts +5 -2
  180. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/index.d.ts.map +1 -1
  181. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/runPerProduct.d.ts +30 -0
  182. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/components/SessionOverview/runPerProduct.d.ts.map +1 -0
  183. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts +7 -2
  184. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/hooks/useSessionOverviewData.d.ts.map +1 -1
  185. package/build/types/backoffice/src/ui/TableRenderJobs/components/RenderApprove/index.d.ts.map +1 -1
  186. package/build/types/backoffice/src/ui/TableRenderJobs/config.d.ts.map +1 -1
  187. package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.d.ts +15 -1
  188. package/build/types/backoffice/src/ui/TableRenderJobs/hooks/useUpdateRenderJobState.d.ts.map +1 -1
  189. package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts.map +1 -1
  190. package/build/types/backoffice/src/ui/TreeChart/OrgItem/index.d.ts.map +1 -1
  191. package/build/types/backoffice/src/ui/TreeChart/canHaveChildOfType.d.ts +15 -0
  192. package/build/types/backoffice/src/ui/TreeChart/canHaveChildOfType.d.ts.map +1 -0
  193. package/build/types/backoffice/src/ui/TreeChart/types.d.ts +2 -0
  194. package/build/types/backoffice/src/ui/TreeChart/types.d.ts.map +1 -1
  195. package/package.json +14 -15
  196. package/build/types/backoffice/src/config/promptTesterOptions.d.ts +0 -19
  197. package/build/types/backoffice/src/config/promptTesterOptions.d.ts.map +0 -1
  198. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyEmptyState.d.ts +0 -5
  199. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyEmptyState.d.ts.map +0 -1
  200. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts +0 -11
  201. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/ApiKeyModal.d.ts.map +0 -1
  202. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/apiKey.d.ts +0 -25
  203. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/apiKey.d.ts.map +0 -1
  204. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/gemini.d.ts +0 -63
  205. package/build/types/backoffice/src/layout/Toolbar/Tools/AiPromptImageTester/gemini.d.ts.map +0 -1
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { type PlanningModel } from '@crystaldesign/bulk-product-configurator';
3
+ interface ModelPickerProps {
4
+ /** How many articles the planning is made for — shown in the heading. */
5
+ count: number;
6
+ onPick: (model: PlanningModel) => void;
7
+ }
8
+ /**
9
+ * The model a new planning starts from, picked before the configurator opens: the organization's models (api2
10
+ * catalog list) as a compact list per collection, one search over all of them — category managers know the
11
+ * assortment, no collection → catalog wizard.
12
+ */
13
+ export default function ModelPicker({ count, onPick }: ModelPickerProps): React.JSX.Element;
14
+ export {};
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelPicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAqD,KAAK,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAuBjI,UAAU,gBAAgB;IACxB,yEAAyE;IACzE,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CACxC;AAED;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,gBAAgB,qBA+GtE"}
@@ -0,0 +1,39 @@
1
+ import React from 'react';
2
+ import type { ChangeLine, SameChangeArticle } from '../../../logic/planningChangeGroups';
3
+ /** The "Produktupdates" group of marked articles a model update changed, as far as it is read. */
4
+ export type ModelUpdateGroup = {
5
+ status: 'reading';
6
+ } | {
7
+ status: 'failed';
8
+ } | {
9
+ status: 'ready';
10
+ members: string[];
11
+ others: SameChangeArticle[];
12
+ changes: ChangeLine[];
13
+ exhausted?: boolean;
14
+ };
15
+ interface ModelUpdateSummaryProps {
16
+ update: ModelUpdateGroup;
17
+ /** How many of the group's products are marked. */
18
+ marked: number;
19
+ /** How many products the configurator takes at once. */
20
+ portionSize: number;
21
+ /** The group's first portion is being put together. */
22
+ starting: boolean;
23
+ /** Why the marked articles cannot be started now — a transfer run is working on one of them. */
24
+ blockedReason?: string;
25
+ /** "Gruppe prüfen" with the group's products to review: the marked ones and the others still ticked. */
26
+ onReviewGroup: (members: string[]) => void;
27
+ onReviewMarked: () => void;
28
+ /** The marked articles' list — between what the update replaced and the group's other products. */
29
+ children: React.ReactNode;
30
+ }
31
+ /**
32
+ * A model update on the configurator's start screen: what it replaced in the plannings (folded), the marked articles,
33
+ * the other products of its "Produktupdates" group with the same changes (folded, each with a checkbox — ticked at
34
+ * first, an unticked one stays out of the group's review), and the two ways to review it — the group a portion at a
35
+ * time, or only the marked articles.
36
+ */
37
+ declare function ModelUpdateSummary({ update, marked, portionSize, starting, blockedReason, onReviewGroup, onReviewMarked, children, }: ModelUpdateSummaryProps): React.JSX.Element;
38
+ export default ModelUpdateSummary;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/ModelUpdateSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAGxC,OAAO,KAAK,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAOzF,kGAAkG;AAClG,MAAM,MAAM,gBAAgB,GACxB;IAAE,MAAM,EAAE,SAAS,CAAA;CAAE,GACrB;IAAE,MAAM,EAAE,QAAQ,CAAA;CAAE,GAEpB;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC;IAAC,OAAO,EAAE,UAAU,EAAE,CAAC;IAAC,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEpH,UAAU,uBAAuB;IAC/B,MAAM,EAAE,gBAAgB,CAAC;IACzB,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,wDAAwD;IACxD,WAAW,EAAE,MAAM,CAAC;IACpB,uDAAuD;IACvD,QAAQ,EAAE,OAAO,CAAC;IAClB,gGAAgG;IAChG,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wGAAwG;IACxG,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC3C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,mGAAmG;IACnG,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;GAKG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,MAAM,EACN,MAAM,EACN,WAAW,EACX,QAAQ,EACR,aAAa,EACb,aAAa,EACb,cAAc,EACd,QAAQ,GACT,EAAE,uBAAuB,qBAqGzB;AA0CD,eAAe,kBAAkB,CAAC"}
@@ -7,14 +7,18 @@ interface ArticleConfiguratorProps {
7
7
  selectedRows: () => Record<string, unknown>[];
8
8
  /** The grid's marking state — a new object on every marking change, which re-checks the start screen. */
9
9
  selection: BulkActionSelection;
10
- /** Called with the ids the configurator saved — the caller re-reads those rows and hands them to the legacy SM. */
11
- onSaved: (saved: string[]) => Promise<void>;
10
+ /**
11
+ * Called with the ids the configurator saved — the caller re-reads those rows and hands them to the legacy SM. Of them,
12
+ * `deleted`: those whose base configuration it deleted.
13
+ */
14
+ onSaved: (saved: string[], deleted?: string[]) => Promise<void>;
12
15
  /** The Unity render group of the save's render pass, from the backoffice settings (planner default `MYCC7` without). */
13
16
  diva3dRenderGroup?: string;
14
17
  }
15
18
  /**
16
- * The "Konfigurator" panel of the right toolbar: the marked articles' plannings in the mass-configurator (the legacy
17
- * "Basiskonfigurat" cross-launch into the seller, embedded).
19
+ * The "Konfigurator" panel of the right toolbar: the marked articles' plannings in the bulk product configurator (the
20
+ * legacy "Basiskonfigurat" cross-launch into the seller, embedded). A new planning starts from a model picked here first
21
+ * (`ModelPicker`); a group with a planning keeps the model of its planning.
18
22
  *
19
23
  * The start screen follows the grid's checkbox marking: whenever it changes, the panel reads the marked articles'
20
24
  * plannings and shows which of them open together — articles without a planning ("Planung anlegen": planned once,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoE,MAAM,OAAO,CAAC;AAUzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAK1D,uDAAuD;AACvD,eAAO,MAAM,4BAA4B,mCAAmC,CAAC;AAyB7E,UAAU,wBAAwB;IAChC,sEAAsE;IACtE,YAAY,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC9C,yGAAyG;IACzG,SAAS,EAAE,mBAAmB,CAAC;IAC/B,mHAAmH;IACnH,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5C,wHAAwH;IACxH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;;;;GAWG;AACH,iBAAS,mBAAmB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,wBAAwB,qBAsN7G;;;;AAED,wBAA6C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoE,MAAM,OAAO,CAAC;AAYzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAQ1D,uDAAuD;AACvD,eAAO,MAAM,4BAA4B,mCAAmC,CAAC;AA4C7E,UAAU,wBAAwB;IAChC,sEAAsE;IACtE,YAAY,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;IAC9C,yGAAyG;IACzG,SAAS,EAAE,mBAAmB,CAAC;IAC/B;;;OAGG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAChE,wHAAwH;IACxH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;;;;;;;;GAYG;AACH,iBAAS,mBAAmB,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,OAAO,EAAE,iBAAiB,EAAE,EAAE,wBAAwB,qBAiV7G;;;;AAED,wBAA6C"}
@@ -1,9 +1,9 @@
1
1
  import RootStore from '../../../../../store/RootStore';
2
2
  import type { ConfigurationKeyProduct } from '../../logic/configurationGroups';
3
3
  /**
4
- * The marked articles' plannings as far as `configurationGroups` judges them — `divaNr` and the first order set's
5
- * catalog and order lines — plus the numbers and short texts the start screen lists them by. Projected: a whole
6
- * configuration (variant values, the 3D project) would cost kilobytes per article.
4
+ * The marked articles' plannings as far as `configurationGroups` judges them — `divaNr`, the first order set's catalog
5
+ * and order lines, and the changes a catalog update left in them — plus the numbers and short texts the start screen
6
+ * lists them by. Projected: a whole configuration (variant values, the 3D project) would cost kilobytes per article.
7
7
  */
8
8
  export declare function loadConfigurationKeys(root: RootStore, ids: string[]): Promise<ConfigurationKeyProduct[]>;
9
9
  //# sourceMappingURL=loadConfigurationKeys.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loadConfigurationKeys.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAE/E;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CASxG"}
1
+ {"version":3,"file":"loadConfigurationKeys.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadConfigurationKeys.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAG/E;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,uBAAuB,EAAE,CAAC,CAUxG"}
@@ -0,0 +1,17 @@
1
+ import RootStore from '../../../../../store/RootStore';
2
+ import type { ConfigurationKeyProduct } from '../../logic/configurationGroups';
3
+ import { type GroupPortion, type PlanningChangeGroup } from '../../logic/planningChangeGroups';
4
+ /**
5
+ * The catalog's "Produktupdates" groups the given articles are in — read from its planning-changes view
6
+ * (`GET /v1/products/changes/planning`), which the catalog keeps materialized so no aggregation runs here. Throws when
7
+ * the catalog refuses, e.g. a user without `readServerSideFields`.
8
+ */
9
+ export declare function loadPlanningChangeGroups(root: RootStore, ids: string[]): Promise<PlanningChangeGroup[]>;
10
+ /**
11
+ * The next portion of a "Produktupdates" group for the configurator (`nextPortion`), with the keys of its products:
12
+ * the members' keys are read in chunks, in member order, until the portion is full or the members run out.
13
+ */
14
+ export declare function loadGroupPortion(root: RootStore, candidates: string[], catalogCodex: string, limit: number): Promise<GroupPortion & {
15
+ products: ConfigurationKeyProduct[];
16
+ }>;
17
+ //# sourceMappingURL=loadPlanningChangeGroups.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadPlanningChangeGroups.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleConfigurator/loadPlanningChangeGroups.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gCAAgC,CAAC;AAEvD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAA2C,KAAK,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAGxI;;;;GAIG;AACH,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAa7G;AAKD;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,SAAS,EACf,UAAU,EAAE,MAAM,EAAE,EACpB,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,YAAY,GAAG;IAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAA;CAAE,CAAC,CAajE"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAuC,MAAM,uBAAuB,CAAC;AAE9F,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE5D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,UAAU,sBAAsB;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,6FAA6F;IAC7F,GAAG,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC5B,+GAA+G;IAC/G,MAAM,CAAC,EAAE;QACP,kBAAkB,CAAC,EAAE;YACnB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;YACpD,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,kBAAkB,GAAG,SAAS,CAAC;SACrE,CAAC;KACH,CAAC;CACH;AAKD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,sBAAsB,4BAsG5F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAuC,MAAM,uBAAuB,CAAC;AAE9F,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE5D,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,UAAU,sBAAsB;IAC9B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,6FAA6F;IAC7F,GAAG,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IAC5B,+GAA+G;IAC/G,MAAM,CAAC,EAAE;QACP,kBAAkB,CAAC,EAAE;YACnB,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;YACpD,aAAa,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,kBAAkB,GAAG,SAAS,CAAC;SACrE,CAAC;KACH,CAAC;CACH;AAKD;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE,sBAAsB,4BA6G5F"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { NotificationInstance } from 'antd/es/notification/interface';
3
3
  import { DivaColDef, DivaSpreadsheetHooks, SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
4
- import { AssortmentManagerViewCondition } from '../../../types';
4
+ import { AssortmentManagerViewCondition, EanOwner } from '../../../types';
5
5
  import { HeaderProducts } from '../../logic/headerSync';
6
6
  import type { PlanningRemovalParams } from '../../logic/planningTransfer';
7
7
  interface ArticleTableProps {
@@ -17,6 +17,8 @@ interface ArticleTableProps {
17
17
  onDivaNrPaste?: DivaColDef<Record<string, unknown>>['onPaste'];
18
18
  /** Takes Delete on the DIVA number column (the planning removal). Must keep its identity — a new one rebuilds the grid. */
19
19
  onDivaNrRemove?: (params: PlanningRemovalParams) => void;
20
+ /** The articles carrying the loaded rows' EANs (`useEanOwners`), for the readiness. Must keep its identity — a new one rebuilds the grid. */
21
+ eanOwners?: ReadonlyMap<string, EanOwner[]>;
20
22
  /** The page's notifications — a failed load reports while the table still shows its spinner. */
21
23
  notify: NotificationInstance;
22
24
  }
@@ -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;AAEnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAiB,UAAU,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAUhE,OAAO,EAAE,cAAc,EAAwC,MAAM,wBAAwB,CAAC;AAE9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAW1E,UAAU,iBAAiB;IACzB,4GAA4G;IAC5G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,4GAA4G;IAC5G,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,4GAA4G;IAC5G,cAAc,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAClD,6HAA6H;IAC7H,aAAa,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/D,2HAA2H;IAC3H,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACzD,gGAAgG;IAChG,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,wHA8HhB,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;AAEnD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAiB,UAAU,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,OAAO,EAAE,8BAA8B,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAU1E,OAAO,EAAE,cAAc,EAAwC,MAAM,wBAAwB,CAAC;AAE9F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAa1E,UAAU,iBAAiB;IACzB,4GAA4G;IAC5G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IACtD,4GAA4G;IAC5G,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,4GAA4G;IAC5G,cAAc,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAClD,6HAA6H;IAC7H,aAAa,CAAC,EAAE,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/D,2HAA2H;IAC3H,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACzD,6IAA6I;IAC7I,SAAS,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC5C,gGAAgG;IAChG,MAAM,EAAE,oBAAoB,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,wHAiIhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -1,15 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ArticleReadiness } from '../../logic/readiness';
3
3
  type ArticleRow = Record<string, unknown>;
4
- /** The grid's notification setup (`SpreadsheetComponent`), so the action toasts look like the grid's own. */
5
- export declare const NOTIFICATION_CONFIG: {
6
- stack: {
7
- threshold: number;
8
- };
9
- showProgress: boolean;
10
- pauseOnHover: boolean;
11
- placement: "bottomRight";
12
- };
13
4
  /** What the buttons need to know about the current selection to decide whether they can start. */
14
5
  export interface BulkActionSelection {
15
6
  /** Number of marked rows — none disables every button. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/BulkActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,EAAE,gBAAgB,EAAc,MAAM,uBAAuB,CAAC;AAErE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAS1C,6GAA6G;AAC7G,eAAO,MAAM,mBAAmB;;;;;;;CAAyG,CAAC;AAE1I,kGAAkG;AAClG,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,UAAU,gBAAgB;IACxB,kEAAkE;IAClE,YAAY,EAAE,MAAM,UAAU,EAAE,CAAC;IACjC,wFAAwF;IACxF,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6GAA6G;IAC7G,SAAS,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;IACjD,sHAAsH;IACtH,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,gBAAgB,qBAwQnH"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/BulkActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAW3D,OAAO,EAAE,gBAAgB,EAAc,MAAM,uBAAuB,CAAC;AAGrE,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAS1C,kGAAkG;AAClG,MAAM,WAAW,mBAAmB;IAClC,0DAA0D;IAC1D,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,UAAU,gBAAgB;IACxB,kEAAkE;IAClE,YAAY,EAAE,MAAM,UAAU,EAAE,CAAC;IACjC,wFAAwF;IACxF,SAAS,EAAE,mBAAmB,CAAC;IAC/B,6GAA6G;IAC7G,SAAS,EAAE,CAAC,GAAG,EAAE,UAAU,KAAK,gBAAgB,CAAC;IACjD,sHAAsH;IACtH,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,WAAW,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,EAAE,gBAAgB,qBAwQnH"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface ConfigurationStatusCellProps {
3
+ data?: Record<string, unknown>;
4
+ }
5
+ /** The article's planning in words, coloured by its state: grey without one, green planned, amber with changes to review. */
6
+ export default function ConfigurationStatusCell({ data }: ConfigurationStatusCellProps): React.JSX.Element | null;
7
+ export {};
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ConfigurationStatusCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,4BAA4B;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED,6HAA6H;AAC7H,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAAE,IAAI,EAAE,EAAE,4BAA4B,4BAMrF"}
@@ -14,12 +14,19 @@ interface MarkedArticlesProps {
14
14
  showDivaNr?: boolean;
15
15
  /** Columns put in front of the article's own — e.g. the classification panel's template and target choice. */
16
16
  leadingColumns?: TableColumnsType<ListedMarkedArticle>;
17
+ /** Pages the list — for a long one; without, every article is listed. */
18
+ pageSize?: number;
19
+ /** A checkbox per article — the ids ticked, and what a tick or untick (or the header's, on every page) leaves ticked. */
20
+ selection?: {
21
+ selected: string[];
22
+ onChange: (selected: string[]) => void;
23
+ };
17
24
  }
18
25
  /**
19
26
  * The marked articles of a panel's start screen (classification, configurator) and of the planning transfer's dialogs by what the category manager knows
20
27
  * them by: SAP number, supplier article number and the short text in the portal language (German where the article
21
28
  * has none in it).
22
29
  */
23
- declare function MarkedArticles({ articles, showSupplier, showDivaNr, leadingColumns }: MarkedArticlesProps): React.JSX.Element;
30
+ declare function MarkedArticles({ articles, showSupplier, showDivaNr, leadingColumns, pageSize, selection }: MarkedArticlesProps): React.JSX.Element;
24
31
  export default MarkedArticles;
25
32
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAEpD,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE7E,wHAAwH;AACxH,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8GAA8G;IAC9G,cAAc,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;CACxD;AAID;;;;GAIG;AACH,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,EAAE,mBAAmB,qBAgDlG;AAED,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAmB,KAAK,gBAAgB,EAAE,MAAM,MAAM,CAAC;AAE9D,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE7E,wHAAwH;AACxH,MAAM,WAAW,mBAAoB,SAAQ,aAAa;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,mBAAmB;IAC3B,QAAQ,EAAE,mBAAmB,EAAE,CAAC;IAChC,oEAAoE;IACpE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8GAA8G;IAC9G,cAAc,CAAC,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACvD,yEAAyE;IACzE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yHAAyH;IACzH,SAAS,CAAC,EAAE;QAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;KAAE,CAAC;CAC5E;AAID;;;;GAIG;AACH,iBAAS,cAAc,CAAC,EAAE,QAAQ,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,mBAAmB,qBAwEvH;AAED,eAAe,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface ModelUpdateCellProps {
3
+ data?: Record<string, unknown>;
4
+ }
5
+ /**
6
+ * The "!" at the article's front: a catalog update replaced values of its saved planning, and nobody has reviewed and
7
+ * saved it since (`changesRequested.planning`). Empty for every other article.
8
+ */
9
+ export default function ModelUpdateCell({ data }: ModelUpdateCellProps): React.JSX.Element | null;
10
+ export {};
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/ui/AssortmentManager/ArticleData/components/ModelUpdateCell/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,oBAAoB;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EAAE,IAAI,EAAE,EAAE,oBAAoB,4BAWrE"}
@@ -0,0 +1,19 @@
1
+ import RootStore from '../../../../store/RootStore';
2
+ import { EanOwner } from '../../types';
3
+ type ArticleRow = Record<string, unknown>;
4
+ /**
5
+ * Which articles of the organization carry the EANs of the loaded rows — for the readiness rule `eanInUse`. `load`
6
+ * looks up the EANs not looked up yet, a block of rows in one search (the products query's `search` on the Atlas Search
7
+ * index, like `findSupplierArticleDuplicate`); `update` books saved and removed rows in place, as the index follows a
8
+ * save only with a delay, and looks up their new EANs — every answer is booked over with the rows saved so far, as it
9
+ * may not know them yet. `owners` keeps its identity over the page's life, so the grid
10
+ * configuration that reads it is not rebuilt; `onChange` follows every change of it, for redrawing the status cells.
11
+ * Only a pre-check: a failed lookup leaves its EANs to the next load, SAP refuses a duplicate all the same.
12
+ */
13
+ export default function useEanOwners(root: RootStore, onChange: () => void): {
14
+ owners: Map<string, EanOwner[]>;
15
+ load: (rows: ArticleRow[]) => Promise<void>;
16
+ update: (saved: ArticleRow[], removedIds?: string[]) => void;
17
+ };
18
+ export {};
19
+ //# sourceMappingURL=useEanOwners.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useEanOwners.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/hooks/useEanOwners.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAIvC,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAK1C;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,IAAI;;iBASzD,UAAU,EAAE;oBAsBjB,UAAU,EAAE,eAAc,MAAM,EAAE;EAY7C"}
@@ -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;AA6DtE;;;;;;;;GAQG;AACH,iBAAS,WAAW,sBAysBnB;;;;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;AAiEtE;;;;;;;;GAQG;AACH,iBAAS,WAAW,sBAyvBnB;;;;AAED,wBAAqC"}
@@ -86,6 +86,23 @@ export declare const ARTICLE_STATUS_COL_ID = "articleStatus";
86
86
  * of the yellow stripe at the row's front.
87
87
  */
88
88
  export declare function articleStatusColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer'], readinessOf: (row: ArticleRow) => ArticleReadiness, headerElement?: ReactNode, headerClass?: string, headerStateOf?: (row: ArticleRow) => HeaderRefreshState | undefined): DivaColDef<ArticleRow>;
89
+ /** Column id of the model update marker column at the very front. */
90
+ export declare const MODEL_UPDATE_COL_ID = "modelUpdate";
91
+ /**
92
+ * The narrow "!" column at the very front, before the status column: it marks articles whose saved planning a catalog
93
+ * update replaced values of (`hasPlanningChanges`), rendered by the given cell. Derived from the projected planning
94
+ * changes (see `buildArticleColDefs`) — no field, no edit; the view "Konfiguration › Änderungen prüfen" filters them.
95
+ */
96
+ export declare function modelUpdateColumn(cellRenderer: DivaColDef<ArticleRow>['cellRenderer']): DivaColDef<ArticleRow>;
97
+ /** Column id of the configuration status column. */
98
+ export declare const CONFIGURATION_STATUS_COL_ID = "configurationStatus";
99
+ /**
100
+ * The article's planning at a glance, right of the DIVA number: "–" without one, "✓ ‹model›" planned, "⚠ ‹model› · n
101
+ * Änderungen prüfen" with changes a catalog update left to review (configurationStatus.ts) — the text is the cell's value,
102
+ * so a copy carries it; `cellRenderer` colours it. Computed from the row: no field, no edit, and no column filter — the
103
+ * view "Konfiguration" filters server side instead.
104
+ */
105
+ export declare function configurationStatusColumn(t: Translate, cellRenderer?: DivaColDef<ArticleRow>['cellRenderer']): DivaColDef<ArticleRow>;
89
106
  /**
90
107
  * Whether a derived field's cell is being recalculated: the row's changes are on their way to the server, and the
91
108
  * catalog derives the field anew with that save — until the answer is in (the grid then redraws the row). The row
@@ -154,7 +171,9 @@ divaNrCellRenderer?: DivaColDef<ArticleRow>['cellRenderer'],
154
171
  /** The cell class of a `derived` field's value about to be recalculated (see isRecalculating) — the page styles it as loading. */
155
172
  recalculatingCellClass?: string,
156
173
  /** Takes Delete on the DIVA number column (`planningColumn`) — the page's planning removal. */
157
- onDivaNrRemove?: (params: PlanningRemovalParams) => void): ArticleColumn[];
174
+ onDivaNrRemove?: (params: PlanningRemovalParams) => void,
175
+ /** Renders the configuration status cell (`configurationStatusColumn`) — it colours the status. */
176
+ configurationCellRenderer?: DivaColDef<ArticleRow>['cellRenderer']): ArticleColumn[];
158
177
  /**
159
178
  * The Kollidaten table's columns (`config/colliFields.ts`): SAP number, then in the order of its template supplier,
160
179
  * supplier article number, Verpackung, COL, then one group per package (`packageUnit`, headed "C01" … "C39") with its length, width,
@@ -1 +1 @@
1
- {"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAmE,MAAM,oBAAoB,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,EA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CAAC,EACrD,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,GACjD,UAAU,CAAC,UAAU,CAAC,CAexB;AAED;;;;;;;;;;;;;;GAcG;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;AAC3C,8IAA8I;AAC9I,sBAAsB,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC;AAC/D,iGAAiG;AACjG,aAAa,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,SAAS,CAAC;AACjD,wHAAwH;AACxH,kBAAkB,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC,cAAc,CAAC;AAC3D,kIAAkI;AAClI,sBAAsB,CAAC,EAAE,MAAM;AAC/B,+FAA+F;AAC/F,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,GACvD,aAAa,EAAE,CAuKjB;AAyDD;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,CAAC,EAAE,SAAS,EACZ,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAM;AAC3C,kIAAkI;AAClI,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,GAC/D,aAAa,EAAE,CA4BjB"}
1
+ {"version":3,"file":"articleColumns.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/articleColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,eAAe,EAAmE,MAAM,oBAAoB,CAAC;AACtH,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,WAAW,E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,wBAAgB,iBAAiB,CAC/B,CAAC,EAAE,SAAS,EACZ,SAAS,GAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAM;AAC3C,kIAAkI;AAClI,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,UAAU,GAAG,SAAS,KAAK,MAAM,GAAG,SAAS,GAC/D,aAAa,EAAE,CA4BjB"}
@@ -1,3 +1,4 @@
1
+ import { type PlanningChangeArticle } from './configurationStatus';
1
2
  import { type MarkedArticle, type MarkedArticleProduct } from './markedArticles';
2
3
  /**
3
4
  * At most this many articles go into the configurator at once: it boots one planner session per article, one
@@ -18,6 +19,12 @@ export interface ConfigurationKeyProduct extends MarkedArticleProduct {
18
19
  OrderLines?: OrderLineKey[];
19
20
  }[];
20
21
  };
22
+ /** The changes a catalog update left in the planning — the grid's "!". */
23
+ changesRequested?: {
24
+ planning?: {
25
+ articles?: PlanningChangeArticle[];
26
+ };
27
+ };
21
28
  }
22
29
  /** A planning's shape: the catalog and its main articles in order — what two articles must share to be configured together. */
23
30
  export interface PlanningShape {
@@ -34,6 +41,8 @@ export interface ConfigurationGroup {
34
41
  articles: (MarkedArticle & {
35
42
  supplier: string;
36
43
  })[];
44
+ /** The `edit` group's articles whose planning a catalog update changed — the grid's "!"; left out when there are none. */
45
+ modelUpdateIds?: string[];
37
46
  }
38
47
  export interface ConfigurationGrouping {
39
48
  /** The marking spans more than one group: the configurator opens one group at a time. */
@@ -51,7 +60,8 @@ export declare function planningShape(product: ConfigurationKeyProduct): Plannin
51
60
  * Groups the marked articles the configurator can open together. Articles without a planning form one `create`
52
61
  * group — they are planned once and each receives a copy with a DivaNr of its own. Articles with a planning are
53
62
  * configured together only when their plannings share a shape (see {@link planningShape}); each shape is an `edit`
54
- * group. An article that carries a `divaNr` but no readable configuration counts as without a planning.
63
+ * group. An article that carries a `divaNr` but no readable configuration counts as without a planning. An `edit`
64
+ * group names its articles with changes a catalog update left to review (`modelUpdateIds`).
55
65
  */
56
66
  export declare function configurationGroups(products: ConfigurationKeyProduct[]): ConfigurationGrouping;
57
67
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"configurationGroups.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/configurationGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEpH;;;GAGG;AACH,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,UAAU,YAAY;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,2HAA2H;AAC3H,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE;YAAE,YAAY,CAAC,EAAE,OAAO,CAAC;YAAC,UAAU,CAAC,EAAE,YAAY,EAAE,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;CAC3F;AAED,+HAA+H;AAC/H,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,gHAAgH;AAChH,MAAM,WAAW,kBAAkB;IACjC,2GAA2G;IAC3G,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC,aAAa,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;CACpD;AAED,MAAM,WAAW,qBAAqB;IACpC,yFAAyF;IACzF,QAAQ,EAAE,OAAO,CAAC;IAClB,8DAA8D;IAC9D,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC9B;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa,GAAG,SAAS,CAKzF;AAID;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,EAAE,GAAG,qBAAqB,CAc9F"}
1
+ {"version":3,"file":"configurationGroups.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/configurationGroups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,KAAK,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AACzF,OAAO,EAAqC,KAAK,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEpH;;;GAGG;AACH,eAAO,MAAM,yBAAyB,KAAK,CAAC;AAE5C,UAAU,YAAY;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,2BAA2B,CAAC,EAAE,OAAO,CAAC;CACvC;AAED,2HAA2H;AAC3H,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;IACnE,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE;YAAE,YAAY,CAAC,EAAE,OAAO,CAAC;YAAC,UAAU,CAAC,EAAE,YAAY,EAAE,CAAA;SAAE,EAAE,CAAA;KAAE,CAAC;IAC1F,0EAA0E;IAC1E,gBAAgB,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,qBAAqB,EAAE,CAAA;SAAE,CAAA;KAAE,CAAC;CAC1E;AAED,+HAA+H;AAC/H,MAAM,WAAW,aAAa;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,EAAE,CAAC;CAC1B;AAED,gHAAgH;AAChH,MAAM,WAAW,kBAAkB;IACjC,2GAA2G;IAC3G,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC,aAAa,GAAG;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACnD,0HAA0H;IAC1H,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,qBAAqB;IACpC,yFAAyF;IACzF,QAAQ,EAAE,OAAO,CAAC;IAClB,8DAA8D;IAC9D,MAAM,EAAE,kBAAkB,EAAE,CAAC;CAC9B;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa,GAAG,SAAS,CAKzF;AAID;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,uBAAuB,EAAE,GAAG,qBAAqB,CAiB9F"}
@@ -0,0 +1,51 @@
1
+ import { Translate } from '../../HeaderData/types';
2
+ type ArticleRow = Record<string, unknown>;
3
+ /** What the grid reads of a changed article in a pending planning change (diva-catalog `compareNewBasketWithOldConfiguration`). */
4
+ export interface PlanningChangeArticle {
5
+ articleNotFound?: boolean;
6
+ configDiscrepancy?: {
7
+ changed?: {
8
+ new?: unknown[];
9
+ };
10
+ added?: unknown[];
11
+ removed?: unknown[];
12
+ };
13
+ }
14
+ /**
15
+ * Where a row holds the pending planning change a catalog update left: only the changed articles are projected, never
16
+ * the stored new configuration next to them.
17
+ */
18
+ export declare const PLANNING_CHANGES_FIELD = "changesRequested.planning.articles";
19
+ /** The planning's model, written with every planning save. */
20
+ export declare const MODEL_NAME_FIELD = "modelName";
21
+ /**
22
+ * The changes a catalog update left in a planning: every changed, added and removed option value, and every article it
23
+ * no longer finds — counted on the diff as the catalog stored it, one entry per article, so a value every element
24
+ * shares counts once per element.
25
+ */
26
+ export declare function countPlanningChanges(articles: PlanningChangeArticle[] | undefined): number;
27
+ /** An article's planning: none, planned with a model, or planned with changes a catalog update left to review. */
28
+ export type ConfigurationStatus = {
29
+ kind: 'none';
30
+ } | {
31
+ kind: 'planned';
32
+ model: string;
33
+ } | {
34
+ kind: 'changes';
35
+ model: string;
36
+ count: number;
37
+ };
38
+ /** The planning of a loaded row — see `ConfigurationStatus`. */
39
+ export declare function configurationStatusOf(row: ArticleRow): ConfigurationStatus;
40
+ /** The row's planning has changes a catalog update left to review — the "!" at the row's front. */
41
+ export declare function hasPlanningChanges(row: ArticleRow): boolean;
42
+ /** The status in words: "–", "✓ ‹model›" or "⚠ ‹model› · n Änderungen prüfen". */
43
+ export declare function configurationStatusText(status: ConfigurationStatus, t: Translate): string;
44
+ /**
45
+ * A row re-read after its planning was saved. The save resolved the pending planning change, but the re-read row merges
46
+ * over the grid row and simply lacks the dropped field — so it is cleared explicitly unless the row still brings one
47
+ * (e.g. a price change).
48
+ */
49
+ export declare function withSavedPlanning(row: ArticleRow): ArticleRow;
50
+ export {};
51
+ //# sourceMappingURL=configurationStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurationStatus.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/configurationStatus.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE1C,mIAAmI;AACnI,MAAM,WAAW,qBAAqB;IACpC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE;YAAE,GAAG,CAAC,EAAE,OAAO,EAAE,CAAA;SAAE,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,EAAE,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,EAAE,CAAA;KAAE,CAAC;CAC/F;AAED;;;GAGG;AACH,eAAO,MAAM,sBAAsB,uCAAuC,CAAC;AAE3E,8DAA8D;AAC9D,eAAO,MAAM,gBAAgB,cAAc,CAAC;AAE5C;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,GAAG,SAAS,GAAG,MAAM,CAM1F;AAED,kHAAkH;AAClH,MAAM,MAAM,mBAAmB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE5I,gEAAgE;AAChE,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,UAAU,GAAG,mBAAmB,CAO1E;AAED,mGAAmG;AACnG,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,UAAU,GAAG,OAAO,CAE3D;AAED,kFAAkF;AAClF,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,EAAE,SAAS,GAAG,MAAM,CAazF;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,UAAU,GAAG,UAAU,CAE7D"}
@@ -0,0 +1,39 @@
1
+ import { EanOwner } from '../../types';
2
+ type ArticleRow = Record<string, unknown>;
3
+ /** What the lookup projects the articles carrying an EAN to: the id, the SAP number and the EANs. */
4
+ export declare const EAN_OWNER_FIELDS = "{_id,retailerArticleNr,customData.SAP.SAP_MARA_MATNR,customData.SAP.SAP_MARM.SAP_MARM_EAN11}";
5
+ /** The distinct EANs of the article's units of measure. */
6
+ export declare function articleEans(row: ArticleRow): string[];
7
+ /** An EAN the query grammar can carry — a quote or bracket would break it, such a value is no EAN and stays unlooked-up. */
8
+ export declare function isQueryableEan(ean: string): boolean;
9
+ /**
10
+ * The search for the organization's articles carrying one of the EANs: header rows and deleted articles do not count,
11
+ * archived ones do — SAP keeps their material.
12
+ */
13
+ export declare function eanOwnersSearch(organizationId: string, eans: string[]): string;
14
+ /** The looked-up EANs with the articles found carrying them — an EAN none carries gets an empty list. */
15
+ export declare function ownersOf(eans: string[], products: ArticleRow[]): Map<string, EanOwner[]>;
16
+ /**
17
+ * Books a saved article on the looked-up EANs in place: off those it no longer carries, on those it carries now —
18
+ * the search index follows a save only with a delay. With `removed` it is taken off all of them.
19
+ */
20
+ export declare function bookArticle(owners: Map<string, EanOwner[]>, row: ArticleRow, removed?: boolean): void;
21
+ /**
22
+ * The first EAN of the article that another material carries already — another article with a SAP number other than
23
+ * its own, what SAP refuses with "Die EAN … wird bereits bei dem Material … verwendet". An article without a SAP number
24
+ * is no material yet; an EAN not looked up counts as free.
25
+ */
26
+ export declare function eanInUse(row: ArticleRow, owners: ReadonlyMap<string, EanOwner[]>): {
27
+ ean: string;
28
+ material: string;
29
+ } | undefined;
30
+ /**
31
+ * The first EAN of an article without SAP number that another article without one carries as well — sent together,
32
+ * SAP creates the first and refuses the other like `eanInUse`. An article with a SAP number keeps its EAN; the one
33
+ * without beside it is judged by `eanInUse`.
34
+ */
35
+ export declare function eanSharedUnsent(row: ArticleRow, owners: ReadonlyMap<string, EanOwner[]>): {
36
+ ean: string;
37
+ } | undefined;
38
+ export {};
39
+ //# sourceMappingURL=eanOwners.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eanOwners.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/eanOwners.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGvC,KAAK,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAK1C,qGAAqG;AACrG,eAAO,MAAM,gBAAgB,iGAAuF,CAAC;AAErH,2DAA2D;AAC3D,wBAAgB,WAAW,CAAC,GAAG,EAAE,UAAU,GAAG,MAAM,EAAE,CAIrD;AAOD,4HAA4H;AAC5H,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEnD;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAO9E;AAED,yGAAyG;AACzG,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,CAMxF;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,UAAQ,GAAG,IAAI,CAOnG;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAOhI;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAIrH"}
@@ -0,0 +1,26 @@
1
+ import type { DeriveCustomData, SaveOption } from '@crystaldesign/bulk-product-configurator';
2
+ /** The save option's key: whether the configuration's order text becomes the article's German EKT. */
3
+ export declare const TAKE_OVER_EKT = "takeOverEkt";
4
+ /**
5
+ * Pfister's save options in the configurator — the configurator's counterpart of the catalog's `PfisterFieldDeriver`.
6
+ * "EK-Text übernehmen" starts ticked only for an article without a German EKT yet, so a maintained EKT is not
7
+ * overwritten unless the user ticks it — and never for a product that is no flat article.
8
+ */
9
+ export declare function pfisterSaveOptions(title: string): SaveOption[];
10
+ /**
11
+ * The Pfister article fields a base configuration sets when the configurator saves it (`save.deriveCustomData`):
12
+ * - with "EK-Text übernehmen" ticked, its purchase text — the order text the seller's product building generates from
13
+ * the basket — as the German EKT. The SAP send wraps it into its 132-character lines. Without the tick or an order
14
+ * text the EKT stays as it is.
15
+ * - the planning's price as the selling price `KONP_VLP0_1`, rounded to the Rappen — only while the article has none (no
16
+ * value or 0): a maintained price, entered or uploaded, is never overwritten (PF-DIVA-3986).
17
+ *
18
+ * A product that is no flat article gets no SAP fields at all.
19
+ */
20
+ export declare const pfisterCustomData: DeriveCustomData;
21
+ /**
22
+ * A flat article has a supplier and a purchasing group. The configurator also saves other products of a model update's
23
+ * group — those carry no SAP fields, and the legacy SM knows no article for them.
24
+ */
25
+ export declare function isFlatArticle(customData: unknown): boolean;
26
+ //# sourceMappingURL=pfisterConfigurationDeriver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pfisterConfigurationDeriver.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/AssortmentManager/ArticleData/logic/pfisterConfigurationDeriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE7F,sGAAsG;AACtG,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,EAAE,CAE9D;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAQ/B,CAAC;AAcF;;;GAGG;AACH,wBAAgB,aAAa,CAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAG1D"}