@egova/egova-api 1.0.189 → 1.0.190
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
|
@@ -41925,7 +41925,7 @@ module.exports = function (S, index, unicode) {
|
|
|
41925
41925
|
/***/ "8ab8":
|
|
41926
41926
|
/***/ (function(module, exports) {
|
|
41927
41927
|
|
|
41928
|
-
module.exports = "<article class=\"pre-execution-setting\">\
|
|
41928
|
+
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"
|
|
41929
41929
|
|
|
41930
41930
|
/***/ }),
|
|
41931
41931
|
|
|
@@ -60371,6 +60371,10 @@ var pre_execution_setting = __webpack_require__("d928");
|
|
|
60371
60371
|
|
|
60372
60372
|
|
|
60373
60373
|
|
|
60374
|
+
|
|
60375
|
+
|
|
60376
|
+
|
|
60377
|
+
|
|
60374
60378
|
var pre_execution_setting_extends = undefined && undefined.__extends || function () {
|
|
60375
60379
|
var _extendStatics = function extendStatics(d, b) {
|
|
60376
60380
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -60399,6 +60403,22 @@ var pre_execution_setting_extends = undefined && undefined.__extends || function
|
|
|
60399
60403
|
};
|
|
60400
60404
|
}();
|
|
60401
60405
|
|
|
60406
|
+
var pre_execution_setting_assign = undefined && undefined.__assign || function () {
|
|
60407
|
+
pre_execution_setting_assign = Object.assign || function (t) {
|
|
60408
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
60409
|
+
s = arguments[i];
|
|
60410
|
+
|
|
60411
|
+
for (var p in s) {
|
|
60412
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
60413
|
+
}
|
|
60414
|
+
}
|
|
60415
|
+
|
|
60416
|
+
return t;
|
|
60417
|
+
};
|
|
60418
|
+
|
|
60419
|
+
return pre_execution_setting_assign.apply(this, arguments);
|
|
60420
|
+
};
|
|
60421
|
+
|
|
60402
60422
|
var pre_execution_setting_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
60403
60423
|
var c = arguments.length,
|
|
60404
60424
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -60564,6 +60584,7 @@ var pre_execution_setting_generator = undefined && undefined.__generator || func
|
|
|
60564
60584
|
|
|
60565
60585
|
|
|
60566
60586
|
|
|
60587
|
+
|
|
60567
60588
|
var pre_execution_setting_PreExecutionSetting =
|
|
60568
60589
|
/** @class */
|
|
60569
60590
|
function (_super) {
|
|
@@ -60573,8 +60594,13 @@ function (_super) {
|
|
|
60573
60594
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
60574
60595
|
|
|
60575
60596
|
_this.scriptData = {};
|
|
60597
|
+
_this.tempScriptData = {};
|
|
60576
60598
|
_this.model = new PreScript();
|
|
60577
60599
|
_this.key = "preScripts";
|
|
60600
|
+
_this.keyword = "";
|
|
60601
|
+
_this.onFilter = lodash_debounce_default()(function () {
|
|
60602
|
+
_this.filterTypeList();
|
|
60603
|
+
}, 300);
|
|
60578
60604
|
return _this;
|
|
60579
60605
|
}
|
|
60580
60606
|
|
|
@@ -60583,18 +60609,26 @@ function (_super) {
|
|
|
60583
60609
|
};
|
|
60584
60610
|
|
|
60585
60611
|
PreExecutionSetting.prototype.getScript = function () {
|
|
60612
|
+
var _a;
|
|
60613
|
+
|
|
60586
60614
|
return pre_execution_setting_awaiter(this, void 0, void 0, function () {
|
|
60587
60615
|
var result;
|
|
60588
|
-
return pre_execution_setting_generator(this, function (
|
|
60589
|
-
switch (
|
|
60616
|
+
return pre_execution_setting_generator(this, function (_b) {
|
|
60617
|
+
switch (_b.label) {
|
|
60590
60618
|
case 0:
|
|
60591
60619
|
return [4
|
|
60592
60620
|
/*yield*/
|
|
60593
60621
|
, this.service.preScript()];
|
|
60594
60622
|
|
|
60595
60623
|
case 1:
|
|
60596
|
-
result =
|
|
60624
|
+
result = _b.sent();
|
|
60597
60625
|
this.scriptData = result || {};
|
|
60626
|
+
this.scriptData.group = (_a = this.scriptData.group) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
60627
|
+
return pre_execution_setting_assign(pre_execution_setting_assign({}, item), {
|
|
60628
|
+
expand: true
|
|
60629
|
+
});
|
|
60630
|
+
});
|
|
60631
|
+
this.tempScriptData = this.scriptData.$clone();
|
|
60598
60632
|
return [2
|
|
60599
60633
|
/*return*/
|
|
60600
60634
|
];
|
|
@@ -60623,6 +60657,26 @@ function (_super) {
|
|
|
60623
60657
|
configurable: true
|
|
60624
60658
|
});
|
|
60625
60659
|
|
|
60660
|
+
PreExecutionSetting.prototype.filterTypeList = function () {
|
|
60661
|
+
var _this = this;
|
|
60662
|
+
|
|
60663
|
+
var tempGroup = this.scriptData.group.map(function (item) {
|
|
60664
|
+
return pre_execution_setting_assign(pre_execution_setting_assign({}, item), {
|
|
60665
|
+
list: item.list.filter(function (listItem) {
|
|
60666
|
+
return listItem.name.indexOf(_this.keyword) !== -1;
|
|
60667
|
+
})
|
|
60668
|
+
});
|
|
60669
|
+
});
|
|
60670
|
+
this.tempScriptData.group = tempGroup.filter(function (item) {
|
|
60671
|
+
return item.list.length;
|
|
60672
|
+
});
|
|
60673
|
+
};
|
|
60674
|
+
|
|
60675
|
+
PreExecutionSetting.prototype.onQuickGroupClick = function (index) {
|
|
60676
|
+
this.scriptData.group[index].expand = !this.scriptData.group[index].expand;
|
|
60677
|
+
this.tempScriptData.group[index].expand = !this.tempScriptData.group[index].expand;
|
|
60678
|
+
};
|
|
60679
|
+
|
|
60626
60680
|
var _a, _b;
|
|
60627
60681
|
|
|
60628
60682
|
pre_execution_setting_decorate([Object(flagwind_web_["config"])({
|
|
@@ -60657,6 +60711,8 @@ function (_super) {
|
|
|
60657
60711
|
|
|
60658
60712
|
|
|
60659
60713
|
|
|
60714
|
+
|
|
60715
|
+
|
|
60660
60716
|
var after_execution_script_extends = undefined && undefined.__extends || function () {
|
|
60661
60717
|
var _extendStatics = function extendStatics(d, b) {
|
|
60662
60718
|
_extendStatics = Object.setPrototypeOf || {
|
|
@@ -60685,6 +60741,22 @@ var after_execution_script_extends = undefined && undefined.__extends || functio
|
|
|
60685
60741
|
};
|
|
60686
60742
|
}();
|
|
60687
60743
|
|
|
60744
|
+
var after_execution_script_assign = undefined && undefined.__assign || function () {
|
|
60745
|
+
after_execution_script_assign = Object.assign || function (t) {
|
|
60746
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
60747
|
+
s = arguments[i];
|
|
60748
|
+
|
|
60749
|
+
for (var p in s) {
|
|
60750
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
60751
|
+
}
|
|
60752
|
+
}
|
|
60753
|
+
|
|
60754
|
+
return t;
|
|
60755
|
+
};
|
|
60756
|
+
|
|
60757
|
+
return after_execution_script_assign.apply(this, arguments);
|
|
60758
|
+
};
|
|
60759
|
+
|
|
60688
60760
|
var after_execution_script_decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
60689
60761
|
var c = arguments.length,
|
|
60690
60762
|
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
@@ -60856,18 +60928,26 @@ function (_super) {
|
|
|
60856
60928
|
}
|
|
60857
60929
|
|
|
60858
60930
|
AfterExecutionScript.prototype.getScript = function () {
|
|
60931
|
+
var _a;
|
|
60932
|
+
|
|
60859
60933
|
return after_execution_script_awaiter(this, void 0, void 0, function () {
|
|
60860
60934
|
var result;
|
|
60861
|
-
return after_execution_script_generator(this, function (
|
|
60862
|
-
switch (
|
|
60935
|
+
return after_execution_script_generator(this, function (_b) {
|
|
60936
|
+
switch (_b.label) {
|
|
60863
60937
|
case 0:
|
|
60864
60938
|
return [4
|
|
60865
60939
|
/*yield*/
|
|
60866
60940
|
, this.service.postScript()];
|
|
60867
60941
|
|
|
60868
60942
|
case 1:
|
|
60869
|
-
result =
|
|
60943
|
+
result = _b.sent();
|
|
60870
60944
|
this.scriptData = result || {};
|
|
60945
|
+
this.scriptData.group = (_a = this.scriptData.group) === null || _a === void 0 ? void 0 : _a.map(function (item) {
|
|
60946
|
+
return after_execution_script_assign(after_execution_script_assign({}, item), {
|
|
60947
|
+
expand: true
|
|
60948
|
+
});
|
|
60949
|
+
});
|
|
60950
|
+
this.tempScriptData = this.scriptData.$clone();
|
|
60871
60951
|
return [2
|
|
60872
60952
|
/*return*/
|
|
60873
60953
|
];
|