@lvce-editor/renderer-process 10.3.0 → 10.4.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/rendererProcessMain.js +19 -6
- package/package.json +1 -1
|
@@ -2252,6 +2252,17 @@ const ViewletEditorCompletion = {
|
|
|
2252
2252
|
showLoading
|
|
2253
2253
|
};
|
|
2254
2254
|
|
|
2255
|
+
const handleClose = () => {
|
|
2256
|
+
return ['closeDetails'];
|
|
2257
|
+
};
|
|
2258
|
+
const returnValue$a = true;
|
|
2259
|
+
|
|
2260
|
+
const ViewletEditorCompletionDetailsEvents = {
|
|
2261
|
+
__proto__: null,
|
|
2262
|
+
handleClose,
|
|
2263
|
+
returnValue: returnValue$a
|
|
2264
|
+
};
|
|
2265
|
+
|
|
2255
2266
|
const create$K = () => {
|
|
2256
2267
|
const $Viewlet = document.createElement('div');
|
|
2257
2268
|
$Viewlet.className = 'Viewlet EditorCompletionDetails';
|
|
@@ -2272,6 +2283,12 @@ const setDom$a = (state, dom) => {
|
|
|
2272
2283
|
$Viewlet.replaceChildren(...$Root.firstChild.childNodes);
|
|
2273
2284
|
append$1($Viewlet);
|
|
2274
2285
|
};
|
|
2286
|
+
const appendWidget = state => {
|
|
2287
|
+
const {
|
|
2288
|
+
$Viewlet
|
|
2289
|
+
} = state;
|
|
2290
|
+
append$1($Viewlet);
|
|
2291
|
+
};
|
|
2275
2292
|
const dispose$j = state => {
|
|
2276
2293
|
remove$2(state.$Viewlet);
|
|
2277
2294
|
};
|
|
@@ -2284,6 +2301,8 @@ const setBounds$5 = (state, x, y, width, height) => {
|
|
|
2284
2301
|
|
|
2285
2302
|
const ViewletEditorCompletionDetails = {
|
|
2286
2303
|
__proto__: null,
|
|
2304
|
+
Events: ViewletEditorCompletionDetailsEvents,
|
|
2305
|
+
appendWidget,
|
|
2287
2306
|
attachEvents: attachEvents$b,
|
|
2288
2307
|
create: create$K,
|
|
2289
2308
|
dispose: dispose$j,
|
|
@@ -7660,9 +7679,6 @@ const handleDrop = event => {
|
|
|
7660
7679
|
files
|
|
7661
7680
|
} = dataTransfer;
|
|
7662
7681
|
const uid = fromEvent(event);
|
|
7663
|
-
console.log({
|
|
7664
|
-
files
|
|
7665
|
-
});
|
|
7666
7682
|
if (files.length > 0) {
|
|
7667
7683
|
return handleDropFiles(uid, clientX, clientY, files);
|
|
7668
7684
|
}
|
|
@@ -11300,9 +11316,6 @@ const setIframe$2 = (state, src, sandbox = []) => {
|
|
|
11300
11316
|
}
|
|
11301
11317
|
$Iframe.className = 'E2eTestsIframe';
|
|
11302
11318
|
$Iframe.src = src;
|
|
11303
|
-
console.log({
|
|
11304
|
-
src
|
|
11305
|
-
});
|
|
11306
11319
|
$Iframe.addEventListener('load', handleLoad$2, {
|
|
11307
11320
|
once: true
|
|
11308
11321
|
});
|