sl-el-utils 0.0.30 → 0.0.31
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/dist/components/ReCol/index.d.ts +15 -0
- package/dist/components/ReCol/index.d.ts.map +1 -0
- package/dist/components/ReCropper/src/svg/index.d.ts +17 -0
- package/dist/components/ReCropper/src/svg/index.d.ts.map +1 -0
- package/dist/components/ReDateTimePicker/ReDatePicker/index.vue.d.ts +21 -0
- package/dist/components/ReDateTimePicker/ReDatePicker/index.vue.d.ts.map +1 -0
- package/dist/components/ReDateTimePicker/ReTimePicker/index.vue.d.ts +21 -0
- package/dist/components/ReDateTimePicker/ReTimePicker/index.vue.d.ts.map +1 -0
- package/dist/components/ReDateTimePicker/index.d.ts +5 -0
- package/dist/components/ReDateTimePicker/index.d.ts.map +1 -0
- package/dist/components/ReDialog/index.vue.d.ts +3 -0
- package/dist/components/ReDialog/index.vue.d.ts.map +1 -0
- package/dist/components/ReDialog/type.d.ts +216 -0
- package/dist/components/ReDialog/type.d.ts.map +1 -0
- package/dist/components/ReDocument/index.d.ts +4 -0
- package/dist/components/ReDocument/index.d.ts.map +1 -0
- package/dist/components/ReDocument/index.vue.d.ts +25 -0
- package/dist/components/ReDocument/index.vue.d.ts.map +1 -0
- package/dist/components/ReDocument/types.d.ts +5 -0
- package/dist/components/ReDocument/types.d.ts.map +1 -0
- package/dist/components/ReFile/index.d.ts +6 -0
- package/dist/components/ReFile/index.d.ts.map +1 -0
- package/dist/components/ReFile/src/hooks.d.ts +49 -0
- package/dist/components/ReFile/src/hooks.d.ts.map +1 -0
- package/dist/components/ReFile/src/uploadFile.vue.d.ts +47 -0
- package/dist/components/ReFile/src/uploadFile.vue.d.ts.map +1 -0
- package/dist/components/ReFile/src/uploadImage.vue.d.ts +47 -0
- package/dist/components/ReFile/src/uploadImage.vue.d.ts.map +1 -0
- package/dist/components/ReFile/src/uploadVideo.vue.d.ts +47 -0
- package/dist/components/ReFile/src/uploadVideo.vue.d.ts.map +1 -0
- package/dist/components/ReForm/ReDescriptions/example.d.ts +136 -0
- package/dist/components/ReForm/ReDescriptions/example.d.ts.map +1 -0
- package/dist/components/ReForm/ReDescriptions/index.vue.d.ts +61 -0
- package/dist/components/ReForm/ReDescriptions/index.vue.d.ts.map +1 -0
- package/dist/components/ReForm/ReDescriptions/types.d.ts +25 -0
- package/dist/components/ReForm/ReDescriptions/types.d.ts.map +1 -0
- package/dist/components/ReForm/ReEditForm/index.vue.d.ts +56 -0
- package/dist/components/ReForm/ReEditForm/index.vue.d.ts.map +1 -0
- package/dist/components/ReForm/ReEditForm/types.d.ts +34 -0
- package/dist/components/ReForm/ReEditForm/types.d.ts.map +1 -0
- package/dist/components/ReForm/ReSearch/index.vue.d.ts +69 -0
- package/dist/components/ReForm/ReSearch/index.vue.d.ts.map +1 -0
- package/dist/components/ReForm/ReSearch/types.d.ts +36 -0
- package/dist/components/ReForm/ReSearch/types.d.ts.map +1 -0
- package/dist/components/ReForm/example.d.ts +124 -0
- package/dist/components/ReForm/example.d.ts.map +1 -0
- package/dist/components/ReForm/index.d.ts +6 -0
- package/dist/components/ReForm/index.d.ts.map +1 -0
- package/dist/components/ReForm/renderer.d.ts +17 -0
- package/dist/components/ReForm/renderer.d.ts.map +1 -0
- package/dist/components/ReIcon/index.d.ts +46 -0
- package/dist/components/ReIcon/index.d.ts.map +1 -0
- package/dist/components/ReIcon/src/hooks.d.ts +12 -0
- package/dist/components/ReIcon/src/hooks.d.ts.map +1 -0
- package/dist/components/ReIcon/src/iconfont.d.ts +15 -0
- package/dist/components/ReIcon/src/iconfont.d.ts.map +1 -0
- package/dist/components/ReIcon/src/iconifyIconOffline.d.ts +15 -0
- package/dist/components/ReIcon/src/iconifyIconOffline.d.ts.map +1 -0
- package/dist/components/ReIcon/src/iconifyIconOnline.d.ts +17 -0
- package/dist/components/ReIcon/src/iconifyIconOnline.d.ts.map +1 -0
- package/dist/components/ReIcon/src/offlineIcon.d.ts +2 -0
- package/dist/components/ReIcon/src/offlineIcon.d.ts.map +1 -0
- package/dist/components/ReIcon/src/types.d.ts +18 -0
- package/dist/components/ReIcon/src/types.d.ts.map +1 -0
- package/dist/components/ReTable/RePureTable/index.vue.d.ts +42 -0
- package/dist/components/ReTable/RePureTable/index.vue.d.ts.map +1 -0
- package/dist/components/ReTable/RePureTableBar/index.d.ts +51 -0
- package/dist/components/ReTable/RePureTableBar/index.d.ts.map +1 -0
- package/dist/components/ReTable/RePureTableBar/src/bar.d.ts +59 -0
- package/dist/components/ReTable/RePureTableBar/src/bar.d.ts.map +1 -0
- package/dist/components/ReTable/ReTable/index.vue.d.ts +52 -0
- package/dist/components/ReTable/ReTable/index.vue.d.ts.map +1 -0
- package/dist/components/ReTable/index.d.ts +6 -0
- package/dist/components/ReTable/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/config/index.d.ts +27 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/directives/copy/index.d.ts +8 -0
- package/dist/directives/copy/index.d.ts.map +1 -0
- package/dist/directives/index.d.ts +3 -0
- package/dist/directives/index.d.ts.map +1 -0
- package/dist/directives/longpress/index.d.ts +4 -0
- package/dist/directives/longpress/index.d.ts.map +1 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2225 -32638
- package/dist/index.umd.cjs +1 -69
- package/dist/style.css +9 -0
- package/dist/utils/date_utils.d.ts +7 -0
- package/dist/utils/date_utils.d.ts.map +1 -0
- package/dist/utils/file_utils.d.ts +1 -0
- package/dist/utils/file_utils.d.ts.map +1 -0
- package/dist/utils/hooks.d.ts +24 -0
- package/dist/utils/hooks.d.ts.map +1 -0
- package/dist/utils/message.d.ts +46 -0
- package/dist/utils/message.d.ts.map +1 -0
- package/dist/utils/print_author.d.ts +2 -0
- package/dist/utils/print_author.d.ts.map +1 -0
- package/package.json +78 -39
- package/dist/favicon.ico +0 -0
- package/dist/logo.svg +0 -1
- package/dist/packages/sl-el-utils/assets/index.css +0 -9
- package/dist/platform-config.json +0 -26
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { iconType } from './types';
|
|
2
|
+
import { Component } from 'vue';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 支持 `iconfont`、自定义 `svg` 以及 `iconify` 中所有的图标
|
|
6
|
+
* @see 点击查看文档图标篇 {@link https://pure-admin.github.io/pure-admin-doc/pages/icon/}
|
|
7
|
+
* @param icon 必传 图标
|
|
8
|
+
* @param attrs 可选 iconType 属性
|
|
9
|
+
* @returns Component
|
|
10
|
+
*/
|
|
11
|
+
export declare function useRenderIcon(icon: any, attrs?: iconType): Component;
|
|
12
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../components/ReIcon/src/hooks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,KAAK,CAAC;AAGzD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,CA6CpE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
icon: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
icon: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
icon: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=iconfont.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconfont.d.ts","sourceRoot":"","sources":["../../../../components/ReIcon/src/iconfont.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wBAyCG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
icon: {
|
|
3
|
+
default: any;
|
|
4
|
+
};
|
|
5
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
6
|
+
icon: {
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
}>> & Readonly<{}>, {
|
|
10
|
+
icon: any;
|
|
11
|
+
}, {}, {
|
|
12
|
+
IconifyIcon: import('vue').DefineComponent<import('@iconify/vue/dist/offline.js').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@iconify/vue/dist/offline.js').IconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=iconifyIconOffline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconifyIconOffline.d.ts","sourceRoot":"","sources":["../../../../components/ReIcon/src/iconifyIconOffline.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAIA,wBAuBG"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
icon: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
|
+
icon: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
icon: string;
|
|
13
|
+
}, {}, {
|
|
14
|
+
IconifyIcon: import('vue').DefineComponent<import('@iconify/vue/dist/iconify.js').IconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('@iconify/vue/dist/iconify.js').IconProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=iconifyIconOnline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconifyIconOnline.d.ts","sourceRoot":"","sources":["../../../../components/ReIcon/src/iconifyIconOnline.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAIA,wBAuBG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offlineIcon.d.ts","sourceRoot":"","sources":["../../../../components/ReIcon/src/offlineIcon.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface iconType {
|
|
2
|
+
inline?: boolean;
|
|
3
|
+
width?: string | number;
|
|
4
|
+
height?: string | number;
|
|
5
|
+
horizontalFlip?: boolean;
|
|
6
|
+
verticalFlip?: boolean;
|
|
7
|
+
flip?: string;
|
|
8
|
+
rotate?: number | string;
|
|
9
|
+
color?: string;
|
|
10
|
+
horizontalAlign?: boolean;
|
|
11
|
+
verticalAlign?: boolean;
|
|
12
|
+
align?: string;
|
|
13
|
+
onLoad?: Function;
|
|
14
|
+
includes?: Function;
|
|
15
|
+
fill?: string;
|
|
16
|
+
style?: object;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../components/ReIcon/src/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IAExB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,QAAQ,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,KAAK,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
params?: any;
|
|
3
|
+
onSearch?: any;
|
|
4
|
+
handleBatchDelete?: any;
|
|
5
|
+
batchDeleteApi?: any;
|
|
6
|
+
hasAuth?: any;
|
|
7
|
+
deleteButtonCode?: any;
|
|
8
|
+
}, {
|
|
9
|
+
selectRowList: import('vue').Ref<any[], any[]>;
|
|
10
|
+
setPagination: (data: any) => void;
|
|
11
|
+
handleSearchRest: () => void;
|
|
12
|
+
getSelectionRows: () => any;
|
|
13
|
+
clearSelection: () => void;
|
|
14
|
+
getTableDoms: () => any;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:params": (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
18
|
+
params?: any;
|
|
19
|
+
onSearch?: any;
|
|
20
|
+
handleBatchDelete?: any;
|
|
21
|
+
batchDeleteApi?: any;
|
|
22
|
+
hasAuth?: any;
|
|
23
|
+
deleteButtonCode?: any;
|
|
24
|
+
}> & Readonly<{
|
|
25
|
+
"onUpdate:params"?: (...args: any[]) => any;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
27
|
+
batch?(_: {}): any;
|
|
28
|
+
empty?(_: {}): any;
|
|
29
|
+
append?(_: {}): any;
|
|
30
|
+
operateHeader?(_: {}): any;
|
|
31
|
+
operation?(_: {
|
|
32
|
+
row: any;
|
|
33
|
+
index: any;
|
|
34
|
+
}): any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../components/ReTable/RePureTable/index.vue"],"names":[],"mappings":"AAkEA;;;;;;;;;;0BA8B6B,GAAG;;;;;;;;;;;;;;;;;mBA8TJ,GAAG;mBACH,GAAG;oBACF,GAAG;2BACI,GAAG;;;;QACP,GAAG;;AAnVnC,wBA4XI;AAAA,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QACtD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/** 配合 `@pureadmin/table` 实现快速便捷的表格操作 https://github.com/pure-admin/pure-admin-table */
|
|
2
|
+
export declare const RePureTableBar: import('@pureadmin/utils').SFCWithInstall<import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
title: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
tableRef: {
|
|
8
|
+
type: import('vue').PropType<any>;
|
|
9
|
+
};
|
|
10
|
+
columns: {
|
|
11
|
+
type: import('vue').PropType<TableColumnList>;
|
|
12
|
+
default: () => any[];
|
|
13
|
+
};
|
|
14
|
+
isExpandAll: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
tableKey: {
|
|
19
|
+
type: import('vue').PropType<string | number>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("fullscreen" | "refresh")[], "fullscreen" | "refresh", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
23
|
+
title: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
tableRef: {
|
|
28
|
+
type: import('vue').PropType<any>;
|
|
29
|
+
};
|
|
30
|
+
columns: {
|
|
31
|
+
type: import('vue').PropType<TableColumnList>;
|
|
32
|
+
default: () => any[];
|
|
33
|
+
};
|
|
34
|
+
isExpandAll: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
tableKey: {
|
|
39
|
+
type: import('vue').PropType<string | number>;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}>> & Readonly<{
|
|
43
|
+
onFullscreen?: (...args: any[]) => any;
|
|
44
|
+
onRefresh?: (...args: any[]) => any;
|
|
45
|
+
}>, {
|
|
46
|
+
title: string;
|
|
47
|
+
columns: TableColumnList;
|
|
48
|
+
tableKey: string | number;
|
|
49
|
+
isExpandAll: boolean;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
51
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../components/ReTable/RePureTableBar/index.ts"],"names":[],"mappings":"AAGA,uFAAuF;AACvF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAA8B,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/** 头部最左边的标题 */
|
|
5
|
+
title: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/** 对于树形表格,如果想启用展开和折叠功能,传入当前表格的ref即可 */
|
|
10
|
+
tableRef: {
|
|
11
|
+
type: PropType<any>;
|
|
12
|
+
};
|
|
13
|
+
/** 需要展示的列 */
|
|
14
|
+
columns: {
|
|
15
|
+
type: PropType<TableColumnList>;
|
|
16
|
+
default: () => any[];
|
|
17
|
+
};
|
|
18
|
+
isExpandAll: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
tableKey: {
|
|
23
|
+
type: PropType<string | number>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("fullscreen" | "refresh")[], "fullscreen" | "refresh", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
|
+
/** 头部最左边的标题 */
|
|
28
|
+
title: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
/** 对于树形表格,如果想启用展开和折叠功能,传入当前表格的ref即可 */
|
|
33
|
+
tableRef: {
|
|
34
|
+
type: PropType<any>;
|
|
35
|
+
};
|
|
36
|
+
/** 需要展示的列 */
|
|
37
|
+
columns: {
|
|
38
|
+
type: PropType<TableColumnList>;
|
|
39
|
+
default: () => any[];
|
|
40
|
+
};
|
|
41
|
+
isExpandAll: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
tableKey: {
|
|
46
|
+
type: PropType<string | number>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{
|
|
50
|
+
onFullscreen?: (...args: any[]) => any;
|
|
51
|
+
onRefresh?: (...args: any[]) => any;
|
|
52
|
+
}>, {
|
|
53
|
+
title: string;
|
|
54
|
+
columns: TableColumnList;
|
|
55
|
+
tableKey: string | number;
|
|
56
|
+
isExpandAll: boolean;
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
58
|
+
export default _default;
|
|
59
|
+
//# sourceMappingURL=bar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bar.d.ts","sourceRoot":"","sources":["../../../../../components/ReTable/RePureTableBar/src/bar.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,KAAK,QAAQ,EAA8E,MAAM,KAAK,CAAC;;IAa9G,eAAe;;;;;IAKf,uCAAuC;;cAEtB,QAAQ,CAAC,GAAG,CAAC;;IAE9B,aAAa;;cAEG,QAAQ,CAAC,eAAe,CAAC;;;;;;;;cAQd,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;;IAnBpD,eAAe;;;;;IAKf,uCAAuC;;cAEtB,QAAQ,CAAC,GAAG,CAAC;;IAE9B,aAAa;;cAEG,QAAQ,CAAC,eAAe,CAAC;;;;;;;;cAQd,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC;;;;;;;;;;;;AAKrD,wBA6UG"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
2
|
+
modelValue?: any;
|
|
3
|
+
title?: any;
|
|
4
|
+
columns?: any;
|
|
5
|
+
loading?: any;
|
|
6
|
+
dataList?: any;
|
|
7
|
+
params?: any;
|
|
8
|
+
onSearch?: any;
|
|
9
|
+
handleBatchDelete?: any;
|
|
10
|
+
tableKey?: any;
|
|
11
|
+
isExpandAll?: any;
|
|
12
|
+
}, {
|
|
13
|
+
selectRowList: any;
|
|
14
|
+
buttonClass: any;
|
|
15
|
+
setPagination: any;
|
|
16
|
+
handleSearchRest: any;
|
|
17
|
+
getSelectionRows: any;
|
|
18
|
+
clearSelection: any;
|
|
19
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (...args: any[]) => void;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
22
|
+
modelValue?: any;
|
|
23
|
+
title?: any;
|
|
24
|
+
columns?: any;
|
|
25
|
+
loading?: any;
|
|
26
|
+
dataList?: any;
|
|
27
|
+
params?: any;
|
|
28
|
+
onSearch?: any;
|
|
29
|
+
handleBatchDelete?: any;
|
|
30
|
+
tableKey?: any;
|
|
31
|
+
isExpandAll?: any;
|
|
32
|
+
}> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
35
|
+
buttons?(_: {
|
|
36
|
+
dynamicColumns: any;
|
|
37
|
+
}): any;
|
|
38
|
+
batch?(_: {}): any;
|
|
39
|
+
empty?(_: {}): any;
|
|
40
|
+
append?(_: {}): any;
|
|
41
|
+
operateHeader?(_: {}): any;
|
|
42
|
+
operation?(_: {
|
|
43
|
+
row: any;
|
|
44
|
+
}): any;
|
|
45
|
+
}>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../components/ReTable/ReTable/index.vue"],"names":[],"mappings":"AAuCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAoO8B,GAAG;mBACL,GAAG;mBACH,GAAG;oBACF,GAAG;2BACI,GAAG;;;QACP,GAAG;;AAjOnC,wBAqRI;AAAA,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QACtD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/ReTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,yBAAyB,CAAC;AAClD,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './ReCol';
|
|
2
|
+
export * from './ReCropper';
|
|
3
|
+
export * from './ReDateTimePicker';
|
|
4
|
+
export * from './ReDialog/index';
|
|
5
|
+
export * from './ReDocument/index';
|
|
6
|
+
export * from './ReFile';
|
|
7
|
+
export * from './ReForm';
|
|
8
|
+
export * from './ReIcon';
|
|
9
|
+
export * from './ReTable';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { InjectionKey } from 'vue';
|
|
2
|
+
|
|
3
|
+
export interface UploadResponse {
|
|
4
|
+
id?: string | number | bigint;
|
|
5
|
+
name?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}
|
|
9
|
+
export interface FileNameItem {
|
|
10
|
+
id: string | number | bigint;
|
|
11
|
+
name: string;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
export interface FileNameListResponse {
|
|
15
|
+
list: FileNameItem[];
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
export interface GlobalConfig {
|
|
19
|
+
getDownloadFileUrl: (id: string | number | bigint) => string;
|
|
20
|
+
getFileNameList: (data?: Record<string, unknown>) => Promise<FileNameListResponse>;
|
|
21
|
+
upload: (data?: BodyInit | Record<string, unknown>) => Promise<UploadResponse>;
|
|
22
|
+
transformI18n: (data?: any) => any;
|
|
23
|
+
getToken: () => string;
|
|
24
|
+
}
|
|
25
|
+
export declare const GLOBAL_CONFIG_KEY: InjectionKey<GlobalConfig>;
|
|
26
|
+
export declare const defaultConfig: GlobalConfig;
|
|
27
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAExC,MAAM,WAAW,cAAc;IAC9B,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IAC5B,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACpC,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACvB;AAED,MAAM,WAAW,YAAY;IAC5B,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC;IAC7D,eAAe,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACnF,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;IAC/E,aAAa,EAAE,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;IACnC,QAAQ,EAAE,MAAM,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,YAAY,CAA2B,CAAC;AAErF,eAAO,MAAM,aAAa,EAAE,YAQ3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../directives/copy/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,KAAK,CAAC;AAEvD,MAAM,WAAW,MAAO,SAAQ,WAAW;IAC1C,SAAS,EAAE,MAAM,CAAC;CAClB;AAED,qBAAqB;AACrB,eAAO,MAAM,IAAI,EAAE,SAkBlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../directives/index.ts"],"names":[],"mappings":"AACA,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../directives/longpress/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAoB,MAAM,KAAK,CAAC;AAGvD,eAAO,MAAM,SAAS,EAAE,SA0DvB,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { App, Plugin } from 'vue';
|
|
2
|
+
import { GlobalConfig } from './config';
|
|
3
|
+
import { addDialog, closeAllDialog, closeDialog, dialogStore, updateDialog } from './components';
|
|
4
|
+
|
|
5
|
+
export type SlElUtilsPlugin = Plugin & {
|
|
6
|
+
install: (app: App, config?: Partial<GlobalConfig>) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const install: SlElUtilsPlugin["install"];
|
|
9
|
+
declare const SlElUtils: SlElUtilsPlugin;
|
|
10
|
+
export * from './components';
|
|
11
|
+
export * from './config';
|
|
12
|
+
export * from './directives';
|
|
13
|
+
export * from './utils/date_utils';
|
|
14
|
+
export * from './utils/hooks';
|
|
15
|
+
export * from './utils/message';
|
|
16
|
+
export * from './utils/print_author';
|
|
17
|
+
export { addDialog, closeAllDialog, closeDialog, dialogStore, updateDialog, };
|
|
18
|
+
export default SlElUtils;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAoC,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AAC/E,OAAO,EAkBN,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,YAAY,EACZ,MAAM,cAAc,CAAC;AAsBtB,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG;IACtC,OAAO,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,IAAI,CAAC;CAC5D,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,SAAS,CAa9C,CAAC;AAEF,QAAA,MAAM,SAAS,EAAE,eAEhB,CAAC;AAEF,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AAErC,OAAO,EACN,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,YAAY,GACZ,CAAC;AAEF,eAAe,SAAS,CAAC"}
|