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

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 (40) 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/demoWrapper/content.js +3 -9
  16. package/es/eventSelector/styles/index.less +127 -127
  17. package/es/formulaTarget/components/formula/index.less +76 -76
  18. package/es/hooks/useBizStore.js +3 -9
  19. package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
  20. package/es/layout/optionTitle/styles/layout.less +90 -90
  21. package/es/platformSelector/styles/index.less +26 -26
  22. package/es/productCondition/conditions/styles/periodCondition.less +26 -26
  23. package/es/productCondition/styles/conditionTypeList.less +32 -32
  24. package/es/productCondition/styles/relationLabel.less +19 -19
  25. package/es/quickDatePicker/styles/index.less +141 -141
  26. package/es/select/styles/handle.less +206 -206
  27. package/es/targetSelector/styles/index.less +142 -142
  28. package/es/userCondition/conditions/styles/eventCondition.less +71 -71
  29. package/es/userCondition/conditions/styles/periodCondition.less +32 -32
  30. package/es/userCondition/conditions/styles/textDesc.less +16 -16
  31. package/es/userCondition/styles/conditionTypeList.less +32 -32
  32. package/es/userCondition/styles/relationLabel.less +19 -19
  33. package/es/userGroup/styles/index.less +199 -199
  34. package/es/userGroupHeader/styles/index.less +50 -50
  35. package/es/userTagsSelector/styles/index.less +20 -20
  36. package/es/utils/eventApi.d.ts +14 -0
  37. package/es/utils/eventApi.js +128 -0
  38. package/es/utils/index.d.ts +2 -1
  39. package/es/utils/index.js +2 -1
  40. package/package.json +2 -2
