@strapi/admin 5.0.0-alpha.1 → 5.0.0-alpha.2

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 (415) hide show
  1. package/dist/_chunks/{AdminSeatInfo-TjK5LW2b.js → AdminSeatInfo-JtsYpBbO.js} +3 -3
  2. package/dist/_chunks/{AdminSeatInfo-TjK5LW2b.js.map → AdminSeatInfo-JtsYpBbO.js.map} +1 -1
  3. package/dist/_chunks/{AdminSeatInfo-20pkL95U.mjs → AdminSeatInfo-ZZsKxX-S.mjs} +3 -3
  4. package/dist/_chunks/{AdminSeatInfo-20pkL95U.mjs.map → AdminSeatInfo-ZZsKxX-S.mjs.map} +1 -1
  5. package/dist/_chunks/{ApplicationInfoPage-ed6y9Q-B.mjs → ApplicationInfoPage-NhhWzHF1.mjs} +15 -15
  6. package/dist/_chunks/ApplicationInfoPage-NhhWzHF1.mjs.map +1 -0
  7. package/dist/_chunks/{ApplicationInfoPage-1OdKMDYH.js → ApplicationInfoPage-xj1SCaSR.js} +13 -13
  8. package/dist/_chunks/ApplicationInfoPage-xj1SCaSR.js.map +1 -0
  9. package/dist/_chunks/{AuthResponse-Hxop00n-.mjs → AuthResponse-jIqWZLMh.mjs} +2 -2
  10. package/dist/_chunks/{AuthResponse-Hxop00n-.mjs.map → AuthResponse-jIqWZLMh.mjs.map} +1 -1
  11. package/dist/_chunks/{AuthResponse-sca_wjIN.js → AuthResponse-maUe9KWA.js} +2 -2
  12. package/dist/_chunks/{AuthResponse-sca_wjIN.js.map → AuthResponse-maUe9KWA.js.map} +1 -1
  13. package/dist/_chunks/{AuthenticatedLayout-knXNB2i2.mjs → AuthenticatedLayout-Ffy6uoNF.mjs} +27 -22
  14. package/dist/_chunks/AuthenticatedLayout-Ffy6uoNF.mjs.map +1 -0
  15. package/dist/_chunks/{AuthenticatedLayout-PPlOm7kb.js → AuthenticatedLayout-kxORHKAl.js} +29 -25
  16. package/dist/_chunks/AuthenticatedLayout-kxORHKAl.js.map +1 -0
  17. package/dist/_chunks/{ComponentConfigurationPage-xZMDjeVf.js → ComponentConfigurationPage-JMCc1P7r.js} +12 -11
  18. package/dist/_chunks/ComponentConfigurationPage-JMCc1P7r.js.map +1 -0
  19. package/dist/_chunks/{ComponentConfigurationPage-okd3XovW.mjs → ComponentConfigurationPage-oiBCHXQO.mjs} +12 -11
  20. package/dist/_chunks/ComponentConfigurationPage-oiBCHXQO.mjs.map +1 -0
  21. package/dist/_chunks/{CreateActionEE-E6YNdAVx.js → CreateActionEE-ThopeFZP.js} +2 -2
  22. package/dist/_chunks/{CreateActionEE-E6YNdAVx.js.map → CreateActionEE-ThopeFZP.js.map} +1 -1
  23. package/dist/_chunks/{CreateActionEE-PaZYJ410.mjs → CreateActionEE-VMKfXSGW.mjs} +2 -2
  24. package/dist/_chunks/{CreateActionEE-PaZYJ410.mjs.map → CreateActionEE-VMKfXSGW.mjs.map} +1 -1
  25. package/dist/_chunks/{CreatePage-P1F3dkB3.mjs → CreatePage-6AeIanOF.mjs} +16 -17
  26. package/dist/_chunks/CreatePage-6AeIanOF.mjs.map +1 -0
  27. package/dist/_chunks/{CreatePage-PM_r99U5.mjs → CreatePage-Gh5xb10f.mjs} +9 -10
  28. package/dist/_chunks/CreatePage-Gh5xb10f.mjs.map +1 -0
  29. package/dist/_chunks/{CreatePage-hlkPO2Cv.js → CreatePage-JIHfFWS7.js} +3 -3
  30. package/dist/_chunks/{CreatePage-hlkPO2Cv.js.map → CreatePage-JIHfFWS7.js.map} +1 -1
  31. package/dist/_chunks/{CreatePage-1Oi4-aR6.js → CreatePage-WWKaoNH7.js} +16 -17
  32. package/dist/_chunks/CreatePage-WWKaoNH7.js.map +1 -0
  33. package/dist/_chunks/{CreatePage-6458K0l9.mjs → CreatePage-hxFhldpL.mjs} +3 -3
  34. package/dist/_chunks/{CreatePage-6458K0l9.mjs.map → CreatePage-hxFhldpL.mjs.map} +1 -1
  35. package/dist/_chunks/{CreatePage-DmNFNVN9.js → CreatePage-yjmy0z57.js} +9 -10
  36. package/dist/_chunks/CreatePage-yjmy0z57.js.map +1 -0
  37. package/dist/_chunks/{CreateView-AWmN1xWJ.js → CreateView-J48m0lSL.js} +3 -3
  38. package/dist/_chunks/{CreateView-AWmN1xWJ.js.map → CreateView-J48m0lSL.js.map} +1 -1
  39. package/dist/_chunks/{CreateView-hUH4bf5k.js → CreateView-Vqd1PVrJ.js} +3 -3
  40. package/dist/_chunks/{CreateView-hUH4bf5k.js.map → CreateView-Vqd1PVrJ.js.map} +1 -1
  41. package/dist/_chunks/{CreateView-cTvLLIgu.mjs → CreateView-oBp0NzJx.mjs} +3 -3
  42. package/dist/_chunks/{CreateView-cTvLLIgu.mjs.map → CreateView-oBp0NzJx.mjs.map} +1 -1
  43. package/dist/_chunks/{CreateView-pBI75ZwZ.mjs → CreateView-qzpeDBvR.mjs} +3 -3
  44. package/dist/_chunks/{CreateView-pBI75ZwZ.mjs.map → CreateView-qzpeDBvR.mjs.map} +1 -1
  45. package/dist/_chunks/{EditConfigurationPage-LItt0mJo.mjs → EditConfigurationPage-MAUfMzG6.mjs} +11 -10
  46. package/dist/_chunks/EditConfigurationPage-MAUfMzG6.mjs.map +1 -0
  47. package/dist/_chunks/{EditConfigurationPage-PZ4yq1bM.js → EditConfigurationPage-PKHUVKGD.js} +11 -10
  48. package/dist/_chunks/EditConfigurationPage-PKHUVKGD.js.map +1 -0
  49. package/dist/_chunks/{EditPage-W6hncyNY.js → EditPage-7bVupT7n.js} +15 -15
  50. package/dist/_chunks/EditPage-7bVupT7n.js.map +1 -0
  51. package/dist/_chunks/{EditPage-MPNLCYgQ.mjs → EditPage-DQUZsl8H.mjs} +16 -17
  52. package/dist/_chunks/EditPage-DQUZsl8H.mjs.map +1 -0
  53. package/dist/_chunks/{EditPage-mU2WAH0F.js → EditPage-Hxt5uBXk.js} +10 -11
  54. package/dist/_chunks/EditPage-Hxt5uBXk.js.map +1 -0
  55. package/dist/_chunks/{EditPage-30rqjB1d.mjs → EditPage-Izmz7bdh.mjs} +16 -16
  56. package/dist/_chunks/EditPage-Izmz7bdh.mjs.map +1 -0
  57. package/dist/_chunks/{EditPage-_N_lm93z.js → EditPage-QA0-S3kV.js} +14 -15
  58. package/dist/_chunks/EditPage-QA0-S3kV.js.map +1 -0
  59. package/dist/_chunks/{EditPage--EPGgPNr.mjs → EditPage-THSaM4-0.mjs} +10 -11
  60. package/dist/_chunks/EditPage-THSaM4-0.mjs.map +1 -0
  61. package/dist/_chunks/{EditPage-RpzlPkkU.js → EditPage-vUQIn3OJ.js} +18 -19
  62. package/dist/_chunks/{EditPage-RpzlPkkU.js.map → EditPage-vUQIn3OJ.js.map} +1 -1
  63. package/dist/_chunks/{EditPage-GRIZWtGz.mjs → EditPage-zpnfFOjc.mjs} +18 -19
  64. package/dist/_chunks/{EditPage-GRIZWtGz.mjs.map → EditPage-zpnfFOjc.mjs.map} +1 -1
  65. package/dist/_chunks/{EditView-wDP9PNQY.js → EditView-63ynF0vf.js} +12 -13
  66. package/dist/_chunks/EditView-63ynF0vf.js.map +1 -0
  67. package/dist/_chunks/{EditView-0lXpbgG0.mjs → EditView-cfOpTlAi.mjs} +14 -15
  68. package/dist/_chunks/EditView-cfOpTlAi.mjs.map +1 -0
  69. package/dist/_chunks/{EditViewPage-0Pd8zBi7.js → EditViewPage--SujdXIG.js} +16 -18
  70. package/dist/_chunks/EditViewPage--SujdXIG.js.map +1 -0
  71. package/dist/_chunks/{EditViewPage-R6diW-gL.mjs → EditViewPage-JFzIJClS.mjs} +6 -7
  72. package/dist/_chunks/EditViewPage-JFzIJClS.mjs.map +1 -0
  73. package/dist/_chunks/{EditViewPage-ed0-10GO.js → EditViewPage-kkCJlZyh.js} +8 -9
  74. package/dist/_chunks/EditViewPage-kkCJlZyh.js.map +1 -0
  75. package/dist/_chunks/{EditViewPage-uWYR_o8w.mjs → EditViewPage-vz8UJ4U_.mjs} +17 -18
  76. package/dist/_chunks/EditViewPage-vz8UJ4U_.mjs.map +1 -0
  77. package/dist/_chunks/{EventsTable-R_AHW6Z4.js → EventsTable-1X4uyY8J.js} +2 -2
  78. package/dist/_chunks/{EventsTable-R_AHW6Z4.js.map → EventsTable-1X4uyY8J.js.map} +1 -1
  79. package/dist/_chunks/{EventsTable-CqN6AzV9.mjs → EventsTable-dN2MNNFu.mjs} +2 -2
  80. package/dist/_chunks/{EventsTable-CqN6AzV9.mjs.map → EventsTable-dN2MNNFu.mjs.map} +1 -1
  81. package/dist/_chunks/{FieldTypeIcon-rAK1gg9p.mjs → FieldTypeIcon-4-UZzZla.mjs} +2 -2
  82. package/dist/_chunks/{FieldTypeIcon-rAK1gg9p.mjs.map → FieldTypeIcon-4-UZzZla.mjs.map} +1 -1
  83. package/dist/_chunks/{FieldTypeIcon-1WDWx0cR.js → FieldTypeIcon-wxfhExw2.js} +2 -2
  84. package/dist/_chunks/{FieldTypeIcon-1WDWx0cR.js.map → FieldTypeIcon-wxfhExw2.js.map} +1 -1
  85. package/dist/_chunks/{Filters-rPaxqj4F.mjs → Filters--lh-i85A.mjs} +2 -3
  86. package/dist/_chunks/Filters--lh-i85A.mjs.map +1 -0
  87. package/dist/_chunks/{Filters-f6ghLf0Z.js → Filters-V0VODaNk.js} +4 -5
  88. package/dist/_chunks/Filters-V0VODaNk.js.map +1 -0
  89. package/dist/_chunks/{Form-eqzCPjSo.js → Form-6QJjWK34.js} +5 -6
  90. package/dist/_chunks/Form-6QJjWK34.js.map +1 -0
  91. package/dist/_chunks/{Form-QOZA9Aq6.mjs → Form-HXiNxSZi.mjs} +5 -6
  92. package/dist/_chunks/Form-HXiNxSZi.mjs.map +1 -0
  93. package/dist/_chunks/{History-Eq4_WQPf.mjs → History-CRGqDfHr.mjs} +4 -5
  94. package/dist/_chunks/History-CRGqDfHr.mjs.map +1 -0
  95. package/dist/_chunks/{History-j00hpmXV.js → History-R_4lEy01.js} +9 -10
  96. package/dist/_chunks/History-R_4lEy01.js.map +1 -0
  97. package/dist/_chunks/{HomePage-gTElgmEK.mjs → HomePage-GJRtRqAj.mjs} +3 -3
  98. package/dist/_chunks/{HomePage-gTElgmEK.mjs.map → HomePage-GJRtRqAj.mjs.map} +1 -1
  99. package/dist/_chunks/{HomePage-O-TRGX5T.mjs → HomePage-Si17pjt5.mjs} +5 -6
  100. package/dist/_chunks/HomePage-Si17pjt5.mjs.map +1 -0
  101. package/dist/_chunks/{HomePage-3IVOMrYf.js → HomePage-oiaJD-JE.js} +5 -6
  102. package/dist/_chunks/HomePage-oiaJD-JE.js.map +1 -0
  103. package/dist/_chunks/{HomePage-79fqDlve.js → HomePage-rEW7Jpww.js} +3 -3
  104. package/dist/_chunks/{HomePage-79fqDlve.js.map → HomePage-rEW7Jpww.js.map} +1 -1
  105. package/dist/_chunks/{InputRenderer-bJwYq9ga.mjs → InputRenderer-JfwBoJk0.mjs} +40 -18
  106. package/dist/_chunks/InputRenderer-JfwBoJk0.mjs.map +1 -0
  107. package/dist/_chunks/{InputRenderer-AVDw8MeU.js → InputRenderer-hWILsDgK.js} +42 -20
  108. package/dist/_chunks/InputRenderer-hWILsDgK.js.map +1 -0
  109. package/dist/_chunks/{InstalledPluginsPage-R2hVFPZl.mjs → InstalledPluginsPage-XqzfeZgq.mjs} +7 -9
  110. package/dist/_chunks/InstalledPluginsPage-XqzfeZgq.mjs.map +1 -0
  111. package/dist/_chunks/{InstalledPluginsPage-FkR2xkQz.js → InstalledPluginsPage-ao6yYe7N.js} +6 -8
  112. package/dist/_chunks/InstalledPluginsPage-ao6yYe7N.js.map +1 -0
  113. package/dist/_chunks/{Layout-omCNy92r.mjs → Layout-2dctwEHz.mjs} +2 -2
  114. package/dist/_chunks/{Layout-omCNy92r.mjs.map → Layout-2dctwEHz.mjs.map} +1 -1
  115. package/dist/_chunks/{Layout-cV6Se3U9.mjs → Layout-3sYAgWn4.mjs} +6 -6
  116. package/dist/_chunks/Layout-3sYAgWn4.mjs.map +1 -0
  117. package/dist/_chunks/{Layout-jweb3cF3.js → Layout-4vMUN0Ez.js} +2 -2
  118. package/dist/_chunks/{Layout-jweb3cF3.js.map → Layout-4vMUN0Ez.js.map} +1 -1
  119. package/dist/_chunks/{Layout-G49-Vc5u.js → Layout-kbqdKkiF.js} +5 -5
  120. package/dist/_chunks/Layout-kbqdKkiF.js.map +1 -0
  121. package/dist/_chunks/{ListConfigurationPage-70qtv4Ci.js → ListConfigurationPage-BXuW_9Wt.js} +10 -11
  122. package/dist/_chunks/ListConfigurationPage-BXuW_9Wt.js.map +1 -0
  123. package/dist/_chunks/{ListConfigurationPage-PrJNO_6y.mjs → ListConfigurationPage-lPILAPkW.mjs} +10 -11
  124. package/dist/_chunks/ListConfigurationPage-lPILAPkW.mjs.map +1 -0
  125. package/dist/_chunks/{ListPage-78Cv8Vfq.js → ListPage-02WM7Pt9.js} +11 -12
  126. package/dist/_chunks/ListPage-02WM7Pt9.js.map +1 -0
  127. package/dist/_chunks/{ListPage-2lswUYQN.js → ListPage-7TAp-q4k.js} +15 -16
  128. package/dist/_chunks/ListPage-7TAp-q4k.js.map +1 -0
  129. package/dist/_chunks/{ListPage-edro79m2.mjs → ListPage-EdOy02-v.mjs} +11 -12
  130. package/dist/_chunks/ListPage-EdOy02-v.mjs.map +1 -0
  131. package/dist/_chunks/{ListPage-mAUCZIg8.mjs → ListPage-OaldiDCh.mjs} +57 -59
  132. package/dist/_chunks/ListPage-OaldiDCh.mjs.map +1 -0
  133. package/dist/_chunks/{ListPage-Q81SX0vA.mjs → ListPage-R8Qs69v7.mjs} +3 -3
  134. package/dist/_chunks/{ListPage-Q81SX0vA.mjs.map → ListPage-R8Qs69v7.mjs.map} +1 -1
  135. package/dist/_chunks/{ListPage-Cvn3WbMH.mjs → ListPage-SCTNGhhO.mjs} +16 -17
  136. package/dist/_chunks/ListPage-SCTNGhhO.mjs.map +1 -0
  137. package/dist/_chunks/{ListPage-xFkcmM1b.mjs → ListPage-YZ45BiMe.mjs} +17 -18
  138. package/dist/_chunks/ListPage-YZ45BiMe.mjs.map +1 -0
  139. package/dist/_chunks/{ListPage-7dZ3nYvc.js → ListPage-ZWUo77nT.js} +55 -56
  140. package/dist/_chunks/ListPage-ZWUo77nT.js.map +1 -0
  141. package/dist/_chunks/{ListPage-Ms6egnF5.js → ListPage-bE4a6YkV.js} +3 -3
  142. package/dist/_chunks/{ListPage-Ms6egnF5.js.map → ListPage-bE4a6YkV.js.map} +1 -1
  143. package/dist/_chunks/{ListPage-NmUS_cOz.mjs → ListPage-p17R2Gql.mjs} +14 -18
  144. package/dist/_chunks/ListPage-p17R2Gql.mjs.map +1 -0
  145. package/dist/_chunks/{ListPage-Pf5LxUYn.js → ListPage-rCVvOLlD.js} +14 -20
  146. package/dist/_chunks/ListPage-rCVvOLlD.js.map +1 -0
  147. package/dist/_chunks/{ListPage-yymh17qi.js → ListPage-u6uVacPz.js} +14 -15
  148. package/dist/_chunks/ListPage-u6uVacPz.js.map +1 -0
  149. package/dist/_chunks/{ListView--43zLiHW.mjs → ListView--O7X6dMw.mjs} +13 -14
  150. package/dist/_chunks/ListView--O7X6dMw.mjs.map +1 -0
  151. package/dist/_chunks/{ListView-YtMAQnXL.js → ListView-SsUn5vcn.js} +11 -12
  152. package/dist/_chunks/ListView-SsUn5vcn.js.map +1 -0
  153. package/dist/_chunks/{ListView-nfA6o3qO.js → ListView-ZkjwQBXQ.js} +10 -11
  154. package/dist/_chunks/ListView-ZkjwQBXQ.js.map +1 -0
  155. package/dist/_chunks/{ListView-qPiKeCxj.mjs → ListView-oP-C8SCR.mjs} +12 -13
  156. package/dist/_chunks/ListView-oP-C8SCR.mjs.map +1 -0
  157. package/dist/_chunks/{ListViewPage-fPFonK_X.mjs → ListViewPage-1VNVP9Rw.mjs} +12 -13
  158. package/dist/_chunks/ListViewPage-1VNVP9Rw.mjs.map +1 -0
  159. package/dist/_chunks/{ListViewPage-Ys7-G2XX.js → ListViewPage-idgrhBAP.js} +16 -17
  160. package/dist/_chunks/ListViewPage-idgrhBAP.js.map +1 -0
  161. package/dist/_chunks/{Login-Ge3DZEpr.js → Login-4Igrm6CC.js} +2 -2
  162. package/dist/_chunks/{Login-Ge3DZEpr.js.map → Login-4Igrm6CC.js.map} +1 -1
  163. package/dist/_chunks/{Login-6kXI90Vy.mjs → Login-B55AM-7k.mjs} +2 -2
  164. package/dist/_chunks/{Login-6kXI90Vy.mjs.map → Login-B55AM-7k.mjs.map} +1 -1
  165. package/dist/_chunks/{MagicLinkEE-HXWaLr0K.mjs → MagicLinkEE-Zy_9ZZ7y.mjs} +3 -3
  166. package/dist/_chunks/{MagicLinkEE-HXWaLr0K.mjs.map → MagicLinkEE-Zy_9ZZ7y.mjs.map} +1 -1
  167. package/dist/_chunks/{MagicLinkEE-sXtA2gUK.js → MagicLinkEE-v7xTuVEA.js} +3 -3
  168. package/dist/_chunks/{MagicLinkEE-sXtA2gUK.js.map → MagicLinkEE-v7xTuVEA.js.map} +1 -1
  169. package/dist/_chunks/{MarketplacePage-hVOJ9_0k.mjs → MarketplacePage-UGys0LVN.mjs} +20 -17
  170. package/dist/_chunks/MarketplacePage-UGys0LVN.mjs.map +1 -0
  171. package/dist/_chunks/{MarketplacePage-s8KDwNwK.js → MarketplacePage-tWKM5xe8.js} +22 -19
  172. package/dist/_chunks/MarketplacePage-tWKM5xe8.js.map +1 -0
  173. package/dist/_chunks/{NoContentTypePage-szvJnQKF.mjs → NoContentTypePage-BaaTD5uB.mjs} +4 -6
  174. package/dist/_chunks/NoContentTypePage-BaaTD5uB.mjs.map +1 -0
  175. package/dist/_chunks/{NoContentTypePage-7YEcgsE3.js → NoContentTypePage-Lbuve_Uu.js} +3 -5
  176. package/dist/_chunks/NoContentTypePage-Lbuve_Uu.js.map +1 -0
  177. package/dist/_chunks/{NoPermissionsPage-pqQFFlXa.mjs → NoPermissionsPage--Oa97N7k.mjs} +5 -7
  178. package/dist/_chunks/NoPermissionsPage--Oa97N7k.mjs.map +1 -0
  179. package/dist/_chunks/{NoPermissionsPage-UX-5msLb.js → NoPermissionsPage-q44k5VFX.js} +3 -5
  180. package/dist/_chunks/NoPermissionsPage-q44k5VFX.js.map +1 -0
  181. package/dist/_chunks/{Permissions-a0IZJ8dM.js → Permissions-CFuwI0Ni.js} +5 -6
  182. package/dist/_chunks/Permissions-CFuwI0Ni.js.map +1 -0
  183. package/dist/_chunks/{Permissions-NUaDxULo.mjs → Permissions-NbmBkSB4.mjs} +3 -3
  184. package/dist/_chunks/Permissions-NbmBkSB4.mjs.map +1 -0
  185. package/dist/_chunks/{PrivateRoute-eP4-pBby.mjs → PrivateRoute-YN_98pM_.mjs} +2 -2
  186. package/dist/_chunks/{PrivateRoute-eP4-pBby.mjs.map → PrivateRoute-YN_98pM_.mjs.map} +1 -1
  187. package/dist/_chunks/{PrivateRoute-KGxyTa5b.js → PrivateRoute-avlq1MEy.js} +2 -2
  188. package/dist/_chunks/{PrivateRoute-KGxyTa5b.js.map → PrivateRoute-avlq1MEy.js.map} +1 -1
  189. package/dist/_chunks/{ProfilePage-MBCGqbc_.js → ProfilePage-brPbqDP1.js} +14 -16
  190. package/dist/_chunks/ProfilePage-brPbqDP1.js.map +1 -0
  191. package/dist/_chunks/{ProfilePage-LXB-_EZ8.mjs → ProfilePage-eCIvxxJY.mjs} +15 -17
  192. package/dist/_chunks/ProfilePage-eCIvxxJY.mjs.map +1 -0
  193. package/dist/_chunks/{ReviewWorkflowsColumn-Ancp7-x3.js → ReviewWorkflowsColumn-HfjzpLFU.js} +2 -2
  194. package/dist/_chunks/{ReviewWorkflowsColumn-Ancp7-x3.js.map → ReviewWorkflowsColumn-HfjzpLFU.js.map} +1 -1
  195. package/dist/_chunks/{ReviewWorkflowsColumn-WzYpj2O3.mjs → ReviewWorkflowsColumn-sPZxvFUd.mjs} +2 -2
  196. package/dist/_chunks/{ReviewWorkflowsColumn-WzYpj2O3.mjs.map → ReviewWorkflowsColumn-sPZxvFUd.mjs.map} +1 -1
  197. package/dist/_chunks/{SelectRoles-Pr2wqehq.js → SelectRoles-BmNzL0q5.js} +9 -7
  198. package/dist/_chunks/SelectRoles-BmNzL0q5.js.map +1 -0
  199. package/dist/_chunks/{SelectRoles-Dxz_rAaT.mjs → SelectRoles-jvH4WUf6.mjs} +8 -6
  200. package/dist/_chunks/SelectRoles-jvH4WUf6.mjs.map +1 -0
  201. package/dist/_chunks/{SingleSignOnPage-4dK4id8H.js → SingleSignOnPage-ZyiHtZxJ.js} +10 -11
  202. package/dist/_chunks/SingleSignOnPage-ZyiHtZxJ.js.map +1 -0
  203. package/dist/_chunks/{SingleSignOnPage-gxgIeURz.mjs → SingleSignOnPage-aMd3wcAh.mjs} +12 -13
  204. package/dist/_chunks/SingleSignOnPage-aMd3wcAh.mjs.map +1 -0
  205. package/dist/_chunks/{Table-NiTkS4IC.mjs → Table-591I_RMU.mjs} +2 -3
  206. package/dist/_chunks/Table-591I_RMU.mjs.map +1 -0
  207. package/dist/_chunks/{Table-_9gVkGGi.js → Table-aUfykqgd.js} +3 -4
  208. package/dist/_chunks/Table-aUfykqgd.js.map +1 -0
  209. package/dist/_chunks/{TokenTypeSelect-jtfCyMMZ.mjs → TokenTypeSelect-vIBdBE9t.mjs} +9 -10
  210. package/dist/_chunks/TokenTypeSelect-vIBdBE9t.mjs.map +1 -0
  211. package/dist/_chunks/{TokenTypeSelect-3aWUm1cW.js → TokenTypeSelect-vp-54yBv.js} +10 -11
  212. package/dist/_chunks/TokenTypeSelect-vp-54yBv.js.map +1 -0
  213. package/dist/_chunks/{UseCasePage-QK-B8FfM.js → UseCasePage-0_alQEc9.js} +6 -7
  214. package/dist/_chunks/UseCasePage-0_alQEc9.js.map +1 -0
  215. package/dist/_chunks/{UseCasePage-0qXYZ8kt.mjs → UseCasePage-Cxu2FeWo.mjs} +6 -7
  216. package/dist/_chunks/UseCasePage-Cxu2FeWo.mjs.map +1 -0
  217. package/dist/_chunks/{apiTokens-TayNdk_V.js → apiTokens-IG3rF-G2.js} +2 -2
  218. package/dist/_chunks/{apiTokens-TayNdk_V.js.map → apiTokens-IG3rF-G2.js.map} +1 -1
  219. package/dist/_chunks/{apiTokens-DO6vkoyd.mjs → apiTokens-wLmJ3Liv.mjs} +2 -2
  220. package/dist/_chunks/{apiTokens-DO6vkoyd.mjs.map → apiTokens-wLmJ3Liv.mjs.map} +1 -1
  221. package/dist/_chunks/{constants-_T5uxsuv.mjs → constants-0OGkpIzK.mjs} +3 -3
  222. package/dist/_chunks/{constants-_T5uxsuv.mjs.map → constants-0OGkpIzK.mjs.map} +1 -1
  223. package/dist/_chunks/{constants-RZp8o_c4.js → constants-7yqqXq3r.js} +2 -2
  224. package/dist/_chunks/{constants-RZp8o_c4.js.map → constants-7yqqXq3r.js.map} +1 -1
  225. package/dist/_chunks/{constants-FEW7x2Od.mjs → constants-JgR8CVx2.mjs} +2 -2
  226. package/dist/_chunks/{constants-FEW7x2Od.mjs.map → constants-JgR8CVx2.mjs.map} +1 -1
  227. package/dist/_chunks/{constants-Xd-X3SCR.js → constants-XJLrl2Tl.js} +3 -3
  228. package/dist/_chunks/{constants-Xd-X3SCR.js.map → constants-XJLrl2Tl.js.map} +1 -1
  229. package/dist/_chunks/{index-hjUhNUvw.mjs → index-GIVuHJgC.mjs} +647 -312
  230. package/dist/_chunks/index-GIVuHJgC.mjs.map +1 -0
  231. package/dist/_chunks/{index-ejSDPT-T.js → index-haHGOQMJ.js} +553 -218
  232. package/dist/_chunks/index-haHGOQMJ.js.map +1 -0
  233. package/dist/_chunks/{selectors-uLWxH-jN.mjs → selectors--2Vzk8PA.mjs} +2 -2
  234. package/dist/_chunks/{selectors-uLWxH-jN.mjs.map → selectors--2Vzk8PA.mjs.map} +1 -1
  235. package/dist/_chunks/{selectors-T2YIN4Fb.js → selectors-NSSzzIzx.js} +2 -2
  236. package/dist/_chunks/{selectors-T2YIN4Fb.js.map → selectors-NSSzzIzx.js.map} +1 -1
  237. package/dist/_chunks/{transferTokens-jdkk-sPx.mjs → transferTokens-WIsWKVbF.mjs} +2 -2
  238. package/dist/_chunks/{transferTokens-jdkk-sPx.mjs.map → transferTokens-WIsWKVbF.mjs.map} +1 -1
  239. package/dist/_chunks/{transferTokens-T-kGMb3U.js → transferTokens-xL4mlopP.js} +2 -2
  240. package/dist/_chunks/{transferTokens-T-kGMb3U.js.map → transferTokens-xL4mlopP.js.map} +1 -1
  241. package/dist/_chunks/{useAdminRoles-QJQS1BCd.mjs → useAdminRoles--ozrdfW_.mjs} +2 -2
  242. package/dist/_chunks/{useAdminRoles-QJQS1BCd.mjs.map → useAdminRoles--ozrdfW_.mjs.map} +1 -1
  243. package/dist/_chunks/{useAdminRoles-SnzC_mvy.js → useAdminRoles-Y25Pjlcy.js} +2 -2
  244. package/dist/_chunks/{useAdminRoles-SnzC_mvy.js.map → useAdminRoles-Y25Pjlcy.js.map} +1 -1
  245. package/dist/_chunks/{useContentTypes-Lpg-eJmK.js → useContentTypes-Vr8jkHQL.js} +4 -5
  246. package/dist/_chunks/useContentTypes-Vr8jkHQL.js.map +1 -0
  247. package/dist/_chunks/{useContentTypes-U-n1-lz0.mjs → useContentTypes-ralhLmpD.mjs} +4 -5
  248. package/dist/_chunks/useContentTypes-ralhLmpD.mjs.map +1 -0
  249. package/dist/_chunks/{useLicenseLimitNotification-yJHxF4YO.mjs → useLicenseLimitNotification-RSTkqcfW.mjs} +5 -6
  250. package/dist/_chunks/useLicenseLimitNotification-RSTkqcfW.mjs.map +1 -0
  251. package/dist/_chunks/{useLicenseLimitNotification-Hjv_LKmp.js → useLicenseLimitNotification-fSsffVh-.js} +5 -6
  252. package/dist/_chunks/useLicenseLimitNotification-fSsffVh-.js.map +1 -0
  253. package/dist/_chunks/{useReviewWorkflows-0rQx2KxS.mjs → useReviewWorkflows--7WPIykR.mjs} +2 -2
  254. package/dist/_chunks/{useReviewWorkflows-0rQx2KxS.mjs.map → useReviewWorkflows--7WPIykR.mjs.map} +1 -1
  255. package/dist/_chunks/{useReviewWorkflows-QoSEilRp.js → useReviewWorkflows-4t3eVbDa.js} +2 -2
  256. package/dist/_chunks/{useReviewWorkflows-QoSEilRp.js.map → useReviewWorkflows-4t3eVbDa.js.map} +1 -1
  257. package/dist/_chunks/{useSyncRbac-hZJWbmmY.js → useSyncRbac-Fw5UPeMQ.js} +2 -2
  258. package/dist/_chunks/{useSyncRbac-hZJWbmmY.js.map → useSyncRbac-Fw5UPeMQ.js.map} +1 -1
  259. package/dist/_chunks/{useSyncRbac-wVgN6XIc.mjs → useSyncRbac-JNQibLFa.mjs} +2 -2
  260. package/dist/_chunks/{useSyncRbac-wVgN6XIc.mjs.map → useSyncRbac-JNQibLFa.mjs.map} +1 -1
  261. package/dist/_chunks/{useWebhooks-1ZG0V0Mc.js → useWebhooks-IXb4Ks8E.js} +2 -2
  262. package/dist/_chunks/{useWebhooks-1ZG0V0Mc.js.map → useWebhooks-IXb4Ks8E.js.map} +1 -1
  263. package/dist/_chunks/{useWebhooks-WBwti5Jl.mjs → useWebhooks-sfNt0r3v.mjs} +2 -2
  264. package/dist/_chunks/{useWebhooks-WBwti5Jl.mjs.map → useWebhooks-sfNt0r3v.mjs.map} +1 -1
  265. package/dist/_chunks/{validateWorkflow-23kb45Oa.mjs → validateWorkflow-YRBggwod.mjs} +5 -6
  266. package/dist/_chunks/validateWorkflow-YRBggwod.mjs.map +1 -0
  267. package/dist/_chunks/{validateWorkflow-MaEpFiHz.js → validateWorkflow-akFNValJ.js} +8 -9
  268. package/dist/_chunks/validateWorkflow-akFNValJ.js.map +1 -0
  269. package/dist/_chunks/{validation-7cD0kJHF.js → validation--QPWqn0e.js} +2 -2
  270. package/dist/_chunks/{validation-7cD0kJHF.js.map → validation--QPWqn0e.js.map} +1 -1
  271. package/dist/_chunks/{validation-rilbXPnt.mjs → validation-hlioQ0PO.mjs} +2 -2
  272. package/dist/_chunks/{validation-rilbXPnt.mjs.map → validation-hlioQ0PO.mjs.map} +1 -1
  273. package/dist/admin/index.js +7 -1
  274. package/dist/admin/index.js.map +1 -1
  275. package/dist/admin/index.mjs +28 -22
  276. package/dist/admin/src/components/PageHelpers.d.ts +6 -2
  277. package/dist/admin/src/content-manager/history/services/historyVersion.d.ts +1 -1
  278. package/dist/admin/src/content-manager/history/tests/mockData.d.ts +692 -0
  279. package/dist/admin/src/content-manager/history/tests/server.d.ts +3 -0
  280. package/dist/admin/src/content-manager/pages/EditView/components/DocumentActions.d.ts +2 -1
  281. package/dist/admin/src/content-manager/services/api.d.ts +1 -1
  282. package/dist/admin/src/content-manager/services/components.d.ts +2 -2
  283. package/dist/admin/src/content-manager/services/contentTypes.d.ts +3 -3
  284. package/dist/admin/src/content-manager/services/documents.d.ts +17 -20
  285. package/dist/admin/src/content-manager/services/init.d.ts +1 -1
  286. package/dist/admin/src/content-manager/services/relations.d.ts +2 -2
  287. package/dist/admin/src/content-manager/services/uid.d.ts +3 -3
  288. package/dist/admin/src/core/store/configure.d.ts +2 -2
  289. package/dist/admin/src/core/store/hooks.d.ts +3 -3
  290. package/dist/admin/src/features/AppInfo.d.ts +22 -0
  291. package/dist/admin/src/features/Notifications.d.ts +47 -0
  292. package/dist/admin/src/hooks/useAPIErrorHandler.d.ts +4 -3
  293. package/dist/admin/src/hooks/useClipboard.d.ts +4 -0
  294. package/dist/admin/src/hooks/useFetchClient.d.ts +43 -0
  295. package/dist/admin/src/hooks/useFocusInputField.d.ts +20 -0
  296. package/dist/admin/src/hooks/useQueryParams.d.ts +5 -0
  297. package/dist/admin/src/index.d.ts +8 -4
  298. package/dist/admin/src/pages/Marketplace/components/NpmPackageCard.d.ts +1 -1
  299. package/dist/admin/src/pages/Marketplace/components/NpmPackagesGrid.d.ts +1 -1
  300. package/dist/admin/src/pages/Marketplace/hooks/useMarketplaceData.d.ts +2 -2
  301. package/dist/admin/src/selectors.d.ts +2 -2
  302. package/dist/admin/src/utils/baseQuery.d.ts +1 -1
  303. package/dist/admin/src/utils/getFetchClient.d.ts +30 -0
  304. package/dist/admin/src/utils/getYupInnerErrors.d.ts +7 -0
  305. package/dist/admin/src/utils/normalizeAPIError.d.ts +2 -2
  306. package/dist/admin/src/utils/users.d.ts +1 -1
  307. package/dist/admin/tests/index.js +49173 -0
  308. package/dist/admin/tests/index.js.map +1 -0
  309. package/dist/admin/tests/index.mjs +49135 -0
  310. package/dist/admin/tests/index.mjs.map +1 -0
  311. package/dist/admin/tests/mockData.d.ts +2053 -0
  312. package/dist/admin/tests/server.d.ts +2 -0
  313. package/dist/admin/tests/setup.d.ts +1 -0
  314. package/dist/admin/tests/store.d.ts +468 -0
  315. package/dist/admin/tests/utils.d.ts +511 -0
  316. package/dist/server/src/validation/api-tokens.d.ts +4 -27
  317. package/dist/server/src/validation/api-tokens.d.ts.map +1 -1
  318. package/dist/server/src/validation/authentication/register.d.ts +2 -8
  319. package/dist/server/src/validation/authentication/register.d.ts.map +1 -1
  320. package/dist/server/src/validation/permission.d.ts +4 -53
  321. package/dist/server/src/validation/permission.d.ts.map +1 -1
  322. package/dist/server/src/validation/policies/hasPermissions.d.ts +2 -7
  323. package/dist/server/src/validation/policies/hasPermissions.d.ts.map +1 -1
  324. package/dist/server/src/validation/role.d.ts +6 -23
  325. package/dist/server/src/validation/role.d.ts.map +1 -1
  326. package/dist/server/src/validation/transfer/token.d.ts +4 -23
  327. package/dist/server/src/validation/transfer/token.d.ts.map +1 -1
  328. package/dist/server/src/validation/user.d.ts +8 -56
  329. package/dist/server/src/validation/user.d.ts.map +1 -1
  330. package/package.json +12 -12
  331. package/dist/_chunks/ApplicationInfoPage-1OdKMDYH.js.map +0 -1
  332. package/dist/_chunks/ApplicationInfoPage-ed6y9Q-B.mjs.map +0 -1
  333. package/dist/_chunks/AuthenticatedLayout-PPlOm7kb.js.map +0 -1
  334. package/dist/_chunks/AuthenticatedLayout-knXNB2i2.mjs.map +0 -1
  335. package/dist/_chunks/ComponentConfigurationPage-okd3XovW.mjs.map +0 -1
  336. package/dist/_chunks/ComponentConfigurationPage-xZMDjeVf.js.map +0 -1
  337. package/dist/_chunks/CreatePage-1Oi4-aR6.js.map +0 -1
  338. package/dist/_chunks/CreatePage-DmNFNVN9.js.map +0 -1
  339. package/dist/_chunks/CreatePage-P1F3dkB3.mjs.map +0 -1
  340. package/dist/_chunks/CreatePage-PM_r99U5.mjs.map +0 -1
  341. package/dist/_chunks/EditConfigurationPage-LItt0mJo.mjs.map +0 -1
  342. package/dist/_chunks/EditConfigurationPage-PZ4yq1bM.js.map +0 -1
  343. package/dist/_chunks/EditPage--EPGgPNr.mjs.map +0 -1
  344. package/dist/_chunks/EditPage-30rqjB1d.mjs.map +0 -1
  345. package/dist/_chunks/EditPage-MPNLCYgQ.mjs.map +0 -1
  346. package/dist/_chunks/EditPage-W6hncyNY.js.map +0 -1
  347. package/dist/_chunks/EditPage-_N_lm93z.js.map +0 -1
  348. package/dist/_chunks/EditPage-mU2WAH0F.js.map +0 -1
  349. package/dist/_chunks/EditView-0lXpbgG0.mjs.map +0 -1
  350. package/dist/_chunks/EditView-wDP9PNQY.js.map +0 -1
  351. package/dist/_chunks/EditViewPage-0Pd8zBi7.js.map +0 -1
  352. package/dist/_chunks/EditViewPage-R6diW-gL.mjs.map +0 -1
  353. package/dist/_chunks/EditViewPage-ed0-10GO.js.map +0 -1
  354. package/dist/_chunks/EditViewPage-uWYR_o8w.mjs.map +0 -1
  355. package/dist/_chunks/Filters-f6ghLf0Z.js.map +0 -1
  356. package/dist/_chunks/Filters-rPaxqj4F.mjs.map +0 -1
  357. package/dist/_chunks/Form-QOZA9Aq6.mjs.map +0 -1
  358. package/dist/_chunks/Form-eqzCPjSo.js.map +0 -1
  359. package/dist/_chunks/History-Eq4_WQPf.mjs.map +0 -1
  360. package/dist/_chunks/History-j00hpmXV.js.map +0 -1
  361. package/dist/_chunks/HomePage-3IVOMrYf.js.map +0 -1
  362. package/dist/_chunks/HomePage-O-TRGX5T.mjs.map +0 -1
  363. package/dist/_chunks/InputRenderer-AVDw8MeU.js.map +0 -1
  364. package/dist/_chunks/InputRenderer-bJwYq9ga.mjs.map +0 -1
  365. package/dist/_chunks/InstalledPluginsPage-FkR2xkQz.js.map +0 -1
  366. package/dist/_chunks/InstalledPluginsPage-R2hVFPZl.mjs.map +0 -1
  367. package/dist/_chunks/Layout-G49-Vc5u.js.map +0 -1
  368. package/dist/_chunks/Layout-cV6Se3U9.mjs.map +0 -1
  369. package/dist/_chunks/ListConfigurationPage-70qtv4Ci.js.map +0 -1
  370. package/dist/_chunks/ListConfigurationPage-PrJNO_6y.mjs.map +0 -1
  371. package/dist/_chunks/ListPage-2lswUYQN.js.map +0 -1
  372. package/dist/_chunks/ListPage-78Cv8Vfq.js.map +0 -1
  373. package/dist/_chunks/ListPage-7dZ3nYvc.js.map +0 -1
  374. package/dist/_chunks/ListPage-Cvn3WbMH.mjs.map +0 -1
  375. package/dist/_chunks/ListPage-NmUS_cOz.mjs.map +0 -1
  376. package/dist/_chunks/ListPage-Pf5LxUYn.js.map +0 -1
  377. package/dist/_chunks/ListPage-edro79m2.mjs.map +0 -1
  378. package/dist/_chunks/ListPage-mAUCZIg8.mjs.map +0 -1
  379. package/dist/_chunks/ListPage-xFkcmM1b.mjs.map +0 -1
  380. package/dist/_chunks/ListPage-yymh17qi.js.map +0 -1
  381. package/dist/_chunks/ListView--43zLiHW.mjs.map +0 -1
  382. package/dist/_chunks/ListView-YtMAQnXL.js.map +0 -1
  383. package/dist/_chunks/ListView-nfA6o3qO.js.map +0 -1
  384. package/dist/_chunks/ListView-qPiKeCxj.mjs.map +0 -1
  385. package/dist/_chunks/ListViewPage-Ys7-G2XX.js.map +0 -1
  386. package/dist/_chunks/ListViewPage-fPFonK_X.mjs.map +0 -1
  387. package/dist/_chunks/MarketplacePage-hVOJ9_0k.mjs.map +0 -1
  388. package/dist/_chunks/MarketplacePage-s8KDwNwK.js.map +0 -1
  389. package/dist/_chunks/NoContentTypePage-7YEcgsE3.js.map +0 -1
  390. package/dist/_chunks/NoContentTypePage-szvJnQKF.mjs.map +0 -1
  391. package/dist/_chunks/NoPermissionsPage-UX-5msLb.js.map +0 -1
  392. package/dist/_chunks/NoPermissionsPage-pqQFFlXa.mjs.map +0 -1
  393. package/dist/_chunks/Permissions-NUaDxULo.mjs.map +0 -1
  394. package/dist/_chunks/Permissions-a0IZJ8dM.js.map +0 -1
  395. package/dist/_chunks/ProfilePage-LXB-_EZ8.mjs.map +0 -1
  396. package/dist/_chunks/ProfilePage-MBCGqbc_.js.map +0 -1
  397. package/dist/_chunks/SelectRoles-Dxz_rAaT.mjs.map +0 -1
  398. package/dist/_chunks/SelectRoles-Pr2wqehq.js.map +0 -1
  399. package/dist/_chunks/SingleSignOnPage-4dK4id8H.js.map +0 -1
  400. package/dist/_chunks/SingleSignOnPage-gxgIeURz.mjs.map +0 -1
  401. package/dist/_chunks/Table-NiTkS4IC.mjs.map +0 -1
  402. package/dist/_chunks/Table-_9gVkGGi.js.map +0 -1
  403. package/dist/_chunks/TokenTypeSelect-3aWUm1cW.js.map +0 -1
  404. package/dist/_chunks/TokenTypeSelect-jtfCyMMZ.mjs.map +0 -1
  405. package/dist/_chunks/UseCasePage-0qXYZ8kt.mjs.map +0 -1
  406. package/dist/_chunks/UseCasePage-QK-B8FfM.js.map +0 -1
  407. package/dist/_chunks/index-ejSDPT-T.js.map +0 -1
  408. package/dist/_chunks/index-hjUhNUvw.mjs.map +0 -1
  409. package/dist/_chunks/useContentTypes-Lpg-eJmK.js.map +0 -1
  410. package/dist/_chunks/useContentTypes-U-n1-lz0.mjs.map +0 -1
  411. package/dist/_chunks/useLicenseLimitNotification-Hjv_LKmp.js.map +0 -1
  412. package/dist/_chunks/useLicenseLimitNotification-yJHxF4YO.mjs.map +0 -1
  413. package/dist/_chunks/validateWorkflow-23kb45Oa.mjs.map +0 -1
  414. package/dist/_chunks/validateWorkflow-MaEpFiHz.js.map +0 -1
  415. package/dist/admin/src/types/errors.d.ts +0 -2
