@strapi/content-manager 0.0.0 → 5.0.0-beta.6

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 (505) hide show
  1. package/README.md +9 -1
  2. package/dist/_chunks/CardDragPreview-DSVYodBX.js +73 -0
  3. package/dist/_chunks/CardDragPreview-DSVYodBX.js.map +1 -0
  4. package/dist/_chunks/CardDragPreview-ikSG4M46.mjs +72 -0
  5. package/dist/_chunks/CardDragPreview-ikSG4M46.mjs.map +1 -0
  6. package/dist/_chunks/ComponentConfigurationPage--2aLCv-G.mjs +236 -0
  7. package/dist/_chunks/ComponentConfigurationPage--2aLCv-G.mjs.map +1 -0
  8. package/dist/_chunks/ComponentConfigurationPage-43KmCNQE.js +255 -0
  9. package/dist/_chunks/ComponentConfigurationPage-43KmCNQE.js.map +1 -0
  10. package/dist/_chunks/ComponentIcon-BBQsYCVn.js +170 -0
  11. package/dist/_chunks/ComponentIcon-BBQsYCVn.js.map +1 -0
  12. package/dist/_chunks/ComponentIcon-BOFnK76n.mjs +151 -0
  13. package/dist/_chunks/ComponentIcon-BOFnK76n.mjs.map +1 -0
  14. package/dist/_chunks/EditConfigurationPage-BfFzJ4Br.js +151 -0
  15. package/dist/_chunks/EditConfigurationPage-BfFzJ4Br.js.map +1 -0
  16. package/dist/_chunks/EditConfigurationPage-CUcGHHvQ.mjs +132 -0
  17. package/dist/_chunks/EditConfigurationPage-CUcGHHvQ.mjs.map +1 -0
  18. package/dist/_chunks/EditViewPage-Bm8lgcm6.mjs +203 -0
  19. package/dist/_chunks/EditViewPage-Bm8lgcm6.mjs.map +1 -0
  20. package/dist/_chunks/EditViewPage-CzOT5Kpj.js +224 -0
  21. package/dist/_chunks/EditViewPage-CzOT5Kpj.js.map +1 -0
  22. package/dist/_chunks/Field-Caef4JjM.js +5352 -0
  23. package/dist/_chunks/Field-Caef4JjM.js.map +1 -0
  24. package/dist/_chunks/Field-Dlh0uGnL.mjs +5319 -0
  25. package/dist/_chunks/Field-Dlh0uGnL.mjs.map +1 -0
  26. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs +50 -0
  27. package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs.map +1 -0
  28. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js +49 -0
  29. package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js.map +1 -0
  30. package/dist/_chunks/Form-BzuAjtRq.js +759 -0
  31. package/dist/_chunks/Form-BzuAjtRq.js.map +1 -0
  32. package/dist/_chunks/Form-EnaQL_6L.mjs +737 -0
  33. package/dist/_chunks/Form-EnaQL_6L.mjs.map +1 -0
  34. package/dist/_chunks/History-C17LiyRg.js +960 -0
  35. package/dist/_chunks/History-C17LiyRg.js.map +1 -0
  36. package/dist/_chunks/History-D6sbCJvo.mjs +938 -0
  37. package/dist/_chunks/History-D6sbCJvo.mjs.map +1 -0
  38. package/dist/_chunks/ListConfigurationPage-Ce4qs7qE.mjs +622 -0
  39. package/dist/_chunks/ListConfigurationPage-Ce4qs7qE.mjs.map +1 -0
  40. package/dist/_chunks/ListConfigurationPage-Dks5SX6f.js +643 -0
  41. package/dist/_chunks/ListConfigurationPage-Dks5SX6f.js.map +1 -0
  42. package/dist/_chunks/ListViewPage-Be7S5aKL.mjs +835 -0
  43. package/dist/_chunks/ListViewPage-Be7S5aKL.mjs.map +1 -0
  44. package/dist/_chunks/ListViewPage-BwrZrPsh.js +859 -0
  45. package/dist/_chunks/ListViewPage-BwrZrPsh.js.map +1 -0
  46. package/dist/_chunks/NoContentTypePage-CIPmYQMm.mjs +51 -0
  47. package/dist/_chunks/NoContentTypePage-CIPmYQMm.mjs.map +1 -0
  48. package/dist/_chunks/NoContentTypePage-Cu5r1-JT.js +51 -0
  49. package/dist/_chunks/NoContentTypePage-Cu5r1-JT.js.map +1 -0
  50. package/dist/_chunks/NoPermissionsPage-C-j6TEUF.js +24 -0
  51. package/dist/_chunks/NoPermissionsPage-C-j6TEUF.js.map +1 -0
  52. package/dist/_chunks/NoPermissionsPage-DhJ7LYrr.mjs +24 -0
  53. package/dist/_chunks/NoPermissionsPage-DhJ7LYrr.mjs.map +1 -0
  54. package/dist/_chunks/Relations-CY7AtkDA.mjs +684 -0
  55. package/dist/_chunks/Relations-CY7AtkDA.mjs.map +1 -0
  56. package/dist/_chunks/Relations-Czs-uZ-s.js +705 -0
  57. package/dist/_chunks/Relations-Czs-uZ-s.js.map +1 -0
  58. package/dist/_chunks/ar-BUUWXIYu.js +226 -0
  59. package/dist/_chunks/ar-BUUWXIYu.js.map +1 -0
  60. package/dist/_chunks/ar-CCEVvqGG.mjs +226 -0
  61. package/dist/_chunks/ar-CCEVvqGG.mjs.map +1 -0
  62. package/dist/_chunks/ca-5U32ON2v.mjs +201 -0
  63. package/dist/_chunks/ca-5U32ON2v.mjs.map +1 -0
  64. package/dist/_chunks/ca-Cmk45QO6.js +201 -0
  65. package/dist/_chunks/ca-Cmk45QO6.js.map +1 -0
  66. package/dist/_chunks/cs-CM2aBUar.mjs +125 -0
  67. package/dist/_chunks/cs-CM2aBUar.mjs.map +1 -0
  68. package/dist/_chunks/cs-CkJy6B2v.js +125 -0
  69. package/dist/_chunks/cs-CkJy6B2v.js.map +1 -0
  70. package/dist/_chunks/de-C72KDNOl.mjs +199 -0
  71. package/dist/_chunks/de-C72KDNOl.mjs.map +1 -0
  72. package/dist/_chunks/de-CCEmbAah.js +199 -0
  73. package/dist/_chunks/de-CCEmbAah.js.map +1 -0
  74. package/dist/_chunks/en-C-V1_90f.js +285 -0
  75. package/dist/_chunks/en-C-V1_90f.js.map +1 -0
  76. package/dist/_chunks/en-MBPul9Su.mjs +285 -0
  77. package/dist/_chunks/en-MBPul9Su.mjs.map +1 -0
  78. package/dist/_chunks/es-CeXiYflN.mjs +196 -0
  79. package/dist/_chunks/es-CeXiYflN.mjs.map +1 -0
  80. package/dist/_chunks/es-EUonQTon.js +196 -0
  81. package/dist/_chunks/es-EUonQTon.js.map +1 -0
  82. package/dist/_chunks/eu-CdALomew.mjs +202 -0
  83. package/dist/_chunks/eu-CdALomew.mjs.map +1 -0
  84. package/dist/_chunks/eu-VDH-3ovk.js +202 -0
  85. package/dist/_chunks/eu-VDH-3ovk.js.map +1 -0
  86. package/dist/_chunks/fr-B7kGGg3E.js +206 -0
  87. package/dist/_chunks/fr-B7kGGg3E.js.map +1 -0
  88. package/dist/_chunks/fr-CD9VFbPM.mjs +206 -0
  89. package/dist/_chunks/fr-CD9VFbPM.mjs.map +1 -0
  90. package/dist/_chunks/gu-BRmF601H.js +200 -0
  91. package/dist/_chunks/gu-BRmF601H.js.map +1 -0
  92. package/dist/_chunks/gu-CNpaMDpH.mjs +200 -0
  93. package/dist/_chunks/gu-CNpaMDpH.mjs.map +1 -0
  94. package/dist/_chunks/hi-CCJBptSq.js +200 -0
  95. package/dist/_chunks/hi-CCJBptSq.js.map +1 -0
  96. package/dist/_chunks/hi-Dwvd04m3.mjs +200 -0
  97. package/dist/_chunks/hi-Dwvd04m3.mjs.map +1 -0
  98. package/dist/_chunks/hooks-BAaaKPS_.js +7 -0
  99. package/dist/_chunks/hooks-BAaaKPS_.js.map +1 -0
  100. package/dist/_chunks/hooks-E5u1mcgM.mjs +8 -0
  101. package/dist/_chunks/hooks-E5u1mcgM.mjs.map +1 -0
  102. package/dist/_chunks/hu-CeYvaaO0.mjs +202 -0
  103. package/dist/_chunks/hu-CeYvaaO0.mjs.map +1 -0
  104. package/dist/_chunks/hu-sNV_yLYy.js +202 -0
  105. package/dist/_chunks/hu-sNV_yLYy.js.map +1 -0
  106. package/dist/_chunks/id-B5Ser98A.js +160 -0
  107. package/dist/_chunks/id-B5Ser98A.js.map +1 -0
  108. package/dist/_chunks/id-BtwA9WJT.mjs +160 -0
  109. package/dist/_chunks/id-BtwA9WJT.mjs.map +1 -0
  110. package/dist/_chunks/index-DNVx8ssZ.mjs +3175 -0
  111. package/dist/_chunks/index-DNVx8ssZ.mjs.map +1 -0
  112. package/dist/_chunks/index-X_2tafck.js +3195 -0
  113. package/dist/_chunks/index-X_2tafck.js.map +1 -0
  114. package/dist/_chunks/it-BrVPqaf1.mjs +162 -0
  115. package/dist/_chunks/it-BrVPqaf1.mjs.map +1 -0
  116. package/dist/_chunks/it-DkBIs7vD.js +162 -0
  117. package/dist/_chunks/it-DkBIs7vD.js.map +1 -0
  118. package/dist/_chunks/ja-CcFe8diO.js +196 -0
  119. package/dist/_chunks/ja-CcFe8diO.js.map +1 -0
  120. package/dist/_chunks/ja-CtsUxOvk.mjs +196 -0
  121. package/dist/_chunks/ja-CtsUxOvk.mjs.map +1 -0
  122. package/dist/_chunks/ko-HVQRlfUI.mjs +195 -0
  123. package/dist/_chunks/ko-HVQRlfUI.mjs.map +1 -0
  124. package/dist/_chunks/ko-woFZPmLk.js +195 -0
  125. package/dist/_chunks/ko-woFZPmLk.js.map +1 -0
  126. package/dist/_chunks/layout-Dnh0PNp9.mjs +453 -0
  127. package/dist/_chunks/layout-Dnh0PNp9.mjs.map +1 -0
  128. package/dist/_chunks/layout-dBc7wN7L.js +473 -0
  129. package/dist/_chunks/layout-dBc7wN7L.js.map +1 -0
  130. package/dist/_chunks/ml-BihZwQit.mjs +200 -0
  131. package/dist/_chunks/ml-BihZwQit.mjs.map +1 -0
  132. package/dist/_chunks/ml-C2W8N8k1.js +200 -0
  133. package/dist/_chunks/ml-C2W8N8k1.js.map +1 -0
  134. package/dist/_chunks/ms-BuFotyP_.js +144 -0
  135. package/dist/_chunks/ms-BuFotyP_.js.map +1 -0
  136. package/dist/_chunks/ms-m_WjyWx7.mjs +144 -0
  137. package/dist/_chunks/ms-m_WjyWx7.mjs.map +1 -0
  138. package/dist/_chunks/nl-D4R9gHx5.mjs +202 -0
  139. package/dist/_chunks/nl-D4R9gHx5.mjs.map +1 -0
  140. package/dist/_chunks/nl-bbEOHChV.js +202 -0
  141. package/dist/_chunks/nl-bbEOHChV.js.map +1 -0
  142. package/dist/_chunks/objects-gigeqt7s.js +49 -0
  143. package/dist/_chunks/objects-gigeqt7s.js.map +1 -0
  144. package/dist/_chunks/objects-mKMAmfec.mjs +47 -0
  145. package/dist/_chunks/objects-mKMAmfec.mjs.map +1 -0
  146. package/dist/_chunks/pl-sbx9mSt_.mjs +199 -0
  147. package/dist/_chunks/pl-sbx9mSt_.mjs.map +1 -0
  148. package/dist/_chunks/pl-uzwG-hk7.js +199 -0
  149. package/dist/_chunks/pl-uzwG-hk7.js.map +1 -0
  150. package/dist/_chunks/pt-BR-BiOz37D9.js +201 -0
  151. package/dist/_chunks/pt-BR-BiOz37D9.js.map +1 -0
  152. package/dist/_chunks/pt-BR-C71iDxnh.mjs +201 -0
  153. package/dist/_chunks/pt-BR-C71iDxnh.mjs.map +1 -0
  154. package/dist/_chunks/pt-BsaFvS8-.mjs +95 -0
  155. package/dist/_chunks/pt-BsaFvS8-.mjs.map +1 -0
  156. package/dist/_chunks/pt-CeXQuq50.js +95 -0
  157. package/dist/_chunks/pt-CeXQuq50.js.map +1 -0
  158. package/dist/_chunks/relations-4pHtBrHJ.js +134 -0
  159. package/dist/_chunks/relations-4pHtBrHJ.js.map +1 -0
  160. package/dist/_chunks/relations-Dx7tMKJN.mjs +135 -0
  161. package/dist/_chunks/relations-Dx7tMKJN.mjs.map +1 -0
  162. package/dist/_chunks/ru-BE6A4Exp.mjs +231 -0
  163. package/dist/_chunks/ru-BE6A4Exp.mjs.map +1 -0
  164. package/dist/_chunks/ru-BT3ybNny.js +231 -0
  165. package/dist/_chunks/ru-BT3ybNny.js.map +1 -0
  166. package/dist/_chunks/sa-CcvkYInH.js +200 -0
  167. package/dist/_chunks/sa-CcvkYInH.js.map +1 -0
  168. package/dist/_chunks/sa-Dag0k-Z8.mjs +200 -0
  169. package/dist/_chunks/sa-Dag0k-Z8.mjs.map +1 -0
  170. package/dist/_chunks/sk-BFg-R8qJ.mjs +202 -0
  171. package/dist/_chunks/sk-BFg-R8qJ.mjs.map +1 -0
  172. package/dist/_chunks/sk-CvY09Xjv.js +202 -0
  173. package/dist/_chunks/sk-CvY09Xjv.js.map +1 -0
  174. package/dist/_chunks/sv-CUnfWGsh.mjs +202 -0
  175. package/dist/_chunks/sv-CUnfWGsh.mjs.map +1 -0
  176. package/dist/_chunks/sv-MYDuzgvT.js +202 -0
  177. package/dist/_chunks/sv-MYDuzgvT.js.map +1 -0
  178. package/dist/_chunks/th-BqbI8lIT.mjs +148 -0
  179. package/dist/_chunks/th-BqbI8lIT.mjs.map +1 -0
  180. package/dist/_chunks/th-D9_GfAjc.js +148 -0
  181. package/dist/_chunks/th-D9_GfAjc.js.map +1 -0
  182. package/dist/_chunks/tr-CgeK3wJM.mjs +199 -0
  183. package/dist/_chunks/tr-CgeK3wJM.mjs.map +1 -0
  184. package/dist/_chunks/tr-D9UH-O_R.js +199 -0
  185. package/dist/_chunks/tr-D9UH-O_R.js.map +1 -0
  186. package/dist/_chunks/uk-C8EiqJY7.js +144 -0
  187. package/dist/_chunks/uk-C8EiqJY7.js.map +1 -0
  188. package/dist/_chunks/uk-CR-zDhAY.mjs +144 -0
  189. package/dist/_chunks/uk-CR-zDhAY.mjs.map +1 -0
  190. package/dist/_chunks/urls-CbOsUOoW.mjs +7 -0
  191. package/dist/_chunks/urls-CbOsUOoW.mjs.map +1 -0
  192. package/dist/_chunks/urls-DzZya_gm.js +6 -0
  193. package/dist/_chunks/urls-DzZya_gm.js.map +1 -0
  194. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs +231 -0
  195. package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs.map +1 -0
  196. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js +249 -0
  197. package/dist/_chunks/useDragAndDrop-J0TUUbR6.js.map +1 -0
  198. package/dist/_chunks/vi-CJlYDheJ.js +111 -0
  199. package/dist/_chunks/vi-CJlYDheJ.js.map +1 -0
  200. package/dist/_chunks/vi-DUXIk_fw.mjs +111 -0
  201. package/dist/_chunks/vi-DUXIk_fw.mjs.map +1 -0
  202. package/dist/_chunks/zh-BWZspA60.mjs +209 -0
  203. package/dist/_chunks/zh-BWZspA60.mjs.map +1 -0
  204. package/dist/_chunks/zh-CQQfszqR.js +209 -0
  205. package/dist/_chunks/zh-CQQfszqR.js.map +1 -0
  206. package/dist/_chunks/zh-Hans-9kOncHGw.js +952 -0
  207. package/dist/_chunks/zh-Hans-9kOncHGw.js.map +1 -0
  208. package/dist/_chunks/zh-Hans-BPQcRIyH.mjs +952 -0
  209. package/dist/_chunks/zh-Hans-BPQcRIyH.mjs.map +1 -0
  210. package/dist/admin/index.js +11 -0
  211. package/dist/admin/index.js.map +1 -0
  212. package/dist/admin/index.mjs +11 -0
  213. package/dist/admin/index.mjs.map +1 -0
  214. package/dist/admin/src/components/ComponentIcon.d.ts +8 -0
  215. package/dist/admin/src/components/ConfigurationForm/EditFieldForm.d.ts +9 -0
  216. package/dist/admin/src/components/ConfigurationForm/Fields.d.ts +21 -0
  217. package/dist/admin/src/components/ConfigurationForm/Form.d.ts +32 -0
  218. package/dist/admin/src/components/DragLayer.d.ts +13 -0
  219. package/dist/admin/src/components/DragPreviews/CardDragPreview.d.ts +7 -0
  220. package/dist/admin/src/components/DragPreviews/ComponentDragPreview.d.ts +6 -0
  221. package/dist/admin/src/components/DragPreviews/RelationDragPreview.d.ts +11 -0
  222. package/dist/admin/src/components/FieldTypeIcon.d.ts +9 -0
  223. package/dist/admin/src/components/InjectionZone.d.ts +45 -0
  224. package/dist/admin/src/components/LeftMenu.d.ts +2 -0
  225. package/dist/admin/src/components/RelativeTime.d.ts +28 -0
  226. package/dist/admin/src/constants/attributes.d.ts +14 -0
  227. package/dist/admin/src/constants/collections.d.ts +3 -0
  228. package/dist/admin/src/constants/dragAndDrop.d.ts +8 -0
  229. package/dist/admin/src/constants/hooks.d.ts +26 -0
  230. package/dist/admin/src/constants/plugin.d.ts +3 -0
  231. package/dist/admin/src/content-manager.d.ts +133 -0
  232. package/dist/admin/src/exports.d.ts +11 -0
  233. package/dist/admin/src/features/DocumentRBAC.d.ts +36 -0
  234. package/dist/admin/src/history/components/HistoryAction.d.ts +3 -0
  235. package/dist/admin/src/history/components/VersionContent.d.ts +17 -0
  236. package/dist/admin/src/history/components/VersionHeader.d.ts +5 -0
  237. package/dist/admin/src/history/components/VersionInputRenderer.d.ts +19 -0
  238. package/dist/admin/src/history/components/VersionsList.d.ts +2 -0
  239. package/dist/admin/src/history/pages/History.d.ts +27 -0
  240. package/dist/admin/src/history/routes.d.ts +6 -0
  241. package/dist/admin/src/history/services/historyVersion.d.ts +12 -0
  242. package/dist/admin/src/hooks/useContentManagerInitData.d.ts +15 -0
  243. package/dist/admin/src/hooks/useContentTypeSchema.d.ts +25 -0
  244. package/dist/admin/src/hooks/useDebounce.d.ts +1 -0
  245. package/dist/admin/src/hooks/useDocument.d.ts +90 -0
  246. package/dist/admin/src/hooks/useDocumentActions.d.ts +102 -0
  247. package/dist/admin/src/hooks/useDocumentLayout.d.ts +137 -0
  248. package/dist/admin/src/hooks/useDragAndDrop.d.ts +51 -0
  249. package/dist/admin/src/hooks/useKeyboardDragAndDrop.d.ts +14 -0
  250. package/dist/admin/src/hooks/useLazyComponents.d.ts +13 -0
  251. package/dist/admin/src/hooks/useOnce.d.ts +2 -0
  252. package/dist/admin/src/hooks/usePrev.d.ts +1 -0
  253. package/dist/admin/src/index.d.ts +16 -0
  254. package/dist/admin/src/layout.d.ts +2 -0
  255. package/dist/admin/src/modules/app.d.ts +20 -0
  256. package/dist/admin/src/modules/hooks.d.ts +10 -0
  257. package/dist/admin/src/modules/reducers.d.ts +6 -0
  258. package/dist/admin/src/pages/ComponentConfigurationPage.d.ts +3 -0
  259. package/dist/admin/src/pages/EditConfigurationPage.d.ts +3 -0
  260. package/dist/admin/src/pages/EditView/EditViewPage.d.ts +3 -0
  261. package/dist/admin/src/pages/EditView/components/DocumentActions.d.ts +69 -0
  262. package/dist/admin/src/pages/EditView/components/DocumentStatus.d.ts +16 -0
  263. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Code.d.ts +3 -0
  264. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Heading.d.ts +3 -0
  265. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Image.d.ts +3 -0
  266. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Link.d.ts +3 -0
  267. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/List.d.ts +3 -0
  268. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Paragraph.d.ts +3 -0
  269. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Quote.d.ts +3 -0
  270. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksContent.d.ts +6 -0
  271. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.d.ts +61 -0
  272. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksInput.d.ts +11 -0
  273. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksToolbar.d.ts +10 -0
  274. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/EditorLayout.d.ts +10 -0
  275. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Modifiers.d.ts +16 -0
  276. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withImages.d.ts +11 -0
  277. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withLinks.d.ts +9 -0
  278. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withStrapiSchema.d.ts +8 -0
  279. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/conversions.d.ts +13 -0
  280. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/enterKey.d.ts +6 -0
  281. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/links.d.ts +10 -0
  282. package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/types.d.ts +10 -0
  283. package/dist/admin/src/pages/EditView/components/FormInputs/Component/Initializer.d.ts +9 -0
  284. package/dist/admin/src/pages/EditView/components/FormInputs/Component/Input.d.ts +18 -0
  285. package/dist/admin/src/pages/EditView/components/FormInputs/Component/NonRepeatable.d.ts +5 -0
  286. package/dist/admin/src/pages/EditView/components/FormInputs/Component/Repeatable.d.ts +5 -0
  287. package/dist/admin/src/pages/EditView/components/FormInputs/ComponentContext.d.ts +42 -0
  288. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/AddComponentButton.d.ts +11 -0
  289. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentCard.d.ts +9 -0
  290. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentCategory.d.ts +17 -0
  291. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentPicker.d.ts +9 -0
  292. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicComponent.d.ts +14 -0
  293. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicZoneLabel.d.ts +12 -0
  294. package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/Field.d.ts +14 -0
  295. package/dist/admin/src/pages/EditView/components/FormInputs/NotAllowed.d.ts +7 -0
  296. package/dist/admin/src/pages/EditView/components/FormInputs/Relations.d.ts +26 -0
  297. package/dist/admin/src/pages/EditView/components/FormInputs/UID.d.ts +9 -0
  298. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/Editor.d.ts +17 -0
  299. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/EditorLayout.d.ts +60 -0
  300. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/Field.d.ts +11 -0
  301. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/PreviewWysiwyg.d.ts +5 -0
  302. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygFooter.d.ts +7 -0
  303. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygNav.d.ts +17 -0
  304. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +55 -0
  305. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/utils/continueList.d.ts +5 -0
  306. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/utils/mdRenderer.d.ts +4 -0
  307. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/utils/utils.d.ts +16 -0
  308. package/dist/admin/src/pages/EditView/components/FormLayout.d.ts +5 -0
  309. package/dist/admin/src/pages/EditView/components/Header.d.ts +35 -0
  310. package/dist/admin/src/pages/EditView/components/InputRenderer.d.ts +17 -0
  311. package/dist/admin/src/pages/EditView/components/Panels.d.ts +10 -0
  312. package/dist/admin/src/pages/EditView/utils/data.d.ts +33 -0
  313. package/dist/admin/src/pages/EditView/utils/forms.d.ts +9 -0
  314. package/dist/admin/src/pages/ListConfiguration/ListConfigurationPage.d.ts +10 -0
  315. package/dist/admin/src/pages/ListConfiguration/components/DraggableCard.d.ts +12 -0
  316. package/dist/admin/src/pages/ListConfiguration/components/EditFieldForm.d.ts +8 -0
  317. package/dist/admin/src/pages/ListConfiguration/components/Header.d.ts +8 -0
  318. package/dist/admin/src/pages/ListConfiguration/components/Settings.d.ts +19 -0
  319. package/dist/admin/src/pages/ListConfiguration/components/SortDisplayedFields.d.ts +6 -0
  320. package/dist/admin/src/pages/ListView/ListViewPage.d.ts +3 -0
  321. package/dist/admin/src/pages/ListView/components/AutoCloneFailureModal.d.ts +7 -0
  322. package/dist/admin/src/pages/ListView/components/BulkActions/Actions.d.ts +51 -0
  323. package/dist/admin/src/pages/ListView/components/BulkActions/ConfirmBulkActionDialog.d.ts +15 -0
  324. package/dist/admin/src/pages/ListView/components/BulkActions/PublishAction.d.ts +31 -0
  325. package/dist/admin/src/pages/ListView/components/Filters.d.ts +8 -0
  326. package/dist/admin/src/pages/ListView/components/TableActions.d.ts +8 -0
  327. package/dist/admin/src/pages/ListView/components/TableCells/CellContent.d.ts +9 -0
  328. package/dist/admin/src/pages/ListView/components/TableCells/CellValue.d.ts +8 -0
  329. package/dist/admin/src/pages/ListView/components/TableCells/Components.d.ts +12 -0
  330. package/dist/admin/src/pages/ListView/components/TableCells/Media.d.ts +23 -0
  331. package/dist/admin/src/pages/ListView/components/TableCells/Relations.d.ts +12 -0
  332. package/dist/admin/src/pages/ListView/components/ViewSettingsMenu.d.ts +10 -0
  333. package/dist/admin/src/pages/NoContentTypePage.d.ts +2 -0
  334. package/dist/admin/src/pages/NoPermissionsPage.d.ts +2 -0
  335. package/dist/admin/src/router.d.ts +5 -0
  336. package/dist/admin/src/services/api.d.ts +3 -0
  337. package/dist/admin/src/services/components.d.ts +5 -0
  338. package/dist/admin/src/services/contentTypes.d.ts +17 -0
  339. package/dist/admin/src/services/documents.d.ts +89 -0
  340. package/dist/admin/src/services/init.d.ts +9 -0
  341. package/dist/admin/src/services/relations.d.ts +49 -0
  342. package/dist/admin/src/services/uid.d.ts +32 -0
  343. package/dist/admin/src/utils/api.d.ts +38 -0
  344. package/dist/admin/src/utils/attributes.d.ts +19 -0
  345. package/dist/admin/src/utils/objects.d.ts +33 -0
  346. package/dist/admin/src/utils/relations.d.ts +12 -0
  347. package/dist/admin/src/utils/strings.d.ts +2 -0
  348. package/dist/admin/src/utils/translations.d.ts +4 -0
  349. package/dist/admin/src/utils/urls.d.ts +2 -0
  350. package/dist/admin/src/utils/users.d.ts +6 -0
  351. package/dist/admin/src/utils/validation.d.ts +12 -0
  352. package/dist/server/index.js +4238 -0
  353. package/dist/server/index.js.map +1 -0
  354. package/dist/server/index.mjs +4214 -0
  355. package/dist/server/index.mjs.map +1 -0
  356. package/dist/server/src/bootstrap.d.ts +3 -0
  357. package/dist/server/src/bootstrap.d.ts.map +1 -0
  358. package/dist/server/src/config.d.ts +6 -0
  359. package/dist/server/src/config.d.ts.map +1 -0
  360. package/dist/server/src/constants/index.d.ts +6 -0
  361. package/dist/server/src/constants/index.d.ts.map +1 -0
  362. package/dist/server/src/controllers/collection-types.d.ts +23 -0
  363. package/dist/server/src/controllers/collection-types.d.ts.map +1 -0
  364. package/dist/server/src/controllers/components.d.ts +7 -0
  365. package/dist/server/src/controllers/components.d.ts.map +1 -0
  366. package/dist/server/src/controllers/content-types.d.ts +8 -0
  367. package/dist/server/src/controllers/content-types.d.ts.map +1 -0
  368. package/dist/server/src/controllers/index.d.ts +53 -0
  369. package/dist/server/src/controllers/index.d.ts.map +1 -0
  370. package/dist/server/src/controllers/init.d.ts +5 -0
  371. package/dist/server/src/controllers/init.d.ts.map +1 -0
  372. package/dist/server/src/controllers/relations.d.ts +13 -0
  373. package/dist/server/src/controllers/relations.d.ts.map +1 -0
  374. package/dist/server/src/controllers/single-types.d.ts +11 -0
  375. package/dist/server/src/controllers/single-types.d.ts.map +1 -0
  376. package/dist/server/src/controllers/uid.d.ts +6 -0
  377. package/dist/server/src/controllers/uid.d.ts.map +1 -0
  378. package/dist/server/src/controllers/utils/clone.d.ts +12 -0
  379. package/dist/server/src/controllers/utils/clone.d.ts.map +1 -0
  380. package/dist/server/src/controllers/utils/dimensions.d.ts +5 -0
  381. package/dist/server/src/controllers/utils/dimensions.d.ts.map +1 -0
  382. package/dist/server/src/controllers/validation/index.d.ts +20 -0
  383. package/dist/server/src/controllers/validation/index.d.ts.map +1 -0
  384. package/dist/server/src/controllers/validation/model-configuration.d.ts +22 -0
  385. package/dist/server/src/controllers/validation/model-configuration.d.ts.map +1 -0
  386. package/dist/server/src/controllers/validation/relations.d.ts +4 -0
  387. package/dist/server/src/controllers/validation/relations.d.ts.map +1 -0
  388. package/dist/server/src/destroy.d.ts +4 -0
  389. package/dist/server/src/destroy.d.ts.map +1 -0
  390. package/dist/server/src/history/constants.d.ts +3 -0
  391. package/dist/server/src/history/constants.d.ts.map +1 -0
  392. package/dist/server/src/history/controllers/history-version.d.ts +19 -0
  393. package/dist/server/src/history/controllers/history-version.d.ts.map +1 -0
  394. package/dist/server/src/history/controllers/index.d.ts +2 -0
  395. package/dist/server/src/history/controllers/index.d.ts.map +1 -0
  396. package/dist/server/src/history/controllers/validation/history-version.d.ts +2 -0
  397. package/dist/server/src/history/controllers/validation/history-version.d.ts.map +1 -0
  398. package/dist/server/src/history/index.d.ts +4 -0
  399. package/dist/server/src/history/index.d.ts.map +1 -0
  400. package/dist/server/src/history/models/history-version.d.ts +4 -0
  401. package/dist/server/src/history/models/history-version.d.ts.map +1 -0
  402. package/dist/server/src/history/routes/history-version.d.ts +4 -0
  403. package/dist/server/src/history/routes/history-version.d.ts.map +1 -0
  404. package/dist/server/src/history/routes/index.d.ts +8 -0
  405. package/dist/server/src/history/routes/index.d.ts.map +1 -0
  406. package/dist/server/src/history/services/history.d.ts +18 -0
  407. package/dist/server/src/history/services/history.d.ts.map +1 -0
  408. package/dist/server/src/history/services/index.d.ts +15 -0
  409. package/dist/server/src/history/services/index.d.ts.map +1 -0
  410. package/dist/server/src/history/services/utils.d.ts +12 -0
  411. package/dist/server/src/history/services/utils.d.ts.map +1 -0
  412. package/dist/server/src/history/utils.d.ts +18 -0
  413. package/dist/server/src/history/utils.d.ts.map +1 -0
  414. package/dist/server/src/index.d.ts +374 -0
  415. package/dist/server/src/index.d.ts.map +1 -0
  416. package/dist/server/src/middlewares/index.d.ts +3 -0
  417. package/dist/server/src/middlewares/index.d.ts.map +1 -0
  418. package/dist/server/src/middlewares/routing.d.ts +4 -0
  419. package/dist/server/src/middlewares/routing.d.ts.map +1 -0
  420. package/dist/server/src/policies/hasPermissions.d.ts +7 -0
  421. package/dist/server/src/policies/hasPermissions.d.ts.map +1 -0
  422. package/dist/server/src/policies/index.d.ts +9 -0
  423. package/dist/server/src/policies/index.d.ts.map +1 -0
  424. package/dist/server/src/register.d.ts +4 -0
  425. package/dist/server/src/register.d.ts.map +1 -0
  426. package/dist/server/src/routes/admin.d.ts +41 -0
  427. package/dist/server/src/routes/admin.d.ts.map +1 -0
  428. package/dist/server/src/routes/index.d.ts +43 -0
  429. package/dist/server/src/routes/index.d.ts.map +1 -0
  430. package/dist/server/src/services/components.d.ts +32 -0
  431. package/dist/server/src/services/components.d.ts.map +1 -0
  432. package/dist/server/src/services/configuration.d.ts +20 -0
  433. package/dist/server/src/services/configuration.d.ts.map +1 -0
  434. package/dist/server/src/services/content-types.d.ts +18 -0
  435. package/dist/server/src/services/content-types.d.ts.map +1 -0
  436. package/dist/server/src/services/data-mapper.d.ts +20 -0
  437. package/dist/server/src/services/data-mapper.d.ts.map +1 -0
  438. package/dist/server/src/services/document-manager.d.ts +47 -0
  439. package/dist/server/src/services/document-manager.d.ts.map +1 -0
  440. package/dist/server/src/services/document-metadata.d.ts +88 -0
  441. package/dist/server/src/services/document-metadata.d.ts.map +1 -0
  442. package/dist/server/src/services/field-sizes.d.ts +19 -0
  443. package/dist/server/src/services/field-sizes.d.ts.map +1 -0
  444. package/dist/server/src/services/index.d.ts +266 -0
  445. package/dist/server/src/services/index.d.ts.map +1 -0
  446. package/dist/server/src/services/metrics.d.ts +9 -0
  447. package/dist/server/src/services/metrics.d.ts.map +1 -0
  448. package/dist/server/src/services/permission-checker.d.ts +54 -0
  449. package/dist/server/src/services/permission-checker.d.ts.map +1 -0
  450. package/dist/server/src/services/permission.d.ts +12 -0
  451. package/dist/server/src/services/permission.d.ts.map +1 -0
  452. package/dist/server/src/services/populate-builder.d.ts +30 -0
  453. package/dist/server/src/services/populate-builder.d.ts.map +1 -0
  454. package/dist/server/src/services/uid.d.ts +25 -0
  455. package/dist/server/src/services/uid.d.ts.map +1 -0
  456. package/dist/server/src/services/utils/configuration/attributes.d.ts +17 -0
  457. package/dist/server/src/services/utils/configuration/attributes.d.ts.map +1 -0
  458. package/dist/server/src/services/utils/configuration/index.d.ts +21 -0
  459. package/dist/server/src/services/utils/configuration/index.d.ts.map +1 -0
  460. package/dist/server/src/services/utils/configuration/layouts.d.ts +14 -0
  461. package/dist/server/src/services/utils/configuration/layouts.d.ts.map +1 -0
  462. package/dist/server/src/services/utils/configuration/metadatas.d.ts +5 -0
  463. package/dist/server/src/services/utils/configuration/metadatas.d.ts.map +1 -0
  464. package/dist/server/src/services/utils/configuration/settings.d.ts +5 -0
  465. package/dist/server/src/services/utils/configuration/settings.d.ts.map +1 -0
  466. package/dist/server/src/services/utils/count.d.ts +5 -0
  467. package/dist/server/src/services/utils/count.d.ts.map +1 -0
  468. package/dist/server/src/services/utils/draft.d.ts +11 -0
  469. package/dist/server/src/services/utils/draft.d.ts.map +1 -0
  470. package/dist/server/src/services/utils/populate.d.ts +35 -0
  471. package/dist/server/src/services/utils/populate.d.ts.map +1 -0
  472. package/dist/server/src/services/utils/store.d.ts +16 -0
  473. package/dist/server/src/services/utils/store.d.ts.map +1 -0
  474. package/dist/server/src/utils/index.d.ts +9 -0
  475. package/dist/server/src/utils/index.d.ts.map +1 -0
  476. package/dist/server/src/validation/policies/hasPermissions.d.ts +2 -0
  477. package/dist/server/src/validation/policies/hasPermissions.d.ts.map +1 -0
  478. package/dist/shared/contracts/collection-types.d.ts +328 -0
  479. package/dist/shared/contracts/collection-types.d.ts.map +1 -0
  480. package/dist/shared/contracts/components.d.ts +65 -0
  481. package/dist/shared/contracts/components.d.ts.map +1 -0
  482. package/dist/shared/contracts/content-types.d.ts +113 -0
  483. package/dist/shared/contracts/content-types.d.ts.map +1 -0
  484. package/dist/shared/contracts/history-versions.d.ts +92 -0
  485. package/dist/shared/contracts/history-versions.d.ts.map +1 -0
  486. package/dist/shared/contracts/index.d.ts +10 -0
  487. package/dist/shared/contracts/index.d.ts.map +1 -0
  488. package/dist/shared/contracts/init.d.ts +24 -0
  489. package/dist/shared/contracts/init.d.ts.map +1 -0
  490. package/dist/shared/contracts/relations.d.ts +70 -0
  491. package/dist/shared/contracts/relations.d.ts.map +1 -0
  492. package/dist/shared/contracts/review-workflows.d.ts +78 -0
  493. package/dist/shared/contracts/review-workflows.d.ts.map +1 -0
  494. package/dist/shared/contracts/single-types.d.ts +113 -0
  495. package/dist/shared/contracts/single-types.d.ts.map +1 -0
  496. package/dist/shared/contracts/uid.d.ts +48 -0
  497. package/dist/shared/contracts/uid.d.ts.map +1 -0
  498. package/dist/shared/index.d.ts +2 -0
  499. package/dist/shared/index.d.ts.map +1 -0
  500. package/dist/shared/index.js +43 -0
  501. package/dist/shared/index.js.map +1 -0
  502. package/dist/shared/index.mjs +43 -0
  503. package/dist/shared/index.mjs.map +1 -0
  504. package/package.json +114 -2
  505. package/strapi-server.js +3 -0
