@netless/appliance-plugin 1.0.0-beta.4 → 1.0.0-beta.5
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/appliance-plugin.js +1 -1
- package/dist/appliance-plugin.mjs +1 -1
- package/dist/{index-CQlnAm5S.mjs → index-BWnd02v8.mjs} +1 -1
- package/dist/{index-0-ebfVjb.mjs → index-BcB6iiXb.mjs} +2 -2
- package/dist/index-DidhBo_r.js +1 -0
- package/dist/{index-h_PU7sdS.js → index-TV2ydoa-.js} +1 -1
- package/package.json +1 -1
- package/dist/index-DMJjpzvq.js +0 -1
package/dist/appliance-plugin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DidhBo_r.js");exports.ActiveContainerType=e.ActiveContainerType;exports.ApplianceMultiPlugin=e.ApplianceMultiPlugin;exports.ApplianceNames=e.ApplianceNames;exports.ApplianceSigleWrapper=e.ApplianceSigleWrapper;exports.ApplianceSinglePlugin=e.ApplianceSinglePlugin;exports.DisplayStateEnum=e.DisplayStateEnum;exports.ECanvasContextType=e.ECanvasContextType;exports.ECanvasShowType=e.ECanvasShowType;exports.EDataType=e.EDataType;exports.EPostMessageType=e.EPostMessageType;exports.EScaleType=e.EScaleType;exports.EStrokeType=e.EStrokeType;exports.EToolsKey=e.EToolsKey;exports.ElayerType=e.ElayerType;exports.EmitEventType=e.EmitEventType;exports.EventMessageType=e.EventMessageType;exports.EvevtWorkState=e.EvevtWorkState;exports.InternalMsgEmitterType=e.InternalMsgEmitterType;exports.ShapeType=e.ShapeType;exports.fullWorkerUrl=e.fullWorker;exports.subWorkerUrl=e.subWorker;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as s, F as p, I as t, H as l, G as n, J as r, N as y, O as E, j as i, h as T, E as o, l as S, f as g, R as v, z as c, Q as u, k, L as m, K as A, C, D as M } from "./index-
|
|
1
|
+
import { M as s, F as p, I as t, H as l, G as n, J as r, N as y, O as E, j as i, h as T, E as o, l as S, f as g, R as v, z as c, Q as u, k, L as m, K as A, C, D as M } from "./index-BcB6iiXb.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as ActiveContainerType,
|
|
4
4
|
p as ApplianceMultiPlugin,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var zt = Object.defineProperty;
|
|
2
2
|
var Ft = (b, n, e) => n in b ? zt(b, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : b[n] = e;
|
|
3
3
|
var m = (b, n, e) => (Ft(b, typeof n != "symbol" ? n + "" : n, e), e);
|
|
4
|
-
import { i as H, c as z, a as tt, P as O, g as F, s as Ut, b as pt, d as Tt, r as Xt, p as rt, e as nt, E as U, f as P, h as w, j as C, k as E, l as X, t as j, V as S, m as ht, S as $, n as ct, o as kt, q as et, u as vt, v as It, w as dt, x as $t, y as Yt, z as A, A as gt, B as Vt } from "./index-
|
|
4
|
+
import { i as H, c as z, a as tt, P as O, g as F, s as Ut, b as pt, d as Tt, r as Xt, p as rt, e as nt, E as U, f as P, h as w, j as C, k as E, l as X, t as j, V as S, m as ht, S as $, n as ct, o as kt, q as et, u as vt, v as It, w as dt, x as $t, y as Yt, z as A, A as gt, B as Vt } from "./index-BcB6iiXb.mjs";
|
|
5
5
|
import { Group as Z, Path as it, Rect as wt, Polyline as st, Ellipse as Pt, Sprite as Ht, Label as qt, Scene as Nt } from "spritejs";
|
|
6
6
|
import Gt from "lineclip";
|
|
7
7
|
import "lz-string";
|
|
@@ -3422,7 +3422,7 @@ class pM extends MM {
|
|
|
3422
3422
|
async on() {
|
|
3423
3423
|
if (!this.control.hasOffscreenCanvas()) {
|
|
3424
3424
|
console.info("no OffscreenCanvas");
|
|
3425
|
-
const { MainThreadManagerImpl: e } = await import("./index-
|
|
3425
|
+
const { MainThreadManagerImpl: e } = await import("./index-BWnd02v8.mjs");
|
|
3426
3426
|
this.mainThread = new e(this);
|
|
3427
3427
|
return;
|
|
3428
3428
|
}
|
|
@@ -4512,7 +4512,7 @@ const et = class et {
|
|
|
4512
4512
|
this.cursor = new tM(r), this.textEditorManager = new eM(r), this.worker = new pM(r), this.hotkeyManager = new JM(r);
|
|
4513
4513
|
}
|
|
4514
4514
|
hasOffscreenCanvas() {
|
|
4515
|
-
return
|
|
4515
|
+
return typeof OffscreenCanvas == "function";
|
|
4516
4516
|
}
|
|
4517
4517
|
bindPlugin(t) {
|
|
4518
4518
|
var e, i;
|