@dt-frames/ui 1.0.31 → 1.0.33
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 +96 -1
- package/es/assets/locales/zh.json +97 -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/index.d.ts +1 -2
- 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/TableActions.d.ts +1 -1
- package/es/components/table/src/components/setting/Column.d.ts +8 -0
- package/es/components/table/src/components/setting/Download.d.ts +41 -1
- 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/table/src/index.d.ts +10 -10
- 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 +370 -1033
- package/es/style/assets/style/index.less +10 -0
- package/es/style/assets/style/reset.less +17 -0
- package/es/style/components/container/index.less +85 -0
- package/es/style/components/forms/index.less +107 -0
- package/es/style/components/icons/index.less +108 -0
- package/es/style/components/iframe/index.less +3 -0
- package/es/style/components/iframe/src/index.less +3 -0
- package/es/style/components/modal/index.less +60 -0
- package/es/style/components/table/index.less +217 -0
- package/es/style/components/tree/index.less +53 -0
- package/es/style/theme/footer/index.less +16 -0
- package/es/style/theme/header/index.less +451 -0
- package/es/style/theme/header/set-theme.less +68 -0
- package/es/style/theme/sider/index.less +212 -0
- package/es/style/theme/tabs/index.less +165 -0
- package/es/style/theme/theme.less +73 -0
- package/es/style/theme/transition.less +105 -0
- package/es/theme/content/index.d.ts +44 -0
- 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/setting-theme.d.ts +2604 -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/es/theme/header/components/user-info.d.ts +8318 -0
- package/es/theme/sider/components/basic-menu/basic-menu.d.ts +1 -1
- package/es/theme/tabs/components/TabContent.d.ts +1 -1
- package/es/theme/tabs/components/TabRedo.d.ts +64 -0
- package/es/theme/tabs/index.d.ts +1429 -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,3 +1,98 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"UI": {
|
|
3
|
+
"ADD": "新增",
|
|
4
|
+
"DELETE_CONFIRM": "删除确认",
|
|
5
|
+
"CONFIRM_DELETE": "确认要删除选中的数据?",
|
|
6
|
+
"NEED_CURD": "缺少curd函数配置, 请将useSource中返回的curd参数传入useCurd配置项中!",
|
|
7
|
+
"EDIT": "编辑",
|
|
8
|
+
"EMPTY": "暂无选中的数据!",
|
|
9
|
+
"MULTIFY_DELETE_CONFIRM": "批量删除确认",
|
|
10
|
+
"CONFIRM_MULTIFY_DELETE": "确认要批量删除选中的数据?",
|
|
11
|
+
"ADVANCED": "收起",
|
|
12
|
+
"EXPAND": "展开",
|
|
13
|
+
"SELECT_ICON": "选择字体图标",
|
|
14
|
+
"MUSE_FUNCTION": "openDialog必须是函数",
|
|
15
|
+
"NEED_RENDER": "请配置render函数",
|
|
16
|
+
"SEARCH": "查询",
|
|
17
|
+
"RESET": "重置",
|
|
18
|
+
"PLEASE_INPUT": "请输入",
|
|
19
|
+
"PLEASE_SELECT": "请选择",
|
|
20
|
+
"PLEASE_SET_ICON": "请设置图标",
|
|
21
|
+
"INPUT_FILTER": "请输入过滤条件",
|
|
22
|
+
"EXIT_FULLSCREEN": "退出全屏",
|
|
23
|
+
"FULLSCREEN": "全屏",
|
|
24
|
+
"SAVE": "保存",
|
|
25
|
+
"CLOSE": "关闭",
|
|
26
|
+
"ADD_SUCCESS": "新增成功!",
|
|
27
|
+
"UPDATE_SUCCESS": "更新数据成功!",
|
|
28
|
+
"MULTIFY": "批量",
|
|
29
|
+
"DELETE_SUCCESS": "删除成功!",
|
|
30
|
+
"COLUMN_CONTROL": "列控制",
|
|
31
|
+
"COLUMN_SHOW": "列展示",
|
|
32
|
+
"INDEX": "序列号",
|
|
33
|
+
"CHECKBOX": "复选框",
|
|
34
|
+
"FIXED_TO_LEFT": "固定到左侧",
|
|
35
|
+
"FIXED_TO_RIGHT": "固定到右侧",
|
|
36
|
+
"EXPORT": "导出",
|
|
37
|
+
"EXPORT_CURRENT_PAGE": "导出当前页",
|
|
38
|
+
"EXPORT_SELECT_COLUMN": "导出选中列",
|
|
39
|
+
"EXPORT_ALL": "导出所有列",
|
|
40
|
+
"SELECT_ALL": "全选",
|
|
41
|
+
"SETTING_EXPORT_COLUMN": "设置导出列",
|
|
42
|
+
"NO_EXPORT_COLUMN": "暂无可导出的列!",
|
|
43
|
+
"NUMBER": "序号",
|
|
44
|
+
"ACTIONS": "操作",
|
|
45
|
+
"TOTAL_PAGE": "总共{total}条",
|
|
46
|
+
"FILTER": "过滤",
|
|
47
|
+
"EXPAND_ALL": "展开全部",
|
|
48
|
+
"COLLAPSE_ALL": "折叠全部",
|
|
49
|
+
"SELECT_ALL1": "选择全部",
|
|
50
|
+
"CANCEL_SELECT_ALL": "取消选择",
|
|
51
|
+
"LEVEL_CONNECTION": "层级关联",
|
|
52
|
+
"LEVEL_SOLATE": "层级独立",
|
|
53
|
+
"LOADING": "加载中...",
|
|
54
|
+
"SUPPORT_FILES": "支持${message}格式",
|
|
55
|
+
"MAX_SIZE": "不超过{maxSize}M",
|
|
56
|
+
"MAX_NUMBER": "最多可选择{maxNumber}个文件",
|
|
57
|
+
"SUPPORT_TYPES": "请上传pptx、doc、jpg、jpeg、png、bmp、gif、xls、xlsx、txt、rar、zip、7z、tar、gz格式文件",
|
|
58
|
+
"FILE_UPLOAD": "文件上传",
|
|
59
|
+
"FILE_NAME": "文件名称",
|
|
60
|
+
"FILE_STATUS": "上传状态",
|
|
61
|
+
"PREVIEW": "预览",
|
|
62
|
+
"DELETE": "删除",
|
|
63
|
+
"HISTORY_UPLOAD": "历史上传",
|
|
64
|
+
"MAX_MB": "只能上传不超过{maxSize}MB的文件!",
|
|
65
|
+
"PRE_UPLOAD": "待上传",
|
|
66
|
+
"COMPANY_NAME": "隆基集团海外税务系统",
|
|
67
|
+
"FILTER_MORE": "搜索...",
|
|
68
|
+
"LARGE_SIZE": "大尺寸",
|
|
69
|
+
"MIDDLE_SIZE": "中尺寸",
|
|
70
|
+
"SMALL_SIZE": "小尺寸",
|
|
71
|
+
"MODIFY_PASSWORD": "修改密码",
|
|
72
|
+
"LOGIN_OUT": "退出系统",
|
|
73
|
+
"CLOSE_CURRENT_TAG": "关闭当前标签页",
|
|
74
|
+
"CLOSE_LEFT_TAGS": "关闭左侧标签页",
|
|
75
|
+
"CLOSE_RIGHT_TAGS": "关闭右侧标签页",
|
|
76
|
+
"CLOSE_OTHER_TAGS": "关闭其他标签页",
|
|
77
|
+
"CLOSE_ALL_TAGE": "关闭全部标签页",
|
|
78
|
+
"SETTING_THEME": "风格设置",
|
|
79
|
+
"PROJECT_SETTING": "项目配置",
|
|
80
|
+
"NAV_MODE": "导航栏模式",
|
|
81
|
+
"PAGE_SHOW": "界面显示",
|
|
82
|
+
"COPY": "拷贝",
|
|
83
|
+
"DRAWER_TIPS": "该功能主要实时预览各种布局效果,更多完整配置在 src/core/settings/theme.ts 中设置,在生产环境该布局预览功能将被关闭。",
|
|
84
|
+
"FULL": "流式",
|
|
85
|
+
"FIXED": "定宽",
|
|
86
|
+
"BREAD_CURB": "面包屑",
|
|
87
|
+
"MENU_FILTER": "菜单检索",
|
|
88
|
+
"NOTICE": "通知公告",
|
|
89
|
+
"SHOW_FULLE": "页面全屏",
|
|
90
|
+
"LOCAL": "国际化",
|
|
91
|
+
"ROUTE_REUSE": "路由复用",
|
|
92
|
+
"SHOW_FOOTER": "显示底部",
|
|
93
|
+
"CONTENT_FIXED_WIDTH": "内容区域宽度",
|
|
94
|
+
"ON": "开",
|
|
95
|
+
"OFF": "关",
|
|
96
|
+
"DOWNLOAD": "Download"
|
|
97
|
+
}
|
|
3
98
|
}
|
|
@@ -1,3 +1,99 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"UI": {
|
|
3
|
+
"ADD": "新增",
|
|
4
|
+
"DELETE_CONFIRM": "删除确认",
|
|
5
|
+
"CONFIRM_DELETE": "确认要删除选中的数据?",
|
|
6
|
+
"NEED_CURD": "缺少curd函数配置, 请将useSource中返回的curd参数传入useCurd配置项中!",
|
|
7
|
+
"EDIT": "编辑",
|
|
8
|
+
"EMPTY": "暂无选中的数据!",
|
|
9
|
+
"MULTIFY_DELETE_CONFIRM": "批量删除确认",
|
|
10
|
+
"CONFIRM_MULTIFY_DELETE": "确认要批量删除选中的数据?",
|
|
11
|
+
"ADVANCED": "收起",
|
|
12
|
+
"EXPAND": "展开",
|
|
13
|
+
"SELECT_ICON": "选择字体图标",
|
|
14
|
+
"MUSE_FUNCTION": "openDialog必须是函数",
|
|
15
|
+
"NEED_RENDER": "请配置render函数",
|
|
16
|
+
"SEARCH": "查询",
|
|
17
|
+
"RESET": "重置",
|
|
18
|
+
"PLEASE_INPUT": "请输入",
|
|
19
|
+
"PLEASE_SELECT": "请选择",
|
|
20
|
+
"PLEASE_SET_ICON": "请设置图标",
|
|
21
|
+
"INPUT_FILTER": "请输入过滤条件",
|
|
22
|
+
"EXIT_FULLSCREEN": "退出全屏",
|
|
23
|
+
"FULLSCREEN": "全屏",
|
|
24
|
+
"SAVE": "保存",
|
|
25
|
+
"CLOSE": "关闭",
|
|
26
|
+
"ADD_SUCCESS": "新增成功!",
|
|
27
|
+
"UPDATE_SUCCESS": "更新数据成功!",
|
|
28
|
+
"MULTIFY": "批量",
|
|
29
|
+
"DELETE_SUCCESS": "删除成功!",
|
|
30
|
+
"COLUMN_CONTROL": "列控制",
|
|
31
|
+
"COLUMN_SHOW": "列展示",
|
|
32
|
+
"INDEX": "序列号",
|
|
33
|
+
"CHECKBOX": "复选框",
|
|
34
|
+
"FIXED_TO_LEFT": "固定到左侧",
|
|
35
|
+
"FIXED_TO_RIGHT": "固定到右侧",
|
|
36
|
+
"EXPORT": "导出",
|
|
37
|
+
"DOWNLOAD_TEMPLATE": "模板下载",
|
|
38
|
+
"EXPORT_CURRENT_PAGE": "导出当前页",
|
|
39
|
+
"EXPORT_SELECT_COLUMN": "导出选中列",
|
|
40
|
+
"EXPORT_ALL": "导出所有列",
|
|
41
|
+
"SELECT_ALL": "全选",
|
|
42
|
+
"SETTING_EXPORT_COLUMN": "设置导出列",
|
|
43
|
+
"NO_EXPORT_COLUMN": "暂无可导出的列!",
|
|
44
|
+
"NUMBER": "序号",
|
|
45
|
+
"ACTIONS": "操作",
|
|
46
|
+
"TOTAL_PAGE": "总共{total}条",
|
|
47
|
+
"FILTER": "过滤",
|
|
48
|
+
"EXPAND_ALL": "展开全部",
|
|
49
|
+
"COLLAPSE_ALL": "折叠全部",
|
|
50
|
+
"SELECT_ALL1": "选择全部",
|
|
51
|
+
"CANCEL_SELECT_ALL": "取消选择",
|
|
52
|
+
"LEVEL_CONNECTION": "层级关联",
|
|
53
|
+
"LEVEL_SOLATE": "层级独立",
|
|
54
|
+
"LOADING": "加载中...",
|
|
55
|
+
"SUPPORT_FILES": "支持{message}格式",
|
|
56
|
+
"MAX_SIZE": "不超过{maxSize}M",
|
|
57
|
+
"MAX_NUMBER": "最多可选择{maxNumber}个文件",
|
|
58
|
+
"SUPPORT_TYPES": "请上传pptx、doc、jpg、jpeg、png、bmp、gif、xls、xlsx、txt、rar、zip、7z、tar、gz格式文件",
|
|
59
|
+
"FILE_UPLOAD": "文件上传",
|
|
60
|
+
"FILE_NAME": "文件名称",
|
|
61
|
+
"FILE_STATUS": "上传状态",
|
|
62
|
+
"PREVIEW": "预览",
|
|
63
|
+
"DELETE": "删除",
|
|
64
|
+
"HISTORY_UPLOAD": "历史上传",
|
|
65
|
+
"MAX_MB": "只能上传不超过{maxSize}MB的文件!",
|
|
66
|
+
"PRE_UPLOAD": "待上传",
|
|
67
|
+
"COMPANY_NAME": "隆基集团海外税务系统",
|
|
68
|
+
"FILTER_MORE": "搜索...",
|
|
69
|
+
"LARGE_SIZE": "大尺寸",
|
|
70
|
+
"MIDDLE_SIZE": "中尺寸",
|
|
71
|
+
"SMALL_SIZE": "小尺寸",
|
|
72
|
+
"MODIFY_PASSWORD": "修改密码",
|
|
73
|
+
"LOGIN_OUT": "退出系统",
|
|
74
|
+
"CLOSE_CURRENT_TAG": "关闭当前标签页",
|
|
75
|
+
"CLOSE_LEFT_TAGS": "关闭左侧标签页",
|
|
76
|
+
"CLOSE_RIGHT_TAGS": "关闭右侧标签页",
|
|
77
|
+
"CLOSE_OTHER_TAGS": "关闭其他标签页",
|
|
78
|
+
"CLOSE_ALL_TAGE": "关闭全部标签页",
|
|
79
|
+
"SETTING_THEME": "风格设置",
|
|
80
|
+
"PROJECT_SETTING": "项目配置",
|
|
81
|
+
"NAV_MODE": "导航栏模式",
|
|
82
|
+
"PAGE_SHOW": "界面显示",
|
|
83
|
+
"COPY": "拷贝",
|
|
84
|
+
"DRAWER_TIPS": "该功能主要实时预览各种布局效果,更多完整配置在 src/core/settings/theme.ts 中设置,在生产环境该布局预览功能将被关闭。",
|
|
85
|
+
"FULL": "流式",
|
|
86
|
+
"FIXED": "定宽",
|
|
87
|
+
"BREAD_CURB": "面包屑",
|
|
88
|
+
"MENU_FILTER": "菜单检索",
|
|
89
|
+
"NOTICE": "通知公告",
|
|
90
|
+
"SHOW_FULLE": "页面全屏",
|
|
91
|
+
"LOCAL": "国际化",
|
|
92
|
+
"ROUTE_REUSE": "路由复用",
|
|
93
|
+
"SHOW_FOOTER": "显示底部",
|
|
94
|
+
"CONTENT_FIXED_WIDTH": "内容区域宽度",
|
|
95
|
+
"ON": "开",
|
|
96
|
+
"OFF": "关",
|
|
97
|
+
"DOWNLOAD": "下载"
|
|
98
|
+
}
|
|
3
99
|
}
|
|
@@ -85,7 +85,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
85
85
|
}>>;
|
|
86
86
|
registerDialog: import("../../../modal/src/types/modal.type").RegisterFn;
|
|
87
87
|
closeModal: (rsp?: Recordable<any>) => void;
|
|
88
|
-
setModalProps: (props: Partial<import("@dt-frames/core").ModalProps>) => void;
|
|
89
88
|
registerForm: (formInstance: import("../../../forms").FormActionType) => void;
|
|
90
89
|
getFormValues: () => Recordable<any>;
|
|
91
90
|
setFormValues: (values: Recordable<any>) => Promise<void>;
|
|
@@ -920,6 +919,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
920
919
|
default: boolean;
|
|
921
920
|
};
|
|
922
921
|
}, {
|
|
922
|
+
t: {
|
|
923
|
+
(key: string): string;
|
|
924
|
+
(key: string, locale: string): string;
|
|
925
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
926
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
927
|
+
(key: string, list: unknown[]): string;
|
|
928
|
+
(key: string, named: Record<string, unknown>): string;
|
|
929
|
+
};
|
|
923
930
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
924
931
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
925
932
|
buttons: PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
@@ -970,6 +977,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
970
977
|
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
971
978
|
'basic-arrow--active': boolean;
|
|
972
979
|
})[]>;
|
|
980
|
+
t: {
|
|
981
|
+
(key: string): string;
|
|
982
|
+
(key: string, locale: string): string;
|
|
983
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
984
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
985
|
+
(key: string, list: unknown[]): string;
|
|
986
|
+
(key: string, named: Record<string, unknown>): string;
|
|
987
|
+
};
|
|
973
988
|
toggleAdvanced: () => void;
|
|
974
989
|
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
975
990
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1026,6 +1041,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1026
1041
|
type: BooleanConstructor;
|
|
1027
1042
|
};
|
|
1028
1043
|
}, {
|
|
1044
|
+
t: {
|
|
1045
|
+
(key: string): string;
|
|
1046
|
+
(key: string, locale: string): string;
|
|
1047
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1048
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1049
|
+
(key: string, list: unknown[]): string;
|
|
1050
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1051
|
+
};
|
|
1029
1052
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1030
1053
|
canFullscreen: {
|
|
1031
1054
|
type: BooleanConstructor;
|
|
@@ -36,6 +36,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
37
37
|
'basic-arrow--active': boolean;
|
|
38
38
|
})[]>;
|
|
39
|
+
t: {
|
|
40
|
+
(key: string): string;
|
|
41
|
+
(key: string, locale: string): string;
|
|
42
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
43
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
44
|
+
(key: string, list: unknown[]): string;
|
|
45
|
+
(key: string, named: Record<string, unknown>): string;
|
|
46
|
+
};
|
|
39
47
|
toggleAdvanced: () => void;
|
|
40
48
|
handleBtnClick: (button: ButtonProps) => void;
|
|
41
49
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -2,6 +2,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2
2
|
value: StringConstructor;
|
|
3
3
|
placeholder: StringConstructor;
|
|
4
4
|
}, {
|
|
5
|
+
t: {
|
|
6
|
+
(key: string): string;
|
|
7
|
+
(key: string, locale: string): string;
|
|
8
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
9
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
10
|
+
(key: string, list: unknown[]): string;
|
|
11
|
+
(key: string, named: Record<string, unknown>): string;
|
|
12
|
+
};
|
|
5
13
|
getUiSize: import("vue").ComputedRef<import("@dt-frames/core/es/types/app.type").UiSize>;
|
|
6
14
|
iconRef: any;
|
|
7
15
|
register: import("../../../modal/src/types/modal.type").RegisterFn;
|
|
@@ -1226,6 +1234,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
1226
1234
|
}>>, {}>;
|
|
1227
1235
|
};
|
|
1228
1236
|
DtPickIcon: import("vue").DefineComponent<{}, {
|
|
1237
|
+
t: {
|
|
1238
|
+
(key: string): string;
|
|
1239
|
+
(key: string, locale: string): string;
|
|
1240
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1241
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1242
|
+
(key: string, list: unknown[]): string;
|
|
1243
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1244
|
+
};
|
|
1229
1245
|
emits: (event: "chooseIcon", ...args: any[]) => void;
|
|
1230
1246
|
clsPrefix: string;
|
|
1231
1247
|
activeIndex: import("vue").Ref<number>;
|
|
@@ -2307,6 +2323,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2307
2323
|
default: boolean;
|
|
2308
2324
|
};
|
|
2309
2325
|
}, {
|
|
2326
|
+
t: {
|
|
2327
|
+
(key: string): string;
|
|
2328
|
+
(key: string, locale: string): string;
|
|
2329
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
2330
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
2331
|
+
(key: string, list: unknown[]): string;
|
|
2332
|
+
(key: string, named: Record<string, unknown>): string;
|
|
2333
|
+
};
|
|
2310
2334
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
2311
2335
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2312
2336
|
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
@@ -2357,6 +2381,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2357
2381
|
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
2358
2382
|
'basic-arrow--active': boolean;
|
|
2359
2383
|
})[]>;
|
|
2384
|
+
t: {
|
|
2385
|
+
(key: string): string;
|
|
2386
|
+
(key: string, locale: string): string;
|
|
2387
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
2388
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
2389
|
+
(key: string, list: unknown[]): string;
|
|
2390
|
+
(key: string, named: Record<string, unknown>): string;
|
|
2391
|
+
};
|
|
2360
2392
|
toggleAdvanced: () => void;
|
|
2361
2393
|
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
2362
2394
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -2413,6 +2445,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
2413
2445
|
type: BooleanConstructor;
|
|
2414
2446
|
};
|
|
2415
2447
|
}, {
|
|
2448
|
+
t: {
|
|
2449
|
+
(key: string): string;
|
|
2450
|
+
(key: string, locale: string): string;
|
|
2451
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
2452
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
2453
|
+
(key: string, list: unknown[]): string;
|
|
2454
|
+
(key: string, named: Record<string, unknown>): string;
|
|
2455
|
+
};
|
|
2416
2456
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2417
2457
|
canFullscreen: {
|
|
2418
2458
|
type: BooleanConstructor;
|
|
@@ -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
|
attrs: {
|
|
3
11
|
[x: string]: unknown;
|
|
4
12
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const SEARCH_BTN_NAME = "
|
|
2
|
-
export declare const RESET_BTN_NAME = "
|
|
1
|
+
export declare const SEARCH_BTN_NAME = "UI.SEARCH";
|
|
2
|
+
export declare const RESET_BTN_NAME = "UI.RESET";
|
|
3
3
|
export declare const SEARCH_BTNS: {
|
|
4
4
|
name: string;
|
|
5
5
|
preIcon: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentType } from "../types/form.type";
|
|
2
2
|
import type { ValidationRule } from 'ant-design-vue/lib/form/Form';
|
|
3
|
-
export declare function createPlaceholder(component: ComponentType):
|
|
3
|
+
export declare function createPlaceholder(component: ComponentType): string;
|
|
4
4
|
export declare const SINGLE_DATA_TYPE: string[];
|
|
5
5
|
export declare const MULTIFY_DATA_TYPE: string[];
|
|
6
6
|
export declare function setComponentRuleType(rule: ValidationRule, component: ComponentType, valueFormat: string): void;
|
|
@@ -31,6 +31,7 @@ export declare type FormProps = {
|
|
|
31
31
|
layout?: 'vertical' | 'inline' | 'horizontal';
|
|
32
32
|
model?: Recordable;
|
|
33
33
|
labelWidth?: number | string;
|
|
34
|
+
enLabelWidth?: string | number;
|
|
34
35
|
labelAlign?: 'left' | 'right';
|
|
35
36
|
labelCol?: Partial<ColEx>;
|
|
36
37
|
wrapperCol?: Partial<ColEx>;
|
|
@@ -59,6 +60,7 @@ export declare type FormSchema = {
|
|
|
59
60
|
label?: string | VNode;
|
|
60
61
|
subLabel?: string;
|
|
61
62
|
labelWidth?: string | number;
|
|
63
|
+
enLabelWidth?: string | number;
|
|
62
64
|
labelAlign?: 'left' | 'right';
|
|
63
65
|
toolTip?: string | ((parms: FormCallBackParams) => string | string[]);
|
|
64
66
|
toolTipProps?: ToolTipProps;
|
|
@@ -3,6 +3,14 @@ declare type IconMenu = {
|
|
|
3
3
|
total: number;
|
|
4
4
|
};
|
|
5
5
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
6
|
+
t: {
|
|
7
|
+
(key: string): string;
|
|
8
|
+
(key: string, locale: string): string;
|
|
9
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
10
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
11
|
+
(key: string, list: unknown[]): string;
|
|
12
|
+
(key: string, named: Record<string, unknown>): string;
|
|
13
|
+
};
|
|
6
14
|
emits: (event: "chooseIcon", ...args: any[]) => void;
|
|
7
15
|
clsPrefix: string;
|
|
8
16
|
activeIndex: import("vue").Ref<number>;
|
package/es/components/index.d.ts
CHANGED
|
@@ -7,9 +7,8 @@ import { DtTable, useTable } from './table';
|
|
|
7
7
|
import { useSource } from './source';
|
|
8
8
|
import { useCurd } from './curd';
|
|
9
9
|
import { DtIframe } from './iframe';
|
|
10
|
-
import { DtUpload } from './upload';
|
|
11
10
|
import { DtTree } from './tree';
|
|
12
11
|
export declare function initComponents(): {
|
|
13
12
|
install(app: App): void;
|
|
14
13
|
};
|
|
15
|
-
export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIframe,
|
|
14
|
+
export { DtBaseRouter, DtIcon, DtPickIcon, DtModal, DtForm, DtTable, FormButtons, DtIframe, DtTree, useForm, useTable, useSource, useCurd, useModal, useModalOut };
|
|
@@ -7,6 +7,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
7
|
type: BooleanConstructor;
|
|
8
8
|
};
|
|
9
9
|
}, {
|
|
10
|
+
t: {
|
|
11
|
+
(key: string): string;
|
|
12
|
+
(key: string, locale: string): string;
|
|
13
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
14
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
15
|
+
(key: string, list: unknown[]): string;
|
|
16
|
+
(key: string, named: Record<string, unknown>): string;
|
|
17
|
+
};
|
|
10
18
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
11
19
|
canFullscreen: {
|
|
12
20
|
type: BooleanConstructor;
|
|
@@ -7,6 +7,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
9
|
}, {
|
|
10
|
+
t: {
|
|
11
|
+
(key: string): string;
|
|
12
|
+
(key: string, locale: string): string;
|
|
13
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
14
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
15
|
+
(key: string, list: unknown[]): string;
|
|
16
|
+
(key: string, named: Record<string, unknown>): string;
|
|
17
|
+
};
|
|
10
18
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
11
19
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
12
20
|
buttons: PropType<ButtonProps[]>;
|
|
@@ -57,6 +65,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
57
65
|
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
58
66
|
'basic-arrow--active': boolean;
|
|
59
67
|
})[]>;
|
|
68
|
+
t: {
|
|
69
|
+
(key: string): string;
|
|
70
|
+
(key: string, locale: string): string;
|
|
71
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
72
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
73
|
+
(key: string, list: unknown[]): string;
|
|
74
|
+
(key: string, named: Record<string, unknown>): string;
|
|
75
|
+
};
|
|
60
76
|
toggleAdvanced: () => void;
|
|
61
77
|
handleBtnClick: (button: ButtonProps) => void;
|
|
62
78
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -651,6 +651,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
651
651
|
default: boolean;
|
|
652
652
|
};
|
|
653
653
|
}, {
|
|
654
|
+
t: {
|
|
655
|
+
(key: string): string;
|
|
656
|
+
(key: string, locale: string): string;
|
|
657
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
658
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
659
|
+
(key: string, list: unknown[]): string;
|
|
660
|
+
(key: string, named: Record<string, unknown>): string;
|
|
661
|
+
};
|
|
654
662
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
655
663
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
656
664
|
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
@@ -701,6 +709,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
701
709
|
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
702
710
|
'basic-arrow--active': boolean;
|
|
703
711
|
})[]>;
|
|
712
|
+
t: {
|
|
713
|
+
(key: string): string;
|
|
714
|
+
(key: string, locale: string): string;
|
|
715
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
716
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
717
|
+
(key: string, list: unknown[]): string;
|
|
718
|
+
(key: string, named: Record<string, unknown>): string;
|
|
719
|
+
};
|
|
704
720
|
toggleAdvanced: () => void;
|
|
705
721
|
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
706
722
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -757,6 +773,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
757
773
|
type: BooleanConstructor;
|
|
758
774
|
};
|
|
759
775
|
}, {
|
|
776
|
+
t: {
|
|
777
|
+
(key: string): string;
|
|
778
|
+
(key: string, locale: string): string;
|
|
779
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
780
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
781
|
+
(key: string, list: unknown[]): string;
|
|
782
|
+
(key: string, named: Record<string, unknown>): string;
|
|
783
|
+
};
|
|
760
784
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
761
785
|
canFullscreen: {
|
|
762
786
|
type: BooleanConstructor;
|
|
@@ -825,7 +825,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
825
825
|
'onUpdate:openKeys': PropType<(keys: import("ant-design-vue/lib/_util/type").Key[]) => void>;
|
|
826
826
|
'onUpdate:selectedKeys': PropType<(keys: import("ant-design-vue/lib/_util/type").Key[]) => void>;
|
|
827
827
|
'onUpdate:activeKey': PropType<(key: import("ant-design-vue/lib/_util/type").Key) => void>;
|
|
828
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "mode" | "
|
|
828
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "mode" | "selectable" | "multiple" | "inlineCollapsed" | "disabledOverflow" | "forceSubMenuRender" | "theme" | "inlineIndent" | "subMenuOpenDelay" | "subMenuCloseDelay" | "triggerSubMenuAction">;
|
|
829
829
|
$attrs: {
|
|
830
830
|
[x: string]: unknown;
|
|
831
831
|
};
|
|
@@ -2,6 +2,14 @@ import { nextTick } from 'vue';
|
|
|
2
2
|
import { BasicColumn } from '../../types/table.type';
|
|
3
3
|
import { CheckboxChangeEvent } from 'ant-design-vue/lib/checkbox/interface';
|
|
4
4
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
5
|
+
t: {
|
|
6
|
+
(key: string): string;
|
|
7
|
+
(key: string, locale: string): string;
|
|
8
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
9
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
10
|
+
(key: string, list: unknown[]): string;
|
|
11
|
+
(key: string, named: Record<string, unknown>): string;
|
|
12
|
+
};
|
|
5
13
|
emits: (event: "columns-change", ...args: any[]) => void;
|
|
6
14
|
attrs: {
|
|
7
15
|
[x: string]: unknown;
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { getPopupContainer } from '@dt-frames/core';
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
3
|
+
t: {
|
|
4
|
+
(key: string): string;
|
|
5
|
+
(key: string, locale: string): string;
|
|
6
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
7
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
8
|
+
(key: string, list: unknown[]): string;
|
|
9
|
+
(key: string, named: Record<string, unknown>): string;
|
|
10
|
+
};
|
|
3
11
|
registerDialog: import("../../../../modal/src/types/modal.type").RegisterFn;
|
|
4
12
|
openModal: (data?: {
|
|
5
13
|
data?: import("@dt-frames/core").Recordable<any>;
|
|
@@ -774,7 +782,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
774
782
|
'onUpdate:openKeys': import("vue").PropType<(keys: import("ant-design-vue/lib/_util/type").Key[]) => void>;
|
|
775
783
|
'onUpdate:selectedKeys': import("vue").PropType<(keys: import("ant-design-vue/lib/_util/type").Key[]) => void>;
|
|
776
784
|
'onUpdate:activeKey': import("vue").PropType<(key: import("ant-design-vue/lib/_util/type").Key) => void>;
|
|
777
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "mode" | "
|
|
785
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "mode" | "selectable" | "multiple" | "inlineCollapsed" | "disabledOverflow" | "forceSubMenuRender" | "theme" | "inlineIndent" | "subMenuOpenDelay" | "subMenuCloseDelay" | "triggerSubMenuAction">;
|
|
778
786
|
$attrs: {
|
|
779
787
|
[x: string]: unknown;
|
|
780
788
|
};
|
|
@@ -1148,6 +1156,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1148
1156
|
danger: boolean;
|
|
1149
1157
|
}>;
|
|
1150
1158
|
DownloadCtrl: import("vue").DefineComponent<{}, {
|
|
1159
|
+
t: {
|
|
1160
|
+
(key: string): string;
|
|
1161
|
+
(key: string, locale: string): string;
|
|
1162
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1163
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1164
|
+
(key: string, list: unknown[]): string;
|
|
1165
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1166
|
+
};
|
|
1151
1167
|
message: import("ant-design-vue/lib/message").MessageApi;
|
|
1152
1168
|
state: {
|
|
1153
1169
|
indeterminate: boolean;
|
|
@@ -2531,6 +2547,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2531
2547
|
default: boolean;
|
|
2532
2548
|
};
|
|
2533
2549
|
}, {
|
|
2550
|
+
t: {
|
|
2551
|
+
(key: string): string;
|
|
2552
|
+
(key: string, locale: string): string;
|
|
2553
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
2554
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
2555
|
+
(key: string, list: unknown[]): string;
|
|
2556
|
+
(key: string, named: Record<string, unknown>): string;
|
|
2557
|
+
};
|
|
2534
2558
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
2535
2559
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2536
2560
|
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
@@ -2581,6 +2605,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2581
2605
|
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
2582
2606
|
'basic-arrow--active': boolean;
|
|
2583
2607
|
})[]>;
|
|
2608
|
+
t: {
|
|
2609
|
+
(key: string): string;
|
|
2610
|
+
(key: string, locale: string): string;
|
|
2611
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
2612
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
2613
|
+
(key: string, list: unknown[]): string;
|
|
2614
|
+
(key: string, named: Record<string, unknown>): string;
|
|
2615
|
+
};
|
|
2584
2616
|
toggleAdvanced: () => void;
|
|
2585
2617
|
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
2586
2618
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -2637,6 +2669,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
2637
2669
|
type: BooleanConstructor;
|
|
2638
2670
|
};
|
|
2639
2671
|
}, {
|
|
2672
|
+
t: {
|
|
2673
|
+
(key: string): string;
|
|
2674
|
+
(key: string, locale: string): string;
|
|
2675
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
2676
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
2677
|
+
(key: string, list: unknown[]): string;
|
|
2678
|
+
(key: string, named: Record<string, unknown>): string;
|
|
2679
|
+
};
|
|
2640
2680
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2641
2681
|
canFullscreen: {
|
|
2642
2682
|
type: BooleanConstructor;
|