@zgfe/modules-interval 1.0.11-zhongbang.8 → 1.0.23-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/README.md +35 -33
- package/dist/esm/components/common/styles/index.less +40 -40
- package/dist/esm/components/eventFilter/index.js +5 -3
- package/dist/esm/components/eventFilter/styles/index.less +39 -39
- package/dist/esm/components/renderContent/index.js +6 -5
- package/dist/esm/components/renderContent/styles/index.less +36 -36
- package/dist/esm/components/searchPanel/index.js +19 -9
- package/dist/esm/components/searchPanel/styles/index.less +71 -64
- package/dist/esm/components/searchPanel/types.d.ts +1 -0
- package/dist/esm/components/table/index.js +1 -1
- package/dist/esm/components/table/styles/index.less +138 -138
- package/dist/esm/components/topBar/index.js +8 -12
- package/dist/esm/components/topBar/styles/index.less +16 -50
- package/dist/esm/constants/apis.js +4 -4
- package/dist/esm/constants/fields.js +4 -4
- package/dist/esm/modules/chart/index.js +23 -4
- package/dist/esm/modules/chart/index.less +58 -58
- package/dist/esm/modules/content/index.js +48 -20
- package/dist/esm/modules/content/styles/index.less +25 -7
- package/dist/esm/modules/content/utils.d.ts +1 -0
- package/dist/esm/modules/content/utils.js +4 -3
- package/dist/esm/modules/home/demo/create.js +1 -1
- package/dist/esm/modules/home/demo/edit.js +1 -1
- package/dist/esm/modules/home/demo/index.js +2 -1
- package/dist/esm/modules/home/demo/styles/index.less +33 -33
- package/dist/esm/modules/home/index.js +52 -33
- package/dist/esm/modules/home/styles/index.less +69 -66
- package/dist/esm/modules/home/types.d.ts +1 -0
- package/dist/esm/modules/topPanel/index.js +88 -23
- package/dist/esm/modules/topPanel/styles/index.less +219 -213
- package/dist/esm/style/image/empty.png +0 -0
- package/dist/esm/style/image/ring.svg +9 -9
- package/dist/esm/style/index.less +67 -67
- package/dist/esm/types.js +6 -6
- package/dist/esm/utils/ajaxConfig.js +5 -5
- package/dist/esm/utils/formData.d.ts +6 -2
- package/dist/esm/utils/formData.js +9 -5
- package/dist/esm/utils/util.js +28 -28
- package/package.json +22 -22
|
@@ -10,9 +10,9 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
11
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
-
import React, { useContext, useState } from 'react';
|
|
14
|
-
import { Form, Button, Radio, Space, Switch } from 'antd';
|
|
15
|
-
import { BizAttributeSelector, BizSelect, BizUserGroupHeader } from '@zgfe/business-lib';
|
|
13
|
+
import React, { useContext, useEffect, useState } from 'react';
|
|
14
|
+
import { Form, Button, Radio, Space, Switch, Tooltip } from 'antd';
|
|
15
|
+
import { BizAttributeSelector, BizGlobalDataContext, BizSelect, BizUserGroupHeader, IconFont, useSubject } from '@zgfe/business-lib';
|
|
16
16
|
import EventFilter from "../../components/eventFilter";
|
|
17
17
|
import "./styles/index.less";
|
|
18
18
|
import { AnalysisMode } from "./types";
|
|
@@ -24,6 +24,8 @@ var TopPanel = function TopPanel(props) {
|
|
|
24
24
|
loading = props.loading,
|
|
25
25
|
collapseRef = props.collapseRef,
|
|
26
26
|
finalSearchData = props.finalSearchData;
|
|
27
|
+
var _useContext = useContext(BizGlobalDataContext),
|
|
28
|
+
currentApp = _useContext.currentApp;
|
|
27
29
|
var _Form$useForm = Form.useForm(),
|
|
28
30
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
29
31
|
form = _Form$useForm2[0];
|
|
@@ -40,8 +42,11 @@ var TopPanel = function TopPanel(props) {
|
|
|
40
42
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
41
43
|
relevancy = _useState6[0],
|
|
42
44
|
setRelevancy = _useState6[1];
|
|
43
|
-
var
|
|
44
|
-
|
|
45
|
+
var _useSubject = useSubject(),
|
|
46
|
+
subjectList = _useSubject.subjectList,
|
|
47
|
+
subjectLoading = _useSubject.loading;
|
|
48
|
+
var _useContext2 = useContext(IntervalContext),
|
|
49
|
+
subjectEnable = _useContext2.subjectEnable;
|
|
45
50
|
var _ref = defaultValue || {},
|
|
46
51
|
userGroup = _ref.userGroup;
|
|
47
52
|
var _useState7 = useState('user'),
|
|
@@ -52,6 +57,10 @@ var TopPanel = function TopPanel(props) {
|
|
|
52
57
|
_useState10 = _slicedToArray(_useState9, 2),
|
|
53
58
|
currentSubject = _useState10[0],
|
|
54
59
|
setCurrentSubject = _useState10[1];
|
|
60
|
+
var _useState11 = useState(false),
|
|
61
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
62
|
+
inited = _useState12[0],
|
|
63
|
+
setInited = _useState12[1];
|
|
55
64
|
var formRef = React.useRef(null);
|
|
56
65
|
function onSearch(values) {
|
|
57
66
|
if (props.onChange) {
|
|
@@ -90,6 +99,27 @@ var TopPanel = function TopPanel(props) {
|
|
|
90
99
|
associatedNextAttr: undefined
|
|
91
100
|
}, true);
|
|
92
101
|
};
|
|
102
|
+
useEffect(function () {
|
|
103
|
+
if (subjectLoading) return;
|
|
104
|
+
if (!defaultValue) {
|
|
105
|
+
setInited(true);
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
setInited(false);
|
|
109
|
+
if (defaultValue.analysisSubject) {
|
|
110
|
+
setAnalysisType('eventProp');
|
|
111
|
+
} else {
|
|
112
|
+
setAnalysisType('user');
|
|
113
|
+
}
|
|
114
|
+
if (defaultValue.analysisSubject) {
|
|
115
|
+
setCurrentSubject(subjectList.find(function (item) {
|
|
116
|
+
var _defaultValue$analysi;
|
|
117
|
+
return item.id === (defaultValue === null || defaultValue === void 0 ? void 0 : (_defaultValue$analysi = defaultValue.analysisSubject) === null || _defaultValue$analysi === void 0 ? void 0 : _defaultValue$analysi.subjectId);
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
setInited(true);
|
|
121
|
+
}, [subjectLoading]);
|
|
122
|
+
if (!inited) return null;
|
|
93
123
|
return /*#__PURE__*/React.createElement(Form, {
|
|
94
124
|
form: form,
|
|
95
125
|
ref: formRef,
|
|
@@ -127,11 +157,21 @@ var TopPanel = function TopPanel(props) {
|
|
|
127
157
|
scrollToFirstError: true,
|
|
128
158
|
onFinish: onSearch
|
|
129
159
|
}, subjectEnable && /*#__PURE__*/React.createElement(Form.Item, {
|
|
130
|
-
label: "
|
|
160
|
+
label: /*#__PURE__*/React.createElement("div", {
|
|
161
|
+
className: "".concat(classPrefix, "-label-hasIcon")
|
|
162
|
+
}, /*#__PURE__*/React.createElement("span", null, "\u7EDF\u8BA1\u53E3\u5F84"), "\xA0\xA0", /*#__PURE__*/React.createElement(Tooltip, {
|
|
163
|
+
title: "\u5E2E\u52A9",
|
|
164
|
+
placement: "top"
|
|
165
|
+
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
166
|
+
type: "bangzhu",
|
|
167
|
+
onClick: function onClick() {
|
|
168
|
+
return window.open('https://docs.zhugeio.com/datamanager/Statistical_caliber.html', '_blank');
|
|
169
|
+
}
|
|
170
|
+
}))),
|
|
131
171
|
className: "panel-form-interval-item"
|
|
132
172
|
}, /*#__PURE__*/React.createElement(BizSelect, {
|
|
133
173
|
options: [{
|
|
134
|
-
label: '用户',
|
|
174
|
+
label: (currentApp === null || currentApp === void 0 ? void 0 : currentApp.type) != 'user' ? '主体' : '用户',
|
|
135
175
|
value: 'user'
|
|
136
176
|
}, {
|
|
137
177
|
label: '事件属性',
|
|
@@ -145,6 +185,31 @@ var TopPanel = function TopPanel(props) {
|
|
|
145
185
|
setAnalysisType(val.value);
|
|
146
186
|
resetting();
|
|
147
187
|
}
|
|
188
|
+
})), analysisType === 'eventProp' && /*#__PURE__*/React.createElement(Form.Item, {
|
|
189
|
+
label: "\u53E3\u5F84\u540D\u79F0",
|
|
190
|
+
name: "analysisSubject",
|
|
191
|
+
className: "panel-form-interval-item",
|
|
192
|
+
rules: [{
|
|
193
|
+
validator: function validator(rule, value) {
|
|
194
|
+
if (!value) {
|
|
195
|
+
return Promise.reject('请选择口径名称');
|
|
196
|
+
}
|
|
197
|
+
return Promise.resolve();
|
|
198
|
+
}
|
|
199
|
+
}]
|
|
200
|
+
}, /*#__PURE__*/React.createElement(BizSelect, {
|
|
201
|
+
options: subjectList,
|
|
202
|
+
aliasField: "subjectAlias",
|
|
203
|
+
labelField: "subjectName",
|
|
204
|
+
keyField: "id",
|
|
205
|
+
onChange: function onChange(val) {
|
|
206
|
+
var _formRef$current, _formRef$current2, _formRef$current3;
|
|
207
|
+
setCurrentSubject(val);
|
|
208
|
+
setRelevancy(false);
|
|
209
|
+
(_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.setFieldValue('start', undefined);
|
|
210
|
+
(_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 ? void 0 : _formRef$current2.setFieldValue('end', undefined);
|
|
211
|
+
(_formRef$current3 = formRef.current) === null || _formRef$current3 === void 0 ? void 0 : _formRef$current3.setFieldValue('dimension', undefined);
|
|
212
|
+
}
|
|
148
213
|
})), analysisType === 'user' && /*#__PURE__*/React.createElement(Form.Item, {
|
|
149
214
|
label: "",
|
|
150
215
|
name: "userGroup",
|
|
@@ -195,9 +260,9 @@ var TopPanel = function TopPanel(props) {
|
|
|
195
260
|
key: "".concat(currentSubject === null || currentSubject === void 0 ? void 0 : currentSubject.subjectName, "-start"),
|
|
196
261
|
analysisType: analysisType,
|
|
197
262
|
onChange: function onChange(evt) {
|
|
198
|
-
var _formRef$
|
|
263
|
+
var _formRef$current4;
|
|
199
264
|
setStartEvent(evt);
|
|
200
|
-
(_formRef$
|
|
265
|
+
(_formRef$current4 = formRef.current) === null || _formRef$current4 === void 0 ? void 0 : _formRef$current4.setFieldValue('dimension', undefined);
|
|
201
266
|
}
|
|
202
267
|
})), /*#__PURE__*/React.createElement(Space, {
|
|
203
268
|
align: "baseline",
|
|
@@ -242,8 +307,8 @@ var TopPanel = function TopPanel(props) {
|
|
|
242
307
|
enableDelete: true,
|
|
243
308
|
key: "".concat(startEvent === null || startEvent === void 0 ? void 0 : startEvent.id, "-").concat(endEvent === null || endEvent === void 0 ? void 0 : endEvent.id, "-pre"),
|
|
244
309
|
onDelete: function onDelete() {
|
|
245
|
-
var _formRef$
|
|
246
|
-
(_formRef$
|
|
310
|
+
var _formRef$current5;
|
|
311
|
+
(_formRef$current5 = formRef.current) === null || _formRef$current5 === void 0 ? void 0 : _formRef$current5.setFieldValue('associatedPreAttr', undefined);
|
|
247
312
|
}
|
|
248
313
|
}))), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
249
314
|
className: "associated-label"
|
|
@@ -265,8 +330,8 @@ var TopPanel = function TopPanel(props) {
|
|
|
265
330
|
enableDelete: true,
|
|
266
331
|
key: "".concat(startEvent === null || startEvent === void 0 ? void 0 : startEvent.id, "-").concat(endEvent === null || endEvent === void 0 ? void 0 : endEvent.id, "-next"),
|
|
267
332
|
onDelete: function onDelete() {
|
|
268
|
-
var _formRef$
|
|
269
|
-
(_formRef$
|
|
333
|
+
var _formRef$current6;
|
|
334
|
+
(_formRef$current6 = formRef.current) === null || _formRef$current6 === void 0 ? void 0 : _formRef$current6.setFieldValue('associatedNextAttr', undefined);
|
|
270
335
|
}
|
|
271
336
|
}))), /*#__PURE__*/React.createElement("i", {
|
|
272
337
|
style: {
|
|
@@ -275,9 +340,9 @@ var TopPanel = function TopPanel(props) {
|
|
|
275
340
|
cursor: 'pointer'
|
|
276
341
|
},
|
|
277
342
|
onClick: function onClick() {
|
|
278
|
-
var _formRef$
|
|
279
|
-
(_formRef$
|
|
280
|
-
(_formRef$
|
|
343
|
+
var _formRef$current7, _formRef$current8;
|
|
344
|
+
(_formRef$current7 = formRef.current) === null || _formRef$current7 === void 0 ? void 0 : _formRef$current7.setFieldValue('associatedPreAttr', undefined);
|
|
345
|
+
(_formRef$current8 = formRef.current) === null || _formRef$current8 === void 0 ? void 0 : _formRef$current8.setFieldValue('associatedNextAttr', undefined);
|
|
281
346
|
setRelevancy(false);
|
|
282
347
|
},
|
|
283
348
|
className: "bsicon qingchu"
|
|
@@ -310,9 +375,9 @@ var TopPanel = function TopPanel(props) {
|
|
|
310
375
|
analysisType: analysisType,
|
|
311
376
|
key: "".concat(currentSubject === null || currentSubject === void 0 ? void 0 : currentSubject.subjectName, "-start"),
|
|
312
377
|
onChange: function onChange(val) {
|
|
313
|
-
var _formRef$
|
|
378
|
+
var _formRef$current9;
|
|
314
379
|
setEndEvent(val);
|
|
315
|
-
(_formRef$
|
|
380
|
+
(_formRef$current9 = formRef.current) === null || _formRef$current9 === void 0 ? void 0 : _formRef$current9.setFieldValue('dimension', undefined);
|
|
316
381
|
}
|
|
317
382
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
318
383
|
label: "\u6309\u5C5E\u6027\u7EC6\u5206",
|
|
@@ -327,8 +392,8 @@ var TopPanel = function TopPanel(props) {
|
|
|
327
392
|
showCommonProp: true,
|
|
328
393
|
enableDelete: true,
|
|
329
394
|
onDelete: function onDelete() {
|
|
330
|
-
var _formRef$
|
|
331
|
-
(_formRef$
|
|
395
|
+
var _formRef$current10;
|
|
396
|
+
(_formRef$current10 = formRef.current) === null || _formRef$current10 === void 0 ? void 0 : _formRef$current10.setFieldValue('dimension', undefined);
|
|
332
397
|
}
|
|
333
398
|
})), /*#__PURE__*/React.createElement(Form.Item, {
|
|
334
399
|
label: "\u5206\u6790\u6A21\u578B",
|
|
@@ -343,11 +408,11 @@ var TopPanel = function TopPanel(props) {
|
|
|
343
408
|
}, /*#__PURE__*/React.createElement(Button, {
|
|
344
409
|
onClick: resetting
|
|
345
410
|
}, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(Button, {
|
|
346
|
-
loading: loading,
|
|
411
|
+
loading: loading || subjectLoading,
|
|
347
412
|
type: "primary",
|
|
348
413
|
onClick: function onClick() {
|
|
349
|
-
var _formRef$
|
|
350
|
-
(_formRef$
|
|
414
|
+
var _formRef$current11;
|
|
415
|
+
(_formRef$current11 = formRef.current) === null || _formRef$current11 === void 0 ? void 0 : _formRef$current11.submit();
|
|
351
416
|
}
|
|
352
417
|
}, "\u67E5\u8BE2"))));
|
|
353
418
|
};
|
|
@@ -1,213 +1,219 @@
|
|
|
1
|
-
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.top-panel-interval {
|
|
4
|
-
&-form-botton-box {
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: flex-end;
|
|
7
|
-
margin-top: 24px;
|
|
8
|
-
margin-right: 24px;
|
|
9
|
-
|
|
10
|
-
> :nth-child(1) {
|
|
11
|
-
margin-right: 16px;
|
|
12
|
-
color: #fff;
|
|
13
|
-
background-color: #29bd52;
|
|
14
|
-
border-color: #29bd52;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.ant-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
.ant-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
1
|
+
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.top-panel-interval {
|
|
4
|
+
&-form-botton-box {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: flex-end;
|
|
7
|
+
margin-top: 24px;
|
|
8
|
+
margin-right: 24px;
|
|
9
|
+
|
|
10
|
+
> :nth-child(1) {
|
|
11
|
+
margin-right: 16px;
|
|
12
|
+
color: #fff;
|
|
13
|
+
background-color: #29bd52;
|
|
14
|
+
border-color: #29bd52;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-label-hasIcon {
|
|
19
|
+
.bsicon {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.panel-form-interval {
|
|
26
|
+
.ant-form-item-explain-error {
|
|
27
|
+
margin-left: 24px;
|
|
28
|
+
}
|
|
29
|
+
&-item {
|
|
30
|
+
.ant-form-item-label {
|
|
31
|
+
padding-left: 24px !important;
|
|
32
|
+
font-weight: 500;
|
|
33
|
+
}
|
|
34
|
+
.ant-form-item-control-input-content {
|
|
35
|
+
height: 40px;
|
|
36
|
+
padding: 0 24px !important;
|
|
37
|
+
line-height: 40px !important;
|
|
38
|
+
.biz-select-handle {
|
|
39
|
+
display: inline-block;
|
|
40
|
+
width: 208px;
|
|
41
|
+
}
|
|
42
|
+
span.ant-radio + * {
|
|
43
|
+
padding-right: 40px;
|
|
44
|
+
padding-left: 12px;
|
|
45
|
+
}
|
|
46
|
+
&:hover {
|
|
47
|
+
background-color: #e8efff;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
.interval-item {
|
|
52
|
+
margin-top: -2px;
|
|
53
|
+
.ant-space-vertical {
|
|
54
|
+
gap: 0px !important;
|
|
55
|
+
width: 100%;
|
|
56
|
+
.ant-space-item:nth-child(1) {
|
|
57
|
+
padding: 0 12px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ant-space-item:nth-child(2) {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
height: 42px;
|
|
64
|
+
margin-top: 4px;
|
|
65
|
+
padding: 0 12px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ant-space-item:nth-child(2):hover {
|
|
69
|
+
background-color: #e8efff;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.biz-user-group-header {
|
|
75
|
+
padding: 0;
|
|
76
|
+
background-color: #fff;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.space-item {
|
|
80
|
+
.ant-space-item {
|
|
81
|
+
.biz-user-group {
|
|
82
|
+
width: 100%;
|
|
83
|
+
min-width: 208px;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.ant-space-horizontal .ant-space-item:nth-child(2) .tianjia {
|
|
88
|
+
display: none;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.collapseRefs {
|
|
93
|
+
.ant-form-item {
|
|
94
|
+
margin-bottom: 16px;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.ant-form-item-control-input {
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.ant-form-item-label {
|
|
103
|
+
padding-left: 24px;
|
|
104
|
+
font-weight: 500;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.interval-box {
|
|
108
|
+
> div:nth-child(1) {
|
|
109
|
+
padding: 4px 24px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
> div:nth-child(1):hover {
|
|
113
|
+
background-color: #e8efff;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.biz-attr-condition-group-handle {
|
|
117
|
+
margin-right: 0;
|
|
118
|
+
margin-left: 32px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.biz-attr-condition-group-container {
|
|
122
|
+
gap: 0px !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.biz-attr-condition-group-container-item {
|
|
126
|
+
max-width: calc(100% + 32px) !important;
|
|
127
|
+
margin-top: 4px;
|
|
128
|
+
padding: 4px 56px;
|
|
129
|
+
.ant-space-item {
|
|
130
|
+
width: auto;
|
|
131
|
+
max-width: auto;
|
|
132
|
+
margin-left: 0px;
|
|
133
|
+
padding: 0;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.ant-space-item:hover {
|
|
138
|
+
background-color: #e8efff;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.dimension-interval {
|
|
143
|
+
.ant-form-item-control-input {
|
|
144
|
+
padding: 4px 24px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ant-form-item-control-input:hover {
|
|
148
|
+
background-color: #e8efff;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.biz-event-select {
|
|
154
|
+
width: 208px;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
> .ant-form-item {
|
|
158
|
+
margin-bottom: 16px;
|
|
159
|
+
.biz-user-group-val {
|
|
160
|
+
color: #021429;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.associated {
|
|
165
|
+
margin-top: -10px;
|
|
166
|
+
margin-bottom: 12px;
|
|
167
|
+
|
|
168
|
+
.qingchu {
|
|
169
|
+
color: #9aa1a9;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.qingchu:hover {
|
|
173
|
+
color: @error-color;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.ant-form-item-control-input {
|
|
177
|
+
padding: 4px 24px;
|
|
178
|
+
|
|
179
|
+
.ant-form-item-control-input {
|
|
180
|
+
padding: 0;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.ant-form-item {
|
|
184
|
+
margin-bottom: 0;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.ant-form-item-control-input:hover {
|
|
189
|
+
background-color: #e8efff;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.associated-link {
|
|
193
|
+
display: block;
|
|
194
|
+
line-height: 32px;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.ant-form-item-row {
|
|
198
|
+
flex-direction: inherit;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ant-form-item-control-input-content {
|
|
202
|
+
display: flex;
|
|
203
|
+
gap: 12px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.associated-label {
|
|
207
|
+
color: var(--3, #5f6085);
|
|
208
|
+
font-weight: 400;
|
|
209
|
+
font-size: 14px;
|
|
210
|
+
font-family: PingFang SC;
|
|
211
|
+
font-style: normal;
|
|
212
|
+
line-height: 32px;
|
|
213
|
+
text-align: right;
|
|
214
|
+
}
|
|
215
|
+
.ant-form-item-explain-error {
|
|
216
|
+
margin-left: 0 !important;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
File without changes
|