@das-fed/upf-ui 6.4.0-dev.303 → 6.4.0-dev.304
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 +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-CN.js +5 -5
- package/front-end/i18n/front-end-page/dasui_zh-MO.js +5 -5
- package/package.json +7 -7
- package/packages/components/form-item/index.js +132 -124
- 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/release-meta.json +4 -4
|
@@ -743,18 +743,22 @@ export default {
|
|
|
743
743
|
"用户": "",
|
|
744
744
|
"预订上午": "",
|
|
745
745
|
"的会议室": "",
|
|
746
|
+
"数据趋势": "",
|
|
746
747
|
"数字": "",
|
|
747
748
|
"小写字母": "",
|
|
748
749
|
"大写字母": "",
|
|
749
750
|
"符号": "",
|
|
750
751
|
"修改密码成功": "",
|
|
751
|
-
"数据趋势": "",
|
|
752
752
|
"引用": "",
|
|
753
753
|
"篇资料作为参考": "",
|
|
754
754
|
"思考中": "",
|
|
755
755
|
"用时": "",
|
|
756
756
|
"秒": "",
|
|
757
757
|
"确定要删除吗": "",
|
|
758
|
+
"删除后": "",
|
|
759
|
+
"该会话将不可恢复": "",
|
|
760
|
+
"清空后": "",
|
|
761
|
+
"所有历史将无法找回": "",
|
|
758
762
|
"嗨": "",
|
|
759
763
|
"我是": "",
|
|
760
764
|
"我可以帮你分析": "",
|
|
@@ -762,10 +766,6 @@ export default {
|
|
|
762
766
|
"调节设备": "",
|
|
763
767
|
"预订会议室": "",
|
|
764
768
|
"请把你的任务交给我吧": "",
|
|
765
|
-
"删除后": "",
|
|
766
|
-
"该会话将不可恢复": "",
|
|
767
|
-
"清空后": "",
|
|
768
|
-
"所有历史将无法找回": "",
|
|
769
769
|
"回答中": "",
|
|
770
770
|
"近": "",
|
|
771
771
|
"最多支持选择": "",
|
|
@@ -730,18 +730,22 @@ export default {
|
|
|
730
730
|
"用户": "用户",
|
|
731
731
|
"预订上午": "预订上午",
|
|
732
732
|
"的会议室": "的会议室",
|
|
733
|
+
"数据趋势": "数据趋势",
|
|
733
734
|
"数字": "数字",
|
|
734
735
|
"小写字母": "小写字母",
|
|
735
736
|
"大写字母": "大写字母",
|
|
736
737
|
"符号": "符号",
|
|
737
738
|
"修改密码成功": "修改密码成功",
|
|
738
|
-
"数据趋势": "数据趋势",
|
|
739
739
|
"引用": "引用",
|
|
740
740
|
"篇资料作为参考": "篇资料作为参考",
|
|
741
741
|
"思考中": "思考中",
|
|
742
742
|
"用时": "用时",
|
|
743
743
|
"秒": "秒",
|
|
744
744
|
"确定要删除吗": "确定要删除吗",
|
|
745
|
+
"删除后": "删除后",
|
|
746
|
+
"该会话将不可恢复": "该会话将不可恢复",
|
|
747
|
+
"清空后": "清空后",
|
|
748
|
+
"所有历史将无法找回": "所有历史将无法找回",
|
|
745
749
|
"嗨": "嗨",
|
|
746
750
|
"我是": "我是",
|
|
747
751
|
"我可以帮你分析": "我可以帮你分析",
|
|
@@ -749,10 +753,6 @@ export default {
|
|
|
749
753
|
"调节设备": "调节设备",
|
|
750
754
|
"预订会议室": "预订会议室",
|
|
751
755
|
"请把你的任务交给我吧": "请把你的任务交给我吧",
|
|
752
|
-
"删除后": "删除后",
|
|
753
|
-
"该会话将不可恢复": "该会话将不可恢复",
|
|
754
|
-
"清空后": "清空后",
|
|
755
|
-
"所有历史将无法找回": "所有历史将无法找回",
|
|
756
756
|
"回答中": "回答中",
|
|
757
757
|
"近": "近",
|
|
758
758
|
"最多支持选择": "最多支持选择",
|
|
@@ -729,18 +729,22 @@ export default {
|
|
|
729
729
|
"用户": "",
|
|
730
730
|
"预订上午": "",
|
|
731
731
|
"的会议室": "",
|
|
732
|
+
"数据趋势": "",
|
|
732
733
|
"数字": "",
|
|
733
734
|
"小写字母": "",
|
|
734
735
|
"大写字母": "",
|
|
735
736
|
"符号": "",
|
|
736
737
|
"修改密码成功": "",
|
|
737
|
-
"数据趋势": "",
|
|
738
738
|
"引用": "",
|
|
739
739
|
"篇资料作为参考": "",
|
|
740
740
|
"思考中": "",
|
|
741
741
|
"用时": "",
|
|
742
742
|
"秒": "",
|
|
743
743
|
"确定要删除吗": "",
|
|
744
|
+
"删除后": "",
|
|
745
|
+
"该会话将不可恢复": "",
|
|
746
|
+
"清空后": "",
|
|
747
|
+
"所有历史将无法找回": "",
|
|
744
748
|
"嗨": "",
|
|
745
749
|
"我是": "",
|
|
746
750
|
"我可以帮你分析": "",
|
|
@@ -748,10 +752,6 @@ export default {
|
|
|
748
752
|
"调节设备": "",
|
|
749
753
|
"预订会议室": "",
|
|
750
754
|
"请把你的任务交给我吧": "",
|
|
751
|
-
"删除后": "",
|
|
752
|
-
"该会话将不可恢复": "",
|
|
753
|
-
"清空后": "",
|
|
754
|
-
"所有历史将无法找回": "",
|
|
755
755
|
"回答中": "",
|
|
756
756
|
"近": "",
|
|
757
757
|
"最多支持选择": "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/upf-ui",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.304",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"vue-tsc": "^2.0.29"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@das-fed/upf-cli": "6.4.0-dev.
|
|
59
|
-
"@das-fed/upf-utils": "6.4.0-dev.
|
|
58
|
+
"@das-fed/upf-cli": "6.4.0-dev.304",
|
|
59
|
+
"@das-fed/upf-utils": "6.4.0-dev.304",
|
|
60
60
|
"@types/markdown-it": "^14.1.2",
|
|
61
61
|
"@wangeditor-next/editor": "5.6.31",
|
|
62
62
|
"@wangeditor-next/editor-for-vue": "5.1.14",
|
|
@@ -92,13 +92,13 @@
|
|
|
92
92
|
},
|
|
93
93
|
"upfReleaseMeta": {
|
|
94
94
|
"packageName": "@das-fed/upf-ui",
|
|
95
|
-
"releaseVersion": "6.4.0-dev.
|
|
95
|
+
"releaseVersion": "6.4.0-dev.304",
|
|
96
96
|
"distTag": "dev",
|
|
97
97
|
"releaseType": "publish",
|
|
98
|
-
"publishedAt": "2026-08-
|
|
98
|
+
"publishedAt": "2026-08-31T06:47:13.567Z",
|
|
99
99
|
"sourceBranch": "dev",
|
|
100
|
-
"sourceCommit": "
|
|
101
|
-
"gitTag": "upf-release/v6.4.0-dev.
|
|
100
|
+
"sourceCommit": "d3e3eac74eb2b209b9349887532b6f5b47a192d9",
|
|
101
|
+
"gitTag": "upf-release/v6.4.0-dev.304",
|
|
102
102
|
"gitRemote": "origin",
|
|
103
103
|
"gitRemoteUrl": "http://gitlab.dasiot.cn/foundation/frontend/framework.git",
|
|
104
104
|
"releaseStatus": "success"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { withInstall as Or } from "@das-fed/upf-utils/with-install/index";
|
|
2
|
-
import { useAttrs as Ht, inject as xr, computed as S, ref as Re, watch as gt, reactive as Ar, onMounted as Fr, onUnmounted as Pr, defineComponent as Er, useCssVars as Cr, unref as s, openBlock as I, createElementBlock as D, normalizeClass as me, normalizeStyle as
|
|
2
|
+
import { useAttrs as Ht, inject as xr, computed as S, ref as Re, watch as gt, reactive as Ar, onMounted as Fr, onUnmounted as Pr, defineComponent as Er, useCssVars as Cr, unref as s, openBlock as I, createElementBlock as D, normalizeClass as me, normalizeStyle as Me, createElementVNode as ve, withDirectives as ht, toDisplayString as yt, createCommentVNode as z, createBlock as He, mergeProps as U, createSlots as mt, withCtx as le, createVNode as W, renderSlot as ue, isRef as B, Fragment as K, createTextVNode as Mr } from "vue";
|
|
3
3
|
import { DasTreeSelectRef as qr, DasTreeSelect as Ir } from "@das-fed/upf-ui/packages/components/tree-select/index";
|
|
4
4
|
import { DasSelectInput as zr } from "@das-fed/upf-ui/packages/components/select-input/index";
|
|
5
5
|
import { DasInputDialogSelect as Rr } from "@das-fed/upf-ui/packages/components/input-dialog-select/index";
|
|
@@ -15,8 +15,8 @@ import { DasCascaderRef as Zr, DasCascader as Jr } from "@das-fed/upf-ui/package
|
|
|
15
15
|
import { DasColorPicker as Yr } from "@das-fed/upf-ui/packages/components/color-picker/index";
|
|
16
16
|
import { DasInputNumber as Xr } from "@das-fed/upf-ui/packages/components/input-number/index";
|
|
17
17
|
import { vDasTooltip as vt } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
18
|
-
import { DasIconFormTips as
|
|
19
|
-
import { DasErrorOverlayModel as
|
|
18
|
+
import { DasIconFormTips as _r } from "@das-fed/upf-ui/packages/icons/form-tips/index";
|
|
19
|
+
import { DasErrorOverlayModel as Qr } from "@das-fed/upf-ui/packages/components/error-overlay-model/index";
|
|
20
20
|
import { useModelValue as ke } from "@das-fed/upf-utils/vue"
|
|
21
21
|
import '@das-fed/upf-ui/packages/components/form-item/style.css';
|
|
22
22
|
;
|
|
@@ -32,17 +32,17 @@ function re() {
|
|
|
32
32
|
}, re.apply(this, arguments);
|
|
33
33
|
}
|
|
34
34
|
function tn(e, t) {
|
|
35
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e,
|
|
35
|
+
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Ve(e, t);
|
|
36
36
|
}
|
|
37
37
|
function Xe(e) {
|
|
38
38
|
return Xe = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
|
|
39
39
|
return r.__proto__ || Object.getPrototypeOf(r);
|
|
40
40
|
}, Xe(e);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
function Ve(e, t) {
|
|
43
|
+
return Ve = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
|
|
44
44
|
return n.__proto__ = i, n;
|
|
45
|
-
},
|
|
45
|
+
}, Ve(e, t);
|
|
46
46
|
}
|
|
47
47
|
function rn() {
|
|
48
48
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
@@ -59,15 +59,15 @@ function Ie(e, t, r) {
|
|
|
59
59
|
var l = [null];
|
|
60
60
|
l.push.apply(l, a);
|
|
61
61
|
var f = Function.bind.apply(i, l), w = new f();
|
|
62
|
-
return o &&
|
|
62
|
+
return o && Ve(w, o.prototype), w;
|
|
63
63
|
}, Ie.apply(null, arguments);
|
|
64
64
|
}
|
|
65
65
|
function nn(e) {
|
|
66
66
|
return Function.toString.call(e).indexOf("[native code]") !== -1;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function _e(e) {
|
|
69
69
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
70
|
-
return
|
|
70
|
+
return _e = function(n) {
|
|
71
71
|
if (n === null || !nn(n)) return n;
|
|
72
72
|
if (typeof n != "function")
|
|
73
73
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -85,8 +85,8 @@ function Qe(e) {
|
|
|
85
85
|
writable: !0,
|
|
86
86
|
configurable: !0
|
|
87
87
|
}
|
|
88
|
-
}),
|
|
89
|
-
},
|
|
88
|
+
}), Ve(i, n);
|
|
89
|
+
}, _e(e);
|
|
90
90
|
}
|
|
91
91
|
var an = /%[sdj%]/g, kt = function() {
|
|
92
92
|
};
|
|
@@ -95,7 +95,7 @@ typeof process < "u" && process.env && process.env.NODE_ENV !== "production" &&
|
|
|
95
95
|
return typeof n == "string";
|
|
96
96
|
});
|
|
97
97
|
});
|
|
98
|
-
function
|
|
98
|
+
function Qe(e) {
|
|
99
99
|
if (!e || !e.length) return null;
|
|
100
100
|
var t = {};
|
|
101
101
|
return e.forEach(function(r) {
|
|
@@ -175,12 +175,12 @@ var wt = /* @__PURE__ */ function(e) {
|
|
|
175
175
|
return i = e.call(this, "Async Validation Error") || this, i.errors = r, i.fields = n, i;
|
|
176
176
|
}
|
|
177
177
|
return t;
|
|
178
|
-
}(/* @__PURE__ */
|
|
178
|
+
}(/* @__PURE__ */ _e(Error));
|
|
179
179
|
function un(e, t, r, n, i) {
|
|
180
180
|
if (t.first) {
|
|
181
181
|
var a = new Promise(function($, R) {
|
|
182
182
|
var T = function(d) {
|
|
183
|
-
return n(d), d.length ? R(new wt(d,
|
|
183
|
+
return n(d), d.length ? R(new wt(d, Qe(d))) : $(i);
|
|
184
184
|
}, h = ln(e);
|
|
185
185
|
bt(h, r, T);
|
|
186
186
|
});
|
|
@@ -191,7 +191,7 @@ function un(e, t, r, n, i) {
|
|
|
191
191
|
var o = t.firstFields === !0 ? Object.keys(e) : t.firstFields || [], l = Object.keys(e), f = l.length, w = 0, j = [], g = new Promise(function($, R) {
|
|
192
192
|
var T = function(u) {
|
|
193
193
|
if (j.push.apply(j, u), w++, w === f)
|
|
194
|
-
return n(j), j.length ? R(new wt(j,
|
|
194
|
+
return n(j), j.length ? R(new wt(j, Qe(j))) : $(i);
|
|
195
195
|
};
|
|
196
196
|
l.length || (n(j), $(i)), l.forEach(function(h) {
|
|
197
197
|
var u = e[h];
|
|
@@ -271,12 +271,12 @@ var Zt = function(t, r, n, i, a, o) {
|
|
|
271
271
|
// 'i',
|
|
272
272
|
// ),
|
|
273
273
|
hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i
|
|
274
|
-
},
|
|
274
|
+
}, we = {
|
|
275
275
|
integer: function(t) {
|
|
276
|
-
return
|
|
276
|
+
return we.number(t) && parseInt(t, 10) === t;
|
|
277
277
|
},
|
|
278
278
|
float: function(t) {
|
|
279
|
-
return
|
|
279
|
+
return we.number(t) && !we.integer(t);
|
|
280
280
|
},
|
|
281
281
|
array: function(t) {
|
|
282
282
|
return Array.isArray(t);
|
|
@@ -297,7 +297,7 @@ var Zt = function(t, r, n, i, a, o) {
|
|
|
297
297
|
return isNaN(t) ? !1 : typeof t == "number";
|
|
298
298
|
},
|
|
299
299
|
object: function(t) {
|
|
300
|
-
return typeof t == "object" && !
|
|
300
|
+
return typeof t == "object" && !we.array(t);
|
|
301
301
|
},
|
|
302
302
|
method: function(t) {
|
|
303
303
|
return typeof t == "function";
|
|
@@ -317,7 +317,7 @@ var Zt = function(t, r, n, i, a, o) {
|
|
|
317
317
|
return;
|
|
318
318
|
}
|
|
319
319
|
var o = ["integer", "float", "array", "regexp", "object", "method", "email", "number", "date", "url", "hex"], l = t.type;
|
|
320
|
-
o.indexOf(l) > -1 ?
|
|
320
|
+
o.indexOf(l) > -1 ? we[l](r) || i.push(k(a.messages.types[l], t.fullField, t.type)) : l && typeof r !== t.type && i.push(k(a.messages.types[l], t.fullField, t.type));
|
|
321
321
|
}, hn = function(t, r, n, i, a) {
|
|
322
322
|
var o = typeof t.len == "number", l = typeof t.min == "number", f = typeof t.max == "number", w = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, j = r, g = null, $ = typeof r == "number", R = typeof r == "string", T = Array.isArray(r);
|
|
323
323
|
if ($ ? g = "number" : R ? g = "string" : T && (g = "array"), !g)
|
|
@@ -459,7 +459,7 @@ var Zt = function(t, r, n, i, a, o) {
|
|
|
459
459
|
b.required(t, r, i, o, a);
|
|
460
460
|
}
|
|
461
461
|
n(o);
|
|
462
|
-
},
|
|
462
|
+
}, $e = {
|
|
463
463
|
string: vn,
|
|
464
464
|
method: bn,
|
|
465
465
|
number: wn,
|
|
@@ -531,7 +531,7 @@ function et() {
|
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
533
|
}
|
|
534
|
-
var tt = et(),
|
|
534
|
+
var tt = et(), Oe = /* @__PURE__ */ function() {
|
|
535
535
|
function e(r) {
|
|
536
536
|
this.rules = null, this._messages = tt, this.define(r);
|
|
537
537
|
}
|
|
@@ -566,7 +566,7 @@ var tt = et(), Se = /* @__PURE__ */ function() {
|
|
|
566
566
|
}
|
|
567
567
|
for (var m = 0; m < h.length; m++)
|
|
568
568
|
G(h[m]);
|
|
569
|
-
u.length ? (d =
|
|
569
|
+
u.length ? (d = Qe(u), w(u, d)) : w(null, l);
|
|
570
570
|
}
|
|
571
571
|
if (f.messages) {
|
|
572
572
|
var g = this.messages();
|
|
@@ -648,24 +648,24 @@ var tt = et(), Se = /* @__PURE__ */ function() {
|
|
|
648
648
|
j(h);
|
|
649
649
|
}, l);
|
|
650
650
|
}, t.getType = function(n) {
|
|
651
|
-
if (n.type === void 0 && n.pattern instanceof RegExp && (n.type = "pattern"), typeof n.validator != "function" && n.type &&
|
|
651
|
+
if (n.type === void 0 && n.pattern instanceof RegExp && (n.type = "pattern"), typeof n.validator != "function" && n.type && !$e.hasOwnProperty(n.type))
|
|
652
652
|
throw new Error(k("Unknown rule type %s", n.type));
|
|
653
653
|
return n.type || "string";
|
|
654
654
|
}, t.getValidationMethod = function(n) {
|
|
655
655
|
if (typeof n.validator == "function")
|
|
656
656
|
return n.validator;
|
|
657
657
|
var i = Object.keys(n), a = i.indexOf("message");
|
|
658
|
-
return a !== -1 && i.splice(a, 1), i.length === 1 && i[0] === "required" ?
|
|
658
|
+
return a !== -1 && i.splice(a, 1), i.length === 1 && i[0] === "required" ? $e.required : $e[this.getType(n)] || void 0;
|
|
659
659
|
}, e;
|
|
660
660
|
}();
|
|
661
|
-
|
|
661
|
+
Oe.register = function(t, r) {
|
|
662
662
|
if (typeof r != "function")
|
|
663
663
|
throw new Error("Cannot register a validator by type, validator is not a function");
|
|
664
|
-
|
|
664
|
+
$e[t] = r;
|
|
665
665
|
};
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
Oe.warning = kt;
|
|
667
|
+
Oe.messages = tt;
|
|
668
|
+
Oe.validators = $e;
|
|
669
669
|
function Mn() {
|
|
670
670
|
this.__data__ = [], this.size = 0;
|
|
671
671
|
}
|
|
@@ -697,20 +697,20 @@ function Nn(e, t) {
|
|
|
697
697
|
var r = this.__data__, n = De(r, e);
|
|
698
698
|
return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function Q(e) {
|
|
701
701
|
var t = -1, r = e == null ? 0 : e.length;
|
|
702
702
|
for (this.clear(); ++t < r; ) {
|
|
703
703
|
var n = e[t];
|
|
704
704
|
this.set(n[0], n[1]);
|
|
705
705
|
}
|
|
706
706
|
}
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
707
|
+
Q.prototype.clear = Mn;
|
|
708
|
+
Q.prototype.delete = zn;
|
|
709
|
+
Q.prototype.get = Rn;
|
|
710
|
+
Q.prototype.has = Dn;
|
|
711
|
+
Q.prototype.set = Nn;
|
|
712
712
|
function Ln() {
|
|
713
|
-
this.__data__ = new
|
|
713
|
+
this.__data__ = new Q(), this.size = 0;
|
|
714
714
|
}
|
|
715
715
|
function Un(e) {
|
|
716
716
|
var t = this.__data__, r = t.delete(e);
|
|
@@ -722,35 +722,35 @@ function Bn(e) {
|
|
|
722
722
|
function Wn(e) {
|
|
723
723
|
return this.__data__.has(e);
|
|
724
724
|
}
|
|
725
|
-
var Yt = typeof global == "object" && global && global.Object === Object && global, Kn = typeof self == "object" && self && self.Object === Object && self, Y = Yt || Kn || Function("return this")(), de = Y.Symbol, Xt = Object.prototype, Gn = Xt.hasOwnProperty, Hn = Xt.toString,
|
|
725
|
+
var Yt = typeof global == "object" && global && global.Object === Object && global, Kn = typeof self == "object" && self && self.Object === Object && self, Y = Yt || Kn || Function("return this")(), de = Y.Symbol, Xt = Object.prototype, Gn = Xt.hasOwnProperty, Hn = Xt.toString, be = de ? de.toStringTag : void 0;
|
|
726
726
|
function kn(e) {
|
|
727
|
-
var t = Gn.call(e,
|
|
727
|
+
var t = Gn.call(e, be), r = e[be];
|
|
728
728
|
try {
|
|
729
|
-
e[
|
|
729
|
+
e[be] = void 0;
|
|
730
730
|
var n = !0;
|
|
731
731
|
} catch {
|
|
732
732
|
}
|
|
733
733
|
var i = Hn.call(e);
|
|
734
|
-
return n && (t ? e[
|
|
734
|
+
return n && (t ? e[be] = r : delete e[be]), i;
|
|
735
735
|
}
|
|
736
736
|
var Zn = Object.prototype, Jn = Zn.toString;
|
|
737
737
|
function Yn(e) {
|
|
738
738
|
return Jn.call(e);
|
|
739
739
|
}
|
|
740
|
-
var Xn = "[object Null]",
|
|
741
|
-
function Oe(e) {
|
|
742
|
-
return e == null ? e === void 0 ? Qn : Xn : jt && jt in Object(e) ? kn(e) : Yn(e);
|
|
743
|
-
}
|
|
740
|
+
var Xn = "[object Null]", _n = "[object Undefined]", jt = de ? de.toStringTag : void 0;
|
|
744
741
|
function xe(e) {
|
|
742
|
+
return e == null ? e === void 0 ? _n : Xn : jt && jt in Object(e) ? kn(e) : Yn(e);
|
|
743
|
+
}
|
|
744
|
+
function Ae(e) {
|
|
745
745
|
var t = typeof e;
|
|
746
746
|
return e != null && (t == "object" || t == "function");
|
|
747
747
|
}
|
|
748
|
-
var
|
|
749
|
-
function
|
|
750
|
-
if (!
|
|
748
|
+
var Qn = "[object AsyncFunction]", ei = "[object Function]", ti = "[object GeneratorFunction]", ri = "[object Proxy]";
|
|
749
|
+
function _t(e) {
|
|
750
|
+
if (!Ae(e))
|
|
751
751
|
return !1;
|
|
752
|
-
var t =
|
|
753
|
-
return t == ei || t == ti || t ==
|
|
752
|
+
var t = xe(e);
|
|
753
|
+
return t == ei || t == ti || t == Qn || t == ri;
|
|
754
754
|
}
|
|
755
755
|
var Je = Y["__core-js_shared__"], St = function() {
|
|
756
756
|
var e = /[^.]+$/.exec(Je && Je.keys && Je.keys.IE_PROTO || "");
|
|
@@ -777,9 +777,9 @@ var oi = /[\\^$.*+?()[\]{}|]/g, si = /^\[object .+?Constructor\]$/, li = Functio
|
|
|
777
777
|
"^" + fi.call(di).replace(oi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
778
778
|
);
|
|
779
779
|
function pi(e) {
|
|
780
|
-
if (!
|
|
780
|
+
if (!Ae(e) || ni(e))
|
|
781
781
|
return !1;
|
|
782
|
-
var t =
|
|
782
|
+
var t = _t(e) ? ci : si;
|
|
783
783
|
return t.test(ie(e));
|
|
784
784
|
}
|
|
785
785
|
function gi(e, t) {
|
|
@@ -789,9 +789,9 @@ function ae(e, t) {
|
|
|
789
789
|
var r = gi(e, t);
|
|
790
790
|
return pi(r) ? r : void 0;
|
|
791
791
|
}
|
|
792
|
-
var
|
|
792
|
+
var je = ae(Y, "Map"), Se = ae(Object, "create");
|
|
793
793
|
function hi() {
|
|
794
|
-
this.__data__ =
|
|
794
|
+
this.__data__ = Se ? Se(null) : {}, this.size = 0;
|
|
795
795
|
}
|
|
796
796
|
function yi(e) {
|
|
797
797
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -800,7 +800,7 @@ function yi(e) {
|
|
|
800
800
|
var mi = "__lodash_hash_undefined__", vi = Object.prototype, bi = vi.hasOwnProperty;
|
|
801
801
|
function wi(e) {
|
|
802
802
|
var t = this.__data__;
|
|
803
|
-
if (
|
|
803
|
+
if (Se) {
|
|
804
804
|
var r = t[e];
|
|
805
805
|
return r === mi ? void 0 : r;
|
|
806
806
|
}
|
|
@@ -809,12 +809,12 @@ function wi(e) {
|
|
|
809
809
|
var $i = Object.prototype, Ti = $i.hasOwnProperty;
|
|
810
810
|
function Vi(e) {
|
|
811
811
|
var t = this.__data__;
|
|
812
|
-
return
|
|
812
|
+
return Se ? t[e] !== void 0 : Ti.call(t, e);
|
|
813
813
|
}
|
|
814
814
|
var ji = "__lodash_hash_undefined__";
|
|
815
815
|
function Si(e, t) {
|
|
816
816
|
var r = this.__data__;
|
|
817
|
-
return this.size += this.has(e) ? 0 : 1, r[e] =
|
|
817
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = Se && t === void 0 ? ji : t, this;
|
|
818
818
|
}
|
|
819
819
|
function ne(e) {
|
|
820
820
|
var t = -1, r = e == null ? 0 : e.length;
|
|
@@ -831,7 +831,7 @@ ne.prototype.set = Si;
|
|
|
831
831
|
function Oi() {
|
|
832
832
|
this.size = 0, this.__data__ = {
|
|
833
833
|
hash: new ne(),
|
|
834
|
-
map: new (
|
|
834
|
+
map: new (je || Q)(),
|
|
835
835
|
string: new ne()
|
|
836
836
|
};
|
|
837
837
|
}
|
|
@@ -872,16 +872,16 @@ pe.prototype.set = Ei;
|
|
|
872
872
|
var Ci = 200;
|
|
873
873
|
function Mi(e, t) {
|
|
874
874
|
var r = this.__data__;
|
|
875
|
-
if (r instanceof
|
|
875
|
+
if (r instanceof Q) {
|
|
876
876
|
var n = r.__data__;
|
|
877
|
-
if (!
|
|
877
|
+
if (!je || n.length < Ci - 1)
|
|
878
878
|
return n.push([e, t]), this.size = ++r.size, this;
|
|
879
879
|
r = this.__data__ = new pe(n);
|
|
880
880
|
}
|
|
881
881
|
return r.set(e, t), this.size = r.size, this;
|
|
882
882
|
}
|
|
883
883
|
function ge(e) {
|
|
884
|
-
var t = this.__data__ = new
|
|
884
|
+
var t = this.__data__ = new Q(e);
|
|
885
885
|
this.size = t.size;
|
|
886
886
|
}
|
|
887
887
|
ge.prototype.clear = Ln;
|
|
@@ -901,7 +901,7 @@ var Ot = function() {
|
|
|
901
901
|
} catch {
|
|
902
902
|
}
|
|
903
903
|
}();
|
|
904
|
-
function
|
|
904
|
+
function Qt(e, t, r) {
|
|
905
905
|
t == "__proto__" && Ot ? Ot(e, t, {
|
|
906
906
|
configurable: !0,
|
|
907
907
|
enumerable: !0,
|
|
@@ -912,14 +912,14 @@ function _t(e, t, r) {
|
|
|
912
912
|
var Ii = Object.prototype, zi = Ii.hasOwnProperty;
|
|
913
913
|
function er(e, t, r) {
|
|
914
914
|
var n = e[t];
|
|
915
|
-
(!(zi.call(e, t) && Jt(n, r)) || r === void 0 && !(t in e)) &&
|
|
915
|
+
(!(zi.call(e, t) && Jt(n, r)) || r === void 0 && !(t in e)) && Qt(e, t, r);
|
|
916
916
|
}
|
|
917
917
|
function Le(e, t, r, n) {
|
|
918
918
|
var i = !r;
|
|
919
919
|
r || (r = {});
|
|
920
920
|
for (var a = -1, o = t.length; ++a < o; ) {
|
|
921
921
|
var l = t[a], f = void 0;
|
|
922
|
-
f === void 0 && (f = e[l]), i ?
|
|
922
|
+
f === void 0 && (f = e[l]), i ? Qt(r, l, f) : er(r, l, f);
|
|
923
923
|
}
|
|
924
924
|
return r;
|
|
925
925
|
}
|
|
@@ -928,17 +928,17 @@ function Ri(e, t) {
|
|
|
928
928
|
n[r] = t(r);
|
|
929
929
|
return n;
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function Fe(e) {
|
|
932
932
|
return e != null && typeof e == "object";
|
|
933
933
|
}
|
|
934
934
|
var Di = "[object Arguments]";
|
|
935
935
|
function xt(e) {
|
|
936
|
-
return
|
|
936
|
+
return Fe(e) && xe(e) == Di;
|
|
937
937
|
}
|
|
938
938
|
var tr = Object.prototype, Ni = tr.hasOwnProperty, Li = tr.propertyIsEnumerable, Ui = xt(/* @__PURE__ */ function() {
|
|
939
939
|
return arguments;
|
|
940
940
|
}()) ? xt : function(e) {
|
|
941
|
-
return
|
|
941
|
+
return Fe(e) && Ni.call(e, "callee") && !Li.call(e, "callee");
|
|
942
942
|
}, ot = Array.isArray;
|
|
943
943
|
function Bi() {
|
|
944
944
|
return !1;
|
|
@@ -952,20 +952,20 @@ var Zi = 9007199254740991;
|
|
|
952
952
|
function ir(e) {
|
|
953
953
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Zi;
|
|
954
954
|
}
|
|
955
|
-
var Ji = "[object Arguments]", Yi = "[object Array]", Xi = "[object Boolean]",
|
|
955
|
+
var Ji = "[object Arguments]", Yi = "[object Array]", Xi = "[object Boolean]", _i = "[object Date]", Qi = "[object Error]", ea = "[object Function]", ta = "[object Map]", ra = "[object Number]", na = "[object Object]", ia = "[object RegExp]", aa = "[object Set]", oa = "[object String]", sa = "[object WeakMap]", la = "[object ArrayBuffer]", ua = "[object DataView]", fa = "[object Float32Array]", da = "[object Float64Array]", ca = "[object Int8Array]", pa = "[object Int16Array]", ga = "[object Int32Array]", ha = "[object Uint8Array]", ya = "[object Uint8ClampedArray]", ma = "[object Uint16Array]", va = "[object Uint32Array]", P = {};
|
|
956
956
|
P[fa] = P[da] = P[ca] = P[pa] = P[ga] = P[ha] = P[ya] = P[ma] = P[va] = !0;
|
|
957
|
-
P[Ji] = P[Yi] = P[la] = P[Xi] = P[ua] = P[
|
|
957
|
+
P[Ji] = P[Yi] = P[la] = P[Xi] = P[ua] = P[_i] = P[Qi] = P[ea] = P[ta] = P[ra] = P[na] = P[ia] = P[aa] = P[oa] = P[sa] = !1;
|
|
958
958
|
function ba(e) {
|
|
959
|
-
return
|
|
959
|
+
return Fe(e) && ir(e.length) && !!P[xe(e)];
|
|
960
960
|
}
|
|
961
961
|
function st(e) {
|
|
962
962
|
return function(t) {
|
|
963
963
|
return e(t);
|
|
964
964
|
};
|
|
965
965
|
}
|
|
966
|
-
var ar = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
966
|
+
var ar = typeof exports == "object" && exports && !exports.nodeType && exports, Te = ar && typeof module == "object" && module && !module.nodeType && module, wa = Te && Te.exports === ar, Ye = wa && Yt.process, ce = function() {
|
|
967
967
|
try {
|
|
968
|
-
var e =
|
|
968
|
+
var e = Te && Te.require && Te.require("util").types;
|
|
969
969
|
return e || Ye && Ye.binding && Ye.binding("util");
|
|
970
970
|
} catch {
|
|
971
971
|
}
|
|
@@ -1000,7 +1000,7 @@ function Aa(e) {
|
|
|
1000
1000
|
return t;
|
|
1001
1001
|
}
|
|
1002
1002
|
function lr(e) {
|
|
1003
|
-
return e != null && ir(e.length) && !
|
|
1003
|
+
return e != null && ir(e.length) && !_t(e);
|
|
1004
1004
|
}
|
|
1005
1005
|
function ut(e) {
|
|
1006
1006
|
return lr(e) ? or(e) : Aa(e);
|
|
@@ -1017,7 +1017,7 @@ function Pa(e) {
|
|
|
1017
1017
|
}
|
|
1018
1018
|
var Ea = Object.prototype, Ca = Ea.hasOwnProperty;
|
|
1019
1019
|
function Ma(e) {
|
|
1020
|
-
if (!
|
|
1020
|
+
if (!Ae(e))
|
|
1021
1021
|
return Pa(e);
|
|
1022
1022
|
var t = lt(e), r = [];
|
|
1023
1023
|
for (var n in e)
|
|
@@ -1084,9 +1084,9 @@ function Ka(e) {
|
|
|
1084
1084
|
function Ga(e) {
|
|
1085
1085
|
return gr(e, ft, pr);
|
|
1086
1086
|
}
|
|
1087
|
-
var rt = ae(Y, "DataView"), nt = ae(Y, "Promise"), it = ae(Y, "Set"), at = ae(Y, "WeakMap"), It = "[object Map]", Ha = "[object Object]", zt = "[object Promise]", Rt = "[object Set]", Dt = "[object WeakMap]", Nt = "[object DataView]", ka = ie(rt), Za = ie(
|
|
1088
|
-
(rt &&
|
|
1089
|
-
var t =
|
|
1087
|
+
var rt = ae(Y, "DataView"), nt = ae(Y, "Promise"), it = ae(Y, "Set"), at = ae(Y, "WeakMap"), It = "[object Map]", Ha = "[object Object]", zt = "[object Promise]", Rt = "[object Set]", Dt = "[object WeakMap]", Nt = "[object DataView]", ka = ie(rt), Za = ie(je), Ja = ie(nt), Ya = ie(it), Xa = ie(at), _ = xe;
|
|
1088
|
+
(rt && _(new rt(new ArrayBuffer(1))) != Nt || je && _(new je()) != It || nt && _(nt.resolve()) != zt || it && _(new it()) != Rt || at && _(new at()) != Dt) && (_ = function(e) {
|
|
1089
|
+
var t = xe(e), r = t == Ha ? e.constructor : void 0, n = r ? ie(r) : "";
|
|
1090
1090
|
if (n)
|
|
1091
1091
|
switch (n) {
|
|
1092
1092
|
case ka:
|
|
@@ -1102,10 +1102,10 @@ var rt = ae(Y, "DataView"), nt = ae(Y, "Promise"), it = ae(Y, "Set"), at = ae(Y,
|
|
|
1102
1102
|
}
|
|
1103
1103
|
return t;
|
|
1104
1104
|
});
|
|
1105
|
-
var
|
|
1105
|
+
var _a = Object.prototype, Qa = _a.hasOwnProperty;
|
|
1106
1106
|
function eo(e) {
|
|
1107
1107
|
var t = e.length, r = new e.constructor(t);
|
|
1108
|
-
return t && typeof e[0] == "string" &&
|
|
1108
|
+
return t && typeof e[0] == "string" && Qa.call(e, "index") && (r.index = e.index, r.input = e.input), r;
|
|
1109
1109
|
}
|
|
1110
1110
|
var Lt = Y.Uint8Array;
|
|
1111
1111
|
function ct(e) {
|
|
@@ -1167,7 +1167,7 @@ var Wt = Object.create, xo = /* @__PURE__ */ function() {
|
|
|
1167
1167
|
function e() {
|
|
1168
1168
|
}
|
|
1169
1169
|
return function(t) {
|
|
1170
|
-
if (!
|
|
1170
|
+
if (!Ae(t))
|
|
1171
1171
|
return {};
|
|
1172
1172
|
if (Wt)
|
|
1173
1173
|
return Wt(t);
|
|
@@ -1181,27 +1181,27 @@ function Ao(e) {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
var Fo = "[object Map]";
|
|
1183
1183
|
function Po(e) {
|
|
1184
|
-
return
|
|
1184
|
+
return Fe(e) && _(e) == Fo;
|
|
1185
1185
|
}
|
|
1186
1186
|
var Kt = ce && ce.isMap, Eo = Kt ? st(Kt) : Po, Co = "[object Set]";
|
|
1187
1187
|
function Mo(e) {
|
|
1188
|
-
return
|
|
1188
|
+
return Fe(e) && _(e) == Co;
|
|
1189
1189
|
}
|
|
1190
|
-
var Gt = ce && ce.isSet, qo = Gt ? st(Gt) : Mo, Io = 1, zo = 2, Ro = 4, hr = "[object Arguments]", Do = "[object Array]", No = "[object Boolean]", Lo = "[object Date]", Uo = "[object Error]", yr = "[object Function]", Bo = "[object GeneratorFunction]", Wo = "[object Map]", Ko = "[object Number]", mr = "[object Object]", Go = "[object RegExp]", Ho = "[object Set]", ko = "[object String]", Zo = "[object Symbol]", Jo = "[object WeakMap]", Yo = "[object ArrayBuffer]", Xo = "[object DataView]",
|
|
1191
|
-
A[hr] = A[Do] = A[Yo] = A[Xo] = A[No] = A[Lo] = A[
|
|
1190
|
+
var Gt = ce && ce.isSet, qo = Gt ? st(Gt) : Mo, Io = 1, zo = 2, Ro = 4, hr = "[object Arguments]", Do = "[object Array]", No = "[object Boolean]", Lo = "[object Date]", Uo = "[object Error]", yr = "[object Function]", Bo = "[object GeneratorFunction]", Wo = "[object Map]", Ko = "[object Number]", mr = "[object Object]", Go = "[object RegExp]", Ho = "[object Set]", ko = "[object String]", Zo = "[object Symbol]", Jo = "[object WeakMap]", Yo = "[object ArrayBuffer]", Xo = "[object DataView]", _o = "[object Float32Array]", Qo = "[object Float64Array]", es = "[object Int8Array]", ts = "[object Int16Array]", rs = "[object Int32Array]", ns = "[object Uint8Array]", is = "[object Uint8ClampedArray]", as = "[object Uint16Array]", os = "[object Uint32Array]", A = {};
|
|
1191
|
+
A[hr] = A[Do] = A[Yo] = A[Xo] = A[No] = A[Lo] = A[_o] = A[Qo] = A[es] = A[ts] = A[rs] = A[Wo] = A[Ko] = A[mr] = A[Go] = A[Ho] = A[ko] = A[Zo] = A[ns] = A[is] = A[as] = A[os] = !0;
|
|
1192
1192
|
A[Uo] = A[yr] = A[Jo] = !1;
|
|
1193
1193
|
function ze(e, t, r, n, i, a) {
|
|
1194
1194
|
var o, l = t & Io, f = t & zo, w = t & Ro;
|
|
1195
1195
|
if (o !== void 0)
|
|
1196
1196
|
return o;
|
|
1197
|
-
if (!
|
|
1197
|
+
if (!Ae(e))
|
|
1198
1198
|
return e;
|
|
1199
1199
|
var j = ot(e);
|
|
1200
1200
|
if (j) {
|
|
1201
1201
|
if (o = eo(e), !l)
|
|
1202
1202
|
return Ra(e, o);
|
|
1203
1203
|
} else {
|
|
1204
|
-
var g =
|
|
1204
|
+
var g = _(e), $ = g == yr || g == Bo;
|
|
1205
1205
|
if (nr(e))
|
|
1206
1206
|
return za(e, l);
|
|
1207
1207
|
if (g == mr || g == hr || $ && !i) {
|
|
@@ -1300,10 +1300,10 @@ const fs = (e, t, r) => {
|
|
|
1300
1300
|
});
|
|
1301
1301
|
const E = () => {
|
|
1302
1302
|
$.value = "", t("update:error", "");
|
|
1303
|
-
},
|
|
1303
|
+
}, Pe = Re(void 0), Ue = (y, x) => {
|
|
1304
1304
|
if (he(), r("inputNumber")) {
|
|
1305
|
-
if (JSON.stringify(y) === JSON.stringify(
|
|
1306
|
-
|
|
1305
|
+
if (JSON.stringify(y) === JSON.stringify(Pe.value)) return;
|
|
1306
|
+
Pe.value = us(y);
|
|
1307
1307
|
}
|
|
1308
1308
|
t("update:modelValue", y), t("change", y, x);
|
|
1309
1309
|
}, Be = (y) => {
|
|
@@ -1315,7 +1315,7 @@ const fs = (e, t, r) => {
|
|
|
1315
1315
|
T.value.forEach((x) => {
|
|
1316
1316
|
!x.type && typeof g.value == "number" && (x.type = "number");
|
|
1317
1317
|
});
|
|
1318
|
-
const y = new
|
|
1318
|
+
const y = new Oe({
|
|
1319
1319
|
[l]: T.value
|
|
1320
1320
|
});
|
|
1321
1321
|
return new Promise((x) => {
|
|
@@ -1326,7 +1326,7 @@ const fs = (e, t, r) => {
|
|
|
1326
1326
|
});
|
|
1327
1327
|
});
|
|
1328
1328
|
}
|
|
1329
|
-
},
|
|
1329
|
+
}, Ee = Ar({
|
|
1330
1330
|
timeStamp: Date.now(),
|
|
1331
1331
|
propName: l,
|
|
1332
1332
|
rules: T.value,
|
|
@@ -1335,9 +1335,9 @@ const fs = (e, t, r) => {
|
|
|
1335
1335
|
formItemProps: e
|
|
1336
1336
|
});
|
|
1337
1337
|
return Fr(() => {
|
|
1338
|
-
i.addField(
|
|
1338
|
+
i.addField(Ee);
|
|
1339
1339
|
}), Pr(() => {
|
|
1340
|
-
i.removeField(
|
|
1340
|
+
i.removeField(Ee);
|
|
1341
1341
|
}), {
|
|
1342
1342
|
innerValue: g,
|
|
1343
1343
|
selectModelValue: R,
|
|
@@ -1375,10 +1375,10 @@ const fs = (e, t, r) => {
|
|
|
1375
1375
|
t.value = !1;
|
|
1376
1376
|
}
|
|
1377
1377
|
};
|
|
1378
|
-
}, ps = ["data-col"], gs = { class: "label-context" }, hs = { key: 0 },
|
|
1378
|
+
}, ps = ["data-col"], gs = { class: "label-context" }, hs = { class: "label-text" }, ys = { key: 0 }, ms = {
|
|
1379
1379
|
inheritAttrs: !1
|
|
1380
|
-
},
|
|
1381
|
-
...
|
|
1380
|
+
}, vs = /* @__PURE__ */ Er({
|
|
1381
|
+
...ms,
|
|
1382
1382
|
__name: "Index",
|
|
1383
1383
|
props: {
|
|
1384
1384
|
labelLength: {},
|
|
@@ -1412,8 +1412,8 @@ const fs = (e, t, r) => {
|
|
|
1412
1412
|
emits: ["update:modelValue", "update:optionValue", "update:error", "change", "input", "select-change"],
|
|
1413
1413
|
setup(e, { expose: t, emit: r }) {
|
|
1414
1414
|
Cr((c) => ({
|
|
1415
|
-
|
|
1416
|
-
|
|
1415
|
+
v33be0a9a: s(m),
|
|
1416
|
+
v8a7d11f4: s(C)
|
|
1417
1417
|
}));
|
|
1418
1418
|
const n = e, i = r, a = Ht(), o = S(() => a.width), l = qr(), f = Zr(), w = S(() => String(n.optionsValueKey ?? "value")), j = S(() => String(n.optionsLabelKey ?? "label")), { isShow: g } = en(n), {
|
|
1419
1419
|
innerError: $,
|
|
@@ -1435,11 +1435,11 @@ const fs = (e, t, r) => {
|
|
|
1435
1435
|
changeHandler: O,
|
|
1436
1436
|
selectChangeHandler: H,
|
|
1437
1437
|
size: E,
|
|
1438
|
-
layoutType:
|
|
1438
|
+
layoutType: Pe,
|
|
1439
1439
|
formItemContainerWidth: Ue,
|
|
1440
1440
|
paddingSpace: Be,
|
|
1441
1441
|
paddingDirection: We
|
|
1442
|
-
} = ds(n, i, g), { $dasFormItem: he, isHoverInInput:
|
|
1442
|
+
} = ds(n, i, g), { $dasFormItem: he, isHoverInInput: Ee, errorModalInputMouseEnter: y, errorModallInputMouseLeave: x } = cs(), F = (c) => c === "small" || c === "default" || c === "large" ? c : void 0, X = S(() => F(a.size) ?? E.value), vr = S(
|
|
1443
1443
|
() => o.value != null && o.value !== "" || n.contentWidth != null
|
|
1444
1444
|
), br = S(() => {
|
|
1445
1445
|
const c = { ...a };
|
|
@@ -1458,10 +1458,10 @@ const fs = (e, t, r) => {
|
|
|
1458
1458
|
if (!c) return;
|
|
1459
1459
|
const p = Math.floor(Number(q.cols));
|
|
1460
1460
|
if (!Number.isFinite(p) || p <= 0) return;
|
|
1461
|
-
const Z = $r.value,
|
|
1461
|
+
const Z = $r.value, Ce = L.value ?? "0px";
|
|
1462
1462
|
if (!(typeof Z == "string" && (Z.trim().startsWith("calc(") || /^-?\d+(?:\.\d+)?[a-z%]+$/i.test(Z.trim())))) return;
|
|
1463
1463
|
if (c >= p)
|
|
1464
|
-
return `calc(100% - ${
|
|
1464
|
+
return `calc(100% - ${Ce})`;
|
|
1465
1465
|
const ye = [];
|
|
1466
1466
|
for (let te = 0; te < p; te += 1) ye.push(Z);
|
|
1467
1467
|
const v = `((100% - (${ye.join(" + ")})) / ${p})`, Ge = [];
|
|
@@ -1478,7 +1478,7 @@ const fs = (e, t, r) => {
|
|
|
1478
1478
|
marginRight: Tr.value ?? L.value,
|
|
1479
1479
|
marginBottom: J.value,
|
|
1480
1480
|
alignItems: n.alignItems,
|
|
1481
|
-
gridColumn:
|
|
1481
|
+
gridColumn: Pe.value.isGrid && n.col ? `span ${Math.min(n.col, q.cols || 1)}` : void 0,
|
|
1482
1482
|
flex: se.value ? `0 0 ${se.value}` : void 0,
|
|
1483
1483
|
width: se.value ?? Ue.value,
|
|
1484
1484
|
maxWidth: se.value
|
|
@@ -1492,40 +1492,48 @@ const fs = (e, t, r) => {
|
|
|
1492
1492
|
width: q.labelPosition === "top" ? "100%" : void 0
|
|
1493
1493
|
}));
|
|
1494
1494
|
return t({ $treeSelect: l, $cascader: f }), (c, p) => {
|
|
1495
|
-
var Z,
|
|
1495
|
+
var Z, Ce, Ke, ye;
|
|
1496
1496
|
return I(), D("div", {
|
|
1497
1497
|
class: me(["das-ui-form-item", [s(oe), s(q).labelPosition, s(q).alignType]]),
|
|
1498
|
-
style:
|
|
1498
|
+
style: Me(Vr.value),
|
|
1499
1499
|
"data-col": e.col
|
|
1500
1500
|
}, [
|
|
1501
|
-
|
|
1501
|
+
ve(
|
|
1502
1502
|
"div",
|
|
1503
1503
|
{
|
|
1504
1504
|
ref: "formLabelRef",
|
|
1505
1505
|
class: me(["das-ui-form-item-label", `size-${s(E)}`]),
|
|
1506
|
-
style:
|
|
1506
|
+
style: Me(jr.value)
|
|
1507
1507
|
},
|
|
1508
1508
|
[
|
|
1509
|
-
|
|
1509
|
+
ve(
|
|
1510
1510
|
"div",
|
|
1511
1511
|
{
|
|
1512
1512
|
class: me(["label", { "has-help": e.helpMessage }])
|
|
1513
1513
|
},
|
|
1514
1514
|
[
|
|
1515
1515
|
ht((I(), D("div", gs, [
|
|
1516
|
-
|
|
1516
|
+
ve(
|
|
1517
1517
|
"span",
|
|
1518
1518
|
{
|
|
1519
1519
|
class: me(["label-context-inner", { "required-mark": e.required }])
|
|
1520
1520
|
},
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1521
|
+
[
|
|
1522
|
+
ve(
|
|
1523
|
+
"span",
|
|
1524
|
+
hs,
|
|
1525
|
+
yt(e.label),
|
|
1526
|
+
1
|
|
1527
|
+
/* TEXT */
|
|
1528
|
+
)
|
|
1529
|
+
],
|
|
1530
|
+
2
|
|
1531
|
+
/* CLASS */
|
|
1524
1532
|
)
|
|
1525
1533
|
])), [
|
|
1526
1534
|
[s(vt)]
|
|
1527
1535
|
]),
|
|
1528
|
-
e.showColon ? (I(), D("span",
|
|
1536
|
+
e.showColon ? (I(), D("span", ys, ":")) : z("v-if", !0),
|
|
1529
1537
|
e.helpMessage || c.$slots.helpContent ? (I(), He(s(Wr), U({
|
|
1530
1538
|
key: 1,
|
|
1531
1539
|
effect: "light",
|
|
@@ -1533,7 +1541,7 @@ const fs = (e, t, r) => {
|
|
|
1533
1541
|
content: e.helpMessage
|
|
1534
1542
|
}, e.tooltipAttrs), mt({
|
|
1535
1543
|
default: le(() => [
|
|
1536
|
-
W(s(
|
|
1544
|
+
W(s(_r), {
|
|
1537
1545
|
class: me(["help-icon", { "no-required": !e.required }]),
|
|
1538
1546
|
iconColor: "var(--upf-text-secondary)",
|
|
1539
1547
|
size: "medium"
|
|
@@ -1558,13 +1566,13 @@ const fs = (e, t, r) => {
|
|
|
1558
1566
|
6
|
|
1559
1567
|
/* CLASS, STYLE */
|
|
1560
1568
|
),
|
|
1561
|
-
|
|
1569
|
+
ve(
|
|
1562
1570
|
"div",
|
|
1563
1571
|
{
|
|
1564
1572
|
ref_key: "$dasFormItem",
|
|
1565
1573
|
ref: he,
|
|
1566
1574
|
class: "das-ui-form-container",
|
|
1567
|
-
style:
|
|
1575
|
+
style: Me(Sr.value),
|
|
1568
1576
|
onMouseenter: p[16] || (p[16] = //@ts-ignore
|
|
1569
1577
|
(...v) => s(y) && s(y)(...v)),
|
|
1570
1578
|
onMouseleave: p[17] || (p[17] = //@ts-ignore
|
|
@@ -1693,7 +1701,7 @@ const fs = (e, t, r) => {
|
|
|
1693
1701
|
width: "100%",
|
|
1694
1702
|
fieldNames: {
|
|
1695
1703
|
value: (Z = e.optionsValueKey) == null ? void 0 : Z.toString(),
|
|
1696
|
-
label: (
|
|
1704
|
+
label: (Ce = e.optionsLabelKey) == null ? void 0 : Ce.toString()
|
|
1697
1705
|
},
|
|
1698
1706
|
onChange: s(O),
|
|
1699
1707
|
formSize: s(E)
|
|
@@ -1920,7 +1928,7 @@ const fs = (e, t, r) => {
|
|
|
1920
1928
|
{
|
|
1921
1929
|
key: 0,
|
|
1922
1930
|
class: "error-label",
|
|
1923
|
-
style:
|
|
1931
|
+
style: Me({ width: o.value && typeof o.value == "string" ? o.value : "100%" })
|
|
1924
1932
|
},
|
|
1925
1933
|
[
|
|
1926
1934
|
Mr(
|
|
@@ -1933,7 +1941,7 @@ const fs = (e, t, r) => {
|
|
|
1933
1941
|
/* STYLE */
|
|
1934
1942
|
)), [
|
|
1935
1943
|
[s(vt)]
|
|
1936
|
-
]) : s(
|
|
1944
|
+
]) : s(Ee) ? (I(), He(s(Qr), {
|
|
1937
1945
|
key: 1,
|
|
1938
1946
|
errorLabel: s($),
|
|
1939
1947
|
getEl: () => s(he),
|
|
@@ -1951,13 +1959,13 @@ const fs = (e, t, r) => {
|
|
|
1951
1959
|
], 14, ps);
|
|
1952
1960
|
};
|
|
1953
1961
|
}
|
|
1954
|
-
}),
|
|
1962
|
+
}), bs = (e, t) => {
|
|
1955
1963
|
const r = e.__vccOpts || e;
|
|
1956
1964
|
for (const [n, i] of t)
|
|
1957
1965
|
r[n] = i;
|
|
1958
1966
|
return r;
|
|
1959
|
-
},
|
|
1967
|
+
}, ws = /* @__PURE__ */ bs(vs, [["__scopeId", "data-v-991c421d"]]), Us = Or(ws), Bs = { title: "表单项" };
|
|
1960
1968
|
export {
|
|
1961
|
-
|
|
1962
|
-
|
|
1969
|
+
Us as DasFormItem,
|
|
1970
|
+
Bs as default
|
|
1963
1971
|
};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-form-item[data-v-
|
|
1
|
+
.das-ui-form-item[data-v-991c421d]{display:flex;flex-direction:column;min-width:0}.das-ui-form-item.marin-right-0[data-v-991c421d]{margin-right:0!important}.das-ui-form-item.top[data-v-991c421d]{align-items:flex-start!important}.das-ui-form-item.top .das-ui-form-item-label[data-v-991c421d]{margin-bottom:3px;margin-right:0!important}.das-ui-form-item.left[data-v-991c421d]{flex-direction:row}.das-ui-form-item.left .das-ui-form-item-label[data-v-991c421d]{text-align:left}.das-ui-form-item.right[data-v-991c421d]{flex-direction:row}.das-ui-form-item.right .das-ui-form-item-label[data-v-991c421d]{text-align:right}.das-ui-form-item.right .das-ui-form-item-label .label[data-v-991c421d]{width:100%;max-width:100%}.das-ui-form-item.right .das-ui-form-item-label .label .label-context .label-context-inner[data-v-991c421d]{justify-content:flex-end}.das-ui-form-item.flex-layout[data-v-991c421d]{width:100%}.das-ui-form-item .das-ui-form-item-label[data-v-991c421d]{flex-shrink:0}.das-ui-form-item .das-ui-form-item-label.size-small[data-v-991c421d]{height:24px;line-height:24px;font-size:12px}.das-ui-form-item .das-ui-form-item-label.size-default[data-v-991c421d]{height:32px;line-height:32px;font-size:14px}.das-ui-form-item .das-ui-form-item-label.size-large[data-v-991c421d]{height:40px;line-height:40px;font-size:14px}.das-ui-form-item .das-ui-form-item-label .label[data-v-991c421d]{width:fit-content;position:relative;max-width:100%;display:flex;align-items:center;color:var(--upf-text-secondary)}.das-ui-form-item .das-ui-form-item-label .label .label-context[data-v-991c421d]{width:100%;min-width:0;flex:1 1 auto}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner[data-v-991c421d]{position:relative;display:flex;align-items:center;justify-content:flex-start;min-width:0;max-width:100%;box-sizing:border-box}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner.required-mark[data-v-991c421d]{position:relative}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner.required-mark[data-v-991c421d]:before{content:"*";position:static;flex:0 0 var(--v33be0a9a);width:var(--v33be0a9a);line-height:inherit;color:var(--upf-color-error);font-weight:700}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner .label-text[data-v-991c421d]{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.das-ui-form-item .das-ui-form-item-label .label .help-icon-container[data-v-991c421d]{height:100%;display:flex;align-items:center;justify-content:center}.das-ui-form-item .das-ui-form-container[data-v-991c421d]{flex:1;min-width:0;display:flex;position:relative}.das-ui-form-item .das-ui-form-container .error-label[data-v-991c421d]{position:absolute;height:22px;width:100%;font-size:12px;left:0;top:100%;line-height:18px;font-weight:400;letter-spacing:0;color:var(--upf-message-error-text, var(--upf-color-error));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-form-item .das-ui-form-container .error-label--overlay[data-v-991c421d]{position:absolute;width:100%;left:0;top:100%;background-color:var(--upf-message-error-bg, var(--upf-bg-primary));box-shadow:var(--upf-box-shadow-elevated, 0 4px 12px rgba(38, 38, 38, .12));border-radius:var(--upf-border-radius, 4px);padding:2px 8px;box-sizing:border-box;font-size:12px;z-index:99;color:var(--upf-message-error-text, var(--upf-color-error))}.das-form-item-overlay-error-label-content[data-v-991c421d]{position:absolute;top:100%;left:0;width:var(--v8a7d11f4)}.das-ui-form-item.flex-layout .das-ui-form-container .das-ui-input{width:100%}
|
|
Binary file
|
package/release-meta.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"packageName": "@das-fed/upf-ui",
|
|
3
|
-
"releaseVersion": "6.4.0-dev.
|
|
3
|
+
"releaseVersion": "6.4.0-dev.304",
|
|
4
4
|
"distTag": "dev",
|
|
5
5
|
"releaseType": "publish",
|
|
6
|
-
"publishedAt": "2026-08-
|
|
6
|
+
"publishedAt": "2026-08-31T06:47:13.567Z",
|
|
7
7
|
"sourceBranch": "dev",
|
|
8
|
-
"sourceCommit": "
|
|
9
|
-
"gitTag": "upf-release/v6.4.0-dev.
|
|
8
|
+
"sourceCommit": "d3e3eac74eb2b209b9349887532b6f5b47a192d9",
|
|
9
|
+
"gitTag": "upf-release/v6.4.0-dev.304",
|
|
10
10
|
"gitRemote": "origin",
|
|
11
11
|
"gitRemoteUrl": "http://gitlab.dasiot.cn/foundation/frontend/framework.git",
|
|
12
12
|
"releaseStatus": "success"
|