@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.
- package/CHANGELOG.md +86 -24
- package/dist/index.d.ts +7 -5
- package/dist/index.js +6 -9
- package/package.json +26 -27
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +0 -63
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +0 -41
- package/dist/dts/api/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/api/contentExplorer/components/index.d.ts +0 -2
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +0 -29
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +0 -21
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +0 -102
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +0 -3
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +0 -123
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +0 -39
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +0 -27
- package/dist/dts/api/contentExplorer/index.d.ts +0 -4
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +0 -80
- package/dist/dts/api/contentExplorer/utils/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +0 -32
- package/dist/dts/api/editors/category/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +0 -28
- package/dist/dts/api/editors/component/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +0 -32
- package/dist/dts/api/editors/folder/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +0 -32
- package/dist/dts/api/editors/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/hooks/useEditor.d.ts +0 -40
- package/dist/dts/api/editors/index.d.ts +0 -8
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +0 -32
- package/dist/dts/api/editors/page/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +0 -40
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +0 -32
- package/dist/dts/api/general/components/button.d.ts +0 -33
- package/dist/dts/api/general/components/icon.d.ts +0 -19
- package/dist/dts/api/general/components/index.d.ts +0 -7
- package/dist/dts/api/general/components/layout/block.d.ts +0 -55
- package/dist/dts/api/general/components/layout/center.d.ts +0 -12
- package/dist/dts/api/general/components/layout/flex.d.ts +0 -50
- package/dist/dts/api/general/components/layout/index.d.ts +0 -4
- package/dist/dts/api/general/components/layout/stack.d.ts +0 -39
- package/dist/dts/api/general/components/link.d.ts +0 -29
- package/dist/dts/api/general/components/modal.d.ts +0 -61
- package/dist/dts/api/general/components/text.d.ts +0 -82
- package/dist/dts/api/general/components/textLink.d.ts +0 -16
- package/dist/dts/api/general/globals/borderRadius.d.ts +0 -15
- package/dist/dts/api/general/globals/color.d.ts +0 -41
- package/dist/dts/api/general/globals/index.d.ts +0 -6
- package/dist/dts/api/general/globals/opacity.d.ts +0 -16
- package/dist/dts/api/general/globals/spacing.d.ts +0 -19
- package/dist/dts/api/general/globals/transitionDuration.d.ts +0 -14
- package/dist/dts/api/general/globals/zIndex.d.ts +0 -18
- package/dist/dts/api/general/hooks/index.d.ts +0 -4
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +0 -40
- package/dist/dts/api/general/hooks/useModal.d.ts +0 -68
- package/dist/dts/api/general/hooks/useNotifications.d.ts +0 -46
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +0 -14
- package/dist/dts/api/general/index.d.ts +0 -6
- package/dist/dts/api/general/mixins/accessibility.d.ts +0 -50
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +0 -10
- package/dist/dts/api/general/mixins/clickable.d.ts +0 -7
- package/dist/dts/api/general/mixins/color.d.ts +0 -10
- package/dist/dts/api/general/mixins/customIcon.d.ts +0 -10
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +0 -13
- package/dist/dts/api/general/mixins/index.d.ts +0 -10
- package/dist/dts/api/general/mixins/opacity.d.ts +0 -11
- package/dist/dts/api/general/mixins/sizing.d.ts +0 -35
- package/dist/dts/api/general/mixins/spacing.d.ts +0 -16
- package/dist/dts/api/general/mixins/tooltip.d.ts +0 -9
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +0 -6
- package/dist/dts/api/general/mutations/index.d.ts +0 -10
- package/dist/dts/api/general/mutations/item/index.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +0 -22
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +0 -62
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +0 -29
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +0 -21
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +0 -46
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +0 -38
- package/dist/dts/api/general/mutations/mutationResult.d.ts +0 -73
- package/dist/dts/api/general/mutations/translation/index.d.ts +0 -1
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +0 -31
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +0 -52
- package/dist/dts/api/general/mutations/workflow/index.d.ts +0 -9
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +0 -39
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +0 -16
- package/dist/dts/api/general/queries/index.d.ts +0 -10
- package/dist/dts/api/general/queries/item/index.d.ts +0 -14
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +0 -21
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +0 -28
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/lists/index.d.ts +0 -6
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +0 -32
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +0 -38
- package/dist/dts/api/general/queries/loadingState.d.ts +0 -10
- package/dist/dts/api/general/queries/publishing/index.d.ts +0 -5
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +0 -40
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/queryOptions.d.ts +0 -67
- package/dist/dts/api/general/queries/queryResult.d.ts +0 -93
- package/dist/dts/api/general/queries/search/index.d.ts +0 -2
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +0 -27
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/translation/index.d.ts +0 -1
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +0 -17
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/workflow/index.d.ts +0 -1
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +0 -37
- package/dist/dts/api/index.d.ts +0 -5
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +0 -62
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +0 -41
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +0 -32
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +0 -28
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/index.d.ts +0 -8
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +0 -22
- package/dist/dts/apiBridge/generalApiStorage.d.ts +0 -144
- package/dist/dts/apiBridge/index.d.ts +0 -6
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +0 -5
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +0 -58
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +0 -3
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +0 -73
- package/dist/dts/apiWrappers/editors/hooks.d.ts +0 -63
- package/dist/dts/apiWrappers/editors/index.d.ts +0 -1
- package/dist/dts/apiWrappers/general/components.d.ts +0 -88
- package/dist/dts/apiWrappers/general/globals.d.ts +0 -37
- package/dist/dts/apiWrappers/general/hooks.d.ts +0 -25
- package/dist/dts/apiWrappers/general/index.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +0 -30
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +0 -4
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +0 -137
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +0 -47
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/index.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +0 -85
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +0 -25
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +0 -19
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +0 -13
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/index.d.ts +0 -5
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +0 -43
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +0 -20
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +0 -10
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +0 -70
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +0 -4
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +0 -40
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +0 -41
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +0 -15
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +0 -85
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +0 -69
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +0 -5
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +0 -2
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +0 -64
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +0 -11
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +0 -86
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +0 -30
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +0 -6
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +0 -2
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +0 -37
- package/dist/dts/extensionPoints/extensionPoints.d.ts +0 -17
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/header/index.d.ts +0 -3
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +0 -4
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +0 -65
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +0 -20
- package/dist/dts/extensionPoints/index.d.ts +0 -12
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +0 -1
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +0 -39
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +0 -3
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +0 -5
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +0 -14
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +0 -1
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +0 -70
- package/dist/dts/extensionPoints/translations/index.d.ts +0 -3
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +0 -17
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +0 -23
- package/dist/dts/frameworkInfo.d.ts +0 -7
- package/dist/dts/index.d.ts +0 -6
- package/dist/dts/module/createExtensionGlobals.d.ts +0 -11
- package/dist/dts/module/extensionGlobals.d.ts +0 -7
- package/dist/dts/module/extensionModule.d.ts +0 -11
- package/dist/dts/module/index.d.ts +0 -4
- package/dist/dts/module/runtimeInformation.d.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,42 +1,104 @@
|
|
|
1
1
|
# @tridion-sites/extensions
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 4.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 54bfc05: add search panel id, align naming for panel types
|
|
8
|
+
- a26e909: add favorites management actions
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
- @tridion-sites/open-api-client@4.1.0
|
|
14
|
+
- @tridion-sites/models@2.1.0
|
|
15
|
+
|
|
16
|
+
## 3.0.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Fix bug in mapToModel()
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @tridion-sites/models@2.0.1
|
|
23
|
+
|
|
24
|
+
## 3.0.0
|
|
25
|
+
|
|
26
|
+
### Major Changes
|
|
27
|
+
|
|
28
|
+
- f0e6de6: Update TinyMCE to version 7.3.0
|
|
29
|
+
- [BREAKING!] Models: map `Link`s inside content and metadata
|
|
30
|
+
- 458cdf6: [BREAKING!] Make `useEditor().schema` property optional
|
|
31
|
+
- 1de8ac4: react-query@5.0.0 upgrade
|
|
32
|
+
- 4fe96e1: Remove deprecated `containerId` property of mutations
|
|
33
|
+
- 2a39e32: Remove callbacks no longer supported in react-query@5.0.0
|
|
34
|
+
- 23bcf5a: Align API of `useModal()`, `useConfirmation()` and the rest of the hooks
|
|
35
|
+
- e21ab79: `userProfile` returned by `useUserProfile()` can be `undefined`
|
|
36
|
+
- 7cf79a9: OpenAPI v3 update
|
|
37
|
+
|
|
38
|
+
### Minor Changes
|
|
39
|
+
|
|
40
|
+
- f220975: Add `isDisabled` prop to field extensions
|
|
41
|
+
- 083504a: Add `demote` action
|
|
42
|
+
- a273c4e: Add `newChildPublication` action
|
|
43
|
+
- 75944cc: Add `removeParentPublication` action
|
|
44
|
+
- ce528c5: Add `promote` action
|
|
45
|
+
- e733693: Add `pasteInContainer` action
|
|
46
|
+
- fed1499: Add optional `boolean` parameters for filtering the `/uses` and `/usedBy` requests
|
|
47
|
+
- 774d7e3: Add `yellow10` to color palette
|
|
48
|
+
- 458cdf6: Add `onUpdate` callback to `useEditor()` hook
|
|
49
|
+
- 8562ee8: Add `Modal` components and `useModal()` hook
|
|
50
|
+
- c3ba102: Add `primaryItem` to `ItemBlueprintHierarchy`
|
|
51
|
+
- e514a9a: Add new OpenAPI v3 error type `ValidationApiError`
|
|
52
|
+
- 928cab3: Add `useContainerItemsQuery()` query
|
|
53
|
+
- 37b7603: Add `includeLocalCopies` parameter for `/usedBy` list
|
|
54
|
+
- 191f8b8: Add required for some item types parameter of `useItemDefaultDataQuery()`
|
|
55
|
+
- 457e67a: Align `containerItem` api across mutations
|
|
56
|
+
- 1cf9db9: Allow control of a failure trigger for demote mutation
|
|
57
|
+
- 527c39f: Make `fieldDefinition` type more specific for `useRichTextField()` hook
|
|
58
|
+
- 871a645: Update major `styled-components`
|
|
59
|
+
- 051b91a: Extensions: Add custom content editor endpoint `ExtensionBuilder.contentEditor.addItemEditor()`
|
|
60
|
+
- 6ff5e58: Models: add generic `ListInfo` type to `IdentifiableObject`
|
|
4
61
|
|
|
5
62
|
### Patch Changes
|
|
6
63
|
|
|
7
|
-
-
|
|
8
|
-
|
|
64
|
+
- c7a65bc: Models: Update model mapper to fallback to regular component when it can not be distinguished by `ComponentType`
|
|
65
|
+
Update Extensions API to make new option queries available
|
|
66
|
+
- 82f1c93: Add non localizable fields schema sync api support
|
|
67
|
+
- 2532518: Models: Fix default value for `ItemFieldDefinition.isLocalizable`
|
|
68
|
+
- 1b0165e: Update axios to avoid vulnerability
|
|
69
|
+
- b4d732a: Update to @tridion/graphene@2.6.0
|
|
70
|
+
- ee208c1: Update 3rd party dependencies
|
|
9
71
|
|
|
10
72
|
## 2.0.1
|
|
11
73
|
|
|
12
74
|
### Patch Changes
|
|
13
75
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
76
|
+
- Updated dependencies [c78d191530]
|
|
77
|
+
- @tridion-sites/models@1.1.1
|
|
16
78
|
|
|
17
79
|
## 2.0.0
|
|
18
80
|
|
|
19
81
|
### Minor Changes
|
|
20
82
|
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
83
|
+
- 334d76210f: dependency update @tridion/graphene@1.35
|
|
84
|
+
- 9e7f89cdc1: - add query `usePublishTransactionsQuery`;
|
|
85
|
+
- add to `useActivityInstancesQuery` parameters `ownerId` and `assigneeId`;
|
|
86
|
+
- add to `useItemsInProgressQuery` parameter `lockUserId`;
|
|
25
87
|
|
|
26
88
|
### Patch Changes
|
|
27
89
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
90
|
+
- d0875fe171: update dependencies
|
|
91
|
+
- 151fa1d3b2: add InsightsPanel mount point for ActivitiesExplorer
|
|
92
|
+
- a6face574b9: add InsightsPanel mount point for PublishingQueueExplorer
|
|
93
|
+
- cc40577cf7: add InsightsPanel mount point for ContentExplorer
|
|
94
|
+
- Updated dependencies [d398729dce]
|
|
95
|
+
- Updated dependencies [b37272386a]
|
|
96
|
+
- Updated dependencies [d0875fe171]
|
|
97
|
+
- Updated dependencies [151fa1d3b2]
|
|
98
|
+
- Updated dependencies [7ff24d55b8]
|
|
99
|
+
- Updated dependencies [14288f4588]
|
|
100
|
+
- Updated dependencies [c75025f64f]
|
|
101
|
+
- Updated dependencies [334d76210f]
|
|
102
|
+
- Updated dependencies [1b257d330c]
|
|
103
|
+
- @tridion-sites/open-api-client@3.0.0
|
|
104
|
+
- @tridion-sites/models@1.1.0
|
package/dist/index.d.ts
CHANGED
|
@@ -1737,14 +1737,16 @@ export declare interface ContentExplorerNodeData {
|
|
|
1737
1737
|
/**
|
|
1738
1738
|
* Backwards compatibility for `ContentExplorerInsightsPanelId`
|
|
1739
1739
|
*
|
|
1740
|
-
* @
|
|
1740
|
+
* @public
|
|
1741
|
+
* @deprecated use `ContentExplorerInsightsPanelId` instead
|
|
1741
1742
|
*/
|
|
1742
1743
|
export declare type ContentExplorerPanelId = ContentExplorerInsightsPanelId;
|
|
1743
1744
|
|
|
1744
1745
|
/**
|
|
1745
1746
|
* Backwards compatibility for `contentExplorerInsightsPanelId`
|
|
1746
1747
|
*
|
|
1747
|
-
* @
|
|
1748
|
+
* @public
|
|
1749
|
+
* @deprecated use `contentExplorerInsightsPanelId` instead
|
|
1748
1750
|
*/
|
|
1749
1751
|
export declare const contentExplorerPanelId: {
|
|
1750
1752
|
information: "information";
|
|
@@ -1762,7 +1764,8 @@ export declare const contentExplorerPanelId: {
|
|
|
1762
1764
|
/**
|
|
1763
1765
|
* Backwards compatibility for `contentExplorerInsightsPanelIds`
|
|
1764
1766
|
*
|
|
1765
|
-
* @
|
|
1767
|
+
* @public
|
|
1768
|
+
* @deprecated use `contentExplorerInsightsPanelIds` instead
|
|
1766
1769
|
*/
|
|
1767
1770
|
export declare const contentExplorerPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
1768
1771
|
|
|
@@ -3730,13 +3733,12 @@ export declare const navigationItemId: {
|
|
|
3730
3733
|
activitiesExplorer: "activitiesExplorer";
|
|
3731
3734
|
contentExplorer: "contentExplorer";
|
|
3732
3735
|
publishingQueueExplorer: "publishingQueueExplorer";
|
|
3733
|
-
translationsExplorer: "translationsExplorer";
|
|
3734
3736
|
};
|
|
3735
3737
|
|
|
3736
3738
|
/**
|
|
3737
3739
|
* @public
|
|
3738
3740
|
*/
|
|
3739
|
-
export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer"
|
|
3741
|
+
export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer"];
|
|
3740
3742
|
|
|
3741
3743
|
/**
|
|
3742
3744
|
* @public
|
package/dist/index.js
CHANGED
|
@@ -47,13 +47,15 @@ const contentExplorerInsightsPanelId = createEnumObject(contentExplorerInsightsP
|
|
|
47
47
|
/**
|
|
48
48
|
* Backwards compatibility for `contentExplorerInsightsPanelIds`
|
|
49
49
|
*
|
|
50
|
-
* @
|
|
50
|
+
* @public
|
|
51
|
+
* @deprecated use `contentExplorerInsightsPanelIds` instead
|
|
51
52
|
*/
|
|
52
53
|
const contentExplorerPanelIds = contentExplorerInsightsPanelIds;
|
|
53
54
|
/**
|
|
54
55
|
* Backwards compatibility for `contentExplorerInsightsPanelId`
|
|
55
56
|
*
|
|
56
|
-
* @
|
|
57
|
+
* @public
|
|
58
|
+
* @deprecated use `contentExplorerInsightsPanelId` instead
|
|
57
59
|
*/
|
|
58
60
|
const contentExplorerPanelId = contentExplorerInsightsPanelId;
|
|
59
61
|
|
|
@@ -1088,12 +1090,7 @@ class NavigationExtensionsBuilder {
|
|
|
1088
1090
|
/**
|
|
1089
1091
|
* @public
|
|
1090
1092
|
*/
|
|
1091
|
-
const navigationItemIds = [
|
|
1092
|
-
'activitiesExplorer',
|
|
1093
|
-
'contentExplorer',
|
|
1094
|
-
'publishingQueueExplorer',
|
|
1095
|
-
'translationsExplorer',
|
|
1096
|
-
];
|
|
1093
|
+
const navigationItemIds = ['activitiesExplorer', 'contentExplorer', 'publishingQueueExplorer'];
|
|
1097
1094
|
/**
|
|
1098
1095
|
* All available built-in navigation item IDs.
|
|
1099
1096
|
*
|
|
@@ -2598,7 +2595,7 @@ const createExtensionGlobals = () => {
|
|
|
2598
2595
|
};
|
|
2599
2596
|
};
|
|
2600
2597
|
|
|
2601
|
-
const version = "3.0
|
|
2598
|
+
const version = "3.1.0";
|
|
2602
2599
|
const peerDependencies = {
|
|
2603
2600
|
"@tridion-sites/models": "workspace:*",
|
|
2604
2601
|
"@tridion-sites/open-api-client": "workspace:*",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tridion-sites/extensions",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Tridion Sites Extensions API",
|
|
5
5
|
"author": "RWS",
|
|
6
6
|
"homepage": "https://www.rws.com",
|
|
@@ -22,33 +22,32 @@
|
|
|
22
22
|
"prepublish": "yarn build"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@tridion-sites/models": "1.
|
|
26
|
-
"@tridion-sites/open-api-client": "
|
|
27
|
-
"react": "18.
|
|
28
|
-
"react-dom": "18.
|
|
29
|
-
"react-is": "18.
|
|
30
|
-
"styled-components": "
|
|
31
|
-
"tinymce": "
|
|
25
|
+
"@tridion-sites/models": "2.1.0",
|
|
26
|
+
"@tridion-sites/open-api-client": "4.1.0",
|
|
27
|
+
"react": "18.3.1",
|
|
28
|
+
"react-dom": "18.3.1",
|
|
29
|
+
"react-is": "18.3.1",
|
|
30
|
+
"styled-components": "6.1.13",
|
|
31
|
+
"tinymce": "7.3.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@rollup/plugin-commonjs": "25.0.
|
|
35
|
-
"@rollup/plugin-json": "6.
|
|
36
|
-
"@rollup/plugin-node-resolve": "15.
|
|
37
|
-
"@rollup/plugin-typescript": "11.1.
|
|
38
|
-
"@tridion-sites/models": "1.
|
|
39
|
-
"@tridion-sites/open-api-client": "
|
|
40
|
-
"@tridion/graphene": "
|
|
41
|
-
"@types/react": "18.
|
|
42
|
-
"react": "18.
|
|
43
|
-
"react-dom": "18.
|
|
44
|
-
"react-is": "18.
|
|
45
|
-
"rimraf": "5.0.
|
|
46
|
-
"rollup": "3.29.
|
|
47
|
-
"rollup-plugin-delete": "2.
|
|
48
|
-
"rollup-plugin-node-externals": "6.1.
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"typescript": "5.
|
|
52
|
-
"typescript-transform-paths": "3.4.6"
|
|
34
|
+
"@rollup/plugin-commonjs": "25.0.8",
|
|
35
|
+
"@rollup/plugin-json": "6.1.0",
|
|
36
|
+
"@rollup/plugin-node-resolve": "15.3.0",
|
|
37
|
+
"@rollup/plugin-typescript": "11.1.6",
|
|
38
|
+
"@tridion-sites/models": "2.1.0",
|
|
39
|
+
"@tridion-sites/open-api-client": "4.1.0",
|
|
40
|
+
"@tridion/graphene": "3.4.0",
|
|
41
|
+
"@types/react": "18.3.11",
|
|
42
|
+
"react": "18.3.1",
|
|
43
|
+
"react-dom": "18.3.1",
|
|
44
|
+
"react-is": "18.3.1",
|
|
45
|
+
"rimraf": "5.0.10",
|
|
46
|
+
"rollup": "3.29.5",
|
|
47
|
+
"rollup-plugin-delete": "2.1.0",
|
|
48
|
+
"rollup-plugin-node-externals": "6.1.2",
|
|
49
|
+
"tinymce": "7.3.0",
|
|
50
|
+
"typescript": "5.5.2",
|
|
51
|
+
"typescript-transform-paths": "3.5.1"
|
|
53
52
|
}
|
|
54
53
|
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import type { LoadingState } from "../..";
|
|
2
|
-
import type { ValuesOfArray } from '@tridion/graphene';
|
|
3
|
-
import type { ActivityInstance } from '@tridion-sites/models';
|
|
4
|
-
/**
|
|
5
|
-
* List of all built-in panel IDs of the Activities Explorer.
|
|
6
|
-
*
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare const activitiesExplorerPanelIds: readonly ["information", "relatedItems", "processHistory"];
|
|
10
|
-
/**
|
|
11
|
-
* Type represents ID of a built-in panel of the Activities Explorer.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type ActivitiesExplorerPanelId = ValuesOfArray<typeof activitiesExplorerPanelIds>;
|
|
16
|
-
/**
|
|
17
|
-
* All available built-in Activities Explorer panel IDs.
|
|
18
|
-
*
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export declare const activitiesExplorerPanelId: {
|
|
22
|
-
information: "information";
|
|
23
|
-
relatedItems: "relatedItems";
|
|
24
|
-
processHistory: "processHistory";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Data of the Activities Explorer.
|
|
28
|
-
*
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export interface ActivitiesExplorerHookResult {
|
|
32
|
-
/**
|
|
33
|
-
* List of Activity Instances.
|
|
34
|
-
*/
|
|
35
|
-
items: ReadonlyArray<ActivityInstance>;
|
|
36
|
-
/**
|
|
37
|
-
* The loading state of the Activity Instances list.
|
|
38
|
-
*/
|
|
39
|
-
itemsLoadingState: LoadingState;
|
|
40
|
-
/**
|
|
41
|
-
* Currently active ActivityInstance.
|
|
42
|
-
*/
|
|
43
|
-
currentItem: ActivityInstance | undefined;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Hook for accessing Activities Explorer data.
|
|
47
|
-
*
|
|
48
|
-
* @remarks
|
|
49
|
-
* Should be used only inside Activities Explorer, otherwise throws an error.
|
|
50
|
-
*
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
|
-
export type ActivitiesExplorerHook = () => ActivitiesExplorerHookResult;
|
|
54
|
-
/**
|
|
55
|
-
* Hook for accessing Activities Explorer data when available.
|
|
56
|
-
*
|
|
57
|
-
* @remarks
|
|
58
|
-
* Safe to be used within or outside of the Activities Explorer.
|
|
59
|
-
* `undefined` is returned when used outside of Activities Explorer.
|
|
60
|
-
*
|
|
61
|
-
* @public
|
|
62
|
-
*/
|
|
63
|
-
export type OptionalActivitiesExplorerHook = () => ActivitiesExplorerHookResult | undefined;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { ActivityInstance, ItemUri } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface ActivitiesExplorerTableSelection {
|
|
6
|
-
ids: ReadonlySet<ItemUri>;
|
|
7
|
-
selectedItems: ReadonlyArray<ActivityInstance>;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Methods of the Activities Explorer Table.
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
13
|
-
export interface ActivitiesExplorerTableHookResult {
|
|
14
|
-
/**
|
|
15
|
-
* Refetch list of Activity Instances.
|
|
16
|
-
*/
|
|
17
|
-
refresh: () => void;
|
|
18
|
-
/**
|
|
19
|
-
* Current state of selected Activity Instances in the Table.
|
|
20
|
-
*/
|
|
21
|
-
selection: ActivitiesExplorerTableSelection;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Hook for accessing Activities Explorer Table data and methods.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* Should be used only inside Activities Explorer Table, otherwise throws an error.
|
|
28
|
-
*
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export type ActivitiesExplorerTableHook = () => ActivitiesExplorerTableHookResult;
|
|
32
|
-
/**
|
|
33
|
-
* Hook for accessing Activities Explorer Table data and methods when available.
|
|
34
|
-
*
|
|
35
|
-
* @remarks
|
|
36
|
-
* Safe to be used within or outside of the Activities Explorer Table.
|
|
37
|
-
* `undefined` is returned when used outside of the Activities Explorer Table.
|
|
38
|
-
*
|
|
39
|
-
* @public
|
|
40
|
-
*/
|
|
41
|
-
export type OptionalActivitiesExplorerTableHook = () => ActivitiesExplorerTableHookResult | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hooks';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface PropertyItem {
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
value: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export interface PropertiesGridProps {
|
|
13
|
-
/**
|
|
14
|
-
* Data to be rendered inside the grid
|
|
15
|
-
*/
|
|
16
|
-
data: ReadonlyArray<PropertyItem>;
|
|
17
|
-
/**
|
|
18
|
-
* Space in pixels between grid rows
|
|
19
|
-
*/
|
|
20
|
-
rowGap?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Space in pixels between grid columns
|
|
23
|
-
*/
|
|
24
|
-
columnGap?: number;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export type PropertiesGridComponent = FunctionComponent<PropertiesGridProps>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface PropertyRow {
|
|
6
|
-
label: ReactNode;
|
|
7
|
-
value: ReactNode;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export interface PropertiesListProps {
|
|
13
|
-
/**
|
|
14
|
-
* List of properties to be displayed
|
|
15
|
-
*/
|
|
16
|
-
properties: ReadonlyArray<PropertyRow>;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export type PropertiesListComponent = FunctionComponent<PropertiesListProps>;
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import type { IconElementType, ReadonlyHierarchy, ReadonlyHierarchyNode } from '@tridion/graphene';
|
|
2
|
-
import type { IdentifiableObject } from '@tridion-sites/models';
|
|
3
|
-
/**
|
|
4
|
-
* Basic data contained in a Content Explorer hierarchy node.
|
|
5
|
-
*
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export interface ContentExplorerNodeData {
|
|
9
|
-
/**
|
|
10
|
-
* Unique ID of the node.
|
|
11
|
-
*/
|
|
12
|
-
readonly nodeId: string;
|
|
13
|
-
/**
|
|
14
|
-
* Title of the node.
|
|
15
|
-
*/
|
|
16
|
-
readonly title: string;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Node of the Content Explorer hierarchy.
|
|
20
|
-
*
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
export type ContentExplorerNode = ReadonlyHierarchyNode<ContentExplorerNodeData>;
|
|
24
|
-
/**
|
|
25
|
-
* Data contained in a Content Explorer ItemNode.
|
|
26
|
-
*
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export interface ContentExplorerItemNodeData<TItem extends IdentifiableObject = IdentifiableObject> extends ContentExplorerNodeData {
|
|
30
|
-
/**
|
|
31
|
-
* Tridion item associated with the node.
|
|
32
|
-
*/
|
|
33
|
-
readonly item: TItem;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Tridion item node of the Content Explorer hierarchy.
|
|
37
|
-
*
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export type ContentExplorerItemNode<TItem extends IdentifiableObject = IdentifiableObject> = ReadonlyHierarchyNode<ContentExplorerItemNodeData<TItem>>;
|
|
41
|
-
/**
|
|
42
|
-
* Data of Content Explorer structured in a hierarchy form.
|
|
43
|
-
*
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export type ContentExplorerHierarchy = ReadonlyHierarchy<ContentExplorerNodeData>;
|
|
47
|
-
/**
|
|
48
|
-
* Data contained in a Content Explorer SystemNode.
|
|
49
|
-
*
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
export interface ContentExplorerSystemNodeData extends ContentExplorerNodeData {
|
|
53
|
-
/**
|
|
54
|
-
* Icon of the node.
|
|
55
|
-
*/
|
|
56
|
-
readonly icon: IconElementType;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Predefined node of the Content Explorer hierarchy.
|
|
60
|
-
*
|
|
61
|
-
* @public
|
|
62
|
-
*/
|
|
63
|
-
export type ContentExplorerSystemNode = ReadonlyHierarchyNode<ContentExplorerSystemNodeData>;
|
|
64
|
-
/**
|
|
65
|
-
* Data contained in a Content Explorer RootNode.
|
|
66
|
-
*
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export interface ContentExplorerRootNodeData extends ContentExplorerSystemNodeData {
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Root node of Content Explorer hierarchy.
|
|
73
|
-
*
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
export type ContentExplorerRootNode = ReadonlyHierarchyNode<ContentExplorerRootNodeData>;
|
|
77
|
-
/**
|
|
78
|
-
* Data contained in a Content Explorer PublicationsNode.
|
|
79
|
-
*
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
82
|
-
export interface ContentExplorerPublicationsNodeData extends ContentExplorerSystemNodeData {
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Content Explorer hierarchy node that has list of publications as a children.
|
|
86
|
-
*
|
|
87
|
-
* @public
|
|
88
|
-
*/
|
|
89
|
-
export type ContentExplorerPublicationsNode = ReadonlyHierarchyNode<ContentExplorerPublicationsNodeData>;
|
|
90
|
-
/**
|
|
91
|
-
* Data contained in a Content Explorer ItemsInProgressNode.
|
|
92
|
-
*
|
|
93
|
-
* @public
|
|
94
|
-
*/
|
|
95
|
-
export interface ContentExplorerItemsInProgressNodeData extends ContentExplorerSystemNodeData {
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Content Explorer hierarchy node that stores items in progress.
|
|
99
|
-
*
|
|
100
|
-
* @public
|
|
101
|
-
*/
|
|
102
|
-
export type ContentExplorerItemsInProgressNode = ReadonlyHierarchyNode<ContentExplorerItemsInProgressNodeData>;
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { type ValuesOfArray } from '@tridion/graphene';
|
|
2
|
-
import type { IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
3
|
-
import type { ContentExplorerHierarchy, ContentExplorerNode } from '../hierarchy';
|
|
4
|
-
/**
|
|
5
|
-
* List of all built-in panel IDs of the Content Explorer.
|
|
6
|
-
*
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare const contentExplorerInsightsPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
10
|
-
/**
|
|
11
|
-
* Type represents ID of a built-in panel of the Content Explorer.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type ContentExplorerInsightsPanelId = ValuesOfArray<typeof contentExplorerInsightsPanelIds>;
|
|
16
|
-
/**
|
|
17
|
-
* All available built-in Content Explorer panel IDs.
|
|
18
|
-
*
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export declare const contentExplorerInsightsPanelId: {
|
|
22
|
-
information: "information";
|
|
23
|
-
history: "history";
|
|
24
|
-
search: "search";
|
|
25
|
-
general: "general";
|
|
26
|
-
metadata: "metadata";
|
|
27
|
-
blueprint: "blueprint";
|
|
28
|
-
"where-used": "where-used";
|
|
29
|
-
"view-on-site": "view-on-site";
|
|
30
|
-
"published-to": "published-to";
|
|
31
|
-
translations: "translations";
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @public
|
|
35
|
-
*/
|
|
36
|
-
export interface SetTargetContentExplorerProps {
|
|
37
|
-
/**
|
|
38
|
-
* Id of a container node to resolve to.
|
|
39
|
-
*/
|
|
40
|
-
containerNodeId: string;
|
|
41
|
-
/**
|
|
42
|
-
* Item URI of an item to resolve to inside the `containerNodeId`.
|
|
43
|
-
*/
|
|
44
|
-
itemInContainerId: ItemUri | undefined;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
export interface ContentExplorerHierarchyLoadingState {
|
|
50
|
-
loadedNodeIds: ReadonlySet<string>;
|
|
51
|
-
loadingNodeIds: ReadonlySet<string>;
|
|
52
|
-
reloadingNodeIds: ReadonlySet<string>;
|
|
53
|
-
firstTimeLoadingNodeIds: ReadonlySet<string>;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Data and methods of the Content Explorer.
|
|
57
|
-
*
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
export interface ContentExplorerHookResult {
|
|
61
|
-
hierarchy: ContentExplorerHierarchy;
|
|
62
|
-
currentNode: ContentExplorerNode | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Currently active item.
|
|
65
|
-
*/
|
|
66
|
-
currentItem: IdentifiableObject | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* Loading state of nodes of the Content Explorer hierarchy.
|
|
69
|
-
*/
|
|
70
|
-
hierarchyLoadingState: ContentExplorerHierarchyLoadingState;
|
|
71
|
-
/**
|
|
72
|
-
* Method to change current location of the Content Explorer.
|
|
73
|
-
*/
|
|
74
|
-
setTarget: (props: SetTargetContentExplorerProps) => void;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Hook for accessing Content Explorer data and methods.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* Should be used only inside Content Explorer, otherwise throws an error.
|
|
81
|
-
*
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
export type ContentExplorerHook = () => ContentExplorerHookResult;
|
|
85
|
-
/**
|
|
86
|
-
* Hook for accessing Content Explorer data and methods when available.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* Safe to be used within or outside of the Content Explorer.
|
|
90
|
-
* `undefined` is returned when used outside of Content Explorer.
|
|
91
|
-
*
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
export type OptionalContentExplorerHook = () => ContentExplorerHookResult | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Backwards compatibility for `contentExplorerInsightsPanelIds`
|
|
97
|
-
*
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
export declare const contentExplorerPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
101
|
-
/**
|
|
102
|
-
* Backwards compatibility for `contentExplorerInsightsPanelId`
|
|
103
|
-
*
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
export declare const contentExplorerPanelId: {
|
|
107
|
-
information: "information";
|
|
108
|
-
history: "history";
|
|
109
|
-
search: "search";
|
|
110
|
-
general: "general";
|
|
111
|
-
metadata: "metadata";
|
|
112
|
-
blueprint: "blueprint";
|
|
113
|
-
"where-used": "where-used";
|
|
114
|
-
"view-on-site": "view-on-site";
|
|
115
|
-
"published-to": "published-to";
|
|
116
|
-
translations: "translations";
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Backwards compatibility for `ContentExplorerInsightsPanelId`
|
|
120
|
-
*
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
export type ContentExplorerPanelId = ContentExplorerInsightsPanelId;
|