@zgfe/modules-settings 2.0.0-zhongyuan.9 → 2.1.0-zhongyuan.1
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/es/constants/api.d.ts +9 -0
- package/es/constants/api.js +15 -0
- package/es/modules/companySetting/application/index.d.ts +13 -0
- package/es/modules/companySetting/application/index.js +271 -98
- package/es/modules/companySetting/application/index.less +144 -126
- package/es/modules/companySetting/user/invite.js +2 -2
- package/es/modules/createDemand/constants.d.ts +15 -2
- package/es/modules/createDemand/constants.js +57 -4
- package/es/modules/createDemand/index.d.ts +0 -1
- package/es/modules/createDemand/index.js +790 -177
- package/es/modules/createDemand/styles/index.less +403 -277
- package/es/modules/demandManage/index.js +175 -178
- package/es/modules/demandManage/styles/index.less +8 -68
- package/es/modules/messageList/index.d.ts +1 -1
- package/es/modules/messageList/index.js +6 -6
- package/es/modules/personalSetting/demo/index.d.ts +3 -0
- package/es/modules/personalSetting/demo/index.js +12 -0
- package/es/modules/personalSetting/index.js +11 -1
- package/es/modules/personalSetting/info/index.js +23 -5
- package/es/modules/pointMap/createMetaDrawer.d.ts +5 -0
- package/es/modules/pointMap/createMetaDrawer.js +656 -0
- package/es/modules/pointMap/pageInfo.js +358 -172
- package/es/modules/pointMap/record.d.ts +7 -0
- package/es/modules/pointMap/record.js +521 -0
- package/es/modules/pointMap/styles/index.less +152 -38
- package/es/modules/pointMap/styles/pageInfo.less +426 -244
- package/es/modules/pointMap/tree.js +1 -0
- package/es/modules/pointMap/types.d.ts +88 -0
- package/es/modules/pointMap/types.js +1 -0
- package/es/types/personal.d.ts +1 -0
- package/package.json +74 -74
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* 虚拟事件基础属性
|
|
4
|
+
*/
|
|
5
|
+
export interface VirtualEventBase {
|
|
6
|
+
aliasName: string;
|
|
7
|
+
bindEvent: string;
|
|
8
|
+
createUser: string;
|
|
9
|
+
description: string;
|
|
10
|
+
eventName: string;
|
|
11
|
+
insertTime: number;
|
|
12
|
+
updateTime: number;
|
|
13
|
+
lastInsertTime: number;
|
|
14
|
+
isStop: number;
|
|
15
|
+
markType: number;
|
|
16
|
+
owner: string;
|
|
17
|
+
}
|
|
18
|
+
export interface eventJsonProps {
|
|
19
|
+
eventId: number;
|
|
20
|
+
eventName: string;
|
|
21
|
+
owner: string;
|
|
22
|
+
}
|
|
23
|
+
export interface VirtualEventProps extends VirtualEventBase {
|
|
24
|
+
eventGroupId: number;
|
|
25
|
+
groupId?: number;
|
|
26
|
+
eventJson: eventJsonProps[];
|
|
27
|
+
id: number;
|
|
28
|
+
}
|
|
29
|
+
export interface DataType extends VirtualEventBase {
|
|
30
|
+
key: React.Key;
|
|
31
|
+
groupId?: number;
|
|
32
|
+
groupName?: string;
|
|
33
|
+
_groupId?: number;
|
|
34
|
+
}
|
|
35
|
+
export interface TableItemType {
|
|
36
|
+
groupId: number;
|
|
37
|
+
groupName: string;
|
|
38
|
+
eventList: [];
|
|
39
|
+
}
|
|
40
|
+
export interface GroupOptionsType {
|
|
41
|
+
value?: number;
|
|
42
|
+
label?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface TablePlusType {
|
|
45
|
+
tableRenderData: DataType[];
|
|
46
|
+
editOrSeeVirtualEvent: Function;
|
|
47
|
+
refresh: Function;
|
|
48
|
+
markTypeFilter: Function;
|
|
49
|
+
loading: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface CreateVirtualDrawerProps {
|
|
52
|
+
createVirtualShow: boolean;
|
|
53
|
+
setCreateVirtualShow: Function;
|
|
54
|
+
editVirtualEventData: VirtualEventProps;
|
|
55
|
+
virtualDrawerType: 'create' | 'edit' | 'see';
|
|
56
|
+
groupOptions: GroupOptionsType[];
|
|
57
|
+
refresh: Function;
|
|
58
|
+
}
|
|
59
|
+
export interface DelectAttributesDataProps {
|
|
60
|
+
name: string;
|
|
61
|
+
id: number;
|
|
62
|
+
attrList: {
|
|
63
|
+
ofEventId: number[];
|
|
64
|
+
}[];
|
|
65
|
+
}
|
|
66
|
+
export interface SubmitDataProps {
|
|
67
|
+
aliasName: string;
|
|
68
|
+
desc: string;
|
|
69
|
+
eventGroupId: number;
|
|
70
|
+
eventName: string;
|
|
71
|
+
eventJson: eventJsonProps[];
|
|
72
|
+
}
|
|
73
|
+
export interface EventGroupingDrawerProps {
|
|
74
|
+
eventGroupingShow: boolean;
|
|
75
|
+
setEventGroupingShow: Function;
|
|
76
|
+
refresh: Function;
|
|
77
|
+
source: 'virtual' | 'collection';
|
|
78
|
+
}
|
|
79
|
+
export interface CreateMetaDrawerProps {
|
|
80
|
+
isShow: boolean;
|
|
81
|
+
onClose: Function;
|
|
82
|
+
onSubmit?: Function;
|
|
83
|
+
selectTreeName?: string;
|
|
84
|
+
data: any;
|
|
85
|
+
isEdit: Boolean;
|
|
86
|
+
}
|
|
87
|
+
export interface DevelopModelProps {
|
|
88
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/es/types/personal.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@zgfe/modules-settings",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"private": false,
|
|
5
|
-
"module": "es/index.js",
|
|
6
|
-
"typings": "es/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"es"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "father-build",
|
|
12
|
-
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
-
"docs:build": "dumi build",
|
|
14
|
-
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
-
"prepublishOnly": "npm run build",
|
|
16
|
-
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
-
"pub": "lerna publish",
|
|
18
|
-
"start": "dumi dev",
|
|
19
|
-
"test": "umi-test",
|
|
20
|
-
"test:coverage": "umi-test --coverage"
|
|
21
|
-
},
|
|
22
|
-
"lint-staged": {
|
|
23
|
-
"*.{js,jsx,less,md,json}": [
|
|
24
|
-
"prettier --write"
|
|
25
|
-
],
|
|
26
|
-
"*.ts?(x)": [
|
|
27
|
-
"prettier --parser=typescript --write"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"dependencies": {
|
|
31
|
-
"@antv/layout": "^0.3.25",
|
|
32
|
-
"@antv/x6": "^1.33.1",
|
|
33
|
-
"@antv/x6-react-components": "^1.1.15",
|
|
34
|
-
"@antv/x6-react-shape": "^1.6.1",
|
|
35
|
-
"@types/dom-to-image": "^2.6.7",
|
|
36
|
-
"canvg": "^4.0.2",
|
|
37
|
-
"clipboard": "^2.0.11",
|
|
38
|
-
"dom-to-image": "^2.6.0",
|
|
39
|
-
"echarts": "^5.5.1",
|
|
40
|
-
"echarts-for-react": "^3.0.2",
|
|
41
|
-
"html2canvas": "^1.4.1",
|
|
42
|
-
"jspdf": "^2.5.1",
|
|
43
|
-
"react": "^16.12.0 || ^17.0.0",
|
|
44
|
-
"react-router-dom": "^6.8.2"
|
|
45
|
-
},
|
|
46
|
-
"devDependencies": {
|
|
47
|
-
"@testing-library/jest-dom": "^5.15.1",
|
|
48
|
-
"@testing-library/react": "^12.1.2",
|
|
49
|
-
"@types/jest": "^27.0.3",
|
|
50
|
-
"@types/lodash": "^4.14.182",
|
|
51
|
-
"@umijs/fabric": "^2.8.1",
|
|
52
|
-
"@umijs/test": "^3.0.5",
|
|
53
|
-
"@zgfe/business-lib": "1.2.70-hxd.5",
|
|
54
|
-
"@zgfe/modules-demo-manage": "1.0.5-zhongyuan.0",
|
|
55
|
-
"@zgfe/modules-dm": "1.0.56-zhongyuan.1",
|
|
56
|
-
"antd": "^4.22.6",
|
|
57
|
-
"dumi": "^1.1.0",
|
|
58
|
-
"father-build": "^1.17.2",
|
|
59
|
-
"gh-pages": "^3.0.0",
|
|
60
|
-
"lerna": "^5.1.7",
|
|
61
|
-
"lint-staged": "^10.0.7",
|
|
62
|
-
"lodash": "^4.17.21",
|
|
63
|
-
"prettier": "^2.2.1",
|
|
64
|
-
"umi-request": "^1.4.0",
|
|
65
|
-
"yorkie": "^2.0.0"
|
|
66
|
-
},
|
|
67
|
-
"publishConfig": {
|
|
68
|
-
"access": "public"
|
|
69
|
-
},
|
|
70
|
-
"gitHead": "
|
|
71
|
-
"gitHooks": {
|
|
72
|
-
"pre-commit": "lint-staged"
|
|
73
|
-
}
|
|
74
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@zgfe/modules-settings",
|
|
3
|
+
"version": "2.1.0-zhongyuan.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "es/index.js",
|
|
6
|
+
"typings": "es/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"es"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "father-build",
|
|
12
|
+
"deploy": "npm run docs:build && npm run docs:deploy",
|
|
13
|
+
"docs:build": "dumi build",
|
|
14
|
+
"docs:deploy": "gh-pages -d docs-dist",
|
|
15
|
+
"prepublishOnly": "npm run build",
|
|
16
|
+
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
|
|
17
|
+
"pub": "lerna publish",
|
|
18
|
+
"start": "dumi dev",
|
|
19
|
+
"test": "umi-test",
|
|
20
|
+
"test:coverage": "umi-test --coverage"
|
|
21
|
+
},
|
|
22
|
+
"lint-staged": {
|
|
23
|
+
"*.{js,jsx,less,md,json}": [
|
|
24
|
+
"prettier --write"
|
|
25
|
+
],
|
|
26
|
+
"*.ts?(x)": [
|
|
27
|
+
"prettier --parser=typescript --write"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@antv/layout": "^0.3.25",
|
|
32
|
+
"@antv/x6": "^1.33.1",
|
|
33
|
+
"@antv/x6-react-components": "^1.1.15",
|
|
34
|
+
"@antv/x6-react-shape": "^1.6.1",
|
|
35
|
+
"@types/dom-to-image": "^2.6.7",
|
|
36
|
+
"canvg": "^4.0.2",
|
|
37
|
+
"clipboard": "^2.0.11",
|
|
38
|
+
"dom-to-image": "^2.6.0",
|
|
39
|
+
"echarts": "^5.5.1",
|
|
40
|
+
"echarts-for-react": "^3.0.2",
|
|
41
|
+
"html2canvas": "^1.4.1",
|
|
42
|
+
"jspdf": "^2.5.1",
|
|
43
|
+
"react": "^16.12.0 || ^17.0.0",
|
|
44
|
+
"react-router-dom": "^6.8.2"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@testing-library/jest-dom": "^5.15.1",
|
|
48
|
+
"@testing-library/react": "^12.1.2",
|
|
49
|
+
"@types/jest": "^27.0.3",
|
|
50
|
+
"@types/lodash": "^4.14.182",
|
|
51
|
+
"@umijs/fabric": "^2.8.1",
|
|
52
|
+
"@umijs/test": "^3.0.5",
|
|
53
|
+
"@zgfe/business-lib": "1.2.70-hxd.5",
|
|
54
|
+
"@zgfe/modules-demo-manage": "1.0.5-zhongyuan.0",
|
|
55
|
+
"@zgfe/modules-dm": "1.0.56-zhongyuan.1",
|
|
56
|
+
"antd": "^4.22.6",
|
|
57
|
+
"dumi": "^1.1.0",
|
|
58
|
+
"father-build": "^1.17.2",
|
|
59
|
+
"gh-pages": "^3.0.0",
|
|
60
|
+
"lerna": "^5.1.7",
|
|
61
|
+
"lint-staged": "^10.0.7",
|
|
62
|
+
"lodash": "^4.17.21",
|
|
63
|
+
"prettier": "^2.2.1",
|
|
64
|
+
"umi-request": "^1.4.0",
|
|
65
|
+
"yorkie": "^2.0.0"
|
|
66
|
+
},
|
|
67
|
+
"publishConfig": {
|
|
68
|
+
"access": "public"
|
|
69
|
+
},
|
|
70
|
+
"gitHead": "3ee3a684fabc0fda096aa07fc26c30251a1e6d57",
|
|
71
|
+
"gitHooks": {
|
|
72
|
+
"pre-commit": "lint-staged"
|
|
73
|
+
}
|
|
74
|
+
}
|