element-assits 0.0.13 → 0.0.14

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/lib/index.js CHANGED
@@ -1763,7 +1763,7 @@ function wt(t = 3) {
1763
1763
  const e = this;
1764
1764
  let n, r;
1765
1765
  try {
1766
- const i = xt.bind(this)();
1766
+ const i = xt.bind(this)({});
1767
1767
  if (n = i.some((s) => s.tag), !(t > 0))
1768
1768
  throw new Error();
1769
1769
  if (t === i.length)
package/lib/style.scss CHANGED
@@ -11,6 +11,35 @@ $--color-border-base: #DCDFE6 !default;
11
11
  $--color-border-light: #E4E7ED !default;
12
12
  $--color-border-lighter: #EBEEF5 !default;
13
13
  $--color-border-extralight: #F2F6FC !default;
14
+ .ea-select {
15
+ display: inline-block;
16
+ position: relative;
17
+ .el-select {
18
+ width: 100%;
19
+ }
20
+ .async-loading.el-icon-loading {
21
+ position: absolute;
22
+ top: 10px;
23
+ right: 28px;
24
+ color: #999;
25
+ }
26
+ }
27
+ .ea-select-popover {
28
+ .el-select-dropdown__item {
29
+ display: flex;
30
+ .select-item-value {
31
+ overflow: hidden;
32
+ text-overflow: ellipsis;
33
+ }
34
+ .select-item-desc {
35
+ overflow: hidden;
36
+ text-overflow: ellipsis;
37
+ color: #8492a6;
38
+ margin-left: 8px;
39
+ }
40
+ }
41
+ }
42
+
14
43
  // table
15
44
  .ea-table {
16
45
  // 表格头部样式美化
@@ -114,35 +143,6 @@ $--color-border-extralight: #F2F6FC !default;
114
143
  }
115
144
  }
116
145
 
117
- .ea-select {
118
- display: inline-block;
119
- position: relative;
120
- .el-select {
121
- width: 100%;
122
- }
123
- .async-loading.el-icon-loading {
124
- position: absolute;
125
- top: 10px;
126
- right: 28px;
127
- color: #999;
128
- }
129
- }
130
- .ea-select-popover {
131
- .el-select-dropdown__item {
132
- display: flex;
133
- .select-item-value {
134
- overflow: hidden;
135
- text-overflow: ellipsis;
136
- }
137
- .select-item-desc {
138
- overflow: hidden;
139
- text-overflow: ellipsis;
140
- color: #8492a6;
141
- margin-left: 8px;
142
- }
143
- }
144
- }
145
-
146
146
  .el-dialog.ea-modal {
147
147
  &.is-closing {
148
148
  margin: 0 !important;
@@ -161,14 +161,6 @@ $--color-border-extralight: #F2F6FC !default;
161
161
  }
162
162
  }
163
163
 
164
- .ea-list {
165
- .loading-text {
166
- color: $--color-secondary-text;
167
- text-align: center;
168
- font-size: inherit;
169
- }
170
- }
171
-
172
164
  .ea-button-tooltip + .ea-button-tooltip {
173
165
  margin-left: 10px;
174
166
  }
@@ -234,8 +226,49 @@ td {
234
226
  }
235
227
  }
236
228
 
237
- .ea-number .el-input__inner {
238
- text-align: left;
229
+ .ea-split-container {
230
+ display: flex;
231
+ &.is-down {
232
+ user-select: none;
233
+ }
234
+ .sc-left {
235
+ flex-grow: 1;
236
+ flex-shrink: 1;
237
+ }
238
+ .sc-right {
239
+ flex-grow: 1;
240
+ flex-shrink: 1;
241
+ }
242
+ .sc-bamboo {
243
+ flex-grow: 0;
244
+ flex-shrink: 0;
245
+ width: 8px;
246
+ border: 1px solid #DCDEE2;
247
+ border-top: none;
248
+ border-bottom: none;
249
+ background-color: #F8F8F9;
250
+ cursor: col-resize;
251
+ user-select: none;
252
+ display: flex;
253
+ flex-direction: column;
254
+ justify-content: center;
255
+ align-items: center;
256
+ margin: 0 16px;
257
+ .sc-texture {
258
+ width: 4px;
259
+ height: 1px;
260
+ background: rgba(23, 35, 61, .25);
261
+ margin-top: 3px;
262
+ }
263
+ }
264
+ }
265
+
266
+ .ea-list {
267
+ .loading-text {
268
+ color: $--color-secondary-text;
269
+ text-align: center;
270
+ font-size: inherit;
271
+ }
239
272
  }
240
273
 
241
274
  .ea-desc {
@@ -293,41 +326,8 @@ td {
293
326
  }
294
327
  }
295
328
 
296
- .ea-split-container {
297
- display: flex;
298
- &.is-down {
299
- user-select: none;
300
- }
301
- .sc-left {
302
- flex-grow: 1;
303
- flex-shrink: 1;
304
- }
305
- .sc-right {
306
- flex-grow: 1;
307
- flex-shrink: 1;
308
- }
309
- .sc-bamboo {
310
- flex-grow: 0;
311
- flex-shrink: 0;
312
- width: 8px;
313
- border: 1px solid #DCDEE2;
314
- border-top: none;
315
- border-bottom: none;
316
- background-color: #F8F8F9;
317
- cursor: col-resize;
318
- user-select: none;
319
- display: flex;
320
- flex-direction: column;
321
- justify-content: center;
322
- align-items: center;
323
- margin: 0 16px;
324
- .sc-texture {
325
- width: 4px;
326
- height: 1px;
327
- background: rgba(23, 35, 61, .25);
328
- margin-top: 3px;
329
- }
330
- }
329
+ .ea-number .el-input__inner {
330
+ text-align: left;
331
331
  }
332
332
 
333
333
  .file-upload-dialog {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "element-assits",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "element-ui 的扩展组件库",
5
5
  "main": "lib/index.js",
6
6
  "type": "module",