@zgfe/business-lib 1.2.70-hxd.19 → 1.2.70-hxd.20

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.
Files changed (38) hide show
  1. package/es/AUMFormulaTarget/components/panel/index.less +269 -269
  2. package/es/assets/colorIcon/iconfont.json +555 -555
  3. package/es/assets/iconfont/iconfont.json +1584 -1584
  4. package/es/assets/styles/resetAntd.less +568 -568
  5. package/es/assets/styles/variable.less +21 -21
  6. package/es/attrCondition/styles/index.less +101 -101
  7. package/es/attributeSelector/listPanel.d.ts +1 -4
  8. package/es/attributeSelector/listPanel.js +311 -102
  9. package/es/attributeSelector/types.d.ts +0 -1
  10. package/es/attributeSelector/util.js +0 -3
  11. package/es/chart/styles/index.less +113 -113
  12. package/es/constants/apis.d.ts +3 -0
  13. package/es/constants/apis.js +5 -2
  14. package/es/datePickerV2/styles/index.less +194 -194
  15. package/es/eventSelector/styles/index.less +127 -127
  16. package/es/formulaTarget/components/formula/index.less +76 -76
  17. package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
  18. package/es/layout/optionTitle/styles/layout.less +90 -90
  19. package/es/platformSelector/styles/index.less +26 -26
  20. package/es/productCondition/conditions/styles/periodCondition.less +26 -26
  21. package/es/productCondition/styles/conditionTypeList.less +32 -32
  22. package/es/productCondition/styles/relationLabel.less +19 -19
  23. package/es/quickDatePicker/styles/index.less +141 -141
  24. package/es/select/styles/handle.less +206 -206
  25. package/es/targetSelector/styles/index.less +142 -142
  26. package/es/userCondition/conditions/styles/eventCondition.less +71 -71
  27. package/es/userCondition/conditions/styles/periodCondition.less +32 -32
  28. package/es/userCondition/conditions/styles/textDesc.less +16 -16
  29. package/es/userCondition/styles/conditionTypeList.less +32 -32
  30. package/es/userCondition/styles/relationLabel.less +19 -19
  31. package/es/userGroup/styles/index.less +199 -199
  32. package/es/userGroupHeader/styles/index.less +50 -50
  33. package/es/userTagsSelector/styles/index.less +20 -20
  34. package/es/utils/eventApi.d.ts +14 -0
  35. package/es/utils/eventApi.js +128 -0
  36. package/es/utils/index.d.ts +2 -1
  37. package/es/utils/index.js +2 -1
  38. package/package.json +62 -62
