@strapi/content-manager 0.0.0-experimental.a65a85fdea97faae8679d3ffc5f9d79af61abd26 → 0.0.0
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.
- package/README.md +1 -9
- package/package.json +2 -114
- package/dist/_chunks/CardDragPreview-DSVYodBX.js +0 -73
- package/dist/_chunks/CardDragPreview-DSVYodBX.js.map +0 -1
- package/dist/_chunks/CardDragPreview-ikSG4M46.mjs +0 -72
- package/dist/_chunks/CardDragPreview-ikSG4M46.mjs.map +0 -1
- package/dist/_chunks/ComponentConfigurationPage--2aLCv-G.mjs +0 -236
- package/dist/_chunks/ComponentConfigurationPage--2aLCv-G.mjs.map +0 -1
- package/dist/_chunks/ComponentConfigurationPage-43KmCNQE.js +0 -255
- package/dist/_chunks/ComponentConfigurationPage-43KmCNQE.js.map +0 -1
- package/dist/_chunks/ComponentIcon-BBQsYCVn.js +0 -170
- package/dist/_chunks/ComponentIcon-BBQsYCVn.js.map +0 -1
- package/dist/_chunks/ComponentIcon-BOFnK76n.mjs +0 -151
- package/dist/_chunks/ComponentIcon-BOFnK76n.mjs.map +0 -1
- package/dist/_chunks/EditConfigurationPage-BfFzJ4Br.js +0 -151
- package/dist/_chunks/EditConfigurationPage-BfFzJ4Br.js.map +0 -1
- package/dist/_chunks/EditConfigurationPage-CUcGHHvQ.mjs +0 -132
- package/dist/_chunks/EditConfigurationPage-CUcGHHvQ.mjs.map +0 -1
- package/dist/_chunks/EditViewPage-Bm8lgcm6.mjs +0 -203
- package/dist/_chunks/EditViewPage-Bm8lgcm6.mjs.map +0 -1
- package/dist/_chunks/EditViewPage-CzOT5Kpj.js +0 -224
- package/dist/_chunks/EditViewPage-CzOT5Kpj.js.map +0 -1
- package/dist/_chunks/Field-Caef4JjM.js +0 -5352
- package/dist/_chunks/Field-Caef4JjM.js.map +0 -1
- package/dist/_chunks/Field-Dlh0uGnL.mjs +0 -5319
- package/dist/_chunks/Field-Dlh0uGnL.mjs.map +0 -1
- package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs +0 -50
- package/dist/_chunks/FieldTypeIcon-CMlNO8PE.mjs.map +0 -1
- package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js +0 -49
- package/dist/_chunks/FieldTypeIcon-Dnwq_IRF.js.map +0 -1
- package/dist/_chunks/Form-BzuAjtRq.js +0 -759
- package/dist/_chunks/Form-BzuAjtRq.js.map +0 -1
- package/dist/_chunks/Form-EnaQL_6L.mjs +0 -737
- package/dist/_chunks/Form-EnaQL_6L.mjs.map +0 -1
- package/dist/_chunks/History-C17LiyRg.js +0 -960
- package/dist/_chunks/History-C17LiyRg.js.map +0 -1
- package/dist/_chunks/History-D6sbCJvo.mjs +0 -938
- package/dist/_chunks/History-D6sbCJvo.mjs.map +0 -1
- package/dist/_chunks/ListConfigurationPage-Ce4qs7qE.mjs +0 -622
- package/dist/_chunks/ListConfigurationPage-Ce4qs7qE.mjs.map +0 -1
- package/dist/_chunks/ListConfigurationPage-Dks5SX6f.js +0 -643
- package/dist/_chunks/ListConfigurationPage-Dks5SX6f.js.map +0 -1
- package/dist/_chunks/ListViewPage-Be7S5aKL.mjs +0 -835
- package/dist/_chunks/ListViewPage-Be7S5aKL.mjs.map +0 -1
- package/dist/_chunks/ListViewPage-BwrZrPsh.js +0 -859
- package/dist/_chunks/ListViewPage-BwrZrPsh.js.map +0 -1
- package/dist/_chunks/NoContentTypePage-CIPmYQMm.mjs +0 -51
- package/dist/_chunks/NoContentTypePage-CIPmYQMm.mjs.map +0 -1
- package/dist/_chunks/NoContentTypePage-Cu5r1-JT.js +0 -51
- package/dist/_chunks/NoContentTypePage-Cu5r1-JT.js.map +0 -1
- package/dist/_chunks/NoPermissionsPage-C-j6TEUF.js +0 -24
- package/dist/_chunks/NoPermissionsPage-C-j6TEUF.js.map +0 -1
- package/dist/_chunks/NoPermissionsPage-DhJ7LYrr.mjs +0 -24
- package/dist/_chunks/NoPermissionsPage-DhJ7LYrr.mjs.map +0 -1
- package/dist/_chunks/Relations-CY7AtkDA.mjs +0 -684
- package/dist/_chunks/Relations-CY7AtkDA.mjs.map +0 -1
- package/dist/_chunks/Relations-Czs-uZ-s.js +0 -705
- package/dist/_chunks/Relations-Czs-uZ-s.js.map +0 -1
- package/dist/_chunks/ar-BUUWXIYu.js +0 -226
- package/dist/_chunks/ar-BUUWXIYu.js.map +0 -1
- package/dist/_chunks/ar-CCEVvqGG.mjs +0 -226
- package/dist/_chunks/ar-CCEVvqGG.mjs.map +0 -1
- package/dist/_chunks/ca-5U32ON2v.mjs +0 -201
- package/dist/_chunks/ca-5U32ON2v.mjs.map +0 -1
- package/dist/_chunks/ca-Cmk45QO6.js +0 -201
- package/dist/_chunks/ca-Cmk45QO6.js.map +0 -1
- package/dist/_chunks/cs-CM2aBUar.mjs +0 -125
- package/dist/_chunks/cs-CM2aBUar.mjs.map +0 -1
- package/dist/_chunks/cs-CkJy6B2v.js +0 -125
- package/dist/_chunks/cs-CkJy6B2v.js.map +0 -1
- package/dist/_chunks/de-C72KDNOl.mjs +0 -199
- package/dist/_chunks/de-C72KDNOl.mjs.map +0 -1
- package/dist/_chunks/de-CCEmbAah.js +0 -199
- package/dist/_chunks/de-CCEmbAah.js.map +0 -1
- package/dist/_chunks/en-C-V1_90f.js +0 -285
- package/dist/_chunks/en-C-V1_90f.js.map +0 -1
- package/dist/_chunks/en-MBPul9Su.mjs +0 -285
- package/dist/_chunks/en-MBPul9Su.mjs.map +0 -1
- package/dist/_chunks/es-CeXiYflN.mjs +0 -196
- package/dist/_chunks/es-CeXiYflN.mjs.map +0 -1
- package/dist/_chunks/es-EUonQTon.js +0 -196
- package/dist/_chunks/es-EUonQTon.js.map +0 -1
- package/dist/_chunks/eu-CdALomew.mjs +0 -202
- package/dist/_chunks/eu-CdALomew.mjs.map +0 -1
- package/dist/_chunks/eu-VDH-3ovk.js +0 -202
- package/dist/_chunks/eu-VDH-3ovk.js.map +0 -1
- package/dist/_chunks/fr-B7kGGg3E.js +0 -206
- package/dist/_chunks/fr-B7kGGg3E.js.map +0 -1
- package/dist/_chunks/fr-CD9VFbPM.mjs +0 -206
- package/dist/_chunks/fr-CD9VFbPM.mjs.map +0 -1
- package/dist/_chunks/gu-BRmF601H.js +0 -200
- package/dist/_chunks/gu-BRmF601H.js.map +0 -1
- package/dist/_chunks/gu-CNpaMDpH.mjs +0 -200
- package/dist/_chunks/gu-CNpaMDpH.mjs.map +0 -1
- package/dist/_chunks/hi-CCJBptSq.js +0 -200
- package/dist/_chunks/hi-CCJBptSq.js.map +0 -1
- package/dist/_chunks/hi-Dwvd04m3.mjs +0 -200
- package/dist/_chunks/hi-Dwvd04m3.mjs.map +0 -1
- package/dist/_chunks/hooks-BAaaKPS_.js +0 -7
- package/dist/_chunks/hooks-BAaaKPS_.js.map +0 -1
- package/dist/_chunks/hooks-E5u1mcgM.mjs +0 -8
- package/dist/_chunks/hooks-E5u1mcgM.mjs.map +0 -1
- package/dist/_chunks/hu-CeYvaaO0.mjs +0 -202
- package/dist/_chunks/hu-CeYvaaO0.mjs.map +0 -1
- package/dist/_chunks/hu-sNV_yLYy.js +0 -202
- package/dist/_chunks/hu-sNV_yLYy.js.map +0 -1
- package/dist/_chunks/id-B5Ser98A.js +0 -160
- package/dist/_chunks/id-B5Ser98A.js.map +0 -1
- package/dist/_chunks/id-BtwA9WJT.mjs +0 -160
- package/dist/_chunks/id-BtwA9WJT.mjs.map +0 -1
- package/dist/_chunks/index-DNVx8ssZ.mjs +0 -3175
- package/dist/_chunks/index-DNVx8ssZ.mjs.map +0 -1
- package/dist/_chunks/index-X_2tafck.js +0 -3195
- package/dist/_chunks/index-X_2tafck.js.map +0 -1
- package/dist/_chunks/it-BrVPqaf1.mjs +0 -162
- package/dist/_chunks/it-BrVPqaf1.mjs.map +0 -1
- package/dist/_chunks/it-DkBIs7vD.js +0 -162
- package/dist/_chunks/it-DkBIs7vD.js.map +0 -1
- package/dist/_chunks/ja-CcFe8diO.js +0 -196
- package/dist/_chunks/ja-CcFe8diO.js.map +0 -1
- package/dist/_chunks/ja-CtsUxOvk.mjs +0 -196
- package/dist/_chunks/ja-CtsUxOvk.mjs.map +0 -1
- package/dist/_chunks/ko-HVQRlfUI.mjs +0 -195
- package/dist/_chunks/ko-HVQRlfUI.mjs.map +0 -1
- package/dist/_chunks/ko-woFZPmLk.js +0 -195
- package/dist/_chunks/ko-woFZPmLk.js.map +0 -1
- package/dist/_chunks/layout-Dnh0PNp9.mjs +0 -453
- package/dist/_chunks/layout-Dnh0PNp9.mjs.map +0 -1
- package/dist/_chunks/layout-dBc7wN7L.js +0 -473
- package/dist/_chunks/layout-dBc7wN7L.js.map +0 -1
- package/dist/_chunks/ml-BihZwQit.mjs +0 -200
- package/dist/_chunks/ml-BihZwQit.mjs.map +0 -1
- package/dist/_chunks/ml-C2W8N8k1.js +0 -200
- package/dist/_chunks/ml-C2W8N8k1.js.map +0 -1
- package/dist/_chunks/ms-BuFotyP_.js +0 -144
- package/dist/_chunks/ms-BuFotyP_.js.map +0 -1
- package/dist/_chunks/ms-m_WjyWx7.mjs +0 -144
- package/dist/_chunks/ms-m_WjyWx7.mjs.map +0 -1
- package/dist/_chunks/nl-D4R9gHx5.mjs +0 -202
- package/dist/_chunks/nl-D4R9gHx5.mjs.map +0 -1
- package/dist/_chunks/nl-bbEOHChV.js +0 -202
- package/dist/_chunks/nl-bbEOHChV.js.map +0 -1
- package/dist/_chunks/objects-gigeqt7s.js +0 -49
- package/dist/_chunks/objects-gigeqt7s.js.map +0 -1
- package/dist/_chunks/objects-mKMAmfec.mjs +0 -47
- package/dist/_chunks/objects-mKMAmfec.mjs.map +0 -1
- package/dist/_chunks/pl-sbx9mSt_.mjs +0 -199
- package/dist/_chunks/pl-sbx9mSt_.mjs.map +0 -1
- package/dist/_chunks/pl-uzwG-hk7.js +0 -199
- package/dist/_chunks/pl-uzwG-hk7.js.map +0 -1
- package/dist/_chunks/pt-BR-BiOz37D9.js +0 -201
- package/dist/_chunks/pt-BR-BiOz37D9.js.map +0 -1
- package/dist/_chunks/pt-BR-C71iDxnh.mjs +0 -201
- package/dist/_chunks/pt-BR-C71iDxnh.mjs.map +0 -1
- package/dist/_chunks/pt-BsaFvS8-.mjs +0 -95
- package/dist/_chunks/pt-BsaFvS8-.mjs.map +0 -1
- package/dist/_chunks/pt-CeXQuq50.js +0 -95
- package/dist/_chunks/pt-CeXQuq50.js.map +0 -1
- package/dist/_chunks/relations-4pHtBrHJ.js +0 -134
- package/dist/_chunks/relations-4pHtBrHJ.js.map +0 -1
- package/dist/_chunks/relations-Dx7tMKJN.mjs +0 -135
- package/dist/_chunks/relations-Dx7tMKJN.mjs.map +0 -1
- package/dist/_chunks/ru-BE6A4Exp.mjs +0 -231
- package/dist/_chunks/ru-BE6A4Exp.mjs.map +0 -1
- package/dist/_chunks/ru-BT3ybNny.js +0 -231
- package/dist/_chunks/ru-BT3ybNny.js.map +0 -1
- package/dist/_chunks/sa-CcvkYInH.js +0 -200
- package/dist/_chunks/sa-CcvkYInH.js.map +0 -1
- package/dist/_chunks/sa-Dag0k-Z8.mjs +0 -200
- package/dist/_chunks/sa-Dag0k-Z8.mjs.map +0 -1
- package/dist/_chunks/sk-BFg-R8qJ.mjs +0 -202
- package/dist/_chunks/sk-BFg-R8qJ.mjs.map +0 -1
- package/dist/_chunks/sk-CvY09Xjv.js +0 -202
- package/dist/_chunks/sk-CvY09Xjv.js.map +0 -1
- package/dist/_chunks/sv-CUnfWGsh.mjs +0 -202
- package/dist/_chunks/sv-CUnfWGsh.mjs.map +0 -1
- package/dist/_chunks/sv-MYDuzgvT.js +0 -202
- package/dist/_chunks/sv-MYDuzgvT.js.map +0 -1
- package/dist/_chunks/th-BqbI8lIT.mjs +0 -148
- package/dist/_chunks/th-BqbI8lIT.mjs.map +0 -1
- package/dist/_chunks/th-D9_GfAjc.js +0 -148
- package/dist/_chunks/th-D9_GfAjc.js.map +0 -1
- package/dist/_chunks/tr-CgeK3wJM.mjs +0 -199
- package/dist/_chunks/tr-CgeK3wJM.mjs.map +0 -1
- package/dist/_chunks/tr-D9UH-O_R.js +0 -199
- package/dist/_chunks/tr-D9UH-O_R.js.map +0 -1
- package/dist/_chunks/uk-C8EiqJY7.js +0 -144
- package/dist/_chunks/uk-C8EiqJY7.js.map +0 -1
- package/dist/_chunks/uk-CR-zDhAY.mjs +0 -144
- package/dist/_chunks/uk-CR-zDhAY.mjs.map +0 -1
- package/dist/_chunks/urls-CbOsUOoW.mjs +0 -7
- package/dist/_chunks/urls-CbOsUOoW.mjs.map +0 -1
- package/dist/_chunks/urls-DzZya_gm.js +0 -6
- package/dist/_chunks/urls-DzZya_gm.js.map +0 -1
- package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs +0 -231
- package/dist/_chunks/useDragAndDrop-DdHgKsqq.mjs.map +0 -1
- package/dist/_chunks/useDragAndDrop-J0TUUbR6.js +0 -249
- package/dist/_chunks/useDragAndDrop-J0TUUbR6.js.map +0 -1
- package/dist/_chunks/vi-CJlYDheJ.js +0 -111
- package/dist/_chunks/vi-CJlYDheJ.js.map +0 -1
- package/dist/_chunks/vi-DUXIk_fw.mjs +0 -111
- package/dist/_chunks/vi-DUXIk_fw.mjs.map +0 -1
- package/dist/_chunks/zh-BWZspA60.mjs +0 -209
- package/dist/_chunks/zh-BWZspA60.mjs.map +0 -1
- package/dist/_chunks/zh-CQQfszqR.js +0 -209
- package/dist/_chunks/zh-CQQfszqR.js.map +0 -1
- package/dist/_chunks/zh-Hans-9kOncHGw.js +0 -952
- package/dist/_chunks/zh-Hans-9kOncHGw.js.map +0 -1
- package/dist/_chunks/zh-Hans-BPQcRIyH.mjs +0 -952
- package/dist/_chunks/zh-Hans-BPQcRIyH.mjs.map +0 -1
- package/dist/admin/index.js +0 -11
- package/dist/admin/index.js.map +0 -1
- package/dist/admin/index.mjs +0 -11
- package/dist/admin/index.mjs.map +0 -1
- package/dist/admin/src/components/ComponentIcon.d.ts +0 -8
- package/dist/admin/src/components/ConfigurationForm/EditFieldForm.d.ts +0 -9
- package/dist/admin/src/components/ConfigurationForm/Fields.d.ts +0 -21
- package/dist/admin/src/components/ConfigurationForm/Form.d.ts +0 -32
- package/dist/admin/src/components/DragLayer.d.ts +0 -13
- package/dist/admin/src/components/DragPreviews/CardDragPreview.d.ts +0 -7
- package/dist/admin/src/components/DragPreviews/ComponentDragPreview.d.ts +0 -6
- package/dist/admin/src/components/DragPreviews/RelationDragPreview.d.ts +0 -11
- package/dist/admin/src/components/FieldTypeIcon.d.ts +0 -9
- package/dist/admin/src/components/InjectionZone.d.ts +0 -45
- package/dist/admin/src/components/LeftMenu.d.ts +0 -2
- package/dist/admin/src/components/RelativeTime.d.ts +0 -28
- package/dist/admin/src/constants/attributes.d.ts +0 -14
- package/dist/admin/src/constants/collections.d.ts +0 -3
- package/dist/admin/src/constants/dragAndDrop.d.ts +0 -8
- package/dist/admin/src/constants/hooks.d.ts +0 -26
- package/dist/admin/src/constants/plugin.d.ts +0 -3
- package/dist/admin/src/content-manager.d.ts +0 -133
- package/dist/admin/src/exports.d.ts +0 -11
- package/dist/admin/src/features/DocumentRBAC.d.ts +0 -36
- package/dist/admin/src/history/components/HistoryAction.d.ts +0 -3
- package/dist/admin/src/history/components/VersionContent.d.ts +0 -17
- package/dist/admin/src/history/components/VersionHeader.d.ts +0 -5
- package/dist/admin/src/history/components/VersionInputRenderer.d.ts +0 -19
- package/dist/admin/src/history/components/VersionsList.d.ts +0 -2
- package/dist/admin/src/history/pages/History.d.ts +0 -27
- package/dist/admin/src/history/routes.d.ts +0 -6
- package/dist/admin/src/history/services/historyVersion.d.ts +0 -12
- package/dist/admin/src/hooks/useContentManagerInitData.d.ts +0 -15
- package/dist/admin/src/hooks/useContentTypeSchema.d.ts +0 -25
- package/dist/admin/src/hooks/useDebounce.d.ts +0 -1
- package/dist/admin/src/hooks/useDocument.d.ts +0 -90
- package/dist/admin/src/hooks/useDocumentActions.d.ts +0 -102
- package/dist/admin/src/hooks/useDocumentLayout.d.ts +0 -137
- package/dist/admin/src/hooks/useDragAndDrop.d.ts +0 -51
- package/dist/admin/src/hooks/useKeyboardDragAndDrop.d.ts +0 -14
- package/dist/admin/src/hooks/useLazyComponents.d.ts +0 -13
- package/dist/admin/src/hooks/useOnce.d.ts +0 -2
- package/dist/admin/src/hooks/usePrev.d.ts +0 -1
- package/dist/admin/src/index.d.ts +0 -16
- package/dist/admin/src/layout.d.ts +0 -2
- package/dist/admin/src/modules/app.d.ts +0 -20
- package/dist/admin/src/modules/hooks.d.ts +0 -10
- package/dist/admin/src/modules/reducers.d.ts +0 -6
- package/dist/admin/src/pages/ComponentConfigurationPage.d.ts +0 -3
- package/dist/admin/src/pages/EditConfigurationPage.d.ts +0 -3
- package/dist/admin/src/pages/EditView/EditViewPage.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/DocumentActions.d.ts +0 -69
- package/dist/admin/src/pages/EditView/components/DocumentStatus.d.ts +0 -16
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Code.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Heading.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Image.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Link.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/List.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Paragraph.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Quote.d.ts +0 -3
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksContent.d.ts +0 -6
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksEditor.d.ts +0 -61
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksInput.d.ts +0 -11
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/BlocksToolbar.d.ts +0 -10
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/EditorLayout.d.ts +0 -10
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Modifiers.d.ts +0 -16
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withImages.d.ts +0 -11
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withLinks.d.ts +0 -9
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withStrapiSchema.d.ts +0 -8
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/conversions.d.ts +0 -13
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/enterKey.d.ts +0 -6
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/links.d.ts +0 -10
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/types.d.ts +0 -10
- package/dist/admin/src/pages/EditView/components/FormInputs/Component/Initializer.d.ts +0 -9
- package/dist/admin/src/pages/EditView/components/FormInputs/Component/Input.d.ts +0 -18
- package/dist/admin/src/pages/EditView/components/FormInputs/Component/NonRepeatable.d.ts +0 -5
- package/dist/admin/src/pages/EditView/components/FormInputs/Component/Repeatable.d.ts +0 -5
- package/dist/admin/src/pages/EditView/components/FormInputs/ComponentContext.d.ts +0 -42
- package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/AddComponentButton.d.ts +0 -11
- package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentCard.d.ts +0 -9
- package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentCategory.d.ts +0 -17
- package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentPicker.d.ts +0 -9
- package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicComponent.d.ts +0 -14
- package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicZoneLabel.d.ts +0 -12
- package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/Field.d.ts +0 -14
- package/dist/admin/src/pages/EditView/components/FormInputs/NotAllowed.d.ts +0 -7
- package/dist/admin/src/pages/EditView/components/FormInputs/Relations.d.ts +0 -26
- package/dist/admin/src/pages/EditView/components/FormInputs/UID.d.ts +0 -9
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/Editor.d.ts +0 -17
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/EditorLayout.d.ts +0 -60
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/Field.d.ts +0 -11
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/PreviewWysiwyg.d.ts +0 -5
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygFooter.d.ts +0 -7
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygNav.d.ts +0 -17
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +0 -55
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/utils/continueList.d.ts +0 -5
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/utils/mdRenderer.d.ts +0 -4
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/utils/utils.d.ts +0 -16
- package/dist/admin/src/pages/EditView/components/FormLayout.d.ts +0 -5
- package/dist/admin/src/pages/EditView/components/Header.d.ts +0 -35
- package/dist/admin/src/pages/EditView/components/InputRenderer.d.ts +0 -17
- package/dist/admin/src/pages/EditView/components/Panels.d.ts +0 -10
- package/dist/admin/src/pages/EditView/utils/data.d.ts +0 -33
- package/dist/admin/src/pages/EditView/utils/forms.d.ts +0 -9
- package/dist/admin/src/pages/ListConfiguration/ListConfigurationPage.d.ts +0 -10
- package/dist/admin/src/pages/ListConfiguration/components/DraggableCard.d.ts +0 -12
- package/dist/admin/src/pages/ListConfiguration/components/EditFieldForm.d.ts +0 -8
- package/dist/admin/src/pages/ListConfiguration/components/Header.d.ts +0 -8
- package/dist/admin/src/pages/ListConfiguration/components/Settings.d.ts +0 -19
- package/dist/admin/src/pages/ListConfiguration/components/SortDisplayedFields.d.ts +0 -6
- package/dist/admin/src/pages/ListView/ListViewPage.d.ts +0 -3
- package/dist/admin/src/pages/ListView/components/AutoCloneFailureModal.d.ts +0 -7
- package/dist/admin/src/pages/ListView/components/BulkActions/Actions.d.ts +0 -51
- package/dist/admin/src/pages/ListView/components/BulkActions/ConfirmBulkActionDialog.d.ts +0 -15
- package/dist/admin/src/pages/ListView/components/BulkActions/PublishAction.d.ts +0 -31
- package/dist/admin/src/pages/ListView/components/Filters.d.ts +0 -8
- package/dist/admin/src/pages/ListView/components/TableActions.d.ts +0 -8
- package/dist/admin/src/pages/ListView/components/TableCells/CellContent.d.ts +0 -9
- package/dist/admin/src/pages/ListView/components/TableCells/CellValue.d.ts +0 -8
- package/dist/admin/src/pages/ListView/components/TableCells/Components.d.ts +0 -12
- package/dist/admin/src/pages/ListView/components/TableCells/Media.d.ts +0 -23
- package/dist/admin/src/pages/ListView/components/TableCells/Relations.d.ts +0 -12
- package/dist/admin/src/pages/ListView/components/ViewSettingsMenu.d.ts +0 -10
- package/dist/admin/src/pages/NoContentTypePage.d.ts +0 -2
- package/dist/admin/src/pages/NoPermissionsPage.d.ts +0 -2
- package/dist/admin/src/router.d.ts +0 -5
- package/dist/admin/src/services/api.d.ts +0 -3
- package/dist/admin/src/services/components.d.ts +0 -5
- package/dist/admin/src/services/contentTypes.d.ts +0 -17
- package/dist/admin/src/services/documents.d.ts +0 -89
- package/dist/admin/src/services/init.d.ts +0 -9
- package/dist/admin/src/services/relations.d.ts +0 -49
- package/dist/admin/src/services/uid.d.ts +0 -32
- package/dist/admin/src/utils/api.d.ts +0 -38
- package/dist/admin/src/utils/attributes.d.ts +0 -19
- package/dist/admin/src/utils/objects.d.ts +0 -33
- package/dist/admin/src/utils/relations.d.ts +0 -12
- package/dist/admin/src/utils/strings.d.ts +0 -2
- package/dist/admin/src/utils/translations.d.ts +0 -4
- package/dist/admin/src/utils/urls.d.ts +0 -2
- package/dist/admin/src/utils/users.d.ts +0 -6
- package/dist/admin/src/utils/validation.d.ts +0 -12
- package/dist/server/index.js +0 -4238
- package/dist/server/index.js.map +0 -1
- package/dist/server/index.mjs +0 -4214
- package/dist/server/index.mjs.map +0 -1
- package/dist/server/src/bootstrap.d.ts +0 -3
- package/dist/server/src/bootstrap.d.ts.map +0 -1
- package/dist/server/src/config.d.ts +0 -6
- package/dist/server/src/config.d.ts.map +0 -1
- package/dist/server/src/constants/index.d.ts +0 -6
- package/dist/server/src/constants/index.d.ts.map +0 -1
- package/dist/server/src/controllers/collection-types.d.ts +0 -23
- package/dist/server/src/controllers/collection-types.d.ts.map +0 -1
- package/dist/server/src/controllers/components.d.ts +0 -7
- package/dist/server/src/controllers/components.d.ts.map +0 -1
- package/dist/server/src/controllers/content-types.d.ts +0 -8
- package/dist/server/src/controllers/content-types.d.ts.map +0 -1
- package/dist/server/src/controllers/index.d.ts +0 -53
- package/dist/server/src/controllers/index.d.ts.map +0 -1
- package/dist/server/src/controllers/init.d.ts +0 -5
- package/dist/server/src/controllers/init.d.ts.map +0 -1
- package/dist/server/src/controllers/relations.d.ts +0 -13
- package/dist/server/src/controllers/relations.d.ts.map +0 -1
- package/dist/server/src/controllers/single-types.d.ts +0 -11
- package/dist/server/src/controllers/single-types.d.ts.map +0 -1
- package/dist/server/src/controllers/uid.d.ts +0 -6
- package/dist/server/src/controllers/uid.d.ts.map +0 -1
- package/dist/server/src/controllers/utils/clone.d.ts +0 -12
- package/dist/server/src/controllers/utils/clone.d.ts.map +0 -1
- package/dist/server/src/controllers/utils/dimensions.d.ts +0 -5
- package/dist/server/src/controllers/utils/dimensions.d.ts.map +0 -1
- package/dist/server/src/controllers/validation/index.d.ts +0 -20
- package/dist/server/src/controllers/validation/index.d.ts.map +0 -1
- package/dist/server/src/controllers/validation/model-configuration.d.ts +0 -22
- package/dist/server/src/controllers/validation/model-configuration.d.ts.map +0 -1
- package/dist/server/src/controllers/validation/relations.d.ts +0 -4
- package/dist/server/src/controllers/validation/relations.d.ts.map +0 -1
- package/dist/server/src/destroy.d.ts +0 -4
- package/dist/server/src/destroy.d.ts.map +0 -1
- package/dist/server/src/history/constants.d.ts +0 -3
- package/dist/server/src/history/constants.d.ts.map +0 -1
- package/dist/server/src/history/controllers/history-version.d.ts +0 -19
- package/dist/server/src/history/controllers/history-version.d.ts.map +0 -1
- package/dist/server/src/history/controllers/index.d.ts +0 -2
- package/dist/server/src/history/controllers/index.d.ts.map +0 -1
- package/dist/server/src/history/controllers/validation/history-version.d.ts +0 -2
- package/dist/server/src/history/controllers/validation/history-version.d.ts.map +0 -1
- package/dist/server/src/history/index.d.ts +0 -4
- package/dist/server/src/history/index.d.ts.map +0 -1
- package/dist/server/src/history/models/history-version.d.ts +0 -4
- package/dist/server/src/history/models/history-version.d.ts.map +0 -1
- package/dist/server/src/history/routes/history-version.d.ts +0 -4
- package/dist/server/src/history/routes/history-version.d.ts.map +0 -1
- package/dist/server/src/history/routes/index.d.ts +0 -8
- package/dist/server/src/history/routes/index.d.ts.map +0 -1
- package/dist/server/src/history/services/history.d.ts +0 -18
- package/dist/server/src/history/services/history.d.ts.map +0 -1
- package/dist/server/src/history/services/index.d.ts +0 -15
- package/dist/server/src/history/services/index.d.ts.map +0 -1
- package/dist/server/src/history/services/utils.d.ts +0 -12
- package/dist/server/src/history/services/utils.d.ts.map +0 -1
- package/dist/server/src/history/utils.d.ts +0 -18
- package/dist/server/src/history/utils.d.ts.map +0 -1
- package/dist/server/src/index.d.ts +0 -374
- package/dist/server/src/index.d.ts.map +0 -1
- package/dist/server/src/middlewares/index.d.ts +0 -3
- package/dist/server/src/middlewares/index.d.ts.map +0 -1
- package/dist/server/src/middlewares/routing.d.ts +0 -4
- package/dist/server/src/middlewares/routing.d.ts.map +0 -1
- package/dist/server/src/policies/hasPermissions.d.ts +0 -7
- package/dist/server/src/policies/hasPermissions.d.ts.map +0 -1
- package/dist/server/src/policies/index.d.ts +0 -9
- package/dist/server/src/policies/index.d.ts.map +0 -1
- package/dist/server/src/register.d.ts +0 -4
- package/dist/server/src/register.d.ts.map +0 -1
- package/dist/server/src/routes/admin.d.ts +0 -41
- package/dist/server/src/routes/admin.d.ts.map +0 -1
- package/dist/server/src/routes/index.d.ts +0 -43
- package/dist/server/src/routes/index.d.ts.map +0 -1
- package/dist/server/src/services/components.d.ts +0 -32
- package/dist/server/src/services/components.d.ts.map +0 -1
- package/dist/server/src/services/configuration.d.ts +0 -20
- package/dist/server/src/services/configuration.d.ts.map +0 -1
- package/dist/server/src/services/content-types.d.ts +0 -18
- package/dist/server/src/services/content-types.d.ts.map +0 -1
- package/dist/server/src/services/data-mapper.d.ts +0 -20
- package/dist/server/src/services/data-mapper.d.ts.map +0 -1
- package/dist/server/src/services/document-manager.d.ts +0 -47
- package/dist/server/src/services/document-manager.d.ts.map +0 -1
- package/dist/server/src/services/document-metadata.d.ts +0 -88
- package/dist/server/src/services/document-metadata.d.ts.map +0 -1
- package/dist/server/src/services/field-sizes.d.ts +0 -19
- package/dist/server/src/services/field-sizes.d.ts.map +0 -1
- package/dist/server/src/services/index.d.ts +0 -266
- package/dist/server/src/services/index.d.ts.map +0 -1
- package/dist/server/src/services/metrics.d.ts +0 -9
- package/dist/server/src/services/metrics.d.ts.map +0 -1
- package/dist/server/src/services/permission-checker.d.ts +0 -54
- package/dist/server/src/services/permission-checker.d.ts.map +0 -1
- package/dist/server/src/services/permission.d.ts +0 -12
- package/dist/server/src/services/permission.d.ts.map +0 -1
- package/dist/server/src/services/populate-builder.d.ts +0 -30
- package/dist/server/src/services/populate-builder.d.ts.map +0 -1
- package/dist/server/src/services/uid.d.ts +0 -25
- package/dist/server/src/services/uid.d.ts.map +0 -1
- package/dist/server/src/services/utils/configuration/attributes.d.ts +0 -17
- package/dist/server/src/services/utils/configuration/attributes.d.ts.map +0 -1
- package/dist/server/src/services/utils/configuration/index.d.ts +0 -21
- package/dist/server/src/services/utils/configuration/index.d.ts.map +0 -1
- package/dist/server/src/services/utils/configuration/layouts.d.ts +0 -14
- package/dist/server/src/services/utils/configuration/layouts.d.ts.map +0 -1
- package/dist/server/src/services/utils/configuration/metadatas.d.ts +0 -5
- package/dist/server/src/services/utils/configuration/metadatas.d.ts.map +0 -1
- package/dist/server/src/services/utils/configuration/settings.d.ts +0 -5
- package/dist/server/src/services/utils/configuration/settings.d.ts.map +0 -1
- package/dist/server/src/services/utils/count.d.ts +0 -5
- package/dist/server/src/services/utils/count.d.ts.map +0 -1
- package/dist/server/src/services/utils/draft.d.ts +0 -11
- package/dist/server/src/services/utils/draft.d.ts.map +0 -1
- package/dist/server/src/services/utils/populate.d.ts +0 -35
- package/dist/server/src/services/utils/populate.d.ts.map +0 -1
- package/dist/server/src/services/utils/store.d.ts +0 -16
- package/dist/server/src/services/utils/store.d.ts.map +0 -1
- package/dist/server/src/utils/index.d.ts +0 -9
- package/dist/server/src/utils/index.d.ts.map +0 -1
- package/dist/server/src/validation/policies/hasPermissions.d.ts +0 -2
- package/dist/server/src/validation/policies/hasPermissions.d.ts.map +0 -1
- package/dist/shared/contracts/collection-types.d.ts +0 -328
- package/dist/shared/contracts/collection-types.d.ts.map +0 -1
- package/dist/shared/contracts/components.d.ts +0 -65
- package/dist/shared/contracts/components.d.ts.map +0 -1
- package/dist/shared/contracts/content-types.d.ts +0 -113
- package/dist/shared/contracts/content-types.d.ts.map +0 -1
- package/dist/shared/contracts/history-versions.d.ts +0 -92
- package/dist/shared/contracts/history-versions.d.ts.map +0 -1
- package/dist/shared/contracts/index.d.ts +0 -10
- package/dist/shared/contracts/index.d.ts.map +0 -1
- package/dist/shared/contracts/init.d.ts +0 -24
- package/dist/shared/contracts/init.d.ts.map +0 -1
- package/dist/shared/contracts/relations.d.ts +0 -70
- package/dist/shared/contracts/relations.d.ts.map +0 -1
- package/dist/shared/contracts/review-workflows.d.ts +0 -78
- package/dist/shared/contracts/review-workflows.d.ts.map +0 -1
- package/dist/shared/contracts/single-types.d.ts +0 -113
- package/dist/shared/contracts/single-types.d.ts.map +0 -1
- package/dist/shared/contracts/uid.d.ts +0 -48
- package/dist/shared/contracts/uid.d.ts.map +0 -1
- package/dist/shared/index.d.ts +0 -2
- package/dist/shared/index.d.ts.map +0 -1
- package/dist/shared/index.js +0 -43
- package/dist/shared/index.js.map +0 -1
- package/dist/shared/index.mjs +0 -43
- package/dist/shared/index.mjs.map +0 -1
- package/strapi-server.js +0 -3
@@ -1,61 +0,0 @@
|
|
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, };
|
@@ -1,11 +0,0 @@
|
|
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 };
|
@@ -1,10 +0,0 @@
|
|
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 };
|
@@ -1,10 +0,0 @@
|
|
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 };
|
@@ -1,16 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withImages.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/plugins/withLinks.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
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 };
|
@@ -1,8 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/utils/conversions.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
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 };
|
@@ -1,10 +0,0 @@
|
|
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 };
|
@@ -1,10 +0,0 @@
|
|
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 };
|
@@ -1,9 +0,0 @@
|
|
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 };
|
@@ -1,18 +0,0 @@
|
|
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 };
|
@@ -1,5 +0,0 @@
|
|
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 };
|
@@ -1,5 +0,0 @@
|
|
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 };
|
@@ -1,42 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/AddComponentButton.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
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 };
|
@@ -1,9 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentCategory.d.ts
DELETED
@@ -1,17 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/ComponentPicker.d.ts
DELETED
@@ -1,9 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicComponent.d.ts
DELETED
@@ -1,14 +0,0 @@
|
|
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 };
|
package/dist/admin/src/pages/EditView/components/FormInputs/DynamicZone/DynamicZoneLabel.d.ts
DELETED
@@ -1,12 +0,0 @@
|
|
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 };
|
@@ -1,14 +0,0 @@
|
|
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 };
|
@@ -1,7 +0,0 @@
|
|
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 };
|
@@ -1,26 +0,0 @@
|
|
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 };
|
@@ -1,9 +0,0 @@
|
|
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 };
|
@@ -1,17 +0,0 @@
|
|
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 };
|
@@ -1,60 +0,0 @@
|
|
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 };
|
@@ -1,11 +0,0 @@
|
|
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 };
|
@@ -1,7 +0,0 @@
|
|
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 };
|
@@ -1,17 +0,0 @@
|
|
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 };
|
@@ -1,55 +0,0 @@
|
|
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>;
|