@pangu-backend-ui/apputil-core 0.0.2 → 0.0.4
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/index.js +805 -225
- package/index.umd.cjs +1 -1
- package/package.json +1 -1
- package/types/Constant.d.ts +27 -4
- package/types/views/BannerListView.vue.d.ts +29 -5
- package/types/views/EntranceListView.vue.d.ts +420 -0
- package/types/views/components/BannerDialog.vue.d.ts +21 -2
- package/types/views/components/EntranceDialog.vue.d.ts +386 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { nextTick } from "vue";
|
|
1
2
|
import { Http } from "@pangu-backend-ui/common";
|
|
2
3
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
3
4
|
emits: (event: "success", ...args: any[]) => void;
|
|
@@ -6,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
6
7
|
sceneCode: null;
|
|
7
8
|
image: null;
|
|
8
9
|
targetPath: null;
|
|
9
|
-
|
|
10
|
+
clickEventType: string;
|
|
10
11
|
params: null;
|
|
11
12
|
shelfTimeArr: {
|
|
12
13
|
toString: () => string;
|
|
@@ -259,7 +260,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
259
260
|
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
260
261
|
};
|
|
261
262
|
$forceUpdate: () => void;
|
|
262
|
-
$nextTick: typeof
|
|
263
|
+
$nextTick: typeof nextTick;
|
|
263
264
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
264
265
|
} & Readonly<import("vue").ExtractPropTypes<{
|
|
265
266
|
readonly model: ObjectConstructor;
|
|
@@ -359,6 +360,24 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
359
360
|
allSceneCodes: import("vue").Ref<string[]>;
|
|
360
361
|
bannerId: import("vue").Ref<number | null>;
|
|
361
362
|
show: (allSceneCodesParam: string[], banner?: any) => void;
|
|
363
|
+
clearForm: () => void;
|
|
364
|
+
readonly bannerClickEventTypes: {
|
|
365
|
+
OPEN_WEB: {
|
|
366
|
+
name: string;
|
|
367
|
+
};
|
|
368
|
+
OPEN_VIEW: {
|
|
369
|
+
name: string;
|
|
370
|
+
};
|
|
371
|
+
API_REQUEST: {
|
|
372
|
+
name: string;
|
|
373
|
+
};
|
|
374
|
+
EXEC_METHOD: {
|
|
375
|
+
name: string;
|
|
376
|
+
};
|
|
377
|
+
CUSTOM: {
|
|
378
|
+
name: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
362
381
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "success"[], "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
363
382
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
364
383
|
}, {}>;
|
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { nextTick } from "vue";
|
|
2
|
+
import { Http } from "@pangu-backend-ui/common";
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
4
|
+
emits: (event: "success", ...args: any[]) => void;
|
|
5
|
+
showState: import("vue").Ref<boolean>;
|
|
6
|
+
formState: import("vue").Ref<{
|
|
7
|
+
sceneCode: null;
|
|
8
|
+
name: null;
|
|
9
|
+
iconType: string;
|
|
10
|
+
icon: null;
|
|
11
|
+
targetPath: null;
|
|
12
|
+
clickEventType: string;
|
|
13
|
+
params: null;
|
|
14
|
+
shelfTimeArr: {
|
|
15
|
+
toString: () => string;
|
|
16
|
+
toDateString: () => string;
|
|
17
|
+
toTimeString: () => string;
|
|
18
|
+
toLocaleString: {
|
|
19
|
+
(): string;
|
|
20
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
21
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
22
|
+
};
|
|
23
|
+
toLocaleDateString: {
|
|
24
|
+
(): string;
|
|
25
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
26
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
27
|
+
};
|
|
28
|
+
toLocaleTimeString: {
|
|
29
|
+
(): string;
|
|
30
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
31
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
|
32
|
+
};
|
|
33
|
+
valueOf: () => number;
|
|
34
|
+
getTime: () => number;
|
|
35
|
+
getFullYear: () => number;
|
|
36
|
+
getUTCFullYear: () => number;
|
|
37
|
+
getMonth: () => number;
|
|
38
|
+
getUTCMonth: () => number;
|
|
39
|
+
getDate: () => number;
|
|
40
|
+
getUTCDate: () => number;
|
|
41
|
+
getDay: () => number;
|
|
42
|
+
getUTCDay: () => number;
|
|
43
|
+
getHours: () => number;
|
|
44
|
+
getUTCHours: () => number;
|
|
45
|
+
getMinutes: () => number;
|
|
46
|
+
getUTCMinutes: () => number;
|
|
47
|
+
getSeconds: () => number;
|
|
48
|
+
getUTCSeconds: () => number;
|
|
49
|
+
getMilliseconds: () => number;
|
|
50
|
+
getUTCMilliseconds: () => number;
|
|
51
|
+
getTimezoneOffset: () => number;
|
|
52
|
+
setTime: (time: number) => number;
|
|
53
|
+
setMilliseconds: (ms: number) => number;
|
|
54
|
+
setUTCMilliseconds: (ms: number) => number;
|
|
55
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
|
56
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
|
57
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
58
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
|
59
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
60
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
|
61
|
+
setDate: (date: number) => number;
|
|
62
|
+
setUTCDate: (date: number) => number;
|
|
63
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
|
64
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
|
65
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
66
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
|
67
|
+
toUTCString: () => string;
|
|
68
|
+
toISOString: () => string;
|
|
69
|
+
toJSON: (key?: any) => string;
|
|
70
|
+
[Symbol.toPrimitive]: {
|
|
71
|
+
(hint: "default"): string;
|
|
72
|
+
(hint: "string"): string;
|
|
73
|
+
(hint: "number"): number;
|
|
74
|
+
(hint: string): string | number;
|
|
75
|
+
};
|
|
76
|
+
}[];
|
|
77
|
+
}>;
|
|
78
|
+
formRule: import("vue").Ref<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
79
|
+
handling: import("vue").Ref<boolean>;
|
|
80
|
+
http: Http | undefined;
|
|
81
|
+
form: import("vue").Ref<({
|
|
82
|
+
$: import("vue").ComponentInternalInstance;
|
|
83
|
+
$data: {};
|
|
84
|
+
$props: Partial<{
|
|
85
|
+
readonly disabled: boolean;
|
|
86
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
87
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
88
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
89
|
+
readonly labelSuffix: string;
|
|
90
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
91
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
92
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
93
|
+
readonly inline: boolean;
|
|
94
|
+
readonly inlineMessage: boolean;
|
|
95
|
+
readonly statusIcon: boolean;
|
|
96
|
+
readonly scrollToError: boolean;
|
|
97
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
98
|
+
readonly model: ObjectConstructor;
|
|
99
|
+
readonly rules: {
|
|
100
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
101
|
+
readonly required: false;
|
|
102
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
103
|
+
__epPropKey: true;
|
|
104
|
+
};
|
|
105
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
106
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
107
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
108
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
109
|
+
readonly inline: BooleanConstructor;
|
|
110
|
+
readonly inlineMessage: BooleanConstructor;
|
|
111
|
+
readonly statusIcon: BooleanConstructor;
|
|
112
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
113
|
+
readonly size: {
|
|
114
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
115
|
+
readonly required: false;
|
|
116
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
|
+
__epPropKey: true;
|
|
118
|
+
};
|
|
119
|
+
readonly disabled: BooleanConstructor;
|
|
120
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
121
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
122
|
+
readonly scrollToError: BooleanConstructor;
|
|
123
|
+
}>> & {
|
|
124
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
125
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
126
|
+
$attrs: {
|
|
127
|
+
[x: string]: unknown;
|
|
128
|
+
};
|
|
129
|
+
$refs: {
|
|
130
|
+
[x: string]: unknown;
|
|
131
|
+
};
|
|
132
|
+
$slots: Readonly<{
|
|
133
|
+
[name: string]: import("vue").Slot | undefined;
|
|
134
|
+
}>;
|
|
135
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
136
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
137
|
+
$emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
138
|
+
$el: any;
|
|
139
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
140
|
+
readonly model: ObjectConstructor;
|
|
141
|
+
readonly rules: {
|
|
142
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
143
|
+
readonly required: false;
|
|
144
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
145
|
+
__epPropKey: true;
|
|
146
|
+
};
|
|
147
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
148
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
149
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
150
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
151
|
+
readonly inline: BooleanConstructor;
|
|
152
|
+
readonly inlineMessage: BooleanConstructor;
|
|
153
|
+
readonly statusIcon: BooleanConstructor;
|
|
154
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
155
|
+
readonly size: {
|
|
156
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
157
|
+
readonly required: false;
|
|
158
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
159
|
+
__epPropKey: true;
|
|
160
|
+
};
|
|
161
|
+
readonly disabled: BooleanConstructor;
|
|
162
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
163
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
164
|
+
readonly scrollToError: BooleanConstructor;
|
|
165
|
+
}>> & {
|
|
166
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
167
|
+
}, {
|
|
168
|
+
COMPONENT_NAME: string;
|
|
169
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
170
|
+
readonly model: ObjectConstructor;
|
|
171
|
+
readonly rules: {
|
|
172
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
173
|
+
readonly required: false;
|
|
174
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
175
|
+
__epPropKey: true;
|
|
176
|
+
};
|
|
177
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
178
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
179
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
180
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
181
|
+
readonly inline: BooleanConstructor;
|
|
182
|
+
readonly inlineMessage: BooleanConstructor;
|
|
183
|
+
readonly statusIcon: BooleanConstructor;
|
|
184
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
185
|
+
readonly size: {
|
|
186
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
187
|
+
readonly required: false;
|
|
188
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
189
|
+
__epPropKey: true;
|
|
190
|
+
};
|
|
191
|
+
readonly disabled: BooleanConstructor;
|
|
192
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
193
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
194
|
+
readonly scrollToError: BooleanConstructor;
|
|
195
|
+
}>> & {
|
|
196
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
197
|
+
}>>;
|
|
198
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
199
|
+
fields: import("element-plus").FormItemContext[];
|
|
200
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
201
|
+
ns: {
|
|
202
|
+
namespace: import("vue").Ref<string>;
|
|
203
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
204
|
+
e: (element?: string | undefined) => string;
|
|
205
|
+
m: (modifier?: string | undefined) => string;
|
|
206
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
207
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
208
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
209
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
210
|
+
is: {
|
|
211
|
+
(name: string, state: boolean | undefined): string;
|
|
212
|
+
(name: string): string;
|
|
213
|
+
};
|
|
214
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
215
|
+
cssVarName: (name: string) => string;
|
|
216
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
217
|
+
cssVarBlockName: (name: string) => string;
|
|
218
|
+
};
|
|
219
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
220
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
221
|
+
})[]>;
|
|
222
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
223
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
224
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
225
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
226
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
227
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
228
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
229
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
230
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
231
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
232
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
233
|
+
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
234
|
+
}, string, {
|
|
235
|
+
readonly disabled: boolean;
|
|
236
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
237
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
238
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
239
|
+
readonly labelSuffix: string;
|
|
240
|
+
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
241
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
242
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
243
|
+
readonly inline: boolean;
|
|
244
|
+
readonly inlineMessage: boolean;
|
|
245
|
+
readonly statusIcon: boolean;
|
|
246
|
+
readonly scrollToError: boolean;
|
|
247
|
+
}, {}, string> & {
|
|
248
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
249
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
250
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
251
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
252
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
253
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
254
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
255
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
256
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
257
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
258
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
259
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
260
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
261
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
262
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
263
|
+
};
|
|
264
|
+
$forceUpdate: () => void;
|
|
265
|
+
$nextTick: typeof nextTick;
|
|
266
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
267
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
268
|
+
readonly model: ObjectConstructor;
|
|
269
|
+
readonly rules: {
|
|
270
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
271
|
+
readonly required: false;
|
|
272
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
273
|
+
__epPropKey: true;
|
|
274
|
+
};
|
|
275
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
276
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
277
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
278
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
279
|
+
readonly inline: BooleanConstructor;
|
|
280
|
+
readonly inlineMessage: BooleanConstructor;
|
|
281
|
+
readonly statusIcon: BooleanConstructor;
|
|
282
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
283
|
+
readonly size: {
|
|
284
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
285
|
+
readonly required: false;
|
|
286
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
287
|
+
__epPropKey: true;
|
|
288
|
+
};
|
|
289
|
+
readonly disabled: BooleanConstructor;
|
|
290
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
291
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
292
|
+
readonly scrollToError: BooleanConstructor;
|
|
293
|
+
}>> & {
|
|
294
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
295
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
296
|
+
COMPONENT_NAME: string;
|
|
297
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
298
|
+
readonly model: ObjectConstructor;
|
|
299
|
+
readonly rules: {
|
|
300
|
+
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
301
|
+
readonly required: false;
|
|
302
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
303
|
+
__epPropKey: true;
|
|
304
|
+
};
|
|
305
|
+
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
306
|
+
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
307
|
+
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
308
|
+
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
309
|
+
readonly inline: BooleanConstructor;
|
|
310
|
+
readonly inlineMessage: BooleanConstructor;
|
|
311
|
+
readonly statusIcon: BooleanConstructor;
|
|
312
|
+
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
313
|
+
readonly size: {
|
|
314
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
315
|
+
readonly required: false;
|
|
316
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
317
|
+
__epPropKey: true;
|
|
318
|
+
};
|
|
319
|
+
readonly disabled: BooleanConstructor;
|
|
320
|
+
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
321
|
+
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
322
|
+
readonly scrollToError: BooleanConstructor;
|
|
323
|
+
}>> & {
|
|
324
|
+
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
325
|
+
}>>;
|
|
326
|
+
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
327
|
+
fields: import("element-plus").FormItemContext[];
|
|
328
|
+
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
329
|
+
ns: {
|
|
330
|
+
namespace: import("vue").Ref<string>;
|
|
331
|
+
b: (blockSuffix?: string | undefined) => string;
|
|
332
|
+
e: (element?: string | undefined) => string;
|
|
333
|
+
m: (modifier?: string | undefined) => string;
|
|
334
|
+
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
335
|
+
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
336
|
+
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
337
|
+
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
338
|
+
is: {
|
|
339
|
+
(name: string, state: boolean | undefined): string;
|
|
340
|
+
(name: string): string;
|
|
341
|
+
};
|
|
342
|
+
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
343
|
+
cssVarName: (name: string) => string;
|
|
344
|
+
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
345
|
+
cssVarBlockName: (name: string) => string;
|
|
346
|
+
};
|
|
347
|
+
formClasses: import("vue").ComputedRef<(string | {
|
|
348
|
+
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
349
|
+
})[]>;
|
|
350
|
+
addField: (field: import("element-plus").FormItemContext) => void;
|
|
351
|
+
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
352
|
+
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
353
|
+
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
354
|
+
isValidatable: import("vue").ComputedRef<boolean>;
|
|
355
|
+
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
356
|
+
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
357
|
+
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
358
|
+
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
359
|
+
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
360
|
+
}> & {} & import("vue").ComponentCustomProperties & {}) | undefined>;
|
|
361
|
+
submit: () => void;
|
|
362
|
+
allSceneCodes: import("vue").Ref<string[]>;
|
|
363
|
+
entranceId: import("vue").Ref<number | null>;
|
|
364
|
+
show: (allSceneCodesParam: string[], entrance?: any) => void;
|
|
365
|
+
clearForm: () => void;
|
|
366
|
+
readonly entranceClickEventTypes: {
|
|
367
|
+
OPEN_WEB: {
|
|
368
|
+
name: string;
|
|
369
|
+
};
|
|
370
|
+
OPEN_VIEW: {
|
|
371
|
+
name: string;
|
|
372
|
+
};
|
|
373
|
+
API_REQUEST: {
|
|
374
|
+
name: string;
|
|
375
|
+
};
|
|
376
|
+
EXEC_METHOD: {
|
|
377
|
+
name: string;
|
|
378
|
+
};
|
|
379
|
+
CUSTOM: {
|
|
380
|
+
name: string;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "success"[], "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
384
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
}, {}>;
|
|
386
|
+
export default _sfc_main;
|