@dt-frames/ui 1.0.31 → 1.0.32
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/es/assets/locales/en.json +95 -1
- package/es/assets/locales/zh.json +96 -1
- package/es/components/curd/src/components/dialog.d.ts +24 -1
- package/es/components/forms/src/components/formButton.d.ts +8 -0
- package/es/components/forms/src/components/formIcon.d.ts +40 -0
- package/es/components/forms/src/components/formInputUseDialog.d.ts +8 -0
- package/es/components/forms/src/const/form.const.d.ts +2 -2
- package/es/components/forms/src/hooks/helper.d.ts +1 -1
- package/es/components/forms/src/types/form.type.d.ts +2 -0
- package/es/components/icons/src/pick-icon.d.ts +8 -0
- package/es/components/modal/src/components/close-icon.d.ts +8 -0
- package/es/components/modal/src/components/modalFooter.d.ts +16 -0
- package/es/components/modal/src/index.d.ts +24 -0
- package/es/components/table/src/components/setting/Column.d.ts +8 -0
- package/es/components/table/src/components/setting/Download.d.ts +40 -0
- package/es/components/table/src/components/setting/DownloadCtrl.d.ts +32 -0
- package/es/components/table/src/components/setting/Fullscreen.d.ts +8 -0
- package/es/components/upload/src/helper.d.ts +2 -2
- package/es/components/upload/src/props.d.ts +1 -1
- package/es/components/upload/src/upload.d.ts +14 -6
- package/es/index.js +252 -234
- package/es/theme/header/components/bread-crumb.d.ts +1 -0
- package/es/theme/header/components/logo.d.ts +8 -0
- package/es/theme/header/components/size.d.ts +8 -0
- package/es/theme/header/components/theme-drawer/feature.d.ts +22 -5
- package/es/theme/header/components/theme-drawer/switch-item.d.ts +8 -0
- package/package.json +1 -1
- package/es/assets/locales/en_US.json +0 -3
- package/es/assets/locales/zh_CN.json +0 -3
- package/es/components/table/src/components/setting/Size.d.ts +0 -1147
- package/es/theme/header/components/theme-drawer/enum.d.ts +0 -5
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
t: {
|
|
3
|
+
(key: string): string;
|
|
4
|
+
(key: string, locale: string): string;
|
|
5
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
6
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
7
|
+
(key: string, list: unknown[]): string;
|
|
8
|
+
(key: string, named: Record<string, unknown>): string;
|
|
9
|
+
};
|
|
2
10
|
table: Omit<import("../../types/table.type").TableActionType & {
|
|
3
11
|
tableElRef: import("vue").Ref<HTMLElement>;
|
|
4
12
|
getBind: import("vue").ComputedRef<import("@dt-frames/core").Recordable<any>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Ref } from "vue";
|
|
2
|
-
export declare function useHelpers(acceptRef: Ref<string[]>, helpTextRef: Ref<string |
|
|
2
|
+
export declare function useHelpers(acceptRef: Ref<string[]>, helpTextRef: Ref<string | boolean>, maxNumberRef: Ref<number>, maxSizeRef: Ref<number>): {
|
|
3
3
|
getStringAccept: import("vue").ComputedRef<string>;
|
|
4
|
-
getHelpText: import("vue").ComputedRef<string |
|
|
4
|
+
getHelpText: import("vue").ComputedRef<string | boolean>;
|
|
5
5
|
};
|
|
@@ -12,7 +12,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
12
12
|
default: () => void;
|
|
13
13
|
};
|
|
14
14
|
helpText: {
|
|
15
|
-
type: import("vue").PropType<string |
|
|
15
|
+
type: import("vue").PropType<string | boolean>;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
multiple: {
|
|
@@ -39,6 +39,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
}, {
|
|
42
|
+
t: {
|
|
43
|
+
(key: string): string;
|
|
44
|
+
(key: string, locale: string): string;
|
|
45
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
46
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
47
|
+
(key: string, list: unknown[]): string;
|
|
48
|
+
(key: string, named: Record<string, unknown>): string;
|
|
49
|
+
};
|
|
42
50
|
message: import("ant-design-vue/lib/message").MessageApi;
|
|
43
51
|
filesRef: import("vue").Ref<any[]>;
|
|
44
52
|
historyFilesRef: import("vue").Ref<any[]>;
|
|
@@ -60,7 +68,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
60
68
|
default: () => void;
|
|
61
69
|
};
|
|
62
70
|
helpText: {
|
|
63
|
-
type: import("vue").PropType<string |
|
|
71
|
+
type: import("vue").PropType<string | boolean>;
|
|
64
72
|
default: string;
|
|
65
73
|
};
|
|
66
74
|
multiple: {
|
|
@@ -90,11 +98,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
90
98
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any);
|
|
91
99
|
}>>;
|
|
92
100
|
accept: import("vue").Ref<string[]>;
|
|
93
|
-
helpText: import("vue").Ref<string |
|
|
101
|
+
helpText: import("vue").Ref<string | boolean>;
|
|
94
102
|
maxNumber: import("vue").Ref<number>;
|
|
95
103
|
maxSize: import("vue").Ref<number>;
|
|
96
104
|
getStringAccept: import("vue").ComputedRef<string>;
|
|
97
|
-
getHelpText: import("vue").ComputedRef<string |
|
|
105
|
+
getHelpText: import("vue").ComputedRef<string | boolean>;
|
|
98
106
|
isImage: (fileType: string) => boolean;
|
|
99
107
|
registerTable: (...args: any) => void;
|
|
100
108
|
beforeUpload: (file: File) => boolean;
|
|
@@ -1746,7 +1754,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1746
1754
|
default: () => void;
|
|
1747
1755
|
};
|
|
1748
1756
|
helpText: {
|
|
1749
|
-
type: import("vue").PropType<string |
|
|
1757
|
+
type: import("vue").PropType<string | boolean>;
|
|
1750
1758
|
default: string;
|
|
1751
1759
|
};
|
|
1752
1760
|
multiple: {
|
|
@@ -1776,7 +1784,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1776
1784
|
uploadText: string;
|
|
1777
1785
|
showTemplateDownload: boolean;
|
|
1778
1786
|
templateDownload: import("@vueuse/shared").Fn;
|
|
1779
|
-
helpText: string |
|
|
1787
|
+
helpText: string | boolean;
|
|
1780
1788
|
multiple: boolean;
|
|
1781
1789
|
accept: string[];
|
|
1782
1790
|
maxNumber: number;
|