ls-pro-common 3.0.3 → 3.0.5
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 +74 -24
- package/dist/common.js +1 -1
- package/dist/common.min.css +74 -24
- package/dist/common.min.js +1 -1
- package/es/components/DtlLayout.js +3 -2
- package/es/components/ImageSelector.d.ts +6 -0
- package/es/components/ImageSelector.js +57 -12
- package/es/components/InputTable.d.ts +2 -0
- package/es/components/InputTable.js +78 -22
- package/es/components/antd-custom.less +19 -8
- package/es/components/common.less +52 -86
- package/es/hooks/useSingle/index.js +0 -1
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.js +6 -0
- package/lib/components/DtlLayout.js +2 -1
- package/lib/components/ImageSelector.d.ts +6 -0
- package/lib/components/ImageSelector.js +57 -12
- package/lib/components/InputTable.d.ts +2 -0
- package/lib/components/InputTable.js +78 -22
- package/lib/components/antd-custom.less +19 -8
- package/lib/components/common.less +52 -86
- package/lib/hooks/useSingle/index.js +0 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +9 -2
- package/package.json +8 -8
package/dist/common.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
body {
|
|
2
2
|
--bg-color: #F9FAFB;
|
|
3
|
-
--ant-primary-color: #
|
|
4
|
-
--ant-primary-color-hover: #
|
|
5
|
-
--ant-primary-color-active: #
|
|
6
|
-
--ant-primary-color-outline: rgba(
|
|
3
|
+
--ant-primary-color: #1869ED;
|
|
4
|
+
--ant-primary-color-hover: #418efa;
|
|
5
|
+
--ant-primary-color-active: #0a4cc7;
|
|
6
|
+
--ant-primary-color-outline: rgba(24, 105, 237, 0.2);
|
|
7
7
|
--ant-primary-1: #e6f4ff;
|
|
8
|
-
--ant-primary-2: #
|
|
9
|
-
--ant-primary-3: #
|
|
10
|
-
--ant-primary-4: #
|
|
11
|
-
--ant-primary-5: #
|
|
12
|
-
--ant-primary-6: #
|
|
13
|
-
--ant-primary-7: #
|
|
14
|
-
--ant-primary-color-deprecated-pure: #
|
|
15
|
-
--ant-primary-color-deprecated-l-35: #
|
|
16
|
-
--ant-primary-color-deprecated-l-20: #
|
|
17
|
-
--ant-primary-color-deprecated-t-20: #
|
|
18
|
-
--ant-primary-color-deprecated-t-50: #
|
|
19
|
-
--ant-primary-color-deprecated-f-12: rgba(
|
|
8
|
+
--ant-primary-2: #bddfff;
|
|
9
|
+
--ant-primary-3: #94c8ff;
|
|
10
|
+
--ant-primary-4: #6baeff;
|
|
11
|
+
--ant-primary-5: #418efa;
|
|
12
|
+
--ant-primary-6: #1869ED;
|
|
13
|
+
--ant-primary-7: #0a4cc7;
|
|
14
|
+
--ant-primary-color-deprecated-pure: #bed5fa;
|
|
15
|
+
--ant-primary-color-deprecated-l-35: #bed5fa;
|
|
16
|
+
--ant-primary-color-deprecated-l-20: #77a6f4;
|
|
17
|
+
--ant-primary-color-deprecated-t-20: #4687f1;
|
|
18
|
+
--ant-primary-color-deprecated-t-50: #8cb4f6;
|
|
19
|
+
--ant-primary-color-deprecated-f-12: rgba(24, 105, 237, 0.12);
|
|
20
20
|
--ant-primary-color-active-deprecated-f-30: rgba(230, 244, 255, 0.3);
|
|
21
21
|
--ant-primary-color-active-deprecated-d-02: #dcf0ff;
|
|
22
22
|
--ant-success-color: #52c41a;
|
|
@@ -37,16 +37,16 @@ body {
|
|
|
37
37
|
--ant-warning-color-outline: rgba(250, 173, 20, 0.2);
|
|
38
38
|
--ant-warning-color-deprecated-bg: #fffbe6;
|
|
39
39
|
--ant-warning-color-deprecated-border: #ffe58f;
|
|
40
|
-
--ant-info-color: #
|
|
40
|
+
--ant-info-color: #1869ED;
|
|
41
41
|
--ant-info-color-deprecated-bg: #e6f4ff;
|
|
42
|
-
--ant-info-color-deprecated-border: #
|
|
42
|
+
--ant-info-color-deprecated-border: #94c8ff;
|
|
43
43
|
}
|
|
44
44
|
* ::-webkit-scrollbar-thumb {
|
|
45
|
-
background-color:
|
|
45
|
+
background-color: #EFF2F4;
|
|
46
46
|
border-radius: 6px;
|
|
47
47
|
}
|
|
48
48
|
* ::-webkit-scrollbar-thumb:hover {
|
|
49
|
-
background-color:
|
|
49
|
+
background-color: #E4E7EA;
|
|
50
50
|
border-radius: 6px;
|
|
51
51
|
}
|
|
52
52
|
* ::-webkit-scrollbar {
|
|
@@ -367,6 +367,9 @@ a:hover {
|
|
|
367
367
|
.ls-area-box-position .ls-ant-select-dropdown {
|
|
368
368
|
top: 36px !important;
|
|
369
369
|
}
|
|
370
|
+
.ls-input-table .ant-pro-table-list-toolbar {
|
|
371
|
+
padding-top: 0px;
|
|
372
|
+
}
|
|
370
373
|
.ant-timeline-item-tail {
|
|
371
374
|
border-left: 2px dotted var(--ant-primary-color);
|
|
372
375
|
}
|
|
@@ -392,12 +395,19 @@ a:hover {
|
|
|
392
395
|
.ant-modal-content {
|
|
393
396
|
border-radius: 8px !important;
|
|
394
397
|
}
|
|
398
|
+
.ant-modal-content .ant-modal-header {
|
|
399
|
+
border-radius: 8px 8px 0 0 !important;
|
|
400
|
+
}
|
|
395
401
|
.ant-input-number,
|
|
396
402
|
.ant-input-affix-wrapper,
|
|
397
403
|
.ant-picker,
|
|
398
404
|
.ant-select-selector {
|
|
399
405
|
border-radius: 4px !important;
|
|
400
406
|
}
|
|
407
|
+
.ant-input-group .ant-input-affix-wrapper:not(:last-child) {
|
|
408
|
+
border-top-right-radius: 0 !important;
|
|
409
|
+
border-bottom-right-radius: 0 !important;
|
|
410
|
+
}
|
|
401
411
|
.ant-picker-range-separator {
|
|
402
412
|
padding: 0 2px !important;
|
|
403
413
|
}
|
|
@@ -408,7 +418,7 @@ a:hover {
|
|
|
408
418
|
height: 32px;
|
|
409
419
|
background-color: #E6F4FF;
|
|
410
420
|
border-color: transparent;
|
|
411
|
-
color:
|
|
421
|
+
color: var(--ant-primary-color);
|
|
412
422
|
border-radius: 4px;
|
|
413
423
|
}
|
|
414
424
|
.ant-btn.ant-btn-lg {
|
|
@@ -416,14 +426,14 @@ a:hover {
|
|
|
416
426
|
}
|
|
417
427
|
.ant-btn:hover,
|
|
418
428
|
.ant-btn:focus {
|
|
419
|
-
background-color: #
|
|
429
|
+
background-color: #B5DBFF;
|
|
420
430
|
border-color: transparent;
|
|
421
|
-
color:
|
|
431
|
+
color: var(--ant-primary-color);
|
|
422
432
|
}
|
|
423
433
|
.ant-btn:active {
|
|
424
434
|
background-color: #BDDFFF;
|
|
425
435
|
border-color: transparent;
|
|
426
|
-
color:
|
|
436
|
+
color: var(--ant-primary-color);
|
|
427
437
|
}
|
|
428
438
|
.ant-btn[disabled],
|
|
429
439
|
.ant-btn[disabled]:hover,
|
|
@@ -537,6 +547,10 @@ a:hover {
|
|
|
537
547
|
.ant-btn-text[disabled]:active {
|
|
538
548
|
color: #d9d9d9;
|
|
539
549
|
}
|
|
550
|
+
.ant-checkbox-checked::after {
|
|
551
|
+
animation: none !important;
|
|
552
|
+
animation-fill-mode: none !important;
|
|
553
|
+
}
|
|
540
554
|
|
|
541
555
|
.pro-table-tooltip-text span {
|
|
542
556
|
color: #fff;
|
|
@@ -574,6 +588,19 @@ a:hover {
|
|
|
574
588
|
display: flex;
|
|
575
589
|
flex-direction: column;
|
|
576
590
|
}
|
|
591
|
+
.ant-pro-table-srcoll .ant-checkbox-checked::after {
|
|
592
|
+
content: none;
|
|
593
|
+
animation: none !important;
|
|
594
|
+
animation-fill-mode: none !important;
|
|
595
|
+
}
|
|
596
|
+
.ant-pro-table-srcoll .ant-checkbox-inner,
|
|
597
|
+
.ant-pro-table-srcoll .ant-checkbox-inner::after,
|
|
598
|
+
.ant-pro-table-srcoll .ant-checkbox-checked .ant-checkbox-inner::after {
|
|
599
|
+
transition: none !important;
|
|
600
|
+
}
|
|
601
|
+
.ant-pro-table-srcoll .ant-table-tbody > tr > td {
|
|
602
|
+
transition: none !important;
|
|
603
|
+
}
|
|
577
604
|
.ant-pro-table-srcoll .ant-card {
|
|
578
605
|
flex: 1;
|
|
579
606
|
height: 0;
|
|
@@ -616,6 +643,7 @@ a:hover {
|
|
|
616
643
|
.ant-pro-table-srcoll .ant-card .ant-table-wrapper .ant-spin-container .ant-table .ant-table-container div.ant-table-body {
|
|
617
644
|
flex: 1;
|
|
618
645
|
overflow: auto !important;
|
|
646
|
+
position: relative;
|
|
619
647
|
}
|
|
620
648
|
.ant-pro-table-srcoll .ant-card .ant-table-wrapper .ant-spin-container .ant-table .ant-table-container::before,
|
|
621
649
|
.ant-pro-table-srcoll .ant-card .ant-table-wrapper .ant-spin-container .ant-table .ant-table-container::after {
|
|
@@ -827,8 +855,12 @@ a:hover {
|
|
|
827
855
|
padding: 0 !important;
|
|
828
856
|
}
|
|
829
857
|
.ant-modal-body .ant-pro-table .ant-card {
|
|
858
|
+
box-shadow: none;
|
|
830
859
|
padding: 0;
|
|
831
860
|
}
|
|
861
|
+
.ant-modal-body .ant-pro-table .ant-card-body {
|
|
862
|
+
padding: 0 ;
|
|
863
|
+
}
|
|
832
864
|
@keyframes turn {
|
|
833
865
|
0% {
|
|
834
866
|
transform: rotate(0deg);
|
|
@@ -2675,6 +2707,19 @@ html {
|
|
|
2675
2707
|
display: flex;
|
|
2676
2708
|
flex-direction: column;
|
|
2677
2709
|
}
|
|
2710
|
+
.ant-pro-table-srcoll .ant-checkbox-checked::after {
|
|
2711
|
+
content: none;
|
|
2712
|
+
animation: none !important;
|
|
2713
|
+
animation-fill-mode: none !important;
|
|
2714
|
+
}
|
|
2715
|
+
.ant-pro-table-srcoll .ant-checkbox-inner,
|
|
2716
|
+
.ant-pro-table-srcoll .ant-checkbox-inner::after,
|
|
2717
|
+
.ant-pro-table-srcoll .ant-checkbox-checked .ant-checkbox-inner::after {
|
|
2718
|
+
transition: none !important;
|
|
2719
|
+
}
|
|
2720
|
+
.ant-pro-table-srcoll .ant-table-tbody > tr > td {
|
|
2721
|
+
transition: none !important;
|
|
2722
|
+
}
|
|
2678
2723
|
.ant-pro-table-srcoll .ant-card {
|
|
2679
2724
|
flex: 1;
|
|
2680
2725
|
height: 0;
|
|
@@ -2717,6 +2762,7 @@ html {
|
|
|
2717
2762
|
.ant-pro-table-srcoll .ant-card .ant-table-wrapper .ant-spin-container .ant-table .ant-table-container div.ant-table-body {
|
|
2718
2763
|
flex: 1;
|
|
2719
2764
|
overflow: auto !important;
|
|
2765
|
+
position: relative;
|
|
2720
2766
|
}
|
|
2721
2767
|
.ant-pro-table-srcoll .ant-card .ant-table-wrapper .ant-spin-container .ant-table .ant-table-container::before,
|
|
2722
2768
|
.ant-pro-table-srcoll .ant-card .ant-table-wrapper .ant-spin-container .ant-table .ant-table-container::after {
|
|
@@ -2928,8 +2974,12 @@ html {
|
|
|
2928
2974
|
padding: 0 !important;
|
|
2929
2975
|
}
|
|
2930
2976
|
.ant-modal-body .ant-pro-table .ant-card {
|
|
2977
|
+
box-shadow: none;
|
|
2931
2978
|
padding: 0;
|
|
2932
2979
|
}
|
|
2980
|
+
.ant-modal-body .ant-pro-table .ant-card-body {
|
|
2981
|
+
padding: 0 ;
|
|
2982
|
+
}
|
|
2933
2983
|
@keyframes turn {
|
|
2934
2984
|
0% {
|
|
2935
2985
|
transform: rotate(0deg);
|