@xatlas/rainbow-core 2.2.7 → 2.2.9
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/dist/core.common.js +223 -98
- package/dist/core.common.js.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.umd.js +223 -98
- package/dist/core.umd.js.map +1 -1
- package/dist/core.umd.min.js +2 -2
- package/dist/core.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/core.umd.js
CHANGED
|
@@ -3122,6 +3122,7 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3122
3122
|
data: function data() {
|
|
3123
3123
|
return {
|
|
3124
3124
|
query: {},
|
|
3125
|
+
schemaFuncQueue: [],
|
|
3125
3126
|
unwatchQuery: null,
|
|
3126
3127
|
autoRefreshTimer: null
|
|
3127
3128
|
};
|
|
@@ -3371,7 +3372,7 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3371
3372
|
return columns;
|
|
3372
3373
|
},
|
|
3373
3374
|
configs: function configs() {
|
|
3374
|
-
return this.schema.configs && this.schema.configs.length ? Object.fromEntries(this.schema.configs.map(function (c) {
|
|
3375
|
+
return this.schema && this.schema.configs && this.schema.configs.length ? Object.fromEntries(this.schema.configs.map(function (c) {
|
|
3375
3376
|
return [c.key, c.value];
|
|
3376
3377
|
})) : null;
|
|
3377
3378
|
},
|
|
@@ -3438,18 +3439,24 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3438
3439
|
created: function created() {
|
|
3439
3440
|
var _this7 = this;
|
|
3440
3441
|
return list_asyncToGenerator( /*#__PURE__*/list_regeneratorRuntime().mark(function _callee() {
|
|
3442
|
+
var func;
|
|
3441
3443
|
return list_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
3442
3444
|
while (1) switch (_context.prev = _context.next) {
|
|
3443
3445
|
case 0:
|
|
3444
3446
|
if (_this7.schema) {
|
|
3445
|
-
_context.next =
|
|
3447
|
+
_context.next = 4;
|
|
3446
3448
|
break;
|
|
3447
3449
|
}
|
|
3448
3450
|
_context.next = 3;
|
|
3449
3451
|
return _this7.loadSchema();
|
|
3450
3452
|
case 3:
|
|
3451
|
-
|
|
3453
|
+
while (_this7.schemaFuncQueue.length > 0) {
|
|
3454
|
+
func = _this7.schemaFuncQueue.pop();
|
|
3455
|
+
func();
|
|
3456
|
+
}
|
|
3452
3457
|
case 4:
|
|
3458
|
+
_this7.query = _this7.params.route && _this7.params.route.query.close ? list_objectSpread(list_objectSpread(list_objectSpread({}, _this7.query), _this7.params.filters), _this7.filterValues) : list_objectSpread(list_objectSpread(list_objectSpread(list_objectSpread({}, _this7.query), _this7.params.filters), _this7.filterValues), _this7.$route.query);
|
|
3459
|
+
case 5:
|
|
3453
3460
|
case "end":
|
|
3454
3461
|
return _context.stop();
|
|
3455
3462
|
}
|
|
@@ -3457,9 +3464,19 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3457
3464
|
}))();
|
|
3458
3465
|
},
|
|
3459
3466
|
activated: function activated() {
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
this.
|
|
3467
|
+
var _this8 = this;
|
|
3468
|
+
if (this.schema) {
|
|
3469
|
+
if (this.configs && this.configs['auto-refresh']) {
|
|
3470
|
+
this.autoRefreshTimer = true;
|
|
3471
|
+
this.autoRefresh(+this.configs['auto-refresh']);
|
|
3472
|
+
}
|
|
3473
|
+
} else {
|
|
3474
|
+
this.schemaFuncQueue.push(function () {
|
|
3475
|
+
if (_this8.configs && _this8.configs['auto-refresh']) {
|
|
3476
|
+
_this8.autoRefreshTimer = true;
|
|
3477
|
+
_this8.autoRefresh(+_this8.configs['auto-refresh']);
|
|
3478
|
+
}
|
|
3479
|
+
});
|
|
3463
3480
|
}
|
|
3464
3481
|
if (!this.parentIds && this.mode === 'page') {
|
|
3465
3482
|
if (external_root_qs_commonjs2_qs_commonjs_qs_amd_qs_default.a.stringify(this.query) !== external_root_qs_commonjs2_qs_commonjs_qs_amd_qs_default.a.stringify(this.$route.query)) {
|
|
@@ -3492,16 +3509,16 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3492
3509
|
},
|
|
3493
3510
|
methods: {
|
|
3494
3511
|
autoRefresh: function autoRefresh(ms) {
|
|
3495
|
-
var
|
|
3512
|
+
var _this9 = this;
|
|
3496
3513
|
return list_asyncToGenerator( /*#__PURE__*/list_regeneratorRuntime().mark(function _callee2() {
|
|
3497
3514
|
return list_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
3498
3515
|
while (1) switch (_context2.prev = _context2.next) {
|
|
3499
3516
|
case 0:
|
|
3500
3517
|
_context2.next = 2;
|
|
3501
|
-
return
|
|
3518
|
+
return _this9.handleRefresh();
|
|
3502
3519
|
case 2:
|
|
3503
|
-
if (
|
|
3504
|
-
return
|
|
3520
|
+
if (_this9.autoRefreshTimer) _this9.autoRefreshTimer = setTimeout(function () {
|
|
3521
|
+
return _this9.autoRefresh(ms);
|
|
3505
3522
|
}, ms);
|
|
3506
3523
|
case 3:
|
|
3507
3524
|
case "end":
|
|
@@ -3512,7 +3529,7 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3512
3529
|
},
|
|
3513
3530
|
load: function load() {
|
|
3514
3531
|
var _arguments = arguments,
|
|
3515
|
-
|
|
3532
|
+
_this10 = this;
|
|
3516
3533
|
return list_asyncToGenerator( /*#__PURE__*/list_regeneratorRuntime().mark(function _callee3() {
|
|
3517
3534
|
var mute, data;
|
|
3518
3535
|
return list_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
@@ -3520,8 +3537,8 @@ function list_toPrimitive(t, r) { if ("object" != list_typeof(t) || !t) return t
|
|
|
3520
3537
|
case 0:
|
|
3521
3538
|
mute = _arguments.length > 0 && _arguments[0] !== undefined ? _arguments[0] : false;
|
|
3522
3539
|
_context3.next = 3;
|
|
3523
|
-
return
|
|
3524
|
-
query:
|
|
3540
|
+
return _this10.loadData({
|
|
3541
|
+
query: _this10.query,
|
|
3525
3542
|
mute: mute
|
|
3526
3543
|
});
|
|
3527
3544
|
case 3:
|
|
@@ -4461,7 +4478,7 @@ function base_toPrimitive(t, r) { if ("object" != base_typeof(t) || !t) return t
|
|
|
4461
4478
|
var _arguments2 = arguments,
|
|
4462
4479
|
_this5 = this;
|
|
4463
4480
|
return base_asyncToGenerator( /*#__PURE__*/base_regeneratorRuntime().mark(function _callee7() {
|
|
4464
|
-
var n, len, numTxt;
|
|
4481
|
+
var n, len, numTxt, saveDataParms, handleConfirmRoload;
|
|
4465
4482
|
return base_regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
4466
4483
|
while (1) switch (_context7.prev = _context7.next) {
|
|
4467
4484
|
case 0:
|
|
@@ -4474,48 +4491,51 @@ function base_toPrimitive(t, r) { if ("object" != base_typeof(t) || !t) return t
|
|
|
4474
4491
|
return _context7.abrupt("return", _this5.$message.error("\u6240\u9009\u6570\u636E\u4E0D\u5141\u8BB8\u8D85\u8FC7 ".concat(n, " \u6761")));
|
|
4475
4492
|
case 4:
|
|
4476
4493
|
numTxt = len > 1 ? " ".concat(len, " \u6761") : '';
|
|
4494
|
+
saveDataParms = {
|
|
4495
|
+
method: action.method || 'post',
|
|
4496
|
+
key: action.key,
|
|
4497
|
+
data: _this5.selections.length ? _this5.selections : [_this5.actionModel],
|
|
4498
|
+
type: action.params && action.params.commit ? action.params.commit.type : ''
|
|
4499
|
+
};
|
|
4500
|
+
handleConfirmRoload = function handleConfirmRoload() {
|
|
4501
|
+
if (action.params && action.params.commit && action.params.commit.type === 'remove') {
|
|
4502
|
+
if (_this5.id) {
|
|
4503
|
+
_this5.handleBack();
|
|
4504
|
+
} else if (!_this5.findAll.length) {
|
|
4505
|
+
_this5.load && _this5.load();
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
};
|
|
4477
4509
|
_this5.$confirm({
|
|
4478
4510
|
title: action.name,
|
|
4479
4511
|
content: "\u786E\u8BA4\u5BF9\u9009\u5B9A\u7684".concat(numTxt, "\u6570\u636E\u8FDB\u884C\u3010").concat(action.name, "\u3011\u64CD\u4F5C?"),
|
|
4480
4512
|
okText: '确定',
|
|
4481
4513
|
cancelText: '取消',
|
|
4482
|
-
onOk: function () {
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
flushed(action, _this5);
|
|
4506
|
-
case 4:
|
|
4507
|
-
case "end":
|
|
4508
|
-
return _context6.stop();
|
|
4509
|
-
}
|
|
4510
|
-
}, _callee6);
|
|
4511
|
-
}));
|
|
4512
|
-
function onOk() {
|
|
4513
|
-
return _onOk2.apply(this, arguments);
|
|
4514
|
-
}
|
|
4515
|
-
return onOk;
|
|
4516
|
-
}()
|
|
4514
|
+
onOk: action.params && action.params.sync ? function () {
|
|
4515
|
+
_this5.saveData(saveDataParms);
|
|
4516
|
+
handleConfirmRoload();
|
|
4517
|
+
// bulk,one 动作
|
|
4518
|
+
// 刷新数据
|
|
4519
|
+
flushed(action, _this5);
|
|
4520
|
+
} : /*#__PURE__*/base_asyncToGenerator( /*#__PURE__*/base_regeneratorRuntime().mark(function _callee6() {
|
|
4521
|
+
return base_regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
4522
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
4523
|
+
case 0:
|
|
4524
|
+
_context6.next = 2;
|
|
4525
|
+
return _this5.saveData(saveDataParms);
|
|
4526
|
+
case 2:
|
|
4527
|
+
handleConfirmRoload();
|
|
4528
|
+
// bulk,one 动作
|
|
4529
|
+
// 刷新数据
|
|
4530
|
+
flushed(action, _this5);
|
|
4531
|
+
case 4:
|
|
4532
|
+
case "end":
|
|
4533
|
+
return _context6.stop();
|
|
4534
|
+
}
|
|
4535
|
+
}, _callee6);
|
|
4536
|
+
}))
|
|
4517
4537
|
});
|
|
4518
|
-
case
|
|
4538
|
+
case 8:
|
|
4519
4539
|
case "end":
|
|
4520
4540
|
return _context7.stop();
|
|
4521
4541
|
}
|
|
@@ -4585,33 +4605,70 @@ function base_toPrimitive(t, r) { if ("object" != base_typeof(t) || !t) return t
|
|
|
4585
4605
|
}, _callee10);
|
|
4586
4606
|
}))();
|
|
4587
4607
|
},
|
|
4588
|
-
|
|
4608
|
+
// 跳转至新窗口
|
|
4609
|
+
handleBlank: function handleBlank(action) {
|
|
4589
4610
|
var _this9 = this;
|
|
4590
|
-
|
|
4611
|
+
this.$confirm({
|
|
4612
|
+
title: action.name,
|
|
4613
|
+
content: "\u786E\u8BA4\u5BF9\u9009\u5B9A\u7684\u6570\u636E\u8FDB\u884C\u3010".concat(action.name, "\u3011\u64CD\u4F5C?"),
|
|
4614
|
+
okText: '确定',
|
|
4615
|
+
cancelText: '取消',
|
|
4616
|
+
onOk: function () {
|
|
4617
|
+
var _onOk2 = base_asyncToGenerator( /*#__PURE__*/base_regeneratorRuntime().mark(function _callee11() {
|
|
4618
|
+
var path, res;
|
|
4619
|
+
return base_regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
4620
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
4621
|
+
case 0:
|
|
4622
|
+
path = action.key ? "".concat(_this9.pageKey, "/").concat(action.key) : action.id;
|
|
4623
|
+
_context11.next = 3;
|
|
4624
|
+
return _this9.$api[action.method.toLowerCase() || 'post']("api/".concat(path), _this9.actionModel || _this9.selections[0]);
|
|
4625
|
+
case 3:
|
|
4626
|
+
res = _context11.sent;
|
|
4627
|
+
if (res.data.status === 200) {
|
|
4628
|
+
window.open(res.data.data.openNewUrl, '_blank');
|
|
4629
|
+
} else {
|
|
4630
|
+
_this9.$message.error(res.data.content);
|
|
4631
|
+
}
|
|
4632
|
+
case 5:
|
|
4633
|
+
case "end":
|
|
4634
|
+
return _context11.stop();
|
|
4635
|
+
}
|
|
4636
|
+
}, _callee11);
|
|
4637
|
+
}));
|
|
4638
|
+
function onOk() {
|
|
4639
|
+
return _onOk2.apply(this, arguments);
|
|
4640
|
+
}
|
|
4641
|
+
return onOk;
|
|
4642
|
+
}()
|
|
4643
|
+
});
|
|
4644
|
+
},
|
|
4645
|
+
handleRefresh: function handleRefresh() {
|
|
4646
|
+
var _this10 = this;
|
|
4647
|
+
return base_asyncToGenerator( /*#__PURE__*/base_regeneratorRuntime().mark(function _callee12() {
|
|
4591
4648
|
var data, code;
|
|
4592
|
-
return base_regeneratorRuntime().wrap(function
|
|
4593
|
-
while (1) switch (
|
|
4649
|
+
return base_regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
4650
|
+
while (1) switch (_context12.prev = _context12.next) {
|
|
4594
4651
|
case 0:
|
|
4595
|
-
if (!
|
|
4596
|
-
|
|
4652
|
+
if (!_this10.load) {
|
|
4653
|
+
_context12.next = 7;
|
|
4597
4654
|
break;
|
|
4598
4655
|
}
|
|
4599
|
-
|
|
4600
|
-
return
|
|
4656
|
+
_context12.next = 3;
|
|
4657
|
+
return _this10.load();
|
|
4601
4658
|
case 3:
|
|
4602
|
-
data =
|
|
4603
|
-
|
|
4604
|
-
return flushed('refresh',
|
|
4659
|
+
data = _context12.sent;
|
|
4660
|
+
_context12.next = 6;
|
|
4661
|
+
return flushed('refresh', _this10);
|
|
4605
4662
|
case 6:
|
|
4606
4663
|
if (data instanceof Error) {
|
|
4607
4664
|
code = data.response.data.code;
|
|
4608
|
-
code === 404 &&
|
|
4665
|
+
code === 404 && _this10.handleBack();
|
|
4609
4666
|
}
|
|
4610
4667
|
case 7:
|
|
4611
4668
|
case "end":
|
|
4612
|
-
return
|
|
4669
|
+
return _context12.stop();
|
|
4613
4670
|
}
|
|
4614
|
-
},
|
|
4671
|
+
}, _callee12);
|
|
4615
4672
|
}))();
|
|
4616
4673
|
},
|
|
4617
4674
|
handleBack: function handleBack() {
|
|
@@ -23599,8 +23656,8 @@ var CCNode_component = normalizeComponent(
|
|
|
23599
23656
|
)
|
|
23600
23657
|
|
|
23601
23658
|
/* harmony default export */ var CCNode = (CCNode_component.exports);
|
|
23602
|
-
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=template&id=
|
|
23603
|
-
var
|
|
23659
|
+
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f0c52eea-vue-loader-template"}!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/babel-loader/lib!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=template&id=7af4eb1a&scoped=true
|
|
23660
|
+
var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render = function render() {
|
|
23604
23661
|
var _vm = this,
|
|
23605
23662
|
_c = _vm._self._c;
|
|
23606
23663
|
return _c('div', [_c('div', {
|
|
@@ -23719,7 +23776,6 @@ var TriggerNodevue_type_template_id_1aaf68ea_scoped_true_render = function rende
|
|
|
23719
23776
|
attrs: {
|
|
23720
23777
|
"after-visible-change": _vm.change,
|
|
23721
23778
|
"closable": true,
|
|
23722
|
-
"title": _vm.node.name,
|
|
23723
23779
|
"visible": _vm.visibleDrawer,
|
|
23724
23780
|
"width": 720,
|
|
23725
23781
|
"placement": "right"
|
|
@@ -23727,7 +23783,62 @@ var TriggerNodevue_type_template_id_1aaf68ea_scoped_true_render = function rende
|
|
|
23727
23783
|
on: {
|
|
23728
23784
|
"close": _vm.hideDrawer
|
|
23729
23785
|
}
|
|
23730
|
-
}, [
|
|
23786
|
+
}, [!_vm.editName ? _c('div', {
|
|
23787
|
+
staticClass: "node-drawer-title",
|
|
23788
|
+
on: {
|
|
23789
|
+
"click": _vm.showEditName
|
|
23790
|
+
}
|
|
23791
|
+
}, [_c('a-icon', {
|
|
23792
|
+
attrs: {
|
|
23793
|
+
"type": "edit"
|
|
23794
|
+
}
|
|
23795
|
+
}), _vm._v(" " + _vm._s(_vm.node.name) + " ")], 1) : _vm._e(), _c('a-form-model', {
|
|
23796
|
+
directives: [{
|
|
23797
|
+
name: "show",
|
|
23798
|
+
rawName: "v-show",
|
|
23799
|
+
value: _vm.editName,
|
|
23800
|
+
expression: "editName"
|
|
23801
|
+
}],
|
|
23802
|
+
ref: "nameForm",
|
|
23803
|
+
attrs: {
|
|
23804
|
+
"model": _vm.nodeRef,
|
|
23805
|
+
"rules": {
|
|
23806
|
+
name: [{
|
|
23807
|
+
required: true,
|
|
23808
|
+
message: '请填写节点名称',
|
|
23809
|
+
trigger: 'blur'
|
|
23810
|
+
}, {
|
|
23811
|
+
min: 2,
|
|
23812
|
+
max: 20,
|
|
23813
|
+
message: '2-20个字',
|
|
23814
|
+
trigger: 'blur'
|
|
23815
|
+
}]
|
|
23816
|
+
},
|
|
23817
|
+
"layout": "inline"
|
|
23818
|
+
}
|
|
23819
|
+
}, [_c('a-form-model-item', {
|
|
23820
|
+
ref: "name",
|
|
23821
|
+
attrs: {
|
|
23822
|
+
"prop": "name"
|
|
23823
|
+
}
|
|
23824
|
+
}, [_c('a-input', {
|
|
23825
|
+
ref: "nameInput",
|
|
23826
|
+
attrs: {
|
|
23827
|
+
"placeholder": "节点名称"
|
|
23828
|
+
},
|
|
23829
|
+
on: {
|
|
23830
|
+
"blur": function blur() {
|
|
23831
|
+
_vm.editName = false;
|
|
23832
|
+
}
|
|
23833
|
+
},
|
|
23834
|
+
model: {
|
|
23835
|
+
value: _vm.nodeRef.name,
|
|
23836
|
+
callback: function callback($$v) {
|
|
23837
|
+
_vm.$set(_vm.nodeRef, "name", $$v);
|
|
23838
|
+
},
|
|
23839
|
+
expression: "nodeRef.name"
|
|
23840
|
+
}
|
|
23841
|
+
})], 1)], 1), _c('a-row', [_c('a-col', {
|
|
23731
23842
|
attrs: {
|
|
23732
23843
|
"span": 4
|
|
23733
23844
|
}
|
|
@@ -23762,9 +23873,9 @@ var TriggerNodevue_type_template_id_1aaf68ea_scoped_true_render = function rende
|
|
|
23762
23873
|
}
|
|
23763
23874
|
})], 1)], 1)], 1)], 1);
|
|
23764
23875
|
};
|
|
23765
|
-
var
|
|
23876
|
+
var TriggerNodevue_type_template_id_7af4eb1a_scoped_true_staticRenderFns = [];
|
|
23766
23877
|
|
|
23767
|
-
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=template&id=
|
|
23878
|
+
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=template&id=7af4eb1a&scoped=true
|
|
23768
23879
|
|
|
23769
23880
|
// CONCATENATED MODULE: ../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib!../node_modules/cache-loader/dist/cjs.js??ref--1-0!../node_modules/vue-loader/lib??vue-loader-options!../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=script&lang=js
|
|
23770
23881
|
function TriggerNodevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return TriggerNodevue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, TriggerNodevue_type_script_lang_js_typeof(o); }
|
|
@@ -23785,6 +23896,7 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
23785
23896
|
data: function data() {
|
|
23786
23897
|
return {
|
|
23787
23898
|
defaultContent: '请选择',
|
|
23899
|
+
editName: false,
|
|
23788
23900
|
driverList: null,
|
|
23789
23901
|
driverTimeout: null
|
|
23790
23902
|
};
|
|
@@ -23934,7 +24046,7 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
23934
24046
|
return {
|
|
23935
24047
|
value: item.driver_id,
|
|
23936
24048
|
label: item.driver_name,
|
|
23937
|
-
title: item.
|
|
24049
|
+
title: item.driver_desc
|
|
23938
24050
|
};
|
|
23939
24051
|
});
|
|
23940
24052
|
_this.nodeRef.data.eadCache.workflow.driverList = _this.driverList;
|
|
@@ -23954,6 +24066,13 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
23954
24066
|
},
|
|
23955
24067
|
more: function more() {
|
|
23956
24068
|
this.showPopover();
|
|
24069
|
+
},
|
|
24070
|
+
'showEditName': function showEditName() {
|
|
24071
|
+
var _this2 = this;
|
|
24072
|
+
this.editName = true;
|
|
24073
|
+
Object(external_commonjs_vue_commonjs2_vue_root_Vue_["nextTick"])(function () {
|
|
24074
|
+
_this2.$refs.nameInput.focus();
|
|
24075
|
+
});
|
|
23957
24076
|
}
|
|
23958
24077
|
},
|
|
23959
24078
|
created: function created() {
|
|
@@ -23963,8 +24082,8 @@ function TriggerNodevue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
|
|
|
23963
24082
|
});
|
|
23964
24083
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=script&lang=js
|
|
23965
24084
|
/* harmony default export */ var node_TriggerNodevue_type_script_lang_js = (TriggerNodevue_type_script_lang_js);
|
|
23966
|
-
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=style&index=0&id=
|
|
23967
|
-
var
|
|
24085
|
+
// EXTERNAL MODULE: ../src/web/components/forms/flow/designer/node/TriggerNode.vue?vue&type=style&index=0&id=7af4eb1a&prod&lang=less&scoped=true
|
|
24086
|
+
var TriggerNodevue_type_style_index_0_id_7af4eb1a_prod_lang_less_scoped_true = __webpack_require__("7e56");
|
|
23968
24087
|
|
|
23969
24088
|
// CONCATENATED MODULE: ../src/web/components/forms/flow/designer/node/TriggerNode.vue
|
|
23970
24089
|
|
|
@@ -23977,11 +24096,11 @@ var TriggerNodevue_type_style_index_0_id_1aaf68ea_prod_lang_less_scoped_true = _
|
|
|
23977
24096
|
|
|
23978
24097
|
var TriggerNode_component = normalizeComponent(
|
|
23979
24098
|
node_TriggerNodevue_type_script_lang_js,
|
|
23980
|
-
|
|
23981
|
-
|
|
24099
|
+
TriggerNodevue_type_template_id_7af4eb1a_scoped_true_render,
|
|
24100
|
+
TriggerNodevue_type_template_id_7af4eb1a_scoped_true_staticRenderFns,
|
|
23982
24101
|
false,
|
|
23983
24102
|
null,
|
|
23984
|
-
"
|
|
24103
|
+
"7af4eb1a",
|
|
23985
24104
|
null
|
|
23986
24105
|
|
|
23987
24106
|
)
|
|
@@ -25540,6 +25659,7 @@ function EadApi_classPrivateFieldSet(receiver, privateMap, value) { var descript
|
|
|
25540
25659
|
function EadApi_classExtractFieldDescriptor(receiver, privateMap, action) { if (!privateMap.has(receiver)) { throw new TypeError("attempted to " + action + " private field on non-instance"); } return privateMap.get(receiver); }
|
|
25541
25660
|
function EadApi_classApplyDescriptorSet(receiver, descriptor, value) { if (descriptor.set) { descriptor.set.call(receiver, value); } else { if (!descriptor.writable) { throw new TypeError("attempted to set read only private field"); } descriptor.value = value; } }
|
|
25542
25661
|
var _component = /*#__PURE__*/new WeakMap();
|
|
25662
|
+
var _baseUrl = /*#__PURE__*/new WeakMap();
|
|
25543
25663
|
var EadApi = /*#__PURE__*/function () {
|
|
25544
25664
|
function EadApi(vueComponent) {
|
|
25545
25665
|
EadApi_classCallCheck(this, EadApi);
|
|
@@ -25547,7 +25667,12 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25547
25667
|
writable: true,
|
|
25548
25668
|
value: void 0
|
|
25549
25669
|
});
|
|
25670
|
+
EadApi_classPrivateFieldInitSpec(this, _baseUrl, {
|
|
25671
|
+
writable: true,
|
|
25672
|
+
value: void 0
|
|
25673
|
+
});
|
|
25550
25674
|
EadApi_classPrivateFieldSet(this, _component, vueComponent);
|
|
25675
|
+
EadApi_classPrivateFieldSet(this, _baseUrl, window.location.origin + '/ead');
|
|
25551
25676
|
}
|
|
25552
25677
|
EadApi_createClass(EadApi, [{
|
|
25553
25678
|
key: "getComponent",
|
|
@@ -25644,7 +25769,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25644
25769
|
case 0:
|
|
25645
25770
|
_context2.prev = 0;
|
|
25646
25771
|
_context2.next = 3;
|
|
25647
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("/api/flowdir-viewattr?view_id=".concat(viewId));
|
|
25772
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-viewattr?view_id=").concat(viewId));
|
|
25648
25773
|
case 3:
|
|
25649
25774
|
_yield$_classPrivateF2 = _context2.sent;
|
|
25650
25775
|
_yield$_classPrivateF3 = _yield$_classPrivateF2.data.collection;
|
|
@@ -25680,7 +25805,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25680
25805
|
case 0:
|
|
25681
25806
|
_context3.prev = 0;
|
|
25682
25807
|
_context3.next = 3;
|
|
25683
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get(
|
|
25808
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-user"));
|
|
25684
25809
|
case 3:
|
|
25685
25810
|
_yield$_classPrivateF4 = _context3.sent;
|
|
25686
25811
|
_yield$_classPrivateF5 = _yield$_classPrivateF4.data.collection;
|
|
@@ -25716,7 +25841,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25716
25841
|
case 0:
|
|
25717
25842
|
_context4.prev = 0;
|
|
25718
25843
|
_context4.next = 3;
|
|
25719
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get(
|
|
25844
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-role?app_key=") + appKey);
|
|
25720
25845
|
case 3:
|
|
25721
25846
|
_yield$_classPrivateF6 = _context4.sent;
|
|
25722
25847
|
_yield$_classPrivateF7 = _yield$_classPrivateF6.data.collection;
|
|
@@ -25752,7 +25877,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25752
25877
|
case 0:
|
|
25753
25878
|
_context5.prev = 0;
|
|
25754
25879
|
_context5.next = 3;
|
|
25755
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get(
|
|
25880
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-org"));
|
|
25756
25881
|
case 3:
|
|
25757
25882
|
_yield$_classPrivateF8 = _context5.sent;
|
|
25758
25883
|
_yield$_classPrivateF9 = _yield$_classPrivateF8.data.collection;
|
|
@@ -25791,7 +25916,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25791
25916
|
case 0:
|
|
25792
25917
|
_context6.prev = 0;
|
|
25793
25918
|
_context6.next = 3;
|
|
25794
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("/dataset/".concat(datasetName), {
|
|
25919
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/dataset/").concat(datasetName), {
|
|
25795
25920
|
params: EadApi_objectSpread({}, params)
|
|
25796
25921
|
});
|
|
25797
25922
|
case 3:
|
|
@@ -25829,7 +25954,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25829
25954
|
case 0:
|
|
25830
25955
|
_context7.prev = 0;
|
|
25831
25956
|
_context7.next = 3;
|
|
25832
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get("/api/".concat(datasetName), {
|
|
25957
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/").concat(datasetName), {
|
|
25833
25958
|
params: EadApi_objectSpread({}, params)
|
|
25834
25959
|
});
|
|
25835
25960
|
case 3:
|
|
@@ -25867,7 +25992,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25867
25992
|
case 0:
|
|
25868
25993
|
_context8.prev = 0;
|
|
25869
25994
|
_context8.next = 3;
|
|
25870
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get(
|
|
25995
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-view?name=") + name);
|
|
25871
25996
|
case 3:
|
|
25872
25997
|
_yield$_classPrivateF14 = _context8.sent;
|
|
25873
25998
|
_yield$_classPrivateF15 = _yield$_classPrivateF14.data.collection;
|
|
@@ -25903,7 +26028,7 @@ var EadApi = /*#__PURE__*/function () {
|
|
|
25903
26028
|
case 0:
|
|
25904
26029
|
_context9.prev = 0;
|
|
25905
26030
|
_context9.next = 3;
|
|
25906
|
-
return EadApi_classPrivateFieldGet(this, _component).$api.get(
|
|
26031
|
+
return EadApi_classPrivateFieldGet(this, _component).$api.get("".concat(EadApi_classPrivateFieldGet(this, _baseUrl), "/api/flowdir-driver?name=") + name);
|
|
25907
26032
|
case 3:
|
|
25908
26033
|
_yield$_classPrivateF16 = _context9.sent;
|
|
25909
26034
|
_yield$_classPrivateF17 = _yield$_classPrivateF16.data.collection;
|
|
@@ -30843,13 +30968,6 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__6389__;
|
|
|
30843
30968
|
|
|
30844
30969
|
/***/ }),
|
|
30845
30970
|
|
|
30846
|
-
/***/ "6459":
|
|
30847
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
30848
|
-
|
|
30849
|
-
// extracted by mini-css-extract-plugin
|
|
30850
|
-
|
|
30851
|
-
/***/ }),
|
|
30852
|
-
|
|
30853
30971
|
/***/ "67ae":
|
|
30854
30972
|
/***/ (function(module, exports, __webpack_require__) {
|
|
30855
30973
|
|
|
@@ -43059,6 +43177,17 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__796d__;
|
|
|
43059
43177
|
|
|
43060
43178
|
}));
|
|
43061
43179
|
|
|
43180
|
+
/***/ }),
|
|
43181
|
+
|
|
43182
|
+
/***/ "7e56":
|
|
43183
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
43184
|
+
|
|
43185
|
+
"use strict";
|
|
43186
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TriggerNode_vue_vue_type_style_index_0_id_7af4eb1a_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9fc5");
|
|
43187
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TriggerNode_vue_vue_type_style_index_0_id_7af4eb1a_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TriggerNode_vue_vue_type_style_index_0_id_7af4eb1a_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
43188
|
+
/* unused harmony reexport * */
|
|
43189
|
+
|
|
43190
|
+
|
|
43062
43191
|
/***/ }),
|
|
43063
43192
|
|
|
43064
43193
|
/***/ "80ad":
|
|
@@ -43205,14 +43334,10 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__9f89__;
|
|
|
43205
43334
|
|
|
43206
43335
|
/***/ }),
|
|
43207
43336
|
|
|
43208
|
-
/***/ "
|
|
43209
|
-
/***/ (function(module,
|
|
43210
|
-
|
|
43211
|
-
"use strict";
|
|
43212
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TriggerNode_vue_vue_type_style_index_0_id_1aaf68ea_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6459");
|
|
43213
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TriggerNode_vue_vue_type_style_index_0_id_1aaf68ea_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TriggerNode_vue_vue_type_style_index_0_id_1aaf68ea_prod_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
43214
|
-
/* unused harmony reexport * */
|
|
43337
|
+
/***/ "9fc5":
|
|
43338
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
43215
43339
|
|
|
43340
|
+
// extracted by mini-css-extract-plugin
|
|
43216
43341
|
|
|
43217
43342
|
/***/ }),
|
|
43218
43343
|
|