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

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 (374) hide show
  1. package/dist/_chunks/{AdminSeatInfo-l78lfIiY.mjs → AdminSeatInfo-20pkL95U.mjs} +3 -3
  2. package/dist/_chunks/{AdminSeatInfo-l78lfIiY.mjs.map → AdminSeatInfo-20pkL95U.mjs.map} +1 -1
  3. package/dist/_chunks/{AdminSeatInfo-YaA1q_2d.js → AdminSeatInfo-TjK5LW2b.js} +3 -3
  4. package/dist/_chunks/{AdminSeatInfo-YaA1q_2d.js.map → AdminSeatInfo-TjK5LW2b.js.map} +1 -1
  5. package/dist/_chunks/{ApplicationInfoPage-PHLA1Ysy.js → ApplicationInfoPage-1OdKMDYH.js} +11 -12
  6. package/dist/_chunks/ApplicationInfoPage-1OdKMDYH.js.map +1 -0
  7. package/dist/_chunks/{ApplicationInfoPage-Zn5JU2zd.mjs → ApplicationInfoPage-ed6y9Q-B.mjs} +12 -13
  8. package/dist/_chunks/ApplicationInfoPage-ed6y9Q-B.mjs.map +1 -0
  9. package/dist/_chunks/{AuthResponse-1aYRF7_3.mjs → AuthResponse-Hxop00n-.mjs} +2 -2
  10. package/dist/_chunks/{AuthResponse-1aYRF7_3.mjs.map → AuthResponse-Hxop00n-.mjs.map} +1 -1
  11. package/dist/_chunks/{AuthResponse-7NG3smr6.js → AuthResponse-sca_wjIN.js} +2 -2
  12. package/dist/_chunks/{AuthResponse-7NG3smr6.js.map → AuthResponse-sca_wjIN.js.map} +1 -1
  13. package/dist/_chunks/{AuthenticatedLayout-5r4rzKeb.js → AuthenticatedLayout-PPlOm7kb.js} +14 -11
  14. package/dist/_chunks/AuthenticatedLayout-PPlOm7kb.js.map +1 -0
  15. package/dist/_chunks/{AuthenticatedLayout-a7KNOdln.mjs → AuthenticatedLayout-knXNB2i2.mjs} +11 -9
  16. package/dist/_chunks/AuthenticatedLayout-knXNB2i2.mjs.map +1 -0
  17. package/dist/_chunks/{ComponentConfigurationPage-pb8HhFAg.mjs → ComponentConfigurationPage-okd3XovW.mjs} +11 -12
  18. package/dist/_chunks/ComponentConfigurationPage-okd3XovW.mjs.map +1 -0
  19. package/dist/_chunks/{ComponentConfigurationPage-R3qV_iCR.js → ComponentConfigurationPage-xZMDjeVf.js} +11 -12
  20. package/dist/_chunks/ComponentConfigurationPage-xZMDjeVf.js.map +1 -0
  21. package/dist/_chunks/{CreateActionEE-a2zWCIpQ.js → CreateActionEE-E6YNdAVx.js} +2 -2
  22. package/dist/_chunks/{CreateActionEE-a2zWCIpQ.js.map → CreateActionEE-E6YNdAVx.js.map} +1 -1
  23. package/dist/_chunks/{CreateActionEE-hb4Pr-SD.mjs → CreateActionEE-PaZYJ410.mjs} +2 -2
  24. package/dist/_chunks/{CreateActionEE-hb4Pr-SD.mjs.map → CreateActionEE-PaZYJ410.mjs.map} +1 -1
  25. package/dist/_chunks/{CreatePage-nl6zKkKT.js → CreatePage-1Oi4-aR6.js} +17 -16
  26. package/dist/_chunks/CreatePage-1Oi4-aR6.js.map +1 -0
  27. package/dist/_chunks/{CreatePage-UC4uBFUR.mjs → CreatePage-6458K0l9.mjs} +3 -3
  28. package/dist/_chunks/{CreatePage-UC4uBFUR.mjs.map → CreatePage-6458K0l9.mjs.map} +1 -1
  29. package/dist/_chunks/{CreatePage-NSKUL8l4.js → CreatePage-DmNFNVN9.js} +10 -9
  30. package/dist/_chunks/CreatePage-DmNFNVN9.js.map +1 -0
  31. package/dist/_chunks/{CreatePage-Bil0egZ1.mjs → CreatePage-P1F3dkB3.mjs} +17 -16
  32. package/dist/_chunks/CreatePage-P1F3dkB3.mjs.map +1 -0
  33. package/dist/_chunks/{CreatePage-h5L6QP47.mjs → CreatePage-PM_r99U5.mjs} +10 -9
  34. package/dist/_chunks/CreatePage-PM_r99U5.mjs.map +1 -0
  35. package/dist/_chunks/{CreatePage-MAI6XyNg.js → CreatePage-hlkPO2Cv.js} +3 -3
  36. package/dist/_chunks/{CreatePage-MAI6XyNg.js.map → CreatePage-hlkPO2Cv.js.map} +1 -1
  37. package/dist/_chunks/{CreateView-kc0iM0LS.js → CreateView-AWmN1xWJ.js} +3 -3
  38. package/dist/_chunks/{CreateView-kc0iM0LS.js.map → CreateView-AWmN1xWJ.js.map} +1 -1
  39. package/dist/_chunks/{CreateView-RVrFxAFt.mjs → CreateView-cTvLLIgu.mjs} +3 -3
  40. package/dist/_chunks/{CreateView-RVrFxAFt.mjs.map → CreateView-cTvLLIgu.mjs.map} +1 -1
  41. package/dist/_chunks/{CreateView-3DMhoCPN.js → CreateView-hUH4bf5k.js} +3 -3
  42. package/dist/_chunks/{CreateView-3DMhoCPN.js.map → CreateView-hUH4bf5k.js.map} +1 -1
  43. package/dist/_chunks/{CreateView-DuSt3AcE.mjs → CreateView-pBI75ZwZ.mjs} +3 -3
  44. package/dist/_chunks/{CreateView-DuSt3AcE.mjs.map → CreateView-pBI75ZwZ.mjs.map} +1 -1
  45. package/dist/_chunks/{EditConfigurationPage-y_TvxjZM.mjs → EditConfigurationPage-LItt0mJo.mjs} +10 -11
  46. package/dist/_chunks/EditConfigurationPage-LItt0mJo.mjs.map +1 -0
  47. package/dist/_chunks/{EditConfigurationPage-OpEZOvAG.js → EditConfigurationPage-PZ4yq1bM.js} +10 -11
  48. package/dist/_chunks/EditConfigurationPage-PZ4yq1bM.js.map +1 -0
  49. package/dist/_chunks/{EditPage-_swY0Hy-.mjs → EditPage--EPGgPNr.mjs} +11 -10
  50. package/dist/_chunks/EditPage--EPGgPNr.mjs.map +1 -0
  51. package/dist/_chunks/{EditPage-fDVAYmuS.mjs → EditPage-30rqjB1d.mjs} +16 -16
  52. package/dist/_chunks/EditPage-30rqjB1d.mjs.map +1 -0
  53. package/dist/_chunks/{EditPage-wfPrhkA7.mjs → EditPage-GRIZWtGz.mjs} +19 -18
  54. package/dist/_chunks/{EditPage-wfPrhkA7.mjs.map → EditPage-GRIZWtGz.mjs.map} +1 -1
  55. package/dist/_chunks/{EditPage-VoRR5DCQ.mjs → EditPage-MPNLCYgQ.mjs} +14 -14
  56. package/dist/_chunks/EditPage-MPNLCYgQ.mjs.map +1 -0
  57. package/dist/_chunks/{EditPage-QoDSqYYq.js → EditPage-RpzlPkkU.js} +19 -18
  58. package/dist/_chunks/{EditPage-QoDSqYYq.js.map → EditPage-RpzlPkkU.js.map} +1 -1
  59. package/dist/_chunks/{EditPage-9aK8IFXY.js → EditPage-W6hncyNY.js} +15 -15
  60. package/dist/_chunks/EditPage-W6hncyNY.js.map +1 -0
  61. package/dist/_chunks/{EditPage-A6olBfVm.js → EditPage-_N_lm93z.js} +13 -13
  62. package/dist/_chunks/EditPage-_N_lm93z.js.map +1 -0
  63. package/dist/_chunks/{EditPage-PpBP7TBo.js → EditPage-mU2WAH0F.js} +11 -10
  64. package/dist/_chunks/EditPage-mU2WAH0F.js.map +1 -0
  65. package/dist/_chunks/{EditView-EuUw_2zc.mjs → EditView-0lXpbgG0.mjs} +12 -12
  66. package/dist/_chunks/EditView-0lXpbgG0.mjs.map +1 -0
  67. package/dist/_chunks/{EditView-C_ynfmtW.js → EditView-wDP9PNQY.js} +11 -11
  68. package/dist/_chunks/EditView-wDP9PNQY.js.map +1 -0
  69. package/dist/_chunks/{EditViewPage-Z_e1dpbU.js → EditViewPage-0Pd8zBi7.js} +16 -15
  70. package/dist/_chunks/EditViewPage-0Pd8zBi7.js.map +1 -0
  71. package/dist/_chunks/{EditViewPage-xYzUSAwS.mjs → EditViewPage-R6diW-gL.mjs} +7 -7
  72. package/dist/_chunks/EditViewPage-R6diW-gL.mjs.map +1 -0
  73. package/dist/_chunks/{EditViewPage-XtJmgPi5.js → EditViewPage-ed0-10GO.js} +6 -6
  74. package/dist/_chunks/EditViewPage-ed0-10GO.js.map +1 -0
  75. package/dist/_chunks/{EditViewPage-8uPO5GWR.mjs → EditViewPage-uWYR_o8w.mjs} +15 -15
  76. package/dist/_chunks/EditViewPage-uWYR_o8w.mjs.map +1 -0
  77. package/dist/_chunks/{EventsTable-WP7PUujH.mjs → EventsTable-CqN6AzV9.mjs} +2 -2
  78. package/dist/_chunks/{EventsTable-WP7PUujH.mjs.map → EventsTable-CqN6AzV9.mjs.map} +1 -1
  79. package/dist/_chunks/{EventsTable-hI0aV29K.js → EventsTable-R_AHW6Z4.js} +2 -2
  80. package/dist/_chunks/{EventsTable-hI0aV29K.js.map → EventsTable-R_AHW6Z4.js.map} +1 -1
  81. package/dist/_chunks/{FieldTypeIcon-OeDSkshr.js → FieldTypeIcon-1WDWx0cR.js} +2 -2
  82. package/dist/_chunks/{FieldTypeIcon-OeDSkshr.js.map → FieldTypeIcon-1WDWx0cR.js.map} +1 -1
  83. package/dist/_chunks/{FieldTypeIcon-Is5Qjngf.mjs → FieldTypeIcon-rAK1gg9p.mjs} +2 -2
  84. package/dist/_chunks/{FieldTypeIcon-Is5Qjngf.mjs.map → FieldTypeIcon-rAK1gg9p.mjs.map} +1 -1
  85. package/dist/_chunks/{Filters-xVuf1kg6.js → Filters-f6ghLf0Z.js} +2 -2
  86. package/dist/_chunks/{Filters-xVuf1kg6.js.map → Filters-f6ghLf0Z.js.map} +1 -1
  87. package/dist/_chunks/{Filters-tMd2Q5jg.mjs → Filters-rPaxqj4F.mjs} +2 -2
  88. package/dist/_chunks/{Filters-tMd2Q5jg.mjs.map → Filters-rPaxqj4F.mjs.map} +1 -1
  89. package/dist/_chunks/{Form-sZKjSFQC.mjs → Form-QOZA9Aq6.mjs} +6 -5
  90. package/dist/_chunks/Form-QOZA9Aq6.mjs.map +1 -0
  91. package/dist/_chunks/{Form-EiK_H9BI.js → Form-eqzCPjSo.js} +6 -5
  92. package/dist/_chunks/Form-eqzCPjSo.js.map +1 -0
  93. package/dist/_chunks/{History-1AF4LH3c.mjs → History-Eq4_WQPf.mjs} +4 -4
  94. package/dist/_chunks/{History-1AF4LH3c.mjs.map → History-Eq4_WQPf.mjs.map} +1 -1
  95. package/dist/_chunks/{History-V_ik1IL0.js → History-j00hpmXV.js} +4 -4
  96. package/dist/_chunks/{History-V_ik1IL0.js.map → History-j00hpmXV.js.map} +1 -1
  97. package/dist/_chunks/{HomePage-yrIp1-eG.js → HomePage-3IVOMrYf.js} +6 -5
  98. package/dist/_chunks/HomePage-3IVOMrYf.js.map +1 -0
  99. package/dist/_chunks/{HomePage-zL7HPV7A.js → HomePage-79fqDlve.js} +3 -3
  100. package/dist/_chunks/{HomePage-zL7HPV7A.js.map → HomePage-79fqDlve.js.map} +1 -1
  101. package/dist/_chunks/{HomePage-C6Ivli1q.mjs → HomePage-O-TRGX5T.mjs} +6 -5
  102. package/dist/_chunks/HomePage-O-TRGX5T.mjs.map +1 -0
  103. package/dist/_chunks/{HomePage-7Xva17wM.mjs → HomePage-gTElgmEK.mjs} +3 -3
  104. package/dist/_chunks/{HomePage-7Xva17wM.mjs.map → HomePage-gTElgmEK.mjs.map} +1 -1
  105. package/dist/_chunks/{InputRenderer-RMnWnPI4.js → InputRenderer-AVDw8MeU.js} +12 -19
  106. package/dist/_chunks/InputRenderer-AVDw8MeU.js.map +1 -0
  107. package/dist/_chunks/{InputRenderer-iP1kRki4.mjs → InputRenderer-bJwYq9ga.mjs} +13 -20
  108. package/dist/_chunks/InputRenderer-bJwYq9ga.mjs.map +1 -0
  109. package/dist/_chunks/{InstalledPluginsPage-PrMyistN.js → InstalledPluginsPage-FkR2xkQz.js} +5 -5
  110. package/dist/_chunks/InstalledPluginsPage-FkR2xkQz.js.map +1 -0
  111. package/dist/_chunks/{InstalledPluginsPage-7m_FfOGl.mjs → InstalledPluginsPage-R2hVFPZl.mjs} +6 -6
  112. package/dist/_chunks/InstalledPluginsPage-R2hVFPZl.mjs.map +1 -0
  113. package/dist/_chunks/{Layout-9Li8e-qi.js → Layout-G49-Vc5u.js} +5 -5
  114. package/dist/_chunks/Layout-G49-Vc5u.js.map +1 -0
  115. package/dist/_chunks/{Layout-EDS3Yv8X.mjs → Layout-cV6Se3U9.mjs} +6 -6
  116. package/dist/_chunks/Layout-cV6Se3U9.mjs.map +1 -0
  117. package/dist/_chunks/{Layout-DC68R0Fa.js → Layout-jweb3cF3.js} +2 -2
  118. package/dist/_chunks/{Layout-DC68R0Fa.js.map → Layout-jweb3cF3.js.map} +1 -1
  119. package/dist/_chunks/{Layout-tDfvrUZo.mjs → Layout-omCNy92r.mjs} +2 -2
  120. package/dist/_chunks/{Layout-tDfvrUZo.mjs.map → Layout-omCNy92r.mjs.map} +1 -1
  121. package/dist/_chunks/{ListConfigurationPage-Gl8AA-2t.js → ListConfigurationPage-70qtv4Ci.js} +11 -10
  122. package/dist/_chunks/ListConfigurationPage-70qtv4Ci.js.map +1 -0
  123. package/dist/_chunks/{ListConfigurationPage-7O7HiJjG.mjs → ListConfigurationPage-PrJNO_6y.mjs} +11 -10
  124. package/dist/_chunks/ListConfigurationPage-PrJNO_6y.mjs.map +1 -0
  125. package/dist/_chunks/{ListPage-em8KMoKx.js → ListPage-2lswUYQN.js} +14 -14
  126. package/dist/_chunks/ListPage-2lswUYQN.js.map +1 -0
  127. package/dist/_chunks/{ListPage-_i7RNkUF.js → ListPage-78Cv8Vfq.js} +8 -8
  128. package/dist/_chunks/ListPage-78Cv8Vfq.js.map +1 -0
  129. package/dist/_chunks/{ListPage-skKuhRrN.js → ListPage-7dZ3nYvc.js} +12 -11
  130. package/dist/_chunks/ListPage-7dZ3nYvc.js.map +1 -0
  131. package/dist/_chunks/{ListPage-DZBRIMkE.mjs → ListPage-Cvn3WbMH.mjs} +14 -14
  132. package/dist/_chunks/ListPage-Cvn3WbMH.mjs.map +1 -0
  133. package/dist/_chunks/{ListPage-0eDZZ7Zw.js → ListPage-Ms6egnF5.js} +3 -3
  134. package/dist/_chunks/{ListPage-0eDZZ7Zw.js.map → ListPage-Ms6egnF5.js.map} +1 -1
  135. package/dist/_chunks/{ListPage-Ky2tG2bd.mjs → ListPage-NmUS_cOz.mjs} +9 -9
  136. package/dist/_chunks/ListPage-NmUS_cOz.mjs.map +1 -0
  137. package/dist/_chunks/{ListPage-NdzVJ_Ed.js → ListPage-Pf5LxUYn.js} +11 -9
  138. package/dist/_chunks/ListPage-Pf5LxUYn.js.map +1 -0
  139. package/dist/_chunks/{ListPage-cBvO_gYR.mjs → ListPage-Q81SX0vA.mjs} +3 -3
  140. package/dist/_chunks/{ListPage-cBvO_gYR.mjs.map → ListPage-Q81SX0vA.mjs.map} +1 -1
  141. package/dist/_chunks/{ListPage-RlY1nro4.mjs → ListPage-edro79m2.mjs} +9 -9
  142. package/dist/_chunks/ListPage-edro79m2.mjs.map +1 -0
  143. package/dist/_chunks/{ListPage-1q5Fi4W9.mjs → ListPage-mAUCZIg8.mjs} +14 -13
  144. package/dist/_chunks/ListPage-mAUCZIg8.mjs.map +1 -0
  145. package/dist/_chunks/{ListPage-God7L19W.mjs → ListPage-xFkcmM1b.mjs} +15 -15
  146. package/dist/_chunks/ListPage-xFkcmM1b.mjs.map +1 -0
  147. package/dist/_chunks/{ListPage-aElBcYPH.js → ListPage-yymh17qi.js} +13 -13
  148. package/dist/_chunks/ListPage-yymh17qi.js.map +1 -0
  149. package/dist/_chunks/{ListView-hm-mjZ8N.mjs → ListView--43zLiHW.mjs} +11 -11
  150. package/dist/_chunks/ListView--43zLiHW.mjs.map +1 -0
  151. package/dist/_chunks/{ListView--mxDKrnG.js → ListView-YtMAQnXL.js} +10 -10
  152. package/dist/_chunks/ListView-YtMAQnXL.js.map +1 -0
  153. package/dist/_chunks/{ListView-vP-PjR4p.js → ListView-nfA6o3qO.js} +9 -9
  154. package/dist/_chunks/ListView-nfA6o3qO.js.map +1 -0
  155. package/dist/_chunks/{ListView-QEgFV6dm.mjs → ListView-qPiKeCxj.mjs} +10 -10
  156. package/dist/_chunks/ListView-qPiKeCxj.mjs.map +1 -0
  157. package/dist/_chunks/{ListViewPage-NiwpwxBR.js → ListViewPage-Ys7-G2XX.js} +9 -9
  158. package/dist/_chunks/ListViewPage-Ys7-G2XX.js.map +1 -0
  159. package/dist/_chunks/{ListViewPage-xOVa04T_.mjs → ListViewPage-fPFonK_X.mjs} +10 -10
  160. package/dist/_chunks/ListViewPage-fPFonK_X.mjs.map +1 -0
  161. package/dist/_chunks/{Login-IFCsIrab.mjs → Login-6kXI90Vy.mjs} +2 -2
  162. package/dist/_chunks/{Login-IFCsIrab.mjs.map → Login-6kXI90Vy.mjs.map} +1 -1
  163. package/dist/_chunks/{Login-0FtP5Ck_.js → Login-Ge3DZEpr.js} +2 -2
  164. package/dist/_chunks/{Login-0FtP5Ck_.js.map → Login-Ge3DZEpr.js.map} +1 -1
  165. package/dist/_chunks/{MagicLinkEE-eaU4kQ6o.mjs → MagicLinkEE-HXWaLr0K.mjs} +3 -3
  166. package/dist/_chunks/{MagicLinkEE-eaU4kQ6o.mjs.map → MagicLinkEE-HXWaLr0K.mjs.map} +1 -1
  167. package/dist/_chunks/{MagicLinkEE-S7dXBaH0.js → MagicLinkEE-sXtA2gUK.js} +3 -3
  168. package/dist/_chunks/{MagicLinkEE-S7dXBaH0.js.map → MagicLinkEE-sXtA2gUK.js.map} +1 -1
  169. package/dist/_chunks/{MarketplacePage-f0ZrC_p8.mjs → MarketplacePage-hVOJ9_0k.mjs} +15 -20
  170. package/dist/_chunks/MarketplacePage-hVOJ9_0k.mjs.map +1 -0
  171. package/dist/_chunks/{MarketplacePage-zSQ_GRnZ.js → MarketplacePage-s8KDwNwK.js} +14 -19
  172. package/dist/_chunks/MarketplacePage-s8KDwNwK.js.map +1 -0
  173. package/dist/_chunks/{NoContentTypePage-_XU8B8oQ.js → NoContentTypePage-7YEcgsE3.js} +2 -2
  174. package/dist/_chunks/{NoContentTypePage-_XU8B8oQ.js.map → NoContentTypePage-7YEcgsE3.js.map} +1 -1
  175. package/dist/_chunks/{NoContentTypePage-ER4yVLjV.mjs → NoContentTypePage-szvJnQKF.mjs} +2 -2
  176. package/dist/_chunks/{NoContentTypePage-ER4yVLjV.mjs.map → NoContentTypePage-szvJnQKF.mjs.map} +1 -1
  177. package/dist/_chunks/{NoPermissionsPage-5A4Hwjad.js → NoPermissionsPage-UX-5msLb.js} +2 -2
  178. package/dist/_chunks/{NoPermissionsPage-5A4Hwjad.js.map → NoPermissionsPage-UX-5msLb.js.map} +1 -1
  179. package/dist/_chunks/{NoPermissionsPage-DcFRsCHz.mjs → NoPermissionsPage-pqQFFlXa.mjs} +2 -2
  180. package/dist/_chunks/{NoPermissionsPage-DcFRsCHz.mjs.map → NoPermissionsPage-pqQFFlXa.mjs.map} +1 -1
  181. package/dist/_chunks/{Permissions-Ke5fqSQ2.mjs → Permissions-NUaDxULo.mjs} +3 -3
  182. package/dist/_chunks/Permissions-NUaDxULo.mjs.map +1 -0
  183. package/dist/_chunks/{Permissions--rdF1ZKQ.js → Permissions-a0IZJ8dM.js} +6 -5
  184. package/dist/_chunks/Permissions-a0IZJ8dM.js.map +1 -0
  185. package/dist/_chunks/{PrivateRoute-GLTcdbu8.js → PrivateRoute-KGxyTa5b.js} +2 -2
  186. package/dist/_chunks/{PrivateRoute-GLTcdbu8.js.map → PrivateRoute-KGxyTa5b.js.map} +1 -1
  187. package/dist/_chunks/{PrivateRoute-dWrZb-9J.mjs → PrivateRoute-eP4-pBby.mjs} +2 -2
  188. package/dist/_chunks/{PrivateRoute-dWrZb-9J.mjs.map → PrivateRoute-eP4-pBby.mjs.map} +1 -1
  189. package/dist/_chunks/{ProfilePage-bE7txhNu.mjs → ProfilePage-LXB-_EZ8.mjs} +14 -14
  190. package/dist/_chunks/ProfilePage-LXB-_EZ8.mjs.map +1 -0
  191. package/dist/_chunks/{ProfilePage-EEcNKnGH.js → ProfilePage-MBCGqbc_.js} +13 -13
  192. package/dist/_chunks/ProfilePage-MBCGqbc_.js.map +1 -0
  193. package/dist/_chunks/{ReviewWorkflowsColumn-hJRkAN5a.js → ReviewWorkflowsColumn-Ancp7-x3.js} +2 -2
  194. package/dist/_chunks/{ReviewWorkflowsColumn-hJRkAN5a.js.map → ReviewWorkflowsColumn-Ancp7-x3.js.map} +1 -1
  195. package/dist/_chunks/{ReviewWorkflowsColumn-FDxVKdto.mjs → ReviewWorkflowsColumn-WzYpj2O3.mjs} +2 -2
  196. package/dist/_chunks/{ReviewWorkflowsColumn-FDxVKdto.mjs.map → ReviewWorkflowsColumn-WzYpj2O3.mjs.map} +1 -1
  197. package/dist/_chunks/{SelectRoles-Iih1yeTu.mjs → SelectRoles-Dxz_rAaT.mjs} +6 -9
  198. package/dist/_chunks/SelectRoles-Dxz_rAaT.mjs.map +1 -0
  199. package/dist/_chunks/{SelectRoles-XK5HcBdP.js → SelectRoles-Pr2wqehq.js} +5 -8
  200. package/dist/_chunks/SelectRoles-Pr2wqehq.js.map +1 -0
  201. package/dist/_chunks/{SingleSignOnPage-uURRsIxP.js → SingleSignOnPage-4dK4id8H.js} +9 -9
  202. package/dist/_chunks/SingleSignOnPage-4dK4id8H.js.map +1 -0
  203. package/dist/_chunks/{SingleSignOnPage-vOeDxBfa.mjs → SingleSignOnPage-gxgIeURz.mjs} +10 -10
  204. package/dist/_chunks/SingleSignOnPage-gxgIeURz.mjs.map +1 -0
  205. package/dist/_chunks/{Table-k6gVR2KH.mjs → Table-NiTkS4IC.mjs} +2 -2
  206. package/dist/_chunks/{Table-k6gVR2KH.mjs.map → Table-NiTkS4IC.mjs.map} +1 -1
  207. package/dist/_chunks/{Table-VsNr4Mha.js → Table-_9gVkGGi.js} +2 -2
  208. package/dist/_chunks/{Table-VsNr4Mha.js.map → Table-_9gVkGGi.js.map} +1 -1
  209. package/dist/_chunks/{TokenTypeSelect-QN_bDdss.js → TokenTypeSelect-3aWUm1cW.js} +10 -10
  210. package/dist/_chunks/TokenTypeSelect-3aWUm1cW.js.map +1 -0
  211. package/dist/_chunks/{TokenTypeSelect-Z9iyoteG.mjs → TokenTypeSelect-jtfCyMMZ.mjs} +10 -10
  212. package/dist/_chunks/TokenTypeSelect-jtfCyMMZ.mjs.map +1 -0
  213. package/dist/_chunks/{UseCasePage-qJwKBweD.mjs → UseCasePage-0qXYZ8kt.mjs} +7 -6
  214. package/dist/_chunks/UseCasePage-0qXYZ8kt.mjs.map +1 -0
  215. package/dist/_chunks/{UseCasePage-xAlTWOcX.js → UseCasePage-QK-B8FfM.js} +7 -6
  216. package/dist/_chunks/UseCasePage-QK-B8FfM.js.map +1 -0
  217. package/dist/_chunks/{apiTokens-dGGyJI-w.mjs → apiTokens-DO6vkoyd.mjs} +2 -2
  218. package/dist/_chunks/{apiTokens-dGGyJI-w.mjs.map → apiTokens-DO6vkoyd.mjs.map} +1 -1
  219. package/dist/_chunks/{apiTokens-b3w4qO8B.js → apiTokens-TayNdk_V.js} +2 -2
  220. package/dist/_chunks/{apiTokens-b3w4qO8B.js.map → apiTokens-TayNdk_V.js.map} +1 -1
  221. package/dist/_chunks/{constants-ruIkLWCb.mjs → constants-FEW7x2Od.mjs} +2 -2
  222. package/dist/_chunks/{constants-ruIkLWCb.mjs.map → constants-FEW7x2Od.mjs.map} +1 -1
  223. package/dist/_chunks/{constants-PHXhIuUs.js → constants-RZp8o_c4.js} +2 -2
  224. package/dist/_chunks/{constants-PHXhIuUs.js.map → constants-RZp8o_c4.js.map} +1 -1
  225. package/dist/_chunks/{constants-IZEgEoW9.js → constants-Xd-X3SCR.js} +3 -3
  226. package/dist/_chunks/{constants-IZEgEoW9.js.map → constants-Xd-X3SCR.js.map} +1 -1
  227. package/dist/_chunks/{constants-WjN6I3sL.mjs → constants-_T5uxsuv.mjs} +3 -3
  228. package/dist/_chunks/{constants-WjN6I3sL.mjs.map → constants-_T5uxsuv.mjs.map} +1 -1
  229. package/dist/_chunks/{index-ibtz273H.js → index-ejSDPT-T.js} +151 -326
  230. package/dist/_chunks/index-ejSDPT-T.js.map +1 -0
  231. package/dist/_chunks/{index-5ZvCaCyY.mjs → index-hjUhNUvw.mjs} +279 -455
  232. package/dist/_chunks/index-hjUhNUvw.mjs.map +1 -0
  233. package/dist/_chunks/{selectors-TFKI8arF.js → selectors-T2YIN4Fb.js} +2 -2
  234. package/dist/_chunks/{selectors-TFKI8arF.js.map → selectors-T2YIN4Fb.js.map} +1 -1
  235. package/dist/_chunks/{selectors-JBxTdRJK.mjs → selectors-uLWxH-jN.mjs} +2 -2
  236. package/dist/_chunks/{selectors-JBxTdRJK.mjs.map → selectors-uLWxH-jN.mjs.map} +1 -1
  237. package/dist/_chunks/{transferTokens-G-suI4pp.js → transferTokens-T-kGMb3U.js} +2 -2
  238. package/dist/_chunks/{transferTokens-G-suI4pp.js.map → transferTokens-T-kGMb3U.js.map} +1 -1
  239. package/dist/_chunks/{transferTokens-4KlyXDql.mjs → transferTokens-jdkk-sPx.mjs} +2 -2
  240. package/dist/_chunks/{transferTokens-4KlyXDql.mjs.map → transferTokens-jdkk-sPx.mjs.map} +1 -1
  241. package/dist/_chunks/{useAdminRoles-7_YWhmkQ.mjs → useAdminRoles-QJQS1BCd.mjs} +2 -2
  242. package/dist/_chunks/{useAdminRoles-7_YWhmkQ.mjs.map → useAdminRoles-QJQS1BCd.mjs.map} +1 -1
  243. package/dist/_chunks/{useAdminRoles-o4dxsCcY.js → useAdminRoles-SnzC_mvy.js} +2 -2
  244. package/dist/_chunks/{useAdminRoles-o4dxsCcY.js.map → useAdminRoles-SnzC_mvy.js.map} +1 -1
  245. package/dist/_chunks/{useContentTypes-dRoMxL8c.js → useContentTypes-Lpg-eJmK.js} +5 -4
  246. package/dist/_chunks/useContentTypes-Lpg-eJmK.js.map +1 -0
  247. package/dist/_chunks/{useContentTypes-x6OLbsWe.mjs → useContentTypes-U-n1-lz0.mjs} +5 -4
  248. package/dist/_chunks/useContentTypes-U-n1-lz0.mjs.map +1 -0
  249. package/dist/_chunks/{useLicenseLimitNotification-BaSsY40x.js → useLicenseLimitNotification-Hjv_LKmp.js} +6 -5
  250. package/dist/_chunks/useLicenseLimitNotification-Hjv_LKmp.js.map +1 -0
  251. package/dist/_chunks/{useLicenseLimitNotification-wzvrsJoL.mjs → useLicenseLimitNotification-yJHxF4YO.mjs} +6 -5
  252. package/dist/_chunks/useLicenseLimitNotification-yJHxF4YO.mjs.map +1 -0
  253. package/dist/_chunks/{useReviewWorkflows-PAvhwNm3.mjs → useReviewWorkflows-0rQx2KxS.mjs} +2 -2
  254. package/dist/_chunks/{useReviewWorkflows-PAvhwNm3.mjs.map → useReviewWorkflows-0rQx2KxS.mjs.map} +1 -1
  255. package/dist/_chunks/{useReviewWorkflows-3SKYABe_.js → useReviewWorkflows-QoSEilRp.js} +2 -2
  256. package/dist/_chunks/{useReviewWorkflows-3SKYABe_.js.map → useReviewWorkflows-QoSEilRp.js.map} +1 -1
  257. package/dist/_chunks/{useSyncRbac-f7CCq_yt.js → useSyncRbac-hZJWbmmY.js} +2 -2
  258. package/dist/_chunks/{useSyncRbac-f7CCq_yt.js.map → useSyncRbac-hZJWbmmY.js.map} +1 -1
  259. package/dist/_chunks/{useSyncRbac-Kt8Li0Yf.mjs → useSyncRbac-wVgN6XIc.mjs} +2 -2
  260. package/dist/_chunks/{useSyncRbac-Kt8Li0Yf.mjs.map → useSyncRbac-wVgN6XIc.mjs.map} +1 -1
  261. package/dist/_chunks/{useWebhooks-Fhm21I_2.js → useWebhooks-1ZG0V0Mc.js} +2 -2
  262. package/dist/_chunks/{useWebhooks-Fhm21I_2.js.map → useWebhooks-1ZG0V0Mc.js.map} +1 -1
  263. package/dist/_chunks/{useWebhooks-6rWM4vzd.mjs → useWebhooks-WBwti5Jl.mjs} +2 -2
  264. package/dist/_chunks/{useWebhooks-6rWM4vzd.mjs.map → useWebhooks-WBwti5Jl.mjs.map} +1 -1
  265. package/dist/_chunks/{validateWorkflow-DlwU9a4N.mjs → validateWorkflow-23kb45Oa.mjs} +6 -5
  266. package/dist/_chunks/validateWorkflow-23kb45Oa.mjs.map +1 -0
  267. package/dist/_chunks/{validateWorkflow-1g4fl4e7.js → validateWorkflow-MaEpFiHz.js} +9 -8
  268. package/dist/_chunks/validateWorkflow-MaEpFiHz.js.map +1 -0
  269. package/dist/_chunks/{validation-NckIpCgz.js → validation-7cD0kJHF.js} +2 -2
  270. package/dist/_chunks/{validation-NckIpCgz.js.map → validation-7cD0kJHF.js.map} +1 -1
  271. package/dist/_chunks/{validation-aaWzg0nE.mjs → validation-rilbXPnt.mjs} +2 -2
  272. package/dist/_chunks/{validation-aaWzg0nE.mjs.map → validation-rilbXPnt.mjs.map} +1 -1
  273. package/dist/admin/index.js +1 -4
  274. package/dist/admin/index.js.map +1 -1
  275. package/dist/admin/index.mjs +22 -25
  276. package/dist/admin/src/content-manager/pages/EditView/components/DocumentActions.d.ts +1 -2
  277. package/dist/admin/src/hooks/useAPIErrorHandler.d.ts +2 -2
  278. package/dist/admin/src/index.d.ts +0 -2
  279. package/dist/admin/src/pages/Marketplace/components/NpmPackageCard.d.ts +1 -1
  280. package/dist/admin/src/pages/Marketplace/components/NpmPackagesGrid.d.ts +1 -1
  281. package/dist/admin/src/pages/Marketplace/hooks/useMarketplaceData.d.ts +2 -2
  282. package/dist/admin/src/utils/users.d.ts +1 -1
  283. package/dist/server/src/validation/api-tokens.d.ts +27 -4
  284. package/dist/server/src/validation/api-tokens.d.ts.map +1 -1
  285. package/dist/server/src/validation/authentication/register.d.ts +8 -2
  286. package/dist/server/src/validation/authentication/register.d.ts.map +1 -1
  287. package/dist/server/src/validation/permission.d.ts +53 -4
  288. package/dist/server/src/validation/permission.d.ts.map +1 -1
  289. package/dist/server/src/validation/policies/hasPermissions.d.ts +7 -2
  290. package/dist/server/src/validation/policies/hasPermissions.d.ts.map +1 -1
  291. package/dist/server/src/validation/role.d.ts +23 -6
  292. package/dist/server/src/validation/role.d.ts.map +1 -1
  293. package/dist/server/src/validation/transfer/token.d.ts +23 -4
  294. package/dist/server/src/validation/transfer/token.d.ts.map +1 -1
  295. package/dist/server/src/validation/user.d.ts +56 -8
  296. package/dist/server/src/validation/user.d.ts.map +1 -1
  297. package/package.json +19 -12
  298. package/dist/_chunks/ApplicationInfoPage-PHLA1Ysy.js.map +0 -1
  299. package/dist/_chunks/ApplicationInfoPage-Zn5JU2zd.mjs.map +0 -1
  300. package/dist/_chunks/AuthenticatedLayout-5r4rzKeb.js.map +0 -1
  301. package/dist/_chunks/AuthenticatedLayout-a7KNOdln.mjs.map +0 -1
  302. package/dist/_chunks/ComponentConfigurationPage-R3qV_iCR.js.map +0 -1
  303. package/dist/_chunks/ComponentConfigurationPage-pb8HhFAg.mjs.map +0 -1
  304. package/dist/_chunks/CreatePage-Bil0egZ1.mjs.map +0 -1
  305. package/dist/_chunks/CreatePage-NSKUL8l4.js.map +0 -1
  306. package/dist/_chunks/CreatePage-h5L6QP47.mjs.map +0 -1
  307. package/dist/_chunks/CreatePage-nl6zKkKT.js.map +0 -1
  308. package/dist/_chunks/EditConfigurationPage-OpEZOvAG.js.map +0 -1
  309. package/dist/_chunks/EditConfigurationPage-y_TvxjZM.mjs.map +0 -1
  310. package/dist/_chunks/EditPage-9aK8IFXY.js.map +0 -1
  311. package/dist/_chunks/EditPage-A6olBfVm.js.map +0 -1
  312. package/dist/_chunks/EditPage-PpBP7TBo.js.map +0 -1
  313. package/dist/_chunks/EditPage-VoRR5DCQ.mjs.map +0 -1
  314. package/dist/_chunks/EditPage-_swY0Hy-.mjs.map +0 -1
  315. package/dist/_chunks/EditPage-fDVAYmuS.mjs.map +0 -1
  316. package/dist/_chunks/EditView-C_ynfmtW.js.map +0 -1
  317. package/dist/_chunks/EditView-EuUw_2zc.mjs.map +0 -1
  318. package/dist/_chunks/EditViewPage-8uPO5GWR.mjs.map +0 -1
  319. package/dist/_chunks/EditViewPage-XtJmgPi5.js.map +0 -1
  320. package/dist/_chunks/EditViewPage-Z_e1dpbU.js.map +0 -1
  321. package/dist/_chunks/EditViewPage-xYzUSAwS.mjs.map +0 -1
  322. package/dist/_chunks/Form-EiK_H9BI.js.map +0 -1
  323. package/dist/_chunks/Form-sZKjSFQC.mjs.map +0 -1
  324. package/dist/_chunks/HomePage-C6Ivli1q.mjs.map +0 -1
  325. package/dist/_chunks/HomePage-yrIp1-eG.js.map +0 -1
  326. package/dist/_chunks/InputRenderer-RMnWnPI4.js.map +0 -1
  327. package/dist/_chunks/InputRenderer-iP1kRki4.mjs.map +0 -1
  328. package/dist/_chunks/InstalledPluginsPage-7m_FfOGl.mjs.map +0 -1
  329. package/dist/_chunks/InstalledPluginsPage-PrMyistN.js.map +0 -1
  330. package/dist/_chunks/Layout-9Li8e-qi.js.map +0 -1
  331. package/dist/_chunks/Layout-EDS3Yv8X.mjs.map +0 -1
  332. package/dist/_chunks/ListConfigurationPage-7O7HiJjG.mjs.map +0 -1
  333. package/dist/_chunks/ListConfigurationPage-Gl8AA-2t.js.map +0 -1
  334. package/dist/_chunks/ListPage-1q5Fi4W9.mjs.map +0 -1
  335. package/dist/_chunks/ListPage-DZBRIMkE.mjs.map +0 -1
  336. package/dist/_chunks/ListPage-God7L19W.mjs.map +0 -1
  337. package/dist/_chunks/ListPage-Ky2tG2bd.mjs.map +0 -1
  338. package/dist/_chunks/ListPage-NdzVJ_Ed.js.map +0 -1
  339. package/dist/_chunks/ListPage-RlY1nro4.mjs.map +0 -1
  340. package/dist/_chunks/ListPage-_i7RNkUF.js.map +0 -1
  341. package/dist/_chunks/ListPage-aElBcYPH.js.map +0 -1
  342. package/dist/_chunks/ListPage-em8KMoKx.js.map +0 -1
  343. package/dist/_chunks/ListPage-skKuhRrN.js.map +0 -1
  344. package/dist/_chunks/ListView--mxDKrnG.js.map +0 -1
  345. package/dist/_chunks/ListView-QEgFV6dm.mjs.map +0 -1
  346. package/dist/_chunks/ListView-hm-mjZ8N.mjs.map +0 -1
  347. package/dist/_chunks/ListView-vP-PjR4p.js.map +0 -1
  348. package/dist/_chunks/ListViewPage-NiwpwxBR.js.map +0 -1
  349. package/dist/_chunks/ListViewPage-xOVa04T_.mjs.map +0 -1
  350. package/dist/_chunks/MarketplacePage-f0ZrC_p8.mjs.map +0 -1
  351. package/dist/_chunks/MarketplacePage-zSQ_GRnZ.js.map +0 -1
  352. package/dist/_chunks/Permissions--rdF1ZKQ.js.map +0 -1
  353. package/dist/_chunks/Permissions-Ke5fqSQ2.mjs.map +0 -1
  354. package/dist/_chunks/ProfilePage-EEcNKnGH.js.map +0 -1
  355. package/dist/_chunks/ProfilePage-bE7txhNu.mjs.map +0 -1
  356. package/dist/_chunks/SelectRoles-Iih1yeTu.mjs.map +0 -1
  357. package/dist/_chunks/SelectRoles-XK5HcBdP.js.map +0 -1
  358. package/dist/_chunks/SingleSignOnPage-uURRsIxP.js.map +0 -1
  359. package/dist/_chunks/SingleSignOnPage-vOeDxBfa.mjs.map +0 -1
  360. package/dist/_chunks/TokenTypeSelect-QN_bDdss.js.map +0 -1
  361. package/dist/_chunks/TokenTypeSelect-Z9iyoteG.mjs.map +0 -1
  362. package/dist/_chunks/UseCasePage-qJwKBweD.mjs.map +0 -1
  363. package/dist/_chunks/UseCasePage-xAlTWOcX.js.map +0 -1
  364. package/dist/_chunks/index-5ZvCaCyY.mjs.map +0 -1
  365. package/dist/_chunks/index-ibtz273H.js.map +0 -1
  366. package/dist/_chunks/useContentTypes-dRoMxL8c.js.map +0 -1
  367. package/dist/_chunks/useContentTypes-x6OLbsWe.mjs.map +0 -1
  368. package/dist/_chunks/useLicenseLimitNotification-BaSsY40x.js.map +0 -1
  369. package/dist/_chunks/useLicenseLimitNotification-wzvrsJoL.mjs.map +0 -1
  370. package/dist/_chunks/validateWorkflow-1g4fl4e7.js.map +0 -1
  371. package/dist/_chunks/validateWorkflow-DlwU9a4N.mjs.map +0 -1
  372. package/dist/admin/src/features/AppInfo.d.ts +0 -22
  373. package/dist/admin/src/features/Notifications.d.ts +0 -47
  374. package/dist/admin/src/utils/getYupInnerErrors.d.ts +0 -7
