@strapi/content-manager 0.0.0-experimental.ce3ce68ff05de341bbdb48e7164d5367cffa839c → 0.0.0-experimental.cf8bb33f3f3ac8c6469f469802867e9fc2005e58
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/dist/admin/chunks/{CardDragPreview-DwuraT0K.mjs → CardDragPreview-DwuraT0K.js} +1 -1
- package/dist/admin/chunks/CardDragPreview-DwuraT0K.js.map +1 -0
- package/dist/admin/chunks/{ComponentConfigurationPage-DKPNz7kC.mjs → ComponentConfigurationPage-Co2eC_-C.js} +8 -8
- package/dist/admin/chunks/ComponentConfigurationPage-Co2eC_-C.js.map +1 -0
- package/dist/admin/chunks/{ComponentConfigurationPage-DLYW6wzP.js → ComponentConfigurationPage-Dj1bNvEF.js} +3 -3
- package/dist/admin/chunks/{ComponentConfigurationPage-DLYW6wzP.js.map → ComponentConfigurationPage-Dj1bNvEF.js.map} +1 -1
- package/dist/admin/chunks/{ComponentIcon-BZcTc4rj.mjs → ComponentIcon-BZcTc4rj.js} +1 -1
- package/dist/admin/chunks/ComponentIcon-BZcTc4rj.js.map +1 -0
- package/dist/admin/chunks/{EditConfigurationPage-D6MAzDx9.js → EditConfigurationPage-Dm5woBp9.js} +3 -3
- package/dist/admin/chunks/{EditConfigurationPage-D6MAzDx9.js.map → EditConfigurationPage-Dm5woBp9.js.map} +1 -1
- package/dist/admin/chunks/{EditConfigurationPage-QUYChTGp.mjs → EditConfigurationPage-zd9OLaVh.js} +8 -8
- package/dist/admin/chunks/EditConfigurationPage-zd9OLaVh.js.map +1 -0
- package/dist/admin/chunks/{EditViewPage-BEiXdIh3.js → EditViewPage-DsBKmSPb.js} +5 -5
- package/dist/admin/chunks/{EditViewPage-BEiXdIh3.js.map → EditViewPage-DsBKmSPb.js.map} +1 -1
- package/dist/admin/chunks/{EditViewPage-CVSmF6vY.mjs → EditViewPage-kAIaYTg0.js} +9 -9
- package/dist/admin/chunks/EditViewPage-kAIaYTg0.js.map +1 -0
- package/dist/admin/chunks/{FieldTypeIcon-BY6MrVF4.mjs → FieldTypeIcon-BY6MrVF4.js} +1 -1
- package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.js.map +1 -0
- package/dist/admin/chunks/{Form-D3aRL8pG.mjs → Form-BO69oITe.js} +5 -5
- package/dist/admin/chunks/Form-BO69oITe.js.map +1 -0
- package/dist/admin/chunks/{Form-DT-mJpeC.js → Form-BPIhJKyf.js} +2 -2
- package/dist/admin/chunks/{Form-DT-mJpeC.js.map → Form-BPIhJKyf.js.map} +1 -1
- package/dist/admin/chunks/{History-Cev65qhQ.mjs → History-BzvpM-Gw.js} +10 -10
- package/dist/admin/chunks/History-BzvpM-Gw.js.map +1 -0
- package/dist/admin/chunks/{History-DcmMS40h.js → History-DBQ96jv2.js} +5 -5
- package/dist/admin/chunks/{History-DcmMS40h.js.map → History-DBQ96jv2.js.map} +1 -1
- package/dist/admin/chunks/{Input-DmdcvKcy.mjs → Input-BlDcbhUC.js} +9 -9
- package/dist/admin/chunks/Input-BlDcbhUC.js.map +1 -0
- package/dist/admin/chunks/{Input-DKc071zK.js → Input-Dh1MtWno.js} +7 -6
- package/dist/admin/chunks/Input-Dh1MtWno.js.map +1 -0
- package/dist/admin/chunks/{ListConfigurationPage-9g-kIzuq.js → ListConfigurationPage-8d3BsQIr.js} +2 -2
- package/dist/admin/chunks/{ListConfigurationPage-9g-kIzuq.js.map → ListConfigurationPage-8d3BsQIr.js.map} +1 -1
- package/dist/admin/chunks/{ListConfigurationPage-yidhkI_g.mjs → ListConfigurationPage-DK0ARecn.js} +7 -7
- package/dist/admin/chunks/ListConfigurationPage-DK0ARecn.js.map +1 -0
- package/dist/admin/chunks/{ListViewPage-kGaMwPGl.mjs → ListViewPage-BF2q7N6W.js} +5 -5
- package/dist/admin/chunks/ListViewPage-BF2q7N6W.js.map +1 -0
- package/dist/admin/chunks/{ListViewPage-CkbK_jTo.js → ListViewPage-CS1ED-vI.js} +3 -3
- package/dist/admin/chunks/{ListViewPage-CkbK_jTo.js.map → ListViewPage-CS1ED-vI.js.map} +1 -1
- package/dist/admin/chunks/{NoContentTypePage-B2sy8eF1.js → NoContentTypePage-C5Qxz3I4.js} +2 -2
- package/dist/admin/chunks/{NoContentTypePage-B2sy8eF1.js.map → NoContentTypePage-C5Qxz3I4.js.map} +1 -1
- package/dist/admin/chunks/{NoContentTypePage-DotejDdi.mjs → NoContentTypePage-DjdXr1-j.js} +2 -2
- package/dist/admin/chunks/NoContentTypePage-DjdXr1-j.js.map +1 -0
- package/dist/admin/chunks/{NoPermissionsPage-CSGCioeQ.mjs → NoPermissionsPage-BUwtKUEP.js} +2 -2
- package/dist/admin/chunks/NoPermissionsPage-BUwtKUEP.js.map +1 -0
- package/dist/admin/chunks/{NoPermissionsPage-BZp87Adj.js → NoPermissionsPage-C5dC0MtL.js} +2 -2
- package/dist/admin/chunks/{NoPermissionsPage-BZp87Adj.js.map → NoPermissionsPage-C5dC0MtL.js.map} +1 -1
- package/dist/admin/chunks/{Preview-CPJ1hVQG.mjs → Preview-C9kXTY6C.js} +10 -10
- package/dist/admin/chunks/Preview-C9kXTY6C.js.map +1 -0
- package/dist/admin/chunks/{Preview-C7doSaZl.js → Preview-DBvmhR7Q.js} +6 -6
- package/dist/admin/chunks/{Preview-C7doSaZl.js.map → Preview-DBvmhR7Q.js.map} +1 -1
- package/dist/admin/chunks/{Relations-C8ytFTHV.mjs → Relations-Cn0atFpd.js} +4 -4
- package/dist/admin/chunks/Relations-Cn0atFpd.js.map +1 -0
- package/dist/admin/chunks/{Relations-DFmdcIeQ.js → Relations-XHxDKEvT.js} +3 -3
- package/dist/admin/chunks/{Relations-DFmdcIeQ.js.map → Relations-XHxDKEvT.js.map} +1 -1
- package/dist/admin/chunks/{ar-DckYq_WK.mjs → ar-DckYq_WK.js} +1 -1
- package/dist/admin/chunks/ar-DckYq_WK.js.map +1 -0
- package/dist/admin/chunks/{ca-DviY7mRj.mjs → ca-DviY7mRj.js} +1 -1
- package/dist/admin/chunks/ca-DviY7mRj.js.map +1 -0
- package/dist/admin/chunks/{cs-C7OSYFQ7.mjs → cs-C7OSYFQ7.js} +1 -1
- package/dist/admin/chunks/cs-C7OSYFQ7.js.map +1 -0
- package/dist/admin/chunks/{de-5QRlDHyR.mjs → de-5QRlDHyR.js} +1 -1
- package/dist/admin/chunks/de-5QRlDHyR.js.map +1 -0
- package/dist/admin/chunks/{en-LfhocNG2.mjs → en-LfhocNG2.js} +1 -1
- package/dist/admin/chunks/{en-LfhocNG2.mjs.map → en-LfhocNG2.js.map} +1 -1
- package/dist/admin/chunks/{es-DkoWSExG.mjs → es-DkoWSExG.js} +1 -1
- package/dist/admin/chunks/es-DkoWSExG.js.map +1 -0
- package/dist/admin/chunks/{eu-BG1xX7HK.mjs → eu-BG1xX7HK.js} +1 -1
- package/dist/admin/chunks/eu-BG1xX7HK.js.map +1 -0
- package/dist/admin/chunks/{fr-CFdRaRVj.mjs → fr-CFdRaRVj.js} +1 -1
- package/dist/admin/chunks/fr-CFdRaRVj.js.map +1 -0
- package/dist/admin/chunks/{gu-D5MMMXRs.mjs → gu-D5MMMXRs.js} +1 -1
- package/dist/admin/chunks/gu-D5MMMXRs.js.map +1 -0
- package/dist/admin/chunks/{hi-lp17SCjr.mjs → hi-lp17SCjr.js} +1 -1
- package/dist/admin/chunks/hi-lp17SCjr.js.map +1 -0
- package/dist/admin/chunks/{hooks-DMvik5y_.mjs → hooks-DMvik5y_.js} +1 -1
- package/dist/admin/chunks/hooks-DMvik5y_.js.map +1 -0
- package/dist/admin/chunks/{hu-CLka1U2C.mjs → hu-CLka1U2C.js} +1 -1
- package/dist/admin/chunks/hu-CLka1U2C.js.map +1 -0
- package/dist/admin/chunks/{id-USfY9m1g.mjs → id-USfY9m1g.js} +1 -1
- package/dist/admin/chunks/id-USfY9m1g.js.map +1 -0
- package/dist/admin/chunks/{index-OSrndyon.js → index-BczuAULz.js} +11 -11
- package/dist/admin/chunks/{index-OSrndyon.js.map → index-BczuAULz.js.map} +1 -1
- package/dist/admin/chunks/{index-Deb5-YKG.mjs → index-BkyR-Bnu.js} +42 -42
- package/dist/admin/chunks/index-BkyR-Bnu.js.map +1 -0
- package/dist/admin/chunks/{it-BAHrwmYS.mjs → it-BAHrwmYS.js} +1 -1
- package/dist/admin/chunks/it-BAHrwmYS.js.map +1 -0
- package/dist/admin/chunks/{ja-BWKmBJFT.mjs → ja-BWKmBJFT.js} +1 -1
- package/dist/admin/chunks/ja-BWKmBJFT.js.map +1 -0
- package/dist/admin/chunks/{ko-CgADGBNt.mjs → ko-CgADGBNt.js} +1 -1
- package/dist/admin/chunks/ko-CgADGBNt.js.map +1 -0
- package/dist/admin/chunks/{layout-ixNm7FpJ.js → layout-DcDoRT8g.js} +4 -4
- package/dist/admin/chunks/{layout-ixNm7FpJ.js.map → layout-DcDoRT8g.js.map} +1 -1
- package/dist/admin/chunks/{layout-MkippATC.mjs → layout-fghBgRgX.js} +7 -7
- package/dist/admin/chunks/layout-fghBgRgX.js.map +1 -0
- package/dist/admin/chunks/{ml-CnhCfOn_.mjs → ml-CnhCfOn_.js} +1 -1
- package/dist/admin/chunks/ml-CnhCfOn_.js.map +1 -0
- package/dist/admin/chunks/{ms-Bh09NFff.mjs → ms-Bh09NFff.js} +1 -1
- package/dist/admin/chunks/ms-Bh09NFff.js.map +1 -0
- package/dist/admin/chunks/{nl-C8HYflTc.mjs → nl-C8HYflTc.js} +1 -1
- package/dist/admin/chunks/nl-C8HYflTc.js.map +1 -0
- package/dist/admin/chunks/{objects-wl73iEma.mjs → objects-wl73iEma.js} +1 -1
- package/dist/admin/chunks/objects-wl73iEma.js.map +1 -0
- package/dist/admin/chunks/{pl-MFCZJZuZ.mjs → pl-MFCZJZuZ.js} +1 -1
- package/dist/admin/chunks/pl-MFCZJZuZ.js.map +1 -0
- package/dist/admin/chunks/{pt-BR-CcotyBGJ.mjs → pt-BR-CcotyBGJ.js} +1 -1
- package/dist/admin/chunks/pt-BR-CcotyBGJ.js.map +1 -0
- package/dist/admin/chunks/{pt-HbmgeiYO.mjs → pt-HbmgeiYO.js} +1 -1
- package/dist/admin/chunks/pt-HbmgeiYO.js.map +1 -0
- package/dist/admin/chunks/{relations-CQOKwshG.js → relations-CgaydhiM.js} +2 -2
- package/dist/admin/chunks/{relations-CQOKwshG.js.map → relations-CgaydhiM.js.map} +1 -1
- package/dist/admin/chunks/{relations-BwFH-RZe.mjs → relations-DPVgU_rq.js} +2 -2
- package/dist/admin/chunks/relations-DPVgU_rq.js.map +1 -0
- package/dist/admin/chunks/{ru-CB4BUyQp.mjs → ru-CB4BUyQp.js} +1 -1
- package/dist/admin/chunks/{ru-CB4BUyQp.mjs.map → ru-CB4BUyQp.js.map} +1 -1
- package/dist/admin/chunks/{sa-n_aPA-pU.mjs → sa-n_aPA-pU.js} +1 -1
- package/dist/admin/chunks/sa-n_aPA-pU.js.map +1 -0
- package/dist/admin/chunks/{sk-tn_BDjE2.mjs → sk-tn_BDjE2.js} +1 -1
- package/dist/admin/chunks/sk-tn_BDjE2.js.map +1 -0
- package/dist/admin/chunks/{sv-cq4ZrQRd.mjs → sv-cq4ZrQRd.js} +1 -1
- package/dist/admin/chunks/sv-cq4ZrQRd.js.map +1 -0
- package/dist/admin/chunks/{th-mUH7hEtc.mjs → th-mUH7hEtc.js} +1 -1
- package/dist/admin/chunks/th-mUH7hEtc.js.map +1 -0
- package/dist/admin/chunks/{tr-Yt38daxh.mjs → tr-Yt38daxh.js} +1 -1
- package/dist/admin/chunks/tr-Yt38daxh.js.map +1 -0
- package/dist/admin/chunks/{uk-Cpgmm7gE.mjs → uk-Cpgmm7gE.js} +1 -1
- package/dist/admin/chunks/uk-Cpgmm7gE.js.map +1 -0
- package/dist/admin/chunks/{useDragAndDrop-HYwNDExe.mjs → useDragAndDrop-HYwNDExe.js} +1 -1
- package/dist/admin/chunks/useDragAndDrop-HYwNDExe.js.map +1 -0
- package/dist/admin/chunks/{usePrev-Bjw2dhmq.mjs → usePrev-Bjw2dhmq.js} +1 -1
- package/dist/admin/chunks/usePrev-Bjw2dhmq.js.map +1 -0
- package/dist/admin/chunks/{vi-CvBGlTjr.mjs → vi-CvBGlTjr.js} +1 -1
- package/dist/admin/chunks/vi-CvBGlTjr.js.map +1 -0
- package/dist/admin/chunks/{zh-BmF-sHaT.mjs → zh-BmF-sHaT.js} +1 -1
- package/dist/admin/chunks/zh-BmF-sHaT.js.map +1 -0
- package/dist/admin/chunks/{zh-Hans-CI0HKio3.mjs → zh-Hans-CI0HKio3.js} +1 -1
- package/dist/admin/chunks/{zh-Hans-CI0HKio3.mjs.map → zh-Hans-CI0HKio3.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/Code.d.ts +1 -49
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/utils/prismLanguages.d.ts +50 -0
- package/package.json +5 -5
- package/dist/admin/chunks/CardDragPreview-DwuraT0K.mjs.map +0 -1
- package/dist/admin/chunks/ComponentConfigurationPage-DKPNz7kC.mjs.map +0 -1
- package/dist/admin/chunks/ComponentIcon-BZcTc4rj.mjs.map +0 -1
- package/dist/admin/chunks/EditConfigurationPage-QUYChTGp.mjs.map +0 -1
- package/dist/admin/chunks/EditViewPage-CVSmF6vY.mjs.map +0 -1
- package/dist/admin/chunks/FieldTypeIcon-BY6MrVF4.mjs.map +0 -1
- package/dist/admin/chunks/Form-D3aRL8pG.mjs.map +0 -1
- package/dist/admin/chunks/History-Cev65qhQ.mjs.map +0 -1
- package/dist/admin/chunks/Input-DKc071zK.js.map +0 -1
- package/dist/admin/chunks/Input-DmdcvKcy.mjs.map +0 -1
- package/dist/admin/chunks/ListConfigurationPage-yidhkI_g.mjs.map +0 -1
- package/dist/admin/chunks/ListViewPage-kGaMwPGl.mjs.map +0 -1
- package/dist/admin/chunks/NoContentTypePage-DotejDdi.mjs.map +0 -1
- package/dist/admin/chunks/NoPermissionsPage-CSGCioeQ.mjs.map +0 -1
- package/dist/admin/chunks/Preview-CPJ1hVQG.mjs.map +0 -1
- package/dist/admin/chunks/Relations-C8ytFTHV.mjs.map +0 -1
- package/dist/admin/chunks/ar-DckYq_WK.mjs.map +0 -1
- package/dist/admin/chunks/ca-DviY7mRj.mjs.map +0 -1
- package/dist/admin/chunks/cs-C7OSYFQ7.mjs.map +0 -1
- package/dist/admin/chunks/de-5QRlDHyR.mjs.map +0 -1
- package/dist/admin/chunks/es-DkoWSExG.mjs.map +0 -1
- package/dist/admin/chunks/eu-BG1xX7HK.mjs.map +0 -1
- package/dist/admin/chunks/fr-CFdRaRVj.mjs.map +0 -1
- package/dist/admin/chunks/gu-D5MMMXRs.mjs.map +0 -1
- package/dist/admin/chunks/hi-lp17SCjr.mjs.map +0 -1
- package/dist/admin/chunks/hooks-DMvik5y_.mjs.map +0 -1
- package/dist/admin/chunks/hu-CLka1U2C.mjs.map +0 -1
- package/dist/admin/chunks/id-USfY9m1g.mjs.map +0 -1
- package/dist/admin/chunks/index-Deb5-YKG.mjs.map +0 -1
- package/dist/admin/chunks/it-BAHrwmYS.mjs.map +0 -1
- package/dist/admin/chunks/ja-BWKmBJFT.mjs.map +0 -1
- package/dist/admin/chunks/ko-CgADGBNt.mjs.map +0 -1
- package/dist/admin/chunks/layout-MkippATC.mjs.map +0 -1
- package/dist/admin/chunks/ml-CnhCfOn_.mjs.map +0 -1
- package/dist/admin/chunks/ms-Bh09NFff.mjs.map +0 -1
- package/dist/admin/chunks/nl-C8HYflTc.mjs.map +0 -1
- package/dist/admin/chunks/objects-wl73iEma.mjs.map +0 -1
- package/dist/admin/chunks/pl-MFCZJZuZ.mjs.map +0 -1
- package/dist/admin/chunks/pt-BR-CcotyBGJ.mjs.map +0 -1
- package/dist/admin/chunks/pt-HbmgeiYO.mjs.map +0 -1
- package/dist/admin/chunks/relations-BwFH-RZe.mjs.map +0 -1
- package/dist/admin/chunks/sa-n_aPA-pU.mjs.map +0 -1
- package/dist/admin/chunks/sk-tn_BDjE2.mjs.map +0 -1
- package/dist/admin/chunks/sv-cq4ZrQRd.mjs.map +0 -1
- package/dist/admin/chunks/th-mUH7hEtc.mjs.map +0 -1
- package/dist/admin/chunks/tr-Yt38daxh.mjs.map +0 -1
- package/dist/admin/chunks/uk-Cpgmm7gE.mjs.map +0 -1
- package/dist/admin/chunks/useDragAndDrop-HYwNDExe.mjs.map +0 -1
- package/dist/admin/chunks/usePrev-Bjw2dhmq.mjs.map +0 -1
- package/dist/admin/chunks/vi-CvBGlTjr.mjs.map +0 -1
- package/dist/admin/chunks/zh-BmF-sHaT.mjs.map +0 -1
@@ -6,7 +6,7 @@ var strapiAdmin = require('@strapi/admin/strapi-admin');
|
|
6
6
|
var designSystem = require('@strapi/design-system');
|
7
7
|
var Icons = require('@strapi/icons');
|
8
8
|
var reactIntl = require('react-intl');
|
9
|
-
var index = require('./index-
|
9
|
+
var index = require('./index-BczuAULz.js');
|
10
10
|
var styledComponents = require('styled-components');
|
11
11
|
var slate = require('slate');
|
12
12
|
var slateHistory = require('slate-history');
|
@@ -68,10 +68,10 @@ var Toolbar = require('@radix-ui/react-toolbar');
|
|
68
68
|
var reactDndHtml5Backend = require('react-dnd-html5-backend');
|
69
69
|
var reactRouterDom = require('react-router-dom');
|
70
70
|
var objects = require('./objects-C3EebVVe.js');
|
71
|
-
var Relations = require('./Relations-
|
71
|
+
var Relations = require('./Relations-XHxDKEvT.js');
|
72
72
|
var pipe$1 = require('lodash/fp/pipe');
|
73
73
|
var ComponentIcon = require('./ComponentIcon-C-EjOUPA.js');
|
74
|
-
var relations = require('./relations-
|
74
|
+
var relations = require('./relations-CgaydhiM.js');
|
75
75
|
var CodeMirror = require('codemirror5');
|
76
76
|
var sanitizeHtml = require('sanitize-html');
|
77
77
|
var highlight_js = require('highlight.js');
|
@@ -106,6 +106,7 @@ function _interopNamespaceDefault(e) {
|
|
106
106
|
}
|
107
107
|
|
108
108
|
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
109
|
+
var Prism__namespace = /*#__PURE__*/_interopNamespaceDefault(Prism);
|
109
110
|
var Toolbar__namespace = /*#__PURE__*/_interopNamespaceDefault(Toolbar);
|
110
111
|
|
111
112
|
const componentStore = new Map();
|
@@ -488,9 +489,9 @@ const decorateCode = ([node, path])=>{
|
|
488
489
|
const text = slate.Node.string(node);
|
489
490
|
const language = codeLanguages.find((lang)=>lang.value === node.language);
|
490
491
|
const decorateKey = language?.decorate ?? language?.value;
|
491
|
-
const selectedLanguage =
|
492
|
+
const selectedLanguage = Prism__namespace.languages[decorateKey || 'plaintext'];
|
492
493
|
// create "tokens" with "prismjs" and put them in "ranges"
|
493
|
-
const tokens =
|
494
|
+
const tokens = Prism__namespace.tokenize(text, selectedLanguage);
|
494
495
|
let start = 0;
|
495
496
|
for (const token of tokens){
|
496
497
|
const length = token.length;
|
@@ -6782,4 +6783,4 @@ exports.NotAllowedInput = NotAllowedInput;
|
|
6782
6783
|
exports.useDynamicZone = useDynamicZone;
|
6783
6784
|
exports.useFieldHint = useFieldHint;
|
6784
6785
|
exports.useLazyComponents = useLazyComponents;
|
6785
|
-
//# sourceMappingURL=Input-
|
6786
|
+
//# sourceMappingURL=Input-Dh1MtWno.js.map
|