@lvce-editor/explorer-view 2.50.0 → 2.52.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/explorerViewWorkerMain.js +13 -10
- package/package.json +1 -1
|
@@ -889,7 +889,7 @@ const Copy$2 = 3;
|
|
|
889
889
|
const Rename$2 = 4;
|
|
890
890
|
|
|
891
891
|
const rpcs = Object.create(null);
|
|
892
|
-
const set$
|
|
892
|
+
const set$f = (id, rpc) => {
|
|
893
893
|
rpcs[id] = rpc;
|
|
894
894
|
};
|
|
895
895
|
const get$1 = id => {
|
|
@@ -913,15 +913,18 @@ const create$2 = rpcId => {
|
|
|
913
913
|
return rpc.invokeAndTransfer(method, ...params);
|
|
914
914
|
},
|
|
915
915
|
set(rpc) {
|
|
916
|
-
set$
|
|
916
|
+
set$f(rpcId, rpc);
|
|
917
|
+
},
|
|
918
|
+
async dispose() {
|
|
919
|
+
const rpc = get$1(rpcId);
|
|
920
|
+
await rpc.dispose();
|
|
917
921
|
}
|
|
918
922
|
};
|
|
919
923
|
};
|
|
920
924
|
const RendererWorker$1 = 1;
|
|
921
925
|
const {
|
|
922
926
|
invoke: invoke$3,
|
|
923
|
-
set: set$3
|
|
924
|
-
} = create$2(RendererWorker$1);
|
|
927
|
+
set: set$3} = create$2(RendererWorker$1);
|
|
925
928
|
const RendererWorker = {
|
|
926
929
|
__proto__: null,
|
|
927
930
|
invoke: invoke$3,
|
|
@@ -4395,6 +4398,12 @@ const WelcomeMessage = 'WelcomeMessage';
|
|
|
4395
4398
|
const mergeClassNames = (...classNames) => {
|
|
4396
4399
|
return classNames.filter(Boolean).join(' ');
|
|
4397
4400
|
};
|
|
4401
|
+
const px = value => {
|
|
4402
|
+
return `${value}px`;
|
|
4403
|
+
};
|
|
4404
|
+
const position = (x, y) => {
|
|
4405
|
+
return `${x}px ${y}px`;
|
|
4406
|
+
};
|
|
4398
4407
|
const Text = 12;
|
|
4399
4408
|
const text = data => {
|
|
4400
4409
|
return {
|
|
@@ -4403,12 +4412,6 @@ const text = data => {
|
|
|
4403
4412
|
childCount: 0
|
|
4404
4413
|
};
|
|
4405
4414
|
};
|
|
4406
|
-
const px = value => {
|
|
4407
|
-
return `${value}px`;
|
|
4408
|
-
};
|
|
4409
|
-
const position = (x, y) => {
|
|
4410
|
-
return `${x}px ${y}px`;
|
|
4411
|
-
};
|
|
4412
4415
|
|
|
4413
4416
|
const Button$1 = 1;
|
|
4414
4417
|
const Div = 4;
|