@egova/egova-api 1.0.27 → 1.0.30
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/package.json +2 -2
- package/dist/demo.html +0 -10
- package/dist/index.common.js +0 -51739
- package/dist/index.css +0 -1
- package/dist/index.umd.js +0 -51749
- package/dist/index.umd.min.js +0 -28
- package/dist/static/fonts/iconfont.74c043ae.eot +0 -0
- package/dist/static/fonts/iconfont.8c6d5bbb.ttf +0 -0
- package/dist/static/img/card.0eeeaea2.png +0 -0
- package/dist/static/img/iconfont.26f82952.svg +0 -83
- package/dist/types/src/common/index.d.ts +0 -2
- package/dist/types/src/common/object-factory.d.ts +0 -29
- package/dist/types/src/common/utils/index.d.ts +0 -1
- package/dist/types/src/common/utils/tree-data.d.ts +0 -3
- package/dist/types/src/components/code-editor/index.d.ts +0 -8
- package/dist/types/src/components/tips-form-label/index.d.ts +0 -6
- package/dist/types/src/decorator.d.ts +0 -17
- package/dist/types/src/decorators/autowired.d.ts +0 -1
- package/dist/types/src/decorators/receivable.d.ts +0 -9
- package/dist/types/src/decorators/service-handler.d.ts +0 -11
- package/dist/types/src/index.d.ts +0 -5
- package/dist/types/src/models/common/index.d.ts +0 -6
- package/dist/types/src/models/common/page-path.d.ts +0 -5
- package/dist/types/src/models/common/paging.d.ts +0 -5
- package/dist/types/src/models/common/query-model.d.ts +0 -8
- package/dist/types/src/models/common/sorts.d.ts +0 -5
- package/dist/types/src/models/common/user-info.d.ts +0 -13
- package/dist/types/src/models/index.d.ts +0 -1
- package/dist/types/src/services/base-service.d.ts +0 -37
- package/dist/types/src/services/common-service.d.ts +0 -6
- package/dist/types/src/services/index.d.ts +0 -3
- package/dist/types/src/views/project-comment/index.d.ts +0 -15
- package/dist/types/src/views/project-comment/item/index.d.ts +0 -10
- package/dist/types/src/views/project-comment/service.d.ts +0 -5
- package/dist/types/src/views/project-detail/after-execution-script/index.d.ts +0 -7
- package/dist/types/src/views/project-detail/after-execution-transfer/index.d.ts +0 -21
- package/dist/types/src/views/project-detail/base-editor-setting.d.ts +0 -7
- package/dist/types/src/views/project-detail/current-variable-modal/index.d.ts +0 -5
- package/dist/types/src/views/project-detail/global-variable-modal/index.d.ts +0 -15
- package/dist/types/src/views/project-detail/group-select/index.d.ts +0 -14
- package/dist/types/src/views/project-detail/headers-setting/index.d.ts +0 -10
- package/dist/types/src/views/project-detail/index.d.ts +0 -28
- package/dist/types/src/views/project-detail/interface-settings/index.d.ts +0 -24
- package/dist/types/src/views/project-detail/interface-settings/model.d.ts +0 -43
- package/dist/types/src/views/project-detail/params-setting/index.d.ts +0 -34
- package/dist/types/src/views/project-detail/pre-execution-setting/index.d.ts +0 -13
- package/dist/types/src/views/project-detail/response/index.d.ts +0 -34
- package/dist/types/src/views/project-detail/security-setting/index.d.ts +0 -18
- package/dist/types/src/views/project-detail/service.d.ts +0 -12
- package/dist/types/src/views/project-detail/tree/index.d.ts +0 -52
- package/dist/types/src/views/project-detail/tree-node/index.d.ts +0 -9
- package/dist/types/src/views/project-list/add-project-modal/index.d.ts +0 -6
- package/dist/types/src/views/project-list/card/index.d.ts +0 -8
- package/dist/types/src/views/project-list/confirm/index.d.ts +0 -10
- package/dist/types/src/views/project-list/index.d.ts +0 -22
- package/dist/types/src/views/project-list/service.d.ts +0 -6
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import { InterfaceModel } from "../interface-settings/model";
|
|
3
|
-
import ApiService from "../service";
|
|
4
|
-
import "./index.scss";
|
|
5
|
-
export default class SecuritySetting extends Component {
|
|
6
|
-
interfaceModel: InterfaceModel;
|
|
7
|
-
service: ApiService;
|
|
8
|
-
securityTypeList: Array<any>;
|
|
9
|
-
tokenLocationTypeList: Array<any>;
|
|
10
|
-
grantTypeList: Array<any>;
|
|
11
|
-
model: any;
|
|
12
|
-
mounted(): void;
|
|
13
|
-
getSecurityTypeList(): Promise<void>;
|
|
14
|
-
getTokenLocationTypeList(): Promise<void>;
|
|
15
|
-
getGrantTypeList(): Promise<void>;
|
|
16
|
-
modelChange(): void;
|
|
17
|
-
onClear(): void;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { CommonService } from "@/services";
|
|
2
|
-
import { InterfaceModel } from "./interface-settings/model";
|
|
3
|
-
export default class ApiService extends CommonService {
|
|
4
|
-
getApiTree(projectId: string): Promise<any>;
|
|
5
|
-
deleteApi(id: string): Promise<any>;
|
|
6
|
-
saveApi(api: any): Promise<any>;
|
|
7
|
-
copyApi(id: string, name: string): Promise<any>;
|
|
8
|
-
apiInfo(id: string): Promise<any>;
|
|
9
|
-
run(apiId: string, apiInfo: InterfaceModel): Promise<any>;
|
|
10
|
-
saveApiInfo(apiInfo: InterfaceModel): Promise<any>;
|
|
11
|
-
parseResponse2Fields(originalJson: string, convertRoot?: string, collapse?: boolean): Promise<any>;
|
|
12
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import ApiService from "../service";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
export default class ProjectTree extends Component {
|
|
5
|
-
projectId: string;
|
|
6
|
-
service: ApiService;
|
|
7
|
-
data: Array<any>;
|
|
8
|
-
groupTree: Array<any>;
|
|
9
|
-
parent: any;
|
|
10
|
-
renderData: Array<any>;
|
|
11
|
-
keyword: string;
|
|
12
|
-
type: string;
|
|
13
|
-
typeList: Array<any>;
|
|
14
|
-
showInterfaceModal: boolean;
|
|
15
|
-
showGroupModal: boolean;
|
|
16
|
-
interfaceModel: any;
|
|
17
|
-
showCopyModal: boolean;
|
|
18
|
-
copyName: string;
|
|
19
|
-
group: any;
|
|
20
|
-
renderContent(h: Function, { root, node, data }: {
|
|
21
|
-
root: Array<any>;
|
|
22
|
-
node: any;
|
|
23
|
-
data: any;
|
|
24
|
-
}): void;
|
|
25
|
-
onCheckInterface(data: any): void;
|
|
26
|
-
onEditInterface(data: any): void;
|
|
27
|
-
onDeleteInterface(data: any): Promise<void>;
|
|
28
|
-
onCopyInterface(data: any): void;
|
|
29
|
-
onCopy(): Promise<void>;
|
|
30
|
-
onAddInterface(group: any): void;
|
|
31
|
-
onSaveInterface(): Promise<void>;
|
|
32
|
-
onDeleteGroup(group: any): Promise<void>;
|
|
33
|
-
onEditGroup(group: any): void;
|
|
34
|
-
onAddGroup(): void;
|
|
35
|
-
/**
|
|
36
|
-
* 输入关键字对数据进行过滤
|
|
37
|
-
*/
|
|
38
|
-
onFilter(): void;
|
|
39
|
-
/**
|
|
40
|
-
* 判断一个节点是否是与关键字匹配的叶子节点,或者是包含符合条件的叶子节点的祖先节点
|
|
41
|
-
* @param node
|
|
42
|
-
*/
|
|
43
|
-
match(node: any): boolean;
|
|
44
|
-
/**
|
|
45
|
-
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
46
|
-
* @param data
|
|
47
|
-
*/
|
|
48
|
-
filterData(data: Array<any>): any[];
|
|
49
|
-
onSelectParent(group: any): void;
|
|
50
|
-
onSaveGroup(): Promise<void>;
|
|
51
|
-
init(): Promise<void>;
|
|
52
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
import ProjectService from "./service";
|
|
4
|
-
export default class ProjectList extends View {
|
|
5
|
-
type: "list" | "card";
|
|
6
|
-
condition: any;
|
|
7
|
-
dataList: Array<any>;
|
|
8
|
-
showAddModal: boolean;
|
|
9
|
-
loading: boolean;
|
|
10
|
-
columns: Array<any>;
|
|
11
|
-
service: ProjectService;
|
|
12
|
-
current: any;
|
|
13
|
-
onCheckType(type: "list" | "card"): void;
|
|
14
|
-
onAdd(): void;
|
|
15
|
-
onDelete(row: any): Promise<void>;
|
|
16
|
-
onDetail(data: any): void;
|
|
17
|
-
onEdit(data: any): void;
|
|
18
|
-
onComment(): void;
|
|
19
|
-
onQuery(): Promise<void>;
|
|
20
|
-
mounted(): void;
|
|
21
|
-
onSave(): Promise<void>;
|
|
22
|
-
}
|