@mc20230601/keep-up 1.0.41 → 1.0.48

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 (93) hide show
  1. package/es/components/codeEditor/index.d.ts +4 -4
  2. package/es/components/codeEditor/index.mjs +2 -2
  3. package/es/components/codeEditor/index.mjs.map +1 -1
  4. package/es/components/commonEditor/constants.mjs.map +1 -1
  5. package/es/components/commonEditor/index.d.ts +2 -2
  6. package/es/components/commonEditor/index.mjs +4 -3
  7. package/es/components/commonEditor/index.mjs.map +1 -1
  8. package/es/components/commonEditor/interfaces.d.ts +5 -1
  9. package/es/components/commonFilter/constants.mjs.map +1 -1
  10. package/es/components/commonFilter/index.d.ts +6 -6
  11. package/es/components/commonFilter/index.mjs +6 -4
  12. package/es/components/commonFilter/index.mjs.map +1 -1
  13. package/es/components/commonFilter/interfaces.d.ts +3 -1
  14. package/es/components/commonFilter/useFieldsParser.mjs +22 -19
  15. package/es/components/commonFilter/useFieldsParser.mjs.map +1 -1
  16. package/es/components/commonFilter/useKeepFilter.d.ts +1 -1
  17. package/es/components/commonFilter/useKeepFilter.mjs +21 -3
  18. package/es/components/commonFilter/useKeepFilter.mjs.map +1 -1
  19. package/es/components/commonJsonPretty/index.mjs +6 -11
  20. package/es/components/commonJsonPretty/index.mjs.map +1 -1
  21. package/es/components/commonLocations/index.d.ts +1 -1
  22. package/es/components/commonLocations/index.mjs +2 -2
  23. package/es/components/commonLocations/index.mjs.map +1 -1
  24. package/es/components/commonLocations/useLocations.mjs +8 -2
  25. package/es/components/commonLocations/useLocations.mjs.map +1 -1
  26. package/es/components/commonLocations/utils.mjs +3 -1
  27. package/es/components/commonLocations/utils.mjs.map +1 -1
  28. package/es/components/commonModal/index.mjs.map +1 -1
  29. package/es/components/commonPage/index.d.ts +4 -2
  30. package/es/components/commonPage/index.mjs +16 -9
  31. package/es/components/commonPage/index.mjs.map +1 -1
  32. package/es/components/commonPage/interfaces.d.ts +4 -0
  33. package/es/components/commonPage/useAsyncDataSource.d.ts +1 -1
  34. package/es/components/commonPage/useAsyncDataSource.mjs +11 -4
  35. package/es/components/commonPage/useAsyncDataSource.mjs.map +1 -1
  36. package/es/components/commonPage/usePage.mjs +37 -32
  37. package/es/components/commonPage/usePage.mjs.map +1 -1
  38. package/es/components/commonPage/usePageActions.mjs +19 -13
  39. package/es/components/commonPage/usePageActions.mjs.map +1 -1
  40. package/es/components/commonPage/usePagePreferences.mjs +28 -10
  41. package/es/components/commonPage/usePagePreferences.mjs.map +1 -1
  42. package/es/components/commonPage/utils.mjs.map +1 -1
  43. package/es/components/commonSetter/components/draggableList/index.mjs +6 -5
  44. package/es/components/commonSetter/components/draggableList/index.mjs.map +1 -1
  45. package/es/components/commonSetter/index.mjs.map +1 -1
  46. package/es/components/commonTable/constants.d.ts +6 -2
  47. package/es/components/commonTable/constants.mjs +3 -4
  48. package/es/components/commonTable/constants.mjs.map +1 -1
  49. package/es/components/commonTable/index.mjs +13 -7
  50. package/es/components/commonTable/index.mjs.map +1 -1
  51. package/es/components/commonTable/index.module.mjs +2 -2
  52. package/es/components/commonTable/props.mjs.map +1 -1
  53. package/es/components/commonTable/usePagination.mjs +0 -1
  54. package/es/components/commonTable/usePagination.mjs.map +1 -1
  55. package/es/components/commonTable/utils.d.ts +1 -1
  56. package/es/components/commonTable/utils.mjs +1 -6
  57. package/es/components/commonTable/utils.mjs.map +1 -1
  58. package/es/components/formTabs/index.mjs +0 -1
  59. package/es/components/formTabs/index.mjs.map +1 -1
  60. package/es/components/formilyCmps/formTab/index.mjs +1 -5
  61. package/es/components/formilyCmps/formTab/index.mjs.map +1 -1
  62. package/es/components/formilyCmps/formilyForm/index.d.ts +1 -1
  63. package/es/components/formilyCmps/formilyForm/index.mjs +18 -0
  64. package/es/components/formilyCmps/formilyForm/index.mjs.map +1 -1
  65. package/es/components/formilyCmps/formilyForm/interfaces.d.ts +2 -2
  66. package/es/components/formilyCmps/index.d.ts +1 -0
  67. package/es/components/formilyCmps/index.mjs +1 -0
  68. package/es/components/formilyCmps/index.mjs.map +1 -1
  69. package/es/components/formilyCmps/sectionTitle/index.mjs +2 -2
  70. package/es/components/formilyCmps/sectionTitle/index.mjs.map +1 -1
  71. package/es/components/formilyCmps/title/index.d.ts +2 -0
  72. package/es/components/formilyCmps/title/index.mjs +19 -0
  73. package/es/components/formilyCmps/title/index.mjs.map +1 -0
  74. package/es/components/formilyCmps/title/index.module.mjs +4 -0
  75. package/es/components/formilyCmps/title/index.module.mjs.map +1 -0
  76. package/es/components/formilyCmps/virtualizedSelect/index.d.ts +1 -0
  77. package/es/components/formilyCmps/virtualizedSelect/index.mjs +15 -0
  78. package/es/components/formilyCmps/virtualizedSelect/index.mjs.map +1 -0
  79. package/es/components/index.d.ts +1 -1
  80. package/es/components/index.mjs +1 -0
  81. package/es/components/index.mjs.map +1 -1
  82. package/es/components/radioGroup/index.d.ts +15 -15
  83. package/es/components/radioGroup/index.mjs +1 -0
  84. package/es/components/radioGroup/index.mjs.map +1 -1
  85. package/es/components/space/index.d.ts +1 -1
  86. package/es/components/upload/formilyUpload.d.ts +1 -1
  87. package/es/components/upload/index.d.ts +4 -4
  88. package/es/components/upload/upload.d.ts +1 -1
  89. package/es/index.d.ts +2334 -18
  90. package/es/index.mjs +1 -20
  91. package/es/index.mjs.map +1 -1
  92. package/es/styles/index.css +169 -135
  93. package/package.json +1 -1
