@strapi/content-manager 0.0.0-experimental.e9122b401c96877b6707775c4f893660eab93ae3 → 0.0.0-experimental.e9144fc8a193f9875a2c0832d689c14001c79f00

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 (507) hide show
  1. package/dist/admin/chunks/CardDragPreview-DwuraT0K.js +80 -0
  2. package/dist/admin/chunks/CardDragPreview-DwuraT0K.js.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-BnZmgOiE.js +276 -0
  6. package/dist/admin/chunks/ComponentConfigurationPage-BnZmgOiE.js.map +1 -0
  7. package/dist/admin/chunks/ComponentConfigurationPage-DLYW6wzP.js +298 -0
  8. package/dist/admin/chunks/ComponentConfigurationPage-DLYW6wzP.js.map +1 -0
  9. package/dist/admin/chunks/ComponentIcon-BZcTc4rj.js +153 -0
  10. package/dist/admin/chunks/ComponentIcon-BZcTc4rj.js.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-D343zenK.js +158 -0
  14. package/dist/admin/chunks/EditConfigurationPage-D343zenK.js.map +1 -0
  15. package/dist/admin/chunks/EditConfigurationPage-D6MAzDx9.js +180 -0
  16. package/dist/admin/chunks/EditConfigurationPage-D6MAzDx9.js.map +1 -0
  17. package/dist/admin/chunks/EditViewPage-BEiXdIh3.js +337 -0
  18. package/dist/admin/chunks/EditViewPage-BEiXdIh3.js.map +1 -0
  19. package/dist/admin/chunks/EditViewPage-CAgp5yFQ.js +314 -0
  20. package/dist/admin/chunks/EditViewPage-CAgp5yFQ.js.map +1 -0
  21. package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.js +56 -0
  22. package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.js.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-DT-mJpeC.js +978 -0
  26. package/dist/admin/chunks/Form-DT-mJpeC.js.map +1 -0
  27. package/dist/admin/chunks/Form-DnpEddIm.js +955 -0
  28. package/dist/admin/chunks/Form-DnpEddIm.js.map +1 -0
  29. package/dist/admin/chunks/History-CAcsKxvW.js +1357 -0
  30. package/dist/admin/chunks/History-CAcsKxvW.js.map +1 -0
  31. package/dist/admin/chunks/History-DcmMS40h.js +1380 -0
  32. package/dist/admin/chunks/History-DcmMS40h.js.map +1 -0
  33. package/dist/admin/chunks/Input-Bn_9U9AX.js +6755 -0
  34. package/dist/admin/chunks/Input-Bn_9U9AX.js.map +1 -0
  35. package/dist/admin/chunks/Input-DKc071zK.js +6785 -0
  36. package/dist/admin/chunks/Input-DKc071zK.js.map +1 -0
  37. package/dist/admin/chunks/ListConfigurationPage-9g-kIzuq.js +818 -0
  38. package/dist/admin/chunks/ListConfigurationPage-9g-kIzuq.js.map +1 -0
  39. package/dist/admin/chunks/ListConfigurationPage-CCkKvrdu.js +795 -0
  40. package/dist/admin/chunks/ListConfigurationPage-CCkKvrdu.js.map +1 -0
  41. package/dist/admin/chunks/ListViewPage-C4RIOx9_.js +1132 -0
  42. package/dist/admin/chunks/ListViewPage-C4RIOx9_.js.map +1 -0
  43. package/dist/admin/chunks/ListViewPage-CkbK_jTo.js +1154 -0
  44. package/dist/admin/chunks/ListViewPage-CkbK_jTo.js.map +1 -0
  45. package/dist/admin/chunks/NoContentTypePage-B2sy8eF1.js +59 -0
  46. package/dist/admin/chunks/NoContentTypePage-B2sy8eF1.js.map +1 -0
  47. package/dist/admin/chunks/NoContentTypePage-B37btBcO.js +57 -0
  48. package/dist/admin/chunks/NoContentTypePage-B37btBcO.js.map +1 -0
  49. package/dist/admin/chunks/NoPermissionsPage-BZp87Adj.js +38 -0
  50. package/dist/admin/chunks/NoPermissionsPage-BZp87Adj.js.map +1 -0
  51. package/dist/admin/chunks/NoPermissionsPage-CGuHcAGX.js +36 -0
  52. package/dist/admin/chunks/NoPermissionsPage-CGuHcAGX.js.map +1 -0
  53. package/dist/admin/chunks/Preview-C7doSaZl.js +553 -0
  54. package/dist/admin/chunks/Preview-C7doSaZl.js.map +1 -0
  55. package/dist/admin/chunks/Preview-D1A984oV.js +531 -0
  56. package/dist/admin/chunks/Preview-D1A984oV.js.map +1 -0
  57. package/dist/admin/chunks/Relations-B9xxwrI5.js +827 -0
  58. package/dist/admin/chunks/Relations-B9xxwrI5.js.map +1 -0
  59. package/dist/admin/chunks/Relations-DFmdcIeQ.js +853 -0
  60. package/dist/admin/chunks/Relations-DFmdcIeQ.js.map +1 -0
  61. package/dist/admin/chunks/ar-DckYq_WK.js +222 -0
  62. package/dist/admin/chunks/ar-DckYq_WK.js.map +1 -0
  63. package/dist/admin/chunks/ar-DeQBSsfl.js +227 -0
  64. package/dist/{_chunks/ru-BT3ybNny.js.map → admin/chunks/ar-DeQBSsfl.js.map} +1 -1
  65. package/dist/admin/chunks/ca-ClDTvatJ.js +202 -0
  66. package/dist/admin/chunks/ca-ClDTvatJ.js.map +1 -0
  67. package/dist/admin/chunks/ca-DviY7mRj.js +197 -0
  68. package/dist/{_chunks/de-CCEmbAah.js.map → admin/chunks/ca-DviY7mRj.js.map} +1 -1
  69. package/dist/admin/chunks/cs-BJFxwIWj.js +126 -0
  70. package/dist/{_chunks/ms-BuFotyP_.js.map → admin/chunks/cs-BJFxwIWj.js.map} +1 -1
  71. package/dist/admin/chunks/cs-C7OSYFQ7.js +122 -0
  72. package/dist/{_chunks/cs-CkJy6B2v.js.map → admin/chunks/cs-C7OSYFQ7.js.map} +1 -1
  73. package/dist/admin/chunks/de-5QRlDHyR.js +195 -0
  74. package/dist/{_chunks/ja-CcFe8diO.js.map → admin/chunks/de-5QRlDHyR.js.map} +1 -1
  75. package/dist/admin/chunks/de-CbImAUA5.js +200 -0
  76. package/dist/{_chunks/gu-BRmF601H.js.map → admin/chunks/de-CbImAUA5.js.map} +1 -1
  77. package/dist/admin/chunks/en-C1CjdAtC.js +313 -0
  78. package/dist/admin/chunks/en-C1CjdAtC.js.map +1 -0
  79. package/dist/admin/chunks/en-LfhocNG2.js +308 -0
  80. package/dist/{_chunks/en-BVzUkPxZ.js.map → admin/chunks/en-LfhocNG2.js.map} +1 -1
  81. package/dist/admin/chunks/es-C8vLuvZL.js +197 -0
  82. package/dist/admin/chunks/es-C8vLuvZL.js.map +1 -0
  83. package/dist/admin/chunks/es-DkoWSExG.js +192 -0
  84. package/dist/{_chunks/ko-woFZPmLk.js.map → admin/chunks/es-DkoWSExG.js.map} +1 -1
  85. package/dist/admin/chunks/eu-BG1xX7HK.js +198 -0
  86. package/dist/admin/chunks/eu-BG1xX7HK.js.map +1 -0
  87. package/dist/admin/chunks/eu-BJW3AvXu.js +203 -0
  88. package/dist/admin/chunks/eu-BJW3AvXu.js.map +1 -0
  89. package/dist/admin/chunks/fr-CFdRaRVj.js +215 -0
  90. package/dist/admin/chunks/fr-CFdRaRVj.js.map +1 -0
  91. package/dist/admin/chunks/fr-gQSilC7w.js +220 -0
  92. package/dist/admin/chunks/fr-gQSilC7w.js.map +1 -0
  93. package/dist/admin/chunks/gu-D5MMMXRs.js +196 -0
  94. package/dist/admin/chunks/gu-D5MMMXRs.js.map +1 -0
  95. package/dist/admin/chunks/gu-DPU4wyx7.js +201 -0
  96. package/dist/{_chunks/eu-VDH-3ovk.js.map → admin/chunks/gu-DPU4wyx7.js.map} +1 -1
  97. package/dist/admin/chunks/hi-Dp4omeBb.js +201 -0
  98. package/dist/admin/chunks/hi-Dp4omeBb.js.map +1 -0
  99. package/dist/admin/chunks/hi-lp17SCjr.js +196 -0
  100. package/dist/admin/chunks/hi-lp17SCjr.js.map +1 -0
  101. package/dist/{_chunks/hooks-BAaaKPS_.js → admin/chunks/hooks-D-sOYd1s.js} +6 -3
  102. package/dist/admin/chunks/hooks-D-sOYd1s.js.map +1 -0
  103. package/dist/admin/chunks/hooks-DMvik5y_.js +7 -0
  104. package/dist/admin/chunks/hooks-DMvik5y_.js.map +1 -0
  105. package/dist/admin/chunks/hu-CLka1U2C.js +198 -0
  106. package/dist/admin/chunks/hu-CLka1U2C.js.map +1 -0
  107. package/dist/admin/chunks/hu-CtFJuhTd.js +203 -0
  108. package/dist/admin/chunks/hu-CtFJuhTd.js.map +1 -0
  109. package/dist/admin/chunks/id-D7V5S1rB.js +161 -0
  110. package/dist/{_chunks/it-DkBIs7vD.js.map → admin/chunks/id-D7V5S1rB.js.map} +1 -1
  111. package/dist/admin/chunks/id-USfY9m1g.js +156 -0
  112. package/dist/admin/chunks/id-USfY9m1g.js.map +1 -0
  113. package/dist/admin/chunks/index-Cj2lSt7S.js +5350 -0
  114. package/dist/admin/chunks/index-Cj2lSt7S.js.map +1 -0
  115. package/dist/admin/chunks/index-OSrndyon.js +5416 -0
  116. package/dist/admin/chunks/index-OSrndyon.js.map +1 -0
  117. package/dist/admin/chunks/it-BAHrwmYS.js +158 -0
  118. package/dist/admin/chunks/it-BAHrwmYS.js.map +1 -0
  119. package/dist/admin/chunks/it-CQFpa_Dc.js +163 -0
  120. package/dist/{_chunks/es-EUonQTon.js.map → admin/chunks/it-CQFpa_Dc.js.map} +1 -1
  121. package/dist/admin/chunks/ja-BWKmBJFT.js +192 -0
  122. package/dist/admin/chunks/ja-BWKmBJFT.js.map +1 -0
  123. package/dist/admin/chunks/ja-jdQM-B79.js +197 -0
  124. package/dist/admin/chunks/ja-jdQM-B79.js.map +1 -0
  125. package/dist/admin/chunks/ko-CgADGBNt.js +191 -0
  126. package/dist/admin/chunks/ko-CgADGBNt.js.map +1 -0
  127. package/dist/admin/chunks/ko-k46sEyzt.js +196 -0
  128. package/dist/admin/chunks/ko-k46sEyzt.js.map +1 -0
  129. package/dist/admin/chunks/layout-DZO1GLQr.js +598 -0
  130. package/dist/admin/chunks/layout-DZO1GLQr.js.map +1 -0
  131. package/dist/admin/chunks/layout-ixNm7FpJ.js +618 -0
  132. package/dist/admin/chunks/layout-ixNm7FpJ.js.map +1 -0
  133. package/dist/admin/chunks/ml-CnhCfOn_.js +196 -0
  134. package/dist/admin/chunks/ml-CnhCfOn_.js.map +1 -0
  135. package/dist/admin/chunks/ml-DqxPwODx.js +201 -0
  136. package/dist/admin/chunks/ml-DqxPwODx.js.map +1 -0
  137. package/dist/admin/chunks/ms-Bh09NFff.js +140 -0
  138. package/dist/{_chunks/uk-C8EiqJY7.js.map → admin/chunks/ms-Bh09NFff.js.map} +1 -1
  139. package/dist/admin/chunks/ms-CvSC0OdG.js +145 -0
  140. package/dist/admin/chunks/ms-CvSC0OdG.js.map +1 -0
  141. package/dist/admin/chunks/nl-BEubhS8C.js +203 -0
  142. package/dist/admin/chunks/nl-BEubhS8C.js.map +1 -0
  143. package/dist/admin/chunks/nl-C8HYflTc.js +198 -0
  144. package/dist/admin/chunks/nl-C8HYflTc.js.map +1 -0
  145. package/dist/admin/chunks/objects-C3EebVVe.js +76 -0
  146. package/dist/admin/chunks/objects-C3EebVVe.js.map +1 -0
  147. package/dist/admin/chunks/objects-wl73iEma.js +73 -0
  148. package/dist/admin/chunks/objects-wl73iEma.js.map +1 -0
  149. package/dist/admin/chunks/pl-DWhGDzmM.js +200 -0
  150. package/dist/{_chunks/ca-Cmk45QO6.js.map → admin/chunks/pl-DWhGDzmM.js.map} +1 -1
  151. package/dist/admin/chunks/pl-MFCZJZuZ.js +195 -0
  152. package/dist/admin/chunks/pl-MFCZJZuZ.js.map +1 -0
  153. package/dist/admin/chunks/pt-BR-CPtAXD-4.js +202 -0
  154. package/dist/admin/chunks/pt-BR-CPtAXD-4.js.map +1 -0
  155. package/dist/admin/chunks/pt-BR-CcotyBGJ.js +197 -0
  156. package/dist/{_chunks/pt-BR-BiOz37D9.js.map → admin/chunks/pt-BR-CcotyBGJ.js.map} +1 -1
  157. package/dist/admin/chunks/pt-BoPxN80n.js +96 -0
  158. package/dist/admin/chunks/pt-BoPxN80n.js.map +1 -0
  159. package/dist/admin/chunks/pt-HbmgeiYO.js +93 -0
  160. package/dist/admin/chunks/pt-HbmgeiYO.js.map +1 -0
  161. package/dist/admin/chunks/relations-CQOKwshG.js +178 -0
  162. package/dist/admin/chunks/relations-CQOKwshG.js.map +1 -0
  163. package/dist/admin/chunks/relations-Cdrtwdwh.js +173 -0
  164. package/dist/admin/chunks/relations-Cdrtwdwh.js.map +1 -0
  165. package/dist/admin/chunks/ru-C0op0ALG.js +232 -0
  166. package/dist/admin/chunks/ru-C0op0ALG.js.map +1 -0
  167. package/dist/admin/chunks/ru-CB4BUyQp.js +230 -0
  168. package/dist/admin/chunks/ru-CB4BUyQp.js.map +1 -0
  169. package/dist/admin/chunks/sa-B_FuPyMw.js +201 -0
  170. package/dist/admin/chunks/sa-B_FuPyMw.js.map +1 -0
  171. package/dist/admin/chunks/sa-n_aPA-pU.js +196 -0
  172. package/dist/admin/chunks/sa-n_aPA-pU.js.map +1 -0
  173. package/dist/admin/chunks/sk-D_iXML2C.js +203 -0
  174. package/dist/admin/chunks/sk-D_iXML2C.js.map +1 -0
  175. package/dist/admin/chunks/sk-tn_BDjE2.js +198 -0
  176. package/dist/admin/chunks/sk-tn_BDjE2.js.map +1 -0
  177. package/dist/admin/chunks/sv-BstBC1Yp.js +203 -0
  178. package/dist/admin/chunks/sv-BstBC1Yp.js.map +1 -0
  179. package/dist/admin/chunks/sv-cq4ZrQRd.js +198 -0
  180. package/dist/admin/chunks/sv-cq4ZrQRd.js.map +1 -0
  181. package/dist/admin/chunks/th-lXoOCqPC.js +149 -0
  182. package/dist/{_chunks/th-D9_GfAjc.js.map → admin/chunks/th-lXoOCqPC.js.map} +1 -1
  183. package/dist/admin/chunks/th-mUH7hEtc.js +144 -0
  184. package/dist/admin/chunks/th-mUH7hEtc.js.map +1 -0
  185. package/dist/admin/chunks/tr-CkS6sLIE.js +200 -0
  186. package/dist/admin/chunks/tr-CkS6sLIE.js.map +1 -0
  187. package/dist/admin/chunks/tr-Yt38daxh.js +195 -0
  188. package/dist/admin/chunks/tr-Yt38daxh.js.map +1 -0
  189. package/dist/admin/chunks/uk-B24MoTVg.js +145 -0
  190. package/dist/admin/chunks/uk-B24MoTVg.js.map +1 -0
  191. package/dist/admin/chunks/uk-Cpgmm7gE.js +140 -0
  192. package/dist/admin/chunks/uk-Cpgmm7gE.js.map +1 -0
  193. package/dist/admin/chunks/useDragAndDrop-HYwNDExe.js +247 -0
  194. package/dist/admin/chunks/useDragAndDrop-HYwNDExe.js.map +1 -0
  195. package/dist/admin/chunks/useDragAndDrop-gcqEJMnO.js +271 -0
  196. package/dist/admin/chunks/useDragAndDrop-gcqEJMnO.js.map +1 -0
  197. package/dist/admin/chunks/usePrev-Bjw2dhmq.js +18 -0
  198. package/dist/admin/chunks/usePrev-Bjw2dhmq.js.map +1 -0
  199. package/dist/admin/chunks/usePrev-DIYl-IAL.js +21 -0
  200. package/dist/admin/chunks/usePrev-DIYl-IAL.js.map +1 -0
  201. package/dist/admin/chunks/vi-BGr1X_HZ.js +112 -0
  202. package/dist/admin/chunks/vi-BGr1X_HZ.js.map +1 -0
  203. package/dist/admin/chunks/vi-CvBGlTjr.js +108 -0
  204. package/dist/{_chunks/vi-CJlYDheJ.js.map → admin/chunks/vi-CvBGlTjr.js.map} +1 -1
  205. package/dist/admin/chunks/zh-BmF-sHaT.js +205 -0
  206. package/dist/admin/chunks/zh-BmF-sHaT.js.map +1 -0
  207. package/dist/admin/chunks/zh-DwFu_Kfj.js +210 -0
  208. package/dist/admin/chunks/zh-DwFu_Kfj.js.map +1 -0
  209. package/dist/admin/chunks/zh-Hans-CI0HKio3.js +934 -0
  210. package/dist/{_chunks/zh-Hans-9kOncHGw.js.map → admin/chunks/zh-Hans-CI0HKio3.js.map} +1 -1
  211. package/dist/admin/chunks/zh-Hans-JVK9x7xr.js +953 -0
  212. package/dist/{_chunks/zh-Hans-BPQcRIyH.mjs.map → admin/chunks/zh-Hans-JVK9x7xr.js.map} +1 -1
  213. package/dist/admin/index.js +25 -4
  214. package/dist/admin/index.js.map +1 -1
  215. package/dist/admin/index.mjs +16 -11
  216. package/dist/admin/index.mjs.map +1 -1
  217. package/dist/admin/src/content-manager.d.ts +3 -2
  218. package/dist/admin/src/exports.d.ts +2 -1
  219. package/dist/admin/src/history/services/historyVersion.d.ts +2 -2
  220. package/dist/admin/src/hooks/useDocument.d.ts +50 -2
  221. package/dist/admin/src/pages/EditView/EditViewPage.d.ts +9 -1
  222. package/dist/admin/src/pages/EditView/components/DocumentActions.d.ts +1 -1
  223. package/dist/admin/src/pages/EditView/components/DocumentStatus.d.ts +3 -3
  224. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Code.d.ts +55 -0
  225. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/constants.d.ts +1 -0
  226. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicComponent.d.ts +4 -1
  227. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/Field.d.ts +4 -1
  228. package/dist/admin/src/pages/EditView/components/FormLayout.d.ts +27 -0
  229. package/dist/admin/src/pages/EditView/components/Header.d.ts +1 -0
  230. package/dist/admin/src/pages/EditView/utils/data.d.ts +1 -0
  231. package/dist/admin/src/preview/components/PreviewContent.d.ts +3 -0
  232. package/dist/admin/src/preview/components/PreviewHeader.d.ts +3 -0
  233. package/dist/admin/src/preview/components/PreviewSidePanel.d.ts +3 -0
  234. package/dist/admin/src/preview/index.d.ts +3 -0
  235. package/dist/admin/src/preview/pages/Preview.d.ts +11 -0
  236. package/dist/admin/src/preview/routes.d.ts +3 -0
  237. package/dist/admin/src/preview/services/preview.d.ts +3 -0
  238. package/dist/admin/src/router.d.ts +1 -1
  239. package/dist/admin/src/services/api.d.ts +1 -1
  240. package/dist/admin/src/services/components.d.ts +2 -2
  241. package/dist/admin/src/services/contentTypes.d.ts +3 -3
  242. package/dist/admin/src/services/documents.d.ts +16 -19
  243. package/dist/admin/src/services/init.d.ts +1 -1
  244. package/dist/admin/src/services/relations.d.ts +2 -2
  245. package/dist/admin/src/services/uid.d.ts +3 -3
  246. package/dist/server/index.js +5473 -4144
  247. package/dist/server/index.js.map +1 -1
  248. package/dist/server/index.mjs +5452 -4120
  249. package/dist/server/index.mjs.map +1 -1
  250. package/dist/server/src/bootstrap.d.ts.map +1 -1
  251. package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
  252. package/dist/server/src/controllers/index.d.ts.map +1 -1
  253. package/dist/server/src/controllers/relations.d.ts.map +1 -1
  254. package/dist/server/src/controllers/utils/metadata.d.ts +17 -2
  255. package/dist/server/src/controllers/utils/metadata.d.ts.map +1 -1
  256. package/dist/server/src/history/controllers/history-version.d.ts +1 -1
  257. package/dist/server/src/history/controllers/history-version.d.ts.map +1 -1
  258. package/dist/server/src/history/services/history.d.ts +3 -3
  259. package/dist/server/src/history/services/history.d.ts.map +1 -1
  260. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  261. package/dist/server/src/history/services/utils.d.ts +6 -11
  262. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  263. package/dist/server/src/index.d.ts +7 -6
  264. package/dist/server/src/index.d.ts.map +1 -1
  265. package/dist/server/src/preview/controllers/index.d.ts +2 -0
  266. package/dist/server/src/preview/controllers/index.d.ts.map +1 -0
  267. package/dist/server/src/preview/controllers/preview.d.ts +13 -0
  268. package/dist/server/src/preview/controllers/preview.d.ts.map +1 -0
  269. package/dist/server/src/preview/controllers/validation/preview.d.ts +6 -0
  270. package/dist/server/src/preview/controllers/validation/preview.d.ts.map +1 -0
  271. package/dist/server/src/preview/index.d.ts +4 -0
  272. package/dist/server/src/preview/index.d.ts.map +1 -0
  273. package/dist/server/src/preview/routes/index.d.ts +8 -0
  274. package/dist/server/src/preview/routes/index.d.ts.map +1 -0
  275. package/dist/server/src/preview/routes/preview.d.ts +4 -0
  276. package/dist/server/src/preview/routes/preview.d.ts.map +1 -0
  277. package/dist/server/src/preview/services/index.d.ts +16 -0
  278. package/dist/server/src/preview/services/index.d.ts.map +1 -0
  279. package/dist/server/src/preview/services/preview-config.d.ts +32 -0
  280. package/dist/server/src/preview/services/preview-config.d.ts.map +1 -0
  281. package/dist/server/src/preview/services/preview.d.ts +12 -0
  282. package/dist/server/src/preview/services/preview.d.ts.map +1 -0
  283. package/dist/server/src/preview/utils.d.ts +19 -0
  284. package/dist/server/src/preview/utils.d.ts.map +1 -0
  285. package/dist/server/src/register.d.ts.map +1 -1
  286. package/dist/server/src/routes/index.d.ts.map +1 -1
  287. package/dist/server/src/services/document-manager.d.ts.map +1 -1
  288. package/dist/server/src/services/document-metadata.d.ts +12 -10
  289. package/dist/server/src/services/document-metadata.d.ts.map +1 -1
  290. package/dist/server/src/services/index.d.ts +7 -6
  291. package/dist/server/src/services/index.d.ts.map +1 -1
  292. package/dist/server/src/services/utils/count.d.ts +1 -1
  293. package/dist/server/src/services/utils/count.d.ts.map +1 -1
  294. package/dist/server/src/services/utils/populate.d.ts +3 -3
  295. package/dist/server/src/services/utils/populate.d.ts.map +1 -1
  296. package/dist/server/src/utils/index.d.ts +2 -0
  297. package/dist/server/src/utils/index.d.ts.map +1 -1
  298. package/dist/shared/contracts/collection-types.d.ts +0 -1
  299. package/dist/shared/contracts/components.d.ts +0 -1
  300. package/dist/shared/contracts/content-types.d.ts +0 -1
  301. package/dist/shared/contracts/history-versions.d.ts +0 -1
  302. package/dist/shared/contracts/index.d.ts +1 -1
  303. package/dist/shared/contracts/index.d.ts.map +1 -1
  304. package/dist/shared/contracts/init.d.ts +0 -1
  305. package/dist/shared/contracts/preview.d.ts +26 -0
  306. package/dist/shared/contracts/preview.d.ts.map +1 -0
  307. package/dist/shared/contracts/relations.d.ts +1 -2
  308. package/dist/shared/contracts/relations.d.ts.map +1 -1
  309. package/dist/shared/contracts/review-workflows.d.ts +0 -1
  310. package/dist/shared/contracts/single-types.d.ts +0 -1
  311. package/dist/shared/contracts/uid.d.ts +0 -1
  312. package/dist/shared/index.d.ts +0 -1
  313. package/dist/shared/index.js +37 -22
  314. package/dist/shared/index.js.map +1 -1
  315. package/dist/shared/index.mjs +36 -23
  316. package/dist/shared/index.mjs.map +1 -1
  317. package/package.json +23 -19
  318. package/dist/_chunks/CardDragPreview-C0QyJgRA.js +0 -69
  319. package/dist/_chunks/CardDragPreview-C0QyJgRA.js.map +0 -1
  320. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs +0 -70
  321. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs.map +0 -1
  322. package/dist/_chunks/ComponentConfigurationPage-CpBFh6_r.mjs +0 -236
  323. package/dist/_chunks/ComponentConfigurationPage-CpBFh6_r.mjs.map +0 -1
  324. package/dist/_chunks/ComponentConfigurationPage-_zF8p6CY.js +0 -255
  325. package/dist/_chunks/ComponentConfigurationPage-_zF8p6CY.js.map +0 -1
  326. package/dist/_chunks/ComponentIcon-BXdiCGQp.js +0 -176
  327. package/dist/_chunks/ComponentIcon-BXdiCGQp.js.map +0 -1
  328. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs +0 -157
  329. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs.map +0 -1
  330. package/dist/_chunks/EditConfigurationPage-CE_yavTi.mjs +0 -132
  331. package/dist/_chunks/EditConfigurationPage-CE_yavTi.mjs.map +0 -1
  332. package/dist/_chunks/EditConfigurationPage-_aG2DJSU.js +0 -151
  333. package/dist/_chunks/EditConfigurationPage-_aG2DJSU.js.map +0 -1
  334. package/dist/_chunks/EditViewPage-DeTn7rAF.mjs +0 -214
  335. package/dist/_chunks/EditViewPage-DeTn7rAF.mjs.map +0 -1
  336. package/dist/_chunks/EditViewPage-G9uNzwYL.js +0 -233
  337. package/dist/_chunks/EditViewPage-G9uNzwYL.js.map +0 -1
  338. package/dist/_chunks/Field-CnCKhI1R.mjs +0 -5519
  339. package/dist/_chunks/Field-CnCKhI1R.mjs.map +0 -1
  340. package/dist/_chunks/Field-DDHUWEfV.js +0 -5551
  341. package/dist/_chunks/Field-DDHUWEfV.js.map +0 -1
  342. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs +0 -50
  343. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs.map +0 -1
  344. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js +0 -49
  345. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js.map +0 -1
  346. package/dist/_chunks/Form-DYETaKUX.js +0 -779
  347. package/dist/_chunks/Form-DYETaKUX.js.map +0 -1
  348. package/dist/_chunks/Form-IvVVwqRL.mjs +0 -758
  349. package/dist/_chunks/Form-IvVVwqRL.mjs.map +0 -1
  350. package/dist/_chunks/History-BMunT-do.mjs +0 -1032
  351. package/dist/_chunks/History-BMunT-do.mjs.map +0 -1
  352. package/dist/_chunks/History-CnZDctSO.js +0 -1053
  353. package/dist/_chunks/History-CnZDctSO.js.map +0 -1
  354. package/dist/_chunks/ListConfigurationPage-BynalOp8.js +0 -652
  355. package/dist/_chunks/ListConfigurationPage-BynalOp8.js.map +0 -1
  356. package/dist/_chunks/ListConfigurationPage-CDqkCxgV.mjs +0 -632
  357. package/dist/_chunks/ListConfigurationPage-CDqkCxgV.mjs.map +0 -1
  358. package/dist/_chunks/ListViewPage-I88Ouzoq.js +0 -848
  359. package/dist/_chunks/ListViewPage-I88Ouzoq.js.map +0 -1
  360. package/dist/_chunks/ListViewPage-_5gS-DOF.mjs +0 -824
  361. package/dist/_chunks/ListViewPage-_5gS-DOF.mjs.map +0 -1
  362. package/dist/_chunks/NoContentTypePage-BaWQ7HsA.js +0 -51
  363. package/dist/_chunks/NoContentTypePage-BaWQ7HsA.js.map +0 -1
  364. package/dist/_chunks/NoContentTypePage-Dht-55hr.mjs +0 -51
  365. package/dist/_chunks/NoContentTypePage-Dht-55hr.mjs.map +0 -1
  366. package/dist/_chunks/NoPermissionsPage-Bs8D5W_v.mjs +0 -23
  367. package/dist/_chunks/NoPermissionsPage-Bs8D5W_v.mjs.map +0 -1
  368. package/dist/_chunks/NoPermissionsPage-DCVUh5at.js +0 -23
  369. package/dist/_chunks/NoPermissionsPage-DCVUh5at.js.map +0 -1
  370. package/dist/_chunks/Relations-BPgFQeGj.js +0 -714
  371. package/dist/_chunks/Relations-BPgFQeGj.js.map +0 -1
  372. package/dist/_chunks/Relations-Chdt5qWc.mjs +0 -694
  373. package/dist/_chunks/Relations-Chdt5qWc.mjs.map +0 -1
  374. package/dist/_chunks/ar-BUUWXIYu.js +0 -226
  375. package/dist/_chunks/ar-BUUWXIYu.js.map +0 -1
  376. package/dist/_chunks/ar-CCEVvqGG.mjs +0 -226
  377. package/dist/_chunks/ar-CCEVvqGG.mjs.map +0 -1
  378. package/dist/_chunks/ca-5U32ON2v.mjs +0 -201
  379. package/dist/_chunks/ca-5U32ON2v.mjs.map +0 -1
  380. package/dist/_chunks/ca-Cmk45QO6.js +0 -201
  381. package/dist/_chunks/cs-CM2aBUar.mjs +0 -125
  382. package/dist/_chunks/cs-CM2aBUar.mjs.map +0 -1
  383. package/dist/_chunks/cs-CkJy6B2v.js +0 -125
  384. package/dist/_chunks/de-C72KDNOl.mjs +0 -199
  385. package/dist/_chunks/de-C72KDNOl.mjs.map +0 -1
  386. package/dist/_chunks/de-CCEmbAah.js +0 -199
  387. package/dist/_chunks/en-BVzUkPxZ.js +0 -293
  388. package/dist/_chunks/en-CPTj6CjC.mjs +0 -293
  389. package/dist/_chunks/en-CPTj6CjC.mjs.map +0 -1
  390. package/dist/_chunks/es-CeXiYflN.mjs +0 -196
  391. package/dist/_chunks/es-CeXiYflN.mjs.map +0 -1
  392. package/dist/_chunks/es-EUonQTon.js +0 -196
  393. package/dist/_chunks/eu-CdALomew.mjs +0 -202
  394. package/dist/_chunks/eu-CdALomew.mjs.map +0 -1
  395. package/dist/_chunks/eu-VDH-3ovk.js +0 -202
  396. package/dist/_chunks/fr-B7kGGg3E.js +0 -206
  397. package/dist/_chunks/fr-B7kGGg3E.js.map +0 -1
  398. package/dist/_chunks/fr-CD9VFbPM.mjs +0 -206
  399. package/dist/_chunks/fr-CD9VFbPM.mjs.map +0 -1
  400. package/dist/_chunks/gu-BRmF601H.js +0 -200
  401. package/dist/_chunks/gu-CNpaMDpH.mjs +0 -200
  402. package/dist/_chunks/gu-CNpaMDpH.mjs.map +0 -1
  403. package/dist/_chunks/hi-CCJBptSq.js +0 -200
  404. package/dist/_chunks/hi-CCJBptSq.js.map +0 -1
  405. package/dist/_chunks/hi-Dwvd04m3.mjs +0 -200
  406. package/dist/_chunks/hi-Dwvd04m3.mjs.map +0 -1
  407. package/dist/_chunks/hooks-BAaaKPS_.js.map +0 -1
  408. package/dist/_chunks/hooks-E5u1mcgM.mjs +0 -8
  409. package/dist/_chunks/hooks-E5u1mcgM.mjs.map +0 -1
  410. package/dist/_chunks/hu-CeYvaaO0.mjs +0 -202
  411. package/dist/_chunks/hu-CeYvaaO0.mjs.map +0 -1
  412. package/dist/_chunks/hu-sNV_yLYy.js +0 -202
  413. package/dist/_chunks/hu-sNV_yLYy.js.map +0 -1
  414. package/dist/_chunks/id-B5Ser98A.js +0 -160
  415. package/dist/_chunks/id-B5Ser98A.js.map +0 -1
  416. package/dist/_chunks/id-BtwA9WJT.mjs +0 -160
  417. package/dist/_chunks/id-BtwA9WJT.mjs.map +0 -1
  418. package/dist/_chunks/index-BhbLFX4l.js +0 -4044
  419. package/dist/_chunks/index-BhbLFX4l.js.map +0 -1
  420. package/dist/_chunks/index-D4UGPFZC.mjs +0 -4025
  421. package/dist/_chunks/index-D4UGPFZC.mjs.map +0 -1
  422. package/dist/_chunks/it-BrVPqaf1.mjs +0 -162
  423. package/dist/_chunks/it-BrVPqaf1.mjs.map +0 -1
  424. package/dist/_chunks/it-DkBIs7vD.js +0 -162
  425. package/dist/_chunks/ja-CcFe8diO.js +0 -196
  426. package/dist/_chunks/ja-CtsUxOvk.mjs +0 -196
  427. package/dist/_chunks/ja-CtsUxOvk.mjs.map +0 -1
  428. package/dist/_chunks/ko-HVQRlfUI.mjs +0 -195
  429. package/dist/_chunks/ko-HVQRlfUI.mjs.map +0 -1
  430. package/dist/_chunks/ko-woFZPmLk.js +0 -195
  431. package/dist/_chunks/layout-CYA7s0qO.js +0 -489
  432. package/dist/_chunks/layout-CYA7s0qO.js.map +0 -1
  433. package/dist/_chunks/layout-D4HI4_PS.mjs +0 -471
  434. package/dist/_chunks/layout-D4HI4_PS.mjs.map +0 -1
  435. package/dist/_chunks/ml-BihZwQit.mjs +0 -200
  436. package/dist/_chunks/ml-BihZwQit.mjs.map +0 -1
  437. package/dist/_chunks/ml-C2W8N8k1.js +0 -200
  438. package/dist/_chunks/ml-C2W8N8k1.js.map +0 -1
  439. package/dist/_chunks/ms-BuFotyP_.js +0 -144
  440. package/dist/_chunks/ms-m_WjyWx7.mjs +0 -144
  441. package/dist/_chunks/ms-m_WjyWx7.mjs.map +0 -1
  442. package/dist/_chunks/nl-D4R9gHx5.mjs +0 -202
  443. package/dist/_chunks/nl-D4R9gHx5.mjs.map +0 -1
  444. package/dist/_chunks/nl-bbEOHChV.js +0 -202
  445. package/dist/_chunks/nl-bbEOHChV.js.map +0 -1
  446. package/dist/_chunks/objects-gigeqt7s.js +0 -49
  447. package/dist/_chunks/objects-gigeqt7s.js.map +0 -1
  448. package/dist/_chunks/objects-mKMAmfec.mjs +0 -47
  449. package/dist/_chunks/objects-mKMAmfec.mjs.map +0 -1
  450. package/dist/_chunks/pl-sbx9mSt_.mjs +0 -199
  451. package/dist/_chunks/pl-sbx9mSt_.mjs.map +0 -1
  452. package/dist/_chunks/pl-uzwG-hk7.js +0 -199
  453. package/dist/_chunks/pl-uzwG-hk7.js.map +0 -1
  454. package/dist/_chunks/pt-BR-BiOz37D9.js +0 -201
  455. package/dist/_chunks/pt-BR-C71iDxnh.mjs +0 -201
  456. package/dist/_chunks/pt-BR-C71iDxnh.mjs.map +0 -1
  457. package/dist/_chunks/pt-BsaFvS8-.mjs +0 -95
  458. package/dist/_chunks/pt-BsaFvS8-.mjs.map +0 -1
  459. package/dist/_chunks/pt-CeXQuq50.js +0 -95
  460. package/dist/_chunks/pt-CeXQuq50.js.map +0 -1
  461. package/dist/_chunks/relations-1pXaYpBK.mjs +0 -135
  462. package/dist/_chunks/relations-1pXaYpBK.mjs.map +0 -1
  463. package/dist/_chunks/relations-DDZ9OxNo.js +0 -134
  464. package/dist/_chunks/relations-DDZ9OxNo.js.map +0 -1
  465. package/dist/_chunks/ru-BE6A4Exp.mjs +0 -231
  466. package/dist/_chunks/ru-BE6A4Exp.mjs.map +0 -1
  467. package/dist/_chunks/ru-BT3ybNny.js +0 -231
  468. package/dist/_chunks/sa-CcvkYInH.js +0 -200
  469. package/dist/_chunks/sa-CcvkYInH.js.map +0 -1
  470. package/dist/_chunks/sa-Dag0k-Z8.mjs +0 -200
  471. package/dist/_chunks/sa-Dag0k-Z8.mjs.map +0 -1
  472. package/dist/_chunks/sk-BFg-R8qJ.mjs +0 -202
  473. package/dist/_chunks/sk-BFg-R8qJ.mjs.map +0 -1
  474. package/dist/_chunks/sk-CvY09Xjv.js +0 -202
  475. package/dist/_chunks/sk-CvY09Xjv.js.map +0 -1
  476. package/dist/_chunks/sv-CUnfWGsh.mjs +0 -202
  477. package/dist/_chunks/sv-CUnfWGsh.mjs.map +0 -1
  478. package/dist/_chunks/sv-MYDuzgvT.js +0 -202
  479. package/dist/_chunks/sv-MYDuzgvT.js.map +0 -1
  480. package/dist/_chunks/th-BqbI8lIT.mjs +0 -148
  481. package/dist/_chunks/th-BqbI8lIT.mjs.map +0 -1
  482. package/dist/_chunks/th-D9_GfAjc.js +0 -148
  483. package/dist/_chunks/tr-CgeK3wJM.mjs +0 -199
  484. package/dist/_chunks/tr-CgeK3wJM.mjs.map +0 -1
  485. package/dist/_chunks/tr-D9UH-O_R.js +0 -199
  486. package/dist/_chunks/tr-D9UH-O_R.js.map +0 -1
  487. package/dist/_chunks/uk-C8EiqJY7.js +0 -144
  488. package/dist/_chunks/uk-CR-zDhAY.mjs +0 -144
  489. package/dist/_chunks/uk-CR-zDhAY.mjs.map +0 -1
  490. package/dist/_chunks/useDebounce-CtcjDB3L.js +0 -28
  491. package/dist/_chunks/useDebounce-CtcjDB3L.js.map +0 -1
  492. package/dist/_chunks/useDebounce-DmuSJIF3.mjs +0 -29
  493. package/dist/_chunks/useDebounce-DmuSJIF3.mjs.map +0 -1
  494. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs +0 -231
  495. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs.map +0 -1
  496. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js +0 -249
  497. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js.map +0 -1
  498. package/dist/_chunks/vi-CJlYDheJ.js +0 -111
  499. package/dist/_chunks/vi-DUXIk_fw.mjs +0 -111
  500. package/dist/_chunks/vi-DUXIk_fw.mjs.map +0 -1
  501. package/dist/_chunks/zh-BWZspA60.mjs +0 -209
  502. package/dist/_chunks/zh-BWZspA60.mjs.map +0 -1
  503. package/dist/_chunks/zh-CQQfszqR.js +0 -209
  504. package/dist/_chunks/zh-CQQfszqR.js.map +0 -1
  505. package/dist/_chunks/zh-Hans-9kOncHGw.js +0 -952
  506. package/dist/_chunks/zh-Hans-BPQcRIyH.mjs +0 -952
  507. package/strapi-server.js +0 -3
