@zgfe/business-lib 1.0.10 → 1.0.13-alpha.0

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 (44) hide show
  1. package/es/addToPanel/components/styleList.js +3 -1
  2. package/es/addToPanel/demo/edit.js +1 -0
  3. package/es/addToPanel/index.js +60 -25
  4. package/es/addToPanel/styles/index.less +1 -1
  5. package/es/addToPanel/types.d.ts +4 -3
  6. package/es/addToScene/index.js +10 -2
  7. package/es/addToScene/styles/index.less +1 -1
  8. package/es/addToScene/types.d.ts +1 -1
  9. package/es/analysisLayout/demo/index.d.ts +1 -0
  10. package/es/analysisLayout/demo/index.js +1 -0
  11. package/es/analysisLayout/index.js +1 -1
  12. package/es/analysisLayout/index.less +3 -2
  13. package/es/assets/iconfont/demo_index.html +72 -3
  14. package/es/assets/iconfont/iconfont.css +15 -3
  15. package/es/assets/iconfont/iconfont.js +1 -1
  16. package/es/assets/iconfont/iconfont.json +21 -0
  17. package/es/assets/iconfont/iconfont.ttf +0 -0
  18. package/es/assets/iconfont/iconfont.woff +0 -0
  19. package/es/assets/iconfont/iconfont.woff2 +0 -0
  20. package/es/assets/styles/chunks.less +5 -1
  21. package/es/assets/styles/resetAntd.less +177 -133
  22. package/es/assets/styles/variable.less +8 -1
  23. package/es/assets/theme.d.ts +5 -0
  24. package/es/assets/theme.js +6 -1
  25. package/es/attrConditions/components/stringList.js +1 -0
  26. package/es/attributeSelector/styles/index.less +2 -0
  27. package/es/config.d.ts +15 -0
  28. package/es/config.js +8 -0
  29. package/es/constants/apis.d.ts +1 -0
  30. package/es/constants/apis.js +2 -1
  31. package/es/datePicker/styles/index.less +4 -0
  32. package/es/dialog/index.js +2 -1
  33. package/es/eventSelector/listPanel.js +8 -0
  34. package/es/eventSelector/styles/index.less +11 -5
  35. package/es/index.d.ts +2 -1
  36. package/es/index.js +2 -1
  37. package/es/select/styles/handle.less +1 -0
  38. package/es/select/styles/index.less +0 -3
  39. package/es/targetSelector/styles/index.less +3 -1
  40. package/es/utils/ajax.d.ts +2 -20
  41. package/es/utils/ajax.js +24 -91
  42. package/es/utils/type.d.ts +31 -0
  43. package/es/utils/type.js +31 -1
  44. package/package.json +4 -4
@@ -4,101 +4,92 @@
4
4
 
5
5
  // 输入框(带icon)
6
6
  .ant-input-affix-wrapper {
7
- height: @height-lg;
8
- line-height: @height-lg;
9
- background-color: @background-color-base;
10
- border-color: #fff;
11
- border-radius: @border-radius-small;
7
+ height: @height-lg!important;
8
+ padding: @padding-xss @padding-xs!important;
9
+ line-height: @height-lg!important;
10
+ background-color: @background-color-base!important;
11
+ border-color: #fff !important;
12
+ border-radius: @border-radius-small!important;
12
13
 
13
14
  .ant-input {
14
- background-color: @background-color-base;
15
+ background-color: @background-color-base!important;
15
16
  }
16
17
 
17
18
  &:hover {
18
- border-color: @primary-color;
19
+ border-color: @primary-color!important;
20
+ }
21
+
22
+ &.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless):not(.ant-input-affix-wrapper-focused).ant-input-affix-wrapper,
23
+ &.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless):not(.ant-input-affix-wrapper-focused).ant-input-affix-wrapper:hover {
24
+ background-color: @background-color-base!important;
19
25
  }
20
26
  }
21
27
 
22
28
  .ant-input-affix-wrapper-focused {
23
- background-color: #fff;
24
- border-color: @primary-color;
29
+ background-color: #fff !important;
30
+ border-color: @primary-color!important;
25
31
 
26
32
  .ant-input {
27
- background-color: #fff;
33
+ background-color: #fff !important;
28
34
  }
29
35
  }
30
36
 
31
37
  // 输入框