@@ -1,90 +1,90 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/variable.less';
2
-
3
- .biz-option-layout {
4
- height: 100%;
5
- border-radius: @border-radius-normal;
6
- &-header {
7
- display: flex;
8
- align-items: center;
9
- justify-content: space-between;
10
- width: 100%;
11
- height: 64px;
12
- padding: 0 16px;
13
- background-color: #fff;
14
- border-bottom: 1px solid @border-color-base;
15
-
16
- &-title {
17
- display: flex;
18
- align-items: center;
19
- &-text {
20
- margin-right: @margin-md;
21
- color: @text-color-secondary;
22
- }
23
- &-btn {
24
- color: @text-color-secondary;
25
- &:hover {
26
- color: @primary-color;
27
- }
28
- }
29
- &-icon {
30
- display: flex;
31
- align-items: center;
32
- justify-content: center;
33
- width: 20px;
34
- height: 20px;
35
- margin-left: 8px;
36
- color: #5f6085;
37
- font-size: 12px;
38
- background: #f2f3f4;
39
- border-radius: 10px;
40
- }
41
- &-icon:hover {
42
- color: #116acc;
43
- background: #e8efff;
44
- }
45
- }
46
- &-option {
47
- display: flex;
48
- flex: 1;
49
- flex-direction: row-reverse;
50
- align-items: center;
51
- justify-content: space-between;
52
- }
53
- }
54
-
55
- &-content {
56
- width: 100%;
57
- height: calc(100% - 64px);
58
- overflow: auto;
59
- }
60
-
61
- &-panel-content {
62
- z-index: 1000;
63
- width: 284px;
64
- max-height: 304px;
65
- padding: 0;
66
- overflow: auto;
67
- background: #fff;
68
- border-radius: 10px;
69
- box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
70
- .ant-popover-arrow {
71
- display: none !important;
72
- }
73
- .ant-popover-inner-content {
74
- width: 100%;
75
- padding: 8px;
76
- }
77
- .ant-tabs {
78
- .ant-tabs-tab-btn {
79
- font-size: 16px;
80
- }
81
- .ant-tabs-nav {
82
- margin-bottom: 4px;
83
- padding-left: 45px;
84
- }
85
- .ant-tabs-nav::before {
86
- border: none !important;
87
- }
88
- }
89
- }
90
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/variable.less';
2
+
3
+ .biz-option-layout {
4
+ height: 100%;
5
+ border-radius: @border-radius-normal;
6
+ &-header {
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: space-between;
10
+ width: 100%;
11
+ height: 64px;
12
+ padding: 0 16px;
13
+ background-color: #fff;
14
+ border-bottom: 1px solid @border-color-base;
15
+
16
+ &-title {
17
+ display: flex;
18
+ align-items: center;
19
+ &-text {
20
+ margin-right: @margin-md;
21
+ color: @text-color-secondary;
22
+ }
23
+ &-btn {
24
+ color: @text-color-secondary;
25
+ &:hover {
26
+ color: @primary-color;
27
+ }
28
+ }
29
+ &-icon {
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ width: 20px;
34
+ height: 20px;
35
+ margin-left: 8px;
36
+ color: #5f6085;
37
+ font-size: 12px;
38
+ background: #f2f3f4;
39
+ border-radius: 10px;
40
+ }
41
+ &-icon:hover {
42
+ color: #116acc;
43
+ background: #e8efff;
44
+ }
45
+ }
46
+ &-option {
47
+ display: flex;
48
+ flex: 1;
49
+ flex-direction: row-reverse;
50
+ align-items: center;
51
+ justify-content: space-between;
52
+ }
53
+ }
54
+
55
+ &-content {
56
+ width: 100%;
57
+ height: calc(100% - 64px);
58
+ overflow: auto;
59
+ }
60
+
61
+ &-panel-content {
62
+ z-index: 1000;
63
+ width: 284px;
64
+ max-height: 304px;
65
+ padding: 0;
66
+ overflow: auto;
67
+ background: #fff;
68
+ border-radius: 10px;
69
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
70
+ .ant-popover-arrow {
71
+ display: none !important;
72
+ }
73
+ .ant-popover-inner-content {
74
+ width: 100%;
75
+ padding: 8px;
76
+ }
77
+ .ant-tabs {
78
+ .ant-tabs-tab-btn {
79
+ font-size: 16px;
80
+ }
81
+ .ant-tabs-nav {
82
+ margin-bottom: 4px;
83
+ padding-left: 45px;
84
+ }
85
+ .ant-tabs-nav::before {
86
+ border: none !important;
87
+ }
88
+ }
89
+ }
90
+ }
@@ -1,26 +1,26 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-platform-selector {
3
- width: 134px;
4
- box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
5
- .biz-platform-selector-select .biz-select-handle-input {
6
- background-color: #fff;
7
- border: 1px solid #ecedf0;
8
- .biz-select-handle-content .biz-select-handle-icon .bsicon {
9
- color: #9aa1a9;
10
- }
11
- .biz-select-handle-content-label {
12
- display: flex;
13
- align-items: center;
14
- }
15
- }
16
- }
17
- .biz-platform-selector-select-overlay .biz-select-list-panel .biz-select-option {
18
- .biz-select-option-icon .bsicon {
19
- color: #9aa1a9;
20
- }
21
- &:hover {
22
- .biz-select-option-icon .bsicon {
23
- color: #116acc;
24
- }
25
- }
26
- }
1
+ @import '../../assets/styles/inner.less';
2
+ .biz-platform-selector {
3
+ width: 134px;
4
+ box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
5
+ .biz-platform-selector-select .biz-select-handle-input {
6
+ background-color: #fff;
7
+ border: 1px solid #ecedf0;
8
+ .biz-select-handle-content .biz-select-handle-icon .bsicon {
9
+ color: #9aa1a9;
10
+ }
11
+ .biz-select-handle-content-label {
12
+ display: flex;
13
+ align-items: center;
14
+ }
15
+ }
16
+ }
17
+ .biz-platform-selector-select-overlay .biz-select-list-panel .biz-select-option {
18
+ .biz-select-option-icon .bsicon {
19
+ color: #9aa1a9;
20
+ }
21
+ &:hover {
22
+ .biz-select-option-icon .bsicon {
23
+ color: #116acc;
24
+ }
25
+ }
26
+ }
@@ -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: 100px;
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: 100px;
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,32 +1,32 @@
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: #fff;
16
- border: 1px solid #ecedf0;
17
- border-radius: @border-radius-large;
18
- cursor: pointer;
19
- &:nth-child(n + 2) {
20
- margin-left: @margin-md;
21
- }
22
- &:hover {
23
- color: @primary-color;
24
- // background-color: @primary-color-hover;
25
- border: 1px solid #b9ceff;
26
- }
27
- &:active {
28
- border-color: @primary-color;
29
- }
30
- }
31
- }
32
- }
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: #fff;
16
+ border: 1px solid #ecedf0;
17
+ border-radius: @border-radius-large;
18
+ cursor: pointer;
19
+ &:nth-child(n + 2) {
20
+ margin-left: @margin-md;
21
+ }
22
+ &:hover {
23
+ color: @primary-color;
24
+ // background-color: @primary-color-hover;
25
+ border: 1px solid #b9ceff;
26
+ }
27
+ &:active {
28
+ border-color: @primary-color;
29
+ }
30
+ }
31
+ }
32
+ }
@@ -1,19 +1,19 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-user-condition-relation {
3
- position: relative;
4
- width: 2px;
5
- margin-right: @margin-lg;
6
- background-color: #b9ceff;
7
- &-label {
8
- position: absolute;
9
- top: 50%;
10
- left: 50%;
11
- width: 24px;
12
- height: 24px;
13
- line-height: 24px;
14
- text-align: center;
15
- background-color: @border-color-split;
16
- border-radius: @border-radius-small;
17
- transform: translate(-50%, -50%);
18
- }
19
- }
1
+ @import '../../assets/styles/inner.less';
2
+ .biz-user-condition-relation {
3
+ position: relative;
4
+ width: 2px;
5
+ margin-right: @margin-lg;
6
+ background-color: #b9ceff;
7
+ &-label {
8
+ position: absolute;
9
+ top: 50%;
10
+ left: 50%;
11
+ width: 24px;
12
+ height: 24px;
13
+ line-height: 24px;
14
+ text-align: center;
15
+ background-color: @border-color-split;
16
+ border-radius: @border-radius-small;
17
+ transform: translate(-50%, -50%);
18
+ }
19
+ }
@@ -1,141 +1,141 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-quick-date-picker-wrap {
4
- position: relative;
5
- display: inline-block;
6
- height: 34px;
7
- padding: 4px 8px;
8
- background: #fafafb;
9
- border: 1px solid #fafafb;
10
- border-radius: 4px;
11
- &-tip {
12
- position: absolute;
13
- top: 4px;
14
- left: 8px;
15
- z-index: 2;
16
- border-radius: 2px;
17
- }
18
- .ant-picker-range-arrow {
19
- display: none !important;
20
- }
21
- .ant-picker-focused {
22
- box-shadow: none !important;
23
- }
24
- > :nth-child(1) {
25
- float: left;
26
- height: 24px;
27
- margin-right: 8px;
28
- padding: 2px 8px;
29
- color: @primary-color;
30
- vertical-align: middle;
31
- background: #e8efff;
32
- }
33
- .ant-picker {
34
- padding: 0;
35
- vertical-align: middle;
36
- border: none;
37
- border-radius: 0 !important;
38
- .ant-picker-clear {
39
- right: 0;
40
- }
41
- }
42
- .ant-picker:not(.disabled):hover {
43
- .ant-picker-input > input,
44
- .ant-picker-range-separator {
45
- color: #021429 !important;
46
- }
47
- }
48
- &-content {
49
- float: left;
50
- .ant-picker-panel-container {
51
- display: flex;
52
- flex-direction: row-reverse;
53
- border-radius: 8px;
54
- .ant-picker-footer {
55
- width: auto;
56
- min-width: auto;
57
- border-bottom: 1px solid #e8efff;
58
- box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
59
- }
60
- }
61
- &-options {
62
- width: 170px;
63
- padding-bottom: 25px;
64
- color: #67727f;
65
- ol,
66
- li {
67
- margin: 0;
68
- padding: 0;
69
- list-style: none;
70
- list-style-type: none;
71
- }
72
- &-defaultOptions,
73
- &-customOptions {
74
- > :nth-child(1),
75
- > :nth-child(2) {
76
- display: flex;
77
- flex-wrap: wrap;
78
- justify-content: space-between;
79
- margin-top: 16px;
80
- padding-bottom: 4px;
81
- border-bottom: 1px solid #ecedf0;
82
- li {
83
- width: 81px;
84
- height: 24px;
85
- margin-bottom: 8px;
86
- line-height: 24px;
87
- text-align: center;
88
- background: #fafafb;
89
- border-radius: 24px;
90
- cursor: pointer;
91
- }
92
- }
93
- > :nth-child(2) {
94
- margin-top: 14px;
95
- li {
96
- border-radius: 2px;
97
- }
98
- }
99
- }
100
- .customTime {
101
- display: flex;
102
- justify-content: space-between;
103
- width: 100%;
104
- height: 32px;
105
- margin-top: 12px;
106
- padding: 0 12px;
107
- line-height: 32px;
108
- background: #fafafb;
109
- border-radius: 2px;
110
- > :first-child {
111
- transform: rotate(180deg);
112
- }
113
- }
114
- .active,
115
- li.active {
116
- color: @primary-color;
117
- background: #e8efff;
118
- }
119
- }
120
- }
121
- }
122
-
123
- .biz-quick-date-picker-wrap:not(.disabled):hover {
124
- border: 1px solid @primary-color;
125
- }
126
- .biz-quick-date-picker-wrap.focus {
127
- border: 1px solid @primary-color;
128
- box-shadow: 0 0 0 4px #f0f7ff;
129
- }
130
-
131
- .clearfix:after {
132
- display: block;
133
- clear: both;
134
- height: 0;
135
- content: '';
136
- }
137
-
138
- .clearfix {
139
- /* 触发 hasLayout */
140
- zoom: 1;
141
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-quick-date-picker-wrap {
4
+ position: relative;
5
+ display: inline-block;
6
+ height: 34px;
7
+ padding: 4px 8px;
8
+ background: #fafafb;
9
+ border: 1px solid #fafafb;
10
+ border-radius: 4px;
11
+ &-tip {
12
+ position: absolute;
13
+ top: 4px;
14
+ left: 8px;
15
+ z-index: 2;
16
+ border-radius: 2px;
17
+ }
18
+ .ant-picker-range-arrow {
19
+ display: none !important;
20
+ }
21
+ .ant-picker-focused {
22
+ box-shadow: none !important;
23
+ }
24
+ > :nth-child(1) {
25
+ float: left;
26
+ height: 24px;
27
+ margin-right: 8px;
28
+ padding: 2px 8px;
29
+ color: @primary-color;
30
+ vertical-align: middle;
31
+ background: #e8efff;
32
+ }
33
+ .ant-picker {
34
+ padding: 0;
35
+ vertical-align: middle;
36
+ border: none;
37
+ border-radius: 0 !important;
38
+ .ant-picker-clear {
39
+ right: 0;
40
+ }
41
+ }
42
+ .ant-picker:not(.disabled):hover {
43
+ .ant-picker-input > input,
44
+ .ant-picker-range-separator {
45
+ color: #021429 !important;
46
+ }
47
+ }
48
+ &-content {
49
+ float: left;
50
+ .ant-picker-panel-container {
51
+ display: flex;
52
+ flex-direction: row-reverse;
53
+ border-radius: 8px;
54
+ .ant-picker-footer {
55
+ width: auto;
56
+ min-width: auto;
57
+ border-bottom: 1px solid #e8efff;
58
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
59
+ }
60
+ }
61
+ &-options {
62
+ width: 170px;
63
+ padding-bottom: 25px;
64
+ color: #67727f;
65
+ ol,
66
+ li {
67
+ margin: 0;
68
+ padding: 0;
69
+ list-style: none;
70
+ list-style-type: none;
71
+ }
72
+ &-defaultOptions,
73
+ &-customOptions {
74
+ > :nth-child(1),
75
+ > :nth-child(2) {
76
+ display: flex;
77
+ flex-wrap: wrap;
78
+ justify-content: space-between;
79
+ margin-top: 16px;
80
+ padding-bottom: 4px;
81
+ border-bottom: 1px solid #ecedf0;
82
+ li {
83
+ width: 81px;
84
+ height: 24px;
85
+ margin-bottom: 8px;
86
+ line-height: 24px;
87
+ text-align: center;
88
+ background: #fafafb;
89
+ border-radius: 24px;
90
+ cursor: pointer;
91
+ }
92
+ }
93
+ > :nth-child(2) {
94
+ margin-top: 14px;
95
+ li {
96
+ border-radius: 2px;
97
+ }
98
+ }
99
+ }
100
+ .customTime {
101
+ display: flex;
102
+ justify-content: space-between;
103
+ width: 100%;
104
+ height: 32px;
105
+ margin-top: 12px;
106
+ padding: 0 12px;
107
+ line-height: 32px;
108
+ background: #fafafb;
109
+ border-radius: 2px;
110
+ > :first-child {
111
+ transform: rotate(180deg);
112
+ }
113
+ }
114
+ .active,
115
+ li.active {
116
+ color: @primary-color;
117
+ background: #e8efff;
118
+ }
119
+ }
120
+ }
121
+ }
122
+
123
+ .biz-quick-date-picker-wrap:not(.disabled):hover {
124
+ border: 1px solid @primary-color;
125
+ }
126
+ .biz-quick-date-picker-wrap.focus {
127
+ border: 1px solid @primary-color;
128
+ box-shadow: 0 0 0 4px #f0f7ff;
129
+ }
130
+
131
+ .clearfix:after {
132
+ display: block;
133
+ clear: both;
134
+ height: 0;
135
+ content: '';
136
+ }
137
+
138
+ .clearfix {
139
+ /* 触发 hasLayout */
140
+ zoom: 1;
141
+ }