@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,20 +1,20 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-loading {
4
- &-container.loading {
5
- display: flex !important;
6
- flex-direction: column;
7
- align-items: center;
8
- justify-content: center;
9
- width: 100%;
10
- height: 100%;
11
- .ant-spin-text {
12
- margin-top: 12px;
13
- color: #67727f;
14
- font-size: 14px;
15
- }
16
- }
17
- &-wrapper.loading {
18
- height: 100%;
19
- }
20
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-loading {
4
+ &-container.loading {
5
+ display: flex !important;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ justify-content: center;
9
+ width: 100%;
10
+ height: 100%;
11
+ .ant-spin-text {
12
+ margin-top: 12px;
13
+ color: #67727f;
14
+ font-size: 14px;
15
+ }
16
+ }
17
+ &-wrapper.loading {
18
+ height: 100%;
19
+ }
20
+ }
@@ -1,7 +1,7 @@
1
- @import '../assets/styles/inner.less';
2
- .biz-login {
3
- width: 374px;
4
- .btn-login {
5
- width: 100%;
6
- }
7
- }
1
+ @import '../assets/styles/inner.less';
2
+ .biz-login {
3
+ width: 374px;
4
+ .btn-login {
5
+ width: 100%;
6
+ }
7
+ }
@@ -4,24 +4,57 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
5
  function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- import React, { useState, useEffect } from 'react';
7
+ import React, { useState, useEffect, useContext } from 'react';
8
8
  import { BizSelect } from '@zgfe/business-lib';
9
- import { platformOption } from './util';
10
9
  import './styles/index.less';
10
+ import request from '../utils/ajax';
11
+ import Apis from '../constants/apis';
12
+ import BizGlobalDataContext from '../context';
13
+ import { platformOptionUtil } from './util';
11
14
  var BizPlatformSelector = function BizPlatformSelector(props) {
12
15
  var classPrefix = 'biz-platform-selector';
13
16
  var _useState = useState(),
14
17
  _useState2 = _slicedToArray(_useState, 2),
15
18
  currentValue = _useState2[0],
16
19
  setCurrentValue = _useState2[1];
20
+ var _useContext = useContext(BizGlobalDataContext),
21
+ currentApp = _useContext.currentApp;
22
+ var _useState3 = useState([]),
23
+ _useState4 = _slicedToArray(_useState3, 2),
24
+ platformOption = _useState4[0],
25
+ setPlatformOption = _useState4[1];
17
26
  useEffect(function () {
18
- if (props.value) {
19
- var selectValue = platformOption.find(function (item) {
20
- return item.key === props.value;
21
- });
22
- setCurrentValue(selectValue || platformOption[0]);
23
- }
24
- }, [props.value]);
27
+ queryPlatformList();
28
+ }, []);
29
+ function queryPlatformList() {
30
+ request(Apis.queryPlatformList, {
31
+ method: 'get',
32
+ params: {
33
+ appId: currentApp === null || currentApp === void 0 ? void 0 : currentApp.appId
34
+ }
35
+ }).then(function (res) {
36
+ var _res$data;
37
+ if (res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) {
38
+ var list = res.data.map(function (item) {
39
+ return item.sdkPlatform;
40
+ });
41
+ var options = platformOptionUtil.map(function (item) {
42
+ if (list.includes(item.key) || item.key === 0) {
43
+ return item;
44
+ }
45
+ }).filter(function (item) {
46
+ return item;
47
+ });
48
+ setPlatformOption(options || []);
49
+ if (props.value) {
50
+ var selectValue = options.find(function (item) {
51
+ return item.key === props.value;
52
+ });
53
+ setCurrentValue(selectValue || options[0]);
54
+ }
55
+ }
56
+ });
57
+ }
25
58
  return /*#__PURE__*/React.createElement("div", {
26
59
  className: classPrefix
27
60
  }, /*#__PURE__*/React.createElement(BizSelect, {
@@ -1,22 +1,26 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-platform-selector {
3
- width: 134px;
4
- border: 1px solid #f2f3f4;
5
- border-radius: 4px;
6
- .biz-platform-selector-select .biz-select-handle-input {
7
- background-color: #fff;
8
- .biz-select-handle-content .biz-select-handle-icon .bsicon {
9
- color: #9aa1a9;
10
- }
11
- }
12
- }
13
- .biz-platform-selector-select-overlay .biz-select-list-panel .biz-select-option {
14
- .biz-select-option-icon .bsicon {
15
- color: #9aa1a9;
16
- }
17
- &:hover {
18
- .biz-select-option-icon .bsicon {
19
- color: #165dff;
20
- }
21
- }
22
- }
1
+ @import '../../assets/styles/inner.less';
2
+ .biz-platform-selector {
3
+ width: 134px;
4
+ box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);
5
+ .biz-platform-selector-select .biz-select-handle-input {
6
+ background-color: #fff;
7
+ border: 1px solid #ecedf0;
8
+ .biz-select-handle-content .biz-select-handle-icon .bsicon {
9
+ color: #9aa1a9;
10
+ }
11
+ .biz-select-handle-content-label {
12
+ display: flex;
13
+ align-items: center;
14
+ }
15
+ }
16
+ }
17
+ .biz-platform-selector-select-overlay .biz-select-list-panel .biz-select-option {
18
+ .biz-select-option-icon .bsicon {
19
+ color: #9aa1a9;
20
+ }
21
+ &:hover {
22
+ .biz-select-option-icon .bsicon {
23
+ color: #165dff;
24
+ }
25
+ }
26
+ }
@@ -1,2 +1,2 @@
1
1
  import { platItemProp } from './types';
2
- export declare const platformOption: platItemProp[];
2
+ export declare const platformOptionUtil: platItemProp[];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { IconFont } from '@zgfe/business-lib';
3
- export var platformOption = [{
3
+ export var platformOptionUtil = [{
4
4
  key: 0,
5
5
  value: '全部平台'
6
6
  }, {
@@ -38,6 +38,13 @@ export var platformOption = [{
38
38
  type: "fuwuqi",
39
39
  size: 16
40
40
  })
41
+ }, {
42
+ key: 6,
43
+ value: '鸿蒙',
44
+ icon: /*#__PURE__*/React.createElement(IconFont, {
45
+ type: "hongmeng",
46
+ size: 16
47
+ })
41
48
  }, {
42
49
  key: -1,
43
50
  value: '其他'
@@ -1,31 +1,31 @@
1
- @import '../../../assets/styles/variable.less';
2
-
3
- .biz-user-condition-cdp {
4
- display: flex;
5
-
6
- &-content,
7
- &-condition-group {
8
- display: flex;
9
- }
10
-
11
- &-label {
12
- margin-right: @margin-xs;
13
- line-height: 32px;
14
- }
15
-
16
- &-item {
17
- display: flex;
18
- margin-left: @margin-xs;
19
- }
20
-
21
- &-select-dataset {
22
- width: 255px;
23
- }
24
- &-select-field {
25
- width: 129px;
26
- }
27
- &-select-condition {
28
- width: 96px;
29
- margin: 0 @margin-xs;
30
- }
31
- }
1
+ @import '../../../assets/styles/variable.less';
2
+
3
+ .biz-user-condition-cdp {
4
+ display: flex;
5
+
6
+ &-content,
7
+ &-condition-group {
8
+ display: flex;
9
+ }
10
+
11
+ &-label {
12
+ margin-right: @margin-xs;
13
+ line-height: 32px;
14
+ }
15
+
16
+ &-item {
17
+ display: flex;
18
+ margin-left: @margin-xs;
19
+ }
20
+
21
+ &-select-dataset {
22
+ width: 255px;
23
+ }
24
+ &-select-field {
25
+ width: 129px;
26
+ }
27
+ &-select-condition {
28
+ width: 96px;
29
+ margin: 0 @margin-xs;
30
+ }
31
+ }
@@ -1,41 +1,41 @@
1
- @import '../../../assets/styles/variable.less';
2
-
3
- .biz-user-condition-cdp-csh {
4
- display: flex;
5
-
6
- &-content,
7
- &-condition-group {
8
- display: flex;
9
- }
10
-
11
- &-condition-group-sub {
12
- display: flex;
13
- margin-top: @margin-xs;
14
- }
15
-
16
- &-label {
17
- width: 56px;
18
- margin-right: @margin-xs;
19
- line-height: 32px;
20
- }
21
-
22
- &-item {
23
- display: flex;
24
- margin-left: @margin-xs;
25
- }
26
-
27
- &-select-dataset {
28
- width: 150px;
29
- }
30
- &-select-field {
31
- width: 129px;
32
- }
33
- &-select-condition {
34
- width: 96px;
35
- margin-left: @margin-xs;
36
- }
37
- &-value {
38
- width: 150px !important;
39
- margin-left: @margin-xs !important;
40
- }
41
- }
1
+ @import '../../../assets/styles/variable.less';
2
+
3
+ .biz-user-condition-cdp-csh {
4
+ display: flex;
5
+
6
+ &-content,
7
+ &-condition-group {
8
+ display: flex;
9
+ }
10
+
11
+ &-condition-group-sub {
12
+ display: flex;
13
+ margin-top: @margin-xs;
14
+ }
15
+
16
+ &-label {
17
+ width: 56px;
18
+ margin-right: @margin-xs;
19
+ line-height: 32px;
20
+ }
21
+
22
+ &-item {
23
+ display: flex;
24
+ margin-left: @margin-xs;
25
+ }
26
+
27
+ &-select-dataset {
28
+ width: 150px;
29
+ }
30
+ &-select-field {
31
+ width: 129px;
32
+ }
33
+ &-select-condition {
34
+ width: 96px;
35
+ margin-left: @margin-xs;
36
+ }
37
+ &-value {
38
+ width: 150px !important;
39
+ margin-left: @margin-xs !important;
40
+ }
41
+ }
@@ -1,51 +1,51 @@
1
- @import '../../../assets/styles/variable.less';
2
- .biz-user-condition-event-condition {
3
- display: flex;
4
- &-left {
5
- display: flex;
6
- }
7
- &-right {
8
- flex: 1;
9
- }
10
- .biz-user-condition-event {
11
- width: 200px;
12
- .biz-event-select-handle {
13
- border-top-right-radius: 0;
14
- border-bottom-right-radius: 0;
15
- .biz-select-handle-input {
16
- background-color: @background-color-base;
17
- }
18
- }
19
- }
20
- &-times-period-wrap {
21
- display: flex;
22
- }
23
- &-expand-attr {
24
- display: flex;
25
- align-items: center;
26
- justify-content: center;
27
- width: 38px;
28
- height: @height-base;
29
- margin-right: @margin-xs;
30
- margin-left: @border-radius-small;
31
- background-color: @background-color-base;
32
- border-radius: @border-radius-small;
33
- cursor: pointer;
34
- }
35
- &-attrs {
36
- flex: 1;
37
- width: 100%;
38
- // margin-right: @margin-xs;
39
- margin-bottom: @margin-xs;
40
- }
41
- &-label {
42
- display: flex;
43
- align-items: center;
44
- min-width: 28px;
45
- height: 34px;
46
- margin-right: @margin-xs;
47
- }
48
- &-runtimes {
49
- margin-right: @margin-xs;
50
- }
51
- }
1
+ @import '../../../assets/styles/variable.less';
2
+ .biz-user-condition-event-condition {
3
+ display: flex;
4
+ &-left {
5
+ display: flex;
6
+ }
7
+ &-right {
8
+ flex: 1;
9
+ }
10
+ .biz-user-condition-event {
11
+ width: 200px;
12
+ .biz-event-select-handle {
13
+ border-top-right-radius: 0;
14
+ border-bottom-right-radius: 0;
15
+ .biz-select-handle-input {
16
+ background-color: @background-color-base;
17
+ }
18
+ }
19
+ }
20
+ &-times-period-wrap {
21
+ display: flex;
22
+ }
23
+ &-expand-attr {
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ width: 38px;
28
+ height: @height-base;
29
+ margin-right: @margin-xs;
30
+ margin-left: @border-radius-small;
31
+ background-color: @background-color-base;
32
+ border-radius: @border-radius-small;
33
+ cursor: pointer;
34
+ }
35
+ &-attrs {
36
+ flex: 1;
37
+ width: 100%;
38
+ // margin-right: @margin-xs;
39
+ margin-bottom: @margin-xs;
40
+ }
41
+ &-label {
42
+ display: flex;
43
+ align-items: center;
44
+ min-width: 28px;
45
+ height: 34px;
46
+ margin-right: @margin-xs;
47
+ }
48
+ &-runtimes {
49
+ margin-right: @margin-xs;
50
+ }
51
+ }
@@ -1,26 +1,26 @@
1
- @import '../../../assets/styles/variable.less';
2
- .biz-user-condition-period-condition {
3
- display: flex;
4
- align-items: center;
5
- &-label,
6
- &-operator,
7
- &-values,
8
- &-unit {
9
- margin-right: @margin-xs;
10
- > input {
11
- border: none !important;
12
- }
13
- }
14
- &-operator {
15
- width: 129px;
16
- }
17
- &-values {
18
- .ant-picker-range.ant-picker-larg {
19
- min-width: 255px;
20
- }
21
- }
22
- &-today {
23
- margin-left: @margin-xs;
24
- white-space: nowrap;
25
- }
26
- }
1
+ @import '../../../assets/styles/variable.less';
2
+ .biz-user-condition-period-condition {
3
+ display: flex;
4
+ align-items: center;
5
+ &-label,
6
+ &-operator,
7
+ &-values,
8
+ &-unit {
9
+ margin-right: @margin-xs;
10
+ > input {
11
+ border: none !important;
12
+ }
13
+ }
14
+ &-operator {
15
+ width: 129px;
16
+ }
17
+ &-values {
18
+ .ant-picker-range.ant-picker-larg {
19
+ min-width: 255px;
20
+ }
21
+ }
22
+ &-today {
23
+ margin-left: @margin-xs;
24
+ white-space: nowrap;
25
+ }
26
+ }
@@ -1,43 +1,43 @@
1
- @import '../../../assets//styles/variable.less';
2
- .biz-user-condition-prop-condition {
3
- display: flex;
4
- flex-wrap: wrap;
5
- align-items: center;
6
- &-label {
7
- margin-right: @margin-xs;
8
- }
9
- &-attrs {
10
- flex: 1;
11
- .biz-user-condition-prop-condition-attr {
12
- display: flex;
13
- align-items: center;
14
- &:nth-child(n + 2) {
15
- margin-top: @margin-xs;
16
- }
17
- .biz-user-condition-prop-condition-item-wrap {
18
- flex: 1;
19
- }
20
- }
21
- }
22
- &-add {
23
- width: 100%;
24
- margin-top: @margin-xss;
25
- .biz-user-condition-prop-add-btn {
26
- display: flex;
27
- align-items: center;
28
- justify-content: center;
29
- width: @height-base;
30
- height: @height-base;
31
- background-color: @background-color-base;
32
- border-radius: @border-radius-sx;
33
- cursor: pointer;
34
- }
35
- }
36
- .biz-condition-item-panel {
37
- .biz-condition-item-input {
38
- .ant-input {
39
- border: none;
40
- }
41
- }
42
- }
43
- }
1
+ @import '../../../assets//styles/variable.less';
2
+ .biz-user-condition-prop-condition {
3
+ display: flex;
4
+ flex-wrap: wrap;
5
+ align-items: center;
6
+ &-label {
7
+ margin-right: @margin-xs;
8
+ }
9
+ &-attrs {
10
+ flex: 1;
11
+ .biz-user-condition-prop-condition-attr {
12
+ display: flex;
13
+ align-items: center;
14
+ &:nth-child(n + 2) {
15
+ margin-top: @margin-xs;
16
+ }
17
+ .biz-user-condition-prop-condition-item-wrap {
18
+ flex: 1;
19
+ }
20
+ }
21
+ }
22
+ &-add {
23
+ width: 100%;
24
+ margin-top: @margin-xss;
25
+ .biz-user-condition-prop-add-btn {
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ width: @height-base;
30
+ height: @height-base;
31
+ background-color: @background-color-base;
32
+ border-radius: @border-radius-sx;
33
+ cursor: pointer;
34
+ }
35
+ }
36
+ .biz-condition-item-panel {
37
+ .biz-condition-item-input {
38
+ .ant-input {
39
+ border: none;
40
+ }
41
+ }
42
+ }
43
+ }
@@ -1,19 +1,19 @@
1
- @import '../../../assets/styles/variable.less';
2
- .biz-user-condition-runtimes-condition {
3
- display: flex;
4
- align-items: center;
5
- &-label {
6
- margin-right: @margin-xs;
7
- }
8
- &-operator,
9
- &-value {
10
- width: 58px;
11
- margin-right: @margin-xs;
12
- > input {
13
- border: none !important;
14
- }
15
- }
16
- .biz-user-condition-runtimes-tip {
17
- color: @primary-color;
18
- }
19
- }
1
+ @import '../../../assets/styles/variable.less';
2
+ .biz-user-condition-runtimes-condition {
3
+ display: flex;
4
+ align-items: center;
5
+ &-label {
6
+ margin-right: @margin-xs;
7
+ }
8
+ &-operator,
9
+ &-value {
10
+ width: 58px;
11
+ margin-right: @margin-xs;
12
+ > input {
13
+ border: none !important;
14
+ }
15
+ }
16
+ .biz-user-condition-runtimes-tip {
17
+ color: @primary-color;
18
+ }
19
+ }
@@ -1,20 +1,20 @@
1
- @import '../../../assets/styles/variable.less';
2
- .biz-user-condition-tags-condition {
3
- display: flex;
4
- &-label {
5
- margin-right: @margin-xs;
6
- }
7
- &-value {
8
- margin-left: @margin-xs;
9
- }
10
- &-label {
11
- line-height: 32px;
12
- }
13
- &-value {
14
- flex: 1;
15
- min-width: 0;
16
- }
17
- &-operator {
18
- width: 96px;
19
- }
20
- }
1
+ @import '../../../assets/styles/variable.less';
2
+ .biz-user-condition-tags-condition {
3
+ display: flex;
4
+ &-label {
5
+ margin-right: @margin-xs;
6
+ }
7
+ &-value {
8
+ margin-left: @margin-xs;
9
+ }
10
+ &-label {
11
+ line-height: 32px;
12
+ }
13
+ &-value {
14
+ flex: 1;
15
+ min-width: 0;
16
+ }
17
+ &-operator {
18
+ width: 96px;
19
+ }
20
+ }