@zgfe/modules-attribution 1.1.6-alpha.0 → 1.1.6-mt.1

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 (34) hide show
  1. package/README.md +35 -35
  2. package/es/components/common/styles/index.less +27 -27
  3. package/es/components/option/index.js +16 -13
  4. package/es/components/option/styles/index.less +17 -17
  5. package/es/components/searchTime/index.js +5 -5
  6. package/es/components/searchTime/styles/index.less +19 -19
  7. package/es/components/tableList/styles/index.less +18 -18
  8. package/es/components/title/index.js +13 -42
  9. package/es/components/title/searchTitle.js +8 -8
  10. package/es/components/title/styles/index.less +84 -84
  11. package/es/components/title/styles/search.less +27 -27
  12. package/es/images/empty.png +0 -0
  13. package/es/modules/chart/demo/index.d.ts +2 -1
  14. package/es/modules/chart/index.js +12 -9
  15. package/es/modules/content/index.js +13 -10
  16. package/es/modules/content/styles/index.less +7 -7
  17. package/es/modules/content/utils.js +6 -3
  18. package/es/modules/home/demo/create.d.ts +2 -1
  19. package/es/modules/home/demo/edit.d.ts +2 -1
  20. package/es/modules/home/demo/index.d.ts +2 -1
  21. package/es/modules/home/demo/scene.d.ts +2 -1
  22. package/es/modules/home/demo/styles/index.less +33 -33
  23. package/es/modules/home/index.js +31 -27
  24. package/es/modules/home/styles/index.less +68 -68
  25. package/es/modules/searchPanel/components/attributableEvents.js +31 -31
  26. package/es/modules/searchPanel/components/globalAttribute.d.ts +1 -1
  27. package/es/modules/searchPanel/components/globalAttribute.js +13 -13
  28. package/es/modules/searchPanel/components/index.js +6 -6
  29. package/es/modules/searchPanel/components/targetEvent.js +10 -10
  30. package/es/modules/searchPanel/index.js +41 -38
  31. package/es/modules/searchPanel/styles/index.less +225 -225
  32. package/es/style/image/ring.svg +8 -8
  33. package/es/style/index.less +47 -47
  34. package/package.json +9 -2
