asiaint-lowcode 3.0.75 → 3.1.1
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 +141 -141
- package/dist/index.d.ts +146 -26
- package/dist/lazy/{Card-BL132uF0.js → Card-BotexRow.js} +2 -2
- package/dist/lazy/{Cascader-BNajnGXt.js → Cascader-DlPFMm4q.js} +2 -1
- package/dist/lazy/{Checkbox-CB78q85K.js → Checkbox-B3ZlaMu-.js} +8 -7
- package/dist/lazy/{Collapse-BT3Z_TeL.js → Collapse-CvvDvzUe.js} +1 -1
- package/dist/lazy/{Component-DdZRdqp7.js → Component-1ifx_71s.js} +1 -1
- package/dist/lazy/{Component-OAYlB5bp.js → Component-BFthFsDN.js} +2 -2
- package/dist/lazy/{Component-Cwe8AZcy.js → Component-BMyo9RcE.js} +1 -1
- package/dist/lazy/{Component-CVbGsSj6.js → Component-C4EAi6pq.js} +4 -4
- package/dist/lazy/{Component-Dl3PXGm5.js → Component-CJLLkcKZ.js} +1 -1
- package/dist/lazy/{Component-BNOSHXwG.js → Component-k70ODABG.js} +2 -2
- package/dist/lazy/{CurdCard-BrBulKvO.js → CurdCard-Dxlf9fsv.js} +50 -44
- package/dist/lazy/{Custom-BliwSKbp.js → Custom-DjAqb9Wc.js} +7 -7
- package/dist/lazy/{DragList-Buw-1bQc.js → DragList-BaXe5qJv.js} +35 -34
- package/dist/lazy/{FormList-DTdAAtrD.js → FormList-k6c-UNG8.js} +1 -1
- package/dist/lazy/{Grid-DUAIHsOo.js → Grid-OhcM4HDS.js} +1 -1
- package/dist/lazy/{Inline-BkAIXUU0.js → Inline-Cwpbm9wv.js} +3 -3
- package/dist/lazy/{JsonEdit-Bx4jK-K8.js → JsonEdit-CU-J4fdd.js} +3 -3
- package/dist/lazy/{LogList-DHk7eKeC.js → LogList-C6LMjMRn.js} +7 -7
- package/dist/lazy/{ObjGroup-DXJerzS2.js → ObjGroup-CgsFd4Y8.js} +1 -1
- package/dist/lazy/{OfferDetails-Fs5y40J0.js → OfferDetails-DIbdP0vj.js} +16 -14
- package/dist/lazy/{Progress-pRaKkFkw.js → Progress-VUY-tDJv.js} +5 -5
- package/dist/lazy/{Radio-C9Z-5npS.js → Radio-Bu1hE1Bk.js} +8 -7
- package/dist/lazy/{SearchSelect-BU-_DOLr.js → SearchSelect-D9K6sG_e.js} +16 -15
- package/dist/lazy/{Select-DJ6Ky5mO.js → Select-79Jg1Epf.js} +10 -9
- package/dist/lazy/Table-jTmqdEAL.js +439 -0
- package/dist/lazy/{Tabs-meM_0XCE.js → Tabs-NufO7Fxk.js} +1 -1
- package/dist/lazy/Wrapper-DMqVpwXY.js +87 -0
- package/dist/lazy/{index-2Lph8ou3.js → index-ByB0wyc-.js} +9668 -9397
- package/dist/lazy/useSelect-B3ugkvd3.js +77 -0
- package/dist/style.css +2 -2
- package/global.d.ts +10 -10
- package/package.json +36 -36
- package/dist/lazy/Table-BlBWSnrv.js +0 -351
- package/dist/lazy/Wrapper-DlG2aZRe.js +0 -36
- package/dist/lazy/useSelect-CmUZu1rN.js +0 -76
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { Awaitable } from 'element-plus/es/utils/typescript.mjs';
|
|
2
3
|
import { Component } from 'vue';
|
|
3
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
5
|
import { ComponentProvideOptions } from 'vue';
|
|
5
6
|
import { ComponentPublicInstance } from 'vue';
|
|
6
7
|
import { DeepReadonly } from 'vue';
|
|
7
8
|
import { DefineComponent } from 'vue';
|
|
9
|
+
import { EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
8
10
|
import { ExtractPropTypes } from 'vue';
|
|
9
11
|
import { FormInstance as FormInstance_2 } from 'packages/types';
|
|
10
12
|
import { FormValidationResult } from 'element-plus';
|
|
@@ -32,9 +34,6 @@ type: PropType<boolean>;
|
|
|
32
34
|
footer: {
|
|
33
35
|
type: PropType<boolean>;
|
|
34
36
|
};
|
|
35
|
-
read: {
|
|
36
|
-
type: PropType<boolean>;
|
|
37
|
-
};
|
|
38
37
|
pageRulePath: {
|
|
39
38
|
type: PropType<string>;
|
|
40
39
|
};
|
|
@@ -65,13 +64,13 @@ setFieldValue: (key: string, realValue: any, value?: any) => void;
|
|
|
65
64
|
getFieldValue: (key: string) => any;
|
|
66
65
|
refreshDynamicListBox: (key: string) => void;
|
|
67
66
|
setHidden: (value: boolean) => void;
|
|
67
|
+
clearValidate: (name: string | string[]) => void;
|
|
68
68
|
rootRef: unknown;
|
|
69
69
|
type: "form";
|
|
70
70
|
schema: FormSchema;
|
|
71
71
|
schemaContext: Record<string, any>;
|
|
72
72
|
design: boolean;
|
|
73
73
|
footer: boolean;
|
|
74
|
-
read: boolean;
|
|
75
74
|
pageRulePath: string;
|
|
76
75
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
77
76
|
reset: () => void;
|
|
@@ -94,9 +93,6 @@ type: PropType<boolean>;
|
|
|
94
93
|
footer: {
|
|
95
94
|
type: PropType<boolean>;
|
|
96
95
|
};
|
|
97
|
-
read: {
|
|
98
|
-
type: PropType<boolean>;
|
|
99
|
-
};
|
|
100
96
|
pageRulePath: {
|
|
101
97
|
type: PropType<string>;
|
|
102
98
|
};
|
|
@@ -117,10 +113,17 @@ pageParams?: any;
|
|
|
117
113
|
}>>, {
|
|
118
114
|
findRef: <T extends keyof FindRefTypeMap>(key: string) => FindRefType<T>;
|
|
119
115
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
116
|
+
clearValidate: (key: string, names: string | string[]) => void;
|
|
120
117
|
validate: (keys: string[] | string) => Promise<boolean | undefined>;
|
|
121
118
|
getData: (keys?: string[] | string) => any;
|
|
122
119
|
resetFields: (keys?: string[] | string) => void;
|
|
123
|
-
emit:
|
|
120
|
+
emit: {
|
|
121
|
+
(e: "done", data: any): void;
|
|
122
|
+
(e: "refresh"): void;
|
|
123
|
+
(e: "changeTab", tabKey: string, params?: any): void;
|
|
124
|
+
(e: "changeMixMode", tabKey: string, mode: boolean): void;
|
|
125
|
+
(e: "addPageParams", data: any): void;
|
|
126
|
+
};
|
|
124
127
|
setData: (key: string, dataModel: any, isAssign?: boolean) => void;
|
|
125
128
|
getItemByName: (formKey: string, itemKey: string) => FormItemType | null | undefined;
|
|
126
129
|
getPageParams: () => any;
|
|
@@ -135,15 +138,21 @@ getGlobalParams: () => any;
|
|
|
135
138
|
setBtnState: setBtnStateFn;
|
|
136
139
|
setReadMode: (key: string, readMode: boolean) => void;
|
|
137
140
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
138
|
-
done: (
|
|
139
|
-
refresh: (
|
|
141
|
+
done: (data: any) => void;
|
|
142
|
+
refresh: () => void;
|
|
143
|
+
changeTab: (tabKey: string, params?: any) => void;
|
|
144
|
+
changeMixMode: (tabKey: string, mode: boolean) => void;
|
|
145
|
+
addPageParams: (data: any) => void;
|
|
140
146
|
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
141
147
|
ruleMap: Record<string, any>;
|
|
142
148
|
pageUrl?: string;
|
|
143
149
|
pageParams?: any;
|
|
144
150
|
}>>> & Readonly<{
|
|
145
|
-
onDone?: ((
|
|
146
|
-
onRefresh?: ((
|
|
151
|
+
onDone?: ((data: any) => any) | undefined;
|
|
152
|
+
onRefresh?: (() => any) | undefined;
|
|
153
|
+
onChangeMixMode?: ((tabKey: string, mode: boolean) => any) | undefined;
|
|
154
|
+
onAddPageParams?: ((data: any) => any) | undefined;
|
|
155
|
+
onChangeTab?: ((tabKey: string, params?: any) => any) | undefined;
|
|
147
156
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
148
157
|
|
|
149
158
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -177,9 +186,22 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
177
186
|
};
|
|
178
187
|
};
|
|
179
188
|
|
|
180
|
-
declare type
|
|
181
|
-
|
|
182
|
-
|
|
189
|
+
declare type AlertSchema = {
|
|
190
|
+
description: string;
|
|
191
|
+
values?: {
|
|
192
|
+
text: string | number;
|
|
193
|
+
onClick?: string;
|
|
194
|
+
}[];
|
|
195
|
+
type?: 'primary' | 'success' | 'warning' | 'info' | 'error';
|
|
196
|
+
key: string;
|
|
197
|
+
rulePath?: string;
|
|
198
|
+
hidden?: boolean;
|
|
199
|
+
mixMode?: boolean;
|
|
200
|
+
onClose?: string;
|
|
201
|
+
top?: number;
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
declare type BtnItemType = {
|
|
183
205
|
tooltip?: string;
|
|
184
206
|
key: string;
|
|
185
207
|
text?: string;
|
|
@@ -197,14 +219,36 @@ declare type BtnType = {
|
|
|
197
219
|
color?: string;
|
|
198
220
|
};
|
|
199
221
|
label?: string;
|
|
222
|
+
size?: 'default' | 'small' | 'large';
|
|
223
|
+
style?: any;
|
|
200
224
|
};
|
|
201
225
|
|
|
226
|
+
declare type BtnType = ({
|
|
227
|
+
component: 'Popover';
|
|
228
|
+
props: {
|
|
229
|
+
trigger: 'hover' | 'click' | 'focus';
|
|
230
|
+
hoverStyle: any;
|
|
231
|
+
ostyle: any;
|
|
232
|
+
width?: number;
|
|
233
|
+
size?: 'small' | 'normal' | 'large';
|
|
234
|
+
hoverColor?: string;
|
|
235
|
+
};
|
|
236
|
+
children: FormItemType[];
|
|
237
|
+
} & BtnItemType) | ({
|
|
238
|
+
component: 'BtnGroup';
|
|
239
|
+
children: BtnItemType[];
|
|
240
|
+
} & BtnItemType) | ({
|
|
241
|
+
component?: never;
|
|
242
|
+
children?: never;
|
|
243
|
+
} & BtnItemType);
|
|
244
|
+
|
|
202
245
|
declare type ComponentType = {
|
|
203
246
|
form: typeof FormRender;
|
|
204
247
|
table: typeof TableRender;
|
|
205
248
|
tabs: typeof _default_2;
|
|
206
249
|
infocard: typeof _default_3;
|
|
207
250
|
navbar: typeof _default_4;
|
|
251
|
+
alert: typeof _default_5;
|
|
208
252
|
};
|
|
209
253
|
|
|
210
254
|
declare const _default: {
|
|
@@ -233,14 +277,14 @@ readonly rulePath?: string | undefined;
|
|
|
233
277
|
readonly onMounted?: string | undefined;
|
|
234
278
|
readonly onActivated?: string | undefined;
|
|
235
279
|
readonly tabProps?: {
|
|
236
|
-
readonly type: "" | "card" | "border-card"
|
|
280
|
+
readonly type: EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
|
|
237
281
|
readonly stretch: boolean;
|
|
238
282
|
readonly closable: boolean;
|
|
239
283
|
readonly addable: boolean;
|
|
240
284
|
readonly editable: boolean;
|
|
241
|
-
readonly tabPosition: "right" | "top" | "left" | "bottom"
|
|
242
|
-
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) =>
|
|
243
|
-
readonly modelValue?:
|
|
285
|
+
readonly tabPosition: EpPropMergeType<StringConstructor, "right" | "top" | "left" | "bottom", unknown>;
|
|
286
|
+
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
|
|
287
|
+
readonly modelValue?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
244
288
|
} | undefined;
|
|
245
289
|
readonly hidden?: boolean | undefined;
|
|
246
290
|
readonly isSticky?: boolean | undefined;
|
|
@@ -263,9 +307,11 @@ readonly hidden: boolean;
|
|
|
263
307
|
};
|
|
264
308
|
rootRef: Readonly<unknown>;
|
|
265
309
|
findRef: (url: string) => PageMethods;
|
|
266
|
-
changeActiveTab: (url: string) => void;
|
|
310
|
+
changeActiveTab: (url: string, params?: any) => void;
|
|
267
311
|
type: string;
|
|
268
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
312
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
313
|
+
addPageParams: (...args: any[]) => void;
|
|
314
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
269
315
|
schema: {
|
|
270
316
|
required: true;
|
|
271
317
|
type: PropType<TabsSchema>;
|
|
@@ -277,7 +323,9 @@ required: true;
|
|
|
277
323
|
pageParams: {
|
|
278
324
|
type: PropType<any>;
|
|
279
325
|
};
|
|
280
|
-
}>> & Readonly<{
|
|
326
|
+
}>> & Readonly<{
|
|
327
|
+
onAddPageParams?: ((...args: any[]) => any) | undefined;
|
|
328
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
281
329
|
|
|
282
330
|
declare const _default_3: DefineComponent<ExtractPropTypes< {
|
|
283
331
|
schema: {
|
|
@@ -334,6 +382,45 @@ required: true;
|
|
|
334
382
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
335
383
|
|
|
336
384
|
declare const _default_5: DefineComponent<ExtractPropTypes< {
|
|
385
|
+
schema: {
|
|
386
|
+
required: true;
|
|
387
|
+
type: PropType<AlertSchema>;
|
|
388
|
+
};
|
|
389
|
+
pageRulePath: {
|
|
390
|
+
type: PropType<string>;
|
|
391
|
+
required: true;
|
|
392
|
+
};
|
|
393
|
+
pageUrl: {
|
|
394
|
+
type: PropType<string>;
|
|
395
|
+
required: true;
|
|
396
|
+
};
|
|
397
|
+
pageEmit: {
|
|
398
|
+
type: PropType<(e: "changeMixMode", tabKey: string, mode: boolean) => void>;
|
|
399
|
+
required: true;
|
|
400
|
+
};
|
|
401
|
+
}>, {
|
|
402
|
+
type: "alert";
|
|
403
|
+
schema: ModelRef<AlertSchema, string, AlertSchema, AlertSchema>;
|
|
404
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
405
|
+
schema: {
|
|
406
|
+
required: true;
|
|
407
|
+
type: PropType<AlertSchema>;
|
|
408
|
+
};
|
|
409
|
+
pageRulePath: {
|
|
410
|
+
type: PropType<string>;
|
|
411
|
+
required: true;
|
|
412
|
+
};
|
|
413
|
+
pageUrl: {
|
|
414
|
+
type: PropType<string>;
|
|
415
|
+
required: true;
|
|
416
|
+
};
|
|
417
|
+
pageEmit: {
|
|
418
|
+
type: PropType<(e: "changeMixMode", tabKey: string, mode: boolean) => void>;
|
|
419
|
+
required: true;
|
|
420
|
+
};
|
|
421
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
422
|
+
|
|
423
|
+
declare const _default_6: DefineComponent<ExtractPropTypes< {
|
|
337
424
|
gridlayout: {
|
|
338
425
|
required: true;
|
|
339
426
|
type: PropType< {
|
|
@@ -358,6 +445,10 @@ type: PropType<number>;
|
|
|
358
445
|
maxRows: {
|
|
359
446
|
type: PropType<number>;
|
|
360
447
|
};
|
|
448
|
+
isDraggable: {
|
|
449
|
+
type: PropType<boolean>;
|
|
450
|
+
required: true;
|
|
451
|
+
};
|
|
361
452
|
name: {
|
|
362
453
|
type: PropType<string>;
|
|
363
454
|
required: true;
|
|
@@ -406,6 +497,10 @@ type: PropType<number>;
|
|
|
406
497
|
maxRows: {
|
|
407
498
|
type: PropType<number>;
|
|
408
499
|
};
|
|
500
|
+
isDraggable: {
|
|
501
|
+
type: PropType<boolean>;
|
|
502
|
+
required: true;
|
|
503
|
+
};
|
|
409
504
|
name: {
|
|
410
505
|
type: PropType<string>;
|
|
411
506
|
required: true;
|
|
@@ -415,6 +510,10 @@ required: true;
|
|
|
415
510
|
declare type DropdownType = {
|
|
416
511
|
key: string;
|
|
417
512
|
text: string;
|
|
513
|
+
icon?: {
|
|
514
|
+
name: string;
|
|
515
|
+
color?: string;
|
|
516
|
+
};
|
|
418
517
|
onClick: string;
|
|
419
518
|
disabled: boolean;
|
|
420
519
|
hidden: boolean;
|
|
@@ -432,7 +531,7 @@ declare type DropdownType = {
|
|
|
432
531
|
* @returns 组件实例
|
|
433
532
|
*/
|
|
434
533
|
declare type ExtraRefTypeMap = {
|
|
435
|
-
draglist: InstanceType<typeof
|
|
534
|
+
draglist: InstanceType<typeof _default_6> & ComponentPublicInstance;
|
|
436
535
|
};
|
|
437
536
|
|
|
438
537
|
declare type FindRefType<T extends keyof FindRefTypeMap> = FindRefTypeMap[T];
|
|
@@ -523,6 +622,10 @@ export declare interface FormItemType {
|
|
|
523
622
|
props?: Record<string, any>;
|
|
524
623
|
initialValue?: any;
|
|
525
624
|
help?: string;
|
|
625
|
+
labelSuffix?: {
|
|
626
|
+
component: 'Popover';
|
|
627
|
+
props: any;
|
|
628
|
+
};
|
|
526
629
|
children?: FormItemType[];
|
|
527
630
|
hidden?: boolean | string;
|
|
528
631
|
hideLabel?: boolean;
|
|
@@ -542,7 +645,6 @@ declare interface FormRenderProps {
|
|
|
542
645
|
schemaContext?: Record<string, any>;
|
|
543
646
|
design?: boolean;
|
|
544
647
|
footer?: boolean;
|
|
545
|
-
read?: boolean;
|
|
546
648
|
pageRulePath?: string;
|
|
547
649
|
}
|
|
548
650
|
|
|
@@ -557,7 +659,6 @@ declare type FormRule = {
|
|
|
557
659
|
export declare type FormSchema = {
|
|
558
660
|
labelWidth?: number;
|
|
559
661
|
labelPosition?: 'top' | 'left' | 'right';
|
|
560
|
-
labelSuffix?: string;
|
|
561
662
|
size?: 'default' | 'small' | 'large';
|
|
562
663
|
disabled?: boolean;
|
|
563
664
|
hideRequiredAsterisk?: boolean;
|
|
@@ -572,6 +673,7 @@ export declare type FormSchema = {
|
|
|
572
673
|
rulePath?: string;
|
|
573
674
|
hidden?: boolean;
|
|
574
675
|
dataModel?: string;
|
|
676
|
+
read?: boolean;
|
|
575
677
|
};
|
|
576
678
|
|
|
577
679
|
declare type getArrayType<T> = T extends Array<infer U> ? U : never;
|
|
@@ -591,18 +693,32 @@ declare type InfoCardSchema = {
|
|
|
591
693
|
value: string;
|
|
592
694
|
color?: string;
|
|
593
695
|
}[];
|
|
696
|
+
bottomRightDetail?: {
|
|
697
|
+
label: string;
|
|
698
|
+
value: string;
|
|
699
|
+
};
|
|
594
700
|
header: {
|
|
595
701
|
title: string;
|
|
596
702
|
titleColor?: string;
|
|
597
703
|
titleIcon?: string;
|
|
704
|
+
titleClick?: string;
|
|
705
|
+
subTitlePrefix?: string;
|
|
598
706
|
subTitle: string;
|
|
599
707
|
avatar: string;
|
|
600
|
-
avatarBgColor?: string;
|
|
601
708
|
avatarIconColor?: string;
|
|
709
|
+
subTitleIcons?: {
|
|
710
|
+
icon: {
|
|
711
|
+
name: string;
|
|
712
|
+
color?: string;
|
|
713
|
+
};
|
|
714
|
+
onClick?: string;
|
|
715
|
+
}[];
|
|
716
|
+
avatarBgColor?: string;
|
|
602
717
|
titleIcons?: {
|
|
603
718
|
icon: string;
|
|
604
719
|
onClick?: string;
|
|
605
720
|
}[];
|
|
721
|
+
btns: BtnType[];
|
|
606
722
|
};
|
|
607
723
|
};
|
|
608
724
|
|
|
@@ -733,6 +849,7 @@ declare type RouteLocationRaw = string | number | {
|
|
|
733
849
|
|
|
734
850
|
declare interface SelectProps {
|
|
735
851
|
options?: Record<string, any>[];
|
|
852
|
+
defaultOptions?: Record<string, any>[];
|
|
736
853
|
multiple?: boolean;
|
|
737
854
|
mode?: string;
|
|
738
855
|
labelKey?: string;
|
|
@@ -776,6 +893,7 @@ declare interface TableColumn {
|
|
|
776
893
|
hidden?: boolean;
|
|
777
894
|
type?: string;
|
|
778
895
|
onClick?: string;
|
|
896
|
+
getIconInfo?: string;
|
|
779
897
|
encrypted?: boolean;
|
|
780
898
|
}
|
|
781
899
|
|
|
@@ -877,8 +995,10 @@ declare type TableSchema = {
|
|
|
877
995
|
hidden?: boolean;
|
|
878
996
|
hiddenPagination?: boolean;
|
|
879
997
|
handleCurrentChange?: string;
|
|
998
|
+
selectable?: string;
|
|
880
999
|
pageSizes?: any;
|
|
881
1000
|
pagerCount?: number;
|
|
1001
|
+
paginationLayout?: string;
|
|
882
1002
|
defaultPageSize?: number;
|
|
883
1003
|
typeSwitch?: boolean;
|
|
884
1004
|
displayType?: 'card' | 'table';
|
|
@@ -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-ByB0wyc-.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-f8533825"]]);
|
|
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-B3ugkvd3.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-ByB0wyc-.js";
|
|
4
|
+
import { u as j } from "./useSelect-B3ugkvd3.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-ByB0wyc-.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,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-ByB0wyc-.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "min-width": "300px" }
|
|
@@ -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-ByB0wyc-.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-0e272b28"]]), 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-ByB0wyc-.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 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-
|
|
2
|
+
import { f as F, I as j, b as D } from "./index-ByB0wyc-.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,7 +18,7 @@ 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
24
|
} catch (s) {
|
|
@@ -79,7 +79,7 @@ const R = { class: "custom-tree-node" }, S = { class: "tree-node-text" }, q = {
|
|
|
79
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-0b461d58"]]);
|
|
116
116
|
export {
|
|
117
117
|
T as default
|
|
118
118
|
};
|
|
@@ -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-ByB0wyc-.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|
|
@@ -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-ByB0wyc-.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-f5206e68"]]);
|
|
115
115
|
export {
|
|
116
116
|
T as default
|
|
117
117
|
};
|