@zgfe/business-lib 1.2.70-hxd.1 → 1.2.70-hxd.11

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 (117) hide show
  1. package/README.md +12 -12
  2. package/config.js +41 -41
  3. package/es/AUMFormulaTarget/components/formula/index.less +86 -86
  4. package/es/AUMFormulaTarget/components/panel/index.less +269 -269
  5. package/es/AUMFormulaTarget/components/symbol/index.less +49 -49
  6. package/es/AUMFormulaTarget/styles/index.less +74 -74
  7. package/es/addToPanel/styles/addPanel.less +25 -25
  8. package/es/addToPanel/styles/index.less +17 -17
  9. package/es/addToPanel/styles/style.less +66 -66
  10. package/es/addToScene/styles/index.less +30 -30
  11. package/es/assets/colorIcon/demo.css +539 -539
  12. package/es/assets/colorIcon/demo_index.html +1454 -1454
  13. package/es/assets/colorIcon/iconfont.css +236 -236
  14. package/es/assets/colorIcon/iconfont.json +394 -394
  15. package/es/assets/colorIcon/iconfont.svg +129 -129
  16. package/es/assets/iconfont/demo.css +539 -539
  17. package/es/assets/iconfont/demo_index.html +5708 -5593
  18. package/es/assets/iconfont/iconfont.css +975 -955
  19. package/es/assets/iconfont/iconfont.js +1 -1
  20. package/es/assets/iconfont/iconfont.json +1689 -1654
  21. package/es/assets/iconfont/iconfont.ttf +0 -0
  22. package/es/assets/iconfont/iconfont.woff +0 -0
  23. package/es/assets/iconfont/iconfont.woff2 +0 -0
  24. package/es/assets/styles/chunks.less +183 -183
  25. package/es/assets/styles/inner.less +3 -3
  26. package/es/assets/styles/resetAntd.less +564 -564
  27. package/es/assets/styles/variable.less +21 -21
  28. package/es/attrCondition/styles/index.less +101 -101
  29. package/es/attrCondition/useAttrCondition.js +4 -1
  30. package/es/attrConditions/styles/group.less +49 -49
  31. package/es/attrConditions/styles/index.less +151 -151
  32. package/es/attrConditions/types.d.ts +1 -0
  33. package/es/attributeSelector/listPanel.js +1 -1
  34. package/es/attributeSelector/styles/index.less +141 -141
  35. package/es/attributeSelector/types.d.ts +1 -0
  36. package/es/attributeSelector/util.js +3 -0
  37. package/es/chart/styles/index.less +113 -113
  38. package/es/chart/util/data/china.js +17 -17
  39. package/es/cycleTime/styles/index.less +24 -24
  40. package/es/cycleTime/styles/month.less +95 -95
  41. package/es/dataSetGroup/styles/index.less +146 -146
  42. package/es/datePicker/styles/index.less +53 -53
  43. package/es/datePickerV2/styles/index.less +194 -194
  44. package/es/demoWrapper/index.less +3 -3
  45. package/es/dialog/styles/index.less +22 -22
  46. package/es/dnd/demo/styles/index.less +34 -34
  47. package/es/dnd/styles/index.less +19 -19
  48. package/es/eventSelector/listPanel.js +1 -1
  49. package/es/eventSelector/styles/index.less +123 -123
  50. package/es/formulaTarget/components/formula/index.less +76 -76
  51. package/es/formulaTarget/components/panel/index.less +139 -139
  52. package/es/formulaTarget/components/symbol/index.less +49 -49
  53. package/es/formulaTarget/styles/index.less +74 -74
  54. package/es/hooks/types/subject.d.ts +14 -14
  55. package/es/icon/demo/list.less +32 -32
  56. package/es/layout/analysisLayout/demo/index.less +12 -12
  57. package/es/layout/analysisLayout/index.less +118 -118
  58. package/es/layout/columnLayout/demo/index.less +15 -15
  59. package/es/layout/columnLayout/index.less +81 -81
  60. package/es/layout/detail/index.less +27 -27
  61. package/es/layout/optionTitle/components/btnMenu/index.less +18 -18
  62. package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
  63. package/es/layout/optionTitle/components/title/index.less +43 -43
  64. package/es/layout/optionTitle/demo/index.less +12 -12
  65. package/es/layout/optionTitle/styles/index.less +30 -30
  66. package/es/layout/optionTitle/styles/layout.less +90 -90
  67. package/es/layout/optionTitle/styles/search.less +27 -27
  68. package/es/loading/styles/index.less +20 -20
  69. package/es/loginForm/index.less +7 -7
  70. package/es/platformSelector/styles/index.less +26 -26
  71. package/es/productCondition/conditions/styles/cdpCondition.less +31 -31
  72. package/es/productCondition/conditions/styles/cdpCshCondition.less +41 -41
  73. package/es/productCondition/conditions/styles/eventCondition.less +51 -51
  74. package/es/productCondition/conditions/styles/periodCondition.less +26 -26
  75. package/es/productCondition/conditions/styles/propCondition.less +43 -43
  76. package/es/productCondition/conditions/styles/runTimesCondition.less +19 -19
  77. package/es/productCondition/conditions/styles/tagsCondition.less +20 -20
  78. package/es/productCondition/conditions/styles/textDesc.less +17 -17
  79. package/es/productCondition/styles/conditionTypeList.less +30 -30
  80. package/es/productCondition/styles/conditionWrap.less +18 -18
  81. package/es/productCondition/styles/index.less +33 -33
  82. package/es/productCondition/styles/orConditions.less +34 -34
  83. package/es/productCondition/styles/relationLabel.less +19 -19
  84. package/es/quickDatePicker/styles/index.less +138 -138
  85. package/es/select/styles/handle.less +193 -193
  86. package/es/select/styles/index.less +129 -129
  87. package/es/socket/demo/index.less +27 -27
  88. package/es/subjectWrapper/index.less +12 -12
  89. package/es/table/styles/index.less +5 -5
  90. package/es/targetConditionGroup/demo/styles/index.less +29 -29
  91. package/es/targetConditionGroup/index.js +6 -6
  92. package/es/targetConditionGroup/styles/index.less +53 -53
  93. package/es/targetSelector/styles/index.less +110 -110
  94. package/es/userCondition/conditions/styles/cdpCondition.less +37 -37
  95. package/es/userCondition/conditions/styles/cdpCshCondition.less +47 -47
  96. package/es/userCondition/conditions/styles/eventCondition.less +57 -57
  97. package/es/userCondition/conditions/styles/periodCondition.less +26 -26
  98. package/es/userCondition/conditions/styles/propCondition.less +43 -43
  99. package/es/userCondition/conditions/styles/runTimesCondition.less +19 -19
  100. package/es/userCondition/conditions/styles/tagsCondition.less +20 -20
  101. package/es/userCondition/conditions/styles/textDesc.less +17 -17
  102. package/es/userCondition/styles/conditionTypeList.less +30 -30
  103. package/es/userCondition/styles/conditionWrap.less +18 -18
  104. package/es/userCondition/styles/index.less +33 -33
  105. package/es/userCondition/styles/orConditions.less +34 -34
  106. package/es/userCondition/styles/relationLabel.less +19 -19
  107. package/es/userGroup/styles/index.less +145 -145
  108. package/es/userGroupHeader/styles/index.less +31 -31
  109. package/es/userTagsSelector/components/search/index.less +6 -6
  110. package/es/userTagsSelector/components/tagList/index.less +13 -13
  111. package/es/userTagsSelector/groups/styles/option.less +55 -55
  112. package/es/userTagsSelector/multipleCheckPanel/styles/option.less +40 -40
  113. package/es/userTagsSelector/styles/cascaderOverlay.less +34 -34
  114. package/es/userTagsSelector/styles/index.less +10 -10
  115. package/es/utils/ajax.js +15 -2
  116. package/es/utils/type.d.ts +1 -0
  117. package/package.json +2 -2