@@ -1,226 +1,226 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .form-box {
4
- .xiangxia {
5
- font-size: 14px !important;
6
- }
7
- &-form-item {
8
- margin-bottom: 16px;
9
- .attr-box-show {
10
- margin: 12px 0px;
11
- }
12
- }
13
-
14
- &-bottom-form-title {
15
- font-size: 14px;
16
- margin-bottom: 16px;
17
- color: #021429;
18
- font-weight: 500;
19
- }
20
- &-bottom-form {
21
- display: flex;
22
- min-width: 860px;
23
- height: 32px;
24
- margin-bottom: 14px;
25
- .p {
26
- margin: 0;
27
- margin-right: 12px;
28
- padding: 0;
29
- color: #5f6085;
30
- line-height: 32px;
31
- .tishiicon {
32
- margin-left: 8px;
33
- color: #9aa1a9;
34
- }
35
- }
36
- .attribution-type {
37
- margin-right: 24px;
38
- }
39
- .windowCnt {
40
- margin: 0 16px;
41
- }
42
- }
43
-
44
- #attribution-type{
45
- position: relative;
46
- .ant-select-dropdown{
47
- z-index: 998;
48
- }
49
- .attribution-type-tooltip {
50
- z-index: 999;
51
- right: 0px!important;
52
- // left: 200px!important;
53
- &-distance{
54
- // left: 170px!important;
55
- }
56
- }
57
- }
58
-
59
- &-otherEvent {
60
- color: #021429;
61
- font-size: 14px;
62
- margin-bottom: 34px;
63
- .tishiicon {
64
- margin-left: 1px;
65
- color: #9aa1a9;
66
- }
67
- }
68
- &-search-button-box {
69
- text-align: right;
70
- .ant-btn {
71
- border: none;
72
- }
73
- > :nth-child(1) {
74
- margin-right: 16px;
75
- background: #29bd52;
76
- }
77
- .disable,
78
- .disable:hover {
79
- color: #ffffff;
80
- background: #d0dfff;
81
- }
82
- }
83
- &-title.ant-form-item {
84
- margin-bottom: 12px;
85
- color: #5f6085;
86
- font-size: 14px;
87
- line-height: 20px;
88
- .bsicon {
89
- margin-left: 9px;
90
- color: #9aa1a9;
91
- }
92
- .ant-form-item-control-input {
93
- min-height: 20px;
94
- .ant-form-item-control-input-content {
95
- height: 20px;
96
- }
97
- }
98
- }
99
-
100
- &-item.ant-form-item {
101
- margin-bottom: 0px;
102
- }
103
-
104
- &-add {
105
- width: fit-content;
106
- height: 20px;
107
- color: #165dff;
108
- font-size: 14px;
109
- line-height: 20px;
110
- border-radius: @border-radius-small;
111
- cursor: pointer;
112
- span {
113
- margin-right: 4px;
114
- }
115
-
116
- // &:not(.disabled):hover {
117
- // .__default-hover();
118
- // }
119
-
120
- &.disabled {
121
- color: @disabled-color;
122
- cursor: not-allowed;
123
- }
124
- }
125
-
126
- .global-attr {
127
- margin-bottom: 0 !important;
128
- }
129
-
130
- .biz-condition-item-input {
131
- border-color: transparent;
132
- }
133
-
134
- .ant-input-affix-wrapper > input.ant-input {
135
- height: 100%;
136
- }
137
- .attributable-events-box {
138
- .select-and-attr {
139
- display: flex;
140
- margin-bottom: 12px;
141
- .ant-dropdown-trigger {
142
- width: 208px;
143
- margin-right: 16px;
144
- }
145
- .biz-select-handle-input {
146
- background: #fafafb;
147
- }
148
- .biz-attr-select {
149
- width: 208px;
150
- margin-right: 16px;
151
- .biz-attr-select-handle {
152
- position: relative;
153
- padding: 0;
154
- border: none;
155
- .qingchu {
156
- position: absolute;
157
- top: 5px;
158
- right: 40px;
159
- }
160
- }
161
- }
162
- .button-box {
163
- .qingchu,
164
- .tianjia2,
165
- .shaixuan {
166
- margin-top: 2px;
167
- margin-right: 16px;
168
- // color: #CCD0D4;
169
- color: #9aa1a9;
170
- font-size: 20px !important;
171
- cursor: pointer;
172
- }
173
- .tianjia2:hover,
174
- .shaixuan:hover {
175
- color: #165dff;
176
- }
177
- .qingchu:hover {
178
- color: #e96150;
179
- }
180
- .disable {
181
- color: #ccd0d4 !important;
182
- cursor: not-allowed !important;
183
- }
184
- }
185
- }
186
- }
187
- .target-events-box {
188
- .selector-content {
189
- display: flex;
190
- .ant-dropdown-trigger {
191
- width: 208px;
192
- margin-right: 16px;
193
- }
194
- .biz-select-handle-input {
195
- background: #fafafb;
196
- }
197
- .ant-select-selection-placeholder::after {
198
- content: '\e76d' !important;
199
- }
200
- }
201
- .shaixuan {
202
- margin: 2px 0 0 16px;
203
- color: #9aa1a9;
204
- font-size: 20px !important;
205
- cursor: pointer;
206
- }
207
- .shaixuan:hover {
208
- color: #165dff;
209
- }
210
- .shaixuan.disable {
211
- color: #ccd0d4;
212
- cursor: not-allowed;
213
- }
214
- }
215
-
216
- .verify-error {
217
- .biz-select-handle-input {
218
- background-color: #fff;
219
- border: 1px solid #fb5547 !important;
220
- }
221
- }
222
- .error-tips {
223
- margin-top: -14px;
224
- color: #fb5547;
225
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .form-box {
4
+ .xiangxia {
5
+ font-size: 14px !important;
6
+ }
7
+ &-form-item {
8
+ margin-bottom: 16px;
9
+ .attr-box-show {
10
+ margin: 12px 0px;
11
+ }
12
+ }
13
+
14
+ &-bottom-form-title {
15
+ font-size: 14px;
16
+ margin-bottom: 16px;
17
+ color: #021429;
18
+ font-weight: 500;
19
+ }
20
+ &-bottom-form {
21
+ display: flex;
22
+ min-width: 860px;
23
+ height: 32px;
24
+ margin-bottom: 14px;
25
+ .p {
26
+ margin: 0;
27
+ margin-right: 12px;
28
+ padding: 0;
29
+ color: #5f6085;
30
+ line-height: 32px;
31
+ .tishiicon {
32
+ margin-left: 8px;
33
+ color: #9aa1a9;
34
+ }
35
+ }
36
+ .attribution-type {
37
+ margin-right: 24px;
38
+ }
39
+ .windowCnt {
40
+ margin: 0 16px;
41
+ }
42
+ }
43
+
44
+ #attribution-type{
45
+ position: relative;
46
+ .ant-select-dropdown{
47
+ z-index: 998;
48
+ }
49
+ .attribution-type-tooltip {
50
+ z-index: 999;
51
+ right: 0px!important;
52
+ // left: 200px!important;
53
+ &-distance{
54
+ // left: 170px!important;
55
+ }
56
+ }
57
+ }
58
+
59
+ &-otherEvent {
60
+ color: #021429;
61
+ font-size: 14px;
62
+ margin-bottom: 34px;
63
+ .tishiicon {
64
+ margin-left: 1px;
65
+ color: #9aa1a9;
66
+ }
67
+ }
68
+ &-search-button-box {
69
+ text-align: right;
70
+ .ant-btn {
71
+ border: none;
72
+ }
73
+ > :nth-child(1) {
74
+ margin-right: 16px;
75
+ background: #29bd52;
76
+ }
77
+ .disable,
78
+ .disable:hover {
79
+ color: #ffffff;
80
+ background: #d0dfff;
81
+ }
82
+ }
83
+ &-title.ant-form-item {
84
+ margin-bottom: 12px;
85
+ color: #5f6085;
86
+ font-size: 14px;
87
+ line-height: 20px;
88
+ .bsicon {
89
+ margin-left: 9px;
90
+ color: #9aa1a9;
91
+ }
92
+ .ant-form-item-control-input {
93
+ min-height: 20px;
94
+ .ant-form-item-control-input-content {
95
+ height: 20px;
96
+ }
97
+ }
98
+ }
99
+
100
+ &-item.ant-form-item {
101
+ margin-bottom: 0px;
102
+ }
103
+
104
+ &-add {
105
+ width: fit-content;
106
+ height: 20px;
107
+ color: #165dff;
108
+ font-size: 14px;
109
+ line-height: 20px;
110
+ border-radius: @border-radius-small;
111
+ cursor: pointer;
112
+ span {
113
+ margin-right: 4px;
114
+ }
115
+
116
+ // &:not(.disabled):hover {
117
+ // .__default-hover();
118
+ // }
119
+
120
+ &.disabled {
121
+ color: @disabled-color;
122
+ cursor: not-allowed;
123
+ }
124
+ }
125
+
126
+ .global-attr {
127
+ margin-bottom: 0 !important;
128
+ }
129
+
130
+ .biz-condition-item-input {
131
+ border-color: transparent;
132
+ }
133
+
134
+ .ant-input-affix-wrapper > input.ant-input {
135
+ height: 100%;
136
+ }
137
+ .attributable-events-box {
138
+ .select-and-attr {
139
+ display: flex;
140
+ margin-bottom: 12px;
141
+ .ant-dropdown-trigger {
142
+ width: 208px;
143
+ margin-right: 16px;
144
+ }
145
+ .biz-select-handle-input {
146
+ background: #fafafb;
147
+ }
148
+ .biz-attr-select {
149
+ width: 208px;
150
+ margin-right: 16px;
151
+ .biz-attr-select-handle {
152
+ position: relative;
153
+ padding: 0;
154
+ border: none;
155
+ .qingchu {
156
+ position: absolute;
157
+ top: 5px;
158
+ right: 40px;
159
+ }
160
+ }
161
+ }
162
+ .button-box {
163
+ .qingchu,
164
+ .tianjia2,
165
+ .shaixuan {
166
+ margin-top: 2px;
167
+ margin-right: 16px;
168
+ // color: #CCD0D4;
169
+ color: #9aa1a9;
170
+ font-size: 20px !important;
171
+ cursor: pointer;
172
+ }
173
+ .tianjia2:hover,
174
+ .shaixuan:hover {
175
+ color: #165dff;
176
+ }
177
+ .qingchu:hover {
178
+ color: #e96150;
179
+ }
180
+ .disable {
181
+ color: #ccd0d4 !important;
182
+ cursor: not-allowed !important;
183
+ }
184
+ }
185
+ }
186
+ }
187
+ .target-events-box {
188
+ .selector-content {
189
+ display: flex;
190
+ .ant-dropdown-trigger {
191
+ width: 208px;
192
+ margin-right: 16px;
193
+ }
194
+ .biz-select-handle-input {
195
+ background: #fafafb;
196
+ }
197
+ .ant-select-selection-placeholder::after {
198
+ content: '\e76d' !important;
199
+ }
200
+ }
201
+ .shaixuan {
202
+ margin: 2px 0 0 16px;
203
+ color: #9aa1a9;
204
+ font-size: 20px !important;
205
+ cursor: pointer;
206
+ }
207
+ .shaixuan:hover {
208
+ color: #165dff;
209
+ }
210
+ .shaixuan.disable {
211
+ color: #ccd0d4;
212
+ cursor: not-allowed;
213
+ }
214
+ }
215
+
216
+ .verify-error {
217
+ .biz-select-handle-input {
218
+ background-color: #fff;
219
+ border: 1px solid #fb5547 !important;
220
+ }
221
+ }
222
+ .error-tips {
223
+ margin-top: -14px;
224
+ color: #fb5547;
225
+ }
226
226
  }
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: rgb(255, 255, 255); display: block; shape-rendering: auto;" width="80px" height="80px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
3
- <circle cx="50" cy="50" r="32" stroke-width="4" stroke="#165dff" stroke-dasharray="50.26548245743669 50.26548245743669" fill="none" stroke-linecap="round">
4
- <animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;360 50 50"></animateTransform>
5
- </circle>
6
- <circle cx="50" cy="50" r="27" stroke-width="4" stroke="#85adfc" stroke-dasharray="42.411500823462205 42.411500823462205" stroke-dashoffset="42.411500823462205" fill="none" stroke-linecap="round">
7
- <animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;-360 50 50"></animateTransform>
8
- </circle>
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: rgb(255, 255, 255); display: block; shape-rendering: auto;" width="80px" height="80px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
3
+ <circle cx="50" cy="50" r="32" stroke-width="4" stroke="#165dff" stroke-dasharray="50.26548245743669 50.26548245743669" fill="none" stroke-linecap="round">
4
+ <animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;360 50 50"></animateTransform>
5
+ </circle>
6
+ <circle cx="50" cy="50" r="27" stroke-width="4" stroke="#85adfc" stroke-dasharray="42.411500823462205 42.411500823462205" stroke-dashoffset="42.411500823462205" fill="none" stroke-linecap="round">
7
+ <animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 50;-360 50 50"></animateTransform>
8
+ </circle>
9
9
  <!-- [ldio] generated by https://loading.io/ --></svg>
