asiaint-lowcode 2.0.1 → 2.0.2
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 +0 -73
- package/dist/asiaint-lowcode.js +1 -1
- package/dist/asiaint-lowcode.umd.cjs +116 -116
- package/dist/index.d.ts +64 -157
- package/dist/lazy/{Card---AoXvYS.js → Card-op6i_z8G.js} +1 -1
- package/dist/lazy/{Cascader-BR70LGn1.js → Cascader-cy25S0M_.js} +1 -1
- package/dist/lazy/{Checkbox-BkN59USC.js → Checkbox-CQ56BycM.js} +2 -2
- package/dist/lazy/{Collapse-Dm754krv.js → Collapse-DXETETv8.js} +1 -1
- package/dist/lazy/{Component-wdoYPdpq.js → Component-BEqoz5jH.js} +1 -1
- package/dist/lazy/{Component-DT__xEY1.js → Component-BLahI--2.js} +1 -1
- package/dist/lazy/{Component-DF4pvvy0.js → Component-C69_b7D6.js} +1 -1
- package/dist/lazy/{Component-DJQM5OQV.js → Component-CcwERaPj.js} +1 -1
- package/dist/lazy/{Component-6kccf2p2.js → Component-IxyabXCT.js} +1 -1
- package/dist/lazy/{Custom-D5IoN5_M.js → Custom-D7E3J-kY.js} +1 -1
- package/dist/lazy/{DatePicker-DuIm95j0.js → DatePicker-B565iRox.js} +1 -1
- package/dist/lazy/{FormList-BjQT7shp.js → FormList-BAk7pGQ5.js} +1 -1
- package/dist/lazy/{Grid-BovYqDr-.js → Grid-CQ3I3JJA.js} +1 -1
- package/dist/lazy/{Inline-Cv5LyrT1.js → Inline-DqNMJ75M.js} +1 -1
- package/dist/lazy/{JsonEdit-Dp7eAHK0.js → JsonEdit-j4lAk68A.js} +1 -1
- package/dist/lazy/{ObjGroup-DT4UeHtF.js → ObjGroup-CKy7PIXn.js} +1 -1
- package/dist/lazy/{Radio-P_nuE_Fb.js → Radio-Cv3X53D3.js} +10 -10
- package/dist/lazy/{SearchSelect-Tec35-Iy.js → SearchSelect-BkYukJim.js} +4 -4
- package/dist/lazy/{Select-CnMIf_86.js → Select-MM2rUOPj.js} +11 -11
- package/dist/lazy/{Tabs-C7dXurre.js → Tabs-BVFfJAUT.js} +1 -1
- package/dist/lazy/{TextArea-DW5pxGGU.js → TextArea-KNtWavU4.js} +1 -1
- package/dist/lazy/{index-C9fXRITB.js → index-DoIvJXpY.js} +5069 -5037
- package/dist/lazy/{useSelect-DvhNm7sS.js → useSelect-DkY4BS54.js} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ type: PropType<boolean>;
|
|
|
26
26
|
};
|
|
27
27
|
pageRulePath: {
|
|
28
28
|
type: PropType<string>;
|
|
29
|
-
required: true;
|
|
30
29
|
};
|
|
31
30
|
}>, {
|
|
32
31
|
formValues: Record<string, any>;
|
|
@@ -38,7 +37,7 @@ $selectData: Record<string, Record<string, any>>;
|
|
|
38
37
|
$locale: Locale;
|
|
39
38
|
};
|
|
40
39
|
vCodePass: boolean;
|
|
41
|
-
updateFormValues: (values: Record<string, any>, isAssign
|
|
40
|
+
updateFormValues: (values: Record<string, any>, isAssign?: boolean) => void;
|
|
42
41
|
updateSelectData: (key: string, value: Record<string, any>) => void;
|
|
43
42
|
updateInitialValues: (values: Record<string, any>) => void;
|
|
44
43
|
updateVCodePass: (value: boolean) => void;
|
|
@@ -79,7 +78,6 @@ type: PropType<boolean>;
|
|
|
79
78
|
};
|
|
80
79
|
pageRulePath: {
|
|
81
80
|
type: PropType<string>;
|
|
82
|
-
required: true;
|
|
83
81
|
};
|
|
84
82
|
}>> & Readonly<{
|
|
85
83
|
onReset?: (() => any) | undefined;
|
|
@@ -93,8 +91,6 @@ field?: string;
|
|
|
93
91
|
|
|
94
92
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
95
93
|
|
|
96
|
-
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
97
|
-
|
|
98
94
|
declare type __VLS_Prettify<T> = {
|
|
99
95
|
[K in keyof T]: T[K];
|
|
100
96
|
} & {};
|
|
@@ -112,15 +108,6 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
112
108
|
};
|
|
113
109
|
};
|
|
114
110
|
|
|
115
|
-
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
116
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
117
|
-
type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
|
|
118
|
-
} : {
|
|
119
|
-
type: PropType<T[K]>;
|
|
120
|
-
required: true;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
|
|
124
111
|
declare type __VLS_WithDefaults<P, D> = {
|
|
125
112
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
126
113
|
default: D[K];
|
|
@@ -204,7 +191,7 @@ export declare interface FormInstance extends FormRenderProps {
|
|
|
204
191
|
initialValues: Record<string, Record<string, any>>;
|
|
205
192
|
context: Record<string, any>;
|
|
206
193
|
vCodePass: boolean;
|
|
207
|
-
updateFormValues: (values: Record<string, any>, isAssign
|
|
194
|
+
updateFormValues: (values: Record<string, any>, isAssign?: boolean) => void;
|
|
208
195
|
updateSelectData: (key: string, value: Record<string, any>) => void;
|
|
209
196
|
updateInitialValues: (values: Record<string, any>) => void;
|
|
210
197
|
updateVCodePass: (value: boolean) => void;
|
|
@@ -241,7 +228,7 @@ declare interface FormRenderProps {
|
|
|
241
228
|
design?: boolean;
|
|
242
229
|
footer?: boolean;
|
|
243
230
|
read?: boolean;
|
|
244
|
-
pageRulePath
|
|
231
|
+
pageRulePath?: string;
|
|
245
232
|
}
|
|
246
233
|
|
|
247
234
|
declare type FormRule = {
|
|
@@ -265,6 +252,7 @@ export declare type FormSchema = {
|
|
|
265
252
|
key?: string;
|
|
266
253
|
items: FormItemType[];
|
|
267
254
|
rulePath?: string;
|
|
255
|
+
hidden?: boolean;
|
|
268
256
|
};
|
|
269
257
|
|
|
270
258
|
declare type Locale = {
|
|
@@ -309,7 +297,7 @@ declare type Options = {
|
|
|
309
297
|
};
|
|
310
298
|
|
|
311
299
|
export declare type PageMethods = {
|
|
312
|
-
findRef:
|
|
300
|
+
findRef: (key: string) => any;
|
|
313
301
|
setFormDisabled: (key: string, disabled: boolean) => void;
|
|
314
302
|
validate: (keys: string[] | string) => Promise<void>;
|
|
315
303
|
getData: (keys?: string[] | string) => any;
|
|
@@ -317,19 +305,20 @@ export declare type PageMethods = {
|
|
|
317
305
|
emit: (event: 'done' | 'refresh') => void;
|
|
318
306
|
setData: (key: string, dataModel: any, isAssign: boolean) => void;
|
|
319
307
|
getItemByName: (formKey: string, itemKey: string) => FormItemType | null | undefined;
|
|
308
|
+
setHidden: (key: string, hiddenState: boolean) => void;
|
|
320
309
|
};
|
|
321
310
|
|
|
322
|
-
export declare const PageRender: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<
|
|
311
|
+
export declare const PageRender: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
323
312
|
ruleMap: Record<string, any>;
|
|
324
313
|
pageSchema: PageSchema;
|
|
325
|
-
pageParams
|
|
314
|
+
pageParams?: any;
|
|
326
315
|
}>, {}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
327
316
|
done: (...args: any[]) => void;
|
|
328
317
|
refresh: (...args: any[]) => void;
|
|
329
|
-
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<
|
|
318
|
+
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
330
319
|
ruleMap: Record<string, any>;
|
|
331
320
|
pageSchema: PageSchema;
|
|
332
|
-
pageParams
|
|
321
|
+
pageParams?: any;
|
|
333
322
|
}>, {}>>> & Readonly<{
|
|
334
323
|
onDone?: ((...args: any[]) => any) | undefined;
|
|
335
324
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
@@ -364,7 +353,22 @@ declare interface TableColumn {
|
|
|
364
353
|
hidden?: boolean;
|
|
365
354
|
}
|
|
366
355
|
|
|
367
|
-
export declare const TableRender: DefineComponent<ExtractPropTypes<
|
|
356
|
+
export declare const TableRender: DefineComponent<ExtractPropTypes< {
|
|
357
|
+
schema: {
|
|
358
|
+
required: true;
|
|
359
|
+
type: PropType<TableSchema>;
|
|
360
|
+
};
|
|
361
|
+
modelValue: PropType<Array<any>>;
|
|
362
|
+
design: {
|
|
363
|
+
type: PropType<boolean>;
|
|
364
|
+
};
|
|
365
|
+
read: {
|
|
366
|
+
type: PropType<boolean>;
|
|
367
|
+
};
|
|
368
|
+
pageRulePath: {
|
|
369
|
+
type: PropType<string>;
|
|
370
|
+
};
|
|
371
|
+
}>, {
|
|
368
372
|
setCellData: (rowIndex: number, field: string, value: any) => void;
|
|
369
373
|
clearSelection: () => void;
|
|
370
374
|
getData: () => any[];
|
|
@@ -377,143 +381,41 @@ validate: () => Promise<boolean>;
|
|
|
377
381
|
setData: (data: any[]) => void;
|
|
378
382
|
selectRow: (row: Record<string, any>) => void;
|
|
379
383
|
selectRowNum: (num: number) => void;
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
readonly labelBold?: boolean | undefined;
|
|
395
|
-
readonly scrollToError?: boolean | undefined;
|
|
396
|
-
readonly initialValues?: {
|
|
397
|
-
readonly [x: string]: any;
|
|
398
|
-
} | undefined;
|
|
399
|
-
readonly key?: string | undefined;
|
|
400
|
-
readonly items: readonly {
|
|
401
|
-
readonly label?: string | undefined;
|
|
402
|
-
readonly name: string;
|
|
403
|
-
readonly component: string;
|
|
404
|
-
readonly required?: boolean | undefined;
|
|
405
|
-
readonly props?: {
|
|
406
|
-
readonly [x: string]: any;
|
|
407
|
-
} | undefined;
|
|
408
|
-
readonly initialValue?: any;
|
|
409
|
-
readonly help?: string | undefined;
|
|
410
|
-
readonly children?: readonly any[] | undefined;
|
|
411
|
-
readonly hidden?: (boolean | string) | undefined;
|
|
412
|
-
readonly hideLabel?: boolean | undefined;
|
|
413
|
-
readonly designKey?: string | undefined;
|
|
414
|
-
readonly rules?: readonly {
|
|
415
|
-
readonly type: "email" | "url" | "custom" | string;
|
|
416
|
-
readonly customReg?: string | undefined;
|
|
417
|
-
readonly templateExp?: any;
|
|
418
|
-
readonly message?: string | undefined;
|
|
419
|
-
readonly trigger: readonly string[];
|
|
420
|
-
}[] | undefined;
|
|
421
|
-
readonly class?: any;
|
|
422
|
-
readonly style?: any;
|
|
423
|
-
readonly change?: readonly {
|
|
424
|
-
readonly target: string;
|
|
425
|
-
readonly value?: any;
|
|
426
|
-
readonly condition?: any;
|
|
427
|
-
}[] | undefined;
|
|
428
|
-
readonly dialog?: boolean | undefined;
|
|
429
|
-
readonly width?: number | undefined;
|
|
430
|
-
}[];
|
|
431
|
-
readonly rulePath?: string | undefined;
|
|
432
|
-
};
|
|
433
|
-
readonly schemaContext?: {
|
|
434
|
-
readonly [x: string]: any;
|
|
435
|
-
} | undefined;
|
|
436
|
-
readonly design?: boolean | undefined;
|
|
437
|
-
readonly footer?: boolean | undefined;
|
|
438
|
-
readonly read?: boolean | undefined;
|
|
439
|
-
readonly pageRulePath: string;
|
|
440
|
-
} | undefined;
|
|
441
|
-
readonly showDynamicSearch?: boolean | undefined;
|
|
442
|
-
readonly multipleSelection?: boolean | undefined;
|
|
443
|
-
readonly highlightCurrentRow?: boolean | undefined;
|
|
444
|
-
readonly rowClick?: string | undefined;
|
|
445
|
-
readonly rowDbClick?: string | undefined;
|
|
446
|
-
readonly topBtns?: readonly {
|
|
447
|
-
readonly [x: string]: any;
|
|
448
|
-
}[] | undefined;
|
|
449
|
-
readonly rowBtns?: readonly {
|
|
450
|
-
readonly [x: string]: any;
|
|
451
|
-
}[] | undefined;
|
|
452
|
-
readonly columns: readonly {
|
|
453
|
-
readonly label: string;
|
|
454
|
-
readonly key: string;
|
|
455
|
-
readonly minWidth?: string | undefined;
|
|
456
|
-
readonly fixed?: boolean | undefined;
|
|
457
|
-
readonly hidden?: boolean | undefined;
|
|
458
|
-
}[];
|
|
459
|
-
readonly form?: {
|
|
460
|
-
readonly labelWidth?: number | undefined;
|
|
461
|
-
readonly labelPosition?: ("top" | "left" | "right") | undefined;
|
|
462
|
-
readonly labelSuffix?: string | undefined;
|
|
463
|
-
readonly size?: ("default" | "small" | "large") | undefined;
|
|
464
|
-
readonly disabled?: boolean | undefined;
|
|
465
|
-
readonly hideRequiredAsterisk?: boolean | undefined;
|
|
466
|
-
readonly labelBold?: boolean | undefined;
|
|
467
|
-
readonly scrollToError?: boolean | undefined;
|
|
468
|
-
readonly initialValues?: {
|
|
469
|
-
readonly [x: string]: any;
|
|
470
|
-
} | undefined;
|
|
471
|
-
readonly key?: string | undefined;
|
|
472
|
-
readonly items: readonly {
|
|
473
|
-
readonly label?: string | undefined;
|
|
474
|
-
readonly name: string;
|
|
475
|
-
readonly component: string;
|
|
476
|
-
readonly required?: boolean | undefined;
|
|
477
|
-
readonly props?: {
|
|
478
|
-
readonly [x: string]: any;
|
|
479
|
-
} | undefined;
|
|
480
|
-
readonly initialValue?: any;
|
|
481
|
-
readonly help?: string | undefined;
|
|
482
|
-
readonly children?: readonly any[] | undefined;
|
|
483
|
-
readonly hidden?: (boolean | string) | undefined;
|
|
484
|
-
readonly hideLabel?: boolean | undefined;
|
|
485
|
-
readonly designKey?: string | undefined;
|
|
486
|
-
readonly rules?: readonly {
|
|
487
|
-
readonly type: "email" | "url" | "custom" | string;
|
|
488
|
-
readonly customReg?: string | undefined;
|
|
489
|
-
readonly templateExp?: any;
|
|
490
|
-
readonly message?: string | undefined;
|
|
491
|
-
readonly trigger: readonly string[];
|
|
492
|
-
}[] | undefined;
|
|
493
|
-
readonly class?: any;
|
|
494
|
-
readonly style?: any;
|
|
495
|
-
readonly change?: readonly {
|
|
496
|
-
readonly target: string;
|
|
497
|
-
readonly value?: any;
|
|
498
|
-
readonly condition?: any;
|
|
499
|
-
}[] | undefined;
|
|
500
|
-
readonly dialog?: boolean | undefined;
|
|
501
|
-
readonly width?: number | undefined;
|
|
502
|
-
}[];
|
|
503
|
-
readonly rulePath?: string | undefined;
|
|
504
|
-
} | undefined;
|
|
384
|
+
setTotal: (val: number) => void;
|
|
385
|
+
getPagination: () => {
|
|
386
|
+
pageNum: number;
|
|
387
|
+
pageSize: number;
|
|
388
|
+
};
|
|
389
|
+
setPagination: (val: {
|
|
390
|
+
pageNum: number;
|
|
391
|
+
pageSize: number;
|
|
392
|
+
}) => {
|
|
393
|
+
pagination: {
|
|
394
|
+
pageNum: number;
|
|
395
|
+
pageSize: number;
|
|
396
|
+
};
|
|
397
|
+
isChange: boolean;
|
|
505
398
|
};
|
|
399
|
+
type: string;
|
|
506
400
|
design: boolean;
|
|
507
401
|
read: boolean;
|
|
508
402
|
pageRulePath: string;
|
|
509
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
403
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
404
|
+
schema: {
|
|
405
|
+
required: true;
|
|
406
|
+
type: PropType<TableSchema>;
|
|
407
|
+
};
|
|
408
|
+
modelValue: PropType<Array<any>>;
|
|
409
|
+
design: {
|
|
410
|
+
type: PropType<boolean>;
|
|
411
|
+
};
|
|
412
|
+
read: {
|
|
413
|
+
type: PropType<boolean>;
|
|
414
|
+
};
|
|
415
|
+
pageRulePath: {
|
|
416
|
+
type: PropType<string>;
|
|
417
|
+
};
|
|
418
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
517
419
|
|
|
518
420
|
declare type TableSchema = {
|
|
519
421
|
label: string;
|
|
@@ -526,10 +428,14 @@ declare type TableSchema = {
|
|
|
526
428
|
highlightCurrentRow?: boolean;
|
|
527
429
|
rowClick?: string;
|
|
528
430
|
rowDbClick?: string;
|
|
431
|
+
sizeChange?: string;
|
|
432
|
+
pageChange?: string;
|
|
529
433
|
topBtns?: Record<string, any>[];
|
|
530
434
|
rowBtns?: Record<string, any>[];
|
|
531
435
|
columns: TableColumn[];
|
|
532
436
|
form?: FormSchema;
|
|
437
|
+
hidden?: boolean;
|
|
438
|
+
hiddenPagination?: boolean;
|
|
533
439
|
};
|
|
534
440
|
|
|
535
441
|
export declare type TemplateData = {
|
|
@@ -556,7 +462,7 @@ export declare const useFormInstance: () => {
|
|
|
556
462
|
readonly [x: string]: any;
|
|
557
463
|
};
|
|
558
464
|
readonly vCodePass: boolean;
|
|
559
|
-
readonly updateFormValues: (values: Record<string, any>, isAssign
|
|
465
|
+
readonly updateFormValues: (values: Record<string, any>, isAssign?: boolean) => void;
|
|
560
466
|
readonly updateSelectData: (key: string, value: Record<string, any>) => void;
|
|
561
467
|
readonly updateInitialValues: (values: Record<string, any>) => void;
|
|
562
468
|
readonly updateVCodePass: (value: boolean) => void;
|
|
@@ -608,6 +514,7 @@ export declare const useFormInstance: () => {
|
|
|
608
514
|
readonly width?: number | undefined;
|
|
609
515
|
}[];
|
|
610
516
|
readonly rulePath?: string | undefined;
|
|
517
|
+
readonly hidden?: boolean | undefined;
|
|
611
518
|
};
|
|
612
519
|
readonly schemaContext?: {
|
|
613
520
|
readonly [x: string]: any;
|
|
@@ -615,7 +522,7 @@ export declare const useFormInstance: () => {
|
|
|
615
522
|
readonly design?: boolean | undefined;
|
|
616
523
|
readonly footer?: boolean | undefined;
|
|
617
524
|
readonly read?: boolean | undefined;
|
|
618
|
-
readonly pageRulePath
|
|
525
|
+
readonly pageRulePath?: string | undefined;
|
|
619
526
|
};
|
|
620
527
|
|
|
621
528
|
export { }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, ref as c, resolveComponent as m, openBlock as r, createBlock as n, normalizeProps as u, guardReactiveProps as _, withCtx as o, createElementVNode as l, toDisplayString as f, unref as t, normalizeClass as v, createCommentVNode as C, createVNode as d, Transition as h, withDirectives as w, vShow as b } from "vue";
|
|
2
|
-
import { _ as k, a as $, b as y } from "./index-
|
|
2
|
+
import { _ as k, a as $, b as y } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = { class: "card-header" }, E = /* @__PURE__ */ p({
|
|
5
5
|
__name: "Card",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, mergeModels as i, useModel as c, resolveComponent as f, openBlock as g, createBlock as v, mergeProps as C, unref as l } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as y } from "./useSelect-
|
|
3
|
+
import { u as y } from "./useSelect-DkY4BS54.js";
|
|
4
4
|
const h = /* @__PURE__ */ m({
|
|
5
5
|
__name: "Cascader",
|
|
6
6
|
props: /* @__PURE__ */ i({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as B, useModel as D, watch as M, resolveComponent as u, resolveDirective as F, unref as a, openBlock as l, createElementBlock as n, toDisplayString as I, Fragment as d, createCommentVNode as i, withDirectives as S, createBlock as s, mergeProps as j, withCtx as f, renderList as h } from "vue";
|
|
2
2
|
import "element-plus";
|
|
3
|
-
import { u as E } from "./index-
|
|
4
|
-
import { u as L } from "./useSelect-
|
|
3
|
+
import { u as E } from "./index-DoIvJXpY.js";
|
|
4
|
+
import { u as L } from "./useSelect-DkY4BS54.js";
|
|
5
5
|
const N = { key: 0 }, O = {
|
|
6
6
|
key: 0,
|
|
7
7
|
style: { "font-size": "12px" }
|
|
@@ -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-DoIvJXpY.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
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-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Z = $({
|
|
5
5
|
props: {
|
|
@@ -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-DoIvJXpY.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(",");
|
|
@@ -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-DoIvJXpY.js";
|
|
4
4
|
const $ = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "min-width": "300px" }
|
|
@@ -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-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const B = /* @__PURE__ */ d({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, useModel as s, resolveComponent as p, unref as d, openBlock as n, createElementBlock as i, toDisplayString as c, createBlock as _, mergeProps as f } from "vue";
|
|
2
|
-
import { u as v } from "./index-
|
|
2
|
+
import { u as v } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const V = { key: 0 }, C = /* @__PURE__ */ a({
|
|
5
5
|
__name: "Component",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, mergeModels as s, useModel as p, openBlock as t, createElementBlock as r, createBlock as d, resolveDynamicComponent as u, mergeProps as c } from "vue";
|
|
2
|
-
import { b as i } from "./index-
|
|
2
|
+
import { b as i } from "./index-DoIvJXpY.js";
|
|
3
3
|
const f = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "empty"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, mergeModels as j, useModel as G, ref as T, computed as M, watch as H, onMounted as J, provide as K, resolveComponent as b, openBlock as l, createElementBlock as _, unref as m, createBlock as s, Fragment as $, renderList as g, withCtx as r, createElementVNode as C, createVNode as v, mergeProps as R, createCommentVNode as y, toDisplayString as F, createTextVNode as O, h as Q } from "vue";
|
|
2
|
-
import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-
|
|
2
|
+
import { u as U, l as w, d as W, e as V, _ as L, f as X } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Y = { class: "vfc-formList" }, Z = { key: 1 }, x = { class: "list-item-content" }, ee = { class: "card-header" }, le = { style: { "margin-top": "5px" } }, oe = /* @__PURE__ */ S({
|
|
5
5
|
__name: "FormList",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as t, computed as n, openBlock as a, createBlock as m, unref as p, normalizeStyle as s } from "vue";
|
|
2
|
-
import { a as i } from "./index-
|
|
2
|
+
import { a as i } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const g = /* @__PURE__ */ t({
|
|
5
5
|
__name: "Grid",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, computed as l, openBlock as p, createBlock as r, unref as i, normalizeStyle as s } from "vue";
|
|
2
|
-
import { a as c, b as f } from "./index-
|
|
2
|
+
import { a as c, b as f } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const m = /* @__PURE__ */ a({
|
|
5
5
|
__name: "Inline",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as At, openBlock as mt, createElementBlock as wt, mergeProps as St, createElementVNode as pt, renderSlot as It, normalizeClass as bt, mergeModels as Tt, useModel as Et, createBlock as Rt, unref as $t, withCtx as _t, createVNode as Lt } from "vue";
|
|
2
|
-
import { b as xt, g as Nt } from "./index-
|
|
2
|
+
import { b as xt, g as Nt } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const Mt = /* @__PURE__ */ At({
|
|
5
5
|
__name: "Disabled",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, inject as i, provide as d, ref as f, openBlock as e, createElementBlock as o, unref as n, createBlock as m, Fragment as _, renderList as $, mergeProps as b } from "vue";
|
|
2
|
-
import { u as j, d as h, e as k } from "./index-
|
|
2
|
+
import { u as j, d as h, e as k } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const v = { class: "vfc-ObjGroup" }, B = {
|
|
5
5
|
key: 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as B, mergeModels as S, useModel as T, inject as h, resolveComponent as s, resolveDirective as w, unref as
|
|
2
|
-
import { u as j } from "./index-
|
|
3
|
-
import { u as E } from "./useSelect-
|
|
1
|
+
import { defineComponent as B, mergeModels as S, useModel as T, inject as h, resolveComponent as s, resolveDirective as w, unref as l, openBlock as o, createElementBlock as d, toDisplayString as N, Fragment as f, createCommentVNode as F, withDirectives as I, createBlock as y, mergeProps as k, withCtx as C, createVNode as $, renderList as M } from "vue";
|
|
2
|
+
import { u as j } from "./index-DoIvJXpY.js";
|
|
3
|
+
import { u as E } from "./useSelect-DkY4BS54.js";
|
|
4
4
|
const L = { key: 0 }, O = {
|
|
5
5
|
key: 0,
|
|
6
6
|
style: { "font-size": "12px" }
|
|
@@ -24,7 +24,7 @@ const L = { key: 0 }, O = {
|
|
|
24
24
|
}),
|
|
25
25
|
emits: ["update:modelValue"],
|
|
26
26
|
setup(v) {
|
|
27
|
-
const r = v, p = T(v, "modelValue"), c = j(), b = h("ruleModule"), V = h("pageMethodMap", {}), _ = (e) => {
|
|
27
|
+
const r = v, p = T(v, "modelValue"), c = j(), b = h("ruleModule", void 0), V = h("pageMethodMap", {}), _ = (e) => {
|
|
28
28
|
const { valueKey: u = "value", name: i } = r;
|
|
29
29
|
let t = {};
|
|
30
30
|
t = n.value.find((m) => m[u] === e) || {}, c.selectData && i && c.updateSelectData(i, t), r.onChange && b && b[r.onChange](V, e, t);
|
|
@@ -32,9 +32,9 @@ const L = { key: 0 }, O = {
|
|
|
32
32
|
return (e, u) => {
|
|
33
33
|
var K;
|
|
34
34
|
const i = s("el-radio"), t = s("el-radio-button"), m = s("el-space"), D = s("el-radio-group"), z = w("loading");
|
|
35
|
-
return
|
|
36
|
-
!
|
|
37
|
-
I((
|
|
35
|
+
return l(c).read ? (o(), d("div", L, N((K = l(n).find((a) => a[e.valueKey] === p.value)) == null ? void 0 : K[e.labelKey]), 1)) : (o(), d(f, { key: 1 }, [
|
|
36
|
+
!l(n).length && !l(g) ? (o(), d("div", O, "暂无选项")) : F("", !0),
|
|
37
|
+
I((o(), y(D, k({
|
|
38
38
|
modelValue: p.value,
|
|
39
39
|
"onUpdate:modelValue": u[0] || (u[0] = (a) => p.value = a),
|
|
40
40
|
onChange: _
|
|
@@ -47,13 +47,13 @@ const L = { key: 0 }, O = {
|
|
|
47
47
|
alignment: "normal"
|
|
48
48
|
}, {
|
|
49
49
|
default: C(() => [
|
|
50
|
-
e.optionType === "circle" || e.optionType === "border" ? (
|
|
50
|
+
e.optionType === "circle" || e.optionType === "border" ? (o(!0), d(f, { key: 0 }, M(l(n), (a) => (o(), y(i, {
|
|
51
51
|
key: a[e.valueKey],
|
|
52
52
|
label: a[e.labelKey],
|
|
53
53
|
value: a[e.valueKey],
|
|
54
54
|
disabled: a[e.disabledKey],
|
|
55
55
|
border: e.optionType === "border"
|
|
56
|
-
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (
|
|
56
|
+
}, null, 8, ["label", "value", "disabled", "border"]))), 128)) : (o(!0), d(f, { key: 1 }, M(l(n), (a) => (o(), y(t, k({
|
|
57
57
|
key: a[e.valueKey],
|
|
58
58
|
label: a[e.labelKey],
|
|
59
59
|
value: a[e.valueKey],
|
|
@@ -66,7 +66,7 @@ const L = { key: 0 }, O = {
|
|
|
66
66
|
]),
|
|
67
67
|
_: 1
|
|
68
68
|
}, 16, ["modelValue"])), [
|
|
69
|
-
[z,
|
|
69
|
+
[z, l(g)]
|
|
70
70
|
])
|
|
71
71
|
], 64));
|
|
72
72
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as w, mergeModels as A, useModel as I, inject as S, resolveComponent as b, resolveDirective as N, unref as n, openBlock as a, createElementBlock as u, toDisplayString as v, withDirectives as j, createBlock as k, mergeProps as F, withCtx as y, Fragment as $, renderList as E, createTextVNode as L, createVNode as C } from "vue";
|
|
2
|
-
import { u as O, _ as P, b as T } from "./index-
|
|
3
|
-
import { u as U } from "./useSelect-
|
|
2
|
+
import { u as O, _ as P, b as T } from "./index-DoIvJXpY.js";
|
|
3
|
+
import { u as U } from "./useSelect-DkY4BS54.js";
|
|
4
4
|
const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "search-select-wrapper"
|
|
@@ -24,7 +24,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
24
24
|
}),
|
|
25
25
|
emits: ["update:modelValue"],
|
|
26
26
|
setup(h) {
|
|
27
|
-
const o = h, d = I(h, "modelValue"), m = O(), c = S("ruleModule"), _ = S("pageMethodMap", {}), M = (e) => {
|
|
27
|
+
const o = h, d = I(h, "modelValue"), m = O(), c = S("ruleModule", void 0), _ = S("pageMethodMap", {}), M = (e) => {
|
|
28
28
|
const { valueKey: i = "value", multiple: f, name: p } = o;
|
|
29
29
|
let t = {};
|
|
30
30
|
f && Array.isArray(e) ? t = s.value.filter((r) => e.includes(r[i])) : t = s.value.find((r) => r[i] === e) || {}, m.selectData && p && m.updateSelectData(p, t), o.onChange && c && c[o.onChange](_, e, t);
|
|
@@ -80,7 +80,7 @@ const q = { key: 0 }, z = { key: 0 }, G = { key: 1 }, H = {
|
|
|
80
80
|
]));
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
|
-
}), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-
|
|
83
|
+
}), X = /* @__PURE__ */ T(J, [["__scopeId", "data-v-d0b75379"]]);
|
|
84
84
|
export {
|
|
85
85
|
X as default
|
|
86
86
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as _, mergeModels as B, useModel as S, inject as g, resolveComponent as K, resolveDirective as A, unref as i, openBlock as
|
|
2
|
-
import { u as E } from "./index-
|
|
3
|
-
import { u as L } from "./useSelect-
|
|
1
|
+
import { defineComponent as _, mergeModels as B, useModel as S, inject as g, resolveComponent as K, resolveDirective as A, unref as i, openBlock as t, createElementBlock as p, toDisplayString as f, withDirectives as j, createBlock as h, mergeProps as w, withCtx as M, Fragment as F, renderList as I, createTextVNode as N } from "vue";
|
|
2
|
+
import { u as E } from "./index-DoIvJXpY.js";
|
|
3
|
+
import { u as L } from "./useSelect-DkY4BS54.js";
|
|
4
4
|
const O = { key: 0 }, P = { key: 0 }, T = { key: 1 }, z = /* @__PURE__ */ _({
|
|
5
5
|
__name: "Select",
|
|
6
6
|
props: /* @__PURE__ */ B({
|
|
@@ -19,20 +19,20 @@ const O = { key: 0 }, P = { key: 0 }, T = { key: 1 }, z = /* @__PURE__ */ _({
|
|
|
19
19
|
}),
|
|
20
20
|
emits: ["update:modelValue"],
|
|
21
21
|
setup(v) {
|
|
22
|
-
const s = v, n = S(v, "modelValue"), m = E(), y = g("ruleModule"), k = g("pageMethodMap", {}), C = (e) => {
|
|
22
|
+
const s = v, n = S(v, "modelValue"), m = E(), y = g("ruleModule", void 0), k = g("pageMethodMap", {}), C = (e) => {
|
|
23
23
|
const { valueKey: d = "value", multiple: c, name: r } = s;
|
|
24
24
|
let a = {};
|
|
25
|
-
c && Array.isArray(e) ? a = u.value.filter((
|
|
25
|
+
c && Array.isArray(e) ? a = u.value.filter((o) => e.includes(o[d])) : a = u.value.find((o) => o[d] === e) || {}, m.selectData && r && m.updateSelectData(r, a), s.onChange && y && y[s.onChange](k, e, a);
|
|
26
26
|
}, { currentOptions: u, loading: V } = L(s);
|
|
27
27
|
return (e, d) => {
|
|
28
|
-
var
|
|
28
|
+
var o;
|
|
29
29
|
const c = K("el-option"), r = K("el-select"), a = A("loading");
|
|
30
|
-
return i(m).read ? (
|
|
31
|
-
e.multiple ? (
|
|
30
|
+
return i(m).read ? (t(), p("div", O, [
|
|
31
|
+
e.multiple ? (t(), p("div", P, f(n.value && n.value.map((l) => {
|
|
32
32
|
var b;
|
|
33
33
|
return (b = i(u).find((D) => D[e.valueKey] === l)) == null ? void 0 : b[e.labelKey];
|
|
34
|
-
}).join("、")), 1)) : (
|
|
35
|
-
])) : j((
|
|
34
|
+
}).join("、")), 1)) : (t(), p("div", T, f((o = i(u).find((l) => l[e.valueKey] === n.value)) == null ? void 0 : o[e.labelKey]), 1))
|
|
35
|
+
])) : j((t(), h(r, w({
|
|
36
36
|
key: 1,
|
|
37
37
|
modelValue: n.value,
|
|
38
38
|
"onUpdate:modelValue": d[0] || (d[0] = (l) => n.value = l)
|
|
@@ -43,7 +43,7 @@ const O = { key: 0 }, P = { key: 0 }, T = { key: 1 }, z = /* @__PURE__ */ _({
|
|
|
43
43
|
filterable: ""
|
|
44
44
|
}), {
|
|
45
45
|
default: M(() => [
|
|
46
|
-
(
|
|
46
|
+
(t(!0), p(F, null, I(i(u), (l) => (t(), h(c, {
|
|
47
47
|
key: l[e.valueKey],
|
|
48
48
|
label: l[e.labelKey],
|
|
49
49
|
value: l[e.valueKey],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, ref as m, watch as _, onMounted as h, resolveComponent as a, openBlock as l, createBlock as c, mergeProps as u, withCtx as d, createElementBlock as b, Fragment as v, renderList as y, createVNode as k, unref as K } from "vue";
|
|
2
|
-
import { a as V } from "./index-
|
|
2
|
+
import { a as V } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const w = /* @__PURE__ */ i({
|
|
5
5
|
__name: "Tabs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, useModel as s, resolveComponent as p, unref as d, openBlock as t, createElementBlock as i, toDisplayString as c, createBlock as f, mergeProps as _ } from "vue";
|
|
2
|
-
import { u as v } from "./index-
|
|
2
|
+
import { u as v } from "./index-DoIvJXpY.js";
|
|
3
3
|
import "element-plus";
|
|
4
4
|
const V = { key: 0 }, B = /* @__PURE__ */ u({
|
|
5
5
|
__name: "TextArea",
|