@egova/egova-api 1.0.58 → 1.0.62
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 +5 -2
- package/dist/index.umd.js +5 -2
- package/dist/index.umd.min.js +1 -1
- package/package.json +2 -2
package/dist/index.common.js
CHANGED
|
@@ -42237,7 +42237,7 @@ module.exports = function (argument, usingIterator) {
|
|
|
42237
42237
|
/***/ "9b44":
|
|
42238
42238
|
/***/ (function(module, exports) {
|
|
42239
42239
|
|
|
42240
|
-
module.exports = "<i-timeline-item v-if=\"source.type==='more'\" class=\"trends-item\">\r\n <i slot=\"dot\"></i>\r\n <div class=\"item-more\" @click=\"onMore\"
|
|
42240
|
+
module.exports = "<i-timeline-item v-if=\"source.type==='more'\" class=\"trends-item\">\r\n <i slot=\"dot\"></i>\r\n <div class=\"item-more\" @click=\"onMore\">查看更多</div>\r\n</i-timeline-item>\r\n<i-timeline-item v-else class=\"trends-item\">\r\n <i-avatar size=\"large\" :class=\"source.operateType\" slot=\"dot\"></i-avatar>\r\n <div class=\"item-body\">\r\n <i-time class=\"time\" :time=\"source.createTime\" />\r\n <div class=\"title\">\r\n <span>{{source.projectName}}</span>\r\n <span class=\"create-time\">{{source.createTime}}</span>\r\n </div>\r\n <div class=\"content\">\r\n <span class=\"name\">{{source.creatorName || source.creator}}</span>\r\n <span>{{source._operateType && source._operateType.text}}</span>\r\n <span class=\"name\">{{source.categoryName}}</span>\r\n <span v-if=\"source.categoryName\">分组下的</span>\r\n <span class=\"name api-name\" @click=\"onToApi\">{{source.apiName}}</span>\r\n <span>接口</span>\r\n </div>\r\n </div>\r\n</i-timeline-item>\r\n"
|
|
42241
42241
|
|
|
42242
42242
|
/***/ }),
|
|
42243
42243
|
|
|
@@ -44522,7 +44522,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
|
44522
44522
|
/***/ "b676":
|
|
44523
44523
|
/***/ (function(module, exports) {
|
|
44524
44524
|
|
|
44525
|
-
module.exports = "<article class=\"security-setting\">\r\n <i-form class=\"type-form diy-form\" label-colon>\r\n <i-form-item label=\"类型\">\r\n <i-select
|
|
44525
|
+
module.exports = "<article class=\"security-setting\">\r\n <i-form class=\"type-form diy-form\" label-colon>\r\n <i-form-item label=\"类型\">\r\n <i-select transfer v-model=\"interfaceModel.authentication.type\" class=\"diy-select\">\r\n <i-option v-for=\"item in securityTypeList\" :key=\"item.name\" :value=\"item.name\">{{item.text}} </i-option>\r\n </i-select>\r\n <div class=\"tips\">\r\n <i class=\"api-icon icon-warning\"></i>\r\n <span>认证类型</span>\r\n </div>\r\n </i-form-item>\r\n <i-form-item label=\"存储位置\">\r\n <i-select transfer v-model=\"interfaceModel.authentication.location\" class=\"diy-select\">\r\n <i-option v-for=\"item in tokenLocationTypeList\" :key=\"item.name\" :value=\"item.name\"> {{item.text}} </i-option>\r\n </i-select>\r\n <div class=\"tips\">\r\n <i class=\"api-icon icon-warning\"></i>\r\n <span>认证信息存储位置</span>\r\n </div>\r\n </i-form-item>\r\n <i-form-item label=\"存储键值\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.authentication.locationKey\"> </i-input>\r\n <div class=\"tips\">\r\n <i class=\"api-icon icon-warning\"></i>\r\n <span>认证信息存储键值</span>\r\n </div>\r\n </i-form-item>\r\n </i-form>\r\n <section>\r\n <i-form label-colon :label-width=\"200\" class=\"diy-form content-form\" label-position=\"left\">\r\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'Base_Auth'\">\r\n <i-form-item label=\"username\">\r\n <i-input class=\"diy-input\" v-model=\"model.username\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"password\">\r\n <i-input class=\"diy-input\" v-model=\"model.password\" placeholder=\"请输入\" type=\"password\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'OAuth2'\">\r\n <i-form-item>\r\n <u-tips-form-label slot=\"label\" label-colon labelTitle=\"Header Prefix\" tips=\"token前缀 例如 Bearer \"> </u-tips-form-label>\r\n <i-input class=\"diy-input\" v-model=\"model.headerPrefix\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item>\r\n <u-tips-form-label slot=\"label\" label-colon labelTitle=\"Grant Type\" tips=\"认证类型\"> </u-tips-form-label>\r\n <i-select transfer v-model=\"model.grantType\" class=\"diy-select\">\r\n <i-option v-for=\"item in grantTypeList\" :key=\"item.name\" :value=\"item.name\"> {{item.text}} </i-option>\r\n </i-select>\r\n </i-form-item>\r\n <i-form-item>\r\n <u-tips-form-label label-colon slot=\"label\" labelTitle=\"Access Token Url\" tips=\"获取token的httpUrl\"> </u-tips-form-label>\r\n <i-input class=\"diy-input\" v-model=\"model.tokenUrl\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item>\r\n <u-tips-form-label label-colon slot=\"label\" labelTitle=\"TokenPath\" tips=\"获取响应结果的token路径\"> </u-tips-form-label>\r\n <i-input class=\"diy-input\" v-model=\"model.tokenPath\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"Client ID\">\r\n <i-input class=\"diy-input\" v-model=\"model.clientId\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"Client Secret\">\r\n <i-input class=\"diy-input\" v-model=\"model.clientSecret\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <template v-if=\"model.grantType === 'password'\">\r\n <i-form-item label=\"username\">\r\n <i-input class=\"diy-input\" v-model=\"model.username\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"password\">\r\n <i-input class=\"diy-input\" v-model=\"model.password\" type=\"password\" password placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <i-form-item label=\"Scope\">\r\n <i-input class=\"diy-input\" v-model=\"model.scope\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'Api_Key'\">\r\n <i-form-item label=\"key\">\r\n <i-input class=\"diy-input\" v-model=\"model.key\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <i-button type=\"primary\" class=\"clear-btn diy-btn-primary\" @click=\"onClear\">清空</i-button>\r\n </i-form>\r\n </section>\r\n</article>\r\n"
|
|
44526
44526
|
|
|
44527
44527
|
/***/ }),
|
|
44528
44528
|
|
|
@@ -54016,8 +54016,11 @@ function (_super) {
|
|
|
54016
54016
|
};
|
|
54017
54017
|
|
|
54018
54018
|
ProjectTree.prototype.onCopyInterface = function (data) {
|
|
54019
|
+
this.parent = {};
|
|
54019
54020
|
this.interfaceModel = data;
|
|
54020
54021
|
this.copyName = this.interfaceModel.name + "_copy";
|
|
54022
|
+
this.parent.id = this.interfaceModel.categoryId;
|
|
54023
|
+
this.parent.name = this.interfaceModel.parentName;
|
|
54021
54024
|
this.showCopyModal = true;
|
|
54022
54025
|
};
|
|
54023
54026
|
|
package/dist/index.umd.js
CHANGED
|
@@ -42246,7 +42246,7 @@ module.exports = function (argument, usingIterator) {
|
|
|
42246
42246
|
/***/ "9b44":
|
|
42247
42247
|
/***/ (function(module, exports) {
|
|
42248
42248
|
|
|
42249
|
-
module.exports = "<i-timeline-item v-if=\"source.type==='more'\" class=\"trends-item\">\r\n <i slot=\"dot\"></i>\r\n <div class=\"item-more\" @click=\"onMore\"
|
|
42249
|
+
module.exports = "<i-timeline-item v-if=\"source.type==='more'\" class=\"trends-item\">\r\n <i slot=\"dot\"></i>\r\n <div class=\"item-more\" @click=\"onMore\">查看更多</div>\r\n</i-timeline-item>\r\n<i-timeline-item v-else class=\"trends-item\">\r\n <i-avatar size=\"large\" :class=\"source.operateType\" slot=\"dot\"></i-avatar>\r\n <div class=\"item-body\">\r\n <i-time class=\"time\" :time=\"source.createTime\" />\r\n <div class=\"title\">\r\n <span>{{source.projectName}}</span>\r\n <span class=\"create-time\">{{source.createTime}}</span>\r\n </div>\r\n <div class=\"content\">\r\n <span class=\"name\">{{source.creatorName || source.creator}}</span>\r\n <span>{{source._operateType && source._operateType.text}}</span>\r\n <span class=\"name\">{{source.categoryName}}</span>\r\n <span v-if=\"source.categoryName\">分组下的</span>\r\n <span class=\"name api-name\" @click=\"onToApi\">{{source.apiName}}</span>\r\n <span>接口</span>\r\n </div>\r\n </div>\r\n</i-timeline-item>\r\n"
|
|
42250
42250
|
|
|
42251
42251
|
/***/ }),
|
|
42252
42252
|
|
|
@@ -44531,7 +44531,7 @@ $({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
|
44531
44531
|
/***/ "b676":
|
|
44532
44532
|
/***/ (function(module, exports) {
|
|
44533
44533
|
|
|
44534
|
-
module.exports = "<article class=\"security-setting\">\r\n <i-form class=\"type-form diy-form\" label-colon>\r\n <i-form-item label=\"类型\">\r\n <i-select
|
|
44534
|
+
module.exports = "<article class=\"security-setting\">\r\n <i-form class=\"type-form diy-form\" label-colon>\r\n <i-form-item label=\"类型\">\r\n <i-select transfer v-model=\"interfaceModel.authentication.type\" class=\"diy-select\">\r\n <i-option v-for=\"item in securityTypeList\" :key=\"item.name\" :value=\"item.name\">{{item.text}} </i-option>\r\n </i-select>\r\n <div class=\"tips\">\r\n <i class=\"api-icon icon-warning\"></i>\r\n <span>认证类型</span>\r\n </div>\r\n </i-form-item>\r\n <i-form-item label=\"存储位置\">\r\n <i-select transfer v-model=\"interfaceModel.authentication.location\" class=\"diy-select\">\r\n <i-option v-for=\"item in tokenLocationTypeList\" :key=\"item.name\" :value=\"item.name\"> {{item.text}} </i-option>\r\n </i-select>\r\n <div class=\"tips\">\r\n <i class=\"api-icon icon-warning\"></i>\r\n <span>认证信息存储位置</span>\r\n </div>\r\n </i-form-item>\r\n <i-form-item label=\"存储键值\">\r\n <i-input class=\"diy-input\" v-model=\"interfaceModel.authentication.locationKey\"> </i-input>\r\n <div class=\"tips\">\r\n <i class=\"api-icon icon-warning\"></i>\r\n <span>认证信息存储键值</span>\r\n </div>\r\n </i-form-item>\r\n </i-form>\r\n <section>\r\n <i-form label-colon :label-width=\"200\" class=\"diy-form content-form\" label-position=\"left\">\r\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'Base_Auth'\">\r\n <i-form-item label=\"username\">\r\n <i-input class=\"diy-input\" v-model=\"model.username\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"password\">\r\n <i-input class=\"diy-input\" v-model=\"model.password\" placeholder=\"请输入\" type=\"password\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'OAuth2'\">\r\n <i-form-item>\r\n <u-tips-form-label slot=\"label\" label-colon labelTitle=\"Header Prefix\" tips=\"token前缀 例如 Bearer \"> </u-tips-form-label>\r\n <i-input class=\"diy-input\" v-model=\"model.headerPrefix\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item>\r\n <u-tips-form-label slot=\"label\" label-colon labelTitle=\"Grant Type\" tips=\"认证类型\"> </u-tips-form-label>\r\n <i-select transfer v-model=\"model.grantType\" class=\"diy-select\">\r\n <i-option v-for=\"item in grantTypeList\" :key=\"item.name\" :value=\"item.name\"> {{item.text}} </i-option>\r\n </i-select>\r\n </i-form-item>\r\n <i-form-item>\r\n <u-tips-form-label label-colon slot=\"label\" labelTitle=\"Access Token Url\" tips=\"获取token的httpUrl\"> </u-tips-form-label>\r\n <i-input class=\"diy-input\" v-model=\"model.tokenUrl\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item>\r\n <u-tips-form-label label-colon slot=\"label\" labelTitle=\"TokenPath\" tips=\"获取响应结果的token路径\"> </u-tips-form-label>\r\n <i-input class=\"diy-input\" v-model=\"model.tokenPath\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"Client ID\">\r\n <i-input class=\"diy-input\" v-model=\"model.clientId\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"Client Secret\">\r\n <i-input class=\"diy-input\" v-model=\"model.clientSecret\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <template v-if=\"model.grantType === 'password'\">\r\n <i-form-item label=\"username\">\r\n <i-input class=\"diy-input\" v-model=\"model.username\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n <i-form-item label=\"password\">\r\n <i-input class=\"diy-input\" v-model=\"model.password\" type=\"password\" password placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <i-form-item label=\"Scope\">\r\n <i-input class=\"diy-input\" v-model=\"model.scope\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <template v-if=\"interfaceModel.authentication && interfaceModel.authentication.type === 'Api_Key'\">\r\n <i-form-item label=\"key\">\r\n <i-input class=\"diy-input\" v-model=\"model.key\" placeholder=\"请输入\"> </i-input>\r\n </i-form-item>\r\n </template>\r\n <i-button type=\"primary\" class=\"clear-btn diy-btn-primary\" @click=\"onClear\">清空</i-button>\r\n </i-form>\r\n </section>\r\n</article>\r\n"
|
|
44535
44535
|
|
|
44536
44536
|
/***/ }),
|
|
44537
44537
|
|
|
@@ -54025,8 +54025,11 @@ function (_super) {
|
|
|
54025
54025
|
};
|
|
54026
54026
|
|
|
54027
54027
|
ProjectTree.prototype.onCopyInterface = function (data) {
|
|
54028
|
+
this.parent = {};
|
|
54028
54029
|
this.interfaceModel = data;
|
|
54029
54030
|
this.copyName = this.interfaceModel.name + "_copy";
|
|
54031
|
+
this.parent.id = this.interfaceModel.categoryId;
|
|
54032
|
+
this.parent.name = this.interfaceModel.parentName;
|
|
54030
54033
|
this.showCopyModal = true;
|
|
54031
54034
|
};
|
|
54032
54035
|
|