yahee-components 0.0.62 → 0.0.64
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/es/complex-search/complex-search.vue.js +76 -72
- package/es/left-condition-enum/left-condition-enum.vue.js +31 -59
- package/package.json +3 -3
- package/types/src/complex-search/props.d.ts +2 -0
- package/types/src/installs.d.ts +31 -148
- package/types/src/left-condition-enum/index.d.ts +32 -149
- package/types/src/left-condition-enum/left-condition-enum.vue.d.ts +21 -149
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ue, mergeDefaults as ne, toRefs as ce, ref as p, createBlock as d, openBlock as n, unref as a, withCtx as t, createElementVNode as x, createVNode as o, withKeys as ie, createSlots as pe, createElementBlock as y, Fragment as b, renderList as S, createCommentVNode as P, createTextVNode as C, toDisplayString as g } from "vue";
|
|
2
2
|
import T from "../_virtual/lodash.js";
|
|
3
|
-
import { defaultComplexSearchProps as
|
|
4
|
-
import { ElConfigProvider as
|
|
3
|
+
import { defaultComplexSearchProps as de } from "./props.js";
|
|
4
|
+
import { ElConfigProvider as me, ElInput as U, ElIcon as he, ElSelect as V, ElOption as k, ElCheckbox as fe, ElLink as ve, ElDialog as ye, ElForm as be, ElRow as L, ElFormItem as R, ElButton as z } from "element-plus";
|
|
5
5
|
import "element-plus/theme-chalk/src/base.scss";
|
|
6
6
|
import "element-plus/theme-chalk/src/input.scss";
|
|
7
7
|
import "element-plus/theme-chalk/src/checkbox.scss";
|
|
@@ -19,12 +19,12 @@ import "element-plus/theme-chalk/src/row.scss";
|
|
|
19
19
|
import "element-plus/theme-chalk/src/button.scss";
|
|
20
20
|
import "element-plus/theme-chalk/src/link.scss";
|
|
21
21
|
import "element-plus/theme-chalk/src/config-provider.scss";
|
|
22
|
-
import { Search as
|
|
22
|
+
import { Search as Se } from "@element-plus/icons-vue";
|
|
23
23
|
import Ce from "../node_modules/.pnpm/element-plus@2.9.7_vue@3.5.13_typescript@5.8.3_/node_modules/element-plus/es/locale/lang/zh-cn.js";
|
|
24
|
-
const
|
|
24
|
+
const ge = { class: "yahee-complex-search" }, Ve = { class: "search-type-checkbox" }, ke = { class: "dialog-footer" }, Ye = /* @__PURE__ */ ue({
|
|
25
25
|
name: "YaheeComplexSearch",
|
|
26
26
|
__name: "complex-search",
|
|
27
|
-
props: /* @__PURE__ */
|
|
27
|
+
props: /* @__PURE__ */ ne({
|
|
28
28
|
pasteFormat: { type: Function },
|
|
29
29
|
defaultSearch: {},
|
|
30
30
|
options: {},
|
|
@@ -34,58 +34,62 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
34
34
|
specialOptions: {},
|
|
35
35
|
normalOptions: {},
|
|
36
36
|
showSelect: { type: Boolean },
|
|
37
|
-
searchItem: {}
|
|
38
|
-
|
|
37
|
+
searchItem: {},
|
|
38
|
+
isBatchSelectOptionsSameWithInput: { type: Boolean },
|
|
39
|
+
batchOptions: {}
|
|
40
|
+
}, de()),
|
|
39
41
|
emits: ["filterChangeGrandson"],
|
|
40
42
|
setup(G, { emit: H }) {
|
|
41
43
|
const N = Ce, h = H, A = G, {
|
|
42
44
|
defaultSearch: q,
|
|
43
|
-
options:
|
|
45
|
+
options: O,
|
|
44
46
|
showPatchSearch: X,
|
|
45
|
-
specialOptions:
|
|
47
|
+
specialOptions: F,
|
|
46
48
|
showWithinFilterCheckbox: Y,
|
|
47
49
|
placeholderText: j,
|
|
48
50
|
normalOptions: J,
|
|
49
51
|
showSelect: B,
|
|
50
|
-
searchItem: c
|
|
51
|
-
|
|
52
|
+
searchItem: c,
|
|
53
|
+
isBatchSelectOptionsSameWithInput: M,
|
|
54
|
+
batchOptions: Q
|
|
55
|
+
} = ce(A), u = p(q.value || "WHOLE_SEARCH"), m = p(""), f = p(!1), E = p(!1), v = p(!1), I = p(null), s = p({ searchType: "WHOLE_SEARCH", searchContent: "" }), Z = {
|
|
52
56
|
selectedSearchType: [{ required: !0, message: "请输入查询类型", trigger: "blur" }],
|
|
53
57
|
searchContent: [{ required: !0, message: "请输入查询内容", trigger: "blur" }]
|
|
54
|
-
},
|
|
58
|
+
}, _ = [
|
|
55
59
|
{
|
|
56
60
|
value: "WHOLE_SEARCH",
|
|
57
61
|
label: "综合搜索"
|
|
58
62
|
}
|
|
59
|
-
],
|
|
63
|
+
], $ = () => {
|
|
60
64
|
v.value = !0;
|
|
61
|
-
},
|
|
65
|
+
}, K = () => {
|
|
62
66
|
v.value = !1;
|
|
63
|
-
},
|
|
67
|
+
}, ee = () => {
|
|
64
68
|
f.value || (delete c.value.putSearch, h("filterChangeGrandson", c.value, u.value));
|
|
65
|
-
},
|
|
66
|
-
m.value ?
|
|
67
|
-
},
|
|
69
|
+
}, le = () => c.value, w = () => {
|
|
70
|
+
m.value ? re() : h("filterChangeGrandson", le(), u.value);
|
|
71
|
+
}, ae = (r, l) => {
|
|
68
72
|
const e = { ...r };
|
|
69
|
-
return T.map(
|
|
73
|
+
return T.map(F.value, (i) => i.key).includes(l.filterKey) ? F.value.forEach((i) => delete e[i.key]) : delete e[l.filterKey], e;
|
|
70
74
|
};
|
|
71
|
-
function
|
|
75
|
+
function W(r) {
|
|
72
76
|
T.forEach(r, (l) => {
|
|
73
|
-
|
|
77
|
+
ae(c.value, l);
|
|
74
78
|
const { checkedValues: e, filterKey: i } = l;
|
|
75
79
|
T.isEmpty(e) || (J.value.includes(i) ? c.value[i] = e[0] : c.value[i] = e);
|
|
76
80
|
}), h("filterChangeGrandson", c.value, u.value);
|
|
77
81
|
}
|
|
78
|
-
const
|
|
79
|
-
m.value =
|
|
80
|
-
},
|
|
81
|
-
s.value.searchContent =
|
|
82
|
-
},
|
|
82
|
+
const te = (r) => {
|
|
83
|
+
m.value = D(r) || "";
|
|
84
|
+
}, oe = (r) => {
|
|
85
|
+
s.value.searchContent = D(r) || "";
|
|
86
|
+
}, D = (r) => {
|
|
83
87
|
var e;
|
|
84
88
|
r.preventDefault();
|
|
85
89
|
const l = (e = r.clipboardData) == null ? void 0 : e.getData("text/plain");
|
|
86
90
|
return l == null ? void 0 : l.replace(/[\n\r\t]+/g, ",");
|
|
87
|
-
},
|
|
88
|
-
f.value ?
|
|
91
|
+
}, re = () => {
|
|
92
|
+
f.value ? W([
|
|
89
93
|
{
|
|
90
94
|
filterKey: "putSearch",
|
|
91
95
|
checkedValues: m.value
|
|
@@ -102,9 +106,9 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
102
106
|
},
|
|
103
107
|
u.value
|
|
104
108
|
);
|
|
105
|
-
},
|
|
106
|
-
|
|
107
|
-
r && (E.value = !0, f.value ?
|
|
109
|
+
}, se = () => {
|
|
110
|
+
I.value.validate((r) => {
|
|
111
|
+
r && (E.value = !0, f.value ? W([
|
|
108
112
|
{
|
|
109
113
|
filterKey: "putSearch",
|
|
110
114
|
checkedValues: s.value.searchContent
|
|
@@ -123,10 +127,10 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
123
127
|
), v.value = !1, E.value = !1);
|
|
124
128
|
});
|
|
125
129
|
};
|
|
126
|
-
return (r, l) => (n(),
|
|
130
|
+
return (r, l) => (n(), d(a(me), { locale: a(N) }, {
|
|
127
131
|
default: t(() => [
|
|
128
|
-
x("div",
|
|
129
|
-
o(a(
|
|
132
|
+
x("div", ge, [
|
|
133
|
+
o(a(U), {
|
|
130
134
|
modelValue: m.value,
|
|
131
135
|
"onUpdate:modelValue": l[2] || (l[2] = (e) => m.value = e),
|
|
132
136
|
placeholder: a(j),
|
|
@@ -134,11 +138,11 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
134
138
|
clearable: "",
|
|
135
139
|
maxlength: "30",
|
|
136
140
|
onChange: w,
|
|
137
|
-
onKeyup:
|
|
138
|
-
onPaste:
|
|
139
|
-
},
|
|
141
|
+
onKeyup: ie(w, ["enter"]),
|
|
142
|
+
onPaste: te
|
|
143
|
+
}, pe({
|
|
140
144
|
append: t(() => [
|
|
141
|
-
o(a(
|
|
145
|
+
o(a(he), {
|
|
142
146
|
size: "12",
|
|
143
147
|
color: "#3366cc",
|
|
144
148
|
style: { cursor: "pointer" },
|
|
@@ -146,7 +150,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
146
150
|
onClick: w
|
|
147
151
|
}, {
|
|
148
152
|
default: t(() => [
|
|
149
|
-
o(a(
|
|
153
|
+
o(a(Se))
|
|
150
154
|
]),
|
|
151
155
|
_: 1
|
|
152
156
|
})
|
|
@@ -163,7 +167,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
163
167
|
class: "custom-select"
|
|
164
168
|
}, {
|
|
165
169
|
default: t(() => [
|
|
166
|
-
(n(!0), y(
|
|
170
|
+
(n(!0), y(b, null, S(a(O), (e) => (n(), d(a(k), {
|
|
167
171
|
key: e.label,
|
|
168
172
|
label: e.label,
|
|
169
173
|
value: e.value
|
|
@@ -184,7 +188,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
184
188
|
disabled: ""
|
|
185
189
|
}, {
|
|
186
190
|
default: t(() => [
|
|
187
|
-
(n(), y(
|
|
191
|
+
(n(), y(b, null, S(_, (e) => o(a(k), {
|
|
188
192
|
key: e.label,
|
|
189
193
|
label: e.label,
|
|
190
194
|
value: e.value
|
|
@@ -196,72 +200,72 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
196
200
|
key: "1"
|
|
197
201
|
}
|
|
198
202
|
]), 1032, ["modelValue", "placeholder"]),
|
|
199
|
-
x("div",
|
|
200
|
-
a(Y) ? (n(),
|
|
203
|
+
x("div", Ve, [
|
|
204
|
+
a(Y) ? (n(), d(a(fe), {
|
|
201
205
|
key: 0,
|
|
202
206
|
modelValue: f.value,
|
|
203
207
|
"onUpdate:modelValue": l[3] || (l[3] = (e) => f.value = e),
|
|
204
|
-
onChange:
|
|
208
|
+
onChange: ee
|
|
205
209
|
}, {
|
|
206
210
|
default: t(() => l[8] || (l[8] = [
|
|
207
|
-
g(
|
|
211
|
+
C(g("在筛选条件内查询"))
|
|
208
212
|
])),
|
|
209
213
|
_: 1
|
|
210
|
-
}, 8, ["modelValue"])) :
|
|
211
|
-
a(X) ? (n(),
|
|
214
|
+
}, 8, ["modelValue"])) : P("", !0),
|
|
215
|
+
a(X) ? (n(), d(a(ve), {
|
|
212
216
|
key: 1,
|
|
213
217
|
type: "primary",
|
|
214
|
-
onClick:
|
|
218
|
+
onClick: $
|
|
215
219
|
}, {
|
|
216
220
|
default: t(() => l[9] || (l[9] = [
|
|
217
|
-
g(
|
|
221
|
+
C(g("批量查询"))
|
|
218
222
|
])),
|
|
219
223
|
_: 1
|
|
220
|
-
})) :
|
|
224
|
+
})) : P("", !0)
|
|
221
225
|
])
|
|
222
226
|
]),
|
|
223
|
-
o(a(
|
|
227
|
+
o(a(ye), {
|
|
224
228
|
modelValue: v.value,
|
|
225
229
|
"onUpdate:modelValue": l[7] || (l[7] = (e) => v.value = e),
|
|
226
230
|
title: "批量查询",
|
|
227
231
|
width: "30%",
|
|
228
|
-
"before-close":
|
|
232
|
+
"before-close": K,
|
|
229
233
|
"append-to-body": !0,
|
|
230
234
|
draggable: ""
|
|
231
235
|
}, {
|
|
232
236
|
footer: t(() => [
|
|
233
|
-
x("div",
|
|
237
|
+
x("div", ke, [
|
|
234
238
|
o(a(z), {
|
|
235
239
|
type: "primary",
|
|
236
240
|
loading: E.value,
|
|
237
|
-
onClick:
|
|
241
|
+
onClick: se
|
|
238
242
|
}, {
|
|
239
243
|
default: t(() => l[10] || (l[10] = [
|
|
240
|
-
g(
|
|
244
|
+
C(g("确认"))
|
|
241
245
|
])),
|
|
242
246
|
_: 1
|
|
243
247
|
}, 8, ["loading"]),
|
|
244
|
-
o(a(z), { onClick:
|
|
248
|
+
o(a(z), { onClick: K }, {
|
|
245
249
|
default: t(() => l[11] || (l[11] = [
|
|
246
|
-
g(
|
|
250
|
+
C(g("关闭"))
|
|
247
251
|
])),
|
|
248
252
|
_: 1
|
|
249
253
|
})
|
|
250
254
|
])
|
|
251
255
|
]),
|
|
252
256
|
default: t(() => [
|
|
253
|
-
o(a(
|
|
257
|
+
o(a(be), {
|
|
254
258
|
ref_key: "batchSearchFormRef",
|
|
255
|
-
ref:
|
|
259
|
+
ref: I,
|
|
256
260
|
model: s.value,
|
|
257
|
-
rules:
|
|
261
|
+
rules: Z
|
|
258
262
|
}, {
|
|
259
263
|
default: t(() => [
|
|
260
|
-
o(a(
|
|
264
|
+
o(a(L), { class: "row-class" }, {
|
|
261
265
|
default: t(() => [
|
|
262
|
-
o(a(
|
|
266
|
+
o(a(R), { prop: "searchType" }, {
|
|
263
267
|
default: t(() => [
|
|
264
|
-
a(B) ? (n(),
|
|
268
|
+
a(B) ? (n(), d(a(V), {
|
|
265
269
|
key: 0,
|
|
266
270
|
modelValue: s.value.searchType,
|
|
267
271
|
"onUpdate:modelValue": l[4] || (l[4] = (e) => s.value.searchType = e),
|
|
@@ -269,14 +273,14 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
269
273
|
style: { width: "100px", "background-color": "white" }
|
|
270
274
|
}, {
|
|
271
275
|
default: t(() => [
|
|
272
|
-
(n(!0), y(
|
|
276
|
+
(n(!0), y(b, null, S(a(M) ? a(O) : a(Q), (e) => (n(), d(a(k), {
|
|
273
277
|
key: e.label,
|
|
274
278
|
label: e.label,
|
|
275
279
|
value: e.value
|
|
276
280
|
}, null, 8, ["label", "value"]))), 128))
|
|
277
281
|
]),
|
|
278
282
|
_: 1
|
|
279
|
-
}, 8, ["modelValue"])) : (n(),
|
|
283
|
+
}, 8, ["modelValue"])) : (n(), d(a(V), {
|
|
280
284
|
key: 1,
|
|
281
285
|
modelValue: s.value.searchType,
|
|
282
286
|
"onUpdate:modelValue": l[5] || (l[5] = (e) => s.value.searchType = e),
|
|
@@ -285,7 +289,7 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
285
289
|
disabled: ""
|
|
286
290
|
}, {
|
|
287
291
|
default: t(() => [
|
|
288
|
-
(n(), y(
|
|
292
|
+
(n(), y(b, null, S(_, (e) => o(a(k), {
|
|
289
293
|
key: e.label,
|
|
290
294
|
label: e.label,
|
|
291
295
|
value: e.value
|
|
@@ -299,20 +303,20 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
299
303
|
]),
|
|
300
304
|
_: 1
|
|
301
305
|
}),
|
|
302
|
-
o(a(
|
|
306
|
+
o(a(L), { class: "row-class" }, {
|
|
303
307
|
default: t(() => [
|
|
304
|
-
o(a(
|
|
308
|
+
o(a(R), {
|
|
305
309
|
prop: "searchContent",
|
|
306
310
|
style: { width: "100%" }
|
|
307
311
|
}, {
|
|
308
312
|
default: t(() => [
|
|
309
|
-
o(a(
|
|
313
|
+
o(a(U), {
|
|
310
314
|
modelValue: s.value.searchContent,
|
|
311
315
|
"onUpdate:modelValue": l[6] || (l[6] = (e) => s.value.searchContent = e),
|
|
312
316
|
placeholder: "请输入批量查询内容,从EXCEL复制可自动替换为`,`",
|
|
313
317
|
type: "textarea",
|
|
314
318
|
rows: 5,
|
|
315
|
-
onPaste:
|
|
319
|
+
onPaste: oe
|
|
316
320
|
}, null, 8, ["modelValue"])
|
|
317
321
|
]),
|
|
318
322
|
_: 1
|
|
@@ -332,5 +336,5 @@ const be = { class: "yahee-complex-search" }, ge = { class: "search-type-checkbo
|
|
|
332
336
|
}
|
|
333
337
|
});
|
|
334
338
|
export {
|
|
335
|
-
|
|
339
|
+
Ye as default
|
|
336
340
|
};
|
|
@@ -1,67 +1,38 @@
|
|
|
1
|
-
import { defineComponent as c, ref as
|
|
2
|
-
import
|
|
3
|
-
import { storage as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as c, toRefs as d, ref as h, onMounted as N, createBlock as p, openBlock as y, unref as k } from "vue";
|
|
2
|
+
import C from "../left-condition/left-condition.vue.js";
|
|
3
|
+
import { storage as s } from "../utils/storage.js";
|
|
4
|
+
const v = /* @__PURE__ */ c({
|
|
5
5
|
name: "YaheeLeftConditionEnum",
|
|
6
6
|
__name: "left-condition-enum",
|
|
7
7
|
props: {
|
|
8
|
-
selectList: {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
},
|
|
20
|
-
filterKey: {
|
|
21
|
-
type: String,
|
|
22
|
-
default: ""
|
|
23
|
-
},
|
|
24
|
-
totalCount: {
|
|
25
|
-
type: Number,
|
|
26
|
-
required: !1
|
|
27
|
-
},
|
|
28
|
-
noNeedRefreshNumFilterName: {
|
|
29
|
-
type: String,
|
|
30
|
-
required: !1
|
|
31
|
-
},
|
|
32
|
-
allIsCheckbox: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
required: !1
|
|
35
|
-
},
|
|
36
|
-
allIsEmpty: {
|
|
37
|
-
type: Boolean,
|
|
38
|
-
required: !1
|
|
39
|
-
},
|
|
40
|
-
translateUserId: {
|
|
41
|
-
type: Boolean,
|
|
42
|
-
required: !1
|
|
43
|
-
},
|
|
44
|
-
initFilters: {
|
|
45
|
-
type: Function,
|
|
46
|
-
required: !0
|
|
47
|
-
}
|
|
8
|
+
selectList: { default: () => [] },
|
|
9
|
+
countList: { default: () => [] },
|
|
10
|
+
enumEntity: { default: "" },
|
|
11
|
+
filterKey: { default: "" },
|
|
12
|
+
totalCount: { default: 0 },
|
|
13
|
+
noNeedRefreshNumFilterName: { default: "" },
|
|
14
|
+
allIsCheckbox: { type: Boolean },
|
|
15
|
+
allIsEmpty: { type: Boolean },
|
|
16
|
+
translateUserId: { type: Boolean },
|
|
17
|
+
initFilters: {},
|
|
18
|
+
defaultValues: { default: () => [] }
|
|
48
19
|
},
|
|
49
20
|
emits: ["filterChange", "setNoNeedRefreshNumFilterName"],
|
|
50
|
-
setup(
|
|
51
|
-
const t =
|
|
52
|
-
|
|
21
|
+
setup(i, { emit: r }) {
|
|
22
|
+
const t = i, { defaultValues: u } = d(t), a = r, l = h(t.selectList), f = (e) => {
|
|
23
|
+
a("filterChange", e);
|
|
53
24
|
}, m = () => {
|
|
54
|
-
|
|
25
|
+
a("setNoNeedRefreshNumFilterName", t.filterKey);
|
|
55
26
|
};
|
|
56
|
-
return
|
|
57
|
-
const
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}).catch((
|
|
61
|
-
console.log(
|
|
27
|
+
return N(() => {
|
|
28
|
+
const e = `filter-key-${t.enumEntity}`, o = s.getWithExpireTime(e);
|
|
29
|
+
o ? l.value = o : (console.log(t.enumEntity), t.initFilters(t.enumEntity).then((n) => {
|
|
30
|
+
l.value = n.data, s.setWithExpireTime(e, l.value, 1200 * 1e3), console.log(n);
|
|
31
|
+
}).catch((n) => {
|
|
32
|
+
console.log(n);
|
|
62
33
|
}));
|
|
63
|
-
}), (
|
|
64
|
-
"select-list":
|
|
34
|
+
}), (e, o) => (y(), p(C, {
|
|
35
|
+
"select-list": l.value,
|
|
65
36
|
"count-list": e.countList,
|
|
66
37
|
"total-count": e.totalCount,
|
|
67
38
|
"filter-key": e.filterKey,
|
|
@@ -69,11 +40,12 @@ const C = /* @__PURE__ */ c({
|
|
|
69
40
|
"all-is-checkbox": e.allIsCheckbox,
|
|
70
41
|
"translate-user-id": e.translateUserId,
|
|
71
42
|
"all-is-empty": e.allIsEmpty,
|
|
72
|
-
|
|
43
|
+
"default-values": k(u),
|
|
44
|
+
onFilterChange: f,
|
|
73
45
|
onSetNoNeedRefreshNumFilterName: m
|
|
74
|
-
}, null, 8, ["select-list", "count-list", "total-count", "filter-key", "no-need-refresh-num-filter-name", "all-is-checkbox", "translate-user-id", "all-is-empty"]));
|
|
46
|
+
}, null, 8, ["select-list", "count-list", "total-count", "filter-key", "no-need-refresh-num-filter-name", "all-is-checkbox", "translate-user-id", "all-is-empty", "default-values"]));
|
|
75
47
|
}
|
|
76
48
|
});
|
|
77
49
|
export {
|
|
78
|
-
|
|
50
|
+
v as default
|
|
79
51
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yahee-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.64",
|
|
5
5
|
"description": "深圳前海亚讯前端组件库",
|
|
6
6
|
"main": "lib",
|
|
7
7
|
"module": "es",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"gulp-sass": "^5.1.0",
|
|
28
28
|
"sass": "^1.78.0",
|
|
29
29
|
"shelljs": "^0.8.5",
|
|
30
|
-
"typedoc": "0.28.
|
|
31
|
-
"typedoc-plugin-markdown": "^4.6.
|
|
30
|
+
"typedoc": "0.28.5",
|
|
31
|
+
"typedoc-plugin-markdown": "^4.6.4",
|
|
32
32
|
"unplugin-element-plus": "^0.8.0",
|
|
33
33
|
"vite": "^6.0.1"
|
|
34
34
|
},
|
|
@@ -50,6 +50,8 @@ export interface ComplexSearchProps {
|
|
|
50
50
|
* default: {}
|
|
51
51
|
*/
|
|
52
52
|
searchItem?: SearchItem;
|
|
53
|
+
isBatchSelectOptionsSameWithInput?: boolean;
|
|
54
|
+
batchOptions?: SearchOptions[];
|
|
53
55
|
}
|
|
54
56
|
export declare function defaultComplexSearchProps(): {
|
|
55
57
|
defaultSearch: string;
|
package/types/src/installs.d.ts
CHANGED
|
@@ -1566,162 +1566,45 @@ declare const _default: (( SFCWithInstall<DefineComponent<InputProps, {
|
|
|
1566
1566
|
allIsCheckbox: boolean;
|
|
1567
1567
|
translateUserId: boolean;
|
|
1568
1568
|
}>[];
|
|
1569
|
-
}, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<
|
|
1570
|
-
selectList:
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
of<T>(...items: T[]): T[];
|
|
1583
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
1584
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
1585
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1586
|
-
};
|
|
1587
|
-
default: () => Option[];
|
|
1588
|
-
};
|
|
1589
|
-
countList: {
|
|
1590
|
-
type: {
|
|
1591
|
-
(arrayLength: number): any[];
|
|
1592
|
-
(...items: any[]): any[];
|
|
1593
|
-
new (arrayLength: number): any[];
|
|
1594
|
-
new (...items: any[]): any[];
|
|
1595
|
-
isArray(arg: any): arg is any[];
|
|
1596
|
-
readonly prototype: any[];
|
|
1597
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1598
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1599
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
1600
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1601
|
-
of<T>(...items: T[]): T[];
|
|
1602
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
1603
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
1604
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1605
|
-
};
|
|
1606
|
-
required: false;
|
|
1607
|
-
};
|
|
1608
|
-
enumEntity: {
|
|
1609
|
-
type: StringConstructor;
|
|
1610
|
-
default: string;
|
|
1611
|
-
};
|
|
1612
|
-
filterKey: {
|
|
1613
|
-
type: StringConstructor;
|
|
1614
|
-
default: string;
|
|
1615
|
-
};
|
|
1616
|
-
totalCount: {
|
|
1617
|
-
type: NumberConstructor;
|
|
1618
|
-
required: false;
|
|
1619
|
-
};
|
|
1620
|
-
noNeedRefreshNumFilterName: {
|
|
1621
|
-
type: StringConstructor;
|
|
1622
|
-
required: false;
|
|
1623
|
-
};
|
|
1624
|
-
allIsCheckbox: {
|
|
1625
|
-
type: BooleanConstructor;
|
|
1626
|
-
required: false;
|
|
1627
|
-
};
|
|
1628
|
-
allIsEmpty: {
|
|
1629
|
-
type: BooleanConstructor;
|
|
1630
|
-
required: false;
|
|
1631
|
-
};
|
|
1632
|
-
translateUserId: {
|
|
1633
|
-
type: BooleanConstructor;
|
|
1634
|
-
required: false;
|
|
1635
|
-
};
|
|
1636
|
-
initFilters: {
|
|
1637
|
-
type: FunctionConstructor;
|
|
1638
|
-
required: true;
|
|
1639
|
-
};
|
|
1640
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1569
|
+
}, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
|
|
1570
|
+
selectList: Option[];
|
|
1571
|
+
countList?: any[];
|
|
1572
|
+
enumEntity: string;
|
|
1573
|
+
filterKey: string;
|
|
1574
|
+
totalCount?: number;
|
|
1575
|
+
noNeedRefreshNumFilterName?: string;
|
|
1576
|
+
allIsCheckbox?: boolean;
|
|
1577
|
+
allIsEmpty?: boolean;
|
|
1578
|
+
translateUserId?: boolean;
|
|
1579
|
+
initFilters: (...args: any[]) => any;
|
|
1580
|
+
defaultValues?: (string | boolean | number)[];
|
|
1581
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1641
1582
|
filterChange: (...args: any[]) => void;
|
|
1642
1583
|
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
1643
|
-
}, string, PublicProps, Readonly<
|
|
1644
|
-
selectList:
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
of<T>(...items: T[]): T[];
|
|
1657
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
1658
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
1659
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1660
|
-
};
|
|
1661
|
-
default: () => Option[];
|
|
1662
|
-
};
|
|
1663
|
-
countList: {
|
|
1664
|
-
type: {
|
|
1665
|
-
(arrayLength: number): any[];
|
|
1666
|
-
(...items: any[]): any[];
|
|
1667
|
-
new (arrayLength: number): any[];
|
|
1668
|
-
new (...items: any[]): any[];
|
|
1669
|
-
isArray(arg: any): arg is any[];
|
|
1670
|
-
readonly prototype: any[];
|
|
1671
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
1672
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1673
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
1674
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
1675
|
-
of<T>(...items: T[]): T[];
|
|
1676
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
1677
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
1678
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
1679
|
-
};
|
|
1680
|
-
required: false;
|
|
1681
|
-
};
|
|
1682
|
-
enumEntity: {
|
|
1683
|
-
type: StringConstructor;
|
|
1684
|
-
default: string;
|
|
1685
|
-
};
|
|
1686
|
-
filterKey: {
|
|
1687
|
-
type: StringConstructor;
|
|
1688
|
-
default: string;
|
|
1689
|
-
};
|
|
1690
|
-
totalCount: {
|
|
1691
|
-
type: NumberConstructor;
|
|
1692
|
-
required: false;
|
|
1693
|
-
};
|
|
1694
|
-
noNeedRefreshNumFilterName: {
|
|
1695
|
-
type: StringConstructor;
|
|
1696
|
-
required: false;
|
|
1697
|
-
};
|
|
1698
|
-
allIsCheckbox: {
|
|
1699
|
-
type: BooleanConstructor;
|
|
1700
|
-
required: false;
|
|
1701
|
-
};
|
|
1702
|
-
allIsEmpty: {
|
|
1703
|
-
type: BooleanConstructor;
|
|
1704
|
-
required: false;
|
|
1705
|
-
};
|
|
1706
|
-
translateUserId: {
|
|
1707
|
-
type: BooleanConstructor;
|
|
1708
|
-
required: false;
|
|
1709
|
-
};
|
|
1710
|
-
initFilters: {
|
|
1711
|
-
type: FunctionConstructor;
|
|
1712
|
-
required: true;
|
|
1713
|
-
};
|
|
1714
|
-
}>> & Readonly<{
|
|
1584
|
+
}, string, PublicProps, Readonly<{
|
|
1585
|
+
selectList: Option[];
|
|
1586
|
+
countList?: any[];
|
|
1587
|
+
enumEntity: string;
|
|
1588
|
+
filterKey: string;
|
|
1589
|
+
totalCount?: number;
|
|
1590
|
+
noNeedRefreshNumFilterName?: string;
|
|
1591
|
+
allIsCheckbox?: boolean;
|
|
1592
|
+
allIsEmpty?: boolean;
|
|
1593
|
+
translateUserId?: boolean;
|
|
1594
|
+
initFilters: (...args: any[]) => any;
|
|
1595
|
+
defaultValues?: (string | boolean | number)[];
|
|
1596
|
+
}> & Readonly<{
|
|
1715
1597
|
onFilterChange?: (...args: any[]) => any;
|
|
1716
1598
|
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
1717
1599
|
}>, {
|
|
1718
1600
|
filterKey: string;
|
|
1719
|
-
|
|
1720
|
-
translateUserId: boolean;
|
|
1601
|
+
countList: any[];
|
|
1721
1602
|
selectList: Option[];
|
|
1722
|
-
|
|
1603
|
+
totalCount: number;
|
|
1604
|
+
noNeedRefreshNumFilterName: string;
|
|
1605
|
+
defaultValues: (string | boolean | number)[];
|
|
1723
1606
|
enumEntity: string;
|
|
1724
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
1607
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>) | ( SFCWithInstall<DefineComponent<{
|
|
1725
1608
|
filterList?: Array< DropdownEntity>;
|
|
1726
1609
|
totalCount?: number;
|
|
1727
1610
|
level1Count?: Array<{
|
|
@@ -1,161 +1,44 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
-
import { DefineComponent,
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
import { Option } from '../static/CommonObject';
|
|
4
|
-
export declare const YaheeLeftConditionEnum: SFCWithInstall<DefineComponent<
|
|
5
|
-
selectList:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
of<T>(...items: T[]): T[];
|
|
18
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
19
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
20
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
21
|
-
};
|
|
22
|
-
default: () => Option[];
|
|
23
|
-
};
|
|
24
|
-
countList: {
|
|
25
|
-
type: {
|
|
26
|
-
(arrayLength: number): any[];
|
|
27
|
-
(...items: any[]): any[];
|
|
28
|
-
new (arrayLength: number): any[];
|
|
29
|
-
new (...items: any[]): any[];
|
|
30
|
-
isArray(arg: any): arg is any[];
|
|
31
|
-
readonly prototype: any[];
|
|
32
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
33
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
34
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
35
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
36
|
-
of<T>(...items: T[]): T[];
|
|
37
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
38
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
39
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
40
|
-
};
|
|
41
|
-
required: false;
|
|
42
|
-
};
|
|
43
|
-
enumEntity: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
filterKey: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
totalCount: {
|
|
52
|
-
type: NumberConstructor;
|
|
53
|
-
required: false;
|
|
54
|
-
};
|
|
55
|
-
noNeedRefreshNumFilterName: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
required: false;
|
|
58
|
-
};
|
|
59
|
-
allIsCheckbox: {
|
|
60
|
-
type: BooleanConstructor;
|
|
61
|
-
required: false;
|
|
62
|
-
};
|
|
63
|
-
allIsEmpty: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
required: false;
|
|
66
|
-
};
|
|
67
|
-
translateUserId: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
required: false;
|
|
70
|
-
};
|
|
71
|
-
initFilters: {
|
|
72
|
-
type: FunctionConstructor;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
|
+
export declare const YaheeLeftConditionEnum: SFCWithInstall<DefineComponent<{
|
|
5
|
+
selectList: Option[];
|
|
6
|
+
countList?: any[];
|
|
7
|
+
enumEntity: string;
|
|
8
|
+
filterKey: string;
|
|
9
|
+
totalCount?: number;
|
|
10
|
+
noNeedRefreshNumFilterName?: string;
|
|
11
|
+
allIsCheckbox?: boolean;
|
|
12
|
+
allIsEmpty?: boolean;
|
|
13
|
+
translateUserId?: boolean;
|
|
14
|
+
initFilters: (...args: any[]) => any;
|
|
15
|
+
defaultValues?: (string | boolean | number)[];
|
|
16
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
76
17
|
filterChange: (...args: any[]) => void;
|
|
77
18
|
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
78
|
-
}, string, PublicProps, Readonly<
|
|
79
|
-
selectList:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
of<T>(...items: T[]): T[];
|
|
92
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
93
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
94
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
95
|
-
};
|
|
96
|
-
default: () => Option[];
|
|
97
|
-
};
|
|
98
|
-
countList: {
|
|
99
|
-
type: {
|
|
100
|
-
(arrayLength: number): any[];
|
|
101
|
-
(...items: any[]): any[];
|
|
102
|
-
new (arrayLength: number): any[];
|
|
103
|
-
new (...items: any[]): any[];
|
|
104
|
-
isArray(arg: any): arg is any[];
|
|
105
|
-
readonly prototype: any[];
|
|
106
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
107
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
108
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
109
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
110
|
-
of<T>(...items: T[]): T[];
|
|
111
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
112
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
113
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
114
|
-
};
|
|
115
|
-
required: false;
|
|
116
|
-
};
|
|
117
|
-
enumEntity: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
filterKey: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
totalCount: {
|
|
126
|
-
type: NumberConstructor;
|
|
127
|
-
required: false;
|
|
128
|
-
};
|
|
129
|
-
noNeedRefreshNumFilterName: {
|
|
130
|
-
type: StringConstructor;
|
|
131
|
-
required: false;
|
|
132
|
-
};
|
|
133
|
-
allIsCheckbox: {
|
|
134
|
-
type: BooleanConstructor;
|
|
135
|
-
required: false;
|
|
136
|
-
};
|
|
137
|
-
allIsEmpty: {
|
|
138
|
-
type: BooleanConstructor;
|
|
139
|
-
required: false;
|
|
140
|
-
};
|
|
141
|
-
translateUserId: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
required: false;
|
|
144
|
-
};
|
|
145
|
-
initFilters: {
|
|
146
|
-
type: FunctionConstructor;
|
|
147
|
-
required: true;
|
|
148
|
-
};
|
|
149
|
-
}>> & Readonly<{
|
|
19
|
+
}, string, PublicProps, Readonly<{
|
|
20
|
+
selectList: Option[];
|
|
21
|
+
countList?: any[];
|
|
22
|
+
enumEntity: string;
|
|
23
|
+
filterKey: string;
|
|
24
|
+
totalCount?: number;
|
|
25
|
+
noNeedRefreshNumFilterName?: string;
|
|
26
|
+
allIsCheckbox?: boolean;
|
|
27
|
+
allIsEmpty?: boolean;
|
|
28
|
+
translateUserId?: boolean;
|
|
29
|
+
initFilters: (...args: any[]) => any;
|
|
30
|
+
defaultValues?: (string | boolean | number)[];
|
|
31
|
+
}> & Readonly<{
|
|
150
32
|
onFilterChange?: (...args: any[]) => any;
|
|
151
33
|
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
152
34
|
}>, {
|
|
153
35
|
filterKey: string;
|
|
154
|
-
|
|
155
|
-
translateUserId: boolean;
|
|
36
|
+
countList: any[];
|
|
156
37
|
selectList: Option[];
|
|
157
|
-
|
|
38
|
+
totalCount: number;
|
|
39
|
+
noNeedRefreshNumFilterName: string;
|
|
40
|
+
defaultValues: (string | boolean | number)[];
|
|
158
41
|
enumEntity: string;
|
|
159
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
42
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>> & Record<string, any>;
|
|
160
43
|
export default YaheeLeftConditionEnum;
|
|
161
44
|
export * from './left-condition-enum.vue';
|
|
@@ -1,159 +1,31 @@
|
|
|
1
1
|
import { Option } from '../static/CommonObject';
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
4
|
-
selectList:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
18
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
19
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
20
|
-
};
|
|
21
|
-
default: () => Option[];
|
|
22
|
-
};
|
|
23
|
-
countList: {
|
|
24
|
-
type: {
|
|
25
|
-
(arrayLength: number): any[];
|
|
26
|
-
(...items: any[]): any[];
|
|
27
|
-
new (arrayLength: number): any[];
|
|
28
|
-
new (...items: any[]): any[];
|
|
29
|
-
isArray(arg: any): arg is any[];
|
|
30
|
-
readonly prototype: any[];
|
|
31
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
32
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
33
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
34
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
35
|
-
of<T>(...items: T[]): T[];
|
|
36
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
37
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
38
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
39
|
-
};
|
|
40
|
-
required: false;
|
|
41
|
-
};
|
|
42
|
-
enumEntity: {
|
|
43
|
-
type: StringConstructor;
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
filterKey: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
totalCount: {
|
|
51
|
-
type: NumberConstructor;
|
|
52
|
-
required: false;
|
|
53
|
-
};
|
|
54
|
-
noNeedRefreshNumFilterName: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
required: false;
|
|
57
|
-
};
|
|
58
|
-
allIsCheckbox: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
required: false;
|
|
61
|
-
};
|
|
62
|
-
allIsEmpty: {
|
|
63
|
-
type: BooleanConstructor;
|
|
64
|
-
required: false;
|
|
65
|
-
};
|
|
66
|
-
translateUserId: {
|
|
67
|
-
type: BooleanConstructor;
|
|
68
|
-
required: false;
|
|
69
|
-
};
|
|
70
|
-
initFilters: {
|
|
71
|
-
type: FunctionConstructor;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
selectList: Option[];
|
|
5
|
+
countList?: any[];
|
|
6
|
+
enumEntity: string;
|
|
7
|
+
filterKey: string;
|
|
8
|
+
totalCount?: number;
|
|
9
|
+
noNeedRefreshNumFilterName?: string;
|
|
10
|
+
allIsCheckbox?: boolean;
|
|
11
|
+
allIsEmpty?: boolean;
|
|
12
|
+
translateUserId?: boolean;
|
|
13
|
+
initFilters: (...args: any[]) => any;
|
|
14
|
+
defaultValues?: (string | boolean | number)[];
|
|
15
|
+
};
|
|
16
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
75
17
|
filterChange: (...args: any[]) => void;
|
|
76
18
|
setNoNeedRefreshNumFilterName: (...args: any[]) => void;
|
|
77
|
-
}, string, PublicProps, Readonly<
|
|
78
|
-
selectList: {
|
|
79
|
-
type: {
|
|
80
|
-
(arrayLength: number): Option[];
|
|
81
|
-
(...items: Option[]): Option[];
|
|
82
|
-
new (arrayLength: number): Option[];
|
|
83
|
-
new (...items: Option[]): Option[];
|
|
84
|
-
isArray(arg: any): arg is any[];
|
|
85
|
-
readonly prototype: any[];
|
|
86
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
87
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
88
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
89
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
90
|
-
of<T>(...items: T[]): T[];
|
|
91
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
92
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
93
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
94
|
-
};
|
|
95
|
-
default: () => Option[];
|
|
96
|
-
};
|
|
97
|
-
countList: {
|
|
98
|
-
type: {
|
|
99
|
-
(arrayLength: number): any[];
|
|
100
|
-
(...items: any[]): any[];
|
|
101
|
-
new (arrayLength: number): any[];
|
|
102
|
-
new (...items: any[]): any[];
|
|
103
|
-
isArray(arg: any): arg is any[];
|
|
104
|
-
readonly prototype: any[];
|
|
105
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
106
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
107
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
108
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
109
|
-
of<T>(...items: T[]): T[];
|
|
110
|
-
fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
|
|
111
|
-
fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>, index: number) => U, thisArg?: any): Promise<Awaited<U>[]>;
|
|
112
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
113
|
-
};
|
|
114
|
-
required: false;
|
|
115
|
-
};
|
|
116
|
-
enumEntity: {
|
|
117
|
-
type: StringConstructor;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
filterKey: {
|
|
121
|
-
type: StringConstructor;
|
|
122
|
-
default: string;
|
|
123
|
-
};
|
|
124
|
-
totalCount: {
|
|
125
|
-
type: NumberConstructor;
|
|
126
|
-
required: false;
|
|
127
|
-
};
|
|
128
|
-
noNeedRefreshNumFilterName: {
|
|
129
|
-
type: StringConstructor;
|
|
130
|
-
required: false;
|
|
131
|
-
};
|
|
132
|
-
allIsCheckbox: {
|
|
133
|
-
type: BooleanConstructor;
|
|
134
|
-
required: false;
|
|
135
|
-
};
|
|
136
|
-
allIsEmpty: {
|
|
137
|
-
type: BooleanConstructor;
|
|
138
|
-
required: false;
|
|
139
|
-
};
|
|
140
|
-
translateUserId: {
|
|
141
|
-
type: BooleanConstructor;
|
|
142
|
-
required: false;
|
|
143
|
-
};
|
|
144
|
-
initFilters: {
|
|
145
|
-
type: FunctionConstructor;
|
|
146
|
-
required: true;
|
|
147
|
-
};
|
|
148
|
-
}>> & Readonly<{
|
|
19
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
149
20
|
onFilterChange?: (...args: any[]) => any;
|
|
150
21
|
onSetNoNeedRefreshNumFilterName?: (...args: any[]) => any;
|
|
151
22
|
}>, {
|
|
152
23
|
filterKey: string;
|
|
153
|
-
|
|
154
|
-
translateUserId: boolean;
|
|
24
|
+
countList: any[];
|
|
155
25
|
selectList: Option[];
|
|
156
|
-
|
|
26
|
+
totalCount: number;
|
|
27
|
+
noNeedRefreshNumFilterName: string;
|
|
28
|
+
defaultValues: (string | boolean | number)[];
|
|
157
29
|
enumEntity: string;
|
|
158
|
-
}, {}, {}, {}, string, ComponentProvideOptions,
|
|
30
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
159
31
|
export default _default;
|