@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.
Files changed (606) hide show
  1. package/lib/blocks/AnchorBlock.js +18 -23
  2. package/lib/blocks/DamVideoBlock.generated.js +1 -7
  3. package/lib/blocks/DamVideoBlock.js +38 -44
  4. package/lib/blocks/EmailLinkBlock.js +19 -25
  5. package/lib/blocks/ExternalLinkBlock.js +22 -28
  6. package/lib/blocks/InternalLinkBlock.generated.js +1 -7
  7. package/lib/blocks/InternalLinkBlock.js +31 -38
  8. package/lib/blocks/PhoneLinkBlock.js +19 -25
  9. package/lib/blocks/PixelImageBlock.generated.js +1 -7
  10. package/lib/blocks/PixelImageBlock.js +37 -43
  11. package/lib/blocks/SpaceBlock.js +16 -22
  12. package/lib/blocks/SvgImageBlock.generated.js +1 -7
  13. package/lib/blocks/SvgImageBlock.js +25 -31
  14. package/lib/blocks/VimeoVideoBlock.js +34 -40
  15. package/lib/blocks/YouTubeVideoBlock.js +34 -40
  16. package/lib/blocks/clipboard/CannotPasteBlockDialog.js +18 -19
  17. package/lib/blocks/clipboard/useBlockClipboard.js +14 -19
  18. package/lib/blocks/common/AddBlockDrawer.js +41 -47
  19. package/lib/blocks/common/AdminComponentStickyFooter.d.ts +1 -1
  20. package/lib/blocks/common/AdminComponentStickyFooter.d.ts.map +1 -1
  21. package/lib/blocks/common/AdminComponentStickyFooter.js +2 -8
  22. package/lib/blocks/common/AdminComponentStickyHeader.d.ts +1 -1
  23. package/lib/blocks/common/AdminComponentStickyHeader.d.ts.map +1 -1
  24. package/lib/blocks/common/AdminComponentStickyHeader.js +2 -8
  25. package/lib/blocks/common/AdminTabsTabContent.js +9 -15
  26. package/lib/blocks/common/BlockAdminComponentButton.js +8 -13
  27. package/lib/blocks/common/BlockAdminComponentNestedButton.js +17 -23
  28. package/lib/blocks/common/BlockAdminComponentPaper.js +12 -19
  29. package/lib/blocks/common/BlockAdminComponentRoot.js +11 -16
  30. package/lib/blocks/common/BlockAdminComponentSection.js +12 -18
  31. package/lib/blocks/common/BlockAdminComponentSectionGroup.js +9 -15
  32. package/lib/blocks/common/BlockAdminTabLabel.js +9 -15
  33. package/lib/blocks/common/BlockAdminTabs.d.ts +1 -0
  34. package/lib/blocks/common/BlockAdminTabs.d.ts.map +1 -1
  35. package/lib/blocks/common/BlockAdminTabs.js +24 -30
  36. package/lib/blocks/common/Collapsible.js +7 -13
  37. package/lib/blocks/common/CollapsibleSwitchButtonHeader.js +8 -14
  38. package/lib/blocks/common/HiddenInSubroute.js +5 -11
  39. package/lib/blocks/common/blockRow/BlockPreviewContent.d.ts +1 -1
  40. package/lib/blocks/common/blockRow/BlockPreviewContent.d.ts.map +1 -1
  41. package/lib/blocks/common/blockRow/BlockPreviewContent.js +18 -26
  42. package/lib/blocks/common/blockRow/BlockPreviewContent.sc.d.ts +5 -5
  43. package/lib/blocks/common/blockRow/BlockPreviewContent.sc.d.ts.map +1 -1
  44. package/lib/blocks/common/blockRow/BlockPreviewContent.sc.js +6 -12
  45. package/lib/blocks/common/blockRow/BlockRow.d.ts +1 -1
  46. package/lib/blocks/common/blockRow/BlockRow.d.ts.map +1 -1
  47. package/lib/blocks/common/blockRow/BlockRow.js +51 -58
  48. package/lib/blocks/common/blockRow/BlockRow.sc.js +16 -22
  49. package/lib/blocks/common/blockRow/image/StackedImages.d.ts +1 -0
  50. package/lib/blocks/common/blockRow/image/StackedImages.d.ts.map +1 -1
  51. package/lib/blocks/common/blockRow/image/StackedImages.js +18 -26
  52. package/lib/blocks/common/blockRow/image/StackedImages.sc.d.ts +8 -8
  53. package/lib/blocks/common/blockRow/image/StackedImages.sc.d.ts.map +1 -1
  54. package/lib/blocks/common/blockRow/image/StackedImages.sc.js +11 -17
  55. package/lib/blocks/common/usePromise.js +6 -10
  56. package/lib/blocks/common/useScrollRestoration.d.ts +2 -2
  57. package/lib/blocks/common/useScrollRestoration.d.ts.map +1 -1
  58. package/lib/blocks/common/useScrollRestoration.js +8 -14
  59. package/lib/blocks/config/BlocksConfigContext.js +7 -14
  60. package/lib/blocks/context/BlockContext.js +2 -8
  61. package/lib/blocks/context/BlockContextProvider.js +4 -10
  62. package/lib/blocks/context/useBlockContext.js +12 -18
  63. package/lib/blocks/createImageLinkBlock.js +10 -16
  64. package/lib/blocks/createLinkBlock.js +25 -30
  65. package/lib/blocks/createRichTextBlock.js +29 -38
  66. package/lib/blocks/createSeoBlock.js +114 -121
  67. package/lib/blocks/createTableBlock.js +30 -36
  68. package/lib/blocks/createTextImageBlock.js +43 -48
  69. package/lib/blocks/createTextLinkBlock.js +24 -30
  70. package/lib/blocks/factories/columnsBlock/ColumnsIcon.d.ts +1 -0
  71. package/lib/blocks/factories/columnsBlock/ColumnsIcon.d.ts.map +1 -1
  72. package/lib/blocks/factories/columnsBlock/ColumnsIcon.js +6 -12
  73. package/lib/blocks/factories/columnsBlock/ColumnsLayoutPreview.js +13 -21
  74. package/lib/blocks/factories/columnsBlock/FinalFormColumnsSelect.js +7 -13
  75. package/lib/blocks/factories/columnsBlock/FinalFormLayoutSelect.js +21 -27
  76. package/lib/blocks/factories/createBlocksBlock.js +113 -117
  77. package/lib/blocks/factories/createColumnsBlock.js +85 -91
  78. package/lib/blocks/factories/createCompositeBlock.js +54 -60
  79. package/lib/blocks/factories/createListBlock.js +80 -84
  80. package/lib/blocks/factories/createOneOfBlock.js +54 -61
  81. package/lib/blocks/factories/createOptionalBlock.js +24 -29
  82. package/lib/blocks/factories/listBlock/createUseAdminComponent.js +24 -30
  83. package/lib/blocks/factories/spaceBlock/createSpaceBlock.js +16 -22
  84. package/lib/blocks/form/AutosaveFinalForm.d.ts +1 -0
  85. package/lib/blocks/form/AutosaveFinalForm.d.ts.map +1 -1
  86. package/lib/blocks/form/AutosaveFinalForm.js +7 -13
  87. package/lib/blocks/form/BlocksFinalForm.d.ts +1 -0
  88. package/lib/blocks/form/BlocksFinalForm.d.ts.map +1 -1
  89. package/lib/blocks/form/BlocksFinalForm.js +12 -18
  90. package/lib/blocks/form/createFinalFormBlock.js +7 -12
  91. package/lib/blocks/helpers/VideoOptionsFields.js +15 -21
  92. package/lib/blocks/helpers/composeBlocks/composeBlocks.js +40 -40
  93. package/lib/blocks/helpers/composeBlocks/createCompositeBlockField.js +3 -9
  94. package/lib/blocks/helpers/composeBlocks/createCompositeBlockFields.js +3 -9
  95. package/lib/blocks/helpers/composeBlocks/createSettingsBlock.js +3 -9
  96. package/lib/blocks/helpers/composeBlocks/types.js +1 -5
  97. package/lib/blocks/helpers/composeBlocks/utility-types.js +1 -5
  98. package/lib/blocks/helpers/composeBlocks/utils.js +5 -14
  99. package/lib/blocks/helpers/createBlockSkeleton.js +14 -16
  100. package/lib/blocks/helpers/createCompositeBlockSelectField.js +8 -14
  101. package/lib/blocks/helpers/createCompositeBlockSwitchField.js +8 -14
  102. package/lib/blocks/helpers/createCompositeBlockTextField.js +8 -14
  103. package/lib/blocks/helpers/decomposeUpdateStateAction.js +3 -9
  104. package/lib/blocks/helpers/deduplicateBlockDependencies.js +3 -10
  105. package/lib/blocks/helpers/isBlockInterface.js +1 -7
  106. package/lib/blocks/helpers/withAdditionalBlockAttributes.js +1 -7
  107. package/lib/blocks/iframebridge/HoverPreviewComponent.js +15 -24
  108. package/lib/blocks/iframebridge/HoverPreviewComponent.sc.d.ts +1 -3
  109. package/lib/blocks/iframebridge/HoverPreviewComponent.sc.d.ts.map +1 -1
  110. package/lib/blocks/iframebridge/HoverPreviewComponent.sc.js +6 -12
  111. package/lib/blocks/iframebridge/IFrameBridge.js +26 -32
  112. package/lib/blocks/iframebridge/IFrameMessage.js +16 -8
  113. package/lib/blocks/iframebridge/SelectPreviewComponent.js +9 -15
  114. package/lib/blocks/iframebridge/useIFrameBridge.js +4 -10
  115. package/lib/blocks/image/EditImageDialog.js +66 -69
  116. package/lib/blocks/rte/extension/CmsLink/Decorator.js +4 -10
  117. package/lib/blocks/rte/extension/CmsLink/EditorComponent.js +3 -9
  118. package/lib/blocks/rte/extension/CmsLink/createCmsLinkToolbarButton.js +46 -52
  119. package/lib/blocks/seo/useSeoTagGeneration.generated.js +1 -7
  120. package/lib/blocks/seo/useSeoTagGeneration.js +24 -30
  121. package/lib/blocks/seo/useSitemapChangeFrequencyFormOptions.js +3 -9
  122. package/lib/blocks/seo/useSitemapPagePriorityFormOptions.js +3 -9
  123. package/lib/blocks/table/CellValue.js +12 -18
  124. package/lib/blocks/table/ColumnHeader.js +74 -80
  125. package/lib/blocks/table/EditCell.js +23 -29
  126. package/lib/blocks/table/FailedToPasteSnackbar.js +8 -14
  127. package/lib/blocks/table/RowActionsCell.js +58 -64
  128. package/lib/blocks/table/TableBlockContext.js +7 -13
  129. package/lib/blocks/table/TableBlockGrid.js +31 -35
  130. package/lib/blocks/table/__mocks__/TableBlockData.mocks.js +23 -29
  131. package/lib/blocks/table/dataGridStyles.js +1 -7
  132. package/lib/blocks/table/utils/column.js +19 -25
  133. package/lib/blocks/table/utils/ensureMinimumTableState.js +4 -10
  134. package/lib/blocks/table/utils/getClipboardValueForSchema.js +3 -9
  135. package/lib/blocks/table/utils/row.js +15 -21
  136. package/lib/blocks/table/utils/rteSchema.js +3 -9
  137. package/lib/blocks/table/utils/useRecentlyPastedIds.js +6 -12
  138. package/lib/blocks/types.js +19 -22
  139. package/lib/blocks/utils/parallelAsyncEvery.js +1 -7
  140. package/lib/blocks/utils.js +1 -7
  141. package/lib/blocks/validators/isValidUrl.js +1 -7
  142. package/lib/blocks.generated.js +1 -5
  143. package/lib/builds/BuildEntry.generated.js +1 -7
  144. package/lib/builds/BuildEntry.js +44 -50
  145. package/lib/builds/PublishButton.js +13 -19
  146. package/lib/builds/PublisherPage.generated.js +1 -7
  147. package/lib/builds/PublisherPage.js +33 -39
  148. package/lib/builds/StartBuildsDialog.generated.js +1 -7
  149. package/lib/builds/StartBuildsDialog.js +29 -33
  150. package/lib/common/DropdownMenuItem.js +22 -29
  151. package/lib/common/DropdownMenuItem.sc.d.ts +3 -9
  152. package/lib/common/DropdownMenuItem.sc.d.ts.map +1 -1
  153. package/lib/common/DropdownMenuItem.sc.js +10 -16
  154. package/lib/common/InsertInBetweenAction.js +9 -15
  155. package/lib/common/InsertInBetweenActionButton.js +8 -14
  156. package/lib/common/MarkedMatches.js +16 -23
  157. package/lib/common/MasterMenu.js +20 -27
  158. package/lib/common/MasterMenuRoutes.js +11 -18
  159. package/lib/common/PageList.d.ts +1 -0
  160. package/lib/common/PageList.d.ts.map +1 -1
  161. package/lib/common/PageList.js +22 -28
  162. package/lib/common/PageName.d.ts +1 -0
  163. package/lib/common/PageName.d.ts.map +1 -1
  164. package/lib/common/PageName.generated.js +1 -7
  165. package/lib/common/PageName.js +15 -21
  166. package/lib/common/SearchInput.js +24 -30
  167. package/lib/common/apollo/links/includeInvisibleContentContext.js +3 -8
  168. package/lib/common/errors/errorMessages.js +9 -15
  169. package/lib/common/header/Header.js +13 -18
  170. package/lib/common/header/ImpersonationInlay.js +22 -28
  171. package/lib/common/header/UserHeaderItem.js +58 -64
  172. package/lib/common/header/about/AboutModal.js +41 -46
  173. package/lib/common/header/about/build-information/buildInformation.js +1 -5
  174. package/lib/common/header/about/build-information/useBuildInformation.js +3 -9
  175. package/lib/common/image/ChooseFocalPoint.js +19 -25
  176. package/lib/common/image/ImageCrop.js +15 -23
  177. package/lib/common/image/ImageCrop.sc.js +10 -16
  178. package/lib/common/impersonation/commonImpersonationMessages.js +6 -12
  179. package/lib/common/signOutButton/SignOutButton.gql.d.ts +1 -1
  180. package/lib/common/signOutButton/SignOutButton.gql.d.ts.map +1 -1
  181. package/lib/common/signOutButton/SignOutButton.gql.generated.js +1 -7
  182. package/lib/common/signOutButton/SignOutButton.gql.js +2 -8
  183. package/lib/common/signOutButton/SignOutButton.js +13 -18
  184. package/lib/common/useEditState.js +10 -17
  185. package/lib/common/useSaveState.d.ts +1 -1
  186. package/lib/common/useSaveState.d.ts.map +1 -1
  187. package/lib/common/useSaveState.js +11 -17
  188. package/lib/config/CometConfigContext.js +11 -18
  189. package/lib/contentLanguage/contentLanguageConfig.js +3 -9
  190. package/lib/contentLanguage/useContentLanguage.js +3 -9
  191. package/lib/contentScope/ContentScopeIndicator.js +21 -27
  192. package/lib/contentScope/ContentScopeSelect.js +40 -47
  193. package/lib/contentScope/Controls.d.ts +1 -1
  194. package/lib/contentScope/Controls.d.ts.map +1 -1
  195. package/lib/contentScope/Controls.js +6 -12
  196. package/lib/contentScope/Provider.d.ts +1 -1
  197. package/lib/contentScope/Provider.d.ts.map +1 -1
  198. package/lib/contentScope/Provider.js +29 -37
  199. package/lib/contentScope/noContentScopeFallback/NoContentScopeFallback.js +30 -36
  200. package/lib/contentScope/useContentScopeConfig.js +5 -11
  201. package/lib/contentScope/utils/createPathFromDimensionValues.js +1 -7
  202. package/lib/contentScope/utils/defaultCreatePath.js +5 -10
  203. package/lib/contentScope/utils/groupObjectsIntoArrays.js +1 -7
  204. package/lib/cronJobs/CronJobsGrid.generated.js +1 -7
  205. package/lib/cronJobs/CronJobsGrid.js +51 -55
  206. package/lib/cronJobs/CronJobsPage.js +27 -33
  207. package/lib/cronJobs/JobLogs.generated.js +1 -7
  208. package/lib/cronJobs/JobLogs.js +19 -25
  209. package/lib/cronJobs/JobRuntime.js +11 -17
  210. package/lib/cronJobs/JobStatus.d.ts +1 -1
  211. package/lib/cronJobs/JobStatus.js +2 -8
  212. package/lib/cronJobs/JobsGrid.generated.js +1 -7
  213. package/lib/cronJobs/JobsGrid.js +35 -41
  214. package/lib/dam/CurrentDamFolderProvider.js +7 -14
  215. package/lib/dam/DamPage.js +21 -26
  216. package/lib/dam/DamTable.js +36 -44
  217. package/lib/dam/DataGrid/DamContextMenu.d.ts.map +1 -1
  218. package/lib/dam/DataGrid/DamContextMenu.generated.js +1 -7
  219. package/lib/dam/DataGrid/DamContextMenu.gql.d.ts +3 -3
  220. package/lib/dam/DataGrid/DamContextMenu.gql.d.ts.map +1 -1
  221. package/lib/dam/DataGrid/DamContextMenu.gql.generated.js +1 -7
  222. package/lib/dam/DataGrid/DamContextMenu.gql.js +4 -10
  223. package/lib/dam/DataGrid/DamContextMenu.js +70 -77
  224. package/lib/dam/DataGrid/FolderDataGrid.gql.d.ts +5 -5
  225. package/lib/dam/DataGrid/FolderDataGrid.gql.d.ts.map +1 -1
  226. package/lib/dam/DataGrid/FolderDataGrid.gql.generated.js +1 -7
  227. package/lib/dam/DataGrid/FolderDataGrid.gql.js +9 -15
  228. package/lib/dam/DataGrid/FolderDataGrid.js +101 -125
  229. package/lib/dam/DataGrid/FolderDataGrid.sc.js +8 -14
  230. package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.d.ts +1 -1
  231. package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.d.ts.map +1 -1
  232. package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.generated.js +1 -7
  233. package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.gql.js +2 -8
  234. package/lib/dam/DataGrid/duplicatedFilenames/ManualDuplicatedFilenamesHandler.js +20 -26
  235. package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.d.ts +2 -2
  236. package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.d.ts.map +1 -1
  237. package/lib/dam/DataGrid/duplicatedFilenames/ManuallyHandleDuplicatedFilenamesDialog.js +49 -53
  238. package/lib/dam/DataGrid/fileUpload/FileUploadContext.js +10 -16
  239. package/lib/dam/DataGrid/fileUpload/FileUploadErrorDialog.js +35 -39
  240. package/lib/dam/DataGrid/fileUpload/ProgressDialog.js +21 -25
  241. package/lib/dam/DataGrid/fileUpload/UploadFilesButton.js +18 -24
  242. package/lib/dam/DataGrid/fileUpload/fileUpload.utils.js +2 -10
  243. package/lib/dam/DataGrid/fileUpload/fileUploadErrorMessages.js +26 -32
  244. package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.d.ts +2 -2
  245. package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.d.ts.map +1 -1
  246. package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.generated.js +1 -7
  247. package/lib/dam/DataGrid/fileUpload/useDamFileUpload.gql.js +3 -9
  248. package/lib/dam/DataGrid/fileUpload/useDamFileUpload.js +58 -64
  249. package/lib/dam/DataGrid/filter/DamSortPopover.js +28 -36
  250. package/lib/dam/DataGrid/filter/DamSortPopover.sc.d.ts +2 -4
  251. package/lib/dam/DataGrid/filter/DamSortPopover.sc.d.ts.map +1 -1
  252. package/lib/dam/DataGrid/filter/DamSortPopover.sc.js +8 -14
  253. package/lib/dam/DataGrid/filter/DamTableFilter.d.ts.map +1 -1
  254. package/lib/dam/DataGrid/filter/DamTableFilter.js +15 -22
  255. package/lib/dam/DataGrid/footer/DamFooter.js +6 -12
  256. package/lib/dam/DataGrid/footer/UploadFooter.js +13 -19
  257. package/lib/dam/DataGrid/label/DamItemLabel.js +19 -25
  258. package/lib/dam/DataGrid/label/DamItemLabelColumn.js +25 -32
  259. package/lib/dam/DataGrid/selection/DamMoreActions.js +38 -44
  260. package/lib/dam/DataGrid/selection/DamSelectionContext.generated.js +1 -7
  261. package/lib/dam/DataGrid/selection/DamSelectionContext.js +42 -48
  262. package/lib/dam/DataGrid/tags/ArchivedTag.js +8 -14
  263. package/lib/dam/DataGrid/tags/LicenseValidityTags.js +16 -22
  264. package/lib/dam/DataGrid/tags/Tag.d.ts +1 -1
  265. package/lib/dam/DataGrid/tags/Tag.js +2 -8
  266. package/lib/dam/DataGrid/thumbnail/AudioThumbnail.js +8 -14
  267. package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.d.ts +1 -1
  268. package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.d.ts.map +1 -1
  269. package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.generated.js +1 -7
  270. package/lib/dam/DataGrid/thumbnail/DamThumbnail.gql.js +2 -8
  271. package/lib/dam/DataGrid/thumbnail/DamThumbnail.js +28 -41
  272. package/lib/dam/DataGrid/thumbnail/VideoThumbnail.js +8 -14
  273. package/lib/dam/DataGrid/useDamSearchHighlighting.js +5 -12
  274. package/lib/dam/FileActions/ConfirmDeleteDialog.js +28 -33
  275. package/lib/dam/FileActions/ConfirmDeleteDialog.sc.js +9 -15
  276. package/lib/dam/FileForm/CropSettingsFields.d.ts +1 -0
  277. package/lib/dam/FileForm/CropSettingsFields.d.ts.map +1 -1
  278. package/lib/dam/FileForm/CropSettingsFields.js +34 -40
  279. package/lib/dam/FileForm/Duplicates.generated.js +1 -7
  280. package/lib/dam/FileForm/Duplicates.js +37 -43
  281. package/lib/dam/FileForm/EditFile.gql.d.ts +3 -3
  282. package/lib/dam/FileForm/EditFile.gql.d.ts.map +1 -1
  283. package/lib/dam/FileForm/EditFile.gql.generated.d.ts +3 -0
  284. package/lib/dam/FileForm/EditFile.gql.generated.d.ts.map +1 -1
  285. package/lib/dam/FileForm/EditFile.gql.generated.js +1 -7
  286. package/lib/dam/FileForm/EditFile.gql.js +5 -11
  287. package/lib/dam/FileForm/EditFile.js +79 -86
  288. package/lib/dam/FileForm/FilePreview.d.ts.map +1 -1
  289. package/lib/dam/FileForm/FilePreview.gql.d.ts +3 -3
  290. package/lib/dam/FileForm/FilePreview.gql.d.ts.map +1 -1
  291. package/lib/dam/FileForm/FilePreview.gql.generated.js +1 -7
  292. package/lib/dam/FileForm/FilePreview.gql.js +4 -10
  293. package/lib/dam/FileForm/FilePreview.js +56 -64
  294. package/lib/dam/FileForm/FileSettingsFields.generated.js +1 -7
  295. package/lib/dam/FileForm/FileSettingsFields.gql.d.ts +2 -2
  296. package/lib/dam/FileForm/FileSettingsFields.gql.d.ts.map +1 -1
  297. package/lib/dam/FileForm/FileSettingsFields.gql.generated.js +1 -7
  298. package/lib/dam/FileForm/FileSettingsFields.gql.js +3 -9
  299. package/lib/dam/FileForm/FileSettingsFields.js +78 -84
  300. package/lib/dam/FileForm/ImageInfos.js +24 -30
  301. package/lib/dam/FileForm/ReplaceFileButton.js +30 -36
  302. package/lib/dam/FileForm/licenseType.js +6 -12
  303. package/lib/dam/FileForm/previews/AudioPreview.js +15 -21
  304. package/lib/dam/FileForm/previews/DefaultFilePreview.js +11 -17
  305. package/lib/dam/FileForm/previews/ImagePreview.d.ts +1 -0
  306. package/lib/dam/FileForm/previews/ImagePreview.d.ts.map +1 -1
  307. package/lib/dam/FileForm/previews/ImagePreview.js +4 -10
  308. package/lib/dam/FileForm/previews/PdfPreview.js +7 -13
  309. package/lib/dam/FileForm/previews/VideoPreview.generated.js +1 -7
  310. package/lib/dam/FileForm/previews/VideoPreview.js +15 -21
  311. package/lib/dam/FolderForm/AddFolder.gql.d.ts +1 -1
  312. package/lib/dam/FolderForm/AddFolder.gql.d.ts.map +1 -1
  313. package/lib/dam/FolderForm/AddFolder.gql.generated.js +1 -7
  314. package/lib/dam/FolderForm/AddFolder.gql.js +2 -8
  315. package/lib/dam/FolderForm/AddFolder.js +13 -19
  316. package/lib/dam/FolderForm/EditFolder.gql.d.ts +2 -2
  317. package/lib/dam/FolderForm/EditFolder.gql.d.ts.map +1 -1
  318. package/lib/dam/FolderForm/EditFolder.gql.generated.js +1 -7
  319. package/lib/dam/FolderForm/EditFolder.gql.js +3 -9
  320. package/lib/dam/FolderForm/EditFolder.js +11 -17
  321. package/lib/dam/FolderForm/FolderFormFields.js +7 -13
  322. package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.d.ts +1 -1
  323. package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.d.ts.map +1 -1
  324. package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.generated.js +1 -7
  325. package/lib/dam/MoveDamItemDialog/ChooseFolder.gql.js +2 -8
  326. package/lib/dam/MoveDamItemDialog/ChooseFolder.js +30 -43
  327. package/lib/dam/MoveDamItemDialog/MoveDamItemDialog.js +44 -48
  328. package/lib/dam/MoveDamItemDialog/useFolderTree.js +11 -17
  329. package/lib/dam/MoveDamItemDialog/useFolderTreeSearch.js +14 -21
  330. package/lib/dam/blocks/DamFileDownloadLinkBlock.generated.js +1 -7
  331. package/lib/dam/blocks/DamFileDownloadLinkBlock.js +27 -33
  332. package/lib/dam/blocks/DamImageBlock.d.ts +1 -1
  333. package/lib/dam/blocks/DamImageBlock.d.ts.map +1 -1
  334. package/lib/dam/blocks/DamImageBlock.js +26 -31
  335. package/lib/dam/config/DamScopeContext.js +2 -8
  336. package/lib/dam/config/DamScopeProvider.js +8 -14
  337. package/lib/dam/config/damConfig.js +4 -11
  338. package/lib/dam/config/damDefaultAcceptedMimeTypes.js +1 -7
  339. package/lib/dam/config/useDamAcceptedMimeTypes.js +5 -11
  340. package/lib/dam/config/useDamScope.js +5 -10
  341. package/lib/dam/dependencies/createDamFileDependency.generated.js +1 -7
  342. package/lib/dam/dependencies/createDamFileDependency.js +8 -13
  343. package/lib/dam/helpers/clearDamItemCache.js +1 -7
  344. package/lib/dam/helpers/isFile.js +1 -7
  345. package/lib/dam/helpers/isFolder.js +1 -7
  346. package/lib/dam/helpers/slugifyFilename.js +3 -10
  347. package/lib/dam/mediaAlternatives/MediaAlternativeForm.generated.js +1 -7
  348. package/lib/dam/mediaAlternatives/MediaAlternativeForm.js +25 -31
  349. package/lib/dam/mediaAlternatives/MediaAlternativesGrid.d.ts +1 -1
  350. package/lib/dam/mediaAlternatives/MediaAlternativesGrid.d.ts.map +1 -1
  351. package/lib/dam/mediaAlternatives/MediaAlternativesGrid.generated.js +1 -7
  352. package/lib/dam/mediaAlternatives/MediaAlternativesGrid.js +44 -51
  353. package/lib/dashboard/DashboardHeader.js +12 -18
  354. package/lib/dashboard/DateTime.js +15 -21
  355. package/lib/dashboard/DefaultGreeting.js +6 -12
  356. package/lib/dashboard/widgets/DashboardWidgetRoot.js +8 -14
  357. package/lib/dashboard/widgets/LatestBuildsDashboardWidget.generated.js +1 -7
  358. package/lib/dashboard/widgets/LatestBuildsDashboardWidget.js +19 -25
  359. package/lib/dashboard/widgets/LatestContentUpdatesDashboardWidget.js +16 -22
  360. package/lib/dependencies/DependenciesList.d.ts +30 -0
  361. package/lib/dependencies/DependenciesList.d.ts.map +1 -0
  362. package/lib/dependencies/DependenciesList.js +282 -0
  363. package/lib/dependencies/DependentsList.d.ts +30 -0
  364. package/lib/dependencies/DependentsList.d.ts.map +1 -0
  365. package/lib/dependencies/{DependencyList.js → DependentsList.js} +190 -167
  366. package/lib/dependencies/createDependencyMethods.js +3 -9
  367. package/lib/dependencies/createDocumentDependencyMethods.js +3 -9
  368. package/lib/dependencies/dependenciesConfig.js +3 -9
  369. package/lib/dependencies/getDisplayNameString.d.ts +4 -0
  370. package/lib/dependencies/getDisplayNameString.d.ts.map +1 -0
  371. package/lib/dependencies/getDisplayNameString.js +12 -0
  372. package/lib/dependencies/types.js +1 -5
  373. package/lib/documents/ContentGenerationConfigContext.js +7 -13
  374. package/lib/documents/createDocumentRootBlocksMethods.js +1 -7
  375. package/lib/documents/types.js +1 -5
  376. package/lib/form/SyncFields.js +7 -13
  377. package/lib/form/file/DamPathLazy.generated.js +1 -7
  378. package/lib/form/file/DamPathLazy.js +7 -13
  379. package/lib/form/file/FileField.gql.d.ts +1 -1
  380. package/lib/form/file/FileField.gql.d.ts.map +1 -1
  381. package/lib/form/file/FileField.gql.generated.js +1 -7
  382. package/lib/form/file/FileField.gql.js +3 -9
  383. package/lib/form/file/FileField.js +53 -58
  384. package/lib/form/file/FileUploadField.js +6 -12
  385. package/lib/form/file/FinalFormFileUpload.d.ts +2 -2
  386. package/lib/form/file/FinalFormFileUpload.d.ts.map +1 -1
  387. package/lib/form/file/FinalFormFileUpload.generated.js +1 -7
  388. package/lib/form/file/FinalFormFileUpload.js +20 -26
  389. package/lib/form/file/chooseFile/ChooseFileDialog.js +28 -35
  390. package/lib/form/file/chooseFile/RedirectToPersistedDamLocation.js +12 -18
  391. package/lib/form/file/upload.js +3 -11
  392. package/lib/form/queryUpdatedAt.js +3 -9
  393. package/lib/form/serializeInitialValues.js +1 -7
  394. package/lib/form/useFormSaveConflict.d.ts +2 -2
  395. package/lib/form/useFormSaveConflict.d.ts.map +1 -1
  396. package/lib/form/useFormSaveConflict.js +3 -9
  397. package/lib/graphql.generated.d.ts +27 -3
  398. package/lib/graphql.generated.d.ts.map +1 -1
  399. package/lib/graphql.generated.js +1 -5
  400. package/lib/index.d.ts +3 -4
  401. package/lib/index.d.ts.map +1 -1
  402. package/lib/index.js +144 -1128
  403. package/lib/pages/LocalPageTreeNodeDocumentAnchors.js +7 -13
  404. package/lib/pages/SaveConflictDialog.js +54 -57
  405. package/lib/pages/config/usePageTreeScope.js +5 -11
  406. package/lib/pages/createEditPageNode.d.ts +1 -1
  407. package/lib/pages/createEditPageNode.d.ts.map +1 -1
  408. package/lib/pages/createEditPageNode.generated.js +1 -7
  409. package/lib/pages/createEditPageNode.js +83 -90
  410. package/lib/pages/createUsePage.d.ts +1 -1
  411. package/lib/pages/createUsePage.d.ts.map +1 -1
  412. package/lib/pages/createUsePage.generated.js +1 -7
  413. package/lib/pages/createUsePage.js +46 -45
  414. package/lib/pages/pageSearch/PageSearch.js +4 -10
  415. package/lib/pages/pageSearch/usePageSearch.d.ts +1 -1
  416. package/lib/pages/pageSearch/usePageSearch.d.ts.map +1 -1
  417. package/lib/pages/pageSearch/usePageSearch.generated.js +1 -7
  418. package/lib/pages/pageSearch/usePageSearch.js +16 -22
  419. package/lib/pages/pageTree/CopyPasteMenuItem.js +19 -25
  420. package/lib/pages/pageTree/MovePageMenuItem.generated.js +1 -7
  421. package/lib/pages/pageTree/MovePageMenuItem.js +17 -23
  422. package/lib/pages/pageTree/Page.d.ts +1 -1
  423. package/lib/pages/pageTree/Page.d.ts.map +1 -1
  424. package/lib/pages/pageTree/Page.generated.js +1 -7
  425. package/lib/pages/pageTree/Page.js +2 -8
  426. package/lib/pages/pageTree/PageActions.js +54 -60
  427. package/lib/pages/pageTree/PageDeleteDialog.js +56 -58
  428. package/lib/pages/pageTree/PageDeleteDialog.sc.d.ts +1 -3
  429. package/lib/pages/pageTree/PageDeleteDialog.sc.d.ts.map +1 -1
  430. package/lib/pages/pageTree/PageDeleteDialog.sc.js +8 -14
  431. package/lib/pages/pageTree/PageInfo.js +13 -19
  432. package/lib/pages/pageTree/PageLabel.js +25 -31
  433. package/lib/pages/pageTree/PageTree.generated.js +1 -7
  434. package/lib/pages/pageTree/PageTree.js +52 -58
  435. package/lib/pages/pageTree/PageTreeContext.js +2 -8
  436. package/lib/pages/pageTree/PageTreeDragLayer.js +13 -22
  437. package/lib/pages/pageTree/PageTreeDragLayer.sc.d.ts +2 -2
  438. package/lib/pages/pageTree/PageTreeDragLayer.sc.d.ts.map +1 -1
  439. package/lib/pages/pageTree/PageTreeDragLayer.sc.js +3 -9
  440. package/lib/pages/pageTree/PageTreeRow.js +54 -63
  441. package/lib/pages/pageTree/PageTreeRow.sc.js +9 -15
  442. package/lib/pages/pageTree/PageTreeRowDivider.js +12 -18
  443. package/lib/pages/pageTree/PageTreeService.js +2 -7
  444. package/lib/pages/pageTree/PageTypeIcon.d.ts +1 -0
  445. package/lib/pages/pageTree/PageTypeIcon.d.ts.map +1 -1
  446. package/lib/pages/pageTree/PageTypeIcon.js +8 -14
  447. package/lib/pages/pageTree/PageVisibility.d.ts +1 -1
  448. package/lib/pages/pageTree/PageVisibility.d.ts.map +1 -1
  449. package/lib/pages/pageTree/PageVisibility.generated.js +1 -7
  450. package/lib/pages/pageTree/PageVisibility.js +37 -43
  451. package/lib/pages/pageTree/PageVisibilityIcon.d.ts +1 -0
  452. package/lib/pages/pageTree/PageVisibilityIcon.d.ts.map +1 -1
  453. package/lib/pages/pageTree/PageVisibilityIcon.js +6 -12
  454. package/lib/pages/pageTree/common/PageTreeTableRow.d.ts +1 -1
  455. package/lib/pages/pageTree/common/PageTreeTableRow.d.ts.map +1 -1
  456. package/lib/pages/pageTree/common/PageTreeTableRow.js +18 -24
  457. package/lib/pages/pageTree/treemap/TreeMapUtils.js +9 -14
  458. package/lib/pages/pageTree/useButtonHoverStates.js +4 -10
  459. package/lib/pages/pageTree/useCopyPastePages/ProgressDialog.js +26 -30
  460. package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.generated.js +1 -7
  461. package/lib/pages/pageTree/useCopyPastePages/createInboxFolder.js +7 -13
  462. package/lib/pages/pageTree/useCopyPastePages/sendPages.generated.js +1 -7
  463. package/lib/pages/pageTree/useCopyPastePages/sendPages.js +33 -39
  464. package/lib/pages/pageTree/useCopyPastePages.js +38 -43
  465. package/lib/pages/pageTree/useDndWindowScroll/ScrollManager.js +3 -8
  466. package/lib/pages/pageTree/useDndWindowScroll/useAnimationFrame.js +6 -11
  467. package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.d.ts +1 -1
  468. package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.d.ts.map +1 -1
  469. package/lib/pages/pageTree/useDndWindowScroll/useDndWindowScroll.js +12 -19
  470. package/lib/pages/pageTree/usePageTree.d.ts +1 -1
  471. package/lib/pages/pageTree/usePageTree.d.ts.map +1 -1
  472. package/lib/pages/pageTree/usePageTree.generated.js +1 -7
  473. package/lib/pages/pageTree/usePageTree.js +17 -24
  474. package/lib/pages/pageTree/usePageTreeContext.js +4 -10
  475. package/lib/pages/pageTreeConfig.js +3 -9
  476. package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.d.ts +1 -0
  477. package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.d.ts.map +1 -1
  478. package/lib/pages/pageTreeSelect/FinalFormPageTreeSelect.js +4 -11
  479. package/lib/pages/pageTreeSelect/PageTreeSelect.generated.js +1 -7
  480. package/lib/pages/pageTreeSelect/PageTreeSelect.js +20 -27
  481. package/lib/pages/pageTreeSelect/PageTreeSelectDialog.d.ts +2 -1
  482. package/lib/pages/pageTreeSelect/PageTreeSelectDialog.d.ts.map +1 -1
  483. package/lib/pages/pageTreeSelect/PageTreeSelectDialog.generated.js +1 -7
  484. package/lib/pages/pageTreeSelect/PageTreeSelectDialog.js +88 -96
  485. package/lib/pages/pageTreeSelect/PageTreeSelectDialog.sc.js +6 -12
  486. package/lib/pages/pagesPage/ConfirmPageActionDialog.js +23 -27
  487. package/lib/pages/pagesPage/PageCanNotDeleteDialog.js +15 -19
  488. package/lib/pages/pagesPage/PagesPage.js +80 -86
  489. package/lib/pages/pagesPage/PagesPageActionToolbar.js +97 -103
  490. package/lib/pages/pagesPage/PagesPageActionToolbar.sc.d.ts +4 -8
  491. package/lib/pages/pagesPage/PagesPageActionToolbar.sc.d.ts.map +1 -1
  492. package/lib/pages/pagesPage/PagesPageActionToolbar.sc.js +6 -12
  493. package/lib/pages/pagesPage/PagesPageActionToolbarBatchUpdateHelper.js +5 -11
  494. package/lib/pages/pagesPage/areAllSubTreesFullSelected.js +4 -10
  495. package/lib/pages/pagesPage/createPagesQuery.generated.js +1 -7
  496. package/lib/pages/pagesPage/createPagesQuery.js +6 -12
  497. package/lib/pages/resolveHasSaveConflict.js +5 -11
  498. package/lib/pages/usePageTreeDocumentAnchors.generated.js +1 -7
  499. package/lib/pages/usePageTreeDocumentAnchors.js +10 -14
  500. package/lib/pages/useSaveConflict.js +20 -26
  501. package/lib/pages/useSaveConflictQuery.js +7 -13
  502. package/lib/preview/block/BlockPreview.generated.js +1 -7
  503. package/lib/preview/block/BlockPreview.js +33 -38
  504. package/lib/preview/block/BlockPreviewWithTabs.js +10 -15
  505. package/lib/preview/block/SplitPreview.js +22 -27
  506. package/lib/preview/block/SplitPreview.sc.js +12 -19
  507. package/lib/preview/block/useBlockPreview.js +7 -12
  508. package/lib/preview/common/Device.js +3 -8
  509. package/lib/preview/common/DeviceToggle.js +22 -27
  510. package/lib/preview/common/IFrameViewer.js +24 -30
  511. package/lib/preview/common/ToggleButton.d.ts +1 -3
  512. package/lib/preview/common/ToggleButton.d.ts.map +1 -1
  513. package/lib/preview/common/ToggleButton.js +5 -10
  514. package/lib/preview/common/VisibilityToggle.js +9 -14
  515. package/lib/preview/openSitePreviewWindow.js +2 -8
  516. package/lib/preview/site/OpenLinkDialog.js +31 -33
  517. package/lib/preview/site/SitePreview.generated.js +1 -7
  518. package/lib/preview/site/SitePreview.js +58 -61
  519. package/lib/preview/site/SitePreview.sc.d.ts +1 -3
  520. package/lib/preview/site/SitePreview.sc.d.ts.map +1 -1
  521. package/lib/preview/site/SitePreview.sc.js +8 -14
  522. package/lib/preview/site/iframebridge/SitePreviewIFrameMessage.js +3 -7
  523. package/lib/preview/site/iframebridge/useSitePreviewIFrameBridge.js +5 -11
  524. package/lib/redirects/RedirectActiveness.d.ts +2 -1
  525. package/lib/redirects/RedirectActiveness.d.ts.map +1 -1
  526. package/lib/redirects/RedirectActiveness.generated.js +1 -7
  527. package/lib/redirects/RedirectActiveness.js +26 -32
  528. package/lib/redirects/RedirectForm.d.ts +1 -0
  529. package/lib/redirects/RedirectForm.d.ts.map +1 -1
  530. package/lib/redirects/RedirectForm.generated.js +1 -7
  531. package/lib/redirects/RedirectForm.gql.d.ts +3 -3
  532. package/lib/redirects/RedirectForm.gql.d.ts.map +1 -1
  533. package/lib/redirects/RedirectForm.gql.generated.js +1 -7
  534. package/lib/redirects/RedirectForm.gql.js +5 -11
  535. package/lib/redirects/RedirectForm.js +64 -65
  536. package/lib/redirects/RedirectsGrid.d.ts +1 -0
  537. package/lib/redirects/RedirectsGrid.d.ts.map +1 -1
  538. package/lib/redirects/RedirectsGrid.gql.d.ts +2 -2
  539. package/lib/redirects/RedirectsGrid.gql.d.ts.map +1 -1
  540. package/lib/redirects/RedirectsGrid.gql.generated.js +1 -7
  541. package/lib/redirects/RedirectsGrid.gql.js +6 -11
  542. package/lib/redirects/RedirectsGrid.js +48 -55
  543. package/lib/redirects/createRedirectsPage.d.ts +1 -1
  544. package/lib/redirects/createRedirectsPage.d.ts.map +1 -1
  545. package/lib/redirects/createRedirectsPage.js +37 -43
  546. package/lib/redirects/redirectsConfig.js +5 -11
  547. package/lib/redirects/submitMutation.js +5 -11
  548. package/lib/siteConfigs/siteConfigsConfig.js +1 -5
  549. package/lib/siteConfigs/useSiteConfig.js +3 -9
  550. package/lib/siteConfigs/useSiteConfigs.js +3 -9
  551. package/lib/testing/test-utils.js +15 -32
  552. package/lib/translation/AzureAiTranslatorProvider.generated.js +1 -7
  553. package/lib/translation/AzureAiTranslatorProvider.js +11 -17
  554. package/lib/userPermissions/ImpersonateMenuItem.generated.js +1 -7
  555. package/lib/userPermissions/ImpersonateMenuItem.js +27 -33
  556. package/lib/userPermissions/UserGrid.generated.js +1 -7
  557. package/lib/userPermissions/UserGrid.js +45 -51
  558. package/lib/userPermissions/UserPermissionsPage.js +42 -48
  559. package/lib/userPermissions/hooks/currentUser.generated.js +1 -7
  560. package/lib/userPermissions/hooks/currentUser.js +21 -27
  561. package/lib/userPermissions/user/ImpersonationButtons.js +18 -24
  562. package/lib/userPermissions/user/UserPageToolbar.generated.js +1 -7
  563. package/lib/userPermissions/user/UserPageToolbar.js +29 -35
  564. package/lib/userPermissions/user/basicData/UserBasicData.generated.js +1 -7
  565. package/lib/userPermissions/user/basicData/UserBasicData.js +23 -29
  566. package/lib/userPermissions/user/permissions/ContentScopeGrid.generated.js +1 -7
  567. package/lib/userPermissions/user/permissions/ContentScopeGrid.js +38 -44
  568. package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.generated.js +1 -7
  569. package/lib/userPermissions/user/permissions/OverrideContentScopesDialog.js +34 -38
  570. package/lib/userPermissions/user/permissions/PermissionDialog.d.ts.map +1 -1
  571. package/lib/userPermissions/user/permissions/PermissionDialog.generated.js +1 -7
  572. package/lib/userPermissions/user/permissions/PermissionDialog.js +50 -54
  573. package/lib/userPermissions/user/permissions/PermissionGrid.generated.js +1 -7
  574. package/lib/userPermissions/user/permissions/PermissionGrid.js +48 -54
  575. package/lib/userPermissions/user/permissions/PermissionsPanel.js +9 -15
  576. package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.generated.js +1 -7
  577. package/lib/userPermissions/user/permissions/selectScopesDialogContent/SelectScopesDialogContent.js +19 -26
  578. package/lib/userPermissions/utils/camelCaseToHumanReadable.js +1 -7
  579. package/lib/userPermissions/utils/handleImpersonation.js +5 -12
  580. package/lib/validation/isLinkTarget.js +6 -12
  581. package/lib/validation/isPhoneNumber.js +1 -7
  582. package/lib/validation/validateLinkTarget.js +6 -12
  583. package/lib/validation/validatePhoneNumber.js +6 -12
  584. package/lib/validation/validateUrl.js +6 -12
  585. package/lib/vendors.d.js +1 -5
  586. package/lib/warnings/LatestWarningsDashboardWidget.generated.js +1 -7
  587. package/lib/warnings/LatestWarningsDashboardWidget.js +27 -33
  588. package/lib/warnings/WarningActions.js +25 -31
  589. package/lib/warnings/WarningMessage.d.ts +1 -1
  590. package/lib/warnings/WarningMessage.d.ts.map +1 -1
  591. package/lib/warnings/WarningMessage.js +1 -7
  592. package/lib/warnings/WarningSeverity.js +9 -15
  593. package/lib/warnings/WarningsGrid.generated.js +1 -7
  594. package/lib/warnings/WarningsGrid.js +45 -52
  595. package/lib/warnings/WarningsPage.js +11 -17
  596. package/lib/warnings/warningMessages.js +10 -16
  597. package/lib/warnings/warningsConfig.js +5 -11
  598. package/package.json +25 -26
  599. package/lib/dependencies/DependencyList.d.ts +0 -29
  600. package/lib/dependencies/DependencyList.d.ts.map +0 -1
  601. package/lib/dependencies/DependencyList.sc.d.ts +0 -11
  602. package/lib/dependencies/DependencyList.sc.d.ts.map +0 -1
  603. package/lib/dependencies/DependencyList.sc.js +0 -79
  604. package/lib/http/createHttpClient.d.ts +0 -3
  605. package/lib/http/createHttpClient.d.ts.map +0 -1
  606. package/lib/http/createHttpClient.js +0 -43