@@ -1,9 +1,9 @@
1
- import { getFetchClient, useRBACProvider, auth, useRBAC, useClipboard, useQueryParams, RBACContext, useFocusInputField, hasPermissions, useQuery, usePersistentState, useFocusWhenNavigate } from "@strapi/helper-plugin";
1
+ import { getFetchClient, useRBACProvider, useNotification, auth, useAppInfo, useRBAC, NotificationsProvider, useClipboard, getYupInnerErrors, useQueryParams, RBACContext, useFocusInputField, hasPermissions, useQuery, usePersistentState, useFocusWhenNavigate } from "@strapi/helper-plugin";
2
2
  import { createRoot } from "react-dom/client";
3
- import { jsxs, jsx, Fragment } from "react/jsx-runtime";
3
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
4
4
  import * as React from "react";
5
5
  import { Suspense, lazy, useMemo, useEffect, forwardRef, useState, memo } from "react";
6
- 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";
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";
7
7
  import invariant from "invariant";
8
8
  import isFunction from "lodash/isFunction";
9
9
  import merge from "lodash/merge";
@@ -13,13 +13,13 @@ import { useNavigate, NavLink, useLocation, Outlet, useRouteError, matchRoutes,
13
13
  import { Helmet } from "react-helmet";
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";
17
16
  import { createApi } from "@reduxjs/toolkit/query/react";
18
17
  import axios, { isAxiosError } from "axios";
19
18
  import { QueryClient, QueryClientProvider } from "react-query";
20
19
  import * as ContextSelector from "use-context-selector";
21
20
  import { createSelector, createSlice, combineReducers, configureStore } from "@reduxjs/toolkit";
22
- import { produce } from "immer";
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
23
  import { createContext as createContext$1 } from "@radix-ui/react-context";
24
24
  import get from "lodash/get";
25
25
  import set from "lodash/set";
@@ -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-1aYRF7_3.mjs");
78
+ const { AuthResponse } = await import("./AuthResponse-Hxop00n-.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-RlY1nro4.mjs");
126
+ const { ProtectedListPage } = await import("./ListPage-edro79m2.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-1q5Fi4W9.mjs");
137
+ const { ProtectedReviewWorkflowsPage } = await import("./ListPage-mAUCZIg8.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-Bil0egZ1.mjs");
146
+ const { ReviewWorkflowsCreatePage } = await import("./CreatePage-P1F3dkB3.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-fDVAYmuS.mjs");
155
+ const { ReviewWorkflowsEditPage } = await import("./EditPage-30rqjB1d.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-vOeDxBfa.mjs");
166
+ const { ProtectedSSO } = await import("./SingleSignOnPage-gxgIeURz.mjs");
167
167
  return {
168
168
  Component: ProtectedSSO
169
169
  };
@@ -171,151 +171,6 @@ 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);
319
174
  function getPrefixedId(message, callback) {
320
175
  const prefixedMessage = `apiError.${message}`;
321
176
  if (typeof callback === "function") {
@@ -767,7 +622,7 @@ const NoData = (props) => {
767
622
  };
768
623
  const Protect = ({ permissions = [], children }) => {
769
624
  const { allPermissions } = useRBACProvider();
770
- const { toggleNotification } = useNotification();
625
+ const toggleNotification = useNotification();
771
626
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
772
627
  const matchingPermissions = allPermissions.filter(
773
628
  (permission) => permissions.findIndex(
@@ -791,7 +646,7 @@ const Protect = ({ permissions = [], children }) => {
791
646
  React.useEffect(() => {
792
647
  if (error) {
793
648
  toggleNotification({
794
- type: "danger",
649
+ type: "warning",
795
650
  message: formatAPIError2(error)
796
651
  });
797
652
  }
@@ -1154,7 +1009,6 @@ const {
1154
1009
  useGetPluginsQuery,
1155
1010
  useGetLicenseLimitsQuery
1156
1011
  } = admin;
1157
- const [AppInfoProvider, useAppInfo] = createContext("AppInfo", {});
1158
1012
  const TrackingContext = React.createContext({
1159
1013
  uuid: false
1160
1014
  });
@@ -1198,7 +1052,7 @@ const TrackingProvider = ({ children }) => {
1198
1052
  };
1199
1053
  const useTracking = () => {
1200
1054
  const { uuid, telemetryProperties } = React.useContext(TrackingContext);
1201
- const userId = useAppInfo("useTracking", (state) => state.userId);
1055
+ const { userId } = useAppInfo();
1202
1056
  const trackUsage = React.useCallback(
1203
1057
  async (event, properties) => {
1204
1058
  try {
@@ -1243,7 +1097,7 @@ const ConfigurationProvider = ({
1243
1097
  }) => {
1244
1098
  const { trackUsage } = useTracking();
1245
1099
  const { formatMessage } = useIntl();
1246
- const { toggleNotification } = useNotification();
1100
+ const toggleNotification = useNotification();
1247
1101
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
1248
1102
  const permissions = useTypedSelector(
1249
1103
  (state) => state.admin_app.permissions.settings?.["project-settings"]
@@ -1260,11 +1114,11 @@ const ConfigurationProvider = ({
1260
1114
  React.useEffect(() => {
1261
1115
  if (error) {
1262
1116
  toggleNotification({
1263
- type: "danger",
1264
- message: formatMessage({ id: "app.containers.App.notification.error.init" })
1117
+ type: "warning",
1118
+ message: { id: "app.containers.App.notification.error.init" }
1265
1119
  });
1266
1120
  }
1267
- }, [error, formatMessage, toggleNotification]);
1121
+ }, [error, toggleNotification]);
1268
1122
  const { data, isSuccess } = useProjectSettingsQuery(void 0, {
1269
1123
  skip: !token || !canRead
1270
1124
  });
@@ -1299,7 +1153,7 @@ const ConfigurationProvider = ({
1299
1153
  });
1300
1154
  } else {
1301
1155
  toggleNotification({
1302
- type: "danger",
1156
+ type: "warning",
1303
1157
  message: formatAPIError2(res.error)
1304
1158
  });
1305
1159
  }
@@ -1881,7 +1735,7 @@ const routes$1 = [
1881
1735
  {
1882
1736
  path: ":collectionType/:slug/:id/history",
1883
1737
  lazy: async () => {
1884
- const { ProtectedHistoryPage } = await import("./History-1AF4LH3c.mjs");
1738
+ const { ProtectedHistoryPage } = await import("./History-Eq4_WQPf.mjs");
1885
1739
  return {
1886
1740
  Component: ProtectedHistoryPage
1887
1741
  };
@@ -1890,7 +1744,7 @@ const routes$1 = [
1890
1744
  {
1891
1745
  path: ":collectionType/:slug/history",
1892
1746
  lazy: async () => {
1893
- const { ProtectedHistoryPage } = await import("./History-1AF4LH3c.mjs");
1747
+ const { ProtectedHistoryPage } = await import("./History-Eq4_WQPf.mjs");
1894
1748
  return {
1895
1749
  Component: ProtectedHistoryPage
1896
1750
  };
@@ -1915,10 +1769,10 @@ const Redirect = () => {
1915
1769
  );
1916
1770
  };
1917
1771
  const ProtectedEditViewPage = lazy(
1918
- () => import("./EditViewPage-xYzUSAwS.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1772
+ () => import("./EditViewPage-R6diW-gL.mjs").then((mod) => ({ default: mod.ProtectedEditViewPage }))
1919
1773
  );
1920
1774
  const ProtectedListViewPage = lazy(
1921
- () => import("./ListViewPage-xOVa04T_.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1775
+ () => import("./ListViewPage-fPFonK_X.mjs").then((mod) => ({ default: mod.ProtectedListViewPage }))
1922
1776
  );
1923
1777
  const CollectionTypePages = () => {
1924
1778
  const { collectionType } = useParams();
@@ -1973,7 +1827,7 @@ const routes = [
1973
1827
  {
1974
1828
  path: ":collectionType/:slug/:id",
1975
1829
  lazy: async () => {
1976
- const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-xYzUSAwS.mjs");
1830
+ const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-R6diW-gL.mjs");
1977
1831
  return {
1978
1832
  Component: ProtectedEditViewPage2
1979
1833
  };
@@ -1982,7 +1836,7 @@ const routes = [
1982
1836
  {
1983
1837
  path: CLONE_RELATIVE_PATH,
1984
1838
  lazy: async () => {
1985
- const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-xYzUSAwS.mjs");
1839
+ const { ProtectedEditViewPage: ProtectedEditViewPage2 } = await import("./EditViewPage-R6diW-gL.mjs");
1986
1840
  return {
1987
1841
  Component: ProtectedEditViewPage2
1988
1842
  };
@@ -1991,7 +1845,7 @@ const routes = [
1991
1845
  {
1992
1846
  path: ":collectionType/:slug/configurations/list",
1993
1847
  lazy: async () => {
1994
- const { ProtectedListConfiguration } = await import("./ListConfigurationPage-7O7HiJjG.mjs");
1848
+ const { ProtectedListConfiguration } = await import("./ListConfigurationPage-PrJNO_6y.mjs");
1995
1849
  return {
1996
1850
  Component: ProtectedListConfiguration
1997
1851
  };
@@ -2000,7 +1854,7 @@ const routes = [
2000
1854
  {
2001
1855
  path: "components/:slug/configurations/edit",
2002
1856
  lazy: async () => {
2003
- const { ProtectedComponentConfigurationPage } = await import("./ComponentConfigurationPage-pb8HhFAg.mjs");
1857
+ const { ProtectedComponentConfigurationPage } = await import("./ComponentConfigurationPage-okd3XovW.mjs");
2004
1858
  return {
2005
1859
  Component: ProtectedComponentConfigurationPage
2006
1860
  };
@@ -2009,7 +1863,7 @@ const routes = [
2009
1863
  {
2010
1864
  path: ":collectionType/:slug/configurations/edit",
2011
1865
  lazy: async () => {
2012
- const { ProtectedEditConfigurationPage } = await import("./EditConfigurationPage-y_TvxjZM.mjs");
1866
+ const { ProtectedEditConfigurationPage } = await import("./EditConfigurationPage-LItt0mJo.mjs");
2013
1867
  return {
2014
1868
  Component: ProtectedEditConfigurationPage
2015
1869
  };
@@ -2018,7 +1872,7 @@ const routes = [
2018
1872
  {
2019
1873
  path: "403",
2020
1874
  lazy: async () => {
2021
- const { NoPermissions: NoPermissions2 } = await import("./NoPermissionsPage-DcFRsCHz.mjs");
1875
+ const { NoPermissions: NoPermissions2 } = await import("./NoPermissionsPage-pqQFFlXa.mjs");
2022
1876
  return {
2023
1877
  Component: NoPermissions2
2024
1878
  };
@@ -2027,7 +1881,7 @@ const routes = [
2027
1881
  {
2028
1882
  path: "no-content-types",
2029
1883
  lazy: async () => {
2030
- const { NoContentType } = await import("./NoContentTypePage-ER4yVLjV.mjs");
1884
+ const { NoContentType } = await import("./NoContentTypePage-szvJnQKF.mjs");
2031
1885
  return {
2032
1886
  Component: NoContentType
2033
1887
  };
@@ -2037,24 +1891,6 @@ const routes = [
2037
1891
  ]
2038
1892
  }
2039
1893
  ];
2040
- const extractValuesFromYupError = (errorType, errorParams) => {
2041
- if (!errorType || !errorParams) {
2042
- return {};
2043
- }
2044
- return {
2045
- [errorType]: errorParams[errorType]
2046
- };
2047
- };
2048
- const getYupInnerErrors = (error) => (error?.inner || []).reduce((acc, currentError) => {
2049
- if (currentError.path) {
2050
- acc[currentError.path.split("[").join(".").split("]").join("")] = {
2051
- id: currentError.message,
2052
- defaultMessage: currentError.message,
2053
- values: extractValuesFromYupError(currentError?.type, currentError?.params)
2054
- };
2055
- }
2056
- return acc;
2057
- }, {});
2058
1894
  const contentManagerApi = createApi({
2059
1895
  reducerPath: "contentManagerApi",
2060
1896
  baseQuery: axiosBaseQuery(),
@@ -2600,7 +2436,7 @@ const initApi = contentManagerApi.injectEndpoints({
2600
2436
  });
2601
2437
  const { useGetInitialDataQuery } = initApi;
2602
2438
  const useContentTypeSchema = (model) => {
2603
- const { toggleNotification } = useNotification();
2439
+ const toggleNotification = useNotification();
2604
2440
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
2605
2441
  const { components, contentType, contentTypes, error, isLoading, isFetching } = useGetInitialDataQuery(void 0, {
2606
2442
  selectFromResult: (res) => {
@@ -2626,7 +2462,7 @@ const useContentTypeSchema = (model) => {
2626
2462
  React.useEffect(() => {
2627
2463
  if (error) {
2628
2464
  toggleNotification({
2629
- type: "danger",
2465
+ type: "warning",
2630
2466
  message: formatAPIError2(error)
2631
2467
  });
2632
2468
  }
@@ -2670,7 +2506,7 @@ const extractContentTypeComponents = (attributes = {}, allComponents = {}) => {
2670
2506
  return componentsByKey;
2671
2507
  };
2672
2508
  const useDocument = (args, opts) => {
2673
- const { toggleNotification } = useNotification();
2509
+ const toggleNotification = useNotification();
2674
2510
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
2675
2511
  const {
2676
2512
  currentData: data,
@@ -2682,7 +2518,7 @@ const useDocument = (args, opts) => {
2682
2518
  React.useEffect(() => {
2683
2519
  if (error) {
2684
2520
  toggleNotification({
2685
- type: "danger",
2521
+ type: "warning",
2686
2522
  message: formatAPIError2(error)
2687
2523
  });
2688
2524
  }
@@ -3413,7 +3249,7 @@ const getDisplayName = ({
3413
3249
  }
3414
3250
  ).trim();
3415
3251
  }
3416
- return email ?? "";
3252
+ return email;
3417
3253
  };
3418
3254
  const reviewWorkflowsApi = adminApi.injectEndpoints({
3419
3255
  endpoints: (builder) => ({
@@ -3528,7 +3364,7 @@ const AssigneeSelect = () => {
3528
3364
  const permissions = useTypedSelector((state) => state.admin_app.permissions);
3529
3365
  const { formatMessage } = useIntl();
3530
3366
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
3531
- const { toggleNotification } = useNotification();
3367
+ const toggleNotification = useNotification();
3532
3368
  const {
3533
3369
  allowedActions: { canRead },
3534
3370
  isLoading: isLoadingPermissions
@@ -3556,10 +3392,10 @@ const AssigneeSelect = () => {
3556
3392
  field.onChange(ASSIGNEE_ATTRIBUTE_NAME, res.data[ASSIGNEE_ATTRIBUTE_NAME]);
3557
3393
  toggleNotification({
3558
3394
  type: "success",
3559
- message: formatMessage({
3395
+ message: {
3560
3396
  id: "content-manager.reviewWorkflows.assignee.notification.saved",
3561
3397
  defaultMessage: "Assignee updated"
3562
- })
3398
+ }
3563
3399
  });
3564
3400
  }
3565
3401
  };
@@ -3751,7 +3587,7 @@ const StageSelect = () => {
3751
3587
  const { collectionType, model, id } = useDoc();
3752
3588
  const { formatMessage } = useIntl();
3753
3589
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
3754
- const { toggleNotification } = useNotification();
3590
+ const toggleNotification = useNotification();
3755
3591
  const { data, isLoading } = useGetStagesQuery(
3756
3592
  {
3757
3593
  slug: collectionType,
@@ -3787,10 +3623,10 @@ const StageSelect = () => {
3787
3623
  field.onChange(STAGE_ATTRIBUTE_NAME, res.data[STAGE_ATTRIBUTE_NAME]);
3788
3624
  toggleNotification({
3789
3625
  type: "success",
3790
- message: formatMessage({
3626
+ message: {
3791
3627
  id: "content-manager.reviewWorkflows.stage.notification.saved",
3792
3628
  defaultMessage: "Review stage updated"
3793
- })
3629
+ }
3794
3630
  });
3795
3631
  }
3796
3632
  }
@@ -4048,8 +3884,7 @@ const DEFAULT_UNEXPECTED_ERROR_MSG = {
4048
3884
  defaultMessage: "An error occurred, please try again"
4049
3885
  };
4050
3886
  const useDocumentActions = () => {
4051
- const { toggleNotification } = useNotification();
4052
- const { formatMessage } = useIntl();
3887
+ const toggleNotification = useNotification();
4053
3888
  const { trackUsage } = useTracking();
4054
3889
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
4055
3890
  const [deleteDocument] = useDeleteDocumentMutation();
@@ -4065,30 +3900,30 @@ const useDocumentActions = () => {
4065
3900
  });
4066
3901
  if ("error" in res) {
4067
3902
  toggleNotification({
4068
- type: "danger",
3903
+ type: "warning",
4069
3904
  message: formatAPIError2(res.error)
4070
3905
  });
4071
3906
  return { error: res.error };
4072
3907
  }
4073
3908
  toggleNotification({
4074
3909
  type: "success",
4075
- message: formatMessage({
3910
+ message: {
4076
3911
  id: getTranslation("success.record.delete"),
4077
3912
  defaultMessage: "Deleted document"
4078
- })
3913
+ }
4079
3914
  });
4080
3915
  trackUsage("didDeleteEntry", trackerProperty);
4081
3916
  return res.data;
4082
3917
  } catch (err) {
4083
3918
  toggleNotification({
4084
- type: "danger",
4085
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
3919
+ type: "warning",
3920
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4086
3921
  });
4087
3922
  trackUsage("didNotDeleteEntry", { error: err, ...trackerProperty });
4088
3923
  throw err;
4089
3924
  }
4090
3925
  },
4091
- [trackUsage, deleteDocument, toggleNotification, formatMessage, formatAPIError2]
3926
+ [trackUsage, deleteDocument, toggleNotification, formatAPIError2]
4092
3927
  );
4093
3928
  const [discardDocument] = useDiscardDocumentMutation();
4094
3929
  const discard = React.useCallback(
@@ -4101,28 +3936,28 @@ const useDocumentActions = () => {
4101
3936
  });
4102
3937
  if ("error" in res) {
4103
3938
  toggleNotification({
4104
- type: "danger",
3939
+ type: "warning",
4105
3940
  message: formatAPIError2(res.error)
4106
3941
  });
4107
3942
  return { error: res.error };
4108
3943
  }
4109
3944
  toggleNotification({
4110
3945
  type: "success",
4111
- message: formatMessage({
3946
+ message: {
4112
3947
  id: "content-manager.success.record.discard",
4113
3948
  defaultMessage: "Changes discarded"
4114
- })
3949
+ }
4115
3950
  });
4116
3951
  return res.data;
4117
3952
  } catch (err) {
4118
3953
  toggleNotification({
4119
- type: "danger",
4120
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
3954
+ type: "warning",
3955
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4121
3956
  });
4122
3957
  throw err;
4123
3958
  }
4124
3959
  },
4125
- [discardDocument, formatAPIError2, formatMessage, toggleNotification]
3960
+ [discardDocument, formatAPIError2, toggleNotification]
4126
3961
  );
4127
3962
  const [publishDocument] = usePublishDocumentMutation();
4128
3963
  const publish = React.useCallback(
@@ -4137,27 +3972,27 @@ const useDocumentActions = () => {
4137
3972
  params
4138
3973
  });
4139
3974
  if ("error" in res) {
4140
- toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
3975
+ toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4141
3976
  return { error: res.error };
4142
3977
  }
4143
3978
  trackUsage("didPublishEntry");
4144
3979
  toggleNotification({
4145
3980
  type: "success",
4146
- message: formatMessage({
3981
+ message: {
4147
3982
  id: getTranslation("success.record.publish"),
4148
3983
  defaultMessage: "Published document"
4149
- })
3984
+ }
4150
3985
  });
4151
3986
  return res.data;
4152
3987
  } catch (err) {
4153
3988
  toggleNotification({
4154
- type: "danger",
4155
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
3989
+ type: "warning",
3990
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4156
3991
  });
4157
3992
  throw err;
4158
3993
  }
4159
3994
  },
4160
- [trackUsage, publishDocument, toggleNotification, formatMessage, formatAPIError2]
3995
+ [trackUsage, publishDocument, toggleNotification, formatAPIError2]
4161
3996
  );
4162
3997
  const [updateDocument] = useUpdateDocumentMutation();
4163
3998
  const update = React.useCallback(
@@ -4172,29 +4007,26 @@ const useDocumentActions = () => {
4172
4007
  params
4173
4008
  });
4174
4009
  if ("error" in res) {
4175
- toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4010
+ toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4176
4011
  trackUsage("didNotEditEntry", { error: res.error, ...trackerProperty });
4177
4012
  return { error: res.error };
4178
4013
  }
4179
4014
  trackUsage("didEditEntry", trackerProperty);
4180
4015
  toggleNotification({
4181
4016
  type: "success",
4182
- message: formatMessage({
4183
- id: getTranslation("success.record.save"),
4184
- defaultMessage: "Saved document"
4185
- })
4017
+ message: { id: getTranslation("success.record.save"), defaultMessage: "Saved document" }
4186
4018
  });
4187
4019
  return res.data;
4188
4020
  } catch (err) {
4189
4021
  trackUsage("didNotEditEntry", { error: err, ...trackerProperty });
4190
4022
  toggleNotification({
4191
- type: "danger",
4192
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4023
+ type: "warning",
4024
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4193
4025
  });
4194
4026
  throw err;
4195
4027
  }
4196
4028
  },
4197
- [trackUsage, updateDocument, toggleNotification, formatMessage, formatAPIError2]
4029
+ [trackUsage, updateDocument, toggleNotification, formatAPIError2]
4198
4030
  );
4199
4031
  const [unpublishDocument] = useUnpublishDocumentMutation();
4200
4032
  const unpublish = React.useCallback(
@@ -4211,27 +4043,27 @@ const useDocumentActions = () => {
4211
4043
  }
4212
4044
  });
4213
4045
  if ("error" in res) {
4214
- toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4046
+ toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4215
4047
  return { error: res.error };
4216
4048
  }
4217
4049
  trackUsage("didUnpublishEntry");
4218
4050
  toggleNotification({
4219
4051
  type: "success",
4220
- message: formatMessage({
4052
+ message: {
4221
4053
  id: getTranslation("success.record.unpublish"),
4222
4054
  defaultMessage: "Unpublished document"
4223
- })
4055
+ }
4224
4056
  });
4225
4057
  return res.data;
4226
4058
  } catch (err) {
4227
4059
  toggleNotification({
4228
- type: "danger",
4229
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4060
+ type: "warning",
4061
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4230
4062
  });
4231
4063
  throw err;
4232
4064
  }
4233
4065
  },
4234
- [trackUsage, unpublishDocument, toggleNotification, formatMessage, formatAPIError2]
4066
+ [trackUsage, unpublishDocument, toggleNotification, formatAPIError2]
4235
4067
  );
4236
4068
  const [createDocument] = useCreateDocumentMutation();
4237
4069
  const create = React.useCallback(
@@ -4243,29 +4075,26 @@ const useDocumentActions = () => {
4243
4075
  params
4244
4076
  });
4245
4077
  if ("error" in res) {
4246
- toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4078
+ toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4247
4079
  trackUsage("didNotCreateEntry", { error: res.error, ...trackerProperty });
4248
4080
  return { error: res.error };
4249
4081
  }
4250
4082
  trackUsage("didCreateEntry", trackerProperty);
4251
4083
  toggleNotification({
4252
4084
  type: "success",
4253
- message: formatMessage({
4254
- id: getTranslation("success.record.save"),
4255
- defaultMessage: "Saved document"
4256
- })
4085
+ message: { id: getTranslation("success.record.save"), defaultMessage: "Saved document" }
4257
4086
  });
4258
4087
  return res.data;
4259
4088
  } catch (err) {
4260
4089
  toggleNotification({
4261
- type: "danger",
4262
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4090
+ type: "warning",
4091
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4263
4092
  });
4264
4093
  trackUsage("didNotCreateEntry", { error: err, ...trackerProperty });
4265
4094
  throw err;
4266
4095
  }
4267
4096
  },
4268
- [createDocument, formatAPIError2, formatMessage, toggleNotification, trackUsage]
4097
+ [createDocument, formatAPIError2, toggleNotification, trackUsage]
4269
4098
  );
4270
4099
  const [autoCloneDocument] = useAutoCloneDocumentMutation();
4271
4100
  const autoClone = React.useCallback(
@@ -4276,26 +4105,26 @@ const useDocumentActions = () => {
4276
4105
  sourceId
4277
4106
  });
4278
4107
  if ("error" in res) {
4279
- toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4108
+ toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4280
4109
  return { error: res.error };
4281
4110
  }
4282
4111
  toggleNotification({
4283
4112
  type: "success",
4284
- message: formatMessage({
4113
+ message: {
4285
4114
  id: getTranslation("success.record.clone"),
4286
4115
  defaultMessage: "Cloned document"
4287
- })
4116
+ }
4288
4117
  });
4289
4118
  return res.data;
4290
4119
  } catch (err) {
4291
4120
  toggleNotification({
4292
- type: "danger",
4293
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4121
+ type: "warning",
4122
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4294
4123
  });
4295
4124
  throw err;
4296
4125
  }
4297
4126
  },
4298
- [autoCloneDocument, formatAPIError2, formatMessage, toggleNotification]
4127
+ [autoCloneDocument, formatAPIError2, toggleNotification]
4299
4128
  );
4300
4129
  const [cloneDocument] = useCloneDocumentMutation();
4301
4130
  const clone2 = React.useCallback(
@@ -4309,29 +4138,29 @@ const useDocumentActions = () => {
4309
4138
  params
4310
4139
  });
4311
4140
  if ("error" in res) {
4312
- toggleNotification({ type: "danger", message: formatAPIError2(res.error) });
4141
+ toggleNotification({ type: "warning", message: formatAPIError2(res.error) });
4313
4142
  trackUsage("didNotCreateEntry", { error: res.error, ...trackerProperty });
4314
4143
  return { error: res.error };
4315
4144
  }
4316
4145
  trackUsage("didCreateEntry", trackerProperty);
4317
4146
  toggleNotification({
4318
4147
  type: "success",
4319
- message: formatMessage({
4148
+ message: {
4320
4149
  id: getTranslation("success.record.clone"),
4321
4150
  defaultMessage: "Cloned document"
4322
- })
4151
+ }
4323
4152
  });
4324
4153
  return res.data;
4325
4154
  } catch (err) {
4326
4155
  toggleNotification({
4327
- type: "danger",
4328
- message: formatMessage(DEFAULT_UNEXPECTED_ERROR_MSG)
4156
+ type: "warning",
4157
+ message: DEFAULT_UNEXPECTED_ERROR_MSG
4329
4158
  });
4330
4159
  trackUsage("didNotCreateEntry", { error: err, ...trackerProperty });
4331
4160
  throw err;
4332
4161
  }
4333
4162
  },
4334
- [cloneDocument, trackUsage, toggleNotification, formatMessage, formatAPIError2]
4163
+ [cloneDocument, trackUsage, toggleNotification, formatAPIError2]
4335
4164
  );
4336
4165
  const [getDoc] = useLazyGetDocumentQuery();
4337
4166
  const getDocument = React.useCallback(
@@ -4390,7 +4219,7 @@ const DocumentActions = ({ actions: actions2 }) => {
4390
4219
  };
4391
4220
  const DocumentActionButton = (action) => {
4392
4221
  const [dialogId, setDialogId] = React.useState(null);
4393
- const { toggleNotification } = useNotification();
4222
+ const toggleNotification = useNotification();
4394
4223
  const handleClick = (action2) => async (e) => {
4395
4224
  const { onClick = () => false, dialog, id } = action2;
4396
4225
  const muteDialog = await onClick(e);
@@ -4456,7 +4285,7 @@ const DocumentActionsMenu = ({
4456
4285
  const [isOpen, setIsOpen] = React.useState(false);
4457
4286
  const [dialogId, setDialogId] = React.useState(null);
4458
4287
  const { formatMessage } = useIntl();
4459
- const { toggleNotification } = useNotification();
4288
+ const toggleNotification = useNotification();
4460
4289
  const isDisabled = actions2.every((action) => action.disabled) || actions2.length === 0;
4461
4290
  const handleClick = (action) => async (e) => {
4462
4291
  const { onClick = () => false, dialog, id } = action;
@@ -4659,7 +4488,7 @@ const PublishAction = ({
4659
4488
  }) => {
4660
4489
  const { schema } = useDoc();
4661
4490
  const navigate = useNavigate();
4662
- const { toggleNotification } = useNotification();
4491
+ const toggleNotification = useNotification();
4663
4492
  const { _unstableFormatValidationErrors: formatValidationErrors } = useAPIErrorHandler();
4664
4493
  const isCloning = useMatch(CLONE_PATH) !== null;
4665
4494
  const { formatMessage } = useIntl();
@@ -4703,11 +4532,11 @@ const PublishAction = ({
4703
4532
  const { errors } = await validate();
4704
4533
  if (errors) {
4705
4534
  toggleNotification({
4706
- type: "danger",
4707
- message: formatMessage({
4535
+ type: "warning",
4536
+ message: {
4708
4537
  id: "content-manager.validation.error",
4709
4538
  defaultMessage: "There are validation errors in your document. Please fix them before saving."
4710
- })
4539
+ }
4711
4540
  });
4712
4541
  return;
4713
4542
  }
@@ -4742,7 +4571,7 @@ const UpdateAction = ({
4742
4571
  collectionType
4743
4572
  }) => {
4744
4573
  const navigate = useNavigate();
4745
- const { toggleNotification } = useNotification();
4574
+ const toggleNotification = useNotification();
4746
4575
  const { _unstableFormatValidationErrors: formatValidationErrors } = useAPIErrorHandler();
4747
4576
  const cloneMatch = useMatch(CLONE_PATH);
4748
4577
  const isCloning = cloneMatch !== null;
@@ -4780,11 +4609,11 @@ const UpdateAction = ({
4780
4609
  const { errors } = await validate();
4781
4610
  if (errors) {
4782
4611
  toggleNotification({
4783
- type: "danger",
4784
- message: formatMessage({
4612
+ type: "warning",
4613
+ message: {
4785
4614
  id: "content-manager.validation.error",
4786
4615
  defaultMessage: "There are validation errors in your document. Please fix them before saving."
4787
- })
4616
+ }
4788
4617
  });
4789
4618
  return;
4790
4619
  }
@@ -4859,7 +4688,7 @@ const UnpublishAction = ({
4859
4688
  const { unpublish } = useDocumentActions();
4860
4689
  const [{ query }] = useQueryParams();
4861
4690
  const params = React.useMemo(() => buildValidParams(query), [query]);
4862
- const { toggleNotification } = useNotification();
4691
+ const toggleNotification = useNotification();
4863
4692
  const [shouldKeepDraft, setShouldKeepDraft] = React.useState(true);
4864
4693
  const isDocumentModified = document2?.status === "modified";
4865
4694
  const handleChange = (e) => {
@@ -4888,7 +4717,7 @@ const UnpublishAction = ({
4888
4717
  id: "content-manager.actions.unpublish.error",
4889
4718
  defaultMessage: "An error occurred while trying to unpublish the document."
4890
4719
  }),
4891
- type: "danger"
4720
+ type: "warning"
4892
4721
  });
4893
4722
  }
4894
4723
  return;
@@ -4962,7 +4791,7 @@ const UnpublishAction = ({
4962
4791
  id: "content-manager.actions.unpublish.error",
4963
4792
  defaultMessage: "An error occurred while trying to unpublish the document."
4964
4793
  }),
4965
- type: "danger"
4794
+ type: "warning"
4966
4795
  });
4967
4796
  }
4968
4797
  await unpublish(
@@ -5457,7 +5286,7 @@ const DeleteAction = ({ documentId, model, collectionType, document: document2 }
5457
5286
  const listViewPathMatch = useMatch(LIST_PATH);
5458
5287
  const canDelete = useDocumentRBAC("DeleteAction", (state) => state.canDelete);
5459
5288
  const { delete: deleteAction } = useDocumentActions();
5460
- const { toggleNotification } = useNotification();
5289
+ const toggleNotification = useNotification();
5461
5290
  const setSubmitting = useForm("DeleteAction", (state) => state.setSubmitting);
5462
5291
  return {
5463
5292
  disabled: !canDelete || !document2,
@@ -5493,7 +5322,7 @@ const DeleteAction = ({ documentId, model, collectionType, document: document2 }
5493
5322
  id: "content-manager.actions.delete.error",
5494
5323
  defaultMessage: "An error occurred while trying to delete the document."
5495
5324
  }),
5496
- type: "danger"
5325
+ type: "warning"
5497
5326
  });
5498
5327
  return;
5499
5328
  }
@@ -5715,7 +5544,7 @@ const EditAction = ({ documentId }) => {
5715
5544
  const navigate = useNavigate();
5716
5545
  const { formatMessage } = useIntl();
5717
5546
  const { canRead } = useDocumentRBAC("EditAction", ({ canRead: canRead2 }) => ({ canRead: canRead2 }));
5718
- const { toggleNotification } = useNotification();
5547
+ const toggleNotification = useNotification();
5719
5548
  const [{ query }] = useQueryParams();
5720
5549
  return {
5721
5550
  disabled: !canRead,
@@ -5735,7 +5564,7 @@ const EditAction = ({ documentId }) => {
5735
5564
  id: "content-manager.actions.edit.error",
5736
5565
  defaultMessage: "An error occurred while trying to edit the document."
5737
5566
  }),
5738
- type: "danger"
5567
+ type: "warning"
5739
5568
  });
5740
5569
  return;
5741
5570
  }
@@ -5758,7 +5587,7 @@ const CloneAction = ({ model, documentId }) => {
5758
5587
  const navigate = useNavigate();
5759
5588
  const { formatMessage } = useIntl();
5760
5589
  const { canCreate } = useDocumentRBAC("CloneAction", ({ canCreate: canCreate2 }) => ({ canCreate: canCreate2 }));
5761
- const { toggleNotification } = useNotification();
5590
+ const toggleNotification = useNotification();
5762
5591
  const { autoClone } = useDocumentActions();
5763
5592
  const [prohibitedFields, setProhibitedFields] = React.useState([]);
5764
5593
  return {
@@ -5779,7 +5608,7 @@ const CloneAction = ({ model, documentId }) => {
5779
5608
  id: "content-manager.actions.clone.error",
5780
5609
  defaultMessage: "An error occurred while trying to clone the document."
5781
5610
  }),
5782
- type: "danger"
5611
+ type: "warning"
5783
5612
  });
5784
5613
  return;
5785
5614
  }
@@ -6685,7 +6514,7 @@ const RelationsField = React.forwardRef(
6685
6514
  href: `../${COLLECTION_TYPES}/${props.attribute.targetModel}/${relation.documentId}`
6686
6515
  };
6687
6516
  if (ONE_WAY_RELATIONS.includes(props.attribute.relation)) {
6688
- field.onChange(`${props.name}.connect`, [item]);
6517
+ field.onChange(props.name, { connect: [item] });
6689
6518
  } else {
6690
6519
  field.onChange(`${props.name}.connect`, [...field.value?.connect ?? [], item]);
6691
6520
  }
@@ -6784,7 +6613,7 @@ const RelationsInput = ({
6784
6613
  _q: "",
6785
6614
  page: 1
6786
6615
  });
6787
- const { toggleNotification } = useNotification();
6616
+ const toggleNotification = useNotification();
6788
6617
  const [{ query }] = useQueryParams();
6789
6618
  const { formatMessage } = useIntl();
6790
6619
  const fieldRef = useFocusInputField(name);
@@ -6833,7 +6662,7 @@ const RelationsInput = ({
6833
6662
  id: getTranslation("relation.error-adding-relation"),
6834
6663
  defaultMessage: "An error occurred while trying to add the relation."
6835
6664
  }),
6836
- type: "danger"
6665
+ type: "warning"
6837
6666
  });
6838
6667
  return;
6839
6668
  }
@@ -7422,7 +7251,7 @@ const {
7422
7251
  const { MUTATE_COLLECTION_TYPES_LINKS: MUTATE_COLLECTION_TYPES_LINKS$1, MUTATE_SINGLE_TYPES_LINKS: MUTATE_SINGLE_TYPES_LINKS$1 } = HOOKS;
7423
7252
  const useContentManagerInitData = () => {
7424
7253
  const dispatch = useTypedDispatch();
7425
- const { toggleNotification } = useNotification();
7254
+ const toggleNotification = useNotification();
7426
7255
  const { allPermissions } = useRBACProvider();
7427
7256
  const runHookWaterfall = useStrapiApp(
7428
7257
  "useContentManagerInitData",
@@ -7451,14 +7280,14 @@ const useContentManagerInitData = () => {
7451
7280
  }, [formatMessage, initialDataQuery.data, notifyStatus]);
7452
7281
  useEffect(() => {
7453
7282
  if (initialDataQuery.error) {
7454
- toggleNotification({ type: "danger", message: formatAPIError2(initialDataQuery.error) });
7283
+ toggleNotification({ type: "warning", message: formatAPIError2(initialDataQuery.error) });
7455
7284
  }
7456
7285
  }, [formatAPIError2, initialDataQuery.error, toggleNotification]);
7457
7286
  const contentTypeSettingsQuery = useGetAllContentTypeSettingsQuery();
7458
7287
  useEffect(() => {
7459
7288
  if (contentTypeSettingsQuery.error) {
7460
7289
  toggleNotification({
7461
- type: "danger",
7290
+ type: "warning",
7462
7291
  message: formatAPIError2(contentTypeSettingsQuery.error)
7463
7292
  });
7464
7293
  }
@@ -8492,9 +8321,8 @@ const NpsSurvey = () => {
8492
8321
  const { formatMessage } = useIntl();
8493
8322
  const { npsSurveySettings, setNpsSurveySettings } = useNpsSurveySettings();
8494
8323
  const [isFeedbackResponse, setIsFeedbackResponse] = React.useState(false);
8495
- const { toggleNotification } = useNotification();
8496
- const currentEnvironment = useAppInfo("NpsSurvey", (state) => state.currentEnvironment);
8497
- const strapiVersion = useAppInfo("NpsSurvey", (state) => state.strapiVersion);
8324
+ const toggleNotification = useNotification();
8325
+ const { currentEnvironment, strapiVersion } = useAppInfo();
8498
8326
  const [surveyIsShown, setSurveyIsShown] = React.useState(
8499
8327
  checkIfShouldShowSurvey(npsSurveySettings)
8500
8328
  );
@@ -8549,7 +8377,7 @@ const NpsSurvey = () => {
8549
8377
  }, 3e3);
8550
8378
  } catch (err) {
8551
8379
  toggleNotification({
8552
- type: "danger",
8380
+ type: "warning",
8553
8381
  message: formatMessage({ id: "notification.error", defaultMessage: "An error occurred" })
8554
8382
  });
8555
8383
  }
@@ -8776,7 +8604,7 @@ const REGISTER_ADMIN_SCHEMA = yup.object().shape({
8776
8604
  })
8777
8605
  });
8778
8606
  const Register = ({ hasAdmin }) => {
8779
- const { toggleNotification } = useNotification();
8607
+ const toggleNotification = useNotification();
8780
8608
  const navigate = useNavigate();
8781
8609
  const [submitCount, setSubmitCount] = React.useState(0);
8782
8610
  const [apiError, setApiError] = React.useState();
@@ -8798,7 +8626,7 @@ const Register = ({ hasAdmin }) => {
8798
8626
  if (error) {
8799
8627
  const message = isBaseQueryError(error) ? formatAPIError2(error) : error.message ?? "";
8800
8628
  toggleNotification({
8801
- type: "danger",
8629
+ type: "warning",
8802
8630
  message
8803
8631
  });
8804
8632
  navigate(`/auth/oops?info=${encodeURIComponent(message)}`);
@@ -9176,11 +9004,11 @@ const AuthPage = () => {
9176
9004
  const { hasAdmin } = data ?? {};
9177
9005
  const Login$1 = useEnterprise(
9178
9006
  Login,
9179
- async () => (await import("./Login-IFCsIrab.mjs")).LoginEE
9007
+ async () => (await import("./Login-6kXI90Vy.mjs")).LoginEE
9180
9008
  );
9181
9009
  const forms = useEnterprise(
9182
9010
  FORMS,
9183
- async () => (await import("./constants-ruIkLWCb.mjs")).FORMS,
9011
+ async () => (await import("./constants-FEW7x2Od.mjs")).FORMS,
9184
9012
  {
9185
9013
  combine(ceForms, eeForms) {
9186
9014
  return {
@@ -9254,7 +9082,7 @@ const NotFoundPage = () => {
9254
9082
  const ROUTES_CE = [
9255
9083
  {
9256
9084
  lazy: async () => {
9257
- const { ProtectedListPage } = await import("./ListPage-Ky2tG2bd.mjs");
9085
+ const { ProtectedListPage } = await import("./ListPage-NmUS_cOz.mjs");
9258
9086
  return {
9259
9087
  Component: ProtectedListPage
9260
9088
  };
@@ -9263,7 +9091,7 @@ const ROUTES_CE = [
9263
9091
  },
9264
9092
  {
9265
9093
  lazy: async () => {
9266
- const { ProtectedCreatePage } = await import("./CreatePage-h5L6QP47.mjs");
9094
+ const { ProtectedCreatePage } = await import("./CreatePage-PM_r99U5.mjs");
9267
9095
  return {
9268
9096
  Component: ProtectedCreatePage
9269
9097
  };
@@ -9272,7 +9100,7 @@ const ROUTES_CE = [
9272
9100
  },
9273
9101
  {
9274
9102
  lazy: async () => {
9275
- const { ProtectedCreatePage } = await import("./CreatePage-h5L6QP47.mjs");
9103
+ const { ProtectedCreatePage } = await import("./CreatePage-PM_r99U5.mjs");
9276
9104
  return {
9277
9105
  Component: ProtectedCreatePage
9278
9106
  };
@@ -9281,7 +9109,7 @@ const ROUTES_CE = [
9281
9109
  },
9282
9110
  {
9283
9111
  lazy: async () => {
9284
- const { ProtectedEditPage } = await import("./EditPage-_swY0Hy-.mjs");
9112
+ const { ProtectedEditPage } = await import("./EditPage--EPGgPNr.mjs");
9285
9113
  return {
9286
9114
  Component: ProtectedEditPage
9287
9115
  };
@@ -9290,7 +9118,7 @@ const ROUTES_CE = [
9290
9118
  },
9291
9119
  {
9292
9120
  lazy: async () => {
9293
- const { ProtectedListPage } = await import("./ListPage-God7L19W.mjs");
9121
+ const { ProtectedListPage } = await import("./ListPage-xFkcmM1b.mjs");
9294
9122
  return {
9295
9123
  Component: ProtectedListPage
9296
9124
  };
@@ -9299,7 +9127,7 @@ const ROUTES_CE = [
9299
9127
  },
9300
9128
  {
9301
9129
  lazy: async () => {
9302
- const { ProtectedEditPage } = await import("./EditPage-VoRR5DCQ.mjs");
9130
+ const { ProtectedEditPage } = await import("./EditPage-MPNLCYgQ.mjs");
9303
9131
  return {
9304
9132
  Component: ProtectedEditPage
9305
9133
  };
@@ -9308,7 +9136,7 @@ const ROUTES_CE = [
9308
9136
  },
9309
9137
  {
9310
9138
  lazy: async () => {
9311
- const { ProtectedCreatePage } = await import("./CreatePage-UC4uBFUR.mjs");
9139
+ const { ProtectedCreatePage } = await import("./CreatePage-6458K0l9.mjs");
9312
9140
  return {
9313
9141
  Component: ProtectedCreatePage
9314
9142
  };
@@ -9317,7 +9145,7 @@ const ROUTES_CE = [
9317
9145
  },
9318
9146
  {
9319
9147
  lazy: async () => {
9320
- const { ProtectedEditPage } = await import("./EditPage-wfPrhkA7.mjs").then((n) => n.b);
9148
+ const { ProtectedEditPage } = await import("./EditPage-GRIZWtGz.mjs").then((n) => n.b);
9321
9149
  return {
9322
9150
  Component: ProtectedEditPage
9323
9151
  };
@@ -9326,7 +9154,7 @@ const ROUTES_CE = [
9326
9154
  },
9327
9155
  {
9328
9156
  lazy: async () => {
9329
- const { ProtectedListPage } = await import("./ListPage-DZBRIMkE.mjs");
9157
+ const { ProtectedListPage } = await import("./ListPage-Cvn3WbMH.mjs");
9330
9158
  return {
9331
9159
  Component: ProtectedListPage
9332
9160
  };
@@ -9335,7 +9163,7 @@ const ROUTES_CE = [
9335
9163
  },
9336
9164
  {
9337
9165
  lazy: async () => {
9338
- const { ProtectedListView } = await import("./ListView-hm-mjZ8N.mjs");
9166
+ const { ProtectedListView } = await import("./ListView--43zLiHW.mjs");
9339
9167
  return {
9340
9168
  Component: ProtectedListView
9341
9169
  };
@@ -9344,7 +9172,7 @@ const ROUTES_CE = [
9344
9172
  },
9345
9173
  {
9346
9174
  lazy: async () => {
9347
- const { ProtectedCreateView } = await import("./CreateView-RVrFxAFt.mjs");
9175
+ const { ProtectedCreateView } = await import("./CreateView-cTvLLIgu.mjs");
9348
9176
  return {
9349
9177
  Component: ProtectedCreateView
9350
9178
  };
@@ -9353,7 +9181,7 @@ const ROUTES_CE = [
9353
9181
  },
9354
9182
  {
9355
9183
  lazy: async () => {
9356
- const { ProtectedEditView } = await import("./EditViewPage-8uPO5GWR.mjs");
9184
+ const { ProtectedEditView } = await import("./EditViewPage-uWYR_o8w.mjs");
9357
9185
  return {
9358
9186
  Component: ProtectedEditView
9359
9187
  };
@@ -9362,7 +9190,7 @@ const ROUTES_CE = [
9362
9190
  },
9363
9191
  {
9364
9192
  lazy: async () => {
9365
- const { ProtectedCreateView } = await import("./CreateView-DuSt3AcE.mjs");
9193
+ const { ProtectedCreateView } = await import("./CreateView-pBI75ZwZ.mjs");
9366
9194
  return {
9367
9195
  Component: ProtectedCreateView
9368
9196
  };
@@ -9371,7 +9199,7 @@ const ROUTES_CE = [
9371
9199
  },
9372
9200
  {
9373
9201
  lazy: async () => {
9374
- const { ProtectedListView } = await import("./ListView-QEgFV6dm.mjs");
9202
+ const { ProtectedListView } = await import("./ListView-qPiKeCxj.mjs");
9375
9203
  return {
9376
9204
  Component: ProtectedListView
9377
9205
  };
@@ -9380,7 +9208,7 @@ const ROUTES_CE = [
9380
9208
  },
9381
9209
  {
9382
9210
  lazy: async () => {
9383
- const { ProtectedEditView } = await import("./EditView-EuUw_2zc.mjs");
9211
+ const { ProtectedEditView } = await import("./EditView-0lXpbgG0.mjs");
9384
9212
  return {
9385
9213
  Component: ProtectedEditView
9386
9214
  };
@@ -9863,7 +9691,7 @@ class StrapiApp {
9863
9691
  {
9864
9692
  path: "usecase",
9865
9693
  lazy: async () => {
9866
- const { PrivateUseCasePage } = await import("./UseCasePage-qJwKBweD.mjs");
9694
+ const { PrivateUseCasePage } = await import("./UseCasePage-0qXYZ8kt.mjs");
9867
9695
  return {
9868
9696
  Component: PrivateUseCasePage
9869
9697
  };
@@ -9876,7 +9704,7 @@ class StrapiApp {
9876
9704
  {
9877
9705
  path: "/*",
9878
9706
  lazy: async () => {
9879
- const { PrivateAdminLayout } = await import("./AuthenticatedLayout-a7KNOdln.mjs");
9707
+ const { PrivateAdminLayout } = await import("./AuthenticatedLayout-knXNB2i2.mjs");
9880
9708
  return {
9881
9709
  Component: PrivateAdminLayout
9882
9710
  };
@@ -9885,7 +9713,7 @@ class StrapiApp {
9885
9713
  {
9886
9714
  index: true,
9887
9715
  lazy: async () => {
9888
- const { HomePage } = await import("./HomePage-C6Ivli1q.mjs");
9716
+ const { HomePage } = await import("./HomePage-O-TRGX5T.mjs");
9889
9717
  return {
9890
9718
  Component: HomePage
9891
9719
  };
@@ -9894,7 +9722,7 @@ class StrapiApp {
9894
9722
  {
9895
9723
  path: "me",
9896
9724
  lazy: async () => {
9897
- const { ProfilePage } = await import("./ProfilePage-bE7txhNu.mjs");
9725
+ const { ProfilePage } = await import("./ProfilePage-LXB-_EZ8.mjs");
9898
9726
  return {
9899
9727
  Component: ProfilePage
9900
9728
  };
@@ -9903,7 +9731,7 @@ class StrapiApp {
9903
9731
  {
9904
9732
  path: "list-plugins",
9905
9733
  lazy: async () => {
9906
- const { ProtectedInstalledPluginsPage } = await import("./InstalledPluginsPage-7m_FfOGl.mjs");
9734
+ const { ProtectedInstalledPluginsPage } = await import("./InstalledPluginsPage-R2hVFPZl.mjs");
9907
9735
  return {
9908
9736
  Component: ProtectedInstalledPluginsPage
9909
9737
  };
@@ -9912,7 +9740,7 @@ class StrapiApp {
9912
9740
  {
9913
9741
  path: "marketplace",
9914
9742
  lazy: async () => {
9915
- const { ProtectedMarketplacePage } = await import("./MarketplacePage-f0ZrC_p8.mjs");
9743
+ const { ProtectedMarketplacePage } = await import("./MarketplacePage-hVOJ9_0k.mjs");
9916
9744
  return {
9917
9745
  Component: ProtectedMarketplacePage
9918
9746
  };
@@ -9921,7 +9749,7 @@ class StrapiApp {
9921
9749
  {
9922
9750
  path: "settings/*",
9923
9751
  lazy: async () => {
9924
- const { Layout: Layout2 } = await import("./Layout-EDS3Yv8X.mjs");
9752
+ const { Layout: Layout2 } = await import("./Layout-cV6Se3U9.mjs");
9925
9753
  return {
9926
9754
  Component: Layout2
9927
9755
  };
@@ -9930,7 +9758,7 @@ class StrapiApp {
9930
9758
  {
9931
9759
  path: "application-infos",
9932
9760
  lazy: async () => {
9933
- const { ApplicationInfoPage } = await import("./ApplicationInfoPage-Zn5JU2zd.mjs");
9761
+ const { ApplicationInfoPage } = await import("./ApplicationInfoPage-ed6y9Q-B.mjs");
9934
9762
  return {
9935
9763
  Component: ApplicationInfoPage
9936
9764
  };
@@ -10625,7 +10453,7 @@ const useDocumentLayout = (model) => {
10625
10453
  const { schema, components } = useDocument({ model, collectionType: "" }, { skip: true });
10626
10454
  const [{ query }] = useQueryParams();
10627
10455
  const runHookWaterfall = useStrapiApp("useDocumentLayout", (state) => state.runHookWaterfall);
10628
- const { toggleNotification } = useNotification();
10456
+ const toggleNotification = useNotification();
10629
10457
  const { _unstableFormatAPIError: formatAPIError2 } = useAPIErrorHandler();
10630
10458
  const { isLoading: isLoadingSchemas, schemas } = useContentTypeSchema();
10631
10459
  const { data, isLoading: isLoadingConfigs, error } = useGetContentTypeConfigurationQuery(model);
@@ -10633,7 +10461,7 @@ const useDocumentLayout = (model) => {
10633
10461
  React.useEffect(() => {
10634
10462
  if (error) {
10635
10463
  toggleNotification({
10636
- type: "danger",
10464
+ type: "warning",
10637
10465
  message: formatAPIError2(error)
10638
10466
  });
10639
10467
  }
@@ -10822,150 +10650,146 @@ const convertListLayoutToFieldLayouts = (columns, attributes = {}, metadatas, co
10822
10650
  }).filter((field) => field !== null);
10823
10651
  };
10824
10652
  export {
10825
- BackButton as $,
10826
- AppInfoProvider as A,
10827
- useAdminUsers as B,
10828
- useField as C,
10829
- createContext as D,
10830
- useControllableState as E,
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,
10831
10659
  Form as F,
10832
- useLicenseLimits as G,
10833
- CHARGEBEE_WORKFLOW_ENTITLEMENT_NAME as H,
10660
+ LimitsModal as G,
10661
+ DragLayer as H,
10834
10662
  InputRenderer as I,
10835
- ConfirmDialog as J,
10836
- LimitsModal as K,
10663
+ DRAG_DROP_TYPES as J,
10664
+ useGetWorkflowsQuery as K,
10837
10665
  LayoutContent as L,
10838
- DragLayer as M,
10666
+ useCreateWorkflowMutation as M,
10839
10667
  NpsSurvey as N,
10840
- DRAG_DROP_TYPES as O,
10668
+ useUpdateWorkflowMutation as O,
10841
10669
  Page as P,
10842
- useGetWorkflowsQuery as Q,
10670
+ useDeleteWorkflowMutation as Q,
10843
10671
  RBACProvider as R,
10844
10672
  StrapiLogo as S,
10845
10673
  Table as T,
10846
10674
  UnauthenticatedLayout as U,
10847
- useCreateWorkflowMutation as V,
10848
- useUpdateWorkflowMutation as W,
10849
- useDeleteWorkflowMutation as X,
10850
- CHARGEBEE_STAGES_PER_WORKFLOW_ENTITLEMENT_NAME as Y,
10851
- useInjectReducer as Z,
10852
- REDUX_NAMESPACE as _,
10853
- useAuth as a,
10854
- extractContentTypeComponents as a$,
10855
- useGetRolesQuery as a0,
10856
- ACTION_SET_WORKFLOW as a1,
10857
- ACTION_SET_WORKFLOWS as a2,
10858
- ACTION_ADD_STAGE as a3,
10859
- ACTION_RESET_WORKFLOW as a4,
10860
- ACTION_SET_CONTENT_TYPES as a5,
10861
- ACTION_SET_ROLES as a6,
10862
- ACTION_SET_IS_LOADING as a7,
10863
- ACTION_UPDATE_WORKFLOW as a8,
10864
- ACTION_CLONE_STAGE as a9,
10865
- ComponentProvider as aA,
10866
- useForm as aB,
10867
- getIn as aC,
10868
- contentManagerApi as aD,
10869
- buildValidParams as aE,
10870
- RelationsField as aF,
10871
- setPermissions as aG,
10872
- resetPermissions as aH,
10873
- useContentTypeSchema as aI,
10874
- useGetContentTypeConfigurationQuery as aJ,
10875
- CREATOR_FIELDS as aK,
10876
- getMainField as aL,
10877
- getRelationLabel as aM,
10878
- useGetRelationsQuery as aN,
10879
- checkIfAttributeIsDisplayable as aO,
10880
- useGetAllDocumentsQuery as aP,
10881
- InjectionZone as aQ,
10882
- SearchInput as aR,
10883
- DocumentStatus as aS,
10884
- TableActions as aT,
10885
- HOOKS as aU,
10886
- convertListLayoutToFieldLayouts as aV,
10887
- capitalise as aW,
10888
- CardDragPreview as aX,
10889
- useUpdateContentTypeConfigurationMutation as aY,
10890
- setIn as aZ,
10891
- useGetInitialDataQuery as a_,
10892
- ACTION_DELETE_STAGE as aa,
10893
- ACTION_UPDATE_STAGE as ab,
10894
- ACTION_UPDATE_STAGES as ac,
10895
- ACTION_UPDATE_STAGE_POSITION as ad,
10896
- STAGE_COLOR_DEFAULT as ae,
10897
- getAvailableStageColors as af,
10898
- useDragAndDrop as ag,
10899
- getStageColorByHex as ah,
10900
- useGetProviderOptionsQuery as ai,
10901
- useUpdateProviderOptionsMutation as aj,
10902
- useDoc as ak,
10903
- useDocumentRBAC as al,
10904
- useDocumentLayout as am,
10905
- createYupSchema as an,
10906
- Header as ao,
10907
- getTranslation as ap,
10908
- Panels as aq,
10909
- Blocker as ar,
10910
- DocumentRBAC as as,
10911
- SINGLE_TYPES as at,
10912
- prefixFileUrlWithBackendUrl as au,
10913
- DIRECTIONS as av,
10914
- ItemTypes as aw,
10915
- DOCUMENT_META_FIELDS as ax,
10916
- useDocLayout as ay,
10917
- useComponent as az,
10918
- Logo as b,
10919
- DEFAULT_SETTINGS as b0,
10920
- convertEditLayoutToFieldLayouts as b1,
10921
- ATTRIBUTE_TYPES_THAT_CANNOT_BE_MAIN_FIELD as b2,
10922
- useGetProvidersQuery as b3,
10923
- Login as b4,
10924
- Column as b5,
10925
- useGetRolePermissionLayoutQuery as b6,
10926
- useGetRolePermissionsQuery as b7,
10927
- useCreateRoleMutation as b8,
10928
- useUpdateRolePermissionsMutation as b9,
10929
- isObject as ba,
10930
- useUpdateRoleMutation as bb,
10931
- useCreateUserMutation as bc,
10932
- useDeleteManyUsersMutation as bd,
10933
- getBasename as be,
10934
- useUpdateUserMutation as bf,
10935
- RelativeTime as bg,
10936
- useRegenerateTokenMutation as bh,
10937
- COLLECTION_TYPES as bi,
10938
- useDocument as bj,
10939
- STAGE_ATTRIBUTE_NAME as bk,
10940
- ASSIGNEE_ATTRIBUTE_NAME as bl,
10941
- NotificationsProvider as bm,
10942
- renderAdmin as bn,
10943
- useTable as bo,
10944
- useDocumentActions as bp,
10945
- constants as bq,
10946
- useGuidedTour as c,
10947
- useTracking as d,
10948
- useConfiguration as e,
10949
- useAppInfo as f,
10950
- getDisplayName as g,
10951
- useStrapiApp as h,
10952
- useInformationQuery as i,
10953
- useGetMyPermissionsQuery as j,
10954
- useIsHistoryRoute as k,
10955
- createTypedSelector as l,
10956
- useEnterprise as m,
10957
- adminApi as n,
10958
- useAPIErrorHandler as o,
10959
- errorsTrads as p,
10960
- useTypedSelector as q,
10961
- useTypedDispatch as r,
10962
- useUpdateMeMutation as s,
10963
- useIsSSOLockedQuery as t,
10964
- useNotification as u,
10965
- setAppTheme as v,
10966
- isBaseQueryError as w,
10967
- useGetPluginsQuery as x,
10968
- Pagination as y,
10969
- SETTINGS_LINKS_CE as z
10970
- };
10971
- //# sourceMappingURL=index-5ZvCaCyY.mjs.map
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