@vue-start/pro 0.5.2 → 0.5.4
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/LICENSE.md +21 -0
- package/dist/index.d.ts +13 -8
- package/dist/index.es.js +778 -782
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) [year] [fullname]
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.d.ts
CHANGED
|
@@ -120,9 +120,7 @@ declare type TElementMap = Record<string, any>;
|
|
|
120
120
|
declare type BooleanObjType = {
|
|
121
121
|
[key: string]: boolean;
|
|
122
122
|
};
|
|
123
|
-
declare type BooleanRulesObjType =
|
|
124
|
-
[key: string]: (record: any) => boolean;
|
|
125
|
-
};
|
|
123
|
+
declare type BooleanRulesObjType = Record<string, (record: Record<string, any>) => boolean>;
|
|
126
124
|
/**
|
|
127
125
|
*
|
|
128
126
|
*/
|
|
@@ -639,6 +637,13 @@ declare enum SearchMode {
|
|
|
639
637
|
}
|
|
640
638
|
declare type ISearchMode = keyof typeof SearchMode;
|
|
641
639
|
declare const proSearchFormProps: () => {
|
|
640
|
+
/**
|
|
641
|
+
* class
|
|
642
|
+
*/
|
|
643
|
+
clsName: {
|
|
644
|
+
type: StringConstructor;
|
|
645
|
+
default: string;
|
|
646
|
+
};
|
|
642
647
|
/**
|
|
643
648
|
* 初始化触发 onFinish
|
|
644
649
|
*/
|
|
@@ -1057,7 +1062,7 @@ declare const proListProps: () => {
|
|
|
1057
1062
|
type: PropType<Record<string, any>>;
|
|
1058
1063
|
};
|
|
1059
1064
|
paginationProps: {
|
|
1060
|
-
type: (PropType<Record<string, any>>
|
|
1065
|
+
type: (PropType<boolean> | PropType<Record<string, any>>)[];
|
|
1061
1066
|
};
|
|
1062
1067
|
pageState: {
|
|
1063
1068
|
type: PropType<TPageState>;
|
|
@@ -1091,7 +1096,7 @@ declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1091
1096
|
type: PropType<Record<string, any>>;
|
|
1092
1097
|
};
|
|
1093
1098
|
paginationProps: {
|
|
1094
|
-
type: (PropType<Record<string, any>>
|
|
1099
|
+
type: (PropType<boolean> | PropType<Record<string, any>>)[];
|
|
1095
1100
|
};
|
|
1096
1101
|
pageState: {
|
|
1097
1102
|
type: PropType<TPageState>;
|
|
@@ -1111,7 +1116,7 @@ declare const ProList: vue.DefineComponent<Partial<ExtractPropTypes<{
|
|
|
1111
1116
|
type: PropType<Record<string, any>>;
|
|
1112
1117
|
};
|
|
1113
1118
|
paginationProps: {
|
|
1114
|
-
type: (PropType<Record<string, any>>
|
|
1119
|
+
type: (PropType<boolean> | PropType<Record<string, any>>)[];
|
|
1115
1120
|
};
|
|
1116
1121
|
pageState: {
|
|
1117
1122
|
type: PropType<TPageState>;
|
|
@@ -1324,7 +1329,7 @@ declare const ProCurdList: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
|
|
|
1324
1329
|
type: vue.PropType<Record<string, any>>;
|
|
1325
1330
|
};
|
|
1326
1331
|
paginationProps: {
|
|
1327
|
-
type: (vue.PropType<Record<string, any>>
|
|
1332
|
+
type: (vue.PropType<boolean> | vue.PropType<Record<string, any>>)[];
|
|
1328
1333
|
};
|
|
1329
1334
|
pageState: {
|
|
1330
1335
|
type: vue.PropType<TPageState>;
|
|
@@ -1341,7 +1346,7 @@ declare const ProCurdList: vue.DefineComponent<Partial<vue.ExtractPropTypes<{
|
|
|
1341
1346
|
type: vue.PropType<Record<string, any>>;
|
|
1342
1347
|
};
|
|
1343
1348
|
paginationProps: {
|
|
1344
|
-
type: (vue.PropType<Record<string, any>>
|
|
1349
|
+
type: (vue.PropType<boolean> | vue.PropType<Record<string, any>>)[];
|
|
1345
1350
|
};
|
|
1346
1351
|
pageState: {
|
|
1347
1352
|
type: vue.PropType<TPageState>;
|