@epigraph/epigraph-std-lib 3.3.1 → 4.0.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.
Files changed (40) hide show
  1. package/README.md +32 -14
  2. package/dist/Epigraph/epigraph.d.ts +2 -2
  3. package/dist/Epigraph/epigraph.js +114 -0
  4. package/dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.js +69 -0
  5. package/dist/EpigraphLibs/EpigraphAnalytics/generics/queue.d.ts +3 -2
  6. package/dist/EpigraphLibs/EpigraphAnalytics/types/index.d.ts +7 -0
  7. package/dist/EpigraphLibs/EpigraphLogger/epigraphLogger.d.ts +3 -4
  8. package/dist/EpigraphLibs/EpigraphLogger/epigraphLogger.js +199 -0
  9. package/dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.js +153 -0
  10. package/dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.js +69 -0
  11. package/dist/EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.js +28 -0
  12. package/dist/EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.js +67 -0
  13. package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.d.ts +1 -1
  14. package/dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.js +76 -0
  15. package/dist/epigraph-std-lib.d.ts +1 -3
  16. package/dist/epigraph-std-lib.js +0 -37462
  17. package/dist/lib/Epigraph/constants/enums.js +4 -0
  18. package/dist/lib/Epigraph/epigraphBaseSolution.js +70 -0
  19. package/dist/lib/EpigraphLibs/EpigraphAnalytics/consent-plugins/consent-plugin-names.js +4 -0
  20. package/dist/lib/EpigraphLibs/EpigraphAnalytics/consent-plugins/one-trust-consent-plugin.js +29 -0
  21. package/dist/lib/EpigraphLibs/EpigraphAnalytics/generics/node.js +22 -0
  22. package/dist/lib/EpigraphLibs/EpigraphAnalytics/generics/queue.js +23 -0
  23. package/dist/lib/EpigraphLibs/EpigraphAnalytics/generics/single-linked-list.js +30 -0
  24. package/dist/lib/EpigraphLibs/EpigraphAnalytics/plugins/ga3-analytics-plugin.js +87 -0
  25. package/dist/lib/EpigraphLibs/EpigraphAnalytics/plugins/ga4-analytics-plugin.js +121 -0
  26. package/dist/lib/EpigraphLibs/EpigraphAnalytics/plugins/nexus-analytics-plugin.js +45 -0
  27. package/dist/lib/EpigraphLibs/EpigraphUnitsConverter/conversions.js +26 -0
  28. package/dist/lib/EpigraphLibs/EpigraphUnitsConverter/enums.js +5 -0
  29. package/dist/node_modules/lit-html/async-directive.js +67 -0
  30. package/dist/node_modules/lit-html/directive-helpers.js +10 -0
  31. package/dist/node_modules/lit-html/directive.js +27 -0
  32. package/dist/node_modules/lit-html/directives/ref.js +40 -0
  33. package/dist/node_modules/lit-html/lit-html.js +225 -0
  34. package/dist/vite-env.d.ts +1 -0
  35. package/package.json +56 -24
  36. package/dist/EpigraphLibs/epigraphLibs.d.ts +0 -9
  37. package/dist/ThirdPartyLibs/thirdPartyLibs.d.ts +0 -15
  38. package/dist/ThirdPartyLibs/three-gltf-extensions/exporters/KHR_materials_variants/KHR_materials_variants_exporter.d.ts +0 -9
  39. package/dist/ThirdPartyLibs/three-gltf-extensions/loaders/KHR_materials_variants/KHR_materials_variants.d.ts +0 -6
  40. /package/dist/EpigraphLibs/EpigraphAnalytics/{EpigraphAnalytics.d.ts → epigraphAnalytics.d.ts} +0 -0
