yahee-components 0.0.65 → 0.0.66
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/api/server.js +2 -2
- package/es/api/tool.js +1 -1
- package/es/complex-search/complex-search.vue.js +27 -23
- package/es/complex-search/props.js +6 -4
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/fetch.js +29 -29
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/Axios.js +1 -1
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +181 -0
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/env/data.js +1 -1
- package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/toFormData.js +16 -14
- package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +222 -0
- package/es/node_modules/.pnpm/{element-plus@2.9.7_vue@3.5.13_typescript@5.8.3_ → element-plus@2.10.2_vue@3.5.17_typescript@5.8.3_}/node_modules/element-plus/es/locale/lang/zh-cn.js +1 -1
- package/es/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js +526 -526
- package/es/packages/components/api/log-server.js +2 -2
- package/es/packages/components/api/server.js +2 -2
- package/es/packages/components/api/tool.js +1 -1
- package/es/packages/components/api/upload-server.js +2 -2
- package/es/utils/translate.js +2 -2
- package/package.json +1 -3
- package/types/src/annex-upload/annex-upload.vue.d.ts +649 -435
- package/types/src/annex-upload/index.d.ts +321 -214
- package/types/src/complex-search/props.d.ts +11 -3
- package/types/src/drop-down-condition/drop-down-condition.vue.d.ts +264 -55
- package/types/src/drop-down-condition/index.d.ts +264 -55
- package/types/src/input/index.d.ts +189 -62
- package/types/src/input/input.vue.d.ts +189 -62
- package/types/src/operation-log/index.d.ts +199 -55
- package/types/src/operation-log/operation-log.vue.d.ts +199 -55
- package/es/node_modules/.pnpm/axios@1.8.4/node_modules/axios/lib/core/AxiosHeaders.js +0 -173
- package/es/node_modules/.pnpm/axios@1.8.4/node_modules/axios/lib/utils.js +0 -221
- package/types/src/complex-search/complex-search.vue.d.ts +0 -208
- package/types/src/complex-search/index.d.ts +0 -212
- package/types/src/installs.d.ts +0 -1863
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/adapters.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/adapters/xhr.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/axios.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/CancelToken.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/CanceledError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/cancel/isCancel.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/AxiosError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/InterceptorManager.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/buildFullPath.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/dispatchRequest.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/mergeConfig.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/settle.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/core/transformData.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/defaults/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/defaults/transitional.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/bind.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/buildURL.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/combineURLs.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/composeSignals.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/cookies.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/formDataToJSON.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isAxiosError.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/null.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/parseHeaders.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/parseProtocol.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/progressEventReducer.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/resolveConfig.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/speedometer.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/spread.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/throttle.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/trackStream.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/helpers/validator.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/browser/index.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/common/utils.js +0 -0
- /package/es/node_modules/.pnpm/{axios@1.8.4 → axios@1.10.0}/node_modules/axios/lib/platform/index.js +0 -0
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import P from "./helpers/bind.js";
|
|
2
|
-
const { toString: C } = Object.prototype, { getPrototypeOf: h } = Object, y = /* @__PURE__ */ ((e) => (t) => {
|
|
3
|
-
const r = C.call(t);
|
|
4
|
-
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
5
|
-
})(/* @__PURE__ */ Object.create(null)), l = (e) => (e = e.toLowerCase(), (t) => y(t) === e), w = (e) => (t) => typeof t === e, { isArray: u } = Array, p = w("undefined");
|
|
6
|
-
function D(e) {
|
|
7
|
-
return e !== null && !p(e) && e.constructor !== null && !p(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
8
|
-
}
|
|
9
|
-
const b = l("ArrayBuffer");
|
|
10
|
-
function T(e) {
|
|
11
|
-
let t;
|
|
12
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && b(e.buffer), t;
|
|
13
|
-
}
|
|
14
|
-
const R = w("string"), c = w("function"), A = w("number"), g = (e) => e !== null && typeof e == "object", M = (e) => e === !0 || e === !1, m = (e) => {
|
|
15
|
-
if (y(e) !== "object")
|
|
16
|
-
return !1;
|
|
17
|
-
const t = h(e);
|
|
18
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
19
|
-
}, N = l("Date"), k = l("File"), U = l("Blob"), I = l("FileList"), V = (e) => g(e) && c(e.pipe), q = (e) => {
|
|
20
|
-
let t;
|
|
21
|
-
return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = y(e)) === "formdata" || // detect form-data instance
|
|
22
|
-
t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
|
|
23
|
-
}, H = l("URLSearchParams"), [_, z, J, K] = ["ReadableStream", "Request", "Response", "Headers"].map(l), $ = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
24
|
-
function d(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
25
|
-
if (e === null || typeof e > "u")
|
|
26
|
-
return;
|
|
27
|
-
let n, s;
|
|
28
|
-
if (typeof e != "object" && (e = [e]), u(e))
|
|
29
|
-
for (n = 0, s = e.length; n < s; n++)
|
|
30
|
-
t.call(null, e[n], n, e);
|
|
31
|
-
else {
|
|
32
|
-
const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
|
|
33
|
-
let f;
|
|
34
|
-
for (n = 0; n < i; n++)
|
|
35
|
-
f = o[n], t.call(null, e[f], f, e);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
function x(e, t) {
|
|
39
|
-
t = t.toLowerCase();
|
|
40
|
-
const r = Object.keys(e);
|
|
41
|
-
let n = r.length, s;
|
|
42
|
-
for (; n-- > 0; )
|
|
43
|
-
if (s = r[n], t === s.toLowerCase())
|
|
44
|
-
return s;
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
const a = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, B = (e) => !p(e) && e !== a;
|
|
48
|
-
function F() {
|
|
49
|
-
const { caseless: e } = B(this) && this || {}, t = {}, r = (n, s) => {
|
|
50
|
-
const o = e && x(t, s) || s;
|
|
51
|
-
m(t[o]) && m(n) ? t[o] = F(t[o], n) : m(n) ? t[o] = F({}, n) : u(n) ? t[o] = n.slice() : t[o] = n;
|
|
52
|
-
};
|
|
53
|
-
for (let n = 0, s = arguments.length; n < s; n++)
|
|
54
|
-
arguments[n] && d(arguments[n], r);
|
|
55
|
-
return t;
|
|
56
|
-
}
|
|
57
|
-
const W = (e, t, r, { allOwnKeys: n } = {}) => (d(t, (s, o) => {
|
|
58
|
-
r && c(s) ? e[o] = P(s, r) : e[o] = s;
|
|
59
|
-
}, { allOwnKeys: n }), e), G = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Q = (e, t, r, n) => {
|
|
60
|
-
e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
61
|
-
value: t.prototype
|
|
62
|
-
}), r && Object.assign(e.prototype, r);
|
|
63
|
-
}, X = (e, t, r, n) => {
|
|
64
|
-
let s, o, i;
|
|
65
|
-
const f = {};
|
|
66
|
-
if (t = t || {}, e == null) return t;
|
|
67
|
-
do {
|
|
68
|
-
for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
|
|
69
|
-
i = s[o], (!n || n(i, e, t)) && !f[i] && (t[i] = e[i], f[i] = !0);
|
|
70
|
-
e = r !== !1 && h(e);
|
|
71
|
-
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
72
|
-
return t;
|
|
73
|
-
}, Y = (e, t, r) => {
|
|
74
|
-
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
75
|
-
const n = e.indexOf(t, r);
|
|
76
|
-
return n !== -1 && n === r;
|
|
77
|
-
}, Z = (e) => {
|
|
78
|
-
if (!e) return null;
|
|
79
|
-
if (u(e)) return e;
|
|
80
|
-
let t = e.length;
|
|
81
|
-
if (!A(t)) return null;
|
|
82
|
-
const r = new Array(t);
|
|
83
|
-
for (; t-- > 0; )
|
|
84
|
-
r[t] = e[t];
|
|
85
|
-
return r;
|
|
86
|
-
}, j = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && h(Uint8Array)), v = (e, t) => {
|
|
87
|
-
const n = (e && e[Symbol.iterator]).call(e);
|
|
88
|
-
let s;
|
|
89
|
-
for (; (s = n.next()) && !s.done; ) {
|
|
90
|
-
const o = s.value;
|
|
91
|
-
t.call(e, o[0], o[1]);
|
|
92
|
-
}
|
|
93
|
-
}, ee = (e, t) => {
|
|
94
|
-
let r;
|
|
95
|
-
const n = [];
|
|
96
|
-
for (; (r = e.exec(t)) !== null; )
|
|
97
|
-
n.push(r);
|
|
98
|
-
return n;
|
|
99
|
-
}, te = l("HTMLFormElement"), ne = (e) => e.toLowerCase().replace(
|
|
100
|
-
/[-_\s]([a-z\d])(\w*)/g,
|
|
101
|
-
function(r, n, s) {
|
|
102
|
-
return n.toUpperCase() + s;
|
|
103
|
-
}
|
|
104
|
-
), S = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), re = l("RegExp"), E = (e, t) => {
|
|
105
|
-
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
106
|
-
d(r, (s, o) => {
|
|
107
|
-
let i;
|
|
108
|
-
(i = t(s, o, e)) !== !1 && (n[o] = i || s);
|
|
109
|
-
}), Object.defineProperties(e, n);
|
|
110
|
-
}, se = (e) => {
|
|
111
|
-
E(e, (t, r) => {
|
|
112
|
-
if (c(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
113
|
-
return !1;
|
|
114
|
-
const n = e[r];
|
|
115
|
-
if (c(n)) {
|
|
116
|
-
if (t.enumerable = !1, "writable" in t) {
|
|
117
|
-
t.writable = !1;
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
|
-
t.set || (t.set = () => {
|
|
121
|
-
throw Error("Can not rewrite read-only method '" + r + "'");
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
}, oe = (e, t) => {
|
|
126
|
-
const r = {}, n = (s) => {
|
|
127
|
-
s.forEach((o) => {
|
|
128
|
-
r[o] = !0;
|
|
129
|
-
});
|
|
130
|
-
};
|
|
131
|
-
return u(e) ? n(e) : n(String(e).split(t)), r;
|
|
132
|
-
}, ie = () => {
|
|
133
|
-
}, ce = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
134
|
-
function le(e) {
|
|
135
|
-
return !!(e && c(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
|
136
|
-
}
|
|
137
|
-
const fe = (e) => {
|
|
138
|
-
const t = new Array(10), r = (n, s) => {
|
|
139
|
-
if (g(n)) {
|
|
140
|
-
if (t.indexOf(n) >= 0)
|
|
141
|
-
return;
|
|
142
|
-
if (!("toJSON" in n)) {
|
|
143
|
-
t[s] = n;
|
|
144
|
-
const o = u(n) ? [] : {};
|
|
145
|
-
return d(n, (i, f) => {
|
|
146
|
-
const O = r(i, s + 1);
|
|
147
|
-
!p(O) && (o[f] = O);
|
|
148
|
-
}), t[s] = void 0, o;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
return n;
|
|
152
|
-
};
|
|
153
|
-
return r(e, 0);
|
|
154
|
-
}, ae = l("AsyncFunction"), ue = (e) => e && (g(e) || c(e)) && c(e.then) && c(e.catch), L = ((e, t) => e ? setImmediate : t ? ((r, n) => (a.addEventListener("message", ({ source: s, data: o }) => {
|
|
155
|
-
s === a && o === r && n.length && n.shift()();
|
|
156
|
-
}, !1), (s) => {
|
|
157
|
-
n.push(s), a.postMessage(r, "*");
|
|
158
|
-
}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
|
|
159
|
-
typeof setImmediate == "function",
|
|
160
|
-
c(a.postMessage)
|
|
161
|
-
), pe = typeof queueMicrotask < "u" ? queueMicrotask.bind(a) : typeof process < "u" && process.nextTick || L, me = {
|
|
162
|
-
isArray: u,
|
|
163
|
-
isArrayBuffer: b,
|
|
164
|
-
isBuffer: D,
|
|
165
|
-
isFormData: q,
|
|
166
|
-
isArrayBufferView: T,
|
|
167
|
-
isString: R,
|
|
168
|
-
isNumber: A,
|
|
169
|
-
isBoolean: M,
|
|
170
|
-
isObject: g,
|
|
171
|
-
isPlainObject: m,
|
|
172
|
-
isReadableStream: _,
|
|
173
|
-
isRequest: z,
|
|
174
|
-
isResponse: J,
|
|
175
|
-
isHeaders: K,
|
|
176
|
-
isUndefined: p,
|
|
177
|
-
isDate: N,
|
|
178
|
-
isFile: k,
|
|
179
|
-
isBlob: U,
|
|
180
|
-
isRegExp: re,
|
|
181
|
-
isFunction: c,
|
|
182
|
-
isStream: V,
|
|
183
|
-
isURLSearchParams: H,
|
|
184
|
-
isTypedArray: j,
|
|
185
|
-
isFileList: I,
|
|
186
|
-
forEach: d,
|
|
187
|
-
merge: F,
|
|
188
|
-
extend: W,
|
|
189
|
-
trim: $,
|
|
190
|
-
stripBOM: G,
|
|
191
|
-
inherits: Q,
|
|
192
|
-
toFlatObject: X,
|
|
193
|
-
kindOf: y,
|
|
194
|
-
kindOfTest: l,
|
|
195
|
-
endsWith: Y,
|
|
196
|
-
toArray: Z,
|
|
197
|
-
forEachEntry: v,
|
|
198
|
-
matchAll: ee,
|
|
199
|
-
isHTMLForm: te,
|
|
200
|
-
hasOwnProperty: S,
|
|
201
|
-
hasOwnProp: S,
|
|
202
|
-
// an alias to avoid ESLint no-prototype-builtins detection
|
|
203
|
-
reduceDescriptors: E,
|
|
204
|
-
freezeMethods: se,
|
|
205
|
-
toObjectSet: oe,
|
|
206
|
-
toCamelCase: ne,
|
|
207
|
-
noop: ie,
|
|
208
|
-
toFiniteNumber: ce,
|
|
209
|
-
findKey: x,
|
|
210
|
-
global: a,
|
|
211
|
-
isContextDefined: B,
|
|
212
|
-
isSpecCompliantForm: le,
|
|
213
|
-
toJSONObject: fe,
|
|
214
|
-
isAsyncFn: ae,
|
|
215
|
-
isThenable: ue,
|
|
216
|
-
setImmediate: L,
|
|
217
|
-
asap: pe
|
|
218
|
-
};
|
|
219
|
-
export {
|
|
220
|
-
me as default
|
|
221
|
-
};
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { ComplexSearchProps } from './props';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
-
import { SearchOptions, SearchDataOptions, SearchItem } from './complex-search';
|
|
4
|
-
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
5
|
-
import { FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext } from 'element-plus';
|
|
6
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
7
|
-
declare const _default: DefineComponent<ComplexSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
-
filterChangeGrandson: (...args: any[]) => void;
|
|
9
|
-
}, string, PublicProps, Readonly<ComplexSearchProps> & Readonly<{
|
|
10
|
-
onFilterChangeGrandson?: (...args: any[]) => any;
|
|
11
|
-
}>, {
|
|
12
|
-
pasteFormat: () => void;
|
|
13
|
-
defaultSearch: string;
|
|
14
|
-
options: SearchOptions[];
|
|
15
|
-
placeholderText: string;
|
|
16
|
-
showPatchSearch: boolean;
|
|
17
|
-
showWithinFilterCheckbox: boolean;
|
|
18
|
-
specialOptions: SearchDataOptions[];
|
|
19
|
-
normalOptions: SearchDataOptions[];
|
|
20
|
-
showSelect: boolean;
|
|
21
|
-
searchItem: SearchItem;
|
|
22
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
23
|
-
batchSearchFormRef: {
|
|
24
|
-
$: ComponentInternalInstance;
|
|
25
|
-
$data: {};
|
|
26
|
-
$props: Partial<{
|
|
27
|
-
readonly disabled: boolean;
|
|
28
|
-
readonly inline: boolean;
|
|
29
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
30
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
31
|
-
readonly inlineMessage: boolean;
|
|
32
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
34
|
-
readonly labelSuffix: string;
|
|
35
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
36
|
-
readonly statusIcon: boolean;
|
|
37
|
-
readonly hideRequiredAsterisk: boolean;
|
|
38
|
-
readonly scrollToError: boolean;
|
|
39
|
-
}> & Omit<{
|
|
40
|
-
readonly disabled: boolean;
|
|
41
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
42
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
43
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
44
|
-
readonly labelSuffix: string;
|
|
45
|
-
readonly inline: boolean;
|
|
46
|
-
readonly inlineMessage: boolean;
|
|
47
|
-
readonly statusIcon: boolean;
|
|
48
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
49
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
50
|
-
readonly hideRequiredAsterisk: boolean;
|
|
51
|
-
readonly scrollToError: boolean;
|
|
52
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
53
|
-
readonly model?: Record<string, any>;
|
|
54
|
-
readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
55
|
-
readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>;
|
|
56
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
57
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
58
|
-
$attrs: {
|
|
59
|
-
[x: string]: unknown;
|
|
60
|
-
};
|
|
61
|
-
$refs: {
|
|
62
|
-
[x: string]: unknown;
|
|
63
|
-
};
|
|
64
|
-
$slots: Readonly<{
|
|
65
|
-
[name: string]: Slot<any>;
|
|
66
|
-
}>;
|
|
67
|
-
$root: ComponentPublicInstance | null;
|
|
68
|
-
$parent: ComponentPublicInstance | null;
|
|
69
|
-
$host: Element | null;
|
|
70
|
-
$emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
71
|
-
$el: any;
|
|
72
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
73
|
-
readonly model: ObjectConstructor;
|
|
74
|
-
readonly rules: {
|
|
75
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
76
|
-
readonly required: false;
|
|
77
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
-
__epPropKey: true;
|
|
79
|
-
};
|
|
80
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
81
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
82
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
83
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
84
|
-
readonly inline: BooleanConstructor;
|
|
85
|
-
readonly inlineMessage: BooleanConstructor;
|
|
86
|
-
readonly statusIcon: BooleanConstructor;
|
|
87
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
88
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
89
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
90
|
-
readonly scrollToError: BooleanConstructor;
|
|
91
|
-
readonly scrollIntoViewOptions: {
|
|
92
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
93
|
-
readonly required: false;
|
|
94
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
95
|
-
__epPropKey: true;
|
|
96
|
-
};
|
|
97
|
-
readonly size: {
|
|
98
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
99
|
-
readonly required: false;
|
|
100
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
-
__epPropKey: true;
|
|
102
|
-
};
|
|
103
|
-
readonly disabled: BooleanConstructor;
|
|
104
|
-
}>> & {
|
|
105
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
106
|
-
}, {
|
|
107
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
108
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
109
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
110
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
|
111
|
-
scrollToField: (prop: FormItemProp) => void;
|
|
112
|
-
fields: FormItemContext[];
|
|
113
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
114
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
115
|
-
}, string, {
|
|
116
|
-
readonly disabled: boolean;
|
|
117
|
-
readonly inline: boolean;
|
|
118
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
119
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
120
|
-
readonly inlineMessage: boolean;
|
|
121
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
122
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
123
|
-
readonly labelSuffix: string;
|
|
124
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
125
|
-
readonly statusIcon: boolean;
|
|
126
|
-
readonly hideRequiredAsterisk: boolean;
|
|
127
|
-
readonly scrollToError: boolean;
|
|
128
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
129
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
130
|
-
created?: (() => void) | (() => void)[];
|
|
131
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
132
|
-
mounted?: (() => void) | (() => void)[];
|
|
133
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
134
|
-
updated?: (() => void) | (() => void)[];
|
|
135
|
-
activated?: (() => void) | (() => void)[];
|
|
136
|
-
deactivated?: (() => void) | (() => void)[];
|
|
137
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
138
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
139
|
-
destroyed?: (() => void) | (() => void)[];
|
|
140
|
-
unmounted?: (() => void) | (() => void)[];
|
|
141
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
142
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
143
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
144
|
-
};
|
|
145
|
-
$forceUpdate: () => void;
|
|
146
|
-
$nextTick: nextTick;
|
|
147
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
148
|
-
} & Readonly<{
|
|
149
|
-
readonly disabled: boolean;
|
|
150
|
-
readonly inline: boolean;
|
|
151
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
152
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
153
|
-
readonly inlineMessage: boolean;
|
|
154
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
155
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
156
|
-
readonly labelSuffix: string;
|
|
157
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
158
|
-
readonly statusIcon: boolean;
|
|
159
|
-
readonly hideRequiredAsterisk: boolean;
|
|
160
|
-
readonly scrollToError: boolean;
|
|
161
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
|
162
|
-
readonly model: ObjectConstructor;
|
|
163
|
-
readonly rules: {
|
|
164
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
165
|
-
readonly required: false;
|
|
166
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
167
|
-
__epPropKey: true;
|
|
168
|
-
};
|
|
169
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
170
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
171
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
172
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
173
|
-
readonly inline: BooleanConstructor;
|
|
174
|
-
readonly inlineMessage: BooleanConstructor;
|
|
175
|
-
readonly statusIcon: BooleanConstructor;
|
|
176
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
177
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
178
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
179
|
-
readonly scrollToError: BooleanConstructor;
|
|
180
|
-
readonly scrollIntoViewOptions: {
|
|
181
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
182
|
-
readonly required: false;
|
|
183
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
-
__epPropKey: true;
|
|
185
|
-
};
|
|
186
|
-
readonly size: {
|
|
187
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
188
|
-
readonly required: false;
|
|
189
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
190
|
-
__epPropKey: true;
|
|
191
|
-
};
|
|
192
|
-
readonly disabled: BooleanConstructor;
|
|
193
|
-
}>> & {
|
|
194
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
195
|
-
}, "disabled" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "fields"> & ShallowUnwrapRef<{
|
|
196
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
197
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
198
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
199
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
|
200
|
-
scrollToField: (prop: FormItemProp) => void;
|
|
201
|
-
fields: FormItemContext[];
|
|
202
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
203
|
-
$slots: {
|
|
204
|
-
default?(_: {}): any;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
}, any>;
|
|
208
|
-
export default _default;
|
|
@@ -1,212 +0,0 @@
|
|
|
1
|
-
import { SFCWithInstall } from '../utils/typescript';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
-
import { ComplexSearchProps } from './props';
|
|
4
|
-
import { SearchOptions, SearchDataOptions, SearchItem } from './complex-search';
|
|
5
|
-
import { EpPropMergeType, Arrayable, EpPropFinalized } from 'element-plus/es/utils';
|
|
6
|
-
import { FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext } from 'element-plus';
|
|
7
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
8
|
-
export declare const YaheeComplexSearch: SFCWithInstall<DefineComponent<ComplexSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
-
filterChangeGrandson: (...args: any[]) => void;
|
|
10
|
-
}, string, PublicProps, Readonly< ComplexSearchProps> & Readonly<{
|
|
11
|
-
onFilterChangeGrandson?: (...args: any[]) => any;
|
|
12
|
-
}>, {
|
|
13
|
-
pasteFormat: () => void;
|
|
14
|
-
defaultSearch: string;
|
|
15
|
-
options: SearchOptions[];
|
|
16
|
-
placeholderText: string;
|
|
17
|
-
showPatchSearch: boolean;
|
|
18
|
-
showWithinFilterCheckbox: boolean;
|
|
19
|
-
specialOptions: SearchDataOptions[];
|
|
20
|
-
normalOptions: SearchDataOptions[];
|
|
21
|
-
showSelect: boolean;
|
|
22
|
-
searchItem: SearchItem;
|
|
23
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
24
|
-
batchSearchFormRef: {
|
|
25
|
-
$: ComponentInternalInstance;
|
|
26
|
-
$data: {};
|
|
27
|
-
$props: Partial<{
|
|
28
|
-
readonly disabled: boolean;
|
|
29
|
-
readonly inline: boolean;
|
|
30
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
31
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
32
|
-
readonly inlineMessage: boolean;
|
|
33
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
35
|
-
readonly labelSuffix: string;
|
|
36
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
37
|
-
readonly statusIcon: boolean;
|
|
38
|
-
readonly hideRequiredAsterisk: boolean;
|
|
39
|
-
readonly scrollToError: boolean;
|
|
40
|
-
}> & Omit<{
|
|
41
|
-
readonly disabled: boolean;
|
|
42
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "right" | "left", unknown>;
|
|
43
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "right" | "left", unknown>;
|
|
44
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
45
|
-
readonly labelSuffix: string;
|
|
46
|
-
readonly inline: boolean;
|
|
47
|
-
readonly inlineMessage: boolean;
|
|
48
|
-
readonly statusIcon: boolean;
|
|
49
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
50
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
51
|
-
readonly hideRequiredAsterisk: boolean;
|
|
52
|
-
readonly scrollToError: boolean;
|
|
53
|
-
readonly size?: EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
54
|
-
readonly model?: Record<string, any>;
|
|
55
|
-
readonly rules?: Partial<Record<string, Arrayable<FormItemRule>>>;
|
|
56
|
-
readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>;
|
|
57
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
58
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
59
|
-
$attrs: {
|
|
60
|
-
[x: string]: unknown;
|
|
61
|
-
};
|
|
62
|
-
$refs: {
|
|
63
|
-
[x: string]: unknown;
|
|
64
|
-
};
|
|
65
|
-
$slots: Readonly<{
|
|
66
|
-
[name: string]: Slot<any>;
|
|
67
|
-
}>;
|
|
68
|
-
$root: ComponentPublicInstance | null;
|
|
69
|
-
$parent: ComponentPublicInstance | null;
|
|
70
|
-
$host: Element | null;
|
|
71
|
-
$emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
72
|
-
$el: any;
|
|
73
|
-
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
74
|
-
readonly model: ObjectConstructor;
|
|
75
|
-
readonly rules: {
|
|
76
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
77
|
-
readonly required: false;
|
|
78
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
|
-
__epPropKey: true;
|
|
80
|
-
};
|
|
81
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
82
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
83
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
84
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
85
|
-
readonly inline: BooleanConstructor;
|
|
86
|
-
readonly inlineMessage: BooleanConstructor;
|
|
87
|
-
readonly statusIcon: BooleanConstructor;
|
|
88
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
89
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
90
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
91
|
-
readonly scrollToError: BooleanConstructor;
|
|
92
|
-
readonly scrollIntoViewOptions: {
|
|
93
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
94
|
-
readonly required: false;
|
|
95
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
96
|
-
__epPropKey: true;
|
|
97
|
-
};
|
|
98
|
-
readonly size: {
|
|
99
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
100
|
-
readonly required: false;
|
|
101
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
|
-
__epPropKey: true;
|
|
103
|
-
};
|
|
104
|
-
readonly disabled: BooleanConstructor;
|
|
105
|
-
}>> & {
|
|
106
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
107
|
-
}, {
|
|
108
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
109
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
110
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
111
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
|
112
|
-
scrollToField: (prop: FormItemProp) => void;
|
|
113
|
-
fields: FormItemContext[];
|
|
114
|
-
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
115
|
-
validate: (prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
116
|
-
}, string, {
|
|
117
|
-
readonly disabled: boolean;
|
|
118
|
-
readonly inline: boolean;
|
|
119
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
120
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
121
|
-
readonly inlineMessage: boolean;
|
|
122
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
123
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
124
|
-
readonly labelSuffix: string;
|
|
125
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
126
|
-
readonly statusIcon: boolean;
|
|
127
|
-
readonly hideRequiredAsterisk: boolean;
|
|
128
|
-
readonly scrollToError: boolean;
|
|
129
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
130
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
131
|
-
created?: (() => void) | (() => void)[];
|
|
132
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
133
|
-
mounted?: (() => void) | (() => void)[];
|
|
134
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
135
|
-
updated?: (() => void) | (() => void)[];
|
|
136
|
-
activated?: (() => void) | (() => void)[];
|
|
137
|
-
deactivated?: (() => void) | (() => void)[];
|
|
138
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
139
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
140
|
-
destroyed?: (() => void) | (() => void)[];
|
|
141
|
-
unmounted?: (() => void) | (() => void)[];
|
|
142
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
143
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
144
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
145
|
-
};
|
|
146
|
-
$forceUpdate: () => void;
|
|
147
|
-
$nextTick: nextTick;
|
|
148
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
149
|
-
} & Readonly<{
|
|
150
|
-
readonly disabled: boolean;
|
|
151
|
-
readonly inline: boolean;
|
|
152
|
-
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
153
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
154
|
-
readonly inlineMessage: boolean;
|
|
155
|
-
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
156
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
157
|
-
readonly labelSuffix: string;
|
|
158
|
-
readonly validateOnRuleChange: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
159
|
-
readonly statusIcon: boolean;
|
|
160
|
-
readonly hideRequiredAsterisk: boolean;
|
|
161
|
-
readonly scrollToError: boolean;
|
|
162
|
-
}> & Omit<Readonly< ExtractPropTypes<{
|
|
163
|
-
readonly model: ObjectConstructor;
|
|
164
|
-
readonly rules: {
|
|
165
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
166
|
-
readonly required: false;
|
|
167
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
|
-
__epPropKey: true;
|
|
169
|
-
};
|
|
170
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
171
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
172
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
173
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
174
|
-
readonly inline: BooleanConstructor;
|
|
175
|
-
readonly inlineMessage: BooleanConstructor;
|
|
176
|
-
readonly statusIcon: BooleanConstructor;
|
|
177
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
178
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
179
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
180
|
-
readonly scrollToError: BooleanConstructor;
|
|
181
|
-
readonly scrollIntoViewOptions: {
|
|
182
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
183
|
-
readonly required: false;
|
|
184
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
185
|
-
__epPropKey: true;
|
|
186
|
-
};
|
|
187
|
-
readonly size: {
|
|
188
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
189
|
-
readonly required: false;
|
|
190
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
191
|
-
__epPropKey: true;
|
|
192
|
-
};
|
|
193
|
-
readonly disabled: BooleanConstructor;
|
|
194
|
-
}>> & {
|
|
195
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
196
|
-
}, "disabled" | "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "fields"> & ShallowUnwrapRef<{
|
|
197
|
-
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
198
|
-
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
199
|
-
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
200
|
-
clearValidate: (props?: Arrayable<FormItemProp>) => void;
|
|
201
|
-
scrollToField: (prop: FormItemProp) => void;
|
|
202
|
-
fields: FormItemContext[];
|
|
203
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
204
|
-
$slots: {
|
|
205
|
-
default?(_: {}): any;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
}, any>> & Record<string, any>;
|
|
209
|
-
export default YaheeComplexSearch;
|
|
210
|
-
export * from './complex-search.vue';
|
|
211
|
-
export * from './complex-search';
|
|
212
|
-
export * from './props';
|