@zgfe/modules-dm 1.0.41 → 1.0.42-alpha.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 (36) hide show
  1. package/es/components/demo.js +1 -1
  2. package/es/index.d.ts +2 -3
  3. package/es/index.js +2 -3
  4. package/es/modules/{dataCollection → dataManage}/components/createVirtualDrawer.js +1 -1
  5. package/es/modules/{dataCollection → dataManage}/components/eventFilter/styles/index.less +1 -1
  6. package/es/modules/{dataCollection → dataManage}/components/eventGroupingDrawer.js +3 -3
  7. package/es/modules/{dataCollection → dataManage}/components/tablePlus.js +1 -1
  8. package/es/modules/{dataCollection → dataManage}/components/virtualTablePlus.js +3 -3
  9. package/es/modules/dataManage/index.d.ts +1 -16
  10. package/es/modules/dataManage/index.js +70 -22
  11. package/es/modules/dataManage/styles/index.less +834 -25
  12. package/package.json +2 -2
  13. package/README.md +0 -37
  14. package/es/modules/dataCollection/index.d.ts +0 -19
  15. package/es/modules/dataCollection/index.js +0 -99
  16. package/es/modules/dataCollection/styles/index.less +0 -832
  17. /package/es/modules/{dataCollection → dataManage}/collectionAttributeList.d.ts +0 -0
  18. /package/es/modules/{dataCollection → dataManage}/collectionAttributeList.js +0 -0
  19. /package/es/modules/{dataCollection → dataManage}/collectionEventList.d.ts +0 -0
  20. /package/es/modules/{dataCollection → dataManage}/collectionEventList.js +0 -0
  21. /package/es/modules/{dataCollection → dataManage}/components/createVirtualDrawer.d.ts +0 -0
  22. /package/es/modules/{dataCollection → dataManage}/components/eventFilter/index.d.ts +0 -0
  23. /package/es/modules/{dataCollection → dataManage}/components/eventFilter/index.js +0 -0
  24. /package/es/modules/{dataCollection → dataManage}/components/eventFilter/types.d.ts +0 -0
  25. /package/es/modules/{dataCollection → dataManage}/components/eventFilter/types.js +0 -0
  26. /package/es/modules/{dataCollection → dataManage}/components/eventGroupingDrawer.d.ts +0 -0
  27. /package/es/modules/{dataCollection → dataManage}/components/eventItem.d.ts +0 -0
  28. /package/es/modules/{dataCollection → dataManage}/components/eventItem.js +0 -0
  29. /package/es/modules/{dataCollection → dataManage}/components/selectAttributes.d.ts +0 -0
  30. /package/es/modules/{dataCollection → dataManage}/components/selectAttributes.js +0 -0
  31. /package/es/modules/{dataCollection → dataManage}/components/tablePlus.d.ts +0 -0
  32. /package/es/modules/{dataCollection → dataManage}/components/virtualTablePlus.d.ts +0 -0
  33. /package/es/modules/{dataCollection → dataManage}/types.d.ts +0 -0
  34. /package/es/modules/{dataCollection → dataManage}/types.js +0 -0
  35. /package/es/modules/{dataCollection → dataManage}/virtualEventList.d.ts +0 -0
  36. /package/es/modules/{dataCollection → dataManage}/virtualEventList.js +0 -0
