@pangu-backend-ui/user-core 0.0.19 → 0.0.21
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 +644 -675
- package/index.umd.cjs +1 -1
- package/package.json +2 -2
- package/style.css +1 -1
- package/types/components/FunctionDisable/AddFunctionDisableDialog.vue.d.ts +30 -0
- package/types/components/FunctionDisable/FunctionDisableTableDialog.vue.d.ts +43 -0
- package/types/components/FunctionDisable/index.d.ts +6 -0
- package/types/components/UserDetail/UserDetailDialog.vue.d.ts +41 -320
- package/types/components/index.d.ts +2 -1
- package/types/views/components/CreateUserDialog.vue.d.ts +36 -0
- package/types/views/list.vue.d.ts +98 -319
- package/web-types.json +12 -0
- package/types/components/AddBlacklist/AddBlacklistComp.vue.d.ts +0 -322
- package/types/views/BlackListView.vue.d.ts +0 -777
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ref } from "vue";
|
|
1
2
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
3
|
condition: import("vue").Ref<{
|
|
3
4
|
id: null;
|
|
@@ -10,6 +11,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
10
11
|
search: () => void;
|
|
11
12
|
userDetailDialog: import("vue").Ref<any>;
|
|
12
13
|
showDetail: (user: any) => void;
|
|
14
|
+
createUserDialog: import("vue").Ref<any>;
|
|
15
|
+
showCreateUserDialog: () => void;
|
|
13
16
|
UserMobile: import("vue").DefineComponent<{
|
|
14
17
|
userId: {
|
|
15
18
|
type: NumberConstructor;
|
|
@@ -70,6 +73,16 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
70
73
|
required: boolean;
|
|
71
74
|
default: never[];
|
|
72
75
|
};
|
|
76
|
+
paginationSizes: {
|
|
77
|
+
type: ArrayConstructor;
|
|
78
|
+
required: boolean;
|
|
79
|
+
default: number[];
|
|
80
|
+
};
|
|
81
|
+
paginationLayout: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
required: boolean;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
73
86
|
}, {
|
|
74
87
|
props: any;
|
|
75
88
|
emits: (event: string, ...args: any[]) => void;
|
|
@@ -117,6 +130,16 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
117
130
|
required: boolean;
|
|
118
131
|
default: never[];
|
|
119
132
|
};
|
|
133
|
+
paginationSizes: {
|
|
134
|
+
type: ArrayConstructor;
|
|
135
|
+
required: boolean;
|
|
136
|
+
default: number[];
|
|
137
|
+
};
|
|
138
|
+
paginationLayout: {
|
|
139
|
+
type: StringConstructor;
|
|
140
|
+
required: boolean;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
120
143
|
}>> & {
|
|
121
144
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
122
145
|
}, {
|
|
@@ -125,6 +148,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
125
148
|
fetchData: boolean;
|
|
126
149
|
pagination: boolean;
|
|
127
150
|
dataList: unknown[];
|
|
151
|
+
paginationSizes: unknown[];
|
|
152
|
+
paginationLayout: string;
|
|
128
153
|
}>;
|
|
129
154
|
UserDetailDialog: import("vue").DefineComponent<{}, {
|
|
130
155
|
configStore: import("pinia").Store<"pg-user-core-config-store", import("pinia")._UnwrapAll<Pick<{
|
|
@@ -150,8 +175,8 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
150
175
|
show: (userId: number, activeTab?: string | undefined, tabs?: import("../types/UserDetailDialogTabConfig").default[] | undefined) => void;
|
|
151
176
|
getUserDetail: (userId: number) => void;
|
|
152
177
|
getBlacklistInfo: (userId: number) => void;
|
|
153
|
-
|
|
154
|
-
|
|
178
|
+
functionDisableTableDialog: import("vue").Ref<any>;
|
|
179
|
+
showFunctionDisableTableDialog: () => void;
|
|
155
180
|
reset: () => void;
|
|
156
181
|
UserMobile: import("vue").DefineComponent<{
|
|
157
182
|
userId: {
|
|
@@ -183,326 +208,80 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
183
208
|
userId: number;
|
|
184
209
|
maskMobile: string;
|
|
185
210
|
}>;
|
|
186
|
-
|
|
187
|
-
hiddenEntranceSlot: {
|
|
188
|
-
type: BooleanConstructor;
|
|
189
|
-
default: boolean;
|
|
190
|
-
};
|
|
191
|
-
userId: {
|
|
192
|
-
type: NumberConstructor;
|
|
193
|
-
required: false;
|
|
194
|
-
};
|
|
195
|
-
}, {
|
|
211
|
+
FunctionDisableTableDialog: import("vue").DefineComponent<{}, {
|
|
196
212
|
http: import("@pangu-backend-ui/common").Http | undefined;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
217
|
-
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
218
|
-
readonly inline: boolean;
|
|
219
|
-
readonly inlineMessage: boolean;
|
|
220
|
-
readonly statusIcon: boolean;
|
|
221
|
-
readonly scrollToError: boolean;
|
|
222
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
223
|
-
readonly model: ObjectConstructor;
|
|
224
|
-
readonly rules: {
|
|
225
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
226
|
-
readonly required: false;
|
|
227
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
228
|
-
__epPropKey: true;
|
|
229
|
-
};
|
|
230
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
231
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
232
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
233
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
234
|
-
readonly inline: BooleanConstructor;
|
|
235
|
-
readonly inlineMessage: BooleanConstructor;
|
|
236
|
-
readonly statusIcon: BooleanConstructor;
|
|
237
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
238
|
-
readonly size: {
|
|
239
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
240
|
-
readonly required: false;
|
|
241
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
242
|
-
__epPropKey: true;
|
|
243
|
-
};
|
|
244
|
-
readonly disabled: BooleanConstructor;
|
|
245
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
246
|
-
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
247
|
-
readonly scrollToError: BooleanConstructor;
|
|
248
|
-
}>> & {
|
|
249
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
250
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "labelPosition" | "requireAsteriskPosition" | "labelWidth" | "labelSuffix" | "inline" | "inlineMessage" | "statusIcon" | "showMessage" | "disabled" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
251
|
-
$attrs: {
|
|
252
|
-
[x: string]: unknown;
|
|
253
|
-
};
|
|
254
|
-
$refs: {
|
|
255
|
-
[x: string]: unknown;
|
|
256
|
-
};
|
|
257
|
-
$slots: Readonly<{
|
|
258
|
-
[name: string]: import("vue").Slot | undefined;
|
|
213
|
+
visible: import("vue").Ref<boolean>;
|
|
214
|
+
condition: import("vue").Ref<{
|
|
215
|
+
userId: number | null;
|
|
216
|
+
}>;
|
|
217
|
+
table: import("vue").Ref<any>;
|
|
218
|
+
show: (userId: number) => void;
|
|
219
|
+
search: () => void;
|
|
220
|
+
addFunctionDisableDialog: import("vue").Ref<any>;
|
|
221
|
+
showAddDisabledFunctionDialog: () => void;
|
|
222
|
+
enableFunction: (id: number) => Promise<void>;
|
|
223
|
+
AddFunctionDisableDialog: import("vue").DefineComponent<{}, {
|
|
224
|
+
visible: import("vue").Ref<boolean>;
|
|
225
|
+
http: import("@pangu-backend-ui/common").Http | undefined;
|
|
226
|
+
emits: (event: "success", ...args: any[]) => void;
|
|
227
|
+
form: import("vue").Ref<{
|
|
228
|
+
functionCode: null;
|
|
229
|
+
expiry: null;
|
|
230
|
+
remark: null;
|
|
231
|
+
disableForever: boolean;
|
|
259
232
|
}>;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
readonly required: false;
|
|
269
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
|
-
__epPropKey: true;
|
|
271
|
-
};
|
|
272
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
273
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
274
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
275
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
276
|
-
readonly inline: BooleanConstructor;
|
|
277
|
-
readonly inlineMessage: BooleanConstructor;
|
|
278
|
-
readonly statusIcon: BooleanConstructor;
|
|
279
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
280
|
-
readonly size: {
|
|
281
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
282
|
-
readonly required: false;
|
|
283
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
284
|
-
__epPropKey: true;
|
|
285
|
-
};
|
|
286
|
-
readonly disabled: BooleanConstructor;
|
|
287
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
288
|
-
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
289
|
-
readonly scrollToError: BooleanConstructor;
|
|
290
|
-
}>> & {
|
|
291
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
292
|
-
}, {
|
|
293
|
-
COMPONENT_NAME: string;
|
|
294
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
295
|
-
readonly model: ObjectConstructor;
|
|
296
|
-
readonly rules: {
|
|
297
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
298
|
-
readonly required: false;
|
|
299
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
300
|
-
__epPropKey: true;
|
|
301
|
-
};
|
|
302
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
303
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
304
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
305
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
306
|
-
readonly inline: BooleanConstructor;
|
|
307
|
-
readonly inlineMessage: BooleanConstructor;
|
|
308
|
-
readonly statusIcon: BooleanConstructor;
|
|
309
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
310
|
-
readonly size: {
|
|
311
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
312
|
-
readonly required: false;
|
|
313
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
314
|
-
__epPropKey: true;
|
|
315
|
-
};
|
|
316
|
-
readonly disabled: BooleanConstructor;
|
|
317
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
318
|
-
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
319
|
-
readonly scrollToError: BooleanConstructor;
|
|
320
|
-
}>> & {
|
|
321
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
322
|
-
}>>;
|
|
323
|
-
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
324
|
-
fields: import("element-plus").FormItemContext[];
|
|
325
|
-
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
326
|
-
ns: {
|
|
327
|
-
namespace: import("vue").Ref<string>;
|
|
328
|
-
b: (blockSuffix?: string | undefined) => string;
|
|
329
|
-
e: (element?: string | undefined) => string;
|
|
330
|
-
m: (modifier?: string | undefined) => string;
|
|
331
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
332
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
333
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
334
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
335
|
-
is: {
|
|
336
|
-
(name: string, state: boolean | undefined): string;
|
|
337
|
-
(name: string): string;
|
|
338
|
-
};
|
|
339
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
340
|
-
cssVarName: (name: string) => string;
|
|
341
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
342
|
-
cssVarBlockName: (name: string) => string;
|
|
343
|
-
};
|
|
344
|
-
formClasses: import("vue").ComputedRef<(string | {
|
|
345
|
-
[x: string]: boolean | import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
346
|
-
})[]>;
|
|
347
|
-
addField: (field: import("element-plus").FormItemContext) => void;
|
|
348
|
-
removeField: (field: import("element-plus").FormItemContext) => void;
|
|
349
|
-
resetFields: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
350
|
-
clearValidate: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => void;
|
|
351
|
-
isValidatable: import("vue").ComputedRef<boolean>;
|
|
352
|
-
obtainValidateFields: (props: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp>) => import("element-plus").FormItemContext[];
|
|
353
|
-
validate: (callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
354
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
355
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
356
|
-
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
357
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
358
|
-
validate: (prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => boolean;
|
|
359
|
-
}, string, {
|
|
360
|
-
readonly disabled: boolean;
|
|
361
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right" | "top", unknown>;
|
|
362
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
363
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
364
|
-
readonly labelSuffix: string;
|
|
365
|
-
readonly showMessage: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
366
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
367
|
-
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
368
|
-
readonly inline: boolean;
|
|
369
|
-
readonly inlineMessage: boolean;
|
|
370
|
-
readonly statusIcon: boolean;
|
|
371
|
-
readonly scrollToError: boolean;
|
|
372
|
-
}, {}, string> & {
|
|
373
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
374
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
375
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
376
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
377
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
378
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
379
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
380
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
381
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
382
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
383
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
384
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
385
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
386
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
387
|
-
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;
|
|
388
|
-
};
|
|
389
|
-
$forceUpdate: () => void;
|
|
390
|
-
$nextTick: typeof import("vue").nextTick;
|
|
391
|
-
$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;
|
|
392
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
393
|
-
readonly model: ObjectConstructor;
|
|
394
|
-
readonly rules: {
|
|
395
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
396
|
-
readonly required: false;
|
|
397
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
398
|
-
__epPropKey: true;
|
|
399
|
-
};
|
|
400
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
401
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
402
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
403
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
404
|
-
readonly inline: BooleanConstructor;
|
|
405
|
-
readonly inlineMessage: BooleanConstructor;
|
|
406
|
-
readonly statusIcon: BooleanConstructor;
|
|
407
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
408
|
-
readonly size: {
|
|
409
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
410
|
-
readonly required: false;
|
|
411
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
412
|
-
__epPropKey: true;
|
|
413
|
-
};
|
|
414
|
-
readonly disabled: BooleanConstructor;
|
|
415
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
416
|
-
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
417
|
-
readonly scrollToError: BooleanConstructor;
|
|
418
|
-
}>> & {
|
|
419
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
420
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
421
|
-
COMPONENT_NAME: string;
|
|
422
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
423
|
-
readonly model: ObjectConstructor;
|
|
424
|
-
readonly rules: {
|
|
425
|
-
readonly type: import("vue").PropType<Partial<Record<string, import("element-plus/es/utils").Arrayable<import("element-plus").FormItemRule>>>>;
|
|
426
|
-
readonly required: false;
|
|
427
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
428
|
-
__epPropKey: true;
|
|
429
|
-
};
|
|
430
|
-
readonly labelPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right" | "top", unknown, "right", boolean>;
|
|
431
|
-
readonly requireAsteriskPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
432
|
-
readonly labelWidth: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
433
|
-
readonly labelSuffix: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
434
|
-
readonly inline: BooleanConstructor;
|
|
435
|
-
readonly inlineMessage: BooleanConstructor;
|
|
436
|
-
readonly statusIcon: BooleanConstructor;
|
|
437
|
-
readonly showMessage: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
438
|
-
readonly size: {
|
|
439
|
-
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
440
|
-
readonly required: false;
|
|
441
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
442
|
-
__epPropKey: true;
|
|
443
|
-
};
|
|
444
|
-
readonly disabled: BooleanConstructor;
|
|
445
|
-
readonly validateOnRuleChange: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
446
|
-
readonly hideRequiredAsterisk: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
447
|
-
readonly scrollToError: BooleanConstructor;
|
|
448
|
-
}>> & {
|
|
449
|
-
onValidate?: ((prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
450
|
-
}>>;
|
|
451
|
-
emit: (event: "validate", prop: import("element-plus").FormItemProp, isValid: boolean, message: string) => void;
|
|
452
|
-
fields: import("element-plus").FormItemContext[];
|
|
453
|
-
formSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
|
|
454
|
-
ns: {
|
|
455
|
-
namespace: import("vue").Ref<string>;
|
|
456
|
-
b: (blockSuffix?: string | undefined) => string;
|
|
457
|
-
e: (element?: string | undefined) => string;
|
|
458
|
-
m: (modifier?: string | undefined) => string;
|
|
459
|
-
be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
|
|
460
|
-
em: (element?: string | undefined, modifier?: string | undefined) => string;
|
|
461
|
-
bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
|
|
462
|
-
bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
|
|
463
|
-
is: {
|
|
464
|
-
(name: string, state: boolean | undefined): string;
|
|
465
|
-
(name: string): string;
|
|
466
|
-
};
|
|
467
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
468
|
-
cssVarName: (name: string) => string;
|
|
469
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
470
|
-
cssVarBlockName: (name: string) => string;
|
|
233
|
+
rules: {
|
|
234
|
+
functionCode: {
|
|
235
|
+
required: boolean;
|
|
236
|
+
message: string;
|
|
237
|
+
}[];
|
|
238
|
+
expiry: {
|
|
239
|
+
validator: (rule: any, value: string | null, callback: Function) => void;
|
|
240
|
+
}[];
|
|
471
241
|
};
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
doValidateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined) => Promise<boolean>;
|
|
483
|
-
validateField: (props?: import("element-plus/es/utils").Arrayable<import("element-plus").FormItemProp> | undefined, callback?: import("element-plus").FormValidateCallback | undefined) => import("element-plus").FormValidationResult;
|
|
484
|
-
scrollToField: (prop: import("element-plus").FormItemProp) => void;
|
|
485
|
-
}> & {} & import("@vue/runtime-core").ComponentCustomProperties & {}) | undefined>;
|
|
486
|
-
reset: () => void;
|
|
487
|
-
submit: () => void;
|
|
488
|
-
unlockTimeShortcuts: {
|
|
489
|
-
text: string;
|
|
490
|
-
value: () => Date;
|
|
491
|
-
}[];
|
|
492
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "success"[], "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
493
|
-
hiddenEntranceSlot: {
|
|
494
|
-
type: BooleanConstructor;
|
|
495
|
-
default: boolean;
|
|
496
|
-
};
|
|
497
|
-
userId: {
|
|
498
|
-
type: NumberConstructor;
|
|
499
|
-
required: false;
|
|
500
|
-
};
|
|
501
|
-
}>> & {
|
|
502
|
-
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
503
|
-
}, {
|
|
504
|
-
hiddenEntranceSlot: boolean;
|
|
505
|
-
}>;
|
|
242
|
+
functionCodes: any;
|
|
243
|
+
getFunctionCodes: () => Promise<void>;
|
|
244
|
+
addDisabledFunctionForm: import("vue").Ref<any>;
|
|
245
|
+
createDisabledFunction: () => void;
|
|
246
|
+
userId: number | null;
|
|
247
|
+
show: (userIdParam: number) => void;
|
|
248
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "success"[], "success", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
249
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
250
|
+
}, {}>;
|
|
251
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
506
252
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
253
|
+
CreateUserDialog: {
|
|
254
|
+
emits: string[];
|
|
255
|
+
setup(__props: any, { expose, emit: emits }: {
|
|
256
|
+
expose: any;
|
|
257
|
+
emit: any;
|
|
258
|
+
}): {
|
|
259
|
+
http: any;
|
|
260
|
+
emits: any;
|
|
261
|
+
showState: import("vue").Ref<boolean>;
|
|
262
|
+
form: import("vue").Ref<{
|
|
263
|
+
mobile: null;
|
|
264
|
+
password: null;
|
|
265
|
+
inviteCode: null;
|
|
266
|
+
}>;
|
|
267
|
+
formRules: {
|
|
268
|
+
mobile: {
|
|
269
|
+
required: boolean;
|
|
270
|
+
message: string;
|
|
271
|
+
}[];
|
|
272
|
+
password: {
|
|
273
|
+
required: boolean;
|
|
274
|
+
message: string;
|
|
275
|
+
}[];
|
|
276
|
+
};
|
|
277
|
+
formRef: import("vue").Ref<any>;
|
|
278
|
+
submit: () => void;
|
|
279
|
+
show: () => void;
|
|
280
|
+
reset: () => void;
|
|
281
|
+
inject: typeof import("vue").inject;
|
|
282
|
+
ref: typeof ref;
|
|
283
|
+
readonly ElMessage: import("element-plus/es/utils").SFCInstallWithContext<import("element-plus").Message>;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
507
286
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
508
287
|
export default _sfc_main;
|
package/web-types.json
CHANGED
|
@@ -73,6 +73,18 @@
|
|
|
73
73
|
"description": "选择项插槽"
|
|
74
74
|
}
|
|
75
75
|
]
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "pg-function-disable-table-dialog",
|
|
79
|
+
"description": "功能禁用表对话框",
|
|
80
|
+
"js": {
|
|
81
|
+
"events": [
|
|
82
|
+
{
|
|
83
|
+
"name": "show",
|
|
84
|
+
"description": "使用该方法显示功能禁用表对话框,方法接收一个用户ID"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
}
|
|
76
88
|
}
|
|
77
89
|
]
|
|
78
90
|
}
|