@flyto/farco 1.2.1 → 1.4.0
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/chunk-0b1102a0.js +95 -0
- package/dist/chunk-0d0f8483.js +6 -0
- package/dist/chunk-0ec0668f.js +42 -0
- package/dist/chunk-0f50b26a.js +153 -0
- package/dist/chunk-17a233d7.js +1 -0
- package/dist/chunk-18dd07f2.js +71 -0
- package/dist/chunk-28ba1e67.js +4525 -0
- package/dist/chunk-2d4cc9ab.js +287 -0
- package/dist/chunk-32aa5901.js +1 -0
- package/dist/chunk-3659754f.js +103 -0
- package/dist/chunk-3e27c862.js +38 -0
- package/dist/chunk-3e3782aa.js +1 -0
- package/dist/chunk-451afd44.js +58 -0
- package/dist/chunk-45dbb8f9.js +1 -0
- package/dist/chunk-540a3872.js +1 -0
- package/dist/chunk-5672685f.js +2 -0
- package/dist/chunk-592857c5.js +1 -0
- package/dist/chunk-5f89350b.js +2 -0
- package/dist/chunk-6c665483.js +4 -0
- package/dist/chunk-7779a34c.js +169 -0
- package/dist/chunk-7e78427e.js +1 -0
- package/dist/chunk-7f0e9b41.js +1 -0
- package/dist/chunk-82468a2e.js +1 -0
- package/dist/chunk-867494bd.js +99 -0
- package/dist/chunk-8a4bafe4.js +135 -0
- package/dist/chunk-912642ce.js +36 -0
- package/dist/chunk-995c23b4.js +85 -0
- package/dist/chunk-a016ffab.js +1 -0
- package/dist/chunk-a1e9227b.js +1 -0
- package/dist/chunk-a67d2308.js +1 -0
- package/dist/chunk-abb01801.js +955 -0
- package/dist/chunk-b2838051.js +42 -0
- package/dist/chunk-c4c93c86.js +1 -0
- package/dist/chunk-c9e8fc0f.js +5 -0
- package/dist/chunk-db179b28.js +82 -0
- package/dist/chunk-dc6689c4.js +34 -0
- package/dist/chunk-e7fc446a.js +29 -0
- package/dist/chunk-ed8bf4fb.js +12607 -0
- package/dist/chunk-f363e104.js +1 -0
- package/dist/chunk-fe45f9f8.js +1 -0
- package/dist/fbutton.cjs.js +1 -0
- package/dist/fbutton.es.js +9 -0
- package/dist/fcheckbox.cjs.js +1 -0
- package/dist/fcheckbox.es.js +8 -0
- package/dist/fdate.cjs.js +1 -0
- package/dist/fdate.es.js +8 -0
- package/dist/fform-item.cjs.js +1 -0
- package/dist/fform-item.es.js +26 -0
- package/dist/fform.cjs.js +1 -0
- package/dist/fform.es.js +24 -0
- package/dist/ficon.cjs.js +1 -0
- package/dist/ficon.es.js +9 -0
- package/dist/finput.cjs.js +1 -0
- package/dist/finput.es.js +9 -0
- package/dist/flink.cjs.js +1 -0
- package/dist/flink.es.js +9 -0
- package/dist/fml-input.cjs.js +1 -0
- package/dist/fml-input.es.js +11 -0
- package/dist/fpop-choice.cjs.js +1 -0
- package/dist/fpop-choice.es.js +26 -0
- package/dist/fquery-list.cjs.js +1 -0
- package/dist/fquery-list.es.js +24 -0
- package/dist/fradio.cjs.js +1 -0
- package/dist/fradio.es.js +8 -0
- package/dist/frange.cjs.js +1 -0
- package/dist/frange.es.js +10 -0
- package/dist/fsearch.cjs.js +1 -0
- package/dist/fsearch.es.js +24 -0
- package/dist/fselect.cjs.js +1 -0
- package/dist/fselect.es.js +12 -0
- package/dist/fskeleton.cjs.js +1 -0
- package/dist/fskeleton.es.js +8 -0
- package/dist/fswitch.cjs.js +1 -0
- package/dist/fswitch.es.js +8 -0
- package/dist/ftable.cjs.js +1 -0
- package/dist/ftable.es.js +13 -0
- package/dist/ftext.cjs.js +1 -0
- package/dist/ftext.es.js +12 -0
- package/dist/ftextarea.cjs.js +1 -0
- package/dist/ftextarea.es.js +9 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +175 -19505
- package/dist/index.umd.js +25 -25
- package/dist/keys.cjs.js +1 -0
- package/dist/keys.es.js +9 -0
- package/dist/style.css +1 -1
- package/dist/types/components/fbutton/fbutton.d.ts +35 -35
- package/dist/types/components/fbutton/fbutton.vue.d.ts +35 -33
- package/dist/types/components/fbutton/index.d.ts +4 -4
- package/dist/types/components/fcheckbox/constants/index.d.ts +10 -10
- package/dist/types/components/fcheckbox/fcheckbox.d.ts +41 -41
- package/dist/types/components/fcheckbox/fcheckbox.vue.d.ts +168 -166
- package/dist/types/components/fcheckbox/index.d.ts +4 -4
- package/dist/types/components/fdate/fdate.d.ts +67 -67
- package/dist/types/components/fdate/fdate.vue.d.ts +47 -45
- package/dist/types/components/fdate/index.d.ts +4 -4
- package/dist/types/components/fform/fform.d.ts +83 -83
- package/dist/types/components/fform/fform.vue.d.ts +124 -122
- package/dist/types/components/fform/index.d.ts +4 -4
- package/dist/types/components/fform-item/fform-item.d.ts +91 -91
- package/dist/types/components/fform-item/fform-item.vue.d.ts +121 -117
- package/dist/types/components/fform-item/index.d.ts +4 -4
- package/dist/types/components/ficon/ficon.d.ts +44 -44
- package/dist/types/components/ficon/ficon.vue.d.ts +63 -59
- package/dist/types/components/ficon/index.d.ts +4 -4
- package/dist/types/components/finput/finput.d.ts +54 -54
- package/dist/types/components/finput/finput.vue.d.ts +87 -83
- package/dist/types/components/finput/index.d.ts +4 -4
- package/dist/types/components/flink/flink.d.ts +26 -26
- package/dist/types/components/flink/flink.vue.d.ts +42 -40
- package/dist/types/components/flink/index.d.ts +4 -4
- package/dist/types/components/fml-input/fml-input.d.ts +74 -74
- package/dist/types/components/fml-input/fml-input.vue.d.ts +601 -622
- package/dist/types/components/fml-input/index.d.ts +4 -4
- package/dist/types/components/fpop-choice/fpop-choice.d.ts +52 -52
- package/dist/types/components/fpop-choice/fpop-choice.vue.d.ts +884 -891
- package/dist/types/components/fpop-choice/index.d.ts +5 -5
- package/dist/types/components/fpop-choice/utils/index.d.ts +16 -16
- package/dist/types/components/fquery-list/fquery-list.d.ts +133 -133
- package/dist/types/components/fquery-list/fquery-list.vue.d.ts +467 -1352
- package/dist/types/components/fquery-list/index.d.ts +4 -4
- package/dist/types/components/fradio/constants/index.d.ts +8 -8
- package/dist/types/components/fradio/fradio.d.ts +48 -48
- package/dist/types/components/fradio/fradio.vue.d.ts +176 -174
- package/dist/types/components/fradio/index.d.ts +4 -4
- package/dist/types/components/frange/frange.d.ts +47 -47
- package/dist/types/components/frange/frange.vue.d.ts +92 -90
- package/dist/types/components/frange/index.d.ts +4 -4
- package/dist/types/components/fsearch/fsearch.d.ts +75 -75
- package/dist/types/components/fsearch/fsearch.vue.d.ts +103 -103
- package/dist/types/components/fsearch/index.d.ts +4 -4
- package/dist/types/components/fselect/constants/index.d.ts +6 -6
- package/dist/types/components/fselect/fselect-option.vue.d.ts +25 -25
- package/dist/types/components/fselect/fselect.d.ts +120 -120
- package/dist/types/components/fselect/fselect.vue.d.ts +184 -182
- package/dist/types/components/fselect/index.d.ts +4 -4
- package/dist/types/components/fskeleton/fskeleton.d.ts +18 -18
- package/dist/types/components/fskeleton/fskeleton.vue.d.ts +17 -15
- package/dist/types/components/fskeleton/index.d.ts +4 -4
- package/dist/types/components/fswitch/fswitch.d.ts +8 -8
- package/dist/types/components/fswitch/fswitch.vue.d.ts +365 -365
- package/dist/types/components/fswitch/index.d.ts +4 -4
- package/dist/types/components/ftable/constants/index.d.ts +14 -14
- package/dist/types/components/ftable/ftable-cols-set.vue.d.ts +6 -6
- package/dist/types/components/ftable/ftable-toolbar.vue.d.ts +57 -54
- package/dist/types/components/ftable/ftable.d.ts +332 -332
- package/dist/types/components/ftable/ftable.vue.d.ts +139 -333
- package/dist/types/components/ftable/index.d.ts +4 -4
- package/dist/types/components/ftable/utils/index.d.ts +13 -13
- package/dist/types/components/ftext/ftext.d.ts +97 -96
- package/dist/types/components/ftext/ftext.vue.d.ts +88 -86
- package/dist/types/components/ftext/index.d.ts +4 -4
- package/dist/types/components/ftextarea/ftextarea.d.ts +32 -32
- package/dist/types/components/ftextarea/ftextarea.vue.d.ts +569 -575
- package/dist/types/components/ftextarea/index.d.ts +4 -4
- package/dist/types/components/index.d.ts +40 -40
- package/dist/types/constants/fform.d.ts +8 -8
- package/dist/types/constants/global.d.ts +9 -24
- package/dist/types/constants/keys.d.ts +14 -0
- package/dist/types/env.d.ts +4 -0
- package/dist/types/index.d.ts +14 -15
- package/dist/types/types/global.d.ts +44 -44
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/utils/business-format.d.ts +136 -136
- package/dist/types/utils/index.d.ts +4 -4
- package/package.json +24 -4
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { defineComponent as M, createVNode as r, mergeProps as P, mergeModels as E, inject as Y, useAttrs as J, useSlots as Q, computed as _, ref as S, useModel as W, toRef as X, openBlock as A, createElementBlock as k, createElementVNode as C, renderSlot as V, unref as c, createSlots as T, withCtx as d, createTextVNode as $, createCommentVNode as Z, renderList as ee, createBlock as le, resolveDynamicComponent as te, normalizeProps as ae, guardReactiveProps as oe, nextTick as K } from "vue";
|
|
2
|
+
import { Optgroup as ue, Option as ne, Select as ie, Empty as re } from "@arco-design/web-vue";
|
|
3
|
+
import { _ as j, a as x } from "./chunk-28ba1e67.js";
|
|
4
|
+
import { a as se } from "./chunk-c9e8fc0f.js";
|
|
5
|
+
const pe = {
|
|
6
|
+
label: "label",
|
|
7
|
+
value: "value"
|
|
8
|
+
}, ce = {
|
|
9
|
+
defaultValue: {
|
|
10
|
+
type: [String, Number, Boolean, Object, Array],
|
|
11
|
+
default: null
|
|
12
|
+
},
|
|
13
|
+
options: {
|
|
14
|
+
type: [Array, Function],
|
|
15
|
+
default: null
|
|
16
|
+
},
|
|
17
|
+
optionKeyNames: {
|
|
18
|
+
type: Object,
|
|
19
|
+
default: () => pe
|
|
20
|
+
},
|
|
21
|
+
defaultHide: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
placeholder: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "-- \u8BF7\u9009\u62E9 --"
|
|
28
|
+
},
|
|
29
|
+
allowClear: {
|
|
30
|
+
type: Boolean,
|
|
31
|
+
default: !0
|
|
32
|
+
},
|
|
33
|
+
allowSearch: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: !0
|
|
36
|
+
},
|
|
37
|
+
maxTagCount: {
|
|
38
|
+
type: Number,
|
|
39
|
+
default: 1
|
|
40
|
+
},
|
|
41
|
+
emptyText: {
|
|
42
|
+
type: String,
|
|
43
|
+
default: "\u6682\u65E0\u6570\u636E"
|
|
44
|
+
},
|
|
45
|
+
onSearch: {
|
|
46
|
+
type: Function,
|
|
47
|
+
default: null
|
|
48
|
+
},
|
|
49
|
+
multiple: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !1
|
|
52
|
+
},
|
|
53
|
+
autoSelectSingle: {
|
|
54
|
+
type: Boolean,
|
|
55
|
+
default: !1
|
|
56
|
+
},
|
|
57
|
+
autoSelectFirst: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !1
|
|
60
|
+
},
|
|
61
|
+
onFocus: {
|
|
62
|
+
type: Function,
|
|
63
|
+
default: null
|
|
64
|
+
},
|
|
65
|
+
onBlur: {
|
|
66
|
+
type: Function,
|
|
67
|
+
default: null
|
|
68
|
+
}
|
|
69
|
+
}, q = M({
|
|
70
|
+
props: {
|
|
71
|
+
options: {
|
|
72
|
+
required: !0,
|
|
73
|
+
type: Array,
|
|
74
|
+
default: () => []
|
|
75
|
+
},
|
|
76
|
+
optionKeyNames: {
|
|
77
|
+
required: !0,
|
|
78
|
+
type: Object
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
setup(n, {
|
|
82
|
+
slots: s
|
|
83
|
+
}) {
|
|
84
|
+
return () => {
|
|
85
|
+
var g;
|
|
86
|
+
return (g = n.options) == null ? void 0 : g.map((u) => u.isGroup ? r(ue, {
|
|
87
|
+
label: u[n.optionKeyNames.groupLabel || n.optionKeyNames.label]
|
|
88
|
+
}, {
|
|
89
|
+
default: () => [r(q, {
|
|
90
|
+
options: u.options,
|
|
91
|
+
optionKeyNames: n.optionKeyNames
|
|
92
|
+
}, null)]
|
|
93
|
+
}) : r(ne, P(u, {
|
|
94
|
+
label: u[n.optionKeyNames.label],
|
|
95
|
+
value: u[n.optionKeyNames.value]
|
|
96
|
+
}), {
|
|
97
|
+
default: () => {
|
|
98
|
+
var l;
|
|
99
|
+
return [(l = s == null ? void 0 : s.default) == null ? void 0 : l.call(s, {
|
|
100
|
+
data: u
|
|
101
|
+
})];
|
|
102
|
+
}
|
|
103
|
+
}));
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}), de = { class: "f-select" }, fe = { class: "f-select__preend" }, me = { class: "f-select-tool" }, ve = {
|
|
107
|
+
key: 0,
|
|
108
|
+
class: "f-select-multiple-tool"
|
|
109
|
+
}, ye = { class: "f-select__append" }, Ne = /* @__PURE__ */ M({
|
|
110
|
+
inheritAttrs: !1,
|
|
111
|
+
__name: "fselect",
|
|
112
|
+
props: /* @__PURE__ */ E(ce, {
|
|
113
|
+
modelValue: { type: [String, Number, Boolean, Object, Array] },
|
|
114
|
+
modelModifiers: {}
|
|
115
|
+
}),
|
|
116
|
+
emits: /* @__PURE__ */ E(["popupVisibleChange"], ["update:modelValue"]),
|
|
117
|
+
setup(n, { expose: s, emit: g }) {
|
|
118
|
+
const u = Y(se, { data: {} }), l = n, L = g, f = J(), U = Q(), D = _(() => Object.fromEntries(
|
|
119
|
+
Object.entries(U).filter(([e]) => !["option", "prepend", "append"].includes(e))
|
|
120
|
+
)), m = S(), o = W(n, "modelValue");
|
|
121
|
+
l.defaultValue && (o.value = l.defaultValue);
|
|
122
|
+
const b = typeof l.options == "function", i = b ? S([]) : X(l, "options"), v = S([]), N = _(() => {
|
|
123
|
+
const e = i.value.map((t) => t[l.optionKeyNames.value]), a = [...i.value];
|
|
124
|
+
return v.value.forEach((t) => {
|
|
125
|
+
const p = t[l.optionKeyNames.value];
|
|
126
|
+
e.includes(p) || a.unshift(t);
|
|
127
|
+
}), a;
|
|
128
|
+
});
|
|
129
|
+
function B() {
|
|
130
|
+
if (o.value !== 0 && !o.value && (l.autoSelectFirst || l.autoSelectSingle && i.value.length === 1)) {
|
|
131
|
+
const e = i.value[0][l.optionKeyNames.value];
|
|
132
|
+
o.value = l.multiple ? [e] : e, K(() => {
|
|
133
|
+
var a;
|
|
134
|
+
(a = f == null ? void 0 : f.onChange) == null || a.call(f, o.value);
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
const y = S(!1);
|
|
139
|
+
async function O(e) {
|
|
140
|
+
if (!b) {
|
|
141
|
+
i.value = [];
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
try {
|
|
145
|
+
y.value = !0, i.value = await l.options(e || {});
|
|
146
|
+
} catch {
|
|
147
|
+
i.value = [];
|
|
148
|
+
} finally {
|
|
149
|
+
y.value = !1, B();
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
async function R(e) {
|
|
153
|
+
y.value = !0, l.onSearch && await l.onSearch(e), y.value = !1;
|
|
154
|
+
}
|
|
155
|
+
let F = !0;
|
|
156
|
+
function z(e) {
|
|
157
|
+
var a;
|
|
158
|
+
!F || (e.relatedTarget && l.multiple && !!l.onSearch ? (v.value = [...N.value], K(() => {
|
|
159
|
+
var t;
|
|
160
|
+
(t = m.value) == null || t.$el.nextElementSibling.querySelector("input").focus();
|
|
161
|
+
})) : (v.value = N.value.filter((t) => (l.multiple ? o.value : [o.value]).includes(t[l.optionKeyNames.value])), (a = l.onBlur) == null || a.call(l, e)));
|
|
162
|
+
}
|
|
163
|
+
const h = S("");
|
|
164
|
+
function I() {
|
|
165
|
+
var a;
|
|
166
|
+
if (!l.multiple || o.value && !x(o.value)) {
|
|
167
|
+
console.warn("\u5F53\u524D\u672A\u5F00\u542F\u591A\u9009\u6A21\u5F0F");
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
F = !1, setTimeout(() => {
|
|
171
|
+
F = !0;
|
|
172
|
+
}, 100);
|
|
173
|
+
const e = i.value.reduce((t, p) => (p[l.optionKeyNames.label].toUpperCase().includes(h.value.toUpperCase()) && t.push(p[l.optionKeyNames.value]), t), []);
|
|
174
|
+
(a = m.value) == null || a.$el.nextElementSibling.querySelector("input").blur(), h.value = "", o.value = [
|
|
175
|
+
.../* @__PURE__ */ new Set([...o.value || [], ...e])
|
|
176
|
+
], K(() => {
|
|
177
|
+
var t;
|
|
178
|
+
(t = m.value) == null || t.$el.nextElementSibling.querySelector("input").focus();
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
function G() {
|
|
182
|
+
if (!l.multiple || !x(o.value)) {
|
|
183
|
+
console.warn("\u5F53\u524D\u672A\u5F00\u542F\u591A\u9009\u6A21\u5F0F");
|
|
184
|
+
return;
|
|
185
|
+
}
|
|
186
|
+
o.value = [];
|
|
187
|
+
}
|
|
188
|
+
function H(e) {
|
|
189
|
+
if (e) {
|
|
190
|
+
const a = l.multiple ? o.value : [o.value];
|
|
191
|
+
v.value = v.value.filter((t) => a.includes(t[l.optionKeyNames.value]));
|
|
192
|
+
}
|
|
193
|
+
L("popupVisibleChange", e);
|
|
194
|
+
}
|
|
195
|
+
return b ? O() : B(), s({
|
|
196
|
+
value: o,
|
|
197
|
+
replayMethodOptions(e) {
|
|
198
|
+
O(e);
|
|
199
|
+
},
|
|
200
|
+
ins: m
|
|
201
|
+
}), (e, a) => (A(), k("div", de, [
|
|
202
|
+
C("div", fe, [
|
|
203
|
+
V(e.$slots, "prepend", {
|
|
204
|
+
data: c(u).data
|
|
205
|
+
})
|
|
206
|
+
]),
|
|
207
|
+
r(c(ie), P({
|
|
208
|
+
ref_key: "selectRef",
|
|
209
|
+
ref: m,
|
|
210
|
+
modelValue: o.value,
|
|
211
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => o.value = t),
|
|
212
|
+
"input-value": h.value,
|
|
213
|
+
"onUpdate:inputValue": a[1] || (a[1] = (t) => h.value = t)
|
|
214
|
+
}, e.$attrs, {
|
|
215
|
+
placeholder: e.placeholder,
|
|
216
|
+
"allow-clear": e.allowClear,
|
|
217
|
+
"allow-search": e.allowSearch,
|
|
218
|
+
loading: y.value,
|
|
219
|
+
"max-tag-count": e.maxTagCount,
|
|
220
|
+
multiple: e.multiple,
|
|
221
|
+
onSearch: R,
|
|
222
|
+
onBlur: z,
|
|
223
|
+
onPopupVisibleChange: H
|
|
224
|
+
}), T({
|
|
225
|
+
empty: d(() => [
|
|
226
|
+
r(c(re), {
|
|
227
|
+
description: l.emptyText
|
|
228
|
+
}, null, 8, ["description"])
|
|
229
|
+
]),
|
|
230
|
+
default: d(() => [
|
|
231
|
+
C("div", me, [
|
|
232
|
+
l.multiple ? (A(), k("div", ve, [
|
|
233
|
+
r(c(j), {
|
|
234
|
+
size: "mini",
|
|
235
|
+
onClick: I
|
|
236
|
+
}, {
|
|
237
|
+
default: d(() => [...a[2] || (a[2] = [
|
|
238
|
+
$("\u5168\u9009", -1)
|
|
239
|
+
])]),
|
|
240
|
+
_: 1
|
|
241
|
+
}),
|
|
242
|
+
r(c(j), {
|
|
243
|
+
size: "mini",
|
|
244
|
+
status: "danger",
|
|
245
|
+
onClick: G
|
|
246
|
+
}, {
|
|
247
|
+
default: d(() => [...a[3] || (a[3] = [
|
|
248
|
+
$(" \u6E05\u7A7A ", -1)
|
|
249
|
+
])]),
|
|
250
|
+
_: 1
|
|
251
|
+
})
|
|
252
|
+
])) : Z("", !0)
|
|
253
|
+
]),
|
|
254
|
+
r(q, {
|
|
255
|
+
options: N.value,
|
|
256
|
+
"option-key-names": e.optionKeyNames
|
|
257
|
+
}, T({ _: 2 }, [
|
|
258
|
+
e.$slots.option ? {
|
|
259
|
+
name: "default",
|
|
260
|
+
fn: d(({ data: t }) => [
|
|
261
|
+
V(e.$slots, "option", { data: t })
|
|
262
|
+
]),
|
|
263
|
+
key: "0"
|
|
264
|
+
} : void 0
|
|
265
|
+
]), 1032, ["options", "option-key-names"])
|
|
266
|
+
]),
|
|
267
|
+
_: 2
|
|
268
|
+
}, [
|
|
269
|
+
ee(D.value, (t, p) => ({
|
|
270
|
+
name: p,
|
|
271
|
+
fn: d((w) => [
|
|
272
|
+
(A(), le(te(t), ae(oe(w)), null, 16))
|
|
273
|
+
])
|
|
274
|
+
}))
|
|
275
|
+
]), 1040, ["modelValue", "input-value", "placeholder", "allow-clear", "allow-search", "loading", "max-tag-count", "multiple"]),
|
|
276
|
+
C("div", ye, [
|
|
277
|
+
V(e.$slots, "append", {
|
|
278
|
+
data: c(u).data
|
|
279
|
+
})
|
|
280
|
+
])
|
|
281
|
+
]));
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
export {
|
|
285
|
+
Ne as _,
|
|
286
|
+
ce as f
|
|
287
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=Symbol("formCtx"),e=Symbol("formItemCtx");exports.fformCtxInjectKey=t;exports.fformItemCtxInjectKey=e;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { defineComponent as K, mergeModels as S, ref as d, useModel as V, toRef as h, openBlock as r, createBlock as N, unref as i, withCtx as p, createElementBlock as $, Fragment as M, renderList as B, createSlots as O, renderSlot as u, createTextVNode as k, toDisplayString as b } from "vue";
|
|
2
|
+
import { RadioGroup as R, Radio as A } from "@arco-design/web-vue";
|
|
3
|
+
const E = {
|
|
4
|
+
label: "label",
|
|
5
|
+
value: "value"
|
|
6
|
+
}, F = {
|
|
7
|
+
defaultValue: {
|
|
8
|
+
type: [String, Number, Boolean],
|
|
9
|
+
default: null
|
|
10
|
+
},
|
|
11
|
+
options: {
|
|
12
|
+
required: !0,
|
|
13
|
+
type: [Array, Function],
|
|
14
|
+
default: null
|
|
15
|
+
},
|
|
16
|
+
optionKeyNames: {
|
|
17
|
+
type: Object,
|
|
18
|
+
default: () => E
|
|
19
|
+
},
|
|
20
|
+
autoSelectSingle: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: !1
|
|
23
|
+
}
|
|
24
|
+
}, T = /* @__PURE__ */ K({
|
|
25
|
+
__name: "fradio",
|
|
26
|
+
props: /* @__PURE__ */ S(F, {
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: [String, Number, Boolean]
|
|
29
|
+
},
|
|
30
|
+
modelModifiers: {}
|
|
31
|
+
}),
|
|
32
|
+
emits: ["update:modelValue"],
|
|
33
|
+
setup(f, {
|
|
34
|
+
expose: g
|
|
35
|
+
}) {
|
|
36
|
+
const l = f, v = d(), o = V(f, "modelValue");
|
|
37
|
+
l.defaultValue && (o.value = l.defaultValue);
|
|
38
|
+
const n = typeof l.options == "function", t = n ? d([]) : h(l, "options");
|
|
39
|
+
function y() {
|
|
40
|
+
o.value !== 0 && !o.value && l.autoSelectSingle && t.value.length === 1 && (o.value = t.value[0][l.optionKeyNames.value]);
|
|
41
|
+
}
|
|
42
|
+
const c = d(!1);
|
|
43
|
+
async function m(a) {
|
|
44
|
+
if (!n) {
|
|
45
|
+
t.value = [];
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
try {
|
|
49
|
+
c.value = !0, t.value = await l.options(a || {});
|
|
50
|
+
} catch {
|
|
51
|
+
t.value = [];
|
|
52
|
+
} finally {
|
|
53
|
+
y(), c.value = !1;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return n ? m() : y(), g({
|
|
57
|
+
value: o,
|
|
58
|
+
replayMethodOptions(a) {
|
|
59
|
+
m(a);
|
|
60
|
+
},
|
|
61
|
+
ins: v
|
|
62
|
+
}), (a, s) => (r(), N(i(R), {
|
|
63
|
+
ref_key: "radioGroupRef",
|
|
64
|
+
ref: v,
|
|
65
|
+
modelValue: o.value,
|
|
66
|
+
"onUpdate:modelValue": s[0] || (s[0] = (e) => o.value = e)
|
|
67
|
+
}, {
|
|
68
|
+
default: p(() => [(r(!0), $(M, null, B(i(t), (e) => (r(), N(i(A), {
|
|
69
|
+
key: e[a.optionKeyNames.value],
|
|
70
|
+
value: e[a.optionKeyNames.value],
|
|
71
|
+
disabled: e.disabled
|
|
72
|
+
}, O({
|
|
73
|
+
default: p(() => [e.slotName ? u(a.$slots, `label-${e.slotName}`, {
|
|
74
|
+
key: 0,
|
|
75
|
+
data: e,
|
|
76
|
+
checked: e[a.optionKeyNames.value] === o.value
|
|
77
|
+
}, () => [k(b(e[a.optionKeyNames.label]), 1)]) : u(a.$slots, "label", {
|
|
78
|
+
key: 1,
|
|
79
|
+
data: e,
|
|
80
|
+
checked: e[a.optionKeyNames.value] === o.value
|
|
81
|
+
}, () => [k(b(e[a.optionKeyNames.label]), 1)])]),
|
|
82
|
+
_: 2
|
|
83
|
+
}, [a.$slots.radio || a.$slots[`radio-${e.slotName}`] ? {
|
|
84
|
+
name: "radio",
|
|
85
|
+
fn: p(() => [e.slotName ? u(a.$slots, `radio-${e.slotName}`, {
|
|
86
|
+
key: 0,
|
|
87
|
+
data: e,
|
|
88
|
+
checked: e[a.optionKeyNames.value] === o.value
|
|
89
|
+
}) : u(a.$slots, "radio", {
|
|
90
|
+
key: 1,
|
|
91
|
+
data: e,
|
|
92
|
+
checked: e[a.optionKeyNames.value] === o.value
|
|
93
|
+
})]),
|
|
94
|
+
key: "0"
|
|
95
|
+
} : void 0]), 1032, ["value", "disabled"]))), 128))]),
|
|
96
|
+
_: 3
|
|
97
|
+
}, 8, ["modelValue"]));
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
export {
|
|
101
|
+
T as _,
|
|
102
|
+
F as f
|
|
103
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { defineComponent as i, mergeModels as p, ref as c, useModel as V, openBlock as n, createBlock as u, unref as v, createSlots as w, renderList as h, withCtx as y, resolveDynamicComponent as B, normalizeProps as S, guardReactiveProps as _ } from "vue";
|
|
2
|
+
import { Switch as g } from "@arco-design/web-vue";
|
|
3
|
+
const k = {
|
|
4
|
+
defaultValue: {
|
|
5
|
+
type: Boolean,
|
|
6
|
+
default: null
|
|
7
|
+
}
|
|
8
|
+
}, M = /* @__PURE__ */ i({
|
|
9
|
+
__name: "fswitch",
|
|
10
|
+
props: /* @__PURE__ */ p(k, {
|
|
11
|
+
modelValue: { type: [String, Number, Boolean] },
|
|
12
|
+
modelModifiers: {}
|
|
13
|
+
}),
|
|
14
|
+
emits: ["update:modelValue"],
|
|
15
|
+
setup(l, { expose: s }) {
|
|
16
|
+
const t = l, a = c(), e = V(l, "modelValue");
|
|
17
|
+
return t.defaultValue && (e.value = t.defaultValue), s({
|
|
18
|
+
value: e,
|
|
19
|
+
ins: a
|
|
20
|
+
}), (m, r) => (n(), u(v(g), {
|
|
21
|
+
ref_key: "switchRef",
|
|
22
|
+
ref: a,
|
|
23
|
+
modelValue: e.value,
|
|
24
|
+
"onUpdate:modelValue": r[0] || (r[0] = (o) => e.value = o)
|
|
25
|
+
}, w({ _: 2 }, [
|
|
26
|
+
h(m.$slots, (o, d) => ({
|
|
27
|
+
name: d,
|
|
28
|
+
fn: y((f) => [
|
|
29
|
+
(n(), u(B(o), S(_(f)), null, 16))
|
|
30
|
+
])
|
|
31
|
+
}))
|
|
32
|
+
]), 1032, ["modelValue"]));
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
export {
|
|
36
|
+
M as _,
|
|
37
|
+
k as f
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("vue");const r=require("@arco-design/web-vue");function u(n,t,s){const o={duration:2500,content:""};return typeof n=="string"||typeof n=="function"?(o.content=n,Object.assign(o,s)):Object.assign(o,n),r.Message[t||"info"](o)}function i(n,t,s,o){const e={content:"",hideCancel:!0,title:"\u63D0\u793A"};let c=!1;return typeof n=="string"||typeof n=="function"?(e.content=n,Object.assign(e,s),c=Boolean(o)):(Object.assign(e,n),c=Boolean(s)),r.Modal[t!=="normal"&&t?t:"open"]({...e,hideCancel:!c})}function a(n,t,s){return new Promise((o,e)=>{typeof n!="string"&&typeof n!="function"?i({...n,onOk(){o()},onClose(){e()}},t,!1):i(n,t,{...s,onOk(){o()},onClose(){e()}},!1)})}function f(n,t,s){return new Promise((o,e)=>{typeof n!="string"&&typeof n!="function"?i({maskClosable:!1,...n,onOk(){o()},onClose(){e()}},t,!0):i(n,t,{maskClosable:!1,...s,onOk(){o()},onClose(){e()}},!0)})}exports.a=u;exports.f=f;exports.s=a;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as C, useAttrs as I, computed as l, inject as p, h as a, openBlock as i, createBlock as c, unref as e, mergeProps as n, withCtx as u, renderSlot as A, createVNode as O } from "vue";
|
|
2
|
+
import { Tooltip as S } from "@arco-design/web-vue";
|
|
3
|
+
import { I as g, A as h } from "./chunk-0d0f8483.js";
|
|
4
|
+
const k = {
|
|
5
|
+
name: {
|
|
6
|
+
required: !0,
|
|
7
|
+
type: String,
|
|
8
|
+
default: ""
|
|
9
|
+
},
|
|
10
|
+
color: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: ""
|
|
13
|
+
},
|
|
14
|
+
tooltip: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: ""
|
|
17
|
+
},
|
|
18
|
+
tooltipProps: {
|
|
19
|
+
type: Object,
|
|
20
|
+
default: () => ({})
|
|
21
|
+
},
|
|
22
|
+
pointer: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: !1
|
|
25
|
+
}
|
|
26
|
+
}, B = /* @__PURE__ */ C({
|
|
27
|
+
inheritAttrs: !1,
|
|
28
|
+
__name: "ficon",
|
|
29
|
+
props: k,
|
|
30
|
+
setup(f) {
|
|
31
|
+
const o = f, m = I(), r = l(() => ({
|
|
32
|
+
color: o.color,
|
|
33
|
+
cursor: o.pointer ? "pointer" : "default",
|
|
34
|
+
...m.style || {}
|
|
35
|
+
})), y = p(g, a("span")), d = p(h, {}), s = l(
|
|
36
|
+
() => d[o.name] || a(y, { type: o.name })
|
|
37
|
+
);
|
|
38
|
+
return (t, N) => t.tooltip !== "" || t.$slots.tooltip ? (i(), c(e(S), n({
|
|
39
|
+
key: 0,
|
|
40
|
+
content: t.tooltip
|
|
41
|
+
}, t.tooltipProps), {
|
|
42
|
+
content: u(() => [
|
|
43
|
+
A(t.$slots, "tooltip")
|
|
44
|
+
]),
|
|
45
|
+
default: u(() => [
|
|
46
|
+
O(e(s), n({ style: r.value }, t.$attrs), null, 16, ["style"])
|
|
47
|
+
]),
|
|
48
|
+
_: 3
|
|
49
|
+
}, 16, ["content"])) : (i(), c(e(s), n({
|
|
50
|
+
key: 1,
|
|
51
|
+
style: r.value
|
|
52
|
+
}, t.$attrs), null, 16, ["style"]));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
B as _,
|
|
57
|
+
k as f
|
|
58
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),f=require("@arco-design/web-vue"),a={defaultValue:{type:Boolean,default:null}},m=e.defineComponent({__name:"fswitch",props:e.mergeModels(a,{modelValue:{type:[String,Number,Boolean]},modelModifiers:{}}),emits:["update:modelValue"],setup(t,{expose:s}){const u=t,n=e.ref(),o=e.useModel(t,"modelValue");return u.defaultValue&&(o.value=u.defaultValue),s({value:o,ins:n}),(c,r)=>(e.openBlock(),e.createBlock(e.unref(f.Switch),{ref_key:"switchRef",ref:n,modelValue:o.value,"onUpdate:modelValue":r[0]||(r[0]=l=>o.value=l)},e.createSlots({_:2},[e.renderList(c.$slots,(l,i)=>({name:i,fn:e.withCtx(d=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l),e.normalizeProps(e.guardReactiveProps(d)),null,16))])}))]),1032,["modelValue"]))}});exports._sfc_main=m;exports.fSwitchProps=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),n=require("@arco-design/web-vue"),r={loading:{type:Boolean,required:!0},rows:{type:Number,default:3}},l={class:"f-skeleton"},u={__name:"fskeleton",props:r,setup(s){const o=s;return(t,c)=>(e.openBlock(),e.createElementBlock("div",l,[o.loading?e.renderSlot(t.$slots,"skeleton",{key:0},()=>[e.createVNode(e.unref(n.Skeleton),null,{default:e.withCtx(()=>[e.createVNode(e.unref(n.SkeletonLine),{rows:o.rows},null,8,["rows"])]),_:1})]):e.renderSlot(t.$slots,"default",{key:1})]))}};exports._sfc_main=u;exports.fSkeletonProps=r;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),w=require("@arco-design/web-vue"),v=require("./chunk-32aa5901.js"),f={defaultValue:{type:String,default:null},placeholder:{type:String,default:""},allowClear:{type:Boolean,default:!0},rows:{type:Number,default:2}},V=e.defineComponent({__name:"ftextarea",props:e.mergeModels(f,{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(s,{expose:p}){const l=s,t=e.ref(),o=e.useModel(s,"modelValue");l.defaultValue&&(o.value=l.defaultValue);const n=e.computed({get:()=>{var a;return((a=o.value)==null?void 0:a.replace(/\r/g,`
|
|
2
|
+
`))||""},set(a){o.value=a}});e.computed(()=>typeof l.rows=="number"?{minRows:l.rows,maxRows:l.rows}:l.rows);const u=e.inject(v.fformItemCtxInjectKey,null),m=e.computed(()=>l.placeholder||`\u8BF7\u586B\u5199${((u==null?void 0:u.label)||"\u2026\u2026").replace(/[: | :]$/,"")}`);return p({value:o,focus(...a){var r;(r=t.value)==null||r.focus(...a)},blur(...a){var r;(r=t.value)==null||r.blur(...a)},ins:t}),(a,r)=>(e.openBlock(),e.createBlock(e.unref(w.Textarea),{ref_key:"textareaRef",ref:t,modelValue:n.value,"onUpdate:modelValue":r[0]||(r[0]=d=>n.value=d),placeholder:m.value,"allow-clear":a.allowClear,"textarea-attrs":{rows:l.rows,...a.$attrs.textareaAttrs||{}}},e.createSlots({_:2},[e.renderList(a.$slots,(d,c)=>({name:c,fn:e.withCtx(i=>[e.renderSlot(a.$slots,c,e.normalizeProps(e.guardReactiveProps(i)))])}))]),1032,["modelValue","placeholder","allow-clear","textarea-attrs"]))}});exports._sfc_main=V;exports.fTextareaProps=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),a=require("@arco-design/web-vue"),s=require("./chunk-a016ffab.js"),l={name:{required:!0,type:String,default:""},color:{type:String,default:""},tooltip:{type:String,default:""},tooltipProps:{type:Object,default:()=>({})},pointer:{type:Boolean,default:!1}},f=e.defineComponent({inheritAttrs:!1,__name:"ficon",props:l,setup(c){const o=c,p=e.useAttrs(),n=e.computed(()=>({color:o.color,cursor:o.pointer?"pointer":"default",...p.style||{}})),u=e.inject(s.ICONFONT_KEY,e.h("span")),i=e.inject(s.ARCO_ICON_KEY,{}),r=e.computed(()=>i[o.name]||e.h(u,{type:o.name}));return(t,d)=>t.tooltip!==""||t.$slots.tooltip?(e.openBlock(),e.createBlock(e.unref(a.Tooltip),e.mergeProps({key:0,content:t.tooltip},t.tooltipProps),{content:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip")]),default:e.withCtx(()=>[e.createVNode(e.unref(r),e.mergeProps({style:n.value},t.$attrs),null,16,["style"])]),_:3},16,["content"])):(e.openBlock(),e.createBlock(e.unref(r),e.mergeProps({key:1,style:n.value},t.$attrs),null,16,["style"]))}});exports._sfc_main=f;exports.fIconProps=l;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),C=require("@arco-design/web-vue"),J=require("./chunk-7f0e9b41.js"),Y=require("./chunk-a1e9227b.js"),ee=require("./chunk-82468a2e.js"),te=require("./chunk-fe45f9f8.js"),re=require("./chunk-f363e104.js"),oe=require("./chunk-45dbb8f9.js"),le=require("./chunk-7e78427e.js"),ne=require("./chunk-a67d2308.js"),se=require("./chunk-6c665483.js"),ae=require("./chunk-5672685f.js"),$=require("./chunk-e7fc446a.js"),N=require("./chunk-32aa5901.js"),ie=require("./chunk-0b1102a0.js"),M=require("./chunk-592857c5.js"),T={contentClass:{type:[String,Object,Array]},data:{type:Object,default:null},defaultData:{type:Object,default:null},gridProps:{type:Object,default:()=>({})},itemSpan:{type:[Object,Number],default:()=>({span:{xxl:6,xl:8,lg:8,md:12,sm:24,xs:24}})},labelWidth:{type:[Number,String],default:"80px"},items:{type:Array,default:()=>[],required:!0}},ue=Symbol("ArcoConfigProvider"),ce="arco",pe="$arco",A=t=>{var l,r,u;const o=e.getCurrentInstance(),m=e.inject(ue,void 0),a=(u=(r=m==null?void 0:m.prefixCls)!=null?r:(l=o==null?void 0:o.appContext.config.globalProperties[pe])==null?void 0:l.classPrefix)!=null?u:ce;return t?`${a}-${t}`:a},fe=Object.prototype.toString;function z(t){return fe.call(t)==="[object Number]"&&t===t}var W=(t,l)=>{for(const[r,u]of l)t[r]=u;return t};const de=e.defineComponent({name:"IconQuestionCircle",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:l}){const r=A("icon"),u=e.computed(()=>[r,`${r}-question-circle`,{[`${r}-spin`]:t.spin}]),o=e.computed(()=>{const a={};return t.size&&(a.fontSize=z(t.size)?`${t.size}px`:t.size),t.rotate&&(a.transform=`rotate(${t.rotate}deg)`),a});return{cls:u,innerStyle:o,onClick:a=>{l("click",a)}}}}),me=["stroke-width","stroke-linecap","stroke-linejoin"];function _e(t,l,r,u,o,m){return e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:e.normalizeClass(t.cls),style:e.normalizeStyle(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:l[0]||(l[0]=(...a)=>t.onClick&&t.onClick(...a))},l[1]||(l[1]=[e.createElementVNode("path",{d:"M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"},null,-1),e.createElementVNode("path",{d:"M24.006 31v4.008m0-6.008L24 28c0-3 3-4 4.78-6.402C30.558 19.195 28.288 15 23.987 15c-4.014 0-5.382 2.548-5.388 4.514v.465"},null,-1)]),14,me)}var O=W(de,[["render",_e]]);const ye=Object.assign(O,{install:(t,l)=>{var r;const u=(r=l==null?void 0:l.iconPrefix)!=null?r:"";t.component(u+O.name,O)}}),ve=e.defineComponent({name:"IconSearch",props:{size:{type:[Number,String]},strokeWidth:{type:Number,default:4},strokeLinecap:{type:String,default:"butt",validator:t=>["butt","round","square"].includes(t)},strokeLinejoin:{type:String,default:"miter",validator:t=>["arcs","bevel","miter","miter-clip","round"].includes(t)},rotate:Number,spin:Boolean},emits:{click:t=>!0},setup(t,{emit:l}){const r=A("icon"),u=e.computed(()=>[r,`${r}-search`,{[`${r}-spin`]:t.spin}]),o=e.computed(()=>{const a={};return t.size&&(a.fontSize=z(t.size)?`${t.size}px`:t.size),t.rotate&&(a.transform=`rotate(${t.rotate}deg)`),a});return{cls:u,innerStyle:o,onClick:a=>{l("click",a)}}}}),ke=["stroke-width","stroke-linecap","stroke-linejoin"];function ge(t,l,r,u,o,m){return e.openBlock(),e.createElementBlock("svg",{viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:e.normalizeClass(t.cls),style:e.normalizeStyle(t.innerStyle),"stroke-width":t.strokeWidth,"stroke-linecap":t.strokeLinecap,"stroke-linejoin":t.strokeLinejoin,onClick:l[0]||(l[0]=(...a)=>t.onClick&&t.onClick(...a))},l[1]||(l[1]=[e.createElementVNode("path",{d:"M33.072 33.071c6.248-6.248 6.248-16.379 0-22.627-6.249-6.249-16.38-6.249-22.628 0-6.248 6.248-6.248 16.379 0 22.627 6.248 6.248 16.38 6.248 22.628 0Zm0 0 8.485 8.485"},null,-1)]),14,ke)}var I=W(ve,[["render",ge]]);const Ce=Object.assign(I,{install:(t,l)=>{var r;const u=(r=l==null?void 0:l.iconPrefix)!=null?r:"";t.component(u+I.name,I)}}),K={defaultData:{type:Object,default:null},keyProp:{required:!0,type:String,default:""},textProp:{required:!0,type:String,default:""},placeholder:{type:String,default:""},allowClear:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},queryListOptions:{required:!0},popupProps:{type:Object,default:()=>({})},onBeforeOk:{type:Function,default:null}},Q={popupProps:{type:Object,default:()=>({title:"\u8BF7\u9009\u62E9"})},unmountOnClose:{type:Boolean,default:!0},queryListOptions:{required:!0,type:Object},defaultSelectedRows:{type:Array,default:null},onBeforeOk:{type:Function}},w={id:{type:String,required:!0},simple:{type:Boolean,default:!1},title:{type:[String,Boolean],default:!1},filterCollapseable:{type:Boolean,default:!1},filterCollapseStatus:{type:Boolean,default:null},queryBtnText:{type:String,default:"\u67E5\u8BE2"},queryBtnProps:{type:Object,default:()=>({})},queryBtnLoading:{type:Boolean,default:!0},onBeforeQuery:{type:Function,default:null},resetBtnText:{type:String,default:"\u91CD\u7F6E"},resetBtnProps:{type:Object,default:()=>({})},tableData:{type:Function,default:null},autoQuery:{type:Boolean,default:!0},filterItems:{type:[Array,Boolean],default:[]},fFormProps:{type:Object,default:()=>({})},tableCols:{type:Array,default:()=>[]},fTableProps:{type:Object,default:()=>({})}},be={class:"f-query-list__filter-handle"},he={key:0,class:"icon"},Se={class:"f-query-list__filter-handle"},Be={class:"f-query-list__table"},q="filter_",V="table_",U=e.defineComponent({__name:"fquery-list",props:{...w,tableCols:{...w.tableCols,type:Array},tableData:{...w.tableData,type:Function}},emits:["queryClick","resetClick","update:filterCollapseStatus","filterCollapseChange"],setup(t,{expose:l,emit:r}){const u=r,o=t,m=e.useSlots(),{filterSlotsNames:a,tableSlotNames:k}=Object.keys(m).reduce((n,_)=>(_.startsWith(q)&&n.filterSlotsNames.push(_.replace(new RegExp(`^${q}`),"")),_.startsWith(V)&&n.tableSlotNames.push(_.replace(new RegExp(`^${V}`),"")),n),{filterSlotsNames:[],tableSlotNames:[]}),c=e.ref(),p=e.ref(),s=e.ref(!1);async function i(){var _,S,v,g,B,P;const n=$.x({...(_=c.value)==null?void 0:_.data});if(u("queryClick",n),await((S=o==null?void 0:o.onBeforeQuery)==null?void 0:S.call(o))!==!1&&!await((g=(v=c.value)==null?void 0:v.ins)==null?void 0:g.validate()))if(o.queryBtnLoading){s.value=!0;try{await((B=p.value)==null?void 0:B.replayMethodData(n))}finally{s.value=!1}}else(P=p.value)==null||P.replayMethodData(n)}function f(){var n,_;u("resetClick"),(_=(n=c.value)==null?void 0:n.ins)==null||_.resetFields()}const d=o.filterCollapseStatus!==null?e.computed({get(){return y(o.filterCollapseStatus),o.filterCollapseStatus},set(n){u("update:filterCollapseStatus",n)}}):e.ref(o.filterCollapseable);function y(n=!d.value){!o.filterCollapseable||(d.value=n,e.nextTick(()=>{F(d.value?"shrink":"closeAllCollapse"),u("filterCollapseChange",d.value)}))}const b=e.ref(),h=e.ref(0),R=e.ref(!1);function F(n){var S,v,g;const _=(S=c.value)==null?void 0:S.$el;if(!_||n==="expand"){h.value=0;return}if(d.value)h.value=((v=b==null?void 0:b.value)==null?void 0:v.scrollHeight)||0;else{const B=_.scrollHeight,P=(((g=_.querySelector(".arco-grid-item"))==null?void 0:g.scrollHeight)||0)*2;R.value=B>P,h.value=B-P}setTimeout(()=>{b.value&&(b.value.style.transition="all 0.3s")},100)}return e.onMounted(()=>{o.autoQuery&&i(),e.nextTick(()=>{F("shrink")})}),l({query:i,filterIns:c,tableIns:p}),(n,_)=>{const S=e.resolveComponent("a-card");return e.openBlock(),e.createBlock(S,{class:"f-query-list",bordered:!1},e.createSlots({default:e.withCtx(()=>[e.renderSlot(n.$slots,"filter-prepend"),n.filterItems!==!1?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.simple?(e.openBlock(),e.createBlock(e.unref(C.Space),{key:0,class:"f-query-list__filter--simple"},{default:e.withCtx(()=>[e.createVNode(e.unref(D),e.mergeProps({ref_key:"fFormIns",ref:c,class:"f-query-list__filter-form"},n.fFormProps,{items:n.fFormProps.items||n.filterItems}),e.createSlots({_:2},[e.renderList(e.unref(a),v=>({name:v,fn:e.withCtx(g=>[e.renderSlot(n.$slots,`${q}${v}`,e.normalizeProps(e.guardReactiveProps(g)))])}))]),1040,["items"]),e.createElementVNode("div",be,[e.createVNode(e.unref($._sfc_main),e.mergeProps({icon:"IconSearch"},n.queryBtnProps,{loading:s.value,onClick:i}),null,16,["loading"])])]),_:3})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.filterCollapseable?(e.openBlock(),e.createBlock(e.unref(C.Divider),{key:0,class:"f-query-list__top-divider-right-orientation",orientation:"right",margin:"15px",style:{"margin-bottom":"2px"}},{default:e.withCtx(()=>[e.createElementVNode("span",{onClick:_[0]||(_[0]=v=>d.value=!e.unref(d))},[e.createVNode(e.unref(M._sfc_main),{name:"IconDown",rotate:e.unref(d)?0:180,pointer:!0},null,8,["rotate"]),e.createTextVNode(" "+e.toDisplayString(e.unref(d)?"\u66F4\u591A\u6761\u4EF6":"\u6536\u8D77\u6761\u4EF6"),1)])]),_:1})):e.createCommentVNode("",!0),e.createElementVNode("div",{style:e.normalizeStyle({overflow:"hidden",padding:e.unref(d)?"0":"15px 0",transition:"all 0.3s"})},[e.createElementVNode("div",{ref_key:"filterWarpRef",ref:b,class:e.normalizeClass(["f-query-list__filter",{"f-query-list__filter-collapseable":o.filterCollapseable}]),style:e.normalizeStyle({marginBottom:`-${h.value}px`})},[e.createVNode(e.unref(D),e.mergeProps({ref_key:"fFormIns",ref:c,class:"f-query-list__filter-form"},n.fFormProps,{items:n.fFormProps.items||n.filterItems}),e.createSlots({_:2},[e.renderList(e.unref(a),v=>({name:v,fn:e.withCtx(g=>[e.renderSlot(n.$slots,`${q}${v}`,e.normalizeProps(e.guardReactiveProps(g)))])}))]),1040,["items"]),e.createElementVNode("div",{class:"f-query-list__filter-divider",style:e.normalizeStyle({marginBottom:e.unref(d)?"0px":`${h.value-5}px`})},[R.value?(e.openBlock(),e.createElementBlock("div",he,[e.createVNode(e.unref(M._sfc_main),{name:"IconDownCircle",size:20,rotate:h.value?0:180,pointer:!0,tooltip:h.value?"\u5C55\u5F00\u6240\u6709\u7B5B\u9009\u6761\u4EF6":"\u6536\u8D77",onClick:_[1]||(_[1]=v=>F(h.value?"expand":"shrink"))},null,8,["rotate","tooltip"])])):e.createCommentVNode("",!0),e.createVNode(e.unref(C.Divider),{class:"divider",direction:"vertical"})],4),e.createElementVNode("div",Se,[e.createVNode(e.unref($._sfc_main),e.mergeProps({icon:"IconSearch"},n.queryBtnProps,{loading:s.value,onClick:i}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.queryBtnText),1)]),_:1},16,["loading"]),e.createVNode(e.unref($._sfc_main),e.mergeProps({type:"secondary",icon:"IconRefresh"},n.resetBtnProps,{onClick:f}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.resetBtnText),1)]),_:1},16)])],6)],4),e.createVNode(e.unref(C.Divider),{class:"f-query-list__divider",style:{marginTop:"0px"}})],64))],64)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"table-prepend"),e.createElementVNode("div",Be,[e.createVNode(e.unref(ie._sfc_main),e.mergeProps({id:`f-query-list__table-${n.id}`,ref_key:"fTableIns",ref:p},n.fTableProps,{data:t.tableData,cols:t.tableCols,"no-immediately-method-data":!0}),e.createSlots({_:2},[e.renderList(e.unref(k),v=>({name:v,fn:e.withCtx(g=>[e.renderSlot(n.$slots,`${V}${v}`,e.normalizeProps(e.guardReactiveProps(g)))])}))]),1040,["id","data","cols"])])]),_:2},[n.title||n.$slots.title?{name:"title",fn:e.withCtx(()=>[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)])]),key:"0"}:void 0]),1024)}}}),G=e.defineComponent({__name:"fpop-choice",props:e.mergeModels(Q,{visible:{type:Boolean,default:!1},visibleModifiers:{}}),emits:e.mergeModels({ok(t,l){return{data:t,e:l}}},["update:visible"]),setup(t,{expose:l,emit:r}){const u=r,o=t,m=e.useModel(t,"visible"),a=e.computed(()=>{const s=o.queryListOptions||{};return{...s,fTableProps:{...s.fTableProps,defaultSelectedRows:o.defaultSelectedRows}}}),k=e.ref();function c(...s){var i,f,d,y;u("ok",{keys:(f=(i=k.value)==null?void 0:i.tableIns)==null?void 0:f.selectedRowKeys,list:(y=(d=k.value)==null?void 0:d.tableIns)==null?void 0:y.selectedRows},...s)}function p(...s){var i,f,d,y;o.onBeforeOk?o.onBeforeOk({keys:((f=(i=k.value)==null?void 0:i.tableIns)==null?void 0:f.selectedRowKeys)||[],list:((y=(d=k.value)==null?void 0:d.tableIns)==null?void 0:y.selectedRows)||[]},...s):s[0](!0)}return l({qlIns:k,open(){m.value=!0},close(){m.value=!1}}),(s,i)=>(e.openBlock(),e.createBlock(e.unref(C.Modal),e.mergeProps({visible:m.value,"onUpdate:visible":i[0]||(i[0]=f=>m.value=f),"body-style":{paddingTop:0,paddingBottom:0},draggable:"",width:"80%"},s.popupProps,{"mask-closable":!1,"unmount-on-close":o.unmountOnClose,"on-before-ok":p,onOk:c}),{default:e.withCtx(()=>[e.createVNode(e.unref(U),e.mergeProps({ref_key:"qlIns",ref:k,class:"f-choice-query"},a.value),null,16)]),_:1},16,["visible","unmount-on-close"]))}}),Pe={class:"f-search"},H=e.defineComponent({__name:"fsearch",props:e.mergeModels(K,{modelValue:{default:[]},modelModifiers:{}}),emits:["update:modelValue"],setup(t,{expose:l}){const r=t,u=e.ref(),o=e.useModel(t,"modelValue"),m=e.computed(()=>o.value.map(f=>f[r.textProp||""]).join(",")),a=e.ref(),k=e.computed(()=>{const f={fTableProps:{selectionConfig:{type:"radio",tagLabelKey:r.textProp},rowKey:r.keyProp}};return $.lodash.exports.merge(f,r.queryListOptions),f});function c(f){var y,b;(y=u.value)==null||y.blur(),f.target.tagName.toLocaleUpperCase()!=="SVG"?(b=a.value)==null||b.open():o.value=[]}const p=(f,d)=>{r.onBeforeOk?r.onBeforeOk(f,y=>{y&&(o.value=f.list),d(y)}):(o.value=f.list,d(!0))},s=e.inject(N.fformItemCtxInjectKey,null),i=e.computed(()=>r.placeholder||`\u8BF7\u9009\u62E9${((s==null?void 0:s.label)||"\u2026\u2026").replace(/[: | :]$/,"")}`);return r.defaultData&&(o.value=r.defaultData),l(e.reactive({data:o,openPopChoice:c})),(f,d)=>{var y;return e.openBlock(),e.createElementBlock("div",Pe,[e.createVNode(e.unref(C.Input),{ref_key:"inputRef",ref:u,"model-value":m.value,placeholder:i.value,"allow-clear":r.allowClear,onClick:c},{suffix:e.withCtx(()=>[e.createVNode(e.unref(Ce))]),_:1},8,["model-value","placeholder","allow-clear"]),e.createVNode(e.unref(G),{ref_key:"popChoiceRef",ref:a,"query-list-options":k.value,"popup-props":{title:`\u8BF7\u9009\u62E9${((y=e.unref(s))==null?void 0:y.label)||"\u2026\u2026"}`,...r.popupProps},"default-selected-rows":o.value,"on-before-ok":p},null,8,["query-list-options","popup-props","default-selected-rows"])])}}}),E="custom",L={[E]:null,input:J._sfc_main,text:Y.FText,select:ee._sfc_main,radio:te._sfc_main,checkbox:re._sfc_main,switch:oe._sfc_main,date:le._sfc_main,range:ne._sfc_main,"ml-input":se._sfc_main,textarea:ae._sfc_main,search:H},X={prop:{type:String,default:null},comp:{required:!0,type:String,default:null,validator:t=>Object.keys(L).includes(t)},render:{type:Function,default:null,validator:(t,l)=>l.comp===E},compProps:{type:Object,default:null},label:{type:String,default:""},hideLabel:{type:Boolean,default:t=>!t.label},tooltip:{type:String,default:null},required:{type:Boolean,default:!1},rules:{type:[Object,Array],default(t){return t.required?[{required:!0,message:`${t.label}\u4E0D\u80FD\u4E3A\u7A7A`}]:null}}},$e={key:0,class:"f-form-item__prepend"},qe={key:3,class:"f-form-item__append"},j="comp_",Z=e.defineComponent({__name:"fform-item",props:e.mergeModels(X,{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const l=e.inject(N.fformCtxInjectKey,{data:{}}),r=t,u=e.useModel(t,"modelValue"),o=e.useSlots(),{curSlotKeys:m,compSlotKeys:a}=Object.keys(o).reduce((c,p)=>(p.startsWith(j)?c.compSlotKeys.push(p.replace(j,"")):p!=="default"&&c.curSlotKeys.push(p),c),{curSlotKeys:[],compSlotKeys:[]}),k=r.comp?L[r.comp]:null;return e.provide(N.fformItemCtxInjectKey,e.reactive({prop:e.toRef(r,"prop"),label:e.toRef(r,"label")})),(c,p)=>(e.openBlock(),e.createBlock(e.unref(C.FormItem),{"row-class":"f-form-item",label:r.label,"hide-label":r.hideLabel,required:c.required,rules:c.rules},e.createSlots({label:e.withCtx(s=>[e.renderSlot(c.$slots,"label",e.normalizeProps(e.guardReactiveProps(s)),()=>[e.createElementVNode("span",null,e.toDisplayString(r.label),1),r.tooltip||c.$slots.tooltip?(e.openBlock(),e.createBlock(e.unref(C.Tooltip),{key:0},{content:e.withCtx(()=>[e.renderSlot(c.$slots,"tooltip",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.tooltip.split(`
|
|
2
|
+
`)||[],i=>(e.openBlock(),e.createElementBlock("div",null,e.toDisplayString(i),1))),256))])]),default:e.withCtx(()=>[e.createVNode(e.unref(ye),{style:{"margin-left":"3px"}})]),_:3})):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[c.$slots.prepend?(e.openBlock(),e.createElementBlock("div",$e,[e.renderSlot(c.$slots,"prepend",e.normalizeProps(e.guardReactiveProps(e.unref(l).data)))])):e.createCommentVNode("",!0),r.comp===e.unref(E)?e.renderSlot(c.$slots,"default",{key:1,data:e.unref(l).data},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.render),{data:e.unref(l).data},null,8,["data"]))]):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(k)),e.mergeProps({key:2},r.compProps,{modelValue:u.value,"onUpdate:modelValue":p[0]||(p[0]=s=>u.value=s)}),e.createSlots({_:2},[e.renderList(e.unref(a),s=>({name:s,fn:e.withCtx(i=>[e.renderSlot(c.$slots,`${j}${s}`,e.normalizeProps(e.guardReactiveProps(i)))])}))]),1040,["modelValue"])),c.$slots.append?(e.openBlock(),e.createElementBlock("div",qe,[e.renderSlot(c.$slots,"append",e.normalizeProps(e.guardReactiveProps(e.unref(l).data)))])):e.createCommentVNode("",!0)]),_:2},[e.renderList(e.unref(m),s=>({name:s,fn:e.withCtx(i=>[e.renderSlot(c.$slots,s,e.normalizeProps(e.guardReactiveProps(i)))])}))]),1032,["label","hide-label","required","rules"]))}}),x="item-",D=e.defineComponent({__name:"fform",props:T,setup(t,{expose:l}){const r=e.defineComponent({inheritAttrs:!1,props:{gridItemProps:{type:Object,default:()=>({})}},setup(p,{attrs:s,slots:i}){return()=>e.h(C.GridItem,p.gridItemProps,()=>e.h(Z,{...s,field:s.prop},i))}}),u=t,o=e.useSlots();function m(p){return p?Object.keys(o).reduce((s,i)=>(i.startsWith(`${x}${p}`)&&s.push(i.replace(new RegExp(`^${x}${p}_`),"")),s),[]):[]}const a=u.data?e.toRef(u,"data"):e.ref({...u.defaultData}),k=typeof u.itemSpan=="number"?{span:u.itemSpan}:u.itemSpan,c=e.ref();return e.provide(N.fformCtxInjectKey,e.reactive({data:a})),l({data:a,setFieldValue:(p,s)=>{if(u.data)throw new Error("\u5728\u975E\u53D7\u63A7\u6A21\u5F0F\u4E0B\uFF0C\u4E0D\u652F\u6301\u66F4\u65B0\u6570\u636E");a.value[p]=s},ins:c}),(p,s)=>(e.openBlock(),e.createBlock(e.unref(C.Form),{ref_key:"formRef",ref:c,class:"f-form",model:e.unref(a),"auto-label-width":!0},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"prepend",{data:e.unref(a)}),e.createVNode(e.unref(C.Grid),e.mergeProps(p.gridProps,{class:p.contentClass}),{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.items,i=>(e.openBlock(),e.createBlock(e.unref(r),e.mergeProps({key:i.prop,modelValue:e.unref(a)[i.prop],"onUpdate:modelValue":f=>e.unref(a)[i.prop]=f},{ref_for:!0},i,{"grid-item-props":i.gridItemProps||e.unref(k),"label-col-flex":i.labelColFlex||p.labelWidth}),e.createSlots({_:2},[e.renderList(m(i.slotName||""),f=>({name:f,fn:e.withCtx(d=>[e.renderSlot(p.$slots,`${x}${i.slotName}_${f}`,e.mergeProps({ref_for:!0},d))])}))]),1040,["modelValue","onUpdate:modelValue","grid-item-props","label-col-flex"]))),128))]),_:3},16,["class"]),e.renderSlot(p.$slots,"append",{data:e.unref(a)})]),_:3},8,["model"]))}});exports.CUSTOM_COMPONENT_NAME=E;exports._sfc_main=D;exports._sfc_main$1=Z;exports._sfc_main$2=U;exports._sfc_main$3=G;exports._sfc_main$4=H;exports.fFormItemComponents=L;exports.fFormItemProps=X;exports.fFormProps=T;exports.fPopChoiceProps=Q;exports.fQueryListProps=w;exports.fSearchProps=K;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),d=require("@arco-design/web-vue"),C=require("./chunk-32aa5901.js"),E=require("./chunk-592857c5.js"),x={defaultValue:{type:String,default:null},separator:{type:String,default:","},placeholder:{type:String,default:""},type:{type:String,default:"text"},allowClear:{type:Boolean,default:!0},popupConfig:{type:Object,default:null}},R={class:"f-ml-input__modal-tip"},$=e.defineComponent({inheritAttrs:!1,__name:"fml-input",props:e.mergeModels(x,{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(m,{expose:V}){const t=m;function v(u,l=t.separator){if(!u)return"";const a=new RegExp(`[^0-9${l}]`,"g"),y=new RegExp(`${l}+`,"g"),b=new RegExp(`^${l}`,"g");return u.replace(a,"").replace(y,l).replace(b,"")}const s=e.ref(),c=e.useModel(m,"modelValue"),o=e.computed({get:()=>{var u;return(u=c.value)!=null?u:""},set:u=>{t.type==="number"?c.value=v(u):c.value=u}});t.defaultValue&&(o.value=t.defaultValue);const n=e.inject(C.fformItemCtxInjectKey,null),g=e.computed(()=>t.placeholder||`\u652F\u6301\u591A\u4E2A${((n==null?void 0:n.label)||"\u6570\u636E").replace(/[: | :]$/,"")}\u8F93\u5165`),f=e.ref(),i=e.computed(()=>{var u;return{title:`\u591A\u4E2A${((n==null?void 0:n.label)||"\u6570\u636E").replace(/[: | :]$/,"")}\u586B\u5199`,tip:"\u4F7F\u7528\u82F1\u6587\u72B6\u6001\u9017\u53F7\uFF08,\uFF09\u6216\u56DE\u8F66\uFF08\u4E00\u884C\u4E00\u4E2A\uFF09\u8FDB\u884C\u5206\u5272",placeholder:g.value,...t.popupConfig,rows:(u=t.popupConfig)!=null&&u.rows?typeof t.popupConfig.rows=="number"?{minRows:t.popupConfig.rows,maxRows:t.popupConfig.rows}:t.popupConfig.rows:{minRows:10,maxRows:10}}}),r=e.ref("");function F(u){t.type==="number"?r.value=v(u,`
|
|
2
|
+
`):r.value=u}const p=e.ref(!1);function w(u){var l;p.value=u===void 0?!p.value:u,p.value&&(e.nextTick(()=>{var a;return(a=f.value)==null?void 0:a.focus()}),r.value=o.value?`${((l=o.value)==null?void 0:l.replace(new RegExp(t.separator,"g"),`
|
|
3
|
+
`))||""}
|
|
4
|
+
`:"")}function _(){o.value=r.value.replace(/\n/g,t.separator)}return V({value:o,focus(...u){var l;(l=s.value)==null||l.focus(...u)},blur(...u){var l;(l=s.value)==null||l.blur(...u)},toggleModal:w,inputIns:s,textareaIns:f}),(u,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(d.Input),e.mergeProps({ref_key:"inputRef",ref:s,modelValue:o.value,"onUpdate:modelValue":l[1]||(l[1]=a=>o.value=a),class:"f-ml-input",placeholder:g.value,"allow-clear":u.allowClear},u.$attrs),{prefix:e.withCtx(()=>[e.renderSlot(u.$slots,"prefix",{},()=>[e.createVNode(e.unref(E._sfc_main),{name:"IconList",pointer:!0,onClick:l[0]||(l[0]=a=>w())})])]),_:3},16,["modelValue","placeholder","allow-clear"]),e.createVNode(e.unref(d.Modal),{visible:p.value,"onUpdate:visible":l[2]||(l[2]=a=>p.value=a),"modal-class":"f-ml-input__modal",simple:"",title:i.value.title,"unmount-on-close":"",onOk:_},{default:e.withCtx(()=>[e.createElementVNode("p",R,e.toDisplayString(i.value.tip),1),e.createVNode(e.unref(d.Textarea),{ref_key:"textareaRef",ref:f,"model-value":r.value,"auto-size":i.value.rows,placeholder:i.value.placeholder,"onUpdate:modelValue":F},null,8,["model-value","auto-size","placeholder"])]),_:1},8,["visible","title"])],64))}});exports._sfc_main=$;exports.fMlInputProps=x;
|