@das-fed/ui 6.4.0-dev.25 → 6.4.0-dev.27
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/package.json +5 -5
- package/packages/business-components/device-panel/index.js +1131 -1114
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/process-search-form/index.js +1 -1
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/hooks/useProcessTable.d.ts +14 -13
- package/packages/business-components/process-table/index.d.ts +67 -18
- package/packages/business-components/process-table/index.js +527 -522
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/App.vue.d.ts +16 -4
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/business-components/urgent-panel/index.js +1341 -1324
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/hooks/index.d.ts +4 -1
- package/packages/business-components/urgent-panel/style.css +1 -1
- package/packages/business-components/urgent-panel/style.css.gz +0 -0
- package/packages/business-components/video-dialog/index.js +234 -225
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/src/api.d.ts +3 -0
- package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +6 -0
- package/packages/business-components/video-dialog/src/type.d.ts +2 -0
- package/packages/components/edit-table/index.js +959 -957
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/index.vue.d.ts +4 -1
- package/packages/components/search/index.js +54 -106
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/src/Index.vue.d.ts +1 -1
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/table/index.d.ts +11 -2
- package/packages/components/table/index.js +2886 -2881
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +1 -0
- package/packages/components/table/src/type.d.ts +3 -4
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
1
2
|
import type { Props, Emits, ITableShowColumn } from '../src/type';
|
|
2
|
-
export declare const useProcessTable: (props: Props, emits: Emits) => {
|
|
3
|
-
filterSetting:
|
|
4
|
-
defaultFilterSetting:
|
|
3
|
+
export declare const useProcessTable: (props: Props, emits: Emits, loading: Ref<boolean>) => {
|
|
4
|
+
filterSetting: Ref<any, any>;
|
|
5
|
+
defaultFilterSetting: Ref<{
|
|
5
6
|
prop: string;
|
|
6
7
|
order: string;
|
|
7
8
|
}[], {
|
|
@@ -11,14 +12,14 @@ export declare const useProcessTable: (props: Props, emits: Emits) => {
|
|
|
11
12
|
prop: string;
|
|
12
13
|
order: string;
|
|
13
14
|
}[]>;
|
|
14
|
-
copySettingHeaderData:
|
|
15
|
-
copyDialogHeaderData:
|
|
15
|
+
copySettingHeaderData: Ref<any[], any[]>;
|
|
16
|
+
copyDialogHeaderData: Ref<any, any>;
|
|
16
17
|
operation: (row: any, column: any, index: number) => any[];
|
|
17
18
|
reqTableList: () => Promise<void>;
|
|
18
|
-
tableData:
|
|
19
|
+
tableData: Ref<any, any>;
|
|
19
20
|
reqSearchSetting: () => Promise<void>;
|
|
20
|
-
settingHeaderData:
|
|
21
|
-
dialogHeaderData:
|
|
21
|
+
settingHeaderData: Ref<any[], any[]>;
|
|
22
|
+
dialogHeaderData: Ref<{
|
|
22
23
|
switch: boolean;
|
|
23
24
|
desc: string;
|
|
24
25
|
name: string;
|
|
@@ -27,12 +28,12 @@ export declare const useProcessTable: (props: Props, emits: Emits) => {
|
|
|
27
28
|
desc: string;
|
|
28
29
|
name: string;
|
|
29
30
|
}[]>;
|
|
30
|
-
total:
|
|
31
|
-
pageIndex:
|
|
32
|
-
pageSize:
|
|
31
|
+
total: Ref<number, number>;
|
|
32
|
+
pageIndex: Ref<number, number>;
|
|
33
|
+
pageSize: Ref<number, number>;
|
|
33
34
|
handleCurrentPageChange: (val: any) => void;
|
|
34
35
|
handlePageSizeChange: (val: any) => void;
|
|
35
36
|
sortChange: (column: any) => void;
|
|
36
|
-
customSelectionOptions:
|
|
37
|
-
showOperationColumn:
|
|
37
|
+
customSelectionOptions: Ref<any, any>;
|
|
38
|
+
showOperationColumn: Ref<boolean, boolean>;
|
|
38
39
|
};
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
declare const DasProcessTable: import("@das-fed/utils").SFCWithInstall<{
|
|
2
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
5
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
3
6
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
4
7
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
5
8
|
}>, {
|
|
6
9
|
reqTableList: () => Promise<void>;
|
|
7
|
-
|
|
10
|
+
handleCurrentPageChange: (val: any) => void;
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:loading": (loading: boolean) => any;
|
|
13
|
+
} & {
|
|
8
14
|
getSearchQuery: (val: any) => any;
|
|
9
15
|
changeSlotShow: (val: import("./src/type.js").ITableShowColumn[]) => any;
|
|
10
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<
|
|
16
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
19
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
11
20
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
12
21
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
13
22
|
}>, {
|
|
@@ -26,11 +35,15 @@ declare const DasProcessTable: import("@das-fed/utils").SFCWithInstall<{
|
|
|
26
35
|
C: {};
|
|
27
36
|
M: {};
|
|
28
37
|
Defaults: {};
|
|
29
|
-
}, Readonly<
|
|
38
|
+
}, Readonly<{
|
|
39
|
+
loading?: boolean;
|
|
40
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
41
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
30
42
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
31
43
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
32
44
|
}>, {
|
|
33
45
|
reqTableList: () => Promise<void>;
|
|
46
|
+
handleCurrentPageChange: (val: any) => void;
|
|
34
47
|
}, {}, {}, {}, {
|
|
35
48
|
flowKey: string;
|
|
36
49
|
needDisplayFileds: boolean;
|
|
@@ -44,12 +57,18 @@ declare const DasProcessTable: import("@das-fed/utils").SFCWithInstall<{
|
|
|
44
57
|
__isFragment?: never;
|
|
45
58
|
__isTeleport?: never;
|
|
46
59
|
__isSuspense?: never;
|
|
47
|
-
} & import("vue").ComponentOptionsBase<Readonly<
|
|
60
|
+
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
61
|
+
loading?: boolean;
|
|
62
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
63
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
48
64
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
49
65
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
50
66
|
}>, {
|
|
51
67
|
reqTableList: () => Promise<void>;
|
|
52
|
-
|
|
68
|
+
handleCurrentPageChange: (val: any) => void;
|
|
69
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
|
+
"update:loading": (loading: boolean) => any;
|
|
71
|
+
} & {
|
|
53
72
|
getSearchQuery: (val: any) => any;
|
|
54
73
|
changeSlotShow: (val: import("./src/type.js").ITableShowColumn[]) => any;
|
|
55
74
|
}, string, {
|
|
@@ -72,6 +91,7 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
72
91
|
$: import("vue").ComponentInternalInstance;
|
|
73
92
|
$data: {};
|
|
74
93
|
$props: {
|
|
94
|
+
readonly loading?: boolean | undefined;
|
|
75
95
|
readonly flowKey: string;
|
|
76
96
|
readonly clientType: "pc" | "mobile";
|
|
77
97
|
readonly needDisplayFileds?: boolean | undefined;
|
|
@@ -92,9 +112,13 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
92
112
|
allSelectable?: boolean;
|
|
93
113
|
selectable?: (row?: any, index?: any) => boolean;
|
|
94
114
|
}) | undefined;
|
|
115
|
+
readonly "onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
95
116
|
readonly onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
96
117
|
readonly onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
97
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<
|
|
118
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
119
|
+
loading?: boolean;
|
|
120
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
121
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
98
122
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
99
123
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
100
124
|
}>;
|
|
@@ -110,14 +134,20 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
110
134
|
$root: import("vue").ComponentPublicInstance | null;
|
|
111
135
|
$parent: import("vue").ComponentPublicInstance | null;
|
|
112
136
|
$host: Element | null;
|
|
113
|
-
$emit: ((event: "getSearchQuery", val: any) => void) & ((event: "changeSlotShow", val: import("./src/type.js").ITableShowColumn[]) => void);
|
|
137
|
+
$emit: ((event: "update:loading", loading: boolean) => void) & ((event: "getSearchQuery", val: any) => void) & ((event: "changeSlotShow", val: import("./src/type.js").ITableShowColumn[]) => void);
|
|
114
138
|
$el: any;
|
|
115
|
-
$options: import("vue").ComponentOptionsBase<Readonly<
|
|
139
|
+
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
140
|
+
loading?: boolean;
|
|
141
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
142
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
116
143
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
117
144
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
118
145
|
}>, {
|
|
119
146
|
reqTableList: () => Promise<void>;
|
|
120
|
-
|
|
147
|
+
handleCurrentPageChange: (val: any) => void;
|
|
148
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
149
|
+
"update:loading": (loading: boolean) => any;
|
|
150
|
+
} & {
|
|
121
151
|
getSearchQuery: (val: any) => any;
|
|
122
152
|
changeSlotShow: (val: import("./src/type.js").ITableShowColumn[]) => any;
|
|
123
153
|
}, string, {
|
|
@@ -158,11 +188,15 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
158
188
|
apiUrl: string;
|
|
159
189
|
reqMethod: string;
|
|
160
190
|
columnSettingName: string;
|
|
161
|
-
}> & Omit<Readonly<
|
|
191
|
+
}> & Omit<Readonly<{
|
|
192
|
+
loading?: boolean;
|
|
193
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
194
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
162
195
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
163
196
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
164
|
-
}>, "reqTableList" | ("flowKey" | "needDisplayFileds" | "clientType" | "searchQuerys" | "permissionQuery" | "apiUrl" | "reqMethod" | "columnSettingName")> & import("vue").ShallowUnwrapRef<{
|
|
197
|
+
}>, "reqTableList" | "handleCurrentPageChange" | ("flowKey" | "needDisplayFileds" | "clientType" | "searchQuerys" | "permissionQuery" | "apiUrl" | "reqMethod" | "columnSettingName")> & import("vue").ShallowUnwrapRef<{
|
|
165
198
|
reqTableList: () => Promise<void>;
|
|
199
|
+
handleCurrentPageChange: (val: any) => void;
|
|
166
200
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
167
201
|
$slots: {
|
|
168
202
|
prepend?(_: {}): any;
|
|
@@ -172,6 +206,7 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
172
206
|
$: import("vue").ComponentInternalInstance;
|
|
173
207
|
$data: {};
|
|
174
208
|
$props: {
|
|
209
|
+
readonly loading?: boolean | undefined;
|
|
175
210
|
readonly flowKey: string;
|
|
176
211
|
readonly clientType: "pc" | "mobile";
|
|
177
212
|
readonly needDisplayFileds?: boolean | undefined;
|
|
@@ -192,9 +227,13 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
192
227
|
allSelectable?: boolean;
|
|
193
228
|
selectable?: (row?: any, index?: any) => boolean;
|
|
194
229
|
}) | undefined;
|
|
230
|
+
readonly "onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
195
231
|
readonly onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
196
232
|
readonly onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
197
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<
|
|
233
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<{
|
|
234
|
+
loading?: boolean;
|
|
235
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
236
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
198
237
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
199
238
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
200
239
|
}>;
|
|
@@ -210,14 +249,20 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
210
249
|
$root: import("vue").ComponentPublicInstance | null;
|
|
211
250
|
$parent: import("vue").ComponentPublicInstance | null;
|
|
212
251
|
$host: Element | null;
|
|
213
|
-
$emit: ((event: "getSearchQuery", val: any) => void) & ((event: "changeSlotShow", val: import("./src/type.js").ITableShowColumn[]) => void);
|
|
252
|
+
$emit: ((event: "update:loading", loading: boolean) => void) & ((event: "getSearchQuery", val: any) => void) & ((event: "changeSlotShow", val: import("./src/type.js").ITableShowColumn[]) => void);
|
|
214
253
|
$el: any;
|
|
215
|
-
$options: import("vue").ComponentOptionsBase<Readonly<
|
|
254
|
+
$options: import("vue").ComponentOptionsBase<Readonly<{
|
|
255
|
+
loading?: boolean;
|
|
256
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
257
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
216
258
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
217
259
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
218
260
|
}>, {
|
|
219
261
|
reqTableList: () => Promise<void>;
|
|
220
|
-
|
|
262
|
+
handleCurrentPageChange: (val: any) => void;
|
|
263
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
264
|
+
"update:loading": (loading: boolean) => any;
|
|
265
|
+
} & {
|
|
221
266
|
getSearchQuery: (val: any) => any;
|
|
222
267
|
changeSlotShow: (val: import("./src/type.js").ITableShowColumn[]) => any;
|
|
223
268
|
}, string, {
|
|
@@ -258,11 +303,15 @@ declare const DasProcessTableRef: () => import("vue").Ref<({
|
|
|
258
303
|
apiUrl: string;
|
|
259
304
|
reqMethod: string;
|
|
260
305
|
columnSettingName: string;
|
|
261
|
-
}> & Omit<Readonly<
|
|
306
|
+
}> & Omit<Readonly<{
|
|
307
|
+
loading?: boolean;
|
|
308
|
+
} & import("./src/type.js").Props> & Readonly<{
|
|
309
|
+
"onUpdate:loading"?: ((loading: boolean) => any) | undefined;
|
|
262
310
|
onGetSearchQuery?: ((val: any) => any) | undefined;
|
|
263
311
|
onChangeSlotShow?: ((val: import("./src/type.js").ITableShowColumn[]) => any) | undefined;
|
|
264
|
-
}>, "reqTableList" | ("flowKey" | "needDisplayFileds" | "clientType" | "searchQuerys" | "permissionQuery" | "apiUrl" | "reqMethod" | "columnSettingName")> & import("vue").ShallowUnwrapRef<{
|
|
312
|
+
}>, "reqTableList" | "handleCurrentPageChange" | ("flowKey" | "needDisplayFileds" | "clientType" | "searchQuerys" | "permissionQuery" | "apiUrl" | "reqMethod" | "columnSettingName")> & import("vue").ShallowUnwrapRef<{
|
|
265
313
|
reqTableList: () => Promise<void>;
|
|
314
|
+
handleCurrentPageChange: (val: any) => void;
|
|
266
315
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
267
316
|
$slots: {
|
|
268
317
|
prepend?(_: {}): any;
|