ls-pro-common 3.0.58 → 3.0.60
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.
- package/dist/common.css +41 -38
- package/dist/common.js +1 -1
- package/dist/common.js.LICENSE.txt +0 -10
- package/dist/common.min.css +41 -38
- package/dist/common.min.js +1 -1
- package/dist/common.min.js.LICENSE.txt +0 -10
- package/es/components/antd-custom.less +59 -61
- package/es/utils/index.d.ts +55 -26
- package/es/utils/index.js +73 -38
- package/lib/components/antd-custom.less +59 -61
- package/lib/utils/index.d.ts +55 -26
- package/lib/utils/index.js +73 -38
- package/package.json +3 -3
|
@@ -30,16 +30,6 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
30
30
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
31
31
|
*/
|
|
32
32
|
|
|
33
|
-
/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-is.production.min.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
33
|
/** @license React v16.13.1
|
|
44
34
|
* react-is.production.min.js
|
|
45
35
|
*
|
package/dist/common.min.css
CHANGED
|
@@ -467,9 +467,9 @@ a:hover {
|
|
|
467
467
|
}
|
|
468
468
|
.ant-btn {
|
|
469
469
|
height: 32px;
|
|
470
|
+
color: var(--ant-primary-color);
|
|
470
471
|
background-color: var(--ant-primary-1);
|
|
471
472
|
border-color: transparent;
|
|
472
|
-
color: var(--ant-primary-color);
|
|
473
473
|
border-radius: 4px;
|
|
474
474
|
}
|
|
475
475
|
.ant-btn.ant-btn-lg {
|
|
@@ -480,63 +480,63 @@ a:hover {
|
|
|
480
480
|
}
|
|
481
481
|
.ant-btn:hover,
|
|
482
482
|
.ant-btn:focus {
|
|
483
|
+
color: var(--ant-primary-color);
|
|
483
484
|
background-color: var(--ant-primary-2);
|
|
484
485
|
border-color: transparent;
|
|
485
|
-
color: var(--ant-primary-color);
|
|
486
486
|
}
|
|
487
487
|
.ant-btn:active {
|
|
488
|
+
color: var(--ant-primary-color);
|
|
488
489
|
background-color: var(--ant-primary-3);
|
|
489
490
|
border-color: transparent;
|
|
490
|
-
color: var(--ant-primary-color);
|
|
491
491
|
}
|
|
492
492
|
.ant-btn[disabled],
|
|
493
493
|
.ant-btn[disabled]:hover,
|
|
494
494
|
.ant-btn[disabled]:focus,
|
|
495
495
|
.ant-btn[disabled]:active {
|
|
496
|
-
|
|
496
|
+
color: #d9d9d9;
|
|
497
|
+
background-color: #eaeef2;
|
|
497
498
|
border-color: transparent;
|
|
498
|
-
color: #D9D9D9;
|
|
499
499
|
}
|
|
500
500
|
.ant-btn-primary {
|
|
501
|
+
color: #fff;
|
|
501
502
|
background-color: var(--ant-primary-color);
|
|
502
503
|
border-color: transparent;
|
|
503
|
-
color: #fff;
|
|
504
504
|
}
|
|
505
505
|
.ant-btn-primary:hover,
|
|
506
506
|
.ant-btn-primary:focus {
|
|
507
|
+
color: #fff;
|
|
507
508
|
background-color: var(--ant-primary-color-hover);
|
|
508
509
|
border-color: transparent;
|
|
509
|
-
color: #fff;
|
|
510
510
|
}
|
|
511
511
|
.ant-btn-primary:active {
|
|
512
|
+
color: #fff;
|
|
512
513
|
background-color: var(--ant-primary-color-active);
|
|
513
514
|
border-color: transparent;
|
|
514
|
-
color: #fff;
|
|
515
515
|
}
|
|
516
516
|
.ant-btn-primary[disabled],
|
|
517
517
|
.ant-btn-primary[disabled]:hover,
|
|
518
518
|
.ant-btn-primary[disabled]:focus,
|
|
519
519
|
.ant-btn-primary[disabled]:active {
|
|
520
|
+
color: #fff;
|
|
520
521
|
background-color: var(--ant-primary-color-outline);
|
|
521
522
|
border-color: transparent;
|
|
522
|
-
color: #fff;
|
|
523
523
|
}
|
|
524
524
|
.ant-btn-dashed,
|
|
525
525
|
.ant-btn-gray {
|
|
526
|
-
|
|
527
|
-
color: #
|
|
526
|
+
color: #1b1f2a;
|
|
527
|
+
background-color: #f1f4f6;
|
|
528
528
|
}
|
|
529
529
|
.ant-btn-dashed:hover,
|
|
530
530
|
.ant-btn-gray:hover,
|
|
531
531
|
.ant-btn-dashed:focus,
|
|
532
532
|
.ant-btn-gray:focus {
|
|
533
|
-
|
|
534
|
-
color: #
|
|
533
|
+
color: #1b1f2a;
|
|
534
|
+
background-color: #d2d6dd;
|
|
535
535
|
}
|
|
536
536
|
.ant-btn-dashed:active,
|
|
537
537
|
.ant-btn-gray:active {
|
|
538
|
-
|
|
539
|
-
color: #
|
|
538
|
+
color: #1b1f2a;
|
|
539
|
+
background-color: #b5bbc5;
|
|
540
540
|
}
|
|
541
541
|
.ant-btn-dashed[disabled],
|
|
542
542
|
.ant-btn-gray[disabled],
|
|
@@ -546,38 +546,38 @@ a:hover {
|
|
|
546
546
|
.ant-btn-gray[disabled]:focus,
|
|
547
547
|
.ant-btn-dashed[disabled]:active,
|
|
548
548
|
.ant-btn-gray[disabled]:active {
|
|
549
|
-
background-color: #F1F4F6;
|
|
550
549
|
color: #818999;
|
|
550
|
+
background-color: #f1f4f6;
|
|
551
551
|
}
|
|
552
552
|
.ant-btn-dangerous {
|
|
553
|
-
|
|
553
|
+
color: #f5222d;
|
|
554
|
+
background-color: #ffccc7;
|
|
554
555
|
border-color: transparent;
|
|
555
|
-
color: #F5222D;
|
|
556
556
|
}
|
|
557
557
|
.ant-btn-dangerous:hover,
|
|
558
558
|
.ant-btn-dangerous:focus {
|
|
559
|
-
|
|
559
|
+
color: #f5222d;
|
|
560
|
+
background-color: #fff1f0;
|
|
560
561
|
border-color: transparent;
|
|
561
|
-
color: #F5222D;
|
|
562
562
|
}
|
|
563
563
|
.ant-btn-dangerous:active {
|
|
564
|
-
|
|
564
|
+
color: #f5222d;
|
|
565
|
+
background-color: #ffa39e;
|
|
565
566
|
border-color: transparent;
|
|
566
|
-
color: #F5222D;
|
|
567
567
|
}
|
|
568
568
|
.ant-btn-dangerous[disabled],
|
|
569
569
|
.ant-btn-dangerous[disabled]:hover,
|
|
570
570
|
.ant-btn-dangerous[disabled]:focus,
|
|
571
571
|
.ant-btn-dangerous[disabled]:active {
|
|
572
|
-
|
|
572
|
+
color: #ffa39e;
|
|
573
|
+
background-color: #ffccc7;
|
|
573
574
|
border-color: transparent;
|
|
574
|
-
color: #FFA39E;
|
|
575
575
|
}
|
|
576
576
|
.ant-btn-link {
|
|
577
|
+
padding: 4px 8px;
|
|
578
|
+
color: var(--ant-primary-color);
|
|
577
579
|
background-color: transparent;
|
|
578
580
|
border-color: transparent;
|
|
579
|
-
color: var(--ant-primary-color);
|
|
580
|
-
padding: 4px 8px;
|
|
581
581
|
}
|
|
582
582
|
.ant-btn-link[disabled],
|
|
583
583
|
.ant-btn-link[disabled]:hover,
|
|
@@ -600,13 +600,13 @@ a:hover {
|
|
|
600
600
|
.ant-btn-link[disabled]:hover,
|
|
601
601
|
.ant-btn-link[disabled]:focus,
|
|
602
602
|
.ant-btn-link[disabled]:active {
|
|
603
|
-
color: #
|
|
603
|
+
color: #a7b5cc;
|
|
604
604
|
}
|
|
605
605
|
.ant-btn-text {
|
|
606
|
+
padding: 4px 8px;
|
|
607
|
+
color: #8c8c8c;
|
|
606
608
|
background-color: transparent;
|
|
607
609
|
border-color: transparent;
|
|
608
|
-
color: #8C8C8C;
|
|
609
|
-
padding: 4px 8px;
|
|
610
610
|
}
|
|
611
611
|
.ant-btn-text[disabled],
|
|
612
612
|
.ant-btn-text[disabled]:hover,
|
|
@@ -658,9 +658,9 @@ a:hover {
|
|
|
658
658
|
.ant-table-filter-dropdown .ant-checkbox-wrapper + span,
|
|
659
659
|
.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span {
|
|
660
660
|
display: inline-block;
|
|
661
|
+
width: 200px;
|
|
661
662
|
overflow: hidden;
|
|
662
663
|
text-overflow: ellipsis;
|
|
663
|
-
width: 200px;
|
|
664
664
|
}
|
|
665
665
|
.ant-picker:not(.ant-picker-large, .ant-picker-sm),
|
|
666
666
|
.ant-input:not(.ant-input-lg, .ant-input-sm) .ant-form-item-label > label,
|
|
@@ -731,24 +731,24 @@ a:hover {
|
|
|
731
731
|
max-width: 200px;
|
|
732
732
|
}
|
|
733
733
|
.ant-picker-panel-container .ant-picker-presets ul {
|
|
734
|
-
height: 0;
|
|
735
734
|
flex: auto;
|
|
736
|
-
|
|
737
|
-
overflow: auto;
|
|
735
|
+
height: 0;
|
|
738
736
|
margin: 0;
|
|
739
737
|
padding: 8px;
|
|
738
|
+
overflow: auto;
|
|
739
|
+
list-style: none;
|
|
740
740
|
border-inline-end: 1px solid rgba(5, 5, 5, 0.06);
|
|
741
741
|
}
|
|
742
742
|
.ant-picker-panel-container .ant-picker-presets ul li {
|
|
743
|
+
margin-top: 8px;
|
|
743
744
|
overflow: hidden;
|
|
744
745
|
white-space: nowrap;
|
|
745
746
|
text-overflow: ellipsis;
|
|
746
747
|
border-radius: 4px;
|
|
747
|
-
padding-inline: 8px;
|
|
748
|
-
padding-block: 1px;
|
|
749
748
|
cursor: pointer;
|
|
750
749
|
transition: all 0.3s;
|
|
751
|
-
|
|
750
|
+
padding-inline: 8px;
|
|
751
|
+
padding-block: 1px;
|
|
752
752
|
}
|
|
753
753
|
.ant-table td.ant-table-cell {
|
|
754
754
|
color: #5b5b5b;
|
|
@@ -766,8 +766,11 @@ a:hover {
|
|
|
766
766
|
}
|
|
767
767
|
.ant-pro-form-query-filter .ant-input-group.ant-input-group-compact > *:last-child {
|
|
768
768
|
border-radius: 0 !important;
|
|
769
|
-
border-top-
|
|
770
|
-
border-bottom-
|
|
769
|
+
border-top-right-radius: 4px !important;
|
|
770
|
+
border-bottom-right-radius: 4px !important;
|
|
771
|
+
}
|
|
772
|
+
.ant-pro-form-query-filter .ant-input-group > .ant-input:not(:first-child):not(:last-child) {
|
|
773
|
+
line-height: 1.5;
|
|
771
774
|
}
|
|
772
775
|
.ant-input-number-group > .ant-input-number:not(:first-child):not(:last-child) {
|
|
773
776
|
border-radius: 0 !important;
|