@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.
Files changed (67) hide show
  1. package/README.md +22 -0
  2. package/assets/style.css +1 -0
  3. package/components/ApprovalSteps/index.d.ts +11 -0
  4. package/components/ApprovalSteps/index.vue.d.ts +10 -0
  5. package/components/ApprovalSteps/privite-type.d.ts +381 -0
  6. package/components/ApprovalSteps/type.d.ts +61 -0
  7. package/components/FilePreview/file-preview.vue.d.ts +6 -0
  8. package/components/FilePreview/index.d.ts +7 -0
  9. package/components/button/button.vue.d.ts +3 -0
  10. package/components/button/index.d.ts +4 -0
  11. package/components/button/type.d.ts +1 -0
  12. package/components/detail-layout/detail-layout.vue.d.ts +42 -0
  13. package/components/detail-layout/index.d.ts +2 -0
  14. package/components/detail-layout/type.d.ts +9 -0
  15. package/components/drawer/index.d.ts +107 -0
  16. package/components/drawer/index.vue.d.ts +51 -0
  17. package/components/drawer/type.d.ts +1 -0
  18. package/components/error-page/404.vue.d.ts +3 -0
  19. package/components/error-page/index.d.ts +4 -0
  20. package/components/filter-panel/filter-panel.vue.d.ts +36 -0
  21. package/components/filter-panel/index.d.ts +79 -0
  22. package/components/filter-panel/type.d.ts +28 -0
  23. package/components/fixed-footer/fixed-footer.vue.d.ts +13 -0
  24. package/components/fixed-footer/index.d.ts +2 -0
  25. package/components/form-footer/form-footer.vue.d.ts +13 -0
  26. package/components/form-footer/index.d.ts +15 -0
  27. package/components/form-footer/type.d.ts +36 -0
  28. package/components/form-section-page/form-section-page.vue.d.ts +13 -0
  29. package/components/form-section-page/index.d.ts +3 -0
  30. package/components/form-submit-page/form-submit-page-card.vue.d.ts +22 -0
  31. package/components/form-submit-page/form-submit-page.vue.d.ts +79 -0
  32. package/components/form-submit-page/index.d.ts +4 -0
  33. package/components/info-layout/index.d.ts +50 -0
  34. package/components/info-layout/info-layout.vue.d.ts +28 -0
  35. package/components/info-layout/type.d.ts +6 -0
  36. package/components/modal/index.d.ts +44 -0
  37. package/components/modal/index.vue.d.ts +25 -0
  38. package/components/page-table/index.d.ts +204 -0
  39. package/components/page-table/page-table.vue.d.ts +95 -0
  40. package/components/page-table/setting.vue.d.ts +10 -0
  41. package/components/page-table/type.d.ts +19 -0
  42. package/components/role-tree/index.d.ts +23 -0
  43. package/components/role-tree/role-tree-item.vue.d.ts +17 -0
  44. package/components/role-tree/role-tree.vue.d.ts +21 -0
  45. package/components/role-tree/type.d.ts +13 -0
  46. package/components/second-bar/SecondBar.vue.d.ts +16 -0
  47. package/components/second-bar/index.d.ts +22 -0
  48. package/components/section-block/index.d.ts +2 -0
  49. package/components/section-block/section-block.vue.d.ts +31 -0
  50. package/components/sign-status-flow/index.d.ts +12 -0
  51. package/components/sign-status-flow/sign-status-flow.vue.d.ts +9 -0
  52. package/components/sign-status-flow/type.d.ts +8 -0
  53. package/components/upload-file/constant.d.ts +18 -0
  54. package/components/upload-file/index.d.ts +170 -0
  55. package/components/upload-file/service.d.ts +4 -0
  56. package/components/upload-file/type.d.ts +8 -0
  57. package/components/upload-file/upload-file.vue.d.ts +48 -0
  58. package/components/upload-file/upload-image.vue.d.ts +46 -0
  59. package/exported-components.d.ts +19 -0
  60. package/index.d.ts +2 -0
  61. package/l-ui.es.js +3823 -0
  62. package/package.json +32 -0
  63. package/type.d.ts +9 -0
  64. package/utils/index.d.ts +3 -0
  65. package/vue-office-docx.js +5857 -0
  66. package/vue-office-excel.js +64323 -0
  67. package/vue-office-pdf.js +2012 -0
