element-assits 0.0.32 → 0.0.33
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 +1 -1
- package/lib/style.scss +134 -134
- package/package.json +1 -1
- package/dist/assets/SelectColumnModal.60cb2186.css +0 -1
- package/dist/assets/SelectColumnModal.e7dc46d1.js +0 -1
- package/dist/assets/TestModal.d6be1294.js +0 -1
- package/dist/assets/element-icons.a30f5b3b.ttf +0 -0
- package/dist/assets/element-icons.ab40a589.woff +0 -0
- package/dist/assets/index.098b0c55.js +0 -1
- package/dist/assets/index.0ba6ca94.js +0 -147
- package/dist/assets/index.33004d11.js +0 -1
- package/dist/assets/index.3f6bb749.css +0 -1
- package/dist/assets/index.44146c9d.js +0 -1
- package/dist/assets/index.452dbb56.js +0 -1
- package/dist/assets/index.4ad81be6.js +0 -1
- package/dist/assets/index.4fcff5e0.css +0 -1
- package/dist/assets/index.6321ac67.js +0 -1
- package/dist/assets/index.70930e9c.js +0 -1
- package/dist/assets/index.e8bddc6e.js +0 -1
- package/dist/assets/index.fcb06176.js +0 -1
- package/dist/style.scss +0 -729
package/lib/index.js
CHANGED
|
@@ -1464,7 +1464,7 @@ var hx = function() {
|
|
|
1464
1464
|
var n = this, i = n._self._c;
|
|
1465
1465
|
return i("el-form-item", { class: { "hidden-label": n.top.labelWidth === "0" }, style: n.column.style, attrs: { label: n.column.__label, prop: n.column.prop, rules: n.column.__rules }, scopedSlots: n._u([{ key: "label", fn: function() {
|
|
1466
1466
|
return [n._v(" " + n._s(n.column.__label) + " "), n.column.__labelTooltip ? i("el-tooltip", n._b({}, "el-tooltip", n.tooltip(n.column.__labelTooltip), !1), [i("i", { staticClass: "el-icon-warning-outline" })]) : n._e()];
|
|
1467
|
-
}, proxy: !0 }]) }, [i(n.column.__component, n._g(n._b({ tag: "component",
|
|
1467
|
+
}, proxy: !0 }]) }, [i(n.column.__component, n._g(n._b({ tag: "component", nativeOn: { keyup: function(o) {
|
|
1468
1468
|
return !o.type.indexOf("key") && n._k(o.keyCode, "enter", 13, o.key, "Enter") ? null : n.top.$emit("enter");
|
|
1469
1469
|
} }, model: { value: n.top.model[n.column.prop], callback: function(o) {
|
|
1470
1470
|
n.$set(n.top.model, n.column.prop, o);
|
package/lib/style.scss
CHANGED
|
@@ -11,36 +11,6 @@ $--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
|
-
justify-content: space-between;
|
|
31
|
-
.select-item-value {
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
text-overflow: ellipsis;
|
|
34
|
-
}
|
|
35
|
-
.select-item-desc {
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
text-overflow: ellipsis;
|
|
38
|
-
color: #8492a6;
|
|
39
|
-
margin-left: 8px;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
14
|
// table
|
|
45
15
|
.ea-table {
|
|
46
16
|
// 表格头部样式美化
|
|
@@ -158,6 +128,62 @@ $--color-border-extralight: #F2F6FC !default;
|
|
|
158
128
|
transform: scaleY(0);
|
|
159
129
|
}
|
|
160
130
|
|
|
131
|
+
.el-dialog.ea-modal {
|
|
132
|
+
&.is-closing {
|
|
133
|
+
margin: 0 0 50px !important;
|
|
134
|
+
}
|
|
135
|
+
&.is-fullscreen {
|
|
136
|
+
border-radius: 0;
|
|
137
|
+
margin: 0;
|
|
138
|
+
}
|
|
139
|
+
.el-dialog__header {
|
|
140
|
+
color: #555;
|
|
141
|
+
font-size: 18px;
|
|
142
|
+
.el-dialog__title {
|
|
143
|
+
color: inherit;
|
|
144
|
+
font-size: inherit;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.ea-select {
|
|
150
|
+
display: inline-block;
|
|
151
|
+
position: relative;
|
|
152
|
+
.el-select {
|
|
153
|
+
width: 100%;
|
|
154
|
+
}
|
|
155
|
+
.async-loading.el-icon-loading {
|
|
156
|
+
position: absolute;
|
|
157
|
+
top: 10px;
|
|
158
|
+
right: 28px;
|
|
159
|
+
color: #999;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
.ea-select-popover {
|
|
163
|
+
.el-select-dropdown__item {
|
|
164
|
+
display: flex;
|
|
165
|
+
justify-content: space-between;
|
|
166
|
+
.select-item-value {
|
|
167
|
+
overflow: hidden;
|
|
168
|
+
text-overflow: ellipsis;
|
|
169
|
+
}
|
|
170
|
+
.select-item-desc {
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
text-overflow: ellipsis;
|
|
173
|
+
color: #8492a6;
|
|
174
|
+
margin-left: 8px;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.ea-list {
|
|
180
|
+
.loading-text {
|
|
181
|
+
color: $--color-secondary-text;
|
|
182
|
+
text-align: center;
|
|
183
|
+
font-size: inherit;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
161
187
|
.ea-button-tooltip + .ea-button-tooltip {
|
|
162
188
|
margin-left: 10px;
|
|
163
189
|
}
|
|
@@ -223,20 +249,14 @@ td {
|
|
|
223
249
|
}
|
|
224
250
|
}
|
|
225
251
|
|
|
226
|
-
.
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
.el-dialog__header {
|
|
235
|
-
color: #555;
|
|
236
|
-
font-size: 18px;
|
|
237
|
-
.el-dialog__title {
|
|
238
|
-
color: inherit;
|
|
239
|
-
font-size: inherit;
|
|
252
|
+
.ea-tree {
|
|
253
|
+
.ea-tree-real {
|
|
254
|
+
.el-tree-node > .el-tree-node__content{
|
|
255
|
+
border-radius: 4px;
|
|
256
|
+
}
|
|
257
|
+
.el-tree-node.is-current > .el-tree-node__content {
|
|
258
|
+
color: $--color-primary;
|
|
259
|
+
background-color: rgba($--color-primary, 0.1);
|
|
240
260
|
}
|
|
241
261
|
}
|
|
242
262
|
}
|
|
@@ -278,24 +298,8 @@ td {
|
|
|
278
298
|
}
|
|
279
299
|
}
|
|
280
300
|
|
|
281
|
-
.ea-
|
|
282
|
-
|
|
283
|
-
.el-tree-node > .el-tree-node__content{
|
|
284
|
-
border-radius: 4px;
|
|
285
|
-
}
|
|
286
|
-
.el-tree-node.is-current > .el-tree-node__content {
|
|
287
|
-
color: $--color-primary;
|
|
288
|
-
background-color: rgba($--color-primary, 0.1);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.ea-list {
|
|
294
|
-
.loading-text {
|
|
295
|
-
color: $--color-secondary-text;
|
|
296
|
-
text-align: center;
|
|
297
|
-
font-size: inherit;
|
|
298
|
-
}
|
|
301
|
+
.ea-number .el-input__inner {
|
|
302
|
+
text-align: left;
|
|
299
303
|
}
|
|
300
304
|
|
|
301
305
|
.ea-desc {
|
|
@@ -342,37 +346,6 @@ td {
|
|
|
342
346
|
}
|
|
343
347
|
}
|
|
344
348
|
|
|
345
|
-
.ea-number .el-input__inner {
|
|
346
|
-
text-align: left;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.file-upload-dialog {
|
|
350
|
-
// 拖拽区域铺满
|
|
351
|
-
.el-upload,
|
|
352
|
-
.el-upload .el-upload-dragger {
|
|
353
|
-
width: 100%;
|
|
354
|
-
}
|
|
355
|
-
// 文件列表项边框
|
|
356
|
-
.el-upload-list {
|
|
357
|
-
.el-upload-list__item {
|
|
358
|
-
border: 1px dashed #aaa;
|
|
359
|
-
.el-icon-close {
|
|
360
|
-
display: inline-block;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
// 清除文件列表变动过渡动画
|
|
365
|
-
.el-list-enter,
|
|
366
|
-
.el-list-enter-active,
|
|
367
|
-
.el-list-enter-to,
|
|
368
|
-
.el-list-leave,
|
|
369
|
-
.el-list-leave-active,
|
|
370
|
-
.el-list-leave-to {
|
|
371
|
-
-webkit-transition: none !important;
|
|
372
|
-
transition: none !important;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
349
|
.vjs-table {
|
|
377
350
|
position: relative;
|
|
378
351
|
overflow: hidden;
|
|
@@ -569,6 +542,57 @@ td {
|
|
|
569
542
|
.ea-icon-more:before { content: "\e60e" }
|
|
570
543
|
.eafont.ea-icon-conf.has { color: #000 }
|
|
571
544
|
|
|
545
|
+
.file-upload-dialog {
|
|
546
|
+
// 拖拽区域铺满
|
|
547
|
+
.el-upload,
|
|
548
|
+
.el-upload .el-upload-dragger {
|
|
549
|
+
width: 100%;
|
|
550
|
+
}
|
|
551
|
+
// 文件列表项边框
|
|
552
|
+
.el-upload-list {
|
|
553
|
+
.el-upload-list__item {
|
|
554
|
+
border: 1px dashed #aaa;
|
|
555
|
+
.el-icon-close {
|
|
556
|
+
display: inline-block;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
// 清除文件列表变动过渡动画
|
|
561
|
+
.el-list-enter,
|
|
562
|
+
.el-list-enter-active,
|
|
563
|
+
.el-list-enter-to,
|
|
564
|
+
.el-list-leave,
|
|
565
|
+
.el-list-leave-active,
|
|
566
|
+
.el-list-leave-to {
|
|
567
|
+
-webkit-transition: none !important;
|
|
568
|
+
transition: none !important;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.ea-form .form-group-title {
|
|
573
|
+
position: relative;
|
|
574
|
+
height: 32px;
|
|
575
|
+
margin-bottom: 22px;
|
|
576
|
+
> span {
|
|
577
|
+
position: absolute;
|
|
578
|
+
top: 0;
|
|
579
|
+
left: 20%;
|
|
580
|
+
padding: 5px 25px;
|
|
581
|
+
background-color: #fff;
|
|
582
|
+
z-index: 1;
|
|
583
|
+
color: $--color-secondary-text;
|
|
584
|
+
}
|
|
585
|
+
&::after {
|
|
586
|
+
content: '';
|
|
587
|
+
position: absolute;
|
|
588
|
+
top: 50%;
|
|
589
|
+
left: 0;
|
|
590
|
+
width: 100%;
|
|
591
|
+
height: 0;
|
|
592
|
+
border-bottom: 1px dashed $--color-border-base;
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
|
|
572
596
|
.ea-table-modal {
|
|
573
597
|
overflow: visible;
|
|
574
598
|
right: unset;
|
|
@@ -623,30 +647,6 @@ td {
|
|
|
623
647
|
}
|
|
624
648
|
}
|
|
625
649
|
|
|
626
|
-
.ea-form .form-group-title {
|
|
627
|
-
position: relative;
|
|
628
|
-
height: 32px;
|
|
629
|
-
margin-bottom: 22px;
|
|
630
|
-
> span {
|
|
631
|
-
position: absolute;
|
|
632
|
-
top: 0;
|
|
633
|
-
left: 20%;
|
|
634
|
-
padding: 5px 25px;
|
|
635
|
-
background-color: #fff;
|
|
636
|
-
z-index: 1;
|
|
637
|
-
color: $--color-secondary-text;
|
|
638
|
-
}
|
|
639
|
-
&::after {
|
|
640
|
-
content: '';
|
|
641
|
-
position: absolute;
|
|
642
|
-
top: 50%;
|
|
643
|
-
left: 0;
|
|
644
|
-
width: 100%;
|
|
645
|
-
height: 0;
|
|
646
|
-
border-bottom: 1px dashed $--color-border-base;
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
|
|
650
650
|
.conf-header {
|
|
651
651
|
border-bottom: 1px solid #DDD;
|
|
652
652
|
padding-bottom: 10px;
|
|
@@ -659,6 +659,23 @@ td {
|
|
|
659
659
|
margin-bottom: 8px !important;
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
+
.ea-form .el-form-item__content {
|
|
663
|
+
& > .el-input-number,
|
|
664
|
+
& > .el-input,
|
|
665
|
+
& > .ea-select,
|
|
666
|
+
& > .el-select {
|
|
667
|
+
width: 100%;
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
.ea-form .el-form-item.hidden-label {
|
|
671
|
+
> .el-form-item__label {
|
|
672
|
+
display: none;
|
|
673
|
+
}
|
|
674
|
+
> .el-form-item__content {
|
|
675
|
+
width: 100%;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
662
679
|
.ea-select-container {
|
|
663
680
|
display: flex;
|
|
664
681
|
justify-content: flex-start;
|
|
@@ -699,23 +716,6 @@ td {
|
|
|
699
716
|
}
|
|
700
717
|
}
|
|
701
718
|
|
|
702
|
-
.ea-form .el-form-item__content {
|
|
703
|
-
& > .el-input-number,
|
|
704
|
-
& > .el-input,
|
|
705
|
-
& > .ea-select,
|
|
706
|
-
& > .el-select {
|
|
707
|
-
width: 100%;
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
.ea-form .el-form-item.hidden-label {
|
|
711
|
-
> .el-form-item__label {
|
|
712
|
-
display: none;
|
|
713
|
-
}
|
|
714
|
-
> .el-form-item__content {
|
|
715
|
-
width: 100%;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
|
|
719
719
|
.ea-switch-mini {
|
|
720
720
|
.el-switch__core {
|
|
721
721
|
width: 30px !important;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.ea-table-modal{overflow:visible;right:unset;right:initial;bottom:unset;bottom:initial;width:100%;height:0}.ea-table-modal .el-dialog{background:#fdfdfd;box-shadow:0 0 16px #00000026}.ea-table-modal .el-dialog .el-dialog__header{padding:12px 20px;background-color:#f2f6fc;border-bottom:1px solid #EBEEF5}.ea-table-modal .el-dialog .el-dialog__headerbtn{top:12px}.ea-table-modal .el-dialog .el-dialog__close{font-weight:700;color:#909399}.ea-table-modal .el-dialog .el-dialog__body{padding:10px 0;height:calc(100% - 70px);min-height:40px;max-height:800px;overflow:auto}.ea-table-modal .el-dialog .el-dialog__body .scm-title{font-size:12px;font-weight:700;color:#303133}.ea-table-modal .el-dialog .el-dialog__body .scm-title.medium{font-size:14px}.ea-table-modal .el-dialog .el-dialog__body .el-tree{background:transparent;font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree .el-tree-node__label{font-size:12px}.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium,.ea-table-modal .el-dialog .el-dialog__body .el-tree.medium .el-tree-node__label{font-size:14px}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as l,E as n}from"./index.0ba6ca94.js";const o={components:{EaModal:n},props:{column:{type:Array,required:!0},rawColumn:{type:Array,required:!0}},data(){const{size:a}=this.$ELEMENT||{size:"small"},e=this.column,t=this.rawColumn.filter(s=>s.show!==!1).map(s=>s.prop);return{visible:!1,size:a,treeData:e,defaultCheckedKeys:t}},mounted(){this.visible=!0},methods:{handleCheckChange(a,e){this.$emit("check-change",{isChecked:e,item:a})}}};var c=function(){var e=this,t=e._self._c;return t("EaModal",{staticClass:"ea-table-modal",attrs:{visible:e.visible,modal:!1,width:"260px","append-to-body":""},on:{"update:visible":function(s){e.visible=s}}},[t("div",{staticClass:"scm-title",class:{[e.size]:1},attrs:{slot:"title"},slot:"title"},[e._v("\u9009\u62E9\u5217")]),t("el-tree",{class:{[e.size]:1},attrs:{data:e.treeData,"node-key":"prop","show-checkbox":"","default-checked-keys":e.defaultCheckedKeys,"check-on-click-node":!0},on:{"check-change":e.handleCheckChange}})],1)},r=[],i=l(o,c,r,!1,null,null,null,null);const u=i.exports;export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as l}from"./index.0ba6ca94.js";const s={data(){return{visible:!1}},mounted(){this.visible=!0}};var a=function(){var e=this,t=e._self._c;return t("EaModal",{attrs:{title:"\u6D4B\u8BD5",visible:e.visible,"allow-drag":!0,"custom-class":"abc","append-to-body":""},on:{"update:visible":function(n){e.visible=n}}},[t("div",e._l(20,function(n){return t("p",[e._v("123")])}),0)])},r=[],i=l(s,a,r,!1,null,null,null,null);const _=i.exports;export{_ as default};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as i}from"./index.0ba6ca94.js";const s={type:"object",properties:{code:{type:"number"},result:{type:"object",description:"\u7ED3\u679C\u96C6",default:{},examples:["anything",4035],properties:{city:{type:"object",properties:{Country:{type:"string"},Province:{type:"string"},City:{type:"string"},Carrier:{type:"string"},UserIp:{type:"string"},city_sub_add_array:{type:"array",items:{type:"string"}},city_sub_add_object:{type:"object",properties:{item111:{type:"string"},item222:{type:"string"}},required:[]}}},condition:{type:"object",properties:{day_weather:{type:"string"},day_weather_short:{type:"string"},day_wind_direction:{type:"string"},day_wind_power:{type:"string"},max_degree:{type:"string"},min_degree:{type:"string"},night_weather:{type:"string"},night_weather_short:{type:"string"},night_wind_direction:{type:"string"},night_wind_power:{type:"string"},aqi:{type:"object",properties:{aqi:{type:"number"},aqi_level:{type:"number"},aqi_name:{type:"string"},co:{type:"string"},no2:{type:"string"},o3:{type:"string"},pm10:{type:"string"},so2:{type:"string"},update_time:{type:"string"},pm2_5:{type:"string"},api_sub_test:{type:"string"}},required:[]}}},forecast:{type:"array",items:{type:"string"}},result_sub_test:{type:"string"}},required:["city","condition"]},msg:{type:"string"},acccccc:{type:"number"},bddddd:{type:"integer"}}},a={data(){return{data:s}},methods:{handleValidate(){console.log(this.$refs.ejs.validate())},handleGetResult(){console.log(this.$refs.ejs.getData())},handleInput(r){console.log(r)}}};var p=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{width:"840px",overflow:"auto",margin:"0 auto"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.handleValidate}},[t._v("\u6821\u9A8C")]),e("el-button",{staticStyle:{"margin-bottom":"20px"},attrs:{type:"primary"},on:{click:t.handleGetResult}},[t._v("\u83B7\u53D6\u7ED3\u679C")]),e("EaJsonSchema",{ref:"ejs",on:{input:t.handleInput},model:{value:t.data,callback:function(n){t.data=n},expression:"data"}})],1)},o=[],y=i(a,p,o,!1,null,null,null,null);const c=y.exports;export{c as default};
|