@@ -1,832 +0,0 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
- .data-collection {
3
- position: relative;
4
- height: calc(100vh - 80px);
5
- padding: 24px;
6
- background: #fff;
7
- border-radius: 8px;
8
- .ant-select {
9
- border-radius: 4px !important;
10
- }
11
- .loading {
12
- position: fixed;
13
- top: 70%;
14
- left: 55%;
15
- }
16
- .ant-tabs-tab + .ant-tabs-tab {
17
- margin: 0 0 0 24px;
18
- }
19
- .creact-group {
20
- .ant-modal-body {
21
- padding: 3px 20px 20px 20px !important;
22
- }
23
- }
24
- .ant-radio-group {
25
- > :nth-child(1) {
26
- border-radius: 4px 0px 0px 4px;
27
- }
28
- > :last-child {
29
- border-radius: 0px 4px 4px 0px;
30
- }
31
- }
32
- .ant-radio-button-wrapper-checked {
33
- background: #e8efff;
34
- }
35
- }
36
-
37
- .attr-list,
38
- .virtual-event-list,
39
- .event-list {
40
- position: relative;
41
- &-back {
42
- margin-bottom: 10px;
43
- cursor: pointer;
44
- user-select: none;
45
- }
46
- .hidden-box {
47
- display: none;
48
- }
49
- .error-row {
50
- color: #fb5547;
51
- }
52
- .fuzhi {
53
- display: none;
54
- margin-left: 10px;
55
- color: #666;
56
- font-size: 16px !important;
57
- &:hover {
58
- color: @primary-color;
59
- }
60
- }
61
- }
62
-
63
- .virtual-event-list,
64
- .event-list {
65
- &-top-box {
66
- position: relative;
67
- display: flex;
68
- margin-bottom: 17px;
69
- .top-select {
70
- width: 264px;
71
- margin-right: 12px;
72
- }
73
- .top-input {
74
- width: 264px;
75
- margin-right: 12px;
76
- .ant-input-prefix {
77
- margin-right: 8px;
78
- }
79
- }
80
- .top-total {
81
- line-height: 32px;
82
- span {
83
- margin: 0 4px;
84
- color: @primary-color;
85
- font-weight: bold;
86
- }
87
- }
88
- .top-button {
89
- position: absolute;
90
- top: 0;
91
- right: 0;
92
- display: flex;
93
- gap: 16px;
94
- line-height: 100%;
95
- .button:not(.disabled) {
96
- color: #1454e5;
97
- border: 1px solid #1454e5;
98
- }
99
- }
100
- }
101
- .table-plus {
102
- &-table {
103
- .ant-table {
104
- border-radius: 8px !important;
105
- .ant-table-thead {
106
- > tr > th {
107
- height: 50px;
108
- padding: 0 16px;
109
- }
110
- }
111
- .ant-table-tbody {
112
- > tr > td {
113
- height: 50px;
114
- padding: 0 16px;
115
- }
116
- }
117
- table {
118
- border-collapse: collapse;
119
- }
120
- }
121
- .ant-table-cell-row-hover {
122
- .bsicon {
123
- display: inline-block !important;
124
- }
125
- }
126
- .alias_name_popover {
127
- width: 200px;
128
- word-break: break-all;
129
- background: red;
130
- }
131
- .ant-input:focus,
132
- .ant-input-focused {
133
- background-color: #fff !important;
134
- border-bottom: 1px solid @primary-color;
135
- border-radius: 0 !important;
136
- box-shadow: none !important;
137
- }
138
- .group-row {
139
- // border-top: 12px solid #f5f5f5;
140
- > :nth-child(1) {
141
- display: flex !important;
142
- align-items: center !important;
143
- }
144
- .ant-table-cell-fix-left {
145
- left: 0px;
146
- display: block;
147
- width: 500px;
148
- background: #fff;
149
- }
150
- .ant-table-cell-fix-left-first::after,
151
- .ant-table-cell-fix-left-last::after {
152
- box-shadow: none;
153
- }
154
- td {
155
- padding: 6px 16px;
156
- }
157
- :last-child {
158
- padding: 0;
159
- }
160
- td:not(:first-child, :last-child) > * {
161
- display: none;
162
- }
163
- }
164
- .group-box {
165
- display: flex;
166
- width: 800px;
167
- line-height: 30px;
168
- .ant-input {
169
- width: 150px;
170
- border: none;
171
- }
172
- .bsicon {
173
- margin-right: 4px;
174
- font-size: 18px !important;
175
- }
176
- .group-handle {
177
- margin-left: 30px;
178
- cursor: pointer;
179
- user-select: none;
180
- }
181
- }
182
- .edit-del {
183
- .bsicon {
184
- margin-left: 15px;
185
- font-size: 16px !important;
186
- cursor: pointer;
187
- }
188
- :first-child:hover {
189
- color: @primary-color;
190
- }
191
- :last-child:hover {
192
- color: red;
193
- }
194
- }
195
- .set-box {
196
- display: flex;
197
- color: #165dff;
198
- cursor: pointer;
199
- > :nth-child(1) {
200
- margin-right: 16px;
201
- }
202
- }
203
- .select-style {
204
- width: 126px;
205
- .ant-select-selection-item {
206
- color: #021429;
207
- font-weight: 500;
208
- }
209
- }
210
- .event_attrs {
211
- .bsicon {
212
- margin-left: 12px;
213
- font-size: 16px !important;
214
- &:hover {
215
- color: @primary-color;
216
- }
217
- }
218
- }
219
- .event_name {
220
- display: flex;
221
- .event_name-text {
222
- display: -webkit-box;
223
- // max-width: 120px;
224
- overflow: hidden;
225
- cursor: pointer;
226
- -webkit-box-orient: vertical;
227
- -webkit-line-clamp: 1;
228
- }
229
- .expired {
230
- display: flex;
231
- gap: 4px;
232
- align-items: flex-start;
233
- margin-left: 8px;
234
- padding: 2px 8px;
235
- color: #fd9f41;
236
- font-size: 14px;
237
- background: #ffecd9;
238
- border-radius: 2px;
239
- }
240
- .copy-text {
241
- display: none;
242
- margin-left: 10px;
243
- font-size: 16px !important;
244
- cursor: pointer;
245
- }
246
- .copy-text:hover {
247
- color: @primary-color;
248
- }
249
- .collect-icon,
250
- .collect-icon-active {
251
- margin: 0 4px;
252
- font-size: 16px !important;
253
- cursor: pointer;
254
- }
255
- .collect-icon {
256
- color: #999;
257
- opacity: 0;
258
- }
259
- .collect-icon:hover {
260
- color: #f2d074;
261
- }
262
- .collect-icon-active {
263
- color: #fd9f41;
264
- }
265
- .ant-checkbox-wrapper {
266
- align-items: center;
267
- margin-top: -6px;
268
- }
269
- }
270
- .alias_name {
271
- display: flex;
272
- border: none;
273
- cursor: pointer;
274
- .alias_name_text {
275
- display: -webkit-box;
276
- max-width: 167px;
277
- overflow: hidden;
278
- cursor: pointer;
279
- -webkit-box-orient: vertical;
280
- -webkit-line-clamp: 1;
281
- }
282
- .edit-alias-name {
283
- display: none;
284
- margin-left: 10px;
285
- font-size: 16px !important;
286
- }
287
- .edit-alias-name:hover {
288
- color: @primary-color;
289
- }
290
- }
291
- .bind-event,
292
- .description {
293
- display: -webkit-box;
294
- max-width: 180px;
295
- overflow: hidden;
296
- cursor: pointer;
297
- -webkit-box-orient: vertical;
298
- -webkit-line-clamp: 1;
299
- }
300
- .ant-table-row:hover {
301
- .collect-icon {
302
- opacity: 1;
303
- }
304
- .copy-text {
305
- display: block;
306
- }
307
- .edit-alias-name {
308
- display: block;
309
- }
310
- }
311
- .set {
312
- color: @primary-color;
313
- text-align: center;
314
- cursor: pointer;
315
- user-select: none;
316
- }
317
- .set-error {
318
- color: #86909c;
319
- }
320
- }
321
- }
322
- }
323
-
324
- .attr-list {
325
- .ant-table {
326
- overflow: hidden;
327
- border: 1px solid #ecedf0;
328
- border-radius: 8px;
329
- }
330
- .attr-name {
331
- display: flex;
332
- .attr-name-text {
333
- display: -webkit-box;
334
- width: 120px;
335
- overflow: hidden;
336
- -webkit-box-orient: vertical;
337
- -webkit-line-clamp: 1;
338
- }
339
- .tishiicon {
340
- margin-right: 6px;
341
- }
342
- &:hover {
343
- .fuzhi {
344
- display: inline-block;
345
- cursor: pointer;
346
- }
347
- }
348
- }
349
- .alias_name {
350
- border: none;
351
- cursor: pointer;
352
- }
353
- .ant-input:focus,
354
- .ant-input-focused {
355
- background-color: #fff !important;
356
- border-bottom: 1px solid @primary-color;
357
- border-radius: 0 !important;
358
- box-shadow: none !important;
359
- }
360
- .attr_alias_name {
361
- cursor: pointer;
362
- user-select: none;
363
- &:not(.disabled):hover {
364
- color: @primary-color;
365
- }
366
- }
367
- .button-box {
368
- display: flex;
369
- margin-top: -24px;
370
- margin-bottom: 14px;
371
- .ant-btn {
372
- margin-right: 20px;
373
- }
374
- .bsicon {
375
- margin-right: 6px;
376
- }
377
- }
378
- .clearData {
379
- position: absolute;
380
- top: 75px;
381
- right: 26px;
382
- text-align: right;
383
- cursor: pointer;
384
- user-select: none;
385
- }
386
- }
387
-
388
- .virtual-event-list {
389
- .table-plus {
390
- &-table {
391
- .event_name-text:hover {
392
- color: #165dff;
393
- }
394
- }
395
- }
396
- }
397
-
398
- .event-list-drawer {
399
- .ant-select {
400
- border-radius: 4px !important;
401
- }
402
- .ant-drawer-header-title {
403
- height: 20px;
404
- .ant-drawer-close {
405
- position: absolute;
406
- right: 6px;
407
- }
408
- }
409
- .ant-drawer-mask {
410
- background: rgba(0, 0, 0, 0.8);
411
- }
412
- }
413
-
414
- .create-virtual-drawer {
415
- .ant-select {
416
- border-radius: 4px !important;
417
- }
418
- #basic {
419
- padding-bottom: 100px;
420
- .ant-input {
421
- border: none;
422
- }
423
- }
424
- &-desc {
425
- .ant-form-item-control {
426
- max-width: 100%;
427
- }
428
- }
429
- &-add {
430
- color: #165dff;
431
- cursor: pointer;
432
- &-icon {
433
- margin-right: 8px;
434
- font-weight: 900;
435
- font-size: 18px !important;
436
- vertical-align: -2px;
437
- }
438
- }
439
- &-see-box {
440
- > div {
441
- display: flex;
442
- gap: 8px;
443
- margin-bottom: 16px;
444
- color: #021429;
445
- span {
446
- width: 84px;
447
- min-width: 84px;
448
- color: #5f6085;
449
- text-align: right;
450
- }
451
- }
452
- }
453
- .ant-drawer-close {
454
- display: none;
455
- }
456
- .qingchu {
457
- font-size: 20px !important;
458
- cursor: pointer;
459
- }
460
- &-eventDataBox {
461
- margin-top: 24px;
462
- padding-bottom: 24px;
463
- > :nth-child(1) {
464
- color: #5f6085;
465
- }
466
- > :nth-child(1)::before {
467
- display: inline-block;
468
- margin-right: 4px;
469
- color: #ff4d4f;
470
- font-size: 14px;
471
- font-family: SimSun, sans-serif;
472
- line-height: 1;
473
- content: '*';
474
- }
475
- > :nth-child(2) {
476
- margin-top: 8px;
477
- color: #67727f;
478
- font-size: 12px;
479
- }
480
- }
481
- &-eventDataBox.see {
482
- > :nth-child(1) {
483
- color: #5f6085;
484
- }
485
- > :nth-child(2) {
486
- color: #67727f;
487
- }
488
- }
489
- &-formList {
490
- margin-top: 16px;
491
- .ant-form-item {
492
- width: 100%;
493
- max-width: 100%;
494
- margin-bottom: 16px !important;
495
- .ant-col {
496
- width: 100%;
497
- max-width: 100%;
498
- }
499
- }
500
- }
501
- &-formSubmit {
502
- position: absolute;
503
- right: 0;
504
- bottom: 0;
505
- display: flex;
506
- gap: 16px;
507
- justify-content: end;
508
- width: 100%;
509
- padding: 16px;
510
- padding-right: 24px;
511
- background: #fff;
512
- border-top: 1px solid #f2f3f4;
513
- }
514
- .ant-drawer-content,
515
- .ant-drawer-wrapper-body {
516
- overflow: hidden !important;
517
- }
518
- }
519
-
520
- .event-grouping-drawer {
521
- &-box {
522
- &-header {
523
- display: flex;
524
- align-items: center;
525
- justify-content: space-between;
526
- margin-top: 16px;
527
- margin-bottom: 12px;
528
- > div {
529
- display: flex;
530
- gap: 12px;
531
- align-items: center;
532
- justify-content: start;
533
- }
534
- .operate-left {
535
- display: flex;
536
- gap: 12px;
537
- align-items: center;
538
- justify-content: start;
539
- .fangxiangshang {
540
- transform: rotateZ(90deg);
541
- }
542
- > :nth-child(1) {
543
- display: flex;
544
- gap: 8px;
545
- align-items: center;
546
- justify-content: start;
547
- > :nth-child(1) {
548
- color: #9aa1a9;
549
- }
550
- > :nth-child(2) {
551
- font-weight: 500;
552
- }
553
- .zhongmingming {
554
- cursor: pointer;
555
- }
556
- .zhongmingming:hover {
557
- color: #165dff;
558
- }
559
- }
560
- > :last-child {
561
- color: #9aa1a9;
562
- }
563
- }
564
- .operate-right {
565
- > :not(.ant-checkbox-wrapper):not(:last-child) {
566
- padding: 0 8px;
567
- cursor: pointer;
568
- }
569
- .tuozhuai1 {
570
- font-size: 18px !important;
571
- cursor: move;
572
- }
573
- .handle:hover {
574
- color: #165dff;
575
- }
576
- .handle-delete:hover {
577
- color: #fb5547;
578
- }
579
- }
580
- }
581
- &-content {
582
- display: flex;
583
- flex-wrap: wrap;
584
- > div {
585
- display: flex;
586
- flex-wrap: wrap;
587
- gap: 12px;
588
- justify-content: flex-start;
589
- width: 100%;
590
- .checkbox-item {
591
- display: flex;
592
- flex-shrink: 0;
593
- align-items: center;
594
- width: calc(25% - 9px);
595
- height: 40px;
596
- margin: 0;
597
- padding: 9px 0 9px 16px;
598
- background: #fafafb;
599
- border-radius: 4px;
600
- .ant-checkbox {
601
- margin-top: -6px;
602
- }
603
- .ant-checkbox + span {
604
- display: -webkit-box;
605
- max-width: 100%;
606
- overflow: hidden;
607
- cursor: pointer;
608
- user-select: none;
609
- -webkit-box-orient: vertical;
610
- -webkit-line-clamp: 1;
611
- }
612
- }
613
- }
614
- .event-hidden {
615
- color: #ccd0d4;
616
- }
617
- }
618
- &-content.close {
619
- display: none;
620
- }
621
- }
622
- &-top-box {
623
- display: flex;
624
- align-items: center;
625
- justify-content: space-between;
626
- margin-top: -8px;
627
- .ant-btn {
628
- height: 32px;
629
- }
630
- .ant-input-affix-wrapper {
631
- width: 374px;
632
- border: none;
633
- }
634
- .ant-input-prefix {
635
- margin-right: 10px;
636
- }
637
- }
638
- .ant-drawer-content-wrapper {
639
- overflow-x: hidden;
640
- }
641
- .ant-drawer-content,
642
- .ant-drawer-wrapper-body {
643
- overflow: hidden !important;
644
- }
645
- .ant-drawer-title {
646
- span {
647
- margin-left: 8px;
648
- color: #9aa1a9;
649
- font-size: 12px;
650
- }
651
- }
652
- .ant-drawer-close {
653
- display: none;
654
- }
655
- .ant-drawer-extra {
656
- .qingchu {
657
- font-size: 20px !important;
658
- cursor: pointer;
659
- }
660
- }
661
- }
662
-
663
- .event-grouping-drawer-sortablelist {
664
- z-index: 99999;
665
- }
666
-
667
- .group-delete-modal {
668
- .ant-modal-body {
669
- padding: 24px;
670
- }
671
- .ant-modal-confirm-body {
672
- .tishi1 {
673
- margin-right: 2px;
674
- color: #fd9f41;
675
- font-size: 24px !important;
676
- }
677
- }
678
- .ant-modal-confirm-title {
679
- display: inline !important;
680
- color: #021429 !important;
681
- font-weight: 500;
682
- font-size: 24px !important;
683
- }
684
- .ant-modal-confirm-content {
685
- margin-top: 20px !important;
686
- }
687
- }
688
-
689
- .move-popover {
690
- .ant-popover-inner-content {
691
- padding: 22px 16px 30px 16px;
692
- .move-content {
693
- > div {
694
- margin-bottom: 8px;
695
- }
696
- > :last-child {
697
- display: flex;
698
- gap: 8px;
699
- align-items: center;
700
- justify-content: end;
701
- margin-bottom: 0;
702
- }
703
- }
704
- }
705
- }
706
- .move-popover.hidden {
707
- display: none;
708
- }
709
-
710
- .ant-input-disabled,
711
- .disabled {
712
- cursor: not-allowed !important;
713
- }
714
-
715
- .select-attributes {
716
- &-box {
717
- display: flex;
718
- width: 616px;
719
- height: 380px;
720
- background: #fff;
721
- border-radius: 10px;
722
- box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
723
- &-left {
724
- display: flex;
725
- flex-direction: column;
726
- width: 205px;
727
- height: 380px;
728
- padding: 8px;
729
- overflow-y: auto;
730
- box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
731
- > div {
732
- display: flex;
733
- justify-content: space-between;
734
- padding: 6px 12px;
735
- }
736
- .active {
737
- color: #fff;
738
- background: #165dff;
739
- border-radius: 4px;
740
- > :nth-child(2) {
741
- padding: 0px 4px;
742
- border: 1px solid #fff;
743
- border-radius: 10px;
744
- }
745
- }
746
- }
747
- &-right {
748
- width: 100%;
749
- height: 380px;
750
- padding: 8px;
751
- > :nth-child(2) {
752
- display: flex;
753
- flex-direction: column;
754
- gap: 8px;
755
- align-items: flex-start;
756
- width: 100%;
757
- height: 320px;
758
- margin-top: 8px;
759
- overflow-y: auto;
760
- > div {
761
- display: flex;
762
- flex-shrink: 0;
763
- gap: 10px;
764
- align-items: center;
765
- align-self: stretch;
766
- height: 32px;
767
- padding: 0px 16px;
768
- }
769
- .active {
770
- background: #e8efff;
771
- }
772
- }
773
- }
774
- }
775
- &-select {
776
- display: flex;
777
- gap: 10px;
778
- align-items: center;
779
- justify-content: flex-start;
780
- margin-top: 16px;
781
- > :nth-child(1) {
782
- width: 32px;
783
- color: #5f6085;
784
- }
785
- }
786
- &-modal-box {
787
- .ant-modal-header {
788
- padding-bottom: 0 !important;
789
- }
790
- .ant-modal-body {
791
- > :nth-child(1) {
792
- color: #021429;
793
- }
794
- }
795
- .ant-modal-close-x {
796
- display: none;
797
- }
798
- .ant-modal-title {
799
- position: relative;
800
- .tishi1 {
801
- margin-right: 8px;
802
- color: #fd9f41;
803
- }
804
- .qingchu {
805
- position: absolute;
806
- top: 0;
807
- right: 0;
808
- }
809
- }
810
- }
811
- }
812
- #select-attributes-select {
813
- .ant-select-dropdown {
814
- display: none !important;
815
- }
816
- }
817
-
818
- .not-operable {
819
- color: #ccd0d4;
820
- cursor: not-allowed !important;
821
- user-select: none;
822
- }
823
-
824
- // dm项目中modal-confirm公用的样式
825
- .dm-modal-confirm {
826
- .ant-modal-confirm-btns {
827
- .ant-btn-primary {
828
- margin-left: 16px !important;
829
- background: #165dff;
830
- }
831
- }
832
- }