@cratis/event-models 0.264.0 → 0.264.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.
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as Rs, d as Ds, f as qe, l as Pr, m as wo, p as _s, s as $s, t as Or, u as cn } from "./defaultStructuredEditorStrings-Ch1I0Lci.js";
|
|
2
2
|
import { t as xr } from "./QueryBindingEditor-MTd0R7iQ.js";
|
|
3
3
|
import { i as ui, n as Es, r as As, t as Ms } from "./toTemplateSources-BhsOzMx1.js";
|
|
4
|
-
import { _ as Fs, a as
|
|
4
|
+
import { _ as Fs, a as ly, c as pi, d as Rr, f as Ls, g as cy, h as Bs, i as js, l as dy, m as Us, n as uy, o as wn, p as Dr, r as zs, s as py, t as my, u as hy, v as fy, y as gy } from "./structuredValue-vqCZttsk.js";
|
|
5
5
|
import { a as ye, n as Ws, r as Ks } from "./iconDiagnostics-Ds4CnqD0.js";
|
|
6
|
-
import { t as
|
|
7
|
-
import { Component as Hs, createContext as qs, createElement as Je, useCallback as H, useContext as Gs, useEffect as ie, useId as Vs, useLayoutEffect as Te, useMemo as j, useRef as
|
|
6
|
+
import { t as yy } from "./StructuredValueEditor-DUSATTWd.js";
|
|
7
|
+
import { Component as Hs, createContext as qs, createElement as Je, useCallback as H, useContext as Gs, useEffect as ie, useId as Vs, useLayoutEffect as Te, useMemo as j, useRef as V, useState as F } from "react";
|
|
8
8
|
import { Fragment as re, jsx as a, jsxs as b } from "react/jsx-runtime";
|
|
9
|
-
import { BindingMode as
|
|
9
|
+
import { BindingMode as Cy, BindingNullBehavior as Ty, BindingSourceKind as Ny, BindingSourceKind as Bt, CollectionOperation as ke, ColorScheme as Js, ComponentCategory as Qs, CornerStyle as kn, DestinationKind as Iy, DestinationKind as _r, DiagnosticCode as Ys, EditTarget as Zs, EditingScopeKind as an, FlowContainerKind as Sn, FormGenerationMode as ve, FormWidthUnit as Ne, GridUnitType as ko, HorizontalAlignment as So, InteractionActionKind as ht, InteractionTriggerKind as $r, LogoKind as Cn, NavigationRegionKind as gt, NavigationRegionMode as $e, Orientation as ft, PackageKind as Qe, PropertyEditorKind as X, PropertyValueType as G, ProvenanceKind as mi, QueryOriginKind as Xs, QueryResultShape as el, SceneEditKind as Z, SceneNodeKind as tl, TemplateReferenceSource as Dt, TemplateScope as St, ValueSource as Er, VerticalAlignment as Co, Visibility as To, componentCategories as nl } from "@cratis/scene.model";
|
|
10
10
|
import { ApplicationStructureIndex as dn, EffectiveIconCatalog as ol, NavigationEditKind as hi, TemplateCatalogKind as Ar, ToolbarDiagnosticSeverity as il, addNavItem as rl, applicableTemplates as al, applyEdit as Mr, applyNavigationEdits as sl, baseComponentLibraries as ll, componentArgumentSourcePrefix as cl, componentBadge as fi, computeSizeClass as dl, corePackage as No, createDescriptorCatalog as ul, diagnoseNavigationRegions as pl, effectiveNavigation as Fr, effectivePackages as Lr, elementNodeId as ae, findComponentDescriptor as Io, findLayoutTypeDescriptor as gi, inspect as Po, isCanvas as vt, isDockPanel as ml, isExternalComponent as Ye, isGrid as Oo, isPackageSelectionValid as hl, isPanel as Yt, isStackPanel as xo, isThemeCompatible as fl, isWrapPanel as gl, matchComponentQuery as vl, navigationModes as bl, normalizeNavigationMode as yl, normalizeToolbarButton as wl, packagesOfKind as vi, rankFrequentlyUsedComponents as kl, resolveComponentName as Ft, resolveEffectiveConfiguration as Br, resolveIconLibraries as Sl, resolvePackageDependencies as Cl, resolveScreenTemplates as Tl, resolveTemplateChain as Ro, resolveToolbarButton as Nl, screenTemplateNodeId as Il, setApplicationLogo as Pl, slotNodeId as Ol, switchRegionMode as jr, toComponentCatalog as un, toolbarButtonFromItem as Do, validateToolbarButtons as xl, validateValue as Tn } from "@cratis/scene.engine";
|
|
11
11
|
import { ErrorBoundary as wt, IconButton as we, Tabs as Rl } from "@cratis/components/Common";
|
|
12
12
|
import { ColorScheme as Ur, ComponentName as Dl, LayoutConfigProvider as zr, LayoutMode as _o, LayoutName as _l, TemplatePreviewState as pt, applyTemplatePreviewState as $l, colorSchemes as El, composeApplicationScreen as Al, composeScreenElement as Ml, defaultApplicationChrome as Fl, defaultBlueprint as Wr, defaultBlueprintName as Kr, effectiveShellOf as Hr, externalComponent as $o, foundationSamples as Ll, layoutModes as qr, previewProfile as Bl, resolveElementComponentNames as Eo } from "@cratis/scene.blueprint.default";
|
|
@@ -133,7 +133,7 @@ var ju = (e) => e ? {
|
|
|
133
133
|
"se",
|
|
134
134
|
"sw"
|
|
135
135
|
], da = ({ sourceRect: e, initialSize: t, centerOffsetX: n = 0, children: o, renderInspector: i, canClose: r, onClosed: s }) => {
|
|
136
|
-
const [l, c] = F("entering"), [u, d] = F(() => ju(t)), p =
|
|
136
|
+
const [l, c] = F("entering"), [u, d] = F(() => ju(t)), p = V(u);
|
|
137
137
|
p.current = u;
|
|
138
138
|
const [m, h] = F(!1), [f, v] = F(() => ({
|
|
139
139
|
width: window.innerWidth,
|
|
@@ -146,7 +146,7 @@ var ju = (e) => e ? {
|
|
|
146
146
|
});
|
|
147
147
|
return window.addEventListener("resize", N), () => window.removeEventListener("resize", N);
|
|
148
148
|
}, []);
|
|
149
|
-
const g = H(() => h((N) => !N), []), k =
|
|
149
|
+
const g = H(() => h((N) => !N), []), k = V(null);
|
|
150
150
|
ie(() => {
|
|
151
151
|
const N = requestAnimationFrame(() => c("visible"));
|
|
152
152
|
return () => cancelAnimationFrame(N);
|
|
@@ -291,7 +291,7 @@ function It(e, t) {
|
|
|
291
291
|
} : n)
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function w0(e) {
|
|
295
295
|
const t = e.screens.map((n) => n.name);
|
|
296
296
|
return [...t.filter((n) => n === le), ...t.filter((n) => n !== le)];
|
|
297
297
|
}
|
|
@@ -1541,7 +1541,7 @@ var Qp = ({ form: e, slice: t, idPrefix: n, strings: o, disabled: i, onChange: r
|
|
|
1541
1541
|
})
|
|
1542
1542
|
]
|
|
1543
1543
|
});
|
|
1544
|
-
},
|
|
1544
|
+
}, k0 = [
|
|
1545
1545
|
St.Module,
|
|
1546
1546
|
St.Feature,
|
|
1547
1547
|
St.Subfeature,
|
|
@@ -5041,7 +5041,7 @@ var Eh = (e) => e.dataTransfer.types.includes(Xo), Ah = {
|
|
|
5041
5041
|
viaKeyword: (e, t, n) => `...${e} matches "${t}" via keyword "${n}"`,
|
|
5042
5042
|
addLabel: (e) => `Add ${e}`
|
|
5043
5043
|
}, Mh = "★", Fh = ({ entries: e, memory: t, strings: n = Ah, onAdd: o, usageVersion: i = 0 }) => {
|
|
5044
|
-
const [r, s] = F(""), [l, c] = F(() => t.readGroups()), u =
|
|
5044
|
+
const [r, s] = F(""), [l, c] = F(() => t.readGroups()), u = V(null), d = V(null), p = Vs(), m = j(() => ({ ...t.readUsage() }), [t, i]), h = j(() => Th({
|
|
5045
5045
|
entries: e,
|
|
5046
5046
|
usage: m,
|
|
5047
5047
|
query: r,
|
|
@@ -6618,7 +6618,7 @@ var Af = (e) => {
|
|
|
6618
6618
|
return t > 0 && n > 0;
|
|
6619
6619
|
}, go = (e) => Array.from(e.children).filter((t) => !t.hasAttribute("data-studio-placeholder-for")).some((t) => Af(t) || getComputedStyle(t).display === "contents" && go(t)), Mf = 150;
|
|
6620
6620
|
function Ff(e, t) {
|
|
6621
|
-
const [n, o] = F(!0), i =
|
|
6621
|
+
const [n, o] = F(!0), i = V(!0);
|
|
6622
6622
|
return Te(() => {
|
|
6623
6623
|
const r = e.current;
|
|
6624
6624
|
if (!r) return;
|
|
@@ -6639,12 +6639,12 @@ function Ff(e, t) {
|
|
|
6639
6639
|
}, [e, t]), n;
|
|
6640
6640
|
}
|
|
6641
6641
|
var Lf = ({ element: e }) => e.name || e.componentName, Bf = (e, t) => {
|
|
6642
|
-
const n =
|
|
6642
|
+
const n = V(e), o = V(0);
|
|
6643
6643
|
return n.current !== e && (n.current = e, t && (o.current += 1)), o.current;
|
|
6644
6644
|
};
|
|
6645
6645
|
function jf(e, t, n, o) {
|
|
6646
6646
|
const i = (r) => {
|
|
6647
|
-
const s =
|
|
6647
|
+
const s = V(null), l = j(() => ({
|
|
6648
6648
|
...r.element,
|
|
6649
6649
|
properties: ts(e, r.element.componentName, r.element.properties)
|
|
6650
6650
|
}), [r.element]), c = j(() => Ef(e, r.element.componentName, r.element.properties), [r.element]), u = es.has(xt(r.element.componentName)), d = e.startsWith(`${Kr}:`), p = d ? void 0 : Za[xt(r.element.componentName)], m = d && xt(r.element.componentName) === "topbar", [h, f] = F(), v = Ff(s, r.element), g = Lf(r), k = Bf(r.element, h !== void 0);
|
|
@@ -6936,11 +6936,11 @@ function lg(e, t, n, o = 6) {
|
|
|
6936
6936
|
}
|
|
6937
6937
|
var cg = (e, t) => e?.top === t?.top && e?.left === t?.left && e?.width === t?.width && e?.height === t?.height, dg = (e, t) => !!e && e.denied === t.denied && e.drop?.target.region.id === t.drop?.target.region.id && cg(e.drop?.target.rect, t.drop?.target.rect);
|
|
6938
6938
|
function ug(e, t, n) {
|
|
6939
|
-
const [o, i] = F(), r =
|
|
6939
|
+
const [o, i] = F(), r = V(void 0);
|
|
6940
6940
|
r.current = o;
|
|
6941
|
-
const [s, l] = F(), c =
|
|
6941
|
+
const [s, l] = F(), c = V(0), u = V(void 0), d = H(() => {
|
|
6942
6942
|
c.current = 0, u.current = void 0, l(void 0), i(void 0);
|
|
6943
|
-
}, []), p =
|
|
6943
|
+
}, []), p = V(!1);
|
|
6944
6944
|
ie(() => {
|
|
6945
6945
|
const S = (w) => {
|
|
6946
6946
|
w.key !== "Escape" || !u.current && !c.current && !r.current || (p.current = !0, d());
|
|
@@ -7037,7 +7037,7 @@ function pg(e, t, n) {
|
|
|
7037
7037
|
};
|
|
7038
7038
|
}
|
|
7039
7039
|
function mg(e, t, n) {
|
|
7040
|
-
const [o, i] = F([]), [r, s] = F(), l =
|
|
7040
|
+
const [o, i] = F([]), [r, s] = F(), l = V([]), c = H(() => {
|
|
7041
7041
|
const d = e.current;
|
|
7042
7042
|
if (!d) return [];
|
|
7043
7043
|
const p = d.getBoundingClientRect(), m = (f) => Be(d, f, p), h = {
|
|
@@ -7127,9 +7127,9 @@ function yg(e) {
|
|
|
7127
7127
|
return n?.dataset.sceneItem ?? n?.dataset.sceneNavItem;
|
|
7128
7128
|
}
|
|
7129
7129
|
function wg(e, t, n = !1) {
|
|
7130
|
-
const o =
|
|
7130
|
+
const o = V(t);
|
|
7131
7131
|
o.current = t;
|
|
7132
|
-
const i =
|
|
7132
|
+
const i = V(n);
|
|
7133
7133
|
i.current = n, ie(() => {
|
|
7134
7134
|
const r = e.current;
|
|
7135
7135
|
if (!r) return;
|
|
@@ -7152,7 +7152,7 @@ function wg(e, t, n = !1) {
|
|
|
7152
7152
|
}, [e]);
|
|
7153
7153
|
}
|
|
7154
7154
|
var pr = 'button:not(:disabled), [href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])', mr = 440, kg = ({ registry: e, property: t, context: n, componentId: o, anchor: i, opener: r, bounds: s, title: l, strings: c, onChange: u, onClose: d }) => {
|
|
7155
|
-
const p =
|
|
7155
|
+
const p = V(null);
|
|
7156
7156
|
ie(() => ((p.current?.querySelector(pr) ?? p.current)?.focus({ preventScroll: !0 }), () => {
|
|
7157
7157
|
r.isConnected && r.focus({ preventScroll: !0 });
|
|
7158
7158
|
}), [r]), ie(() => {
|
|
@@ -7230,7 +7230,7 @@ var hr = [
|
|
|
7230
7230
|
[A.duplicate]: /* @__PURE__ */ a(Jc, { "aria-hidden": "true" }),
|
|
7231
7231
|
[A.delete]: /* @__PURE__ */ a(ed, { "aria-hidden": "true" })
|
|
7232
7232
|
}, Ig = ({ subject: e, item: t, anchor: n, bounds: o, strings: i, renameToken: r, chipLabel: s, onRename: l, onAction: c, onChoice: u, readOnlyActions: d, onReadOnlyAction: p, onLeave: m }) => {
|
|
7233
|
-
const h =
|
|
7233
|
+
const h = V(null), f = V(null), [v, g] = F({
|
|
7234
7234
|
width: 380,
|
|
7235
7235
|
height: 100
|
|
7236
7236
|
}), [k, x] = F(t.label), [O, y] = F(0), S = e.mode.itemToolbar, w = S.some((_) => _.compact === !0), T = S.some((_) => hr.includes(_.id)), E = S.find((_) => _.id === A.rename), I = E && Wt(E, t);
|
|
@@ -7250,7 +7250,7 @@ var hr = [
|
|
|
7250
7250
|
bounds: o,
|
|
7251
7251
|
size: v,
|
|
7252
7252
|
prefer: C
|
|
7253
|
-
}), U =
|
|
7253
|
+
}), U = V(!1), D = () => {
|
|
7254
7254
|
const _ = k.trim();
|
|
7255
7255
|
_ !== "" && _ !== t.label ? l(_) : x(t.label);
|
|
7256
7256
|
}, M = (_) => {
|
|
@@ -7367,69 +7367,79 @@ var hr = [
|
|
|
7367
7367
|
})
|
|
7368
7368
|
]
|
|
7369
7369
|
});
|
|
7370
|
-
}
|
|
7370
|
+
};
|
|
7371
|
+
function Pg(e, t, n) {
|
|
7372
|
+
return !t || e?.root === t ? e : (e?.stop(), {
|
|
7373
|
+
root: t,
|
|
7374
|
+
stop: n(t)
|
|
7375
|
+
});
|
|
7376
|
+
}
|
|
7377
|
+
var Og = (e) => {
|
|
7371
7378
|
const t = CSS.escape(e);
|
|
7372
7379
|
return [
|
|
7373
7380
|
`[data-scene-nav-item="${t}"] > [data-scene-nav-link]`,
|
|
7374
7381
|
`[data-scene-nav-item="${t}"]`,
|
|
7375
7382
|
`[data-scene-item="${t}"]`
|
|
7376
7383
|
];
|
|
7377
|
-
}, Un = (e, t) => e === t || !!e && !!t && e.left === t.left && e.top === t.top && e.width === t.width && e.height === t.height,
|
|
7384
|
+
}, Un = (e, t) => e === t || !!e && !!t && e.left === t.left && e.top === t.top && e.width === t.width && e.height === t.height, xg = (e, t) => Un(e.surface, t.surface) && Un(e.component, t.component) && Object.keys(t.items).length === Object.keys(e.items).length && Object.entries(t.items).every(([n, o]) => Un(e.items[n], o));
|
|
7385
|
+
function Rg(e, t) {
|
|
7386
|
+
const n = [];
|
|
7387
|
+
let o = 0;
|
|
7388
|
+
const i = () => {
|
|
7389
|
+
o === 0 && (o = requestAnimationFrame(() => {
|
|
7390
|
+
o = 0, t();
|
|
7391
|
+
}));
|
|
7392
|
+
};
|
|
7393
|
+
if (typeof ResizeObserver < "u") {
|
|
7394
|
+
const r = new ResizeObserver(i);
|
|
7395
|
+
r.observe(e), n.push(r);
|
|
7396
|
+
const s = new ResizeObserver(i), l = () => {
|
|
7397
|
+
s.disconnect(), e.querySelectorAll('[data-scene-id="composition"]').forEach((c) => s.observe(c));
|
|
7398
|
+
};
|
|
7399
|
+
if (l(), n.push(s), typeof MutationObserver < "u") {
|
|
7400
|
+
const c = new MutationObserver(l);
|
|
7401
|
+
c.observe(e, {
|
|
7402
|
+
childList: !0,
|
|
7403
|
+
subtree: !0
|
|
7404
|
+
}), n.push(c);
|
|
7405
|
+
}
|
|
7406
|
+
}
|
|
7407
|
+
if (typeof MutationObserver < "u") {
|
|
7408
|
+
const r = new MutationObserver(i);
|
|
7409
|
+
r.observe(e, {
|
|
7410
|
+
childList: !0,
|
|
7411
|
+
subtree: !0,
|
|
7412
|
+
attributes: !0,
|
|
7413
|
+
attributeFilter: ["class", "style"]
|
|
7414
|
+
}), n.push(r);
|
|
7415
|
+
}
|
|
7416
|
+
return () => {
|
|
7417
|
+
n.forEach((r) => r.disconnect()), o !== 0 && cancelAnimationFrame(o);
|
|
7418
|
+
};
|
|
7419
|
+
}
|
|
7378
7420
|
function vo(e, t, n) {
|
|
7379
7421
|
const [o, i] = F(), r = H(() => {
|
|
7380
|
-
const
|
|
7381
|
-
i((
|
|
7422
|
+
const c = e.current, u = c ? t(c, c.getBoundingClientRect()) : void 0;
|
|
7423
|
+
i((d) => d === void 0 || u === void 0 ? u : n(d, u) ? d : u);
|
|
7382
7424
|
}, [
|
|
7383
7425
|
e,
|
|
7384
7426
|
t,
|
|
7385
7427
|
n
|
|
7386
|
-
]);
|
|
7428
|
+
]), s = V(r);
|
|
7429
|
+
s.current = r;
|
|
7430
|
+
const l = V(void 0);
|
|
7387
7431
|
return Te(() => {
|
|
7388
|
-
r();
|
|
7389
|
-
}), Te(() => {
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
const l = [];
|
|
7393
|
-
let c = 0;
|
|
7394
|
-
const u = () => {
|
|
7395
|
-
c === 0 && (c = requestAnimationFrame(() => {
|
|
7396
|
-
c = 0, r();
|
|
7397
|
-
}));
|
|
7398
|
-
};
|
|
7399
|
-
if (typeof ResizeObserver < "u") {
|
|
7400
|
-
const d = new ResizeObserver(u);
|
|
7401
|
-
d.observe(s), l.push(d);
|
|
7402
|
-
const p = new ResizeObserver(u), m = () => {
|
|
7403
|
-
p.disconnect(), s.querySelectorAll('[data-scene-id="composition"]').forEach((h) => p.observe(h));
|
|
7404
|
-
};
|
|
7405
|
-
if (m(), l.push(p), typeof MutationObserver < "u") {
|
|
7406
|
-
const h = new MutationObserver(m);
|
|
7407
|
-
h.observe(s, {
|
|
7408
|
-
childList: !0,
|
|
7409
|
-
subtree: !0
|
|
7410
|
-
}), l.push(h);
|
|
7411
|
-
}
|
|
7412
|
-
}
|
|
7413
|
-
if (typeof MutationObserver < "u") {
|
|
7414
|
-
const d = new MutationObserver(u);
|
|
7415
|
-
d.observe(s, {
|
|
7416
|
-
childList: !0,
|
|
7417
|
-
subtree: !0,
|
|
7418
|
-
attributes: !0,
|
|
7419
|
-
attributeFilter: ["class", "style"]
|
|
7420
|
-
}), l.push(d);
|
|
7421
|
-
}
|
|
7422
|
-
return () => {
|
|
7423
|
-
l.forEach((d) => d.disconnect()), c !== 0 && cancelAnimationFrame(c);
|
|
7424
|
-
};
|
|
7425
|
-
}, [e, r]), o;
|
|
7432
|
+
r(), l.current = Pg(l.current, e.current, (c) => Rg(c, () => s.current()));
|
|
7433
|
+
}), Te(() => () => {
|
|
7434
|
+
l.current?.stop(), l.current = void 0;
|
|
7435
|
+
}, []), o;
|
|
7426
7436
|
}
|
|
7427
|
-
function
|
|
7437
|
+
function Dg(e, t) {
|
|
7428
7438
|
return vo(e, H((n, o) => {
|
|
7429
7439
|
if (!t) return;
|
|
7430
7440
|
const i = Be(n, t.componentId, o), r = n.querySelector(`[data-studio-element="${CSS.escape(t.componentId)}"]`) ?? n.querySelector(`[data-scene-id="${CSS.escape(t.componentId)}"]`), s = {};
|
|
7431
7441
|
for (const l of t.source.items) {
|
|
7432
|
-
const c = Be(n, l.id, o) ?? (r ?
|
|
7442
|
+
const c = Be(n, l.id, o) ?? (r ? Og(l.id).map((u) => r.querySelector(u)).flatMap((u) => u ? [rs(u, o)] : []).find((u) => u !== void 0) : void 0);
|
|
7433
7443
|
c && (s[l.id] = c);
|
|
7434
7444
|
}
|
|
7435
7445
|
return {
|
|
@@ -7442,10 +7452,10 @@ function xg(e, t) {
|
|
|
7442
7452
|
component: i,
|
|
7443
7453
|
items: s
|
|
7444
7454
|
};
|
|
7445
|
-
}, [t]),
|
|
7455
|
+
}, [t]), xg);
|
|
7446
7456
|
}
|
|
7447
|
-
var zn = 34,
|
|
7448
|
-
const { subject: s } = t, l =
|
|
7457
|
+
var zn = 34, _g = ({ surface: e, state: t, controller: n, environment: o, editorStrings: i, strings: r }) => {
|
|
7458
|
+
const { subject: s } = t, l = Dg(e, s), [c, u] = F(), d = o.propertyEditors?.registry ?? hn, p = j(() => jo(o.availableSources), [o.availableSources]), m = H((M) => {
|
|
7449
7459
|
if (typeof M != "string" || M === "") return;
|
|
7450
7460
|
const L = o.propertyEditors?.slices?.find((z) => z.id === M) ?? o.stateChangeSlices.find((z) => z.id === M), N = M.split(".");
|
|
7451
7461
|
return L?.name ?? N[N.length - 1];
|
|
@@ -7536,7 +7546,7 @@ var zn = 34, Rg = ({ surface: e, state: t, controller: n, environment: o, editor
|
|
|
7536
7546
|
property: I.property,
|
|
7537
7547
|
context: $(),
|
|
7538
7548
|
componentId: g.id,
|
|
7539
|
-
anchor:
|
|
7549
|
+
anchor: $g(e, c.opener),
|
|
7540
7550
|
opener: c.opener,
|
|
7541
7551
|
bounds: l.surface,
|
|
7542
7552
|
title: s.mode.itemToolbar.find((M) => M.id === c.actionId)?.title ?? c.actionId,
|
|
@@ -7567,7 +7577,7 @@ var zn = 34, Rg = ({ surface: e, state: t, controller: n, environment: o, editor
|
|
|
7567
7577
|
})
|
|
7568
7578
|
] });
|
|
7569
7579
|
};
|
|
7570
|
-
function
|
|
7580
|
+
function $g(e, t) {
|
|
7571
7581
|
const n = e.current?.getBoundingClientRect(), o = t.getBoundingClientRect();
|
|
7572
7582
|
return {
|
|
7573
7583
|
left: o.left - (n?.left ?? 0),
|
|
@@ -7587,14 +7597,14 @@ function ls(e, t) {
|
|
|
7587
7597
|
}] : [], ...ls(cn(n), t)];
|
|
7588
7598
|
});
|
|
7589
7599
|
}
|
|
7590
|
-
var
|
|
7591
|
-
const o = vo(e, H((h, f) => Be(h, "composition", f), []),
|
|
7600
|
+
var Eg = (e, t) => e.left === t.left && e.top === t.top && e.width === t.width && e.height === t.height, gr = "content", Ag = (e, t) => e.length === t.length && e.every((n, o) => n.id === t[o].id && n.rect.left === t[o].rect.left && n.rect.top === t[o].rect.top && n.rect.width === t[o].rect.width && n.rect.height === t[o].rect.height), Mg = ({ surface: e, controller: t, strings: n }) => {
|
|
7601
|
+
const o = vo(e, H((h, f) => Be(h, "composition", f), []), Eg), { composition: i, context: r, selectedId: s, navigation: l, navigationModule: c, structure: u } = t, d = j(() => ls(i.roots, r.catalog), [i.roots, r.catalog]), p = H((h, f) => d.flatMap((v) => {
|
|
7592
7602
|
const g = Be(h, v.id, f);
|
|
7593
7603
|
return g ? [{
|
|
7594
7604
|
...v,
|
|
7595
7605
|
rect: g
|
|
7596
7606
|
}] : [];
|
|
7597
|
-
}), [d]), m = vo(e, p,
|
|
7607
|
+
}), [d]), m = vo(e, p, Ag);
|
|
7598
7608
|
return /* @__PURE__ */ b(re, { children: [o && /* @__PURE__ */ a("div", {
|
|
7599
7609
|
className: "studio-design-slot",
|
|
7600
7610
|
"data-slot": gr,
|
|
@@ -7648,9 +7658,9 @@ var _g = (e, t) => e.left === t.left && e.top === t.top && e.width === t.width &
|
|
|
7648
7658
|
})
|
|
7649
7659
|
}, h);
|
|
7650
7660
|
})] });
|
|
7651
|
-
},
|
|
7661
|
+
}, Fg = Wl(), Jt = () => {
|
|
7652
7662
|
throw new Error("The screen is being designed; it does not navigate.");
|
|
7653
|
-
},
|
|
7663
|
+
}, Lg = ({ structure: e, navigation: t, module: n, logoLockedReason: o, onNavigate: i, peeking: r, children: s }) => {
|
|
7654
7664
|
const l = j(() => new dn(e), [e]), c = j(() => ({
|
|
7655
7665
|
structure: l,
|
|
7656
7666
|
navigation: t
|
|
@@ -7684,7 +7694,7 @@ var _g = (e, t) => e.left === t.left && e.top === t.top && e.width === t.width &
|
|
|
7684
7694
|
children: /* @__PURE__ */ a(jl, {
|
|
7685
7695
|
model: c,
|
|
7686
7696
|
children: /* @__PURE__ */ a(zl, {
|
|
7687
|
-
invoker:
|
|
7697
|
+
invoker: Fg,
|
|
7688
7698
|
warnEmptySlices: !0,
|
|
7689
7699
|
children: s
|
|
7690
7700
|
})
|
|
@@ -7694,11 +7704,11 @@ var _g = (e, t) => e.left === t.left && e.top === t.top && e.width === t.width &
|
|
|
7694
7704
|
value: p,
|
|
7695
7705
|
children: f
|
|
7696
7706
|
}) : f;
|
|
7697
|
-
},
|
|
7707
|
+
}, Bg = 'button, a[href], [role="button"], [role="radio"], [role="option"], [role="menuitem"]', jg = (e) => {
|
|
7698
7708
|
const t = e;
|
|
7699
|
-
return !!t && typeof t.closest == "function" && t.closest(
|
|
7709
|
+
return !!t && typeof t.closest == "function" && t.closest(Bg) !== null;
|
|
7700
7710
|
};
|
|
7701
|
-
function
|
|
7711
|
+
function Ug(e, t, n) {
|
|
7702
7712
|
const { subject: o } = t;
|
|
7703
7713
|
if (!o) return !1;
|
|
7704
7714
|
const i = pn(e.target), r = () => (e.preventDefault(), e.stopPropagation(), !0);
|
|
@@ -7706,7 +7716,7 @@ function Bg(e, t, n) {
|
|
|
7706
7716
|
return t.deselect(), r();
|
|
7707
7717
|
const s = o.selected;
|
|
7708
7718
|
if (!s || i || s.readOnly) return !1;
|
|
7709
|
-
if (e.key === "Enter" && !e.altKey && !e.ctrlKey && !e.metaKey) return !
|
|
7719
|
+
if (e.key === "Enter" && !e.altKey && !e.ctrlKey && !e.metaKey) return !jg(e.target) && n() ? r() : !1;
|
|
7710
7720
|
if (e.altKey && !e.ctrlKey && !e.metaKey) {
|
|
7711
7721
|
const l = e.key === "ArrowUp" || e.key === "ArrowLeft", c = e.key === "ArrowDown" || e.key === "ArrowRight";
|
|
7712
7722
|
if (l || c)
|
|
@@ -7728,8 +7738,8 @@ function cs(e, t, n) {
|
|
|
7728
7738
|
...l ? { slots: l } : {}
|
|
7729
7739
|
} : e;
|
|
7730
7740
|
}
|
|
7731
|
-
var
|
|
7732
|
-
function
|
|
7741
|
+
var zg = (e) => e.length - e.trimStart().length;
|
|
7742
|
+
function Wg(e) {
|
|
7733
7743
|
const t = e.split(`
|
|
7734
7744
|
`).filter((i) => i.trim().length > 0 && !i.trim().startsWith("//")), n = {
|
|
7735
7745
|
head: "",
|
|
@@ -7739,7 +7749,7 @@ function Ug(e) {
|
|
|
7739
7749
|
indent: -1
|
|
7740
7750
|
}];
|
|
7741
7751
|
for (const i of t) {
|
|
7742
|
-
const r =
|
|
7752
|
+
const r = zg(i);
|
|
7743
7753
|
for (; o.length > 1 && o[o.length - 1].indent >= r; ) o.pop();
|
|
7744
7754
|
const s = {
|
|
7745
7755
|
head: i.trim(),
|
|
@@ -7752,7 +7762,7 @@ function Ug(e) {
|
|
|
7752
7762
|
}
|
|
7753
7763
|
return n.body;
|
|
7754
7764
|
}
|
|
7755
|
-
var Wn = (e, t) => new RegExp(`(?:^|\\s)${t}\\s+"([^"]*)"`).exec(e)?.[1],
|
|
7765
|
+
var Wn = (e, t) => new RegExp(`(?:^|\\s)${t}\\s+"([^"]*)"`).exec(e)?.[1], Kg = (e, t) => new RegExp(`(?:^|\\s)${t}\\s+([^\\s"]+)`).exec(e)?.[1], Re = (e) => e.split(/\s+/)[1] ?? "", Hg = (e, t) => {
|
|
7756
7766
|
switch (e.head.split(/\s+/)[0]) {
|
|
7757
7767
|
case "table": {
|
|
7758
7768
|
const n = e.body.filter((o) => o.head.startsWith("column ")).map((o, i) => {
|
|
@@ -7774,7 +7784,7 @@ var Wn = (e, t) => new RegExp(`(?:^|\\s)${t}\\s+"([^"]*)"`).exec(e)?.[1], zg = (
|
|
|
7774
7784
|
case "button":
|
|
7775
7785
|
return ue(t, Re(e.head), "core:button", {
|
|
7776
7786
|
label: Wn(e.head, "title") ?? Re(e.head),
|
|
7777
|
-
severity:
|
|
7787
|
+
severity: Kg(e.head, "emphasis") === "primary" ? void 0 : "secondary"
|
|
7778
7788
|
});
|
|
7779
7789
|
default:
|
|
7780
7790
|
return ue(t, e.head, "core:text", { text: e.head });
|
|
@@ -7783,11 +7793,11 @@ var Wn = (e, t) => new RegExp(`(?:^|\\s)${t}\\s+"([^"]*)"`).exec(e)?.[1], zg = (
|
|
|
7783
7793
|
function Kn(e, t) {
|
|
7784
7794
|
const n = [];
|
|
7785
7795
|
return (e ?? []).forEach((o, i) => {
|
|
7786
|
-
typeof o?.text == "string" &&
|
|
7796
|
+
typeof o?.text == "string" && Wg(o.text).forEach((r, s) => n.push(Hg(r, `native-${t}-${i}-${s}`)));
|
|
7787
7797
|
}), n;
|
|
7788
7798
|
}
|
|
7789
7799
|
var vr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1 $2");
|
|
7790
|
-
function
|
|
7800
|
+
function qg(e, t = /* @__PURE__ */ new Set()) {
|
|
7791
7801
|
return (e ?? []).filter((n) => typeof n?.forCommand == "string" && !t.has(n.forCommand)).map((n, o) => {
|
|
7792
7802
|
const i = `native-form-${o}`, r = n.forCommand, s = (n.fields ?? []).filter((l) => typeof l?.name == "string").map((l, c) => ue(`${i}-field-${c}`, l.name, "core:field", {
|
|
7793
7803
|
property: l.name,
|
|
@@ -7800,20 +7810,20 @@ function Kg(e, t = /* @__PURE__ */ new Set()) {
|
|
|
7800
7810
|
]);
|
|
7801
7811
|
});
|
|
7802
7812
|
}
|
|
7803
|
-
var ds = "template-slot:",
|
|
7813
|
+
var ds = "template-slot:", Gg = "template-slot-label:", Vg = 280, Jg = (e) => {
|
|
7804
7814
|
const t = e.arrangement;
|
|
7805
7815
|
return t?.root && typeof t.root == "object" ? t.root : void 0;
|
|
7806
|
-
}, us = (e) => `${ds}${e}`, He = (e) => e.startsWith(ds),
|
|
7816
|
+
}, us = (e) => `${ds}${e}`, He = (e) => e.startsWith(ds), Qg = (e) => e.slice(14), Yg = (e) => e.slots.some((t) => t.name !== Ze);
|
|
7807
7817
|
function ps(e, t) {
|
|
7808
|
-
return t !== void 0 && He(e) ? Ol(Il(t),
|
|
7818
|
+
return t !== void 0 && He(e) ? Ol(Il(t), Qg(e)) : void 0;
|
|
7809
7819
|
}
|
|
7810
7820
|
var ms = (e, t) => He(e) ? Math.max(0, t - 1) : t, hs = (e, t, n) => {
|
|
7811
|
-
const o = ue(`${
|
|
7821
|
+
const o = ue(`${Gg}${t}`, t, "core:text", { text: `slot: ${t}` });
|
|
7812
7822
|
return Pe(q.Stack, us(t), t, [...n ? [o] : [], ...e.content?.[t] ?? []]);
|
|
7813
7823
|
}, br = (e) => ({
|
|
7814
7824
|
unitType: ko.Star,
|
|
7815
7825
|
value: e
|
|
7816
|
-
}),
|
|
7826
|
+
}), Zg = (e) => ({
|
|
7817
7827
|
unitType: ko.Absolute,
|
|
7818
7828
|
value: e
|
|
7819
7829
|
});
|
|
@@ -7841,14 +7851,14 @@ function fs(e, t, n, o) {
|
|
|
7841
7851
|
}))),
|
|
7842
7852
|
rows: [],
|
|
7843
7853
|
columns: s.map((c) => ({
|
|
7844
|
-
width: (c.child.grow ?? 0) > 0 ? br(c.child.grow) : c.child.slotName !== void 0 ?
|
|
7854
|
+
width: (c.child.grow ?? 0) > 0 ? br(c.child.grow) : c.child.slotName !== void 0 ? Zg(Vg) : br(1),
|
|
7845
7855
|
minimumWidth: 0,
|
|
7846
7856
|
maximumWidth: Number.POSITIVE_INFINITY
|
|
7847
7857
|
}))
|
|
7848
7858
|
};
|
|
7849
7859
|
}
|
|
7850
|
-
function
|
|
7851
|
-
const n = /* @__PURE__ */ new Set(), o =
|
|
7860
|
+
function Xg(e, t = !0) {
|
|
7861
|
+
const n = /* @__PURE__ */ new Set(), o = Jg(e), i = [], r = o ? fs(e, o, n, t) : void 0;
|
|
7852
7862
|
r && i.push(r);
|
|
7853
7863
|
for (const s of e.slots) n.has(s.name) || (n.add(s.name), i.push(hs(e, s.name, t)));
|
|
7854
7864
|
return {
|
|
@@ -7863,8 +7873,8 @@ function bo(e, t) {
|
|
|
7863
7873
|
for (const c of i) {
|
|
7864
7874
|
const u = e.screenTemplates.find((d) => d.name === c);
|
|
7865
7875
|
if (u) {
|
|
7866
|
-
if (c === t &&
|
|
7867
|
-
const d =
|
|
7876
|
+
if (c === t && Yg(u)) {
|
|
7877
|
+
const d = Xg(u);
|
|
7868
7878
|
r.push(...d.elements), s = d.entry;
|
|
7869
7879
|
continue;
|
|
7870
7880
|
}
|
|
@@ -7877,7 +7887,7 @@ function bo(e, t) {
|
|
|
7877
7887
|
r.push(...c.content ?? [], ...Kn(u[Ze], Ze));
|
|
7878
7888
|
for (const [d, p] of Object.entries(c)) d !== "content" && r.push(...p, ...Kn(u[d], d));
|
|
7879
7889
|
for (const [d, p] of Object.entries(u)) d !== "content" && !(d in c) && r.push(...Kn(p, d));
|
|
7880
|
-
r.push(...
|
|
7890
|
+
r.push(...qg(n?.forms, ev(r)));
|
|
7881
7891
|
}
|
|
7882
7892
|
return {
|
|
7883
7893
|
element: Pe(q.Stack, gs, "Composition", r),
|
|
@@ -7887,22 +7897,22 @@ function bo(e, t) {
|
|
|
7887
7897
|
...s ? { entry: s } : {}
|
|
7888
7898
|
};
|
|
7889
7899
|
}
|
|
7890
|
-
function
|
|
7900
|
+
function ev(e) {
|
|
7891
7901
|
const t = /* @__PURE__ */ new Set(), n = (o) => {
|
|
7892
7902
|
const { properties: i, slots: r, children: s } = o;
|
|
7893
7903
|
typeof i?.command == "string" && t.add(i.command), Object.values(r ?? {}).forEach((l) => l.forEach(n)), (s ?? []).forEach(n);
|
|
7894
7904
|
};
|
|
7895
7905
|
return e.forEach(n), t;
|
|
7896
7906
|
}
|
|
7897
|
-
function
|
|
7907
|
+
function tv(e) {
|
|
7898
7908
|
return e.templates.length === 0 ? e.element : Pe(q.Stack, gs, "Composition", e.own);
|
|
7899
7909
|
}
|
|
7900
|
-
var
|
|
7901
|
-
},
|
|
7910
|
+
var nv = () => {
|
|
7911
|
+
}, ov = {
|
|
7902
7912
|
button: "Button",
|
|
7903
7913
|
item: "New item"
|
|
7904
|
-
},
|
|
7905
|
-
const c =
|
|
7914
|
+
}, iv = ({ controller: e, environment: t, resolveBinding: n = nv, configuration: o, strings: i, editorStrings: r, viewportHeight: s, shell: l }) => {
|
|
7915
|
+
const c = V(null), { composition: u, dropRegions: d, selectedId: p } = e, { selectionRect: m, measureNow: h } = mg(c, d, p), { feedback: f, draggedId: v, startMoving: g, endMoving: k, handlers: x } = ug(c, h, e), [O, y] = F(), S = ig(e, t), { document: w, context: T } = e, E = j(() => o ?? (w.instanceContributions.length > 0 ? Br(Ro(w, T.scope), w.instanceContributions, T.catalog) : void 0), [
|
|
7906
7916
|
o,
|
|
7907
7917
|
w,
|
|
7908
7918
|
T
|
|
@@ -7910,7 +7920,7 @@ var ev = () => {
|
|
|
7910
7920
|
controller: e,
|
|
7911
7921
|
environment: t,
|
|
7912
7922
|
strings: I,
|
|
7913
|
-
startingLabels:
|
|
7923
|
+
startingLabels: ov,
|
|
7914
7924
|
...$ ? { startingDestination: $ } : {}
|
|
7915
7925
|
});
|
|
7916
7926
|
Te(() => {
|
|
@@ -7924,7 +7934,7 @@ var ev = () => {
|
|
|
7924
7934
|
P.preventDefault(), l.back();
|
|
7925
7935
|
return;
|
|
7926
7936
|
}
|
|
7927
|
-
|
|
7937
|
+
Ug(P, U, () => {
|
|
7928
7938
|
const B = c.current?.querySelector(".studio-design-toolbar__title");
|
|
7929
7939
|
return B?.focus({ preventScroll: !0 }), !!B;
|
|
7930
7940
|
}) || !Bo(P) || !e.selectedId || !e.canRemove(e.selectedId) || (P.preventDefault(), e.remove(e.selectedId));
|
|
@@ -7943,15 +7953,15 @@ var ev = () => {
|
|
|
7943
7953
|
width: K.width,
|
|
7944
7954
|
height: K.height
|
|
7945
7955
|
};
|
|
7946
|
-
const
|
|
7947
|
-
return
|
|
7948
|
-
left:
|
|
7949
|
-
top:
|
|
7950
|
-
width:
|
|
7951
|
-
height:
|
|
7956
|
+
const J = Be(B, P, W);
|
|
7957
|
+
return J && {
|
|
7958
|
+
left: J.left,
|
|
7959
|
+
top: J.top,
|
|
7960
|
+
width: J.width,
|
|
7961
|
+
height: J.height
|
|
7952
7962
|
};
|
|
7953
7963
|
}), () => N(void 0)), [N]);
|
|
7954
|
-
const z = l !== void 0 && l.template.available && !l.template.shown, Q = j(() => z ?
|
|
7964
|
+
const z = l !== void 0 && l.template.available && !l.template.shown, Q = j(() => z ? tv(u) : u.element, [z, u]), pe = j(() => Eo(Q, t.runtime.compositionProfile, t.runtime.packages), [
|
|
7955
7965
|
Q,
|
|
7956
7966
|
t.runtime.compositionProfile,
|
|
7957
7967
|
t.runtime.packages
|
|
@@ -7967,7 +7977,7 @@ var ev = () => {
|
|
|
7967
7977
|
registry: t.runtime.iconAdapters,
|
|
7968
7978
|
children: /* @__PURE__ */ a(zr, {
|
|
7969
7979
|
storage: null,
|
|
7970
|
-
children: /* @__PURE__ */ a(
|
|
7980
|
+
children: /* @__PURE__ */ a(Lg, {
|
|
7971
7981
|
structure: e.structure,
|
|
7972
7982
|
navigation: e.navigation,
|
|
7973
7983
|
module: e.navigationModule,
|
|
@@ -8041,12 +8051,12 @@ var ev = () => {
|
|
|
8041
8051
|
surface: c,
|
|
8042
8052
|
markers: S
|
|
8043
8053
|
}),
|
|
8044
|
-
/* @__PURE__ */ a(
|
|
8054
|
+
/* @__PURE__ */ a(Mg, {
|
|
8045
8055
|
surface: c,
|
|
8046
8056
|
controller: e,
|
|
8047
8057
|
strings: I
|
|
8048
8058
|
}),
|
|
8049
|
-
r && /* @__PURE__ */ a(
|
|
8059
|
+
r && /* @__PURE__ */ a(_g, {
|
|
8050
8060
|
surface: c,
|
|
8051
8061
|
state: U,
|
|
8052
8062
|
controller: e,
|
|
@@ -8167,7 +8177,7 @@ var ev = () => {
|
|
|
8167
8177
|
onClick: m.back,
|
|
8168
8178
|
children: n.shellPeekBack
|
|
8169
8179
|
})]
|
|
8170
|
-
}), /* @__PURE__ */ a(
|
|
8180
|
+
}), /* @__PURE__ */ a(iv, {
|
|
8171
8181
|
controller: e,
|
|
8172
8182
|
environment: t,
|
|
8173
8183
|
resolveBinding: () => {
|
|
@@ -8182,7 +8192,7 @@ var ev = () => {
|
|
|
8182
8192
|
]
|
|
8183
8193
|
});
|
|
8184
8194
|
};
|
|
8185
|
-
function
|
|
8195
|
+
function rv(e, t, n) {
|
|
8186
8196
|
const o = e.screens.find((l) => l.name === le);
|
|
8187
8197
|
if (!o || o.screenTemplate === t?.name) return e;
|
|
8188
8198
|
const i = o.screenTemplate, r = e.screens.map((l) => {
|
|
@@ -8193,14 +8203,14 @@ function ov(e, t, n) {
|
|
|
8193
8203
|
screenTemplate: t.name
|
|
8194
8204
|
} : u;
|
|
8195
8205
|
});
|
|
8196
|
-
let s = e.screenTemplates.filter((l) => !
|
|
8206
|
+
let s = e.screenTemplates.filter((l) => !av(l, i, r, n));
|
|
8197
8207
|
return t && !s.some((l) => l.name === t.name) && (s = [...s, globalThis.structuredClone(t)]), {
|
|
8198
8208
|
...e,
|
|
8199
8209
|
screens: r,
|
|
8200
8210
|
screenTemplates: s
|
|
8201
8211
|
};
|
|
8202
8212
|
}
|
|
8203
|
-
function
|
|
8213
|
+
function av(e, t, n, o) {
|
|
8204
8214
|
if (e.name !== t || n.some((r) => r.screenTemplate === t)) return !1;
|
|
8205
8215
|
const i = o.find((r) => r.name === t);
|
|
8206
8216
|
return i !== void 0 && JSON.stringify(i) === JSON.stringify(e);
|
|
@@ -8236,14 +8246,14 @@ function ws(e) {
|
|
|
8236
8246
|
top: o
|
|
8237
8247
|
} : void 0;
|
|
8238
8248
|
}
|
|
8239
|
-
function
|
|
8249
|
+
function sv(e) {
|
|
8240
8250
|
const { [et]: t, [tt]: n, ...o } = e.properties ?? {};
|
|
8241
8251
|
return {
|
|
8242
8252
|
...e,
|
|
8243
8253
|
properties: o
|
|
8244
8254
|
};
|
|
8245
8255
|
}
|
|
8246
|
-
function
|
|
8256
|
+
function lv(e, t) {
|
|
8247
8257
|
if (e.targetParentId !== null)
|
|
8248
8258
|
return {
|
|
8249
8259
|
kind: Z.MoveNode,
|
|
@@ -8260,7 +8270,7 @@ function ks(e, t, n, o) {
|
|
|
8260
8270
|
element: n
|
|
8261
8271
|
};
|
|
8262
8272
|
}
|
|
8263
|
-
function
|
|
8273
|
+
function cv(e) {
|
|
8264
8274
|
return {
|
|
8265
8275
|
kind: Z.RemoveNode,
|
|
8266
8276
|
nodeId: ae(e)
|
|
@@ -8274,18 +8284,18 @@ var Ss = (e, t) => (e?.children ?? []).map((n) => {
|
|
|
8274
8284
|
bottom: o?.bottom
|
|
8275
8285
|
};
|
|
8276
8286
|
});
|
|
8277
|
-
function
|
|
8287
|
+
function dv(e, t, n, o) {
|
|
8278
8288
|
const i = qe(e, t.nodeId);
|
|
8279
8289
|
if (!i || t.targetParentId === null) return;
|
|
8280
8290
|
const r = wo(e, t.nodeId), s = qe(e, t.targetParentId), l = !!r && vt(r), c = !!s && vt(s);
|
|
8281
8291
|
if (!l && !c) return;
|
|
8282
|
-
const u = l && c && r.id === t.targetParentId, d = u ? r.children.findIndex((m) => m.id === t.nodeId) : t.index, p = c ? ys(i, n ?? (u ? ws(i) : void 0) ?? bs(Ss(s, o))) :
|
|
8292
|
+
const u = l && c && r.id === t.targetParentId, d = u ? r.children.findIndex((m) => m.id === t.nodeId) : t.index, p = c ? ys(i, n ?? (u ? ws(i) : void 0) ?? bs(Ss(s, o))) : sv(i);
|
|
8283
8293
|
return [{
|
|
8284
8294
|
kind: Z.RemoveNode,
|
|
8285
8295
|
nodeId: ae(t.nodeId)
|
|
8286
8296
|
}, ks(t.targetParentId, d, p)];
|
|
8287
8297
|
}
|
|
8288
|
-
function
|
|
8298
|
+
function uv(e) {
|
|
8289
8299
|
switch (e) {
|
|
8290
8300
|
case Y.Row:
|
|
8291
8301
|
case Y.Wrap:
|
|
@@ -8300,7 +8310,7 @@ function cv(e) {
|
|
|
8300
8310
|
}
|
|
8301
8311
|
}
|
|
8302
8312
|
function wr(e, t, n, o) {
|
|
8303
|
-
const i = e ?? "screen", r =
|
|
8313
|
+
const i = e ?? "screen", r = uv(n), s = {
|
|
8304
8314
|
id: `${i}:container`,
|
|
8305
8315
|
kind: Oe.Container,
|
|
8306
8316
|
containerId: e,
|
|
@@ -8319,7 +8329,7 @@ function wr(e, t, n, o) {
|
|
|
8319
8329
|
...c < t.length ? { beforeId: o.idOf(t[c]) } : {}
|
|
8320
8330
|
}))];
|
|
8321
8331
|
}
|
|
8322
|
-
function
|
|
8332
|
+
function pv(e, t, n) {
|
|
8323
8333
|
const o = (i) => i.flatMap((r) => {
|
|
8324
8334
|
if (!n.acceptsChildren(r)) return [];
|
|
8325
8335
|
const s = n.childrenOf(r);
|
|
@@ -8327,7 +8337,7 @@ function dv(e, t, n) {
|
|
|
8327
8337
|
});
|
|
8328
8338
|
return [...wr(null, e, t, n), ...o(e)];
|
|
8329
8339
|
}
|
|
8330
|
-
var
|
|
8340
|
+
var mv = class {
|
|
8331
8341
|
latest;
|
|
8332
8342
|
publish;
|
|
8333
8343
|
constructor(e, t) {
|
|
@@ -8340,7 +8350,7 @@ var uv = class {
|
|
|
8340
8350
|
return this.latest = e(this.latest), this.publish(this.latest), this.latest;
|
|
8341
8351
|
}
|
|
8342
8352
|
};
|
|
8343
|
-
function
|
|
8353
|
+
function hv(e) {
|
|
8344
8354
|
return {
|
|
8345
8355
|
document: e,
|
|
8346
8356
|
undoable: [],
|
|
@@ -8350,7 +8360,7 @@ function pv(e) {
|
|
|
8350
8360
|
savedDocument: e
|
|
8351
8361
|
};
|
|
8352
8362
|
}
|
|
8353
|
-
function
|
|
8363
|
+
function fv(e, t, n, o) {
|
|
8354
8364
|
const i = Mr(e.document, t, n);
|
|
8355
8365
|
return i.applied ? {
|
|
8356
8366
|
...e,
|
|
@@ -8380,7 +8390,7 @@ function De(e, t, n) {
|
|
|
8380
8390
|
isDirty: t !== e.savedDocument
|
|
8381
8391
|
};
|
|
8382
8392
|
}
|
|
8383
|
-
function
|
|
8393
|
+
function gv(e, t, n, o) {
|
|
8384
8394
|
let i = e.document;
|
|
8385
8395
|
const r = [];
|
|
8386
8396
|
for (const s of t) {
|
|
@@ -8403,8 +8413,8 @@ function hv(e, t, n, o) {
|
|
|
8403
8413
|
isDirty: i !== e.savedDocument
|
|
8404
8414
|
};
|
|
8405
8415
|
}
|
|
8406
|
-
var
|
|
8407
|
-
function
|
|
8416
|
+
var vv = (e) => e.undoable.length > 0, bv = (e) => e.redoable.length > 0;
|
|
8417
|
+
function yv(e) {
|
|
8408
8418
|
const t = e.undoable[e.undoable.length - 1];
|
|
8409
8419
|
return t ? {
|
|
8410
8420
|
...e,
|
|
@@ -8418,7 +8428,7 @@ function vv(e) {
|
|
|
8418
8428
|
isDirty: t.before !== e.savedDocument
|
|
8419
8429
|
} : e;
|
|
8420
8430
|
}
|
|
8421
|
-
function
|
|
8431
|
+
function wv(e) {
|
|
8422
8432
|
const t = e.redoable[e.redoable.length - 1];
|
|
8423
8433
|
return t ? {
|
|
8424
8434
|
...e,
|
|
@@ -8432,7 +8442,7 @@ function bv(e) {
|
|
|
8432
8442
|
isDirty: t.before !== e.savedDocument
|
|
8433
8443
|
} : e;
|
|
8434
8444
|
}
|
|
8435
|
-
function
|
|
8445
|
+
function kv(e) {
|
|
8436
8446
|
return {
|
|
8437
8447
|
...e,
|
|
8438
8448
|
savedDocument: e.document,
|
|
@@ -8455,7 +8465,7 @@ function Rt(e, t, n) {
|
|
|
8455
8465
|
Array.isArray(i) && Rt(i, t, n);
|
|
8456
8466
|
}
|
|
8457
8467
|
}
|
|
8458
|
-
var yo = (e) => e.id,
|
|
8468
|
+
var yo = (e) => e.id, Sv = (e) => e.name || yo(e), Cv = (e) => {
|
|
8459
8469
|
switch (e) {
|
|
8460
8470
|
case q.Stack:
|
|
8461
8471
|
return Y.Column;
|
|
@@ -8473,10 +8483,10 @@ var yo = (e) => e.id, wv = (e) => e.name || yo(e), kv = (e) => {
|
|
|
8473
8483
|
return;
|
|
8474
8484
|
}
|
|
8475
8485
|
};
|
|
8476
|
-
function
|
|
8486
|
+
function Tv(e) {
|
|
8477
8487
|
return {
|
|
8478
8488
|
idOf: yo,
|
|
8479
|
-
nameOf:
|
|
8489
|
+
nameOf: Sv,
|
|
8480
8490
|
childrenOf: cn,
|
|
8481
8491
|
withChildren: (t, n) => Yt(t) ? {
|
|
8482
8492
|
...t,
|
|
@@ -8487,13 +8497,13 @@ function Sv(e) {
|
|
|
8487
8497
|
} : t,
|
|
8488
8498
|
acceptsChildren: (t) => Yt(t),
|
|
8489
8499
|
ownershipOf: (t) => e(yo(t)) ?? oe.Local,
|
|
8490
|
-
arrangementOf: (t) => Yt(t) ?
|
|
8500
|
+
arrangementOf: (t) => Yt(t) ? Cv(ma(t)) : void 0
|
|
8491
8501
|
};
|
|
8492
8502
|
}
|
|
8493
|
-
function
|
|
8503
|
+
function Nv(e) {
|
|
8494
8504
|
return e ? vt(e) ? Y.Freeform : Oo(e) ? Y.Grid : xo(e) && e.orientation === ft.Horizontal ? Y.Row : Y.Column : Y.Column;
|
|
8495
8505
|
}
|
|
8496
|
-
var
|
|
8506
|
+
var Iv = (e, t) => Math.max(0, Math.min(e, t));
|
|
8497
8507
|
function Sr(e, t, n) {
|
|
8498
8508
|
const o = Ie(e, t.nodeId, n);
|
|
8499
8509
|
if (!o) return te.NodeNotFound;
|
|
@@ -8509,10 +8519,10 @@ function Sr(e, t, n) {
|
|
|
8509
8519
|
}
|
|
8510
8520
|
if ((o.parent === null ? null : n.idOf(o.parent)) === t.targetParentId) {
|
|
8511
8521
|
const r = i.length - 1;
|
|
8512
|
-
if (
|
|
8522
|
+
if (Iv(t.index, r) === o.index) return te.NoChange;
|
|
8513
8523
|
}
|
|
8514
8524
|
}
|
|
8515
|
-
function
|
|
8525
|
+
function Pv(e) {
|
|
8516
8526
|
switch (e) {
|
|
8517
8527
|
case mi.Inherited:
|
|
8518
8528
|
return oe.Inherited;
|
|
@@ -8522,7 +8532,7 @@ function Nv(e) {
|
|
|
8522
8532
|
return oe.Local;
|
|
8523
8533
|
}
|
|
8524
8534
|
}
|
|
8525
|
-
function
|
|
8535
|
+
function Ov(e, t, n) {
|
|
8526
8536
|
const o = /* @__PURE__ */ new Map();
|
|
8527
8537
|
for (const i of Ds(t)) {
|
|
8528
8538
|
if (He(i)) {
|
|
@@ -8530,11 +8540,11 @@ function Iv(e, t, n) {
|
|
|
8530
8540
|
continue;
|
|
8531
8541
|
}
|
|
8532
8542
|
const r = Po(e, ae(i), n);
|
|
8533
|
-
o.set(i, r ?
|
|
8543
|
+
o.set(i, r ? Pv(r.provenance.kind) : oe.Inherited);
|
|
8534
8544
|
}
|
|
8535
8545
|
return (i) => o.get(i) ?? oe.Local;
|
|
8536
8546
|
}
|
|
8537
|
-
function
|
|
8547
|
+
function xv(e) {
|
|
8538
8548
|
const [t, n] = F({
|
|
8539
8549
|
catalog: e,
|
|
8540
8550
|
times: 0
|
|
@@ -8552,14 +8562,14 @@ function Pv(e) {
|
|
|
8552
8562
|
};
|
|
8553
8563
|
}, [e]), t.catalog === e ? t.times : 0;
|
|
8554
8564
|
}
|
|
8555
|
-
function
|
|
8565
|
+
function Rv(e, t) {
|
|
8556
8566
|
j(() => t?.(e), [e, t]), ie(() => t?.(e), [e, t]);
|
|
8557
8567
|
}
|
|
8558
|
-
var
|
|
8568
|
+
var Dv = { modules: [] }, _v = (e, t) => wo(e, t)?.id;
|
|
8559
8569
|
function Cs(e, t, n, o) {
|
|
8560
|
-
const [i, r] = F(() =>
|
|
8561
|
-
s.current ??= new
|
|
8562
|
-
const l = H((P) => s.current.commit(P), []), [c, u] = F(), [d, p] = F(), [m, h] = F(n.navigation?.module), f =
|
|
8570
|
+
const [i, r] = F(() => hv(e.document)), s = V(void 0);
|
|
8571
|
+
s.current ??= new mv(i, r);
|
|
8572
|
+
const l = H((P) => s.current.commit(P), []), [c, u] = F(), [d, p] = F(), [m, h] = F(n.navigation?.module), f = V(void 0), v = H((P, B) => {
|
|
8563
8573
|
const W = f.current?.(P), K = f.current?.(B);
|
|
8564
8574
|
return W && K ? {
|
|
8565
8575
|
height: W.height,
|
|
@@ -8567,8 +8577,8 @@ function Cs(e, t, n, o) {
|
|
|
8567
8577
|
} : void 0;
|
|
8568
8578
|
}, []), g = H((P) => {
|
|
8569
8579
|
f.current = P;
|
|
8570
|
-
}, []), k =
|
|
8571
|
-
|
|
8580
|
+
}, []), k = xv(n.runtime.icons);
|
|
8581
|
+
Rv(n.stateChangeSlices, n.registerDesignTimeCommands);
|
|
8572
8582
|
const x = j(() => ({
|
|
8573
8583
|
catalog: n.runtime.catalog,
|
|
8574
8584
|
scope: Zn(t, t !== void 0),
|
|
@@ -8578,11 +8588,11 @@ function Cs(e, t, n, o) {
|
|
|
8578
8588
|
n,
|
|
8579
8589
|
t,
|
|
8580
8590
|
k
|
|
8581
|
-
]), O = j(() => bo(i.document, t), [i.document, t]), y = j(() =>
|
|
8591
|
+
]), O = j(() => bo(i.document, t), [i.document, t]), y = j(() => Ov(i.document, O.roots, x), [
|
|
8582
8592
|
i.document,
|
|
8583
8593
|
O,
|
|
8584
8594
|
x
|
|
8585
|
-
]), S = j(() =>
|
|
8595
|
+
]), S = j(() => Tv(y), [y]), w = Nt(i.document, t), T = j(() => pv(O.roots, Nv(w), S).filter((P) => P.containerId !== null), [
|
|
8586
8596
|
O,
|
|
8587
8597
|
w,
|
|
8588
8598
|
S
|
|
@@ -8591,7 +8601,7 @@ function Cs(e, t, n, o) {
|
|
|
8591
8601
|
c,
|
|
8592
8602
|
x
|
|
8593
8603
|
]), C = H((P, B) => {
|
|
8594
|
-
const W = s.current.current, K = l((
|
|
8604
|
+
const W = s.current.current, K = l((J) => fv(J, P, x, B));
|
|
8595
8605
|
return {
|
|
8596
8606
|
applied: K.undoable.length > W.undoable.length || K.document !== W.document,
|
|
8597
8607
|
diagnostics: K.diagnostics
|
|
@@ -8599,7 +8609,7 @@ function Cs(e, t, n, o) {
|
|
|
8599
8609
|
}, [l, x]), $ = H((P, B) => {
|
|
8600
8610
|
C(P, B);
|
|
8601
8611
|
}, [C]), U = H((P, B) => {
|
|
8602
|
-
const W = s.current.current, K = l((
|
|
8612
|
+
const W = s.current.current, K = l((J) => gv(J, P, x, B));
|
|
8603
8613
|
return {
|
|
8604
8614
|
applied: K.document !== W.document,
|
|
8605
8615
|
diagnostics: K.diagnostics
|
|
@@ -8610,12 +8620,12 @@ function Cs(e, t, n, o) {
|
|
|
8610
8620
|
parent: W,
|
|
8611
8621
|
index: B ?? K.length
|
|
8612
8622
|
};
|
|
8613
|
-
}, [w, O]), M =
|
|
8623
|
+
}, [w, O]), M = V(o);
|
|
8614
8624
|
M.current = o;
|
|
8615
|
-
const L = H((P, B, W, K,
|
|
8625
|
+
const L = H((P, B, W, K, J, de) => {
|
|
8616
8626
|
const Ue = D(B, W);
|
|
8617
8627
|
if (!Ue.parent) return;
|
|
8618
|
-
const ot = qe(bo(s.current.current.document, t).roots, Ue.parent), xs = ot && vt(ot) ? ys(P,
|
|
8628
|
+
const ot = qe(bo(s.current.current.document, t).roots, Ue.parent), xs = ot && vt(ot) ? ys(P, J ?? bs(Ss(ot, v))) : P;
|
|
8619
8629
|
C(ks(Ue.parent, Ue.index, xs, t), K).applied && (u(P.id), de && M.current?.(de));
|
|
8620
8630
|
}, [
|
|
8621
8631
|
C,
|
|
@@ -8624,11 +8634,11 @@ function Cs(e, t, n, o) {
|
|
|
8624
8634
|
v
|
|
8625
8635
|
]), N = H((P, B) => {
|
|
8626
8636
|
if (He(P.nodeId)) return te.NodeLocked;
|
|
8627
|
-
const W =
|
|
8628
|
-
if (K && !(K === te.NoChange && W && P.targetParentId ===
|
|
8637
|
+
const W = dv(O.roots, P, B, v), K = Sr(O.roots, P, S);
|
|
8638
|
+
if (K && !(K === te.NoChange && W && P.targetParentId === _v(O.roots, P.nodeId))) return K;
|
|
8629
8639
|
if (W) return U(W, "Move").applied ? void 0 : te.NodeLocked;
|
|
8630
|
-
const
|
|
8631
|
-
return
|
|
8640
|
+
const J = lv(P, t);
|
|
8641
|
+
return J ? C(J, "Move").applied ? void 0 : te.NodeLocked : te.TargetNotContainer;
|
|
8632
8642
|
}, [
|
|
8633
8643
|
O,
|
|
8634
8644
|
S,
|
|
@@ -8637,10 +8647,10 @@ function Cs(e, t, n, o) {
|
|
|
8637
8647
|
t
|
|
8638
8648
|
]), z = H((P, B) => {
|
|
8639
8649
|
l((W) => {
|
|
8640
|
-
const K = W.document.screens.map((
|
|
8641
|
-
...
|
|
8650
|
+
const K = W.document.screens.map((J) => J.name === "Screen" ? {
|
|
8651
|
+
...J,
|
|
8642
8652
|
forms: P
|
|
8643
|
-
} :
|
|
8653
|
+
} : J);
|
|
8644
8654
|
return De(W, {
|
|
8645
8655
|
...W.document,
|
|
8646
8656
|
screens: K
|
|
@@ -8648,18 +8658,18 @@ function Cs(e, t, n, o) {
|
|
|
8648
8658
|
});
|
|
8649
8659
|
}, [l]), Q = H((P, B, W) => {
|
|
8650
8660
|
l((K) => {
|
|
8651
|
-
const
|
|
8661
|
+
const J = K.document.screenTemplates.map((de) => de.name === P ? {
|
|
8652
8662
|
...de,
|
|
8653
8663
|
outlets: B
|
|
8654
8664
|
} : de);
|
|
8655
8665
|
return De(K, {
|
|
8656
8666
|
...K.document,
|
|
8657
|
-
screenTemplates:
|
|
8667
|
+
screenTemplates: J
|
|
8658
8668
|
}, W);
|
|
8659
8669
|
});
|
|
8660
8670
|
}, [l]), pe = H((P, B, W) => {
|
|
8661
8671
|
l((K) => {
|
|
8662
|
-
const
|
|
8672
|
+
const J = K.document.screenTemplates.map((de) => {
|
|
8663
8673
|
if (de.name !== P) return de;
|
|
8664
8674
|
const { metadata: Ue, ...ot } = de;
|
|
8665
8675
|
return B ? {
|
|
@@ -8669,7 +8679,7 @@ function Cs(e, t, n, o) {
|
|
|
8669
8679
|
});
|
|
8670
8680
|
return De(K, {
|
|
8671
8681
|
...K.document,
|
|
8672
|
-
screenTemplates:
|
|
8682
|
+
screenTemplates: J
|
|
8673
8683
|
}, W);
|
|
8674
8684
|
});
|
|
8675
8685
|
}, [l]), ce = H((P, B) => {
|
|
@@ -8677,20 +8687,20 @@ function Cs(e, t, n, o) {
|
|
|
8677
8687
|
...W.document,
|
|
8678
8688
|
dialogTemplates: P
|
|
8679
8689
|
}, B));
|
|
8680
|
-
}, [l]), me = H((P, B, W, K,
|
|
8681
|
-
l((de) => De(de, kr(de.document, P, (Ue) =>
|
|
8690
|
+
}, [l]), me = H((P, B, W, K, J) => {
|
|
8691
|
+
l((de) => De(de, kr(de.document, P, (Ue) => $v(Ue, B, W, K)), J));
|
|
8682
8692
|
}, [l]), xe = H((P, B) => {
|
|
8683
8693
|
const W = [...n.runtime.bundles.flatMap((K) => K.screenTemplates ?? []), ...n.ownTemplates ?? []];
|
|
8684
|
-
l((K) => De(K,
|
|
8694
|
+
l((K) => De(K, rv(K.document, P, W), B));
|
|
8685
8695
|
}, [
|
|
8686
8696
|
l,
|
|
8687
8697
|
n.runtime.bundles,
|
|
8688
8698
|
n.ownTemplates
|
|
8689
8699
|
]), _ = H((P, B, W) => {
|
|
8690
|
-
l((K) => De(K, kr(K.document, P, (
|
|
8691
|
-
B ?
|
|
8700
|
+
l((K) => De(K, kr(K.document, P, (J) => {
|
|
8701
|
+
B ? J.behaviors = B : delete J.behaviors;
|
|
8692
8702
|
}), W));
|
|
8693
|
-
}, [l]), ne = j(() => qi(i.document), [i.document]), fe = n.navigation?.structure ??
|
|
8703
|
+
}, [l]), ne = j(() => qi(i.document), [i.document]), fe = n.navigation?.structure ?? Dv, je = H((P, B) => {
|
|
8694
8704
|
const W = sl(qi(s.current.current.document), P);
|
|
8695
8705
|
return W.applied ? (l((K) => De(K, Vm(K.document, W.model), B)), { applied: !0 }) : {
|
|
8696
8706
|
applied: !1,
|
|
@@ -8732,7 +8742,7 @@ function Cs(e, t, n, o) {
|
|
|
8732
8742
|
remove: (P) => {
|
|
8733
8743
|
if (He(P) || !to(O.roots, P, S)) return;
|
|
8734
8744
|
const B = ga(O.roots, P, S);
|
|
8735
|
-
C(
|
|
8745
|
+
C(cv(P), "Remove").applied && u((W) => W === P || W === void 0 ? B : W);
|
|
8736
8746
|
},
|
|
8737
8747
|
canRemove: (P) => !He(P) && to(O.roots, P, S),
|
|
8738
8748
|
setProperty: (P, B) => c && $(so(c, P, B), "Change"),
|
|
@@ -8744,24 +8754,24 @@ function Cs(e, t, n, o) {
|
|
|
8744
8754
|
setElementBehaviors: _,
|
|
8745
8755
|
setScreenTemplate: xe,
|
|
8746
8756
|
markSaved: () => {
|
|
8747
|
-
l(
|
|
8757
|
+
l(kv);
|
|
8748
8758
|
},
|
|
8749
8759
|
undo: () => {
|
|
8750
|
-
l(
|
|
8760
|
+
l(yv);
|
|
8751
8761
|
},
|
|
8752
8762
|
redo: () => {
|
|
8753
|
-
l(
|
|
8763
|
+
l(wv);
|
|
8754
8764
|
},
|
|
8755
|
-
canUndo:
|
|
8756
|
-
canRedo:
|
|
8765
|
+
canUndo: vv(i),
|
|
8766
|
+
canRedo: bv(i),
|
|
8757
8767
|
isDirty: i.isDirty
|
|
8758
8768
|
};
|
|
8759
8769
|
}
|
|
8760
|
-
function
|
|
8770
|
+
function $v(e, t, n, o) {
|
|
8761
8771
|
const i = e.properties[t];
|
|
8762
|
-
Array.isArray(i) && (e.properties[t] = i.map((r) => Ts(r) && r.id === n ?
|
|
8772
|
+
Array.isArray(i) && (e.properties[t] = i.map((r) => Ts(r) && r.id === n ? Ev(r, o) : r));
|
|
8763
8773
|
}
|
|
8764
|
-
function
|
|
8774
|
+
function Ev(e, t) {
|
|
8765
8775
|
if (Ts(e.values)) {
|
|
8766
8776
|
const o = { ...e.values };
|
|
8767
8777
|
return t ? o.destination = t : delete o.destination, {
|
|
@@ -8778,14 +8788,14 @@ function Ts(e) {
|
|
|
8778
8788
|
var Cr = () => ({
|
|
8779
8789
|
width: window.innerWidth - 64,
|
|
8780
8790
|
height: window.innerHeight - 64
|
|
8781
|
-
}),
|
|
8791
|
+
}), S0 = (e) => /* @__PURE__ */ a(Ha, {
|
|
8782
8792
|
strings: e.strings,
|
|
8783
8793
|
subject: e.subject,
|
|
8784
8794
|
onClose: () => e.onDismiss?.(),
|
|
8785
|
-
children: /* @__PURE__ */ a(
|
|
8786
|
-
}),
|
|
8795
|
+
children: /* @__PURE__ */ a(Av, { ...e })
|
|
8796
|
+
}), Av = (e) => {
|
|
8787
8797
|
const t = j(() => Ua(e.subject, e.environment.runtime), [e.subject, e.environment.runtime]);
|
|
8788
|
-
return t.opened ? /* @__PURE__ */ a(
|
|
8798
|
+
return t.opened ? /* @__PURE__ */ a(Mv, {
|
|
8789
8799
|
...e,
|
|
8790
8800
|
opened: t.subject
|
|
8791
8801
|
}, e.environment.runtime.id) : /* @__PURE__ */ a(da, {
|
|
@@ -8799,8 +8809,8 @@ var Cr = () => ({
|
|
|
8799
8809
|
onClose: () => n.close()
|
|
8800
8810
|
})
|
|
8801
8811
|
});
|
|
8802
|
-
},
|
|
8803
|
-
const g =
|
|
8812
|
+
}, Mv = ({ subject: e, environment: t, strings: n, layoutLabels: o, icons: i, paletteSources: r, sourceRect: s, initialSize: l, rememberWindowAs: c, windowMemory: u, centerOffsetX: d, renderPaletteHost: p, onClose: m, onBeforeClose: h, onPreview: f, opened: v }) => {
|
|
8813
|
+
const g = V(void 0), k = Cs(v, e.authoringTemplate, t, (L) => g.current?.(L)), x = j(() => u ?? rf(), [u]), O = j(() => lf({
|
|
8804
8814
|
remembered: c ? x.read(c) : void 0,
|
|
8805
8815
|
saved: l,
|
|
8806
8816
|
lastUsed: x.readLastUsed()
|
|
@@ -8872,7 +8882,7 @@ var Cr = () => ({
|
|
|
8872
8882
|
g.current = D;
|
|
8873
8883
|
function M(L) {
|
|
8874
8884
|
if (!Zo(L)) return;
|
|
8875
|
-
const N = k.selection &&
|
|
8885
|
+
const N = k.selection && Fv(k) ? k.selectedId : void 0;
|
|
8876
8886
|
L.kind === "layout" ? k.insertLayout(L.item, N, void 0) : k.insertComponent(ei(L.componentName, L.package), N, void 0);
|
|
8877
8887
|
}
|
|
8878
8888
|
return /* @__PURE__ */ b(Ja, {
|
|
@@ -8923,11 +8933,11 @@ var Cr = () => ({
|
|
|
8923
8933
|
})]
|
|
8924
8934
|
});
|
|
8925
8935
|
};
|
|
8926
|
-
function
|
|
8936
|
+
function Fv(e) {
|
|
8927
8937
|
return !!e.selection && "children" in e.selection;
|
|
8928
8938
|
}
|
|
8929
8939
|
var ct = (e) => typeof e == "object" && e !== null && !Array.isArray(e);
|
|
8930
|
-
function
|
|
8940
|
+
function Lv(e, t) {
|
|
8931
8941
|
if (!t) return e;
|
|
8932
8942
|
const n = { ...e };
|
|
8933
8943
|
for (const [o, i] of Object.entries(t)) {
|
|
@@ -8946,7 +8956,7 @@ function Mv(e, t) {
|
|
|
8946
8956
|
var dt = "p-anchored-overlay", Qt = "p-collapsible", qn = "p-overlay-mask", R = (e, t) => ({ props: t ? {
|
|
8947
8957
|
styles: e,
|
|
8948
8958
|
motionProps: { name: t }
|
|
8949
|
-
} : { styles: e } }), he = (e) => ({ props: { motionProps: { name: e } } }),
|
|
8959
|
+
} : { styles: e } }), he = (e) => ({ props: { motionProps: { name: e } } }), Bv = {
|
|
8950
8960
|
"Accordion.Root": R(od, Qt),
|
|
8951
8961
|
"AutoComplete.Root": R(id),
|
|
8952
8962
|
"AutoComplete.Popup": he(dt),
|
|
@@ -9034,29 +9044,29 @@ var dt = "p-anchored-overlay", Qt = "p-collapsible", qn = "p-overlay-mask", R =
|
|
|
9034
9044
|
"Tooltip.Root": R(Su),
|
|
9035
9045
|
"Tooltip.Popup": he("p-tooltip"),
|
|
9036
9046
|
"Tree.Root": R(Cu)
|
|
9037
|
-
},
|
|
9038
|
-
const o = Zl(
|
|
9047
|
+
}, jv = bi.find((e) => e.name === "lara-light-blue") ?? bi[0], C0 = ({ defaults: e, theme: t, ...n }) => {
|
|
9048
|
+
const o = Zl(jv);
|
|
9039
9049
|
return /* @__PURE__ */ a(nd, {
|
|
9040
9050
|
...n,
|
|
9041
9051
|
theme: t ?? o?.theme,
|
|
9042
|
-
defaults:
|
|
9052
|
+
defaults: Lv(Bv, e)
|
|
9043
9053
|
});
|
|
9044
|
-
},
|
|
9054
|
+
}, T0 = (e) => /* @__PURE__ */ a(Ha, {
|
|
9045
9055
|
strings: e.strings,
|
|
9046
9056
|
subject: e.subject,
|
|
9047
9057
|
onClose: e.onDismiss,
|
|
9048
|
-
children: /* @__PURE__ */ a(
|
|
9049
|
-
}),
|
|
9058
|
+
children: /* @__PURE__ */ a(Uv, { ...e })
|
|
9059
|
+
}), Uv = (e) => {
|
|
9050
9060
|
const t = j(() => Ua(e.subject, e.environment.runtime), [e.subject, e.environment.runtime]);
|
|
9051
|
-
return t.opened ? /* @__PURE__ */ a(
|
|
9061
|
+
return t.opened ? /* @__PURE__ */ a(zv, {
|
|
9052
9062
|
...e,
|
|
9053
9063
|
opened: t.subject
|
|
9054
9064
|
}, e.environment.runtime.id) : /* @__PURE__ */ a(qa, {
|
|
9055
9065
|
problem: t.problem,
|
|
9056
9066
|
strings: e.strings
|
|
9057
9067
|
});
|
|
9058
|
-
},
|
|
9059
|
-
const d =
|
|
9068
|
+
}, zv = ({ subject: e, environment: t, strings: n, layoutLabels: o, icons: i, paletteSources: r, initialSize: s, onChange: l, renderPaletteHost: c, opened: u }) => {
|
|
9069
|
+
const d = V(void 0), p = Cs(u, e.authoringTemplate, t, (y) => d.current?.(y)), [m, h] = F(s ?? yn[Xe.Desktop]), [f, v] = F(!0), g = V(l);
|
|
9060
9070
|
g.current = l, ie(() => {
|
|
9061
9071
|
const y = Nt(p.document, e.authoringTemplate);
|
|
9062
9072
|
g.current?.({
|
|
@@ -9138,7 +9148,7 @@ var dt = "p-anchored-overlay", Qt = "p-collapsible", qn = "p-overlay-mask", R =
|
|
|
9138
9148
|
})
|
|
9139
9149
|
});
|
|
9140
9150
|
};
|
|
9141
|
-
function
|
|
9151
|
+
function Wv(e) {
|
|
9142
9152
|
const t = {
|
|
9143
9153
|
"row.id": "Guid",
|
|
9144
9154
|
"selection.id": "Guid"
|
|
@@ -9146,19 +9156,19 @@ function Uv(e) {
|
|
|
9146
9156
|
for (const n of e) for (const o of n.parameters) t[`route.${o.name}`] ??= o.type;
|
|
9147
9157
|
return t;
|
|
9148
9158
|
}
|
|
9149
|
-
var
|
|
9150
|
-
function
|
|
9151
|
-
return e.filter((t) =>
|
|
9159
|
+
var Kv = new Set(Object.values(el)), Hv = new Set(Object.values(Xs));
|
|
9160
|
+
function qv(e) {
|
|
9161
|
+
return e.filter((t) => Kv.has(t.resultShape) && t.origin.every((n) => Hv.has(n.kind))).map((t) => t);
|
|
9152
9162
|
}
|
|
9153
|
-
function
|
|
9154
|
-
const t =
|
|
9163
|
+
function N0(e) {
|
|
9164
|
+
const t = qv(e.queryCandidates ?? []);
|
|
9155
9165
|
return {
|
|
9156
9166
|
runtime: e.runtime,
|
|
9157
9167
|
queryCandidates: t,
|
|
9158
9168
|
stateChangeSlices: e.stateChangeSlices ?? [],
|
|
9159
9169
|
destinations: e.destinations ?? [],
|
|
9160
9170
|
...e.registerDesignTimeCommands ? { registerDesignTimeCommands: e.registerDesignTimeCommands } : {},
|
|
9161
|
-
availableSources:
|
|
9171
|
+
availableSources: Wv(t),
|
|
9162
9172
|
...e.richText === !1 ? {} : { richText: e.richText ?? Tu },
|
|
9163
9173
|
...e.fileUpload ? { fileUpload: e.fileUpload } : {},
|
|
9164
9174
|
...e.templateScope ? { templateScope: e.templateScope } : {},
|
|
@@ -9167,40 +9177,40 @@ function C0(e) {
|
|
|
9167
9177
|
...e.location ? { location: e.location } : {}
|
|
9168
9178
|
};
|
|
9169
9179
|
}
|
|
9170
|
-
var
|
|
9171
|
-
function
|
|
9180
|
+
var Gv = [.../* @__PURE__ */ new Set([...hn.ids, ...Object.values(X)])];
|
|
9181
|
+
function Vv(e, t) {
|
|
9172
9182
|
return Gl({
|
|
9173
9183
|
bundles: e,
|
|
9174
|
-
profile:
|
|
9184
|
+
profile: Jv(e, t),
|
|
9175
9185
|
policy: {
|
|
9176
9186
|
allowExecutableImports: !0,
|
|
9177
9187
|
allowNetworkAssets: !1,
|
|
9178
9188
|
loadDesignTime: !0
|
|
9179
9189
|
}
|
|
9180
|
-
}, { hostEditorKinds: [...
|
|
9190
|
+
}, { hostEditorKinds: [...Gv] });
|
|
9181
9191
|
}
|
|
9182
|
-
function
|
|
9192
|
+
function Jv(e, t) {
|
|
9183
9193
|
const n = new Set(t.packages);
|
|
9184
9194
|
return !t.layout || e.some((o) => n.has(o.manifest.name) && (o.layouts ?? []).some((i) => i.name === t.layout)) ? t : {
|
|
9185
9195
|
...t,
|
|
9186
9196
|
layout: void 0
|
|
9187
9197
|
};
|
|
9188
9198
|
}
|
|
9189
|
-
function
|
|
9199
|
+
function Qv(e) {
|
|
9190
9200
|
return e.flatMap((t) => t.iconLibrary ? [t.iconLibrary.catalog] : []);
|
|
9191
9201
|
}
|
|
9192
|
-
function
|
|
9202
|
+
function Yv(e, t) {
|
|
9193
9203
|
const n = Sl(e, t.map((o) => o.manifest));
|
|
9194
|
-
return new ol(n,
|
|
9204
|
+
return new ol(n, Qv(t));
|
|
9195
9205
|
}
|
|
9196
|
-
function
|
|
9206
|
+
function Zv(e) {
|
|
9197
9207
|
const t = Bl([e]), n = t.packages.filter((o) => o !== "PrimeReact");
|
|
9198
9208
|
return n.splice(Math.max(n.indexOf(Kr), 0), 0, "PrimeReact"), {
|
|
9199
9209
|
...t,
|
|
9200
9210
|
packages: n
|
|
9201
9211
|
};
|
|
9202
9212
|
}
|
|
9203
|
-
var
|
|
9213
|
+
var Xv = [
|
|
9204
9214
|
"PrimeReact.Accordion",
|
|
9205
9215
|
"PrimeReact.AutoComplete",
|
|
9206
9216
|
"PrimeReact.Avatar",
|
|
@@ -9303,7 +9313,7 @@ var Yv = [
|
|
|
9303
9313
|
"itemsControl",
|
|
9304
9314
|
"stackPanel",
|
|
9305
9315
|
"wrapPanel"
|
|
9306
|
-
],
|
|
9316
|
+
], eb = ["PrimeReact.Dialog"], tb = new Set(Xv.filter((e) => !eb.includes(e))), nb = [
|
|
9307
9317
|
{
|
|
9308
9318
|
value: be.None,
|
|
9309
9319
|
label: "Run directly"
|
|
@@ -9317,7 +9327,7 @@ var Yv = [
|
|
|
9317
9327
|
label: "Ask in a drawer"
|
|
9318
9328
|
}
|
|
9319
9329
|
];
|
|
9320
|
-
function
|
|
9330
|
+
function ob(e) {
|
|
9321
9331
|
return !e.component.endsWith(":action") || e.properties.some((t) => t.path === "presentation") ? e : {
|
|
9322
9332
|
...e,
|
|
9323
9333
|
properties: [...e.properties, {
|
|
@@ -9326,13 +9336,13 @@ function tb(e) {
|
|
|
9326
9336
|
group: "Behavior",
|
|
9327
9337
|
valueType: G.Enum,
|
|
9328
9338
|
default: be.None,
|
|
9329
|
-
choices:
|
|
9339
|
+
choices: nb,
|
|
9330
9340
|
description: "Whether the command runs straight away or first asks for its input in a dialog or a drawer."
|
|
9331
9341
|
}]
|
|
9332
9342
|
};
|
|
9333
9343
|
}
|
|
9334
|
-
var
|
|
9335
|
-
function li(e, t, n =
|
|
9344
|
+
var ib = (e) => e.replace(/([A-Z])/g, " $1").replace(/^./, (t) => t.toUpperCase()), rb = (e) => /ies$/i.test(e) ? `${e.slice(0, -3)}y` : /(ss|us)$/i.test(e) || !/s$/i.test(e) ? e : e.slice(0, -1), Ns = (e) => e !== null && typeof e == "object" && !Array.isArray(e);
|
|
9345
|
+
function li(e, t, n = ib(e)) {
|
|
9336
9346
|
const o = {
|
|
9337
9347
|
path: e,
|
|
9338
9348
|
label: n,
|
|
@@ -9344,7 +9354,7 @@ function li(e, t, n = nb(e)) {
|
|
|
9344
9354
|
} : typeof t == "boolean" ? {
|
|
9345
9355
|
...o,
|
|
9346
9356
|
valueType: G.Boolean
|
|
9347
|
-
} : Array.isArray(t) ?
|
|
9357
|
+
} : Array.isArray(t) ? sb(o, t) : Ns(t) ? {
|
|
9348
9358
|
...o,
|
|
9349
9359
|
valueType: G.Object,
|
|
9350
9360
|
properties: Is(t),
|
|
@@ -9355,12 +9365,12 @@ function li(e, t, n = nb(e)) {
|
|
|
9355
9365
|
};
|
|
9356
9366
|
}
|
|
9357
9367
|
function Is(e, t = []) {
|
|
9358
|
-
return Object.entries(e).filter(([n]) => !t.includes(n)).map(([n, o]) =>
|
|
9368
|
+
return Object.entries(e).filter(([n]) => !t.includes(n)).map(([n, o]) => ab(n, o));
|
|
9359
9369
|
}
|
|
9360
|
-
function
|
|
9370
|
+
function ab(e, t) {
|
|
9361
9371
|
return li(e, t);
|
|
9362
9372
|
}
|
|
9363
|
-
function
|
|
9373
|
+
function sb(e, t) {
|
|
9364
9374
|
if (t.length > 0 && t.every((o) => typeof o == "string")) return {
|
|
9365
9375
|
...e,
|
|
9366
9376
|
valueType: G.Json,
|
|
@@ -9377,17 +9387,17 @@ function rb(e, t) {
|
|
|
9377
9387
|
...e,
|
|
9378
9388
|
valueType: G.Collection,
|
|
9379
9389
|
item: {
|
|
9380
|
-
label:
|
|
9390
|
+
label: rb(e.label),
|
|
9381
9391
|
properties: Is(n, ["id"]),
|
|
9382
9392
|
open: !0
|
|
9383
9393
|
}
|
|
9384
9394
|
};
|
|
9385
9395
|
}
|
|
9386
|
-
var
|
|
9387
|
-
function
|
|
9396
|
+
var lb = (e) => e.valueType === G.Json && e.editorKind === void 0;
|
|
9397
|
+
function cb(e) {
|
|
9388
9398
|
const t = si(e.component, e.component.slice(e.component.lastIndexOf(":") + 1));
|
|
9389
9399
|
if (!t) return e;
|
|
9390
|
-
const n = new Set(e.properties.map((r) => r.path)), o = e.properties.map((r) =>
|
|
9400
|
+
const n = new Set(e.properties.map((r) => r.path)), o = e.properties.map((r) => lb(r) && r.path in t ? db(r, t[r.path]) : r), i = Object.entries(t).filter(([r]) => !n.has(r)).map(([r, s]) => ({
|
|
9391
9401
|
...li(r, s),
|
|
9392
9402
|
description: "Shown as sample content on the design surface until you set it."
|
|
9393
9403
|
}));
|
|
@@ -9396,7 +9406,7 @@ function sb(e) {
|
|
|
9396
9406
|
properties: [...o, ...i]
|
|
9397
9407
|
} : e;
|
|
9398
9408
|
}
|
|
9399
|
-
function
|
|
9409
|
+
function db(e, t) {
|
|
9400
9410
|
const { editorKind: n, item: o, properties: i, choices: r, ...s } = e, l = li(e.path, t);
|
|
9401
9411
|
return {
|
|
9402
9412
|
...l,
|
|
@@ -9404,7 +9414,7 @@ function lb(e, t) {
|
|
|
9404
9414
|
valueType: l.valueType
|
|
9405
9415
|
};
|
|
9406
9416
|
}
|
|
9407
|
-
var Tr = "Placement",
|
|
9417
|
+
var Tr = "Placement", ub = [{
|
|
9408
9418
|
path: et,
|
|
9409
9419
|
label: "Left",
|
|
9410
9420
|
group: Tr,
|
|
@@ -9415,33 +9425,33 @@ var Tr = "Placement", cb = [{
|
|
|
9415
9425
|
group: Tr,
|
|
9416
9426
|
valueType: G.Number
|
|
9417
9427
|
}];
|
|
9418
|
-
function
|
|
9428
|
+
function pb(e) {
|
|
9419
9429
|
const t = new Set(e.properties.map((n) => n.path));
|
|
9420
9430
|
return {
|
|
9421
9431
|
...e,
|
|
9422
|
-
properties: [...e.properties, ...
|
|
9432
|
+
properties: [...e.properties, ...ub.filter((n) => !t.has(n.path))]
|
|
9423
9433
|
};
|
|
9424
9434
|
}
|
|
9425
|
-
var Nr = "PrimeReact",
|
|
9426
|
-
function
|
|
9435
|
+
var Nr = "PrimeReact", mb = 1;
|
|
9436
|
+
function hb(e, t, n) {
|
|
9427
9437
|
const o = un(e.map((p) => p.manifest)), i = e.flatMap((p) => p.descriptors ?? []), r = new Set(i.map((p) => p.component)), s = e.flatMap((p) => p.manifest.components.map((m) => ({
|
|
9428
9438
|
component: _t(p.manifest.name, m),
|
|
9429
9439
|
displayName: m,
|
|
9430
9440
|
properties: []
|
|
9431
|
-
}))).filter((p) => !r.has(p.component)), l = [...i, ...s].map(
|
|
9441
|
+
}))).filter((p) => !r.has(p.component)), l = [...i, ...s].map(ob).map(cb).map(pb), c = [...l, ...fb(l, o, t)], u = new Set(Object.values(o).flat()), d = new Map(l.map((p) => [p.component, p]));
|
|
9432
9442
|
return {
|
|
9433
|
-
id:
|
|
9443
|
+
id: mb++,
|
|
9434
9444
|
bundles: e,
|
|
9435
9445
|
registry: Qr(e),
|
|
9436
9446
|
packages: o,
|
|
9437
9447
|
descriptors: c,
|
|
9438
9448
|
catalog: ul(c),
|
|
9439
9449
|
profile: t,
|
|
9440
|
-
compositionProfile:
|
|
9450
|
+
compositionProfile: Zv(t),
|
|
9441
9451
|
...n ? { appearance: n } : {},
|
|
9442
|
-
icons:
|
|
9452
|
+
icons: Yv(t.packages, e),
|
|
9443
9453
|
iconAdapters: ql(e),
|
|
9444
|
-
designTime:
|
|
9454
|
+
designTime: Vv(e, t),
|
|
9445
9455
|
packageDescriptorOf: (p) => {
|
|
9446
9456
|
if (p.component.includes(":")) return p;
|
|
9447
9457
|
const m = Ft(p.component, t, o);
|
|
@@ -9450,11 +9460,11 @@ function pb(e, t, n) {
|
|
|
9450
9460
|
isKnownComponent: (p) => u.has(p),
|
|
9451
9461
|
legacyTypeOf: (p) => {
|
|
9452
9462
|
const m = Uh(p, t, o), h = m?.package === Nr ? `${Nr}.${pa(m.name)}` : void 0;
|
|
9453
|
-
return h !== void 0 &&
|
|
9463
|
+
return h !== void 0 && tb.has(h) ? h : void 0;
|
|
9454
9464
|
}
|
|
9455
9465
|
};
|
|
9456
9466
|
}
|
|
9457
|
-
function
|
|
9467
|
+
function fb(e, t, n) {
|
|
9458
9468
|
const o = [];
|
|
9459
9469
|
for (const i of new Set(Object.values(t).flat())) {
|
|
9460
9470
|
const r = Ft(i, n, t), s = r && e.find((l) => l.component === _t(r.package, r.name));
|
|
@@ -9465,7 +9475,7 @@ function mb(e, t, n) {
|
|
|
9465
9475
|
}
|
|
9466
9476
|
return o;
|
|
9467
9477
|
}
|
|
9468
|
-
var ci = "Cratis.Icons.Lucide",
|
|
9478
|
+
var ci = "Cratis.Icons.Lucide", gb = {
|
|
9469
9479
|
name: ci,
|
|
9470
9480
|
version: "1.52.0",
|
|
9471
9481
|
kind: Qe.IconLibrary,
|
|
@@ -9487,20 +9497,20 @@ var ci = "Cratis.Icons.Lucide", hb = {
|
|
|
9487
9497
|
attributionUrl: "https://lucide.dev",
|
|
9488
9498
|
iconCount: 1858
|
|
9489
9499
|
}
|
|
9490
|
-
},
|
|
9500
|
+
}, vb = {
|
|
9491
9501
|
library: ci,
|
|
9492
9502
|
loadEntries: async () => (await import("./catalog-CZx3FR-E.js")).default
|
|
9493
|
-
},
|
|
9503
|
+
}, bb = Mu, yb = {
|
|
9494
9504
|
library: ci,
|
|
9495
|
-
loadGlyph: async ({ key: e }) => (await
|
|
9496
|
-
},
|
|
9497
|
-
manifest:
|
|
9505
|
+
loadGlyph: async ({ key: e }) => (await bb[e]?.())?.default
|
|
9506
|
+
}, wb = {
|
|
9507
|
+
manifest: gb,
|
|
9498
9508
|
components: {},
|
|
9499
9509
|
iconLibrary: {
|
|
9500
|
-
catalog:
|
|
9501
|
-
adapter:
|
|
9510
|
+
catalog: vb,
|
|
9511
|
+
adapter: yb
|
|
9502
9512
|
}
|
|
9503
|
-
},
|
|
9513
|
+
}, kb = [
|
|
9504
9514
|
Nu,
|
|
9505
9515
|
Iu,
|
|
9506
9516
|
Pu,
|
|
@@ -9519,10 +9529,10 @@ var ci = "Cratis.Icons.Lucide", hb = {
|
|
|
9519
9529
|
sa,
|
|
9520
9530
|
Wr,
|
|
9521
9531
|
ca,
|
|
9522
|
-
...
|
|
9523
|
-
|
|
9524
|
-
],
|
|
9525
|
-
function
|
|
9532
|
+
...kb,
|
|
9533
|
+
wb
|
|
9534
|
+
], Sb = kt.map((e) => e.manifest), I0 = Qr(kt), P0 = un(Sb), O0 = kt.flatMap((e) => e.themes ?? []);
|
|
9535
|
+
function Cb(e) {
|
|
9526
9536
|
const t = ll(e).map((i) => i.name), n = vi(e, Qe.Styling).map((i) => i.name), o = vi(e, Qe.Blueprint)[0];
|
|
9527
9537
|
return o ? [
|
|
9528
9538
|
...t,
|
|
@@ -9535,16 +9545,16 @@ var Ps = (e) => e === void 0 || e.activePack === "" && e.mappings.length === 0 ?
|
|
|
9535
9545
|
mappings: e.mappings.map((t) => ({ ...t })),
|
|
9536
9546
|
bindings: []
|
|
9537
9547
|
};
|
|
9538
|
-
function
|
|
9548
|
+
function Tb(e, t) {
|
|
9539
9549
|
return t.filter((n) => fl(n, e));
|
|
9540
9550
|
}
|
|
9541
|
-
function
|
|
9551
|
+
function Nb(e, t) {
|
|
9542
9552
|
return [...new Set(Object.values(t).flat())].map((n) => Ft(n, e, t)).filter((n) => n !== void 0 && n.shadows.length > 0).sort((n, o) => n.name.localeCompare(o.name));
|
|
9543
9553
|
}
|
|
9544
9554
|
var Gn = /* @__PURE__ */ (function(e) {
|
|
9545
9555
|
return e.Fallback = "fallback", e.Explicit = "explicit", e.Automatic = "automatic", e;
|
|
9546
9556
|
})({});
|
|
9547
|
-
function
|
|
9557
|
+
function Ib(e) {
|
|
9548
9558
|
const t = [
|
|
9549
9559
|
No,
|
|
9550
9560
|
...e.packages,
|
|
@@ -9554,17 +9564,17 @@ function Tb(e) {
|
|
|
9554
9564
|
];
|
|
9555
9565
|
return [...new Set(t.filter((n) => n.length > 0))];
|
|
9556
9566
|
}
|
|
9557
|
-
function
|
|
9567
|
+
function Pb(e, t) {
|
|
9558
9568
|
return e.find((n) => n.manifest.name === t)?.manifest.layouts[0] ?? "";
|
|
9559
9569
|
}
|
|
9560
|
-
function
|
|
9570
|
+
function Ob(e, t) {
|
|
9561
9571
|
const n = e.root?.template;
|
|
9562
9572
|
if (!(n?.source !== Dt.Blueprint || n.blueprint === void 0))
|
|
9563
9573
|
return t.find((o) => o.manifest.name === n.blueprint)?.manifest.layouts.includes(n.id) ? n.id : void 0;
|
|
9564
9574
|
}
|
|
9565
9575
|
var Os = "UI Profile";
|
|
9566
9576
|
function di(e, t) {
|
|
9567
|
-
const n = t.map((c) => c.manifest), o =
|
|
9577
|
+
const n = t.map((c) => c.manifest), o = Ib(e), i = Cl(o, n), r = Ob(e, t) ?? Pb(t, e.shell), s = {
|
|
9568
9578
|
name: Os,
|
|
9569
9579
|
targetPlatform: "web",
|
|
9570
9580
|
packages: i.packages,
|
|
@@ -9572,7 +9582,7 @@ function di(e, t) {
|
|
|
9572
9582
|
...e.root ? { root: e.root } : {},
|
|
9573
9583
|
theme: e.theme.length > 0 ? e.theme : void 0,
|
|
9574
9584
|
sampleData: Ps(e.sampleData),
|
|
9575
|
-
appearance:
|
|
9585
|
+
appearance: xb(e),
|
|
9576
9586
|
...e.identity === void 0 ? {} : { identity: e.identity }
|
|
9577
9587
|
}, l = new Set(o);
|
|
9578
9588
|
return {
|
|
@@ -9590,13 +9600,13 @@ function di(e, t) {
|
|
|
9590
9600
|
requiredBy: n.filter((d) => i.packages.includes(d.name) && d.dependencies.some((p) => p.name === c)).map((d) => d.name)
|
|
9591
9601
|
}] : [];
|
|
9592
9602
|
}),
|
|
9593
|
-
collisions:
|
|
9594
|
-
compatibleThemes:
|
|
9603
|
+
collisions: Nb(s, un(n)),
|
|
9604
|
+
compatibleThemes: Tb(s, t.flatMap((c) => c.themes ?? [])),
|
|
9595
9605
|
layout: r,
|
|
9596
9606
|
isValid: hl(i)
|
|
9597
9607
|
};
|
|
9598
9608
|
}
|
|
9599
|
-
function
|
|
9609
|
+
function xb(e) {
|
|
9600
9610
|
const t = {
|
|
9601
9611
|
...e.colorScheme === "dark" ? { colorScheme: Js.Dark } : {},
|
|
9602
9612
|
...e.accent.length > 0 ? { accent: e.accent } : {},
|
|
@@ -9605,7 +9615,7 @@ function Pb(e) {
|
|
|
9605
9615
|
};
|
|
9606
9616
|
return Object.keys(t).length === 0 ? void 0 : t;
|
|
9607
9617
|
}
|
|
9608
|
-
function
|
|
9618
|
+
function Rb(e, t) {
|
|
9609
9619
|
const n = e.profile.root ?? { template: {
|
|
9610
9620
|
source: Dt.Own,
|
|
9611
9621
|
id: e.layout.length > 0 ? e.layout : "AppShell"
|
|
@@ -9622,8 +9632,8 @@ function Ob(e, t) {
|
|
|
9622
9632
|
}
|
|
9623
9633
|
};
|
|
9624
9634
|
}
|
|
9625
|
-
function
|
|
9626
|
-
const t = e.map((s) => s.manifest), n =
|
|
9635
|
+
function Db(e) {
|
|
9636
|
+
const t = e.map((s) => s.manifest), n = Cb(t), o = n.find((s) => t.find((l) => l.name === s)?.kind === Qe.Blueprint) ?? "", i = {
|
|
9627
9637
|
packages: n.filter((s) => s !== o && s !== No),
|
|
9628
9638
|
shell: o,
|
|
9629
9639
|
templatePacks: [],
|
|
@@ -9638,7 +9648,7 @@ function xb(e) {
|
|
|
9638
9648
|
theme: r?.name ?? ""
|
|
9639
9649
|
};
|
|
9640
9650
|
}
|
|
9641
|
-
function
|
|
9651
|
+
function _b(e, t) {
|
|
9642
9652
|
return {
|
|
9643
9653
|
name: Os,
|
|
9644
9654
|
targetPlatform: "web",
|
|
@@ -9648,7 +9658,7 @@ function Rb(e, t) {
|
|
|
9648
9658
|
sampleData: Ps(t)
|
|
9649
9659
|
};
|
|
9650
9660
|
}
|
|
9651
|
-
function
|
|
9661
|
+
function $b(e, t, n) {
|
|
9652
9662
|
const o = n?.find((r) => r.manifest.name === e.shell)?.manifest.layouts[0], i = e.layout.length > 0 && o !== void 0 && e.layout !== o && n?.find((r) => r.manifest.name === e.shell)?.manifest.layouts.includes(e.layout);
|
|
9653
9663
|
return {
|
|
9654
9664
|
packages: [...e.packages],
|
|
@@ -9670,10 +9680,10 @@ function Db(e, t, n) {
|
|
|
9670
9680
|
} } : {}
|
|
9671
9681
|
};
|
|
9672
9682
|
}
|
|
9673
|
-
function
|
|
9683
|
+
function Eb(e, t) {
|
|
9674
9684
|
const n = t?.template;
|
|
9675
9685
|
if (t === void 0 || n === void 0 || n.source.length === 0 || n.id.length === 0) return e;
|
|
9676
|
-
const o =
|
|
9686
|
+
const o = Ab(t.optionsJson), i = yl(o.navigationMode), r = qr.find((l) => l === bl.find((c) => c.id === i)?.legacy), s = typeof o.menuTheme == "string" && [
|
|
9677
9687
|
"light",
|
|
9678
9688
|
"dark",
|
|
9679
9689
|
"primary"
|
|
@@ -9694,7 +9704,7 @@ function _b(e, t) {
|
|
|
9694
9704
|
...s === void 0 ? {} : { menuTheme: s }
|
|
9695
9705
|
};
|
|
9696
9706
|
}
|
|
9697
|
-
function
|
|
9707
|
+
function Ab(e) {
|
|
9698
9708
|
if (!e) return {};
|
|
9699
9709
|
try {
|
|
9700
9710
|
const t = JSON.parse(e);
|
|
@@ -9703,17 +9713,17 @@ function $b(e) {
|
|
|
9703
9713
|
return {};
|
|
9704
9714
|
}
|
|
9705
9715
|
}
|
|
9706
|
-
var
|
|
9716
|
+
var Mb = {
|
|
9707
9717
|
initials: Cn.Initials,
|
|
9708
9718
|
icon: Cn.Icon,
|
|
9709
9719
|
image: Cn.Image
|
|
9710
|
-
},
|
|
9720
|
+
}, Fb = {
|
|
9711
9721
|
sharp: kn.Sharp,
|
|
9712
9722
|
default: kn.Default,
|
|
9713
9723
|
round: kn.Round
|
|
9714
9724
|
};
|
|
9715
|
-
function
|
|
9716
|
-
const t =
|
|
9725
|
+
function Lb(e) {
|
|
9726
|
+
const t = Mb[e.logoKind], n = t !== void 0 || e.initials !== "" || e.icon !== "" || e.image !== "";
|
|
9717
9727
|
if (!(e.name === "" && !n && e.showName))
|
|
9718
9728
|
return {
|
|
9719
9729
|
...e.name === "" ? {} : { name: e.name },
|
|
@@ -9726,9 +9736,9 @@ function Mb(e) {
|
|
|
9726
9736
|
...e.showName ? {} : { showName: !1 }
|
|
9727
9737
|
};
|
|
9728
9738
|
}
|
|
9729
|
-
function
|
|
9739
|
+
function Bb(e, t) {
|
|
9730
9740
|
if (t == null) return e;
|
|
9731
|
-
const n = t.identity === void 0 ? void 0 :
|
|
9741
|
+
const n = t.identity === void 0 ? void 0 : Lb(t.identity), o = Fb[t.corners];
|
|
9732
9742
|
return {
|
|
9733
9743
|
...e,
|
|
9734
9744
|
...n === void 0 ? {} : { identity: n },
|
|
@@ -9736,9 +9746,9 @@ function Fb(e, t) {
|
|
|
9736
9746
|
...t.font === "" || t.font === void 0 ? {} : { font: t.font }
|
|
9737
9747
|
};
|
|
9738
9748
|
}
|
|
9739
|
-
function
|
|
9749
|
+
function jb(e, t, n, o, i = kt) {
|
|
9740
9750
|
if (n === void 0 || n.root === void 0 && (n.style === void 0 || n.style === null)) return e;
|
|
9741
|
-
const r =
|
|
9751
|
+
const r = Bb(Eb($b(t, o), n.root), n.style), s = di(r, i), l = Rb(s, r);
|
|
9742
9752
|
return {
|
|
9743
9753
|
...e,
|
|
9744
9754
|
...l.appearance === void 0 ? {} : { appearance: l.appearance },
|
|
@@ -9746,11 +9756,11 @@ function Lb(e, t, n, o, i = kt) {
|
|
|
9746
9756
|
...l.root === void 0 ? {} : { root: l.root }
|
|
9747
9757
|
};
|
|
9748
9758
|
}
|
|
9749
|
-
function
|
|
9750
|
-
const r = e ?
|
|
9751
|
-
return
|
|
9759
|
+
function x0(e, t = kt, n, o, i) {
|
|
9760
|
+
const r = e ? jb(_b(e, o), e, i, o, t) : di(Db(t), t).profile;
|
|
9761
|
+
return hb(t, r, n);
|
|
9752
9762
|
}
|
|
9753
|
-
function
|
|
9763
|
+
function Ub(e, t) {
|
|
9754
9764
|
const n = bo(e), o = Ro(e, {
|
|
9755
9765
|
kind: an.Screen,
|
|
9756
9766
|
name: le
|
|
@@ -9760,8 +9770,8 @@ function Bb(e, t) {
|
|
|
9760
9770
|
configuration: i
|
|
9761
9771
|
};
|
|
9762
9772
|
}
|
|
9763
|
-
var
|
|
9764
|
-
const { element: i, configuration: r } = j(() =>
|
|
9773
|
+
var zb = ({ document: e, runtime: t, resolveBinding: n, registry: o = t.registry }) => {
|
|
9774
|
+
const { element: i, configuration: r } = j(() => Ub(e, t.catalog), [e, t.catalog]), s = j(() => Eo(i, t.compositionProfile, t.packages), [
|
|
9765
9775
|
i,
|
|
9766
9776
|
t.compositionProfile,
|
|
9767
9777
|
t.packages
|
|
@@ -9782,12 +9792,12 @@ var jb = ({ document: e, runtime: t, resolveBinding: n, registry: o = t.registry
|
|
|
9782
9792
|
})
|
|
9783
9793
|
})
|
|
9784
9794
|
});
|
|
9785
|
-
},
|
|
9795
|
+
}, Wb = (e) => {
|
|
9786
9796
|
const t = xt(e);
|
|
9787
9797
|
return es.has(t) || t in Za;
|
|
9788
|
-
},
|
|
9798
|
+
}, Kb = (e, t) => {
|
|
9789
9799
|
const n = (o) => {
|
|
9790
|
-
const i =
|
|
9800
|
+
const i = Wb(o.element.componentName), r = j(() => ({
|
|
9791
9801
|
...o.element,
|
|
9792
9802
|
properties: ts(e, o.element.componentName, o.element.properties)
|
|
9793
9803
|
}), [o.element]);
|
|
@@ -9801,11 +9811,11 @@ var jb = ({ document: e, runtime: t, resolveBinding: n, registry: o = t.registry
|
|
|
9801
9811
|
};
|
|
9802
9812
|
return n.displayName = `Miniature(${t.displayName ?? t.name ?? "Component"})`, n;
|
|
9803
9813
|
};
|
|
9804
|
-
function
|
|
9805
|
-
return Object.fromEntries(Object.entries(e).map(([t, n]) => [t,
|
|
9814
|
+
function Hb(e) {
|
|
9815
|
+
return Object.fromEntries(Object.entries(e).map(([t, n]) => [t, Kb(t, n)]));
|
|
9806
9816
|
}
|
|
9807
|
-
var
|
|
9808
|
-
function
|
|
9817
|
+
var R0 = 240, D0 = 112;
|
|
9818
|
+
function qb(e, t = 240, n = Number.POSITIVE_INFINITY) {
|
|
9809
9819
|
const o = e && e.width > 0 && e.height > 0 ? e : Va({
|
|
9810
9820
|
width: 1 / 0,
|
|
9811
9821
|
height: 1 / 0
|
|
@@ -9818,7 +9828,7 @@ function Kb(e, t = 240, n = Number.POSITIVE_INFINITY) {
|
|
|
9818
9828
|
scale: s
|
|
9819
9829
|
};
|
|
9820
9830
|
}
|
|
9821
|
-
function
|
|
9831
|
+
function Gb(e, t = 240) {
|
|
9822
9832
|
const n = typeof IntersectionObserver < "u", [o, i] = F(!n);
|
|
9823
9833
|
return ie(() => {
|
|
9824
9834
|
const r = e.current;
|
|
@@ -9831,23 +9841,23 @@ function Hb(e, t = 240) {
|
|
|
9831
9841
|
n
|
|
9832
9842
|
]), o;
|
|
9833
9843
|
}
|
|
9834
|
-
var
|
|
9844
|
+
var Vb = [
|
|
9835
9845
|
"#f66",
|
|
9836
9846
|
"#fa0",
|
|
9837
9847
|
"#3c3"
|
|
9838
|
-
],
|
|
9839
|
-
}, Ir = 16,
|
|
9840
|
-
const c =
|
|
9848
|
+
], Jb = () => {
|
|
9849
|
+
}, Ir = 16, _0 = ({ document: e, runtime: t, windowSize: n, width: o, title: i, openTitle: r, onClick: s, placeholder: l }) => {
|
|
9850
|
+
const c = V(null), u = Gb(c), d = j(() => qb(n, o ?? 240, o === void 0 ? 112 : void 0), [
|
|
9841
9851
|
n?.width,
|
|
9842
9852
|
n?.height,
|
|
9843
9853
|
o
|
|
9844
|
-
]), p = j(() => ai(t), [t]), m = j(() =>
|
|
9854
|
+
]), p = j(() => ai(t), [t]), m = j(() => Hb(t.registry), [t.registry]), h = {
|
|
9845
9855
|
width: d.width,
|
|
9846
9856
|
height: Ir + d.bodyHeight
|
|
9847
9857
|
}, f = /* @__PURE__ */ b(re, { children: [/* @__PURE__ */ b("div", {
|
|
9848
9858
|
className: "screen-thumbnail__title-bar",
|
|
9849
9859
|
style: { height: Ir },
|
|
9850
|
-
children: [
|
|
9860
|
+
children: [Vb.map((g) => /* @__PURE__ */ a("span", {
|
|
9851
9861
|
className: "screen-thumbnail__light",
|
|
9852
9862
|
style: { borderColor: g }
|
|
9853
9863
|
}, g)), i && /* @__PURE__ */ a("span", {
|
|
@@ -9867,10 +9877,10 @@ var qb = [
|
|
|
9867
9877
|
"--studio-surface-viewport-height": `${d.canvasHeight}px`
|
|
9868
9878
|
},
|
|
9869
9879
|
"data-studio-viewport": "",
|
|
9870
|
-
children: /* @__PURE__ */ a(
|
|
9880
|
+
children: /* @__PURE__ */ a(zb, {
|
|
9871
9881
|
document: e,
|
|
9872
9882
|
runtime: t,
|
|
9873
|
-
resolveBinding:
|
|
9883
|
+
resolveBinding: Jb,
|
|
9874
9884
|
registry: m
|
|
9875
9885
|
})
|
|
9876
9886
|
}) : l
|
|
@@ -9896,14 +9906,14 @@ var qb = [
|
|
|
9896
9906
|
"aria-label": i,
|
|
9897
9907
|
children: f
|
|
9898
9908
|
});
|
|
9899
|
-
}, ut = /* @__PURE__ */ new Map(),
|
|
9900
|
-
function
|
|
9909
|
+
}, ut = /* @__PURE__ */ new Map(), Qb = 200;
|
|
9910
|
+
function $0(e) {
|
|
9901
9911
|
if (!e) return;
|
|
9902
9912
|
if (ut.has(e)) return ut.get(e);
|
|
9903
|
-
const t = Oa(e), n = t.readable ? t.document : t.problem === Se.MissingScreen ?
|
|
9904
|
-
return ut.size >=
|
|
9913
|
+
const t = Oa(e), n = t.readable ? t.document : t.problem === Se.MissingScreen ? Yb(e) : void 0;
|
|
9914
|
+
return ut.size >= Qb && ut.delete(ut.keys().next().value), ut.set(e, n), n;
|
|
9905
9915
|
}
|
|
9906
|
-
function
|
|
9916
|
+
function Yb(e) {
|
|
9907
9917
|
const t = JSON.parse(e), [n] = t.screenTemplates;
|
|
9908
9918
|
if (!(t.screenTemplates.length !== 1 || !n))
|
|
9909
9919
|
return {
|
|
@@ -9919,21 +9929,21 @@ function Jb(e) {
|
|
|
9919
9929
|
}]
|
|
9920
9930
|
};
|
|
9921
9931
|
}
|
|
9922
|
-
var
|
|
9932
|
+
var E0 = {
|
|
9923
9933
|
[q.Stack]: "Stack",
|
|
9924
9934
|
[q.Row]: "Row",
|
|
9925
9935
|
[q.Grid]: "Grid",
|
|
9926
9936
|
[q.Container]: "Container",
|
|
9927
9937
|
[q.Wrap]: "Wrap",
|
|
9928
9938
|
[q.Canvas]: "Canvas"
|
|
9929
|
-
},
|
|
9939
|
+
}, Zb = {
|
|
9930
9940
|
[q.Stack]: mt,
|
|
9931
9941
|
[q.Row]: gc,
|
|
9932
9942
|
[q.Grid]: Fo,
|
|
9933
9943
|
[q.Container]: Mo,
|
|
9934
9944
|
[q.Wrap]: Lo,
|
|
9935
9945
|
[q.Canvas]: Hc
|
|
9936
|
-
},
|
|
9946
|
+
}, Xb = {
|
|
9937
9947
|
text: Xl,
|
|
9938
9948
|
button: Xt,
|
|
9939
9949
|
card: dc,
|
|
@@ -10074,7 +10084,7 @@ var _0 = {
|
|
|
10074
10084
|
themeSwitcher: Dn,
|
|
10075
10085
|
layoutModeSwitcher: Vn,
|
|
10076
10086
|
arcPageHeader: Zt
|
|
10077
|
-
},
|
|
10087
|
+
}, ey = [
|
|
10078
10088
|
[/dialog/i, Tt],
|
|
10079
10089
|
[/table|grid/i, Ct],
|
|
10080
10090
|
[/menu|bar$/i, mt],
|
|
@@ -10087,35 +10097,35 @@ var _0 = {
|
|
|
10087
10097
|
[/message|toast/i, Xr],
|
|
10088
10098
|
[/tree/i, Yn],
|
|
10089
10099
|
[/page|screen/i, Jn]
|
|
10090
|
-
],
|
|
10100
|
+
], ty = (e) => Xb[e] ?? ey.find(([t]) => t.test(e))?.[1] ?? oa, ny = {
|
|
10091
10101
|
[Jr.manifest.name]: ia,
|
|
10092
10102
|
[Yr.manifest.name]: ra,
|
|
10093
10103
|
[sa.manifest.name]: oa,
|
|
10094
10104
|
[Wr.manifest.name]: Lo,
|
|
10095
10105
|
[ca.manifest.name]: Zt,
|
|
10096
10106
|
[la.manifest.name]: Pc
|
|
10097
|
-
},
|
|
10107
|
+
}, oy = uc, A0 = {
|
|
10098
10108
|
layout: (e) => {
|
|
10099
|
-
const t =
|
|
10109
|
+
const t = Zb[e];
|
|
10100
10110
|
return /* @__PURE__ */ a(t, { "aria-hidden": "true" });
|
|
10101
10111
|
},
|
|
10102
10112
|
component: (e) => {
|
|
10103
|
-
const t =
|
|
10113
|
+
const t = ty(e);
|
|
10104
10114
|
return /* @__PURE__ */ a(t, { "aria-hidden": "true" });
|
|
10105
10115
|
},
|
|
10106
10116
|
drawer: {
|
|
10107
10117
|
layout: /* @__PURE__ */ a(Fo, { "aria-hidden": "true" }),
|
|
10108
10118
|
package: (e) => {
|
|
10109
|
-
const t =
|
|
10119
|
+
const t = ny[e] ?? oy;
|
|
10110
10120
|
return /* @__PURE__ */ a(t, { "aria-hidden": "true" });
|
|
10111
10121
|
}
|
|
10112
10122
|
}
|
|
10113
|
-
},
|
|
10123
|
+
}, M0 = kt.map((e) => ({
|
|
10114
10124
|
package: e.manifest.name,
|
|
10115
10125
|
components: e.manifest.components,
|
|
10116
10126
|
descriptors: e.descriptors ?? []
|
|
10117
10127
|
}));
|
|
10118
|
-
function
|
|
10128
|
+
function F0(e, t, n) {
|
|
10119
10129
|
return e.map((o) => ({
|
|
10120
10130
|
type: o.type,
|
|
10121
10131
|
name: t[o.item],
|
|
@@ -10123,10 +10133,10 @@ function A0(e, t, n) {
|
|
|
10123
10133
|
icon: n?.[o.item]
|
|
10124
10134
|
}));
|
|
10125
10135
|
}
|
|
10126
|
-
var
|
|
10136
|
+
var L0 = /* @__PURE__ */ (function(e) {
|
|
10127
10137
|
return e.Auto = "auto", e.Manual = "manual", e;
|
|
10128
10138
|
})({});
|
|
10129
|
-
function
|
|
10139
|
+
function B0(e) {
|
|
10130
10140
|
return [
|
|
10131
10141
|
{
|
|
10132
10142
|
kind: Bt.DataContext,
|
|
@@ -10149,70 +10159,70 @@ function F0(e) {
|
|
|
10149
10159
|
];
|
|
10150
10160
|
}
|
|
10151
10161
|
export {
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10162
|
+
Cy as BindingMode,
|
|
10163
|
+
Ty as BindingNullBehavior,
|
|
10164
|
+
Ny as BindingSourceKind,
|
|
10165
|
+
L0 as CommandFormMode,
|
|
10166
|
+
Iy as DestinationKind,
|
|
10157
10167
|
Y as LayoutArrangement,
|
|
10158
10168
|
q as LayoutItem,
|
|
10159
10169
|
oe as Ownership,
|
|
10160
|
-
|
|
10170
|
+
zb as PlayScreenView,
|
|
10161
10171
|
Se as SceneDocumentProblem,
|
|
10162
10172
|
Ja as ScreenEditorControlProviders,
|
|
10163
|
-
|
|
10164
|
-
|
|
10173
|
+
S0 as ScreenEditorOverlay,
|
|
10174
|
+
C0 as ScreenEditorPrimeReactProvider,
|
|
10165
10175
|
vs as ScreenEditorWindow,
|
|
10166
|
-
|
|
10167
|
-
|
|
10176
|
+
T0 as ScreenEditorWorkspace,
|
|
10177
|
+
_0 as ScreenThumbnail,
|
|
10168
10178
|
te as StructureEditRejection,
|
|
10169
|
-
|
|
10170
|
-
|
|
10171
|
-
|
|
10179
|
+
yy as StructuredValueEditor,
|
|
10180
|
+
my as asList,
|
|
10181
|
+
B0 as bindingSourceChoices,
|
|
10172
10182
|
of as browserWindowSizeStorage,
|
|
10173
10183
|
At as commandNameOf,
|
|
10174
|
-
|
|
10175
|
-
|
|
10184
|
+
N0 as createScreenEditorEnvironment,
|
|
10185
|
+
hb as createScreenEditorRuntime,
|
|
10176
10186
|
rf as createWindowSizeMemory,
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10187
|
+
Zb as defaultLayoutIcons,
|
|
10188
|
+
E0 as defaultLayoutLabels,
|
|
10189
|
+
A0 as defaultPaletteIcons,
|
|
10190
|
+
M0 as defaultPaletteSources,
|
|
10181
10191
|
Om as defaultScreenEditorStrings,
|
|
10182
10192
|
Or as defaultStructuredEditorStrings,
|
|
10183
10193
|
Va as defaultWindowSize,
|
|
10184
10194
|
cf as fitWindowSize,
|
|
10185
|
-
|
|
10195
|
+
uy as identified,
|
|
10186
10196
|
zs as isCollectionOfRecords,
|
|
10187
10197
|
sf as isLegacyDefaultWindow,
|
|
10188
10198
|
js as isObjectWithFields,
|
|
10189
|
-
|
|
10199
|
+
ly as isPrimitiveList,
|
|
10190
10200
|
wn as isRecord,
|
|
10191
|
-
|
|
10201
|
+
py as isStringMap,
|
|
10192
10202
|
pi as isStructured,
|
|
10193
|
-
|
|
10194
|
-
|
|
10203
|
+
dy as movedItem,
|
|
10204
|
+
hy as newItem,
|
|
10195
10205
|
Rr as numberListEditorKind,
|
|
10196
10206
|
Oa as readSceneDocument,
|
|
10197
|
-
|
|
10207
|
+
$0 as readThumbnailDocument,
|
|
10198
10208
|
lf as resolveInitialWindowSize,
|
|
10199
10209
|
Ls as scalarEditorKind,
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10210
|
+
Bv as screenEditorPrimeReactDefaults,
|
|
10211
|
+
x0 as screenEditorRuntimeForProfile,
|
|
10212
|
+
w0 as screenNamesOf,
|
|
10203
10213
|
bt as sliceNamedBy,
|
|
10204
10214
|
Dr as stringListEditorKind,
|
|
10205
10215
|
Us as stringMapEditorKind,
|
|
10206
10216
|
Bs as stringOrListEditorKind,
|
|
10207
10217
|
ro as structuredProblem,
|
|
10208
|
-
|
|
10209
|
-
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10218
|
+
qb as thumbnailGeometry,
|
|
10219
|
+
D0 as thumbnailMaxBodyHeight,
|
|
10220
|
+
R0 as thumbnailWidth,
|
|
10221
|
+
F0 as toLayoutContainerDescriptors,
|
|
10222
|
+
qv as toSceneCandidates,
|
|
10223
|
+
cy as withField,
|
|
10214
10224
|
Fs as withIdentities,
|
|
10215
|
-
|
|
10225
|
+
fy as withItem,
|
|
10216
10226
|
It as withScreenAsPrimary,
|
|
10217
|
-
|
|
10227
|
+
gy as withoutItem
|
|
10218
10228
|
};
|