@@ -1,9 +1,8 @@
1
- import { getFetchClient, useRBACProvider, useNotification, auth, useAppInfo, useRBAC, NotificationsProvider, useClipboard, getYupInnerErrors, useQueryParams, RBACContext, useFocusInputField, hasPermissions, useQuery, usePersistentState, useFocusWhenNavigate } from "@strapi/helper-plugin";
2
1
  import { createRoot } from "react-dom/client";
3
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
4
3
  import * as React from "react";
5
- import { Suspense, lazy, useMemo, useEffect, forwardRef, useState, memo } from "react";
6
- import { Main, Flex, Loader, EmptyStateLayout, Icon, Box, DesignSystemProvider, Alert, Typography, Button, useCallbackRef, useComposedRefs, Dialog, DialogBody, DialogFooter, Field, Combobox, ComboboxOption, ModalLayout, ModalBody, IconButton, lightTheme, SingleSelect, SingleSelectOption, FieldHint, FieldError, VisuallyHidden, ModalHeader, Radio, Status, TextButton, Tooltip, useFilter, useCollator, useNotifyAT, Layout as Layout$1, ToggleInput, Checkbox, DatePicker, DateTimePicker, TextInput, JSONInput, NumberInput, Textarea, TimePicker, Portal, FieldLabel, FieldInput, Grid, GridItem, HeaderLayout, ContentLayout, LinkButton as LinkButton$1, darkTheme, SearchForm, Searchbar, Table as Table$1, Thead, Tr, Th, BaseCheckbox, Tbody, Td } from "@strapi/design-system";
4
+ import { Suspense, useCallback, lazy, useMemo, useState, useEffect, forwardRef, memo } from "react";
5
+ import { Flex, useCallbackRef, Alert, Main, Loader, EmptyStateLayout, Icon, Box, DesignSystemProvider, Typography, Button, useComposedRefs, Dialog, DialogBody, DialogFooter, Field, Combobox, ComboboxOption, ModalLayout, ModalBody, IconButton, lightTheme, SingleSelect, SingleSelectOption, FieldHint, FieldError, VisuallyHidden, ModalHeader, Radio, Status, TextButton, Tooltip, useFilter, useCollator, useNotifyAT, Layout as Layout$1, ToggleInput, Checkbox, DatePicker, DateTimePicker, TextInput, JSONInput, NumberInput, Textarea, TimePicker, Portal, FieldLabel, FieldInput, Grid, GridItem, HeaderLayout, ContentLayout, LinkButton as LinkButton$1, darkTheme, SearchForm, Searchbar, Table as Table$1, Thead, Tr, Th, BaseCheckbox, Tbody, Td } from "@strapi/design-system";
7
6
  import invariant from "invariant";
