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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/build/esm/index.js +38175 -31656
  2. package/build/types/backoffice/src/Configuration.d.ts +2 -4
  3. package/build/types/backoffice/src/Configuration.d.ts.map +1 -1
  4. package/build/types/backoffice/src/index.d.ts +2 -0
  5. package/build/types/backoffice/src/index.d.ts.map +1 -1
  6. package/build/types/backoffice/src/layout/Content/index.d.ts.map +1 -1
  7. package/build/types/backoffice/src/layout/DataEngine/views.d.ts.map +1 -1
  8. package/build/types/backoffice/src/layout/Detail.d.ts.map +1 -1
  9. package/build/types/backoffice/src/layout/Navigation/types.d.ts +4 -0
  10. package/build/types/backoffice/src/layout/Navigation/types.d.ts.map +1 -1
  11. package/build/types/backoffice/src/layout/ProductOnboarding/Content.d.ts +6 -0
  12. package/build/types/backoffice/src/layout/ProductOnboarding/Content.d.ts.map +1 -0
  13. package/build/types/backoffice/src/layout/ProductOnboarding/Navigation.d.ts +6 -0
  14. package/build/types/backoffice/src/layout/ProductOnboarding/Navigation.d.ts.map +1 -0
  15. package/build/types/backoffice/src/layout/ProductOnboarding/index.d.ts +4 -0
  16. package/build/types/backoffice/src/layout/ProductOnboarding/index.d.ts.map +1 -0
  17. package/build/types/backoffice/src/layout/ProductOnboarding/views.d.ts +10 -0
  18. package/build/types/backoffice/src/layout/ProductOnboarding/views.d.ts.map +1 -0
  19. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts +18 -1
  20. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/agentMount.d.ts.map +1 -1
  21. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts +20 -0
  22. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/backofficeToolset.d.ts.map +1 -1
  23. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts +1 -1
  24. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/index.d.ts.map +1 -1
  25. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/mediaToolset.d.ts.map +1 -1
  26. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts +41 -0
  27. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/navigationToolset.d.ts.map +1 -1
  28. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts +46 -0
  29. package/build/types/backoffice/src/layout/Toolbar/Tools/DivaAgent/pageReload.d.ts.map +1 -0
  30. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/index.d.ts +8 -2
  31. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/index.d.ts.map +1 -1
  32. package/build/types/backoffice/src/layout/Toolbar/Tools/WYSIWYG_ContentItem/useWysiwygContentItem.d.ts.map +1 -1
  33. package/build/types/backoffice/src/layout/Toolbar/index.d.ts.map +1 -1
  34. package/build/types/backoffice/src/store/ConfigurationStore.d.ts +0 -2
  35. package/build/types/backoffice/src/store/ConfigurationStore.d.ts.map +1 -1
  36. package/build/types/backoffice/src/store/ContentStore.d.ts +8 -0
  37. package/build/types/backoffice/src/store/ContentStore.d.ts.map +1 -1
  38. package/build/types/backoffice/src/store/DataStore.d.ts.map +1 -1
  39. package/build/types/backoffice/src/store/DetailStore.d.ts +29 -2
  40. package/build/types/backoffice/src/store/DetailStore.d.ts.map +1 -1
  41. package/build/types/backoffice/src/store/RootStore.d.ts +11 -1
  42. package/build/types/backoffice/src/store/RootStore.d.ts.map +1 -1
  43. package/build/types/backoffice/src/store/ToolBarStore.d.ts +25 -1
  44. package/build/types/backoffice/src/store/ToolBarStore.d.ts.map +1 -1
  45. package/build/types/backoffice/src/store/index.d.ts +3 -1
  46. package/build/types/backoffice/src/store/index.d.ts.map +1 -1
  47. package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts +2 -0
  48. package/build/types/backoffice/src/tests/unit/agentBridge/expectedPath.test.d.ts.map +1 -0
  49. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts +2 -0
  50. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/approvalWithdrawn.test.d.ts.map +1 -0
  51. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts +2 -0
  52. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/backofficeSelectionFacts.test.d.ts.map +1 -0
  53. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts +8 -0
  54. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/fakeGridEnvironment.d.ts.map +1 -1
  55. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.d.ts +2 -0
  56. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/locateRowNotUnique.test.d.ts.map +1 -0
  57. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts +2 -0
  58. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/navigateToPaths.test.d.ts.map +1 -0
  59. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.test.d.ts +2 -0
  60. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openCatalogFacts.test.d.ts.map +1 -0
  61. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openToolbarToolDisabled.test.d.ts +2 -0
  62. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/openToolbarToolDisabled.test.d.ts.map +1 -0
  63. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.test.d.ts +2 -0
  64. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/pageReload.test.d.ts.map +1 -0
  65. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts +2 -0
  66. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/readColumnOptionsRow.test.d.ts.map +1 -0
  67. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts +2 -0
  68. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/reloadSelection.test.d.ts.map +1 -0
  69. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts +2 -0
  70. package/build/types/backoffice/src/tests/unit/layout/Toolbar/Tools/DivaAgent/stageAfterRemount.test.d.ts.map +1 -0
  71. package/build/types/backoffice/src/tests/unit/store/DetailStore.replaceRightDetail.test.d.ts +2 -0
  72. package/build/types/backoffice/src/tests/unit/store/DetailStore.replaceRightDetail.test.d.ts.map +1 -0
  73. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.borrowTools.test.d.ts +2 -0
  74. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.borrowTools.test.d.ts.map +1 -0
  75. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.order.test.d.ts +2 -0
  76. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.order.test.d.ts.map +1 -0
  77. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.previewSettings.test.d.ts +2 -0
  78. package/build/types/backoffice/src/tests/unit/store/ToolBarStore.previewSettings.test.d.ts.map +1 -0
  79. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/updateConfirmationReview.test.d.ts +2 -0
  80. package/build/types/backoffice/src/tests/unit/ui/CommonComponents/updateConfirmationReview.test.d.ts.map +1 -0
  81. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/measureUnitValidator.test.d.ts +2 -0
  82. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/measureUnitValidator.test.d.ts.map +1 -0
  83. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionAssetFields.test.d.ts +2 -0
  84. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/optionAssetFields.test.d.ts.map +1 -0
  85. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts +2 -0
  86. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/Tables/priceFeatureGroupSubtables.test.d.ts.map +1 -0
  87. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/catalogRecord.test.d.ts +2 -0
  88. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/catalogRecord.test.d.ts.map +1 -0
  89. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogContext.test.d.ts +2 -0
  90. package/build/types/backoffice/src/tests/unit/ui/IDMCatalogEditor/hooks/useCatalogContext.test.d.ts.map +1 -0
  91. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertySchemaParity.test.d.ts +2 -0
  92. package/build/types/backoffice/src/tests/unit/ui/IDMEnricherEditor/TableEnrichment/propertySchemaParity.test.d.ts.map +1 -0
  93. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts +12 -4
  94. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleStatusCell/index.d.ts.map +1 -1
  95. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts +4 -1
  96. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleSubTable/index.d.ts.map +1 -1
  97. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts +10 -6
  98. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ArticleTable/index.d.ts.map +1 -1
  99. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/BulkActions/index.d.ts.map +1 -1
  100. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts +10 -2
  101. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationGroups/index.d.ts.map +1 -1
  102. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts +9 -2
  103. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/ClassificationReady/index.d.ts.map +1 -1
  104. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.d.ts +15 -0
  105. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/CopyActions/index.d.ts.map +1 -0
  106. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts +9 -0
  107. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/RequiredFieldsAlert/index.d.ts.map +1 -0
  108. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts +15 -0
  109. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListInput/index.d.ts.map +1 -0
  110. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts +13 -0
  111. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/SapNrListResult/index.d.ts.map +1 -0
  112. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts +9 -0
  113. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/findSapNrList.d.ts.map +1 -0
  114. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts +9 -1
  115. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/ClassificationPanel/index.d.ts.map +1 -1
  116. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts +11 -3
  117. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/DivaNrCell/index.d.ts.map +1 -1
  118. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts +4 -1
  119. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MarkedArticles/index.d.ts.map +1 -1
  120. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts +13 -0
  121. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/MissingRequiredFields/index.d.ts.map +1 -0
  122. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/components/StatusLegend/index.d.ts.map +1 -1
  123. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts +16 -0
  124. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/findSupplierArticleDuplicate.d.ts.map +1 -0
  125. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts +5 -0
  126. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/planningTransferApi.d.ts.map +1 -1
  127. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts +3 -2
  128. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useAllowedFieldValues.d.ts.map +1 -1
  129. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.d.ts +2 -2
  130. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useArticlePreFilter.d.ts.map +1 -1
  131. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts +4 -3
  132. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useHeaderProducts.d.ts.map +1 -1
  133. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts +12 -2
  134. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/usePlanningTransfer.d.ts.map +1 -1
  135. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts +16 -0
  136. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/hooks/useUpdateFromSap.d.ts.map +1 -0
  137. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts +3 -3
  138. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/index.d.ts.map +1 -1
  139. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts +42 -11
  140. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleColumns.d.ts.map +1 -1
  141. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts +7 -1
  142. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleLock.d.ts.map +1 -1
  143. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleSearch.d.ts +22 -0
  144. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/articleSearch.d.ts.map +1 -0
  145. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.d.ts +14 -0
  146. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationRequiredFields.d.ts.map +1 -0
  147. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts +8 -0
  148. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationSelection.d.ts.map +1 -1
  149. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts +16 -0
  150. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/classificationTemplate.d.ts.map +1 -0
  151. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts +9 -1
  152. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/duplicateArticle.d.ts.map +1 -1
  153. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/finalDeletes.d.ts +28 -0
  154. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/finalDeletes.d.ts.map +1 -0
  155. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts +4 -0
  156. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/headerSync.d.ts.map +1 -1
  157. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts +35 -0
  158. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/planningTransfer.d.ts.map +1 -1
  159. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts +7 -0
  160. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/readiness.d.ts.map +1 -1
  161. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts +9 -0
  162. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/recommendedFields.d.ts.map +1 -0
  163. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts +19 -0
  164. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/requiredFieldJump.d.ts.map +1 -0
  165. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapNrList.d.ts +28 -0
  166. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/sapNrList.d.ts.map +1 -0
  167. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts +19 -0
  168. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/logic/supplierArticleDuplicate.d.ts.map +1 -0
  169. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliExport/index.d.ts +13 -6
  170. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliExport/index.d.ts.map +1 -1
  171. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliImport/index.d.ts +13 -0
  172. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliImport/index.d.ts.map +1 -0
  173. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts +5 -2
  174. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/components/ColliTable/index.d.ts.map +1 -1
  175. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/index.d.ts +2 -1
  176. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/index.d.ts.map +1 -1
  177. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts +17 -0
  178. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/logic/colliExportSearch.d.ts.map +1 -0
  179. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/components/Content/index.d.ts.map +1 -1
  180. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/index.d.ts.map +1 -1
  181. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts +2 -0
  182. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/logic/itemGroupColumns.d.ts.map +1 -1
  183. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/types.d.ts +0 -4
  184. package/build/types/backoffice/src/ui/AssortmentManager/HeaderData/types.d.ts.map +1 -1
  185. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/index.d.ts +13 -0
  186. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/index.d.ts.map +1 -0
  187. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts +20 -0
  188. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsFile.d.ts.map +1 -0
  189. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts +9 -0
  190. package/build/types/backoffice/src/ui/AssortmentManager/SupplierColors/logic/supplierColorsImport.d.ts.map +1 -0
  191. package/build/types/backoffice/src/ui/AssortmentManager/config/articleTransfer.d.ts.map +1 -1
  192. package/build/types/backoffice/src/ui/AssortmentManager/config/colliExport.d.ts +2 -2
  193. package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.d.ts +4 -3
  194. package/build/types/backoffice/src/ui/AssortmentManager/config/colliFields.d.ts.map +1 -1
  195. package/build/types/backoffice/src/ui/AssortmentManager/config/fields.d.ts.map +1 -1
  196. package/build/types/backoffice/src/ui/AssortmentManager/config/readiness.d.ts.map +1 -1
  197. package/build/types/backoffice/src/ui/AssortmentManager/hooks/useApi2Sync.d.ts +12 -4
  198. package/build/types/backoffice/src/ui/AssortmentManager/hooks/useApi2Sync.d.ts.map +1 -1
  199. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts +1 -3
  200. package/build/types/backoffice/src/ui/AssortmentManager/index.d.ts.map +1 -1
  201. package/build/types/backoffice/src/ui/AssortmentManager/logic/itemRows.d.ts +2 -0
  202. package/build/types/backoffice/src/ui/AssortmentManager/logic/itemRows.d.ts.map +1 -1
  203. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSearch.test.d.ts +2 -0
  204. package/build/types/backoffice/src/ui/AssortmentManager/tests/articleSearch.test.d.ts.map +1 -0
  205. package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts +2 -0
  206. package/build/types/backoffice/src/ui/AssortmentManager/tests/classificationTemplate.test.d.ts.map +1 -0
  207. package/build/types/backoffice/src/ui/AssortmentManager/tests/colliExportSearch.test.d.ts +2 -0
  208. package/build/types/backoffice/src/ui/AssortmentManager/tests/colliExportSearch.test.d.ts.map +1 -0
  209. package/build/types/backoffice/src/ui/AssortmentManager/tests/finalDeletes.test.d.ts +2 -0
  210. package/build/types/backoffice/src/ui/AssortmentManager/tests/finalDeletes.test.d.ts.map +1 -0
  211. package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts +2 -0
  212. package/build/types/backoffice/src/ui/AssortmentManager/tests/recommendedFields.test.d.ts.map +1 -0
  213. package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts +2 -0
  214. package/build/types/backoffice/src/ui/AssortmentManager/tests/requiredFieldJump.test.d.ts.map +1 -0
  215. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapNrList.test.d.ts +2 -0
  216. package/build/types/backoffice/src/ui/AssortmentManager/tests/sapNrList.test.d.ts.map +1 -0
  217. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts +2 -0
  218. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierArticleDuplicate.test.d.ts.map +1 -0
  219. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierColors.test.d.ts +2 -0
  220. package/build/types/backoffice/src/ui/AssortmentManager/tests/supplierColors.test.d.ts.map +1 -0
  221. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts +67 -4
  222. package/build/types/backoffice/src/ui/AssortmentManager/types.d.ts.map +1 -1
  223. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts +2 -0
  224. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/inUseDeleteReview.d.ts.map +1 -1
  225. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts +6 -0
  226. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/index.d.ts.map +1 -1
  227. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts +44 -0
  228. package/build/types/backoffice/src/ui/CommonComponents/SpreadsheetWrapper/updateConfirmationReview.d.ts.map +1 -0
  229. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/ErrorDisplay.d.ts +3 -1
  230. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/ErrorDisplay.d.ts.map +1 -1
  231. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/index.d.ts +1 -1
  232. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/index.d.ts.map +1 -1
  233. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/types.d.ts +10 -0
  234. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/types.d.ts.map +1 -1
  235. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/useUploadState.d.ts +2 -0
  236. package/build/types/backoffice/src/ui/CommonComponents/UploadModal/useUploadState.d.ts.map +1 -1
  237. package/build/types/backoffice/src/ui/CommonComponents/useBorrowedTools.d.ts +8 -0
  238. package/build/types/backoffice/src/ui/CommonComponents/useBorrowedTools.d.ts.map +1 -0
  239. package/build/types/backoffice/src/ui/ContentItems/ContentItemPanel.d.ts +22 -0
  240. package/build/types/backoffice/src/ui/ContentItems/ContentItemPanel.d.ts.map +1 -0
  241. package/build/types/backoffice/src/ui/ContentItems/api.d.ts +18 -0
  242. package/build/types/backoffice/src/ui/ContentItems/api.d.ts.map +1 -0
  243. package/build/types/backoffice/src/ui/ContentItems/editor.d.ts +21 -0
  244. package/build/types/backoffice/src/ui/ContentItems/editor.d.ts.map +1 -0
  245. package/build/types/backoffice/src/ui/ContentItems/useContentItem.d.ts +11 -0
  246. package/build/types/backoffice/src/ui/ContentItems/useContentItem.d.ts.map +1 -0
  247. package/build/types/backoffice/src/ui/Form/Fields/Translation/useTranslationForm.d.ts +2 -0
  248. package/build/types/backoffice/src/ui/Form/Fields/Translation/useTranslationForm.d.ts.map +1 -1
  249. package/build/types/backoffice/src/ui/Form/elements.d.ts.map +1 -1
  250. package/build/types/backoffice/src/ui/Form/index.d.ts +4 -0
  251. package/build/types/backoffice/src/ui/Form/index.d.ts.map +1 -1
  252. package/build/types/backoffice/src/ui/Form/useFormData.d.ts +3 -1
  253. package/build/types/backoffice/src/ui/Form/useFormData.d.ts.map +1 -1
  254. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts +2 -2
  255. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/ArticleRelations/additionalItemsCodec.d.ts.map +1 -1
  256. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Features.d.ts.map +1 -1
  257. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/OptionCombinations/OptionSetRefForm.d.ts.map +1 -1
  258. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/Options.d.ts.map +1 -1
  259. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PartlistPos.d.ts.map +1 -1
  260. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts +4 -2
  261. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupFinishes.d.ts.map +1 -1
  262. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts +4 -2
  263. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/PriceFeatureGroupPercentageSurcharge.d.ts.map +1 -1
  264. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts +10 -0
  265. package/build/types/backoffice/src/ui/IDMCatalogEditor/Tables/measureUnitValidator.d.ts.map +1 -0
  266. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/catalogRecord.d.ts +24 -0
  267. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/catalogRecord.d.ts.map +1 -0
  268. package/build/types/backoffice/src/ui/IDMCatalogEditor/hooks/useCatalogContext.d.ts.map +1 -1
  269. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableAllPartlistPos/index.d.ts.map +1 -1
  270. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableArticleRelations/index.d.ts.map +1 -1
  271. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableDetailInfos/index.d.ts.map +1 -1
  272. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableItems/index.d.ts.map +1 -1
  273. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableOptions/index.d.ts.map +1 -1
  274. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePartlists/index.d.ts.map +1 -1
  275. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TablePriceFeatureGroups/index.d.ts.map +1 -1
  276. package/build/types/backoffice/src/ui/IDMCatalogEditor/modules/TableSeries/index.d.ts.map +1 -1
  277. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/CollectionMembers.d.ts.map +1 -1
  278. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts +14 -0
  279. package/build/types/backoffice/src/ui/IDMCollectionEditor/Tables/collectionMemberUtils.d.ts.map +1 -1
  280. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts +7 -2
  281. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorHeaderComponent.d.ts.map +1 -1
  282. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts +4 -2
  283. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/PriceFactorInput/index.d.ts.map +1 -1
  284. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/index.d.ts.map +1 -1
  285. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts +6 -3
  286. package/build/types/backoffice/src/ui/IDMEnricherEditor/Tables/Prices/priceFactorMutations.d.ts.map +1 -1
  287. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts +7 -1
  288. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/index.d.ts.map +1 -1
  289. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts +5 -11
  290. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/priceFactorHelpers.d.ts.map +1 -1
  291. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts +8 -5
  292. package/build/types/backoffice/src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.d.ts.map +1 -1
  293. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/MismatchedValueCell.d.ts +13 -0
  294. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/MismatchedValueCell.d.ts.map +1 -0
  295. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyInfo.d.ts +10 -0
  296. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyInfo.d.ts.map +1 -0
  297. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts +29 -0
  298. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.d.ts.map +1 -0
  299. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/RemovePropertyButton.d.ts +9 -0
  300. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/RemovePropertyButton.d.ts.map +1 -0
  301. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/index.d.ts.map +1 -1
  302. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts +16 -20
  303. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.d.ts.map +1 -1
  304. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/usePropertyInfoDrawer.d.ts +14 -0
  305. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/usePropertyInfoDrawer.d.ts.map +1 -0
  306. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/index.d.ts.map +1 -1
  307. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts +2 -2
  308. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.d.ts.map +1 -1
  309. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.d.ts.map +1 -1
  310. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TablePriceList/index.d.ts.map +1 -1
  311. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts +20 -0
  312. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts.map +1 -0
  313. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/globalContentItem.d.ts +16 -0
  314. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/globalContentItem.d.ts.map +1 -0
  315. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/PropertyContentItemPanel.d.ts +11 -0
  316. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/PropertyContentItemPanel.d.ts.map +1 -0
  317. package/build/types/backoffice/src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/index.d.ts.map +1 -1
  318. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts +5 -0
  319. package/build/types/backoffice/src/ui/JsonEditor/index.d.ts.map +1 -1
  320. package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts +4 -0
  321. package/build/types/backoffice/src/ui/JsonEditor/useJsonEditorData.d.ts.map +1 -1
  322. package/build/types/backoffice/src/ui/MediaUpload/useMediaUpload.d.ts.map +1 -1
  323. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts +1 -1
  324. package/build/types/backoffice/src/ui/Table/BaseTable/index.d.ts.map +1 -1
  325. package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts +26 -3
  326. package/build/types/backoffice/src/ui/Table/utils/applyFilterAndSortation.d.ts.map +1 -1
  327. package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts +18 -0
  328. package/build/types/backoffice/src/ui/TreeChart/DuplicateOrganization/index.d.ts.map +1 -0
  329. package/build/types/backoffice/src/ui/TreeChart/OrgItem/index.d.ts.map +1 -1
  330. package/build/types/backoffice/src/ui/TreeChart/ZoomWrapper/index.d.ts.map +1 -1
  331. package/build/types/backoffice/src/ui/TreeChart/getNewChildData.d.ts +10 -0
  332. package/build/types/backoffice/src/ui/TreeChart/getNewChildData.d.ts.map +1 -0
  333. package/build/types/backoffice/src/ui/TreeChart/types.d.ts +7 -1
  334. package/build/types/backoffice/src/ui/TreeChart/types.d.ts.map +1 -1
  335. package/package.json +18 -14
  336. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts +0 -5
  337. package/build/types/backoffice/src/ui/AssortmentManager/ArticleData/types.d.ts.map +0 -1
  338. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/types.d.ts +0 -5
  339. package/build/types/backoffice/src/ui/AssortmentManager/ColliData/types.d.ts.map +0 -1
  340. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts +0 -16
  341. package/build/types/backoffice/src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyValueExpandedEditor.d.ts.map +0 -1
  342. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts +0 -22
  343. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/Tables/PropertyDefinitions.d.ts.map +0 -1
  344. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts +0 -3
  345. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/index.d.ts.map +0 -1
  346. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/AdoptGlobalModal.d.ts +0 -15
  347. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/AdoptGlobalModal.d.ts.map +0 -1
  348. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts +0 -3
  349. package/build/types/backoffice/src/ui/IDMPropertyDefinitionsEditor/modules/TablePropertyDefinitions/index.d.ts.map +0 -1
