@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,198 @@
1
+ var groups = "Groepen";
2
+ var models = "Collectie Types";
3
+ var pageNotFound = "Pagina niet gevonden";
4
+ var nl = {
5
+ "App.schemas.data-loaded": "De schema's zijn succesvol geladen",
6
+ "ListViewTable.relation-loaded": "De relaties zijn geladen",
7
+ "ListViewTable.relation-loading": "Relaties worden geladen",
8
+ "ListViewTable.relation-more": "Deze relatie bevat meer entiteiten dan weergegeven",
9
+ "EditRelations.title": "Gerelateerde data",
10
+ "HeaderLayout.button.label-add-entry": "Nieuwe invoer",
11
+ "api.id": "API ID",
12
+ "components.AddFilterCTA.add": "Filters",
13
+ "components.AddFilterCTA.hide": "Filters",
14
+ "components.DragHandle-label": "Sleep",
15
+ "components.DraggableAttr.edit": "Klik om aan te passen",
16
+ "components.DraggableCard.delete.field": "Verwijder {item}",
17
+ "components.DraggableCard.edit.field": "Pas {item} aan",
18
+ "components.DraggableCard.move.field": "Verplaats {item}",
19
+ "components.ListViewTable.row-line": "item regel {number}",
20
+ "components.DynamicZone.ComponentPicker-label": "Kies één component",
21
+ "components.DynamicZone.add-component": "Voeg een component toe aan {componentName}",
22
+ "components.DynamicZone.delete-label": "Verwijder {name}",
23
+ "components.DynamicZone.error-message": "Het component bevat fout(en)",
24
+ "components.DynamicZone.missing-components": "Er {number, plural, =0 {zijn # missende componenten} one {is één # missend component} other {zijn # missende componenten}}",
25
+ "components.DynamicZone.move-down-label": "Verplaats component naar beneden",
26
+ "components.DynamicZone.move-up-label": "Verplaats component naar boven",
27
+ "components.DynamicZone.pick-compo": "Kies één component",
28
+ "components.DynamicZone.required": "Component is vereist",
29
+ "components.EmptyAttributesBlock.button": "Ga naar instellingspagina",
30
+ "components.EmptyAttributesBlock.description": "Je kunt je instellingen wijzigen",
31
+ "components.FieldItem.linkToComponentLayout": "Stel de lay-out van het component in",
32
+ "components.FieldSelect.label": "Voeg veld toe",
33
+ "components.FilterOptions.button.apply": "Pas toe",
34
+ "components.FiltersPickWrapper.PluginHeader.actions.apply": "Pas toe",
35
+ "components.FiltersPickWrapper.PluginHeader.actions.clearAll": "Wis alles",
36
+ "components.FiltersPickWrapper.PluginHeader.description": "Stel de voorwaarden in om toe te passen voor het filteren van de items",
37
+ "components.FiltersPickWrapper.PluginHeader.title.filter": "Filters",
38
+ "components.FiltersPickWrapper.hide": "Verberg",
39
+ "components.LeftMenu.Search.label": "Zoek een Content-Type",
40
+ "components.LeftMenu.collection-types": "Collectie Types",
41
+ "components.LeftMenu.single-types": "Enkele Types",
42
+ "components.LimitSelect.itemsPerPage": "Items per pagina",
43
+ "components.NotAllowedInput.text": "Geen rechten om dit veld te bekijken",
44
+ "components.RepeatableComponent.error-message": "Eén of meerdere componenten bevatten een fout",
45
+ "components.Search.placeholder": "Zoek een item...",
46
+ "components.Select.draft-info-title": "Status: Concept",
47
+ "components.Select.publish-info-title": "Status: Gepubliceerd",
48
+ "components.SettingsViewWrapper.pluginHeader.description.edit-settings": "Pas aan hoe de bewerkingsweergave eruit zal zien.",
49
+ "components.SettingsViewWrapper.pluginHeader.description.list-settings": "Definieer de instellingen van de lijstweergave.",
50
+ "components.SettingsViewWrapper.pluginHeader.title": "Configureer de weergave - {name}",
51
+ "components.TableDelete.delete": "Verwijder alle",
52
+ "components.TableDelete.deleteSelected": "Verwijder geselecteerde",
53
+ "components.TableDelete.label": "{number, plural, one {# entry} other {# entries}} geselecteerd",
54
+ "components.TableEmpty.withFilters": "Er zijn geen {contentType} met de geselecteerde filters...",
55
+ "components.TableEmpty.withSearch": "Er zijn geen {contentType} die overeenkomen met de zoekopdracht ({search})...",
56
+ "components.TableEmpty.withoutFilter": "Er zijn geen {contentType}...",
57
+ "components.empty-repeatable": "Nog geen items. Klik op de knop hieronder om er een toe te voegen.",
58
+ "components.notification.info.maximum-requirement": "Je hebt het maximale aantal velden al bereikt",
59
+ "components.notification.info.minimum-requirement": "Een veld is toegevoegd om te voldoen aan de minimale voorwaarde",
60
+ "components.repeatable.reorder.error": "Er is een fout opgetreden bij het opnieuw sorteren van het veld van je component, probeer het a.u.b. opnieuw",
61
+ "components.reset-entry": "Reset invoer",
62
+ "components.uid.apply": "pas toe",
63
+ "components.uid.available": "Beschikbaar",
64
+ "components.uid.regenerate": "Regenereer",
65
+ "components.uid.suggested": "voorgesteld",
66
+ "components.uid.unavailable": "Onbeschikbaar",
67
+ "containers.Edit.Link.Layout": "Configureer de lay-out",
68
+ "containers.Edit.Link.Model": "Pas het collectie-type aan",
69
+ "containers.Edit.addAnItem": "Voeg een item toe...",
70
+ "containers.Edit.clickToJump": "Klik om naar de invoer te springen",
71
+ "containers.Edit.delete": "Verwijder",
72
+ "containers.Edit.delete-entry": "Verwijder deze invoer",
73
+ "containers.Edit.editing": "Aanpassen...",
74
+ "containers.Edit.information": "Informatie",
75
+ "containers.Edit.information.by": "Door",
76
+ "containers.Edit.information.created": "Gecreëerd",
77
+ "containers.Edit.information.draftVersion": "concept versie",
78
+ "containers.Edit.information.editing": "Aan het bewerken",
79
+ "containers.Edit.information.lastUpdate": "Laatste update",
80
+ "containers.Edit.information.publishedVersion": "gepubliceerde versie",
81
+ "containers.Edit.pluginHeader.title.new": "Voeg een invoer toe",
82
+ "containers.Edit.reset": "Resetten",
83
+ "containers.Edit.returnList": "Terug naar lijst",
84
+ "containers.Edit.seeDetails": "Details",
85
+ "containers.Edit.submit": "Opslaan",
86
+ "containers.EditSettingsView.modal-form.edit-field": "Veld aanpassen",
87
+ "containers.EditView.add.new-entry": "Voeg een invoer toe",
88
+ "containers.EditView.notification.errors": "Het formulier bevat fouten",
89
+ "containers.Home.introduction": "Om items aan te passen klik je op de link in het menu links boven. Deze plugin heeft nog geen goede manier om instellingen aan te passen en is nog in ontwikkeling.",
90
+ "containers.Home.pluginHeaderDescription": "Onderhoud je data via een krachtig en mooie interface.",
91
+ "containers.Home.pluginHeaderTitle": "Content Manager",
92
+ "containers.List.draft": "Concept",
93
+ "containers.List.errorFetchRecords": "Fout",
94
+ "containers.List.published": "Gepubliceerd",
95
+ "containers.list.displayedFields": "Weergegeven velden",
96
+ "containers.list.items": "{number, plural, =0 {items} one {item} other {items}}",
97
+ "containers.list.table-headers.publishedAt": "Status",
98
+ "containers.ListSettingsView.modal-form.edit-label": "Pas {fieldName} aan",
99
+ "containers.SettingPage.add.field": "Voeg nog een veld toe",
100
+ "containers.SettingPage.attributes": "Attribuut velden",
101
+ "containers.SettingPage.attributes.description": "Geef de volgorde van de attributen aan",
102
+ "containers.SettingPage.editSettings.description": "Klik & sleep de velden om de lay-out te bouwen",
103
+ "containers.SettingPage.editSettings.entry.title": "Invoer titel",
104
+ "containers.SettingPage.editSettings.entry.title.description": "Stel het weergegeven veld van je invoer in",
105
+ "containers.SettingPage.editSettings.relation-field.description": "Stel het weergegeven veld in voor zowel de bewerkings- als de lijstweergave",
106
+ "containers.SettingPage.editSettings.title": "Weergave aanpassen (instellingen)",
107
+ "containers.SettingPage.layout": "Lay-out",
108
+ "containers.SettingPage.listSettings.description": "Configureer de opties voor dit collectie type",
109
+ "containers.SettingPage.listSettings.title": "Lijstweergave (instellingen)",
110
+ "containers.SettingPage.pluginHeaderDescription": "Configureer de specifieke instellingen voor dit collectie type",
111
+ "containers.SettingPage.settings": "Instellingen",
112
+ "containers.SettingPage.view": "Bekijk",
113
+ "containers.SettingViewModel.pluginHeader.title": "Content Manager - {name}",
114
+ "containers.SettingsPage.Block.contentType.description": "Configureer de specifieke instellingen",
115
+ "containers.SettingsPage.Block.contentType.title": "Collectie Types",
116
+ "containers.SettingsPage.Block.generalSettings.description": "Configureer de standaard instellingen voor je Collection Types",
117
+ "containers.SettingsPage.Block.generalSettings.title": "Algemeen",
118
+ "containers.SettingsPage.pluginHeaderDescription": "Configureer de instellingen voor je collectie types en groepen",
119
+ "containers.SettingsView.list.subtitle": "Configureer de instellingen voor je collectie types en groepen",
120
+ "containers.SettingsView.list.title": "Geef configuraties weer",
121
+ "edit-settings-view.link-to-ctb.components": "Pas component aan",
122
+ "edit-settings-view.link-to-ctb.content-types": "Pas het Content-Type aan",
123
+ "emptyAttributes.button": "Ga naar collectie type bouwer",
124
+ "emptyAttributes.description": "Voeg je eerste veld toe aan je Collectie Type",
125
+ "emptyAttributes.title": "Er zijn nog geen velden",
126
+ "error.attribute.key.taken": "Deze waarde bestaat al.",
127
+ "error.attribute.sameKeyAndName": "Mag niet gelijk zijn.",
128
+ "error.attribute.taken": "Deze veld naam bestaat al.",
129
+ "error.contentTypeName.taken": "Deze naam bestaat al.",
130
+ "error.model.fetch": "Er is een fout opgetreden tijdens het ophalen van de modellen.",
131
+ "error.record.create": "Er is een fout opgetreden tijdens het maken van het item.",
132
+ "error.record.delete": "Er is een fout opgetreden tijdens het verwijderen van het item.",
133
+ "error.record.fetch": "Er is een fout opgetreden tijdens het ophalen van het item.",
134
+ "error.record.update": "Er is een fout opgetreden tijdens het opslaan van het item.",
135
+ "error.records.count": "Er is een fout opgetreden tijdens het tellen van de opgehaalde gegevens.",
136
+ "error.records.fetch": "Er is een fout opgetreden tijdens het ophalen van de gegevens.",
137
+ "error.schema.generation": "Er is een fout opgetreden tijdens het maken van het schema.",
138
+ "error.validation.json": "Dit is geen JSON.",
139
+ "error.validation.max": "De waarde is te hoog.",
140
+ "error.validation.maxLength": "De waarde is te lang.",
141
+ "error.validation.min": "De waarde is te laag.",
142
+ "error.validation.minLength": "De waarde is te kort.",
143
+ "error.validation.minSupMax": "Mag niet superieur zijn.",
144
+ "error.validation.regex": "De waarde is niet gelijk aan de regex.",
145
+ "error.validation.required": "Deze gegevens zijn verplicht.",
146
+ "form.Input.bulkActions": "Schakel bulkacties in",
147
+ "form.Input.defaultSort": "Standaard sorteringsattribuut",
148
+ "form.Input.description": "Beschrijving",
149
+ "form.Input.description.placeholder": "Weergavenaam in het profiel",
150
+ "form.Input.editable": "Aanpasbaar veld",
151
+ "form.Input.filters": "Schakel filters in",
152
+ "form.Input.label": "Label",
153
+ "form.Input.label.inputDescription": "Deze waarde overschrijft het label welke weergegeven wordt in het hoofd van de tabel",
154
+ "form.Input.pageEntries": "Items per pagina",
155
+ "form.Input.pageEntries.inputDescription": "Opmerking: Je kan deze waarde overschrijven in de Collectie Type instellingspagina",
156
+ "form.Input.placeholder": "Placeholder",
157
+ "form.Input.placeholder.placeholder": "Mijn geweldige waarde",
158
+ "form.Input.search": "Schakel zoeken in",
159
+ "form.Input.search.field": "Schakel zoeken in voor dit veld",
160
+ "form.Input.sort.field": "Schakel sorteren in voor dit veld",
161
+ "form.Input.sort.order": "Standaard sorteervolgorde",
162
+ "form.Input.wysiwyg": "Weergeef als WYSIWYG",
163
+ "global.displayedFields": "Weergegeven velden",
164
+ groups: groups,
165
+ "groups.numbered": "Groepen ({number})",
166
+ "header.name": "Content",
167
+ "link-to-ctb": "Pas het model aan",
168
+ models: models,
169
+ "models.numbered": "Collectie Types ({number})",
170
+ "notification.error.displayedFields": "Je hebt op z'n minst één weergegeven veld nodig.",
171
+ "notification.error.relationship.fetch": "Er is een fout opgetreden tijdens het ophalen van de relaties.",
172
+ "notification.info.SettingPage.disableSort": "Je hebt op z'n minst één attribuut nodig waar sorteren toegestaan is.",
173
+ "notification.info.minimumFields": "Je hebt op z'n minst één weergegeven veld nodig.",
174
+ "notification.upload.error": "Er is een fout opgetreden tijdens het uploaden van je bestanden",
175
+ pageNotFound: pageNotFound,
176
+ "pages.ListView.header-subtitle": "{number, plural, =0 {# entries} one {# entry} other {# entries}} gevonden",
177
+ "pages.NoContentType.button": "Creëer je eerste Content-Type",
178
+ "pages.NoContentType.text": "Je hebt nog geen content, we raden je aan je eerste Content-Type te creëeren.",
179
+ "permissions.not-allowed.create": "Je hebt niet de rechten om een document te maken",
180
+ "permissions.not-allowed.update": "Je hebt niet de rechten om dit document te zien",
181
+ "plugin.description.long": "Snelle manier om data te zien, aan te passen en te verwijderen in je database",
182
+ "plugin.description.short": "Snelle manier om data te zien, aan te passen en te verwijderen in je database.",
183
+ "popover.display-relations.label": "Geef gerelateerde content weer",
184
+ "select.currently.selected": "{count} nu geselecteerd",
185
+ "success.record.delete": "Verwijderd",
186
+ "success.record.publish": "Gepubliceerd",
187
+ "success.record.save": "Opgeslagen",
188
+ "success.record.unpublish": "Depubliceren",
189
+ "utils.data-loaded": "{number, plural, =1 {Het item is} other {De items zijn}} succesvol geladen!",
190
+ "apiError.This attribute must be unique": "{field} moet uniek zijn",
191
+ "popUpWarning.warning.has-draft-relations.title": "Bevestiging",
192
+ "popUpWarning.warning.publish-question": "Wil je toch publiceren?",
193
+ "popUpwarning.warning.has-draft-relations.button-confirm": "Ja, publiceren",
194
+ "popUpwarning.warning.has-draft-relations.message": "<b>{count, plural, one { relatie is } other { relaties zijn } }</b> nog niet gepubliceerd en kan leiden tot onverwacht gedrag."
195
+ };
196
+
197
+ export { nl as default, groups, models, pageNotFound };
198
+ //# sourceMappingURL=nl-C8HYflTc.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nl-C8HYflTc.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,343 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var reactDnd = require('react-dnd');
5
+ var clone = require('lodash/clone');
6
+ var toPath = require('lodash/toPath');
7
+
8
+ function _interopNamespaceDefault(e) {
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n.default = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
26
+
27
+ const ItemTypes = {
28
+ COMPONENT: 'component',
29
+ EDIT_FIELD: 'editField',
30
+ FIELD: 'field',
31
+ DYNAMIC_ZONE: 'dynamicZone',
32
+ RELATION: 'relation',
33
+ BLOCKS: 'blocks'
34
+ };
35
+
36
+ /**
37
+ * Utility hook designed to implement keyboard accessibile drag and drop by
38
+ * returning an onKeyDown handler to be passed to the drag icon button.
39
+ *
40
+ * @internal - You should use `useDragAndDrop` instead.
41
+ */ const useKeyboardDragAndDrop = (active, index, { onCancel, onDropItem, onGrabItem, onMoveItem })=>{
42
+ const [isSelected, setIsSelected] = React__namespace.useState(false);
43
+ const handleMove = (movement)=>{
44
+ if (!isSelected) {
45
+ return;
46
+ }
47
+ if (typeof index === 'number' && onMoveItem) {
48
+ if (movement === 'UP') {
49
+ onMoveItem(index - 1, index);
50
+ } else if (movement === 'DOWN') {
51
+ onMoveItem(index + 1, index);
52
+ }
53
+ }
54
+ };
55
+ const handleDragClick = ()=>{
56
+ if (isSelected) {
57
+ if (onDropItem) {
58
+ onDropItem(index);
59
+ }
60
+ setIsSelected(false);
61
+ } else {
62
+ if (onGrabItem) {
63
+ onGrabItem(index);
64
+ }
65
+ setIsSelected(true);
66
+ }
67
+ };
68
+ const handleCancel = ()=>{
69
+ if (isSelected) {
70
+ setIsSelected(false);
71
+ if (onCancel) {
72
+ onCancel(index);
73
+ }
74
+ }
75
+ };
76
+ const handleKeyDown = (e)=>{
77
+ if (!active) {
78
+ return;
79
+ }
80
+ if (e.key === 'Tab' && !isSelected) {
81
+ return;
82
+ }
83
+ e.preventDefault();
84
+ switch(e.key){
85
+ case ' ':
86
+ case 'Enter':
87
+ handleDragClick();
88
+ break;
89
+ case 'Escape':
90
+ handleCancel();
91
+ break;
92
+ case 'ArrowDown':
93
+ case 'ArrowRight':
94
+ handleMove('DOWN');
95
+ break;
96
+ case 'ArrowUp':
97
+ case 'ArrowLeft':
98
+ handleMove('UP');
99
+ break;
100
+ }
101
+ };
102
+ return handleKeyDown;
103
+ };
104
+
105
+ const DIRECTIONS = {
106
+ UPWARD: 'upward',
107
+ DOWNWARD: 'downward'
108
+ };
109
+ const DROP_SENSITIVITY = {
110
+ REGULAR: 'regular',
111
+ IMMEDIATE: 'immediate'
112
+ };
113
+ /**
114
+ * A utility hook abstracting the general drag and drop hooks from react-dnd.
115
+ * Centralising the same behaviours and by default offering keyboard support.
116
+ */ const useDragAndDrop = (active, { type = 'STRAPI_DND', index, item, onStart, onEnd, onGrabItem, onDropItem, onCancel, onMoveItem, dropSensitivity = DROP_SENSITIVITY.REGULAR })=>{
117
+ const objectRef = React__namespace.useRef(null);
118
+ const [{ handlerId, isOver }, dropRef] = reactDnd.useDrop({
119
+ accept: type,
120
+ collect (monitor) {
121
+ return {
122
+ handlerId: monitor.getHandlerId(),
123
+ isOver: monitor.isOver({
124
+ shallow: true
125
+ })
126
+ };
127
+ },
128
+ drop (item) {
129
+ const draggedIndex = item.index;
130
+ const newIndex = index;
131
+ if (isOver && onDropItem) {
132
+ onDropItem(draggedIndex, newIndex);
133
+ }
134
+ },
135
+ hover (item, monitor) {
136
+ if (!objectRef.current || !onMoveItem) {
137
+ return;
138
+ }
139
+ const dragIndex = item.index;
140
+ const newIndex = index;
141
+ const hoverBoundingRect = objectRef.current?.getBoundingClientRect();
142
+ const hoverMiddleY = (hoverBoundingRect.bottom - hoverBoundingRect.top) / 2;
143
+ const clientOffset = monitor.getClientOffset();
144
+ if (!clientOffset) return;
145
+ const hoverClientY = clientOffset && clientOffset.y - hoverBoundingRect.top;
146
+ if (typeof dragIndex === 'number' && typeof newIndex === 'number') {
147
+ if (dragIndex === newIndex) {
148
+ // Don't replace items with themselves
149
+ return;
150
+ }
151
+ if (dropSensitivity === DROP_SENSITIVITY.REGULAR) {
152
+ // Dragging downwards
153
+ if (dragIndex < newIndex && hoverClientY < hoverMiddleY) {
154
+ return;
155
+ }
156
+ // Dragging upwards
157
+ if (dragIndex > newIndex && hoverClientY > hoverMiddleY) {
158
+ return;
159
+ }
160
+ }
161
+ // Time to actually perform the action
162
+ onMoveItem(newIndex, dragIndex);
163
+ item.index = newIndex;
164
+ } else {
165
+ // Using numbers as indices doesn't work for nested list items with path like [1, 1, 0]
166
+ if (Array.isArray(dragIndex) && Array.isArray(newIndex)) {
167
+ // Indices comparison to find item position in nested list
168
+ const minLength = Math.min(dragIndex.length, newIndex.length);
169
+ let areEqual = true;
170
+ let isLessThan = false;
171
+ let isGreaterThan = false;
172
+ for(let i = 0; i < minLength; i++){
173
+ if (dragIndex[i] < newIndex[i]) {
174
+ isLessThan = true;
175
+ areEqual = false;
176
+ break;
177
+ } else if (dragIndex[i] > newIndex[i]) {
178
+ isGreaterThan = true;
179
+ areEqual = false;
180
+ break;
181
+ }
182
+ }
183
+ // Don't replace items with themselves
184
+ if (areEqual && dragIndex.length === newIndex.length) {
185
+ return;
186
+ }
187
+ if (dropSensitivity === DROP_SENSITIVITY.REGULAR) {
188
+ // Dragging downwards
189
+ if (isLessThan && !isGreaterThan && hoverClientY < hoverMiddleY) {
190
+ return;
191
+ }
192
+ // Dragging upwards
193
+ if (isGreaterThan && !isLessThan && hoverClientY > hoverMiddleY) {
194
+ return;
195
+ }
196
+ }
197
+ }
198
+ onMoveItem(newIndex, dragIndex);
199
+ item.index = newIndex;
200
+ }
201
+ }
202
+ });
203
+ const getDragDirection = (monitor)=>{
204
+ if (monitor && monitor.isDragging() && !monitor.didDrop() && monitor.getInitialClientOffset() && monitor.getClientOffset()) {
205
+ const deltaY = monitor.getInitialClientOffset().y - monitor.getClientOffset().y;
206
+ if (deltaY > 0) return DIRECTIONS.UPWARD;
207
+ if (deltaY < 0) return DIRECTIONS.DOWNWARD;
208
+ return null;
209
+ }
210
+ return null;
211
+ };
212
+ const [{ isDragging, direction }, dragRef, dragPreviewRef] = reactDnd.useDrag({
213
+ type,
214
+ item () {
215
+ if (onStart) {
216
+ onStart();
217
+ }
218
+ /**
219
+ * This will be attached and it helps define the preview sizes
220
+ * when a component is flexy e.g. Relations
221
+ */ const { width } = objectRef.current?.getBoundingClientRect() ?? {};
222
+ return {
223
+ index,
224
+ width,
225
+ ...item
226
+ };
227
+ },
228
+ end () {
229
+ if (onEnd) {
230
+ onEnd();
231
+ }
232
+ },
233
+ canDrag: active,
234
+ /**
235
+ * This is useful when the item is in a virtualized list.
236
+ * However, if we don't have an ID then we want the libraries
237
+ * defaults to take care of this.
238
+ */ isDragging: item?.id ? (monitor)=>{
239
+ return item.id === monitor.getItem().id;
240
+ } : undefined,
241
+ collect: (monitor)=>({
242
+ isDragging: monitor.isDragging(),
243
+ initialOffset: monitor.getInitialClientOffset(),
244
+ currentOffset: monitor.getClientOffset(),
245
+ direction: getDragDirection(monitor)
246
+ })
247
+ });
248
+ const handleKeyDown = useKeyboardDragAndDrop(active, index, {
249
+ onGrabItem,
250
+ onDropItem,
251
+ onCancel,
252
+ onMoveItem
253
+ });
254
+ return [
255
+ {
256
+ handlerId,
257
+ isDragging,
258
+ handleKeyDown,
259
+ isOverDropTarget: isOver,
260
+ direction
261
+ },
262
+ objectRef,
263
+ dropRef,
264
+ dragRef,
265
+ dragPreviewRef
266
+ ];
267
+ };
268
+
269
+ /**
270
+ * Deeply get a value from an object via its path.
271
+ */ function getIn(obj, key, def, pathStartIndex = 0) {
272
+ const path = toPath(key);
273
+ while(obj && pathStartIndex < path.length){
274
+ obj = obj[path[pathStartIndex++]];
275
+ }
276
+ // check if path is not in the end
277
+ if (pathStartIndex !== path.length && !obj) {
278
+ return def;
279
+ }
280
+ return obj === undefined ? def : obj;
281
+ }
282
+ /** @internal is the given object an Object? */ const isObject = (obj)=>obj !== null && typeof obj === 'object' && !Array.isArray(obj);
283
+ /** @internal is the given object an integer? */ const isInteger = (obj)=>String(Math.floor(Number(obj))) === obj;
284
+ /**
285
+ * Deeply set a value from in object via its path. If the value at `path`
286
+ * has changed, return a shallow copy of obj with `value` set at `path`.
287
+ * If `value` has not changed, return the original `obj`.
288
+ *
289
+ * Existing objects / arrays along `path` are also shallow copied. Sibling
290
+ * objects along path retain the same internal js reference. Since new
291
+ * objects / arrays are only created along `path`, we can test if anything
292
+ * changed in a nested structure by comparing the object's reference in
293
+ * the old and new object, similar to how russian doll cache invalidation
294
+ * works.
295
+ *
296
+ * In earlier versions of this function, which used cloneDeep, there were
297
+ * issues whereby settings a nested value would mutate the parent
298
+ * instead of creating a new object. `clone` avoids that bug making a
299
+ * shallow copy of the objects along the update path
300
+ * so no object is mutated in place.
301
+ *
302
+ * Before changing this function, please read through the following
303
+ * discussions.
304
+ *
305
+ * @see https://github.com/developit/linkstate
306
+ * @see https://github.com/jaredpalmer/formik/pull/123
307
+ */ function setIn(obj, path, value) {
308
+ const res = clone(obj); // this keeps inheritance when obj is a class
309
+ let resVal = res;
310
+ let i = 0;
311
+ const pathArray = toPath(path);
312
+ for(; i < pathArray.length - 1; i++){
313
+ const currentPath = pathArray[i];
314
+ const currentObj = getIn(obj, pathArray.slice(0, i + 1));
315
+ if (currentObj && (isObject(currentObj) || Array.isArray(currentObj))) {
316
+ resVal = resVal[currentPath] = clone(currentObj);
317
+ } else {
318
+ const nextPath = pathArray[i + 1];
319
+ resVal = resVal[currentPath] = isInteger(nextPath) && Number(nextPath) >= 0 ? [] : {};
320
+ }
321
+ }
322
+ // Return original object if new value is the same as current
323
+ if ((i === 0 ? obj : resVal)[pathArray[i]] === value) {
324
+ return obj;
325
+ }
326
+ {
327
+ delete resVal[pathArray[i]];
328
+ }
329
+ // If the path array has a single element, the loop did not run.
330
+ // Deleting on `resVal` had no effect in this scenario, so we delete on the result instead.
331
+ if (i === 0 && value === undefined) {
332
+ delete res[pathArray[i]];
333
+ }
334
+ return res;
335
+ }
336
+
337
+ exports.DIRECTIONS = DIRECTIONS;
338
+ exports.DROP_SENSITIVITY = DROP_SENSITIVITY;
339
+ exports.ItemTypes = ItemTypes;
340
+ exports.getIn = getIn;
341
+ exports.setIn = setIn;
342
+ exports.useDragAndDrop = useDragAndDrop;
343
+ //# sourceMappingURL=objects-BJTP843m.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objects-BJTP843m.js","sources":["../../../admin/src/constants/dragAndDrop.ts","../../../admin/src/hooks/useKeyboardDragAndDrop.ts","../../../admin/src/hooks/useDragAndDrop.ts","../../../admin/src/utils/objects.ts"],"sourcesContent":["export const ItemTypes = {\n COMPONENT: 'component',\n EDIT_FIELD: 'editField',\n FIELD: 'field',\n DYNAMIC_ZONE: 'dynamicZone',\n RELATION: 'relation',\n BLOCKS: 'blocks',\n} as const;\n","import * as React from 'react';\n\nexport type UseKeyboardDragAndDropCallbacks<TIndex extends number | Array<number> = number> = {\n onCancel?: (index: TIndex) => void;\n onDropItem?: (currentIndex: TIndex, newIndex?: TIndex) => void;\n onGrabItem?: (index: TIndex) => void;\n onMoveItem?: (newIndex: TIndex, currentIndex: TIndex) => void;\n};\n\n/**\n * Utility hook designed to implement keyboard accessibile drag and drop by\n * returning an onKeyDown handler to be passed to the drag icon button.\n *\n * @internal - You should use `useDragAndDrop` instead.\n */\nexport const useKeyboardDragAndDrop = <TIndex extends number | Array<number> = number>(\n active: boolean,\n index: TIndex,\n { onCancel, onDropItem, onGrabItem, onMoveItem }: UseKeyboardDragAndDropCallbacks<TIndex>\n) => {\n const [isSelected, setIsSelected] = React.useState(false);\n\n const handleMove = (movement: 'UP' | 'DOWN') => {\n if (!isSelected) {\n return;\n }\n if (typeof index === 'number' && onMoveItem) {\n if (movement === 'UP') {\n onMoveItem((index - 1) as TIndex, index);\n } else if (movement === 'DOWN') {\n onMoveItem((index + 1) as TIndex, index);\n }\n }\n };\n\n const handleDragClick = () => {\n if (isSelected) {\n if (onDropItem) {\n onDropItem(index);\n }\n setIsSelected(false);\n } else {\n if (onGrabItem) {\n onGrabItem(index);\n }\n setIsSelected(true);\n }\n };\n\n const handleCancel = () => {\n if (isSelected) {\n setIsSelected(false);\n\n if (onCancel) {\n onCancel(index);\n }\n }\n };\n\n const handleKeyDown = <E extends Element>(e: React.KeyboardEvent<E>) => {\n if (!active) {\n return;\n }\n\n if (e.key === 'Tab' && !isSelected) {\n return;\n }\n\n e.preventDefault();\n\n switch (e.key) {\n case ' ':\n case 'Enter':\n handleDragClick();\n break;\n\n case 'Escape':\n handleCancel();\n break;\n\n case 'ArrowDown':\n case 'ArrowRight':\n handleMove('DOWN');\n break;\n\n case 'ArrowUp':\n case 'ArrowLeft':\n handleMove('UP');\n break;\n\n default:\n }\n };\n\n return handleKeyDown;\n};\n","import * as React from 'react';\n\nimport {\n useDrag,\n useDrop,\n type HandlerManager,\n type ConnectDragSource,\n type ConnectDropTarget,\n type ConnectDragPreview,\n type DragSourceMonitor,\n} from 'react-dnd';\n\nimport {\n useKeyboardDragAndDrop,\n type UseKeyboardDragAndDropCallbacks,\n} from './useKeyboardDragAndDrop';\n\nimport type { Data } from '@strapi/types';\n\nconst DIRECTIONS = {\n UPWARD: 'upward',\n DOWNWARD: 'downward',\n} as const;\n\nconst DROP_SENSITIVITY = {\n REGULAR: 'regular',\n IMMEDIATE: 'immediate',\n} as const;\n\ninterface UseDragAndDropOptions<\n TIndex extends number | Array<number> = number,\n TItem extends { index: TIndex } = { index: TIndex },\n> extends UseKeyboardDragAndDropCallbacks<TIndex> {\n type?: string;\n index: TIndex;\n item?: TItem;\n onStart?: () => void;\n onEnd?: () => void;\n dropSensitivity?: (typeof DROP_SENSITIVITY)[keyof typeof DROP_SENSITIVITY];\n}\n\ntype Identifier = ReturnType<HandlerManager['getHandlerId']>;\n\ntype UseDragAndDropReturn<E extends Element = HTMLElement> = [\n props: {\n handlerId: Identifier;\n isDragging: boolean;\n handleKeyDown: <E extends Element>(event: React.KeyboardEvent<E>) => void;\n isOverDropTarget: boolean;\n direction: (typeof DIRECTIONS)[keyof typeof DIRECTIONS] | null;\n },\n objectRef: React.RefObject<E>,\n dropRef: ConnectDropTarget,\n dragRef: ConnectDragSource,\n dragPreviewRef: ConnectDragPreview,\n];\n\ntype DropCollectedProps = {\n handlerId: Identifier;\n isOver: boolean;\n};\n\n/**\n * A utility hook abstracting the general drag and drop hooks from react-dnd.\n * Centralising the same behaviours and by default offering keyboard support.\n */\nconst useDragAndDrop = <\n TIndex extends number | Array<number>,\n TItem extends { index: TIndex; id?: Data.ID; [key: string]: unknown } = {\n index: TIndex;\n [key: string]: unknown;\n },\n E extends Element = HTMLElement,\n>(\n active: boolean,\n {\n type = 'STRAPI_DND',\n index,\n item,\n onStart,\n onEnd,\n onGrabItem,\n onDropItem,\n onCancel,\n onMoveItem,\n dropSensitivity = DROP_SENSITIVITY.REGULAR,\n }: UseDragAndDropOptions<TIndex, TItem>\n): UseDragAndDropReturn<E> => {\n const objectRef = React.useRef<E>(null);\n\n const [{ handlerId, isOver }, dropRef] = useDrop<TItem, void, DropCollectedProps>({\n accept: type,\n collect(monitor) {\n return {\n handlerId: monitor.getHandlerId(),\n isOver: monitor.isOver({ shallow: true }),\n };\n },\n drop(item) {\n const draggedIndex = item.index;\n const newIndex = index;\n\n if (isOver && onDropItem) {\n onDropItem(draggedIndex, newIndex);\n }\n },\n hover(item, monitor) {\n if (!objectRef.current || !onMoveItem) {\n return;\n }\n\n const dragIndex = item.index;\n const newIndex = index;\n\n const hoverBoundingRect = objectRef.current?.getBoundingClientRect();\n const hoverMiddleY = (hoverBoundingRect.bottom - hoverBoundingRect.top) / 2;\n const clientOffset = monitor.getClientOffset();\n if (!clientOffset) return;\n\n const hoverClientY = clientOffset && clientOffset.y - hoverBoundingRect.top;\n if (typeof dragIndex === 'number' && typeof newIndex === 'number') {\n if (dragIndex === newIndex) {\n // Don't replace items with themselves\n return;\n }\n\n if (dropSensitivity === DROP_SENSITIVITY.REGULAR) {\n // Dragging downwards\n if (dragIndex < newIndex && hoverClientY < hoverMiddleY) {\n return;\n }\n\n // Dragging upwards\n if (dragIndex > newIndex && hoverClientY > hoverMiddleY) {\n return;\n }\n }\n\n // Time to actually perform the action\n onMoveItem(newIndex, dragIndex);\n item.index = newIndex;\n } else {\n // Using numbers as indices doesn't work for nested list items with path like [1, 1, 0]\n if (Array.isArray(dragIndex) && Array.isArray(newIndex)) {\n // Indices comparison to find item position in nested list\n const minLength = Math.min(dragIndex.length, newIndex.length);\n let areEqual = true;\n let isLessThan = false;\n let isGreaterThan = false;\n\n for (let i = 0; i < minLength; i++) {\n if (dragIndex[i] < newIndex[i]) {\n isLessThan = true;\n areEqual = false;\n break;\n } else if (dragIndex[i] > newIndex[i]) {\n isGreaterThan = true;\n areEqual = false;\n break;\n }\n }\n\n // Don't replace items with themselves\n if (areEqual && dragIndex.length === newIndex.length) {\n return;\n }\n\n if (dropSensitivity === DROP_SENSITIVITY.REGULAR) {\n // Dragging downwards\n if (isLessThan && !isGreaterThan && hoverClientY < hoverMiddleY) {\n return;\n }\n\n // Dragging upwards\n if (isGreaterThan && !isLessThan && hoverClientY > hoverMiddleY) {\n return;\n }\n }\n }\n\n onMoveItem(newIndex, dragIndex);\n item.index = newIndex;\n }\n },\n });\n\n const getDragDirection = (monitor: DragSourceMonitor<TItem, void>) => {\n if (\n monitor &&\n monitor.isDragging() &&\n !monitor.didDrop() &&\n monitor.getInitialClientOffset() &&\n monitor.getClientOffset()\n ) {\n const deltaY = monitor.getInitialClientOffset()!.y - monitor.getClientOffset()!.y;\n\n if (deltaY > 0) return DIRECTIONS.UPWARD;\n\n if (deltaY < 0) return DIRECTIONS.DOWNWARD;\n\n return null;\n }\n\n return null;\n };\n\n const [{ isDragging, direction }, dragRef, dragPreviewRef] = useDrag({\n type,\n item() {\n if (onStart) {\n onStart();\n }\n\n /**\n * This will be attached and it helps define the preview sizes\n * when a component is flexy e.g. Relations\n */\n const { width } = objectRef.current?.getBoundingClientRect() ?? {};\n\n return { index, width, ...item };\n },\n end() {\n if (onEnd) {\n onEnd();\n }\n },\n canDrag: active,\n /**\n * This is useful when the item is in a virtualized list.\n * However, if we don't have an ID then we want the libraries\n * defaults to take care of this.\n */\n isDragging: item?.id\n ? (monitor) => {\n return item.id === monitor.getItem().id;\n }\n : undefined,\n collect: (monitor) => ({\n isDragging: monitor.isDragging(),\n initialOffset: monitor.getInitialClientOffset(),\n currentOffset: monitor.getClientOffset(),\n direction: getDragDirection(monitor),\n }),\n });\n\n const handleKeyDown = useKeyboardDragAndDrop(active, index, {\n onGrabItem,\n onDropItem,\n onCancel,\n onMoveItem,\n });\n\n return [\n { handlerId, isDragging, handleKeyDown, isOverDropTarget: isOver, direction },\n objectRef,\n dropRef,\n dragRef,\n dragPreviewRef,\n ];\n};\n\nexport {\n useDragAndDrop,\n UseDragAndDropReturn,\n UseDragAndDropOptions,\n DIRECTIONS,\n DROP_SENSITIVITY,\n};\n","import clone from 'lodash/clone';\nimport toPath from 'lodash/toPath';\n\n/**\n * Deeply get a value from an object via its path.\n */\nexport function getIn(obj: any, key: string | string[], def?: any, pathStartIndex: number = 0) {\n const path = toPath(key);\n while (obj && pathStartIndex < path.length) {\n obj = obj[path[pathStartIndex++]];\n }\n\n // check if path is not in the end\n if (pathStartIndex !== path.length && !obj) {\n return def;\n }\n\n return obj === undefined ? def : obj;\n}\n\n/** @internal is the given object an Object? */\nexport const isObject = (obj: any): obj is object =>\n obj !== null && typeof obj === 'object' && !Array.isArray(obj);\n\n/** @internal is the given object an integer? */\nexport const isInteger = (obj: any): boolean => String(Math.floor(Number(obj))) === obj;\n\n/**\n * Deeply set a value from in object via its path. If the value at `path`\n * has changed, return a shallow copy of obj with `value` set at `path`.\n * If `value` has not changed, return the original `obj`.\n *\n * Existing objects / arrays along `path` are also shallow copied. Sibling\n * objects along path retain the same internal js reference. Since new\n * objects / arrays are only created along `path`, we can test if anything\n * changed in a nested structure by comparing the object's reference in\n * the old and new object, similar to how russian doll cache invalidation\n * works.\n *\n * In earlier versions of this function, which used cloneDeep, there were\n * issues whereby settings a nested value would mutate the parent\n * instead of creating a new object. `clone` avoids that bug making a\n * shallow copy of the objects along the update path\n * so no object is mutated in place.\n *\n * Before changing this function, please read through the following\n * discussions.\n *\n * @see https://github.com/developit/linkstate\n * @see https://github.com/jaredpalmer/formik/pull/123\n */\nexport function setIn(obj: any, path: string, value: any): any {\n const res: any = clone(obj); // this keeps inheritance when obj is a class\n let resVal: any = res;\n let i = 0;\n const pathArray = toPath(path);\n\n for (; i < pathArray.length - 1; i++) {\n const currentPath: string = pathArray[i];\n const currentObj: any = getIn(obj, pathArray.slice(0, i + 1));\n\n if (currentObj && (isObject(currentObj) || Array.isArray(currentObj))) {\n resVal = resVal[currentPath] = clone(currentObj);\n } else {\n const nextPath: string = pathArray[i + 1];\n resVal = resVal[currentPath] = isInteger(nextPath) && Number(nextPath) >= 0 ? [] : {};\n }\n }\n\n // Return original object if new value is the same as current\n if ((i === 0 ? obj : resVal)[pathArray[i]] === value) {\n return obj;\n }\n\n if (value === undefined) {\n delete resVal[pathArray[i]];\n } else {\n resVal[pathArray[i]] = value;\n }\n\n // If the path array has a single element, the loop did not run.\n // Deleting on `resVal` had no effect in this scenario, so we delete on the result instead.\n if (i === 0 && value === undefined) {\n delete res[pathArray[i]];\n }\n\n return res;\n}\n"],"names":["ItemTypes","COMPONENT","EDIT_FIELD","FIELD","DYNAMIC_ZONE","RELATION","BLOCKS","useKeyboardDragAndDrop","active","index","onCancel","onDropItem","onGrabItem","onMoveItem","isSelected","setIsSelected","React","useState","handleMove","movement","handleDragClick","handleCancel","handleKeyDown","e","key","preventDefault","DIRECTIONS","UPWARD","DOWNWARD","DROP_SENSITIVITY","REGULAR","IMMEDIATE","useDragAndDrop","type","item","onStart","onEnd","dropSensitivity","objectRef","useRef","handlerId","isOver","dropRef","useDrop","accept","collect","monitor","getHandlerId","shallow","drop","draggedIndex","newIndex","hover","current","dragIndex","hoverBoundingRect","getBoundingClientRect","hoverMiddleY","bottom","top","clientOffset","getClientOffset","hoverClientY","y","Array","isArray","minLength","Math","min","length","areEqual","isLessThan","isGreaterThan","i","getDragDirection","isDragging","didDrop","getInitialClientOffset","deltaY","direction","dragRef","dragPreviewRef","useDrag","width","end","canDrag","id","getItem","undefined","initialOffset","currentOffset","isOverDropTarget","getIn","obj","def","pathStartIndex","path","toPath","isObject","isInteger","String","floor","Number","setIn","value","res","clone","resVal","pathArray","currentPath","currentObj","slice","nextPath"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;MAAaA,SAAY,GAAA;IACvBC,SAAW,EAAA,WAAA;IACXC,UAAY,EAAA,WAAA;IACZC,KAAO,EAAA,OAAA;IACPC,YAAc,EAAA,aAAA;IACdC,QAAU,EAAA,UAAA;IACVC,MAAQ,EAAA;AACV;;ACEA;;;;;AAKC,IACM,MAAMC,sBAAyB,GAAA,CACpCC,QACAC,KACA,EAAA,EAAEC,QAAQ,EAAEC,UAAU,EAAEC,UAAU,EAAEC,UAAU,EAA2C,GAAA;AAEzF,IAAA,MAAM,CAACC,UAAYC,EAAAA,aAAAA,CAAc,GAAGC,gBAAAA,CAAMC,QAAQ,CAAC,KAAA,CAAA;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