@das-fed/upf-ui 6.4.0-dev.309 → 6.4.0-dev.310
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/front-end/i18n/front-end-page/dasui_en-US.js +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +2 -2
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +2 -2
- package/package.json +7 -7
- package/packages/business-components/ai-panel/{index-BdLFU3HT.js → index-C1XseEkL.js} +1 -1
- package/packages/business-components/ai-panel/index-C1XseEkL.js.gz +0 -0
- package/packages/business-components/ai-panel/{index-Cc1_Wpca.js → index-_XzaXcle.js} +1136 -1154
- package/packages/business-components/ai-panel/index-_XzaXcle.js.gz +0 -0
- package/packages/business-components/ai-panel/index.js +1 -1
- package/packages/business-components/ai-panel/src/dasAI/hooks/audio.d.ts +1 -1
- package/packages/business-components/app-container/index.js +56 -56
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/index.d.ts +30 -30
- package/packages/business-components/area-phone-select/index.js +87 -87
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +4 -4
- package/packages/business-components/change-enterprises/index.js +20 -20
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +15 -15
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +14 -14
- package/packages/business-components/currency-page/index.js +39 -39
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +46 -46
- 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/export-button/index.js +92 -92
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +171 -171
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +42 -42
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.d.ts +4 -4
- package/packages/business-components/model-table-dialog/index.js +233 -233
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/index.js +44 -44
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +939 -939
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +14 -14
- package/packages/business-components/process-log/index.js +331 -331
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/hooks/useSearchOptions.d.ts +2 -2
- package/packages/business-components/process-table/index.d.ts +14 -14
- package/packages/business-components/upload-file/index.js +43 -43
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +340 -340
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/video-dialog/index.js +17 -17
- package/packages/business-components/video-dialog/index.js.gz +0 -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/alert/index.d.ts +4 -4
- package/packages/components/alert/index.js +5 -5
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/audio-video/index.js +141 -141
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/autocomplete/index.d.ts +6 -6
- package/packages/components/autocomplete/index.js +162 -162
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +37 -37
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.js +223 -223
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +164 -164
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.d.ts +8 -8
- package/packages/components/cascader/index.js +89 -89
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +12 -12
- package/packages/components/checkbox/index.js +180 -180
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +12 -12
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collaspe/index.d.ts +4 -4
- package/packages/components/collaspe/index.js +22 -22
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/custom-search-item/index.d.ts +4 -4
- package/packages/components/custom-search-item/index.js +36 -36
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/date-picker/index.js +658 -658
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/index.js +1 -1
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/dimple-layout/index.js +31 -73
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dropdown/index.js +33 -33
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.d.ts +4 -4
- package/packages/components/edit-table/index.js +190 -190
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/empty/index.js +29 -29
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/error-overlay-model/index.js +31 -31
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/form/index.d.ts +14 -14
- package/packages/components/form/index.js +23 -23
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form-item/index.js +771 -771
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/image-upload/index.js +90 -90
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +418 -418
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/infinite-scroll/index.d.ts +1 -3
- package/packages/components/infinite-scroll/index.js +509 -509
- package/packages/components/infinite-scroll/index.js.gz +0 -0
- package/packages/components/infinite-scroll/src/index.vue.d.ts +1 -3
- package/packages/components/infinite-scroll/src/type.d.ts +78 -78
- package/packages/components/infinite-scroll/style.css +1 -1
- package/packages/components/infinite-scroll/style.css.gz +0 -0
- package/packages/components/input/index.js +544 -544
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +2 -2
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +82 -82
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.js +103 -103
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/index.d.ts +4 -4
- package/packages/components/loading/index.js +1 -1
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/menu-aside/index.js +600 -600
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.js +17 -17
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/pagination/index.js +91 -91
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/index.d.ts +4 -4
- package/packages/components/popover/index.js +33 -33
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popup-mask/index.js +13 -13
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/progress/index.js +93 -93
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +10 -10
- package/packages/components/radio/index.js +175 -175
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/rich-editor/index.js +234 -234
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/scrollbar/index.js +2 -2
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.js +68 -68
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +736 -736
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/index.js +212 -212
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.js +77 -77
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-list/index.js +430 -430
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +140 -140
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/style.css +1 -1
- package/packages/components/special-range-picker-month/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +169 -169
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +1 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/index.js +37 -37
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.d.ts +8 -8
- package/packages/components/split-panel/index.js +27 -27
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/switch/style.css +1 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/index.d.ts +103 -103
- package/packages/components/table/index.js +1869 -1869
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +9 -9
- package/packages/components/tabs/index.js +101 -101
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/text-tooltip/src/type.d.ts +5 -5
- package/packages/components/time-line/index.js +35 -35
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.d.ts +6 -6
- package/packages/components/tooltip/index.js +62 -62
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/index.js +426 -426
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.js +233 -233
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +14 -14
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +12 -12
- package/packages/components/tree-table/index.d.ts +2 -2
- package/packages/components/tree-table/index.js +181 -181
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-v2/index.js +1308 -1308
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +145 -155
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/upload/index.js +98 -98
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.js +62 -62
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +140 -140
- package/release-meta.json +4 -4
- package/packages/business-components/ai-panel/index-BdLFU3HT.js.gz +0 -0
- package/packages/business-components/ai-panel/index-Cc1_Wpca.js.gz +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as $, ref as
|
|
1
|
+
import { defineComponent as $, ref as s, computed as c, onMounted as N, openBlock as d, createBlock as A, unref as p, mergeProps as W, withCtx as _, renderSlot as M, createElementVNode as y, normalizeClass as B, toDisplayString as R, createVNode as C, createElementBlock as h, createCommentVNode as z, withDirectives as U, Fragment as L, renderList as x, createTextVNode as j, nextTick as q, onBeforeUnmount as G, normalizeStyle as H } from "vue";
|
|
2
2
|
import { withInstall as O } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
-
import { t as
|
|
4
|
-
import { DasPopoverRef as
|
|
5
|
-
import { DasScrollbar as
|
|
6
|
-
import { DasSearch as
|
|
3
|
+
import { t as J, setI18nRule as K } from "@das-fed/upf-web/packages/i18n/index";
|
|
4
|
+
import { DasPopoverRef as Q, DasPopover as X } from "@das-fed/upf-ui/packages/components/popover/index";
|
|
5
|
+
import { DasScrollbar as Y } from "@das-fed/upf-ui/packages/components/scrollbar/index";
|
|
6
|
+
import { DasSearch as Z } from "@das-fed/upf-ui/packages/components/search/index";
|
|
7
7
|
import { DasIconFold as ee } from "@das-fed/upf-ui/packages/icons/fold/index";
|
|
8
|
-
import { DasEmpty as
|
|
9
|
-
import { vDasTooltip as
|
|
8
|
+
import { DasEmpty as oe } from "@das-fed/upf-ui/packages/components/empty/index";
|
|
9
|
+
import { vDasTooltip as te } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
10
10
|
import { vDasLoading as ae } from "@das-fed/upf-ui/packages/components/loading/index";
|
|
11
|
-
import { createService as
|
|
12
|
-
import { DasInput as
|
|
11
|
+
import { createService as se } from "@das-fed/upf-utils/api-services";
|
|
12
|
+
import { DasInput as le } from "@das-fed/upf-ui/packages/components/input/index";
|
|
13
13
|
import { SizeWatcher as ne } from "@das-fed/upf-utils/size-watcher"
|
|
14
14
|
import '@das-fed/upf-ui/packages/business-components/area-phone-select/style.css';
|
|
15
15
|
;
|
|
16
|
-
const
|
|
16
|
+
const re = (t) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(t), E = (t) => typeof t == "string" && re(t) ? t : t + "px", ie = se("/api/tool/v2"), de = ie.get("/dictionary/phone-codes"), ue = { class: "label" }, pe = { class: "das-ui-area-phone-popover-content" }, ce = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "search-box"
|
|
19
19
|
}, ve = { class: "list" }, me = ["onClick"], fe = { class: "item-label" }, he = { class: "item-code" }, be = {
|
|
@@ -31,8 +31,8 @@ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
31
31
|
filter: { type: Boolean, default: !0 }
|
|
32
32
|
},
|
|
33
33
|
emits: ["update:modelValue", "update:visible", "change"],
|
|
34
|
-
setup(
|
|
35
|
-
const
|
|
34
|
+
setup(t, { expose: b, emit: r }) {
|
|
35
|
+
const a = t, v = r, V = Q(), m = s(""), g = s(J("area-phone-placeholder")), P = c(() => a.width ? E(a.width) : "240px"), D = s({
|
|
36
36
|
modifiers: [
|
|
37
37
|
{
|
|
38
38
|
name: "offset",
|
|
@@ -41,63 +41,63 @@ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
|
-
}), f =
|
|
45
|
-
get: () =>
|
|
46
|
-
set: (
|
|
47
|
-
v("update:visible",
|
|
44
|
+
}), f = c({
|
|
45
|
+
get: () => a.visible,
|
|
46
|
+
set: (o) => {
|
|
47
|
+
v("update:visible", o);
|
|
48
48
|
}
|
|
49
|
-
}), u =
|
|
50
|
-
get: () =>
|
|
49
|
+
}), u = c({
|
|
50
|
+
get: () => a.modelValue ?? {
|
|
51
51
|
name: "中国",
|
|
52
52
|
code: "CN",
|
|
53
53
|
phoneCode: "+86"
|
|
54
54
|
},
|
|
55
|
-
set: (
|
|
56
|
-
v("update:modelValue",
|
|
55
|
+
set: (o) => {
|
|
56
|
+
v("update:modelValue", o);
|
|
57
57
|
}
|
|
58
|
-
}),
|
|
59
|
-
u.value =
|
|
60
|
-
},
|
|
58
|
+
}), k = c(() => u.value[a.label]), S = (o) => {
|
|
59
|
+
u.value = o, f.value = !1, v("change", o);
|
|
60
|
+
}, I = c(() => a.filter ? e.value.filter((o) => o.name.includes(m.value)) : e.value), e = s([]), l = s(!1);
|
|
61
61
|
return N(async () => {
|
|
62
|
-
|
|
63
|
-
const [
|
|
64
|
-
|
|
65
|
-
}), b({ popoverRef: V }), (
|
|
62
|
+
l.value = !0;
|
|
63
|
+
const [o, i] = await de().run();
|
|
64
|
+
l.value = !1, !o && (e.value = i || []);
|
|
65
|
+
}), b({ popoverRef: V }), (o, i) => (d(), A(p(X), W({
|
|
66
66
|
ref_key: "popoverRef",
|
|
67
67
|
ref: V,
|
|
68
|
-
"show-arrow":
|
|
69
|
-
"popper-options":
|
|
68
|
+
"show-arrow": o.showArrow,
|
|
69
|
+
"popper-options": D.value,
|
|
70
70
|
trigger: "click",
|
|
71
71
|
width: P.value,
|
|
72
72
|
popperClass: "das-ui-area-phone-popover",
|
|
73
73
|
visible: f.value,
|
|
74
|
-
"onUpdate:visible":
|
|
75
|
-
disabled:
|
|
76
|
-
},
|
|
77
|
-
onBeforeLeave:
|
|
74
|
+
"onUpdate:visible": i[1] || (i[1] = (n) => f.value = n),
|
|
75
|
+
disabled: o.isView || o.disabled
|
|
76
|
+
}, o.$attrs, {
|
|
77
|
+
onBeforeLeave: i[2] || (i[2] = (n) => m.value = "")
|
|
78
78
|
}), {
|
|
79
|
-
reference:
|
|
80
|
-
M(
|
|
79
|
+
reference: _(() => [
|
|
80
|
+
M(o.$slots, "reference", {}, () => [
|
|
81
81
|
y(
|
|
82
82
|
"div",
|
|
83
83
|
{
|
|
84
|
-
class: B(["das-ui-area-phone-popover-reference",
|
|
84
|
+
class: B(["das-ui-area-phone-popover-reference", o.disabled ? "is-disabled" : ""])
|
|
85
85
|
},
|
|
86
86
|
[
|
|
87
87
|
y(
|
|
88
88
|
"div",
|
|
89
89
|
ue,
|
|
90
|
-
R(
|
|
90
|
+
R(k.value),
|
|
91
91
|
1
|
|
92
92
|
/* TEXT */
|
|
93
93
|
),
|
|
94
94
|
y(
|
|
95
95
|
"div",
|
|
96
96
|
{
|
|
97
|
-
class: B({ "icon-box": !0, show: f.value, hide:
|
|
97
|
+
class: B({ "icon-box": !0, show: f.value, hide: o.isView || o.disabled })
|
|
98
98
|
},
|
|
99
99
|
[
|
|
100
|
-
C(
|
|
100
|
+
C(p(ee), { size: "medium" })
|
|
101
101
|
],
|
|
102
102
|
2
|
|
103
103
|
/* CLASS */
|
|
@@ -108,43 +108,43 @@ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
108
108
|
)
|
|
109
109
|
], !0)
|
|
110
110
|
]),
|
|
111
|
-
default:
|
|
112
|
-
y("div",
|
|
113
|
-
|
|
114
|
-
C(
|
|
111
|
+
default: _(() => [
|
|
112
|
+
y("div", pe, [
|
|
113
|
+
o.filter ? (d(), h("div", ce, [
|
|
114
|
+
C(p(Z), {
|
|
115
115
|
isIconLeft: "",
|
|
116
116
|
size: "custom",
|
|
117
117
|
placeholder: g.value,
|
|
118
118
|
border: "",
|
|
119
119
|
width: "100%",
|
|
120
120
|
modelValue: m.value,
|
|
121
|
-
"onUpdate:modelValue":
|
|
121
|
+
"onUpdate:modelValue": i[0] || (i[0] = (n) => m.value = n)
|
|
122
122
|
}, null, 8, ["placeholder", "modelValue"])
|
|
123
123
|
])) : z("v-if", !0),
|
|
124
|
-
C(
|
|
125
|
-
default:
|
|
124
|
+
C(p(Y), null, {
|
|
125
|
+
default: _(() => [
|
|
126
126
|
U((d(), h("div", ve, [
|
|
127
|
-
|
|
127
|
+
l.value ? z("v-if", !0) : (d(), h(
|
|
128
128
|
L,
|
|
129
129
|
{ key: 0 },
|
|
130
130
|
[
|
|
131
131
|
(d(!0), h(
|
|
132
132
|
L,
|
|
133
133
|
null,
|
|
134
|
-
|
|
134
|
+
x(I.value, (n) => (d(), h("div", {
|
|
135
135
|
class: B(["item", {
|
|
136
136
|
selected: u.value && u.value.name + u.value.phoneCode == n.name + n.phoneCode
|
|
137
137
|
}]),
|
|
138
138
|
onClick: (Ce) => S(n)
|
|
139
139
|
}, [
|
|
140
140
|
U((d(), h("div", fe, [
|
|
141
|
-
|
|
141
|
+
j(
|
|
142
142
|
R(n.name ?? ""),
|
|
143
143
|
1
|
|
144
144
|
/* TEXT */
|
|
145
145
|
)
|
|
146
146
|
])), [
|
|
147
|
-
[
|
|
147
|
+
[p(te)]
|
|
148
148
|
]),
|
|
149
149
|
y(
|
|
150
150
|
"div",
|
|
@@ -157,13 +157,13 @@ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
157
157
|
256
|
|
158
158
|
/* UNKEYED_FRAGMENT */
|
|
159
159
|
)),
|
|
160
|
-
|
|
160
|
+
I.value.length ? z("v-if", !0) : (d(), A(p(oe), { key: 0 }))
|
|
161
161
|
],
|
|
162
162
|
64
|
|
163
163
|
/* STABLE_FRAGMENT */
|
|
164
164
|
))
|
|
165
165
|
])), [
|
|
166
|
-
[
|
|
166
|
+
[p(ae), l.value]
|
|
167
167
|
])
|
|
168
168
|
]),
|
|
169
169
|
_: 1
|
|
@@ -175,11 +175,11 @@ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
175
175
|
/* FORWARDED */
|
|
176
176
|
}, 16, ["show-arrow", "popper-options", "width", "visible", "disabled"]));
|
|
177
177
|
}
|
|
178
|
-
}), T = (
|
|
179
|
-
const
|
|
180
|
-
for (const [
|
|
181
|
-
|
|
182
|
-
return
|
|
178
|
+
}), T = (t, b) => {
|
|
179
|
+
const r = t.__vccOpts || t;
|
|
180
|
+
for (const [a, v] of b)
|
|
181
|
+
r[a] = v;
|
|
182
|
+
return r;
|
|
183
183
|
}, F = /* @__PURE__ */ T(we, [["__scopeId", "data-v-ab8fd375"]]), Ve = /* @__PURE__ */ $({
|
|
184
184
|
__name: "index",
|
|
185
185
|
props: {
|
|
@@ -190,60 +190,60 @@ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
190
190
|
disabled: { type: Boolean }
|
|
191
191
|
},
|
|
192
192
|
emits: ["update:modelValue", "update:areaItem", "change", "area-change"],
|
|
193
|
-
setup(
|
|
194
|
-
const
|
|
195
|
-
get: () =>
|
|
196
|
-
set: (
|
|
197
|
-
}), m =
|
|
198
|
-
get: () =>
|
|
199
|
-
set: (
|
|
200
|
-
|
|
193
|
+
setup(t, { emit: b }) {
|
|
194
|
+
const r = t, a = b, v = c(() => r.width ? E(r.width) : "100%"), V = c({
|
|
195
|
+
get: () => r.modelValue,
|
|
196
|
+
set: (e) => a("update:modelValue", e)
|
|
197
|
+
}), m = c({
|
|
198
|
+
get: () => r.areaItem ?? {},
|
|
199
|
+
set: (e) => {
|
|
200
|
+
a("update:areaItem", e);
|
|
201
201
|
}
|
|
202
|
-
}), g =
|
|
202
|
+
}), g = s(null), P = s(null), D = s(null), f = s(240), u = s(!1), k = () => {
|
|
203
203
|
f.value = g.value.clientWidth ?? 0;
|
|
204
204
|
};
|
|
205
205
|
N(() => {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
q(() => {
|
|
207
|
+
k(), D.value = ne(() => {
|
|
208
|
+
k();
|
|
209
209
|
}, g.value);
|
|
210
210
|
});
|
|
211
|
-
}),
|
|
212
|
-
var
|
|
213
|
-
(
|
|
211
|
+
}), G(() => {
|
|
212
|
+
var e;
|
|
213
|
+
(e = D.value) == null || e.disconnect();
|
|
214
214
|
});
|
|
215
|
-
const S = (
|
|
216
|
-
|
|
217
|
-
},
|
|
218
|
-
|
|
215
|
+
const S = (e) => {
|
|
216
|
+
a("area-change", e);
|
|
217
|
+
}, I = (e) => {
|
|
218
|
+
a("change", e);
|
|
219
219
|
};
|
|
220
|
-
return (
|
|
220
|
+
return (e, l) => (d(), h(
|
|
221
221
|
"div",
|
|
222
222
|
{
|
|
223
223
|
ref_key: "phoneRef",
|
|
224
224
|
ref: g,
|
|
225
225
|
class: B(["das-ui-area-phone-select", { "is-disabled": e.disabled && !e.isView, "is-view": e.isView }]),
|
|
226
|
-
style:
|
|
226
|
+
style: H({ width: v.value })
|
|
227
227
|
},
|
|
228
228
|
[
|
|
229
|
-
C(
|
|
229
|
+
C(p(le), W({
|
|
230
230
|
ref_key: "inputRef",
|
|
231
231
|
ref: P,
|
|
232
232
|
width: "100%",
|
|
233
233
|
disabled: e.disabled,
|
|
234
234
|
isView: e.isView,
|
|
235
235
|
modelValue: V.value,
|
|
236
|
-
"onUpdate:modelValue":
|
|
237
|
-
onChange:
|
|
238
|
-
},
|
|
239
|
-
prepend:
|
|
236
|
+
"onUpdate:modelValue": l[2] || (l[2] = (w) => V.value = w),
|
|
237
|
+
onChange: I
|
|
238
|
+
}, e.$attrs), {
|
|
239
|
+
prepend: _(() => [
|
|
240
240
|
C(F, {
|
|
241
241
|
visible: u.value,
|
|
242
|
-
"onUpdate:visible":
|
|
242
|
+
"onUpdate:visible": l[0] || (l[0] = (w) => u.value = w),
|
|
243
243
|
isView: e.isView,
|
|
244
244
|
disabled: e.disabled,
|
|
245
245
|
modelValue: m.value,
|
|
246
|
-
"onUpdate:modelValue":
|
|
246
|
+
"onUpdate:modelValue": l[1] || (l[1] = (w) => m.value = w),
|
|
247
247
|
width: f.value,
|
|
248
248
|
onChange: S
|
|
249
249
|
}, null, 8, ["visible", "isView", "disabled", "modelValue", "width"])
|
|
@@ -259,8 +259,8 @@ const ie = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)
|
|
|
259
259
|
}), ge = /* @__PURE__ */ T(Ve, [["__scopeId", "data-v-203bb4f0"]]), ye = {
|
|
260
260
|
"area-phone-placeholder": { "zh-CN": "请输入所在国家或区域中文名称", en: "Please enter your country or region", "zh-MO": "請輸入所在國家或區域中文名稱" }
|
|
261
261
|
};
|
|
262
|
-
|
|
263
|
-
const Ne = () =>
|
|
262
|
+
K(ye);
|
|
263
|
+
const Ne = () => s(null), We = () => s(null), Oe = O(ge), Ee = O(F), Te = { name: "区号选择手机号输入框" };
|
|
264
264
|
export {
|
|
265
265
|
Oe as DasAreaPhoneSelect,
|
|
266
266
|
Ne as DasAreaPhoneSelectRef,
|
|
Binary file
|
|
@@ -5,11 +5,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: {
|
|
7
7
|
readonly title?: string | undefined;
|
|
8
|
-
readonly width?:
|
|
8
|
+
readonly width?: string | number | undefined;
|
|
9
9
|
readonly content?: string | undefined;
|
|
10
10
|
readonly popperClass?: string | undefined;
|
|
11
11
|
readonly showBtns?: boolean | undefined;
|
|
12
|
-
readonly placement?:
|
|
12
|
+
readonly placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
|
|
13
13
|
readonly onCancel?: (() => any) | undefined;
|
|
14
14
|
readonly onConfirm?: (() => any) | undefined;
|
|
15
15
|
readonly onClickOutside?: (() => any) | undefined;
|
|
@@ -83,11 +83,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Props, {
|
|
|
83
83
|
$data: {};
|
|
84
84
|
$props: {
|
|
85
85
|
readonly title?: string | undefined;
|
|
86
|
-
readonly width?:
|
|
86
|
+
readonly width?: string | number | undefined;
|
|
87
87
|
readonly content?: string | undefined;
|
|
88
88
|
readonly popperClass?: string | undefined;
|
|
89
89
|
readonly showBtns?: boolean | undefined;
|
|
90
|
-
readonly placement?:
|
|
90
|
+
readonly placement?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end" | undefined;
|
|
91
91
|
readonly onCancel?: (() => any) | undefined;
|
|
92
92
|
readonly onConfirm?: (() => any) | undefined;
|
|
93
93
|
readonly onClickOutside?: (() => any) | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as L, openBlock as d, createElementBlock as
|
|
1
|
+
import { defineComponent as L, openBlock as d, createElementBlock as g, createElementVNode as l, ref as f, computed as h, watch as D, createBlock as p, unref as v, withCtx as H, createVNode as x, withKeys as F, Fragment as C, renderList as I, normalizeClass as Y, createTextVNode as W, toDisplayString as M } from "vue";
|
|
2
2
|
import { withInstall as G } from "@das-fed/upf-utils/with-install/index";
|
|
3
3
|
import { ElCol as R, ElRow as S } from "element-plus/es";
|
|
4
4
|
import "element-plus/es/components/base/style/css";
|
|
@@ -14,12 +14,12 @@ import { DasEmpty as K } from "@das-fed/upf-ui/packages/components/empty/index";
|
|
|
14
14
|
import { justauth as k } from "@das-fed/upf-utils/api-services"
|
|
15
15
|
import '@das-fed/upf-ui/packages/business-components/change-enterprises/style.css';
|
|
16
16
|
;
|
|
17
|
-
/*! Element Plus Icons Vue v2.3.
|
|
17
|
+
/*! Element Plus Icons Vue v2.3.1 */
|
|
18
18
|
var E = /* @__PURE__ */ L({
|
|
19
19
|
name: "Search",
|
|
20
20
|
__name: "search",
|
|
21
21
|
setup(o) {
|
|
22
|
-
return (P, t) => (d(),
|
|
22
|
+
return (P, t) => (d(), g("svg", {
|
|
23
23
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24
24
|
viewBox: "0 0 1024 1024"
|
|
25
25
|
}, [
|
|
@@ -40,32 +40,32 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAA
|
|
|
40
40
|
},
|
|
41
41
|
emits: ["update:visible", "confirm"],
|
|
42
42
|
setup(o, { emit: P }) {
|
|
43
|
-
const t = o, X = P,
|
|
43
|
+
const t = o, X = P, u = f(""), c = f([]), z = f(1), i = f(20), q = f(0), A = f(!1), O = f(""), m = h({
|
|
44
44
|
get: () => t.visible,
|
|
45
45
|
set: (e) => X("update:visible", e)
|
|
46
46
|
}), w = async () => {
|
|
47
47
|
let e = {
|
|
48
|
-
tenantName:
|
|
48
|
+
tenantName: u.value,
|
|
49
49
|
userId: t.userId,
|
|
50
50
|
pageSize: i.value,
|
|
51
51
|
pageIndex: z.value
|
|
52
52
|
};
|
|
53
53
|
t.openId && (e.openId = t.openId);
|
|
54
54
|
const [n, a] = await ee().run(e);
|
|
55
|
-
n || (a.data && a.data.length ?
|
|
55
|
+
n || (a.data && a.data.length ? c.value = a.data.map((s) => (s.tenantName || (s.tenantName = "-"), s)) : c.value = [], q.value = Number(a.totalCount));
|
|
56
56
|
}, N = () => {
|
|
57
57
|
z.value = 1, w();
|
|
58
58
|
};
|
|
59
59
|
D(
|
|
60
|
-
() =>
|
|
60
|
+
() => m.value,
|
|
61
61
|
(e) => {
|
|
62
|
-
e && (
|
|
62
|
+
e && (O.value = (t == null ? void 0 : t.tenantId) ?? "", N());
|
|
63
63
|
},
|
|
64
64
|
{ immediate: !0 }
|
|
65
65
|
);
|
|
66
66
|
const b = (e) => {
|
|
67
67
|
const n = (e == null ? void 0 : e.tenantId) ?? "";
|
|
68
|
-
|
|
68
|
+
O.value !== n && X("confirm", n);
|
|
69
69
|
}, y = (e) => {
|
|
70
70
|
i.value = e, N();
|
|
71
71
|
}, V = (e) => {
|
|
@@ -74,18 +74,18 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAA
|
|
|
74
74
|
return (e, n) => {
|
|
75
75
|
const a = R, s = S;
|
|
76
76
|
return d(), p(v(Z), {
|
|
77
|
-
modelValue:
|
|
78
|
-
"onUpdate:modelValue": n[3] || (n[3] = (r) =>
|
|
77
|
+
modelValue: m.value,
|
|
78
|
+
"onUpdate:modelValue": n[3] || (n[3] = (r) => m.value = r),
|
|
79
79
|
title: v(j)("选择登录企业"),
|
|
80
80
|
size: "nomarl",
|
|
81
|
-
loading:
|
|
81
|
+
loading: A.value
|
|
82
82
|
}, {
|
|
83
83
|
default: H(() => [
|
|
84
84
|
l("div", ne, [
|
|
85
85
|
l("div", te, [
|
|
86
86
|
x(v(T), {
|
|
87
|
-
modelValue:
|
|
88
|
-
"onUpdate:modelValue": n[0] || (n[0] = (r) =>
|
|
87
|
+
modelValue: u.value,
|
|
88
|
+
"onUpdate:modelValue": n[0] || (n[0] = (r) => u.value = r),
|
|
89
89
|
placeholder: v(j)("搜索企业名称"),
|
|
90
90
|
"prefix-icon": v(_),
|
|
91
91
|
onKeyup: F(N, ["enter"])
|
|
@@ -102,15 +102,15 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAA
|
|
|
102
102
|
}, null, 8, ["modelValue", "page-size", "total"])
|
|
103
103
|
]),
|
|
104
104
|
l("div", re, [
|
|
105
|
-
|
|
105
|
+
c.value && c.value.length ? (d(), p(s, {
|
|
106
106
|
key: 0,
|
|
107
107
|
gutter: 20
|
|
108
108
|
}, {
|
|
109
109
|
default: H(() => [
|
|
110
|
-
(d(!0),
|
|
110
|
+
(d(!0), g(
|
|
111
111
|
C,
|
|
112
112
|
null,
|
|
113
|
-
I(
|
|
113
|
+
I(c.value, (r) => (d(), p(
|
|
114
114
|
a,
|
|
115
115
|
{ span: 6 },
|
|
116
116
|
{
|
|
@@ -118,7 +118,7 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAA
|
|
|
118
118
|
l(
|
|
119
119
|
"div",
|
|
120
120
|
{
|
|
121
|
-
class: Y(["item", r.tenantId ===
|
|
121
|
+
class: Y(["item", r.tenantId === O.value ? "active" : ""])
|
|
122
122
|
},
|
|
123
123
|
[
|
|
124
124
|
l("img", {
|
|
@@ -175,8 +175,8 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAA
|
|
|
175
175
|
}
|
|
176
176
|
}), ae = (o, P) => {
|
|
177
177
|
const t = o.__vccOpts || o;
|
|
178
|
-
for (const [X,
|
|
179
|
-
t[X] =
|
|
178
|
+
for (const [X, u] of P)
|
|
179
|
+
t[X] = u;
|
|
180
180
|
return t;
|
|
181
181
|
}, de = /* @__PURE__ */ ae(fe, [["__scopeId", "data-v-947d8a4e"]]), le = {
|
|
182
182
|
选择登录企业: { "zh-CN": "选择登录企业", en: "Select login enterprise", "zh-MO": "選擇登入企業", _appCode: "framework" },
|
|
Binary file
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ref as R, reactive as F, defineComponent as T, openBlock as v, createBlock as y, unref as r, isRef as $, withCtx as g, createElementVNode as z, createVNode as h, createTextVNode as V, toDisplayString as
|
|
1
|
+
import { ref as R, reactive as F, defineComponent as T, openBlock as v, createBlock as y, unref as r, isRef as $, withCtx as g, createElementVNode as z, createVNode as h, createTextVNode as V, toDisplayString as D, createCommentVNode as I } from "vue";
|
|
2
2
|
import { withInstall as B } from "@das-fed/upf-utils/with-install/index";
|
|
3
|
-
import { t as s, i18n as
|
|
3
|
+
import { t as s, i18n as x, setI18nRule as O } from "@das-fed/upf-web/packages/i18n/index";
|
|
4
4
|
import { DasDialog as Z } from "@das-fed/upf-ui/packages/components/dialog/index";
|
|
5
5
|
import { DasFormRef as W, DasForm as G } from "@das-fed/upf-ui/packages/components/form/index";
|
|
6
|
-
import { DasFormItem as
|
|
6
|
+
import { DasFormItem as q } from "@das-fed/upf-ui/packages/components/form-item/index";
|
|
7
7
|
import { DasButton as U } from "@das-fed/upf-ui/packages/components/button/index";
|
|
8
8
|
import { DasMessage as K } from "@das-fed/upf-ui/packages/components/message/index";
|
|
9
9
|
import { enterpriseright as M, superadminPortal as Y, systemConfiguration as j } from "@das-fed/upf-utils/api-services/modules";
|
|
10
|
-
import { encryption as
|
|
10
|
+
import { encryption as k } from "@das-fed/upf-utils/atob"
|
|
11
11
|
import '@das-fed/upf-ui/packages/business-components/change-pwd/style.css';
|
|
12
12
|
;
|
|
13
13
|
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) => {
|
|
@@ -62,7 +62,7 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
62
62
|
],
|
|
63
63
|
pwd: [{ validator: _, trigger: "blur" }],
|
|
64
64
|
confirmPwd: [{ validator: N, trigger: "blur" }]
|
|
65
|
-
}), c = R(""),
|
|
65
|
+
}), c = R(""), b = (o) => {
|
|
66
66
|
n.mainApp === "enterpriseadmin" && L(), w.value = !0, c.value = o || "";
|
|
67
67
|
}, p = (o = !1) => {
|
|
68
68
|
var e;
|
|
@@ -81,22 +81,22 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
81
81
|
formData: d,
|
|
82
82
|
form: m,
|
|
83
83
|
rules: P,
|
|
84
|
-
openDialog:
|
|
84
|
+
openDialog: b,
|
|
85
85
|
onCancel: p,
|
|
86
86
|
onConfirm: async () => {
|
|
87
87
|
var o;
|
|
88
88
|
(o = m.value) == null || o.validate(async (e) => {
|
|
89
89
|
if (e) {
|
|
90
90
|
const a = {
|
|
91
|
-
pwd:
|
|
92
|
-
confirmPwd:
|
|
91
|
+
pwd: k(d.value.pwd),
|
|
92
|
+
confirmPwd: k(d.value.confirmPwd)
|
|
93
93
|
};
|
|
94
94
|
if (n.mainApp === "enterpriseadmin" && n.forceUpdate) {
|
|
95
95
|
let i = {};
|
|
96
96
|
c.value && (i = { headers: { Authorization: c.value } }), await S({}, i).run();
|
|
97
97
|
const [C] = await A({}, i).run(a);
|
|
98
98
|
if (C) return;
|
|
99
|
-
} else if (a.prePwd =
|
|
99
|
+
} else if (a.prePwd = k(d.value.prePwd), n.mainApp === "enterpriseadmin") {
|
|
100
100
|
await S().run();
|
|
101
101
|
const [i] = await A().run(a);
|
|
102
102
|
if (i) return;
|
|
@@ -122,7 +122,7 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
122
122
|
const m = n, d = w, { visible: t, form: L, formData: l, rules: _, openDialog: N, onCancel: P, onConfirm: c } = Q(m, d);
|
|
123
123
|
return f({
|
|
124
124
|
openDialog: N
|
|
125
|
-
}), (
|
|
125
|
+
}), (b, p) => (v(), y(r(Z), {
|
|
126
126
|
title: r(s)("修改密码"),
|
|
127
127
|
width: "460px",
|
|
128
128
|
height: "360px",
|
|
@@ -140,7 +140,7 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
140
140
|
}, {
|
|
141
141
|
default: g(() => [
|
|
142
142
|
V(
|
|
143
|
-
|
|
143
|
+
D(r(x)("取消").value),
|
|
144
144
|
1
|
|
145
145
|
/* TEXT */
|
|
146
146
|
)
|
|
@@ -155,7 +155,7 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
155
155
|
}, {
|
|
156
156
|
default: g(() => [
|
|
157
157
|
V(
|
|
158
|
-
|
|
158
|
+
D(r(x)("确定").value),
|
|
159
159
|
1
|
|
160
160
|
/* TEXT */
|
|
161
161
|
)
|
|
@@ -174,7 +174,7 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
174
174
|
style: { "overflow-x": "hidden !important" }
|
|
175
175
|
}, {
|
|
176
176
|
default: g(() => [
|
|
177
|
-
|
|
177
|
+
b.forceUpdate ? I("v-if", !0) : (v(), y(r(q), {
|
|
178
178
|
key: 0,
|
|
179
179
|
type: "password",
|
|
180
180
|
isTitle: !1,
|
|
@@ -188,7 +188,7 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
188
188
|
maxlength: 20,
|
|
189
189
|
required: ""
|
|
190
190
|
}, null, 8, ["label", "modelValue"])),
|
|
191
|
-
h(r(
|
|
191
|
+
h(r(q), {
|
|
192
192
|
type: "password",
|
|
193
193
|
isTitle: !1,
|
|
194
194
|
autocomplete: "new-password",
|
|
@@ -201,7 +201,7 @@ const S = M.get("/user/change-pwd", (n) => (n.ignoreErrorMessage = !0, n)), A =
|
|
|
201
201
|
maxlength: 20,
|
|
202
202
|
required: ""
|
|
203
203
|
}, null, 8, ["label", "modelValue"]),
|
|
204
|
-
h(r(
|
|
204
|
+
h(r(q), {
|
|
205
205
|
type: "password",
|
|
206
206
|
isTitle: !1,
|
|
207
207
|
autocomplete: "new-password",
|
|
Binary file
|
|
@@ -6,11 +6,11 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
|
7
7
|
$data: {};
|
|
8
8
|
$props: {
|
|
9
|
-
readonly labelLength?:
|
|
10
|
-
readonly labelWidth?:
|
|
11
|
-
readonly contentWidth?:
|
|
12
|
-
readonly labelPosition?:
|
|
13
|
-
readonly alignType?:
|
|
9
|
+
readonly labelLength?: number | string | undefined;
|
|
10
|
+
readonly labelWidth?: number | string | undefined;
|
|
11
|
+
readonly contentWidth?: number | string | undefined;
|
|
12
|
+
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
13
|
+
readonly alignType?: "vertical" | "horizontal" | undefined;
|
|
14
14
|
readonly alignItems?: string | undefined;
|
|
15
15
|
readonly marginBottom?: string | undefined;
|
|
16
16
|
readonly marginRight?: string | undefined;
|
|
@@ -18,9 +18,9 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
18
18
|
readonly rules?: any;
|
|
19
19
|
readonly labelMarginRight?: string | undefined;
|
|
20
20
|
readonly isSearchForm?: boolean | undefined;
|
|
21
|
-
readonly errorMode?:
|
|
21
|
+
readonly errorMode?: "default" | "overlay" | undefined;
|
|
22
22
|
readonly autoMarginRight?: boolean | undefined;
|
|
23
|
-
readonly size?:
|
|
23
|
+
readonly size?: "small" | "default" | "large" | undefined;
|
|
24
24
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
25
25
|
$attrs: {
|
|
26
26
|
[x: string]: unknown;
|
|
@@ -100,11 +100,11 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
100
100
|
$: import("vue").ComponentInternalInstance;
|
|
101
101
|
$data: {};
|
|
102
102
|
$props: {
|
|
103
|
-
readonly labelLength?:
|
|
104
|
-
readonly labelWidth?:
|
|
105
|
-
readonly contentWidth?:
|
|
106
|
-
readonly labelPosition?:
|
|
107
|
-
readonly alignType?:
|
|
103
|
+
readonly labelLength?: number | string | undefined;
|
|
104
|
+
readonly labelWidth?: number | string | undefined;
|
|
105
|
+
readonly contentWidth?: number | string | undefined;
|
|
106
|
+
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
107
|
+
readonly alignType?: "vertical" | "horizontal" | undefined;
|
|
108
108
|
readonly alignItems?: string | undefined;
|
|
109
109
|
readonly marginBottom?: string | undefined;
|
|
110
110
|
readonly marginRight?: string | undefined;
|
|
@@ -112,9 +112,9 @@ export declare const useChangePwd: (props: Props, emit: Emits) => {
|
|
|
112
112
|
readonly rules?: any;
|
|
113
113
|
readonly labelMarginRight?: string | undefined;
|
|
114
114
|
readonly isSearchForm?: boolean | undefined;
|
|
115
|
-
readonly errorMode?:
|
|
115
|
+
readonly errorMode?: "default" | "overlay" | undefined;
|
|
116
116
|
readonly autoMarginRight?: boolean | undefined;
|
|
117
|
-
readonly size?:
|
|
117
|
+
readonly size?: "small" | "default" | "large" | undefined;
|
|
118
118
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
119
119
|
$attrs: {
|
|
120
120
|
[x: string]: unknown;
|