@zgfe/business-lib 1.2.58-ljy.0 → 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.
Files changed (137) hide show
  1. package/README.md +12 -12
  2. package/config.js +41 -41
  3. package/es/AUMFormulaTarget/components/formula/index.less +86 -82
  4. package/es/AUMFormulaTarget/components/formulaItem/index.js +52 -13
  5. package/es/AUMFormulaTarget/components/panel/index.less +269 -269
  6. package/es/AUMFormulaTarget/components/symbol/index.less +49 -49
  7. package/es/AUMFormulaTarget/demo/index.js +1 -1
  8. package/es/AUMFormulaTarget/styles/index.less +74 -74
  9. package/es/addToPanel/styles/addPanel.less +25 -25
  10. package/es/addToPanel/styles/index.less +17 -17
  11. package/es/addToPanel/styles/style.less +66 -66
  12. package/es/addToScene/styles/index.less +30 -30
  13. package/es/assets/colorIcon/demo.css +539 -539
  14. package/es/assets/colorIcon/demo_index.html +1454 -1454
  15. package/es/assets/colorIcon/iconfont.css +236 -236
  16. package/es/assets/colorIcon/iconfont.json +394 -394
  17. package/es/assets/colorIcon/iconfont.svg +129 -129
  18. package/es/assets/iconfont/demo.css +539 -539
  19. package/es/assets/iconfont/demo_index.html +5363 -5363
  20. package/es/assets/iconfont/iconfont.css +915 -915
  21. package/es/assets/iconfont/iconfont.json +1584 -1584
  22. package/es/assets/images/attention.png +0 -0
  23. package/es/assets/styles/chunks.less +183 -183
  24. package/es/assets/styles/inner.less +3 -3
  25. package/es/assets/styles/resetAntd.less +551 -551
  26. package/es/assets/styles/variable.less +21 -21
  27. package/es/attrCondition/group.js +5 -2
  28. package/es/attrCondition/index.js +6 -2
  29. package/es/attrCondition/styles/index.less +101 -101
  30. package/es/attrConditions/components/stringList.d.ts +10 -0
  31. package/es/attrConditions/components/stringList.js +57 -27
  32. package/es/attrConditions/components/valuesList.d.ts +10 -0
  33. package/es/attrConditions/components/valuesList.js +6 -2
  34. package/es/attrConditions/styles/group.less +49 -49
  35. package/es/attrConditions/styles/index.less +151 -151
  36. package/es/attrConditions/types.d.ts +17 -0
  37. package/es/attributeSelector/index.js +6 -2
  38. package/es/attributeSelector/listPanel.js +6 -2
  39. package/es/attributeSelector/styles/index.less +141 -141
  40. package/es/attributeSelector/types.d.ts +2 -0
  41. package/es/chart/demo/index.js +2 -3
  42. package/es/chart/styles/index.less +113 -113
  43. package/es/chart/util/data/china.js +17 -17
  44. package/es/chart/util/formatOption.js +1 -1
  45. package/es/constants/apis.d.ts +3 -0
  46. package/es/constants/apis.js +4 -1
  47. package/es/cycleTime/styles/index.less +24 -24
  48. package/es/cycleTime/styles/month.less +95 -95
  49. package/es/dataSetGroup/styles/index.less +146 -146
  50. package/es/datePicker/styles/index.less +53 -53
  51. package/es/datePickerV2/styles/index.less +194 -194
  52. package/es/demoWrapper/index.less +3 -3
  53. package/es/dialog/styles/index.less +22 -22
  54. package/es/dnd/styles/index.less +19 -19
  55. package/es/empty/demo/index.d.ts +4 -0
  56. package/es/empty/demo/index.js +16 -0
  57. package/es/empty/index.d.ts +4 -0
  58. package/es/empty/index.js +19 -0
  59. package/es/empty/types.d.ts +7 -0
  60. package/es/empty/types.js +1 -0
  61. package/es/eventSelector/styles/index.less +123 -123
  62. package/es/formulaTarget/components/formula/index.less +76 -76
  63. package/es/formulaTarget/components/panel/index.less +139 -139
  64. package/es/formulaTarget/components/symbol/index.less +49 -49
  65. package/es/formulaTarget/styles/index.less +74 -74
  66. package/es/hooks/types/subject.d.ts +14 -14
  67. package/es/hooks/useBizStore.d.ts +4 -2
  68. package/es/hooks/useBizStore.js +16 -15
  69. package/es/icon/demo/list.less +32 -32
  70. package/es/index.d.ts +3 -1
  71. package/es/index.js +3 -1
  72. package/es/layout/analysisLayout/demo/index.less +12 -12
  73. package/es/layout/analysisLayout/index.less +118 -118
  74. package/es/layout/columnLayout/demo/index.less +15 -15
  75. package/es/layout/columnLayout/index.less +81 -81
  76. package/es/layout/detail/index.less +27 -27
  77. package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
  78. package/es/layout/optionTitle/demo/index.less +12 -12
  79. package/es/loading/styles/index.less +20 -20
  80. package/es/loginForm/index.less +7 -7
  81. package/es/platformSelector/index.js +42 -9
  82. package/es/platformSelector/styles/index.less +26 -22
  83. package/es/platformSelector/util.d.ts +1 -1
  84. package/es/platformSelector/util.js +8 -1
  85. package/es/productCondition/conditions/styles/cdpCondition.less +31 -31
  86. package/es/productCondition/conditions/styles/cdpCshCondition.less +41 -41
  87. package/es/productCondition/conditions/styles/eventCondition.less +51 -51
  88. package/es/productCondition/conditions/styles/periodCondition.less +26 -26
  89. package/es/productCondition/conditions/styles/propCondition.less +43 -43
  90. package/es/productCondition/conditions/styles/runTimesCondition.less +19 -19
  91. package/es/productCondition/conditions/styles/tagsCondition.less +20 -20
  92. package/es/productCondition/conditions/styles/textDesc.less +17 -17
  93. package/es/productCondition/styles/conditionTypeList.less +30 -30
  94. package/es/productCondition/styles/conditionWrap.less +18 -18
  95. package/es/productCondition/styles/index.less +33 -33
  96. package/es/productCondition/styles/orConditions.less +34 -34
  97. package/es/productCondition/styles/relationLabel.less +19 -19
  98. package/es/quickDatePicker/styles/index.less +138 -138
  99. package/es/select/styles/handle.less +193 -193
  100. package/es/select/styles/index.less +129 -129
  101. package/es/socket/demo/index.less +27 -27
  102. package/es/table/styles/index.less +5 -5
  103. package/es/targetConditionGroup/demo/styles/index.less +29 -29
  104. package/es/targetConditionGroup/index.js +5 -4
  105. package/es/targetConditionGroup/styles/index.less +53 -53
  106. package/es/targetSelector/styles/index.less +110 -110
  107. package/es/userCondition/conditionTypeList.js +1 -10
  108. package/es/userCondition/conditions/businessCondition.js +3 -10
  109. package/es/userCondition/conditions/eventCondition.js +36 -4
  110. package/es/userCondition/conditions/styles/cdpCondition.less +37 -37
  111. package/es/userCondition/conditions/styles/cdpCshCondition.less +47 -47
  112. package/es/userCondition/conditions/styles/eventCondition.less +57 -51
  113. package/es/userCondition/conditions/styles/periodCondition.less +26 -26
  114. package/es/userCondition/conditions/styles/propCondition.less +43 -43
  115. package/es/userCondition/conditions/styles/runTimesCondition.less +19 -19
  116. package/es/userCondition/conditions/styles/tagsCondition.less +20 -20
  117. package/es/userCondition/conditions/styles/textDesc.less +17 -17
  118. package/es/userCondition/conditions/textDesc.js +1 -24
  119. package/es/userCondition/orConditions.js +0 -7
  120. package/es/userCondition/styles/conditionTypeList.less +30 -30
  121. package/es/userCondition/styles/conditionWrap.less +18 -18
  122. package/es/userCondition/styles/index.less +33 -33
  123. package/es/userCondition/styles/orConditions.less +34 -34
  124. package/es/userCondition/styles/relationLabel.less +19 -19
  125. package/es/userGroup/styles/index.less +145 -145
  126. package/es/userGroupHeader/styles/index.less +31 -31
  127. package/es/userTagsSelector/cascaderOverlay.js +13 -6
  128. package/es/userTagsSelector/components/search/index.less +6 -6
  129. package/es/userTagsSelector/components/tagList/index.less +13 -13
  130. package/es/userTagsSelector/demo/index.js +1 -0
  131. package/es/userTagsSelector/groups/styles/option.less +55 -55
  132. package/es/userTagsSelector/index.js +6 -3
  133. package/es/userTagsSelector/multipleCheckPanel/styles/option.less +40 -40
  134. package/es/userTagsSelector/styles/cascaderOverlay.less +34 -34
  135. package/es/userTagsSelector/styles/index.less +10 -10
  136. package/es/userTagsSelector/types.d.ts +2 -0
  137. package/package.json +62 -62
