@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,33 +1,33 @@
1
- @import '../../assets/styles/variable.less';
2
- .biz-user-condition {
3
- width: 100%;
4
- min-width: 0;
5
- &-conditions-content {
6
- display: flex;
7
- .biz-user-condition-and-conditions-wrap {
8
- flex: 1;
9
- margin-bottom: @margin-lg;
10
- &.text-mode {
11
- display: flex;
12
- flex-wrap: wrap;
13
- min-width: 0;
14
- margin-bottom: 0;
15
- line-height: 32px;
16
- border: none;
17
- .biz-user-condition-and-desc {
18
- margin: 0 @margin-xs;
19
- }
20
- }
21
- }
22
- .biz-user-condition-and-conditions-empty {
23
- margin-bottom: 0;
24
- }
25
- }
26
- &-tip {
27
- margin-top: @margin-lg;
28
- color: @warning-color;
29
- span {
30
- margin-right: @margin-xs;
31
- }
32
- }
33
- }
1
+ @import '../../assets/styles/variable.less';
2
+ .biz-user-condition {
3
+ width: 100%;
4
+ min-width: 0;
5
+ &-conditions-content {
6
+ display: flex;
7
+ .biz-user-condition-and-conditions-wrap {
8
+ flex: 1;
9
+ margin-bottom: @margin-lg;
10
+ &.text-mode {
11
+ display: flex;
12
+ flex-wrap: wrap;
13
+ min-width: 0;
14
+ margin-bottom: 0;
15
+ line-height: 32px;
16
+ border: none;
17
+ .biz-user-condition-and-desc {
18
+ margin: 0 @margin-xs;
19
+ }
20
+ }
21
+ }
22
+ .biz-user-condition-and-conditions-empty {
23
+ margin-bottom: 0;
24
+ }
25
+ }
26
+ &-tip {
27
+ margin-top: @margin-lg;
28
+ color: @warning-color;
29
+ span {
30
+ margin-right: @margin-xs;
31
+ }
32
+ }
33
+ }
@@ -1,34 +1,34 @@
1
- @import '../../assets/styles/variable.less';
2
- .biz-user-condition-or {
3
- &:not(:last-child) {
4
- margin-bottom: @margin-lg;
5
- }
6
- &.text-mode {
7
- display: flex;
8
- min-width: 0;
9
- // align-items: center;
10
- margin-bottom: 0;
11
- .biz-user-condition-or-content {
12
- margin-bottom: 0;
13
- border: none;
14
- .biz-user-condition-conditions {
15
- padding: 0;
16
- }
17
- }
18
- }
19
- &-content {
20
- display: flex;
21
- width: 100%;
22
-
23
- background: #ffffff;
24
- border: 1px solid @border-color-base;
25
- border-radius: @border-radius-small;
26
- &:not(:last-child) {
27
- margin-bottom: @margin-md;
28
- }
29
- .biz-user-condition-conditions {
30
- flex: 1;
31
- padding: @padding-xs @padding-md 0 0;
32
- }
33
- }
34
- }
1
+ @import '../../assets/styles/variable.less';
2
+ .biz-user-condition-or {
3
+ &:not(:last-child) {
4
+ margin-bottom: @margin-lg;
5
+ }
6
+ &.text-mode {
7
+ display: flex;
8
+ min-width: 0;
9
+ // align-items: center;
10
+ margin-bottom: 0;
11
+ .biz-user-condition-or-content {
12
+ margin-bottom: 0;
13
+ border: none;
14
+ .biz-user-condition-conditions {
15
+ padding: 0;
16
+ }
17
+ }
18
+ }
19
+ &-content {
20
+ display: flex;
21
+ width: 100%;
22
+
23
+ background: #ffffff;
24
+ border: 1px solid @border-color-base;
25
+ border-radius: @border-radius-small;
26
+ &:not(:last-child) {
27
+ margin-bottom: @margin-md;
28
+ }
29
+ .biz-user-condition-conditions {
30
+ flex: 1;
31
+ padding: @padding-xs @padding-md 0 0;
32
+ }
33
+ }
34
+ }
@@ -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: @border-color-split;
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: @border-color-split;
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,145 +1,145 @@
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
-
9
- &-handle {
10
- .__select-handle();
11
- display: flex;
12
- flex-direction: row;
13
- align-items: center;
14
- width: 100%;
15
- min-height: @height-base;
16
- padding: 4px 4px 4px 12px;
17
- &:hover {
18
- .biz-user-group-del {
19
- display: inline-block;
20
- }
21
- }
22
- }
23
- &-placeholder {
24
- flex: 1;
25
- color: @input-placeholder-color;
26
- pointer-events: none;
27
- }
28
- &-val {
29
- flex: 1;
30
- overflow: hidden;
31
- text-overflow: ellipsis;
32
- }
33
- &-handle-tags {
34
- display: flex;
35
- flex: 1;
36
- flex-wrap: wrap;
37
- gap: 4px 8px;
38
-
39
- &-item.ant-tag {
40
- margin: 0;
41
- padding: 0 4px;
42
- }
43
- }
44
- &-arrow {
45
- flex: none;
46
- margin-left: 8px;
47
- color: @text-color-secondary;
48
- &.open {
49
- transform: rotate(180deg);
50
- }
51
- }
52
- &-del {
53
- display: none;
54
- flex: none;
55
- width: 16px;
56
- max-height: 24px;
57
- margin-left: 6px;
58
- text-align: center;
59
- border-radius: @border-radius-small;
60
- &:hover {
61
- color: #fb5547;
62
- background-color: #feddda;
63
- }
64
- &.disabled {
65
- color: @disabled-color;
66
- cursor: not-allowed;
67
- &:hover {
68
- background-color: transparent;
69
- }
70
- }
71
- }
72
- &-overlay {
73
- .__select-panel();
74
- display: flex;
75
- flex-direction: row;
76
- height: auto;
77
- }
78
- &-typelist {
79
- width: 104px;
80
- padding-right: @padding-xs;
81
- border-right: 1px solid @border-color-split;
82
- }
83
- &-option {
84
- .__select-option();
85
- }
86
- &-tags {
87
- padding: 0;
88
- box-shadow: none !important;
89
- }
90
- &-grouplist {
91
- display: flex;
92
- flex-direction: column;
93
- padding-left: @padding-xs;
94
- }
95
- &-grouplist-no {
96
- display: flex;
97
- flex-direction: column;
98
- }
99
- &-top {
100
- flex: none;
101
- margin-bottom: @margin-xs;
102
- }
103
- &-add .bsicon {
104
- margin-right: @margin-xs;
105
- }
106
- &-divider {
107
- position: relative;
108
- flex: none;
109
- height: 0;
110
- margin-top: @margin-xs;
111
- overflow: visible;
112
- border-top: 1px solid @border-color-split;
113
- & > span {
114
- position: absolute;
115
- top: -12px;
116
- left: 0;
117
- display: inline-block;
118
- padding: 0 5px 0 12px;
119
- background-color: #fff;
120
- }
121
- &::after {
122
- position: absolute;
123
- top: -8px;
124
- left: 4px;
125
- display: inline-block;
126
- width: 3px;
127
- height: 14px;
128
- background-color: @primary-color;
129
- border-radius: 10px;
130
- content: '';
131
- }
132
- }
133
- &-list {
134
- flex: 1;
135
- max-height: 320px;
136
- overflow: auto;
137
- }
138
- &-item {
139
- .__select-option();
140
- }
141
- &-empty {
142
- .__select-nodata();
143
- flex: none;
144
- }
145
- }
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
+
9
+ &-handle {
10
+ .__select-handle();
11
+ display: flex;
12
+ flex-direction: row;
13
+ align-items: center;
14
+ width: 100%;
15
+ min-height: @height-base;
16
+ padding: 4px 4px 4px 12px;
17
+ &:hover {
18
+ .biz-user-group-del {
19
+ display: inline-block;
20
+ }
21
+ }
22
+ }
23
+ &-placeholder {
24
+ flex: 1;
25
+ color: @input-placeholder-color;
26
+ pointer-events: none;
27
+ }
28
+ &-val {
29
+ flex: 1;
30
+ overflow: hidden;
31
+ text-overflow: ellipsis;
32
+ }
33
+ &-handle-tags {
34
+ display: flex;
35
+ flex: 1;
36
+ flex-wrap: wrap;
37
+ gap: 4px 8px;
38
+
39
+ &-item.ant-tag {
40
+ margin: 0;
41
+ padding: 0 4px;
42
+ }
43
+ }
44
+ &-arrow {
45
+ flex: none;
46
+ margin-left: 8px;
47
+ color: @text-color-secondary;
48
+ &.open {
49
+ transform: rotate(180deg);
50
+ }
51
+ }
52
+ &-del {
53
+ display: none;
54
+ flex: none;
55
+ width: 16px;
56
+ max-height: 24px;
57
+ margin-left: 6px;
58
+ text-align: center;
59
+ border-radius: @border-radius-small;
60
+ &:hover {
61
+ color: #fb5547;
62
+ background-color: #feddda;
63
+ }
64
+ &.disabled {
65
+ color: @disabled-color;
66
+ cursor: not-allowed;
67
+ &:hover {
68
+ background-color: transparent;
69
+ }
70
+ }
71
+ }
72
+ &-overlay {
73
+ .__select-panel();
74
+ display: flex;
75
+ flex-direction: row;
76
+ height: auto;
77
+ }
78
+ &-typelist {
79
+ width: 104px;
80
+ padding-right: @padding-xs;
81
+ border-right: 1px solid @border-color-split;
82
+ }
83
+ &-option {
84
+ .__select-option();
85
+ }
86
+ &-tags {
87
+ padding: 0;
88
+ box-shadow: none !important;
89
+ }
90
+ &-grouplist {
91
+ display: flex;
92
+ flex-direction: column;
93
+ padding-left: @padding-xs;
94
+ }
95
+ &-grouplist-no {
96
+ display: flex;
97
+ flex-direction: column;
98
+ }
99
+ &-top {
100
+ flex: none;
101
+ margin-bottom: @margin-xs;
102
+ }
103
+ &-add .bsicon {
104
+ margin-right: @margin-xs;
105
+ }
106
+ &-divider {
107
+ position: relative;
108
+ flex: none;
109
+ height: 0;
110
+ margin-top: @margin-xs;
111
+ overflow: visible;
112
+ border-top: 1px solid @border-color-split;
113
+ & > span {
114
+ position: absolute;
115
+ top: -12px;
116
+ left: 0;
117
+ display: inline-block;
118
+ padding: 0 5px 0 12px;
119
+ background-color: #fff;
120
+ }
121
+ &::after {
122
+ position: absolute;
123
+ top: -8px;
124
+ left: 4px;
125
+ display: inline-block;
126
+ width: 3px;
127
+ height: 14px;
128
+ background-color: @primary-color;
129
+ border-radius: 10px;
130
+ content: '';
131
+ }
132
+ }
133
+ &-list {
134
+ flex: 1;
135
+ max-height: 320px;
136
+ overflow: auto;
137
+ }
138
+ &-item {
139
+ .__select-option();
140
+ }
141
+ &-empty {
142
+ .__select-nodata();
143
+ flex: none;
144
+ }
145
+ }
@@ -1,31 +1,31 @@
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
- width: 100%;
25
- padding: @padding-xss @padding-lg;
26
-
27
- &:hover {
28
- background: #e8efff;
29
- }
30
- }
31
- }
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
+ width: 100%;
25
+ padding: @padding-xss @padding-lg;
26
+
27
+ &:hover {
28
+ background: #e8efff;
29
+ }
30
+ }
31
+ }
@@ -36,7 +36,8 @@ var CascaderOverlay = function CascaderOverlay(props) {
36
36
  labelFields = props.labelFields,
37
37
  keyFields = props.keyFields,
38
38
  valueFields = props.valueFields,
39
- childFields = props.childFields;
39
+ childFields = props.childFields,
40
+ isOpenLayer = props.isOpenLayer;
40
41
  var timer = useRef(null);
41
42
  var _useState = useState(''),
42
43
  _useState2 = _slicedToArray(_useState, 2),
@@ -162,7 +163,8 @@ var CascaderOverlay = function CascaderOverlay(props) {
162
163
  labelGroup: currentSelect,
163
164
  pageNo: pageNo,
164
165
  pageSize: 20,
165
- labelName: highlightText
166
+ labelName: highlightText,
167
+ isOpenLayer: isOpenLayer
166
168
  }
167
169
  }).then(function (res) {
168
170
  if ((res === null || res === void 0 ? void 0 : res.data) && res.data.results) {
@@ -209,7 +211,7 @@ var CascaderOverlay = function CascaderOverlay(props) {
209
211
  }
210
212
  function onClickTag(data) {
211
213
  setCurrentTag(data);
212
- if ((data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.firstAndLastUpdate || (data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.fundingSource || (data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.eventPreference || (data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.sqlCreateTable) {
214
+ if ((data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.firstAndLastUpdate || (data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.fundingSource || (data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.eventPreference || (data === null || data === void 0 ? void 0 : data.labelCreateType) === LabelCreateType.sqlCreateTable || !isOpenLayer) {
213
215
  var newValue = [{
214
216
  id: groupMap[currentSelect].id,
215
217
  labelGroup: currentSelect
@@ -230,7 +232,11 @@ var CascaderOverlay = function CascaderOverlay(props) {
230
232
  });
231
233
  if (_index === -1) {
232
234
  if (currentValue.length >= 20) return;
233
- props.onChange([].concat(_toConsumableArray(currentValue), [newValue]));
235
+ if (isOpenLayer) {
236
+ props.onChange([].concat(_toConsumableArray(currentValue), [newValue]));
237
+ } else {
238
+ props.onChange([newValue]);
239
+ }
234
240
  } else {
235
241
  currentValue.splice(_index, 1);
236
242
  props.onChange(_toConsumableArray(currentValue));
@@ -269,7 +275,7 @@ var CascaderOverlay = function CascaderOverlay(props) {
269
275
  getTagsByGroup(Math.floor(groupMap[currentSelect].children.length / 20) + 1);
270
276
  },
271
277
  onClick: onClickTag
272
- }) : /*#__PURE__*/React.createElement("span", null, "\u6682\u65E0\u6570\u636E")), currentTag && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.firstAndLastUpdate && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.fundingSource && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.eventPreference && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.sqlCreateTable && /*#__PURE__*/React.createElement("div", {
278
+ }) : /*#__PURE__*/React.createElement("span", null, "\u6682\u65E0\u6570\u636E")), isOpenLayer && currentTag && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.firstAndLastUpdate && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.fundingSource && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.eventPreference && (currentTag === null || currentTag === void 0 ? void 0 : currentTag.labelCreateType) !== LabelCreateType.sqlCreateTable && /*#__PURE__*/React.createElement("div", {
273
279
  className: "".concat(classPrefix, "-overlay-selections")
274
280
  }, /*#__PURE__*/React.createElement(MultipleCheckPanel, {
275
281
  valueField: valueFields[2],
@@ -299,6 +305,7 @@ CascaderOverlay.defaultProps = {
299
305
  childFields: ['children', 'layers'],
300
306
  keyFields: ['labelGroup', 'id', 'layerLabelId'],
301
307
  labelFields: ['labelGroup', 'labelName', 'layerLabelName'],
302
- valueFields: ['labelGroup', 'id', 'layerLabelId']
308
+ valueFields: ['labelGroup', 'id', 'layerLabelId'],
309
+ isOpenLayer: true
303
310
  };
304
311
  export default CascaderOverlay;
@@ -1,6 +1,6 @@
1
- @import '../../../assets/styles/variable.less';
2
- .biz-user-tags-selector {
3
- &-drop-panel-search {
4
- margin-bottom: @margin-xs;
5
- }
6
- }
1
+ @import '../../../assets/styles/variable.less';
2
+ .biz-user-tags-selector {
3
+ &-drop-panel-search {
4
+ margin-bottom: @margin-xs;
5
+ }
6
+ }
@@ -1,13 +1,13 @@
1
- @import '../../../assets/styles/variable.less';
2
- .biz-user-tags-selector {
3
- &-list-container {
4
- max-height: 360px;
5
- overflow: auto;
6
- }
7
- &-list-container-loading {
8
- display: flex;
9
- align-items: center;
10
- justify-content: center;
11
- height: 40px;
12
- }
13
- }
1
+ @import '../../../assets/styles/variable.less';
2
+ .biz-user-tags-selector {
3
+ &-list-container {
4
+ max-height: 360px;
5
+ overflow: auto;
6
+ }
7
+ &-list-container-loading {
8
+ display: flex;
9
+ align-items: center;
10
+ justify-content: center;
11
+ height: 40px;
12
+ }
13
+ }
@@ -49,6 +49,7 @@ export default (function () {
49
49
  keyFields: ['labelGroup', 'id', 'layerLabelId'],
50
50
  labelFields: ['labelGroup', 'labelName', 'layerLabelName'],
51
51
  valueFields: ['labelGroup', 'id', 'layerLabelId'],
52
+ isOpenLayer: false,
52
53
  onChange: onChange
53
54
  })));
54
55
  });