@@ -0,0 +1,26 @@
1
+ import type { Data, UID } from '@strapi/types';
2
+ import { type errors } from '@strapi/utils';
3
+ /**
4
+ * GET /content-manager/preview/url/:uid
5
+ */
6
+ export declare namespace GetPreviewUrl {
7
+ interface Request {
8
+ params: {
9
+ contentType: UID.ContentType;
10
+ };
11
+ query: {
12
+ documentId?: Data.DocumentID;
13
+ locale?: string;
14
+ status?: 'published' | 'draft';
15
+ };
16
+ }
17
+ type Response = {
18
+ data: {
19
+ url: string | undefined;
20
+ };
21
+ error?: never;
22
+ } | {
23
+ data?: never;
24
+ error: errors.ApplicationError | errors.ValidationError | errors.NotFoundError;
25
+ };
26
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../shared/contracts/preview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C;;GAEG;AACH,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,UAAiB,OAAO;QACtB,MAAM,EAAE;YACN,WAAW,EAAE,GAAG,CAAC,WAAW,CAAC;SAC9B,CAAC;QACF,KAAK,EAAE;YACL,UAAU,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC;YAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;YAChB,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC;SAChC,CAAC;KACH;IAGD,KAAY,QAAQ,GAChB;QACE,IAAI,EAAE;YACJ,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;SACzB,CAAC;QACF,KAAK,CAAC,EAAE,KAAK,CAAC;KACf,GACD;QACE,IAAI,CAAC,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,MAAM,CAAC,gBAAgB,GAAG,MAAM,CAAC,eAAe,GAAG,MAAM,CAAC,aAAa,CAAC;KAChF,CAAC;CACP"}
@@ -1,4 +1,4 @@
1
- import { Modules, Data } from '@strapi/types';
1
+ import type { Modules, Data } from '@strapi/types';
2
2
  import { errors } from '@strapi/utils';
3
3
  type PaginationQuery = Modules.EntityService.Params.Pagination.PageNotation;
4
4
  export interface RelationResult {
@@ -67,4 +67,3 @@ export declare namespace FindExisting {
67
67
  type Response = RelationResponse;
68
68
  }
69
69
  export {};
70
- //# sourceMappingURL=relations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"relations.d.ts","sourceRoot":"","sources":["../../../shared/contracts/relations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC9C,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{
75
75
  }
76
76
  }