@@ -1,47 +1,47 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/variable.less';
2
- .attribution {
3
- &-table-td {
4
- padding: 0 !important;
5
-
6
- &-show {
7
- display: flex;
8
- align-items: center;
9
- justify-content: center;
10
- min-width: 60px;
11
- height: 48px;
12
- cursor: pointer;
13
- span {
14
- width: 10px;
15
- height: 10px;
16
- border-radius: 50%;
17
- cursor: pointer;
18
- }
19
- }
20
-
21
- &-name {
22
- display: flex;
23
- align-items: center;
24
- .bsicon {
25
- margin-right: 4px;
26
- color: #fd9f41;
27
- }
28
-
29
- &-content {
30
- display: inline-block;
31
- max-width: 300px;
32
- overflow: hidden;
33
- white-space: nowrap;
34
- text-overflow: ellipsis;
35
- cursor: pointer;
36
- }
37
- }
38
-
39
- &-link {
40
- cursor: pointer;
41
- &:hover {
42
- // color: @primary-color;
43
- text-decoration: underline;
44
- }
45
- }
46
- }
47
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/variable.less';
2
+ .attribution {
3
+ &-table-td {
4
+ padding: 0 !important;
5
+
6
+ &-show {
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ min-width: 60px;
11
+ height: 48px;
12
+ cursor: pointer;
13
+ span {
14
+ width: 10px;
15
+ height: 10px;
16
+ border-radius: 50%;
17
+ cursor: pointer;
18
+ }
19
+ }
20
+
21
+ &-name {
22
+ display: flex;
23
+ align-items: center;
24
+ .bsicon {
25
+ margin-right: 4px;
26
+ color: #fd9f41;
27
+ }
28
+
29
+ &-content {
30
+ display: inline-block;
31
+ max-width: 300px;
32
+ overflow: hidden;
33
+ white-space: nowrap;
34
+ text-overflow: ellipsis;
35
+ cursor: pointer;
36
+ }
37
+ }
38
+
39
+ &-link {
40
+ cursor: pointer;
41
+ &:hover {
42
+ // color: @primary-color;
43
+ text-decoration: underline;
44
+ }
45
+ }
46
+ }
47
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-attribution",
3
- "version": "1.1.6-alpha.0",
3
+ "version": "1.1.6-mt.1",
4
4
  "module": "es/index.js",
5
5
  "typings": "es/index.d.ts",
6
6
  "files": [
@@ -50,5 +50,12 @@
50
50
  "react": "^16.12.0 || ^17.0.0",
51
51
  "yorkie": "^2.0.0"
52
52
  },
53
- "gitHead": "ce3dee788ff8ef90a906a29debd02cce9dfa35e3"
53
+ "gitHead": "6b98e44426693bbdb7b6572f8ec6409d0d1caaee",
54
+ "resolutions": {
55
+ "pretty-format": "26.6.2",
56
+ "expect": "26.6.2",
57
+ "minimatch": "3.1.2",
58
+ "less-loader": "10.0.0",
59
+ "commander": "2.20.3"
60
+ }
54
61
  }