package/es/index.mjs CHANGED
@@ -1,21 +1,2 @@
1
- export { default as CommonFilter } from './components/commonFilter/index.mjs';
2
- export { default as CommonPage } from './components/commonPage/index.mjs';
3
- export { default as CommonTable } from './components/commonTable/index.mjs';
4
- export { default as CommonEditor } from './components/commonEditor/index.mjs';
5
- export { default as CommonModal } from './components/commonModal/index.mjs';
6
- export { default as CommonDrawer } from './components/commonDrawer/index.mjs';
7
- export { default as CommonLocations } from './components/commonLocations/index.mjs';
8
- export { CommonJsonPretty, FormilyCommonJsonPretty } from './components/commonJsonPretty/index.mjs';
9
- export { default as ElIconPlus } from './components/elIconPlus/index.mjs';
10
- export { default as FormilyForm } from './components/formilyCmps/formilyForm/index.mjs';
11
- export { composeFormTab as FormTab, composeFormTab } from './components/formilyCmps/formTab/index.mjs';
12
- export { default as CodeEditor } from './components/codeEditor/index.mjs';
13
- export { default as Fragment } from './components/fragment/index.mjs';
14
- export { default as FormTabs } from './components/formTabs/index.mjs';
15
- export { default as IconFont } from './components/iconFont/index.mjs';
16
- export { default as RadioGroup } from './components/radioGroup/index.mjs';
17
- export { default as Space } from './components/space/index.mjs';
18
- export { default as Upload } from './components/upload/index.mjs';
19
- export { COMMON_FILTER_INJECTION_KEY, Common_Page_Preferences_Type, PAGE_PREFERENCES_KEY, pagePreferencesToKeyMap } from './components/commonPage/constants.mjs';
20
- export { MODE, defaultLayout } from './components/commonEditor/constants.mjs';
1
+ export * from '@mc20230601/keep-up/components';
21
2
  //# 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,96 +1,35 @@
