@web-utils/component 2.8.19 → 2.8.20
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/flow-designer/index.mjs +314 -296
- package/package.json +1 -1
- package/web-types.json +4 -1
package/flow-designer/index.mjs
CHANGED
|
@@ -5204,9 +5204,14 @@ var zn = function() {
|
|
|
5204
5204
|
element: e.element,
|
|
5205
5205
|
"bpmn-instances": e.bpmnInstances
|
|
5206
5206
|
}
|
|
5207
|
-
})], 1)
|
|
5207
|
+
})], 1), e._t("extend", null, {
|
|
5208
|
+
id: e.elementId,
|
|
5209
|
+
bpmnInstances: e.bpmnInstances,
|
|
5210
|
+
element: e.element,
|
|
5211
|
+
type: e.elementType
|
|
5212
|
+
})], 2)], 1);
|
|
5208
5213
|
}, Un = [];
|
|
5209
|
-
const be = "
|
|
5214
|
+
const be = "base", Nn = {
|
|
5210
5215
|
name: "PropertiesPanel",
|
|
5211
5216
|
components: {
|
|
5212
5217
|
UserTaskListeners: Rn,
|
|
@@ -9338,317 +9343,319 @@ var Ai = function() {
|
|
|
9338
9343
|
staticClass: "my-process-designer"
|
|
9339
9344
|
}, [t("div", {
|
|
9340
9345
|
staticClass: "my-process-designer__header"
|
|
9341
|
-
}, [e._t("control-header"
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
}, [t("ElButton", {
|
|
9349
|
-
attrs: {
|
|
9350
|
-
size: e.headerButtonSize,
|
|
9351
|
-
type: e.headerButtonType,
|
|
9352
|
-
icon: "el-icon-folder-opened"
|
|
9353
|
-
},
|
|
9354
|
-
on: {
|
|
9355
|
-
click: function(n) {
|
|
9356
|
-
return e.$refs.refFile.click();
|
|
9346
|
+
}, [e._t("control-header", function() {
|
|
9347
|
+
return [t("ElButtonGroup", {
|
|
9348
|
+
key: "file-control"
|
|
9349
|
+
}, [e._t("toolbar-buttons"), e.simulation ? t("ElTooltip", {
|
|
9350
|
+
attrs: {
|
|
9351
|
+
effect: "light",
|
|
9352
|
+
content: "导入流程"
|
|
9357
9353
|
}
|
|
9358
|
-
}
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
|
|
9373
|
-
|
|
9354
|
+
}, [t("ElButton", {
|
|
9355
|
+
attrs: {
|
|
9356
|
+
size: e.headerButtonSize,
|
|
9357
|
+
type: e.headerButtonType,
|
|
9358
|
+
icon: "el-icon-folder-opened"
|
|
9359
|
+
},
|
|
9360
|
+
on: {
|
|
9361
|
+
click: function(n) {
|
|
9362
|
+
return e.$refs.refFile.click();
|
|
9363
|
+
}
|
|
9364
|
+
}
|
|
9365
|
+
}, [e._v(" 导入 ")])], 1) : e._e(), t("ElTooltip", {
|
|
9366
|
+
attrs: {
|
|
9367
|
+
effect: "light"
|
|
9368
|
+
},
|
|
9369
|
+
scopedSlots: e._u([{
|
|
9370
|
+
key: "content",
|
|
9371
|
+
fn: function() {
|
|
9372
|
+
return [t("ElButton", {
|
|
9373
|
+
attrs: {
|
|
9374
|
+
size: e.headerButtonSize,
|
|
9375
|
+
type: "text"
|
|
9376
|
+
},
|
|
9377
|
+
on: {
|
|
9378
|
+
click: function(n) {
|
|
9379
|
+
return e.downloadProcessAsXml();
|
|
9380
|
+
}
|
|
9374
9381
|
}
|
|
9375
|
-
}
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9382
|
+
}, [e._v("下载为XML文件")]), t("br"), t("ElButton", {
|
|
9383
|
+
attrs: {
|
|
9384
|
+
size: e.headerButtonSize,
|
|
9385
|
+
type: "text"
|
|
9386
|
+
},
|
|
9387
|
+
on: {
|
|
9388
|
+
click: function(n) {
|
|
9389
|
+
return e.downloadProcessAsSvg();
|
|
9390
|
+
}
|
|
9384
9391
|
}
|
|
9385
|
-
}
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9392
|
+
}, [e._v("下载为SVG文件")]), t("br"), t("ElButton", {
|
|
9393
|
+
attrs: {
|
|
9394
|
+
size: e.headerButtonSize,
|
|
9395
|
+
type: "text"
|
|
9396
|
+
},
|
|
9397
|
+
on: {
|
|
9398
|
+
click: function(n) {
|
|
9399
|
+
return e.downloadProcessAsBpmn();
|
|
9400
|
+
}
|
|
9394
9401
|
}
|
|
9395
|
-
}
|
|
9396
|
-
},
|
|
9402
|
+
}, [e._v("下载为BPMN文件")])];
|
|
9403
|
+
},
|
|
9404
|
+
proxy: !0
|
|
9405
|
+
}])
|
|
9406
|
+
}, [t("ElButton", {
|
|
9407
|
+
attrs: {
|
|
9408
|
+
size: e.headerButtonSize,
|
|
9409
|
+
type: e.headerButtonType,
|
|
9410
|
+
icon: "el-icon-download"
|
|
9411
|
+
}
|
|
9412
|
+
}, [e._v("下载")])], 1), t("ElTooltip", {
|
|
9413
|
+
attrs: {
|
|
9414
|
+
effect: "light"
|
|
9397
9415
|
},
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
},
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
|
|
9425
|
-
|
|
9426
|
-
|
|
9427
|
-
|
|
9428
|
-
|
|
9429
|
-
|
|
9416
|
+
scopedSlots: e._u([{
|
|
9417
|
+
key: "content",
|
|
9418
|
+
fn: function() {
|
|
9419
|
+
return [t("ElButton", {
|
|
9420
|
+
attrs: {
|
|
9421
|
+
size: e.headerButtonSize,
|
|
9422
|
+
type: "text"
|
|
9423
|
+
},
|
|
9424
|
+
on: {
|
|
9425
|
+
click: e.previewProcessXML
|
|
9426
|
+
}
|
|
9427
|
+
}, [e._v("预览XML")]), t("br"), t("ElButton", {
|
|
9428
|
+
attrs: {
|
|
9429
|
+
size: e.headerButtonSize,
|
|
9430
|
+
type: "text"
|
|
9431
|
+
},
|
|
9432
|
+
on: {
|
|
9433
|
+
click: e.previewProcessJson
|
|
9434
|
+
}
|
|
9435
|
+
}, [e._v("预览JSON")])];
|
|
9436
|
+
},
|
|
9437
|
+
proxy: !0
|
|
9438
|
+
}])
|
|
9439
|
+
}, [t("ElButton", {
|
|
9440
|
+
attrs: {
|
|
9441
|
+
size: e.headerButtonSize,
|
|
9442
|
+
type: e.headerButtonType,
|
|
9443
|
+
icon: "el-icon-view"
|
|
9444
|
+
}
|
|
9445
|
+
}, [e._v("预览")])], 1), e.simulation ? t("ElTooltip", {
|
|
9446
|
+
attrs: {
|
|
9447
|
+
effect: "light",
|
|
9448
|
+
content: e.simulationStatus ? "退出模拟" : "开启模拟"
|
|
9449
|
+
}
|
|
9450
|
+
}, [t("ElButton", {
|
|
9451
|
+
attrs: {
|
|
9452
|
+
size: e.headerButtonSize,
|
|
9453
|
+
type: e.headerButtonType,
|
|
9454
|
+
icon: "el-icon-cpu"
|
|
9430
9455
|
},
|
|
9431
|
-
|
|
9432
|
-
|
|
9433
|
-
}, [t("ElButton", {
|
|
9434
|
-
attrs: {
|
|
9435
|
-
size: e.headerButtonSize,
|
|
9436
|
-
type: e.headerButtonType,
|
|
9437
|
-
icon: "el-icon-view"
|
|
9438
|
-
}
|
|
9439
|
-
}, [e._v("预览")])], 1), e.simulation ? t("ElTooltip", {
|
|
9440
|
-
attrs: {
|
|
9441
|
-
effect: "light",
|
|
9442
|
-
content: e.simulationStatus ? "退出模拟" : "开启模拟"
|
|
9443
|
-
}
|
|
9444
|
-
}, [t("ElButton", {
|
|
9445
|
-
attrs: {
|
|
9446
|
-
size: e.headerButtonSize,
|
|
9447
|
-
type: e.headerButtonType,
|
|
9448
|
-
icon: "el-icon-cpu"
|
|
9449
|
-
},
|
|
9450
|
-
on: {
|
|
9451
|
-
click: e.processSimulation
|
|
9452
|
-
}
|
|
9453
|
-
}, [e._v(" 模拟 ")])], 1) : e._e()], 2), t("ElButtonGroup", {
|
|
9454
|
-
key: "align-control"
|
|
9455
|
-
}, [t("ElTooltip", {
|
|
9456
|
-
attrs: {
|
|
9457
|
-
effect: "light",
|
|
9458
|
-
content: "向左对齐"
|
|
9459
|
-
}
|
|
9460
|
-
}, [t("ElButton", {
|
|
9461
|
-
staticClass: "align align-left",
|
|
9462
|
-
attrs: {
|
|
9463
|
-
size: e.headerButtonSize,
|
|
9464
|
-
icon: "el-icon-s-data"
|
|
9465
|
-
},
|
|
9466
|
-
on: {
|
|
9467
|
-
click: function(n) {
|
|
9468
|
-
return e.elementsAlign("left");
|
|
9456
|
+
on: {
|
|
9457
|
+
click: e.processSimulation
|
|
9469
9458
|
}
|
|
9470
|
-
}
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
}, [t("ElButton", {
|
|
9477
|
-
staticClass: "align align-right",
|
|
9478
|
-
attrs: {
|
|
9479
|
-
size: e.headerButtonSize,
|
|
9480
|
-
icon: "el-icon-s-data"
|
|
9481
|
-
},
|
|
9482
|
-
on: {
|
|
9483
|
-
click: function(n) {
|
|
9484
|
-
return e.elementsAlign("right");
|
|
9459
|
+
}, [e._v(" 模拟 ")])], 1) : e._e()], 2), t("ElButtonGroup", {
|
|
9460
|
+
key: "align-control"
|
|
9461
|
+
}, [t("ElTooltip", {
|
|
9462
|
+
attrs: {
|
|
9463
|
+
effect: "light",
|
|
9464
|
+
content: "向左对齐"
|
|
9485
9465
|
}
|
|
9486
|
-
}
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
icon: "el-icon-s-data"
|
|
9497
|
-
},
|
|
9498
|
-
on: {
|
|
9499
|
-
click: function(n) {
|
|
9500
|
-
return e.elementsAlign("top");
|
|
9466
|
+
}, [t("ElButton", {
|
|
9467
|
+
staticClass: "align align-left",
|
|
9468
|
+
attrs: {
|
|
9469
|
+
size: e.headerButtonSize,
|
|
9470
|
+
icon: "el-icon-s-data"
|
|
9471
|
+
},
|
|
9472
|
+
on: {
|
|
9473
|
+
click: function(n) {
|
|
9474
|
+
return e.elementsAlign("left");
|
|
9475
|
+
}
|
|
9501
9476
|
}
|
|
9502
|
-
}
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
content: "向下对齐"
|
|
9507
|
-
}
|
|
9508
|
-
}, [t("ElButton", {
|
|
9509
|
-
staticClass: "align align-bottom",
|
|
9510
|
-
attrs: {
|
|
9511
|
-
size: e.headerButtonSize,
|
|
9512
|
-
icon: "el-icon-s-data"
|
|
9513
|
-
},
|
|
9514
|
-
on: {
|
|
9515
|
-
click: function(n) {
|
|
9516
|
-
return e.elementsAlign("bottom");
|
|
9477
|
+
})], 1), t("ElTooltip", {
|
|
9478
|
+
attrs: {
|
|
9479
|
+
effect: "light",
|
|
9480
|
+
content: "向右对齐"
|
|
9517
9481
|
}
|
|
9518
|
-
}
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
icon: "el-icon-s-data"
|
|
9529
|
-
},
|
|
9530
|
-
on: {
|
|
9531
|
-
click: function(n) {
|
|
9532
|
-
return e.elementsAlign("center");
|
|
9482
|
+
}, [t("ElButton", {
|
|
9483
|
+
staticClass: "align align-right",
|
|
9484
|
+
attrs: {
|
|
9485
|
+
size: e.headerButtonSize,
|
|
9486
|
+
icon: "el-icon-s-data"
|
|
9487
|
+
},
|
|
9488
|
+
on: {
|
|
9489
|
+
click: function(n) {
|
|
9490
|
+
return e.elementsAlign("right");
|
|
9491
|
+
}
|
|
9533
9492
|
}
|
|
9534
|
-
}
|
|
9535
|
-
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
content: "垂直居中"
|
|
9539
|
-
}
|
|
9540
|
-
}, [t("ElButton", {
|
|
9541
|
-
staticClass: "align align-middle",
|
|
9542
|
-
attrs: {
|
|
9543
|
-
size: e.headerButtonSize,
|
|
9544
|
-
icon: "el-icon-s-data"
|
|
9545
|
-
},
|
|
9546
|
-
on: {
|
|
9547
|
-
click: function(n) {
|
|
9548
|
-
return e.elementsAlign("middle");
|
|
9493
|
+
})], 1), t("ElTooltip", {
|
|
9494
|
+
attrs: {
|
|
9495
|
+
effect: "light",
|
|
9496
|
+
content: "向上对齐"
|
|
9549
9497
|
}
|
|
9550
|
-
}
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
size: e.headerButtonSize,
|
|
9561
|
-
disabled: e.defaultZoom < 0.2,
|
|
9562
|
-
icon: "el-icon-zoom-out"
|
|
9563
|
-
},
|
|
9564
|
-
on: {
|
|
9565
|
-
click: function(n) {
|
|
9566
|
-
return e.processZoomOut();
|
|
9498
|
+
}, [t("ElButton", {
|
|
9499
|
+
staticClass: "align align-top",
|
|
9500
|
+
attrs: {
|
|
9501
|
+
size: e.headerButtonSize,
|
|
9502
|
+
icon: "el-icon-s-data"
|
|
9503
|
+
},
|
|
9504
|
+
on: {
|
|
9505
|
+
click: function(n) {
|
|
9506
|
+
return e.elementsAlign("top");
|
|
9507
|
+
}
|
|
9567
9508
|
}
|
|
9568
|
-
}
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
}
|
|
9573
|
-
}, [e._v(e._s(`${Math.floor(e.defaultZoom * 10 * 10)}%`))]), t("ElTooltip", {
|
|
9574
|
-
attrs: {
|
|
9575
|
-
effect: "light",
|
|
9576
|
-
content: "放大视图"
|
|
9577
|
-
}
|
|
9578
|
-
}, [t("ElButton", {
|
|
9579
|
-
attrs: {
|
|
9580
|
-
size: e.headerButtonSize,
|
|
9581
|
-
disabled: e.defaultZoom > 4,
|
|
9582
|
-
icon: "el-icon-zoom-in"
|
|
9583
|
-
},
|
|
9584
|
-
on: {
|
|
9585
|
-
click: function(n) {
|
|
9586
|
-
return e.processZoomIn();
|
|
9509
|
+
})], 1), t("ElTooltip", {
|
|
9510
|
+
attrs: {
|
|
9511
|
+
effect: "light",
|
|
9512
|
+
content: "向下对齐"
|
|
9587
9513
|
}
|
|
9588
|
-
}
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
},
|
|
9599
|
-
on: {
|
|
9600
|
-
click: function(n) {
|
|
9601
|
-
return e.processReZoom();
|
|
9514
|
+
}, [t("ElButton", {
|
|
9515
|
+
staticClass: "align align-bottom",
|
|
9516
|
+
attrs: {
|
|
9517
|
+
size: e.headerButtonSize,
|
|
9518
|
+
icon: "el-icon-s-data"
|
|
9519
|
+
},
|
|
9520
|
+
on: {
|
|
9521
|
+
click: function(n) {
|
|
9522
|
+
return e.elementsAlign("bottom");
|
|
9523
|
+
}
|
|
9602
9524
|
}
|
|
9603
|
-
}
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
attrs: {
|
|
9608
|
-
effect: "light",
|
|
9609
|
-
content: "撤销"
|
|
9610
|
-
}
|
|
9611
|
-
}, [t("ElButton", {
|
|
9612
|
-
attrs: {
|
|
9613
|
-
size: e.headerButtonSize,
|
|
9614
|
-
disabled: !e.revocable,
|
|
9615
|
-
icon: "el-icon-refresh-left"
|
|
9616
|
-
},
|
|
9617
|
-
on: {
|
|
9618
|
-
click: function(n) {
|
|
9619
|
-
return e.processUndo();
|
|
9525
|
+
})], 1), t("ElTooltip", {
|
|
9526
|
+
attrs: {
|
|
9527
|
+
effect: "light",
|
|
9528
|
+
content: "水平居中"
|
|
9620
9529
|
}
|
|
9621
|
-
}
|
|
9622
|
-
|
|
9623
|
-
|
|
9624
|
-
|
|
9625
|
-
|
|
9626
|
-
|
|
9627
|
-
|
|
9628
|
-
|
|
9629
|
-
|
|
9630
|
-
|
|
9631
|
-
icon: "el-icon-refresh-right"
|
|
9632
|
-
},
|
|
9633
|
-
on: {
|
|
9634
|
-
click: function(n) {
|
|
9635
|
-
return e.processRedo();
|
|
9530
|
+
}, [t("ElButton", {
|
|
9531
|
+
staticClass: "align align-center",
|
|
9532
|
+
attrs: {
|
|
9533
|
+
size: e.headerButtonSize,
|
|
9534
|
+
icon: "el-icon-s-data"
|
|
9535
|
+
},
|
|
9536
|
+
on: {
|
|
9537
|
+
click: function(n) {
|
|
9538
|
+
return e.elementsAlign("center");
|
|
9539
|
+
}
|
|
9636
9540
|
}
|
|
9637
|
-
}
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
}
|
|
9643
|
-
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
|
|
9647
|
-
|
|
9648
|
-
|
|
9649
|
-
|
|
9650
|
-
|
|
9651
|
-
|
|
9541
|
+
})], 1), t("ElTooltip", {
|
|
9542
|
+
attrs: {
|
|
9543
|
+
effect: "light",
|
|
9544
|
+
content: "垂直居中"
|
|
9545
|
+
}
|
|
9546
|
+
}, [t("ElButton", {
|
|
9547
|
+
staticClass: "align align-middle",
|
|
9548
|
+
attrs: {
|
|
9549
|
+
size: e.headerButtonSize,
|
|
9550
|
+
icon: "el-icon-s-data"
|
|
9551
|
+
},
|
|
9552
|
+
on: {
|
|
9553
|
+
click: function(n) {
|
|
9554
|
+
return e.elementsAlign("middle");
|
|
9555
|
+
}
|
|
9556
|
+
}
|
|
9557
|
+
})], 1)], 1), t("ElButtonGroup", {
|
|
9558
|
+
key: "scale-control"
|
|
9559
|
+
}, [t("ElTooltip", {
|
|
9560
|
+
attrs: {
|
|
9561
|
+
effect: "light",
|
|
9562
|
+
content: "缩小视图"
|
|
9563
|
+
}
|
|
9564
|
+
}, [t("ElButton", {
|
|
9565
|
+
attrs: {
|
|
9566
|
+
size: e.headerButtonSize,
|
|
9567
|
+
disabled: e.defaultZoom < 0.2,
|
|
9568
|
+
icon: "el-icon-zoom-out"
|
|
9569
|
+
},
|
|
9570
|
+
on: {
|
|
9571
|
+
click: function(n) {
|
|
9572
|
+
return e.processZoomOut();
|
|
9573
|
+
}
|
|
9574
|
+
}
|
|
9575
|
+
})], 1), t("ElButton", {
|
|
9576
|
+
attrs: {
|
|
9577
|
+
size: e.headerButtonSize
|
|
9578
|
+
}
|
|
9579
|
+
}, [e._v(e._s(`${Math.floor(e.defaultZoom * 10 * 10)}%`))]), t("ElTooltip", {
|
|
9580
|
+
attrs: {
|
|
9581
|
+
effect: "light",
|
|
9582
|
+
content: "放大视图"
|
|
9583
|
+
}
|
|
9584
|
+
}, [t("ElButton", {
|
|
9585
|
+
attrs: {
|
|
9586
|
+
size: e.headerButtonSize,
|
|
9587
|
+
disabled: e.defaultZoom > 4,
|
|
9588
|
+
icon: "el-icon-zoom-in"
|
|
9589
|
+
},
|
|
9590
|
+
on: {
|
|
9591
|
+
click: function(n) {
|
|
9592
|
+
return e.processZoomIn();
|
|
9593
|
+
}
|
|
9594
|
+
}
|
|
9595
|
+
})], 1), t("ElTooltip", {
|
|
9596
|
+
attrs: {
|
|
9597
|
+
effect: "light",
|
|
9598
|
+
content: "重置视图并居中"
|
|
9599
|
+
}
|
|
9600
|
+
}, [t("ElButton", {
|
|
9601
|
+
attrs: {
|
|
9602
|
+
size: e.headerButtonSize,
|
|
9603
|
+
icon: "el-icon-c-scale-to-original"
|
|
9604
|
+
},
|
|
9605
|
+
on: {
|
|
9606
|
+
click: function(n) {
|
|
9607
|
+
return e.processReZoom();
|
|
9608
|
+
}
|
|
9609
|
+
}
|
|
9610
|
+
})], 1)], 1), t("ElButtonGroup", {
|
|
9611
|
+
key: "stack-control"
|
|
9612
|
+
}, [t("ElTooltip", {
|
|
9613
|
+
attrs: {
|
|
9614
|
+
effect: "light",
|
|
9615
|
+
content: "撤销"
|
|
9616
|
+
}
|
|
9617
|
+
}, [t("ElButton", {
|
|
9618
|
+
attrs: {
|
|
9619
|
+
size: e.headerButtonSize,
|
|
9620
|
+
disabled: !e.revocable,
|
|
9621
|
+
icon: "el-icon-refresh-left"
|
|
9622
|
+
},
|
|
9623
|
+
on: {
|
|
9624
|
+
click: function(n) {
|
|
9625
|
+
return e.processUndo();
|
|
9626
|
+
}
|
|
9627
|
+
}
|
|
9628
|
+
})], 1), t("ElTooltip", {
|
|
9629
|
+
attrs: {
|
|
9630
|
+
effect: "light",
|
|
9631
|
+
content: "恢复"
|
|
9632
|
+
}
|
|
9633
|
+
}, [t("ElButton", {
|
|
9634
|
+
attrs: {
|
|
9635
|
+
size: e.headerButtonSize,
|
|
9636
|
+
disabled: !e.recoverable,
|
|
9637
|
+
icon: "el-icon-refresh-right"
|
|
9638
|
+
},
|
|
9639
|
+
on: {
|
|
9640
|
+
click: function(n) {
|
|
9641
|
+
return e.processRedo();
|
|
9642
|
+
}
|
|
9643
|
+
}
|
|
9644
|
+
})], 1), t("ElTooltip", {
|
|
9645
|
+
attrs: {
|
|
9646
|
+
effect: "light",
|
|
9647
|
+
content: "重新绘制"
|
|
9648
|
+
}
|
|
9649
|
+
}, [t("ElButton", {
|
|
9650
|
+
attrs: {
|
|
9651
|
+
size: e.headerButtonSize,
|
|
9652
|
+
icon: "el-icon-refresh"
|
|
9653
|
+
},
|
|
9654
|
+
on: {
|
|
9655
|
+
click: e.processRestart
|
|
9656
|
+
}
|
|
9657
|
+
})], 1)], 1)];
|
|
9658
|
+
}), t("input", {
|
|
9652
9659
|
ref: "refFile",
|
|
9653
9660
|
staticStyle: {
|
|
9654
9661
|
display: "none"
|
|
@@ -10017,6 +10024,17 @@ var Pi = function() {
|
|
|
10017
10024
|
type: o
|
|
10018
10025
|
})];
|
|
10019
10026
|
}
|
|
10027
|
+
}, {
|
|
10028
|
+
key: "extend",
|
|
10029
|
+
fn: function(n) {
|
|
10030
|
+
var s = n.id, r = n.bpmnInstances, a = n.element, o = n.type;
|
|
10031
|
+
return [e._t("extend", null, {
|
|
10032
|
+
id: s,
|
|
10033
|
+
bpmnInstances: r,
|
|
10034
|
+
element: a,
|
|
10035
|
+
type: o
|
|
10036
|
+
})];
|
|
10037
|
+
}
|
|
10020
10038
|
}], null, !0)
|
|
10021
10039
|
})], 1);
|
|
10022
10040
|
}, Di = [];
|
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@web-utils/component",
|
|
5
|
-
"version": "2.8.
|
|
5
|
+
"version": "2.8.20",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"description-markup": "markdown",
|
|
@@ -2475,6 +2475,9 @@
|
|
|
2475
2475
|
},
|
|
2476
2476
|
{
|
|
2477
2477
|
"name": "task"
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"name": "extend"
|
|
2478
2481
|
}
|
|
2479
2482
|
]
|
|
2480
2483
|
},
|