8
7
  import isFunction from "lodash/isFunction";
9
8
  import merge from "lodash/merge";
@@ -11,15 +10,17 @@ import pick from "lodash/pick";
11
10
  import { useDispatch, useStore, useSelector, Provider as Provider$2 } from "react-redux";
12
11
  import { useNavigate, NavLink, useLocation, Outlet, useRouteError, matchRoutes, useLoaderData, Navigate, useParams, useBlocker, useMatch, createBrowserRouter, RouterProvider, Link as Link$1 } from "react-router-dom";
13
12
  import { Helmet } from "react-helmet";
13
+ import { auth, useRBACProvider, useRBAC, RBACContext, hasPermissions, usePersistentState } from "@strapi/helper-plugin";
14
14
  import { ExclamationMarkCircle, EmptyPermissions, EmptyDocuments, ArrowLeft, Duplicate, Cross, History, CrossCircle, More, Cog, Pencil, Trash, ChevronRight, Drag, CarretDown, Refresh, Eye, EyeStriked, ArrowRight, EmptyPictures, Search } from "@strapi/icons";
15
15
  import { useIntl, IntlProvider } from "react-intl";
16
+ import { Link, LinkButton, Menu, SubNav, SubNavHeader, SubNavSections, SubNavSection, SubNavLink, Pagination as Pagination$1, PreviousLink, PageLink, Dots, NextLink } from "@strapi/design-system/v2";
16
17
  import { createApi } from "@reduxjs/toolkit/query/react";
17
18
  import axios, { isAxiosError } from "axios";
19
+ import qs__default, { parse, stringify } from "qs";
18
20
  import { QueryClient, QueryClientProvider } from "react-query";
19
21
  import * as ContextSelector from "use-context-selector";
20
22
  import { createSelector, createSlice, combineReducers, configureStore } from "@reduxjs/toolkit";
21
- import { Link, LinkButton, Menu, SubNav, SubNavHeader, SubNavSections, SubNavSection, SubNavLink, Pagination as Pagination$1, PreviousLink, PageLink, Dots, NextLink } from "@strapi/design-system/v2";
22
- import produce from "immer";
23
+ import { produce } from "immer";
23
24
  import { createContext as createContext$1 } from "@radix-ui/react-context";
24
25
  import get from "lodash/get";
25
26
  import set from "lodash/set";
@@ -32,7 +33,6 @@ import { generateNKeysBetween } from "fractional-indexing";
32
33
  import isEqual from "lodash/isEqual";
33
34
  import clone from "lodash/clone";
34
35
  import toPath from "lodash/toPath";
35
- import { stringify, parse } from "qs";
36
36
  import throttle from "lodash/throttle";
37
37
  import { intervalToDuration, isPast } from "date-fns";
38
38
  import { useDragLayer, useDrop, useDrag } from "react-dnd";
