@dt-frames/ui 2.0.4 → 2.0.6
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.d.ts +2 -0
- package/es/assets/locales/en.ts +2 -0
- package/es/assets/locales/zh.d.ts +1 -0
- package/es/assets/locales/zh.ts +6 -5
- package/es/components/curd/index.js +117 -62
- package/es/components/curd/src/components/Curd.d.ts +0 -8
- package/es/components/curd/src/props.d.ts +0 -4
- package/es/components/form/index.d.ts +20 -53
- package/es/components/form/index.js +5 -3
- package/es/components/form/index.less +8 -3
- package/es/components/form/src/index.d.ts +16 -41
- package/es/components/source/index.js +8 -5
- package/es/components/source/types/source.type.d.ts +1 -0
- package/es/components/table/index.js +145 -95
- package/es/components/table/index.less +26 -5
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/index.d.ts +10 -0
- package/es/components/table/src/props.d.ts +4 -0
- package/es/components/tree/index.d.ts +2 -0
- package/es/components/tree/index.js +1087 -0
- package/es/components/tree/index.less +119 -0
- package/es/components/tree/src/basicProps.d.ts +146 -0
- package/es/components/tree/src/components/ContextMenu.d.ts +64 -0
- package/es/components/tree/src/components/TreeHeader.d.ts +98 -0
- package/es/components/tree/src/enums/index.d.ts +6 -0
- package/es/components/tree/src/hooks/useContextMenu.d.ts +2 -0
- package/es/components/tree/src/hooks/useTree.d.ts +14 -0
- package/es/components/tree/src/index.d.ts +6526 -0
- package/es/components/tree/src/type/menu.d.ts +33 -0
- package/es/components/tree/src/type/tree.d.ts +55 -0
- package/es/components/tree/src/utils/tree.d.ts +5 -0
- package/es/theme/index.d.ts +2 -1
- package/es/theme/index.js +829 -699
- package/es/theme/index.less +56 -0
- package/es/theme/src/components/content/index.d.ts +6 -4
- package/es/theme/src/components/header/components/logo.d.ts +22 -0
- package/es/theme/src/components/header/index.d.ts +110 -0
- package/es/theme/src/components/header/multiple-header.d.ts +154 -20
- package/es/theme/src/components/sider/index.d.ts +22 -0
- package/es/theme/src/components/sider/mix-sider.d.ts +22 -0
- package/es/theme/src/components/tabs/components/TabContent.d.ts +33 -3
- package/es/theme/src/components/tabs/components/TabRedo.d.ts +6 -4
- package/es/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -4
- package/es/theme/src/components/tabs/hooks/useTabs.d.ts +10 -0
- package/es/theme/src/components/tabs/index.d.ts +43 -20
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/hooks/useMultifyTab.d.ts +1 -0
- package/es/theme/src/index.d.ts +293 -24
- package/es/theme/src/stores/routeReuse.store.d.ts +6 -4
- package/es/theme/src/stores/theme.store.d.ts +1 -0
- package/es/theme/src/types/theme.type.d.ts +2 -0
- package/index.d.ts +2 -1
- package/index.js +6 -2
- package/package.json +4 -2
- package/tsconfig.json +1 -0
- package/vite.config.ts +1 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@table-action-icon-color: #666;
|
|
2
|
+
|
|
1
3
|
.dt-form-btns {
|
|
2
4
|
.ant-form-item-control-input-content{
|
|
3
5
|
display: flex;
|
|
@@ -6,6 +8,7 @@
|
|
|
6
8
|
|
|
7
9
|
.ant-btn{
|
|
8
10
|
display: flex;
|
|
11
|
+
align-items: center;
|
|
9
12
|
}
|
|
10
13
|
|
|
11
14
|
.ant-btn.ant-btn-lg{
|
|
@@ -115,7 +118,7 @@
|
|
|
115
118
|
padding: 2px 8px !important;
|
|
116
119
|
|
|
117
120
|
i{
|
|
118
|
-
font-size:
|
|
121
|
+
font-size: 18px;
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
}
|
|
@@ -127,7 +130,7 @@
|
|
|
127
130
|
font-size: 12px !important;
|
|
128
131
|
padding: 2px 8px !important;
|
|
129
132
|
i{
|
|
130
|
-
font-size:
|
|
133
|
+
font-size: 16px;
|
|
131
134
|
}
|
|
132
135
|
}
|
|
133
136
|
}
|
|
@@ -139,7 +142,7 @@
|
|
|
139
142
|
font-size: 13px !important;
|
|
140
143
|
padding: 4px 8px !important;
|
|
141
144
|
i{
|
|
142
|
-
font-size:
|
|
145
|
+
font-size: 16px;
|
|
143
146
|
}
|
|
144
147
|
}
|
|
145
148
|
}
|
|
@@ -213,7 +216,25 @@
|
|
|
213
216
|
}
|
|
214
217
|
|
|
215
218
|
.dt-table-action-btn, .dt-table-action-dropdown{
|
|
216
|
-
font-size: 18px;
|
|
217
219
|
vertical-align: middle;
|
|
218
|
-
color: @
|
|
220
|
+
color: @table-action-icon-color;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.dt-table-action-btn{
|
|
224
|
+
border-right: 1px solid rgba(0,0,0,.06);
|
|
225
|
+
i{
|
|
226
|
+
color: @primary-color;
|
|
227
|
+
}
|
|
228
|
+
&:last-of-type {
|
|
229
|
+
border-right: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ant-table i.dt-table-action-dropdown{
|
|
234
|
+
font-size: 20px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.ant-table-middle i.dt-table-action-dropdown,
|
|
238
|
+
.ant-table-small i.dt-table-action-dropdown {
|
|
239
|
+
font-size: 18px;
|
|
219
240
|
}
|
|
@@ -141,6 +141,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
141
141
|
type: BooleanConstructor;
|
|
142
142
|
default: boolean;
|
|
143
143
|
};
|
|
144
|
+
checkStrictly: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
144
148
|
operations: {
|
|
145
149
|
type: import("vue").PropType<import("./types/table.type").TableRowAction | import("./types/table.type").ButtonType[]>;
|
|
146
150
|
};
|
|
@@ -323,6 +327,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
323
327
|
onDownload: Function;
|
|
324
328
|
indexColumnProps: import("./types/table.type").BasicColumn[];
|
|
325
329
|
isTreeTable: boolean;
|
|
330
|
+
checkStrictly: boolean;
|
|
326
331
|
onSearch: (params: import("@dt-frames/core").Recordable<any>) => void;
|
|
327
332
|
onAdd: (params: import("@dt-frames/core").Recordable<any>) => void;
|
|
328
333
|
onUpdate: (params: {
|
|
@@ -553,6 +558,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
553
558
|
type: BooleanConstructor;
|
|
554
559
|
default: boolean;
|
|
555
560
|
};
|
|
561
|
+
checkStrictly: {
|
|
562
|
+
type: BooleanConstructor;
|
|
563
|
+
default: boolean;
|
|
564
|
+
};
|
|
556
565
|
operations: {
|
|
557
566
|
type: import("vue").PropType<import("./types/table.type").TableRowAction | import("./types/table.type").ButtonType[]>;
|
|
558
567
|
};
|
|
@@ -639,6 +648,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
639
648
|
childrenColumnName: string;
|
|
640
649
|
indexColumnProps: import("./types/table.type").BasicColumn[];
|
|
641
650
|
isTreeTable: boolean;
|
|
651
|
+
checkStrictly: boolean;
|
|
642
652
|
onSearch: (params: import("@dt-frames/core").Recordable<any>) => void;
|
|
643
653
|
onAdd: (params: import("@dt-frames/core").Recordable<any>) => void;
|
|
644
654
|
onUpdate: (params: {
|
|
@@ -145,6 +145,10 @@ export declare const TableProps: {
|
|
|
145
145
|
type: BooleanConstructor;
|
|
146
146
|
default: boolean;
|
|
147
147
|
};
|
|
148
|
+
checkStrictly: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
148
152
|
operations: {
|
|
149
153
|
type: PropType<TableRowAction | ButtonType[]>;
|
|
150
154
|
};
|