@strapi/content-manager 0.0.0-experimental.e02b4637b3906c6d31048d00600d09a23a0edc3d → 0.0.0-experimental.e12978dcee698470990e9c5c63384faf2c307443

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 (487) hide show
  1. package/dist/admin/chunks/CardDragPreview-DwuraT0K.mjs +80 -0
  2. package/dist/admin/chunks/CardDragPreview-DwuraT0K.mjs.map +1 -0
  3. package/dist/admin/chunks/CardDragPreview-_dubYgXO.js +82 -0
  4. package/dist/admin/chunks/CardDragPreview-_dubYgXO.js.map +1 -0
  5. package/dist/admin/chunks/ComponentConfigurationPage-Ci3dN40b.js +298 -0
  6. package/dist/admin/chunks/ComponentConfigurationPage-Ci3dN40b.js.map +1 -0
  7. package/dist/admin/chunks/ComponentConfigurationPage-DFPdl9pm.mjs +276 -0
  8. package/dist/admin/chunks/ComponentConfigurationPage-DFPdl9pm.mjs.map +1 -0
  9. package/dist/admin/chunks/ComponentIcon-BZcTc4rj.mjs +153 -0
  10. package/dist/admin/chunks/ComponentIcon-BZcTc4rj.mjs.map +1 -0
  11. package/dist/admin/chunks/ComponentIcon-C-EjOUPA.js +176 -0
  12. package/dist/admin/chunks/ComponentIcon-C-EjOUPA.js.map +1 -0
  13. package/dist/admin/chunks/EditConfigurationPage-7xe8u-Pp.js +180 -0
  14. package/dist/admin/chunks/EditConfigurationPage-7xe8u-Pp.js.map +1 -0
  15. package/dist/admin/chunks/EditConfigurationPage-BFse-urJ.mjs +158 -0
  16. package/dist/admin/chunks/EditConfigurationPage-BFse-urJ.mjs.map +1 -0
  17. package/dist/admin/chunks/EditViewPage-BNpRr7fZ.mjs +315 -0
  18. package/dist/admin/chunks/EditViewPage-BNpRr7fZ.mjs.map +1 -0
  19. package/dist/admin/chunks/EditViewPage-CwYSs8Cq.js +338 -0
  20. package/dist/admin/chunks/EditViewPage-CwYSs8Cq.js.map +1 -0
  21. package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.mjs +56 -0
  22. package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.mjs.map +1 -0
  23. package/dist/admin/chunks/FieldTypeIcon-Bxh-7Jin.js +58 -0
  24. package/dist/admin/chunks/FieldTypeIcon-Bxh-7Jin.js.map +1 -0
  25. package/dist/admin/chunks/Form-D9Ee-exF.mjs +955 -0
  26. package/dist/admin/chunks/Form-D9Ee-exF.mjs.map +1 -0
  27. package/dist/admin/chunks/Form-DDbxreII.js +978 -0
  28. package/dist/admin/chunks/Form-DDbxreII.js.map +1 -0
  29. package/dist/admin/chunks/History-D5joC76n.js +1384 -0
  30. package/dist/admin/chunks/History-D5joC76n.js.map +1 -0
  31. package/dist/admin/chunks/History-FuD7Tp5I.mjs +1361 -0
  32. package/dist/admin/chunks/History-FuD7Tp5I.mjs.map +1 -0
  33. package/dist/admin/chunks/Input-BHucdqva.mjs +8251 -0
  34. package/dist/admin/chunks/Input-BHucdqva.mjs.map +1 -0
  35. package/dist/admin/chunks/Input-BJCenRYN.js +8285 -0
  36. package/dist/admin/chunks/Input-BJCenRYN.js.map +1 -0
  37. package/dist/admin/chunks/ListConfigurationPage-3kSfz9xV.mjs +795 -0
  38. package/dist/admin/chunks/ListConfigurationPage-3kSfz9xV.mjs.map +1 -0
  39. package/dist/admin/chunks/ListConfigurationPage-CgJEcEkD.js +818 -0
  40. package/dist/admin/chunks/ListConfigurationPage-CgJEcEkD.js.map +1 -0
  41. package/dist/admin/chunks/ListViewPage-CvQ1w8IW.js +1154 -0
  42. package/dist/admin/chunks/ListViewPage-CvQ1w8IW.js.map +1 -0
  43. package/dist/admin/chunks/ListViewPage-DPUYRHss.mjs +1132 -0
  44. package/dist/admin/chunks/ListViewPage-DPUYRHss.mjs.map +1 -0
  45. package/dist/admin/chunks/NoContentTypePage-BRLLtjLb.mjs +58 -0
  46. package/dist/admin/chunks/NoContentTypePage-BRLLtjLb.mjs.map +1 -0
  47. package/dist/admin/chunks/NoContentTypePage-C5Vut1Af.js +60 -0
  48. package/dist/admin/chunks/NoContentTypePage-C5Vut1Af.js.map +1 -0
  49. package/dist/admin/chunks/NoPermissionsPage-B5HJbcjm.mjs +37 -0
  50. package/dist/admin/chunks/NoPermissionsPage-B5HJbcjm.mjs.map +1 -0
  51. package/dist/admin/chunks/NoPermissionsPage-BBXnpc7M.js +39 -0
  52. package/dist/admin/chunks/NoPermissionsPage-BBXnpc7M.js.map +1 -0
  53. package/dist/admin/chunks/Preview-C3lnOgQx.mjs +679 -0
  54. package/dist/admin/chunks/Preview-C3lnOgQx.mjs.map +1 -0
  55. package/dist/admin/chunks/Preview-DB7ZGawL.js +701 -0
  56. package/dist/admin/chunks/Preview-DB7ZGawL.js.map +1 -0
  57. package/dist/admin/chunks/ar-DckYq_WK.mjs +222 -0
  58. package/dist/{_chunks/ar-CCEVvqGG.mjs.map → admin/chunks/ar-DckYq_WK.mjs.map} +1 -1
  59. package/dist/admin/chunks/ar-DeQBSsfl.js +227 -0
  60. package/dist/{_chunks/ru-BT3ybNny.js.map → admin/chunks/ar-DeQBSsfl.js.map} +1 -1
  61. package/dist/admin/chunks/ca-ClDTvatJ.js +202 -0
  62. package/dist/admin/chunks/ca-ClDTvatJ.js.map +1 -0
  63. package/dist/admin/chunks/ca-DviY7mRj.mjs +197 -0
  64. package/dist/admin/chunks/ca-DviY7mRj.mjs.map +1 -0
  65. package/dist/admin/chunks/cs-BJFxwIWj.js +126 -0
  66. package/dist/{_chunks/cs-CkJy6B2v.js.map → admin/chunks/cs-BJFxwIWj.js.map} +1 -1
  67. package/dist/admin/chunks/cs-C7OSYFQ7.mjs +122 -0
  68. package/dist/{_chunks/cs-CM2aBUar.mjs.map → admin/chunks/cs-C7OSYFQ7.mjs.map} +1 -1
  69. package/dist/admin/chunks/de-5QRlDHyR.mjs +195 -0
  70. package/dist/{_chunks/eu-CdALomew.mjs.map → admin/chunks/de-5QRlDHyR.mjs.map} +1 -1
  71. package/dist/admin/chunks/de-CbImAUA5.js +200 -0
  72. package/dist/{_chunks/gu-BRmF601H.js.map → admin/chunks/de-CbImAUA5.js.map} +1 -1
  73. package/dist/admin/chunks/en-CH__IC8g.js +316 -0
  74. package/dist/{_chunks/en-Bm0D0IWz.js.map → admin/chunks/en-CH__IC8g.js.map} +1 -1
  75. package/dist/admin/chunks/en-DBP0Gaid.mjs +311 -0
  76. package/dist/{_chunks/en-DKV44jRb.mjs.map → admin/chunks/en-DBP0Gaid.mjs.map} +1 -1
  77. package/dist/admin/chunks/es-C8vLuvZL.js +197 -0
  78. package/dist/{_chunks/es-EUonQTon.js.map → admin/chunks/es-C8vLuvZL.js.map} +1 -1
  79. package/dist/admin/chunks/es-DkoWSExG.mjs +192 -0
  80. package/dist/{_chunks/ja-CtsUxOvk.mjs.map → admin/chunks/es-DkoWSExG.mjs.map} +1 -1
  81. package/dist/admin/chunks/eu-BG1xX7HK.mjs +198 -0
  82. package/dist/admin/chunks/eu-BG1xX7HK.mjs.map +1 -0
  83. package/dist/admin/chunks/eu-BJW3AvXu.js +203 -0
  84. package/dist/admin/chunks/eu-BJW3AvXu.js.map +1 -0
  85. package/dist/admin/chunks/fr-CFdRaRVj.mjs +215 -0
  86. package/dist/admin/chunks/fr-CFdRaRVj.mjs.map +1 -0
  87. package/dist/admin/chunks/fr-gQSilC7w.js +220 -0
  88. package/dist/admin/chunks/fr-gQSilC7w.js.map +1 -0
  89. package/dist/admin/chunks/gu-D5MMMXRs.mjs +196 -0
  90. package/dist/admin/chunks/gu-D5MMMXRs.mjs.map +1 -0
  91. package/dist/admin/chunks/gu-DPU4wyx7.js +201 -0
  92. package/dist/{_chunks/eu-VDH-3ovk.js.map → admin/chunks/gu-DPU4wyx7.js.map} +1 -1
  93. package/dist/admin/chunks/hi-Dp4omeBb.js +201 -0
  94. package/dist/admin/chunks/hi-Dp4omeBb.js.map +1 -0
  95. package/dist/admin/chunks/hi-lp17SCjr.mjs +196 -0
  96. package/dist/admin/chunks/hi-lp17SCjr.mjs.map +1 -0
  97. package/dist/{_chunks/hooks-BAaaKPS_.js → admin/chunks/hooks-D-sOYd1s.js} +6 -3
  98. package/dist/admin/chunks/hooks-D-sOYd1s.js.map +1 -0
  99. package/dist/admin/chunks/hooks-DMvik5y_.mjs +7 -0
  100. package/dist/admin/chunks/hooks-DMvik5y_.mjs.map +1 -0
  101. package/dist/admin/chunks/hu-CLka1U2C.mjs +198 -0
  102. package/dist/admin/chunks/hu-CLka1U2C.mjs.map +1 -0
  103. package/dist/admin/chunks/hu-CtFJuhTd.js +203 -0
  104. package/dist/admin/chunks/hu-CtFJuhTd.js.map +1 -0
  105. package/dist/admin/chunks/id-D7V5S1rB.js +161 -0
  106. package/dist/{_chunks/it-DkBIs7vD.js.map → admin/chunks/id-D7V5S1rB.js.map} +1 -1
  107. package/dist/admin/chunks/id-USfY9m1g.mjs +156 -0
  108. package/dist/{_chunks/id-BtwA9WJT.mjs.map → admin/chunks/id-USfY9m1g.mjs.map} +1 -1
  109. package/dist/admin/chunks/index-DYrCidCq.mjs +5436 -0
  110. package/dist/admin/chunks/index-DYrCidCq.mjs.map +1 -0
  111. package/dist/admin/chunks/index-DoUQnFTk.js +5506 -0
  112. package/dist/admin/chunks/index-DoUQnFTk.js.map +1 -0
  113. package/dist/admin/chunks/it-BAHrwmYS.mjs +158 -0
  114. package/dist/{_chunks/it-BrVPqaf1.mjs.map → admin/chunks/it-BAHrwmYS.mjs.map} +1 -1
  115. package/dist/admin/chunks/it-CQFpa_Dc.js +163 -0
  116. package/dist/{_chunks/ko-woFZPmLk.js.map → admin/chunks/it-CQFpa_Dc.js.map} +1 -1
  117. package/dist/admin/chunks/ja-BWKmBJFT.mjs +192 -0
  118. package/dist/{_chunks/ko-HVQRlfUI.mjs.map → admin/chunks/ja-BWKmBJFT.mjs.map} +1 -1
  119. package/dist/admin/chunks/ja-jdQM-B79.js +197 -0
  120. package/dist/{_chunks/de-CCEmbAah.js.map → admin/chunks/ja-jdQM-B79.js.map} +1 -1
  121. package/dist/admin/chunks/ko-CgADGBNt.mjs +191 -0
  122. package/dist/{_chunks/es-CeXiYflN.mjs.map → admin/chunks/ko-CgADGBNt.mjs.map} +1 -1
  123. package/dist/admin/chunks/ko-k46sEyzt.js +196 -0
  124. package/dist/{_chunks/ja-CcFe8diO.js.map → admin/chunks/ko-k46sEyzt.js.map} +1 -1
  125. package/dist/admin/chunks/layout-CqndYVtU.js +692 -0
  126. package/dist/admin/chunks/layout-CqndYVtU.js.map +1 -0
  127. package/dist/admin/chunks/layout-D2NJmgCw.mjs +672 -0
  128. package/dist/admin/chunks/layout-D2NJmgCw.mjs.map +1 -0
  129. package/dist/admin/chunks/ml-CnhCfOn_.mjs +196 -0
  130. package/dist/admin/chunks/ml-CnhCfOn_.mjs.map +1 -0
  131. package/dist/admin/chunks/ml-DqxPwODx.js +201 -0
  132. package/dist/admin/chunks/ml-DqxPwODx.js.map +1 -0
  133. package/dist/admin/chunks/ms-Bh09NFff.mjs +140 -0
  134. package/dist/{_chunks/ms-m_WjyWx7.mjs.map → admin/chunks/ms-Bh09NFff.mjs.map} +1 -1
  135. package/dist/admin/chunks/ms-CvSC0OdG.js +145 -0
  136. package/dist/{_chunks/ms-BuFotyP_.js.map → admin/chunks/ms-CvSC0OdG.js.map} +1 -1
  137. package/dist/admin/chunks/nl-BEubhS8C.js +203 -0
  138. package/dist/admin/chunks/nl-BEubhS8C.js.map +1 -0
  139. package/dist/admin/chunks/nl-C8HYflTc.mjs +198 -0
  140. package/dist/admin/chunks/nl-C8HYflTc.mjs.map +1 -0
  141. package/dist/admin/chunks/objects-BJTP843m.js +343 -0
  142. package/dist/admin/chunks/objects-BJTP843m.js.map +1 -0
  143. package/dist/admin/chunks/objects-D2z-IJgu.mjs +317 -0
  144. package/dist/admin/chunks/objects-D2z-IJgu.mjs.map +1 -0
  145. package/dist/admin/chunks/pl-DWhGDzmM.js +200 -0
  146. package/dist/{_chunks/ca-Cmk45QO6.js.map → admin/chunks/pl-DWhGDzmM.js.map} +1 -1
  147. package/dist/admin/chunks/pl-MFCZJZuZ.mjs +195 -0
  148. package/dist/{_chunks/ca-5U32ON2v.mjs.map → admin/chunks/pl-MFCZJZuZ.mjs.map} +1 -1
  149. package/dist/admin/chunks/pt-BR-CPtAXD-4.js +202 -0
  150. package/dist/{_chunks/pt-BR-BiOz37D9.js.map → admin/chunks/pt-BR-CPtAXD-4.js.map} +1 -1
  151. package/dist/admin/chunks/pt-BR-CcotyBGJ.mjs +197 -0
  152. package/dist/{_chunks/pt-BR-C71iDxnh.mjs.map → admin/chunks/pt-BR-CcotyBGJ.mjs.map} +1 -1
  153. package/dist/admin/chunks/pt-BoPxN80n.js +96 -0
  154. package/dist/admin/chunks/pt-BoPxN80n.js.map +1 -0
  155. package/dist/admin/chunks/pt-HbmgeiYO.mjs +93 -0
  156. package/dist/admin/chunks/pt-HbmgeiYO.mjs.map +1 -0
  157. package/dist/admin/chunks/ru-C0op0ALG.js +232 -0
  158. package/dist/admin/chunks/ru-C0op0ALG.js.map +1 -0
  159. package/dist/admin/chunks/ru-CB4BUyQp.mjs +230 -0
  160. package/dist/{_chunks/ru-BE6A4Exp.mjs.map → admin/chunks/ru-CB4BUyQp.mjs.map} +1 -1
  161. package/dist/admin/chunks/sa-B_FuPyMw.js +201 -0
  162. package/dist/admin/chunks/sa-B_FuPyMw.js.map +1 -0
  163. package/dist/admin/chunks/sa-n_aPA-pU.mjs +196 -0
  164. package/dist/admin/chunks/sa-n_aPA-pU.mjs.map +1 -0
  165. package/dist/admin/chunks/sk-D_iXML2C.js +203 -0
  166. package/dist/admin/chunks/sk-D_iXML2C.js.map +1 -0
  167. package/dist/admin/chunks/sk-tn_BDjE2.mjs +198 -0
  168. package/dist/admin/chunks/sk-tn_BDjE2.mjs.map +1 -0
  169. package/dist/admin/chunks/sv-BstBC1Yp.js +203 -0
  170. package/dist/admin/chunks/sv-BstBC1Yp.js.map +1 -0
  171. package/dist/admin/chunks/sv-cq4ZrQRd.mjs +198 -0
  172. package/dist/admin/chunks/sv-cq4ZrQRd.mjs.map +1 -0
  173. package/dist/admin/chunks/th-lXoOCqPC.js +149 -0
  174. package/dist/{_chunks/th-D9_GfAjc.js.map → admin/chunks/th-lXoOCqPC.js.map} +1 -1
  175. package/dist/admin/chunks/th-mUH7hEtc.mjs +144 -0
  176. package/dist/{_chunks/uk-CR-zDhAY.mjs.map → admin/chunks/th-mUH7hEtc.mjs.map} +1 -1
  177. package/dist/admin/chunks/tr-CkS6sLIE.js +200 -0
  178. package/dist/admin/chunks/tr-CkS6sLIE.js.map +1 -0
  179. package/dist/admin/chunks/tr-Yt38daxh.mjs +195 -0
  180. package/dist/{_chunks/de-C72KDNOl.mjs.map → admin/chunks/tr-Yt38daxh.mjs.map} +1 -1
  181. package/dist/admin/chunks/uk-BtM6WnaE.mjs +313 -0
  182. package/dist/admin/chunks/uk-BtM6WnaE.mjs.map +1 -0
  183. package/dist/admin/chunks/uk-DB6OgySY.js +318 -0
  184. package/dist/admin/chunks/uk-DB6OgySY.js.map +1 -0
  185. package/dist/admin/chunks/usePrev-Cm_0-qRC.js +194 -0
  186. package/dist/admin/chunks/usePrev-Cm_0-qRC.js.map +1 -0
  187. package/dist/admin/chunks/usePrev-DinC2aha.mjs +187 -0
  188. package/dist/admin/chunks/usePrev-DinC2aha.mjs.map +1 -0
  189. package/dist/admin/chunks/vi-BGr1X_HZ.js +112 -0
  190. package/dist/{_chunks/vi-CJlYDheJ.js.map → admin/chunks/vi-BGr1X_HZ.js.map} +1 -1
  191. package/dist/admin/chunks/vi-CvBGlTjr.mjs +108 -0
  192. package/dist/{_chunks/vi-DUXIk_fw.mjs.map → admin/chunks/vi-CvBGlTjr.mjs.map} +1 -1
  193. package/dist/admin/chunks/zh-BmF-sHaT.mjs +205 -0
  194. package/dist/admin/chunks/zh-BmF-sHaT.mjs.map +1 -0
  195. package/dist/admin/chunks/zh-DwFu_Kfj.js +210 -0
  196. package/dist/admin/chunks/zh-DwFu_Kfj.js.map +1 -0
  197. package/dist/admin/chunks/zh-Hans-CI0HKio3.mjs +934 -0
  198. package/dist/{_chunks/zh-Hans-BPQcRIyH.mjs.map → admin/chunks/zh-Hans-CI0HKio3.mjs.map} +1 -1
  199. package/dist/admin/chunks/zh-Hans-JVK9x7xr.js +953 -0
  200. package/dist/{_chunks/zh-Hans-9kOncHGw.js.map → admin/chunks/zh-Hans-JVK9x7xr.js.map} +1 -1
  201. package/dist/admin/index.js +25 -4
  202. package/dist/admin/index.js.map +1 -1
  203. package/dist/admin/index.mjs +17 -12
  204. package/dist/admin/index.mjs.map +1 -1
  205. package/dist/admin/src/components/InjectionZone.d.ts +7 -1
  206. package/dist/admin/src/content-manager.d.ts +7 -2
  207. package/dist/admin/src/exports.d.ts +1 -0
  208. package/dist/admin/src/features/DocumentContext.d.ts +48 -0
  209. package/dist/admin/src/features/DocumentRBAC.d.ts +3 -2
  210. package/dist/admin/src/history/services/historyVersion.d.ts +2 -2
  211. package/dist/admin/src/hooks/useDocument.d.ts +23 -4
  212. package/dist/admin/src/hooks/useDocumentActions.d.ts +1 -0
  213. package/dist/admin/src/index.d.ts +1 -0
  214. package/dist/admin/src/pages/EditView/EditViewPage.d.ts +9 -1
  215. package/dist/admin/src/pages/EditView/components/DocumentActions.d.ts +3 -2
  216. package/dist/admin/src/pages/EditView/components/DocumentStatus.d.ts +3 -3
  217. package/dist/admin/src/pages/EditView/components/EditorToolbarObserver.d.ts +11 -0
  218. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Code.d.ts +55 -0
  219. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/constants.d.ts +1 -0
  220. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicComponent.d.ts +4 -1
  221. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/Field.d.ts +4 -1
  222. package/dist/admin/src/pages/EditView/components/FormInputs/Relations/RelationModal.d.ts +7 -0
  223. package/dist/admin/src/pages/EditView/components/FormInputs/{Relations.d.ts → Relations/Relations.d.ts} +8 -2
  224. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygNav.d.ts +1 -2
  225. package/dist/admin/src/pages/EditView/components/FormLayout.d.ts +32 -1
  226. package/dist/admin/src/pages/EditView/components/InputRenderer.d.ts +3 -3
  227. package/dist/admin/src/pages/EditView/utils/data.d.ts +1 -0
  228. package/dist/admin/src/preview/components/PreviewContent.d.ts +2 -0
  229. package/dist/admin/src/preview/components/PreviewHeader.d.ts +3 -0
  230. package/dist/admin/src/preview/components/PreviewSidePanel.d.ts +3 -0
  231. package/dist/admin/src/preview/index.d.ts +3 -0
  232. package/dist/admin/src/preview/pages/Preview.d.ts +15 -0
  233. package/dist/admin/src/preview/routes.d.ts +3 -0
  234. package/dist/admin/src/preview/services/preview.d.ts +3 -0
  235. package/dist/admin/src/router.d.ts +1 -1
  236. package/dist/admin/src/services/api.d.ts +1 -1
  237. package/dist/admin/src/services/components.d.ts +2 -2
  238. package/dist/admin/src/services/contentTypes.d.ts +3 -3
  239. package/dist/admin/src/services/documents.d.ts +16 -19
  240. package/dist/admin/src/services/init.d.ts +1 -1
  241. package/dist/admin/src/services/relations.d.ts +2 -2
  242. package/dist/admin/src/services/uid.d.ts +3 -3
  243. package/dist/server/index.js +5472 -4157
  244. package/dist/server/index.js.map +1 -1
  245. package/dist/server/index.mjs +5457 -4139
  246. package/dist/server/index.mjs.map +1 -1
  247. package/dist/server/src/bootstrap.d.ts.map +1 -1
  248. package/dist/server/src/controllers/index.d.ts.map +1 -1
  249. package/dist/server/src/controllers/relations.d.ts.map +1 -1
  250. package/dist/server/src/controllers/utils/metadata.d.ts +17 -2
  251. package/dist/server/src/controllers/utils/metadata.d.ts.map +1 -1
  252. package/dist/server/src/history/controllers/history-version.d.ts +1 -1
  253. package/dist/server/src/history/controllers/history-version.d.ts.map +1 -1
  254. package/dist/server/src/history/services/history.d.ts +3 -3
  255. package/dist/server/src/history/services/history.d.ts.map +1 -1
  256. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  257. package/dist/server/src/history/services/utils.d.ts +6 -11
  258. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  259. package/dist/server/src/index.d.ts +7 -6
  260. package/dist/server/src/index.d.ts.map +1 -1
  261. package/dist/server/src/preview/controllers/index.d.ts +2 -0
  262. package/dist/server/src/preview/controllers/index.d.ts.map +1 -0
  263. package/dist/server/src/preview/controllers/preview.d.ts +13 -0
  264. package/dist/server/src/preview/controllers/preview.d.ts.map +1 -0
  265. package/dist/server/src/preview/controllers/validation/preview.d.ts +6 -0
  266. package/dist/server/src/preview/controllers/validation/preview.d.ts.map +1 -0
  267. package/dist/server/src/preview/index.d.ts +4 -0
  268. package/dist/server/src/preview/index.d.ts.map +1 -0
  269. package/dist/server/src/preview/routes/index.d.ts +8 -0
  270. package/dist/server/src/preview/routes/index.d.ts.map +1 -0
  271. package/dist/server/src/preview/routes/preview.d.ts +4 -0
  272. package/dist/server/src/preview/routes/preview.d.ts.map +1 -0
  273. package/dist/server/src/preview/services/index.d.ts +16 -0
  274. package/dist/server/src/preview/services/index.d.ts.map +1 -0
  275. package/dist/server/src/preview/services/preview-config.d.ts +32 -0
  276. package/dist/server/src/preview/services/preview-config.d.ts.map +1 -0
  277. package/dist/server/src/preview/services/preview.d.ts +12 -0
  278. package/dist/server/src/preview/services/preview.d.ts.map +1 -0
  279. package/dist/server/src/preview/utils.d.ts +19 -0
  280. package/dist/server/src/preview/utils.d.ts.map +1 -0
  281. package/dist/server/src/register.d.ts.map +1 -1
  282. package/dist/server/src/routes/index.d.ts.map +1 -1
  283. package/dist/server/src/services/document-manager.d.ts.map +1 -1
  284. package/dist/server/src/services/document-metadata.d.ts +12 -10
  285. package/dist/server/src/services/document-metadata.d.ts.map +1 -1
  286. package/dist/server/src/services/index.d.ts +7 -6
  287. package/dist/server/src/services/index.d.ts.map +1 -1
  288. package/dist/server/src/services/utils/count.d.ts +1 -1
  289. package/dist/server/src/services/utils/count.d.ts.map +1 -1
  290. package/dist/server/src/services/utils/populate.d.ts +3 -3
  291. package/dist/server/src/services/utils/populate.d.ts.map +1 -1
  292. package/dist/server/src/utils/index.d.ts +2 -0
  293. package/dist/server/src/utils/index.d.ts.map +1 -1
  294. package/dist/shared/contracts/collection-types.d.ts +0 -1
  295. package/dist/shared/contracts/components.d.ts +0 -1
  296. package/dist/shared/contracts/content-types.d.ts +0 -1
  297. package/dist/shared/contracts/history-versions.d.ts +0 -1
  298. package/dist/shared/contracts/index.d.ts +1 -1
  299. package/dist/shared/contracts/index.d.ts.map +1 -1
  300. package/dist/shared/contracts/init.d.ts +0 -1
  301. package/dist/shared/contracts/preview.d.ts +26 -0
  302. package/dist/shared/contracts/preview.d.ts.map +1 -0
  303. package/dist/shared/contracts/relations.d.ts +1 -2
  304. package/dist/shared/contracts/relations.d.ts.map +1 -1
  305. package/dist/shared/contracts/review-workflows.d.ts +0 -1
  306. package/dist/shared/contracts/single-types.d.ts +0 -1
  307. package/dist/shared/contracts/uid.d.ts +0 -1
  308. package/dist/shared/index.d.ts +0 -1
  309. package/dist/shared/index.js +37 -22
  310. package/dist/shared/index.js.map +1 -1
  311. package/dist/shared/index.mjs +36 -23
  312. package/dist/shared/index.mjs.map +1 -1
  313. package/package.json +21 -17
  314. package/dist/_chunks/CardDragPreview-C0QyJgRA.js +0 -69
  315. package/dist/_chunks/CardDragPreview-C0QyJgRA.js.map +0 -1
  316. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs +0 -70
  317. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs.map +0 -1
  318. package/dist/_chunks/ComponentConfigurationPage-DfFSZQxe.mjs +0 -236
  319. package/dist/_chunks/ComponentConfigurationPage-DfFSZQxe.mjs.map +0 -1
  320. package/dist/_chunks/ComponentConfigurationPage-FqfsxQ1j.js +0 -255
  321. package/dist/_chunks/ComponentConfigurationPage-FqfsxQ1j.js.map +0 -1
  322. package/dist/_chunks/ComponentIcon-BXdiCGQp.js +0 -176
  323. package/dist/_chunks/ComponentIcon-BXdiCGQp.js.map +0 -1
  324. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs +0 -157
  325. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs.map +0 -1
  326. package/dist/_chunks/EditConfigurationPage-Cn0e8t3I.js +0 -151
  327. package/dist/_chunks/EditConfigurationPage-Cn0e8t3I.js.map +0 -1
  328. package/dist/_chunks/EditConfigurationPage-DdPNAbl3.mjs +0 -132
  329. package/dist/_chunks/EditConfigurationPage-DdPNAbl3.mjs.map +0 -1
  330. package/dist/_chunks/EditViewPage-B82x_x1b.mjs +0 -224
  331. package/dist/_chunks/EditViewPage-B82x_x1b.mjs.map +0 -1
  332. package/dist/_chunks/EditViewPage-DlxEHhUt.js +0 -243
  333. package/dist/_chunks/EditViewPage-DlxEHhUt.js.map +0 -1
  334. package/dist/_chunks/Field-COL25JiC.js +0 -5595
  335. package/dist/_chunks/Field-COL25JiC.js.map +0 -1
  336. package/dist/_chunks/Field-DufHXW17.mjs +0 -5563
  337. package/dist/_chunks/Field-DufHXW17.mjs.map +0 -1
  338. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs +0 -50
  339. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs.map +0 -1
  340. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js +0 -49
  341. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js.map +0 -1
  342. package/dist/_chunks/Form-BssUwrTO.js +0 -779
  343. package/dist/_chunks/Form-BssUwrTO.js.map +0 -1
  344. package/dist/_chunks/Form-u_kAOhwB.mjs +0 -758
  345. package/dist/_chunks/Form-u_kAOhwB.mjs.map +0 -1
  346. package/dist/_chunks/History-C9t9UqpO.js +0 -1066
  347. package/dist/_chunks/History-C9t9UqpO.js.map +0 -1
  348. package/dist/_chunks/History-DRwA3oMM.mjs +0 -1045
  349. package/dist/_chunks/History-DRwA3oMM.mjs.map +0 -1
  350. package/dist/_chunks/ListConfigurationPage-BXYPohh-.js +0 -652
  351. package/dist/_chunks/ListConfigurationPage-BXYPohh-.js.map +0 -1
  352. package/dist/_chunks/ListConfigurationPage-BxfQJzPk.mjs +0 -632
  353. package/dist/_chunks/ListConfigurationPage-BxfQJzPk.mjs.map +0 -1
  354. package/dist/_chunks/ListViewPage-CELx2ysp.mjs +0 -828
  355. package/dist/_chunks/ListViewPage-CELx2ysp.mjs.map +0 -1
  356. package/dist/_chunks/ListViewPage-D2VD8Szg.js +0 -852
  357. package/dist/_chunks/ListViewPage-D2VD8Szg.js.map +0 -1
  358. package/dist/_chunks/NoContentTypePage-BV9IjJSM.js +0 -51
  359. package/dist/_chunks/NoContentTypePage-BV9IjJSM.js.map +0 -1
  360. package/dist/_chunks/NoContentTypePage-DtJ9jcfk.mjs +0 -51
  361. package/dist/_chunks/NoContentTypePage-DtJ9jcfk.mjs.map +0 -1
  362. package/dist/_chunks/NoPermissionsPage-DWleVYK7.mjs +0 -23
  363. package/dist/_chunks/NoPermissionsPage-DWleVYK7.mjs.map +0 -1
  364. package/dist/_chunks/NoPermissionsPage-Dp8NpF9I.js +0 -23
  365. package/dist/_chunks/NoPermissionsPage-Dp8NpF9I.js.map +0 -1
  366. package/dist/_chunks/Relations-BTcf5xaw.mjs +0 -703
  367. package/dist/_chunks/Relations-BTcf5xaw.mjs.map +0 -1
  368. package/dist/_chunks/Relations-DR7EUgyC.js +0 -723
  369. package/dist/_chunks/Relations-DR7EUgyC.js.map +0 -1
  370. package/dist/_chunks/ar-BUUWXIYu.js +0 -226
  371. package/dist/_chunks/ar-BUUWXIYu.js.map +0 -1
  372. package/dist/_chunks/ar-CCEVvqGG.mjs +0 -226
  373. package/dist/_chunks/ca-5U32ON2v.mjs +0 -201
  374. package/dist/_chunks/ca-Cmk45QO6.js +0 -201
  375. package/dist/_chunks/cs-CM2aBUar.mjs +0 -125
  376. package/dist/_chunks/cs-CkJy6B2v.js +0 -125
  377. package/dist/_chunks/de-C72KDNOl.mjs +0 -199
  378. package/dist/_chunks/de-CCEmbAah.js +0 -199
  379. package/dist/_chunks/en-Bm0D0IWz.js +0 -293
  380. package/dist/_chunks/en-DKV44jRb.mjs +0 -293
  381. package/dist/_chunks/es-CeXiYflN.mjs +0 -196
  382. package/dist/_chunks/es-EUonQTon.js +0 -196
  383. package/dist/_chunks/eu-CdALomew.mjs +0 -202
  384. package/dist/_chunks/eu-VDH-3ovk.js +0 -202
  385. package/dist/_chunks/fr-B7kGGg3E.js +0 -206
  386. package/dist/_chunks/fr-B7kGGg3E.js.map +0 -1
  387. package/dist/_chunks/fr-CD9VFbPM.mjs +0 -206
  388. package/dist/_chunks/fr-CD9VFbPM.mjs.map +0 -1
  389. package/dist/_chunks/gu-BRmF601H.js +0 -200
  390. package/dist/_chunks/gu-CNpaMDpH.mjs +0 -200
  391. package/dist/_chunks/gu-CNpaMDpH.mjs.map +0 -1
  392. package/dist/_chunks/hi-CCJBptSq.js +0 -200
  393. package/dist/_chunks/hi-CCJBptSq.js.map +0 -1
  394. package/dist/_chunks/hi-Dwvd04m3.mjs +0 -200
  395. package/dist/_chunks/hi-Dwvd04m3.mjs.map +0 -1
  396. package/dist/_chunks/hooks-BAaaKPS_.js.map +0 -1
  397. package/dist/_chunks/hooks-E5u1mcgM.mjs +0 -8
  398. package/dist/_chunks/hooks-E5u1mcgM.mjs.map +0 -1
  399. package/dist/_chunks/hu-CeYvaaO0.mjs +0 -202
  400. package/dist/_chunks/hu-CeYvaaO0.mjs.map +0 -1
  401. package/dist/_chunks/hu-sNV_yLYy.js +0 -202
  402. package/dist/_chunks/hu-sNV_yLYy.js.map +0 -1
  403. package/dist/_chunks/id-B5Ser98A.js +0 -160
  404. package/dist/_chunks/id-B5Ser98A.js.map +0 -1
  405. package/dist/_chunks/id-BtwA9WJT.mjs +0 -160
  406. package/dist/_chunks/index-BdMf2lfT.js +0 -4109
  407. package/dist/_chunks/index-BdMf2lfT.js.map +0 -1
  408. package/dist/_chunks/index-wnqzm4Q8.mjs +0 -4090
  409. package/dist/_chunks/index-wnqzm4Q8.mjs.map +0 -1
  410. package/dist/_chunks/it-BrVPqaf1.mjs +0 -162
  411. package/dist/_chunks/it-DkBIs7vD.js +0 -162
  412. package/dist/_chunks/ja-CcFe8diO.js +0 -196
  413. package/dist/_chunks/ja-CtsUxOvk.mjs +0 -196
  414. package/dist/_chunks/ko-HVQRlfUI.mjs +0 -195
  415. package/dist/_chunks/ko-woFZPmLk.js +0 -195
  416. package/dist/_chunks/layout-2CfjL0T9.mjs +0 -471
  417. package/dist/_chunks/layout-2CfjL0T9.mjs.map +0 -1
  418. package/dist/_chunks/layout-B2MyZU-_.js +0 -489
  419. package/dist/_chunks/layout-B2MyZU-_.js.map +0 -1
  420. package/dist/_chunks/ml-BihZwQit.mjs +0 -200
  421. package/dist/_chunks/ml-BihZwQit.mjs.map +0 -1
  422. package/dist/_chunks/ml-C2W8N8k1.js +0 -200
  423. package/dist/_chunks/ml-C2W8N8k1.js.map +0 -1
  424. package/dist/_chunks/ms-BuFotyP_.js +0 -144
  425. package/dist/_chunks/ms-m_WjyWx7.mjs +0 -144
  426. package/dist/_chunks/nl-D4R9gHx5.mjs +0 -202
  427. package/dist/_chunks/nl-D4R9gHx5.mjs.map +0 -1
  428. package/dist/_chunks/nl-bbEOHChV.js +0 -202
  429. package/dist/_chunks/nl-bbEOHChV.js.map +0 -1
  430. package/dist/_chunks/objects-gigeqt7s.js +0 -49
  431. package/dist/_chunks/objects-gigeqt7s.js.map +0 -1
  432. package/dist/_chunks/objects-mKMAmfec.mjs +0 -47
  433. package/dist/_chunks/objects-mKMAmfec.mjs.map +0 -1
  434. package/dist/_chunks/pl-sbx9mSt_.mjs +0 -199
  435. package/dist/_chunks/pl-sbx9mSt_.mjs.map +0 -1
  436. package/dist/_chunks/pl-uzwG-hk7.js +0 -199
  437. package/dist/_chunks/pl-uzwG-hk7.js.map +0 -1
  438. package/dist/_chunks/pt-BR-BiOz37D9.js +0 -201
  439. package/dist/_chunks/pt-BR-C71iDxnh.mjs +0 -201
  440. package/dist/_chunks/pt-BsaFvS8-.mjs +0 -95
  441. package/dist/_chunks/pt-BsaFvS8-.mjs.map +0 -1
  442. package/dist/_chunks/pt-CeXQuq50.js +0 -95
  443. package/dist/_chunks/pt-CeXQuq50.js.map +0 -1
  444. package/dist/_chunks/relations-BH7JJGGe.js +0 -134
  445. package/dist/_chunks/relations-BH7JJGGe.js.map +0 -1
  446. package/dist/_chunks/relations-C0w0GcXi.mjs +0 -135
  447. package/dist/_chunks/relations-C0w0GcXi.mjs.map +0 -1
  448. package/dist/_chunks/ru-BE6A4Exp.mjs +0 -231
  449. package/dist/_chunks/ru-BT3ybNny.js +0 -231
  450. package/dist/_chunks/sa-CcvkYInH.js +0 -200
  451. package/dist/_chunks/sa-CcvkYInH.js.map +0 -1
  452. package/dist/_chunks/sa-Dag0k-Z8.mjs +0 -200
  453. package/dist/_chunks/sa-Dag0k-Z8.mjs.map +0 -1
  454. package/dist/_chunks/sk-BFg-R8qJ.mjs +0 -202
  455. package/dist/_chunks/sk-BFg-R8qJ.mjs.map +0 -1
  456. package/dist/_chunks/sk-CvY09Xjv.js +0 -202
  457. package/dist/_chunks/sk-CvY09Xjv.js.map +0 -1
  458. package/dist/_chunks/sv-CUnfWGsh.mjs +0 -202
  459. package/dist/_chunks/sv-CUnfWGsh.mjs.map +0 -1
  460. package/dist/_chunks/sv-MYDuzgvT.js +0 -202
  461. package/dist/_chunks/sv-MYDuzgvT.js.map +0 -1
  462. package/dist/_chunks/th-BqbI8lIT.mjs +0 -148
  463. package/dist/_chunks/th-BqbI8lIT.mjs.map +0 -1
  464. package/dist/_chunks/th-D9_GfAjc.js +0 -148
  465. package/dist/_chunks/tr-CgeK3wJM.mjs +0 -199
  466. package/dist/_chunks/tr-CgeK3wJM.mjs.map +0 -1
  467. package/dist/_chunks/tr-D9UH-O_R.js +0 -199
  468. package/dist/_chunks/tr-D9UH-O_R.js.map +0 -1
  469. package/dist/_chunks/uk-C8EiqJY7.js +0 -144
  470. package/dist/_chunks/uk-C8EiqJY7.js.map +0 -1
  471. package/dist/_chunks/uk-CR-zDhAY.mjs +0 -144
  472. package/dist/_chunks/useDebounce-CtcjDB3L.js +0 -28
  473. package/dist/_chunks/useDebounce-CtcjDB3L.js.map +0 -1
  474. package/dist/_chunks/useDebounce-DmuSJIF3.mjs +0 -29
  475. package/dist/_chunks/useDebounce-DmuSJIF3.mjs.map +0 -1
  476. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs +0 -231
  477. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs.map +0 -1
  478. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js +0 -249
  479. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js.map +0 -1
  480. package/dist/_chunks/vi-CJlYDheJ.js +0 -111
  481. package/dist/_chunks/vi-DUXIk_fw.mjs +0 -111
  482. package/dist/_chunks/zh-BWZspA60.mjs +0 -209
  483. package/dist/_chunks/zh-BWZspA60.mjs.map +0 -1
  484. package/dist/_chunks/zh-CQQfszqR.js +0 -209
  485. package/dist/_chunks/zh-CQQfszqR.js.map +0 -1
  486. package/dist/_chunks/zh-Hans-9kOncHGw.js +0 -952
  487. package/dist/_chunks/zh-Hans-BPQcRIyH.mjs +0 -952
