@vtj/designer 0.9.0-alpha.34 → 0.9.0-alpha.36
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/index.mjs +6 -3
- package/package.json +6 -6
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
@@ -15,10 +15,10 @@ import Zs from "mockjs";
|
|
15
15
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
16
16
|
* @name @vtj/designer
|
17
17
|
* @author CHC chenhuachun1549@dingtalk.com
|
18
|
-
* @version 0.9.0-alpha.
|
18
|
+
* @version 0.9.0-alpha.36
|
19
19
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
20
20
|
*/
|
21
|
-
const eo = "0.9.0-alpha.
|
21
|
+
const eo = "0.9.0-alpha.36", un = {
|
22
22
|
width: 390,
|
23
23
|
height: 844
|
24
24
|
}, cn = {
|
@@ -524,7 +524,10 @@ function xo() {
|
|
524
524
|
}
|
525
525
|
function Kt() {
|
526
526
|
const i = ce(), { access: t, remote: e, auth: l = "#/auth" } = i.adapter || {}, a = () => {
|
527
|
-
|
527
|
+
if (e) {
|
528
|
+
const _ = encodeURIComponent(location.href), { protocol: c, host: h, pathname: b } = location, k = `${c}//${h}${b}#/auth?redirect=${_}`;
|
529
|
+
location.href = `${e}/auth.html?r=${encodeURIComponent(k)}`;
|
530
|
+
}
|
528
531
|
}, o = async () => {
|
529
532
|
const _ = t?.getData()?.token;
|
530
533
|
if (_) {
|
package/package.json
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vtj/designer",
|
3
3
|
"private": false,
|
4
|
-
"version": "0.9.0-alpha.
|
4
|
+
"version": "0.9.0-alpha.36",
|
5
5
|
"type": "module",
|
6
6
|
"dependencies": {
|
7
7
|
"html2canvas": "~1.4.1",
|
8
8
|
"mockjs": "~1.1.0",
|
9
9
|
"monaco-editor": "~0.51.0",
|
10
|
-
"@vtj/core": "~0.9.0-alpha.
|
11
|
-
"@vtj/icons": "~0.9.0-alpha.
|
12
|
-
"@vtj/ui": "~0.9.0-alpha.
|
13
|
-
"@vtj/
|
14
|
-
"@vtj/
|
10
|
+
"@vtj/core": "~0.9.0-alpha.36",
|
11
|
+
"@vtj/icons": "~0.9.0-alpha.36",
|
12
|
+
"@vtj/ui": "~0.9.0-alpha.36",
|
13
|
+
"@vtj/renderer": "~0.9.0-alpha.36",
|
14
|
+
"@vtj/utils": "~0.9.0-alpha.36"
|
15
15
|
},
|
16
16
|
"devDependencies": {
|
17
17
|
"@types/mockjs": "~1.0.10",
|
package/types/version.d.ts
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
3
3
|
* @name @vtj/designer
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
5
|
-
* @version 0.9.0-alpha.
|
5
|
+
* @version 0.9.0-alpha.35
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
7
7
|
*/
|
8
|
-
export declare const version = "0.9.0-alpha.
|
8
|
+
export declare const version = "0.9.0-alpha.35";
|