@strapi/content-manager 0.0.0-experimental.cffeb3f30bb8beaa0d2a247ba56da461781c6690 → 0.0.0-experimental.d1602f22dc638a4c3c5084965fd6126fff5e9d4f
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/{ComponentConfigurationPage-CM3vQxyp.js → ComponentConfigurationPage-DXwOtpq1.js} +3 -3
- package/dist/admin/chunks/{ComponentConfigurationPage-CM3vQxyp.js.map → ComponentConfigurationPage-DXwOtpq1.js.map} +1 -1
- package/dist/admin/chunks/{ComponentConfigurationPage-BqW-t7Lr.js → ComponentConfigurationPage-DhYZp4nN.js} +3 -3
- package/dist/admin/chunks/{ComponentConfigurationPage-BqW-t7Lr.js.map → ComponentConfigurationPage-DhYZp4nN.js.map} +1 -1
- package/dist/admin/chunks/{EditConfigurationPage-CIKO27N8.js → EditConfigurationPage-D0Ng758X.js} +3 -3
- package/dist/admin/chunks/{EditConfigurationPage-CIKO27N8.js.map → EditConfigurationPage-D0Ng758X.js.map} +1 -1
- package/dist/admin/chunks/{EditConfigurationPage-CYQ6mJWy.js → EditConfigurationPage-DDuPch5d.js} +3 -3
- package/dist/admin/chunks/{EditConfigurationPage-CYQ6mJWy.js.map → EditConfigurationPage-DDuPch5d.js.map} +1 -1
- package/dist/admin/chunks/{EditViewPage-DaY9aMeu.js → EditViewPage-jCZnUuCR.js} +6 -55
- package/dist/admin/chunks/{EditViewPage-DaY9aMeu.js.map → EditViewPage-jCZnUuCR.js.map} +1 -1
- package/dist/admin/chunks/{EditViewPage-CRu2G4OS.js → EditViewPage-zSnDwLz3.js} +6 -55
- package/dist/admin/chunks/{EditViewPage-CRu2G4OS.js.map → EditViewPage-zSnDwLz3.js.map} +1 -1
- package/dist/admin/chunks/{Form--7s-Wsw1.js → Form-BEqiuSvQ.js} +2 -2
- package/dist/admin/chunks/{Form--7s-Wsw1.js.map → Form-BEqiuSvQ.js.map} +1 -1
- package/dist/admin/chunks/{Form-CX_f1AUZ.js → Form-CZmB6JIg.js} +2 -2
- package/dist/admin/chunks/{Form-CX_f1AUZ.js.map → Form-CZmB6JIg.js.map} +1 -1
- package/dist/admin/chunks/{History-SRih7tGq.js → History-BlLKDZSw.js} +6 -55
- package/dist/admin/chunks/{History-SRih7tGq.js.map → History-BlLKDZSw.js.map} +1 -1
- package/dist/admin/chunks/{History-VVVFEAnd.js → History-CPYXgxkS.js} +6 -55
- package/dist/admin/chunks/{History-VVVFEAnd.js.map → History-CPYXgxkS.js.map} +1 -1
- package/dist/admin/chunks/{Input-B3wbR0pJ.js → Input-CLX3C5DI.js} +10 -53
- package/dist/admin/chunks/Input-CLX3C5DI.js.map +1 -0
- package/dist/admin/chunks/{Input-BIRb1gP2.js → Input-DiR2Xfa7.js} +11 -54
- package/dist/admin/chunks/Input-DiR2Xfa7.js.map +1 -0
- package/dist/admin/chunks/{ListConfigurationPage-BMBxgLtZ.js → ListConfigurationPage-CNvotSqe.js} +2 -2
- package/dist/admin/chunks/{ListConfigurationPage-BMBxgLtZ.js.map → ListConfigurationPage-CNvotSqe.js.map} +1 -1
- package/dist/admin/chunks/{ListConfigurationPage-DBWZlkHs.js → ListConfigurationPage-DdTp-HxB.js} +2 -2
- package/dist/admin/chunks/{ListConfigurationPage-DBWZlkHs.js.map → ListConfigurationPage-DdTp-HxB.js.map} +1 -1
- package/dist/admin/chunks/{ListViewPage-9jad22KO.js → ListViewPage-BtXYjEYz.js} +5 -5
- package/dist/admin/chunks/{ListViewPage-9jad22KO.js.map → ListViewPage-BtXYjEYz.js.map} +1 -1
- package/dist/admin/chunks/{ListViewPage-Dq2zuPYL.js → ListViewPage-MJNfQTp-.js} +4 -4
- package/dist/admin/chunks/{ListViewPage-Dq2zuPYL.js.map → ListViewPage-MJNfQTp-.js.map} +1 -1
- package/dist/admin/chunks/{NoContentTypePage-BtpSxTZs.js → NoContentTypePage-BJrZvYPY.js} +2 -2
- package/dist/admin/chunks/{NoContentTypePage-BtpSxTZs.js.map → NoContentTypePage-BJrZvYPY.js.map} +1 -1
- package/dist/admin/chunks/{NoContentTypePage-B5xX6Br5.js → NoContentTypePage-CVvVpwj4.js} +2 -2
- package/dist/admin/chunks/{NoContentTypePage-B5xX6Br5.js.map → NoContentTypePage-CVvVpwj4.js.map} +1 -1
- package/dist/admin/chunks/{NoPermissionsPage-HnOCsRtG.js → NoPermissionsPage-BulvG4hB.js} +2 -2
- package/dist/admin/chunks/{NoPermissionsPage-HnOCsRtG.js.map → NoPermissionsPage-BulvG4hB.js.map} +1 -1
- package/dist/admin/chunks/{NoPermissionsPage-CRS0hARz.js → NoPermissionsPage-C5yWg70d.js} +2 -2
- package/dist/admin/chunks/{NoPermissionsPage-CRS0hARz.js.map → NoPermissionsPage-C5yWg70d.js.map} +1 -1
- package/dist/admin/chunks/{Preview-BcggSPwn.js → Preview-DEuQgQg2.js} +111 -64
- package/dist/admin/chunks/Preview-DEuQgQg2.js.map +1 -0
- package/dist/admin/chunks/{Preview-DRtWRrYn.js → Preview-H74FQ9Cq.js} +109 -62
- package/dist/admin/chunks/Preview-H74FQ9Cq.js.map +1 -0
- package/dist/admin/chunks/{Relations-B1i77Jba.js → Relations-C8jbZPVK.js} +6 -5
- package/dist/admin/chunks/Relations-C8jbZPVK.js.map +1 -0
- package/dist/admin/chunks/{Relations-BDe2e0a7.js → Relations-mxOUS7TJ.js} +6 -5
- package/dist/admin/chunks/Relations-mxOUS7TJ.js.map +1 -0
- package/dist/admin/chunks/{en-1xHet_GV.js → en-C1CjdAtC.js} +2 -1
- package/dist/admin/chunks/{en-1xHet_GV.js.map → en-C1CjdAtC.js.map} +1 -1
- package/dist/admin/chunks/{en-DB7sPJVj.js → en-LfhocNG2.js} +2 -1
- package/dist/admin/chunks/{en-DB7sPJVj.js.map → en-LfhocNG2.js.map} +1 -1
- package/dist/admin/chunks/{fr-Dm1xiZI5.js → fr-CFdRaRVj.js} +4 -1
- package/dist/admin/chunks/{fr-Dm1xiZI5.js.map → fr-CFdRaRVj.js.map} +1 -1
- package/dist/admin/chunks/{fr-CqAyDOmo.js → fr-gQSilC7w.js} +4 -1
- package/dist/admin/chunks/{fr-CqAyDOmo.js.map → fr-gQSilC7w.js.map} +1 -1
- package/dist/admin/chunks/{index-DfEfFmQC.js → index-BRlRBRLb.js} +130 -53
- package/dist/admin/chunks/index-BRlRBRLb.js.map +1 -0
- package/dist/admin/chunks/{index-CKZHZ3ir.js → index-ZIwOPk6p.js} +128 -51
- package/dist/admin/chunks/index-ZIwOPk6p.js.map +1 -0
- package/dist/admin/chunks/{layout-BN6DSZ4t.js → layout-B3-guCPG.js} +4 -4
- package/dist/admin/chunks/{layout-BN6DSZ4t.js.map → layout-B3-guCPG.js.map} +1 -1
- package/dist/admin/chunks/{layout-CX-A0s3P.js → layout-ameRNiAM.js} +4 -4
- package/dist/admin/chunks/{layout-CX-A0s3P.js.map → layout-ameRNiAM.js.map} +1 -1
- package/dist/admin/chunks/{relations-CuPmv-zR.js → relations-CmoFVrKj.js} +20 -2
- package/dist/admin/chunks/relations-CmoFVrKj.js.map +1 -0
- package/dist/admin/chunks/{relations-xwSNlsdc.js → relations-DYQAaXwZ.js} +20 -3
- package/dist/admin/chunks/relations-DYQAaXwZ.js.map +1 -0
- package/dist/admin/chunks/usePrev-Bjw2dhmq.js +18 -0
- package/dist/admin/chunks/usePrev-Bjw2dhmq.js.map +1 -0
- package/dist/admin/chunks/{usePrev-CwGzb4ed.js → usePrev-DIYl-IAL.js} +1 -18
- package/dist/admin/chunks/usePrev-DIYl-IAL.js.map +1 -0
- 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 +0 -1
- package/dist/admin/src/pages/EditView/components/FormInputs/BlocksInput/Blocks/utils/prismLanguages.d.ts +0 -49
- package/dist/admin/src/preview/components/PreviewContent.d.ts +2 -1
- package/dist/admin/src/preview/components/PreviewHeader.d.ts +2 -1
- package/package.json +5 -5
- package/dist/admin/chunks/Input-B3wbR0pJ.js.map +0 -1
- package/dist/admin/chunks/Input-BIRb1gP2.js.map +0 -1
- package/dist/admin/chunks/Preview-BcggSPwn.js.map +0 -1
- package/dist/admin/chunks/Preview-DRtWRrYn.js.map +0 -1
- package/dist/admin/chunks/Relations-B1i77Jba.js.map +0 -1
- package/dist/admin/chunks/Relations-BDe2e0a7.js.map +0 -1
- package/dist/admin/chunks/index-CKZHZ3ir.js.map +0 -1
- package/dist/admin/chunks/index-DfEfFmQC.js.map +0 -1
- package/dist/admin/chunks/relations-CuPmv-zR.js.map +0 -1
- package/dist/admin/chunks/relations-xwSNlsdc.js.map +0 -1
- package/dist/admin/chunks/usePrev-CwGzb4ed.js.map +0 -1
- package/dist/admin/chunks/usePrev-tlgK0qPG.js +0 -34
- package/dist/admin/chunks/usePrev-tlgK0qPG.js.map +0 -1
@@ -6,71 +6,23 @@ 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-ZIwOPk6p.js');
|
10
10
|
var styledComponents = require('styled-components');
|
11
11
|
var slate = require('slate');
|
12
12
|
var slateHistory = require('slate-history');
|
13
13
|
var slateReact = require('slate-react');
|
14
14
|
var Prism = require('prismjs');
|
15
15
|
require('prismjs/themes/prism-solarizedlight.css');
|
16
|
-
require('
|
17
|
-
require('prismjs/components/prism-bash');
|
18
|
-
require('prismjs/components/prism-basic');
|
19
|
-
require('prismjs/components/prism-c');
|
20
|
-
require('prismjs/components/prism-clojure');
|
21
|
-
require('prismjs/components/prism-cobol');
|
22
|
-
require('prismjs/components/prism-cpp');
|
23
|
-
require('prismjs/components/prism-csharp');
|
24
|
-
require('prismjs/components/prism-dart');
|
25
|
-
require('prismjs/components/prism-docker');
|
26
|
-
require('prismjs/components/prism-elixir');
|
27
|
-
require('prismjs/components/prism-erlang');
|
28
|
-
require('prismjs/components/prism-fortran');
|
29
|
-
require('prismjs/components/prism-fsharp');
|
30
|
-
require('prismjs/components/prism-go');
|
31
|
-
require('prismjs/components/prism-graphql');
|
32
|
-
require('prismjs/components/prism-groovy');
|
33
|
-
require('prismjs/components/prism-haskell');
|
34
|
-
require('prismjs/components/prism-haxe');
|
35
|
-
require('prismjs/components/prism-ini');
|
36
|
-
require('prismjs/components/prism-java');
|
37
|
-
require('prismjs/components/prism-javascript');
|
38
|
-
require('prismjs/components/prism-jsx');
|
39
|
-
require('prismjs/components/prism-json');
|
40
|
-
require('prismjs/components/prism-julia');
|
41
|
-
require('prismjs/components/prism-kotlin');
|
42
|
-
require('prismjs/components/prism-latex');
|
43
|
-
require('prismjs/components/prism-lua');
|
44
|
-
require('prismjs/components/prism-markdown');
|
45
|
-
require('prismjs/components/prism-matlab');
|
46
|
-
require('prismjs/components/prism-makefile');
|
47
|
-
require('prismjs/components/prism-objectivec');
|
48
|
-
require('prismjs/components/prism-perl');
|
49
|
-
require('prismjs/components/prism-php');
|
50
|
-
require('prismjs/components/prism-powershell');
|
51
|
-
require('prismjs/components/prism-python');
|
52
|
-
require('prismjs/components/prism-r');
|
53
|
-
require('prismjs/components/prism-ruby');
|
54
|
-
require('prismjs/components/prism-rust');
|
55
|
-
require('prismjs/components/prism-sas');
|
56
|
-
require('prismjs/components/prism-scala');
|
57
|
-
require('prismjs/components/prism-scheme');
|
58
|
-
require('prismjs/components/prism-sql');
|
59
|
-
require('prismjs/components/prism-stata');
|
60
|
-
require('prismjs/components/prism-swift');
|
61
|
-
require('prismjs/components/prism-typescript');
|
62
|
-
require('prismjs/components/prism-tsx');
|
63
|
-
require('prismjs/components/prism-vbnet');
|
64
|
-
require('prismjs/components/prism-yaml');
|
65
|
-
var usePrev = require('./usePrev-CwGzb4ed.js');
|
16
|
+
var usePrev = require('./usePrev-DIYl-IAL.js');
|
66
17
|
var useDragAndDrop = require('./useDragAndDrop-gcqEJMnO.js');
|
67
18
|
var Toolbar = require('@radix-ui/react-toolbar');
|
68
19
|
var reactDndHtml5Backend = require('react-dnd-html5-backend');
|
69
20
|
var reactRouterDom = require('react-router-dom');
|
70
21
|
var objects = require('./objects-C3EebVVe.js');
|
71
|
-
var Relations = require('./Relations-
|
22
|
+
var Relations = require('./Relations-mxOUS7TJ.js');
|
72
23
|
var pipe$1 = require('lodash/fp/pipe');
|
73
24
|
var ComponentIcon = require('./ComponentIcon-C-EjOUPA.js');
|
25
|
+
var relations = require('./relations-CmoFVrKj.js');
|
74
26
|
var CodeMirror = require('codemirror5');
|
75
27
|
var sanitizeHtml = require('sanitize-html');
|
76
28
|
var highlight_js = require('highlight.js');
|
@@ -480,6 +432,11 @@ const isText$2 = (node)=>{
|
|
480
432
|
}
|
481
433
|
};
|
482
434
|
|
435
|
+
if (typeof window !== 'undefined' && !window.Prism) {
|
436
|
+
window.Prism = Prism__namespace;
|
437
|
+
}
|
438
|
+
// NOTE: use dynamic requires to ensure they are run after Prism is set globally
|
439
|
+
require('./utils/prismLanguages');
|
483
440
|
const decorateCode = ([node, path])=>{
|
484
441
|
const ranges = [];
|
485
442
|
// make sure it is an Slate Element
|
@@ -4101,7 +4058,7 @@ const UIDInput = /*#__PURE__*/ React__namespace.forwardRef(({ hint, label, label
|
|
4101
4058
|
const [showRegenerate, setShowRegenerate] = React__namespace.useState(false);
|
4102
4059
|
const isCloning = reactRouterDom.useMatch(index.CLONE_PATH) !== null;
|
4103
4060
|
const field = strapiAdmin.useField(name);
|
4104
|
-
const debouncedValue =
|
4061
|
+
const debouncedValue = relations.useDebounce(field.value, 300);
|
4105
4062
|
const hasChanged = debouncedValue !== field.initialValue;
|
4106
4063
|
const { toggleNotification } = strapiAdmin.useNotification();
|
4107
4064
|
const { _unstableFormatAPIError: formatAPIError } = strapiAdmin.useAPIErrorHandler();
|
@@ -6782,4 +6739,4 @@ exports.NotAllowedInput = NotAllowedInput;
|
|
6782
6739
|
exports.useDynamicZone = useDynamicZone;
|
6783
6740
|
exports.useFieldHint = useFieldHint;
|
6784
6741
|
exports.useLazyComponents = useLazyComponents;
|
6785
|
-
//# sourceMappingURL=Input-
|
6742
|
+
//# sourceMappingURL=Input-DiR2Xfa7.js.map
|