@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,21 +1,21 @@
1
- @import '~antd/es/style/themes/default.less';
2
-
3
- @border-radius-sx: 2px;
4
- @border-radius-small: 4px;
5
- @border-radius-normal: 8px;
6
- @border-radius-large: 20px;
7
- @option-height: @height-base;
8
- @background-color-gray: #f6f6f6;
9
- @background-color-table: #f2f3f4;
10
-
11
- @icon-width: 24px;
12
-
13
- @shadow-color-light: rgba(0, 0, 0, 0.1);
14
- @box-shadow-small: 0px 1px 2px @shadow-color-light;
15
- @primary-color-hover: color(~`colorPalette('@{primary-color}', 0.1) `);
16
- @box-shadow-form: 0 0 0 4px @primary-color-hover;
17
- @text-color-middle: #9aa1a9;
18
- @custom-background: #fafafb;
19
- @custom-focus: #f0f7ff;
20
- @primary-color: '#116ACC';
21
- @input-placeholder-color: #9797af;
1
+ @import '~antd/es/style/themes/default.less';
2
+
3
+ @border-radius-sx: 2px;
4
+ @border-radius-small: 4px;
5
+ @border-radius-normal: 8px;
6
+ @border-radius-large: 20px;
7
+ @option-height: @height-base;
8
+ @background-color-gray: #f6f6f6;
9
+ @background-color-table: #f2f3f4;
10
+
11
+ @icon-width: 24px;
12
+
13
+ @shadow-color-light: rgba(0, 0, 0, 0.1);
14
+ @box-shadow-small: 0px 1px 2px @shadow-color-light;
15
+ @primary-color-hover: color(~`colorPalette('@{primary-color}', 0.1) `);
16
+ @box-shadow-form: 0 0 0 4px @primary-color-hover;
17
+ @text-color-middle: #9aa1a9;
18
+ @custom-background: #fafafb;
19
+ @custom-focus: #f0f7ff;
20
+ @primary-color: '#116ACC';
21
+ @input-placeholder-color: #9797af;
@@ -1,101 +1,101 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-attr-condition {
3
- gap: 16px !important;
4
- align-items: flex-start !important;
5
- width: 100%;
6
- &-btn-del {
7
- color: #9aa1a9;
8
- font-size: 16px !important;
9
- line-height: 32px;
10
- &:hover {
11
- color: @error-color;
12
- cursor: pointer;
13
- }
14
- }
15
- .biz-attr-select-handle {
16
- width: 184px;
17
- padding: 0;
18
- }
19
- .ant-space-item:nth-of-type(3) {
20
- min-width: 184px;
21
- max-width: calc(100% - 320px);
22
- }
23
- &-group {
24
- display: flex;
25
- flex-direction: row;
26
- .ant-space-item:nth-of-type(3) {
27
- min-width: 184px;
28
- max-width: calc(100% - 380px);
29
- }
30
- &-container {
31
- display: flex;
32
- flex: 1;
33
- flex-direction: column;
34
- gap: 4px;
35
- width: 100%;
36
- max-width: calc(100% + 33px);
37
- margin-left: -33px;
38
- &-item {
39
- padding: 4px 0 4px 48px;
40
- &:hover {
41
- background: #e7f3fe;
42
- }
43
- }
44
- }
45
- &-handle {
46
- position: relative;
47
- width: 1px;
48
- margin-right: 0;
49
- margin-left: 32px;
50
- background: @border-color-base;
51
- }
52
- &-operate {
53
- position: absolute;
54
- top: 50%;
55
- left: 50%;
56
- width: 16px;
57
- transform: translate(-50%, -50%);
58
- }
59
- &-operate-text {
60
- width: 16px;
61
- height: 16px;
62
- span {
63
- display: flex;
64
- align-items: center;
65
- justify-content: center;
66
- width: 100%;
67
- height: 100%;
68
- font-size: 12px;
69
- *font-size: 10px;
70
- transform: scale(0.83, 0.83);
71
- }
72
-
73
- .__default-hover();
74
-
75
- &:first-child {
76
- border-top-left-radius: 3px;
77
- border-top-right-radius: 3px;
78
- }
79
-
80
- &:last-child {
81
- border-bottom-right-radius: 3px;
82
- border-bottom-left-radius: 3px;
83
- }
84
-
85
- &.active {
86
- color: #fff;
87
- background: @primary-color;
88
- }
89
- }
90
- }
91
-
92
- &-column {
93
- position: relative;
94
- display: flex;
95
- flex-direction: column;
96
- }
97
- &-error {
98
- padding-left: 4px;
99
- color: @error-color;
100
- }
101
- }
1
+ @import '../../assets/styles/inner.less';
2
+ .biz-attr-condition {
3
+ gap: 16px !important;
4
+ align-items: flex-start !important;
5
+ width: 100%;
6
+ &-btn-del {
7
+ color: #9aa1a9;
8
+ font-size: 16px !important;
9
+ line-height: 32px;
10
+ &:hover {
11
+ color: @error-color;
12
+ cursor: pointer;
13
+ }
14
+ }
15
+ .biz-attr-select-handle {
16
+ width: 184px;
17
+ padding: 0;
18
+ }
19
+ .ant-space-item:nth-of-type(3) {
20
+ min-width: 184px;
21
+ max-width: calc(100% - 320px);
22
+ }
23
+ &-group {
24
+ display: flex;
25
+ flex-direction: row;
26
+ .ant-space-item:nth-of-type(3) {
27
+ min-width: 184px;
28
+ max-width: calc(100% - 380px);
29
+ }
30
+ &-container {
31
+ display: flex;
32
+ flex: 1;
33
+ flex-direction: column;
34
+ gap: 4px;
35
+ width: 100%;
36
+ max-width: calc(100% + 33px);
37
+ margin-left: -33px;
38
+ &-item {
39
+ padding: 4px 0 4px 48px;
40
+ &:hover {
41
+ background: #e7f3fe;
42
+ }
43
+ }
44
+ }
45
+ &-handle {
46
+ position: relative;
47
+ width: 1px;
48
+ margin-right: 0;
49
+ margin-left: 32px;
50
+ background: @border-color-base;
51
+ }
52
+ &-operate {
53
+ position: absolute;
54
+ top: 50%;
55
+ left: 50%;
56
+ width: 16px;
57
+ transform: translate(-50%, -50%);
58
+ }
59
+ &-operate-text {
60
+ width: 16px;
61
+ height: 16px;
62
+ span {
63
+ display: flex;
64
+ align-items: center;
65
+ justify-content: center;
66
+ width: 100%;
67
+ height: 100%;
68
+ font-size: 12px;
69
+ *font-size: 10px;
70
+ transform: scale(0.83, 0.83);
71
+ }
72
+
73
+ .__default-hover();
74
+
75
+ &:first-child {
76
+ border-top-left-radius: 3px;
77
+ border-top-right-radius: 3px;
78
+ }
79
+
80
+ &:last-child {
81
+ border-bottom-right-radius: 3px;
82
+ border-bottom-left-radius: 3px;
83
+ }
84
+
85
+ &.active {
86
+ color: #fff;
87
+ background: @primary-color;
88
+ }
89
+ }
90
+ }
91
+
92
+ &-column {
93
+ position: relative;
94
+ display: flex;
95
+ flex-direction: column;
96
+ }
97
+ &-error {
98
+ padding-left: 4px;
99
+ color: @error-color;
100
+ }
101
+ }
@@ -1,7 +1,4 @@
1
1
  import React from 'react';
2
2
  import { AttributeSelect } from './types';
3
- type FCWithDefaultProps<P> = React.FC<P> & {
4
- defaultProps?: Partial<P>;
5
- };
6
- declare const AttrListPanel: FCWithDefaultProps<AttributeSelect.Props>;
3
+ declare const AttrListPanel: React.FC<AttributeSelect.Props>;
7
4
  export default AttrListPanel;