@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,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
|
message: import("ant-design-vue/lib/message").MessageApi;
|
|
3
11
|
state: {
|
|
4
12
|
indeterminate: boolean;
|
|
@@ -1382,6 +1390,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1382
1390
|
default: boolean;
|
|
1383
1391
|
};
|
|
1384
1392
|
}, {
|
|
1393
|
+
t: {
|
|
1394
|
+
(key: string): string;
|
|
1395
|
+
(key: string, locale: string): string;
|
|
1396
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1397
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1398
|
+
(key: string, list: unknown[]): string;
|
|
1399
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1400
|
+
};
|
|
1385
1401
|
emits: (event: "handleSave" | "handleCancel", ...args: any[]) => void;
|
|
1386
1402
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1387
1403
|
buttons: import("vue").PropType<import("@dt-frames/core").ButtonProps[]>;
|
|
@@ -1432,6 +1448,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1432
1448
|
getAdvanceClass: import("vue").ComputedRef<(string | {
|
|
1433
1449
|
'basic-arrow--active': boolean;
|
|
1434
1450
|
})[]>;
|
|
1451
|
+
t: {
|
|
1452
|
+
(key: string): string;
|
|
1453
|
+
(key: string, locale: string): string;
|
|
1454
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1455
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1456
|
+
(key: string, list: unknown[]): string;
|
|
1457
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1458
|
+
};
|
|
1435
1459
|
toggleAdvanced: () => void;
|
|
1436
1460
|
handleBtnClick: (button: import("@dt-frames/core").ButtonProps) => void;
|
|
1437
1461
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1488,6 +1512,14 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1488
1512
|
type: BooleanConstructor;
|
|
1489
1513
|
};
|
|
1490
1514
|
}, {
|
|
1515
|
+
t: {
|
|
1516
|
+
(key: string): string;
|
|
1517
|
+
(key: string, locale: string): string;
|
|
1518
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1519
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1520
|
+
(key: string, list: unknown[]): string;
|
|
1521
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1522
|
+
};
|
|
1491
1523
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1492
1524
|
canFullscreen: {
|
|
1493
1525
|
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
|
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>>;
|
|
@@ -354,18 +354,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
354
354
|
prefixCls?: string;
|
|
355
355
|
id?: string;
|
|
356
356
|
footer?: import("ant-design-vue/lib/vc-table/interface").PanelRender<any>;
|
|
357
|
+
onExpand?: (expanded: boolean, record: any) => void;
|
|
358
|
+
direction?: "ltr" | "rtl";
|
|
359
|
+
expandIcon?: import("ant-design-vue/lib/vc-table/interface").RenderExpandIcon<any>;
|
|
357
360
|
rowClassName?: (string | import("ant-design-vue/lib/vc-table/interface").RowClassName<any>) & ((record: any, index: number) => string);
|
|
358
361
|
showHeader?: boolean;
|
|
359
362
|
customHeaderRow?: import("ant-design-vue/lib/vc-table/interface").GetComponentProps<import("ant-design-vue/lib/vc-table/interface").ColumnType<any>[]>;
|
|
360
|
-
direction?: "ltr" | "rtl";
|
|
361
363
|
expandFixed?: boolean | "left" | "right";
|
|
362
364
|
expandColumnWidth?: number;
|
|
363
365
|
expandedRowKeys?: import("ant-design-vue/lib/vc-table/interface").Key[];
|
|
364
366
|
defaultExpandedRowKeys?: import("ant-design-vue/lib/vc-table/interface").Key[];
|
|
365
367
|
expandedRowRender?: import("ant-design-vue/lib/vc-table/interface").ExpandedRowRender<any>;
|
|
366
368
|
expandRowByClick?: boolean;
|
|
367
|
-
expandIcon?: import("ant-design-vue/lib/vc-table/interface").RenderExpandIcon<any>;
|
|
368
|
-
onExpand?: (expanded: boolean, record: any) => void;
|
|
369
369
|
onExpandedRowsChange?: (expandedKeys: import("ant-design-vue/lib/vc-table/interface").Key[]) => void;
|
|
370
370
|
defaultExpandAllRows?: boolean;
|
|
371
371
|
indentSize?: number;
|
|
@@ -376,29 +376,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
376
376
|
rowExpandable?: (record: any) => boolean;
|
|
377
377
|
sticky?: boolean | import("ant-design-vue/lib/vc-table/interface").TableSticky;
|
|
378
378
|
transformCellText?: import("ant-design-vue/lib/vc-table/interface").TransformCellText<any>;
|
|
379
|
-
|
|
379
|
+
filterFn: (data: Partial<Recordable<string[]>>) => any;
|
|
380
|
+
virtual: boolean;
|
|
380
381
|
clickRowSelect: boolean;
|
|
381
382
|
tableSetting: {};
|
|
382
383
|
clickToRowSelect: boolean;
|
|
383
384
|
striped: boolean;
|
|
384
385
|
canColDrag: boolean;
|
|
385
386
|
resizable: boolean;
|
|
386
|
-
virtual: boolean;
|
|
387
387
|
sortFn: Function;
|
|
388
|
-
filterFn: (data: Partial<Recordable<string[]>>) => any;
|
|
389
388
|
templates: {};
|
|
390
389
|
ellipsis: boolean;
|
|
391
390
|
canResize: boolean;
|
|
392
391
|
onTableChange: Function;
|
|
392
|
+
onDownload: Function;
|
|
393
393
|
showIndexColumn: boolean;
|
|
394
394
|
indexColumnProps: import("./types/table.type").BasicColumn[];
|
|
395
395
|
isTreeTable: boolean;
|
|
396
|
+
toolbar?: import("@dt-frames/core").ButtonProps[];
|
|
396
397
|
minWidth?: number;
|
|
397
398
|
maxWidth?: number;
|
|
398
399
|
defSort?: any;
|
|
399
400
|
columnCode?: string;
|
|
400
401
|
operations?: unknown;
|
|
401
|
-
toolbar?: import("@dt-frames/core").ButtonProps[];
|
|
402
402
|
onColumnsChange?: (data: import("./types/table.type").ColumnChangeParam[]) => void;
|
|
403
403
|
}>;
|
|
404
404
|
getRowClassName: (record: any, index: number) => string;
|
|
@@ -677,7 +677,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
677
677
|
}, {
|
|
678
678
|
loading: boolean;
|
|
679
679
|
bordered: boolean;
|
|
680
|
-
|
|
680
|
+
filterFn: (data: Partial<Recordable<string[]>>) => any;
|
|
681
|
+
virtual: boolean;
|
|
681
682
|
columns: import("./types/table.type").BasicColumn[];
|
|
682
683
|
scroll: {};
|
|
683
684
|
rowKey: string;
|
|
@@ -695,14 +696,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
695
696
|
striped: boolean;
|
|
696
697
|
canColDrag: boolean;
|
|
697
698
|
resizable: boolean;
|
|
698
|
-
virtual: boolean;
|
|
699
699
|
sortFn: Function;
|
|
700
|
-
filterFn: (data: Partial<Recordable<string[]>>) => any;
|
|
701
700
|
defSort: any;
|
|
702
701
|
templates: {};
|
|
703
702
|
ellipsis: boolean;
|
|
704
703
|
canResize: boolean;
|
|
705
704
|
onTableChange: Function;
|
|
705
|
+
onDownload: Function;
|
|
706
706
|
showIndexColumn: boolean;
|
|
707
707
|
indexColumnProps: import("./types/table.type").BasicColumn[];
|
|
708
708
|
isTreeTable: boolean;
|
|
@@ -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;
|