@@ -2,16 +2,18 @@ import { PriceType, PriceEntry } from './priceFactorHelpers';
2
2
  interface UseFactorProps {
3
3
  data: any;
4
4
  initialValue?: number[] | null;
5
- onSave: (data: any, value: number[]) => Promise<void>;
5
+ /** Per value whether it is shown as discount; values without a flag are shown as factors */
6
+ initialIsDiscount?: boolean[] | null;
7
+ /** Saves the factors and, index by index, whether each is a discount ([] when none is) */
8
+ onSave: (data: any, value: number[], isDiscount: boolean[]) => Promise<void>;
6
9
  onRefreshCell: () => void;
7
10
  }
8
11
  interface UseFactorReturn {
9
- type: PriceType;
10
12
  entries: PriceEntry[];
11
13
  isModalOpen: boolean;
12
14
  handleModalOpen: () => void;
13
15
  handleModalClose: () => void;
14
- handleTypeChange: (newType: PriceType) => void;
16
+ handleEntryTypeChange: (index: number, newType: PriceType) => void;
15
17
  handleAddEntry: () => void;
16
18
  handleRemoveEntry: (index: number) => void;
17
19
  handleEntryValueChange: (index: number, displayValue: string) => void;
@@ -22,9 +24,10 @@ interface UseFactorReturn {
22
24
  * @param props - Hook configuration
23
25
  * @param props.data - Data of the row
24
26
  * @param props.initialValue - Initial array of values
25
- * @param props.onSave - Callback to save values
27
+ * @param props.initialIsDiscount - Initial discount flags of the values
28
+ * @param props.onSave - Callback to save values and their discount flags
26
29
  * @param props.onRefreshCell - Callback to refresh the cell after save
27
30
  */
28
- export declare function usePriceFactor({ data, initialValue, onSave, onRefreshCell }: UseFactorProps): UseFactorReturn;
31
+ export declare function usePriceFactor({ data, initialValue, initialIsDiscount, onSave, onRefreshCell }: UseFactorProps): UseFactorReturn;
29
32
  export {};
30
33
  //# sourceMappingURL=usePriceFactor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePriceFactor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,UAAU,EAOX,MAAM,sBAAsB,CAAC;AAE9B,UAAU,cAAc;IACtB,IAAI,EAAE,GAAG,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC/B,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACtD,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,eAAe;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,gBAAgB,EAAE,CAAC,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IAC/C,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACtE,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAS,EAAE,YAAY,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,GAAG,eAAe,CAmIlH"}
1
+ {"version":3,"file":"usePriceFactor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/components/PriceFactorCellRenderer/usePriceFactor.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,UAAU,EAMX,MAAM,sBAAsB,CAAC;AAE9B,UAAU,cAAc;IACtB,IAAI,EAAE,GAAG,CAAC;IACV,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC/B,4FAA4F;IAC5F,iBAAiB,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;IACrC,0FAA0F;IAC1F,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,UAAU,eAAe;IACvB,OAAO,EAAE,UAAU,EAAE,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,qBAAqB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,KAAK,IAAI,CAAC;IACnE,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,sBAAsB,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,KAAK,IAAI,CAAC;IACtE,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CACjC;AAQD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAS,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,cAAc,GAAG,eAAe,CAiGrI"}
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export interface MismatchedValueCellProps {
3
+ /** The stored value as a text. */
4
+ text: string;
5
+ /** The type of the property's definition. */
6
+ type: string;
7
+ }
8
+ /**
9
+ * A property value that does not fit the type of its definition - the type changed after the value was stored. It shows
10
+ * with a warning until an edit replaces it with a value of the type.
11
+ */
12
+ export declare function MismatchedValueCell({ text, type }: MismatchedValueCellProps): React.JSX.Element;
13
+ //# sourceMappingURL=MismatchedValueCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MismatchedValueCell.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/MismatchedValueCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,wBAAwB;IACvC,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,wBAAwB,qBAc3E"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ /**
3
+ * A property's content item, loaded by its key in the portal's language and shown in the backoffice's theme - without
4
+ * one, a hint in the same frame.
5
+ */
6
+ declare const PropertyInfo: React.FunctionComponent<{
7
+ codexKey?: string;
8
+ }>;
9
+ export default PropertyInfo;
10
+ //# sourceMappingURL=PropertyInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyInfo.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAUzC;;;GAGG;AACH,QAAA,MAAM,YAAY;eAA6D,MAAM;EAuBnF,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,29 @@
1
+ import React from 'react';
2
+ /** Id of the Properties tab of the enrichment tables. */
3
+ export declare const PROPERTY_LIST_TAB = "ENRICHMENT_PROPERTIES";
4
+ export interface PropertyListEntry {
5
+ key: string;
6
+ description?: string;
7
+ codexKey?: string;
8
+ type?: string;
9
+ /** The definition's JSON schema, as JSON text. */
10
+ schema?: string;
11
+ }
12
+ export interface PropertyListPanelProps {
13
+ /** The properties the table's "add property" picker offers. */
14
+ properties: PropertyListEntry[];
15
+ /** The keys that are a column of the table, in the table's order. */
16
+ shownKeys: string[];
17
+ selectedKey?: string;
18
+ onSelect: (key: string) => void;
19
+ /** Adds the property as a column; missing in a view-only table. */
20
+ onAdd?: (property: PropertyListEntry) => void;
21
+ /** Removes the property's column and its values in every row; missing in a view-only table. */
22
+ onRemove?: (key: string) => void;
23
+ }
24
+ /**
25
+ * The Properties tab of an enrichment table: the properties that are a column of the table, and the ones it can add -
26
+ * with what each is for, searchable by key and description.
27
+ */
28
+ export default function PropertyListPanel({ properties, shownKeys, selectedKey, onSelect, onAdd, onRemove }: PropertyListPanelProps): React.JSX.Element;
29
+ //# sourceMappingURL=PropertyListPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyListPanel.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/PropertyListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,yDAAyD;AACzD,eAAO,MAAM,iBAAiB,0BAA0B,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,+DAA+D;IAC/D,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAChC,qEAAqE;IACrE,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,mEAAmE;IACnE,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,+FAA+F;IAC/F,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,sBAAsB,qBA2DlI"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ /**
3
+ * Removes a property from an enrichment table after a confirmation - which deletes its values in every row of the
4
+ * table. Clicks stay with the button, so a column header under it does not sort.
5
+ */
6
+ export default function RemovePropertyButton({ onConfirm }: {
7
+ onConfirm: () => void;
8
+ }): React.JSX.Element;
9
+ //# sourceMappingURL=RemovePropertyButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RemovePropertyButton.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/RemovePropertyButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,oBAAoB,CAAC,EAAE,SAAS,EAAE,EAAE;IAAE,SAAS,EAAE,MAAM,IAAI,CAAA;CAAE,qBA2BpF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAuEjF,QAAA,MAAM,oBAAoB,yBAEzB,CAAC;AACF,QAAA,MAAM,iBAAiB,yBAEtB,CAAC;AAEF,QAAA,MAAM,cAAc,yBAEnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,yBAErB,CAAC;AAEF,QAAA,MAAM,eAAe,yBAEpB,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAqDjF,QAAA,MAAM,oBAAoB,yBAEzB,CAAC;AACF,QAAA,MAAM,iBAAiB,yBAEtB,CAAC;AAEF,QAAA,MAAM,cAAc,yBAEnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,yBAErB,CAAC;AAEF,QAAA,MAAM,eAAe,yBAEpB,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,cAAc,EAAE,gBAAgB,EAAE,eAAe,EAAE,CAAC"}
@@ -1,27 +1,23 @@
1
- import { TFunction } from 'i18next';
2
- import { DivaColDef } from '@crystaldesign/spreadsheet';
3
- import { type PropertyEncoding } from '@crystaldesign/web-planner-logic';
4
- /** Column tooltip telling the user the exact text format a non-text property expects: translation key and English default per editor kind. */
5
- export declare const PROPERTY_FORMAT_HINT: {
6
- [kind: string]: {
7
- key: string;
8
- defaultValue: string;
9
- };
10
- };
1
+ import { DivaColDef, DivaColGroupDef } from '@crystaldesign/spreadsheet';
2
+ /** The language key of a value that is the same in every language - every type but a text (see the enricher service). */
3
+ export declare const LANGUAGE_NEUTRAL_KEY = "ALL";
11
4
  export interface PropertyColumnArgs {
12
- /** The property key: its own value lives under `translatedProp.<key>.<lang>`, the inherited one under `prop.<key>.<lang>`. */
13
5
  key: string;
14
- lang: string;
15
- encoding: PropertyEncoding;
16
- headerLabel: string;
6
+ /** The definition's type: string, boolean, number, list or object. A key without a definition is a text. */
7
+ type?: string;
8
+ /** The definition's JSON schema (draft-07, as JSON text) - an object or list property may have one. */
9
+ schema?: string;
10
+ /** The package's languages, the leading one first: a text gets a column per language. */
11
+ languages: string[];
17
12
  viewOnly?: boolean;
18
- t: TFunction;
19
13
  }
20
14
  /**
21
- * The column of a parsed (non-text) property. Every cell reads through the codec and writes back through it, so a
22
- * value stored in ANY historic spelling still displays correctly and a save emits the one spelling this property's
23
- * parser reads - writing 'true' where it tests `== '1'` would silently mean false. A boolean encoding is a checkbox,
24
- * every other kind a text cell with the expanded editor.
15
+ * The column of a property in an enrichment table, as the type of its definition says. A text has a column per
16
+ * language (translatedProp.<key>.<LANG>), every other type one column for all languages (translatedProp.<key>.ALL) with
17
+ * the spreadsheet's standard cell, which stores the value as that type. The cell shows the value in force - the pack's
18
+ * own, else the inherited one - and an edit writes the pack's own. A value stored before its definition's type changed
19
+ * shows with a warning, and an edit replaces it with a value of the type. The JSON editor of an object checks the value
20
+ * against the definition's schema; a list's schema decides the type of its entries and may fix the values they take.
25
21
  */
26
- export declare function buildPropertyColumn({ key, lang, encoding, headerLabel, viewOnly, t }: PropertyColumnArgs): DivaColDef<any>;
22
+ export declare function buildPropertyColumn({ key, type, schema, languages, viewOnly }: PropertyColumnArgs): DivaColDef<any> | DivaColGroupDef<any>;
27
23
  //# sourceMappingURL=propertyColumn.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"propertyColumn.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAgC,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAML,KAAK,gBAAgB,EAEtB,MAAM,kCAAkC,CAAC;AAG1C,8IAA8I;AAC9I,eAAO,MAAM,oBAAoB,EAAE;IAAE,CAAC,IAAI,EAAE,MAAM,GAAG;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAA;CASzF,CAAC;AAEF,MAAM,WAAW,kBAAkB;IACjC,8HAA8H;IAC9H,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,CAAC,EAAE,SAAS,CAAC;CACd;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC,EAAE,EAAE,kBAAkB,GAAG,UAAU,CAAC,GAAG,CAAC,CAyE1H"}
1
+ {"version":3,"file":"propertyColumn.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/propertyColumn.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,UAAU,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAItH,yHAAyH;AACzH,eAAO,MAAM,oBAAoB,QAAQ,CAAC;AA8F1C,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,4GAA4G;IAC5G,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uGAAuG;IACvG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yFAAyF;IACzF,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,kBAAkB,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,CA4D1I"}
@@ -0,0 +1,14 @@
1
+ export interface PropertyInfoSelection {
2
+ key: string;
3
+ codexKey?: string;
4
+ }
5
+ /**
6
+ * Shows the content item of the selected property in a drawer left of the Properties tab. Selecting another property
7
+ * swaps the drawer's content instead of opening another drawer; no selection closes the drawer, and so does leaving
8
+ * the table.
9
+ *
10
+ * @param selection - the selected property
11
+ * @param onClose - called when the user closes the drawer
12
+ */
13
+ export declare function usePropertyInfoDrawer(selection: PropertyInfoSelection | undefined, onClose: () => void): void;
14
+ //# sourceMappingURL=usePropertyInfoDrawer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePropertyInfoDrawer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TableEnrichment/usePropertyInfoDrawer.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAAE,qBAAqB,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,IAAI,QAkCtG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AA2CpD;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;CAukBxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AA2CpD;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;CAykBxB,CAAC"}
@@ -21,8 +21,8 @@ interface AutomaticPublishingOrganizationsParams {
21
21
  }
22
22
  /**
23
23
  * Fetches organizations related to the given organization and filters them down to the ones eligible
24
- * for automatic publishing of the package (either explicitly enabled for this package, or having both
25
- * access to the package and automaticPublishing enabled on their own organization settings).
24
+ * for automatic publishing of the package: organizations with access to the package that have automatic publishing
25
+ * enabled either for this package or on their own organization settings.
26
26
  */
27
27
  export declare function fetchAutomaticPublishingOrganizations({ authServiceUrl, organizationId, jwt, packageData, }: AutomaticPublishingOrganizationsParams): Promise<Array<{
28
28
  _id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"publishUtils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.ts"],"names":[],"mappings":"AAAA,UAAU,sCAAsC;IAC9C,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE;QACX,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;QAClC,QAAQ,CAAC,EAAE;YAAE,CAAC,cAAc,EAAE,MAAM,GAAG;gBAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;aAAE,CAAA;SAAE,CAAC;QAC3E,iBAAiB,CAAC,EAAE;YAAE,cAAc,CAAC,EAAE,MAAM,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QACxE,SAAS,CAAC,EAAE;YAAE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;KACnD,CAAC;CACH;AAED;;;;GAIG;AACH,wBAAsB,qCAAqC,CAAC,EAC1D,cAAc,EACd,cAAc,EACd,GAAG,EACH,WAAW,GACZ,EAAE,sCAAsC,GAAG,OAAO,CAAC,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CA+D/F;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE;IAAE,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;CAAE,GAAG,SAAS,EAC9E,cAAc,EAAE,MAAM,EACtB,mBAAmB,EAAE,kBAAkB,EAAE,GACxC,kBAAkB,GAAG,SAAS,CAKhC;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CASzG"}
1
+ {"version":3,"file":"publishUtils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/publishUtils.ts"],"names":[],"mappings":"AAAA,UAAU,sCAAsC;IAC9C,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE;QACX,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;QAClC,QAAQ,CAAC,EAAE;YAAE,CAAC,cAAc,EAAE,MAAM,GAAG;gBAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;aAAE,CAAA;SAAE,CAAC;QAC3E,iBAAiB,CAAC,EAAE;YAAE,cAAc,CAAC,EAAE,MAAM,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QACxE,SAAS,CAAC,EAAE;YAAE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAA;SAAE,CAAC;KACnD,CAAC;CACH;AAED;;;;GAIG;AACH,wBAAsB,qCAAqC,CAAC,EAC1D,cAAc,EACd,cAAc,EACd,GAAG,EACH,WAAW,GACZ,EAAE,sCAAsC,GAAG,OAAO,CAAC,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC,CAkE/F;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAC7C,WAAW,EAAE;IAAE,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAA;CAAE,GAAG,SAAS,EAC9E,cAAc,EAAE,MAAM,EACtB,mBAAmB,EAAE,kBAAkB,EAAE,GACxC,kBAAkB,GAAG,SAAS,CAKhC;AAED;;;GAGG;AACH,wBAAgB,qBAAqB,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,qBAAqB,CAAC,EAAE,MAAM,GAAG,OAAO,CASzG"}
@@ -1 +1 @@
1
- {"version":3,"file":"usePackagePublishing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAA0D,MAAM,mBAAmB,CAAC;AAEjH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC3E,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;IACzF,iBAAiB,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxE,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;CAC3C;AAED,UAAU,0BAA0B;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,+GAA+G;IAC/G,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,wHAAwH;IACxH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,IAAI,EACJ,cAAc,EACd,SAAS,EACT,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,EAAE,0BAA0B;;;;;;;;;;;;;;;;aAO6D,MAAM;qBAAe,MAAM;;;;;wBAmIjG,OAAO;;EAgC1B"}
1
+ {"version":3,"file":"usePackagePublishing.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePackages/usePackagePublishing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAkB,MAAM,0BAA0B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAE9E,OAAO,EAAE,oBAAoB,EAA0D,MAAM,mBAAmB,CAAC;AAEjH,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,mBAAmB,CAAC,EAAE,OAAO,CAAA;SAAE,CAAA;KAAE,CAAC;IAC3E,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE;QAAE,CAAC,cAAc,EAAE,MAAM,GAAG;YAAE,UAAU,CAAC,EAAE,OAAO,CAAC;YAAC,WAAW,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,CAAC;IACzF,iBAAiB,CAAC,EAAE;QAAE,cAAc,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IACxE,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;CAC3C;AAED,UAAU,0BAA0B;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,iBAAiB,CAAC;IAC9B,+GAA+G;IAC/G,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,wHAAwH;IACxH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,IAAI,EACJ,cAAc,EACd,SAAS,EACT,UAAU,EACV,WAAW,EACX,sBAAsB,GACvB,EAAE,0BAA0B;;;;;;;;;;;;;;;;aAO6D,MAAM;qBAAe,MAAM;;;;;wBA+IjG,OAAO;;EAgC1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CA4VzB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMEnricherEditor/modules/TablePriceList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAevE,eAAO,MAAM,cAAc;;CA8YzB,CAAC"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { SpreadsheetRefProps } from '@crystaldesign/spreadsheet';
3
+ /** The selected definition, as far as its content item is concerned. */
4
+ export interface SelectedDefinition {
5
+ /** The grid's row node, to write the content item key into. */
6
+ nodeId: string;
7
+ key?: string;
8
+ codexKey?: string;
9
+ }
10
+ interface Props {
11
+ /** Called with the selected definition - and again when that row changes, e.g. its content item key. */
12
+ onSelectionChange?: (selection: SelectedDefinition | undefined) => void;
13
+ }
14
+ /**
15
+ * The property definition registry, shared by every organization: a definition is either global or released to the
16
+ * chosen organizations, and a release reaches their sub-organizations too - the same way a package release does.
17
+ */
18
+ declare const PropertyDefinitions: React.ForwardRefExoticComponent<Props & React.RefAttributes<SpreadsheetRefProps>>;
19
+ export default PropertyDefinitions;
20
+ //# sourceMappingURL=PropertyDefinitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyDefinitions.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/PropertyDefinitions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAK3D,OAAO,EAAuC,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AA8CtG,wEAAwE;AACxE,MAAM,WAAW,kBAAkB;IACjC,+DAA+D;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,KAAK;IACb,wGAAwG;IACxG,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,kBAAkB,GAAG,SAAS,KAAK,IAAI,CAAC;CACzE;AAKD;;;GAGG;AACH,QAAA,MAAM,mBAAmB,mFA8NvB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { TFunction } from 'i18next';
2
+ import RootStore from '../../../store/RootStore';
3
+ import { ContentItem } from '../../ContentItems/api';
4
+ /**
5
+ * Key of the content item template a property's content item starts from. It is maintained among the content item
6
+ * templates, so the layout of the property help changes without a deployment.
7
+ */
8
+ export declare const PROPERTY_INFO_TEMPLATE_CODEX = "PROPERTY_INFO_TEMPLATE";
9
+ /**
10
+ * Creates a GLOBAL content item, prefilled with the given key. With the template the content item form opens with its
11
+ * blocks - the form the content items table copies a template in; without it, the JSON editor the global content
12
+ * items table creates them in. A second item under a key that is already taken would make the info window show either
13
+ * of them, so a taken key is refused. Resolves to the created item, or to undefined when nothing was created.
14
+ */
15
+ export declare function createGlobalContentItem(root: RootStore, codex: string, t: TFunction): Promise<ContentItem | undefined>;
16
+ //# sourceMappingURL=globalContentItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"globalContentItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/IDMGlobalPropertyDefinitionsEditor/Tables/globalContentItem.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,WAAW,EAAmB,MAAM,wBAAwB,CAAC;AAGtE;;;GAGG;AACH,eAAO,MAAM,4BAA4B,2BAA2B,CAAC;AAYrE;;;;;GAKG;AACH,wBAAsB,uBAAuB,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAgC5H"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { SelectedDefinition } from '../../Tables/PropertyDefinitions';
3
+ export interface PropertyContentItemPanelProps {
4
+ selection?: SelectedDefinition;
5
+ /** Stores the key of a content item created here on the definition it was created for. */
6
+ onContentItemCreated: (selection: SelectedDefinition, codex: string) => void;
7
+ }
8
+ /** The ContentItem tab of the property definitions: the selected definition's content item, to create or edit. */
9
+ declare const PropertyContentItemPanel: React.FunctionComponent<PropertyContentItemPanelProps>;
10
+ export default PropertyContentItemPanel;
11
+ //# sourceMappingURL=PropertyContentItemPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PropertyContentItemPanel.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/PropertyContentItemPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AAEtE,MAAM,WAAW,6BAA6B;IAC5C,SAAS,CAAC,EAAE,kBAAkB,CAAC;IAC/B,0FAA0F;IAC1F,oBAAoB,EAAE,CAAC,SAAS,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9E;AAED,kHAAkH;AAClH,QAAA,MAAM,wBAAwB,wDAoD5B,CAAC;AAEH,eAAe,wBAAwB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,CAAC,OAAO,gCASb"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../src/ui/IDMGlobalPropertyDefinitionsEditor/modules/TableGlobalPropertyDefinitions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AAStE,MAAM,CAAC,OAAO,gCAoCb"}
@@ -1,10 +1,13 @@
1
1
  import React from 'react';
2
2
  import 'jsoneditor/dist/jsoneditor.css';
3
3
  import { BaseModulConfiguration } from '../../Configuration';
4
+ import { Tool } from '../../layout/Navigation/types';
4
5
  export interface JsonEditorConfiguration extends BaseModulConfiguration {
5
6
  type: 'JsonEditor';
6
7
  preview?: string;
7
8
  default?: any;
9
+ /** Tools of the right toolbar that show the edited data, like a form's (parameters: data, submit). */
10
+ tools?: Tool[];
8
11
  }
9
12
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<{
10
13
  id: string;
@@ -16,8 +19,10 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
16
19
  height?: number | string;
17
20
  } & React.RefAttributes<{
18
21
  submit: () => void;
22
+ getData?: () => any;
19
23
  }>, "ref"> & React.RefAttributes<{
20
24
  submit: () => void;
25
+ getData?: () => any;
21
26
  }>>>;
22
27
  export default _default;
23
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiD,MAAM,OAAO,CAAC;AACtE,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAK7D,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC;CACf;;QAYO,MAAM;YACF,GAAG;cACD,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI;cACpB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;iBACpB,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;WAChC,GAAG;aACD,MAAM,GAAG,MAAM;;YAED,MAAM,IAAI;;YAAV,MAAM,IAAI;;AAgErC,wBAAsD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAC/E,OAAO,gCAAgC,CAAC;AACxC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAOrD,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,sGAAsG;IACtG,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB;;QAYO,MAAM;YACF,GAAG;cACD,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI;cACpB,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;iBACpB,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;WAChC,GAAG;aACD,MAAM,GAAG,MAAM;;YAED,MAAM,IAAI;cAAY,MAAM,GAAG;;YAA/B,MAAM,IAAI;cAAY,MAAM,GAAG;;AAiF1D,wBAAsD"}
@@ -1,7 +1,9 @@
1
1
  import React from 'react';
2
+ import { JsonEditorConfiguration } from '.';
2
3
  export default function (id: string, setCanSave?: (canSave: boolean) => void, onChange?: (data?: any) => void, onError?: (error: string) => void): {
3
4
  save: (original: any) => Promise<void>;
4
5
  init: (div: HTMLDivElement) => void;
6
+ destroy: () => void;
5
7
  previewMode: () => Promise<void>;
6
8
  editMode: () => Promise<void>;
7
9
  counter: number;
@@ -9,5 +11,7 @@ export default function (id: string, setCanSave?: (canSave: boolean) => void, on
9
11
  hasErrors: boolean;
10
12
  setCounter: React.Dispatch<React.SetStateAction<number>>;
11
13
  setData: (data: any) => void;
14
+ curData: any;
15
+ configuration: JsonEditorConfiguration;
12
16
  };
13
17
  //# sourceMappingURL=useJsonEditorData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useJsonEditorData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/useJsonEditorData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAUzD,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;qBA2ChH,GAAG;gBA1Bd,cAAc;;;;;;;oBAoBV,GAAG;EA6D3B"}
1
+ {"version":3,"file":"useJsonEditorData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/JsonEditor/useJsonEditorData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AACzD,OAAO,EAAE,uBAAuB,EAAE,MAAM,GAAG,CAAC;AAS5C,MAAM,CAAC,OAAO,WAAW,EAAE,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,EAAE,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI;qBAgDhH,GAAG;gBA/Bd,cAAc;;;;;;;;oBAyBV,GAAG;;;EAgE3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"useMediaUpload.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MediaUpload/useMediaUpload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AASzE,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,QAAA,MAAM,cAAc,WAAY,KAAK;;;8BA0FI,mBAAmB,CAAC,UAAU,CAAC;;;;;;;;;;;;sBAnFd,MAAQ,iBAAgB;;;;;;;;;;;;;yBA4HpD,UAAU;;CAqBvC,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"useMediaUpload.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/MediaUpload/useMediaUpload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AASzE,UAAU,KAAK;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,QAAA,MAAM,cAAc,WAAY,KAAK;;;8BA0FI,mBAAmB,CAAC,UAAU,CAAC;;;;;;;;;;;;sBAnFxB,MAAO,iBAAiB;;;;;;;;;;;;;yBA4H1C,UAAU;;CAqBvC,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { State } from '../types';
3
- export declare const AntdOption: import("@rc-component/select/lib/Option").OptionFC;
3
+ export declare const AntdOption: import("@rc-component/select/es/Option").OptionFC;
4
4
  interface Props<T> {
5
5
  state: State<T>;
6
6
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/BaseTable/index.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EAAE,KAAK,EAAwB,MAAM,UAAU,CAAC;AAgCvD,eAAO,MAAM,UAAU,oDAAoB,CAAC;AAwB5C,UAAU,KAAK,CAAC,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB;0BAEqB,CAAC,SAAS,MAAM,aAAa,KAAK,CAAC,CAAC,CAAC;;;AAsY3D,wBAAsC;AACtC,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/BaseTable/index.tsx"],"names":[],"mappings":"AAoBA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAK5D,OAAO,EAAE,KAAK,EAAwB,MAAM,UAAU,CAAC;AAgCvD,eAAO,MAAM,UAAU,mDAAoB,CAAC;AAwB5C,UAAU,KAAK,CAAC,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;CACjB;0BAEqB,CAAC,SAAS,MAAM,aAAa,KAAK,CAAC,CAAC,CAAC;;;AAsY3D,wBAAsC;AACtC,cAAc,UAAU,CAAC"}
@@ -21,11 +21,35 @@ export default function ({ data, filters, sorter, pagination, filterServerSide }
21
21
  role?: string;
22
22
  totalBoundaryShowSizeChanger?: number;
23
23
  rootClassName?: string;
24
+ components?: {
25
+ sizeChanger?: React.ComponentType<{
26
+ value: number;
27
+ onChange: (value: number) => void;
28
+ disabled: boolean;
29
+ className: string;
30
+ }>;
31
+ };
24
32
  showSizeChanger?: boolean | import("antd").SelectProps;
25
33
  selectComponentClass?: any;
26
34
  pageSizeOptions?: (string | number)[];
27
- classNames?: import("antd/es/pagination/Pagination").PaginationClassNamesType;
28
- styles?: import("antd/es/pagination/Pagination").PaginationStylesType;
35
+ classNames?: ((info: {
36
+ props: import("antd").PaginationProps;
37
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
38
+ root?: string;
39
+ item?: string;
40
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepClassNameType<{
41
+ root?: string;
42
+ item?: string;
43
+ } | undefined>;
44
+ styles?: ((info: {
45
+ props: import("antd").PaginationProps;
46
+ }) => import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
47
+ root?: React.CSSProperties;
48
+ item?: React.CSSProperties;
49
+ } | undefined>) | import("antd/es/_util/hooks/useMergeSemantic/semanticType").DeepStylesType<{
50
+ root?: React.CSSProperties;
51
+ item?: React.CSSProperties;
52
+ } | undefined>;
29
53
  style?: import("react").CSSProperties | undefined;
30
54
  current?: number | undefined;
31
55
  simple?: boolean | {
@@ -94,7 +118,6 @@ export default function ({ data, filters, sorter, pagination, filterServerSide }
94
118
  defaultCurrent?: number | undefined;
95
119
  defaultPageSize?: number | undefined;
96
120
  hideOnSinglePage?: boolean | undefined;
97
- sizeChangerRender?: import("@rc-component/pagination/lib/Options").SizeChangerRender;
98
121
  showLessItems?: boolean | undefined;
99
122
  showPrevNextJumpers?: boolean | undefined;
100
123
  showTitle?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"applyFilterAndSortation.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/applyFilterAndSortation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAItG,UAAU,KAAK,CAAC,CAAC,GAAG,GAAG;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7C,KAAK,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,KAAK;;;;;;;oBAoBnE,CAAC,EAAC,MAAO,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKe,MAAO,aAAa,GAAG,MAAM,SAAS;mBACjF,MAAO,aACf,GAAE,MACE,SAAK;uBACC,MACF,aACP,GAAS,MAAA,SAAS;uBAAoB,MAAM,aAAa,GAAE,MAAO,SAAS;;yGAcf,MAAO,SACjE,KAAI,MAAO,SAAS;gEAEO,MAAQ,SAAQ;;EArC/C"}
1
+ {"version":3,"file":"applyFilterAndSortation.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/Table/utils/applyFilterAndSortation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAItG,UAAU,KAAK,CAAC,CAAC,GAAG,GAAG;IACrB,IAAI,EAAE,GAAG,EAAE,CAAC;IACZ,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;IACvC,MAAM,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC7C,KAAK,CAAC,EAAE,sBAAsB,CAAC,CAAC,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,CAAC,OAAO,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,EAAE,EAAE,KAAK;;;;;;;oBAS9C,CAAC,EAAC,MAAO,SAAS;;;;;;;;uBAWrD,CAAC,EAAE,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;mBApBW,MAAO,aAAa;mBAAgB,MAAO,aAC9E;;mBADmC,MAAO,aAAa;mBAAgB,MAAO,aAC9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAwBiD,MAAO,aAAa,GAAG,MAAM,SAAS;mBACjF,MAAO,aACf,GAAE,MACE,SAAK;uBACC,MACF,aACP,GAAS,MAAA,SAAS;uBAAoB,MAAM,aAAa,GAAE,MAAO,SAAS;;yGAcf,MAAO,SACjE,KAAI,MAAO,SAAS;gEAEO,MAAQ,SAAQ;;EArC/C"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { DetailAction } from '../../../Configuration';
3
+ import { Org } from '../types';
4
+ interface Props {
5
+ action: DetailAction;
6
+ /** The organization to duplicate */
7
+ source: Org;
8
+ /** The parent of the source, the default parent of the copy */
9
+ parent: Org;
10
+ /** The whole tree, offering the other possible parents */
11
+ tree: Org;
12
+ onDuplicated: (data: any) => void;
13
+ }
14
+ declare const _default: (({ action, source, parent, tree, onDuplicated }: Props) => React.JSX.Element) & {
15
+ displayName: string;
16
+ };
17
+ export default _default;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/DuplicateOrganization/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,OAAO,EAAE,YAAY,EAAW,MAAM,wBAAwB,CAAC;AAI/D,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAwB/B,UAAU,KAAK;IACb,MAAM,EAAE,YAAY,CAAC;IACrB,oCAAoC;IACpC,MAAM,EAAE,GAAG,CAAC;IACZ,+DAA+D;IAC/D,MAAM,EAAE,GAAG,CAAC;IACZ,0DAA0D;IAC1D,IAAI,EAAE,GAAG,CAAC;IACV,YAAY,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,CAAC;CACnC;0EAW8E,KAAK;;;AAqGpF,wBAA+C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/OrgItem/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAMrD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,EAAE,oBAAoB,CAAC;IACpC,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;iHAqBsG,KAAK;;;AAuF7G,wBAAiC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/OrgItem/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,GAAG,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAQrD,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,GAAG,CAAC;IACV,aAAa,EAAE,oBAAoB,CAAC;IACpC,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,KAAK,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9D,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;iHAqBsG,KAAK;;;AA+F7G,wBAAiC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/ZoomWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,WAAW,0CAA2C,KAAK,sBA2HhE,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/ui/TreeChart/ZoomWrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,KAAK,KAAK,GAAG;IACX,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,WAAW,0CAA2C,KAAK,sBA8HhE,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Org } from './types';
2
+ /**
3
+ * The form data a new child organization of `parent` starts with. It decides which organization types the form offers.
4
+ */
5
+ export declare function getNewChildData(parent: Org): {
6
+ parentType: string | undefined;
7
+ isNew: boolean;
8
+ parentIsCampaign: boolean | undefined;
9
+ };
10
+ //# sourceMappingURL=getNewChildData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNewChildData.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TreeChart/getNewChildData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,SAAS,CAAC;AAE9B;;GAEG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,GAAG;;;;EAM1C"}
@@ -1,10 +1,16 @@
1
- import { Action, BaseModulConfiguration, Mapping } from '../../Configuration';
1
+ import { Action, BaseModulConfiguration, DetailAction, Mapping } from '../../Configuration';
2
2
  export interface OrgTreeConfiguration extends BaseModulConfiguration {
3
3
  type: 'OrgTree';
4
4
  expandAll?: boolean;
5
5
  horizontal?: boolean;
6
6
  createAction?: Action;
7
7
  deleteAction?: Action;
8
+ /**
9
+ * Opens the create form prefilled with the selected organization.
10
+ * `apiInterface.read` loads the source and `apiInterface.create` saves the copy, both with `${organizationId}` as the source
11
+ * and `create` with `${parentId}` as the parent of the copy.
12
+ */
13
+ duplicateAction?: DetailAction;
8
14
  additionalActions?: Action[];
9
15
  mapping?: Mapping;
10
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TreeChart/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9E,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/TreeChart/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE5F,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE,IAAI,EAAE,SAAS,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "26.13.0-beta.9",
4
- "description": "Ant Design backoffice shell (configuration modules) and the Diva Data Engine component hosting the IDM and enricher editors.",
3
+ "version": "26.13.0-rc.1",
4
+ "description": "Ant Design backoffice shell (configuration modules), the Diva Data Engine component hosting the IDM and enricher editors, and the Produkt Onboarding component hosting the Assortment Manager.",
5
5
  "license": "COMMERCIAL",
6
6
  "devDependencies": {
7
7
  "@testing-library/jest-dom": "^7.0.1",
@@ -16,23 +16,23 @@
16
16
  "dependencies": {
17
17
  "@ant-design/icons": "6.3.4",
18
18
  "@babel/runtime": "7.24.7",
19
- "@crystaldesign/classification": "26.13.0-beta.9",
20
- "@crystaldesign/content-box": "26.13.0-beta.9",
21
- "@crystaldesign/content-item": "26.13.0-beta.9",
22
- "@crystaldesign/diva-agent": "26.13.0-beta.9",
23
- "@crystaldesign/diva-core": "26.13.0-beta.9",
24
- "@crystaldesign/diva-utils": "26.13.0-beta.9",
25
- "@crystaldesign/mass-configurator": "26.13.0-beta.9",
26
- "@crystaldesign/media-upload": "26.13.0-beta.9",
27
- "@crystaldesign/rtf-editor": "26.13.0-beta.9",
28
- "@crystaldesign/spreadsheet": "26.13.0-beta.9",
19
+ "@crystaldesign/classification": "26.13.0-rc.1",
20
+ "@crystaldesign/content-box": "26.13.0-rc.1",
21
+ "@crystaldesign/content-item": "26.13.0-rc.1",
22
+ "@crystaldesign/diva-agent": "26.13.0-rc.1",
23
+ "@crystaldesign/diva-core": "26.13.0-rc.1",
24
+ "@crystaldesign/diva-utils": "26.13.0-rc.1",
25
+ "@crystaldesign/mass-configurator": "26.13.0-rc.1",
26
+ "@crystaldesign/media-upload": "26.13.0-rc.1",
27
+ "@crystaldesign/rtf-editor": "26.13.0-rc.1",
28
+ "@crystaldesign/spreadsheet": "26.13.0-rc.1",
29
29
  "@dnd-kit/core": "^6.1.0",
30
30
  "@dnd-kit/sortable": "^8.0.0",
31
31
  "@dnd-kit/utilities": "^3.2.2",
32
32
  "@google/genai": "^2.17.1",
33
33
  "@google/model-viewer": "3.5.0",
34
34
  "ag-charts-react": "^10.1.0",
35
- "antd": "6.3.0",
35
+ "antd": "6.6.6",
36
36
  "csv": "6.6.1",
37
37
  "fast-json-patch": "^3.1.0",
38
38
  "fast-sort": "^3.4.1",
@@ -59,5 +59,9 @@
59
59
  },
60
60
  "module": "build/esm/index.js",
61
61
  "types": "./build/types/backoffice/src/index.d.ts",
62
- "gitHead": "6c52108bab7452d58a49287f62b700035722c8f7"
62
+ "jest-junit": {
63
+ "suiteName": "diva-backoffice",
64
+ "outputDirectory": "./test-reports"
65
+ },
66
+ "gitHead": "60ec66ee5f751449feb3cea4b958b4017139719e"
63
67
  }