77
77
  export type { UpdateAssignee, UpdateStage, GetStages, Stage, StagePermission };
78
- //# sourceMappingURL=review-workflows.d.ts.map
@@ -110,4 +110,3 @@ export declare namespace CountDraftRelations {
110
110
  }
111
111
  }
112
112
  export {};
113
- //# sourceMappingURL=single-types.d.ts.map
@@ -45,4 +45,3 @@ export declare namespace CheckUIDAvailability {
45
45
  };
46
46
  }
47
47
  export {};
48
- //# sourceMappingURL=uid.d.ts.map
@@ -1,2 +1 @@
1
1
  export * as Contracts from './contracts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,43 +1,58 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const collectionTypes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1
+ 'use strict';
2
+
3
+ var collectionTypes = /*#__PURE__*/Object.freeze({
4
4
  __proto__: null
5
- }, Symbol.toStringTag, { value: "Module" }));
6
- const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5
+ });
6
+
7
+ var components = /*#__PURE__*/Object.freeze({
7
8
  __proto__: null
8
- }, Symbol.toStringTag, { value: "Module" }));
9
- const contentTypes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9
+ });
10
+
11
+ var contentTypes = /*#__PURE__*/Object.freeze({
10
12
  __proto__: null
11
- }, Symbol.toStringTag, { value: "Module" }));
12
- const init = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
+ });
14
+
15
+ var init = /*#__PURE__*/Object.freeze({
13
16
  __proto__: null
14
- }, Symbol.toStringTag, { value: "Module" }));
15
- const relations = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17
+ });
18
+
19
+ var relations = /*#__PURE__*/Object.freeze({
16
20
  __proto__: null
17
- }, Symbol.toStringTag, { value: "Module" }));
18
- const singleTypes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
21
+ });
22
+
23
+ var singleTypes = /*#__PURE__*/Object.freeze({
19
24
  __proto__: null
20
- }, Symbol.toStringTag, { value: "Module" }));
21
- const uid = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
+ });
26
+
27
+ var uid = /*#__PURE__*/Object.freeze({
22
28
  __proto__: null
23
- }, Symbol.toStringTag, { value: "Module" }));
24
- const reviewWorkflows = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29
+ });
30
+
31
+ var reviewWorkflows = /*#__PURE__*/Object.freeze({
25
32
  __proto__: null
26
- }, Symbol.toStringTag, { value: "Module" }));
27
- const historyVersions = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33
+ });
34
+
35
+ var historyVersions = /*#__PURE__*/Object.freeze({
28
36
  __proto__: null
29
- }, Symbol.toStringTag, { value: "Module" }));
30
- const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
37
+ });
38
+
39
+ var preview = /*#__PURE__*/Object.freeze({
40
+ __proto__: null
41
+ });
42
+
43
+ var index = /*#__PURE__*/Object.freeze({
31
44
  __proto__: null,
32
45
  CollectionTypes: collectionTypes,
33
46
  Components: components,
34
47
  ContentTypes: contentTypes,
35
48
  HistoryVersions: historyVersions,
36
49
  Init: init,
50
+ Preview: preview,
37
51
  Relations: relations,
38
52
  ReviewWorkflows: reviewWorkflows,
39
53
  SingleTypes: singleTypes,
40
54
  UID: uid
41
- }, Symbol.toStringTag, { value: "Module" }));
55
+ });
56
+
42
57
  exports.Contracts = index;
