eoss-ui 0.4.38 → 0.4.40
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/editor.js +907 -620
- package/lib/eoss-ui.common.js +1371 -1080
- package/lib/index.js +1 -1
- package/lib/selector-panel.js +19 -27
- package/lib/selector.js +3 -5
- package/lib/upload.js +57 -43
- package/package.json +1 -1
- package/packages/editor/src/minx.js +143 -1
- package/packages/editor/src/toolbar.vue +48 -3
- package/packages/selector/src/main.vue +1 -3
- package/packages/selector-panel/src/main.vue +6 -1
- package/packages/selector-panel/src/selection.vue +4 -13
- package/packages/upload/src/main.vue +28 -22
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -11453,689 +11453,793 @@ mainvue_type_template_id_250d187c_render._withStripped = true
|
|
|
11453
11453
|
// EXTERNAL MODULE: external "@wangeditor/editor-for-vue"
|
|
11454
11454
|
var editor_for_vue_ = __webpack_require__(9);
|
|
11455
11455
|
|
|
11456
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/editor/src/toolbar.vue?vue&type=template&id=
|
|
11457
|
-
var
|
|
11456
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/editor/src/toolbar.vue?vue&type=template&id=2bbb7390&
|
|
11457
|
+
var toolbarvue_type_template_id_2bbb7390_render = function () {
|
|
11458
11458
|
var _vm = this
|
|
11459
11459
|
var _h = _vm.$createElement
|
|
11460
11460
|
var _c = _vm._self._c || _h
|
|
11461
|
-
return _c(
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
_c(
|
|
11467
|
-
"
|
|
11468
|
-
{
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
},
|
|
11474
|
-
},
|
|
11475
|
-
},
|
|
11476
|
-
[
|
|
11477
|
-
_c(
|
|
11478
|
-
"el-tooltip",
|
|
11479
|
-
{
|
|
11480
|
-
staticClass: "item",
|
|
11481
|
-
attrs: { effect: "dark", content: "标题", placement: "bottom" },
|
|
11482
|
-
},
|
|
11461
|
+
return _c(
|
|
11462
|
+
"div",
|
|
11463
|
+
{ staticClass: "es-editor-toolbar" },
|
|
11464
|
+
[
|
|
11465
|
+
_vm._l(_vm.contents, function (items, indexs) {
|
|
11466
|
+
return _c(
|
|
11467
|
+
"div",
|
|
11468
|
+
{ key: indexs },
|
|
11469
|
+
_vm._l(items, function (item, index) {
|
|
11470
|
+
return _c(
|
|
11471
|
+
"div",
|
|
11472
|
+
{ key: index, staticClass: "es-editor-toolbar-item" },
|
|
11483
11473
|
[
|
|
11484
|
-
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
|
|
11489
|
-
|
|
11474
|
+
item.dropdown && item.dropdown.length
|
|
11475
|
+
? _c(
|
|
11476
|
+
"el-dropdown",
|
|
11477
|
+
{
|
|
11478
|
+
attrs: { placement: "bottom", trigger: item.trigger },
|
|
11479
|
+
on: {
|
|
11480
|
+
command: function (res) {
|
|
11481
|
+
_vm.handleCommand("tag", res)
|
|
11482
|
+
},
|
|
11483
|
+
},
|
|
11484
|
+
},
|
|
11485
|
+
[
|
|
11486
|
+
item.tips
|
|
11487
|
+
? _c(
|
|
11488
|
+
"el-tooltip",
|
|
11489
|
+
{
|
|
11490
|
+
attrs: {
|
|
11491
|
+
effect: "dark",
|
|
11492
|
+
content: item.tips,
|
|
11493
|
+
placement: item.placement
|
|
11494
|
+
? item.placement
|
|
11495
|
+
: "bottom",
|
|
11496
|
+
},
|
|
11497
|
+
},
|
|
11498
|
+
[
|
|
11499
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11500
|
+
_vm._v("\n " + _vm._s(_vm.tag)),
|
|
11501
|
+
_c("i", {
|
|
11502
|
+
staticClass:
|
|
11503
|
+
"el-icon-caret-bottom el-icon--right",
|
|
11504
|
+
}),
|
|
11505
|
+
]),
|
|
11506
|
+
],
|
|
11507
|
+
1
|
|
11508
|
+
)
|
|
11509
|
+
: _vm._e(),
|
|
11510
|
+
_c(
|
|
11511
|
+
"el-dropdown-menu",
|
|
11512
|
+
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
11513
|
+
_vm._l(_vm._tags, function (item) {
|
|
11514
|
+
return _c(
|
|
11515
|
+
"el-dropdown-item",
|
|
11516
|
+
{
|
|
11517
|
+
key: item,
|
|
11518
|
+
staticClass: "es-editor-dropdown-item",
|
|
11519
|
+
class: { active: item == _vm.tag },
|
|
11520
|
+
attrs: { command: item },
|
|
11521
|
+
},
|
|
11522
|
+
[_vm._v(_vm._s(item))]
|
|
11523
|
+
)
|
|
11524
|
+
}),
|
|
11525
|
+
1
|
|
11526
|
+
),
|
|
11527
|
+
],
|
|
11528
|
+
1
|
|
11529
|
+
)
|
|
11530
|
+
: _vm._e(),
|
|
11490
11531
|
],
|
|
11491
11532
|
1
|
|
11492
|
-
)
|
|
11493
|
-
|
|
11494
|
-
|
|
11495
|
-
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
|
|
11499
|
-
|
|
11500
|
-
|
|
11501
|
-
|
|
11502
|
-
|
|
11503
|
-
|
|
11504
|
-
|
|
11505
|
-
|
|
11506
|
-
)
|
|
11507
|
-
|
|
11508
|
-
1
|
|
11509
|
-
),
|
|
11510
|
-
],
|
|
11511
|
-
1
|
|
11512
|
-
),
|
|
11513
|
-
],
|
|
11514
|
-
1
|
|
11515
|
-
),
|
|
11516
|
-
_c(
|
|
11517
|
-
"div",
|
|
11518
|
-
{ staticClass: "es-editor-toolbar-item" },
|
|
11519
|
-
[
|
|
11520
|
-
_c(
|
|
11521
|
-
"el-tooltip",
|
|
11522
|
-
{
|
|
11523
|
-
staticClass: "item",
|
|
11524
|
-
attrs: { effect: "dark", content: "引用", placement: "bottom" },
|
|
11525
|
-
},
|
|
11526
|
-
[
|
|
11527
|
-
_c("el-button", { attrs: { size: "small" } }, [
|
|
11528
|
-
_c(
|
|
11529
|
-
"svg",
|
|
11530
|
-
{
|
|
11531
|
-
staticClass: "es-icon-svg",
|
|
11532
|
-
attrs: { viewBox: "0 0 1024 1024" },
|
|
11533
|
+
)
|
|
11534
|
+
}),
|
|
11535
|
+
0
|
|
11536
|
+
)
|
|
11537
|
+
}),
|
|
11538
|
+
_c(
|
|
11539
|
+
"div",
|
|
11540
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11541
|
+
[
|
|
11542
|
+
_c(
|
|
11543
|
+
"el-dropdown",
|
|
11544
|
+
{
|
|
11545
|
+
attrs: { placement: "bottom", trigger: "click" },
|
|
11546
|
+
on: {
|
|
11547
|
+
command: function (res) {
|
|
11548
|
+
_vm.handleCommand("tag", res)
|
|
11533
11549
|
},
|
|
11534
|
-
[
|
|
11535
|
-
_c("path", {
|
|
11536
|
-
attrs: {
|
|
11537
|
-
d: "M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z",
|
|
11538
|
-
},
|
|
11539
|
-
}),
|
|
11540
|
-
]
|
|
11541
|
-
),
|
|
11542
|
-
]),
|
|
11543
|
-
],
|
|
11544
|
-
1
|
|
11545
|
-
),
|
|
11546
|
-
],
|
|
11547
|
-
1
|
|
11548
|
-
),
|
|
11549
|
-
_c(
|
|
11550
|
-
"div",
|
|
11551
|
-
{ staticClass: "es-editor-toolbar-item" },
|
|
11552
|
-
[
|
|
11553
|
-
_c(
|
|
11554
|
-
"el-tooltip",
|
|
11555
|
-
{
|
|
11556
|
-
staticClass: "item",
|
|
11557
|
-
attrs: { effect: "dark", content: "粗体", placement: "bottom" },
|
|
11558
|
-
},
|
|
11559
|
-
[
|
|
11560
|
-
_c(
|
|
11561
|
-
"div",
|
|
11562
|
-
{
|
|
11563
|
-
staticClass: "es-text-center",
|
|
11564
|
-
attrs: { slot: "content" },
|
|
11565
|
-
slot: "content",
|
|
11566
11550
|
},
|
|
11567
|
-
|
|
11568
|
-
|
|
11569
|
-
_c("el-button", { attrs: { size: "small" } }, [
|
|
11551
|
+
},
|
|
11552
|
+
[
|
|
11570
11553
|
_c(
|
|
11571
|
-
"
|
|
11554
|
+
"el-tooltip",
|
|
11572
11555
|
{
|
|
11573
|
-
staticClass: "
|
|
11574
|
-
attrs: {
|
|
11556
|
+
staticClass: "item",
|
|
11557
|
+
attrs: {
|
|
11558
|
+
effect: "dark",
|
|
11559
|
+
content: "标题",
|
|
11560
|
+
placement: "bottom",
|
|
11561
|
+
},
|
|
11575
11562
|
},
|
|
11576
11563
|
[
|
|
11577
|
-
_c("
|
|
11578
|
-
|
|
11579
|
-
|
|
11564
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11565
|
+
_vm._v("\n " + _vm._s(_vm.tag)),
|
|
11566
|
+
_c("i", {
|
|
11567
|
+
staticClass: "el-icon-caret-bottom el-icon--right",
|
|
11568
|
+
}),
|
|
11569
|
+
]),
|
|
11570
|
+
],
|
|
11571
|
+
1
|
|
11572
|
+
),
|
|
11573
|
+
_c(
|
|
11574
|
+
"el-dropdown-menu",
|
|
11575
|
+
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
11576
|
+
_vm._l(_vm._tags, function (item) {
|
|
11577
|
+
return _c(
|
|
11578
|
+
"el-dropdown-item",
|
|
11579
|
+
{
|
|
11580
|
+
key: item,
|
|
11581
|
+
staticClass: "es-editor-dropdown-item",
|
|
11582
|
+
class: { active: item == _vm.tag },
|
|
11583
|
+
attrs: { command: item },
|
|
11580
11584
|
},
|
|
11581
|
-
|
|
11582
|
-
|
|
11585
|
+
[_vm._v(_vm._s(item))]
|
|
11586
|
+
)
|
|
11587
|
+
}),
|
|
11588
|
+
1
|
|
11583
11589
|
),
|
|
11584
|
-
]
|
|
11585
|
-
|
|
11586
|
-
|
|
11587
|
-
|
|
11588
|
-
|
|
11589
|
-
|
|
11590
|
-
|
|
11591
|
-
|
|
11592
|
-
|
|
11593
|
-
|
|
11594
|
-
|
|
11595
|
-
|
|
11596
|
-
|
|
11597
|
-
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
|
|
11610
|
-
|
|
11611
|
-
|
|
11590
|
+
],
|
|
11591
|
+
1
|
|
11592
|
+
),
|
|
11593
|
+
],
|
|
11594
|
+
1
|
|
11595
|
+
),
|
|
11596
|
+
_c(
|
|
11597
|
+
"div",
|
|
11598
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11599
|
+
[
|
|
11600
|
+
_c(
|
|
11601
|
+
"el-tooltip",
|
|
11602
|
+
{
|
|
11603
|
+
staticClass: "item",
|
|
11604
|
+
attrs: { effect: "dark", content: "引用", placement: "bottom" },
|
|
11605
|
+
},
|
|
11606
|
+
[
|
|
11607
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11608
|
+
_c(
|
|
11609
|
+
"svg",
|
|
11610
|
+
{
|
|
11611
|
+
staticClass: "es-icon-svg",
|
|
11612
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11613
|
+
},
|
|
11614
|
+
[
|
|
11615
|
+
_c("path", {
|
|
11616
|
+
attrs: {
|
|
11617
|
+
d: "M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z",
|
|
11618
|
+
},
|
|
11619
|
+
}),
|
|
11620
|
+
]
|
|
11621
|
+
),
|
|
11622
|
+
]),
|
|
11623
|
+
],
|
|
11624
|
+
1
|
|
11625
|
+
),
|
|
11626
|
+
],
|
|
11627
|
+
1
|
|
11628
|
+
),
|
|
11629
|
+
_c(
|
|
11630
|
+
"div",
|
|
11631
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11632
|
+
[
|
|
11633
|
+
_c(
|
|
11634
|
+
"el-tooltip",
|
|
11635
|
+
{
|
|
11636
|
+
staticClass: "item",
|
|
11637
|
+
attrs: { effect: "dark", content: "粗体", placement: "bottom" },
|
|
11638
|
+
},
|
|
11639
|
+
[
|
|
11612
11640
|
_c(
|
|
11613
|
-
"
|
|
11641
|
+
"div",
|
|
11614
11642
|
{
|
|
11615
|
-
staticClass: "es-
|
|
11616
|
-
attrs: {
|
|
11643
|
+
staticClass: "es-text-center",
|
|
11644
|
+
attrs: { slot: "content" },
|
|
11645
|
+
slot: "content",
|
|
11617
11646
|
},
|
|
11618
|
-
[
|
|
11619
|
-
_c("path", {
|
|
11620
|
-
attrs: {
|
|
11621
|
-
d: "M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z",
|
|
11622
|
-
},
|
|
11623
|
-
}),
|
|
11624
|
-
]
|
|
11647
|
+
[_vm._v("粗体"), _c("br"), _vm._v("ctrl+b")]
|
|
11625
11648
|
),
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
11641
|
-
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11649
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11650
|
+
_c(
|
|
11651
|
+
"svg",
|
|
11652
|
+
{
|
|
11653
|
+
staticClass: "es-icon-svg",
|
|
11654
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11655
|
+
},
|
|
11656
|
+
[
|
|
11657
|
+
_c("path", {
|
|
11658
|
+
attrs: {
|
|
11659
|
+
d: "M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z",
|
|
11660
|
+
},
|
|
11661
|
+
}),
|
|
11662
|
+
]
|
|
11663
|
+
),
|
|
11664
|
+
]),
|
|
11665
|
+
],
|
|
11666
|
+
1
|
|
11667
|
+
),
|
|
11668
|
+
],
|
|
11669
|
+
1
|
|
11670
|
+
),
|
|
11671
|
+
_c(
|
|
11672
|
+
"div",
|
|
11673
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11674
|
+
[
|
|
11675
|
+
_c(
|
|
11676
|
+
"el-tooltip",
|
|
11677
|
+
{
|
|
11678
|
+
staticClass: "item",
|
|
11679
|
+
attrs: { effect: "dark", content: "下划线", placement: "bottom" },
|
|
11680
|
+
},
|
|
11681
|
+
[
|
|
11654
11682
|
_c(
|
|
11655
|
-
"
|
|
11683
|
+
"div",
|
|
11656
11684
|
{
|
|
11657
|
-
staticClass: "es-
|
|
11658
|
-
attrs: {
|
|
11685
|
+
staticClass: "es-text-center",
|
|
11686
|
+
attrs: { slot: "content" },
|
|
11687
|
+
slot: "content",
|
|
11659
11688
|
},
|
|
11660
|
-
[
|
|
11661
|
-
_c("path", {
|
|
11662
|
-
attrs: {
|
|
11663
|
-
d: "M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z",
|
|
11664
|
-
},
|
|
11665
|
-
}),
|
|
11666
|
-
]
|
|
11689
|
+
[_vm._v("下划线 "), _c("br"), _vm._v("ctrl+u")]
|
|
11667
11690
|
),
|
|
11668
|
-
|
|
11669
|
-
|
|
11670
|
-
|
|
11671
|
-
|
|
11672
|
-
|
|
11673
|
-
|
|
11674
|
-
|
|
11675
|
-
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
|
|
11679
|
-
|
|
11680
|
-
|
|
11681
|
-
|
|
11682
|
-
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
|
|
11686
|
-
|
|
11691
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11692
|
+
_c(
|
|
11693
|
+
"svg",
|
|
11694
|
+
{
|
|
11695
|
+
staticClass: "es-icon-svg",
|
|
11696
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11697
|
+
},
|
|
11698
|
+
[
|
|
11699
|
+
_c("path", {
|
|
11700
|
+
attrs: {
|
|
11701
|
+
d: "M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z",
|
|
11702
|
+
},
|
|
11703
|
+
}),
|
|
11704
|
+
]
|
|
11705
|
+
),
|
|
11706
|
+
]),
|
|
11707
|
+
],
|
|
11708
|
+
1
|
|
11709
|
+
),
|
|
11710
|
+
],
|
|
11711
|
+
1
|
|
11712
|
+
),
|
|
11713
|
+
_c(
|
|
11714
|
+
"div",
|
|
11715
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11716
|
+
[
|
|
11717
|
+
_c(
|
|
11718
|
+
"el-tooltip",
|
|
11719
|
+
{
|
|
11720
|
+
staticClass: "item",
|
|
11721
|
+
attrs: { effect: "dark", content: "斜体", placement: "bottom" },
|
|
11687
11722
|
},
|
|
11688
|
-
|
|
11689
|
-
[
|
|
11690
|
-
_c("el-button", { attrs: { size: "small" } }, [
|
|
11723
|
+
[
|
|
11691
11724
|
_c(
|
|
11692
|
-
"
|
|
11725
|
+
"div",
|
|
11693
11726
|
{
|
|
11694
|
-
staticClass: "es-
|
|
11695
|
-
attrs: {
|
|
11727
|
+
staticClass: "es-text-center",
|
|
11728
|
+
attrs: { slot: "content" },
|
|
11729
|
+
slot: "content",
|
|
11696
11730
|
},
|
|
11697
|
-
[
|
|
11698
|
-
_c("path", {
|
|
11699
|
-
attrs: {
|
|
11700
|
-
d: "M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z",
|
|
11701
|
-
},
|
|
11702
|
-
}),
|
|
11703
|
-
_c("path", {
|
|
11704
|
-
attrs: {
|
|
11705
|
-
d: "M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z",
|
|
11706
|
-
},
|
|
11707
|
-
}),
|
|
11708
|
-
_c("path", {
|
|
11709
|
-
attrs: {
|
|
11710
|
-
d: "M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z",
|
|
11711
|
-
},
|
|
11712
|
-
}),
|
|
11713
|
-
]
|
|
11731
|
+
[_vm._v("斜体"), _c("br"), _vm._v("ctrl+i")]
|
|
11714
11732
|
),
|
|
11715
|
-
_c("
|
|
11716
|
-
]),
|
|
11717
|
-
_c(
|
|
11718
|
-
"el-dropdown-menu",
|
|
11719
|
-
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
11720
|
-
[
|
|
11733
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11721
11734
|
_c(
|
|
11722
|
-
"
|
|
11735
|
+
"svg",
|
|
11723
11736
|
{
|
|
11724
|
-
staticClass: "
|
|
11725
|
-
attrs: {
|
|
11726
|
-
effect: "dark",
|
|
11727
|
-
content: "ctrl+shift+x",
|
|
11728
|
-
placement: "right",
|
|
11729
|
-
},
|
|
11737
|
+
staticClass: "es-icon-svg",
|
|
11738
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11730
11739
|
},
|
|
11731
11740
|
[
|
|
11732
|
-
_c("
|
|
11733
|
-
|
|
11734
|
-
"
|
|
11735
|
-
|
|
11736
|
-
|
|
11737
|
-
|
|
11738
|
-
},
|
|
11739
|
-
[
|
|
11740
|
-
_c("path", {
|
|
11741
|
-
attrs: {
|
|
11742
|
-
d: "M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z",
|
|
11743
|
-
},
|
|
11744
|
-
}),
|
|
11745
|
-
]
|
|
11746
|
-
),
|
|
11747
|
-
_c("span", { staticClass: "title" }, [_vm._v("删除线")]),
|
|
11748
|
-
]),
|
|
11749
|
-
],
|
|
11750
|
-
1
|
|
11741
|
+
_c("path", {
|
|
11742
|
+
attrs: {
|
|
11743
|
+
d: "M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z",
|
|
11744
|
+
},
|
|
11745
|
+
}),
|
|
11746
|
+
]
|
|
11751
11747
|
),
|
|
11748
|
+
]),
|
|
11749
|
+
],
|
|
11750
|
+
1
|
|
11751
|
+
),
|
|
11752
|
+
],
|
|
11753
|
+
1
|
|
11754
|
+
),
|
|
11755
|
+
_c(
|
|
11756
|
+
"div",
|
|
11757
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11758
|
+
[
|
|
11759
|
+
_c(
|
|
11760
|
+
"el-dropdown",
|
|
11761
|
+
{
|
|
11762
|
+
attrs: { placement: "bottom", size: "small" },
|
|
11763
|
+
on: {
|
|
11764
|
+
command: function (res) {
|
|
11765
|
+
_vm.handleCommand("tag", res)
|
|
11766
|
+
},
|
|
11767
|
+
},
|
|
11768
|
+
},
|
|
11769
|
+
[
|
|
11770
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11752
11771
|
_c(
|
|
11753
|
-
"
|
|
11772
|
+
"svg",
|
|
11754
11773
|
{
|
|
11755
|
-
staticClass: "
|
|
11756
|
-
attrs: {
|
|
11757
|
-
effect: "dark",
|
|
11758
|
-
content: "ctrl+e",
|
|
11759
|
-
placement: "right",
|
|
11760
|
-
},
|
|
11774
|
+
staticClass: "es-icon-svg",
|
|
11775
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11761
11776
|
},
|
|
11762
11777
|
[
|
|
11763
|
-
_c("
|
|
11764
|
-
|
|
11765
|
-
"
|
|
11766
|
-
|
|
11767
|
-
|
|
11768
|
-
|
|
11769
|
-
|
|
11770
|
-
|
|
11771
|
-
|
|
11772
|
-
|
|
11773
|
-
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11778
|
-
|
|
11779
|
-
_vm._v("行内代码"),
|
|
11780
|
-
]),
|
|
11781
|
-
]),
|
|
11782
|
-
],
|
|
11783
|
-
1
|
|
11778
|
+
_c("path", {
|
|
11779
|
+
attrs: {
|
|
11780
|
+
d: "M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z",
|
|
11781
|
+
},
|
|
11782
|
+
}),
|
|
11783
|
+
_c("path", {
|
|
11784
|
+
attrs: {
|
|
11785
|
+
d: "M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z",
|
|
11786
|
+
},
|
|
11787
|
+
}),
|
|
11788
|
+
_c("path", {
|
|
11789
|
+
attrs: {
|
|
11790
|
+
d: "M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z",
|
|
11791
|
+
},
|
|
11792
|
+
}),
|
|
11793
|
+
]
|
|
11784
11794
|
),
|
|
11785
|
-
_c("
|
|
11795
|
+
_c("i", { staticClass: "el-icon-caret-bottom el-icon--right" }),
|
|
11796
|
+
]),
|
|
11797
|
+
_c(
|
|
11798
|
+
"el-dropdown-menu",
|
|
11799
|
+
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
11800
|
+
[
|
|
11786
11801
|
_c(
|
|
11787
|
-
"
|
|
11802
|
+
"el-tooltip",
|
|
11788
11803
|
{
|
|
11789
|
-
staticClass: "
|
|
11790
|
-
attrs: {
|
|
11804
|
+
staticClass: "item",
|
|
11805
|
+
attrs: {
|
|
11806
|
+
effect: "dark",
|
|
11807
|
+
content: "ctrl+shift+x",
|
|
11808
|
+
placement: "right",
|
|
11809
|
+
},
|
|
11791
11810
|
},
|
|
11792
11811
|
[
|
|
11793
|
-
_c("
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
|
|
11797
|
-
|
|
11798
|
-
|
|
11812
|
+
_c("el-dropdown-item", { attrs: { command: "删除线" } }, [
|
|
11813
|
+
_c(
|
|
11814
|
+
"svg",
|
|
11815
|
+
{
|
|
11816
|
+
staticClass: "es-icon-svg",
|
|
11817
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11818
|
+
},
|
|
11819
|
+
[
|
|
11820
|
+
_c("path", {
|
|
11821
|
+
attrs: {
|
|
11822
|
+
d: "M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z",
|
|
11823
|
+
},
|
|
11824
|
+
}),
|
|
11825
|
+
]
|
|
11826
|
+
),
|
|
11827
|
+
_c("span", { staticClass: "title" }, [
|
|
11828
|
+
_vm._v("删除线"),
|
|
11829
|
+
]),
|
|
11830
|
+
]),
|
|
11831
|
+
],
|
|
11832
|
+
1
|
|
11799
11833
|
),
|
|
11800
|
-
_c("span", { staticClass: "title" }, [_vm._v("上标")]),
|
|
11801
|
-
]),
|
|
11802
|
-
_c("el-dropdown-item", { attrs: { command: "下标" } }, [
|
|
11803
11834
|
_c(
|
|
11804
|
-
"
|
|
11835
|
+
"el-tooltip",
|
|
11805
11836
|
{
|
|
11806
|
-
staticClass: "
|
|
11807
|
-
attrs: {
|
|
11837
|
+
staticClass: "item",
|
|
11838
|
+
attrs: {
|
|
11839
|
+
effect: "dark",
|
|
11840
|
+
content: "ctrl+e",
|
|
11841
|
+
placement: "right",
|
|
11842
|
+
},
|
|
11808
11843
|
},
|
|
11809
11844
|
[
|
|
11810
|
-
_c(
|
|
11811
|
-
|
|
11812
|
-
|
|
11813
|
-
|
|
11814
|
-
|
|
11815
|
-
|
|
11845
|
+
_c(
|
|
11846
|
+
"el-dropdown-item",
|
|
11847
|
+
{ attrs: { command: "行内代码" } },
|
|
11848
|
+
[
|
|
11849
|
+
_c(
|
|
11850
|
+
"svg",
|
|
11851
|
+
{
|
|
11852
|
+
staticClass: "es-icon-svg",
|
|
11853
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11854
|
+
},
|
|
11855
|
+
[
|
|
11856
|
+
_c("path", {
|
|
11857
|
+
attrs: {
|
|
11858
|
+
d: "M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z",
|
|
11859
|
+
},
|
|
11860
|
+
}),
|
|
11861
|
+
]
|
|
11862
|
+
),
|
|
11863
|
+
_c("span", { staticClass: "title" }, [
|
|
11864
|
+
_vm._v("行内代码"),
|
|
11865
|
+
]),
|
|
11866
|
+
]
|
|
11867
|
+
),
|
|
11868
|
+
],
|
|
11869
|
+
1
|
|
11816
11870
|
),
|
|
11817
|
-
_c("
|
|
11818
|
-
|
|
11819
|
-
|
|
11820
|
-
|
|
11821
|
-
|
|
11822
|
-
|
|
11823
|
-
|
|
11824
|
-
|
|
11871
|
+
_c("el-dropdown-item", { attrs: { command: "上标" } }, [
|
|
11872
|
+
_c(
|
|
11873
|
+
"svg",
|
|
11874
|
+
{
|
|
11875
|
+
staticClass: "es-icon-svg",
|
|
11876
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11877
|
+
},
|
|
11878
|
+
[
|
|
11879
|
+
_c("path", {
|
|
11880
|
+
attrs: {
|
|
11881
|
+
d: "M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z",
|
|
11882
|
+
},
|
|
11883
|
+
}),
|
|
11884
|
+
]
|
|
11885
|
+
),
|
|
11886
|
+
_c("span", { staticClass: "title" }, [_vm._v("上标")]),
|
|
11887
|
+
]),
|
|
11888
|
+
_c("el-dropdown-item", { attrs: { command: "下标" } }, [
|
|
11889
|
+
_c(
|
|
11890
|
+
"svg",
|
|
11891
|
+
{
|
|
11892
|
+
staticClass: "es-icon-svg",
|
|
11893
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11894
|
+
},
|
|
11895
|
+
[
|
|
11896
|
+
_c("path", {
|
|
11897
|
+
attrs: {
|
|
11898
|
+
d: "M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z",
|
|
11899
|
+
},
|
|
11900
|
+
}),
|
|
11901
|
+
]
|
|
11902
|
+
),
|
|
11903
|
+
_c("span", { staticClass: "title" }, [_vm._v("下标")]),
|
|
11904
|
+
]),
|
|
11905
|
+
_c("el-dropdown-item", { attrs: { command: "清除格式" } }, [
|
|
11906
|
+
_c(
|
|
11907
|
+
"svg",
|
|
11908
|
+
{
|
|
11909
|
+
staticClass: "es-icon-svg",
|
|
11910
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11911
|
+
},
|
|
11912
|
+
[
|
|
11913
|
+
_c("path", {
|
|
11914
|
+
attrs: {
|
|
11915
|
+
d: "M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0",
|
|
11916
|
+
},
|
|
11917
|
+
}),
|
|
11918
|
+
]
|
|
11919
|
+
),
|
|
11920
|
+
_c("span", { staticClass: "title" }, [_vm._v("清除格式")]),
|
|
11921
|
+
]),
|
|
11922
|
+
],
|
|
11923
|
+
1
|
|
11924
|
+
),
|
|
11925
|
+
],
|
|
11926
|
+
1
|
|
11927
|
+
),
|
|
11928
|
+
],
|
|
11929
|
+
1
|
|
11930
|
+
),
|
|
11931
|
+
_c(
|
|
11932
|
+
"div",
|
|
11933
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11934
|
+
[
|
|
11935
|
+
_c("Colors", {
|
|
11936
|
+
attrs: { tips: "文字颜色" },
|
|
11937
|
+
on: { select: _vm.selectColor },
|
|
11938
|
+
}),
|
|
11939
|
+
],
|
|
11940
|
+
1
|
|
11941
|
+
),
|
|
11942
|
+
_c(
|
|
11943
|
+
"div",
|
|
11944
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11945
|
+
[
|
|
11946
|
+
_c(
|
|
11947
|
+
"Colors",
|
|
11948
|
+
{
|
|
11949
|
+
attrs: { tips: "背景颜色", title: "清除背景色" },
|
|
11950
|
+
on: { select: _vm.selectBgColor },
|
|
11951
|
+
},
|
|
11952
|
+
[
|
|
11953
|
+
_c(
|
|
11954
|
+
"svg",
|
|
11955
|
+
{
|
|
11956
|
+
staticClass: "es-icon-svg",
|
|
11957
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
11958
|
+
},
|
|
11959
|
+
[
|
|
11960
|
+
_c("path", {
|
|
11961
|
+
attrs: {
|
|
11962
|
+
d: "M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z",
|
|
11825
11963
|
},
|
|
11826
|
-
|
|
11827
|
-
|
|
11828
|
-
|
|
11829
|
-
|
|
11830
|
-
|
|
11831
|
-
|
|
11832
|
-
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
"div",
|
|
11847
|
-
{ staticClass: "es-editor-toolbar-item" },
|
|
11848
|
-
[
|
|
11849
|
-
_c("Colors", {
|
|
11850
|
-
attrs: { tips: "文字颜色" },
|
|
11851
|
-
on: { select: _vm.selectColor },
|
|
11852
|
-
}),
|
|
11853
|
-
],
|
|
11854
|
-
1
|
|
11855
|
-
),
|
|
11856
|
-
_c(
|
|
11857
|
-
"div",
|
|
11858
|
-
{ staticClass: "es-editor-toolbar-item" },
|
|
11859
|
-
[
|
|
11860
|
-
_c(
|
|
11861
|
-
"Colors",
|
|
11862
|
-
{
|
|
11863
|
-
attrs: { tips: "背景颜色", title: "清除背景色" },
|
|
11864
|
-
on: { select: _vm.selectBgColor },
|
|
11865
|
-
},
|
|
11866
|
-
[
|
|
11867
|
-
_c(
|
|
11868
|
-
"svg",
|
|
11869
|
-
{
|
|
11870
|
-
staticClass: "es-icon-svg",
|
|
11871
|
-
attrs: { viewBox: "0 0 1024 1024" },
|
|
11964
|
+
}),
|
|
11965
|
+
]
|
|
11966
|
+
),
|
|
11967
|
+
]
|
|
11968
|
+
),
|
|
11969
|
+
],
|
|
11970
|
+
1
|
|
11971
|
+
),
|
|
11972
|
+
_c(
|
|
11973
|
+
"div",
|
|
11974
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
11975
|
+
[
|
|
11976
|
+
_c(
|
|
11977
|
+
"el-dropdown",
|
|
11978
|
+
{
|
|
11979
|
+
attrs: { placement: "bottom", trigger: "click" },
|
|
11980
|
+
on: {
|
|
11981
|
+
command: function (res) {
|
|
11982
|
+
_vm.handleCommand("size", res)
|
|
11983
|
+
},
|
|
11872
11984
|
},
|
|
11873
|
-
|
|
11874
|
-
|
|
11985
|
+
},
|
|
11986
|
+
[
|
|
11987
|
+
_c(
|
|
11988
|
+
"el-tooltip",
|
|
11989
|
+
{
|
|
11990
|
+
staticClass: "item",
|
|
11875
11991
|
attrs: {
|
|
11876
|
-
|
|
11992
|
+
effect: "dark",
|
|
11993
|
+
content: "字号",
|
|
11994
|
+
placement: "bottom",
|
|
11877
11995
|
},
|
|
11996
|
+
},
|
|
11997
|
+
[
|
|
11998
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
11999
|
+
_vm._v("\n " + _vm._s(_vm.fontSize)),
|
|
12000
|
+
_c("i", {
|
|
12001
|
+
staticClass: "el-icon-caret-bottom el-icon--right",
|
|
12002
|
+
}),
|
|
12003
|
+
]),
|
|
12004
|
+
],
|
|
12005
|
+
1
|
|
12006
|
+
),
|
|
12007
|
+
_c(
|
|
12008
|
+
"el-dropdown-menu",
|
|
12009
|
+
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
12010
|
+
_vm._l(_vm._fontSizes, function (item) {
|
|
12011
|
+
return _c(
|
|
12012
|
+
"el-dropdown-item",
|
|
12013
|
+
{
|
|
12014
|
+
key: item,
|
|
12015
|
+
staticClass: "es-editor-dropdown-item",
|
|
12016
|
+
class: { active: item == _vm.fontSize },
|
|
12017
|
+
attrs: { command: item },
|
|
12018
|
+
},
|
|
12019
|
+
[_vm._v(_vm._s(item))]
|
|
12020
|
+
)
|
|
11878
12021
|
}),
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
|
|
11895
|
-
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
},
|
|
11900
|
-
[
|
|
11901
|
-
_c(
|
|
11902
|
-
"el-tooltip",
|
|
11903
|
-
{
|
|
11904
|
-
staticClass: "item",
|
|
11905
|
-
attrs: { effect: "dark", content: "字号", placement: "bottom" },
|
|
11906
|
-
},
|
|
11907
|
-
[
|
|
11908
|
-
_c("el-button", { attrs: { size: "small" } }, [
|
|
11909
|
-
_vm._v("\n " + _vm._s(_vm.fontSize)),
|
|
11910
|
-
_c("i", {
|
|
11911
|
-
staticClass: "el-icon-caret-bottom el-icon--right",
|
|
11912
|
-
}),
|
|
11913
|
-
]),
|
|
11914
|
-
],
|
|
11915
|
-
1
|
|
11916
|
-
),
|
|
11917
|
-
_c(
|
|
11918
|
-
"el-dropdown-menu",
|
|
11919
|
-
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
11920
|
-
_vm._l(_vm._fontSizes, function (item) {
|
|
11921
|
-
return _c(
|
|
11922
|
-
"el-dropdown-item",
|
|
11923
|
-
{
|
|
11924
|
-
key: item,
|
|
11925
|
-
staticClass: "es-editor-dropdown-item",
|
|
11926
|
-
class: { active: item == _vm.fontSize },
|
|
11927
|
-
attrs: { command: item },
|
|
11928
|
-
},
|
|
11929
|
-
[_vm._v(_vm._s(item))]
|
|
11930
|
-
)
|
|
11931
|
-
}),
|
|
11932
|
-
1
|
|
11933
|
-
),
|
|
11934
|
-
],
|
|
11935
|
-
1
|
|
11936
|
-
),
|
|
11937
|
-
],
|
|
11938
|
-
1
|
|
11939
|
-
),
|
|
11940
|
-
_c(
|
|
11941
|
-
"div",
|
|
11942
|
-
{ staticClass: "es-editor-toolbar-item" },
|
|
11943
|
-
[
|
|
11944
|
-
_c(
|
|
11945
|
-
"el-dropdown",
|
|
11946
|
-
{
|
|
11947
|
-
attrs: { placement: "bottom", trigger: "click" },
|
|
11948
|
-
on: {
|
|
11949
|
-
command: function (res) {
|
|
11950
|
-
_vm.handleCommand("family", res)
|
|
12022
|
+
1
|
|
12023
|
+
),
|
|
12024
|
+
],
|
|
12025
|
+
1
|
|
12026
|
+
),
|
|
12027
|
+
],
|
|
12028
|
+
1
|
|
12029
|
+
),
|
|
12030
|
+
_c(
|
|
12031
|
+
"div",
|
|
12032
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
12033
|
+
[
|
|
12034
|
+
_c(
|
|
12035
|
+
"el-dropdown",
|
|
12036
|
+
{
|
|
12037
|
+
attrs: { placement: "bottom", trigger: "click" },
|
|
12038
|
+
on: {
|
|
12039
|
+
command: function (res) {
|
|
12040
|
+
_vm.handleCommand("family", res)
|
|
12041
|
+
},
|
|
11951
12042
|
},
|
|
11952
12043
|
},
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
_c("el-button", { attrs: { size: "small" } }, [
|
|
11963
|
-
_vm._v("\n " + _vm._s(_vm.fontFamily)),
|
|
11964
|
-
_c("i", {
|
|
11965
|
-
staticClass: "el-icon-caret-bottom el-icon--right",
|
|
11966
|
-
}),
|
|
11967
|
-
]),
|
|
11968
|
-
],
|
|
11969
|
-
1
|
|
11970
|
-
),
|
|
11971
|
-
_c(
|
|
11972
|
-
"el-dropdown-menu",
|
|
11973
|
-
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
11974
|
-
_vm._l(_vm._fontFamilys, function (item) {
|
|
11975
|
-
return _c(
|
|
11976
|
-
"el-dropdown-item",
|
|
11977
|
-
{
|
|
11978
|
-
key: item,
|
|
11979
|
-
staticClass: "es-editor-dropdown-item",
|
|
11980
|
-
class: { active: item == _vm.fontFamily },
|
|
11981
|
-
attrs: { command: item },
|
|
12044
|
+
[
|
|
12045
|
+
_c(
|
|
12046
|
+
"el-tooltip",
|
|
12047
|
+
{
|
|
12048
|
+
staticClass: "item",
|
|
12049
|
+
attrs: {
|
|
12050
|
+
effect: "dark",
|
|
12051
|
+
content: "字体",
|
|
12052
|
+
placement: "bottom",
|
|
11982
12053
|
},
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
|
|
11994
|
-
|
|
11995
|
-
|
|
11996
|
-
|
|
11997
|
-
|
|
11998
|
-
|
|
11999
|
-
|
|
12000
|
-
|
|
12001
|
-
|
|
12002
|
-
|
|
12003
|
-
|
|
12004
|
-
|
|
12054
|
+
},
|
|
12055
|
+
[
|
|
12056
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
12057
|
+
_c(
|
|
12058
|
+
"svg",
|
|
12059
|
+
{
|
|
12060
|
+
staticClass: "es-icon-svg",
|
|
12061
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
12062
|
+
},
|
|
12063
|
+
[
|
|
12064
|
+
_c("path", {
|
|
12065
|
+
attrs: {
|
|
12066
|
+
d: "M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z",
|
|
12067
|
+
},
|
|
12068
|
+
}),
|
|
12069
|
+
]
|
|
12070
|
+
),
|
|
12071
|
+
_vm._v("\n " + _vm._s(_vm.fontFamily)),
|
|
12072
|
+
_c("i", {
|
|
12073
|
+
staticClass: "el-icon-caret-bottom el-icon--right",
|
|
12074
|
+
}),
|
|
12075
|
+
]),
|
|
12076
|
+
],
|
|
12077
|
+
1
|
|
12078
|
+
),
|
|
12079
|
+
_c(
|
|
12080
|
+
"el-dropdown-menu",
|
|
12081
|
+
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
12082
|
+
_vm._l(_vm._fontFamilys, function (item) {
|
|
12083
|
+
return _c(
|
|
12084
|
+
"el-dropdown-item",
|
|
12085
|
+
{
|
|
12086
|
+
key: item,
|
|
12087
|
+
staticClass: "es-editor-dropdown-item",
|
|
12088
|
+
class: { active: item == _vm.fontFamily },
|
|
12089
|
+
attrs: { command: item },
|
|
12090
|
+
},
|
|
12091
|
+
[_vm._v(_vm._s(item))]
|
|
12092
|
+
)
|
|
12093
|
+
}),
|
|
12094
|
+
1
|
|
12095
|
+
),
|
|
12096
|
+
],
|
|
12097
|
+
1
|
|
12098
|
+
),
|
|
12099
|
+
],
|
|
12100
|
+
1
|
|
12101
|
+
),
|
|
12102
|
+
_c(
|
|
12103
|
+
"div",
|
|
12104
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
12105
|
+
[
|
|
12106
|
+
_c(
|
|
12107
|
+
"el-dropdown",
|
|
12108
|
+
{
|
|
12109
|
+
attrs: { placement: "bottom", trigger: "click" },
|
|
12110
|
+
on: {
|
|
12111
|
+
command: function (res) {
|
|
12112
|
+
_vm.handleCommand("family", res)
|
|
12113
|
+
},
|
|
12005
12114
|
},
|
|
12006
12115
|
},
|
|
12007
|
-
|
|
12008
|
-
[
|
|
12009
|
-
_c(
|
|
12010
|
-
"el-tooltip",
|
|
12011
|
-
{
|
|
12012
|
-
staticClass: "item",
|
|
12013
|
-
attrs: { effect: "dark", content: "字体", placement: "bottom" },
|
|
12014
|
-
},
|
|
12015
|
-
[
|
|
12016
|
-
_c("el-button", { attrs: { size: "small" } }, [
|
|
12017
|
-
_vm._v("\n " + _vm._s(_vm.lineHeight)),
|
|
12018
|
-
_c("i", {
|
|
12019
|
-
staticClass: "el-icon-caret-bottom el-icon--right",
|
|
12020
|
-
}),
|
|
12021
|
-
]),
|
|
12022
|
-
],
|
|
12023
|
-
1
|
|
12024
|
-
),
|
|
12025
|
-
_c(
|
|
12026
|
-
"el-dropdown-menu",
|
|
12027
|
-
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
12028
|
-
_vm._l(_vm._lineHeights, function (item) {
|
|
12029
|
-
return _c(
|
|
12030
|
-
"el-dropdown-item",
|
|
12031
|
-
{
|
|
12032
|
-
key: item,
|
|
12033
|
-
staticClass: "es-editor-dropdown-item",
|
|
12034
|
-
class: { active: item == _vm.lineHeight },
|
|
12035
|
-
attrs: { command: item },
|
|
12036
|
-
},
|
|
12037
|
-
[_vm._v(_vm._s(item))]
|
|
12038
|
-
)
|
|
12039
|
-
}),
|
|
12040
|
-
1
|
|
12041
|
-
),
|
|
12042
|
-
],
|
|
12043
|
-
1
|
|
12044
|
-
),
|
|
12045
|
-
],
|
|
12046
|
-
1
|
|
12047
|
-
),
|
|
12048
|
-
_c(
|
|
12049
|
-
"div",
|
|
12050
|
-
{ staticClass: "es-editor-toolbar-item" },
|
|
12051
|
-
[
|
|
12052
|
-
_c(
|
|
12053
|
-
"el-tooltip",
|
|
12054
|
-
{
|
|
12055
|
-
staticClass: "item",
|
|
12056
|
-
attrs: { effect: "dark", content: "无序列表", placement: "bottom" },
|
|
12057
|
-
},
|
|
12058
|
-
[
|
|
12059
|
-
_c(
|
|
12060
|
-
"div",
|
|
12061
|
-
{
|
|
12062
|
-
staticClass: "es-text-center",
|
|
12063
|
-
attrs: { slot: "content" },
|
|
12064
|
-
slot: "content",
|
|
12065
|
-
},
|
|
12066
|
-
[_vm._v("无序列表")]
|
|
12067
|
-
),
|
|
12068
|
-
_c("el-button", { attrs: { size: "small" } }, [
|
|
12116
|
+
[
|
|
12069
12117
|
_c(
|
|
12070
|
-
"
|
|
12118
|
+
"el-tooltip",
|
|
12071
12119
|
{
|
|
12072
|
-
staticClass: "
|
|
12073
|
-
attrs: {
|
|
12120
|
+
staticClass: "item",
|
|
12121
|
+
attrs: {
|
|
12122
|
+
effect: "dark",
|
|
12123
|
+
content: "字体",
|
|
12124
|
+
placement: "bottom",
|
|
12125
|
+
},
|
|
12074
12126
|
},
|
|
12075
12127
|
[
|
|
12076
|
-
_c("
|
|
12077
|
-
|
|
12078
|
-
|
|
12128
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
12129
|
+
_vm._v("\n " + _vm._s(_vm.lineHeight)),
|
|
12130
|
+
_c("i", {
|
|
12131
|
+
staticClass: "el-icon-caret-bottom el-icon--right",
|
|
12132
|
+
}),
|
|
12133
|
+
]),
|
|
12134
|
+
],
|
|
12135
|
+
1
|
|
12136
|
+
),
|
|
12137
|
+
_c(
|
|
12138
|
+
"el-dropdown-menu",
|
|
12139
|
+
{ attrs: { slot: "dropdown" }, slot: "dropdown" },
|
|
12140
|
+
_vm._l(_vm._lineHeights, function (item) {
|
|
12141
|
+
return _c(
|
|
12142
|
+
"el-dropdown-item",
|
|
12143
|
+
{
|
|
12144
|
+
key: item,
|
|
12145
|
+
staticClass: "es-editor-dropdown-item",
|
|
12146
|
+
class: { active: item == _vm.lineHeight },
|
|
12147
|
+
attrs: { command: item },
|
|
12079
12148
|
},
|
|
12080
|
-
|
|
12081
|
-
|
|
12149
|
+
[_vm._v(_vm._s(item))]
|
|
12150
|
+
)
|
|
12151
|
+
}),
|
|
12152
|
+
1
|
|
12082
12153
|
),
|
|
12083
|
-
]
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
|
|
12154
|
+
],
|
|
12155
|
+
1
|
|
12156
|
+
),
|
|
12157
|
+
],
|
|
12158
|
+
1
|
|
12159
|
+
),
|
|
12160
|
+
_c(
|
|
12161
|
+
"div",
|
|
12162
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
12163
|
+
[
|
|
12164
|
+
_c(
|
|
12165
|
+
"el-tooltip",
|
|
12166
|
+
{
|
|
12167
|
+
staticClass: "item",
|
|
12168
|
+
attrs: {
|
|
12169
|
+
effect: "dark",
|
|
12170
|
+
content: "无序列表",
|
|
12171
|
+
placement: "bottom",
|
|
12172
|
+
},
|
|
12173
|
+
},
|
|
12174
|
+
[
|
|
12175
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
12176
|
+
_c(
|
|
12177
|
+
"svg",
|
|
12178
|
+
{
|
|
12179
|
+
staticClass: "es-icon-svg",
|
|
12180
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
12181
|
+
},
|
|
12182
|
+
[
|
|
12183
|
+
_c("path", {
|
|
12184
|
+
attrs: {
|
|
12185
|
+
d: "M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z",
|
|
12186
|
+
},
|
|
12187
|
+
}),
|
|
12188
|
+
]
|
|
12189
|
+
),
|
|
12190
|
+
]),
|
|
12191
|
+
],
|
|
12192
|
+
1
|
|
12193
|
+
),
|
|
12194
|
+
],
|
|
12195
|
+
1
|
|
12196
|
+
),
|
|
12197
|
+
_c(
|
|
12198
|
+
"div",
|
|
12199
|
+
{ staticClass: "es-editor-toolbar-item" },
|
|
12200
|
+
[
|
|
12201
|
+
_c(
|
|
12202
|
+
"el-tooltip",
|
|
12203
|
+
{
|
|
12204
|
+
staticClass: "item",
|
|
12205
|
+
attrs: {
|
|
12206
|
+
effect: "dark",
|
|
12207
|
+
content: "有序列表",
|
|
12208
|
+
placement: "bottom",
|
|
12107
12209
|
},
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
|
|
12118
|
-
|
|
12119
|
-
|
|
12120
|
-
|
|
12121
|
-
|
|
12122
|
-
|
|
12123
|
-
|
|
12124
|
-
|
|
12125
|
-
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12210
|
+
},
|
|
12211
|
+
[
|
|
12212
|
+
_c("el-button", { attrs: { size: "small" } }, [
|
|
12213
|
+
_c(
|
|
12214
|
+
"svg",
|
|
12215
|
+
{
|
|
12216
|
+
staticClass: "es-icon-svg",
|
|
12217
|
+
attrs: { viewBox: "0 0 1024 1024" },
|
|
12218
|
+
},
|
|
12219
|
+
[
|
|
12220
|
+
_c("path", {
|
|
12221
|
+
attrs: {
|
|
12222
|
+
d: "M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z",
|
|
12223
|
+
},
|
|
12224
|
+
}),
|
|
12225
|
+
]
|
|
12226
|
+
),
|
|
12227
|
+
]),
|
|
12228
|
+
],
|
|
12229
|
+
1
|
|
12230
|
+
),
|
|
12231
|
+
],
|
|
12232
|
+
1
|
|
12233
|
+
),
|
|
12234
|
+
],
|
|
12235
|
+
2
|
|
12236
|
+
)
|
|
12133
12237
|
}
|
|
12134
|
-
var
|
|
12135
|
-
|
|
12238
|
+
var toolbarvue_type_template_id_2bbb7390_staticRenderFns = []
|
|
12239
|
+
toolbarvue_type_template_id_2bbb7390_render._withStripped = true
|
|
12136
12240
|
|
|
12137
12241
|
|
|
12138
|
-
// CONCATENATED MODULE: ./packages/editor/src/toolbar.vue?vue&type=template&id=
|
|
12242
|
+
// CONCATENATED MODULE: ./packages/editor/src/toolbar.vue?vue&type=template&id=2bbb7390&
|
|
12139
12243
|
|
|
12140
12244
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/editor/src/color.vue?vue&type=template&id=2a807a98&
|
|
12141
12245
|
var colorvue_type_template_id_2a807a98_render = function () {
|
|
@@ -12311,384 +12415,566 @@ colorvue_type_template_id_2a807a98_render._withStripped = true
|
|
|
12311
12415
|
//
|
|
12312
12416
|
//
|
|
12313
12417
|
|
|
12314
|
-
/* harmony default export */ var colorvue_type_script_lang_js_ = ({
|
|
12315
|
-
name: 'colors',
|
|
12316
|
-
props: {
|
|
12317
|
-
tips: String,
|
|
12318
|
-
title: {
|
|
12319
|
-
type: String,
|
|
12320
|
-
default: '默认颜色'
|
|
12321
|
-
}
|
|
12322
|
-
},
|
|
12323
|
-
computed: {
|
|
12324
|
-
disabled: function disabled() {
|
|
12325
|
-
return this.tips ? false : true;
|
|
12326
|
-
}
|
|
12327
|
-
},
|
|
12328
|
-
data: function data() {
|
|
12329
|
-
return {
|
|
12330
|
-
visible: false,
|
|
12331
|
-
colors: ['rgb(0, 0, 0)', 'rgb(38, 38, 38)', 'rgb(89, 89, 89)', 'rgb(140, 140, 140)', 'rgb(191, 191, 191)', 'rgb(217, 217, 217)', 'rgb(233, 233, 233)', 'rgb(245, 245, 245)', 'rgb(250, 250, 250)', 'rgb(255, 255, 255)', // 10
|
|
12332
|
-
'rgb(225, 60, 57)', 'rgb(231, 95, 51)', 'rgb(235, 144, 58)', 'rgb(245, 219, 77)', 'rgb(114, 192, 64)', 'rgb(89, 191, 192)', 'rgb(66, 144, 247)', 'rgb(54, 88, 226)', 'rgb(106, 57, 201)', 'rgb(216, 68, 147)', // 10
|
|
12333
|
-
'rgb(251, 233, 230)', 'rgb(252, 237, 225)', 'rgb(252, 239, 212)', 'rgb(252, 251, 207)', 'rgb(231, 246, 213)', 'rgb(218, 244, 240)', 'rgb(217, 237, 250)', 'rgb(224, 232, 250)', 'rgb(237, 225, 248)', 'rgb(246, 226, 234)', // 10
|
|
12334
|
-
'rgb(255, 163, 158)', 'rgb(255, 187, 150)', 'rgb(255, 213, 145)', 'rgb(255, 251, 143)', 'rgb(183, 235, 143)', 'rgb(135, 232, 222)', 'rgb(145, 213, 255)', 'rgb(173, 198, 255)', 'rgb(211, 173, 247)', 'rgb(255, 173, 210)', // 10
|
|
12335
|
-
'rgb(255, 77, 79)', 'rgb(255, 122, 69)', 'rgb(255, 169, 64)', 'rgb(255, 236, 61)', 'rgb(115, 209, 61)', 'rgb(54, 207, 201)', 'rgb(64, 169, 255)', 'rgb(89, 126, 247)', 'rgb(146, 84, 222)', 'rgb(247, 89, 171)', // 10
|
|
12336
|
-
'rgb(207, 19, 34)', 'rgb(212, 56, 13)', 'rgb(212, 107, 8)', 'rgb(212, 177, 6)', 'rgb(56, 158, 13)', 'rgb(8, 151, 156)', 'rgb(9, 109, 217)', 'rgb(29, 57, 196)', 'rgb(83, 29, 171)', 'rgb(196, 29, 127)', // 10
|
|
12337
|
-
'rgb(130, 0, 20)', 'rgb(135, 20, 0)', 'rgb(135, 56, 0)', 'rgb(97, 71, 0)', 'rgb(19, 82, 0)', 'rgb(0, 71, 79)', 'rgb(0, 58, 140)', 'rgb(6, 17, 120)', 'rgb(34, 7, 94)', 'rgb(120, 6, 80)' // 10
|
|
12338
|
-
],
|
|
12339
|
-
active: ''
|
|
12340
|
-
};
|
|
12341
|
-
},
|
|
12342
|
-
mounted: function mounted() {},
|
|
12343
|
-
|
|
12344
|
-
methods: {
|
|
12345
|
-
handleClick: function handleClick(res) {
|
|
12346
|
-
this.visible = false;
|
|
12347
|
-
this.active = res;
|
|
12348
|
-
this.$emit('select', res);
|
|
12349
|
-
}
|
|
12350
|
-
}
|
|
12351
|
-
});
|
|
12352
|
-
// CONCATENATED MODULE: ./packages/editor/src/color.vue?vue&type=script&lang=js&
|
|
12353
|
-
/* harmony default export */ var src_colorvue_type_script_lang_js_ = (colorvue_type_script_lang_js_);
|
|
12354
|
-
// CONCATENATED MODULE: ./packages/editor/src/color.vue
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
/* normalize component */
|
|
12361
|
-
|
|
12362
|
-
var color_component = normalizeComponent(
|
|
12363
|
-
src_colorvue_type_script_lang_js_,
|
|
12364
|
-
colorvue_type_template_id_2a807a98_render,
|
|
12365
|
-
colorvue_type_template_id_2a807a98_staticRenderFns,
|
|
12366
|
-
false,
|
|
12367
|
-
null,
|
|
12368
|
-
null,
|
|
12369
|
-
null
|
|
12370
|
-
|
|
12371
|
-
)
|
|
12372
|
-
|
|
12373
|
-
/* harmony default export */ var src_color = (color_component.exports);
|
|
12374
|
-
// CONCATENATED MODULE: ./
|
|
12375
|
-
|
|
12376
|
-
|
|
12377
|
-
|
|
12378
|
-
|
|
12379
|
-
|
|
12380
|
-
|
|
12381
|
-
|
|
12382
|
-
|
|
12383
|
-
|
|
12384
|
-
|
|
12385
|
-
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
|
|
12389
|
-
|
|
12390
|
-
|
|
12391
|
-
|
|
12392
|
-
|
|
12393
|
-
|
|
12394
|
-
|
|
12395
|
-
|
|
12396
|
-
|
|
12397
|
-
|
|
12398
|
-
|
|
12399
|
-
|
|
12400
|
-
|
|
12401
|
-
|
|
12402
|
-
|
|
12403
|
-
|
|
12404
|
-
|
|
12405
|
-
|
|
12406
|
-
|
|
12407
|
-
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
|
|
12412
|
-
|
|
12413
|
-
|
|
12414
|
-
|
|
12415
|
-
|
|
12416
|
-
|
|
12417
|
-
|
|
12418
|
-
|
|
12419
|
-
|
|
12420
|
-
|
|
12421
|
-
|
|
12422
|
-
|
|
12423
|
-
|
|
12424
|
-
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
12429
|
-
|
|
12430
|
-
|
|
12431
|
-
|
|
12432
|
-
|
|
12433
|
-
|
|
12434
|
-
|
|
12435
|
-
|
|
12436
|
-
|
|
12437
|
-
|
|
12438
|
-
|
|
12439
|
-
|
|
12440
|
-
|
|
12441
|
-
|
|
12442
|
-
|
|
12443
|
-
|
|
12444
|
-
|
|
12445
|
-
|
|
12446
|
-
|
|
12447
|
-
|
|
12448
|
-
|
|
12449
|
-
|
|
12450
|
-
|
|
12451
|
-
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
|
|
12455
|
-
|
|
12456
|
-
|
|
12457
|
-
|
|
12458
|
-
|
|
12459
|
-
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
|
|
12485
|
-
|
|
12486
|
-
|
|
12487
|
-
|
|
12488
|
-
|
|
12489
|
-
|
|
12490
|
-
|
|
12491
|
-
|
|
12492
|
-
|
|
12493
|
-
|
|
12494
|
-
|
|
12495
|
-
|
|
12496
|
-
|
|
12497
|
-
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
|
|
12502
|
-
|
|
12503
|
-
|
|
12504
|
-
|
|
12505
|
-
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
//
|
|
12513
|
-
//
|
|
12514
|
-
//
|
|
12515
|
-
//
|
|
12516
|
-
//
|
|
12517
|
-
//
|
|
12518
|
-
//
|
|
12519
|
-
//
|
|
12520
|
-
//
|
|
12521
|
-
//
|
|
12522
|
-
//
|
|
12523
|
-
//
|
|
12524
|
-
//
|
|
12525
|
-
//
|
|
12526
|
-
//
|
|
12527
|
-
//
|
|
12528
|
-
//
|
|
12529
|
-
//
|
|
12530
|
-
//
|
|
12531
|
-
//
|
|
12532
|
-
//
|
|
12533
|
-
//
|
|
12534
|
-
//
|
|
12535
|
-
//
|
|
12536
|
-
//
|
|
12537
|
-
//
|
|
12538
|
-
//
|
|
12539
|
-
//
|
|
12540
|
-
//
|
|
12541
|
-
//
|
|
12542
|
-
//
|
|
12543
|
-
//
|
|
12544
|
-
//
|
|
12545
|
-
//
|
|
12546
|
-
//
|
|
12547
|
-
//
|
|
12548
|
-
//
|
|
12549
|
-
//
|
|
12550
|
-
//
|
|
12551
|
-
//
|
|
12552
|
-
//
|
|
12553
|
-
//
|
|
12554
|
-
//
|
|
12555
|
-
//
|
|
12556
|
-
//
|
|
12557
|
-
//
|
|
12558
|
-
//
|
|
12559
|
-
//
|
|
12560
|
-
//
|
|
12561
|
-
//
|
|
12562
|
-
//
|
|
12563
|
-
//
|
|
12564
|
-
//
|
|
12565
|
-
//
|
|
12566
|
-
//
|
|
12567
|
-
//
|
|
12568
|
-
//
|
|
12569
|
-
//
|
|
12570
|
-
//
|
|
12571
|
-
//
|
|
12572
|
-
//
|
|
12573
|
-
//
|
|
12574
|
-
//
|
|
12575
|
-
//
|
|
12576
|
-
//
|
|
12577
|
-
//
|
|
12578
|
-
//
|
|
12579
|
-
//
|
|
12580
|
-
//
|
|
12581
|
-
//
|
|
12582
|
-
//
|
|
12583
|
-
//
|
|
12584
|
-
//
|
|
12585
|
-
//
|
|
12586
|
-
//
|
|
12587
|
-
//
|
|
12588
|
-
//
|
|
12589
|
-
//
|
|
12590
|
-
//
|
|
12591
|
-
//
|
|
12592
|
-
//
|
|
12593
|
-
//
|
|
12594
|
-
//
|
|
12595
|
-
//
|
|
12596
|
-
//
|
|
12597
|
-
//
|
|
12598
|
-
//
|
|
12599
|
-
//
|
|
12600
|
-
//
|
|
12601
|
-
//
|
|
12602
|
-
//
|
|
12603
|
-
//
|
|
12604
|
-
//
|
|
12605
|
-
//
|
|
12606
|
-
//
|
|
12607
|
-
//
|
|
12608
|
-
//
|
|
12609
|
-
//
|
|
12610
|
-
//
|
|
12611
|
-
//
|
|
12612
|
-
//
|
|
12613
|
-
//
|
|
12614
|
-
//
|
|
12615
|
-
//
|
|
12616
|
-
//
|
|
12617
|
-
//
|
|
12618
|
-
//
|
|
12619
|
-
//
|
|
12620
|
-
//
|
|
12621
|
-
//
|
|
12622
|
-
//
|
|
12623
|
-
//
|
|
12624
|
-
//
|
|
12625
|
-
//
|
|
12626
|
-
//
|
|
12627
|
-
//
|
|
12628
|
-
//
|
|
12629
|
-
//
|
|
12630
|
-
//
|
|
12631
|
-
//
|
|
12632
|
-
//
|
|
12633
|
-
//
|
|
12634
|
-
//
|
|
12635
|
-
//
|
|
12636
|
-
//
|
|
12637
|
-
//
|
|
12638
|
-
//
|
|
12639
|
-
//
|
|
12640
|
-
//
|
|
12641
|
-
//
|
|
12642
|
-
//
|
|
12643
|
-
//
|
|
12644
|
-
//
|
|
12645
|
-
//
|
|
12646
|
-
//
|
|
12647
|
-
//
|
|
12648
|
-
//
|
|
12649
|
-
//
|
|
12650
|
-
//
|
|
12651
|
-
//
|
|
12652
|
-
//
|
|
12653
|
-
//
|
|
12654
|
-
//
|
|
12655
|
-
//
|
|
12656
|
-
//
|
|
12657
|
-
//
|
|
12658
|
-
//
|
|
12659
|
-
//
|
|
12660
|
-
//
|
|
12661
|
-
//
|
|
12662
|
-
//
|
|
12663
|
-
//
|
|
12664
|
-
//
|
|
12665
|
-
//
|
|
12666
|
-
//
|
|
12667
|
-
//
|
|
12668
|
-
//
|
|
12669
|
-
//
|
|
12670
|
-
//
|
|
12671
|
-
//
|
|
12672
|
-
//
|
|
12673
|
-
//
|
|
12674
|
-
//
|
|
12675
|
-
//
|
|
12676
|
-
//
|
|
12677
|
-
//
|
|
12678
|
-
//
|
|
12679
|
-
//
|
|
12680
|
-
//
|
|
12681
|
-
//
|
|
12682
|
-
//
|
|
12683
|
-
//
|
|
12684
|
-
//
|
|
12685
|
-
//
|
|
12686
|
-
//
|
|
12418
|
+
/* harmony default export */ var colorvue_type_script_lang_js_ = ({
|
|
12419
|
+
name: 'colors',
|
|
12420
|
+
props: {
|
|
12421
|
+
tips: String,
|
|
12422
|
+
title: {
|
|
12423
|
+
type: String,
|
|
12424
|
+
default: '默认颜色'
|
|
12425
|
+
}
|
|
12426
|
+
},
|
|
12427
|
+
computed: {
|
|
12428
|
+
disabled: function disabled() {
|
|
12429
|
+
return this.tips ? false : true;
|
|
12430
|
+
}
|
|
12431
|
+
},
|
|
12432
|
+
data: function data() {
|
|
12433
|
+
return {
|
|
12434
|
+
visible: false,
|
|
12435
|
+
colors: ['rgb(0, 0, 0)', 'rgb(38, 38, 38)', 'rgb(89, 89, 89)', 'rgb(140, 140, 140)', 'rgb(191, 191, 191)', 'rgb(217, 217, 217)', 'rgb(233, 233, 233)', 'rgb(245, 245, 245)', 'rgb(250, 250, 250)', 'rgb(255, 255, 255)', // 10
|
|
12436
|
+
'rgb(225, 60, 57)', 'rgb(231, 95, 51)', 'rgb(235, 144, 58)', 'rgb(245, 219, 77)', 'rgb(114, 192, 64)', 'rgb(89, 191, 192)', 'rgb(66, 144, 247)', 'rgb(54, 88, 226)', 'rgb(106, 57, 201)', 'rgb(216, 68, 147)', // 10
|
|
12437
|
+
'rgb(251, 233, 230)', 'rgb(252, 237, 225)', 'rgb(252, 239, 212)', 'rgb(252, 251, 207)', 'rgb(231, 246, 213)', 'rgb(218, 244, 240)', 'rgb(217, 237, 250)', 'rgb(224, 232, 250)', 'rgb(237, 225, 248)', 'rgb(246, 226, 234)', // 10
|
|
12438
|
+
'rgb(255, 163, 158)', 'rgb(255, 187, 150)', 'rgb(255, 213, 145)', 'rgb(255, 251, 143)', 'rgb(183, 235, 143)', 'rgb(135, 232, 222)', 'rgb(145, 213, 255)', 'rgb(173, 198, 255)', 'rgb(211, 173, 247)', 'rgb(255, 173, 210)', // 10
|
|
12439
|
+
'rgb(255, 77, 79)', 'rgb(255, 122, 69)', 'rgb(255, 169, 64)', 'rgb(255, 236, 61)', 'rgb(115, 209, 61)', 'rgb(54, 207, 201)', 'rgb(64, 169, 255)', 'rgb(89, 126, 247)', 'rgb(146, 84, 222)', 'rgb(247, 89, 171)', // 10
|
|
12440
|
+
'rgb(207, 19, 34)', 'rgb(212, 56, 13)', 'rgb(212, 107, 8)', 'rgb(212, 177, 6)', 'rgb(56, 158, 13)', 'rgb(8, 151, 156)', 'rgb(9, 109, 217)', 'rgb(29, 57, 196)', 'rgb(83, 29, 171)', 'rgb(196, 29, 127)', // 10
|
|
12441
|
+
'rgb(130, 0, 20)', 'rgb(135, 20, 0)', 'rgb(135, 56, 0)', 'rgb(97, 71, 0)', 'rgb(19, 82, 0)', 'rgb(0, 71, 79)', 'rgb(0, 58, 140)', 'rgb(6, 17, 120)', 'rgb(34, 7, 94)', 'rgb(120, 6, 80)' // 10
|
|
12442
|
+
],
|
|
12443
|
+
active: ''
|
|
12444
|
+
};
|
|
12445
|
+
},
|
|
12446
|
+
mounted: function mounted() {},
|
|
12447
|
+
|
|
12448
|
+
methods: {
|
|
12449
|
+
handleClick: function handleClick(res) {
|
|
12450
|
+
this.visible = false;
|
|
12451
|
+
this.active = res;
|
|
12452
|
+
this.$emit('select', res);
|
|
12453
|
+
}
|
|
12454
|
+
}
|
|
12455
|
+
});
|
|
12456
|
+
// CONCATENATED MODULE: ./packages/editor/src/color.vue?vue&type=script&lang=js&
|
|
12457
|
+
/* harmony default export */ var src_colorvue_type_script_lang_js_ = (colorvue_type_script_lang_js_);
|
|
12458
|
+
// CONCATENATED MODULE: ./packages/editor/src/color.vue
|
|
12459
|
+
|
|
12460
|
+
|
|
12461
|
+
|
|
12462
|
+
|
|
12463
|
+
|
|
12464
|
+
/* normalize component */
|
|
12465
|
+
|
|
12466
|
+
var color_component = normalizeComponent(
|
|
12467
|
+
src_colorvue_type_script_lang_js_,
|
|
12468
|
+
colorvue_type_template_id_2a807a98_render,
|
|
12469
|
+
colorvue_type_template_id_2a807a98_staticRenderFns,
|
|
12470
|
+
false,
|
|
12471
|
+
null,
|
|
12472
|
+
null,
|
|
12473
|
+
null
|
|
12474
|
+
|
|
12475
|
+
)
|
|
12476
|
+
|
|
12477
|
+
/* harmony default export */ var src_color = (color_component.exports);
|
|
12478
|
+
// CONCATENATED MODULE: ./packages/editor/src/minx.js
|
|
12479
|
+
/* harmony default export */ var minx = ({
|
|
12480
|
+
computed: {
|
|
12481
|
+
contents: function contents() {
|
|
12482
|
+
return [[{ tips: '正文', value: this.tag, trigger: 'click', dropdown: this._tags, type: 'tag' }, {
|
|
12483
|
+
tips: '引用',
|
|
12484
|
+
path: ['M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z']
|
|
12485
|
+
}], [{
|
|
12486
|
+
tips: '粗体',
|
|
12487
|
+
path: ['M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z']
|
|
12488
|
+
}, {
|
|
12489
|
+
tips: '下划线',
|
|
12490
|
+
path: ['M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z']
|
|
12491
|
+
}, {
|
|
12492
|
+
tips: '斜体',
|
|
12493
|
+
path: ['M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z']
|
|
12494
|
+
}, {
|
|
12495
|
+
tips: '斜体',
|
|
12496
|
+
path: ['M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z']
|
|
12497
|
+
}, {
|
|
12498
|
+
path: ['M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z', 'M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z', 'M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z'],
|
|
12499
|
+
type: 'tag',
|
|
12500
|
+
dropdown: [{
|
|
12501
|
+
tips: '删除线',
|
|
12502
|
+
title: '删除线',
|
|
12503
|
+
path: ['M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z']
|
|
12504
|
+
}, {
|
|
12505
|
+
tips: '行内代码',
|
|
12506
|
+
title: '行内代码',
|
|
12507
|
+
path: ['M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z']
|
|
12508
|
+
}, {
|
|
12509
|
+
tips: '上标',
|
|
12510
|
+
title: '上标',
|
|
12511
|
+
path: ['M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z']
|
|
12512
|
+
}, {
|
|
12513
|
+
tips: '下标',
|
|
12514
|
+
title: '下标',
|
|
12515
|
+
path: ['M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0']
|
|
12516
|
+
}, {
|
|
12517
|
+
tips: '清除格式',
|
|
12518
|
+
title: '清除格式',
|
|
12519
|
+
path: ['M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0']
|
|
12520
|
+
}]
|
|
12521
|
+
}, {
|
|
12522
|
+
colors: true,
|
|
12523
|
+
tips: '文字颜色'
|
|
12524
|
+
}, {
|
|
12525
|
+
colors: true,
|
|
12526
|
+
tips: '背景颜色',
|
|
12527
|
+
title: '清除背景色',
|
|
12528
|
+
path: ['M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z']
|
|
12529
|
+
}], [{ tips: '字号', value: this.fontSize, trigger: 'click', dropdown: this._fontSizes, type: 'fontSize' }, { tips: '字体', value: this.fontFamily, trigger: 'click', dropdown: this._fontFamilys, type: 'fontFamily' }, { tips: '字体', value: this.lineHeight, trigger: 'click', dropdown: this._lineHeights, type: 'lineHeight' }], [{
|
|
12530
|
+
tips: '无序列表',
|
|
12531
|
+
path: ['M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z']
|
|
12532
|
+
}, {
|
|
12533
|
+
tips: '有序列表',
|
|
12534
|
+
path: ['M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z']
|
|
12535
|
+
}, {
|
|
12536
|
+
tips: '待办',
|
|
12537
|
+
path: ['M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z']
|
|
12538
|
+
}, {
|
|
12539
|
+
path: ['M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z'],
|
|
12540
|
+
type: 'textAlign',
|
|
12541
|
+
dropdown: [{
|
|
12542
|
+
title: '左对齐',
|
|
12543
|
+
path: ['M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z']
|
|
12544
|
+
}, {
|
|
12545
|
+
title: '右对齐',
|
|
12546
|
+
path: ['M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z']
|
|
12547
|
+
}, {
|
|
12548
|
+
title: '居中对齐',
|
|
12549
|
+
path: ['M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z']
|
|
12550
|
+
}, {
|
|
12551
|
+
title: '两端对齐',
|
|
12552
|
+
path: ['M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z']
|
|
12553
|
+
}]
|
|
12554
|
+
}, {
|
|
12555
|
+
path: ['M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z'],
|
|
12556
|
+
type: 'textIndent',
|
|
12557
|
+
dropdown: [{
|
|
12558
|
+
title: '增加缩进',
|
|
12559
|
+
path: ['M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z']
|
|
12560
|
+
}, {
|
|
12561
|
+
title: '减少缩进',
|
|
12562
|
+
disabled: this.outdent,
|
|
12563
|
+
path: ['M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z']
|
|
12564
|
+
}]
|
|
12565
|
+
}], [{
|
|
12566
|
+
emojis: true,
|
|
12567
|
+
tips: '表情',
|
|
12568
|
+
path: ['M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z']
|
|
12569
|
+
}, {
|
|
12570
|
+
link: true,
|
|
12571
|
+
tips: '插入链接',
|
|
12572
|
+
path: ['M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z', 'M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z']
|
|
12573
|
+
}, {
|
|
12574
|
+
path: ['M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z'],
|
|
12575
|
+
type: 'image',
|
|
12576
|
+
dropdown: [{
|
|
12577
|
+
title: '网络图片',
|
|
12578
|
+
path: ['M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z']
|
|
12579
|
+
}, {
|
|
12580
|
+
title: '上传图片',
|
|
12581
|
+
path: ['M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z']
|
|
12582
|
+
}]
|
|
12583
|
+
}, {
|
|
12584
|
+
path: ['M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z'],
|
|
12585
|
+
type: 'video',
|
|
12586
|
+
dropdown: [{
|
|
12587
|
+
title: '插入视频',
|
|
12588
|
+
path: ['M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z']
|
|
12589
|
+
}, {
|
|
12590
|
+
title: '上传视频',
|
|
12591
|
+
path: ['M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z', 'M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z']
|
|
12592
|
+
}]
|
|
12593
|
+
}, {
|
|
12594
|
+
table: true,
|
|
12595
|
+
tips: '插入表格',
|
|
12596
|
+
path: ['M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z']
|
|
12597
|
+
}, {
|
|
12598
|
+
tips: '代码块',
|
|
12599
|
+
path: ['M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z']
|
|
12600
|
+
}, {
|
|
12601
|
+
tips: '分割线',
|
|
12602
|
+
path: ['M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z', 'M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z', 'M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z', 'M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z', 'M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z']
|
|
12603
|
+
}], [{
|
|
12604
|
+
tips: '撤销',
|
|
12605
|
+
path: ['M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z']
|
|
12606
|
+
}, {
|
|
12607
|
+
tips: '重做',
|
|
12608
|
+
path: ['M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z']
|
|
12609
|
+
}], [{
|
|
12610
|
+
tips: '全屏',
|
|
12611
|
+
path: ['M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z']
|
|
12612
|
+
}]];
|
|
12613
|
+
}
|
|
12614
|
+
}
|
|
12615
|
+
});
|
|
12616
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/editor/src/toolbar.vue?vue&type=script&lang=js&
|
|
12617
|
+
//
|
|
12618
|
+
//
|
|
12619
|
+
//
|
|
12620
|
+
//
|
|
12621
|
+
//
|
|
12622
|
+
//
|
|
12623
|
+
//
|
|
12624
|
+
//
|
|
12625
|
+
//
|
|
12626
|
+
//
|
|
12627
|
+
//
|
|
12628
|
+
//
|
|
12629
|
+
//
|
|
12630
|
+
//
|
|
12631
|
+
//
|
|
12632
|
+
//
|
|
12633
|
+
//
|
|
12634
|
+
//
|
|
12635
|
+
//
|
|
12636
|
+
//
|
|
12637
|
+
//
|
|
12638
|
+
//
|
|
12639
|
+
//
|
|
12640
|
+
//
|
|
12641
|
+
//
|
|
12642
|
+
//
|
|
12643
|
+
//
|
|
12644
|
+
//
|
|
12645
|
+
//
|
|
12646
|
+
//
|
|
12647
|
+
//
|
|
12648
|
+
//
|
|
12649
|
+
//
|
|
12650
|
+
//
|
|
12651
|
+
//
|
|
12652
|
+
//
|
|
12653
|
+
//
|
|
12654
|
+
//
|
|
12655
|
+
//
|
|
12656
|
+
//
|
|
12657
|
+
//
|
|
12658
|
+
//
|
|
12659
|
+
//
|
|
12660
|
+
//
|
|
12661
|
+
//
|
|
12662
|
+
//
|
|
12663
|
+
//
|
|
12664
|
+
//
|
|
12665
|
+
//
|
|
12666
|
+
//
|
|
12667
|
+
//
|
|
12668
|
+
//
|
|
12669
|
+
//
|
|
12670
|
+
//
|
|
12671
|
+
//
|
|
12672
|
+
//
|
|
12673
|
+
//
|
|
12674
|
+
//
|
|
12675
|
+
//
|
|
12676
|
+
//
|
|
12677
|
+
//
|
|
12678
|
+
//
|
|
12679
|
+
//
|
|
12680
|
+
//
|
|
12681
|
+
//
|
|
12682
|
+
//
|
|
12683
|
+
//
|
|
12684
|
+
//
|
|
12685
|
+
//
|
|
12686
|
+
//
|
|
12687
|
+
//
|
|
12688
|
+
//
|
|
12689
|
+
//
|
|
12690
|
+
//
|
|
12691
|
+
//
|
|
12692
|
+
//
|
|
12693
|
+
//
|
|
12694
|
+
//
|
|
12695
|
+
//
|
|
12696
|
+
//
|
|
12697
|
+
//
|
|
12698
|
+
//
|
|
12699
|
+
//
|
|
12700
|
+
//
|
|
12701
|
+
//
|
|
12702
|
+
//
|
|
12703
|
+
//
|
|
12704
|
+
//
|
|
12705
|
+
//
|
|
12706
|
+
//
|
|
12707
|
+
//
|
|
12708
|
+
//
|
|
12709
|
+
//
|
|
12710
|
+
//
|
|
12711
|
+
//
|
|
12712
|
+
//
|
|
12713
|
+
//
|
|
12714
|
+
//
|
|
12715
|
+
//
|
|
12716
|
+
//
|
|
12717
|
+
//
|
|
12718
|
+
//
|
|
12719
|
+
//
|
|
12720
|
+
//
|
|
12721
|
+
//
|
|
12722
|
+
//
|
|
12723
|
+
//
|
|
12724
|
+
//
|
|
12725
|
+
//
|
|
12726
|
+
//
|
|
12727
|
+
//
|
|
12728
|
+
//
|
|
12729
|
+
//
|
|
12730
|
+
//
|
|
12731
|
+
//
|
|
12732
|
+
//
|
|
12733
|
+
//
|
|
12734
|
+
//
|
|
12735
|
+
//
|
|
12736
|
+
//
|
|
12737
|
+
//
|
|
12738
|
+
//
|
|
12739
|
+
//
|
|
12740
|
+
//
|
|
12741
|
+
//
|
|
12742
|
+
//
|
|
12743
|
+
//
|
|
12744
|
+
//
|
|
12745
|
+
//
|
|
12746
|
+
//
|
|
12747
|
+
//
|
|
12748
|
+
//
|
|
12749
|
+
//
|
|
12750
|
+
//
|
|
12751
|
+
//
|
|
12752
|
+
//
|
|
12753
|
+
//
|
|
12754
|
+
//
|
|
12755
|
+
//
|
|
12756
|
+
//
|
|
12757
|
+
//
|
|
12758
|
+
//
|
|
12759
|
+
//
|
|
12760
|
+
//
|
|
12761
|
+
//
|
|
12762
|
+
//
|
|
12763
|
+
//
|
|
12764
|
+
//
|
|
12765
|
+
//
|
|
12766
|
+
//
|
|
12767
|
+
//
|
|
12768
|
+
//
|
|
12769
|
+
//
|
|
12770
|
+
//
|
|
12771
|
+
//
|
|
12772
|
+
//
|
|
12773
|
+
//
|
|
12774
|
+
//
|
|
12775
|
+
//
|
|
12776
|
+
//
|
|
12777
|
+
//
|
|
12778
|
+
//
|
|
12779
|
+
//
|
|
12780
|
+
//
|
|
12781
|
+
//
|
|
12782
|
+
//
|
|
12783
|
+
//
|
|
12784
|
+
//
|
|
12785
|
+
//
|
|
12786
|
+
//
|
|
12787
|
+
//
|
|
12788
|
+
//
|
|
12789
|
+
//
|
|
12790
|
+
//
|
|
12791
|
+
//
|
|
12792
|
+
//
|
|
12793
|
+
//
|
|
12794
|
+
//
|
|
12795
|
+
//
|
|
12796
|
+
//
|
|
12797
|
+
//
|
|
12798
|
+
//
|
|
12799
|
+
//
|
|
12800
|
+
//
|
|
12801
|
+
//
|
|
12802
|
+
//
|
|
12803
|
+
//
|
|
12804
|
+
//
|
|
12805
|
+
//
|
|
12806
|
+
//
|
|
12807
|
+
//
|
|
12808
|
+
//
|
|
12809
|
+
//
|
|
12810
|
+
//
|
|
12811
|
+
//
|
|
12812
|
+
//
|
|
12813
|
+
//
|
|
12814
|
+
//
|
|
12815
|
+
//
|
|
12816
|
+
//
|
|
12817
|
+
//
|
|
12818
|
+
//
|
|
12819
|
+
//
|
|
12820
|
+
//
|
|
12821
|
+
//
|
|
12822
|
+
//
|
|
12823
|
+
//
|
|
12824
|
+
//
|
|
12825
|
+
//
|
|
12826
|
+
//
|
|
12827
|
+
//
|
|
12828
|
+
//
|
|
12829
|
+
//
|
|
12830
|
+
//
|
|
12831
|
+
//
|
|
12832
|
+
//
|
|
12833
|
+
//
|
|
12834
|
+
//
|
|
12835
|
+
//
|
|
12836
|
+
//
|
|
12837
|
+
//
|
|
12838
|
+
//
|
|
12839
|
+
//
|
|
12840
|
+
//
|
|
12841
|
+
//
|
|
12842
|
+
//
|
|
12843
|
+
//
|
|
12844
|
+
//
|
|
12845
|
+
//
|
|
12846
|
+
//
|
|
12847
|
+
//
|
|
12848
|
+
//
|
|
12849
|
+
//
|
|
12850
|
+
//
|
|
12851
|
+
//
|
|
12852
|
+
//
|
|
12853
|
+
//
|
|
12854
|
+
//
|
|
12855
|
+
//
|
|
12856
|
+
//
|
|
12857
|
+
//
|
|
12858
|
+
//
|
|
12859
|
+
//
|
|
12860
|
+
//
|
|
12861
|
+
//
|
|
12862
|
+
//
|
|
12863
|
+
//
|
|
12864
|
+
//
|
|
12865
|
+
//
|
|
12866
|
+
//
|
|
12867
|
+
//
|
|
12868
|
+
//
|
|
12869
|
+
//
|
|
12870
|
+
//
|
|
12871
|
+
//
|
|
12872
|
+
//
|
|
12873
|
+
//
|
|
12874
|
+
//
|
|
12875
|
+
//
|
|
12876
|
+
//
|
|
12877
|
+
//
|
|
12878
|
+
//
|
|
12879
|
+
//
|
|
12880
|
+
//
|
|
12881
|
+
//
|
|
12882
|
+
//
|
|
12883
|
+
//
|
|
12884
|
+
//
|
|
12885
|
+
//
|
|
12886
|
+
//
|
|
12887
|
+
//
|
|
12888
|
+
//
|
|
12889
|
+
//
|
|
12890
|
+
//
|
|
12891
|
+
//
|
|
12892
|
+
//
|
|
12893
|
+
//
|
|
12894
|
+
//
|
|
12895
|
+
//
|
|
12896
|
+
//
|
|
12897
|
+
//
|
|
12898
|
+
//
|
|
12899
|
+
//
|
|
12900
|
+
//
|
|
12901
|
+
//
|
|
12902
|
+
//
|
|
12903
|
+
//
|
|
12904
|
+
//
|
|
12905
|
+
//
|
|
12906
|
+
//
|
|
12907
|
+
//
|
|
12908
|
+
//
|
|
12909
|
+
//
|
|
12910
|
+
//
|
|
12911
|
+
//
|
|
12912
|
+
//
|
|
12913
|
+
//
|
|
12914
|
+
//
|
|
12915
|
+
//
|
|
12916
|
+
//
|
|
12917
|
+
//
|
|
12918
|
+
//
|
|
12919
|
+
//
|
|
12920
|
+
//
|
|
12921
|
+
//
|
|
12922
|
+
//
|
|
12923
|
+
//
|
|
12924
|
+
//
|
|
12925
|
+
//
|
|
12926
|
+
//
|
|
12927
|
+
//
|
|
12928
|
+
//
|
|
12929
|
+
//
|
|
12930
|
+
//
|
|
12931
|
+
//
|
|
12932
|
+
//
|
|
12933
|
+
//
|
|
12934
|
+
//
|
|
12935
|
+
//
|
|
12936
|
+
//
|
|
12937
|
+
//
|
|
12938
|
+
//
|
|
12939
|
+
//
|
|
12940
|
+
//
|
|
12941
|
+
//
|
|
12942
|
+
//
|
|
12943
|
+
//
|
|
12944
|
+
//
|
|
12945
|
+
//
|
|
12946
|
+
//
|
|
12947
|
+
//
|
|
12948
|
+
//
|
|
12949
|
+
//
|
|
12950
|
+
//
|
|
12951
|
+
//
|
|
12952
|
+
//
|
|
12953
|
+
//
|
|
12954
|
+
//
|
|
12955
|
+
//
|
|
12956
|
+
//
|
|
12957
|
+
//
|
|
12958
|
+
//
|
|
12959
|
+
//
|
|
12960
|
+
//
|
|
12961
|
+
//
|
|
12962
|
+
//
|
|
12963
|
+
//
|
|
12964
|
+
//
|
|
12965
|
+
//
|
|
12966
|
+
//
|
|
12967
|
+
//
|
|
12968
|
+
//
|
|
12969
|
+
//
|
|
12970
|
+
//
|
|
12971
|
+
|
|
12687
12972
|
|
|
12688
12973
|
|
|
12689
12974
|
/* harmony default export */ var toolbarvue_type_script_lang_js_ = ({
|
|
12690
12975
|
name: 'Toolbars',
|
|
12691
12976
|
components: { Colors: src_color },
|
|
12977
|
+
mixins: [minx],
|
|
12692
12978
|
inject: {
|
|
12693
12979
|
elForm: {
|
|
12694
12980
|
default: ''
|
|
@@ -12753,7 +13039,8 @@ var color_component = normalizeComponent(
|
|
|
12753
13039
|
tag: '正文',
|
|
12754
13040
|
fontSize: '默认字号',
|
|
12755
13041
|
fontFamily: '默认字体',
|
|
12756
|
-
lineHeight: '默认行高'
|
|
13042
|
+
lineHeight: '默认行高',
|
|
13043
|
+
outdent: true
|
|
12757
13044
|
};
|
|
12758
13045
|
},
|
|
12759
13046
|
mounted: function mounted() {},
|
|
@@ -12801,8 +13088,8 @@ var stylevue_type_style_index_0_prod_lang_css_ = __webpack_require__(11);
|
|
|
12801
13088
|
|
|
12802
13089
|
var toolbar_component = normalizeComponent(
|
|
12803
13090
|
src_toolbarvue_type_script_lang_js_,
|
|
12804
|
-
|
|
12805
|
-
|
|
13091
|
+
toolbarvue_type_template_id_2bbb7390_render,
|
|
13092
|
+
toolbarvue_type_template_id_2bbb7390_staticRenderFns,
|
|
12806
13093
|
false,
|
|
12807
13094
|
null,
|
|
12808
13095
|
null,
|
|
@@ -56279,8 +56566,8 @@ select_ganged_src_main.install = function (Vue) {
|
|
|
56279
56566
|
};
|
|
56280
56567
|
|
|
56281
56568
|
/* harmony default export */ var select_ganged = (select_ganged_src_main);
|
|
56282
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=
|
|
56283
|
-
var
|
|
56569
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=88396248&
|
|
56570
|
+
var mainvue_type_template_id_88396248_render = function () {
|
|
56284
56571
|
var _vm = this
|
|
56285
56572
|
var _h = _vm.$createElement
|
|
56286
56573
|
var _c = _vm._self._c || _h
|
|
@@ -56749,11 +57036,11 @@ var mainvue_type_template_id_d2169714_render = function () {
|
|
|
56749
57036
|
1
|
|
56750
57037
|
)
|
|
56751
57038
|
}
|
|
56752
|
-
var
|
|
56753
|
-
|
|
57039
|
+
var mainvue_type_template_id_88396248_staticRenderFns = []
|
|
57040
|
+
mainvue_type_template_id_88396248_render._withStripped = true
|
|
56754
57041
|
|
|
56755
57042
|
|
|
56756
|
-
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=
|
|
57043
|
+
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=88396248&
|
|
56757
57044
|
|
|
56758
57045
|
// EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
|
|
56759
57046
|
var clickoutside_ = __webpack_require__(17);
|
|
@@ -57155,9 +57442,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
57155
57442
|
selected: {
|
|
57156
57443
|
deep: true,
|
|
57157
57444
|
handler: function handler(val) {
|
|
57158
|
-
|
|
57159
|
-
this.$emit('change', val);
|
|
57160
|
-
}
|
|
57445
|
+
this.$emit('change', Array.isArray(val) ? val : [val]);
|
|
57161
57446
|
if (this.multiple) {
|
|
57162
57447
|
this.resetInputHeight();
|
|
57163
57448
|
}
|
|
@@ -57354,8 +57639,8 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
57354
57639
|
|
|
57355
57640
|
var selector_src_main_component = normalizeComponent(
|
|
57356
57641
|
packages_selector_src_mainvue_type_script_lang_js_,
|
|
57357
|
-
|
|
57358
|
-
|
|
57642
|
+
mainvue_type_template_id_88396248_render,
|
|
57643
|
+
mainvue_type_template_id_88396248_staticRenderFns,
|
|
57359
57644
|
false,
|
|
57360
57645
|
null,
|
|
57361
57646
|
null,
|
|
@@ -57372,8 +57657,8 @@ selector_src_main.install = function (Vue) {
|
|
|
57372
57657
|
};
|
|
57373
57658
|
|
|
57374
57659
|
/* harmony default export */ var selector = (selector_src_main);
|
|
57375
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
57376
|
-
var
|
|
57660
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=3b8fb8f5&
|
|
57661
|
+
var mainvue_type_template_id_3b8fb8f5_render = function () {
|
|
57377
57662
|
var _vm = this
|
|
57378
57663
|
var _h = _vm.$createElement
|
|
57379
57664
|
var _c = _vm._self._c || _h
|
|
@@ -57609,11 +57894,11 @@ var mainvue_type_template_id_7968c9c6_render = function () {
|
|
|
57609
57894
|
1
|
|
57610
57895
|
)
|
|
57611
57896
|
}
|
|
57612
|
-
var
|
|
57613
|
-
|
|
57897
|
+
var mainvue_type_template_id_3b8fb8f5_staticRenderFns = []
|
|
57898
|
+
mainvue_type_template_id_3b8fb8f5_render._withStripped = true
|
|
57614
57899
|
|
|
57615
57900
|
|
|
57616
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
57901
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=3b8fb8f5&
|
|
57617
57902
|
|
|
57618
57903
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
|
|
57619
57904
|
var treevue_type_template_id_24ad732a_render = function () {
|
|
@@ -57908,8 +58193,8 @@ var tree_component = normalizeComponent(
|
|
|
57908
58193
|
)
|
|
57909
58194
|
|
|
57910
58195
|
/* harmony default export */ var tree = (tree_component.exports);
|
|
57911
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
57912
|
-
var
|
|
58196
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=template&id=66e09547&
|
|
58197
|
+
var selectionvue_type_template_id_66e09547_render = function () {
|
|
57913
58198
|
var _vm = this
|
|
57914
58199
|
var _h = _vm.$createElement
|
|
57915
58200
|
var _c = _vm._self._c || _h
|
|
@@ -57950,16 +58235,12 @@ var selectionvue_type_template_id_763cb60b_render = function () {
|
|
|
57950
58235
|
key: index,
|
|
57951
58236
|
class: { "es-radio-delete": _vm.genre === "delete" },
|
|
57952
58237
|
attrs: {
|
|
57953
|
-
ssss:
|
|
57954
|
-
typeof item == "string" ? item : item[_vm.valueKey],
|
|
57955
58238
|
label:
|
|
57956
58239
|
_vm.isObject || typeof item == "string"
|
|
57957
58240
|
? item
|
|
57958
|
-
: item[_vm.
|
|
58241
|
+
: item[_vm.valKey],
|
|
57959
58242
|
disabled:
|
|
57960
|
-
|
|
57961
|
-
? false
|
|
57962
|
-
: item.disabled,
|
|
58243
|
+
typeof item == "string" ? false : item.disabled,
|
|
57963
58244
|
"value-key": _vm.valueKey,
|
|
57964
58245
|
},
|
|
57965
58246
|
},
|
|
@@ -58011,7 +58292,7 @@ var selectionvue_type_template_id_763cb60b_render = function () {
|
|
|
58011
58292
|
label:
|
|
58012
58293
|
_vm.isObject || typeof item == "string"
|
|
58013
58294
|
? item
|
|
58014
|
-
: item[_vm.
|
|
58295
|
+
: item[_vm.valKey],
|
|
58015
58296
|
disabled:
|
|
58016
58297
|
typeof item == "string" ? false : item.disabled,
|
|
58017
58298
|
"value-key": _vm.valueKey,
|
|
@@ -58052,11 +58333,11 @@ var selectionvue_type_template_id_763cb60b_render = function () {
|
|
|
58052
58333
|
1
|
|
58053
58334
|
)
|
|
58054
58335
|
}
|
|
58055
|
-
var
|
|
58056
|
-
|
|
58336
|
+
var selectionvue_type_template_id_66e09547_staticRenderFns = []
|
|
58337
|
+
selectionvue_type_template_id_66e09547_render._withStripped = true
|
|
58057
58338
|
|
|
58058
58339
|
|
|
58059
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=
|
|
58340
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=66e09547&
|
|
58060
58341
|
|
|
58061
58342
|
// EXTERNAL MODULE: external "sortablejs"
|
|
58062
58343
|
var external_sortablejs_ = __webpack_require__(18);
|
|
@@ -58112,9 +58393,6 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58112
58393
|
//
|
|
58113
58394
|
//
|
|
58114
58395
|
//
|
|
58115
|
-
//
|
|
58116
|
-
//
|
|
58117
|
-
//
|
|
58118
58396
|
|
|
58119
58397
|
|
|
58120
58398
|
|
|
@@ -58170,13 +58448,7 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58170
58448
|
|
|
58171
58449
|
selectes: {
|
|
58172
58450
|
get: function get() {
|
|
58173
|
-
if (this.multiple) {
|
|
58174
|
-
if (!Array.isArray(this.value)) {
|
|
58175
|
-
return [this.value];
|
|
58176
|
-
}
|
|
58177
|
-
return this.value;
|
|
58178
|
-
}
|
|
58179
|
-
if (Array.isArray(this.value)) {
|
|
58451
|
+
if (!this.multiple && this.value && this.value.length) {
|
|
58180
58452
|
return this.value[0];
|
|
58181
58453
|
}
|
|
58182
58454
|
return this.value;
|
|
@@ -58226,8 +58498,8 @@ var selectionvue_type_script_lang_js_extends = Object.assign || function (target
|
|
|
58226
58498
|
|
|
58227
58499
|
var selection_component = normalizeComponent(
|
|
58228
58500
|
src_selectionvue_type_script_lang_js_,
|
|
58229
|
-
|
|
58230
|
-
|
|
58501
|
+
selectionvue_type_template_id_66e09547_render,
|
|
58502
|
+
selectionvue_type_template_id_66e09547_staticRenderFns,
|
|
58231
58503
|
false,
|
|
58232
58504
|
null,
|
|
58233
58505
|
null,
|
|
@@ -58803,7 +59075,12 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
58803
59075
|
});
|
|
58804
59076
|
this.checkAll = flag;
|
|
58805
59077
|
},
|
|
58806
|
-
checkeds: function checkeds(
|
|
59078
|
+
checkeds: function checkeds(res, old) {
|
|
59079
|
+
var val = res;
|
|
59080
|
+
// if (!Array.isArray(val)) {
|
|
59081
|
+
// this.checkeds = [res];
|
|
59082
|
+
// return;
|
|
59083
|
+
// }
|
|
58807
59084
|
if (old.length > 0) {
|
|
58808
59085
|
if (val.length < old.length) {
|
|
58809
59086
|
this.checkAll = false;
|
|
@@ -59166,8 +59443,8 @@ var selector_panel_src_mainvue_type_script_lang_js_typeof = typeof Symbol === "f
|
|
|
59166
59443
|
|
|
59167
59444
|
var selector_panel_src_main_component = normalizeComponent(
|
|
59168
59445
|
packages_selector_panel_src_mainvue_type_script_lang_js_,
|
|
59169
|
-
|
|
59170
|
-
|
|
59446
|
+
mainvue_type_template_id_3b8fb8f5_render,
|
|
59447
|
+
mainvue_type_template_id_3b8fb8f5_staticRenderFns,
|
|
59171
59448
|
false,
|
|
59172
59449
|
null,
|
|
59173
59450
|
null,
|
|
@@ -68531,8 +68808,8 @@ form_src_table.install = function (Vue) {
|
|
|
68531
68808
|
};
|
|
68532
68809
|
|
|
68533
68810
|
/* harmony default export */ var table_form = (form_src_table);
|
|
68534
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=
|
|
68535
|
-
var
|
|
68811
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/upload/src/main.vue?vue&type=template&id=e88da89e&
|
|
68812
|
+
var mainvue_type_template_id_e88da89e_render = function () {
|
|
68536
68813
|
var _vm = this
|
|
68537
68814
|
var _h = _vm.$createElement
|
|
68538
68815
|
var _c = _vm._self._c || _h
|
|
@@ -68667,44 +68944,54 @@ var mainvue_type_template_id_7fa5744f_render = function () {
|
|
|
68667
68944
|
}),
|
|
68668
68945
|
]
|
|
68669
68946
|
: [
|
|
68670
|
-
_vm.
|
|
68671
|
-
?
|
|
68672
|
-
|
|
68673
|
-
|
|
68674
|
-
|
|
68675
|
-
|
|
68676
|
-
|
|
68677
|
-
|
|
68678
|
-
|
|
68679
|
-
|
|
68680
|
-
|
|
68681
|
-
|
|
68682
|
-
|
|
68683
|
-
|
|
68684
|
-
|
|
68685
|
-
|
|
68686
|
-
|
|
68687
|
-
|
|
68688
|
-
|
|
68947
|
+
!_vm.isDisabled
|
|
68948
|
+
? [
|
|
68949
|
+
_vm.selectType === "icon-plus"
|
|
68950
|
+
? _c("i", {
|
|
68951
|
+
staticClass: "el-icon-plus es-uploader-icon",
|
|
68952
|
+
})
|
|
68953
|
+
: _c(
|
|
68954
|
+
"el-button",
|
|
68955
|
+
{
|
|
68956
|
+
staticClass: "es-upload-button",
|
|
68957
|
+
class: _vm.icon,
|
|
68958
|
+
attrs: {
|
|
68959
|
+
type: _vm.selectType,
|
|
68960
|
+
size: _vm.btnSize,
|
|
68961
|
+
},
|
|
68962
|
+
},
|
|
68963
|
+
[
|
|
68964
|
+
_vm._v(
|
|
68965
|
+
_vm._s(
|
|
68966
|
+
_vm.text
|
|
68967
|
+
? _vm.text
|
|
68968
|
+
: _vm.autoUpload
|
|
68969
|
+
? "点击上传"
|
|
68970
|
+
: "选择文件"
|
|
68971
|
+
)
|
|
68972
|
+
),
|
|
68973
|
+
]
|
|
68974
|
+
),
|
|
68975
|
+
!_vm.autoUpload
|
|
68976
|
+
? _c(
|
|
68977
|
+
"el-button",
|
|
68978
|
+
{
|
|
68979
|
+
staticClass: "es-upload-button",
|
|
68980
|
+
attrs: {
|
|
68981
|
+
type: _vm.uploadType,
|
|
68982
|
+
size: _vm.btnSize,
|
|
68983
|
+
},
|
|
68984
|
+
on: {
|
|
68985
|
+
click: function ($event) {
|
|
68986
|
+
$event.stopPropagation()
|
|
68987
|
+
return _vm.handleUpload($event)
|
|
68988
|
+
},
|
|
68989
|
+
},
|
|
68990
|
+
},
|
|
68991
|
+
[_vm._v("\n 上传文件\n ")]
|
|
68689
68992
|
)
|
|
68690
|
-
),
|
|
68691
|
-
|
|
68692
|
-
),
|
|
68693
|
-
!_vm.autoUpload
|
|
68694
|
-
? _c(
|
|
68695
|
-
"el-button",
|
|
68696
|
-
{
|
|
68697
|
-
staticClass: "es-upload-button",
|
|
68698
|
-
attrs: { type: _vm.uploadType, size: _vm.btnSize },
|
|
68699
|
-
on: {
|
|
68700
|
-
click: function ($event) {
|
|
68701
|
-
$event.stopPropagation()
|
|
68702
|
-
return _vm.handleUpload($event)
|
|
68703
|
-
},
|
|
68704
|
-
},
|
|
68705
|
-
},
|
|
68706
|
-
[_vm._v("\n 上传文件\n ")]
|
|
68707
|
-
)
|
|
68993
|
+
: _vm._e(),
|
|
68994
|
+
]
|
|
68708
68995
|
: _vm._e(),
|
|
68709
68996
|
_vm.showFileList && _vm.isDownloads
|
|
68710
68997
|
? _c(
|
|
@@ -68865,11 +69152,11 @@ var mainvue_type_template_id_7fa5744f_render = function () {
|
|
|
68865
69152
|
2
|
|
68866
69153
|
)
|
|
68867
69154
|
}
|
|
68868
|
-
var
|
|
68869
|
-
|
|
69155
|
+
var mainvue_type_template_id_e88da89e_staticRenderFns = []
|
|
69156
|
+
mainvue_type_template_id_e88da89e_render._withStripped = true
|
|
68870
69157
|
|
|
68871
69158
|
|
|
68872
|
-
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=
|
|
69159
|
+
// CONCATENATED MODULE: ./packages/upload/src/main.vue?vue&type=template&id=e88da89e&
|
|
68873
69160
|
|
|
68874
69161
|
// CONCATENATED MODULE: ./packages/upload/src/picture.js
|
|
68875
69162
|
/* harmony default export */ var picture = ({
|
|
@@ -69054,6 +69341,10 @@ var mainvue_type_script_lang_js_props;
|
|
|
69054
69341
|
//
|
|
69055
69342
|
//
|
|
69056
69343
|
//
|
|
69344
|
+
//
|
|
69345
|
+
//
|
|
69346
|
+
//
|
|
69347
|
+
//
|
|
69057
69348
|
|
|
69058
69349
|
|
|
69059
69350
|
|
|
@@ -69818,7 +70109,7 @@ var mainvue_type_script_lang_js_props;
|
|
|
69818
70109
|
this.$message.success(response.msg);
|
|
69819
70110
|
}
|
|
69820
70111
|
}
|
|
69821
|
-
var se = this.filesTotalSize + Math.ceil(file.size / 1024 * 100) / 100;
|
|
70112
|
+
var se = this.filesTotalSize + (this.resultFile ? Math.ceil(file.size / 1024 * 100) / 100 : 0);
|
|
69822
70113
|
this.filesTotalSize = se;
|
|
69823
70114
|
this.onSuccess && this.onSuccess(response, file, fileList);
|
|
69824
70115
|
this.$emit('success', response, file, fileList);
|
|
@@ -69874,8 +70165,8 @@ var mainvue_type_script_lang_js_props;
|
|
|
69874
70165
|
|
|
69875
70166
|
var upload_src_main_component = normalizeComponent(
|
|
69876
70167
|
packages_upload_src_mainvue_type_script_lang_js_,
|
|
69877
|
-
|
|
69878
|
-
|
|
70168
|
+
mainvue_type_template_id_e88da89e_render,
|
|
70169
|
+
mainvue_type_template_id_e88da89e_staticRenderFns,
|
|
69879
70170
|
false,
|
|
69880
70171
|
null,
|
|
69881
70172
|
null,
|
|
@@ -70354,7 +70645,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
70354
70645
|
}
|
|
70355
70646
|
|
|
70356
70647
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
70357
|
-
version: '0.4.
|
|
70648
|
+
version: '0.4.40',
|
|
70358
70649
|
install: install,
|
|
70359
70650
|
Button: packages_button,
|
|
70360
70651
|
ButtonGroup: button_group,
|