@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,113 +1,113 @@
1
- @import '../../assets/styles/variable.less';
2
-
3
- .biz-chart-tooltip {
4
- max-height: 324px;
5
- overflow: auto;
6
- border-radius: 10px !important;
7
-
8
- .biz-chart-tooltip-title {
9
- margin-bottom: @margin-xss;
10
- color: @text-color;
11
- font-weight: 600;
12
- font-size: @font-size-sm;
13
- line-height: 17px;
14
- }
15
-
16
- .biz-chart-tooltip-item {
17
- display: flex;
18
- align-items: center;
19
- justify-content: space-between;
20
- min-height: @height-sm;
21
- padding: 0px @padding-xs;
22
- font-size: @font-size-sm;
23
- background: @white;
24
- border-radius: @border-radius-small;
25
- box-shadow: @box-shadow-small;
26
- &:not(:last-child) {
27
- margin-bottom: @margin-xss;
28
- }
29
-
30
- .biz-chart-tooltip-content {
31
- display: flex;
32
- align-items: center;
33
- color: @text-color-secondary;
34
-
35
- .biz-tooltip-marker {
36
- width: 8px;
37
- height: 8px;
38
- margin-right: @margin-xs;
39
- border-radius: 50%;
40
- }
41
- .biz-tooltip-order {
42
- display: flex;
43
- align-items: center;
44
- justify-content: center;
45
- width: 12.8px;
46
- height: 12.8px;
47
- margin-right: @margin-xs;
48
- color: #fff;
49
- font-weight: 500;
50
- font-size: 8.96px;
51
- background: #457dff;
52
- border-radius: 50%;
53
- }
54
- .biz-tooltip-name {
55
- max-width: 300px;
56
- white-space: pre-wrap;
57
- word-wrap: break-word;
58
- word-break: break-all;
59
- }
60
- }
61
-
62
- .biz-chart-tooltip-value {
63
- margin-left: @margin-xs;
64
- color: @text-color;
65
- font-weight: 500;
66
- }
67
- }
68
-
69
- .biz-chart-tooltip-item-new {
70
- min-height: @height-sm;
71
- margin-bottom: 4px;
72
- padding: 0px @padding-xs;
73
- font-size: @font-size-sm;
74
- background: @white;
75
- border-radius: @border-radius-small;
76
- box-shadow: @box-shadow-small;
77
- .biz-chart-tooltip-content {
78
- display: flex;
79
- align-items: center;
80
- color: @text-color-secondary;
81
-
82
- .biz-tooltip-marker {
83
- width: 8px;
84
- height: 8px;
85
- margin-right: @margin-xs;
86
- border-radius: 50%;
87
- }
88
- .biz-tooltip-order {
89
- display: flex;
90
- align-items: center;
91
- justify-content: center;
92
- width: 12.8px;
93
- height: 12.8px;
94
- margin-right: @margin-xs;
95
- color: #fff;
96
- font-weight: 500;
97
- font-size: 8.96px;
98
- background: #457dff;
99
- border-radius: 50%;
100
- }
101
- .biz-tooltip-name {
102
- max-width: 300px;
103
- white-space: pre-wrap;
104
- word-wrap: break-word;
105
- word-break: break-all;
106
- }
107
- }
108
- &-value {
109
- font-weight: 700;
110
- // font-size: 14px;
111
- }
112
- }
113
- }
1
+ @import '../../assets/styles/variable.less';
2
+
3
+ .biz-chart-tooltip {
4
+ max-height: 324px;
5
+ overflow: auto;
6
+ border-radius: 10px !important;
7
+
8
+ .biz-chart-tooltip-title {
9
+ margin-bottom: @margin-xss;
10
+ color: @text-color;
11
+ font-weight: 600;
12
+ font-size: @font-size-sm;
13
+ line-height: 17px;
14
+ }
15
+
16
+ .biz-chart-tooltip-item {
17
+ display: flex;
18
+ align-items: center;
19
+ justify-content: space-between;
20
+ min-height: @height-sm;
21
+ padding: 0px @padding-xs;
22
+ font-size: @font-size-sm;
23
+ background: @white;
24
+ border-radius: @border-radius-small;
25
+ box-shadow: @box-shadow-small;
26
+ &:not(:last-child) {
27
+ margin-bottom: @margin-xss;
28
+ }
29
+
30
+ .biz-chart-tooltip-content {
31
+ display: flex;
32
+ align-items: center;
33
+ color: @text-color-secondary;
34
+
35
+ .biz-tooltip-marker {
36
+ width: 8px;
37
+ height: 8px;
38
+ margin-right: @margin-xs;
39
+ border-radius: 50%;
40
+ }
41
+ .biz-tooltip-order {
42
+ display: flex;
43
+ align-items: center;
44
+ justify-content: center;
45
+ width: 12.8px;
46
+ height: 12.8px;
47
+ margin-right: @margin-xs;
48
+ color: #fff;
49
+ font-weight: 500;
50
+ font-size: 8.96px;
51
+ background: #457dff;
52
+ border-radius: 50%;
53
+ }
54
+ .biz-tooltip-name {
55
+ max-width: 300px;
56
+ white-space: pre-wrap;
57
+ word-wrap: break-word;
58
+ word-break: break-all;
59
+ }
60
+ }
61
+
62
+ .biz-chart-tooltip-value {
63
+ margin-left: @margin-xs;
64
+ color: @text-color;
65
+ font-weight: 500;
66
+ }
67
+ }
68
+
69
+ .biz-chart-tooltip-item-new {
70
+ min-height: @height-sm;
71
+ margin-bottom: 4px;
72
+ padding: 0px @padding-xs;
73
+ font-size: @font-size-sm;
74
+ background: @white;
75
+ border-radius: @border-radius-small;
76
+ box-shadow: @box-shadow-small;
77
+ .biz-chart-tooltip-content {
78
+ display: flex;
79
+ align-items: center;
80
+ color: @text-color-secondary;
81
+
82
+ .biz-tooltip-marker {
83
+ width: 8px;
84
+ height: 8px;
85
+ margin-right: @margin-xs;
86
+ border-radius: 50%;
87
+ }
88
+ .biz-tooltip-order {
89
+ display: flex;
90
+ align-items: center;
91
+ justify-content: center;
92
+ width: 12.8px;
93
+ height: 12.8px;
94
+ margin-right: @margin-xs;
95
+ color: #fff;
96
+ font-weight: 500;
97
+ font-size: 8.96px;
98
+ background: #457dff;
99
+ border-radius: 50%;
100
+ }
101
+ .biz-tooltip-name {
102
+ max-width: 300px;
103
+ white-space: pre-wrap;
104
+ word-wrap: break-word;
105
+ word-break: break-all;
106
+ }
107
+ }
108
+ &-value {
109
+ font-weight: 700;
110
+ // font-size: 14px;
111
+ }
112
+ }
113
+ }
@@ -1,21 +1,21 @@
1
1
  function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- /*
3
- * Licensed to the Apache Software Foundation (ASF) under one
4
- * or more contributor license agreements. See the NOTICE file
5
- * distributed with this work for additional information
6
- * regarding copyright ownership. The ASF licenses this file
7
- * to you under the Apache License, Version 2.0 (the
8
- * "License"); you may not use this file except in compliance
9
- * with the License. You may obtain a copy of the License at
10
- *
11
- * http://www.apache.org/licenses/LICENSE-2.0
12
- *
13
- * Unless required by applicable law or agreed to in writing,
14
- * software distributed under the License is distributed on an
15
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
- * KIND, either express or implied. See the License for the
17
- * specific language governing permissions and limitations
18
- * under the License.
2
+ /*
3
+ * Licensed to the Apache Software Foundation (ASF) under one
4
+ * or more contributor license agreements. See the NOTICE file
5
+ * distributed with this work for additional information
6
+ * regarding copyright ownership. The ASF licenses this file
7
+ * to you under the Apache License, Version 2.0 (the
8
+ * "License"); you may not use this file except in compliance
9
+ * with the License. You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing,
14
+ * software distributed under the License is distributed on an
15
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16
+ * KIND, either express or implied. See the License for the
17
+ * specific language governing permissions and limitations
18
+ * under the License.
19
19
  */
