@roomle/embedding-lib 7.3.0-alpha.4 → 8.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/comlink-B2Kj_5Ge.mjs +206 -0
- package/comlink-B5lV2OWp.mjs +226 -0
- package/docs/md/web/embedding/CHANGELOG.md +43 -34
- package/{drag-ghost-DqF-SGUQ.mjs → drag-ghost-BxqPJdhq.mjs} +1 -1
- package/{drag-ghost-Rbgko27K.mjs → drag-ghost-CDFtC1pd.mjs} +1 -1
- package/{drag-in-DDGopCLr.mjs → drag-in-CV1E-DO6.mjs} +15 -9
- package/{drag-in-BCnrHxxt.mjs → drag-in-ClPpCYyi.mjs} +20 -14
- package/embedding-plugins.js +1 -1
- package/embedding-plugins.min.js +1 -1
- package/{from-custom-view-BxJkoaTB.mjs → from-custom-view-Q9A-J7qV.mjs} +31 -31
- package/{from-custom-view-CbO74qvE.mjs → from-custom-view-Sx6P6iDI.mjs} +30 -30
- package/{from-website-W-UZ3lee.mjs → from-website-BmCO2xli.mjs} +23 -23
- package/{from-website-D07qrmeq.mjs → from-website-DZJy_l42.mjs} +23 -23
- package/hi.js +3 -3
- package/hi.min.js +3 -3
- package/package.json +1 -1
- package/packages/embedding-lib/src/roomle-embedding-lib.d.ts +0 -3
- package/roomle-embedding-lib.js +84 -94
- package/roomle-embedding-lib.min.js +76 -86
- package/comlink-BipJ8Ikr.mjs +0 -237
- package/comlink-Dds_bpug.mjs +0 -220
- package/rolldown-runtime-C-QNzSnW.mjs +0 -11
- package/rolldown-runtime-C017PlDO.mjs +0 -9
- /package/{browser-DRgK3Fk8.mjs → browser-BxG7yIaK.mjs} +0 -0
- /package/{browser-C_Dfiou7.mjs → browser-CW9o-dtT.mjs} +0 -0
- /package/{utils-i2eOrtnv.mjs → utils-DxJ3PcKe.mjs} +0 -0
- /package/{utils-Co3lE-Ji.mjs → utils-wJ80awOA.mjs} +0 -0
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
var e = Symbol("Comlink.proxy"), t = Symbol("Comlink.endpoint"), n = Symbol("Comlink.releaseProxy"), r = Symbol("Comlink.finalizer"), i = Symbol("Comlink.thrown"), a = (e) => typeof e == "object" && !!e || typeof e == "function", o = new Map([["proxy", {
|
|
2
|
+
canHandle: (t) => a(t) && t[e],
|
|
3
|
+
serialize(e) {
|
|
4
|
+
let { port1: t, port2: n } = new MessageChannel();
|
|
5
|
+
return s(e, t), [n, [n]];
|
|
6
|
+
},
|
|
7
|
+
deserialize: (e) => (e.start(), function(e) {
|
|
8
|
+
let t = /* @__PURE__ */ new Map();
|
|
9
|
+
return e.addEventListener("message", function(e) {
|
|
10
|
+
let { data: n } = e;
|
|
11
|
+
if (!n || !n.id) return;
|
|
12
|
+
let r = t.get(n.id);
|
|
13
|
+
if (r) try {
|
|
14
|
+
r(n);
|
|
15
|
+
} finally {
|
|
16
|
+
t.delete(n.id);
|
|
17
|
+
}
|
|
18
|
+
}), p(e, t, [], void 0);
|
|
19
|
+
}(e))
|
|
20
|
+
}], ["throw", {
|
|
21
|
+
canHandle: (e) => a(e) && i in e,
|
|
22
|
+
serialize({ value: e }) {
|
|
23
|
+
let t;
|
|
24
|
+
return t = e instanceof Error ? {
|
|
25
|
+
isError: !0,
|
|
26
|
+
value: {
|
|
27
|
+
message: e.message,
|
|
28
|
+
name: e.name,
|
|
29
|
+
stack: e.stack
|
|
30
|
+
}
|
|
31
|
+
} : {
|
|
32
|
+
isError: !1,
|
|
33
|
+
value: e
|
|
34
|
+
}, [t, []];
|
|
35
|
+
},
|
|
36
|
+
deserialize(e) {
|
|
37
|
+
throw e.isError ? Object.assign(Error(e.value.message), e.value) : e.value;
|
|
38
|
+
}
|
|
39
|
+
}]]);
|
|
40
|
+
function s(t, n = globalThis, a = ["*"]) {
|
|
41
|
+
n.addEventListener("message", function o(l) {
|
|
42
|
+
if (!l || !l.data || !function(e, t) {
|
|
43
|
+
for (let n of e) if (t === n || n === "*" || n instanceof RegExp && n.test(t)) return !0;
|
|
44
|
+
return !1;
|
|
45
|
+
}(a, l.origin)) return;
|
|
46
|
+
let { id: u, type: d, path: f } = Object.assign({ path: [] }, l.data), p = (l.data.argumentList || []).map(_), m;
|
|
47
|
+
try {
|
|
48
|
+
let n = f.slice(0, -1).reduce((e, t) => e[t], t), r = f.reduce((e, t) => e[t], t);
|
|
49
|
+
switch (d) {
|
|
50
|
+
case "GET":
|
|
51
|
+
m = r;
|
|
52
|
+
break;
|
|
53
|
+
case "SET":
|
|
54
|
+
n[f.slice(-1)[0]] = _(l.data.value), m = !0;
|
|
55
|
+
break;
|
|
56
|
+
case "APPLY":
|
|
57
|
+
m = r.apply(n, p);
|
|
58
|
+
break;
|
|
59
|
+
case "CONSTRUCT":
|
|
60
|
+
m = function(t) {
|
|
61
|
+
return Object.assign(t, { [e]: !0 });
|
|
62
|
+
}(new r(...p));
|
|
63
|
+
break;
|
|
64
|
+
case "ENDPOINT":
|
|
65
|
+
{
|
|
66
|
+
let { port1: e, port2: n } = new MessageChannel();
|
|
67
|
+
s(t, n), m = function(e, t) {
|
|
68
|
+
return h.set(e, t), e;
|
|
69
|
+
}(e, [e]);
|
|
70
|
+
}
|
|
71
|
+
break;
|
|
72
|
+
case "RELEASE":
|
|
73
|
+
m = void 0;
|
|
74
|
+
break;
|
|
75
|
+
default: return;
|
|
76
|
+
}
|
|
77
|
+
} catch (e) {
|
|
78
|
+
m = {
|
|
79
|
+
value: e,
|
|
80
|
+
[i]: 0
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
Promise.resolve(m).catch((e) => ({
|
|
84
|
+
value: e,
|
|
85
|
+
[i]: 0
|
|
86
|
+
})).then((e) => {
|
|
87
|
+
let [i, a] = g(e);
|
|
88
|
+
n.postMessage(Object.assign(Object.assign({}, i), { id: u }), a), d === "RELEASE" && (n.removeEventListener("message", o), c(n), r in t && typeof t[r] == "function" && t[r]());
|
|
89
|
+
}).catch((e) => {
|
|
90
|
+
let [t, r] = g({
|
|
91
|
+
value: /* @__PURE__ */ TypeError("Unserializable return value"),
|
|
92
|
+
[i]: 0
|
|
93
|
+
});
|
|
94
|
+
n.postMessage(Object.assign(Object.assign({}, t), { id: u }), r);
|
|
95
|
+
});
|
|
96
|
+
}), n.start && n.start();
|
|
97
|
+
}
|
|
98
|
+
function c(e) {
|
|
99
|
+
(function(e) {
|
|
100
|
+
return e.constructor.name === "MessagePort";
|
|
101
|
+
})(e) && e.close();
|
|
102
|
+
}
|
|
103
|
+
function l(e) {
|
|
104
|
+
if (e) throw Error("Proxy has been released and is not useable");
|
|
105
|
+
}
|
|
106
|
+
function u(e) {
|
|
107
|
+
return v(e, /* @__PURE__ */ new Map(), { type: "RELEASE" }).then(() => {
|
|
108
|
+
c(e);
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
var d = /* @__PURE__ */ new WeakMap(), f = "FinalizationRegistry" in globalThis && new FinalizationRegistry((e) => {
|
|
112
|
+
let t = (d.get(e) || 0) - 1;
|
|
113
|
+
d.set(e, t), t === 0 && u(e);
|
|
114
|
+
});
|
|
115
|
+
function p(e, r, i = [], a = function() {}) {
|
|
116
|
+
let o = !1, s = new Proxy(a, {
|
|
117
|
+
get(t, a) {
|
|
118
|
+
if (l(o), a === n) return () => {
|
|
119
|
+
(function(e) {
|
|
120
|
+
f && f.unregister(e);
|
|
121
|
+
})(s), u(e), r.clear(), o = !0;
|
|
122
|
+
};
|
|
123
|
+
if (a === "then") {
|
|
124
|
+
if (i.length === 0) return { then: () => s };
|
|
125
|
+
let t = v(e, r, {
|
|
126
|
+
type: "GET",
|
|
127
|
+
path: i.map((e) => e.toString())
|
|
128
|
+
}).then(_);
|
|
129
|
+
return t.then.bind(t);
|
|
130
|
+
}
|
|
131
|
+
return p(e, r, [...i, a]);
|
|
132
|
+
},
|
|
133
|
+
set(t, n, a) {
|
|
134
|
+
l(o);
|
|
135
|
+
let [s, c] = g(a);
|
|
136
|
+
return v(e, r, {
|
|
137
|
+
type: "SET",
|
|
138
|
+
path: [...i, n].map((e) => e.toString()),
|
|
139
|
+
value: s
|
|
140
|
+
}, c).then(_);
|
|
141
|
+
},
|
|
142
|
+
apply(n, a, s) {
|
|
143
|
+
l(o);
|
|
144
|
+
let c = i[i.length - 1];
|
|
145
|
+
if (c === t) return v(e, r, { type: "ENDPOINT" }).then(_);
|
|
146
|
+
if (c === "bind") return p(e, r, i.slice(0, -1));
|
|
147
|
+
let [u, d] = m(s);
|
|
148
|
+
return v(e, r, {
|
|
149
|
+
type: "APPLY",
|
|
150
|
+
path: i.map((e) => e.toString()),
|
|
151
|
+
argumentList: u
|
|
152
|
+
}, d).then(_);
|
|
153
|
+
},
|
|
154
|
+
construct(t, n) {
|
|
155
|
+
l(o);
|
|
156
|
+
let [a, s] = m(n);
|
|
157
|
+
return v(e, r, {
|
|
158
|
+
type: "CONSTRUCT",
|
|
159
|
+
path: i.map((e) => e.toString()),
|
|
160
|
+
argumentList: a
|
|
161
|
+
}, s).then(_);
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
return function(e, t) {
|
|
165
|
+
let n = (d.get(t) || 0) + 1;
|
|
166
|
+
d.set(t, n), f && f.register(e, t, e);
|
|
167
|
+
}(s, e), s;
|
|
168
|
+
}
|
|
169
|
+
function m(e) {
|
|
170
|
+
let t = e.map(g);
|
|
171
|
+
return [t.map((e) => e[0]), (n = t.map((e) => e[1]), Array.prototype.concat.apply([], n))];
|
|
172
|
+
var n;
|
|
173
|
+
}
|
|
174
|
+
var h = /* @__PURE__ */ new WeakMap();
|
|
175
|
+
function g(e) {
|
|
176
|
+
for (let [t, n] of o) if (n.canHandle(e)) {
|
|
177
|
+
let [r, i] = n.serialize(e);
|
|
178
|
+
return [{
|
|
179
|
+
type: "HANDLER",
|
|
180
|
+
name: t,
|
|
181
|
+
value: r
|
|
182
|
+
}, i];
|
|
183
|
+
}
|
|
184
|
+
return [{
|
|
185
|
+
type: "RAW",
|
|
186
|
+
value: e
|
|
187
|
+
}, h.get(e) || []];
|
|
188
|
+
}
|
|
189
|
+
function _(e) {
|
|
190
|
+
switch (e.type) {
|
|
191
|
+
case "HANDLER": return o.get(e.name).deserialize(e.value);
|
|
192
|
+
case "RAW": return e.value;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
function v(e, t, n, r) {
|
|
196
|
+
return new Promise((i) => {
|
|
197
|
+
let a = [
|
|
198
|
+
,
|
|
199
|
+
,
|
|
200
|
+
,
|
|
201
|
+
,
|
|
202
|
+
].fill(0).map(() => Math.floor(Math.random() * (2 ** 53 - 1)).toString(16)).join("-");
|
|
203
|
+
t.set(a, i), e.start && e.start(), e.postMessage(Object.assign({ id: a }, n), r);
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
export { s as expose };
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
//#region node_modules/comlink/dist/esm/comlink.mjs
|
|
2
|
+
var e = Symbol("Comlink.proxy"), t = Symbol("Comlink.endpoint"), n = Symbol("Comlink.releaseProxy"), r = Symbol("Comlink.finalizer"), i = Symbol("Comlink.thrown"), a = (e) => typeof e == "object" && !!e || typeof e == "function", o = new Map([["proxy", {
|
|
3
|
+
canHandle: (t) => a(t) && t[e],
|
|
4
|
+
serialize(e) {
|
|
5
|
+
let { port1: t, port2: n } = new MessageChannel();
|
|
6
|
+
return c(e, t), [n, [n]];
|
|
7
|
+
},
|
|
8
|
+
deserialize(e) {
|
|
9
|
+
return e.start(), d(e);
|
|
10
|
+
}
|
|
11
|
+
}], ["throw", {
|
|
12
|
+
canHandle: (e) => a(e) && i in e,
|
|
13
|
+
serialize({ value: e }) {
|
|
14
|
+
let t;
|
|
15
|
+
return t = e instanceof Error ? {
|
|
16
|
+
isError: !0,
|
|
17
|
+
value: {
|
|
18
|
+
message: e.message,
|
|
19
|
+
name: e.name,
|
|
20
|
+
stack: e.stack
|
|
21
|
+
}
|
|
22
|
+
} : {
|
|
23
|
+
isError: !1,
|
|
24
|
+
value: e
|
|
25
|
+
}, [t, []];
|
|
26
|
+
},
|
|
27
|
+
deserialize(e) {
|
|
28
|
+
throw e.isError ? Object.assign(Error(e.value.message), e.value) : e.value;
|
|
29
|
+
}
|
|
30
|
+
}]]);
|
|
31
|
+
function s(e, t) {
|
|
32
|
+
for (let n of e) if (t === n || n === "*" || n instanceof RegExp && n.test(t)) return !0;
|
|
33
|
+
return !1;
|
|
34
|
+
}
|
|
35
|
+
function c(e, t = globalThis, n = ["*"]) {
|
|
36
|
+
t.addEventListener("message", function a(o) {
|
|
37
|
+
if (!o || !o.data) return;
|
|
38
|
+
if (!s(n, o.origin)) {
|
|
39
|
+
console.warn(`Invalid origin '${o.origin}' for comlink proxy`);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
let { id: l, type: d, path: f } = Object.assign({ path: [] }, o.data), p = (o.data.argumentList || []).map(T), m;
|
|
43
|
+
try {
|
|
44
|
+
let t = f.slice(0, -1).reduce((e, t) => e[t], e), n = f.reduce((e, t) => e[t], e);
|
|
45
|
+
switch (d) {
|
|
46
|
+
case "GET":
|
|
47
|
+
m = n;
|
|
48
|
+
break;
|
|
49
|
+
case "SET":
|
|
50
|
+
t[f.slice(-1)[0]] = T(o.data.value), m = !0;
|
|
51
|
+
break;
|
|
52
|
+
case "APPLY":
|
|
53
|
+
m = n.apply(t, p);
|
|
54
|
+
break;
|
|
55
|
+
case "CONSTRUCT":
|
|
56
|
+
m = C(new n(...p));
|
|
57
|
+
break;
|
|
58
|
+
case "ENDPOINT":
|
|
59
|
+
{
|
|
60
|
+
let { port1: t, port2: n } = new MessageChannel();
|
|
61
|
+
c(e, n), m = S(t, [t]);
|
|
62
|
+
}
|
|
63
|
+
break;
|
|
64
|
+
case "RELEASE":
|
|
65
|
+
m = void 0;
|
|
66
|
+
break;
|
|
67
|
+
default: return;
|
|
68
|
+
}
|
|
69
|
+
} catch (e) {
|
|
70
|
+
m = {
|
|
71
|
+
value: e,
|
|
72
|
+
[i]: 0
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
Promise.resolve(m).catch((e) => ({
|
|
76
|
+
value: e,
|
|
77
|
+
[i]: 0
|
|
78
|
+
})).then((n) => {
|
|
79
|
+
let [i, o] = w(n);
|
|
80
|
+
t.postMessage(Object.assign(Object.assign({}, i), { id: l }), o), d === "RELEASE" && (t.removeEventListener("message", a), u(t), r in e && typeof e[r] == "function" && e[r]());
|
|
81
|
+
}).catch((e) => {
|
|
82
|
+
let [n, r] = w({
|
|
83
|
+
value: /* @__PURE__ */ TypeError("Unserializable return value"),
|
|
84
|
+
[i]: 0
|
|
85
|
+
});
|
|
86
|
+
t.postMessage(Object.assign(Object.assign({}, n), { id: l }), r);
|
|
87
|
+
});
|
|
88
|
+
}), t.start && t.start();
|
|
89
|
+
}
|
|
90
|
+
function l(e) {
|
|
91
|
+
return e.constructor.name === "MessagePort";
|
|
92
|
+
}
|
|
93
|
+
function u(e) {
|
|
94
|
+
l(e) && e.close();
|
|
95
|
+
}
|
|
96
|
+
function d(e, t) {
|
|
97
|
+
let n = /* @__PURE__ */ new Map();
|
|
98
|
+
return e.addEventListener("message", function(e) {
|
|
99
|
+
let { data: t } = e;
|
|
100
|
+
if (!t || !t.id) return;
|
|
101
|
+
let r = n.get(t.id);
|
|
102
|
+
if (r) try {
|
|
103
|
+
r(t);
|
|
104
|
+
} finally {
|
|
105
|
+
n.delete(t.id);
|
|
106
|
+
}
|
|
107
|
+
}), v(e, n, [], t);
|
|
108
|
+
}
|
|
109
|
+
function f(e) {
|
|
110
|
+
if (e) throw Error("Proxy has been released and is not useable");
|
|
111
|
+
}
|
|
112
|
+
function p(e) {
|
|
113
|
+
return E(e, /* @__PURE__ */ new Map(), { type: "RELEASE" }).then(() => {
|
|
114
|
+
u(e);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
var m = /* @__PURE__ */ new WeakMap(), h = "FinalizationRegistry" in globalThis && new FinalizationRegistry((e) => {
|
|
118
|
+
let t = (m.get(e) || 0) - 1;
|
|
119
|
+
m.set(e, t), t === 0 && p(e);
|
|
120
|
+
});
|
|
121
|
+
function g(e, t) {
|
|
122
|
+
let n = (m.get(t) || 0) + 1;
|
|
123
|
+
m.set(t, n), h && h.register(e, t, e);
|
|
124
|
+
}
|
|
125
|
+
function _(e) {
|
|
126
|
+
h && h.unregister(e);
|
|
127
|
+
}
|
|
128
|
+
function v(e, r, i = [], a = function() {}) {
|
|
129
|
+
let o = !1, s = new Proxy(a, {
|
|
130
|
+
get(t, a) {
|
|
131
|
+
if (f(o), a === n) return () => {
|
|
132
|
+
_(s), p(e), r.clear(), o = !0;
|
|
133
|
+
};
|
|
134
|
+
if (a === "then") {
|
|
135
|
+
if (i.length === 0) return { then: () => s };
|
|
136
|
+
let t = E(e, r, {
|
|
137
|
+
type: "GET",
|
|
138
|
+
path: i.map((e) => e.toString())
|
|
139
|
+
}).then(T);
|
|
140
|
+
return t.then.bind(t);
|
|
141
|
+
}
|
|
142
|
+
return v(e, r, [...i, a]);
|
|
143
|
+
},
|
|
144
|
+
set(t, n, a) {
|
|
145
|
+
f(o);
|
|
146
|
+
let [s, c] = w(a);
|
|
147
|
+
return E(e, r, {
|
|
148
|
+
type: "SET",
|
|
149
|
+
path: [...i, n].map((e) => e.toString()),
|
|
150
|
+
value: s
|
|
151
|
+
}, c).then(T);
|
|
152
|
+
},
|
|
153
|
+
apply(n, a, s) {
|
|
154
|
+
f(o);
|
|
155
|
+
let c = i[i.length - 1];
|
|
156
|
+
if (c === t) return E(e, r, { type: "ENDPOINT" }).then(T);
|
|
157
|
+
if (c === "bind") return v(e, r, i.slice(0, -1));
|
|
158
|
+
let [l, u] = b(s);
|
|
159
|
+
return E(e, r, {
|
|
160
|
+
type: "APPLY",
|
|
161
|
+
path: i.map((e) => e.toString()),
|
|
162
|
+
argumentList: l
|
|
163
|
+
}, u).then(T);
|
|
164
|
+
},
|
|
165
|
+
construct(t, n) {
|
|
166
|
+
f(o);
|
|
167
|
+
let [a, s] = b(n);
|
|
168
|
+
return E(e, r, {
|
|
169
|
+
type: "CONSTRUCT",
|
|
170
|
+
path: i.map((e) => e.toString()),
|
|
171
|
+
argumentList: a
|
|
172
|
+
}, s).then(T);
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
return g(s, e), s;
|
|
176
|
+
}
|
|
177
|
+
function y(e) {
|
|
178
|
+
return Array.prototype.concat.apply([], e);
|
|
179
|
+
}
|
|
180
|
+
function b(e) {
|
|
181
|
+
let t = e.map(w);
|
|
182
|
+
return [t.map((e) => e[0]), y(t.map((e) => e[1]))];
|
|
183
|
+
}
|
|
184
|
+
var x = /* @__PURE__ */ new WeakMap();
|
|
185
|
+
function S(e, t) {
|
|
186
|
+
return x.set(e, t), e;
|
|
187
|
+
}
|
|
188
|
+
function C(t) {
|
|
189
|
+
return Object.assign(t, { [e]: !0 });
|
|
190
|
+
}
|
|
191
|
+
function w(e) {
|
|
192
|
+
for (let [t, n] of o) if (n.canHandle(e)) {
|
|
193
|
+
let [r, i] = n.serialize(e);
|
|
194
|
+
return [{
|
|
195
|
+
type: "HANDLER",
|
|
196
|
+
name: t,
|
|
197
|
+
value: r
|
|
198
|
+
}, i];
|
|
199
|
+
}
|
|
200
|
+
return [{
|
|
201
|
+
type: "RAW",
|
|
202
|
+
value: e
|
|
203
|
+
}, x.get(e) || []];
|
|
204
|
+
}
|
|
205
|
+
function T(e) {
|
|
206
|
+
switch (e.type) {
|
|
207
|
+
case "HANDLER": return o.get(e.name).deserialize(e.value);
|
|
208
|
+
case "RAW": return e.value;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
function E(e, t, n, r) {
|
|
212
|
+
return new Promise((i) => {
|
|
213
|
+
let a = D();
|
|
214
|
+
t.set(a, i), e.start && e.start(), e.postMessage(Object.assign({ id: a }, n), r);
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
function D() {
|
|
218
|
+
return [
|
|
219
|
+
,
|
|
220
|
+
,
|
|
221
|
+
,
|
|
222
|
+
,
|
|
223
|
+
].fill(0).map(() => Math.floor(Math.random() * (2 ** 53 - 1)).toString(16)).join("-");
|
|
224
|
+
}
|
|
225
|
+
//#endregion
|
|
226
|
+
export { c as expose };
|
|
@@ -1,35 +1,44 @@
|
|
|
1
|
-
##
|
|
1
|
+
## 8.0.0-alpha.2 (2026-09-16)
|
|
2
2
|
|
|
3
|
-
* Merge branch '
|
|
4
|
-
* Merge branch 'master' into feat/
|
|
5
|
-
* Merge branch 'master' into feat/
|
|
6
|
-
* Merge branch 'master' into feat/
|
|
7
|
-
* Merge branch 'master' into feat/
|
|
8
|
-
* Merge branch 'master' into feat/
|
|
9
|
-
* Merge branch 'master' into feat/
|
|
10
|
-
* Merge
|
|
11
|
-
* Merge
|
|
12
|
-
* Merge
|
|
13
|
-
* Merge
|
|
14
|
-
* Merge
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* chore:
|
|
27
|
-
* chore:
|
|
28
|
-
* chore:
|
|
29
|
-
* chore:
|
|
30
|
-
* chore: revert
|
|
31
|
-
* chore: revert unneeded changes ([
|
|
32
|
-
* chore:
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
3
|
+
* Merge branch 'feat/planner-configurator-zoom-RML-17336' of https://github.com/roomle-dev/roomle-ui i ([f42c9c0](https://github.com/roomle-dev/roomle-ui/commit/f42c9c0))
|
|
4
|
+
* Merge branch 'master' into feat/planner-configurator-zoom-RML-17336 ([e76abd2](https://github.com/roomle-dev/roomle-ui/commit/e76abd2))
|
|
5
|
+
* Merge branch 'master' into feat/planner-configurator-zoom-RML-17336 ([d4fdb71](https://github.com/roomle-dev/roomle-ui/commit/d4fdb71))
|
|
6
|
+
* Merge branch 'master' into feat/planner-configurator-zoom-RML-17336 ([e3773cf](https://github.com/roomle-dev/roomle-ui/commit/e3773cf))
|
|
7
|
+
* Merge branch 'master' into feat/planner-configurator-zoom-RML-17336 ([965f555](https://github.com/roomle-dev/roomle-ui/commit/965f555))
|
|
8
|
+
* Merge branch 'master' into feat/planner-configurator-zoom-RML-17336 ([bff5d24](https://github.com/roomle-dev/roomle-ui/commit/bff5d24))
|
|
9
|
+
* Merge branch 'master' into feat/planner-configurator-zoom-RML-17336 ([e385ad4](https://github.com/roomle-dev/roomle-ui/commit/e385ad4))
|
|
10
|
+
* Merge pull request #2960 from roomle-dev/feat/planner-configurator-zoom-RML-17336 ([78106d6](https://github.com/roomle-dev/roomle-ui/commit/78106d6)), closes [#2960](https://github.com/roomle-dev/roomle-ui/issues/2960)
|
|
11
|
+
* Merge pull request #2986 from roomle-dev/fix/dock-line-child-not-selectable-after-load-RML-17772 ([5c1732b](https://github.com/roomle-dev/roomle-ui/commit/5c1732b)), closes [#2986](https://github.com/roomle-dev/roomle-ui/issues/2986)
|
|
12
|
+
* Merge pull request #2987 from roomle-dev/upgraded-by-ci/core-2.84.0-alpha.10 ([f5fee56](https://github.com/roomle-dev/roomle-ui/commit/f5fee56)), closes [#2987](https://github.com/roomle-dev/roomle-ui/issues/2987)
|
|
13
|
+
* Merge pull request #2988 from roomle-dev/fix/top-image-shows-ceiling-RML-17852 ([6b743df](https://github.com/roomle-dev/roomle-ui/commit/6b743df)), closes [#2988](https://github.com/roomle-dev/roomle-ui/issues/2988)
|
|
14
|
+
* Merge pull request #2990 from roomle-dev/upgraded-by-ci/core-2.84.0-alpha.11 ([26f1c45](https://github.com/roomle-dev/roomle-ui/commit/26f1c45)), closes [#2990](https://github.com/roomle-dev/roomle-ui/issues/2990)
|
|
15
|
+
* feat(planner): add configurator zoom visibility handling ([2ba832e](https://github.com/roomle-dev/roomle-ui/commit/2ba832e))
|
|
16
|
+
* feat(planner): restore configurator zoom behavior ([cea5124](https://github.com/roomle-dev/roomle-ui/commit/cea5124))
|
|
17
|
+
* feat(core): upgrade to version 2.84.0-alpha.10 ([39329b9](https://github.com/roomle-dev/roomle-ui/commit/39329b9))
|
|
18
|
+
* feat(core): upgrade to version 2.84.0-alpha.11 ([b841145](https://github.com/roomle-dev/roomle-ui/commit/b841145))
|
|
19
|
+
* chore(snapshots): auto-update headless baselines [skip ci] ([977cc4d](https://github.com/roomle-dev/roomle-ui/commit/977cc4d))
|
|
20
|
+
* chore: code cleaning ([31d3617](https://github.com/roomle-dev/roomle-ui/commit/31d3617))
|
|
21
|
+
* chore: code cleanup after reverting ([b915ff6](https://github.com/roomle-dev/roomle-ui/commit/b915ff6))
|
|
22
|
+
* chore: fix comments after changing the default value for configuratorZoom ([f390bc0](https://github.com/roomle-dev/roomle-ui/commit/f390bc0))
|
|
23
|
+
* chore: fix formatting ([e43c0cd](https://github.com/roomle-dev/roomle-ui/commit/e43c0cd))
|
|
24
|
+
* chore: make configuratorZoom false by default ([178b8cc](https://github.com/roomle-dev/roomle-ui/commit/178b8cc))
|
|
25
|
+
* chore: merge remote branch updates ([107c5f8](https://github.com/roomle-dev/roomle-ui/commit/107c5f8))
|
|
26
|
+
* chore: refactor the way we use _cameraHidePlanObjectViewModels and remove the unneeded _addCameraHid ([b557963](https://github.com/roomle-dev/roomle-ui/commit/b557963))
|
|
27
|
+
* chore: remove unused comments ([ce2412d](https://github.com/roomle-dev/roomle-ui/commit/ce2412d))
|
|
28
|
+
* chore: remove unused test ([a832d4d](https://github.com/roomle-dev/roomle-ui/commit/a832d4d))
|
|
29
|
+
* chore: replaced the near-plane math with a simple reusable camera sphere check ([ec98011](https://github.com/roomle-dev/roomle-ui/commit/ec98011))
|
|
30
|
+
* chore(headless): revert snapshot updates ([60501c2](https://github.com/roomle-dev/roomle-ui/commit/60501c2))
|
|
31
|
+
* chore: revert unneeded changes ([451869c](https://github.com/roomle-dev/roomle-ui/commit/451869c))
|
|
32
|
+
* chore: revert updated snapshots ([77b010e](https://github.com/roomle-dev/roomle-ui/commit/77b010e))
|
|
33
|
+
* fix(planner): address cleanup review comments ([c5956b2](https://github.com/roomle-dev/roomle-ui/commit/c5956b2))
|
|
34
|
+
* fix: build the loaded root hit mesh from getComponentBounds parts ([4c7a9ad](https://github.com/roomle-dev/roomle-ui/commit/4c7a9ad))
|
|
35
|
+
* fix: hide ceiling when rendering top images (RML-17852) ([0597147](https://github.com/roomle-dev/roomle-ui/commit/0597147))
|
|
36
|
+
* fix: highlight components when a single add-on is available ([ccf375c](https://github.com/roomle-dev/roomle-ui/commit/ccf375c))
|
|
37
|
+
* fix(planner): restore camera-hidden objects on mode change ([b314404](https://github.com/roomle-dev/roomle-ui/commit/b314404))
|
|
38
|
+
* test(planner): increase slow suite timeouts ([6f6a1ac](https://github.com/roomle-dev/roomle-ui/commit/6f6a1ac))
|
|
39
|
+
* test: pin that smart highlighting needs only one available add-on ([f5d8f69](https://github.com/roomle-dev/roomle-ui/commit/f5d8f69))
|
|
40
|
+
* test: pin the merged parts hit mesh after the kernel loaded callback ([152d8bd](https://github.com/roomle-dev/roomle-ui/commit/152d8bd))
|
|
41
|
+
* style: format camera control zoom helper ([d6e1f6e](https://github.com/roomle-dev/roomle-ui/commit/d6e1f6e))
|
|
42
|
+
* style: format planner view model imports ([743e975](https://github.com/roomle-dev/roomle-ui/commit/743e975))
|
|
43
|
+
* style(planner): format review fix files ([7616f3c](https://github.com/roomle-dev/roomle-ui/commit/7616f3c))
|
|
44
|
+
* refactor(planner): move zoom cut visibility into plan view model ([de4f4f1](https://github.com/roomle-dev/roomle-ui/commit/de4f4f1))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-
|
|
1
|
+
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-ClPpCYyi.mjs";
|
|
2
2
|
import "./embedding-plugins.js";
|
|
3
3
|
//#region packages/common/src/utils/drag.ts
|
|
4
4
|
var o = (e, t, n = 0, r = 0) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-
|
|
1
|
+
import { a as e, c as t, i as n, m as r, o as i, s as a } from "./drag-in-CV1E-DO6.mjs";
|
|
2
2
|
import "./embedding-plugins.min.js";
|
|
3
3
|
var o = (e, t, n = 0, r = 0) => {
|
|
4
4
|
let i = t.x + t.width + n, a = t.x - n, o = t.y + t.height + r, s = t.y - r, { x: c, y: l } = e;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
var e = Object.defineProperty, t = (t, n) => {
|
|
2
|
+
let r = {};
|
|
3
|
+
for (var i in t) e(r, i, {
|
|
4
|
+
get: t[i],
|
|
5
|
+
enumerable: !0
|
|
6
|
+
});
|
|
7
|
+
return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
8
|
+
}, n = "rml-drag-in-styles", r = "rml-drag-in-drag-element", i = "rml-drag-in-overlay", a = "rml-drag-in-drag-ghost", o = "rml-drag-in-fade-in", s = "rml-drag-in-fade-out", c = { DISPLAY_NONE: "rml-display-none" }, l = .5, u = "250ms", d = "forwards", f = `@keyframes ${o} {from{opacity: 0;}to {opacity: 0.5;}}`, p = `@keyframes ${s} {from{opacity: 0.5;}to {opacity: 0;}}`, m = `${o} ${u} ${d}`, h = `${s} ${u} ${d}`, g = "https://res.cloudinary.com/roomle/image/upload/v1729679975/fallback_afpyqr.jpg", _ = 112, v = 112, y = class {
|
|
3
9
|
_mainDomElement;
|
|
4
10
|
_instance;
|
|
5
11
|
_mode = "website";
|
|
@@ -10,25 +16,25 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
|
|
|
10
16
|
async init() {
|
|
11
17
|
return Promise.resolve();
|
|
12
18
|
}
|
|
13
|
-
},
|
|
19
|
+
}, b = t({ DragIn: () => x }), x = class extends y {
|
|
14
20
|
options = {};
|
|
15
21
|
_customDragSignal = new AbortController();
|
|
16
22
|
_injectStyles() {
|
|
17
23
|
if (!document.getElementById("rml-drag-in-styles")) {
|
|
18
24
|
let e = document.createElement("style");
|
|
19
|
-
e.type = "text/css", e.id =
|
|
25
|
+
e.type = "text/css", e.id = n, e.innerHTML = `\n .${c.DISPLAY_NONE}{display:none}\n .${i}{position:absolute;top:0;left:0;width:100%;height:100%;z-index:999;}\n .${a}{position:absolute;top:0;left:0;width:1px;height:1px;z-index:999;pointer-events:none;background-color:transparent;}\n ${f}\n ${p}\n `, document.head.appendChild(e);
|
|
20
26
|
}
|
|
21
27
|
}
|
|
22
28
|
_initializeDragGhost() {
|
|
23
|
-
let e = this._mainDomElement.parentNode, t = e.querySelector("." +
|
|
24
|
-
t || (t = document.createElement("div"), t.classList.add(
|
|
29
|
+
let e = this._mainDomElement.parentNode, t = e.querySelector("." + a);
|
|
30
|
+
t || (t = document.createElement("div"), t.classList.add(a), t.innerText = " ", e.appendChild(t));
|
|
25
31
|
}
|
|
26
32
|
constructor(e, t, n, r) {
|
|
27
33
|
super(e, t, n, r), this._mainDomElement = t, this._injectStyles(), this._initializeDragGhost();
|
|
28
34
|
}
|
|
29
35
|
async init() {
|
|
30
36
|
if (await super.init(), this._mode === "website") try {
|
|
31
|
-
let { DragInFromWebsiteStrategy: e } = await import("./from-website-
|
|
37
|
+
let { DragInFromWebsiteStrategy: e } = await import("./from-website-BmCO2xli.mjs");
|
|
32
38
|
this._strategy = new e(this._instance, this._mainDomElement, {
|
|
33
39
|
settings: this.options,
|
|
34
40
|
mode: "website"
|
|
@@ -39,7 +45,7 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
|
|
|
39
45
|
else {
|
|
40
46
|
if (this._mode !== "custom-view") throw Error("Unsupported mode");
|
|
41
47
|
try {
|
|
42
|
-
let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-
|
|
48
|
+
let { DragInFromCustomViewStrategy: e } = await import("./from-custom-view-Sx6P6iDI.mjs");
|
|
43
49
|
this._strategy = new e(this._instance, this._mainDomElement, this.options, this._viewName);
|
|
44
50
|
} catch (e) {
|
|
45
51
|
throw e;
|
|
@@ -93,4 +99,4 @@ var t = "rml-drag-in-styles", n = "rml-drag-in-drag-element", r = "rml-drag-in-o
|
|
|
93
99
|
this._strategy.releaseInput(e);
|
|
94
100
|
}
|
|
95
101
|
};
|
|
96
|
-
export {
|
|
102
|
+
export { f as a, r as c, g as d, _ as f, l as h, m as i, a as l, n as m, b as n, h as o, i as p, c as r, p as s, x as t, v as u };
|