@@ -1,194 +1,194 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-date-picker-old-wrap {
4
- display: flex;
5
-
6
- &-type {
7
- width: 88px;
8
- }
9
-
10
- &-shortcut {
11
- display: flex;
12
- }
13
-
14
- &-list {
15
- display: flex;
16
- // margin: 0 16px 0 0;
17
-
18
- &-relative {
19
- display: flex;
20
- gap: 24px;
21
- align-items: center;
22
- margin-left: 16px;
23
-
24
- &-content {
25
- display: flex;
26
- align-items: center;
27
- span {
28
- margin: 0 8px;
29
- }
30
-
31
- .ant-input-number {
32
- background-color: #fff !important;
33
- border: 1px solid var(---, #ecedf0);
34
- border-radius: 4px;
35
- }
36
- }
37
- }
38
- }
39
-
40
- .biz-select-handle {
41
- margin-right: 8px;
42
- padding: 0;
43
- }
44
-
45
- &-item {
46
- display: flex;
47
- align-items: center;
48
- justify-content: center;
49
- width: 58px;
50
- height: @height-base;
51
- color: @text-color-secondary;
52
- border: 1px solid @border-color-base;
53
- cursor: pointer;
54
-
55
- &:first-child {
56
- border-radius: @border-radius-small 0px 0px @border-radius-small;
57
- }
58
-
59
- &:last-child {
60
- border-radius: 0px @border-radius-small @border-radius-small 0px;
61
- }
62
-
63
- &:not(:last-child) {
64
- border-right: none;
65
- }
66
-
67
- &:hover {
68
- .__default-hover();
69
- border-color: @border-color-base;
70
- }
71
-
72
- &.active {
73
- color: @primary-color;
74
- background: @primary-color-hover;
75
- border: 1px solid @primary-color;
76
- }
77
- }
78
-
79
- &-input {
80
- display: flex;
81
- flex-shrink: 0;
82
- gap: 4px;
83
- align-items: center;
84
- justify-content: space-between;
85
- width: 262px;
86
- padding: 0px 12px;
87
- font-size: 14px;
88
- background: #fff;
89
- border: 1px solid var(---, #ecedf0);
90
- border-radius: 4px;
91
-
92
- &-label {
93
- display: flex;
94
- gap: 4px;
95
- align-items: center;
96
- }
97
-
98
- &:hover {
99
- // color: #165dff;
100
- border-color: @primary-color;
101
- cursor: pointer;
102
- }
103
-
104
- &:focus {
105
- border-color: @primary-color;
106
- }
107
-
108
- &:active {
109
- border-color: @primary-color;
110
- }
111
-
112
- &-active {
113
- border-color: @primary-color;
114
- box-shadow: 0 0 0 4px #f0f7ff;
115
- }
116
-
117
- &-popover {
118
- padding-top: 0 !important;
119
- .ant-popover-arrow {
120
- display: none;
121
- }
122
-
123
- .ant-popover-inner-content {
124
- padding: 0 16px 16px;
125
- }
126
-
127
- .ant-picker-dropdown {
128
- padding-top: 0;
129
-
130
- .ant-picker-range-arrow {
131
- display: none;
132
- }
133
- }
134
-
135
- .ant-tabs-top > .ant-tabs-nav::before {
136
- border-bottom: 1px solid #fafafb;
137
- }
138
-
139
- .ant-tabs-tab {
140
- padding: 12px 0 !important;
141
- font-size: 14px !important;
142
- }
143
-
144
- .ant-popover-inner {
145
- background: #fff;
146
- border-radius: 8px;
147
- box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
148
- }
149
- }
150
-
151
- &-error {
152
- position: relative;
153
- border: 1px solid var(--io-Error-E-, #fb5547) !important;
154
-
155
- &::after {
156
- position: absolute;
157
- width: 67px;
158
- color: red;
159
- font-size: 12px;
160
- content: '请输入内容';
161
- }
162
- }
163
- }
164
-
165
- &-panel {
166
- & div:last-of-type {
167
- position: relative !important;
168
- }
169
- .biz-date-picker-old-wrap-drop {
170
- top: 0 !important;
171
- margin-top: 12px;
172
- padding: 0;
173
- }
174
- .ant-picker-panel-container {
175
- background: #fff;
176
- border: 1px solid var(--io-n-02, #f2f3f4);
177
- border-radius: 10px;
178
- box-shadow: none;
179
- }
180
-
181
- .ant-picker-panel-container .ant-picker-panel-focused {
182
- border-color: var(--io-n-02, #f2f3f4);
183
- }
184
- }
185
-
186
- &-popoverContent-btns {
187
- position: absolute;
188
- top: 0;
189
- right: 0;
190
- display: flex;
191
- gap: 16px;
192
- justify-content: flex-end;
193
- }
194
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-date-picker-old-wrap {
4
+ display: flex;
5
+
6
+ &-type {
7
+ width: 88px;
8
+ }
9
+
10
+ &-shortcut {
11
+ display: flex;
12
+ }
13
+
14
+ &-list {
15
+ display: flex;
16
+ // margin: 0 16px 0 0;
17
+
18
+ &-relative {
19
+ display: flex;
20
+ gap: 24px;
21
+ align-items: center;
22
+ margin-left: 16px;
23
+
24
+ &-content {
25
+ display: flex;
26
+ align-items: center;
27
+ span {
28
+ margin: 0 8px;
29
+ }
30
+
31
+ .ant-input-number {
32
+ background-color: #fff !important;
33
+ border: 1px solid var(---, #ecedf0);
34
+ border-radius: 4px;
35
+ }
36
+ }
37
+ }
38
+ }
39
+
40
+ .biz-select-handle {
41
+ margin-right: 8px;
42
+ padding: 0;
43
+ }
44
+
45
+ &-item {
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ width: 58px;
50
+ height: @height-base;
51
+ color: @text-color-secondary;
52
+ border: 1px solid @border-color-base;
53
+ cursor: pointer;
54
+
55
+ &:first-child {
56
+ border-radius: @border-radius-small 0px 0px @border-radius-small;
57
+ }
58
+
59
+ &:last-child {
60
+ border-radius: 0px @border-radius-small @border-radius-small 0px;
61
+ }
62
+
63
+ &:not(:last-child) {
64
+ border-right: none;
65
+ }
66
+
67
+ &:hover {
68
+ .__default-hover();
69
+ border-color: @border-color-base;
70
+ }
71
+
72
+ &.active {
73
+ color: @primary-color;
74
+ background: @primary-color-hover;
75
+ border: 1px solid @primary-color;
76
+ }
77
+ }
78
+
79
+ &-input {
80
+ display: flex;
81
+ flex-shrink: 0;
82
+ gap: 4px;
83
+ align-items: center;
84
+ justify-content: space-between;
85
+ width: 262px;
86
+ padding: 0px 12px;
87
+ font-size: 14px;
88
+ background: #fff;
89
+ border: 1px solid var(---, #ecedf0);
90
+ border-radius: 4px;
91
+
92
+ &-label {
93
+ display: flex;
94
+ gap: 4px;
95
+ align-items: center;
96
+ }
97
+
98
+ &:hover {
99
+ // color: #165dff;
100
+ border-color: @primary-color;
101
+ cursor: pointer;
102
+ }
103
+
104
+ &:focus {
105
+ border-color: @primary-color;
106
+ }
107
+
108
+ &:active {
109
+ border-color: @primary-color;
110
+ }
111
+
112
+ &-active {
113
+ border-color: @primary-color;
114
+ box-shadow: 0 0 0 4px #f0f7ff;
115
+ }
116
+
117
+ &-popover {
118
+ padding-top: 0 !important;
119
+ .ant-popover-arrow {
120
+ display: none;
121
+ }
122
+
123
+ .ant-popover-inner-content {
124
+ padding: 0 16px 16px;
125
+ }
126
+
127
+ .ant-picker-dropdown {
128
+ padding-top: 0;
129
+
130
+ .ant-picker-range-arrow {
131
+ display: none;
132
+ }
133
+ }
134
+
135
+ .ant-tabs-top > .ant-tabs-nav::before {
136
+ border-bottom: 1px solid #fafafb;
137
+ }
138
+
139
+ .ant-tabs-tab {
140
+ padding: 12px 0 !important;
141
+ font-size: 14px !important;
142
+ }
143
+
144
+ .ant-popover-inner {
145
+ background: #fff;
146
+ border-radius: 8px;
147
+ box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
148
+ }
149
+ }
150
+
151
+ &-error {
152
+ position: relative;
153
+ border: 1px solid var(--io-Error-E-, #fb5547) !important;
154
+
155
+ &::after {
156
+ position: absolute;
157
+ width: 67px;
158
+ color: red;
159
+ font-size: 12px;
160
+ content: '请输入内容';
161
+ }
162
+ }
163
+ }
164
+
165
+ &-panel {
166
+ & div:last-of-type {
167
+ position: relative !important;
168
+ }
169
+ .biz-date-picker-old-wrap-drop {
170
+ top: 0 !important;
171
+ margin-top: 12px;
172
+ padding: 0;
173
+ }
174
+ .ant-picker-panel-container {
175
+ background: #fff;
176
+ border: 1px solid var(--io-n-02, #f2f3f4);
177
+ border-radius: 10px;
178
+ box-shadow: none;
179
+ }
180
+
181
+ .ant-picker-panel-container .ant-picker-panel-focused {
182
+ border-color: var(--io-n-02, #f2f3f4);
183
+ }
184
+ }
185
+
186
+ &-popoverContent-btns {
187
+ position: absolute;
188
+ top: 0;
189
+ right: 0;
190
+ display: flex;
191
+ gap: 16px;
192
+ justify-content: flex-end;
193
+ }
194
+ }
@@ -1,3 +1,3 @@
1
- @import '~antd/dist/antd.less';
2
- @import '../assets/iconfont/iconfont.css';
3
- @import '../assets/styles/resetAntd.less';
1
+ @import '~antd/dist/antd.less';
2
+ @import '../assets/iconfont/iconfont.css';
3
+ @import '../assets/styles/resetAntd.less';
@@ -1,22 +1,22 @@
1
- @import '../../assets/styles/inner.less';
2
-
3
- .biz-dialog {
4
- &-input.ant-input-affix-wrapper {
5
- border-radius: @border-radius-small;
6
- }
7
-
8
- .ant-form-item-label > label {
9
- height: @height-lg;
10
- }
11
- }
12
- .biz-dialog-wrap {
13
- .ant-modal-close {
14
- top: 5px;
15
- right: 5px;
16
-
17
- .bsicon {
18
- color: @text-color;
19
- font-size: 24px !important;
20
- }
21
- }
22
- }
1
+ @import '../../assets/styles/inner.less';
2
+
3
+ .biz-dialog {
4
+ &-input.ant-input-affix-wrapper {
5
+ border-radius: @border-radius-small;
6
+ }
7
+
8
+ .ant-form-item-label > label {
9
+ height: @height-lg;
10
+ }
11
+ }
12
+ .biz-dialog-wrap {
13
+ .ant-modal-close {
14
+ top: 5px;
15
+ right: 5px;
16
+
17
+ .bsicon {
18
+ color: @text-color;
19
+ font-size: 24px !important;
20
+ }
21
+ }
22
+ }
@@ -1,34 +1,34 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
- .container {
3
- padding: @padding-md;
4
- border: 1px solid @border-color-base;
5
- border-radius: @border-radius-normal;
6
- }
7
- .item {
8
- display: inline-block;
9
- width: 10%;
10
- height: 150px;
11
- margin: @margin-md;
12
- line-height: 150px;
13
- text-align: center;
14
- vertical-align: top;
15
- background: @background-color-base;
16
- border-radius: @border-radius-normal;
17
- }
18
- .temp {
19
- display: inline-block;
20
- border: 2px dashed @primary-color;
21
- border-radius: @border-radius-normal;
22
- }
23
- .add {
24
- font-size: 48px;
25
- cursor: pointer;
26
- }
27
- .doing {
28
- border: 1px solid @warning-color;
29
- }
30
- .handle {
31
- display: block;
32
- height: 25px;
33
- background: @info-color;
34
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+ .container {
3
+ padding: @padding-md;
4
+ border: 1px solid @border-color-base;
5
+ border-radius: @border-radius-normal;
6
+ }
7
+ .item {
8
+ display: inline-block;
9
+ width: 10%;
10
+ height: 150px;
11
+ margin: @margin-md;
12
+ line-height: 150px;
13
+ text-align: center;
14
+ vertical-align: top;
15
+ background: @background-color-base;
16
+ border-radius: @border-radius-normal;
17
+ }
18
+ .temp {
19
+ display: inline-block;
20
+ border: 2px dashed @primary-color;
21
+ border-radius: @border-radius-normal;
22
+ }
23
+ .add {
24
+ font-size: 48px;
25
+ cursor: pointer;
26
+ }
27
+ .doing {
28
+ border: 1px solid @warning-color;
29
+ }
30
+ .handle {
31
+ display: block;
32
+ height: 25px;
33
+ background: @info-color;
34
+ }
@@ -1,19 +1,19 @@
1
- @import '../../assets/styles/inner.less';
2
- .biz-dnd {
3
- &-item {
4
- cursor: move;
5
- user-select: none;
6
- &.disable,
7
- &.handle {
8
- cursor: inherit;
9
- user-select: inherit;
10
- }
11
- }
12
- &-handle {
13
- cursor: move;
14
- user-select: none;
15
- }
16
- &-temp {
17
- pointer-events: none;
18
- }
19
- }
1
+ @import '../../assets/styles/inner.less';
2
+ .biz-dnd {
3
+ &-item {
4
+ cursor: move;
5
+ user-select: none;
6
+ &.disable,
7
+ &.handle {
8
+ cursor: inherit;
9
+ user-select: inherit;
10
+ }
11
+ }
12
+ &-handle {
13
+ cursor: move;
14
+ user-select: none;
15
+ }
16
+ &-temp {
17
+ pointer-events: none;
18
+ }
19
+ }
@@ -176,7 +176,7 @@ var EventListPanel = function EventListPanel(props) {
176
176
  useEffect(function () {
177
177
  var list = [];
178
178
  currentGroup === null || currentGroup === void 0 ? void 0 : currentGroup.eventList.forEach(function (event) {
179
- if (searchValue && !new RegExp(_.escapeRegExp(searchValue), 'i').test("".concat(event.owner === 'zg_vtl' ? '虚拟事件' : '元事件', " | ").concat(event.alias || event.name))) return;
179
+ if (searchValue && !(new RegExp(_.escapeRegExp(searchValue), 'i').test("".concat(event.owner === 'zg_vtl' ? '虚拟事件' : '元事件', " | ").concat(event.alias)) || new RegExp(_.escapeRegExp(searchValue), 'i').test("".concat(event.owner === 'zg_vtl' ? '虚拟事件' : '元事件', " | ").concat(event.name)))) return;
180
180
  list.push(event);
181
181
  });
182
182
  if (showOverview) list.unshift(overviewData);