@zgfe/business-lib 1.0.24-userTag.0 → 1.0.24

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 (64) hide show
  1. package/es/addToPanel/components/addPanel.d.ts +2 -1
  2. package/es/addToPanel/index.js +17 -2
  3. package/es/assets/iconfont/demo_index.html +97 -5
  4. package/es/assets/iconfont/iconfont.css +19 -3
  5. package/es/assets/iconfont/iconfont.js +12 -12
  6. package/es/assets/iconfont/iconfont.json +28 -0
  7. package/es/assets/iconfont/iconfont.ttf +0 -0
  8. package/es/assets/iconfont/iconfont.woff +0 -0
  9. package/es/assets/iconfont/iconfont.woff2 +0 -0
  10. package/es/assets/styles/chunks.less +2 -2
  11. package/es/assets/styles/resetAntd.less +4 -4
  12. package/es/assets/styles/variable.less +2 -1
  13. package/es/attributeSelector/types.d.ts +1 -0
  14. package/es/attributeSelector/util.js +2 -1
  15. package/es/chart/util/color.js +1 -1
  16. package/es/context/index.d.ts +12 -0
  17. package/es/datePicker/demo/index.js +11 -2
  18. package/es/datePicker/index.js +21 -7
  19. package/es/datePicker/styles/index.less +1 -1
  20. package/es/datePicker/types.d.ts +2 -1
  21. package/es/dnd/demo/data.js +3 -2
  22. package/es/dnd/demo/styles/index.less +1 -1
  23. package/es/dnd/index.js +3 -1
  24. package/es/dnd/item.js +13 -4
  25. package/es/eventSelector/listPanel.js +40 -23
  26. package/es/eventSelector/option.d.ts +2 -1
  27. package/es/eventSelector/option.js +6 -1
  28. package/es/eventSelector/styles/index.less +6 -0
  29. package/es/eventSelector/types.d.ts +1 -1
  30. package/es/icon/iconFont.d.ts +1 -0
  31. package/es/icon/iconFont.js +1 -0
  32. package/es/index.d.ts +3 -2
  33. package/es/index.js +3 -2
  34. package/es/{analysisLayout → layout/analysisLayout}/demo/index.d.ts +0 -0
  35. package/es/{analysisLayout → layout/analysisLayout}/demo/index.js +0 -0
  36. package/es/{analysisLayout → layout/analysisLayout}/demo/index.less +0 -0
  37. package/es/{analysisLayout → layout/analysisLayout}/index.d.ts +0 -0
  38. package/es/{analysisLayout → layout/analysisLayout}/index.js +1 -1
  39. package/es/{analysisLayout → layout/analysisLayout}/index.less +12 -12
  40. package/es/layout/detail/demo/index.d.ts +2 -0
  41. package/es/layout/detail/demo/index.js +12 -0
  42. package/es/layout/detail/index.d.ts +9 -0
  43. package/es/layout/detail/index.js +24 -0
  44. package/es/layout/detail/index.less +28 -0
  45. package/es/mock/event.js +37 -0
  46. package/es/select/index.js +1 -1
  47. package/es/select/styles/index.less +1 -1
  48. package/es/targetConditionGroup/components/targetDimension.js +3 -1
  49. package/es/targetConditionGroup/demo/index.js +2 -2
  50. package/es/targetConditionGroup/index.js +46 -14
  51. package/es/targetSelector/demo/index.js +3 -1
  52. package/es/targetSelector/styles/index.less +1 -1
  53. package/es/targetSelector/types.d.ts +7 -17
  54. package/es/targetSelector/types.js +16 -1
  55. package/es/userCondition/conditionTypeList.js +5 -1
  56. package/es/userCondition/styles/conditionTypeList.less +4 -5
  57. package/es/userCondition/styles/conditionWrap.less +0 -1
  58. package/es/utils/type.d.ts +1 -0
  59. package/package.json +2 -2
  60. package/es/commonStyle/icon.less +0 -194
  61. package/es/commonStyle/index.less +0 -3
  62. package/es/commonStyle/select.less +0 -92
  63. package/es/commonStyle/theme.less +0 -523
  64. package/es/commonStyle/variable.less +0 -127
