@tridion-sites/extensions 2.0.0 → 2.0.2
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.
- package/CHANGELOG.md +14 -0
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +2 -0
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +63 -0
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +41 -0
- package/dist/dts/api/activitiesExplorer/index.d.ts +1 -0
- package/dist/dts/api/contentExplorer/components/index.d.ts +2 -0
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +29 -0
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +21 -0
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +102 -0
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +3 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +123 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +39 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +27 -0
- package/dist/dts/api/contentExplorer/index.d.ts +4 -0
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +80 -0
- package/dist/dts/api/contentExplorer/utils/index.d.ts +1 -0
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +32 -0
- package/dist/dts/api/editors/category/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +28 -0
- package/dist/dts/api/editors/component/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +32 -0
- package/dist/dts/api/editors/folder/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +32 -0
- package/dist/dts/api/editors/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/hooks/useEditor.d.ts +40 -0
- package/dist/dts/api/editors/index.d.ts +8 -0
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +32 -0
- package/dist/dts/api/editors/page/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +40 -0
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +32 -0
- package/dist/dts/api/general/components/button.d.ts +33 -0
- package/dist/dts/api/general/components/icon.d.ts +19 -0
- package/dist/dts/api/general/components/index.d.ts +7 -0
- package/dist/dts/api/general/components/layout/block.d.ts +55 -0
- package/dist/dts/api/general/components/layout/center.d.ts +12 -0
- package/dist/dts/api/general/components/layout/flex.d.ts +50 -0
- package/dist/dts/api/general/components/layout/index.d.ts +4 -0
- package/dist/dts/api/general/components/layout/stack.d.ts +39 -0
- package/dist/dts/api/general/components/link.d.ts +29 -0
- package/dist/dts/api/general/components/modal.d.ts +61 -0
- package/dist/dts/api/general/components/text.d.ts +82 -0
- package/dist/dts/api/general/components/textLink.d.ts +16 -0
- package/dist/dts/api/general/globals/borderRadius.d.ts +15 -0
- package/dist/dts/api/general/globals/color.d.ts +41 -0
- package/dist/dts/api/general/globals/index.d.ts +6 -0
- package/dist/dts/api/general/globals/opacity.d.ts +16 -0
- package/dist/dts/api/general/globals/spacing.d.ts +19 -0
- package/dist/dts/api/general/globals/transitionDuration.d.ts +14 -0
- package/dist/dts/api/general/globals/zIndex.d.ts +18 -0
- package/dist/dts/api/general/hooks/index.d.ts +4 -0
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +40 -0
- package/dist/dts/api/general/hooks/useModal.d.ts +68 -0
- package/dist/dts/api/general/hooks/useNotifications.d.ts +46 -0
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +14 -0
- package/dist/dts/api/general/index.d.ts +6 -0
- package/dist/dts/api/general/mixins/accessibility.d.ts +50 -0
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +10 -0
- package/dist/dts/api/general/mixins/clickable.d.ts +7 -0
- package/dist/dts/api/general/mixins/color.d.ts +10 -0
- package/dist/dts/api/general/mixins/customIcon.d.ts +10 -0
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +13 -0
- package/dist/dts/api/general/mixins/index.d.ts +10 -0
- package/dist/dts/api/general/mixins/opacity.d.ts +11 -0
- package/dist/dts/api/general/mixins/sizing.d.ts +35 -0
- package/dist/dts/api/general/mixins/spacing.d.ts +16 -0
- package/dist/dts/api/general/mixins/tooltip.d.ts +9 -0
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +6 -0
- package/dist/dts/api/general/mutations/index.d.ts +10 -0
- package/dist/dts/api/general/mutations/item/index.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +22 -0
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +15 -0
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +15 -0
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +62 -0
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +29 -0
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +21 -0
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +46 -0
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +38 -0
- package/dist/dts/api/general/mutations/mutationResult.d.ts +73 -0
- package/dist/dts/api/general/mutations/translation/index.d.ts +1 -0
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +31 -0
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +52 -0
- package/dist/dts/api/general/mutations/workflow/index.d.ts +9 -0
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +39 -0
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +16 -0
- package/dist/dts/api/general/queries/index.d.ts +10 -0
- package/dist/dts/api/general/queries/item/index.d.ts +14 -0
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +33 -0
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +26 -0
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +25 -0
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +21 -0
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +28 -0
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/lists/index.d.ts +6 -0
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +32 -0
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +25 -0
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +33 -0
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +38 -0
- package/dist/dts/api/general/queries/loadingState.d.ts +10 -0
- package/dist/dts/api/general/queries/publishing/index.d.ts +5 -0
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +8 -0
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +8 -0
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +40 -0
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/queryOptions.d.ts +67 -0
- package/dist/dts/api/general/queries/queryResult.d.ts +93 -0
- package/dist/dts/api/general/queries/search/index.d.ts +2 -0
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +27 -0
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +26 -0
- package/dist/dts/api/general/queries/translation/index.d.ts +1 -0
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +17 -0
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/workflow/index.d.ts +1 -0
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +37 -0
- package/dist/dts/api/index.d.ts +5 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +2 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +62 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +41 -0
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +1 -0
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +16 -0
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +32 -0
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +28 -0
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/index.d.ts +8 -0
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +22 -0
- package/dist/dts/apiBridge/generalApiStorage.d.ts +144 -0
- package/dist/dts/apiBridge/index.d.ts +6 -0
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +16 -0
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +39 -0
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +1 -0
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +5 -0
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +58 -0
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +3 -0
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +73 -0
- package/dist/dts/apiWrappers/editors/hooks.d.ts +63 -0
- package/dist/dts/apiWrappers/editors/index.d.ts +1 -0
- package/dist/dts/apiWrappers/general/components.d.ts +88 -0
- package/dist/dts/apiWrappers/general/globals.d.ts +37 -0
- package/dist/dts/apiWrappers/general/hooks.d.ts +25 -0
- package/dist/dts/apiWrappers/general/index.d.ts +5 -0
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +30 -0
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +4 -0
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +137 -0
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +5 -0
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +47 -0
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +7 -0
- package/dist/dts/apiWrappers/general/queries/index.d.ts +7 -0
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +85 -0
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +25 -0
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +19 -0
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +13 -0
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +5 -0
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +5 -0
- package/dist/dts/apiWrappers/index.d.ts +5 -0
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +39 -0
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +1 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +43 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +20 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +10 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +70 -0
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +4 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +40 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +25 -0
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +5 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +41 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +15 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +85 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +69 -0
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +5 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +2 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +64 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +11 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +86 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +13 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +30 -0
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +6 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +13 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +2 -0
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +37 -0
- package/dist/dts/extensionPoints/extensionPoints.d.ts +17 -0
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +12 -0
- package/dist/dts/extensionPoints/header/index.d.ts +3 -0
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +4 -0
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +65 -0
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +20 -0
- package/dist/dts/extensionPoints/index.d.ts +12 -0
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +1 -0
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +39 -0
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +3 -0
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +12 -0
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +12 -0
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +14 -0
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +13 -0
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +5 -0
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +14 -0
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +13 -0
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +14 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +5 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +39 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +25 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +39 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +1 -0
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +70 -0
- package/dist/dts/extensionPoints/translations/index.d.ts +3 -0
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +17 -0
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +23 -0
- package/dist/dts/frameworkInfo.d.ts +7 -0
- package/dist/dts/index.d.ts +6 -0
- package/dist/dts/module/createExtensionGlobals.d.ts +11 -0
- package/dist/dts/module/extensionGlobals.d.ts +7 -0
- package/dist/dts/module/extensionModule.d.ts +11 -0
- package/dist/dts/module/index.d.ts +4 -0
- package/dist/dts/module/runtimeInformation.d.ts +7 -0
- package/dist/index.d.ts +529 -97
- package/dist/index.js +151 -27
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,8 @@ import type { KeyboardEvent as KeyboardEvent_2 } from 'react';
|
|
|
24
24
|
import type { Keyword } from '@tridion-sites/models';
|
|
25
25
|
import type { KeywordCategory } from '@tridion-sites/models';
|
|
26
26
|
import type { Link as Link_2 } from '@tridion-sites/models';
|
|
27
|
+
import type { ListDetailsLevel } from '@tridion-sites/models';
|
|
28
|
+
import type { ListInfoDictionary } from '@tridion-sites/models';
|
|
27
29
|
import type { MouseEvent as MouseEvent_2 } from 'react';
|
|
28
30
|
import type { MultimediaComponent } from '@tridion-sites/models';
|
|
29
31
|
import type { Page } from '@tridion-sites/models';
|
|
@@ -34,6 +36,7 @@ import type { PublicationBlueprintHierarchy } from '@tridion-sites/models';
|
|
|
34
36
|
import type { PublishInfo } from '@tridion-sites/models';
|
|
35
37
|
import type { PublishPriority } from '@tridion-sites/models';
|
|
36
38
|
import type { PublishTransaction } from '@tridion-sites/models';
|
|
39
|
+
import type { PublishTransactionListInfo } from '@tridion-sites/models';
|
|
37
40
|
import type { PublishTransactionsCreationResult } from '@tridion-sites/models';
|
|
38
41
|
import type { PublishTransactionState } from '@tridion-sites/models';
|
|
39
42
|
import type { PublishUrlInfo } from '@tridion-sites/models';
|
|
@@ -58,6 +61,7 @@ import type { User } from '@tridion-sites/models';
|
|
|
58
61
|
import type { UserGroup } from '@tridion-sites/models';
|
|
59
62
|
import type { UserProfile } from '@tridion-sites/models';
|
|
60
63
|
import type { VersionedItem } from '@tridion-sites/models';
|
|
64
|
+
import type { XhtmlFieldDefinition } from '@tridion-sites/models';
|
|
61
65
|
|
|
62
66
|
/**
|
|
63
67
|
* Accessibility-related props
|
|
@@ -245,12 +249,12 @@ export declare type ActivitiesExplorerActionId = ValuesOfArray<typeof activities
|
|
|
245
249
|
* @public
|
|
246
250
|
*/
|
|
247
251
|
export declare const activitiesExplorerActionId: {
|
|
248
|
-
|
|
249
|
-
refresh: "refresh";
|
|
252
|
+
assignActivity: "assignActivity";
|
|
250
253
|
startActivity: "startActivity";
|
|
251
254
|
finishActivity: "finishActivity";
|
|
252
255
|
restartActivity: "restartActivity";
|
|
253
|
-
|
|
256
|
+
export: "export";
|
|
257
|
+
refresh: "refresh";
|
|
254
258
|
};
|
|
255
259
|
|
|
256
260
|
/**
|
|
@@ -677,9 +681,9 @@ export declare interface AutoClassifyItemsRequest {
|
|
|
677
681
|
*/
|
|
678
682
|
itemIds: ReadonlyArray<ItemUri>;
|
|
679
683
|
/**
|
|
680
|
-
* Container
|
|
684
|
+
* Container of an item to classify.
|
|
681
685
|
*/
|
|
682
|
-
|
|
686
|
+
containerItem?: IdentifiableObject;
|
|
683
687
|
}
|
|
684
688
|
|
|
685
689
|
/**
|
|
@@ -799,7 +803,7 @@ export declare interface BundleEditorHookResult {
|
|
|
799
803
|
/**
|
|
800
804
|
* Bundle's metadata schema.
|
|
801
805
|
*/
|
|
802
|
-
metadataSchema: Schema;
|
|
806
|
+
metadataSchema: Schema | undefined;
|
|
803
807
|
/**
|
|
804
808
|
* Boolean that indicates that Bundle has unsaved changes.
|
|
805
809
|
*/
|
|
@@ -873,10 +877,6 @@ export declare interface CategoryEditorHookResult {
|
|
|
873
877
|
* Editable Category.
|
|
874
878
|
*/
|
|
875
879
|
category: KeywordCategory;
|
|
876
|
-
/**
|
|
877
|
-
* Category's metadata schema.
|
|
878
|
-
*/
|
|
879
|
-
metadataSchema: Schema;
|
|
880
880
|
/**
|
|
881
881
|
* Boolean that indicates that Category has unsaved changes.
|
|
882
882
|
*/
|
|
@@ -996,6 +996,7 @@ export declare interface ColorPalette {
|
|
|
996
996
|
magenta50: string;
|
|
997
997
|
magenta100: string;
|
|
998
998
|
magenta120: string;
|
|
999
|
+
yellow10: string;
|
|
999
1000
|
yellow50: string;
|
|
1000
1001
|
yellow100: string;
|
|
1001
1002
|
yellow120: string;
|
|
@@ -1037,9 +1038,9 @@ export declare interface ComponentEditorHookResult {
|
|
|
1037
1038
|
*/
|
|
1038
1039
|
component: Component | MultimediaComponent | ExternalMultimediaComponent;
|
|
1039
1040
|
/**
|
|
1040
|
-
* Component's metadata schema.
|
|
1041
|
+
* Component's content and metadata schema.
|
|
1041
1042
|
*/
|
|
1042
|
-
schema: Schema;
|
|
1043
|
+
schema: Schema | undefined;
|
|
1043
1044
|
/**
|
|
1044
1045
|
* Boolean that indicates that Component has unsaved changes.
|
|
1045
1046
|
*/
|
|
@@ -1095,16 +1096,50 @@ export declare interface ConfirmationHookArguments {
|
|
|
1095
1096
|
/**
|
|
1096
1097
|
* @public
|
|
1097
1098
|
*/
|
|
1098
|
-
export declare
|
|
1099
|
+
export declare interface ConfirmationHookResult {
|
|
1100
|
+
open: () => void;
|
|
1101
|
+
}
|
|
1099
1102
|
|
|
1100
1103
|
declare type Constructor<T> = abstract new (...args: any[]) => T;
|
|
1101
1104
|
|
|
1105
|
+
/**
|
|
1106
|
+
* @public
|
|
1107
|
+
*/
|
|
1108
|
+
export declare type ContainerItemsQueryHook = (props?: ContainerItemsQueryProps, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>;
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* @public
|
|
1112
|
+
*/
|
|
1113
|
+
export declare interface ContainerItemsQueryProps {
|
|
1114
|
+
/**
|
|
1115
|
+
* The Item URI of an organizational item, such as a Bundle, Category, Folder, Virtual folder, or Structure Group.
|
|
1116
|
+
*/
|
|
1117
|
+
itemId: ItemUri;
|
|
1118
|
+
/**
|
|
1119
|
+
* Loads a dynamic version (if available for the current user)
|
|
1120
|
+
*/
|
|
1121
|
+
useDynamicVersion?: boolean;
|
|
1122
|
+
/**
|
|
1123
|
+
* The item types of all repository-local objects that you want to include in the response.
|
|
1124
|
+
*/
|
|
1125
|
+
rloItemTypes?: ReadonlyArray<RloItemType>;
|
|
1126
|
+
/**
|
|
1127
|
+
* Option to control how much data is returned per item.
|
|
1128
|
+
*/
|
|
1129
|
+
detailsLevel?: ListDetailsLevel;
|
|
1130
|
+
/**
|
|
1131
|
+
* Determines if nested Organizational Items (recursively) should also be returned.
|
|
1132
|
+
*/
|
|
1133
|
+
isRecursive?: boolean;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1102
1136
|
/**
|
|
1103
1137
|
* @public
|
|
1104
1138
|
*/
|
|
1105
1139
|
export declare interface ContentEditorExtensions {
|
|
1106
1140
|
richTextField: RichTextFieldExtensions;
|
|
1107
1141
|
formFields: ReadonlyArray<ContentEditorFormFieldExtension>;
|
|
1142
|
+
editors: ReadonlyArray<ContentEditorViewExtension>;
|
|
1108
1143
|
}
|
|
1109
1144
|
|
|
1110
1145
|
/**
|
|
@@ -1112,8 +1147,10 @@ export declare interface ContentEditorExtensions {
|
|
|
1112
1147
|
*/
|
|
1113
1148
|
export declare class ContentEditorExtensionsBuilder {
|
|
1114
1149
|
private _formFields;
|
|
1150
|
+
private _itemEditors;
|
|
1115
1151
|
readonly richTextField: RichTextFieldExtensionsBuilder;
|
|
1116
1152
|
addFormField: (item: ContentEditorFormFieldExtension) => this;
|
|
1153
|
+
addItemEditor: (item: ContentEditorViewExtension) => this;
|
|
1117
1154
|
build: () => ContentEditorExtensions;
|
|
1118
1155
|
}
|
|
1119
1156
|
|
|
@@ -1153,9 +1190,13 @@ export declare interface ContentEditorFormFieldExtensionProps<T = any> {
|
|
|
1153
1190
|
*/
|
|
1154
1191
|
fieldDefinition: ItemFieldDefinition;
|
|
1155
1192
|
/**
|
|
1156
|
-
* Boolean to indicate
|
|
1193
|
+
* Boolean to indicate whether the field should be rendered in read only mode
|
|
1157
1194
|
*/
|
|
1158
1195
|
isReadOnly: boolean;
|
|
1196
|
+
/**
|
|
1197
|
+
* Boolean to indicate whether the field should be rendered in a disabled state
|
|
1198
|
+
*/
|
|
1199
|
+
isDisabled: boolean;
|
|
1159
1200
|
/**
|
|
1160
1201
|
* Set field value function
|
|
1161
1202
|
*/
|
|
@@ -1174,6 +1215,10 @@ export declare interface ContentEditorFormFieldHookProps {
|
|
|
1174
1215
|
* Indicates whether the field is rendered in read only mode or not
|
|
1175
1216
|
*/
|
|
1176
1217
|
isReadOnly: boolean;
|
|
1218
|
+
/**
|
|
1219
|
+
* Indicates whether the field is rendered in disabled mode or not
|
|
1220
|
+
*/
|
|
1221
|
+
isDisabled: boolean;
|
|
1177
1222
|
/**
|
|
1178
1223
|
* Field definition of the form field
|
|
1179
1224
|
*/
|
|
@@ -1188,7 +1233,7 @@ export declare interface ContentEditorFormFieldHookResult {
|
|
|
1188
1233
|
* Priority value of the field in the list of candidates for rendering.
|
|
1189
1234
|
* Extension with a higher priority will be displayed instead of an extension with lower priority.
|
|
1190
1235
|
* Helps to resolve collapsing cases when useIsAvailable returns true for two or more
|
|
1191
|
-
* extensions for a single
|
|
1236
|
+
* extensions for a single field at the same time.
|
|
1192
1237
|
*/
|
|
1193
1238
|
priority?: number;
|
|
1194
1239
|
/**
|
|
@@ -1197,6 +1242,78 @@ export declare interface ContentEditorFormFieldHookResult {
|
|
|
1197
1242
|
isAvailable: boolean;
|
|
1198
1243
|
}
|
|
1199
1244
|
|
|
1245
|
+
/**
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1248
|
+
export declare type ContentEditorViewExtension<TItem = any> = () => ContentEditorViewExtensionConfiguration;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* @public
|
|
1252
|
+
*/
|
|
1253
|
+
export declare interface ContentEditorViewExtensionComponentProps {
|
|
1254
|
+
/**
|
|
1255
|
+
* Item to edit/view
|
|
1256
|
+
*/
|
|
1257
|
+
item: IdentifiableObject;
|
|
1258
|
+
/**
|
|
1259
|
+
* Boolean to indicate whether the editor should be rendered in read-only mode
|
|
1260
|
+
*/
|
|
1261
|
+
isReadonly: boolean;
|
|
1262
|
+
/**
|
|
1263
|
+
* Original editor to render
|
|
1264
|
+
*/
|
|
1265
|
+
renderEditor: ReactNode;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* @public
|
|
1270
|
+
*/
|
|
1271
|
+
export declare interface ContentEditorViewExtensionConfiguration {
|
|
1272
|
+
/**
|
|
1273
|
+
* Extension id
|
|
1274
|
+
*/
|
|
1275
|
+
readonly id: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* Component to render on this path
|
|
1278
|
+
*/
|
|
1279
|
+
readonly component: ComponentType<ContentEditorViewExtensionComponentProps>;
|
|
1280
|
+
/**
|
|
1281
|
+
* Hook which returns information about the current content for the extension
|
|
1282
|
+
*/
|
|
1283
|
+
readonly useContentEditorView: (props: ContentEditorViewHookProps) => ContentEditorViewHookResult;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* @public
|
|
1288
|
+
*/
|
|
1289
|
+
export declare interface ContentEditorViewHookProps {
|
|
1290
|
+
/**
|
|
1291
|
+
* Indicates whether the content is rendered in read-only mode or not
|
|
1292
|
+
*/
|
|
1293
|
+
isReadonly: boolean;
|
|
1294
|
+
/**
|
|
1295
|
+
* Item is being passed to editor
|
|
1296
|
+
*/
|
|
1297
|
+
item: IdentifiableObject;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* @public
|
|
1302
|
+
*/
|
|
1303
|
+
export declare interface ContentEditorViewHookResult {
|
|
1304
|
+
/**
|
|
1305
|
+
* Priority value of the custom editor in the list of candidates for rendering.
|
|
1306
|
+
* Extension with a higher priority will be displayed instead of an extension with lower priority.
|
|
1307
|
+
* Helps to resolve collapsing cases when useIsAvailable returns true for two or more
|
|
1308
|
+
* extensions for a single editor at the same time.
|
|
1309
|
+
*/
|
|
1310
|
+
priority?: number;
|
|
1311
|
+
/**
|
|
1312
|
+
* Defines whether the content extension is available to be displayed or not
|
|
1313
|
+
*/
|
|
1314
|
+
isAvailable: boolean;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1200
1317
|
/**
|
|
1201
1318
|
* @public
|
|
1202
1319
|
*/
|
|
@@ -1208,17 +1325,18 @@ export declare type ContentExplorerActionGroupId = ValuesOfArray<typeof contentE
|
|
|
1208
1325
|
* @public
|
|
1209
1326
|
*/
|
|
1210
1327
|
export declare const contentExplorerActionGroupId: {
|
|
1328
|
+
classification: "classification";
|
|
1211
1329
|
bundle: "bundle";
|
|
1212
1330
|
exporting: "exporting";
|
|
1213
1331
|
refreshing: "refreshing";
|
|
1214
1332
|
workflow: "workflow";
|
|
1333
|
+
blueprinting: "blueprinting";
|
|
1215
1334
|
browsing: "browsing";
|
|
1216
|
-
classification: "classification";
|
|
1217
1335
|
clipboard: "clipboard";
|
|
1218
1336
|
creation: "creation";
|
|
1219
1337
|
deletion: "deletion";
|
|
1220
1338
|
editing: "editing";
|
|
1221
|
-
|
|
1339
|
+
favorites: "favorites";
|
|
1222
1340
|
publishing: "publishing";
|
|
1223
1341
|
translation: "translation";
|
|
1224
1342
|
};
|
|
@@ -1226,7 +1344,7 @@ export declare const contentExplorerActionGroupId: {
|
|
|
1226
1344
|
/**
|
|
1227
1345
|
* @public
|
|
1228
1346
|
*/
|
|
1229
|
-
export declare const contentExplorerActionGroupIds: readonly ["browsing", "bundle", "classification", "clipboard", "creation", "deletion", "editing", "exporting", "
|
|
1347
|
+
export declare const contentExplorerActionGroupIds: readonly ["blueprinting", "browsing", "bundle", "classification", "clipboard", "creation", "deletion", "editing", "exporting", "favorites", "publishing", "refreshing", "translation", "workflow"];
|
|
1230
1348
|
|
|
1231
1349
|
/**
|
|
1232
1350
|
* @public
|
|
@@ -1239,45 +1357,53 @@ export declare type ContentExplorerActionId = ValuesOfArray<typeof contentExplor
|
|
|
1239
1357
|
* @public
|
|
1240
1358
|
*/
|
|
1241
1359
|
export declare const contentExplorerActionId: {
|
|
1360
|
+
cut: "cut";
|
|
1361
|
+
copy: "copy";
|
|
1362
|
+
paste: "paste";
|
|
1363
|
+
promote: "promote";
|
|
1364
|
+
demote: "demote";
|
|
1365
|
+
delete: "delete";
|
|
1366
|
+
localize: "localize";
|
|
1367
|
+
publish: "publish";
|
|
1242
1368
|
export: "export";
|
|
1243
1369
|
refresh: "refresh";
|
|
1244
|
-
|
|
1245
|
-
openEditor: "openEditor";
|
|
1246
|
-
openEditorInNewTab: "openEditorInNewTab";
|
|
1370
|
+
addParentPublication: "addParentPublication";
|
|
1247
1371
|
addSelectedItemsToBundle: "addSelectedItemsToBundle";
|
|
1248
1372
|
addToBundle: "addToBundle";
|
|
1249
|
-
|
|
1373
|
+
addToFavorites: "addToFavorites";
|
|
1250
1374
|
autoClassify: "autoClassify";
|
|
1251
|
-
|
|
1252
|
-
cut: "cut";
|
|
1253
|
-
paste: "paste";
|
|
1375
|
+
finishEditing: "finishEditing";
|
|
1254
1376
|
newBundle: "newBundle";
|
|
1255
1377
|
newCategory: "newCategory";
|
|
1378
|
+
newChildPublication: "newChildPublication";
|
|
1256
1379
|
newComponent: "newComponent";
|
|
1257
1380
|
newFolder: "newFolder";
|
|
1258
1381
|
newKeyword: "newKeyword";
|
|
1259
1382
|
newMultimediaComponent: "newMultimediaComponent";
|
|
1260
1383
|
newPage: "newPage";
|
|
1261
1384
|
newStructureGroup: "newStructureGroup";
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
revert: "revert";
|
|
1266
|
-
localize: "localize";
|
|
1267
|
-
unlocalize: "unlocalize";
|
|
1268
|
-
publish: "publish";
|
|
1269
|
-
unpublish: "unpublish";
|
|
1385
|
+
open: "open";
|
|
1386
|
+
openEditor: "openEditor";
|
|
1387
|
+
openEditorInNewTab: "openEditorInNewTab";
|
|
1270
1388
|
openPublishingQueue: "openPublishingQueue";
|
|
1271
1389
|
openTranslationQueue: "openTranslationQueue";
|
|
1390
|
+
pasteInContainer: "pasteInContainer";
|
|
1391
|
+
removeFromBundle: "removeFromBundle";
|
|
1392
|
+
removeFromFavorites: "removeFromFavorites";
|
|
1393
|
+
removeParentPublication: "removeParentPublication";
|
|
1394
|
+
revert: "revert";
|
|
1395
|
+
startWorkflow: "startWorkflow";
|
|
1272
1396
|
translate: "translate";
|
|
1273
1397
|
translateTarget: "translateTarget";
|
|
1274
|
-
|
|
1398
|
+
unlocalize: "unlocalize";
|
|
1399
|
+
unpublish: "unpublish";
|
|
1400
|
+
uploadMultimediaComponent: "uploadMultimediaComponent";
|
|
1275
1401
|
};
|
|
1276
1402
|
|
|
1277
1403
|
/**
|
|
1278
1404
|
* @public
|
|
1279
1405
|
*/
|
|
1280
|
-
export declare const contentExplorerActionIds: readonly ["
|
|
1406
|
+
export declare const contentExplorerActionIds: readonly ["addParentPublication", "addSelectedItemsToBundle", "addToBundle", "addToFavorites", "autoClassify", "copy", "cut", "delete", "demote", "export", "finishEditing", "localize", "newBundle", "newCategory", "newChildPublication", "newComponent", "newFolder", "newKeyword", "newMultimediaComponent", "newPage", "newStructureGroup", "open", "openEditor", "openEditorInNewTab", "openPublishingQueue", "openTranslationQueue", "paste", "pasteInContainer", "promote", "publish", "refresh", "removeFromBundle", "removeFromFavorites", "removeParentPublication", "revert", "startWorkflow", "translate", "translateTarget", "unlocalize", "unpublish", "uploadMultimediaComponent"];
|
|
1281
1407
|
|
|
1282
1408
|
/**
|
|
1283
1409
|
* @internal
|
|
@@ -1477,6 +1603,38 @@ export declare interface ContentExplorerHooksApiStorage {
|
|
|
1477
1603
|
useOptionalContentExplorerTree: OptionalContentExplorerTreeHook;
|
|
1478
1604
|
}
|
|
1479
1605
|
|
|
1606
|
+
/**
|
|
1607
|
+
* Type represents ID of a built-in panel of the Content Explorer.
|
|
1608
|
+
*
|
|
1609
|
+
* @public
|
|
1610
|
+
*/
|
|
1611
|
+
export declare type ContentExplorerInsightsPanelId = ValuesOfArray<typeof contentExplorerInsightsPanelIds>;
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* All available built-in Content Explorer panel IDs.
|
|
1615
|
+
*
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
export declare const contentExplorerInsightsPanelId: {
|
|
1619
|
+
information: "information";
|
|
1620
|
+
history: "history";
|
|
1621
|
+
search: "search";
|
|
1622
|
+
general: "general";
|
|
1623
|
+
metadata: "metadata";
|
|
1624
|
+
blueprint: "blueprint";
|
|
1625
|
+
"where-used": "where-used";
|
|
1626
|
+
"view-on-site": "view-on-site";
|
|
1627
|
+
"published-to": "published-to";
|
|
1628
|
+
translations: "translations";
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* List of all built-in panel IDs of the Content Explorer.
|
|
1633
|
+
*
|
|
1634
|
+
* @public
|
|
1635
|
+
*/
|
|
1636
|
+
export declare const contentExplorerInsightsPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
1637
|
+
|
|
1480
1638
|
/**
|
|
1481
1639
|
* @public
|
|
1482
1640
|
*/
|
|
@@ -1577,22 +1735,23 @@ export declare interface ContentExplorerNodeData {
|
|
|
1577
1735
|
}
|
|
1578
1736
|
|
|
1579
1737
|
/**
|
|
1580
|
-
*
|
|
1738
|
+
* Backwards compatibility for `ContentExplorerInsightsPanelId`
|
|
1581
1739
|
*
|
|
1582
|
-
* @
|
|
1740
|
+
* @internal
|
|
1583
1741
|
*/
|
|
1584
|
-
export declare type ContentExplorerPanelId =
|
|
1742
|
+
export declare type ContentExplorerPanelId = ContentExplorerInsightsPanelId;
|
|
1585
1743
|
|
|
1586
1744
|
/**
|
|
1587
|
-
*
|
|
1745
|
+
* Backwards compatibility for `contentExplorerInsightsPanelId`
|
|
1588
1746
|
*
|
|
1589
|
-
* @
|
|
1747
|
+
* @internal
|
|
1590
1748
|
*/
|
|
1591
1749
|
export declare const contentExplorerPanelId: {
|
|
1592
1750
|
information: "information";
|
|
1751
|
+
history: "history";
|
|
1752
|
+
search: "search";
|
|
1593
1753
|
general: "general";
|
|
1594
1754
|
metadata: "metadata";
|
|
1595
|
-
history: "history";
|
|
1596
1755
|
blueprint: "blueprint";
|
|
1597
1756
|
"where-used": "where-used";
|
|
1598
1757
|
"view-on-site": "view-on-site";
|
|
@@ -1601,11 +1760,11 @@ export declare const contentExplorerPanelId: {
|
|
|
1601
1760
|
};
|
|
1602
1761
|
|
|
1603
1762
|
/**
|
|
1604
|
-
*
|
|
1763
|
+
* Backwards compatibility for `contentExplorerInsightsPanelIds`
|
|
1605
1764
|
*
|
|
1606
|
-
* @
|
|
1765
|
+
* @internal
|
|
1607
1766
|
*/
|
|
1608
|
-
export declare const contentExplorerPanelIds: readonly ["information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
1767
|
+
export declare const contentExplorerPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
1609
1768
|
|
|
1610
1769
|
/**
|
|
1611
1770
|
* Content Explorer hierarchy node that has list of publications as a children.
|
|
@@ -1904,7 +2063,7 @@ export declare interface DeleteItemRequest {
|
|
|
1904
2063
|
*/
|
|
1905
2064
|
item: IdentifiableObject;
|
|
1906
2065
|
/**
|
|
1907
|
-
*
|
|
2066
|
+
* The container (context) in which the delete action is being performed. If specified, the container is invalidated on success to trigger reloading.
|
|
1908
2067
|
*/
|
|
1909
2068
|
containerItem?: IdentifiableObject;
|
|
1910
2069
|
}
|
|
@@ -1923,11 +2082,39 @@ export declare interface DeleteItemsRequest {
|
|
|
1923
2082
|
*/
|
|
1924
2083
|
items: ReadonlyArray<IdentifiableObject>;
|
|
1925
2084
|
/**
|
|
1926
|
-
* Container item
|
|
2085
|
+
* Container item of the item to delete.
|
|
1927
2086
|
* `containerId` may take 'undefined' value when publications
|
|
1928
2087
|
* which don't have a real container are being deleted.
|
|
1929
2088
|
*/
|
|
1930
|
-
|
|
2089
|
+
containerItem?: IdentifiableObject;
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* @public
|
|
2094
|
+
*/
|
|
2095
|
+
export declare type DemoteItemMutationHook = (options?: MutationOptions<RepositoryLocalObject | void, ApiError, DemoteItemRequest>) => MutationResult<RepositoryLocalObject | void, ApiError, DemoteItemRequest>;
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* @public
|
|
2099
|
+
*/
|
|
2100
|
+
export declare interface DemoteItemRequest {
|
|
2101
|
+
item: RepositoryLocalObject;
|
|
2102
|
+
destinationPublicationId: ItemUri;
|
|
2103
|
+
failureLevel: 'warning' | 'error';
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
/**
|
|
2107
|
+
* @public
|
|
2108
|
+
*/
|
|
2109
|
+
export declare type DemoteItemsMutationHook = (options?: BatchMutationOptions<DemoteItemsRequest>) => MutationResult<Batch, ApiError, DemoteItemsRequest>;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* @public
|
|
2113
|
+
*/
|
|
2114
|
+
export declare interface DemoteItemsRequest {
|
|
2115
|
+
items: ReadonlyArray<RepositoryLocalObject>;
|
|
2116
|
+
destinationPublicationId: ItemUri;
|
|
2117
|
+
failureLevel: 'warning' | 'error';
|
|
1931
2118
|
}
|
|
1932
2119
|
|
|
1933
2120
|
/**
|
|
@@ -1946,7 +2133,7 @@ export declare interface EditorHookResult {
|
|
|
1946
2133
|
/**
|
|
1947
2134
|
* Item's metadata schema.
|
|
1948
2135
|
*/
|
|
1949
|
-
schema: Schema;
|
|
2136
|
+
schema: Schema | undefined;
|
|
1950
2137
|
/**
|
|
1951
2138
|
* Boolean that indicates that Item has unsaved changes.
|
|
1952
2139
|
*/
|
|
@@ -1955,6 +2142,10 @@ export declare interface EditorHookResult {
|
|
|
1955
2142
|
* Boolean that indicates that item can be edited.
|
|
1956
2143
|
*/
|
|
1957
2144
|
isEditing: boolean;
|
|
2145
|
+
/**
|
|
2146
|
+
* Callback to update internal editor state.
|
|
2147
|
+
*/
|
|
2148
|
+
onUpdate: (item: Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup) => void;
|
|
1958
2149
|
}
|
|
1959
2150
|
|
|
1960
2151
|
/**
|
|
@@ -2161,9 +2352,9 @@ export declare interface FinishItemsRequest {
|
|
|
2161
2352
|
*/
|
|
2162
2353
|
items: ReadonlyArray<VersionedItem>;
|
|
2163
2354
|
/**
|
|
2164
|
-
* Container item
|
|
2355
|
+
* Container item of the item to finish.
|
|
2165
2356
|
*/
|
|
2166
|
-
|
|
2357
|
+
containerItem?: IdentifiableObject;
|
|
2167
2358
|
}
|
|
2168
2359
|
|
|
2169
2360
|
/**
|
|
@@ -2248,7 +2439,7 @@ export declare interface FolderEditorHookResult {
|
|
|
2248
2439
|
/**
|
|
2249
2440
|
* Folder's metadata schema.
|
|
2250
2441
|
*/
|
|
2251
|
-
metadataSchema: Schema;
|
|
2442
|
+
metadataSchema: Schema | undefined;
|
|
2252
2443
|
/**
|
|
2253
2444
|
* Boolean that indicates that Folder has unsaved changes.
|
|
2254
2445
|
*/
|
|
@@ -2298,6 +2489,9 @@ export declare interface GeneralComponentsApiStorage {
|
|
|
2298
2489
|
Stack: StackComponent;
|
|
2299
2490
|
Text: TextComponent;
|
|
2300
2491
|
TextLink: TextLinkComponent;
|
|
2492
|
+
ModalContent: ModalContentComponent;
|
|
2493
|
+
ModalHeader: ModalHeaderComponent;
|
|
2494
|
+
ModalFooter: ModalFooterComponent;
|
|
2301
2495
|
}
|
|
2302
2496
|
|
|
2303
2497
|
/**
|
|
@@ -2319,6 +2513,7 @@ export declare interface GeneralHooksApiStorage {
|
|
|
2319
2513
|
useNotifications: NotificationsHook;
|
|
2320
2514
|
useUserProfile: UserProfileHook;
|
|
2321
2515
|
useConfirmation: ConfirmationHook;
|
|
2516
|
+
useModal: ModalHook;
|
|
2322
2517
|
}
|
|
2323
2518
|
|
|
2324
2519
|
/**
|
|
@@ -2332,6 +2527,8 @@ export declare interface GeneralMutationsApiStorage {
|
|
|
2332
2527
|
useCopyItemsMutation: CopyItemsMutationHook;
|
|
2333
2528
|
useDeleteItemMutation: DeleteItemMutationHook;
|
|
2334
2529
|
useDeleteItemsMutation: DeleteItemsMutationHook;
|
|
2530
|
+
useDemoteItemMutation: DemoteItemMutationHook;
|
|
2531
|
+
useDemoteItemsMutation: DemoteItemsMutationHook;
|
|
2335
2532
|
useFinishEditingItemMutation: FinishEditingItemMutationHook;
|
|
2336
2533
|
useFinishEditingItemsMutation: FinishEditingItemsMutationHook;
|
|
2337
2534
|
useLocalizeItemMutation: LocalizeItemMutationHook;
|
|
@@ -2339,6 +2536,8 @@ export declare interface GeneralMutationsApiStorage {
|
|
|
2339
2536
|
useMoveItemMutation: MoveItemMutationHook;
|
|
2340
2537
|
useMoveItemsMutation: MoveItemsMutationHook;
|
|
2341
2538
|
usePublishItemsMutation: PublishItemsMutationHook;
|
|
2539
|
+
usePromoteItemMutation: PromoteItemMutationHook;
|
|
2540
|
+
usePromoteItemsMutation: PromoteItemsMutationHook;
|
|
2342
2541
|
useRevertItemMutation: RevertItemMutationHook;
|
|
2343
2542
|
useRevertItemsMutation: RevertItemsMutationHook;
|
|
2344
2543
|
useRollbackItemMutation: RollbackItemMutationHook;
|
|
@@ -2390,6 +2589,7 @@ export declare interface GeneralQueriesApiStorage {
|
|
|
2390
2589
|
usePublicationBlueprintHierarchyQuery: PublicationBlueprintHierarchyQueryHook;
|
|
2391
2590
|
};
|
|
2392
2591
|
lists: {
|
|
2592
|
+
useContainerItems: ContainerItemsQueryHook;
|
|
2393
2593
|
useFavoritesQuery: FavoritesQueryHook;
|
|
2394
2594
|
useItemsInProgressQuery: ItemsInProgressQueryHook;
|
|
2395
2595
|
usePublicationsQuery: PublicationsQueryHook;
|
|
@@ -2649,6 +2849,10 @@ export declare interface ItemBlueprintHierarchyQueryProps {
|
|
|
2649
2849
|
* Identifies the item for which Blueprint hierarchy is being retrieved.
|
|
2650
2850
|
*/
|
|
2651
2851
|
itemId: ItemUri;
|
|
2852
|
+
/**
|
|
2853
|
+
* Option to control how much data is returned per item.
|
|
2854
|
+
*/
|
|
2855
|
+
detailsLevel?: ListDetailsLevel;
|
|
2652
2856
|
}
|
|
2653
2857
|
|
|
2654
2858
|
/**
|
|
@@ -2715,6 +2919,10 @@ export declare interface ItemDefaultDataQueryProps {
|
|
|
2715
2919
|
* Type of the model to get default data for.
|
|
2716
2920
|
*/
|
|
2717
2921
|
modelType: DefaultModelType;
|
|
2922
|
+
/**
|
|
2923
|
+
* A container ID is required for all types except the following: `Batch`, `Publication`, `PublicationTarget`, `PublishTransaction`, `TargetType`, `MultimediaType`, `WorkflowType`, `User`, `Group`, and `ApprovalStatus`.
|
|
2924
|
+
*/
|
|
2925
|
+
containerId?: ItemUri;
|
|
2718
2926
|
}
|
|
2719
2927
|
|
|
2720
2928
|
/**
|
|
@@ -2885,6 +3093,15 @@ export declare interface ItemUsedByQueryProps {
|
|
|
2885
3093
|
* Identifies the item for which 'Used By' dependencies are being retrieved.
|
|
2886
3094
|
*/
|
|
2887
3095
|
itemId: ItemUri;
|
|
3096
|
+
/**
|
|
3097
|
+
* Set to true to include local copies of the specified item in the response.
|
|
3098
|
+
*/
|
|
3099
|
+
includeLocalCopies?: boolean;
|
|
3100
|
+
/**
|
|
3101
|
+
* To limit the response to items that currently use the specified item,
|
|
3102
|
+
* set this option to `true`.
|
|
3103
|
+
*/
|
|
3104
|
+
onlyLatestVersion?: boolean;
|
|
2888
3105
|
}
|
|
2889
3106
|
|
|
2890
3107
|
/**
|
|
@@ -2900,6 +3117,11 @@ export declare interface ItemUsesQueryProps {
|
|
|
2900
3117
|
* Identifies the item for which 'Uses' dependencies are being retrieved.
|
|
2901
3118
|
*/
|
|
2902
3119
|
itemId: ItemUri;
|
|
3120
|
+
/**
|
|
3121
|
+
* To include the BluePrint parent of a local copy in the response,
|
|
3122
|
+
* set this option to `true`.
|
|
3123
|
+
*/
|
|
3124
|
+
includeBlueprintParentItem?: boolean;
|
|
2903
3125
|
}
|
|
2904
3126
|
|
|
2905
3127
|
/**
|
|
@@ -2920,7 +3142,7 @@ export declare interface KeywordEditorHookResult {
|
|
|
2920
3142
|
/**
|
|
2921
3143
|
* Keyword's metadata schema.
|
|
2922
3144
|
*/
|
|
2923
|
-
metadataSchema: Schema;
|
|
3145
|
+
metadataSchema: Schema | undefined;
|
|
2924
3146
|
/**
|
|
2925
3147
|
* Boolean that indicates that Keyword has unsaved changes.
|
|
2926
3148
|
*/
|
|
@@ -3048,9 +3270,9 @@ export declare interface LocalizeItemsRequest {
|
|
|
3048
3270
|
*/
|
|
3049
3271
|
itemIds: ReadonlyArray<ItemUri>;
|
|
3050
3272
|
/**
|
|
3051
|
-
* Container item
|
|
3273
|
+
* Container item of the item to localize.
|
|
3052
3274
|
*/
|
|
3053
|
-
|
|
3275
|
+
containerItem?: IdentifiableObject;
|
|
3054
3276
|
}
|
|
3055
3277
|
|
|
3056
3278
|
/**
|
|
@@ -3058,6 +3280,169 @@ export declare interface LocalizeItemsRequest {
|
|
|
3058
3280
|
*/
|
|
3059
3281
|
export declare type MainAxisAlignment = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
|
|
3060
3282
|
|
|
3283
|
+
/**
|
|
3284
|
+
* A component to render Content of a Modal
|
|
3285
|
+
*
|
|
3286
|
+
* @public
|
|
3287
|
+
*/
|
|
3288
|
+
export declare const ModalContent: ModalContentComponent;
|
|
3289
|
+
|
|
3290
|
+
/**
|
|
3291
|
+
* @public
|
|
3292
|
+
*/
|
|
3293
|
+
export declare type ModalContentComponent = FunctionComponent<ModalContentComponentProps>;
|
|
3294
|
+
|
|
3295
|
+
/**
|
|
3296
|
+
* @public
|
|
3297
|
+
*/
|
|
3298
|
+
export declare interface ModalContentComponentProps extends FlexProps {
|
|
3299
|
+
/**
|
|
3300
|
+
* Content of the Modal.
|
|
3301
|
+
*/
|
|
3302
|
+
children: ReactNode;
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* @public
|
|
3307
|
+
*/
|
|
3308
|
+
export declare interface ModalContentProps<TResultData> {
|
|
3309
|
+
onConfirm: (result?: TResultData) => void;
|
|
3310
|
+
onCancel: () => void;
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
/**
|
|
3314
|
+
* A component to render Footer of the Modal
|
|
3315
|
+
*
|
|
3316
|
+
* @public
|
|
3317
|
+
*/
|
|
3318
|
+
export declare const ModalFooter: ModalFooterComponent;
|
|
3319
|
+
|
|
3320
|
+
/**
|
|
3321
|
+
* @public
|
|
3322
|
+
*/
|
|
3323
|
+
export declare type ModalFooterComponent = FunctionComponent<ModalFooterComponentProps>;
|
|
3324
|
+
|
|
3325
|
+
/**
|
|
3326
|
+
* @public
|
|
3327
|
+
*/
|
|
3328
|
+
export declare interface ModalFooterComponentProps {
|
|
3329
|
+
/**
|
|
3330
|
+
* Label for the Cancel button of the Modal.
|
|
3331
|
+
*/
|
|
3332
|
+
cancelButtonLabel?: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* Boolean that indicates disabled state of the Cancel button.
|
|
3335
|
+
*/
|
|
3336
|
+
isCancelButtonDisabled?: boolean;
|
|
3337
|
+
/**
|
|
3338
|
+
* Boolean that indicates disabled state of the Ok button.
|
|
3339
|
+
*/
|
|
3340
|
+
isOkButtonDisabled?: boolean;
|
|
3341
|
+
/**
|
|
3342
|
+
* Label for the Ok button of the Modal.
|
|
3343
|
+
*/
|
|
3344
|
+
okButtonLabel?: string;
|
|
3345
|
+
/**
|
|
3346
|
+
* Callback executed when Ok button clicked.
|
|
3347
|
+
*/
|
|
3348
|
+
onOk?: () => void;
|
|
3349
|
+
/**
|
|
3350
|
+
* Callback executed when Cancel button clicked.
|
|
3351
|
+
*/
|
|
3352
|
+
onCancel?: () => void;
|
|
3353
|
+
}
|
|
3354
|
+
|
|
3355
|
+
/**
|
|
3356
|
+
* A component to render Header of the Modal
|
|
3357
|
+
*
|
|
3358
|
+
* @public
|
|
3359
|
+
*/
|
|
3360
|
+
export declare const ModalHeader: ModalHeaderComponent;
|
|
3361
|
+
|
|
3362
|
+
/**
|
|
3363
|
+
* @public
|
|
3364
|
+
*/
|
|
3365
|
+
export declare type ModalHeaderComponent = FunctionComponent<ModalHeaderComponentProps>;
|
|
3366
|
+
|
|
3367
|
+
/**
|
|
3368
|
+
* @public
|
|
3369
|
+
*/
|
|
3370
|
+
export declare interface ModalHeaderComponentProps {
|
|
3371
|
+
/**
|
|
3372
|
+
* React node that is rendered as a title of the Modal component, includes expand and close buttons by default.
|
|
3373
|
+
*/
|
|
3374
|
+
title?: ReactNode;
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
/**
|
|
3378
|
+
* @public
|
|
3379
|
+
*/
|
|
3380
|
+
export declare type ModalHook<TResultData = unknown> = (args: ModalHookArguments) => ModalHookResult<TResultData>;
|
|
3381
|
+
|
|
3382
|
+
/**
|
|
3383
|
+
* @public
|
|
3384
|
+
*/
|
|
3385
|
+
export declare interface ModalHookArguments<TResultData = unknown> {
|
|
3386
|
+
content: ComponentType<ModalContentProps<TResultData>>;
|
|
3387
|
+
height?: number;
|
|
3388
|
+
isMaximizable?: boolean;
|
|
3389
|
+
minHeight?: number;
|
|
3390
|
+
minWidth?: number;
|
|
3391
|
+
width?: number;
|
|
3392
|
+
modalType?: ModalType;
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
/**
|
|
3396
|
+
* @public
|
|
3397
|
+
*/
|
|
3398
|
+
export declare interface ModalHookResult<TResultData> {
|
|
3399
|
+
open: () => Promise<ModalResult<TResultData>>;
|
|
3400
|
+
}
|
|
3401
|
+
|
|
3402
|
+
/**
|
|
3403
|
+
* @public
|
|
3404
|
+
*/
|
|
3405
|
+
export declare interface ModalResult<TResultData> {
|
|
3406
|
+
status: ModalStatus;
|
|
3407
|
+
result: TResultData | undefined;
|
|
3408
|
+
}
|
|
3409
|
+
|
|
3410
|
+
/**
|
|
3411
|
+
* @public
|
|
3412
|
+
*/
|
|
3413
|
+
export declare type ModalStatus = ValuesOfArray<typeof modalStatuses>;
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* @public
|
|
3417
|
+
*/
|
|
3418
|
+
export declare const modalStatus: {
|
|
3419
|
+
ok: "ok";
|
|
3420
|
+
cancel: "cancel";
|
|
3421
|
+
};
|
|
3422
|
+
|
|
3423
|
+
/**
|
|
3424
|
+
* @public
|
|
3425
|
+
*/
|
|
3426
|
+
export declare const modalStatuses: readonly ["ok", "cancel"];
|
|
3427
|
+
|
|
3428
|
+
/**
|
|
3429
|
+
* @public
|
|
3430
|
+
*/
|
|
3431
|
+
export declare type ModalType = ValuesOfArray<typeof modalTypes>;
|
|
3432
|
+
|
|
3433
|
+
/**
|
|
3434
|
+
* @public
|
|
3435
|
+
*/
|
|
3436
|
+
export declare const modalType: {
|
|
3437
|
+
default: "default";
|
|
3438
|
+
danger: "danger";
|
|
3439
|
+
};
|
|
3440
|
+
|
|
3441
|
+
/**
|
|
3442
|
+
* @public
|
|
3443
|
+
*/
|
|
3444
|
+
export declare const modalTypes: readonly ["default", "danger"];
|
|
3445
|
+
|
|
3061
3446
|
/**
|
|
3062
3447
|
* @public
|
|
3063
3448
|
*/
|
|
@@ -3202,7 +3587,7 @@ export declare interface MutationResult<TData = unknown, TError = unknown, TVari
|
|
|
3202
3587
|
/**
|
|
3203
3588
|
* Is `true` when status is `loading`.
|
|
3204
3589
|
*/
|
|
3205
|
-
|
|
3590
|
+
isPending: boolean;
|
|
3206
3591
|
/**
|
|
3207
3592
|
* Is `true` when status is `success`.
|
|
3208
3593
|
*/
|
|
@@ -3240,7 +3625,7 @@ export declare interface MutationResult<TData = unknown, TError = unknown, TVari
|
|
|
3240
3625
|
*
|
|
3241
3626
|
* @public
|
|
3242
3627
|
*/
|
|
3243
|
-
export declare type MutationStatus = 'idle' | '
|
|
3628
|
+
export declare type MutationStatus = 'idle' | 'pending' | 'success' | 'error';
|
|
3244
3629
|
|
|
3245
3630
|
/**
|
|
3246
3631
|
* @public
|
|
@@ -3345,12 +3730,13 @@ export declare const navigationItemId: {
|
|
|
3345
3730
|
activitiesExplorer: "activitiesExplorer";
|
|
3346
3731
|
contentExplorer: "contentExplorer";
|
|
3347
3732
|
publishingQueueExplorer: "publishingQueueExplorer";
|
|
3733
|
+
translationsExplorer: "translationsExplorer";
|
|
3348
3734
|
};
|
|
3349
3735
|
|
|
3350
3736
|
/**
|
|
3351
3737
|
* @public
|
|
3352
3738
|
*/
|
|
3353
|
-
export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer"];
|
|
3739
|
+
export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer", "translationsExplorer"];
|
|
3354
3740
|
|
|
3355
3741
|
/**
|
|
3356
3742
|
* @public
|
|
@@ -3362,6 +3748,11 @@ export declare interface NavigationItemRenderLabel {
|
|
|
3362
3748
|
readonly label: string;
|
|
3363
3749
|
}
|
|
3364
3750
|
|
|
3751
|
+
/**
|
|
3752
|
+
* @public
|
|
3753
|
+
*/
|
|
3754
|
+
export declare type NonFunctionGuard<T> = T extends Function ? never : T;
|
|
3755
|
+
|
|
3365
3756
|
/**
|
|
3366
3757
|
* @public
|
|
3367
3758
|
*/
|
|
@@ -3691,12 +4082,43 @@ declare const palette: {
|
|
|
3691
4082
|
magenta50: string;
|
|
3692
4083
|
magenta100: string;
|
|
3693
4084
|
magenta120: string;
|
|
4085
|
+
yellow10: string;
|
|
3694
4086
|
yellow50: string;
|
|
3695
4087
|
yellow100: string;
|
|
3696
4088
|
yellow120: string;
|
|
3697
4089
|
yellow140: string;
|
|
3698
4090
|
};
|
|
3699
4091
|
|
|
4092
|
+
/**
|
|
4093
|
+
* @public
|
|
4094
|
+
*/
|
|
4095
|
+
export declare type PromoteItemMutationHook = (options?: MutationOptions<RepositoryLocalObject | void, ApiError, PromoteItemRequest>) => MutationResult<RepositoryLocalObject | void, ApiError, PromoteItemRequest>;
|
|
4096
|
+
|
|
4097
|
+
/**
|
|
4098
|
+
* @public
|
|
4099
|
+
*/
|
|
4100
|
+
export declare interface PromoteItemRequest {
|
|
4101
|
+
item: RepositoryLocalObject;
|
|
4102
|
+
destinationPublicationId: ItemUri;
|
|
4103
|
+
failureLevel: 'warning' | 'error';
|
|
4104
|
+
includeDependencies?: boolean;
|
|
4105
|
+
}
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* @public
|
|
4109
|
+
*/
|
|
4110
|
+
export declare type PromoteItemsMutationHook = (options?: BatchMutationOptions<PromoteItemsRequest>) => MutationResult<Batch, ApiError, PromoteItemsRequest>;
|
|
4111
|
+
|
|
4112
|
+
/**
|
|
4113
|
+
* @public
|
|
4114
|
+
*/
|
|
4115
|
+
export declare interface PromoteItemsRequest {
|
|
4116
|
+
items: ReadonlyArray<RepositoryLocalObject>;
|
|
4117
|
+
destinationPublicationId: ItemUri;
|
|
4118
|
+
failureLevel: 'warning' | 'error';
|
|
4119
|
+
includeDependencies?: boolean;
|
|
4120
|
+
}
|
|
4121
|
+
|
|
3700
4122
|
/**
|
|
3701
4123
|
* @public
|
|
3702
4124
|
*/
|
|
@@ -3769,6 +4191,10 @@ export declare interface PublicationBlueprintHierarchyQueryProps {
|
|
|
3769
4191
|
* Identifies the item for which Blueprint hierarchy is being retrieved.
|
|
3770
4192
|
*/
|
|
3771
4193
|
publicationId: ItemUri;
|
|
4194
|
+
/**
|
|
4195
|
+
* Option to control how much data is returned per item.
|
|
4196
|
+
*/
|
|
4197
|
+
detailsLevel?: ListDetailsLevel;
|
|
3772
4198
|
}
|
|
3773
4199
|
|
|
3774
4200
|
/**
|
|
@@ -3824,9 +4250,9 @@ export declare type PublishingQueueExplorerActionId = ValuesOfArray<typeof publi
|
|
|
3824
4250
|
* @public
|
|
3825
4251
|
*/
|
|
3826
4252
|
export declare const publishingQueueExplorerActionId: {
|
|
4253
|
+
delete: "delete";
|
|
3827
4254
|
export: "export";
|
|
3828
4255
|
refresh: "refresh";
|
|
3829
|
-
delete: "delete";
|
|
3830
4256
|
redo: "redo";
|
|
3831
4257
|
};
|
|
3832
4258
|
|
|
@@ -3989,18 +4415,18 @@ export declare const publishingQueueExplorerPanelIds: readonly ["information", "
|
|
|
3989
4415
|
/**
|
|
3990
4416
|
* @public
|
|
3991
4417
|
*/
|
|
3992
|
-
export declare type PublishingQueueExplorerTableColumnExtension = TableColumnExtension<PublishTransaction
|
|
4418
|
+
export declare type PublishingQueueExplorerTableColumnExtension = TableColumnExtension<PublishTransaction<PublishTransactionListInfo>>;
|
|
3993
4419
|
|
|
3994
4420
|
/**
|
|
3995
4421
|
* @public
|
|
3996
4422
|
*/
|
|
3997
|
-
export declare interface PublishingQueueExplorerTableColumnExtensionComponentProps extends TableColumnExtensionComponentProps<PublishTransaction
|
|
4423
|
+
export declare interface PublishingQueueExplorerTableColumnExtensionComponentProps extends TableColumnExtensionComponentProps<PublishTransaction<PublishTransactionListInfo>> {
|
|
3998
4424
|
}
|
|
3999
4425
|
|
|
4000
4426
|
/**
|
|
4001
4427
|
* @public
|
|
4002
4428
|
*/
|
|
4003
|
-
export declare interface PublishingQueueExplorerTableColumnExtensionConfiguration extends TableColumnExtensionConfiguration<PublishTransaction
|
|
4429
|
+
export declare interface PublishingQueueExplorerTableColumnExtensionConfiguration extends TableColumnExtensionConfiguration<PublishTransaction<PublishTransactionListInfo>> {
|
|
4004
4430
|
}
|
|
4005
4431
|
|
|
4006
4432
|
/**
|
|
@@ -4071,7 +4497,7 @@ export declare interface PublishingQueueExplorerTableHookResult {
|
|
|
4071
4497
|
*/
|
|
4072
4498
|
export declare interface PublishingQueueExplorerTableSelection {
|
|
4073
4499
|
ids: ReadonlySet<ItemUri>;
|
|
4074
|
-
selectedItems: ReadonlyArray<PublishTransaction
|
|
4500
|
+
selectedItems: ReadonlyArray<PublishTransaction<PublishTransactionListInfo>>;
|
|
4075
4501
|
}
|
|
4076
4502
|
|
|
4077
4503
|
/**
|
|
@@ -4138,7 +4564,7 @@ export declare interface PublishItemsRequest {
|
|
|
4138
4564
|
/**
|
|
4139
4565
|
* @public
|
|
4140
4566
|
*/
|
|
4141
|
-
export declare type PublishTransactionsQueryHook = (props: PublishTransactionsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishTransaction
|
|
4567
|
+
export declare type PublishTransactionsQueryHook = <TListInfo extends ListInfoDictionary>(props: PublishTransactionsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishTransaction<TListInfo>> | undefined, ApiError>) => QueryResult<ReadonlyArray<PublishTransaction<TListInfo>> | undefined, ApiError>;
|
|
4142
4568
|
|
|
4143
4569
|
/**
|
|
4144
4570
|
* @public
|
|
@@ -4237,27 +4663,10 @@ export declare interface QueryOptions<TQueryFnData = unknown, TError = unknown,
|
|
|
4237
4663
|
* Defaults to `true`.
|
|
4238
4664
|
*/
|
|
4239
4665
|
retryOnMount?: boolean;
|
|
4240
|
-
/**
|
|
4241
|
-
* This callback will fire any time the query successfully fetches new data.
|
|
4242
|
-
*/
|
|
4243
|
-
onSuccess?: (data: TData) => void;
|
|
4244
|
-
/**
|
|
4245
|
-
* This callback will fire if the query encounters an error and will be passed the error.
|
|
4246
|
-
*/
|
|
4247
|
-
onError?: (err: TError) => void;
|
|
4248
|
-
/**
|
|
4249
|
-
* This callback will fire any time the query is either successfully fetched or errors and be passed either the data or error.
|
|
4250
|
-
*/
|
|
4251
|
-
onSettled?: (data: TData | undefined, error: TError | null) => void;
|
|
4252
|
-
/**
|
|
4253
|
-
* Set this to `true` to keep the previous `data` when fetching based on a new query key.
|
|
4254
|
-
* Defaults to `false`.
|
|
4255
|
-
*/
|
|
4256
|
-
keepPreviousData?: boolean;
|
|
4257
4666
|
/**
|
|
4258
4667
|
* If set, this value will be used as the placeholder data for this particular query observer while the query is still in the `loading` data and no initialData has been provided.
|
|
4259
4668
|
*/
|
|
4260
|
-
placeholderData?: TQueryFnData | (() => TQueryFnData | undefined);
|
|
4669
|
+
placeholderData?: NonFunctionGuard<TQueryFnData> | ((previousData: TData | undefined) => NonFunctionGuard<TQueryFnData> | undefined);
|
|
4261
4670
|
}
|
|
4262
4671
|
|
|
4263
4672
|
/**
|
|
@@ -4301,21 +4710,14 @@ export declare interface QueryResult<TData = unknown, TError = unknown> {
|
|
|
4301
4710
|
*/
|
|
4302
4711
|
isFetchedAfterMount: boolean;
|
|
4303
4712
|
isFetching: boolean;
|
|
4713
|
+
isPending: boolean;
|
|
4304
4714
|
isLoading: boolean;
|
|
4305
4715
|
isLoadingError: boolean;
|
|
4306
|
-
/**
|
|
4307
|
-
* Is true whenever the first fetch for a query is in-flight.
|
|
4308
|
-
*/
|
|
4309
|
-
isInitialLoading: boolean;
|
|
4310
4716
|
isPaused: boolean;
|
|
4311
4717
|
/**
|
|
4312
4718
|
* Will be `true` if the data shown is the placeholder data.
|
|
4313
4719
|
*/
|
|
4314
4720
|
isPlaceholderData: boolean;
|
|
4315
|
-
/**
|
|
4316
|
-
* Will be true when `keepPreviousData` is set and data from the previous query is returned.
|
|
4317
|
-
*/
|
|
4318
|
-
isPreviousData: boolean;
|
|
4319
4721
|
/**
|
|
4320
4722
|
* Will be `true` if the query failed while fetching for the first time.
|
|
4321
4723
|
*/
|
|
@@ -4349,7 +4751,7 @@ export declare interface QueryResult<TData = unknown, TError = unknown> {
|
|
|
4349
4751
|
/**
|
|
4350
4752
|
* @public
|
|
4351
4753
|
*/
|
|
4352
|
-
export declare type QueryStatus = '
|
|
4754
|
+
export declare type QueryStatus = 'pending' | 'error' | 'success';
|
|
4353
4755
|
|
|
4354
4756
|
declare interface ReadonlyHierarchy<TData> {
|
|
4355
4757
|
root: ReadonlyHierarchyNode<TData> | undefined;
|
|
@@ -4471,9 +4873,9 @@ export declare interface RevertItemsRequest {
|
|
|
4471
4873
|
*/
|
|
4472
4874
|
itemIds: ReadonlyArray<ItemUri>;
|
|
4473
4875
|
/**
|
|
4474
|
-
* Container item
|
|
4876
|
+
* Container item of the item to revert.
|
|
4475
4877
|
*/
|
|
4476
|
-
|
|
4878
|
+
containerItem?: IdentifiableObject;
|
|
4477
4879
|
}
|
|
4478
4880
|
|
|
4479
4881
|
/**
|
|
@@ -4521,10 +4923,14 @@ export declare interface RichTextFieldHookProps {
|
|
|
4521
4923
|
* Indicates whether the field is rendered in read only mode or not
|
|
4522
4924
|
*/
|
|
4523
4925
|
isReadOnly: boolean;
|
|
4926
|
+
/**
|
|
4927
|
+
* Indicates whether the field is editable or not
|
|
4928
|
+
*/
|
|
4929
|
+
isDisabled: boolean;
|
|
4524
4930
|
/**
|
|
4525
4931
|
* Field definition of the form field
|
|
4526
4932
|
*/
|
|
4527
|
-
fieldDefinition:
|
|
4933
|
+
fieldDefinition: XhtmlFieldDefinition;
|
|
4528
4934
|
}
|
|
4529
4935
|
|
|
4530
4936
|
/**
|
|
@@ -4863,7 +5269,7 @@ export declare interface StructureGroupEditorHookResult {
|
|
|
4863
5269
|
/**
|
|
4864
5270
|
* Structure Group's metadata schema.
|
|
4865
5271
|
*/
|
|
4866
|
-
metadataSchema: Schema;
|
|
5272
|
+
metadataSchema: Schema | undefined;
|
|
4867
5273
|
/**
|
|
4868
5274
|
* Boolean that indicates that Structure Group has unsaved changes.
|
|
4869
5275
|
*/
|
|
@@ -5235,9 +5641,9 @@ export declare interface UnlocalizeItemsRequest {
|
|
|
5235
5641
|
*/
|
|
5236
5642
|
itemIds: ReadonlyArray<ItemUri>;
|
|
5237
5643
|
/**
|
|
5238
|
-
* Container item
|
|
5644
|
+
* Container item of the item to unlocalize.
|
|
5239
5645
|
*/
|
|
5240
|
-
|
|
5646
|
+
containerItem?: IdentifiableObject;
|
|
5241
5647
|
}
|
|
5242
5648
|
|
|
5243
5649
|
/**
|
|
@@ -5418,6 +5824,11 @@ export declare const useChangeUserLocaleMutation: ChangeUserLocaleMutationHook;
|
|
|
5418
5824
|
*/
|
|
5419
5825
|
export declare const useConfirmation: ConfirmationHook;
|
|
5420
5826
|
|
|
5827
|
+
/**
|
|
5828
|
+
* @public
|
|
5829
|
+
*/
|
|
5830
|
+
export declare const useContainerItems: ContainerItemsQueryHook;
|
|
5831
|
+
|
|
5421
5832
|
/**
|
|
5422
5833
|
* Hook for accessing Content Explorer data and methods.
|
|
5423
5834
|
*
|
|
@@ -5486,6 +5897,20 @@ export declare const useDeleteItemMutation: DeleteItemMutationHook;
|
|
|
5486
5897
|
*/
|
|
5487
5898
|
export declare const useDeleteItemsMutation: DeleteItemsMutationHook;
|
|
5488
5899
|
|
|
5900
|
+
/**
|
|
5901
|
+
* Updates an item by URI.
|
|
5902
|
+
*
|
|
5903
|
+
* @public
|
|
5904
|
+
*/
|
|
5905
|
+
export declare const useDemoteItemMutation: DemoteItemMutationHook;
|
|
5906
|
+
|
|
5907
|
+
/**
|
|
5908
|
+
* Updates an item by URI.
|
|
5909
|
+
*
|
|
5910
|
+
* @public
|
|
5911
|
+
*/
|
|
5912
|
+
export declare const useDemoteItemsMutation: DemoteItemsMutationHook;
|
|
5913
|
+
|
|
5489
5914
|
/**
|
|
5490
5915
|
* Provides access to Item Editor data and methods.
|
|
5491
5916
|
*
|
|
@@ -5648,6 +6073,13 @@ export declare const useLocalizeItemMutation: LocalizeItemMutationHook;
|
|
|
5648
6073
|
*/
|
|
5649
6074
|
export declare const useLocalizeItemsMutation: LocalizeItemsMutationHook;
|
|
5650
6075
|
|
|
6076
|
+
/**
|
|
6077
|
+
* Opens a Modal based on the provided options.
|
|
6078
|
+
*
|
|
6079
|
+
* @public
|
|
6080
|
+
*/
|
|
6081
|
+
export declare const useModal: <TResultData>(args: ModalHookArguments) => ModalHookResult<TResultData>;
|
|
6082
|
+
|
|
5651
6083
|
/**
|
|
5652
6084
|
* Moves a single item from its current location to the specified destination.
|
|
5653
6085
|
*
|
|
@@ -5945,7 +6377,7 @@ export declare interface UserProfileHookResult {
|
|
|
5945
6377
|
/**
|
|
5946
6378
|
* `UserProfile` instance of the logged-in Tridion user.
|
|
5947
6379
|
*/
|
|
5948
|
-
userProfile: UserProfile;
|
|
6380
|
+
userProfile: UserProfile | undefined;
|
|
5949
6381
|
}
|
|
5950
6382
|
|
|
5951
6383
|
/**
|