triiiceratops 0.4.0 → 0.5.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/{TriiiceratopsViewer-BFoyVNzC.js → TriiiceratopsViewer-BardJ3c3.js} +120 -118
- package/dist/index.js +1123 -1115
- package/dist/src/lib/state/viewer.svelte.d.ts +3 -4
- package/dist/triiiceratops-element-image.js +190 -180
- package/dist/triiiceratops-element.css +1 -1
- package/dist/triiiceratops-element.js +28 -18
- package/package.json +1 -1
|
@@ -1,35 +1,45 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
let
|
|
1
|
+
import { c as f, p as m, a as n, f as g, b as p, T as v, r as o, d as I, e as h, g as u } from "./chunks/TriiiceratopsViewer-BardJ3c3.js";
|
|
2
|
+
var w = g('<div class="w-full h-full"><!></div>');
|
|
3
|
+
function b(d, t) {
|
|
4
|
+
m(t, !0);
|
|
5
|
+
let a = n(t, "manifestId", 7, ""), s = n(t, "canvasId", 7, ""), r = n(t, "plugins", 23, () => []);
|
|
6
6
|
var l = {
|
|
7
7
|
get manifestId() {
|
|
8
|
-
return
|
|
8
|
+
return a();
|
|
9
9
|
},
|
|
10
|
-
set manifestId(
|
|
11
|
-
|
|
10
|
+
set manifestId(e = "") {
|
|
11
|
+
a(e), u();
|
|
12
12
|
},
|
|
13
|
-
get
|
|
13
|
+
get canvasId() {
|
|
14
14
|
return s();
|
|
15
15
|
},
|
|
16
|
-
set
|
|
17
|
-
s(
|
|
16
|
+
set canvasId(e = "") {
|
|
17
|
+
s(e), u();
|
|
18
|
+
},
|
|
19
|
+
get plugins() {
|
|
20
|
+
return r();
|
|
21
|
+
},
|
|
22
|
+
set plugins(e = []) {
|
|
23
|
+
r(e), u();
|
|
18
24
|
}
|
|
19
|
-
}, i =
|
|
20
|
-
return c
|
|
25
|
+
}, i = w(), c = p(i);
|
|
26
|
+
return v(c, {
|
|
21
27
|
get manifestId() {
|
|
22
|
-
return
|
|
28
|
+
return a();
|
|
23
29
|
},
|
|
24
|
-
get
|
|
30
|
+
get canvasId() {
|
|
25
31
|
return s();
|
|
32
|
+
},
|
|
33
|
+
get plugins() {
|
|
34
|
+
return r();
|
|
26
35
|
}
|
|
27
|
-
}),
|
|
36
|
+
}), o(i), I(d, i), h(l);
|
|
28
37
|
}
|
|
29
|
-
customElements.define("triiiceratops-viewer",
|
|
30
|
-
|
|
38
|
+
customElements.define("triiiceratops-viewer", f(
|
|
39
|
+
b,
|
|
31
40
|
{
|
|
32
41
|
manifestId: { attribute: "manifest-id", reflect: !0, type: "String" },
|
|
42
|
+
canvasId: { attribute: "canvas-id", reflect: !0, type: "String" },
|
|
33
43
|
plugins: {}
|
|
34
44
|
},
|
|
35
45
|
[],
|