@@ -1,523 +0,0 @@
1
- @import (reference) './variable.less';
2
-
3
- /* Select-文本框样式重构 */
4
- // .ant-select:not(.ant-select-customize-input) {
5
- // color: @fontColor;
6
- // font-size: @fontSize;
7
-
8
- // &.small {
9
- // .ant-select-selector {
10
- // height: @inputHeight;
11
- // line-height: @inputHeight;
12
-
13
- // .ant-select-selection-item,
14
- // .ant-select-selection-placeholder {
15
- // line-height: @inputHeight;
16
- // }
17
- // }
18
- // }
19
-
20
- // &.middle {
21
- // .ant-select-selector {
22
- // height: @inputHeightNormal;
23
- // line-height: @inputHeightNormal;
24
-
25
- // .ant-select-selection-item,
26
- // .ant-select-selection-placeholder {
27
- // line-height: @inputHeightNormal;
28
- // }
29
- // }
30
- // }
31
-
32
- // &.large {
33
- // .ant-select-selector {
34
- // height: @inputHeightLarge;
35
- // line-height: @inputHeightLarge;
36
-
37
- // .ant-select-selection-item,
38
- // .ant-select-selection-placeholder {
39
- // line-height: @inputHeightLarge;
40
- // }
41
- // }
42
- // }
43
-
44
- // .ant-select-selection-item {
45
- // color: @fontColor;
46
-
47
- // span {
48
- // color: @fontColor;
49
- // }
50
- // }
51
-
52
- // &.ant-select-borderless {
53
- // &.biz-gray .ant-select-selector {
54
- // background-color: @grayColor;
55
- // }
56
-
57
- // .ant-select-arrow {
58
- // display: none;
59
- // }
60
- // &:hover,
61
- // &.ant-select-focused:not(.ant-select-disabled) {
62
- // .ant-select-selector {
63
- // color: @themeColor;
64
- // background: @hoverBgColor;
65
- // box-shadow: none;
66
-
67
- // .ant-select-selection-item {
68
- // color: @themeColor;
69
-
70
- // span {
71
- // color: @themeColor;
72
- // }
73
- // }
74
- // }
75
-
76
- // .ant-select-arrow {
77
- // display: inline-block;
78
- // color: @themeColor !important;
79
- // }
80
- // }
81
- // }
82
-
83
- // &:not(.ant-select-disabled).biz-borderless {
84
- // .ant-select-selector {
85
- // background-color: @grayColor;
86
- // border-color: @grayColor;
87
- // }
88
-
89
- // .ant-select-arrow {
90
- // display: none;
91
- // }
92
- // &.ant-select-focused,
93
- // &:hover {
94
- // .ant-select-selector {
95
- // color: @themeColor;
96
- // background: @hoverBgColor;
97
- // border-color: @hoverBgColor;
98
- // box-shadow: none;
99
-
100
- // .ant-select-selection-item {
101
- // color: @themeColor;
102
-
103
- // span {
104
- // color: @themeColor;
105
- // }
106
- // }
107
- // }
108
- // .ant-select-arrow {
109
- // display: inline-block;
110
- // color: @themeColor !important;
111
- // }
112
- // }
113
- // }
114
-
115
- // & .ant-select-selector {
116
- // padding: @inputPadding !important;
117
- // border-radius: @boxRadius !important;
118
- // }
119
-
120
- // &:not(.ant-select-disabled, .biz-select-theme-gray, .ant-select-borderless, .biz-borderless, .biz-multi-select) {
121
- // .ant-select-selector {
122
- // background-color: #fff;
123
- // border: @boxBorder !important;
124
- // }
125
- // &.ant-select-focused,
126
- // &:hover {
127
- // .ant-select-selector {
128
- // color: @themeColor;
129
- // background: @hoverBgColor;
130
- // border-color: @borderColor;
131
- // box-shadow: none;
132
-
133
- // .ant-select-selection-item {
134
- // color: @themeColor;
135
-
136
- // span {
137
- // color: @themeColor;
138
- // }
139
- // }
140
- // }
141
-
142
- // .ant-select-arrow {
143
- // display: inline-block;
144
- // color: @themeColor !important;
145
- // }
146
- // }
147
- // }
148
-
149
- // &.biz-select-theme-gray {
150
- // .ant-select-selector {
151
- // background-color: @grayBgColor;
152
- // border-color: @grayBgColor;
153
- // }
154
- // &:hover {
155
- // .ant-select-selector {
156
- // border-color: @themeColor;
157
- // }
158
- // }
159
- // &.ant-select-focused:not(.ant-select-disabled) {
160
- // .ant-select-selector {
161
- // background: #fff !important;
162
- // border-color: @themeColor !important;
163
- // box-shadow: 0 0 0 4px #e8efff !important;
164
- // }
165
- // }
166
- // }
167
- // }
168
-
169
- // .ant-select-arrow {
170
- // height: 16px;
171
- // margin-top: -8px;
172
- // color: @iconColor;
173
- // font-size: 16px;
174
- // }
175
-
176
- // .ant-select-selection-placeholder {
177
- // color: @defaultGray;
178
- // }
179
-
180
- // /* Select-下拉框样式重构 */
181
- // .ant-select-dropdown {
182
- // width: @dropdownWidth;
183
- // max-height: @dropdownHeight;
184
- // padding: @dropdownPadding !important;
185
- // border-radius: @boxRadius2 !important;
186
- // box-shadow: @boxShadow !important;
187
-
188
- // &.small {
189
- // width: @dropdownWidth2;
190
- // }
191
- // }
192
-
193
- // .ant-dropdown-menu {
194
- // width: @dropdownWidth2;
195
- // padding: @dropdownPadding !important;
196
- // border-radius: @boxRadius2 !important;
197
- // box-shadow: @boxShadow !important;
198
- // }
199
-
200
- // .ant-dropdown.large {
201
- // .ant-dropdown-menu {
202
- // width: @dropdownWidth3;
203
- // }
204
- // }
205
-
206
- // .ant-dropdown-menu-submenu {
207
- // .ant-dropdown-menu {
208
- // width: 120px;
209
- // height: 208px;
210
- // }
211
- // }
212
-
213
- // .ant-dropdown-menu-submenu-vertical {
214
- // &:hover {
215
- // .box-hover();
216
-
217
- // .ant-dropdown-menu-submenu-title {
218
- // color: @themeColor;
219
- // background: transparent;
220
-
221
- // .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon {
222
- // color: @themeColor;
223
- // }
224
- // }
225
- // }
226
-
227
- // .ant-dropdown-menu-submenu-title {
228
- // padding: 0;
229
- // }
230
- // }
231
-
232
- // .ant-select-item-empty {
233
- // color: @fontColor;
234
- // }
235
-
236
- // .ant-select-item,
237
- // .ant-list-item,
238
- // .ant-dropdown-menu-item,
239
- // .ant-dropdown-menu-submenu-vertical,
240
- // .ant-cascader-menu-item {
241
- // height: @selectItemHeight !important;
242
- // padding: @selectItemPadding !important;
243
- // color: @fontColor;
244
- // font-weight: @fontWeight;
245
- // font-size: @fontSize;
246
- // line-height: 20px;
247
- // border-radius: @boxRadius2 !important;
248
- // }
249
-
250
- // .ant-select-item-option-active:not(.ant-select-item-option-disabled),
251
- // .ant-cascader-menu-item:not(.ant-cascader-menu-item-disabled, .ant-cascader-menu-item-active):hover {
252
- // color: @hoverColor !important;
253
- // background-color: @hoverBgColor !important;
254
-
255
- // .biz-icon {
256
- // color: @hoverColor;
257
- // }
258
- // }
259
-
260
- // .ant-select-item-option-selected:not(.ant-select-item-option-disabled),
261
- // .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled) {
262
- // color: @activeColor !important;
263
- // font-weight: @fontWeight !important;
264
- // background-color: @activeBgColor !important;
265
-
266
- // .biz-icon {
267
- // color: @activeColor;
268
- // }
269
- // }
270
-
271
- // .ant-select-item-option-disabled {
272
- // color: @disableColor !important;
273
- // background: #fff;
274
- // }
275
-
276
- // .ant-cascader-menu-item-active {
277
- // .ant-cascader-menu-item-expand-icon {
278
- // color: @activeColor;
279
- // }
280
- // }
281
-
282
- // .ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {
283
- // color: @activeColor !important;
284
- // background-color: @activeBgColor !important;
285
- // }
286
-
287
- // .ant-dropdown-menu-item {
288
- // &:not(.box-active, .ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
289
- // .box-hover();
290
- // }
291
-
292
- // &.box-active:not(.ant-dropdown-menu-item-disabled, .ant-dropdown-menu-submenu-title-disabled):hover {
293
- // .box-active();
294
- // }
295
-
296
- // .ant-dropdown-menu-item-icon {
297
- // margin-right: 15px;
298
- // font-size: @iconSize;
299
- // }
300
- // &.ant-dropdown-menu-item-disabled {
301
- // color: @disableColor;
302
- // }
303
- // }
304
-
305
- // /* input-search/clear */
306
-
307
- // .ant-input-affix-wrapper {
308
- // height: @inputHeightNormal !important;
309
- // line-height: @inputHeightNormal !important;
310
- // background-color: @grayBgColor !important;
311
- // border-color: transparent !important;
312
- // border-radius: @boxRadius !important;
313
-
314
- // &.biz-search-box {
315
- // margin-bottom: 12px;
316
- // border-radius: @boxRadius2;
317
- // }
318
- // &.small {
319
- // height: @inputHeight !important;
320
- // line-height: @inputHeight !important;
321
- // }
322
-
323
- // .ant-input {
324
- // height: 100%;
325
- // padding: 0;
326
- // background-color: transparent !important;
327
- // border: none;
328
- // outline: none;
329
- // box-shadow: none;
330
- // }
331
-
332
- // &:not(.ant-input-affix-wrapper-disabled):hover {
333
- // border-color: @themeColor !important;
334
- // }
335
-
336
- // &:focus,
337
- // &.ant-input-affix-wrapper-focused {
338
- // background: #fff !important;
339
- // border-color: @themeColor !important;
340
- // box-shadow: 0 0 0 4px #e8efff !important;
341
- // }
342
-
343
- // .ant-input-suffix span {
344
- // color: @iconColor;
345
- // font-size: 16px;
346
- // }
347
-
348
- // .ant-input-clear-icon span {
349
- // width: 16px;
350
- // height: 16px;
351
- // background-color: transparent;
352
- // border-radius: 50%;
353
-
354
- // &:hover {
355
- // background: @grayColor;
356
- // }
357
- // }
358
- // }
359
-
360
- // /* 高亮 */
361
- // .biz-light-height {
362
- // color: @themeColor;
363
- // }
364
-
365
- // .ant-select-item-option-selected {
366
- // .biz-light-height {
367
- // color: inherit;
368
- // }
369
- // }
370
-
371
- // .ant-tooltip {
372
- // .ant-tooltip-inner {
373
- // border-radius: @boxRadius2;
374
- // }
375
-
376
- // &.biz-tooltip {
377
- // width: auto;
378
-
379
- // .ant-tooltip-inner {
380
- // padding: 4px;
381
- // color: @fontColor;
382
- // background-color: #fff;
383
- // border-radius: 4px;
384
- // box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
385
- // }
386
-
387
- // .ant-tooltip-arrow-content {
388
- // background-color: #fff;
389
- // --antd-arrow-background-color: #fff;
390
- // }
391
- // }
392
- // }
393
-
394
- // .biz-title {
395
- // margin-bottom: 12px;
396
- // padding: 0 !important;
397
- // color: @titleColor;
398
- // font-weight: 600;
399
- // font-size: @fontSize;
400
- // }
401
-
402
- // .ant-form-item-explain-error {
403
- // font-size: 12px;
404
- // }
405
-
406
- // /* radio */
407
-
408
- // .ant-radio {
409
- // color: @fontColor;
410
-
411
- // &.ant-radio-checked {
412
- // .ant-radio-inner {
413
- // background: #fff;
414
- // border: 5px solid @themeColor;
415
-
416
- // &::after {
417
- // background-color: #fff;
418
- // }
419
- // }
420
- // }
421
-
422
- // .ant-radio-inner {
423
- // width: 18px;
424
- // height: 18px;
425
- // border-radius: 50%;
426
- // }
427
- // }
428
-
429
- // .ant-radio-wrapper:hover .ant-radio,
430
- // .ant-radio:hover .ant-radio-inner,
431
- // .ant-radio-input:focus + .ant-radio-inner {
432
- // border-color: @themeColor;
433
- // }
434
-
435
- // .ant-radio-input:focus + .ant-radio-inner {
436
- // box-shadow: none;
437
- // }
438
-
439
- // .ant-radio-button-wrapper {
440
- // border: 1px solid @borderColor;
441
-
442
- // &:first-child {
443
- // border-left: 1px solid @borderColor;
444
- // }
445
-
446
- // &:not(:first-child)::before {
447
- // background-color: @borderColor;
448
- // }
449
-
450
- // &:not(.ant-radio-button-wrapper-checked, .ant-radio-button-wrapper-disabled):hover {
451
- // .box-hover();
452
-
453
- // .biz-icon {
454
- // color: @themeColor;
455
- // }
456
- // }
457
- // }
458
-
459
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
460
- // color: @themeColor;
461
- // background: @hoverBgColor;
462
- // border-color: @themeColor;
463
- // }
464
-
465
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {
466
- // background-color: @themeColor;
467
- // }
468
-
469
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {
470
- // border-color: @themeColor;
471
- // }
472
-
473
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover,
474
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {
475
- // color: @themeColor;
476
- // border-color: @themeColor;
477
- // }
478
-
479
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before,
480
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {
481
- // background-color: @hoverBgColor;
482
- // }
483
-
484
- // .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {
485
- // box-shadow: none;
486
- // }
487
-
488
- // .ant-radio-button-wrapper-disabled {
489
- // color: @disableColor;
490
- // background: #fafafb;
491
- // border-color: @borderColor;
492
- // cursor: not-allowed;
493
-
494
- // .biz-icon {
495
- // color: @disableColor;
496
- // }
497
- // }
498
-
499
- // .ant-radio-button-wrapper-disabled:first-child,
500
- // .ant-radio-button-wrapper-disabled:hover {
501
- // color: @disableColor;
502
- // background: #fafafb;
503
- // border-color: @borderColor;
504
- // }
505
-
506
- // .ant-radio-button-wrapper-disabled:first-child {
507
- // border-color: @borderColor;
508
- // }
509
-
510
- // .ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {
511
- // color: @disableColor;
512
- // background: #fafafb;
513
- // border-color: @borderColor;
514
- // box-shadow: none;
515
- // }
516
-
517
- // .ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {
518
- // border-right-color: @themeColor;
519
- // }
520
-
521
- // .mb-12 {
522
- // margin-bottom: 12px;
523
- // }
@@ -1,127 +0,0 @@
1
- /** 全局变量 **/
2
- @themeColor: #165dff;
3
- @borderColor: #ecedf0;
4
- @hoverBgColor: #e8efff;
5
- /*中性色/默认灰*/
6
- @defaultGray: #9797af;
7
- /* 字体颜色 */
8
- @fontColor: #021429;
9
- /* 中性色/次要-信息2 */
10
- @fontColor2: #242541;
11
- /* 中性色/次要-信息3 */
12
- @fontColor3: #5f6085;
13
-
14
- /* 中性色/gray-8背景色 */
15
- @grayBgColor: #fafafb;
16
- /*中性色/置灰-信息线框5*/
17
- /* 灰色*/
18
- @grayColor: #f6f6f6;
19
- @disableColor: #cacdd4;
20
- /*辅助色/错误/底色*/
21
- @errorColorHover: #fed5d1;
22
- @errorColor: #fb5547;
23
- /*box-shadow*/
24
- @boxShadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
25
-
26
- /* 标题颜色 */
27
- @titleColor: @fontColor3;
28
- /* 图标颜色 */
29
- @iconColor: @fontColor3;
30
- /* layout icon颜色 */
31
- @layoutIconColor: @fontColor2;
32
- /* hover背景色 */
33
- // @hoverBgColor: @hoverColor;
34
-
35
- /* hover字体颜色 */
36
- @hoverColor: @themeColor;
37
- /* active背景色 */
38
- @activeBgColor: @themeColor;
39
- /* active字体颜色 */
40
- @activeColor: #ffffff;
41
- /* 删除hover背景色 */
42
- @deleteHoverBgColor: @errorColorHover;
43
- /* 删除hover字体色 */
44
- @deleteHoverColor: @errorColor;
45
- /* 按钮 */
46
- @btnPrimaryBgColor: @themeColor;
47
- @btnPrimaryFontColor: #ffffff;
48
- /* border */
49
- @boxBorder: 1px solid @borderColor;
50
-
51
- /* 字体大小 */
52
- @fontSize: 14px;
53
- /* 图标大小 */
54
- @iconSize: 16px;
55
- /* 字体weight */
56
- @fontWeight: 400;
57
- /*下拉框宽度*/
58
- @dropdownWidth: 284px;
59
- /* 分析维度, 关系 */
60
- @dropdownWidth2: 120px;
61
- /*更多操作*/
62
- @dropdownWidth3: 200px;
63
- /* 指标下拉框= 200+284*/
64
- @dropdownHeight: 400px;
65
-
66
- /*输入框,下拉框高度*/
67
- @inputHeight: 32px;
68
- @inputHeightNormal: 40px;
69
- @inputHeightLarge: 48px;
70
-
71
- /*下拉选项高度*/
72
- @selectItemHeight: 40px;
73
- /*下拉选项内边距*/
74
- @selectItemPadding: 10px 8px;
75
- /* 下拉框外框 */
76
- @dropdownPadding: 8px;
77
- /* padding */
78
- @searchPadding: 24px;
79
- @contentPadding: 32px;
80
- @inputPadding: 0px 8px;
81
- /* 边框圆角 */
82
- @boxRadius: 4px;
83
- /* 特殊圆角 */
84
- @boxRadius2: 10px;
85
- /* icon圆角 */
86
- @iconRadius: 3px;
87
-
88
- .boxBg {
89
- color: @fontColor;
90
- background-color: #fff;
91
-
92
- &:hover:not(.box-active, .box-disabled) {
93
- color: @hoverColor;
94
- background-color: @hoverBgColor;
95
-
96
- .biz-icon {
97
- color: @hoverColor;
98
- }
99
- }
100
- }
101
-
102
- .box-hover {
103
- color: @hoverColor;
104
- background-color: @hoverBgColor;
105
-
106
- .biz-icon {
107
- color: @hoverColor;
108
- }
109
- }
110
-
111
- .box-active {
112
- color: @activeColor !important;
113
- background-color: @activeBgColor;
114
-
115
- .biz-icon {
116
- color: @activeColor;
117
- }
118
- .biz-light-height {
119
- color: #fff;
120
- }
121
- }
122
-
123
- .box-disabled {
124
- color: @fontColor !important;
125
- background-color: #f5f5f5;
126
- cursor: not-allowed !important;
127
- }