@egova/egova-api 1.0.201 → 1.0.206
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/index.common.js +228 -207
- package/dist/index.css +1 -1
- package/dist/index.umd.js +228 -207
- package/dist/index.umd.min.js +2 -2
- package/dist/static/fonts/{iconfont.7823f95d.eot → iconfont.694e7338.ttf} +0 -0
- package/dist/static/fonts/{iconfont.a1a5cb3e.ttf → iconfont.befbaeb9.eot} +0 -0
- package/dist/static/fonts/iconfont.e0548839.woff +0 -0
- package/dist/static/img/{iconfont.b57544c1.svg → iconfont.6fbfccbd.svg} +6 -0
- package/package.json +2 -2
- package/dist/static/fonts/iconfont.07f06260.woff +0 -0
package/dist/index.common.js
CHANGED
|
@@ -41932,7 +41932,7 @@ module.exports = function (S, index, unicode) {
|
|
|
41932
41932
|
/***/ "8ab8":
|
|
41933
41933
|
/***/ (function(module, exports) {
|
|
41934
41934
|
|
|
41935
|
-
module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <div class=\"script-title\">\r\n <div class=\"empty\"></div>\r\n <div class=\"script-btns\">\r\n <span @click=\"onViewMax\"><i class=\"iconfont icon-
|
|
41935
|
+
module.exports = "<article class=\"pre-execution-setting\">\r\n <section class=\"script\">\r\n <div class=\"script-title\">\r\n <div class=\"empty\"></div>\r\n <div class=\"script-btns\">\r\n <span @click=\"onViewMax\"><i class=\"iconfont icon-zuidahua1\"></i>{{viewMax ? \"还原显示\" : \"最大化\"}}</span>\r\n <span @click=\"onSave\"><i class=\"iconfont icon-baocun1\"></i>保存</span>\r\n <span @click=\"onRun\"><i class=\"iconfont icon-run1\"></i>RUN</span>\r\n </div>\r\n </div>\r\n <u-editor\r\n v-if=\"refreshEditor\"\r\n class=\"editor\"\r\n :model.sync=\"script\"\r\n :diyKeywordList=\"diyKeywordList\"\r\n lang=\"groovy\"\r\n >\r\n </u-editor>\r\n </section>\r\n <section class=\"quick-input\">\r\n <div class=\"info\">\r\n <p>{{scriptData.description}}</p>\r\n <!-- <ul>\r\n <li>request: 请求</li>\r\n </ul> -->\r\n </div>\r\n <i-input class=\"diy-input\" v-model=\"keyword\" @on-change=\"onFilter\" placeholder=\"输入关键字查询\">\r\n <i class=\"iconfont icon-chaxun\" slot=\"prefix\"></i>\r\n </i-input>\r\n <div class=\"quick-list\">\r\n <div v-for=\"type in tempScriptData.group\" class=\"quick-type\">\r\n <div class=\"quick-type-name\" @click=\"onQuickGroupClick(type)\">\r\n <i-icon type=\"md-arrow-dropright\" :class=\"type.expand ? 'expand' : ''\"/>\r\n <p>{{type.name}}</p>\r\n </div>\r\n <div\r\n v-show=\"type.expand\"\r\n v-for=\"item in type.list\"\r\n :key=\"item.name\"\r\n class=\"quick-item\"\r\n @click=\"onClickItem(item)\"\r\n >\r\n <i class=\"api-icon icon-item\"></i> {{item.name}}\r\n </div>\r\n </div>\r\n </div>\r\n </section>\r\n</article>\r\n"
|
|
41936
41936
|
|
|
41937
41937
|
/***/ }),
|
|
41938
41938
|
|
|
@@ -48560,7 +48560,7 @@ $({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
|
48560
48560
|
/***/ "e718":
|
|
48561
48561
|
/***/ (function(module, exports) {
|
|
48562
48562
|
|
|
48563
|
-
module.exports = "<section class=\"v-base-editor-container\">\r\n <u-editor @inited=\"onEditorInited\" :
|
|
48563
|
+
module.exports = "<section class=\"v-base-editor-container\">\r\n <u-editor @inited=\"onEditorInited\" :model.sync=\"script\" lang=\"groovy\"></u-editor>\r\n</section>\r\n"
|
|
48564
48564
|
|
|
48565
48565
|
/***/ }),
|
|
48566
48566
|
|
|
@@ -50785,9 +50785,19 @@ function (_super) {
|
|
|
50785
50785
|
class: "common-tree-node"
|
|
50786
50786
|
}, [isFolder ? h("i", {
|
|
50787
50787
|
// class: ["iconfont", data.expand ? "icon-expand" : "icon-unexpand"]
|
|
50788
|
-
class: this.isTreeList ? "iconfont icon-mulushu" : "iconfont icon-bumenkaohe"
|
|
50788
|
+
class: this.isTreeList ? "iconfont icon-mulushu" : "iconfont icon-bumenkaohe",
|
|
50789
|
+
on: {
|
|
50790
|
+
click: function click(e) {
|
|
50791
|
+
isFolder ? _this.clickParentNode(e, data) : _this.clickLeafNode(e, data);
|
|
50792
|
+
}
|
|
50793
|
+
}
|
|
50789
50794
|
}) : h("i", {
|
|
50790
|
-
class: "iconfont icon-file"
|
|
50795
|
+
class: "iconfont icon-file",
|
|
50796
|
+
on: {
|
|
50797
|
+
click: function click(e) {
|
|
50798
|
+
isFolder ? _this.clickParentNode(e, data) : _this.clickLeafNode(e, data);
|
|
50799
|
+
}
|
|
50800
|
+
}
|
|
50791
50801
|
}), h("p", {
|
|
50792
50802
|
on: {
|
|
50793
50803
|
click: function click(e) {
|
|
@@ -53441,8 +53451,8 @@ var es_array_includes = __webpack_require__("caad");
|
|
|
53441
53451
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
53442
53452
|
var es_string_includes = __webpack_require__("2532");
|
|
53443
53453
|
|
|
53444
|
-
// EXTERNAL MODULE: ./src/components/
|
|
53445
|
-
var
|
|
53454
|
+
// EXTERNAL MODULE: ./src/components/groovy-editor/index.scss
|
|
53455
|
+
var groovy_editor = __webpack_require__("2380");
|
|
53446
53456
|
|
|
53447
53457
|
// EXTERNAL MODULE: external "vue-property-decorator"
|
|
53448
53458
|
var external_vue_property_decorator_ = __webpack_require__("01a6");
|
|
@@ -53451,14 +53461,14 @@ var external_vue_property_decorator_ = __webpack_require__("01a6");
|
|
|
53451
53461
|
var vue2_ace_editor = __webpack_require__("7c9e");
|
|
53452
53462
|
var vue2_ace_editor_default = /*#__PURE__*/__webpack_require__.n(vue2_ace_editor);
|
|
53453
53463
|
|
|
53454
|
-
// CONCATENATED MODULE: ./src/components/
|
|
53464
|
+
// CONCATENATED MODULE: ./src/components/groovy-editor/index.ts
|
|
53455
53465
|
|
|
53456
53466
|
|
|
53457
53467
|
|
|
53458
53468
|
|
|
53459
53469
|
|
|
53460
53470
|
|
|
53461
|
-
var
|
|
53471
|
+
var groovy_editor_extends = undefined && undefined.__extends || function () {
|
|
53462
53472
|
var _extendStatics = function extendStatics(d, b) {
|
|
53463
53473
|
_extendStatics = Object.setPrototypeOf || {
|
|
53464
53474
|
__proto__: []
|
|
@@ -53486,7 +53496,7 @@ var code_editor_extends = undefined && undefined.__extends || function () {
|
|
|
53486
53496
|
};
|
|
53487
53497
|
}();
|
|
53488
53498
|
|
|
53489
|
-
var
|
|
53499
|
+
var groovy_editor_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
53490
53500
|
var c = arguments.length,
|
|
53491
53501
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
53492
53502
|
d;
|
|
@@ -53496,7 +53506,7 @@ var code_editor_decorate = undefined && undefined.__decorate || function (decora
|
|
|
53496
53506
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
53497
53507
|
};
|
|
53498
53508
|
|
|
53499
|
-
var
|
|
53509
|
+
var groovy_editor_metadata = undefined && undefined.__metadata || function (k, v) {
|
|
53500
53510
|
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
53501
53511
|
};
|
|
53502
53512
|
|
|
@@ -53505,20 +53515,24 @@ var code_editor_metadata = undefined && undefined.__metadata || function (k, v)
|
|
|
53505
53515
|
|
|
53506
53516
|
|
|
53507
53517
|
|
|
53508
|
-
var
|
|
53518
|
+
var groovy_editor_CodeEditor =
|
|
53509
53519
|
/** @class */
|
|
53510
53520
|
function (_super) {
|
|
53511
|
-
|
|
53521
|
+
groovy_editor_extends(CodeEditor, _super);
|
|
53512
53522
|
|
|
53513
53523
|
function CodeEditor() {
|
|
53514
53524
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53515
53525
|
|
|
53516
53526
|
_this.option = {
|
|
53517
53527
|
showPrintMargin: false,
|
|
53518
|
-
|
|
53519
|
-
|
|
53520
|
-
|
|
53521
|
-
|
|
53528
|
+
enableEmmet: true,
|
|
53529
|
+
enableBasicAutocompletion: true,
|
|
53530
|
+
enableSnippets: true,
|
|
53531
|
+
enableLiveAutocompletion: true,
|
|
53532
|
+
showFoldWidgets: false,
|
|
53533
|
+
wrap: true,
|
|
53534
|
+
fontSize: 16,
|
|
53535
|
+
fixedWidthGutter: true
|
|
53522
53536
|
};
|
|
53523
53537
|
return _this;
|
|
53524
53538
|
}
|
|
@@ -53529,40 +53543,65 @@ function (_super) {
|
|
|
53529
53543
|
|
|
53530
53544
|
|
|
53531
53545
|
__webpack_require__("5f48"); // tslint:disable-next-line
|
|
53532
|
-
|
|
53533
|
-
|
|
53534
|
-
|
|
53535
|
-
|
|
53536
|
-
|
|
53537
|
-
|
|
53538
|
-
|
|
53539
|
-
|
|
53540
|
-
|
|
53541
|
-
|
|
53542
|
-
|
|
53543
|
-
__webpack_require__("95b8"); // require("brace/theme/github");
|
|
53546
|
+
// require("brace/mode/json");
|
|
53547
|
+
// // tslint:disable-next-line
|
|
53548
|
+
// require("brace/mode/xml");
|
|
53549
|
+
// // tslint:disable-next-line
|
|
53550
|
+
// require("brace/mode/javascript");
|
|
53551
|
+
// // tslint:disable-next-line
|
|
53552
|
+
// require("brace/theme/chrome");
|
|
53553
|
+
// // tslint:disable-next-line
|
|
53554
|
+
// require("brace/snippets/javascript");
|
|
53555
|
+
// // tslint:disable-next-line
|
|
53556
|
+
// require("brace/snippets/json");
|
|
53544
53557
|
// tslint:disable-next-line
|
|
53545
53558
|
|
|
53546
53559
|
|
|
53547
|
-
__webpack_require__("
|
|
53560
|
+
__webpack_require__("2099"); // tslint:disable-next-line
|
|
53548
53561
|
|
|
53549
53562
|
|
|
53550
|
-
__webpack_require__("
|
|
53563
|
+
__webpack_require__("95b8");
|
|
53551
53564
|
|
|
53565
|
+
var that = this; // tslint:disable-next-line
|
|
53552
53566
|
|
|
53553
|
-
__webpack_require__("
|
|
53567
|
+
var ace = __webpack_require__("061c");
|
|
53554
53568
|
|
|
53569
|
+
var langTools = ace.acequire("ace/ext/language_tools");
|
|
53570
|
+
langTools.addCompleter({
|
|
53571
|
+
getCompletions: function getCompletions(editor, session, pos, prefix, callback) {
|
|
53572
|
+
that.setCompletions(editor, session, pos, prefix, callback);
|
|
53573
|
+
}
|
|
53574
|
+
});
|
|
53555
53575
|
this.$emit("inited", editor);
|
|
53556
53576
|
};
|
|
53557
53577
|
|
|
53558
|
-
|
|
53578
|
+
CodeEditor.prototype.setCompletions = function (editor, session, pos, prefix, callback) {
|
|
53579
|
+
if (prefix.length === 0) {
|
|
53580
|
+
return callback(null, []);
|
|
53581
|
+
} else {
|
|
53582
|
+
return callback(null, this.diyKeywordList);
|
|
53583
|
+
}
|
|
53584
|
+
};
|
|
53559
53585
|
|
|
53560
|
-
|
|
53561
|
-
default: "json"
|
|
53562
|
-
}), code_editor_metadata("design:type", String)], CodeEditor.prototype, "lang", void 0);
|
|
53586
|
+
var _a;
|
|
53563
53587
|
|
|
53564
|
-
|
|
53565
|
-
|
|
53588
|
+
groovy_editor_decorate([Object(external_vue_property_decorator_["PropSync"])("model", {
|
|
53589
|
+
default: ""
|
|
53590
|
+
}), groovy_editor_metadata("design:type", String)], CodeEditor.prototype, "code", void 0);
|
|
53591
|
+
|
|
53592
|
+
groovy_editor_decorate([Object(flagwind_web_["config"])({
|
|
53593
|
+
default: "groovy"
|
|
53594
|
+
}), groovy_editor_metadata("design:type", String)], CodeEditor.prototype, "lang", void 0);
|
|
53595
|
+
|
|
53596
|
+
groovy_editor_decorate([Object(flagwind_web_["config"])({
|
|
53597
|
+
type: Array,
|
|
53598
|
+
default: function _default() {
|
|
53599
|
+
return [];
|
|
53600
|
+
}
|
|
53601
|
+
}), groovy_editor_metadata("design:type", typeof (_a = typeof Array !== "undefined" && Array) === "function" ? _a : Object)], CodeEditor.prototype, "diyKeywordList", void 0);
|
|
53602
|
+
|
|
53603
|
+
CodeEditor = groovy_editor_decorate([Object(flagwind_web_["component"])({
|
|
53604
|
+
template: __webpack_require__("9915"),
|
|
53566
53605
|
components: {
|
|
53567
53606
|
editor: vue2_ace_editor_default.a
|
|
53568
53607
|
}
|
|
@@ -53570,7 +53609,7 @@ function (_super) {
|
|
|
53570
53609
|
return CodeEditor;
|
|
53571
53610
|
}(flagwind_web_["Component"]);
|
|
53572
53611
|
|
|
53573
|
-
/* harmony default export */ var
|
|
53612
|
+
/* harmony default export */ var components_groovy_editor = (groovy_editor_CodeEditor);
|
|
53574
53613
|
// EXTERNAL MODULE: ./src/views/project-combine/combine-model/base-editor/index.scss
|
|
53575
53614
|
var base_editor = __webpack_require__("ca1f");
|
|
53576
53615
|
|
|
@@ -53660,7 +53699,7 @@ function (_super) {
|
|
|
53660
53699
|
BaseEditor = base_editor_decorate([Object(flagwind_web_["component"])({
|
|
53661
53700
|
template: __webpack_require__("e718"),
|
|
53662
53701
|
components: {
|
|
53663
|
-
"u-editor":
|
|
53702
|
+
"u-editor": components_groovy_editor
|
|
53664
53703
|
}
|
|
53665
53704
|
})], BaseEditor);
|
|
53666
53705
|
return BaseEditor;
|
|
@@ -54549,7 +54588,7 @@ function (_super) {
|
|
|
54549
54588
|
|
|
54550
54589
|
DataModel.prototype.onSearch = function (searchCondition) {
|
|
54551
54590
|
this.condition = searchCondition;
|
|
54552
|
-
this.condition.categoryId = this.currentNode.id;
|
|
54591
|
+
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
54553
54592
|
this.paging.pageIndex = 1;
|
|
54554
54593
|
this.getTableData();
|
|
54555
54594
|
}; // 获取对应分组的表格数据
|
|
@@ -56059,7 +56098,7 @@ function (_super) {
|
|
|
56059
56098
|
|
|
56060
56099
|
ApiProject.prototype.onSearch = function (searchCondition) {
|
|
56061
56100
|
this.condition = searchCondition;
|
|
56062
|
-
this.condition.categoryId = this.currentNode.id;
|
|
56101
|
+
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
56063
56102
|
this.paging.pageIndex = 1;
|
|
56064
56103
|
this.getTableData();
|
|
56065
56104
|
}; // 获取对应分组的表格数据
|
|
@@ -60457,158 +60496,6 @@ function (_super) {
|
|
|
60457
60496
|
// EXTERNAL MODULE: ./src/views/project-detail/index.scss
|
|
60458
60497
|
var project_detail = __webpack_require__("fe54");
|
|
60459
60498
|
|
|
60460
|
-
// EXTERNAL MODULE: ./src/components/groovy-editor/index.scss
|
|
60461
|
-
var groovy_editor = __webpack_require__("2380");
|
|
60462
|
-
|
|
60463
|
-
// CONCATENATED MODULE: ./src/components/groovy-editor/index.ts
|
|
60464
|
-
|
|
60465
|
-
|
|
60466
|
-
|
|
60467
|
-
|
|
60468
|
-
|
|
60469
|
-
|
|
60470
|
-
var groovy_editor_extends = undefined && undefined.__extends || function () {
|
|
60471
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
60472
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
60473
|
-
__proto__: []
|
|
60474
|
-
} instanceof Array && function (d, b) {
|
|
60475
|
-
d.__proto__ = b;
|
|
60476
|
-
} || function (d, b) {
|
|
60477
|
-
for (var p in b) {
|
|
60478
|
-
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
60479
|
-
}
|
|
60480
|
-
};
|
|
60481
|
-
|
|
60482
|
-
return _extendStatics(d, b);
|
|
60483
|
-
};
|
|
60484
|
-
|
|
60485
|
-
return function (d, b) {
|
|
60486
|
-
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
60487
|
-
|
|
60488
|
-
_extendStatics(d, b);
|
|
60489
|
-
|
|
60490
|
-
function __() {
|
|
60491
|
-
this.constructor = d;
|
|
60492
|
-
}
|
|
60493
|
-
|
|
60494
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
60495
|
-
};
|
|
60496
|
-
}();
|
|
60497
|
-
|
|
60498
|
-
var groovy_editor_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
60499
|
-
var c = arguments.length,
|
|
60500
|
-
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
60501
|
-
d;
|
|
60502
|
-
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
|
|
60503
|
-
if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
60504
|
-
}
|
|
60505
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
60506
|
-
};
|
|
60507
|
-
|
|
60508
|
-
var groovy_editor_metadata = undefined && undefined.__metadata || function (k, v) {
|
|
60509
|
-
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
60510
|
-
};
|
|
60511
|
-
|
|
60512
|
-
|
|
60513
|
-
|
|
60514
|
-
|
|
60515
|
-
|
|
60516
|
-
|
|
60517
|
-
var groovy_editor_CodeEditor =
|
|
60518
|
-
/** @class */
|
|
60519
|
-
function (_super) {
|
|
60520
|
-
groovy_editor_extends(CodeEditor, _super);
|
|
60521
|
-
|
|
60522
|
-
function CodeEditor() {
|
|
60523
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
60524
|
-
|
|
60525
|
-
_this.option = {
|
|
60526
|
-
showPrintMargin: false,
|
|
60527
|
-
enableEmmet: true,
|
|
60528
|
-
enableBasicAutocompletion: true,
|
|
60529
|
-
enableSnippets: true,
|
|
60530
|
-
enableLiveAutocompletion: true,
|
|
60531
|
-
showFoldWidgets: false,
|
|
60532
|
-
wrap: true,
|
|
60533
|
-
fontSize: 16,
|
|
60534
|
-
fixedWidthGutter: true
|
|
60535
|
-
};
|
|
60536
|
-
return _this;
|
|
60537
|
-
}
|
|
60538
|
-
|
|
60539
|
-
CodeEditor.prototype.editorInit = function (editor) {
|
|
60540
|
-
// tslint:disable-next-line
|
|
60541
|
-
__webpack_require__("0f6a"); // tslint:disable-next-line
|
|
60542
|
-
|
|
60543
|
-
|
|
60544
|
-
__webpack_require__("5f48"); // tslint:disable-next-line
|
|
60545
|
-
// require("brace/mode/json");
|
|
60546
|
-
// // tslint:disable-next-line
|
|
60547
|
-
// require("brace/mode/xml");
|
|
60548
|
-
// // tslint:disable-next-line
|
|
60549
|
-
// require("brace/mode/javascript");
|
|
60550
|
-
// // tslint:disable-next-line
|
|
60551
|
-
// require("brace/theme/chrome");
|
|
60552
|
-
// // tslint:disable-next-line
|
|
60553
|
-
// require("brace/snippets/javascript");
|
|
60554
|
-
// // tslint:disable-next-line
|
|
60555
|
-
// require("brace/snippets/json");
|
|
60556
|
-
// tslint:disable-next-line
|
|
60557
|
-
|
|
60558
|
-
|
|
60559
|
-
__webpack_require__("2099"); // tslint:disable-next-line
|
|
60560
|
-
|
|
60561
|
-
|
|
60562
|
-
__webpack_require__("95b8");
|
|
60563
|
-
|
|
60564
|
-
var that = this; // tslint:disable-next-line
|
|
60565
|
-
|
|
60566
|
-
var ace = __webpack_require__("061c");
|
|
60567
|
-
|
|
60568
|
-
var langTools = ace.acequire("ace/ext/language_tools");
|
|
60569
|
-
langTools.addCompleter({
|
|
60570
|
-
getCompletions: function getCompletions(editor, session, pos, prefix, callback) {
|
|
60571
|
-
that.setCompletions(editor, session, pos, prefix, callback);
|
|
60572
|
-
}
|
|
60573
|
-
});
|
|
60574
|
-
this.$emit("inited", editor);
|
|
60575
|
-
};
|
|
60576
|
-
|
|
60577
|
-
CodeEditor.prototype.setCompletions = function (editor, session, pos, prefix, callback) {
|
|
60578
|
-
if (prefix.length === 0) {
|
|
60579
|
-
return callback(null, []);
|
|
60580
|
-
} else {
|
|
60581
|
-
return callback(null, this.diyKeywordList);
|
|
60582
|
-
}
|
|
60583
|
-
};
|
|
60584
|
-
|
|
60585
|
-
var _a;
|
|
60586
|
-
|
|
60587
|
-
groovy_editor_decorate([Object(external_vue_property_decorator_["PropSync"])("model", {
|
|
60588
|
-
default: ""
|
|
60589
|
-
}), groovy_editor_metadata("design:type", String)], CodeEditor.prototype, "code", void 0);
|
|
60590
|
-
|
|
60591
|
-
groovy_editor_decorate([Object(flagwind_web_["config"])({
|
|
60592
|
-
default: "groovy"
|
|
60593
|
-
}), groovy_editor_metadata("design:type", String)], CodeEditor.prototype, "lang", void 0);
|
|
60594
|
-
|
|
60595
|
-
groovy_editor_decorate([Object(flagwind_web_["config"])({
|
|
60596
|
-
type: Array,
|
|
60597
|
-
default: function _default() {
|
|
60598
|
-
return [];
|
|
60599
|
-
}
|
|
60600
|
-
}), groovy_editor_metadata("design:type", typeof (_a = typeof Array !== "undefined" && Array) === "function" ? _a : Object)], CodeEditor.prototype, "diyKeywordList", void 0);
|
|
60601
|
-
|
|
60602
|
-
CodeEditor = groovy_editor_decorate([Object(flagwind_web_["component"])({
|
|
60603
|
-
template: __webpack_require__("9915"),
|
|
60604
|
-
components: {
|
|
60605
|
-
editor: vue2_ace_editor_default.a
|
|
60606
|
-
}
|
|
60607
|
-
})], CodeEditor);
|
|
60608
|
-
return CodeEditor;
|
|
60609
|
-
}(flagwind_web_["Component"]);
|
|
60610
|
-
|
|
60611
|
-
/* harmony default export */ var components_groovy_editor = (groovy_editor_CodeEditor);
|
|
60612
60499
|
// CONCATENATED MODULE: ./src/views/project-detail/base-editor-setting.ts
|
|
60613
60500
|
|
|
60614
60501
|
|
|
@@ -60963,7 +60850,13 @@ function (_super) {
|
|
|
60963
60850
|
};
|
|
60964
60851
|
|
|
60965
60852
|
PreExecutionSetting.prototype.handleError = function (value) {
|
|
60966
|
-
this
|
|
60853
|
+
var _this = this; // 通过定时器保证dom节点已经渲染完毕,不然无法触发新增节点方法
|
|
60854
|
+
|
|
60855
|
+
|
|
60856
|
+
setTimeout(function () {
|
|
60857
|
+
_this.displayError(value);
|
|
60858
|
+
}, 5);
|
|
60859
|
+
clearTimeout();
|
|
60967
60860
|
};
|
|
60968
60861
|
|
|
60969
60862
|
PreExecutionSetting.prototype.displayError = function (value) {
|
|
@@ -61105,7 +60998,9 @@ function (_super) {
|
|
|
61105
60998
|
default: null
|
|
61106
60999
|
}), pre_execution_setting_metadata("design:type", Object)], PreExecutionSetting.prototype, "errorLine", void 0);
|
|
61107
61000
|
|
|
61108
|
-
pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine"
|
|
61001
|
+
pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine", {
|
|
61002
|
+
immediate: true
|
|
61003
|
+
}), pre_execution_setting_metadata("design:type", Function), pre_execution_setting_metadata("design:paramtypes", [Object]), pre_execution_setting_metadata("design:returntype", void 0)], PreExecutionSetting.prototype, "handleError", null);
|
|
61109
61004
|
|
|
61110
61005
|
PreExecutionSetting = pre_execution_setting_decorate([Object(flagwind_web_["component"])({
|
|
61111
61006
|
template: __webpack_require__("8ab8"),
|
|
@@ -61387,6 +61282,129 @@ var es_array_sort = __webpack_require__("4e82");
|
|
|
61387
61282
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
61388
61283
|
var es_object_keys = __webpack_require__("b64b");
|
|
61389
61284
|
|
|
61285
|
+
// EXTERNAL MODULE: ./src/components/code-editor/index.scss
|
|
61286
|
+
var code_editor = __webpack_require__("a6c3");
|
|
61287
|
+
|
|
61288
|
+
// CONCATENATED MODULE: ./src/components/code-editor/index.ts
|
|
61289
|
+
|
|
61290
|
+
|
|
61291
|
+
|
|
61292
|
+
|
|
61293
|
+
|
|
61294
|
+
|
|
61295
|
+
var code_editor_extends = undefined && undefined.__extends || function () {
|
|
61296
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
61297
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
61298
|
+
__proto__: []
|
|
61299
|
+
} instanceof Array && function (d, b) {
|
|
61300
|
+
d.__proto__ = b;
|
|
61301
|
+
} || function (d, b) {
|
|
61302
|
+
for (var p in b) {
|
|
61303
|
+
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
61304
|
+
}
|
|
61305
|
+
};
|
|
61306
|
+
|
|
61307
|
+
return _extendStatics(d, b);
|
|
61308
|
+
};
|
|
61309
|
+
|
|
61310
|
+
return function (d, b) {
|
|
61311
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
61312
|
+
|
|
61313
|
+
_extendStatics(d, b);
|
|
61314
|
+
|
|
61315
|
+
function __() {
|
|
61316
|
+
this.constructor = d;
|
|
61317
|
+
}
|
|
61318
|
+
|
|
61319
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
61320
|
+
};
|
|
61321
|
+
}();
|
|
61322
|
+
|
|
61323
|
+
var code_editor_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
61324
|
+
var c = arguments.length,
|
|
61325
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
61326
|
+
d;
|
|
61327
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) {
|
|
61328
|
+
if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
61329
|
+
}
|
|
61330
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
61331
|
+
};
|
|
61332
|
+
|
|
61333
|
+
var code_editor_metadata = undefined && undefined.__metadata || function (k, v) {
|
|
61334
|
+
if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
61335
|
+
};
|
|
61336
|
+
|
|
61337
|
+
|
|
61338
|
+
|
|
61339
|
+
|
|
61340
|
+
|
|
61341
|
+
|
|
61342
|
+
var code_editor_CodeEditor =
|
|
61343
|
+
/** @class */
|
|
61344
|
+
function (_super) {
|
|
61345
|
+
code_editor_extends(CodeEditor, _super);
|
|
61346
|
+
|
|
61347
|
+
function CodeEditor() {
|
|
61348
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
61349
|
+
|
|
61350
|
+
_this.option = {
|
|
61351
|
+
showPrintMargin: false,
|
|
61352
|
+
wrap: "free",
|
|
61353
|
+
fontSize: 15 // enableBasicAutocompletion: true,
|
|
61354
|
+
// enableSnippets: true
|
|
61355
|
+
|
|
61356
|
+
};
|
|
61357
|
+
return _this;
|
|
61358
|
+
}
|
|
61359
|
+
|
|
61360
|
+
CodeEditor.prototype.editorInit = function (editor) {
|
|
61361
|
+
// tslint:disable-next-line
|
|
61362
|
+
__webpack_require__("0f6a"); // tslint:disable-next-line
|
|
61363
|
+
|
|
61364
|
+
|
|
61365
|
+
__webpack_require__("5f48"); // tslint:disable-next-line
|
|
61366
|
+
|
|
61367
|
+
|
|
61368
|
+
__webpack_require__("818b"); // tslint:disable-next-line
|
|
61369
|
+
|
|
61370
|
+
|
|
61371
|
+
__webpack_require__("0696"); // tslint:disable-next-line
|
|
61372
|
+
|
|
61373
|
+
|
|
61374
|
+
__webpack_require__("bb36"); // tslint:disable-next-line
|
|
61375
|
+
|
|
61376
|
+
|
|
61377
|
+
__webpack_require__("95b8"); // require("brace/theme/github");
|
|
61378
|
+
// tslint:disable-next-line
|
|
61379
|
+
|
|
61380
|
+
|
|
61381
|
+
__webpack_require__("6a21"); // tslint:disable-next-line
|
|
61382
|
+
|
|
61383
|
+
|
|
61384
|
+
__webpack_require__("b039"); // tslint:disable-next-line
|
|
61385
|
+
|
|
61386
|
+
|
|
61387
|
+
__webpack_require__("2099");
|
|
61388
|
+
|
|
61389
|
+
this.$emit("inited", editor);
|
|
61390
|
+
};
|
|
61391
|
+
|
|
61392
|
+
code_editor_decorate([Object(external_vue_property_decorator_["PropSync"])("value"), code_editor_metadata("design:type", String)], CodeEditor.prototype, "code", void 0);
|
|
61393
|
+
|
|
61394
|
+
code_editor_decorate([Object(flagwind_web_["config"])({
|
|
61395
|
+
default: "json"
|
|
61396
|
+
}), code_editor_metadata("design:type", String)], CodeEditor.prototype, "lang", void 0);
|
|
61397
|
+
|
|
61398
|
+
CodeEditor = code_editor_decorate([Object(flagwind_web_["component"])({
|
|
61399
|
+
template: __webpack_require__("35e3"),
|
|
61400
|
+
components: {
|
|
61401
|
+
editor: vue2_ace_editor_default.a
|
|
61402
|
+
}
|
|
61403
|
+
})], CodeEditor);
|
|
61404
|
+
return CodeEditor;
|
|
61405
|
+
}(flagwind_web_["Component"]);
|
|
61406
|
+
|
|
61407
|
+
/* harmony default export */ var components_code_editor = (code_editor_CodeEditor);
|
|
61390
61408
|
// EXTERNAL MODULE: ./src/views/project-detail/response/index.scss
|
|
61391
61409
|
var response = __webpack_require__("aba0");
|
|
61392
61410
|
|
|
@@ -61621,6 +61639,10 @@ function (_super) {
|
|
|
61621
61639
|
v.num = (_a = _this.cookies) === null || _a === void 0 ? void 0 : _a.length;
|
|
61622
61640
|
}
|
|
61623
61641
|
});
|
|
61642
|
+
|
|
61643
|
+
if (this.response.code && this.response.code !== 200) {
|
|
61644
|
+
this.active = this.responseSettingTypeList[4];
|
|
61645
|
+
}
|
|
61624
61646
|
};
|
|
61625
61647
|
/**
|
|
61626
61648
|
* 由于最大化的情况下脚本编辑器大小会根据相应输出栏展开收起而自适应大小
|
|
@@ -64124,7 +64146,7 @@ function (_super) {
|
|
|
64124
64146
|
var _a, _b, _c;
|
|
64125
64147
|
|
|
64126
64148
|
return interface_settings_awaiter(this, void 0, void 0, function () {
|
|
64127
|
-
var formParams, requestHeaders, index, result;
|
|
64149
|
+
var formParams, requestHeaders, index, result, reg, isError, line;
|
|
64128
64150
|
|
|
64129
64151
|
var _this = this;
|
|
64130
64152
|
|
|
@@ -64172,6 +64194,16 @@ function (_super) {
|
|
|
64172
64194
|
}
|
|
64173
64195
|
|
|
64174
64196
|
this.responseCache.set(this.interfaceModel.info.id, this.response);
|
|
64197
|
+
reg = /Error Line number:\s([0-9]+)/g;
|
|
64198
|
+
isError = this.response.output.match(reg);
|
|
64199
|
+
|
|
64200
|
+
if (isError) {
|
|
64201
|
+
line = isError[0].match(/([0-9]+)/g);
|
|
64202
|
+
line.length && (this.errorLine = line[0]);
|
|
64203
|
+
} else {
|
|
64204
|
+
this.errorLine = null;
|
|
64205
|
+
}
|
|
64206
|
+
|
|
64175
64207
|
return [2
|
|
64176
64208
|
/*return*/
|
|
64177
64209
|
];
|
|
@@ -64321,7 +64353,6 @@ function (_super) {
|
|
|
64321
64353
|
|
|
64322
64354
|
InterfaceSettings.prototype.onScriptRun = function () {
|
|
64323
64355
|
return interface_settings_awaiter(this, void 0, void 0, function () {
|
|
64324
|
-
var reg, isError, line;
|
|
64325
64356
|
return interface_settings_generator(this, function (_a) {
|
|
64326
64357
|
switch (_a.label) {
|
|
64327
64358
|
case 0:
|
|
@@ -64332,16 +64363,6 @@ function (_super) {
|
|
|
64332
64363
|
case 1:
|
|
64333
64364
|
_a.sent();
|
|
64334
64365
|
|
|
64335
|
-
reg = /Error Line number:\s([0-9]+)/g;
|
|
64336
|
-
isError = this.response.output.match(reg);
|
|
64337
|
-
|
|
64338
|
-
if (isError) {
|
|
64339
|
-
line = isError[0].match(/([0-9]+)/g);
|
|
64340
|
-
line.length && (this.errorLine = line[0]);
|
|
64341
|
-
} else {
|
|
64342
|
-
this.errorLine = null;
|
|
64343
|
-
}
|
|
64344
|
-
|
|
64345
64366
|
return [2
|
|
64346
64367
|
/*return*/
|
|
64347
64368
|
];
|