@comet/cms-admin 8.20.2 → 9.0.0-beta.1
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.js +18 -23
- package/lib/blocks/DamVideoBlock.generated.js +1 -7
- package/lib/blocks/DamVideoBlock.js +38 -44
- package/lib/blocks/EmailLinkBlock.js +19 -25
- package/lib/blocks/ExternalLinkBlock.js +22 -28
- package/lib/blocks/InternalLinkBlock.generated.js +1 -7
- package/lib/blocks/InternalLinkBlock.js +31 -38
- package/lib/blocks/PhoneLinkBlock.js +19 -25
- package/lib/blocks/PixelImageBlock.generated.js +1 -7
- package/lib/blocks/PixelImageBlock.js +37 -43
- package/lib/blocks/SpaceBlock.js +16 -22
- package/lib/blocks/SvgImageBlock.generated.js +1 -7
- package/lib/blocks/SvgImageBlock.js +25 -31
- package/lib/blocks/VimeoVideoBlock.js +34 -40
- package/lib/blocks/YouTubeVideoBlock.js +34 -40
- package/lib/blocks/clipboard/CannotPasteBlockDialog.js +18 -19
- package/lib/blocks/clipboard/useBlockClipboard.js +14 -19
- package/lib/blocks/common/AddBlockDrawer.js +41 -47
- package/lib/blocks/common/AdminComponentStickyFooter.d.ts +1 -1
- package/lib/blocks/common/AdminComponentStickyFooter.d.ts.map +1 -1
- package/lib/blocks/common/AdminComponentStickyFooter.js +2 -8
- package/lib/blocks/common/AdminComponentStickyHeader.d.ts +1 -1
- package/lib/blocks/common/AdminComponentStickyHeader.d.ts.map +1 -1
- package/lib/blocks/common/AdminComponentStickyHeader.js +2 -8
- package/lib/blocks/common/AdminTabsTabContent.js +9 -15
- package/lib/blocks/common/BlockAdminComponentButton.js +8 -13
- package/lib/blocks/common/BlockAdminComponentNestedButton.js +17 -23
- package/lib/blocks/common/BlockAdminComponentPaper.js +12 -19
- package/lib/blocks/common/BlockAdminComponentRoot.js +11 -16
- package/lib/blocks/common/BlockAdminComponentSection.js +12 -18
- package/lib/blocks/common/BlockAdminComponentSectionGroup.js +9 -15
- package/lib/blocks/common/BlockAdminTabLabel.js +9 -15
- package/lib/blocks/common/BlockAdminTabs.d.ts +1 -0
- package/lib/blocks/common/BlockAdminTabs.d.ts.map +1 -1
- package/lib/blocks/common/BlockAdminTabs.js +24 -30
- package/lib/blocks/common/Collapsible.js +7 -13
- package/lib/blocks/common/CollapsibleSwitchButtonHeader.js +8 -14
- package/lib/blocks/common/HiddenInSubroute.js +5 -11
- package/lib/blocks/common/blockRow/BlockPreviewContent.d.ts +1 -1
- package/lib/blocks/common/blockRow/BlockPreviewContent.d.ts.map +1 -1
- package/lib/blocks/common/blockRow/BlockPreviewContent.js +18 -26
- package/lib/blocks/common/blockRow/BlockPreviewContent.sc.d.ts +5 -5
- package/lib/blocks/common/blockRow/BlockPreviewContent.sc.d.ts.map +1 -1
- package/lib/blocks/common/blockRow/BlockPreviewContent.sc.js +6 -12
- package/lib/blocks/common/blockRow/BlockRow.d.ts +1 -1
- package/lib/blocks/common/blockRow/BlockRow.d.ts.map +1 -1
- package/lib/blocks/common/blockRow/BlockRow.js +51 -58
- package/lib/blocks/common/blockRow/BlockRow.sc.js +16 -22
- package/lib/blocks/common/blockRow/image/StackedImages.d.ts +1 -0
- package/lib/blocks/common/blockRow/image/StackedImages.d.ts.map +1 -1
- package/lib/blocks/common/blockRow/image/StackedImages.js +18 -26
- package/lib/blocks/common/blockRow/image/StackedImages.sc.d.ts +8 -8
- package/lib/blocks/common/blockRow/image/StackedImages.sc.d.ts.map +1 -1
- package/lib/blocks/common/blockRow/image/StackedImages.sc.js +11 -17
- package/lib/blocks/common/usePromise.js +6 -10
- package/lib/blocks/common/useScrollRestoration.d.ts +2 -2
- package/lib/blocks/common/useScrollRestoration.d.ts.map +1 -1
- package/lib/blocks/common/useScrollRestoration.js +8 -14
- package/lib/blocks/config/BlocksConfigContext.js +7 -14
- package/lib/blocks/context/BlockContext.js +2 -8
- package/lib/blocks/context/BlockContextProvider.js +4 -10
- package/lib/blocks/context/useBlockContext.js +12 -18
- package/lib/blocks/createImageLinkBlock.js +10 -16
- package/lib/blocks/createLinkBlock.js +25 -30
- package/lib/blocks/createRichTextBlock.js +29 -38
- package/lib/blocks/createSeoBlock.js +114 -121
- package/lib/blocks/createTableBlock.js +30 -36
- package/lib/blocks/createTextImageBlock.js +43 -48
- package/lib/blocks/createTextLinkBlock.js +24 -30
- package/lib/blocks/factories/columnsBlock/ColumnsIcon.d.ts +1 -0
- package/lib/blocks/factories/columnsBlock/ColumnsIcon.d.ts.map +1 -1
- package/lib/blocks/factories/columnsBlock/ColumnsIcon.js +6 -12
- package/lib/blocks/factories/columnsBlock/ColumnsLayoutPreview.js +13 -21
- package/lib/blocks/factories/columnsBlock/FinalFormColumnsSelect.js +7 -13
- package/lib/blocks/factories/columnsBlock/FinalFormLayoutSelect.js +21 -27
- package/lib/blocks/factories/createBlocksBlock.js +113 -117
- package/lib/blocks/factories/createColumnsBlock.js +85 -91
- package/lib/blocks/factories/createCompositeBlock.js +54 -60
- package/lib/blocks/factories/createListBlock.js +80 -84
- package/lib/blocks/factories/createOneOfBlock.js +54 -61
- package/lib/blocks/factories/createOptionalBlock.js +24 -29
- package/lib/blocks/factories/listBlock/createUseAdminComponent.js +24 -30
- package/lib/blocks/factories/spaceBlock/createSpaceBlock.js +16 -22
- package/lib/blocks/form/AutosaveFinalForm.d.ts +1 -0
- package/lib/blocks/form/AutosaveFinalForm.d.ts.map +1 -1
- package/lib/blocks/form/AutosaveFinalForm.js +7 -13
- package/lib/blocks/form/BlocksFinalForm.d.ts +1 -0
- package/lib/blocks/form/BlocksFinalForm.d.ts.map +1 -1
- package/lib/blocks/form/BlocksFinalForm.js +12 -18
- package/lib/blocks/form/createFinalFormBlock.js +7 -12
- package/lib/blocks/helpers/VideoOptionsFields.js +15 -21
- package/lib/blocks/helpers/composeBlocks/composeBlocks.js +40 -40
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockField.js +3 -9
- package/lib/blocks/helpers/composeBlocks/createCompositeBlockFields.js +3 -9
- package/lib/blocks/helpers/composeBlocks/createSettingsBlock.js +3 -9
- package/lib/blocks/helpers/composeBlocks/types.js +1 -5
- package/lib/blocks/helpers/composeBlocks/utility-types.js +1 -5
- package/lib/blocks/helpers/composeBlocks/utils.js +5 -14
- package/lib/blocks/helpers/createBlockSkeleton.js +14 -16
- package/lib/blocks/helpers/createCompositeBlockSelectField.js +8 -14
- package/lib/blocks/helpers/createCompositeBlockSwitchField.js +8 -14
- package/lib/blocks/helpers/createCompositeBlockTextField.js +8 -14
- package/lib/blocks/helpers/decomposeUpdateStateAction.js +3 -9
- package/lib/blocks/helpers/deduplicateBlockDependencies.js +3 -10
- package/lib/blocks/helpers/isBlockInterface.js +1 -7
- package/lib/blocks/helpers/withAdditionalBlockAttributes.js +1 -7
- package/lib/blocks/iframebridge/HoverPreviewComponent.js +15 -24
- package/lib/blocks/iframebridge/HoverPreviewComponent.sc.d.ts +1 -3
- package/lib/blocks/iframebridge/HoverPreviewComponent.sc.d.ts.map +1 -1
- package/lib/blocks/iframebridge/HoverPreviewComponent.sc.js +6 -12
- package/lib/blocks/iframebridge/IFrameBridge.js +26 -32
- package/lib/blocks/iframebridge/IFrameMessage.js +16 -8
- package/lib/blocks/iframebridge/SelectPreviewComponent.js +9 -15
- package/lib/blocks/iframebridge/useIFrameBridge.js +4 -10
- package/lib/blocks/image/EditImageDialog.js +66 -69
- package/lib/blocks/rte/extension/CmsLink/Decorator.js +4 -10
- package/lib/blocks/rte/extension/CmsLink/EditorComponent.js +3 -9
- package/lib/blocks/rte/extension/CmsLink/createCmsLinkToolbarButton.js +46 -52
- package/lib/blocks/seo/useSeoTagGeneration.generated.js +1 -7
- package/lib/blocks/seo/useSeoTagGeneration.js +24 -30
- package/lib/blocks/seo/useSitemapChangeFrequencyFormOptions.js +3 -9
- package/lib/blocks/seo/useSitemapPagePriorityFormOptions.js +3 -9
- package/lib/blocks/table/CellValue.js +12 -18
- package/lib/blocks/table/ColumnHeader.js +74 -80
- package/lib/blocks/table/EditCell.js +23 -29
- package/lib/blocks/table/FailedToPasteSnackbar.js +8 -14
- package/lib/blocks/table/RowActionsCell.js +58 -64
- package/lib/blocks/table/TableBlockContext.js +7 -13
- package/lib/blocks/table/TableBlockGrid.js +31 -35
- package/lib/blocks/table/__mocks__/TableBlockData.mocks.js +23 -29
- package/lib/blocks/table/dataGridStyles.js +1 -7
- package/lib/blocks/table/utils/column.js +19 -25
- package/lib/blocks/table/utils/ensureMinimumTableState.js +4 -10
- package/lib/blocks/table/utils/getClipboardValueForSchema.js +3 -9
- package/lib/blocks/table/utils/row.js +15 -21
- package/lib/blocks/table/utils/rteSchema.js +3 -9
- package/lib/blocks/table/utils/useRecentlyPastedIds.js +6 -12
- package/lib/blocks/types.js +19 -22
- package/lib/blocks/utils/parallelAsyncEvery.js +1 -7
- package/lib/blocks/utils.js +1 -7
- package/lib/blocks/validators/isValidUrl.js +1 -7
- package/lib/blocks.generated.js +1 -5
- package/lib/builds/BuildEntry.generated.js +1 -7
- package/lib/builds/BuildEntry.js +44 -50
- package/lib/builds/PublishButton.js +13 -19
- package/lib/builds/PublisherPage.generated.js +1 -7
- package/lib/builds/PublisherPage.js +33 -39
- package/lib/builds/StartBuildsDialog.generated.js +1 -7
- package/lib/builds/StartBuildsDialog.js +29 -33
- package/lib/common/DropdownMenuItem.js +22 -29
- package/lib/common/DropdownMenuItem.sc.d.ts +3 -9
- package/lib/common/DropdownMenuItem.sc.d.ts.map +1 -1
- package/lib/common/DropdownMenuItem.sc.js +10 -16
- package/lib/common/InsertInBetweenAction.js +9 -15
- package/lib/common/InsertInBetweenActionButton.js +8 -14
- package/lib/common/MarkedMatches.js +16 -23
- package/lib/common/MasterMenu.js +20 -27
- package/lib/common/MasterMenuRoutes.js +11 -18
- package/lib/common/PageList.d.ts +1 -0
- package/lib/common/PageList.d.ts.map +1 -1
- package/lib/common/PageList.js +22 -28
- package/lib/common/PageName.d.ts +1 -0
- package/lib/common/PageName.d.ts.map +1 -1
- package/lib/common/PageName.generated.js +1 -7
- package/lib/common/PageName.js +15 -21
- package/lib/common/SearchInput.js +24 -30
- package/lib/common/apollo/links/includeInvisibleContentContext.js +3 -8
- package/lib/common/errors/errorMessages.js +9 -15
- package/lib/common/header/Header.js +13 -18
- package/lib/common/header/ImpersonationInlay.js +22 -28
- package/lib/common/header/UserHeaderItem.js +58 -64
- package/lib/common/header/about/AboutModal.js +41 -46
- package/lib/common/header/about/build-information/buildInformation.js +1 -5
- package/lib/common/header/about/build-information/useBuildInformation.js +3 -9
- package/lib/common/image/ChooseFocalPoint.js +19 -25
- package/lib/common/image/ImageCrop.js +15 -23
- package/lib/common/image/ImageCrop.sc.js +10 -16
- package/lib/common/impersonation/commonImpersonationMessages.js +6 -12
- package/lib/common/signOutButton/SignOutButton.gql.d.ts +1 -1
- package/lib/common/signOutButton/SignOutButton.gql.d.ts.map +1 -1
- package/lib/common/signOutButton/SignOutButton.gql.generated.js +1 -7
- package/lib/common/signOutButton/SignOutButton.gql.js +2 -8
- package/lib/common/signOutButton/SignOutButton.js +13 -18
- package/lib/common/useEditState.js +10 -17
- package/lib/common/useSaveState.d.ts +1 -1
- package/lib/common/useSaveState.d.ts.map +1 -1
- package/lib/common/useSaveState.js +11 -17
- package/lib/config/CometConfigContext.js +11 -18
- package/lib/contentLanguage/contentLanguageConfig.js +3 -9
- package/lib/contentLanguage/useContentLanguage.js +3 -9
- package/lib/contentScope/ContentScopeIndicator.js +21 -27
- package/lib/contentScope/ContentScopeSelect.js +40 -47
- package/lib/contentScope/Controls.d.ts +1 -1
- package/lib/contentScope/Controls.d.ts.map +1 -1
- package/lib/contentScope/Controls.js +6 -12
- package/lib/contentScope/Provider.d.ts +1 -1
- package/lib/contentScope/Provider.d.ts.map +1 -1
- package/lib/contentScope/Provider.js +29 -37
- package/lib/contentScope/noContentScopeFallback/NoContentScopeFallback.js +30 -36
- package/lib/contentScope/useContentScopeConfig.js +5 -11
- package/lib/contentScope/utils/createPathFromDimensionValues.js +1 -7
- package/lib/contentScope/utils/defaultCreatePath.js +5 -10
- package/lib/contentScope/utils/groupObjectsIntoArrays.js +1 -7
- package/lib/cronJobs/CronJobsGrid.generated.js +1 -7
- package/lib/cronJobs/CronJobsGrid.js +51 -55
- package/lib/cronJobs/CronJobsPage.js +27 -33
- package/lib/cronJobs/JobLogs.generated.js +1 -7
- package/lib/cronJobs/JobLogs.js +19 -25
- package/lib/cronJobs/JobRuntime.js +11 -17
- package/lib/cronJobs/JobStatus.d.ts +1 -1
- package/lib/cronJobs/JobStatus.js +2 -8
- package/lib/cronJobs/JobsGrid.generated.js +1 -7
- package/lib/cronJobs/JobsGrid.js +35 -41
- package/lib/dam/CurrentDamFolderProvider.js +7 -14
- package/lib/dam/DamPage.js +21 -26
- package/lib/dam/DamTable.js +36 -44
- package/lib/dam/DataGrid/DamContextMenu.d.ts.map +1 -1
- package/lib/dam/DataGrid/DamContextMenu.generated.js +1 -7
- package/lib/dam/DataGrid/DamContextMenu.gql.d.ts +3 -3
- package/lib/dam/DataGrid/DamContextMenu.gql.d.ts.map +1 -1
- package/lib/dam/DataGrid/DamContextMenu.gql.generated.js +1 -7
- package/lib/dam/DataGrid/DamContextMenu.gql.js +4 -10
- package/lib/dam/DataGrid/DamContextMenu.js +70 -77
- package/lib/dam/DataGrid/FolderDataGrid.gql.d.ts +5 -5
- package/lib/dam/DataGrid/FolderDataGrid.gql.d.ts.map +1 -1
- package/lib/dam/DataGrid/FolderDataGrid.gql.generated.js +1 -7
- package/lib/dam/DataGrid/FolderDataGrid.gql.js +9 -15
- package/lib/dam/DataGrid/FolderDataGrid.js +101 -125
- package/lib/dam/DataGrid/FolderDataGrid.sc.js +8 -14
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.d.ts +1 -1
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.d.ts.map +1 -1
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.generated.js +1 -7
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.js +2 -8
- package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.js +20 -26
- package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.d.ts +2 -2
- package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.d.ts.map +1 -1
- package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.js +49 -53
- package/lib/dam/DataGrid/fileUpload/FileUploadContext.js +10 -16
- package/lib/dam/DataGrid/fileUpload/FileUploadErrorDialog.js +35 -39
- package/lib/dam/DataGrid/fileUpload/ProgressDialog.js +21 -25
- package/lib/dam/DataGrid/fileUpload/UploadFilesButton.js +18 -24
- package/lib/dam/DataGrid/fileUpload/fileUpload.utils.js +2 -10
- package/lib/dam/DataGrid/fileUpload/fileUploadErrorMessages.js +26 -32
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.d.ts +2 -2
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.d.ts.map +1 -1
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.generated.js +1 -7
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.js +3 -9
- package/lib/dam/DataGrid/fileUpload/useDamFileUpload.js +58 -64
- package/lib/dam/DataGrid/filter/DamSortPopover.js +28 -36
- package/lib/dam/DataGrid/filter/DamSortPopover.sc.d.ts +2 -4
- package/lib/dam/DataGrid/filter/DamSortPopover.sc.d.ts.map +1 -1
- package/lib/dam/DataGrid/filter/DamSortPopover.sc.js +8 -14
- package/lib/dam/DataGrid/filter/DamTableFilter.d.ts.map +1 -1
- package/lib/dam/DataGrid/filter/DamTableFilter.js +15 -22
- package/lib/dam/DataGrid/footer/DamFooter.js +6 -12
- package/lib/dam/DataGrid/footer/UploadFooter.js +13 -19
- package/lib/dam/DataGrid/label/DamItemLabel.js +19 -25
- package/lib/dam/DataGrid/label/DamItemLabelColumn.js +25 -32
- package/lib/dam/DataGrid/selection/DamMoreActions.js +38 -44
- package/lib/dam/DataGrid/selection/DamSelectionContext.generated.js +1 -7
- package/lib/dam/DataGrid/selection/DamSelectionContext.js +42 -48
- package/lib/dam/DataGrid/tags/ArchivedTag.js +8 -14
- package/lib/dam/DataGrid/tags/LicenseValidityTags.js +16 -22
- package/lib/dam/DataGrid/tags/Tag.d.ts +1 -1
- package/lib/dam/DataGrid/tags/Tag.js +2 -8
- package/lib/dam/DataGrid/thumbnail/AudioThumbnail.js +8 -14
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.d.ts +1 -1
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.d.ts.map +1 -1
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.generated.js +1 -7
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.js +2 -8
- package/lib/dam/DataGrid/thumbnail/DamThumbnail.js +28 -41
- package/lib/dam/DataGrid/thumbnail/VideoThumbnail.js +8 -14
- package/lib/dam/DataGrid/useDamSearchHighlighting.js +5 -12
- package/lib/dam/FileActions/ConfirmDeleteDialog.js +28 -33
- package/lib/dam/FileActions/ConfirmDeleteDialog.sc.js +9 -15
- package/lib/dam/FileForm/CropSettingsFields.d.ts +1 -0
- package/lib/dam/FileForm/CropSettingsFields.d.ts.map +1 -1
- package/lib/dam/FileForm/CropSettingsFields.js +34 -40
- package/lib/dam/FileForm/Duplicates.generated.js +1 -7
- package/lib/dam/FileForm/Duplicates.js +37 -43
- package/lib/dam/FileForm/EditFile.gql.d.ts +3 -3
- package/lib/dam/FileForm/EditFile.gql.d.ts.map +1 -1
- package/lib/dam/FileForm/EditFile.gql.generated.d.ts +3 -0
- package/lib/dam/FileForm/EditFile.gql.generated.d.ts.map +1 -1
- package/lib/dam/FileForm/EditFile.gql.generated.js +1 -7
- package/lib/dam/FileForm/EditFile.gql.js +5 -11
- package/lib/dam/FileForm/EditFile.js +79 -86
- package/lib/dam/FileForm/FilePreview.d.ts.map +1 -1
- package/lib/dam/FileForm/FilePreview.gql.d.ts +3 -3
- package/lib/dam/FileForm/FilePreview.gql.d.ts.map +1 -1
- package/lib/dam/FileForm/FilePreview.gql.generated.js +1 -7
- package/lib/dam/FileForm/FilePreview.gql.js +4 -10
- package/lib/dam/FileForm/FilePreview.js +56 -64
- package/lib/dam/FileForm/FileSettingsFields.generated.js +1 -7
- package/lib/dam/FileForm/FileSettingsFields.gql.d.ts +2 -2
- package/lib/dam/FileForm/FileSettingsFields.gql.d.ts.map +1 -1
- package/lib/dam/FileForm/FileSettingsFields.gql.generated.js +1 -7
- package/lib/dam/FileForm/FileSettingsFields.gql.js +3 -9
- package/lib/dam/FileForm/FileSettingsFields.js +78 -84
- package/lib/dam/FileForm/ImageInfos.js +24 -30
- package/lib/dam/FileForm/ReplaceFileButton.js +30 -36
- package/lib/dam/FileForm/licenseType.js +6 -12
- package/lib/dam/FileForm/previews/AudioPreview.js +15 -21
- package/lib/dam/FileForm/previews/DefaultFilePreview.js +11 -17
- package/lib/dam/FileForm/previews/ImagePreview.d.ts +1 -0
- package/lib/dam/FileForm/previews/ImagePreview.d.ts.map +1 -1
- package/lib/dam/FileForm/previews/ImagePreview.js +4 -10
- package/lib/dam/FileForm/previews/PdfPreview.js +7 -13
- package/lib/dam/FileForm/previews/VideoPreview.generated.js +1 -7
- package/lib/dam/FileForm/previews/VideoPreview.js +15 -21
- package/lib/dam/FolderForm/AddFolder.gql.d.ts +1 -1
- package/lib/dam/FolderForm/AddFolder.gql.d.ts.map +1 -1
- package/lib/dam/FolderForm/AddFolder.gql.generated.js +1 -7
- package/lib/dam/FolderForm/AddFolder.gql.js +2 -8
- package/lib/dam/FolderForm/AddFolder.js +13 -19
- package/lib/dam/FolderForm/EditFolder.gql.d.ts +2 -2
- package/lib/dam/FolderForm/EditFolder.gql.d.ts.map +1 -1
- package/lib/dam/FolderForm/EditFolder.gql.generated.js +1 -7
- package/lib/dam/FolderForm/EditFolder.gql.js +3 -9
- package/lib/dam/FolderForm/EditFolder.js +11 -17
- package/lib/dam/FolderForm/FolderFormFields.js +7 -13
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.d.ts +1 -1
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.d.ts.map +1 -1
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.generated.js +1 -7
- package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.js +2 -8
- package/lib/dam/MoveDamItemDialog/ChooseFolder.js +30 -43
- package/lib/dam/MoveDamItemDialog/MoveDamItemDialog.js +44 -48
- package/lib/dam/MoveDamItemDialog/useFolderTree.js +11 -17
- package/lib/dam/MoveDamItemDialog/useFolderTreeSearch.js +14 -21
- package/lib/dam/blocks/DamFileDownloadLinkBlock.generated.js +1 -7
- package/lib/dam/blocks/DamFileDownloadLinkBlock.js +27 -33
- package/lib/dam/blocks/DamImageBlock.d.ts +1 -1
- package/lib/dam/blocks/DamImageBlock.d.ts.map +1 -1
- package/lib/dam/blocks/DamImageBlock.js +26 -31
- package/lib/dam/config/DamScopeContext.js +2 -8
- package/lib/dam/config/DamScopeProvider.js +8 -14
- package/lib/dam/config/damConfig.js +4 -11
- package/lib/dam/config/damDefaultAcceptedMimeTypes.js +1 -7
- package/lib/dam/config/useDamAcceptedMimeTypes.js +5 -11
- package/lib/dam/config/useDamScope.js +5 -10
- package/lib/dam/dependencies/createDamFileDependency.generated.js +1 -7
- package/lib/dam/dependencies/createDamFileDependency.js +8 -13
- package/lib/dam/helpers/clearDamItemCache.js +1 -7
- package/lib/dam/helpers/isFile.js +1 -7
- package/lib/dam/helpers/isFolder.js +1 -7
- package/lib/dam/helpers/slugifyFilename.js +3 -10
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.generated.js +1 -7
- package/lib/dam/mediaAlternatives/MediaAlternativeForm.js +25 -31
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.d.ts +1 -1
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.d.ts.map +1 -1
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.generated.js +1 -7
- package/lib/dam/mediaAlternatives/MediaAlternativesGrid.js +44 -51
- package/lib/dashboard/DashboardHeader.js +12 -18
- package/lib/dashboard/DateTime.js +15 -21
- package/lib/dashboard/DefaultGreeting.js +6 -12
- package/lib/dashboard/widgets/DashboardWidgetRoot.js +8 -14
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.generated.js +1 -7
- package/lib/dashboard/widgets/LatestBuildsDashboardWidget.js +19 -25
- package/lib/dashboard/widgets/LatestContentUpdatesDashboardWidget.js +16 -22
- package/lib/dependencies/DependenciesList.d.ts +30 -0
- package/lib/dependencies/DependenciesList.d.ts.map +1 -0
- package/lib/dependencies/DependenciesList.js +282 -0
- package/lib/dependencies/DependentsList.d.ts +30 -0
- package/lib/dependencies/DependentsList.d.ts.map +1 -0
- package/lib/dependencies/{DependencyList.js → DependentsList.js} +190 -167
- package/lib/dependencies/createDependencyMethods.js +3 -9
- package/lib/dependencies/createDocumentDependencyMethods.js +3 -9
- package/lib/dependencies/dependenciesConfig.js +3 -9
- package/lib/dependencies/getDisplayNameString.d.ts +4 -0
- package/lib/dependencies/getDisplayNameString.d.ts.map +1 -0
- package/lib/dependencies/getDisplayNameString.js +12 -0
- package/lib/dependencies/types.js +1 -5
- package/lib/documents/ContentGenerationConfigContext.js +7 -13
- package/lib/documents/createDocumentRootBlocksMethods.js +1 -7
- package/lib/documents/types.js +1 -5
- package/lib/form/SyncFields.js +7 -13
- package/lib/form/file/DamPathLazy.generated.js +1 -7
- package/lib/form/file/DamPathLazy.js +7 -13
- package/lib/form/file/FileField.gql.d.ts +1 -1
- package/lib/form/file/FileField.gql.d.ts.map +1 -1
- package/lib/form/file/FileField.gql.generated.js +1 -7
- package/lib/form/file/FileField.gql.js +3 -9
- package/lib/form/file/FileField.js +53 -58
- package/lib/form/file/FileUploadField.js +6 -12
- package/lib/form/file/FinalFormFileUpload.d.ts +2 -2
- package/lib/form/file/FinalFormFileUpload.d.ts.map +1 -1
- package/lib/form/file/FinalFormFileUpload.generated.js +1 -7
- package/lib/form/file/FinalFormFileUpload.js +20 -26
- package/lib/form/file/chooseFile/ChooseFileDialog.js +28 -35
- package/lib/form/file/chooseFile/RedirectToPersistedDamLocation.js +12 -18
- package/lib/form/file/upload.js +3 -11
- package/lib/form/queryUpdatedAt.js +3 -9
- package/lib/form/serializeInitialValues.js +1 -7
- package/lib/form/useFormSaveConflict.d.ts +2 -2
- package/lib/form/useFormSaveConflict.d.ts.map +1 -1
- package/lib/form/useFormSaveConflict.js +3 -9
- package/lib/graphql.generated.d.ts +27 -3
- package/lib/graphql.generated.d.ts.map +1 -1
- package/lib/graphql.generated.js +1 -5
- package/lib/index.d.ts +3 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +144 -1128
- package/lib/pages/LocalPageTreeNodeDocumentAnchors.js +7 -13
- package/lib/pages/SaveConflictDialog.js +54 -57
- package/lib/pages/config/usePageTreeScope.js +5 -11
- package/lib/pages/createEditPageNode.d.ts +1 -1
- package/lib/pages/createEditPageNode.d.ts.map +1 -1
- package/lib/pages/createEditPageNode.generated.js +1 -7
- package/lib/pages/createEditPageNode.js +83 -90
- package/lib/pages/createUsePage.d.ts +1 -1
- package/lib/pages/createUsePage.d.ts.map +1 -1
- package/lib/pages/createUsePage.generated.js +1 -7
- package/lib/pages/createUsePage.js +46 -45
- package/lib/pages/pageSearch/PageSearch.js +4 -10
- package/lib/pages/pageSearch/usePageSearch.d.ts +1 -1
- package/lib/pages/pageSearch/usePageSearch.d.ts.map +1 -1
- package/lib/pages/pageSearch/usePageSearch.generated.js +1 -7
- package/lib/pages/pageSearch/usePageSearch.js +16 -22
- package/lib/pages/pageTree/CopyPasteMenuItem.js +19 -25
- package/lib/pages/pageTree/MovePageMenuItem.generated.js +1 -7
- package/lib/pages/pageTree/MovePageMenuItem.js +17 -23
- package/lib/pages/pageTree/Page.d.ts +1 -1
- package/lib/pages/pageTree/Page.d.ts.map +1 -1
- package/lib/pages/pageTree/Page.generated.js +1 -7
- package/lib/pages/pageTree/Page.js +2 -8
- package/lib/pages/pageTree/PageActions.js +54 -60
- package/lib/pages/pageTree/PageDeleteDialog.js +56 -58
- package/lib/pages/pageTree/PageDeleteDialog.sc.d.ts +1 -3
- package/lib/pages/pageTree/PageDeleteDialog.sc.d.ts.map +1 -1
- package/lib/pages/pageTree/PageDeleteDialog.sc.js +8 -14
- package/lib/pages/pageTree/PageInfo.js +13 -19
- package/lib/pages/pageTree/PageLabel.js +25 -31
- package/lib/pages/pageTree/PageTree.generated.js +1 -7
- package/lib/pages/pageTree/PageTree.js +52 -58
- package/lib/pages/pageTree/PageTreeContext.js +2 -8
- package/lib/pages/pageTree/PageTreeDragLayer.js +13 -22
- package/lib/pages/pageTree/PageTreeDragLayer.sc.d.ts +2 -2
- package/lib/pages/pageTree/PageTreeDragLayer.sc.d.ts.map +1 -1
- package/lib/pages/pageTree/PageTreeDragLayer.sc.js +3 -9
- package/lib/pages/pageTree/PageTreeRow.js +54 -63
- package/lib/pages/pageTree/PageTreeRow.sc.js +9 -15
- package/lib/pages/pageTree/PageTreeRowDivider.js +12 -18
- package/lib/pages/pageTree/PageTreeService.js +2 -7
- package/lib/pages/pageTree/PageTypeIcon.d.ts +1 -0
- package/lib/pages/pageTree/PageTypeIcon.d.ts.map +1 -1
- package/lib/pages/pageTree/PageTypeIcon.js +8 -14
- package/lib/pages/pageTree/PageVisibility.d.ts +1 -1
- package/lib/pages/pageTree/PageVisibility.d.ts.map +1 -1
- package/lib/pages/pageTree/PageVisibility.generated.js +1 -7
- package/lib/pages/pageTree/PageVisibility.js +37 -43
- package/lib/pages/pageTree/PageVisibilityIcon.d.ts +1 -0
- package/lib/pages/pageTree/PageVisibilityIcon.d.ts.map +1 -1
- package/lib/pages/pageTree/PageVisibilityIcon.js +6 -12
- package/lib/pages/pageTree/common/PageTreeTableRow.d.ts +1 -1
- package/lib/pages/pageTree/common/PageTreeTableRow.d.ts.map +1 -1
- package/lib/pages/pageTree/common/PageTreeTableRow.js +18 -24
- package/lib/pages/pageTree/treemap/TreeMapUtils.js +9 -14
- package/lib/pages/pageTree/useButtonHoverStates.js +4 -10
- package/lib/pages/pageTree/useCopyPastePages/ProgressDialog.js +26 -30
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.generated.js +1 -7
- package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.js +7 -13
- package/lib/pages/pageTree/useCopyPastePages/sendPages.generated.js +1 -7
- package/lib/pages/pageTree/useCopyPastePages/sendPages.js +33 -39
- package/lib/pages/pageTree/useCopyPastePages.js +38 -43
- package/lib/pages/pageTree/useDndWindowScroll/ScrollManager.js +3 -8
- package/lib/pages/pageTree/useDndWindowScroll/useAnimationFrame.js +6 -11
- package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.d.ts +1 -1
- package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.d.ts.map +1 -1
- package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.js +12 -19
- package/lib/pages/pageTree/usePageTree.d.ts +1 -1
- package/lib/pages/pageTree/usePageTree.d.ts.map +1 -1
- package/lib/pages/pageTree/usePageTree.generated.js +1 -7
- package/lib/pages/pageTree/usePageTree.js +17 -24
- package/lib/pages/pageTree/usePageTreeContext.js +4 -10
- package/lib/pages/pageTreeConfig.js +3 -9
- package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.d.ts +1 -0
- package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.d.ts.map +1 -1
- package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.js +4 -11
- package/lib/pages/pageTreeSelect/PageTreeSelect.generated.js +1 -7
- package/lib/pages/pageTreeSelect/PageTreeSelect.js +20 -27
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.d.ts +2 -1
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.d.ts.map +1 -1
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.generated.js +1 -7
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.js +88 -96
- package/lib/pages/pageTreeSelect/PageTreeSelectDialog.sc.js +6 -12
- package/lib/pages/pagesPage/ConfirmPageActionDialog.js +23 -27
- package/lib/pages/pagesPage/PageCanNotDeleteDialog.js +15 -19
- package/lib/pages/pagesPage/PagesPage.js +80 -86
- package/lib/pages/pagesPage/PagesPageActionToolbar.js +97 -103
- package/lib/pages/pagesPage/PagesPageActionToolbar.sc.d.ts +4 -8
- package/lib/pages/pagesPage/PagesPageActionToolbar.sc.d.ts.map +1 -1
- package/lib/pages/pagesPage/PagesPageActionToolbar.sc.js +6 -12
- package/lib/pages/pagesPage/PagesPageActionToolbarBatchUpdateHelper.js +5 -11
- package/lib/pages/pagesPage/areAllSubTreesFullSelected.js +4 -10
- package/lib/pages/pagesPage/createPagesQuery.generated.js +1 -7
- package/lib/pages/pagesPage/createPagesQuery.js +6 -12
- package/lib/pages/resolveHasSaveConflict.js +5 -11
- package/lib/pages/usePageTreeDocumentAnchors.generated.js +1 -7
- package/lib/pages/usePageTreeDocumentAnchors.js +10 -14
- package/lib/pages/useSaveConflict.js +20 -26
- package/lib/pages/useSaveConflictQuery.js +7 -13
- package/lib/preview/block/BlockPreview.generated.js +1 -7
- package/lib/preview/block/BlockPreview.js +33 -38
- package/lib/preview/block/BlockPreviewWithTabs.js +10 -15
- package/lib/preview/block/SplitPreview.js +22 -27
- package/lib/preview/block/SplitPreview.sc.js +12 -19
- package/lib/preview/block/useBlockPreview.js +7 -12
- package/lib/preview/common/Device.js +3 -8
- package/lib/preview/common/DeviceToggle.js +22 -27
- package/lib/preview/common/IFrameViewer.js +24 -30
- package/lib/preview/common/ToggleButton.d.ts +1 -3
- package/lib/preview/common/ToggleButton.d.ts.map +1 -1
- package/lib/preview/common/ToggleButton.js +5 -10
- package/lib/preview/common/VisibilityToggle.js +9 -14
- package/lib/preview/openSitePreviewWindow.js +2 -8
- package/lib/preview/site/OpenLinkDialog.js +31 -33
- package/lib/preview/site/SitePreview.generated.js +1 -7
- package/lib/preview/site/SitePreview.js +58 -61
- package/lib/preview/site/SitePreview.sc.d.ts +1 -3
- package/lib/preview/site/SitePreview.sc.d.ts.map +1 -1
- package/lib/preview/site/SitePreview.sc.js +8 -14
- package/lib/preview/site/iframebridge/SitePreviewIFrameMessage.js +3 -7
- package/lib/preview/site/iframebridge/useSitePreviewIFrameBridge.js +5 -11
- package/lib/redirects/RedirectActiveness.d.ts +2 -1
- package/lib/redirects/RedirectActiveness.d.ts.map +1 -1
- package/lib/redirects/RedirectActiveness.generated.js +1 -7
- package/lib/redirects/RedirectActiveness.js +26 -32
- package/lib/redirects/RedirectForm.d.ts +1 -0
- package/lib/redirects/RedirectForm.d.ts.map +1 -1
- package/lib/redirects/RedirectForm.generated.js +1 -7
- package/lib/redirects/RedirectForm.gql.d.ts +3 -3
- package/lib/redirects/RedirectForm.gql.d.ts.map +1 -1
- package/lib/redirects/RedirectForm.gql.generated.js +1 -7
- package/lib/redirects/RedirectForm.gql.js +5 -11
- package/lib/redirects/RedirectForm.js +64 -65
- package/lib/redirects/RedirectsGrid.d.ts +1 -0
- package/lib/redirects/RedirectsGrid.d.ts.map +1 -1
- package/lib/redirects/RedirectsGrid.gql.d.ts +2 -2
- package/lib/redirects/RedirectsGrid.gql.d.ts.map +1 -1
- package/lib/redirects/RedirectsGrid.gql.generated.js +1 -7
- package/lib/redirects/RedirectsGrid.gql.js +6 -11
- package/lib/redirects/RedirectsGrid.js +48 -55
- package/lib/redirects/createRedirectsPage.d.ts +1 -1
- package/lib/redirects/createRedirectsPage.d.ts.map +1 -1
- package/lib/redirects/createRedirectsPage.js +37 -43
- package/lib/redirects/redirectsConfig.js +5 -11
- package/lib/redirects/submitMutation.js +5 -11
- package/lib/siteConfigs/siteConfigsConfig.js +1 -5
- package/lib/siteConfigs/useSiteConfig.js +3 -9
- package/lib/siteConfigs/useSiteConfigs.js +3 -9
- package/lib/testing/test-utils.js +15 -32
- package/lib/translation/AzureAiTranslatorProvider.generated.js +1 -7
- package/lib/translation/AzureAiTranslatorProvider.js +11 -17
- package/lib/userPermissions/ImpersonateMenuItem.generated.js +1 -7
- package/lib/userPermissions/ImpersonateMenuItem.js +27 -33
- package/lib/userPermissions/UserGrid.generated.js +1 -7
- package/lib/userPermissions/UserGrid.js +45 -51
- package/lib/userPermissions/UserPermissionsPage.js +42 -48
- package/lib/userPermissions/hooks/currentUser.generated.js +1 -7
- package/lib/userPermissions/hooks/currentUser.js +21 -27
- package/lib/userPermissions/user/ImpersonationButtons.js +18 -24
- package/lib/userPermissions/user/UserPageToolbar.generated.js +1 -7
- package/lib/userPermissions/user/UserPageToolbar.js +29 -35
- package/lib/userPermissions/user/basicData/UserBasicData.generated.js +1 -7
- package/lib/userPermissions/user/basicData/UserBasicData.js +23 -29
- package/lib/userPermissions/user/permissions/ContentScopeGrid.generated.js +1 -7
- package/lib/userPermissions/user/permissions/ContentScopeGrid.js +38 -44
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.generated.js +1 -7
- package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.js +34 -38
- package/lib/userPermissions/user/permissions/PermissionDialog.d.ts.map +1 -1
- package/lib/userPermissions/user/permissions/PermissionDialog.generated.js +1 -7
- package/lib/userPermissions/user/permissions/PermissionDialog.js +50 -54
- package/lib/userPermissions/user/permissions/PermissionGrid.generated.js +1 -7
- package/lib/userPermissions/user/permissions/PermissionGrid.js +48 -54
- package/lib/userPermissions/user/permissions/PermissionsPanel.js +9 -15
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.generated.js +1 -7
- package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.js +19 -26
- package/lib/userPermissions/utils/camelCaseToHumanReadable.js +1 -7
- package/lib/userPermissions/utils/handleImpersonation.js +5 -12
- package/lib/validation/isLinkTarget.js +6 -12
- package/lib/validation/isPhoneNumber.js +1 -7
- package/lib/validation/validateLinkTarget.js +6 -12
- package/lib/validation/validatePhoneNumber.js +6 -12
- package/lib/validation/validateUrl.js +6 -12
- package/lib/vendors.d.js +1 -5
- package/lib/warnings/LatestWarningsDashboardWidget.generated.js +1 -7
- package/lib/warnings/LatestWarningsDashboardWidget.js +27 -33
- package/lib/warnings/WarningActions.js +25 -31
- package/lib/warnings/WarningMessage.d.ts +1 -1
- package/lib/warnings/WarningMessage.d.ts.map +1 -1
- package/lib/warnings/WarningMessage.js +1 -7
- package/lib/warnings/WarningSeverity.js +9 -15
- package/lib/warnings/WarningsGrid.generated.js +1 -7
- package/lib/warnings/WarningsGrid.js +45 -52
- package/lib/warnings/WarningsPage.js +11 -17
- package/lib/warnings/warningMessages.js +10 -16
- package/lib/warnings/warningsConfig.js +5 -11
- package/package.json +25 -26
- package/lib/dependencies/DependencyList.d.ts +0 -29
- package/lib/dependencies/DependencyList.d.ts.map +0 -1
- package/lib/dependencies/DependencyList.sc.d.ts +0 -11
- package/lib/dependencies/DependencyList.sc.d.ts.map +0 -1
- package/lib/dependencies/DependencyList.sc.js +0 -79
- package/lib/http/createHttpClient.d.ts +0 -3
- package/lib/http/createHttpClient.d.ts.map +0 -1
- package/lib/http/createHttpClient.js +0 -43
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
var
|
|
14
|
-
var _DamTable = require("../../../dam/DamTable");
|
|
15
|
-
var _DamItemLabel = _interopRequireDefault(require("../../../dam/DataGrid/label/DamItemLabel"));
|
|
16
|
-
var _isFile = require("../../../dam/helpers/isFile");
|
|
17
|
-
var _RedirectToPersistedDamLocation = require("./RedirectToPersistedDamLocation");
|
|
18
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
19
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
20
|
-
var TableRowButton = /*#__PURE__*/(0, _styles.styled)(_admin.Button, process.env.NODE_ENV === "production" ? {
|
|
1
|
+
import { Button, Dialog, StackLink, SubRoute } from "@comet/admin";
|
|
2
|
+
import { styled } from "@mui/material/styles";
|
|
3
|
+
import { FormattedMessage } from "react-intl";
|
|
4
|
+
import { MemoryRouter } from "react-router";
|
|
5
|
+
import { useDamConfig } from "../../../dam/config/damConfig";
|
|
6
|
+
import { DamScopeProvider } from "../../../dam/config/DamScopeProvider";
|
|
7
|
+
import { useDamScope } from "../../../dam/config/useDamScope";
|
|
8
|
+
import { DamTable } from "../../../dam/DamTable";
|
|
9
|
+
import DamItemLabel from "../../../dam/DataGrid/label/DamItemLabel";
|
|
10
|
+
import { isFile } from "../../../dam/helpers/isFile";
|
|
11
|
+
import { RedirectToPersistedDamLocation } from "./RedirectToPersistedDamLocation";
|
|
12
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
var TableRowButton = /*#__PURE__*/styled(Button, process.env.NODE_ENV === "production" ? {
|
|
21
14
|
target: "eiuzo2h1"
|
|
22
15
|
} : {
|
|
23
16
|
target: "eiuzo2h1",
|
|
@@ -26,7 +19,7 @@ var TableRowButton = /*#__PURE__*/(0, _styles.styled)(_admin.Button, process.env
|
|
|
26
19
|
var theme = _ref.theme;
|
|
27
20
|
return theme.palette.grey[600];
|
|
28
21
|
}, ";&:hover{background-color:transparent;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9mb3JtL2ZpbGUvY2hvb3NlRmlsZS9DaG9vc2VGaWxlRGlhbG9nLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQnFDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy9mb3JtL2ZpbGUvY2hvb3NlRmlsZS9DaG9vc2VGaWxlRGlhbG9nLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJ1dHRvbiwgRGlhbG9nLCBTdGFja0xpbmssIFN1YlJvdXRlIH0gZnJvbSBcIkBjb21ldC9hZG1pblwiO1xuaW1wb3J0IHsgc3R5bGVkIH0gZnJvbSBcIkBtdWkvbWF0ZXJpYWwvc3R5bGVzXCI7XG5pbXBvcnQgeyB0eXBlIFN5bnRoZXRpY0V2ZW50IH0gZnJvbSBcInJlYWN0XCI7XG5pbXBvcnQgeyBGb3JtYXR0ZWRNZXNzYWdlIH0gZnJvbSBcInJlYWN0LWludGxcIjtcbmltcG9ydCB7IE1lbW9yeVJvdXRlciB9IGZyb20gXCJyZWFjdC1yb3V0ZXJcIjtcblxuaW1wb3J0IHsgdXNlRGFtQ29uZmlnIH0gZnJvbSBcIi4uLy4uLy4uL2RhbS9jb25maWcvZGFtQ29uZmlnXCI7XG5pbXBvcnQgeyBEYW1TY29wZVByb3ZpZGVyIH0gZnJvbSBcIi4uLy4uLy4uL2RhbS9jb25maWcvRGFtU2NvcGVQcm92aWRlclwiO1xuaW1wb3J0IHsgdXNlRGFtU2NvcGUgfSBmcm9tIFwiLi4vLi4vLi4vZGFtL2NvbmZpZy91c2VEYW1TY29wZVwiO1xuaW1wb3J0IHsgRGFtVGFibGUgfSBmcm9tIFwiLi4vLi4vLi4vZGFtL0RhbVRhYmxlXCI7XG5pbXBvcnQgeyB0eXBlIEdRTERhbUZpbGVUYWJsZUZyYWdtZW50LCB0eXBlIEdRTERhbUZvbGRlclRhYmxlRnJhZ21lbnQgfSBmcm9tIFwiLi4vLi4vLi4vZGFtL0RhdGFHcmlkL0ZvbGRlckRhdGFHcmlkXCI7XG5pbXBvcnQgRGFtSXRlbUxhYmVsIGZyb20gXCIuLi8uLi8uLi9kYW0vRGF0YUdyaWQvbGFiZWwvRGFtSXRlbUxhYmVsXCI7XG5pbXBvcnQgeyB0eXBlIFJlbmRlckRhbUxhYmVsT3B0aW9ucyB9IGZyb20gXCIuLi8uLi8uLi9kYW0vRGF0YUdyaWQvbGFiZWwvRGFtSXRlbUxhYmVsQ29sdW1uXCI7XG5pbXBvcnQgeyBpc0ZpbGUgfSBmcm9tIFwiLi4vLi4vLi4vZGFtL2hlbHBlcnMvaXNGaWxlXCI7XG5pbXBvcnQgeyBSZWRpcmVjdFRvUGVyc2lzdGVkRGFtTG9jYXRpb24gfSBmcm9tIFwiLi9SZWRpcmVjdFRvUGVyc2lzdGVkRGFtTG9jYXRpb25cIjtcblxuY29uc3QgVGFibGVSb3dCdXR0b24gPSBzdHlsZWQoQnV0dG9uKWBcbiAgICBwYWRkaW5nOiAwO1xuICAgIGp1c3RpZnktY29udGVudDogbGVmdDtcbiAgICBjb2xvcjogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5wYWxldHRlLmdyZXlbNjAwXX07XG5cbiAgICAmOmhvdmVyIHtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgfVxuYDtcblxuY29uc3QgU3R5bGVkU3RhY2tMaW5rID0gc3R5bGVkKFN0YWNrTGluaylgXG4gICAgd2lkdGg6IDEwMCU7XG4gICAgaGVpZ2h0OiAxMDAlO1xuICAgIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbiAgICBjb2xvcjogJHsoeyB0aGVtZSB9KSA9PiB0aGVtZS5wYWxldHRlLmdyZXlbOTAwXX07XG5gO1xuXG5jb25zdCByZW5kZXJEYW1MYWJlbCA9IChcbiAgICByb3c6IEdRTERhbUZpbGVUYWJsZUZyYWdtZW50IHwgR1FMRGFtRm9sZGVyVGFibGVGcmFnbWVudCxcbiAgICBvbkNob29zZUZpbGU6IChmaWxlSWQ6IHN0cmluZykgPT4gdm9pZCxcbiAgICB7IG1hdGNoZXMsIGZpbHRlckFwaSwgc2hvd0xpY2Vuc2VXYXJuaW5ncyA9IGZhbHNlIH06IFJlbmRlckRhbUxhYmVsT3B0aW9ucyxcbikgPT4ge1xuICAgIHJldHVybiBpc0ZpbGUocm93KSA/IChcbiAgICAgICAgPFRhYmxlUm93QnV0dG9uIGRpc2FibGVSaXBwbGU9e3RydWV9IHZhcmlhbnQ9XCJ0ZXh0RGFya1wiIG9uQ2xpY2s9eygpID0+IG9uQ2hvb3NlRmlsZShyb3cuaWQpfSBmdWxsV2lkdGg+XG4gICAgICAgICAgICA8RGFtSXRlbUxhYmVsIGFzc2V0PXtyb3d9IG1hdGNoZXM9e21hdGNoZXN9IHNob3dMaWNlbnNlV2FybmluZ3M9e3Nob3dMaWNlbnNlV2FybmluZ3N9IC8+XG4gICAgICAgIDwvVGFibGVSb3dCdXR0b24+XG4gICAgKSA6IChcbiAgICAgICAgPFN0eWxlZFN0YWNrTGlua1xuICAgICAgICAgICAgcGFnZU5hbWU9XCJmb2xkZXJcIlxuICAgICAgICAgICAgcGF5bG9hZD17cm93LmlkfVxuICAgICAgICAgICAgb25DbGljaz17KCkgPT4ge1xuICAgICAgICAgICAgICAgIGZpbHRlckFwaS5mb3JtQXBpLmNoYW5nZShcInNlYXJjaFRleHRcIiwgdW5kZWZpbmVkKTtcbiAgICAgICAgICAgIH19XG4gICAgICAgID5cbiAgICAgICAgICAgIDxEYW1JdGVtTGFiZWwgYXNzZXQ9e3Jvd30gbWF0Y2hlcz17bWF0Y2hlc30gLz5cbiAgICAgICAgPC9TdHlsZWRTdGFja0xpbms+XG4gICAgKTtcbn07XG5cbmludGVyZmFjZSBDaG9vc2VGaWxlRGlhbG9nUHJvcHMge1xuICAgIG9wZW46IGJvb2xlYW47XG4gICAgb25DbG9zZTogKGV2ZW50OiBTeW50aGV0aWNFdmVudCwgcmVhc29uOiBcImJhY2tkcm9wQ2xpY2tcIiB8IFwiZXNjYXBlS2V5RG93blwiKSA9PiB2b2lkO1xuICAgIG9uQ2hvb3NlRmlsZTogKGZpbGVJZDogc3RyaW5nKSA9PiB2b2lkO1xuICAgIGFsbG93ZWRNaW1ldHlwZXM/OiBzdHJpbmdbXTtcbn1cblxuZXhwb3J0IGNvbnN0IENob29zZUZpbGVEaWFsb2cgPSAoeyBvcGVuLCBvbkNsb3NlLCBvbkNob29zZUZpbGUsIGFsbG93ZWRNaW1ldHlwZXMgfTogQ2hvb3NlRmlsZURpYWxvZ1Byb3BzKSA9PiB7XG4gICAgY29uc3QgZGFtQ29uZmlnID0gdXNlRGFtQ29uZmlnKCk7XG4gICAgbGV0IHN0YXRlS2V5ID0gXCJjaG9vc2UtZmlsZS1kYW0tbG9jYXRpb25cIjtcbiAgICBjb25zdCBzY29wZSA9IHVzZURhbVNjb3BlKCk7XG5cbiAgICBpZiAoT2JqZWN0LmtleXMoc2NvcGUpLmxlbmd0aCA+IDApIHtcbiAgICAgICAgc3RhdGVLZXkgPSBgJHtPYmplY3QudmFsdWVzKHNjb3BlKS5qb2luKFwiLVwiKX0tJHtzdGF0ZUtleX1gO1xuICAgIH1cblxuICAgIHJldHVybiAoXG4gICAgICAgIDxEaWFsb2dcbiAgICAgICAgICAgIG9wZW49e29wZW59XG4gICAgICAgICAgICBvbkNsb3NlPXtvbkNsb3NlfVxuICAgICAgICAgICAgZnVsbFdpZHRoXG4gICAgICAgICAgICBtYXhXaWR0aD1cInhsXCJcbiAgICAgICAgICAgIHRpdGxlPXs8Rm9ybWF0dGVkTWVzc2FnZSBpZD1cImNvbWV0LmZvcm0uZmlsZS5zZWxlY3RGaWxlXCIgZGVmYXVsdE1lc3NhZ2U9XCJTZWxlY3QgZmlsZSBmcm9tIERBTVwiIC8+fVxuICAgICAgICAgICAgc2xvdFByb3BzPXt7XG4gICAgICAgICAgICAgICAgcm9vdDoge1xuICAgICAgICAgICAgICAgICAgICBQYXBlclByb3BzOiB7XG4gICAgICAgICAgICAgICAgICAgICAgICBzeDogeyBoZWlnaHQ6IFwiMTAwJVwiIH0sIC8vIFRoZSBmaXhlZCBoZWlnaHQgcHJldmVudHMgdGhlIGhlaWdodCBvZiB0aGUgZGlhbG9nIGZyb20gY2hhbmdpbmcgd2hlbiBuYXZpZ2F0aW5nIGJldHdlZW4gZm9sZGVycyB3aGljaCBtYXkgaGF2ZSBkaWZmZXJlbnQgaGVpZ2h0cyBkZXBlbmRpbmcgb24gdGhlIG51bWJlciBvZiBpdGVtcyBpbiB0aGUgZm9sZGVyXG4gICAgICAgICAgICAgICAgICAgIH0sXG4gICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIH19XG4gICAgICAgID5cbiAgICAgICAgICAgIDxEYW1TY29wZVByb3ZpZGVyPlxuICAgICAgICAgICAgICAgIDxNZW1vcnlSb3V0ZXI+XG4gICAgICAgICAgICAgICAgICAgIDxTdWJSb3V0ZSBwYXRoPVwiXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8UmVkaXJlY3RUb1BlcnNpc3RlZERhbUxvY2F0aW9uIHN0YXRlS2V5PXtzdGF0ZUtleX0gLz5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxEYW1UYWJsZVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlbmRlckRhbUxhYmVsPXsocm93LCB7IG1hdGNoZXMsIGZpbHRlckFwaSB9OiBSZW5kZXJEYW1MYWJlbE9wdGlvbnMpID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlbmRlckRhbUxhYmVsKHJvdywgb25DaG9vc2VGaWxlLCB7IG1hdGNoZXMsIGZpbHRlckFwaSwgc2hvd0xpY2Vuc2VXYXJuaW5nczogZGFtQ29uZmlnLmVuYWJsZUxpY2Vuc2VGZWF0dXJlIH0pXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFsbG93ZWRNaW1ldHlwZXM9e2FsbG93ZWRNaW1ldHlwZXN9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaGlkZUNvbnRleHRNZW51PXt0cnVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpZGVNdWx0aXNlbGVjdD17dHJ1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaWRlQXJjaGl2ZUZpbHRlcj17dHJ1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGRpdGlvbmFsVG9vbGJhckl0ZW1zPXtkYW1Db25maWcuYWRkaXRpb25hbFRvb2xiYXJJdGVtc31cbiAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgIDwvU3ViUm91dGU+XG4gICAgICAgICAgICAgICAgPC9NZW1vcnlSb3V0ZXI+XG4gICAgICAgICAgICA8L0RhbVNjb3BlUHJvdmlkZXI+XG4gICAgICAgIDwvRGlhbG9nPlxuICAgICk7XG59O1xuIl19 */"));
|
|
29
|
-
var StyledStackLink = /*#__PURE__*/
|
|
22
|
+
var StyledStackLink = /*#__PURE__*/styled(StackLink, process.env.NODE_ENV === "production" ? {
|
|
30
23
|
target: "eiuzo2h0"
|
|
31
24
|
} : {
|
|
32
25
|
target: "eiuzo2h0",
|
|
@@ -40,47 +33,47 @@ var _renderDamLabel = function renderDamLabel(row, onChooseFile, _ref3) {
|
|
|
40
33
|
filterApi = _ref3.filterApi,
|
|
41
34
|
_ref3$showLicenseWarn = _ref3.showLicenseWarnings,
|
|
42
35
|
showLicenseWarnings = _ref3$showLicenseWarn === void 0 ? false : _ref3$showLicenseWarn;
|
|
43
|
-
return
|
|
36
|
+
return isFile(row) ? /*#__PURE__*/_jsx(TableRowButton, {
|
|
44
37
|
disableRipple: true,
|
|
45
38
|
variant: "textDark",
|
|
46
39
|
onClick: function onClick() {
|
|
47
40
|
return onChooseFile(row.id);
|
|
48
41
|
},
|
|
49
42
|
fullWidth: true,
|
|
50
|
-
children: /*#__PURE__*/(
|
|
43
|
+
children: /*#__PURE__*/_jsx(DamItemLabel, {
|
|
51
44
|
asset: row,
|
|
52
45
|
matches: matches,
|
|
53
46
|
showLicenseWarnings: showLicenseWarnings
|
|
54
47
|
})
|
|
55
|
-
}) : /*#__PURE__*/(
|
|
48
|
+
}) : /*#__PURE__*/_jsx(StyledStackLink, {
|
|
56
49
|
pageName: "folder",
|
|
57
50
|
payload: row.id,
|
|
58
51
|
onClick: function onClick() {
|
|
59
52
|
filterApi.formApi.change("searchText", undefined);
|
|
60
53
|
},
|
|
61
|
-
children: /*#__PURE__*/(
|
|
54
|
+
children: /*#__PURE__*/_jsx(DamItemLabel, {
|
|
62
55
|
asset: row,
|
|
63
56
|
matches: matches
|
|
64
57
|
})
|
|
65
58
|
});
|
|
66
59
|
};
|
|
67
|
-
var ChooseFileDialog =
|
|
60
|
+
export var ChooseFileDialog = function ChooseFileDialog(_ref4) {
|
|
68
61
|
var open = _ref4.open,
|
|
69
62
|
onClose = _ref4.onClose,
|
|
70
63
|
onChooseFile = _ref4.onChooseFile,
|
|
71
64
|
allowedMimetypes = _ref4.allowedMimetypes;
|
|
72
|
-
var damConfig =
|
|
65
|
+
var damConfig = useDamConfig();
|
|
73
66
|
var stateKey = "choose-file-dam-location";
|
|
74
|
-
var scope =
|
|
67
|
+
var scope = useDamScope();
|
|
75
68
|
if (Object.keys(scope).length > 0) {
|
|
76
69
|
stateKey = "".concat(Object.values(scope).join("-"), "-").concat(stateKey);
|
|
77
70
|
}
|
|
78
|
-
return /*#__PURE__*/(
|
|
71
|
+
return /*#__PURE__*/_jsx(Dialog, {
|
|
79
72
|
open: open,
|
|
80
73
|
onClose: onClose,
|
|
81
74
|
fullWidth: true,
|
|
82
75
|
maxWidth: "xl",
|
|
83
|
-
title: /*#__PURE__*/(
|
|
76
|
+
title: /*#__PURE__*/_jsx(FormattedMessage, {
|
|
84
77
|
id: "comet.form.file.selectFile",
|
|
85
78
|
defaultMessage: "Select file from DAM"
|
|
86
79
|
}),
|
|
@@ -93,13 +86,13 @@ var ChooseFileDialog = exports.ChooseFileDialog = function ChooseFileDialog(_ref
|
|
|
93
86
|
}
|
|
94
87
|
}
|
|
95
88
|
},
|
|
96
|
-
children: /*#__PURE__*/(
|
|
97
|
-
children: /*#__PURE__*/(
|
|
98
|
-
children: /*#__PURE__*/(
|
|
89
|
+
children: /*#__PURE__*/_jsx(DamScopeProvider, {
|
|
90
|
+
children: /*#__PURE__*/_jsx(MemoryRouter, {
|
|
91
|
+
children: /*#__PURE__*/_jsxs(SubRoute, {
|
|
99
92
|
path: "",
|
|
100
|
-
children: [/*#__PURE__*/(
|
|
93
|
+
children: [/*#__PURE__*/_jsx(RedirectToPersistedDamLocation, {
|
|
101
94
|
stateKey: stateKey
|
|
102
|
-
}), /*#__PURE__*/(
|
|
95
|
+
}), /*#__PURE__*/_jsx(DamTable, {
|
|
103
96
|
renderDamLabel: function renderDamLabel(row, _ref5) {
|
|
104
97
|
var matches = _ref5.matches,
|
|
105
98
|
filterApi = _ref5.filterApi;
|
|
@@ -1,32 +1,26 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.RedirectToPersistedDamLocation = void 0;
|
|
7
|
-
var _admin = require("@comet/admin");
|
|
8
|
-
var _react = require("react");
|
|
9
|
-
var _reactRouter = require("react-router");
|
|
10
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
1
|
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
12
2
|
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."); }
|
|
13
3
|
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; } }
|
|
14
4
|
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; }
|
|
15
5
|
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; } }
|
|
16
6
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
17
|
-
|
|
7
|
+
import { useStoredState } from "@comet/admin";
|
|
8
|
+
import { useEffect, useRef } from "react";
|
|
9
|
+
import { Redirect, useLocation, useRouteMatch } from "react-router";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
export var RedirectToPersistedDamLocation = function RedirectToPersistedDamLocation(_ref) {
|
|
18
12
|
var stateKey = _ref.stateKey;
|
|
19
|
-
var location =
|
|
20
|
-
var match =
|
|
21
|
-
var isInitialRender =
|
|
22
|
-
var _useStoredState =
|
|
13
|
+
var location = useLocation();
|
|
14
|
+
var match = useRouteMatch();
|
|
15
|
+
var isInitialRender = useRef(true);
|
|
16
|
+
var _useStoredState = useStoredState(stateKey, location.pathname, window.sessionStorage),
|
|
23
17
|
_useStoredState2 = _slicedToArray(_useStoredState, 2),
|
|
24
18
|
persistedDamLocation = _useStoredState2[0],
|
|
25
19
|
setPersistedDamLocation = _useStoredState2[1];
|
|
26
|
-
|
|
20
|
+
useEffect(function () {
|
|
27
21
|
setPersistedDamLocation(location.pathname);
|
|
28
22
|
}, [location.pathname, setPersistedDamLocation]);
|
|
29
|
-
|
|
23
|
+
useEffect(function () {
|
|
30
24
|
isInitialRender.current = false;
|
|
31
25
|
}, []);
|
|
32
26
|
if (
|
|
@@ -34,7 +28,7 @@ var RedirectToPersistedDamLocation = exports.RedirectToPersistedDamLocation = fu
|
|
|
34
28
|
isInitialRender.current &&
|
|
35
29
|
// only redirect on exact match ("/" in image block and "/{domain}/{lang}/assets" in DAM)
|
|
36
30
|
match.isExact) {
|
|
37
|
-
return /*#__PURE__*/(
|
|
31
|
+
return /*#__PURE__*/_jsx(Redirect, {
|
|
38
32
|
to: persistedDamLocation
|
|
39
33
|
});
|
|
40
34
|
}
|
package/lib/form/file/upload.js
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.replaceByFilenameAndFolder = replaceByFilenameAndFolder;
|
|
7
|
-
exports.replaceById = replaceById;
|
|
8
|
-
exports.upload = upload;
|
|
9
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); }
|
|
10
2
|
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 }; })(); }
|
|
11
3
|
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); }
|
|
@@ -16,12 +8,12 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
8
|
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; }
|
|
17
9
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
10
|
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); }
|
|
19
|
-
function upload(uploadFileParams) {
|
|
11
|
+
export function upload(uploadFileParams) {
|
|
20
12
|
var controller = new AbortController();
|
|
21
13
|
var promise = uploadOrReplaceByFilenameAndFolder(uploadFileParams, controller.signal);
|
|
22
14
|
return promise;
|
|
23
15
|
}
|
|
24
|
-
function replaceByFilenameAndFolder(uploadFileParams) {
|
|
16
|
+
export function replaceByFilenameAndFolder(uploadFileParams) {
|
|
25
17
|
var controller = new AbortController();
|
|
26
18
|
var promise = uploadOrReplaceByFilenameAndFolder(_objectSpread(_objectSpread({}, uploadFileParams), {}, {
|
|
27
19
|
replace: true
|
|
@@ -83,7 +75,7 @@ function _uploadOrReplaceByFilenameAndFolder() {
|
|
|
83
75
|
}));
|
|
84
76
|
return _uploadOrReplaceByFilenameAndFolder.apply(this, arguments);
|
|
85
77
|
}
|
|
86
|
-
function replaceById(_ref2) {
|
|
78
|
+
export function replaceById(_ref2) {
|
|
87
79
|
var apiUrl = _ref2.apiUrl,
|
|
88
80
|
data = _ref2.data,
|
|
89
81
|
damBasePath = _ref2.damBasePath;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.queryUpdatedAt = queryUpdatedAt;
|
|
7
|
-
var _client = require("@apollo/client");
|
|
8
1
|
var _templateObject;
|
|
9
2
|
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 }; })(); }
|
|
10
3
|
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); }
|
|
11
4
|
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
12
5
|
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); }
|
|
13
6
|
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); }); }; }
|
|
14
|
-
|
|
7
|
+
import { gql } from "@apollo/client";
|
|
8
|
+
export function queryUpdatedAt(_x, _x2, _x3) {
|
|
15
9
|
return _queryUpdatedAt.apply(this, arguments);
|
|
16
10
|
}
|
|
17
11
|
function _queryUpdatedAt() {
|
|
@@ -27,7 +21,7 @@ function _queryUpdatedAt() {
|
|
|
27
21
|
}
|
|
28
22
|
return _context.a(2, undefined);
|
|
29
23
|
case 1:
|
|
30
|
-
query =
|
|
24
|
+
query = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query ($id: ID!) {\n ", "(id: $id) {\n updatedAt\n }\n }\n "])), rootQueryName);
|
|
31
25
|
_context.n = 2;
|
|
32
26
|
return client.query({
|
|
33
27
|
query: query,
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.serializeInitialValues = serializeInitialValues;
|
|
7
|
-
function serializeInitialValues() {
|
|
1
|
+
export function serializeInitialValues() {
|
|
8
2
|
var initialValues = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
9
3
|
return encodeURIComponent(JSON.stringify(initialValues));
|
|
10
4
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type FormApi } from "final-form";
|
|
2
|
-
import { type
|
|
2
|
+
import { type RefObject } from "react";
|
|
3
3
|
interface FormSaveConflictOptions<FormValues, InitialFormValues> {
|
|
4
4
|
checkConflict: () => Promise<boolean>;
|
|
5
|
-
formApiRef:
|
|
5
|
+
formApiRef: RefObject<FormApi<FormValues, InitialFormValues> | undefined>;
|
|
6
6
|
loadLatestVersion: () => Promise<void>;
|
|
7
7
|
}
|
|
8
8
|
export declare function useFormSaveConflict<FormValues, InitialFormValues>({ checkConflict, formApiRef, loadLatestVersion, }: FormSaveConflictOptions<FormValues, InitialFormValues>): import("../pages/useSaveConflict").SaveConflictHookReturn;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormSaveConflict.d.ts","sourceRoot":"","sources":["../../src/form/useFormSaveConflict.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"useFormSaveConflict.d.ts","sourceRoot":"","sources":["../../src/form/useFormSaveConflict.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,UAAU,uBAAuB,CAAC,UAAU,EAAE,iBAAiB;IAC3D,aAAa,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACtC,UAAU,EAAE,SAAS,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,GAAG,SAAS,CAAC,CAAC;IAC1E,iBAAiB,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1C;AAED,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,iBAAiB,EAAE,EAC/D,aAAa,EACb,UAAU,EACV,iBAAiB,GACpB,EAAE,uBAAuB,CAAC,UAAU,EAAE,iBAAiB,CAAC,6DAgBxD"}
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.useFormSaveConflict = useFormSaveConflict;
|
|
7
|
-
var _useSaveConflict = require("../pages/useSaveConflict");
|
|
8
1
|
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 }; })(); }
|
|
9
2
|
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); }
|
|
10
3
|
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); }
|
|
11
4
|
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); }); }; }
|
|
12
|
-
|
|
5
|
+
import { useSaveConflict } from "../pages/useSaveConflict";
|
|
6
|
+
export function useFormSaveConflict(_ref) {
|
|
13
7
|
var checkConflict = _ref.checkConflict,
|
|
14
8
|
formApiRef = _ref.formApiRef,
|
|
15
9
|
_loadLatestVersion = _ref.loadLatestVersion;
|
|
16
|
-
var ret =
|
|
10
|
+
var ret = useSaveConflict({
|
|
17
11
|
checkConflict: checkConflict,
|
|
18
12
|
hasChanges: function hasChanges() {
|
|
19
13
|
var _formApiRef$current$g, _formApiRef$current;
|
|
@@ -154,6 +154,7 @@ export type GQLDamFiledependentsArgs = {
|
|
|
154
154
|
forceRefresh?: Scalars['Boolean']['input'];
|
|
155
155
|
limit?: Scalars['Int']['input'];
|
|
156
156
|
offset?: Scalars['Int']['input'];
|
|
157
|
+
sort?: InputMaybe<Array<GQLDependencySort>>;
|
|
157
158
|
};
|
|
158
159
|
export type GQLDamFileImage = {
|
|
159
160
|
__typename?: 'DamFileImage';
|
|
@@ -253,14 +254,29 @@ export type GQLDependency = {
|
|
|
253
254
|
visible: Scalars['Boolean']['output'];
|
|
254
255
|
};
|
|
255
256
|
export type GQLDependencyFilter = {
|
|
257
|
+
and?: InputMaybe<Array<GQLDependencyFilter>>;
|
|
258
|
+
name?: InputMaybe<GQLStringFilter>;
|
|
259
|
+
or?: InputMaybe<Array<GQLDependencyFilter>>;
|
|
256
260
|
rootColumnName?: InputMaybe<Scalars['String']['input']>;
|
|
257
|
-
|
|
261
|
+
secondaryInformation?: InputMaybe<GQLStringFilter>;
|
|
262
|
+
targetGraphqlObjectType?: InputMaybe<GQLStringFilter>;
|
|
258
263
|
targetId?: InputMaybe<Scalars['String']['input']>;
|
|
264
|
+
visible?: InputMaybe<GQLBooleanFilter>;
|
|
265
|
+
};
|
|
266
|
+
export type GQLDependencySort = {
|
|
267
|
+
direction?: GQLSortDirection;
|
|
268
|
+
field: GQLDependencySortField;
|
|
259
269
|
};
|
|
270
|
+
export type GQLDependencySortField = 'graphqlObjectType' | 'name' | 'secondaryInformation' | 'visible';
|
|
260
271
|
export type GQLDependentFilter = {
|
|
272
|
+
and?: InputMaybe<Array<GQLDependentFilter>>;
|
|
273
|
+
name?: InputMaybe<GQLStringFilter>;
|
|
274
|
+
or?: InputMaybe<Array<GQLDependentFilter>>;
|
|
261
275
|
rootColumnName?: InputMaybe<Scalars['String']['input']>;
|
|
262
|
-
rootGraphqlObjectType?: InputMaybe<
|
|
276
|
+
rootGraphqlObjectType?: InputMaybe<GQLStringFilter>;
|
|
263
277
|
rootId?: InputMaybe<Scalars['String']['input']>;
|
|
278
|
+
secondaryInformation?: InputMaybe<GQLStringFilter>;
|
|
279
|
+
visible?: InputMaybe<GQLBooleanFilter>;
|
|
264
280
|
};
|
|
265
281
|
export type GQLDocumentInterface = {
|
|
266
282
|
id: Scalars['ID']['output'];
|
|
@@ -583,6 +599,7 @@ export type GQLPageTreeNodedependentsArgs = {
|
|
|
583
599
|
forceRefresh?: Scalars['Boolean']['input'];
|
|
584
600
|
limit?: Scalars['Int']['input'];
|
|
585
601
|
offset?: Scalars['Int']['input'];
|
|
602
|
+
sort?: InputMaybe<Array<GQLDependencySort>>;
|
|
586
603
|
};
|
|
587
604
|
export type GQLPageTreeNodeCreateInput = {
|
|
588
605
|
attachedDocument: GQLAttachedDocumentInput;
|
|
@@ -919,6 +936,7 @@ export type GQLRedirectdependenciesArgs = {
|
|
|
919
936
|
forceRefresh?: Scalars['Boolean']['input'];
|
|
920
937
|
limit?: Scalars['Int']['input'];
|
|
921
938
|
offset?: Scalars['Int']['input'];
|
|
939
|
+
sort?: InputMaybe<Array<GQLDependencySort>>;
|
|
922
940
|
};
|
|
923
941
|
export type GQLRedirectFilter = {
|
|
924
942
|
activatedAt?: InputMaybe<GQLDateTimeFilter>;
|
|
@@ -928,6 +946,7 @@ export type GQLRedirectFilter = {
|
|
|
928
946
|
generationType?: InputMaybe<GQLStringFilter>;
|
|
929
947
|
or?: InputMaybe<Array<GQLRedirectFilter>>;
|
|
930
948
|
source?: InputMaybe<GQLStringFilter>;
|
|
949
|
+
sourceType?: InputMaybe<GQLRedirectSourceTypeEnumFilter>;
|
|
931
950
|
target?: InputMaybe<GQLStringFilter>;
|
|
932
951
|
updatedAt?: InputMaybe<GQLDateTimeFilter>;
|
|
933
952
|
};
|
|
@@ -948,7 +967,12 @@ export type GQLRedirectSort = {
|
|
|
948
967
|
field: GQLRedirectSortField;
|
|
949
968
|
};
|
|
950
969
|
export type GQLRedirectSortField = 'createdAt' | 'source' | 'updatedAt';
|
|
951
|
-
export type
|
|
970
|
+
export type GQLRedirectSourceTypeEnumFilter = {
|
|
971
|
+
equal?: InputMaybe<GQLRedirectSourceTypeValues>;
|
|
972
|
+
isAnyOf?: InputMaybe<Array<GQLRedirectSourceTypeValues>>;
|
|
973
|
+
notEqual?: InputMaybe<GQLRedirectSourceTypeValues>;
|
|
974
|
+
};
|
|
975
|
+
export type GQLRedirectSourceTypeValues = 'domain' | 'path';
|
|
952
976
|
export type GQLRedirectUpdateActivenessInput = {
|
|
953
977
|
active: Scalars['Boolean']['input'];
|
|
954
978
|
};
|