@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
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import { type ValuesOfArray } from '@tridion/graphene';
|
|
2
|
-
import type { IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
3
|
-
import type { ContentExplorerHierarchy, ContentExplorerNode } from '../hierarchy';
|
|
4
|
-
/**
|
|
5
|
-
* List of all built-in panel IDs of the Content Explorer.
|
|
6
|
-
*
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
export declare const contentExplorerInsightsPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
10
|
-
/**
|
|
11
|
-
* Type represents ID of a built-in panel of the Content Explorer.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
15
|
-
export type ContentExplorerInsightsPanelId = ValuesOfArray<typeof contentExplorerInsightsPanelIds>;
|
|
16
|
-
/**
|
|
17
|
-
* All available built-in Content Explorer panel IDs.
|
|
18
|
-
*
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export declare const contentExplorerInsightsPanelId: {
|
|
22
|
-
information: "information";
|
|
23
|
-
history: "history";
|
|
24
|
-
search: "search";
|
|
25
|
-
general: "general";
|
|
26
|
-
metadata: "metadata";
|
|
27
|
-
blueprint: "blueprint";
|
|
28
|
-
"where-used": "where-used";
|
|
29
|
-
"view-on-site": "view-on-site";
|
|
30
|
-
"published-to": "published-to";
|
|
31
|
-
translations: "translations";
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @public
|
|
35
|
-
*/
|
|
36
|
-
export interface SetTargetContentExplorerProps {
|
|
37
|
-
/**
|
|
38
|
-
* Id of a container node to resolve to.
|
|
39
|
-
*/
|
|
40
|
-
containerNodeId: string;
|
|
41
|
-
/**
|
|
42
|
-
* Item URI of an item to resolve to inside the `containerNodeId`.
|
|
43
|
-
*/
|
|
44
|
-
itemInContainerId: ItemUri | undefined;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
export interface ContentExplorerHierarchyLoadingState {
|
|
50
|
-
loadedNodeIds: ReadonlySet<string>;
|
|
51
|
-
loadingNodeIds: ReadonlySet<string>;
|
|
52
|
-
reloadingNodeIds: ReadonlySet<string>;
|
|
53
|
-
firstTimeLoadingNodeIds: ReadonlySet<string>;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Data and methods of the Content Explorer.
|
|
57
|
-
*
|
|
58
|
-
* @public
|
|
59
|
-
*/
|
|
60
|
-
export interface ContentExplorerHookResult {
|
|
61
|
-
hierarchy: ContentExplorerHierarchy;
|
|
62
|
-
currentNode: ContentExplorerNode | undefined;
|
|
63
|
-
/**
|
|
64
|
-
* Currently active item.
|
|
65
|
-
*/
|
|
66
|
-
currentItem: IdentifiableObject | undefined;
|
|
67
|
-
/**
|
|
68
|
-
* Loading state of nodes of the Content Explorer hierarchy.
|
|
69
|
-
*/
|
|
70
|
-
hierarchyLoadingState: ContentExplorerHierarchyLoadingState;
|
|
71
|
-
/**
|
|
72
|
-
* Method to change current location of the Content Explorer.
|
|
73
|
-
*/
|
|
74
|
-
setTarget: (props: SetTargetContentExplorerProps) => void;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Hook for accessing Content Explorer data and methods.
|
|
78
|
-
*
|
|
79
|
-
* @remarks
|
|
80
|
-
* Should be used only inside Content Explorer, otherwise throws an error.
|
|
81
|
-
*
|
|
82
|
-
* @public
|
|
83
|
-
*/
|
|
84
|
-
export type ContentExplorerHook = () => ContentExplorerHookResult;
|
|
85
|
-
/**
|
|
86
|
-
* Hook for accessing Content Explorer data and methods when available.
|
|
87
|
-
*
|
|
88
|
-
* @remarks
|
|
89
|
-
* Safe to be used within or outside of the Content Explorer.
|
|
90
|
-
* `undefined` is returned when used outside of Content Explorer.
|
|
91
|
-
*
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
export type OptionalContentExplorerHook = () => ContentExplorerHookResult | undefined;
|
|
95
|
-
/**
|
|
96
|
-
* Backwards compatibility for `contentExplorerInsightsPanelIds`
|
|
97
|
-
*
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
export declare const contentExplorerPanelIds: readonly ["search", "information", "general", "metadata", "history", "blueprint", "where-used", "view-on-site", "published-to", "translations"];
|
|
101
|
-
/**
|
|
102
|
-
* Backwards compatibility for `contentExplorerInsightsPanelId`
|
|
103
|
-
*
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
export declare const contentExplorerPanelId: {
|
|
107
|
-
information: "information";
|
|
108
|
-
history: "history";
|
|
109
|
-
search: "search";
|
|
110
|
-
general: "general";
|
|
111
|
-
metadata: "metadata";
|
|
112
|
-
blueprint: "blueprint";
|
|
113
|
-
"where-used": "where-used";
|
|
114
|
-
"view-on-site": "view-on-site";
|
|
115
|
-
"published-to": "published-to";
|
|
116
|
-
translations: "translations";
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Backwards compatibility for `ContentExplorerInsightsPanelId`
|
|
120
|
-
*
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
|
-
export type ContentExplorerPanelId = ContentExplorerInsightsPanelId;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface ContentExplorerTableSelection {
|
|
6
|
-
ids: ReadonlySet<ItemUri>;
|
|
7
|
-
selectedItems: ReadonlyArray<IdentifiableObject>;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Methods of a Content Explorer Table.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export interface ContentExplorerTableHookResult {
|
|
15
|
-
refresh: () => void;
|
|
16
|
-
/**
|
|
17
|
-
* Current state of selected items in the Table.
|
|
18
|
-
*/
|
|
19
|
-
selection: ContentExplorerTableSelection;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Hook for accessing Content Explorer Table data and methods.
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* Should be used only inside Content Explorer Table, otherwise throws an error.
|
|
26
|
-
*
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export type ContentExplorerTableHook = () => ContentExplorerTableHookResult;
|
|
30
|
-
/**
|
|
31
|
-
* Hook for accessing Content Explorer Table data and methods when available.
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* Safe to be used within or outside of the Content Explorer Table.
|
|
35
|
-
* `undefined` is returned when used outside of Content Explorer Table.
|
|
36
|
-
*
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
export type OptionalContentExplorerTableHook = () => ContentExplorerTableHookResult | undefined;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Methods of the Content Explorer Tree.
|
|
3
|
-
*
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export interface ContentExplorerTreeHookResult {
|
|
7
|
-
refresh: () => void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Hook for accessing Content Explorer Tree data and methods.
|
|
11
|
-
*
|
|
12
|
-
* @remarks
|
|
13
|
-
* Should be used only inside Content Explorer Tree, otherwise throws an error.
|
|
14
|
-
*
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
export type ContentExplorerTreeHook = () => ContentExplorerTreeHookResult;
|
|
18
|
-
/**
|
|
19
|
-
* Hook for accessing Content Explorer Tree data and methods when available.
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Safe to be used within or outside of the Content Explorer Tree.
|
|
23
|
-
* `undefined` is returned when used outside of the Content Explorer Tree.
|
|
24
|
-
*
|
|
25
|
-
* @public
|
|
26
|
-
*/
|
|
27
|
-
export type OptionalContentExplorerTreeHook = () => ContentExplorerTreeHookResult | undefined;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { Constructor } from '@tridion/graphene';
|
|
2
|
-
import type { IdentifiableObject } from '@tridion-sites/models';
|
|
3
|
-
import type { ContentExplorerItemNode, ContentExplorerItemsInProgressNode, ContentExplorerNode, ContentExplorerPublicationsNode, ContentExplorerRootNode, ContentExplorerSystemNode } from '../hierarchy';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface ContentExplorerHierarchyUtilsExtensionApi {
|
|
8
|
-
/**
|
|
9
|
-
* Checks if a node ID is favorites node ID.
|
|
10
|
-
*
|
|
11
|
-
* @param nodeId - The ID of the node to check.
|
|
12
|
-
* @returns A boolean value indicating whether the node ID is favorites node ID.
|
|
13
|
-
*/
|
|
14
|
-
isFavoritesNodeId: (nodeId: string) => boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Checks if a node is item node.
|
|
17
|
-
*
|
|
18
|
-
* @param node - The node to check.
|
|
19
|
-
* @returns A boolean value indicating whether the node is item node.
|
|
20
|
-
*/
|
|
21
|
-
isItemNode: (node: ContentExplorerNode | undefined) => node is ContentExplorerItemNode;
|
|
22
|
-
/**
|
|
23
|
-
* Checks if a node is item node of a specific type.
|
|
24
|
-
*
|
|
25
|
-
* @typeParam T - The type of the item node.
|
|
26
|
-
* @param node - The node to check.
|
|
27
|
-
* @param ctor - The constructor function of the item type.
|
|
28
|
-
* @returns A boolean value indicating whether the node is item node of the specified type.
|
|
29
|
-
*/
|
|
30
|
-
isItemNodeOfType: <T extends IdentifiableObject>(node: ContentExplorerNode | undefined, ctor: Constructor<T>) => node is ContentExplorerItemNode<T>;
|
|
31
|
-
/**
|
|
32
|
-
* Checks if a node is "items in progress" node.
|
|
33
|
-
*
|
|
34
|
-
* @param node - The node to check.
|
|
35
|
-
* @returns A boolean value indicating whether the node is "items in progress" node.
|
|
36
|
-
*/
|
|
37
|
-
isItemsInProgressNode: (node: ContentExplorerNode | undefined) => node is ContentExplorerItemsInProgressNode;
|
|
38
|
-
/**
|
|
39
|
-
* Checks if a node ID is "items in progress" node ID.
|
|
40
|
-
*
|
|
41
|
-
* @param nodeId - The ID of the node to check.
|
|
42
|
-
* @returns A boolean value indicating whether the node ID is "items in progress" node ID.
|
|
43
|
-
*/
|
|
44
|
-
isItemsInProgressNodeId: (nodeId: string) => boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Checks if a node is publications node.
|
|
47
|
-
*
|
|
48
|
-
* @param node - The node to check.
|
|
49
|
-
* @returns A boolean value indicating whether the node is publications node.
|
|
50
|
-
*/
|
|
51
|
-
isPublicationsNode: (node: ContentExplorerNode | undefined) => node is ContentExplorerPublicationsNode;
|
|
52
|
-
/**
|
|
53
|
-
* Checks if a node ID is publications node ID.
|
|
54
|
-
*
|
|
55
|
-
* @param nodeId - The ID of the node to check.
|
|
56
|
-
* @returns A boolean value indicating whether the node ID is publications node ID.
|
|
57
|
-
*/
|
|
58
|
-
isPublicationsNodeId: (nodeId: string) => boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Checks if a node is root node.
|
|
61
|
-
*
|
|
62
|
-
* @param node - The node to check.
|
|
63
|
-
* @returns A boolean value indicating whether the node is root node.
|
|
64
|
-
*/
|
|
65
|
-
isRootNode: (node: ContentExplorerNode | undefined) => node is ContentExplorerRootNode;
|
|
66
|
-
/**
|
|
67
|
-
* Checks if a node ID is root node ID.
|
|
68
|
-
*
|
|
69
|
-
* @param nodeId - The ID of the node to check.
|
|
70
|
-
* @returns A boolean value indicating whether the node ID is root node ID.
|
|
71
|
-
*/
|
|
72
|
-
isRootNodeId: (nodeId: string) => boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Checks if a node is system node.
|
|
75
|
-
*
|
|
76
|
-
* @param node - The node to check.
|
|
77
|
-
* @returns A boolean value indicating whether the node is system node.
|
|
78
|
-
*/
|
|
79
|
-
isSystemNode: (node: ContentExplorerNode | undefined) => node is ContentExplorerSystemNode;
|
|
80
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hierarchyUtils';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useBundleEditor';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Bundle, Schema } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface BundleEditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable Bundle.
|
|
8
|
-
*/
|
|
9
|
-
bundle: Bundle;
|
|
10
|
-
/**
|
|
11
|
-
* Bundle's metadata schema.
|
|
12
|
-
*/
|
|
13
|
-
metadataSchema: Schema | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Boolean that indicates that Bundle has unsaved changes.
|
|
16
|
-
*/
|
|
17
|
-
isChanged: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Boolean that indicates that Bundle can be edited.
|
|
20
|
-
*/
|
|
21
|
-
isEditing: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Hook for accessing Bundle Editor state when available.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* Safe to be used within or outside of the Bundle Editor.
|
|
28
|
-
* `undefined` is returned when used outside of Bundle Editor.
|
|
29
|
-
*
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export type OptionalBundleEditorHook = () => BundleEditorHookResult | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useCategoryEditor';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { KeywordCategory } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface CategoryEditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable Category.
|
|
8
|
-
*/
|
|
9
|
-
category: KeywordCategory;
|
|
10
|
-
/**
|
|
11
|
-
* Boolean that indicates that Category has unsaved changes.
|
|
12
|
-
*/
|
|
13
|
-
isChanged: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Boolean that indicates that Category can be edited.
|
|
16
|
-
*/
|
|
17
|
-
isEditing: boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Hook for accessing Keyword Editor data when available.
|
|
21
|
-
*
|
|
22
|
-
* @remarks
|
|
23
|
-
* Safe to be used within or outside of the Keyword Editor.
|
|
24
|
-
* `undefined` is returned when used outside of Keyword Editor.
|
|
25
|
-
*
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
export type OptionalCategoryEditorHook = () => CategoryEditorHookResult | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useComponentEditor';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Component, ExternalMultimediaComponent, MultimediaComponent, Schema } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface ComponentEditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable Component.
|
|
8
|
-
*/
|
|
9
|
-
component: Component | MultimediaComponent | ExternalMultimediaComponent;
|
|
10
|
-
/**
|
|
11
|
-
* Component's content and metadata schema.
|
|
12
|
-
*/
|
|
13
|
-
schema: Schema | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Boolean that indicates that Component has unsaved changes.
|
|
16
|
-
*/
|
|
17
|
-
isChanged: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Boolean that indicates that Component can be edited.
|
|
20
|
-
*/
|
|
21
|
-
isEditing: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Hook for accessing Component Editor data when available.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* Safe to be used within or outside of the Component Editor.
|
|
28
|
-
* `undefined` is returned when used outside of Component Editor.
|
|
29
|
-
*
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export type OptionalComponentEditorHook = () => ComponentEditorHookResult | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useFolderEditor';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Folder, Schema } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface FolderEditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable Folder.
|
|
8
|
-
*/
|
|
9
|
-
folder: Folder;
|
|
10
|
-
/**
|
|
11
|
-
* Folder's metadata schema.
|
|
12
|
-
*/
|
|
13
|
-
metadataSchema: Schema | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Boolean that indicates that Folder has unsaved changes.
|
|
16
|
-
*/
|
|
17
|
-
isChanged: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Boolean that indicates that Folder can be edited.
|
|
20
|
-
*/
|
|
21
|
-
isEditing: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Hook for accessing Folder Editor data when available.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* Safe to be used within or outside of the Folder Editor.
|
|
28
|
-
* `undefined` is returned when used outside of Folder Editor.
|
|
29
|
-
*
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export type OptionalFolderEditorHook = () => FolderEditorHookResult | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useEditor';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { Bundle, Component, Folder, Keyword, KeywordCategory, MultimediaComponent, Page, Schema, StructureGroup } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface EditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable item.
|
|
8
|
-
*/
|
|
9
|
-
item: Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup;
|
|
10
|
-
/**
|
|
11
|
-
* Item's metadata schema.
|
|
12
|
-
*/
|
|
13
|
-
schema: Schema | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Boolean that indicates that Item has unsaved changes.
|
|
16
|
-
*/
|
|
17
|
-
isChanged: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Boolean that indicates that item can be edited.
|
|
20
|
-
*/
|
|
21
|
-
isEditing: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Callback to update internal editor state.
|
|
24
|
-
*/
|
|
25
|
-
onUpdate: (item: Bundle | KeywordCategory | Component | MultimediaComponent | Folder | Keyword | Page | StructureGroup) => void;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @public
|
|
29
|
-
*/
|
|
30
|
-
export type EditorHook = () => EditorHookResult;
|
|
31
|
-
/**
|
|
32
|
-
* Hook for accessing Item Editor data when available.
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Safe to be used within or outside of the Item Editor.
|
|
36
|
-
* `undefined` is returned when used outside of Item Editor.
|
|
37
|
-
*
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export type OptionalEditorHook = () => EditorHookResult | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './component/hooks';
|
|
2
|
-
export * from './bundle/hooks';
|
|
3
|
-
export * from './category/hooks';
|
|
4
|
-
export * from './folder/hooks';
|
|
5
|
-
export * from './hooks';
|
|
6
|
-
export * from './keyword/hooks';
|
|
7
|
-
export * from './page/hooks';
|
|
8
|
-
export * from './structureGroup/hooks';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useKeywordEditor';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Keyword, Schema } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface KeywordEditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable Keyword.
|
|
8
|
-
*/
|
|
9
|
-
keyword: Keyword;
|
|
10
|
-
/**
|
|
11
|
-
* Keyword's metadata schema.
|
|
12
|
-
*/
|
|
13
|
-
metadataSchema: Schema | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Boolean that indicates that Keyword has unsaved changes.
|
|
16
|
-
*/
|
|
17
|
-
isChanged: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Boolean that indicates that Keyword can be edited.
|
|
20
|
-
*/
|
|
21
|
-
isEditing: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Hook for accessing Keyword Editor data when available.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* Safe to be used within or outside of the Keyword Editor.
|
|
28
|
-
* `undefined` is returned when used outside of Keyword Editor.
|
|
29
|
-
*
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export type OptionalKeywordEditorHook = () => KeywordEditorHookResult | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './usePageEditor';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { Page, PageTemplate, Schema } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface PageEditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable Page.
|
|
8
|
-
*/
|
|
9
|
-
page: Page;
|
|
10
|
-
/**
|
|
11
|
-
* Template that is used to publish Page with.
|
|
12
|
-
*/
|
|
13
|
-
pageTemplate: PageTemplate | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Page's metadata schema.
|
|
16
|
-
*/
|
|
17
|
-
metadataSchema: Schema | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* Boolean that indicates that Page has unsaved changes.
|
|
20
|
-
*/
|
|
21
|
-
isChanged: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Boolean that indicates that Page can be edited.
|
|
24
|
-
*/
|
|
25
|
-
isEditing: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Boolean that indicates whether any components in the page have unsaved changes.
|
|
28
|
-
*/
|
|
29
|
-
hasUnsavedRelatives: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Hook for accessing Page Editor data when available.
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Safe to be used within or outside of the Page Editor.
|
|
36
|
-
* `undefined` is returned when used outside of Page Editor.
|
|
37
|
-
*
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export type OptionalPageEditorHook = () => PageEditorHookResult | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useStructureGroupEditor';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Schema, StructureGroup } from '@tridion-sites/models';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface StructureGroupEditorHookResult {
|
|
6
|
-
/**
|
|
7
|
-
* Editable Structure Group.
|
|
8
|
-
*/
|
|
9
|
-
structureGroup: StructureGroup;
|
|
10
|
-
/**
|
|
11
|
-
* Structure Group's metadata schema.
|
|
12
|
-
*/
|
|
13
|
-
metadataSchema: Schema | undefined;
|
|
14
|
-
/**
|
|
15
|
-
* Boolean that indicates that Structure Group has unsaved changes.
|
|
16
|
-
*/
|
|
17
|
-
isChanged: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Boolean that indicates that Structure Group can be edited.
|
|
20
|
-
*/
|
|
21
|
-
isEditing: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Hook for accessing Structure Group Editor data when available.
|
|
25
|
-
*
|
|
26
|
-
* @remarks
|
|
27
|
-
* Safe to be used within or outside of the Structure Group Editor.
|
|
28
|
-
* `undefined` is returned when used outside of Structure Group Editor.
|
|
29
|
-
*
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export type OptionalStructureGroupEditorHook = () => StructureGroupEditorHookResult | undefined;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ForwardRefExoticComponent, MouseEvent, RefAttributes } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* @public
|
|
4
|
-
*/
|
|
5
|
-
export interface ButtonProps extends RefAttributes<HTMLElement> {
|
|
6
|
-
/**
|
|
7
|
-
* Callback executed when the button is clicked.
|
|
8
|
-
*/
|
|
9
|
-
onClick: (event: MouseEvent) => void;
|
|
10
|
-
/**
|
|
11
|
-
* If `true`, the element is displayed in a disabled state.
|
|
12
|
-
*/
|
|
13
|
-
isDisabled?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* If `true`, the element shows a processing indicator.
|
|
16
|
-
*/
|
|
17
|
-
isProcessing?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Text that is displayed inside button, i.e., the button label.
|
|
20
|
-
* If omitted, you must provide a `tooltip`.
|
|
21
|
-
*/
|
|
22
|
-
label?: string;
|
|
23
|
-
/**
|
|
24
|
-
* A tooltip text that is displayed when the element is hovered.
|
|
25
|
-
* Can be omitted if `label` is specified. Required if there is no `label` specified.
|
|
26
|
-
* For accessibility purposes, the tooltip is only displayed when it differs from the label.
|
|
27
|
-
*/
|
|
28
|
-
tooltip?: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @public
|
|
32
|
-
*/
|
|
33
|
-
export type ButtonComponent = ForwardRefExoticComponent<ButtonProps>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
import type { ColorProps, SizeProps, SpaceProps, TooltipProps } from "../..";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export interface IconProps extends TooltipProps, SpaceProps, SizeProps, ColorProps {
|
|
7
|
-
/**
|
|
8
|
-
* ViewBox of the provided content.
|
|
9
|
-
*/
|
|
10
|
-
viewBox: string;
|
|
11
|
-
/**
|
|
12
|
-
* SVG content to render.
|
|
13
|
-
*/
|
|
14
|
-
children: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export type IconComponent = FunctionComponent<IconProps>;
|