@@ -0,0 +1,25 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ modelValue?: boolean;
4
+ title?: string;
5
+ };
6
+ declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_6) => any;
9
+ } & {
10
+ title?: (props: typeof __VLS_8) => any;
11
+ } & {
12
+ footer?: (props: typeof __VLS_10) => any;
13
+ };
14
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
+ "update:modelValue": (...args: any[]) => void;
16
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
17
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,204 @@
1
+ import { SFCWithInstall } from '../../utils';
2
+ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
3
+ import { LPageTableColumn, LPageType, Done, LTableSortInfo } from './type';
4
+ import { LFilterPanelItem } from '../filter-panel';
5
+ import { TableProps, ColumnType } from 'ant-design-vue';
6
+ import { PromisifyFn } from '@vueuse/core';
7
+ declare const LPageTable: SFCWithInstall<{
8
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly<{
9
+ data: Record<string, any>[];
10
+ columns: LPageTableColumn[];
11
+ filterItems?: LFilterPanelItem[];
12
+ autoSearch?: boolean;
13
+ showFilter?: boolean;
14
+ showRefresh?: boolean;
15
+ showAction?: boolean;
16
+ showRadio?: boolean;
17
+ showSelection?: boolean;
18
+ showPage?: boolean;
19
+ showSetting?: boolean;
20
+ radioSelected?: number | string;
21
+ selectionSelected?: (number | string)[];
22
+ condition?: Record<string, any>;
23
+ page?: LPageType;
24
+ refreshLoading?: boolean;
25
+ card?: boolean;
26
+ bordered?: boolean;
27
+ rowKey?: string;
28
+ rowSelection?: TableProps["rowSelection"];
29
+ }> & Readonly<{
30
+ onRefresh?: ((done: Done) => any) | undefined;
31
+ onReset?: (() => any) | undefined;
32
+ "onUpdate:page"?: ((value: LPageType) => any) | undefined;
33
+ "onUpdate:condition"?: ((value: Record<string, any>) => any) | undefined;
34
+ "onUpdate:sortInfo"?: ((value: LTableSortInfo) => any) | undefined;
35
+ "onUpdate:columns"?: ((value: LPageTableColumn<undefined>[]) => any) | undefined;
36
+ "onUpdate:selection-selected"?: ((value: (string | number)[]) => any) | undefined;
37
+ "onUpdate:radio-selected"?: ((value: string | number) => any) | undefined;
38
+ }>, {
39
+ refresh: PromisifyFn<() => void>;
40
+ getRootTableRef(): any;
41
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
42
+ refresh: (done: Done) => any;
43
+ reset: () => any;
44
+ "update:page": (value: LPageType) => any;
45
+ "update:condition": (value: Record<string, any>) => any;
46
+ "update:sortInfo": (value: LTableSortInfo) => any;
47
+ "update:columns": (value: LPageTableColumn<undefined>[]) => any;
48
+ "update:selection-selected": (value: (string | number)[]) => any;
49
+ "update:radio-selected": (value: string | number) => any;
50
+ }, PublicProps, {
51
+ bordered: boolean;
52
+ card: boolean;
53
+ showRefresh: boolean;
54
+ page: LPageType;
55
+ filterItems: LFilterPanelItem[];
56
+ showAction: boolean;
57
+ rowKey: string;
58
+ autoSearch: boolean;
59
+ showFilter: boolean;
60
+ showPage: boolean;
61
+ showSetting: boolean;
62
+ condition: Record<string, any>;
63
+ refreshLoading: boolean;
64
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
65
+ P: {};
66
+ B: {};
67
+ D: {};
68
+ C: {};
69
+ M: {};
70
+ Defaults: {};
71
+ }, Readonly<{
72
+ data: Record<string, any>[];
73
+ columns: LPageTableColumn[];
74
+ filterItems?: LFilterPanelItem[];
75
+ autoSearch?: boolean;
76
+ showFilter?: boolean;
77
+ showRefresh?: boolean;
78
+ showAction?: boolean;
79
+ showRadio?: boolean;
80
+ showSelection?: boolean;
81
+ showPage?: boolean;
82
+ showSetting?: boolean;
83
+ radioSelected?: number | string;
84
+ selectionSelected?: (number | string)[];
85
+ condition?: Record<string, any>;
86
+ page?: LPageType;
87
+ refreshLoading?: boolean;
88
+ card?: boolean;
89
+ bordered?: boolean;
90
+ rowKey?: string;
91
+ rowSelection?: TableProps["rowSelection"];
92
+ }> & Readonly<{
93
+ onRefresh?: ((done: Done) => any) | undefined;
94
+ onReset?: (() => any) | undefined;
95
+ "onUpdate:page"?: ((value: LPageType) => any) | undefined;
96
+ "onUpdate:condition"?: ((value: Record<string, any>) => any) | undefined;
97
+ "onUpdate:sortInfo"?: ((value: LTableSortInfo) => any) | undefined;
98
+ "onUpdate:columns"?: ((value: LPageTableColumn<undefined>[]) => any) | undefined;
99
+ "onUpdate:selection-selected"?: ((value: (string | number)[]) => any) | undefined;
100
+ "onUpdate:radio-selected"?: ((value: string | number) => any) | undefined;
101
+ }>, {
102
+ refresh: PromisifyFn<() => void>;
103
+ getRootTableRef(): any;
104
+ }, {}, {}, {}, {
105
+ bordered: boolean;
106
+ card: boolean;
107
+ showRefresh: boolean;
108
+ page: LPageType;
109
+ filterItems: LFilterPanelItem[];
110
+ showAction: boolean;
111
+ rowKey: string;
112
+ autoSearch: boolean;
113
+ showFilter: boolean;
114
+ showPage: boolean;
115
+ showSetting: boolean;
116
+ condition: Record<string, any>;
117
+ refreshLoading: boolean;
118
+ }>;
119
+ __isFragment?: never;
120
+ __isTeleport?: never;
121
+ __isSuspense?: never;
122
+ } & ComponentOptionsBase<Readonly<{
123
+ data: Record<string, any>[];
124
+ columns: LPageTableColumn[];
125
+ filterItems?: LFilterPanelItem[];
126
+ autoSearch?: boolean;
127
+ showFilter?: boolean;
128
+ showRefresh?: boolean;
129
+ showAction?: boolean;
130
+ showRadio?: boolean;
131
+ showSelection?: boolean;
132
+ showPage?: boolean;
133
+ showSetting?: boolean;
134
+ radioSelected?: number | string;
135
+ selectionSelected?: (number | string)[];
136
+ condition?: Record<string, any>;
137
+ page?: LPageType;
138
+ refreshLoading?: boolean;
139
+ card?: boolean;
140
+ bordered?: boolean;
141
+ rowKey?: string;
142
+ rowSelection?: TableProps["rowSelection"];
143
+ }> & Readonly<{
144
+ onRefresh?: ((done: Done) => any) | undefined;
145
+ onReset?: (() => any) | undefined;
146
+ "onUpdate:page"?: ((value: LPageType) => any) | undefined;
147
+ "onUpdate:condition"?: ((value: Record<string, any>) => any) | undefined;
148
+ "onUpdate:sortInfo"?: ((value: LTableSortInfo) => any) | undefined;
149
+ "onUpdate:columns"?: ((value: LPageTableColumn<undefined>[]) => any) | undefined;
150
+ "onUpdate:selection-selected"?: ((value: (string | number)[]) => any) | undefined;
151
+ "onUpdate:radio-selected"?: ((value: string | number) => any) | undefined;
152
+ }>, {
153
+ refresh: PromisifyFn<() => void>;
154
+ getRootTableRef(): any;
155
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
156
+ refresh: (done: Done) => any;
157
+ reset: () => any;
158
+ "update:page": (value: LPageType) => any;
159
+ "update:condition": (value: Record<string, any>) => any;
160
+ "update:sortInfo": (value: LTableSortInfo) => any;
161
+ "update:columns": (value: LPageTableColumn<undefined>[]) => any;
162
+ "update:selection-selected": (value: (string | number)[]) => any;
163
+ "update:radio-selected": (value: string | number) => any;
164
+ }, string, {
165
+ bordered: boolean;
166
+ card: boolean;
167
+ showRefresh: boolean;
168
+ page: LPageType;
169
+ filterItems: LFilterPanelItem[];
170
+ showAction: boolean;
171
+ rowKey: string;
172
+ autoSearch: boolean;
173
+ showFilter: boolean;
174
+ showPage: boolean;
175
+ showSetting: boolean;
176
+ condition: Record<string, any>;
177
+ refreshLoading: boolean;
178
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
179
+ $slots: {
180
+ [x: `filter-${string}`]: ((props: {}) => any) | undefined;
181
+ } & {
182
+ [x: `${string}-header`]: ((props: {
183
+ title: any;
184
+ column: ColumnType<any>;
185
+ }) => any) | undefined;
186
+ } & {
187
+ [x: string]: ((props: {
188
+ text: any;
189
+ value: any;
190
+ record: Record<string, any>;
191
+ index: number;
192
+ column: ColumnType<any>;
193
+ }) => any) | undefined;
194
+ } & {
195
+ action?: (props: {}) => any;
196
+ } & {
197
+ expandedRowRender?: (props: any) => any;
198
+ } & {
199
+ expandColumnTitle?: (props: any) => any;
200
+ } & {
201
+ summary?: (props: {}) => any;
202
+ };
203
+ })> & Record<string, any>;
204
+ export default LPageTable;
@@ -0,0 +1,95 @@
1
+ import { Done, LPageTableColumn, LPageType, LTableSortInfo } from './type';
2
+ import { TableProps, ColumnType } from 'ant-design-vue';
3
+ import { LFilterPanelItem } from '../filter-panel';
4
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
+ import { PromisifyFn } from '@vueuse/core';
6
+ type __VLS_Props = {
7
+ data: Record<string, any>[];
8
+ columns: LPageTableColumn[];
9
+ filterItems?: LFilterPanelItem[];
10
+ autoSearch?: boolean;
11
+ showFilter?: boolean;
12
+ showRefresh?: boolean;
13
+ showAction?: boolean;
14
+ showRadio?: boolean;
15
+ showSelection?: boolean;
16
+ showPage?: boolean;
17
+ showSetting?: boolean;
18
+ radioSelected?: number | string;
19
+ selectionSelected?: (number | string)[];
20
+ condition?: Record<string, any>;
21
+ page?: LPageType;
22
+ refreshLoading?: boolean;
23
+ card?: boolean;
24
+ bordered?: boolean;
25
+ rowKey?: string;
26
+ rowSelection?: TableProps['rowSelection'];
27
+ };
28
+ declare var __VLS_16: `filter-${string}`, __VLS_17: {}, __VLS_19: {}, __VLS_92: `${string}-header`, __VLS_93: {
29
+ title: any;
30
+ column: ColumnType<any>;
31
+ }, __VLS_96: string, __VLS_97: {
32
+ text: any;
33
+ value: any;
34
+ record: Record<string, any>;
35
+ index: number;
36
+ column: ColumnType<any>;
37
+ }, __VLS_99: any, __VLS_101: any, __VLS_103: {};
38
+ type __VLS_Slots = {} & {
39
+ [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any;
40
+ } & {
41
+ [K in NonNullable<typeof __VLS_92>]?: (props: typeof __VLS_93) => any;
42
+ } & {
43
+ [K in NonNullable<typeof __VLS_96>]?: (props: typeof __VLS_97) => any;
44
+ } & {
45
+ action?: (props: typeof __VLS_19) => any;
46
+ } & {
47
+ expandedRowRender?: (props: typeof __VLS_99) => any;
48
+ } & {
49
+ expandColumnTitle?: (props: typeof __VLS_101) => any;
50
+ } & {
51
+ summary?: (props: typeof __VLS_103) => any;
52
+ };
53
+ declare const __VLS_component: DefineComponent<__VLS_Props, {
54
+ refresh: PromisifyFn<() => void>;
55
+ getRootTableRef(): any;
56
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
57
+ refresh: (done: Done) => any;
58
+ reset: () => any;
59
+ "update:page": (value: LPageType) => any;
60
+ "update:condition": (value: Record<string, any>) => any;
61
+ "update:sortInfo": (value: LTableSortInfo) => any;
62
+ "update:columns": (value: LPageTableColumn<undefined>[]) => any;
63
+ "update:selection-selected": (value: (string | number)[]) => any;
64
+ "update:radio-selected": (value: string | number) => any;
65
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
66
+ onRefresh?: ((done: Done) => any) | undefined;
67
+ onReset?: (() => any) | undefined;
68
+ "onUpdate:page"?: ((value: LPageType) => any) | undefined;
69
+ "onUpdate:condition"?: ((value: Record<string, any>) => any) | undefined;
70
+ "onUpdate:sortInfo"?: ((value: LTableSortInfo) => any) | undefined;
71
+ "onUpdate:columns"?: ((value: LPageTableColumn<undefined>[]) => any) | undefined;
72
+ "onUpdate:selection-selected"?: ((value: (string | number)[]) => any) | undefined;
73
+ "onUpdate:radio-selected"?: ((value: string | number) => any) | undefined;
74
+ }>, {
75
+ bordered: boolean;
76
+ card: boolean;
77
+ showRefresh: boolean;
78
+ page: LPageType;
79
+ filterItems: LFilterPanelItem[];
80
+ showAction: boolean;
81
+ rowKey: string;
82
+ autoSearch: boolean;
83
+ showFilter: boolean;
84
+ showPage: boolean;
85
+ showSetting: boolean;
86
+ condition: Record<string, any>;
87
+ refreshLoading: boolean;
88
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
89
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
90
+ export default _default;
91
+ type __VLS_WithSlots<T, S> = T & {
92
+ new (): {
93
+ $slots: S;
94
+ };
95
+ };
@@ -0,0 +1,10 @@
1
+ import { LPageTableColumn } from './type';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<{}, {
4
+ open(value: LPageTableColumn[]): void;
5
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ change: (...args: any[]) => void;
7
+ }, string, PublicProps, Readonly<{}> & Readonly<{
8
+ onChange?: ((...args: any[]) => any) | undefined;
9
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import { TableColumnProps } from 'ant-design-vue';
2
+ export interface LPageTableColumn<T extends Record<string, any> | undefined = undefined> extends TableColumnProps {
3
+ dataIndex: T extends object ? keyof T : string;
4
+ visible?: boolean;
5
+ promission?: boolean;
6
+ formatType?: 'Date' | 'DateTime' | 'Money';
7
+ require?: boolean;
8
+ }
9
+ export interface LPageType {
10
+ total?: number;
11
+ pageNum?: number;
12
+ pageSize?: number;
13
+ }
14
+ export type Done = () => void;
15
+ export type LPageTableRefresh = (done: Done) => void;
16
+ export interface LTableSortInfo {
17
+ order?: 'ascend' | 'descend';
18
+ columnKey?: string;
19
+ }
@@ -0,0 +1,23 @@
1
+ import { SFCWithInstall } from '../../utils';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { LMenuTreeOption } from './type';
4
+ declare const LRoleTree: SFCWithInstall<DefineComponent<{
5
+ menu: LMenuTreeOption[];
6
+ modelValue?: Array<string | number>;
7
+ showCheckbox?: boolean;
8
+ }, {
9
+ expandAll: () => void;
10
+ collapseAll: () => void;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
+ "update:modelValue": (value: (string | number)[]) => any;
13
+ }, string, PublicProps, Readonly<{
14
+ menu: LMenuTreeOption[];
15
+ modelValue?: Array<string | number>;
16
+ showCheckbox?: boolean;
17
+ }> & Readonly<{
18
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
19
+ }>, {
20
+ modelValue: Array<string | number>;
21
+ showCheckbox: boolean;
22
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
23
+ export default LRoleTree;
@@ -0,0 +1,17 @@
1
+ import { LMenuTreeOption } from './type';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ menu: LMenuTreeOption[];
5
+ isChild?: boolean;
6
+ indeterminateKeys: Set<string | number>;
7
+ expandedKeys: Set<string | number>;
8
+ showCheckbox?: boolean;
9
+ };
10
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ toggleExpand: (id: string | number) => any;
12
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onToggleExpand?: ((id: string | number) => any) | undefined;
14
+ }>, {
15
+ showCheckbox: boolean;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
17
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { LMenuTreeOption } from './type';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ menu: LMenuTreeOption[];
5
+ modelValue?: Array<string | number>;
6
+ showCheckbox?: boolean;
7
+ };
8
+ declare function expandAll(): void;
9
+ declare function collapseAll(): void;
10
+ declare const _default: DefineComponent<__VLS_Props, {
11
+ expandAll: typeof expandAll;
12
+ collapseAll: typeof collapseAll;
13
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
+ "update:modelValue": (value: (string | number)[]) => any;
15
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
17
+ }>, {
18
+ modelValue: Array<string | number>;
19
+ showCheckbox: boolean;
20
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,13 @@
1
+ /**
2
+ * 菜单树形结构类型
3
+ */
4
+ export interface LMenuTreeOption {
5
+ id: string | number;
6
+ label: string;
7
+ menuName: string;
8
+ parentId: string | number;
9
+ weight: number;
10
+ /** M目录 C菜单 F按钮 */
11
+ menuType: 'M' | 'C' | 'F';
12
+ children?: LMenuTreeOption[];
13
+ }
@@ -0,0 +1,16 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ modelValue: string;
4
+ tabs: {
5
+ label: string;
6
+ value: string;
7
+ }[];
8
+ };
9
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
+ change: (...args: any[]) => void;
11
+ "update:modelValue": (...args: any[]) => void;
12
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
13
+ onChange?: ((...args: any[]) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { SFCWithInstall } from '../../utils';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const LSecondBar: SFCWithInstall<DefineComponent<{
4
+ modelValue: string;
5
+ tabs: {
6
+ label: string;
7
+ value: string;
8
+ }[];
9
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
+ change: (...args: any[]) => void;
11
+ "update:modelValue": (...args: any[]) => void;
12
+ }, string, PublicProps, Readonly<{
13
+ modelValue: string;
14
+ tabs: {
15
+ label: string;
16
+ value: string;
17
+ }[];
18
+ }> & Readonly<{
19
+ onChange?: ((...args: any[]) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
22
+ export default LSecondBar;
@@ -0,0 +1,2 @@
1
+ import { default as SectionBlock } from './section-block.vue';
2
+ export default SectionBlock;
@@ -0,0 +1,31 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type ClassType = string | string[] | Record<string, boolean> | undefined;
3
+ interface Props {
4
+ /** 标题文案 */
5
+ title?: string;
6
+ /** 额外挂在最外层的 class(如 goods-list-section) */
7
+ blockClass?: ClassType;
8
+ /** 是否展示头部,默认为 true */
9
+ showHeader?: boolean;
10
+ loading?: boolean;
11
+ }
12
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_9: {};
13
+ type __VLS_Slots = {} & {
14
+ title?: (props: typeof __VLS_1) => any;
15
+ } & {
16
+ 'header-extra'?: (props: typeof __VLS_3) => any;
17
+ } & {
18
+ default?: (props: typeof __VLS_9) => any;
19
+ };
20
+ declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
21
+ title: string;
22
+ showHeader: boolean;
23
+ blockClass: string | string[] | Record<string, boolean>;
24
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,12 @@
1
+ import { SFCWithInstall } from '../../utils';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { LSignStatusFlowItem } from './type';
4
+ declare const LSignStatusFlow: SFCWithInstall<DefineComponent<{
5
+ items: LSignStatusFlowItem[];
6
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
7
+ items: LSignStatusFlowItem[];
8
+ }> & Readonly<{}>, {
9
+ items: LSignStatusFlowItem[];
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>> & Record<string, any>;
11
+ export default LSignStatusFlow;
12
+ export * from './type';
@@ -0,0 +1,9 @@
1
+ import { LSignStatusFlowItem } from './type';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ items: LSignStatusFlowItem[];
5
+ };
6
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ items: LSignStatusFlowItem[];
8
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export type FlowStatus = '待签署' | '已签署' | '已拒绝' | string;
2
+ export interface LSignStatusFlowItem {
3
+ id?: string | number;
4
+ psnName?: string;
5
+ orgName?: string;
6
+ signResult?: string | number;
7
+ operateTime?: string;
8
+ }
@@ -0,0 +1,18 @@
1
+ export declare const UPLOAD_ACTION_MAP: {
2
+ USER_WEB: {
3
+ upload: string;
4
+ delete: string;
5
+ };
6
+ };
7
+ export declare const UPLOAD_TOKEN_MAP: {
8
+ OP_MANAGE: string;
9
+ OP: string;
10
+ undefined: string;
11
+ };
12
+ export declare const DEFAULT_PROPS: {
13
+ action: string;
14
+ headers: () => {
15
+ Authorization: string;
16
+ clientid: any;
17
+ };
18
+ };