@zgfe/business-lib 1.2.57 → 1.2.66-hxd.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 +12 -12
- package/config.js +41 -41
- package/es/AUMFormulaTarget/components/formula/index.less +86 -82
- package/es/AUMFormulaTarget/components/formulaItem/index.js +52 -13
- package/es/AUMFormulaTarget/components/panel/index.less +269 -269
- package/es/AUMFormulaTarget/components/symbol/index.less +49 -49
- package/es/AUMFormulaTarget/demo/index.js +1 -1
- package/es/AUMFormulaTarget/styles/index.less +74 -74
- package/es/addToPanel/styles/addPanel.less +25 -25
- package/es/addToPanel/styles/index.less +17 -17
- package/es/addToPanel/styles/style.less +66 -66
- package/es/addToScene/styles/index.less +30 -30
- package/es/assets/colorIcon/demo.css +539 -539
- package/es/assets/colorIcon/demo_index.html +1454 -1454
- package/es/assets/colorIcon/iconfont.css +236 -236
- package/es/assets/colorIcon/iconfont.json +394 -394
- package/es/assets/colorIcon/iconfont.svg +129 -129
- package/es/assets/iconfont/demo.css +539 -539
- package/es/assets/iconfont/demo_index.html +5363 -5363
- package/es/assets/iconfont/iconfont.css +915 -915
- package/es/assets/iconfont/iconfont.json +1584 -1584
- package/es/assets/images/attention.png +0 -0
- package/es/assets/styles/chunks.less +183 -183
- package/es/assets/styles/inner.less +3 -3
- package/es/assets/styles/resetAntd.less +551 -551
- package/es/assets/styles/variable.less +21 -21
- package/es/attrCondition/group.js +5 -2
- package/es/attrCondition/index.js +6 -2
- package/es/attrCondition/styles/index.less +101 -101
- package/es/attrConditions/components/stringList.d.ts +10 -0
- package/es/attrConditions/components/stringList.js +57 -27
- package/es/attrConditions/components/valuesList.d.ts +10 -0
- package/es/attrConditions/components/valuesList.js +6 -2
- package/es/attrConditions/styles/group.less +49 -49
- package/es/attrConditions/styles/index.less +151 -151
- package/es/attrConditions/types.d.ts +17 -0
- package/es/attributeSelector/index.js +6 -2
- package/es/attributeSelector/listPanel.js +6 -2
- package/es/attributeSelector/styles/index.less +141 -141
- package/es/attributeSelector/types.d.ts +2 -0
- package/es/chart/demo/index.js +2 -3
- package/es/chart/styles/index.less +113 -113
- package/es/chart/util/data/china.js +17 -17
- package/es/chart/util/formatOption.js +1 -1
- package/es/constants/apis.d.ts +3 -0
- package/es/constants/apis.js +4 -1
- package/es/cycleTime/styles/index.less +24 -24
- package/es/cycleTime/styles/month.less +95 -95
- package/es/dataSetGroup/styles/index.less +146 -146
- package/es/datePicker/styles/index.less +53 -53
- package/es/datePickerV2/styles/index.less +194 -194
- package/es/demoWrapper/index.less +3 -3
- package/es/dialog/styles/index.less +22 -22
- package/es/dnd/styles/index.less +19 -19
- package/es/empty/demo/index.d.ts +4 -0
- package/es/empty/demo/index.js +16 -0
- package/es/empty/index.d.ts +4 -0
- package/es/empty/index.js +19 -0
- package/es/empty/types.d.ts +7 -0
- package/es/empty/types.js +1 -0
- package/es/eventSelector/styles/index.less +123 -123
- package/es/formulaTarget/components/formula/index.less +76 -76
- package/es/formulaTarget/components/panel/index.less +139 -139
- package/es/formulaTarget/components/symbol/index.less +49 -49
- package/es/formulaTarget/styles/index.less +74 -74
- package/es/hooks/types/subject.d.ts +14 -14
- package/es/icon/demo/list.less +32 -32
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/layout/analysisLayout/demo/index.less +12 -12
- package/es/layout/analysisLayout/index.less +118 -118
- package/es/layout/columnLayout/demo/index.less +15 -15
- package/es/layout/columnLayout/index.less +81 -81
- package/es/layout/detail/index.less +27 -27
- package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
- package/es/layout/optionTitle/demo/index.less +12 -12
- package/es/loading/styles/index.less +20 -20
- package/es/loginForm/index.less +7 -7
- package/es/platformSelector/index.js +42 -9
- package/es/platformSelector/styles/index.less +26 -22
- package/es/platformSelector/util.d.ts +1 -1
- package/es/platformSelector/util.js +8 -1
- package/es/productCondition/conditions/styles/cdpCondition.less +31 -31
- package/es/productCondition/conditions/styles/cdpCshCondition.less +41 -41
- package/es/productCondition/conditions/styles/eventCondition.less +51 -51
- package/es/productCondition/conditions/styles/periodCondition.less +26 -26
- package/es/productCondition/conditions/styles/propCondition.less +43 -43
- package/es/productCondition/conditions/styles/runTimesCondition.less +19 -19
- package/es/productCondition/conditions/styles/tagsCondition.less +20 -20
- package/es/productCondition/conditions/styles/textDesc.less +17 -17
- package/es/productCondition/styles/conditionTypeList.less +30 -30
- package/es/productCondition/styles/conditionWrap.less +18 -18
- package/es/productCondition/styles/index.less +33 -33
- package/es/productCondition/styles/orConditions.less +34 -34
- package/es/productCondition/styles/relationLabel.less +19 -19
- package/es/quickDatePicker/styles/index.less +138 -138
- package/es/select/styles/handle.less +193 -193
- package/es/select/styles/index.less +129 -129
- package/es/socket/demo/index.less +27 -27
- package/es/table/styles/index.less +5 -5
- package/es/targetConditionGroup/demo/styles/index.less +29 -29
- package/es/targetConditionGroup/index.js +5 -4
- package/es/targetConditionGroup/styles/index.less +53 -53
- package/es/targetSelector/styles/index.less +110 -110
- package/es/userCondition/conditionTypeList.js +1 -10
- package/es/userCondition/conditions/businessCondition.js +3 -10
- package/es/userCondition/conditions/eventCondition.js +36 -4
- package/es/userCondition/conditions/styles/cdpCondition.less +37 -37
- package/es/userCondition/conditions/styles/cdpCshCondition.less +47 -47
- package/es/userCondition/conditions/styles/eventCondition.less +57 -51
- package/es/userCondition/conditions/styles/periodCondition.less +26 -26
- package/es/userCondition/conditions/styles/propCondition.less +43 -43
- package/es/userCondition/conditions/styles/runTimesCondition.less +19 -19
- package/es/userCondition/conditions/styles/tagsCondition.less +20 -20
- package/es/userCondition/conditions/styles/textDesc.less +17 -17
- package/es/userCondition/conditions/textDesc.js +1 -24
- package/es/userCondition/orConditions.js +0 -7
- package/es/userCondition/styles/conditionTypeList.less +30 -30
- package/es/userCondition/styles/conditionWrap.less +18 -18
- package/es/userCondition/styles/index.less +33 -33
- package/es/userCondition/styles/orConditions.less +34 -34
- package/es/userCondition/styles/relationLabel.less +19 -19
- package/es/userGroup/styles/index.less +145 -145
- package/es/userGroupHeader/styles/index.less +31 -31
- package/es/userTagsSelector/cascaderOverlay.js +13 -6
- package/es/userTagsSelector/components/search/index.less +6 -6
- package/es/userTagsSelector/components/tagList/index.less +13 -13
- package/es/userTagsSelector/demo/index.js +1 -0
- package/es/userTagsSelector/groups/styles/option.less +55 -55
- package/es/userTagsSelector/index.js +6 -3
- package/es/userTagsSelector/multipleCheckPanel/styles/option.less +40 -40
- package/es/userTagsSelector/styles/cascaderOverlay.less +34 -34
- package/es/userTagsSelector/styles/index.less +10 -10
- package/es/userTagsSelector/types.d.ts +2 -0
- package/package.json +62 -62
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
|
|
3
|
-
.biz-user-condition-cdp-csh {
|
|
4
|
-
display: flex;
|
|
5
|
-
|
|
6
|
-
&-content,
|
|
7
|
-
&-condition-group {
|
|
8
|
-
display: flex;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&-condition-group-sub {
|
|
12
|
-
display: flex;
|
|
13
|
-
margin-top: @margin-xs;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-label {
|
|
17
|
-
width: 56px;
|
|
18
|
-
margin-right: @margin-xs;
|
|
19
|
-
line-height: 32px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-item {
|
|
23
|
-
display: flex;
|
|
24
|
-
margin-left: @margin-xs;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-select-dataset {
|
|
28
|
-
width: 150px;
|
|
29
|
-
}
|
|
30
|
-
&-select-tips {
|
|
31
|
-
height: 32px;
|
|
32
|
-
margin-left: 8px;
|
|
33
|
-
color: #9aa1a9;
|
|
34
|
-
line-height: 32px;
|
|
35
|
-
}
|
|
36
|
-
&-select-field {
|
|
37
|
-
width: 129px;
|
|
38
|
-
}
|
|
39
|
-
&-select-condition {
|
|
40
|
-
width: 96px;
|
|
41
|
-
margin-left: @margin-xs;
|
|
42
|
-
}
|
|
43
|
-
&-value {
|
|
44
|
-
width: 150px !important;
|
|
45
|
-
margin-left: @margin-xs !important;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
|
|
3
|
+
.biz-user-condition-cdp-csh {
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
&-content,
|
|
7
|
+
&-condition-group {
|
|
8
|
+
display: flex;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&-condition-group-sub {
|
|
12
|
+
display: flex;
|
|
13
|
+
margin-top: @margin-xs;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-label {
|
|
17
|
+
width: 56px;
|
|
18
|
+
margin-right: @margin-xs;
|
|
19
|
+
line-height: 32px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-item {
|
|
23
|
+
display: flex;
|
|
24
|
+
margin-left: @margin-xs;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-select-dataset {
|
|
28
|
+
width: 150px;
|
|
29
|
+
}
|
|
30
|
+
&-select-tips {
|
|
31
|
+
height: 32px;
|
|
32
|
+
margin-left: 8px;
|
|
33
|
+
color: #9aa1a9;
|
|
34
|
+
line-height: 32px;
|
|
35
|
+
}
|
|
36
|
+
&-select-field {
|
|
37
|
+
width: 129px;
|
|
38
|
+
}
|
|
39
|
+
&-select-condition {
|
|
40
|
+
width: 96px;
|
|
41
|
+
margin-left: @margin-xs;
|
|
42
|
+
}
|
|
43
|
+
&-value {
|
|
44
|
+
width: 150px !important;
|
|
45
|
+
margin-left: @margin-xs !important;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1,51 +1,57 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
.biz-user-condition-event-condition {
|
|
3
|
-
display: flex;
|
|
4
|
-
&-left {
|
|
5
|
-
display: flex;
|
|
6
|
-
}
|
|
7
|
-
&-right {
|
|
8
|
-
flex: 1;
|
|
9
|
-
}
|
|
10
|
-
.biz-user-condition-event {
|
|
11
|
-
width: 200px;
|
|
12
|
-
.biz-event-select-handle {
|
|
13
|
-
border-top-right-radius: 0;
|
|
14
|
-
border-bottom-right-radius: 0;
|
|
15
|
-
.biz-select-handle-input {
|
|
16
|
-
background-color: @background-color-base;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
&-times-period-wrap {
|
|
21
|
-
display: flex;
|
|
22
|
-
}
|
|
23
|
-
&-expand-attr {
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: center;
|
|
26
|
-
justify-content: center;
|
|
27
|
-
width: 38px;
|
|
28
|
-
height: @height-base;
|
|
29
|
-
margin-right: @margin-xs;
|
|
30
|
-
margin-left: @border-radius-small;
|
|
31
|
-
background-color: @background-color-base;
|
|
32
|
-
border-radius: @border-radius-small;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
35
|
-
&-attrs {
|
|
36
|
-
flex: 1;
|
|
37
|
-
width: 100%;
|
|
38
|
-
// margin-right: @margin-xs;
|
|
39
|
-
margin-bottom: @margin-xs;
|
|
40
|
-
}
|
|
41
|
-
&-label {
|
|
42
|
-
display: flex;
|
|
43
|
-
align-items: center;
|
|
44
|
-
min-width: 28px;
|
|
45
|
-
height: 34px;
|
|
46
|
-
margin-right: @margin-xs;
|
|
47
|
-
}
|
|
48
|
-
&-runtimes {
|
|
49
|
-
margin-right: @margin-xs;
|
|
50
|
-
}
|
|
51
|
-
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
.biz-user-condition-event-condition {
|
|
3
|
+
display: flex;
|
|
4
|
+
&-left {
|
|
5
|
+
display: flex;
|
|
6
|
+
}
|
|
7
|
+
&-right {
|
|
8
|
+
flex: 1;
|
|
9
|
+
}
|
|
10
|
+
.biz-user-condition-event {
|
|
11
|
+
width: 200px;
|
|
12
|
+
.biz-event-select-handle {
|
|
13
|
+
border-top-right-radius: 0;
|
|
14
|
+
border-bottom-right-radius: 0;
|
|
15
|
+
.biz-select-handle-input {
|
|
16
|
+
background-color: @background-color-base;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
&-times-period-wrap {
|
|
21
|
+
display: flex;
|
|
22
|
+
}
|
|
23
|
+
&-expand-attr {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 38px;
|
|
28
|
+
height: @height-base;
|
|
29
|
+
margin-right: @margin-xs;
|
|
30
|
+
margin-left: @border-radius-small;
|
|
31
|
+
background-color: @background-color-base;
|
|
32
|
+
border-radius: @border-radius-small;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
&-attrs {
|
|
36
|
+
flex: 1;
|
|
37
|
+
width: 100%;
|
|
38
|
+
// margin-right: @margin-xs;
|
|
39
|
+
margin-bottom: @margin-xs;
|
|
40
|
+
}
|
|
41
|
+
&-label {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
min-width: 28px;
|
|
45
|
+
height: 34px;
|
|
46
|
+
margin-right: @margin-xs;
|
|
47
|
+
}
|
|
48
|
+
&-runtimes {
|
|
49
|
+
margin-right: @margin-xs;
|
|
50
|
+
}
|
|
51
|
+
.del-log {
|
|
52
|
+
margin-top: 4px;
|
|
53
|
+
color: #fb5547;
|
|
54
|
+
font-weight: 400;
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
.biz-user-condition-period-condition {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
&-label,
|
|
6
|
-
&-operator,
|
|
7
|
-
&-values,
|
|
8
|
-
&-unit {
|
|
9
|
-
margin-right: @margin-xs;
|
|
10
|
-
> input {
|
|
11
|
-
border: none !important;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
&-operator {
|
|
15
|
-
width: 129px;
|
|
16
|
-
}
|
|
17
|
-
&-values {
|
|
18
|
-
.ant-picker-range.ant-picker-larg {
|
|
19
|
-
min-width: 255px;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
&-today {
|
|
23
|
-
margin-left: @margin-xs;
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
.biz-user-condition-period-condition {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
&-label,
|
|
6
|
+
&-operator,
|
|
7
|
+
&-values,
|
|
8
|
+
&-unit {
|
|
9
|
+
margin-right: @margin-xs;
|
|
10
|
+
> input {
|
|
11
|
+
border: none !important;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
&-operator {
|
|
15
|
+
width: 129px;
|
|
16
|
+
}
|
|
17
|
+
&-values {
|
|
18
|
+
.ant-picker-range.ant-picker-larg {
|
|
19
|
+
min-width: 255px;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&-today {
|
|
23
|
+
margin-left: @margin-xs;
|
|
24
|
+
white-space: nowrap;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
@import '../../../assets//styles/variable.less';
|
|
2
|
-
.biz-user-condition-prop-condition {
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-wrap: wrap;
|
|
5
|
-
align-items: center;
|
|
6
|
-
&-label {
|
|
7
|
-
margin-right: @margin-xs;
|
|
8
|
-
}
|
|
9
|
-
&-attrs {
|
|
10
|
-
flex: 1;
|
|
11
|
-
.biz-user-condition-prop-condition-attr {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
&:nth-child(n + 2) {
|
|
15
|
-
margin-top: @margin-xs;
|
|
16
|
-
}
|
|
17
|
-
.biz-user-condition-prop-condition-item-wrap {
|
|
18
|
-
flex: 1;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
&-add {
|
|
23
|
-
width: 100%;
|
|
24
|
-
margin-top: @margin-xss;
|
|
25
|
-
.biz-user-condition-prop-add-btn {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: center;
|
|
29
|
-
width: @height-base;
|
|
30
|
-
height: @height-base;
|
|
31
|
-
background-color: @background-color-base;
|
|
32
|
-
border-radius: @border-radius-sx;
|
|
33
|
-
cursor: pointer;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
.biz-condition-item-panel {
|
|
37
|
-
.biz-condition-item-input {
|
|
38
|
-
.ant-input {
|
|
39
|
-
border: none;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
@import '../../../assets//styles/variable.less';
|
|
2
|
+
.biz-user-condition-prop-condition {
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
align-items: center;
|
|
6
|
+
&-label {
|
|
7
|
+
margin-right: @margin-xs;
|
|
8
|
+
}
|
|
9
|
+
&-attrs {
|
|
10
|
+
flex: 1;
|
|
11
|
+
.biz-user-condition-prop-condition-attr {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
&:nth-child(n + 2) {
|
|
15
|
+
margin-top: @margin-xs;
|
|
16
|
+
}
|
|
17
|
+
.biz-user-condition-prop-condition-item-wrap {
|
|
18
|
+
flex: 1;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&-add {
|
|
23
|
+
width: 100%;
|
|
24
|
+
margin-top: @margin-xss;
|
|
25
|
+
.biz-user-condition-prop-add-btn {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
width: @height-base;
|
|
30
|
+
height: @height-base;
|
|
31
|
+
background-color: @background-color-base;
|
|
32
|
+
border-radius: @border-radius-sx;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.biz-condition-item-panel {
|
|
37
|
+
.biz-condition-item-input {
|
|
38
|
+
.ant-input {
|
|
39
|
+
border: none;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
.biz-user-condition-runtimes-condition {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
&-label {
|
|
6
|
-
margin-right: @margin-xs;
|
|
7
|
-
}
|
|
8
|
-
&-operator,
|
|
9
|
-
&-value {
|
|
10
|
-
width: 58px;
|
|
11
|
-
margin-right: @margin-xs;
|
|
12
|
-
> input {
|
|
13
|
-
border: none !important;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.biz-user-condition-runtimes-tip {
|
|
17
|
-
color: @primary-color;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
.biz-user-condition-runtimes-condition {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
&-label {
|
|
6
|
+
margin-right: @margin-xs;
|
|
7
|
+
}
|
|
8
|
+
&-operator,
|
|
9
|
+
&-value {
|
|
10
|
+
width: 58px;
|
|
11
|
+
margin-right: @margin-xs;
|
|
12
|
+
> input {
|
|
13
|
+
border: none !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.biz-user-condition-runtimes-tip {
|
|
17
|
+
color: @primary-color;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
.biz-user-condition-tags-condition {
|
|
3
|
-
display: flex;
|
|
4
|
-
&-label {
|
|
5
|
-
margin-right: @margin-xs;
|
|
6
|
-
}
|
|
7
|
-
&-value {
|
|
8
|
-
margin-left: @margin-xs;
|
|
9
|
-
}
|
|
10
|
-
&-label {
|
|
11
|
-
line-height: 32px;
|
|
12
|
-
}
|
|
13
|
-
&-value {
|
|
14
|
-
flex: 1;
|
|
15
|
-
min-width: 0;
|
|
16
|
-
}
|
|
17
|
-
&-operator {
|
|
18
|
-
width: 96px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
.biz-user-condition-tags-condition {
|
|
3
|
+
display: flex;
|
|
4
|
+
&-label {
|
|
5
|
+
margin-right: @margin-xs;
|
|
6
|
+
}
|
|
7
|
+
&-value {
|
|
8
|
+
margin-left: @margin-xs;
|
|
9
|
+
}
|
|
10
|
+
&-label {
|
|
11
|
+
line-height: 32px;
|
|
12
|
+
}
|
|
13
|
+
&-value {
|
|
14
|
+
flex: 1;
|
|
15
|
+
min-width: 0;
|
|
16
|
+
}
|
|
17
|
+
&-operator {
|
|
18
|
+
width: 96px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@import '../../../assets/styles/variable.less';
|
|
2
|
-
.biz-user-condition {
|
|
3
|
-
&-text-desc {
|
|
4
|
-
color: @text-color-secondary;
|
|
5
|
-
font-size: 14px;
|
|
6
|
-
&-or {
|
|
7
|
-
margin: 0 @margin-xs;
|
|
8
|
-
}
|
|
9
|
-
&-label {
|
|
10
|
-
}
|
|
11
|
-
&-operator {
|
|
12
|
-
}
|
|
13
|
-
&-value {
|
|
14
|
-
color: @text-color;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
@import '../../../assets/styles/variable.less';
|
|
2
|
+
.biz-user-condition {
|
|
3
|
+
&-text-desc {
|
|
4
|
+
color: @text-color-secondary;
|
|
5
|
+
font-size: 14px;
|
|
6
|
+
&-or {
|
|
7
|
+
margin: 0 @margin-xs;
|
|
8
|
+
}
|
|
9
|
+
&-label {
|
|
10
|
+
}
|
|
11
|
+
&-operator {
|
|
12
|
+
}
|
|
13
|
+
&-value {
|
|
14
|
+
color: @text-color;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -54,9 +54,6 @@ var Text = function Text(props) {
|
|
|
54
54
|
if (data.eventId === undefined) {
|
|
55
55
|
return renderProps(data.attrs[0], 'user');
|
|
56
56
|
}
|
|
57
|
-
if (String(data.eventId) === '-13') {
|
|
58
|
-
return renderOrder(data);
|
|
59
|
-
}
|
|
60
57
|
if (String(data.eventId) === '-14') {
|
|
61
58
|
return renderBusiness(data);
|
|
62
59
|
}
|
|
@@ -125,26 +122,6 @@ var Text = function Text(props) {
|
|
|
125
122
|
className: "".concat(classPrefix, "-text-desc-value")
|
|
126
123
|
}, event.alias || event.name), attrs, timeDimensions, runtimes);
|
|
127
124
|
}
|
|
128
|
-
function renderOrder(condition) {
|
|
129
|
-
var periodLabel = {};
|
|
130
|
-
if (condition.runPeriod.operator === 'join_time') {
|
|
131
|
-
periodLabel.before = '在新增后';
|
|
132
|
-
periodLabel.after = '天内';
|
|
133
|
-
}
|
|
134
|
-
if (condition.runPeriod.operator === 'relative' || condition.runPeriod.operator === 'absolute') {
|
|
135
|
-
periodLabel.before = '在';
|
|
136
|
-
}
|
|
137
|
-
var period = renderPeriod(periodLabel, condition.runPeriod, true);
|
|
138
|
-
var frequencyValues = renderFrequencyValues(condition.runTimes.values, condition.runTimes.operator, '次数');
|
|
139
|
-
var timeDimensions = renderTimeDimensions(condition.timeDimensions);
|
|
140
|
-
var property = renderProperty(condition.attrs, '订单属性');
|
|
141
|
-
return /*#__PURE__*/React.createElement("span", {
|
|
142
|
-
style: {
|
|
143
|
-
backgroundColor: '#fffeeb',
|
|
144
|
-
padding: '6px 7px'
|
|
145
|
-
}
|
|
146
|
-
}, "\u8BA2\u5355\u6570\u636E ", period, timeDimensions, property, frequencyValues);
|
|
147
|
-
}
|
|
148
125
|
function renderBusiness(condition) {
|
|
149
126
|
var periodLabel = {};
|
|
150
127
|
if (condition.runPeriod.operator === 'join_time') {
|
|
@@ -393,7 +370,7 @@ var Text = function Text(props) {
|
|
|
393
370
|
_value$between = value.between,
|
|
394
371
|
between = _value$between === void 0 ? [] : _value$between;
|
|
395
372
|
var numOperatorMap = _objectSpread(_objectSpread({}, operatorMap), {}, {
|
|
396
|
-
equal: '等于'
|
|
373
|
+
equal: value.webType === 'number' ? '等于' : '是'
|
|
397
374
|
});
|
|
398
375
|
var valuesDom = '';
|
|
399
376
|
var calculateTxt = '';
|
|
@@ -218,13 +218,6 @@ var OrConditions = function OrConditions(props) {
|
|
|
218
218
|
onChange: onChangeEvent,
|
|
219
219
|
condition: condition
|
|
220
220
|
});
|
|
221
|
-
} else if (String(conditionData.eventId) === eventIdType.orderData) {
|
|
222
|
-
conditionDom = /*#__PURE__*/React.createElement(BusinessCondition, {
|
|
223
|
-
label: "\u8BA2\u5355\u6570\u636E",
|
|
224
|
-
dataId: id,
|
|
225
|
-
onChange: onChangeEvent,
|
|
226
|
-
condition: condition
|
|
227
|
-
});
|
|
228
221
|
} else if (util.isNumber(conditionData.eventId)) {
|
|
229
222
|
conditionDom = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(EventCondition, {
|
|
230
223
|
dataId: id,
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
@import '../../assets/styles/inner.less';
|
|
2
|
-
.biz-user-condition-type-list {
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
.biz-user-condition-type-label {
|
|
6
|
-
margin-right: 10px;
|
|
7
|
-
}
|
|
8
|
-
.biz-user-condition-type-container {
|
|
9
|
-
display: flex;
|
|
10
|
-
margin: 0;
|
|
11
|
-
padding: 0;
|
|
12
|
-
list-style: none;
|
|
13
|
-
.condition-type {
|
|
14
|
-
padding: @padding-xss 12px;
|
|
15
|
-
background-color: @background-color-base;
|
|
16
|
-
border-radius: @border-radius-large;
|
|
17
|
-
cursor: pointer;
|
|
18
|
-
&:nth-child(n + 2) {
|
|
19
|
-
margin-left: @margin-md;
|
|
20
|
-
}
|
|
21
|
-
&:hover {
|
|
22
|
-
color: @primary-color;
|
|
23
|
-
background-color: @primary-color-hover;
|
|
24
|
-
}
|
|
25
|
-
&:active {
|
|
26
|
-
border-color: @primary-color;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
.biz-user-condition-type-list {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
.biz-user-condition-type-label {
|
|
6
|
+
margin-right: 10px;
|
|
7
|
+
}
|
|
8
|
+
.biz-user-condition-type-container {
|
|
9
|
+
display: flex;
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
list-style: none;
|
|
13
|
+
.condition-type {
|
|
14
|
+
padding: @padding-xss 12px;
|
|
15
|
+
background-color: @background-color-base;
|
|
16
|
+
border-radius: @border-radius-large;
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
&:nth-child(n + 2) {
|
|
19
|
+
margin-left: @margin-md;
|
|
20
|
+
}
|
|
21
|
+
&:hover {
|
|
22
|
+
color: @primary-color;
|
|
23
|
+
background-color: @primary-color-hover;
|
|
24
|
+
}
|
|
25
|
+
&:active {
|
|
26
|
+
border-color: @primary-color;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
@import '../../assets//styles/variable.less';
|
|
2
|
-
.biz-user-condition-item-wrap {
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
width: 100%;
|
|
6
|
-
margin-bottom: @margin-xs;
|
|
7
|
-
.biz-user-condition-item {
|
|
8
|
-
flex: 1;
|
|
9
|
-
}
|
|
10
|
-
.biz-user-condition-item-delete {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
//对齐第一行
|
|
14
|
-
height: 32px;
|
|
15
|
-
margin-left: @margin-lg;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
1
|
+
@import '../../assets//styles/variable.less';
|
|
2
|
+
.biz-user-condition-item-wrap {
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
width: 100%;
|
|
6
|
+
margin-bottom: @margin-xs;
|
|
7
|
+
.biz-user-condition-item {
|
|
8
|
+
flex: 1;
|
|
9
|
+
}
|
|
10
|
+
.biz-user-condition-item-delete {
|
|
11
|
+
display: flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
//对齐第一行
|
|
14
|
+
height: 32px;
|
|
15
|
+
margin-left: @margin-lg;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
}
|