intlayer-editor 7.3.8 → 7.3.9
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-BY8Vvfa7.js → CodeBlockShiki-BDzrU8Wt.js} +3 -3
- package/client/dist/assets/{bundle-web-l-MeoJd6.js → bundle-web-CVOrf_P0.js} +1 -1
- package/client/dist/assets/{index-rrJqDgX7.js → index-ByHXUl6t.js} +143 -124
- package/client/dist/index.html +1 -1
- package/package.json +22 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-M1-XqLgv.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-derivative-Cswrtqyq.js","assets/html-BOjX3v2Q.js","assets/bundle-web-
|
|
2
|
-
import { r as reactExports, j as jsxRuntimeExports, C as CodeDefault, _ as __vitePreload } from "./index-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/vue-M1-XqLgv.js","assets/css-BtVcDqlU.js","assets/javascript-DLs729Nk.js","assets/typescript-Cju7JbYj.js","assets/json-D07AUpjp.js","assets/html-derivative-Cswrtqyq.js","assets/html-BOjX3v2Q.js","assets/bundle-web-CVOrf_P0.js","assets/index-ByHXUl6t.js","assets/index-CpI4KDfc.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { r as reactExports, j as jsxRuntimeExports, C as CodeDefault, _ as __vitePreload } from "./index-ByHXUl6t.js";
|
|
3
3
|
const languageCache = /* @__PURE__ */ new Map();
|
|
4
4
|
const themeCache = /* @__PURE__ */ new Map();
|
|
5
5
|
const loadLanguage = async (lang) => {
|
|
@@ -61,7 +61,7 @@ const highlightCode = async (code, lang, isDarkMode) => {
|
|
|
61
61
|
const themeName = isDarkMode ? "github-dark" : "github-light";
|
|
62
62
|
const [{
|
|
63
63
|
codeToHtml
|
|
64
|
-
}, languageModule, themeModule] = await Promise.all([__vitePreload(() => import("./bundle-web-
|
|
64
|
+
}, languageModule, themeModule] = await Promise.all([__vitePreload(() => import("./bundle-web-CVOrf_P0.js"), true ? __vite__mapDeps([7,8,9]) : void 0), loadLanguage(lang), loadTheme(themeName)]);
|
|
65
65
|
return codeToHtml(code, {
|
|
66
66
|
lang,
|
|
67
67
|
theme: themeModule,
|
|
@@ -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-DtOFwYfC.js","assets/html-derivative-Cswrtqyq.js","assets/xml-BMzZeaqs.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-DTnHNTeU.js","assets/yaml-B_vW5iTY.js","assets/http-B1QlEqj7.js","assets/bash-Bz2gZrDc.js","assets/hurl-Br_hZn4E.js","assets/csv-Ba84L8e5.js","assets/jinja-BAZ4h1JD.js","assets/jison-Bwp1bXaL.js","assets/julia-D0f5tMoo.js","assets/python-CrdIx4PZ.js","assets/r-oprfD2-9.js","assets/marko-rwefYVra.js","assets/less-BAzLMJNR.js","assets/mdc-ucHOH9Vl.js","assets/markdown-F_EULe_G.js","assets/php-CI-6KGJr.js","assets/pug-C-LeC0-n.js","assets/svelte-CYSO_rLN.js","assets/ts-tags-DCkNjov3.js","assets/vue-M1-XqLgv.js","assets/vue-html-BzXE5pTE.js","assets/vue-vine-BT_ihGGO.js","assets/stylus-DXFa_2Jl.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import { _ as __vitePreload } from "./index-
|
|
2
|
+
import { _ as __vitePreload } from "./index-ByHXUl6t.js";
|
|
3
3
|
let ShikiError$2 = class ShikiError extends Error {
|
|
4
4
|
constructor(message) {
|
|
5
5
|
super(message);
|
|
@@ -512,7 +512,7 @@ function requireReact_production() {
|
|
|
512
512
|
react_production.useTransition = function() {
|
|
513
513
|
return ReactSharedInternals.H.useTransition();
|
|
514
514
|
};
|
|
515
|
-
react_production.version = "19.2.
|
|
515
|
+
react_production.version = "19.2.1";
|
|
516
516
|
return react_production;
|
|
517
517
|
}
|
|
518
518
|
var hasRequiredReact;
|
|
@@ -944,7 +944,7 @@ function requireReactDom_production() {
|
|
|
944
944
|
reactDom_production.useFormStatus = function() {
|
|
945
945
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
|
946
946
|
};
|
|
947
|
-
reactDom_production.version = "19.2.
|
|
947
|
+
reactDom_production.version = "19.2.1";
|
|
948
948
|
return reactDom_production;
|
|
949
949
|
}
|
|
950
950
|
var hasRequiredReactDom;
|
|
@@ -12388,12 +12388,12 @@ function requireReactDomClient_production() {
|
|
|
12388
12388
|
}
|
|
12389
12389
|
};
|
|
12390
12390
|
var isomorphicReactPackageVersion$jscomp$inline_1840 = React2.version;
|
|
12391
|
-
if ("19.2.
|
|
12391
|
+
if ("19.2.1" !== isomorphicReactPackageVersion$jscomp$inline_1840)
|
|
12392
12392
|
throw Error(
|
|
12393
12393
|
formatProdErrorMessage(
|
|
12394
12394
|
527,
|
|
12395
12395
|
isomorphicReactPackageVersion$jscomp$inline_1840,
|
|
12396
|
-
"19.2.
|
|
12396
|
+
"19.2.1"
|
|
12397
12397
|
)
|
|
12398
12398
|
);
|
|
12399
12399
|
ReactDOMSharedInternals.findDOMNode = function(componentOrElement) {
|
|
@@ -12411,10 +12411,10 @@ function requireReactDomClient_production() {
|
|
|
12411
12411
|
};
|
|
12412
12412
|
var internals$jscomp$inline_2347 = {
|
|
12413
12413
|
bundleType: 0,
|
|
12414
|
-
version: "19.2.
|
|
12414
|
+
version: "19.2.1",
|
|
12415
12415
|
rendererPackageName: "react-dom",
|
|
12416
12416
|
currentDispatcherRef: ReactSharedInternals,
|
|
12417
|
-
reconcilerVersion: "19.2.
|
|
12417
|
+
reconcilerVersion: "19.2.1"
|
|
12418
12418
|
};
|
|
12419
12419
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
12420
12420
|
var hook$jscomp$inline_2348 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
@@ -12481,7 +12481,7 @@ function requireReactDomClient_production() {
|
|
|
12481
12481
|
listenToAllSupportedEvents(container);
|
|
12482
12482
|
return new ReactDOMHydrationRoot(initialChildren);
|
|
12483
12483
|
};
|
|
12484
|
-
reactDomClient_production.version = "19.2.
|
|
12484
|
+
reactDomClient_production.version = "19.2.1";
|
|
12485
12485
|
return reactDomClient_production;
|
|
12486
12486
|
}
|
|
12487
12487
|
var hasRequiredClient;
|
|
@@ -14643,6 +14643,27 @@ const createCachedIntl = () => new Proxy(Intl, { get: (target, prop, receiver) =
|
|
|
14643
14643
|
return typeof value === "function" && /^[A-Z]/.test(String(prop)) ? createCachedConstructor(value) : value;
|
|
14644
14644
|
} });
|
|
14645
14645
|
const CachedIntl = createCachedIntl();
|
|
14646
|
+
const getCookie = (name, cookieString) => {
|
|
14647
|
+
try {
|
|
14648
|
+
const str = cookieString ?? (typeof document !== "undefined" ? document.cookie : "");
|
|
14649
|
+
if (!str) return void 0;
|
|
14650
|
+
const pairs = str.split(";");
|
|
14651
|
+
for (let i2 = 0; i2 < pairs.length; i2++) {
|
|
14652
|
+
const part = pairs[i2].trim();
|
|
14653
|
+
if (!part) continue;
|
|
14654
|
+
const equalIndex = part.indexOf("=");
|
|
14655
|
+
if ((equalIndex >= 0 ? part.substring(0, equalIndex) : part) === name) {
|
|
14656
|
+
const rawValue = equalIndex >= 0 ? part.substring(equalIndex + 1) : "";
|
|
14657
|
+
try {
|
|
14658
|
+
return decodeURIComponent(rawValue);
|
|
14659
|
+
} catch {
|
|
14660
|
+
return rawValue;
|
|
14661
|
+
}
|
|
14662
|
+
}
|
|
14663
|
+
}
|
|
14664
|
+
} catch {
|
|
14665
|
+
}
|
|
14666
|
+
};
|
|
14646
14667
|
const buildCookieString = (name, value, attributes) => {
|
|
14647
14668
|
const parts = [`${name}=${encodeURIComponent(value)}`];
|
|
14648
14669
|
if (attributes.path) parts.push(`Path=${attributes.path}`);
|
|
@@ -14665,28 +14686,10 @@ const getLocaleFromStorage = (options) => {
|
|
|
14665
14686
|
const readCookie = (name) => {
|
|
14666
14687
|
try {
|
|
14667
14688
|
const fromOption = options?.getCookie?.(name);
|
|
14668
|
-
if (fromOption !== null) return fromOption;
|
|
14669
|
-
} catch {
|
|
14670
|
-
}
|
|
14671
|
-
try {
|
|
14672
|
-
const cookieString = document.cookie ?? "";
|
|
14673
|
-
if (!cookieString) return;
|
|
14674
|
-
const pairs = cookieString.split(";");
|
|
14675
|
-
for (let i2 = 0; i2 < pairs.length; i2++) {
|
|
14676
|
-
const part = pairs[i2].trim();
|
|
14677
|
-
if (!part) continue;
|
|
14678
|
-
const equalIndex = part.indexOf("=");
|
|
14679
|
-
if ((equalIndex >= 0 ? part.substring(0, equalIndex) : part) === name) {
|
|
14680
|
-
const rawValue = equalIndex >= 0 ? part.substring(equalIndex + 1) : "";
|
|
14681
|
-
try {
|
|
14682
|
-
return decodeURIComponent(rawValue);
|
|
14683
|
-
} catch {
|
|
14684
|
-
return rawValue;
|
|
14685
|
-
}
|
|
14686
|
-
}
|
|
14687
|
-
}
|
|
14689
|
+
if (fromOption !== null && fromOption !== void 0) return fromOption;
|
|
14688
14690
|
} catch {
|
|
14689
14691
|
}
|
|
14692
|
+
return getCookie(name);
|
|
14690
14693
|
};
|
|
14691
14694
|
for (let i2 = 0; i2 < storageAttributes.cookies.length; i2++) {
|
|
14692
14695
|
const { name } = storageAttributes.cookies[i2];
|
|
@@ -21466,10 +21469,10 @@ const __iconNode$o = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
|
21466
21469
|
const Check = createLucideIcon("check", __iconNode$o);
|
|
21467
21470
|
const __iconNode$n = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
21468
21471
|
const ChevronDown = createLucideIcon("chevron-down", __iconNode$n);
|
|
21469
|
-
const __iconNode$m = [["path", { d: "
|
|
21470
|
-
const
|
|
21471
|
-
const __iconNode$l = [["path", { d: "
|
|
21472
|
-
const
|
|
21472
|
+
const __iconNode$m = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
21473
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$m);
|
|
21474
|
+
const __iconNode$l = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
21475
|
+
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$l);
|
|
21473
21476
|
const __iconNode$k = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
21474
21477
|
const ChevronUp = createLucideIcon("chevron-up", __iconNode$k);
|
|
21475
21478
|
const __iconNode$j = [
|
|
@@ -23181,8 +23184,8 @@ function createSidecarMedium(options) {
|
|
|
23181
23184
|
medium.options = __assign({ async: true, ssr: false }, options);
|
|
23182
23185
|
return medium;
|
|
23183
23186
|
}
|
|
23184
|
-
var SideCar$1 = function(
|
|
23185
|
-
var sideCar =
|
|
23187
|
+
var SideCar$1 = function(_a2) {
|
|
23188
|
+
var sideCar = _a2.sideCar, rest = __rest(_a2, ["sideCar"]);
|
|
23186
23189
|
if (!sideCar) {
|
|
23187
23190
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
23188
23191
|
}
|
|
@@ -23203,11 +23206,11 @@ var nothing = function() {
|
|
|
23203
23206
|
};
|
|
23204
23207
|
var RemoveScroll = reactExports.forwardRef(function(props, parentRef) {
|
|
23205
23208
|
var ref = reactExports.useRef(null);
|
|
23206
|
-
var
|
|
23209
|
+
var _a2 = reactExports.useState({
|
|
23207
23210
|
onScrollCapture: nothing,
|
|
23208
23211
|
onWheelCapture: nothing,
|
|
23209
23212
|
onTouchMoveCapture: nothing
|
|
23210
|
-
}), callbacks =
|
|
23213
|
+
}), callbacks = _a2[0], setCallbacks = _a2[1];
|
|
23211
23214
|
var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noRelative = props.noRelative, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container2 = _b === void 0 ? "div" : _b, gapMode = props.gapMode, rest = __rest(props, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]);
|
|
23212
23215
|
var SideCar2 = sideCar;
|
|
23213
23216
|
var containerRef = useMergeRefs([ref, parentRef]);
|
|
@@ -23291,8 +23294,8 @@ var styleHookSingleton = function() {
|
|
|
23291
23294
|
};
|
|
23292
23295
|
var styleSingleton = function() {
|
|
23293
23296
|
var useStyle2 = styleHookSingleton();
|
|
23294
|
-
var Sheet = function(
|
|
23295
|
-
var styles =
|
|
23297
|
+
var Sheet = function(_a2) {
|
|
23298
|
+
var styles = _a2.styles, dynamic = _a2.dynamic;
|
|
23296
23299
|
useStyle2(styles, dynamic);
|
|
23297
23300
|
return null;
|
|
23298
23301
|
};
|
|
@@ -23333,8 +23336,8 @@ var getGapWidth = function(gapMode) {
|
|
|
23333
23336
|
};
|
|
23334
23337
|
var Style = styleSingleton();
|
|
23335
23338
|
var lockAttribute = "data-scroll-locked";
|
|
23336
|
-
var getStyles = function(
|
|
23337
|
-
var left =
|
|
23339
|
+
var getStyles = function(_a2, allowRelative, gapMode, important) {
|
|
23340
|
+
var left = _a2.left, top = _a2.top, right = _a2.right, gap = _a2.gap;
|
|
23338
23341
|
if (gapMode === void 0) {
|
|
23339
23342
|
gapMode = "margin";
|
|
23340
23343
|
}
|
|
@@ -23361,8 +23364,8 @@ var useLockAttribute = function() {
|
|
|
23361
23364
|
};
|
|
23362
23365
|
}, []);
|
|
23363
23366
|
};
|
|
23364
|
-
var RemoveScrollBar = function(
|
|
23365
|
-
var noRelative =
|
|
23367
|
+
var RemoveScrollBar = function(_a2) {
|
|
23368
|
+
var noRelative = _a2.noRelative, noImportant = _a2.noImportant, _b = _a2.gapMode, gapMode = _b === void 0 ? "margin" : _b;
|
|
23366
23369
|
useLockAttribute();
|
|
23367
23370
|
var gap = reactExports.useMemo(function() {
|
|
23368
23371
|
return getGapWidth(gapMode);
|
|
@@ -23414,7 +23417,7 @@ var locationCouldBeScrolled = function(axis, node) {
|
|
|
23414
23417
|
}
|
|
23415
23418
|
var isScrollable = elementCouldBeScrolled(axis, current);
|
|
23416
23419
|
if (isScrollable) {
|
|
23417
|
-
var
|
|
23420
|
+
var _a2 = getScrollVariables(axis, current), scrollHeight = _a2[1], clientHeight = _a2[2];
|
|
23418
23421
|
if (scrollHeight > clientHeight) {
|
|
23419
23422
|
return true;
|
|
23420
23423
|
}
|
|
@@ -23423,16 +23426,16 @@ var locationCouldBeScrolled = function(axis, node) {
|
|
|
23423
23426
|
} while (current && current !== ownerDocument.body);
|
|
23424
23427
|
return false;
|
|
23425
23428
|
};
|
|
23426
|
-
var getVScrollVariables = function(
|
|
23427
|
-
var scrollTop =
|
|
23429
|
+
var getVScrollVariables = function(_a2) {
|
|
23430
|
+
var scrollTop = _a2.scrollTop, scrollHeight = _a2.scrollHeight, clientHeight = _a2.clientHeight;
|
|
23428
23431
|
return [
|
|
23429
23432
|
scrollTop,
|
|
23430
23433
|
scrollHeight,
|
|
23431
23434
|
clientHeight
|
|
23432
23435
|
];
|
|
23433
23436
|
};
|
|
23434
|
-
var getHScrollVariables = function(
|
|
23435
|
-
var scrollLeft =
|
|
23437
|
+
var getHScrollVariables = function(_a2) {
|
|
23438
|
+
var scrollLeft = _a2.scrollLeft, scrollWidth = _a2.scrollWidth, clientWidth = _a2.clientWidth;
|
|
23436
23439
|
return [
|
|
23437
23440
|
scrollLeft,
|
|
23438
23441
|
scrollWidth,
|
|
@@ -23461,7 +23464,7 @@ var handleScroll = function(axis, endTarget, event, sourceDelta, noOverscroll) {
|
|
|
23461
23464
|
if (!target) {
|
|
23462
23465
|
break;
|
|
23463
23466
|
}
|
|
23464
|
-
var
|
|
23467
|
+
var _a2 = getScrollVariables(axis, target), position = _a2[0], scroll_1 = _a2[1], capacity = _a2[2];
|
|
23465
23468
|
var elementScroll = scroll_1 - capacity - directionFactor * position;
|
|
23466
23469
|
if (position || elementScroll) {
|
|
23467
23470
|
if (elementCouldBeScrolled(axis, target)) {
|
|
@@ -30853,6 +30856,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
30853
30856
|
this.treeScale = { x: 1, y: 1 };
|
|
30854
30857
|
this.eventHandlers = /* @__PURE__ */ new Map();
|
|
30855
30858
|
this.hasTreeAnimated = false;
|
|
30859
|
+
this.layoutVersion = 0;
|
|
30856
30860
|
this.updateScheduled = false;
|
|
30857
30861
|
this.scheduleUpdate = () => this.update();
|
|
30858
30862
|
this.projectionUpdateScheduled = false;
|
|
@@ -30870,6 +30874,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
30870
30874
|
this.nodes.forEach(cleanDirtyNodes);
|
|
30871
30875
|
};
|
|
30872
30876
|
this.resolvedRelativeTargetAt = 0;
|
|
30877
|
+
this.linkedParentVersion = 0;
|
|
30873
30878
|
this.hasProjected = false;
|
|
30874
30879
|
this.isVisible = true;
|
|
30875
30880
|
this.animationProgress = 0;
|
|
@@ -31125,6 +31130,7 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
31125
31130
|
}
|
|
31126
31131
|
const prevLayout = this.layout;
|
|
31127
31132
|
this.layout = this.measure(false);
|
|
31133
|
+
this.layoutVersion++;
|
|
31128
31134
|
this.layoutCorrected = createBox();
|
|
31129
31135
|
this.isLayoutDirty = false;
|
|
31130
31136
|
this.projectionDelta = void 0;
|
|
@@ -31292,17 +31298,15 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
31292
31298
|
if (!this.layout || !(layout2 || layoutId))
|
|
31293
31299
|
return;
|
|
31294
31300
|
this.resolvedRelativeTargetAt = frameData.timestamp;
|
|
31301
|
+
const relativeParent = this.getClosestProjectingParent();
|
|
31302
|
+
if (relativeParent && this.linkedParentVersion !== relativeParent.layoutVersion && !relativeParent.options.layoutRoot) {
|
|
31303
|
+
this.removeRelativeTarget();
|
|
31304
|
+
}
|
|
31295
31305
|
if (!this.targetDelta && !this.relativeTarget) {
|
|
31296
|
-
|
|
31297
|
-
|
|
31298
|
-
this.relativeParent = relativeParent;
|
|
31299
|
-
this.forceRelativeParentToResolveTarget();
|
|
31300
|
-
this.relativeTarget = createBox();
|
|
31301
|
-
this.relativeTargetOrigin = createBox();
|
|
31302
|
-
calcRelativePosition(this.relativeTargetOrigin, this.layout.layoutBox, relativeParent.layout.layoutBox);
|
|
31303
|
-
copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
|
|
31306
|
+
if (relativeParent && relativeParent.layout) {
|
|
31307
|
+
this.createRelativeTarget(relativeParent, this.layout.layoutBox, relativeParent.layout.layoutBox);
|
|
31304
31308
|
} else {
|
|
31305
|
-
this.
|
|
31309
|
+
this.removeRelativeTarget();
|
|
31306
31310
|
}
|
|
31307
31311
|
}
|
|
31308
31312
|
if (!this.relativeTarget && !this.targetDelta)
|
|
@@ -31326,14 +31330,8 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
31326
31330
|
}
|
|
31327
31331
|
if (this.attemptToResolveRelativeTarget) {
|
|
31328
31332
|
this.attemptToResolveRelativeTarget = false;
|
|
31329
|
-
const relativeParent = this.getClosestProjectingParent();
|
|
31330
31333
|
if (relativeParent && Boolean(relativeParent.resumingFrom) === Boolean(this.resumingFrom) && !relativeParent.options.layoutScroll && relativeParent.target && this.animationProgress !== 1) {
|
|
31331
|
-
this.relativeParent
|
|
31332
|
-
this.forceRelativeParentToResolveTarget();
|
|
31333
|
-
this.relativeTarget = createBox();
|
|
31334
|
-
this.relativeTargetOrigin = createBox();
|
|
31335
|
-
calcRelativePosition(this.relativeTargetOrigin, this.target, relativeParent.target);
|
|
31336
|
-
copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
|
|
31334
|
+
this.createRelativeTarget(relativeParent, this.target, relativeParent.target);
|
|
31337
31335
|
} else {
|
|
31338
31336
|
this.relativeParent = this.relativeTarget = void 0;
|
|
31339
31337
|
}
|
|
@@ -31352,6 +31350,18 @@ function createProjectionNode({ attachResizeListener, defaultParent, measureScro
|
|
|
31352
31350
|
isProjecting() {
|
|
31353
31351
|
return Boolean((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
|
|
31354
31352
|
}
|
|
31353
|
+
createRelativeTarget(relativeParent, layout2, parentLayout) {
|
|
31354
|
+
this.relativeParent = relativeParent;
|
|
31355
|
+
this.linkedParentVersion = relativeParent.layoutVersion;
|
|
31356
|
+
this.forceRelativeParentToResolveTarget();
|
|
31357
|
+
this.relativeTarget = createBox();
|
|
31358
|
+
this.relativeTargetOrigin = createBox();
|
|
31359
|
+
calcRelativePosition(this.relativeTargetOrigin, layout2, parentLayout);
|
|
31360
|
+
copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
|
|
31361
|
+
}
|
|
31362
|
+
removeRelativeTarget() {
|
|
31363
|
+
this.relativeParent = this.relativeTarget = void 0;
|
|
31364
|
+
}
|
|
31355
31365
|
calcProjection() {
|
|
31356
31366
|
const lead = this.getLead();
|
|
31357
31367
|
const isShared = Boolean(this.resumingFrom) || this !== lead;
|
|
@@ -38010,7 +38020,7 @@ var BetterFetchError = class extends Error {
|
|
|
38010
38020
|
}
|
|
38011
38021
|
};
|
|
38012
38022
|
var initializePlugins = async (url, options) => {
|
|
38013
|
-
var
|
|
38023
|
+
var _a2, _b, _c, _d, _e2, _f;
|
|
38014
38024
|
let opts = options || {};
|
|
38015
38025
|
const hooks = {
|
|
38016
38026
|
onRequest: [options == null ? void 0 : options.onRequest],
|
|
@@ -38028,7 +38038,7 @@ var initializePlugins = async (url, options) => {
|
|
|
38028
38038
|
}
|
|
38029
38039
|
for (const plugin of (options == null ? void 0 : options.plugins) || []) {
|
|
38030
38040
|
if (plugin.init) {
|
|
38031
|
-
const pluginRes = await ((
|
|
38041
|
+
const pluginRes = await ((_a2 = plugin.init) == null ? void 0 : _a2.call(plugin, url.toString(), options));
|
|
38032
38042
|
opts = pluginRes.options || opts;
|
|
38033
38043
|
url = pluginRes.url;
|
|
38034
38044
|
}
|
|
@@ -38230,12 +38240,12 @@ function getBody(options) {
|
|
|
38230
38240
|
return options.body;
|
|
38231
38241
|
}
|
|
38232
38242
|
function getMethod$1(url, options) {
|
|
38233
|
-
var
|
|
38243
|
+
var _a2;
|
|
38234
38244
|
if (options == null ? void 0 : options.method) {
|
|
38235
38245
|
return options.method.toUpperCase();
|
|
38236
38246
|
}
|
|
38237
38247
|
if (url.startsWith("@")) {
|
|
38238
|
-
const pMethod = (
|
|
38248
|
+
const pMethod = (_a2 = url.split("@")[1]) == null ? void 0 : _a2.split("/")[0];
|
|
38239
38249
|
if (!methods.includes(pMethod)) {
|
|
38240
38250
|
return (options == null ? void 0 : options.body) ? "POST" : "GET";
|
|
38241
38251
|
}
|
|
@@ -38277,11 +38287,11 @@ var applySchemaPlugin = (config2) => ({
|
|
|
38277
38287
|
name: "Apply Schema",
|
|
38278
38288
|
version: "1.0.0",
|
|
38279
38289
|
async init(url, options) {
|
|
38280
|
-
var
|
|
38281
|
-
const schema = ((_b = (
|
|
38290
|
+
var _a2, _b, _c, _d;
|
|
38291
|
+
const schema = ((_b = (_a2 = config2.plugins) == null ? void 0 : _a2.find(
|
|
38282
38292
|
(plugin) => {
|
|
38283
|
-
var
|
|
38284
|
-
return ((
|
|
38293
|
+
var _a22;
|
|
38294
|
+
return ((_a22 = plugin.schema) == null ? void 0 : _a22.config) ? url.startsWith(plugin.schema.config.baseURL || "") || url.startsWith(plugin.schema.config.prefix || "") : false;
|
|
38285
38295
|
}
|
|
38286
38296
|
)) == null ? void 0 : _b.schema) || config2.schema;
|
|
38287
38297
|
if (schema) {
|
|
@@ -38392,7 +38402,7 @@ function getURL2(url, option) {
|
|
|
38392
38402
|
return _url2;
|
|
38393
38403
|
}
|
|
38394
38404
|
var betterFetch = async (url, options) => {
|
|
38395
|
-
var
|
|
38405
|
+
var _a2, _b, _c, _d, _e2, _f, _g, _h;
|
|
38396
38406
|
const {
|
|
38397
38407
|
hooks,
|
|
38398
38408
|
url: __url,
|
|
@@ -38400,7 +38410,7 @@ var betterFetch = async (url, options) => {
|
|
|
38400
38410
|
} = await initializePlugins(url, options);
|
|
38401
38411
|
const fetch2 = getFetch(opts);
|
|
38402
38412
|
const controller = new AbortController();
|
|
38403
|
-
const signal = (
|
|
38413
|
+
const signal = (_a2 = opts.signal) != null ? _a2 : controller.signal;
|
|
38404
38414
|
const _url2 = getURL2(__url, opts);
|
|
38405
38415
|
const body = getBody(opts);
|
|
38406
38416
|
const headers = await getHeaders(opts);
|
|
@@ -39451,10 +39461,10 @@ function toPublicKeyCredentialDescriptor(descriptor) {
|
|
|
39451
39461
|
transports: descriptor.transports
|
|
39452
39462
|
};
|
|
39453
39463
|
}
|
|
39454
|
-
function isValidDomain(
|
|
39464
|
+
function isValidDomain(hostname) {
|
|
39455
39465
|
return (
|
|
39456
39466
|
// Consider localhost valid as well since it's okay wrt Secure Contexts
|
|
39457
|
-
|
|
39467
|
+
hostname === "localhost" || /^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(hostname)
|
|
39458
39468
|
);
|
|
39459
39469
|
}
|
|
39460
39470
|
class WebAuthnError extends Error {
|
|
@@ -44564,30 +44574,39 @@ function n(e) {
|
|
|
44564
44574
|
}
|
|
44565
44575
|
function $constructor(name, initializer2, params) {
|
|
44566
44576
|
function init2(inst, def) {
|
|
44567
|
-
|
|
44568
|
-
|
|
44569
|
-
|
|
44570
|
-
|
|
44571
|
-
|
|
44572
|
-
|
|
44577
|
+
if (!inst._zod) {
|
|
44578
|
+
Object.defineProperty(inst, "_zod", {
|
|
44579
|
+
value: {
|
|
44580
|
+
def,
|
|
44581
|
+
constr: _2,
|
|
44582
|
+
traits: /* @__PURE__ */ new Set()
|
|
44583
|
+
},
|
|
44584
|
+
enumerable: false
|
|
44585
|
+
});
|
|
44586
|
+
}
|
|
44587
|
+
if (inst._zod.traits.has(name)) {
|
|
44588
|
+
return;
|
|
44589
|
+
}
|
|
44573
44590
|
inst._zod.traits.add(name);
|
|
44574
44591
|
initializer2(inst, def);
|
|
44575
|
-
|
|
44576
|
-
|
|
44577
|
-
|
|
44592
|
+
const proto = _2.prototype;
|
|
44593
|
+
const keys = Object.keys(proto);
|
|
44594
|
+
for (let i2 = 0; i2 < keys.length; i2++) {
|
|
44595
|
+
const k2 = keys[i2];
|
|
44596
|
+
if (!(k2 in inst)) {
|
|
44597
|
+
inst[k2] = proto[k2].bind(inst);
|
|
44598
|
+
}
|
|
44578
44599
|
}
|
|
44579
|
-
inst._zod.constr = _2;
|
|
44580
|
-
inst._zod.def = def;
|
|
44581
44600
|
}
|
|
44582
44601
|
const Parent = params?.Parent ?? Object;
|
|
44583
44602
|
class Definition extends Parent {
|
|
44584
44603
|
}
|
|
44585
44604
|
Object.defineProperty(Definition, "name", { value: name });
|
|
44586
44605
|
function _2(def) {
|
|
44587
|
-
var
|
|
44606
|
+
var _a2;
|
|
44588
44607
|
const inst = params?.Parent ? new Definition() : this;
|
|
44589
44608
|
init2(inst, def);
|
|
44590
|
-
(
|
|
44609
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
44591
44610
|
for (const fn of inst._zod.deferred) {
|
|
44592
44611
|
fn();
|
|
44593
44612
|
}
|
|
@@ -44690,6 +44709,9 @@ function mergeDefs(...defs) {
|
|
|
44690
44709
|
function esc(str) {
|
|
44691
44710
|
return JSON.stringify(str);
|
|
44692
44711
|
}
|
|
44712
|
+
function slugify$1(input) {
|
|
44713
|
+
return input.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
44714
|
+
}
|
|
44693
44715
|
const captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
|
|
44694
44716
|
};
|
|
44695
44717
|
function isObject$3(data) {
|
|
@@ -44713,6 +44735,8 @@ function isPlainObject(o2) {
|
|
|
44713
44735
|
const ctor = o2.constructor;
|
|
44714
44736
|
if (ctor === void 0)
|
|
44715
44737
|
return true;
|
|
44738
|
+
if (typeof ctor !== "function")
|
|
44739
|
+
return true;
|
|
44716
44740
|
const prot = ctor.prototype;
|
|
44717
44741
|
if (isObject$3(prot) === false)
|
|
44718
44742
|
return false;
|
|
@@ -44924,8 +44948,8 @@ function aborted(x, startIndex = 0) {
|
|
|
44924
44948
|
}
|
|
44925
44949
|
function prefixIssues(path, issues) {
|
|
44926
44950
|
return issues.map((iss) => {
|
|
44927
|
-
var
|
|
44928
|
-
(
|
|
44951
|
+
var _a2;
|
|
44952
|
+
(_a2 = iss).path ?? (_a2.path = []);
|
|
44929
44953
|
iss.path.unshift(path);
|
|
44930
44954
|
return iss;
|
|
44931
44955
|
});
|
|
@@ -45131,7 +45155,6 @@ const cidrv4 = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-
|
|
|
45131
45155
|
const cidrv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
|
|
45132
45156
|
const base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/;
|
|
45133
45157
|
const base64url = /^[A-Za-z0-9_-]*$/;
|
|
45134
|
-
const hostname = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
|
|
45135
45158
|
const e164 = /^\+(?:[0-9]){6,14}[0-9]$/;
|
|
45136
45159
|
const dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
|
|
45137
45160
|
const date$1 = /* @__PURE__ */ new RegExp(`^${dateSource}$`);
|
|
@@ -45160,15 +45183,15 @@ const string$1 = (params) => {
|
|
|
45160
45183
|
const lowercase = /^[^A-Z]*$/;
|
|
45161
45184
|
const uppercase = /^[^a-z]*$/;
|
|
45162
45185
|
const $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
45163
|
-
var
|
|
45186
|
+
var _a2;
|
|
45164
45187
|
inst._zod ?? (inst._zod = {});
|
|
45165
45188
|
inst._zod.def = def;
|
|
45166
|
-
(
|
|
45189
|
+
(_a2 = inst._zod).onattach ?? (_a2.onattach = []);
|
|
45167
45190
|
});
|
|
45168
45191
|
const $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
|
|
45169
|
-
var
|
|
45192
|
+
var _a2;
|
|
45170
45193
|
$ZodCheck.init(inst, def);
|
|
45171
|
-
(
|
|
45194
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
45172
45195
|
const val = payload.value;
|
|
45173
45196
|
return !nullish(val) && val.length !== void 0;
|
|
45174
45197
|
});
|
|
@@ -45195,9 +45218,9 @@ const $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (i
|
|
|
45195
45218
|
};
|
|
45196
45219
|
});
|
|
45197
45220
|
const $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
|
|
45198
|
-
var
|
|
45221
|
+
var _a2;
|
|
45199
45222
|
$ZodCheck.init(inst, def);
|
|
45200
|
-
(
|
|
45223
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
45201
45224
|
const val = payload.value;
|
|
45202
45225
|
return !nullish(val) && val.length !== void 0;
|
|
45203
45226
|
});
|
|
@@ -45224,9 +45247,9 @@ const $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (i
|
|
|
45224
45247
|
};
|
|
45225
45248
|
});
|
|
45226
45249
|
const $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
|
|
45227
|
-
var
|
|
45250
|
+
var _a2;
|
|
45228
45251
|
$ZodCheck.init(inst, def);
|
|
45229
|
-
(
|
|
45252
|
+
(_a2 = inst._zod.def).when ?? (_a2.when = (payload) => {
|
|
45230
45253
|
const val = payload.value;
|
|
45231
45254
|
return !nullish(val) && val.length !== void 0;
|
|
45232
45255
|
});
|
|
@@ -45255,7 +45278,7 @@ const $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEqual
|
|
|
45255
45278
|
};
|
|
45256
45279
|
});
|
|
45257
45280
|
const $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
45258
|
-
var
|
|
45281
|
+
var _a2, _b;
|
|
45259
45282
|
$ZodCheck.init(inst, def);
|
|
45260
45283
|
inst._zod.onattach.push((inst2) => {
|
|
45261
45284
|
const bag = inst2._zod.bag;
|
|
@@ -45266,7 +45289,7 @@ const $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringForma
|
|
|
45266
45289
|
}
|
|
45267
45290
|
});
|
|
45268
45291
|
if (def.pattern)
|
|
45269
|
-
(
|
|
45292
|
+
(_a2 = inst._zod).check ?? (_a2.check = (payload) => {
|
|
45270
45293
|
def.pattern.lastIndex = 0;
|
|
45271
45294
|
if (def.pattern.test(payload.value))
|
|
45272
45295
|
return;
|
|
@@ -45422,10 +45445,10 @@ class Doc {
|
|
|
45422
45445
|
const version = {
|
|
45423
45446
|
major: 4,
|
|
45424
45447
|
minor: 1,
|
|
45425
|
-
patch:
|
|
45448
|
+
patch: 13
|
|
45426
45449
|
};
|
|
45427
45450
|
const $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
45428
|
-
var
|
|
45451
|
+
var _a2;
|
|
45429
45452
|
inst ?? (inst = {});
|
|
45430
45453
|
inst._zod.def = def;
|
|
45431
45454
|
inst._zod.bag = inst._zod.bag || {};
|
|
@@ -45440,7 +45463,7 @@ const $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
45440
45463
|
}
|
|
45441
45464
|
}
|
|
45442
45465
|
if (checks.length === 0) {
|
|
45443
|
-
(
|
|
45466
|
+
(_a2 = inst._zod).deferred ?? (_a2.deferred = []);
|
|
45444
45467
|
inst._zod.deferred?.push(() => {
|
|
45445
45468
|
inst._zod.run = inst._zod.parse;
|
|
45446
45469
|
});
|
|
@@ -45598,7 +45621,7 @@ const $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
45598
45621
|
code: "invalid_format",
|
|
45599
45622
|
format: "url",
|
|
45600
45623
|
note: "Invalid hostname",
|
|
45601
|
-
pattern: hostname.source,
|
|
45624
|
+
pattern: def.hostname.source,
|
|
45602
45625
|
input: payload.value,
|
|
45603
45626
|
inst,
|
|
45604
45627
|
continue: !def.abort
|
|
@@ -45683,18 +45706,12 @@ const $ZodISODuration = /* @__PURE__ */ $constructor("$ZodISODuration", (inst, d
|
|
|
45683
45706
|
const $ZodIPv4 = /* @__PURE__ */ $constructor("$ZodIPv4", (inst, def) => {
|
|
45684
45707
|
def.pattern ?? (def.pattern = ipv4);
|
|
45685
45708
|
$ZodStringFormat.init(inst, def);
|
|
45686
|
-
inst._zod.
|
|
45687
|
-
const bag = inst2._zod.bag;
|
|
45688
|
-
bag.format = `ipv4`;
|
|
45689
|
-
});
|
|
45709
|
+
inst._zod.bag.format = `ipv4`;
|
|
45690
45710
|
});
|
|
45691
45711
|
const $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
45692
45712
|
def.pattern ?? (def.pattern = ipv6);
|
|
45693
45713
|
$ZodStringFormat.init(inst, def);
|
|
45694
|
-
inst._zod.
|
|
45695
|
-
const bag = inst2._zod.bag;
|
|
45696
|
-
bag.format = `ipv6`;
|
|
45697
|
-
});
|
|
45714
|
+
inst._zod.bag.format = `ipv6`;
|
|
45698
45715
|
inst._zod.check = (payload) => {
|
|
45699
45716
|
try {
|
|
45700
45717
|
new URL(`http://[${payload.value}]`);
|
|
@@ -45756,9 +45773,7 @@ function isValidBase64(data) {
|
|
|
45756
45773
|
const $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
|
|
45757
45774
|
def.pattern ?? (def.pattern = base64);
|
|
45758
45775
|
$ZodStringFormat.init(inst, def);
|
|
45759
|
-
inst._zod.
|
|
45760
|
-
inst2._zod.bag.contentEncoding = "base64";
|
|
45761
|
-
});
|
|
45776
|
+
inst._zod.bag.contentEncoding = "base64";
|
|
45762
45777
|
inst._zod.check = (payload) => {
|
|
45763
45778
|
if (isValidBase64(payload.value))
|
|
45764
45779
|
return;
|
|
@@ -45781,9 +45796,7 @@ function isValidBase64URL(data) {
|
|
|
45781
45796
|
const $ZodBase64URL = /* @__PURE__ */ $constructor("$ZodBase64URL", (inst, def) => {
|
|
45782
45797
|
def.pattern ?? (def.pattern = base64url);
|
|
45783
45798
|
$ZodStringFormat.init(inst, def);
|
|
45784
|
-
inst._zod.
|
|
45785
|
-
inst2._zod.bag.contentEncoding = "base64url";
|
|
45786
|
-
});
|
|
45799
|
+
inst._zod.bag.contentEncoding = "base64url";
|
|
45787
45800
|
inst._zod.check = (payload) => {
|
|
45788
45801
|
if (isValidBase64URL(payload.value))
|
|
45789
45802
|
return;
|
|
@@ -45922,7 +45935,7 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
45922
45935
|
const keySet = def.keySet;
|
|
45923
45936
|
const _catchall = def.catchall._zod;
|
|
45924
45937
|
const t2 = _catchall.def.type;
|
|
45925
|
-
for (const key2
|
|
45938
|
+
for (const key2 in input) {
|
|
45926
45939
|
if (keySet.has(key2))
|
|
45927
45940
|
continue;
|
|
45928
45941
|
if (t2 === "never") {
|
|
@@ -46453,8 +46466,8 @@ const $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) =>
|
|
|
46453
46466
|
$ZodType.init(inst, def);
|
|
46454
46467
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
46455
46468
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
46456
|
-
defineLazy(inst._zod, "optin", () => def.innerType
|
|
46457
|
-
defineLazy(inst._zod, "optout", () => def.innerType
|
|
46469
|
+
defineLazy(inst._zod, "optin", () => def.innerType?._zod?.optin);
|
|
46470
|
+
defineLazy(inst._zod, "optout", () => def.innerType?._zod?.optout);
|
|
46458
46471
|
inst._zod.parse = (payload, ctx) => {
|
|
46459
46472
|
if (ctx.direction === "backward") {
|
|
46460
46473
|
return def.innerType._zod.run(payload, ctx);
|
|
@@ -46503,6 +46516,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
46503
46516
|
payload.issues.push(issue(_iss));
|
|
46504
46517
|
}
|
|
46505
46518
|
}
|
|
46519
|
+
var _a;
|
|
46506
46520
|
class $ZodRegistry {
|
|
46507
46521
|
constructor() {
|
|
46508
46522
|
this._map = /* @__PURE__ */ new WeakMap();
|
|
@@ -46549,7 +46563,8 @@ class $ZodRegistry {
|
|
|
46549
46563
|
function registry() {
|
|
46550
46564
|
return new $ZodRegistry();
|
|
46551
46565
|
}
|
|
46552
|
-
|
|
46566
|
+
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
46567
|
+
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
46553
46568
|
function _string(Class, params) {
|
|
46554
46569
|
return new Class({
|
|
46555
46570
|
type: "string",
|
|
@@ -46890,6 +46905,9 @@ function _toLowerCase() {
|
|
|
46890
46905
|
function _toUpperCase() {
|
|
46891
46906
|
return _overwrite((input) => input.toUpperCase());
|
|
46892
46907
|
}
|
|
46908
|
+
function _slugify() {
|
|
46909
|
+
return _overwrite((input) => slugify$1(input));
|
|
46910
|
+
}
|
|
46893
46911
|
function _array(Class, element, params) {
|
|
46894
46912
|
return new Class({
|
|
46895
46913
|
type: "array",
|
|
@@ -48466,6 +48484,7 @@ const _ZodString = /* @__PURE__ */ $constructor("_ZodString", (inst, def) => {
|
|
|
48466
48484
|
inst.normalize = (...args) => inst.check(_normalize(...args));
|
|
48467
48485
|
inst.toLowerCase = () => inst.check(_toLowerCase());
|
|
48468
48486
|
inst.toUpperCase = () => inst.check(_toUpperCase());
|
|
48487
|
+
inst.slugify = () => inst.check(_slugify());
|
|
48469
48488
|
});
|
|
48470
48489
|
const ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
|
|
48471
48490
|
$ZodString.init(inst, def);
|
|
@@ -50545,7 +50564,7 @@ const CodeDefault = ({
|
|
|
50545
50564
|
})
|
|
50546
50565
|
})
|
|
50547
50566
|
});
|
|
50548
|
-
const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-
|
|
50567
|
+
const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-BDzrU8Wt.js"), true ? [] : void 0).then((mod) => ({
|
|
50549
50568
|
default: mod.CodeBlockShiki
|
|
50550
50569
|
})));
|
|
50551
50570
|
const CodeBlock = ({
|
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-ByHXUl6t.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-CpI4KDfc.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intlayer-editor",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.9",
|
|
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": [
|
|
@@ -85,32 +85,32 @@
|
|
|
85
85
|
"typecheck": "tsc --project ./server/tsconfig.types.json --noEmit"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@intlayer/api": "7.3.
|
|
89
|
-
"@intlayer/chokidar": "7.3.
|
|
90
|
-
"@intlayer/config": "7.3.
|
|
91
|
-
"@intlayer/core": "7.3.
|
|
92
|
-
"@intlayer/design-system": "7.3.
|
|
93
|
-
"@intlayer/editor-react": "7.3.
|
|
94
|
-
"@intlayer/types": "7.3.
|
|
95
|
-
"@intlayer/unmerged-dictionaries-entry": "7.3.
|
|
88
|
+
"@intlayer/api": "7.3.9",
|
|
89
|
+
"@intlayer/chokidar": "7.3.9",
|
|
90
|
+
"@intlayer/config": "7.3.9",
|
|
91
|
+
"@intlayer/core": "7.3.9",
|
|
92
|
+
"@intlayer/design-system": "7.3.9",
|
|
93
|
+
"@intlayer/editor-react": "7.3.9",
|
|
94
|
+
"@intlayer/types": "7.3.9",
|
|
95
|
+
"@intlayer/unmerged-dictionaries-entry": "7.3.9",
|
|
96
96
|
"@tanstack/react-query": "5.90.10",
|
|
97
97
|
"compression": "1.8.1",
|
|
98
98
|
"cookie-parser": "1.4.7",
|
|
99
99
|
"cors": "2.8.5",
|
|
100
100
|
"express": "5.1.0",
|
|
101
|
-
"express-intlayer": "7.3.
|
|
102
|
-
"framer-motion": "12.23.
|
|
101
|
+
"express-intlayer": "7.3.9",
|
|
102
|
+
"framer-motion": "12.23.25",
|
|
103
103
|
"fuse.js": "7.1.0",
|
|
104
104
|
"helmet": "8.1.0",
|
|
105
|
-
"intlayer": "7.3.
|
|
106
|
-
"lucide-react": "0.
|
|
105
|
+
"intlayer": "7.3.9",
|
|
106
|
+
"lucide-react": "0.555.0",
|
|
107
107
|
"mime": "4.1.0",
|
|
108
|
-
"react": "19.2.
|
|
109
|
-
"react-dom": "19.2.
|
|
110
|
-
"react-intlayer": "7.3.
|
|
108
|
+
"react": "19.2.1",
|
|
109
|
+
"react-dom": "19.2.1",
|
|
110
|
+
"react-intlayer": "7.3.9",
|
|
111
111
|
"react-router-dom": "7.9.5",
|
|
112
112
|
"rimraf": "6.1.2",
|
|
113
|
-
"vite-intlayer": "7.3.
|
|
113
|
+
"vite-intlayer": "7.3.9"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
116
|
"@tailwindcss/vite": "4.1.16",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"@types/cors": "2.8.19",
|
|
120
120
|
"@types/express": "5.0.5",
|
|
121
121
|
"@types/node": "24.10.1",
|
|
122
|
-
"@types/react": "19.2.
|
|
122
|
+
"@types/react": "19.2.7",
|
|
123
123
|
"@types/react-dom": "19.2.3",
|
|
124
124
|
"@utils/ts-config": "1.0.4",
|
|
125
125
|
"@vitejs/plugin-react": "^5.1.0",
|
|
@@ -134,14 +134,14 @@
|
|
|
134
134
|
},
|
|
135
135
|
"peerDependencies": {
|
|
136
136
|
"clsx": "2.1.1",
|
|
137
|
-
"framer-motion": "12.23.
|
|
138
|
-
"intlayer": "7.3.
|
|
137
|
+
"framer-motion": "12.23.25",
|
|
138
|
+
"intlayer": "7.3.9",
|
|
139
139
|
"react": ">=16.0.0",
|
|
140
140
|
"react-dom": ">=16.0.0",
|
|
141
|
-
"react-intlayer": "7.3.
|
|
141
|
+
"react-intlayer": "7.3.9",
|
|
142
142
|
"react-router-dom": ">=6.0.0",
|
|
143
143
|
"tailwind-merge": "3.4.0",
|
|
144
|
-
"vite-intlayer": "7.3.
|
|
144
|
+
"vite-intlayer": "7.3.9"
|
|
145
145
|
},
|
|
146
146
|
"engines": {
|
|
147
147
|
"node": ">=14.18"
|