@strapi/content-manager 0.0.0-experimental.cffeb3f30bb8beaa0d2a247ba56da461781c6690 → 0.0.0-experimental.d042f6a350fa3a48d61e7c56875e2a0a7ba3c8f5

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 (437) hide show
  1. package/dist/_chunks/CardDragPreview-C0QyJgRA.js +69 -0
  2. package/dist/_chunks/CardDragPreview-C0QyJgRA.js.map +1 -0
  3. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs +70 -0
  4. package/dist/_chunks/CardDragPreview-DOxamsuj.mjs.map +1 -0
  5. package/dist/_chunks/ComponentConfigurationPage-9_4yUE9L.mjs +236 -0
  6. package/dist/_chunks/ComponentConfigurationPage-9_4yUE9L.mjs.map +1 -0
  7. package/dist/_chunks/ComponentConfigurationPage-DBSh-kET.js +254 -0
  8. package/dist/_chunks/ComponentConfigurationPage-DBSh-kET.js.map +1 -0
  9. package/dist/_chunks/ComponentIcon-CRbtQEUV.js +175 -0
  10. package/dist/_chunks/ComponentIcon-CRbtQEUV.js.map +1 -0
  11. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs +157 -0
  12. package/dist/_chunks/ComponentIcon-u4bIXTFY.mjs.map +1 -0
  13. package/dist/_chunks/EditConfigurationPage-Bl_U2JgH.js +150 -0
  14. package/dist/_chunks/EditConfigurationPage-Bl_U2JgH.js.map +1 -0
  15. package/dist/_chunks/EditConfigurationPage-COe6hjPC.mjs +132 -0
  16. package/dist/_chunks/EditConfigurationPage-COe6hjPC.mjs.map +1 -0
  17. package/dist/_chunks/EditViewPage-D4yFJET6.js +209 -0
  18. package/dist/_chunks/EditViewPage-D4yFJET6.js.map +1 -0
  19. package/dist/_chunks/EditViewPage-DrmVmYN0.mjs +191 -0
  20. package/dist/_chunks/EditViewPage-DrmVmYN0.mjs.map +1 -0
  21. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs +50 -0
  22. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs.map +1 -0
  23. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js +49 -0
  24. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js.map +1 -0
  25. package/dist/_chunks/Form-C4rSaGsz.js +778 -0
  26. package/dist/_chunks/Form-C4rSaGsz.js.map +1 -0
  27. package/dist/_chunks/Form-DamaxNpG.mjs +758 -0
  28. package/dist/_chunks/Form-DamaxNpG.mjs.map +1 -0
  29. package/dist/_chunks/History-D1PreDSY.mjs +999 -0
  30. package/dist/_chunks/History-D1PreDSY.mjs.map +1 -0
  31. package/dist/_chunks/History-DTm8UCCQ.js +1019 -0
  32. package/dist/_chunks/History-DTm8UCCQ.js.map +1 -0
  33. package/dist/_chunks/Input-B7sapvBG.js +5617 -0
  34. package/dist/_chunks/Input-B7sapvBG.js.map +1 -0
  35. package/dist/_chunks/Input-CZ1YvjHR.mjs +5585 -0
  36. package/dist/_chunks/Input-CZ1YvjHR.mjs.map +1 -0
  37. package/dist/_chunks/ListConfigurationPage-Bbi32isk.mjs +633 -0
  38. package/dist/_chunks/ListConfigurationPage-Bbi32isk.mjs.map +1 -0
  39. package/dist/_chunks/ListConfigurationPage-ysFMjKI3.js +652 -0
  40. package/dist/_chunks/ListConfigurationPage-ysFMjKI3.js.map +1 -0
  41. package/dist/_chunks/ListViewPage-Bud_jBDQ.mjs +854 -0
  42. package/dist/_chunks/ListViewPage-Bud_jBDQ.mjs.map +1 -0
  43. package/dist/_chunks/ListViewPage-DTuuxU3n.js +877 -0
  44. package/dist/_chunks/ListViewPage-DTuuxU3n.js.map +1 -0
  45. package/dist/_chunks/NoContentTypePage-CL7VVeYs.js +51 -0
  46. package/dist/_chunks/NoContentTypePage-CL7VVeYs.js.map +1 -0
  47. package/dist/_chunks/NoContentTypePage-DVhkugsf.mjs +51 -0
  48. package/dist/_chunks/NoContentTypePage-DVhkugsf.mjs.map +1 -0
  49. package/dist/_chunks/NoPermissionsPage-CMdM-dCo.mjs +23 -0
  50. package/dist/_chunks/NoPermissionsPage-CMdM-dCo.mjs.map +1 -0
  51. package/dist/_chunks/NoPermissionsPage-v7I599vC.js +23 -0
  52. package/dist/_chunks/NoPermissionsPage-v7I599vC.js.map +1 -0
  53. package/dist/_chunks/Preview-BNuU0SuQ.mjs +287 -0
  54. package/dist/_chunks/Preview-BNuU0SuQ.mjs.map +1 -0
  55. package/dist/_chunks/Preview-Cxq-uI6D.js +305 -0
  56. package/dist/_chunks/Preview-Cxq-uI6D.js.map +1 -0
  57. package/dist/_chunks/Relations-C2Ahkrdg.mjs +728 -0
  58. package/dist/_chunks/Relations-C2Ahkrdg.mjs.map +1 -0
  59. package/dist/_chunks/Relations-CWS79QQn.js +747 -0
  60. package/dist/_chunks/Relations-CWS79QQn.js.map +1 -0
  61. package/dist/_chunks/ar-BUUWXIYu.js +226 -0
  62. package/dist/{admin/chunks/ar-DckYq_WK.js.map → _chunks/ar-BUUWXIYu.js.map} +1 -1
  63. package/dist/_chunks/ar-CCEVvqGG.mjs +226 -0
  64. package/dist/_chunks/ar-CCEVvqGG.mjs.map +1 -0
  65. package/dist/_chunks/ca-5U32ON2v.mjs +201 -0
  66. package/dist/_chunks/ca-5U32ON2v.mjs.map +1 -0
  67. package/dist/_chunks/ca-Cmk45QO6.js +201 -0
  68. package/dist/{admin/chunks/de-CbImAUA5.js.map → _chunks/ca-Cmk45QO6.js.map} +1 -1
  69. package/dist/_chunks/cs-CM2aBUar.mjs +125 -0
  70. package/dist/_chunks/cs-CM2aBUar.mjs.map +1 -0
  71. package/dist/_chunks/cs-CkJy6B2v.js +125 -0
  72. package/dist/{admin/chunks/cs-C7OSYFQ7.js.map → _chunks/cs-CkJy6B2v.js.map} +1 -1
  73. package/dist/_chunks/de-C72KDNOl.mjs +199 -0
  74. package/dist/_chunks/de-C72KDNOl.mjs.map +1 -0
  75. package/dist/_chunks/de-CCEmbAah.js +199 -0
  76. package/dist/{admin/chunks/es-C8vLuvZL.js.map → _chunks/de-CCEmbAah.js.map} +1 -1
  77. package/dist/_chunks/en-BR48D_RH.js +312 -0
  78. package/dist/{admin/chunks/en-DB7sPJVj.js.map → _chunks/en-BR48D_RH.js.map} +1 -1
  79. package/dist/_chunks/en-D65uIF6Y.mjs +312 -0
  80. package/dist/{admin/chunks/en-1xHet_GV.js.map → _chunks/en-D65uIF6Y.mjs.map} +1 -1
  81. package/dist/_chunks/es-9K52xZIr.js +196 -0
  82. package/dist/{admin/chunks/de-5QRlDHyR.js.map → _chunks/es-9K52xZIr.js.map} +1 -1
  83. package/dist/_chunks/es-D34tqjMw.mjs +196 -0
  84. package/dist/_chunks/es-D34tqjMw.mjs.map +1 -0
  85. package/dist/_chunks/eu-CdALomew.mjs +202 -0
  86. package/dist/_chunks/eu-CdALomew.mjs.map +1 -0
  87. package/dist/_chunks/eu-VDH-3ovk.js +202 -0
  88. package/dist/_chunks/eu-VDH-3ovk.js.map +1 -0
  89. package/dist/_chunks/fr-C43IbhA_.js +219 -0
  90. package/dist/_chunks/fr-C43IbhA_.js.map +1 -0
  91. package/dist/_chunks/fr-DBseuRuB.mjs +219 -0
  92. package/dist/_chunks/fr-DBseuRuB.mjs.map +1 -0
  93. package/dist/_chunks/gu-BRmF601H.js +200 -0
  94. package/dist/_chunks/gu-BRmF601H.js.map +1 -0
  95. package/dist/_chunks/gu-CNpaMDpH.mjs +200 -0
  96. package/dist/_chunks/gu-CNpaMDpH.mjs.map +1 -0
  97. package/dist/_chunks/hi-CCJBptSq.js +200 -0
  98. package/dist/_chunks/hi-CCJBptSq.js.map +1 -0
  99. package/dist/_chunks/hi-Dwvd04m3.mjs +200 -0
  100. package/dist/_chunks/hi-Dwvd04m3.mjs.map +1 -0
  101. package/dist/{admin/chunks/hooks-D-sOYd1s.js → _chunks/hooks-BAaaKPS_.js} +3 -6
  102. package/dist/_chunks/hooks-BAaaKPS_.js.map +1 -0
  103. package/dist/_chunks/hooks-E5u1mcgM.mjs +8 -0
  104. package/dist/_chunks/hooks-E5u1mcgM.mjs.map +1 -0
  105. package/dist/_chunks/hu-CeYvaaO0.mjs +202 -0
  106. package/dist/_chunks/hu-CeYvaaO0.mjs.map +1 -0
  107. package/dist/_chunks/hu-sNV_yLYy.js +202 -0
  108. package/dist/_chunks/hu-sNV_yLYy.js.map +1 -0
  109. package/dist/_chunks/id-B5Ser98A.js +160 -0
  110. package/dist/{admin/chunks/it-BAHrwmYS.js.map → _chunks/id-B5Ser98A.js.map} +1 -1
  111. package/dist/_chunks/id-BtwA9WJT.mjs +160 -0
  112. package/dist/_chunks/id-BtwA9WJT.mjs.map +1 -0
  113. package/dist/_chunks/index-DQsvBb_N.js +4500 -0
  114. package/dist/_chunks/index-DQsvBb_N.js.map +1 -0
  115. package/dist/_chunks/index-ZKrsjv-2.mjs +4481 -0
  116. package/dist/_chunks/index-ZKrsjv-2.mjs.map +1 -0
  117. package/dist/_chunks/it-BrVPqaf1.mjs +162 -0
  118. package/dist/_chunks/it-BrVPqaf1.mjs.map +1 -0
  119. package/dist/_chunks/it-DkBIs7vD.js +162 -0
  120. package/dist/{admin/chunks/id-D7V5S1rB.js.map → _chunks/it-DkBIs7vD.js.map} +1 -1
  121. package/dist/_chunks/ja-7sfIbjxE.js +196 -0
  122. package/dist/{admin/chunks/it-CQFpa_Dc.js.map → _chunks/ja-7sfIbjxE.js.map} +1 -1
  123. package/dist/_chunks/ja-BHqhDq4V.mjs +196 -0
  124. package/dist/_chunks/ja-BHqhDq4V.mjs.map +1 -0
  125. package/dist/_chunks/ko-HVQRlfUI.mjs +195 -0
  126. package/dist/_chunks/ko-HVQRlfUI.mjs.map +1 -0
  127. package/dist/_chunks/ko-woFZPmLk.js +195 -0
  128. package/dist/{admin/chunks/es-DkoWSExG.js.map → _chunks/ko-woFZPmLk.js.map} +1 -1
  129. package/dist/_chunks/layout-Cl0NhlQB.js +488 -0
  130. package/dist/_chunks/layout-Cl0NhlQB.js.map +1 -0
  131. package/dist/_chunks/layout-fQk1rMk9.mjs +471 -0
  132. package/dist/_chunks/layout-fQk1rMk9.mjs.map +1 -0
  133. package/dist/_chunks/ml-BihZwQit.mjs +200 -0
  134. package/dist/_chunks/ml-BihZwQit.mjs.map +1 -0
  135. package/dist/_chunks/ml-C2W8N8k1.js +200 -0
  136. package/dist/_chunks/ml-C2W8N8k1.js.map +1 -0
  137. package/dist/_chunks/ms-BuFotyP_.js +144 -0
  138. package/dist/{admin/chunks/cs-BJFxwIWj.js.map → _chunks/ms-BuFotyP_.js.map} +1 -1
  139. package/dist/_chunks/ms-m_WjyWx7.mjs +144 -0
  140. package/dist/_chunks/ms-m_WjyWx7.mjs.map +1 -0
  141. package/dist/_chunks/nl-D4R9gHx5.mjs +202 -0
  142. package/dist/_chunks/nl-D4R9gHx5.mjs.map +1 -0
  143. package/dist/_chunks/nl-bbEOHChV.js +202 -0
  144. package/dist/_chunks/nl-bbEOHChV.js.map +1 -0
  145. package/dist/_chunks/objects-BcXOv6_9.js +47 -0
  146. package/dist/_chunks/objects-BcXOv6_9.js.map +1 -0
  147. package/dist/_chunks/objects-D6yBsdmx.mjs +45 -0
  148. package/dist/_chunks/objects-D6yBsdmx.mjs.map +1 -0
  149. package/dist/_chunks/pl-sbx9mSt_.mjs +199 -0
  150. package/dist/_chunks/pl-sbx9mSt_.mjs.map +1 -0
  151. package/dist/_chunks/pl-uzwG-hk7.js +199 -0
  152. package/dist/{admin/chunks/ca-DviY7mRj.js.map → _chunks/pl-uzwG-hk7.js.map} +1 -1
  153. package/dist/_chunks/pt-BR-BiOz37D9.js +201 -0
  154. package/dist/{admin/chunks/pt-BR-CcotyBGJ.js.map → _chunks/pt-BR-BiOz37D9.js.map} +1 -1
  155. package/dist/_chunks/pt-BR-C71iDxnh.mjs +201 -0
  156. package/dist/_chunks/pt-BR-C71iDxnh.mjs.map +1 -0
  157. package/dist/_chunks/pt-BsaFvS8-.mjs +95 -0
  158. package/dist/_chunks/pt-BsaFvS8-.mjs.map +1 -0
  159. package/dist/_chunks/pt-CeXQuq50.js +95 -0
  160. package/dist/_chunks/pt-CeXQuq50.js.map +1 -0
  161. package/dist/_chunks/relations-BRfBxVbX.js +133 -0
  162. package/dist/_chunks/relations-BRfBxVbX.js.map +1 -0
  163. package/dist/_chunks/relations-BakOFl_1.mjs +134 -0
  164. package/dist/_chunks/relations-BakOFl_1.mjs.map +1 -0
  165. package/dist/_chunks/ru-BE6A4Exp.mjs +231 -0
  166. package/dist/{admin/chunks/ar-DeQBSsfl.js.map → _chunks/ru-BE6A4Exp.mjs.map} +1 -1
  167. package/dist/_chunks/ru-BT3ybNny.js +231 -0
  168. package/dist/{admin/chunks/ru-CB4BUyQp.js.map → _chunks/ru-BT3ybNny.js.map} +1 -1
  169. package/dist/_chunks/sa-CcvkYInH.js +200 -0
  170. package/dist/_chunks/sa-CcvkYInH.js.map +1 -0
  171. package/dist/_chunks/sa-Dag0k-Z8.mjs +200 -0
  172. package/dist/_chunks/sa-Dag0k-Z8.mjs.map +1 -0
  173. package/dist/_chunks/sk-BFg-R8qJ.mjs +202 -0
  174. package/dist/_chunks/sk-BFg-R8qJ.mjs.map +1 -0
  175. package/dist/_chunks/sk-CvY09Xjv.js +202 -0
  176. package/dist/_chunks/sk-CvY09Xjv.js.map +1 -0
  177. package/dist/_chunks/sv-CUnfWGsh.mjs +202 -0
  178. package/dist/_chunks/sv-CUnfWGsh.mjs.map +1 -0
  179. package/dist/_chunks/sv-MYDuzgvT.js +202 -0
  180. package/dist/_chunks/sv-MYDuzgvT.js.map +1 -0
  181. package/dist/_chunks/th-BqbI8lIT.mjs +148 -0
  182. package/dist/_chunks/th-BqbI8lIT.mjs.map +1 -0
  183. package/dist/_chunks/th-D9_GfAjc.js +148 -0
  184. package/dist/{admin/chunks/ms-CvSC0OdG.js.map → _chunks/th-D9_GfAjc.js.map} +1 -1
  185. package/dist/_chunks/tr-CgeK3wJM.mjs +199 -0
  186. package/dist/_chunks/tr-CgeK3wJM.mjs.map +1 -0
  187. package/dist/_chunks/tr-D9UH-O_R.js +199 -0
  188. package/dist/_chunks/tr-D9UH-O_R.js.map +1 -0
  189. package/dist/_chunks/uk-C8EiqJY7.js +144 -0
  190. package/dist/{admin/chunks/ms-Bh09NFff.js.map → _chunks/uk-C8EiqJY7.js.map} +1 -1
  191. package/dist/_chunks/uk-CR-zDhAY.mjs +144 -0
  192. package/dist/_chunks/uk-CR-zDhAY.mjs.map +1 -0
  193. package/dist/_chunks/useDragAndDrop-BMtgCYzL.js +245 -0
  194. package/dist/_chunks/useDragAndDrop-BMtgCYzL.js.map +1 -0
  195. package/dist/_chunks/useDragAndDrop-DJ6jqvZN.mjs +228 -0
  196. package/dist/_chunks/useDragAndDrop-DJ6jqvZN.mjs.map +1 -0
  197. package/dist/_chunks/usePrev-CZGy2Vjf.mjs +29 -0
  198. package/dist/_chunks/usePrev-CZGy2Vjf.mjs.map +1 -0
  199. package/dist/_chunks/usePrev-D5J_2fEu.js +28 -0
  200. package/dist/_chunks/usePrev-D5J_2fEu.js.map +1 -0
  201. package/dist/_chunks/vi-CJlYDheJ.js +111 -0
  202. package/dist/{admin/chunks/vi-CvBGlTjr.js.map → _chunks/vi-CJlYDheJ.js.map} +1 -1
  203. package/dist/_chunks/vi-DUXIk_fw.mjs +111 -0
  204. package/dist/_chunks/vi-DUXIk_fw.mjs.map +1 -0
  205. package/dist/_chunks/zh-BWZspA60.mjs +209 -0
  206. package/dist/_chunks/zh-BWZspA60.mjs.map +1 -0
  207. package/dist/_chunks/zh-CQQfszqR.js +209 -0
  208. package/dist/{admin/chunks/ca-ClDTvatJ.js.map → _chunks/zh-CQQfszqR.js.map} +1 -1
  209. package/dist/_chunks/zh-Hans-9kOncHGw.js +952 -0
  210. package/dist/{admin/chunks/zh-Hans-CI0HKio3.js.map → _chunks/zh-Hans-9kOncHGw.js.map} +1 -1
  211. package/dist/_chunks/zh-Hans-BPQcRIyH.mjs +952 -0
  212. package/dist/{admin/chunks/zh-Hans-JVK9x7xr.js.map → _chunks/zh-Hans-BPQcRIyH.mjs.map} +1 -1
  213. package/dist/admin/index.js +4 -23
  214. package/dist/admin/index.js.map +1 -1
  215. package/dist/admin/index.mjs +13 -16
  216. package/dist/admin/index.mjs.map +1 -1
  217. package/dist/admin/src/history/services/historyVersion.d.ts +1 -1
  218. package/dist/admin/src/hooks/useDocument.d.ts +2 -2
  219. package/dist/admin/src/preview/index.d.ts +3 -2
  220. package/dist/server/index.js +4396 -5468
  221. package/dist/server/index.js.map +1 -1
  222. package/dist/server/index.mjs +4368 -5442
  223. package/dist/server/index.mjs.map +1 -1
  224. package/dist/server/src/controllers/utils/metadata.d.ts +1 -1
  225. package/dist/server/src/controllers/utils/metadata.d.ts.map +1 -1
  226. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  227. package/dist/server/src/services/utils/count.d.ts +1 -1
  228. package/dist/server/src/services/utils/count.d.ts.map +1 -1
  229. package/dist/server/src/services/utils/populate.d.ts +1 -1
  230. package/dist/server/src/services/utils/populate.d.ts.map +1 -1
  231. package/dist/shared/contracts/collection-types.d.ts +1 -0
  232. package/dist/shared/contracts/components.d.ts +1 -0
  233. package/dist/shared/contracts/content-types.d.ts +1 -0
  234. package/dist/shared/contracts/history-versions.d.ts +1 -0
  235. package/dist/shared/contracts/index.d.ts +1 -0
  236. package/dist/shared/contracts/init.d.ts +1 -0
  237. package/dist/shared/contracts/preview.d.ts +1 -0
  238. package/dist/shared/contracts/relations.d.ts +2 -1
  239. package/dist/shared/contracts/relations.d.ts.map +1 -1
  240. package/dist/shared/contracts/review-workflows.d.ts +1 -0
  241. package/dist/shared/contracts/single-types.d.ts +1 -0
  242. package/dist/shared/contracts/uid.d.ts +1 -0
  243. package/dist/shared/index.d.ts +1 -0
  244. package/dist/shared/index.js +24 -35
  245. package/dist/shared/index.js.map +1 -1
  246. package/dist/shared/index.mjs +25 -34
  247. package/dist/shared/index.mjs.map +1 -1
  248. package/package.json +10 -13
  249. package/dist/admin/chunks/CardDragPreview-DwuraT0K.js +0 -80
  250. package/dist/admin/chunks/CardDragPreview-DwuraT0K.js.map +0 -1
  251. package/dist/admin/chunks/CardDragPreview-_dubYgXO.js +0 -82
  252. package/dist/admin/chunks/CardDragPreview-_dubYgXO.js.map +0 -1
  253. package/dist/admin/chunks/ComponentConfigurationPage-BqW-t7Lr.js +0 -276
  254. package/dist/admin/chunks/ComponentConfigurationPage-BqW-t7Lr.js.map +0 -1
  255. package/dist/admin/chunks/ComponentConfigurationPage-CM3vQxyp.js +0 -298
  256. package/dist/admin/chunks/ComponentConfigurationPage-CM3vQxyp.js.map +0 -1
  257. package/dist/admin/chunks/ComponentIcon-BZcTc4rj.js +0 -153
  258. package/dist/admin/chunks/ComponentIcon-BZcTc4rj.js.map +0 -1
  259. package/dist/admin/chunks/ComponentIcon-C-EjOUPA.js +0 -176
  260. package/dist/admin/chunks/ComponentIcon-C-EjOUPA.js.map +0 -1
  261. package/dist/admin/chunks/EditConfigurationPage-CIKO27N8.js +0 -180
  262. package/dist/admin/chunks/EditConfigurationPage-CIKO27N8.js.map +0 -1
  263. package/dist/admin/chunks/EditConfigurationPage-CYQ6mJWy.js +0 -158
  264. package/dist/admin/chunks/EditConfigurationPage-CYQ6mJWy.js.map +0 -1
  265. package/dist/admin/chunks/EditViewPage-CRu2G4OS.js +0 -337
  266. package/dist/admin/chunks/EditViewPage-CRu2G4OS.js.map +0 -1
  267. package/dist/admin/chunks/EditViewPage-DaY9aMeu.js +0 -314
  268. package/dist/admin/chunks/EditViewPage-DaY9aMeu.js.map +0 -1
  269. package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.js +0 -56
  270. package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.js.map +0 -1
  271. package/dist/admin/chunks/FieldTypeIcon-Bxh-7Jin.js +0 -58
  272. package/dist/admin/chunks/FieldTypeIcon-Bxh-7Jin.js.map +0 -1
  273. package/dist/admin/chunks/Form--7s-Wsw1.js +0 -978
  274. package/dist/admin/chunks/Form--7s-Wsw1.js.map +0 -1
  275. package/dist/admin/chunks/Form-CX_f1AUZ.js +0 -955
  276. package/dist/admin/chunks/Form-CX_f1AUZ.js.map +0 -1
  277. package/dist/admin/chunks/History-SRih7tGq.js +0 -1380
  278. package/dist/admin/chunks/History-SRih7tGq.js.map +0 -1
  279. package/dist/admin/chunks/History-VVVFEAnd.js +0 -1357
  280. package/dist/admin/chunks/History-VVVFEAnd.js.map +0 -1
  281. package/dist/admin/chunks/Input-B3wbR0pJ.js +0 -6754
  282. package/dist/admin/chunks/Input-B3wbR0pJ.js.map +0 -1
  283. package/dist/admin/chunks/Input-BIRb1gP2.js +0 -6785
  284. package/dist/admin/chunks/Input-BIRb1gP2.js.map +0 -1
  285. package/dist/admin/chunks/ListConfigurationPage-BMBxgLtZ.js +0 -795
  286. package/dist/admin/chunks/ListConfigurationPage-BMBxgLtZ.js.map +0 -1
  287. package/dist/admin/chunks/ListConfigurationPage-DBWZlkHs.js +0 -818
  288. package/dist/admin/chunks/ListConfigurationPage-DBWZlkHs.js.map +0 -1
  289. package/dist/admin/chunks/ListViewPage-9jad22KO.js +0 -1154
  290. package/dist/admin/chunks/ListViewPage-9jad22KO.js.map +0 -1
  291. package/dist/admin/chunks/ListViewPage-Dq2zuPYL.js +0 -1132
  292. package/dist/admin/chunks/ListViewPage-Dq2zuPYL.js.map +0 -1
  293. package/dist/admin/chunks/NoContentTypePage-B5xX6Br5.js +0 -59
  294. package/dist/admin/chunks/NoContentTypePage-B5xX6Br5.js.map +0 -1
  295. package/dist/admin/chunks/NoContentTypePage-BtpSxTZs.js +0 -57
  296. package/dist/admin/chunks/NoContentTypePage-BtpSxTZs.js.map +0 -1
  297. package/dist/admin/chunks/NoPermissionsPage-CRS0hARz.js +0 -38
  298. package/dist/admin/chunks/NoPermissionsPage-CRS0hARz.js.map +0 -1
  299. package/dist/admin/chunks/NoPermissionsPage-HnOCsRtG.js +0 -36
  300. package/dist/admin/chunks/NoPermissionsPage-HnOCsRtG.js.map +0 -1
  301. package/dist/admin/chunks/Preview-BcggSPwn.js +0 -435
  302. package/dist/admin/chunks/Preview-BcggSPwn.js.map +0 -1
  303. package/dist/admin/chunks/Preview-DRtWRrYn.js +0 -457
  304. package/dist/admin/chunks/Preview-DRtWRrYn.js.map +0 -1
  305. package/dist/admin/chunks/Relations-B1i77Jba.js +0 -826
  306. package/dist/admin/chunks/Relations-B1i77Jba.js.map +0 -1
  307. package/dist/admin/chunks/Relations-BDe2e0a7.js +0 -852
  308. package/dist/admin/chunks/Relations-BDe2e0a7.js.map +0 -1
  309. package/dist/admin/chunks/ar-DckYq_WK.js +0 -222
  310. package/dist/admin/chunks/ar-DeQBSsfl.js +0 -227
  311. package/dist/admin/chunks/ca-ClDTvatJ.js +0 -202
  312. package/dist/admin/chunks/ca-DviY7mRj.js +0 -197
  313. package/dist/admin/chunks/cs-BJFxwIWj.js +0 -126
  314. package/dist/admin/chunks/cs-C7OSYFQ7.js +0 -122
  315. package/dist/admin/chunks/de-5QRlDHyR.js +0 -195
  316. package/dist/admin/chunks/de-CbImAUA5.js +0 -200
  317. package/dist/admin/chunks/en-1xHet_GV.js +0 -312
  318. package/dist/admin/chunks/en-DB7sPJVj.js +0 -307
  319. package/dist/admin/chunks/es-C8vLuvZL.js +0 -197
  320. package/dist/admin/chunks/es-DkoWSExG.js +0 -192
  321. package/dist/admin/chunks/eu-BG1xX7HK.js +0 -198
  322. package/dist/admin/chunks/eu-BG1xX7HK.js.map +0 -1
  323. package/dist/admin/chunks/eu-BJW3AvXu.js +0 -203
  324. package/dist/admin/chunks/eu-BJW3AvXu.js.map +0 -1
  325. package/dist/admin/chunks/fr-CqAyDOmo.js +0 -217
  326. package/dist/admin/chunks/fr-CqAyDOmo.js.map +0 -1
  327. package/dist/admin/chunks/fr-Dm1xiZI5.js +0 -212
  328. package/dist/admin/chunks/fr-Dm1xiZI5.js.map +0 -1
  329. package/dist/admin/chunks/gu-D5MMMXRs.js +0 -196
  330. package/dist/admin/chunks/gu-D5MMMXRs.js.map +0 -1
  331. package/dist/admin/chunks/gu-DPU4wyx7.js +0 -201
  332. package/dist/admin/chunks/gu-DPU4wyx7.js.map +0 -1
  333. package/dist/admin/chunks/hi-Dp4omeBb.js +0 -201
  334. package/dist/admin/chunks/hi-Dp4omeBb.js.map +0 -1
  335. package/dist/admin/chunks/hi-lp17SCjr.js +0 -196
  336. package/dist/admin/chunks/hi-lp17SCjr.js.map +0 -1
  337. package/dist/admin/chunks/hooks-D-sOYd1s.js.map +0 -1
  338. package/dist/admin/chunks/hooks-DMvik5y_.js +0 -7
  339. package/dist/admin/chunks/hooks-DMvik5y_.js.map +0 -1
  340. package/dist/admin/chunks/hu-CLka1U2C.js +0 -198
  341. package/dist/admin/chunks/hu-CLka1U2C.js.map +0 -1
  342. package/dist/admin/chunks/hu-CtFJuhTd.js +0 -203
  343. package/dist/admin/chunks/hu-CtFJuhTd.js.map +0 -1
  344. package/dist/admin/chunks/id-D7V5S1rB.js +0 -161
  345. package/dist/admin/chunks/id-USfY9m1g.js +0 -156
  346. package/dist/admin/chunks/id-USfY9m1g.js.map +0 -1
  347. package/dist/admin/chunks/index-CKZHZ3ir.js +0 -5339
  348. package/dist/admin/chunks/index-CKZHZ3ir.js.map +0 -1
  349. package/dist/admin/chunks/index-DfEfFmQC.js +0 -5273
  350. package/dist/admin/chunks/index-DfEfFmQC.js.map +0 -1
  351. package/dist/admin/chunks/it-BAHrwmYS.js +0 -158
  352. package/dist/admin/chunks/it-CQFpa_Dc.js +0 -163
  353. package/dist/admin/chunks/ja-BWKmBJFT.js +0 -192
  354. package/dist/admin/chunks/ja-BWKmBJFT.js.map +0 -1
  355. package/dist/admin/chunks/ja-jdQM-B79.js +0 -197
  356. package/dist/admin/chunks/ja-jdQM-B79.js.map +0 -1
  357. package/dist/admin/chunks/ko-CgADGBNt.js +0 -191
  358. package/dist/admin/chunks/ko-CgADGBNt.js.map +0 -1
  359. package/dist/admin/chunks/ko-k46sEyzt.js +0 -196
  360. package/dist/admin/chunks/ko-k46sEyzt.js.map +0 -1
  361. package/dist/admin/chunks/layout-BN6DSZ4t.js +0 -598
  362. package/dist/admin/chunks/layout-BN6DSZ4t.js.map +0 -1
  363. package/dist/admin/chunks/layout-CX-A0s3P.js +0 -618
  364. package/dist/admin/chunks/layout-CX-A0s3P.js.map +0 -1
  365. package/dist/admin/chunks/ml-CnhCfOn_.js +0 -196
  366. package/dist/admin/chunks/ml-CnhCfOn_.js.map +0 -1
  367. package/dist/admin/chunks/ml-DqxPwODx.js +0 -201
  368. package/dist/admin/chunks/ml-DqxPwODx.js.map +0 -1
  369. package/dist/admin/chunks/ms-Bh09NFff.js +0 -140
  370. package/dist/admin/chunks/ms-CvSC0OdG.js +0 -145
  371. package/dist/admin/chunks/nl-BEubhS8C.js +0 -203
  372. package/dist/admin/chunks/nl-BEubhS8C.js.map +0 -1
  373. package/dist/admin/chunks/nl-C8HYflTc.js +0 -198
  374. package/dist/admin/chunks/nl-C8HYflTc.js.map +0 -1
  375. package/dist/admin/chunks/objects-C3EebVVe.js +0 -76
  376. package/dist/admin/chunks/objects-C3EebVVe.js.map +0 -1
  377. package/dist/admin/chunks/objects-wl73iEma.js +0 -73
  378. package/dist/admin/chunks/objects-wl73iEma.js.map +0 -1
  379. package/dist/admin/chunks/pl-DWhGDzmM.js +0 -200
  380. package/dist/admin/chunks/pl-DWhGDzmM.js.map +0 -1
  381. package/dist/admin/chunks/pl-MFCZJZuZ.js +0 -195
  382. package/dist/admin/chunks/pl-MFCZJZuZ.js.map +0 -1
  383. package/dist/admin/chunks/pt-BR-CPtAXD-4.js +0 -202
  384. package/dist/admin/chunks/pt-BR-CPtAXD-4.js.map +0 -1
  385. package/dist/admin/chunks/pt-BR-CcotyBGJ.js +0 -197
  386. package/dist/admin/chunks/pt-BoPxN80n.js +0 -96
  387. package/dist/admin/chunks/pt-BoPxN80n.js.map +0 -1
  388. package/dist/admin/chunks/pt-HbmgeiYO.js +0 -93
  389. package/dist/admin/chunks/pt-HbmgeiYO.js.map +0 -1
  390. package/dist/admin/chunks/relations-CuPmv-zR.js +0 -160
  391. package/dist/admin/chunks/relations-CuPmv-zR.js.map +0 -1
  392. package/dist/admin/chunks/relations-xwSNlsdc.js +0 -156
  393. package/dist/admin/chunks/relations-xwSNlsdc.js.map +0 -1
  394. package/dist/admin/chunks/ru-C0op0ALG.js +0 -232
  395. package/dist/admin/chunks/ru-C0op0ALG.js.map +0 -1
  396. package/dist/admin/chunks/ru-CB4BUyQp.js +0 -230
  397. package/dist/admin/chunks/sa-B_FuPyMw.js +0 -201
  398. package/dist/admin/chunks/sa-B_FuPyMw.js.map +0 -1
  399. package/dist/admin/chunks/sa-n_aPA-pU.js +0 -196
  400. package/dist/admin/chunks/sa-n_aPA-pU.js.map +0 -1
  401. package/dist/admin/chunks/sk-D_iXML2C.js +0 -203
  402. package/dist/admin/chunks/sk-D_iXML2C.js.map +0 -1
  403. package/dist/admin/chunks/sk-tn_BDjE2.js +0 -198
  404. package/dist/admin/chunks/sk-tn_BDjE2.js.map +0 -1
  405. package/dist/admin/chunks/sv-BstBC1Yp.js +0 -203
  406. package/dist/admin/chunks/sv-BstBC1Yp.js.map +0 -1
  407. package/dist/admin/chunks/sv-cq4ZrQRd.js +0 -198
  408. package/dist/admin/chunks/sv-cq4ZrQRd.js.map +0 -1
  409. package/dist/admin/chunks/th-lXoOCqPC.js +0 -149
  410. package/dist/admin/chunks/th-lXoOCqPC.js.map +0 -1
  411. package/dist/admin/chunks/th-mUH7hEtc.js +0 -144
  412. package/dist/admin/chunks/th-mUH7hEtc.js.map +0 -1
  413. package/dist/admin/chunks/tr-CkS6sLIE.js +0 -200
  414. package/dist/admin/chunks/tr-CkS6sLIE.js.map +0 -1
  415. package/dist/admin/chunks/tr-Yt38daxh.js +0 -195
  416. package/dist/admin/chunks/tr-Yt38daxh.js.map +0 -1
  417. package/dist/admin/chunks/uk-B24MoTVg.js +0 -145
  418. package/dist/admin/chunks/uk-B24MoTVg.js.map +0 -1
  419. package/dist/admin/chunks/uk-Cpgmm7gE.js +0 -140
  420. package/dist/admin/chunks/uk-Cpgmm7gE.js.map +0 -1
  421. package/dist/admin/chunks/useDragAndDrop-HYwNDExe.js +0 -247
  422. package/dist/admin/chunks/useDragAndDrop-HYwNDExe.js.map +0 -1
  423. package/dist/admin/chunks/useDragAndDrop-gcqEJMnO.js +0 -271
  424. package/dist/admin/chunks/useDragAndDrop-gcqEJMnO.js.map +0 -1
  425. package/dist/admin/chunks/usePrev-CwGzb4ed.js +0 -38
  426. package/dist/admin/chunks/usePrev-CwGzb4ed.js.map +0 -1
  427. package/dist/admin/chunks/usePrev-tlgK0qPG.js +0 -34
  428. package/dist/admin/chunks/usePrev-tlgK0qPG.js.map +0 -1
  429. package/dist/admin/chunks/vi-BGr1X_HZ.js +0 -112
  430. package/dist/admin/chunks/vi-BGr1X_HZ.js.map +0 -1
  431. package/dist/admin/chunks/vi-CvBGlTjr.js +0 -108
  432. package/dist/admin/chunks/zh-BmF-sHaT.js +0 -205
  433. package/dist/admin/chunks/zh-BmF-sHaT.js.map +0 -1
  434. package/dist/admin/chunks/zh-DwFu_Kfj.js +0 -210
  435. package/dist/admin/chunks/zh-DwFu_Kfj.js.map +0 -1
  436. package/dist/admin/chunks/zh-Hans-CI0HKio3.js +0 -934
  437. package/dist/admin/chunks/zh-Hans-JVK9x7xr.js +0 -953