@@ -0,0 +1,225 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+ const w = globalThis, T = w.trustedTypes, I = T ? T.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, L = "$lit$", p = `lit$${Math.random().toFixed(9).slice(2)}$`, P = "?" + p, V = `<${P}>`, f = document, b = () => f.createComment(""), y = (r) => r === null || typeof r != "object" && typeof r != "function", E = Array.isArray, D = (r) => E(r) || typeof r?.[Symbol.iterator] == "function", S = `[
7
+ \f\r]`, v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, U = /-->/g, O = />/g, u = RegExp(`>|${S}(?:([^\\s"'>=/]+)(${S}*=${S}*(?:[^
8
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), R = /'/g, j = /"/g, W = /^(?:script|style|textarea|title)$/i, x = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), B = /* @__PURE__ */ new WeakMap(), g = f.createTreeWalker(f, 129);
9
+ function k(r, t) {
10
+ if (!E(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
11
+ return I !== void 0 ? I.createHTML(t) : t;
12
+ }
13
+ const z = (r, t) => {
14
+ const s = r.length - 1, e = [];
15
+ let i, n = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", o = v;
16
+ for (let _ = 0; _ < s; _++) {
17
+ const h = r[_];
18
+ let $, a, l = -1, c = 0;
19
+ for (; c < h.length && (o.lastIndex = c, a = o.exec(h), a !== null); ) c = o.lastIndex, o === v ? a[1] === "!--" ? o = U : a[1] !== void 0 ? o = O : a[2] !== void 0 ? (W.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = u) : a[3] !== void 0 && (o = u) : o === u ? a[0] === ">" ? (o = i ?? v, l = -1) : a[1] === void 0 ? l = -2 : (l = o.lastIndex - a[2].length, $ = a[1], o = a[3] === void 0 ? u : a[3] === '"' ? j : R) : o === j || o === R ? o = u : o === U || o === O ? o = v : (o = u, i = void 0);
20
+ const d = o === u && r[_ + 1].startsWith("/>") ? " " : "";
21
+ n += o === v ? h + V : l >= 0 ? (e.push($), h.slice(0, l) + L + h.slice(l) + p + d) : h + p + (l === -2 ? _ : d);
22
+ }
23
+ return [k(r, n + (r[s] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), e];
24
+ };
25
+ class H {
26
+ constructor({ strings: t, _$litType$: s }, e) {
27
+ let i;
28
+ this.parts = [];
29
+ let n = 0, o = 0;
30
+ const _ = t.length - 1, h = this.parts, [$, a] = z(t, s);
31
+ if (this.el = H.createElement($, e), g.currentNode = this.el.content, s === 2 || s === 3) {
32
+ const l = this.el.content.firstChild;
33
+ l.replaceWith(...l.childNodes);
34
+ }
35
+ for (; (i = g.nextNode()) !== null && h.length < _; ) {
36
+ if (i.nodeType === 1) {
37
+ if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(L)) {
38
+ const c = a[o++], d = i.getAttribute(l).split(p), N = /([.?@])?(.*)/.exec(c);
39
+ h.push({ type: 1, index: n, name: N[2], strings: d, ctor: N[1] === "." ? F : N[1] === "?" ? q : N[1] === "@" ? G : M }), i.removeAttribute(l);
40
+ } else l.startsWith(p) && (h.push({ type: 6, index: n }), i.removeAttribute(l));
41
+ if (W.test(i.tagName)) {
42
+ const l = i.textContent.split(p), c = l.length - 1;
43
+ if (c > 0) {
44
+ i.textContent = T ? T.emptyScript : "";
45
+ for (let d = 0; d < c; d++) i.append(l[d], b()), g.nextNode(), h.push({ type: 2, index: ++n });
46
+ i.append(l[c], b());
47
+ }
48
+ }
49
+ } else if (i.nodeType === 8) if (i.data === P) h.push({ type: 2, index: n });
50
+ else {
51
+ let l = -1;
52
+ for (; (l = i.data.indexOf(p, l + 1)) !== -1; ) h.push({ type: 7, index: n }), l += p.length - 1;
53
+ }
54
+ n++;
55
+ }
56
+ }
57
+ static createElement(t, s) {
58
+ const e = f.createElement("template");
59
+ return e.innerHTML = t, e;
60
+ }
61
+ }
62
+ function m(r, t, s = r, e) {
63
+ if (t === x) return t;
64
+ let i = e !== void 0 ? s._$Co?.[e] : s._$Cl;
65
+ const n = y(t) ? void 0 : t._$litDirective$;
66
+ return i?.constructor !== n && (i?._$AO?.(!1), n === void 0 ? i = void 0 : (i = new n(r), i._$AT(r, s, e)), e !== void 0 ? (s._$Co ??= [])[e] = i : s._$Cl = i), i !== void 0 && (t = m(r, i._$AS(r, t.values), i, e)), t;
67
+ }
68
+ class Z {
69
+ constructor(t, s) {
70
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s;
71
+ }
72
+ get parentNode() {
73
+ return this._$AM.parentNode;
74
+ }
75
+ get _$AU() {
76
+ return this._$AM._$AU;
77
+ }
78
+ u(t) {
79
+ const { el: { content: s }, parts: e } = this._$AD, i = (t?.creationScope ?? f).importNode(s, !0);
80
+ g.currentNode = i;
81
+ let n = g.nextNode(), o = 0, _ = 0, h = e[0];
82
+ for (; h !== void 0; ) {
83
+ if (o === h.index) {
84
+ let $;
85
+ h.type === 2 ? $ = new C(n, n.nextSibling, this, t) : h.type === 1 ? $ = new h.ctor(n, h.name, h.strings, this, t) : h.type === 6 && ($ = new J(n, this, t)), this._$AV.push($), h = e[++_];
86
+ }
87
+ o !== h?.index && (n = g.nextNode(), o++);
88
+ }
89
+ return g.currentNode = f, i;
90
+ }
91
+ p(t) {
92
+ let s = 0;
93
+ for (const e of this._$AV) e !== void 0 && (e.strings !== void 0 ? (e._$AI(t, e, s), s += e.strings.length - 2) : e._$AI(t[s])), s++;
94
+ }
95
+ }
96
+ class C {
97
+ get _$AU() {
98
+ return this._$AM?._$AU ?? this._$Cv;
99
+ }
100
+ constructor(t, s, e, i) {
101
+ this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = e, this.options = i, this._$Cv = i?.isConnected ?? !0;
102
+ }
103
+ get parentNode() {
104
+ let t = this._$AA.parentNode;
105
+ const s = this._$AM;
106
+ return s !== void 0 && t?.nodeType === 11 && (t = s.parentNode), t;
107
+ }
108
+ get startNode() {
109
+ return this._$AA;
110
+ }
111
+ get endNode() {
112
+ return this._$AB;
113
+ }
114
+ _$AI(t, s = this) {
115
+ t = m(this, t, s), y(t) ? t === A || t == null || t === "" ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== x && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : D(t) ? this.k(t) : this._(t);
116
+ }
117
+ O(t) {
118
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
119
+ }
120
+ T(t) {
121
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
122
+ }
123
+ _(t) {
124
+ this._$AH !== A && y(this._$AH) ? this._$AA.nextSibling.data = t : this.T(f.createTextNode(t)), this._$AH = t;
125
+ }
126
+ $(t) {
127
+ const { values: s, _$litType$: e } = t, i = typeof e == "number" ? this._$AC(t) : (e.el === void 0 && (e.el = H.createElement(k(e.h, e.h[0]), this.options)), e);
128
+ if (this._$AH?._$AD === i) this._$AH.p(s);
129
+ else {
130
+ const n = new Z(i, this), o = n.u(this.options);
131
+ n.p(s), this.T(o), this._$AH = n;
132
+ }
133
+ }
134
+ _$AC(t) {
135
+ let s = B.get(t.strings);
136
+ return s === void 0 && B.set(t.strings, s = new H(t)), s;
137
+ }
138
+ k(t) {
139
+ E(this._$AH) || (this._$AH = [], this._$AR());
140
+ const s = this._$AH;
141
+ let e, i = 0;
142
+ for (const n of t) i === s.length ? s.push(e = new C(this.O(b()), this.O(b()), this, this.options)) : e = s[i], e._$AI(n), i++;
143
+ i < s.length && (this._$AR(e && e._$AB.nextSibling, i), s.length = i);
144
+ }
145
+ _$AR(t = this._$AA.nextSibling, s) {
146
+ for (this._$AP?.(!1, !0, s); t && t !== this._$AB; ) {
147
+ const e = t.nextSibling;
148
+ t.remove(), t = e;
149
+ }
150
+ }
151
+ setConnected(t) {
152
+ this._$AM === void 0 && (this._$Cv = t, this._$AP?.(t));
153
+ }
154
+ }
155
+ class M {
156
+ get tagName() {
157
+ return this.element.tagName;
158
+ }
159
+ get _$AU() {
160
+ return this._$AM._$AU;
161
+ }
162
+ constructor(t, s, e, i, n) {
163
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = s, this._$AM = i, this.options = n, e.length > 2 || e[0] !== "" || e[1] !== "" ? (this._$AH = Array(e.length - 1).fill(new String()), this.strings = e) : this._$AH = A;
164
+ }
165
+ _$AI(t, s = this, e, i) {
166
+ const n = this.strings;
167
+ let o = !1;
168
+ if (n === void 0) t = m(this, t, s, 0), o = !y(t) || t !== this._$AH && t !== x, o && (this._$AH = t);
169
+ else {
170
+ const _ = t;
171
+ let h, $;
172
+ for (t = n[0], h = 0; h < n.length - 1; h++) $ = m(this, _[e + h], s, h), $ === x && ($ = this._$AH[h]), o ||= !y($) || $ !== this._$AH[h], $ === A ? t = A : t !== A && (t += ($ ?? "") + n[h + 1]), this._$AH[h] = $;
173
+ }
174
+ o && !i && this.j(t);
175
+ }
176
+ j(t) {
177
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
178
+ }
179
+ }
180
+ class F extends M {
181
+ constructor() {
182
+ super(...arguments), this.type = 3;
183
+ }
184
+ j(t) {
185
+ this.element[this.name] = t === A ? void 0 : t;
186
+ }
187
+ }
188
+ class q extends M {
189
+ constructor() {
190
+ super(...arguments), this.type = 4;
191
+ }
192
+ j(t) {
193
+ this.element.toggleAttribute(this.name, !!t && t !== A);
194
+ }
195
+ }
196
+ class G extends M {
197
+ constructor(t, s, e, i, n) {
198
+ super(t, s, e, i, n), this.type = 5;
199
+ }
200
+ _$AI(t, s = this) {
201
+ if ((t = m(this, t, s, 0) ?? A) === x) return;
202
+ const e = this._$AH, i = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive, n = t !== A && (e === A || i);
203
+ i && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
204
+ }
205
+ handleEvent(t) {
206
+ typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
207
+ }
208
+ }
209
+ class J {
210
+ constructor(t, s, e) {
211
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = e;
212
+ }
213
+ get _$AU() {
214
+ return this._$AM._$AU;
215
+ }
216
+ _$AI(t) {
217
+ m(this, t);
218
+ }
219
+ }
220
+ const K = w.litHtmlPolyfillSupport;
221
+ K?.(H, C), (w.litHtmlVersions ??= []).push("3.3.0");
222
+ export {
223
+ x as noChange,
224
+ A as nothing
225
+ };
@@ -0,0 +1 @@
1
+ /// <reference types="vite/client" />
package/package.json CHANGED
@@ -1,40 +1,72 @@
1
1
  {
2
2
  "name": "@epigraph/epigraph-std-lib",
3
- "version": "3.3.1",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
- "main": "dist/epigraph-std-lib.js",
6
- "types": "dist/epigraph-std-lib.d.ts",
5
+ "main": "./dist/epigraph-std-lib.js",
6
+ "module": "./dist/epigraph-std-lib.js",
7
7
  "files": [
8
- "dist"
8
+ "dist",
9
+ "dist/**/*"
9
10
  ],
11
+ "types": "./dist/epigraph-std-lib.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/epigraph-std-lib.js",
15
+ "types": "./dist/epigraph-std-lib.d.ts"
16
+ },
17
+ "./epigraph": {
18
+ "import": "./dist/Epigraph/epigraph.js",
19
+ "types": "./dist/Epigraph/epigraph.d.ts"
20
+ },
21
+ "./epigraphAnalytics": {
22
+ "import": "./dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.js",
23
+ "types": "./dist/EpigraphLibs/EpigraphAnalytics/epigraphAnalytics.d.ts"
24
+ },
25
+ "./epigraphLogger": {
26
+ "import": "./dist/EpigraphLibs/EpigraphLogger/epigraphLogger.js",
27
+ "types": "./dist/EpigraphLibs/EpigraphLogger/epigraphLogger.d.ts"
28
+ },
29
+ "./epigraphNexusApi": {
30
+ "import": "./dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.js",
31
+ "types": "./dist/EpigraphLibs/EpigraphNexusApi/epigraphNexusApi.d.ts"
32
+ },
33
+ "./epigraphQrCodeGenerator": {
34
+ "import": "./dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.js",
35
+ "types": "./dist/EpigraphLibs/EpigraphQrCodeGenerator/epigraphQrCodeGenerator.d.ts"
36
+ },
37
+ "./epigraphResultFactory": {
38
+ "import": "./dist/EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.js",
39
+ "types": "./dist/EpigraphLibs/EpigraphResultFactory/epigraphResultFactory.d.ts"
40
+ },
41
+ "./epigraphUnitsConverter": {
42
+ "import": "./dist/EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.js",
43
+ "types": "./dist/EpigraphLibs/EpigraphUnitsConverter/epigraphUnitsConverter.d.ts"
44
+ },
45
+ "./epigraphUrlProcessor": {
46
+ "import": "./dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.js",
47
+ "types": "./dist/EpigraphLibs/EpigraphUrlProcessor/epigraphUrlProcessor.d.ts"
48
+ }
49
+ },
10
50
  "scripts": {
11
51
  "dev": "vite",
12
52
  "build": "tsc -b ./tsconfig.lib.json && vite build",
13
53
  "preview": "vite preview",
14
54
  "prepublishOnly": "npm run build",
15
- "test": "npm run build && vitest",
16
- "update-three-gltf-extensions": "npm install three-gltf-extensions && npm run generate-declarations-materials-variants-loader && npm run generate-declarations-materials-variants-exporter && node ./npm-scripts/copyUpdatedThreeGltfExtensions.js && npm uninstall three-gltf-extensions",
17
- "generate-declarations-materials-variants-loader": "tsc --allowJs -d --emitDeclarationOnly ./node_modules/three-gltf-extensions/loaders/KHR_materials_variants/KHR_materials_variants.js",
18
- "generate-declarations-materials-variants-exporter": "tsc --allowJs -d --emitDeclarationOnly ./node_modules/three-gltf-extensions/exporters/KHR_materials_variants/KHR_materials_variants_exporter.js"
19
- },
20
- "dependencies": {
21
- "@google/model-viewer": "^4.1.0",
22
- "@types/google.analytics": "^0.0.42",
23
- "@types/gtag.js": "^0.0.20",
24
- "@types/node": "^22.13.0",
25
- "@types/three": "^0.172.0",
26
- "qr-creator": "^1.0.0",
27
- "three": "^0.172.0",
28
- "typescript": "^5.8.2",
29
- "vite": "^6.0.5",
30
- "vite-plugin-dts": "^4.5.0"
55
+ "test": "npm run build && vitest"
31
56
  },
57
+ "dependencies": {},
32
58
  "peerDependencies": {
33
- "lit": "^3.2.1"
59
+ "lit": "^3.2.1",
60
+ "qr-creator": "^1.0.0"
34
61
  },
35
62
  "devDependencies": {
36
- "vitest": "^3.0.5",
37
63
  "@types/node": "^22.13.0",
38
- "happy-dom": "^16.8.1"
64
+ "happy-dom": "^16.8.1",
65
+ "typescript": "^5.8.2",
66
+ "vite": "^6.0.5",
67
+ "vite-plugin-dts": "^4.5.0",
68
+ "vitest": "^3.0.5",
69
+ "@types/google.analytics": "^0.0.42",
70
+ "@types/gtag.js": "^0.0.20"
39
71
  }
40
- }
72
+ }
@@ -1,9 +0,0 @@
1
- export * as epigraphLogger from './EpigraphLogger/epigraphLogger';
2
- export * as epigraphUrlProcessor from './EpigraphUrlProcessor/epigraphUrlProcessor';
3
- export * as epigraphBaseSolution from '../Epigraph/epigraphBaseSolution';
4
- export * as epgUnitsConverter from './EpigraphUnitsConverter/epigraphUnitsConverter';
5
- export * as epigraphQrCodeGenerator from './EpigraphQrCodeGenerator/epigraphQrCodeGenerator';
6
- export { EpigraphAnalytics, GA3AnalyticsPlugin, GA4AnalyticsPlugin, OneTrustConsentPlugin, NexusAnalyticsPlugin, ConsentPluginNames } from './EpigraphAnalytics/EpigraphAnalytics';
7
- export * from './EpigraphResultFactory/epigraphResultFactory';
8
- export * from './EpigraphNexusApi/epigraphNexusApi';
9
- export type { AnalyticsEvent } from './EpigraphAnalytics/EpigraphAnalytics';
@@ -1,15 +0,0 @@
1
- import { default as WebGL } from 'three/addons/capabilities/WebGL.js';
2
- export * from 'three';
3
- export { GLTFLoader, DRACOLoader, GLTFExporter, USDZExporter, EffectComposer, HorizontalBlurShader, VerticalBlurShader, RGBELoader } from 'three/examples/jsm/Addons.js';
4
- export * from 'three';
5
- export * as ModelViewer from '@google/model-viewer';
6
- export * as MODEL_VIEWER_CONSTANTS from '@google/model-viewer/lib/constants';
7
- export { WebGL };
8
- /**
9
- * TODO: Special case for exports.
10
- * Whenever this library needs to be updated. Run "npm run update-three-gltf-extensions" and if nothing has internally changed within the library,
11
- * everything should update automatically.
12
- */
13
- export * as GLTFMaterialsVariantsExtension from './three-gltf-extensions/loaders/KHR_materials_variants/KHR_materials_variants';
14
- export * as GLTFExporterMaterialsVariantsExtension from './three-gltf-extensions/exporters/KHR_materials_variants/KHR_materials_variants_exporter';
15
- export type { GLTF, GLTFLoaderPlugin } from 'three/examples/jsm/Addons.js';
@@ -1,9 +0,0 @@
1
- export default class GLTFExporterMaterialsVariantsExtension {
2
- constructor(writer: any);
3
- writer: any;
4
- name: string;
5
- variantNames: any[];
6
- beforeParse(objects: any): void;
7
- writeMesh(mesh: any, meshDef: any): void;
8
- afterParse(input: any): void;
9
- }
@@ -1,6 +0,0 @@
1
- export default class GLTFMaterialsVariantsExtension {
2
- constructor(parser: any);
3
- parser: any;
4
- name: string;
5
- afterRoot(gltf: any): any;
6
- }