@mc20230601/keep-up 1.0.48 → 1.0.49

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/index.d.ts CHANGED
@@ -1254,8 +1254,20 @@ export declare type ICommonFilterExpose = {
1254
1254
  getCommonFilterHeight: () => number;
1255
1255
  };
1256
1256
 
1257
+ /** 获取列表入参 */
1258
+ export declare interface ICommonGetListParams {
1259
+ /** 页码 */
1260
+ page: number;
1261
+ /** 每页展示条数 */
1262
+ pageSize: number;
1263
+ /** 总条目 */
1264
+ total: number;
1265
+ /** 业务参数 */
1266
+ [key: string]: any;
1267
+ }
1268
+
1257
1269
  /** 获取列表出参 */
1258
- declare interface ICommonGetListRes<L> {
1270
+ export declare interface ICommonGetListRes<L> {
1259
1271
  /** list */
1260
1272
  list: L;
1261
1273
  /** 分页信息 */
@@ -1278,7 +1290,7 @@ export declare interface ICommonModalExpose {
1278
1290
  }
1279
1291
 
1280
1292
  /** 对象 */
1281
- declare interface ICommonObj {
1293
+ export declare interface ICommonObj {
1282
1294
  [k: string]: any;
1283
1295
  }
1284
1296
 
@@ -1376,7 +1388,7 @@ export declare interface IExpose {
1376
1388
  }
1377
1389
 
1378
1390
  /** 请求配置 */
1379
- declare interface IFetchConfig {
1391
+ export declare interface IFetchConfig {
1380
1392
  /** api */
1381
1393
  api: (p: any) => Promise<any>;
1382
1394
  /** 入参 */
@@ -1412,7 +1424,7 @@ export declare type IField = IFieldBase & ({
1412
1424
  });
1413
1425
 
1414
1426
  /** field基础配置 */
1415
- declare interface IFieldBase {
1427
+ export declare interface IFieldBase {
1416
1428
  /** 字段标识 */
1417
1429
  prop: string;
1418
1430
  /** 字段label */
@@ -1492,6 +1504,14 @@ export declare interface IFormTabProps {
1492
1504
  /** CommonTable内获取列表方法 */
1493
1505
  declare type IGetList = (currentPage?: number, pageSize?: number, text?: string) => Promise<void>;
1494
1506
 
1507
+ /** getRootSchema入参 */
1508
+ export declare interface IGetRootSchema {
1509
+ /** 列数 */
1510
+ maxColumns: number;
1511
+ /** 属性 */
1512
+ properties: ISchema_2;
1513
+ }
1514
+
1495
1515
  /** 叶子节点的父节点(唯一) */
1496
1516
  export declare interface IGroupNode extends IBasicGroupNode {
1497
1517
  /** 节点类型 */
@@ -1521,7 +1541,7 @@ export declare interface ILeafNode extends Partial<ILocationItem> {
1521
1541
  }
1522
1542
 
1523
1543
  /** 获取列表 */
1524
- declare type IListApi = (p?: ICommonObj) => Promise<ICommonGetListRes<any[]>>;
1544
+ export declare type IListApi = (p?: ICommonObj) => Promise<ICommonGetListRes<any[]>>;
1525
1545
 
1526
1546
  /** 位置(接口数据) */
1527
1547
  export declare interface ILocationItem {
@@ -1570,6 +1590,14 @@ export declare interface IOperateActions {
1570
1590
  reset: () => Promise<void>;
1571
1591
  }
1572
1592
 
1593
+ /** Option Item */
1594
+ export declare interface IOptionItem extends Record<string, any> {
1595
+ /** 键名 */
1596
+ label: string;
1597
+ /** 值 */
1598
+ value: string | number;
1599
+ }
1600
+
1573
1601
  /** 选项item */
1574
1602
  declare interface IOptionsItem {
1575
1603
  /** 标题 */
package/es/index.mjs CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from '@mc20230601/keep-up/components';
2
+ export * from '@mc20230601/keep-up/interfaces';
2
3
  //# sourceMappingURL=index.mjs.map
package/es/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,36 +1,3 @@
1
- .index-module_container__D46b- {
2
- padding: 16px 20px !important;
3
- box-sizing: border-box !important;
4
- }
5
- .index-module_container__m2VYe {
6
- overflow: hidden;
7
- }
8
- .index-module_container__m2VYe .formily-element-plus-form-item-label {
9
- width: var(--common-editor-label-width);
10
- align-items: center;
11
- justify-content: flex-start;
12
- margin-bottom: 5px;
13
- }
14
- .index-module_container__m2VYe .formily-element-plus-form-item {
15
- margin: var(--common-editor-label-margin);
16
- }
17
- .index-module_container__m2VYe .el-drawer__footer {
18
- box-shadow: 0 0 10px #eee;
19
- }
20
- .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-label {
21
- justify-content: end;
22
- padding-right: 10px;
23
- box-sizing: border-box;
24
- }
25
- .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-colon {
26
- display: none;
27
- }
28
- .index-module_container__m2VYe .index-module_footer__WU6ip {
29
- width: 100%;
30
- height: auto;
31
- box-sizing: border-box;
32
- justify-content: flex-end;
33
- }
34
1
  @charset "UTF-8";
35
2
  /* 全局 css 变量 */
36
3
  :root {
@@ -47,52 +14,53 @@
47
14
  --el-fill-color-lighter: #f5f7fa;
48
15
  }
49
16
 
50
- .index-module_container__i8ob4 {
51
- margin: 0;
52
- padding: 0;
53
- border-radius: 4px;
54
- overflow: hidden;
55
- }
56
- .index-module_container__i8ob4.el-dialog {
57
- padding: 0;
58
- margin-top: 7vh;
59
- }
60
- .index-module_container__i8ob4 .el-dialog__header {
61
- text-align: left;
62
- padding: 16px 24px;
17
+ .index-module_wrapper__o-ooH {
18
+ line-height: 16px;
19
+ font-weight: bold;
20
+ padding: 6px 6px 6px 10px;
63
21
  box-sizing: border-box;
64
- background-color: #f6f8fa;
22
+ background-color: #f5f5f5;
65
23
  }
66
- .index-module_container__i8ob4 .el-dialog__title {
67
- font-family: PingFang SC;
68
- font-weight: 500;
69
- font-size: 18px;
70
- line-height: 100%;
71
- vertical-align: middle;
24
+ .index-module_wrapper__o-ooH.index-module_primary__-O491 {
25
+ border-left: 6px solid #007dff;
72
26
  }
73
- .index-module_container__i8ob4 .el-dialog__headerbtn {
74
- padding-right: 10px;
75
- top: 4px;
27
+ .index-module_wrapper__o-ooH.index-module_danger__8-OdG {
28
+ border-left: 6px solid #f56c6c;
76
29
  }
77
- .index-module_container__i8ob4 .el-dialog__body {
78
- padding: 16px 24px;
30
+ .index-module_wrapper__wIJRk {
31
+ padding: 12px 0 !important;
79
32
  box-sizing: border-box;
33
+ border-bottom: 1px solid #dcdfe6;
34
+ font-family: Noto Sans SC;
35
+ font-weight: 500;
36
+ font-style: Medium;
37
+ font-size: 16px !important;
38
+ line-height: 24px;
39
+ letter-spacing: 0px;
40
+ color: #303133;
80
41
  }
81
- .index-module_container__i8ob4 .el-dialog__footer {
82
- padding: 16px 24px;
83
- box-sizing: border-box;
84
- background-color: #f6f8fa;
42
+ .index-module_container__VGtEq {
43
+ width: 100%;
85
44
  }
86
- .index-module_container__i8ob4 .index-module_content__LREdw {
87
- max-height: 80vh;
88
- overflow-y: auto;
45
+ .index-module_container__u57hI {
46
+ width: 100%;
89
47
  }
90
- .index-module_container__pOL02 .el-drawer__header {
91
- margin-bottom: 10px;
48
+ .index-module_container__u57hI .formily-element-plus-form-item-label {
49
+ margin-bottom: 0 !important;
92
50
  }
93
- .index-module_container__pOL02 .el-drawer__title {
51
+ .index-module_container__u57hI .formily-element-plus-form-item-error-help {
94
52
  text-align: left;
95
53
  }
54
+ .index-module_container__u57hI .el-collapse-item__header {
55
+ box-sizing: border-box;
56
+ }
57
+ .index-module_container__u57hI .el-step__icon {
58
+ position: absolute;
59
+ left: 0;
60
+ }
61
+ .index-module_container__u57hI .el-step__title {
62
+ margin-top: 30px;
63
+ }
96
64
  .index-module_container__Kf-LD {
97
65
  width: 100%;
98
66
  height: auto;
@@ -111,6 +79,46 @@
111
79
  .index-module_container__Kf-LD .index-module_btn__4DJ6R {
112
80
  margin-left: 0 !important;
113
81
  }
82
+ .index-module_container__cwKyU {
83
+ width: 140px;
84
+ border-radius: 5px;
85
+ }
86
+ .index-module_container__cwKyU .el-checkbox {
87
+ width: 100%;
88
+ }
89
+ .index-module_container__cwKyU .el-checkbox__label {
90
+ width: calc(100% - 22px);
91
+ }
92
+ .index-module_container__cwKyU .index-module_allCheckbox__gnca9 {
93
+ width: 100%;
94
+ }
95
+ .index-module_container__cwKyU .index-module_allCheckbox__gnca9:hover {
96
+ background-color: #f5f5f5 !important;
97
+ }
98
+ .index-module_container__cwKyU .index-module_divider__Si8Gr {
99
+ margin: 0;
100
+ }
101
+ .index-module_container__cwKyU .index-module_childBox__B2OiA {
102
+ width: 100%;
103
+ height: 300px;
104
+ overflow-y: auto;
105
+ }
106
+ .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_draggle__G85gE {
107
+ display: flex;
108
+ flex-direction: column;
109
+ }
110
+ .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP- {
111
+ width: 100%;
112
+ margin: 0;
113
+ flex-shrink: 0;
114
+ }
115
+ .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP-:hover {
116
+ background-color: #f5f5f5 !important;
117
+ }
118
+ .index-module_container__D46b- {
119
+ padding: 16px 20px !important;
120
+ box-sizing: border-box !important;
121
+ }
114
122
  .index-module_container__bsvsi {
115
123
  width: 100%;
116
124
  height: 100%;
@@ -142,18 +150,40 @@
142
150
  .index-module_container__bsvsi th:last-child::after {
143
151
  display: none;
144
152
  }
145
- .index-module_container__VGtEq {
146
- width: 100%;
153
+ .index-module_container__pOL02 .el-drawer__header {
154
+ margin-bottom: 10px;
147
155
  }
148
- .index-module_container__qa31T .el-upload--text {
149
- flex-direction: column;
150
- width: 100%;
156
+ .index-module_container__pOL02 .el-drawer__title {
157
+ text-align: left;
151
158
  }
152
- .index-module_container__qa31T .el-icon--upload {
153
- font-size: 67px;
154
- color: #a8abb2;
155
- margin-bottom: 16px;
156
- line-height: 50px;
159
+ .index-module_container__m2VYe {
160
+ overflow: hidden;
161
+ }
162
+ .index-module_container__m2VYe .formily-element-plus-form-item-label {
163
+ width: var(--common-editor-label-width);
164
+ align-items: center;
165
+ justify-content: flex-start;
166
+ margin-bottom: 5px;
167
+ }
168
+ .index-module_container__m2VYe .formily-element-plus-form-item {
169
+ margin: var(--common-editor-label-margin);
170
+ }
171
+ .index-module_container__m2VYe .el-drawer__footer {
172
+ box-shadow: 0 0 10px #eee;
173
+ }
174
+ .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-label {
175
+ justify-content: end;
176
+ padding-right: 10px;
177
+ box-sizing: border-box;
178
+ }
179
+ .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-colon {
180
+ display: none;
181
+ }
182
+ .index-module_container__m2VYe .index-module_footer__WU6ip {
183
+ width: 100%;
184
+ height: auto;
185
+ box-sizing: border-box;
186
+ justify-content: flex-end;
157
187
  }
158
188
  @charset "UTF-8";
159
189
  /* 全局 css 变量 */
@@ -259,83 +289,53 @@
259
289
  --el-fill-color-lighter: #f5f7fa;
260
290
  }
261
291
 
262
- .index-module_wrapper__o-ooH {
263
- line-height: 16px;
264
- font-weight: bold;
265
- padding: 6px 6px 6px 10px;
266
- box-sizing: border-box;
267
- background-color: #f5f5f5;
268
- }
269
- .index-module_wrapper__o-ooH.index-module_primary__-O491 {
270
- border-left: 6px solid #007dff;
271
- }
272
- .index-module_wrapper__o-ooH.index-module_danger__8-OdG {
273
- border-left: 6px solid #f56c6c;
274
- }
275
- .index-module_container__u57hI {
276
- width: 100%;
292
+ .index-module_container__i8ob4 {
293
+ margin: 0;
294
+ padding: 0;
295
+ border-radius: 4px;
296
+ overflow: hidden;
277
297
  }
278
- .index-module_container__u57hI .formily-element-plus-form-item-label {
279
- margin-bottom: 0 !important;
298
+ .index-module_container__i8ob4.el-dialog {
299
+ padding: 0;
300
+ margin-top: 7vh;
280
301
  }
281
- .index-module_container__u57hI .formily-element-plus-form-item-error-help {
302
+ .index-module_container__i8ob4 .el-dialog__header {
282
303
  text-align: left;
283
- }
284
- .index-module_container__u57hI .el-collapse-item__header {
304
+ padding: 16px 24px;
285
305
  box-sizing: border-box;
306
+ background-color: #f6f8fa;
286
307
  }
287
- .index-module_container__u57hI .el-step__icon {
288
- position: absolute;
289
- left: 0;
290
- }
291
- .index-module_container__u57hI .el-step__title {
292
- margin-top: 30px;
293
- }
294
- .index-module_wrapper__wIJRk {
295
- padding: 12px 0 !important;
296
- box-sizing: border-box;
297
- border-bottom: 1px solid #dcdfe6;
298
- font-family: Noto Sans SC;
308
+ .index-module_container__i8ob4 .el-dialog__title {
309
+ font-family: PingFang SC;
299
310
  font-weight: 500;
300
- font-style: Medium;
301
- font-size: 16px !important;
302
- line-height: 24px;
303
- letter-spacing: 0px;
304
- color: #303133;
305
- }
306
- .index-module_container__cwKyU {
307
- width: 140px;
308
- border-radius: 5px;
309
- }
310
- .index-module_container__cwKyU .el-checkbox {
311
- width: 100%;
312
- }
313
- .index-module_container__cwKyU .el-checkbox__label {
314
- width: calc(100% - 22px);
311
+ font-size: 18px;
312
+ line-height: 100%;
313
+ vertical-align: middle;
315
314
  }
316
- .index-module_container__cwKyU .index-module_allCheckbox__gnca9 {
317
- width: 100%;
315
+ .index-module_container__i8ob4 .el-dialog__headerbtn {
316
+ padding-right: 10px;
317
+ top: 4px;
318
318
  }
319
- .index-module_container__cwKyU .index-module_allCheckbox__gnca9:hover {
320
- background-color: #f5f5f5 !important;
319
+ .index-module_container__i8ob4 .el-dialog__body {
320
+ padding: 16px 24px;
321
+ box-sizing: border-box;
321
322
  }
322
- .index-module_container__cwKyU .index-module_divider__Si8Gr {
323
- margin: 0;
323
+ .index-module_container__i8ob4 .el-dialog__footer {
324
+ padding: 16px 24px;
325
+ box-sizing: border-box;
326
+ background-color: #f6f8fa;
324
327
  }
325
- .index-module_container__cwKyU .index-module_childBox__B2OiA {
326
- width: 100%;
327
- height: 300px;
328
+ .index-module_container__i8ob4 .index-module_content__LREdw {
329
+ max-height: 80vh;
328
330
  overflow-y: auto;
329
331
  }
330
- .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_draggle__G85gE {
331
- display: flex;
332
+ .index-module_container__qa31T .el-upload--text {
332
333
  flex-direction: column;
333
- }
334
- .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP- {
335
334
  width: 100%;
336
- margin: 0;
337
- flex-shrink: 0;
338
335
  }
339
- .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP-:hover {
340
- background-color: #f5f5f5 !important;
336
+ .index-module_container__qa31T .el-icon--upload {
337
+ font-size: 67px;
338
+ color: #a8abb2;
339
+ margin-bottom: 16px;
340
+ line-height: 50px;
341
341
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mc20230601/keep-up",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "",
5
5
  "author": "mc20230601",
6
6
  "publishConfig": {