@dt-frames/ui 2.0.2 → 2.0.4

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.
Files changed (69) hide show
  1. package/es/assets/locales/en.ts +1 -1
  2. package/es/components/container/index.d.ts +4 -3
  3. package/es/components/container/index.js +24 -22
  4. package/es/components/container/src/slot-container.d.ts +5 -3
  5. package/es/components/curd/index.js +261 -229
  6. package/es/components/curd/src/components/Curd.d.ts +126 -331
  7. package/es/components/curd/src/props.d.ts +14 -15
  8. package/es/components/drawer/index.d.ts +3 -5
  9. package/es/components/drawer/index.js +55 -54
  10. package/es/components/drawer/src/components/DrawerHeader.d.ts +1 -3
  11. package/es/components/drawer/src/index.d.ts +4 -7
  12. package/es/components/form/index.d.ts +213 -361
  13. package/es/components/form/index.js +210 -163
  14. package/es/components/form/index.less +206 -8
  15. package/es/components/form/src/components/FormButtons.d.ts +3 -3
  16. package/es/components/form/src/components/FormItem.d.ts +152 -304
  17. package/es/components/form/src/components/formIcon.d.ts +4 -4
  18. package/es/components/form/src/components/formInputUseDialog.d.ts +3 -3
  19. package/es/components/form/src/enums/index.d.ts +1 -1
  20. package/es/components/form/src/index.d.ts +199 -347
  21. package/es/components/form/src/props.d.ts +8 -12
  22. package/es/components/form/src/types/form.type.d.ts +2 -2
  23. package/es/components/icons/index.d.ts +496 -2
  24. package/es/components/icons/index.less +5 -0
  25. package/es/components/icons/src/pick-icon.d.ts +5 -5
  26. package/es/components/modal/index.js +76 -74
  27. package/es/components/modal/index.less +10 -0
  28. package/es/components/modal/src/components/Modal.d.ts +108 -215
  29. package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
  30. package/es/components/modal/src/index.d.ts +116 -223
  31. package/es/components/source/hooks/useSource.d.ts +14 -0
  32. package/es/components/source/index.js +66 -27
  33. package/es/components/source/types/source.type.d.ts +4 -8
  34. package/es/components/table/index.js +452 -820
  35. package/es/components/table/index.less +50 -14
  36. package/es/components/table/src/components/TableAction.d.ts +1 -1
  37. package/es/components/table/src/components/TableHeader.d.ts +109 -216
  38. package/es/components/table/src/components/TableRender.d.ts +13 -9
  39. package/es/components/table/src/components/tableSetting/Download.d.ts +107 -214
  40. package/es/components/table/src/components/tableSetting/DownloadCtrl.d.ts +107 -214
  41. package/es/components/table/src/components/tableSetting/index.d.ts +107 -214
  42. package/es/components/table/src/hooks/useDataSource.d.ts +1 -2
  43. package/es/components/table/src/hooks/usePagination.d.ts +3 -118
  44. package/es/components/table/src/index.d.ts +99 -435
  45. package/es/components/table/src/props.d.ts +19 -74
  46. package/es/components/table/src/types/actions.type.d.ts +1 -2
  47. package/es/components/table/src/types/table.type.d.ts +13 -8
  48. package/es/index.d.ts +1 -1
  49. package/es/index.js +2 -3240
  50. package/es/theme/index.js +688 -453
  51. package/es/theme/index.less +150 -0
  52. package/es/theme/src/components/header/components/logo.d.ts +0 -1
  53. package/es/theme/src/components/header/components/notify.d.ts +4 -3
  54. package/es/theme/src/components/header/components/setting-theme.d.ts +2 -1
  55. package/es/theme/src/components/header/components/user-info.d.ts +4 -3
  56. package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
  57. package/es/theme/src/components/header/index.d.ts +8 -7
  58. package/es/theme/src/components/header/multiple-header.d.ts +22 -25
  59. package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
  60. package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
  61. package/es/theme/src/components/sider/index.d.ts +147 -3
  62. package/es/theme/src/components/sider/mix-sider.d.ts +146 -0
  63. package/es/theme/src/enums/theme.enum.d.ts +2 -1
  64. package/es/theme/src/hooks/useMenu.d.ts +4 -2
  65. package/es/theme/src/index.d.ts +166 -23
  66. package/es/theme/src/stores/theme.store.d.ts +3 -0
  67. package/es/theme/src/types/theme.type.d.ts +2 -1
  68. package/package.json +3 -4
  69. package/vite.config.ts +0 -27
