@tridion-sites/extensions 2.0.2 → 3.1.0

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 (295) hide show
  1. package/CHANGELOG.md +86 -24
  2. package/dist/index.d.ts +7 -5
  3. package/dist/index.js +6 -9
  4. package/package.json +26 -27
  5. package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +0 -2
  6. package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +0 -63
  7. package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +0 -41
  8. package/dist/dts/api/activitiesExplorer/index.d.ts +0 -1
  9. package/dist/dts/api/contentExplorer/components/index.d.ts +0 -2
  10. package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +0 -29
  11. package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +0 -21
  12. package/dist/dts/api/contentExplorer/hierarchy.d.ts +0 -102
  13. package/dist/dts/api/contentExplorer/hooks/index.d.ts +0 -3
  14. package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +0 -123
  15. package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +0 -39
  16. package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +0 -27
  17. package/dist/dts/api/contentExplorer/index.d.ts +0 -4
  18. package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +0 -80
  19. package/dist/dts/api/contentExplorer/utils/index.d.ts +0 -1
  20. package/dist/dts/api/editors/bundle/hooks/index.d.ts +0 -1
  21. package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +0 -32
  22. package/dist/dts/api/editors/category/hooks/index.d.ts +0 -1
  23. package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +0 -28
  24. package/dist/dts/api/editors/component/hooks/index.d.ts +0 -1
  25. package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +0 -32
  26. package/dist/dts/api/editors/folder/hooks/index.d.ts +0 -1
  27. package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +0 -32
  28. package/dist/dts/api/editors/hooks/index.d.ts +0 -1
  29. package/dist/dts/api/editors/hooks/useEditor.d.ts +0 -40
  30. package/dist/dts/api/editors/index.d.ts +0 -8
  31. package/dist/dts/api/editors/keyword/hooks/index.d.ts +0 -1
  32. package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +0 -32
  33. package/dist/dts/api/editors/page/hooks/index.d.ts +0 -1
  34. package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +0 -40
  35. package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +0 -1
  36. package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +0 -32
  37. package/dist/dts/api/general/components/button.d.ts +0 -33
  38. package/dist/dts/api/general/components/icon.d.ts +0 -19
  39. package/dist/dts/api/general/components/index.d.ts +0 -7
  40. package/dist/dts/api/general/components/layout/block.d.ts +0 -55
  41. package/dist/dts/api/general/components/layout/center.d.ts +0 -12
  42. package/dist/dts/api/general/components/layout/flex.d.ts +0 -50
  43. package/dist/dts/api/general/components/layout/index.d.ts +0 -4
  44. package/dist/dts/api/general/components/layout/stack.d.ts +0 -39
  45. package/dist/dts/api/general/components/link.d.ts +0 -29
  46. package/dist/dts/api/general/components/modal.d.ts +0 -61
  47. package/dist/dts/api/general/components/text.d.ts +0 -82
  48. package/dist/dts/api/general/components/textLink.d.ts +0 -16
  49. package/dist/dts/api/general/globals/borderRadius.d.ts +0 -15
  50. package/dist/dts/api/general/globals/color.d.ts +0 -41
  51. package/dist/dts/api/general/globals/index.d.ts +0 -6
  52. package/dist/dts/api/general/globals/opacity.d.ts +0 -16
  53. package/dist/dts/api/general/globals/spacing.d.ts +0 -19
  54. package/dist/dts/api/general/globals/transitionDuration.d.ts +0 -14
  55. package/dist/dts/api/general/globals/zIndex.d.ts +0 -18
  56. package/dist/dts/api/general/hooks/index.d.ts +0 -4
  57. package/dist/dts/api/general/hooks/useConfirmation.d.ts +0 -40
  58. package/dist/dts/api/general/hooks/useModal.d.ts +0 -68
  59. package/dist/dts/api/general/hooks/useNotifications.d.ts +0 -46
  60. package/dist/dts/api/general/hooks/useUserProfile.d.ts +0 -14
  61. package/dist/dts/api/general/index.d.ts +0 -6
  62. package/dist/dts/api/general/mixins/accessibility.d.ts +0 -50
  63. package/dist/dts/api/general/mixins/backgroundColor.d.ts +0 -10
  64. package/dist/dts/api/general/mixins/clickable.d.ts +0 -7
  65. package/dist/dts/api/general/mixins/color.d.ts +0 -10
  66. package/dist/dts/api/general/mixins/customIcon.d.ts +0 -10
  67. package/dist/dts/api/general/mixins/focusBehavior.d.ts +0 -13
  68. package/dist/dts/api/general/mixins/index.d.ts +0 -10
  69. package/dist/dts/api/general/mixins/opacity.d.ts +0 -11
  70. package/dist/dts/api/general/mixins/sizing.d.ts +0 -35
  71. package/dist/dts/api/general/mixins/spacing.d.ts +0 -16
  72. package/dist/dts/api/general/mixins/tooltip.d.ts +0 -9
  73. package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +0 -6
  74. package/dist/dts/api/general/mutations/index.d.ts +0 -10
  75. package/dist/dts/api/general/mutations/item/index.d.ts +0 -24
  76. package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +0 -20
  77. package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +0 -20
  78. package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +0 -20
  79. package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +0 -20
  80. package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +0 -20
  81. package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +0 -22
  82. package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +0 -15
  83. package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +0 -15
  84. package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +0 -20
  85. package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +0 -20
  86. package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +0 -20
  87. package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +0 -20
  88. package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +0 -24
  89. package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +0 -24
  90. package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +0 -16
  91. package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +0 -16
  92. package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +0 -62
  93. package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +0 -20
  94. package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +0 -20
  95. package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +0 -29
  96. package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +0 -21
  97. package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +0 -20
  98. package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +0 -46
  99. package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +0 -16
  100. package/dist/dts/api/general/mutations/mutationOptions.d.ts +0 -38
  101. package/dist/dts/api/general/mutations/mutationResult.d.ts +0 -73
  102. package/dist/dts/api/general/mutations/translation/index.d.ts +0 -1
  103. package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +0 -16
  104. package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +0 -31
  105. package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +0 -20
  106. package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +0 -20
  107. package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +0 -20
  108. package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +0 -52
  109. package/dist/dts/api/general/mutations/workflow/index.d.ts +0 -9
  110. package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +0 -20
  111. package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +0 -20
  112. package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +0 -39
  113. package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +0 -24
  114. package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +0 -16
  115. package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +0 -16
  116. package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +0 -16
  117. package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +0 -16
  118. package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +0 -16
  119. package/dist/dts/api/general/queries/index.d.ts +0 -10
  120. package/dist/dts/api/general/queries/item/index.d.ts +0 -14
  121. package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +0 -20
  122. package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +0 -20
  123. package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +0 -33
  124. package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +0 -26
  125. package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +0 -16
  126. package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +0 -16
  127. package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +0 -16
  128. package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +0 -16
  129. package/dist/dts/api/general/queries/item/useItemQuery.d.ts +0 -20
  130. package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +0 -16
  131. package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +0 -25
  132. package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +0 -21
  133. package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +0 -28
  134. package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +0 -20
  135. package/dist/dts/api/general/queries/lists/index.d.ts +0 -6
  136. package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +0 -32
  137. package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +0 -7
  138. package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +0 -25
  139. package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +0 -7
  140. package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +0 -33
  141. package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +0 -38
  142. package/dist/dts/api/general/queries/loadingState.d.ts +0 -10
  143. package/dist/dts/api/general/queries/publishing/index.d.ts +0 -5
  144. package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +0 -8
  145. package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +0 -8
  146. package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +0 -40
  147. package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +0 -16
  148. package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +0 -7
  149. package/dist/dts/api/general/queries/queryOptions.d.ts +0 -67
  150. package/dist/dts/api/general/queries/queryResult.d.ts +0 -93
  151. package/dist/dts/api/general/queries/search/index.d.ts +0 -2
  152. package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +0 -27
  153. package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +0 -26
  154. package/dist/dts/api/general/queries/translation/index.d.ts +0 -1
  155. package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +0 -17
  156. package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +0 -7
  157. package/dist/dts/api/general/queries/workflow/index.d.ts +0 -1
  158. package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +0 -37
  159. package/dist/dts/api/index.d.ts +0 -5
  160. package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +0 -2
  161. package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +0 -62
  162. package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +0 -41
  163. package/dist/dts/api/publishingQueueExplorer/index.d.ts +0 -1
  164. package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +0 -16
  165. package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +0 -32
  166. package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +0 -13
  167. package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +0 -13
  168. package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +0 -13
  169. package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +0 -28
  170. package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +0 -13
  171. package/dist/dts/apiBridge/editors/index.d.ts +0 -8
  172. package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +0 -13
  173. package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +0 -13
  174. package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +0 -13
  175. package/dist/dts/apiBridge/extensionApiBridge.d.ts +0 -22
  176. package/dist/dts/apiBridge/generalApiStorage.d.ts +0 -144
  177. package/dist/dts/apiBridge/index.d.ts +0 -6
  178. package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +0 -16
  179. package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +0 -39
  180. package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +0 -1
  181. package/dist/dts/apiWrappers/contentExplorer/components.d.ts +0 -5
  182. package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +0 -58
  183. package/dist/dts/apiWrappers/contentExplorer/index.d.ts +0 -3
  184. package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +0 -73
  185. package/dist/dts/apiWrappers/editors/hooks.d.ts +0 -63
  186. package/dist/dts/apiWrappers/editors/index.d.ts +0 -1
  187. package/dist/dts/apiWrappers/general/components.d.ts +0 -88
  188. package/dist/dts/apiWrappers/general/globals.d.ts +0 -37
  189. package/dist/dts/apiWrappers/general/hooks.d.ts +0 -25
  190. package/dist/dts/apiWrappers/general/index.d.ts +0 -5
  191. package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +0 -30
  192. package/dist/dts/apiWrappers/general/mutations/index.d.ts +0 -4
  193. package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +0 -137
  194. package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +0 -5
  195. package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +0 -47
  196. package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +0 -7
  197. package/dist/dts/apiWrappers/general/queries/index.d.ts +0 -7
  198. package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +0 -85
  199. package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +0 -25
  200. package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +0 -19
  201. package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +0 -13
  202. package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +0 -5
  203. package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +0 -5
  204. package/dist/dts/apiWrappers/index.d.ts +0 -5
  205. package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +0 -39
  206. package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +0 -1
  207. package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +0 -43
  208. package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +0 -20
  209. package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +0 -10
  210. package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +0 -70
  211. package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +0 -4
  212. package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +0 -40
  213. package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +0 -11
  214. package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +0 -25
  215. package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +0 -5
  216. package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +0 -18
  217. package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +0 -9
  218. package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
  219. package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +0 -3
  220. package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +0 -41
  221. package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +0 -20
  222. package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +0 -10
  223. package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +0 -26
  224. package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +0 -3
  225. package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +0 -11
  226. package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +0 -15
  227. package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +0 -85
  228. package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +0 -69
  229. package/dist/dts/extensionPoints/contentEditor/index.d.ts +0 -5
  230. package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +0 -2
  231. package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +0 -64
  232. package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +0 -11
  233. package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +0 -86
  234. package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +0 -13
  235. package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +0 -30
  236. package/dist/dts/extensionPoints/contentExplorer/index.d.ts +0 -6
  237. package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +0 -18
  238. package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +0 -9
  239. package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
  240. package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +0 -3
  241. package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +0 -20
  242. package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +0 -10
  243. package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +0 -26
  244. package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +0 -3
  245. package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +0 -7
  246. package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +0 -13
  247. package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +0 -2
  248. package/dist/dts/extensionPoints/extensionBuilder.d.ts +0 -37
  249. package/dist/dts/extensionPoints/extensionPoints.d.ts +0 -17
  250. package/dist/dts/extensionPoints/header/headerExtensions.d.ts +0 -7
  251. package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +0 -12
  252. package/dist/dts/extensionPoints/header/index.d.ts +0 -3
  253. package/dist/dts/extensionPoints/header/navigation/index.d.ts +0 -4
  254. package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +0 -9
  255. package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +0 -24
  256. package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +0 -65
  257. package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +0 -20
  258. package/dist/dts/extensionPoints/index.d.ts +0 -12
  259. package/dist/dts/extensionPoints/insightsPanels/index.d.ts +0 -1
  260. package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +0 -39
  261. package/dist/dts/extensionPoints/listBuilder/index.d.ts +0 -3
  262. package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +0 -12
  263. package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +0 -12
  264. package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +0 -14
  265. package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +0 -13
  266. package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +0 -5
  267. package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +0 -14
  268. package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +0 -13
  269. package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +0 -14
  270. package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +0 -5
  271. package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +0 -3
  272. package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +0 -18
  273. package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +0 -9
  274. package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
  275. package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +0 -39
  276. package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +0 -11
  277. package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +0 -25
  278. package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +0 -3
  279. package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +0 -39
  280. package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +0 -20
  281. package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +0 -10
  282. package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +0 -26
  283. package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +0 -1
  284. package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +0 -70
  285. package/dist/dts/extensionPoints/translations/index.d.ts +0 -3
  286. package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +0 -7
  287. package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +0 -17
  288. package/dist/dts/extensionPoints/translations/translationItem.d.ts +0 -23
  289. package/dist/dts/frameworkInfo.d.ts +0 -7
  290. package/dist/dts/index.d.ts +0 -6
  291. package/dist/dts/module/createExtensionGlobals.d.ts +0 -11
  292. package/dist/dts/module/extensionGlobals.d.ts +0 -7
  293. package/dist/dts/module/extensionModule.d.ts +0 -11
  294. package/dist/dts/module/index.d.ts +0 -4
  295. package/dist/dts/module/runtimeInformation.d.ts +0 -7
