@das-fed/ui 7.0.5-test.22 → 7.0.5-test.23
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/esm-map.json +0 -1
- package/package.json +5 -5
- package/packages/business-components/change-pwd/index.js +120 -162
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/index.d.ts +1 -5
- package/packages/business-components/currency-page/index.js +41 -50
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/currency-page/src/index.vue.d.ts +1 -5
- package/packages/business-components/currency-page/src/type.d.ts +13 -22
- package/packages/business-components/currency-page/style.css +1 -1
- package/packages/business-components/device-panel/i18n/index.d.ts +0 -16
- package/packages/business-components/device-panel/index.js +12112 -12724
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/apis.d.ts +0 -2
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/process-form/api-service/formPreView.d.ts +0 -22
- package/packages/business-components/process-form/apis.d.ts +0 -3
- package/packages/business-components/process-form/i18n/index.d.ts +0 -5
- package/packages/business-components/process-form/index.js +1144 -1331
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useSelector.d.ts +1 -14
- package/packages/business-components/process-form/src/hooks/useSpaceTree.d.ts +1 -1
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/video-dialog/index.d.ts +5 -5
- package/packages/business-components/video-dialog/src/index.vue.d.ts +1 -1
- package/packages/components/menu-aside/index.js +1 -1
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/rich-editor/index.d.ts +1 -2
- package/packages/components/rich-editor/index.js +0 -1
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/select-input/index.js +109 -149
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/src/hooks/use-select-input.d.ts +0 -2
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/table/index.js +8 -7
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/business-components/change-pwd/src/get-public-key.d.ts +0 -10
- package/packages/business-components/change-pwd/src/password-encryption.d.ts +0 -8
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmScreenshot/components/currentAlarmScreenshot.vue.d.ts +0 -6
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmScreenshot/components/currentList.vue.d.ts +0 -8
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmScreenshot/components/hisList.vue.d.ts +0 -8
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmScreenshot/components/historyAlarmScreenshot.vue.d.ts +0 -6
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmScreenshot/index.vue.d.ts +0 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-alarm-screenshot.d.ts +0 -6
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmScreenshot/components/currentAlarmScreenshot.vue.d.ts +0 -6
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmScreenshot/components/currentList.vue.d.ts +0 -8
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmScreenshot/components/hisList.vue.d.ts +0 -8
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmScreenshot/components/historyAlarmScreenshot.vue.d.ts +0 -6
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmScreenshot/index.vue.d.ts +0 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-alarm-screenshot.d.ts +0 -6
package/esm-map.json
CHANGED
|
@@ -431,7 +431,6 @@
|
|
|
431
431
|
"getDasHlsPlayerRef": "/packages/components/hls-player/index",
|
|
432
432
|
"DasIconTucao2": "/packages/icons/tucao-2/index",
|
|
433
433
|
"DasIconTucao": "/packages/icons/tucao/index",
|
|
434
|
-
"DasRichEditorBoot": "/packages/components/rich-editor/index",
|
|
435
434
|
"getPayAppid": "/packages/business-components/payment/index",
|
|
436
435
|
"DasUpdateConfirmDialog": "/packages/business-components/update-confirm-dialog/index",
|
|
437
436
|
"DasUpdateConfirmDialogRef": "/packages/business-components/update-confirm-dialog/index"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "7.0.5-test.
|
|
3
|
+
"version": "7.0.5-test.23",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@antv/x6-plugin-snapline": "^2.1.7",
|
|
27
27
|
"@antv/x6-plugin-transform": "^2.1.8",
|
|
28
28
|
"@antv/x6-vue-shape": "^2.1.2",
|
|
29
|
-
"@das-fed/cli": "7.0.5-test.
|
|
29
|
+
"@das-fed/cli": "7.0.5-test.23",
|
|
30
30
|
"@element-plus/icons-vue": "^2.3.1",
|
|
31
31
|
"@types/lodash": "^4.14.194",
|
|
32
32
|
"@types/lodash-es": "^4.17.9",
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vue-tsc": "^2.0.29"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@das-fed/ui": "7.0.5-test.
|
|
60
|
-
"@das-fed/utils": "7.0.5-test.
|
|
61
|
-
"@das-fed/web": "7.0.5-test.
|
|
59
|
+
"@das-fed/ui": "7.0.5-test.23",
|
|
60
|
+
"@das-fed/utils": "7.0.5-test.23",
|
|
61
|
+
"@das-fed/web": "7.0.5-test.23",
|
|
62
62
|
"@types/markdown-it": "^14.1.2",
|
|
63
63
|
"@wangeditor-next/editor": "5.6.31",
|
|
64
64
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -1,57 +1,20 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/change-pwd/style.css';
|
|
2
|
-
import { ref as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { t as
|
|
5
|
-
import { DasDialog as
|
|
6
|
-
import { DasFormRef as
|
|
2
|
+
import { ref as R, reactive as F, defineComponent as T, createBlock as v, openBlock as y, unref as r, isRef as $, withCtx as g, createElementVNode as z, createVNode as h, createCommentVNode as I, createTextVNode as V, toDisplayString as D } from "vue";
|
|
3
|
+
import { withInstall as B } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { t as s, i18n as x, setI18nRule as O } from "@das-fed/web/packages/i18n/index";
|
|
5
|
+
import { DasDialog as Z } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
|
+
import { DasFormRef as W, DasForm as G } from "@das-fed/ui/packages/components/form/index";
|
|
7
7
|
import { DasFormItem as q } from "@das-fed/ui/packages/components/form-item/index";
|
|
8
8
|
import { DasButton as U } from "@das-fed/ui/packages/components/button/index";
|
|
9
|
-
import { DasMessage as
|
|
10
|
-
import { enterpriseright as
|
|
11
|
-
import { encryption as
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
for (let a = 0; a < n.length; a++)
|
|
15
|
-
p[a] = n.charCodeAt(a);
|
|
16
|
-
return window.crypto.subtle.importKey("spki", p.buffer, { name: "RSA-OAEP", hash: "SHA-256" }, !1, ["encrypt"]);
|
|
17
|
-
}, oe = (r) => {
|
|
18
|
-
let n = "";
|
|
19
|
-
const p = new Uint8Array(r);
|
|
20
|
-
for (let a = 0; a < p.byteLength; a++)
|
|
21
|
-
n += String.fromCharCode(p[a]);
|
|
22
|
-
return window.btoa(n);
|
|
23
|
-
}, se = async (r) => {
|
|
24
|
-
try {
|
|
25
|
-
const n = await r();
|
|
26
|
-
if (!n.trim())
|
|
27
|
-
return async (a) => v(a);
|
|
28
|
-
const p = await ae(n);
|
|
29
|
-
return async (a) => {
|
|
30
|
-
try {
|
|
31
|
-
const l = await window.crypto.subtle.encrypt(
|
|
32
|
-
{ name: "RSA-OAEP" },
|
|
33
|
-
p,
|
|
34
|
-
new TextEncoder().encode(a)
|
|
35
|
-
);
|
|
36
|
-
return ne + oe(l);
|
|
37
|
-
} catch {
|
|
38
|
-
return v(a);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
} catch {
|
|
42
|
-
return async (n) => v(n);
|
|
43
|
-
}
|
|
44
|
-
}, ie = z.get("/visitor/rsa/public-key", (r) => (r.ignoreErrorMessage = !0, r));
|
|
45
|
-
ee.get("/rsa/public-key", (r) => (r.ignoreErrorMessage = !0, r));
|
|
46
|
-
const pe = async () => {
|
|
47
|
-
const [r, n] = await ie().run();
|
|
48
|
-
return r || !n ? "" : typeof n.publicKey == "string" ? n.publicKey : "";
|
|
49
|
-
}, de = (r, n) => {
|
|
50
|
-
const p = b(!1), a = H(), l = b({
|
|
9
|
+
import { DasMessage as K } from "@das-fed/ui/packages/components/message/index";
|
|
10
|
+
import { enterpriseright as M, superadminPortal as Y, systemConfiguration as j } from "@das-fed/utils/api-services/modules";
|
|
11
|
+
import { encryption as k } from "@das-fed/utils/atob";
|
|
12
|
+
const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A = M.put("/user/change-pwd", (n) => (n.csrf = !0, n)), H = Y.put("/change-pwd"), J = j.get("/visitor/login/with-default"), Q = (n, f) => {
|
|
13
|
+
const w = R(!1), m = W(), d = R({
|
|
51
14
|
prePwd: "",
|
|
52
15
|
pwd: "",
|
|
53
16
|
confirmPwd: ""
|
|
54
|
-
}),
|
|
17
|
+
}), t = F({
|
|
55
18
|
pwdStrongLimit: !1,
|
|
56
19
|
// 是否开启密码强度校验
|
|
57
20
|
pwdRequireLength: !1,
|
|
@@ -66,122 +29,117 @@ const pe = async () => {
|
|
|
66
29
|
// 密码要求包含大写字母
|
|
67
30
|
pwdRequireSpecialCharacter: !1
|
|
68
31
|
// 密码要求特殊字符
|
|
69
|
-
}),
|
|
70
|
-
const [
|
|
71
|
-
|
|
72
|
-
},
|
|
32
|
+
}), L = async () => {
|
|
33
|
+
const [o, e] = await J().run();
|
|
34
|
+
o || (t.pwdStrongLimit = e.pwdStrongLimit, t.pwdRequireLength = e.pwdRequireLength, t.pwdMinLength = e.pwdMinLength, t.pwdRequireNum = e.pwdRequireNum, t.pwdRequireLowercaseLetters = e.pwdRequireLowercaseLetters, t.pwdRequireUppercaseLetters = e.pwdRequireUppercaseLetters, t.pwdRequireSpecialCharacter = e.pwdRequireSpecialCharacter);
|
|
35
|
+
}, l = (o) => {
|
|
73
36
|
let e = "";
|
|
74
|
-
return
|
|
75
|
-
},
|
|
76
|
-
var
|
|
77
|
-
if (!e) return
|
|
78
|
-
if (
|
|
79
|
-
const
|
|
80
|
-
if ((
|
|
37
|
+
return t.pwdStrongLimit ? e = E(o) : e = u(o), e;
|
|
38
|
+
}, _ = (o, e, a) => {
|
|
39
|
+
var i;
|
|
40
|
+
if (!e) return a(new Error(s("新密码不能为空")));
|
|
41
|
+
if (n.mainApp === "enterpriseadmin") {
|
|
42
|
+
const C = l(e);
|
|
43
|
+
if ((i = m.value) == null || i.validateField("confirmPwd", () => null), C) return a(new Error(C));
|
|
81
44
|
}
|
|
82
|
-
|
|
83
|
-
}, N = (
|
|
84
|
-
if (!e) return
|
|
85
|
-
if (
|
|
86
|
-
if (
|
|
87
|
-
const
|
|
88
|
-
if (
|
|
45
|
+
a();
|
|
46
|
+
}, N = (o, e, a) => {
|
|
47
|
+
if (!e) return a(new Error(s("确认密码不能为空")));
|
|
48
|
+
if (d.value.pwd !== e) return a(new Error(s("与新密码不一致")));
|
|
49
|
+
if (n.mainApp === "enterpriseadmin") {
|
|
50
|
+
const i = l(e);
|
|
51
|
+
if (i) return a(new Error(i));
|
|
89
52
|
}
|
|
90
|
-
|
|
91
|
-
},
|
|
53
|
+
a();
|
|
54
|
+
}, P = R({
|
|
92
55
|
prePwd: [
|
|
93
56
|
{
|
|
94
|
-
required: !
|
|
95
|
-
message:
|
|
57
|
+
required: !n.forceUpdate,
|
|
58
|
+
message: s("旧密码不能为空"),
|
|
96
59
|
trigger: "blur"
|
|
97
60
|
}
|
|
98
61
|
],
|
|
99
|
-
pwd: [{ validator:
|
|
62
|
+
pwd: [{ validator: _, trigger: "blur" }],
|
|
100
63
|
confirmPwd: [{ validator: N, trigger: "blur" }]
|
|
101
|
-
}),
|
|
102
|
-
|
|
103
|
-
},
|
|
64
|
+
}), c = R(""), b = (o) => {
|
|
65
|
+
n.mainApp === "enterpriseadmin" && L(), w.value = !0, c.value = o || "";
|
|
66
|
+
}, p = (o = !1) => {
|
|
104
67
|
var e;
|
|
105
|
-
|
|
106
|
-
},
|
|
107
|
-
const e =
|
|
108
|
-
return /^(?=.*[a-zA-Z])(?=.*[\d])(?=.*[\w])[a-zA-Z\d\W_]{8,20}$/.test(
|
|
109
|
-
},
|
|
110
|
-
let e = "",
|
|
111
|
-
e +=
|
|
112
|
-
const
|
|
113
|
-
return new RegExp(
|
|
68
|
+
d.value.prePwd = "", d.value.pwd = "", d.value.confirmPwd = "", (e = m.value) == null || e.resetField(), w.value = !1, o || f("onCancel");
|
|
69
|
+
}, u = (o) => {
|
|
70
|
+
const e = s("das-ui-business-components-change-pwd-passwordFormatRule");
|
|
71
|
+
return /^(?=.*[a-zA-Z])(?=.*[\d])(?=.*[\w])[a-zA-Z\d\W_]{8,20}$/.test(o) ? "" : e;
|
|
72
|
+
}, E = (o) => {
|
|
73
|
+
let e = "", a = !1;
|
|
74
|
+
e += s("das-ui-business-components-change-pwd-limit-number", t.pwdMinLength);
|
|
75
|
+
const i = `\\S{${t.pwdMinLength},}`;
|
|
76
|
+
return new RegExp(i).test(o) || (a = !0), (t.pwdRequireNum || t.pwdRequireLowercaseLetters || t.pwdRequireUppercaseLetters || t.pwdRequireSpecialCharacter) && (e += s("必须包含")), t.pwdRequireNum && (e += s("数字,"), /\d+/.test(o) || (a = !0)), t.pwdRequireLowercaseLetters && (e += s("小写字母,"), /[a-z]+/.test(o) || (a = !0)), t.pwdRequireUppercaseLetters && (e += s("大写字母,"), /[A-Z]+/.test(o) || (a = !0)), t.pwdRequireSpecialCharacter && (e += s("符号,"), /[`~!@#$%^&*()_\-+=<>?:"{}|,.\/;'\\[\]·~]+/.test(o) || (a = !0)), a ? e.slice(0, -1) : "";
|
|
114
77
|
};
|
|
115
78
|
return {
|
|
116
|
-
visible:
|
|
117
|
-
formData:
|
|
118
|
-
form:
|
|
119
|
-
rules:
|
|
120
|
-
openDialog:
|
|
121
|
-
onCancel:
|
|
79
|
+
visible: w,
|
|
80
|
+
formData: d,
|
|
81
|
+
form: m,
|
|
82
|
+
rules: P,
|
|
83
|
+
openDialog: b,
|
|
84
|
+
onCancel: p,
|
|
122
85
|
onConfirm: async () => {
|
|
123
|
-
var
|
|
124
|
-
(
|
|
125
|
-
const i = await se(pe), [m, h, T] = await Promise.all([
|
|
126
|
-
i(l.value.pwd),
|
|
127
|
-
i(l.value.confirmPwd),
|
|
128
|
-
i(l.value.prePwd)
|
|
129
|
-
]);
|
|
86
|
+
var o;
|
|
87
|
+
(o = m.value) == null || o.validate(async (e) => {
|
|
130
88
|
if (e) {
|
|
131
|
-
const
|
|
132
|
-
pwd:
|
|
133
|
-
confirmPwd:
|
|
89
|
+
const a = {
|
|
90
|
+
pwd: k(d.value.pwd),
|
|
91
|
+
confirmPwd: k(d.value.confirmPwd)
|
|
134
92
|
};
|
|
135
|
-
if (
|
|
136
|
-
let
|
|
137
|
-
|
|
138
|
-
const [
|
|
139
|
-
if (
|
|
140
|
-
} else if (
|
|
141
|
-
await
|
|
142
|
-
const [
|
|
143
|
-
if (
|
|
93
|
+
if (n.mainApp === "enterpriseadmin" && n.forceUpdate) {
|
|
94
|
+
let i = {};
|
|
95
|
+
c.value && (i = { headers: { Authorization: c.value } }), await S({}, i).run();
|
|
96
|
+
const [C] = await A({}, i).run(a);
|
|
97
|
+
if (C) return;
|
|
98
|
+
} else if (a.prePwd = k(d.value.prePwd), n.mainApp === "enterpriseadmin") {
|
|
99
|
+
await S().run();
|
|
100
|
+
const [i] = await A().run(a);
|
|
101
|
+
if (i) return;
|
|
144
102
|
} else {
|
|
145
|
-
const [
|
|
146
|
-
if (
|
|
103
|
+
const [i] = await H().run(a);
|
|
104
|
+
if (i) return;
|
|
147
105
|
}
|
|
148
|
-
|
|
106
|
+
p(!0), K.success(s("修改密码成功!")), f("onConfirm");
|
|
149
107
|
}
|
|
150
108
|
});
|
|
151
109
|
}
|
|
152
110
|
};
|
|
153
|
-
},
|
|
111
|
+
}, X = { class: "dialog-content" }, ee = {
|
|
154
112
|
name: "ChangePwd"
|
|
155
|
-
},
|
|
156
|
-
...
|
|
113
|
+
}, re = /* @__PURE__ */ T({
|
|
114
|
+
...ee,
|
|
157
115
|
props: {
|
|
158
116
|
mainApp: { default: "enterpriseadmin" },
|
|
159
117
|
forceUpdate: { type: Boolean }
|
|
160
118
|
},
|
|
161
119
|
emits: ["onCancel", "onConfirm"],
|
|
162
|
-
setup(
|
|
163
|
-
const
|
|
164
|
-
return
|
|
120
|
+
setup(n, { expose: f, emit: w }) {
|
|
121
|
+
const m = n, d = w, { visible: t, form: L, formData: l, rules: _, openDialog: N, onCancel: P, onConfirm: c } = Q(m, d);
|
|
122
|
+
return f({
|
|
165
123
|
openDialog: N
|
|
166
|
-
}), (
|
|
167
|
-
title:
|
|
124
|
+
}), (b, p) => (y(), v(r(Z), {
|
|
125
|
+
title: r(s)("修改密码"),
|
|
168
126
|
width: "460px",
|
|
169
127
|
height: "360px",
|
|
170
128
|
bodyStyle: { padding: 0 },
|
|
171
|
-
modelValue: t
|
|
172
|
-
"onUpdate:modelValue":
|
|
173
|
-
"before-close":
|
|
129
|
+
modelValue: r(t),
|
|
130
|
+
"onUpdate:modelValue": p[3] || (p[3] = (u) => $(t) ? t.value = u : null),
|
|
131
|
+
"before-close": r(P)
|
|
174
132
|
}, {
|
|
175
|
-
footer:
|
|
176
|
-
|
|
177
|
-
|
|
133
|
+
footer: g(() => [
|
|
134
|
+
z("div", null, [
|
|
135
|
+
h(r(U), {
|
|
178
136
|
size: "middle",
|
|
179
137
|
style: { "margin-right": "12px" },
|
|
180
|
-
onClick:
|
|
138
|
+
onClick: r(P)
|
|
181
139
|
}, {
|
|
182
|
-
default:
|
|
183
|
-
|
|
184
|
-
|
|
140
|
+
default: g(() => [
|
|
141
|
+
V(
|
|
142
|
+
D(r(x)("取消").value),
|
|
185
143
|
1
|
|
186
144
|
/* TEXT */
|
|
187
145
|
)
|
|
@@ -189,14 +147,14 @@ const pe = async () => {
|
|
|
189
147
|
_: 1
|
|
190
148
|
/* STABLE */
|
|
191
149
|
}, 8, ["onClick"]),
|
|
192
|
-
|
|
150
|
+
h(r(U), {
|
|
193
151
|
btnType: "primary",
|
|
194
152
|
size: "middle",
|
|
195
|
-
onClick:
|
|
153
|
+
onClick: r(c)
|
|
196
154
|
}, {
|
|
197
|
-
default:
|
|
198
|
-
|
|
199
|
-
|
|
155
|
+
default: g(() => [
|
|
156
|
+
V(
|
|
157
|
+
D(r(x)("确定").value),
|
|
200
158
|
1
|
|
201
159
|
/* TEXT */
|
|
202
160
|
)
|
|
@@ -206,51 +164,51 @@ const pe = async () => {
|
|
|
206
164
|
}, 8, ["onClick"])
|
|
207
165
|
])
|
|
208
166
|
]),
|
|
209
|
-
default:
|
|
210
|
-
|
|
211
|
-
|
|
167
|
+
default: g(() => [
|
|
168
|
+
z("div", X, [
|
|
169
|
+
h(r(G), {
|
|
212
170
|
ref_key: "form",
|
|
213
|
-
ref:
|
|
214
|
-
rules:
|
|
171
|
+
ref: L,
|
|
172
|
+
rules: r(_),
|
|
215
173
|
style: { "overflow-x": "hidden !important" }
|
|
216
174
|
}, {
|
|
217
|
-
default:
|
|
218
|
-
|
|
175
|
+
default: g(() => [
|
|
176
|
+
b.forceUpdate ? I("v-if", !0) : (y(), v(r(q), {
|
|
219
177
|
key: 0,
|
|
220
178
|
type: "password",
|
|
221
179
|
isTitle: !1,
|
|
222
180
|
autocomplete: "new-password",
|
|
223
181
|
"show-password": "",
|
|
224
182
|
prop: "prePwd",
|
|
225
|
-
label:
|
|
226
|
-
modelValue:
|
|
227
|
-
"onUpdate:modelValue":
|
|
183
|
+
label: r(s)("旧密码"),
|
|
184
|
+
modelValue: r(l).prePwd,
|
|
185
|
+
"onUpdate:modelValue": p[0] || (p[0] = (u) => r(l).prePwd = u),
|
|
228
186
|
modelModifiers: { trim: !0 },
|
|
229
187
|
maxlength: 20,
|
|
230
188
|
required: ""
|
|
231
189
|
}, null, 8, ["label", "modelValue"])),
|
|
232
|
-
|
|
190
|
+
h(r(q), {
|
|
233
191
|
type: "password",
|
|
234
192
|
isTitle: !1,
|
|
235
193
|
autocomplete: "new-password",
|
|
236
194
|
"show-password": "",
|
|
237
195
|
prop: "pwd",
|
|
238
|
-
label:
|
|
239
|
-
modelValue:
|
|
240
|
-
"onUpdate:modelValue":
|
|
196
|
+
label: r(s)("新密码"),
|
|
197
|
+
modelValue: r(l).pwd,
|
|
198
|
+
"onUpdate:modelValue": p[1] || (p[1] = (u) => r(l).pwd = u),
|
|
241
199
|
modelModifiers: { trim: !0 },
|
|
242
200
|
maxlength: 20,
|
|
243
201
|
required: ""
|
|
244
202
|
}, null, 8, ["label", "modelValue"]),
|
|
245
|
-
|
|
203
|
+
h(r(q), {
|
|
246
204
|
type: "password",
|
|
247
205
|
isTitle: !1,
|
|
248
206
|
autocomplete: "new-password",
|
|
249
207
|
"show-password": "",
|
|
250
208
|
prop: "confirmPwd",
|
|
251
|
-
label:
|
|
252
|
-
modelValue:
|
|
253
|
-
"onUpdate:modelValue":
|
|
209
|
+
label: r(s)("确认新密码"),
|
|
210
|
+
modelValue: r(l).confirmPwd,
|
|
211
|
+
"onUpdate:modelValue": p[2] || (p[2] = (u) => r(l).confirmPwd = u),
|
|
254
212
|
modelModifiers: { trim: !0 },
|
|
255
213
|
maxlength: 20,
|
|
256
214
|
required: ""
|
|
@@ -265,12 +223,12 @@ const pe = async () => {
|
|
|
265
223
|
/* STABLE */
|
|
266
224
|
}, 8, ["title", "modelValue", "before-close"]));
|
|
267
225
|
}
|
|
268
|
-
}),
|
|
269
|
-
const
|
|
270
|
-
for (const [
|
|
271
|
-
|
|
272
|
-
return
|
|
273
|
-
},
|
|
226
|
+
}), te = (n, f) => {
|
|
227
|
+
const w = n.__vccOpts || n;
|
|
228
|
+
for (const [m, d] of f)
|
|
229
|
+
w[m] = d;
|
|
230
|
+
return w;
|
|
231
|
+
}, oe = /* @__PURE__ */ te(re, [["__scopeId", "data-v-901c1af6"]]), ae = {
|
|
274
232
|
新密码不能为空: { "zh-CN": "新密码不能为空", en: "New password cannot be empty", _appCode: "framework" },
|
|
275
233
|
确认密码不能为空: { "zh-CN": "确认密码不能为空", en: "Confirm password cannot be empty", _appCode: "framework" },
|
|
276
234
|
与新密码不一致: { "zh-CN": "与新密码不一致", en: "Doesn't match the new password", _appCode: "framework" },
|
|
@@ -302,9 +260,9 @@ const pe = async () => {
|
|
|
302
260
|
_appCode: "framework"
|
|
303
261
|
}
|
|
304
262
|
};
|
|
305
|
-
|
|
306
|
-
const
|
|
263
|
+
O(ae);
|
|
264
|
+
const Ce = B(oe), ge = () => R(null);
|
|
307
265
|
export {
|
|
308
|
-
|
|
309
|
-
|
|
266
|
+
Ce as DasChangePwd,
|
|
267
|
+
ge as DasChangePwdRef
|
|
310
268
|
};
|
|
Binary file
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
declare const DasCurrencyPage: import("@das-fed/utils").SFCWithInstall<import("vue").DefineComponent<import("./src/type.js").Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
2
|
-
btnClick: (mouseEvent: MouseEvent) => any;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<import("./src/type.js").Props> & Readonly<{
|
|
4
|
-
onBtnClick?: ((mouseEvent: MouseEvent) => any) | undefined;
|
|
5
|
-
}>, {
|
|
1
|
+
declare const DasCurrencyPage: import("@das-fed/utils").SFCWithInstall<import("vue").DefineComponent<import("./src/type.js").Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("./src/type.js").Props> & Readonly<{}>, {
|
|
6
2
|
showStatus: boolean;
|
|
7
3
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>>;
|
|
8
4
|
export { DasCurrencyPage };
|