@fewangsit/wangsvue-fats 1.0.0-alpha.147 → 1.0.0-alpha.149
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/components/buttondownload/ButtonDownload.vue.d.ts +7 -1
- package/package.json +1 -1
- package/plugins/WangsVue.d.ts +6 -2
- package/stats.html +1 -1
- package/utils/getStatusSeverity.util.d.ts +1 -0
- package/wangsvue-fats.js +5278 -5265
- package/wangsvue-fats.system.js +54 -54
|
@@ -42,10 +42,16 @@ export interface ButtonDownloadProps {
|
|
|
42
42
|
/**
|
|
43
43
|
* If this props exist, download data from provided configs instead syncing with data tables
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
dataConfigs?: Pick<
|
|
46
46
|
DataTableProps,
|
|
47
47
|
'columns' | 'fetchFunction' | 'data' | 'tableTitle'
|
|
48
48
|
>[];
|
|
49
|
+
/**
|
|
50
|
+
* Specify the error message download excel when tableConfigs is in use
|
|
51
|
+
*
|
|
52
|
+
* @example 'Error, failed to download {fileName}' - fileName will be replaced
|
|
53
|
+
*/
|
|
54
|
+
excelToastErrorMessage?: string;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
/**
|
package/package.json
CHANGED
package/plugins/WangsVue.d.ts
CHANGED
|
@@ -7,7 +7,10 @@ import {
|
|
|
7
7
|
ButtonBulkActionLocaleConfig,
|
|
8
8
|
ButtonBulkActionProps,
|
|
9
9
|
} from '../components/buttonbulkaction/ButtonBulkAction.vue.d';
|
|
10
|
-
import {
|
|
10
|
+
import {
|
|
11
|
+
ButtonDownloadLocaleConfig,
|
|
12
|
+
ButtonDownloadProps,
|
|
13
|
+
} from '../components/buttondownload/ButtonDownload.vue.d';
|
|
11
14
|
import { ButtonSearchLocaleConfig } from '../components/buttonsearch/ButtonSearch.vue.d';
|
|
12
15
|
import {
|
|
13
16
|
CalendarLocaleConfig,
|
|
@@ -71,6 +74,7 @@ export interface ComponentDefaultPropsConfig {
|
|
|
71
74
|
UserName?: UserNameComponentConfigs;
|
|
72
75
|
Dropdown?: DropdownProps;
|
|
73
76
|
TagType?: Partial<TagTypeProps>;
|
|
77
|
+
ButtonDownload?: Partial<ButtonDownloadProps>;
|
|
74
78
|
}
|
|
75
79
|
interface ComponentLocaleConfig {
|
|
76
80
|
FieldWrapper?: FieldWrapperLocaleConfig;
|
|
@@ -92,8 +96,8 @@ interface ComponentLocaleConfig {
|
|
|
92
96
|
ButtonBulkAction?: ButtonBulkActionLocaleConfig;
|
|
93
97
|
UserName?: UserNameLocaleConfig;
|
|
94
98
|
DataTable?: DataTableLocaleConfig;
|
|
95
|
-
ButtonDownload?: ButtonDownloadLocaleConfig;
|
|
96
99
|
ImageCompressor?: ImageCompressorLocaleConfig;
|
|
100
|
+
ButtonDownload?: ButtonDownloadLocaleConfig;
|
|
97
101
|
}
|
|
98
102
|
export interface LocaleConfig {
|
|
99
103
|
global: Partial<typeof DEFAULT_GLOBAL_LOCALE_CONFIG>;
|