@das-fed/ui 6.4.0-dev.112 → 6.4.0-dev.114
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/package.json +5 -5
- package/packages/business-components/change-pwd/index.js +13 -10
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/style.css +1 -1
- package/packages/business-components/device-panel/index.js +2 -2
- package/packages/business-components/device-panel/index.js.gz +0 -0
- 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-search-form/hooks/useService.d.ts +1 -1
- package/packages/business-components/video-dialog/index.js +193 -186
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +1 -0
- package/packages/business-components/video-dialog/style.css +1 -1
- package/packages/business-components/video-dialog/style.css.gz +0 -0
- package/packages/components/scrollbar/index.js +1 -1
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/select/index.js +58 -57
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/type.d.ts +2 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +2 -0
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.114",
|
|
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": "6.4.0-dev.
|
|
29
|
+
"@das-fed/cli": "6.4.0-dev.114",
|
|
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": "6.4.0-dev.
|
|
60
|
-
"@das-fed/utils": "6.4.0-dev.
|
|
61
|
-
"@das-fed/web": "6.4.0-dev.
|
|
59
|
+
"@das-fed/ui": "6.4.0-dev.114",
|
|
60
|
+
"@das-fed/utils": "6.4.0-dev.114",
|
|
61
|
+
"@das-fed/web": "6.4.0-dev.114",
|
|
62
62
|
"@wangeditor-next/editor": "5.6.31",
|
|
63
63
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
64
64
|
"@wangeditor-next/plugin-upload-attachment": "1.1.0",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/business-components/change-pwd/style.css';
|
|
2
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
3
|
import { withInstall as B } from "@das-fed/utils/with-install/index";
|
|
4
|
-
import { t as s, i18n as
|
|
4
|
+
import { t as s, i18n as x, setI18nRule as O } from "@das-fed/web/packages/i18n/index";
|
|
5
5
|
import { DasDialog as Z } from "@das-fed/ui/packages/components/dialog/index";
|
|
6
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
|
-
import { DasButton as
|
|
8
|
+
import { DasButton as U } from "@das-fed/ui/packages/components/button/index";
|
|
9
9
|
import { DasMessage as K } from "@das-fed/ui/packages/components/message/index";
|
|
10
10
|
import { enterpriseright as M, superadminPortal as Y, systemConfiguration as j } from "@das-fed/utils/api-services/modules";
|
|
11
11
|
import { encryption as k } from "@das-fed/utils/atob";
|
|
12
|
-
const
|
|
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
13
|
const w = R(!1), m = W(), d = R({
|
|
14
14
|
prePwd: "",
|
|
15
15
|
pwd: "",
|
|
@@ -92,11 +92,11 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
92
92
|
};
|
|
93
93
|
if (n.mainApp === "enterpriseadmin" && n.forceUpdate) {
|
|
94
94
|
let i = {};
|
|
95
|
-
c.value && (i = { headers: { Authorization: c.value } }), await
|
|
95
|
+
c.value && (i = { headers: { Authorization: c.value } }), await S({}, i).run();
|
|
96
96
|
const [C] = await A({}, i).run(a);
|
|
97
97
|
if (C) return;
|
|
98
98
|
} else if (a.prePwd = k(d.value.prePwd), n.mainApp === "enterpriseadmin") {
|
|
99
|
-
await
|
|
99
|
+
await S().run();
|
|
100
100
|
const [i] = await A().run(a);
|
|
101
101
|
if (i) return;
|
|
102
102
|
} else {
|
|
@@ -132,14 +132,14 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
132
132
|
}, {
|
|
133
133
|
footer: g(() => [
|
|
134
134
|
z("div", null, [
|
|
135
|
-
h(r(
|
|
135
|
+
h(r(U), {
|
|
136
136
|
size: "middle",
|
|
137
137
|
style: { "margin-right": "12px" },
|
|
138
138
|
onClick: r(P)
|
|
139
139
|
}, {
|
|
140
140
|
default: g(() => [
|
|
141
141
|
V(
|
|
142
|
-
D(r(
|
|
142
|
+
D(r(x)("取消").value),
|
|
143
143
|
1
|
|
144
144
|
/* TEXT */
|
|
145
145
|
)
|
|
@@ -147,14 +147,14 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
147
147
|
_: 1
|
|
148
148
|
/* STABLE */
|
|
149
149
|
}, 8, ["onClick"]),
|
|
150
|
-
h(r(
|
|
150
|
+
h(r(U), {
|
|
151
151
|
btnType: "primary",
|
|
152
152
|
size: "middle",
|
|
153
153
|
onClick: r(c)
|
|
154
154
|
}, {
|
|
155
155
|
default: g(() => [
|
|
156
156
|
V(
|
|
157
|
-
D(r(
|
|
157
|
+
D(r(x)("确定").value),
|
|
158
158
|
1
|
|
159
159
|
/* TEXT */
|
|
160
160
|
)
|
|
@@ -184,6 +184,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
184
184
|
modelValue: r(l).prePwd,
|
|
185
185
|
"onUpdate:modelValue": p[0] || (p[0] = (u) => r(l).prePwd = u),
|
|
186
186
|
modelModifiers: { trim: !0 },
|
|
187
|
+
maxlength: 20,
|
|
187
188
|
required: ""
|
|
188
189
|
}, null, 8, ["label", "modelValue"])),
|
|
189
190
|
h(r(q), {
|
|
@@ -196,6 +197,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
196
197
|
modelValue: r(l).pwd,
|
|
197
198
|
"onUpdate:modelValue": p[1] || (p[1] = (u) => r(l).pwd = u),
|
|
198
199
|
modelModifiers: { trim: !0 },
|
|
200
|
+
maxlength: 20,
|
|
199
201
|
required: ""
|
|
200
202
|
}, null, 8, ["label", "modelValue"]),
|
|
201
203
|
h(r(q), {
|
|
@@ -208,6 +210,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
208
210
|
modelValue: r(l).confirmPwd,
|
|
209
211
|
"onUpdate:modelValue": p[2] || (p[2] = (u) => r(l).confirmPwd = u),
|
|
210
212
|
modelModifiers: { trim: !0 },
|
|
213
|
+
maxlength: 20,
|
|
211
214
|
required: ""
|
|
212
215
|
}, null, 8, ["label", "modelValue"])
|
|
213
216
|
]),
|
|
@@ -225,7 +228,7 @@ const x = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
225
228
|
for (const [m, d] of f)
|
|
226
229
|
w[m] = d;
|
|
227
230
|
return w;
|
|
228
|
-
}, oe = /* @__PURE__ */ te(re, [["__scopeId", "data-v-
|
|
231
|
+
}, oe = /* @__PURE__ */ te(re, [["__scopeId", "data-v-901c1af6"]]), ae = {
|
|
229
232
|
新密码不能为空: { "zh-CN": "新密码不能为空", en: "New password cannot be empty", _appCode: "framework" },
|
|
230
233
|
确认密码不能为空: { "zh-CN": "确认密码不能为空", en: "Confirm password cannot be empty", _appCode: "framework" },
|
|
231
234
|
与新密码不一致: { "zh-CN": "与新密码不一致", en: "Doesn't match the new password", _appCode: "framework" },
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.dialog-content[data-v-
|
|
1
|
+
.dialog-content[data-v-901c1af6]{width:100%;height:100%;display:flex;justify-content:center;align-items:center}
|
|
@@ -47188,7 +47188,7 @@ const xj = {
|
|
|
47188
47188
|
)
|
|
47189
47189
|
]));
|
|
47190
47190
|
}
|
|
47191
|
-
}), td = /* @__PURE__ */ Xe(Pj, [["__scopeId", "data-v-
|
|
47191
|
+
}), td = /* @__PURE__ */ Xe(Pj, [["__scopeId", "data-v-6abedbcc"]]), Rj = {
|
|
47192
47192
|
class: "log-list-container",
|
|
47193
47193
|
id: "alarm-log-box-content"
|
|
47194
47194
|
}, Oj = { class: "log-list-content" }, Vj = { class: "log-list-item-title" }, zj = { class: "title" }, $j = {
|
|
@@ -56502,7 +56502,7 @@ const mte = (r) => r === null || typeof r > "u" || r === "", _D = (r, t = "YYYY/
|
|
|
56502
56502
|
)
|
|
56503
56503
|
]));
|
|
56504
56504
|
}
|
|
56505
|
-
}), od = /* @__PURE__ */ Xe(hue, [["__scopeId", "data-v-
|
|
56505
|
+
}), od = /* @__PURE__ */ Xe(hue, [["__scopeId", "data-v-1dd679e8"]]), pue = {
|
|
56506
56506
|
class: "alarm-log-list-container",
|
|
56507
56507
|
id: "alarm-log-box-content"
|
|
56508
56508
|
}, gue = { class: "alarm-log-list-content" }, mue = { class: "log-list-item-title" }, yue = { class: "title" }, _ue = {
|
|
Binary file
|