@@ -75,7 +75,7 @@ const getEERoutes$1 = () => window.strapi.isEE ? [
75
75
  {
76
76
  path: "auth/login/:authResponse",
77
77
  lazy: async () => {
78
- const { AuthResponse } = await import("./AuthResponse-Hxop00n-.mjs");
78
+ const { AuthResponse } = await import("./AuthResponse-jIqWZLMh.mjs");
79
79
  return {
80
80
  Component: AuthResponse
81
81
  };
@@ -123,7 +123,7 @@ const getEERoutes = () => [
123
123
  {
124
124
  path: "audit-logs",
125
125
  lazy: async () => {
126
- const { ProtectedListPage } = await import("./ListPage-edro79m2.mjs");
126
+ const { ProtectedListPage } = await import("./ListPage-EdOy02-v.mjs");
127
127
  return {
128
128
  Component: ProtectedListPage
129
129
  };
@@ -134,7 +134,7 @@ const getEERoutes = () => [
134
134
  {
135
135
  path: "review-workflows",
136
136
  lazy: async () => {
137
- const { ProtectedReviewWorkflowsPage } = await import("./ListPage-mAUCZIg8.mjs");
137
+ const { ProtectedReviewWorkflowsPage } = await import("./ListPage-OaldiDCh.mjs");
138
138
  return {
139
139
  Component: ProtectedReviewWorkflowsPage
140
140
  };
@@ -143,7 +143,7 @@ const getEERoutes = () => [
143
143
  {
144
144
  path: "review-workflows/create",
145
145
  lazy: async () => {
146
- const { ReviewWorkflowsCreatePage } = await import("./CreatePage-P1F3dkB3.mjs");
146
+ const { ReviewWorkflowsCreatePage } = await import("./CreatePage-6AeIanOF.mjs");
147
147
  return {
148
148
  Component: ReviewWorkflowsCreatePage
149
149
  };
@@ -152,7 +152,7 @@ const getEERoutes = () => [
152
152
  {
153
153
  path: "review-workflows/:workflowId",
154
154
  lazy: async () => {
155
- const { ReviewWorkflowsEditPage } = await import("./EditPage-30rqjB1d.mjs");
155
+ const { ReviewWorkflowsEditPage } = await import("./EditPage-Izmz7bdh.mjs");
156
156
  return {
157
157
  Component: ReviewWorkflowsEditPage
158
158
  };
@@ -163,7 +163,7 @@ const getEERoutes = () => [
163
163
  {
164
164
  path: "single-sign-on",
165
165
  lazy: async () => {
166
- const { ProtectedSSO } = await import("./SingleSignOnPage-gxgIeURz.mjs");
166
+ const { ProtectedSSO } = await import("./SingleSignOnPage-aMd3wcAh.mjs");
167
167
  return {
168
168
  Component: ProtectedSSO
169
169
  };
@@ -171,6 +171,151 @@ const getEERoutes = () => [
171
171
  }
172
172
  ] : []
173
173
  ];
174
+ const NotificationsContext = React.createContext({
175
+ toggleNotification: () => {
176
+ }
177
+ });
178
+ const NotificationsProvider = ({ children }) => {
179
+ const notificationIdRef = React.useRef(0);
180
+ const [notifications, setNotifications] = React.useState([]);
181
+ const toggleNotification = React.useCallback(
182
+ ({ type, message, link, timeout, blockTransition, onClose, title }) => {
183
+ setNotifications((s) => [
184
+ ...s,
185
+ {
186
+ id: notificationIdRef.current++,
187
+ type,
188
+ message,
189
+ link,
190
+ timeout,
191
+ blockTransition,
192
+ onClose,
193
+ title
194
+ }
195
+ ]);
196
+ },
197
+ []
198
+ );
199
+ const clearNotification = React.useCallback((id) => {
200
+ setNotifications((s) => s.filter((n) => n.id !== id));
201
+ }, []);
202
+ const value = React.useMemo(() => ({ toggleNotification }), [toggleNotification]);
203
+ return /* @__PURE__ */ jsxs(NotificationsContext.Provider, { value, children: [
204
+ /* @__PURE__ */ jsx(
205
+ Flex,
206
+ {
207
+ left: "50%",
208
+ marginLeft: "-250px",
209
+ position: "fixed",
210
+ direction: "column",
211
+ alignItems: "stretch",
212
+ gap: 2,
213
+ top: `${46 / 16}rem`,
214
+ width: `${500 / 16}rem`,
215
+ zIndex: 10,
216
+ children: notifications.map((notification) => {
217
+ return /* @__PURE__ */ jsx(
218
+ Notification,
219
+ {
220
+ ...notification,
221
+ clearNotification
222
+ },
223
+ notification.id
224
+ );
225
+ })
226
+ }
227
+ ),
228
+ children
229
+ ] });
230
+ };
231
+ const Notification = ({
232
+ clearNotification,
233
+ blockTransition = false,
234
+ id,
235
+ link,
236
+ message,
237
+ onClose,
238
+ timeout = 2500,
239
+ title,
240
+ type
241
+ }) => {
242
+ const { formatMessage } = useIntl();
243
+ const onCloseCallback = useCallbackRef(onClose);
244
+ const handleClose = React.useCallback(() => {
245
+ onCloseCallback();
246
+ clearNotification(id);
247
+ }, [clearNotification, id, onCloseCallback]);
248
+ React.useEffect(() => {
249
+ if (!blockTransition) {
250
+ const timeoutReference = setTimeout(() => {
251
+ handleClose();
252
+ }, timeout);
253
+ return () => {
254
+ clearTimeout(timeoutReference);
255
+ };
256
+ }
257
+ }, [blockTransition, handleClose, timeout]);
258
+ let variant;
259
+ let alertTitle;
260
+ if (type === "info") {
261
+ variant = "default";
262
+ alertTitle = formatMessage({
263
+ id: "notification.default.title",
264
+ defaultMessage: "Information:"
265
+ });
266
+ } else if (type === "danger") {
267
+ variant = "danger";
268
+ alertTitle = formatMessage({
269
+ id: "notification.warning.title",
270
+ defaultMessage: "Warning:"
271
+ });
272
+ } else if (type === "warning") {
273
+ variant = "warning";
274
+ alertTitle = formatMessage({
275
+ id: "notification.warning.title",
276
+ defaultMessage: "Warning:"
277
+ });
278
+ } else {
279
+ variant = "success";
280
+ alertTitle = formatMessage({
281
+ id: "notification.success.title",
282
+ defaultMessage: "Success:"
283
+ });
284
+ }
285
+ if (title) {
286
+ alertTitle = title;
287
+ }
288
+ return /* @__PURE__ */ jsx(
289
+ Alert,
290
+ {
291
+ action: link ? /* @__PURE__ */ jsx(Link, { href: link.url, isExternal: true, children: link.label }) : void 0,
292
+ onClose: handleClose,
293
+ closeLabel: formatMessage({
294
+ id: "global.close",
295
+ defaultMessage: "Close"
296
+ }),
297
+ title: alertTitle,
298
+ variant,
299
+ children: message
300
+ }
301
+ );
302
+ };
303
+ /**
304
+ * @preserve
305
+ * @description Returns an object to interact with the notification
306
+ * system. The callbacks are wrapped in `useCallback` for a stable
307
+ * identity.
308
+ *
309
+ * @example
310
+ * ```tsx
311
+ * import { useNotification } from '@strapi/helper-plugin';
312
+ *
313
+ * const MyComponent = () => {
314
+ * const { toggleNotification } = useNotification();
315
+ *
316
+ * return <button onClick={() => toggleNotification({ message: 'Hello world!' })}>Click me</button>;
317
+ */
318
+ const useNotification = () => React.useContext(NotificationsContext);
174
319
  function getPrefixedId(message, callback) {
175
320
  const prefixedMessage = `apiError.${message}`;
176
321
  if (typeof callback === "function") {
@@ -308,6 +453,51 @@ function formatAPIError(error, { formatMessage, intlMessagePrefixCallback }) {
308
453
  }
309
454
  return formatMessage(normalizedError);
310
455
  }
456
+ const fetchClient = () => {
457
+ const instance2 = axios.create({
458
+ headers: {
459
+ Accept: "application/json",
460
+ "Content-Type": "application/json"
461
+ },
462
+ paramsSerializer: (params) => {
463
+ return qs__default.stringify(params, { encode: false });
464
+ }
465
+ });
466
+ instance2.interceptors.request.use(
467
+ async (config) => {
468
+ config.headers.Authorization = `Bearer ${auth.getToken()}`;
469
+ return config;
470
+ },
471
+ (error) => Promise.reject(error)
472
+ );
473
+ instance2.interceptors.response.use(
474
+ (response) => response,
475
+ (error) => {
476
+ if (error?.response?.status === 401) {
477
+ auth.clearAppStorage();
478
+ window.location.reload();
479
+ }
480
+ throw error;
481
+ }
482
+ );
483
+ return instance2;
484
+ };
485
+ const instance = fetchClient();
486
+ const addPrependingSlash = (url) => url.charAt(0) !== "/" ? `/${url}` : url;
487
+ const hasProtocol = (url) => new RegExp("^(?:[a-z+]+:)?//", "i").test(url);
488
+ const normalizeUrl = (url) => hasProtocol(url) ? url : addPrependingSlash(url);
489
+ const getFetchClient = (defaultOptions = {}) => {
490
+ instance.defaults.baseURL = window.strapi.backendURL;
491
+ return {
492
+ get: (url, config) => instance.get(normalizeUrl(url), {
493
+ ...defaultOptions,
494
+ ...config
495
+ }),
496
+ put: (url, data, config) => instance.put(normalizeUrl(url), data, { ...defaultOptions, ...config }),
497
+ post: (url, data, config) => instance.post(normalizeUrl(url), data, { ...defaultOptions, ...config }),
498
+ del: (url, config) => instance.delete(normalizeUrl(url), { ...defaultOptions, ...config })
499
+ };
500
+ };
311
501
  const axiosBaseQuery = () => async (query, { signal }) => {
312
502
  try {
313
503
  const { get: get2, post, del, put } = getFetchClient();
@@ -575,12 +765,15 @@ const {
575
765
  useGetProviderOptionsQuery,
576
766
  useUpdateProviderOptionsMutation
577
767
  } = authService;
768
+ const PageMain = ({ children, ...restProps }) => {
769
+ return /* @__PURE__ */ jsx(Main, { ...restProps, children });
770
+ };
578
771
  const Loading$1 = ({ children = "Loading content." }) => {
579
- return /* @__PURE__ */ jsx(Main, { height: "100vh", "aria-busy": true, children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(Loader, { children }) }) });
772
+ return /* @__PURE__ */ jsx(PageMain, { height: "100vh", "aria-busy": true, children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(Loader, { children }) }) });
580
773
  };
581
774
  const Error$1 = (props) => {
582
775
  const { formatMessage } = useIntl();
583
- return /* @__PURE__ */ jsx(Main, { height: "100%", children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(
776
+ return /* @__PURE__ */ jsx(PageMain, { height: "100%", children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(
584
777
  EmptyStateLayout,
585
778
  {
586
779
  icon: /* @__PURE__ */ jsx(Icon, { as: ExclamationMarkCircle, width: "10rem" }),
@@ -594,7 +787,7 @@ const Error$1 = (props) => {
594
787
  };
595
788
  const NoPermissions = (props) => {
596
789
  const { formatMessage } = useIntl();
597
- return /* @__PURE__ */ jsx(Main, { height: "100%", children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(Box, { minWidth: "50%", children: /* @__PURE__ */ jsx(
790
+ return /* @__PURE__ */ jsx(PageMain, { height: "100%", children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(Box, { minWidth: "50%", children: /* @__PURE__ */ jsx(
598
791
  EmptyStateLayout,
599
792
  {
600
793
  icon: /* @__PURE__ */ jsx(EmptyPermissions, { width: "10rem" }),
@@ -608,7 +801,7 @@ const NoPermissions = (props) => {
608
801
  };
609
802
  const NoData = (props) => {
610
803
  const { formatMessage } = useIntl();
611
- return /* @__PURE__ */ jsx(Main, { height: "100%", children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", width: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(Box, { minWidth: "50%", children: /* @__PURE__ */ jsx(
804
+ return /* @__PURE__ */ jsx(PageMain, { height: "100%", children: /* @__PURE__ */ jsx(Flex, { alignItems: "center", height: "100%", width: "100%", justifyContent: "center", children: /* @__PURE__ */ jsx(Box, { minWidth: "50%", children: /* @__PURE__ */ jsx(
612
805
  EmptyStateLayout,
613
806
  {
614
807
  icon: /* @__PURE__ */ jsx(EmptyDocuments, { width: "10rem" }),
@@ -622,7 +815,7 @@ const NoData = (props) => {
622
815
  };
623
816
  const Protect = ({ permissions = [], children }) => {
624
817
  const { allPermissions } = useRBACProvider();
625
- const toggleNotification = useNotification();
818
+ const { toggleNotification } = useNotification();
626
819
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
627
820
  const matchingPermissions = allPermissions.filter(
628
821
  (permission) => permissions.findIndex(
@@ -646,7 +839,7 @@ const Protect = ({ permissions = [], children }) => {
646
839
  React.useEffect(() => {
647
840
  if (error) {
648
841
  toggleNotification({
649
- type: "warning",
842
+ type: "danger",
650
843
  message: formatAPIError2(error)
651
844
  });
652
845
  }
@@ -669,7 +862,8 @@ const Page = {
669
862
  Loading: Loading$1,
670
863
  NoPermissions,
671
864
  Protect,
672
- NoData
865
+ NoData,
866
+ Main: PageMain
673
867
  };
674
868
  function createContext(rootComponentName, defaultContext) {
675
869
  const Context = ContextSelector.createContext(defaultContext);
@@ -1009,6 +1203,7 @@ const {
1009
1203
  useGetPluginsQuery,
1010
1204
  useGetLicenseLimitsQuery
1011
1205
  } = admin;
1206
+ const [AppInfoProvider, useAppInfo] = createContext("AppInfo", {});
1012
1207
  const TrackingContext = React.createContext({
1013
1208
  uuid: false
1014
1209
  });
@@ -1052,7 +1247,7 @@ const TrackingProvider = ({ children }) => {
1052
1247
  };
1053
1248
  const useTracking = () => {
1054
1249
  const { uuid, telemetryProperties } = React.useContext(TrackingContext);
1055
- const { userId } = useAppInfo();
1250
+ const userId = useAppInfo("useTracking", (state) => state.userId);
1056
1251
  const trackUsage = React.useCallback(
1057
1252
  async (event, properties) => {
1058
1253
  try {
@@ -1097,7 +1292,7 @@ const ConfigurationProvider = ({
1097
1292
  }) => {
1098
1293
  const { trackUsage } = useTracking();
1099
1294
  const { formatMessage } = useIntl();
1100
- const toggleNotification = useNotification();
1295
+ const { toggleNotification } = useNotification();
1101
1296
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
1102
1297
  const permissions = useTypedSelector(
1103
1298
  (state) => state.admin_app.permissions.settings?.["project-settings"]
@@ -1114,11 +1309,11 @@ const ConfigurationProvider = ({
1114
1309
  React.useEffect(() => {
1115
1310
  if (error) {
1116
1311
  toggleNotification({
1117
- type: "warning",
1118
- message: { id: "app.containers.App.notification.error.init" }
1312
+ type: "danger",
1313
+ message: formatMessage({ id: "app.containers.App.notification.error.init" })
1119
1314
  });
1120
1315
  }
1121
- }, [error, toggleNotification]);
1316
+ }, [error, formatMessage, toggleNotification]);
1122
1317
  const { data, isSuccess } = useProjectSettingsQuery(void 0, {
1123
1318
  skip: !token || !canRead
1124
1319
  });
@@ -1153,7 +1348,7 @@ const ConfigurationProvider = ({
1153
1348
  });
1154
1349
  } else {
1155
1350
  toggleNotification({
1156
- type: "warning",
1351
+ type: "danger",
1157
1352
  message: formatAPIError2(res.error)
1158
1353
  });
1159
1354
  }
@@ -1441,6 +1636,28 @@ const App = ({ strapi, store }) => {
1441
1636
  ] }) });
1442
1637
  };
1443
1638
  const StrapiLogo = "data:image/svg+xml,%3csvg%20width='800'%20height='800'%20viewBox='0%200%20800%20800'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39%20282c0-118%200-176.9%2036.6-213.5C112.2%2032%20171.1%2032%20288.9%2032h221.2c117.8%200%20176.7%200%20213.3%2036.6C760%20105.2%20760%20164.1%20760%20281.9v221.2c0%20117.8%200%20176.7-36.6%20213.3C686.8%20753%20627.9%20753%20510.1%20753H288.9c-117.8%200-176.7%200-213.3-36.6C39%20679.8%2039%20620.9%2039%20503.1V281.9Z'%20fill='%234945FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M536.4%20250.7H293.7v123.8h123.8v123.7h123.8V255.5c0-2.6-2.2-4.8-4.9-4.8Z'%20fill='%23fff'/%3e%3cpath%20fill='%23fff'%20d='M412.7%20374.5h4.8v4.8h-4.8z'/%3e%3cpath%20d='M293.8%20374.5h119c2.6%200%204.8%202.1%204.8%204.8v119h-119a4.8%204.8%200%200%201-4.8-4.9v-119Z'%20fill='%239593FF'/%3e%3cpath%20d='M417.5%20498.2h123.8L421.6%20618a2.4%202.4%200%200%201-4-1.7v-118ZM293.8%20374.5h-118a2.4%202.4%200%200%201-1.7-4.1l119.7-119.7v123.8Z'%20fill='%239593FF'/%3e%3c/svg%3e";
1639
+ const useClipboard = () => {
1640
+ const copy = useCallback(async (value) => {
1641
+ try {
1642
+ if (typeof value !== "string" && typeof value !== "number") {
1643
+ throw new Error(
1644
+ `Cannot copy typeof ${typeof value} to clipboard, must be a string or number`
1645
+ );
1646
+ } else if (value === "") {
1647
+ throw new Error(`Cannot copy empty string to clipboard.`);
1648
+ }
1649
+ const stringifiedValue = value.toString();
1650
+ await navigator.clipboard.writeText(stringifiedValue);
1651
+ return true;
1652
+ } catch (error) {
1653
+ if (process.env.NODE_ENV === "development") {
1654
+ console.warn("Copy failed", error);
1655
+ }
1656
+ return false;
1657
+ }
1658
+ }, []);
1659
+ return { copy };
1660
+ };
1444
1661
  const ErrorElement = () => {
1445
1662
  const error = useRouteError();
1446
1663
  const { formatMessage } = useIntl();
@@ -1735,7 +1952,7 @@ const routes$1 = [
1735
1952
  {
1736
1953
  path: ":collectionType/:slug/:id/history",
1737
1954
  lazy: async () => {
1738
- const { ProtectedHistoryPage } = await import("./History-Eq4_WQPf.mjs");
1955
+ const { ProtectedHistoryPage } = await import("./History-CRGqDfHr.mjs");
1739
1956
  return {
1740
1957
  Component: ProtectedHistoryPage
1741
1958
  };
@@ -1744,7 +1961,7 @@ const routes$1 = [
1744
1961
  {
1745
1962
  path: ":collectionType/:slug/history",
1746
1963
  lazy: async () => {
1747
- const { ProtectedHistoryPage } = await import("./History-Eq4_WQPf.mjs");
1964
+ const { ProtectedHistoryPage } = await import("./History-CRGqDfHr.mjs");
1748
1965
  return {
1749
1966
  Component: ProtectedHistoryPage
1750
1967
  };
@@ -1769,10 +1986,10 @@ const Redirect = () => {
1769
1986
  );
1770
1987
  };
1771
1988
  const ProtectedEditViewPage = lazy(
1772
- () => import("./EditViewPage-R6diW-gL.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1989
+ () => import("./EditViewPage-JFzIJClS.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1773
1990
  );
1774
1991
  const ProtectedListViewPage = lazy(
1775
- () => import("./ListViewPage-fPFonK_X.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1992
+ () => import("./ListViewPage-1VNVP9Rw.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1776
1993
  );
1777
1994
  const CollectionTypePages = () => {
1778
1995
  const { collectionType } = useParams();
@@ -1827,7 +2044,7 @@ const routes = [
1827
2044
  {
1828
2045
  path: ":collectionType/:slug/:id",
1829
2046
  lazy: async () => {
1830
- const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-R6diW-gL.mjs");
2047
+ const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-JFzIJClS.mjs");
1831
2048
  return {
1832
2049
  Component: ProtectedEditViewPage2
1833
2050
  };
@@ -1836,7 +2053,7 @@ const routes = [
1836
2053
  {
1837
2054
  path: CLONE_RELATIVE_PATH,
1838
2055
  lazy: async () => {
1839
- const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-R6diW-gL.mjs");
2056
+ const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-JFzIJClS.mjs");
1840
2057
  return {
1841
2058
  Component: ProtectedEditViewPage2
1842
2059
  };
@@ -1845,7 +2062,7 @@ const routes = [
1845
2062
  {
1846
2063
  path: ":collectionType/:slug/configurations/list",
1847
2064
  lazy: async () => {
1848
- const { ProtectedListConfiguration } = await import("./ListConfigurationPage-PrJNO_6y.mjs");
2065
+ const { ProtectedListConfiguration } = await import("./ListConfigurationPage-lPILAPkW.mjs");
1849
2066
  return {
1850
2067
  Component: ProtectedListConfiguration
1851
2068
  };
@@ -1854,7 +2071,7 @@ const routes = [
1854
2071
  {
1855
2072
  path: "components/:slug/configurations/edit",
1856
2073
  lazy: async () => {
1857
- const { ProtectedComponentConfigurationPage } = await import("./ComponentConfigurationPage-okd3XovW.mjs");
2074
+ const { ProtectedComponentConfigurationPage } = await import("./ComponentConfigurationPage-oiBCHXQO.mjs");
1858
2075
  return {
1859
2076
  Component: ProtectedComponentConfigurationPage
1860
2077
  };
@@ -1863,7 +2080,7 @@ const routes = [
1863
2080
  {
1864
2081
  path: ":collectionType/:slug/configurations/edit",
1865
2082
  lazy: async () => {
1866
- const { ProtectedEditConfigurationPage } = await import("./EditConfigurationPage-LItt0mJo.mjs");
2083
+ const { ProtectedEditConfigurationPage } = await import("./EditConfigurationPage-MAUfMzG6.mjs");
1867
2084
  return {
1868
2085
  Component: ProtectedEditConfigurationPage
1869
2086
  };
@@ -1872,7 +2089,7 @@ const routes = [
1872
2089
  {
1873
2090
  path: "403",
1874
2091
  lazy: async () => {
1875
- const { NoPermissions: NoPermissions2 } = await import("./NoPermissionsPage-pqQFFlXa.mjs");
2092
+ const { NoPermissions: NoPermissions2 } = await import("./NoPermissionsPage--Oa97N7k.mjs");
1876
2093
  return {
1877
2094
  Component: NoPermissions2
1878
2095
  };
@@ -1881,7 +2098,7 @@ const routes = [
1881
2098
  {
1882
2099
  path: "no-content-types",
1883
2100
  lazy: async () => {
1884
- const { NoContentType } = await import("./NoContentTypePage-szvJnQKF.mjs");
2101
+ const { NoContentType } = await import("./NoContentTypePage-BaaTD5uB.mjs");
1885
2102
  return {
1886
2103
  Component: NoContentType
1887
2104
  };
@@ -1891,6 +2108,52 @@ const routes = [
1891
2108
  ]
1892
2109
  }
1893
2110
  ];
2111
+ const useQueryParams = (initialParams) => {
2112
+ const { search } = useLocation();
2113
+ const navigate = useNavigate();
2114
+ const query = useMemo(() => {
2115
+ const searchQuery = search.startsWith("?") ? search.slice(1) : search;
2116
+ if (!search && initialParams) {
2117
+ return initialParams;
2118
+ }
2119
+ return { ...initialParams, ...parse(searchQuery) };
2120
+ }, [search, initialParams]);
2121
+ const setQuery = useCallback(
2122
+ (nextParams, method = "push", replace = false) => {
2123
+ let nextQuery = { ...query };
2124
+ if (method === "remove") {
2125
+ Object.keys(nextParams).forEach((key) => {
2126
+ if (Object.prototype.hasOwnProperty.call(nextQuery, key)) {
2127
+ delete nextQuery[key];
2128
+ }
2129
+ });
2130
+ } else {
2131
+ nextQuery = { ...query, ...nextParams };
2132
+ }
2133
+ navigate({ search: stringify(nextQuery, { encode: false }) }, { replace });
2134
+ },
2135
+ [navigate, query]
2136
+ );
2137
+ return [{ query, rawQuery: search }, setQuery];
2138
+ };
2139
+ const extractValuesFromYupError = (errorType, errorParams) => {
2140
+ if (!errorType || !errorParams) {
2141
+ return {};
2142
+ }
2143
+ return {
2144
+ [errorType]: errorParams[errorType]
2145
+ };
2146
+ };
2147
+ const getYupInnerErrors = (error) => (error?.inner || []).reduce((acc, currentError) => {
2148
+ if (currentError.path) {
2149
+ acc[currentError.path.split("[").join(".").split("]").join("")] = {
2150
+ id: currentError.message,
2151
+ defaultMessage: currentError.message,
2152
+ values: extractValuesFromYupError(currentError?.type, currentError?.params)
2153
+ };
2154
+ }
2155
+ return acc;
2156
+ }, {});
1894
2157
  const contentManagerApi = createApi({
1895
2158
  reducerPath: "contentManagerApi",
1896
2159
  baseQuery: axiosBaseQuery(),
@@ -1900,7 +2163,8 @@ const contentManagerApi = createApi({
1900
2163
  "ContentTypeSettings",
1901
2164
  "Document",
1902
2165
  "InitialData",
1903
- "HistoryVersion"
2166
+ "HistoryVersion",
2167
+ "Relations"
1904
2168
  ],
1905
2169
  endpoints: () => ({})
1906
2170
  });
@@ -1940,7 +2204,10 @@ const documentApi = contentManagerApi.injectEndpoints({
1940
2204
  params
1941
2205
  }
1942
2206
  }),
1943
- invalidatesTags: (_result, _error, { model }) => [{ type: "Document", id: `${model}_LIST` }]
2207
+ invalidatesTags: (result, _error, { model }) => [
2208
+ { type: "Document", id: `${model}_LIST` },
2209
+ "Relations"
2210
+ ]
1944
2211
  }),
1945
2212
  deleteDocument: builder.mutation({
1946
2213
  query: ({ collectionType, model, documentId, params }) => ({
@@ -1976,7 +2243,8 @@ const documentApi = contentManagerApi.injectEndpoints({
1976
2243
  type: "Document",
1977
2244
  id: collectionType !== SINGLE_TYPES ? `${model}_${documentId}` : model
1978
2245
  },
1979
- { type: "Document", id: `${model}_LIST` }
2246
+ { type: "Document", id: `${model}_LIST` },
2247
+ "Relations"
1980
2248
  ];
1981
2249
  }
1982
2250
  }),
@@ -2064,7 +2332,8 @@ const documentApi = contentManagerApi.injectEndpoints({
2064
2332
  type: "Document",
2065
2333
  id: collectionType !== SINGLE_TYPES ? `${model}_${documentId}` : model
2066
2334
  },
2067
- { type: "Document", id: `${model}_LIST` }
2335
+ { type: "Document", id: `${model}_LIST` },
2336
+ "Relations"
2068
2337
  ];
2069
2338
  }
2070
2339
  }),
@@ -2090,7 +2359,8 @@ const documentApi = contentManagerApi.injectEndpoints({
2090
2359
  {
2091
2360
  type: "Document",
2092
2361
  id: collectionType !== SINGLE_TYPES ? `${model}_${documentId}` : model
2093
- }
2362
+ },
2363
+ "Relations"
2094
2364
  ];
2095
2365
  }
2096
2366
  }),
@@ -2436,7 +2706,7 @@ const initApi = contentManagerApi.injectEndpoints({
2436
2706
  });
2437
2707
  const { useGetInitialDataQuery } = initApi;
2438
2708
  const useContentTypeSchema = (model) => {
2439
- const toggleNotification = useNotification();
2709
+ const { toggleNotification } = useNotification();
2440
2710
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
2441
2711
  const { components, contentType, contentTypes, error, isLoading, isFetching } = useGetInitialDataQuery(void 0, {
2442
2712
  selectFromResult: (res) => {
@@ -2462,7 +2732,7 @@ const useContentTypeSchema = (model) => {
2462
2732
  React.useEffect(() => {
2463
2733
  if (error) {
2464
2734
  toggleNotification({
2465
- type: "warning",
2735
+ type: "danger",
2466
2736
  message: formatAPIError2(error)
2467
2737
  });
2468
2738
  }
@@ -2506,7 +2776,7 @@ const extractContentTypeComponents = (attributes = {}, allComponents = {}) => {
2506
2776
  return componentsByKey;
2507
2777
  };
2508
2778
  const useDocument = (args, opts) => {
2509
- const toggleNotification = useNotification();
2779
+ const { toggleNotification } = useNotification();
2510
2780
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
2511
2781
  const {
2512
2782
  currentData: data,
@@ -2518,7 +2788,7 @@ const useDocument = (args, opts) => {
2518
2788
  React.useEffect(() => {
2519
2789
  if (error) {
2520
2790
  toggleNotification({
2521
- type: "warning",
2791
+ type: "danger",
2522
2792
  message: formatAPIError2(error)
2523
2793
  });
2524
2794
  }
@@ -3249,7 +3519,7 @@ const getDisplayName = ({
3249
3519
  }
3250
3520
  ).trim();
3251
3521
  }
3252
- return email;
3522
+ return email ?? "";
3253
3523
  };
3254
3524
  const reviewWorkflowsApi = adminApi.injectEndpoints({
3255
3525
  endpoints: (builder) => ({
@@ -3364,7 +3634,7 @@ const AssigneeSelect = () => {
3364
3634
  const permissions = useTypedSelector((state) => state.admin_app.permissions);
3365
3635
  const { formatMessage } = useIntl();
3366
3636
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
3367
- const toggleNotification = useNotification();
3637
+ const { toggleNotification } = useNotification();
3368
3638
  const {
3369
3639
  allowedActions: { canRead },
3370
3640
  isLoading: isLoadingPermissions
@@ -3392,10 +3662,10 @@ const AssigneeSelect = () => {
3392
3662
  field.onChange(ASSIGNEE_ATTRIBUTE_NAME, res.data[ASSIGNEE_ATTRIBUTE_NAME]);
3393
3663
  toggleNotification({
3394
3664
  type: "success",
3395
- message: {
3665
+ message: formatMessage({
3396
3666
  id: "content-manager.reviewWorkflows.assignee.notification.saved",
3397
3667
  defaultMessage: "Assignee updated"
3398
- }
3668
+ })
3399
3669
  });
3400
3670
  }
3401
3671
  };
@@ -3587,7 +3857,7 @@ const StageSelect = () => {
3587
3857
  const { collectionType, model, id } = useDoc();
3588
3858
  const { formatMessage } = useIntl();
3589
3859
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
3590
- const toggleNotification = useNotification();
3860
+ const { toggleNotification } = useNotification();
3591
3861
  const { data, isLoading } = useGetStagesQuery(
3592
3862
  {
3593
3863
  slug: collectionType,
@@ -3623,10 +3893,10 @@ const StageSelect = () => {
3623
3893
  field.onChange(STAGE_ATTRIBUTE_NAME, res.data[STAGE_ATTRIBUTE_NAME]);
3624
3894
  toggleNotification({
3625
3895
  type: "success",
3626
- message: {
3896
+ message: formatMessage({
3627
3897
  id: "content-manager.reviewWorkflows.stage.notification.saved",
3628
3898
  defaultMessage: "Review stage updated"
3629
- }
3899
+ })
3630
3900
  });
3631
3901
  }
3632
3902
  }
@@ -3884,7 +4154,8 @@ const DEFAULT_UNEXPECTED_ERROR_MSG = {
3884
4154
  defaultMessage: "An error occurred, please try again"
3885
4155
  };
3886
4156
  const useDocumentActions = () => {
3887
- const toggleNotification = useNotification();
4157
+ const { toggleNotification } = useNotification();
4158
+ const { formatMessage } = useIntl();
3888
4159
  const { trackUsage } = useTracking();
3889
4160
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
3890
4161
  const [deleteDocument] = useDeleteDocumentMutation();
@@ -3900,30 +4171,30 @@ const useDocumentActions = () => {
3900
4171
  });
3901
4172
  if ("error" in res) {
3902
4173
  toggleNotification({
3903
- type: "warning",
4174
+ type: "danger",
3904
4175
  message: formatAPIError2(res.error)
3905
4176
  });
3906
4177
  return { error: res.error };
3907
4178
  }
3908
4179
  toggleNotification({
3909
4180
  type: "success",
3910
- message: {
4181
+ message: formatMessage({
3911
4182
  id: getTranslation("success.record.delete"),
3912
4183
  defaultMessage: "Deleted document"
3913
- }
4184
+ })
3914
4185
  });
3915
4186
  trackUsage("didDeleteEntry", trackerProperty);
3916
4187
  return res.data;
3917
4188
  } catch (err) {
3918
4189
  toggleNotification({
3919
- type: "warning",
3920
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4190
+ type: "danger",
4191
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
3921
4192
  });
3922
4193
  trackUsage("didNotDeleteEntry", { error: err, ...trackerProperty });
3923
4194
  throw err;
3924
4195
  }
3925
4196
  },
3926
- [trackUsage, deleteDocument, toggleNotification, formatAPIError2]
4197
+ [trackUsage, deleteDocument, toggleNotification, formatMessage, formatAPIError2]
3927
4198
  );
3928
4199
  const [discardDocument] = useDiscardDocumentMutation();
3929
4200
  const discard = React.useCallback(
@@ -3936,28 +4207,28 @@ const useDocumentActions = () => {
3936
4207
  });
3937
4208
  if ("error" in res) {
3938
4209
  toggleNotification({
3939
- type: "warning",
4210
+ type: "danger",
3940
4211
  message: formatAPIError2(res.error)
3941
4212
  });
3942
4213
  return { error: res.error };
3943
4214
  }
3944
4215
  toggleNotification({
3945
4216
  type: "success",
3946
- message: {
4217
+ message: formatMessage({
3947
4218
  id: "content-manager.success.record.discard",
3948
4219
  defaultMessage: "Changes discarded"
3949
- }
4220
+ })
3950
4221
  });
3951
4222
  return res.data;
3952
4223
  } catch (err) {
3953
4224
  toggleNotification({
3954
- type: "warning",
3955
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4225
+ type: "danger",
4226
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
3956
4227
  });
3957
4228
  throw err;
3958
4229
  }
3959
4230
  },
3960
- [discardDocument, formatAPIError2, toggleNotification]
4231
+ [discardDocument, formatAPIError2, formatMessage, toggleNotification]
3961
4232
  );
3962
4233
  const [publishDocument] = usePublishDocumentMutation();
3963
4234
  const publish = React.useCallback(
@@ -3972,27 +4243,27 @@ const useDocumentActions = () => {
3972
4243
  params
3973
4244
  });
3974
4245
  if ("error" in res) {
3975
- toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4246
+ toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
3976
4247
  return { error: res.error };
3977
4248
  }
3978
4249
  trackUsage("didPublishEntry");
3979
4250
  toggleNotification({
3980
4251
  type: "success",
3981
- message: {
4252
+ message: formatMessage({
3982
4253
  id: getTranslation("success.record.publish"),
3983
4254
  defaultMessage: "Published document"
3984
- }
4255
+ })
3985
4256
  });
3986
4257
  return res.data;
3987
4258
  } catch (err) {
3988
4259
  toggleNotification({
3989
- type: "warning",
3990
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4260
+ type: "danger",
4261
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
3991
4262
  });
3992
4263
  throw err;
3993
4264
  }
3994
4265
  },
3995
- [trackUsage, publishDocument, toggleNotification, formatAPIError2]
4266
+ [trackUsage, publishDocument, toggleNotification, formatMessage, formatAPIError2]
3996
4267
  );
3997
4268
  const [updateDocument] = useUpdateDocumentMutation();
3998
4269
  const update = React.useCallback(
@@ -4007,26 +4278,29 @@ const useDocumentActions = () => {
4007
4278
  params
4008
4279
  });
4009
4280
  if ("error" in res) {
4010
- toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4281
+ toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4011
4282
  trackUsage("didNotEditEntry", { error: res.error, ...trackerProperty });
4012
4283
  return { error: res.error };
4013
4284
  }
4014
4285
  trackUsage("didEditEntry", trackerProperty);
4015
4286
  toggleNotification({
4016
4287
  type: "success",
4017
- message: { id: getTranslation("success.record.save"), defaultMessage: "Saved document" }
4288
+ message: formatMessage({
4289
+ id: getTranslation("success.record.save"),
4290
+ defaultMessage: "Saved document"
4291
+ })
4018
4292
  });
4019
4293
  return res.data;
4020
4294
  } catch (err) {
4021
4295
  trackUsage("didNotEditEntry", { error: err, ...trackerProperty });
4022
4296
  toggleNotification({
4023
- type: "warning",
4024
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4297
+ type: "danger",
4298
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4025
4299
  });
4026
4300
  throw err;
4027
4301
  }
4028
4302
  },
4029
- [trackUsage, updateDocument, toggleNotification, formatAPIError2]
4303
+ [trackUsage, updateDocument, toggleNotification, formatMessage, formatAPIError2]
4030
4304
  );
4031
4305
  const [unpublishDocument] = useUnpublishDocumentMutation();
4032
4306
  const unpublish = React.useCallback(
@@ -4043,27 +4317,27 @@ const useDocumentActions = () => {
4043
4317
  }
4044
4318
  });
4045
4319
  if ("error" in res) {
4046
- toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4320
+ toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4047
4321
  return { error: res.error };
4048
4322
  }
4049
4323
  trackUsage("didUnpublishEntry");
4050
4324
  toggleNotification({
4051
4325
  type: "success",
4052
- message: {
4326
+ message: formatMessage({
4053
4327
  id: getTranslation("success.record.unpublish"),
4054
4328
  defaultMessage: "Unpublished document"
4055
- }
4329
+ })
4056
4330
  });
4057
4331
  return res.data;
4058
4332
  } catch (err) {
4059
4333
  toggleNotification({
4060
- type: "warning",
4061
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4334
+ type: "danger",
4335
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4062
4336
  });
4063
4337
  throw err;
4064
4338
  }
4065
4339
  },
4066
- [trackUsage, unpublishDocument, toggleNotification, formatAPIError2]
4340
+ [trackUsage, unpublishDocument, toggleNotification, formatMessage, formatAPIError2]
4067
4341
  );
4068
4342
  const [createDocument] = useCreateDocumentMutation();
4069
4343
  const create = React.useCallback(
@@ -4075,26 +4349,29 @@ const useDocumentActions = () => {
4075
4349
  params
4076
4350
  });
4077
4351
  if ("error" in res) {
4078
- toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4352
+ toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4079
4353
  trackUsage("didNotCreateEntry", { error: res.error, ...trackerProperty });
4080
4354
  return { error: res.error };
4081
4355
  }
4082
4356
  trackUsage("didCreateEntry", trackerProperty);
4083
4357
  toggleNotification({
4084
4358
  type: "success",
4085
- message: { id: getTranslation("success.record.save"), defaultMessage: "Saved document" }
4359
+ message: formatMessage({
4360
+ id: getTranslation("success.record.save"),
4361
+ defaultMessage: "Saved document"
4362
+ })
4086
4363
  });
4087
4364
  return res.data;
4088
4365
  } catch (err) {
4089
4366
  toggleNotification({
4090
- type: "warning",
4091
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4367
+ type: "danger",
4368
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4092
4369
  });
4093
4370
  trackUsage("didNotCreateEntry", { error: err, ...trackerProperty });
4094
4371
  throw err;
4095
4372
  }
4096
4373
  },
4097
- [createDocument, formatAPIError2, toggleNotification, trackUsage]
4374
+ [createDocument, formatAPIError2, formatMessage, toggleNotification, trackUsage]
4098
4375
  );
4099
4376
  const [autoCloneDocument] = useAutoCloneDocumentMutation();
4100
4377
  const autoClone = React.useCallback(
@@ -4105,26 +4382,26 @@ const useDocumentActions = () => {
4105
4382
  sourceId
4106
4383
  });
4107
4384
  if ("error" in res) {
4108
- toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4385
+ toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4109
4386
  return { error: res.error };
4110
4387
  }
4111
4388
  toggleNotification({
4112
4389
  type: "success",
4113
- message: {
4390
+ message: formatMessage({
4114
4391
  id: getTranslation("success.record.clone"),
4115
4392
  defaultMessage: "Cloned document"
4116
- }
4393
+ })
4117
4394
  });
4118
4395
  return res.data;
4119
4396
  } catch (err) {
4120
4397
  toggleNotification({
4121
- type: "warning",
4122
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4398
+ type: "danger",
4399
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4123
4400
  });
4124
4401
  throw err;
4125
4402
  }
4126
4403
  },
4127
- [autoCloneDocument, formatAPIError2, toggleNotification]
4404
+ [autoCloneDocument, formatAPIError2, formatMessage, toggleNotification]
4128
4405
  );
4129
4406
  const [cloneDocument] = useCloneDocumentMutation();
4130
4407
  const clone2 = React.useCallback(
@@ -4138,29 +4415,29 @@ const useDocumentActions = () => {
4138
4415
  params
4139
4416
  });
4140
4417
  if ("error" in res) {
4141
- toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4418
+ toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4142
4419
  trackUsage("didNotCreateEntry", { error: res.error, ...trackerProperty });
4143
4420
  return { error: res.error };
4144
4421
  }
4145
4422
  trackUsage("didCreateEntry", trackerProperty);
4146
4423
  toggleNotification({
4147
4424
  type: "success",
4148
- message: {
4425
+ message: formatMessage({
4149
4426
  id: getTranslation("success.record.clone"),
4150
4427
  defaultMessage: "Cloned document"
4151
- }
4428
+ })
4152
4429
  });
4153
4430
  return res.data;
4154
4431
  } catch (err) {
4155
4432
  toggleNotification({
4156
- type: "warning",
4157
- message: DEFAULT_UNEXPECTED_ERROR_MSG
4433
+ type: "danger",
4434
+ message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4158
4435
  });
4159
4436
  trackUsage("didNotCreateEntry", { error: err, ...trackerProperty });
4160
4437
  throw err;
4161
4438
  }
4162
4439
  },
4163
- [cloneDocument, trackUsage, toggleNotification, formatAPIError2]
4440
+ [cloneDocument, trackUsage, toggleNotification, formatMessage, formatAPIError2]
4164
4441
  );
4165
4442
  const [getDoc] = useLazyGetDocumentQuery();
4166
4443
  const getDocument = React.useCallback(
@@ -4219,7 +4496,7 @@ const DocumentActions = ({ actions: actions2 }) => {
4219
4496
  };
4220
4497
  const DocumentActionButton = (action) => {
4221
4498
  const [dialogId, setDialogId] = React.useState(null);
4222
- const toggleNotification = useNotification();
4499
+ const { toggleNotification } = useNotification();
4223
4500
  const handleClick = (action2) => async (e) => {
4224
4501
  const { onClick = () => false, dialog, id } = action2;
4225
4502
  const muteDialog = await onClick(e);
@@ -4285,7 +4562,7 @@ const DocumentActionsMenu = ({
4285
4562
  const [isOpen, setIsOpen] = React.useState(false);
4286
4563
  const [dialogId, setDialogId] = React.useState(null);
4287
4564
  const { formatMessage } = useIntl();
4288
- const toggleNotification = useNotification();
4565
+ const { toggleNotification } = useNotification();
4289
4566
  const isDisabled = actions2.every((action) => action.disabled) || actions2.length === 0;
4290
4567
  const handleClick = (action) => async (e) => {
4291
4568
  const { onClick = () => false, dialog, id } = action;
@@ -4488,7 +4765,7 @@ const PublishAction = ({
4488
4765
  }) => {
4489
4766
  const { schema } = useDoc();
4490
4767
  const navigate = useNavigate();
4491
- const toggleNotification = useNotification();
4768
+ const { toggleNotification } = useNotification();
4492
4769
  const { _unstableFormatValidationErrors: formatValidationErrors } = useAPIErrorHandler();
4493
4770
  const isCloning = useMatch(CLONE_PATH) !== null;
4494
4771
  const { formatMessage } = useIntl();
@@ -4532,11 +4809,11 @@ const PublishAction = ({
4532
4809
  const { errors } = await validate();
4533
4810
  if (errors) {
4534
4811
  toggleNotification({
4535
- type: "warning",
4536
- message: {
4812
+ type: "danger",
4813
+ message: formatMessage({
4537
4814
  id: "content-manager.validation.error",
4538
4815
  defaultMessage: "There are validation errors in your document. Please fix them before saving."
4539
- }
4816
+ })
4540
4817
  });
4541
4818
  return;
4542
4819
  }
@@ -4571,7 +4848,7 @@ const UpdateAction = ({
4571
4848
  collectionType
4572
4849
  }) => {
4573
4850
  const navigate = useNavigate();
4574
- const toggleNotification = useNotification();
4851
+ const { toggleNotification } = useNotification();
4575
4852
  const { _unstableFormatValidationErrors: formatValidationErrors } = useAPIErrorHandler();
4576
4853
  const cloneMatch = useMatch(CLONE_PATH);
4577
4854
  const isCloning = cloneMatch !== null;
@@ -4589,6 +4866,7 @@ const UpdateAction = ({
4589
4866
  const document2 = useForm("UpdateAction", ({ values }) => values);
4590
4867
  const validate = useForm("UpdateAction", (state) => state.validate);
4591
4868
  const setErrors = useForm("UpdateAction", (state) => state.setErrors);
4869
+ const resetForm = useForm("PublishAction", ({ resetForm: resetForm2 }) => resetForm2);
4592
4870
  return {
4593
4871
  /**
4594
4872
  * Disabled when:
@@ -4609,11 +4887,11 @@ const UpdateAction = ({
4609
4887
  const { errors } = await validate();
4610
4888
  if (errors) {
4611
4889
  toggleNotification({
4612
- type: "warning",
4613
- message: {
4890
+ type: "danger",
4891
+ message: formatMessage({
4614
4892
  id: "content-manager.validation.error",
4615
4893
  defaultMessage: "There are validation errors in your document. Please fix them before saving."
4616
- }
4894
+ })
4617
4895
  });
4618
4896
  return;
4619
4897
  }
@@ -4646,6 +4924,8 @@ const UpdateAction = ({
4646
4924
  );
4647
4925
  if ("error" in res && isBaseQueryError(res.error) && res.error.name === "ValidationError") {
4648
4926
  setErrors(formatValidationErrors(res.error));
4927
+ } else {
4928
+ resetForm();
4649
4929
  }
4650
4930
  } else {
4651
4931
  const res = await create(
@@ -4688,7 +4968,7 @@ const UnpublishAction = ({
4688
4968
  const { unpublish } = useDocumentActions();
4689
4969
  const [{ query }] = useQueryParams();
4690
4970
  const params = React.useMemo(() => buildValidParams(query), [query]);
4691
- const toggleNotification = useNotification();
4971
+ const { toggleNotification } = useNotification();
4692
4972
  const [shouldKeepDraft, setShouldKeepDraft] = React.useState(true);
4693
4973
  const isDocumentModified = document2?.status === "modified";
4694
4974
  const handleChange = (e) => {
@@ -4717,7 +4997,7 @@ const UnpublishAction = ({
4717
4997
  id: "content-manager.actions.unpublish.error",
4718
4998
  defaultMessage: "An error occurred while trying to unpublish the document."
4719
4999
  }),
4720
- type: "warning"
5000
+ type: "danger"
4721
5001
  });
4722
5002
  }
4723
5003
  return;
@@ -4791,7 +5071,7 @@ const UnpublishAction = ({
4791
5071
  id: "content-manager.actions.unpublish.error",
4792
5072
  defaultMessage: "An error occurred while trying to unpublish the document."
4793
5073
  }),
4794
- type: "warning"
5074
+ type: "danger"
4795
5075
  });
4796
5076
  }
4797
5077
  await unpublish(
@@ -5286,7 +5566,7 @@ const DeleteAction = ({ documentId, model, collectionType, document: document2 }
5286
5566
  const listViewPathMatch = useMatch(LIST_PATH);
5287
5567
  const canDelete = useDocumentRBAC("DeleteAction", (state) => state.canDelete);
5288
5568
  const { delete: deleteAction } = useDocumentActions();
5289
- const toggleNotification = useNotification();
5569
+ const { toggleNotification } = useNotification();
5290
5570
  const setSubmitting = useForm("DeleteAction", (state) => state.setSubmitting);
5291
5571
  return {
5292
5572
  disabled: !canDelete || !document2,
@@ -5322,7 +5602,7 @@ const DeleteAction = ({ documentId, model, collectionType, document: document2 }
5322
5602
  id: "content-manager.actions.delete.error",
5323
5603
  defaultMessage: "An error occurred while trying to delete the document."
5324
5604
  }),
5325
- type: "warning"
5605
+ type: "danger"
5326
5606
  });
5327
5607
  return;
5328
5608
  }
@@ -5544,7 +5824,7 @@ const EditAction = ({ documentId }) => {
5544
5824
  const navigate = useNavigate();
5545
5825
  const { formatMessage } = useIntl();
5546
5826
  const { canRead } = useDocumentRBAC("EditAction", ({ canRead: canRead2 }) => ({ canRead: canRead2 }));
5547
- const toggleNotification = useNotification();
5827
+ const { toggleNotification } = useNotification();
5548
5828
  const [{ query }] = useQueryParams();
5549
5829
  return {
5550
5830
  disabled: !canRead,
@@ -5564,7 +5844,7 @@ const EditAction = ({ documentId }) => {
5564
5844
  id: "content-manager.actions.edit.error",
5565
5845
  defaultMessage: "An error occurred while trying to edit the document."
5566
5846
  }),
5567
- type: "warning"
5847
+ type: "danger"
5568
5848
  });
5569
5849
  return;
5570
5850
  }
@@ -5587,7 +5867,7 @@ const CloneAction = ({ model, documentId }) => {
5587
5867
  const navigate = useNavigate();
5588
5868
  const { formatMessage } = useIntl();
5589
5869
  const { canCreate } = useDocumentRBAC("CloneAction", ({ canCreate: canCreate2 }) => ({ canCreate: canCreate2 }));
5590
- const toggleNotification = useNotification();
5870
+ const { toggleNotification } = useNotification();
5591
5871
  const { autoClone } = useDocumentActions();
5592
5872
  const [prohibitedFields, setProhibitedFields] = React.useState([]);
5593
5873
  return {
@@ -5608,7 +5888,7 @@ const CloneAction = ({ model, documentId }) => {
5608
5888
  id: "content-manager.actions.clone.error",
5609
5889
  defaultMessage: "An error occurred while trying to clone the document."
5610
5890
  }),
5611
- type: "warning"
5891
+ type: "danger"
5612
5892
  });
5613
5893
  return;
5614
5894
  }
@@ -6067,6 +6347,27 @@ const ToggleButton = styled.button`
6067
6347
  text-align: unset;
6068
6348
  padding: 0;
6069
6349
  `;
6350
+ const useFocusInputField = (name) => {
6351
+ const { search: searchString } = useLocation();
6352
+ const search = useMemo(() => new URLSearchParams(searchString), [searchString]);
6353
+ const [field, setField] = useState(null);
6354
+ useEffect(() => {
6355
+ if (search.has("field") && search.get("field") === name && field) {
6356
+ if ("input" in field) {
6357
+ field.input.current.focus();
6358
+ field.input.current.scrollIntoView({
6359
+ block: "center"
6360
+ });
6361
+ } else {
6362
+ field.focus();
6363
+ field.scrollIntoView({
6364
+ block: "center"
6365
+ });
6366
+ }
6367
+ }
6368
+ }, [search, name, field]);
6369
+ return setField;
6370
+ };
6070
6371
  const ItemTypes = {
6071
6372
  COMPONENT: "component",
6072
6373
  EDIT_FIELD: "editField",
@@ -6307,7 +6608,9 @@ const relationsApi = contentManagerApi.injectEndpoints({
6307
6608
  endpointName,
6308
6609
  model: queryArgs.model,
6309
6610
  id: queryArgs.id,
6310
- targetField: queryArgs.targetField
6611
+ targetField: queryArgs.targetField,
6612
+ locale: queryArgs.params?.locale,
6613
+ status: queryArgs.params?.status
6311
6614
  };
6312
6615
  },
6313
6616
  merge: (currentCache, newItems) => {
@@ -6340,7 +6643,8 @@ const relationsApi = contentManagerApi.injectEndpoints({
6340
6643
  } else {
6341
6644
  return response;
6342
6645
  }
6343
- }
6646
+ },
6647
+ providesTags: ["Relations"]
6344
6648
  }),
6345
6649
  searchRelations: build.query({
6346
6650
  query: ({ model, targetField, params }) => {
@@ -6502,19 +6806,20 @@ const RelationsField = React.forwardRef(
6502
6806
  const handleConnect = (relation) => {
6503
6807
  const [lastItemInList] = relations.slice(-1);
6504
6808
  const item = {
6505
- ...relation,
6809
+ id: relation.id,
6810
+ status: relation.status,
6506
6811
  /**
6507
6812
  * If there's a last item, that's the first key we use to generate out next one.
6508
6813
  */
6509
6814
  __temp_key__: generateNKeysBetween(lastItemInList?.__temp_key__ ?? null, null, 1)[0],
6510
6815
  // Fallback to `id` if there is no `mainField` value, which will overwrite the above `id` property with the exact same data.
6511
- [props.mainField?.name ?? "id"]: relation[props.mainField?.name ?? "id"],
6816
+ [props.mainField?.name ?? "documentId"]: relation[props.mainField?.name ?? "documentId"],
6512
6817
  label: getRelationLabel(relation, props.mainField),
6513
6818
  // @ts-expect-error – targetModel does exist on the attribute, but it's not typed.
6514
6819
  href: `../${COLLECTION_TYPES}/${props.attribute.targetModel}/${relation.documentId}`
6515
6820
  };
6516
6821
  if (ONE_WAY_RELATIONS.includes(props.attribute.relation)) {
6517
- field.onChange(props.name, { connect: [item] });
6822
+ field.onChange(`${props.name}.connect`, [item]);
6518
6823
  } else {
6519
6824
  field.onChange(`${props.name}.connect`, [...field.value?.connect ?? [], item]);
6520
6825
  }
@@ -6580,18 +6885,18 @@ const StyledFlex = styled(Flex)`
6580
6885
  const removeConnected = ({ field }) => (relations) => {
6581
6886
  return relations.filter((relation) => {
6582
6887
  const connectedRelations = field?.connect ?? [];
6583
- return connectedRelations.findIndex((rel) => rel.documentId === relation.documentId) === -1;
6888
+ return connectedRelations.findIndex((rel) => rel.id === relation.id) === -1;
6584
6889
  });
6585
6890
  };
6586
6891
  const removeDisconnected = ({ field }) => (relations) => relations.filter((relation) => {
6587
6892
  const disconnectedRelations = field?.disconnect ?? [];
6588
- return disconnectedRelations.findIndex((rel) => rel.documentId === relation.documentId) === -1;
6893
+ return disconnectedRelations.findIndex((rel) => rel.id === relation.id) === -1;
6589
6894
  });
6590
6895
  const addLabelAndHref = ({ mainField, href }) => (relations) => relations.map((relation) => {
6591
6896
  return {
6592
6897
  ...relation,
6593
- // Fallback to `id` if there is no `mainField` value, which will overwrite the above `id` property with the exact same data.
6594
- [mainField?.name ?? "id"]: relation[mainField?.name ?? "id"],
6898
+ // Fallback to `id` if there is no `mainField` value, which will overwrite the above `documentId` property with the exact same data.
6899
+ [mainField?.name ?? "documentId"]: relation[mainField?.name ?? "documentId"],
6595
6900
  label: getRelationLabel(relation, mainField),
6596
6901
  href: `${href}/${relation.documentId}`
6597
6902
  };
@@ -6613,7 +6918,7 @@ const RelationsInput = ({
6613
6918
  _q: "",
6614
6919
  page: 1
6615
6920
  });
6616
- const toggleNotification = useNotification();
6921
+ const { toggleNotification } = useNotification();
6617
6922
  const [{ query }] = useQueryParams();
6618
6923
  const { formatMessage } = useIntl();
6619
6924
  const fieldRef = useFocusInputField(name);
@@ -6628,8 +6933,8 @@ const RelationsInput = ({
6628
6933
  ...buildValidParams(query),
6629
6934
  id: id ?? "",
6630
6935
  pageSize: 10,
6631
- idsToInclude: field.value?.disconnect?.map((rel) => rel.documentId) ?? [],
6632
- idsToOmit: field.value?.connect?.map((rel) => rel.documentId) ?? [],
6936
+ idsToInclude: field.value?.disconnect?.map((rel) => rel.id.toString()) ?? [],
6937
+ idsToOmit: field.value?.connect?.map((rel) => rel.id.toString()) ?? [],
6633
6938
  ...searchParams
6634
6939
  }
6635
6940
  });
@@ -6652,7 +6957,7 @@ const RelationsInput = ({
6652
6957
  if (!relationId) {
6653
6958
  return;
6654
6959
  }
6655
- const relation = options.find((opt) => opt.documentId === relationId);
6960
+ const relation = options.find((opt) => opt.id.toString() === relationId);
6656
6961
  if (!relation) {
6657
6962
  console.error(
6658
6963
  "You've tried to add a relation with an id that does not exist in the options you can see, this is likely a bug with Strapi. Please open an issue."
@@ -6662,7 +6967,7 @@ const RelationsInput = ({
6662
6967
  id: getTranslation("relation.error-adding-relation"),
6663
6968
  defaultMessage: "An error occurred while trying to add the relation."
6664
6969
  }),
6665
- type: "warning"
6970
+ type: "danger"
6666
6971
  });
6667
6972
  return;
6668
6973
  }
@@ -6717,10 +7022,10 @@ const RelationsInput = ({
6717
7022
  },
6718
7023
  children: options.map((opt) => {
6719
7024
  const textValue2 = getRelationLabel(opt, mainField);
6720
- return /* @__PURE__ */ jsx(ComboboxOption, { value: opt.documentId, textValue: textValue2, children: /* @__PURE__ */ jsxs(Flex, { gap: 2, justifyContent: "space-between", children: [
7025
+ return /* @__PURE__ */ jsx(ComboboxOption, { value: opt.id.toString(), textValue: textValue2, children: /* @__PURE__ */ jsxs(Flex, { gap: 2, justifyContent: "space-between", children: [
6721
7026
  /* @__PURE__ */ jsx(Typography, { ellipsis: true, children: textValue2 }),
6722
7027
  opt.status ? /* @__PURE__ */ jsx(DocumentStatus, { status: opt.status }) : null
6723
- ] }) }, opt.documentId);
7028
+ ] }) }, opt.id);
6724
7029
  })
6725
7030
  }
6726
7031
  );
@@ -6857,14 +7162,14 @@ const RelationsList = ({
6857
7162
  const handleDisconnect = (relation) => {
6858
7163
  if (field.value && field.value.connect) {
6859
7164
  const indexOfRelationInConnectArray = field.value.connect.findIndex(
6860
- (rel) => rel.documentId === relation.documentId
7165
+ (rel) => rel.id === relation.id
6861
7166
  );
6862
7167
  if (indexOfRelationInConnectArray >= 0) {
6863
7168
  removeFieldRow(`${name}.connect`, indexOfRelationInConnectArray);
6864
7169
  return;
6865
7170
  }
6866
7171
  }
6867
- addFieldRow(`${name}.disconnect`, { documentId: relation.documentId });
7172
+ addFieldRow(`${name}.disconnect`, { id: relation.id });
6868
7173
  };
6869
7174
  const canReorder = !ONE_WAY_RELATIONS.includes(relationType);
6870
7175
  const dynamicListHeight = data.length > RELATIONS_TO_DISPLAY ? Math.min(data.length, RELATIONS_TO_DISPLAY) * (RELATION_ITEM_HEIGHT + RELATION_GUTTER) + RELATION_ITEM_HEIGHT / 2 : Math.min(data.length, RELATIONS_TO_DISPLAY) * (RELATION_ITEM_HEIGHT + RELATION_GUTTER);
@@ -7251,7 +7556,7 @@ const {
7251
7556
  const { MUTATE_COLLECTION_TYPES_LINKS: MUTATE_COLLECTION_TYPES_LINKS$1, MUTATE_SINGLE_TYPES_LINKS: MUTATE_SINGLE_TYPES_LINKS$1 } = HOOKS;
7252
7557
  const useContentManagerInitData = () => {
7253
7558
  const dispatch = useTypedDispatch();
7254
- const toggleNotification = useNotification();
7559
+ const { toggleNotification } = useNotification();
7255
7560
  const { allPermissions } = useRBACProvider();
7256
7561
  const runHookWaterfall = useStrapiApp(
7257
7562
  "useContentManagerInitData",
@@ -7280,14 +7585,14 @@ const useContentManagerInitData = () => {
7280
7585
  }, [formatMessage, initialDataQuery.data, notifyStatus]);
7281
7586
  useEffect(() => {
7282
7587
  if (initialDataQuery.error) {
7283
- toggleNotification({ type: "warning", message: formatAPIError2(initialDataQuery.error) });
7588
+ toggleNotification({ type: "danger", message: formatAPIError2(initialDataQuery.error) });
7284
7589
  }
7285
7590
  }, [formatAPIError2, initialDataQuery.error, toggleNotification]);
7286
7591
  const contentTypeSettingsQuery = useGetAllContentTypeSettingsQuery();
7287
7592
  useEffect(() => {
7288
7593
  if (contentTypeSettingsQuery.error) {
7289
7594
  toggleNotification({
7290
- type: "warning",
7595
+ type: "danger",
7291
7596
  message: formatAPIError2(contentTypeSettingsQuery.error)
7292
7597
  });
7293
7598
  }
@@ -8050,7 +8355,8 @@ const LOGIN_SCHEMA = yup.object().shape({
8050
8355
  const Login = ({ children }) => {
8051
8356
  const [apiError, setApiError] = React.useState();
8052
8357
  const { formatMessage } = useIntl();
8053
- const query = useQuery();
8358
+ const { search: searchString } = useLocation();
8359
+ const query = React.useMemo(() => new URLSearchParams(searchString), [searchString]);
8054
8360
  const navigate = useNavigate();
8055
8361
  const login = useAuth("Login", (state) => state.login);
8056
8362
  const handleLogin = async (body) => {
@@ -8222,7 +8528,8 @@ const ForgotPasswordSuccess = () => {
8222
8528
  };
8223
8529
  const Oops = () => {
8224
8530
  const { formatMessage } = useIntl();
8225
- const query = useQuery();
8531
+ const { search: searchString } = useLocation();
8532
+ const query = React.useMemo(() => new URLSearchParams(searchString), [searchString]);
8226
8533
  const message = query.get("info") || formatMessage({
8227
8534
  id: "Auth.components.Oops.text",
8228
8535
  defaultMessage: "Your account has been suspended."
@@ -8321,8 +8628,9 @@ const NpsSurvey = () => {
8321
8628
  const { formatMessage } = useIntl();
8322
8629
  const { npsSurveySettings, setNpsSurveySettings } = useNpsSurveySettings();
8323
8630
  const [isFeedbackResponse, setIsFeedbackResponse] = React.useState(false);
8324
- const toggleNotification = useNotification();
8325
- const { currentEnvironment, strapiVersion } = useAppInfo();
8631
+ const { toggleNotification } = useNotification();
8632
+ const currentEnvironment = useAppInfo("NpsSurvey", (state) => state.currentEnvironment);
8633
+ const strapiVersion = useAppInfo("NpsSurvey", (state) => state.strapiVersion);
8326
8634
  const [surveyIsShown, setSurveyIsShown] = React.useState(
8327
8635
  checkIfShouldShowSurvey(npsSurveySettings)
8328
8636
  );
@@ -8377,7 +8685,7 @@ const NpsSurvey = () => {
8377
8685
  }, 3e3);
8378
8686
  } catch (err) {
8379
8687
  toggleNotification({
8380
- type: "warning",
8688
+ type: "danger",
8381
8689
  message: formatMessage({ id: "notification.error", defaultMessage: "An error occurred" })
8382
8690
  });
8383
8691
  }
@@ -8604,14 +8912,15 @@ const REGISTER_ADMIN_SCHEMA = yup.object().shape({
8604
8912
  })
8605
8913
  });
8606
8914
  const Register = ({ hasAdmin }) => {
8607
- const toggleNotification = useNotification();
8915
+ const { toggleNotification } = useNotification();
8608
8916
  const navigate = useNavigate();
8609
8917
  const [submitCount, setSubmitCount] = React.useState(0);
8610
8918
  const [apiError, setApiError] = React.useState();
8611
8919
  const { trackUsage } = useTracking();
8612
8920
  const { formatMessage } = useIntl();
8613
8921
  const setSkipped = useGuidedTour("Register", (state) => state.setSkipped);
8614
- const query = useQuery();
8922
+ const { search: searchString } = useLocation();
8923
+ const query = React.useMemo(() => new URLSearchParams(searchString), [searchString]);
8615
8924
  const match = useMatch("/auth/:authType");
8616
8925
  const {
8617
8926
  _unstableFormatAPIError: formatAPIError2,
@@ -8626,7 +8935,7 @@ const Register = ({ hasAdmin }) => {
8626
8935
  if (error) {
8627
8936
  const message = isBaseQueryError(error) ? formatAPIError2(error) : error.message ?? "";
8628
8937
  toggleNotification({
8629
- type: "warning",
8938
+ type: "danger",
8630
8939
  message
8631
8940
  });
8632
8941
  navigate(`/auth/oops?info=${encodeURIComponent(message)}`);
@@ -8909,7 +9218,8 @@ const RESET_PASSWORD_SCHEMA = yup.object().shape({
8909
9218
  const ResetPassword = () => {
8910
9219
  const { formatMessage } = useIntl();
8911
9220
  const navigate = useNavigate();
8912
- const query = useQuery();
9221
+ const { search: searchString } = useLocation();
9222
+ const query = React.useMemo(() => new URLSearchParams(searchString), [searchString]);
8913
9223
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
8914
9224
  const setToken = useAuth("ResetPassword", (state) => state.setToken);
8915
9225
  const [resetPassword, { error }] = useResetPasswordMutation();
@@ -9004,11 +9314,11 @@ const AuthPage = () => {
9004
9314
  const { hasAdmin } = data ?? {};
9005
9315
  const Login$1 = useEnterprise(
9006
9316
  Login,
9007
- async () => (await import("./Login-6kXI90Vy.mjs")).LoginEE
9317
+ async () => (await import("./Login-B55AM-7k.mjs")).LoginEE
9008
9318
  );
9009
9319
  const forms = useEnterprise(
9010
9320
  FORMS,
9011
- async () => (await import("./constants-FEW7x2Od.mjs")).FORMS,
9321
+ async () => (await import("./constants-JgR8CVx2.mjs")).FORMS,
9012
9322
  {
9013
9323
  combine(ceForms, eeForms) {
9014
9324
  return {
@@ -9049,8 +9359,7 @@ const AuthPage = () => {
9049
9359
  };
9050
9360
  const NotFoundPage = () => {
9051
9361
  const { formatMessage } = useIntl();
9052
- useFocusWhenNavigate();
9053
- return /* @__PURE__ */ jsxs(Main, { labelledBy: "title", children: [
9362
+ return /* @__PURE__ */ jsxs(Page.Main, { labelledBy: "title", children: [
9054
9363
  /* @__PURE__ */ jsx(
9055
9364
  HeaderLayout,
9056
9365
  {
@@ -9082,7 +9391,7 @@ const NotFoundPage = () => {
9082
9391
  const ROUTES_CE = [
9083
9392
  {
9084
9393
  lazy: async () => {
9085
- const { ProtectedListPage } = await import("./ListPage-NmUS_cOz.mjs");
9394
+ const { ProtectedListPage } = await import("./ListPage-p17R2Gql.mjs");
9086
9395
  return {
9087
9396
  Component: ProtectedListPage
9088
9397
  };
@@ -9091,7 +9400,7 @@ const ROUTES_CE = [
9091
9400
  },
9092
9401
  {
9093
9402
  lazy: async () => {
9094
- const { ProtectedCreatePage } = await import("./CreatePage-PM_r99U5.mjs");
9403
+ const { ProtectedCreatePage } = await import("./CreatePage-Gh5xb10f.mjs");
9095
9404
  return {
9096
9405
  Component: ProtectedCreatePage
9097
9406
  };
@@ -9100,7 +9409,7 @@ const ROUTES_CE = [
9100
9409
  },
9101
9410
  {
9102
9411
  lazy: async () => {
9103
- const { ProtectedCreatePage } = await import("./CreatePage-PM_r99U5.mjs");
9412
+ const { ProtectedCreatePage } = await import("./CreatePage-Gh5xb10f.mjs");
9104
9413
  return {
9105
9414
  Component: ProtectedCreatePage
9106
9415
  };
@@ -9109,7 +9418,7 @@ const ROUTES_CE = [
9109
9418
  },
9110
9419
  {
9111
9420
  lazy: async () => {
9112
- const { ProtectedEditPage } = await import("./EditPage--EPGgPNr.mjs");
9421
+ const { ProtectedEditPage } = await import("./EditPage-THSaM4-0.mjs");
9113
9422
  return {
9114
9423
  Component: ProtectedEditPage
9115
9424
  };
@@ -9118,7 +9427,7 @@ const ROUTES_CE = [
9118
9427
  },
9119
9428
  {
9120
9429
  lazy: async () => {
9121
- const { ProtectedListPage } = await import("./ListPage-xFkcmM1b.mjs");
9430
+ const { ProtectedListPage } = await import("./ListPage-YZ45BiMe.mjs");
9122
9431
  return {
9123
9432
  Component: ProtectedListPage
9124
9433
  };
@@ -9127,7 +9436,7 @@ const ROUTES_CE = [
9127
9436
  },
9128
9437
  {
9129
9438
  lazy: async () => {
9130
- const { ProtectedEditPage } = await import("./EditPage-MPNLCYgQ.mjs");
9439
+ const { ProtectedEditPage } = await import("./EditPage-DQUZsl8H.mjs");
9131
9440
  return {
9132
9441
  Component: ProtectedEditPage
9133
9442
  };
@@ -9136,7 +9445,7 @@ const ROUTES_CE = [
9136
9445
  },
9137
9446
  {
9138
9447
  lazy: async () => {
9139
- const { ProtectedCreatePage } = await import("./CreatePage-6458K0l9.mjs");
9448
+ const { ProtectedCreatePage } = await import("./CreatePage-hxFhldpL.mjs");
9140
9449
  return {
9141
9450
  Component: ProtectedCreatePage
9142
9451
  };
@@ -9145,7 +9454,7 @@ const ROUTES_CE = [
9145
9454
  },
9146
9455
  {
9147
9456
  lazy: async () => {
9148
- const { ProtectedEditPage } = await import("./EditPage-GRIZWtGz.mjs").then((n) => n.b);
9457
+ const { ProtectedEditPage } = await import("./EditPage-zpnfFOjc.mjs").then((n) => n.b);
9149
9458
  return {
9150
9459
  Component: ProtectedEditPage
9151
9460
  };
@@ -9154,7 +9463,7 @@ const ROUTES_CE = [
9154
9463
  },
9155
9464
  {
9156
9465
  lazy: async () => {
9157
- const { ProtectedListPage } = await import("./ListPage-Cvn3WbMH.mjs");
9466
+ const { ProtectedListPage } = await import("./ListPage-SCTNGhhO.mjs");
9158
9467
  return {
9159
9468
  Component: ProtectedListPage
9160
9469
  };
@@ -9163,7 +9472,7 @@ const ROUTES_CE = [
9163
9472
  },
9164
9473
  {
9165
9474
  lazy: async () => {
9166
- const { ProtectedListView } = await import("./ListView--43zLiHW.mjs");
9475
+ const { ProtectedListView } = await import("./ListView--O7X6dMw.mjs");
9167
9476
  return {
9168
9477
  Component: ProtectedListView
9169
9478
  };
@@ -9172,7 +9481,7 @@ const ROUTES_CE = [
9172
9481
  },
9173
9482
  {
9174
9483
  lazy: async () => {
9175
- const { ProtectedCreateView } = await import("./CreateView-cTvLLIgu.mjs");
9484
+ const { ProtectedCreateView } = await import("./CreateView-oBp0NzJx.mjs");
9176
9485
  return {
9177
9486
  Component: ProtectedCreateView
9178
9487
  };
@@ -9181,7 +9490,7 @@ const ROUTES_CE = [
9181
9490
  },
9182
9491
  {
9183
9492
  lazy: async () => {
9184
- const { ProtectedEditView } = await import("./EditViewPage-uWYR_o8w.mjs");
9493
+ const { ProtectedEditView } = await import("./EditViewPage-vz8UJ4U_.mjs");
9185
9494
  return {
9186
9495
  Component: ProtectedEditView
9187
9496
  };
@@ -9190,7 +9499,7 @@ const ROUTES_CE = [
9190
9499
  },
9191
9500
  {
9192
9501
  lazy: async () => {
9193
- const { ProtectedCreateView } = await import("./CreateView-pBI75ZwZ.mjs");
9502
+ const { ProtectedCreateView } = await import("./CreateView-qzpeDBvR.mjs");
9194
9503
  return {
9195
9504
  Component: ProtectedCreateView
9196
9505
  };
@@ -9199,7 +9508,7 @@ const ROUTES_CE = [
9199
9508
  },
9200
9509
  {
9201
9510
  lazy: async () => {
9202
- const { ProtectedListView } = await import("./ListView-qPiKeCxj.mjs");
9511
+ const { ProtectedListView } = await import("./ListView-oP-C8SCR.mjs");
9203
9512
  return {
9204
9513
  Component: ProtectedListView
9205
9514
  };
@@ -9208,7 +9517,7 @@ const ROUTES_CE = [
9208
9517
  },
9209
9518
  {
9210
9519
  lazy: async () => {
9211
- const { ProtectedEditView } = await import("./EditView-0lXpbgG0.mjs");
9520
+ const { ProtectedEditView } = await import("./EditView-cfOpTlAi.mjs");
9212
9521
  return {
9213
9522
  Component: ProtectedEditView
9214
9523
  };
@@ -9691,7 +10000,7 @@ class StrapiApp {
9691
10000
  {
9692
10001
  path: "usecase",
9693
10002
  lazy: async () => {
9694
- const { PrivateUseCasePage } = await import("./UseCasePage-0qXYZ8kt.mjs");
10003
+ const { PrivateUseCasePage } = await import("./UseCasePage-Cxu2FeWo.mjs");
9695
10004
  return {
9696
10005
  Component: PrivateUseCasePage
9697
10006
  };
@@ -9704,7 +10013,7 @@ class StrapiApp {
9704
10013
  {
9705
10014
  path: "/*",
9706
10015
  lazy: async () => {
9707
- const { PrivateAdminLayout } = await import("./AuthenticatedLayout-knXNB2i2.mjs");
10016
+ const { PrivateAdminLayout } = await import("./AuthenticatedLayout-Ffy6uoNF.mjs");
9708
10017
  return {
9709
10018
  Component: PrivateAdminLayout
9710
10019
  };
@@ -9713,7 +10022,7 @@ class StrapiApp {
9713
10022
  {
9714
10023
  index: true,
9715
10024
  lazy: async () => {
9716
- const { HomePage } = await import("./HomePage-O-TRGX5T.mjs");
10025
+ const { HomePage } = await import("./HomePage-Si17pjt5.mjs");
9717
10026
  return {
9718
10027
  Component: HomePage
9719
10028
  };
@@ -9722,7 +10031,7 @@ class StrapiApp {
9722
10031
  {
9723
10032
  path: "me",
9724
10033
  lazy: async () => {
9725
- const { ProfilePage } = await import("./ProfilePage-LXB-_EZ8.mjs");
10034
+ const { ProfilePage } = await import("./ProfilePage-eCIvxxJY.mjs");
9726
10035
  return {
9727
10036
  Component: ProfilePage
9728
10037
  };
@@ -9731,7 +10040,7 @@ class StrapiApp {
9731
10040
  {
9732
10041
  path: "list-plugins",
9733
10042
  lazy: async () => {
9734
- const { ProtectedInstalledPluginsPage } = await import("./InstalledPluginsPage-R2hVFPZl.mjs");
10043
+ const { ProtectedInstalledPluginsPage } = await import("./InstalledPluginsPage-XqzfeZgq.mjs");
9735
10044
  return {
9736
10045
  Component: ProtectedInstalledPluginsPage
9737
10046
  };
@@ -9740,7 +10049,7 @@ class StrapiApp {
9740
10049
  {
9741
10050
  path: "marketplace",
9742
10051
  lazy: async () => {
9743
- const { ProtectedMarketplacePage } = await import("./MarketplacePage-hVOJ9_0k.mjs");
10052
+ const { ProtectedMarketplacePage } = await import("./MarketplacePage-UGys0LVN.mjs");
9744
10053
  return {
9745
10054
  Component: ProtectedMarketplacePage
9746
10055
  };
@@ -9749,7 +10058,7 @@ class StrapiApp {
9749
10058
  {
9750
10059
  path: "settings/*",
9751
10060
  lazy: async () => {
9752
- const { Layout: Layout2 } = await import("./Layout-cV6Se3U9.mjs");
10061
+ const { Layout: Layout2 } = await import("./Layout-3sYAgWn4.mjs");
9753
10062
  return {
9754
10063
  Component: Layout2
9755
10064
  };
@@ -9758,7 +10067,7 @@ class StrapiApp {
9758
10067
  {
9759
10068
  path: "application-infos",
9760
10069
  lazy: async () => {
9761
- const { ApplicationInfoPage } = await import("./ApplicationInfoPage-ed6y9Q-B.mjs");
10070
+ const { ApplicationInfoPage } = await import("./ApplicationInfoPage-NhhWzHF1.mjs");
9762
10071
  return {
9763
10072
  Component: ApplicationInfoPage
9764
10073
  };
@@ -10419,6 +10728,23 @@ function useInjectReducer(namespace, reducer2) {
10419
10728
  store.injectReducer(namespace, reducer2);
10420
10729
  }, [store, namespace, reducer2]);
10421
10730
  }
10731
+ const useFetchClient = () => {
10732
+ const controller = React.useRef(null);
10733
+ if (controller.current === null) {
10734
+ controller.current = new AbortController();
10735
+ }
10736
+ React.useEffect(() => {
10737
+ return () => {
10738
+ controller.current.abort();
10739
+ };
10740
+ }, []);
10741
+ return React.useMemo(
10742
+ () => getFetchClient({
10743
+ signal: controller.current.signal
10744
+ }),
10745
+ []
10746
+ );
10747
+ };
10422
10748
  const checkIfAttributeIsDisplayable = (attribute) => {
10423
10749
  const { type } = attribute;
10424
10750
  if (type === "relation") {
@@ -10453,7 +10779,7 @@ const useDocumentLayout = (model) => {
10453
10779
  const { schema, components } = useDocument({ model, collectionType: "" }, { skip: true });
10454
10780
  const [{ query }] = useQueryParams();
10455
10781
  const runHookWaterfall = useStrapiApp("useDocumentLayout", (state) => state.runHookWaterfall);
10456
- const toggleNotification = useNotification();
10782
+ const { toggleNotification } = useNotification();
10457
10783
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
10458
10784
  const { isLoading: isLoadingSchemas, schemas } = useContentTypeSchema();
10459
10785
  const { data, isLoading: isLoadingConfigs, error } = useGetContentTypeConfigurationQuery(model);
@@ -10461,7 +10787,7 @@ const useDocumentLayout = (model) => {
10461
10787
  React.useEffect(() => {
10462
10788
  if (error) {
10463
10789
  toggleNotification({
10464
- type: "warning",
10790
+ type: "danger",
10465
10791
  message: formatAPIError2(error)
10466
10792
  });
10467
10793
  }
@@ -10650,146 +10976,155 @@ const convertListLayoutToFieldLayouts = (columns, attributes = {}, metadatas, co
10650
10976
  }).filter((field) => field !== null);
10651
10977
  };
10652
10978
  export {
10653
- ACTION_SET_WORKFLOWS as $,
10654
- createContext as A,
10655
- useControllableState as B,
10656
- useLicenseLimits as C,
10657
- CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME as D,
10658
- ConfirmDialog as E,
10979
+ useInjectReducer as $,
10980
+ AppInfoProvider as A,
10981
+ Pagination as B,
10982
+ SETTINGS_LINKS_CE as C,
10983
+ useAdminUsers as D,
10984
+ useField as E,
10659
10985
  Form as F,
10660
- LimitsModal as G,
10661
- DragLayer as H,
10986
+ createContext as G,
10987
+ useControllableState as H,
10662
10988
  InputRenderer as I,
10663
- DRAG_DROP_TYPES as J,
10664
- useGetWorkflowsQuery as K,
10989
+ useLicenseLimits as J,
10990
+ CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME as K,
10665
10991
  LayoutContent as L,
10666
- useCreateWorkflowMutation as M,
10992
+ ConfirmDialog as M,
10667
10993
  NpsSurvey as N,
10668
- useUpdateWorkflowMutation as O,
10994
+ LimitsModal as O,
10669
10995
  Page as P,
10670
- useDeleteWorkflowMutation as Q,
10996
+ DragLayer as Q,
10671
10997
  RBACProvider as R,
10672
10998
  StrapiLogo as S,
10673
10999
  Table as T,
10674
11000
  UnauthenticatedLayout as U,
10675
- CHARGEBEE_STAGES_PER_WORKFLOW_ENTITLEMENT_NAME as V,
10676
- useInjectReducer as W,
10677
- REDUX_NAMESPACE as X,
10678
- BackButton as Y,
10679
- useGetRolesQuery as Z,
10680
- ACTION_SET_WORKFLOW as _,
10681
- Logo as a,
10682
- ATTRIBUTE_TYPES_THAT_CANNOT_BE_MAIN_FIELD as a$,
10683
- ACTION_ADD_STAGE as a0,
10684
- ACTION_RESET_WORKFLOW as a1,
10685
- ACTION_SET_CONTENT_TYPES as a2,
10686
- ACTION_SET_ROLES as a3,
10687
- ACTION_SET_IS_LOADING as a4,
10688
- ACTION_UPDATE_WORKFLOW as a5,
10689
- ACTION_CLONE_STAGE as a6,
10690
- ACTION_DELETE_STAGE as a7,
10691
- ACTION_UPDATE_STAGE as a8,
10692
- ACTION_UPDATE_STAGES as a9,
10693
- contentManagerApi as aA,
10694
- buildValidParams as aB,
10695
- RelationsField as aC,
10696
- setPermissions as aD,
10697
- resetPermissions as aE,
10698
- useContentTypeSchema as aF,
10699
- useGetContentTypeConfigurationQuery as aG,
10700
- CREATOR_FIELDS as aH,
10701
- getMainField as aI,
10702
- getRelationLabel as aJ,
10703
- useGetRelationsQuery as aK,
10704
- checkIfAttributeIsDisplayable as aL,
10705
- useGetAllDocumentsQuery as aM,
10706
- InjectionZone as aN,
10707
- SearchInput as aO,
10708
- DocumentStatus as aP,
10709
- TableActions as aQ,
10710
- HOOKS as aR,
10711
- convertListLayoutToFieldLayouts as aS,
10712
- capitalise as aT,
10713
- CardDragPreview as aU,
10714
- useUpdateContentTypeConfigurationMutation as aV,
10715
- setIn as aW,
10716
- useGetInitialDataQuery as aX,
10717
- extractContentTypeComponents as aY,
10718
- DEFAULT_SETTINGS as aZ,
10719
- convertEditLayoutToFieldLayouts as a_,
10720
- ACTION_UPDATE_STAGE_POSITION as aa,
10721
- STAGE_COLOR_DEFAULT as ab,
10722
- getAvailableStageColors as ac,
10723
- useDragAndDrop as ad,
10724
- getStageColorByHex as ae,
10725
- useGetProviderOptionsQuery as af,
10726
- useUpdateProviderOptionsMutation as ag,
10727
- useDoc as ah,
10728
- useDocumentRBAC as ai,
10729
- useDocumentLayout as aj,
10730
- createYupSchema as ak,
10731
- Header as al,
10732
- getTranslation as am,
10733
- Panels as an,
10734
- Blocker as ao,
10735
- DocumentRBAC as ap,
10736
- SINGLE_TYPES as aq,
10737
- prefixFileUrlWithBackendUrl as ar,
10738
- DIRECTIONS as as,
10739
- ItemTypes as at,
10740
- DOCUMENT_META_FIELDS as au,
10741
- useDocLayout as av,
10742
- useComponent as aw,
10743
- ComponentProvider as ax,
10744
- useForm as ay,
10745
- getIn as az,
10746
- useGuidedTour as b,
10747
- useGetProvidersQuery as b0,
10748
- Login as b1,
10749
- Column as b2,
10750
- useGetRolePermissionLayoutQuery as b3,
10751
- useGetRolePermissionsQuery as b4,
10752
- useCreateRoleMutation as b5,
10753
- useUpdateRolePermissionsMutation as b6,
10754
- isObject as b7,
10755
- useUpdateRoleMutation as b8,
10756
- useCreateUserMutation as b9,
10757
- useDeleteManyUsersMutation as ba,
10758
- getBasename as bb,
10759
- useUpdateUserMutation as bc,
10760
- RelativeTime as bd,
10761
- useRegenerateTokenMutation as be,
10762
- COLLECTION_TYPES as bf,
10763
- useDocument as bg,
10764
- STAGE_ATTRIBUTE_NAME as bh,
10765
- ASSIGNEE_ATTRIBUTE_NAME as bi,
10766
- renderAdmin as bj,
10767
- useTable as bk,
10768
- useDocumentActions as bl,
10769
- constants as bm,
10770
- useTracking as c,
10771
- useConfiguration as d,
10772
- useStrapiApp as e,
10773
- useInformationQuery as f,
10774
- useGetMyPermissionsQuery as g,
10775
- useIsHistoryRoute as h,
10776
- getDisplayName as i,
10777
- createTypedSelector as j,
10778
- useEnterprise as k,
10779
- adminApi as l,
10780
- useAPIErrorHandler as m,
10781
- errorsTrads as n,
10782
- useTypedSelector as o,
10783
- useTypedDispatch as p,
10784
- useUpdateMeMutation as q,
10785
- useIsSSOLockedQuery as r,
10786
- setAppTheme as s,
10787
- isBaseQueryError as t,
10788
- useAuth as u,
10789
- useGetPluginsQuery as v,
10790
- Pagination as w,
10791
- SETTINGS_LINKS_CE as x,
10792
- useAdminUsers as y,
10793
- useField as z
10794
- };
10795
- //# sourceMappingURL=index-hjUhNUvw.mjs.map
11001
+ DRAG_DROP_TYPES as V,
11002
+ useGetWorkflowsQuery as W,
11003
+ useCreateWorkflowMutation as X,
11004
+ useUpdateWorkflowMutation as Y,
11005
+ useDeleteWorkflowMutation as Z,
11006
+ CHARGEBEE_STAGES_PER_WORKFLOW_ENTITLEMENT_NAME as _,
11007
+ useAuth as a,
11008
+ useUpdateContentTypeConfigurationMutation as a$,
11009
+ REDUX_NAMESPACE as a0,
11010
+ BackButton as a1,
11011
+ useGetRolesQuery as a2,
11012
+ ACTION_SET_WORKFLOW as a3,
11013
+ ACTION_SET_WORKFLOWS as a4,
11014
+ ACTION_ADD_STAGE as a5,
11015
+ ACTION_RESET_WORKFLOW as a6,
11016
+ ACTION_SET_CONTENT_TYPES as a7,
11017
+ ACTION_SET_ROLES as a8,
11018
+ ACTION_SET_IS_LOADING as a9,
11019
+ useDocLayout as aA,
11020
+ useComponent as aB,
11021
+ ComponentProvider as aC,
11022
+ useForm as aD,
11023
+ getIn as aE,
11024
+ contentManagerApi as aF,
11025
+ buildValidParams as aG,
11026
+ useFocusInputField as aH,
11027
+ RelationsField as aI,
11028
+ setPermissions as aJ,
11029
+ resetPermissions as aK,
11030
+ useContentTypeSchema as aL,
11031
+ useGetContentTypeConfigurationQuery as aM,
11032
+ CREATOR_FIELDS as aN,
11033
+ getMainField as aO,
11034
+ getRelationLabel as aP,
11035
+ useGetRelationsQuery as aQ,
11036
+ checkIfAttributeIsDisplayable as aR,
11037
+ useGetAllDocumentsQuery as aS,
11038
+ InjectionZone as aT,
11039
+ SearchInput as aU,
11040
+ DocumentStatus as aV,
11041
+ TableActions as aW,
11042
+ HOOKS as aX,
11043
+ convertListLayoutToFieldLayouts as aY,
11044
+ capitalise as aZ,
11045
+ CardDragPreview as a_,
11046
+ ACTION_UPDATE_WORKFLOW as aa,
11047
+ ACTION_CLONE_STAGE as ab,
11048
+ ACTION_DELETE_STAGE as ac,
11049
+ ACTION_UPDATE_STAGE as ad,
11050
+ ACTION_UPDATE_STAGES as ae,
11051
+ ACTION_UPDATE_STAGE_POSITION as af,
11052
+ STAGE_COLOR_DEFAULT as ag,
11053
+ getAvailableStageColors as ah,
11054
+ useDragAndDrop as ai,
11055
+ getStageColorByHex as aj,
11056
+ useGetProviderOptionsQuery as ak,
11057
+ useUpdateProviderOptionsMutation as al,
11058
+ useDoc as am,
11059
+ useDocumentRBAC as an,
11060
+ useDocumentLayout as ao,
11061
+ createYupSchema as ap,
11062
+ Header as aq,
11063
+ getTranslation as ar,
11064
+ Panels as as,
11065
+ Blocker as at,
11066
+ DocumentRBAC as au,
11067
+ SINGLE_TYPES as av,
11068
+ prefixFileUrlWithBackendUrl as aw,
11069
+ DIRECTIONS as ax,
11070
+ ItemTypes as ay,
11071
+ DOCUMENT_META_FIELDS as az,
11072
+ Logo as b,
11073
+ setIn as b0,
11074
+ useGetInitialDataQuery as b1,
11075
+ extractContentTypeComponents as b2,
11076
+ DEFAULT_SETTINGS as b3,
11077
+ convertEditLayoutToFieldLayouts as b4,
11078
+ ATTRIBUTE_TYPES_THAT_CANNOT_BE_MAIN_FIELD as b5,
11079
+ useGetProvidersQuery as b6,
11080
+ Login as b7,
11081
+ Column as b8,
11082
+ useFetchClient as b9,
11083
+ useGetRolePermissionLayoutQuery as ba,
11084
+ useGetRolePermissionsQuery as bb,
11085
+ useCreateRoleMutation as bc,
11086
+ useUpdateRolePermissionsMutation as bd,
11087
+ isObject as be,
11088
+ useUpdateRoleMutation as bf,
11089
+ useCreateUserMutation as bg,
11090
+ useDeleteManyUsersMutation as bh,
11091
+ getBasename as bi,
11092
+ useUpdateUserMutation as bj,
11093
+ RelativeTime as bk,
11094
+ useRegenerateTokenMutation as bl,
11095
+ COLLECTION_TYPES as bm,
11096
+ useDocument as bn,
11097
+ STAGE_ATTRIBUTE_NAME as bo,
11098
+ ASSIGNEE_ATTRIBUTE_NAME as bp,
11099
+ NotificationsProvider as bq,
11100
+ getFetchClient as br,
11101
+ renderAdmin as bs,
11102
+ useTable as bt,
11103
+ useDocumentActions as bu,
11104
+ constants as bv,
11105
+ useGuidedTour as c,
11106
+ useTracking as d,
11107
+ useConfiguration as e,
11108
+ useAppInfo as f,
11109
+ getDisplayName as g,
11110
+ useStrapiApp as h,
11111
+ useInformationQuery as i,
11112
+ useGetMyPermissionsQuery as j,
11113
+ useIsHistoryRoute as k,
11114
+ createTypedSelector as l,
11115
+ useEnterprise as m,
11116
+ adminApi as n,
11117
+ useAPIErrorHandler as o,
11118
+ errorsTrads as p,
11119
+ useTypedSelector as q,
11120
+ useTypedDispatch as r,
11121
+ useUpdateMeMutation as s,
11122
+ useIsSSOLockedQuery as t,
11123
+ useNotification as u,
11124
+ setAppTheme as v,
11125
+ isBaseQueryError as w,
11126
+ useGetPluginsQuery as x,
11127
+ useClipboard as y,
11128
+ useQueryParams as z
11129
+ };
11130
+ //# sourceMappingURL=index-GIVuHJgC.mjs.map