@@ -1,151 +1,151 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- /* 筛选条件 */
4
- .biz-condition-item {
5
- &-panel {
6
- display: flex;
7
- width: 100%;
8
- > :nth-child(1) {
9
- margin-right: 8px;
10
- }
11
-
12
- .biz-condition-item-multi-select {
13
- width: calc(100% - 108px);
14
- min-width: 100px;
15
- }
16
-
17
- .biz-condition-item-multi-select-empty {
18
- // width: calc(100% - 108px);
19
- flex: 1;
20
-
21
- .biz-condition-item-multi-select {
22
- width: 100%;
23
- }
24
- }
25
- }
26
-
27
- &:not(:last-child) {
28
- margin-bottom: 8px;
29
- }
30
-
31
- /* 覆盖属性组件样式 */
32
- /* --- start --- */
33
- .biz-attr-select-handle {
34
- width: 100%;
35
- max-width: 100%;
36
- margin-bottom: 2px;
37
- padding: 0;
38
- }
39
-
40
- .biz-attr-select-del-icon {
41
- background-color: #fff;
42
-
43
- &:hover {
44
- .__error-hover();
45
- }
46
- }
47
-
48
- // 自定义下拉框样式
49
- .biz-select-handle-input {
50
- background-color: @background-color-base;
51
- // border: none;
52
- }
53
-
54
- /* --- end --- */
55
-
56
- &-multi-select {
57
- flex: 1;
58
- }
59
- &-nplace {
60
- .ant-space-item:nth-of-type(3) {
61
- min-width: 60px !important;
62
- .ant-input-number {
63
- width: 60px;
64
- background-color: #fafafb;
65
- border-radius: 4px;
66
- }
67
- }
68
- &-text {
69
- white-space: nowrap;
70
- }
71
- }
72
-
73
- &-single-select {
74
- width: 100px;
75
- &.gray {
76
- color: @text-color-secondary;
77
-
78
- &:hover {
79
- color: @primary-color;
80
- }
81
- }
82
- }
83
-
84
- &-value-content {
85
- display: flex;
86
- flex: 1;
87
-
88
- .biz-select-handle {
89
- margin-left: @margin-xs;
90
- }
91
- }
92
-
93
- &-input {
94
- &.ant-input {
95
- background-color: @background-color-base;
96
- border-color: @background-color-base;
97
- }
98
-
99
- &.ant-input-affix-wrapper {
100
- background-color: @background-color-base !important;
101
-
102
- input {
103
- background-color: @background-color-base !important;
104
- }
105
-
106
- &.ant-input-affix-wrapper-focused {
107
- background-color: #fff !important;
108
- border: 1px solid @primary-color;
109
-
110
- input {
111
- background-color: #fff !important;
112
- }
113
- }
114
- }
115
-
116
- &:focus {
117
- border: 1px solid @primary-color;
118
- }
119
-
120
- .ant-input-group-addon {
121
- // background-color: @background-color-gray !important;
122
- border: none;
123
- }
124
-
125
- &-select {
126
- width: 60px;
127
- border: none;
128
- // border-left: 1px solid @border-color-split;
129
- }
130
- }
131
-
132
- &-date.ant-picker {
133
- flex: 1;
134
- border-color: transparent;
135
-
136
- &.ant-picker {
137
- background-color: @background-color-base;
138
-
139
- &:hover {
140
- background-color: @background-color-base;
141
- border-color: @primary-color;
142
- }
143
-
144
- &.ant-picker-focused {
145
- background-color: @background-color-base;
146
- border-color: @primary-color;
147
- box-shadow: @box-shadow-base;
148
- }
149
- }
150
- }
151
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ /* 筛选条件 */
4
+ .biz-condition-item {
5
+ &-panel {
6
+ display: flex;
7
+ width: 100%;
8
+ > :nth-child(1) {
9
+ margin-right: 8px;
10
+ }
11
+
12
+ .biz-condition-item-multi-select {
13
+ width: calc(100% - 108px);
14
+ min-width: 100px;
15
+ }
16
+
17
+ .biz-condition-item-multi-select-empty {
18
+ // width: calc(100% - 108px);
19
+ flex: 1;
20
+
21
+ .biz-condition-item-multi-select {
22
+ width: 100%;
23
+ }
24
+ }
25
+ }
26
+
27
+ &:not(:last-child) {
28
+ margin-bottom: 8px;
29
+ }
30
+
31
+ /* 覆盖属性组件样式 */
32
+ /* --- start --- */
33
+ .biz-attr-select-handle {
34
+ width: 100%;
35
+ max-width: 100%;
36
+ margin-bottom: 2px;
37
+ padding: 0;
38
+ }
39
+
40
+ .biz-attr-select-del-icon {
41
+ background-color: #fff;
42
+
43
+ &:hover {
44
+ .__error-hover();
45
+ }
46
+ }
47
+
48
+ // 自定义下拉框样式
49
+ .biz-select-handle-input {
50
+ background-color: @background-color-base;
51
+ // border: none;
52
+ }
53
+
54
+ /* --- end --- */
55
+
56
+ &-multi-select {
57
+ flex: 1;
58
+ }
59
+ &-nplace {
60
+ .ant-space-item:nth-of-type(3) {
61
+ min-width: 60px !important;
62
+ .ant-input-number {
63
+ width: 60px;
64
+ background-color: #fafafb;
65
+ border-radius: 4px;
66
+ }
67
+ }
68
+ &-text {
69
+ white-space: nowrap;
70
+ }
71
+ }
72
+
73
+ &-single-select {
74
+ width: 100px;
75
+ &.gray {
76
+ color: @text-color-secondary;
77
+
78
+ &:hover {
79
+ color: @primary-color;
80
+ }
81
+ }
82
+ }
83
+
84
+ &-value-content {
85
+ display: flex;
86
+ flex: 1;
87
+
88
+ .biz-select-handle {
89
+ margin-left: @margin-xs;
90
+ }
91
+ }
92
+
93
+ &-input {
94
+ &.ant-input {
95
+ background-color: @background-color-base;
96
+ border-color: @background-color-base;
97
+ }
98
+
99
+ &.ant-input-affix-wrapper {
100
+ background-color: @background-color-base !important;
101
+
102
+ input {
103
+ background-color: @background-color-base !important;
104
+ }
105
+
106
+ &.ant-input-affix-wrapper-focused {
107
+ background-color: #fff !important;
108
+ border: 1px solid @primary-color;
109
+
110
+ input {
111
+ background-color: #fff !important;
112
+ }
113
+ }
114
+ }
115
+
116
+ &:focus {
117
+ border: 1px solid @primary-color;
118
+ }
119
+
120
+ .ant-input-group-addon {
121
+ // background-color: @background-color-gray !important;
122
+ border: none;
123
+ }
124
+
125
+ &-select {
126
+ width: 60px;
127
+ border: none;
128
+ // border-left: 1px solid @border-color-split;
129
+ }
130
+ }
131
+
132
+ &-date.ant-picker {
133
+ flex: 1;
134
+ border-color: transparent;
135
+
136
+ &.ant-picker {
137
+ background-color: @background-color-base;
138
+
139
+ &:hover {
140
+ background-color: @background-color-base;
141
+ border-color: @primary-color;
142
+ }
143
+
144
+ &.ant-picker-focused {
145
+ background-color: @background-color-base;
146
+ border-color: @primary-color;
147
+ box-shadow: @box-shadow-base;
148
+ }
149
+ }
150
+ }
151
+ }
@@ -38,6 +38,15 @@ export declare namespace AttrConditionTypes {
38
38
  destroyPopupOnHide?: boolean;
39
39
  overlayClassName?: string;
40
40
  supportNPlace?: boolean;
41
+ relationSup?: GroupAddKey;
42
+ relationConfig?: {
43
+ eventId: number;
44
+ eventName: string;
45
+ eventAttrIdSup: number;
46
+ eventAttrNameSup: string;
47
+ eventAttrIdSub: number;
48
+ eventAttrNameSub: string;
49
+ }[];
41
50
  }
42
51
  interface GroupProp extends BasicAttrTypes {
43
52
  defaultValue?: GroupValue;
@@ -47,6 +56,14 @@ export declare namespace AttrConditionTypes {
47
56
  onChange?: (value: GroupValue) => void;
48
57
  onConditionsCount?: (value: number) => void;
49
58
  overlayClassName?: string;
59
+ relationConfig?: {
60
+ eventId: number;
61
+ eventName: string;
62
+ eventAttrIdSup: number;
63
+ eventAttrNameSup: string;
64
+ eventAttrIdSub: number;
65
+ eventAttrNameSub: string;
66
+ }[];
50
67
  }
51
68
  interface Option {
52
69
  name: string;
@@ -25,7 +25,9 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
25
25
  extra = props.extra,
26
26
  isNumber = props.isNumber,
27
27
  overlayClassName = props.overlayClassName,
28
- isStrNum = props.isStrNum;
28
+ isStrNum = props.isStrNum,
29
+ isString = props.isString,
30
+ isHideYeWu = props.isHideYeWu;
29
31
  var _useState = useState(),
30
32
  _useState2 = _slicedToArray(_useState, 2),
31
33
  currentAttr = _useState2[0],
@@ -107,7 +109,9 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
107
109
  value: currentAttr,
108
110
  onChange: onChange,
109
111
  isNumber: isNumber,
110
- isStrNum: isStrNum
112
+ isStrNum: isStrNum,
113
+ isString: isString,
114
+ isHideYeWu: isHideYeWu
111
115
  }));
