element-assits 0.0.4 → 0.0.5

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 (3) hide show
  1. package/lib/index.js +763 -755
  2. package/lib/style.scss +66 -66
  3. package/package.json +1 -1
package/lib/style.scss CHANGED
@@ -111,24 +111,6 @@ $--color-border-extralight: #F2F6FC !default;
111
111
  min-width: 100px;
112
112
  }
113
113
 
114
- .el-dialog.ea-modal {
115
- &.is-closing {
116
- margin: 0 !important;
117
- }
118
- &.is-fullscreen {
119
- border-radius: 0;
120
- margin: 0;
121
- }
122
- .el-dialog__header {
123
- color: #555;
124
- font-size: 18px;
125
- .el-dialog__title {
126
- color: inherit;
127
- font-size: inherit;
128
- }
129
- }
130
- }
131
-
132
114
  .ea-button-tooltip + .ea-button-tooltip {
133
115
  margin-left: 10px;
134
116
  }
@@ -194,6 +176,24 @@ td {
194
176
  }
195
177
  }
196
178
 
179
+ .el-dialog.ea-modal {
180
+ &.is-closing {
181
+ margin: 0 !important;
182
+ }
183
+ &.is-fullscreen {
184
+ border-radius: 0;
185
+ margin: 0;
186
+ }
187
+ .el-dialog__header {
188
+ color: #555;
189
+ font-size: 18px;
190
+ .el-dialog__title {
191
+ color: inherit;
192
+ font-size: inherit;
193
+ }
194
+ }
195
+ }
196
+
197
197
  .ea-split-container {
198
198
  display: flex;
199
199
  &.is-down {
@@ -231,14 +231,6 @@ td {
231
231
  }
232
232
  }
233
233
 
234
- .ea-list {
235
- .loading-text {
236
- color: $--color-secondary-text;
237
- text-align: center;
238
- font-size: inherit;
239
- }
240
- }
241
-
242
234
  .ea-tree {
243
235
  .ea-tree-real {
244
236
  .el-tree-node > .el-tree-node__content{
@@ -251,6 +243,18 @@ td {
251
243
  }
252
244
  }
253
245
 
246
+ .ea-list {
247
+ .loading-text {
248
+ color: $--color-secondary-text;
249
+ text-align: center;
250
+ font-size: inherit;
251
+ }
252
+ }
253
+
254
+ .ea-number .el-input__inner {
255
+ text-align: left;
256
+ }
257
+
254
258
  .ea-desc {
255
259
  font-size: 14px;
256
260
  &__title {
@@ -294,10 +298,6 @@ td {
294
298
  }
295
299
  }
296
300
 
297
- .ea-number .el-input__inner {
298
- text-align: left;
299
- }
300
-
301
301
  .file-upload-dialog {
302
302
  // 拖拽区域铺满
303
303
  .el-upload,
@@ -325,6 +325,30 @@ td {
325
325
  }
326
326
  }
327
327
 
328
+ .ea-form .form-group-title {
329
+ position: relative;
330
+ height: 32px;
331
+ margin-bottom: 22px;
332
+ > span {
333
+ position: absolute;
334
+ top: 0;
335
+ left: 20%;
336
+ padding: 5px 25px;
337
+ background-color: #fff;
338
+ z-index: 1;
339
+ color: $--color-secondary-text;
340
+ }
341
+ &::after {
342
+ content: '';
343
+ position: absolute;
344
+ top: 50%;
345
+ left: 0;
346
+ width: 100%;
347
+ height: 0;
348
+ border-bottom: 1px dashed $--color-border-base;
349
+ }
350
+ }
351
+
328
352
  .ea-table-modal {
329
353
  overflow: visible;
330
354
  right: unset;
@@ -379,27 +403,20 @@ td {
379
403
  }
380
404
  }
381
405
 
382
- .ea-form .form-group-title {
383
- position: relative;
384
- height: 32px;
385
- margin-bottom: 22px;
386
- > span {
387
- position: absolute;
388
- top: 0;
389
- left: 20%;
390
- padding: 5px 25px;
391
- background-color: #fff;
392
- z-index: 1;
393
- color: $--color-secondary-text;
406
+ .ea-form .el-form-item__content {
407
+ & > .el-input-number,
408
+ & > .el-input,
409
+ & > .ea-select,
410
+ & > .el-select {
411
+ width: 100%;
394
412
  }
395
- &::after {
396
- content: '';
397
- position: absolute;
398
- top: 50%;
399
- left: 0;
413
+ }
414
+ .ea-form .el-form-item.hidden-label {
415
+ > .el-form-item__label {
416
+ display: none;
417
+ }
418
+ > .el-form-item__content {
400
419
  width: 100%;
401
- height: 0;
402
- border-bottom: 1px dashed $--color-border-base;
403
420
  }
404
421
  }
405
422
 
@@ -442,20 +459,3 @@ td {
442
459
  }
443
460
  }
444
461
  }
445
-
446
- .ea-form .el-form-item__content {
447
- & > .el-input-number,
448
- & > .el-input,
449
- & > .ea-select,
450
- & > .el-select {
451
- width: 100%;
452
- }
453
- }
454
- .ea-form .el-form-item.hidden-label {
455
- > .el-form-item__label {
456
- display: none;
457
- }
458
- > .el-form-item__content {
459
- width: 100%;
460
- }
461
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",