@zgfe/modules-dm 1.0.56-zhongyuan.8 → 1.0.57-alpha.0
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 +29 -0
- package/es/constants/api.js +34 -1
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/modules/CutsModal.d.ts +81 -34
- package/es/modules/clear-rule/addRule.d.ts +10 -0
- package/es/modules/clear-rule/addRule.js +614 -0
- package/es/modules/clear-rule/css/index.css +256 -0
- package/es/modules/clear-rule/css/index.less +270 -0
- package/es/modules/clear-rule/demo/index.d.ts +3 -0
- package/es/modules/clear-rule/demo/index.js +6 -0
- package/es/modules/clear-rule/importMetaDialog/demo/index.d.ts +3 -0
- package/es/modules/clear-rule/importMetaDialog/demo/index.js +28 -0
- package/es/modules/clear-rule/importMetaDialog/index.d.ts +7 -0
- package/es/modules/clear-rule/importMetaDialog/index.js +165 -0
- package/es/modules/clear-rule/importMetaDialog/styles/index.less +91 -0
- package/es/modules/clear-rule/index.d.ts +4 -0
- package/es/modules/clear-rule/index.js +529 -0
- package/es/modules/dataManage/collectionAttributeList.js +424 -43
- package/es/modules/dataManage/collectionEventList.js +1 -1
- package/es/modules/dataManage/components/createMetaDrawer.js +5 -6
- package/es/modules/dataManage/components/eventGroupingDrawer.js +13 -4
- package/es/modules/dataManage/components/panelList.d.ts +6 -0
- package/es/modules/dataManage/components/panelList.js +172 -0
- package/es/modules/dataManage/components/tablePlus.d.ts +1 -0
- package/es/modules/dataManage/components/tablePlus.js +160 -46
- package/es/modules/dataManage/components/virtualTablePlus.js +4 -0
- package/es/modules/dataManage/demo/index.js +1 -2
- package/es/modules/dataManage/styles/index.less +10 -0
- package/es/modules/dataMap/component/drawerAdd.js +2 -0
- package/es/modules/dataMap/component/leftTree.js +7 -3
- package/es/modules/dataMap/component/rightDetail.js +59 -93
- package/es/modules/dataMap/component/selectAttr.d.ts +7 -0
- package/es/modules/dataMap/component/selectAttr.js +91 -0
- package/es/modules/dataMap/component/viewMapSetting.d.ts +24 -0
- package/es/modules/dataMap/component/viewMapSetting.js +161 -0
- package/es/modules/dataMap/css/index.css +196 -168
- package/es/modules/dataMap/css/index.less +213 -185
- package/es/modules/dataMap/mapSetting.js +21 -4
- package/es/modules/dataReal/css/index.css +50 -48
- package/es/modules/dataReal/css/index.less +53 -51
- package/es/modules/dataReal/index1.js +84 -57
- package/es/modules/dataReal/table.js +40 -7
- package/es/modules/formulate-rule/addFormulate.d.ts +20 -0
- package/es/modules/formulate-rule/addFormulate.js +328 -0
- package/es/modules/formulate-rule/addRule.d.ts +19 -0
- package/es/modules/formulate-rule/addRule.js +553 -0
- package/es/modules/formulate-rule/data.d.ts +16 -0
- package/es/modules/formulate-rule/data.js +46 -0
- package/es/modules/formulate-rule/demo/index.d.ts +3 -0
- package/es/modules/formulate-rule/demo/index.js +6 -0
- package/es/modules/formulate-rule/index.d.ts +4 -0
- package/es/modules/formulate-rule/index.js +448 -0
- package/package.json +2 -2
package/es/constants/api.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare let apis: {
|
|
|
14
14
|
queryPropDict: string;
|
|
15
15
|
getAllPlan: string;
|
|
16
16
|
queryPlanDetail: string;
|
|
17
|
+
offlineEvent: string;
|
|
17
18
|
savePlan: string;
|
|
18
19
|
deletePlan: string;
|
|
19
20
|
deletePlanEvent: string;
|
|
@@ -52,6 +53,7 @@ declare let apis: {
|
|
|
52
53
|
deleteUserPropMeta: string;
|
|
53
54
|
delEventAttr: string;
|
|
54
55
|
addEvent: string;
|
|
56
|
+
addEventAttr: string;
|
|
55
57
|
uploadEvent: string;
|
|
56
58
|
exportEvent: string;
|
|
57
59
|
companyUsers: string;
|
|
@@ -61,6 +63,7 @@ declare let apis: {
|
|
|
61
63
|
exportData: string;
|
|
62
64
|
updateMaidian: string;
|
|
63
65
|
updateRemark: string;
|
|
66
|
+
eventCite: string;
|
|
64
67
|
dataMap: {
|
|
65
68
|
saveMap: string;
|
|
66
69
|
getList: string;
|
|
@@ -72,5 +75,31 @@ declare let apis: {
|
|
|
72
75
|
interviewList: string;
|
|
73
76
|
};
|
|
74
77
|
getShortUrl: string;
|
|
78
|
+
rule: {
|
|
79
|
+
getRuleList: string;
|
|
80
|
+
addRlut: string;
|
|
81
|
+
deleteRule: string;
|
|
82
|
+
checkRule: string;
|
|
83
|
+
getRuleDetail: string;
|
|
84
|
+
openRuleStatus: string;
|
|
85
|
+
uploadFile: string;
|
|
86
|
+
updateRule: string;
|
|
87
|
+
downloadRule: string;
|
|
88
|
+
exportFile: string;
|
|
89
|
+
downloadTemple: string;
|
|
90
|
+
allOpenStatus: string;
|
|
91
|
+
};
|
|
92
|
+
clearRule: {
|
|
93
|
+
getList: string;
|
|
94
|
+
addRule: string;
|
|
95
|
+
checkRule: string;
|
|
96
|
+
getDetail: string;
|
|
97
|
+
modifyRule: string;
|
|
98
|
+
checkStatis: string;
|
|
99
|
+
selectStatus: string;
|
|
100
|
+
deleteRule: string;
|
|
101
|
+
exportFile: string;
|
|
102
|
+
allOpenStatus: string;
|
|
103
|
+
};
|
|
75
104
|
};
|
|
76
105
|
export default apis;
|
package/es/constants/api.js
CHANGED
|
@@ -29,6 +29,8 @@ var apis = {
|
|
|
29
29
|
getAllPlan: '/zg/web/v2/managementPlan/getAllPlan',
|
|
30
30
|
// 埋点方案管理-查询埋点方案详情
|
|
31
31
|
queryPlanDetail: '/zg/web/v2/managementPlan/queryPlan',
|
|
32
|
+
// 埋点方案管理-下线
|
|
33
|
+
offlineEvent: '/zg/web/v2/event/offlineEvent',
|
|
32
34
|
// 埋点方案管理-保存
|
|
33
35
|
savePlan: '/zg/web/v2/managementPlan/savePlan',
|
|
34
36
|
// 埋点方案管理-删除埋点方案
|
|
@@ -101,6 +103,8 @@ var apis = {
|
|
|
101
103
|
delEventAttr: '/zg/web/v2/event/delEventAttr',
|
|
102
104
|
// 事件新增
|
|
103
105
|
addEvent: '/zg/web/v2/event/addEvent',
|
|
106
|
+
//事件属性列表新增
|
|
107
|
+
addEventAttr: '/zg/web/v2/event/addEventAttr',
|
|
104
108
|
// 用户属性-导入
|
|
105
109
|
uploadEvent: '/zg/web/v2/event/upload',
|
|
106
110
|
// 用户属性-导出
|
|
@@ -119,6 +123,8 @@ var apis = {
|
|
|
119
123
|
updateMaidian: '/zg/web/v2/event/update/platform',
|
|
120
124
|
// 原事件-修改备注
|
|
121
125
|
updateRemark: '/zg/web/v2/event/update/remark',
|
|
126
|
+
//看板引用列表
|
|
127
|
+
eventCite: '/zg/web/v2/event/eventCite',
|
|
122
128
|
// 全埋点地图
|
|
123
129
|
dataMap: {
|
|
124
130
|
saveMap: '/zg/web/v2/burying-point-map/save',
|
|
@@ -131,6 +137,33 @@ var apis = {
|
|
|
131
137
|
saveMapDetail: '/zg/web/v2/burying-point-map/page/update',
|
|
132
138
|
interviewList: '/zg/web/v2/insight/analysis'
|
|
133
139
|
},
|
|
134
|
-
getShortUrl: '/zg/web/v2/transfer/setParam'
|
|
140
|
+
getShortUrl: '/zg/web/v2/transfer/setParam',
|
|
141
|
+
// 自定义清洗规则
|
|
142
|
+
rule: {
|
|
143
|
+
getRuleList: '/zg/web/v2/verify/queryVerifyRuleList',
|
|
144
|
+
addRlut: '/zg/web/v2/verify/addVerifyRule',
|
|
145
|
+
deleteRule: '/zg/web/v2/verify/delete',
|
|
146
|
+
checkRule: '/zg/web/v2/verify/updateCheck',
|
|
147
|
+
getRuleDetail: '/zg/web/v2/verify/detail',
|
|
148
|
+
openRuleStatus: '/zg/web/v2/verify/status',
|
|
149
|
+
uploadFile: '/zg/web/v2/verify/importVerifyRule',
|
|
150
|
+
updateRule: '/zg/web/v2/verify/updateVerifyRule',
|
|
151
|
+
downloadRule: '/zg/web/v2/verify/exportVerify',
|
|
152
|
+
exportFile: '/zg/web/v2/verify/report/export',
|
|
153
|
+
downloadTemple: '/zg/web/v2/verify/downloadMould',
|
|
154
|
+
allOpenStatus: '/zg/web/v2/verify/statusMain'
|
|
155
|
+
},
|
|
156
|
+
clearRule: {
|
|
157
|
+
getList: '/zg/web/v2/rinseShiftRule/queryRinseShiftRuleList',
|
|
158
|
+
addRule: '/zg/web/v2/rinseShiftRule/addRinseShiftRule',
|
|
159
|
+
checkRule: '/zg/web/v2/rinseShiftRule/updateRinseShiftRuleCheck',
|
|
160
|
+
getDetail: '/zg/web/v2/rinseShiftRule/detail',
|
|
161
|
+
modifyRule: '/zg/web/v2/rinseShiftRule/updateRinseShiftRule',
|
|
162
|
+
checkStatis: '/zg/web/v2/rinseShiftRule/statusBefore',
|
|
163
|
+
selectStatus: '/zg/web/v2/rinseShiftRule/status',
|
|
164
|
+
deleteRule: '/zg/web/v2/rinseShiftRule/deleteRule',
|
|
165
|
+
exportFile: '/zg/web/v2/rinseShiftRule/exportReport',
|
|
166
|
+
allOpenStatus: '/zg/web/v2/rinseShiftRule/statusMain'
|
|
167
|
+
}
|
|
135
168
|
};
|
|
136
169
|
export default apis;
|
package/es/index.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ import DataManage from './modules/dataManage';
|
|
|
3
3
|
import PlanList from './modules/dataPlan';
|
|
4
4
|
import DataRealView from './modules/dataReal/index1';
|
|
5
5
|
import DataMapView from './modules/dataMap';
|
|
6
|
-
|
|
6
|
+
import ClearRule from './modules/clear-rule';
|
|
7
|
+
import FormulateRule from './modules/formulate-rule';
|
|
8
|
+
export { PlanList, DataManage, DataRealView, DataMapView, ClearRule, FormulateRule };
|
package/es/index.js
CHANGED
|
@@ -3,4 +3,6 @@ import DataManage from './modules/dataManage';
|
|
|
3
3
|
import PlanList from './modules/dataPlan';
|
|
4
4
|
import DataRealView from './modules/dataReal/index1';
|
|
5
5
|
import DataMapView from './modules/dataMap';
|
|
6
|
-
|
|
6
|
+
import ClearRule from './modules/clear-rule';
|
|
7
|
+
import FormulateRule from './modules/formulate-rule';
|
|
8
|
+
export { PlanList, DataManage, DataRealView, DataMapView, ClearRule, FormulateRule };
|
|
@@ -28,40 +28,6 @@ export interface mapDataType {
|
|
|
28
28
|
remarkAttrName: string;
|
|
29
29
|
updatedTime: string;
|
|
30
30
|
}
|
|
31
|
-
export interface mapFilterType {
|
|
32
|
-
attr1?: string | undefined;
|
|
33
|
-
attr2?: string | undefined;
|
|
34
|
-
attr3?: string | undefined;
|
|
35
|
-
attr4?: string | undefined;
|
|
36
|
-
attr5?: string | undefined;
|
|
37
|
-
mapId: Number;
|
|
38
|
-
}
|
|
39
|
-
export interface andFilterType {
|
|
40
|
-
relation: string;
|
|
41
|
-
conditions: andFilterConditionsType[];
|
|
42
|
-
}
|
|
43
|
-
export interface andFilterConditionsType {
|
|
44
|
-
attrId: number;
|
|
45
|
-
attrName: string;
|
|
46
|
-
dimensionSub: string;
|
|
47
|
-
label: string;
|
|
48
|
-
operator: string;
|
|
49
|
-
propCategory: string;
|
|
50
|
-
type: number;
|
|
51
|
-
values: string[];
|
|
52
|
-
}
|
|
53
|
-
export interface eventAttrListItemType {
|
|
54
|
-
alias: string;
|
|
55
|
-
dimensionSub: string;
|
|
56
|
-
eventId: number;
|
|
57
|
-
id: number;
|
|
58
|
-
isHidden: number;
|
|
59
|
-
key: string;
|
|
60
|
-
label: string;
|
|
61
|
-
propCategory: string;
|
|
62
|
-
realTime: boolean;
|
|
63
|
-
type: number;
|
|
64
|
-
}
|
|
65
31
|
export declare const mapContext: React.Context<{
|
|
66
32
|
setMapViewFlg?: Function | undefined;
|
|
67
33
|
mapData?: mapDataType[] | undefined;
|
|
@@ -98,3 +64,84 @@ export interface FiltersType {
|
|
|
98
64
|
label: string;
|
|
99
65
|
attrName: string;
|
|
100
66
|
}
|
|
67
|
+
export interface mapFilterType {
|
|
68
|
+
mapId: number;
|
|
69
|
+
}
|
|
70
|
+
export interface andFilterConditionsType {
|
|
71
|
+
attrId: number;
|
|
72
|
+
propCategory: string;
|
|
73
|
+
type: number;
|
|
74
|
+
operator: string;
|
|
75
|
+
values: any;
|
|
76
|
+
dimensionSub: string;
|
|
77
|
+
label: string;
|
|
78
|
+
attrName: string;
|
|
79
|
+
}
|
|
80
|
+
export interface andFilterType {
|
|
81
|
+
relation: string;
|
|
82
|
+
conditions: andFilterConditionsType[];
|
|
83
|
+
}
|
|
84
|
+
export interface bizAttributeSelectorValueProp {
|
|
85
|
+
propCategory?: string;
|
|
86
|
+
category?: string;
|
|
87
|
+
value?: number | string;
|
|
88
|
+
id?: number;
|
|
89
|
+
key?: number | string;
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* 事件属性
|
|
94
|
+
*/
|
|
95
|
+
export interface ConditionsnProps {
|
|
96
|
+
/**
|
|
97
|
+
* 属性id
|
|
98
|
+
*/
|
|
99
|
+
attrId: number | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* 属性类型
|
|
102
|
+
*/
|
|
103
|
+
propCategory: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* 类型
|
|
106
|
+
*/
|
|
107
|
+
type: string | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* id
|
|
110
|
+
*/
|
|
111
|
+
id?: number | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* 名字
|
|
114
|
+
*/
|
|
115
|
+
name?: string | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* 类别
|
|
118
|
+
*/
|
|
119
|
+
category?: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* 属性name
|
|
122
|
+
*/
|
|
123
|
+
attrName?: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* 属性label
|
|
126
|
+
*/
|
|
127
|
+
label?: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* dimensionSub
|
|
130
|
+
*/
|
|
131
|
+
dimensionSub?: string | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface RuleDetailType {
|
|
134
|
+
ruleId: number;
|
|
135
|
+
ruleName: string;
|
|
136
|
+
ruleDescription: string;
|
|
137
|
+
objectType: number;
|
|
138
|
+
verifyObject: '对象';
|
|
139
|
+
status: number;
|
|
140
|
+
event: number;
|
|
141
|
+
attr: number;
|
|
142
|
+
extraMes: string;
|
|
143
|
+
verifyDetailVo: {
|
|
144
|
+
ruleType: number;
|
|
145
|
+
content: string;
|
|
146
|
+
}[];
|
|
147
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { RuleDetailType } from '../CutsModal';
|
|
3
|
+
import './css/index.less';
|
|
4
|
+
declare const AddRule: React.FC<{
|
|
5
|
+
addruleShow: boolean;
|
|
6
|
+
onSetclose: Function;
|
|
7
|
+
currentRuleDetail: RuleDetailType | undefined | null;
|
|
8
|
+
getList: Function;
|
|
9
|
+
}>;
|
|
10
|
+
export default AddRule;
|