43
58
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,43 +1,56 @@
1
- const collectionTypes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1
+ var collectionTypes = /*#__PURE__*/Object.freeze({
2
2
  __proto__: null
3
- }, Symbol.toStringTag, { value: "Module" }));
4
- const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
+ });
4
+
5
+ var components = /*#__PURE__*/Object.freeze({
5
6
  __proto__: null
6
- }, Symbol.toStringTag, { value: "Module" }));
7
- const contentTypes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7
+ });
8
+
9
+ var contentTypes = /*#__PURE__*/Object.freeze({
8
10
  __proto__: null
9
- }, Symbol.toStringTag, { value: "Module" }));
10
- const init = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
+ });
12
+
13
+ var init = /*#__PURE__*/Object.freeze({
11
14
  __proto__: null
12
- }, Symbol.toStringTag, { value: "Module" }));
13
- const relations = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15
+ });
16
+
17
+ var relations = /*#__PURE__*/Object.freeze({
14
18
  __proto__: null
15
- }, Symbol.toStringTag, { value: "Module" }));
16
- const singleTypes = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
+ });
20
+
21
+ var singleTypes = /*#__PURE__*/Object.freeze({
17
22
  __proto__: null
18
- }, Symbol.toStringTag, { value: "Module" }));
19
- const uid = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23
+ });
24
+
25
+ var uid = /*#__PURE__*/Object.freeze({
20
26
  __proto__: null
21
- }, Symbol.toStringTag, { value: "Module" }));
22
- const reviewWorkflows = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27
+ });
28
+
29
+ var reviewWorkflows = /*#__PURE__*/Object.freeze({
23
30
  __proto__: null
24
- }, Symbol.toStringTag, { value: "Module" }));
25
- const historyVersions = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31
+ });
32
+
33
+ var historyVersions = /*#__PURE__*/Object.freeze({
26
34
  __proto__: null
27
- }, Symbol.toStringTag, { value: "Module" }));
28
- const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
+ });
36
+
37
+ var preview = /*#__PURE__*/Object.freeze({
38
+ __proto__: null
39
+ });
40
+
41
+ var index = /*#__PURE__*/Object.freeze({
29
42
  __proto__: null,
30
43
  CollectionTypes: collectionTypes,
31
44
  Components: components,
32
45
  ContentTypes: contentTypes,
33
46
  HistoryVersions: historyVersions,
34
47
  Init: init,
48
+ Preview: preview,
35
49
  Relations: relations,
36
50
  ReviewWorkflows: reviewWorkflows,
37
51
  SingleTypes: singleTypes,
38
52
  UID: uid
39
- }, Symbol.toStringTag, { value: "Module" }));
40
- export {
41
- index as Contracts
42
- };
53
+ });
54
+
55
+ export { index as Contracts };
43
56
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strapi/content-manager",
3
- "version": "0.0.0-experimental.e9122b401c96877b6707775c4f893660eab93ae3",
3
+ "version": "0.0.0-experimental.e9144fc8a193f9875a2c0832d689c14001c79f00",
4
4
  "description": "A powerful UI to easily manage your data.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,33 +37,37 @@
