@strapi/content-manager 0.0.0-experimental.cb311d9fcfbd8e441f790aea232f0a39bdd90e16 → 0.0.0-experimental.ce3ce68ff05de341bbdb48e7164d5367cffa839c

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 (497) 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-DKPNz7kC.mjs +276 -0
  6. package/dist/admin/chunks/ComponentConfigurationPage-DKPNz7kC.mjs.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.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-D6MAzDx9.js +180 -0
  14. package/dist/admin/chunks/EditConfigurationPage-D6MAzDx9.js.map +1 -0
  15. package/dist/admin/chunks/EditConfigurationPage-QUYChTGp.mjs +158 -0
  16. package/dist/admin/chunks/EditConfigurationPage-QUYChTGp.mjs.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-CVSmF6vY.mjs +314 -0
  20. package/dist/admin/chunks/EditViewPage-CVSmF6vY.mjs.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-D3aRL8pG.mjs +955 -0
  26. package/dist/admin/chunks/Form-D3aRL8pG.mjs.map +1 -0
  27. package/dist/admin/chunks/Form-DT-mJpeC.js +978 -0
  28. package/dist/admin/chunks/Form-DT-mJpeC.js.map +1 -0
  29. package/dist/admin/chunks/History-Cev65qhQ.mjs +1357 -0
  30. package/dist/admin/chunks/History-Cev65qhQ.mjs.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-DKc071zK.js +6785 -0
  34. package/dist/admin/chunks/Input-DKc071zK.js.map +1 -0
  35. package/dist/admin/chunks/Input-DmdcvKcy.mjs +6755 -0
  36. package/dist/admin/chunks/Input-DmdcvKcy.mjs.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-yidhkI_g.mjs +795 -0
  40. package/dist/admin/chunks/ListConfigurationPage-yidhkI_g.mjs.map +1 -0
  41. package/dist/admin/chunks/ListViewPage-CkbK_jTo.js +1154 -0
  42. package/dist/admin/chunks/ListViewPage-CkbK_jTo.js.map +1 -0
  43. package/dist/admin/chunks/ListViewPage-kGaMwPGl.mjs +1132 -0
  44. package/dist/admin/chunks/ListViewPage-kGaMwPGl.mjs.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-DotejDdi.mjs +57 -0
  48. package/dist/admin/chunks/NoContentTypePage-DotejDdi.mjs.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-CSGCioeQ.mjs +36 -0
  52. package/dist/admin/chunks/NoPermissionsPage-CSGCioeQ.mjs.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-CPJ1hVQG.mjs +531 -0
  56. package/dist/admin/chunks/Preview-CPJ1hVQG.mjs.map +1 -0
  57. package/dist/admin/chunks/Relations-C8ytFTHV.mjs +827 -0
  58. package/dist/admin/chunks/Relations-C8ytFTHV.mjs.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.mjs +222 -0
  62. package/dist/{_chunks/ar-CCEVvqGG.mjs.map → admin/chunks/ar-DckYq_WK.mjs.map} +1 -1
  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.mjs +197 -0
  68. package/dist/admin/chunks/ca-DviY7mRj.mjs.map +1 -0
  69. package/dist/admin/chunks/cs-BJFxwIWj.js +126 -0
  70. package/dist/{_chunks/cs-CkJy6B2v.js.map → admin/chunks/cs-BJFxwIWj.js.map} +1 -1
  71. package/dist/admin/chunks/cs-C7OSYFQ7.mjs +122 -0
  72. package/dist/{_chunks/cs-CM2aBUar.mjs.map → admin/chunks/cs-C7OSYFQ7.mjs.map} +1 -1
  73. package/dist/admin/chunks/de-5QRlDHyR.mjs +195 -0
  74. package/dist/{_chunks/eu-CdALomew.mjs.map → admin/chunks/de-5QRlDHyR.mjs.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/{_chunks/en-uOUIxfcQ.js.map → admin/chunks/en-C1CjdAtC.js.map} +1 -1
  79. package/dist/admin/chunks/en-LfhocNG2.mjs +308 -0
  80. package/dist/{_chunks/en-BrCTWlZv.mjs.map → admin/chunks/en-LfhocNG2.mjs.map} +1 -1
  81. package/dist/admin/chunks/es-C8vLuvZL.js +197 -0
  82. package/dist/{_chunks/es-EUonQTon.js.map → admin/chunks/es-C8vLuvZL.js.map} +1 -1
  83. package/dist/admin/chunks/es-DkoWSExG.mjs +192 -0
  84. package/dist/{_chunks/ja-CtsUxOvk.mjs.map → admin/chunks/es-DkoWSExG.mjs.map} +1 -1
  85. package/dist/admin/chunks/eu-BG1xX7HK.mjs +198 -0
  86. package/dist/admin/chunks/eu-BG1xX7HK.mjs.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.mjs +215 -0
  90. package/dist/admin/chunks/fr-CFdRaRVj.mjs.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.mjs +196 -0
  94. package/dist/admin/chunks/gu-D5MMMXRs.mjs.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.mjs +196 -0
  100. package/dist/admin/chunks/hi-lp17SCjr.mjs.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_.mjs +7 -0
  104. package/dist/admin/chunks/hooks-DMvik5y_.mjs.map +1 -0
  105. package/dist/admin/chunks/hu-CLka1U2C.mjs +198 -0
  106. package/dist/admin/chunks/hu-CLka1U2C.mjs.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.mjs +156 -0
  112. package/dist/{_chunks/id-BtwA9WJT.mjs.map → admin/chunks/id-USfY9m1g.mjs.map} +1 -1
  113. package/dist/admin/chunks/index-Deb5-YKG.mjs +5350 -0
  114. package/dist/admin/chunks/index-Deb5-YKG.mjs.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.mjs +158 -0
  118. package/dist/{_chunks/it-BrVPqaf1.mjs.map → admin/chunks/it-BAHrwmYS.mjs.map} +1 -1
  119. package/dist/admin/chunks/it-CQFpa_Dc.js +163 -0
  120. package/dist/{_chunks/ko-woFZPmLk.js.map → admin/chunks/it-CQFpa_Dc.js.map} +1 -1
  121. package/dist/admin/chunks/ja-BWKmBJFT.mjs +192 -0
  122. package/dist/{_chunks/ko-HVQRlfUI.mjs.map → admin/chunks/ja-BWKmBJFT.mjs.map} +1 -1
  123. package/dist/admin/chunks/ja-jdQM-B79.js +197 -0
  124. package/dist/{_chunks/de-CCEmbAah.js.map → admin/chunks/ja-jdQM-B79.js.map} +1 -1
  125. package/dist/admin/chunks/ko-CgADGBNt.mjs +191 -0
  126. package/dist/{_chunks/es-CeXiYflN.mjs.map → admin/chunks/ko-CgADGBNt.mjs.map} +1 -1
  127. package/dist/admin/chunks/ko-k46sEyzt.js +196 -0
  128. package/dist/{_chunks/ja-CcFe8diO.js.map → admin/chunks/ko-k46sEyzt.js.map} +1 -1
  129. package/dist/admin/chunks/layout-MkippATC.mjs +598 -0
  130. package/dist/admin/chunks/layout-MkippATC.mjs.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_.mjs +196 -0
  134. package/dist/admin/chunks/ml-CnhCfOn_.mjs.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.mjs +140 -0
  138. package/dist/{_chunks/ms-m_WjyWx7.mjs.map → admin/chunks/ms-Bh09NFff.mjs.map} +1 -1
  139. package/dist/admin/chunks/ms-CvSC0OdG.js +145 -0
  140. package/dist/{_chunks/ms-BuFotyP_.js.map → admin/chunks/ms-CvSC0OdG.js.map} +1 -1
  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.mjs +198 -0
  144. package/dist/admin/chunks/nl-C8HYflTc.mjs.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.mjs +73 -0
  148. package/dist/admin/chunks/objects-wl73iEma.mjs.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.mjs +195 -0
  152. package/dist/{_chunks/ca-5U32ON2v.mjs.map → admin/chunks/pl-MFCZJZuZ.mjs.map} +1 -1
  153. package/dist/admin/chunks/pt-BR-CPtAXD-4.js +202 -0
  154. package/dist/{_chunks/pt-BR-BiOz37D9.js.map → admin/chunks/pt-BR-CPtAXD-4.js.map} +1 -1
  155. package/dist/admin/chunks/pt-BR-CcotyBGJ.mjs +197 -0
  156. package/dist/{_chunks/pt-BR-C71iDxnh.mjs.map → admin/chunks/pt-BR-CcotyBGJ.mjs.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.mjs +93 -0
  160. package/dist/admin/chunks/pt-HbmgeiYO.mjs.map +1 -0
  161. package/dist/admin/chunks/relations-BwFH-RZe.mjs +173 -0
  162. package/dist/admin/chunks/relations-BwFH-RZe.mjs.map +1 -0
  163. package/dist/admin/chunks/relations-CQOKwshG.js +178 -0
  164. package/dist/admin/chunks/relations-CQOKwshG.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.mjs +230 -0
  168. package/dist/{_chunks/ru-BE6A4Exp.mjs.map → admin/chunks/ru-CB4BUyQp.mjs.map} +1 -1
  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.mjs +196 -0
  172. package/dist/admin/chunks/sa-n_aPA-pU.mjs.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.mjs +198 -0
  176. package/dist/admin/chunks/sk-tn_BDjE2.mjs.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.mjs +198 -0
  180. package/dist/admin/chunks/sv-cq4ZrQRd.mjs.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.mjs +144 -0
  184. package/dist/{_chunks/th-BqbI8lIT.mjs.map → admin/chunks/th-mUH7hEtc.mjs.map} +1 -1
  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.mjs +195 -0
  188. package/dist/{_chunks/de-C72KDNOl.mjs.map → admin/chunks/tr-Yt38daxh.mjs.map} +1 -1
  189. package/dist/admin/chunks/uk-B24MoTVg.js +145 -0
  190. package/dist/{_chunks/uk-C8EiqJY7.js.map → admin/chunks/uk-B24MoTVg.js.map} +1 -1
  191. package/dist/admin/chunks/uk-Cpgmm7gE.mjs +140 -0
  192. package/dist/{_chunks/uk-CR-zDhAY.mjs.map → admin/chunks/uk-Cpgmm7gE.mjs.map} +1 -1
  193. package/dist/admin/chunks/useDragAndDrop-HYwNDExe.mjs +247 -0
  194. package/dist/admin/chunks/useDragAndDrop-HYwNDExe.mjs.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.mjs +18 -0
  198. package/dist/admin/chunks/usePrev-Bjw2dhmq.mjs.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/{_chunks/vi-CJlYDheJ.js.map → admin/chunks/vi-BGr1X_HZ.js.map} +1 -1
  203. package/dist/admin/chunks/vi-CvBGlTjr.mjs +108 -0
  204. package/dist/{_chunks/vi-DUXIk_fw.mjs.map → admin/chunks/vi-CvBGlTjr.mjs.map} +1 -1
  205. package/dist/admin/chunks/zh-BmF-sHaT.mjs +205 -0
  206. package/dist/admin/chunks/zh-BmF-sHaT.mjs.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.mjs +934 -0
  210. package/dist/{_chunks/zh-Hans-BPQcRIyH.mjs.map → admin/chunks/zh-Hans-CI0HKio3.mjs.map} +1 -1
  211. package/dist/admin/chunks/zh-Hans-JVK9x7xr.js +953 -0
  212. package/dist/{_chunks/zh-Hans-9kOncHGw.js.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/FormInputs/Wysiwyg/EditorLayout.d.ts +2 -2
  229. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygFooter.d.ts +2 -2
  230. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +4 -48
  231. package/dist/admin/src/pages/EditView/components/FormLayout.d.ts +27 -0
  232. package/dist/admin/src/pages/EditView/components/Header.d.ts +11 -11
  233. package/dist/admin/src/pages/EditView/utils/data.d.ts +1 -0
  234. package/dist/admin/src/preview/components/PreviewContent.d.ts +3 -0
  235. package/dist/admin/src/preview/components/PreviewHeader.d.ts +3 -0
  236. package/dist/admin/src/preview/components/PreviewSidePanel.d.ts +3 -0
  237. package/dist/admin/src/preview/index.d.ts +3 -0
  238. package/dist/admin/src/preview/pages/Preview.d.ts +11 -0
  239. package/dist/admin/src/preview/routes.d.ts +3 -0
  240. package/dist/admin/src/preview/services/preview.d.ts +3 -0
  241. package/dist/admin/src/router.d.ts +1 -1
  242. package/dist/admin/src/services/api.d.ts +1 -1
  243. package/dist/admin/src/services/components.d.ts +2 -2
  244. package/dist/admin/src/services/contentTypes.d.ts +3 -3
  245. package/dist/admin/src/services/documents.d.ts +19 -20
  246. package/dist/admin/src/services/init.d.ts +1 -1
  247. package/dist/admin/src/services/relations.d.ts +2 -2
  248. package/dist/admin/src/services/uid.d.ts +3 -3
  249. package/dist/admin/src/utils/validation.d.ts +4 -1
  250. package/dist/server/index.js +5472 -4119
  251. package/dist/server/index.js.map +1 -1
  252. package/dist/server/index.mjs +5458 -4102
  253. package/dist/server/index.mjs.map +1 -1
  254. package/dist/server/src/bootstrap.d.ts.map +1 -1
  255. package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
  256. package/dist/server/src/controllers/index.d.ts.map +1 -1
  257. package/dist/server/src/controllers/relations.d.ts.map +1 -1
  258. package/dist/server/src/controllers/utils/metadata.d.ts +17 -2
  259. package/dist/server/src/controllers/utils/metadata.d.ts.map +1 -1
  260. package/dist/server/src/history/controllers/history-version.d.ts +1 -1
  261. package/dist/server/src/history/controllers/history-version.d.ts.map +1 -1
  262. package/dist/server/src/history/services/history.d.ts +3 -3
  263. package/dist/server/src/history/services/history.d.ts.map +1 -1
  264. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  265. package/dist/server/src/history/services/utils.d.ts +7 -11
  266. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  267. package/dist/server/src/index.d.ts +7 -6
  268. package/dist/server/src/index.d.ts.map +1 -1
  269. package/dist/server/src/policies/hasPermissions.d.ts.map +1 -1
  270. package/dist/server/src/preview/controllers/index.d.ts +2 -0
  271. package/dist/server/src/preview/controllers/index.d.ts.map +1 -0
  272. package/dist/server/src/preview/controllers/preview.d.ts +13 -0
  273. package/dist/server/src/preview/controllers/preview.d.ts.map +1 -0
  274. package/dist/server/src/preview/controllers/validation/preview.d.ts +6 -0
  275. package/dist/server/src/preview/controllers/validation/preview.d.ts.map +1 -0
  276. package/dist/server/src/preview/index.d.ts +4 -0
  277. package/dist/server/src/preview/index.d.ts.map +1 -0
  278. package/dist/server/src/preview/routes/index.d.ts +8 -0
  279. package/dist/server/src/preview/routes/index.d.ts.map +1 -0
  280. package/dist/server/src/preview/routes/preview.d.ts +4 -0
  281. package/dist/server/src/preview/routes/preview.d.ts.map +1 -0
  282. package/dist/server/src/preview/services/index.d.ts +16 -0
  283. package/dist/server/src/preview/services/index.d.ts.map +1 -0
  284. package/dist/server/src/preview/services/preview-config.d.ts +32 -0
  285. package/dist/server/src/preview/services/preview-config.d.ts.map +1 -0
  286. package/dist/server/src/preview/services/preview.d.ts +12 -0
  287. package/dist/server/src/preview/services/preview.d.ts.map +1 -0
  288. package/dist/server/src/preview/utils.d.ts +19 -0
  289. package/dist/server/src/preview/utils.d.ts.map +1 -0
  290. package/dist/server/src/register.d.ts.map +1 -1
  291. package/dist/server/src/routes/index.d.ts.map +1 -1
  292. package/dist/server/src/services/document-manager.d.ts.map +1 -1
  293. package/dist/server/src/services/document-metadata.d.ts +12 -10
  294. package/dist/server/src/services/document-metadata.d.ts.map +1 -1
  295. package/dist/server/src/services/index.d.ts +7 -6
  296. package/dist/server/src/services/index.d.ts.map +1 -1
  297. package/dist/server/src/services/permission-checker.d.ts.map +1 -1
  298. package/dist/server/src/services/utils/count.d.ts +1 -1
  299. package/dist/server/src/services/utils/count.d.ts.map +1 -1
  300. package/dist/server/src/services/utils/populate.d.ts +3 -3
  301. package/dist/server/src/services/utils/populate.d.ts.map +1 -1
  302. package/dist/server/src/utils/index.d.ts +2 -0
  303. package/dist/server/src/utils/index.d.ts.map +1 -1
  304. package/dist/shared/contracts/collection-types.d.ts +3 -2
  305. package/dist/shared/contracts/collection-types.d.ts.map +1 -1
  306. package/dist/shared/contracts/components.d.ts +0 -1
  307. package/dist/shared/contracts/content-types.d.ts +0 -1
  308. package/dist/shared/contracts/history-versions.d.ts +0 -1
  309. package/dist/shared/contracts/index.d.ts +1 -1
  310. package/dist/shared/contracts/index.d.ts.map +1 -1
  311. package/dist/shared/contracts/init.d.ts +0 -1
  312. package/dist/shared/contracts/preview.d.ts +26 -0
  313. package/dist/shared/contracts/preview.d.ts.map +1 -0
  314. package/dist/shared/contracts/relations.d.ts +1 -2
  315. package/dist/shared/contracts/relations.d.ts.map +1 -1
  316. package/dist/shared/contracts/review-workflows.d.ts +0 -1
  317. package/dist/shared/contracts/single-types.d.ts +0 -1
  318. package/dist/shared/contracts/uid.d.ts +0 -1
  319. package/dist/shared/index.d.ts +0 -1
  320. package/dist/shared/index.js +37 -22
  321. package/dist/shared/index.js.map +1 -1
  322. package/dist/shared/index.mjs +36 -23
  323. package/dist/shared/index.mjs.map +1 -1
  324. package/package.json +24 -20
  325. package/dist/_chunks/CardDragPreview-C0QyJgRA.js +0 -69
  326. package/dist/_chunks/CardDragPreview-C0QyJgRA.js.map +0 -1
  327. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs +0 -70
  328. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs.map +0 -1
  329. package/dist/_chunks/ComponentConfigurationPage-D0dyDTwq.mjs +0 -236
  330. package/dist/_chunks/ComponentConfigurationPage-D0dyDTwq.mjs.map +0 -1
  331. package/dist/_chunks/ComponentConfigurationPage-DL1MHO8i.js +0 -255
  332. package/dist/_chunks/ComponentConfigurationPage-DL1MHO8i.js.map +0 -1
  333. package/dist/_chunks/ComponentIcon-BXdiCGQp.js +0 -176
  334. package/dist/_chunks/ComponentIcon-BXdiCGQp.js.map +0 -1
  335. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs +0 -157
  336. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs.map +0 -1
  337. package/dist/_chunks/EditConfigurationPage-13b7S5Cq.mjs +0 -132
  338. package/dist/_chunks/EditConfigurationPage-13b7S5Cq.mjs.map +0 -1
  339. package/dist/_chunks/EditConfigurationPage-CMaOf-A-.js +0 -151
  340. package/dist/_chunks/EditConfigurationPage-CMaOf-A-.js.map +0 -1
  341. package/dist/_chunks/EditViewPage-BSVmMpRd.js +0 -222
  342. package/dist/_chunks/EditViewPage-BSVmMpRd.js.map +0 -1
  343. package/dist/_chunks/EditViewPage-C3tIZ8F5.mjs +0 -203
  344. package/dist/_chunks/EditViewPage-C3tIZ8F5.mjs.map +0 -1
  345. package/dist/_chunks/Field-BvuT8cGL.mjs +0 -5491
  346. package/dist/_chunks/Field-BvuT8cGL.mjs.map +0 -1
  347. package/dist/_chunks/Field-DUCVth4C.js +0 -5523
  348. package/dist/_chunks/Field-DUCVth4C.js.map +0 -1
  349. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs +0 -50
  350. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs.map +0 -1
  351. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js +0 -49
  352. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js.map +0 -1
  353. package/dist/_chunks/Form-BZmDNVr9.mjs +0 -739
  354. package/dist/_chunks/Form-BZmDNVr9.mjs.map +0 -1
  355. package/dist/_chunks/Form-Cpl4W1ak.js +0 -760
  356. package/dist/_chunks/Form-Cpl4W1ak.js.map +0 -1
  357. package/dist/_chunks/History-Cq_Hrzuu.mjs +0 -1032
  358. package/dist/_chunks/History-Cq_Hrzuu.mjs.map +0 -1
  359. package/dist/_chunks/History-D4U2YISB.js +0 -1053
  360. package/dist/_chunks/History-D4U2YISB.js.map +0 -1
  361. package/dist/_chunks/ListConfigurationPage-Bny6CdWe.js +0 -642
  362. package/dist/_chunks/ListConfigurationPage-Bny6CdWe.js.map +0 -1
  363. package/dist/_chunks/ListConfigurationPage-W-KQHmBv.mjs +0 -622
  364. package/dist/_chunks/ListConfigurationPage-W-KQHmBv.mjs.map +0 -1
  365. package/dist/_chunks/ListViewPage-HBBnJa8K.mjs +0 -824
  366. package/dist/_chunks/ListViewPage-HBBnJa8K.mjs.map +0 -1
  367. package/dist/_chunks/ListViewPage-O8F1pBJo.js +0 -848
  368. package/dist/_chunks/ListViewPage-O8F1pBJo.js.map +0 -1
  369. package/dist/_chunks/NoContentTypePage-B-gIhHWM.mjs +0 -51
  370. package/dist/_chunks/NoContentTypePage-B-gIhHWM.mjs.map +0 -1
  371. package/dist/_chunks/NoContentTypePage-CQWChGPw.js +0 -51
  372. package/dist/_chunks/NoContentTypePage-CQWChGPw.js.map +0 -1
  373. package/dist/_chunks/NoPermissionsPage-CY46zxnM.js +0 -23
  374. package/dist/_chunks/NoPermissionsPage-CY46zxnM.js.map +0 -1
  375. package/dist/_chunks/NoPermissionsPage-XhOPl8wx.mjs +0 -23
  376. package/dist/_chunks/NoPermissionsPage-XhOPl8wx.mjs.map +0 -1
  377. package/dist/_chunks/Relations-C4gGfZRv.js +0 -714
  378. package/dist/_chunks/Relations-C4gGfZRv.js.map +0 -1
  379. package/dist/_chunks/Relations-vFZ6Wasg.mjs +0 -694
  380. package/dist/_chunks/Relations-vFZ6Wasg.mjs.map +0 -1
  381. package/dist/_chunks/ar-BUUWXIYu.js +0 -226
  382. package/dist/_chunks/ar-BUUWXIYu.js.map +0 -1
  383. package/dist/_chunks/ar-CCEVvqGG.mjs +0 -226
  384. package/dist/_chunks/ca-5U32ON2v.mjs +0 -201
  385. package/dist/_chunks/ca-Cmk45QO6.js +0 -201
  386. package/dist/_chunks/cs-CM2aBUar.mjs +0 -125
  387. package/dist/_chunks/cs-CkJy6B2v.js +0 -125
  388. package/dist/_chunks/de-C72KDNOl.mjs +0 -199
  389. package/dist/_chunks/de-CCEmbAah.js +0 -199
  390. package/dist/_chunks/en-BrCTWlZv.mjs +0 -292
  391. package/dist/_chunks/en-uOUIxfcQ.js +0 -292
  392. package/dist/_chunks/es-CeXiYflN.mjs +0 -196
  393. package/dist/_chunks/es-EUonQTon.js +0 -196
  394. package/dist/_chunks/eu-CdALomew.mjs +0 -202
  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/index-5EMXLEM_.js +0 -3952
  418. package/dist/_chunks/index-5EMXLEM_.js.map +0 -1
  419. package/dist/_chunks/index-Dpxg3ctD.mjs +0 -3933
  420. package/dist/_chunks/index-Dpxg3ctD.mjs.map +0 -1
  421. package/dist/_chunks/it-BrVPqaf1.mjs +0 -162
  422. package/dist/_chunks/it-DkBIs7vD.js +0 -162
  423. package/dist/_chunks/ja-CcFe8diO.js +0 -196
  424. package/dist/_chunks/ja-CtsUxOvk.mjs +0 -196
  425. package/dist/_chunks/ko-HVQRlfUI.mjs +0 -195
  426. package/dist/_chunks/ko-woFZPmLk.js +0 -195
  427. package/dist/_chunks/layout-C0INpKap.mjs +0 -470
  428. package/dist/_chunks/layout-C0INpKap.mjs.map +0 -1
  429. package/dist/_chunks/layout-P3eKO1Qy.js +0 -488
  430. package/dist/_chunks/layout-P3eKO1Qy.js.map +0 -1
  431. package/dist/_chunks/ml-BihZwQit.mjs +0 -200
  432. package/dist/_chunks/ml-BihZwQit.mjs.map +0 -1
  433. package/dist/_chunks/ml-C2W8N8k1.js +0 -200
  434. package/dist/_chunks/ml-C2W8N8k1.js.map +0 -1
  435. package/dist/_chunks/ms-BuFotyP_.js +0 -144
  436. package/dist/_chunks/ms-m_WjyWx7.mjs +0 -144
  437. package/dist/_chunks/nl-D4R9gHx5.mjs +0 -202
  438. package/dist/_chunks/nl-D4R9gHx5.mjs.map +0 -1
  439. package/dist/_chunks/nl-bbEOHChV.js +0 -202
  440. package/dist/_chunks/nl-bbEOHChV.js.map +0 -1
  441. package/dist/_chunks/objects-gigeqt7s.js +0 -49
  442. package/dist/_chunks/objects-gigeqt7s.js.map +0 -1
  443. package/dist/_chunks/objects-mKMAmfec.mjs +0 -47
  444. package/dist/_chunks/objects-mKMAmfec.mjs.map +0 -1
  445. package/dist/_chunks/pl-sbx9mSt_.mjs +0 -199
  446. package/dist/_chunks/pl-sbx9mSt_.mjs.map +0 -1
  447. package/dist/_chunks/pl-uzwG-hk7.js +0 -199
  448. package/dist/_chunks/pl-uzwG-hk7.js.map +0 -1
  449. package/dist/_chunks/pt-BR-BiOz37D9.js +0 -201
  450. package/dist/_chunks/pt-BR-C71iDxnh.mjs +0 -201
  451. package/dist/_chunks/pt-BsaFvS8-.mjs +0 -95
  452. package/dist/_chunks/pt-BsaFvS8-.mjs.map +0 -1
  453. package/dist/_chunks/pt-CeXQuq50.js +0 -95
  454. package/dist/_chunks/pt-CeXQuq50.js.map +0 -1
  455. package/dist/_chunks/relations-B1y0K6LE.js +0 -134
  456. package/dist/_chunks/relations-B1y0K6LE.js.map +0 -1
  457. package/dist/_chunks/relations-FBRRBWeO.mjs +0 -135
  458. package/dist/_chunks/relations-FBRRBWeO.mjs.map +0 -1
  459. package/dist/_chunks/ru-BE6A4Exp.mjs +0 -231
  460. package/dist/_chunks/ru-BT3ybNny.js +0 -231
  461. package/dist/_chunks/sa-CcvkYInH.js +0 -200
  462. package/dist/_chunks/sa-CcvkYInH.js.map +0 -1
  463. package/dist/_chunks/sa-Dag0k-Z8.mjs +0 -200
  464. package/dist/_chunks/sa-Dag0k-Z8.mjs.map +0 -1
  465. package/dist/_chunks/sk-BFg-R8qJ.mjs +0 -202
  466. package/dist/_chunks/sk-BFg-R8qJ.mjs.map +0 -1
  467. package/dist/_chunks/sk-CvY09Xjv.js +0 -202
  468. package/dist/_chunks/sk-CvY09Xjv.js.map +0 -1
  469. package/dist/_chunks/sv-CUnfWGsh.mjs +0 -202
  470. package/dist/_chunks/sv-CUnfWGsh.mjs.map +0 -1
  471. package/dist/_chunks/sv-MYDuzgvT.js +0 -202
  472. package/dist/_chunks/sv-MYDuzgvT.js.map +0 -1
  473. package/dist/_chunks/th-BqbI8lIT.mjs +0 -148
  474. package/dist/_chunks/th-D9_GfAjc.js +0 -148
  475. package/dist/_chunks/tr-CgeK3wJM.mjs +0 -199
  476. package/dist/_chunks/tr-CgeK3wJM.mjs.map +0 -1
  477. package/dist/_chunks/tr-D9UH-O_R.js +0 -199
  478. package/dist/_chunks/tr-D9UH-O_R.js.map +0 -1
  479. package/dist/_chunks/uk-C8EiqJY7.js +0 -144
  480. package/dist/_chunks/uk-CR-zDhAY.mjs +0 -144
  481. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs +0 -231
  482. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs.map +0 -1
  483. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js +0 -249
  484. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js.map +0 -1
  485. package/dist/_chunks/usePrev-B9w_-eYc.js +0 -15
  486. package/dist/_chunks/usePrev-B9w_-eYc.js.map +0 -1
  487. package/dist/_chunks/usePrev-DH6iah0A.mjs +0 -16
  488. package/dist/_chunks/usePrev-DH6iah0A.mjs.map +0 -1
  489. package/dist/_chunks/vi-CJlYDheJ.js +0 -111
  490. package/dist/_chunks/vi-DUXIk_fw.mjs +0 -111
  491. package/dist/_chunks/zh-BWZspA60.mjs +0 -209
  492. package/dist/_chunks/zh-BWZspA60.mjs.map +0 -1
  493. package/dist/_chunks/zh-CQQfszqR.js +0 -209
  494. package/dist/_chunks/zh-CQQfszqR.js.map +0 -1
  495. package/dist/_chunks/zh-Hans-9kOncHGw.js +0 -952
  496. package/dist/_chunks/zh-Hans-BPQcRIyH.mjs +0 -952
  497. package/strapi-server.js +0 -3
@@ -1,134 +0,0 @@
1
- "use strict";
2
- const fractionalIndexing = require("fractional-indexing");
3
- const index = require("./index-5EMXLEM_.js");
4
- const relationsApi = index.contentManagerApi.injectEndpoints({
5
- endpoints: (build) => ({
6
- getRelations: build.query({
7
- query: ({ model, id, targetField, params }) => {
8
- return {
9
- url: `/content-manager/relations/${model}/${id}/${targetField}`,
10
- method: "GET",
11
- config: {
12
- params
13
- }
14
- };
15
- },
16
- serializeQueryArgs: (args) => {
17
- const { endpointName, queryArgs } = args;
18
- return {
19
- endpointName,
20
- model: queryArgs.model,
21
- id: queryArgs.id,
22
- targetField: queryArgs.targetField,
23
- locale: queryArgs.params?.locale,
24
- status: queryArgs.params?.status
25
- };
26
- },
27
- merge: (currentCache, newItems) => {
28
- if (currentCache.pagination && newItems.pagination) {
29
- if (currentCache.pagination.page < newItems.pagination.page) {
30
- const existingIds = currentCache.results.map((item) => item.documentId);
31
- const uniqueNewItems = newItems.results.filter(
32
- (item) => !existingIds.includes(item.documentId)
33
- );
34
- currentCache.results.push(...prepareTempKeys(uniqueNewItems, currentCache.results));
35
- currentCache.pagination = newItems.pagination;
36
- } else if (newItems.pagination.page === 1) {
37
- currentCache.results = prepareTempKeys(newItems.results);
38
- currentCache.pagination = newItems.pagination;
39
- }
40
- }
41
- },
42
- forceRefetch({ currentArg, previousArg }) {
43
- if (!currentArg?.params && !previousArg?.params) {
44
- return false;
45
- }
46
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
47
- },
48
- transformResponse: (response) => {
49
- if ("results" in response && response.results) {
50
- return {
51
- ...response,
52
- results: prepareTempKeys(response.results.toReversed())
53
- };
54
- } else {
55
- return response;
56
- }
57
- },
58
- providesTags: ["Relations"]
59
- }),
60
- searchRelations: build.query({
61
- query: ({ model, targetField, params }) => {
62
- return {
63
- url: `/content-manager/relations/${model}/${targetField}`,
64
- method: "GET",
65
- config: {
66
- params
67
- }
68
- };
69
- },
70
- serializeQueryArgs: (args) => {
71
- const { endpointName, queryArgs } = args;
72
- return {
73
- endpointName,
74
- model: queryArgs.model,
75
- targetField: queryArgs.targetField,
76
- _q: queryArgs.params?._q,
77
- idsToOmit: queryArgs.params?.idsToOmit,
78
- idsToInclude: queryArgs.params?.idsToInclude
79
- };
80
- },
81
- merge: (currentCache, newItems) => {
82
- if (currentCache.pagination && newItems.pagination) {
83
- if (currentCache.pagination.page < newItems.pagination.page) {
84
- const existingIds = currentCache.results.map((item) => item.documentId);
85
- const uniqueNewItems = newItems.results.filter(
86
- (item) => !existingIds.includes(item.documentId)
87
- );
88
- currentCache.results.push(...uniqueNewItems);
89
- currentCache.pagination = newItems.pagination;
90
- } else if (newItems.pagination.page === 1) {
91
- currentCache.results = newItems.results;
92
- currentCache.pagination = newItems.pagination;
93
- }
94
- }
95
- },
96
- forceRefetch({ currentArg, previousArg }) {
97
- if (!currentArg?.params && !previousArg?.params) {
98
- return false;
99
- }
100
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
101
- },
102
- transformResponse: (response) => {
103
- if (response.results) {
104
- return {
105
- ...response,
106
- results: response.results
107
- };
108
- } else {
109
- return response;
110
- }
111
- }
112
- })
113
- })
114
- });
115
- const prepareTempKeys = (relations, existingRelations = []) => {
116
- const [firstItem] = existingRelations.slice(0);
117
- const keys = fractionalIndexing.generateNKeysBetween(null, firstItem?.__temp_key__ ?? null, relations.length);
118
- return relations.map((datum, index2) => ({
119
- ...datum,
120
- __temp_key__: keys[index2]
121
- }));
122
- };
123
- const { useGetRelationsQuery, useLazySearchRelationsQuery } = relationsApi;
124
- const getRelationLabel = (relation, mainField) => {
125
- const label = mainField && relation[mainField.name] ? relation[mainField.name] : null;
126
- if (typeof label === "string") {
127
- return label;
128
- }
129
- return relation.documentId;
130
- };
131
- exports.getRelationLabel = getRelationLabel;
132
- exports.useGetRelationsQuery = useGetRelationsQuery;
133
- exports.useLazySearchRelationsQuery = useLazySearchRelationsQuery;
134
- //# sourceMappingURL=relations-B1y0K6LE.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relations-B1y0K6LE.js","sources":["../../admin/src/services/relations.ts","../../admin/src/utils/relations.ts"],"sourcesContent":["import { generateNKeysBetween } from 'fractional-indexing';\n\nimport {\n RelationResult as RelResult,\n FindAvailable,\n FindExisting,\n} from '../../../shared/contracts/relations';\n\nimport { contentManagerApi } from './api';\n\nimport type { Modules } from '@strapi/types';\nimport type { errors } from '@strapi/utils';\n\ninterface RelationResult extends RelResult {\n __temp_key__: string;\n}\n\ntype GetRelationsResponse =\n | {\n results: Array<RelationResult>;\n pagination: {\n page: NonNullable<Modules.EntityService.Params.Pagination.PageNotation['page']>;\n pageSize: NonNullable<Modules.EntityService.Params.Pagination.PageNotation['pageSize']>;\n pageCount: number;\n total: number;\n } | null;\n error?: never;\n }\n | {\n results?: never;\n pagination?: never;\n error: errors.ApplicationError | errors.YupValidationError;\n };\n\nconst relationsApi = contentManagerApi.injectEndpoints({\n endpoints: (build) => ({\n getRelations: build.query<\n GetRelationsResponse,\n FindExisting.Params & {\n params?: FindExisting.Request['query'];\n }\n >({\n query: ({ model, id, targetField, params }) => {\n return {\n url: `/content-manager/relations/${model}/${id}/${targetField}`,\n method: 'GET',\n config: {\n params,\n },\n };\n },\n serializeQueryArgs: (args) => {\n const { endpointName, queryArgs } = args;\n return {\n endpointName,\n model: queryArgs.model,\n id: queryArgs.id,\n targetField: queryArgs.targetField,\n locale: queryArgs.params?.locale,\n status: queryArgs.params?.status,\n };\n },\n merge: (currentCache, newItems) => {\n if (currentCache.pagination && newItems.pagination) {\n if (currentCache.pagination.page < newItems.pagination.page) {\n /**\n * Relations will always have unique IDs, so we can therefore assume\n * that we only need to push the new items to the cache.\n */\n const existingIds = currentCache.results.map((item) => item.documentId);\n const uniqueNewItems = newItems.results.filter(\n (item) => !existingIds.includes(item.documentId)\n );\n currentCache.results.push(...prepareTempKeys(uniqueNewItems, currentCache.results));\n currentCache.pagination = newItems.pagination;\n } else if (newItems.pagination.page === 1) {\n /**\n * We're resetting the relations\n */\n currentCache.results = prepareTempKeys(newItems.results);\n currentCache.pagination = newItems.pagination;\n }\n }\n },\n forceRefetch({ currentArg, previousArg }) {\n if (!currentArg?.params && !previousArg?.params) {\n return false;\n }\n\n return (\n currentArg?.params?.page !== previousArg?.params?.page ||\n currentArg?.params?.pageSize !== previousArg?.params?.pageSize\n );\n },\n transformResponse: (response: FindExisting.Response) => {\n if ('results' in response && response.results) {\n return {\n ...response,\n results: prepareTempKeys(response.results.toReversed()),\n };\n } else {\n return response;\n }\n },\n providesTags: ['Relations'],\n }),\n searchRelations: build.query<\n FindAvailable.Response,\n FindAvailable.Params & {\n params?: FindAvailable.Request['query'];\n }\n >({\n query: ({ model, targetField, params }) => {\n return {\n url: `/content-manager/relations/${model}/${targetField}`,\n method: 'GET',\n config: {\n params,\n },\n };\n },\n serializeQueryArgs: (args) => {\n const { endpointName, queryArgs } = args;\n return {\n endpointName,\n model: queryArgs.model,\n targetField: queryArgs.targetField,\n _q: queryArgs.params?._q,\n idsToOmit: queryArgs.params?.idsToOmit,\n idsToInclude: queryArgs.params?.idsToInclude,\n };\n },\n merge: (currentCache, newItems) => {\n if (currentCache.pagination && newItems.pagination) {\n if (currentCache.pagination.page < newItems.pagination.page) {\n /**\n * Relations will always have unique IDs, so we can therefore assume\n * that we only need to push the new items to the cache.\n */\n const existingIds = currentCache.results.map((item) => item.documentId);\n const uniqueNewItems = newItems.results.filter(\n (item) => !existingIds.includes(item.documentId)\n );\n currentCache.results.push(...uniqueNewItems);\n currentCache.pagination = newItems.pagination;\n } else if (newItems.pagination.page === 1) {\n /**\n * We're resetting the relations\n */\n currentCache.results = newItems.results;\n currentCache.pagination = newItems.pagination;\n }\n }\n },\n forceRefetch({ currentArg, previousArg }) {\n if (!currentArg?.params && !previousArg?.params) {\n return false;\n }\n\n return (\n currentArg?.params?.page !== previousArg?.params?.page ||\n currentArg?.params?.pageSize !== previousArg?.params?.pageSize\n );\n },\n transformResponse: (response: FindAvailable.Response) => {\n if (response.results) {\n return {\n ...response,\n results: response.results,\n };\n } else {\n return response;\n }\n },\n }),\n }),\n});\n\n/**\n * @internal\n * @description Adds a `__temp_key__` to each relation item. This gives us\n * a stable identifier regardless of it's ids etc. that we can then use for drag and drop.\n */\nconst prepareTempKeys = (relations: RelResult[], existingRelations: RelationResult[] = []) => {\n const [firstItem] = existingRelations.slice(0);\n\n const keys = generateNKeysBetween(null, firstItem?.__temp_key__ ?? null, relations.length);\n\n return relations.map((datum, index) => ({\n ...datum,\n __temp_key__: keys[index],\n }));\n};\n\nconst { useGetRelationsQuery, useLazySearchRelationsQuery } = relationsApi;\n\nexport { useGetRelationsQuery, useLazySearchRelationsQuery };\nexport type { RelationResult };\n","import type { MainField } from './attributes';\nimport type { RelationResult } from '../../../shared/contracts/relations';\n\n/**\n * @internal\n * @description Get the label of a relation, the contract has [key: string]: unknown,\n * so we need to check if the mainFieldKey is defined and if the relation has a value\n * under that property. If it does, we then verify it's type of string and return it.\n *\n * We fallback to the documentId.\n */\nconst getRelationLabel = (relation: RelationResult, mainField?: MainField): string => {\n const label = mainField && relation[mainField.name] ? relation[mainField.name] : null;\n\n if (typeof label === 'string') {\n return label;\n }\n\n return relation.documentId;\n};\n\nexport { getRelationLabel };\n"],"names":["contentManagerApi","generateNKeysBetween","index"],"mappings":"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"}
@@ -1,135 +0,0 @@
1
- import { generateNKeysBetween } from "fractional-indexing";
2
- import { e as contentManagerApi } from "./index-Dpxg3ctD.mjs";
3
- const relationsApi = contentManagerApi.injectEndpoints({
4
- endpoints: (build) => ({
5
- getRelations: build.query({
6
- query: ({ model, id, targetField, params }) => {
7
- return {
8
- url: `/content-manager/relations/${model}/${id}/${targetField}`,
9
- method: "GET",
10
- config: {
11
- params
12
- }
13
- };
14
- },
15
- serializeQueryArgs: (args) => {
16
- const { endpointName, queryArgs } = args;
17
- return {
18
- endpointName,
19
- model: queryArgs.model,
20
- id: queryArgs.id,
21
- targetField: queryArgs.targetField,
22
- locale: queryArgs.params?.locale,
23
- status: queryArgs.params?.status
24
- };
25
- },
26
- merge: (currentCache, newItems) => {
27
- if (currentCache.pagination && newItems.pagination) {
28
- if (currentCache.pagination.page < newItems.pagination.page) {
29
- const existingIds = currentCache.results.map((item) => item.documentId);
30
- const uniqueNewItems = newItems.results.filter(
31
- (item) => !existingIds.includes(item.documentId)
32
- );
33
- currentCache.results.push(...prepareTempKeys(uniqueNewItems, currentCache.results));
34
- currentCache.pagination = newItems.pagination;
35
- } else if (newItems.pagination.page === 1) {
36
- currentCache.results = prepareTempKeys(newItems.results);
37
- currentCache.pagination = newItems.pagination;
38
- }
39
- }
40
- },
41
- forceRefetch({ currentArg, previousArg }) {
42
- if (!currentArg?.params && !previousArg?.params) {
43
- return false;
44
- }
45
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
46
- },
47
- transformResponse: (response) => {
48
- if ("results" in response && response.results) {
49
- return {
50
- ...response,
51
- results: prepareTempKeys(response.results.toReversed())
52
- };
53
- } else {
54
- return response;
55
- }
56
- },
57
- providesTags: ["Relations"]
58
- }),
59
- searchRelations: build.query({
60
- query: ({ model, targetField, params }) => {
61
- return {
62
- url: `/content-manager/relations/${model}/${targetField}`,
63
- method: "GET",
64
- config: {
65
- params
66
- }
67
- };
68
- },
69
- serializeQueryArgs: (args) => {
70
- const { endpointName, queryArgs } = args;
71
- return {
72
- endpointName,
73
- model: queryArgs.model,
74
- targetField: queryArgs.targetField,
75
- _q: queryArgs.params?._q,
76
- idsToOmit: queryArgs.params?.idsToOmit,
77
- idsToInclude: queryArgs.params?.idsToInclude
78
- };
79
- },
80
- merge: (currentCache, newItems) => {
81
- if (currentCache.pagination && newItems.pagination) {
82
- if (currentCache.pagination.page < newItems.pagination.page) {
83
- const existingIds = currentCache.results.map((item) => item.documentId);
84
- const uniqueNewItems = newItems.results.filter(
85
- (item) => !existingIds.includes(item.documentId)
86
- );
87
- currentCache.results.push(...uniqueNewItems);
88
- currentCache.pagination = newItems.pagination;
89
- } else if (newItems.pagination.page === 1) {
90
- currentCache.results = newItems.results;
91
- currentCache.pagination = newItems.pagination;
92
- }
93
- }
94
- },
95
- forceRefetch({ currentArg, previousArg }) {
96
- if (!currentArg?.params && !previousArg?.params) {
97
- return false;
98
- }
99
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
100
- },
101
- transformResponse: (response) => {
102
- if (response.results) {
103
- return {
104
- ...response,
105
- results: response.results
106
- };
107
- } else {
108
- return response;
109
- }
110
- }
111
- })
112
- })
113
- });
114
- const prepareTempKeys = (relations, existingRelations = []) => {
115
- const [firstItem] = existingRelations.slice(0);
116
- const keys = generateNKeysBetween(null, firstItem?.__temp_key__ ?? null, relations.length);
117
- return relations.map((datum, index) => ({
118
- ...datum,
119
- __temp_key__: keys[index]
120
- }));
121
- };
122
- const { useGetRelationsQuery, useLazySearchRelationsQuery } = relationsApi;
123
- const getRelationLabel = (relation, mainField) => {
124
- const label = mainField && relation[mainField.name] ? relation[mainField.name] : null;
125
- if (typeof label === "string") {
126
- return label;
127
- }
128
- return relation.documentId;
129
- };
130
- export {
131
- useLazySearchRelationsQuery as a,
132
- getRelationLabel as g,
133
- useGetRelationsQuery as u
134
- };
135
- //# sourceMappingURL=relations-FBRRBWeO.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relations-FBRRBWeO.mjs","sources":["../../admin/src/services/relations.ts","../../admin/src/utils/relations.ts"],"sourcesContent":["import { generateNKeysBetween } from 'fractional-indexing';\n\nimport {\n RelationResult as RelResult,\n FindAvailable,\n FindExisting,\n} from '../../../shared/contracts/relations';\n\nimport { contentManagerApi } from './api';\n\nimport type { Modules } from '@strapi/types';\nimport type { errors } from '@strapi/utils';\n\ninterface RelationResult extends RelResult {\n __temp_key__: string;\n}\n\ntype GetRelationsResponse =\n | {\n results: Array<RelationResult>;\n pagination: {\n page: NonNullable<Modules.EntityService.Params.Pagination.PageNotation['page']>;\n pageSize: NonNullable<Modules.EntityService.Params.Pagination.PageNotation['pageSize']>;\n pageCount: number;\n total: number;\n } | null;\n error?: never;\n }\n | {\n results?: never;\n pagination?: never;\n error: errors.ApplicationError | errors.YupValidationError;\n };\n\nconst relationsApi = contentManagerApi.injectEndpoints({\n endpoints: (build) => ({\n getRelations: build.query<\n GetRelationsResponse,\n FindExisting.Params & {\n params?: FindExisting.Request['query'];\n }\n >({\n query: ({ model, id, targetField, params }) => {\n return {\n url: `/content-manager/relations/${model}/${id}/${targetField}`,\n method: 'GET',\n config: {\n params,\n },\n };\n },\n serializeQueryArgs: (args) => {\n const { endpointName, queryArgs } = args;\n return {\n endpointName,\n model: queryArgs.model,\n id: queryArgs.id,\n targetField: queryArgs.targetField,\n locale: queryArgs.params?.locale,\n status: queryArgs.params?.status,\n };\n },\n merge: (currentCache, newItems) => {\n if (currentCache.pagination && newItems.pagination) {\n if (currentCache.pagination.page < newItems.pagination.page) {\n /**\n * Relations will always have unique IDs, so we can therefore assume\n * that we only need to push the new items to the cache.\n */\n const existingIds = currentCache.results.map((item) => item.documentId);\n const uniqueNewItems = newItems.results.filter(\n (item) => !existingIds.includes(item.documentId)\n );\n currentCache.results.push(...prepareTempKeys(uniqueNewItems, currentCache.results));\n currentCache.pagination = newItems.pagination;\n } else if (newItems.pagination.page === 1) {\n /**\n * We're resetting the relations\n */\n currentCache.results = prepareTempKeys(newItems.results);\n currentCache.pagination = newItems.pagination;\n }\n }\n },\n forceRefetch({ currentArg, previousArg }) {\n if (!currentArg?.params && !previousArg?.params) {\n return false;\n }\n\n return (\n currentArg?.params?.page !== previousArg?.params?.page ||\n currentArg?.params?.pageSize !== previousArg?.params?.pageSize\n );\n },\n transformResponse: (response: FindExisting.Response) => {\n if ('results' in response && response.results) {\n return {\n ...response,\n results: prepareTempKeys(response.results.toReversed()),\n };\n } else {\n return response;\n }\n },\n providesTags: ['Relations'],\n }),\n searchRelations: build.query<\n FindAvailable.Response,\n FindAvailable.Params & {\n params?: FindAvailable.Request['query'];\n }\n >({\n query: ({ model, targetField, params }) => {\n return {\n url: `/content-manager/relations/${model}/${targetField}`,\n method: 'GET',\n config: {\n params,\n },\n };\n },\n serializeQueryArgs: (args) => {\n const { endpointName, queryArgs } = args;\n return {\n endpointName,\n model: queryArgs.model,\n targetField: queryArgs.targetField,\n _q: queryArgs.params?._q,\n idsToOmit: queryArgs.params?.idsToOmit,\n idsToInclude: queryArgs.params?.idsToInclude,\n };\n },\n merge: (currentCache, newItems) => {\n if (currentCache.pagination && newItems.pagination) {\n if (currentCache.pagination.page < newItems.pagination.page) {\n /**\n * Relations will always have unique IDs, so we can therefore assume\n * that we only need to push the new items to the cache.\n */\n const existingIds = currentCache.results.map((item) => item.documentId);\n const uniqueNewItems = newItems.results.filter(\n (item) => !existingIds.includes(item.documentId)\n );\n currentCache.results.push(...uniqueNewItems);\n currentCache.pagination = newItems.pagination;\n } else if (newItems.pagination.page === 1) {\n /**\n * We're resetting the relations\n */\n currentCache.results = newItems.results;\n currentCache.pagination = newItems.pagination;\n }\n }\n },\n forceRefetch({ currentArg, previousArg }) {\n if (!currentArg?.params && !previousArg?.params) {\n return false;\n }\n\n return (\n currentArg?.params?.page !== previousArg?.params?.page ||\n currentArg?.params?.pageSize !== previousArg?.params?.pageSize\n );\n },\n transformResponse: (response: FindAvailable.Response) => {\n if (response.results) {\n return {\n ...response,\n results: response.results,\n };\n } else {\n return response;\n }\n },\n }),\n }),\n});\n\n/**\n * @internal\n * @description Adds a `__temp_key__` to each relation item. This gives us\n * a stable identifier regardless of it's ids etc. that we can then use for drag and drop.\n */\nconst prepareTempKeys = (relations: RelResult[], existingRelations: RelationResult[] = []) => {\n const [firstItem] = existingRelations.slice(0);\n\n const keys = generateNKeysBetween(null, firstItem?.__temp_key__ ?? null, relations.length);\n\n return relations.map((datum, index) => ({\n ...datum,\n __temp_key__: keys[index],\n }));\n};\n\nconst { useGetRelationsQuery, useLazySearchRelationsQuery } = relationsApi;\n\nexport { useGetRelationsQuery, useLazySearchRelationsQuery };\nexport type { RelationResult };\n","import type { MainField } from './attributes';\nimport type { RelationResult } from '../../../shared/contracts/relations';\n\n/**\n * @internal\n * @description Get the label of a relation, the contract has [key: string]: unknown,\n * so we need to check if the mainFieldKey is defined and if the relation has a value\n * under that property. If it does, we then verify it's type of string and return it.\n *\n * We fallback to the documentId.\n */\nconst getRelationLabel = (relation: RelationResult, mainField?: MainField): string => {\n const label = mainField && relation[mainField.name] ? relation[mainField.name] : null;\n\n if (typeof label === 'string') {\n return label;\n }\n\n return relation.documentId;\n};\n\nexport { getRelationLabel };\n"],"names":[],"mappings":"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"}
@@ -1,231 +0,0 @@
1
- const ru = {
2
- "content-manager.App.schemas.data-loaded": "Схемы были успешно загружены",
3
- "content-manager.EditRelations.title": "Связанные данные",
4
- "content-manager.HeaderLayout.button.label-add-entry": "Создать новую запись",
5
- "content-manager.ListViewTable.relation-loaded": "Отношения были загружены",
6
- "content-manager.ListViewTable.relation-loading": "Отношения загружаются",
7
- "content-manager.ListViewTable.relation-more": "Это отношение содержит больше сущностей, чем отображается",
8
- "content-manager.api.id": "API ID",
9
- "content-manager.apiError.This attribute must be unique": "{field} должно быть уникальным",
10
- "content-manager.bulk-publish.already-published": "Уже опубликовано",
11
- "content-manager.components.AddFilterCTA.add": "Фильтры",
12
- "content-manager.components.AddFilterCTA.hide": "Фильтры",
13
- "content-manager.components.DragHandle-label": "Перетащить",
14
- "content-manager.components.DraggableAttr.edit": "Нажмите чтобы редактировать",
15
- "content-manager.components.DraggableCard.delete.field": "Удалить {item}",
16
- "content-manager.components.DraggableCard.edit.field": "Редактировать {item}",
17
- "content-manager.components.DraggableCard.move.field": "Переместить {item}",
18
- "content-manager.components.DynamicZone.ComponentPicker-label": "Выберите один компонент",
19
- "content-manager.components.DynamicZone.add-component": "Добавить компонент в {componentName}",
20
- "content-manager.components.DynamicZone.delete-label": "Удалить {name}",
21
- "content-manager.components.DynamicZone.error-message": "Компонент содержит ошибку(-и)",
22
- "content-manager.components.DynamicZone.missing-components": "{number, plural, =0{# отсутствующих компонентов} one{# отсутствующий компонент} few{# отсутствующих компонента} many {# отсутствующих компонентов}}",
23
- "content-manager.components.DynamicZone.move-down-label": "Переместить компонент вниз",
24
- "content-manager.components.DynamicZone.move-up-label": "Переместить компонент вверх",
25
- "content-manager.components.DynamicZone.pick-compo": "Выберите компонент",
26
- "content-manager.components.DynamicZone.required": "Обязательный компонент",
27
- "content-manager.components.EmptyAttributesBlock.button": "Перейти в настройки",
28
- "content-manager.components.EmptyAttributesBlock.description": "Вы можете изменить текущие настройки",
29
- "content-manager.components.FieldItem.linkToComponentLayout": "Установить компоновку компонентов",
30
- "content-manager.components.FieldSelect.label": "Добавить поле",
31
- "content-manager.components.FilterOptions.button.apply": "Применить",
32
- "content-manager.components.Filters.usersSelect.label": "Поиск и выбор пользователя для фильтрации по",
33
- "content-manager.components.FiltersPickWrapper.PluginHeader.actions.apply": "Применить",
34
- "content-manager.components.FiltersPickWrapper.PluginHeader.actions.clearAll": "Очистить все",
35
- "content-manager.components.FiltersPickWrapper.PluginHeader.description": "Укажите условия для фильтрации записей",
36
- "content-manager.components.FiltersPickWrapper.PluginHeader.title.filter": "Фильтры",
37
- "content-manager.components.FiltersPickWrapper.hide": "Скрыть",
38
- "content-manager.components.LeftMenu.Search.label": "Поиск по типу содержимого",
39
- "content-manager.components.LeftMenu.collection-types": "Типы Коллекций",
40
- "content-manager.components.LeftMenu.single-types": "Одиночные Типы",
41
- "content-manager.components.LimitSelect.itemsPerPage": "Элементов на странице",
42
- "content-manager.components.ListViewTable.row-line": "строка {number}",
43
- "content-manager.components.NotAllowedInput.text": "Нет разрешений на просмотр этого поля",
44
- "content-manager.components.RelationInput.icon-button-aria-label": "Тяни",
45
- "content-manager.components.RepeatableComponent.error-message": "Компонент(-ы) содержит(-ат) ошибку(-и)",
46
- "content-manager.components.Search.placeholder": "Поиск записей...",
47
- "content-manager.components.Select.draft-info-title": "Состояние: Черновик",
48
- "content-manager.components.Select.publish-info-title": "Состояние: Опубликовано",
49
- "content-manager.components.SettingsViewWrapper.pluginHeader.description.edit-settings": "Настройте, как будет выглядеть вид редактирования.",
50
- "content-manager.components.SettingsViewWrapper.pluginHeader.description.list-settings": "Определите параметры представления списка.",
51
- "content-manager.components.SettingsViewWrapper.pluginHeader.title": "Настройка представления — {name}",
52
- "content-manager.components.TableDelete.delete": "Удалить все",
53
- "content-manager.components.TableDelete.deleteSelected": "Удалить выбранное",
54
- "content-manager.components.TableDelete.label": "выбрано записей: {number}",
55
- "content-manager.components.TableEmpty.withFilters": "Нет {contentType} с применёнными фильтрами...",
56
- "content-manager.components.TableEmpty.withSearch": "Нет {contentType} согласно поиску ({search})...",
57
- "content-manager.components.TableEmpty.withoutFilter": "Нет {contentType}...",
58
- "content-manager.components.empty-repeatable": "Ещё нет записей. Нажмите кнопку ниже, чтобы добавить.",
59
- "content-manager.components.notification.info.maximum-requirement": "Вы уже достигли максимального количества полей",
60
- "content-manager.components.notification.info.minimum-requirement": "Добавлено поле, соответствующее минимальным требованиям",
61
- "content-manager.components.repeatable.reorder.error": "Произошла ошибка при изменении порядка полей вашего компонента. Попробуйте ещё раз.",
62
- "content-manager.components.reset-entry": "Сбросить запись",
63
- "content-manager.components.uid.apply": "Применить",
64
- "content-manager.components.uid.available": "Доступный",
65
- "content-manager.components.uid.regenerate": "Восстановить",
66
- "content-manager.components.uid.suggested": "Предложенный",
67
- "content-manager.components.uid.unavailable": "Недоступный",
68
- "content-manager.containers.Edit.Link.Layout": "Настройка макета",
69
- "content-manager.containers.Edit.Link.Model": "Измените тип Коллекции",
70
- "content-manager.containers.Edit.addAnItem": "Добавить элемент...",
71
- "content-manager.containers.Edit.clickToJump": "Нажмите для перехода к записи",
72
- "content-manager.containers.Edit.delete": "Удалить",
73
- "content-manager.containers.Edit.delete-entry": "Удалить эту запись",
74
- "content-manager.containers.Edit.editing": "Редактирование...",
75
- "content-manager.containers.Edit.information": "Информация",
76
- "content-manager.containers.Edit.information.by": "Автор",
77
- "content-manager.containers.Edit.information.created": "Создано",
78
- "content-manager.containers.Edit.information.draftVersion": "черновая версия",
79
- "content-manager.containers.Edit.information.editing": "Редактирование",
80
- "content-manager.containers.Edit.information.lastUpdate": "Последнее обновление",
81
- "content-manager.containers.Edit.information.publishedVersion": "опубликованная версия",
82
- "content-manager.containers.Edit.pluginHeader.title.new": "Создать запись",
83
- "content-manager.containers.Edit.reset": "Сбросить",
84
- "content-manager.containers.Edit.returnList": "Вернуться к списку",
85
- "content-manager.containers.Edit.seeDetails": "Подробнее",
86
- "content-manager.containers.Edit.submit": "Сохранить",
87
- "content-manager.containers.EditSettingsView.modal-form.edit-field": "Отредактируйте это поле",
88
- "content-manager.containers.EditView.add.new-entry": "Добавить запись",
89
- "content-manager.containers.EditView.notification.errors": "Форма содержит некоторые ошибки",
90
- "content-manager.containers.Home.introduction": "Для того, чтобы отредактировать ваши записи используйте соответствующую ссылку в меню слева. У плагина отсутствует полноценная возможность редактировать настройки, и он всё ещё находится в стадии активной разработки.",
91
- "content-manager.containers.Home.pluginHeaderDescription": "Управляйте своими записями с помощью мощного и красивого интерфейса.",
92
- "content-manager.containers.Home.pluginHeaderTitle": "Редактор контента",
93
- "content-manager.containers.List.draft": "Черновик",
94
- "content-manager.containers.List.errorFetchRecords": "Ошибка",
95
- "content-manager.containers.List.published": "Опубликован",
96
- "content-manager.containers.list.displayedFields": "Отображаемые поля",
97
- "content-manager.containers.list.items": "{number, plural, =0{# элементов} one{# элемент} few{# элемента} many {# элементов}}",
98
- "content-manager.containers.list.selectedEntriesModal.publishedCount": "<b>{publishedCount}</b> {publishedCount, plural, =0{# записей} one{# запись} few{# записи} many {# записей}} опубликованы. <b>{withErrorsCount}</b> {withErrorsCount, plural, =0{# записей} one{# запись} few{# записи} many {# записей}} ожидают действий.",
99
- "content-manager.containers.list.selectedEntriesModal.selectedCount": "<b>{readyToPublishCount}</b> {readyToPublishCount, plural, =0{# записей} one{# запись} few{# записи} many {# записей}} готовы к публикации. <b>{withErrorsCount}</b> {withErrorsCount, plural, =0{# записей} one{# запись} few{# записи} many {# записей}} ожидают действий.",
100
- "content-manager.containers.list.selectedEntriesModal.title": "Опубликовать записи",
101
- "content-manager.containers.list.table-headers.publishedAt": "Состояние",
102
- "content-manager.containers.ListSettingsView.modal-form.edit-label": "Отредактировать {fieldName}",
103
- "content-manager.containers.SettingPage.add.field": "Добавить ещё одно поле",
104
- "content-manager.containers.SettingPage.add.relational-field": "Добавить ещё одно связанное поле",
105
- "content-manager.containers.SettingPage.attributes": "Поля атрибутов",
106
- "content-manager.containers.SettingPage.attributes.description": "Определить порядок атрибутов",
107
- "content-manager.containers.SettingPage.editSettings.description": "Перетащите поля, чтобы определить макет",
108
- "content-manager.containers.SettingPage.editSettings.entry.title": "Заголовок записи",
109
- "content-manager.containers.SettingPage.editSettings.entry.title.description": "Установите отображаемое поле вашей записи",
110
- "content-manager.containers.SettingPage.editSettings.relation-field.description": "Установите поле, которое будет отображаться как в режиме редактирования, так и в списке",
111
- "content-manager.containers.SettingPage.editSettings.title": "Редактирование — Настройки",
112
- "content-manager.containers.SettingPage.layout": "Макет",
113
- "content-manager.containers.SettingPage.listSettings.description": "Настройте параметры для этого типа Коллекции",
114
- "content-manager.containers.SettingPage.listSettings.title": "Просмотр списка — Настройки",
115
- "content-manager.containers.SettingPage.pluginHeaderDescription": "Настройте конкретные параметры для этого типа Коллекции",
116
- "content-manager.containers.SettingPage.relations": "Связанные поля",
117
- "content-manager.containers.SettingPage.settings": "Настройки",
118
- "content-manager.containers.SettingPage.view": "Вид",
119
- "content-manager.containers.SettingViewModel.pluginHeader.title": "Контент менеджер — {name}",
120
- "content-manager.containers.SettingsPage.Block.contentType.description": "Настроить отдельные параметры",
121
- "content-manager.containers.SettingsPage.Block.contentType.title": "Типы Коллекций",
122
- "content-manager.containers.SettingsPage.Block.generalSettings.description": "Настройте параметры по умолчанию для ваших типов Коллекций",
123
- "content-manager.containers.SettingsPage.Block.generalSettings.title": "Общее",
124
- "content-manager.containers.SettingsPage.pluginHeaderDescription": "Настройте параметры для всех ваших типов Коллекций и Групп",
125
- "content-manager.containers.SettingsView.list.subtitle": "Настройте макет и отображение ваших типов Коллекций и и Групп",
126
- "content-manager.containers.SettingsView.list.title": "Конфигурация отображения",
127
- "content-manager.dnd.cancel-item": "{item}, перемещён. Изменение порядка не произошло.",
128
- "content-manager.dnd.drop-item": "{item}, перемещён. Новое местоположение в списке: {position}.",
129
- "content-manager.dnd.grab-item": "{item}, перемещён. Текущее местоположение в списке: {position}. Нажимайте стрелки вверх и вниз, чтобы изменить положение, пробел, чтобы переместить, Escape, чтобы отменить.",
130
- "content-manager.dnd.instructions": "Нажмите пробел, чтобы захватить и изменить порядок",
131
- "content-manager.dnd.reorder": "{item}, перемещён. Новое местоположение в списке: {position}.",
132
- "content-manager.edit-settings-view.link-to-ctb.components": "Редактировать компонент",
133
- "content-manager.edit-settings-view.link-to-ctb.content-types": "Редактирование типа содержимого",
134
- "content-manager.emptyAttributes.button": "Перейдите в конструктор типов Коллекций",
135
- "content-manager.emptyAttributes.description": "Добавьте своё первое поле в тип Коллекции",
136
- "content-manager.emptyAttributes.title": "Пока нет полей",
137
- "content-manager.error.attribute.key.taken": "Это значение уже существует",
138
- "content-manager.error.attribute.sameKeyAndName": "Не может быть одинаковым",
139
- "content-manager.error.attribute.taken": "Поле с таким названием уже существует",
140
- "content-manager.error.contentTypeName.taken": "Это название уже существует",
141
- "content-manager.error.model.fetch": "Произошла ошибка во время настройки конфигурации модели.",
142
- "content-manager.error.record.create": "Произошла ошибка при создании записи.",
143
- "content-manager.error.record.delete": "Произошла ошибка при удалении записи.",
144
- "content-manager.error.record.fetch": "Произошла ошибка при извлечении записи.",
145
- "content-manager.error.record.update": "Произошла ошибка при обновлении записи.",
146
- "content-manager.error.records.count": "Произошла ошибка при подсчёте количества записей.",
147
- "content-manager.error.records.fetch": "Произошла ошибка при извлечении записей.",
148
- "content-manager.error.schema.generation": "Возникла ошибка во время генерации структуры.",
149
- "content-manager.error.validation.json": "Это не JSON",
150
- "content-manager.error.validation.max": "Слишком большое.",
151
- "content-manager.error.validation.maxLength": "Слишком длинное.",
152
- "content-manager.error.validation.min": "Слишком маленькое.",
153
- "content-manager.error.validation.minLength": "Слишком короткое.",
154
- "content-manager.error.validation.minSupMax": "Не может быть выше",
155
- "content-manager.error.validation.regex": "Значение не соответствует регулярному выражению.",
156
- "content-manager.error.validation.required": "Обязательное значение.",
157
- "content-manager.form.Input.bulkActions": "Включить массовые действия",
158
- "content-manager.form.Input.defaultSort": "Сортировка по умолчанию",
159
- "content-manager.form.Input.description": "Описание",
160
- "content-manager.form.Input.description.placeholder": "Имя, отображаемое в профиле",
161
- "content-manager.form.Input.editable": "Редактируемое поле",
162
- "content-manager.form.Input.filters": "Включить фильтры",
163
- "content-manager.form.Input.hint.character.unit": "{maxValue, plural, =0{# символов} one{# символ} few{# символа} many {# символов}}",
164
- "content-manager.form.Input.hint.minMaxDivider": " / ",
165
- "content-manager.form.Input.hint.text": "{min, select, undefined {} other {мин. {min}}}{divider}{max, select, undefined {} other {макс. {max}}}{unit}{br}{description}",
166
- "content-manager.form.Input.label": "Подпись",
167
- "content-manager.form.Input.label.inputDescription": "Это значение переопределяет название, отображаемое в заголовке таблицы",
168
- "content-manager.form.Input.pageEntries": "Записей на странице",
169
- "content-manager.form.Input.pageEntries.inputDescription": "Примечание: вы можете переопределить это значение на странице настроек типа Коллекции.",
170
- "content-manager.form.Input.placeholder": "Заполнитель",
171
- "content-manager.form.Input.placeholder.placeholder": "Моё значение",
172
- "content-manager.form.Input.search": "Включить поиск",
173
- "content-manager.form.Input.search.field": "Включить поиск по этому полю",
174
- "content-manager.form.Input.sort.field": "Включить сортировку по этому полю",
175
- "content-manager.form.Input.sort.order": "Сортировка по умолчанию",
176
- "content-manager.form.Input.wysiwyg": "Отображение в виде WYSIWYG",
177
- "content-manager.global.displayedFields": "Отображение полей",
178
- "content-manager.groups": "Группы",
179
- "content-manager.groups.numbered": "Группы ({number})",
180
- "content-manager.header.name": "Контент",
181
- "content-manager.link-to-ctb": "Редактировать модель",
182
- "content-manager.listView.validation.errors.message": "Пожалуйста, убедитесь перед публикацией, что все поля заполнены правильно (обязательное поле, минимальное/максимальное количество символов и т.д.).",
183
- "content-manager.listView.validation.errors.title": "Требуется действие",
184
- "content-manager.models": "Типы Коллекции",
185
- "content-manager.models.numbered": "Типы Коллекции ({number})",
186
- "content-manager.notification.error.displayedFields": "Необходимо добавить хотя бы одно поле",
187
- "content-manager.notification.error.relationship.fetch": "Возникла ошибка при получении связей.",
188
- "content-manager.notification.info.SettingPage.disableSort": "У вас должен быть один атрибут с разрешенной сортировкой",
189
- "content-manager.notification.info.minimumFields": "Вам нужно иметь хотя бы одно отображаемое поле",
190
- "content-manager.notification.upload.error": "Произошла ошибка при загрузке ваших файлов",
191
- "content-manager.pageNotFound": "Страница не найдена",
192
- "content-manager.pages.ListView.header-subtitle": "{number, plural, =0 {Ничего не найдено} other {Найдено записей: #}}",
193
- "content-manager.pages.NoContentType.button": "Создайте свой первый тип контента",
194
- "content-manager.pages.NoContentType.text": "У вас ещё нет никакого контента, мы рекомендуем вам создать свой первый тип контента.",
195
- "content-manager.permissions.not-allowed.create": "У вас нет прав на создание документов",
196
- "content-manager.permissions.not-allowed.update": "У вас нет прав на просмотр этого документа",
197
- "content-manager.plugin.description.long": "Быстрый способ увидеть, отредактировать и удалить данные в вашей базе данных.",
198
- "content-manager.plugin.description.short": "Быстрый способ увидеть, отредактировать и удалить данные в вашей базе данных.",
199
- "content-manager.popUpWarning.bodyMessage.contentType.delete": "Вы уверены, что хотите удалить эту запись?",
200
- "content-manager.popUpWarning.bodyMessage.contentType.delete.all": "Вы уверены, что хотите удалить эти записи?",
201
- "content-manager.popUpWarning.bodyMessage.contentType.publish.all": "Are you sure you want to publish these entries?",
202
- "content-manager.popUpWarning.bodyMessage.contentType.unpublish.all": "Are you sure you want to unpublish these entries?",
203
- "content-manager.popUpWarning.warning.has-draft-relations.title": "Подтверждение",
204
- "content-manager.popUpWarning.warning.publish-question": "Вы уверены, что хотите опубликовать запись?",
205
- "content-manager.popUpWarning.warning.unpublish": "Если вы не опубликуете этот контент, он автоматически превратится в Черновик.",
206
- "content-manager.popUpWarning.warning.unpublish-question": "Вы уверены, что хотите её не публиковать?",
207
- "content-manager.popUpWarning.warning.updateAllSettings": "Это изменит все ваши настройки",
208
- "content-manager.popUpwarning.warning.bulk-has-draft-relations.message": "<b>{count} {count, plural, =0{# отношений} one{# отношение} few{# отношения} many {# отношений}} из {entities} {entities, =0{# записей} one{# записи} few{# записей} many {# записей}}</b> ещё не опубликованы и могут привести к неожиданному поведению.",
209
- "content-manager.popUpwarning.warning.has-draft-relations.button-confirm": "Да, публиковать",
210
- "content-manager.popUpwarning.warning.has-draft-relations.message": "<b>{count, plural, =0{# отношений записей} one{# отношение записи} few{# отношения записи} many {# отношений записей}}</b> ещё не опубликованы.<br></br>Это может привести к появлению неработающих ссылок и ошибок в вашем проекте.",
211
- "content-manager.popover.display-relations.label": "Показать отношения",
212
- "content-manager.relation.add": "Добавить отношение",
213
- "content-manager.relation.disconnect": "Удалить",
214
- "content-manager.relation.isLoading": "Отношения загружаются",
215
- "content-manager.relation.loadMore": "Загрузить ещё",
216
- "content-manager.relation.notAvailable": "Нет отношений",
217
- "content-manager.relation.publicationState.draft": "Черновик",
218
- "content-manager.relation.publicationState.published": "Опубликовано",
219
- "content-manager.reviewWorkflows.stage.label": "Просмотреть этап",
220
- "content-manager.select.currently.selected": "{count} выбрано",
221
- "content-manager.success.record.delete": "Удалено",
222
- "content-manager.success.record.publish": "Опубликовано",
223
- "content-manager.success.record.publishing": "Публикуем...",
224
- "content-manager.success.record.save": "Сохранено",
225
- "content-manager.success.record.unpublish": "Не опубликовано",
226
- "content-manager.utils.data-loaded": "{number, plural, =0{# записей} one{# запись} few{# записи} many {# записей}} успешно загружено"
227
- };
228
- export {
229
- ru as default
230
- };
231
- //# sourceMappingURL=ru-BE6A4Exp.mjs.map