@@ -1,96 +0,0 @@
1
- 'use strict';
2
-
3
- var pageNotFound = "Página não encontrada";
4
- var pt = {
5
- "EditRelations.title": "Dados relacionais",
6
- "components.AddFilterCTA.add": "Filtros",
7
- "components.AddFilterCTA.hide": "Filtros",
8
- "components.DraggableAttr.edit": "Clique para editar",
9
- "components.EmptyAttributesBlock.button": "Ir para a página de configurações",
10
- "components.EmptyAttributesBlock.description": "Pode alterar as configurações",
11
- "components.FilterOptions.button.apply": "Aplicar",
12
- "components.FiltersPickWrapper.PluginHeader.actions.apply": "Aplicar",
13
- "components.FiltersPickWrapper.PluginHeader.actions.clearAll": "Limpar tudo",
14
- "components.FiltersPickWrapper.PluginHeader.description": "Definir as condições a serem aplicadas para filtrar as entradas",
15
- "components.FiltersPickWrapper.PluginHeader.title.filter": "Filtros",
16
- "components.FiltersPickWrapper.hide": "Esconder",
17
- "components.LimitSelect.itemsPerPage": "Itens por página",
18
- "components.Search.placeholder": "Procurar por uma entrada...",
19
- "components.TableDelete.delete": "Apagar tudo",
20
- "components.TableDelete.deleteSelected": "Excluir selecionado",
21
- "components.TableEmpty.withFilters": "Não há {contentType} com os filtros aplicados...",
22
- "components.TableEmpty.withSearch": "Não há {contentType} correspondente à pesquisa ({search})...",
23
- "components.TableEmpty.withoutFilter": "Não há {contentType}...",
24
- "containers.Edit.addAnItem": "Adicionar uma entrada...",
25
- "containers.Edit.clickToJump": "Clique para saltar para a entrada",
26
- "containers.Edit.delete": "Apagar",
27
- "containers.Edit.editing": "Editando...",
28
- "containers.Edit.reset": "Restabelecer",
29
- "containers.Edit.returnList": "Retornar à lista",
30
- "containers.Edit.seeDetails": "Detalhes",
31
- "containers.Edit.submit": "Guardar",
32
- "containers.Home.introduction": "Para editar suas entradas, acesse o link específico no menu à esquerda. Esta extensão não tem uma maneira correcta de editar configurações e ainda está em desenvolvimento activo.",
33
- "containers.Home.pluginHeaderDescription": "Administre as suas entradas através de uma interface poderosa e bonita.",
34
- "containers.Home.pluginHeaderTitle": "Gestor de conteúdos",
35
- "containers.List.errorFetchRecords": "Erro",
36
- "containers.list.displayedFields": "Campos visíveis",
37
- "containers.SettingPage.attributes": "Campos de atributos",
38
- "containers.SettingPage.attributes.description": "Definir a ordem dos atributos",
39
- "containers.SettingPage.editSettings.description": "Agarre & solte os campos para criar o layout",
40
- "containers.SettingPage.editSettings.title": "Edite (configurações)",
41
- "containers.SettingPage.listSettings.title": "Lista (configurações)",
42
- "containers.SettingPage.relations": "Campos Relacionais",
43
- "containers.SettingsPage.Block.contentType.description": "Configurar configurações específicas",
44
- "containers.SettingsPage.Block.generalSettings.title": "Geral",
45
- "emptyAttributes.title": "Ainda não há campos",
46
- "error.attribute.key.taken": "Este valor já existe",
47
- "error.attribute.sameKeyAndName": "Não pode ser igual",
48
- "error.attribute.taken": "O nome deste campo já existe",
49
- "error.contentTypeName.taken": "Este nome já existe",
50
- "error.model.fetch": "Ocorreu um erro durante a configuração dos modelos de pesquisa.",
51
- "error.record.create": "Ocorreu um erro durante a criação de registo.",
52
- "error.record.delete": "Ocorreu um erro durante a exclusão do registo.",
53
- "error.record.fetch": "Ocorreu um erro durante o registo de pesquisa.",
54
- "error.record.update": "Ocorreu um erro durante a actualização do registo.",
55
- "error.records.count": "Ocorreu um erro durante a contagem de registos a pesquisar.",
56
- "error.records.fetch": "Ocorreu um erro durante os registos de busca.",
57
- "error.schema.generation": "Ocorreu um erro durante a geração de esquemas.",
58
- "error.validation.json": "Isto não corresponde com o formato JSON",
59
- "error.validation.max": "O valor é muito alto.",
60
- "error.validation.maxLength": "O valor é muito longo.",
61
- "error.validation.min": "O valor é muito baixo.",
62
- "error.validation.minLength": "O valor é muito curto.",
63
- "error.validation.minSupMax": "Não pode ser superior",
64
- "error.validation.regex": "Este valor não corresponde ao regex.",
65
- "error.validation.required": "O valor desta entrada é obrigatória.",
66
- "form.Input.bulkActions": "Activar acções em massa",
67
- "form.Input.defaultSort": "Ordenação por defeito",
68
- "form.Input.description": "Descrição",
69
- "form.Input.description.placeholder": "Nome a exibir no perfil",
70
- "form.Input.editable": "Campo editável",
71
- "form.Input.filters": "Activar filtros",
72
- "form.Input.label": "Legenda",
73
- "form.Input.label.inputDescription": "Este valor sobrepõe a legenda visível no cabeçalho da tabela",
74
- "form.Input.pageEntries": "Entradas por página",
75
- "form.Input.placeholder": "Preenchimento",
76
- "form.Input.placeholder.placeholder": "O meu valor espetacular",
77
- "form.Input.search": "Activar pesquisa",
78
- "form.Input.search.field": "Active a pesquisa neste campo",
79
- "form.Input.sort.field": "Active a ordenação neste campo",
80
- "notification.error.displayedFields": "Precisa de ter pelo menos um campo visível",
81
- "notification.error.relationship.fetch": "Ocorreu um erro durante a pesquisa da relação.",
82
- "notification.info.SettingPage.disableSort": "Precisa de ter pelo menos um atributo com ordenação activa",
83
- pageNotFound: pageNotFound,
84
- "plugin.description.long": "Maneira rápida de ver, editar e excluir os dados da sua base de dados.",
85
- "plugin.description.short": "Maneira rápida de ver, editar e excluir os dados da sua base de dados.",
86
- "popUpWarning.bodyMessage.contentType.delete": "Tem a certeza de que pretende apagar esta entrada?",
87
- "popUpWarning.bodyMessage.contentType.delete.all": "Tem a certeza de que pretende apagar estas entradas?",
88
- "popUpWarning.warning.cancelAllSettings": "Tem a certeza de que quer cancelar as alterações?",
89
- "popUpWarning.warning.updateAllSettings": "Isto vai alterar todas as suas configurações",
90
- "success.record.delete": "Apagado",
91
- "success.record.save": "Guardado"
92
- };
93
-
94
- exports.default = pt;
95
- exports.pageNotFound = pageNotFound;
96
- //# sourceMappingURL=pt-BoPxN80n.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pt-BoPxN80n.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,93 +0,0 @@
1
- var pageNotFound = "Página não encontrada";
2
- var pt = {
3
- "EditRelations.title": "Dados relacionais",
4
- "components.AddFilterCTA.add": "Filtros",
5
- "components.AddFilterCTA.hide": "Filtros",
6
- "components.DraggableAttr.edit": "Clique para editar",
7
- "components.EmptyAttributesBlock.button": "Ir para a página de configurações",
8
- "components.EmptyAttributesBlock.description": "Pode alterar as configurações",
9
- "components.FilterOptions.button.apply": "Aplicar",
10
- "components.FiltersPickWrapper.PluginHeader.actions.apply": "Aplicar",
11
- "components.FiltersPickWrapper.PluginHeader.actions.clearAll": "Limpar tudo",
12
- "components.FiltersPickWrapper.PluginHeader.description": "Definir as condições a serem aplicadas para filtrar as entradas",
13
- "components.FiltersPickWrapper.PluginHeader.title.filter": "Filtros",
14
- "components.FiltersPickWrapper.hide": "Esconder",
15
- "components.LimitSelect.itemsPerPage": "Itens por página",
16
- "components.Search.placeholder": "Procurar por uma entrada...",
17
- "components.TableDelete.delete": "Apagar tudo",
18
- "components.TableDelete.deleteSelected": "Excluir selecionado",
19
- "components.TableEmpty.withFilters": "Não há {contentType} com os filtros aplicados...",
20
- "components.TableEmpty.withSearch": "Não há {contentType} correspondente à pesquisa ({search})...",
21
- "components.TableEmpty.withoutFilter": "Não há {contentType}...",
22
- "containers.Edit.addAnItem": "Adicionar uma entrada...",
23
- "containers.Edit.clickToJump": "Clique para saltar para a entrada",
24
- "containers.Edit.delete": "Apagar",
25
- "containers.Edit.editing": "Editando...",
26
- "containers.Edit.reset": "Restabelecer",
27
- "containers.Edit.returnList": "Retornar à lista",
28
- "containers.Edit.seeDetails": "Detalhes",
29
- "containers.Edit.submit": "Guardar",
30
- "containers.Home.introduction": "Para editar suas entradas, acesse o link específico no menu à esquerda. Esta extensão não tem uma maneira correcta de editar configurações e ainda está em desenvolvimento activo.",
31
- "containers.Home.pluginHeaderDescription": "Administre as suas entradas através de uma interface poderosa e bonita.",
32
- "containers.Home.pluginHeaderTitle": "Gestor de conteúdos",
33
- "containers.List.errorFetchRecords": "Erro",
34
- "containers.list.displayedFields": "Campos visíveis",
35
- "containers.SettingPage.attributes": "Campos de atributos",
36
- "containers.SettingPage.attributes.description": "Definir a ordem dos atributos",
37
- "containers.SettingPage.editSettings.description": "Agarre & solte os campos para criar o layout",
38
- "containers.SettingPage.editSettings.title": "Edite (configurações)",
39
- "containers.SettingPage.listSettings.title": "Lista (configurações)",
40
- "containers.SettingPage.relations": "Campos Relacionais",
41
- "containers.SettingsPage.Block.contentType.description": "Configurar configurações específicas",
42
- "containers.SettingsPage.Block.generalSettings.title": "Geral",
43
- "emptyAttributes.title": "Ainda não há campos",
44
- "error.attribute.key.taken": "Este valor já existe",
45
- "error.attribute.sameKeyAndName": "Não pode ser igual",
46
- "error.attribute.taken": "O nome deste campo já existe",
47
- "error.contentTypeName.taken": "Este nome já existe",
48
- "error.model.fetch": "Ocorreu um erro durante a configuração dos modelos de pesquisa.",
49
- "error.record.create": "Ocorreu um erro durante a criação de registo.",
50
- "error.record.delete": "Ocorreu um erro durante a exclusão do registo.",
51
- "error.record.fetch": "Ocorreu um erro durante o registo de pesquisa.",
52
- "error.record.update": "Ocorreu um erro durante a actualização do registo.",
53
- "error.records.count": "Ocorreu um erro durante a contagem de registos a pesquisar.",
54
- "error.records.fetch": "Ocorreu um erro durante os registos de busca.",
55
- "error.schema.generation": "Ocorreu um erro durante a geração de esquemas.",
56
- "error.validation.json": "Isto não corresponde com o formato JSON",
57
- "error.validation.max": "O valor é muito alto.",
58
- "error.validation.maxLength": "O valor é muito longo.",
59
- "error.validation.min": "O valor é muito baixo.",
60
- "error.validation.minLength": "O valor é muito curto.",
61
- "error.validation.minSupMax": "Não pode ser superior",
62
- "error.validation.regex": "Este valor não corresponde ao regex.",
63
- "error.validation.required": "O valor desta entrada é obrigatória.",
64
- "form.Input.bulkActions": "Activar acções em massa",
65
- "form.Input.defaultSort": "Ordenação por defeito",
66
- "form.Input.description": "Descrição",
67
- "form.Input.description.placeholder": "Nome a exibir no perfil",
68
- "form.Input.editable": "Campo editável",
69
- "form.Input.filters": "Activar filtros",
70
- "form.Input.label": "Legenda",
71
- "form.Input.label.inputDescription": "Este valor sobrepõe a legenda visível no cabeçalho da tabela",
72
- "form.Input.pageEntries": "Entradas por página",
73
- "form.Input.placeholder": "Preenchimento",
74
- "form.Input.placeholder.placeholder": "O meu valor espetacular",
75
- "form.Input.search": "Activar pesquisa",
76
- "form.Input.search.field": "Active a pesquisa neste campo",
77
- "form.Input.sort.field": "Active a ordenação neste campo",
78
- "notification.error.displayedFields": "Precisa de ter pelo menos um campo visível",
79
- "notification.error.relationship.fetch": "Ocorreu um erro durante a pesquisa da relação.",
80
- "notification.info.SettingPage.disableSort": "Precisa de ter pelo menos um atributo com ordenação activa",
81
- pageNotFound: pageNotFound,
82
- "plugin.description.long": "Maneira rápida de ver, editar e excluir os dados da sua base de dados.",
83
- "plugin.description.short": "Maneira rápida de ver, editar e excluir os dados da sua base de dados.",
84
- "popUpWarning.bodyMessage.contentType.delete": "Tem a certeza de que pretende apagar esta entrada?",
85
- "popUpWarning.bodyMessage.contentType.delete.all": "Tem a certeza de que pretende apagar estas entradas?",
86
- "popUpWarning.warning.cancelAllSettings": "Tem a certeza de que quer cancelar as alterações?",
87
- "popUpWarning.warning.updateAllSettings": "Isto vai alterar todas as suas configurações",
88
- "success.record.delete": "Apagado",
89
- "success.record.save": "Guardado"
90
- };
91
-
92
- export { pt as default, pageNotFound };
93
- //# sourceMappingURL=pt-HbmgeiYO.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pt-HbmgeiYO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,160 +0,0 @@
1
- 'use strict';
2
-
3
- var fractionalIndexing = require('fractional-indexing');
4
- var index = require('./index-CKZHZ3ir.js');
5
-
6
- const relationsApi = index.contentManagerApi.injectEndpoints({
7
- endpoints: (build)=>({
8
- getRelations: build.query({
9
- query: ({ model, id, targetField, params })=>{
10
- return {
11
- url: `/content-manager/relations/${model}/${id}/${targetField}`,
12
- method: 'GET',
13
- config: {
14
- params
15
- }
16
- };
17
- },
18
- serializeQueryArgs: (args)=>{
19
- const { endpointName, queryArgs } = args;
20
- return {
21
- endpointName,
22
- model: queryArgs.model,
23
- id: queryArgs.id,
24
- targetField: queryArgs.targetField,
25
- locale: queryArgs.params?.locale,
26
- status: queryArgs.params?.status
27
- };
28
- },
29
- merge: (currentCache, newItems)=>{
30
- if (currentCache.pagination && newItems.pagination) {
31
- if (currentCache.pagination.page < newItems.pagination.page) {
32
- /**
33
- * Relations will always have unique IDs, so we can therefore assume
34
- * that we only need to push the new items to the cache.
35
- *
36
- * Push new items at the beginning as latest items are shown first
37
- */ currentCache.results = [
38
- ...prepareTempKeys(newItems.results, currentCache.results),
39
- ...currentCache.results
40
- ];
41
- currentCache.pagination = newItems.pagination;
42
- } else if (newItems.pagination.page === 1) {
43
- /**
44
- * We're resetting the relations
45
- */ currentCache.results = prepareTempKeys(newItems.results);
46
- currentCache.pagination = newItems.pagination;
47
- }
48
- }
49
- },
50
- forceRefetch ({ currentArg, previousArg }) {
51
- if (!currentArg?.params && !previousArg?.params) {
52
- return false;
53
- }
54
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
55
- },
56
- transformResponse: (response)=>{
57
- if ('results' in response && response.results) {
58
- return {
59
- ...response,
60
- results: prepareTempKeys(response.results.toReversed())
61
- };
62
- } else {
63
- return response;
64
- }
65
- },
66
- providesTags: [
67
- 'Relations'
68
- ]
69
- }),
70
- searchRelations: build.query({
71
- query: ({ model, targetField, params })=>{
72
- return {
73
- url: `/content-manager/relations/${model}/${targetField}`,
74
- method: 'GET',
75
- config: {
76
- params
77
- }
78
- };
79
- },
80
- serializeQueryArgs: (args)=>{
81
- const { endpointName, queryArgs } = args;
82
- return {
83
- endpointName,
84
- model: queryArgs.model,
85
- targetField: queryArgs.targetField,
86
- _q: queryArgs.params?._q,
87
- idsToOmit: queryArgs.params?.idsToOmit,
88
- idsToInclude: queryArgs.params?.idsToInclude
89
- };
90
- },
91
- merge: (currentCache, newItems)=>{
92
- if (currentCache.pagination && newItems.pagination) {
93
- if (currentCache.pagination.page < newItems.pagination.page) {
94
- /**
95
- * Relations will always have unique IDs, so we can therefore assume
96
- * that we only need to push the new items to the cache.
97
- */ const existingIds = currentCache.results.map((item)=>item.documentId);
98
- const uniqueNewItems = newItems.results.filter((item)=>!existingIds.includes(item.documentId));
99
- currentCache.results.push(...uniqueNewItems);
100
- currentCache.pagination = newItems.pagination;
101
- } else if (newItems.pagination.page === 1) {
102
- /**
103
- * We're resetting the relations
104
- */ currentCache.results = newItems.results;
105
- currentCache.pagination = newItems.pagination;
106
- }
107
- }
108
- },
109
- forceRefetch ({ currentArg, previousArg }) {
110
- if (!currentArg?.params && !previousArg?.params) {
111
- return false;
112
- }
113
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
114
- },
115
- transformResponse: (response)=>{
116
- if (response.results) {
117
- return {
118
- ...response,
119
- results: response.results
120
- };
121
- } else {
122
- return response;
123
- }
124
- }
125
- })
126
- })
127
- });
128
- /**
129
- * @internal
130
- * @description Adds a `__temp_key__` to each relation item. This gives us
131
- * a stable identifier regardless of it's ids etc. that we can then use for drag and drop.
132
- */ const prepareTempKeys = (relations, existingRelations = [])=>{
133
- const [firstItem] = existingRelations.slice(0);
134
- const keys = fractionalIndexing.generateNKeysBetween(null, firstItem?.__temp_key__ ?? null, relations.length);
135
- return relations.map((datum, index)=>({
136
- ...datum,
137
- __temp_key__: keys[index]
138
- }));
139
- };
140
- const { useGetRelationsQuery, useLazySearchRelationsQuery } = relationsApi;
141
-
142
- /**
143
- * @internal
144
- * @description Get the label of a relation, the contract has [key: string]: unknown,
145
- * so we need to check if the mainFieldKey is defined and if the relation has a value
146
- * under that property. If it does, we then verify it's type of string and return it.
147
- *
148
- * We fallback to the documentId.
149
- */ const getRelationLabel = (relation, mainField)=>{
150
- const label = mainField && relation[mainField.name] ? relation[mainField.name] : null;
151
- if (typeof label === 'string') {
152
- return label;
153
- }
154
- return relation.documentId;
155
- };
156
-
157
- exports.getRelationLabel = getRelationLabel;
158
- exports.useGetRelationsQuery = useGetRelationsQuery;
159
- exports.useLazySearchRelationsQuery = useLazySearchRelationsQuery;
160
- //# sourceMappingURL=relations-CuPmv-zR.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relations-CuPmv-zR.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 * Push new items at the beginning as latest items are shown first\n */\n currentCache.results = [\n ...prepareTempKeys(newItems.results, currentCache.results),\n ...currentCache.results,\n ];\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 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":["relationsApi","contentManagerApi","injectEndpoints","endpoints","build","getRelations","query","model","id","targetField","params","url","method","config","serializeQueryArgs","args","endpointName","queryArgs","locale","status","merge","currentCache","newItems","pagination","page","results","prepareTempKeys","forceRefetch","currentArg","previousArg","pageSize","transformResponse","response","toReversed","providesTags","searchRelations","_q","idsToOmit","idsToInclude","existingIds","map","item","documentId","uniqueNewItems","filter","includes","push","relations","existingRelations","firstItem","slice","keys","generateNKeysBetween","__temp_key__","length","datum","index","useGetRelationsQuery","useLazySearchRelationsQuery","getRelationLabel","relation","mainField","label","name"],"mappings":";;;;;AAkCA,MAAMA,YAAAA,GAAeC,uBAAkBC,CAAAA,eAAe,CAAC;IACrDC,SAAW,EAAA,CAACC,SAAW;YACrBC,YAAcD,EAAAA,KAAAA,CAAME,KAAK,CAKvB;gBACAA,KAAO,EAAA,CAAC,EAAEC,KAAK,EAAEC,EAAE,EAAEC,WAAW,EAAEC,MAAM,EAAE,GAAA;oBACxC,OAAO;wBACLC,GAAK,EAAA,CAAC,2BAA2B,EAAEJ,KAAM,CAAA,CAAC,EAAEC,EAAG,CAAA,CAAC,EAAEC,WAAAA,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AAG,IAAA;IAEjF,IAAI,OAAOD,UAAU,QAAU,EAAA;QAC7B,OAAOA,KAAAA;AACT;AAEA,IAAA,OAAOF,SAASlB,UAAU;AAC5B;;;;;;"}
@@ -1,156 +0,0 @@
1
- import { generateNKeysBetween } from 'fractional-indexing';
2
- import { e as contentManagerApi } from './index-DfEfFmQC.js';
3
-
4
- const relationsApi = 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
- /**
31
- * Relations will always have unique IDs, so we can therefore assume
32
- * that we only need to push the new items to the cache.
33
- *
34
- * Push new items at the beginning as latest items are shown first
35
- */ currentCache.results = [
36
- ...prepareTempKeys(newItems.results, currentCache.results),
37
- ...currentCache.results
38
- ];
39
- currentCache.pagination = newItems.pagination;
40
- } else if (newItems.pagination.page === 1) {
41
- /**
42
- * We're resetting the relations
43
- */ currentCache.results = prepareTempKeys(newItems.results);
44
- currentCache.pagination = newItems.pagination;
45
- }
46
- }
47
- },
48
- forceRefetch ({ currentArg, previousArg }) {
49
- if (!currentArg?.params && !previousArg?.params) {
50
- return false;
51
- }
52
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
53
- },
54
- transformResponse: (response)=>{
55
- if ('results' in response && response.results) {
56
- return {
57
- ...response,
58
- results: prepareTempKeys(response.results.toReversed())
59
- };
60
- } else {
61
- return response;
62
- }
63
- },
64
- providesTags: [
65
- 'Relations'
66
- ]
67
- }),
68
- searchRelations: build.query({
69
- query: ({ model, targetField, params })=>{
70
- return {
71
- url: `/content-manager/relations/${model}/${targetField}`,
72
- method: 'GET',
73
- config: {
74
- params
75
- }
76
- };
77
- },
78
- serializeQueryArgs: (args)=>{
79
- const { endpointName, queryArgs } = args;
80
- return {
81
- endpointName,
82
- model: queryArgs.model,
83
- targetField: queryArgs.targetField,
84
- _q: queryArgs.params?._q,
85
- idsToOmit: queryArgs.params?.idsToOmit,
86
- idsToInclude: queryArgs.params?.idsToInclude
87
- };
88
- },
89
- merge: (currentCache, newItems)=>{
90
- if (currentCache.pagination && newItems.pagination) {
91
- if (currentCache.pagination.page < newItems.pagination.page) {
92
- /**
93
- * Relations will always have unique IDs, so we can therefore assume
94
- * that we only need to push the new items to the cache.
95
- */ const existingIds = currentCache.results.map((item)=>item.documentId);
96
- const uniqueNewItems = newItems.results.filter((item)=>!existingIds.includes(item.documentId));
97
- currentCache.results.push(...uniqueNewItems);
98
- currentCache.pagination = newItems.pagination;
99
- } else if (newItems.pagination.page === 1) {
100
- /**
101
- * We're resetting the relations
102
- */ currentCache.results = newItems.results;
103
- currentCache.pagination = newItems.pagination;
104
- }
105
- }
106
- },
107
- forceRefetch ({ currentArg, previousArg }) {
108
- if (!currentArg?.params && !previousArg?.params) {
109
- return false;
110
- }
111
- return currentArg?.params?.page !== previousArg?.params?.page || currentArg?.params?.pageSize !== previousArg?.params?.pageSize;
112
- },
113
- transformResponse: (response)=>{
114
- if (response.results) {
115
- return {
116
- ...response,
117
- results: response.results
118
- };
119
- } else {
120
- return response;
121
- }
122
- }
123
- })
124
- })
125
- });
126
- /**
127
- * @internal
128
- * @description Adds a `__temp_key__` to each relation item. This gives us
129
- * a stable identifier regardless of it's ids etc. that we can then use for drag and drop.
130
- */ const prepareTempKeys = (relations, existingRelations = [])=>{
131
- const [firstItem] = existingRelations.slice(0);
132
- const keys = generateNKeysBetween(null, firstItem?.__temp_key__ ?? null, relations.length);
133
- return relations.map((datum, index)=>({
134
- ...datum,
135
- __temp_key__: keys[index]
136
- }));
137
- };
138
- const { useGetRelationsQuery, useLazySearchRelationsQuery } = relationsApi;
139
-
140
- /**
141
- * @internal
142
- * @description Get the label of a relation, the contract has [key: string]: unknown,
143
- * so we need to check if the mainFieldKey is defined and if the relation has a value
144
- * under that property. If it does, we then verify it's type of string and return it.
145
- *
146
- * We fallback to the documentId.
147
- */ const getRelationLabel = (relation, mainField)=>{
148
- const label = mainField && relation[mainField.name] ? relation[mainField.name] : null;
149
- if (typeof label === 'string') {
150
- return label;
151
- }
152
- return relation.documentId;
153
- };
154
-
155
- export { useLazySearchRelationsQuery as a, getRelationLabel as g, useGetRelationsQuery as u };
156
- //# sourceMappingURL=relations-xwSNlsdc.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"relations-xwSNlsdc.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 * Push new items at the beginning as latest items are shown first\n */\n currentCache.results = [\n ...prepareTempKeys(newItems.results, currentCache.results),\n ...currentCache.results,\n ];\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 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":["relationsApi","contentManagerApi","injectEndpoints","endpoints","build","getRelations","query","model","id","targetField","params","url","method","config","serializeQueryArgs","args","endpointName","queryArgs","locale","status","merge","currentCache","newItems","pagination","page","results","prepareTempKeys","forceRefetch","currentArg","previousArg","pageSize","transformResponse","response","toReversed","providesTags","searchRelations","_q","idsToOmit","idsToInclude","existingIds","map","item","documentId","uniqueNewItems","filter","includes","push","relations","existingRelations","firstItem","slice","keys","generateNKeysBetween","__temp_key__","length","datum","index","useGetRelationsQuery","useLazySearchRelationsQuery","getRelationLabel","relation","mainField","label","name"],"mappings":";;;AAkCA,MAAMA,YAAAA,GAAeC,iBAAkBC,CAAAA,eAAe,CAAC;IACrDC,SAAW,EAAA,CAACC,SAAW;YACrBC,YAAcD,EAAAA,KAAAA,CAAME,KAAK,CAKvB;gBACAA,KAAO,EAAA,CAAC,EAAEC,KAAK,EAAEC,EAAE,EAAEC,WAAW,EAAEC,MAAM,EAAE,GAAA;oBACxC,OAAO;wBACLC,GAAK,EAAA,CAAC,2BAA2B,EAAEJ,KAAM,CAAA,CAAC,EAAEC,EAAG,CAAA,CAAC,EAAEC,WAAAA,CAAY,CAAC;wBAC/DG,MAAQ,EAAA,KAAA;wBACRC,MAAQ,EAAA;AACNH,4BAAAA;AACF;AACF,qBAAA;AACF,iBAAA;AACAI,gBAAAA,kBAAAA,EAAoB,CAACC,IAAAA,GAAAA;AACnB,oBAAA,MAAM,EAAEC,YAAY,EAAEC,SAAS,EAAE,GAAGF,IAAAA;oBACpC,OAAO;AACLC,wBAAAA,YAAAA;AACAT,wBAAAA,KAAAA,EAAOU,UAAUV,KAAK;AACtBC,wBAAAA,EAAAA,EAAIS,UAAUT,EAAE;AAChBC,wBAAAA,WAAAA,EAAaQ,UAAUR,WAAW;wBAClCS,MAAQD,EAAAA,SAAAA,CAAUP,MAAM,EAAEQ,MAAAA;wBAC1BC,MAAQF,EAAAA,SAAAA,CAAUP,MAAM,EAAES;AAC5B,qBAAA;AACF,iBAA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