@ibiz-template/vue3-components 0.7.16 → 0.7.17-alpha.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/index-PC3JcJ3h.js +4 -0
- package/dist/index-d8pCzmlk.js +1 -0
- package/dist/index-tSpp-ef8.js +1 -0
- package/dist/index.min.css +1 -1
- package/dist/index.system.min.js +1 -1
- package/dist/{xlsx-util-AIEyudtA.js → xlsx-util-GyD7bt4p.js} +1 -1
- package/es/locale/en/index.d.ts +489 -390
- package/es/locale/en/index.mjs +13 -564
- package/es/locale/zh-CN/index.d.ts +489 -390
- package/es/locale/zh-CN/index.mjs +13 -562
- package/es/panel-component/user-action/index.d.ts +1 -1
- package/es/panel-component/user-action/user-action.d.ts +1 -1
- package/es/panel-component/user-action/user-action.mjs +5 -3
- package/es/util/app-util/app-util.d.ts +2 -2
- package/es/util/app-util/app-util.mjs +8 -7
- package/lib/locale/en/index.cjs +13 -564
- package/lib/locale/zh-CN/index.cjs +13 -562
- package/lib/panel-component/user-action/user-action.cjs +5 -3
- package/lib/util/app-util/app-util.cjs +8 -7
- package/package.json +5 -5
- package/dist/index-8VqjTY2N.js +0 -4
- package/dist/index-B_FGiHpY.js +0 -1
- package/dist/index-Q8y2iWnX.js +0 -1
|
@@ -49,9 +49,10 @@ class AppUtil {
|
|
|
49
49
|
window.history.replaceState({}, "", href);
|
|
50
50
|
}
|
|
51
51
|
await this.router.push(
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
)
|
|
52
|
+
// `/login?ru=${encodeURIComponent(
|
|
53
|
+
// window.location.hash.replace('#/', '/'),
|
|
54
|
+
// )}`,
|
|
55
|
+
"/login"
|
|
55
56
|
);
|
|
56
57
|
ibiz.util.showAppLoading();
|
|
57
58
|
window.location.reload();
|
|
@@ -69,11 +70,11 @@ class AppUtil {
|
|
|
69
70
|
* @return {*} {Promise<boolean>}
|
|
70
71
|
*/
|
|
71
72
|
async changePwd(oldPwd, newPwd, opts) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
if (this.validatePwd(oldPwd, newPwd, opts)) {
|
|
74
|
+
const result = await ibiz.auth.changePwd(oldPwd, newPwd);
|
|
75
|
+
return result;
|
|
75
76
|
}
|
|
76
|
-
return
|
|
77
|
+
return { ok: false, result: {} };
|
|
77
78
|
}
|
|
78
79
|
/**
|
|
79
80
|
* 切换组织
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibiz-template/vue3-components",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.17-alpha.0",
|
|
4
4
|
"description": "使用 rollup 编译 vue 组件或者 jsx",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"@floating-ui/dom": "^1.5.3",
|
|
31
31
|
"@ibiz-template-plugin/ai-chat": "^0.0.5",
|
|
32
32
|
"@ibiz-template-plugin/gantt": "0.1.4",
|
|
33
|
-
"@ibiz-template/core": "0.7.
|
|
33
|
+
"@ibiz-template/core": "0.7.17-alpha.0",
|
|
34
34
|
"@ibiz-template/devtool": "0.0.1-dev.6",
|
|
35
|
-
"@ibiz-template/model-helper": "0.7.
|
|
36
|
-
"@ibiz-template/runtime": "0.7.
|
|
35
|
+
"@ibiz-template/model-helper": "0.7.17-alpha.0",
|
|
36
|
+
"@ibiz-template/runtime": "0.7.17-alpha.0",
|
|
37
37
|
"@ibiz-template/theme": "^0.7.0",
|
|
38
|
-
"@ibiz-template/vue3-util": "0.7.
|
|
38
|
+
"@ibiz-template/vue3-util": "0.7.17-alpha.0",
|
|
39
39
|
"@ibiz-template/web-theme": "^1.1.17",
|
|
40
40
|
"@ibiz/model-core": "^0.1.27",
|
|
41
41
|
"@imengyu/vue3-context-menu": "^1.3.5",
|