@tridion-sites/extensions 2.0.2 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +86 -24
- package/dist/index.d.ts +7 -5
- package/dist/index.js +6 -9
- package/package.json +26 -27
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +0 -63
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +0 -41
- package/dist/dts/api/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/api/contentExplorer/components/index.d.ts +0 -2
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +0 -29
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +0 -21
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +0 -102
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +0 -3
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +0 -123
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +0 -39
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +0 -27
- package/dist/dts/api/contentExplorer/index.d.ts +0 -4
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +0 -80
- package/dist/dts/api/contentExplorer/utils/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +0 -32
- package/dist/dts/api/editors/category/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +0 -28
- package/dist/dts/api/editors/component/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +0 -32
- package/dist/dts/api/editors/folder/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +0 -32
- package/dist/dts/api/editors/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/hooks/useEditor.d.ts +0 -40
- package/dist/dts/api/editors/index.d.ts +0 -8
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +0 -32
- package/dist/dts/api/editors/page/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +0 -40
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +0 -32
- package/dist/dts/api/general/components/button.d.ts +0 -33
- package/dist/dts/api/general/components/icon.d.ts +0 -19
- package/dist/dts/api/general/components/index.d.ts +0 -7
- package/dist/dts/api/general/components/layout/block.d.ts +0 -55
- package/dist/dts/api/general/components/layout/center.d.ts +0 -12
- package/dist/dts/api/general/components/layout/flex.d.ts +0 -50
- package/dist/dts/api/general/components/layout/index.d.ts +0 -4
- package/dist/dts/api/general/components/layout/stack.d.ts +0 -39
- package/dist/dts/api/general/components/link.d.ts +0 -29
- package/dist/dts/api/general/components/modal.d.ts +0 -61
- package/dist/dts/api/general/components/text.d.ts +0 -82
- package/dist/dts/api/general/components/textLink.d.ts +0 -16
- package/dist/dts/api/general/globals/borderRadius.d.ts +0 -15
- package/dist/dts/api/general/globals/color.d.ts +0 -41
- package/dist/dts/api/general/globals/index.d.ts +0 -6
- package/dist/dts/api/general/globals/opacity.d.ts +0 -16
- package/dist/dts/api/general/globals/spacing.d.ts +0 -19
- package/dist/dts/api/general/globals/transitionDuration.d.ts +0 -14
- package/dist/dts/api/general/globals/zIndex.d.ts +0 -18
- package/dist/dts/api/general/hooks/index.d.ts +0 -4
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +0 -40
- package/dist/dts/api/general/hooks/useModal.d.ts +0 -68
- package/dist/dts/api/general/hooks/useNotifications.d.ts +0 -46
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +0 -14
- package/dist/dts/api/general/index.d.ts +0 -6
- package/dist/dts/api/general/mixins/accessibility.d.ts +0 -50
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +0 -10
- package/dist/dts/api/general/mixins/clickable.d.ts +0 -7
- package/dist/dts/api/general/mixins/color.d.ts +0 -10
- package/dist/dts/api/general/mixins/customIcon.d.ts +0 -10
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +0 -13
- package/dist/dts/api/general/mixins/index.d.ts +0 -10
- package/dist/dts/api/general/mixins/opacity.d.ts +0 -11
- package/dist/dts/api/general/mixins/sizing.d.ts +0 -35
- package/dist/dts/api/general/mixins/spacing.d.ts +0 -16
- package/dist/dts/api/general/mixins/tooltip.d.ts +0 -9
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +0 -6
- package/dist/dts/api/general/mutations/index.d.ts +0 -10
- package/dist/dts/api/general/mutations/item/index.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +0 -22
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +0 -62
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +0 -29
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +0 -21
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +0 -46
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +0 -38
- package/dist/dts/api/general/mutations/mutationResult.d.ts +0 -73
- package/dist/dts/api/general/mutations/translation/index.d.ts +0 -1
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +0 -31
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +0 -52
- package/dist/dts/api/general/mutations/workflow/index.d.ts +0 -9
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +0 -39
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +0 -16
- package/dist/dts/api/general/queries/index.d.ts +0 -10
- package/dist/dts/api/general/queries/item/index.d.ts +0 -14
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +0 -21
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +0 -28
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/lists/index.d.ts +0 -6
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +0 -32
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +0 -38
- package/dist/dts/api/general/queries/loadingState.d.ts +0 -10
- package/dist/dts/api/general/queries/publishing/index.d.ts +0 -5
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +0 -40
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/queryOptions.d.ts +0 -67
- package/dist/dts/api/general/queries/queryResult.d.ts +0 -93
- package/dist/dts/api/general/queries/search/index.d.ts +0 -2
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +0 -27
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/translation/index.d.ts +0 -1
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +0 -17
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/workflow/index.d.ts +0 -1
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +0 -37
- package/dist/dts/api/index.d.ts +0 -5
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +0 -62
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +0 -41
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +0 -32
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +0 -28
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/index.d.ts +0 -8
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +0 -22
- package/dist/dts/apiBridge/generalApiStorage.d.ts +0 -144
- package/dist/dts/apiBridge/index.d.ts +0 -6
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +0 -5
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +0 -58
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +0 -3
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +0 -73
- package/dist/dts/apiWrappers/editors/hooks.d.ts +0 -63
- package/dist/dts/apiWrappers/editors/index.d.ts +0 -1
- package/dist/dts/apiWrappers/general/components.d.ts +0 -88
- package/dist/dts/apiWrappers/general/globals.d.ts +0 -37
- package/dist/dts/apiWrappers/general/hooks.d.ts +0 -25
- package/dist/dts/apiWrappers/general/index.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +0 -30
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +0 -4
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +0 -137
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +0 -47
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/index.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +0 -85
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +0 -25
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +0 -19
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +0 -13
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/index.d.ts +0 -5
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +0 -43
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +0 -20
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +0 -10
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +0 -70
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +0 -4
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +0 -40
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +0 -41
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +0 -15
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +0 -85
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +0 -69
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +0 -5
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +0 -2
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +0 -64
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +0 -11
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +0 -86
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +0 -30
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +0 -6
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +0 -2
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +0 -37
- package/dist/dts/extensionPoints/extensionPoints.d.ts +0 -17
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/header/index.d.ts +0 -3
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +0 -4
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +0 -65
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +0 -20
- package/dist/dts/extensionPoints/index.d.ts +0 -12
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +0 -1
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +0 -39
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +0 -3
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +0 -5
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +0 -14
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +0 -1
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +0 -70
- package/dist/dts/extensionPoints/translations/index.d.ts +0 -3
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +0 -17
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +0 -23
- package/dist/dts/frameworkInfo.d.ts +0 -7
- package/dist/dts/index.d.ts +0 -6
- package/dist/dts/module/createExtensionGlobals.d.ts +0 -11
- package/dist/dts/module/extensionGlobals.d.ts +0 -7
- package/dist/dts/module/extensionModule.d.ts +0 -11
- package/dist/dts/module/index.d.ts +0 -4
- package/dist/dts/module/runtimeInformation.d.ts +0 -7
|
@@ -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>;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties, DragEvent, FocusEvent, ForwardRefExoticComponent, KeyboardEvent, MouseEvent, ReactHTML, ReactNode, RefAttributes } from 'react';
|
|
2
|
-
import type { AriaProps, BackgroundColorProps, ClickableProps, FocusBehaviorProps, OpacityProps, SizeProps, SpaceProps, TooltipProps } from "../../..";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export type Tag = keyof ReactHTML;
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export interface BlockProps extends RefAttributes<HTMLElement>, SpaceProps, SizeProps, ClickableProps, BackgroundColorProps, OpacityProps, TooltipProps, FocusBehaviorProps {
|
|
11
|
-
/**
|
|
12
|
-
* Accessibility-related props.
|
|
13
|
-
*/
|
|
14
|
-
aria?: Partial<AriaProps>;
|
|
15
|
-
/**
|
|
16
|
-
* The Block's content.
|
|
17
|
-
*/
|
|
18
|
-
children?: ReactNode;
|
|
19
|
-
/**
|
|
20
|
-
* Custom CSS class that should be passed to the node.
|
|
21
|
-
* Should be used for custom styling that is not covered by other properties.
|
|
22
|
-
*/
|
|
23
|
-
className?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Custom CSS style that would be applied to the node directly.
|
|
26
|
-
* Useful for frequently changing styles, e.g., animation.
|
|
27
|
-
* In the case of less frequent updates it is preferable to use 'className' prop.
|
|
28
|
-
*/
|
|
29
|
-
cssStyle?: CSSProperties;
|
|
30
|
-
/**
|
|
31
|
-
* Should content be scrollable?
|
|
32
|
-
* Scrollbar will not appear if content doesn't overflow Block (i.e: if Block's size is not restricted).
|
|
33
|
-
*/
|
|
34
|
-
hasScroll?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* The HTML tag that should be used for this component.
|
|
37
|
-
*/
|
|
38
|
-
tag?: Tag;
|
|
39
|
-
onBlur?: (event: FocusEvent<HTMLElement>) => void;
|
|
40
|
-
onFocus?: (event: FocusEvent<HTMLElement>) => void;
|
|
41
|
-
onKeyDown?: (event: KeyboardEvent<HTMLElement>) => void;
|
|
42
|
-
onMouseDown?: (event: MouseEvent<HTMLElement>) => void;
|
|
43
|
-
onMouseEnter?: (event: MouseEvent<HTMLElement>) => void;
|
|
44
|
-
onMouseLeave?: (event: MouseEvent<HTMLElement>) => void;
|
|
45
|
-
onDragEnter?: (event: DragEvent<HTMLElement>) => void;
|
|
46
|
-
onDragLeave?: (event: DragEvent<HTMLElement>) => void;
|
|
47
|
-
onDragOver?: (event: DragEvent<HTMLElement>) => void;
|
|
48
|
-
onDrop?: (event: DragEvent<HTMLElement>) => void;
|
|
49
|
-
onDoubleClick?: (event: MouseEvent<HTMLElement>) => void;
|
|
50
|
-
onContextMenu?: (event: MouseEvent<HTMLElement>) => void;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @public
|
|
54
|
-
*/
|
|
55
|
-
export type BlockComponent = ForwardRefExoticComponent<BlockProps>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { ForwardRefExoticComponent } from 'react';
|
|
2
|
-
import type { FlexProps } from "../../..";
|
|
3
|
-
import type { Without } from '@tridion/graphene';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface CenterProps extends Without<FlexProps, 'mainAxis' | 'crossAxis'> {
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export type CenterComponent = ForwardRefExoticComponent<CenterProps>;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { ForwardRefExoticComponent } from 'react';
|
|
2
|
-
import type { BlockProps } from "../../..";
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export type AxisDirection = 'row' | 'column';
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export type MainAxisAlignment = 'start' | 'center' | 'end' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch';
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
export type CrossAxisAlignment = 'start' | 'center' | 'end' | 'stretch';
|
|
15
|
-
/**
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
export interface FlexProps extends BlockProps {
|
|
19
|
-
/**
|
|
20
|
-
* Defines how items are placed in the container.
|
|
21
|
-
*/
|
|
22
|
-
direction?: AxisDirection;
|
|
23
|
-
/**
|
|
24
|
-
* Item alignment on the main axis.
|
|
25
|
-
*/
|
|
26
|
-
mainAxis?: MainAxisAlignment;
|
|
27
|
-
/**
|
|
28
|
-
* Item alignment on the cross axis.
|
|
29
|
-
* Items are centered by default if direction="row".
|
|
30
|
-
*/
|
|
31
|
-
crossAxis?: CrossAxisAlignment;
|
|
32
|
-
/**
|
|
33
|
-
* Render as an inline-level element or as a block-level one?
|
|
34
|
-
*/
|
|
35
|
-
inline?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Whether flex items are forced onto one line or can wrap onto multiple lines.
|
|
38
|
-
*/
|
|
39
|
-
shouldWrap?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Take available space in the parent.
|
|
42
|
-
* The parent is required to be Flex for this property to work.
|
|
43
|
-
* Multiple components with this property set to true are going to split available space equally between them.
|
|
44
|
-
*/
|
|
45
|
-
shouldFill?: boolean;
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
export type FlexComponent = ForwardRefExoticComponent<FlexProps>;
|