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