20
20
 
21
21
  (function (root, factory) {
@@ -43,7 +43,7 @@ var tooltipFormatterDefault = function tooltipFormatterDefault(params, resultFor
43
43
  var nameArr = name.split('|:|');
44
44
  name = nameArr[0];
45
45
  var orderNum = nameArr[1];
46
- if (item.minValues === null && item.maxValues === null) {
46
+ if (item.minValues === null && item.maxValues === null || item.minValues === undefined && item.maxValues === undefined) {
47
47
  htmlArray.push("<div class=\"biz-chart-tooltip-item\">\n <div class=\"biz-chart-tooltip-content\">\n <span class=\"".concat(orderNum ? 'biz-tooltip-order' : 'biz-tooltip-marker', "\" style=\"background:").concat(item.color, "\">").concat(orderNum || '', "</span>\n <div class=\"biz-tooltip-name\">").concat(name, "</div>\n </div> \n <span class=\"biz-chart-tooltip-value\">").concat(lineLabel, "</span>\n </div>"));
48
48
  } else {
49
49
  htmlArray.push("<div class=\"biz-chart-tooltip-item-new\">\n <div class=\"biz-chart-tooltip-content\">\n <span class=\"".concat(orderNum ? 'biz-tooltip-order' : 'biz-tooltip-marker', "\" style=\"background:").concat(item.color, "\">").concat(orderNum || '', "</span>\n <div class=\"biz-tooltip-name\">").concat(name, "</div>\n </div> \n <div>\n <div>\n <span>\u9884\u6D4B\u503C\uFF1A</span>\n <span class=\"biz-chart-tooltip-item-new-value\">").concat(lineLabel, "</span>\n </div>\n <div>\n <span>\u9884\u6D4B\u6700\u5927\u503C\uFF1A</span>\n <span class=\"biz-chart-tooltip-item-new-value\">").concat(maxValues, "</span>\n </div>\n <div>\n <span>\u9884\u6D4B\u6700\u5C0F\u503C\uFF1A</span>\n <span class=\"biz-chart-tooltip-item-new-value\">").concat(minValues, "</span>\n </div>\n </div>\n </div>"));
@@ -26,5 +26,8 @@ declare const Apis: {
26
26
  queryPanels: string;
27
27
  queryMetaDatasetList: string;
28
28
  queryDatasetTableNames: string;
29
+ queryPlatformList: string;
30
+ queryRelationResult: string;
31
+ queryEventRemoved: string;
29
32
  };
30
33
  export default Apis;
@@ -25,6 +25,9 @@ var Apis = {
25
25
  querySubjectList: '/zg/web/v2/analysisSubject/queryAllSubject',
26
26
  queryPanels: '/zg/web/v2/apppanel/panels',
27
27
  queryMetaDatasetList: '/zg/web/v2/meta/dataset/list',
28
- queryDatasetTableNames: '/zg/web/cdp/dataset/manager/datasetList'
28
+ queryDatasetTableNames: '/zg/web/cdp/dataset/manager/datasetList',
29
+ queryPlatformList: '/zg/web/v2/data/dynamicPlatformByAppid',
30
+ queryRelationResult: '/zg/web/v2/event/queryRelationResult',
31
+ queryEventRemoved: '/zg/web/v2/event/queryEventRemoved'
29
32
  };
30
33
  export default Apis;
@@ -1,24 +1,24 @@
1
- @import '../../assets//styles/inner.less';
2
- .biz-cycle-time {
3
- display: flex;
4
- gap: 12px;
5
- &-unit {
6
- width: 129px;
7
- }
8
- &-day {
9
- width: 280px;
10
- vertical-align: top;
11
- &.multi {
12
- width: 470px;
13
- }
14
- }
15
- &-unit,
16
- &-day,
17
- &-hour {
18
- display: inline-block;
19
- }
20
- &-hour {
21
- width: 220px;
22
- vertical-align: top;
23
- }
24
- }
1
+ @import '../../assets//styles/inner.less';
2
+ .biz-cycle-time {
3
+ display: flex;
4
+ gap: 12px;
5
+ &-unit {
6
+ width: 129px;
7
+ }
8
+ &-day {
9
+ width: 280px;
10
+ vertical-align: top;
11
+ &.multi {
12
+ width: 470px;
13
+ }
14
+ }
15
+ &-unit,
16
+ &-day,
17
+ &-hour {
18
+ display: inline-block;
19
+ }
20
+ &-hour {
21
+ width: 220px;
22
+ vertical-align: top;
23
+ }
24
+ }
@@ -1,95 +1,95 @@
1
- @import '../../assets//styles/inner.less';
2
- .biz-month-day {
3
- &-handle {
4
- .__select-default();
5
- display: flex;
6
- flex-direction: row;
7
- width: 280px;
8
- padding: @padding-xss - 1 @padding-xss 0 @padding-xss;
9
- white-space: break-spaces;
10
- &.large {
11
- min-height: @height-lg;
12
- }
13
- &.middle {
14
- min-height: @height-base;
15
- }
16
- &.small {
17
- min-height: @height-sm;
18
- }
19
- .bsicon {
20
- flex: none;
21
- }
22
- &.holder {
23
- padding: 0 @padding-xs;
24
- &.large {
25
- line-height: @height-lg;
26
- }
27
- &.middle {
28
- line-height: @height-base;
29
- }
30
- &.small {
31
- line-height: @height-sm;
32
- }
33
- }
34
- }
35
- &-holder {
36
- color: @input-placeholder-color;
37
- }
38
-
39
- &-status-error:not(.disable) {
40
- border-color: @error-color;
41
- &.biz-month-day-handle:hover {
42
- border-color: @error-color;
43
- }
44
- }
45
- &-val {
46
- flex: 1;
47
- .ant-tag {
48
- margin-bottom: @margin-xss;
49
- }
50
- }
51
- &-wrapper {
52
- display: inline-block;
53
- vertical-align: top;
54
- &.ant-dropdown-open > .biz-month-day-handle {
55
- .__default-focused();
56
- &.biz-month-day-status-error:not(.disable) {
57
- border-color: @error-color;
58
- box-shadow: 0 0 0 4px rgba(#ff8170, 0.2) !important;
59
- }
60
- }
61
- .biz-month-day-handle {
62
- &.disable {
63
- cursor: not-allowed !important;
64
- .ant-tag {
65
- color: @disabled-color;
66
- .anticon-close {
67
- color: @disabled-color;
68
- cursor: not-allowed;
69
- }
70
- }
71
- }
72
- }
73
- }
74
- &-overlay {
75
- .__select-panel();
76
- width: 280px;
77
- padding: @padding-xss @padding-md;
78
- word-break: break-all;
79
- }
80
- &-day {
81
- .__select-option();
82
- display: inline-block;
83
- width: 30px;
84
- height: 30px;
85
- margin: 0 @margin-xss + 1 @margin-xss 0;
86
- padding: 0;
87
- line-height: 30px;
88
- text-align: center;
89
- border-radius: 100%;
90
- &.lastday {
91
- color: @primary-color;
92
- font-size: @font-size-sm;
93
- }
94
- }
95
- }
1
+ @import '../../assets//styles/inner.less';
2
+ .biz-month-day {
3
+ &-handle {
4
+ .__select-default();
5
+ display: flex;
6
+ flex-direction: row;
7
+ width: 280px;
8
+ padding: @padding-xss - 1 @padding-xss 0 @padding-xss;
9
+ white-space: break-spaces;
10
+ &.large {
11
+ min-height: @height-lg;
12
+ }
13
+ &.middle {
14
+ min-height: @height-base;
15
+ }
16
+ &.small {
17
+ min-height: @height-sm;
18
+ }
19
+ .bsicon {
20
+ flex: none;
21
+ }
22
+ &.holder {
23
+ padding: 0 @padding-xs;
24
+ &.large {
25
+ line-height: @height-lg;
26
+ }
27
+ &.middle {
28
+ line-height: @height-base;
29
+ }
30
+ &.small {
31
+ line-height: @height-sm;
32
+ }
33
+ }
34
+ }
35
+ &-holder {
36
+ color: @input-placeholder-color;
37
+ }
38
+
39
+ &-status-error:not(.disable) {
40
+ border-color: @error-color;
41
+ &.biz-month-day-handle:hover {
42
+ border-color: @error-color;
43
+ }
44
+ }
45
+ &-val {
46
+ flex: 1;
47
+ .ant-tag {
48
+ margin-bottom: @margin-xss;
49
+ }
50
+ }
51
+ &-wrapper {
52
+ display: inline-block;
53
+ vertical-align: top;
54
+ &.ant-dropdown-open > .biz-month-day-handle {
55
+ .__default-focused();
56
+ &.biz-month-day-status-error:not(.disable) {
57
+ border-color: @error-color;
58
+ box-shadow: 0 0 0 4px rgba(#ff8170, 0.2) !important;
59
+ }
60
+ }
61
+ .biz-month-day-handle {
62
+ &.disable {
63
+ cursor: not-allowed !important;
64
+ .ant-tag {
65
+ color: @disabled-color;
66
+ .anticon-close {
67
+ color: @disabled-color;
68
+ cursor: not-allowed;
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ &-overlay {
75
+ .__select-panel();
76
+ width: 280px;
77
+ padding: @padding-xss @padding-md;
78
+ word-break: break-all;
79
+ }
80
+ &-day {
81
+ .__select-option();
82
+ display: inline-block;
83
+ width: 30px;
84
+ height: 30px;
85
+ margin: 0 @margin-xss + 1 @margin-xss 0;
86
+ padding: 0;
87
+ line-height: 30px;
88
+ text-align: center;
89
+ border-radius: 100%;
90
+ &.lastday {
91
+ color: @primary-color;
92
+ font-size: @font-size-sm;
93
+ }
94
+ }
95
+ }