@egova/egova-api 1.0.270 → 1.1.2
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/README.md +15 -1
- package/dist/index.common.js +21136 -57643
- package/dist/index.css +1 -1
- package/dist/index.umd.js +21141 -57648
- package/dist/index.umd.min.js +9 -16
- package/dist/static/img/empty_result.98fe48d0.svg +232 -0
- package/package.json +96 -84
- 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 -5
- package/dist/types/src/components/code-editor/index.d.ts +0 -8
- package/dist/types/src/components/common-tree/index.d.ts +0 -56
- package/dist/types/src/components/groovy-editor/index.d.ts +0 -10
- 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 -7
- 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 -8
- package/dist/types/src/services/index.d.ts +0 -3
- package/dist/types/src/settings/index.d.ts +0 -5
- package/dist/types/src/views/project-combine/api-project/api-project-detail/api/index.d.ts +0 -16
- package/dist/types/src/views/project-combine/api-project/api-project-detail/catalog/index.d.ts +0 -6
- package/dist/types/src/views/project-combine/api-project/api-project-detail/ddcat/index.d.ts +0 -6
- package/dist/types/src/views/project-combine/api-project/api-project-detail/index.d.ts +0 -10
- package/dist/types/src/views/project-combine/api-project/api-project-list/index.d.ts +0 -61
- package/dist/types/src/views/project-combine/api-project/index.d.ts +0 -73
- package/dist/types/src/views/project-combine/api-project/service.d.ts +0 -6
- package/dist/types/src/views/project-combine/combine-model/base-editor/index.d.ts +0 -9
- package/dist/types/src/views/project-combine/combine-model/index.d.ts +0 -64
- package/dist/types/src/views/project-combine/combine-model/request-parameter-list/index.d.ts +0 -26
- package/dist/types/src/views/project-combine/combine-model/response-parameter-list/index.d.ts +0 -4
- package/dist/types/src/views/project-combine/combine-model/test-run-modal/index.d.ts +0 -19
- package/dist/types/src/views/project-combine/data-model/data-model-doc/index.d.ts +0 -18
- package/dist/types/src/views/project-combine/data-model/data-model-list/index.d.ts +0 -53
- package/dist/types/src/views/project-combine/data-model/index.d.ts +0 -63
- package/dist/types/src/views/project-combine/data-model/service.d.ts +0 -6
- package/dist/types/src/views/project-combine/index.d.ts +0 -47
- package/dist/types/src/views/project-combine/service.d.ts +0 -14
- package/dist/types/src/views/project-combine/tree/add-node-modal/index.d.ts +0 -20
- package/dist/types/src/views/project-combine/tree/index.d.ts +0 -62
- package/dist/types/src/views/project-combine/tree/node/index.d.ts +0 -19
- package/dist/types/src/views/project-combine/tree/service.d.ts +0 -9
- package/dist/types/src/views/project-combine/tree-selector/index.d.ts +0 -21
- package/dist/types/src/views/project-combine/tree-selector/tree-node/index.d.ts +0 -7
- 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 -27
- package/dist/types/src/views/project-detail/base-editor-setting.d.ts +0 -7
- package/dist/types/src/views/project-detail/batch-api-modal/index.d.ts +0 -72
- package/dist/types/src/views/project-detail/current-variable-modal/index.d.ts +0 -5
- package/dist/types/src/views/project-detail/environment-variable-modal/index.d.ts +0 -44
- 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 -15
- 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 -39
- package/dist/types/src/views/project-detail/interface-settings/index.d.ts +0 -52
- package/dist/types/src/views/project-detail/interface-settings/model.d.ts +0 -44
- package/dist/types/src/views/project-detail/params-setting/index.d.ts +0 -46
- package/dist/types/src/views/project-detail/pre-execution-setting/index.d.ts +0 -37
- package/dist/types/src/views/project-detail/response/index.d.ts +0 -43
- package/dist/types/src/views/project-detail/security-modal/index.d.ts +0 -37
- package/dist/types/src/views/project-detail/security-setting/index.d.ts +0 -18
- package/dist/types/src/views/project-detail/security-setting-v2/index.d.ts +0 -23
- package/dist/types/src/views/project-detail/security-setting-v2/tips-form-label/index.d.ts +0 -7
- package/dist/types/src/views/project-detail/service.d.ts +0 -30
- package/dist/types/src/views/project-detail/tree/index.d.ts +0 -66
- 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 -9
- package/dist/types/src/views/project-list/confirm/index.d.ts +0 -10
- package/dist/types/src/views/project-list/index.d.ts +0 -30
- package/dist/types/src/views/project-list/service.d.ts +0 -7
|
@@ -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,23 +0,0 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
import { InterfaceModel } from "@/views/project-detail/interface-settings/model";
|
|
4
|
-
import ApiService from "@/views/project-detail/service";
|
|
5
|
-
export default class SecuritySettingV2 extends Component {
|
|
6
|
-
service: ApiService;
|
|
7
|
-
interfaceModel: InterfaceModel;
|
|
8
|
-
projectID: string;
|
|
9
|
-
currentSecurityID: string;
|
|
10
|
-
securityList: Array<any>;
|
|
11
|
-
currentSecurityItem: any;
|
|
12
|
-
currentSecurityItemId: string;
|
|
13
|
-
showSecurity: boolean;
|
|
14
|
-
isAdd: boolean;
|
|
15
|
-
grantTypeList: Array<any>;
|
|
16
|
-
mounted(): Promise<void>;
|
|
17
|
-
getGrantTypeList(): Promise<void>;
|
|
18
|
-
findGrantTypeText(name: string): any;
|
|
19
|
-
getSecurityList(): Promise<void>;
|
|
20
|
-
onChangeSecurityItem(id: string): void;
|
|
21
|
-
onAddSecurityItem(): void;
|
|
22
|
-
onClear(): void;
|
|
23
|
-
}
|
|
@@ -1,30 +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
|
-
deleteCategory(categoryId: any): Promise<any>;
|
|
7
|
-
saveCategory(category: any): Promise<any>;
|
|
8
|
-
saveApi(api: any): Promise<any>;
|
|
9
|
-
copyApi(id: string, name: string, projectId: string, categoryId: string): Promise<any>;
|
|
10
|
-
apiInfo(id: string): Promise<any>;
|
|
11
|
-
run(apiId: string, apiInfo: InterfaceModel): Promise<any>;
|
|
12
|
-
runWithFile(apiId: string, data: any): Promise<any>;
|
|
13
|
-
saveApiInfo(apiInfo: InterfaceModel): Promise<any>;
|
|
14
|
-
parseResponse2Fields(originalJson: string, convertRoot?: string, collapse?: boolean): Promise<any>;
|
|
15
|
-
preScript(): Promise<any>;
|
|
16
|
-
postScript(): Promise<any>;
|
|
17
|
-
projectInfo(id: string): Promise<any>;
|
|
18
|
-
getSecurityList(data: any): Promise<any>;
|
|
19
|
-
deleteSecurityItem(id: string): Promise<any>;
|
|
20
|
-
addSecurityItem(data: any): Promise<any>;
|
|
21
|
-
updateSecurityItem(data: any): Promise<any>;
|
|
22
|
-
getVariableList(data: any): Promise<any>;
|
|
23
|
-
saveVariable(data: any): Promise<any>;
|
|
24
|
-
deleteVariable(id: string): Promise<any>;
|
|
25
|
-
onBatchEnv(data: any): Promise<any>;
|
|
26
|
-
onBatchAuth(data: any): Promise<any>;
|
|
27
|
-
getScriptDoc(): Promise<any>;
|
|
28
|
-
onImportAvr(data: any): Promise<any>;
|
|
29
|
-
onValidateImport(data: any): Promise<any>;
|
|
30
|
-
}
|
|
@@ -1,66 +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
|
-
showBatchModal: boolean;
|
|
17
|
-
categoryApiList: Array<any>;
|
|
18
|
-
interfaceModel: any;
|
|
19
|
-
showCopyModal: boolean;
|
|
20
|
-
copyName: string;
|
|
21
|
-
group: any;
|
|
22
|
-
mounted(): void;
|
|
23
|
-
renderContent(h: Function, { root, node, data }: {
|
|
24
|
-
root: Array<any>;
|
|
25
|
-
node: any;
|
|
26
|
-
data: any;
|
|
27
|
-
}): void;
|
|
28
|
-
onCheckInterface(data: any): void;
|
|
29
|
-
onEditInterface(data: any): void;
|
|
30
|
-
getApis(data: any): void;
|
|
31
|
-
onBatchEdit(data: any): void;
|
|
32
|
-
onDeleteInterface(data: any): Promise<void>;
|
|
33
|
-
onDeleteClick(data: any): void;
|
|
34
|
-
onCopyInterface(data: any): void;
|
|
35
|
-
onCopy(): Promise<void>;
|
|
36
|
-
onCopyCancel(): void;
|
|
37
|
-
onAddInterface(group: any): void;
|
|
38
|
-
onSaveInterface(): Promise<void>;
|
|
39
|
-
onGourpCancel(): void;
|
|
40
|
-
onInterfaceCancel(): void;
|
|
41
|
-
onDeleteGroup(group: any): Promise<void>;
|
|
42
|
-
onEditGroup(group: any): void;
|
|
43
|
-
onAddGroup(): void;
|
|
44
|
-
/**
|
|
45
|
-
* 输入关键字对数据进行过滤
|
|
46
|
-
*/
|
|
47
|
-
onFilter(): void;
|
|
48
|
-
/**
|
|
49
|
-
* 判断一个节点是否是与关键字匹配的叶子节点或者目录节点,或者是包含符合条件的叶子节点的祖先节点
|
|
50
|
-
* 如果匹配的是目录节点,那么目录下的节点无需过滤
|
|
51
|
-
* @param node
|
|
52
|
-
*/
|
|
53
|
-
match(node: any): {
|
|
54
|
-
matched: boolean;
|
|
55
|
-
childrenMatched: boolean;
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* 处理渲染数据,只保留与关键字匹配的叶子节点和其祖先节点
|
|
59
|
-
* @param data
|
|
60
|
-
*/
|
|
61
|
-
filterData(data: Array<any>): any[];
|
|
62
|
-
onSelectParent(group: any): void;
|
|
63
|
-
onSaveGroup(): Promise<void>;
|
|
64
|
-
init(): Promise<void>;
|
|
65
|
-
onBatchSuccess(data: any): void;
|
|
66
|
-
}
|
|
@@ -1,30 +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
|
-
get uploadAction(): string;
|
|
14
|
-
onCheckType(type: "list" | "card"): void;
|
|
15
|
-
onAdd(): void;
|
|
16
|
-
onDelete(row: any): Promise<void>;
|
|
17
|
-
onDetail(data: any): void;
|
|
18
|
-
onEdit(data: any): void;
|
|
19
|
-
onExport(data: any): Promise<void>;
|
|
20
|
-
onComment(): void;
|
|
21
|
-
onQuery(): Promise<void>;
|
|
22
|
-
mounted(): void;
|
|
23
|
-
onSave(): Promise<void>;
|
|
24
|
-
get headers(): {
|
|
25
|
-
Authorization: string;
|
|
26
|
-
};
|
|
27
|
-
onSuccess(res: any, file: File): void;
|
|
28
|
-
onBeforeUpload(file: any): boolean;
|
|
29
|
-
onFormatError(file: any): void;
|
|
30
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CommonService } from "@/services";
|
|
2
|
-
export default class ProjectService extends CommonService {
|
|
3
|
-
getProjectList(condition?: any): Promise<any>;
|
|
4
|
-
saveProject(project: any): Promise<any>;
|
|
5
|
-
deleteProject(id: string): Promise<any>;
|
|
6
|
-
exportProject(data: any): Promise<any>;
|
|
7
|
-
}
|