@@ -1,199 +1,199 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-user-group {
4
- position: relative;
5
- width: 100%;
6
- min-width: 208px;
7
- color: @text-color;
8
- &-handle {
9
- .__select-handle();
10
- display: flex;
11
- flex-direction: row;
12
- align-items: center;
13
- width: 100%;
14
- min-height: @height-base;
15
- padding: 4px 4px 4px 12px;
16
- &:hover {
17
- .biz-user-group-del {
18
- display: inline-block;
19
- }
20
- }
21
- &-errortext {
22
- display: flex;
23
- gap: 2px;
24
- align-items: center;
25
- color: #fb5547;
26
- font-size: 12px;
27
- border-radius: 4px;
28
- > div {
29
- border: 1px solid #fb5547;
30
- }
31
- .bsicon {
32
- margin-left: 4px;
33
- font-size: 12px;
34
- }
35
- }
36
- }
37
- &-handle.errortext {
38
- border: 1px solid #fb5547;
39
- border-radius: 4px;
40
- .biz-user-group-val {
41
- color: #fb5547;
42
- }
43
- }
44
- &-placeholder {
45
- flex: 1;
46
- color: @input-placeholder-color;
47
- pointer-events: none;
48
- }
49
- &-val {
50
- flex: 1;
51
- overflow: hidden;
52
- text-overflow: ellipsis;
53
- }
54
- &-errorState-2,
55
- &-errorState-3,
56
- &-errorState-4 {
57
- color: #fb5547 !important;
58
- }
59
- &-handle-tags {
60
- display: flex;
61
- flex: 1;
62
- flex-wrap: wrap;
63
- gap: 4px 8px;
64
-
65
- &-item.ant-tag {
66
- margin: 0;
67
- padding: 0 4px;
68
- }
69
- }
70
- &-arrow {
71
- flex: none;
72
- margin-left: 8px;
73
- color: @text-color-secondary;
74
- &.open {
75
- transform: rotate(180deg);
76
- }
77
- }
78
- &-del {
79
- display: none;
80
- flex: none;
81
- width: 16px;
82
- max-height: 24px;
83
- margin-left: 6px;
84
- text-align: center;
85
- border-radius: @border-radius-small;
86
- &:hover {
87
- color: #fb5547;
88
- background-color: #feddda;
89
- }
90
- &.disabled {
91
- color: @disabled-color;
92
- cursor: not-allowed;
93
- &:hover {
94
- background-color: transparent;
95
- }
96
- }
97
- }
98
- &-overlay {
99
- .__select-panel();
100
- display: flex;
101
- flex-direction: row;
102
- height: auto;
103
- }
104
- &-typelist {
105
- width: 104px;
106
- padding-right: @padding-xs;
107
- border-right: 1px solid @border-color-split;
108
- }
109
- &-option {
110
- .__select-option();
111
- }
112
- &-tags {
113
- padding: 0;
114
- box-shadow: none !important;
115
- }
116
- &-grouplist {
117
- display: flex;
118
- flex-direction: column;
119
- padding-left: @padding-xs;
120
- }
121
- &-grouplist-no {
122
- display: flex;
123
- flex-direction: column;
124
- }
125
- &-top {
126
- flex: none;
127
- margin-bottom: @margin-xs;
128
- }
129
- &-add .bsicon {
130
- margin-right: @margin-xs;
131
- }
132
- &-divider {
133
- position: relative;
134
- flex: none;
135
- height: 0;
136
- margin-top: @margin-xs;
137
- overflow: visible;
138
- border-top: 1px solid @border-color-split;
139
- & > span {
140
- position: absolute;
141
- top: -12px;
142
- left: 0;
143
- display: inline-block;
144
- padding: 0 5px 0 12px;
145
- background-color: #fff;
146
- }
147
- &::after {
148
- position: absolute;
149
- top: -8px;
150
- left: 4px;
151
- display: inline-block;
152
- width: 3px;
153
- height: 14px;
154
- background-color: @primary-color;
155
- border-radius: 10px;
156
- content: '';
157
- }
158
- }
159
- &-list {
160
- flex: 1;
161
- max-height: 320px;
162
- overflow: auto;
163
- }
164
- &-item {
165
- .__select-option();
166
- }
167
- &-item.disable:not(.active) {
168
- color: #9aa1a9 !important;
169
- cursor: not-allowed !important;
170
- user-select: none !important;
171
- }
172
- &-empty {
173
- .__select-nodata();
174
- flex: none;
175
- }
176
- .state-2,
177
- .state-3,
178
- .state-4 {
179
- color: #fb5547;
180
- border-color: #feddda;
181
- .ant-tag-close-icon {
182
- color: #fb5547 !important;
183
- }
184
- &:not(.disable) {
185
- &:hover {
186
- color: #fb5547;
187
- border-color: #feddda;
188
- }
189
- }
190
- }
191
- }
192
- .biz-user-group.errortext {
193
- color: #fb5547;
194
- border-radius: 4px;
195
- .biz-user-group-handle {
196
- border: 1px solid #fb5547;
197
- border-radius: 4px;
198
- }
199
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-user-group {
4
+ position: relative;
5
+ width: 100%;
6
+ min-width: 208px;
7
+ color: @text-color;
8
+ &-handle {
9
+ .__select-handle();
10
+ display: flex;
11
+ flex-direction: row;
12
+ align-items: center;
13
+ width: 100%;
14
+ min-height: @height-base;
15
+ padding: 4px 4px 4px 12px;
16
+ &:hover {
17
+ .biz-user-group-del {
18
+ display: inline-block;
19
+ }
20
+ }
21
+ &-errortext {
22
+ display: flex;
23
+ gap: 2px;
24
+ align-items: center;
25
+ color: #fb5547;
26
+ font-size: 12px;
27
+ border-radius: 4px;
28
+ > div {
29
+ border: 1px solid #fb5547;
30
+ }
31
+ .bsicon {
32
+ margin-left: 4px;
33
+ font-size: 12px;
34
+ }
35
+ }
36
+ }
37
+ &-handle.errortext {
38
+ border: 1px solid #fb5547;
39
+ border-radius: 4px;
40
+ .biz-user-group-val {
41
+ color: #fb5547;
42
+ }
43
+ }
44
+ &-placeholder {
45
+ flex: 1;
46
+ color: @input-placeholder-color;
47
+ pointer-events: none;
48
+ }
49
+ &-val {
50
+ flex: 1;
51
+ overflow: hidden;
52
+ text-overflow: ellipsis;
53
+ }
54
+ &-errorState-2,
55
+ &-errorState-3,
56
+ &-errorState-4 {
57
+ color: #fb5547 !important;
58
+ }
59
+ &-handle-tags {
60
+ display: flex;
61
+ flex: 1;
62
+ flex-wrap: wrap;
63
+ gap: 4px 8px;
64
+
65
+ &-item.ant-tag {
66
+ margin: 0;
67
+ padding: 0 4px;
68
+ }
69
+ }
70
+ &-arrow {
71
+ flex: none;
72
+ margin-left: 8px;
73
+ color: @text-color-secondary;
74
+ &.open {
75
+ transform: rotate(180deg);
76
+ }
77
+ }
78
+ &-del {
79
+ display: none;
80
+ flex: none;
81
+ width: 16px;
82
+ max-height: 24px;
83
+ margin-left: 6px;
84
+ text-align: center;
85
+ border-radius: @border-radius-small;
86
+ &:hover {
87
+ color: #fb5547;
88
+ background-color: #feddda;
89
+ }
90
+ &.disabled {
91
+ color: @disabled-color;
92
+ cursor: not-allowed;
93
+ &:hover {
94
+ background-color: transparent;
95
+ }
96
+ }
97
+ }
98
+ &-overlay {
99
+ .__select-panel();
100
+ display: flex;
101
+ flex-direction: row;
102
+ height: auto;
103
+ }
104
+ &-typelist {
105
+ width: 104px;
106
+ padding-right: @padding-xs;
107
+ border-right: 1px solid @border-color-split;
108
+ }
109
+ &-option {
110
+ .__select-option();
111
+ }
112
+ &-tags {
113
+ padding: 0;
114
+ box-shadow: none !important;
115
+ }
116
+ &-grouplist {
117
+ display: flex;
118
+ flex-direction: column;
119
+ padding-left: @padding-xs;
120
+ }
121
+ &-grouplist-no {
122
+ display: flex;
123
+ flex-direction: column;
124
+ }
125
+ &-top {
126
+ flex: none;
127
+ margin-bottom: @margin-xs;
128
+ }
129
+ &-add .bsicon {
130
+ margin-right: @margin-xs;
131
+ }
132
+ &-divider {
133
+ position: relative;
134
+ flex: none;
135
+ height: 0;
136
+ margin-top: @margin-xs;
137
+ overflow: visible;
138
+ border-top: 1px solid @border-color-split;
139
+ & > span {
140
+ position: absolute;
141
+ top: -12px;
142
+ left: 0;
143
+ display: inline-block;
144
+ padding: 0 5px 0 12px;
145
+ background-color: #fff;
146
+ }
147
+ &::after {
148
+ position: absolute;
149
+ top: -8px;
150
+ left: 4px;
151
+ display: inline-block;
152
+ width: 3px;
153
+ height: 14px;
154
+ background-color: @primary-color;
155
+ border-radius: 10px;
156
+ content: '';
157
+ }
158
+ }
159
+ &-list {
160
+ flex: 1;
161
+ max-height: 320px;
162
+ overflow: auto;
163
+ }
164
+ &-item {
165
+ .__select-option();
166
+ }
167
+ &-item.disable:not(.active) {
168
+ color: #9aa1a9 !important;
169
+ cursor: not-allowed !important;
170
+ user-select: none !important;
171
+ }
172
+ &-empty {
173
+ .__select-nodata();
174
+ flex: none;
175
+ }
176
+ .state-2,
177
+ .state-3,
178
+ .state-4 {
179
+ color: #fb5547;
180
+ border-color: #feddda;
181
+ .ant-tag-close-icon {
182
+ color: #fb5547 !important;
183
+ }
184
+ &:not(.disable) {
185
+ &:hover {
186
+ color: #fb5547;
187
+ border-color: #feddda;
188
+ }
189
+ }
190
+ }
191
+ }
192
+ .biz-user-group.errortext {
193
+ color: #fb5547;
194
+ border-radius: 4px;
195
+ .biz-user-group-handle {
196
+ border: 1px solid #fb5547;
197
+ border-radius: 4px;
198
+ }
199
+ }
@@ -1,50 +1,50 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-user-group-header {
3
- background: #fff;
4
- &-title {
5
- height: 20px;
6
- margin-bottom: @margin-xs;
7
- padding-left: @padding-lg;
8
- color: @text-color-secondary;
9
- font-weight: 500;
10
- }
11
-
12
- &-add {
13
- color: @primary-color;
14
- font-size: 20px !important;
15
- cursor: pointer;
16
- &.disabled {
17
- display: none;
18
- }
19
- }
20
- .biz-user {
21
- width: 208px;
22
- }
23
- &-container {
24
- align-items: flex-start !important;
25
- width: 100%;
26
- padding: @padding-xss @padding-lg;
27
- &:hover {
28
- background: #e7f3fe;
29
- }
30
- }
31
- &-handle-errortext {
32
- display: flex;
33
- gap: 2px;
34
- align-items: center;
35
- color: #fb5547;
36
- font-size: 12px;
37
- .bsicon {
38
- margin-left: 4px;
39
- font-size: 13px;
40
- }
41
- }
42
- &-confirm {
43
- .anticon {
44
- display: none;
45
- }
46
- .ant-modal-confirm-content {
47
- margin-left: 0 !important;
48
- }
49
- }
50
- }
1
+ @import '../../assets/styles/inner.less';
2
+ .biz-user-group-header {
3
+ background: #fff;
4
+ &-title {
5
+ height: 20px;
6
+ margin-bottom: @margin-xs;
7
+ padding-left: @padding-lg;
8
+ color: @text-color-secondary;
9
+ font-weight: 500;
10
+ }
11
+
12
+ &-add {
13
+ color: @primary-color;
14
+ font-size: 20px !important;
15
+ cursor: pointer;
16
+ &.disabled {
17
+ display: none;
18
+ }
19
+ }
20
+ .biz-user {
21
+ width: 208px;
22
+ }
23
+ &-container {
24
+ align-items: flex-start !important;
25
+ width: 100%;
26
+ padding: @padding-xss @padding-lg;
27
+ &:hover {
28
+ background: #e7f3fe;
29
+ }
30
+ }
31
+ &-handle-errortext {
32
+ display: flex;
33
+ gap: 2px;
34
+ align-items: center;
35
+ color: #fb5547;
36
+ font-size: 12px;
37
+ .bsicon {
38
+ margin-left: 4px;
39
+ font-size: 13px;
40
+ }
41
+ }
42
+ &-confirm {
43
+ .anticon {
44
+ display: none;
45
+ }
46
+ .ant-modal-confirm-content {
47
+ margin-left: 0 !important;
48
+ }
49
+ }
50
+ }
@@ -1,20 +1,20 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-user-tags-selector {
3
- > .ant-dropdown-trigger.biz-user-tags-selector-handle {
4
- > .biz-select-handle-input-multiple {
5
- .ant-input.biz-select-handle-search {
6
- height: auto !important;
7
- }
8
- }
9
- }
10
- &-handle-errortext {
11
- display: flex;
12
- gap: 2px;
13
- align-items: center;
14
- color: #fb5547;
15
- font-size: 12px;
16
- .bsicon {
17
- font-size: 14px;
18
- }
19
- }
20
- }
1
+ @import '../../assets/styles/inner.less';
2
+ .biz-user-tags-selector {
3
+ > .ant-dropdown-trigger.biz-user-tags-selector-handle {
4
+ > .biz-select-handle-input-multiple {
5
+ .ant-input.biz-select-handle-search {
6
+ height: auto !important;
7
+ }
8
+ }
9
+ }
10
+ &-handle-errortext {
11
+ display: flex;
12
+ gap: 2px;
13
+ align-items: center;
14
+ color: #fb5547;
15
+ font-size: 12px;
16
+ .bsicon {
17
+ font-size: 14px;
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,14 @@
1
+ export declare function fetchAllEvents(appId: string | number | undefined, platform?: number, isAll?: boolean): Promise<{}>;
2
+ export declare function fetchEventAttrs(eventId: number, appId: string | number | undefined): Promise<{
3
+ alias: any;
4
+ eventId: number;
5
+ id: any;
6
+ isHidden: any;
7
+ key: string;
8
+ label: any;
9
+ propCategory: "eventProp";
10
+ type: any;
11
+ realTime: boolean;
12
+ dimensionSub: any;
13
+ }[]>;
14
+ export declare function fetchEventAttrByAttrId(attrId: string | number | undefined): Promise<{}>;