@@ -26,6 +26,52 @@
26
26
  }
27
27
  }
28
28
 
29
+ .ant-input{
30
+ font-size: 13px;
31
+ }
32
+
33
+ .ant-btn{
34
+ display: flex;
35
+ align-items: center;
36
+ font-size: 13px;
37
+ }
38
+
39
+ .ant-btn.ant-btn-sm{
40
+ font-size: 12px;
41
+ }
42
+
43
+ .ant-btn.ant-btn-lg {
44
+ font-size: 14px;
45
+ height: 34px;
46
+ }
47
+
48
+ .ant-input-sm{
49
+ font-size: 12px;
50
+ }
51
+
52
+ .ant-input-lg{
53
+ font-size: 14px;
54
+ }
55
+
56
+ .ant-form-item{
57
+ // align-items: center;
58
+ .prefix, .suffix {
59
+ display: flex;
60
+ align-items: center;
61
+ }
62
+ }
63
+
64
+ .ant-input-affix-wrapper{
65
+ display: flex;
66
+ align-items: center;
67
+ }
68
+
69
+ .ant-picker{
70
+ width: 100%;
71
+ height: 100%;
72
+ }
73
+
74
+
29
75
  .ant-form-item.small {
30
76
  line-height: 30px;
31
77
  font-size: 12px;
@@ -36,7 +82,6 @@
36
82
  }
37
83
 
38
84
  .ant-input-affix-wrapper-sm{
39
- line-height: 30px;
40
85
  height: 30px;
41
86
 
42
87
  .ant-input-sm{
@@ -49,10 +94,6 @@
49
94
  font-size: 12px;
50
95
  }
51
96
 
52
- .prefix, .suffix {
53
- height: 30px;
54
- }
55
-
56
97
  .ant-form-item-explain{
57
98
  height: 16px;
58
99
  min-height: 16px;
@@ -100,14 +141,154 @@
100
141
  }
101
142
 
102
143
  .ant-picker{
103
- width: 100%;
104
- height: 100%;
105
144
  &-input input{
106
145
  font-size: 12px;
107
146
  }
108
147
  }
109
148
  }
110
149
 