32
38
  .ant-input {
33
- background-color: @background-color-base;
34
- border-color: @background-color-base;
35
- border-radius: @border-radius-small;
39
+ background-color: @background-color-base!important;
40
+ border-color: @background-color-base!important;
41
+ border-radius: @border-radius-small!important;
36
42
 
37
43
  &:focus,
38
44
  &-focused {
39
- background-color: #fff;
40
- box-shadow: 0 0 0 4px @primary-1;
45
+ background-color: #fff !important;
46
+ box-shadow: 0 0 0 4px @primary-1!important;
41
47
  }
42
- }
43
-
44
- .ant-input-group-addon {
45
- background-color: @background-color-base;
46
- }
47
-
48
- .ant-btn-default {
49
- border-radius: 4px;
50
-
51
- &:hover,
52
- &:active,
53
- &:focus {
54
- .__default-hover();
48
+ &.ant-input-status-error {
49
+ border-color: @error-color !important;
55
50
  }
56
51
  }
57
52
 
58
- .ant-btn-primary {
59
- border-radius: @border-radius-small;
60
- }
61
-
62
- .ant-btn-sm {
63
- padding: 0 5px;
64
- font-size: 12px;
53
+ .ant-input-group-addon {
54
+ color: @text-color-secondary!important;
55
+ background-color: @background-color-base!important;
65
56
  }
66
57
 
67
58
  .ant-select-dropdown {
68
- .__select-panel();
59
+ .__select-panel() !important;
69
60
  }
70
61
 
71
62
  // 选择框下拉选项
72
63
  .ant-select-item {
73
- height: @height-lg;
74
- padding: 10px 8px;
75
- border-radius: @border-radius-normal;
64
+ height: @height-lg!important;
65
+ padding: 0 @padding-sm!important;
66
+ border-radius: @border-radius-normal!important;
76
67
 
77
68
  &:hover:not(.ant-select-item-option-disabled, .ant-select-item-option-selected) {
78
- .__default-hover();
69
+ .__default-hover() !important;
79
70
  }
80
71
 
81
72
  &.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
82
- color: #fff;
83
- font-weight: 400;
84
- background: @primary-color;
73
+ color: #fff !important;
74
+ font-weight: 400 !important;
75
+ background: @primary-color!important;
85
76
  }
86
77
  }
87
78
 
88
79
  .ant-dropdown-menu {
89
- .__select-panel();
80
+ .__select-panel() !important;
90
81
 
91
82
  .ant-dropdown-menu-item,
92
83
  .ant-dropdown-menu-submenu-title {
93
- .__select-option();
84
+ .__select-option() !important;
94
85
 
95
86
  &.active {
96
- color: #fff;
97
- background: @primary-color;
87
+ color: #fff !important;
88
+ background: @primary-color!important;
98
89
  }
99
90
 
100
91
  .ant-dropdown-menu-title-content {
101
- .__default-overflow();
92
+ .__default-overflow() !important;
102
93
  }
103
94
  }
104
95
 
@@ -106,19 +97,19 @@
106
97
  &.active,
107
98
  &.active:hover {
108
99
  .ant-dropdown-menu-submenu-title {
109
- background: @primary-color;
100
+ background: @primary-color!important;
110
101
 
111
102
  span {
112
- color: #fff;
103
+ color: #fff !important;
113
104
  }
114
105
  }
115
106
  }
116
107
 
117
108
  &.ant-dropdown-menu-submenu-active .ant-dropdown-menu-submenu-title {
118
- .__default-hover();
109
+ .__default-hover() !important;
119
110
 
120
111
  span {
121
- color: @primary-color;
112
+ color: @primary-color!important;
122
113
  }
123
114
  }
124
115
  }
@@ -128,41 +119,49 @@
128
119
 
129
120
  /*日历文本框*/
130
121
  .ant-picker {
131
- border-radius: @border-radius-small;
122
+ border-radius: @border-radius-small!important;
123
+
124
+ span {
125
+ color: @text-color-secondary!important;
126
+ }
127
+
128
+ .ant-picker-input > input {
129
+ color: @text-color!important;
130
+ }
132
131
 
133
132
  &:hover,
134
133
  &.ant-picker-focused {
135
- .__default-hover();
136
- border-color: @border-color-base;
137
- box-shadow: none;
134
+ .__default-hover() !important;
135
+ border-color: @border-color-base!important;
136
+ box-shadow: none !important;
138
137
 
139
138
  span,
140
139
  input {
141
- color: @primary-color;
140
+ color: @primary-color!important;
142
141
  }
143
142
  }
144
143
 
145
144
  .ant-picker-active-bar {
146
- display: none;
145
+ display: none !important;
147
146
  }
148
147
  }
149
148
 
150
149
  /*日历下拉框*/
151
150
  .ant-picker-dropdown {
152
151
  .ant-picker-cell {
153
- min-width: 30px;
154
- padding: 0;
152
+ min-width: 30px !important;
153
+ padding: 0 !important;
155
154
 
156
155
  &::before {
157
- height: 30px;
156
+ height: 30px !important;
158
157
  }
159
158
 
160
159
  /*禁止选择*/
161
160
  &.ant-picker-cell-disabled {
162
- color: @disabled-color;
161
+ color: @disabled-color!important;
163
162
 
164
163
  &::before {
165
- background: #fff;
164
+ background: #fff !important;
166
165
  }
167
166
  }
168
167
 
@@ -170,32 +169,32 @@
170
169
  &.ant-picker-cell-today {
171
170
  &.ant-picker-cell-selected {
172
171
  .ant-picker-cell-inner::before {
173
- background: #fff;
172
+ background: #fff !important;
174
173
  }
175
174
  }
176
175
 
177
176
  .ant-picker-cell-inner::before {
178
- position: absolute;
179
- top: auto;
180
- bottom: 4px;
181
- left: 50%;
182
- width: 6px;
183
- height: 1.5px;
184
- background: @primary-color;
185
- border: none;
186
- border-radius: 0.5px;
187
- transform: translateX(-50%);
188
- content: '';
177
+ position: absolute !important;
178
+ top: auto !important;
179
+ bottom: 4px !important;
180
+ left: 50% !important;
181
+ width: 6px !important;
182
+ height: 1.5px !important;
183
+ background: @primary-color!important;
184
+ border: none !important;
185
+ border-radius: 0.5px !important;
186
+ transform: translateX(-50%) !important;
187
+ content: '' !important;
189
188
  }
190
189
  }
191
190
 
192
191
  .ant-picker-cell-inner {
193
- min-width: 30px;
194
- height: 30px;
195
- line-height: 28px;
196
- text-align: center;
197
- border: 1px solid transparent;
198
- border-radius: @border-radius-large;
192
+ min-width: 30px !important;
193
+ height: 30px !important;
194
+ line-height: 28px !important;
195
+ text-align: center !important;
196
+ border: 1px solid transparent !important;
197
+ border-radius: @border-radius-large!important;
199
198
  }
200
199
 
201
200
  /*日期hover*/
@@ -203,8 +202,8 @@
203
202
  &:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
204
203
  &:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end)
205
204
  .ant-picker-cell-inner {
206
- background-color: transparent;
207
- border: 1px solid @primary-color;
205
+ background-color: transparent !important;
206
+ border: 1px solid @primary-color!important;
208
207
  }
209
208
  }
210
209
  }