@@ -0,0 +1,701 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var React = require('react');
5
+ var strapiAdmin = require('@strapi/admin/strapi-admin');
6
+ var designSystem = require('@strapi/design-system');
7
+ var Icons = require('@strapi/icons');
8
+ var reactIntl = require('react-intl');
9
+ var reactRouterDom = require('react-router-dom');
10
+ var styledComponents = require('styled-components');
11
+ var index = require('./index-DoUQnFTk.js');
12
+ var Input = require('./Input-BJCenRYN.js');
13
+ var qs = require('qs');
14
+ var EditViewPage = require('./EditViewPage-CwYSs8Cq.js');
15
+ require('lodash/fp/mapValues');
16
+ require('yup');
17
+ require('fractional-indexing');
18
+ require('lodash/fp/pipe');
19
+ require('date-fns');
20
+ require('@reduxjs/toolkit');
21
+ require('prismjs');
22
+ require('slate');
23
+ require('slate-history');
24
+ require('slate-react');
25
+ require('prismjs/themes/prism-solarizedlight.css');
26
+ require('prismjs/components/prism-asmatmel');
27
+ require('prismjs/components/prism-bash');
28
+ require('prismjs/components/prism-basic');
29
+ require('prismjs/components/prism-c');
30
+ require('prismjs/components/prism-clojure');
31
+ require('prismjs/components/prism-cobol');
32
+ require('prismjs/components/prism-cpp');
33
+ require('prismjs/components/prism-csharp');
34
+ require('prismjs/components/prism-dart');
35
+ require('prismjs/components/prism-docker');
36
+ require('prismjs/components/prism-elixir');
37
+ require('prismjs/components/prism-erlang');
38
+ require('prismjs/components/prism-fortran');
39
+ require('prismjs/components/prism-fsharp');
40
+ require('prismjs/components/prism-go');
41
+ require('prismjs/components/prism-graphql');
42
+ require('prismjs/components/prism-groovy');
43
+ require('prismjs/components/prism-haskell');
44
+ require('prismjs/components/prism-haxe');
45
+ require('prismjs/components/prism-ini');
46
+ require('prismjs/components/prism-java');
47
+ require('prismjs/components/prism-javascript');
48
+ require('prismjs/components/prism-jsx');
49
+ require('prismjs/components/prism-json');
50
+ require('prismjs/components/prism-julia');
51
+ require('prismjs/components/prism-kotlin');
52
+ require('prismjs/components/prism-latex');
53
+ require('prismjs/components/prism-lua');
54
+ require('prismjs/components/prism-markdown');
55
+ require('prismjs/components/prism-matlab');
56
+ require('prismjs/components/prism-makefile');
57
+ require('prismjs/components/prism-objectivec');
58
+ require('prismjs/components/prism-perl');
59
+ require('prismjs/components/prism-php');
60
+ require('prismjs/components/prism-powershell');
61
+ require('prismjs/components/prism-python');
62
+ require('prismjs/components/prism-r');
63
+ require('prismjs/components/prism-ruby');
64
+ require('prismjs/components/prism-rust');
65
+ require('prismjs/components/prism-sas');
66
+ require('prismjs/components/prism-scala');
67
+ require('prismjs/components/prism-scheme');
68
+ require('prismjs/components/prism-sql');
69
+ require('prismjs/components/prism-stata');
70
+ require('prismjs/components/prism-swift');
71
+ require('prismjs/components/prism-typescript');
72
+ require('prismjs/components/prism-tsx');
73
+ require('prismjs/components/prism-vbnet');
74
+ require('prismjs/components/prism-yaml');
75
+ require('./usePrev-Cm_0-qRC.js');
76
+ require('./objects-BJTP843m.js');
77
+ require('react-dnd');
78
+ require('lodash/clone');
79
+ require('lodash/toPath');
80
+ require('@radix-ui/react-toolbar');
81
+ require('react-dnd-html5-backend');
82
+ require('./ComponentIcon-C-EjOUPA.js');
83
+ require('@strapi/icons/symbols');
84
+ require('react-window');
85
+ require('codemirror5');
86
+ require('sanitize-html');
87
+ require('highlight.js');
88
+ require('markdown-it');
89
+ require('markdown-it-abbr');
90
+ require('markdown-it-container');
91
+ require('markdown-it-deflist');
92
+ require('markdown-it-emoji');
93
+ require('markdown-it-footnote');
94
+ require('markdown-it-ins');
95
+ require('markdown-it-mark');
96
+ require('markdown-it-sub');
97
+ require('markdown-it-sup');
98
+ require('highlight.js/styles/solarized-dark.css');
99
+ require('codemirror5/addon/display/placeholder');
100
+
101
+ function _interopNamespaceDefault(e) {
102
+ var n = Object.create(null);
103
+ if (e) {
104
+ Object.keys(e).forEach(function (k) {
105
+ if (k !== 'default') {
106
+ var d = Object.getOwnPropertyDescriptor(e, k);
107
+ Object.defineProperty(n, k, d.get ? d : {
108
+ enumerable: true,
109
+ get: function () { return e[k]; }
110
+ });
111
+ }
112
+ });
113
+ }
114
+ n.default = e;
115
+ return Object.freeze(n);
116
+ }
117
+
118
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
119
+
120
+ const PreviewContent = ()=>{
121
+ const previewUrl = usePreviewContext('PreviewContent', (state)=>state.url);
122
+ const { formatMessage } = reactIntl.useIntl();
123
+ return /*#__PURE__*/ jsxRuntime.jsx(designSystem.Box, {
124
+ src: previewUrl,
125
+ title: formatMessage({
126
+ id: 'content-manager.preview.panel.title',
127
+ defaultMessage: 'Preview'
128
+ }),
129
+ width: "100%",
130
+ height: "100%",
131
+ borderWidth: 0,
132
+ tag: "iframe"
133
+ }, previewUrl);
134
+ };
135
+
136
+ /* -------------------------------------------------------------------------------------------------
137
+ * ClosePreviewButton
138
+ * -----------------------------------------------------------------------------------------------*/ const ClosePreviewButton = ()=>{
139
+ const [{ query }] = strapiAdmin.useQueryParams();
140
+ const { formatMessage } = reactIntl.useIntl();
141
+ const canGoBack = strapiAdmin.useHistory('BackButton', (state)=>state.canGoBack);
142
+ const goBack = strapiAdmin.useHistory('BackButton', (state)=>state.goBack);
143
+ const history = strapiAdmin.useHistory('BackButton', (state)=>state.history);
144
+ const locationIndex = strapiAdmin.useHistory('BackButton', (state)=>state.currentLocationIndex);
145
+ /**
146
+ * Get the link destination from the history.
147
+ * Rely on a fallback (the parent edit view page) if there's no page to go back .
148
+ */ const historyTo = canGoBack ? history.at(locationIndex - 2) : undefined;
149
+ const fallback = {
150
+ pathname: '..',
151
+ search: qs.stringify(query, {
152
+ encode: false
153
+ })
154
+ };
155
+ const toWithFallback = historyTo ?? fallback;
156
+ const handleClick = (e)=>{
157
+ if (canGoBack) {
158
+ // Prevent normal link behavior, go back in the history stack instead
159
+ e.preventDefault();
160
+ goBack();
161
+ return;
162
+ }
163
+ // Otherwise rely on native link behavior to go back to the edit view. We don't use navigate()
164
+ // here in order to get the relative="path" functionality from the Link component.
165
+ };
166
+ return /*#__PURE__*/ jsxRuntime.jsx(designSystem.IconButton, {
167
+ variant: "ghost",
168
+ tag: reactRouterDom.Link,
169
+ relative: "path",
170
+ to: toWithFallback,
171
+ onClick: handleClick,
172
+ label: formatMessage({
173
+ id: 'content-manager.preview.header.close',
174
+ defaultMessage: 'Close preview'
175
+ }),
176
+ children: /*#__PURE__*/ jsxRuntime.jsx(Icons.Cross, {})
177
+ });
178
+ };
179
+ /* -------------------------------------------------------------------------------------------------
180
+ * Status
181
+ * -----------------------------------------------------------------------------------------------*/ const Status = ()=>{
182
+ // Get status
183
+ const document = usePreviewContext('PreviewHeader', (state)=>state.document);
184
+ const schema = usePreviewContext('PreviewHeader', (state)=>state.schema);
185
+ const meta = usePreviewContext('PreviewHeader', (state)=>state.meta);
186
+ const hasDraftAndPublished = schema?.options?.draftAndPublish ?? false;
187
+ if (!hasDraftAndPublished) {
188
+ return null;
189
+ }
190
+ const status = EditViewPage.getDocumentStatus(document, meta);
191
+ return /*#__PURE__*/ jsxRuntime.jsx(index.DocumentStatus, {
192
+ status: status,
193
+ size: "XS"
194
+ });
195
+ };
196
+ const PreviewTabs = ()=>{
197
+ const { formatMessage } = reactIntl.useIntl();
198
+ // URL query params
199
+ const [{ query }, setQuery] = strapiAdmin.useQueryParams();
200
+ // Get status
201
+ const document = usePreviewContext('PreviewHeader', (state)=>state.document);
202
+ const schema = usePreviewContext('PreviewHeader', (state)=>state.schema);
203
+ const meta = usePreviewContext('PreviewHeader', (state)=>state.meta);
204
+ const hasDraftAndPublish = schema?.options?.draftAndPublish ?? false;
205
+ const documentStatus = EditViewPage.getDocumentStatus(document, meta);
206
+ const handleTabChange = (status)=>{
207
+ if (status === 'published' || status === 'draft') {
208
+ setQuery({
209
+ status
210
+ }, 'push', true);
211
+ }
212
+ };
213
+ if (!hasDraftAndPublish) {
214
+ return null;
215
+ }
216
+ return /*#__PURE__*/ jsxRuntime.jsx(designSystem.Tabs.Root, {
217
+ variant: "simple",
218
+ value: query.status || 'draft',
219
+ onValueChange: handleTabChange,
220
+ children: /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Tabs.List, {
221
+ "aria-label": formatMessage({
222
+ id: 'preview.tabs.label',
223
+ defaultMessage: 'Document status'
224
+ }),
225
+ children: [
226
+ /*#__PURE__*/ jsxRuntime.jsx(StatusTab, {
227
+ value: "draft",
228
+ children: formatMessage({
229
+ id: 'content-manager.containers.List.draft',
230
+ defaultMessage: 'draft'
231
+ })
232
+ }),
233
+ /*#__PURE__*/ jsxRuntime.jsx(StatusTab, {
234
+ value: "published",
235
+ disabled: documentStatus === 'draft',
236
+ children: formatMessage({
237
+ id: 'content-manager.containers.List.published',
238
+ defaultMessage: 'published'
239
+ })
240
+ })
241
+ ]
242
+ })
243
+ });
244
+ };
245
+ /* -------------------------------------------------------------------------------------------------
246
+ * PreviewHeader
247
+ * -----------------------------------------------------------------------------------------------*/ const UnstablePreviewHeader = ()=>{
248
+ const title = usePreviewContext('PreviewHeader', (state)=>state.title);
249
+ const document = usePreviewContext('PreviewHeader', (state)=>state.document);
250
+ const schema = usePreviewContext('PreviewHeader', (state)=>state.schema);
251
+ const meta = usePreviewContext('PreviewHeader', (state)=>state.meta);
252
+ const plugins = strapiAdmin.useStrapiApp('PreviewHeader', (state)=>state.plugins);
253
+ const iframeRef = usePreviewContext('PreviewHeader', (state)=>state.iframeRef);
254
+ const [{ query }] = strapiAdmin.useQueryParams();
255
+ const { formatMessage } = reactIntl.useIntl();
256
+ const { toggleNotification } = strapiAdmin.useNotification();
257
+ const { copy } = strapiAdmin.useClipboard();
258
+ const handleCopyLink = ()=>{
259
+ copy(window.location.href);
260
+ toggleNotification({
261
+ message: formatMessage({
262
+ id: 'content-manager.preview.copy.success',
263
+ defaultMessage: 'Copied preview link'
264
+ }),
265
+ type: 'success'
266
+ });
267
+ };
268
+ const hasDraftAndPublish = schema.options?.draftAndPublish ?? false;
269
+ const documentActionProps = {
270
+ activeTab: query.status ?? null,
271
+ collectionType: schema.kind === 'collectionType' ? 'collection-types' : 'single-types',
272
+ model: schema.uid,
273
+ documentId: document.documentId,
274
+ document,
275
+ meta,
276
+ onPreview: ()=>{
277
+ iframeRef?.current?.contentWindow?.postMessage({
278
+ type: 'strapiUpdate'
279
+ }, // The iframe origin is safe to use since it must be provided through the allowedOrigins config
280
+ new URL(iframeRef.current.src).origin);
281
+ }
282
+ };
283
+ return /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Flex, {
284
+ height: "48px",
285
+ gap: 4,
286
+ background: "neutral0",
287
+ borderColor: "neutral150",
288
+ tag: "header",
289
+ children: [
290
+ /*#__PURE__*/ jsxRuntime.jsxs(TitleContainer, {
291
+ height: "100%",
292
+ paddingLeft: 2,
293
+ paddingRight: 4,
294
+ children: [
295
+ /*#__PURE__*/ jsxRuntime.jsx(ClosePreviewButton, {}),
296
+ /*#__PURE__*/ jsxRuntime.jsx(PreviewTitle, {
297
+ tag: "h1",
298
+ title: title,
299
+ maxWidth: "200px",
300
+ fontSize: 2,
301
+ paddingLeft: 2,
302
+ paddingRight: 3,
303
+ fontWeight: 600,
304
+ children: title
305
+ }),
306
+ /*#__PURE__*/ jsxRuntime.jsx(Status, {})
307
+ ]
308
+ }),
309
+ /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Flex, {
310
+ flex: 1,
311
+ paddingRight: 2,
312
+ gap: 2,
313
+ justifyContent: hasDraftAndPublish ? 'space-between' : 'flex-end',
314
+ children: [
315
+ /*#__PURE__*/ jsxRuntime.jsx(designSystem.Flex, {
316
+ flex: "1 1 70%",
317
+ children: /*#__PURE__*/ jsxRuntime.jsx(PreviewTabs, {})
318
+ }),
319
+ /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Flex, {
320
+ gap: 2,
321
+ children: [
322
+ /*#__PURE__*/ jsxRuntime.jsx(designSystem.IconButton, {
323
+ type: "button",
324
+ label: formatMessage({
325
+ id: 'preview.copy.label',
326
+ defaultMessage: 'Copy preview link'
327
+ }),
328
+ onClick: handleCopyLink,
329
+ children: /*#__PURE__*/ jsxRuntime.jsx(Icons.Link, {})
330
+ }),
331
+ /*#__PURE__*/ jsxRuntime.jsx(index.InjectionZone, {
332
+ area: "preview.actions"
333
+ }),
334
+ /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.DescriptionComponentRenderer, {
335
+ props: documentActionProps,
336
+ descriptions: plugins['content-manager'].apis.getDocumentActions('preview'),
337
+ children: (actions)=>{
338
+ const filteredActions = actions.filter((action)=>[
339
+ action.position
340
+ ].flat().includes('preview'));
341
+ const [primaryAction, secondaryAction] = filteredActions;
342
+ if (!primaryAction && !secondaryAction) return null;
343
+ // Both actions are available when draft and publish enabled
344
+ if (primaryAction && secondaryAction) {
345
+ return /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
346
+ children: [
347
+ /*#__PURE__*/ jsxRuntime.jsx(index.DocumentActionButton, {
348
+ ...secondaryAction,
349
+ variant: secondaryAction.variant || 'secondary'
350
+ }),
351
+ /*#__PURE__*/ jsxRuntime.jsx(index.DocumentActionButton, {
352
+ ...primaryAction,
353
+ variant: primaryAction.variant || 'default'
354
+ })
355
+ ]
356
+ });
357
+ }
358
+ // Otherwise we just have the save action
359
+ return /*#__PURE__*/ jsxRuntime.jsx(index.DocumentActionButton, {
360
+ ...primaryAction,
361
+ variant: primaryAction.variant || 'secondary'
362
+ });
363
+ }
364
+ })
365
+ ]
366
+ })
367
+ ]
368
+ })
369
+ ]
370
+ });
371
+ };
372
+ const PreviewHeader = ()=>{
373
+ // Get the document title
374
+ const title = usePreviewContext('PreviewHeader', (state)=>state.title);
375
+ const { formatMessage } = reactIntl.useIntl();
376
+ const { toggleNotification } = strapiAdmin.useNotification();
377
+ const { copy } = strapiAdmin.useClipboard();
378
+ const handleCopyLink = ()=>{
379
+ copy(window.location.href);
380
+ toggleNotification({
381
+ message: formatMessage({
382
+ id: 'content-manager.preview.copy.success',
383
+ defaultMessage: 'Copied preview link'
384
+ }),
385
+ type: 'success'
386
+ });
387
+ };
388
+ return /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Grid.Root, {
389
+ gap: 3,
390
+ gridCols: 3,
391
+ paddingLeft: 2,
392
+ paddingRight: 2,
393
+ background: "neutral0",
394
+ borderColor: "neutral150",
395
+ tag: "header",
396
+ children: [
397
+ /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Grid.Item, {
398
+ xs: 1,
399
+ paddingTop: 2,
400
+ paddingBottom: 2,
401
+ gap: 3,
402
+ children: [
403
+ /*#__PURE__*/ jsxRuntime.jsx(ClosePreviewButton, {}),
404
+ /*#__PURE__*/ jsxRuntime.jsx(PreviewTitle, {
405
+ tag: "h1",
406
+ fontWeight: 600,
407
+ fontSize: 2,
408
+ maxWidth: "200px",
409
+ title: title,
410
+ children: title
411
+ }),
412
+ /*#__PURE__*/ jsxRuntime.jsx(Status, {})
413
+ ]
414
+ }),
415
+ /*#__PURE__*/ jsxRuntime.jsx(designSystem.Grid.Item, {
416
+ xs: 1,
417
+ marginBottom: "-1px",
418
+ alignItems: "end",
419
+ margin: "auto",
420
+ children: /*#__PURE__*/ jsxRuntime.jsx(PreviewTabs, {})
421
+ }),
422
+ /*#__PURE__*/ jsxRuntime.jsx(designSystem.Grid.Item, {
423
+ xs: 1,
424
+ justifyContent: "end",
425
+ paddingTop: 2,
426
+ paddingBottom: 2,
427
+ children: /*#__PURE__*/ jsxRuntime.jsx(designSystem.IconButton, {
428
+ type: "button",
429
+ label: formatMessage({
430
+ id: 'preview.copy.label',
431
+ defaultMessage: 'Copy preview link'
432
+ }),
433
+ onClick: handleCopyLink,
434
+ children: /*#__PURE__*/ jsxRuntime.jsx(Icons.Link, {})
435
+ })
436
+ })
437
+ ]
438
+ });
439
+ };
440
+ const PreviewTitle = styledComponents.styled(designSystem.Typography)`
441
+ overflow: hidden;
442
+ text-overflow: ellipsis;
443
+ white-space: nowrap;
444
+ `;
445
+ const StatusTab = styledComponents.styled(designSystem.Tabs.Trigger)`
446
+ text-transform: uppercase;
447
+ `;
448
+ const TitleContainer = styledComponents.styled(designSystem.Flex)`
449
+ border-right: 1px solid ${({ theme })=>theme.colors.neutral150};
450
+ `;
451
+
452
+ const [PreviewProvider, usePreviewContext] = strapiAdmin.createContext('PreviewPage');
453
+ /* -------------------------------------------------------------------------------------------------
454
+ * PreviewPage
455
+ * -----------------------------------------------------------------------------------------------*/ const AnimatedArrow = styledComponents.styled(Icons.ArrowLineLeft)`
456
+ will-change: transform;
457
+ rotate: ${(props)=>props.isSideEditorOpen ? '0deg' : '180deg'};
458
+ transition: rotate 0.2s ease-in-out;
459
+ `;
460
+ const PreviewPage = ()=>{
461
+ const location = reactRouterDom.useLocation();
462
+ const { formatMessage } = reactIntl.useIntl();
463
+ const iframeRef = React__namespace.useRef(null);
464
+ const [isSideEditorOpen, setIsSideEditorOpen] = React__namespace.useState(true);
465
+ // Read all the necessary data from the URL to find the right preview URL
466
+ const { slug: model, id: documentId, collectionType } = reactRouterDom.useParams();
467
+ const [{ query }] = strapiAdmin.useQueryParams();
468
+ const params = React__namespace.useMemo(()=>index.buildValidParams(query), [
469
+ query
470
+ ]);
471
+ if (!collectionType) {
472
+ throw new Error('Could not find collectionType in url params');
473
+ }
474
+ if (!model) {
475
+ throw new Error('Could not find model in url params');
476
+ }
477
+ // Only collection types must have a documentId
478
+ if (collectionType === index.COLLECTION_TYPES && !documentId) {
479
+ throw new Error('Could not find documentId in url params');
480
+ }
481
+ const previewUrlResponse = index.useGetPreviewUrlQuery({
482
+ params: {
483
+ contentType: model
484
+ },
485
+ query: {
486
+ documentId,
487
+ locale: params.locale,
488
+ status: params.status
489
+ }
490
+ });
491
+ const documentResponse = index.useDocument({
492
+ model,
493
+ collectionType,
494
+ documentId,
495
+ params
496
+ });
497
+ const documentLayoutResponse = index.useDocumentLayout(model);
498
+ const isLoading = previewUrlResponse.isLoading || documentLayoutResponse.isLoading || documentResponse.isLoading;
499
+ if (isLoading && !documentResponse.document?.documentId) {
500
+ return /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Page.Loading, {});
501
+ }
502
+ const initialValues = documentResponse.getInitialFormValues();
503
+ if (previewUrlResponse.error || documentLayoutResponse.error || !documentResponse.document || !documentResponse.meta || !documentResponse.schema || !initialValues) {
504
+ return /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Page.Error, {});
505
+ }
506
+ if (!previewUrlResponse.data?.data?.url) {
507
+ return /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Page.NoData, {});
508
+ }
509
+ const documentTitle = documentResponse.getTitle(documentLayoutResponse.edit.settings.mainField);
510
+ const validateSync = (values, options)=>{
511
+ const yupSchema = index.createYupSchema(documentResponse.schema?.attributes, documentResponse.components, {
512
+ status: documentResponse.document?.status,
513
+ ...options
514
+ });
515
+ return yupSchema.validateSync(values, {
516
+ abortEarly: false
517
+ });
518
+ };
519
+ const previewUrl = previewUrlResponse.data.data.url;
520
+ return /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
521
+ children: [
522
+ /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Page.Title, {
523
+ children: formatMessage({
524
+ id: 'content-manager.preview.page-title',
525
+ defaultMessage: '{contentType} preview'
526
+ }, {
527
+ contentType: documentTitle
528
+ })
529
+ }),
530
+ /*#__PURE__*/ jsxRuntime.jsx(index.DocumentContextProvider, {
531
+ initialDocument: {
532
+ documentId: documentId || '',
533
+ model,
534
+ collectionType
535
+ },
536
+ children: /*#__PURE__*/ jsxRuntime.jsx(PreviewProvider, {
537
+ url: previewUrl,
538
+ document: documentResponse.document,
539
+ title: documentTitle,
540
+ meta: documentResponse.meta,
541
+ schema: documentResponse.schema,
542
+ layout: documentLayoutResponse.edit,
543
+ iframeRef: iframeRef,
544
+ children: /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Form, {
545
+ method: "PUT",
546
+ disabled: query.status === 'published' && documentResponse && documentResponse.document.status === 'published',
547
+ initialValues: documentResponse.getInitialFormValues(),
548
+ initialErrors: location?.state?.forceValidation ? validateSync(initialValues, {}) : {},
549
+ height: "100%",
550
+ validate: (values, options)=>{
551
+ const yupSchema = index.createYupSchema(documentResponse.schema?.attributes, documentResponse.components, {
552
+ status: documentResponse.document?.status,
553
+ ...options
554
+ });
555
+ return yupSchema.validate(values, {
556
+ abortEarly: false
557
+ });
558
+ },
559
+ children: /*#__PURE__*/ jsxRuntime.jsx(designSystem.Flex, {
560
+ direction: "column",
561
+ height: "100%",
562
+ alignItems: "stretch",
563
+ children: window.strapi.future.isEnabled('unstablePreviewSideEditor') ? /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
564
+ children: [
565
+ /*#__PURE__*/ jsxRuntime.jsx(UnstablePreviewHeader, {}),
566
+ /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Flex, {
567
+ flex: 1,
568
+ overflow: "auto",
569
+ alignItems: "stretch",
570
+ children: [
571
+ /*#__PURE__*/ jsxRuntime.jsx(designSystem.Box, {
572
+ overflow: "auto",
573
+ width: isSideEditorOpen ? '50%' : 0,
574
+ borderWidth: "0 1px 0 0",
575
+ borderColor: "neutral150",
576
+ paddingTop: 6,
577
+ paddingBottom: 6,
578
+ // Remove horizontal padding when the editor is closed or it won't fully disappear
579
+ paddingLeft: isSideEditorOpen ? 6 : 0,
580
+ paddingRight: isSideEditorOpen ? 6 : 0,
581
+ transition: "all 0.2s ease-in-out",
582
+ children: /*#__PURE__*/ jsxRuntime.jsx(Input.FormLayout, {
583
+ layout: documentLayoutResponse.edit.layout,
584
+ hasBackground: true
585
+ })
586
+ }),
587
+ /*#__PURE__*/ jsxRuntime.jsxs(designSystem.Box, {
588
+ position: "relative",
589
+ flex: 1,
590
+ height: "100%",
591
+ overflow: "hidden",
592
+ children: [
593
+ /*#__PURE__*/ jsxRuntime.jsx(designSystem.Box, {
594
+ "data-testid": "preview-iframe",
595
+ ref: iframeRef,
596
+ src: previewUrl,
597
+ title: formatMessage({
598
+ id: 'content-manager.preview.panel.title',
599
+ defaultMessage: 'Preview'
600
+ }),
601
+ width: "100%",
602
+ height: "100%",
603
+ borderWidth: 0,
604
+ tag: "iframe"
605
+ }, previewUrl),
606
+ /*#__PURE__*/ jsxRuntime.jsx(designSystem.IconButton, {
607
+ variant: "tertiary",
608
+ label: formatMessage(isSideEditorOpen ? {
609
+ id: 'content-manager.preview.content.close-editor',
610
+ defaultMessage: 'Close editor'
611
+ } : {
612
+ id: 'content-manager.preview.content.open-editor',
613
+ defaultMessage: 'Open editor'
614
+ }),
615
+ onClick: ()=>setIsSideEditorOpen((prev)=>!prev),
616
+ position: "absolute",
617
+ top: 2,
618
+ left: 2,
619
+ children: /*#__PURE__*/ jsxRuntime.jsx(AnimatedArrow, {
620
+ isSideEditorOpen: isSideEditorOpen
621
+ })
622
+ })
623
+ ]
624
+ })
625
+ ]
626
+ })
627
+ ]
628
+ }) : /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
629
+ children: [
630
+ /*#__PURE__*/ jsxRuntime.jsx(PreviewHeader, {}),
631
+ /*#__PURE__*/ jsxRuntime.jsx(PreviewContent, {})
632
+ ]
633
+ })
634
+ })
635
+ })
636
+ })
637
+ })
638
+ ]
639
+ });
640
+ };
641
+ /* -------------------------------------------------------------------------------------------------
642
+ * ProtectedPreviewPage
643
+ * -----------------------------------------------------------------------------------------------*/ const ProtectedPreviewPageImpl = ()=>{
644
+ const { slug: model } = reactRouterDom.useParams();
645
+ const { permissions = [], isLoading, error } = strapiAdmin.useRBAC([
646
+ {
647
+ action: 'plugin::content-manager.explorer.read',
648
+ subject: model
649
+ },
650
+ {
651
+ action: 'plugin::content-manager.explorer.update',
652
+ subject: model
653
+ },
654
+ {
655
+ action: 'plugin::content-manager.explorer.publish',
656
+ subject: model
657
+ }
658
+ ]);
659
+ if (isLoading) {
660
+ return /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Page.Loading, {});
661
+ }
662
+ if (error || !model) {
663
+ return /*#__PURE__*/ jsxRuntime.jsx(designSystem.Box, {
664
+ height: "100vh",
665
+ width: "100vw",
666
+ position: "fixed",
667
+ top: 0,
668
+ left: 0,
669
+ zIndex: 2,
670
+ background: "neutral0",
671
+ children: /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Page.Error, {})
672
+ });
673
+ }
674
+ return /*#__PURE__*/ jsxRuntime.jsx(designSystem.Box, {
675
+ height: "100vh",
676
+ width: "100vw",
677
+ position: "fixed",
678
+ top: 0,
679
+ left: 0,
680
+ zIndex: 2,
681
+ background: "neutral0",
682
+ children: /*#__PURE__*/ jsxRuntime.jsx(strapiAdmin.Page.Protect, {
683
+ permissions: permissions.filter((permission)=>permission.action.includes('explorer.read')),
684
+ children: /*#__PURE__*/ jsxRuntime.jsx(index.DocumentRBAC, {
685
+ permissions: permissions,
686
+ children: /*#__PURE__*/ jsxRuntime.jsx(PreviewPage, {})
687
+ })
688
+ })
689
+ });
690
+ };
691
+ const ProtectedPreviewPage = ()=>{
692
+ return /*#__PURE__*/ jsxRuntime.jsx(designSystem.Portal, {
693
+ children: /*#__PURE__*/ jsxRuntime.jsx(designSystem.FocusTrap, {
694
+ children: /*#__PURE__*/ jsxRuntime.jsx(ProtectedPreviewPageImpl, {})
695
+ })
696
+ });
697
+ };
698
+
699
+ exports.ProtectedPreviewPage = ProtectedPreviewPage;
700
+ exports.usePreviewContext = usePreviewContext;
701
+ //# sourceMappingURL=Preview-DB7ZGawL.js.map