@egova/egova-api 1.0.44 → 1.0.49
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/LICENSE +201 -201
- package/README.md +1 -1
- package/dist/index.common.js +108 -79
- package/dist/index.css +1 -1
- package/dist/index.umd.js +108 -79
- package/dist/index.umd.min.js +4 -4
- package/dist/static/img/{iconfont.559d2630.svg → iconfont.26f82952.svg} +83 -83
- package/dist/types/src/common/index.d.ts +2 -2
- package/dist/types/src/common/object-factory.d.ts +29 -29
- package/dist/types/src/common/utils/index.d.ts +1 -1
- package/dist/types/src/common/utils/tree-data.d.ts +3 -3
- package/dist/types/src/components/code-editor/index.d.ts +8 -8
- package/dist/types/src/components/tips-form-label/index.d.ts +6 -6
- package/dist/types/src/decorator.d.ts +17 -17
- package/dist/types/src/decorators/autowired.d.ts +1 -1
- package/dist/types/src/decorators/receivable.d.ts +9 -9
- package/dist/types/src/decorators/service-handler.d.ts +11 -11
- package/dist/types/src/index.d.ts +5 -5
- package/dist/types/src/models/common/index.d.ts +6 -6
- package/dist/types/src/models/common/page-path.d.ts +5 -5
- package/dist/types/src/models/common/paging.d.ts +5 -5
- package/dist/types/src/models/common/query-model.d.ts +8 -8
- package/dist/types/src/models/common/sorts.d.ts +5 -5
- package/dist/types/src/models/common/user-info.d.ts +13 -13
- package/dist/types/src/models/index.d.ts +1 -1
- package/dist/types/src/services/base-service.d.ts +37 -37
- package/dist/types/src/services/common-service.d.ts +6 -6
- package/dist/types/src/services/index.d.ts +3 -3
- package/dist/types/src/views/project-comment/index.d.ts +15 -15
- package/dist/types/src/views/project-comment/item/index.d.ts +10 -10
- package/dist/types/src/views/project-comment/service.d.ts +5 -5
- package/dist/types/src/views/project-detail/after-execution-script/index.d.ts +7 -7
- package/dist/types/src/views/project-detail/after-execution-transfer/index.d.ts +21 -21
- package/dist/types/src/views/project-detail/base-editor-setting.d.ts +7 -7
- package/dist/types/src/views/project-detail/current-variable-modal/index.d.ts +5 -5
- package/dist/types/src/views/project-detail/global-variable-modal/index.d.ts +15 -15
- package/dist/types/src/views/project-detail/group-select/index.d.ts +14 -14
- package/dist/types/src/views/project-detail/headers-setting/index.d.ts +10 -10
- package/dist/types/src/views/project-detail/index.d.ts +28 -28
- package/dist/types/src/views/project-detail/interface-settings/index.d.ts +24 -24
- package/dist/types/src/views/project-detail/interface-settings/model.d.ts +43 -43
- package/dist/types/src/views/project-detail/params-setting/index.d.ts +34 -34
- package/dist/types/src/views/project-detail/pre-execution-setting/index.d.ts +16 -16
- package/dist/types/src/views/project-detail/response/index.d.ts +36 -36
- package/dist/types/src/views/project-detail/security-setting/index.d.ts +18 -18
- package/dist/types/src/views/project-detail/service.d.ts +14 -14
- package/dist/types/src/views/project-detail/tree/index.d.ts +53 -52
- package/dist/types/src/views/project-detail/tree-node/index.d.ts +9 -9
- package/dist/types/src/views/project-list/add-project-modal/index.d.ts +6 -6
- package/dist/types/src/views/project-list/card/index.d.ts +8 -8
- package/dist/types/src/views/project-list/confirm/index.d.ts +10 -10
- package/dist/types/src/views/project-list/index.d.ts +22 -22
- package/dist/types/src/views/project-list/service.d.ts +6 -6
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { View } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
import ProjectTrendsService from "./service";
|
|
4
|
-
import { Paging } from "@/models";
|
|
5
|
-
export default class ProjectComment extends View {
|
|
6
|
-
list: Array<any>;
|
|
7
|
-
itemComponent: any;
|
|
8
|
-
service: ProjectTrendsService;
|
|
9
|
-
condition: any;
|
|
10
|
-
paging: Paging;
|
|
11
|
-
mounted(): void;
|
|
12
|
-
onMore(): Promise<void>;
|
|
13
|
-
query(): Promise<any>;
|
|
14
|
-
onQuery(): void;
|
|
15
|
-
}
|
|
1
|
+
import { View } from "@egova/flagwind-web";
|
|
2
|
+
import "./index.scss";
|
|
3
|
+
import ProjectTrendsService from "./service";
|
|
4
|
+
import { Paging } from "@/models";
|
|
5
|
+
export default class ProjectComment extends View {
|
|
6
|
+
list: Array<any>;
|
|
7
|
+
itemComponent: any;
|
|
8
|
+
service: ProjectTrendsService;
|
|
9
|
+
condition: any;
|
|
10
|
+
paging: Paging;
|
|
11
|
+
mounted(): void;
|
|
12
|
+
onMore(): Promise<void>;
|
|
13
|
+
query(): Promise<any>;
|
|
14
|
+
onQuery(): void;
|
|
15
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import ApiService from "@/views/project-detail/service";
|
|
2
|
-
import { Component } from "@egova/flagwind-web";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
export default class Item extends Component {
|
|
5
|
-
source: any;
|
|
6
|
-
index: number;
|
|
7
|
-
service: ApiService;
|
|
8
|
-
onMore(): void;
|
|
9
|
-
onToApi(): Promise<void>;
|
|
10
|
-
}
|
|
1
|
+
import ApiService from "@/views/project-detail/service";
|
|
2
|
+
import { Component } from "@egova/flagwind-web";
|
|
3
|
+
import "./index.scss";
|
|
4
|
+
export default class Item extends Component {
|
|
5
|
+
source: any;
|
|
6
|
+
index: number;
|
|
7
|
+
service: ApiService;
|
|
8
|
+
onMore(): void;
|
|
9
|
+
onToApi(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QueryModel } from "@/models";
|
|
2
|
-
import { CommonService } from "@/services";
|
|
3
|
-
export default class ProjectTrendsService extends CommonService {
|
|
4
|
-
page(queryModel: QueryModel<any>): Promise<any>;
|
|
5
|
-
}
|
|
1
|
+
import { QueryModel } from "@/models";
|
|
2
|
+
import { CommonService } from "@/services";
|
|
3
|
+
export default class ProjectTrendsService extends CommonService {
|
|
4
|
+
page(queryModel: QueryModel<any>): Promise<any>;
|
|
5
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PostScript } from "../interface-settings/model";
|
|
2
|
-
import PreExecutionSetting from "../pre-execution-setting";
|
|
3
|
-
export default class AfterExecutionScript extends PreExecutionSetting {
|
|
4
|
-
key: "postScripts" | "preScripts";
|
|
5
|
-
model: PostScript;
|
|
6
|
-
getScript(): Promise<void>;
|
|
7
|
-
}
|
|
1
|
+
import { PostScript } from "../interface-settings/model";
|
|
2
|
+
import PreExecutionSetting from "../pre-execution-setting";
|
|
3
|
+
export default class AfterExecutionScript extends PreExecutionSetting {
|
|
4
|
+
key: "postScripts" | "preScripts";
|
|
5
|
+
model: PostScript;
|
|
6
|
+
getScript(): Promise<void>;
|
|
7
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import { FieldMapping, InterfaceModel } from "../interface-settings/model";
|
|
3
|
-
import { Response } from "../response";
|
|
4
|
-
import ApiService from "../service";
|
|
5
|
-
import "./index.scss";
|
|
6
|
-
export default class AfterExecutionTransfer extends Component {
|
|
7
|
-
service: ApiService;
|
|
8
|
-
interfaceModel: InterfaceModel;
|
|
9
|
-
response: Response;
|
|
10
|
-
checkAll: boolean;
|
|
11
|
-
debounceUpdateFieldMappings: Function;
|
|
12
|
-
columns: Array<any>;
|
|
13
|
-
valueTypeList: Array<any>;
|
|
14
|
-
dataList: Array<FieldMapping>;
|
|
15
|
-
onToggleAll(checkAll: boolean): void;
|
|
16
|
-
mounted(): Promise<void>;
|
|
17
|
-
getValueTypeList(): Promise<void>;
|
|
18
|
-
getFiledMappings(): Promise<void>;
|
|
19
|
-
onChangeChecked(value: boolean, item: any): void;
|
|
20
|
-
updateFieldMappings(): void;
|
|
21
|
-
}
|
|
1
|
+
import { Component } from "@egova/flagwind-web";
|
|
2
|
+
import { FieldMapping, InterfaceModel } from "../interface-settings/model";
|
|
3
|
+
import { Response } from "../response";
|
|
4
|
+
import ApiService from "../service";
|
|
5
|
+
import "./index.scss";
|
|
6
|
+
export default class AfterExecutionTransfer extends Component {
|
|
7
|
+
service: ApiService;
|
|
8
|
+
interfaceModel: InterfaceModel;
|
|
9
|
+
response: Response;
|
|
10
|
+
checkAll: boolean;
|
|
11
|
+
debounceUpdateFieldMappings: Function;
|
|
12
|
+
columns: Array<any>;
|
|
13
|
+
valueTypeList: Array<any>;
|
|
14
|
+
dataList: Array<FieldMapping>;
|
|
15
|
+
onToggleAll(checkAll: boolean): void;
|
|
16
|
+
mounted(): Promise<void>;
|
|
17
|
+
getValueTypeList(): Promise<void>;
|
|
18
|
+
getFiledMappings(): Promise<void>;
|
|
19
|
+
onChangeChecked(value: boolean, item: any): void;
|
|
20
|
+
updateFieldMappings(): void;
|
|
21
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
export default class BaseEditorSetting extends Component {
|
|
3
|
-
lengthwise: boolean;
|
|
4
|
-
editor: any;
|
|
5
|
-
onEditorInited(editor: any): void;
|
|
6
|
-
resizeEditor(): void;
|
|
7
|
-
}
|
|
1
|
+
import { Component } from "@egova/flagwind-web";
|
|
2
|
+
export default class BaseEditorSetting extends Component {
|
|
3
|
+
lengthwise: boolean;
|
|
4
|
+
editor: any;
|
|
5
|
+
onEditorInited(editor: any): void;
|
|
6
|
+
resizeEditor(): void;
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
export default class CurrentVariableModal extends Component {
|
|
4
|
-
value: boolean;
|
|
5
|
-
}
|
|
1
|
+
import { Component } from "@egova/flagwind-web";
|
|
2
|
+
import "./index.scss";
|
|
3
|
+
export default class CurrentVariableModal extends Component {
|
|
4
|
+
value: boolean;
|
|
5
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
export default class GlobalVariableModal extends Component {
|
|
4
|
-
value: boolean;
|
|
5
|
-
typeList: Array<any>;
|
|
6
|
-
active: any;
|
|
7
|
-
columns: Array<any>;
|
|
8
|
-
dataList: Array<any>;
|
|
9
|
-
onCheckTpye(type: any): void;
|
|
10
|
-
onDelete(paramList: Array<any>, index: number): void;
|
|
11
|
-
onUp(paramList: Array<any>, index: number): void;
|
|
12
|
-
onDown(paramList: Array<any>, index: number): void;
|
|
13
|
-
onTop(paramList: Array<any>, index: number): void;
|
|
14
|
-
onBottom(paramList: Array<any>, index: number): void;
|
|
15
|
-
}
|
|
1
|
+
import { Component } from "@egova/flagwind-web";
|
|
2
|
+
import "./index.scss";
|
|
3
|
+
export default class GlobalVariableModal extends Component {
|
|
4
|
+
value: boolean;
|
|
5
|
+
typeList: Array<any>;
|
|
6
|
+
active: any;
|
|
7
|
+
columns: Array<any>;
|
|
8
|
+
dataList: Array<any>;
|
|
9
|
+
onCheckTpye(type: any): void;
|
|
10
|
+
onDelete(paramList: Array<any>, index: number): void;
|
|
11
|
+
onUp(paramList: Array<any>, index: number): void;
|
|
12
|
+
onDown(paramList: Array<any>, index: number): void;
|
|
13
|
+
onTop(paramList: Array<any>, index: number): void;
|
|
14
|
+
onBottom(paramList: Array<any>, index: number): void;
|
|
15
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
export default class GroupSelect extends Component {
|
|
4
|
-
data: Array<any>;
|
|
5
|
-
current: any;
|
|
6
|
-
visible: boolean;
|
|
7
|
-
onSelect(arr: Array<any>, node: any): void;
|
|
8
|
-
onClear(): void;
|
|
9
|
-
renderContent(h: Function, { root, node, data }: {
|
|
10
|
-
root: Array<any>;
|
|
11
|
-
node: any;
|
|
12
|
-
data: any;
|
|
13
|
-
}): void;
|
|
14
|
-
}
|
|
1
|
+
import { Component } from "@egova/flagwind-web";
|
|
2
|
+
import "./index.scss";
|
|
3
|
+
export default class GroupSelect extends Component {
|
|
4
|
+
data: Array<any>;
|
|
5
|
+
current: any;
|
|
6
|
+
visible: boolean;
|
|
7
|
+
onSelect(arr: Array<any>, node: any): void;
|
|
8
|
+
onClear(): void;
|
|
9
|
+
renderContent(h: Function, { root, node, data }: {
|
|
10
|
+
root: Array<any>;
|
|
11
|
+
node: any;
|
|
12
|
+
data: any;
|
|
13
|
+
}): void;
|
|
14
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import { InterfaceModel } from "../interface-settings/model";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
export default class HeadersSetting extends Component {
|
|
5
|
-
interfaceModel: InterfaceModel;
|
|
6
|
-
columns: Array<any>;
|
|
7
|
-
onDelete(index: number): void;
|
|
8
|
-
onAdd(): void;
|
|
9
|
-
onChangeDisabled(value: boolean, item: any): void;
|
|
10
|
-
}
|
|
1
|
+
import { Component } from "@egova/flagwind-web";
|
|
2
|
+
import { InterfaceModel } from "../interface-settings/model";
|
|
3
|
+
import "./index.scss";
|
|
4
|
+
export default class HeadersSetting extends Component {
|
|
5
|
+
interfaceModel: InterfaceModel;
|
|
6
|
+
columns: Array<any>;
|
|
7
|
+
onDelete(index: number): void;
|
|
8
|
+
onAdd(): void;
|
|
9
|
+
onChangeDisabled(value: boolean, item: any): void;
|
|
10
|
+
}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import ApiService from "./service";
|
|
2
|
-
import { View } from "@egova/flagwind-web";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
import SwiperType from "swiper";
|
|
5
|
-
export default class ProjectDetail extends View {
|
|
6
|
-
openInterfaceList: Array<any>;
|
|
7
|
-
active: any;
|
|
8
|
-
lengthwise: boolean;
|
|
9
|
-
showGlobalModal: boolean;
|
|
10
|
-
showCurrentModal: boolean;
|
|
11
|
-
service: ApiService;
|
|
12
|
-
projectId: string;
|
|
13
|
-
projectName: string;
|
|
14
|
-
split: string;
|
|
15
|
-
loading: boolean;
|
|
16
|
-
swiper: SwiperType;
|
|
17
|
-
swiperOption: any;
|
|
18
|
-
onClickSlide(index: number): void;
|
|
19
|
-
onSwiperReadied(swiper: SwiperType): void;
|
|
20
|
-
onCheckInterface(data: any): Promise<void>;
|
|
21
|
-
onClose(index: number): void;
|
|
22
|
-
onClickTag(data: any): void;
|
|
23
|
-
onToggleLayout(): void;
|
|
24
|
-
onOpenGlobalModal(): void;
|
|
25
|
-
onOpenCurrentModal(): void;
|
|
26
|
-
mounted(): void;
|
|
27
|
-
onBack(): void;
|
|
28
|
-
}
|
|
1
|
+
import ApiService from "./service";
|
|
2
|
+
import { View } from "@egova/flagwind-web";
|
|
3
|
+
import "./index.scss";
|
|
4
|
+
import SwiperType from "swiper";
|
|
5
|
+
export default class ProjectDetail extends View {
|
|
6
|
+
openInterfaceList: Array<any>;
|
|
7
|
+
active: any;
|
|
8
|
+
lengthwise: boolean;
|
|
9
|
+
showGlobalModal: boolean;
|
|
10
|
+
showCurrentModal: boolean;
|
|
11
|
+
service: ApiService;
|
|
12
|
+
projectId: string;
|
|
13
|
+
projectName: string;
|
|
14
|
+
split: string;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
swiper: SwiperType;
|
|
17
|
+
swiperOption: any;
|
|
18
|
+
onClickSlide(index: number): void;
|
|
19
|
+
onSwiperReadied(swiper: SwiperType): void;
|
|
20
|
+
onCheckInterface(data: any): Promise<void>;
|
|
21
|
+
onClose(index: number): void;
|
|
22
|
+
onClickTag(data: any): void;
|
|
23
|
+
onToggleLayout(): void;
|
|
24
|
+
onOpenGlobalModal(): void;
|
|
25
|
+
onOpenCurrentModal(): void;
|
|
26
|
+
mounted(): void;
|
|
27
|
+
onBack(): void;
|
|
28
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { Component } from "@egova/flagwind-web";
|
|
2
|
-
import { Response } from "../response";
|
|
3
|
-
import ApiService from "../service";
|
|
4
|
-
import "./index.scss";
|
|
5
|
-
import { InterfaceModel } from "./model";
|
|
6
|
-
export default class InterfaceSettings extends Component {
|
|
7
|
-
service: ApiService;
|
|
8
|
-
interfaceModel: InterfaceModel;
|
|
9
|
-
lengthwise: boolean;
|
|
10
|
-
projectId: string;
|
|
11
|
-
response: Response;
|
|
12
|
-
responseCache: Map<string, Response>;
|
|
13
|
-
loading: boolean;
|
|
14
|
-
typeList: Array<any>;
|
|
15
|
-
requertSettingTypeList: Array<any>;
|
|
16
|
-
currentRequestSettingType: any;
|
|
17
|
-
onClickRequertSettingTpye(item: any): void;
|
|
18
|
-
onClickRequertSettingSubTpye(item: any, subItem: string): void;
|
|
19
|
-
onRun(): Promise<void>;
|
|
20
|
-
onSave(): Promise<void>;
|
|
21
|
-
interfaceModelChange(): void;
|
|
22
|
-
onImport(file: any): boolean;
|
|
23
|
-
onExport(): void;
|
|
24
|
-
}
|
|
1
|
+
import { Component } from "@egova/flagwind-web";
|
|
2
|
+
import { Response } from "../response";
|
|
3
|
+
import ApiService from "../service";
|
|
4
|
+
import "./index.scss";
|
|
5
|
+
import { InterfaceModel } from "./model";
|
|
6
|
+
export default class InterfaceSettings extends Component {
|
|
7
|
+
service: ApiService;
|
|
8
|
+
interfaceModel: InterfaceModel;
|
|
9
|
+
lengthwise: boolean;
|
|
10
|
+
projectId: string;
|
|
11
|
+
response: Response;
|
|
12
|
+
responseCache: Map<string, Response>;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
typeList: Array<any>;
|
|
15
|
+
requertSettingTypeList: Array<any>;
|
|
16
|
+
currentRequestSettingType: any;
|
|
17
|
+
onClickRequertSettingTpye(item: any): void;
|
|
18
|
+
onClickRequertSettingSubTpye(item: any, subItem: string): void;
|
|
19
|
+
onRun(): Promise<void>;
|
|
20
|
+
onSave(): Promise<void>;
|
|
21
|
+
interfaceModelChange(): void;
|
|
22
|
+
onImport(file: any): boolean;
|
|
23
|
+
onExport(): void;
|
|
24
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
export declare class InterfaceModel {
|
|
2
|
-
info: any;
|
|
3
|
-
json: string;
|
|
4
|
-
queryParams: Array<any>;
|
|
5
|
-
formParams: Array<any>;
|
|
6
|
-
requestHeaders: Array<any>;
|
|
7
|
-
preScripts: Array<PreScript>;
|
|
8
|
-
postScripts: Array<PostScript>;
|
|
9
|
-
eventScripts: Array<any>;
|
|
10
|
-
convertConfig: ConvertConfig;
|
|
11
|
-
fieldMappings: Array<FieldMapping>;
|
|
12
|
-
authentication: Authentication;
|
|
13
|
-
}
|
|
14
|
-
export declare class Authentication {
|
|
15
|
-
type: string;
|
|
16
|
-
content: string;
|
|
17
|
-
location: string;
|
|
18
|
-
locationKey: string;
|
|
19
|
-
}
|
|
20
|
-
export declare class ConvertConfig {
|
|
21
|
-
convertRoot: string;
|
|
22
|
-
successCodePath: string;
|
|
23
|
-
successCode: string;
|
|
24
|
-
}
|
|
25
|
-
export declare class FieldMapping {
|
|
26
|
-
id: string;
|
|
27
|
-
paramPath: string;
|
|
28
|
-
originalParamPath: string;
|
|
29
|
-
name: string;
|
|
30
|
-
valueType: string;
|
|
31
|
-
checked: boolean;
|
|
32
|
-
}
|
|
33
|
-
export declare class PreScript {
|
|
34
|
-
id: string;
|
|
35
|
-
projectId: string;
|
|
36
|
-
apiId: string;
|
|
37
|
-
eventType: string;
|
|
38
|
-
type: string;
|
|
39
|
-
content: string;
|
|
40
|
-
}
|
|
41
|
-
export declare class PostScript extends PreScript {
|
|
42
|
-
eventType: string;
|
|
43
|
-
}
|
|
1
|
+
export declare class InterfaceModel {
|
|
2
|
+
info: any;
|
|
3
|
+
json: string;
|
|
4
|
+
queryParams: Array<any>;
|
|
5
|
+
formParams: Array<any>;
|
|
6
|
+
requestHeaders: Array<any>;
|
|
7
|
+
preScripts: Array<PreScript>;
|
|
8
|
+
postScripts: Array<PostScript>;
|
|
9
|
+
eventScripts: Array<any>;
|
|
10
|
+
convertConfig: ConvertConfig;
|
|
11
|
+
fieldMappings: Array<FieldMapping>;
|
|
12
|
+
authentication: Authentication;
|
|
13
|
+
}
|
|
14
|
+
export declare class Authentication {
|
|
15
|
+
type: string;
|
|
16
|
+
content: string;
|
|
17
|
+
location: string;
|
|
18
|
+
locationKey: string;
|
|
19
|
+
}
|
|
20
|
+
export declare class ConvertConfig {
|
|
21
|
+
convertRoot: string;
|
|
22
|
+
successCodePath: string;
|
|
23
|
+
successCode: string;
|
|
24
|
+
}
|
|
25
|
+
export declare class FieldMapping {
|
|
26
|
+
id: string;
|
|
27
|
+
paramPath: string;
|
|
28
|
+
originalParamPath: string;
|
|
29
|
+
name: string;
|
|
30
|
+
valueType: string;
|
|
31
|
+
checked: boolean;
|
|
32
|
+
}
|
|
33
|
+
export declare class PreScript {
|
|
34
|
+
id: string;
|
|
35
|
+
projectId: string;
|
|
36
|
+
apiId: string;
|
|
37
|
+
eventType: string;
|
|
38
|
+
type: string;
|
|
39
|
+
content: string;
|
|
40
|
+
}
|
|
41
|
+
export declare class PostScript extends PreScript {
|
|
42
|
+
eventType: string;
|
|
43
|
+
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import BaseEditorSetting from "../base-editor-setting";
|
|
2
|
-
import { InterfaceModel } from "../interface-settings/model";
|
|
3
|
-
import ApiService from "../service";
|
|
4
|
-
import "./index.scss";
|
|
5
|
-
export default class ParamsSetting extends BaseEditorSetting {
|
|
6
|
-
interfaceModel: InterfaceModel;
|
|
7
|
-
service: ApiService;
|
|
8
|
-
value: Array<string>;
|
|
9
|
-
paramColumns: Array<any>;
|
|
10
|
-
queryDataList: Array<any>;
|
|
11
|
-
requestBodyTypeList: Array<any>;
|
|
12
|
-
typeMap: any;
|
|
13
|
-
getExpand(value: string): boolean;
|
|
14
|
-
onDelete(paramList: Array<any>, index: number): void;
|
|
15
|
-
onUp(paramList: Array<any>, index: number): void;
|
|
16
|
-
onDown(paramList: Array<any>, index: number): void;
|
|
17
|
-
onTop(paramList: Array<any>, index: number): void;
|
|
18
|
-
onBottom(paramList: Array<any>, index: number): void;
|
|
19
|
-
onDeleteBodyParam(paramList: Array<any>, id: string): void;
|
|
20
|
-
onUpBodyParam(paramList: Array<any>, id?: string): void;
|
|
21
|
-
onDownBodyParam(paramList: Array<any>, id?: string): void;
|
|
22
|
-
onTopBodyParam(paramList: Array<any>, id?: string): void;
|
|
23
|
-
onBottomBodyParam(paramList: Array<any>, id?: string): void;
|
|
24
|
-
onChangeDisabled(value: boolean, item: any): void;
|
|
25
|
-
init(): void;
|
|
26
|
-
get bodyDataList(): any[];
|
|
27
|
-
onAddRequestParam(): void;
|
|
28
|
-
onAddBodyParam(): void;
|
|
29
|
-
get bodyType(): string;
|
|
30
|
-
set bodyType(value: string);
|
|
31
|
-
get isFormData(): boolean;
|
|
32
|
-
onBeautify(): void;
|
|
33
|
-
mounted(): Promise<void>;
|
|
34
|
-
}
|
|
1
|
+
import BaseEditorSetting from "../base-editor-setting";
|
|
2
|
+
import { InterfaceModel } from "../interface-settings/model";
|
|
3
|
+
import ApiService from "../service";
|
|
4
|
+
import "./index.scss";
|
|
5
|
+
export default class ParamsSetting extends BaseEditorSetting {
|
|
6
|
+
interfaceModel: InterfaceModel;
|
|
7
|
+
service: ApiService;
|
|
8
|
+
value: Array<string>;
|
|
9
|
+
paramColumns: Array<any>;
|
|
10
|
+
queryDataList: Array<any>;
|
|
11
|
+
requestBodyTypeList: Array<any>;
|
|
12
|
+
typeMap: any;
|
|
13
|
+
getExpand(value: string): boolean;
|
|
14
|
+
onDelete(paramList: Array<any>, index: number): void;
|
|
15
|
+
onUp(paramList: Array<any>, index: number): void;
|
|
16
|
+
onDown(paramList: Array<any>, index: number): void;
|
|
17
|
+
onTop(paramList: Array<any>, index: number): void;
|
|
18
|
+
onBottom(paramList: Array<any>, index: number): void;
|
|
19
|
+
onDeleteBodyParam(paramList: Array<any>, id: string): void;
|
|
20
|
+
onUpBodyParam(paramList: Array<any>, id?: string): void;
|
|
21
|
+
onDownBodyParam(paramList: Array<any>, id?: string): void;
|
|
22
|
+
onTopBodyParam(paramList: Array<any>, id?: string): void;
|
|
23
|
+
onBottomBodyParam(paramList: Array<any>, id?: string): void;
|
|
24
|
+
onChangeDisabled(value: boolean, item: any): void;
|
|
25
|
+
init(): void;
|
|
26
|
+
get bodyDataList(): any[];
|
|
27
|
+
onAddRequestParam(): void;
|
|
28
|
+
onAddBodyParam(): void;
|
|
29
|
+
get bodyType(): string;
|
|
30
|
+
set bodyType(value: string);
|
|
31
|
+
get isFormData(): boolean;
|
|
32
|
+
onBeautify(): void;
|
|
33
|
+
mounted(): Promise<void>;
|
|
34
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import BaseEditorSetting from "../base-editor-setting";
|
|
2
|
-
import { InterfaceModel, PreScript } from "../interface-settings/model";
|
|
3
|
-
import "./index.scss";
|
|
4
|
-
import ApiService from "../service";
|
|
5
|
-
export default class PreExecutionSetting extends BaseEditorSetting {
|
|
6
|
-
interfaceModel: InterfaceModel;
|
|
7
|
-
service: ApiService;
|
|
8
|
-
scriptData: any;
|
|
9
|
-
model: PreScript;
|
|
10
|
-
key: "postScripts" | "preScripts";
|
|
11
|
-
mounted(): void;
|
|
12
|
-
getScript(): Promise<void>;
|
|
13
|
-
onClickItem(item: any): void;
|
|
14
|
-
get script(): string;
|
|
15
|
-
set script(value: string);
|
|
16
|
-
}
|
|
1
|
+
import BaseEditorSetting from "../base-editor-setting";
|
|
2
|
+
import { InterfaceModel, PreScript } from "../interface-settings/model";
|
|
3
|
+
import "./index.scss";
|
|
4
|
+
import ApiService from "../service";
|
|
5
|
+
export default class PreExecutionSetting extends BaseEditorSetting {
|
|
6
|
+
interfaceModel: InterfaceModel;
|
|
7
|
+
service: ApiService;
|
|
8
|
+
scriptData: any;
|
|
9
|
+
model: PreScript;
|
|
10
|
+
key: "postScripts" | "preScripts";
|
|
11
|
+
mounted(): void;
|
|
12
|
+
getScript(): Promise<void>;
|
|
13
|
+
onClickItem(item: any): void;
|
|
14
|
+
get script(): string;
|
|
15
|
+
set script(value: string);
|
|
16
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import BaseEditorSetting from "../base-editor-setting";
|
|
2
|
-
import "./index.scss";
|
|
3
|
-
export declare class Response {
|
|
4
|
-
code?: number;
|
|
5
|
-
time?: number;
|
|
6
|
-
size?: number;
|
|
7
|
-
content: string;
|
|
8
|
-
originalContent: string;
|
|
9
|
-
requestHeaders: any;
|
|
10
|
-
responseHeaders: any;
|
|
11
|
-
cookies: any;
|
|
12
|
-
errorMessage: string;
|
|
13
|
-
output: string;
|
|
14
|
-
}
|
|
15
|
-
export default class ResponsePanel extends BaseEditorSetting {
|
|
16
|
-
responseSettingTypeList: Array<any>;
|
|
17
|
-
lang: "json" | "xml";
|
|
18
|
-
contentType: "content" | "originalContent";
|
|
19
|
-
response: Response;
|
|
20
|
-
headerColumns: Array<any>;
|
|
21
|
-
active: any;
|
|
22
|
-
onClickResponseSettingTpye(type: any): void;
|
|
23
|
-
get content(): string;
|
|
24
|
-
get output(): string;
|
|
25
|
-
get responseHeaders(): {
|
|
26
|
-
key: string;
|
|
27
|
-
value: any;
|
|
28
|
-
}[];
|
|
29
|
-
get requestHeaders(): {
|
|
30
|
-
key: string;
|
|
31
|
-
value: any;
|
|
32
|
-
}[];
|
|
33
|
-
get cookies(): any;
|
|
34
|
-
onChangeLang(lang: "json" | "xml"): void;
|
|
35
|
-
init(): void;
|
|
36
|
-
}
|
|
1
|
+
import BaseEditorSetting from "../base-editor-setting";
|
|
2
|
+
import "./index.scss";
|
|
3
|
+
export declare class Response {
|
|
4
|
+
code?: number;
|
|
5
|
+
time?: number;
|
|
6
|
+
size?: number;
|
|
7
|
+
content: string;
|
|
8
|
+
originalContent: string;
|
|
9
|
+
requestHeaders: any;
|
|
10
|
+
responseHeaders: any;
|
|
11
|
+
cookies: any;
|
|
12
|
+
errorMessage: string;
|
|
13
|
+
output: string;
|
|
14
|
+
}
|
|
15
|
+
export default class ResponsePanel extends BaseEditorSetting {
|
|
16
|
+
responseSettingTypeList: Array<any>;
|
|
17
|
+
lang: "json" | "xml";
|
|
18
|
+
contentType: "content" | "originalContent";
|
|
19
|
+
response: Response;
|
|
20
|
+
headerColumns: Array<any>;
|
|
21
|
+
active: any;
|
|
22
|
+
onClickResponseSettingTpye(type: any): void;
|
|
23
|
+
get content(): string;
|
|
24
|
+
get output(): string;
|
|
25
|
+
get responseHeaders(): {
|
|
26
|
+
key: string;
|
|
27
|
+
value: any;
|
|
28
|
+
}[];
|
|
29
|
+
get requestHeaders(): {
|
|
30
|
+
key: string;
|
|
31
|
+
value: any;
|
|
32
|
+
}[];
|
|
33
|
+
get cookies(): any;
|
|
34
|
+
onChangeLang(lang: "json" | "xml"): void;
|
|
35
|
+
init(): void;
|
|
36
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
+
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
|
+
}
|