asiaint-lowcode 3.0.74 → 3.1.0
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/README.md +31 -31
- package/dist/asiaint-lowcode.js +3 -3
- package/dist/asiaint-lowcode.umd.cjs +142 -142
- package/dist/index.d.ts +168 -28
- package/dist/lazy/{Card-BLkyronF.js → Card-6y3b8xK9.js} +2 -2
- package/dist/lazy/{Cascader-BWayPZsj.js → Cascader-1XEBAirk.js} +2 -1
- package/dist/lazy/{Checkbox-B0f2osCE.js → Checkbox-DY7Ufmrz.js} +8 -7
- package/dist/lazy/{Collapse-CwiKPgVS.js → Collapse-BT7RNNg6.js} +1 -1
- package/dist/lazy/{Component-BgbXAvZP.js → Component-AYxGCLAH.js} +20 -20
- package/dist/lazy/{Component-CxjtIKb4.js → Component-BYlYtzWb.js} +2 -2
- package/dist/lazy/{Component-DtKK0pz0.js → Component-CF4m_685.js} +1 -1
- package/dist/lazy/{Component-B0YN5w1O.js → Component-CkSnYtMh.js} +1 -1
- package/dist/lazy/{Component-BTW9MMvF.js → Component-DITfSg2v.js} +1 -1
- package/dist/lazy/{Component-DN6wPVjw.js → Component-DZMCcrpa.js} +2 -2
- package/dist/lazy/CurdCard-BXOxRtCA.js +167 -0
- package/dist/lazy/{Custom-BHrk3rwy.js → Custom-Df5H1QJV.js} +7 -7
- package/dist/lazy/{DragList-BfxZ0XM8.js → DragList-BH1VY62B.js} +59 -57
- package/dist/lazy/{FormList-Bve4HUdY.js → FormList-BMk_lCx8.js} +1 -1
- package/dist/lazy/{Grid-gYua8Lbh.js → Grid-SVpxXRzO.js} +1 -1
- package/dist/lazy/Inline-CE2A9Of4.js +35 -0
- package/dist/lazy/{JsonEdit-DspEkIiw.js → JsonEdit-C_CUvw5t.js} +3 -3
- package/dist/lazy/{LogList-BJ0N-SZh.js → LogList-COeBYixP.js} +7 -7
- package/dist/lazy/{ObjGroup-DwogU-tX.js → ObjGroup-BB2eQigf.js} +1 -1
- package/dist/lazy/{OfferDetails-BRQXALnl.js → OfferDetails-BEyNKQsf.js} +8 -7
- package/dist/lazy/{Progress-CZiRwjox.js → Progress-CYBbCXFh.js} +5 -5
- package/dist/lazy/{Radio-DAQ63lEp.js → Radio-qI1r_rWj.js} +24 -22
- package/dist/lazy/{SearchSelect-B4rd3IEr.js → SearchSelect-ZmOPM_QH.js} +18 -17
- package/dist/lazy/{Select-B9ka9Z-o.js → Select-CxtVmfLu.js} +10 -9
- package/dist/lazy/Table-YeT82lnr.js +438 -0
- package/dist/lazy/{Tabs-D_jMk0g4.js → Tabs-DFvfP_nb.js} +1 -1
- package/dist/lazy/Wrapper-DAFSrkAr.js +87 -0
- package/dist/lazy/{index-CPs7U1jG.js → index-DQ889qV3.js} +10461 -9979
- package/dist/lazy/useSelect-EfaZqc6a.js +77 -0
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/CurdCard-YilgvVgg.js +0 -160
- package/dist/lazy/Inline-DP_W3TA1.js +0 -33
- package/dist/lazy/Table-BT_PlC1e.js +0 -351
- package/dist/lazy/Wrapper-Db2njs9z.js +0 -36
- package/dist/lazy/useSelect-DBsTZmYm.js +0 -76
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { Awaitable } from 'element-plus/es/utils/typescript.mjs';
|
|
3
2
|
import { Component } from 'vue';
|
|
4
3
|
import { ComponentOptionsMixin } from 'vue';
|
|
5
4
|
import { ComponentProvideOptions } from 'vue';
|
|
6
5
|
import { ComponentPublicInstance } from 'vue';
|
|
7
6
|
import { DeepReadonly } from 'vue';
|
|
8
7
|
import { DefineComponent } from 'vue';
|
|
9
|
-
import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
10
8
|
import { ExtractPropTypes } from 'vue';
|
|
11
9
|
import { FormInstance as FormInstance_2 } from 'packages/types';
|
|
12
10
|
import { FormValidationResult } from 'element-plus';
|
|
@@ -34,9 +32,6 @@ type: PropType<boolean>;
|
|
|
34
32
|
footer: {
|
|
35
33
|
type: PropType<boolean>;
|
|
36
34
|
};
|
|
37
|
-
read: {
|
|
38
|
-
type: PropType<boolean>;
|
|
39
|
-
};
|
|
40
35
|
pageRulePath: {
|
|
41
36
|
type: PropType<string>;
|
|
42
37
|
};
|
|
@@ -67,13 +62,13 @@ setFieldValue: (key: string, realValue: any, value?: any) => void;
|
|
|
67
62
|
getFieldValue: (key: string) => any;
|
|
68
63
|
refreshDynamicListBox: (key: string) => void;
|
|
69
64
|
setHidden: (value: boolean) => void;
|
|
65
|
+
clearValidate: (name: string | string[]) => void;
|
|
70
66
|
rootRef: unknown;
|
|
71
67
|
type: "form";
|
|
72
68
|
schema: FormSchema;
|
|
73
69
|
schemaContext: Record<string, any>;
|
|
74
70
|
design: boolean;
|
|
75
71
|
footer: boolean;
|
|
76
|
-
read: boolean;
|
|
77
72
|
pageRulePath: string;
|
|
78
73
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
79
74
|
reset: () => void;
|
|
@@ -96,9 +91,6 @@ type: PropType<boolean>;
|
|
|
96
91
|
footer: {
|
|
97
92
|
type: PropType<boolean>;
|
|
98
93
|
};
|
|
99
|
-
read: {
|
|
100
|
-
type: PropType<boolean>;
|
|
101
|
-
};
|
|
102
94
|
pageRulePath: {
|
|
103
95
|
type: PropType<string>;
|
|
104
96
|
};
|
|
@@ -119,10 +111,17 @@ pageParams?: any;
|
|
|
119
111
|
}>>, {
|
|
120
112
|
findRef: <T extends keyof FindRefTypeMap>(key: string) => FindRefType<T>;
|
|
121
113
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
114
|
+
clearValidate: (key: string, names: string | string[]) => void;
|
|
122
115
|
validate: (keys: string[] | string) => Promise<boolean | undefined>;
|
|
123
116
|
getData: (keys?: string[] | string) => any;
|
|
124
117
|
resetFields: (keys?: string[] | string) => void;
|
|
125
|
-
emit:
|
|
118
|
+
emit: {
|
|
119
|
+
(e: "done", data: any): void;
|
|
120
|
+
(e: "refresh"): void;
|
|
121
|
+
(e: "changeTab", tabKey: string, params?: any): void;
|
|
122
|
+
(e: "changeMixMode", tabKey: string, mode: boolean): void;
|
|
123
|
+
(e: "addPageParams", data: any): void;
|
|
124
|
+
};
|
|
126
125
|
setData: (key: string, dataModel: any, isAssign?: boolean) => void;
|
|
127
126
|
getItemByName: (formKey: string, itemKey: string) => FormItemType | null | undefined;
|
|
128
127
|
getPageParams: () => any;
|
|
@@ -137,15 +136,21 @@ getGlobalParams: () => any;
|
|
|
137
136
|
setBtnState: setBtnStateFn;
|
|
138
137
|
setReadMode: (key: string, readMode: boolean) => void;
|
|
139
138
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
140
|
-
done: (
|
|
141
|
-
refresh: (
|
|
139
|
+
done: (data: any) => void;
|
|
140
|
+
refresh: () => void;
|
|
141
|
+
changeTab: (tabKey: string, params?: any) => void;
|
|
142
|
+
changeMixMode: (tabKey: string, mode: boolean) => void;
|
|
143
|
+
addPageParams: (data: any) => void;
|
|
142
144
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
143
145
|
ruleMap: Record<string, any>;
|
|
144
146
|
pageUrl?: string;
|
|
145
147
|
pageParams?: any;
|
|
146
148
|
}>>> & Readonly<{
|
|
147
|
-
onDone?: ((
|
|
148
|
-
onRefresh?: ((
|
|
149
|
+
onDone?: ((data: any) => any) | undefined;
|
|
150
|
+
onRefresh?: (() => any) | undefined;
|
|
151
|
+
onChangeMixMode?: ((tabKey: string, mode: boolean) => any) | undefined;
|
|
152
|
+
onAddPageParams?: ((data: any) => any) | undefined;
|
|
153
|
+
onChangeTab?: ((tabKey: string, params?: any) => any) | undefined;
|
|
149
154
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
150
155
|
|
|
151
156
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -179,30 +184,69 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
179
184
|
};
|
|
180
185
|
};
|
|
181
186
|
|
|
182
|
-
declare type
|
|
187
|
+
declare type AlertSchema = {
|
|
188
|
+
description: string;
|
|
189
|
+
values?: {
|
|
190
|
+
text: string | number;
|
|
191
|
+
onClick?: string;
|
|
192
|
+
}[];
|
|
193
|
+
type?: 'primary' | 'success' | 'warning' | 'info' | 'error';
|
|
183
194
|
key: string;
|
|
184
|
-
|
|
195
|
+
rulePath?: string;
|
|
196
|
+
hidden?: boolean;
|
|
197
|
+
mixMode?: boolean;
|
|
198
|
+
onClose?: string;
|
|
199
|
+
top?: number;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
declare type BtnItemType = {
|
|
203
|
+
tooltip?: string;
|
|
204
|
+
key: string;
|
|
205
|
+
text?: string;
|
|
185
206
|
isTextBtn?: boolean;
|
|
186
207
|
isLinkBtn?: boolean;
|
|
187
208
|
isPlainBtn?: boolean;
|
|
188
|
-
onClick
|
|
209
|
+
onClick?: string;
|
|
189
210
|
disabled?: boolean;
|
|
190
211
|
hidden?: boolean;
|
|
191
212
|
type?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
192
213
|
color?: string;
|
|
214
|
+
orange?: boolean;
|
|
193
215
|
icon?: {
|
|
194
216
|
name: string;
|
|
195
217
|
color?: string;
|
|
196
218
|
};
|
|
197
219
|
label?: string;
|
|
220
|
+
size?: 'default' | 'small' | 'large';
|
|
221
|
+
style?: any;
|
|
198
222
|
};
|
|
199
223
|
|
|
224
|
+
declare type BtnType = ({
|
|
225
|
+
component: 'Popover';
|
|
226
|
+
props: {
|
|
227
|
+
trigger: 'hover' | 'click' | 'focus';
|
|
228
|
+
hoverStyle: any;
|
|
229
|
+
ostyle: any;
|
|
230
|
+
width?: number;
|
|
231
|
+
size?: 'small' | 'normal' | 'large';
|
|
232
|
+
hoverColor?: string;
|
|
233
|
+
};
|
|
234
|
+
children: FormItemType[];
|
|
235
|
+
} & BtnItemType) | ({
|
|
236
|
+
component: 'BtnGroup';
|
|
237
|
+
children: BtnItemType[];
|
|
238
|
+
} & BtnItemType) | ({
|
|
239
|
+
component?: never;
|
|
240
|
+
children?: never;
|
|
241
|
+
} & BtnItemType);
|
|
242
|
+
|
|
200
243
|
declare type ComponentType = {
|
|
201
244
|
form: typeof FormRender;
|
|
202
245
|
table: typeof TableRender;
|
|
203
246
|
tabs: typeof _default_2;
|
|
204
247
|
infocard: typeof _default_3;
|
|
205
248
|
navbar: typeof _default_4;
|
|
249
|
+
alert: typeof _default_5;
|
|
206
250
|
};
|
|
207
251
|
|
|
208
252
|
declare const _default: {
|
|
@@ -231,14 +275,14 @@ readonly rulePath?: string | undefined;
|
|
|
231
275
|
readonly onMounted?: string | undefined;
|
|
232
276
|
readonly onActivated?: string | undefined;
|
|
233
277
|
readonly tabProps?: {
|
|
234
|
-
readonly type:
|
|
278
|
+
readonly type: "" | "card" | "border-card";
|
|
235
279
|
readonly stretch: boolean;
|
|
236
280
|
readonly closable: boolean;
|
|
237
281
|
readonly addable: boolean;
|
|
238
282
|
readonly editable: boolean;
|
|
239
|
-
readonly tabPosition:
|
|
240
|
-
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) =>
|
|
241
|
-
readonly modelValue?:
|
|
283
|
+
readonly tabPosition: "right" | "top" | "left" | "bottom";
|
|
284
|
+
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => boolean | void | Promise<boolean | void>;
|
|
285
|
+
readonly modelValue?: (string | number) | undefined;
|
|
242
286
|
} | undefined;
|
|
243
287
|
readonly hidden?: boolean | undefined;
|
|
244
288
|
readonly isSticky?: boolean | undefined;
|
|
@@ -261,9 +305,11 @@ readonly hidden: boolean;
|
|
|
261
305
|
};
|
|
262
306
|
rootRef: Readonly<unknown>;
|
|
263
307
|
findRef: (url: string) => PageMethods;
|
|
264
|
-
changeActiveTab: (url: string) => void;
|
|
308
|
+
changeActiveTab: (url: string, params?: any) => void;
|
|
265
309
|
type: string;
|
|
266
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
310
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
311
|
+
addPageParams: (...args: any[]) => void;
|
|
312
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
267
313
|
schema: {
|
|
268
314
|
required: true;
|
|
269
315
|
type: PropType<TabsSchema>;
|
|
@@ -275,7 +321,9 @@ required: true;
|
|
|
275
321
|
pageParams: {
|
|
276
322
|
type: PropType<any>;
|
|
277
323
|
};
|
|
278
|
-
}>> & Readonly<{
|
|
324
|
+
}>> & Readonly<{
|
|
325
|
+
onAddPageParams?: ((...args: any[]) => any) | undefined;
|
|
326
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
279
327
|
|
|
280
328
|
declare const _default_3: DefineComponent<ExtractPropTypes< {
|
|
281
329
|
schema: {
|
|
@@ -332,6 +380,45 @@ required: true;
|
|
|
332
380
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
333
381
|
|
|
334
382
|
declare const _default_5: DefineComponent<ExtractPropTypes< {
|
|
383
|
+
schema: {
|
|
384
|
+
required: true;
|
|
385
|
+
type: PropType<AlertSchema>;
|
|
386
|
+
};
|
|
387
|
+
pageRulePath: {
|
|
388
|
+
type: PropType<string>;
|
|
389
|
+
required: true;
|
|
390
|
+
};
|
|
391
|
+
pageUrl: {
|
|
392
|
+
type: PropType<string>;
|
|
393
|
+
required: true;
|
|
394
|
+
};
|
|
395
|
+
pageEmit: {
|
|
396
|
+
type: PropType<(e: "changeMixMode", tabKey: string, mode: boolean) => void>;
|
|
397
|
+
required: true;
|
|
398
|
+
};
|
|
399
|
+
}>, {
|
|
400
|
+
type: "alert";
|
|
401
|
+
schema: ModelRef<AlertSchema, string, AlertSchema, AlertSchema>;
|
|
402
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
403
|
+
schema: {
|
|
404
|
+
required: true;
|
|
405
|
+
type: PropType<AlertSchema>;
|
|
406
|
+
};
|
|
407
|
+
pageRulePath: {
|
|
408
|
+
type: PropType<string>;
|
|
409
|
+
required: true;
|
|
410
|
+
};
|
|
411
|
+
pageUrl: {
|
|
412
|
+
type: PropType<string>;
|
|
413
|
+
required: true;
|
|
414
|
+
};
|
|
415
|
+
pageEmit: {
|
|
416
|
+
type: PropType<(e: "changeMixMode", tabKey: string, mode: boolean) => void>;
|
|
417
|
+
required: true;
|
|
418
|
+
};
|
|
419
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
420
|
+
|
|
421
|
+
declare const _default_6: DefineComponent<ExtractPropTypes< {
|
|
335
422
|
gridlayout: {
|
|
336
423
|
required: true;
|
|
337
424
|
type: PropType< {
|
|
@@ -340,6 +427,7 @@ y: number;
|
|
|
340
427
|
w: number;
|
|
341
428
|
h: number;
|
|
342
429
|
i: string;
|
|
430
|
+
rowHeight?: number;
|
|
343
431
|
}[]>;
|
|
344
432
|
};
|
|
345
433
|
children: {
|
|
@@ -355,6 +443,10 @@ type: PropType<number>;
|
|
|
355
443
|
maxRows: {
|
|
356
444
|
type: PropType<number>;
|
|
357
445
|
};
|
|
446
|
+
isDraggable: {
|
|
447
|
+
type: PropType<boolean>;
|
|
448
|
+
required: true;
|
|
449
|
+
};
|
|
358
450
|
name: {
|
|
359
451
|
type: PropType<string>;
|
|
360
452
|
required: true;
|
|
@@ -366,12 +458,14 @@ readonly y: number;
|
|
|
366
458
|
readonly w: number;
|
|
367
459
|
readonly h: number;
|
|
368
460
|
readonly i: string;
|
|
461
|
+
readonly rowHeight?: number | undefined;
|
|
369
462
|
}[], readonly {
|
|
370
463
|
readonly x: number;
|
|
371
464
|
readonly y: number;
|
|
372
465
|
readonly w: number;
|
|
373
466
|
readonly h: number;
|
|
374
467
|
readonly i: string;
|
|
468
|
+
readonly rowHeight?: number | undefined;
|
|
375
469
|
}[]>>;
|
|
376
470
|
setItemX: (index: number, x: number) => void;
|
|
377
471
|
setItemY: (index: number, y: number) => void;
|
|
@@ -385,6 +479,7 @@ y: number;
|
|
|
385
479
|
w: number;
|
|
386
480
|
h: number;
|
|
387
481
|
i: string;
|
|
482
|
+
rowHeight?: number;
|
|
388
483
|
}[]>;
|
|
389
484
|
};
|
|
390
485
|
children: {
|
|
@@ -400,6 +495,10 @@ type: PropType<number>;
|
|
|
400
495
|
maxRows: {
|
|
401
496
|
type: PropType<number>;
|
|
402
497
|
};
|
|
498
|
+
isDraggable: {
|
|
499
|
+
type: PropType<boolean>;
|
|
500
|
+
required: true;
|
|
501
|
+
};
|
|
403
502
|
name: {
|
|
404
503
|
type: PropType<string>;
|
|
405
504
|
required: true;
|
|
@@ -409,6 +508,10 @@ required: true;
|
|
|
409
508
|
declare type DropdownType = {
|
|
410
509
|
key: string;
|
|
411
510
|
text: string;
|
|
511
|
+
icon?: {
|
|
512
|
+
name: string;
|
|
513
|
+
color?: string;
|
|
514
|
+
};
|
|
412
515
|
onClick: string;
|
|
413
516
|
disabled: boolean;
|
|
414
517
|
hidden: boolean;
|
|
@@ -426,7 +529,7 @@ declare type DropdownType = {
|
|
|
426
529
|
* @returns 组件实例
|
|
427
530
|
*/
|
|
428
531
|
declare type ExtraRefTypeMap = {
|
|
429
|
-
draglist: InstanceType<typeof
|
|
532
|
+
draglist: InstanceType<typeof _default_6> & ComponentPublicInstance;
|
|
430
533
|
};
|
|
431
534
|
|
|
432
535
|
declare type FindRefType<T extends keyof FindRefTypeMap> = FindRefTypeMap[T];
|
|
@@ -517,6 +620,10 @@ export declare interface FormItemType {
|
|
|
517
620
|
props?: Record<string, any>;
|
|
518
621
|
initialValue?: any;
|
|
519
622
|
help?: string;
|
|
623
|
+
labelSuffix?: {
|
|
624
|
+
component: 'Popover';
|
|
625
|
+
props: any;
|
|
626
|
+
};
|
|
520
627
|
children?: FormItemType[];
|
|
521
628
|
hidden?: boolean | string;
|
|
522
629
|
hideLabel?: boolean;
|
|
@@ -536,7 +643,6 @@ declare interface FormRenderProps {
|
|
|
536
643
|
schemaContext?: Record<string, any>;
|
|
537
644
|
design?: boolean;
|
|
538
645
|
footer?: boolean;
|
|
539
|
-
read?: boolean;
|
|
540
646
|
pageRulePath?: string;
|
|
541
647
|
}
|
|
542
648
|
|
|
@@ -551,7 +657,6 @@ declare type FormRule = {
|
|
|
551
657
|
export declare type FormSchema = {
|
|
552
658
|
labelWidth?: number;
|
|
553
659
|
labelPosition?: 'top' | 'left' | 'right';
|
|
554
|
-
labelSuffix?: string;
|
|
555
660
|
size?: 'default' | 'small' | 'large';
|
|
556
661
|
disabled?: boolean;
|
|
557
662
|
hideRequiredAsterisk?: boolean;
|
|
@@ -566,6 +671,7 @@ export declare type FormSchema = {
|
|
|
566
671
|
rulePath?: string;
|
|
567
672
|
hidden?: boolean;
|
|
568
673
|
dataModel?: string;
|
|
674
|
+
read?: boolean;
|
|
569
675
|
};
|
|
570
676
|
|
|
571
677
|
declare type getArrayType<T> = T extends Array<infer U> ? U : never;
|
|
@@ -575,6 +681,7 @@ declare type InfoCardSchema = {
|
|
|
575
681
|
copiable: boolean;
|
|
576
682
|
btns: BtnType[];
|
|
577
683
|
dropdowns: DropdownType[];
|
|
684
|
+
infos: InfoType[];
|
|
578
685
|
key: string;
|
|
579
686
|
rulePath?: string;
|
|
580
687
|
onMounted?: string;
|
|
@@ -584,15 +691,45 @@ declare type InfoCardSchema = {
|
|
|
584
691
|
value: string;
|
|
585
692
|
color?: string;
|
|
586
693
|
}[];
|
|
694
|
+
bottomRightDetail?: {
|
|
695
|
+
label: string;
|
|
696
|
+
value: string;
|
|
697
|
+
};
|
|
587
698
|
header: {
|
|
588
699
|
title: string;
|
|
589
700
|
titleColor?: string;
|
|
590
701
|
titleIcon?: string;
|
|
702
|
+
titleClick?: string;
|
|
703
|
+
subTitlePrefix?: string;
|
|
591
704
|
subTitle: string;
|
|
592
705
|
avatar: string;
|
|
593
|
-
avatarBgColor?: string;
|
|
594
706
|
avatarIconColor?: string;
|
|
707
|
+
subTitleIcons?: {
|
|
708
|
+
icon: {
|
|
709
|
+
name: string;
|
|
710
|
+
color?: string;
|
|
711
|
+
};
|
|
712
|
+
onClick?: string;
|
|
713
|
+
}[];
|
|
714
|
+
avatarBgColor?: string;
|
|
715
|
+
titleIcons?: {
|
|
716
|
+
icon: string;
|
|
717
|
+
onClick?: string;
|
|
718
|
+
}[];
|
|
719
|
+
btns: BtnType[];
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
|
|
723
|
+
declare type InfoType = {
|
|
724
|
+
key: string;
|
|
725
|
+
label: string;
|
|
726
|
+
value?: string;
|
|
727
|
+
type?: 'success' | 'warning' | 'danger';
|
|
728
|
+
icon?: {
|
|
729
|
+
name: string;
|
|
730
|
+
color?: string;
|
|
595
731
|
};
|
|
732
|
+
expendComponents?: FormItemType[];
|
|
596
733
|
};
|
|
597
734
|
|
|
598
735
|
declare type Locale = {
|
|
@@ -710,6 +847,7 @@ declare type RouteLocationRaw = string | number | {
|
|
|
710
847
|
|
|
711
848
|
declare interface SelectProps {
|
|
712
849
|
options?: Record<string, any>[];
|
|
850
|
+
defaultOptions?: Record<string, any>[];
|
|
713
851
|
multiple?: boolean;
|
|
714
852
|
mode?: string;
|
|
715
853
|
labelKey?: string;
|
|
@@ -753,6 +891,7 @@ declare interface TableColumn {
|
|
|
753
891
|
hidden?: boolean;
|
|
754
892
|
type?: string;
|
|
755
893
|
onClick?: string;
|
|
894
|
+
getIconInfo?: string;
|
|
756
895
|
encrypted?: boolean;
|
|
757
896
|
}
|
|
758
897
|
|
|
@@ -854,6 +993,7 @@ declare type TableSchema = {
|
|
|
854
993
|
hidden?: boolean;
|
|
855
994
|
hiddenPagination?: boolean;
|
|
856
995
|
handleCurrentChange?: string;
|
|
996
|
+
selectable?: string;
|
|
857
997
|
pageSizes?: any;
|
|
858
998
|
pagerCount?: number;
|
|
859
999
|
defaultPageSize?: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as B, ref as g, inject as h, resolveComponent as d, openBlock as s, createBlock as i, mergeProps as M, withCtx as c, createElementVNode as o, createElementBlock as n, createVNode as t, unref as p, normalizeClass as $, createCommentVNode as I, toDisplayString as v, Fragment as u, renderList as C, withDirectives as E, vShow as V } from "vue";
|
|
2
|
-
import { _ as D, I as k, B as F, a as N, b as S } from "./index-
|
|
2
|
+
import { _ as D, I as k, B as F, a as N, b as S } from "./index-DQ889qV3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const j = { class: "card-header" }, H = { class: "card-btns" }, L = { class: "card-sub-header" }, P = /* @__PURE__ */ B({
|
|
5
5
|
__name: "Card",
|
|
@@ -98,7 +98,7 @@ const j = { class: "card-header" }, H = { class: "card-btns" }, L = { class: "ca
|
|
|
98
98
|
}, 16, ["class"]);
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
}), G = /* @__PURE__ */ S(P, [["__scopeId", "data-v-
|
|
101
|
+
}), G = /* @__PURE__ */ S(P, [["__scopeId", "data-v-37d0cc4b"]]);
|
|
102
102
|
export {
|
|
103
103
|
G as default
|
|
104
104
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { defineComponent as f, mergeModels as g, useModel as v, inject as r, resolveComponent as y, openBlock as M, createBlock as h, mergeProps as C, unref as s } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as b } from "./useSelect-
|
|
3
|
+
import { u as b } from "./useSelect-EfaZqc6a.js";
|
|
4
4
|
const k = /* @__PURE__ */ f({
|
|
5
5
|
__name: "Cascader",
|
|
6
6
|
props: /* @__PURE__ */ g({
|
|
7
7
|
options: { default: () => [] },
|
|
8
|
+
defaultOptions: {},
|
|
8
9
|
multiple: { type: Boolean, default: !1 },
|
|
9
10
|
mode: { default: "static" },
|
|
10
11
|
labelKey: { default: "label" },
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { defineComponent as w, mergeModels as z, useModel as F, watch as D, resolveComponent as t, resolveDirective as M, unref as a, openBlock as l, createElementBlock as s, toDisplayString as I, withDirectives as
|
|
1
|
+
import { defineComponent as w, mergeModels as z, useModel as F, watch as D, resolveComponent as t, resolveDirective as M, unref as a, openBlock as l, createElementBlock as s, toDisplayString as I, withDirectives as O, createBlock as r, mergeProps as P, withCtx as y, Fragment as b, renderList as f, createCommentVNode as v } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
const
|
|
3
|
+
import { u as S } from "./index-DQ889qV3.js";
|
|
4
|
+
import { u as j } from "./useSelect-EfaZqc6a.js";
|
|
5
|
+
const E = { key: 0 }, q = /* @__PURE__ */ w({
|
|
6
6
|
__name: "Checkbox",
|
|
7
7
|
props: /* @__PURE__ */ z({
|
|
8
8
|
options: { default: () => [] },
|
|
9
|
+
defaultOptions: {},
|
|
9
10
|
mode: { default: "static" },
|
|
10
11
|
labelKey: { default: "label" },
|
|
11
12
|
valueKey: { default: "value" },
|
|
@@ -28,14 +29,14 @@ const L = { key: 0 }, q = /* @__PURE__ */ w({
|
|
|
28
29
|
}),
|
|
29
30
|
emits: ["update:modelValue"],
|
|
30
31
|
setup(d) {
|
|
31
|
-
const h = d, n = F(d, "modelValue"), k =
|
|
32
|
+
const h = d, n = F(d, "modelValue"), k = S(), { currentOptions: u, selectChange: p, loading: g } = j(h);
|
|
32
33
|
return D(n, p), (e, i) => {
|
|
33
34
|
var c;
|
|
34
35
|
const K = t("el-checkbox"), C = t("el-checkbox-button"), V = t("el-space"), _ = t("el-checkbox-group"), B = M("loading");
|
|
35
|
-
return a(k).read ? (l(), s("div",
|
|
36
|
+
return a(k).read ? (l(), s("div", E, I((c = n.value) == null ? void 0 : c.map((o) => {
|
|
36
37
|
var m;
|
|
37
38
|
return (m = a(u).find((T) => T[e.valueKey] === o)) == null ? void 0 : m[e.labelKey];
|
|
38
|
-
}).join("、")), 1)) :
|
|
39
|
+
}).join("、")), 1)) : O((l(), r(_, P({ key: 1 }, e.$attrs, {
|
|
39
40
|
modelValue: n.value,
|
|
40
41
|
"onUpdate:modelValue": i[0] || (i[0] = (o) => n.value = o),
|
|
41
42
|
onChange: a(p)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, ref as f, onMounted as _, watch as h, resolveComponent as c, openBlock as o, createBlock as i, mergeProps as C, withCtx as r, createElementBlock as E, Fragment as k, renderList as v, createVNode as m, unref as V } from "vue";
|
|
2
|
-
import { a as y } from "./index-
|
|
2
|
+
import { a as y } from "./index-DQ889qV3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
import { _ as B } from "./Title.vue_vue_type_script_setup_true_lang-Ceco_9-w.js";
|
|
5
5
|
const x = /* @__PURE__ */ u({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as w, inject as C, ref as v, watch as $, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as A, withCtx as f, createElementVNode as
|
|
2
|
-
import { f as F, I as j, b as D } from "./index-
|
|
1
|
+
import { defineComponent as w, inject as C, ref as v, watch as $, resolveComponent as m, openBlock as d, createBlock as y, mergeProps as A, withCtx as f, createElementVNode as c, toDisplayString as B, createElementBlock as k, createCommentVNode as _, Fragment as N, renderList as E, unref as I, withModifiers as P, createVNode as V } from "vue";
|
|
2
|
+
import { f as F, I as j, b as D } from "./index-DQ889qV3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = { class: "tree-node-label" }, z = {
|
|
5
5
|
key: 0,
|
|
@@ -18,25 +18,25 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
|
|
|
18
18
|
const o = g, a = C("ruleModule", void 0), l = C("pageMethodMap", {}), i = v(), K = (e, t) => {
|
|
19
19
|
i.value = e[o.nodeKey];
|
|
20
20
|
}, M = (e, t, r) => {
|
|
21
|
-
if (a)
|
|
21
|
+
if (e && a)
|
|
22
22
|
try {
|
|
23
23
|
a[e](l, { node: t, data: r });
|
|
24
|
-
} catch (
|
|
25
|
-
console.error(
|
|
24
|
+
} catch (s) {
|
|
25
|
+
console.error(s);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
27
|
+
}, x = (e, t) => {
|
|
28
28
|
if (o.onNodeClick && a)
|
|
29
29
|
try {
|
|
30
30
|
a[o.onNodeClick](l, { node: e, data: t });
|
|
31
31
|
} catch (r) {
|
|
32
32
|
console.error(r);
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, L = (e, t, r) => {
|
|
35
35
|
if (o.onLoad && a)
|
|
36
36
|
try {
|
|
37
37
|
a[o.onLoad](l, { node: e, resolve: t, reject: r });
|
|
38
|
-
} catch (
|
|
39
|
-
console.error(
|
|
38
|
+
} catch (s) {
|
|
39
|
+
console.error(s);
|
|
40
40
|
}
|
|
41
41
|
}, h = v([]);
|
|
42
42
|
return $(
|
|
@@ -52,10 +52,10 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
|
|
|
52
52
|
immediate: !0
|
|
53
53
|
}
|
|
54
54
|
), (e, t) => {
|
|
55
|
-
const r = m("el-tooltip"),
|
|
56
|
-
return d(), y(
|
|
57
|
-
onNodeClick:
|
|
58
|
-
load:
|
|
55
|
+
const r = m("el-tooltip"), s = m("el-button"), b = m("el-tree");
|
|
56
|
+
return d(), y(b, A(e.$attrs, {
|
|
57
|
+
onNodeClick: x,
|
|
58
|
+
load: L,
|
|
59
59
|
ref: "treeRef",
|
|
60
60
|
class: "crm-tree",
|
|
61
61
|
indent: 32,
|
|
@@ -67,19 +67,19 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
|
|
|
67
67
|
"default-expanded-keys": h.value
|
|
68
68
|
}), {
|
|
69
69
|
default: f(({ node: p, data: u }) => [
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
c("div", R, [
|
|
71
|
+
c("div", S, [
|
|
72
|
+
c("span", q, B(p.label), 1),
|
|
73
73
|
u[e.nodeKey] === i.value ? (d(), k("div", z, "Present")) : _("", !0)
|
|
74
74
|
]),
|
|
75
|
-
|
|
75
|
+
c("div", null, [
|
|
76
76
|
(d(!0), k(N, null, E(e.btns, (n) => (d(), k(N, {
|
|
77
77
|
key: n.key
|
|
78
78
|
}, [
|
|
79
|
-
I(F)(n.hidden, { $node: p, $data: u }) ? _("", !0) : (d(), y(
|
|
79
|
+
I(F)(n.hidden, { $node: p, $data: u }) ? _("", !0) : (d(), y(s, {
|
|
80
80
|
key: 0,
|
|
81
81
|
link: "",
|
|
82
|
-
onClick: P((H) => M(n.onClick, p, u), ["stop"]),
|
|
82
|
+
onClick: P((H) => M(n.onClick || "", p, u), ["stop"]),
|
|
83
83
|
disabled: n.disabled,
|
|
84
84
|
type: n.type
|
|
85
85
|
}, {
|
|
@@ -112,7 +112,7 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
|
|
|
112
112
|
}, 16, ["current-node-key", "node-key", "props", "data", "default-expanded-keys"]);
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
}), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-
|
|
115
|
+
}), T = /* @__PURE__ */ D(G, [["__scopeId", "data-v-5dc31a78"]]);
|
|
116
116
|
export {
|
|
117
117
|
T as default
|
|
118
118
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as $, ref as v, computed as N, watch as L, onMounted as x, onBeforeUnmount as F, openBlock as T, createElementBlock as E, mergeModels as J, useModel as A, resolveComponent as G, unref as W, createElementVNode as P, createBlock as X, withCtx as D, createTextVNode as I, createCommentVNode as Y, createVNode as R } from "vue";
|
|
2
|
-
import { b as H, u as K, c as Q } from "./index-
|
|
2
|
+
import { b as H, u as K, c as Q } from "./index-DQ889qV3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -172,7 +172,7 @@ function j(a, n, c, d, t, g) {
|
|
|
172
172
|
onTouchend: n[5] || (n[5] = (...o) => a.touchEnd && a.touchEnd(...o))
|
|
173
173
|
}, null, 544);
|
|
174
174
|
}
|
|
175
|
-
const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-
|
|
175
|
+
const _ = /* @__PURE__ */ H(Z, [["render", j], ["__scopeId", "data-v-5f3bfcf7"]]), ee = { key: 0 }, te = { class: "vfc-esign-preview" }, le = ["src"], ae = {
|
|
176
176
|
key: 1,
|
|
177
177
|
class: "vfc-esign"
|
|
178
178
|
}, ie = /* @__PURE__ */ $({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, mergeModels as p, useModel as u, resolveComponent as i, openBlock as t, createElementBlock as d, toDisplayString as c, createBlock as y, mergeProps as f } from "vue";
|
|
2
|
-
import { u as v } from "./index-
|
|
2
|
+
import { u as v } from "./index-DQ889qV3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const k = { key: 0 }, K = /* @__PURE__ */ s({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as d, mergeModels as m, useModel as r, resolveComponent as u, openBlock as p, createBlock as i, mergeProps as c, unref as f } from "vue";
|
|
2
|
-
import { u as V } from "./index-
|
|
2
|
+
import { u as V } from "./index-DQ889qV3.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as b, mergeModels as V, useModel as B, resolveComponent as d, openBlock as l, createBlock as n, createSlots as C, withCtx as a, createElementBlock as m, Fragment as w, createVNode as E, unref as r, createElementVNode as o, createTextVNode as i, toDisplayString as p, createCommentVNode as u } from "vue";
|
|
2
2
|
import { ElMessage as M, ElMessageBox as N } from "element-plus";
|
|
3
|
-
import { _ as f } from "./index-
|
|
3
|
+
import { _ as f } from "./index-DQ889qV3.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "min-width": "300px" }
|
|
@@ -2,7 +2,7 @@ var u = Object.defineProperty;
|
|
|
2
2
|
var m = (o, e, t) => e in o ? u(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
3
|
var a = (o, e, t) => m(o, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { defineComponent as g, mergeModels as v, useModel as I, ref as c, onMounted as w, resolveComponent as C, openBlock as y, createElementBlock as _, createVNode as V, createElementVNode as M } from "vue";
|
|
5
|
-
import { u as b, b as x } from "./index-
|
|
5
|
+
import { u as b, b as x } from "./index-DQ889qV3.js";
|
|
6
6
|
import "element-plus";
|
|
7
7
|
function S() {
|
|
8
8
|
return "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z".split(",");
|
|
@@ -111,7 +111,7 @@ const P = { class: "vfc-verify-code" }, k = /* @__PURE__ */ g({
|
|
|
111
111
|
]);
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
}), T = /* @__PURE__ */ x(k, [["__scopeId", "data-v-
|
|
114
|
+
}), T = /* @__PURE__ */ x(k, [["__scopeId", "data-v-eda48825"]]);
|
|
115
115
|
export {
|
|
116
116
|
T as default
|
|
117
117
|
};
|