@@ -215,7 +214,7 @@
215
214
  .ant-picker-cell-inner,
216
215
  .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start)
217
216
  .ant-picker-cell-inner {
218
- border-radius: 50%;
217
+ border-radius: 50% !important;
219
218
  }
220
219
 
221
220
  /*日期范围每行最后一个和第一个添加border-radius*/
@@ -223,13 +222,13 @@
223
222
  .ant-picker-cell-in-view:not(.ant-picker-cell-selected) {
224
223
  &:first-child {
225
224
  &.ant-picker-cell-in-range::before {
226
- border-radius: @border-radius-small 0 0 @border-radius-small;
225
+ border-radius: @border-radius-small 0 0 @border-radius-small!important;
227
226
  }
228
227
  }
229
228
 
230
229
  &:last-child {
231
230
  &.ant-picker-cell-in-range::before {
232
- border-radius: 0 @border-radius-small @border-radius-small 0;
231
+ border-radius: 0 @border-radius-small @border-radius-small 0 !important;
233
232
  }
234
233
  }
235
234
  }
@@ -237,7 +236,7 @@
237
236
 
238
237
  /*日期范围内背景色*/
239
238
  .ant-picker-cell-in-range::before {
240
- background: @primary-1;
239
+ background: @primary-1!important;
241
240
  }
