intlayer-editor 8.3.0-canary.3 → 8.3.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/client/dist/assets/{CodeBlockShiki-TUKYTppg.js → CodeBlockShiki-BMSUME3m.js} +3 -3
- package/client/dist/assets/{bundle-web-C8Ba6Gf3.js → bundle-web-BHw3y2Rw.js} +1 -1
- package/client/dist/assets/{index-DjH7a6E6.js → index-D_AtOkgr.js} +1 -1
- package/client/dist/assets/{index-SCyxAFRs.js → index-IT8aKTX0.js} +6 -6
- package/client/dist/index.html +1 -1
- package/package.json +11 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-CWEOkb3q.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-BOjX3v2Q.js","assets/html-derivative-Cswrtqyq.js","assets/xml-C_9VvpQq.js","assets/java-BfXh-0uJ.js","assets/bundle-web-
|
|
2
|
-
import { r as reactExports, j as jsxRuntimeExports, i as i$1, _ as __vitePreload } from "./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-CWEOkb3q.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-BOjX3v2Q.js","assets/html-derivative-Cswrtqyq.js","assets/xml-C_9VvpQq.js","assets/java-BfXh-0uJ.js","assets/bundle-web-BHw3y2Rw.js","assets/index-IT8aKTX0.js","assets/index-C4-4d5yo.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { r as reactExports, j as jsxRuntimeExports, i as i$1, _ as __vitePreload } from "./index-IT8aKTX0.js";
|
|
3
3
|
const i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = async (e) => {
|
|
4
4
|
if (i.has(e)) return i.get(e);
|
|
5
5
|
let t;
|
|
@@ -57,7 +57,7 @@ const i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = async (e
|
|
|
57
57
|
};
|
|
58
58
|
let c = null;
|
|
59
59
|
const l = async () => (c ||= __vitePreload(async () => {
|
|
60
|
-
const { createHighlighter: e } = await import("./bundle-web-
|
|
60
|
+
const { createHighlighter: e } = await import("./bundle-web-BHw3y2Rw.js");
|
|
61
61
|
return { createHighlighter: e };
|
|
62
62
|
}, true ? __vite__mapDeps([9,10,11]) : void 0).then(({ createHighlighter: e }) => e({ langs: [], themes: [] })), c), u = async (e, t, n) => {
|
|
63
63
|
let r = n ? `github-dark` : `github-light`, [i2, a2, c2] = await Promise.all([l(), o(t), s(r)]);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-ChYFFmg7.js","assets/html-BOjX3v2Q.js","assets/javascript-DLs729Nk.js","assets/css-BtVcDqlU.js","assets/angular-ts-CpuGw9DZ.js","assets/scss-Dq-LbI_c.js","assets/astro-B0lt4qz0.js","assets/json-D07AUpjp.js","assets/typescript-Cju7JbYj.js","assets/postcss-kj1IbjVd.js","assets/tsx-B9RA6cgQ.js","assets/blade-CRfxJHPE.js","assets/html-derivative-Cswrtqyq.js","assets/xml-C_9VvpQq.js","assets/java-BfXh-0uJ.js","assets/sql-DzUuSofg.js","assets/coffee-DJkIX6_2.js","assets/cpp-zh2ePAE_.js","assets/regexp-BxWeO75u.js","assets/glsl-CGsiYPcu.js","assets/c-C4VtT7JA.js","assets/graphql-oNSp8dGZ.js","assets/jsx-BPmvoin2.js","assets/haml-BJ44RGT2.js","assets/handlebars-v7TDC-Uu.js","assets/yaml-BTMSdukS.js","assets/http-cwl4j4v2.js","assets/bash-Bz2gZrDc.js","assets/hurl-CvGoQI5A.js","assets/csv-Ba84L8e5.js","assets/jinja-BAZ4h1JD.js","assets/jison-Bwp1bXaL.js","assets/julia-DijK_igD.js","assets/python-CrdIx4PZ.js","assets/r-Dpdc-Kyk.js","assets/marko-Dp5JrPMQ.js","assets/less-BAzLMJNR.js","assets/mdc-Du6Rrk4r.js","assets/markdown-F_EULe_G.js","assets/php-F8kBBMXh.js","assets/pug-C-LeC0-n.js","assets/svelte-BdGWWPP8.js","assets/ts-tags-ChrW48Bs.js","assets/vue-CWEOkb3q.js","assets/vue-html-Df7OYD9X.js","assets/vue-vine-Bx34p5qN.js","assets/stylus-DXFa_2Jl.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import { _ as __vitePreload } from "./index-
|
|
2
|
+
import { _ as __vitePreload } from "./index-IT8aKTX0.js";
|
|
3
3
|
var __defProp$1 = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as reactExports, W as We } from "./index-
|
|
1
|
+
import { r as reactExports, W as We } from "./index-IT8aKTX0.js";
|
|
2
2
|
function _arrayLikeToArray(r, a) {
|
|
3
3
|
(null == a || a > r.length) && (a = r.length);
|
|
4
4
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
@@ -12907,7 +12907,7 @@ const editor = { "editorURL": "http://localhost:8000", "cmsURL": "https://app.in
|
|
|
12907
12907
|
const log = { "mode": "default", "prefix": "\x1B[38;5;239m[intlayer] \x1B[0m" };
|
|
12908
12908
|
const ai = {};
|
|
12909
12909
|
const dictionary = { "fill": true, "contentAutoTransformation": false, "location": "local", "importMode": "static" };
|
|
12910
|
-
const metadata = { "name": "Intlayer", "version": "8.3.0
|
|
12910
|
+
const metadata = { "name": "Intlayer", "version": "8.3.0", "doc": "https://intlayer.org/docs" };
|
|
12911
12911
|
const d$h = {
|
|
12912
12912
|
internationalization,
|
|
12913
12913
|
routing,
|
|
@@ -13782,9 +13782,9 @@ const f$b = (e2) => {
|
|
|
13782
13782
|
}, v$a = (e2) => e2.replace(/[ÀÁÂÃÄÅàáâãä忯]/g, `a`).replace(/[çÇ]/g, `c`).replace(/[ðÐ]/g, `d`).replace(/[ÈÉÊËéèêë]/g, `e`).replace(/[ÏïÎîÍíÌì]/g, `i`).replace(/[Ññ]/g, `n`).replace(/[øØœŒÕõÔôÓóÒò]/g, `o`).replace(/[ÜüÛûÚúÙù]/g, `u`).replace(/[ŸÿÝý]/g, `y`).replace(/[^a-z0-9- ]/gi, ``).replace(/ /gi, `-`).toLowerCase(), y$7 = /(javascript|vbscript|data(?!:image)):/i, b$4 = (e2) => {
|
|
13783
13783
|
try {
|
|
13784
13784
|
let t2 = decodeURIComponent(e2).replace(/[^A-Za-z0-9/:]/g, ``);
|
|
13785
|
-
if (y$7.test(t2)) return null;
|
|
13785
|
+
if (y$7.test(t2)) return console.warn(`Input contains an unsafe JavaScript/VBScript/data expression, it will not be rendered.`, t2), null;
|
|
13786
13786
|
} catch {
|
|
13787
|
-
return null;
|
|
13787
|
+
return console.warn(`Input could not be decoded due to malformed syntax or characters, it will not be rendered.`, e2), null;
|
|
13788
13788
|
}
|
|
13789
13789
|
return e2;
|
|
13790
13790
|
}, x$5 = (e2) => {
|
|
@@ -14221,7 +14221,7 @@ const t$l = (n2) => {
|
|
|
14221
14221
|
})(n2);
|
|
14222
14222
|
return reactExports.createElement(r2 ?? `span`, i2, ...i2.children);
|
|
14223
14223
|
};
|
|
14224
|
-
const m$a = { id: `intlayer-node-plugin`, canHandle: (e2) => typeof e2 == `bigint` || typeof e2 == `string` || typeof e2 == `number`, transform: (e2, { plugins: n2, ...i2 }) => r$C({ ...i2, value: i2.children, children: d$h
|
|
14224
|
+
const m$a = { id: `intlayer-node-plugin`, canHandle: (e2) => typeof e2 == `bigint` || typeof e2 == `string` || typeof e2 == `number`, transform: (e2, { plugins: n2, ...i2 }) => r$C({ ...i2, value: i2.children, children: d$h?.editor.enabled ? jsxRuntimeExports.jsx(a$s, { ...i2, children: i2.children }) : i2.children }) }, h$8 = { id: `react-node-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.props !== void 0 && e2.key !== void 0, transform: (t2, { plugins: n2, ...i2 }) => r$C({ ...i2, value: `[[react-element]]`, children: jsxRuntimeExports.jsx(f$d, { ...i2, children: t$l(t2) }) }) }, g$8 = (e2, t2) => {
|
|
14225
14225
|
let n2 = t$p(e2, t2);
|
|
14226
14226
|
return n2.isSimple ? n2.parts : reactExports.createElement(reactExports.Fragment, null, ...n2.parts.map((e3, t3) => reactExports.createElement(reactExports.Fragment, { key: t3 }, e3)));
|
|
14227
14227
|
}, _$8 = { id: `insertion-plugin`, canHandle: (e2) => typeof e2 == `object` && e2?.nodeType === e$d.Insertion, transform: (e2, t2, n2) => {
|
|
@@ -34218,7 +34218,7 @@ const c$7 = ({
|
|
|
34218
34218
|
}) : u2;
|
|
34219
34219
|
};
|
|
34220
34220
|
const i$9 = ({ children: e2 }) => jsxRuntimeExports.jsx(`div`, { className: `min-w-0 max-w-full overflow-x-auto`, children: jsxRuntimeExports.jsx(`pre`, { className: `min-w-0 max-w-full overflow-x-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden`, children: jsxRuntimeExports.jsx(`code`, { children: typeof e2 == `string` ? e2.split(`
|
|
34221
|
-
`).map((e3, t2) => jsxRuntimeExports.jsx(`span`, { className: `line block w-full`, children: e3 }, `line-${t2}-${e3.slice(0, 10)}`)) : e2 }) }) }), a$8 = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-
|
|
34221
|
+
`).map((e3, t2) => jsxRuntimeExports.jsx(`span`, { className: `line block w-full`, children: e3 }, `line-${t2}-${e3.slice(0, 10)}`)) : e2 }) }) }), a$8 = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-BMSUME3m.js"), true ? [] : void 0).then((e2) => ({ default: e2.CodeBlockShiki }))), o$c = ({ className: n2, onChange: o2, isEditable: s2, children: c2, lang: l2, isDarkMode: u2, ...d2 }) => jsxRuntimeExports.jsx(`div`, { className: n$j(`flex w-full min-w-0 max-w-full overflow-x-auto`, n2), ...d2, children: jsxRuntimeExports.jsx(reactExports.Suspense, { fallback: jsxRuntimeExports.jsx(i$9, { children: c2 }), children: jsxRuntimeExports.jsx(a$8, { lang: l2, isDarkMode: u2, children: c2 }) }) });
|
|
34222
34222
|
const g$2 = reactExports.createContext(null), _$3 = () => {
|
|
34223
34223
|
let e2 = reactExports.useContext(g$2);
|
|
34224
34224
|
if (!e2) throw Error(`useMultiSelect must be used within MultiSelectProvider`);
|
|
@@ -49518,7 +49518,7 @@ const C$1 = ({
|
|
|
49518
49518
|
})]
|
|
49519
49519
|
});
|
|
49520
49520
|
};
|
|
49521
|
-
const l$1 = reactExports.lazy(() => __vitePreload(() => import("./index-
|
|
49521
|
+
const l$1 = reactExports.lazy(() => __vitePreload(() => import("./index-D_AtOkgr.js"), true ? [] : void 0).then((e2) => ({ default: e2.Editor }))), u = ({ children: i2, language: u2, isDarkMode: d2, showLineNumbers: f2, showCopyButton: p2 = true, isReadOnly: m2 = false, onChange: h2 }) => {
|
|
49522
49522
|
let g2 = reactExports.useRef(null), _2 = reactExports.useRef(null), [v2, y2] = reactExports.useState({ height: 0, width: 0 }), b2 = d2 ? `vs-dark-transparent` : `hc-light-theme`, x2 = (e2, t2) => {
|
|
49523
49523
|
_2.current = e2;
|
|
49524
49524
|
let n2 = (e2.getContentHeight() ?? 0) + 25;
|
package/client/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Intlayer Editor</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-IT8aKTX0.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-C4-4d5yo.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intlayer-editor",
|
|
3
|
-
"version": "8.3.0
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Integrate the Intlayer visual editor into your Intlayer projects, enabling CMS-like content management with multilingual support.",
|
|
6
6
|
"keywords": [
|
|
@@ -93,17 +93,17 @@
|
|
|
93
93
|
"@fastify/formbody": "8.0.2",
|
|
94
94
|
"@fastify/helmet": "13.0.2",
|
|
95
95
|
"@fastify/static": "9.0.0",
|
|
96
|
-
"@intlayer/chokidar": "8.3.0
|
|
97
|
-
"@intlayer/config": "8.3.0
|
|
98
|
-
"@intlayer/unmerged-dictionaries-entry": "8.3.0
|
|
96
|
+
"@intlayer/chokidar": "8.3.0",
|
|
97
|
+
"@intlayer/config": "8.3.0",
|
|
98
|
+
"@intlayer/unmerged-dictionaries-entry": "8.3.0",
|
|
99
99
|
"fastify": "5.8.1",
|
|
100
|
-
"fastify-intlayer": "8.3.0
|
|
100
|
+
"fastify-intlayer": "8.3.0",
|
|
101
101
|
"mime": "4.1.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@intlayer/design-system": "8.3.0
|
|
105
|
-
"@intlayer/editor-react": "8.3.0
|
|
106
|
-
"@intlayer/types": "8.3.0
|
|
104
|
+
"@intlayer/design-system": "8.3.0",
|
|
105
|
+
"@intlayer/editor-react": "8.3.0",
|
|
106
|
+
"@intlayer/types": "8.3.0",
|
|
107
107
|
"@tailwindcss/vite": "4.2.1",
|
|
108
108
|
"@tanstack/react-query": "5.90.21",
|
|
109
109
|
"@types/node": "25.4.0",
|
|
@@ -117,18 +117,18 @@
|
|
|
117
117
|
"framer-motion": "12.35.1",
|
|
118
118
|
"fuse.js": "7.1.0",
|
|
119
119
|
"globals": "17.4.0",
|
|
120
|
-
"intlayer": "8.3.0
|
|
120
|
+
"intlayer": "8.3.0",
|
|
121
121
|
"lucide-react": "0.577.0",
|
|
122
122
|
"react": "19.2.4",
|
|
123
123
|
"react-dom": "19.2.4",
|
|
124
|
-
"react-intlayer": "8.3.0
|
|
124
|
+
"react-intlayer": "8.3.0",
|
|
125
125
|
"react-router-dom": "7.13.1",
|
|
126
126
|
"tailwind-merge": "3.5.0",
|
|
127
127
|
"tailwindcss": "4.2.1",
|
|
128
128
|
"tsdown": "0.21.2",
|
|
129
129
|
"typescript": "5.9.3",
|
|
130
130
|
"vite": "7.3.1",
|
|
131
|
-
"vite-intlayer": "8.3.0
|
|
131
|
+
"vite-intlayer": "8.3.0",
|
|
132
132
|
"vitest": "4.0.18"
|
|
133
133
|
},
|
|
134
134
|
"engines": {
|