@mc20230601/keep-up 1.0.36 → 1.0.37

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.
@@ -50,7 +50,7 @@ var Space = defineComponent({
50
50
  var _a;
51
51
  return createVNode("div", mergeProps(attrs, {
52
52
  "style": style.value
53
- }), [(_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots)]);
53
+ }), [props2.fill, (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots)]);
54
54
  };
55
55
  }
56
56
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/space/index.tsx"],"sourcesContent":["import { defineComponent, computed } from 'vue'\n\nimport type { PropType } from 'vue'\n\nconst props = {\n /** 方向 */\n direction: {\n type: String as PropType<'row' | 'column' | 'row-reverse' | 'column-reverse'>,\n default: 'row',\n },\n /** 交叉轴对齐方式 */\n align: {\n type: String,\n default: 'center',\n },\n /** 主轴对齐方式 */\n justify: {\n type: String as PropType<'start' | 'center' | 'end' | 'space-around' | 'space-between'>,\n default: 'start',\n },\n /** 当前space宽度是否占满父容器 */\n fill: {\n type: Boolean,\n default: false,\n },\n /** 间距 */\n size: {\n type: Number,\n default: 8,\n },\n}\n\nexport default defineComponent({\n name: 'Space',\n inheritAttrs: false,\n props,\n setup(props, { slots, attrs }) {\n const style = computed(() => ({\n ...(props.fill ? { width: '100%' } : null),\n display: 'flex',\n flexDirection: props.direction,\n alignItems: props.align,\n justifyContent: props.justify,\n gap: `${props.size}px`,\n ...((attrs.style as Record<string, any>) || {}),\n }))\n return () => (\n <div {...attrs} style={style.value}>\n {slots?.default?.()}\n </div>\n )\n },\n})\n"],"names":["props","direction","type","String","default","align","justify","fill","Boolean","size","Number","defineComponent","name","inheritAttrs","setup","slots","attrs","style","computed","width","display","flexDirection","alignItems","justifyContent","gap","_createVNode","_mergeProps","value"],"mappings":";;AAIA,MAAMA,KAAQ,GAAA;AAAA;AAAA,EAEZ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AAO,MAAAQ;AA9CX,MAAA,IAAA,EAAA,CAAA;AA8CWA,MAAAC,OAAAA,WAAAA,CAAAA,KAAAA,EAAAA,WACIV,KAAK,EAAA;AAAA,QAAA,SAASC,KAAMU,CAAAA,KAAAA;AAAAA,OAAK,CAAA,EAAA,CAAA,CAC/BZ,EAAOX,GAAAA,KAAAA,IAAAA,IAAAA,GAAAA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,OAAAA,KAAPW,8BAAkB,CAEtB,CAAA,CAAA;AAAA,KAAA,CAAA;AAAA,GACH;AACF,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/space/index.tsx"],"sourcesContent":["import { defineComponent, computed } from 'vue'\n\nimport type { PropType } from 'vue'\n\nconst props = {\n /** 方向 */\n direction: {\n type: String as PropType<'row' | 'column' | 'row-reverse' | 'column-reverse'>,\n default: 'row',\n },\n /** 交叉轴对齐方式 */\n align: {\n type: String,\n default: 'center',\n },\n /** 主轴对齐方式 */\n justify: {\n type: String as PropType<'start' | 'center' | 'end' | 'space-around' | 'space-between'>,\n default: 'start',\n },\n /** 当前space宽度是否占满父容器 */\n fill: {\n type: Boolean,\n default: false,\n },\n /** 间距 */\n size: {\n type: Number,\n default: 8,\n },\n}\n\nexport default defineComponent({\n name: 'Space',\n inheritAttrs: false,\n props,\n setup(props, { slots, attrs }) {\n const style = computed(() => ({\n ...(props.fill ? { width: '100%' } : null),\n display: 'flex',\n flexDirection: props.direction,\n alignItems: props.align,\n justifyContent: props.justify,\n gap: `${props.size}px`,\n ...((attrs.style as Record<string, any>) || {}),\n }))\n return () => (\n <div {...attrs} style={style.value}>\n {props.fill}\n {slots?.default?.()}\n </div>\n )\n },\n})\n"],"names":["props","direction","type","String","default","align","justify","fill","Boolean","size","Number","defineComponent","name","inheritAttrs","setup","slots","attrs","style","computed","width","display","flexDirection","alignItems","justifyContent","gap","_createVNode","_mergeProps","value"],"mappings":";;AAIA,MAAMA,KAAQ,GAAA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CAAA;AACF,IAAA,OAAO,MAAAQ;AA9CX,MAAA,IAAA,EAAA,CAAA;AA8CWA,MAAAC,OAAAA,WAAAA,CAAAA,KAAAA,EAAAA,WACIV,KAAK,EAAA;AAAA,QAAA,SAASC,KAAMU,CAAAA,KAAAA;AAAAA,OAC1B3B,GAAAA,CAAAA,MAAAA,CAAMO,OACNQ,EAAOX,GAAAA,KAAAA,IAAAA,IAAAA,GAAAA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,OAAAA,KAAPW,8BAAkB,CAEtB,CAAA,CAAA;AAAA,KAAA,CAAA;AAAA,GACH;AACF,CAAC,CAAA;;;;"}
@@ -1,50 +1,37 @@
1
- @charset "UTF-8";
2
- /* 全局 css 变量 */
3
- :root {
4
- --el-color-primary: #007dff;
5
- --el-color-success: #67c23a;
6
- --el-color-warning: #e6a23c;
7
- --el-color-danger: #f56c6c;
8
- --el-color-info: #909399;
9
- --el-border-radius-base: 8px;
10
- --el-border-radius-small: 4px;
11
- --el-border-radius-round: 8px;
12
- --el-border-radius-circle: 8px;
13
- --el-dialog-margin-top: 5vh;
14
- --el-fill-color-lighter: #f5f7fa;
15
- }
16
-
17
- .index-module_wrapper__o-ooH {
18
- line-height: 16px;
19
- font-weight: bold;
20
- padding: 6px 6px 6px 10px;
21
- box-sizing: border-box;
22
- background-color: #f5f5f5;
1
+ .index-module_container__pOL02 .el-drawer__header {
2
+ margin-bottom: 10px;
23
3
  }
24
- .index-module_wrapper__o-ooH.index-module_primary__-O491 {
25
- border-left: 6px solid #007dff;
4
+ .index-module_container__pOL02 .el-drawer__title {
5
+ text-align: left;
26
6
  }
27
- .index-module_wrapper__o-ooH.index-module_danger__8-OdG {
28
- border-left: 6px solid #f56c6c;
7
+ .index-module_container__m2VYe {
8
+ overflow: hidden;
29
9
  }
30
- .index-module_container__u57hI {
31
- width: 100%;
10
+ .index-module_container__m2VYe .formily-element-plus-form-item-label {
11
+ width: var(--common-editor-label-width);
12
+ align-items: center;
13
+ justify-content: flex-start;
14
+ margin-bottom: 5px;
32
15
  }
33
- .index-module_container__u57hI .formily-element-plus-form-item-label {
34
- margin-bottom: 0 !important;
16
+ .index-module_container__m2VYe .formily-element-plus-form-item {
17
+ margin: var(--common-editor-label-margin);
35
18
  }
36
- .index-module_container__u57hI .formily-element-plus-form-item-error-help {
37
- text-align: left;
19
+ .index-module_container__m2VYe .el-drawer__footer {
20
+ box-shadow: 0 0 10px #eee;
38
21
  }
39
- .index-module_container__u57hI .el-collapse-item__header {
22
+ .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-label {
23
+ justify-content: end;
24
+ padding-right: 10px;
40
25
  box-sizing: border-box;
41
26
  }
42
- .index-module_container__u57hI .el-step__icon {
43
- position: absolute;
44
- left: 0;
27
+ .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-colon {
28
+ display: none;
45
29
  }
46
- .index-module_container__u57hI .el-step__title {
47
- margin-top: 30px;
30
+ .index-module_container__m2VYe .index-module_footer__WU6ip {
31
+ width: 100%;
32
+ height: auto;
33
+ box-sizing: border-box;
34
+ justify-content: flex-end;
48
35
  }
49
36
  .index-module_container__Kf-LD {
50
37
  width: 100%;
@@ -56,46 +43,6 @@
56
43
  .index-module_container__Kf-LD .index-module_btn__4DJ6R {
57
44
  margin-left: 0 !important;
58
45
  }
59
- .index-module_container__cwKyU {
60
- width: 140px;
61
- border-radius: 5px;
62
- }
63
- .index-module_container__cwKyU .el-checkbox {
64
- width: 100%;
65
- }
66
- .index-module_container__cwKyU .el-checkbox__label {
67
- width: calc(100% - 22px);
68
- }
69
- .index-module_container__cwKyU .index-module_allCheckbox__gnca9 {
70
- width: 100%;
71
- }
72
- .index-module_container__cwKyU .index-module_allCheckbox__gnca9:hover {
73
- background-color: #f5f5f5 !important;
74
- }
75
- .index-module_container__cwKyU .index-module_divider__Si8Gr {
76
- margin: 0;
77
- }
78
- .index-module_container__cwKyU .index-module_childBox__B2OiA {
79
- width: 100%;
80
- height: 300px;
81
- overflow-y: auto;
82
- }
83
- .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_draggle__G85gE {
84
- display: flex;
85
- flex-direction: column;
86
- }
87
- .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP- {
88
- width: 100%;
89
- margin: 0;
90
- flex-shrink: 0;
91
- }
92
- .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP-:hover {
93
- background-color: #f5f5f5 !important;
94
- }
95
- .index-module_container__D46b- {
96
- padding: 16px 20px !important;
97
- box-sizing: border-box !important;
98
- }
99
46
  .index-module_container__bsvsi {
100
47
  width: 100%;
101
48
  height: 100%;
@@ -113,40 +60,61 @@
113
60
  .index-module_container__bsvsi .el-table__empty-block {
114
61
  min-height: 334px;
115
62
  }
116
- .index-module_container__pOL02 .el-drawer__header {
117
- margin-bottom: 10px;
118
- }
119
- .index-module_container__pOL02 .el-drawer__title {
120
- text-align: left;
63
+ @charset "UTF-8";
64
+ /* 全局 css 变量 */
65
+ :root {
66
+ --el-color-primary: #007dff;
67
+ --el-color-success: #67c23a;
68
+ --el-color-warning: #e6a23c;
69
+ --el-color-danger: #f56c6c;
70
+ --el-color-info: #909399;
71
+ --el-border-radius-base: 8px;
72
+ --el-border-radius-small: 4px;
73
+ --el-border-radius-round: 8px;
74
+ --el-border-radius-circle: 8px;
75
+ --el-dialog-margin-top: 5vh;
76
+ --el-fill-color-lighter: #f5f7fa;
121
77
  }
122
- .index-module_container__m2VYe {
78
+
79
+ .index-module_container__i8ob4 {
80
+ margin: 0;
81
+ padding: 0;
82
+ border-radius: 4px;
123
83
  overflow: hidden;
124
84
  }
125
- .index-module_container__m2VYe .formily-element-plus-form-item-label {
126
- width: var(--common-editor-label-width);
127
- align-items: center;
128
- justify-content: flex-start;
129
- margin-bottom: 5px;
85
+ .index-module_container__i8ob4.el-dialog {
86
+ padding: 0;
87
+ margin-top: 7vh;
130
88
  }
131
- .index-module_container__m2VYe .formily-element-plus-form-item {
132
- margin: var(--common-editor-label-margin);
89
+ .index-module_container__i8ob4 .el-dialog__header {
90
+ text-align: left;
91
+ padding: 16px 24px;
92
+ box-sizing: border-box;
93
+ background-color: #F6F8FA;
133
94
  }
134
- .index-module_container__m2VYe .el-drawer__footer {
135
- box-shadow: 0 0 10px #eee;
95
+ .index-module_container__i8ob4 .el-dialog__title {
96
+ font-family: PingFang SC;
97
+ font-weight: 500;
98
+ font-size: 18px;
99
+ line-height: 100%;
100
+ vertical-align: middle;
136
101
  }
137
- .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-label {
138
- justify-content: end;
102
+ .index-module_container__i8ob4 .el-dialog__headerbtn {
139
103
  padding-right: 10px;
140
- box-sizing: border-box;
104
+ top: 4px;
141
105
  }
142
- .index-module_container__m2VYe.index-module_editMode__AaUsL .formily-element-plus-form-item-colon {
143
- display: none;
106
+ .index-module_container__i8ob4 .el-dialog__body {
107
+ padding: 16px 24px;
108
+ box-sizing: border-box;
144
109
  }
145
- .index-module_container__m2VYe .index-module_footer__WU6ip {
146
- width: 100%;
147
- height: auto;
110
+ .index-module_container__i8ob4 .el-dialog__footer {
111
+ padding: 16px 24px;
148
112
  box-sizing: border-box;
149
- justify-content: flex-end;
113
+ background-color: #F6F8FA;
114
+ }
115
+ .index-module_container__i8ob4 .index-module_content__LREdw {
116
+ max-height: 80vh;
117
+ overflow-y: auto;
150
118
  }
151
119
  @charset "UTF-8";
152
120
  /* 全局 css 变量 */
@@ -236,6 +204,42 @@
236
204
  padding: 0;
237
205
  box-sizing: border-box;
238
206
  }
207
+ .index-module_container__VGtEq {
208
+ width: 100%;
209
+ }
210
+ .index-module_container__D46b- {
211
+ padding: 16px 20px !important;
212
+ box-sizing: border-box !important;
213
+ }
214
+ .index-module_container__qa31T .el-upload--text {
215
+ flex-direction: column;
216
+ width: 100%;
217
+ }
218
+ .index-module_container__qa31T .el-icon--upload {
219
+ font-size: 67px;
220
+ color: #a8abb2;
221
+ margin-bottom: 16px;
222
+ line-height: 50px;
223
+ }
224
+ .index-module_container__u57hI {
225
+ width: 100%;
226
+ }
227
+ .index-module_container__u57hI .formily-element-plus-form-item-label {
228
+ margin-bottom: 0 !important;
229
+ }
230
+ .index-module_container__u57hI .formily-element-plus-form-item-error-help {
231
+ text-align: left;
232
+ }
233
+ .index-module_container__u57hI .el-collapse-item__header {
234
+ box-sizing: border-box;
235
+ }
236
+ .index-module_container__u57hI .el-step__icon {
237
+ position: absolute;
238
+ left: 0;
239
+ }
240
+ .index-module_container__u57hI .el-step__title {
241
+ margin-top: 30px;
242
+ }
239
243
  @charset "UTF-8";
240
244
  /* 全局 css 变量 */
241
245
  :root {
@@ -252,56 +256,52 @@
252
256
  --el-fill-color-lighter: #f5f7fa;
253
257
  }
254
258
 
255
- .index-module_container__i8ob4 {
256
- margin: 0;
257
- padding: 0;
258
- border-radius: 4px;
259
- overflow: hidden;
259
+ .index-module_wrapper__o-ooH {
260
+ line-height: 16px;
261
+ font-weight: bold;
262
+ padding: 6px 6px 6px 10px;
263
+ box-sizing: border-box;
264
+ background-color: #f5f5f5;
260
265
  }
261
- .index-module_container__i8ob4.el-dialog {
262
- padding: 0;
263
- margin-top: 7vh;
266
+ .index-module_wrapper__o-ooH.index-module_primary__-O491 {
267
+ border-left: 6px solid #007dff;
264
268
  }
265
- .index-module_container__i8ob4 .el-dialog__header {
266
- text-align: left;
267
- padding: 16px 24px;
268
- box-sizing: border-box;
269
- background-color: #F6F8FA;
269
+ .index-module_wrapper__o-ooH.index-module_danger__8-OdG {
270
+ border-left: 6px solid #f56c6c;
270
271
  }
271
- .index-module_container__i8ob4 .el-dialog__title {
272
- font-family: PingFang SC;
273
- font-weight: 500;
274
- font-size: 18px;
275
- line-height: 100%;
276
- vertical-align: middle;
272
+ .index-module_container__cwKyU {
273
+ width: 140px;
274
+ border-radius: 5px;
277
275
  }
278
- .index-module_container__i8ob4 .el-dialog__headerbtn {
279
- padding-right: 10px;
280
- top: 4px;
276
+ .index-module_container__cwKyU .el-checkbox {
277
+ width: 100%;
281
278
  }
282
- .index-module_container__i8ob4 .el-dialog__body {
283
- padding: 16px 24px;
284
- box-sizing: border-box;
279
+ .index-module_container__cwKyU .el-checkbox__label {
280
+ width: calc(100% - 22px);
285
281
  }
286
- .index-module_container__i8ob4 .el-dialog__footer {
287
- padding: 16px 24px;
288
- box-sizing: border-box;
289
- background-color: #F6F8FA;
282
+ .index-module_container__cwKyU .index-module_allCheckbox__gnca9 {
283
+ width: 100%;
290
284
  }
291
- .index-module_container__i8ob4 .index-module_content__LREdw {
292
- max-height: 80vh;
293
- overflow-y: auto;
285
+ .index-module_container__cwKyU .index-module_allCheckbox__gnca9:hover {
286
+ background-color: #f5f5f5 !important;
294
287
  }
295
- .index-module_container__VGtEq {
288
+ .index-module_container__cwKyU .index-module_divider__Si8Gr {
289
+ margin: 0;
290
+ }
291
+ .index-module_container__cwKyU .index-module_childBox__B2OiA {
296
292
  width: 100%;
293
+ height: 300px;
294
+ overflow-y: auto;
297
295
  }
298
- .index-module_container__qa31T .el-upload--text {
296
+ .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_draggle__G85gE {
297
+ display: flex;
299
298
  flex-direction: column;
299
+ }
300
+ .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP- {
300
301
  width: 100%;
302
+ margin: 0;
303
+ flex-shrink: 0;
301
304
  }
302
- .index-module_container__qa31T .el-icon--upload {
303
- font-size: 67px;
304
- color: #a8abb2;
305
- margin-bottom: 16px;
306
- line-height: 50px;
305
+ .index-module_container__cwKyU .index-module_childBox__B2OiA .index-module_child__Y1jP-:hover {
306
+ background-color: #f5f5f5 !important;
307
307
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mc20230601/keep-up",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "",
5
5
  "author": "mc20230601",
6
6
  "publishConfig": {