@lvce-editor/about-view 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/aboutWorkerMain.js +22 -1
- package/package.json +1 -1
package/dist/aboutWorkerMain.js
CHANGED
@@ -1425,6 +1425,26 @@ const doRender = (oldState, newState) => {
|
|
1425
1425
|
return commands;
|
1426
1426
|
};
|
1427
1427
|
|
1428
|
+
const renderEventListers = () => {
|
1429
|
+
return [{
|
1430
|
+
name: HandleClickOk,
|
1431
|
+
params: ['handleClickOk']
|
1432
|
+
}, {
|
1433
|
+
name: HandleClickClose,
|
1434
|
+
params: ['handleClickClose']
|
1435
|
+
}, {
|
1436
|
+
name: HandleClickCopy,
|
1437
|
+
params: ['handleClickCopy']
|
1438
|
+
}, {
|
1439
|
+
name: HandleFocusIn,
|
1440
|
+
params: ['handleFocusIn']
|
1441
|
+
}, {
|
1442
|
+
name: HandleContextMenu,
|
1443
|
+
params: [],
|
1444
|
+
preventDefault: true
|
1445
|
+
}];
|
1446
|
+
};
|
1447
|
+
|
1428
1448
|
const commandMap = {
|
1429
1449
|
'About.focusNext': focusNext,
|
1430
1450
|
'About.focusPrevious': focusPrevious,
|
@@ -1432,7 +1452,8 @@ const commandMap = {
|
|
1432
1452
|
'About.getDetailStringWeb': getDetailStringWeb,
|
1433
1453
|
'About.getVirtualDom': getAboutVirtualDom,
|
1434
1454
|
'About.loadContent': loadContent,
|
1435
|
-
'About.render': doRender
|
1455
|
+
'About.render': doRender,
|
1456
|
+
'About.renderEventListeners': renderEventListers
|
1436
1457
|
};
|
1437
1458
|
|
1438
1459
|
const listen = async () => {
|