urit-qf-ui 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.umd.cjs +1 -1
- package/dist/uform/FormRender.vue.d.ts +1 -99
- package/dist/uform/TableRender.vue.d.ts +1 -99
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -61128,7 +61128,7 @@ class Joe {
|
|
|
61128
61128
|
reconnectPeriod: t.reconnectPeriod || 5e3
|
|
61129
61129
|
};
|
|
61130
61130
|
let r = t.mqttUrl || "ws://127.0.0.1:5002/ws";
|
|
61131
|
-
if (console.log(
|
|
61131
|
+
if (console.log(`connect mqtt, options=${t}`), this.mqttClient = Qoe.connect(r, n), !this.mqttClient) {
|
|
61132
61132
|
console.log("connect mqtt failed");
|
|
61133
61133
|
return;
|
|
61134
61134
|
}
|
|
@@ -61178,7 +61178,7 @@ const lh = "Notice", Zoe = "NOTICE", Uu = {
|
|
|
61178
61178
|
Close: "close",
|
|
61179
61179
|
Reconnect: "reconnect",
|
|
61180
61180
|
Error: "error"
|
|
61181
|
-
}, eae = "v1.00.
|
|
61181
|
+
}, eae = "v1.00.26914.B01";
|
|
61182
61182
|
let Hu;
|
|
61183
61183
|
const Tae = (e) => {
|
|
61184
61184
|
if (!e)
|
|
@@ -61201,7 +61201,7 @@ class tae {
|
|
|
61201
61201
|
initQf(t) {
|
|
61202
61202
|
if (!t)
|
|
61203
61203
|
throw new Error(`StartQf failed! options is ${t}`);
|
|
61204
|
-
this.options = t, console.log("StartQf() qf version = " + eae), this.EventBus = new Wne(), this.WebApi = new jne(t),
|
|
61204
|
+
this.options = t, console.log("StartQf() qf version = " + eae), this.EventBus = new Wne(), this.WebApi = new jne(t), this.options.useMqtt && (this.Mqtt = new Joe(this.EventBus, t));
|
|
61205
61205
|
}
|
|
61206
61206
|
// ==================== EventBus 相关 ====================
|
|
61207
61207
|
On(t, n) {
|
package/dist/index.umd.cjs
CHANGED
|
@@ -90,4 +90,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
90
90
|
|
|
91
91
|
@babel/runtime/helpers/regenerator.js:
|
|
92
92
|
(*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE *)
|
|
93
|
-
*/class Kne{constructor(n,r){Ge(this,"mqttClient",null);Ge(this,"eventBus");this.eventBus=n,this.connect(r).then()}async connect(n){const r={username:n.userName,password:n.password,clientId:`${n.module}_${this.randomStr(10)}`,clean:!0,keepalive:n.keepAlive||50,connectTimeout:5e3,reconnectPeriod:n.reconnectPeriod||5e3};let o=n.mqttUrl||"ws://127.0.0.1:5002/ws";if(console.log(
|
|
93
|
+
*/class Kne{constructor(n,r){Ge(this,"mqttClient",null);Ge(this,"eventBus");this.eventBus=n,this.connect(r).then()}async connect(n){const r={username:n.userName,password:n.password,clientId:`${n.module}_${this.randomStr(10)}`,clean:!0,keepalive:n.keepAlive||50,connectTimeout:5e3,reconnectPeriod:n.reconnectPeriod||5e3};let o=n.mqttUrl||"ws://127.0.0.1:5002/ws";if(console.log(`connect mqtt, options=${n}`),this.mqttClient=Hne.connect(o,r),!this.mqttClient){console.log("connect mqtt failed");return}this.mqttClient.on("connect",()=>{console.log("=====> mqtt connect success!"),this.mqttClient.subscribe(By,{qos:0},a=>{console.log(a?`mqtt subscribe [${By}] failed`:`mqtt subscribe [${By}] success`)})}),this.mqttClient.on("message",(a,s)=>{const l=s.toString();if(!l){console.error("Received empty message",a);return}let i=null;try{i=JSON.parse(l)}catch(c){console.error("Failed to parse message JSON",a,l,c);return}if(!i||i.Content===void 0||i.Content===null||!i.PType){console.log("parse notice failed!",l);return}i.PType==qne&&this.eventBus.Emit(i.Route,i.Content)}),this.mqttClient.on(iu.OffLine,()=>{console.log("mqtt offline...")}),this.mqttClient.on(iu.Reconnect,()=>{console.log("mqtt reconnecting...")}),this.mqttClient.on(iu.Close,()=>{console.log("mqtt close")}),this.mqttClient.on(iu.Error,a=>{console.log("mqtt error")})}randomStr(n){const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";let o="";for(let a=0;a<n;a++)o+=r.charAt(Math.floor(Math.random()*r.length));return o}}const By="Notice",qne="NOTICE",iu={OffLine:"offline",Close:"close",Reconnect:"reconnect",Error:"error"},Yne="v1.00.26914.B01";let cu;const Gne=t=>{if(!t)throw new Error("QfOptions is undefined");if(!cu&&t&&(cu=new Xne(t)),!cu)throw new Error("Qf not initialized, please call GetQf(options) first");return cu};class Xne{constructor(n){Ge(this,"EventBus");Ge(this,"WebApi");Ge(this,"Mqtt");Ge(this,"options");this.initQf(n)}initQf(n){if(!n)throw new Error(`StartQf failed! options is ${n}`);this.options=n,console.log("StartQf() qf version = "+Yne),this.EventBus=new $ee,this.WebApi=new Vee(n),this.options.useMqtt&&(this.Mqtt=new Kne(this.EventBus,n))}On(n,r){this.EventBus.On(n,r)}Emit(n,r){this.EventBus.Emit(n,r)}Off(n,r){this.EventBus.Off(n,r)}Post(n,r){return this.WebApi.Post(n,r)}Get(n,r){return this.WebApi.Get(n,r)}Delete(n,r){return this.WebApi.Delete(n,r)}Put(n,r){return this.WebApi.Put(n,r)}Download(n,r){return this.WebApi.Download(n,r)}RegNotice(n,r){this.EventBus.On(n,r)}}const Qne={UInput:Il,UDict:$l,UToggle:um,UCascader:fm,UDate:ui,FormRender:pm,TableRender:dN,UFieldView:Bd},Jne={install(t){t.use(NQ);for(const[n,r]of Object.entries(Qne))t.component(n,r)}};gt.FormRender=pm,gt.GetQf=Gne,gt.TableRender=dN,gt.UCascader=fm,gt.UDate=ui,gt.UDict=$l,gt.UFieldView=Bd,gt.UInput=Il,gt.UToggle=um,gt.default=Jne,gt.notify=ro,gt.notifyUtil=Dl,Object.defineProperties(gt,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
@@ -1,104 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
2
|
showForm: (formId: string, query?: string) => Promise<unknown>;
|
|
3
3
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
4
|
-
formRef:
|
|
5
|
-
$: import('vue').ComponentInternalInstance;
|
|
6
|
-
$data: {};
|
|
7
|
-
$props: {
|
|
8
|
-
readonly model?: Record<string, any> | undefined;
|
|
9
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
10
|
-
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
11
|
-
readonly requireAsteriskPosition?: "left" | "right" | undefined;
|
|
12
|
-
readonly labelWidth?: string | number | undefined;
|
|
13
|
-
readonly labelSuffix?: string | undefined;
|
|
14
|
-
readonly inline?: boolean | undefined;
|
|
15
|
-
readonly inlineMessage?: boolean | undefined;
|
|
16
|
-
readonly statusIcon?: boolean | undefined;
|
|
17
|
-
readonly showMessage?: boolean | undefined;
|
|
18
|
-
readonly validateOnRuleChange?: boolean | undefined;
|
|
19
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
20
|
-
readonly scrollToError?: boolean | undefined;
|
|
21
|
-
readonly scrollIntoViewOptions?: (ScrollIntoViewOptions | boolean) | undefined;
|
|
22
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
23
|
-
readonly disabled?: boolean | undefined;
|
|
24
|
-
readonly onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
25
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
26
|
-
$attrs: import('vue').Attrs;
|
|
27
|
-
$refs: {
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
30
|
-
$slots: Readonly<{
|
|
31
|
-
[name: string]: globalThis.Slot | undefined;
|
|
32
|
-
}>;
|
|
33
|
-
$root: ComponentPublicInstance | null;
|
|
34
|
-
$parent: ComponentPublicInstance | null;
|
|
35
|
-
$host: Element | null;
|
|
36
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
37
|
-
$el: any;
|
|
38
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
39
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
40
|
-
}>, {
|
|
41
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
42
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
43
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
44
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
45
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
46
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
47
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
48
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
49
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
50
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
51
|
-
}, string, {
|
|
52
|
-
labelWidth: string | number;
|
|
53
|
-
labelPosition: "left" | "right" | "top";
|
|
54
|
-
requireAsteriskPosition: "left" | "right";
|
|
55
|
-
labelSuffix: string;
|
|
56
|
-
showMessage: boolean;
|
|
57
|
-
validateOnRuleChange: boolean;
|
|
58
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
59
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
60
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
61
|
-
created?: (() => void) | (() => void)[];
|
|
62
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
63
|
-
mounted?: (() => void) | (() => void)[];
|
|
64
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
65
|
-
updated?: (() => void) | (() => void)[];
|
|
66
|
-
activated?: (() => void) | (() => void)[];
|
|
67
|
-
deactivated?: (() => void) | (() => void)[];
|
|
68
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
69
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
70
|
-
destroyed?: (() => void) | (() => void)[];
|
|
71
|
-
unmounted?: (() => void) | (() => void)[];
|
|
72
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
73
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
74
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
75
|
-
};
|
|
76
|
-
$forceUpdate: () => void;
|
|
77
|
-
$nextTick: typeof import('vue').nextTick;
|
|
78
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
79
|
-
} & Readonly<{
|
|
80
|
-
labelWidth: string | number;
|
|
81
|
-
labelPosition: "left" | "right" | "top";
|
|
82
|
-
requireAsteriskPosition: "left" | "right";
|
|
83
|
-
labelSuffix: string;
|
|
84
|
-
showMessage: boolean;
|
|
85
|
-
validateOnRuleChange: boolean;
|
|
86
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
87
|
-
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
88
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
89
|
-
}>, "labelPosition" | "labelWidth" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & {
|
|
90
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
91
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
92
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
93
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
94
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
95
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
96
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
97
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
98
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
99
|
-
$slots: {
|
|
100
|
-
default?: (props: {}) => any;
|
|
101
|
-
};
|
|
102
|
-
}) | null;
|
|
4
|
+
formRef: unknown;
|
|
103
5
|
}, any>;
|
|
104
6
|
export default _default;
|
|
@@ -7,105 +7,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
7
7
|
formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {
|
|
8
8
|
showForm: (formId: string, query?: string) => Promise<unknown>;
|
|
9
9
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
10
|
-
formRef:
|
|
11
|
-
$: import('vue').ComponentInternalInstance;
|
|
12
|
-
$data: {};
|
|
13
|
-
$props: {
|
|
14
|
-
readonly model?: Record<string, any> | undefined;
|
|
15
|
-
readonly rules?: import('element-plus').FormRules | undefined;
|
|
16
|
-
readonly labelPosition?: "left" | "right" | "top" | undefined;
|
|
17
|
-
readonly requireAsteriskPosition?: "left" | "right" | undefined;
|
|
18
|
-
readonly labelWidth?: string | number | undefined;
|
|
19
|
-
readonly labelSuffix?: string | undefined;
|
|
20
|
-
readonly inline?: boolean | undefined;
|
|
21
|
-
readonly inlineMessage?: boolean | undefined;
|
|
22
|
-
readonly statusIcon?: boolean | undefined;
|
|
23
|
-
readonly showMessage?: boolean | undefined;
|
|
24
|
-
readonly validateOnRuleChange?: boolean | undefined;
|
|
25
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
26
|
-
readonly scrollToError?: boolean | undefined;
|
|
27
|
-
readonly scrollIntoViewOptions?: (ScrollIntoViewOptions | boolean) | undefined;
|
|
28
|
-
readonly size?: import('element-plus').ComponentSize | undefined;
|
|
29
|
-
readonly disabled?: boolean | undefined;
|
|
30
|
-
readonly onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined | undefined;
|
|
31
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
32
|
-
$attrs: import('vue').Attrs;
|
|
33
|
-
$refs: {
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
36
|
-
$slots: Readonly<{
|
|
37
|
-
[name: string]: globalThis.Slot | undefined;
|
|
38
|
-
}>;
|
|
39
|
-
$root: ComponentPublicInstance | null;
|
|
40
|
-
$parent: ComponentPublicInstance | null;
|
|
41
|
-
$host: Element | null;
|
|
42
|
-
$emit: (event: "validate", prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
43
|
-
$el: any;
|
|
44
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
45
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
46
|
-
}>, {
|
|
47
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
48
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
49
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
50
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
51
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
52
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
53
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
54
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
55
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
56
|
-
validate: (prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => void;
|
|
57
|
-
}, string, {
|
|
58
|
-
labelWidth: string | number;
|
|
59
|
-
labelPosition: "left" | "right" | "top";
|
|
60
|
-
requireAsteriskPosition: "left" | "right";
|
|
61
|
-
labelSuffix: string;
|
|
62
|
-
showMessage: boolean;
|
|
63
|
-
validateOnRuleChange: boolean;
|
|
64
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
65
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
66
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
67
|
-
created?: (() => void) | (() => void)[];
|
|
68
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
69
|
-
mounted?: (() => void) | (() => void)[];
|
|
70
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
71
|
-
updated?: (() => void) | (() => void)[];
|
|
72
|
-
activated?: (() => void) | (() => void)[];
|
|
73
|
-
deactivated?: (() => void) | (() => void)[];
|
|
74
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
75
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
76
|
-
destroyed?: (() => void) | (() => void)[];
|
|
77
|
-
unmounted?: (() => void) | (() => void)[];
|
|
78
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
79
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
80
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
81
|
-
};
|
|
82
|
-
$forceUpdate: () => void;
|
|
83
|
-
$nextTick: typeof import('vue').nextTick;
|
|
84
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
85
|
-
} & Readonly<{
|
|
86
|
-
labelWidth: string | number;
|
|
87
|
-
labelPosition: "left" | "right" | "top";
|
|
88
|
-
requireAsteriskPosition: "left" | "right";
|
|
89
|
-
labelSuffix: string;
|
|
90
|
-
showMessage: boolean;
|
|
91
|
-
validateOnRuleChange: boolean;
|
|
92
|
-
scrollIntoViewOptions: ScrollIntoViewOptions | boolean;
|
|
93
|
-
}> & Omit<Readonly<import('element-plus').FormProps> & Readonly<{
|
|
94
|
-
onValidate?: ((prop: import('element-plus').FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
95
|
-
}>, "labelPosition" | "labelWidth" | "fields" | "requireAsteriskPosition" | "labelSuffix" | "showMessage" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validate" | "validateField" | "resetFields" | "clearValidate" | "scrollToField" | "getField" | "setInitialValues"> & {
|
|
96
|
-
validate: (callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
97
|
-
validateField: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>, callback?: import('element-plus').FormValidateCallback) => import('element-plus').FormValidationResult;
|
|
98
|
-
resetFields: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
99
|
-
clearValidate: (props?: import('element-plus/es/utils/typescript.mjs').Arrayable<import('element-plus').FormItemProp>) => void;
|
|
100
|
-
scrollToField: (prop: import('element-plus').FormItemProp) => void;
|
|
101
|
-
getField: (prop: import('element-plus').FormItemProp) => import('element-plus').FormItemContext | undefined;
|
|
102
|
-
fields: import('vue').Reactive<import('element-plus').FormItemContext[]>;
|
|
103
|
-
setInitialValues: (initModel: Record<string, any>) => void;
|
|
104
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
105
|
-
$slots: {
|
|
106
|
-
default?: (props: {}) => any;
|
|
107
|
-
};
|
|
108
|
-
}) | null;
|
|
10
|
+
formRef: unknown;
|
|
109
11
|
}, any, import('vue').ComponentProvideOptions, {
|
|
110
12
|
P: {};
|
|
111
13
|
B: {};
|