@fox-js/foxui 4.0.1-51 → 4.0.1-53
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/dist/index.cjs.js +3 -3
- package/dist/index.esm.js +13 -6
- package/dist/index.umd.js +3 -3
- package/dist/locale/index.esm.js +1 -1
- package/dist/locale/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import Pt from "@fox-js/validator";
|
|
|
3
3
|
import { Left as Zn, RectUp as ka, CircleClose as gt, Close as xt, ArrowRight as kn, MoreH as _s, Loading as Dt, Checklist as Ca, Date as Aa, CheckNormal as nl, CheckChecked as ei, Checked as ol, CheckDisabled as ti, Loading1 as ni, StarFillN as oi, Search2 as li, Minus as ai, Plus as si, Uploader as ii, Right as ll, Image as ri, ImageError as ui, ArrowUp2 as $a, ArrowDown2 as Ta, Check as Na, JoySmile as ci, Tips as xa, Photograph as di, Failure as Da, Del as Va, Link as fi, Top as hi, Success as mi, Service as pi, Notice as gi, DownArrow as Ia, TriangleUp as yi, TriangleDown as vi, Location as bi, Location2 as Si, Edit as wi, Fabulous as ki, Comment as Ci, MoreX as Ai } from "@fox-js/icons-vue";
|
|
4
4
|
import { useFoxI18n as $e } from "@fox-js/i18n";
|
|
5
5
|
/*!
|
|
6
|
-
* @fox-js/foxui-base v4.0.0 Mon May 27 2024 00:
|
|
6
|
+
* @fox-js/foxui-base v4.0.0 Mon May 27 2024 16:00:34 GMT+0800 (中国标准时间)
|
|
7
7
|
*/
|
|
8
8
|
const Nn = window, $i = typeof window < "u";
|
|
9
9
|
function Ti() {
|
|
@@ -10115,7 +10115,7 @@ const la = {
|
|
|
10115
10115
|
},
|
|
10116
10116
|
// model value
|
|
10117
10117
|
modelValue: {
|
|
10118
|
-
type: [Number, String,
|
|
10118
|
+
type: [Number, String, Object],
|
|
10119
10119
|
default: ""
|
|
10120
10120
|
}
|
|
10121
10121
|
};
|
|
@@ -10169,6 +10169,8 @@ function Of(e, t, l, n, o) {
|
|
|
10169
10169
|
m.value = C;
|
|
10170
10170
|
} else
|
|
10171
10171
|
m.value = p;
|
|
10172
|
+
else
|
|
10173
|
+
m.value = [];
|
|
10172
10174
|
}
|
|
10173
10175
|
},
|
|
10174
10176
|
{ immediate: !0 }
|
|
@@ -10689,6 +10691,8 @@ function _f(e, t, l, n, o) {
|
|
|
10689
10691
|
m.value = C;
|
|
10690
10692
|
} else
|
|
10691
10693
|
m.value = p;
|
|
10694
|
+
else
|
|
10695
|
+
m.value = [];
|
|
10692
10696
|
}
|
|
10693
10697
|
},
|
|
10694
10698
|
{ immediate: !0 }
|
|
@@ -10800,7 +10804,7 @@ function _f(e, t, l, n, o) {
|
|
|
10800
10804
|
}
|
|
10801
10805
|
const { componentName: eh, create: th, scope: nh } = le("checkbox-item"), oh = th(_f(eh, nh, tt, Ts, $s)), Ro = {
|
|
10802
10806
|
modelValue: {
|
|
10803
|
-
type: [String,
|
|
10807
|
+
type: [String, Boolean, Number],
|
|
10804
10808
|
default: !1
|
|
10805
10809
|
},
|
|
10806
10810
|
disabled: {
|
|
@@ -11678,7 +11682,7 @@ const vt = /* @__PURE__ */ he(Kh, [["render", Hh]]), Uh = {
|
|
|
11678
11682
|
let $ = D.target.value;
|
|
11679
11683
|
n.maxLength && $.length > Number(n.maxLength) && ($ = $.slice(0, Number(n.maxLength))), m.value = {}, a("blur", $, D);
|
|
11680
11684
|
}, v = (D) => {
|
|
11681
|
-
|
|
11685
|
+
a("update:modelValue", "", D), a("change", "", D), a("clear", "");
|
|
11682
11686
|
}, y = w(() => String(n.modelValue).length > 0), d = w(() => {
|
|
11683
11687
|
const D = {};
|
|
11684
11688
|
return y.value || (D.display = "none"), D;
|
|
@@ -11706,6 +11710,7 @@ const vt = /* @__PURE__ */ he(Kh, [["render", Hh]]), Uh = {
|
|
|
11706
11710
|
D.push(M);
|
|
11707
11711
|
}
|
|
11708
11712
|
const V = {
|
|
11713
|
+
class: `${e}__input-inner-input`,
|
|
11709
11714
|
ref: T,
|
|
11710
11715
|
style: C.value,
|
|
11711
11716
|
type: n.inputType,
|
|
@@ -11791,8 +11796,10 @@ const vt = /* @__PURE__ */ he(Kh, [["render", Hh]]), Uh = {
|
|
|
11791
11796
|
},
|
|
11792
11797
|
// model value
|
|
11793
11798
|
modelValue: {
|
|
11794
|
-
type: [Array, Number,
|
|
11795
|
-
default
|
|
11799
|
+
type: [Array, Number, String, Object],
|
|
11800
|
+
default() {
|
|
11801
|
+
return [];
|
|
11802
|
+
}
|
|
11796
11803
|
},
|
|
11797
11804
|
// visible
|
|
11798
11805
|
visible: {
|