@egova/egova-api 1.0.210 → 1.0.213
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
CHANGED
|
@@ -40673,7 +40673,7 @@ module.exports = function (argument) {
|
|
|
40673
40673
|
/***/ "82af":
|
|
40674
40674
|
/***/ (function(module, exports) {
|
|
40675
40675
|
|
|
40676
|
-
module.exports = "<div class=\"v-data-modal-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>编码:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"condition.code\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"enableCache\" slot-scope=\"{row}\">\r\n <span>{{row.enableCache === true ? \"是\" : \"否\"}}</span>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n</div>\r\n"
|
|
40676
|
+
module.exports = "<div class=\"v-data-modal-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>编码:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"condition.code\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"enableCache\" slot-scope=\"{row}\">\r\n <span>{{row.enableCache === true ? \"是\" : \"否\"}}</span>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" placement=\"top\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n</div>\r\n"
|
|
40677
40677
|
|
|
40678
40678
|
/***/ }),
|
|
40679
40679
|
|
|
@@ -42296,7 +42296,7 @@ dom.importCssString(exports.cssText, exports.cssClass);
|
|
|
42296
42296
|
/***/ "981a":
|
|
42297
42297
|
/***/ (function(module, exports) {
|
|
42298
42298
|
|
|
42299
|
-
module.exports = "<div class=\"v-api-project-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>地址:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入地址\" v-model=\"condition.url\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"detail\" slot-scope=\"{row}\">\r\n <a @click=\"onDetail(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-api-project-detail :visiable.sync=\"detailShow\" :model=\"detail\"></u-api-project-detail>\r\n</div>\r\n"
|
|
42299
|
+
module.exports = "<div class=\"v-api-project-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>地址:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入地址\" v-model=\"condition.url\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"detail\" slot-scope=\"{row}\">\r\n <a @click=\"onDetail(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" placement=\"top\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-api-project-detail :visiable.sync=\"detailShow\" :model=\"detail\"></u-api-project-detail>\r\n</div>\r\n"
|
|
42300
42300
|
|
|
42301
42301
|
/***/ }),
|
|
42302
42302
|
|
|
@@ -48843,7 +48843,7 @@ module.exports = uncurryThis([].slice);
|
|
|
48843
48843
|
/***/ "f40e":
|
|
48844
48844
|
/***/ (function(module, exports) {
|
|
48845
48845
|
|
|
48846
|
-
module.exports = "<article class=\"interface-settings\" :class=\"{'script-max': scriptView}\">\r\n <header v-show=\"!scriptView\">\r\n<!-- <i-input class=\"diy-input\" v-model=\"interfaceModel.info.url\">-->\r\n<!-- <i-select transfer slot=\"prepend\" class=\"diy-select\" v-model=\"interfaceModel.info.method\">-->\r\n<!-- <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>-->\r\n<!-- </i-select>-->\r\n<!-- </i-input>-->\r\n <i-select class=\"diy-select method-select\" v-model=\"interfaceModel.info.method\">\r\n <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>\r\n </i-select>\r\n <i-select ref=\"addEnvParamSelect\" class=\"diy-select env-select\" v-model=\"interfaceModel.info.envId\" placeholder=\"请选择环境变量\" clearable>\r\n <i-option v-for=\"item in paramList\" :key=\"item.id\" :value=\"item.id\">{{item.name + \":\" + item.value}}</i-option>\r\n <i-option class=\"add-security-item\" value=\"''\">\r\n <div class=\"add-security-item-content\" @click.stop=\"onAddEnvParam\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新增环境变量</span>\r\n </div>\r\n </i-option>\r\n </i-select>\r\n <i-input class=\"diy-input url-input\" v-model=\"interfaceModel.info.url\"></i-input>\r\n\r\n <i-button type=\"primary\" class=\"diy-btn-primary submit-btn\" @click=\"onRun\">发送</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\" ghost>保存</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary his-btn\" @click=\"onVersion\" ghost>查看历史版本</i-button>\r\n <i class=\"export iconfont icon-xiazai\" title=\"导出\" type=\"md-download\" @click=\"onExport\"></i>\r\n <i-upload action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\r\n <i class=\"import iconfont icon-shangchuan\" title=\"导入\" type=\"md-cloud-upload\"></i>\r\n </i-upload>\r\n\r\n </header>\r\n <main :class=\"{'transverse': !lengthwise}\">\r\n <section class=\"request\">\r\n <div v-show=\"!scriptView\" class=\"request-bar\">\r\n <div\r\n class=\"tag\"\r\n :class=\"{'active': currentRequestSettingType.name.indexOf(item.name) === 0}\"\r\n v-for=\"(item,index) in requertSettingTypeList\"\r\n :key=\"item.name\"\r\n @click=\"onClickRequertSettingTpye(item)\"\r\n >\r\n <span>{{item.title}}</span>\r\n </div>\r\n </div>\r\n <div class=\"request-content\">\r\n <component\r\n :is=\"currentRequestSettingType.name\"\r\n :lengthwise=\"lengthwise\"\r\n :interface-model=\"interfaceModel\"\r\n :response=\"response\"\r\n :key=\"interfaceModel.info.id + currentRequestSettingType.name\"\r\n :projectID=\"projectId\"\r\n :currentSecurityID=\"currentId\"\r\n :errorLine=\"errorLine\"\r\n @on-current-id=\"onCurrentId\"\r\n @on-script-run=\"onScriptRun\"\r\n @on-script-save=\"onSave\"\r\n @on-script-max=\"onScriptMax\"\r\n ></component>\r\n </div>\r\n </section>\r\n <response :key=\"interfaceModel.info.id + 'response'\" :lengthwise=\"lengthwise\" :response=\"response\"></response>\r\n </main>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"getEnvironmentParamList\" :isAdd=\"true\"></u-environment-modal>\r\n</article>\r\n"
|
|
48846
|
+
module.exports = "<article class=\"interface-settings\" :class=\"{'script-max': scriptView}\">\r\n <header v-show=\"!scriptView\">\r\n<!-- <i-input class=\"diy-input\" v-model=\"interfaceModel.info.url\">-->\r\n<!-- <i-select transfer slot=\"prepend\" class=\"diy-select\" v-model=\"interfaceModel.info.method\">-->\r\n<!-- <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>-->\r\n<!-- </i-select>-->\r\n<!-- </i-input>-->\r\n <i-select class=\"diy-select method-select\" v-model=\"interfaceModel.info.method\">\r\n <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>\r\n </i-select>\r\n <i-select ref=\"addEnvParamSelect\" class=\"diy-select env-select\" v-model=\"interfaceModel.info.envId\" placeholder=\"请选择环境变量\" clearable>\r\n <i-option v-for=\"item in paramList\" :key=\"item.id\" :value=\"item.id\">{{item.name + \":\" + item.value}}</i-option>\r\n <i-option class=\"add-security-item\" value=\"''\">\r\n <div class=\"add-security-item-content\" @click.stop=\"onAddEnvParam\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新增环境变量</span>\r\n </div>\r\n </i-option>\r\n </i-select>\r\n <i-input class=\"diy-input url-input\" v-model=\"interfaceModel.info.url\"></i-input>\r\n\r\n <i-button type=\"primary\" class=\"diy-btn-primary submit-btn\" @click=\"onRun\">发送</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\" ghost>保存</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary his-btn\" @click=\"onVersion\" ghost>查看历史版本</i-button>\r\n <i class=\"export iconfont icon-xiazai\" title=\"导出\" type=\"md-download\" @click=\"onExport\"></i>\r\n <i-upload action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\r\n <i class=\"import iconfont icon-shangchuan\" title=\"导入\" type=\"md-cloud-upload\"></i>\r\n </i-upload>\r\n\r\n </header>\r\n <main :class=\"{'transverse': !lengthwise}\">\r\n <section class=\"request\">\r\n <div v-show=\"!scriptView\" class=\"request-bar\">\r\n <div\r\n class=\"tag\"\r\n :class=\"{'active': currentRequestSettingType.name.indexOf(item.name) === 0}\"\r\n v-for=\"(item,index) in requertSettingTypeList\"\r\n :key=\"item.name\"\r\n @click=\"onClickRequertSettingTpye(item)\"\r\n >\r\n <span>{{item.title}}</span>\r\n </div>\r\n </div>\r\n <div class=\"request-content\">\r\n <component\r\n :is=\"currentRequestSettingType.name\"\r\n :lengthwise=\"lengthwise\"\r\n :interface-model=\"interfaceModel\"\r\n :response=\"response\"\r\n :key=\"interfaceModel.info.id + currentRequestSettingType.name\"\r\n :projectID=\"projectId\"\r\n :currentSecurityID=\"currentId\"\r\n :errorLine=\"!originId || originId === interfaceModel.info.id ? errorLine : []\"\r\n @on-current-id=\"onCurrentId\"\r\n @on-script-run=\"onScriptRun\"\r\n @on-script-save=\"onSave\"\r\n @on-script-max=\"onScriptMax\"\r\n ></component>\r\n </div>\r\n </section>\r\n <response :key=\"interfaceModel.info.id + 'response'\" :lengthwise=\"lengthwise\" :response=\"response\"></response>\r\n </main>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"getEnvironmentParamList\" :isAdd=\"true\"></u-environment-modal>\r\n</article>\r\n"
|
|
48847
48847
|
|
|
48848
48848
|
/***/ }),
|
|
48849
48849
|
|
|
@@ -54587,6 +54587,7 @@ function (_super) {
|
|
|
54587
54587
|
}
|
|
54588
54588
|
|
|
54589
54589
|
if (isQuery) {
|
|
54590
|
+
this.taskCategoryID = "";
|
|
54590
54591
|
this.currentNode = data;
|
|
54591
54592
|
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
54592
54593
|
this.getTableData();
|
|
@@ -56097,6 +56098,7 @@ function (_super) {
|
|
|
56097
56098
|
}
|
|
56098
56099
|
|
|
56099
56100
|
if (isQuery) {
|
|
56101
|
+
this.taskCategoryID = "";
|
|
56100
56102
|
this.currentNode = data;
|
|
56101
56103
|
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
56102
56104
|
this.getTableData();
|
|
@@ -60608,8 +60610,6 @@ var pre_execution_setting = __webpack_require__("d928");
|
|
|
60608
60610
|
|
|
60609
60611
|
|
|
60610
60612
|
|
|
60611
|
-
|
|
60612
|
-
|
|
60613
60613
|
|
|
60614
60614
|
var pre_execution_setting_extends = undefined && undefined.__extends || function () {
|
|
60615
60615
|
var _extendStatics = function extendStatics(d, b) {
|
|
@@ -60885,24 +60885,25 @@ function (_super) {
|
|
|
60885
60885
|
|
|
60886
60886
|
|
|
60887
60887
|
PreExecutionSetting.prototype.displayError = function (value) {
|
|
60888
|
-
var _this = this;
|
|
60888
|
+
var _this = this; // 检查错误行是否在当前代码编辑器可视区
|
|
60889
60889
|
|
|
60890
|
-
if (value === null || value === void 0 ? void 0 : value.length) {
|
|
60891
|
-
// 检查错误行是否在当前代码编辑器可视区
|
|
60892
|
-
var textAll_1 = document.getElementsByClassName("ace_gutter-cell"); // 清楚上一次所有的错误图标
|
|
60893
60890
|
|
|
60894
|
-
|
|
60895
|
-
|
|
60891
|
+
var textAll = document.getElementsByClassName("ace_gutter-cell"); // 清楚上一次所有的错误图标
|
|
60892
|
+
|
|
60893
|
+
this.errorMap.forEach(function (value, key) {
|
|
60894
|
+
var _a;
|
|
60895
|
+
|
|
60896
|
+
var son = (_a = textAll[value]) === null || _a === void 0 ? void 0 : _a.firstElementChild;
|
|
60897
|
+
son && textAll[value].removeChild(son);
|
|
60898
|
+
}); // 清楚保存错误信息的容器
|
|
60896
60899
|
|
|
60897
|
-
|
|
60898
|
-
son && textAll_1[value].removeChild(son);
|
|
60899
|
-
}); // 清楚保存错误信息的容器
|
|
60900
|
+
this.errorMap.clear();
|
|
60900
60901
|
|
|
60901
|
-
|
|
60902
|
+
if (value === null || value === void 0 ? void 0 : value.length) {
|
|
60902
60903
|
value.forEach(function (h) {
|
|
60903
|
-
|
|
60904
|
+
textAll === null || textAll === void 0 ? void 0 : textAll.forEach(function (v, index) {
|
|
60904
60905
|
// 如果当前错误行在可视区内
|
|
60905
|
-
if (v === null || v === void 0 ? void 0 : v.innerHTML
|
|
60906
|
+
if ((v === null || v === void 0 ? void 0 : v.innerHTML) === h + "") {
|
|
60906
60907
|
var text = v;
|
|
60907
60908
|
var errIcon = document.createElement("i");
|
|
60908
60909
|
errIcon.className = "iconfont icon-a-cuowutishi1"; // 将节点插入到子节点的首位
|
|
@@ -61040,8 +61041,7 @@ function (_super) {
|
|
|
61040
61041
|
}), pre_execution_setting_metadata("design:type", Object)], PreExecutionSetting.prototype, "errorLine", void 0);
|
|
61041
61042
|
|
|
61042
61043
|
pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine", {
|
|
61043
|
-
immediate: true
|
|
61044
|
-
deep: true
|
|
61044
|
+
immediate: true
|
|
61045
61045
|
}), 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);
|
|
61046
61046
|
|
|
61047
61047
|
PreExecutionSetting = pre_execution_setting_decorate([Object(flagwind_web_["component"])({
|
|
@@ -64131,6 +64131,7 @@ function (_super) {
|
|
|
64131
64131
|
_this.currentId = "";
|
|
64132
64132
|
_this.paramList = [];
|
|
64133
64133
|
_this.errorLine = null;
|
|
64134
|
+
_this.originId = "";
|
|
64134
64135
|
_this.scriptView = false;
|
|
64135
64136
|
_this.typeList = [{
|
|
64136
64137
|
value: "GET",
|
|
@@ -64187,15 +64188,15 @@ function (_super) {
|
|
|
64187
64188
|
};
|
|
64188
64189
|
|
|
64189
64190
|
InterfaceSettings.prototype.onRun = function () {
|
|
64190
|
-
var _a, _b, _c, _d;
|
|
64191
|
+
var _a, _b, _c, _d, _e, _f;
|
|
64191
64192
|
|
|
64192
64193
|
return interface_settings_awaiter(this, void 0, void 0, function () {
|
|
64193
64194
|
var formParams, requestHeaders, index, result;
|
|
64194
64195
|
|
|
64195
64196
|
var _this = this;
|
|
64196
64197
|
|
|
64197
|
-
return interface_settings_generator(this, function (
|
|
64198
|
-
switch (
|
|
64198
|
+
return interface_settings_generator(this, function (_g) {
|
|
64199
|
+
switch (_g.label) {
|
|
64199
64200
|
case 0:
|
|
64200
64201
|
this.loading = true;
|
|
64201
64202
|
formParams = [];
|
|
@@ -64228,7 +64229,7 @@ function (_super) {
|
|
|
64228
64229
|
}))];
|
|
64229
64230
|
|
|
64230
64231
|
case 1:
|
|
64231
|
-
result =
|
|
64232
|
+
result = _g.sent();
|
|
64232
64233
|
this.loading = false;
|
|
64233
64234
|
this.response = (result === null || result === void 0 ? void 0 : result.result) || new Response();
|
|
64234
64235
|
|
|
@@ -64238,7 +64239,14 @@ function (_super) {
|
|
|
64238
64239
|
}
|
|
64239
64240
|
|
|
64240
64241
|
this.responseCache.set(this.interfaceModel.info.id, this.response);
|
|
64241
|
-
|
|
64242
|
+
|
|
64243
|
+
if ((_d = this.response.errorLineNumbers) === null || _d === void 0 ? void 0 : _d.length) {
|
|
64244
|
+
this.errorLine = this.response.errorLineNumbers;
|
|
64245
|
+
} else {
|
|
64246
|
+
this.errorLine = null;
|
|
64247
|
+
}
|
|
64248
|
+
|
|
64249
|
+
this.originId = ((_f = (_e = this.interfaceModel) === null || _e === void 0 ? void 0 : _e.info) === null || _f === void 0 ? void 0 : _f.id) || "";
|
|
64242
64250
|
return [2
|
|
64243
64251
|
/*return*/
|
|
64244
64252
|
];
|
package/dist/index.umd.js
CHANGED
|
@@ -40682,7 +40682,7 @@ module.exports = function (argument) {
|
|
|
40682
40682
|
/***/ "82af":
|
|
40683
40683
|
/***/ (function(module, exports) {
|
|
40684
40684
|
|
|
40685
|
-
module.exports = "<div class=\"v-data-modal-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>编码:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"condition.code\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"enableCache\" slot-scope=\"{row}\">\r\n <span>{{row.enableCache === true ? \"是\" : \"否\"}}</span>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n</div>\r\n"
|
|
40685
|
+
module.exports = "<div class=\"v-data-modal-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>编码:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入编码\" v-model=\"condition.code\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"enableCache\" slot-scope=\"{row}\">\r\n <span>{{row.enableCache === true ? \"是\" : \"否\"}}</span>\r\n </template>\r\n <template slot=\"doc\" slot-scope=\"{row}\">\r\n <a @click=\"onOpenDoc(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" placement=\"top\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-data-model-doc v-model=\"docShow\" :doc=\"doc\"></u-data-model-doc>\r\n</div>\r\n"
|
|
40686
40686
|
|
|
40687
40687
|
/***/ }),
|
|
40688
40688
|
|
|
@@ -42305,7 +42305,7 @@ dom.importCssString(exports.cssText, exports.cssClass);
|
|
|
42305
42305
|
/***/ "981a":
|
|
42306
42306
|
/***/ (function(module, exports) {
|
|
42307
42307
|
|
|
42308
|
-
module.exports = "<div class=\"v-api-project-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>地址:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入地址\" v-model=\"condition.url\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"detail\" slot-scope=\"{row}\">\r\n <a @click=\"onDetail(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-api-project-detail :visiable.sync=\"detailShow\" :model=\"detail\"></u-api-project-detail>\r\n</div>\r\n"
|
|
42308
|
+
module.exports = "<div class=\"v-api-project-list-container\">\r\n <header>\r\n <div class=\"condition\">\r\n <div class=\"input-item\">\r\n <span>名称:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入名称\" v-model=\"condition.name\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"input-item\">\r\n <span>地址:</span>\r\n <i-input class=\"diy-input\" placeholder=\"请输入地址\" v-model=\"condition.url\" @on-enter=\"onSearch\"></i-input>\r\n </div>\r\n <div class=\"search-btn\">\r\n <i-button class=\"diy-btn-primary\" type=\"primary\" @click=\"onSearch\">查询</i-button>\r\n <i-button class=\"diy-btn-default\" @click=\"onEmpty\">重置</i-button>\r\n </div>\r\n </div>\r\n </header>\r\n <main>\r\n <template v-if=\"data?.length\">\r\n <i-table class=\"diy-table\" :columns=\"columns\" :data=\"data\" @on-selection-change=\"onSelected\" @on-row-click=\"onRowClick\">\r\n <template slot=\"detail\" slot-scope=\"{row}\">\r\n <a @click=\"onDetail(row)\">查看</a>\r\n </template>\r\n </i-table>\r\n </template>\r\n <template v-else>\r\n <div class=\"table-no-data\">\r\n <div class=\"table-no-data-bg\"></div>\r\n <div class=\"table-no-data-text\">暂无数据</div>\r\n </div>\r\n </template>\r\n </main>\r\n <div class=\"pagination\" v-if=\"data?.length\">\r\n <i-page class=\"diy-page\" :total=\"page.totalCount\" @on-change=\"onPageIndexChange\" @on-page-size-change=\"onPageSizeChange\" placement=\"top\" show-elevator show-total show-sizer> </i-page>\r\n </div>\r\n <u-api-project-detail :visiable.sync=\"detailShow\" :model=\"detail\"></u-api-project-detail>\r\n</div>\r\n"
|
|
42309
42309
|
|
|
42310
42310
|
/***/ }),
|
|
42311
42311
|
|
|
@@ -48852,7 +48852,7 @@ module.exports = uncurryThis([].slice);
|
|
|
48852
48852
|
/***/ "f40e":
|
|
48853
48853
|
/***/ (function(module, exports) {
|
|
48854
48854
|
|
|
48855
|
-
module.exports = "<article class=\"interface-settings\" :class=\"{'script-max': scriptView}\">\r\n <header v-show=\"!scriptView\">\r\n<!-- <i-input class=\"diy-input\" v-model=\"interfaceModel.info.url\">-->\r\n<!-- <i-select transfer slot=\"prepend\" class=\"diy-select\" v-model=\"interfaceModel.info.method\">-->\r\n<!-- <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>-->\r\n<!-- </i-select>-->\r\n<!-- </i-input>-->\r\n <i-select class=\"diy-select method-select\" v-model=\"interfaceModel.info.method\">\r\n <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>\r\n </i-select>\r\n <i-select ref=\"addEnvParamSelect\" class=\"diy-select env-select\" v-model=\"interfaceModel.info.envId\" placeholder=\"请选择环境变量\" clearable>\r\n <i-option v-for=\"item in paramList\" :key=\"item.id\" :value=\"item.id\">{{item.name + \":\" + item.value}}</i-option>\r\n <i-option class=\"add-security-item\" value=\"''\">\r\n <div class=\"add-security-item-content\" @click.stop=\"onAddEnvParam\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新增环境变量</span>\r\n </div>\r\n </i-option>\r\n </i-select>\r\n <i-input class=\"diy-input url-input\" v-model=\"interfaceModel.info.url\"></i-input>\r\n\r\n <i-button type=\"primary\" class=\"diy-btn-primary submit-btn\" @click=\"onRun\">发送</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\" ghost>保存</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary his-btn\" @click=\"onVersion\" ghost>查看历史版本</i-button>\r\n <i class=\"export iconfont icon-xiazai\" title=\"导出\" type=\"md-download\" @click=\"onExport\"></i>\r\n <i-upload action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\r\n <i class=\"import iconfont icon-shangchuan\" title=\"导入\" type=\"md-cloud-upload\"></i>\r\n </i-upload>\r\n\r\n </header>\r\n <main :class=\"{'transverse': !lengthwise}\">\r\n <section class=\"request\">\r\n <div v-show=\"!scriptView\" class=\"request-bar\">\r\n <div\r\n class=\"tag\"\r\n :class=\"{'active': currentRequestSettingType.name.indexOf(item.name) === 0}\"\r\n v-for=\"(item,index) in requertSettingTypeList\"\r\n :key=\"item.name\"\r\n @click=\"onClickRequertSettingTpye(item)\"\r\n >\r\n <span>{{item.title}}</span>\r\n </div>\r\n </div>\r\n <div class=\"request-content\">\r\n <component\r\n :is=\"currentRequestSettingType.name\"\r\n :lengthwise=\"lengthwise\"\r\n :interface-model=\"interfaceModel\"\r\n :response=\"response\"\r\n :key=\"interfaceModel.info.id + currentRequestSettingType.name\"\r\n :projectID=\"projectId\"\r\n :currentSecurityID=\"currentId\"\r\n :errorLine=\"errorLine\"\r\n @on-current-id=\"onCurrentId\"\r\n @on-script-run=\"onScriptRun\"\r\n @on-script-save=\"onSave\"\r\n @on-script-max=\"onScriptMax\"\r\n ></component>\r\n </div>\r\n </section>\r\n <response :key=\"interfaceModel.info.id + 'response'\" :lengthwise=\"lengthwise\" :response=\"response\"></response>\r\n </main>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"getEnvironmentParamList\" :isAdd=\"true\"></u-environment-modal>\r\n</article>\r\n"
|
|
48855
|
+
module.exports = "<article class=\"interface-settings\" :class=\"{'script-max': scriptView}\">\r\n <header v-show=\"!scriptView\">\r\n<!-- <i-input class=\"diy-input\" v-model=\"interfaceModel.info.url\">-->\r\n<!-- <i-select transfer slot=\"prepend\" class=\"diy-select\" v-model=\"interfaceModel.info.method\">-->\r\n<!-- <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>-->\r\n<!-- </i-select>-->\r\n<!-- </i-input>-->\r\n <i-select class=\"diy-select method-select\" v-model=\"interfaceModel.info.method\">\r\n <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>\r\n </i-select>\r\n <i-select ref=\"addEnvParamSelect\" class=\"diy-select env-select\" v-model=\"interfaceModel.info.envId\" placeholder=\"请选择环境变量\" clearable>\r\n <i-option v-for=\"item in paramList\" :key=\"item.id\" :value=\"item.id\">{{item.name + \":\" + item.value}}</i-option>\r\n <i-option class=\"add-security-item\" value=\"''\">\r\n <div class=\"add-security-item-content\" @click.stop=\"onAddEnvParam\">\r\n <i class=\"api-icon icon-add\"></i>\r\n <span>新增环境变量</span>\r\n </div>\r\n </i-option>\r\n </i-select>\r\n <i-input class=\"diy-input url-input\" v-model=\"interfaceModel.info.url\"></i-input>\r\n\r\n <i-button type=\"primary\" class=\"diy-btn-primary submit-btn\" @click=\"onRun\">发送</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\" ghost>保存</i-button>\r\n <i-button type=\"primary\" class=\"diy-btn-primary his-btn\" @click=\"onVersion\" ghost>查看历史版本</i-button>\r\n <i class=\"export iconfont icon-xiazai\" title=\"导出\" type=\"md-download\" @click=\"onExport\"></i>\r\n <i-upload action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\r\n <i class=\"import iconfont icon-shangchuan\" title=\"导入\" type=\"md-cloud-upload\"></i>\r\n </i-upload>\r\n\r\n </header>\r\n <main :class=\"{'transverse': !lengthwise}\">\r\n <section class=\"request\">\r\n <div v-show=\"!scriptView\" class=\"request-bar\">\r\n <div\r\n class=\"tag\"\r\n :class=\"{'active': currentRequestSettingType.name.indexOf(item.name) === 0}\"\r\n v-for=\"(item,index) in requertSettingTypeList\"\r\n :key=\"item.name\"\r\n @click=\"onClickRequertSettingTpye(item)\"\r\n >\r\n <span>{{item.title}}</span>\r\n </div>\r\n </div>\r\n <div class=\"request-content\">\r\n <component\r\n :is=\"currentRequestSettingType.name\"\r\n :lengthwise=\"lengthwise\"\r\n :interface-model=\"interfaceModel\"\r\n :response=\"response\"\r\n :key=\"interfaceModel.info.id + currentRequestSettingType.name\"\r\n :projectID=\"projectId\"\r\n :currentSecurityID=\"currentId\"\r\n :errorLine=\"!originId || originId === interfaceModel.info.id ? errorLine : []\"\r\n @on-current-id=\"onCurrentId\"\r\n @on-script-run=\"onScriptRun\"\r\n @on-script-save=\"onSave\"\r\n @on-script-max=\"onScriptMax\"\r\n ></component>\r\n </div>\r\n </section>\r\n <response :key=\"interfaceModel.info.id + 'response'\" :lengthwise=\"lengthwise\" :response=\"response\"></response>\r\n </main>\r\n <i-spin fix v-show=\"loading\">\r\n <i class=\"spin-icon-load ivu-icon\"></i>\r\n </i-spin>\r\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"getEnvironmentParamList\" :isAdd=\"true\"></u-environment-modal>\r\n</article>\r\n"
|
|
48856
48856
|
|
|
48857
48857
|
/***/ }),
|
|
48858
48858
|
|
|
@@ -54596,6 +54596,7 @@ function (_super) {
|
|
|
54596
54596
|
}
|
|
54597
54597
|
|
|
54598
54598
|
if (isQuery) {
|
|
54599
|
+
this.taskCategoryID = "";
|
|
54599
54600
|
this.currentNode = data;
|
|
54600
54601
|
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
54601
54602
|
this.getTableData();
|
|
@@ -56106,6 +56107,7 @@ function (_super) {
|
|
|
56106
56107
|
}
|
|
56107
56108
|
|
|
56108
56109
|
if (isQuery) {
|
|
56110
|
+
this.taskCategoryID = "";
|
|
56109
56111
|
this.currentNode = data;
|
|
56110
56112
|
this.condition.categoryId = this.currentNode.id === "virtual_root_directory" ? "" : this.currentNode.id;
|
|
56111
56113
|
this.getTableData();
|
|
@@ -60617,8 +60619,6 @@ var pre_execution_setting = __webpack_require__("d928");
|
|
|
60617
60619
|
|
|
60618
60620
|
|
|
60619
60621
|
|
|
60620
|
-
|
|
60621
|
-
|
|
60622
60622
|
|
|
60623
60623
|
var pre_execution_setting_extends = undefined && undefined.__extends || function () {
|
|
60624
60624
|
var _extendStatics = function extendStatics(d, b) {
|
|
@@ -60894,24 +60894,25 @@ function (_super) {
|
|
|
60894
60894
|
|
|
60895
60895
|
|
|
60896
60896
|
PreExecutionSetting.prototype.displayError = function (value) {
|
|
60897
|
-
var _this = this;
|
|
60897
|
+
var _this = this; // 检查错误行是否在当前代码编辑器可视区
|
|
60898
60898
|
|
|
60899
|
-
if (value === null || value === void 0 ? void 0 : value.length) {
|
|
60900
|
-
// 检查错误行是否在当前代码编辑器可视区
|
|
60901
|
-
var textAll_1 = document.getElementsByClassName("ace_gutter-cell"); // 清楚上一次所有的错误图标
|
|
60902
60899
|
|
|
60903
|
-
|
|
60904
|
-
|
|
60900
|
+
var textAll = document.getElementsByClassName("ace_gutter-cell"); // 清楚上一次所有的错误图标
|
|
60901
|
+
|
|
60902
|
+
this.errorMap.forEach(function (value, key) {
|
|
60903
|
+
var _a;
|
|
60904
|
+
|
|
60905
|
+
var son = (_a = textAll[value]) === null || _a === void 0 ? void 0 : _a.firstElementChild;
|
|
60906
|
+
son && textAll[value].removeChild(son);
|
|
60907
|
+
}); // 清楚保存错误信息的容器
|
|
60905
60908
|
|
|
60906
|
-
|
|
60907
|
-
son && textAll_1[value].removeChild(son);
|
|
60908
|
-
}); // 清楚保存错误信息的容器
|
|
60909
|
+
this.errorMap.clear();
|
|
60909
60910
|
|
|
60910
|
-
|
|
60911
|
+
if (value === null || value === void 0 ? void 0 : value.length) {
|
|
60911
60912
|
value.forEach(function (h) {
|
|
60912
|
-
|
|
60913
|
+
textAll === null || textAll === void 0 ? void 0 : textAll.forEach(function (v, index) {
|
|
60913
60914
|
// 如果当前错误行在可视区内
|
|
60914
|
-
if (v === null || v === void 0 ? void 0 : v.innerHTML
|
|
60915
|
+
if ((v === null || v === void 0 ? void 0 : v.innerHTML) === h + "") {
|
|
60915
60916
|
var text = v;
|
|
60916
60917
|
var errIcon = document.createElement("i");
|
|
60917
60918
|
errIcon.className = "iconfont icon-a-cuowutishi1"; // 将节点插入到子节点的首位
|
|
@@ -61049,8 +61050,7 @@ function (_super) {
|
|
|
61049
61050
|
}), pre_execution_setting_metadata("design:type", Object)], PreExecutionSetting.prototype, "errorLine", void 0);
|
|
61050
61051
|
|
|
61051
61052
|
pre_execution_setting_decorate([Object(flagwind_web_["watch"])("errorLine", {
|
|
61052
|
-
immediate: true
|
|
61053
|
-
deep: true
|
|
61053
|
+
immediate: true
|
|
61054
61054
|
}), 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);
|
|
61055
61055
|
|
|
61056
61056
|
PreExecutionSetting = pre_execution_setting_decorate([Object(flagwind_web_["component"])({
|
|
@@ -64140,6 +64140,7 @@ function (_super) {
|
|
|
64140
64140
|
_this.currentId = "";
|
|
64141
64141
|
_this.paramList = [];
|
|
64142
64142
|
_this.errorLine = null;
|
|
64143
|
+
_this.originId = "";
|
|
64143
64144
|
_this.scriptView = false;
|
|
64144
64145
|
_this.typeList = [{
|
|
64145
64146
|
value: "GET",
|
|
@@ -64196,15 +64197,15 @@ function (_super) {
|
|
|
64196
64197
|
};
|
|
64197
64198
|
|
|
64198
64199
|
InterfaceSettings.prototype.onRun = function () {
|
|
64199
|
-
var _a, _b, _c, _d;
|
|
64200
|
+
var _a, _b, _c, _d, _e, _f;
|
|
64200
64201
|
|
|
64201
64202
|
return interface_settings_awaiter(this, void 0, void 0, function () {
|
|
64202
64203
|
var formParams, requestHeaders, index, result;
|
|
64203
64204
|
|
|
64204
64205
|
var _this = this;
|
|
64205
64206
|
|
|
64206
|
-
return interface_settings_generator(this, function (
|
|
64207
|
-
switch (
|
|
64207
|
+
return interface_settings_generator(this, function (_g) {
|
|
64208
|
+
switch (_g.label) {
|
|
64208
64209
|
case 0:
|
|
64209
64210
|
this.loading = true;
|
|
64210
64211
|
formParams = [];
|
|
@@ -64237,7 +64238,7 @@ function (_super) {
|
|
|
64237
64238
|
}))];
|
|
64238
64239
|
|
|
64239
64240
|
case 1:
|
|
64240
|
-
result =
|
|
64241
|
+
result = _g.sent();
|
|
64241
64242
|
this.loading = false;
|
|
64242
64243
|
this.response = (result === null || result === void 0 ? void 0 : result.result) || new Response();
|
|
64243
64244
|
|
|
@@ -64247,7 +64248,14 @@ function (_super) {
|
|
|
64247
64248
|
}
|
|
64248
64249
|
|
|
64249
64250
|
this.responseCache.set(this.interfaceModel.info.id, this.response);
|
|
64250
|
-
|
|
64251
|
+
|
|
64252
|
+
if ((_d = this.response.errorLineNumbers) === null || _d === void 0 ? void 0 : _d.length) {
|
|
64253
|
+
this.errorLine = this.response.errorLineNumbers;
|
|
64254
|
+
} else {
|
|
64255
|
+
this.errorLine = null;
|
|
64256
|
+
}
|
|
64257
|
+
|
|
64258
|
+
this.originId = ((_f = (_e = this.interfaceModel) === null || _e === void 0 ? void 0 : _e.info) === null || _f === void 0 ? void 0 : _f.id) || "";
|
|
64251
64259
|
return [2
|
|
64252
64260
|
/*return*/
|
|
64253
64261
|
];
|