@jxsuite/studio 5.0.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{cf-account-picker-fyf63pmy.js → cf-account-picker-h4dab9bq.js} +10 -10
- package/dist/chunks/{cf-settings-71bv5zn9.js → cf-settings-adg74qsk.js} +4 -4
- package/dist/chunks/components-5y78e05d.js +20 -0
- package/dist/chunks/content-source-sgg1sv6n.js +46 -0
- package/dist/chunks/{convert-to-repeater-d0cgnb6d.js → convert-to-repeater-mf1cxgfn.js} +25 -25
- package/dist/chunks/entry-commands-w9qsxa6q.js +42 -0
- package/dist/chunks/{extension-sections-fy7q4fe9.js → extension-sections-c6zwzbre.js} +27 -27
- package/dist/chunks/file-ops-vrpq1jjk.js +47 -0
- package/dist/chunks/{files-ef8fgs3w.js → files-msaf95y6.js} +33 -32
- package/dist/chunks/{format-host-3c33nwr8.js → format-host-f64fnesp.js} +2 -2
- package/dist/chunks/{fs-events-13tj6sex.js → fs-events-3y6y0nrm.js} +6 -6
- package/dist/chunks/git-panel-bv5e22j0.js +50 -0
- package/dist/chunks/grid-view-1p6hsyjx.css +8406 -0
- package/dist/chunks/grid-view-paj67nr5.js +15322 -0
- package/dist/chunks/{iframe-host-jgesd924.js → iframe-host-dh5np8vk.js} +14 -14
- package/dist/chunks/{layers-1nq5evsh.js → layers-1vcfdbet.js} +7 -6
- package/dist/chunks/layers-panel-fksbdg4q.js +40 -0
- package/dist/chunks/{media-picker-2qbetq73.js → media-picker-p49nhqhs.js} +14 -14
- package/dist/chunks/menu-qht48vnc.js +15 -0
- package/dist/chunks/{monaco-buffer-bhy3hb6m.js → monaco-buffer-pykwbm92.js} +3 -3
- package/dist/chunks/{notify-628t0anh.js → notify-42gk8ha1.js} +2 -2
- package/dist/chunks/{parse-0zx14y15.js → parse-reg9eevt.js} +2 -2
- package/dist/chunks/publish-panel-vz23wwmg.js +27 -0
- package/dist/chunks/quick-search-e9rp74m8.js +46 -0
- package/dist/chunks/{references-n553f0e1.js → references-h69xp9zz.js} +4 -4
- package/dist/chunks/right-panel-j97t2yvy.js +45 -0
- package/dist/chunks/{studio-18avnhjp.js → studio-01jeck2y.js} +36 -30
- package/dist/chunks/{studio-9xxz1q69.js → studio-14d9tq4d.js} +9 -9
- package/dist/chunks/{studio-xsykpvsh.js → studio-15f3kxqe.js} +19 -19
- package/dist/chunks/studio-1tbjfqv4.js +146 -0
- package/dist/chunks/{studio-79y5sz51.js → studio-28vs5k2y.js} +2 -2
- package/dist/chunks/{studio-3hxkd92t.js → studio-2mdbbc76.js} +10 -10
- package/dist/chunks/{studio-7r42c6ca.js → studio-3ntvq6cg.js} +5 -5
- package/dist/chunks/{studio-8jn5yhyn.js → studio-4c041r8y.js} +3 -3
- package/dist/chunks/{studio-qahxvnan.js → studio-4r14yzyy.js} +4 -4
- package/dist/chunks/{studio-arfpe389.js → studio-4xmjcrg3.js} +6 -6
- package/dist/chunks/{studio-5523bpzt.js → studio-5nz00bhh.js} +3 -3
- package/dist/chunks/{studio-x3rty6tr.js → studio-5t7ena5z.js} +8 -8
- package/dist/chunks/{studio-5rt7sqa0.js → studio-66arbpc2.js} +13 -19
- package/dist/chunks/{studio-fabxk6r9.js → studio-68fydsrj.js} +15 -15
- package/dist/chunks/{studio-tb3ev01j.js → studio-9j6sfeba.js} +6 -6
- package/dist/chunks/{studio-akbww0j5.js → studio-a1pswps3.js} +38 -38
- package/dist/chunks/{studio-6xa21ej9.js → studio-c04nzbby.js} +2 -2
- package/dist/chunks/{studio-4m0haseg.js → studio-c07s5ckd.js} +4 -4
- package/dist/chunks/{studio-57mf66w2.js → studio-ctm7bhx5.js} +14 -14
- package/dist/chunks/{studio-p1dw8wfw.js → studio-d8z5bajd.js} +14 -10
- package/dist/chunks/{studio-vz68yn9e.js → studio-en82c639.js} +6 -6
- package/dist/chunks/{studio-rkstz940.js → studio-etvx9s2g.js} +21 -12
- package/dist/chunks/{studio-az3zd49t.js → studio-ez11dmdh.js} +127 -37
- package/dist/chunks/{studio-sgdc5pfc.js → studio-hdc2jt3z.js} +4 -4
- package/dist/chunks/{studio-s6z853aq.js → studio-hhskq2mr.js} +24 -23
- package/dist/chunks/{studio-6ewqv390.js → studio-m1p9b6c3.js} +5 -5
- package/dist/chunks/{studio-25hkdrkw.js → studio-mpzwze9x.js} +12 -12
- package/dist/chunks/{studio-8qtrpzr3.js → studio-ncn9e189.js} +7 -7
- package/dist/chunks/{studio-81390n6f.js → studio-nq5yf5mp.js} +1 -1
- package/dist/chunks/{studio-5jy81t3s.js → studio-p6pmwkvh.js} +229 -24
- package/dist/chunks/{studio-3gxv60tn.js → studio-qa7fzxan.js} +4 -4
- package/dist/chunks/{studio-7xptrg0j.js → studio-sar8g54p.js} +8 -8
- package/dist/chunks/studio-t171hxhe.js +23 -0
- package/dist/chunks/{studio-em9nw8eh.js → studio-t3adrr56.js} +20 -17
- package/dist/chunks/{studio-hhvs4sdg.js → studio-vn5hske5.js} +10 -4
- package/dist/chunks/{studio-pm6hgy7r.js → studio-vt0tj32j.js} +29 -42
- package/dist/chunks/{studio-d1ja2x9r.js → studio-wjpgxywa.js} +4 -4
- package/dist/chunks/{studio-q3x06vmj.js → studio-wnsyffg1.js} +2 -2
- package/dist/chunks/{studio-rpyah2ew.js → studio-x10fp4tp.js} +64 -24
- package/dist/chunks/{studio-26d7myd1.js → studio-x72j58vw.js} +4 -4
- package/dist/chunks/{studio-cpvb2ed1.js → studio-y4f9fdge.js} +8 -8
- package/dist/chunks/{studio-erdatzvp.js → studio-ympe0n7a.js} +35 -6
- package/dist/chunks/{studio-y9zedyjn.js → studio-z2smx5ce.js} +2 -2
- package/dist/chunks/studio-zjjde71a.js +148 -0
- package/dist/chunks/{workspace-wrew8zk4.js → workspace-bnw54cha.js} +18 -10
- package/dist/iframe-entry.js +102 -11
- package/dist/studio.css +1 -2
- package/dist/studio.js +1113 -16062
- package/package.json +11 -11
- package/src/canvas/canvas-utils.ts +29 -2
- package/src/commands/command-args.ts +37 -2
- package/src/commands/registry.ts +18 -8
- package/src/commands/run-reported.ts +120 -0
- package/src/editor/shortcuts.ts +11 -23
- package/src/files/components.ts +39 -0
- package/src/files/files.ts +41 -17
- package/src/grid/grid-lazy.ts +59 -0
- package/src/grid/grid-open.ts +20 -3
- package/src/grid/grid-panel.ts +43 -9
- package/src/i18n/i18n-commands.ts +10 -0
- package/src/media/media-open.ts +14 -2
- package/src/packages/pull-package-sync.ts +5 -1
- package/src/panels/ai-panel.ts +5 -2
- package/src/panels/block-action-bar.ts +7 -2
- package/src/panels/i18n-panel.ts +8 -15
- package/src/panels/jump-bar.ts +3 -2
- package/src/panels/pane-context.ts +5 -4
- package/src/panels/pane-grid.ts +100 -10
- package/src/panels/problems-panel.ts +6 -2
- package/src/panels/quick-search.ts +6 -12
- package/src/panels/settings-menu.ts +5 -15
- package/src/panels/tab-drop.ts +220 -0
- package/src/panels/tab-strip.ts +238 -33
- package/src/services/ai-command-tools.ts +78 -8
- package/src/services/ai-models.ts +13 -0
- package/src/services/ai-project-tools.ts +8 -2
- package/src/services/ai-system-prompt.ts +4 -8
- package/src/services/ai-tools.ts +8 -69
- package/src/services/document-assistant.ts +9 -6
- package/src/studio.ts +24 -8
- package/src/surfaces/commandbar.json +35 -24
- package/src/surfaces/commandbar.ts +6 -5
- package/src/surfaces/pane-grid.json +35 -3
- package/src/surfaces/pane-grid.ts +26 -4
- package/src/surfaces/statusbar.ts +2 -1
- package/src/surfaces/tab-strip.json +16 -39
- package/src/surfaces/tab-strip.ts +76 -12
- package/src/tabs/project-config.ts +45 -11
- package/src/ui/ai-credentials-form.ts +12 -1
- package/src/ui/layers.ts +4 -1
- package/src/workspace/pane-derive.ts +7 -5
- package/src/workspace/session.ts +3 -3
- package/src/workspace/workspace.ts +220 -43
- package/styles/shell-frame.css +8 -0
- package/styles/shell-frame.json +4 -0
- package/dist/chunks/components-2w1f35qs.js +0 -18
- package/dist/chunks/content-source-3wqeas45.js +0 -46
- package/dist/chunks/entry-commands-d6g50j7s.js +0 -42
- package/dist/chunks/file-ops-3btj6st0.js +0 -47
- package/dist/chunks/git-panel-4wp2rn9b.js +0 -49
- package/dist/chunks/layers-panel-ar2gh90g.js +0 -40
- package/dist/chunks/menu-rf7n72mf.js +0 -14
- package/dist/chunks/publish-panel-98f7sr3g.js +0 -27
- package/dist/chunks/quick-search-srzz83k2.js +0 -45
- package/dist/chunks/right-panel-rrgx2dn3.js +0 -45
- package/dist/chunks/studio-d055c37e.js +0 -62
package/dist/iframe-entry.js
CHANGED
|
@@ -28,7 +28,7 @@ var __chunks = (base, ids, nodes, entry) => {
|
|
|
28
28
|
__chunkSeen ||= {};
|
|
29
29
|
__preload(ids[entry], 1);
|
|
30
30
|
};
|
|
31
|
-
__chunks(import.meta.url,["
|
|
31
|
+
__chunks(import.meta.url,["e088w1ns","a73p0pqm","eptb614w","abk6qyee","780pvfbv","3sqv46sn","xgg3kfw7","yy10wk9r","5cndyft8","sp6tna8v","47z3ytva","2r16ez41","g7nm1rgb","t0n6h2rn","wbp1cdws","xbh5bhtr","v17df7b8","anwybnkn","44ez96fc","5e7jev23","s890b918","6v2ac08j","q99sy9rf","nbyxee1y","15g3n6xv","b27vq81n"],[["./iframe-entry.js"],["./chunks/tree-a73p0pqm.js"],["./chunks/tooltip-eptb614w.js",23],["./chunks/textfield-abk6qyee.js"],["./chunks/toast-780pvfbv.js",24],["./chunks/toast-host-3sqv46sn.js",24],["./chunks/color-xgg3kfw7.js",25],["./chunks/icons-yy10wk9r.js"],["./chunks/number-field-5cndyft8.js"],["./chunks/action-group-sp6tna8v.js"],["./chunks/popover-47z3ytva.js",23],["./chunks/select-2r16ez41.js"],["./chunks/split-g7nm1rgb.js"],["./chunks/swatch-group-t0n6h2rn.js"],["./chunks/tabs-wbp1cdws.js"],["./chunks/toolbar-xbh5bhtr.js"],["./chunks/color-area-v17df7b8.js",25],["./chunks/color-field-anwybnkn.js",25,23],["./chunks/color-slider-44ez96fc.js",25],["./chunks/combobox-5e7jev23.js",23],["./chunks/dialog-s890b918.js"],["./chunks/listbox-6v2ac08j.js"],["./chunks/menu-q99sy9rf.js",23],["./chunks/iframe-entry-nbyxee1y.js"],["./chunks/iframe-entry-15g3n6xv.js"],["./chunks/iframe-entry-b27vq81n.js"]],0);
|
|
32
32
|
|
|
33
33
|
// src/canvas/iframe-channel.ts
|
|
34
34
|
var ENVELOPE = "jx:canvas";
|
|
@@ -868,7 +868,11 @@ function reactiveReadArray(array) {
|
|
|
868
868
|
if (raw === array)
|
|
869
869
|
return raw;
|
|
870
870
|
track(raw, "iterate", ARRAY_ITERATE_KEY);
|
|
871
|
-
|
|
871
|
+
if (isShallow(array))
|
|
872
|
+
return raw;
|
|
873
|
+
if (!isReadonly(array))
|
|
874
|
+
return raw.map(toReactive);
|
|
875
|
+
return isReactive(array) ? raw.map((item) => toReadonly(toReactive(item))) : raw.map(toReadonly);
|
|
872
876
|
}
|
|
873
877
|
function shallowReadArray(arr) {
|
|
874
878
|
track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
|
|
@@ -3795,6 +3799,7 @@ function renderMappedArrayInto(parentEl, arrayDef, state, options) {
|
|
|
3795
3799
|
parentEl.append(anchor);
|
|
3796
3800
|
const { items: itemsSrc, map: mapDef, filter: filterRef, sort: sortRef, key: keyRef } = arrayDef;
|
|
3797
3801
|
const keyPointer = isRefObj(keyRef) ? keyRef.$ref : null;
|
|
3802
|
+
const instancePath = _instancePath;
|
|
3798
3803
|
let warned = false;
|
|
3799
3804
|
const warnOnce = (message) => {
|
|
3800
3805
|
if (!warned) {
|
|
@@ -3882,7 +3887,7 @@ function renderMappedArrayInto(parentEl, arrayDef, state, options) {
|
|
|
3882
3887
|
}
|
|
3883
3888
|
pauseTracking();
|
|
3884
3889
|
try {
|
|
3885
|
-
reconcile(list, keys);
|
|
3890
|
+
underInstancePath(reexpand(instancePath), () => reconcile(list, keys));
|
|
3886
3891
|
} finally {
|
|
3887
3892
|
resetTracking();
|
|
3888
3893
|
}
|
|
@@ -3946,6 +3951,7 @@ function resolveTagName(tagName, scope) {
|
|
|
3946
3951
|
function renderSwitch(def, state, options) {
|
|
3947
3952
|
const path = options?._path ?? [];
|
|
3948
3953
|
const container = document.createElement(resolveTagName(def.tagName, state));
|
|
3954
|
+
const instancePath = _instancePath;
|
|
3949
3955
|
if (options?.onNodeCreated) {
|
|
3950
3956
|
options.onNodeCreated(container, path, def, state);
|
|
3951
3957
|
}
|
|
@@ -3993,13 +3999,13 @@ function renderSwitch(def, state, options) {
|
|
|
3993
3999
|
return;
|
|
3994
4000
|
}
|
|
3995
4001
|
container.replaceChildren();
|
|
3996
|
-
scope.run(() => container.append(renderNode(doc, childScope, childOpts)));
|
|
4002
|
+
underInstancePath(reexpand(instancePath), () => scope.run(() => container.append(renderNode(doc, childScope, childOpts))));
|
|
3997
4003
|
}).catch((error) => console.error("Jx $switch: failed to load external case", caseDef.$ref, error));
|
|
3998
4004
|
return;
|
|
3999
4005
|
}
|
|
4000
4006
|
pauseTracking();
|
|
4001
4007
|
try {
|
|
4002
|
-
scope.run(() => container.append(renderNode(caseDef, state, childOpts)));
|
|
4008
|
+
underInstancePath(reexpand(instancePath), () => scope.run(() => container.append(renderNode(caseDef, state, childOpts))));
|
|
4003
4009
|
} finally {
|
|
4004
4010
|
resetTracking();
|
|
4005
4011
|
}
|
|
@@ -4659,6 +4665,65 @@ async function registerElements(elements, base, ctx) {
|
|
|
4659
4665
|
await defineElement(doc, href);
|
|
4660
4666
|
}
|
|
4661
4667
|
}
|
|
4668
|
+
var MAX_COMPONENT_NESTING = 32;
|
|
4669
|
+
var ROOT_INSTANCE_PATH = { expansion: 0, frames: [] };
|
|
4670
|
+
var _instancePath = ROOT_INSTANCE_PATH;
|
|
4671
|
+
function underInstancePath(path, fn) {
|
|
4672
|
+
const was = _instancePath;
|
|
4673
|
+
_instancePath = path;
|
|
4674
|
+
try {
|
|
4675
|
+
return fn();
|
|
4676
|
+
} finally {
|
|
4677
|
+
_instancePath = was;
|
|
4678
|
+
}
|
|
4679
|
+
}
|
|
4680
|
+
function reexpand(path) {
|
|
4681
|
+
return { expansion: path.frames.length, frames: path.frames };
|
|
4682
|
+
}
|
|
4683
|
+
function samePropValue(a, b) {
|
|
4684
|
+
if (Object.is(a, b)) {
|
|
4685
|
+
return true;
|
|
4686
|
+
}
|
|
4687
|
+
if (!isPlainData(a) || !isPlainData(b)) {
|
|
4688
|
+
return false;
|
|
4689
|
+
}
|
|
4690
|
+
try {
|
|
4691
|
+
return JSON.stringify(a) === JSON.stringify(b);
|
|
4692
|
+
} catch {
|
|
4693
|
+
return false;
|
|
4694
|
+
}
|
|
4695
|
+
}
|
|
4696
|
+
function isPlainData(value) {
|
|
4697
|
+
if (typeof value !== "object" || value === null) {
|
|
4698
|
+
return false;
|
|
4699
|
+
}
|
|
4700
|
+
const raw = toRaw(value);
|
|
4701
|
+
if (Array.isArray(raw)) {
|
|
4702
|
+
return true;
|
|
4703
|
+
}
|
|
4704
|
+
const proto = Object.getPrototypeOf(raw);
|
|
4705
|
+
return proto === Object.prototype || proto === null;
|
|
4706
|
+
}
|
|
4707
|
+
function sameFrame(a, b) {
|
|
4708
|
+
if (a.tag !== b.tag) {
|
|
4709
|
+
return false;
|
|
4710
|
+
}
|
|
4711
|
+
const keys = Object.keys(a.props);
|
|
4712
|
+
if (keys.length !== Object.keys(b.props).length) {
|
|
4713
|
+
return false;
|
|
4714
|
+
}
|
|
4715
|
+
return keys.every((key) => Object.hasOwn(b.props, key) && samePropValue(a.props[key], b.props[key]));
|
|
4716
|
+
}
|
|
4717
|
+
function extendInstancePath(path, frame) {
|
|
4718
|
+
const chain = [...path.frames.map((f) => f.tag), frame.tag].join(" → ");
|
|
4719
|
+
if (path.frames.slice(path.expansion).some((f) => sameFrame(f, frame))) {
|
|
4720
|
+
throw new Error(`Component <${frame.tag}> renders itself: ${chain}. A component cannot appear inside its own ` + `definition with the same props — the expansion would never end.`);
|
|
4721
|
+
}
|
|
4722
|
+
if (path.frames.length >= MAX_COMPONENT_NESTING) {
|
|
4723
|
+
throw new Error(`Component nesting exceeds ${MAX_COMPONENT_NESTING} levels: ${chain}. A component that renders itself with changing props needs a case that stops.`);
|
|
4724
|
+
}
|
|
4725
|
+
return { expansion: path.expansion, frames: [...path.frames, frame] };
|
|
4726
|
+
}
|
|
4662
4727
|
var _definedSources = new Set;
|
|
4663
4728
|
async function defineElement(source, baseUrl) {
|
|
4664
4729
|
let base = baseUrl;
|
|
@@ -4701,6 +4766,8 @@ async function defineElement(source, baseUrl) {
|
|
|
4701
4766
|
return;
|
|
4702
4767
|
}
|
|
4703
4768
|
this._jxInitialized = true;
|
|
4769
|
+
const enclosingPath = _instancePath;
|
|
4770
|
+
const supplied = {};
|
|
4704
4771
|
const live = _elementDefs.get(tagName) ?? { base: initialBase, doc: initialDef };
|
|
4705
4772
|
const def = live.doc;
|
|
4706
4773
|
const defBase = live.base;
|
|
@@ -4708,6 +4775,7 @@ async function defineElement(source, baseUrl) {
|
|
|
4708
4775
|
for (const attr of observedAttrs) {
|
|
4709
4776
|
if (this.hasAttribute(attr)) {
|
|
4710
4777
|
absorbAttribute(state, attr, this.getAttribute(attr));
|
|
4778
|
+
supplied[attr] = this.getAttribute(attr);
|
|
4711
4779
|
}
|
|
4712
4780
|
}
|
|
4713
4781
|
const propsAttr = this.dataset.jxProps;
|
|
@@ -4720,6 +4788,7 @@ async function defineElement(source, baseUrl) {
|
|
|
4720
4788
|
}
|
|
4721
4789
|
if (key in (def.state ?? {})) {
|
|
4722
4790
|
state[key] = val;
|
|
4791
|
+
supplied[key] = val;
|
|
4723
4792
|
}
|
|
4724
4793
|
}
|
|
4725
4794
|
} catch {}
|
|
@@ -4734,6 +4803,7 @@ async function defineElement(source, baseUrl) {
|
|
|
4734
4803
|
}
|
|
4735
4804
|
if (key in (def.state ?? {})) {
|
|
4736
4805
|
state[key] = this.getAttribute(name);
|
|
4806
|
+
supplied[key] = this.getAttribute(name);
|
|
4737
4807
|
this.removeAttribute(name);
|
|
4738
4808
|
}
|
|
4739
4809
|
}
|
|
@@ -4743,8 +4813,26 @@ async function defineElement(source, baseUrl) {
|
|
|
4743
4813
|
}
|
|
4744
4814
|
if (key in this && this[key] !== undefined && instanceSupplies(this, key)) {
|
|
4745
4815
|
state[key] = this[key];
|
|
4816
|
+
supplied[key] = this[key];
|
|
4746
4817
|
}
|
|
4747
4818
|
}
|
|
4819
|
+
let ownPath;
|
|
4820
|
+
try {
|
|
4821
|
+
ownPath = extendInstancePath(enclosingPath, { props: supplied, tag: tagName });
|
|
4822
|
+
} catch (error) {
|
|
4823
|
+
this.replaceChildren();
|
|
4824
|
+
if (!this.isConnected) {
|
|
4825
|
+
return;
|
|
4826
|
+
}
|
|
4827
|
+
console.error(`Jx: <${tagName}> was not rendered:`, error);
|
|
4828
|
+
this.dispatchEvent(new ErrorEvent("jx-error", {
|
|
4829
|
+
bubbles: true,
|
|
4830
|
+
composed: true,
|
|
4831
|
+
error,
|
|
4832
|
+
message: error instanceof Error ? error.message : String(error)
|
|
4833
|
+
}));
|
|
4834
|
+
return;
|
|
4835
|
+
}
|
|
4748
4836
|
for (const key of Object.keys(def.state ?? {})) {
|
|
4749
4837
|
if (isPrivateStateKey(key)) {
|
|
4750
4838
|
continue;
|
|
@@ -4774,9 +4862,11 @@ async function defineElement(source, baseUrl) {
|
|
|
4774
4862
|
const wasInside = _canvasInsideStampedHost;
|
|
4775
4863
|
_canvasInsideStampedHost ||= this.dataset.jxPath !== undefined;
|
|
4776
4864
|
try {
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4865
|
+
underInstancePath(ownPath, () => {
|
|
4866
|
+
for (const childDef of children) {
|
|
4867
|
+
this.append(renderNode(childDef, state));
|
|
4868
|
+
}
|
|
4869
|
+
});
|
|
4780
4870
|
} finally {
|
|
4781
4871
|
_canvasInsideStampedHost = wasInside;
|
|
4782
4872
|
}
|
|
@@ -5074,13 +5164,14 @@ function adjacentBlock(container, path, direction, isEditable) {
|
|
|
5074
5164
|
|
|
5075
5165
|
// ../site/src/site-style.ts
|
|
5076
5166
|
var SITE_STYLE_ID = "jx-site-style";
|
|
5077
|
-
function buildSiteStyleCSS(siteStyle, mediaQueries, transpose) {
|
|
5167
|
+
function buildSiteStyleCSS(siteStyle, mediaQueries, transpose, resolveValue) {
|
|
5078
5168
|
const rules = [];
|
|
5079
5169
|
const push = (style, selector) => {
|
|
5080
5170
|
for (const rule of buildStyleRules(style, {
|
|
5081
5171
|
mediaQueries,
|
|
5082
5172
|
scope: selector,
|
|
5083
|
-
transposeValue: transpose
|
|
5173
|
+
transposeValue: transpose,
|
|
5174
|
+
...resolveValue ? { resolveValue: (property, value) => resolveValue(property, value, selector) } : {}
|
|
5084
5175
|
})) {
|
|
5085
5176
|
rules.push(rule.text);
|
|
5086
5177
|
}
|
|
@@ -9778,5 +9869,5 @@ export {
|
|
|
9778
9869
|
startCanvasIframe
|
|
9779
9870
|
};
|
|
9780
9871
|
|
|
9781
|
-
//# debugId=
|
|
9872
|
+
//# debugId=79BB51FCC1FC2ADA64756E2164756E21
|
|
9782
9873
|
//# sourceMappingURL=iframe-entry.js.map
|
package/dist/studio.css
CHANGED
|
@@ -7366,7 +7366,6 @@
|
|
|
7366
7366
|
|
|
7367
7367
|
.tabulator .tabulator-header .tabulator-frozen-rows-holder {
|
|
7368
7368
|
display: inline-block;
|
|
7369
|
-
padding-top: 1em;
|
|
7370
7369
|
}
|
|
7371
7370
|
|
|
7372
7371
|
.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty {
|
|
@@ -7433,7 +7432,7 @@
|
|
|
7433
7432
|
.tabulator .tabulator-tableholder .tabulator-range-overlay {
|
|
7434
7433
|
pointer-events: none;
|
|
7435
7434
|
position: absolute;
|
|
7436
|
-
z-index:
|
|
7435
|
+
z-index: 11;
|
|
7437
7436
|
inset: 0;
|
|
7438
7437
|
}
|
|
7439
7438
|
|