@@ -1,65 +0,0 @@
1
- import type { ComponentType } from 'react';
2
- /**
3
- * @public
4
- */
5
- export interface NavigationItemRenderLabel {
6
- /**
7
- * The label obtained from {@link NavigationItemHookResult.label}.
8
- */
9
- readonly label: string;
10
- }
11
- /**
12
- * @public
13
- */
14
- export interface NavigationItemHookResult {
15
- /**
16
- * Indicates the visibility of the item in the navigation menu and determines
17
- * whether its corresponding page is available.
18
- */
19
- readonly isAvailable: boolean;
20
- /**
21
- * Label associated with the navigation item.
22
- */
23
- readonly label: string;
24
- /**
25
- * A component used for custom rendering of {@link NavigationItemHookResult.label}.
26
- */
27
- readonly renderLabel?: ComponentType<NavigationItemRenderLabel>;
28
- /**
29
- * Tooltip displayed when hovering over the navigation item.
30
- *
31
- * @remarks
32
- * If not provided, {@link NavigationItemHookResult.label} property is used instead of it.
33
- */
34
- readonly tooltip?: string;
35
- }
36
- /**
37
- * @public
38
- */
39
- export type NavigationItemHook = () => NavigationItemHookResult;
40
- /**
41
- * @public
42
- */
43
- export interface NavigationItemExtensionConfiguration {
44
- /**
45
- * A unique identifier for the navigation item.
46
- */
47
- readonly id: string;
48
- /**
49
- * The route path associated with the navigation item.
50
- */
51
- readonly routePath: string;
52
- /**
53
- * The component to be rendered when the path in the browser address bar matches
54
- * the specified {@link NavigationItemExtensionConfiguration.routePath}.
55
- */
56
- readonly routeComponent: ComponentType;
57
- /**
58
- * Hook that contains behavior of the navigation item.
59
- */
60
- readonly useNavigationItem: NavigationItemHook;
61
- }
62
- /**
63
- * @public
64
- */
65
- export type NavigationItemExtension = () => NavigationItemExtensionConfiguration;
@@ -1,20 +0,0 @@
1
- import type { ValuesOfArray } from '@tridion/graphene';
2
- /**
3
- * @public
4
- */
5
- export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer", "translationsExplorer"];
6
- /**
7
- * @public
8
- */
9
- export type NavigationItemId = ValuesOfArray<typeof navigationItemIds>;
10
- /**
11
- * All available built-in navigation item IDs.
12
- *
13
- * @public
14
- */
15
- export declare const navigationItemId: {
16
- activitiesExplorer: "activitiesExplorer";
17
- contentExplorer: "contentExplorer";
18
- publishingQueueExplorer: "publishingQueueExplorer";
19
- translationsExplorer: "translationsExplorer";
20
- };
@@ -1,12 +0,0 @@
1
- export * from './actionsConfiguration';
2
- export * from './activitiesExplorer';
3
- export * from './contentEditor';
4
- export * from './contentExplorer';
5
- export * from './extensionBuilder';
6
- export * from './extensionPoints';
7
- export * from './header';
8
- export * from './insightsPanels';
9
- export * from './listBuilder/listBuilderExtension';
10
- export * from './publishingQueueExplorer';
11
- export * from './tableColumnConfiguration';
12
- export * from './translations';
@@ -1 +0,0 @@
1
- export * from './insightsPanelsExtension';
@@ -1,39 +0,0 @@
1
- import type { ComponentType, ReactNode } from 'react';
2
- /**
3
- * @public
4
- */
5
- export interface InsightsPanelsExtensionHookResult {
6
- /**
7
- * Defines whether an insights panel extension is available to be displayed or not
8
- */
9
- readonly isAvailable: boolean;
10
- /**
11
- * Title of a panel to display
12
- */
13
- readonly title: string;
14
- /**
15
- * Icon to display as a part of a tab for a panel
16
- */
17
- readonly icon: ReactNode;
18
- }
19
- /**
20
- * @public
21
- */
22
- export interface InsightsPanelsExtensionConfiguration<TComponentProps, THookProps> {
23
- /**
24
- * Extension id
25
- */
26
- readonly id: string;
27
- /**
28
- * Component to display as a panel
29
- */
30
- readonly component: ComponentType<TComponentProps>;
31
- /**
32
- * Hook which returns information about the current panel for the extension
33
- */
34
- readonly usePanel: (props: THookProps) => InsightsPanelsExtensionHookResult;
35
- }
36
- /**
37
- * @public
38
- */
39
- export type InsightsPanelsExtension = <TComponentProps, THookProps>() => InsightsPanelsExtensionConfiguration<TComponentProps, THookProps>;
@@ -1,3 +0,0 @@
1
- export * from './listBuilderExtension';
2
- export * from './listBuilder';
3
- export * from './utils';
@@ -1,12 +0,0 @@
1
- import type { GetListBuilderItemId, ListBuilderConfigurationExtension } from './listBuilderExtension';
2
- export declare class ListBuilder<TItem> {
3
- private _itemsConfiguration;
4
- private _getItemId;
5
- constructor(getItemId: GetListBuilderItemId<TItem>);
6
- customize: (configuration: ListBuilderConfigurationExtension<TItem>) => this;
7
- add: (newItem: TItem, beforeItemId?: string) => void;
8
- move: (itemId: string, beforeItemId?: string) => void;
9
- replace: (itemId: string, newItem: TItem) => void;
10
- remove: (itemId: string) => void;
11
- build: () => ReadonlyArray<ListBuilderConfigurationExtension<TItem>>;
12
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * @internal
3
- */
4
- export type ListBuilderConfiguration<TItem> = TItem[];
5
- /**
6
- * @internal
7
- */
8
- export type GetListBuilderItemId<TItem> = (item: TItem) => string;
9
- /**
10
- * @internal
11
- */
12
- export type ListBuilderConfigurationExtension<TItem> = (currentList: ListBuilderConfiguration<TItem>, defaultList: ListBuilderConfiguration<TItem>) => void;
@@ -1,14 +0,0 @@
1
- import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
2
- /**
3
- * @internal
4
- */
5
- export interface AddItemArgs<TItem> {
6
- list: ListBuilderConfiguration<TItem>;
7
- newItem: TItem;
8
- beforeItemId?: string;
9
- getItemId: GetListBuilderItemId<TItem>;
10
- }
11
- /**
12
- * @internal
13
- */
14
- export declare const addItem: <TItem>({ list, newItem, beforeItemId, getItemId }: AddItemArgs<TItem>) => void;
@@ -1,13 +0,0 @@
1
- import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
2
- /**
3
- * @internal
4
- */
5
- export interface FindItemArgs<TItem> {
6
- list: ListBuilderConfiguration<TItem>;
7
- itemId: string;
8
- getItemId: GetListBuilderItemId<TItem>;
9
- }
10
- /**
11
- * @internal
12
- */
13
- export declare const findItemIndex: <TItem>({ list, itemId, getItemId }: FindItemArgs<TItem>) => number | undefined;
@@ -1,5 +0,0 @@
1
- export * from './addItem';
2
- export * from './findItemIndex';
3
- export * from './moveItem';
4
- export * from './removeItem';
5
- export * from './replaceItem';
@@ -1,14 +0,0 @@
1
- import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
2
- /**
3
- * @internal
4
- */
5
- export interface MoveItemArgs<TItem> {
6
- list: ListBuilderConfiguration<TItem>;
7
- itemId: string;
8
- beforeItemId?: string;
9
- getItemId: GetListBuilderItemId<TItem>;
10
- }
11
- /**
12
- * @internal
13
- */
14
- export declare const moveItem: <TItem>({ list, itemId, beforeItemId, getItemId }: MoveItemArgs<TItem>) => void;
@@ -1,13 +0,0 @@
1
- import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
2
- /**
3
- * @internal
4
- */
5
- export interface RemoveItemArgs<TItem> {
6
- list: ListBuilderConfiguration<TItem>;
7
- itemId: string;
8
- getItemId: GetListBuilderItemId<TItem>;
9
- }
10
- /**
11
- * @internal
12
- */
13
- export declare const removeItem: <TItem>({ list, itemId, getItemId }: RemoveItemArgs<TItem>) => TItem | undefined;
@@ -1,14 +0,0 @@
1
- import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
2
- /**
3
- * @internal
4
- */
5
- export interface ReplaceItemArgs<TItem> {
6
- list: ListBuilderConfiguration<TItem>;
7
- itemId: string;
8
- newItem: TItem;
9
- getItemId: GetListBuilderItemId<TItem>;
10
- }
11
- /**
12
- * @internal
13
- */
14
- export declare const replaceItem: <TItem>({ list, itemId, newItem, getItemId }: ReplaceItemArgs<TItem>) => void;
@@ -1,5 +0,0 @@
1
- export * from './table';
2
- export * from './insightsPanels';
3
- export * from './publishingQueueExplorerActions';
4
- export * from './publishingQueueExplorerExtensions';
5
- export * from './publishingQueueExplorerExtensionsBuilder';
@@ -1,3 +0,0 @@
1
- export * from './publishingQueueExplorerInsightsPanelsExtensions';
2
- export * from './publishingQueueExplorerInsightsPanelsExtensionsBuilder';
3
- export * from './publishingQueueExplorerInsightsPanelsExtension';
@@ -1,18 +0,0 @@
1
- import type { ItemUri } from '@tridion-sites/models';
2
- import type { InsightsPanelsExtensionConfiguration } from '../../insightsPanels';
3
- /**
4
- * @public
5
- */
6
- export interface PublishingQueueExplorerExtensionInsightsPanelProps {
7
- transactionId: ItemUri;
8
- }
9
- /**
10
- * @public
11
- */
12
- export interface PublishingQueueExplorerInsightsPanelsHookProps {
13
- transactionId?: ItemUri;
14
- }
15
- /**
16
- * @public
17
- */
18
- export type PublishingQueueExplorerInsightsPanelsExtension = () => InsightsPanelsExtensionConfiguration<PublishingQueueExplorerExtensionInsightsPanelProps, PublishingQueueExplorerInsightsPanelsHookProps>;
@@ -1,9 +0,0 @@
1
- import type { ListBuilderConfigurationExtension } from '../../listBuilder';
2
- import type { PublishingQueueExplorerInsightsPanelsExtension } from './publishingQueueExplorerInsightsPanelsExtension';
3
- /**
4
- * @public
5
- */
6
- export interface PublishingQueueExplorerInsightsPanelsExtensions {
7
- items: ReadonlyArray<PublishingQueueExplorerInsightsPanelsExtension>;
8
- config: ReadonlyArray<ListBuilderConfigurationExtension<string>>;
9
- }
@@ -1,24 +0,0 @@
1
- import { ListBuilder } from '../../listBuilder';
2
- import type { PublishingQueueExplorerInsightsPanelsExtension } from './publishingQueueExplorerInsightsPanelsExtension';
3
- import type { PublishingQueueExplorerInsightsPanelsExtensions } from './publishingQueueExplorerInsightsPanelsExtensions';
4
- /**
5
- * @public
6
- */
7
- export declare class PublishingQueueExplorerInsightsPanelsExtensionsBuilder {
8
- private _insightsPanelsExtensions;
9
- /**
10
- * Provides a mechanism for customizing the configuration of insights panels.
11
- */
12
- readonly config: ListBuilder<string>;
13
- /**
14
- * Registers a new insights panel.
15
- *
16
- * @remarks
17
- * This method only registers the insights panel and does not automatically make it visible in the application.
18
- * To add the insights panel to the application, use {@link PublishingQueueExplorerInsightsPanelsExtensionsBuilder.config}.
19
- *
20
- * @param item - insights panel to be registered
21
- */
22
- register: (item: PublishingQueueExplorerInsightsPanelsExtension) => this;
23
- build: () => PublishingQueueExplorerInsightsPanelsExtensions;
24
- }
@@ -1,39 +0,0 @@
1
- import type { ValuesOfArray } from '@tridion/graphene';
2
- /**
3
- * @public
4
- */
5
- export declare const publishingQueueExplorerActionIds: readonly ["refresh", "export", "delete", "redo"];
6
- /**
7
- * @public
8
- */
9
- export type PublishingQueueExplorerActionId = ValuesOfArray<typeof publishingQueueExplorerActionIds>;
10
- /**
11
- * All built-in action IDs available in Publishing Queue Explorer.
12
- *
13
- * @public
14
- */
15
- export declare const publishingQueueExplorerActionId: {
16
- delete: "delete";
17
- export: "export";
18
- refresh: "refresh";
19
- redo: "redo";
20
- };
21
- /**
22
- * @public
23
- */
24
- export declare const publishingQueueExplorerActionGroupIds: readonly ["refreshing", "exporting", "publishing", "deleting"];
25
- /**
26
- * @public
27
- */
28
- export type PublishingQueueExplorerActionGroupId = ValuesOfArray<typeof publishingQueueExplorerActionGroupIds>;
29
- /**
30
- * All built-in action group IDs available in Publishing Queue Explorer.
31
- *
32
- * @public
33
- */
34
- export declare const publishingQueueExplorerActionGroupId: {
35
- exporting: "exporting";
36
- refreshing: "refreshing";
37
- publishing: "publishing";
38
- deleting: "deleting";
39
- };
@@ -1,11 +0,0 @@
1
- import type { ActionExtension } from '../actionsConfiguration';
2
- import type { PublishingQueueExplorerInsightsPanelsExtensions } from './insightsPanels';
3
- import type { PublishingQueueExplorerTableExtensions } from './table';
4
- /**
5
- * @public
6
- */
7
- export interface PublishingQueueExplorerExtensions {
8
- actions: ReadonlyArray<ActionExtension>;
9
- table: PublishingQueueExplorerTableExtensions;
10
- insightsPanels: PublishingQueueExplorerInsightsPanelsExtensions;
11
- }
@@ -1,25 +0,0 @@
1
- import type { ActionExtension } from '../actionsConfiguration';
2
- import { PublishingQueueExplorerInsightsPanelsExtensionsBuilder } from './insightsPanels';
3
- import type { PublishingQueueExplorerExtensions } from './publishingQueueExplorerExtensions';
4
- import { PublishingQueueExplorerTableExtensionsBuilder } from './table';
5
- /**
6
- * @public
7
- */
8
- export declare class PublishingQueueExplorerExtensionsBuilder {
9
- private _actions;
10
- /**
11
- * Provides a mechanism for customizing Publishing Queue Explorer Table.
12
- */
13
- readonly table: PublishingQueueExplorerTableExtensionsBuilder;
14
- /**
15
- * Provides a mechanism for customizing Publishing Queue Explorer Insights Panels.
16
- */
17
- readonly insightsPanels: PublishingQueueExplorerInsightsPanelsExtensionsBuilder;
18
- /**
19
- * Adds a new action to Publishing Queue Explorer.
20
- *
21
- * @param action - action to be added
22
- */
23
- addAction: (action: ActionExtension) => this;
24
- build: () => PublishingQueueExplorerExtensions;
25
- }
@@ -1,3 +0,0 @@
1
- export * from './publishingQueueExplorerTableColumnExtension';
2
- export * from './publishingQueueExplorerTableExtensions';
3
- export * from './publishingQueueExplorerTableExtensionsBuilder';
@@ -1,39 +0,0 @@
1
- import type { ValuesOfArray } from '@tridion/graphene';
2
- /**
3
- * @public
4
- */
5
- export declare const publishingQueueExplorerTableActionIds: readonly ["refresh", "export", "delete", "redo"];
6
- /**
7
- * @public
8
- */
9
- export type PublishingQueueExplorerTableActionId = ValuesOfArray<typeof publishingQueueExplorerTableActionIds>;
10
- /**
11
- * All built-in action IDs available in Publishing Queue Explorer Table.
12
- *
13
- * @public
14
- */
15
- export declare const publishingQueueExplorerTableActionId: {
16
- delete: "delete";
17
- export: "export";
18
- refresh: "refresh";
19
- redo: "redo";
20
- };
21
- /**
22
- * @public
23
- */
24
- export declare const publishingQueueExplorerTableActionGroupIds: readonly ["refreshing", "exporting", "publishing", "deleting"];
25
- /**
26
- * @public
27
- */
28
- export type PublishingQueueExplorerTableActionGroupId = ValuesOfArray<typeof publishingQueueExplorerTableActionGroupIds>;
29
- /**
30
- * All built-in action group IDs available in Publishing Queue Explorer Table.
31
- *
32
- * @public
33
- */
34
- export declare const publishingQueueExplorerTableActionGroupId: {
35
- exporting: "exporting";
36
- refreshing: "refreshing";
37
- publishing: "publishing";
38
- deleting: "deleting";
39
- };
@@ -1,20 +0,0 @@
1
- import type { PublishTransaction, PublishTransactionListInfo } from '@tridion-sites/models';
2
- import type { TableColumnExtension, TableColumnExtensionComponentProps, TableColumnExtensionConfiguration, TableColumnHook } from '../../tableColumnConfiguration';
3
- /**
4
- * @public
5
- */
6
- export interface PublishingQueueExplorerTableColumnExtensionComponentProps extends TableColumnExtensionComponentProps<PublishTransaction<PublishTransactionListInfo>> {
7
- }
8
- /**
9
- * @public
10
- */
11
- export type PublishingQueueExplorerTableColumnIsAvailableHook = TableColumnHook;
12
- /**
13
- * @public
14
- */
15
- export interface PublishingQueueExplorerTableColumnExtensionConfiguration extends TableColumnExtensionConfiguration<PublishTransaction<PublishTransactionListInfo>> {
16
- }
17
- /**
18
- * @public
19
- */
20
- export type PublishingQueueExplorerTableColumnExtension = TableColumnExtension<PublishTransaction<PublishTransactionListInfo>>;
@@ -1,10 +0,0 @@
1
- import type { ActionsConfigurationExtension } from '../../actionsConfiguration';
2
- import type { PublishingQueueExplorerTableColumnExtension } from './publishingQueueExplorerTableColumnExtension';
3
- /**
4
- * @public
5
- */
6
- export interface PublishingQueueExplorerTableExtensions {
7
- columns: ReadonlyArray<PublishingQueueExplorerTableColumnExtension>;
8
- contextMenu: ReadonlyArray<ActionsConfigurationExtension>;
9
- toolbar: ReadonlyArray<ActionsConfigurationExtension>;
10
- }
@@ -1,26 +0,0 @@
1
- import { ActionsConfigurationExtensionsBuilder } from '../../actionsConfiguration';
2
- import type { PublishingQueueExplorerTableColumnExtension } from './publishingQueueExplorerTableColumnExtension';
3
- import type { PublishingQueueExplorerTableExtensions } from './publishingQueueExplorerTableExtensions';
4
- /**
5
- * @public
6
- */
7
- export declare class PublishingQueueExplorerTableExtensionsBuilder {
8
- private _columns;
9
- /**
10
- * Provides a mechanism for customizing the configuration of actions
11
- * within Publishing Queue Explorer Table toolbar.
12
- */
13
- readonly toolbar: ActionsConfigurationExtensionsBuilder;
14
- /**
15
- * Provides a mechanism for customizing the configuration of actions
16
- * within Publishing Queue Explorer Table context menu.
17
- */
18
- readonly contextMenu: ActionsConfigurationExtensionsBuilder;
19
- /**
20
- * Adds a new column to Publishing Queue Explorer Table.
21
- *
22
- * @param column - column to be added
23
- */
24
- addColumn: (column: PublishingQueueExplorerTableColumnExtension) => this;
25
- build: () => PublishingQueueExplorerTableExtensions;
26
- }
@@ -1 +0,0 @@
1
- export * from './tableColumnExtension';
@@ -1,70 +0,0 @@
1
- import type { ComponentType } from 'react';
2
- import type { IdentifiableObject } from '@tridion-sites/models';
3
- /**
4
- * @public
5
- */
6
- export interface TableColumnExtensionComponentProps<TItem extends IdentifiableObject> {
7
- /**
8
- * An item associated with the table row where the component is being rendered.
9
- */
10
- item: TItem;
11
- }
12
- /**
13
- * @public
14
- */
15
- export interface TableColumnHookResult {
16
- /**
17
- * Title associated with the column.
18
- */
19
- readonly title: string;
20
- /**
21
- * Indicates the availability of the column in the table.
22
- *
23
- * @remarks
24
- * If the property is set to `true` but the column is still not visible in the table,
25
- * please make sure that it is enabled in the table configurator.
26
- */
27
- readonly isAvailable: boolean;
28
- /**
29
- * Indicates whether the column width can be manually adjusted.
30
- */
31
- readonly isResizable: boolean;
32
- /**
33
- * The minimum width that the column can have.
34
- */
35
- readonly minWidth?: number;
36
- /**
37
- * The initial width of the column.
38
- *
39
- * @remarks
40
- * If the {@link TableColumnHookResult.isResizable} is set to `true`, this value is utilized for
41
- * initial width calculations of each column.
42
- * Otherwise, the column will have a fixed width based on this value.
43
- */
44
- readonly initialWidth?: number;
45
- }
46
- /**
47
- * @public
48
- */
49
- export type TableColumnHook = () => TableColumnHookResult;
50
- /**
51
- * @public
52
- */
53
- export interface TableColumnExtensionConfiguration<TItem extends IdentifiableObject> {
54
- /**
55
- * A unique identifier for the column.
56
- */
57
- readonly id: string;
58
- /**
59
- * The component to be rendered for each cell that belongs to the column.
60
- */
61
- readonly component: ComponentType<TableColumnExtensionComponentProps<TItem>>;
62
- /**
63
- * Hook that contains behavior of the column.
64
- */
65
- readonly useColumn: TableColumnHook;
66
- }
67
- /**
68
- * @public
69
- */
70
- export type TableColumnExtension<TItem extends IdentifiableObject> = () => TableColumnExtensionConfiguration<TItem>;
@@ -1,3 +0,0 @@
1
- export * from './translationExtensionsBuilder';
2
- export * from './translationExtensions';
3
- export * from './translationItem';
@@ -1,7 +0,0 @@
1
- import type { TranslationItemExtension } from './translationItem';
2
- /**
3
- * @public
4
- */
5
- export interface TranslationExtensions {
6
- translations: ReadonlyArray<TranslationItemExtension>;
7
- }
@@ -1,17 +0,0 @@
1
- import type { TranslationExtensions } from './translationExtensions';
2
- import type { LanguageCode } from './translationItem';
3
- /**
4
- * @public
5
- */
6
- export declare class TranslationExtensionsBuilder {
7
- private _translations;
8
- /**
9
- * Adds new translations for the specified language code.
10
- *
11
- * @param code - Language code.
12
- * @param records - Key-value pairs of string translated to `code` language.
13
- * @returns instance of `TranslationsExtensionsBuilder`
14
- */
15
- addTranslation: (code: LanguageCode, records: Record<string, any>) => this;
16
- build: () => TranslationExtensions;
17
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * @public
3
- */
4
- export type TranslationItemExtension = () => TranslationItemExtensionConfiguration;
5
- /**
6
- * All built-in language codes available in the system.
7
- *
8
- * @public
9
- */
10
- export type LanguageCode = 'de' | 'en' | 'es' | 'fr' | 'nl' | 'zh' | 'ja';
11
- /**
12
- * @public
13
- */
14
- export interface TranslationItemExtensionConfiguration {
15
- /**
16
- * A code used to identify a specific language.
17
- */
18
- readonly code: LanguageCode;
19
- /**
20
- * Key-value pairs of string translated to {@link TranslationItemExtensionConfiguration.code} language.
21
- */
22
- readonly records: Record<string, any>;
23
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * @public
3
- */
4
- export declare const frameworkInfo: {
5
- version: string;
6
- peerDependencies: Record<string, string>;
7
- };
@@ -1,6 +0,0 @@
1
- export * from './api';
2
- export * from './extensionPoints';
3
- export * from './apiBridge';
4
- export * from './apiWrappers';
5
- export * from './module';
6
- export * from './frameworkInfo';