next-flow-interface 0.23.4 → 0.23.6
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/api/index.d.ts +5 -5
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +15 -15
- package/dist/hook/{use-t-attributes.type.d.ts → use-t-node.type.d.ts} +2 -2
- package/dist/hook/use-t-node.type.d.ts.map +1 -0
- package/dist/hook/use-t-step.type.d.ts +1 -1
- package/dist/hook/use-t-step.type.d.ts.map +1 -1
- package/dist/index.d.ts +12 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +176 -175
- package/dist/service/sync/attribute/attribute-service-api.d.ts +5 -0
- package/dist/service/sync/attribute/attribute-service-api.d.ts.map +1 -0
- package/dist/service/sync/attribute/dto/attribute-type.enum.d.ts +6 -0
- package/dist/service/sync/attribute/dto/attribute-type.enum.d.ts.map +1 -0
- package/dist/service/sync/attribute/dto/instance/attribute.interface.d.ts +5 -0
- package/dist/service/sync/attribute/dto/instance/attribute.interface.d.ts.map +1 -0
- package/dist/service/sync/attribute/dto/instance/base-attribute.interface.d.ts +9 -0
- package/dist/service/sync/attribute/dto/instance/base-attribute.interface.d.ts.map +1 -0
- package/dist/service/sync/attribute/dto/instance/global-attribute.interface.d.ts +5 -0
- package/dist/service/sync/attribute/dto/instance/global-attribute.interface.d.ts.map +1 -0
- package/dist/service/sync/attribute/dto/instance/node-attribute.interface.d.ts +5 -0
- package/dist/service/sync/attribute/dto/instance/node-attribute.interface.d.ts.map +1 -0
- package/dist/service/sync/attribute/dto/instance/step-attribute.interface.d.ts +5 -0
- package/dist/service/sync/attribute/dto/instance/step-attribute.interface.d.ts.map +1 -0
- package/dist/service/target/dto/t-attributes-subscriber.type.d.ts +1 -1
- package/dist/service/target/dto/t-attributes-subscriber.type.d.ts.map +1 -1
- package/dist/service/target/dto/t-step-subscriber.type.d.ts +4 -0
- package/dist/service/target/dto/t-step-subscriber.type.d.ts.map +1 -0
- package/dist/service/target/t-node-service-api.d.ts +16 -0
- package/dist/service/target/t-node-service-api.d.ts.map +1 -0
- package/dist/service/target/t-step-service-api.d.ts +15 -0
- package/dist/service/target/t-step-service-api.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/hook/use-t-attributes.type.d.ts.map +0 -1
- package/dist/service/target/attribute/t-attributes-service-api.d.ts +0 -16
- package/dist/service/target/attribute/t-attributes-service-api.d.ts.map +0 -1
- package/dist/service/target/dto/t-subscriber.type.d.ts +0 -4
- package/dist/service/target/dto/t-subscriber.type.d.ts.map +0 -1
- package/dist/service/target/step/t-step-service-api.d.ts +0 -15
- package/dist/service/target/step/t-step-service-api.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -10,13 +10,13 @@ class ge extends er {
|
|
|
10
10
|
super(n), this.name = "DomNotFoundError";
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
class
|
|
13
|
+
class be extends Error {
|
|
14
14
|
constructor(n) {
|
|
15
15
|
super(`${n} is a static class and cannot be instantiated.`), this.name = "StaticClassInstantiationError";
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
var or = /* @__PURE__ */ ((t) => (t[t.TOP = 0] = "TOP", t[t.RIGHT = 1] = "RIGHT", t[t.BOTTOM = 2] = "BOTTOM", t[t.LEFT = 3] = "LEFT", t[t.TOP_LEFT = 4] = "TOP_LEFT", t[t.BOTTOM_LEFT = 5] = "BOTTOM_LEFT", t[t.TOP_RIGHT = 6] = "TOP_RIGHT", t[t.BOTTOM_RIGHT = 7] = "BOTTOM_RIGHT", t[t.UNKNOWN = 8] = "UNKNOWN", t))(or || {}), ur = /* @__PURE__ */ ((t) => (t.BUTTON = "BUTTON", t.SWITCH = "SWITCH", t.DRAWER = "DRAWER", t.DIALOG = "DIALOG", t.CONTENT = "CONTENT", t.WINDOW = "WINDOW", t.SERVICE = "SERVICE", t))(ur || {}), j = /* @__PURE__ */ ((t) => (t.Default = "Default", t))(j || {});
|
|
19
|
-
class
|
|
19
|
+
class Ge {
|
|
20
20
|
constructor(n, r = null, e = "", o = j.Default, s = 0, i = 0) {
|
|
21
21
|
this.nid = n, this.node = r, this.text = e, this.theme = o, this.x = s, this.y = i;
|
|
22
22
|
}
|
|
@@ -57,9 +57,9 @@ class $ {
|
|
|
57
57
|
constructor(n, r, e = V.BUTTON, o = "", s = "", i = void 0, a = void 0, l = "", E = !1, A = "", N = () => {
|
|
58
58
|
}, T = () => {
|
|
59
59
|
}, L = () => {
|
|
60
|
-
},
|
|
60
|
+
}, g = e === V.BUTTON, b = !1, w = () => {
|
|
61
61
|
}, P = void 0, G = /* @__PURE__ */ new Date()) {
|
|
62
|
-
this.options = n, this.id = r, this.type = e, this.text = o, this.tip = s, this.icon = i, this.view = a, this.color = l, this.disabled = E, this.shortcut = A, this.onClick = N, this.onMouseOver = T, this.onMouseOut = L, this.closeAllOnClick =
|
|
62
|
+
this.options = n, this.id = r, this.type = e, this.text = o, this.tip = s, this.icon = i, this.view = a, this.color = l, this.disabled = E, this.shortcut = A, this.onClick = N, this.onMouseOver = T, this.onMouseOut = L, this.closeAllOnClick = g, this.checkboxDefaultValue = b, this.onCheckboxChange = w, this.sub = P, this.createTime = G;
|
|
63
63
|
}
|
|
64
64
|
static fromOptions(n, r) {
|
|
65
65
|
return new $(
|
|
@@ -85,8 +85,8 @@ class $ {
|
|
|
85
85
|
}
|
|
86
86
|
var J = /* @__PURE__ */ ((t) => (t.GREEN = "GREEN", t.PURPLE = "PURPLE", t.BLUE = "BLUE", t.PINK = "PINK", t))(J || {}), ar = /* @__PURE__ */ ((t) => (t.LEFT = "LEFT", t.CENTER = "CENTER", t.RIGHT = "RIGHT", t))(ar || {});
|
|
87
87
|
class Q {
|
|
88
|
-
constructor(n, r, e = "", o = void 0, s = "", i = "LEFT", a = void 0, l = void 0, E = void 0, A = J.BLUE, N = !1, T = "", L = {},
|
|
89
|
-
},
|
|
88
|
+
constructor(n, r, e = "", o = void 0, s = "", i = "LEFT", a = void 0, l = void 0, E = void 0, A = J.BLUE, N = !1, T = "", L = {}, g = "", b = "", w = !1, P = "", G = "", mt = w, xt = !1, Bt = () => {
|
|
89
|
+
}, gt = () => !0, bt = !0, Gt = () => {
|
|
90
90
|
}, Ht = () => {
|
|
91
91
|
}, Vt = () => {
|
|
92
92
|
}, _t = () => {
|
|
@@ -97,7 +97,7 @@ class Q {
|
|
|
97
97
|
}, kt = () => () => {
|
|
98
98
|
}, zt = !0, Xt = !0, Yt = !1, jt = !0, Kt = !1, $t = P, Jt = /* @__PURE__ */ new Date(), Qt = () => {
|
|
99
99
|
}, qt = /* @__PURE__ */ new Map()) {
|
|
100
|
-
this.options = n, this.id = r, this.title = e, this.titleIcon = o, this.content = s, this.contentAlign = i, this.contentView = a, this.icon = l, this.view = E, this.theme = A, this.leftMode = N, this.className = T, this.style = L, this.confirmText =
|
|
100
|
+
this.options = n, this.id = r, this.title = e, this.titleIcon = o, this.content = s, this.contentAlign = i, this.contentView = a, this.icon = l, this.view = E, this.theme = A, this.leftMode = N, this.className = T, this.style = L, this.confirmText = g, this.cancelText = b, this.enableInput = w, this.defaultValue = P, this.inputPlaceholder = G, this.autoFocus = mt, this.allowEmpty = xt, this.onChange = Bt, this.onCheck = gt, this.enableCloseButton = bt, this.onConfirm = Gt, this.onCancel = Ht, this.onClose = Vt, this.onConfirmButtonClick = _t, this.onCancelButtonClick = Mt, this.onOutsideClick = Ft, this.onCloseButtonClick = Wt, this.onRender = yt, this.onEffect = kt, this.closeOnConfirm = zt, this.closeOnCancel = Xt, this.closeOnOutsideClick = Yt, this.closeOnCloseButtonClick = jt, this.alignButton = Kt, this.inputValue = $t, this.createTime = Jt, this.focusInput = Qt, this.elements = qt;
|
|
101
101
|
}
|
|
102
102
|
static fromOptions(n, r) {
|
|
103
103
|
return new Q(
|
|
@@ -144,21 +144,21 @@ class Q {
|
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
146
|
var Er = /* @__PURE__ */ ((t) => (t.WAITING = "WAITING", t.LOADING = "LOADING", t.LOADED = "LOADED", t.ERROR = "ERROR", t.CANCELED = "CANCELED", t))(Er || {}), lr = /* @__PURE__ */ ((t) => (t.START = "START", t.PROGRESS = "PROGRESS", t.LOADED = "LOADED", t.ERROR = "ERROR", t.CANCELED = "CANCELED", t))(lr || {});
|
|
147
|
-
const f = "*/*", u = "unknown/unknown", h = "babylonjs/scene", F = "babylonjs/mesh", q = "babylonjs/light", Z = "babylonjs/camera", O = "babylonjs/texture", C = "babylonjs/material", m = "babylonjs/uv", p = "babylonjs/animation", v = "model/gltf-binary", tt = "model/gltf+json", W = "model/stl", rt = "model/obj", nt = "audio/mpeg", et = "audio/wav", Ar = "audio/aac", hr = "audio/ogg", Or = "audio/flac", Dr = "audio/opus", ot = "image/jpeg", ut = "image/png", Rr = "image/gif", Nr = "image/bmp", Tr = "image/webp", Lr = "image/svg+xml",
|
|
147
|
+
const f = "*/*", u = "unknown/unknown", h = "babylonjs/scene", F = "babylonjs/mesh", q = "babylonjs/light", Z = "babylonjs/camera", O = "babylonjs/texture", C = "babylonjs/material", m = "babylonjs/uv", p = "babylonjs/animation", v = "model/gltf-binary", tt = "model/gltf+json", W = "model/stl", rt = "model/obj", nt = "audio/mpeg", et = "audio/wav", Ar = "audio/aac", hr = "audio/ogg", Or = "audio/flac", Dr = "audio/opus", ot = "image/jpeg", ut = "image/png", Rr = "image/gif", Nr = "image/bmp", Tr = "image/webp", Lr = "image/svg+xml", Sr = "image/tiff", Ir = "image/x-icon", Cr = "image/heif", dr = "image/avif", st = "video/mp4", Ur = "video/webm", wr = "video/x-msvideo", Pr = "video/mpeg", mr = "video/quicktime", xr = "video/x-ms-wmv", Br = "video/x-flv", gr = "video/ogg", br = "video/3gpp", Gr = "video/x-matroska", it = "application/json", ct = "nextflow/sync", ft = "text/plain", Hr = "text/markdown", D = [ot, ut], d = [h, v, tt, W, rt], R = [st], y = [h, F, q, Z, O, C, m, p], x = [nt, et], U = [ft], B = [it], Vr = [ct], at = [
|
|
148
148
|
...D,
|
|
149
149
|
...d,
|
|
150
150
|
...R,
|
|
151
151
|
...y,
|
|
152
152
|
...x,
|
|
153
153
|
...U,
|
|
154
|
-
...
|
|
154
|
+
...B
|
|
155
155
|
], Et = [
|
|
156
156
|
...D,
|
|
157
157
|
...d,
|
|
158
158
|
...R,
|
|
159
159
|
...x,
|
|
160
160
|
...U,
|
|
161
|
-
...
|
|
161
|
+
...B
|
|
162
162
|
], lt = [
|
|
163
163
|
...D,
|
|
164
164
|
...d,
|
|
@@ -243,7 +243,7 @@ function Xr(t = u) {
|
|
|
243
243
|
return t == f ? !0 : t == u ? !1 : U.includes(t);
|
|
244
244
|
}
|
|
245
245
|
function Yr(t = u) {
|
|
246
|
-
return t == f ? !0 : t == u ? !1 :
|
|
246
|
+
return t == f ? !0 : t == u ? !1 : B.includes(t);
|
|
247
247
|
}
|
|
248
248
|
function Tt(t = u) {
|
|
249
249
|
return t == f ? !0 : t == u ? !1 : y.includes(t);
|
|
@@ -269,9 +269,9 @@ function qr(t = u) {
|
|
|
269
269
|
function Lt(t = u) {
|
|
270
270
|
return t == f ? !0 : t == u ? !1 : ht.includes(t);
|
|
271
271
|
}
|
|
272
|
-
const
|
|
272
|
+
const He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, AAC: Ar, ANIMATION: p, ANY: f, ATTACH_LIST: ht, AVI: wr, AVIF: dr, BMP: Nr, CAMERA: Z, FLAC: Or, FLV: Br, GIF: Rr, GLB: v, GLTF: tt, GP3: br, HEIF: Cr, ICO: Ir, JPG: ot, JSON: it, LIGHT: q, MARKDOWN: Hr, MATERIAL: C, MESH: F, MKV: Gr, MOV: mr, MP3: nt, MP4: st, MPEG: Pr, NF: ct, OBJ: rt, OGG: hr, OGV: gr, OPUS: Dr, PNG: ut, SCENE: h, STL: W, SUPPORT_ALL_LIST: at, SUPPORT_AUDIO_LIST: x, SUPPORT_BABYLON_LIST: y, SUPPORT_FILE_LIST: Et, SUPPORT_IMAGE_LIST: D, SUPPORT_JSON_LIST: B, SUPPORT_MODEL_LIST: d, SUPPORT_NEXTFLOW_LIST: Vr, SUPPORT_RENDER_LIST: lt, SUPPORT_TEXTURE_LIST: At, SUPPORT_TEXT_LIST: U, SUPPORT_VIDEO_LIST: R, SVG: Lr, TEXTURE: O, TIFF: Sr, TXT: ft, UNKNOWN: u, UV: m, WAV: et, WMV: xr, WebM: Ur, WebP: Tr, getExtension: Mr, getMime: _r, getMimeByBlob: Ot, getMimeByBuffer: Rt, getMimeByPath: k, getMimeByStream: Nt, getMimeByUrl: Dt, isAttach: Lt, isBabylon: Tt, isMaterial: Qr, isSupport: Fr, isSupportAudio: jr, isSupportFile: Wr, isSupportImage: yr, isSupportJson: Yr, isSupportModel: kr, isSupportRender: Kr, isSupportText: Xr, isSupportTexture: $r, isSupportVideo: zr, isTexture: Jr, isUV: qr }, Symbol.toStringTag, { value: "Module" }));
|
|
273
273
|
var Zr = /* @__PURE__ */ ((t) => (t.ADD = "ADD", t.REMOVE = "REMOVE", t.START = "START", t.PROGRESS = "PROGRESS", t.PAUSE = "PAUSE", t.RESUME = "RESUME", t.LOADED = "LOADED", t.ERROR = "ERROR", t.CANCELED = "CANCELED", t))(Zr || {}), pr = /* @__PURE__ */ ((t) => (t.WAITING = "WAITING", t.LOADING = "LOADING", t.PAUSED = "PAUSED", t.LOADED = "LOADED", t.FAILED = "FAILED", t.CANCELED = "CANCELED", t))(pr || {}), vr = /* @__PURE__ */ ((t) => (t.BLOB = "BLOB", t.OBJECT = "OBJECT", t))(vr || {}), tn = /* @__PURE__ */ ((t) => (t.WAITING = "WAITING", t.UPLOADING = "UPLOADING", t.PAUSED = "PAUSED", t.COMPLETED = "COMPLETED", t.FAILED = "FAILED", t.CANCELED = "CANCELED", t))(tn || {}), rn = /* @__PURE__ */ ((t) => (t.START = "START", t.PROGRESS = "PROGRESS", t.PAUSE = "PAUSE", t.RESUME = "RESUME", t.UPLOADED = "UPLOADED", t.FAILED = "FAILED", t.CANCELED = "CANCELED", t))(rn || {}), nn = /* @__PURE__ */ ((t) => (t.ZH = "zh", t.EN = "en", t))(nn || {}), en = /* @__PURE__ */ ((t) => (t.PENDING = "PENDING", t.PROGRESSING = "PROGRESSING", t.ENDED = "ENDED", t.CANCELED = "CANCELED", t.BANNED = "BANNED", t))(en || {}), on = /* @__PURE__ */ ((t) => (t.NONE = "NONE", t.SELF = "SELF", t.ALL = "ALL", t))(on || {});
|
|
274
|
-
class
|
|
274
|
+
class Ve {
|
|
275
275
|
constructor(n, r, e, o) {
|
|
276
276
|
this.text = n, this.type = r, this.duration = e, this.id = o;
|
|
277
277
|
}
|
|
@@ -279,41 +279,41 @@ class He {
|
|
|
279
279
|
height = 20;
|
|
280
280
|
opacity = 0;
|
|
281
281
|
}
|
|
282
|
-
var un = /* @__PURE__ */ ((t) => (t.ADD = "ADD", t.INSTALL = "INSTALL", t.ENABLE = "ENABLE", t.OPEN = "OPEN", t.CLOSE = "CLOSE", t.DISABLE = "DISABLE", t.UNINSTALL = "UNINSTALL", t.DEBUG = "DEBUG", t))(un || {}), sn = /* @__PURE__ */ ((t) => (t.DISPLAY = "DISPLAY", t.FULL = "FULL", t.HP_BOX = "HP_BOX", t.VR = "VR", t.MR = "MR", t))(sn || {}),
|
|
283
|
-
async function
|
|
282
|
+
var un = /* @__PURE__ */ ((t) => (t.ADD = "ADD", t.INSTALL = "INSTALL", t.ENABLE = "ENABLE", t.OPEN = "OPEN", t.CLOSE = "CLOSE", t.DISABLE = "DISABLE", t.UNINSTALL = "UNINSTALL", t.DEBUG = "DEBUG", t))(un || {}), sn = /* @__PURE__ */ ((t) => (t.DISPLAY = "DISPLAY", t.FULL = "FULL", t.HP_BOX = "HP_BOX", t.VR = "VR", t.MR = "MR", t))(sn || {}), S = /* @__PURE__ */ ((t) => (t.EDITOR = "EDITOR", t.VIEWER = "VIEWER", t.VISITOR = "VISITOR", t))(S || {}), cn = /* @__PURE__ */ ((t) => (t.DEFAULT = "DEFAULT", t.DESCRIPTION = "DESCRIPTION", t))(cn || {}), fn = /* @__PURE__ */ ((t) => (t.XS = "XS", t.SM = "SM", t.MD = "MD", t.LG = "LG", t.XL = "XL", t))(fn || {}), an = /* @__PURE__ */ ((t) => (t.DEFAULT = "DEFAULT", t.BACKGROUND = "BACKGROUND", t.LIGHT = "LIGHT", t.DARK = "DARK", t))(an || {}), En = /* @__PURE__ */ ((t) => (t.GENERAL = "GENERAL", t.RHINE = "RHINE", t))(En || {}), ln = /* @__PURE__ */ ((t) => (t.Global = "GLOBAL", t.Step = "STEP", t.Node = "NODE", t))(ln || {}), An = /* @__PURE__ */ ((t) => (t.UNDO = "UNDO", t.REDO = "REDO", t))(An || {}), hn = /* @__PURE__ */ ((t) => (t.ADD = "ADD", t.REMOVE = "REMOVE", t))(hn || {}), On = /* @__PURE__ */ ((t) => (t.OSS = "OSS", t.URL = "URL", t))(On || {}), Dn = /* @__PURE__ */ ((t) => (t.TEXT = "TEXT", t.CUBE = "CUBE", t.SPHERE = "SPHERE", t.CONE = "CONE", t.PRISM = "PRISM", t.POLYHEDRON = "POLYHEDRON", t.TORUS = "TORUS", t.CYLINDER = "CYLINDER", t.ICO_SPHERE = "ICO_SPHERE", t.CAPSULE = "CAPSULE", t.PLANE = "PLANE", t))(Dn || {}), Rn = /* @__PURE__ */ ((t) => (t.BASIC = "BASIC", t.PROVIDE = "PROVIDE", t.UPLOAD = "UPLOAD", t))(Rn || {}), Nn = /* @__PURE__ */ ((t) => (t.NONE = "NONE", t.INSTALL = "INSTALL", t.ENABLE = "ENABLE", t.OPEN = "OPEN", t))(Nn || {}), Tn = /* @__PURE__ */ ((t) => (t.LATEST_STABLE = "LATEST_STABLE", t.LATEST_NIGHTLY = "LATEST_NIGHTLY", t.LATEST_CANARY = "LATEST_CANARY", t))(Tn || {}), Ln = /* @__PURE__ */ ((t) => (t.TEXTURE = "TEXTURE", t.MATERIAL = "MATERIAL", t.UV = "UV", t))(Ln || {}), Sn = /* @__PURE__ */ ((t) => (t.FILE = "FILE", t.ATTACH = "ATTACH", t))(Sn || {}), In = /* @__PURE__ */ ((t) => (t.OPAQUE = "OPAQUE", t.ALPHA_TEST = "ALPHA_TEST", t.ALPHA_BLEND = "ALPHA_BLEND", t.ALPHA_TEST_AND_BLEND = "ALPHA_TEST_AND_BLEND", t))(In || {}), Cn = /* @__PURE__ */ ((t) => (t.NONE = "NONE", t.PBR = "PBR", t.STANDARD = "STANDARD", t.NODE = "NODE", t.OTHER = "OTHER", t.TERRAIN = "TERRAIN", t.FUR = "FUR", t.WATER = "WATER", t.LAVA = "LAVA", t.SKY = "SKY", t.BACKGROUND = "BACKGROUND", t.MULTI = "MULTI", t.SHADER = "SHADER", t))(Cn || {}), dn = /* @__PURE__ */ ((t) => (t.NONE = "NONE", t.METAL = "METAL", t.PLASTIC = "PLASTIC", t.GLASS = "GLASS", t.WOOD = "WOOD", t.MIRROR = "MIRROR", t.CRYSTAL = "CRYSTAL", t.PAINT = "PAINT", t.CLOTH = "CLOTH", t))(dn || {}), Un = /* @__PURE__ */ ((t) => (t.ADD = "ADD", t.REMOVE = "REMOVE", t))(Un || {}), wn = /* @__PURE__ */ ((t) => (t.SYNC = "SYNC", t.STEP = "STEP", t.SELECT = "SELECT", t.ADD = "ADD", t.UPDATE = "UPDATE", t.DELETE = "DELETE", t))(wn || {});
|
|
283
|
+
async function Pn(t) {
|
|
284
284
|
const n = await crypto.subtle.digest("SHA-256", t);
|
|
285
285
|
return Array.from(new Uint8Array(n)).map((e) => e.toString(16).padStart(2, "0")).join("");
|
|
286
286
|
}
|
|
287
287
|
const H = {
|
|
288
|
-
computeSHA256:
|
|
288
|
+
computeSHA256: Pn
|
|
289
289
|
};
|
|
290
|
-
function
|
|
290
|
+
function mn(t, n) {
|
|
291
291
|
const r = [];
|
|
292
292
|
return r.push({ path: t, value: n }), r;
|
|
293
293
|
}
|
|
294
|
-
const
|
|
295
|
-
recursPathValue:
|
|
294
|
+
const _e = {
|
|
295
|
+
recursPathValue: mn
|
|
296
296
|
};
|
|
297
|
-
function
|
|
297
|
+
function St(t) {
|
|
298
298
|
const n = Math.floor(t).toString().length, r = n <= 1 ? 2 : 1;
|
|
299
299
|
return t.toFixed(r);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function xn(t) {
|
|
302
302
|
const n = ["B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
|
|
303
303
|
let r = 0;
|
|
304
304
|
for (; t >= 1024 && r < n.length - 1; )
|
|
305
305
|
t /= 1024, r++;
|
|
306
|
-
let e =
|
|
306
|
+
let e = St(t);
|
|
307
307
|
return e.endsWith(".0") && (e = e.slice(0, -2)), e.endsWith(".00") && (e = e.slice(0, -3)), `${e} ${n[r]}`;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function Bn(t) {
|
|
310
310
|
const n = t.lastIndexOf(".");
|
|
311
311
|
return n === -1 ? [t, ""] : [t.substring(0, n), t.substring(n + 1)];
|
|
312
312
|
}
|
|
313
313
|
function gn(t) {
|
|
314
314
|
return t ? t instanceof File ? [t] : t instanceof FileList ? Array.from(t) : t : [];
|
|
315
315
|
}
|
|
316
|
-
async function
|
|
316
|
+
async function It(t) {
|
|
317
317
|
const n = [0.25, 0.5, 0.75], r = 64 * 1024, e = 1024 * 1024;
|
|
318
318
|
if (t.size <= e) {
|
|
319
319
|
const E = await t.arrayBuffer();
|
|
@@ -327,16 +327,16 @@ async function St(t) {
|
|
|
327
327
|
), i = new TextEncoder(), a = s.join(""), l = i.encode(a);
|
|
328
328
|
return H.computeSHA256(l);
|
|
329
329
|
}
|
|
330
|
-
async function
|
|
330
|
+
async function bn(t, n, r, e) {
|
|
331
331
|
if (n === t.name && r === t.size)
|
|
332
332
|
if (e) {
|
|
333
|
-
if (e === await
|
|
333
|
+
if (e === await It(t))
|
|
334
334
|
return !0;
|
|
335
335
|
} else
|
|
336
336
|
return !0;
|
|
337
337
|
return !1;
|
|
338
338
|
}
|
|
339
|
-
async function
|
|
339
|
+
async function Gn(t) {
|
|
340
340
|
const n = await fetch(t, { method: "HEAD" });
|
|
341
341
|
if (!n.ok)
|
|
342
342
|
throw new Error(`HEAD request failed with status: ${String(n.status)}`);
|
|
@@ -353,31 +353,31 @@ async function bn(t) {
|
|
|
353
353
|
}
|
|
354
354
|
return { name: new URL(t).pathname.split("/").pop() ?? "unknown", size: e };
|
|
355
355
|
}
|
|
356
|
-
const
|
|
357
|
-
to3n:
|
|
358
|
-
convertBytesToHigherUnit:
|
|
359
|
-
splitName:
|
|
356
|
+
const Me = {
|
|
357
|
+
to3n: St,
|
|
358
|
+
convertBytesToHigherUnit: xn,
|
|
359
|
+
splitName: Bn,
|
|
360
360
|
ensureFileArray: gn,
|
|
361
|
-
chunkHash:
|
|
362
|
-
isSameFile:
|
|
363
|
-
getFileInfo:
|
|
361
|
+
chunkHash: It,
|
|
362
|
+
isSameFile: bn,
|
|
363
|
+
getFileInfo: Gn
|
|
364
364
|
};
|
|
365
|
-
function
|
|
365
|
+
function Hn(t) {
|
|
366
366
|
return t * (180 / Math.PI);
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function Vn(t) {
|
|
369
369
|
return t * (Math.PI / 180);
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function _n(t, n, r = 1e-6) {
|
|
372
372
|
return Math.abs(t - n) < r;
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function Mn(t, n, r, e) {
|
|
375
375
|
return Math.sqrt((r - t) ** 2 + (e - n) ** 2);
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function Fn(t, n, r, e, o, s) {
|
|
378
378
|
return Math.sqrt((e - t) ** 2 + (o - n) ** 2 + (s - r) ** 2);
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function Wn(t, n) {
|
|
381
381
|
let r = 1 / 0, e = -1;
|
|
382
382
|
for (let o = 0; o < n.length; o++) {
|
|
383
383
|
const s = Math.abs(t - n[o]);
|
|
@@ -385,13 +385,13 @@ function Fn(t, n) {
|
|
|
385
385
|
}
|
|
386
386
|
return e;
|
|
387
387
|
}
|
|
388
|
-
const
|
|
389
|
-
toDegrees:
|
|
390
|
-
toRadians:
|
|
391
|
-
approximatelyEqual:
|
|
392
|
-
getDistance:
|
|
393
|
-
getDistance3d:
|
|
394
|
-
getNearestNumberIndex:
|
|
388
|
+
const yn = {
|
|
389
|
+
toDegrees: Hn,
|
|
390
|
+
toRadians: Vn,
|
|
391
|
+
approximatelyEqual: _n,
|
|
392
|
+
getDistance: Mn,
|
|
393
|
+
getDistance3d: Fn,
|
|
394
|
+
getNearestNumberIndex: Wn
|
|
395
395
|
};
|
|
396
396
|
function _(t) {
|
|
397
397
|
if (t.type.includes("touch")) {
|
|
@@ -406,27 +406,27 @@ function _(t) {
|
|
|
406
406
|
const n = t;
|
|
407
407
|
return [n.clientX, n.clientY];
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function kn(t, n) {
|
|
410
410
|
const [r, e] = _(t), [o, s] = _(n);
|
|
411
|
-
return
|
|
411
|
+
return yn.getDistance(r, e, o, s);
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function zn(t) {
|
|
414
414
|
t.preventDefault();
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Xn(t) {
|
|
417
417
|
t.stopPropagation();
|
|
418
418
|
}
|
|
419
|
-
function
|
|
419
|
+
function Yn(t) {
|
|
420
420
|
t.preventDefault(), t.stopPropagation();
|
|
421
421
|
}
|
|
422
|
-
const
|
|
422
|
+
const Fe = {
|
|
423
423
|
getEventPosition: _,
|
|
424
|
-
getDistanceBetweenEvents:
|
|
425
|
-
preventDefaultListener:
|
|
426
|
-
stopPropagationListener:
|
|
427
|
-
preventDefaultStopPropagationListener:
|
|
424
|
+
getDistanceBetweenEvents: kn,
|
|
425
|
+
preventDefaultListener: zn,
|
|
426
|
+
stopPropagationListener: Xn,
|
|
427
|
+
preventDefaultStopPropagationListener: Yn
|
|
428
428
|
};
|
|
429
|
-
async function
|
|
429
|
+
async function jn(t, n = 3) {
|
|
430
430
|
let r;
|
|
431
431
|
for (let e = 0; e < n; e++)
|
|
432
432
|
try {
|
|
@@ -440,7 +440,7 @@ ${t}`);
|
|
|
440
440
|
}
|
|
441
441
|
throw r;
|
|
442
442
|
}
|
|
443
|
-
async function
|
|
443
|
+
async function Kn(t, n = 3) {
|
|
444
444
|
let r;
|
|
445
445
|
for (let e = 0; e < n; e++)
|
|
446
446
|
try {
|
|
@@ -454,38 +454,38 @@ ${t}`);
|
|
|
454
454
|
}
|
|
455
455
|
throw r;
|
|
456
456
|
}
|
|
457
|
-
const
|
|
458
|
-
fetchJsonWithRetry:
|
|
459
|
-
fetchBlobWithRetry:
|
|
457
|
+
const We = {
|
|
458
|
+
fetchJsonWithRetry: jn,
|
|
459
|
+
fetchBlobWithRetry: Kn
|
|
460
460
|
};
|
|
461
461
|
function z(t, n) {
|
|
462
462
|
const r = 10 ** n;
|
|
463
463
|
return Math.round(t * r) / r;
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function $n(t) {
|
|
466
466
|
return z(t, 2);
|
|
467
467
|
}
|
|
468
|
-
function
|
|
468
|
+
function Jn(t) {
|
|
469
469
|
return z(t, 3);
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function Qn(t) {
|
|
472
472
|
return typeof t == "number" && !isNaN(t) && isFinite(t);
|
|
473
473
|
}
|
|
474
474
|
const c = {
|
|
475
475
|
roundToX: z,
|
|
476
|
-
r2:
|
|
477
|
-
r3:
|
|
478
|
-
isValidNumber:
|
|
476
|
+
r2: $n,
|
|
477
|
+
r3: Jn,
|
|
478
|
+
isValidNumber: Qn
|
|
479
479
|
};
|
|
480
|
-
function Qn(t) {
|
|
481
|
-
return t === "space" ? I.EDITOR : t === "m" ? I.VISITOR : I.VIEWER;
|
|
482
|
-
}
|
|
483
480
|
function qn(t) {
|
|
481
|
+
return t === "space" ? S.EDITOR : t === "m" ? S.VISITOR : S.VIEWER;
|
|
482
|
+
}
|
|
483
|
+
function Zn(t) {
|
|
484
484
|
return new URLSearchParams(window.location.search).get(t) ?? void 0;
|
|
485
485
|
}
|
|
486
|
-
const
|
|
487
|
-
getPageTypeBySpaceText:
|
|
488
|
-
getSearchParams:
|
|
486
|
+
const ye = {
|
|
487
|
+
getPageTypeBySpaceText: qn,
|
|
488
|
+
getSearchParams: Zn
|
|
489
489
|
};
|
|
490
490
|
function Ct(t) {
|
|
491
491
|
const n = [];
|
|
@@ -498,14 +498,14 @@ function Ct(t) {
|
|
|
498
498
|
function dt(t) {
|
|
499
499
|
return t.join(".");
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function I(t) {
|
|
502
502
|
return typeof t == "string" ? Ct(t) : t;
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function pn(t) {
|
|
505
505
|
return typeof t != "string" ? dt(t) : t;
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
const r =
|
|
507
|
+
function vn(t, n) {
|
|
508
|
+
const r = I(n);
|
|
509
509
|
let e = t;
|
|
510
510
|
for (const o of r) {
|
|
511
511
|
if (e == null)
|
|
@@ -514,35 +514,35 @@ function pn(t, n) {
|
|
|
514
514
|
}
|
|
515
515
|
return e;
|
|
516
516
|
}
|
|
517
|
-
function
|
|
518
|
-
const e =
|
|
517
|
+
function te(t, n, r) {
|
|
518
|
+
const e = I(n);
|
|
519
519
|
let o = t;
|
|
520
520
|
for (let s = 0; s < e.length - 1; s++)
|
|
521
521
|
o = o[e[s]];
|
|
522
522
|
o[e[e.length - 1]] = r;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
525
|
-
const r =
|
|
524
|
+
function re(t, n) {
|
|
525
|
+
const r = I(t), e = I(n), o = r.length > e.length ? e.length : r.length;
|
|
526
526
|
for (let s = 0; s < o; s++)
|
|
527
527
|
if (r[s] != e[s])
|
|
528
528
|
return !1;
|
|
529
529
|
return !0;
|
|
530
530
|
}
|
|
531
|
-
const
|
|
531
|
+
const ke = {
|
|
532
532
|
makeRvPath: Ct,
|
|
533
533
|
makeRvPathString: dt,
|
|
534
|
-
ensureRvPath:
|
|
535
|
-
ensureRvPathString:
|
|
536
|
-
getByRvPath:
|
|
537
|
-
setByRvPath:
|
|
538
|
-
checkRvPathOverlay:
|
|
534
|
+
ensureRvPath: I,
|
|
535
|
+
ensureRvPathString: pn,
|
|
536
|
+
getByRvPath: vn,
|
|
537
|
+
setByRvPath: te,
|
|
538
|
+
checkRvPathOverlay: re
|
|
539
539
|
};
|
|
540
|
-
function
|
|
540
|
+
function ze(t) {
|
|
541
541
|
return new Promise((n) => {
|
|
542
542
|
setTimeout(n, t);
|
|
543
543
|
});
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function Xe(t, n) {
|
|
546
546
|
if (n === 0)
|
|
547
547
|
return t;
|
|
548
548
|
let r, e = 0, o, s = null;
|
|
@@ -560,7 +560,7 @@ function ze(t, n) {
|
|
|
560
560
|
}, n - A) : i();
|
|
561
561
|
};
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function ne(t) {
|
|
564
564
|
const n = Math.floor(t / 3600), r = Math.floor(t % 3600 / 60), e = Math.floor(t % 60);
|
|
565
565
|
return [
|
|
566
566
|
n > 0 ? String(n).padStart(2, "0") : null,
|
|
@@ -568,38 +568,38 @@ function re(t) {
|
|
|
568
568
|
String(e).padStart(2, "0")
|
|
569
569
|
].filter(Boolean).join(":");
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function ee(t = /* @__PURE__ */ new Date()) {
|
|
572
572
|
const n = t.getFullYear().toString(), r = (t.getMonth() + 1).toString().padStart(2, "0"), e = t.getDate().toString().padStart(2, "0"), o = t.getHours().toString().padStart(2, "0"), s = t.getMinutes().toString().padStart(2, "0"), i = t.getSeconds().toString().padStart(2, "0"), a = t.getMilliseconds().toString().padStart(3, "0");
|
|
573
573
|
return n + r + e + o + s + i + a;
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function oe(t, n) {
|
|
576
576
|
const r = n - t, e = Math.floor(r / 1e3), o = Math.floor(e / 3600), s = Math.floor(e % 3600 / 60), i = e % 60;
|
|
577
577
|
return `${o > 0 ? `${o.toString().padStart(2, "0")}:` : ""}${s.toString().padStart(2, "0")}:${i.toString().padStart(2, "0")}`;
|
|
578
578
|
}
|
|
579
|
-
const
|
|
580
|
-
convertTimeText:
|
|
581
|
-
formatDateTo17Digits:
|
|
582
|
-
formatDuration:
|
|
579
|
+
const Ye = {
|
|
580
|
+
convertTimeText: ne,
|
|
581
|
+
formatDateTo17Digits: ee,
|
|
582
|
+
formatDuration: oe
|
|
583
583
|
};
|
|
584
|
-
function
|
|
584
|
+
function ue(t) {
|
|
585
585
|
const n = new RegExp(`(^|&)${t}=([^&]*)(&|$)`, "i"), r = window.location.search.substring(1).match(n);
|
|
586
586
|
return r != null ? decodeURIComponent(r[2]) : "";
|
|
587
587
|
}
|
|
588
|
-
function
|
|
588
|
+
function se(t) {
|
|
589
589
|
const n = new RegExp(`(^|&)${t}=([^&]*)(&|$)`, "i"), r = window.location.hash.substring(1).match(n);
|
|
590
590
|
return r != null ? decodeURIComponent(r[2]) : "";
|
|
591
591
|
}
|
|
592
|
-
function
|
|
592
|
+
function ie(t) {
|
|
593
593
|
return new RegExp(
|
|
594
594
|
"^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?:\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$",
|
|
595
595
|
"i"
|
|
596
596
|
).test(t);
|
|
597
597
|
}
|
|
598
|
-
async function
|
|
598
|
+
async function ce() {
|
|
599
599
|
const t = window.location.href;
|
|
600
600
|
return Ut(t);
|
|
601
601
|
}
|
|
602
|
-
async function
|
|
602
|
+
async function fe(t) {
|
|
603
603
|
try {
|
|
604
604
|
return await navigator.clipboard.writeText(t), !0;
|
|
605
605
|
} catch {
|
|
@@ -613,7 +613,7 @@ async function Ut(t) {
|
|
|
613
613
|
return !1;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function ae(t, n = !0) {
|
|
617
617
|
try {
|
|
618
618
|
const o = new URL(t).pathname.split("/").pop() ?? "";
|
|
619
619
|
return !n && o.includes(".") ? o.substring(0, o.lastIndexOf(".")) : o;
|
|
@@ -621,26 +621,26 @@ function fe(t, n = !0) {
|
|
|
621
621
|
return "";
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
const
|
|
625
|
-
getParam:
|
|
626
|
-
getHashParam:
|
|
627
|
-
check:
|
|
628
|
-
copyCurrentUrlToClipboard:
|
|
629
|
-
copyText:
|
|
624
|
+
const je = {
|
|
625
|
+
getParam: ue,
|
|
626
|
+
getHashParam: se,
|
|
627
|
+
check: ie,
|
|
628
|
+
copyCurrentUrlToClipboard: ce,
|
|
629
|
+
copyText: fe,
|
|
630
630
|
trySetClipboard: Ut,
|
|
631
|
-
extractFilenameFromUrl:
|
|
631
|
+
extractFilenameFromUrl: ae
|
|
632
632
|
};
|
|
633
|
-
function
|
|
633
|
+
function Ee(t, n = -1, r = [0, 0]) {
|
|
634
634
|
return t ? n === -1 ? [t.x, t.y] : [c.roundToX(t.x, n), c.roundToX(t.y, n)] : r;
|
|
635
635
|
}
|
|
636
|
-
function
|
|
636
|
+
function le(t, n = -1, r = [0, 0, 0]) {
|
|
637
637
|
return t ? n === -1 ? [t.x, t.y, t.z] : [
|
|
638
638
|
c.roundToX(t.x, n),
|
|
639
639
|
c.roundToX(t.y, n),
|
|
640
640
|
c.roundToX(t.z, n)
|
|
641
641
|
] : r;
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function Ae(t, n = -1, r = [0, 0, 0, 0]) {
|
|
644
644
|
return t ? n === -1 ? [t.x, t.y, t.z, t.w] : [
|
|
645
645
|
c.roundToX(t.x, n),
|
|
646
646
|
c.roundToX(t.y, n),
|
|
@@ -648,67 +648,67 @@ function le(t, n = -1, r = [0, 0, 0, 0]) {
|
|
|
648
648
|
c.roundToX(t.w, n)
|
|
649
649
|
] : r;
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function he(t, n) {
|
|
652
652
|
return { x: n.x * t, y: n.y * t, z: n.z * t };
|
|
653
653
|
}
|
|
654
654
|
function wt(t) {
|
|
655
655
|
return { x: t.x * 180 / Math.PI, y: t.y * 180 / Math.PI, z: t.z * 180 / Math.PI };
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function Oe(t) {
|
|
658
658
|
return { x: t.x * Math.PI / 180, y: t.y * Math.PI / 180, z: t.z * Math.PI / 180 };
|
|
659
659
|
}
|
|
660
|
-
function
|
|
660
|
+
function De(t) {
|
|
661
661
|
return M.RotationYawPitchRoll(t.y, t.x, t.z);
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Re(t) {
|
|
664
664
|
return M.RotationYawPitchRoll(
|
|
665
665
|
t.y * Math.PI / 180,
|
|
666
666
|
t.x * Math.PI / 180,
|
|
667
667
|
t.z * Math.PI / 180
|
|
668
668
|
);
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Ne(t) {
|
|
671
671
|
return new tr(t.x, t.y, t.z);
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function Te(t) {
|
|
674
674
|
return { x: t.x, y: t.y, z: t.z };
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Le(t, n = 0) {
|
|
677
677
|
return {
|
|
678
678
|
x: c.roundToX(t.x, n),
|
|
679
679
|
y: c.roundToX(t.y, n),
|
|
680
680
|
z: c.roundToX(t.z, n)
|
|
681
681
|
};
|
|
682
682
|
}
|
|
683
|
-
function
|
|
683
|
+
function Se(t) {
|
|
684
684
|
return isFinite(t.x) && isFinite(t.y) && isFinite(t.z);
|
|
685
685
|
}
|
|
686
686
|
function Ie(t) {
|
|
687
687
|
return t.x !== 0 && t.y !== 0 && t.z !== 0;
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function Ce(t, n) {
|
|
690
690
|
return { x: n.x * t, y: n.y * t, z: n.z * t, w: n.w * t };
|
|
691
691
|
}
|
|
692
692
|
function X(t) {
|
|
693
693
|
return new M(t.x, t.y, t.z, t.w);
|
|
694
694
|
}
|
|
695
|
-
function
|
|
695
|
+
function de(t) {
|
|
696
696
|
return X(t).toEulerAngles();
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function Ue(t) {
|
|
699
699
|
const n = X(t);
|
|
700
700
|
return wt(n.toEulerAngles());
|
|
701
701
|
}
|
|
702
702
|
function Pt(t) {
|
|
703
703
|
return "w" in t;
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function we(t) {
|
|
706
706
|
return Pt(t) ? [t.x, t.y, t.z, t.w] : [t.x, t.y, t.z];
|
|
707
707
|
}
|
|
708
|
-
function
|
|
708
|
+
function Pe(t) {
|
|
709
709
|
return { x: t.x, y: t.y, z: t.z, w: t.w };
|
|
710
710
|
}
|
|
711
|
-
function
|
|
711
|
+
function me(t, n = 0) {
|
|
712
712
|
return Pt(t) ? [
|
|
713
713
|
c.roundToX(t.x, n),
|
|
714
714
|
c.roundToX(t.y, n),
|
|
@@ -716,91 +716,92 @@ function Pe(t, n = 0) {
|
|
|
716
716
|
c.roundToX(t.w, n)
|
|
717
717
|
] : [c.roundToX(t.x, n), c.roundToX(t.y, n), c.roundToX(t.z, n)];
|
|
718
718
|
}
|
|
719
|
-
const
|
|
720
|
-
xyToArray:
|
|
721
|
-
xyzToArray:
|
|
722
|
-
xyzwToArray:
|
|
723
|
-
scaleV3:
|
|
719
|
+
const Ke = {
|
|
720
|
+
xyToArray: Ee,
|
|
721
|
+
xyzToArray: le,
|
|
722
|
+
xyzwToArray: Ae,
|
|
723
|
+
scaleV3: he,
|
|
724
724
|
radiansToDegrees: wt,
|
|
725
|
-
degreeToRadians:
|
|
726
|
-
radiansToQuaternion:
|
|
727
|
-
degreesToQuaternion:
|
|
728
|
-
toVector3:
|
|
729
|
-
fromVector3:
|
|
730
|
-
withRound:
|
|
731
|
-
isFiniteVector:
|
|
725
|
+
degreeToRadians: Oe,
|
|
726
|
+
radiansToQuaternion: De,
|
|
727
|
+
degreesToQuaternion: Re,
|
|
728
|
+
toVector3: Ne,
|
|
729
|
+
fromVector3: Te,
|
|
730
|
+
withRound: Le,
|
|
731
|
+
isFiniteVector: Se,
|
|
732
732
|
noZero: Ie,
|
|
733
|
-
scaleV4:
|
|
733
|
+
scaleV4: Ce,
|
|
734
734
|
toQuaternionVector: X,
|
|
735
|
-
toEulerRadians:
|
|
736
|
-
toEulerDegrees:
|
|
737
|
-
toArray:
|
|
738
|
-
fromQuaternion:
|
|
739
|
-
toArrayWithRound4:
|
|
735
|
+
toEulerRadians: de,
|
|
736
|
+
toEulerDegrees: Ue,
|
|
737
|
+
toArray: we,
|
|
738
|
+
fromQuaternion: Pe,
|
|
739
|
+
toArrayWithRound4: me
|
|
740
740
|
};
|
|
741
741
|
export {
|
|
742
|
-
|
|
742
|
+
He as AcceptMime,
|
|
743
|
+
ln as AttributeType,
|
|
743
744
|
K as ContextMenu,
|
|
744
745
|
H as CryptoUtils,
|
|
745
|
-
|
|
746
|
+
_e as DataUtils,
|
|
746
747
|
Q as Dialog,
|
|
747
748
|
ar as DialogContentAlign,
|
|
748
749
|
ge as DomNotFoundError,
|
|
749
|
-
|
|
750
|
-
|
|
750
|
+
Nn as EnableLevel,
|
|
751
|
+
Me as FileUtils,
|
|
751
752
|
fr as FirstLoadModelServiceEventType,
|
|
752
753
|
cr as FirstLoadModelServiceStatus,
|
|
753
754
|
lr as FirstLoadServiceEventType,
|
|
754
755
|
Er as FirstLoadServiceStatus,
|
|
755
756
|
cn as FocusMode,
|
|
756
|
-
|
|
757
|
+
An as HistoryServiceEventType,
|
|
757
758
|
or as IconPluginPosition,
|
|
758
|
-
|
|
759
|
+
Ge as LabelInfo,
|
|
759
760
|
j as LabelTheme,
|
|
760
761
|
Zr as LocalDataServiceEventType,
|
|
761
762
|
pr as LocalDataStatus,
|
|
762
763
|
vr as LocalDataType,
|
|
763
764
|
nn as Locale,
|
|
764
|
-
|
|
765
|
+
yn as MathUtils,
|
|
765
766
|
en as MeetingStatus,
|
|
766
767
|
$ as MenuLine,
|
|
767
768
|
V as MenuLineType,
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
769
|
+
Ve as Message,
|
|
770
|
+
Fe as NativeEventUtils,
|
|
771
|
+
We as NetworkUtils,
|
|
771
772
|
er as NotFoundError,
|
|
772
773
|
c as NumberUtils,
|
|
773
774
|
tn as OssUploadInstanceStatus,
|
|
774
775
|
rn as OssUploadServiceEventType,
|
|
775
776
|
sn as PageMode,
|
|
776
|
-
|
|
777
|
-
|
|
777
|
+
S as PageType,
|
|
778
|
+
ye as PageUtils,
|
|
778
779
|
un as PluginEventType,
|
|
779
780
|
ur as PluginType,
|
|
780
781
|
sr as RsModelServiceEventType,
|
|
781
782
|
ir as RsModelStatus,
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
783
|
+
Ln as RvAttachType,
|
|
784
|
+
Dn as RvBasicType,
|
|
785
|
+
hn as RvFileServiceEventType,
|
|
786
|
+
On as RvFileType,
|
|
787
|
+
Cn as RvMaterialType,
|
|
788
|
+
Rn as RvModelOrigin,
|
|
789
|
+
dn as RvPresetType,
|
|
790
|
+
Un as RvResourceServiceEventType,
|
|
791
|
+
Sn as RvResourceType,
|
|
792
|
+
ke as RvUtils,
|
|
792
793
|
fn as ScreenSize,
|
|
793
794
|
on as ShareMode,
|
|
794
|
-
|
|
795
|
-
|
|
795
|
+
be as StaticClassInstantiationError,
|
|
796
|
+
wn as TChangeType,
|
|
796
797
|
an as ThemeBackground,
|
|
797
798
|
J as ThemeColor,
|
|
798
799
|
En as ThemeShape,
|
|
799
|
-
|
|
800
|
+
Ye as TimeUtils,
|
|
800
801
|
In as TransparencyMode,
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
802
|
+
je as UrlUtils,
|
|
803
|
+
Ke as VectorUtils,
|
|
804
|
+
Tn as VersionPoint,
|
|
805
|
+
ze as sleep,
|
|
806
|
+
Xe as throttle
|
|
806
807
|
};
|