@@ -1,23 +1,16 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ChooseFileDialog = void 0;
7
- var _admin = require("@comet/admin");
8
- var _styles = require("@mui/material/styles");
9
- var _reactIntl = require("react-intl");
10
- var _reactRouter = require("react-router");
11
- var _damConfig = require("../../../dam/config/damConfig");
12
- var _DamScopeProvider = require("../../../dam/config/DamScopeProvider");
13
- var _useDamScope = require("../../../dam/config/useDamScope");
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9mb3JtL2ZpbGUvY2hvb3NlRmlsZS9DaG9vc2VGaWxlRG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AgICAgICAgICAgICAgICAgICAgaGlkZUNvbnRleHRNZW51PXt0cnVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpZGVNdWx0aXNlbGVjdD17dHJ1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaWRlQXJjaGl2ZUZpbHRlcj17dHJ1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhZGRpdGlvbmFsVG9vbGJhckl0ZW1zPXtkYW1Db25maWcuYWRkaXRpb25hbFRvb2xiYXJJdGVtc31cbiAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgIDwvU3ViUm91dGU+XG4gICAgICAgICAgICAgICAgPC9NZW1vcnlSb3V0ZXI+XG4gICAgICAgICAgICA8L0RhbVNjb3BlUHJvdmlkZXI+XG4gICAgICAgIDwvRGlhbG9nPlxuICAgICk7XG59O1xuIl19 */"));
29
- var StyledStackLink = /*#__PURE__*/(0, _styles.styled)(_admin.StackLink, process.env.NODE_ENV === "production" ? {
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 (0, _isFile.isFile)(row) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(TableRowButton, {
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__*/(0, _jsxRuntime.jsx)(_DamItemLabel["default"], {
43
+ children: /*#__PURE__*/_jsx(DamItemLabel, {
51
44
  asset: row,
52
45
  matches: matches,
53
46
  showLicenseWarnings: showLicenseWarnings
54
47
  })
55
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(StyledStackLink, {
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__*/(0, _jsxRuntime.jsx)(_DamItemLabel["default"], {
54
+ children: /*#__PURE__*/_jsx(DamItemLabel, {
62
55
  asset: row,
63
56
  matches: matches
64
57
  })
65
58
  });
66
59
  };
67
- var ChooseFileDialog = exports.ChooseFileDialog = function ChooseFileDialog(_ref4) {
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 = (0, _damConfig.useDamConfig)();
65
+ var damConfig = useDamConfig();
73
66
  var stateKey = "choose-file-dam-location";
74
- var scope = (0, _useDamScope.useDamScope)();
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__*/(0, _jsxRuntime.jsx)(_admin.Dialog, {
71
+ return /*#__PURE__*/_jsx(Dialog, {
79
72
  open: open,
80
73
  onClose: onClose,
81
74
  fullWidth: true,
82
75
  maxWidth: "xl",
83
- title: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactIntl.FormattedMessage, {
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__*/(0, _jsxRuntime.jsx)(_DamScopeProvider.DamScopeProvider, {
97
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactRouter.MemoryRouter, {
98
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_admin.SubRoute, {
89
+ children: /*#__PURE__*/_jsx(DamScopeProvider, {
90
+ children: /*#__PURE__*/_jsx(MemoryRouter, {
91
+ children: /*#__PURE__*/_jsxs(SubRoute, {
99
92
  path: "",
100
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_RedirectToPersistedDamLocation.RedirectToPersistedDamLocation, {
93
+ children: [/*#__PURE__*/_jsx(RedirectToPersistedDamLocation, {
101
94
  stateKey: stateKey
102
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_DamTable.DamTable, {
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
- var RedirectToPersistedDamLocation = exports.RedirectToPersistedDamLocation = function RedirectToPersistedDamLocation(_ref) {
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 = (0, _reactRouter.useLocation)();
20
- var match = (0, _reactRouter.useRouteMatch)();
21
- var isInitialRender = (0, _react.useRef)(true);
22
- var _useStoredState = (0, _admin.useStoredState)(stateKey, location.pathname, window.sessionStorage),
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
- (0, _react.useEffect)(function () {
20
+ useEffect(function () {
27
21
  setPersistedDamLocation(location.pathname);
28
22
  }, [location.pathname, setPersistedDamLocation]);
29
- (0, _react.useEffect)(function () {
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__*/(0, _jsxRuntime.jsx)(_reactRouter.Redirect, {
31
+ return /*#__PURE__*/_jsx(Redirect, {
38
32
  to: persistedDamLocation
39
33
  });
40
34
  }
@@ -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
- function queryUpdatedAt(_x, _x2, _x3) {
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 = (0, _client.gql)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n query ($id: ID!) {\n ", "(id: $id) {\n updatedAt\n }\n }\n "])), rootQueryName);
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
- "use strict";
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 MutableRefObject } from "react";
2
+ import { type RefObject } from "react";
3
3
  interface FormSaveConflictOptions<FormValues, InitialFormValues> {
4
4
  checkConflict: () => Promise<boolean>;
5
- formApiRef: MutableRefObject<FormApi<FormValues, InitialFormValues> | undefined>;
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,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAI9C,UAAU,uBAAuB,CAAC,UAAU,EAAE,iBAAiB;IAC3D,aAAa,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACtC,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,UAAU,EAAE,iBAAiB,CAAC,GAAG,SAAS,CAAC,CAAC;IACjF,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
+ {"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
- function useFormSaveConflict(_ref) {
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 = (0, _useSaveConflict.useSaveConflict)({
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
- targetGraphqlObjectType?: InputMaybe<Scalars['String']['input']>;
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<Scalars['String']['input']>;
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 GQLRedirectSourceTypeValues = 'path';
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
  };