37
37
  "./strapi-server": {
38
38
  "types": "./dist/server/src/index.d.ts",
39
39
  "source": "./server/src/index.ts",
40
- "require": "./strapi-server.js",
41
- "default": "./strapi-server.js"
40
+ "require": "./dist/server/index.js",
41
+ "default": "./dist/server/index.js"
42
42
  },
43
43
  "./package.json": "./package.json"
44
44
  },
45
45
  "files": [
46
- "dist/",
47
- "strapi-server.js"
46
+ "dist/"
48
47
  ],
49
48
  "scripts": {
50
- "build": "pack-up build",
49
+ "build": "run -T npm-run-all clean --parallel build:code build:types",
50
+ "build:code": "run -T rollup -c",
51
+ "build:types": "run -T run-p build:types:server build:types:admin",
52
+ "build:types:server": "run -T tsc -p server/tsconfig.build.json --emitDeclarationOnly",
53
+ "build:types:admin": "run -T tsc -p admin/tsconfig.build.json --emitDeclarationOnly",
54
+ "clean": "run -T rimraf ./dist",
51
55
  "lint": "run -T eslint .",
52
56
  "test:front": "run -T cross-env IS_EE=true jest --config ./jest.config.front.js",
53
57
  "test:ts:back": "run -T tsc --noEmit -p server/tsconfig.json",
54
58
  "test:ts:front": "run -T tsc -p admin/tsconfig.json",
55
59
  "test:unit": "run -T jest",
56
60
  "test:unit:watch": "run -T jest --watch",
57
- "watch": "pack-up watch"
61
+ "watch": "run -T rollup -c -w"
58
62
  },
