intlayer-editor 8.5.1 → 8.5.2
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-DoD2Sc7u.js → CodeBlockShiki-DjsiIoFk.js} +1 -1
- package/client/dist/assets/{MarkdownRendererPlugin-qmrNTiKL.js → MarkdownRendererPlugin-CZjpMlL7.js} +1 -1
- package/client/dist/assets/{index-B57zBtFg.js → index-BpMyckzW.js} +23 -23
- package/client/dist/index.html +1 -1
- package/package.json +11 -11
|
@@ -3,7 +3,7 @@ import { a as __toESM } from "./chunk-C0u3WHrm.js";
|
|
|
3
3
|
import { t as require_react } from "./react-BI_C_976.js";
|
|
4
4
|
import { t as require_jsx_runtime } from "./jsx-runtime-BkWmzJHO.js";
|
|
5
5
|
import { t as __vitePreload } from "./preload-helper-B4JcPOPd.js";
|
|
6
|
-
import { t as CodeDefault } from "./index-
|
|
6
|
+
import { t as CodeDefault } from "./index-BpMyckzW.js";
|
|
7
7
|
//#region ../@intlayer/design-system/dist/esm/components/IDE/CodeBlockShiki.mjs
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
9
9
|
var import_jsx_runtime = require_jsx_runtime();
|
package/client/dist/assets/{MarkdownRendererPlugin-qmrNTiKL.js → MarkdownRendererPlugin-CZjpMlL7.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as useMarkdownContext } from "./index-
|
|
1
|
+
import { n as useMarkdownContext } from "./index-BpMyckzW.js";
|
|
2
2
|
//#region ../react-intlayer/dist/esm/markdown/MarkdownRendererPlugin.mjs
|
|
3
3
|
var MarkdownRendererPlugin = (props) => {
|
|
4
4
|
const { children, options, components } = props;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HTMLRendererPlugin-B6Eld7in.js","assets/chunk-C0u3WHrm.js","assets/react-BI_C_976.js","assets/CodeBlockShiki-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/HTMLRendererPlugin-B6Eld7in.js","assets/chunk-C0u3WHrm.js","assets/react-BI_C_976.js","assets/CodeBlockShiki-DjsiIoFk.js","assets/preload-helper-B4JcPOPd.js","assets/jsx-runtime-BkWmzJHO.js","assets/dist-D8J9DkzO.js"])))=>i.map(i=>d[i]);
|
|
2
2
|
import { a as __toESM, i as __toCommonJS, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./chunk-C0u3WHrm.js";
|
|
3
3
|
import { t as require_react } from "./react-BI_C_976.js";
|
|
4
4
|
import { t as require_jsx_runtime } from "./jsx-runtime-BkWmzJHO.js";
|
|
@@ -9570,7 +9570,7 @@ var configuration = {
|
|
|
9570
9570
|
},
|
|
9571
9571
|
metadata: {
|
|
9572
9572
|
"name": "Intlayer",
|
|
9573
|
-
"version": "8.5.
|
|
9573
|
+
"version": "8.5.2",
|
|
9574
9574
|
"doc": "https://intlayer.org/docs"
|
|
9575
9575
|
}
|
|
9576
9576
|
};
|
|
@@ -12089,7 +12089,7 @@ var compile = (markdown = "", ctx, options = {}) => {
|
|
|
12089
12089
|
};
|
|
12090
12090
|
//#endregion
|
|
12091
12091
|
//#region ../react-intlayer/dist/esm/plugins.mjs
|
|
12092
|
-
var LazyMarkdownRendererPlugin = (0, import_react.lazy)(() => __vitePreload(() => import("./MarkdownRendererPlugin-
|
|
12092
|
+
var LazyMarkdownRendererPlugin = (0, import_react.lazy)(() => __vitePreload(() => import("./MarkdownRendererPlugin-CZjpMlL7.js").then((m) => ({ default: m.MarkdownRendererPlugin })), []));
|
|
12093
12093
|
var LazyHTMLRendererPlugin = (0, import_react.lazy)(() => __vitePreload(() => import("./HTMLRendererPlugin-B6Eld7in.js").then((m) => ({ default: m.HTMLRendererPlugin })), __vite__mapDeps([0,1,2])));
|
|
12094
12094
|
/** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
|
|
12095
12095
|
var intlayerNodePlugins = {
|
|
@@ -30176,7 +30176,7 @@ var CodeDefault = ({ children }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
|
30176
30176
|
}, `line-${index}-${line.slice(0, 10)}`)) : children })
|
|
30177
30177
|
})
|
|
30178
30178
|
});
|
|
30179
|
-
var CodeBlockShiki = (0, import_react.lazy)(() => __vitePreload(() => import("./CodeBlockShiki-
|
|
30179
|
+
var CodeBlockShiki = (0, import_react.lazy)(() => __vitePreload(() => import("./CodeBlockShiki-DjsiIoFk.js").then((mod) => ({ default: mod.CodeBlockShiki })), __vite__mapDeps([3,1,4,5,2])));
|
|
30180
30180
|
var CodeBlock = ({ className, onChange, isEditable, children, lang, isDarkMode, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
30181
30181
|
className: cn$2("flex w-full min-w-0 max-w-full overflow-x-auto", className),
|
|
30182
30182
|
...props,
|
|
@@ -48809,7 +48809,7 @@ function defineErrorCodes(codes) {
|
|
|
48809
48809
|
}]));
|
|
48810
48810
|
}
|
|
48811
48811
|
//#endregion
|
|
48812
|
-
//#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+
|
|
48812
|
+
//#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+626702e6b890434a/node_modules/@better-auth/passkey/dist/error-codes-Dvu2mv33.mjs
|
|
48813
48813
|
var PASSKEY_ERROR_CODES = defineErrorCodes({
|
|
48814
48814
|
CHALLENGE_NOT_FOUND: "Challenge not found",
|
|
48815
48815
|
YOU_ARE_NOT_ALLOWED_TO_REGISTER_THIS_PASSKEY: "You are not allowed to register this passkey",
|
|
@@ -49271,7 +49271,7 @@ async function startAuthentication(options) {
|
|
|
49271
49271
|
};
|
|
49272
49272
|
}
|
|
49273
49273
|
//#endregion
|
|
49274
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49274
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
49275
49275
|
var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
49276
49276
|
var now$1 = () => Math.floor(Date.now() / 1e3);
|
|
49277
49277
|
var WindowBroadcastChannel = class {
|
|
@@ -49314,7 +49314,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
49314
49314
|
return globalThis[kBroadcastChannel];
|
|
49315
49315
|
}
|
|
49316
49316
|
//#endregion
|
|
49317
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49317
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
49318
49318
|
var kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
49319
49319
|
var WindowFocusManager = class {
|
|
49320
49320
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -49343,7 +49343,7 @@ function getGlobalFocusManager() {
|
|
|
49343
49343
|
return globalThis[kFocusManager];
|
|
49344
49344
|
}
|
|
49345
49345
|
//#endregion
|
|
49346
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49346
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/online-manager.mjs
|
|
49347
49347
|
var kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
49348
49348
|
var WindowOnlineManager = class {
|
|
49349
49349
|
listeners = /* @__PURE__ */ new Set();
|
|
@@ -49375,7 +49375,7 @@ function getGlobalOnlineManager() {
|
|
|
49375
49375
|
return globalThis[kOnlineManager];
|
|
49376
49376
|
}
|
|
49377
49377
|
//#endregion
|
|
49378
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49378
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/parser.mjs
|
|
49379
49379
|
var PROTO_POLLUTION_PATTERNS = {
|
|
49380
49380
|
proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
|
|
49381
49381
|
constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
|
|
@@ -49557,7 +49557,7 @@ var onMount = ($store, initialize) => {
|
|
|
49557
49557
|
});
|
|
49558
49558
|
};
|
|
49559
49559
|
//#endregion
|
|
49560
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49560
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/query.mjs
|
|
49561
49561
|
var isServer = () => typeof window === "undefined";
|
|
49562
49562
|
var useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
49563
49563
|
const value = /* @__PURE__ */ atom({
|
|
@@ -49651,7 +49651,7 @@ var useAuthQuery = (initializedAtom, path, $fetch, options) => {
|
|
|
49651
49651
|
return value;
|
|
49652
49652
|
};
|
|
49653
49653
|
//#endregion
|
|
49654
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49654
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
49655
49655
|
var now = () => Math.floor(Date.now() / 1e3);
|
|
49656
49656
|
/**
|
|
49657
49657
|
* Rate limit: don't refetch on focus if a session request was made within this many seconds
|
|
@@ -49850,7 +49850,7 @@ var BetterAuthError = class extends Error {
|
|
|
49850
49850
|
}
|
|
49851
49851
|
};
|
|
49852
49852
|
//#endregion
|
|
49853
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49853
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/utils/url.mjs
|
|
49854
49854
|
function checkHasPath(url) {
|
|
49855
49855
|
try {
|
|
49856
49856
|
return (new URL(url).pathname.replace(/\/+$/, "") || "/") !== "/";
|
|
@@ -49922,7 +49922,7 @@ function getOrigin(url) {
|
|
|
49922
49922
|
}
|
|
49923
49923
|
}
|
|
49924
49924
|
//#endregion
|
|
49925
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49925
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
49926
49926
|
var redirectPlugin = {
|
|
49927
49927
|
id: "redirect",
|
|
49928
49928
|
name: "Redirect",
|
|
@@ -49937,7 +49937,7 @@ var redirectPlugin = {
|
|
|
49937
49937
|
} }
|
|
49938
49938
|
};
|
|
49939
49939
|
//#endregion
|
|
49940
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
49940
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/session-atom.mjs
|
|
49941
49941
|
function getSessionAtom($fetch, options) {
|
|
49942
49942
|
const $signal = /* @__PURE__ */ atom(false);
|
|
49943
49943
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -50396,7 +50396,7 @@ var betterFetch = async (url, options) => {
|
|
|
50396
50396
|
};
|
|
50397
50397
|
};
|
|
50398
50398
|
//#endregion
|
|
50399
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
50399
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/config.mjs
|
|
50400
50400
|
var resolvePublicAuthUrl = (basePath) => {
|
|
50401
50401
|
if (typeof process === "undefined") return void 0;
|
|
50402
50402
|
const path = basePath ?? "/api/auth";
|
|
@@ -50494,12 +50494,12 @@ var getClientConfig = (options, loadEnv) => {
|
|
|
50494
50494
|
};
|
|
50495
50495
|
};
|
|
50496
50496
|
//#endregion
|
|
50497
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
50497
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
50498
50498
|
function isAtom(value) {
|
|
50499
50499
|
return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
|
|
50500
50500
|
}
|
|
50501
50501
|
//#endregion
|
|
50502
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
50502
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/proxy.mjs
|
|
50503
50503
|
function getMethod(path, knownPathMethods, args) {
|
|
50504
50504
|
const method = knownPathMethods[path];
|
|
50505
50505
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -50579,7 +50579,7 @@ function capitalizeFirstLetter(str) {
|
|
|
50579
50579
|
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
50580
50580
|
}
|
|
50581
50581
|
//#endregion
|
|
50582
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
50582
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/client/vanilla.mjs
|
|
50583
50583
|
function createAuthClient(options) {
|
|
50584
50584
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
50585
50585
|
const resolvedHooks = {};
|
|
@@ -50592,7 +50592,7 @@ function createAuthClient(options) {
|
|
|
50592
50592
|
}, $fetch, pluginPathMethods, pluginsAtoms, atomListeners);
|
|
50593
50593
|
}
|
|
50594
50594
|
//#endregion
|
|
50595
|
-
//#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+
|
|
50595
|
+
//#region ../../node_modules/.bun/@better-auth+passkey@1.5.5+626702e6b890434a/node_modules/@better-auth/passkey/dist/client.mjs
|
|
50596
50596
|
var getPasskeyActions = ($fetch, { $listPasskeys, $store }) => {
|
|
50597
50597
|
const signInPasskey = async (opts, options) => {
|
|
50598
50598
|
const response = await $fetch("/passkey/generate-authenticate-options", {
|
|
@@ -50734,7 +50734,7 @@ var passkeyClient = () => {
|
|
|
50734
50734
|
};
|
|
50735
50735
|
};
|
|
50736
50736
|
//#endregion
|
|
50737
|
-
//#region ../../node_modules/.bun/@better-auth+sso@1.5.5+
|
|
50737
|
+
//#region ../../node_modules/.bun/@better-auth+sso@1.5.5+1b68b95562468c1a/node_modules/@better-auth/sso/dist/client.mjs
|
|
50738
50738
|
var ssoClient = (options) => {
|
|
50739
50739
|
return {
|
|
50740
50740
|
id: "sso-client",
|
|
@@ -50746,7 +50746,7 @@ var ssoClient = (options) => {
|
|
|
50746
50746
|
};
|
|
50747
50747
|
};
|
|
50748
50748
|
//#endregion
|
|
50749
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
50749
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/plugins/magic-link/client.mjs
|
|
50750
50750
|
var magicLinkClient = () => {
|
|
50751
50751
|
return {
|
|
50752
50752
|
id: "magic-link",
|
|
@@ -50754,7 +50754,7 @@ var magicLinkClient = () => {
|
|
|
50754
50754
|
};
|
|
50755
50755
|
};
|
|
50756
50756
|
//#endregion
|
|
50757
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
50757
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/plugins/two-factor/error-code.mjs
|
|
50758
50758
|
var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
50759
50759
|
OTP_NOT_ENABLED: "OTP not enabled",
|
|
50760
50760
|
OTP_HAS_EXPIRED: "OTP has expired",
|
|
@@ -50767,7 +50767,7 @@ var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
|
50767
50767
|
INVALID_TWO_FACTOR_COOKIE: "Invalid two factor cookie"
|
|
50768
50768
|
});
|
|
50769
50769
|
//#endregion
|
|
50770
|
-
//#region ../../node_modules/.bun/better-auth@1.5.5+
|
|
50770
|
+
//#region ../../node_modules/.bun/better-auth@1.5.5+697ffe47a919e1b6/node_modules/better-auth/dist/plugins/two-factor/client.mjs
|
|
50771
50771
|
var twoFactorClient = (options) => {
|
|
50772
50772
|
return {
|
|
50773
50773
|
id: "two-factor",
|
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-BpMyckzW.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/chunk-C0u3WHrm.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="/assets/preload-helper-B4JcPOPd.js">
|
|
11
11
|
<link rel="modulepreload" crossorigin href="/assets/jsx-runtime-BkWmzJHO.js">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intlayer-editor",
|
|
3
|
-
"version": "8.5.
|
|
3
|
+
"version": "8.5.2",
|
|
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.5.
|
|
97
|
-
"@intlayer/config": "8.5.
|
|
98
|
-
"@intlayer/unmerged-dictionaries-entry": "8.5.
|
|
96
|
+
"@intlayer/chokidar": "8.5.2",
|
|
97
|
+
"@intlayer/config": "8.5.2",
|
|
98
|
+
"@intlayer/unmerged-dictionaries-entry": "8.5.2",
|
|
99
99
|
"fastify": "5.8.2",
|
|
100
|
-
"fastify-intlayer": "8.5.
|
|
100
|
+
"fastify-intlayer": "8.5.2",
|
|
101
101
|
"mime": "4.1.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@intlayer/design-system": "8.5.
|
|
105
|
-
"@intlayer/editor-react": "8.5.
|
|
106
|
-
"@intlayer/types": "8.5.
|
|
104
|
+
"@intlayer/design-system": "8.5.2",
|
|
105
|
+
"@intlayer/editor-react": "8.5.2",
|
|
106
|
+
"@intlayer/types": "8.5.2",
|
|
107
107
|
"@tailwindcss/vite": "4.2.2",
|
|
108
108
|
"@tanstack/react-query": "5.95.2",
|
|
109
109
|
"@types/node": "25.5.0",
|
|
@@ -117,18 +117,18 @@
|
|
|
117
117
|
"framer-motion": "12.38.0",
|
|
118
118
|
"fuse.js": "7.1.0",
|
|
119
119
|
"globals": "17.4.0",
|
|
120
|
-
"intlayer": "8.5.
|
|
120
|
+
"intlayer": "8.5.2",
|
|
121
121
|
"lucide-react": "1.0.1",
|
|
122
122
|
"react": "19.2.4",
|
|
123
123
|
"react-dom": "19.2.4",
|
|
124
|
-
"react-intlayer": "8.5.
|
|
124
|
+
"react-intlayer": "8.5.2",
|
|
125
125
|
"react-router-dom": "7.13.1",
|
|
126
126
|
"tailwind-merge": "3.5.0",
|
|
127
127
|
"tailwindcss": "4.2.2",
|
|
128
128
|
"tsdown": "0.21.4",
|
|
129
129
|
"typescript": "6.0.2",
|
|
130
130
|
"vite": "8.0.2",
|
|
131
|
-
"vite-intlayer": "8.5.
|
|
131
|
+
"vite-intlayer": "8.5.2",
|
|
132
132
|
"vitest": "4.1.1"
|
|
133
133
|
},
|
|
134
134
|
"engines": {
|