@tridion-sites/extensions 2.0.2 → 2.0.3
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 +1 -1
- package/dist/index.d.ts +98 -529
- package/dist/index.js +28 -151
- package/package.json +3 -3
- 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/dist/index.js
CHANGED
|
@@ -26,8 +26,7 @@ const activitiesExplorerPanelId = createEnumObject(activitiesExplorerPanelIds);
|
|
|
26
26
|
*
|
|
27
27
|
* @public
|
|
28
28
|
*/
|
|
29
|
-
const
|
|
30
|
-
'search',
|
|
29
|
+
const contentExplorerPanelIds = [
|
|
31
30
|
'information',
|
|
32
31
|
'general',
|
|
33
32
|
'metadata',
|
|
@@ -43,19 +42,7 @@ const contentExplorerInsightsPanelIds = [
|
|
|
43
42
|
*
|
|
44
43
|
* @public
|
|
45
44
|
*/
|
|
46
|
-
const
|
|
47
|
-
/**
|
|
48
|
-
* Backwards compatibility for `contentExplorerInsightsPanelIds`
|
|
49
|
-
*
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
52
|
-
const contentExplorerPanelIds = contentExplorerInsightsPanelIds;
|
|
53
|
-
/**
|
|
54
|
-
* Backwards compatibility for `contentExplorerInsightsPanelId`
|
|
55
|
-
*
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
const contentExplorerPanelId = contentExplorerInsightsPanelId;
|
|
45
|
+
const contentExplorerPanelId = createEnumObject(contentExplorerPanelIds);
|
|
59
46
|
|
|
60
47
|
/**
|
|
61
48
|
* List of all built-in panel IDs of the Publishing Queue Explorer.
|
|
@@ -70,23 +57,6 @@ const publishingQueueExplorerPanelIds = ['information', 'resolvedItems'];
|
|
|
70
57
|
*/
|
|
71
58
|
const publishingQueueExplorerPanelId = createEnumObject(publishingQueueExplorerPanelIds);
|
|
72
59
|
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
const modalTypes = ['default', 'danger'];
|
|
77
|
-
/**
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
80
|
-
const modalType = createEnumObject(modalTypes);
|
|
81
|
-
/**
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
const modalStatuses = ['ok', 'cancel'];
|
|
85
|
-
/**
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
88
|
-
const modalStatus = createEnumObject(modalStatuses);
|
|
89
|
-
|
|
90
60
|
/**
|
|
91
61
|
* @internal
|
|
92
62
|
*/
|
|
@@ -702,12 +672,6 @@ class ContentEditorExtensionsBuilder {
|
|
|
702
672
|
writable: true,
|
|
703
673
|
value: []
|
|
704
674
|
});
|
|
705
|
-
Object.defineProperty(this, "_itemEditors", {
|
|
706
|
-
enumerable: true,
|
|
707
|
-
configurable: true,
|
|
708
|
-
writable: true,
|
|
709
|
-
value: []
|
|
710
|
-
});
|
|
711
675
|
Object.defineProperty(this, "richTextField", {
|
|
712
676
|
enumerable: true,
|
|
713
677
|
configurable: true,
|
|
@@ -723,15 +687,6 @@ class ContentEditorExtensionsBuilder {
|
|
|
723
687
|
return this;
|
|
724
688
|
}
|
|
725
689
|
});
|
|
726
|
-
Object.defineProperty(this, "addItemEditor", {
|
|
727
|
-
enumerable: true,
|
|
728
|
-
configurable: true,
|
|
729
|
-
writable: true,
|
|
730
|
-
value: (item) => {
|
|
731
|
-
this._itemEditors.push(item);
|
|
732
|
-
return this;
|
|
733
|
-
}
|
|
734
|
-
});
|
|
735
690
|
Object.defineProperty(this, "build", {
|
|
736
691
|
enumerable: true,
|
|
737
692
|
configurable: true,
|
|
@@ -740,7 +695,6 @@ class ContentEditorExtensionsBuilder {
|
|
|
740
695
|
return {
|
|
741
696
|
richTextField: this.richTextField.build(),
|
|
742
697
|
formFields: this._formFields,
|
|
743
|
-
editors: this._itemEditors,
|
|
744
698
|
};
|
|
745
699
|
}
|
|
746
700
|
});
|
|
@@ -891,47 +845,40 @@ class ContentExplorerInsightsPanelsExtensionsBuilder {
|
|
|
891
845
|
* @public
|
|
892
846
|
*/
|
|
893
847
|
const contentExplorerActionIds = [
|
|
894
|
-
'
|
|
848
|
+
'open',
|
|
849
|
+
'openEditor',
|
|
850
|
+
'openEditorInNewTab',
|
|
895
851
|
'addSelectedItemsToBundle',
|
|
896
852
|
'addToBundle',
|
|
897
|
-
'
|
|
853
|
+
'removeFromBundle',
|
|
898
854
|
'autoClassify',
|
|
899
855
|
'copy',
|
|
900
856
|
'cut',
|
|
901
|
-
'
|
|
902
|
-
'
|
|
903
|
-
'export',
|
|
904
|
-
'finishEditing',
|
|
905
|
-
'localize',
|
|
857
|
+
'paste',
|
|
858
|
+
'pasteInContainer',
|
|
906
859
|
'newBundle',
|
|
907
860
|
'newCategory',
|
|
908
|
-
'newChildPublication',
|
|
909
861
|
'newComponent',
|
|
910
862
|
'newFolder',
|
|
911
863
|
'newKeyword',
|
|
912
864
|
'newMultimediaComponent',
|
|
913
865
|
'newPage',
|
|
914
866
|
'newStructureGroup',
|
|
915
|
-
'
|
|
916
|
-
'
|
|
917
|
-
'
|
|
918
|
-
'
|
|
919
|
-
'
|
|
920
|
-
'
|
|
921
|
-
'
|
|
922
|
-
'promote',
|
|
867
|
+
'uploadMultimediaComponent',
|
|
868
|
+
'delete',
|
|
869
|
+
'finishEditing',
|
|
870
|
+
'revert',
|
|
871
|
+
'export',
|
|
872
|
+
'localize',
|
|
873
|
+
'unlocalize',
|
|
923
874
|
'publish',
|
|
875
|
+
'unpublish',
|
|
876
|
+
'openPublishingQueue',
|
|
924
877
|
'refresh',
|
|
925
|
-
'
|
|
926
|
-
'removeFromFavorites',
|
|
927
|
-
'removeParentPublication',
|
|
928
|
-
'revert',
|
|
929
|
-
'startWorkflow',
|
|
878
|
+
'openTranslationQueue',
|
|
930
879
|
'translate',
|
|
931
880
|
'translateTarget',
|
|
932
|
-
'
|
|
933
|
-
'unpublish',
|
|
934
|
-
'uploadMultimediaComponent',
|
|
881
|
+
'startWorkflow',
|
|
935
882
|
];
|
|
936
883
|
/**
|
|
937
884
|
* All built-in action IDs available in Content Explorer.
|
|
@@ -943,7 +890,6 @@ const contentExplorerActionId = createEnumObject(contentExplorerActionIds);
|
|
|
943
890
|
* @public
|
|
944
891
|
*/
|
|
945
892
|
const contentExplorerActionGroupIds = [
|
|
946
|
-
'blueprinting',
|
|
947
893
|
'browsing',
|
|
948
894
|
'bundle',
|
|
949
895
|
'classification',
|
|
@@ -952,7 +898,7 @@ const contentExplorerActionGroupIds = [
|
|
|
952
898
|
'deletion',
|
|
953
899
|
'editing',
|
|
954
900
|
'exporting',
|
|
955
|
-
'
|
|
901
|
+
'blueprinting',
|
|
956
902
|
'publishing',
|
|
957
903
|
'refreshing',
|
|
958
904
|
'translation',
|
|
@@ -1088,12 +1034,7 @@ class NavigationExtensionsBuilder {
|
|
|
1088
1034
|
/**
|
|
1089
1035
|
* @public
|
|
1090
1036
|
*/
|
|
1091
|
-
const navigationItemIds = [
|
|
1092
|
-
'activitiesExplorer',
|
|
1093
|
-
'contentExplorer',
|
|
1094
|
-
'publishingQueueExplorer',
|
|
1095
|
-
'translationsExplorer',
|
|
1096
|
-
];
|
|
1037
|
+
const navigationItemIds = ['activitiesExplorer', 'contentExplorer', 'publishingQueueExplorer'];
|
|
1097
1038
|
/**
|
|
1098
1039
|
* All available built-in navigation item IDs.
|
|
1099
1040
|
*
|
|
@@ -1902,36 +1843,6 @@ const TextLink = memo(props => {
|
|
|
1902
1843
|
return jsx(TextLink, Object.assign({}, props));
|
|
1903
1844
|
});
|
|
1904
1845
|
TextLink.displayName = 'TextLink';
|
|
1905
|
-
/**
|
|
1906
|
-
* A component to render Content of a Modal
|
|
1907
|
-
*
|
|
1908
|
-
* @public
|
|
1909
|
-
*/
|
|
1910
|
-
const ModalContent = memo(props => {
|
|
1911
|
-
const ModalContent = extensionApiBridge.get().general.components.ModalContent;
|
|
1912
|
-
return jsx(ModalContent, Object.assign({}, props));
|
|
1913
|
-
});
|
|
1914
|
-
ModalContent.displayName = 'ModalContent';
|
|
1915
|
-
/**
|
|
1916
|
-
* A component to render Header of the Modal
|
|
1917
|
-
*
|
|
1918
|
-
* @public
|
|
1919
|
-
*/
|
|
1920
|
-
const ModalHeader = memo(props => {
|
|
1921
|
-
const ModalHeader = extensionApiBridge.get().general.components.ModalHeader;
|
|
1922
|
-
return jsx(ModalHeader, Object.assign({}, props));
|
|
1923
|
-
});
|
|
1924
|
-
ModalHeader.displayName = 'ModalHeader';
|
|
1925
|
-
/**
|
|
1926
|
-
* A component to render Footer of the Modal
|
|
1927
|
-
*
|
|
1928
|
-
* @public
|
|
1929
|
-
*/
|
|
1930
|
-
const ModalFooter = memo(props => {
|
|
1931
|
-
const ModalFooter = extensionApiBridge.get().general.components.ModalFooter;
|
|
1932
|
-
return jsx(ModalFooter, Object.assign({}, props));
|
|
1933
|
-
});
|
|
1934
|
-
ModalFooter.displayName = 'ModalFooter';
|
|
1935
1846
|
|
|
1936
1847
|
/**
|
|
1937
1848
|
* System-predefined border radiuses.
|
|
@@ -1997,15 +1908,6 @@ const useConfirmation = (args) => {
|
|
|
1997
1908
|
const useConfirmation = extensionApiBridge.get().general.hooks.useConfirmation;
|
|
1998
1909
|
return useConfirmation(args);
|
|
1999
1910
|
};
|
|
2000
|
-
/**
|
|
2001
|
-
* Opens a Modal based on the provided options.
|
|
2002
|
-
*
|
|
2003
|
-
* @public
|
|
2004
|
-
*/
|
|
2005
|
-
const useModal = (args) => {
|
|
2006
|
-
const useModal = extensionApiBridge.get().general.hooks.useModal;
|
|
2007
|
-
return useModal(args);
|
|
2008
|
-
};
|
|
2009
1911
|
|
|
2010
1912
|
/**
|
|
2011
1913
|
* Uploads multimedia files and creates multimedia components out of them.
|
|
@@ -2236,24 +2138,6 @@ const useUpdateItemMutation = options => {
|
|
|
2236
2138
|
const useUpdateItemMutation = extensionApiBridge.get().general.mutations.item.useUpdateItemMutation;
|
|
2237
2139
|
return useUpdateItemMutation(options);
|
|
2238
2140
|
};
|
|
2239
|
-
/**
|
|
2240
|
-
* Updates an item by URI.
|
|
2241
|
-
*
|
|
2242
|
-
* @public
|
|
2243
|
-
*/
|
|
2244
|
-
const useDemoteItemMutation = options => {
|
|
2245
|
-
const useDemoteItemMutation = extensionApiBridge.get().general.mutations.item.useDemoteItemMutation;
|
|
2246
|
-
return useDemoteItemMutation(options);
|
|
2247
|
-
};
|
|
2248
|
-
/**
|
|
2249
|
-
* Updates an item by URI.
|
|
2250
|
-
*
|
|
2251
|
-
* @public
|
|
2252
|
-
*/
|
|
2253
|
-
const useDemoteItemsMutation = options => {
|
|
2254
|
-
const useDemoteItemsMutation = extensionApiBridge.get().general.mutations.item.useDemoteItemsMutation;
|
|
2255
|
-
return useDemoteItemsMutation(options);
|
|
2256
|
-
};
|
|
2257
2141
|
|
|
2258
2142
|
/**
|
|
2259
2143
|
* @public
|
|
@@ -2474,13 +2358,6 @@ const usePublicationBlueprintHierarchyQuery = (props, options) => {
|
|
|
2474
2358
|
return usePublicationBlueprintHierarchyQuery(props, options);
|
|
2475
2359
|
};
|
|
2476
2360
|
|
|
2477
|
-
/**
|
|
2478
|
-
* @public
|
|
2479
|
-
*/
|
|
2480
|
-
const useContainerItems = options => {
|
|
2481
|
-
const useContainerItems = extensionApiBridge.get().general.queries.lists.useContainerItems;
|
|
2482
|
-
return useContainerItems(options);
|
|
2483
|
-
};
|
|
2484
2361
|
/**
|
|
2485
2362
|
* @public
|
|
2486
2363
|
*/
|
|
@@ -2598,15 +2475,15 @@ const createExtensionGlobals = () => {
|
|
|
2598
2475
|
};
|
|
2599
2476
|
};
|
|
2600
2477
|
|
|
2601
|
-
const version = "
|
|
2478
|
+
const version = "2.0.2";
|
|
2602
2479
|
const peerDependencies = {
|
|
2603
2480
|
"@tridion-sites/models": "workspace:*",
|
|
2604
2481
|
"@tridion-sites/open-api-client": "workspace:*",
|
|
2605
|
-
react: "18.
|
|
2606
|
-
"react-dom": "18.
|
|
2607
|
-
"react-is": "18.
|
|
2608
|
-
"styled-components": "
|
|
2609
|
-
tinymce: "
|
|
2482
|
+
react: "18.2.0",
|
|
2483
|
+
"react-dom": "18.2.0",
|
|
2484
|
+
"react-is": "18.2.0",
|
|
2485
|
+
"styled-components": "5.3.6",
|
|
2486
|
+
tinymce: "6.8.4"
|
|
2610
2487
|
};
|
|
2611
2488
|
|
|
2612
2489
|
/**
|
|
@@ -2617,4 +2494,4 @@ const frameworkInfo = {
|
|
|
2617
2494
|
peerDependencies,
|
|
2618
2495
|
};
|
|
2619
2496
|
|
|
2620
|
-
export { ActionsConfigurationExtensionsBuilder, ActivitiesExplorerExtensionsBuilder, ActivitiesExplorerInsightsPanelsExtensionsBuilder, ActivitiesExplorerTableExtensionsBuilder, Block, Button, Center, ContentEditorExtensionsBuilder, ContentExplorerExtensionsBuilder, ContentExplorerInsightsPanelsExtensionsBuilder, ContentExplorerTableExtensionsBuilder, ContentExplorerTreeExtensionsBuilder, ExtensionBuilder, Flex, HeaderExtensionsBuilder, Icon, Link,
|
|
2497
|
+
export { ActionsConfigurationExtensionsBuilder, ActivitiesExplorerExtensionsBuilder, ActivitiesExplorerInsightsPanelsExtensionsBuilder, ActivitiesExplorerTableExtensionsBuilder, Block, Button, Center, ContentEditorExtensionsBuilder, ContentExplorerExtensionsBuilder, ContentExplorerInsightsPanelsExtensionsBuilder, ContentExplorerTableExtensionsBuilder, ContentExplorerTreeExtensionsBuilder, ExtensionBuilder, Flex, HeaderExtensionsBuilder, Icon, Link, NavigationExtensionsBuilder, PropertiesList, PublishingQueueExplorerExtensionsBuilder, PublishingQueueExplorerInsightsPanelsExtensionsBuilder, PublishingQueueExplorerTableExtensionsBuilder, RichTextFieldExtensionsBuilder, Stack, Text, TextLink, TranslationExtensionsBuilder, activitiesExplorerActionGroupId, activitiesExplorerActionGroupIds, activitiesExplorerActionId, activitiesExplorerActionIds, activitiesExplorerPanelId, activitiesExplorerPanelIds, contentExplorerActionGroupId, contentExplorerActionGroupIds, contentExplorerActionId, contentExplorerActionIds, contentExplorerPanelId, contentExplorerPanelIds, createExtensionGlobals, extensionApiBridge, frameworkInfo, getBorderRadius, getColorPalette, getOpacityLevel, getSpacing, getTransitionDuration, getZIndex, isFavoritesNodeId, isItemNode, isItemNodeOfType, isItemsInProgressNode, isItemsInProgressNodeId, isPublicationsNode, isPublicationsNodeId, isRootNode, isRootNodeId, isSystemNode, navigationItemId, navigationItemIds, publishingQueueExplorerActionGroupId, publishingQueueExplorerActionGroupIds, publishingQueueExplorerActionId, publishingQueueExplorerActionIds, publishingQueueExplorerPanelId, publishingQueueExplorerPanelIds, useActivitiesExplorer, useActivitiesExplorerTable, useActivityInstancesQuery, useAddToBundleMutation, useAssignActivitiesMutation, useAssignActivityMutation, useAutoClassifyItemMutation, useAutoClassifyItemsMutation, useChangeUserLanguageMutation, useChangeUserLocaleMutation, useConfirmation, useContentExplorer, useContentExplorerTable, useContentExplorerTree, useCopyItemMutation, useCopyItemsMutation, useCreateTranslationJobMutation, useDefaultTranslationJobQuery, useDeleteItemMutation, useDeleteItemsMutation, useEditor, useFavoritesQuery, useFinishActivitiesMutation, useFinishActivityMutation, useFinishEditingItemMutation, useFinishEditingItemsMutation, useItemBlueprintHierarchyQuery, useItemChildrenQuery, useItemClassifiedItemsQuery, useItemDefaultDataQuery, useItemHistoryQuery, useItemPublishUrlsQuery, useItemPublishedPagesQuery, useItemPublishedToQuery, useItemQuery, useItemTranslationInfoQuery, useItemUsedByQuery, useItemUsesQuery, useItemsInProgressQuery, useItemsQuery, useItemsToPublishQuery, useItemsToUnpublishQuery, useLocalizeItemMutation, useLocalizeItemsMutation, useMoveItemMutation, useMoveItemsMutation, useNotifications, useOptionalActivitiesExplorer, useOptionalActivitiesExplorerTable, useOptionalBundleEditor, useOptionalCategoryEditor, useOptionalComponentEditor, useOptionalContentExplorer, useOptionalContentExplorerTable, useOptionalContentExplorerTree, useOptionalEditor, useOptionalFolderEditor, useOptionalKeywordEditor, useOptionalPageEditor, useOptionalPublishingQueueExplorer, useOptionalPublishingQueueExplorerTable, useOptionalStructureGroupEditor, usePublicationBlueprintHierarchyQuery, usePublicationsQuery, usePublishItemsMutation, usePublishableTargetTypesQuery, usePublishingQueueExplorer, usePublishingQueueExplorerTable, useRemoveFromBundleMutation, useRestartActivitiesMutation, useRestartActivityMutation, useRevertItemMutation, useRevertItemsMutation, useRollbackItemMutation, useSearchInContainerQuery, useStartActivitiesMutation, useStartActivityMutation, useStartWorkflowMutation, useSystemSearchQuery, useUnlocalizeItemMutation, useUnlocalizeItemsMutation, useUnpublishItemsMutation, useUpdateItemMutation, useUploadMultimediaMutation, useUserGroupsQuery, useUserProfile, useUserProfileQuery, useUsersQuery };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tridion-sites/extensions",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "Tridion Sites Extensions API",
|
|
5
5
|
"author": "RWS",
|
|
6
6
|
"homepage": "https://www.rws.com",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"prepublish": "yarn build"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@tridion-sites/models": "1.2.
|
|
25
|
+
"@tridion-sites/models": "1.2.1",
|
|
26
26
|
"@tridion-sites/open-api-client": "3.0.0",
|
|
27
27
|
"react": "18.2.0",
|
|
28
28
|
"react-dom": "18.2.0",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@rollup/plugin-json": "6.0.0",
|
|
36
36
|
"@rollup/plugin-node-resolve": "15.2.1",
|
|
37
37
|
"@rollup/plugin-typescript": "11.1.3",
|
|
38
|
-
"@tridion-sites/models": "1.2.
|
|
38
|
+
"@tridion-sites/models": "1.2.1",
|
|
39
39
|
"@tridion-sites/open-api-client": "3.0.0",
|
|
40
40
|
"@tridion/graphene": "1.35.2",
|
|
41
41
|
"@types/react": "18.2.21",
|
|
@@ -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>;
|