@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,206 +1,206 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-select-handle {
4
- &-input {
5
- position: relative;
6
- display: flex;
7
- flex: 1;
8
- padding: 0px 6px 0 8px;
9
- &.disable {
10
- .__disable();
11
- .bsicon {
12
- color: @disabled-color;
13
- }
14
- }
15
-
16
- .__select-default();
17
-
18
- &.secondary {
19
- .__select-normal-secondary();
20
- }
21
-
22
- &.borderless {
23
- border: none;
24
- }
25
-
26
- &.large {
27
- height: @height-lg;
28
- font-size: @font-size-lg;
29
- line-height: @height-lg;
30
- }
31
-
32
- &.small {
33
- height: @height-sm;
34
- line-height: @height-sm;
35
- }
36
-
37
- &.middle {
38
- height: @height-base;
39
- line-height: @height-base;
40
- }
41
- }
42
-
43
- &-input-multiple {
44
- display: flex;
45
- align-items: center;
46
- height: auto;
47
- line-height: 1;
48
- &.small {
49
- height: auto;
50
- min-height: @height-sm;
51
- }
52
-
53
- &.middle {
54
- height: auto;
55
- min-height: @height-base;
56
- }
57
- .biz-select-handle-tag {
58
- display: flex;
59
- align-items: center;
60
- margin: 2px 4px 2px 0;
61
- padding: 0 4px;
62
- padding-top: 1px;
63
- padding-bottom: 1px;
64
- background: none;
65
- border-color: #cacdd4;
66
- border-radius: @border-radius-small;
67
- &-label {
68
- min-width: 0;
69
- max-width: 100px;
70
- overflow: hidden;
71
- text-overflow: ellipsis;
72
- }
73
- &:not(.disable) {
74
- &:hover {
75
- .__default-hover();
76
- .anticon {
77
- color: @primary-color;
78
- }
79
- }
80
- }
81
- &.disable {
82
- &:hover {
83
- cursor: not-allowed;
84
- .anticon-close {
85
- cursor: not-allowed;
86
- }
87
- }
88
- .biz-select-handle-tag-label,
89
- .ant-tag-close-icon {
90
- color: #ccd0d4 !important;
91
- }
92
- }
93
- }
94
- .biz-select-handle-tag:is(.state-2, .state-3, .state-4) {
95
- color: #fb5547;
96
- border-color: #fb5547;
97
- .ant-tag-close-icon {
98
- color: #fb5547 !important;
99
- }
100
- &:not(.disable) {
101
- &:hover {
102
- color: #fb5547;
103
- border-color: #fb5547;
104
- }
105
- }
106
- }
107
- }
108
- &-multiple-content {
109
- display: flex;
110
- flex: 1;
111
- flex-wrap: wrap;
112
- align-items: center;
113
- overflow: visible;
114
- }
115
-
116
- &-search.ant-input {
117
- width: auto;
118
- padding: 0;
119
- background-color: transparent;
120
- border: none !important;
121
- box-shadow: none;
122
-
123
- &:focus,
124
- &.active {
125
- box-shadow: none !important;
126
- }
127
- }
128
- &-temp {
129
- position: absolute;
130
- top: -999999999999999px;
131
- padding: 0 @padding-sm;
132
- font-size: @font-size-base;
133
- }
134
-
135
- &-holder {
136
- color: @input-placeholder-color;
137
- line-height: 20px;
138
- }
139
- &-content {
140
- display: flex;
141
- flex: 1;
142
- align-items: center;
143
- width: calc(100% - 19px);
144
- &-label {
145
- // width: 100%;
146
- .__default-overflow();
147
- }
148
- &-icon-list {
149
- display: flex;
150
- // flex: 1;
151
- flex-direction: row;
152
- align-items: center;
153
- justify-content: end;
154
- }
155
- &-icon-qingchu-box {
156
- display: none;
157
- gap: 10px;
158
- align-items: center;
159
- justify-content: center;
160
- width: 16px;
161
- height: 24px;
162
- margin-left: 8px;
163
- padding: 10px;
164
- border-radius: 4px;
165
- }
166
- &-icon-qingchu-box:hover {
167
- color: #fb5547;
168
- background: #feddda;
169
- }
170
- }
171
- &-input:hover {
172
- .biz-select-handle-content-icon-qingchu-box {
173
- display: flex;
174
- }
175
- }
176
- &-expand-icon {
177
- width: 14px;
178
- margin-left: 5px;
179
- color: @text-color-secondary;
180
- &.open {
181
- transform: rotate(180deg);
182
- }
183
- }
184
-
185
- &-tooltip {
186
- .ant-tooltip-inner {
187
- color: @black;
188
- background-color: @white;
189
- }
190
- }
191
-
192
- &-icon {
193
- margin-right: @margin-xss;
194
- }
195
-
196
- &-status-error {
197
- border-color: @error-color;
198
- &.biz-select-handle-input:hover {
199
- border-color: @error-color;
200
- }
201
- &.biz-select-handle-input.active:not(.disable) {
202
- border-color: @error-color;
203
- box-shadow: 0 0 0 4px rgba(#ff8170, 0.2) !important;
204
- }
205
- }
206
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-select-handle {
4
+ &-input {
5
+ position: relative;
6
+ display: flex;
7
+ flex: 1;
8
+ padding: 0px 6px 0 8px;
9
+ &.disable {
10
+ .__disable();
11
+ .bsicon {
12
+ color: @disabled-color;
13
+ }
14
+ }
15
+
16
+ .__select-default();
17
+
18
+ &.secondary {
19
+ .__select-normal-secondary();
20
+ }
21
+
22
+ &.borderless {
23
+ border: none;
24
+ }
25
+
26
+ &.large {
27
+ height: @height-lg;
28
+ font-size: @font-size-lg;
29
+ line-height: @height-lg;
30
+ }
31
+
32
+ &.small {
33
+ height: @height-sm;
34
+ line-height: @height-sm;
35
+ }
36
+
37
+ &.middle {
38
+ height: @height-base;
39
+ line-height: @height-base;
40
+ }
41
+ }
42
+
43
+ &-input-multiple {
44
+ display: flex;
45
+ align-items: center;
46
+ height: auto;
47
+ line-height: 1;
48
+ &.small {
49
+ height: auto;
50
+ min-height: @height-sm;
51
+ }
52
+
53
+ &.middle {
54
+ height: auto;
55
+ min-height: @height-base;
56
+ }
57
+ .biz-select-handle-tag {
58
+ display: flex;
59
+ align-items: center;
60
+ margin: 2px 4px 2px 0;
61
+ padding: 0 4px;
62
+ padding-top: 1px;
63
+ padding-bottom: 1px;
64
+ background: none;
65
+ border-color: #cacdd4;
66
+ border-radius: @border-radius-small;
67
+ &-label {
68
+ min-width: 0;
69
+ max-width: 100px;
70
+ overflow: hidden;
71
+ text-overflow: ellipsis;
72
+ }
73
+ &:not(.disable) {
74
+ &:hover {
75
+ .__default-hover();
76
+ .anticon {
77
+ color: @primary-color;
78
+ }
79
+ }
80
+ }
81
+ &.disable {
82
+ &:hover {
83
+ cursor: not-allowed;
84
+ .anticon-close {
85
+ cursor: not-allowed;
86
+ }
87
+ }
88
+ .biz-select-handle-tag-label,
89
+ .ant-tag-close-icon {
90
+ color: #ccd0d4 !important;
91
+ }
92
+ }
93
+ }
94
+ .biz-select-handle-tag:is(.state-2, .state-3, .state-4) {
95
+ color: #fb5547;
96
+ border-color: #fb5547;
97
+ .ant-tag-close-icon {
98
+ color: #fb5547 !important;
99
+ }
100
+ &:not(.disable) {
101
+ &:hover {
102
+ color: #fb5547;
103
+ border-color: #fb5547;
104
+ }
105
+ }
106
+ }
107
+ }
108
+ &-multiple-content {
109
+ display: flex;
110
+ flex: 1;
111
+ flex-wrap: wrap;
112
+ align-items: center;
113
+ overflow: visible;
114
+ }
115
+
116
+ &-search.ant-input {
117
+ width: auto;
118
+ padding: 0;
119
+ background-color: transparent;
120
+ border: none !important;
121
+ box-shadow: none;
122
+
123
+ &:focus,
124
+ &.active {
125
+ box-shadow: none !important;
126
+ }
127
+ }
128
+ &-temp {
129
+ position: absolute;
130
+ top: -999999999999999px;
131
+ padding: 0 @padding-sm;
132
+ font-size: @font-size-base;
133
+ }
134
+
135
+ &-holder {
136
+ color: @input-placeholder-color;
137
+ line-height: 20px;
138
+ }
139
+ &-content {
140
+ display: flex;
141
+ flex: 1;
142
+ align-items: center;
143
+ width: calc(100% - 19px);
144
+ &-label {
145
+ // width: 100%;
146
+ .__default-overflow();
147
+ }
148
+ &-icon-list {
149
+ display: flex;
150
+ // flex: 1;
151
+ flex-direction: row;
152
+ align-items: center;
153
+ justify-content: end;
154
+ }
155
+ &-icon-qingchu-box {
156
+ display: none;
157
+ gap: 10px;
158
+ align-items: center;
159
+ justify-content: center;
160
+ width: 16px;
161
+ height: 24px;
162
+ margin-left: 8px;
163
+ padding: 10px;
164
+ border-radius: 4px;
165
+ }
166
+ &-icon-qingchu-box:hover {
167
+ color: #fb5547;
168
+ background: #feddda;
169
+ }
170
+ }
171
+ &-input:hover {
172
+ .biz-select-handle-content-icon-qingchu-box {
173
+ display: flex;
174
+ }
175
+ }
176
+ &-expand-icon {
177
+ width: 14px;
178
+ margin-left: 5px;
179
+ color: @text-color-secondary;
180
+ &.open {
181
+ transform: rotate(180deg);
182
+ }
183
+ }
184
+
185
+ &-tooltip {
186
+ .ant-tooltip-inner {
187
+ color: @black;
188
+ background-color: @white;
189
+ }
190
+ }
191
+
192
+ &-icon {
193
+ margin-right: @margin-xss;
194
+ }
195
+
196
+ &-status-error {
197
+ border-color: @error-color;
198
+ &.biz-select-handle-input:hover {
199
+ border-color: @error-color;
200
+ }
201
+ &.biz-select-handle-input.active:not(.disable) {
202
+ border-color: @error-color;
203
+ box-shadow: 0 0 0 4px rgba(#ff8170, 0.2) !important;
204
+ }
205
+ }
206
+ }
@@ -1,142 +1,142 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-target-select {
4
- position: relative;
5
- display: flex;
6
- align-items: center;
7
- height: 32px;
8
- padding: 0;
9
- line-height: 32px;
10
- background-color: @background-color-base;
11
- border-color: @background-color-base;
12
- .__select-handle();
13
-
14
- .biz-event-select {
15
- border: none !important;
16
- }
17
- &.focus {
18
- border: 1px solid rgba(255, 0, 0, 0);
19
- box-shadow: 0 0 0 4px @custom-focus;
20
- .biz-event-select {
21
- // border: 1px solid #116acc !important;
22
- }
23
- }
24
-
25
- &:hover {
26
- .biz-event-select {
27
- border-color: @primary-color;
28
- }
29
-
30
- border-color: @primary-color;
31
- .biz-target-select-option-icon {
32
- display: inline-block;
33
- }
34
- }
35
- &:focus {
36
- background-color: #fff;
37
- .biz-select-handle-input {
38
- background-color: #fff;
39
- }
40
- }
41
-
42
- .biz-select-handle-input.middle {
43
- height: 30px;
44
- line-height: 30px;
45
- }
46
- .biz-event-select {
47
- flex: 1;
48
- }
49
-
50
- .biz-event-select-handle {
51
- flex: none;
52
- padding: 0;
53
- border: none;
54
- &.focus {
55
- box-shadow: none !important;
56
- }
57
- }
58
-
59
- &-option-icon {
60
- display: none;
61
- flex: none;
62
- width: 16px;
63
- height: @height-sm;
64
- margin-right: 4px;
65
- color: @text-color-secondary;
66
- line-height: @height-sm;
67
- text-align: center;
68
- border-radius: @border-radius-small;
69
-
70
- &:hover:not(.disabled) {
71
- .__default-hover;
72
- }
73
-
74
- &.disabled {
75
- .__default-disabled;
76
- }
77
- }
78
-
79
- &-del-icon:hover:not(.disabled) {
80
- .__error-hover();
81
- }
82
-
83
- &-menu {
84
- width: 200px;
85
- .__select-panel();
86
-
87
- &-item {
88
- .__select-option();
89
- span:first-child {
90
- margin-right: 15px;
91
- }
92
- }
93
- }
94
- &-divider {
95
- height: 0;
96
- margin: 8px;
97
- border-bottom: 1px solid @border-color-base;
98
- }
99
-
100
- &-modal {
101
- position: absolute;
102
- top: 45px;
103
- left: 0;
104
- z-index: 1000;
105
- width: 100%;
106
- min-width: 280px;
107
- .__select-panel();
108
- }
109
-
110
- &-tip {
111
- margin-left: 2px;
112
- color: #9aa1a9;
113
- font-size: 12px;
114
- }
115
-
116
- &-error {
117
- color: @error-color;
118
- }
119
-
120
- &-footer {
121
- display: flex;
122
- justify-content: end;
123
- &-left {
124
- margin-right: auto;
125
- margin-left: 2px;
126
- color: #116acc;
127
- font-weight: 400;
128
- font-size: 12px;
129
- cursor: pointer;
130
- }
131
- .ant-btn {
132
- }
133
- :nth-child(2) {
134
- color: #021429;
135
- background-color: #f2f3f4;
136
- }
137
- }
138
-
139
- &-mr8 {
140
- margin-right: @margin-xs;
141
- }
142
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-target-select {
4
+ position: relative;
5
+ display: flex;
6
+ align-items: center;
7
+ height: 32px;
8
+ padding: 0;
9
+ line-height: 32px;
10
+ background-color: @background-color-base;
11
+ border-color: @background-color-base;
12
+ .__select-handle();
13
+
14
+ .biz-event-select {
15
+ border: none !important;
16
+ }
17
+ &.focus {
18
+ border: 1px solid rgba(255, 0, 0, 0);
19
+ box-shadow: 0 0 0 4px @custom-focus;
20
+ .biz-event-select {
21
+ // border: 1px solid #116acc !important;
22
+ }
23
+ }
24
+
25
+ &:hover {
26
+ .biz-event-select {
27
+ border-color: @primary-color;
28
+ }
29
+
30
+ border-color: @primary-color;
31
+ .biz-target-select-option-icon {
32
+ display: inline-block;
33
+ }
34
+ }
35
+ &:focus {
36
+ background-color: #fff;
37
+ .biz-select-handle-input {
38
+ background-color: #fff;
39
+ }
40
+ }
41
+
42
+ .biz-select-handle-input.middle {
43
+ height: 30px;
44
+ line-height: 30px;
45
+ }
46
+ .biz-event-select {
47
+ flex: 1;
48
+ }
49
+
50
+ .biz-event-select-handle {
51
+ flex: none;
52
+ padding: 0;
53
+ border: none;
54
+ &.focus {
55
+ box-shadow: none !important;
56
+ }
57
+ }
58
+
59
+ &-option-icon {
60
+ display: none;
61
+ flex: none;
62
+ width: 16px;
63
+ height: @height-sm;
64
+ margin-right: 4px;
65
+ color: @text-color-secondary;
66
+ line-height: @height-sm;
67
+ text-align: center;
68
+ border-radius: @border-radius-small;
69
+
70
+ &:hover:not(.disabled) {
71
+ .__default-hover;
72
+ }
73
+
74
+ &.disabled {
75
+ .__default-disabled;
76
+ }
77
+ }
78
+
79
+ &-del-icon:hover:not(.disabled) {
80
+ .__error-hover();
81
+ }
82
+
83
+ &-menu {
84
+ width: 200px;
85
+ .__select-panel();
86
+
87
+ &-item {
88
+ .__select-option();
89
+ span:first-child {
90
+ margin-right: 15px;
91
+ }
92
+ }
93
+ }
94
+ &-divider {
95
+ height: 0;
96
+ margin: 8px;
97
+ border-bottom: 1px solid @border-color-base;
98
+ }
99
+
100
+ &-modal {
101
+ position: absolute;
102
+ top: 45px;
103
+ left: 0;
104
+ z-index: 1000;
105
+ width: 100%;
106
+ min-width: 280px;
107
+ .__select-panel();
108
+ }
109
+
110
+ &-tip {
111
+ margin-left: 2px;
112
+ color: #9aa1a9;
113
+ font-size: 12px;
114
+ }
115
+
116
+ &-error {
117
+ color: @error-color;
118
+ }
119
+
120
+ &-footer {
121
+ display: flex;
122
+ justify-content: end;
123
+ &-left {
124
+ margin-right: auto;
125
+ margin-left: 2px;
126
+ color: #116acc;
127
+ font-weight: 400;
128
+ font-size: 12px;
129
+ cursor: pointer;
130
+ }
131
+ .ant-btn {
132
+ }
133
+ :nth-child(2) {
134
+ color: #021429;
135
+ background-color: #f2f3f4;
136
+ }
137
+ }
138
+
139
+ &-mr8 {
140
+ margin-right: @margin-xs;
141
+ }
142
+ }