@xinlian-frontend/lui 0.0.1-beta.5
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 +22 -0
- package/assets/style.css +1 -0
- package/components/ApprovalSteps/index.d.ts +11 -0
- package/components/ApprovalSteps/index.vue.d.ts +10 -0
- package/components/ApprovalSteps/privite-type.d.ts +381 -0
- package/components/ApprovalSteps/type.d.ts +61 -0
- package/components/FilePreview/file-preview.vue.d.ts +6 -0
- package/components/FilePreview/index.d.ts +7 -0
- package/components/button/button.vue.d.ts +3 -0
- package/components/button/index.d.ts +4 -0
- package/components/button/type.d.ts +1 -0
- package/components/detail-layout/detail-layout.vue.d.ts +42 -0
- package/components/detail-layout/index.d.ts +2 -0
- package/components/detail-layout/type.d.ts +9 -0
- package/components/drawer/index.d.ts +107 -0
- package/components/drawer/index.vue.d.ts +51 -0
- package/components/drawer/type.d.ts +1 -0
- package/components/error-page/404.vue.d.ts +3 -0
- package/components/error-page/index.d.ts +4 -0
- package/components/filter-panel/filter-panel.vue.d.ts +36 -0
- package/components/filter-panel/index.d.ts +79 -0
- package/components/filter-panel/type.d.ts +28 -0
- package/components/fixed-footer/fixed-footer.vue.d.ts +13 -0
- package/components/fixed-footer/index.d.ts +2 -0
- package/components/form-footer/form-footer.vue.d.ts +13 -0
- package/components/form-footer/index.d.ts +15 -0
- package/components/form-footer/type.d.ts +36 -0
- package/components/form-section-page/form-section-page.vue.d.ts +13 -0
- package/components/form-section-page/index.d.ts +3 -0
- package/components/form-submit-page/form-submit-page-card.vue.d.ts +22 -0
- package/components/form-submit-page/form-submit-page.vue.d.ts +79 -0
- package/components/form-submit-page/index.d.ts +4 -0
- package/components/info-layout/index.d.ts +50 -0
- package/components/info-layout/info-layout.vue.d.ts +28 -0
- package/components/info-layout/type.d.ts +6 -0
- package/components/modal/index.d.ts +44 -0
- package/components/modal/index.vue.d.ts +25 -0
- package/components/page-table/index.d.ts +204 -0
- package/components/page-table/page-table.vue.d.ts +95 -0
- package/components/page-table/setting.vue.d.ts +10 -0
- package/components/page-table/type.d.ts +19 -0
- package/components/role-tree/index.d.ts +23 -0
- package/components/role-tree/role-tree-item.vue.d.ts +17 -0
- package/components/role-tree/role-tree.vue.d.ts +21 -0
- package/components/role-tree/type.d.ts +13 -0
- package/components/second-bar/SecondBar.vue.d.ts +16 -0
- package/components/second-bar/index.d.ts +22 -0
- package/components/section-block/index.d.ts +2 -0
- package/components/section-block/section-block.vue.d.ts +31 -0
- package/components/sign-status-flow/index.d.ts +12 -0
- package/components/sign-status-flow/sign-status-flow.vue.d.ts +9 -0
- package/components/sign-status-flow/type.d.ts +8 -0
- package/components/upload-file/constant.d.ts +18 -0
- package/components/upload-file/index.d.ts +170 -0
- package/components/upload-file/service.d.ts +4 -0
- package/components/upload-file/type.d.ts +8 -0
- package/components/upload-file/upload-file.vue.d.ts +48 -0
- package/components/upload-file/upload-image.vue.d.ts +46 -0
- package/exported-components.d.ts +19 -0
- package/index.d.ts +2 -0
- package/l-ui.es.js +3823 -0
- package/package.json +32 -0
- package/type.d.ts +9 -0
- package/utils/index.d.ts +3 -0
- package/vue-office-docx.js +5857 -0
- package/vue-office-excel.js +64323 -0
- package/vue-office-pdf.js +2012 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../../utils';
|
|
2
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
+
import { LUploadFileList } from './type';
|
|
4
|
+
declare const LUploadFile: SFCWithInstall<{
|
|
5
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<Partial<{
|
|
6
|
+
type?: "normal" | "inline";
|
|
7
|
+
readonly?: boolean;
|
|
8
|
+
accept?: string;
|
|
9
|
+
hint?: string;
|
|
10
|
+
modelValue?: LUploadFileList;
|
|
11
|
+
action?: string;
|
|
12
|
+
uploadText?: string;
|
|
13
|
+
headers?: any;
|
|
14
|
+
maxCount?: number;
|
|
15
|
+
maxSizeMb?: number;
|
|
16
|
+
}>> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:modelValue": (value?: LUploadFileList | undefined) => any;
|
|
20
|
+
}, PublicProps, {
|
|
21
|
+
type: "normal" | "inline";
|
|
22
|
+
modelValue: LUploadFileList;
|
|
23
|
+
accept: string;
|
|
24
|
+
action: string;
|
|
25
|
+
uploadText: string;
|
|
26
|
+
headers: any;
|
|
27
|
+
maxCount: number;
|
|
28
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly<Partial<{
|
|
36
|
+
type?: "normal" | "inline";
|
|
37
|
+
readonly?: boolean;
|
|
38
|
+
accept?: string;
|
|
39
|
+
hint?: string;
|
|
40
|
+
modelValue?: LUploadFileList;
|
|
41
|
+
action?: string;
|
|
42
|
+
uploadText?: string;
|
|
43
|
+
headers?: any;
|
|
44
|
+
maxCount?: number;
|
|
45
|
+
maxSizeMb?: number;
|
|
46
|
+
}>> & Readonly<{
|
|
47
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
48
|
+
}>, {}, {}, {}, {}, {
|
|
49
|
+
type: "normal" | "inline";
|
|
50
|
+
modelValue: LUploadFileList;
|
|
51
|
+
accept: string;
|
|
52
|
+
action: string;
|
|
53
|
+
uploadText: string;
|
|
54
|
+
headers: any;
|
|
55
|
+
maxCount: number;
|
|
56
|
+
}>;
|
|
57
|
+
__isFragment?: never;
|
|
58
|
+
__isTeleport?: never;
|
|
59
|
+
__isSuspense?: never;
|
|
60
|
+
} & ComponentOptionsBase<Readonly<Partial<{
|
|
61
|
+
type?: "normal" | "inline";
|
|
62
|
+
readonly?: boolean;
|
|
63
|
+
accept?: string;
|
|
64
|
+
hint?: string;
|
|
65
|
+
modelValue?: LUploadFileList;
|
|
66
|
+
action?: string;
|
|
67
|
+
uploadText?: string;
|
|
68
|
+
headers?: any;
|
|
69
|
+
maxCount?: number;
|
|
70
|
+
maxSizeMb?: number;
|
|
71
|
+
}>> & Readonly<{
|
|
72
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
73
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
74
|
+
"update:modelValue": (value?: LUploadFileList | undefined) => any;
|
|
75
|
+
}, string, {
|
|
76
|
+
type: "normal" | "inline";
|
|
77
|
+
modelValue: LUploadFileList;
|
|
78
|
+
accept: string;
|
|
79
|
+
action: string;
|
|
80
|
+
uploadText: string;
|
|
81
|
+
headers: any;
|
|
82
|
+
maxCount: number;
|
|
83
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
84
|
+
$slots: {
|
|
85
|
+
default?: (props: {}) => any;
|
|
86
|
+
};
|
|
87
|
+
})> & Record<string, any>;
|
|
88
|
+
declare const LUploadImage: SFCWithInstall<{
|
|
89
|
+
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<Partial<{
|
|
90
|
+
type?: "normal" | "inline";
|
|
91
|
+
readonly?: boolean;
|
|
92
|
+
accept?: string;
|
|
93
|
+
hint?: string;
|
|
94
|
+
modelValue?: LUploadFileList;
|
|
95
|
+
action?: string;
|
|
96
|
+
uploadText?: string;
|
|
97
|
+
headers?: any;
|
|
98
|
+
maxCount?: number;
|
|
99
|
+
}>> & Readonly<{
|
|
100
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
101
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
102
|
+
"update:modelValue": (value?: LUploadFileList | undefined) => any;
|
|
103
|
+
}, PublicProps, {
|
|
104
|
+
type: "normal" | "inline";
|
|
105
|
+
modelValue: LUploadFileList;
|
|
106
|
+
accept: string;
|
|
107
|
+
action: string;
|
|
108
|
+
uploadText: string;
|
|
109
|
+
headers: any;
|
|
110
|
+
maxCount: number;
|
|
111
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
112
|
+
P: {};
|
|
113
|
+
B: {};
|
|
114
|
+
D: {};
|
|
115
|
+
C: {};
|
|
116
|
+
M: {};
|
|
117
|
+
Defaults: {};
|
|
118
|
+
}, Readonly<Partial<{
|
|
119
|
+
type?: "normal" | "inline";
|
|
120
|
+
readonly?: boolean;
|
|
121
|
+
accept?: string;
|
|
122
|
+
hint?: string;
|
|
123
|
+
modelValue?: LUploadFileList;
|
|
124
|
+
action?: string;
|
|
125
|
+
uploadText?: string;
|
|
126
|
+
headers?: any;
|
|
127
|
+
maxCount?: number;
|
|
128
|
+
}>> & Readonly<{
|
|
129
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
130
|
+
}>, {}, {}, {}, {}, {
|
|
131
|
+
type: "normal" | "inline";
|
|
132
|
+
modelValue: LUploadFileList;
|
|
133
|
+
accept: string;
|
|
134
|
+
action: string;
|
|
135
|
+
uploadText: string;
|
|
136
|
+
headers: any;
|
|
137
|
+
maxCount: number;
|
|
138
|
+
}>;
|
|
139
|
+
__isFragment?: never;
|
|
140
|
+
__isTeleport?: never;
|
|
141
|
+
__isSuspense?: never;
|
|
142
|
+
} & ComponentOptionsBase<Readonly<Partial<{
|
|
143
|
+
type?: "normal" | "inline";
|
|
144
|
+
readonly?: boolean;
|
|
145
|
+
accept?: string;
|
|
146
|
+
hint?: string;
|
|
147
|
+
modelValue?: LUploadFileList;
|
|
148
|
+
action?: string;
|
|
149
|
+
uploadText?: string;
|
|
150
|
+
headers?: any;
|
|
151
|
+
maxCount?: number;
|
|
152
|
+
}>> & Readonly<{
|
|
153
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
154
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
155
|
+
"update:modelValue": (value?: LUploadFileList | undefined) => any;
|
|
156
|
+
}, string, {
|
|
157
|
+
type: "normal" | "inline";
|
|
158
|
+
modelValue: LUploadFileList;
|
|
159
|
+
accept: string;
|
|
160
|
+
action: string;
|
|
161
|
+
uploadText: string;
|
|
162
|
+
headers: any;
|
|
163
|
+
maxCount: number;
|
|
164
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
165
|
+
$slots: {
|
|
166
|
+
default?: (props: {}) => any;
|
|
167
|
+
};
|
|
168
|
+
})> & Record<string, any>;
|
|
169
|
+
export default LUploadFile;
|
|
170
|
+
export { LUploadImage };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { LUploadFileList } from './type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare var __VLS_10: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_10) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<Partial<{
|
|
8
|
+
type?: "normal" | "inline";
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
accept?: string;
|
|
11
|
+
hint?: string;
|
|
12
|
+
modelValue?: LUploadFileList;
|
|
13
|
+
action?: string;
|
|
14
|
+
uploadText?: string;
|
|
15
|
+
headers?: any;
|
|
16
|
+
maxCount?: number;
|
|
17
|
+
maxSizeMb?: number;
|
|
18
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
19
|
+
"update:modelValue": (value?: LUploadFileList | undefined) => any;
|
|
20
|
+
}, string, PublicProps, Readonly<Partial<{
|
|
21
|
+
type?: "normal" | "inline";
|
|
22
|
+
readonly?: boolean;
|
|
23
|
+
accept?: string;
|
|
24
|
+
hint?: string;
|
|
25
|
+
modelValue?: LUploadFileList;
|
|
26
|
+
action?: string;
|
|
27
|
+
uploadText?: string;
|
|
28
|
+
headers?: any;
|
|
29
|
+
maxCount?: number;
|
|
30
|
+
maxSizeMb?: number;
|
|
31
|
+
}>> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
type: "normal" | "inline";
|
|
35
|
+
modelValue: LUploadFileList;
|
|
36
|
+
accept: string;
|
|
37
|
+
action: string;
|
|
38
|
+
uploadText: string;
|
|
39
|
+
headers: any;
|
|
40
|
+
maxCount: number;
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { LUploadFileList } from './type';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare var __VLS_10: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
default?: (props: typeof __VLS_10) => any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<Partial<{
|
|
8
|
+
type?: "normal" | "inline";
|
|
9
|
+
readonly?: boolean;
|
|
10
|
+
accept?: string;
|
|
11
|
+
hint?: string;
|
|
12
|
+
modelValue?: LUploadFileList;
|
|
13
|
+
action?: string;
|
|
14
|
+
uploadText?: string;
|
|
15
|
+
headers?: any;
|
|
16
|
+
maxCount?: number;
|
|
17
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
"update:modelValue": (value?: LUploadFileList | undefined) => any;
|
|
19
|
+
}, string, PublicProps, Readonly<Partial<{
|
|
20
|
+
type?: "normal" | "inline";
|
|
21
|
+
readonly?: boolean;
|
|
22
|
+
accept?: string;
|
|
23
|
+
hint?: string;
|
|
24
|
+
modelValue?: LUploadFileList;
|
|
25
|
+
action?: string;
|
|
26
|
+
uploadText?: string;
|
|
27
|
+
headers?: any;
|
|
28
|
+
maxCount?: number;
|
|
29
|
+
}>> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((value?: LUploadFileList | undefined) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
type: "normal" | "inline";
|
|
33
|
+
modelValue: LUploadFileList;
|
|
34
|
+
accept: string;
|
|
35
|
+
action: string;
|
|
36
|
+
uploadText: string;
|
|
37
|
+
headers: any;
|
|
38
|
+
maxCount: number;
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as LApprovalSteps } from './components/ApprovalSteps';
|
|
2
|
+
export { default as LDetailLayout } from './components/detail-layout';
|
|
3
|
+
export { default as LDrawer } from './components/drawer';
|
|
4
|
+
export { default as LPageNotFound } from './components/error-page';
|
|
5
|
+
export { default as LFilePreview } from './components/FilePreview';
|
|
6
|
+
export { default as LFilterPanel } from './components/filter-panel';
|
|
7
|
+
export { default as LFixedFooter } from './components/fixed-footer';
|
|
8
|
+
export { default as LFormSectionPage } from './components/form-section-page';
|
|
9
|
+
export { default as LFormSubmitPage } from './components/form-submit-page';
|
|
10
|
+
export { default as LFormSubmitPageCard } from './components/form-submit-page/form-submit-page-card.vue';
|
|
11
|
+
export { default as LInfoLayout } from './components/info-layout';
|
|
12
|
+
export { default as LModal } from './components/modal';
|
|
13
|
+
export { default as LPageTable } from './components/page-table';
|
|
14
|
+
export { default as LRoleTree } from './components/role-tree';
|
|
15
|
+
export { default as LSecondBar } from './components/second-bar';
|
|
16
|
+
export { default as LSectionBlock } from './components/section-block';
|
|
17
|
+
export { default as LSignStatusFlow } from './components/sign-status-flow';
|
|
18
|
+
export { default as LUploadFile } from './components/upload-file';
|
|
19
|
+
export { LUploadImage } from './components/upload-file';
|
package/index.d.ts
ADDED