@fox-js/foxui 4.0.1-52 → 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 +9 -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
|
|
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
|
};
|
|
@@ -10804,7 +10804,7 @@ function _f(e, t, l, n, o) {
|
|
|
10804
10804
|
}
|
|
10805
10805
|
const { componentName: eh, create: th, scope: nh } = le("checkbox-item"), oh = th(_f(eh, nh, tt, Ts, $s)), Ro = {
|
|
10806
10806
|
modelValue: {
|
|
10807
|
-
type: [String,
|
|
10807
|
+
type: [String, Boolean, Number],
|
|
10808
10808
|
default: !1
|
|
10809
10809
|
},
|
|
10810
10810
|
disabled: {
|
|
@@ -11682,7 +11682,7 @@ const vt = /* @__PURE__ */ he(Kh, [["render", Hh]]), Uh = {
|
|
|
11682
11682
|
let $ = D.target.value;
|
|
11683
11683
|
n.maxLength && $.length > Number(n.maxLength) && ($ = $.slice(0, Number(n.maxLength))), m.value = {}, a("blur", $, D);
|
|
11684
11684
|
}, v = (D) => {
|
|
11685
|
-
|
|
11685
|
+
a("update:modelValue", "", D), a("change", "", D), a("clear", "");
|
|
11686
11686
|
}, y = w(() => String(n.modelValue).length > 0), d = w(() => {
|
|
11687
11687
|
const D = {};
|
|
11688
11688
|
return y.value || (D.display = "none"), D;
|
|
@@ -11710,6 +11710,7 @@ const vt = /* @__PURE__ */ he(Kh, [["render", Hh]]), Uh = {
|
|
|
11710
11710
|
D.push(M);
|
|
11711
11711
|
}
|
|
11712
11712
|
const V = {
|
|
11713
|
+
class: `${e}__input-inner-input`,
|
|
11713
11714
|
ref: T,
|
|
11714
11715
|
style: C.value,
|
|
11715
11716
|
type: n.inputType,
|
|
@@ -11795,8 +11796,10 @@ const vt = /* @__PURE__ */ he(Kh, [["render", Hh]]), Uh = {
|
|
|
11795
11796
|
},
|
|
11796
11797
|
// model value
|
|
11797
11798
|
modelValue: {
|
|
11798
|
-
type: [Array, Number,
|
|
11799
|
-
default
|
|
11799
|
+
type: [Array, Number, String, Object],
|
|
11800
|
+
default() {
|
|
11801
|
+
return [];
|
|
11802
|
+
}
|
|
11800
11803
|
},
|
|
11801
11804
|
// visible
|
|
11802
11805
|
visible: {
|