@egova/egova-api 1.0.188 → 1.0.191
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 +127 -9
- package/dist/index.css +1 -1
- package/dist/index.umd.js +127 -9
- package/dist/index.umd.min.js +3 -3
- package/dist/static/fonts/{iconfont.d22ec3ac.ttf → iconfont.a51d741a.ttf} +0 -0
- package/dist/static/fonts/iconfont.e026a822.woff +0 -0
- package/dist/static/fonts/{iconfont.ef4121cb.eot → iconfont.f6992099.eot} +0 -0
- package/dist/static/img/{iconfont.a93c57e1.svg → iconfont.406302a2.svg} +271 -269
- package/dist/types/src/views/project-detail/environment-variable-modal/index.d.ts +3 -0
- package/dist/types/src/views/project-detail/pre-execution-setting/index.d.ts +5 -0
- package/package.json +2 -2
- package/dist/static/fonts/iconfont.c1e56720.woff +0 -0
package/dist/index.umd.js
CHANGED
|
@@ -21190,7 +21190,7 @@ exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDes
|
|
|
21190
21190
|
/***/ "07ab":
|
|
21191
21191
|
/***/ (function(module, exports) {
|
|
21192
21192
|
|
|
21193
|
-
module.exports = "<div class=\"u-tree-node\" @click=\"onClickNode\">\n<!-- <i class=\"iconfont\" :class=\"data.expand? 'icon-expand': 'icon-unexpand'\"></i>-->\n <i class=\"iconfont icon-
|
|
21193
|
+
module.exports = "<div class=\"u-tree-node\" @click=\"onClickNode\">\n<!-- <i class=\"iconfont\" :class=\"data.expand? 'icon-expand': 'icon-unexpand'\"></i>-->\n <i class=\"iconfont icon-mulushu\"></i>\n <div class=\"name\">{{data.name}}</div>\n <i-dropdown @on-click=\"onClick\" transfer transfer-class-name=\"node-oprate\" v-if=\"data.id !== 'virtual_root_directory'\">\n <i-icon type=\"ios-more\" />\n <i-dropdown-menu slot=\"list\">\n <i-dropdown-item v-for=\"item in actions\" :key=\"item.name\" :name=\"item.name\">\n <template v-if=\"item.name === 'import'\">\n <i-upload\n class=\"action-item\"\n :action=\"uploadAction\"\n :data=\"uploadParams\"\n accept=\".json\"\n :headers=\"headers\"\n :show-upload-list=\"false\"\n :format=\"['json']\"\n :on-success=\"onSuccess\"\n :before-upload=\"onBeforeUpload\"\n :on-format-error=\"onFormatError\"\n >\n <i title=\"导入\" class=\"iconfont icon-import\"></i>{{item.text}}\n </i-upload>\n </template>\n <template v-else> <i class=\"iconfont\" :class=\"'icon-' + (item.icon || item.name)\"></i>{{item.text}} </template>\n </i-dropdown-item>\n </i-dropdown-menu>\n </i-dropdown>\n</div>\n"
|
|
21194
21194
|
|
|
21195
21195
|
/***/ }),
|
|
21196
21196
|
|
|
@@ -41934,7 +41934,7 @@ module.exports = function (S, index, unicode) {
|
|
|
41934
41934
|
/***/ "8ab8":
|
|
41935
41935
|
/***/ (function(module, exports) {
|
|
41936
41936
|
|
|
41937
|
-
module.exports = "<article class=\"pre-execution-setting\">\
|
|
41937
|
+
module.exports = "<article class=\"pre-execution-setting\">\n <section class=\"script\">\n <u-editor\n @inited=\"onEditorInited\"\n :value.sync=\"script\"\n lang=\"groovy\"\n ></u-editor>\n </section>\n <section class=\"quick-input\">\n <div class=\"info\">\n <p>{{scriptData.description}}</p>\n <!-- <ul>\n <li>request: 请求</li>\n </ul> -->\n </div>\n <i-input class=\"diy-input\" v-model=\"keyword\" @on-change=\"onFilter\" placeholder=\"输入关键字查询\">\n <i class=\"iconfont icon-chaxun\" slot=\"prefix\"></i>\n </i-input>\n <div class=\"quick-list\">\n <div v-for=\"(type, index) in tempScriptData.group\" class=\"quick-type\">\n <div class=\"quick-type-name\" @click=\"onQuickGroupClick(index)\">\n <i-icon type=\"md-arrow-dropright\" :class=\"type.expand ? 'expand' : ''\"/>\n <p>{{type.name}}</p>\n </div>\n <div\n v-show=\"type.expand\"\n v-for=\"item in type.list\"\n :key=\"item.name\"\n class=\"quick-item\"\n @click=\"onClickItem(item)\"\n >\n <i class=\"api-icon icon-item\"></i> {{item.name}}\n </div>\n </div>\n </div>\n </section>\n</article>\n"
|
|
41938
41938
|
|
|
41939
41939
|
/***/ }),
|
|
41940
41940
|
|
|
@@ -48838,7 +48838,7 @@ module.exports = uncurryThis([].slice);
|
|
|
48838
48838
|
/***/ "f40e":
|
|
48839
48839
|
/***/ (function(module, exports) {
|
|
48840
48840
|
|
|
48841
|
-
module.exports = "<article class=\"interface-settings\">\n <header>\n<!-- <i-input class=\"diy-input\" v-model=\"interfaceModel.info.url\">-->\n<!-- <i-select transfer slot=\"prepend\" class=\"diy-select\" v-model=\"interfaceModel.info.method\">-->\n<!-- <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>-->\n<!-- </i-select>-->\n<!-- </i-input>-->\n <i-select class=\"diy-select method-select\" v-model=\"interfaceModel.info.method\">\n <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>\n </i-select>\n <i-select ref=\"addEnvParamSelect\" class=\"diy-select env-select\" v-model=\"interfaceModel.info.envId\" placeholder=\"请选择环境变量\" clearable>\n <i-option v-for=\"item in paramList\" :key=\"item.id\" :value=\"item.id\">{{item.name + \":\" + item.value}}</i-option>\n <i-option class=\"add-security-item\" value=\"''\">\n <div class=\"add-security-item-content\" @click.stop=\"onAddEnvParam\">\n <i class=\"api-icon icon-add\"></i>\n <span>新增环境变量</span>\n </div>\n </i-option>\n </i-select>\n <i-input class=\"diy-input url-input\" v-model=\"interfaceModel.info.url\"></i-input>\n\n <i-button type=\"primary\" class=\"diy-btn-primary submit-btn\" @click=\"onRun\">发送</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\" ghost>保存</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary his-btn\" @click=\"onVersion\" ghost>查看历史版本</i-button>\n <i class=\"export iconfont icon-xiazai\" title=\"导出\" type=\"md-download\" @click=\"onExport\"></i>\n <i-upload action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\n <i class=\"import iconfont icon-shangchuan\" title=\"导入\" type=\"md-cloud-upload\"></i>\n </i-upload>\n\n </header>\n <main :class=\"{'transverse': !lengthwise}\">\n <section class=\"request\">\n <div class=\"request-bar\">\n <div\n class=\"tag\"\n :class=\"{'active': currentRequestSettingType.name.indexOf(item.name) === 0}\"\n v-for=\"(item,index) in requertSettingTypeList\"\n :key=\"item.name\"\n @click=\"onClickRequertSettingTpye(item)\"\n >\n <span>{{item.title}}</span>\n </div>\n </div>\n <div class=\"request-content\">\n <component\n :is=\"currentRequestSettingType.name\"\n :lengthwise=\"lengthwise\"\n :interface-model=\"interfaceModel\"\n :response=\"response\"\n :key=\"interfaceModel.info.id + currentRequestSettingType.name\"\n :projectID=\"projectId\"\n :currentSecurityID=\"currentId\"\n @on-current-id=\"onCurrentId\"\n ></component>\n </div>\n </section>\n <response :key=\"interfaceModel.info.id + 'response'\" :lengthwise=\"lengthwise\" :response=\"response\"></response>\n </main>\n <i-spin fix v-show=\"loading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"getEnvironmentParamList\"></u-environment-modal>\n</article>\n"
|
|
48841
|
+
module.exports = "<article class=\"interface-settings\">\n <header>\n<!-- <i-input class=\"diy-input\" v-model=\"interfaceModel.info.url\">-->\n<!-- <i-select transfer slot=\"prepend\" class=\"diy-select\" v-model=\"interfaceModel.info.method\">-->\n<!-- <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>-->\n<!-- </i-select>-->\n<!-- </i-input>-->\n <i-select class=\"diy-select method-select\" v-model=\"interfaceModel.info.method\">\n <i-option v-for=\"item in typeList\" :key=\"item.value\" :value=\"item.value\">{{item.text}}</i-option>\n </i-select>\n <i-select ref=\"addEnvParamSelect\" class=\"diy-select env-select\" v-model=\"interfaceModel.info.envId\" placeholder=\"请选择环境变量\" clearable>\n <i-option v-for=\"item in paramList\" :key=\"item.id\" :value=\"item.id\">{{item.name + \":\" + item.value}}</i-option>\n <i-option class=\"add-security-item\" value=\"''\">\n <div class=\"add-security-item-content\" @click.stop=\"onAddEnvParam\">\n <i class=\"api-icon icon-add\"></i>\n <span>新增环境变量</span>\n </div>\n </i-option>\n </i-select>\n <i-input class=\"diy-input url-input\" v-model=\"interfaceModel.info.url\"></i-input>\n\n <i-button type=\"primary\" class=\"diy-btn-primary submit-btn\" @click=\"onRun\">发送</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary\" @click=\"onSave\" ghost>保存</i-button>\n <i-button type=\"primary\" class=\"diy-btn-primary his-btn\" @click=\"onVersion\" ghost>查看历史版本</i-button>\n <i class=\"export iconfont icon-xiazai\" title=\"导出\" type=\"md-download\" @click=\"onExport\"></i>\n <i-upload action=\"\" :before-upload=\"onImport\" :show-upload-list=\"false\">\n <i class=\"import iconfont icon-shangchuan\" title=\"导入\" type=\"md-cloud-upload\"></i>\n </i-upload>\n\n </header>\n <main :class=\"{'transverse': !lengthwise}\">\n <section class=\"request\">\n <div class=\"request-bar\">\n <div\n class=\"tag\"\n :class=\"{'active': currentRequestSettingType.name.indexOf(item.name) === 0}\"\n v-for=\"(item,index) in requertSettingTypeList\"\n :key=\"item.name\"\n @click=\"onClickRequertSettingTpye(item)\"\n >\n <span>{{item.title}}</span>\n </div>\n </div>\n <div class=\"request-content\">\n <component\n :is=\"currentRequestSettingType.name\"\n :lengthwise=\"lengthwise\"\n :interface-model=\"interfaceModel\"\n :response=\"response\"\n :key=\"interfaceModel.info.id + currentRequestSettingType.name\"\n :projectID=\"projectId\"\n :currentSecurityID=\"currentId\"\n @on-current-id=\"onCurrentId\"\n ></component>\n </div>\n </section>\n <response :key=\"interfaceModel.info.id + 'response'\" :lengthwise=\"lengthwise\" :response=\"response\"></response>\n </main>\n <i-spin fix v-show=\"loading\">\n <i class=\"spin-icon-load ivu-icon\"></i>\n </i-spin>\n <u-environment-modal :visiable.sync=\"showEnvironmentModal\" :projectId=\"projectId\" @on-refresh=\"getEnvironmentParamList\" :isAdd=\"true\"></u-environment-modal>\n</article>\n"
|
|
48842
48842
|
|
|
48843
48843
|
/***/ }),
|
|
48844
48844
|
|
|
@@ -59813,6 +59813,7 @@ var lodash_debounce_default = /*#__PURE__*/__webpack_require__.n(lodash_debounce
|
|
|
59813
59813
|
|
|
59814
59814
|
|
|
59815
59815
|
|
|
59816
|
+
|
|
59816
59817
|
var environment_variable_modal_extends = undefined && undefined.__extends || function () {
|
|
59817
59818
|
var _extendStatics = function extendStatics(d, b) {
|
|
59818
59819
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -60013,6 +60014,8 @@ function (_super) {
|
|
|
60013
60014
|
function EnvironmentVariableModal() {
|
|
60014
60015
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
60015
60016
|
|
|
60017
|
+
_this.isAddOnce = false;
|
|
60018
|
+
_this.exitAddItem = false;
|
|
60016
60019
|
_this.varList = [];
|
|
60017
60020
|
_this.keyword = "";
|
|
60018
60021
|
_this.currentItem = {};
|
|
@@ -60049,6 +60052,7 @@ function (_super) {
|
|
|
60049
60052
|
return environment_variable_modal_awaiter(this, void 0, void 0, function () {
|
|
60050
60053
|
return environment_variable_modal_generator(this, function (_a) {
|
|
60051
60054
|
if (show) {
|
|
60055
|
+
this.isAddOnce = this.isAdd;
|
|
60052
60056
|
this.getVariableList();
|
|
60053
60057
|
}
|
|
60054
60058
|
|
|
@@ -60089,6 +60093,13 @@ function (_super) {
|
|
|
60089
60093
|
|
|
60090
60094
|
if (!(res === null || res === void 0 ? void 0 : res.hasError)) {
|
|
60091
60095
|
this.varList = res.result || [];
|
|
60096
|
+
|
|
60097
|
+
if (this.isAddOnce || this.exitAddItem) {
|
|
60098
|
+
this.onAddItem();
|
|
60099
|
+
this.isAddOnce = false;
|
|
60100
|
+
this.exitAddItem = false;
|
|
60101
|
+
}
|
|
60102
|
+
|
|
60092
60103
|
this.varList.length && this.onSelectItem(this.varList[0]);
|
|
60093
60104
|
}
|
|
60094
60105
|
|
|
@@ -60132,6 +60143,13 @@ function (_super) {
|
|
|
60132
60143
|
if (!item.id) return [3
|
|
60133
60144
|
/*break*/
|
|
60134
60145
|
, 2];
|
|
60146
|
+
|
|
60147
|
+
if (this.varList.find(function (item) {
|
|
60148
|
+
return !item.id;
|
|
60149
|
+
})) {
|
|
60150
|
+
this.exitAddItem = true;
|
|
60151
|
+
}
|
|
60152
|
+
|
|
60135
60153
|
return [4
|
|
60136
60154
|
/*yield*/
|
|
60137
60155
|
, this.service.deleteVariable(item.id)];
|
|
@@ -60241,6 +60259,11 @@ function (_super) {
|
|
|
60241
60259
|
default: ""
|
|
60242
60260
|
}), environment_variable_modal_metadata("design:type", String)], EnvironmentVariableModal.prototype, "projectId", void 0);
|
|
60243
60261
|
|
|
60262
|
+
environment_variable_modal_decorate([Object(flagwind_web_["config"])({
|
|
60263
|
+
type: Boolean,
|
|
60264
|
+
default: false
|
|
60265
|
+
}), environment_variable_modal_metadata("design:type", Boolean)], EnvironmentVariableModal.prototype, "isAdd", void 0);
|
|
60266
|
+
|
|
60244
60267
|
environment_variable_modal_decorate([Object(flagwind_web_["watch"])("value"), environment_variable_modal_metadata("design:type", Function), environment_variable_modal_metadata("design:paramtypes", [Boolean]), environment_variable_modal_metadata("design:returntype", Promise)], EnvironmentVariableModal.prototype, "onShowChange", null);
|
|
60245
60268
|
|
|
60246
60269
|
environment_variable_modal_decorate([Object(flagwind_web_["watch"])("varList.length", {
|
|
@@ -60357,6 +60380,11 @@ var pre_execution_setting = __webpack_require__("d928");
|
|
|
60357
60380
|
|
|
60358
60381
|
|
|
60359
60382
|
|
|
60383
|
+
|
|
60384
|
+
|
|
60385
|
+
|
|
60386
|
+
|
|
60387
|
+
|
|
60360
60388
|
var pre_execution_setting_extends = undefined && undefined.__extends || function () {
|
|
60361
60389
|
var _extendStatics = function extendStatics(d, b) {
|
|
60362
60390
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -60385,6 +60413,22 @@ var pre_execution_setting_extends = undefined && undefined.__extends || function
|
|
|
60385
60413
|
};
|
|
60386
60414
|
}();
|
|
60387
60415
|
|
|
60416
|
+
var pre_execution_setting_assign = undefined && undefined.__assign || function () {
|
|
60417
|
+
pre_execution_setting_assign = Object.assign || function (t) {
|
|
60418
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
60419
|
+
s = arguments[i];
|
|
60420
|
+
|
|
60421
|
+
for (var p in s) {
|
|
60422
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
60423
|
+
}
|
|
60424
|
+
}
|
|
60425
|
+
|
|
60426
|
+
return t;
|
|
60427
|
+
};
|
|
60428
|
+
|
|
60429
|
+
return pre_execution_setting_assign.apply(this, arguments);
|
|
60430
|
+
};
|
|
60431
|
+
|
|
60388
60432
|
var pre_execution_setting_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
60389
60433
|
var c = arguments.length,
|
|
60390
60434
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -60550,6 +60594,7 @@ var pre_execution_setting_generator = undefined && undefined.__generator || func
|
|
|
60550
60594
|
|
|
60551
60595
|
|
|
60552
60596
|
|
|
60597
|
+
|
|
60553
60598
|
var pre_execution_setting_PreExecutionSetting =
|
|
60554
60599
|
/** @class */
|
|
60555
60600
|
function (_super) {
|
|
@@ -60559,8 +60604,13 @@ function (_super) {
|
|
|
60559
60604
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
60560
60605
|
|
|
60561
60606
|
_this.scriptData = {};
|
|
60607
|
+
_this.tempScriptData = {};
|
|
60562
60608
|
_this.model = new PreScript();
|
|
60563
60609
|
_this.key = "preScripts";
|
|
60610
|
+
_this.keyword = "";
|
|
60611
|
+
_this.onFilter = lodash_debounce_default()(function () {
|
|
60612
|
+
_this.filterTypeList();
|
|
60613
|
+
}, 300);
|
|
60564
60614
|
return _this;
|
|
60565
60615
|
}
|
|
60566
60616
|
|
|
@@ -60569,18 +60619,26 @@ function (_super) {
|
|
|
60569
60619
|
};
|
|
60570
60620
|
|
|
60571
60621
|
PreExecutionSetting.prototype.getScript = function () {
|
|
60622
|
+
var _a;
|
|
60623
|
+
|
|
60572
60624
|
return pre_execution_setting_awaiter(this, void 0, void 0, function () {
|
|
60573
60625
|
var result;
|
|
60574
|
-
return pre_execution_setting_generator(this, function (
|
|
60575
|
-
switch (
|
|
60626
|
+
return pre_execution_setting_generator(this, function (_b) {
|
|
60627
|
+
switch (_b.label) {
|
|
60576
60628
|
case 0:
|
|
60577
60629
|
return [4
|
|
60578
60630
|
/*yield*/
|
|
60579
60631
|
, this.service.preScript()];
|
|
60580
60632
|
|
|
60581
60633
|
case 1:
|
|
60582
|
-
result =
|
|
60634
|
+
result = _b.sent();
|
|
60583
60635
|
this.scriptData = result || {};
|
|
60636
|
+
this.scriptData.group = (_a = this.scriptData.group) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
60637
|
+
return pre_execution_setting_assign(pre_execution_setting_assign({}, item), {
|
|
60638
|
+
expand: true
|
|
60639
|
+
});
|
|
60640
|
+
});
|
|
60641
|
+
this.tempScriptData = this.scriptData.$clone();
|
|
60584
60642
|
return [2
|
|
60585
60643
|
/*return*/
|
|
60586
60644
|
];
|
|
@@ -60609,6 +60667,40 @@ function (_super) {
|
|
|
60609
60667
|
configurable: true
|
|
60610
60668
|
});
|
|
60611
60669
|
|
|
60670
|
+
PreExecutionSetting.prototype.filterTypeList = function () {
|
|
60671
|
+
var _this = this;
|
|
60672
|
+
|
|
60673
|
+
if (this.keyword) {
|
|
60674
|
+
var tempGroup = this.scriptData.group.map(function (item) {
|
|
60675
|
+
return pre_execution_setting_assign(pre_execution_setting_assign({}, item), {
|
|
60676
|
+
list: item.list.filter(function (listItem) {
|
|
60677
|
+
return listItem.name.indexOf(_this.keyword) !== -1;
|
|
60678
|
+
})
|
|
60679
|
+
});
|
|
60680
|
+
});
|
|
60681
|
+
this.tempScriptData.group = tempGroup.filter(function (item) {
|
|
60682
|
+
return item.list.length;
|
|
60683
|
+
});
|
|
60684
|
+
} else {
|
|
60685
|
+
this.tempScriptData = this.scriptData.$clone();
|
|
60686
|
+
}
|
|
60687
|
+
};
|
|
60688
|
+
|
|
60689
|
+
PreExecutionSetting.prototype.onQuickGroupClick = function (type) {
|
|
60690
|
+
var _a, _b;
|
|
60691
|
+
|
|
60692
|
+
(_a = this.scriptData.group) === null || _a === void 0 ? void 0 : _a.forEach(function (item) {
|
|
60693
|
+
if (type.name === item.name) {
|
|
60694
|
+
item.expand = !item.expand;
|
|
60695
|
+
}
|
|
60696
|
+
});
|
|
60697
|
+
(_b = this.tempScriptData.group) === null || _b === void 0 ? void 0 : _b.forEach(function (item) {
|
|
60698
|
+
if (type.name === item.name) {
|
|
60699
|
+
item.expand = !item.expand;
|
|
60700
|
+
}
|
|
60701
|
+
});
|
|
60702
|
+
};
|
|
60703
|
+
|
|
60612
60704
|
var _a, _b;
|
|
60613
60705
|
|
|
60614
60706
|
pre_execution_setting_decorate([Object(flagwind_web_["config"])({
|
|
@@ -60643,6 +60735,8 @@ function (_super) {
|
|
|
60643
60735
|
|
|
60644
60736
|
|
|
60645
60737
|
|
|
60738
|
+
|
|
60739
|
+
|
|
60646
60740
|
var after_execution_script_extends = undefined && undefined.__extends || function () {
|
|
60647
60741
|
var _extendStatics = function extendStatics(d, b) {
|
|
60648
60742
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -60671,6 +60765,22 @@ var after_execution_script_extends = undefined && undefined.__extends || functio
|
|
|
60671
60765
|
};
|
|
60672
60766
|
}();
|
|
60673
60767
|
|
|
60768
|
+
var after_execution_script_assign = undefined && undefined.__assign || function () {
|
|
60769
|
+
after_execution_script_assign = Object.assign || function (t) {
|
|
60770
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
60771
|
+
s = arguments[i];
|
|
60772
|
+
|
|
60773
|
+
for (var p in s) {
|
|
60774
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
60775
|
+
}
|
|
60776
|
+
}
|
|
60777
|
+
|
|
60778
|
+
return t;
|
|
60779
|
+
};
|
|
60780
|
+
|
|
60781
|
+
return after_execution_script_assign.apply(this, arguments);
|
|
60782
|
+
};
|
|
60783
|
+
|
|
60674
60784
|
var after_execution_script_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
60675
60785
|
var c = arguments.length,
|
|
60676
60786
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -60842,18 +60952,26 @@ function (_super) {
|
|
|
60842
60952
|
}
|
|
60843
60953
|
|
|
60844
60954
|
AfterExecutionScript.prototype.getScript = function () {
|
|
60955
|
+
var _a;
|
|
60956
|
+
|
|
60845
60957
|
return after_execution_script_awaiter(this, void 0, void 0, function () {
|
|
60846
60958
|
var result;
|
|
60847
|
-
return after_execution_script_generator(this, function (
|
|
60848
|
-
switch (
|
|
60959
|
+
return after_execution_script_generator(this, function (_b) {
|
|
60960
|
+
switch (_b.label) {
|
|
60849
60961
|
case 0:
|
|
60850
60962
|
return [4
|
|
60851
60963
|
/*yield*/
|
|
60852
60964
|
, this.service.postScript()];
|
|
60853
60965
|
|
|
60854
60966
|
case 1:
|
|
60855
|
-
result =
|
|
60967
|
+
result = _b.sent();
|
|
60856
60968
|
this.scriptData = result || {};
|
|
60969
|
+
this.scriptData.group = (_a = this.scriptData.group) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
60970
|
+
return after_execution_script_assign(after_execution_script_assign({}, item), {
|
|
60971
|
+
expand: true
|
|
60972
|
+
});
|
|
60973
|
+
});
|
|
60974
|
+
this.tempScriptData = this.scriptData.$clone();
|
|
60857
60975
|
return [2
|
|
60858
60976
|
/*return*/
|
|
60859
60977
|
];
|