59
63
  "dependencies": {
60
64
  "@radix-ui/react-toolbar": "1.0.4",
61
65
  "@reduxjs/toolkit": "1.9.7",
62
66
  "@sindresorhus/slugify": "1.1.0",
63
- "@strapi/design-system": "2.0.0-rc.9",
64
- "@strapi/icons": "2.0.0-rc.9",
65
- "@strapi/types": "0.0.0-experimental.e9122b401c96877b6707775c4f893660eab93ae3",
66
- "@strapi/utils": "0.0.0-experimental.e9122b401c96877b6707775c4f893660eab93ae3",
67
+ "@strapi/design-system": "2.0.0-rc.14",
68
+ "@strapi/icons": "2.0.0-rc.14",
69
+ "@strapi/types": "0.0.0-experimental.e9144fc8a193f9875a2c0832d689c14001c79f00",
70
+ "@strapi/utils": "0.0.0-experimental.e9144fc8a193f9875a2c0832d689c14001c79f00",
67
71
  "codemirror5": "npm:codemirror@^5.65.11",
68
72
  "date-fns": "2.30.0",
69
73
  "fractional-indexing": "3.2.0",
@@ -82,6 +86,7 @@
82
86
  "markdown-it-sub": "^1.0.0",
83
87
  "markdown-it-sup": "1.0.0",
84
88
  "node-schedule": "2.1.1",
89
+ "prismjs": "^1.29.0",
85
90
  "qs": "6.11.1",
86
91
  "react-dnd": "16.0.1",
87
92
  "react-dnd-html5-backend": "16.0.1",
@@ -90,19 +95,19 @@
90
95
  "react-query": "3.39.3",
91
96
  "react-redux": "8.1.3",
92
97
  "react-window": "1.8.10",
93
- "sanitize-html": "2.11.0",
98
+ "sanitize-html": "2.13.0",
94
99
  "slate": "0.94.1",
95
100
  "slate-history": "0.93.0",
96
101
  "slate-react": "0.98.3",
97
102
  "yup": "0.32.9"
98
103
  },
