eoss-ui 0.4.39 → 0.4.41
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/button-group.js +40 -13
- package/lib/button.js +35 -8
- package/lib/checkbox-group.js +35 -8
- package/lib/data-table-form.js +35 -8
- package/lib/data-table.js +97 -34
- package/lib/date-picker.js +35 -8
- package/lib/dialog.js +52 -39
- package/lib/editor.js +415 -887
- package/lib/eoss-ui.common.js +11166 -10552
- package/lib/flow-group.js +37 -26
- package/lib/flow-list.js +35 -8
- package/lib/flow.js +163 -54
- package/lib/form.js +10081 -9075
- package/lib/handle-user.js +35 -8
- package/lib/handler.js +35 -8
- package/lib/icons.js +2 -2
- package/lib/index.js +1 -1
- package/lib/input-number.js +35 -8
- package/lib/input.js +35 -8
- package/lib/login.js +35 -8
- package/lib/main.js +35 -8
- package/lib/mainComp.js +35 -8
- package/lib/nav.js +35 -8
- package/lib/page.js +35 -8
- package/lib/player.js +37 -10
- package/lib/qr-code.js +35 -8
- package/lib/radio-group.js +35 -8
- package/lib/select-ganged.js +35 -8
- package/lib/select.js +35 -8
- package/lib/selector-panel.js +43 -16
- package/lib/selector.js +40 -13
- package/lib/sizer.js +35 -8
- package/lib/steps.js +35 -8
- package/lib/switch.js +35 -8
- package/lib/table-form.js +48 -13
- package/lib/tabs.js +40 -36
- package/lib/theme-chalk/editor.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/tips.js +35 -8
- package/lib/tree-group.js +39 -21
- package/lib/tree.js +35 -8
- package/lib/upload.js +95 -52
- package/lib/utils/util.js +35 -8
- package/lib/wujie.js +35 -8
- package/lib/wxlogin.js +35 -8
- package/package.json +1 -1
- package/packages/button-group/src/main.vue +3 -3
- package/packages/data-table/src/column.vue +6 -0
- package/packages/data-table/src/main.vue +12 -0
- package/packages/dialog/src/main.vue +3 -11
- package/packages/editor/src/editor.vue +20 -0
- package/packages/editor/src/minx.js +129 -19
- package/packages/editor/src/toolbar.vue +93 -324
- package/packages/flow/src/component/CommonOpinions.vue +29 -11
- package/packages/flow/src/component/CustomPreset.vue +5 -1
- package/packages/flow/src/component/Preset.vue +5 -1
- package/packages/flow/src/main.vue +21 -1
- package/packages/flow/src/processForm.vue +15 -8
- package/packages/flow/src/selectUser.vue +9 -2
- package/packages/flow-group/src/main.vue +0 -8
- package/packages/form/src/main.vue +1519 -1462
- package/packages/form/src/table.vue +8 -0
- package/packages/selector/src/main.vue +1 -1
- package/packages/selector-panel/src/main.vue +4 -4
- package/packages/tabs/src/main.vue +1 -10
- package/packages/theme-chalk/lib/editor.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/editor.scss +23 -0
- package/packages/tree-group/src/main.vue +0 -2
- package/packages/upload/src/main.vue +31 -23
- package/src/index.js +1 -1
- package/src/utils/util.js +41 -8
|
@@ -997,6 +997,7 @@ export default {
|
|
|
997
997
|
}
|
|
998
998
|
}
|
|
999
999
|
},
|
|
1000
|
+
inject: ['scale'],
|
|
1000
1001
|
props: {
|
|
1001
1002
|
model: {
|
|
1002
1003
|
type: Object,
|
|
@@ -1105,6 +1106,13 @@ export default {
|
|
|
1105
1106
|
}
|
|
1106
1107
|
},
|
|
1107
1108
|
watch: {
|
|
1109
|
+
scale: {
|
|
1110
|
+
deep: true,
|
|
1111
|
+
handler(val) {
|
|
1112
|
+
console.log(val, 999);
|
|
1113
|
+
this.getWidth();
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1108
1116
|
zoom: {
|
|
1109
1117
|
handler(val) {
|
|
1110
1118
|
this.getWidth();
|
|
@@ -572,10 +572,10 @@ export default {
|
|
|
572
572
|
},
|
|
573
573
|
checkeds(res, old) {
|
|
574
574
|
let val = res;
|
|
575
|
-
if (!Array.isArray(val)) {
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
}
|
|
575
|
+
// if (!Array.isArray(val)) {
|
|
576
|
+
// this.checkeds = [res];
|
|
577
|
+
// return;
|
|
578
|
+
// }
|
|
579
579
|
if (old.length > 0) {
|
|
580
580
|
if (val.length < old.length) {
|
|
581
581
|
this.checkAll = false;
|
|
@@ -117,7 +117,6 @@
|
|
|
117
117
|
attrs: ['events', 'visible', 'type']
|
|
118
118
|
})
|
|
119
119
|
"
|
|
120
|
-
:zoom="zoom"
|
|
121
120
|
:display="show"
|
|
122
121
|
:class="{
|
|
123
122
|
'es-flow-group-data-table':
|
|
@@ -172,7 +171,6 @@
|
|
|
172
171
|
attrs: ['events', 'visible', 'type']
|
|
173
172
|
})
|
|
174
173
|
"
|
|
175
|
-
:zoom="zoom"
|
|
176
174
|
:display="show"
|
|
177
175
|
v-on="{ ...item.events }"
|
|
178
176
|
></es-tree-group>
|
|
@@ -370,7 +368,6 @@
|
|
|
370
368
|
:display="show"
|
|
371
369
|
:key="index"
|
|
372
370
|
:closeDialog="false"
|
|
373
|
-
:zoom="zoom"
|
|
374
371
|
v-on="{ ...item.events }"
|
|
375
372
|
></es-form>
|
|
376
373
|
<es-data-table
|
|
@@ -386,7 +383,6 @@
|
|
|
386
383
|
attrs: ['events', 'visible', 'type']
|
|
387
384
|
})
|
|
388
385
|
"
|
|
389
|
-
:zoom="zoom"
|
|
390
386
|
:class="{
|
|
391
387
|
'es-flow-group-data-table':
|
|
392
388
|
item.type === 'data-table' || item.type === 'dataTable',
|
|
@@ -439,7 +435,6 @@
|
|
|
439
435
|
attrs: ['events', 'visible', 'type']
|
|
440
436
|
})
|
|
441
437
|
"
|
|
442
|
-
:zoom="zoom"
|
|
443
438
|
:key="index"
|
|
444
439
|
:display="show"
|
|
445
440
|
v-on="{ ...item.events }"
|
|
@@ -505,7 +500,6 @@
|
|
|
505
500
|
:model.sync="contents.model"
|
|
506
501
|
:display="show"
|
|
507
502
|
:closeDialog="false"
|
|
508
|
-
:zoom="zoom"
|
|
509
503
|
v-on="{ ...contents.events }"
|
|
510
504
|
></es-form>
|
|
511
505
|
<es-data-table
|
|
@@ -529,7 +523,6 @@
|
|
|
529
523
|
contents.type === 'flow-list' ||
|
|
530
524
|
contents.type === 'flowList'
|
|
531
525
|
}"
|
|
532
|
-
:zoom="zoom"
|
|
533
526
|
:display="show"
|
|
534
527
|
v-on="contents.events"
|
|
535
528
|
>
|
|
@@ -577,7 +570,6 @@
|
|
|
577
570
|
})
|
|
578
571
|
"
|
|
579
572
|
:display="show"
|
|
580
|
-
:zoom="zoom"
|
|
581
573
|
v-on="{ ...contents.events }"
|
|
582
574
|
></es-tree-group>
|
|
583
575
|
<iframe
|
|
@@ -645,8 +637,7 @@ export default {
|
|
|
645
637
|
default() {
|
|
646
638
|
return [];
|
|
647
639
|
}
|
|
648
|
-
}
|
|
649
|
-
zoom: false
|
|
640
|
+
}
|
|
650
641
|
},
|
|
651
642
|
watch: {
|
|
652
643
|
activeName(val) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.es-editor{border:1px solid #d9d9d9}.es-editor .es-editor-toolbar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 4px;border-bottom:1px solid #d9d9d9}.es-editor .es-editor-toolbar .es-editor-toolbar-item{height:40px;padding:4px}.es-editor .es-editor-toolbar .el-button--default{border:0;color:#595959}.es-editor .es-editor-toolbar .el-button--default:hover{color:#333;background-color:#f1f1f1}.es-editor .es-editor-main{overflow:hidden}.es-icon-svg{width:14px;height:14px;fill:#595959;position:relative;top:3px}.es-icon-svg+.el-icon--right{width:auto}.es-editor-color li{border-radius:3px;cursor:pointer;display:inline-block;padding:2px;border:1px solid transparent}.es-editor-color li.active,.es-editor-color li:hover{border-color:#d9d9d9}.es-editor-color li .es-editor-color-block{border:1px solid #d9d9d9;height:17px;width:17px;border-radius:3px}.es-editor-color .es-editor-color-clear{line-height:1.5;margin-bottom:5px;width:100%}.es-editor-dropdown-item:not(.is-disabled).active{background-color:rgba(0,0,0,.04);color:#69c0ff}
|
|
1
|
+
@charset "UTF-8";.es-editor{border:1px solid #d9d9d9}.es-editor .es-editor-toolbar{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 4px;-ms-flex-wrap:wrap;flex-wrap:wrap;border-bottom:1px solid #d9d9d9}.es-editor .es-editor-toolbar .es-editor-toolbar-item-box{height:40px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.es-editor .es-editor-toolbar .es-editor-toolbar-item-box+.es-editor-toolbar-item-box .es-editor-toolbar-item:first-child{border-left:1px solid #d9d9d9}.es-editor .es-editor-toolbar .es-editor-toolbar-item{height:40px;padding:4px}.es-editor .es-editor-toolbar .es-editor-toolbar-item.es-last{border-right:1px solid #d9d9d9}.es-editor .es-editor-toolbar .es-editor-toolbar-item .es-icon-text+.el-icon--right{width:auto}.es-editor .es-editor-toolbar .el-button--default{border:0;color:#595959}.es-editor .es-editor-toolbar .el-button--default:hover{color:#333;background-color:#f1f1f1}.es-editor .es-editor-toolbar .el-button--default.es-icon-right{padding-right:3px}.es-editor .es-editor-main{overflow:hidden}.es-icon-svg{width:14px;height:14px;fill:#595959;position:relative;top:3px}.es-icon-svg+.el-icon--right{width:auto}.es-editor-color li{border-radius:3px;cursor:pointer;display:inline-block;padding:2px;border:1px solid transparent}.es-editor-color li.active,.es-editor-color li:hover{border-color:#d9d9d9}.es-editor-color li .es-editor-color-block{border:1px solid #d9d9d9;height:17px;width:17px;border-radius:3px}.es-editor-color .es-editor-color-clear{line-height:1.5;margin-bottom:5px;width:100%}.es-editor-dropdown-item:not(.is-disabled).active{background-color:rgba(0,0,0,.04);color:#69c0ff}
|