@genome-spy/app 1.1.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{SharedReadCache-Ey5QIiPM.js → SharedReadCache-9sT2aIxW.js} +6 -12
- package/dist/__vite-browser-external-Dgu_Ldik.js +7 -0
- package/dist/{agentApi-sPuuT0KS.js → agentApi-BclFF9zB.js} +9981 -8914
- package/dist/agentApi.es.js +6783 -5135
- package/dist/agentShared.es.js +433 -460
- package/dist/arrayUtils-Bm7QnzhN.js +1306 -0
- package/dist/{blosc-JROzDOnd.js → blosc-C-W97QwH.js} +3 -3
- package/dist/{canvas2d-iDK4BC5j.js → canvas2d-8MSf70d4.js} +141 -134
- package/dist/{canvas2d-MXaFeZnP.js → canvas2d-BwGNI_Rx.js} +147 -141
- package/dist/clipOptions-SrrxeAEU.js +4316 -0
- package/dist/clipOptions-clBEbkjv.js +4326 -0
- package/dist/{layoutResult-D50MSHXR.js → color-jETn8xK_.js} +29 -10
- package/dist/color-uTRRsy8i.js +116 -0
- package/dist/{componentStyles-DGtQXvwc.js → componentStyles-C7FbjS-a.js} +1 -1
- package/dist/{viewIdentityRegistry-BIYd4TE0.js → containerView-BItRtKqu.js} +28 -31
- package/dist/{viewIdentityRegistry-BDKkEjXl.js → containerView-CWa6ZIJW.js} +28 -31
- package/dist/{debug-DbigmdrK.js → debug-23s-jja_.js} +10 -9
- package/dist/{debug-BlqDxTw3.js → debug-CWRxvAss.js} +9 -10
- package/dist/dialog.es.js +1 -1
- package/dist/dist-CmY6iewb.js +1501 -0
- package/dist/dist-D6xbz5Ks.js +1501 -0
- package/dist/{esm-CjkeZi__.js → esm-BFwBAnbO.js} +25 -25
- package/dist/esm-BUkWqSr2.js +299 -0
- package/dist/{esm-C-6g-SkZ.js → esm-C0xXMLsR.js} +37 -41
- package/dist/{esm-CJeszW-t.js → esm-C2xhhXs0.js} +7 -7
- package/dist/esm-C6erfjPM.js +252 -0
- package/dist/{esm-DFHFX1sH.js → esm-CVjC7qA4.js} +34 -38
- package/dist/esm-CqY5ezGz.js +1249 -0
- package/dist/esm-DfMIJ_N2.js +1522 -0
- package/dist/esm-Dls41IbZ.js +787 -0
- package/dist/{esm-Bv7Frz7C.js → esm-DzQDfrsZ.js} +7 -10
- package/dist/esm-aGLCvYRP.js +238 -0
- package/dist/{esm-VFJeyk9i.js → esm-nzwgJFGz.js} +40 -36
- package/dist/figWigMetadataSourceAdapter-8Kf_vZRf.js +36 -0
- package/dist/figWigMetadataSourceAdapter-DdDMZpYO.js +36 -0
- package/dist/flowNode-BSjy0Wz3.js +1306 -0
- package/dist/flowOutput-D5qpxWe0.js +183 -0
- package/dist/index.es.js +4766 -5522
- package/dist/index.js +1089 -685
- package/dist/inflate-BdC5KvHn.js +886 -0
- package/dist/{lz4-CUYSbVey.js → lz4-BLPgBOlE.js} +1 -1
- package/dist/markUtils-RaatLEa-.js +78 -0
- package/dist/{metadataChannels-DV62inJh.js → metadataChannels-DLSmx7kU.js} +6 -3
- package/dist/metadataUtils-DxEPe0vj.js +879 -0
- package/dist/order-BnKzKjt4.js +1151 -0
- package/dist/order-BpJnq_nV.js +1150 -0
- package/dist/{parquetRead-0hFIa3Cc.js → parquetRead-D-yY8njE.js} +3 -11
- package/dist/{rasterExport-B62RmAK1.js → rasterExport-B-WrX1pa.js} +5 -5
- package/dist/{rasterExport-DQH3hVg_.js → rasterExport-C_vx4Jwd.js} +4 -4
- package/dist/{rasterization-B05bDo5e.js → rasterization-QktH8Sn2.js} +26 -19
- package/dist/rectangle-BAdoDPXu.js +194 -0
- package/dist/{rectangle-DE98gIxF.js → rectangle-DZTR6NFQ.js} +10 -1
- package/dist/renderCanvas2D-CsRO78Pq.js +291 -0
- package/dist/{renderCanvas2D-Bdv-B4wj.js → renderCanvas2D-Y7pkRzbC.js} +98 -92
- package/dist/{rolldown-runtime-DF993M8W.js → rolldown-runtime-DeIk2rA4.js} +1 -1
- package/dist/{indexer-DbFTKGlm.js → scaleNull-CVzag4z8.js} +2 -12
- package/dist/{indexer-En7gpvLN.js → scaleNull-Pbz7QGnl.js} +2 -12
- package/dist/{scalePosition-ByvlXaML.js → scalePosition-CRXa0rCC.js} +8 -1
- package/dist/schema.json +33403 -16929
- package/dist/style.css +1 -1
- package/dist/{svg-N3tj05-e.js → svg-BBMtLgtM.js} +445 -362
- package/dist/{svg-DHsq1RpV.js → svg-JjWL6U-T.js} +464 -381
- package/dist/{svgRasterizer-CYVDlt5z.js → svgRasterizer-6OcftuoI.js} +3 -3
- package/dist/{svgRasterizer-CvCBlxLj.js → svgRasterizer-DkNRaCPs.js} +4 -4
- package/dist/tableMetadataSourceAdapter-CUNwLsdi.js +291 -0
- package/dist/tableMetadataSourceAdapter-DQrEXCo6.js +1283 -0
- package/dist/url-DeOdSRrv.js +183 -0
- package/dist/viewError-B0TMfOpB.js +33 -0
- package/dist/viewError-D9aO90cI.js +33 -0
- package/dist/{viewSelectors-DDLW-byr.js → viewSelectors-DkFvo33d.js} +914 -752
- package/dist/{viewSelectors-j-F9XwsE.js → viewSelectors-lM93fHAq.js} +942 -780
- package/dist/viewUtils-0SJOewM6.js +6195 -0
- package/dist/webgl-CXIO3OQz.js +5782 -0
- package/dist/webgl-Pdvfhio5.js +5783 -0
- package/package.json +7 -5
- package/src/agentApi/index.d.ts +3 -2
- package/src/agentShared/index.d.ts +2 -0
- package/src/appTypes.d.ts +1 -6
- package/src/embedTypes.d.ts +36 -1
- package/src/index.d.ts +6 -0
- package/src/spec/sampleView.d.ts +68 -13
- package/src/spec/view.d.ts +44 -5
- package/src/state/paramProvenanceTypes.d.ts +25 -2
- package/src/state.d.ts +14 -52
- package/dist/clipOptions-B5PibDq3.js +0 -2923
- package/dist/clipOptions-Cba4I0AO.js +0 -2903
- package/dist/esm-Dndm-NaA.js +0 -1193
- package/dist/order-B4uR9Q04.js +0 -1062
- package/dist/order-BSPy5DI8.js +0 -1062
- package/dist/renderCanvas2D-ChdoHGrU.js +0 -285
- package/dist/vega-scale-Byaw1K8O.js +0 -2446
- package/dist/vega-scale-Ctz_wa3z.js +0 -2443
- package/dist/viewError-BiR9VCgL.js +0 -29
- package/dist/viewUtils-JX6CMEYH.js +0 -6664
- package/dist/webgl-DdmOwEH0.js +0 -5544
- package/dist/webgl-Dw8xqZpX.js +0 -5544
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Sn as e } from "./clipOptions-SrrxeAEU.js";
|
|
1
2
|
//#region ../core/src/view/renderingContext/viewRenderingContext.js
|
|
2
|
-
var
|
|
3
|
+
var t = class {
|
|
3
4
|
constructor(e) {
|
|
4
5
|
this.globalOptions = e;
|
|
5
6
|
}
|
|
@@ -14,11 +15,11 @@ var e = class {
|
|
|
14
15
|
};
|
|
15
16
|
//#endregion
|
|
16
17
|
//#region ../core/src/view/layout/layoutResult.js
|
|
17
|
-
function
|
|
18
|
-
let a = new
|
|
19
|
-
return e.arrange(a, t,
|
|
18
|
+
function n(e, t, { devicePixelRatio: n = 1, renderingOptions: r = {} } = {}) {
|
|
19
|
+
let a = new i(n);
|
|
20
|
+
return e.arrange(a, t, r), a.complete();
|
|
20
21
|
}
|
|
21
|
-
var
|
|
22
|
+
var r = class {
|
|
22
23
|
#e;
|
|
23
24
|
constructor(e) {
|
|
24
25
|
this.#e = e;
|
|
@@ -43,7 +44,7 @@ var n = class {
|
|
|
43
44
|
default: throw Error("Unknown layout command");
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
},
|
|
47
|
+
}, i = class extends t {
|
|
47
48
|
#e = [];
|
|
48
49
|
#t = [];
|
|
49
50
|
#n = 0;
|
|
@@ -80,18 +81,36 @@ var n = class {
|
|
|
80
81
|
this.#e.push({
|
|
81
82
|
type: "renderMark",
|
|
82
83
|
mark: e,
|
|
83
|
-
options:
|
|
84
|
+
options: a(t)
|
|
84
85
|
});
|
|
85
86
|
}
|
|
86
87
|
complete() {
|
|
87
88
|
if (this.#t.length > 0) throw Error("Unclosed view scope");
|
|
88
89
|
if (this.#n > 0) throw Error("Unclosed sample facet batch scope");
|
|
89
|
-
return new
|
|
90
|
+
return new r(this.#e);
|
|
90
91
|
}
|
|
91
92
|
};
|
|
92
|
-
function
|
|
93
|
+
function a(e) {
|
|
93
94
|
let t = { ...e };
|
|
94
95
|
return e.sampleFacetRenderingOptions && (t.sampleFacetRenderingOptions = { ...e.sampleFacetRenderingOptions }), e.placement && (t.placement = { ...e.placement }), e.clip && (t.clip = { ...e.clip }), t;
|
|
95
96
|
}
|
|
96
97
|
//#endregion
|
|
97
|
-
|
|
98
|
+
//#region ../core/src/rendering/color.js
|
|
99
|
+
function o(t) {
|
|
100
|
+
let n = e(t);
|
|
101
|
+
if (!n) throw Error("Invalid color: " + t);
|
|
102
|
+
let r = n.rgb(), i = Math.max(0, Math.min(1, r.opacity));
|
|
103
|
+
return i === 0 ? [
|
|
104
|
+
0,
|
|
105
|
+
0,
|
|
106
|
+
0,
|
|
107
|
+
0
|
|
108
|
+
] : [
|
|
109
|
+
r.r / 255,
|
|
110
|
+
r.g / 255,
|
|
111
|
+
r.b / 255,
|
|
112
|
+
i
|
|
113
|
+
];
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
116
|
+
export { n, t as r, o as t };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { xn as e } from "./clipOptions-clBEbkjv.js";
|
|
2
|
+
//#region ../core/src/view/renderingContext/viewRenderingContext.js
|
|
3
|
+
var t = class {
|
|
4
|
+
constructor(e) {
|
|
5
|
+
this.globalOptions = e;
|
|
6
|
+
}
|
|
7
|
+
beginSampleFacetBatch() {}
|
|
8
|
+
endSampleFacetBatch() {}
|
|
9
|
+
pushView(e, t) {}
|
|
10
|
+
popView(e) {}
|
|
11
|
+
renderMark(e, t) {}
|
|
12
|
+
getDevicePixelRatio() {
|
|
13
|
+
return 1;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region ../core/src/view/layout/layoutResult.js
|
|
18
|
+
function n(e, t, { devicePixelRatio: n = 1, renderingOptions: r = {} } = {}) {
|
|
19
|
+
let a = new i(n);
|
|
20
|
+
return e.arrange(a, t, r), a.complete();
|
|
21
|
+
}
|
|
22
|
+
var r = class {
|
|
23
|
+
#e;
|
|
24
|
+
constructor(e) {
|
|
25
|
+
this.#e = e;
|
|
26
|
+
}
|
|
27
|
+
collectRenderCommands(e) {
|
|
28
|
+
for (let t of this.#e) switch (t.type) {
|
|
29
|
+
case "beginSampleFacetBatch":
|
|
30
|
+
e.beginSampleFacetBatch();
|
|
31
|
+
break;
|
|
32
|
+
case "endSampleFacetBatch":
|
|
33
|
+
e.endSampleFacetBatch();
|
|
34
|
+
break;
|
|
35
|
+
case "pushView":
|
|
36
|
+
e.pushView(t.view, t.coords);
|
|
37
|
+
break;
|
|
38
|
+
case "popView":
|
|
39
|
+
e.popView(t.view);
|
|
40
|
+
break;
|
|
41
|
+
case "renderMark":
|
|
42
|
+
e.renderMark(t.mark, t.options);
|
|
43
|
+
break;
|
|
44
|
+
default: throw Error("Unknown layout command");
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}, i = class extends t {
|
|
48
|
+
#e = [];
|
|
49
|
+
#t = [];
|
|
50
|
+
#n = 0;
|
|
51
|
+
#r;
|
|
52
|
+
constructor(e) {
|
|
53
|
+
super({}), this.#r = e;
|
|
54
|
+
}
|
|
55
|
+
getDevicePixelRatio() {
|
|
56
|
+
return this.#r;
|
|
57
|
+
}
|
|
58
|
+
beginSampleFacetBatch() {
|
|
59
|
+
this.#n++, this.#e.push({ type: "beginSampleFacetBatch" });
|
|
60
|
+
}
|
|
61
|
+
endSampleFacetBatch() {
|
|
62
|
+
if (this.#n == 0) throw Error("Unbalanced sample facet batch scope");
|
|
63
|
+
this.#n--, this.#e.push({ type: "endSampleFacetBatch" });
|
|
64
|
+
}
|
|
65
|
+
pushView(e, t) {
|
|
66
|
+
this.#t.push(e), this.#e.push({
|
|
67
|
+
type: "pushView",
|
|
68
|
+
view: e,
|
|
69
|
+
coords: t
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
popView(e) {
|
|
73
|
+
if (this.#t.pop() !== e) throw Error("Unbalanced view scope");
|
|
74
|
+
this.#e.push({
|
|
75
|
+
type: "popView",
|
|
76
|
+
view: e
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
renderMark(e, t) {
|
|
80
|
+
if (this.#t.length == 0) throw Error("A mark must be inside a view scope");
|
|
81
|
+
this.#e.push({
|
|
82
|
+
type: "renderMark",
|
|
83
|
+
mark: e,
|
|
84
|
+
options: a(t)
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
complete() {
|
|
88
|
+
if (this.#t.length > 0) throw Error("Unclosed view scope");
|
|
89
|
+
if (this.#n > 0) throw Error("Unclosed sample facet batch scope");
|
|
90
|
+
return new r(this.#e);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
function a(e) {
|
|
94
|
+
let t = { ...e };
|
|
95
|
+
return e.sampleFacetRenderingOptions && (t.sampleFacetRenderingOptions = { ...e.sampleFacetRenderingOptions }), e.placement && (t.placement = { ...e.placement }), e.clip && (t.clip = { ...e.clip }), t;
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region ../core/src/rendering/color.js
|
|
99
|
+
function o(t) {
|
|
100
|
+
let n = e(t);
|
|
101
|
+
if (!n) throw Error("Invalid color: " + t);
|
|
102
|
+
let r = n.rgb(), i = Math.max(0, Math.min(1, r.opacity));
|
|
103
|
+
return i === 0 ? [
|
|
104
|
+
0,
|
|
105
|
+
0,
|
|
106
|
+
0,
|
|
107
|
+
0
|
|
108
|
+
] : [
|
|
109
|
+
r.r / 255,
|
|
110
|
+
r.g / 255,
|
|
111
|
+
r.b / 255,
|
|
112
|
+
i
|
|
113
|
+
];
|
|
114
|
+
}
|
|
115
|
+
//#endregion
|
|
116
|
+
export { n, t as r, o as t };
|
|
@@ -1272,7 +1272,7 @@ function In(e) {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
function Ln(e) {
|
|
1274
1274
|
let t = e.getAttribute("data-prefix"), n = e.getAttribute("data-icon"), r = e.innerText === void 0 ? "" : e.innerText.trim(), i = U(at(e));
|
|
1275
|
-
return i.prefix ||= V(), t && n && (i.prefix = t, i.iconName = n), i.iconName && i.prefix
|
|
1275
|
+
return i.prefix ||= V(), t && n && (i.prefix = t, i.iconName = n), i.iconName && i.prefix || (i.prefix && r.length > 0 && (i.iconName = Bt(i.prefix, e.innerText) || zt(i.prefix, Ct(e.innerText))), !i.iconName && O.autoFetchSvg && e.firstChild && e.firstChild.nodeType === Node.TEXT_NODE && (i.iconName = e.firstChild.data)), i;
|
|
1276
1276
|
}
|
|
1277
1277
|
function Rn(e) {
|
|
1278
1278
|
let t = N(e.attributes).reduce((e, t) => (e.name !== "class" && e.name !== "style" && (e[t.name] = t.value), e), {}), n = e.getAttribute("title"), r = e.getAttribute("data-fa-title-id");
|
|
@@ -1,11 +1,29 @@
|
|
|
1
|
-
import { _ as e, v as t } from "./viewSelectors-
|
|
2
|
-
//#region ../core/src/view/
|
|
3
|
-
var n =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { _ as e, v as t } from "./viewSelectors-DkFvo33d.js";
|
|
2
|
+
//#region ../core/src/view/viewIdentityRegistry.js
|
|
3
|
+
var n = /* @__PURE__ */ new WeakMap();
|
|
4
|
+
function r(e) {
|
|
5
|
+
let t = n.get(e);
|
|
6
|
+
return t || (t = new i(), n.set(e, t)), t;
|
|
7
|
+
}
|
|
8
|
+
var i = class {
|
|
9
|
+
#e = /* @__PURE__ */ new WeakMap();
|
|
10
|
+
#t = /* @__PURE__ */ new Map();
|
|
11
|
+
#n = 0;
|
|
12
|
+
getId(e) {
|
|
13
|
+
let t = this.#e.get(e);
|
|
14
|
+
return t || (t = "view-" + String(this.#n), this.#n++, this.#e.set(e, t), this.#t.set(t, e)), t;
|
|
15
|
+
}
|
|
16
|
+
getView(e) {
|
|
17
|
+
return this.#t.get(e);
|
|
7
18
|
}
|
|
19
|
+
}, a = class n extends t {
|
|
20
|
+
#e = /* @__PURE__ */ new Map();
|
|
8
21
|
async initializeChildren() {}
|
|
22
|
+
async createChildViews(e, t) {
|
|
23
|
+
let n = await Promise.allSettled(e), r = n.filter((e) => e.status === "fulfilled").map((e) => e.value), i = n.find((e) => e.status === "rejected");
|
|
24
|
+
if (t(r), i) throw i.reason;
|
|
25
|
+
}
|
|
26
|
+
async syncGuideViews(e) {}
|
|
9
27
|
getNextAutoName(e) {
|
|
10
28
|
let t = this.#e.get(e) ?? 0;
|
|
11
29
|
return this.#e.set(e, t + 1), e + t;
|
|
@@ -30,16 +48,11 @@ var n = class n extends t {
|
|
|
30
48
|
}
|
|
31
49
|
findDescendantByPath(e) {
|
|
32
50
|
let t = this;
|
|
33
|
-
for (let r
|
|
51
|
+
for (let r of e) {
|
|
34
52
|
if (!(t instanceof n)) return;
|
|
35
|
-
|
|
36
|
-
if (!i) return;
|
|
37
|
-
if (r === e.length - 1) return i;
|
|
38
|
-
t = i;
|
|
53
|
+
t = Iterator.from(t).find((e) => e.name === r);
|
|
39
54
|
}
|
|
40
|
-
|
|
41
|
-
#t(e) {
|
|
42
|
-
for (let t of this) if (t.name === e) return t;
|
|
55
|
+
return e.length ? t : void 0;
|
|
43
56
|
}
|
|
44
57
|
findDescendantByName(t) {
|
|
45
58
|
let n;
|
|
@@ -50,22 +63,6 @@ var n = class n extends t {
|
|
|
50
63
|
getDefaultResolution(e, t) {
|
|
51
64
|
return "shared";
|
|
52
65
|
}
|
|
53
|
-
}, r = /* @__PURE__ */ new WeakMap();
|
|
54
|
-
function i(e) {
|
|
55
|
-
let t = r.get(e);
|
|
56
|
-
return t || (t = new a(), r.set(e, t)), t;
|
|
57
|
-
}
|
|
58
|
-
var a = class {
|
|
59
|
-
#e = /* @__PURE__ */ new WeakMap();
|
|
60
|
-
#t = /* @__PURE__ */ new Map();
|
|
61
|
-
#n = 0;
|
|
62
|
-
getId(e) {
|
|
63
|
-
let t = this.#e.get(e);
|
|
64
|
-
return t || (t = "view-" + String(this.#n), this.#n++, this.#e.set(e, t), this.#t.set(t, e)), t;
|
|
65
|
-
}
|
|
66
|
-
getView(e) {
|
|
67
|
-
return this.#t.get(e);
|
|
68
|
-
}
|
|
69
66
|
};
|
|
70
67
|
//#endregion
|
|
71
|
-
export { n,
|
|
68
|
+
export { r as n, a as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as e, y as t } from "./viewSelectors-
|
|
1
|
+
import { v as e, y as t } from "./viewSelectors-lM93fHAq.js";
|
|
2
2
|
//#region ../core/src/encoder/metadataChannels.js
|
|
3
3
|
function n(e) {
|
|
4
4
|
return i(e?.key, "key");
|
|
@@ -20,13 +20,31 @@ function i(e, t) {
|
|
|
20
20
|
return r;
|
|
21
21
|
}
|
|
22
22
|
//#endregion
|
|
23
|
-
//#region ../core/src/view/
|
|
24
|
-
var a =
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
//#region ../core/src/view/viewIdentityRegistry.js
|
|
24
|
+
var a = /* @__PURE__ */ new WeakMap();
|
|
25
|
+
function o(e) {
|
|
26
|
+
let t = a.get(e);
|
|
27
|
+
return t || (t = new s(), a.set(e, t)), t;
|
|
28
|
+
}
|
|
29
|
+
var s = class {
|
|
30
|
+
#e = /* @__PURE__ */ new WeakMap();
|
|
31
|
+
#t = /* @__PURE__ */ new Map();
|
|
32
|
+
#n = 0;
|
|
33
|
+
getId(e) {
|
|
34
|
+
let t = this.#e.get(e);
|
|
35
|
+
return t || (t = "view-" + String(this.#n), this.#n++, this.#e.set(e, t), this.#t.set(t, e)), t;
|
|
36
|
+
}
|
|
37
|
+
getView(e) {
|
|
38
|
+
return this.#t.get(e);
|
|
28
39
|
}
|
|
40
|
+
}, c = class n extends t {
|
|
41
|
+
#e = /* @__PURE__ */ new Map();
|
|
29
42
|
async initializeChildren() {}
|
|
43
|
+
async createChildViews(e, t) {
|
|
44
|
+
let n = await Promise.allSettled(e), r = n.filter((e) => e.status === "fulfilled").map((e) => e.value), i = n.find((e) => e.status === "rejected");
|
|
45
|
+
if (t(r), i) throw i.reason;
|
|
46
|
+
}
|
|
47
|
+
async syncGuideViews(e) {}
|
|
30
48
|
getNextAutoName(e) {
|
|
31
49
|
let t = this.#e.get(e) ?? 0;
|
|
32
50
|
return this.#e.set(e, t + 1), e + t;
|
|
@@ -51,16 +69,11 @@ var a = class n extends t {
|
|
|
51
69
|
}
|
|
52
70
|
findDescendantByPath(e) {
|
|
53
71
|
let t = this;
|
|
54
|
-
for (let r
|
|
72
|
+
for (let r of e) {
|
|
55
73
|
if (!(t instanceof n)) return;
|
|
56
|
-
|
|
57
|
-
if (!i) return;
|
|
58
|
-
if (r === e.length - 1) return i;
|
|
59
|
-
t = i;
|
|
74
|
+
t = Iterator.from(t).find((e) => e.name === r);
|
|
60
75
|
}
|
|
61
|
-
|
|
62
|
-
#t(e) {
|
|
63
|
-
for (let t of this) if (t.name === e) return t;
|
|
76
|
+
return e.length ? t : void 0;
|
|
64
77
|
}
|
|
65
78
|
findDescendantByName(t) {
|
|
66
79
|
let n;
|
|
@@ -71,22 +84,6 @@ var a = class n extends t {
|
|
|
71
84
|
getDefaultResolution(e, t) {
|
|
72
85
|
return "shared";
|
|
73
86
|
}
|
|
74
|
-
}, o = /* @__PURE__ */ new WeakMap();
|
|
75
|
-
function s(e) {
|
|
76
|
-
let t = o.get(e);
|
|
77
|
-
return t || (t = new c(), o.set(e, t)), t;
|
|
78
|
-
}
|
|
79
|
-
var c = class {
|
|
80
|
-
#e = /* @__PURE__ */ new WeakMap();
|
|
81
|
-
#t = /* @__PURE__ */ new Map();
|
|
82
|
-
#n = 0;
|
|
83
|
-
getId(e) {
|
|
84
|
-
let t = this.#e.get(e);
|
|
85
|
-
return t || (t = "view-" + String(this.#n), this.#n++, this.#e.set(e, t), this.#t.set(t, e)), t;
|
|
86
|
-
}
|
|
87
|
-
getView(e) {
|
|
88
|
-
return this.#t.get(e);
|
|
89
|
-
}
|
|
90
87
|
};
|
|
91
88
|
//#endregion
|
|
92
|
-
export { r as i,
|
|
89
|
+
export { r as i, o as n, n as r, c as t };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { i as e, x as t } from "./viewSelectors-DkFvo33d.js";
|
|
2
|
+
import { n } from "./metadataChannels-DLSmx7kU.js";
|
|
3
|
+
import { n as r, t as i } from "./containerView-BItRtKqu.js";
|
|
3
4
|
//#region ../core/src/debug/valuePreview.js
|
|
4
5
|
var a = 3, o = 12, s = 8, c = 160;
|
|
5
6
|
function l(e, t = 0) {
|
|
@@ -100,7 +101,7 @@ function m(e, t) {
|
|
|
100
101
|
}), { marks: r };
|
|
101
102
|
}
|
|
102
103
|
function h(e, t) {
|
|
103
|
-
if (t(e), e instanceof
|
|
104
|
+
if (t(e), e instanceof i) for (let n of e) h(n, t);
|
|
104
105
|
}
|
|
105
106
|
function g(e) {
|
|
106
107
|
return (e.getCollector?.())?.getItemCount();
|
|
@@ -129,7 +130,7 @@ function _(e, t) {
|
|
|
129
130
|
}), { scopes: n };
|
|
130
131
|
}
|
|
131
132
|
function v(e, t) {
|
|
132
|
-
if (t(e), e instanceof
|
|
133
|
+
if (t(e), e instanceof i) for (let n of e) v(n, t);
|
|
133
134
|
}
|
|
134
135
|
//#endregion
|
|
135
136
|
//#region ../core/src/debug/resolutionDebugSnapshot.js
|
|
@@ -152,7 +153,7 @@ function b(e, t) {
|
|
|
152
153
|
for (let n of Object.values(t)) n && e.add(n);
|
|
153
154
|
}
|
|
154
155
|
function x(e, t) {
|
|
155
|
-
if (t(e), e instanceof
|
|
156
|
+
if (t(e), e instanceof i) for (let n of e) x(n, t);
|
|
156
157
|
}
|
|
157
158
|
function S(e, t) {
|
|
158
159
|
let n = e.getDebugState();
|
|
@@ -235,11 +236,11 @@ function D(e, n) {
|
|
|
235
236
|
rootId: void 0,
|
|
236
237
|
nodes: []
|
|
237
238
|
};
|
|
238
|
-
let
|
|
239
|
+
let r = n.includeChrome ?? !1, a = [], o = (e, s) => {
|
|
239
240
|
let c = t(e);
|
|
240
|
-
if (c && !
|
|
241
|
+
if (c && !r) return;
|
|
241
242
|
let l = n.getDebugId(e), u = O(e, l, s, c, n);
|
|
242
|
-
if (a.push(u), e instanceof
|
|
243
|
+
if (a.push(u), e instanceof i) for (let t of e) {
|
|
243
244
|
let e = o(t, l);
|
|
244
245
|
e && u.childIds.push(e.id);
|
|
245
246
|
}
|
|
@@ -343,4 +344,4 @@ function L(e, t, n) {
|
|
|
343
344
|
return r ? n.getDebugId(r) : void 0;
|
|
344
345
|
}
|
|
345
346
|
//#endregion
|
|
346
|
-
export { d as createDataflowDebugSnapshot, m as createMarkDebugSnapshot, _ as createParamDebugSnapshot, y as createResolutionDebugSnapshot, D as createViewDebugSnapshot,
|
|
347
|
+
export { d as createDataflowDebugSnapshot, m as createMarkDebugSnapshot, _ as createParamDebugSnapshot, y as createResolutionDebugSnapshot, D as createViewDebugSnapshot, r as getViewIdentityRegistry };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as r, t as i } from "./viewIdentityRegistry-BIYd4TE0.js";
|
|
1
|
+
import { S as e, a as t } from "./viewSelectors-lM93fHAq.js";
|
|
2
|
+
import { i as n, n as r, t as i } from "./containerView-CWa6ZIJW.js";
|
|
4
3
|
//#region ../core/src/debug/valuePreview.js
|
|
5
4
|
var a = 3, o = 12, s = 8, c = 160;
|
|
6
5
|
function l(e, t = 0) {
|
|
@@ -101,7 +100,7 @@ function m(e, t) {
|
|
|
101
100
|
}), { marks: r };
|
|
102
101
|
}
|
|
103
102
|
function h(e, t) {
|
|
104
|
-
if (t(e), e instanceof
|
|
103
|
+
if (t(e), e instanceof i) for (let n of e) h(n, t);
|
|
105
104
|
}
|
|
106
105
|
function g(e) {
|
|
107
106
|
return (e.getCollector?.())?.getItemCount();
|
|
@@ -130,7 +129,7 @@ function _(e, t) {
|
|
|
130
129
|
}), { scopes: n };
|
|
131
130
|
}
|
|
132
131
|
function v(e, t) {
|
|
133
|
-
if (t(e), e instanceof
|
|
132
|
+
if (t(e), e instanceof i) for (let n of e) v(n, t);
|
|
134
133
|
}
|
|
135
134
|
//#endregion
|
|
136
135
|
//#region ../core/src/debug/resolutionDebugSnapshot.js
|
|
@@ -153,7 +152,7 @@ function b(e, t) {
|
|
|
153
152
|
for (let n of Object.values(t)) n && e.add(n);
|
|
154
153
|
}
|
|
155
154
|
function x(e, t) {
|
|
156
|
-
if (t(e), e instanceof
|
|
155
|
+
if (t(e), e instanceof i) for (let n of e) x(n, t);
|
|
157
156
|
}
|
|
158
157
|
function S(e, t) {
|
|
159
158
|
let n = e.getDebugState();
|
|
@@ -236,11 +235,11 @@ function D(t, n) {
|
|
|
236
235
|
rootId: void 0,
|
|
237
236
|
nodes: []
|
|
238
237
|
};
|
|
239
|
-
let
|
|
238
|
+
let r = n.includeChrome ?? !1, a = [], o = (t, s) => {
|
|
240
239
|
let c = e(t);
|
|
241
|
-
if (c && !
|
|
240
|
+
if (c && !r) return;
|
|
242
241
|
let l = n.getDebugId(t), u = O(t, l, s, c, n);
|
|
243
|
-
if (a.push(u), t instanceof
|
|
242
|
+
if (a.push(u), t instanceof i) for (let e of t) {
|
|
244
243
|
let t = o(e, l);
|
|
245
244
|
t && u.childIds.push(t.id);
|
|
246
245
|
}
|
|
@@ -344,4 +343,4 @@ function L(e, t, n) {
|
|
|
344
343
|
return r ? n.getDebugId(r) : void 0;
|
|
345
344
|
}
|
|
346
345
|
//#endregion
|
|
347
|
-
export { d as createDataflowDebugSnapshot, m as createMarkDebugSnapshot, _ as createParamDebugSnapshot, y as createResolutionDebugSnapshot, D as createViewDebugSnapshot,
|
|
346
|
+
export { d as createDataflowDebugSnapshot, m as createMarkDebugSnapshot, _ as createParamDebugSnapshot, y as createResolutionDebugSnapshot, D as createViewDebugSnapshot, r as getViewIdentityRegistry };
|
package/dist/dialog.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, n as t, o as n, t as r } from "./lit-CoXp9NFX.js";
|
|
2
|
-
import { n as i, r as a, t as o } from "./componentStyles-
|
|
2
|
+
import { n as i, r as a, t as o } from "./componentStyles-C7FbjS-a.js";
|
|
3
3
|
//#region src/components/generic/baseDialog.js
|
|
4
4
|
var s = /* @__PURE__ */ new Set([
|
|
5
5
|
"text",
|