@dt-frames/ui 1.0.51 → 1.0.53
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/components/table/src/index.d.ts +3 -12
- package/es/components/table/src/props.d.ts +1 -4
- package/es/index.js +2 -7
- package/es/theme/header/components/user-info.d.ts +4 -0
- package/package.json +1 -1
- package/es/components/upload/index.d.ts +0 -2
- package/es/components/upload/index.less +0 -37
- package/es/components/upload/src/helper.d.ts +0 -5
- package/es/components/upload/src/props.d.ts +0 -47
- package/es/components/upload/src/upload.d.ts +0 -1794
- package/es/style/assets/style/index.less +0 -10
- package/es/style/assets/style/reset.less +0 -17
- package/es/style/components/container/index.less +0 -85
- package/es/style/components/forms/index.less +0 -107
- package/es/style/components/icons/index.less +0 -108
- package/es/style/components/iframe/index.less +0 -3
- package/es/style/components/iframe/src/index.less +0 -3
- package/es/style/components/modal/index.less +0 -60
- package/es/style/components/table/index.less +0 -217
- package/es/style/components/tree/index.less +0 -53
- package/es/style/theme/footer/index.less +0 -16
- package/es/style/theme/header/index.less +0 -451
- package/es/style/theme/header/set-theme.less +0 -68
- package/es/style/theme/sider/index.less +0 -212
- package/es/style/theme/tabs/index.less +0 -165
- package/es/style/theme/theme.less +0 -73
- package/es/style/theme/transition.less +0 -105
- package/es/theme/content/index.d.ts +0 -44
- package/es/theme/header/components/menu-search.d.ts +0 -284
- package/es/theme/header/components/setting-theme.d.ts +0 -2604
- package/es/theme/tabs/components/TabRedo.d.ts +0 -64
- package/es/theme/tabs/index.d.ts +0 -1429
|
@@ -142,10 +142,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
142
142
|
'onUpdate:current': import("vue").PropType<(current: number) => void>;
|
|
143
143
|
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
144
144
|
}>>>;
|
|
145
|
-
default: {
|
|
146
|
-
pageSize: number;
|
|
147
|
-
current: number;
|
|
148
|
-
};
|
|
145
|
+
default: {};
|
|
149
146
|
};
|
|
150
147
|
loading: {
|
|
151
148
|
type: BooleanConstructor;
|
|
@@ -606,10 +603,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
606
603
|
'onUpdate:current': import("vue").PropType<(current: number) => void>;
|
|
607
604
|
'onUpdate:pageSize': import("vue").PropType<(size: number) => void>;
|
|
608
605
|
}>>>;
|
|
609
|
-
default: {
|
|
610
|
-
pageSize: number;
|
|
611
|
-
current: number;
|
|
612
|
-
};
|
|
606
|
+
default: {};
|
|
613
607
|
};
|
|
614
608
|
loading: {
|
|
615
609
|
type: BooleanConstructor;
|
|
@@ -691,10 +685,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
691
685
|
customRow: (record: any, index: any) => void;
|
|
692
686
|
childrenColumnName: string;
|
|
693
687
|
dataSource: Recordable<any>[];
|
|
694
|
-
pagination: {
|
|
695
|
-
pageSize: number;
|
|
696
|
-
current: number;
|
|
697
|
-
};
|
|
688
|
+
pagination: {};
|
|
698
689
|
rowSelection: {
|
|
699
690
|
type: string;
|
|
700
691
|
fixed: boolean;
|
|
@@ -145,10 +145,7 @@ export declare const TableProps: {
|
|
|
145
145
|
'onUpdate:current': PropType<(current: number) => void>;
|
|
146
146
|
'onUpdate:pageSize': PropType<(size: number) => void>;
|
|
147
147
|
}>>>;
|
|
148
|
-
default: {
|
|
149
|
-
pageSize: number;
|
|
150
|
-
current: number;
|
|
151
|
-
};
|
|
148
|
+
default: {};
|
|
152
149
|
};
|
|
153
150
|
loading: {
|
|
154
151
|
type: BooleanConstructor;
|
package/es/index.js
CHANGED
|
@@ -4960,10 +4960,7 @@ const TableProps = {
|
|
|
4960
4960
|
canResize: { type: Boolean, default: false },
|
|
4961
4961
|
pagination: {
|
|
4962
4962
|
type: [Object, Boolean],
|
|
4963
|
-
default: {
|
|
4964
|
-
pageSize: 20,
|
|
4965
|
-
current: 1
|
|
4966
|
-
}
|
|
4963
|
+
default: {}
|
|
4967
4964
|
},
|
|
4968
4965
|
loading: { type: Boolean, default: false },
|
|
4969
4966
|
rowClassName: { type: Function },
|
|
@@ -6333,14 +6330,12 @@ const _sfc_main$C = defineComponent({
|
|
|
6333
6330
|
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6334
6331
|
const _component_Download = resolveComponent("Download");
|
|
6335
6332
|
const _component_ColumnSetting = resolveComponent("ColumnSetting");
|
|
6336
|
-
const _component_FullscreenSetting = resolveComponent("FullscreenSetting");
|
|
6337
6333
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
6338
6334
|
_ctx.getSetting.download ? (openBlock(), createBlock(_component_Download, { key: 0 })) : createCommentVNode("", true),
|
|
6339
6335
|
_ctx.getSetting.setting ? (openBlock(), createBlock(_component_ColumnSetting, {
|
|
6340
6336
|
key: 1,
|
|
6341
6337
|
onColumnsChange: _ctx.handleColumnChange
|
|
6342
|
-
}, null, 8, ["onColumnsChange"])) : createCommentVNode("", true)
|
|
6343
|
-
_ctx.getSetting.fullscreen ? (openBlock(), createBlock(_component_FullscreenSetting, { key: 2 })) : createCommentVNode("", true)
|
|
6338
|
+
}, null, 8, ["onColumnsChange"])) : createCommentVNode("", true)
|
|
6344
6339
|
], 64);
|
|
6345
6340
|
}
|
|
6346
6341
|
var TableSettinCom = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$2]]);
|
|
@@ -14,8 +14,10 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
14
14
|
router?: {
|
|
15
15
|
useHashRoute?: boolean;
|
|
16
16
|
unRequireAuthPage?: string[];
|
|
17
|
+
whiteUrls?: string[];
|
|
17
18
|
useAuthRoute?: boolean;
|
|
18
19
|
strictRoute?: false;
|
|
20
|
+
defaultRedictPath?: string;
|
|
19
21
|
virtualRoute?: ({
|
|
20
22
|
component: import("vue").FunctionalComponent<any, any> | {
|
|
21
23
|
new (...args: any[]): any;
|
|
@@ -7805,6 +7807,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
7805
7807
|
locales?: {
|
|
7806
7808
|
show?: boolean;
|
|
7807
7809
|
defaultLocale?: import("@dt-frames/core").Language | "navigator";
|
|
7810
|
+
message?: (lang: import("@dt-frames/core").Language) => Promise<import("@dt-frames/core").Recordable<any>>;
|
|
7808
7811
|
};
|
|
7809
7812
|
ui?: {
|
|
7810
7813
|
global?: {
|
|
@@ -7857,6 +7860,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
7857
7860
|
params?: string | import("@dt-frames/core").Recordable<any>;
|
|
7858
7861
|
listName?: string;
|
|
7859
7862
|
label?: string | ((item: import("@dt-frames/core").Recordable<any>) => string);
|
|
7863
|
+
enLabel?: string | ((item: import("@dt-frames/core").Recordable<any>) => string);
|
|
7860
7864
|
value?: string;
|
|
7861
7865
|
numberToString?: boolean;
|
|
7862
7866
|
setOptions?: (list: any[]) => any[];
|
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
.dt-file {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
td.orange{
|
|
5
|
-
color: orange;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.file-header{
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: row;
|
|
12
|
-
justify-content: space-between;
|
|
13
|
-
&>div{
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
button{
|
|
17
|
-
margin-right: 10px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.file-type-tips{
|
|
23
|
-
line-height: 24px;
|
|
24
|
-
padding: 5px 10px;
|
|
25
|
-
font-size: 12px;
|
|
26
|
-
display: flex;
|
|
27
|
-
margin: 10px 0;
|
|
28
|
-
border: 1px dashed @primary-color;
|
|
29
|
-
cursor: inherit;
|
|
30
|
-
span i{
|
|
31
|
-
color: @primary-color;
|
|
32
|
-
margin-right: 7px;
|
|
33
|
-
}
|
|
34
|
-
i{
|
|
35
|
-
color: #666;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Ref } from "vue";
|
|
2
|
-
export declare function useHelpers(acceptRef: Ref<string[]>, helpTextRef: Ref<string | boolean>, maxNumberRef: Ref<number>, maxSizeRef: Ref<number>): {
|
|
3
|
-
getStringAccept: import("vue").ComputedRef<string>;
|
|
4
|
-
getHelpText: import("vue").ComputedRef<string | boolean>;
|
|
5
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { Fn } from "@vueuse/core";
|
|
2
|
-
import { PropType } from "vue";
|
|
3
|
-
export declare type FileType = {
|
|
4
|
-
fileName: String;
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
};
|
|
7
|
-
export declare const basicUploadProps: {
|
|
8
|
-
uploadText: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
showTemplateDownload: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
templateDownload: {
|
|
17
|
-
type: PropType<Fn>;
|
|
18
|
-
default: () => void;
|
|
19
|
-
};
|
|
20
|
-
helpText: {
|
|
21
|
-
type: PropType<string | boolean>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
multiple: {
|
|
25
|
-
type: PropType<boolean>;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
accept: {
|
|
29
|
-
type: PropType<string[]>;
|
|
30
|
-
default: () => any[];
|
|
31
|
-
};
|
|
32
|
-
maxSize: {
|
|
33
|
-
type: PropType<number>;
|
|
34
|
-
};
|
|
35
|
-
maxNumber: {
|
|
36
|
-
type: PropType<number>;
|
|
37
|
-
default: number;
|
|
38
|
-
};
|
|
39
|
-
defaultFiles: {
|
|
40
|
-
type: PropType<FileType[]>;
|
|
41
|
-
default: any[];
|
|
42
|
-
};
|
|
43
|
-
showView: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
};
|