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.
@@ -1,35 +1,45 @@
1
- import { c as m, p, a, f as d, b as o, T as c, r as g, d as v, e as I, g as n } from "./chunks/TriiiceratopsViewer-BFoyVNzC.js";
2
- var h = d('<div class="w-full h-full"><!></div>');
3
- function w(u, e) {
4
- p(e, !0);
5
- let t = a(e, "manifestId", 7, ""), s = a(e, "plugins", 23, () => []);
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 t();
8
+ return a();
9
9
  },
10
- set manifestId(r = "") {
11
- t(r), n();
10
+ set manifestId(e = "") {
11
+ a(e), u();
12
12
  },
13
- get plugins() {
13
+ get canvasId() {
14
14
  return s();
15
15
  },
16
- set plugins(r = []) {
17
- s(r), n();
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 = h(), f = o(i);
20
- return c(f, {
25
+ }, i = w(), c = p(i);
26
+ return v(c, {
21
27
  get manifestId() {
22
- return t();
28
+ return a();
23
29
  },
24
- get plugins() {
30
+ get canvasId() {
25
31
  return s();
32
+ },
33
+ get plugins() {
34
+ return r();
26
35
  }
27
- }), g(i), v(u, i), I(l);
36
+ }), o(i), I(d, i), h(l);
28
37
  }
29
- customElements.define("triiiceratops-viewer", m(
30
- w,
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
  [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triiiceratops",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",