@tridion-sites/extensions 2.0.0 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +2 -0
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +63 -0
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +41 -0
- package/dist/dts/api/activitiesExplorer/index.d.ts +1 -0
- package/dist/dts/api/contentExplorer/components/index.d.ts +2 -0
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +29 -0
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +21 -0
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +102 -0
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +3 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +123 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +39 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +27 -0
- package/dist/dts/api/contentExplorer/index.d.ts +4 -0
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +80 -0
- package/dist/dts/api/contentExplorer/utils/index.d.ts +1 -0
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +32 -0
- package/dist/dts/api/editors/category/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +28 -0
- package/dist/dts/api/editors/component/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +32 -0
- package/dist/dts/api/editors/folder/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +32 -0
- package/dist/dts/api/editors/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/hooks/useEditor.d.ts +40 -0
- package/dist/dts/api/editors/index.d.ts +8 -0
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +32 -0
- package/dist/dts/api/editors/page/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +40 -0
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +32 -0
- package/dist/dts/api/general/components/button.d.ts +33 -0
- package/dist/dts/api/general/components/icon.d.ts +19 -0
- package/dist/dts/api/general/components/index.d.ts +7 -0
- package/dist/dts/api/general/components/layout/block.d.ts +55 -0
- package/dist/dts/api/general/components/layout/center.d.ts +12 -0
- package/dist/dts/api/general/components/layout/flex.d.ts +50 -0
- package/dist/dts/api/general/components/layout/index.d.ts +4 -0
- package/dist/dts/api/general/components/layout/stack.d.ts +39 -0
- package/dist/dts/api/general/components/link.d.ts +29 -0
- package/dist/dts/api/general/components/modal.d.ts +61 -0
- package/dist/dts/api/general/components/text.d.ts +82 -0
- package/dist/dts/api/general/components/textLink.d.ts +16 -0
- package/dist/dts/api/general/globals/borderRadius.d.ts +15 -0
- package/dist/dts/api/general/globals/color.d.ts +41 -0
- package/dist/dts/api/general/globals/index.d.ts +6 -0
- package/dist/dts/api/general/globals/opacity.d.ts +16 -0
- package/dist/dts/api/general/globals/spacing.d.ts +19 -0
- package/dist/dts/api/general/globals/transitionDuration.d.ts +14 -0
- package/dist/dts/api/general/globals/zIndex.d.ts +18 -0
- package/dist/dts/api/general/hooks/index.d.ts +4 -0
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +40 -0
- package/dist/dts/api/general/hooks/useModal.d.ts +68 -0
- package/dist/dts/api/general/hooks/useNotifications.d.ts +46 -0
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +14 -0
- package/dist/dts/api/general/index.d.ts +6 -0
- package/dist/dts/api/general/mixins/accessibility.d.ts +50 -0
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +10 -0
- package/dist/dts/api/general/mixins/clickable.d.ts +7 -0
- package/dist/dts/api/general/mixins/color.d.ts +10 -0
- package/dist/dts/api/general/mixins/customIcon.d.ts +10 -0
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +13 -0
- package/dist/dts/api/general/mixins/index.d.ts +10 -0
- package/dist/dts/api/general/mixins/opacity.d.ts +11 -0
- package/dist/dts/api/general/mixins/sizing.d.ts +35 -0
- package/dist/dts/api/general/mixins/spacing.d.ts +16 -0
- package/dist/dts/api/general/mixins/tooltip.d.ts +9 -0
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +6 -0
- package/dist/dts/api/general/mutations/index.d.ts +10 -0
- package/dist/dts/api/general/mutations/item/index.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +22 -0
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +15 -0
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +15 -0
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +62 -0
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +29 -0
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +21 -0
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +46 -0
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +38 -0
- package/dist/dts/api/general/mutations/mutationResult.d.ts +73 -0
- package/dist/dts/api/general/mutations/translation/index.d.ts +1 -0
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +31 -0
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +52 -0
- package/dist/dts/api/general/mutations/workflow/index.d.ts +9 -0
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +39 -0
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +16 -0
- package/dist/dts/api/general/queries/index.d.ts +10 -0
- package/dist/dts/api/general/queries/item/index.d.ts +14 -0
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +33 -0
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +26 -0
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +25 -0
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +21 -0
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +28 -0
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/lists/index.d.ts +6 -0
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +32 -0
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +25 -0
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +33 -0
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +38 -0
- package/dist/dts/api/general/queries/loadingState.d.ts +10 -0
- package/dist/dts/api/general/queries/publishing/index.d.ts +5 -0
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +8 -0
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +8 -0
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +40 -0
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/queryOptions.d.ts +67 -0
- package/dist/dts/api/general/queries/queryResult.d.ts +93 -0
- package/dist/dts/api/general/queries/search/index.d.ts +2 -0
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +27 -0
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +26 -0
- package/dist/dts/api/general/queries/translation/index.d.ts +1 -0
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +17 -0
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/workflow/index.d.ts +1 -0
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +37 -0
- package/dist/dts/api/index.d.ts +5 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +2 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +62 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +41 -0
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +1 -0
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +16 -0
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +32 -0
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +28 -0
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/index.d.ts +8 -0
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +22 -0
- package/dist/dts/apiBridge/generalApiStorage.d.ts +144 -0
- package/dist/dts/apiBridge/index.d.ts +6 -0
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +16 -0
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +39 -0
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +1 -0
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +5 -0
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +58 -0
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +3 -0
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +73 -0
- package/dist/dts/apiWrappers/editors/hooks.d.ts +63 -0
- package/dist/dts/apiWrappers/editors/index.d.ts +1 -0
- package/dist/dts/apiWrappers/general/components.d.ts +88 -0
- package/dist/dts/apiWrappers/general/globals.d.ts +37 -0
- package/dist/dts/apiWrappers/general/hooks.d.ts +25 -0
- package/dist/dts/apiWrappers/general/index.d.ts +5 -0
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +30 -0
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +4 -0
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +137 -0
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +5 -0
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +47 -0
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +7 -0
- package/dist/dts/apiWrappers/general/queries/index.d.ts +7 -0
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +85 -0
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +25 -0
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +19 -0
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +13 -0
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +5 -0
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +5 -0
- package/dist/dts/apiWrappers/index.d.ts +5 -0
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +39 -0
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +1 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +43 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +20 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +10 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +70 -0
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +4 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +40 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +25 -0
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +5 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +41 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +15 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +85 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +69 -0
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +5 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +2 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +64 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +11 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +86 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +13 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +30 -0
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +6 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +13 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +2 -0
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +37 -0
- package/dist/dts/extensionPoints/extensionPoints.d.ts +17 -0
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +12 -0
- package/dist/dts/extensionPoints/header/index.d.ts +3 -0
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +4 -0
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +65 -0
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +20 -0
- package/dist/dts/extensionPoints/index.d.ts +12 -0
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +1 -0
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +39 -0
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +3 -0
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +12 -0
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +12 -0
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +14 -0
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +13 -0
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +5 -0
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +14 -0
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +13 -0
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +14 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +5 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +39 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +25 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +39 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +1 -0
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +70 -0
- package/dist/dts/extensionPoints/translations/index.d.ts +3 -0
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +17 -0
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +23 -0
- package/dist/dts/frameworkInfo.d.ts +7 -0
- package/dist/dts/index.d.ts +6 -0
- package/dist/dts/module/createExtensionGlobals.d.ts +11 -0
- package/dist/dts/module/extensionGlobals.d.ts +7 -0
- package/dist/dts/module/extensionModule.d.ts +11 -0
- package/dist/dts/module/index.d.ts +4 -0
- package/dist/dts/module/runtimeInformation.d.ts +7 -0
- package/dist/index.d.ts +529 -97
- package/dist/index.js +151 -27
- package/package.json +5 -5
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { ValuesOfArray } from '@tridion/graphene';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare const contentExplorerActionIds: readonly ["addParentPublication", "addSelectedItemsToBundle", "addToBundle", "addToFavorites", "autoClassify", "copy", "cut", "delete", "demote", "export", "finishEditing", "localize", "newBundle", "newCategory", "newChildPublication", "newComponent", "newFolder", "newKeyword", "newMultimediaComponent", "newPage", "newStructureGroup", "open", "openEditor", "openEditorInNewTab", "openPublishingQueue", "openTranslationQueue", "paste", "pasteInContainer", "promote", "publish", "refresh", "removeFromBundle", "removeFromFavorites", "removeParentPublication", "revert", "startWorkflow", "translate", "translateTarget", "unlocalize", "unpublish", "uploadMultimediaComponent"];
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type ContentExplorerActionId = ValuesOfArray<typeof contentExplorerActionIds>;
|
|
10
|
+
/**
|
|
11
|
+
* All built-in action IDs available in Content Explorer.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export declare const contentExplorerActionId: {
|
|
16
|
+
cut: "cut";
|
|
17
|
+
copy: "copy";
|
|
18
|
+
paste: "paste";
|
|
19
|
+
promote: "promote";
|
|
20
|
+
demote: "demote";
|
|
21
|
+
delete: "delete";
|
|
22
|
+
localize: "localize";
|
|
23
|
+
publish: "publish";
|
|
24
|
+
export: "export";
|
|
25
|
+
refresh: "refresh";
|
|
26
|
+
addParentPublication: "addParentPublication";
|
|
27
|
+
addSelectedItemsToBundle: "addSelectedItemsToBundle";
|
|
28
|
+
addToBundle: "addToBundle";
|
|
29
|
+
addToFavorites: "addToFavorites";
|
|
30
|
+
autoClassify: "autoClassify";
|
|
31
|
+
finishEditing: "finishEditing";
|
|
32
|
+
newBundle: "newBundle";
|
|
33
|
+
newCategory: "newCategory";
|
|
34
|
+
newChildPublication: "newChildPublication";
|
|
35
|
+
newComponent: "newComponent";
|
|
36
|
+
newFolder: "newFolder";
|
|
37
|
+
newKeyword: "newKeyword";
|
|
38
|
+
newMultimediaComponent: "newMultimediaComponent";
|
|
39
|
+
newPage: "newPage";
|
|
40
|
+
newStructureGroup: "newStructureGroup";
|
|
41
|
+
open: "open";
|
|
42
|
+
openEditor: "openEditor";
|
|
43
|
+
openEditorInNewTab: "openEditorInNewTab";
|
|
44
|
+
openPublishingQueue: "openPublishingQueue";
|
|
45
|
+
openTranslationQueue: "openTranslationQueue";
|
|
46
|
+
pasteInContainer: "pasteInContainer";
|
|
47
|
+
removeFromBundle: "removeFromBundle";
|
|
48
|
+
removeFromFavorites: "removeFromFavorites";
|
|
49
|
+
removeParentPublication: "removeParentPublication";
|
|
50
|
+
revert: "revert";
|
|
51
|
+
startWorkflow: "startWorkflow";
|
|
52
|
+
translate: "translate";
|
|
53
|
+
translateTarget: "translateTarget";
|
|
54
|
+
unlocalize: "unlocalize";
|
|
55
|
+
unpublish: "unpublish";
|
|
56
|
+
uploadMultimediaComponent: "uploadMultimediaComponent";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export declare const contentExplorerActionGroupIds: readonly ["blueprinting", "browsing", "bundle", "classification", "clipboard", "creation", "deletion", "editing", "exporting", "favorites", "publishing", "refreshing", "translation", "workflow"];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type ContentExplorerActionGroupId = ValuesOfArray<typeof contentExplorerActionGroupIds>;
|
|
66
|
+
/**
|
|
67
|
+
* All built-in action group IDs available in Content Explorer.
|
|
68
|
+
*
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
export declare const contentExplorerActionGroupId: {
|
|
72
|
+
classification: "classification";
|
|
73
|
+
bundle: "bundle";
|
|
74
|
+
exporting: "exporting";
|
|
75
|
+
refreshing: "refreshing";
|
|
76
|
+
workflow: "workflow";
|
|
77
|
+
blueprinting: "blueprinting";
|
|
78
|
+
browsing: "browsing";
|
|
79
|
+
clipboard: "clipboard";
|
|
80
|
+
creation: "creation";
|
|
81
|
+
deletion: "deletion";
|
|
82
|
+
editing: "editing";
|
|
83
|
+
favorites: "favorites";
|
|
84
|
+
publishing: "publishing";
|
|
85
|
+
translation: "translation";
|
|
86
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ActionExtension } from '../actionsConfiguration';
|
|
2
|
+
import type { ContentExplorerInsightsPanelsExtensions } from './insightsPanels';
|
|
3
|
+
import type { ContentExplorerTableExtensions } from './table';
|
|
4
|
+
import type { ContentExplorerTreeExtensions } from './tree';
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ContentExplorerExtensions {
|
|
9
|
+
actions: ReadonlyArray<ActionExtension>;
|
|
10
|
+
table: ContentExplorerTableExtensions;
|
|
11
|
+
tree: ContentExplorerTreeExtensions;
|
|
12
|
+
insightsPanels: ContentExplorerInsightsPanelsExtensions;
|
|
13
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { ActionExtension } from '../actionsConfiguration';
|
|
2
|
+
import type { ContentExplorerExtensions } from './contentExplorerExtensions';
|
|
3
|
+
import { ContentExplorerInsightsPanelsExtensionsBuilder } from './insightsPanels';
|
|
4
|
+
import { ContentExplorerTableExtensionsBuilder } from './table';
|
|
5
|
+
import { ContentExplorerTreeExtensionsBuilder } from './tree';
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export declare class ContentExplorerExtensionsBuilder {
|
|
10
|
+
private _actions;
|
|
11
|
+
/**
|
|
12
|
+
* Provides a mechanism for customizing Content Explorer Table.
|
|
13
|
+
*/
|
|
14
|
+
readonly table: ContentExplorerTableExtensionsBuilder;
|
|
15
|
+
/**
|
|
16
|
+
* Provides a mechanism for customizing Content Explorer Tree.
|
|
17
|
+
*/
|
|
18
|
+
readonly tree: ContentExplorerTreeExtensionsBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Provides a mechanism for customizing Content Explorer Insights Panels.
|
|
21
|
+
*/
|
|
22
|
+
readonly insightsPanels: ContentExplorerInsightsPanelsExtensionsBuilder;
|
|
23
|
+
/**
|
|
24
|
+
* Adds a new action to Content Explorer.
|
|
25
|
+
*
|
|
26
|
+
* @param action - action to be added
|
|
27
|
+
*/
|
|
28
|
+
addAction: (action: ActionExtension) => this;
|
|
29
|
+
build: () => ContentExplorerExtensions;
|
|
30
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IdentifiableObject } from '@tridion-sites/models';
|
|
2
|
+
import type { InsightsPanelsExtensionConfiguration } from '../../insightsPanels';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ContentExplorerExtensionInsightsPanelProps {
|
|
7
|
+
item: IdentifiableObject;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export interface ContentExplorerInsightsPanelsHookProps {
|
|
13
|
+
item?: IdentifiableObject;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export type ContentExplorerInsightsPanelsExtension = () => InsightsPanelsExtensionConfiguration<ContentExplorerExtensionInsightsPanelProps, ContentExplorerInsightsPanelsHookProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ListBuilderConfigurationExtension } from '../../listBuilder';
|
|
2
|
+
import type { ContentExplorerInsightsPanelsExtension } from './contentExplorerInsightsPanelsExtension';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ContentExplorerInsightsPanelsExtensions {
|
|
7
|
+
items: ReadonlyArray<ContentExplorerInsightsPanelsExtension>;
|
|
8
|
+
config: ReadonlyArray<ListBuilderConfigurationExtension<string>>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ListBuilder } from '../../listBuilder';
|
|
2
|
+
import type { ContentExplorerInsightsPanelsExtension } from './contentExplorerInsightsPanelsExtension';
|
|
3
|
+
import type { ContentExplorerInsightsPanelsExtensions } from './contentExplorerInsightsPanelsExtensions';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ContentExplorerInsightsPanelsExtensionsBuilder {
|
|
8
|
+
private _insightsPanelsExtensions;
|
|
9
|
+
/**
|
|
10
|
+
* Provides a mechanism for customizing the configuration of insights panels.
|
|
11
|
+
*/
|
|
12
|
+
readonly config: ListBuilder<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Registers a new insights panel.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* This method only registers the insights panel and does not automatically make it visible in the application.
|
|
18
|
+
* To add the insights panel to the application, use {@link ContentExplorerInsightsPanelsExtensionsBuilder.config}.
|
|
19
|
+
*
|
|
20
|
+
* @param item - insights panel to be registered
|
|
21
|
+
*/
|
|
22
|
+
register: (item: ContentExplorerInsightsPanelsExtension) => this;
|
|
23
|
+
build: () => ContentExplorerInsightsPanelsExtensions;
|
|
24
|
+
}
|
package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { IdentifiableObject } from '@tridion-sites/models';
|
|
2
|
+
import type { TableColumnExtension, TableColumnExtensionComponentProps, TableColumnExtensionConfiguration, TableColumnHook } from '../../tableColumnConfiguration';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ContentExplorerTableColumnExtensionComponentProps extends TableColumnExtensionComponentProps<IdentifiableObject> {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export type ContentExplorerTableColumnIsAvailableHook = TableColumnHook;
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export interface ContentExplorerTableColumnExtensionConfiguration extends TableColumnExtensionConfiguration<IdentifiableObject> {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type ContentExplorerTableColumnExtension = TableColumnExtension<IdentifiableObject>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ActionsConfigurationExtension } from '../../actionsConfiguration';
|
|
2
|
+
import type { ContentExplorerTableColumnExtension } from './contentExplorerTableColumnExtension';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface ContentExplorerTableExtensions {
|
|
7
|
+
columns: ReadonlyArray<ContentExplorerTableColumnExtension>;
|
|
8
|
+
contextMenu: ReadonlyArray<ActionsConfigurationExtension>;
|
|
9
|
+
toolbar: ReadonlyArray<ActionsConfigurationExtension>;
|
|
10
|
+
}
|
package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ActionsConfigurationExtensionsBuilder } from '../../actionsConfiguration';
|
|
2
|
+
import type { ContentExplorerTableColumnExtension } from './contentExplorerTableColumnExtension';
|
|
3
|
+
import type { ContentExplorerTableExtensions } from './contentExplorerTableExtensions';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ContentExplorerTableExtensionsBuilder {
|
|
8
|
+
private _columns;
|
|
9
|
+
/**
|
|
10
|
+
* Provides a mechanism for customizing the configuration of actions
|
|
11
|
+
* within Content Explorer Table toolbar.
|
|
12
|
+
*/
|
|
13
|
+
readonly toolbar: ActionsConfigurationExtensionsBuilder;
|
|
14
|
+
/**
|
|
15
|
+
* Provides a mechanism for customizing the configuration of actions
|
|
16
|
+
* within Content Explorer Table context menu.
|
|
17
|
+
*/
|
|
18
|
+
readonly contextMenu: ActionsConfigurationExtensionsBuilder;
|
|
19
|
+
/**
|
|
20
|
+
* Adds a new column to Content Explorer Table.
|
|
21
|
+
*
|
|
22
|
+
* @param column - column to be added
|
|
23
|
+
*/
|
|
24
|
+
addColumn: (column: ContentExplorerTableColumnExtension) => this;
|
|
25
|
+
build: () => ContentExplorerTableExtensions;
|
|
26
|
+
}
|
package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ActionsConfigurationExtensionsBuilder } from '../../actionsConfiguration';
|
|
2
|
+
import type { ContentExplorerTreeExtensions } from './contentExplorerTreeExtensions';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class ContentExplorerTreeExtensionsBuilder {
|
|
7
|
+
/**
|
|
8
|
+
* Provides a mechanism for customizing the configuration of actions
|
|
9
|
+
* within Content Explorer Tree context menu.
|
|
10
|
+
*/
|
|
11
|
+
readonly contextMenu: ActionsConfigurationExtensionsBuilder;
|
|
12
|
+
build: () => ContentExplorerTreeExtensions;
|
|
13
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ActivitiesExplorerExtensionsBuilder } from './activitiesExplorer';
|
|
2
|
+
import { ContentEditorExtensionsBuilder } from './contentEditor';
|
|
3
|
+
import { ContentExplorerExtensionsBuilder } from './contentExplorer';
|
|
4
|
+
import type { ExtensionPoints } from './extensionPoints';
|
|
5
|
+
import { HeaderExtensionsBuilder } from './header';
|
|
6
|
+
import { PublishingQueueExplorerExtensionsBuilder } from './publishingQueueExplorer';
|
|
7
|
+
import { TranslationExtensionsBuilder } from './translations';
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare class ExtensionBuilder {
|
|
12
|
+
/**
|
|
13
|
+
* Provides a mechanism for customizing the header of the application.
|
|
14
|
+
*/
|
|
15
|
+
readonly header: HeaderExtensionsBuilder;
|
|
16
|
+
/**
|
|
17
|
+
* Provides a mechanism for customizing form fields within editors.
|
|
18
|
+
*/
|
|
19
|
+
readonly contentEditor: ContentEditorExtensionsBuilder;
|
|
20
|
+
/**
|
|
21
|
+
* Provides a mechanism for customizing Content Explorer.
|
|
22
|
+
*/
|
|
23
|
+
readonly contentExplorer: ContentExplorerExtensionsBuilder;
|
|
24
|
+
/**
|
|
25
|
+
* Provides a mechanism for managing localization strings within extensions.
|
|
26
|
+
*/
|
|
27
|
+
readonly translations: TranslationExtensionsBuilder;
|
|
28
|
+
/**
|
|
29
|
+
* Provides a mechanism for customizing Activities Explorer.
|
|
30
|
+
*/
|
|
31
|
+
readonly activitiesExplorer: ActivitiesExplorerExtensionsBuilder;
|
|
32
|
+
/**
|
|
33
|
+
* Provides a mechanism for customizing Publishing Queue Explorer.
|
|
34
|
+
*/
|
|
35
|
+
readonly publishingQueueExplorer: PublishingQueueExplorerExtensionsBuilder;
|
|
36
|
+
build: () => ExtensionPoints;
|
|
37
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ActivitiesExplorerExtensions } from './activitiesExplorer';
|
|
2
|
+
import type { ContentEditorExtensions } from './contentEditor';
|
|
3
|
+
import type { ContentExplorerExtensions } from './contentExplorer';
|
|
4
|
+
import type { HeaderExtensions } from './header';
|
|
5
|
+
import type { PublishingQueueExplorerExtensions } from './publishingQueueExplorer';
|
|
6
|
+
import type { TranslationExtensions } from './translations';
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface ExtensionPoints {
|
|
11
|
+
header: HeaderExtensions;
|
|
12
|
+
contentEditor: ContentEditorExtensions;
|
|
13
|
+
contentExplorer: ContentExplorerExtensions;
|
|
14
|
+
activitiesExplorer: ActivitiesExplorerExtensions;
|
|
15
|
+
translations: TranslationExtensions;
|
|
16
|
+
publishingQueueExplorer: PublishingQueueExplorerExtensions;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HeaderExtensions } from './headerExtensions';
|
|
2
|
+
import { NavigationExtensionsBuilder } from './navigation';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class HeaderExtensionsBuilder {
|
|
7
|
+
/**
|
|
8
|
+
* Provides a mechanism for customizing navigation items.
|
|
9
|
+
*/
|
|
10
|
+
readonly navigation: NavigationExtensionsBuilder;
|
|
11
|
+
build: () => HeaderExtensions;
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ListBuilderConfigurationExtension } from '../../listBuilder';
|
|
2
|
+
import type { NavigationItemExtension } from './navigationItem';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface NavigationExtensions {
|
|
7
|
+
items: ReadonlyArray<NavigationItemExtension>;
|
|
8
|
+
config: ReadonlyArray<ListBuilderConfigurationExtension<string>>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ListBuilder } from '../../listBuilder';
|
|
2
|
+
import type { NavigationExtensions } from './navigationExtensions';
|
|
3
|
+
import type { NavigationItemExtension } from './navigationItem';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class NavigationExtensionsBuilder {
|
|
8
|
+
private _navigationItemExtensions;
|
|
9
|
+
/**
|
|
10
|
+
* Provides a mechanism for customizing the configuration of navigation items.
|
|
11
|
+
*/
|
|
12
|
+
readonly config: ListBuilder<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Registers a new navigation item.
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* This method only registers the navigation item and does not automatically make it visible in the application.
|
|
18
|
+
* To add the navigation item to the application, use {@link NavigationExtensionsBuilder.config}.
|
|
19
|
+
*
|
|
20
|
+
* @param item - navigation item to be registered
|
|
21
|
+
*/
|
|
22
|
+
register: (item: NavigationItemExtension) => this;
|
|
23
|
+
build: () => NavigationExtensions;
|
|
24
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface NavigationItemRenderLabel {
|
|
6
|
+
/**
|
|
7
|
+
* The label obtained from {@link NavigationItemHookResult.label}.
|
|
8
|
+
*/
|
|
9
|
+
readonly label: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export interface NavigationItemHookResult {
|
|
15
|
+
/**
|
|
16
|
+
* Indicates the visibility of the item in the navigation menu and determines
|
|
17
|
+
* whether its corresponding page is available.
|
|
18
|
+
*/
|
|
19
|
+
readonly isAvailable: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Label associated with the navigation item.
|
|
22
|
+
*/
|
|
23
|
+
readonly label: string;
|
|
24
|
+
/**
|
|
25
|
+
* A component used for custom rendering of {@link NavigationItemHookResult.label}.
|
|
26
|
+
*/
|
|
27
|
+
readonly renderLabel?: ComponentType<NavigationItemRenderLabel>;
|
|
28
|
+
/**
|
|
29
|
+
* Tooltip displayed when hovering over the navigation item.
|
|
30
|
+
*
|
|
31
|
+
* @remarks
|
|
32
|
+
* If not provided, {@link NavigationItemHookResult.label} property is used instead of it.
|
|
33
|
+
*/
|
|
34
|
+
readonly tooltip?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type NavigationItemHook = () => NavigationItemHookResult;
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export interface NavigationItemExtensionConfiguration {
|
|
44
|
+
/**
|
|
45
|
+
* A unique identifier for the navigation item.
|
|
46
|
+
*/
|
|
47
|
+
readonly id: string;
|
|
48
|
+
/**
|
|
49
|
+
* The route path associated with the navigation item.
|
|
50
|
+
*/
|
|
51
|
+
readonly routePath: string;
|
|
52
|
+
/**
|
|
53
|
+
* The component to be rendered when the path in the browser address bar matches
|
|
54
|
+
* the specified {@link NavigationItemExtensionConfiguration.routePath}.
|
|
55
|
+
*/
|
|
56
|
+
readonly routeComponent: ComponentType;
|
|
57
|
+
/**
|
|
58
|
+
* Hook that contains behavior of the navigation item.
|
|
59
|
+
*/
|
|
60
|
+
readonly useNavigationItem: NavigationItemHook;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type NavigationItemExtension = () => NavigationItemExtensionConfiguration;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ValuesOfArray } from '@tridion/graphene';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare const navigationItemIds: readonly ["activitiesExplorer", "contentExplorer", "publishingQueueExplorer", "translationsExplorer"];
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type NavigationItemId = ValuesOfArray<typeof navigationItemIds>;
|
|
10
|
+
/**
|
|
11
|
+
* All available built-in navigation item IDs.
|
|
12
|
+
*
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export declare const navigationItemId: {
|
|
16
|
+
activitiesExplorer: "activitiesExplorer";
|
|
17
|
+
contentExplorer: "contentExplorer";
|
|
18
|
+
publishingQueueExplorer: "publishingQueueExplorer";
|
|
19
|
+
translationsExplorer: "translationsExplorer";
|
|
20
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './actionsConfiguration';
|
|
2
|
+
export * from './activitiesExplorer';
|
|
3
|
+
export * from './contentEditor';
|
|
4
|
+
export * from './contentExplorer';
|
|
5
|
+
export * from './extensionBuilder';
|
|
6
|
+
export * from './extensionPoints';
|
|
7
|
+
export * from './header';
|
|
8
|
+
export * from './insightsPanels';
|
|
9
|
+
export * from './listBuilder/listBuilderExtension';
|
|
10
|
+
export * from './publishingQueueExplorer';
|
|
11
|
+
export * from './tableColumnConfiguration';
|
|
12
|
+
export * from './translations';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './insightsPanelsExtension';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ComponentType, ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface InsightsPanelsExtensionHookResult {
|
|
6
|
+
/**
|
|
7
|
+
* Defines whether an insights panel extension is available to be displayed or not
|
|
8
|
+
*/
|
|
9
|
+
readonly isAvailable: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Title of a panel to display
|
|
12
|
+
*/
|
|
13
|
+
readonly title: string;
|
|
14
|
+
/**
|
|
15
|
+
* Icon to display as a part of a tab for a panel
|
|
16
|
+
*/
|
|
17
|
+
readonly icon: ReactNode;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface InsightsPanelsExtensionConfiguration<TComponentProps, THookProps> {
|
|
23
|
+
/**
|
|
24
|
+
* Extension id
|
|
25
|
+
*/
|
|
26
|
+
readonly id: string;
|
|
27
|
+
/**
|
|
28
|
+
* Component to display as a panel
|
|
29
|
+
*/
|
|
30
|
+
readonly component: ComponentType<TComponentProps>;
|
|
31
|
+
/**
|
|
32
|
+
* Hook which returns information about the current panel for the extension
|
|
33
|
+
*/
|
|
34
|
+
readonly usePanel: (props: THookProps) => InsightsPanelsExtensionHookResult;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type InsightsPanelsExtension = <TComponentProps, THookProps>() => InsightsPanelsExtensionConfiguration<TComponentProps, THookProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { GetListBuilderItemId, ListBuilderConfigurationExtension } from './listBuilderExtension';
|
|
2
|
+
export declare class ListBuilder<TItem> {
|
|
3
|
+
private _itemsConfiguration;
|
|
4
|
+
private _getItemId;
|
|
5
|
+
constructor(getItemId: GetListBuilderItemId<TItem>);
|
|
6
|
+
customize: (configuration: ListBuilderConfigurationExtension<TItem>) => this;
|
|
7
|
+
add: (newItem: TItem, beforeItemId?: string) => void;
|
|
8
|
+
move: (itemId: string, beforeItemId?: string) => void;
|
|
9
|
+
replace: (itemId: string, newItem: TItem) => void;
|
|
10
|
+
remove: (itemId: string) => void;
|
|
11
|
+
build: () => ReadonlyArray<ListBuilderConfigurationExtension<TItem>>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export type ListBuilderConfiguration<TItem> = TItem[];
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export type GetListBuilderItemId<TItem> = (item: TItem) => string;
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
export type ListBuilderConfigurationExtension<TItem> = (currentList: ListBuilderConfiguration<TItem>, defaultList: ListBuilderConfiguration<TItem>) => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export interface AddItemArgs<TItem> {
|
|
6
|
+
list: ListBuilderConfiguration<TItem>;
|
|
7
|
+
newItem: TItem;
|
|
8
|
+
beforeItemId?: string;
|
|
9
|
+
getItemId: GetListBuilderItemId<TItem>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const addItem: <TItem>({ list, newItem, beforeItemId, getItemId }: AddItemArgs<TItem>) => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export interface FindItemArgs<TItem> {
|
|
6
|
+
list: ListBuilderConfiguration<TItem>;
|
|
7
|
+
itemId: string;
|
|
8
|
+
getItemId: GetListBuilderItemId<TItem>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export declare const findItemIndex: <TItem>({ list, itemId, getItemId }: FindItemArgs<TItem>) => number | undefined;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { GetListBuilderItemId, ListBuilderConfiguration } from '../listBuilderExtension';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export interface MoveItemArgs<TItem> {
|
|
6
|
+
list: ListBuilderConfiguration<TItem>;
|
|
7
|
+
itemId: string;
|
|
8
|
+
beforeItemId?: string;
|
|
9
|
+
getItemId: GetListBuilderItemId<TItem>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const moveItem: <TItem>({ list, itemId, beforeItemId, getItemId }: MoveItemArgs<TItem>) => void;
|