chbim-plugins 0.0.11 → 0.0.13
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/chbim-plugins.js +33 -33
- package/chbim-plugins.umd.cjs +8 -8
- package/package.json +5 -2
- package/style.css +1 -1
package/chbim-plugins.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { openBlock as $o, createElementBlock as Ko, normalizeClass as Ia, renderSlot as Da, defineComponent as Hs, ref as Gs, onMounted as ks, createElementVNode as Oi, toDisplayString as th,
|
|
2
|
-
const
|
|
1
|
+
import { openBlock as $o, createElementBlock as Ko, normalizeClass as Ia, renderSlot as Da, defineComponent as Hs, ref as Gs, onMounted as ks, createElementVNode as Oi, toDisplayString as th, createApp as Oa } from "vue";
|
|
2
|
+
const eh = (p, Ot) => {
|
|
3
3
|
const $ = p.__vccOpts || p;
|
|
4
4
|
for (const [mt, ht] of Ot)
|
|
5
5
|
$[mt] = ht;
|
|
6
6
|
return $;
|
|
7
|
-
},
|
|
7
|
+
}, ih = {
|
|
8
8
|
name: "MukButton"
|
|
9
|
-
},
|
|
9
|
+
}, rh = /* @__PURE__ */ Object.assign(ih, {
|
|
10
10
|
props: {
|
|
11
11
|
size: {
|
|
12
12
|
type: String,
|
|
@@ -24,8 +24,8 @@ const ih = (p, Ot) => {
|
|
|
24
24
|
Da(Ot.$slots, "default", {}, void 0, !0)
|
|
25
25
|
], 2));
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
28
|
-
class
|
|
27
|
+
}), nh = /* @__PURE__ */ eh(rh, [["__scopeId", "data-v-0e6d93cd"]]);
|
|
28
|
+
class oh {
|
|
29
29
|
constructor() {
|
|
30
30
|
this.dom = {
|
|
31
31
|
mask: document.querySelector(".js-mask"),
|
|
@@ -150,15 +150,15 @@ class sh {
|
|
|
150
150
|
document.querySelector(".mask-line.js-mask-line") && document.querySelector(".mask-line.js-mask-line").removeAttribute("style"), document.querySelector(".mask-line__inner.js-mask-line") && document.querySelector(".mask-line__inner.js-mask-line").removeAttribute("style"), this.createTimeline();
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
const
|
|
153
|
+
const sh = { class: "mask js-mask" }, ah = /* @__PURE__ */ Oi("div", { class: "mask__slice js-mask__slice" }, null, -1), hh = /* @__PURE__ */ Oi("div", { class: "mask__slice js-mask__slice" }, null, -1), lh = /* @__PURE__ */ Oi("div", { class: "mask__slice js-mask__slice" }, null, -1), ch = { class: "mask__inner" }, uh = { class: "logo logo--mask" }, ph = {
|
|
154
154
|
class: "js-logo",
|
|
155
155
|
style: { color: "#fff" }
|
|
156
|
-
},
|
|
156
|
+
}, dh = /* @__PURE__ */ Oi("div", { class: "mask-line js-mask-line" }, [
|
|
157
157
|
/* @__PURE__ */ Oi("div", { class: "mask-line__inner js-mask-line" })
|
|
158
|
-
], -1),
|
|
158
|
+
], -1), fh = {
|
|
159
159
|
name: "BimCutscenes"
|
|
160
|
-
},
|
|
161
|
-
...
|
|
160
|
+
}, mh = /* @__PURE__ */ Hs({
|
|
161
|
+
...fh,
|
|
162
162
|
props: {
|
|
163
163
|
text: {
|
|
164
164
|
type: String,
|
|
@@ -167,7 +167,7 @@ const ah = { class: "mask js-mask" }, hh = /* @__PURE__ */ Oi("div", { class: "m
|
|
|
167
167
|
},
|
|
168
168
|
setup(p, { expose: Ot }) {
|
|
169
169
|
const $ = Gs(null), mt = () => {
|
|
170
|
-
$.value === null && ($.value = new
|
|
170
|
+
$.value === null && ($.value = new oh());
|
|
171
171
|
}, ht = () => {
|
|
172
172
|
mt(), $.value.continuation();
|
|
173
173
|
};
|
|
@@ -175,15 +175,15 @@ const ah = { class: "mask js-mask" }, hh = /* @__PURE__ */ Oi("div", { class: "m
|
|
|
175
175
|
mt();
|
|
176
176
|
}), Ot({
|
|
177
177
|
continuation: ht
|
|
178
|
-
}), (M, yt) => ($o(), Ko("div",
|
|
178
|
+
}), (M, yt) => ($o(), Ko("div", sh, [
|
|
179
|
+
ah,
|
|
179
180
|
hh,
|
|
180
181
|
lh,
|
|
181
|
-
ch,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
Oi("p", dh, th(p.text), 1)
|
|
182
|
+
Oi("div", ch, [
|
|
183
|
+
Oi("figure", uh, [
|
|
184
|
+
Oi("p", ph, th(p.text), 1)
|
|
185
185
|
]),
|
|
186
|
-
|
|
186
|
+
dh
|
|
187
187
|
])
|
|
188
188
|
]));
|
|
189
189
|
}
|
|
@@ -2903,10 +2903,10 @@ var Ke = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2903
2903
|
typeof module < "u" && module.exports && typeof global < "u" ? global : globalThis || window,
|
|
2904
2904
|
"TweenMax"
|
|
2905
2905
|
);
|
|
2906
|
-
const
|
|
2906
|
+
const gh = { class: "modal-background" }, vh = ["innerHTML"], yh = {
|
|
2907
2907
|
name: "MapModali"
|
|
2908
|
-
},
|
|
2909
|
-
...
|
|
2908
|
+
}, _h = /* @__PURE__ */ Hs({
|
|
2909
|
+
...yh,
|
|
2910
2910
|
props: {
|
|
2911
2911
|
// text: {
|
|
2912
2912
|
// type: String,
|
|
@@ -2929,7 +2929,7 @@ const vh = { class: "modal-background" }, yh = ["innerHTML"], _h = {
|
|
|
2929
2929
|
class: Ia($.value),
|
|
2930
2930
|
onClick: M
|
|
2931
2931
|
}, [
|
|
2932
|
-
Oi("div",
|
|
2932
|
+
Oi("div", gh, [
|
|
2933
2933
|
Oi("div", {
|
|
2934
2934
|
class: "modal",
|
|
2935
2935
|
onClick: Ct[0] || (Ct[0] = (Y) => {
|
|
@@ -2939,13 +2939,13 @@ const vh = { class: "modal-background" }, yh = ["innerHTML"], _h = {
|
|
|
2939
2939
|
Oi("p", {
|
|
2940
2940
|
style: { "white-space": "pre-line", "line-height": "1", margin: "0", color: "#fff" },
|
|
2941
2941
|
innerHTML: mt.value
|
|
2942
|
-
}, null, 8,
|
|
2942
|
+
}, null, 8, vh)
|
|
2943
2943
|
])
|
|
2944
2944
|
])
|
|
2945
2945
|
], 2));
|
|
2946
2946
|
}
|
|
2947
2947
|
});
|
|
2948
|
-
const wh = { class: "content" }, Mh = /* @__PURE__ */ Oi("canvas", { class: "landscape" }, null, -1), Th = { class: "content__title" }, Sh = /* @__PURE__ */ Oi("div", { class: "overlay" }, null, -1), Eh = {
|
|
2948
|
+
const xh = { class: "bim_background_plate" }, wh = { class: "content" }, Mh = /* @__PURE__ */ Oi("canvas", { class: "landscape" }, null, -1), Th = { class: "content__title" }, Sh = /* @__PURE__ */ Oi("div", { class: "overlay" }, null, -1), Eh = {
|
|
2949
2949
|
name: "BimBackgroundPlate"
|
|
2950
2950
|
}, Ph = /* @__PURE__ */ Hs({
|
|
2951
2951
|
...Eh,
|
|
@@ -3228,7 +3228,7 @@ const wh = { class: "content" }, Mh = /* @__PURE__ */ Oi("canvas", { class: "lan
|
|
|
3228
3228
|
At = new THREE.Mesh(st, Pt), At.position.z = -180, At.rotation.x = -Math.PI / 2, lt.add(At);
|
|
3229
3229
|
}
|
|
3230
3230
|
function f() {
|
|
3231
|
-
new THREE.TextureLoader().load(
|
|
3231
|
+
new THREE.TextureLoader().load("", function(st) {
|
|
3232
3232
|
At.material.uniforms.pallete.value = st, At.material.needsUpdate = !0;
|
|
3233
3233
|
});
|
|
3234
3234
|
}
|
|
@@ -3298,7 +3298,7 @@ const wh = { class: "content" }, Mh = /* @__PURE__ */ Oi("canvas", { class: "lan
|
|
|
3298
3298
|
};
|
|
3299
3299
|
return ks(() => {
|
|
3300
3300
|
mt();
|
|
3301
|
-
}), (ht, M) => ($o(), Ko(
|
|
3301
|
+
}), (ht, M) => ($o(), Ko("div", xh, [
|
|
3302
3302
|
Oi("div", wh, [
|
|
3303
3303
|
Mh,
|
|
3304
3304
|
Oi("h2", Th, [
|
|
@@ -3306,7 +3306,7 @@ const wh = { class: "content" }, Mh = /* @__PURE__ */ Oi("canvas", { class: "lan
|
|
|
3306
3306
|
])
|
|
3307
3307
|
]),
|
|
3308
3308
|
Sh
|
|
3309
|
-
]
|
|
3309
|
+
]));
|
|
3310
3310
|
}
|
|
3311
3311
|
});
|
|
3312
3312
|
(function(p, Ot) {
|
|
@@ -20317,7 +20317,7 @@ THREE.Sky.SkyShader = {
|
|
|
20317
20317
|
Ct.nodeType === Node.TEXT_NODE && M(Ct);
|
|
20318
20318
|
}(p), p;
|
|
20319
20319
|
});
|
|
20320
|
-
const Ah = [
|
|
20320
|
+
const Ah = [nh, Ph], Rh = {
|
|
20321
20321
|
continuation: null,
|
|
20322
20322
|
mapModali: null,
|
|
20323
20323
|
install(p) {
|
|
@@ -20327,19 +20327,19 @@ const Ah = [oh, Ph], Rh = {
|
|
|
20327
20327
|
p.config.globalProperties.$continuation = this.continuation;
|
|
20328
20328
|
return;
|
|
20329
20329
|
}
|
|
20330
|
-
let Ot = Oa(
|
|
20330
|
+
let Ot = Oa(mh), $ = document.createElement("div"), mt = document.body;
|
|
20331
20331
|
if (mt.appendChild($), this.loading = Ot.mount($), p.config.globalProperties.$loading = this.loading, window.$continuation = this.loading, this.mapModali) {
|
|
20332
20332
|
p.config.globalProperties.$mapModali = this.mapModali;
|
|
20333
20333
|
return;
|
|
20334
20334
|
}
|
|
20335
|
-
let ht = Oa(
|
|
20335
|
+
let ht = Oa(_h), M = document.createElement("div");
|
|
20336
20336
|
mt.appendChild(M), this.mapModali = ht.mount(M), p.config.globalProperties.$mapModali = this.mapModali, window.$mapModali = this.mapModali;
|
|
20337
20337
|
}
|
|
20338
20338
|
};
|
|
20339
20339
|
export {
|
|
20340
20340
|
Ph as BimBackgroundPlate,
|
|
20341
|
-
|
|
20342
|
-
|
|
20343
|
-
|
|
20341
|
+
mh as BimCutscenes,
|
|
20342
|
+
nh as Button,
|
|
20343
|
+
_h as MapModali,
|
|
20344
20344
|
Rh as default
|
|
20345
20345
|
};
|