@lcap/nasl 3.13.2-beta.10 → 3.13.2-beta.11
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/out/generator/genBundleFiles.js +2 -2
- package/out/utils/vue.d.ts +1 -1
- package/out/utils/vue.d.ts.map +1 -1
- package/out/utils/vue.js +2 -6
- package/out/utils/vue.js.map +1 -1
- package/package.json +10 -11
|
@@ -574,14 +574,14 @@ async function genBundleFiles(app, frontend, config) {
|
|
|
574
574
|
// iframe 的宽高需要缩放回去,使其等于顶层宽高
|
|
575
575
|
iframe.style.width = baseWidth + 'px';
|
|
576
576
|
iframe.style.height = 100 / scale + 'vh';
|
|
577
|
+
// 消除底部白边,参考:stackoverflow.com/a/21025344/5710452
|
|
578
|
+
iframe.style.display = 'block';
|
|
577
579
|
let marginRight = '0px';
|
|
578
580
|
let marginBottom = '0px';
|
|
579
581
|
if(scale < 1){
|
|
580
582
|
marginRight = (scale - 1)/scale * 100 + '%';
|
|
581
583
|
// 由于 marginBottom 的百分比也是基于宽度的,因此需要乘以 windowHeight / windowWidth
|
|
582
584
|
marginBottom = (scale - 1)/scale * windowHeight / windowWidth * 100 + '%';
|
|
583
|
-
// 消除白边,暂时没有找到原因,临时处理 bugid: 2765692131244288
|
|
584
|
-
marginBottom = 'calc(' + marginBottom + ' - 10px)';
|
|
585
585
|
}
|
|
586
586
|
iframe.style.marginRight = marginRight;
|
|
587
587
|
iframe.style.marginBottom = marginBottom;
|
package/out/utils/vue.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { toRaw } from '@lcap/nasl-language-server-core';
|
|
2
2
|
//# sourceMappingURL=vue.d.ts.map
|
package/out/utils/vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue.d.ts","sourceRoot":"","sources":["../../src/utils/vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vue.d.ts","sourceRoot":"","sources":["../../src/utils/vue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iCAAiC,CAAC"}
|
package/out/utils/vue.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.toRaw = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
function toRaw(data) {
|
|
7
|
-
return (nasl_utils_1.isBrowser && vue_1.toRaw) ? (0, vue_1.toRaw)(data) : data;
|
|
8
|
-
}
|
|
9
|
-
exports.toRaw = toRaw;
|
|
4
|
+
var nasl_language_server_core_1 = require("@lcap/nasl-language-server-core");
|
|
5
|
+
Object.defineProperty(exports, "toRaw", { enumerable: true, get: function () { return nasl_language_server_core_1.toRaw; } });
|
|
10
6
|
//# sourceMappingURL=vue.js.map
|
package/out/utils/vue.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue.js","sourceRoot":"","sources":["../../src/utils/vue.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"vue.js","sourceRoot":"","sources":["../../src/utils/vue.ts"],"names":[],"mappings":";;;AAAA,6EAAwD;AAA/C,kHAAA,KAAK,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lcap/nasl",
|
|
3
3
|
"description": "NetEase Application Specific Language",
|
|
4
|
-
"version": "3.13.2-beta.
|
|
4
|
+
"version": "3.13.2-beta.11",
|
|
5
5
|
"author": "Forrest <rainforest92@126.com>",
|
|
6
6
|
"main": "./out",
|
|
7
7
|
"types": "./out/index.d.ts",
|
|
@@ -73,17 +73,16 @@
|
|
|
73
73
|
"undici": "6.21.0",
|
|
74
74
|
"uuid": "8.3.2",
|
|
75
75
|
"validator": "13.7.0",
|
|
76
|
-
"vue": "3.4.33",
|
|
77
76
|
"vue-template-compiler": "2.6.14",
|
|
78
|
-
"@lcap/nasl-
|
|
79
|
-
"@lcap/nasl-
|
|
80
|
-
"@lcap/nasl-language-server-core": "3.13.2-beta.
|
|
81
|
-
"@lcap/nasl-
|
|
82
|
-
"@lcap/nasl-
|
|
83
|
-
"@lcap/nasl-translator": "3.13.2-beta.
|
|
84
|
-
"@lcap/nasl-
|
|
85
|
-
"@lcap/nasl-
|
|
86
|
-
"@lcap/nasl-utils": "3.13.2-beta.
|
|
77
|
+
"@lcap/nasl-concepts": "3.13.2-beta.11",
|
|
78
|
+
"@lcap/nasl-breakpoint": "3.13.2-beta.11",
|
|
79
|
+
"@lcap/nasl-language-server-core": "3.13.2-beta.11",
|
|
80
|
+
"@lcap/nasl-log": "3.13.2-beta.11",
|
|
81
|
+
"@lcap/nasl-sentry": "3.13.2-beta.11",
|
|
82
|
+
"@lcap/nasl-translator": "3.13.2-beta.11",
|
|
83
|
+
"@lcap/nasl-types": "3.13.2-beta.11",
|
|
84
|
+
"@lcap/nasl-unified-frontend-generator": "3.13.2-beta.11",
|
|
85
|
+
"@lcap/nasl-utils": "3.13.2-beta.11"
|
|
87
86
|
},
|
|
88
87
|
"devDependencies": {
|
|
89
88
|
"@types/babel__core": "7.20.1",
|