112
116
  },
113
117
  trigger: ['click'],
@@ -25,7 +25,9 @@ var AttrListPanel = function AttrListPanel(props) {
25
25
  funnelEventIdList = props.funnelEventIdList,
26
26
  extra = props.extra,
27
27
  isNumber = props.isNumber,
28
- isStrNum = props.isStrNum;
28
+ isStrNum = props.isStrNum,
29
+ isString = props.isString,
30
+ isHideYeWu = props.isHideYeWu;
29
31
  var _useState = useState(''),
30
32
  _useState2 = _slicedToArray(_useState, 2),
31
33
  searchValue = _useState2[0],
@@ -160,7 +162,9 @@ var AttrListPanel = function AttrListPanel(props) {
160
162
  anchor: hasAnchor ? String(Math.random()) : anchor.event,
161
163
  key: "event-".concat(event.id),
162
164
  children: event.attrList.slice().filter(function (item) {
163
- return isStrNum ? item.type === 2 || item.type === 1 : isNumber ? item.type === 2 : true;
165
+ return isHideYeWu ? item.id != 31415926 : true;
166
+ }).filter(function (item) {
167
+ return isStrNum ? item.type === 2 || item.type === 1 : isNumber ? item.type === 2 : isString ? item.type === 1 : true;
164
168
  })
165
169
  };
166
170
  list.push(group);
@@ -1,141 +1,141 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-attr-select {
4
- &-handle {
5
- display: flex;
6
- flex-direction: row;
7
- align-items: center;
8
- width: fit-content;
9
- min-width: 208px;
10
- .__select-handle();
11
- &.error {
12
- border-color: @error-color;
13
- &.focus {
14
- box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2);
15
- }
16
- }
17
-
18
- &:hover {
19
- .biz-target-select-option-icon {
20
- display: flex;
21
- align-items: center;
22
- justify-content: center;
23
- }
24
- }
25
-
26
- .biz-select-handle-input {
27
- border: none;
28
- &.middle {
29
- height: 32px;
30
- line-height: 32px;
31
- }
32
- }
33
- .biz-select-handle-content-label {
34
- max-width: 450px;
35
- }
36
- }
37
-
38
- &-drowdown {
39
- .__select-panel();
40
-
41
- &.nodata {
42
- .__select-nodata();
43
- }
44
- }
45
-
46
- &-anchor-panel {
47
- max-width: 496px;
48
- padding: 12px 0;
49
-
50
- .ant-anchor {
51
- display: flex;
52
- flex-direction: row;
53
-
54
- .ant-anchor-ink::before {
55
- width: 0;
56
- }
57
-
58
- .ant-anchor-link {
59
- padding: 0;
60
-
61
- &:last-of-type .ant-btn {
62
- margin-right: 0;
63
- }
64
- }
65
-
66
- .ant-btn {
67
- margin-right: 8px;
68
- }
69
-
70
- .ant-anchor-link-active .ant-btn {
71
- &,
72
- &:focus {
73
- .__default-hover();
74
- }
75
- }
76
-
77
- .ant-btn:focus {
78
- color: @text-color;
79
- border-color: @border-color-base;
80
- }
81
- }
82
- }
83
-
84
- &-container {
85
- max-height: 224px;
86
- overflow-x: hidden;
87
- overflow-y: auto;
88
- }
89
-
90
- &-nodata {
91
- .__select-nodata();
92
- }
93
-
94
- &-group {
95
- position: relative;
96
- height: 32px;
97
- padding: 0 @padding-sm;
98
- color: @text-color-secondary;
99
- line-height: 32px;
100
-
101
- &::before {
102
- position: absolute;
103
- top: 9px;
104
- left: 5px;
105
- width: 3px;
106
- height: 14px;
107
- background-color: @primary-color;
108
- border-radius: 10px;
109
- content: '';
110
- }
111
-
112
- & > span {
113
- position: relative;
114
- display: inline-block;
115
- max-width: 225px;
116
- padding-right: @padding-xss;
117
- background: #fff;
118
- .__default-overflow();
119
- }
120
- }
121
-
122
- &-split {
123
- position: absolute;
124
- top: 18px;
125
- width: 100%;
126
- height: 0;
127
- border-bottom: 1px solid @border-color-base;
128
- }
129
-
130
- &-option {
131
- .__select-option();
132
-
133
- &:not(.active, :hover, .disabled) .biz-attr-select-highlight {
134
- color: @primary-color;
135
- }
136
- }
137
-
138
- &-option-icon {
139
- margin-right: @margin-xs;
140
- }
141
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-attr-select {
4
+ &-handle {
5
+ display: flex;
6
+ flex-direction: row;
7
+ align-items: center;
8
+ width: fit-content;
9
+ min-width: 208px;
10
+ .__select-handle();
11
+ &.error {
12
+ border-color: @error-color;
13
+ &.focus {
14
+ box-shadow: 0 0 0 2px rgba(251, 85, 71, 0.2);
15
+ }
16
+ }
17
+
18
+ &:hover {
19
+ .biz-target-select-option-icon {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ }
24
+ }
25
+
26
+ .biz-select-handle-input {
27
+ border: none;
28
+ &.middle {
29
+ height: 32px;
30
+ line-height: 32px;
31
+ }
32
+ }
33
+ .biz-select-handle-content-label {
34
+ max-width: 450px;
35
+ }
36
+ }
37
+
38
+ &-drowdown {
39
+ .__select-panel();
40
+
41
+ &.nodata {
42
+ .__select-nodata();
43
+ }
44
+ }
45
+
46
+ &-anchor-panel {
47
+ max-width: 496px;
48
+ padding: 12px 0;
49
+
50
+ .ant-anchor {
51
+ display: flex;
52
+ flex-direction: row;
53
+
54
+ .ant-anchor-ink::before {
55
+ width: 0;
56
+ }
57
+
58
+ .ant-anchor-link {
59
+ padding: 0;
60
+
61
+ &:last-of-type .ant-btn {
62
+ margin-right: 0;
63
+ }
64
+ }
65
+
66
+ .ant-btn {
67
+ margin-right: 8px;
68
+ }
69
+
70
+ .ant-anchor-link-active .ant-btn {
71
+ &,
72
+ &:focus {
73
+ .__default-hover();
74
+ }
75
+ }
76
+
77
+ .ant-btn:focus {
78
+ color: @text-color;
79
+ border-color: @border-color-base;
80
+ }
81
+ }
82
+ }
83
+
84
+ &-container {
85
+ max-height: 224px;
86
+ overflow-x: hidden;
87
+ overflow-y: auto;
88
+ }
89
+
90
+ &-nodata {
91
+ .__select-nodata();
92
+ }
93
+
94
+ &-group {
95
+ position: relative;
96
+ height: 32px;
97
+ padding: 0 @padding-sm;
98
+ color: @text-color-secondary;
99
+ line-height: 32px;
100
+
101
+ &::before {
102
+ position: absolute;
103
+ top: 9px;
104
+ left: 5px;
105
+ width: 3px;
106
+ height: 14px;
107
+ background-color: @primary-color;
108
+ border-radius: 10px;
109
+ content: '';
110
+ }
111
+
112
+ & > span {
113
+ position: relative;
114
+ display: inline-block;
115
+ max-width: 225px;
116
+ padding-right: @padding-xss;
117
+ background: #fff;
118
+ .__default-overflow();
119
+ }
120
+ }
121
+
122
+ &-split {
123
+ position: absolute;
124
+ top: 18px;
125
+ width: 100%;
126
+ height: 0;
127
+ border-bottom: 1px solid @border-color-base;
128
+ }
129
+
130
+ &-option {
131
+ .__select-option();
132
+
133
+ &:not(.active, :hover, .disabled) .biz-attr-select-highlight {
134
+ color: @primary-color;
135
+ }
136
+ }
137
+
138
+ &-option-icon {
139
+ margin-right: @margin-xs;
140
+ }
141
+ }
@@ -98,6 +98,8 @@ export declare namespace AttributeSelect {
98
98
  extra?: AttributeExtra[];
99
99
  isNumber?: Boolean;
100
100
  isStrNum?: Boolean;
101
+ isString?: Boolean;
102
+ isHideYeWu?: Boolean;
101
103
  }
102
104
  interface AttributeExtra {
103
105
  type: string;
@@ -6,7 +6,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React, { useRef, useState } from 'react';
8
8
  import { BizChart } from '@zgfe/business-lib';
9
- import chartData, { showCharts } from './data/data';
9
+ import chartData from './data/data';
10
10
  import { Button, Image } from 'antd';
11
11
  export default (function () {
12
12
  var chartRef = useRef();
@@ -30,8 +30,7 @@ export default (function () {
30
30
  data: chartData,
31
31
  type: "line",
32
32
  legendPosition: "bottom",
33
- ref: chartRef,
34
- showList: show ? showCharts : []
33
+ ref: chartRef
35
34
  }), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Button, {
36
35
  onClick: onClick
37
36
  }, "\u83B7\u53D6\u56FE\u8868\u56FE\u7247"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(Image, {