@@ -0,0 +1,61 @@
1
+ import * as React from 'react';
2
+ import { type FieldValue } from '@strapi/admin/strapi-admin';
3
+ import { MessageDescriptor } from 'react-intl';
4
+ import { Editor } from 'slate';
5
+ import { type RenderElementProps } from 'slate-react';
6
+ import { type CSSProperties } from 'styled-components';
7
+ import { type BlocksContentProps } from './BlocksContent';
8
+ import { type ModifiersStore } from './Modifiers';
9
+ import type { Schema } from '@strapi/types';
10
+ interface BaseBlock {
11
+ renderElement: (props: RenderElementProps) => React.JSX.Element;
12
+ matchNode: (node: Schema.Attribute.BlocksNode) => boolean;
13
+ handleConvert?: (editor: Editor) => void | (() => React.JSX.Element);
14
+ handleEnterKey?: (editor: Editor) => void;
15
+ handleBackspaceKey?: (editor: Editor, event: React.KeyboardEvent<HTMLElement>) => void;
16
+ handleTab?: (editor: Editor) => void;
17
+ snippets?: string[];
18
+ dragHandleTopMargin?: CSSProperties['marginTop'];
19
+ }
20
+ interface NonSelectorBlock extends BaseBlock {
21
+ isInBlocksSelector: false;
22
+ }
23
+ interface SelectorBlock extends BaseBlock {
24
+ isInBlocksSelector: true;
25
+ icon: React.ComponentType;
26
+ label: MessageDescriptor;
27
+ }
28
+ type NonSelectorBlockKey = 'list-item' | 'link';
29
+ declare const selectorBlockKeys: readonly ["paragraph", "heading-one", "heading-two", "heading-three", "heading-four", "heading-five", "heading-six", "list-ordered", "list-unordered", "image", "quote", "code"];
30
+ type SelectorBlockKey = (typeof selectorBlockKeys)[number];
31
+ declare const isSelectorBlockKey: (key: unknown) => key is "code" | "image" | "paragraph" | "quote" | "heading-one" | "heading-two" | "heading-three" | "heading-four" | "heading-five" | "heading-six" | "list-ordered" | "list-unordered";
32
+ type BlocksStore = {
33
+ [K in SelectorBlockKey]: SelectorBlock;
34
+ } & {
35
+ [K in NonSelectorBlockKey]: NonSelectorBlock;
36
+ };
37
+ interface BlocksEditorContextValue {
38
+ blocks: BlocksStore;
39
+ modifiers: ModifiersStore;
40
+ disabled: boolean;
41
+ name: string;
42
+ setLiveText: (text: string) => void;
43
+ isExpandedMode: boolean;
44
+ }
45
+ declare const BlocksEditorProvider: {
46
+ (props: BlocksEditorContextValue & {
47
+ children: React.ReactNode;
48
+ }): import("react/jsx-runtime").JSX.Element;
49
+ displayName: string;
50
+ };
51
+ declare function useBlocksEditorContext(consumerName: string): BlocksEditorContextValue & {
52
+ editor: Editor;
53
+ };
54
+ interface BlocksEditorProps extends Pick<FieldValue<Schema.Attribute.BlocksValue>, 'onChange' | 'value' | 'error'>, BlocksContentProps {
55
+ disabled?: boolean;
56
+ name: string;
57
+ }
58
+ declare const BlocksEditor: React.ForwardRefExoticComponent<BlocksEditorProps & React.RefAttributes<{
59
+ focus: () => void;
60
+ }>>;
61
+ export { type BlocksStore, type SelectorBlockKey, BlocksEditor, BlocksEditorProvider, useBlocksEditorContext, isSelectorBlockKey, };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { type InputProps } from '@strapi/admin/strapi-admin';
3
+ import type { Schema } from '@strapi/types';
4
+ interface BlocksInputProps extends Omit<InputProps, 'type'> {
5
+ labelAction?: React.ReactNode;
6
+ type: Schema.Attribute.Blocks['type'];
7
+ }
8
+ declare const BlocksInput: React.ForwardRefExoticComponent<BlocksInputProps & React.RefAttributes<{
9
+ focus: () => void;
10
+ }>>;
11
+ export { BlocksInput };
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * Handles the modal component that may be returned by a block when converting it
4
+ */
5
+ declare function useConversionModal(): {
6
+ modalElement: React.JSX.Element | null;
7
+ handleConversionResult: (renderModal: void | (() => React.JSX.Element) | undefined) => void;
8
+ };
9
+ declare const BlocksToolbar: () => import("react/jsx-runtime").JSX.Element;
10
+ export { BlocksToolbar, useConversionModal };
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ interface EditorLayoutProps {
3
+ children: React.ReactNode;
4
+ error?: string;
5
+ onCollapse: () => void;
6
+ disabled: boolean;
7
+ ariaDescriptionId: string;
8
+ }
9
+ declare const EditorLayout: ({ children, error, disabled, onCollapse, ariaDescriptionId, }: EditorLayoutProps) => import("react/jsx-runtime").JSX.Element;
10
+ export { EditorLayout };
@@ -0,0 +1,16 @@
1
+ import * as React from 'react';
2
+ import { type MessageDescriptor } from 'react-intl';
3
+ import { Editor, Text } from 'slate';
4
+ type ModifierKey = Exclude<keyof Text, 'type' | 'text'>;
5
+ type ModifiersStore = {
6
+ [K in ModifierKey]: {
7
+ icon: React.ComponentType;
8
+ isValidEventKey: (event: React.KeyboardEvent<HTMLElement>) => boolean;
9
+ label: MessageDescriptor;
10
+ checkIsActive: (editor: Editor) => boolean;
11
+ handleToggle: (editor: Editor) => void;
12
+ renderLeaf: (children: React.JSX.Element | string) => React.JSX.Element;
13
+ };
14
+ };
15
+ declare const modifiers: ModifiersStore;
16
+ export { type ModifiersStore, modifiers };
@@ -0,0 +1,11 @@
1
+ import { type Editor } from 'slate';
2
+ /**
3
+ * Images are void elements. They handle the rendering of their children instead of Slate.
4
+ * See the Slate documentation for more information:
5
+ * - https://docs.slatejs.org/api/nodes/element#void-vs-not-void
6
+ * - https://docs.slatejs.org/api/nodes/element#rendering-void-elements
7
+ */
8
+ declare const withImages: (editor: Editor) => Omit<import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & import("./withLinks").LinkEditor, "children"> & {
9
+ children: import("@strapi/types/dist/schema/attribute").BlocksValue;
10
+ };
11
+ export { withImages };
@@ -0,0 +1,9 @@
1
+ import { type BaseEditor, Path, Editor } from 'slate';
2
+ interface LinkEditor extends BaseEditor {
3
+ lastInsertedLinkPath: Path | null;
4
+ shouldSaveLinkPath: boolean;
5
+ }
6
+ declare const withLinks: (editor: Editor) => Omit<BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & LinkEditor, "children"> & {
7
+ children: import("@strapi/types/dist/schema/attribute").BlocksValue;
8
+ };
9
+ export { withLinks, type LinkEditor };
@@ -0,0 +1,8 @@
1
+ import { Editor } from 'slate';
2
+ /**
3
+ * This plugin is used to normalize the Slate document to match the Strapi schema.
4
+ */
5
+ declare const withStrapiSchema: (editor: Editor) => Omit<import("slate").BaseEditor & import("slate-react").ReactEditor & import("slate-history").HistoryEditor & import("./withLinks").LinkEditor, "children"> & {
6
+ children: import("@strapi/types/dist/schema/attribute").BlocksValue;
7
+ };
8
+ export { withStrapiSchema };
@@ -0,0 +1,13 @@
1
+ import { type Element, type Path, Editor } from 'slate';
2
+ /**
3
+ * Extracts some logic that is common to most blocks' handleConvert functions.
4
+ * @returns The path of the converted block
5
+ */
6
+ declare const baseHandleConvert: <T extends import("@strapi/types/dist/schema/attribute").BlocksNode>(editor: Editor, attributesToSet: Partial<T> & {
7
+ type: T['type'];
8
+ }) => void | Path;
9
+ /**
10
+ * Set all attributes except type and children to null so that Slate deletes them
11
+ */
12
+ declare const getAttributesToClear: (element: Element) => Record<string, null>;
13
+ export { baseHandleConvert, getAttributesToClear };
@@ -0,0 +1,6 @@
1
+ import { Editor } from 'slate';
2
+ /**
3
+ * Inserts a line break the first time the user presses enter, and exits the node the second time.
4
+ */
5
+ declare const pressEnterTwiceToExit: (editor: Editor) => void;
6
+ export { pressEnterTwiceToExit };
@@ -0,0 +1,10 @@
1
+ import { Editor } from 'slate';
2
+ declare const removeLink: (editor: Editor) => void;
3
+ declare const insertLink: (editor: Editor, { url }: {
4
+ url: string;
5
+ }) => void;
6
+ declare const editLink: (editor: Editor, link: {
7
+ url: string;
8
+ text: string;
9
+ }) => void;
10
+ export { insertLink, editLink, removeLink };
@@ -0,0 +1,10 @@
1
+ import type { Schema } from '@strapi/types';
2
+ import type { Element, Node } from 'slate';
3
+ type Block<T extends Element['type']> = Extract<Node, {
4
+ type: T;
5
+ }>;
6
+ declare const getEntries: <T extends object>(object: T) => [keyof T, T[keyof T]][];
7
+ declare const getKeys: <T extends object>(object: T) => (keyof T)[];
8
+ declare const isLinkNode: (element: Element) => element is Schema.Attribute.LinkInlineNode;
9
+ declare const isListNode: (element: Element) => element is Schema.Attribute.ListBlockNode;
10
+ export { type Block, getEntries, getKeys, isLinkNode, isListNode };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ interface InitializerProps {
3
+ disabled?: boolean;
4
+ name: string;
5
+ onClick?: React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLDivElement>;
6
+ }
7
+ declare const Initializer: ({ disabled, name, onClick }: InitializerProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { Initializer };
9
+ export type { InitializerProps };
@@ -0,0 +1,18 @@
1
+ import * as React from 'react';
2
+ import { InputProps } from '@strapi/admin/strapi-admin';
3
+ import { EditFieldLayout } from '../../../../../hooks/useDocumentLayout';
4
+ import { type InputRendererProps } from '../../InputRenderer';
5
+ interface ComponentInputProps extends Omit<Extract<EditFieldLayout, {
6
+ type: 'component';
7
+ }>, 'size' | 'hint'>, Pick<InputProps, 'hint'> {
8
+ labelAction?: React.ReactNode;
9
+ children: (props: InputRendererProps) => React.ReactNode;
10
+ /**
11
+ * We need layout to come from the props, and not via a hook, because Content History needs
12
+ * a way to modify the normal component layout to add hidden fields.
13
+ */
14
+ layout: EditFieldLayout[][];
15
+ }
16
+ declare const ComponentInput: ({ label, required, name, attribute, disabled, labelAction, ...props }: ComponentInputProps) => import("react/jsx-runtime").JSX.Element;
17
+ export { ComponentInput };
18
+ export type { ComponentInputProps };
@@ -0,0 +1,5 @@
1
+ import type { ComponentInputProps } from './Input';
2
+ type NonRepeatableComponentProps = Omit<ComponentInputProps, 'required' | 'label'>;
3
+ declare const NonRepeatableComponent: ({ attribute, name, children, layout, }: NonRepeatableComponentProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { NonRepeatableComponent };
5
+ export type { NonRepeatableComponentProps };
@@ -0,0 +1,5 @@
1
+ import type { ComponentInputProps } from './Input';
2
+ type RepeatableComponentProps = Omit<ComponentInputProps, 'required' | 'label'>;
3
+ declare const RepeatableComponent: ({ attribute, disabled, name, mainField, children, layout, }: RepeatableComponentProps) => import("react/jsx-runtime").JSX.Element;
4
+ export { RepeatableComponent };
5
+ export type { RepeatableComponentProps };
@@ -0,0 +1,42 @@
1
+ /// <reference types="react" />
2
+ interface ComponentContextValue {
3
+ /**
4
+ * The id of the component. It will be undefined if the component
5
+ * has not been created in the database yet. This could be on a new
6
+ * or existing entry.
7
+ */
8
+ id?: number;
9
+ /**
10
+ * The level of the component. This is used to determine the nesting
11
+ * of the component. The default is set to -1 so that the base level is 0
12
+ * for the top level component, and increases by 1 for each level of nesting.
13
+ */
14
+ level: number;
15
+ /**
16
+ * The uid of the component. This is used to determine the type of the
17
+ * component. Within an attribute, it is normally the `component` value.
18
+ * It will be undefined if the hook is not called within the confines
19
+ * of a provider.
20
+ */
21
+ uid?: string;
22
+ /**
23
+ * The type of component parent. It will be undefined if the hook
24
+ * is not called within the confines of a provider.
25
+ */
26
+ type?: 'dynamiczone' | 'repeatable' | 'component';
27
+ }
28
+ /**
29
+ * We use this component to wrap any individual component field in the Edit View,
30
+ * this could be a component field in a dynamic zone, a component within a repeatable space,
31
+ * or even nested components.
32
+ *
33
+ * We primarily need this to provide the component id to the components so that they can
34
+ * correctly fetch their relations.
35
+ */
36
+ declare const ComponentProvider: {
37
+ (props: ComponentContextValue & {
38
+ children: import("react").ReactNode;
39
+ }): import("react/jsx-runtime").JSX.Element;
40
+ displayName: string;
41
+ }, useComponent: <Selected>(consumerName: string, selector: (value: ComponentContextValue) => Selected) => Selected;
42
+ export { ComponentProvider, useComponent };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ interface AddComponentButtonProps {
3
+ children: React.ReactNode;
4
+ hasError?: boolean;
5
+ isDisabled?: boolean;
6
+ isOpen?: boolean;
7
+ onClick: React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLDivElement>;
8
+ }
9
+ declare const AddComponentButton: ({ hasError, isDisabled, isOpen, children, onClick, }: AddComponentButtonProps) => import("react/jsx-runtime").JSX.Element;
10
+ export { AddComponentButton };
11
+ export type { AddComponentButtonProps };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { ComponentIconProps } from '../../../../../components/ComponentIcon';
3
+ interface ComponentCardProps extends Pick<ComponentIconProps, 'icon'> {
4
+ children: React.ReactNode;
5
+ onClick?: React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLDivElement>;
6
+ }
7
+ declare const ComponentCard: ({ children, onClick, icon }: ComponentCardProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { ComponentCard };
9
+ export type { ComponentCardProps };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { AccordionVariant } from '@strapi/design-system';
3
+ interface ComponentCategoryProps {
4
+ category: string;
5
+ components?: Array<{
6
+ uid: string;
7
+ displayName: string;
8
+ icon?: string;
9
+ }>;
10
+ isOpen?: boolean;
11
+ onAddComponent: (componentUid: string) => React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLDivElement>;
12
+ onToggle: (category: string) => void;
13
+ variant?: AccordionVariant;
14
+ }
15
+ declare const ComponentCategory: ({ category, components, variant, isOpen, onAddComponent, onToggle, }: ComponentCategoryProps) => import("react/jsx-runtime").JSX.Element;
16
+ export { ComponentCategory };
17
+ export type { ComponentCategoryProps };
@@ -0,0 +1,9 @@
1
+ import { ComponentCategoryProps } from './ComponentCategory';
2
+ interface ComponentPickerProps {
3
+ dynamicComponentsByCategory?: Record<string, NonNullable<ComponentCategoryProps['components']>>;
4
+ isOpen?: boolean;
5
+ onClickAddComponent: (componentUid: string) => void;
6
+ }
7
+ declare const ComponentPicker: ({ dynamicComponentsByCategory, isOpen, onClickAddComponent, }: ComponentPickerProps) => import("react/jsx-runtime").JSX.Element | null;
8
+ export { ComponentPicker };
9
+ export type { ComponentPickerProps };
@@ -0,0 +1,14 @@
1
+ import { type UseDragAndDropOptions } from '../../../../../hooks/useDragAndDrop';
2
+ import type { ComponentPickerProps } from './ComponentPicker';
3
+ interface DynamicComponentProps extends Pick<UseDragAndDropOptions, 'onGrabItem' | 'onDropItem' | 'onCancel'>, Pick<ComponentPickerProps, 'dynamicComponentsByCategory'> {
4
+ componentUid: string;
5
+ disabled?: boolean;
6
+ index: number;
7
+ name: string;
8
+ onAddComponent: (componentUid: string, index: number) => void;
9
+ onRemoveComponentClick: () => void;
10
+ onMoveComponent: (dragIndex: number, hoverIndex: number) => void;
11
+ }
12
+ declare const DynamicComponent: ({ componentUid, disabled, index, name, onRemoveComponentClick, onMoveComponent, onGrabItem, onDropItem, onCancel, dynamicComponentsByCategory, onAddComponent, }: DynamicComponentProps) => import("react/jsx-runtime").JSX.Element;
13
+ export { DynamicComponent };
14
+ export type { DynamicComponentProps };
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ interface DynamicZoneLabelProps {
3
+ label?: React.ReactNode;
4
+ labelAction?: React.ReactNode;
5
+ name: string;
6
+ numberOfComponents?: number;
7
+ required?: boolean;
8
+ hint?: React.ReactNode;
9
+ }
10
+ declare const DynamicZoneLabel: ({ hint, label, labelAction, name, numberOfComponents, required, }: DynamicZoneLabelProps) => import("react/jsx-runtime").JSX.Element;
11
+ export { DynamicZoneLabel };
12
+ export type { DynamicZoneLabelProps };
@@ -0,0 +1,14 @@
1
+ import { InputProps } from '@strapi/admin/strapi-admin';
2
+ import { type EditFieldLayout } from '../../../../../hooks/useDocumentLayout';
3
+ import { DynamicZoneLabelProps } from './DynamicZoneLabel';
4
+ interface DynamicZoneContextValue {
5
+ isInDynamicZone: boolean;
6
+ }
7
+ declare const useDynamicZone: <Selected>(consumerName: string, selector: (value: DynamicZoneContextValue) => Selected) => Selected;
8
+ interface DynamicZoneProps extends Omit<Extract<EditFieldLayout, {
9
+ type: 'dynamiczone';
10
+ }>, 'size' | 'hint'>, Pick<InputProps, 'hint'>, Pick<DynamicZoneLabelProps, 'labelAction'> {
11
+ }
12
+ declare const DynamicZone: ({ attribute, disabled, hint, label, labelAction, name, required, }: DynamicZoneProps) => import("react/jsx-runtime").JSX.Element;
13
+ export { DynamicZone, useDynamicZone };
14
+ export type { DynamicZoneProps };
@@ -0,0 +1,7 @@
1
+ import type { InputProps } from '@strapi/admin/strapi-admin';
2
+ import type { Schema } from '@strapi/types';
3
+ interface NotAllowedInputProps extends Omit<InputProps, 'type'> {
4
+ type: Schema.Attribute.Kind;
5
+ }
6
+ declare const NotAllowedInput: ({ hint, label, required, name }: NotAllowedInputProps) => import("react/jsx-runtime").JSX.Element;
7
+ export { NotAllowedInput };
@@ -0,0 +1,26 @@
1
+ import * as React from 'react';
2
+ import { type InputProps } from '@strapi/admin/strapi-admin';
3
+ import { type EditFieldLayout } from '../../../../hooks/useDocumentLayout';
4
+ interface RelationsFieldProps extends Omit<Extract<EditFieldLayout, {
5
+ type: 'relation';
6
+ }>, 'size' | 'hint'>, Pick<InputProps, 'hint'> {
7
+ }
8
+ /**
9
+ * TODO: we get a rather ugly flash when we remove a single relation from the list leaving
10
+ * no other relations when we press save. The initial relation re-renders, probably because
11
+ * of the lag in the Form cleaning it's "disconnect" array, whilst our data has not been invalidated.
12
+ *
13
+ * Could we invalidate relation data on the document actions? Should we?
14
+ */
15
+ /**
16
+ * @internal
17
+ * @description The relations field holds a lot of domain logic for handling relations which is rather complicated
18
+ * At present we do not expose this to plugin developers, however, they are able to overwrite it themselves should
19
+ * they wish to do so.
20
+ */
21
+ declare const RelationsField: React.ForwardRefExoticComponent<RelationsFieldProps & React.RefAttributes<HTMLDivElement>>;
22
+ declare const FlexWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("@strapi/design-system").FlexProps<"div">, never>;
23
+ declare const DisconnectButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
24
+ declare const LinkEllipsis: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("@strapi/design-system").LinkProps & React.RefAttributes<HTMLAnchorElement>>, import("styled-components").DefaultTheme, {}, never>;
25
+ export { RelationsField as RelationsInput, FlexWrapper, DisconnectButton, LinkEllipsis };
26
+ export type { RelationsFieldProps };
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ import { type InputProps } from '@strapi/admin/strapi-admin';
3
+ import type { Schema } from '@strapi/types';
4
+ interface UIDInputProps extends Omit<InputProps, 'type'> {
5
+ type: Schema.Attribute.TypeOf<Schema.Attribute.UID>;
6
+ }
7
+ declare const UIDInput: React.ForwardRefExoticComponent<UIDInputProps & React.RefAttributes<any>>;
8
+ export { UIDInput };
9
+ export type { UIDInputProps };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { EditorFromTextArea } from 'codemirror5';
3
+ import type { FieldValue, InputProps } from '@strapi/admin/strapi-admin';
4
+ import 'codemirror5/addon/display/placeholder';
5
+ interface EditorApi {
6
+ focus: () => void;
7
+ scrollIntoView: (args?: Parameters<HTMLElement['scrollIntoView']>[0]) => void;
8
+ }
9
+ interface EditorProps extends Omit<FieldValue, 'initialValue'>, Omit<InputProps, 'type' | 'label'> {
10
+ editorRef: React.MutableRefObject<EditorFromTextArea>;
11
+ isPreviewMode?: boolean;
12
+ isExpandMode?: boolean;
13
+ textareaRef: React.RefObject<HTMLTextAreaElement>;
14
+ }
15
+ declare const Editor: React.ForwardRefExoticComponent<EditorProps & React.RefAttributes<EditorApi>>;
16
+ export { Editor };
17
+ export type { EditorProps, EditorApi };
@@ -0,0 +1,60 @@
1
+ import * as React from 'react';
2
+ interface EditorLayoutProps {
3
+ children: React.ReactNode;
4
+ isExpandMode: boolean;
5
+ error?: string;
6
+ previewContent?: string;
7
+ onCollapse: () => void;
8
+ }
9
+ declare const EditorLayout: ({ children, isExpandMode, error, previewContent, onCollapse, }: EditorLayoutProps) => import("react/jsx-runtime").JSX.Element;
10
+ declare const ExpandButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & Pick<import("styled-components").CSSProperties, "position" | "cursor" | "display" | "overflow" | "pointerEvents" | "transform" | "zIndex" | "transition" | "animation" | "textAlign" | "textTransform"> & {
11
+ _hover?: ((theme: import("styled-components").DefaultTheme) => string) | undefined;
12
+ background?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"colors", "background">;
13
+ basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
14
+ borderColor?: keyof import("@strapi/design-system/dist/themes/colors").Colors | undefined;
15
+ color?: keyof import("@strapi/design-system/dist/themes/colors").Colors | undefined;
16
+ flex?: import("csstype").Property.Flex<string | number> | undefined;
17
+ fontSize?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
18
+ grow?: import("csstype").Property.FlexGrow | undefined;
19
+ hasRadius?: boolean | undefined;
20
+ hiddenS?: boolean | undefined;
21
+ hiddenXS?: boolean | undefined;
22
+ padding?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"padding">;
23
+ paddingBottom?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
24
+ paddingLeft?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
25
+ paddingRight?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
26
+ paddingTop?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
27
+ margin?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"margin">;
28
+ marginLeft?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
29
+ marginBottom?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
30
+ marginRight?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
31
+ marginTop?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
32
+ shadow?: keyof import("@strapi/design-system/dist/themes/colors").Shadows | undefined;
33
+ shrink?: import("csstype").Property.FlexShrink | undefined;
34
+ lineHeight?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
35
+ width?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "width">;
36
+ minWidth?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
37
+ maxWidth?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
38
+ height?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "height">;
39
+ minHeight?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
40
+ maxHeight?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
41
+ top?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "top">;
42
+ left?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "left">;
43
+ bottom?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "bottom">;
44
+ right?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "right">;
45
+ borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
46
+ borderStyle?: import("csstype").Property.BorderStyle | undefined;
47
+ borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
48
+ children?: React.ReactNode;
49
+ as?: string | React.ComponentType<any> | undefined;
50
+ forwardedAs?: string | React.ComponentType<any> | undefined;
51
+ } & {
52
+ alignItems?: import("csstype").Property.AlignItems | undefined;
53
+ direction?: import("csstype").Property.FlexDirection | undefined;
54
+ gap?: any;
55
+ inline?: boolean | undefined;
56
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
57
+ wrap?: import("csstype").Property.FlexWrap | undefined;
58
+ } & React.RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
59
+ export { EditorLayout, ExpandButton };
60
+ export type { EditorLayoutProps };
@@ -0,0 +1,11 @@
1
+ import * as React from 'react';
2
+ import { type InputProps } from '@strapi/admin/strapi-admin';
3
+ import { EditorApi } from './Editor';
4
+ import type { Schema } from '@strapi/types';
5
+ interface WysiwygProps extends Omit<InputProps, 'type'> {
6
+ labelAction?: React.ReactNode;
7
+ type: Schema.Attribute.RichText['type'];
8
+ }
9
+ declare const Wysiwyg: React.ForwardRefExoticComponent<WysiwygProps & React.RefAttributes<EditorApi>>;
10
+ export { Wysiwyg };
11
+ export type { WysiwygProps };
@@ -0,0 +1,5 @@
1
+ interface PreviewWysiwygProps {
2
+ data?: string;
3
+ }
4
+ declare const PreviewWysiwyg: ({ data }: PreviewWysiwygProps) => import("react/jsx-runtime").JSX.Element;
5
+ export { PreviewWysiwyg };
@@ -0,0 +1,7 @@
1
+ import { BaseButtonProps } from '@strapi/design-system';
2
+ interface WysiwygFooterProps {
3
+ onToggleExpand: BaseButtonProps['onClick'];
4
+ }
5
+ declare const WysiwygFooter: ({ onToggleExpand }: WysiwygFooterProps) => import("react/jsx-runtime").JSX.Element;
6
+ export { WysiwygFooter };
7
+ export type { WysiwygFooterProps };
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { EditorFromTextArea } from 'codemirror5';
3
+ interface WysiwygNavProps {
4
+ disabled?: boolean;
5
+ editorRef: React.MutableRefObject<EditorFromTextArea>;
6
+ isExpandMode?: boolean;
7
+ isPreviewMode?: boolean;
8
+ onActionClick: (action: string, editorRef: React.MutableRefObject<EditorFromTextArea>, callback?: () => void) => void;
9
+ onToggleMediaLib: () => void;
10
+ onTogglePreviewMode?: () => void;
11
+ }
12
+ /**
13
+ * TODO: refactor this mess.
14
+ */
15
+ declare const WysiwygNav: ({ disabled, editorRef, isExpandMode, isPreviewMode, onActionClick, onToggleMediaLib, onTogglePreviewMode, }: WysiwygNavProps) => import("react/jsx-runtime").JSX.Element;
16
+ export { WysiwygNav };
17
+ export type { WysiwygNavProps };
@@ -0,0 +1,55 @@
1
+ /// <reference types="react" />
2
+ export declare const CustomIconButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@strapi/design-system").IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const CustomLinkIconButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@strapi/design-system").IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const MainButtons: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("@strapi/design-system").FlexProps<"div">, never>;
5
+ export declare const MoreButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@strapi/design-system").IconButtonProps & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;
6
+ export declare const IconButtonGroupMargin: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("@strapi/design-system").FlexProps<"div">, never>;
7
+ export declare const ExpandButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & Pick<import("styled-components").CSSProperties, "position" | "cursor" | "display" | "overflow" | "pointerEvents" | "transform" | "zIndex" | "transition" | "animation" | "textAlign" | "textTransform"> & {
8
+ _hover?: ((theme: import("styled-components").DefaultTheme) => string) | undefined;
9
+ background?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"colors", "background">;
10
+ basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
11
+ borderColor?: keyof import("@strapi/design-system/dist/themes/colors").Colors | undefined;
12
+ color?: keyof import("@strapi/design-system/dist/themes/colors").Colors | undefined;
13
+ flex?: import("csstype").Property.Flex<string | number> | undefined;
14
+ fontSize?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
15
+ grow?: import("csstype").Property.FlexGrow | undefined;
16
+ hasRadius?: boolean | undefined;
17
+ hiddenS?: boolean | undefined;
18
+ hiddenXS?: boolean | undefined;
19
+ padding?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"padding">;
20
+ paddingBottom?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
21
+ paddingLeft?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
22
+ paddingRight?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
23
+ paddingTop?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
24
+ margin?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"margin">;
25
+ marginLeft?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
26
+ marginBottom?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
27
+ marginRight?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
28
+ marginTop?: import("@strapi/design-system/dist/helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
29
+ shadow?: keyof import("@strapi/design-system/dist/themes/colors").Shadows | undefined;
30
+ shrink?: import("csstype").Property.FlexShrink | undefined;
31
+ lineHeight?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
32
+ width?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "width">;
33
+ minWidth?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
34
+ maxWidth?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
35
+ height?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "height">;
36
+ minHeight?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
37
+ maxHeight?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
38
+ top?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "top">;
39
+ left?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "left">;
40
+ bottom?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "bottom">;
41
+ right?: import("@strapi/design-system/dist/types").DefaultThemeOrCSSProp<"spaces", "right">;
42
+ borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
43
+ borderStyle?: import("csstype").Property.BorderStyle | undefined;
44
+ borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
45
+ children?: import("react").ReactNode;
46
+ as?: string | import("react").ComponentType<any> | undefined;
47
+ forwardedAs?: string | import("react").ComponentType<any> | undefined;
48
+ } & {
49
+ alignItems?: import("csstype").Property.AlignItems | undefined;
50
+ direction?: import("csstype").Property.FlexDirection | undefined;
51
+ gap?: any;
52
+ inline?: boolean | undefined;
53
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
54
+ wrap?: import("csstype").Property.FlexWrap | undefined;
55
+ } & import("react").RefAttributes<HTMLButtonElement>>, import("styled-components").DefaultTheme, {}, never>;