@das-fed/ui 6.4.0-dev.73 → 6.4.0-dev.74
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 +6 -6
- package/packages/business-components/change-pwd/index.js +12 -8
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/currency-page/index.js +1 -1
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/index.js +11 -11
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/index.js +30 -30
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/i18n/index.d.ts +5 -5
- package/packages/business-components/import-button/index.js +37 -37
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/index.js +100 -100
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/payment/index.js +9 -9
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +0 -10
- package/packages/business-components/process-configuration/index.js +26 -32
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-form/index.js +1 -1
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +2 -2
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +98 -98
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/components/checkbox/index.js +149 -137
- 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/image-upload/index.js +1 -1
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.js +77 -78
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/live-player/index.js +142 -142
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/map/index.js +34 -34
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/table/index.js +942 -948
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/image-viewer/i18n/index.d.ts +0 -2
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/map/style.css';
|
|
2
|
-
import { ref as S, defineComponent as Ae, shallowRef as I, computed as Se, onMounted as Oe, openBlock as Te, createElementBlock as $e, normalizeStyle as je, createElementVNode as W, withDirectives as Z, createVNode as de, unref as D, withKeys as Le, h as Qt, render as ea, isRef as ta, vShow as
|
|
2
|
+
import { ref as S, defineComponent as Ae, shallowRef as I, computed as Se, onMounted as Oe, openBlock as Te, createElementBlock as $e, normalizeStyle as je, createElementVNode as W, withDirectives as Z, createVNode as de, unref as D, withKeys as Le, h as Qt, render as ea, isRef as ta, vShow as Ke, withCtx as aa, createTextVNode as oa, toDisplayString as ra } from "vue";
|
|
3
3
|
import { withInstall as Ee } from "@das-fed/utils/with-install/index";
|
|
4
4
|
import { ElAutocomplete as Pe, ElLoadingDirective as ke } from "element-plus/es";
|
|
5
5
|
import "element-plus/es/components/base/style/css";
|
|
@@ -581,9 +581,9 @@ var ka = Object.prototype, Ra = ka.toString;
|
|
|
581
581
|
function Ga(e) {
|
|
582
582
|
return Ra.call(e);
|
|
583
583
|
}
|
|
584
|
-
var Ba = "[object Null]", Da = "[object Undefined]",
|
|
584
|
+
var Ba = "[object Null]", Da = "[object Undefined]", Fe = ee ? ee.toStringTag : void 0;
|
|
585
585
|
function se(e) {
|
|
586
|
-
return e == null ? e === void 0 ? Da : Ba :
|
|
586
|
+
return e == null ? e === void 0 ? Da : Ba : Fe && Fe in Object(e) ? Pa(e) : Ga(e);
|
|
587
587
|
}
|
|
588
588
|
function Y(e) {
|
|
589
589
|
var t = typeof e;
|
|
@@ -600,10 +600,10 @@ var me = te["__core-js_shared__"], Ie = function() {
|
|
|
600
600
|
var e = /[^.]+$/.exec(me && me.keys && me.keys.IE_PROTO || "");
|
|
601
601
|
return e ? "Symbol(src)_1." + e : "";
|
|
602
602
|
}();
|
|
603
|
-
function
|
|
603
|
+
function Ka(e) {
|
|
604
604
|
return !!Ie && Ie in e;
|
|
605
605
|
}
|
|
606
|
-
var
|
|
606
|
+
var Fa = Function.prototype, Ia = Fa.toString;
|
|
607
607
|
function Ha(e) {
|
|
608
608
|
if (e != null) {
|
|
609
609
|
try {
|
|
@@ -621,7 +621,7 @@ var Ja = /[\\^$.*+?()[\]{}|]/g, Za = /^\[object .+?Constructor\]$/, Wa = Functio
|
|
|
621
621
|
"^" + Ya.call(Xa).replace(Ja, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
622
622
|
);
|
|
623
623
|
function eo(e) {
|
|
624
|
-
if (!Y(e) ||
|
|
624
|
+
if (!Y(e) || Ka(e))
|
|
625
625
|
return !1;
|
|
626
626
|
var t = De(e) ? Qa : Za;
|
|
627
627
|
return t.test(Ha(e));
|
|
@@ -831,14 +831,14 @@ function Bo(e) {
|
|
|
831
831
|
function Do() {
|
|
832
832
|
return !1;
|
|
833
833
|
}
|
|
834
|
-
var wt = typeof exports == "object" && exports && !exports.nodeType && exports, Ye = wt && typeof module == "object" && module && !module.nodeType && module, zo = Ye && Ye.exports === wt, Xe = zo ? te.Buffer : void 0, No = Xe ? Xe.isBuffer : void 0, xt = No || Do, Uo = "[object Object]", Vo = Function.prototype,
|
|
834
|
+
var wt = typeof exports == "object" && exports && !exports.nodeType && exports, Ye = wt && typeof module == "object" && module && !module.nodeType && module, zo = Ye && Ye.exports === wt, Xe = zo ? te.Buffer : void 0, No = Xe ? Xe.isBuffer : void 0, xt = No || Do, Uo = "[object Object]", Vo = Function.prototype, Ko = Object.prototype, Mt = Vo.toString, Fo = Ko.hasOwnProperty, Io = Mt.call(Object);
|
|
835
835
|
function Ho(e) {
|
|
836
836
|
if (!re(e) || se(e) != Uo)
|
|
837
837
|
return !1;
|
|
838
838
|
var t = yt(e);
|
|
839
839
|
if (t === null)
|
|
840
840
|
return !0;
|
|
841
|
-
var a =
|
|
841
|
+
var a = Fo.call(t, "constructor") && t.constructor;
|
|
842
842
|
return typeof a == "function" && a instanceof a && Mt.call(a) == Io;
|
|
843
843
|
}
|
|
844
844
|
var Jo = "[object Arguments]", Zo = "[object Array]", Wo = "[object Boolean]", qo = "[object Date]", Yo = "[object Error]", Xo = "[object Function]", Qo = "[object Map]", er = "[object Number]", tr = "[object Object]", ar = "[object RegExp]", or = "[object Set]", rr = "[object String]", nr = "[object WeakMap]", lr = "[object ArrayBuffer]", ur = "[object DataView]", ir = "[object Float32Array]", cr = "[object Float64Array]", sr = "[object Int8Array]", dr = "[object Int16Array]", fr = "[object Int32Array]", vr = "[object Uint8Array]", gr = "[object Uint8ClampedArray]", pr = "[object Uint16Array]", hr = "[object Uint32Array]", E = {};
|
|
@@ -995,19 +995,19 @@ function Ur(e) {
|
|
|
995
995
|
};
|
|
996
996
|
}
|
|
997
997
|
var Vr = Ur(Br);
|
|
998
|
-
function
|
|
998
|
+
function Kr(e, t) {
|
|
999
999
|
return Vr(Rr(e, t, $t), e + "");
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function Fr(e, t, a) {
|
|
1002
1002
|
if (!Y(a))
|
|
1003
1003
|
return !1;
|
|
1004
1004
|
var r = typeof t;
|
|
1005
1005
|
return (r == "number" ? Ue(a) && St(t, a.length) : r == "string" && t in a) ? ge(a[t], e) : !1;
|
|
1006
1006
|
}
|
|
1007
1007
|
function Ir(e) {
|
|
1008
|
-
return
|
|
1008
|
+
return Kr(function(t, a) {
|
|
1009
1009
|
var r = -1, u = a.length, l = u > 1 ? a[u - 1] : void 0, n = u > 2 ? a[2] : void 0;
|
|
1010
|
-
for (l = e.length > 3 && typeof l == "function" ? (u--, l) : void 0, n &&
|
|
1010
|
+
for (l = e.length > 3 && typeof l == "function" ? (u--, l) : void 0, n && Fr(a[0], a[1], n) && (l = u < 3 ? void 0 : l, u = 1), t = Object(t); ++r < u; ) {
|
|
1011
1011
|
var o = a[r];
|
|
1012
1012
|
o && e(t, o, r, l);
|
|
1013
1013
|
}
|
|
@@ -1395,9 +1395,9 @@ var Rn = {
|
|
|
1395
1395
|
œ: "oe",
|
|
1396
1396
|
ʼn: "'n",
|
|
1397
1397
|
ſ: "s"
|
|
1398
|
-
}, Gn = kn(Rn), Bn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Dn = "\\u0300-\\u036f", zn = "\\ufe20-\\ufe2f", Nn = "\\u20d0-\\u20ff", Un = Dn + zn + Nn, Vn = "[" + Un + "]",
|
|
1399
|
-
function
|
|
1400
|
-
return e = ye(e), e && e.replace(Bn, Gn).replace(
|
|
1398
|
+
}, Gn = kn(Rn), Bn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Dn = "\\u0300-\\u036f", zn = "\\ufe20-\\ufe2f", Nn = "\\u20d0-\\u20ff", Un = Dn + zn + Nn, Vn = "[" + Un + "]", Kn = RegExp(Vn, "g");
|
|
1399
|
+
function Fn(e) {
|
|
1400
|
+
return e = ye(e), e && e.replace(Bn, Gn).replace(Kn, "");
|
|
1401
1401
|
}
|
|
1402
1402
|
var In = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
1403
1403
|
function Hn(e) {
|
|
@@ -1407,7 +1407,7 @@ var Jn = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
|
1407
1407
|
function Zn(e) {
|
|
1408
1408
|
return Jn.test(e);
|
|
1409
1409
|
}
|
|
1410
|
-
var Nt = "\\ud800-\\udfff", Wn = "\\u0300-\\u036f", qn = "\\ufe20-\\ufe2f", Yn = "\\u20d0-\\u20ff", Xn = Wn + qn + Yn, Ut = "\\u2700-\\u27bf", Vt = "a-z\\xdf-\\xf6\\xf8-\\xff", Qn = "\\xac\\xb1\\xd7\\xf7", el = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", tl = "\\u2000-\\u206f", al = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",
|
|
1410
|
+
var Nt = "\\ud800-\\udfff", Wn = "\\u0300-\\u036f", qn = "\\ufe20-\\ufe2f", Yn = "\\u20d0-\\u20ff", Xn = Wn + qn + Yn, Ut = "\\u2700-\\u27bf", Vt = "a-z\\xdf-\\xf6\\xf8-\\xff", Qn = "\\xac\\xb1\\xd7\\xf7", el = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", tl = "\\u2000-\\u206f", al = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Kt = "A-Z\\xc0-\\xd6\\xd8-\\xde", ol = "\\ufe0e\\ufe0f", Ft = Qn + el + tl + al, It = "['’]", rt = "[" + Ft + "]", rl = "[" + Xn + "]", Ht = "\\d+", nl = "[" + Ut + "]", Jt = "[" + Vt + "]", Zt = "[^" + Nt + Ft + Ht + Ut + Vt + Kt + "]", ll = "\\ud83c[\\udffb-\\udfff]", ul = "(?:" + rl + "|" + ll + ")", il = "[^" + Nt + "]", Wt = "(?:\\ud83c[\\udde6-\\uddff]){2}", qt = "[\\ud800-\\udbff][\\udc00-\\udfff]", X = "[" + Kt + "]", cl = "\\u200d", nt = "(?:" + Jt + "|" + Zt + ")", sl = "(?:" + X + "|" + Zt + ")", lt = "(?:" + It + "(?:d|ll|m|re|s|t|ve))?", ut = "(?:" + It + "(?:D|LL|M|RE|S|T|VE))?", Yt = ul + "?", Xt = "[" + ol + "]?", dl = "(?:" + cl + "(?:" + [il, Wt, qt].join("|") + ")" + Xt + Yt + ")*", fl = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", vl = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", gl = Xt + Yt + dl, pl = "(?:" + [nl, Wt, qt].join("|") + ")" + gl, hl = RegExp([
|
|
1411
1411
|
X + "?" + Jt + "+" + lt + "(?=" + [rt, X, "$"].join("|") + ")",
|
|
1412
1412
|
sl + "+" + ut + "(?=" + [rt, X + nt, "$"].join("|") + ")",
|
|
1413
1413
|
X + "?" + nt + "+" + lt,
|
|
@@ -1426,7 +1426,7 @@ function ml(e, t, a) {
|
|
|
1426
1426
|
var bl = "['’]", _l = RegExp(bl, "g");
|
|
1427
1427
|
function wl(e) {
|
|
1428
1428
|
return function(t) {
|
|
1429
|
-
return Pn(ml(
|
|
1429
|
+
return Pn(ml(Fn(t).replace(_l, "")), e, "");
|
|
1430
1430
|
};
|
|
1431
1431
|
}
|
|
1432
1432
|
var xl = wl(function(e, t, a) {
|
|
@@ -1581,7 +1581,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1581
1581
|
"location"
|
|
1582
1582
|
]
|
|
1583
1583
|
});
|
|
1584
|
-
const ne = (J = B == null ? void 0 : B.location) == null ? void 0 : J.lng(), V = (le = B == null ? void 0 : B.location) == null ? void 0 : le.lat(),
|
|
1584
|
+
const ne = (J = B == null ? void 0 : B.location) == null ? void 0 : J.lng(), V = (le = B == null ? void 0 : B.location) == null ? void 0 : le.lat(), K = {
|
|
1585
1585
|
// value: placePrediction?.text?.toString() || '',
|
|
1586
1586
|
value: B == null ? void 0 : B.formattedAddress,
|
|
1587
1587
|
point: { lng: ne, lat: V },
|
|
@@ -1589,7 +1589,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1589
1589
|
name: B == null ? void 0 : B.displayName
|
|
1590
1590
|
}
|
|
1591
1591
|
};
|
|
1592
|
-
m.push(
|
|
1592
|
+
m.push(K);
|
|
1593
1593
|
})())
|
|
1594
1594
|
), l.value = m.length > 5 ? m.slice(0, 5) : m, f(l.value, m);
|
|
1595
1595
|
};
|
|
@@ -1705,24 +1705,24 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1705
1705
|
O
|
|
1706
1706
|
);
|
|
1707
1707
|
}, m = async (V) => {
|
|
1708
|
-
const [
|
|
1709
|
-
if (
|
|
1708
|
+
const [K, J] = await Ge(V);
|
|
1709
|
+
if (K) {
|
|
1710
1710
|
s.value = !1;
|
|
1711
1711
|
return;
|
|
1712
1712
|
}
|
|
1713
|
-
if (!
|
|
1713
|
+
if (!K && !J) {
|
|
1714
1714
|
t("no-config-map", P("暂未配置地图")), s.value = !1;
|
|
1715
1715
|
return;
|
|
1716
1716
|
}
|
|
1717
1717
|
return J;
|
|
1718
1718
|
};
|
|
1719
1719
|
Oe(async () => {
|
|
1720
|
-
var V,
|
|
1720
|
+
var V, K, J, le, Ve;
|
|
1721
1721
|
if (e.defaultLongitude && e.defaultLatitude && (k.value = [e.defaultLongitude, e.defaultLatitude]), x.value = e.defaultAddress ?? "", e != null && e.sdkConfig && ((V = e == null ? void 0 : e.sdkConfig) != null && V.akValue))
|
|
1722
|
-
a.value = ((
|
|
1722
|
+
a.value = ((K = e.sdkConfig) == null ? void 0 : K.mapType) ?? "gaode", r.value = (J = e.sdkConfig) == null ? void 0 : J.akValue, u.value = (le = e.sdkConfig) == null ? void 0 : le.secretKey;
|
|
1723
1723
|
else {
|
|
1724
|
-
const
|
|
1725
|
-
|
|
1724
|
+
const F = await m((Ve = e == null ? void 0 : e.sdkConfig) == null ? void 0 : Ve.mapType);
|
|
1725
|
+
F && (a.value = (F == null ? void 0 : F.mapType) ?? "gaode", r.value = F == null ? void 0 : F.akVal, u.value = F == null ? void 0 : F.secretK);
|
|
1726
1726
|
}
|
|
1727
1727
|
M();
|
|
1728
1728
|
});
|
|
@@ -1736,8 +1736,8 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1736
1736
|
return {
|
|
1737
1737
|
mapStyle: C,
|
|
1738
1738
|
innerInput: x,
|
|
1739
|
-
getLocationByInputSearch: (V,
|
|
1740
|
-
a.value === "baidu" && h(V,
|
|
1739
|
+
getLocationByInputSearch: (V, K) => {
|
|
1740
|
+
a.value === "baidu" && h(V, K), a.value === "gaode" && $(V, K), a.value === "google" && g(V, K);
|
|
1741
1741
|
},
|
|
1742
1742
|
handleSelectAddress: (V) => {
|
|
1743
1743
|
a.value === "baidu" && A(V), a.value === "gaode" && G(V), a.value === "google" && p(V);
|
|
@@ -1810,7 +1810,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1810
1810
|
512
|
|
1811
1811
|
/* NEED_PATCH */
|
|
1812
1812
|
), [
|
|
1813
|
-
[
|
|
1813
|
+
[Ke, a.showSearch]
|
|
1814
1814
|
]),
|
|
1815
1815
|
Z(W(
|
|
1816
1816
|
"div",
|
|
@@ -1835,7 +1835,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1835
1835
|
512
|
|
1836
1836
|
/* NEED_PATCH */
|
|
1837
1837
|
), [
|
|
1838
|
-
[
|
|
1838
|
+
[Ke, D(x)]
|
|
1839
1839
|
]),
|
|
1840
1840
|
Z(W(
|
|
1841
1841
|
"div",
|
|
@@ -1861,7 +1861,7 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1861
1861
|
请输入位置: { "zh-CN": "请输入位置", en: "Please enter location", _appCode: "framework" },
|
|
1862
1862
|
获取地图配置信息失败: {
|
|
1863
1863
|
"zh-CN": "获取地图配置信息失败",
|
|
1864
|
-
en: "
|
|
1864
|
+
en: "The map configuration information failed to be obtained",
|
|
1865
1865
|
_appCode: "framework"
|
|
1866
1866
|
},
|
|
1867
1867
|
暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map Not Configured", _appCode: "framework" },
|
|
@@ -1877,16 +1877,16 @@ const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./g
|
|
|
1877
1877
|
},
|
|
1878
1878
|
获取定位失败: {
|
|
1879
1879
|
"zh-CN": "获取定位失败",
|
|
1880
|
-
en: "
|
|
1880
|
+
en: "The location failed to be obtained",
|
|
1881
1881
|
_appCode: "framework"
|
|
1882
1882
|
}
|
|
1883
1883
|
};
|
|
1884
1884
|
na(El);
|
|
1885
|
-
const
|
|
1885
|
+
const Fl = Ee(ga), Il = () => S(null), Hl = Ee(ma), Jl = () => S(null), Zl = Ee(Ll), Wl = () => S(null), ql = { title: "Map 地图" };
|
|
1886
1886
|
export {
|
|
1887
1887
|
Hl as DasBaiduMap,
|
|
1888
1888
|
Jl as DasBaiduMapRef,
|
|
1889
|
-
|
|
1889
|
+
Fl as DasGaodeMap,
|
|
1890
1890
|
Il as DasGaodeMapRef,
|
|
1891
1891
|
Zl as DasMap,
|
|
1892
1892
|
Wl as DasMapRef,
|
|
Binary file
|