99
104
  "devDependencies": {
100
- "@strapi/admin": "0.0.0-experimental.e9122b401c96877b6707775c4f893660eab93ae3",
101
- "@strapi/database": "0.0.0-experimental.e9122b401c96877b6707775c4f893660eab93ae3",
102
- "@strapi/pack-up": "5.0.0",
105
+ "@strapi/admin": "0.0.0-experimental.e9144fc8a193f9875a2c0832d689c14001c79f00",
106
+ "@strapi/database": "0.0.0-experimental.e9144fc8a193f9875a2c0832d689c14001c79f00",
103
107
  "@testing-library/react": "15.0.7",
104
108
  "@types/jest": "29.5.2",
105
109
  "@types/lodash": "^4.14.191",
110
+ "@types/prismjs": "1.26.5",
106
111
  "koa-body": "6.0.1",
107
112
  "msw": "1.3.0",
108
113
  "react": "18.3.1",
@@ -111,14 +116,14 @@
111
116
  "styled-components": "6.1.8"
112
117
  },
113
118
  "peerDependencies": {
114
- "@strapi/admin": "^5.0.0 || ^5.0.0-beta || ^5.0.0-alpha || ^5.0.0-rc",
119
+ "@strapi/admin": "^5.0.0",
115
120
  "react": "^17.0.0 || ^18.0.0",
116
121
  "react-dom": "^17.0.0 || ^18.0.0",
117
122
  "react-router-dom": "^6.0.0",
118
123
  "styled-components": "^6.0.0"
119
124
  },
120
125
  "engines": {
121
- "node": ">=18.0.0 <=20.x.x",
126
+ "node": ">=18.0.0 <=22.x.x",
122
127
  "npm": ">=6.0.0"
123
128
  },
124
129
  "strapi": {
@@ -128,6 +133,5 @@
128
133
  "description": "Quick way to see, edit and delete the data in your database.",
129
134
  "required": true,
130
135
  "kind": "plugin"
131
- },
132
- "gitHead": "e9122b401c96877b6707775c4f893660eab93ae3"
136
+ }
133
137
  }