242
241
 
243
242
  /*日期范围内的hover效果-背景不变*/
@@ -252,7 +251,7 @@
252
251
  .ant-picker-panel
253
252
  > :not(.ant-picker-date-panel)
254
253
  .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
255
- background: @primary-1;
254
+ background: @primary-1!important;
256
255
  }
257
256
 
258
257
  /*日期范围内的hover效果*/
@@ -261,10 +260,10 @@
261
260
  .ant-picker-date-panel
262
261
  .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end {
263
262
  .ant-picker-cell-inner {
264
- border: 1px solid @primary-color;
263
+ border: 1px solid @primary-color!important;
265
264
 
266
265
  &::after {
267
- background-color: transparent;
266
+ background-color: transparent !important;
268
267
  }
269
268
  }
270
269
  }
@@ -273,63 +272,63 @@
273
272
  // 弹窗
274
273
 
275
274
  .ant-modal-content {
276
- border-radius: @border-radius-normal;
275
+ border-radius: @border-radius-normal!important;
277
276
 
278
277
  .ant-modal-footer {
279
- padding: 0 24px 24px 24px;
280
- border-top: none;
278
+ padding: 0 24px 24px 24px !important;
279
+ border-top: none !important;
281
280
 
282
281
  .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
283
- margin-left: 16px;
282
+ margin-left: 16px !important;
284
283
  }
285
284
  }
286
285
 
287
286
  .ant-modal-header {
288
- padding-top: 24px;
289
- border-bottom: none;
290
- border-radius: @border-radius-normal @border-radius-normal 0 0;
287
+ padding-top: 24px !important;
288
+ border-bottom: none !important;
289
+ border-radius: @border-radius-normal @border-radius-normal 0 0 !important;
291
290
 
292
291
  .ant-modal-title {
293
- color: #000;
294
- font-weight: 500;
295
- font-size: 24px;
296
- line-height: 24px;
292
+ color: #000 !important;
293
+ font-weight: 500 !important;
294
+ font-size: 24px !important;
295
+ line-height: 24px !important;
297
296
  }
298
297
  }
299
298
 
300
299
  .ant-modal-body {
301
- max-height: 400px;
302
- padding-bottom: 0;
303
- overflow: auto;
300
+ max-height: 400px !important;
301
+ padding-bottom: 0 !important;
302
+ overflow: auto !important;
304
303
  }
305
304
  }
306
305
 
307
306
  // 分页
308
307
  .ant-pagination {
309
- margin: 0;
310
- margin-top: 20px;
308
+ margin: 0 !important;
309
+ margin-top: 20px !important;
311
310
 
312
311
  .ant-select:not(.ant-select-customize-input) .ant-select-selector {
313
- border-radius: @border-radius-small;
312
+ border-radius: @border-radius-small!important;
314
313
  }
315
314
 
316
315
  .ant-pagination-item {
317
- color: @text-color-secondary;
318
- background: @background-color-base;
319
- border: none;
320
- border-radius: @border-radius-small;
316
+ color: @text-color-secondary!important;
317
+ background: @background-color-base!important;
318
+ border: none !important;
319
+ border-radius: @border-radius-small!important;
321
320
 
322
321
  &.ant-pagination-item-active {
323
- background: @primary-color;
322
+ background: @primary-color!important;
324
323
 
325
324
  a {
326
- color: @white;
325
+ color: @white!important;
327
326
  }
328
327
  }
329
328
 
330
329
  &:not(.ant-pagination-item-active):hover {
331
330
  a {
332
- color: @primary-color;
331
+ color: @primary-color!important;
333
332
  }
334
333
  }
335
334
  }
@@ -337,55 +336,59 @@
337
336
  .ant-pagination-prev,
338
337
  .ant-pagination-next {
339
338
  .ant-pagination-item-link {
340
- color: @text-color-secondary;
341
- background: @background-color-base;
342
- border: none;
343
- border-radius: @border-radius-small;
339
+ color: @text-color-secondary!important;
340
+ background: @background-color-base!important;
341
+ border: none !important;
342
+ border-radius: @border-radius-small!important;
344
343
  }
345
344
 
346
345
  &:not(.ant-pagination-disabled) .ant-pagination-item-link:hover {
347
- color: @primary-color;
346
+ color: @primary-color!important;
348
347
  }
349
348
  }
350
349
 
351
350
  .ant-pagination-options-quick-jumper input {
352
- border-radius: @border-radius-small;
351
+ border-radius: @border-radius-small!important;
353
352
  }
354
353
  }
