@dextinity/cms-admin 2.0.0-canary-20260729062014
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/lib/blocks/AnchorBlock.d.ts +5 -0
- package/lib/blocks/AnchorBlock.d.ts.map +1 -0
- package/lib/blocks/AnchorBlock.js +65 -0
- package/lib/blocks/DamVideoBlock.d.ts +9 -0
- package/lib/blocks/DamVideoBlock.d.ts.map +1 -0
- package/lib/blocks/DamVideoBlock.generated.d.ts +25 -0
- package/lib/blocks/DamVideoBlock.generated.d.ts.map +1 -0
- package/lib/blocks/DamVideoBlock.generated.js +5 -0
- package/lib/blocks/DamVideoBlock.js +214 -0
- package/lib/blocks/EmailLinkBlock.d.ts +4 -0
- package/lib/blocks/EmailLinkBlock.d.ts.map +1 -0
- package/lib/blocks/EmailLinkBlock.js +66 -0
- package/lib/blocks/ExternalLinkBlock.d.ts +6 -0
- package/lib/blocks/ExternalLinkBlock.d.ts.map +1 -0
- package/lib/blocks/ExternalLinkBlock.js +125 -0
- package/lib/blocks/InternalLinkBlock.d.ts +6 -0
- package/lib/blocks/InternalLinkBlock.d.ts.map +1 -0
- package/lib/blocks/InternalLinkBlock.generated.d.ts +20 -0
- package/lib/blocks/InternalLinkBlock.generated.d.ts.map +1 -0
- package/lib/blocks/InternalLinkBlock.generated.js +5 -0
- package/lib/blocks/InternalLinkBlock.js +200 -0
- package/lib/blocks/PhoneLinkBlock.d.ts +4 -0
- package/lib/blocks/PhoneLinkBlock.d.ts.map +1 -0
- package/lib/blocks/PhoneLinkBlock.js +60 -0
- package/lib/blocks/PixelImageBlock.d.ts +5 -0
- package/lib/blocks/PixelImageBlock.d.ts.map +1 -0
- package/lib/blocks/PixelImageBlock.fragment.d.ts +2 -0
- package/lib/blocks/PixelImageBlock.fragment.d.ts.map +1 -0
- package/lib/blocks/PixelImageBlock.fragment.generated.d.ts +20 -0
- package/lib/blocks/PixelImageBlock.fragment.generated.d.ts.map +1 -0
- package/lib/blocks/PixelImageBlock.fragment.generated.js +5 -0
- package/lib/blocks/PixelImageBlock.fragment.js +4 -0
- package/lib/blocks/PixelImageBlock.generated.d.ts +38 -0
- package/lib/blocks/PixelImageBlock.generated.d.ts.map +1 -0
- package/lib/blocks/PixelImageBlock.generated.js +5 -0
- package/lib/blocks/PixelImageBlock.js +296 -0
- package/lib/blocks/SpaceBlock.d.ts +7 -0
- package/lib/blocks/SpaceBlock.d.ts.map +1 -0
- package/lib/blocks/SpaceBlock.js +87 -0
- package/lib/blocks/SvgImageBlock.d.ts +6 -0
- package/lib/blocks/SvgImageBlock.d.ts.map +1 -0
- package/lib/blocks/SvgImageBlock.generated.d.ts +25 -0
- package/lib/blocks/SvgImageBlock.generated.d.ts.map +1 -0
- package/lib/blocks/SvgImageBlock.generated.js +5 -0
- package/lib/blocks/SvgImageBlock.js +195 -0
- package/lib/blocks/VimeoVideoBlock.d.ts +9 -0
- package/lib/blocks/VimeoVideoBlock.d.ts.map +1 -0
- package/lib/blocks/VimeoVideoBlock.js +162 -0
- package/lib/blocks/YouTubeVideoBlock.d.ts +9 -0
- package/lib/blocks/YouTubeVideoBlock.d.ts.map +1 -0
- package/lib/blocks/YouTubeVideoBlock.js +161 -0
- package/lib/blocks/clipboard/CannotPasteBlockDialog.d.ts +9 -0
- package/lib/blocks/clipboard/CannotPasteBlockDialog.d.ts.map +1 -0
- package/lib/blocks/clipboard/CannotPasteBlockDialog.js +38 -0
- package/lib/blocks/clipboard/useBlockClipboard.d.ts +26 -0
- package/lib/blocks/clipboard/useBlockClipboard.d.ts.map +1 -0
- package/lib/blocks/clipboard/useBlockClipboard.js +180 -0
- package/lib/blocks/common/AddBlockDrawer.d.ts +10 -0
- package/lib/blocks/common/AddBlockDrawer.d.ts.map +1 -0
- package/lib/blocks/common/AddBlockDrawer.js +268 -0
- package/lib/blocks/common/AdminComponentStickyFooter.d.ts +2 -0
- package/lib/blocks/common/AdminComponentStickyFooter.d.ts.map +1 -0
- package/lib/blocks/common/AdminComponentStickyFooter.js +13 -0
- package/lib/blocks/common/AdminComponentStickyHeader.d.ts +2 -0
- package/lib/blocks/common/AdminComponentStickyHeader.d.ts.map +1 -0
- package/lib/blocks/common/AdminComponentStickyHeader.js +13 -0
- package/lib/blocks/common/AdminTabsTabContent.d.ts +7 -0
- package/lib/blocks/common/AdminTabsTabContent.d.ts.map +1 -0
- package/lib/blocks/common/AdminTabsTabContent.js +48 -0
- package/lib/blocks/common/BlockAdminComponentButton.d.ts +11 -0
- package/lib/blocks/common/BlockAdminComponentButton.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminComponentButton.js +31 -0
- package/lib/blocks/common/BlockAdminComponentNestedButton.d.ts +11 -0
- package/lib/blocks/common/BlockAdminComponentNestedButton.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminComponentNestedButton.js +56 -0
- package/lib/blocks/common/BlockAdminComponentPaper.d.ts +8 -0
- package/lib/blocks/common/BlockAdminComponentPaper.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminComponentPaper.js +29 -0
- package/lib/blocks/common/BlockAdminComponentRoot.d.ts +7 -0
- package/lib/blocks/common/BlockAdminComponentRoot.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminComponentRoot.js +46 -0
- package/lib/blocks/common/BlockAdminComponentSection.d.ts +9 -0
- package/lib/blocks/common/BlockAdminComponentSection.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminComponentSection.js +52 -0
- package/lib/blocks/common/BlockAdminComponentSectionGroup.d.ts +7 -0
- package/lib/blocks/common/BlockAdminComponentSectionGroup.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminComponentSectionGroup.js +26 -0
- package/lib/blocks/common/BlockAdminTabLabel.d.ts +7 -0
- package/lib/blocks/common/BlockAdminTabLabel.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminTabLabel.js +22 -0
- package/lib/blocks/common/BlockAdminTabs.d.ts +7 -0
- package/lib/blocks/common/BlockAdminTabs.d.ts.map +1 -0
- package/lib/blocks/common/BlockAdminTabs.js +93 -0
- package/lib/blocks/common/Collapsible.d.ts +9 -0
- package/lib/blocks/common/Collapsible.d.ts.map +1 -0
- package/lib/blocks/common/Collapsible.js +24 -0
- package/lib/blocks/common/CollapsibleSwitchButtonHeader.d.ts +8 -0
- package/lib/blocks/common/CollapsibleSwitchButtonHeader.d.ts.map +1 -0
- package/lib/blocks/common/CollapsibleSwitchButtonHeader.js +28 -0
- package/lib/blocks/common/HiddenInSubroute.d.ts +5 -0
- package/lib/blocks/common/HiddenInSubroute.d.ts.map +1 -0
- package/lib/blocks/common/HiddenInSubroute.js +11 -0
- package/lib/blocks/common/blockRow/BlockPreviewContent.d.ts +12 -0
- package/lib/blocks/common/blockRow/BlockPreviewContent.d.ts.map +1 -0
- package/lib/blocks/common/blockRow/BlockPreviewContent.js +47 -0
- package/lib/blocks/common/blockRow/BlockPreviewContent.sc.d.ts +6 -0
- package/lib/blocks/common/blockRow/BlockPreviewContent.sc.d.ts.map +1 -0
- package/lib/blocks/common/blockRow/BlockPreviewContent.sc.js +60 -0
- package/lib/blocks/common/blockRow/BlockRow.d.ts +23 -0
- package/lib/blocks/common/blockRow/BlockRow.d.ts.map +1 -0
- package/lib/blocks/common/blockRow/BlockRow.js +226 -0
- package/lib/blocks/common/blockRow/BlockRow.sc.d.ts +17 -0
- package/lib/blocks/common/blockRow/BlockRow.sc.d.ts.map +1 -0
- package/lib/blocks/common/blockRow/BlockRow.sc.js +151 -0
- package/lib/blocks/common/blockRow/image/StackedImages.d.ts +8 -0
- package/lib/blocks/common/blockRow/image/StackedImages.d.ts.map +1 -0
- package/lib/blocks/common/blockRow/image/StackedImages.js +42 -0
- package/lib/blocks/common/blockRow/image/StackedImages.sc.d.ts +9 -0
- package/lib/blocks/common/blockRow/image/StackedImages.sc.d.ts.map +1 -0
- package/lib/blocks/common/blockRow/image/StackedImages.sc.js +132 -0
- package/lib/blocks/common/usePromise.d.ts +8 -0
- package/lib/blocks/common/usePromise.d.ts.map +1 -0
- package/lib/blocks/common/usePromise.js +56 -0
- package/lib/blocks/common/useScrollRestoration.d.ts +8 -0
- package/lib/blocks/common/useScrollRestoration.d.ts.map +1 -0
- package/lib/blocks/common/useScrollRestoration.js +23 -0
- package/lib/blocks/config/BlocksConfigContext.d.ts +16 -0
- package/lib/blocks/config/BlocksConfigContext.d.ts.map +1 -0
- package/lib/blocks/config/BlocksConfigContext.js +17 -0
- package/lib/blocks/context/BlockContext.d.ts +10 -0
- package/lib/blocks/context/BlockContext.d.ts.map +1 -0
- package/lib/blocks/context/BlockContext.js +2 -0
- package/lib/blocks/context/BlockContextProvider.d.ts +8 -0
- package/lib/blocks/context/BlockContextProvider.d.ts.map +1 -0
- package/lib/blocks/context/BlockContextProvider.js +10 -0
- package/lib/blocks/context/useBlockContext.d.ts +3 -0
- package/lib/blocks/context/useBlockContext.d.ts.map +1 -0
- package/lib/blocks/context/useBlockContext.js +26 -0
- package/lib/blocks/createImageLinkBlock.d.ts +11 -0
- package/lib/blocks/createImageLinkBlock.d.ts.map +1 -0
- package/lib/blocks/createImageLinkBlock.js +38 -0
- package/lib/blocks/createLinkBlock.d.ts +11 -0
- package/lib/blocks/createLinkBlock.d.ts.map +1 -0
- package/lib/blocks/createLinkBlock.js +172 -0
- package/lib/blocks/createRichTextBlock.d.ts +19 -0
- package/lib/blocks/createRichTextBlock.d.ts.map +1 -0
- package/lib/blocks/createRichTextBlock.js +346 -0
- package/lib/blocks/createSeoBlock.d.ts +7 -0
- package/lib/blocks/createSeoBlock.d.ts.map +1 -0
- package/lib/blocks/createSeoBlock.js +455 -0
- package/lib/blocks/createTableBlock.d.ts +23 -0
- package/lib/blocks/createTableBlock.d.ts.map +1 -0
- package/lib/blocks/createTableBlock.js +243 -0
- package/lib/blocks/createTextImageBlock.d.ts +19 -0
- package/lib/blocks/createTextImageBlock.d.ts.map +1 -0
- package/lib/blocks/createTextImageBlock.js +132 -0
- package/lib/blocks/createTextLinkBlock.d.ts +12 -0
- package/lib/blocks/createTextLinkBlock.d.ts.map +1 -0
- package/lib/blocks/createTextLinkBlock.js +140 -0
- package/lib/blocks/factories/columnsBlock/ColumnsIcon.d.ts +8 -0
- package/lib/blocks/factories/columnsBlock/ColumnsIcon.d.ts.map +1 -0
- package/lib/blocks/factories/columnsBlock/ColumnsIcon.js +81 -0
- package/lib/blocks/factories/columnsBlock/ColumnsLayoutPreview.d.ts +13 -0
- package/lib/blocks/factories/columnsBlock/ColumnsLayoutPreview.d.ts.map +1 -0
- package/lib/blocks/factories/columnsBlock/ColumnsLayoutPreview.js +63 -0
- package/lib/blocks/factories/columnsBlock/FinalFormColumnsSelect.d.ts +7 -0
- package/lib/blocks/factories/columnsBlock/FinalFormColumnsSelect.d.ts.map +1 -0
- package/lib/blocks/factories/columnsBlock/FinalFormColumnsSelect.js +26 -0
- package/lib/blocks/factories/columnsBlock/FinalFormLayoutSelect.d.ts +8 -0
- package/lib/blocks/factories/columnsBlock/FinalFormLayoutSelect.d.ts.map +1 -0
- package/lib/blocks/factories/columnsBlock/FinalFormLayoutSelect.js +161 -0
- package/lib/blocks/factories/createBlocksBlock.d.ts +59 -0
- package/lib/blocks/factories/createBlocksBlock.d.ts.map +1 -0
- package/lib/blocks/factories/createBlocksBlock.js +1071 -0
- package/lib/blocks/factories/createColumnsBlock.d.ts +37 -0
- package/lib/blocks/factories/createColumnsBlock.d.ts.map +1 -0
- package/lib/blocks/factories/createColumnsBlock.js +672 -0
- package/lib/blocks/factories/createCompositeBlock.d.ts +94 -0
- package/lib/blocks/factories/createCompositeBlock.d.ts.map +1 -0
- package/lib/blocks/factories/createCompositeBlock.js +308 -0
- package/lib/blocks/factories/createListBlock.d.ts +59 -0
- package/lib/blocks/factories/createListBlock.d.ts.map +1 -0
- package/lib/blocks/factories/createListBlock.js +686 -0
- package/lib/blocks/factories/createOneOfBlock.d.ts +52 -0
- package/lib/blocks/factories/createOneOfBlock.d.ts.map +1 -0
- package/lib/blocks/factories/createOneOfBlock.js +644 -0
- package/lib/blocks/factories/createOptionalBlock.d.ts +21 -0
- package/lib/blocks/factories/createOptionalBlock.d.ts.map +1 -0
- package/lib/blocks/factories/createOptionalBlock.js +253 -0
- package/lib/blocks/factories/listBlock/createUseAdminComponent.d.ts +29 -0
- package/lib/blocks/factories/listBlock/createUseAdminComponent.d.ts.map +1 -0
- package/lib/blocks/factories/listBlock/createUseAdminComponent.js +297 -0
- package/lib/blocks/factories/spaceBlock/createSpaceBlock.d.ts +15 -0
- package/lib/blocks/factories/spaceBlock/createSpaceBlock.d.ts.map +1 -0
- package/lib/blocks/factories/spaceBlock/createSpaceBlock.js +72 -0
- package/lib/blocks/form/AutosaveFinalForm.d.ts +7 -0
- package/lib/blocks/form/AutosaveFinalForm.d.ts.map +1 -0
- package/lib/blocks/form/AutosaveFinalForm.js +39 -0
- package/lib/blocks/form/BlocksFinalForm.d.ts +4 -0
- package/lib/blocks/form/BlocksFinalForm.d.ts.map +1 -0
- package/lib/blocks/form/BlocksFinalForm.js +73 -0
- package/lib/blocks/form/createFinalFormBlock.d.ts +5 -0
- package/lib/blocks/form/createFinalFormBlock.d.ts.map +1 -0
- package/lib/blocks/form/createFinalFormBlock.js +19 -0
- package/lib/blocks/helpers/VideoOptionsFields.d.ts +2 -0
- package/lib/blocks/helpers/VideoOptionsFields.d.ts.map +1 -0
- package/lib/blocks/helpers/VideoOptionsFields.js +42 -0
- package/lib/blocks/helpers/composeBlocks/composeBlocks.d.ts +23 -0
- package/lib/blocks/helpers/composeBlocks/composeBlocks.d.ts.map +1 -0
- package/lib/blocks/helpers/composeBlocks/composeBlocks.js +364 -0
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockField.d.ts +13 -0
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockField.d.ts.map +1 -0
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockField.js +17 -0
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockFields.d.ts +12 -0
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockFields.d.ts.map +1 -0
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockFields.js +17 -0
- package/lib/blocks/helpers/composeBlocks/createSettingsBlock.d.ts +12 -0
- package/lib/blocks/helpers/composeBlocks/createSettingsBlock.d.ts.map +1 -0
- package/lib/blocks/helpers/composeBlocks/createSettingsBlock.js +78 -0
- package/lib/blocks/helpers/composeBlocks/types.d.ts +58 -0
- package/lib/blocks/helpers/composeBlocks/types.d.ts.map +1 -0
- package/lib/blocks/helpers/composeBlocks/types.js +1 -0
- package/lib/blocks/helpers/composeBlocks/utility-types.d.ts +7 -0
- package/lib/blocks/helpers/composeBlocks/utility-types.d.ts.map +1 -0
- package/lib/blocks/helpers/composeBlocks/utility-types.js +1 -0
- package/lib/blocks/helpers/composeBlocks/utils.d.ts +12 -0
- package/lib/blocks/helpers/composeBlocks/utils.d.ts.map +1 -0
- package/lib/blocks/helpers/composeBlocks/utils.js +136 -0
- package/lib/blocks/helpers/createBlockSkeleton.d.ts +8 -0
- package/lib/blocks/helpers/createBlockSkeleton.d.ts.map +1 -0
- package/lib/blocks/helpers/createBlockSkeleton.js +130 -0
- package/lib/blocks/helpers/createCompositeBlockSelectField.d.ts +17 -0
- package/lib/blocks/helpers/createCompositeBlockSelectField.d.ts.map +1 -0
- package/lib/blocks/helpers/createCompositeBlockSelectField.js +48 -0
- package/lib/blocks/helpers/createCompositeBlockSwitchField.d.ts +11 -0
- package/lib/blocks/helpers/createCompositeBlockSwitchField.d.ts.map +1 -0
- package/lib/blocks/helpers/createCompositeBlockSwitchField.js +45 -0
- package/lib/blocks/helpers/createCompositeBlockTextField.d.ts +16 -0
- package/lib/blocks/helpers/createCompositeBlockTextField.d.ts.map +1 -0
- package/lib/blocks/helpers/createCompositeBlockTextField.js +61 -0
- package/lib/blocks/helpers/decomposeUpdateStateAction.d.ts +13 -0
- package/lib/blocks/helpers/decomposeUpdateStateAction.d.ts.map +1 -0
- package/lib/blocks/helpers/decomposeUpdateStateAction.js +42 -0
- package/lib/blocks/helpers/deduplicateBlockDependencies.d.ts +3 -0
- package/lib/blocks/helpers/deduplicateBlockDependencies.d.ts.map +1 -0
- package/lib/blocks/helpers/deduplicateBlockDependencies.js +28 -0
- package/lib/blocks/helpers/isBlockInterface.d.ts +3 -0
- package/lib/blocks/helpers/isBlockInterface.d.ts.map +1 -0
- package/lib/blocks/helpers/isBlockInterface.js +7 -0
- package/lib/blocks/helpers/withAdditionalBlockAttributes.d.ts +7 -0
- package/lib/blocks/helpers/withAdditionalBlockAttributes.d.ts.map +1 -0
- package/lib/blocks/helpers/withAdditionalBlockAttributes.js +59 -0
- package/lib/blocks/iframebridge/HoverPreviewComponent.d.ts +7 -0
- package/lib/blocks/iframebridge/HoverPreviewComponent.d.ts.map +1 -0
- package/lib/blocks/iframebridge/HoverPreviewComponent.js +53 -0
- package/lib/blocks/iframebridge/HoverPreviewComponent.sc.d.ts +8 -0
- package/lib/blocks/iframebridge/HoverPreviewComponent.sc.d.ts.map +1 -0
- package/lib/blocks/iframebridge/HoverPreviewComponent.sc.js +47 -0
- package/lib/blocks/iframebridge/IFrameBridge.d.ts +20 -0
- package/lib/blocks/iframebridge/IFrameBridge.d.ts.map +1 -0
- package/lib/blocks/iframebridge/IFrameBridge.js +155 -0
- package/lib/blocks/iframebridge/IFrameMessage.d.ts +122 -0
- package/lib/blocks/iframebridge/IFrameMessage.d.ts.map +1 -0
- package/lib/blocks/iframebridge/IFrameMessage.js +75 -0
- package/lib/blocks/iframebridge/SelectPreviewComponent.d.ts +5 -0
- package/lib/blocks/iframebridge/SelectPreviewComponent.d.ts.map +1 -0
- package/lib/blocks/iframebridge/SelectPreviewComponent.js +17 -0
- package/lib/blocks/iframebridge/useIFrameBridge.d.ts +3 -0
- package/lib/blocks/iframebridge/useIFrameBridge.d.ts.map +1 -0
- package/lib/blocks/iframebridge/useIFrameBridge.js +5 -0
- package/lib/blocks/image/EditImageDialog.d.ts +31 -0
- package/lib/blocks/image/EditImageDialog.d.ts.map +1 -0
- package/lib/blocks/image/EditImageDialog.js +268 -0
- package/lib/blocks/rte/extension/CmsLink/Decorator.d.ts +4 -0
- package/lib/blocks/rte/extension/CmsLink/Decorator.d.ts.map +1 -0
- package/lib/blocks/rte/extension/CmsLink/Decorator.js +12 -0
- package/lib/blocks/rte/extension/CmsLink/EditorComponent.d.ts +9 -0
- package/lib/blocks/rte/extension/CmsLink/EditorComponent.d.ts.map +1 -0
- package/lib/blocks/rte/extension/CmsLink/EditorComponent.js +10 -0
- package/lib/blocks/rte/extension/CmsLink/createCmsLinkToolbarButton.d.ts +13 -0
- package/lib/blocks/rte/extension/CmsLink/createCmsLinkToolbarButton.d.ts.map +1 -0
- package/lib/blocks/rte/extension/CmsLink/createCmsLinkToolbarButton.js +164 -0
- package/lib/blocks/seo/useSeoTagGeneration.d.ts +3 -0
- package/lib/blocks/seo/useSeoTagGeneration.d.ts.map +1 -0
- package/lib/blocks/seo/useSeoTagGeneration.generated.d.ts +21 -0
- package/lib/blocks/seo/useSeoTagGeneration.generated.d.ts.map +1 -0
- package/lib/blocks/seo/useSeoTagGeneration.generated.js +5 -0
- package/lib/blocks/seo/useSeoTagGeneration.js +167 -0
- package/lib/blocks/seo/useSitemapChangeFrequencyFormOptions.d.ts +6 -0
- package/lib/blocks/seo/useSitemapChangeFrequencyFormOptions.d.ts.map +1 -0
- package/lib/blocks/seo/useSitemapChangeFrequencyFormOptions.js +48 -0
- package/lib/blocks/seo/useSitemapPagePriorityFormOptions.d.ts +6 -0
- package/lib/blocks/seo/useSitemapPagePriorityFormOptions.d.ts.map +1 -0
- package/lib/blocks/seo/useSitemapPagePriorityFormOptions.js +48 -0
- package/lib/blocks/table/CellValue.d.ts +9 -0
- package/lib/blocks/table/CellValue.d.ts.map +1 -0
- package/lib/blocks/table/CellValue.js +86 -0
- package/lib/blocks/table/ColumnHeader.d.ts +16 -0
- package/lib/blocks/table/ColumnHeader.d.ts.map +1 -0
- package/lib/blocks/table/ColumnHeader.js +296 -0
- package/lib/blocks/table/EditCell.d.ts +3 -0
- package/lib/blocks/table/EditCell.d.ts.map +1 -0
- package/lib/blocks/table/EditCell.js +119 -0
- package/lib/blocks/table/FailedToPasteSnackbar.d.ts +3 -0
- package/lib/blocks/table/FailedToPasteSnackbar.d.ts.map +1 -0
- package/lib/blocks/table/FailedToPasteSnackbar.js +23 -0
- package/lib/blocks/table/RowActionsCell.d.ts +13 -0
- package/lib/blocks/table/RowActionsCell.d.ts.map +1 -0
- package/lib/blocks/table/RowActionsCell.js +240 -0
- package/lib/blocks/table/TableBlockContext.d.ts +11 -0
- package/lib/blocks/table/TableBlockContext.d.ts.map +1 -0
- package/lib/blocks/table/TableBlockContext.js +20 -0
- package/lib/blocks/table/TableBlockGrid.d.ts +9 -0
- package/lib/blocks/table/TableBlockGrid.d.ts.map +1 -0
- package/lib/blocks/table/TableBlockGrid.js +244 -0
- package/lib/blocks/table/__mocks__/TableBlockData.mocks.js +203 -0
- package/lib/blocks/table/dataGridStyles.d.ts +3 -0
- package/lib/blocks/table/dataGridStyles.d.ts.map +1 -0
- package/lib/blocks/table/dataGridStyles.js +59 -0
- package/lib/blocks/table/utils/column.d.ts +43 -0
- package/lib/blocks/table/utils/column.d.ts.map +1 -0
- package/lib/blocks/table/utils/column.js +138 -0
- package/lib/blocks/table/utils/ensureMinimumTableState.d.ts +4 -0
- package/lib/blocks/table/utils/ensureMinimumTableState.d.ts.map +1 -0
- package/lib/blocks/table/utils/ensureMinimumTableState.js +49 -0
- package/lib/blocks/table/utils/getClipboardValueForSchema.d.ts +3 -0
- package/lib/blocks/table/utils/getClipboardValueForSchema.d.ts.map +1 -0
- package/lib/blocks/table/utils/getClipboardValueForSchema.js +45 -0
- package/lib/blocks/table/utils/row.d.ts +18 -0
- package/lib/blocks/table/utils/row.d.ts.map +1 -0
- package/lib/blocks/table/utils/row.js +124 -0
- package/lib/blocks/table/utils/rteSchema.d.ts +5 -0
- package/lib/blocks/table/utils/rteSchema.d.ts.map +1 -0
- package/lib/blocks/table/utils/rteSchema.js +4 -0
- package/lib/blocks/table/utils/useRecentlyPastedIds.d.ts +5 -0
- package/lib/blocks/table/utils/useRecentlyPastedIds.d.ts.map +1 -0
- package/lib/blocks/table/utils/useRecentlyPastedIds.js +45 -0
- package/lib/blocks/tipTap/ChildBlocksContext.d.ts +3 -0
- package/lib/blocks/tipTap/ChildBlocksContext.d.ts.map +1 -0
- package/lib/blocks/tipTap/ChildBlocksContext.js +2 -0
- package/lib/blocks/tipTap/InlineStyleContext.d.ts +3 -0
- package/lib/blocks/tipTap/InlineStyleContext.d.ts.map +1 -0
- package/lib/blocks/tipTap/InlineStyleContext.js +2 -0
- package/lib/blocks/tipTap/TextBlockStyleContext.d.ts +3 -0
- package/lib/blocks/tipTap/TextBlockStyleContext.d.ts.map +1 -0
- package/lib/blocks/tipTap/TextBlockStyleContext.js +2 -0
- package/lib/blocks/tipTap/TipTapBlockDialog.d.ts +12 -0
- package/lib/blocks/tipTap/TipTapBlockDialog.d.ts.map +1 -0
- package/lib/blocks/tipTap/TipTapBlockDialog.js +94 -0
- package/lib/blocks/tipTap/TipTapLinkDialog.d.ts +10 -0
- package/lib/blocks/tipTap/TipTapLinkDialog.d.ts.map +1 -0
- package/lib/blocks/tipTap/TipTapLinkDialog.js +105 -0
- package/lib/blocks/tipTap/TipTapToolbar.d.ts +14 -0
- package/lib/blocks/tipTap/TipTapToolbar.d.ts.map +1 -0
- package/lib/blocks/tipTap/TipTapToolbar.js +745 -0
- package/lib/blocks/tipTap/createTipTapRichTextBlock.d.ts +79 -0
- package/lib/blocks/tipTap/createTipTapRichTextBlock.d.ts.map +1 -0
- package/lib/blocks/tipTap/createTipTapRichTextBlock.js +763 -0
- package/lib/blocks/tipTap/extensions/CmsBlock.d.ts +20 -0
- package/lib/blocks/tipTap/extensions/CmsBlock.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/CmsBlock.js +204 -0
- package/lib/blocks/tipTap/extensions/CmsLink.d.ts +13 -0
- package/lib/blocks/tipTap/extensions/CmsLink.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/CmsLink.js +42 -0
- package/lib/blocks/tipTap/extensions/InlineStyleMark.d.ts +13 -0
- package/lib/blocks/tipTap/extensions/InlineStyleMark.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/InlineStyleMark.js +71 -0
- package/lib/blocks/tipTap/extensions/NonBreakingSpace.d.ts +10 -0
- package/lib/blocks/tipTap/extensions/NonBreakingSpace.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/NonBreakingSpace.js +57 -0
- package/lib/blocks/tipTap/extensions/Placeholder.d.ts +10 -0
- package/lib/blocks/tipTap/extensions/Placeholder.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/Placeholder.js +78 -0
- package/lib/blocks/tipTap/extensions/SoftHyphen.d.ts +10 -0
- package/lib/blocks/tipTap/extensions/SoftHyphen.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/SoftHyphen.js +51 -0
- package/lib/blocks/tipTap/extensions/TextBlockStyleHeading.d.ts +2 -0
- package/lib/blocks/tipTap/extensions/TextBlockStyleHeading.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/TextBlockStyleHeading.js +57 -0
- package/lib/blocks/tipTap/extensions/TextBlockStyleParagraph.d.ts +2 -0
- package/lib/blocks/tipTap/extensions/TextBlockStyleParagraph.d.ts.map +1 -0
- package/lib/blocks/tipTap/extensions/TextBlockStyleParagraph.js +56 -0
- package/lib/blocks/tipTap/listLevelMaxHelpers.d.ts +6 -0
- package/lib/blocks/tipTap/listLevelMaxHelpers.d.ts.map +1 -0
- package/lib/blocks/tipTap/listLevelMaxHelpers.js +108 -0
- package/lib/blocks/types.d.ts +137 -0
- package/lib/blocks/types.d.ts.map +1 -0
- package/lib/blocks/types.js +61 -0
- package/lib/blocks/utils/parallelAsyncEvery.d.ts +2 -0
- package/lib/blocks/utils/parallelAsyncEvery.d.ts.map +1 -0
- package/lib/blocks/utils/parallelAsyncEvery.js +9 -0
- package/lib/blocks/utils.d.ts +8 -0
- package/lib/blocks/utils.d.ts.map +1 -0
- package/lib/blocks/utils.js +13 -0
- package/lib/blocks/validators/isValidUrl.d.ts +2 -0
- package/lib/blocks/validators/isValidUrl.d.ts.map +1 -0
- package/lib/blocks/validators/isValidUrl.js +9 -0
- package/lib/blocks.generated.d.ts +314 -0
- package/lib/blocks.generated.d.ts.map +1 -0
- package/lib/blocks.generated.js +1 -0
- package/lib/builds/BuildEntry.d.ts +2 -0
- package/lib/builds/BuildEntry.d.ts.map +1 -0
- package/lib/builds/BuildEntry.generated.d.ts +29 -0
- package/lib/builds/BuildEntry.generated.d.ts.map +1 -0
- package/lib/builds/BuildEntry.generated.js +5 -0
- package/lib/builds/BuildEntry.js +165 -0
- package/lib/builds/PublishButton.d.ts +2 -0
- package/lib/builds/PublishButton.d.ts.map +1 -0
- package/lib/builds/PublishButton.js +46 -0
- package/lib/builds/PublisherPage.d.ts +2 -0
- package/lib/builds/PublisherPage.d.ts.map +1 -0
- package/lib/builds/PublisherPage.generated.d.ts +23 -0
- package/lib/builds/PublisherPage.generated.d.ts.map +1 -0
- package/lib/builds/PublisherPage.generated.js +5 -0
- package/lib/builds/PublisherPage.js +119 -0
- package/lib/builds/StartBuildsDialog.d.ts +7 -0
- package/lib/builds/StartBuildsDialog.d.ts.map +1 -0
- package/lib/builds/StartBuildsDialog.generated.d.ts +29 -0
- package/lib/builds/StartBuildsDialog.generated.d.ts.map +1 -0
- package/lib/builds/StartBuildsDialog.generated.js +8 -0
- package/lib/builds/StartBuildsDialog.js +126 -0
- package/lib/common/DropdownMenuItem.d.ts +13 -0
- package/lib/common/DropdownMenuItem.d.ts.map +1 -0
- package/lib/common/DropdownMenuItem.js +78 -0
- package/lib/common/DropdownMenuItem.sc.d.ts +12 -0
- package/lib/common/DropdownMenuItem.sc.d.ts.map +1 -0
- package/lib/common/DropdownMenuItem.sc.js +88 -0
- package/lib/common/InsertInBetweenAction.d.ts +9 -0
- package/lib/common/InsertInBetweenAction.d.ts.map +1 -0
- package/lib/common/InsertInBetweenAction.js +51 -0
- package/lib/common/InsertInBetweenActionButton.d.ts +3 -0
- package/lib/common/InsertInBetweenActionButton.d.ts.map +1 -0
- package/lib/common/InsertInBetweenActionButton.js +35 -0
- package/lib/common/MarkedMatches.d.ts +11 -0
- package/lib/common/MarkedMatches.d.ts.map +1 -0
- package/lib/common/MarkedMatches.js +78 -0
- package/lib/common/MasterMenu.d.ts +58 -0
- package/lib/common/MasterMenu.d.ts.map +1 -0
- package/lib/common/MasterMenu.js +133 -0
- package/lib/common/MasterMenuRoutes.d.ts +8 -0
- package/lib/common/MasterMenuRoutes.d.ts.map +1 -0
- package/lib/common/MasterMenuRoutes.js +87 -0
- package/lib/common/PageList.d.ts +18 -0
- package/lib/common/PageList.d.ts.map +1 -0
- package/lib/common/PageList.js +73 -0
- package/lib/common/PageName.d.ts +7 -0
- package/lib/common/PageName.d.ts.map +1 -0
- package/lib/common/PageName.generated.d.ts +28 -0
- package/lib/common/PageName.generated.d.ts.map +1 -0
- package/lib/common/PageName.generated.js +8 -0
- package/lib/common/PageName.js +42 -0
- package/lib/common/SearchInput.d.ts +12 -0
- package/lib/common/SearchInput.d.ts.map +1 -0
- package/lib/common/SearchInput.js +107 -0
- package/lib/common/apollo/links/includeInvisibleContentContext.d.ts +5 -0
- package/lib/common/apollo/links/includeInvisibleContentContext.d.ts.map +1 -0
- package/lib/common/apollo/links/includeInvisibleContentContext.js +27 -0
- package/lib/common/errors/errorMessages.d.ts +5 -0
- package/lib/common/errors/errorMessages.d.ts.map +1 -0
- package/lib/common/errors/errorMessages.js +28 -0
- package/lib/common/header/Header.d.ts +7 -0
- package/lib/common/header/Header.d.ts.map +1 -0
- package/lib/common/header/Header.js +27 -0
- package/lib/common/header/ImpersonationInlay.d.ts +2 -0
- package/lib/common/header/ImpersonationInlay.d.ts.map +1 -0
- package/lib/common/header/ImpersonationInlay.js +82 -0
- package/lib/common/header/UserHeaderItem.d.ts +9 -0
- package/lib/common/header/UserHeaderItem.d.ts.map +1 -0
- package/lib/common/header/UserHeaderItem.js +192 -0
- package/lib/common/header/about/AboutModal.d.ts +9 -0
- package/lib/common/header/about/AboutModal.d.ts.map +1 -0
- package/lib/common/header/about/AboutModal.js +162 -0
- package/lib/common/header/about/build-information/buildInformation.d.ts +6 -0
- package/lib/common/header/about/build-information/buildInformation.d.ts.map +1 -0
- package/lib/common/header/about/build-information/buildInformation.js +1 -0
- package/lib/common/header/about/build-information/useBuildInformation.d.ts +3 -0
- package/lib/common/header/about/build-information/useBuildInformation.d.ts.map +1 -0
- package/lib/common/header/about/build-information/useBuildInformation.js +4 -0
- package/lib/common/image/ChooseFocalPoint.d.ts +8 -0
- package/lib/common/image/ChooseFocalPoint.d.ts.map +1 -0
- package/lib/common/image/ChooseFocalPoint.js +42 -0
- package/lib/common/image/ImageCrop.d.ts +9 -0
- package/lib/common/image/ImageCrop.d.ts.map +1 -0
- package/lib/common/image/ImageCrop.js +75 -0
- package/lib/common/image/ImageCrop.sc.d.ts +9 -0
- package/lib/common/image/ImageCrop.sc.d.ts.map +1 -0
- package/lib/common/image/ImageCrop.sc.js +49 -0
- package/lib/common/impersonation/commonImpersonationMessages.d.ts +6 -0
- package/lib/common/impersonation/commonImpersonationMessages.d.ts.map +1 -0
- package/lib/common/impersonation/commonImpersonationMessages.js +16 -0
- package/lib/common/signOutButton/SignOutButton.d.ts +6 -0
- package/lib/common/signOutButton/SignOutButton.d.ts.map +1 -0
- package/lib/common/signOutButton/SignOutButton.gql.d.ts +2 -0
- package/lib/common/signOutButton/SignOutButton.gql.d.ts.map +1 -0
- package/lib/common/signOutButton/SignOutButton.gql.generated.d.ts +14 -0
- package/lib/common/signOutButton/SignOutButton.gql.generated.d.ts.map +1 -0
- package/lib/common/signOutButton/SignOutButton.gql.generated.js +5 -0
- package/lib/common/signOutButton/SignOutButton.gql.js +4 -0
- package/lib/common/signOutButton/SignOutButton.js +59 -0
- package/lib/common/useEditState.d.ts +27 -0
- package/lib/common/useEditState.d.ts.map +1 -0
- package/lib/common/useEditState.js +57 -0
- package/lib/common/useSaveState.d.ts +22 -0
- package/lib/common/useSaveState.d.ts.map +1 -0
- package/lib/common/useSaveState.js +136 -0
- package/lib/config/CometConfigContext.d.ts +37 -0
- package/lib/config/CometConfigContext.d.ts.map +1 -0
- package/lib/config/CometConfigContext.js +44 -0
- package/lib/contentLanguage/contentLanguageConfig.d.ts +6 -0
- package/lib/contentLanguage/contentLanguageConfig.d.ts.map +1 -0
- package/lib/contentLanguage/contentLanguageConfig.js +12 -0
- package/lib/contentLanguage/useContentLanguage.d.ts +7 -0
- package/lib/contentLanguage/useContentLanguage.d.ts.map +1 -0
- package/lib/contentLanguage/useContentLanguage.js +7 -0
- package/lib/contentScope/ContentScopeIndicator.d.ts +9 -0
- package/lib/contentScope/ContentScopeIndicator.d.ts.map +1 -0
- package/lib/contentScope/ContentScopeIndicator.js +134 -0
- package/lib/contentScope/ContentScopeSelect.d.ts +22 -0
- package/lib/contentScope/ContentScopeSelect.d.ts.map +1 -0
- package/lib/contentScope/ContentScopeSelect.js +354 -0
- package/lib/contentScope/Controls.d.ts +10 -0
- package/lib/contentScope/Controls.d.ts.map +1 -0
- package/lib/contentScope/Controls.js +27 -0
- package/lib/contentScope/Provider.d.ts +47 -0
- package/lib/contentScope/Provider.d.ts.map +1 -0
- package/lib/contentScope/Provider.js +160 -0
- package/lib/contentScope/noContentScopeFallback/NoContentScopeFallback.d.ts +3 -0
- package/lib/contentScope/noContentScopeFallback/NoContentScopeFallback.d.ts.map +1 -0
- package/lib/contentScope/noContentScopeFallback/NoContentScopeFallback.js +78 -0
- package/lib/contentScope/useContentScopeConfig.d.ts +5 -0
- package/lib/contentScope/useContentScopeConfig.d.ts.map +1 -0
- package/lib/contentScope/useContentScopeConfig.js +13 -0
- package/lib/contentScope/utils/createPathFromDimensionValues.d.ts +10 -0
- package/lib/contentScope/utils/createPathFromDimensionValues.d.ts.map +1 -0
- package/lib/contentScope/utils/createPathFromDimensionValues.js +13 -0
- package/lib/contentScope/utils/defaultCreatePath.d.ts +9 -0
- package/lib/contentScope/utils/defaultCreatePath.d.ts.map +1 -0
- package/lib/contentScope/utils/defaultCreatePath.js +26 -0
- package/lib/contentScope/utils/groupObjectsIntoArrays.d.ts +15 -0
- package/lib/contentScope/utils/groupObjectsIntoArrays.d.ts.map +1 -0
- package/lib/contentScope/utils/groupObjectsIntoArrays.js +24 -0
- package/lib/cronJobs/CronJobsGrid.d.ts +2 -0
- package/lib/cronJobs/CronJobsGrid.d.ts.map +1 -0
- package/lib/cronJobs/CronJobsGrid.generated.d.ts +44 -0
- package/lib/cronJobs/CronJobsGrid.generated.d.ts.map +1 -0
- package/lib/cronJobs/CronJobsGrid.generated.js +8 -0
- package/lib/cronJobs/CronJobsGrid.js +219 -0
- package/lib/cronJobs/CronJobsPage.d.ts +2 -0
- package/lib/cronJobs/CronJobsPage.d.ts.map +1 -0
- package/lib/cronJobs/CronJobsPage.js +57 -0
- package/lib/cronJobs/JobLogs.d.ts +4 -0
- package/lib/cronJobs/JobLogs.d.ts.map +1 -0
- package/lib/cronJobs/JobLogs.generated.d.ts +20 -0
- package/lib/cronJobs/JobLogs.generated.d.ts.map +1 -0
- package/lib/cronJobs/JobLogs.generated.js +5 -0
- package/lib/cronJobs/JobLogs.js +68 -0
- package/lib/cronJobs/JobRuntime.d.ts +7 -0
- package/lib/cronJobs/JobRuntime.d.ts.map +1 -0
- package/lib/cronJobs/JobRuntime.js +40 -0
- package/lib/cronJobs/JobStatus.d.ts +5 -0
- package/lib/cronJobs/JobStatus.d.ts.map +1 -0
- package/lib/cronJobs/JobStatus.js +16 -0
- package/lib/cronJobs/JobsGrid.d.ts +6 -0
- package/lib/cronJobs/JobsGrid.d.ts.map +1 -0
- package/lib/cronJobs/JobsGrid.generated.d.ts +34 -0
- package/lib/cronJobs/JobsGrid.generated.d.ts.map +1 -0
- package/lib/cronJobs/JobsGrid.generated.js +6 -0
- package/lib/cronJobs/JobsGrid.js +145 -0
- package/lib/dam/CurrentDamFolderProvider.d.ts +10 -0
- package/lib/dam/CurrentDamFolderProvider.d.ts.map +1 -0
- package/lib/dam/CurrentDamFolderProvider.js +22 -0
- package/lib/dam/DamPage.d.ts +12 -0
- package/lib/dam/DamPage.d.ts.map +1 -0
- package/lib/dam/DamPage.js +43 -0
- package/lib/dam/DamTable.d.ts +31 -0
- package/lib/dam/DamTable.d.ts.map +1 -0
- package/lib/dam/DamTable.js +127 -0
- package/lib/dam/DataGrid/DamContextMenu.d.ts +12 -0
- package/lib/dam/DataGrid/DamContextMenu.d.ts.map +1 -0
- package/lib/dam/DataGrid/DamContextMenu.generated.d.ts +14 -0
- package/lib/dam/DataGrid/DamContextMenu.generated.d.ts.map +1 -0
- package/lib/dam/DataGrid/DamContextMenu.generated.js +5 -0
- package/lib/dam/DataGrid/DamContextMenu.gql.d.ts +4 -0
- package/lib/dam/DataGrid/DamContextMenu.gql.d.ts.map +1 -0
- package/lib/dam/DataGrid/DamContextMenu.gql.generated.d.ts +38 -0
- package/lib/dam/DataGrid/DamContextMenu.gql.generated.d.ts.map +1 -0
- package/lib/dam/DataGrid/DamContextMenu.gql.generated.js +7 -0
- package/lib/dam/DataGrid/DamContextMenu.gql.js +6 -0
- package/lib/dam/DataGrid/DamContextMenu.js +294 -0
- package/lib/dam/DataGrid/FolderDataGrid.d.ts +14 -0
- package/lib/dam/DataGrid/FolderDataGrid.d.ts.map +1 -0
- package/lib/dam/DataGrid/FolderDataGrid.gql.d.ts +6 -0
- package/lib/dam/DataGrid/FolderDataGrid.gql.d.ts.map +1 -0
- package/lib/dam/DataGrid/FolderDataGrid.gql.generated.d.ts +207 -0
- package/lib/dam/DataGrid/FolderDataGrid.gql.generated.d.ts.map +1 -0
- package/lib/dam/DataGrid/FolderDataGrid.gql.generated.js +15 -0
- package/lib/dam/DataGrid/FolderDataGrid.gql.js +11 -0
- package/lib/dam/DataGrid/FolderDataGrid.js +737 -0
- package/lib/dam/DataGrid/FolderDataGrid.sc.d.ts +6 -0
- package/lib/dam/DataGrid/FolderDataGrid.sc.d.ts.map +1 -0
- package/lib/dam/DataGrid/FolderDataGrid.sc.js +27 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.d.ts +18 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.d.ts.map +1 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.d.ts +2 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.d.ts.map +1 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.generated.d.ts +20 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.generated.d.ts.map +1 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.generated.js +5 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.js +4 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.js +177 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.d.ts +12 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.d.ts.map +1 -0
- package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.js +175 -0
- package/lib/dam/DataGrid/fileUpload/FileUploadContext.d.ts +18 -0
- package/lib/dam/DataGrid/fileUpload/FileUploadContext.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/FileUploadContext.js +71 -0
- package/lib/dam/DataGrid/fileUpload/FileUploadErrorDialog.d.ts +9 -0
- package/lib/dam/DataGrid/fileUpload/FileUploadErrorDialog.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/FileUploadErrorDialog.js +126 -0
- package/lib/dam/DataGrid/fileUpload/ProgressDialog.d.ts +8 -0
- package/lib/dam/DataGrid/fileUpload/ProgressDialog.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/ProgressDialog.js +80 -0
- package/lib/dam/DataGrid/fileUpload/UploadFilesButton.d.ts +9 -0
- package/lib/dam/DataGrid/fileUpload/UploadFilesButton.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/UploadFilesButton.js +77 -0
- package/lib/dam/DataGrid/fileUpload/fileUpload.utils.d.ts +3 -0
- package/lib/dam/DataGrid/fileUpload/fileUpload.utils.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/fileUpload.utils.js +21 -0
- package/lib/dam/DataGrid/fileUpload/fileUploadErrorMessages.d.ts +22 -0
- package/lib/dam/DataGrid/fileUpload/fileUploadErrorMessages.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/fileUploadErrorMessages.js +80 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.d.ts +61 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.d.ts +3 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.generated.d.ts +34 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.generated.d.ts.map +1 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.generated.js +8 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.js +5 -0
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.js +774 -0
- package/lib/dam/DataGrid/filter/DamTableFilter.d.ts +9 -0
- package/lib/dam/DataGrid/filter/DamTableFilter.d.ts.map +1 -0
- package/lib/dam/DataGrid/filter/DamTableFilter.js +38 -0
- package/lib/dam/DataGrid/footer/DamFooter.d.ts +7 -0
- package/lib/dam/DataGrid/footer/DamFooter.d.ts.map +1 -0
- package/lib/dam/DataGrid/footer/DamFooter.js +31 -0
- package/lib/dam/DataGrid/footer/UploadFooter.d.ts +7 -0
- package/lib/dam/DataGrid/footer/UploadFooter.d.ts.map +1 -0
- package/lib/dam/DataGrid/footer/UploadFooter.js +57 -0
- package/lib/dam/DataGrid/label/DamItemLabel.d.ts +11 -0
- package/lib/dam/DataGrid/label/DamItemLabel.d.ts.map +1 -0
- package/lib/dam/DataGrid/label/DamItemLabel.js +91 -0
- package/lib/dam/DataGrid/label/DamItemLabelColumn.d.ts +35 -0
- package/lib/dam/DataGrid/label/DamItemLabelColumn.d.ts.map +1 -0
- package/lib/dam/DataGrid/label/DamItemLabelColumn.js +140 -0
- package/lib/dam/DataGrid/selection/DamMoreActions.d.ts +13 -0
- package/lib/dam/DataGrid/selection/DamMoreActions.d.ts.map +1 -0
- package/lib/dam/DataGrid/selection/DamMoreActions.js +191 -0
- package/lib/dam/DataGrid/selection/DamSelectionContext.d.ts +30 -0
- package/lib/dam/DataGrid/selection/DamSelectionContext.d.ts.map +1 -0
- package/lib/dam/DataGrid/selection/DamSelectionContext.generated.d.ts +55 -0
- package/lib/dam/DataGrid/selection/DamSelectionContext.generated.d.ts.map +1 -0
- package/lib/dam/DataGrid/selection/DamSelectionContext.generated.js +11 -0
- package/lib/dam/DataGrid/selection/DamSelectionContext.js +405 -0
- package/lib/dam/DataGrid/tags/ArchivedTag.d.ts +2 -0
- package/lib/dam/DataGrid/tags/ArchivedTag.d.ts.map +1 -0
- package/lib/dam/DataGrid/tags/ArchivedTag.js +27 -0
- package/lib/dam/DataGrid/tags/LicenseValidityTags.d.ts +9 -0
- package/lib/dam/DataGrid/tags/LicenseValidityTags.d.ts.map +1 -0
- package/lib/dam/DataGrid/tags/LicenseValidityTags.js +47 -0
- package/lib/dam/DataGrid/tags/Tag.d.ts +4 -0
- package/lib/dam/DataGrid/tags/Tag.d.ts.map +1 -0
- package/lib/dam/DataGrid/tags/Tag.js +29 -0
- package/lib/dam/DataGrid/thumbnail/AudioThumbnail.d.ts +2 -0
- package/lib/dam/DataGrid/thumbnail/AudioThumbnail.d.ts.map +1 -0
- package/lib/dam/DataGrid/thumbnail/AudioThumbnail.js +26 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.d.ts +13 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.d.ts.map +1 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.d.ts +2 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.d.ts.map +1 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.generated.d.ts +10 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.generated.d.ts.map +1 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.generated.js +5 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.js +4 -0
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.js +140 -0
- package/lib/dam/DataGrid/thumbnail/VideoThumbnail.d.ts +2 -0
- package/lib/dam/DataGrid/thumbnail/VideoThumbnail.d.ts.map +1 -0
- package/lib/dam/DataGrid/thumbnail/VideoThumbnail.js +26 -0
- package/lib/dam/DataGrid/useDamSearchHighlighting.d.ts +16 -0
- package/lib/dam/DataGrid/useDamSearchHighlighting.d.ts.map +1 -0
- package/lib/dam/DataGrid/useDamSearchHighlighting.js +34 -0
- package/lib/dam/FileActions/ConfirmDeleteDialog.d.ts +9 -0
- package/lib/dam/FileActions/ConfirmDeleteDialog.d.ts.map +1 -0
- package/lib/dam/FileActions/ConfirmDeleteDialog.js +82 -0
- package/lib/dam/FileActions/ConfirmDeleteDialog.sc.d.ts +8 -0
- package/lib/dam/FileActions/ConfirmDeleteDialog.sc.d.ts.map +1 -0
- package/lib/dam/FileActions/ConfirmDeleteDialog.sc.js +77 -0
- package/lib/dam/FileForm/CropSettingsFields.d.ts +7 -0
- package/lib/dam/FileForm/CropSettingsFields.d.ts.map +1 -0
- package/lib/dam/FileForm/CropSettingsFields.js +124 -0
- package/lib/dam/FileForm/Duplicates.d.ts +5 -0
- package/lib/dam/FileForm/Duplicates.d.ts.map +1 -0
- package/lib/dam/FileForm/Duplicates.generated.d.ts +31 -0
- package/lib/dam/FileForm/Duplicates.generated.d.ts.map +1 -0
- package/lib/dam/FileForm/Duplicates.generated.js +5 -0
- package/lib/dam/FileForm/Duplicates.js +160 -0
- package/lib/dam/FileForm/EditFile.d.ts +30 -0
- package/lib/dam/FileForm/EditFile.d.ts.map +1 -0
- package/lib/dam/FileForm/EditFile.gql.d.ts +4 -0
- package/lib/dam/FileForm/EditFile.gql.d.ts.map +1 -0
- package/lib/dam/FileForm/EditFile.gql.generated.d.ts +185 -0
- package/lib/dam/FileForm/EditFile.gql.generated.d.ts.map +1 -0
- package/lib/dam/FileForm/EditFile.gql.generated.js +12 -0
- package/lib/dam/FileForm/EditFile.gql.js +7 -0
- package/lib/dam/FileForm/EditFile.js +345 -0
- package/lib/dam/FileForm/FilePreview.d.ts +7 -0
- package/lib/dam/FileForm/FilePreview.d.ts.map +1 -0
- package/lib/dam/FileForm/FilePreview.gql.d.ts +4 -0
- package/lib/dam/FileForm/FilePreview.gql.d.ts.map +1 -0
- package/lib/dam/FileForm/FilePreview.gql.generated.d.ts +38 -0
- package/lib/dam/FileForm/FilePreview.gql.generated.d.ts.map +1 -0
- package/lib/dam/FileForm/FilePreview.gql.generated.js +7 -0
- package/lib/dam/FileForm/FilePreview.gql.js +6 -0
- package/lib/dam/FileForm/FilePreview.js +198 -0
- package/lib/dam/FileForm/FileSettingsFields.d.ts +7 -0
- package/lib/dam/FileForm/FileSettingsFields.d.ts.map +1 -0
- package/lib/dam/FileForm/FileSettingsFields.generated.d.ts +16 -0
- package/lib/dam/FileForm/FileSettingsFields.generated.d.ts.map +1 -0
- package/lib/dam/FileForm/FileSettingsFields.generated.js +5 -0
- package/lib/dam/FileForm/FileSettingsFields.gql.d.ts +3 -0
- package/lib/dam/FileForm/FileSettingsFields.gql.d.ts.map +1 -0
- package/lib/dam/FileForm/FileSettingsFields.gql.generated.d.ts +24 -0
- package/lib/dam/FileForm/FileSettingsFields.gql.generated.d.ts.map +1 -0
- package/lib/dam/FileForm/FileSettingsFields.gql.generated.js +6 -0
- package/lib/dam/FileForm/FileSettingsFields.gql.js +5 -0
- package/lib/dam/FileForm/FileSettingsFields.js +423 -0
- package/lib/dam/FileForm/ImageInfos.d.ts +15 -0
- package/lib/dam/FileForm/ImageInfos.d.ts.map +1 -0
- package/lib/dam/FileForm/ImageInfos.js +136 -0
- package/lib/dam/FileForm/ReplaceFileButton.d.ts +7 -0
- package/lib/dam/FileForm/ReplaceFileButton.d.ts.map +1 -0
- package/lib/dam/FileForm/ReplaceFileButton.js +141 -0
- package/lib/dam/FileForm/licenseType.d.ts +8 -0
- package/lib/dam/FileForm/licenseType.d.ts.map +1 -0
- package/lib/dam/FileForm/licenseType.js +14 -0
- package/lib/dam/FileForm/previews/AudioPreview.d.ts +7 -0
- package/lib/dam/FileForm/previews/AudioPreview.d.ts.map +1 -0
- package/lib/dam/FileForm/previews/AudioPreview.js +77 -0
- package/lib/dam/FileForm/previews/DefaultFilePreview.d.ts +7 -0
- package/lib/dam/FileForm/previews/DefaultFilePreview.d.ts.map +1 -0
- package/lib/dam/FileForm/previews/DefaultFilePreview.js +44 -0
- package/lib/dam/FileForm/previews/ImagePreview.d.ts +8 -0
- package/lib/dam/FileForm/previews/ImagePreview.d.ts.map +1 -0
- package/lib/dam/FileForm/previews/ImagePreview.js +13 -0
- package/lib/dam/FileForm/previews/PdfPreview.d.ts +7 -0
- package/lib/dam/FileForm/previews/PdfPreview.d.ts.map +1 -0
- package/lib/dam/FileForm/previews/PdfPreview.js +37 -0
- package/lib/dam/FileForm/previews/VideoPreview.d.ts +8 -0
- package/lib/dam/FileForm/previews/VideoPreview.d.ts.map +1 -0
- package/lib/dam/FileForm/previews/VideoPreview.generated.d.ts +28 -0
- package/lib/dam/FileForm/previews/VideoPreview.generated.d.ts.map +1 -0
- package/lib/dam/FileForm/previews/VideoPreview.generated.js +5 -0
- package/lib/dam/FileForm/previews/VideoPreview.js +59 -0
- package/lib/dam/FolderForm/AddFolder.d.ts +6 -0
- package/lib/dam/FolderForm/AddFolder.d.ts.map +1 -0
- package/lib/dam/FolderForm/AddFolder.gql.d.ts +2 -0
- package/lib/dam/FolderForm/AddFolder.gql.d.ts.map +1 -0
- package/lib/dam/FolderForm/AddFolder.gql.generated.d.ts +20 -0
- package/lib/dam/FolderForm/AddFolder.gql.generated.d.ts.map +1 -0
- package/lib/dam/FolderForm/AddFolder.gql.generated.js +5 -0
- package/lib/dam/FolderForm/AddFolder.gql.js +4 -0
- package/lib/dam/FolderForm/AddFolder.js +60 -0
- package/lib/dam/FolderForm/EditFolder.d.ts +6 -0
- package/lib/dam/FolderForm/EditFolder.d.ts.map +1 -0
- package/lib/dam/FolderForm/EditFolder.gql.d.ts +3 -0
- package/lib/dam/FolderForm/EditFolder.gql.d.ts.map +1 -0
- package/lib/dam/FolderForm/EditFolder.gql.generated.d.ts +34 -0
- package/lib/dam/FolderForm/EditFolder.gql.generated.d.ts.map +1 -0
- package/lib/dam/FolderForm/EditFolder.gql.generated.js +8 -0
- package/lib/dam/FolderForm/EditFolder.gql.js +5 -0
- package/lib/dam/FolderForm/EditFolder.js +62 -0
- package/lib/dam/FolderForm/FolderFormFields.d.ts +5 -0
- package/lib/dam/FolderForm/FolderFormFields.d.ts.map +1 -0
- package/lib/dam/FolderForm/FolderFormFields.js +17 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.d.ts +15 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.d.ts.map +1 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.d.ts +2 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.d.ts.map +1 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.generated.d.ts +23 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.generated.d.ts.map +1 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.generated.js +5 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.js +4 -0
- package/lib/dam/MoveDamItemDialog/ChooseFolder.js +156 -0
- package/lib/dam/MoveDamItemDialog/MoveDamItemDialog.d.ts +21 -0
- package/lib/dam/MoveDamItemDialog/MoveDamItemDialog.d.ts.map +1 -0
- package/lib/dam/MoveDamItemDialog/MoveDamItemDialog.js +256 -0
- package/lib/dam/MoveDamItemDialog/useFolderTree.d.ts +29 -0
- package/lib/dam/MoveDamItemDialog/useFolderTree.d.ts.map +1 -0
- package/lib/dam/MoveDamItemDialog/useFolderTree.js +100 -0
- package/lib/dam/MoveDamItemDialog/useFolderTreeSearch.d.ts +25 -0
- package/lib/dam/MoveDamItemDialog/useFolderTreeSearch.d.ts.map +1 -0
- package/lib/dam/MoveDamItemDialog/useFolderTreeSearch.js +138 -0
- package/lib/dam/VideoPerformanceWarningAlert.d.ts +5 -0
- package/lib/dam/VideoPerformanceWarningAlert.d.ts.map +1 -0
- package/lib/dam/VideoPerformanceWarningAlert.js +23 -0
- package/lib/dam/blocks/DamFileDownloadLinkBlock.d.ts +4 -0
- package/lib/dam/blocks/DamFileDownloadLinkBlock.d.ts.map +1 -0
- package/lib/dam/blocks/DamFileDownloadLinkBlock.generated.d.ts +21 -0
- package/lib/dam/blocks/DamFileDownloadLinkBlock.generated.d.ts.map +1 -0
- package/lib/dam/blocks/DamFileDownloadLinkBlock.generated.js +5 -0
- package/lib/dam/blocks/DamFileDownloadLinkBlock.js +178 -0
- package/lib/dam/blocks/DamImageBlock.d.ts +4 -0
- package/lib/dam/blocks/DamImageBlock.d.ts.map +1 -0
- package/lib/dam/blocks/DamImageBlock.js +106 -0
- package/lib/dam/config/DamScopeContext.d.ts +2 -0
- package/lib/dam/config/DamScopeContext.d.ts.map +1 -0
- package/lib/dam/config/DamScopeContext.js +2 -0
- package/lib/dam/config/DamScopeProvider.d.ts +5 -0
- package/lib/dam/config/DamScopeProvider.d.ts.map +1 -0
- package/lib/dam/config/DamScopeProvider.js +22 -0
- package/lib/dam/config/damConfig.d.ts +33 -0
- package/lib/dam/config/damConfig.d.ts.map +1 -0
- package/lib/dam/config/damConfig.js +29 -0
- package/lib/dam/config/damDefaultAcceptedMimeTypes.d.ts +2 -0
- package/lib/dam/config/damDefaultAcceptedMimeTypes.d.ts.map +1 -0
- package/lib/dam/config/damDefaultAcceptedMimeTypes.js +26 -0
- package/lib/dam/config/useDamAcceptedMimeTypes.d.ts +15 -0
- package/lib/dam/config/useDamAcceptedMimeTypes.d.ts.map +1 -0
- package/lib/dam/config/useDamAcceptedMimeTypes.js +40 -0
- package/lib/dam/config/useDamScope.d.ts +3 -0
- package/lib/dam/config/useDamScope.d.ts.map +1 -0
- package/lib/dam/config/useDamScope.js +6 -0
- package/lib/dam/dependencies/createDamFileDependency.d.ts +4 -0
- package/lib/dam/dependencies/createDamFileDependency.d.ts.map +1 -0
- package/lib/dam/dependencies/createDamFileDependency.generated.d.ts +25 -0
- package/lib/dam/dependencies/createDamFileDependency.generated.d.ts.map +1 -0
- package/lib/dam/dependencies/createDamFileDependency.generated.js +5 -0
- package/lib/dam/dependencies/createDamFileDependency.js +65 -0
- package/lib/dam/helpers/clearDamItemCache.d.ts +3 -0
- package/lib/dam/helpers/clearDamItemCache.d.ts.map +1 -0
- package/lib/dam/helpers/clearDamItemCache.js +6 -0
- package/lib/dam/helpers/isFile.d.ts +3 -0
- package/lib/dam/helpers/isFile.d.ts.map +1 -0
- package/lib/dam/helpers/isFile.js +3 -0
- package/lib/dam/helpers/isFolder.d.ts +3 -0
- package/lib/dam/helpers/isFolder.d.ts.map +1 -0
- package/lib/dam/helpers/isFolder.js +3 -0
- package/lib/dam/helpers/slugifyFilename.d.ts +2 -0
- package/lib/dam/helpers/slugifyFilename.d.ts.map +1 -0
- package/lib/dam/helpers/slugifyFilename.js +5 -0
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.d.ts +14 -0
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.d.ts.map +1 -0
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.generated.d.ts +57 -0
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.generated.d.ts.map +1 -0
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.generated.js +9 -0
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.js +147 -0
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.d.ts +14 -0
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.d.ts.map +1 -0
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.generated.d.ts +72 -0
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.generated.d.ts.map +1 -0
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.generated.js +11 -0
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.js +201 -0
- package/lib/dashboard/DashboardHeader.d.ts +11 -0
- package/lib/dashboard/DashboardHeader.d.ts.map +1 -0
- package/lib/dashboard/DashboardHeader.js +58 -0
- package/lib/dashboard/DateTime.d.ts +2 -0
- package/lib/dashboard/DateTime.d.ts.map +1 -0
- package/lib/dashboard/DateTime.js +74 -0
- package/lib/dashboard/DefaultGreeting.d.ts +2 -0
- package/lib/dashboard/DefaultGreeting.d.ts.map +1 -0
- package/lib/dashboard/DefaultGreeting.js +13 -0
- package/lib/dashboard/widgets/DashboardWidgetRoot.d.ts +7 -0
- package/lib/dashboard/widgets/DashboardWidgetRoot.d.ts.map +1 -0
- package/lib/dashboard/widgets/DashboardWidgetRoot.js +29 -0
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.d.ts +2 -0
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.d.ts.map +1 -0
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.generated.d.ts +22 -0
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.generated.d.ts.map +1 -0
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.generated.js +5 -0
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.js +76 -0
- package/lib/dashboard/widgets/LatestContentUpdatesDashboardWidget.d.ts +14 -0
- package/lib/dashboard/widgets/LatestContentUpdatesDashboardWidget.d.ts.map +1 -0
- package/lib/dashboard/widgets/LatestContentUpdatesDashboardWidget.js +75 -0
- package/lib/dataGrid/DataGrid.d.ts +3 -0
- package/lib/dataGrid/DataGrid.d.ts.map +1 -0
- package/lib/dataGrid/DataGrid.js +19 -0
- package/lib/dependencies/DependenciesList.d.ts +30 -0
- package/lib/dependencies/DependenciesList.d.ts.map +1 -0
- package/lib/dependencies/DependenciesList.js +285 -0
- package/lib/dependencies/DependentsList.d.ts +30 -0
- package/lib/dependencies/DependentsList.d.ts.map +1 -0
- package/lib/dependencies/DependentsList.js +285 -0
- package/lib/dependencies/createDependencyMethods.d.ts +22 -0
- package/lib/dependencies/createDependencyMethods.d.ts.map +1 -0
- package/lib/dependencies/createDependencyMethods.js +67 -0
- package/lib/dependencies/createDocumentDependencyMethods.d.ts +19 -0
- package/lib/dependencies/createDocumentDependencyMethods.d.ts.map +1 -0
- package/lib/dependencies/createDocumentDependencyMethods.js +79 -0
- package/lib/dependencies/dependenciesConfig.d.ts +10 -0
- package/lib/dependencies/dependenciesConfig.d.ts.map +1 -0
- package/lib/dependencies/dependenciesConfig.js +10 -0
- package/lib/dependencies/getDisplayNameString.d.ts +4 -0
- package/lib/dependencies/getDisplayNameString.d.ts.map +1 -0
- package/lib/dependencies/getDisplayNameString.js +14 -0
- package/lib/dependencies/types.d.ts +12 -0
- package/lib/dependencies/types.d.ts.map +1 -0
- package/lib/dependencies/types.js +1 -0
- package/lib/documents/ContentGenerationConfigContext.d.ts +9 -0
- package/lib/documents/ContentGenerationConfigContext.d.ts.map +1 -0
- package/lib/documents/ContentGenerationConfigContext.js +17 -0
- package/lib/documents/createDocumentRootBlocksMethods.d.ts +4 -0
- package/lib/documents/createDocumentRootBlocksMethods.d.ts.map +1 -0
- package/lib/documents/createDocumentRootBlocksMethods.js +54 -0
- package/lib/documents/types.d.ts +53 -0
- package/lib/documents/types.d.ts.map +1 -0
- package/lib/documents/types.js +1 -0
- package/lib/form/SyncFields.d.ts +8 -0
- package/lib/form/SyncFields.d.ts.map +1 -0
- package/lib/form/SyncFields.js +24 -0
- package/lib/form/file/DamPathLazy.d.ts +6 -0
- package/lib/form/file/DamPathLazy.d.ts.map +1 -0
- package/lib/form/file/DamPathLazy.generated.d.ts +17 -0
- package/lib/form/file/DamPathLazy.generated.d.ts.map +1 -0
- package/lib/form/file/DamPathLazy.generated.js +5 -0
- package/lib/form/file/DamPathLazy.js +22 -0
- package/lib/form/file/FileField.d.ts +21 -0
- package/lib/form/file/FileField.d.ts.map +1 -0
- package/lib/form/file/FileField.gql.d.ts +4 -0
- package/lib/form/file/FileField.gql.d.ts.map +1 -0
- package/lib/form/file/FileField.gql.generated.d.ts +106 -0
- package/lib/form/file/FileField.gql.generated.d.ts.map +1 -0
- package/lib/form/file/FileField.gql.generated.js +9 -0
- package/lib/form/file/FileField.gql.js +8 -0
- package/lib/form/file/FileField.js +291 -0
- package/lib/form/file/FileFieldMenu.d.ts +17 -0
- package/lib/form/file/FileFieldMenu.d.ts.map +1 -0
- package/lib/form/file/FileFieldMenu.js +91 -0
- package/lib/form/file/FileFieldRow.d.ts +12 -0
- package/lib/form/file/FileFieldRow.d.ts.map +1 -0
- package/lib/form/file/FileFieldRow.js +96 -0
- package/lib/form/file/FileUploadField.d.ts +9 -0
- package/lib/form/file/FileUploadField.d.ts.map +1 -0
- package/lib/form/file/FileUploadField.js +20 -0
- package/lib/form/file/FinalFormFileUpload.d.ts +28 -0
- package/lib/form/file/FinalFormFileUpload.d.ts.map +1 -0
- package/lib/form/file/FinalFormFileUpload.generated.d.ts +21 -0
- package/lib/form/file/FinalFormFileUpload.generated.d.ts.map +1 -0
- package/lib/form/file/FinalFormFileUpload.generated.js +6 -0
- package/lib/form/file/FinalFormFileUpload.js +256 -0
- package/lib/form/file/chooseFile/BaseChooseDamFileDialog.d.ts +20 -0
- package/lib/form/file/chooseFile/BaseChooseDamFileDialog.d.ts.map +1 -0
- package/lib/form/file/chooseFile/BaseChooseDamFileDialog.js +106 -0
- package/lib/form/file/chooseFile/ChooseDamFileDialog.d.ts +10 -0
- package/lib/form/file/chooseFile/ChooseDamFileDialog.d.ts.map +1 -0
- package/lib/form/file/chooseFile/ChooseDamFileDialog.js +63 -0
- package/lib/form/file/chooseFile/ChooseDamFilesDialog.d.ts +9 -0
- package/lib/form/file/chooseFile/ChooseDamFilesDialog.d.ts.map +1 -0
- package/lib/form/file/chooseFile/ChooseDamFilesDialog.js +117 -0
- package/lib/form/file/chooseFile/RedirectToPersistedDamLocation.d.ts +6 -0
- package/lib/form/file/chooseFile/RedirectToPersistedDamLocation.d.ts.map +1 -0
- package/lib/form/file/chooseFile/RedirectToPersistedDamLocation.js +36 -0
- package/lib/form/file/upload.d.ts +44 -0
- package/lib/form/file/upload.d.ts.map +1 -0
- package/lib/form/file/upload.js +120 -0
- package/lib/form/queryUpdatedAt.d.ts +3 -0
- package/lib/form/queryUpdatedAt.d.ts.map +1 -0
- package/lib/form/queryUpdatedAt.js +41 -0
- package/lib/form/serializeInitialValues.d.ts +2 -0
- package/lib/form/serializeInitialValues.d.ts.map +1 -0
- package/lib/form/serializeInitialValues.js +4 -0
- package/lib/form/useFormSaveConflict.d.ts +10 -0
- package/lib/form/useFormSaveConflict.d.ts.map +1 -0
- package/lib/form/useFormSaveConflict.js +58 -0
- package/lib/fullTextSearch/SearchHeaderItem.d.ts +2 -0
- package/lib/fullTextSearch/SearchHeaderItem.d.ts.map +1 -0
- package/lib/fullTextSearch/SearchHeaderItem.generated.d.ts +25 -0
- package/lib/fullTextSearch/SearchHeaderItem.generated.d.ts.map +1 -0
- package/lib/fullTextSearch/SearchHeaderItem.generated.js +5 -0
- package/lib/fullTextSearch/SearchHeaderItem.js +175 -0
- package/lib/graphql.generated.d.ts +1166 -0
- package/lib/graphql.generated.d.ts.map +1 -0
- package/lib/graphql.generated.js +1 -0
- package/lib/index.d.ts +188 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +155 -0
- package/lib/pages/LocalPageTreeNodeDocumentAnchors.d.ts +9 -0
- package/lib/pages/LocalPageTreeNodeDocumentAnchors.d.ts.map +1 -0
- package/lib/pages/LocalPageTreeNodeDocumentAnchors.js +15 -0
- package/lib/pages/SaveConflictDialog.d.ts +8 -0
- package/lib/pages/SaveConflictDialog.d.ts.map +1 -0
- package/lib/pages/SaveConflictDialog.js +177 -0
- package/lib/pages/config/usePageTreeScope.d.ts +3 -0
- package/lib/pages/config/usePageTreeScope.d.ts.map +1 -0
- package/lib/pages/config/usePageTreeScope.js +18 -0
- package/lib/pages/createEditPageNode.d.ts +25 -0
- package/lib/pages/createEditPageNode.d.ts.map +1 -0
- package/lib/pages/createEditPageNode.generated.d.ts +96 -0
- package/lib/pages/createEditPageNode.generated.d.ts.map +1 -0
- package/lib/pages/createEditPageNode.generated.js +12 -0
- package/lib/pages/createEditPageNode.js +512 -0
- package/lib/pages/createUsePage.d.ts +82 -0
- package/lib/pages/createUsePage.d.ts.map +1 -0
- package/lib/pages/createUsePage.generated.d.ts +30 -0
- package/lib/pages/createUsePage.generated.d.ts.map +1 -0
- package/lib/pages/createUsePage.generated.js +8 -0
- package/lib/pages/createUsePage.js +545 -0
- package/lib/pages/pageSearch/PageSearch.d.ts +9 -0
- package/lib/pages/pageSearch/PageSearch.d.ts.map +1 -0
- package/lib/pages/pageSearch/PageSearch.js +15 -0
- package/lib/pages/pageSearch/usePageSearch.d.ts +31 -0
- package/lib/pages/pageSearch/usePageSearch.d.ts.map +1 -0
- package/lib/pages/pageSearch/usePageSearch.generated.d.ts +12 -0
- package/lib/pages/pageSearch/usePageSearch.generated.d.ts.map +1 -0
- package/lib/pages/pageSearch/usePageSearch.generated.js +5 -0
- package/lib/pages/pageSearch/usePageSearch.js +221 -0
- package/lib/pages/pageTree/CopyPasteMenuItem.d.ts +7 -0
- package/lib/pages/pageTree/CopyPasteMenuItem.d.ts.map +1 -0
- package/lib/pages/pageTree/CopyPasteMenuItem.js +77 -0
- package/lib/pages/pageTree/MovePageMenuItem.d.ts +7 -0
- package/lib/pages/pageTree/MovePageMenuItem.d.ts.map +1 -0
- package/lib/pages/pageTree/MovePageMenuItem.generated.d.ts +19 -0
- package/lib/pages/pageTree/MovePageMenuItem.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/MovePageMenuItem.generated.js +5 -0
- package/lib/pages/pageTree/MovePageMenuItem.js +105 -0
- package/lib/pages/pageTree/Page.d.ts +3 -0
- package/lib/pages/pageTree/Page.d.ts.map +1 -0
- package/lib/pages/pageTree/Page.generated.d.ts +14 -0
- package/lib/pages/pageTree/Page.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/Page.generated.js +5 -0
- package/lib/pages/pageTree/Page.js +4 -0
- package/lib/pages/pageTree/PageActions.d.ts +11 -0
- package/lib/pages/pageTree/PageActions.d.ts.map +1 -0
- package/lib/pages/pageTree/PageActions.js +192 -0
- package/lib/pages/pageTree/PageDeleteDialog.d.ts +10 -0
- package/lib/pages/pageTree/PageDeleteDialog.d.ts.map +1 -0
- package/lib/pages/pageTree/PageDeleteDialog.js +165 -0
- package/lib/pages/pageTree/PageDeleteDialog.sc.d.ts +6 -0
- package/lib/pages/pageTree/PageDeleteDialog.sc.d.ts.map +1 -0
- package/lib/pages/pageTree/PageDeleteDialog.sc.js +57 -0
- package/lib/pages/pageTree/PageInfo.d.ts +9 -0
- package/lib/pages/pageTree/PageInfo.d.ts.map +1 -0
- package/lib/pages/pageTree/PageInfo.js +65 -0
- package/lib/pages/pageTree/PageLabel.d.ts +10 -0
- package/lib/pages/pageTree/PageLabel.d.ts.map +1 -0
- package/lib/pages/pageTree/PageLabel.js +113 -0
- package/lib/pages/pageTree/PageTree.d.ts +17 -0
- package/lib/pages/pageTree/PageTree.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTree.generated.d.ts +76 -0
- package/lib/pages/pageTree/PageTree.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTree.generated.js +13 -0
- package/lib/pages/pageTree/PageTree.js +478 -0
- package/lib/pages/pageTree/PageTreeContext.d.ts +17 -0
- package/lib/pages/pageTree/PageTreeContext.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTreeContext.js +2 -0
- package/lib/pages/pageTree/PageTreeDragLayer.d.ts +6 -0
- package/lib/pages/pageTree/PageTreeDragLayer.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTreeDragLayer.js +56 -0
- package/lib/pages/pageTree/PageTreeDragLayer.sc.d.ts +3 -0
- package/lib/pages/pageTree/PageTreeDragLayer.sc.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTreeDragLayer.sc.js +28 -0
- package/lib/pages/pageTree/PageTreeRow.d.ts +26 -0
- package/lib/pages/pageTree/PageTreeRow.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTreeRow.js +275 -0
- package/lib/pages/pageTree/PageTreeRow.sc.d.ts +7 -0
- package/lib/pages/pageTree/PageTreeRow.sc.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTreeRow.sc.js +94 -0
- package/lib/pages/pageTree/PageTreeRowDivider.d.ts +8 -0
- package/lib/pages/pageTree/PageTreeRowDivider.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTreeRowDivider.js +70 -0
- package/lib/pages/pageTree/PageTreeService.d.ts +43 -0
- package/lib/pages/pageTree/PageTreeService.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTreeService.js +388 -0
- package/lib/pages/pageTree/PageTypeIcon.d.ts +9 -0
- package/lib/pages/pageTree/PageTypeIcon.d.ts.map +1 -0
- package/lib/pages/pageTree/PageTypeIcon.js +30 -0
- package/lib/pages/pageTree/PageVisibility.d.ts +8 -0
- package/lib/pages/pageTree/PageVisibility.d.ts.map +1 -0
- package/lib/pages/pageTree/PageVisibility.generated.d.ts +21 -0
- package/lib/pages/pageTree/PageVisibility.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/PageVisibility.generated.js +5 -0
- package/lib/pages/pageTree/PageVisibility.js +149 -0
- package/lib/pages/pageTree/PageVisibilityIcon.d.ts +9 -0
- package/lib/pages/pageTree/PageVisibilityIcon.d.ts.map +1 -0
- package/lib/pages/pageTree/PageVisibilityIcon.js +21 -0
- package/lib/pages/pageTree/common/PageTreeTableRow.d.ts +15 -0
- package/lib/pages/pageTree/common/PageTreeTableRow.d.ts.map +1 -0
- package/lib/pages/pageTree/common/PageTreeTableRow.js +94 -0
- package/lib/pages/pageTree/findAvailableSlug.d.ts +11 -0
- package/lib/pages/pageTree/findAvailableSlug.d.ts.map +1 -0
- package/lib/pages/pageTree/findAvailableSlug.generated.d.ts +16 -0
- package/lib/pages/pageTree/findAvailableSlug.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/findAvailableSlug.generated.js +5 -0
- package/lib/pages/pageTree/findAvailableSlug.js +62 -0
- package/lib/pages/pageTree/transformToSlug.d.ts +2 -0
- package/lib/pages/pageTree/transformToSlug.d.ts.map +1 -0
- package/lib/pages/pageTree/transformToSlug.js +12 -0
- package/lib/pages/pageTree/treemap/TreeMapUtils.d.ts +95 -0
- package/lib/pages/pageTree/treemap/TreeMapUtils.d.ts.map +1 -0
- package/lib/pages/pageTree/treemap/TreeMapUtils.js +236 -0
- package/lib/pages/pageTree/useButtonHoverStates.d.ts +11 -0
- package/lib/pages/pageTree/useButtonHoverStates.d.ts.map +1 -0
- package/lib/pages/pageTree/useButtonHoverStates.js +39 -0
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.d.ts +10 -0
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.d.ts.map +1 -0
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.generated.d.ts +18 -0
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.generated.js +5 -0
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.js +44 -0
- package/lib/pages/pageTree/useCopyPastePages/sendPages.d.ts +40 -0
- package/lib/pages/pageTree/useCopyPastePages/sendPages.d.ts.map +1 -0
- package/lib/pages/pageTree/useCopyPastePages/sendPages.generated.d.ts +56 -0
- package/lib/pages/pageTree/useCopyPastePages/sendPages.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/useCopyPastePages/sendPages.generated.js +9 -0
- package/lib/pages/pageTree/useCopyPastePages/sendPages.js +605 -0
- package/lib/pages/pageTree/useCopyPastePages.d.ts +52 -0
- package/lib/pages/pageTree/useCopyPastePages.d.ts.map +1 -0
- package/lib/pages/pageTree/useCopyPastePages.js +269 -0
- package/lib/pages/pageTree/useDndWindowScroll/ScrollManager.d.ts +13 -0
- package/lib/pages/pageTree/useDndWindowScroll/ScrollManager.d.ts.map +1 -0
- package/lib/pages/pageTree/useDndWindowScroll/ScrollManager.js +54 -0
- package/lib/pages/pageTree/useDndWindowScroll/useAnimationFrame.d.ts +2 -0
- package/lib/pages/pageTree/useDndWindowScroll/useAnimationFrame.d.ts.map +1 -0
- package/lib/pages/pageTree/useDndWindowScroll/useAnimationFrame.js +26 -0
- package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.d.ts +9 -0
- package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.d.ts.map +1 -0
- package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.js +51 -0
- package/lib/pages/pageTree/usePageTree.d.ts +34 -0
- package/lib/pages/pageTree/usePageTree.d.ts.map +1 -0
- package/lib/pages/pageTree/usePageTree.generated.d.ts +20 -0
- package/lib/pages/pageTree/usePageTree.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/usePageTree.generated.js +5 -0
- package/lib/pages/pageTree/usePageTree.js +177 -0
- package/lib/pages/pageTree/usePageTreeContext.d.ts +3 -0
- package/lib/pages/pageTree/usePageTreeContext.d.ts.map +1 -0
- package/lib/pages/pageTree/usePageTreeContext.js +9 -0
- package/lib/pages/pageTree/useProgressDialog.d.ts +11 -0
- package/lib/pages/pageTree/useProgressDialog.d.ts.map +1 -0
- package/lib/pages/pageTree/useProgressDialog.js +103 -0
- package/lib/pages/pageTree/useTranslatePagesAction.d.ts +16 -0
- package/lib/pages/pageTree/useTranslatePagesAction.d.ts.map +1 -0
- package/lib/pages/pageTree/useTranslatePagesAction.generated.d.ts +20 -0
- package/lib/pages/pageTree/useTranslatePagesAction.generated.d.ts.map +1 -0
- package/lib/pages/pageTree/useTranslatePagesAction.generated.js +5 -0
- package/lib/pages/pageTree/useTranslatePagesAction.js +339 -0
- package/lib/pages/pageTreeConfig.d.ts +19 -0
- package/lib/pages/pageTreeConfig.d.ts.map +1 -0
- package/lib/pages/pageTreeConfig.js +8 -0
- package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.d.ts +7 -0
- package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.d.ts.map +1 -0
- package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.js +9 -0
- package/lib/pages/pageTreeSelect/PageTreeSelect.d.ts +8 -0
- package/lib/pages/pageTreeSelect/PageTreeSelect.d.ts.map +1 -0
- package/lib/pages/pageTreeSelect/PageTreeSelect.generated.d.ts +17 -0
- package/lib/pages/pageTreeSelect/PageTreeSelect.generated.d.ts.map +1 -0
- package/lib/pages/pageTreeSelect/PageTreeSelect.generated.js +5 -0
- package/lib/pages/pageTreeSelect/PageTreeSelect.js +72 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.d.ts +18 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.d.ts.map +1 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.generated.d.ts +13 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.generated.d.ts.map +1 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.generated.js +5 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.js +389 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.sc.d.ts +5 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.sc.d.ts.map +1 -0
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.sc.js +55 -0
- package/lib/pages/pagesPage/ConfirmPageActionDialog.d.ts +10 -0
- package/lib/pages/pagesPage/ConfirmPageActionDialog.d.ts.map +1 -0
- package/lib/pages/pagesPage/ConfirmPageActionDialog.js +100 -0
- package/lib/pages/pagesPage/PageCanNotDeleteDialog.d.ts +7 -0
- package/lib/pages/pagesPage/PageCanNotDeleteDialog.d.ts.map +1 -0
- package/lib/pages/pagesPage/PageCanNotDeleteDialog.js +37 -0
- package/lib/pages/pagesPage/PagesPage.d.ts +14 -0
- package/lib/pages/pagesPage/PagesPage.d.ts.map +1 -0
- package/lib/pages/pagesPage/PagesPage.js +322 -0
- package/lib/pages/pagesPage/PagesPageActionToolbar.d.ts +13 -0
- package/lib/pages/pagesPage/PagesPageActionToolbar.d.ts.map +1 -0
- package/lib/pages/pagesPage/PagesPageActionToolbar.js +505 -0
- package/lib/pages/pagesPage/PagesPageActionToolbar.sc.d.ts +9 -0
- package/lib/pages/pagesPage/PagesPageActionToolbar.sc.d.ts.map +1 -0
- package/lib/pages/pagesPage/PagesPageActionToolbar.sc.js +50 -0
- package/lib/pages/pagesPage/PagesPageActionToolbarBatchUpdateHelper.d.ts +6 -0
- package/lib/pages/pagesPage/PagesPageActionToolbarBatchUpdateHelper.d.ts.map +1 -0
- package/lib/pages/pagesPage/PagesPageActionToolbarBatchUpdateHelper.js +83 -0
- package/lib/pages/pagesPage/areAllSubTreesFullSelected.d.ts +3 -0
- package/lib/pages/pagesPage/areAllSubTreesFullSelected.d.ts.map +1 -0
- package/lib/pages/pagesPage/areAllSubTreesFullSelected.js +16 -0
- package/lib/pages/pagesPage/createPagesQuery.d.ts +11 -0
- package/lib/pages/pagesPage/createPagesQuery.d.ts.map +1 -0
- package/lib/pages/pagesPage/createPagesQuery.generated.d.ts +27 -0
- package/lib/pages/pagesPage/createPagesQuery.generated.d.ts.map +1 -0
- package/lib/pages/pagesPage/createPagesQuery.generated.js +5 -0
- package/lib/pages/pagesPage/createPagesQuery.js +11 -0
- package/lib/pages/resolveHasSaveConflict.d.ts +2 -0
- package/lib/pages/resolveHasSaveConflict.d.ts.map +1 -0
- package/lib/pages/resolveHasSaveConflict.js +9 -0
- package/lib/pages/usePageTreeDocumentAnchors.d.ts +6 -0
- package/lib/pages/usePageTreeDocumentAnchors.d.ts.map +1 -0
- package/lib/pages/usePageTreeDocumentAnchors.generated.d.ts +17 -0
- package/lib/pages/usePageTreeDocumentAnchors.generated.d.ts.map +1 -0
- package/lib/pages/usePageTreeDocumentAnchors.generated.js +5 -0
- package/lib/pages/usePageTreeDocumentAnchors.js +41 -0
- package/lib/pages/useSaveConflict.d.ts +15 -0
- package/lib/pages/useSaveConflict.d.ts.map +1 -0
- package/lib/pages/useSaveConflict.js +149 -0
- package/lib/pages/useSaveConflictQuery.d.ts +14 -0
- package/lib/pages/useSaveConflictQuery.d.ts.map +1 -0
- package/lib/pages/useSaveConflictQuery.js +70 -0
- package/lib/preview/block/BlockPreview.d.ts +9 -0
- package/lib/preview/block/BlockPreview.d.ts.map +1 -0
- package/lib/preview/block/BlockPreview.generated.d.ts +16 -0
- package/lib/preview/block/BlockPreview.generated.d.ts.map +1 -0
- package/lib/preview/block/BlockPreview.generated.js +5 -0
- package/lib/preview/block/BlockPreview.js +119 -0
- package/lib/preview/block/BlockPreviewWithTabs.d.ts +11 -0
- package/lib/preview/block/BlockPreviewWithTabs.d.ts.map +1 -0
- package/lib/preview/block/BlockPreviewWithTabs.js +38 -0
- package/lib/preview/block/SplitPreview.d.ts +11 -0
- package/lib/preview/block/SplitPreview.d.ts.map +1 -0
- package/lib/preview/block/SplitPreview.js +77 -0
- package/lib/preview/block/SplitPreview.sc.d.ts +18 -0
- package/lib/preview/block/SplitPreview.sc.d.ts.map +1 -0
- package/lib/preview/block/SplitPreview.sc.js +89 -0
- package/lib/preview/block/useBlockPreview.d.ts +13 -0
- package/lib/preview/block/useBlockPreview.d.ts.map +1 -0
- package/lib/preview/block/useBlockPreview.js +31 -0
- package/lib/preview/common/Device.d.ts +8 -0
- package/lib/preview/common/Device.d.ts.map +1 -0
- package/lib/preview/common/Device.js +10 -0
- package/lib/preview/common/DeviceToggle.d.ts +8 -0
- package/lib/preview/common/DeviceToggle.d.ts.map +1 -0
- package/lib/preview/common/DeviceToggle.js +50 -0
- package/lib/preview/common/IFrameViewer.d.ts +8 -0
- package/lib/preview/common/IFrameViewer.d.ts.map +1 -0
- package/lib/preview/common/IFrameViewer.js +127 -0
- package/lib/preview/common/ToggleButton.d.ts +3 -0
- package/lib/preview/common/ToggleButton.d.ts.map +1 -0
- package/lib/preview/common/ToggleButton.js +18 -0
- package/lib/preview/common/VisibilityToggle.d.ts +7 -0
- package/lib/preview/common/VisibilityToggle.d.ts.map +1 -0
- package/lib/preview/common/VisibilityToggle.js +23 -0
- package/lib/preview/openSitePreviewWindow.d.ts +7 -0
- package/lib/preview/openSitePreviewWindow.d.ts.map +1 -0
- package/lib/preview/openSitePreviewWindow.js +13 -0
- package/lib/preview/site/OpenLinkDialog.d.ts +9 -0
- package/lib/preview/site/OpenLinkDialog.d.ts.map +1 -0
- package/lib/preview/site/OpenLinkDialog.js +86 -0
- package/lib/preview/site/SitePreview.d.ts +10 -0
- package/lib/preview/site/SitePreview.d.ts.map +1 -0
- package/lib/preview/site/SitePreview.generated.d.ts +16 -0
- package/lib/preview/site/SitePreview.generated.d.ts.map +1 -0
- package/lib/preview/site/SitePreview.generated.js +5 -0
- package/lib/preview/site/SitePreview.js +217 -0
- package/lib/preview/site/SitePreview.sc.d.ts +7 -0
- package/lib/preview/site/SitePreview.sc.d.ts.map +1 -0
- package/lib/preview/site/SitePreview.sc.js +69 -0
- package/lib/preview/site/iframebridge/SitePreviewIFrameMessage.d.ts +18 -0
- package/lib/preview/site/iframebridge/SitePreviewIFrameMessage.d.ts.map +1 -0
- package/lib/preview/site/iframebridge/SitePreviewIFrameMessage.js +9 -0
- package/lib/preview/site/iframebridge/useSitePreviewIFrameBridge.d.ts +3 -0
- package/lib/preview/site/iframebridge/useSitePreviewIFrameBridge.d.ts.map +1 -0
- package/lib/preview/site/iframebridge/useSitePreviewIFrameBridge.js +22 -0
- package/lib/redirects/RedirectActiveness.d.ts +9 -0
- package/lib/redirects/RedirectActiveness.d.ts.map +1 -0
- package/lib/redirects/RedirectActiveness.generated.d.ts +28 -0
- package/lib/redirects/RedirectActiveness.generated.d.ts.map +1 -0
- package/lib/redirects/RedirectActiveness.generated.js +8 -0
- package/lib/redirects/RedirectActiveness.js +100 -0
- package/lib/redirects/RedirectForm.d.ts +20 -0
- package/lib/redirects/RedirectForm.d.ts.map +1 -0
- package/lib/redirects/RedirectForm.generated.d.ts +15 -0
- package/lib/redirects/RedirectForm.generated.d.ts.map +1 -0
- package/lib/redirects/RedirectForm.generated.js +5 -0
- package/lib/redirects/RedirectForm.gql.d.ts +4 -0
- package/lib/redirects/RedirectForm.gql.d.ts.map +1 -0
- package/lib/redirects/RedirectForm.gql.generated.d.ts +75 -0
- package/lib/redirects/RedirectForm.gql.generated.d.ts.map +1 -0
- package/lib/redirects/RedirectForm.gql.generated.js +12 -0
- package/lib/redirects/RedirectForm.gql.js +7 -0
- package/lib/redirects/RedirectForm.js +313 -0
- package/lib/redirects/RedirectsGrid.d.ts +9 -0
- package/lib/redirects/RedirectsGrid.d.ts.map +1 -0
- package/lib/redirects/RedirectsGrid.gql.d.ts +4 -0
- package/lib/redirects/RedirectsGrid.gql.d.ts.map +1 -0
- package/lib/redirects/RedirectsGrid.gql.generated.d.ts +65 -0
- package/lib/redirects/RedirectsGrid.gql.generated.d.ts.map +1 -0
- package/lib/redirects/RedirectsGrid.gql.generated.js +12 -0
- package/lib/redirects/RedirectsGrid.gql.js +11 -0
- package/lib/redirects/RedirectsGrid.js +313 -0
- package/lib/redirects/createRedirectsPage.d.ts +12 -0
- package/lib/redirects/createRedirectsPage.d.ts.map +1 -0
- package/lib/redirects/createRedirectsPage.js +137 -0
- package/lib/redirects/redirectsConfig.d.ts +7 -0
- package/lib/redirects/redirectsConfig.d.ts.map +1 -0
- package/lib/redirects/redirectsConfig.js +20 -0
- package/lib/redirects/submitMutation.d.ts +9 -0
- package/lib/redirects/submitMutation.d.ts.map +1 -0
- package/lib/redirects/submitMutation.js +53 -0
- package/lib/siteConfigs/siteConfigsConfig.d.ts +12 -0
- package/lib/siteConfigs/siteConfigsConfig.d.ts.map +1 -0
- package/lib/siteConfigs/siteConfigsConfig.js +1 -0
- package/lib/siteConfigs/useSiteConfig.d.ts +6 -0
- package/lib/siteConfigs/useSiteConfig.d.ts.map +1 -0
- package/lib/siteConfigs/useSiteConfig.js +17 -0
- package/lib/siteConfigs/useSiteConfigs.d.ts +3 -0
- package/lib/siteConfigs/useSiteConfigs.d.ts.map +1 -0
- package/lib/siteConfigs/useSiteConfigs.js +8 -0
- package/lib/storybook.d.js +1 -0
- package/lib/testing/test-utils.d.ts +6 -0
- package/lib/testing/test-utils.d.ts.map +1 -0
- package/lib/testing/test-utils.js +34 -0
- package/lib/translation/AzureAiTranslatorProvider.d.ts +8 -0
- package/lib/translation/AzureAiTranslatorProvider.d.ts.map +1 -0
- package/lib/translation/AzureAiTranslatorProvider.generated.d.ts +22 -0
- package/lib/translation/AzureAiTranslatorProvider.generated.d.ts.map +1 -0
- package/lib/translation/AzureAiTranslatorProvider.generated.js +6 -0
- package/lib/translation/AzureAiTranslatorProvider.js +91 -0
- package/lib/translation/TranslatableInterface.d.ts +4 -0
- package/lib/translation/TranslatableInterface.d.ts.map +1 -0
- package/lib/translation/TranslatableInterface.js +1 -0
- package/lib/translation/TranslateContentMenuItem.d.ts +7 -0
- package/lib/translation/TranslateContentMenuItem.d.ts.map +1 -0
- package/lib/translation/TranslateContentMenuItem.js +99 -0
- package/lib/translation/createDocumentTranslationMethods.d.ts +4 -0
- package/lib/translation/createDocumentTranslationMethods.d.ts.map +1 -0
- package/lib/translation/createDocumentTranslationMethods.js +62 -0
- package/lib/userPermissions/ImpersonateMenuItem.d.ts +4 -0
- package/lib/userPermissions/ImpersonateMenuItem.d.ts.map +1 -0
- package/lib/userPermissions/ImpersonateMenuItem.generated.d.ts +18 -0
- package/lib/userPermissions/ImpersonateMenuItem.generated.d.ts.map +1 -0
- package/lib/userPermissions/ImpersonateMenuItem.generated.js +5 -0
- package/lib/userPermissions/ImpersonateMenuItem.js +63 -0
- package/lib/userPermissions/UserGrid.d.ts +11 -0
- package/lib/userPermissions/UserGrid.d.ts.map +1 -0
- package/lib/userPermissions/UserGrid.generated.d.ts +53 -0
- package/lib/userPermissions/UserGrid.generated.d.ts.map +1 -0
- package/lib/userPermissions/UserGrid.generated.js +9 -0
- package/lib/userPermissions/UserGrid.js +225 -0
- package/lib/userPermissions/UserPermissionsPage.d.ts +2 -0
- package/lib/userPermissions/UserPermissionsPage.d.ts.map +1 -0
- package/lib/userPermissions/UserPermissionsPage.js +89 -0
- package/lib/userPermissions/hooks/currentUser.d.ts +39 -0
- package/lib/userPermissions/hooks/currentUser.d.ts.map +1 -0
- package/lib/userPermissions/hooks/currentUser.generated.d.ts +36 -0
- package/lib/userPermissions/hooks/currentUser.generated.d.ts.map +1 -0
- package/lib/userPermissions/hooks/currentUser.generated.js +5 -0
- package/lib/userPermissions/hooks/currentUser.js +100 -0
- package/lib/userPermissions/user/ImpersonationButtons.d.ts +6 -0
- package/lib/userPermissions/user/ImpersonationButtons.d.ts.map +1 -0
- package/lib/userPermissions/user/ImpersonationButtons.js +76 -0
- package/lib/userPermissions/user/UserPageToolbar.d.ts +4 -0
- package/lib/userPermissions/user/UserPageToolbar.d.ts.map +1 -0
- package/lib/userPermissions/user/UserPageToolbar.generated.d.ts +19 -0
- package/lib/userPermissions/user/UserPageToolbar.generated.d.ts.map +1 -0
- package/lib/userPermissions/user/UserPageToolbar.generated.js +5 -0
- package/lib/userPermissions/user/UserPageToolbar.js +83 -0
- package/lib/userPermissions/user/basicData/UserBasicData.d.ts +4 -0
- package/lib/userPermissions/user/basicData/UserBasicData.d.ts.map +1 -0
- package/lib/userPermissions/user/basicData/UserBasicData.generated.d.ts +19 -0
- package/lib/userPermissions/user/basicData/UserBasicData.generated.d.ts.map +1 -0
- package/lib/userPermissions/user/basicData/UserBasicData.generated.js +5 -0
- package/lib/userPermissions/user/basicData/UserBasicData.js +71 -0
- package/lib/userPermissions/user/permissions/ContentScopeGrid.d.ts +7 -0
- package/lib/userPermissions/user/permissions/ContentScopeGrid.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/ContentScopeGrid.generated.d.ts +20 -0
- package/lib/userPermissions/user/permissions/ContentScopeGrid.generated.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/ContentScopeGrid.generated.js +5 -0
- package/lib/userPermissions/user/permissions/ContentScopeGrid.js +146 -0
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.d.ts +8 -0
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.generated.d.ts +38 -0
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.generated.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.generated.js +8 -0
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.js +169 -0
- package/lib/userPermissions/user/permissions/PermissionDialog.d.ts +8 -0
- package/lib/userPermissions/user/permissions/PermissionDialog.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/PermissionDialog.generated.d.ts +71 -0
- package/lib/userPermissions/user/permissions/PermissionDialog.generated.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/PermissionDialog.generated.js +13 -0
- package/lib/userPermissions/user/permissions/PermissionDialog.js +242 -0
- package/lib/userPermissions/user/permissions/PermissionGrid.d.ts +4 -0
- package/lib/userPermissions/user/permissions/PermissionGrid.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/PermissionGrid.generated.d.ts +50 -0
- package/lib/userPermissions/user/permissions/PermissionGrid.generated.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/PermissionGrid.generated.js +11 -0
- package/lib/userPermissions/user/permissions/PermissionGrid.js +216 -0
- package/lib/userPermissions/user/permissions/PermissionsPanel.d.ts +4 -0
- package/lib/userPermissions/user/permissions/PermissionsPanel.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/PermissionsPanel.js +18 -0
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.d.ts +10 -0
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.generated.d.ts +29 -0
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.generated.d.ts.map +1 -0
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.generated.js +8 -0
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.js +129 -0
- package/lib/userPermissions/utils/camelCaseToHumanReadable.d.ts +2 -0
- package/lib/userPermissions/utils/camelCaseToHumanReadable.d.ts.map +1 -0
- package/lib/userPermissions/utils/camelCaseToHumanReadable.js +6 -0
- package/lib/userPermissions/utils/handleImpersonation.d.ts +3 -0
- package/lib/userPermissions/utils/handleImpersonation.d.ts.map +1 -0
- package/lib/userPermissions/utils/handleImpersonation.js +37 -0
- package/lib/validation/isLinkTarget.d.ts +2 -0
- package/lib/validation/isLinkTarget.d.ts.map +1 -0
- package/lib/validation/isLinkTarget.js +18 -0
- package/lib/validation/isPhoneNumber.d.ts +2 -0
- package/lib/validation/isPhoneNumber.d.ts.map +1 -0
- package/lib/validation/isPhoneNumber.js +4 -0
- package/lib/validation/validateJson.d.ts +2 -0
- package/lib/validation/validateJson.d.ts.map +1 -0
- package/lib/validation/validateJson.js +15 -0
- package/lib/validation/validateLinkTarget.d.ts +2 -0
- package/lib/validation/validateLinkTarget.d.ts.map +1 -0
- package/lib/validation/validateLinkTarget.js +11 -0
- package/lib/validation/validatePhoneNumber.d.ts +2 -0
- package/lib/validation/validatePhoneNumber.d.ts.map +1 -0
- package/lib/validation/validatePhoneNumber.js +11 -0
- package/lib/validation/validateUrl.d.ts +2 -0
- package/lib/validation/validateUrl.d.ts.map +1 -0
- package/lib/validation/validateUrl.js +11 -0
- package/lib/vendors.d.js +1 -0
- package/lib/warnings/LatestWarningsDashboardWidget.d.ts +2 -0
- package/lib/warnings/LatestWarningsDashboardWidget.d.ts.map +1 -0
- package/lib/warnings/LatestWarningsDashboardWidget.generated.d.ts +47 -0
- package/lib/warnings/LatestWarningsDashboardWidget.generated.d.ts.map +1 -0
- package/lib/warnings/LatestWarningsDashboardWidget.generated.js +8 -0
- package/lib/warnings/LatestWarningsDashboardWidget.js +105 -0
- package/lib/warnings/WarningActions.d.ts +13 -0
- package/lib/warnings/WarningActions.d.ts.map +1 -0
- package/lib/warnings/WarningActions.js +115 -0
- package/lib/warnings/WarningMessage.d.ts +8 -0
- package/lib/warnings/WarningMessage.d.ts.map +1 -0
- package/lib/warnings/WarningMessage.js +11 -0
- package/lib/warnings/WarningSeverity.d.ts +7 -0
- package/lib/warnings/WarningSeverity.d.ts.map +1 -0
- package/lib/warnings/WarningSeverity.js +37 -0
- package/lib/warnings/WarningsGrid.d.ts +2 -0
- package/lib/warnings/WarningsGrid.d.ts.map +1 -0
- package/lib/warnings/WarningsGrid.generated.d.ts +67 -0
- package/lib/warnings/WarningsGrid.generated.d.ts.map +1 -0
- package/lib/warnings/WarningsGrid.generated.js +8 -0
- package/lib/warnings/WarningsGrid.js +286 -0
- package/lib/warnings/WarningsPage.d.ts +2 -0
- package/lib/warnings/WarningsPage.d.ts.map +1 -0
- package/lib/warnings/WarningsPage.js +19 -0
- package/lib/warnings/warningMessages.d.ts +10 -0
- package/lib/warnings/warningMessages.d.ts.map +1 -0
- package/lib/warnings/warningMessages.js +32 -0
- package/lib/warnings/warningsConfig.d.ts +6 -0
- package/lib/warnings/warningsConfig.d.ts.map +1 -0
- package/lib/warnings/warningsConfig.js +15 -0
- package/package.json +185 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
8
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
|
|
9
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
10
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
11
|
+
// eslint-disable-next-line no-restricted-imports
|
|
12
|
+
import { Button } from "@mui/material";
|
|
13
|
+
import Cookies from "js-cookie";
|
|
14
|
+
import { commonImpersonationMessages } from "../../common/impersonation/commonImpersonationMessages";
|
|
15
|
+
import { useCurrentUser, useUserPermissionCheck } from "../hooks/currentUser";
|
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
+
export var StopImpersonationButton = function StopImpersonationButton(buttonProps) {
|
|
18
|
+
var stopImpersonation = /*#__PURE__*/function () {
|
|
19
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
|
|
20
|
+
return _regenerator().w(function (_context) {
|
|
21
|
+
while (1) switch (_context.n) {
|
|
22
|
+
case 0:
|
|
23
|
+
Cookies.remove("comet-impersonate-user-id");
|
|
24
|
+
location.href = "/";
|
|
25
|
+
case 1:
|
|
26
|
+
return _context.a(2);
|
|
27
|
+
}
|
|
28
|
+
}, _callee);
|
|
29
|
+
}));
|
|
30
|
+
return function stopImpersonation() {
|
|
31
|
+
return _ref.apply(this, arguments);
|
|
32
|
+
};
|
|
33
|
+
}();
|
|
34
|
+
return /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({
|
|
35
|
+
onClick: stopImpersonation
|
|
36
|
+
}, buttonProps), {}, {
|
|
37
|
+
children: commonImpersonationMessages.stopImpersonation
|
|
38
|
+
}));
|
|
39
|
+
};
|
|
40
|
+
export var StartImpersonationButton = function StartImpersonationButton(_ref2) {
|
|
41
|
+
var userId = _ref2.userId;
|
|
42
|
+
var currentUser = useCurrentUser();
|
|
43
|
+
var isAllowed = useUserPermissionCheck();
|
|
44
|
+
var startImpersonation = /*#__PURE__*/function () {
|
|
45
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2() {
|
|
46
|
+
return _regenerator().w(function (_context2) {
|
|
47
|
+
while (1) switch (_context2.n) {
|
|
48
|
+
case 0:
|
|
49
|
+
Cookies.set("comet-impersonate-user-id", userId);
|
|
50
|
+
location.href = "/";
|
|
51
|
+
case 1:
|
|
52
|
+
return _context2.a(2);
|
|
53
|
+
}
|
|
54
|
+
}, _callee2);
|
|
55
|
+
}));
|
|
56
|
+
return function startImpersonation() {
|
|
57
|
+
return _ref3.apply(this, arguments);
|
|
58
|
+
};
|
|
59
|
+
}();
|
|
60
|
+
if (!isAllowed("impersonation")) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
if (currentUser.id !== userId && !currentUser.impersonated) {
|
|
64
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
65
|
+
onClick: startImpersonation,
|
|
66
|
+
variant: "contained",
|
|
67
|
+
children: commonImpersonationMessages.startImpersonation
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
if (currentUser.impersonated && currentUser.id === userId) {
|
|
71
|
+
return /*#__PURE__*/_jsx(StopImpersonationButton, {
|
|
72
|
+
variant: "contained"
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserPageToolbar.d.ts","sourceRoot":"","sources":["../../../src/userPermissions/user/UserPageToolbar.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,8BAA8B,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,4CAyD5E,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Types from '../../graphql.generated';
|
|
2
|
+
export declare const namedOperations: {
|
|
3
|
+
Query: {
|
|
4
|
+
UserPage: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export type GQLUserPageQueryVariables = Types.Exact<{
|
|
8
|
+
id: Types.Scalars['String']['input'];
|
|
9
|
+
}>;
|
|
10
|
+
export type GQLUserPageQuery = {
|
|
11
|
+
__typename?: 'Query';
|
|
12
|
+
user: {
|
|
13
|
+
__typename?: 'UserPermissionsUser';
|
|
14
|
+
name: string;
|
|
15
|
+
email: string;
|
|
16
|
+
impersonationAllowed: boolean;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=UserPageToolbar.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserPageToolbar.generated.d.ts","sourceRoot":"","sources":["../../../src/userPermissions/user/UserPageToolbar.generated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAC;AAEjD,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AACD,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,KAAK,CAAC;IAClD,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;CACtC,CAAC,CAAC;AAGH,MAAM,MAAM,gBAAgB,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE;QAAE,UAAU,CAAC,EAAE,qBAAqB,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,oBAAoB,EAAE,OAAO,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var _templateObject;
|
|
2
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
+
import { gql, useQuery } from "@apollo/client";
|
|
4
|
+
import { CrudMoreActionsMenu, FillSpace, Loading, StackToolbar, ToolbarActions, ToolbarBackButton, ToolbarTitleItem } from "@dextinity/admin";
|
|
5
|
+
import { ImpersonateUser, Reset } from "@dextinity/admin-icons";
|
|
6
|
+
import { styled } from "@mui/material/styles";
|
|
7
|
+
import { commonImpersonationMessages } from "../../common/impersonation/commonImpersonationMessages";
|
|
8
|
+
import { ContentScopeIndicator } from "../../contentScope/ContentScopeIndicator";
|
|
9
|
+
import { useCurrentUser, useUserPermissionCheck } from "../hooks/currentUser";
|
|
10
|
+
import { startImpersonation, stopImpersonation } from "../utils/handleImpersonation";
|
|
11
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
export var UserPermissionsUserPageToolbar = function UserPermissionsUserPageToolbar(_ref) {
|
|
13
|
+
var userId = _ref.userId;
|
|
14
|
+
var currentUser = useCurrentUser();
|
|
15
|
+
var isAllowed = useUserPermissionCheck();
|
|
16
|
+
var _useQuery = useQuery(gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query UserPage($id: String!) {\n user: userPermissionsUserById(id: $id) {\n name\n email\n impersonationAllowed\n }\n }\n "]))), {
|
|
17
|
+
variables: {
|
|
18
|
+
id: userId
|
|
19
|
+
}
|
|
20
|
+
}),
|
|
21
|
+
data = _useQuery.data,
|
|
22
|
+
error = _useQuery.error,
|
|
23
|
+
loading = _useQuery.loading;
|
|
24
|
+
if (error) {
|
|
25
|
+
throw new Error(error.message);
|
|
26
|
+
}
|
|
27
|
+
if (loading || !data) {
|
|
28
|
+
return /*#__PURE__*/_jsx(Loading, {});
|
|
29
|
+
}
|
|
30
|
+
return /*#__PURE__*/_jsxs(StackToolbar, {
|
|
31
|
+
scopeIndicator: /*#__PURE__*/_jsx(ContentScopeIndicator, {
|
|
32
|
+
global: true
|
|
33
|
+
}),
|
|
34
|
+
children: [/*#__PURE__*/_jsx(ToolbarBackButton, {}), /*#__PURE__*/_jsxs(ToolbarTitleItem, {
|
|
35
|
+
children: [/*#__PURE__*/_jsx(TitleText, {
|
|
36
|
+
children: data.user.name
|
|
37
|
+
}), /*#__PURE__*/_jsx(SupportText, {
|
|
38
|
+
children: data.user.email
|
|
39
|
+
})]
|
|
40
|
+
}), /*#__PURE__*/_jsx(FillSpace, {}), /*#__PURE__*/_jsx(ToolbarActions, {
|
|
41
|
+
children: isAllowed("impersonation") && /*#__PURE__*/_jsx(CrudMoreActionsMenu, {
|
|
42
|
+
overallActions: [currentUser.impersonated ? {
|
|
43
|
+
icon: /*#__PURE__*/_jsx(Reset, {}),
|
|
44
|
+
label: commonImpersonationMessages.stopImpersonation,
|
|
45
|
+
onClick: function onClick() {
|
|
46
|
+
return stopImpersonation();
|
|
47
|
+
}
|
|
48
|
+
} : {
|
|
49
|
+
label: commonImpersonationMessages.startImpersonation,
|
|
50
|
+
icon: /*#__PURE__*/_jsx(ImpersonateUser, {}),
|
|
51
|
+
disabled: !data.user.impersonationAllowed,
|
|
52
|
+
onClick: function onClick() {
|
|
53
|
+
return startImpersonation(userId);
|
|
54
|
+
}
|
|
55
|
+
}]
|
|
56
|
+
})
|
|
57
|
+
})]
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
var TitleText = /*#__PURE__*/styled("div", process.env.NODE_ENV === "production" ? {
|
|
61
|
+
target: "e1dlxas51"
|
|
62
|
+
} : {
|
|
63
|
+
target: "e1dlxas51",
|
|
64
|
+
label: "TitleText"
|
|
65
|
+
})("font-weight:", function (_ref2) {
|
|
66
|
+
var theme = _ref2.theme;
|
|
67
|
+
return theme.typography.fontWeightRegular;
|
|
68
|
+
}, ";font-size:18px;line-height:21px;color:", function (_ref3) {
|
|
69
|
+
var theme = _ref3.theme;
|
|
70
|
+
return theme.palette.text.primary;
|
|
71
|
+
}, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91c2VyUGVybWlzc2lvbnMvdXNlci9Vc2VyUGFnZVRvb2xiYXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNFK0IiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3VzZXJQZXJtaXNzaW9ucy91c2VyL1VzZXJQYWdlVG9vbGJhci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBncWwsIHVzZVF1ZXJ5IH0gZnJvbSBcIkBhcG9sbG8vY2xpZW50XCI7XG5pbXBvcnQgeyBDcnVkTW9yZUFjdGlvbnNNZW51LCBGaWxsU3BhY2UsIExvYWRpbmcsIFN0YWNrVG9vbGJhciwgVG9vbGJhckFjdGlvbnMsIFRvb2xiYXJCYWNrQnV0dG9uLCBUb29sYmFyVGl0bGVJdGVtIH0gZnJvbSBcIkBkZXh0aW5pdHkvYWRtaW5cIjtcbmltcG9ydCB7IEltcGVyc29uYXRlVXNlciwgUmVzZXQgfSBmcm9tIFwiQGRleHRpbml0eS9hZG1pbi1pY29uc1wiO1xuaW1wb3J0IHsgc3R5bGVkIH0gZnJvbSBcIkBtdWkvbWF0ZXJpYWwvc3R5bGVzXCI7XG5cbmltcG9ydCB7IGNvbW1vbkltcGVyc29uYXRpb25NZXNzYWdlcyB9IGZyb20gXCIuLi8uLi9jb21tb24vaW1wZXJzb25hdGlvbi9jb21tb25JbXBlcnNvbmF0aW9uTWVzc2FnZXNcIjtcbmltcG9ydCB7IENvbnRlbnRTY29wZUluZGljYXRvciB9IGZyb20gXCIuLi8uLi9jb250ZW50U2NvcGUvQ29udGVudFNjb3BlSW5kaWNhdG9yXCI7XG5pbXBvcnQgeyB1c2VDdXJyZW50VXNlciwgdXNlVXNlclBlcm1pc3Npb25DaGVjayB9IGZyb20gXCIuLi9ob29rcy9jdXJyZW50VXNlclwiO1xuaW1wb3J0IHsgc3RhcnRJbXBlcnNvbmF0aW9uLCBzdG9wSW1wZXJzb25hdGlvbiB9IGZyb20gXCIuLi91dGlscy9oYW5kbGVJbXBlcnNvbmF0aW9uXCI7XG5pbXBvcnQgdHlwZSB7IEdRTFVzZXJQYWdlUXVlcnksIEdRTFVzZXJQYWdlUXVlcnlWYXJpYWJsZXMgfSBmcm9tIFwiLi9Vc2VyUGFnZVRvb2xiYXIuZ2VuZXJhdGVkXCI7XG5cbmV4cG9ydCBjb25zdCBVc2VyUGVybWlzc2lvbnNVc2VyUGFnZVRvb2xiYXIgPSAoeyB1c2VySWQgfTogeyB1c2VySWQ6IHN0cmluZyB9KSA9PiB7XG4gICAgY29uc3QgY3VycmVudFVzZXIgPSB1c2VDdXJyZW50VXNlcigpO1xuICAgIGNvbnN0IGlzQWxsb3dlZCA9IHVzZVVzZXJQZXJtaXNzaW9uQ2hlY2soKTtcblxuICAgIGNvbnN0IHsgZGF0YSwgZXJyb3IsIGxvYWRpbmcgfSA9IHVzZVF1ZXJ5PEdRTFVzZXJQYWdlUXVlcnksIEdRTFVzZXJQYWdlUXVlcnlWYXJpYWJsZXM+KFxuICAgICAgICBncWxgXG4gICAgICAgICAgICBxdWVyeSBVc2VyUGFnZSgkaWQ6IFN0cmluZyEpIHtcbiAgICAgICAgICAgICAgICB1c2VyOiB1c2VyUGVybWlzc2lvbnNVc2VyQnlJZChpZDogJGlkKSB7XG4gICAgICAgICAgICAgICAgICAgIG5hbWVcbiAgICAgICAgICAgICAgICAgICAgZW1haWxcbiAgICAgICAgICAgICAgICAgICAgaW1wZXJzb25hdGlvbkFsbG93ZWRcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIGAsXG4gICAgICAgIHtcbiAgICAgICAgICAgIHZhcmlhYmxlczogeyBpZDogdXNlcklkIH0sXG4gICAgICAgIH0sXG4gICAgKTtcblxuICAgIGlmIChlcnJvcikge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoZXJyb3IubWVzc2FnZSk7XG4gICAgfVxuXG4gICAgaWYgKGxvYWRpbmcgfHwgIWRhdGEpIHtcbiAgICAgICAgcmV0dXJuIDxMb2FkaW5nIC8+O1xuICAgIH1cblxuICAgIHJldHVybiAoXG4gICAgICAgIDxTdGFja1Rvb2xiYXIgc2NvcGVJbmRpY2F0b3I9ezxDb250ZW50U2NvcGVJbmRpY2F0b3IgZ2xvYmFsIC8+fT5cbiAgICAgICAgICAgIDxUb29sYmFyQmFja0J1dHRvbiAvPlxuICAgICAgICAgICAgPFRvb2xiYXJUaXRsZUl0ZW0+XG4gICAgICAgICAgICAgICAgPFRpdGxlVGV4dD57ZGF0YS51c2VyLm5hbWV9PC9UaXRsZVRleHQ+XG4gICAgICAgICAgICAgICAgPFN1cHBvcnRUZXh0PntkYXRhLnVzZXIuZW1haWx9PC9TdXBwb3J0VGV4dD5cbiAgICAgICAgICAgIDwvVG9vbGJhclRpdGxlSXRlbT5cbiAgICAgICAgICAgIDxGaWxsU3BhY2UgLz5cbiAgICAgICAgICAgIDxUb29sYmFyQWN0aW9ucz5cbiAgICAgICAgICAgICAgICB7aXNBbGxvd2VkKFwiaW1wZXJzb25hdGlvblwiKSAmJiAoXG4gICAgICAgICAgICAgICAgICAgIDxDcnVkTW9yZUFjdGlvbnNNZW51XG4gICAgICAgICAgICAgICAgICAgICAgICBvdmVyYWxsQWN0aW9ucz17W1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGN1cnJlbnRVc2VyLmltcGVyc29uYXRlZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA/IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogPFJlc2V0IC8+LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogY29tbW9uSW1wZXJzb25hdGlvbk1lc3NhZ2VzLnN0b3BJbXBlcnNvbmF0aW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsaWNrOiAoKSA9PiBzdG9wSW1wZXJzb25hdGlvbigpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsOiBjb21tb25JbXBlcnNvbmF0aW9uTWVzc2FnZXMuc3RhcnRJbXBlcnNvbmF0aW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpY29uOiA8SW1wZXJzb25hdGVVc2VyIC8+LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaXNhYmxlZDogIWRhdGEudXNlci5pbXBlcnNvbmF0aW9uQWxsb3dlZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbGljazogKCkgPT4gc3RhcnRJbXBlcnNvbmF0aW9uKHVzZXJJZCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIF19XG4gICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgIDwvVG9vbGJhckFjdGlvbnM+XG4gICAgICAgIDwvU3RhY2tUb29sYmFyPlxuICAgICk7XG59O1xuXG5jb25zdCBUaXRsZVRleHQgPSBzdHlsZWQoXCJkaXZcIilgXG4gICAgZm9udC13ZWlnaHQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUudHlwb2dyYXBoeS5mb250V2VpZ2h0UmVndWxhcn07XG4gICAgZm9udC1zaXplOiAxOHB4O1xuICAgIGxpbmUtaGVpZ2h0OiAyMXB4O1xuICAgIGNvbG9yOiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnBhbGV0dGUudGV4dC5wcmltYXJ5fTtcbmA7XG5cbmNvbnN0IFN1cHBvcnRUZXh0ID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGZvbnQtd2VpZ2h0OiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnR5cG9ncmFwaHkuZm9udFdlaWdodFJlZ3VsYXJ9O1xuICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICBsaW5lLWhlaWdodDogMjBweDtcbiAgICBjb2xvcjogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5wYWxldHRlLnRleHQuc2Vjb25kYXJ5fTtcbmA7XG4iXX0= */"));
|
|
72
|
+
var SupportText = /*#__PURE__*/styled("div", process.env.NODE_ENV === "production" ? {
|
|
73
|
+
target: "e1dlxas50"
|
|
74
|
+
} : {
|
|
75
|
+
target: "e1dlxas50",
|
|
76
|
+
label: "SupportText"
|
|
77
|
+
})("font-weight:", function (_ref4) {
|
|
78
|
+
var theme = _ref4.theme;
|
|
79
|
+
return theme.typography.fontWeightRegular;
|
|
80
|
+
}, ";font-size:14px;line-height:20px;color:", function (_ref5) {
|
|
81
|
+
var theme = _ref5.theme;
|
|
82
|
+
return theme.palette.text.secondary;
|
|
83
|
+
}, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy91c2VyUGVybWlzc2lvbnMvdXNlci9Vc2VyUGFnZVRvb2xiYXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZFaUMiLCJmaWxlIjoiLi4vLi4vLi4vc3JjL3VzZXJQZXJtaXNzaW9ucy91c2VyL1VzZXJQYWdlVG9vbGJhci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBncWwsIHVzZVF1ZXJ5IH0gZnJvbSBcIkBhcG9sbG8vY2xpZW50XCI7XG5pbXBvcnQgeyBDcnVkTW9yZUFjdGlvbnNNZW51LCBGaWxsU3BhY2UsIExvYWRpbmcsIFN0YWNrVG9vbGJhciwgVG9vbGJhckFjdGlvbnMsIFRvb2xiYXJCYWNrQnV0dG9uLCBUb29sYmFyVGl0bGVJdGVtIH0gZnJvbSBcIkBkZXh0aW5pdHkvYWRtaW5cIjtcbmltcG9ydCB7IEltcGVyc29uYXRlVXNlciwgUmVzZXQgfSBmcm9tIFwiQGRleHRpbml0eS9hZG1pbi1pY29uc1wiO1xuaW1wb3J0IHsgc3R5bGVkIH0gZnJvbSBcIkBtdWkvbWF0ZXJpYWwvc3R5bGVzXCI7XG5cbmltcG9ydCB7IGNvbW1vbkltcGVyc29uYXRpb25NZXNzYWdlcyB9IGZyb20gXCIuLi8uLi9jb21tb24vaW1wZXJzb25hdGlvbi9jb21tb25JbXBlcnNvbmF0aW9uTWVzc2FnZXNcIjtcbmltcG9ydCB7IENvbnRlbnRTY29wZUluZGljYXRvciB9IGZyb20gXCIuLi8uLi9jb250ZW50U2NvcGUvQ29udGVudFNjb3BlSW5kaWNhdG9yXCI7XG5pbXBvcnQgeyB1c2VDdXJyZW50VXNlciwgdXNlVXNlclBlcm1pc3Npb25DaGVjayB9IGZyb20gXCIuLi9ob29rcy9jdXJyZW50VXNlclwiO1xuaW1wb3J0IHsgc3RhcnRJbXBlcnNvbmF0aW9uLCBzdG9wSW1wZXJzb25hdGlvbiB9IGZyb20gXCIuLi91dGlscy9oYW5kbGVJbXBlcnNvbmF0aW9uXCI7XG5pbXBvcnQgdHlwZSB7IEdRTFVzZXJQYWdlUXVlcnksIEdRTFVzZXJQYWdlUXVlcnlWYXJpYWJsZXMgfSBmcm9tIFwiLi9Vc2VyUGFnZVRvb2xiYXIuZ2VuZXJhdGVkXCI7XG5cbmV4cG9ydCBjb25zdCBVc2VyUGVybWlzc2lvbnNVc2VyUGFnZVRvb2xiYXIgPSAoeyB1c2VySWQgfTogeyB1c2VySWQ6IHN0cmluZyB9KSA9PiB7XG4gICAgY29uc3QgY3VycmVudFVzZXIgPSB1c2VDdXJyZW50VXNlcigpO1xuICAgIGNvbnN0IGlzQWxsb3dlZCA9IHVzZVVzZXJQZXJtaXNzaW9uQ2hlY2soKTtcblxuICAgIGNvbnN0IHsgZGF0YSwgZXJyb3IsIGxvYWRpbmcgfSA9IHVzZVF1ZXJ5PEdRTFVzZXJQYWdlUXVlcnksIEdRTFVzZXJQYWdlUXVlcnlWYXJpYWJsZXM+KFxuICAgICAgICBncWxgXG4gICAgICAgICAgICBxdWVyeSBVc2VyUGFnZSgkaWQ6IFN0cmluZyEpIHtcbiAgICAgICAgICAgICAgICB1c2VyOiB1c2VyUGVybWlzc2lvbnNVc2VyQnlJZChpZDogJGlkKSB7XG4gICAgICAgICAgICAgICAgICAgIG5hbWVcbiAgICAgICAgICAgICAgICAgICAgZW1haWxcbiAgICAgICAgICAgICAgICAgICAgaW1wZXJzb25hdGlvbkFsbG93ZWRcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIGAsXG4gICAgICAgIHtcbiAgICAgICAgICAgIHZhcmlhYmxlczogeyBpZDogdXNlcklkIH0sXG4gICAgICAgIH0sXG4gICAgKTtcblxuICAgIGlmIChlcnJvcikge1xuICAgICAgICB0aHJvdyBuZXcgRXJyb3IoZXJyb3IubWVzc2FnZSk7XG4gICAgfVxuXG4gICAgaWYgKGxvYWRpbmcgfHwgIWRhdGEpIHtcbiAgICAgICAgcmV0dXJuIDxMb2FkaW5nIC8+O1xuICAgIH1cblxuICAgIHJldHVybiAoXG4gICAgICAgIDxTdGFja1Rvb2xiYXIgc2NvcGVJbmRpY2F0b3I9ezxDb250ZW50U2NvcGVJbmRpY2F0b3IgZ2xvYmFsIC8+fT5cbiAgICAgICAgICAgIDxUb29sYmFyQmFja0J1dHRvbiAvPlxuICAgICAgICAgICAgPFRvb2xiYXJUaXRsZUl0ZW0+XG4gICAgICAgICAgICAgICAgPFRpdGxlVGV4dD57ZGF0YS51c2VyLm5hbWV9PC9UaXRsZVRleHQ+XG4gICAgICAgICAgICAgICAgPFN1cHBvcnRUZXh0PntkYXRhLnVzZXIuZW1haWx9PC9TdXBwb3J0VGV4dD5cbiAgICAgICAgICAgIDwvVG9vbGJhclRpdGxlSXRlbT5cbiAgICAgICAgICAgIDxGaWxsU3BhY2UgLz5cbiAgICAgICAgICAgIDxUb29sYmFyQWN0aW9ucz5cbiAgICAgICAgICAgICAgICB7aXNBbGxvd2VkKFwiaW1wZXJzb25hdGlvblwiKSAmJiAoXG4gICAgICAgICAgICAgICAgICAgIDxDcnVkTW9yZUFjdGlvbnNNZW51XG4gICAgICAgICAgICAgICAgICAgICAgICBvdmVyYWxsQWN0aW9ucz17W1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGN1cnJlbnRVc2VyLmltcGVyc29uYXRlZFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA/IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWNvbjogPFJlc2V0IC8+LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogY29tbW9uSW1wZXJzb25hdGlvbk1lc3NhZ2VzLnN0b3BJbXBlcnNvbmF0aW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsaWNrOiAoKSA9PiBzdG9wSW1wZXJzb25hdGlvbigpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsOiBjb21tb25JbXBlcnNvbmF0aW9uTWVzc2FnZXMuc3RhcnRJbXBlcnNvbmF0aW9uLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpY29uOiA8SW1wZXJzb25hdGVVc2VyIC8+LFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaXNhYmxlZDogIWRhdGEudXNlci5pbXBlcnNvbmF0aW9uQWxsb3dlZCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbGljazogKCkgPT4gc3RhcnRJbXBlcnNvbmF0aW9uKHVzZXJJZCksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIF19XG4gICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgIDwvVG9vbGJhckFjdGlvbnM+XG4gICAgICAgIDwvU3RhY2tUb29sYmFyPlxuICAgICk7XG59O1xuXG5jb25zdCBUaXRsZVRleHQgPSBzdHlsZWQoXCJkaXZcIilgXG4gICAgZm9udC13ZWlnaHQ6ICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUudHlwb2dyYXBoeS5mb250V2VpZ2h0UmVndWxhcn07XG4gICAgZm9udC1zaXplOiAxOHB4O1xuICAgIGxpbmUtaGVpZ2h0OiAyMXB4O1xuICAgIGNvbG9yOiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnBhbGV0dGUudGV4dC5wcmltYXJ5fTtcbmA7XG5cbmNvbnN0IFN1cHBvcnRUZXh0ID0gc3R5bGVkKFwiZGl2XCIpYFxuICAgIGZvbnQtd2VpZ2h0OiAkeyh7IHRoZW1lIH0pID0+IHRoZW1lLnR5cG9ncmFwaHkuZm9udFdlaWdodFJlZ3VsYXJ9O1xuICAgIGZvbnQtc2l6ZTogMTRweDtcbiAgICBsaW5lLWhlaWdodDogMjBweDtcbiAgICBjb2xvcjogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5wYWxldHRlLnRleHQuc2Vjb25kYXJ5fTtcbmA7XG4iXX0= */"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserBasicData.d.ts","sourceRoot":"","sources":["../../../../src/userPermissions/user/basicData/UserBasicData.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,qCAAqC,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,4CA0DnF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as Types from '../../../graphql.generated';
|
|
2
|
+
export declare const namedOperations: {
|
|
3
|
+
Query: {
|
|
4
|
+
UserBasicData: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export type GQLUserBasicDataQueryVariables = Types.Exact<{
|
|
8
|
+
id: Types.Scalars['String']['input'];
|
|
9
|
+
}>;
|
|
10
|
+
export type GQLUserBasicDataQuery = {
|
|
11
|
+
__typename?: 'Query';
|
|
12
|
+
user: {
|
|
13
|
+
__typename?: 'UserPermissionsUser';
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
email: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=UserBasicData.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UserBasicData.generated.d.ts","sourceRoot":"","sources":["../../../../src/userPermissions/user/basicData/UserBasicData.generated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,KAAK,CAAC;IACvD,EAAE,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;CACtC,CAAC,CAAC;AAGH,MAAM,MAAM,qBAAqB,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE;QAAE,UAAU,CAAC,EAAE,qBAAqB,CAAC;QAAC,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
var _templateObject;
|
|
2
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
3
|
+
import { gql, useQuery } from "@apollo/client";
|
|
4
|
+
import { Field, FillSpace, FinalForm, FinalFormInput, Loading, ToolbarTitleItem } from "@dextinity/admin";
|
|
5
|
+
import { Card, CardContent, Toolbar } from "@mui/material";
|
|
6
|
+
import { styled } from "@mui/material/styles";
|
|
7
|
+
import { FormattedMessage } from "react-intl";
|
|
8
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
|
+
export var UserPermissionsUserPageBasicDataPanel = function UserPermissionsUserPageBasicDataPanel(_ref) {
|
|
10
|
+
var userId = _ref.userId;
|
|
11
|
+
var _useQuery = useQuery(gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query UserBasicData($id: String!) {\n user: userPermissionsUserById(id: $id) {\n id\n name\n email\n }\n }\n "]))), {
|
|
12
|
+
variables: {
|
|
13
|
+
id: userId
|
|
14
|
+
}
|
|
15
|
+
}),
|
|
16
|
+
data = _useQuery.data,
|
|
17
|
+
error = _useQuery.error,
|
|
18
|
+
loading = _useQuery.loading;
|
|
19
|
+
if (error) {
|
|
20
|
+
throw new Error(error.message);
|
|
21
|
+
}
|
|
22
|
+
if (loading || !data) {
|
|
23
|
+
return /*#__PURE__*/_jsx(Loading, {});
|
|
24
|
+
}
|
|
25
|
+
return /*#__PURE__*/_jsxs(Card, {
|
|
26
|
+
children: [/*#__PURE__*/_jsxs(CardToolbar, {
|
|
27
|
+
children: [/*#__PURE__*/_jsx(ToolbarTitleItem, {
|
|
28
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
29
|
+
id: "comet.userPermissions.basicData",
|
|
30
|
+
defaultMessage: "Basic Data"
|
|
31
|
+
})
|
|
32
|
+
}), /*#__PURE__*/_jsx(FillSpace, {})]
|
|
33
|
+
}), /*#__PURE__*/_jsx(CardContent, {
|
|
34
|
+
children: /*#__PURE__*/_jsxs(FinalForm, {
|
|
35
|
+
mode: "edit",
|
|
36
|
+
initialValues: data.user,
|
|
37
|
+
onSubmit: function onSubmit() {
|
|
38
|
+
/* do nothing */
|
|
39
|
+
},
|
|
40
|
+
children: [/*#__PURE__*/_jsx(Field, {
|
|
41
|
+
variant: "horizontal",
|
|
42
|
+
name: "email",
|
|
43
|
+
component: FinalFormInput,
|
|
44
|
+
disabled: true,
|
|
45
|
+
label: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
46
|
+
id: "comet.userPermissions.email",
|
|
47
|
+
defaultMessage: "E-Mail"
|
|
48
|
+
})
|
|
49
|
+
}), /*#__PURE__*/_jsx(Field, {
|
|
50
|
+
variant: "horizontal",
|
|
51
|
+
name: "name",
|
|
52
|
+
component: FinalFormInput,
|
|
53
|
+
disabled: true,
|
|
54
|
+
label: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
55
|
+
id: "comet.userPermissions.name",
|
|
56
|
+
defaultMessage: "Name"
|
|
57
|
+
})
|
|
58
|
+
})]
|
|
59
|
+
})
|
|
60
|
+
})]
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
var CardToolbar = /*#__PURE__*/styled(Toolbar, process.env.NODE_ENV === "production" ? {
|
|
64
|
+
target: "e96z1dh0"
|
|
65
|
+
} : {
|
|
66
|
+
target: "e96z1dh0",
|
|
67
|
+
label: "CardToolbar"
|
|
68
|
+
})("top:0px;border-bottom:1px solid ", function (_ref2) {
|
|
69
|
+
var theme = _ref2.theme;
|
|
70
|
+
return theme.palette.grey[100];
|
|
71
|
+
}, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy91c2VyUGVybWlzc2lvbnMvdXNlci9iYXNpY0RhdGEvVXNlckJhc2ljRGF0YS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0VtQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvdXNlclBlcm1pc3Npb25zL3VzZXIvYmFzaWNEYXRhL1VzZXJCYXNpY0RhdGEudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgZ3FsLCB1c2VRdWVyeSB9IGZyb20gXCJAYXBvbGxvL2NsaWVudFwiO1xuaW1wb3J0IHsgRmllbGQsIEZpbGxTcGFjZSwgRmluYWxGb3JtLCBGaW5hbEZvcm1JbnB1dCwgTG9hZGluZywgVG9vbGJhclRpdGxlSXRlbSB9IGZyb20gXCJAZGV4dGluaXR5L2FkbWluXCI7XG5pbXBvcnQgeyBDYXJkLCBDYXJkQ29udGVudCwgVG9vbGJhciB9IGZyb20gXCJAbXVpL21hdGVyaWFsXCI7XG5pbXBvcnQgeyBzdHlsZWQgfSBmcm9tIFwiQG11aS9tYXRlcmlhbC9zdHlsZXNcIjtcbmltcG9ydCB7IEZvcm1hdHRlZE1lc3NhZ2UgfSBmcm9tIFwicmVhY3QtaW50bFwiO1xuXG5pbXBvcnQgdHlwZSB7IEdRTFVzZXJCYXNpY0RhdGFRdWVyeSwgR1FMVXNlckJhc2ljRGF0YVF1ZXJ5VmFyaWFibGVzIH0gZnJvbSBcIi4vVXNlckJhc2ljRGF0YS5nZW5lcmF0ZWRcIjtcblxuZXhwb3J0IGNvbnN0IFVzZXJQZXJtaXNzaW9uc1VzZXJQYWdlQmFzaWNEYXRhUGFuZWwgPSAoeyB1c2VySWQgfTogeyB1c2VySWQ6IHN0cmluZyB9KSA9PiB7XG4gICAgY29uc3QgeyBkYXRhLCBlcnJvciwgbG9hZGluZyB9ID0gdXNlUXVlcnk8R1FMVXNlckJhc2ljRGF0YVF1ZXJ5LCBHUUxVc2VyQmFzaWNEYXRhUXVlcnlWYXJpYWJsZXM+KFxuICAgICAgICBncWxgXG4gICAgICAgICAgICBxdWVyeSBVc2VyQmFzaWNEYXRhKCRpZDogU3RyaW5nISkge1xuICAgICAgICAgICAgICAgIHVzZXI6IHVzZXJQZXJtaXNzaW9uc1VzZXJCeUlkKGlkOiAkaWQpIHtcbiAgICAgICAgICAgICAgICAgICAgaWRcbiAgICAgICAgICAgICAgICAgICAgbmFtZVxuICAgICAgICAgICAgICAgICAgICBlbWFpbFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgYCxcbiAgICAgICAge1xuICAgICAgICAgICAgdmFyaWFibGVzOiB7IGlkOiB1c2VySWQgfSxcbiAgICAgICAgfSxcbiAgICApO1xuXG4gICAgaWYgKGVycm9yKSB7XG4gICAgICAgIHRocm93IG5ldyBFcnJvcihlcnJvci5tZXNzYWdlKTtcbiAgICB9XG5cbiAgICBpZiAobG9hZGluZyB8fCAhZGF0YSkge1xuICAgICAgICByZXR1cm4gPExvYWRpbmcgLz47XG4gICAgfVxuXG4gICAgcmV0dXJuIChcbiAgICAgICAgPENhcmQ+XG4gICAgICAgICAgICA8Q2FyZFRvb2xiYXI+XG4gICAgICAgICAgICAgICAgPFRvb2xiYXJUaXRsZUl0ZW0+XG4gICAgICAgICAgICAgICAgICAgIDxGb3JtYXR0ZWRNZXNzYWdlIGlkPVwiY29tZXQudXNlclBlcm1pc3Npb25zLmJhc2ljRGF0YVwiIGRlZmF1bHRNZXNzYWdlPVwiQmFzaWMgRGF0YVwiIC8+XG4gICAgICAgICAgICAgICAgPC9Ub29sYmFyVGl0bGVJdGVtPlxuICAgICAgICAgICAgICAgIDxGaWxsU3BhY2UgLz5cbiAgICAgICAgICAgIDwvQ2FyZFRvb2xiYXI+XG4gICAgICAgICAgICA8Q2FyZENvbnRlbnQ+XG4gICAgICAgICAgICAgICAgPEZpbmFsRm9ybVxuICAgICAgICAgICAgICAgICAgICBtb2RlPVwiZWRpdFwiXG4gICAgICAgICAgICAgICAgICAgIGluaXRpYWxWYWx1ZXM9e2RhdGEudXNlcn1cbiAgICAgICAgICAgICAgICAgICAgb25TdWJtaXQ9eygpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC8qIGRvIG5vdGhpbmcgKi9cbiAgICAgICAgICAgICAgICAgICAgfX1cbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxGaWVsZFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFyaWFudD1cImhvcml6b250YWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgbmFtZT1cImVtYWlsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbXBvbmVudD17RmluYWxGb3JtSW5wdXR9XG4gICAgICAgICAgICAgICAgICAgICAgICBkaXNhYmxlZD17dHJ1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgIGxhYmVsPXs8Rm9ybWF0dGVkTWVzc2FnZSBpZD1cImNvbWV0LnVzZXJQZXJtaXNzaW9ucy5lbWFpbFwiIGRlZmF1bHRNZXNzYWdlPVwiRS1NYWlsXCIgLz59XG4gICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgIDxGaWVsZFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFyaWFudD1cImhvcml6b250YWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgbmFtZT1cIm5hbWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY29tcG9uZW50PXtGaW5hbEZvcm1JbnB1dH1cbiAgICAgICAgICAgICAgICAgICAgICAgIGRpc2FibGVkPXt0cnVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgbGFiZWw9ezxGb3JtYXR0ZWRNZXNzYWdlIGlkPVwiY29tZXQudXNlclBlcm1pc3Npb25zLm5hbWVcIiBkZWZhdWx0TWVzc2FnZT1cIk5hbWVcIiAvPn1cbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L0ZpbmFsRm9ybT5cbiAgICAgICAgICAgIDwvQ2FyZENvbnRlbnQ+XG4gICAgICAgIDwvQ2FyZD5cbiAgICApO1xufTtcblxuY29uc3QgQ2FyZFRvb2xiYXIgPSBzdHlsZWQoVG9vbGJhcilgXG4gICAgdG9wOiAwcHg7XG4gICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkICR7KHsgdGhlbWUgfSkgPT4gdGhlbWUucGFsZXR0ZS5ncmV5WzEwMF19O1xuYDtcbiJdfQ== */"));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type GridColDef } from "@dextinity/admin";
|
|
2
|
+
import type { GQLAvailableContentScopesQuery } from "./selectScopesDialogContent/SelectScopesDialogContent.generated";
|
|
3
|
+
export declare const ContentScopeGrid: ({ userId }: {
|
|
4
|
+
userId: string;
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function generateGridColumnsFromContentScopeProperties(availableContentScopes: GQLAvailableContentScopesQuery["availableContentScopes"]): GridColDef[];
|
|
7
|
+
//# sourceMappingURL=ContentScopeGrid.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentScopeGrid.d.ts","sourceRoot":"","sources":["../../../../src/userPermissions/user/permissions/ContentScopeGrid.tsx"],"names":[],"mappings":"AACA,OAAO,EAMH,KAAK,UAAU,EAKlB,MAAM,kBAAkB,CAAC;AAkB1B,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iEAAiE,CAAC;AAmBtH,eAAO,MAAM,gBAAgB,GAAI,YAAY;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,4CA8E9D,CAAC;AAEF,wBAAgB,6CAA6C,CACzD,sBAAsB,EAAE,8BAA8B,CAAC,wBAAwB,CAAC,GACjF,UAAU,EAAE,CAoBd"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as Types from '../../../graphql.generated';
|
|
2
|
+
export declare const namedOperations: {
|
|
3
|
+
Query: {
|
|
4
|
+
ContentScopes: string;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export type GQLContentScopesQueryVariables = Types.Exact<{
|
|
8
|
+
userId: Types.Scalars['String']['input'];
|
|
9
|
+
}>;
|
|
10
|
+
export type GQLContentScopesQuery = {
|
|
11
|
+
__typename?: 'Query';
|
|
12
|
+
userContentScopes: Array<any>;
|
|
13
|
+
userContentScopesSkipManual: Array<any>;
|
|
14
|
+
availableContentScopes: Array<{
|
|
15
|
+
__typename?: 'ContentScopeWithLabel';
|
|
16
|
+
scope: any;
|
|
17
|
+
label: any;
|
|
18
|
+
}>;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=ContentScopeGrid.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentScopeGrid.generated.d.ts","sourceRoot":"","sources":["../../../../src/userPermissions/user/permissions/ContentScopeGrid.generated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;CAI3B,CAAA;AACD,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,KAAK,CAAC;IACvD,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;CAC1C,CAAC,CAAC;AAGH,MAAM,MAAM,qBAAqB,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,iBAAiB,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAAC,2BAA2B,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;IAAC,sBAAsB,EAAE,KAAK,CAAC;QAAE,UAAU,CAAC,EAAE,uBAAuB,CAAC;QAAC,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAE,CAAC,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
+
var _templateObject;
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
9
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
10
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
14
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
15
|
+
import { gql, useQuery } from "@apollo/client";
|
|
16
|
+
import { Button, CancelButton, DataGridToolbar, FieldSet, FillSpace, Loading, messages, SaveBoundary, SaveBoundarySaveButton } from "@dextinity/admin";
|
|
17
|
+
import { Select } from "@dextinity/admin-icons";
|
|
18
|
+
import {
|
|
19
|
+
// eslint-disable-next-line no-restricted-imports
|
|
20
|
+
Dialog, DialogActions, DialogTitle, Typography } from "@mui/material";
|
|
21
|
+
import isEqual from "lodash.isequal";
|
|
22
|
+
import { useState } from "react";
|
|
23
|
+
import { FormattedMessage, useIntl } from "react-intl";
|
|
24
|
+
import { DataGrid } from "../../../dataGrid/DataGrid";
|
|
25
|
+
import { camelCaseToHumanReadable } from "../../utils/camelCaseToHumanReadable";
|
|
26
|
+
import { SelectScopesDialogContent } from "./selectScopesDialogContent/SelectScopesDialogContent";
|
|
27
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
28
|
+
function ContentScopeGridToolbar(_ref) {
|
|
29
|
+
var toolbarAction = _ref.toolbarAction;
|
|
30
|
+
return /*#__PURE__*/_jsxs(DataGridToolbar, {
|
|
31
|
+
children: [/*#__PURE__*/_jsx(FillSpace, {}), toolbarAction]
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
export var ContentScopeGrid = function ContentScopeGrid(_ref2) {
|
|
35
|
+
var _data$userContentScop;
|
|
36
|
+
var userId = _ref2.userId;
|
|
37
|
+
var intl = useIntl();
|
|
38
|
+
var _useState = useState(false),
|
|
39
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
40
|
+
open = _useState2[0],
|
|
41
|
+
setOpen = _useState2[1];
|
|
42
|
+
var _useQuery = useQuery(gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query ContentScopes($userId: String!) {\n userContentScopes: userPermissionsContentScopes(userId: $userId)\n userContentScopesSkipManual: userPermissionsContentScopes(userId: $userId, skipManual: true)\n availableContentScopes: userPermissionsAvailableContentScopes {\n scope\n label\n }\n }\n "]))), {
|
|
43
|
+
variables: {
|
|
44
|
+
userId: userId
|
|
45
|
+
}
|
|
46
|
+
}),
|
|
47
|
+
data = _useQuery.data,
|
|
48
|
+
error = _useQuery.error;
|
|
49
|
+
if (error) {
|
|
50
|
+
throw new Error(error.message);
|
|
51
|
+
}
|
|
52
|
+
if (!data) {
|
|
53
|
+
return /*#__PURE__*/_jsx(Loading, {});
|
|
54
|
+
}
|
|
55
|
+
var columns = generateGridColumnsFromContentScopeProperties(data.availableContentScopes);
|
|
56
|
+
var toolbarSlotProps = {
|
|
57
|
+
toolbarAction: /*#__PURE__*/_jsx(Button, {
|
|
58
|
+
startIcon: /*#__PURE__*/_jsx(Select, {}),
|
|
59
|
+
onClick: function onClick() {
|
|
60
|
+
return setOpen(true);
|
|
61
|
+
},
|
|
62
|
+
variant: "primary",
|
|
63
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
64
|
+
id: "comet.userPermissions.selectScopes",
|
|
65
|
+
defaultMessage: "Assign scopes"
|
|
66
|
+
})
|
|
67
|
+
})
|
|
68
|
+
};
|
|
69
|
+
return /*#__PURE__*/_jsxs(FieldSet, {
|
|
70
|
+
title: intl.formatMessage({
|
|
71
|
+
id: "comet.userPermissions.assignedScopes",
|
|
72
|
+
defaultMessage: "Assigned Scopes"
|
|
73
|
+
}),
|
|
74
|
+
disablePadding: true,
|
|
75
|
+
children: [/*#__PURE__*/_jsx(DataGrid, {
|
|
76
|
+
rows: data.userContentScopes,
|
|
77
|
+
columns: columns,
|
|
78
|
+
rowCount: (_data$userContentScop = data === null || data === void 0 ? void 0 : data.userContentScopes.length) !== null && _data$userContentScop !== void 0 ? _data$userContentScop : 0,
|
|
79
|
+
loading: false,
|
|
80
|
+
getRowId: function getRowId(row) {
|
|
81
|
+
return JSON.stringify(row);
|
|
82
|
+
},
|
|
83
|
+
slots: {
|
|
84
|
+
toolbar: ContentScopeGridToolbar
|
|
85
|
+
},
|
|
86
|
+
slotProps: {
|
|
87
|
+
toolbar: toolbarSlotProps
|
|
88
|
+
},
|
|
89
|
+
showToolbar: true
|
|
90
|
+
}), /*#__PURE__*/_jsx(SaveBoundary, {
|
|
91
|
+
onAfterSave: function onAfterSave() {
|
|
92
|
+
setOpen(false);
|
|
93
|
+
},
|
|
94
|
+
children: /*#__PURE__*/_jsxs(Dialog, {
|
|
95
|
+
open: open,
|
|
96
|
+
maxWidth: "lg",
|
|
97
|
+
children: [/*#__PURE__*/_jsx(DialogTitle, {
|
|
98
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
99
|
+
id: "comet.userScopes.dialog.title",
|
|
100
|
+
defaultMessage: "Select scopes"
|
|
101
|
+
})
|
|
102
|
+
}), /*#__PURE__*/_jsx(SelectScopesDialogContent, {
|
|
103
|
+
userId: userId,
|
|
104
|
+
userContentScopes: data.userContentScopes,
|
|
105
|
+
userContentScopesSkipManual: data.userContentScopesSkipManual
|
|
106
|
+
}), /*#__PURE__*/_jsxs(DialogActions, {
|
|
107
|
+
children: [/*#__PURE__*/_jsx(CancelButton, {
|
|
108
|
+
onClick: function onClick() {
|
|
109
|
+
return setOpen(false);
|
|
110
|
+
},
|
|
111
|
+
children: /*#__PURE__*/_jsx(FormattedMessage, _objectSpread({}, messages.close))
|
|
112
|
+
}), /*#__PURE__*/_jsx(SaveBoundarySaveButton, {})]
|
|
113
|
+
})]
|
|
114
|
+
})
|
|
115
|
+
})]
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
export function generateGridColumnsFromContentScopeProperties(availableContentScopes) {
|
|
119
|
+
var uniquePropertyNames = Array.from(new Set(availableContentScopes.flatMap(function (item) {
|
|
120
|
+
return Object.keys(item.scope);
|
|
121
|
+
})));
|
|
122
|
+
return uniquePropertyNames.map(function (propertyName, index) {
|
|
123
|
+
return {
|
|
124
|
+
field: propertyName,
|
|
125
|
+
flex: 1,
|
|
126
|
+
pinnable: false,
|
|
127
|
+
sortable: false,
|
|
128
|
+
filterable: true,
|
|
129
|
+
headerName: camelCaseToHumanReadable(propertyName),
|
|
130
|
+
renderCell: function renderCell(_ref3) {
|
|
131
|
+
var row = _ref3.row;
|
|
132
|
+
var contentScopeWithLabel = availableContentScopes.find(function (availableContentScope) {
|
|
133
|
+
return isEqual(availableContentScope.scope, row);
|
|
134
|
+
});
|
|
135
|
+
if (contentScopeWithLabel) {
|
|
136
|
+
return /*#__PURE__*/_jsx(Typography, {
|
|
137
|
+
variant: index === 0 ? "subtitle2" : "body2",
|
|
138
|
+
children: contentScopeWithLabel.label[propertyName]
|
|
139
|
+
});
|
|
140
|
+
} else {
|
|
141
|
+
return "-";
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
});
|
|
146
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface FormProps {
|
|
2
|
+
permissionId: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
handleDialogClose: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const OverrideContentScopesDialog: ({ permissionId, userId, handleDialogClose }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=OverrideContentScopesDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverrideContentScopesDialog.d.ts","sourceRoot":"","sources":["../../../../src/userPermissions/user/permissions/OverrideContentScopesDialog.tsx"],"names":[],"mappings":"AAqCA,UAAU,SAAS;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,MAAM,IAAI,CAAC;CACjC;AAWD,eAAO,MAAM,2BAA2B,GAAI,6CAA6C,SAAS,4CA4HjG,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as Types from '../../../graphql.generated';
|
|
2
|
+
export declare const namedOperations: {
|
|
3
|
+
Query: {
|
|
4
|
+
PermissionContentScopes: string;
|
|
5
|
+
};
|
|
6
|
+
Mutation: {
|
|
7
|
+
OverrideContentScopes: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export type GQLOverrideContentScopesMutationVariables = Types.Exact<{
|
|
11
|
+
input: Types.GQLUserPermissionOverrideContentScopesInput;
|
|
12
|
+
}>;
|
|
13
|
+
export type GQLOverrideContentScopesMutation = {
|
|
14
|
+
__typename?: 'Mutation';
|
|
15
|
+
userPermissionsUpdateOverrideContentScopes: {
|
|
16
|
+
__typename?: 'UserPermission';
|
|
17
|
+
id: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export type GQLPermissionContentScopesQueryVariables = Types.Exact<{
|
|
21
|
+
permissionId: Types.Scalars['ID']['input'];
|
|
22
|
+
userId: Types.Scalars['String']['input'];
|
|
23
|
+
}>;
|
|
24
|
+
export type GQLPermissionContentScopesQuery = {
|
|
25
|
+
__typename?: 'Query';
|
|
26
|
+
availableContentScopes: Array<{
|
|
27
|
+
__typename?: 'ContentScopeWithLabel';
|
|
28
|
+
scope: any;
|
|
29
|
+
label: any;
|
|
30
|
+
}>;
|
|
31
|
+
permission: {
|
|
32
|
+
__typename?: 'UserPermission';
|
|
33
|
+
source: Types.GQLUserPermissionSource;
|
|
34
|
+
overrideContentScopes: boolean;
|
|
35
|
+
contentScopes: Array<any>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=OverrideContentScopesDialog.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverrideContentScopesDialog.generated.d.ts","sourceRoot":"","sources":["../../../../src/userPermissions/user/permissions/OverrideContentScopesDialog.generated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AAEpD,eAAO,MAAM,eAAe;;;;;;;CAO3B,CAAA;AACD,MAAM,MAAM,yCAAyC,GAAG,KAAK,CAAC,KAAK,CAAC;IAClE,KAAK,EAAE,KAAK,CAAC,2CAA2C,CAAC;CAC1D,CAAC,CAAC;AAGH,MAAM,MAAM,gCAAgC,GAAG;IAAE,UAAU,CAAC,EAAE,UAAU,CAAC;IAAC,0CAA0C,EAAE;QAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC;AAEtK,MAAM,MAAM,wCAAwC,GAAG,KAAK,CAAC,KAAK,CAAC;IACjE,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC;IAC3C,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC;CAC1C,CAAC,CAAC;AAGH,MAAM,MAAM,+BAA+B,GAAG;IAAE,UAAU,CAAC,EAAE,OAAO,CAAC;IAAC,sBAAsB,EAAE,KAAK,CAAC;QAAE,UAAU,CAAC,EAAE,uBAAuB,CAAC;QAAC,KAAK,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAE,CAAC,CAAC;IAAC,UAAU,EAAE;QAAE,UAAU,CAAC,EAAE,gBAAgB,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC,uBAAuB,CAAC;QAAC,qBAAqB,EAAE,OAAO,CAAC;QAAC,aAAa,EAAE,KAAK,CAAC,GAAG,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|