@web-utils/form-ui 1.0.0-beta88 → 1.0.0-beta89
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/chunks/{BmbhIxPF2.mjs → 2t188JoC2.mjs} +1 -1
- package/chunks/{CsNZt53l.mjs → C6Qr094V.mjs} +3 -3
- package/chunks/{NAZ8HFBg.mjs → CJcEBXw-.mjs} +1 -1
- package/chunks/{5RCAxanu2.mjs → DSbWLRCq2.mjs} +1 -1
- package/chunks/{BLKcXIrX.mjs → PMFCDS7v.mjs} +1 -1
- package/chunks/{CixNVW_T2.mjs → SbDhX-Iz2.mjs} +1 -1
- package/chunks/{DL4xcGES2.mjs → Skjlt6fi2.mjs} +1 -1
- package/chunks/{Cf_h9S62.mjs → v7SkpvNZ.mjs} +32 -26
- package/dialog-form/index.mjs +1 -1
- package/form-checkbox-group/index.mjs +1 -1
- package/form-radio-group/index.mjs +1 -1
- package/form-table/index.mjs +1 -1
- package/form-table-plus/index.mjs +1 -1
- package/fy-array/index.d.ts +264 -1
- package/fy-array/index.mjs +1 -1
- package/fy-cascader/index.d.ts +264 -1
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.d.ts +264 -1
- package/fy-checkbox/index.mjs +1 -1
- package/fy-curd/index.mjs +1 -1
- package/fy-date/index.d.ts +264 -1
- package/fy-date/index.mjs +1 -1
- package/fy-dynamic/index.d.ts +264 -1
- package/fy-dynamic/index.mjs +1 -1
- package/fy-form/index.mjs +1 -1
- package/fy-input/index.d.ts +264 -1
- package/fy-input/index.mjs +1 -1
- package/fy-input-color/index.d.ts +264 -1
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.d.ts +264 -1
- package/fy-input-icon/index.mjs +1 -1
- package/fy-input-map/index.d.ts +264 -1
- package/fy-input-map/index.mjs +1 -1
- package/fy-input-number/index.d.ts +264 -1
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.d.ts +264 -1
- package/fy-input-table/index.mjs +2 -2
- package/fy-input-tree/index.d.ts +264 -1
- package/fy-input-tree/index.mjs +1 -1
- package/fy-radio/index.d.ts +264 -1
- package/fy-radio/index.mjs +1 -1
- package/fy-rate/index.d.ts +264 -1
- package/fy-rate/index.mjs +1 -1
- package/fy-select/index.d.ts +264 -1
- package/fy-select/index.mjs +1 -1
- package/fy-slider/index.d.ts +264 -1
- package/fy-slider/index.mjs +1 -1
- package/fy-switch/index.d.ts +264 -1
- package/fy-switch/index.mjs +1 -1
- package/fy-time/index.d.ts +264 -1
- package/fy-time/index.mjs +2 -2
- package/fy-title/index.d.ts +264 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +1 -1
- package/fy-upload/index.d.ts +264 -1
- package/fy-upload/index.mjs +1 -1
- package/index.mjs +9 -9
- package/package.json +1 -1
- package/resolver/index.mjs +1 -1
- package/sub-table/index.mjs +1 -1
- package/sub-table-plus/index.mjs +1 -1
- package/web-types.json +1 -1
- package/chunks/{ClkLQjZ82.mjs → BaQBwVz32.mjs} +1 -1
- package/chunks/{n7IipIUY.mjs → DYaPbj-G.mjs} +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { commonAutoBindProps as e, commonManualBindProps as t } from "../props/common.mjs";
|
|
2
2
|
import { n, o as r } from "./mQG01w6Y.mjs";
|
|
3
|
-
import { n as i, t as a } from "./
|
|
3
|
+
import { n as i, t as a } from "./Skjlt6fi2.mjs";
|
|
4
4
|
import { createVNode as o, mergeProps as s, ref as c, useModel as l } from "vue";
|
|
5
5
|
//#region src/components/table/form-table.ts
|
|
6
6
|
var u = {
|
|
@@ -4,13 +4,13 @@ import { t as n } from "./V-Js6hNd.mjs";
|
|
|
4
4
|
import { avueConfigContextKey as r } from "../constants/index.mjs";
|
|
5
5
|
import { t as i } from "./CIihGrgY.mjs";
|
|
6
6
|
import { C as a, T as o, _ as s, a as c, b as l, c as u, d, g as f, h as p, l as m, m as h, n as g, p as ee, t as te, v as _, x as ne, y as re } from "./BbUUI4mF.mjs";
|
|
7
|
-
import { a as ie, c as v, i as ae, l as oe, n as se, o as ce, r as y, s as le, t as ue, u as de } from "./
|
|
7
|
+
import { a as ie, c as v, i as ae, l as oe, n as se, o as ce, r as y, s as le, t as ue, u as de } from "./v7SkpvNZ.mjs";
|
|
8
8
|
import fe from "../fy-array/index.mjs";
|
|
9
9
|
import pe from "../fy-cascader/index.mjs";
|
|
10
10
|
import me from "../fy-checkbox/index.mjs";
|
|
11
11
|
import he from "../fy-date/index.mjs";
|
|
12
12
|
import ge from "../fy-input/index.mjs";
|
|
13
|
-
import { a as b, i as _e, n as ve, r as ye, t as be } from "./
|
|
13
|
+
import { a as b, i as _e, n as ve, r as ye, t as be } from "./CJcEBXw-.mjs";
|
|
14
14
|
import { t as xe } from "./CBHGpbDK.mjs";
|
|
15
15
|
import Se from "../icon-temp/index.mjs";
|
|
16
16
|
import Ce from "../fy-rate/index.mjs";
|
|
@@ -23,7 +23,7 @@ import ke from "../fy-slider/index.mjs";
|
|
|
23
23
|
import Ae from "../fy-switch/index.mjs";
|
|
24
24
|
import je from "../fy-time/index.mjs";
|
|
25
25
|
import Me from "../fy-title/index.mjs";
|
|
26
|
-
import { t as Ne } from "./
|
|
26
|
+
import { t as Ne } from "./PMFCDS7v.mjs";
|
|
27
27
|
import Pe from "../fy-input-tree/index.mjs";
|
|
28
28
|
import { ElButtonGroup as Fe, ElCard as Ie, ElCheckbox as Le, ElCol as x, ElCollapse as Re, ElCollapseItem as ze, ElDrawer as S, ElDropdown as Be, ElDropdownItem as Ve, ElDropdownMenu as He, ElEmpty as Ue, ElForm as We, ElFormItem as C, ElLink as Ge, ElLoadingDirective as Ke, ElPagination as qe, ElRow as Je, ElTabPane as Ye, ElTable as Xe, ElTableColumn as w, ElTabs as Ze, ElTag as Qe, ElTooltip as $e } from "element-plus/es";
|
|
29
29
|
import "element-plus/es/components/base/style/css";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./B1MSrc6f.mjs";
|
|
2
2
|
import { f as t, s as n } from "./BbUUI4mF.mjs";
|
|
3
|
-
import { n as r, t as i } from "./
|
|
3
|
+
import { n as r, t as i } from "./v7SkpvNZ.mjs";
|
|
4
4
|
import { t as a } from "./CBHGpbDK.mjs";
|
|
5
5
|
import { ElCheckbox as o, ElOption as s, ElOptionGroup as c, ElSelect as l } from "element-plus/es";
|
|
6
6
|
import "element-plus/es/components/base/style/css";
|
|
@@ -2,7 +2,7 @@ import { i as e } from "./ClVh1Lek.mjs";
|
|
|
2
2
|
import { commonAutoBindProps as t, commonManualBindProps as n } from "../props/common.mjs";
|
|
3
3
|
import { n as r, o as i } from "./mQG01w6Y.mjs";
|
|
4
4
|
import { n as a } from "./DC3DNg_r.mjs";
|
|
5
|
-
import { n as o, t as s } from "./
|
|
5
|
+
import { n as o, t as s } from "./SbDhX-Iz2.mjs";
|
|
6
6
|
import { computed as c, createVNode as l, getCurrentInstance as u, mergeProps as d, useModel as f, useTemplateRef as p } from "vue";
|
|
7
7
|
import { isArray as m, isString as h, trace as g, warning as _ } from "@web-utils/core";
|
|
8
8
|
import { useEventBus as v } from "@web-utils/vue/hooks/useEventBus";
|
|
@@ -3,7 +3,7 @@ import { t } from "./B1MSrc6f.mjs";
|
|
|
3
3
|
import { avueConfigContextKey as n } from "../constants/index.mjs";
|
|
4
4
|
import { t as r } from "./CIihGrgY.mjs";
|
|
5
5
|
import { d as i, i as a } from "./BbUUI4mF.mjs";
|
|
6
|
-
import { n as o, t as s } from "./
|
|
6
|
+
import { n as o, t as s } from "./v7SkpvNZ.mjs";
|
|
7
7
|
import { t as c } from "./CBHGpbDK.mjs";
|
|
8
8
|
import { ElLoadingDirective as l, ElUpload as u } from "element-plus/es";
|
|
9
9
|
import "element-plus/es/components/base/style/css";
|
|
@@ -8,7 +8,7 @@ import { n as o } from "./mQG01w6Y.mjs";
|
|
|
8
8
|
import { t as s } from "./D20CQ-B6.mjs";
|
|
9
9
|
import { t as c } from "./aOv3rI7q.mjs";
|
|
10
10
|
import { t as l } from "./DC3DNg_r.mjs";
|
|
11
|
-
import { t as u } from "./
|
|
11
|
+
import { t as u } from "./DYaPbj-G.mjs";
|
|
12
12
|
import { t as d } from "./D2kLAzxW.mjs";
|
|
13
13
|
import { t as f } from "./9ec0Wti82.mjs";
|
|
14
14
|
import { t as p } from "./Bv7b2DXh2.mjs";
|
|
@@ -5,7 +5,7 @@ import { t as r } from "./tzjUpVIj.mjs";
|
|
|
5
5
|
import { n as i } from "./mQG01w6Y.mjs";
|
|
6
6
|
import { t as a } from "./D20CQ-B6.mjs";
|
|
7
7
|
import { t as o } from "./DC3DNg_r.mjs";
|
|
8
|
-
import { t as s } from "./
|
|
8
|
+
import { t as s } from "./DYaPbj-G.mjs";
|
|
9
9
|
import { t as c } from "./D2kLAzxW.mjs";
|
|
10
10
|
import { t as l } from "./9ec0Wti82.mjs";
|
|
11
11
|
import { t as u } from "./Bv7b2DXh2.mjs";
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { C as e, D as t, E as n, S as r, T as i, b as a, o, r as s, u as c, w as l, x as u, y as d } from "./BbUUI4mF.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { ElCheckbox as f, ElCheckboxButton as p, ElRadio as m, ElRadioButton as h } from "element-plus/es";
|
|
3
|
+
import "element-plus/es/components/base/style/css";
|
|
4
|
+
import { isBlank as g } from "@web-utils/core";
|
|
5
|
+
import "element-plus/es/components/checkbox/style/css";
|
|
6
|
+
import "element-plus/es/components/radio/style/css";
|
|
7
|
+
import "element-plus/es/components/checkbox-button/style/css";
|
|
8
|
+
import "element-plus/es/components/radio-button/style/css";
|
|
3
9
|
//#region src/components/avue/fy-from/crud/zh.ts
|
|
4
|
-
var
|
|
10
|
+
var _ = {
|
|
5
11
|
common: {
|
|
6
12
|
condition: "条件",
|
|
7
13
|
display: "显示",
|
|
@@ -78,7 +84,7 @@ var p = {
|
|
|
78
84
|
copyBtn: "复 制",
|
|
79
85
|
delBtn: "删 除"
|
|
80
86
|
}
|
|
81
|
-
},
|
|
87
|
+
}, v = (e, t) => {
|
|
82
88
|
t = t || "";
|
|
83
89
|
let n = t.split("."), r = e, i = null;
|
|
84
90
|
for (let e = 0, t = n.length; e < t; e++) {
|
|
@@ -91,21 +97,21 @@ var p = {
|
|
|
91
97
|
r = r[a];
|
|
92
98
|
}
|
|
93
99
|
return i;
|
|
94
|
-
},
|
|
100
|
+
}, y = (e) => v(_, e), b = (e = []) => (e.forEach((t) => {
|
|
95
101
|
let n = t.cascader;
|
|
96
|
-
if (!
|
|
102
|
+
if (!g(n)) {
|
|
97
103
|
let r = t.prop;
|
|
98
104
|
n.forEach((t) => {
|
|
99
105
|
let n = c(e, t);
|
|
100
106
|
n !== -1 && (n.parentProp = r);
|
|
101
107
|
});
|
|
102
108
|
}
|
|
103
|
-
}), e),
|
|
104
|
-
let { type: r, multiple: s, dataType: c, separator: l = ",", alone: u, emitPath:
|
|
105
|
-
return i.includes(r) && s === !0 || a.includes(r) &&
|
|
106
|
-
|
|
107
|
-
}), d.includes(r) &&
|
|
108
|
-
},
|
|
109
|
+
}), e), x = 0, S = (e, t = 12, n = !1) => (n && (x = 0), x = x + (e.span || t) + (e.offset || 0), x === 24 ? x = 0 : x > 24 ? x = (e.span || t) + (e.offset || 0) : e.row && x !== 24 && (e.count = 24 - x, x = 0), e), C = (e, t) => {
|
|
110
|
+
let { type: r, multiple: s, dataType: c, separator: l = ",", alone: u, emitPath: f, range: p } = t, m = e;
|
|
111
|
+
return i.includes(r) && s === !0 || a.includes(r) && f !== !1 || n.includes(r) && p === !0 ? (Array.isArray(m) || (m = g(m) ? [] : `${m}`.split(l) || []), m.forEach((e, t) => {
|
|
112
|
+
m[t] = o(e, c);
|
|
113
|
+
}), d.includes(r) && g(m) && u && (m = [""])) : m = o(m, c), m;
|
|
114
|
+
}, w = (e) => {
|
|
109
115
|
let t = e.type, n = e.searchRange, r = t;
|
|
110
116
|
if (e.searchType) return e.searchType;
|
|
111
117
|
if ([
|
|
@@ -118,28 +124,28 @@ var p = {
|
|
|
118
124
|
r = n ? t.includes(e) ? t : t + e : t.replace(e, "");
|
|
119
125
|
} else ["textarea"].includes(t) && (r = "input");
|
|
120
126
|
return r;
|
|
121
|
-
},
|
|
127
|
+
}, T = (e, t) => {
|
|
122
128
|
let n = e || "input";
|
|
123
|
-
if (
|
|
129
|
+
if (g(t)) d.includes(e) ? n = "array" : ["time", "timerange"].includes(e) ? n = "time" : u.includes(e) ? n = "date" : [
|
|
124
130
|
"password",
|
|
125
131
|
"textarea",
|
|
126
132
|
"search"
|
|
127
133
|
].includes(e) ? n = "input" : l.includes(e) && (n = `input-${e}`);
|
|
128
134
|
else return t;
|
|
129
135
|
return "fy-" + n;
|
|
130
|
-
},
|
|
136
|
+
}, E = (e = []) => {
|
|
131
137
|
let t = {};
|
|
132
138
|
return e.forEach((e) => {
|
|
133
139
|
a.includes(e.type) && e.emitPath !== !1 || i.includes(e.type) && e.multiple || e.dataType === "array" ? t[e.prop] = [] : n.includes(e.type) && e.range === !0 ? t[e.prop] = [0, 0] : [
|
|
134
140
|
"rate",
|
|
135
141
|
"slider",
|
|
136
142
|
"number"
|
|
137
|
-
].includes(e.type) || e.dataType === "number" ? t[e.prop] = void 0 : t[e.prop] = "", e.bind && (t = s(t, e.bind)),
|
|
143
|
+
].includes(e.type) || e.dataType === "number" ? t[e.prop] = void 0 : t[e.prop] = "", e.bind && (t = s(t, e.bind)), g(e.value) || (t[e.prop] = e.value);
|
|
138
144
|
}), { tableForm: t };
|
|
139
|
-
},
|
|
145
|
+
}, D = (e) => {
|
|
140
146
|
let n = e.placeholder, r = e.label;
|
|
141
|
-
return
|
|
142
|
-
},
|
|
147
|
+
return g(n) ? t.includes(e.type) ? `${y("tip.select")} ${r}` : `${y("tip.input")} ${r}` : n;
|
|
148
|
+
}, O = { methods: {
|
|
143
149
|
getSlotName(e = {}, t = "D", n) {
|
|
144
150
|
let r = e.prop + {
|
|
145
151
|
F: "Form",
|
|
@@ -160,8 +166,8 @@ var p = {
|
|
|
160
166
|
}), r;
|
|
161
167
|
});
|
|
162
168
|
}
|
|
163
|
-
} },
|
|
164
|
-
mixins: [
|
|
169
|
+
} }, k = {
|
|
170
|
+
mixins: [O],
|
|
165
171
|
data() {
|
|
166
172
|
return {
|
|
167
173
|
stringMode: !1,
|
|
@@ -290,10 +296,10 @@ var p = {
|
|
|
290
296
|
return this.disabled ? !1 : this.clearable;
|
|
291
297
|
},
|
|
292
298
|
componentName() {
|
|
293
|
-
return `el-${this.name}${this.button ? "-button" : ""}`;
|
|
299
|
+
return this.name === "checkbox" ? this.button ? p : f : this.name === "radio" ? this.button ? h : m : `el-${this.name}${this.button ? "-button" : ""}`;
|
|
294
300
|
},
|
|
295
301
|
required() {
|
|
296
|
-
return !
|
|
302
|
+
return !g(this.rules);
|
|
297
303
|
},
|
|
298
304
|
isArray() {
|
|
299
305
|
return this.dataType === "array";
|
|
@@ -341,15 +347,15 @@ var p = {
|
|
|
341
347
|
created() {
|
|
342
348
|
this.initVal();
|
|
343
349
|
}
|
|
344
|
-
},
|
|
350
|
+
}, A = { methods: {
|
|
345
351
|
bindEvent(e, t) {
|
|
346
352
|
t = Object.assign(t, { column: this.column }, this.tableData), typeof this[e] == "function" && (e === "change" ? this.column.cell !== !0 && this[e](t) : this[e](t)), this.$emit(e, t);
|
|
347
353
|
},
|
|
348
354
|
initVal() {
|
|
349
|
-
this.stringMode = typeof this.modelValue == "string", this.text =
|
|
355
|
+
this.stringMode = typeof this.modelValue == "string", this.text = C(this.modelValue, this);
|
|
350
356
|
},
|
|
351
357
|
getLabelText(e) {
|
|
352
|
-
return
|
|
358
|
+
return g(e) ? "" : typeof this.typeformat == "function" ? this.typeformat(e, this.labelKey, this.valueKey) : e[this.labelKey];
|
|
353
359
|
},
|
|
354
360
|
handleFocus(e) {
|
|
355
361
|
this.bindEvent("focus", {
|
|
@@ -375,4 +381,4 @@ var p = {
|
|
|
375
381
|
}
|
|
376
382
|
} };
|
|
377
383
|
//#endregion
|
|
378
|
-
export {
|
|
384
|
+
export { S as a, D as c, b as i, w as l, k as n, E as o, O as r, T as s, A as t, y as u };
|
package/dialog-form/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { t } from "../chunks/B1MSrc6f.mjs";
|
|
|
3
3
|
import { t as n } from "../chunks/V-Js6hNd.mjs";
|
|
4
4
|
import { avueConfigContextKey as r } from "../constants/index.mjs";
|
|
5
5
|
import { t as i } from "../chunks/CIihGrgY.mjs";
|
|
6
|
-
import { t as a } from "../chunks/
|
|
6
|
+
import { t as a } from "../chunks/C6Qr094V.mjs";
|
|
7
7
|
import { a as o } from "../chunks/BbUUI4mF.mjs";
|
|
8
8
|
import { ElDrawer as s } from "element-plus/es";
|
|
9
9
|
import "element-plus/es/components/base/style/css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DYaPbj-G.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/BaQBwVz32.mjs";
|
|
2
2
|
export { e as default };
|
package/form-table/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/2t188JoC2.mjs";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/
|
|
1
|
+
import { t as e } from "../chunks/DSbWLRCq2.mjs";
|
|
2
2
|
export { e as default };
|
package/fy-array/index.d.ts
CHANGED
|
@@ -195,7 +195,270 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
195
195
|
};
|
|
196
196
|
computed: {
|
|
197
197
|
clearableVal(this: any): any;
|
|
198
|
-
componentName(this: any): string
|
|
198
|
+
componentName(this: any): string | import('element-plus/es/utils/index.mjs').SFCWithInstall<{
|
|
199
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus').CheckboxProps> & Readonly<{
|
|
200
|
+
onChange?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
201
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
202
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
203
|
+
change: (val: import('element-plus').CheckboxValueType) => void;
|
|
204
|
+
"update:modelValue": (val: import('element-plus').CheckboxValueType) => void;
|
|
205
|
+
}, import('vue').PublicProps, {
|
|
206
|
+
id: string;
|
|
207
|
+
disabled: boolean;
|
|
208
|
+
modelValue: number | string | boolean;
|
|
209
|
+
validateEvent: boolean;
|
|
210
|
+
name: string;
|
|
211
|
+
value: string | boolean | number | object;
|
|
212
|
+
label: string | boolean | number | object;
|
|
213
|
+
trueValue: string | number;
|
|
214
|
+
falseValue: string | number;
|
|
215
|
+
trueLabel: string | number;
|
|
216
|
+
falseLabel: string | number;
|
|
217
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
218
|
+
P: {};
|
|
219
|
+
B: {};
|
|
220
|
+
D: {};
|
|
221
|
+
C: {};
|
|
222
|
+
M: {};
|
|
223
|
+
Defaults: {};
|
|
224
|
+
}, Readonly<import('element-plus').CheckboxProps> & Readonly<{
|
|
225
|
+
onChange?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
226
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
227
|
+
}>, {}, {}, {}, {}, {
|
|
228
|
+
id: string;
|
|
229
|
+
disabled: boolean;
|
|
230
|
+
modelValue: number | string | boolean;
|
|
231
|
+
validateEvent: boolean;
|
|
232
|
+
name: string;
|
|
233
|
+
value: string | boolean | number | object;
|
|
234
|
+
label: string | boolean | number | object;
|
|
235
|
+
trueValue: string | number;
|
|
236
|
+
falseValue: string | number;
|
|
237
|
+
trueLabel: string | number;
|
|
238
|
+
falseLabel: string | number;
|
|
239
|
+
}>;
|
|
240
|
+
__isFragment?: never;
|
|
241
|
+
__isTeleport?: never;
|
|
242
|
+
__isSuspense?: never;
|
|
243
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('element-plus').CheckboxProps> & Readonly<{
|
|
244
|
+
onChange?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
245
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxValueType) => any) | undefined;
|
|
246
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
247
|
+
change: (val: import('element-plus').CheckboxValueType) => void;
|
|
248
|
+
"update:modelValue": (val: import('element-plus').CheckboxValueType) => void;
|
|
249
|
+
}, string, {
|
|
250
|
+
id: string;
|
|
251
|
+
disabled: boolean;
|
|
252
|
+
modelValue: number | string | boolean;
|
|
253
|
+
validateEvent: boolean;
|
|
254
|
+
name: string;
|
|
255
|
+
value: string | boolean | number | object;
|
|
256
|
+
label: string | boolean | number | object;
|
|
257
|
+
trueValue: string | number;
|
|
258
|
+
falseValue: string | number;
|
|
259
|
+
trueLabel: string | number;
|
|
260
|
+
falseLabel: string | number;
|
|
261
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
262
|
+
$slots: {
|
|
263
|
+
default?: (props: {}) => any;
|
|
264
|
+
};
|
|
265
|
+
})> | import('element-plus/es/utils/index.mjs').SFCWithInstall<{
|
|
266
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus').RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
267
|
+
disabled: boolean;
|
|
268
|
+
modelValue: string | number | boolean;
|
|
269
|
+
name: string;
|
|
270
|
+
value: string | number | boolean;
|
|
271
|
+
label: string | number | boolean;
|
|
272
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
273
|
+
P: {};
|
|
274
|
+
B: {};
|
|
275
|
+
D: {};
|
|
276
|
+
C: {};
|
|
277
|
+
M: {};
|
|
278
|
+
Defaults: {};
|
|
279
|
+
}, Readonly<import('element-plus').RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
280
|
+
disabled: boolean;
|
|
281
|
+
modelValue: string | number | boolean;
|
|
282
|
+
name: string;
|
|
283
|
+
value: string | number | boolean;
|
|
284
|
+
label: string | number | boolean;
|
|
285
|
+
}>;
|
|
286
|
+
__isFragment?: never;
|
|
287
|
+
__isTeleport?: never;
|
|
288
|
+
__isSuspense?: never;
|
|
289
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('element-plus').RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
290
|
+
disabled: boolean;
|
|
291
|
+
modelValue: string | number | boolean;
|
|
292
|
+
name: string;
|
|
293
|
+
value: string | number | boolean;
|
|
294
|
+
label: string | number | boolean;
|
|
295
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
296
|
+
$slots: {
|
|
297
|
+
default?: (props: {}) => any;
|
|
298
|
+
};
|
|
299
|
+
})> | ({
|
|
300
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus').RadioProps> & Readonly<{
|
|
301
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
302
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
303
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
304
|
+
change: (val: string | number | boolean | undefined) => void;
|
|
305
|
+
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
306
|
+
}, import('vue').PublicProps, {
|
|
307
|
+
disabled: boolean;
|
|
308
|
+
modelValue: string | number | boolean;
|
|
309
|
+
name: string;
|
|
310
|
+
value: string | number | boolean;
|
|
311
|
+
border: boolean;
|
|
312
|
+
label: string | number | boolean;
|
|
313
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
314
|
+
P: {};
|
|
315
|
+
B: {};
|
|
316
|
+
D: {};
|
|
317
|
+
C: {};
|
|
318
|
+
M: {};
|
|
319
|
+
Defaults: {};
|
|
320
|
+
}, Readonly<import('element-plus').RadioProps> & Readonly<{
|
|
321
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
322
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
323
|
+
}>, {}, {}, {}, {}, {
|
|
324
|
+
disabled: boolean;
|
|
325
|
+
modelValue: string | number | boolean;
|
|
326
|
+
name: string;
|
|
327
|
+
value: string | number | boolean;
|
|
328
|
+
border: boolean;
|
|
329
|
+
label: string | number | boolean;
|
|
330
|
+
}>;
|
|
331
|
+
__isFragment?: never;
|
|
332
|
+
__isTeleport?: never;
|
|
333
|
+
__isSuspense?: never;
|
|
334
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('element-plus').RadioProps> & Readonly<{
|
|
335
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
336
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
337
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
338
|
+
change: (val: string | number | boolean | undefined) => void;
|
|
339
|
+
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
340
|
+
}, string, {
|
|
341
|
+
disabled: boolean;
|
|
342
|
+
modelValue: string | number | boolean;
|
|
343
|
+
name: string;
|
|
344
|
+
value: string | number | boolean;
|
|
345
|
+
border: boolean;
|
|
346
|
+
label: string | number | boolean;
|
|
347
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
348
|
+
$slots: {
|
|
349
|
+
default?: (props: {}) => any;
|
|
350
|
+
};
|
|
351
|
+
}) & import('vue').ObjectPlugin & {
|
|
352
|
+
setPropsDefaults: (defaults: Partial<Omit<{
|
|
353
|
+
readonly border?: boolean | undefined;
|
|
354
|
+
readonly modelValue?: string | number | boolean | undefined;
|
|
355
|
+
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
356
|
+
readonly disabled?: boolean | undefined;
|
|
357
|
+
readonly label?: string | number | boolean | undefined;
|
|
358
|
+
readonly value?: string | number | boolean | undefined;
|
|
359
|
+
readonly name?: string | undefined;
|
|
360
|
+
readonly onChange?: ((val: string | number | boolean | undefined) => any) | undefined | undefined;
|
|
361
|
+
readonly "onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined | undefined;
|
|
362
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "onUpdate:modelValue" | "onChange" | keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>>) => void;
|
|
363
|
+
} & {
|
|
364
|
+
RadioButton: {
|
|
365
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus').RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
366
|
+
disabled: boolean;
|
|
367
|
+
modelValue: string | number | boolean;
|
|
368
|
+
name: string;
|
|
369
|
+
value: string | number | boolean;
|
|
370
|
+
label: string | number | boolean;
|
|
371
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
372
|
+
P: {};
|
|
373
|
+
B: {};
|
|
374
|
+
D: {};
|
|
375
|
+
C: {};
|
|
376
|
+
M: {};
|
|
377
|
+
Defaults: {};
|
|
378
|
+
}, Readonly<import('element-plus').RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
379
|
+
disabled: boolean;
|
|
380
|
+
modelValue: string | number | boolean;
|
|
381
|
+
name: string;
|
|
382
|
+
value: string | number | boolean;
|
|
383
|
+
label: string | number | boolean;
|
|
384
|
+
}>;
|
|
385
|
+
__isFragment?: never;
|
|
386
|
+
__isTeleport?: never;
|
|
387
|
+
__isSuspense?: never;
|
|
388
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('element-plus').RadioButtonProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
389
|
+
disabled: boolean;
|
|
390
|
+
modelValue: string | number | boolean;
|
|
391
|
+
name: string;
|
|
392
|
+
value: string | number | boolean;
|
|
393
|
+
label: string | number | boolean;
|
|
394
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
395
|
+
$slots: {
|
|
396
|
+
default?: (props: {}) => any;
|
|
397
|
+
};
|
|
398
|
+
});
|
|
399
|
+
RadioGroup: {
|
|
400
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('element-plus').RadioGroupProps> & Readonly<{
|
|
401
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
402
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
403
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
404
|
+
change: (val: string | number | boolean | undefined) => void;
|
|
405
|
+
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
406
|
+
}, import('vue').PublicProps, {
|
|
407
|
+
fill: string;
|
|
408
|
+
props: import('element-plus').radioOptionProp;
|
|
409
|
+
type: "radio" | "button";
|
|
410
|
+
id: string;
|
|
411
|
+
disabled: boolean;
|
|
412
|
+
modelValue: string | number | boolean;
|
|
413
|
+
validateEvent: boolean;
|
|
414
|
+
name: string;
|
|
415
|
+
textColor: string;
|
|
416
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
417
|
+
P: {};
|
|
418
|
+
B: {};
|
|
419
|
+
D: {};
|
|
420
|
+
C: {};
|
|
421
|
+
M: {};
|
|
422
|
+
Defaults: {};
|
|
423
|
+
}, Readonly<import('element-plus').RadioGroupProps> & Readonly<{
|
|
424
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
425
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
426
|
+
}>, {}, {}, {}, {}, {
|
|
427
|
+
fill: string;
|
|
428
|
+
props: import('element-plus').radioOptionProp;
|
|
429
|
+
type: "radio" | "button";
|
|
430
|
+
id: string;
|
|
431
|
+
disabled: boolean;
|
|
432
|
+
modelValue: string | number | boolean;
|
|
433
|
+
validateEvent: boolean;
|
|
434
|
+
name: string;
|
|
435
|
+
textColor: string;
|
|
436
|
+
}>;
|
|
437
|
+
__isFragment?: never;
|
|
438
|
+
__isTeleport?: never;
|
|
439
|
+
__isSuspense?: never;
|
|
440
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('element-plus').RadioGroupProps> & Readonly<{
|
|
441
|
+
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
442
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
443
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
444
|
+
change: (val: string | number | boolean | undefined) => void;
|
|
445
|
+
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
446
|
+
}, string, {
|
|
447
|
+
fill: string;
|
|
448
|
+
props: import('element-plus').radioOptionProp;
|
|
449
|
+
type: "radio" | "button";
|
|
450
|
+
id: string;
|
|
451
|
+
disabled: boolean;
|
|
452
|
+
modelValue: string | number | boolean;
|
|
453
|
+
validateEvent: boolean;
|
|
454
|
+
name: string;
|
|
455
|
+
textColor: string;
|
|
456
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
457
|
+
$slots: {
|
|
458
|
+
default?: (props: {}) => any;
|
|
459
|
+
};
|
|
460
|
+
});
|
|
461
|
+
});
|
|
199
462
|
required(this: any): boolean;
|
|
200
463
|
isArray(this: any): boolean;
|
|
201
464
|
isString(this: any): boolean;
|
package/fy-array/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as e } from "../chunks/ClVh1Lek.mjs";
|
|
2
2
|
import { t } from "../chunks/B1MSrc6f.mjs";
|
|
3
3
|
import { t as n } from "../chunks/CIihGrgY.mjs";
|
|
4
|
-
import { n as r, t as i } from "../chunks/
|
|
4
|
+
import { n as r, t as i } from "../chunks/v7SkpvNZ.mjs";
|
|
5
5
|
import { ElInput as a, ElLink as o, ElTooltip as s } from "element-plus/es";
|
|
6
6
|
import "element-plus/es/components/base/style/css";
|
|
7
7
|
import "element-plus/es/components/input/style/css";
|