@vtj/designer 0.9.0-alpha.36 → 0.9.0-alpha.37

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 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.36
18
+ * @version 0.9.0-alpha.37
19
19
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
20
20
  */
21
- const eo = "0.9.0-alpha.36", un = {
21
+ const eo = "0.9.0-alpha.37", un = {
22
22
  width: 390,
23
23
  height: 844
24
24
  }, cn = {
@@ -525,7 +525,7 @@ function xo() {
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=${_}`;
528
+ const _ = encodeURIComponent(location.href), { protocol: c, host: h, pathname: b } = location, k = `${c}//${h}${b}#/auth?redirect=${encodeURIComponent(_)}`;
529
529
  location.href = `${e}/auth.html?r=${encodeURIComponent(k)}`;
530
530
  }
531
531
  }, o = async () => {
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.36",
4
+ "version": "0.9.0-alpha.37",
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.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"
10
+ "@vtj/core": "~0.9.0-alpha.37",
11
+ "@vtj/icons": "~0.9.0-alpha.37",
12
+ "@vtj/renderer": "~0.9.0-alpha.37",
13
+ "@vtj/ui": "~0.9.0-alpha.37",
14
+ "@vtj/utils": "~0.9.0-alpha.37"
15
15
  },
16
16
  "devDependencies": {
17
17
  "@types/mockjs": "~1.0.10",
@@ -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.35
5
+ * @version 0.9.0-alpha.36
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.9.0-alpha.35";
8
+ export declare const version = "0.9.0-alpha.36";