355
354
 
356
355
  // 表格
357
356
  .ant-table {
358
- overflow: hidden;
359
- color: @text-color;
360
- border: 1px solid @border-color-base;
361
- border-radius: @border-radius-normal;
357
+ overflow: hidden !important;
358
+ color: @text-color!important;
359
+ border: 1px solid @border-color-base!important;
360
+ border-radius: @border-radius-normal!important;
362
361
 
363
362
  .ant-table-container {
364
363
  .ant-table-thead > tr > th {
365
- color: @text-color;
366
- line-height: 16px;
367
- background: @background-color-base;
368
- border: none;
364
+ color: @text-color!important;
365
+ line-height: 16px !important;
366
+ background: @background-color-base!important;
367
+ border: none !important;
369
368
 
370
369
  &::before {
371
370
  width: 0 !important;
372
371
  }
373
372
 
374
373
  &.ant-table-cell-fix-left-last {
375
- border-right: 1px solid @border-color-base;
374
+ border-right: 1px solid @border-color-base!important;
376
375
  }
377
376
  }
378
377
 
378
+ .ant-table-tbody {
379
+ color: @text-color-secondary!important;
380
+ }
381
+
379
382
  .ant-table-tbody > tr:not(:last-child) > td {
380
- border-bottom: 1px solid @border-color-base;
383
+ border-bottom: 1px solid @border-color-base!important;
381
384
  }
382
385
 
383
386
  .ant-table-tbody > tr > td {
384
- line-height: 15px;
387
+ line-height: 15px !important;
385
388
 
386
389
  &.ant-table-cell-fix-left {
387
390
  &.ant-table-cell-fix-left-last {
388
- border-right: 1px solid @border-color-base;
391
+ border-right: 1px solid @border-color-base!important;
389
392
  }
390
393
  }
391
394
  }
@@ -393,6 +396,47 @@
393
396
 
394
397
  .ant-table-tbody > tr.ant-table-row:hover > td,
395
398
  .ant-table-tbody > tr > td.ant-table-cell-row-hover {
396
- background: @primary-1;
399
+ background: @primary-1!important;
397
400
  }
398
401
  }
402
+
403
+ /* 提示框 */
404
+ .ant-tooltip-inner {
405
+ padding: @padding-sm @padding-md!important;
406
+ border-radius: @border-radius-normal!important;
407
+ }
408
+
409
+ .ant-form-item-label > label {
410
+ color: @text-color-secondary!important;
411
+ }
412
+
413
+ .ant-btn {
414
+ border-radius: @border-radius-small!important;
415
+ }
416
+
417
+ .ant-btn-text {
418
+ background-color: @background-color-gray!important;
419
+ border: none !important;
420
+
421
+ &:hover {
422
+ color: @text-color!important;
423
+ background-color: @btn-text-hover-bg!important;
424
+ }
425
+
426
+ &:focus {
427
+ color: @text-color!important;
428
+ background-color: #94a6ce !important;
429
+ }
430
+ }
431
+
432
+ .ant-btn-primary {
433
+ color: #fff !important;
434
+ }
435
+
436
+ .ant-btn-ghost {
437
+ color: @text-color-secondary!important;
438
+ }
439
+
440
+ .ant-form-item-explain-error {
441
+ color: @error-color!important;
442
+ }
@@ -2,7 +2,7 @@
2
2
 
3
3
  @border-radius-sx: 2px;
4
4
  @border-radius-small: 4px;
5
- @border-radius-normal: 10px;
5
+ @border-radius-normal: 8px;
6
6
  @border-radius-large: 20px;
7
7
  @option-height: @height-lg;
8
8
  @background-color-base: #fafafb;
@@ -19,3 +19,10 @@
19
19
  @text-color: #021429;
20
20
  // 次要
21
21
  @text-color-secondary: #5f6085;
22
+ // 中性色/重要-文标题2
23
+ @tooltip-bg: #242541;
24
+ // 错误颜色
25
+ @error-color: #fb5547;
26
+
27
+ // text-btn hover背景色
28
+ @btn-text-hover-bg: #cacdd4;
@@ -1,5 +1,10 @@
1
1
  declare const _default: {
2
2
  'primary-color': string;
3
3
  'border-color-base': string;
4
+ 'primary-1': string;
5
+ 'text-color': string;
6
+ 'text-color-secondary': string;
7
+ 'error-color': string;
8
+ 'warning-color': string;
4
9
  };
5
10
  export default _default;
@@ -1,4 +1,9 @@
1
1
  export default {
2
2
  'primary-color': '#165dff',
3
- 'border-color-base': '#ECEDF0'
3
+ 'border-color-base': '#ECEDF0',
4
+ 'primary-1': '#E8EFFF',
5
+ 'text-color': '#021429',
6
+ 'text-color-secondary': '#5f6085',
7
+ 'error-color': '#FB5547',
8
+ 'warning-color': '#FD9F41'
4
9
  };
@@ -101,6 +101,7 @@ var StringList = function StringList(props) {
101
101
 
102
102
  formData = transformRequest(requestData);
103
103
  request(Apis.esQuery, {
104
+ method: 'post',
104
105
  data: formData,
105
106
  headers: {
106
107
  'Content-Type': 'application/x-www-form-urlencoded'
@@ -12,9 +12,11 @@
12
12
  display: none;
13
13
  flex: none;
14
14
  width: @icon-width;
15
+ color: @text-color-secondary;
15
16
  line-height: 2em;
16
17
  text-align: center;
17
18
  border-radius: @border-radius-small;
19
+
18
20
  &:hover {
19
21
  .__error-hover();
20
22
  }
package/es/config.d.ts ADDED
@@ -0,0 +1,15 @@
1
+ import { RequestOptionsInit } from 'umi-request';
2
+ import { ApiResult } from './utils/type';
3
+ export interface RequestConfig {
4
+ optionsWrapper?: (url: string, options?: RequestOptionsInit) => {
5
+ url: string;
6
+ options?: RequestOptionsInit;
7
+ };
8
+ responseWrapper?: (url: string, apiResult: ApiResult<any>) => ApiResult<any>;
9
+ }
10
+ export interface GlobalConfig {
11
+ request?: RequestConfig;
12
+ }
13
+ export declare let globalConfig: GlobalConfig;
14
+ declare function setGlobalConfig(config: GlobalConfig): void;
15
+ export default setGlobalConfig;
package/es/config.js ADDED
@@ -0,0 +1,8 @@
1
+ import _ from 'lodash';
2
+ export var globalConfig = {};
3
+
4
+ function setGlobalConfig(config) {
5
+ globalConfig = _.assignIn(config, globalConfig);
6
+ }
7
+
8
+ export default setGlobalConfig;
@@ -3,6 +3,7 @@ declare const Apis: {
3
3
  addScene: string;
4
4
  esQuery: string;
5
5
  addPanel: string;
6
+ updatePanelTarget: string;
6
7
  queryPanelGroup: string;
7
8
  };
8
9
  export default Apis;
@@ -2,7 +2,8 @@ var Apis = {
2
2
  querySceneGroup: '/scene/queryScenesOfGroup.jsp',
3
3
  addScene: '/scene/addScene.jsp',
4
4
  esQuery: '/data/queryEsData.jsp',
5
- addPanel: '/web/sdk/v2/panel/addPanelElement',
5
+ addPanel: '/apppanel/addPanelElement.jsp',
6
+ updatePanelTarget: '/apppanel/updateElemet.jsp',
6
7
  queryPanelGroup: '/apppanel/panels.jsp'
7
8
  };
8
9
  export default Apis;
@@ -1,4 +1,5 @@
1
1
  @import '../../assets/styles/inner.less';
2
+
2
3
  .biz-date-picker {
3
4
  display: flex;
4
5
 
@@ -10,15 +11,18 @@
10
11
  display: flex;
11
12
  margin: 0 16px;
12
13
  }
14
+
13
15
  .biz-select-handle {
14
16
  padding: 0;
15
17
  }
18
+
16
19
  &-item {
17
20
  display: flex;
18
21
  align-items: center;
19
22
  justify-content: center;
20
23
  width: 58px;
21
24
  height: @height-base;
25
+ color: @text-color-secondary;
22
26
  border: 1px solid @border-color-base;
23
27
  cursor: pointer;
24
28