150
+
151
+
152
+ .ant-form-item.middle{
153
+ font-size: 13px;
154
+ .ant-form-item-label label{
155
+ height: 32px;
156
+ font-size: 13px;
157
+ }
158
+
159
+ .ant-input-prefix, .ant-input-suffix{
160
+ font-size: 13px;
161
+ }
162
+
163
+ .ant-input-affix-wrapper{
164
+ height: 32px;
165
+
166
+ .ant-input{
167
+ height: 26px;
168
+ font-size: 13px;
169
+ }
170
+ }
171
+
172
+ .ant-select-single:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input,
173
+ .ant-select-multiple:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input {
174
+ height: 32px;
175
+ line-height: 30px;
176
+ }
177
+
178
+ .ant-select-single:not(.ant-select-customize-input) .ant-select-selector{
179
+ height: 32px;
180
+ }
181
+
182
+ .ant-select-single:not(.ant-select-customize-input) .ant-select-selector::after,
183
+ .ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,
184
+ .ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder{
185
+ line-height: 30px;
186
+ font-size: 13px;
187
+ }
188
+
189
+ .ant-select-multiple {
190
+ font-size: 13px;
191
+ .ant-select-selector{
192
+ min-height: 32px;
193
+ input{
194
+ height: 28px !important;
195
+ line-height: 28px !important;
196
+ }
197
+ }
198
+ .anticon {
199
+ display: flex;
200
+ }
201
+ }
202
+
203
+ .ant-radio-group-default label, .ant-checkbox-group-item {
204
+ font-size: 12px;
205
+ line-height: 30px;
206
+ height: 30px;
207
+ }
208
+
209
+ .ant-picker{
210
+ &-input input{
211
+ font-size: 13px;
212
+ }
213
+ }
214
+ }
215
+
216
+ .ant-form-item.large{
217
+ font-size: 14px;
218
+ .ant-form-item-label label{
219
+ height: 34px;
220
+ font-size: 14px;
221
+ }
222
+
223
+ .ant-input-prefix, .ant-input-suffix{
224
+ font-size: 14px;
225
+ }
226
+
227
+ .ant-input-affix-wrapper-lg{
228
+ height: 34px;
229
+
230
+ .ant-input{
231
+ font-size: 14px;
232
+ }
233
+ }
234
+
235
+ .ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input,
236
+ .ant-select-multiple.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input {
237
+ height: 34px;
238
+ line-height: 32px;
239
+ }
240
+
241
+ .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector{
242
+ height: 34px;
243
+ }
244
+
245
+ .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector::after,
246
+ .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,
247
+ .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder{
248
+ line-height: 32px;
249
+ font-size: 14px;
250
+ }
251
+
252
+ .ant-select-multiple.ant-select-lg {
253
+ font-size: 14px;
254
+ .ant-select-selector{
255
+ min-height: 34px;
256
+ input{
257
+ height: 16px !important;
258
+ line-height: 16px !important;
259
+ }
260
+ }
261
+
262
+ .ant-select-selector::after{
263
+ margin: 0;
264
+ }
265
+
266
+ .ant-select-selection-overflow-item{
267
+ height: 26px;
268
+ .ant-select-selection-item{
269
+ height: 24px;
270
+ line-height: 24px;
271
+ font-size: 13px;
272
+ }
273
+ }
274
+ .anticon {
275
+ display: flex;
276
+ }
277
+ }
278
+
279
+ .ant-radio-group-large label, .ant-checkbox-group-item {
280
+ font-size: 14px;
281
+ line-height: 32px;
282
+ height: 32px;
283
+ }
284
+
285
+ .ant-picker{
286
+ &-input input{
287
+ font-size: 14px;
288
+ }
289
+ }
290
+ }
291
+
111
292
  .ant-input-number {
112
293
  width: 100%;
113
294
  height: 100%;
@@ -115,6 +296,14 @@
115
296
  line-height: 28px;
116
297
  font-size: 12px;
117
298
  }
299
+
300
+ &.ant-input-number-lg{
301
+ line-height: 28px;
302
+ font-size: 14px;
303
+ input{
304
+ height: 32px;
305
+ }
306
+ }
118
307
  }
119
308
 
120
309
  .anticon-swap-right{
@@ -128,14 +317,23 @@
128
317
  min-height: 30px;
129
318
  }
130
319
 
320
+ .ant-select-dropdown.middle .ant-select-item.ant-select-item-option {
321
+ font-size: 13px;
322
+ line-height: 24px;
323
+ min-height: 32px;
324
+ }
325
+
131
326
  .ant-picker-dropdown.small {
132
327
  font-size: 12px;
133
328
  }
134
329
 
330
+ .ant-picker-dropdown.middle {
331
+ font-size: 13px;
332
+ }
333
+
135
334
  .dt-form-btns {
136
335
  .ant-form-item-control-input-content{
137
336
  display: flex;
138
337
  gap: 12px;
139
338
  }
140
339
  }
141
-
@@ -79,10 +79,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
79
79
  "onHandle-method"?: (...args: any[]) => any;
80
80
  }, {
81
81
  mode: "search" | "dialog";
82
- minShowColumn: number;
83
- showAdvancedButton: boolean;
84
82
  show: boolean;
85
- isAdvanced: boolean;
83
+ showAdvancedButton: boolean;
84
+ minShowColumn: number;
86
85
  buttonList: ButtonProps[];
86
+ isAdvanced: boolean;
87
87
  }>;
88
88
  export default _sfc_main;