@@ -1,69 +0,0 @@
1
- "use strict";
2
- const jsxRuntime = require("react/jsx-runtime");
3
- const designSystem = require("@strapi/design-system");
4
- const Icons = require("@strapi/icons");
5
- const styledComponents = require("styled-components");
6
- const CardDragPreview = ({ label, isSibling = false }) => {
7
- return /* @__PURE__ */ jsxRuntime.jsxs(
8
- FieldContainer,
9
- {
10
- background: isSibling ? "neutral100" : "primary100",
11
- display: "inline-flex",
12
- gap: 3,
13
- hasRadius: true,
14
- justifyContent: "space-between",
15
- $isSibling: isSibling,
16
- "max-height": `3.2rem`,
17
- maxWidth: "min-content",
18
- children: [
19
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 3, children: [
20
- /* @__PURE__ */ jsxRuntime.jsx(DragButton, { alignItems: "center", cursor: "all-scroll", padding: 3, children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Drag, {}) }),
21
- /* @__PURE__ */ jsxRuntime.jsx(
22
- designSystem.Typography,
23
- {
24
- textColor: isSibling ? void 0 : "primary600",
25
- fontWeight: "bold",
26
- ellipsis: true,
27
- maxWidth: "7.2rem",
28
- children: label
29
- }
30
- )
31
- ] }),
32
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { children: [
33
- /* @__PURE__ */ jsxRuntime.jsx(ActionBox, { alignItems: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Pencil, {}) }),
34
- /* @__PURE__ */ jsxRuntime.jsx(ActionBox, { alignItems: "center", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Cross, {}) })
35
- ] })
36
- ]
37
- }
38
- );
39
- };
40
- const ActionBox = styledComponents.styled(designSystem.Flex)`
41
- height: ${({ theme }) => theme.spaces[7]};
42
-
43
- &:last-child {
44
- padding: 0 ${({ theme }) => theme.spaces[3]};
45
- }
46
- `;
47
- const DragButton = styledComponents.styled(ActionBox)`
48
- border-right: 1px solid ${({ theme }) => theme.colors.primary200};
49
-
50
- svg {
51
- width: 1.2rem;
52
- height: 1.2rem;
53
- }
54
- `;
55
- const FieldContainer = styledComponents.styled(designSystem.Flex)`
56
- border: 1px solid
57
- ${({ theme, $isSibling }) => $isSibling ? theme.colors.neutral150 : theme.colors.primary200};
58
-
59
- svg {
60
- width: 1rem;
61
- height: 1rem;
62
-
63
- path {
64
- fill: ${({ theme, $isSibling }) => $isSibling ? void 0 : theme.colors.primary600};
65
- }
66
- }
67
- `;
68
- exports.CardDragPreview = CardDragPreview;
69
- //# sourceMappingURL=CardDragPreview-C0QyJgRA.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardDragPreview-C0QyJgRA.js","sources":["../../admin/src/components/DragPreviews/CardDragPreview.tsx"],"sourcesContent":["import { Flex, FlexComponent, Typography } from '@strapi/design-system';\nimport { Cross, Drag, Pencil } from '@strapi/icons';\nimport { styled } from 'styled-components';\n\ninterface CardDragPreviewProps {\n label: string;\n isSibling?: boolean;\n}\n\nconst CardDragPreview = ({ label, isSibling = false }: CardDragPreviewProps) => {\n return (\n <FieldContainer\n background={isSibling ? 'neutral100' : 'primary100'}\n display=\"inline-flex\"\n gap={3}\n hasRadius\n justifyContent=\"space-between\"\n $isSibling={isSibling}\n max-height={`3.2rem`}\n maxWidth=\"min-content\"\n >\n <Flex gap={3}>\n <DragButton alignItems=\"center\" cursor=\"all-scroll\" padding={3}>\n <Drag />\n </DragButton>\n\n <Typography\n textColor={isSibling ? undefined : 'primary600'}\n fontWeight=\"bold\"\n ellipsis\n maxWidth=\"7.2rem\"\n >\n {label}\n </Typography>\n </Flex>\n\n <Flex>\n <ActionBox alignItems=\"center\">\n <Pencil />\n </ActionBox>\n\n <ActionBox alignItems=\"center\">\n <Cross />\n </ActionBox>\n </Flex>\n </FieldContainer>\n );\n};\n\nconst ActionBox = styled<FlexComponent>(Flex)`\n height: ${({ theme }) => theme.spaces[7]};\n\n &:last-child {\n padding: 0 ${({ theme }) => theme.spaces[3]};\n }\n`;\n\nconst DragButton = styled(ActionBox)`\n border-right: 1px solid ${({ theme }) => theme.colors.primary200};\n\n svg {\n width: 1.2rem;\n height: 1.2rem;\n }\n`;\n\nconst FieldContainer = styled<FlexComponent>(Flex)<{ $isSibling: boolean }>`\n border: 1px solid\n ${({ theme, $isSibling }) => ($isSibling ? theme.colors.neutral150 : theme.colors.primary200)};\n\n svg {\n width: 1rem;\n height: 1rem;\n\n path {\n fill: ${({ theme, $isSibling }) => ($isSibling ? undefined : theme.colors.primary600)};\n }\n }\n`;\n\nexport { CardDragPreview };\nexport type { CardDragPreviewProps };\n"],"names":["jsxs","Flex","jsx","Drag","Typography","Pencil","Cross","styled"],"mappings":";;;;;AASA,MAAM,kBAAkB,CAAC,EAAE,OAAO,YAAY,YAAkC;AAE5E,SAAAA,2BAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YAAY,YAAY,eAAe;AAAA,MACvC,SAAQ;AAAA,MACR,KAAK;AAAA,MACL,WAAS;AAAA,MACT,gBAAe;AAAA,MACf,YAAY;AAAA,MACZ,cAAY;AAAA,MACZ,UAAS;AAAA,MAET,UAAA;AAAA,QAACA,2BAAAA,KAAAC,aAAAA,MAAA,EAAK,KAAK,GACT,UAAA;AAAA,UAACC,2BAAAA,IAAA,YAAA,EAAW,YAAW,UAAS,QAAO,cAAa,SAAS,GAC3D,UAACA,2BAAAA,IAAAC,MAAAA,MAAA,CAAA,CAAK,EACR,CAAA;AAAA,UAEAD,2BAAA;AAAA,YAACE,aAAA;AAAA,YAAA;AAAA,cACC,WAAW,YAAY,SAAY;AAAA,cACnC,YAAW;AAAA,cACX,UAAQ;AAAA,cACR,UAAS;AAAA,cAER,UAAA;AAAA,YAAA;AAAA,UACH;AAAA,QAAA,GACF;AAAA,wCAECH,aAAAA,MACC,EAAA,UAAA;AAAA,UAAAC,+BAAC,WAAU,EAAA,YAAW,UACpB,UAAAA,+BAACG,MAAAA,SAAO,CAAA,GACV;AAAA,yCAEC,WAAU,EAAA,YAAW,UACpB,UAAAH,+BAACI,MAAAA,QAAM,CAAA,GACT;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN;AAEA,MAAM,YAAYC,iBAAAA,OAAsBN,aAAAA,IAAI;AAAA,YAChC,CAAC,EAAE,YAAY,MAAM,OAAO,CAAC,CAAC;AAAA;AAAA;AAAA,iBAGzB,CAAC,EAAE,YAAY,MAAM,OAAO,CAAC,CAAC;AAAA;AAAA;AAI/C,MAAM,aAAaM,iBAAAA,OAAO,SAAS;AAAA,4BACP,CAAC,EAAE,MAAA,MAAY,MAAM,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQlE,MAAM,iBAAiBA,iBAAAA,OAAsBN,aAAAA,IAAI;AAAA;AAAA,MAE3C,CAAC,EAAE,OAAO,WAAW,MAAO,aAAa,MAAM,OAAO,aAAa,MAAM,OAAO,UAAW;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,cAOnF,CAAC,EAAE,OAAO,iBAAkB,aAAa,SAAY,MAAM,OAAO,UAAW;AAAA;AAAA;AAAA;;"}
@@ -1,70 +0,0 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
2
- import { Flex, Typography } from "@strapi/design-system";
3
- import { Drag, Pencil, Cross } from "@strapi/icons";
4
- import { styled } from "styled-components";
5
- const CardDragPreview = ({ label, isSibling = false }) => {
6
- return /* @__PURE__ */ jsxs(
7
- FieldContainer,
8
- {
9
- background: isSibling ? "neutral100" : "primary100",
10
- display: "inline-flex",
11
- gap: 3,
12
- hasRadius: true,
13
- justifyContent: "space-between",
14
- $isSibling: isSibling,
15
- "max-height": `3.2rem`,
16
- maxWidth: "min-content",
17
- children: [
18
- /* @__PURE__ */ jsxs(Flex, { gap: 3, children: [
19
- /* @__PURE__ */ jsx(DragButton, { alignItems: "center", cursor: "all-scroll", padding: 3, children: /* @__PURE__ */ jsx(Drag, {}) }),
20
- /* @__PURE__ */ jsx(
21
- Typography,
22
- {
23
- textColor: isSibling ? void 0 : "primary600",
24
- fontWeight: "bold",
25
- ellipsis: true,
26
- maxWidth: "7.2rem",
27
- children: label
28
- }
29
- )
30
- ] }),
31
- /* @__PURE__ */ jsxs(Flex, { children: [
32
- /* @__PURE__ */ jsx(ActionBox, { alignItems: "center", children: /* @__PURE__ */ jsx(Pencil, {}) }),
33
- /* @__PURE__ */ jsx(ActionBox, { alignItems: "center", children: /* @__PURE__ */ jsx(Cross, {}) })
34
- ] })
35
- ]
36
- }
37
- );
38
- };
39
- const ActionBox = styled(Flex)`
40
- height: ${({ theme }) => theme.spaces[7]};
41
-
42
- &:last-child {
43
- padding: 0 ${({ theme }) => theme.spaces[3]};
44
- }
45
- `;
46
- const DragButton = styled(ActionBox)`
47
- border-right: 1px solid ${({ theme }) => theme.colors.primary200};
48
-
49
- svg {
50
- width: 1.2rem;
51
- height: 1.2rem;
52
- }
53
- `;
54
- const FieldContainer = styled(Flex)`
55
- border: 1px solid
56
- ${({ theme, $isSibling }) => $isSibling ? theme.colors.neutral150 : theme.colors.primary200};
57
-
58
- svg {
59
- width: 1rem;
60
- height: 1rem;
61
-
62
- path {
63
- fill: ${({ theme, $isSibling }) => $isSibling ? void 0 : theme.colors.primary600};
64
- }
65
- }
66
- `;
67
- export {
68
- CardDragPreview as C
69
- };
70
- //# sourceMappingURL=CardDragPreview-DOxamsuj.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardDragPreview-DOxamsuj.mjs","sources":["../../admin/src/components/DragPreviews/CardDragPreview.tsx"],"sourcesContent":["import { Flex, FlexComponent, Typography } from '@strapi/design-system';\nimport { Cross, Drag, Pencil } from '@strapi/icons';\nimport { styled } from 'styled-components';\n\ninterface CardDragPreviewProps {\n label: string;\n isSibling?: boolean;\n}\n\nconst CardDragPreview = ({ label, isSibling = false }: CardDragPreviewProps) => {\n return (\n <FieldContainer\n background={isSibling ? 'neutral100' : 'primary100'}\n display=\"inline-flex\"\n gap={3}\n hasRadius\n justifyContent=\"space-between\"\n $isSibling={isSibling}\n max-height={`3.2rem`}\n maxWidth=\"min-content\"\n >\n <Flex gap={3}>\n <DragButton alignItems=\"center\" cursor=\"all-scroll\" padding={3}>\n <Drag />\n </DragButton>\n\n <Typography\n textColor={isSibling ? undefined : 'primary600'}\n fontWeight=\"bold\"\n ellipsis\n maxWidth=\"7.2rem\"\n >\n {label}\n </Typography>\n </Flex>\n\n <Flex>\n <ActionBox alignItems=\"center\">\n <Pencil />\n </ActionBox>\n\n <ActionBox alignItems=\"center\">\n <Cross />\n </ActionBox>\n </Flex>\n </FieldContainer>\n );\n};\n\nconst ActionBox = styled<FlexComponent>(Flex)`\n height: ${({ theme }) => theme.spaces[7]};\n\n &:last-child {\n padding: 0 ${({ theme }) => theme.spaces[3]};\n }\n`;\n\nconst DragButton = styled(ActionBox)`\n border-right: 1px solid ${({ theme }) => theme.colors.primary200};\n\n svg {\n width: 1.2rem;\n height: 1.2rem;\n }\n`;\n\nconst FieldContainer = styled<FlexComponent>(Flex)<{ $isSibling: boolean }>`\n border: 1px solid\n ${({ theme, $isSibling }) => ($isSibling ? theme.colors.neutral150 : theme.colors.primary200)};\n\n svg {\n width: 1rem;\n height: 1rem;\n\n path {\n fill: ${({ theme, $isSibling }) => ($isSibling ? undefined : theme.colors.primary600)};\n }\n }\n`;\n\nexport { CardDragPreview };\nexport type { CardDragPreviewProps };\n"],"names":[],"mappings":";;;;AASA,MAAM,kBAAkB,CAAC,EAAE,OAAO,YAAY,YAAkC;AAE5E,SAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,YAAY,YAAY,eAAe;AAAA,MACvC,SAAQ;AAAA,MACR,KAAK;AAAA,MACL,WAAS;AAAA,MACT,gBAAe;AAAA,MACf,YAAY;AAAA,MACZ,cAAY;AAAA,MACZ,UAAS;AAAA,MAET,UAAA;A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