ls-pro-common 1.0.79 → 1.0.80
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 +413 -1
- package/dist/common.js +1 -1
- package/dist/common.min.css +413 -1
- package/dist/common.min.js +1 -1
- package/es/components/DescritionCard.d.ts +10 -0
- package/es/components/DescritionCard.js +80 -0
- package/es/components/Loading.d.ts +5 -1
- package/es/components/Loading.js +3 -2
- package/es/components/common.less +23 -6
- package/es/index.d.ts +4 -2
- package/es/index.js +2 -1
- package/lib/components/DescritionCard.d.ts +10 -0
- package/lib/components/DescritionCard.js +101 -0
- package/lib/components/Loading.d.ts +5 -1
- package/lib/components/Loading.js +3 -2
- package/lib/components/common.less +23 -6
- package/lib/index.d.ts +4 -2
- package/lib/index.js +8 -0
- package/package.json +2 -2
package/dist/common.css
CHANGED
|
@@ -54,7 +54,7 @@ body {
|
|
|
54
54
|
.dtl-layout .dtl-header {
|
|
55
55
|
display: flex;
|
|
56
56
|
justify-items: center;
|
|
57
|
-
padding:
|
|
57
|
+
padding: 8px 14px;
|
|
58
58
|
border-bottom: 1px solid #f0f0f0;
|
|
59
59
|
}
|
|
60
60
|
.dtl-layout .dtl-header .dtl-back {
|
|
@@ -223,6 +223,16 @@ a:hover {
|
|
|
223
223
|
max-height: calc(100vh - 180px);
|
|
224
224
|
overflow-y: auto;
|
|
225
225
|
}
|
|
226
|
+
.description-card .ant-pro-card-body {
|
|
227
|
+
padding: 20px 24px;
|
|
228
|
+
}
|
|
229
|
+
.has-background {
|
|
230
|
+
background: #f5fafe;
|
|
231
|
+
}
|
|
232
|
+
.has-background .ant-descriptions-row > td,
|
|
233
|
+
.has-background .ant-descriptions-row > th {
|
|
234
|
+
padding-bottom: 10px;
|
|
235
|
+
}
|
|
226
236
|
.ant-input-has-value:hover .ant-input-clear-icon {
|
|
227
237
|
visibility: visible;
|
|
228
238
|
}
|
|
@@ -2818,3 +2828,405 @@ html {
|
|
|
2818
2828
|
margin: 10px 50px !important;
|
|
2819
2829
|
}
|
|
2820
2830
|
|
|
2831
|
+
.ant-pro-card {
|
|
2832
|
+
position: relative;
|
|
2833
|
+
display: flex;
|
|
2834
|
+
flex-direction: column;
|
|
2835
|
+
box-sizing: border-box;
|
|
2836
|
+
width: 100%;
|
|
2837
|
+
margin: 0;
|
|
2838
|
+
padding: 0;
|
|
2839
|
+
background-color: #fff;
|
|
2840
|
+
border-radius: 2px;
|
|
2841
|
+
}
|
|
2842
|
+
.ant-pro-card-col {
|
|
2843
|
+
width: 100%;
|
|
2844
|
+
}
|
|
2845
|
+
.ant-pro-card-border {
|
|
2846
|
+
border: 1px solid #f0f0f0;
|
|
2847
|
+
}
|
|
2848
|
+
.ant-pro-card-hoverable {
|
|
2849
|
+
cursor: pointer;
|
|
2850
|
+
transition: box-shadow 0.3s, border-color 0.3s;
|
|
2851
|
+
}
|
|
2852
|
+
.ant-pro-card-hoverable:hover {
|
|
2853
|
+
border-color: transparent;
|
|
2854
|
+
box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);
|
|
2855
|
+
}
|
|
2856
|
+
.ant-pro-card-hoverable.ant-pro-card-checked:hover {
|
|
2857
|
+
border-color: #1890ff;
|
|
2858
|
+
}
|
|
2859
|
+
.ant-pro-card-checked {
|
|
2860
|
+
background-color: #e6f7ff;
|
|
2861
|
+
border-color: #1890ff;
|
|
2862
|
+
}
|
|
2863
|
+
.ant-pro-card-checked::after {
|
|
2864
|
+
position: absolute;
|
|
2865
|
+
top: 2px;
|
|
2866
|
+
right: 2px;
|
|
2867
|
+
width: 0;
|
|
2868
|
+
height: 0;
|
|
2869
|
+
border: 6px solid #1890ff;
|
|
2870
|
+
border-bottom: 6px solid transparent;
|
|
2871
|
+
border-left: 6px solid transparent;
|
|
2872
|
+
border-top-right-radius: 2px;
|
|
2873
|
+
content: '';
|
|
2874
|
+
}
|
|
2875
|
+
.ant-pro-card:focus {
|
|
2876
|
+
background-color: #e6f7ff;
|
|
2877
|
+
border-color: #1890ff;
|
|
2878
|
+
}
|
|
2879
|
+
.ant-pro-card-size-small .ant-pro-card-header {
|
|
2880
|
+
padding: 8px 12px;
|
|
2881
|
+
padding-bottom: 0;
|
|
2882
|
+
}
|
|
2883
|
+
.ant-pro-card-size-small .ant-pro-card-header-border {
|
|
2884
|
+
padding-bottom: 8px;
|
|
2885
|
+
}
|
|
2886
|
+
.ant-pro-card-size-small .ant-pro-card-title {
|
|
2887
|
+
font-size: 14px;
|
|
2888
|
+
}
|
|
2889
|
+
.ant-pro-card-size-small .ant-pro-card-body {
|
|
2890
|
+
padding: 12px;
|
|
2891
|
+
}
|
|
2892
|
+
.ant-pro-card-ghost {
|
|
2893
|
+
background-color: transparent;
|
|
2894
|
+
}
|
|
2895
|
+
.ant-pro-card-ghost > .ant-pro-card-header {
|
|
2896
|
+
padding-right: 0;
|
|
2897
|
+
padding-bottom: 16px;
|
|
2898
|
+
padding-left: 0;
|
|
2899
|
+
}
|
|
2900
|
+
.ant-pro-card-ghost > .ant-pro-card-body {
|
|
2901
|
+
padding: 0;
|
|
2902
|
+
background-color: transparent;
|
|
2903
|
+
}
|
|
2904
|
+
.ant-pro-card-split > .ant-pro-card-body {
|
|
2905
|
+
padding: 0;
|
|
2906
|
+
}
|
|
2907
|
+
.ant-pro-card-split-vertical {
|
|
2908
|
+
border-right: 1px solid #f0f0f0;
|
|
2909
|
+
}
|
|
2910
|
+
.ant-pro-card-split-horizontal {
|
|
2911
|
+
border-bottom: 1px solid #f0f0f0;
|
|
2912
|
+
}
|
|
2913
|
+
.ant-pro-card-contain-card > .ant-pro-card-body {
|
|
2914
|
+
display: flex;
|
|
2915
|
+
}
|
|
2916
|
+
.ant-pro-card-body-direction-column {
|
|
2917
|
+
flex-direction: column;
|
|
2918
|
+
}
|
|
2919
|
+
.ant-pro-card-body-wrap {
|
|
2920
|
+
flex-wrap: wrap;
|
|
2921
|
+
}
|
|
2922
|
+
.ant-pro-card-collapse > .ant-pro-card-header {
|
|
2923
|
+
padding-bottom: 16px;
|
|
2924
|
+
border-bottom: 0;
|
|
2925
|
+
}
|
|
2926
|
+
.ant-pro-card-collapse > .ant-pro-card-body {
|
|
2927
|
+
display: none;
|
|
2928
|
+
}
|
|
2929
|
+
.ant-pro-card-header {
|
|
2930
|
+
display: flex;
|
|
2931
|
+
align-items: center;
|
|
2932
|
+
justify-content: space-between;
|
|
2933
|
+
padding: 16px 24px;
|
|
2934
|
+
padding-bottom: 0;
|
|
2935
|
+
}
|
|
2936
|
+
.ant-pro-card-header-border {
|
|
2937
|
+
padding-bottom: 16px;
|
|
2938
|
+
border-bottom: 1px solid #f0f0f0;
|
|
2939
|
+
}
|
|
2940
|
+
.ant-pro-card-header-collapsible {
|
|
2941
|
+
cursor: pointer;
|
|
2942
|
+
}
|
|
2943
|
+
.ant-pro-card-title {
|
|
2944
|
+
color: rgba(0, 0, 0, 0.85);
|
|
2945
|
+
font-weight: 500;
|
|
2946
|
+
font-size: 16px;
|
|
2947
|
+
}
|
|
2948
|
+
.ant-pro-card-extra {
|
|
2949
|
+
color: rgba(0, 0, 0, 0.85);
|
|
2950
|
+
}
|
|
2951
|
+
.ant-pro-card-type-inner .ant-pro-card-header {
|
|
2952
|
+
background-color: #fafafa;
|
|
2953
|
+
}
|
|
2954
|
+
.ant-pro-card-collapsible-icon {
|
|
2955
|
+
margin-right: 8px;
|
|
2956
|
+
color: rgba(0, 0, 0, 0.75);
|
|
2957
|
+
}
|
|
2958
|
+
.ant-pro-card-collapsible-icon :hover {
|
|
2959
|
+
color: #40a9ff;
|
|
2960
|
+
}
|
|
2961
|
+
.ant-pro-card-collapsible-icon svg {
|
|
2962
|
+
transition: transform 0.2s;
|
|
2963
|
+
}
|
|
2964
|
+
.ant-pro-card-body {
|
|
2965
|
+
display: block;
|
|
2966
|
+
box-sizing: border-box;
|
|
2967
|
+
height: 100%;
|
|
2968
|
+
padding: 24px;
|
|
2969
|
+
}
|
|
2970
|
+
.ant-pro-card-body-center {
|
|
2971
|
+
display: flex;
|
|
2972
|
+
align-items: center;
|
|
2973
|
+
justify-content: center;
|
|
2974
|
+
}
|
|
2975
|
+
.ant-pro-card-col-0 {
|
|
2976
|
+
display: none;
|
|
2977
|
+
}
|
|
2978
|
+
.ant-pro-card-col-24 {
|
|
2979
|
+
flex-shrink: 0;
|
|
2980
|
+
width: 100%;
|
|
2981
|
+
}
|
|
2982
|
+
.ant-pro-card-col-23 {
|
|
2983
|
+
flex-shrink: 0;
|
|
2984
|
+
width: 95.83333333%;
|
|
2985
|
+
}
|
|
2986
|
+
.ant-pro-card-col-22 {
|
|
2987
|
+
flex-shrink: 0;
|
|
2988
|
+
width: 91.66666667%;
|
|
2989
|
+
}
|
|
2990
|
+
.ant-pro-card-col-21 {
|
|
2991
|
+
flex-shrink: 0;
|
|
2992
|
+
width: 87.5%;
|
|
2993
|
+
}
|
|
2994
|
+
.ant-pro-card-col-20 {
|
|
2995
|
+
flex-shrink: 0;
|
|
2996
|
+
width: 83.33333333%;
|
|
2997
|
+
}
|
|
2998
|
+
.ant-pro-card-col-19 {
|
|
2999
|
+
flex-shrink: 0;
|
|
3000
|
+
width: 79.16666667%;
|
|
3001
|
+
}
|
|
3002
|
+
.ant-pro-card-col-18 {
|
|
3003
|
+
flex-shrink: 0;
|
|
3004
|
+
width: 75%;
|
|
3005
|
+
}
|
|
3006
|
+
.ant-pro-card-col-17 {
|
|
3007
|
+
flex-shrink: 0;
|
|
3008
|
+
width: 70.83333333%;
|
|
3009
|
+
}
|
|
3010
|
+
.ant-pro-card-col-16 {
|
|
3011
|
+
flex-shrink: 0;
|
|
3012
|
+
width: 66.66666667%;
|
|
3013
|
+
}
|
|
3014
|
+
.ant-pro-card-col-15 {
|
|
3015
|
+
flex-shrink: 0;
|
|
3016
|
+
width: 62.5%;
|
|
3017
|
+
}
|
|
3018
|
+
.ant-pro-card-col-14 {
|
|
3019
|
+
flex-shrink: 0;
|
|
3020
|
+
width: 58.33333333%;
|
|
3021
|
+
}
|
|
3022
|
+
.ant-pro-card-col-13 {
|
|
3023
|
+
flex-shrink: 0;
|
|
3024
|
+
width: 54.16666667%;
|
|
3025
|
+
}
|
|
3026
|
+
.ant-pro-card-col-12 {
|
|
3027
|
+
flex-shrink: 0;
|
|
3028
|
+
width: 50%;
|
|
3029
|
+
}
|
|
3030
|
+
.ant-pro-card-col-11 {
|
|
3031
|
+
flex-shrink: 0;
|
|
3032
|
+
width: 45.83333333%;
|
|
3033
|
+
}
|
|
3034
|
+
.ant-pro-card-col-10 {
|
|
3035
|
+
flex-shrink: 0;
|
|
3036
|
+
width: 41.66666667%;
|
|
3037
|
+
}
|
|
3038
|
+
.ant-pro-card-col-9 {
|
|
3039
|
+
flex-shrink: 0;
|
|
3040
|
+
width: 37.5%;
|
|
3041
|
+
}
|
|
3042
|
+
.ant-pro-card-col-8 {
|
|
3043
|
+
flex-shrink: 0;
|
|
3044
|
+
width: 33.33333333%;
|
|
3045
|
+
}
|
|
3046
|
+
.ant-pro-card-col-7 {
|
|
3047
|
+
flex-shrink: 0;
|
|
3048
|
+
width: 29.16666667%;
|
|
3049
|
+
}
|
|
3050
|
+
.ant-pro-card-col-6 {
|
|
3051
|
+
flex-shrink: 0;
|
|
3052
|
+
width: 25%;
|
|
3053
|
+
}
|
|
3054
|
+
.ant-pro-card-col-5 {
|
|
3055
|
+
flex-shrink: 0;
|
|
3056
|
+
width: 20.83333333%;
|
|
3057
|
+
}
|
|
3058
|
+
.ant-pro-card-col-4 {
|
|
3059
|
+
flex-shrink: 0;
|
|
3060
|
+
width: 16.66666667%;
|
|
3061
|
+
}
|
|
3062
|
+
.ant-pro-card-col-3 {
|
|
3063
|
+
flex-shrink: 0;
|
|
3064
|
+
width: 12.5%;
|
|
3065
|
+
}
|
|
3066
|
+
.ant-pro-card-col-2 {
|
|
3067
|
+
flex-shrink: 0;
|
|
3068
|
+
width: 8.33333333%;
|
|
3069
|
+
}
|
|
3070
|
+
.ant-pro-card-col-1 {
|
|
3071
|
+
flex-shrink: 0;
|
|
3072
|
+
width: 4.16666667%;
|
|
3073
|
+
}
|
|
3074
|
+
|
|
3075
|
+
.ant-pro-card-loading {
|
|
3076
|
+
overflow: hidden;
|
|
3077
|
+
}
|
|
3078
|
+
.ant-pro-card-loading .ant-pro-card-body {
|
|
3079
|
+
user-select: none;
|
|
3080
|
+
}
|
|
3081
|
+
.ant-pro-card-loading-content {
|
|
3082
|
+
width: 100%;
|
|
3083
|
+
}
|
|
3084
|
+
.ant-pro-card-loading-content p {
|
|
3085
|
+
margin: 0;
|
|
3086
|
+
}
|
|
3087
|
+
.ant-pro-card-loading-block {
|
|
3088
|
+
height: 14px;
|
|
3089
|
+
margin: 4px 0;
|
|
3090
|
+
background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));
|
|
3091
|
+
background-size: 600% 600%;
|
|
3092
|
+
border-radius: 2px;
|
|
3093
|
+
animation: card-loading 1.4s ease infinite;
|
|
3094
|
+
}
|
|
3095
|
+
@keyframes card-loading {
|
|
3096
|
+
0%,
|
|
3097
|
+
100% {
|
|
3098
|
+
background-position: 0 50%;
|
|
3099
|
+
}
|
|
3100
|
+
50% {
|
|
3101
|
+
background-position: 100% 50%;
|
|
3102
|
+
}
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
.ant-pro-card-actions {
|
|
3106
|
+
margin: 0;
|
|
3107
|
+
padding: 0;
|
|
3108
|
+
list-style: none;
|
|
3109
|
+
background: #fff;
|
|
3110
|
+
border-top: 1px solid #f0f0f0;
|
|
3111
|
+
}
|
|
3112
|
+
.ant-pro-card-actions::before {
|
|
3113
|
+
display: table;
|
|
3114
|
+
content: '';
|
|
3115
|
+
}
|
|
3116
|
+
.ant-pro-card-actions::after {
|
|
3117
|
+
display: table;
|
|
3118
|
+
clear: both;
|
|
3119
|
+
content: '';
|
|
3120
|
+
}
|
|
3121
|
+
.ant-pro-card-actions .ant-space {
|
|
3122
|
+
gap: 0 !important;
|
|
3123
|
+
width: 100%;
|
|
3124
|
+
}
|
|
3125
|
+
.ant-pro-card-actions > li,
|
|
3126
|
+
.ant-pro-card-actions .ant-space-item {
|
|
3127
|
+
flex: 1;
|
|
3128
|
+
float: left;
|
|
3129
|
+
margin: 12px 0;
|
|
3130
|
+
color: rgba(0, 0, 0, 0.45);
|
|
3131
|
+
text-align: center;
|
|
3132
|
+
}
|
|
3133
|
+
.ant-pro-card-actions > li > a,
|
|
3134
|
+
.ant-pro-card-actions .ant-space-item > a {
|
|
3135
|
+
color: rgba(0, 0, 0, 0.45);
|
|
3136
|
+
transition: color 0.3s;
|
|
3137
|
+
}
|
|
3138
|
+
.ant-pro-card-actions > li > a:hover,
|
|
3139
|
+
.ant-pro-card-actions .ant-space-item > a:hover {
|
|
3140
|
+
color: #40a9ff;
|
|
3141
|
+
}
|
|
3142
|
+
.ant-pro-card-actions > li > span,
|
|
3143
|
+
.ant-pro-card-actions .ant-space-item > span {
|
|
3144
|
+
position: relative;
|
|
3145
|
+
display: block;
|
|
3146
|
+
min-width: 32px;
|
|
3147
|
+
font-size: 14px;
|
|
3148
|
+
line-height: 1.5715;
|
|
3149
|
+
cursor: pointer;
|
|
3150
|
+
}
|
|
3151
|
+
.ant-pro-card-actions > li > span:hover,
|
|
3152
|
+
.ant-pro-card-actions .ant-space-item > span:hover {
|
|
3153
|
+
color: #40a9ff;
|
|
3154
|
+
transition: color 0.3s;
|
|
3155
|
+
}
|
|
3156
|
+
.ant-pro-card-actions > li > span a:not(.ant-btn),
|
|
3157
|
+
.ant-pro-card-actions .ant-space-item > span a:not(.ant-btn),
|
|
3158
|
+
.ant-pro-card-actions > li > span > .anticon,
|
|
3159
|
+
.ant-pro-card-actions .ant-space-item > span > .anticon {
|
|
3160
|
+
display: inline-block;
|
|
3161
|
+
width: 100%;
|
|
3162
|
+
color: rgba(0, 0, 0, 0.45);
|
|
3163
|
+
line-height: 22px;
|
|
3164
|
+
transition: color 0.3s;
|
|
3165
|
+
}
|
|
3166
|
+
.ant-pro-card-actions > li > span a:not(.ant-btn):hover,
|
|
3167
|
+
.ant-pro-card-actions .ant-space-item > span a:not(.ant-btn):hover,
|
|
3168
|
+
.ant-pro-card-actions > li > span > .anticon:hover,
|
|
3169
|
+
.ant-pro-card-actions .ant-space-item > span > .anticon:hover {
|
|
3170
|
+
color: #40a9ff;
|
|
3171
|
+
}
|
|
3172
|
+
.ant-pro-card-actions > li > span > .anticon,
|
|
3173
|
+
.ant-pro-card-actions .ant-space-item > span > .anticon {
|
|
3174
|
+
font-size: 16px;
|
|
3175
|
+
line-height: 22px;
|
|
3176
|
+
}
|
|
3177
|
+
.ant-pro-card-actions > li:not(:last-child),
|
|
3178
|
+
.ant-pro-card-actions .ant-space-item:not(:last-child) {
|
|
3179
|
+
border-right: 1px solid #f0f0f0;
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
.ant-pro-card-divider {
|
|
3183
|
+
flex: none;
|
|
3184
|
+
width: 1px;
|
|
3185
|
+
margin: 24px 8px;
|
|
3186
|
+
background-color: #f0f0f0;
|
|
3187
|
+
}
|
|
3188
|
+
.ant-pro-card-divider-horizontal {
|
|
3189
|
+
width: initial;
|
|
3190
|
+
height: 1px;
|
|
3191
|
+
margin: 8px 24px;
|
|
3192
|
+
}
|
|
3193
|
+
.ant-pro-card-size-small .ant-pro-card-divider {
|
|
3194
|
+
margin: 12px 8px;
|
|
3195
|
+
}
|
|
3196
|
+
.ant-pro-card-size-small .ant-pro-card-divider-horizontal {
|
|
3197
|
+
margin: 8px 12px;
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
.ant-pro-card-tabs .ant-tabs-top > .ant-tabs-nav {
|
|
3201
|
+
margin-bottom: 0;
|
|
3202
|
+
}
|
|
3203
|
+
.ant-pro-card-tabs .ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-list {
|
|
3204
|
+
margin-top: 8px;
|
|
3205
|
+
padding-left: 16px;
|
|
3206
|
+
}
|
|
3207
|
+
.ant-pro-card-tabs .ant-tabs-bottom > .ant-tabs-nav {
|
|
3208
|
+
margin-top: 0;
|
|
3209
|
+
}
|
|
3210
|
+
.ant-pro-card-tabs .ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-list {
|
|
3211
|
+
padding-left: 16px;
|
|
3212
|
+
}
|
|
3213
|
+
.ant-pro-card-tabs .ant-tabs-left .ant-tabs-content-holder .ant-tabs-content .ant-tabs-tabpane {
|
|
3214
|
+
padding-left: 0;
|
|
3215
|
+
}
|
|
3216
|
+
.ant-pro-card-tabs .ant-tabs-left > .ant-tabs-nav {
|
|
3217
|
+
margin-right: 0;
|
|
3218
|
+
}
|
|
3219
|
+
.ant-pro-card-tabs .ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-list {
|
|
3220
|
+
padding-top: 16px;
|
|
3221
|
+
}
|
|
3222
|
+
.ant-pro-card-tabs .ant-tabs-right .ant-tabs-content-holder .ant-tabs-content .ant-tabs-tabpane {
|
|
3223
|
+
padding-right: 0;
|
|
3224
|
+
}
|
|
3225
|
+
.ant-pro-card-tabs .ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-list {
|
|
3226
|
+
padding-top: 16px;
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
.ant-pro-descriptions .ant-descriptions-view {
|
|
3230
|
+
overflow: initial !important;
|
|
3231
|
+
}
|
|
3232
|
+
|