1
- .index-module_container__pOL02 .el-drawer__header {
2
- margin-bottom: 10px;
3
- }
4
- .index-module_container__pOL02 .el-drawer__title {
5
- text-align: left;
6
- }
7
- @charset "UTF-8";
8
- /* 全局 css 变量 */
9
- :root {
10
- --el-color-primary: #007dff;
11
- --el-color-success: #67c23a;
12
- --el-color-warning: #e6a23c;
13
- --el-color-danger: #f56c6c;
14
- --el-color-info: #909399;
15
- --el-border-radius-base: 8px;
16
- --el-border-radius-small: 4px;
17
- --el-border-radius-round: 8px;
18
- --el-border-radius-circle: 8px;
19
- --el-dialog-margin-top: 5vh;
20
- --el-fill-color-lighter: #f5f7fa;
21
- }
22
-
23
- .index-module_container__JA4Ki {
24
- width: 100%;
25
- height: 100%;
26
- background-color: #fff;
27
- box-sizing: border-box;
28
- padding-top: 12px;
29
- border-radius: 16px;
30
- }
31
- .index-module_container__JA4Ki > .el-space__item {
32
- width: 100%;
33
- height: auto;
34
- }
35
- .index-module_container__JA4Ki > .el-space__item:nth-child(3) {
36
- flex: 1;
37
- }
38
- .index-module_container__JA4Ki .index-module_extraPane__bGn22 {
39
- width: 100%;
40
- height: auto;
41
- }
42
- .index-module_container__JA4Ki .index-module_setter__KQO76 {
43
- width: fit-content;
44
- padding: 0 12px;
45
- box-sizing: border-box;
1
+ .index-module_container__D46b- {
2
+ padding: 16px 20px !important;
3
+ box-sizing: border-box !important;
46
4
  }
47
- .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space:nth-child(1) {
48
- flex: 1;
5
+ .index-module_container__m2VYe {
6
+ overflow: hidden;
49
7
  }
50
- .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space__item {
51
- width: fit-content;
52
- height: auto;
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;
53
13
  }
54
- .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space__item:nth-child(1) {
55
- flex: 1;
14
+ .index-module_container__m2VYe .formily-element-plus-form-item {
15
+ margin: var(--common-editor-label-margin);
56
16
  }
57
- .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space__item:nth-child(1) > button {
58
- flex: none;
17
+ .index-module_container__m2VYe .el-drawer__footer {
18
+ box-shadow: 0 0 10px #eee;
59
19
  }
60
- .index-module_container__JA4Ki .index-module_setter__KQO76 > .index-module_end__IkaJT {
61
- width: fit-content;
20
+ .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-label {
62
21
  justify-content: end;
22
+ padding-right: 10px;
23
+ box-sizing: border-box;
63
24
  }
64
- .index-module_container__JA4Ki .index-module_setter__KQO76 .index-module_line__PeHqv {
65
- width: 2px;
66
- height: 17px;
67
- margin: 7px 0 0 0;
68
- }
69
- .index-module_container__JA4Ki .index-module_setter__KQO76 .index-module_commonFilterContainer__yiOoN {
70
- flex: 1;
71
- flex-shrink: 0;
72
- }
73
- .index-module_container__JA4Ki .index-module_collapse__2DAL1 {
74
- cursor: pointer;
75
- height: 32px;
76
- padding: 8px 0;
77
- color: #007dff !important;
78
- }
79
- .index-module_container__JA4Ki .index-module_collapse__2DAL1 .index-module_collapseIcon__q4Avi {
80
- color: #007dff;
81
- }
82
- .index-module_container__JA4Ki .index-module_collapse__2DAL1 .index-module_collapseText__s4JMy {
83
- font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
84
- font-weight: 400;
85
- font-style: normal;
86
- font-size: 14px;
87
- color: #007dff;
88
- white-space: nowrap;
25
+ .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-colon {
26
+ display: none;
89
27
  }
90
- .index-module_container__JA4Ki .index-module_tableContainer__xl-q- {
28
+ .index-module_container__m2VYe .index-module_footer__WU6ip {
91
29
  width: 100%;
92
- padding: 0;
30
+ height: auto;
93
31
  box-sizing: border-box;
32
+ justify-content: flex-end;
94
33
  }
95
34
  @charset "UTF-8";
96
35
  /* 全局 css 变量 */
@@ -122,7 +61,7 @@
122
61
  text-align: left;
123
62
  padding: 16px 24px;
124
63
  box-sizing: border-box;
125
- background-color: #F6F8FA;
64
+ background-color: #f6f8fa;
126
65
  }
127
66
  .index-module_container__i8ob4 .el-dialog__title {
128
67
  font-family: PingFang SC;
@@ -142,14 +81,35 @@
142
81
  .index-module_container__i8ob4 .el-dialog__footer {
143
82
  padding: 16px 24px;
144
83
  box-sizing: border-box;
145
- background-color: #F6F8FA;
84
+ background-color: #f6f8fa;
146
85
  }
147
86
  .index-module_container__i8ob4 .index-module_content__LREdw {
148
87
  max-height: 80vh;
149
88
  overflow-y: auto;
150
89
  }
151
- .index-module_container__VGtEq {
90
+ .index-module_container__pOL02 .el-drawer__header {
91
+ margin-bottom: 10px;
92
+ }
93
+ .index-module_container__pOL02 .el-drawer__title {
94
+ text-align: left;
95
+ }
96
+ .index-module_container__Kf-LD {
152
97
  width: 100%;
98
+ height: auto;
99
+ }
100
+ .index-module_container__Kf-LD .formily-element-plus-form-item-feedback-layout-loose {
101
+ margin: 0;
102
+ }
103
+ .index-module_container__Kf-LD .formily-element-plus-form-item-label {
104
+ justify-content: end;
105
+ padding-right: 10px;
106
+ box-sizing: border-box;
107
+ }
108
+ .index-module_container__Kf-LD .formily-element-plus-form-item-colon {
109
+ display: none;
110
+ }
111
+ .index-module_container__Kf-LD .index-module_btn__4DJ6R {
112
+ margin-left: 0 !important;
153
113
  }
154
114
  .index-module_container__bsvsi {
155
115
  width: 100%;
@@ -168,48 +128,22 @@
168
128
  .index-module_container__bsvsi .el-table__empty-block {
169
129
  min-height: 334px;
170
130
  }
171
- .index-module_container__m2VYe {
172
- overflow: hidden;
173
- }
174
- .index-module_container__m2VYe .formily-element-plus-form-item-label {
175
- width: var(--common-editor-label-width);
176
- align-items: center;
177
- justify-content: flex-start;
178
- margin-bottom: 5px;
179
- }
180
- .index-module_container__m2VYe .formily-element-plus-form-item {
181
- margin: var(--common-editor-label-margin);
182
- }
183
- .index-module_container__m2VYe .el-drawer__footer {
184
- box-shadow: 0 0 10px #eee;
185
- }
186
- .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-label {
187
- justify-content: end;
188
- padding-right: 10px;
189
- box-sizing: border-box;
131
+ .index-module_container__bsvsi th::after {
132
+ content: " ";
133
+ display: block;
134
+ width: 1px;
135
+ height: 16px;
136
+ background-color: #c0c4cc;
137
+ position: absolute;
138
+ top: 50%;
139
+ right: 0;
140
+ transform: translate(0, -50%);
190
141
  }
191
- .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-colon {
142
+ .index-module_container__bsvsi th:last-child::after {
192
143
  display: none;
193
144
  }
194
- .index-module_container__m2VYe .index-module_footer__WU6ip {
195
- width: 100%;
196
- height: auto;
197
- box-sizing: border-box;
198
- justify-content: flex-end;
199
- }
200
- .index-module_container__D46b- {
201
- padding: 16px 20px !important;
202
- box-sizing: border-box !important;
203
- }
204
- .index-module_container__Kf-LD {
145
+ .index-module_container__VGtEq {
205
146
  width: 100%;
206
- height: auto;
207
- }
208
- .index-module_container__Kf-LD .formily-element-plus-form-item-feedback-layout-loose {
209
- margin: 0;
210
- }
211
- .index-module_container__Kf-LD .index-module_btn__4DJ6R {
212
- margin-left: 0 !important;
213
147
  }
214
148
  .index-module_container__qa31T .el-upload--text {
215
149
  flex-direction: column;
@@ -221,24 +155,93 @@
221
155
  margin-bottom: 16px;
222
156
  line-height: 50px;
223
157
  }
224
- .index-module_container__u57hI {
158
+ @charset "UTF-8";
159
+ /* 全局 css 变量 */
160
+ :root {
161
+ --el-color-primary: #007dff;
162
+ --el-color-success: #67c23a;
163
+ --el-color-warning: #e6a23c;
164
+ --el-color-danger: #f56c6c;
165
+ --el-color-info: #909399;
166
+ --el-border-radius-base: 8px;
167
+ --el-border-radius-small: 4px;
168
+ --el-border-radius-round: 8px;
169
+ --el-border-radius-circle: 8px;
170
+ --el-dialog-margin-top: 5vh;
171
+ --el-fill-color-lighter: #f5f7fa;
172
+ }
173
+
174
+ .index-module_container__JA4Ki {
225
175
  width: 100%;
176
+ height: 100%;
177
+ background-color: #fff;
178
+ box-sizing: border-box;
179
+ padding-top: 12px;
180
+ border-radius: 16px;
226
181
  }
227
- .index-module_container__u57hI .formily-element-plus-form-item-label {
228
- margin-bottom: 0 !important;
182
+ .index-module_container__JA4Ki > .el-space__item {
183
+ width: 100%;
184
+ height: auto;
229
185
  }
230
- .index-module_container__u57hI .formily-element-plus-form-item-error-help {
231
- text-align: left;
186
+ .index-module_container__JA4Ki > .el-space__item:nth-child(3) {
187
+ flex: 1;
232
188
  }
233
- .index-module_container__u57hI .el-collapse-item__header {
189
+ .index-module_container__JA4Ki .index-module_extraPane__bGn22 {
190
+ width: 100%;
191
+ height: auto;
192
+ }
193
+ .index-module_container__JA4Ki .index-module_setter__KQO76 {
194
+ width: fit-content;
195
+ padding: 0 12px;
234
196
  box-sizing: border-box;
235
197
  }
236
- .index-module_container__u57hI .el-step__icon {
237
- position: absolute;
238
- left: 0;
198
+ .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space:nth-child(1) {
199
+ flex: 1;
239
200
  }
240
- .index-module_container__u57hI .el-step__title {
241
- margin-top: 30px;
201
+ .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space__item {
202
+ width: fit-content;
203
+ height: auto;
204
+ }
205
+ .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space__item:nth-child(1) {
206
+ flex: 1;
207
+ }
208
+ .index-module_container__JA4Ki .index-module_setter__KQO76 > .el-space__item:nth-child(1) > button {
209
+ flex: none;
210
+ }
211
+ .index-module_container__JA4Ki .index-module_setter__KQO76 > .index-module_end__IkaJT {
212
+ width: fit-content;
213
+ justify-content: end;
214
+ }
215
+ .index-module_container__JA4Ki .index-module_setter__KQO76 .index-module_line__PeHqv {
216
+ width: 2px;
217
+ height: 17px;
218
+ margin: 7px 0 0 0;
219
+ }
220
+ .index-module_container__JA4Ki .index-module_setter__KQO76 .index-module_commonFilterContainer__yiOoN {
221
+ flex: 1;
222
+ flex-shrink: 0;
223
+ }
224
+ .index-module_container__JA4Ki .index-module_collapse__2DAL1 {
225
+ cursor: pointer;
226
+ height: 32px;
227
+ padding: 8px 0;
228
+ color: #007dff !important;
229
+ }
230
+ .index-module_container__JA4Ki .index-module_collapse__2DAL1 .index-module_collapseIcon__q4Avi {
231
+ color: #007dff;
232
+ }
233
+ .index-module_container__JA4Ki .index-module_collapse__2DAL1 .index-module_collapseText__s4JMy {
234
+ font-family: "PingFangSC-Regular", "PingFang SC", sans-serif;
235
+ font-weight: 400;
236
+ font-style: normal;
237
+ font-size: 14px;
238
+ color: #007dff;
239
+ white-space: nowrap;
240
+ }
241
+ .index-module_container__JA4Ki .index-module_tableContainer__xl-q- {
242
+ width: 100%;
243
+ padding: 0;
244
+ box-sizing: border-box;
242
245
  }
243
246
  @charset "UTF-8";
244
247
  /* 全局 css 变量 */
@@ -269,6 +272,37 @@
269
272
  .index-module_wrapper__o-ooH.index-module_danger__8-OdG {
270
273
  border-left: 6px solid #f56c6c;
271
274
  }
275
+ .index-module_container__u57hI {
276
+ width: 100%;
277
+ }
278
+ .index-module_container__u57hI .formily-element-plus-form-item-label {
279
+ margin-bottom: 0 !important;
280
+ }
281
+ .index-module_container__u57hI .formily-element-plus-form-item-error-help {
282
+ text-align: left;
283
+ }
284
+ .index-module_container__u57hI .el-collapse-item__header {
285
+ box-sizing: border-box;
286
+ }
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;
299
+ font-weight: 500;
300
+ font-style: Medium;
301
+ font-size: 16px !important;
302
+ line-height: 24px;
303
+ letter-spacing: 0px;
304
+ color: #303133;
305
+ }
272
306
  .index-module_container__cwKyU {
273
307
  width: 140px;
274
308
  border-radius: 5px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mc20230601/keep-up",
3
- "version": "1.0.41",
3
+ "version": "1.0.48",
4
4
  "description": "",
5
5
  "author": "mc20230601",
6
6
  "publishConfig": {