@weitutech/by-components-v3 1.1.7 → 1.1.9
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 +15 -2
- package/dist/by-component-v3.css +1 -1
- package/dist/{by-component-v3.mjs → by-component-v3.js} +22385 -15661
- package/dist/by-component-v3.umd.cjs +1 -0
- package/dist/types/packages/customColumn/index.vue.d.ts +1 -1
- package/dist/types/packages/datePicker/src/datePicker.vue.d.ts +1 -1
- package/dist/types/packages/foldSearch/src/foldSearch.vue.d.ts +1 -1
- package/dist/types/packages/pager/src/base-pager.vue.d.ts +1 -1
- package/dist/types/src/App.vue.d.ts +1 -3
- package/dist/types/src/config.d.ts +31 -85
- package/package.json +11 -3
- package/dist/by-component-v3.umd.js +0 -1
|
@@ -15,5 +15,5 @@ declare const _default: import("vue").DefineComponent<IProps, {
|
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<IProps> & Readonly<{
|
|
16
16
|
onChangeTable?: (...args: any[]) => any;
|
|
17
17
|
onCloseDialog?: (...args: any[]) => any;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
export default _default;
|
|
@@ -11,5 +11,5 @@ declare const _default: import("vue").DefineComponent<IDatePickerProps, {}, {},
|
|
|
11
11
|
endPlaceholder: string;
|
|
12
12
|
rangeSeparator: string;
|
|
13
13
|
active: string;
|
|
14
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -7,5 +7,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
7
7
|
onChange?: (values: boolean) => any;
|
|
8
8
|
}>, {
|
|
9
9
|
unfold: boolean;
|
|
10
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
10
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -13,5 +13,5 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
13
13
|
pageSize: number;
|
|
14
14
|
pageSizes: number[];
|
|
15
15
|
currentPage: number;
|
|
16
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
export default _default;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
2
|
-
tableRef: unknown;
|
|
3
|
-
}, HTMLDivElement>;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
2
|
export default _default;
|
|
@@ -40,13 +40,13 @@ export declare const searchFormItems: import("vue").Ref<{
|
|
|
40
40
|
resetText?: string;
|
|
41
41
|
showSubmitIcon?: boolean;
|
|
42
42
|
};
|
|
43
|
-
readonly prop?: import("element-plus
|
|
44
|
-
readonly required?:
|
|
43
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
44
|
+
readonly required?: boolean;
|
|
45
45
|
readonly rules?: unknown;
|
|
46
46
|
readonly error?: string;
|
|
47
|
-
readonly validateStatus?:
|
|
47
|
+
readonly validateStatus?: "" | "error" | "validating" | "success";
|
|
48
48
|
readonly for?: string;
|
|
49
|
-
readonly size?:
|
|
49
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
50
50
|
}[], IFormItems[] | {
|
|
51
51
|
id?: number | string;
|
|
52
52
|
type: import("../packages/form").TFormItemType;
|
|
@@ -88,13 +88,13 @@ export declare const searchFormItems: import("vue").Ref<{
|
|
|
88
88
|
resetText?: string;
|
|
89
89
|
showSubmitIcon?: boolean;
|
|
90
90
|
};
|
|
91
|
-
readonly prop?: import("element-plus
|
|
92
|
-
readonly required?:
|
|
91
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
92
|
+
readonly required?: boolean;
|
|
93
93
|
readonly rules?: unknown;
|
|
94
94
|
readonly error?: string;
|
|
95
|
-
readonly validateStatus?:
|
|
95
|
+
readonly validateStatus?: "" | "error" | "validating" | "success";
|
|
96
96
|
readonly for?: string;
|
|
97
|
-
readonly size?:
|
|
97
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
98
98
|
}[]>;
|
|
99
99
|
export declare const formConfig: import("vue").Ref<{
|
|
100
100
|
labelWidth: string;
|
|
@@ -165,13 +165,13 @@ export declare const formConfig: import("vue").Ref<{
|
|
|
165
165
|
resetText?: string;
|
|
166
166
|
showSubmitIcon?: boolean;
|
|
167
167
|
};
|
|
168
|
-
readonly prop?: import("element-plus
|
|
169
|
-
readonly required?:
|
|
168
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
169
|
+
readonly required?: boolean;
|
|
170
170
|
readonly rules?: unknown;
|
|
171
171
|
readonly error?: string;
|
|
172
|
-
readonly validateStatus?:
|
|
172
|
+
readonly validateStatus?: "" | "error" | "validating" | "success";
|
|
173
173
|
readonly for?: string;
|
|
174
|
-
readonly size?:
|
|
174
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
175
175
|
}[];
|
|
176
176
|
}, {
|
|
177
177
|
labelWidth: string;
|
|
@@ -242,13 +242,13 @@ export declare const formConfig: import("vue").Ref<{
|
|
|
242
242
|
resetText?: string;
|
|
243
243
|
showSubmitIcon?: boolean;
|
|
244
244
|
};
|
|
245
|
-
readonly prop?: import("element-plus
|
|
246
|
-
readonly required?:
|
|
245
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
246
|
+
readonly required?: boolean;
|
|
247
247
|
readonly rules?: unknown;
|
|
248
248
|
readonly error?: string;
|
|
249
|
-
readonly validateStatus?:
|
|
249
|
+
readonly validateStatus?: "" | "error" | "validating" | "success";
|
|
250
250
|
readonly for?: string;
|
|
251
|
-
readonly size?:
|
|
251
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
252
252
|
}[];
|
|
253
253
|
} | {
|
|
254
254
|
labelWidth: string;
|
|
@@ -319,13 +319,13 @@ export declare const formConfig: import("vue").Ref<{
|
|
|
319
319
|
resetText?: string;
|
|
320
320
|
showSubmitIcon?: boolean;
|
|
321
321
|
};
|
|
322
|
-
readonly prop?: import("element-plus
|
|
323
|
-
readonly required?:
|
|
322
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
323
|
+
readonly required?: boolean;
|
|
324
324
|
readonly rules?: unknown;
|
|
325
325
|
readonly error?: string;
|
|
326
|
-
readonly validateStatus?:
|
|
326
|
+
readonly validateStatus?: "" | "error" | "validating" | "success";
|
|
327
327
|
readonly for?: string;
|
|
328
|
-
readonly size?:
|
|
328
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
329
329
|
}[];
|
|
330
330
|
}>;
|
|
331
331
|
export declare const tableConfig: import("vue").Ref<{
|
|
@@ -441,6 +441,7 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
441
441
|
currentPage: number;
|
|
442
442
|
total: number;
|
|
443
443
|
};
|
|
444
|
+
rowConfig: {};
|
|
444
445
|
copyFields: string[];
|
|
445
446
|
sortConfig: {};
|
|
446
447
|
loading: boolean;
|
|
@@ -451,7 +452,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
451
452
|
field?: unknown;
|
|
452
453
|
title?: unknown;
|
|
453
454
|
children?: unknown;
|
|
454
|
-
showOverflow?: unknown;
|
|
455
455
|
slots?: unknown;
|
|
456
456
|
minWidth?: unknown;
|
|
457
457
|
} | {
|
|
@@ -461,7 +461,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
461
461
|
fixed: string;
|
|
462
462
|
title: string;
|
|
463
463
|
children?: unknown;
|
|
464
|
-
showOverflow?: unknown;
|
|
465
464
|
slots?: unknown;
|
|
466
465
|
minWidth?: unknown;
|
|
467
466
|
} | {
|
|
@@ -475,7 +474,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
475
474
|
width: number;
|
|
476
475
|
}[];
|
|
477
476
|
type?: unknown;
|
|
478
|
-
showOverflow?: unknown;
|
|
479
477
|
slots?: unknown;
|
|
480
478
|
minWidth?: unknown;
|
|
481
479
|
} | {
|
|
@@ -485,14 +483,12 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
485
483
|
type?: unknown;
|
|
486
484
|
fixed?: unknown;
|
|
487
485
|
children?: unknown;
|
|
488
|
-
showOverflow?: unknown;
|
|
489
486
|
slots?: unknown;
|
|
490
487
|
minWidth?: unknown;
|
|
491
488
|
} | {
|
|
492
489
|
field: string;
|
|
493
490
|
title: string;
|
|
494
491
|
width: number;
|
|
495
|
-
showOverflow: boolean;
|
|
496
492
|
slots: {
|
|
497
493
|
default: string;
|
|
498
494
|
};
|
|
@@ -508,20 +504,7 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
508
504
|
width?: unknown;
|
|
509
505
|
fixed?: unknown;
|
|
510
506
|
children?: unknown;
|
|
511
|
-
showOverflow?: unknown;
|
|
512
507
|
slots?: unknown;
|
|
513
|
-
} | {
|
|
514
|
-
field: string;
|
|
515
|
-
title: string;
|
|
516
|
-
slots: {
|
|
517
|
-
default: string;
|
|
518
|
-
};
|
|
519
|
-
width: number;
|
|
520
|
-
type?: unknown;
|
|
521
|
-
fixed?: unknown;
|
|
522
|
-
children?: unknown;
|
|
523
|
-
showOverflow?: unknown;
|
|
524
|
-
minWidth?: unknown;
|
|
525
508
|
} | {
|
|
526
509
|
field: string;
|
|
527
510
|
title: string;
|
|
@@ -532,7 +515,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
532
515
|
};
|
|
533
516
|
type?: unknown;
|
|
534
517
|
children?: unknown;
|
|
535
|
-
showOverflow?: unknown;
|
|
536
518
|
minWidth?: unknown;
|
|
537
519
|
})[];
|
|
538
520
|
data: {
|
|
@@ -554,6 +536,7 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
554
536
|
currentPage: number;
|
|
555
537
|
total: number;
|
|
556
538
|
};
|
|
539
|
+
rowConfig: {};
|
|
557
540
|
copyFields: string[];
|
|
558
541
|
sortConfig: {};
|
|
559
542
|
loading: boolean;
|
|
@@ -564,7 +547,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
564
547
|
field?: undefined;
|
|
565
548
|
title?: undefined;
|
|
566
549
|
children?: undefined;
|
|
567
|
-
showOverflow?: undefined;
|
|
568
550
|
slots?: undefined;
|
|
569
551
|
minWidth?: undefined;
|
|
570
552
|
} | {
|
|
@@ -574,7 +556,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
574
556
|
fixed: string;
|
|
575
557
|
title: string;
|
|
576
558
|
children?: undefined;
|
|
577
|
-
showOverflow?: undefined;
|
|
578
559
|
slots?: undefined;
|
|
579
560
|
minWidth?: undefined;
|
|
580
561
|
} | {
|
|
@@ -588,7 +569,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
588
569
|
width: number;
|
|
589
570
|
}[];
|
|
590
571
|
type?: undefined;
|
|
591
|
-
showOverflow?: undefined;
|
|
592
572
|
slots?: undefined;
|
|
593
573
|
minWidth?: undefined;
|
|
594
574
|
} | {
|
|
@@ -598,14 +578,12 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
598
578
|
type?: undefined;
|
|
599
579
|
fixed?: undefined;
|
|
600
580
|
children?: undefined;
|
|
601
|
-
showOverflow?: undefined;
|
|
602
581
|
slots?: undefined;
|
|
603
582
|
minWidth?: undefined;
|
|
604
583
|
} | {
|
|
605
584
|
field: string;
|
|
606
585
|
title: string;
|
|
607
586
|
width: number;
|
|
608
|
-
showOverflow: boolean;
|
|
609
587
|
slots: {
|
|
610
588
|
default: string;
|
|
611
589
|
};
|
|
@@ -621,20 +599,7 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
621
599
|
width?: undefined;
|
|
622
600
|
fixed?: undefined;
|
|
623
601
|
children?: undefined;
|
|
624
|
-
showOverflow?: undefined;
|
|
625
602
|
slots?: undefined;
|
|
626
|
-
} | {
|
|
627
|
-
field: string;
|
|
628
|
-
title: string;
|
|
629
|
-
slots: {
|
|
630
|
-
default: string;
|
|
631
|
-
};
|
|
632
|
-
width: number;
|
|
633
|
-
type?: undefined;
|
|
634
|
-
fixed?: undefined;
|
|
635
|
-
children?: undefined;
|
|
636
|
-
showOverflow?: undefined;
|
|
637
|
-
minWidth?: undefined;
|
|
638
603
|
} | {
|
|
639
604
|
field: string;
|
|
640
605
|
title: string;
|
|
@@ -645,7 +610,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
645
610
|
};
|
|
646
611
|
type?: undefined;
|
|
647
612
|
children?: undefined;
|
|
648
|
-
showOverflow?: undefined;
|
|
649
613
|
minWidth?: undefined;
|
|
650
614
|
})[];
|
|
651
615
|
data: {
|
|
@@ -667,6 +631,7 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
667
631
|
currentPage: number;
|
|
668
632
|
total: number;
|
|
669
633
|
};
|
|
634
|
+
rowConfig: {};
|
|
670
635
|
copyFields: string[];
|
|
671
636
|
sortConfig: {};
|
|
672
637
|
loading: boolean;
|
|
@@ -677,7 +642,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
677
642
|
field?: unknown;
|
|
678
643
|
title?: unknown;
|
|
679
644
|
children?: unknown;
|
|
680
|
-
showOverflow?: unknown;
|
|
681
645
|
slots?: unknown;
|
|
682
646
|
minWidth?: unknown;
|
|
683
647
|
} | {
|
|
@@ -687,7 +651,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
687
651
|
fixed: string;
|
|
688
652
|
title: string;
|
|
689
653
|
children?: unknown;
|
|
690
|
-
showOverflow?: unknown;
|
|
691
654
|
slots?: unknown;
|
|
692
655
|
minWidth?: unknown;
|
|
693
656
|
} | {
|
|
@@ -701,7 +664,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
701
664
|
width: number;
|
|
702
665
|
}[];
|
|
703
666
|
type?: unknown;
|
|
704
|
-
showOverflow?: unknown;
|
|
705
667
|
slots?: unknown;
|
|
706
668
|
minWidth?: unknown;
|
|
707
669
|
} | {
|
|
@@ -711,14 +673,12 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
711
673
|
type?: unknown;
|
|
712
674
|
fixed?: unknown;
|
|
713
675
|
children?: unknown;
|
|
714
|
-
showOverflow?: unknown;
|
|
715
676
|
slots?: unknown;
|
|
716
677
|
minWidth?: unknown;
|
|
717
678
|
} | {
|
|
718
679
|
field: string;
|
|
719
680
|
title: string;
|
|
720
681
|
width: number;
|
|
721
|
-
showOverflow: boolean;
|
|
722
682
|
slots: {
|
|
723
683
|
default: string;
|
|
724
684
|
};
|
|
@@ -734,20 +694,7 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
734
694
|
width?: unknown;
|
|
735
695
|
fixed?: unknown;
|
|
736
696
|
children?: unknown;
|
|
737
|
-
showOverflow?: unknown;
|
|
738
697
|
slots?: unknown;
|
|
739
|
-
} | {
|
|
740
|
-
field: string;
|
|
741
|
-
title: string;
|
|
742
|
-
slots: {
|
|
743
|
-
default: string;
|
|
744
|
-
};
|
|
745
|
-
width: number;
|
|
746
|
-
type?: unknown;
|
|
747
|
-
fixed?: unknown;
|
|
748
|
-
children?: unknown;
|
|
749
|
-
showOverflow?: unknown;
|
|
750
|
-
minWidth?: unknown;
|
|
751
698
|
} | {
|
|
752
699
|
field: string;
|
|
753
700
|
title: string;
|
|
@@ -758,7 +705,6 @@ export declare const gridOptions: import("vue").Ref<{
|
|
|
758
705
|
};
|
|
759
706
|
type?: unknown;
|
|
760
707
|
children?: unknown;
|
|
761
|
-
showOverflow?: unknown;
|
|
762
708
|
minWidth?: unknown;
|
|
763
709
|
})[];
|
|
764
710
|
data: {
|
|
@@ -815,13 +761,13 @@ export declare const dialogFormItems: import("vue").Ref<{
|
|
|
815
761
|
resetText?: string;
|
|
816
762
|
showSubmitIcon?: boolean;
|
|
817
763
|
};
|
|
818
|
-
readonly prop?: import("element-plus
|
|
819
|
-
readonly required?:
|
|
764
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
765
|
+
readonly required?: boolean;
|
|
820
766
|
readonly rules?: unknown;
|
|
821
767
|
readonly error?: string;
|
|
822
|
-
readonly validateStatus?:
|
|
768
|
+
readonly validateStatus?: "" | "error" | "validating" | "success";
|
|
823
769
|
readonly for?: string;
|
|
824
|
-
readonly size?:
|
|
770
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
825
771
|
}[], IFormItems[] | {
|
|
826
772
|
id?: number | string;
|
|
827
773
|
type: import("../packages/form").TFormItemType;
|
|
@@ -863,13 +809,13 @@ export declare const dialogFormItems: import("vue").Ref<{
|
|
|
863
809
|
resetText?: string;
|
|
864
810
|
showSubmitIcon?: boolean;
|
|
865
811
|
};
|
|
866
|
-
readonly prop?: import("element-plus
|
|
867
|
-
readonly required?:
|
|
812
|
+
readonly prop?: import("element-plus").FormItemProp;
|
|
813
|
+
readonly required?: boolean;
|
|
868
814
|
readonly rules?: unknown;
|
|
869
815
|
readonly error?: string;
|
|
870
|
-
readonly validateStatus?:
|
|
816
|
+
readonly validateStatus?: "" | "error" | "validating" | "success";
|
|
871
817
|
readonly for?: string;
|
|
872
|
-
readonly size?:
|
|
818
|
+
readonly size?: "" | "small" | "default" | "large";
|
|
873
819
|
}[]>;
|
|
874
820
|
export declare const menuTitle: {
|
|
875
821
|
addMenu: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
+
"type": "module",
|
|
2
3
|
"name": "@weitutech/by-components-v3",
|
|
3
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
4
5
|
"private": false,
|
|
5
6
|
"main": "/src/main.ts",
|
|
6
7
|
"module": "./dist/by-components-v3.js",
|
|
@@ -17,7 +18,12 @@
|
|
|
17
18
|
"build-only": "vite build",
|
|
18
19
|
"type-check": "vue-tsc --build",
|
|
19
20
|
"lint": "eslint . --fix",
|
|
20
|
-
"format": "prettier --write \"{src,packages}/**/*.{js,jsx,ts,tsx,vue,scss,css,less,json,md}\""
|
|
21
|
+
"format": "prettier --write \"{src,packages}/**/*.{js,jsx,ts,tsx,vue,scss,css,less,json,md}\"",
|
|
22
|
+
"docs:dev": "npx vitepress dev docs",
|
|
23
|
+
"docs:build": "npx vitepress build docs",
|
|
24
|
+
"docs:preview": "npx vitepress preview docs",
|
|
25
|
+
"docs:deploy": "bash deploy.sh",
|
|
26
|
+
"docs:clean": "rimraf docs/.vitepress/.temp docs/.vitepress/dist"
|
|
21
27
|
},
|
|
22
28
|
"dependencies": {
|
|
23
29
|
"@vue/babel-preset-jsx": "^1.4.0",
|
|
@@ -49,6 +55,8 @@
|
|
|
49
55
|
"typescript-vue-plugin": "^1.8.27",
|
|
50
56
|
"vite": "^6.0.5",
|
|
51
57
|
"vite-plugin-vue-devtools": "^7.6.8",
|
|
52
|
-
"vue-tsc": "^2.1.10"
|
|
58
|
+
"vue-tsc": "^2.1.10",
|
|
59
|
+
"vitepress": "^1.0.0-rc.44",
|
|
60
|
+
"rimraf": "^5.0.5"
|
|
53
61
|
}
|
|
54
62
|
}
|