mwl-components 0.0.23 → 0.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 +80 -1
- package/dist/EasyForm/index.vue.d.ts +6 -688
- package/dist/EasyTable/index.vue.d.ts +11 -18
- package/dist/index.d.ts +3 -4
- package/dist/index.js +480 -431
- package/dist/mwl-components.css +1 -1
- package/dist/types/index.d.ts +98 -0
- package/package.json +7 -6
- package/dist/EasyTable/tableColumnItem.vue.d.ts +0 -19
|
@@ -1,21 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
prop?: string;
|
|
4
|
-
type?: string;
|
|
5
|
-
align?: string;
|
|
6
|
-
[property: string]: any;
|
|
7
|
-
children?: TableColumn[];
|
|
8
|
-
}
|
|
9
|
-
export interface buttonType {
|
|
10
|
-
label: string;
|
|
11
|
-
permi?: any[] | string;
|
|
12
|
-
type: string;
|
|
13
|
-
hide?: boolean;
|
|
14
|
-
disabled?: (row: any) => boolean;
|
|
15
|
-
show?: (row: any) => boolean;
|
|
16
|
-
click?: (row: any) => void;
|
|
17
|
-
link?: (row: any) => boolean;
|
|
18
|
-
}
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TableColumn, buttonType } from '../types';
|
|
19
3
|
declare function __VLS_template(): {
|
|
20
4
|
attrs: Partial<{}>;
|
|
21
5
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
@@ -68,6 +52,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
68
52
|
type: StringConstructor;
|
|
69
53
|
default: undefined;
|
|
70
54
|
};
|
|
55
|
+
footerHeight: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
default: number;
|
|
58
|
+
};
|
|
71
59
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
72
60
|
data: {
|
|
73
61
|
type: {
|
|
@@ -111,6 +99,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
111
99
|
type: StringConstructor;
|
|
112
100
|
default: undefined;
|
|
113
101
|
};
|
|
102
|
+
footerHeight: {
|
|
103
|
+
type: NumberConstructor;
|
|
104
|
+
default: number;
|
|
105
|
+
};
|
|
114
106
|
}>> & Readonly<{}>, {
|
|
115
107
|
data: Record<string, any>[];
|
|
116
108
|
maxHeight: string;
|
|
@@ -119,6 +111,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
119
111
|
tableColumns: TableColumn[];
|
|
120
112
|
buttons: buttonType[];
|
|
121
113
|
buttonWidth: string | number;
|
|
114
|
+
footerHeight: number;
|
|
122
115
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
123
116
|
tableRef: HTMLDivElement;
|
|
124
117
|
}, HTMLDivElement>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { default as ContentWarp } from './ContentWarp/index.vue';
|
|
2
2
|
import { default as Dialog } from './Dialog/index.vue';
|
|
3
|
-
import { default as EasyForm } from './EasyForm/index.vue';
|
|
3
|
+
import { default as EasyForm, componentsMap } from './EasyForm/index.vue';
|
|
4
4
|
import { default as EasyTable } from './EasyTable/index.vue';
|
|
5
5
|
import { default as MenuTree } from './MenuTree/components/index.vue';
|
|
6
6
|
import { default as Pagination } from './Pagination/index.vue';
|
|
7
|
-
export { ContentWarp, Dialog, EasyForm, EasyTable, MenuTree, Pagination };
|
|
7
|
+
export { ContentWarp, Dialog, EasyForm, EasyTable, MenuTree, Pagination, componentsMap };
|
|
8
8
|
export declare const install: (app: any, options: any) => void;
|
|
9
9
|
declare const _default: {
|
|
10
10
|
install: (app: any, options: any) => void;
|
|
11
11
|
};
|
|
12
12
|
export default _default;
|
|
13
|
-
export type { FormItem,
|
|
14
|
-
export type { TableColumn, buttonType } from './EasyTable/index.vue';
|
|
13
|
+
export type { Options, FormItem, Rule, Placement, TableColumn, buttonType, ComponentMapType } from './types';
|