giime 0.6.36 → 0.6.37
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/index.css +141 -141
- package/es/components/src/base/datePicker/DatePicker.vue.d.ts +3 -3
- package/es/components/src/base/datePicker/datePicker.d.ts +1 -1
- package/es/components/src/base/datePicker/index.d.ts +7 -7
- package/es/components/src/business/uploadPro/UploadPro.vue.mjs +1 -1
- package/es/components/src/business/uploadPro/UploadPro.vue2.mjs +38 -6
- package/es/components/src/business/uploadPro/UploadPro.vue2.mjs.map +1 -1
- package/es/components/src/business/uploadPro/uploadPro.mjs +1 -1
- package/es/components/src/business/uploadPro/uploadPro.mjs.map +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue.d.ts +2 -5
- package/es/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue2.mjs +6 -2
- package/es/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue2.mjs.map +1 -1
- package/es/components/src/composite/searchForm/searchFormItems/datePicker/index.d.ts +2 -5
- package/es/components/src/composite/searchForm/searchFormItems/datePicker/searchFormDatePicker.d.ts +1 -2
- package/es/components/src/composite/searchForm/searchFormItems/datePicker/searchFormDatePicker.mjs +2 -2
- package/es/components/src/composite/searchForm/searchFormItems/datePicker/searchFormDatePicker.mjs.map +1 -1
- package/es/giime/index.mjs +1 -0
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/hooks/base/useUploadFile/index.d.ts +8 -1
- package/es/hooks/base/useUploadFile/index.mjs +32 -1
- package/es/hooks/base/useUploadFile/index.mjs.map +1 -1
- package/es/index.css +141 -141
- package/es/utils/index.mjs +1 -0
- package/es/utils/index.mjs.map +1 -1
- package/es/utils/src/date/dateShortcuts.d.ts +2 -2
- package/es/utils/src/date/dateShortcuts.mjs +87 -82
- package/es/utils/src/date/dateShortcuts.mjs.map +1 -1
- package/es/utils/src/file.d.ts +1 -0
- package/es/utils/src/file.mjs +1 -0
- package/es/utils/src/file.mjs.map +1 -1
- package/lib/components/src/base/datePicker/DatePicker.vue.d.ts +3 -3
- package/lib/components/src/base/datePicker/datePicker.d.ts +1 -1
- package/lib/components/src/base/datePicker/index.d.ts +7 -7
- package/lib/components/src/business/uploadPro/UploadPro.vue.js +1 -1
- package/lib/components/src/business/uploadPro/UploadPro.vue2.js +38 -6
- package/lib/components/src/business/uploadPro/UploadPro.vue2.js.map +1 -1
- package/lib/components/src/business/uploadPro/uploadPro.js +1 -1
- package/lib/components/src/business/uploadPro/uploadPro.js.map +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue.d.ts +2 -5
- package/lib/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue2.js +6 -2
- package/lib/components/src/composite/searchForm/searchFormItems/datePicker/SearchFormDatePicker.vue2.js.map +1 -1
- package/lib/components/src/composite/searchForm/searchFormItems/datePicker/index.d.ts +2 -5
- package/lib/components/src/composite/searchForm/searchFormItems/datePicker/searchFormDatePicker.d.ts +1 -2
- package/lib/components/src/composite/searchForm/searchFormItems/datePicker/searchFormDatePicker.js +2 -2
- package/lib/components/src/composite/searchForm/searchFormItems/datePicker/searchFormDatePicker.js.map +1 -1
- package/lib/giime/index.js +5 -0
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/hooks/base/useUploadFile/index.d.ts +8 -1
- package/lib/hooks/base/useUploadFile/index.js +32 -1
- package/lib/hooks/base/useUploadFile/index.js.map +1 -1
- package/lib/index.css +141 -141
- package/lib/utils/index.js +5 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/src/date/dateShortcuts.d.ts +2 -2
- package/lib/utils/src/date/dateShortcuts.js +87 -82
- package/lib/utils/src/date/dateShortcuts.js.map +1 -1
- package/lib/utils/src/file.d.ts +1 -0
- package/lib/utils/src/file.js +5 -0
- package/lib/utils/src/file.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -873,34 +873,97 @@ video {
|
|
|
873
873
|
.gm-group:hover .group-hover\:gm-block {
|
|
874
874
|
display: block;
|
|
875
875
|
}
|
|
876
|
+
.gm-flex-center[data-v-c17deec9] {
|
|
877
|
+
align-items: center;
|
|
878
|
+
}
|
|
876
879
|
|
|
877
|
-
.gm-
|
|
878
|
-
|
|
880
|
+
.gm-flex-justify-between[data-v-c17deec9] {
|
|
881
|
+
justify-content: space-between;
|
|
882
|
+
}
|
|
883
|
+
.gm-upload-preview-dialog[data-v-8077ce51] [data-v-8077ce51] .el-dialog__body {
|
|
884
|
+
padding: 0;
|
|
879
885
|
}
|
|
880
886
|
|
|
881
|
-
.gm-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
887
|
+
.gm-upload-file-picture-card[data-v-8077ce51] [data-v-8077ce51] .el-upload-list__item, .gm-upload-file-picture-card[data-v-8077ce51] [data-v-8077ce51] .el-upload--picture-card {
|
|
888
|
+
width: auto;
|
|
889
|
+
height: auto;
|
|
885
890
|
}
|
|
886
|
-
.gm-
|
|
887
|
-
|
|
888
|
-
|
|
891
|
+
.gm-upload-file {
|
|
892
|
+
line-height: normal;
|
|
893
|
+
}
|
|
894
|
+
.gm-upload-file .el-checkbox {
|
|
895
|
+
position: absolute;
|
|
896
|
+
left: 10px;
|
|
897
|
+
top: 0;
|
|
898
|
+
z-index: 9;
|
|
899
|
+
}
|
|
900
|
+
.gm-upload-file .el-upload-list--picture-card {
|
|
901
|
+
gap: 10px;
|
|
902
|
+
}
|
|
903
|
+
.gm-upload-file .el-upload-list__item {
|
|
904
|
+
margin: 0;
|
|
905
|
+
}
|
|
906
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
907
|
+
line-height: normal;
|
|
908
|
+
}
|
|
909
|
+
.gm-upload-file .el-upload-dragger {
|
|
910
|
+
padding: 0;
|
|
911
|
+
border: none;
|
|
912
|
+
width: 100%;
|
|
913
|
+
height: 100%;
|
|
914
|
+
display: flex;
|
|
915
|
+
}
|
|
916
|
+
.gm-upload-file .el-upload--picture-card {
|
|
917
|
+
border: none;
|
|
889
918
|
}
|
|
890
919
|
|
|
891
|
-
.gm-
|
|
920
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
921
|
+
display: none;
|
|
922
|
+
}
|
|
923
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
892
924
|
display: none;
|
|
893
|
-
|
|
925
|
+
}
|
|
926
|
+
.circular[data-v-d7b04fae] {
|
|
927
|
+
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
894
928
|
}
|
|
895
929
|
|
|
896
|
-
.
|
|
897
|
-
|
|
930
|
+
.path[data-v-d7b04fae] {
|
|
931
|
+
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
932
|
+
stroke-dasharray: 90, 150;
|
|
933
|
+
stroke-dashoffset: 0;
|
|
934
|
+
stroke: var(--el-color-primary);
|
|
935
|
+
stroke-linecap: round;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
@keyframes loading-rotate-d7b04fae {
|
|
939
|
+
to {
|
|
940
|
+
transform: rotate(360deg);
|
|
941
|
+
}
|
|
898
942
|
}
|
|
899
|
-
|
|
943
|
+
@keyframes loading-dash-d7b04fae {
|
|
944
|
+
0% {
|
|
945
|
+
stroke-dasharray: 1, 200;
|
|
946
|
+
stroke-dashoffset: 0;
|
|
947
|
+
}
|
|
948
|
+
50% {
|
|
949
|
+
stroke-dasharray: 90, 150;
|
|
950
|
+
stroke-dashoffset: -40px;
|
|
951
|
+
}
|
|
952
|
+
100% {
|
|
953
|
+
stroke-dasharray: 90, 150;
|
|
954
|
+
stroke-dashoffset: -120px;
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
959
|
+
margin: 0;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.gm-upload-pro-preview-dialog[data-v-ca99928c] [data-v-ca99928c] .el-dialog__body {
|
|
900
963
|
padding: 0;
|
|
901
964
|
}
|
|
902
965
|
|
|
903
|
-
.gm-upload-pro-file-picture-card[data-v-
|
|
966
|
+
.gm-upload-pro-file-picture-card[data-v-ca99928c] [data-v-ca99928c] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-ca99928c] [data-v-ca99928c] .el-upload--picture-card {
|
|
904
967
|
width: auto;
|
|
905
968
|
height: auto;
|
|
906
969
|
}
|
|
@@ -946,44 +1009,6 @@ video {
|
|
|
946
1009
|
margin-right: 0;
|
|
947
1010
|
margin-bottom: 4px;
|
|
948
1011
|
}
|
|
949
|
-
[data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
950
|
-
border-right: none;
|
|
951
|
-
}
|
|
952
|
-
|
|
953
|
-
[data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
954
|
-
height: 0;
|
|
955
|
-
}
|
|
956
|
-
|
|
957
|
-
[data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
958
|
-
height: 0;
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
[data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
|
|
962
|
-
height: 0;
|
|
963
|
-
}
|
|
964
|
-
|
|
965
|
-
[data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
|
|
966
|
-
height: 0;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
[data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
|
|
970
|
-
height: 0;
|
|
971
|
-
}
|
|
972
|
-
.gm-flex-center[data-v-c17deec9] {
|
|
973
|
-
align-items: center;
|
|
974
|
-
}
|
|
975
|
-
|
|
976
|
-
.gm-flex-justify-between[data-v-c17deec9] {
|
|
977
|
-
justify-content: space-between;
|
|
978
|
-
}
|
|
979
|
-
.gm-upload-preview-dialog[data-v-8077ce51] [data-v-8077ce51] .el-dialog__body {
|
|
980
|
-
padding: 0;
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
.gm-upload-file-picture-card[data-v-8077ce51] [data-v-8077ce51] .el-upload-list__item, .gm-upload-file-picture-card[data-v-8077ce51] [data-v-8077ce51] .el-upload--picture-card {
|
|
984
|
-
width: auto;
|
|
985
|
-
height: auto;
|
|
986
|
-
}
|
|
987
1012
|
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
988
1013
|
border-right: none;
|
|
989
1014
|
}
|
|
@@ -1007,188 +1032,163 @@ video {
|
|
|
1007
1032
|
[data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
|
|
1008
1033
|
height: 0;
|
|
1009
1034
|
}
|
|
1010
|
-
.gm-upload-file {
|
|
1011
|
-
line-height: normal;
|
|
1012
|
-
}
|
|
1013
|
-
.gm-upload-file .el-checkbox {
|
|
1014
|
-
position: absolute;
|
|
1015
|
-
left: 10px;
|
|
1016
|
-
top: 0;
|
|
1017
|
-
z-index: 9;
|
|
1018
|
-
}
|
|
1019
|
-
.gm-upload-file .el-upload-list--picture-card {
|
|
1020
|
-
gap: 10px;
|
|
1021
|
-
}
|
|
1022
|
-
.gm-upload-file .el-upload-list__item {
|
|
1023
|
-
margin: 0;
|
|
1024
|
-
}
|
|
1025
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
1026
|
-
line-height: normal;
|
|
1027
|
-
}
|
|
1028
|
-
.gm-upload-file .el-upload-dragger {
|
|
1029
|
-
padding: 0;
|
|
1030
|
-
border: none;
|
|
1031
|
-
width: 100%;
|
|
1032
|
-
height: 100%;
|
|
1033
|
-
display: flex;
|
|
1034
|
-
}
|
|
1035
|
-
.gm-upload-file .el-upload--picture-card {
|
|
1036
|
-
border: none;
|
|
1037
|
-
}
|
|
1038
1035
|
|
|
1039
|
-
.
|
|
1040
|
-
|
|
1036
|
+
.pagination-container[data-v-47d35e7b] {
|
|
1037
|
+
background: #fff;
|
|
1038
|
+
padding-top: 12px;
|
|
1041
1039
|
}
|
|
1042
|
-
.
|
|
1040
|
+
.pagination-container.hidden[data-v-47d35e7b] {
|
|
1043
1041
|
display: none;
|
|
1044
1042
|
}
|
|
1045
|
-
.circular[data-v-d7b04fae] {
|
|
1046
|
-
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
1047
|
-
}
|
|
1048
1043
|
|
|
1049
|
-
.
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
stroke: var(--el-color-primary);
|
|
1054
|
-
stroke-linecap: round;
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
|
-
@keyframes loading-rotate-d7b04fae {
|
|
1058
|
-
to {
|
|
1059
|
-
transform: rotate(360deg);
|
|
1060
|
-
}
|
|
1044
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
1045
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
1046
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
1047
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
1061
1048
|
}
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
stroke-dashoffset: 0;
|
|
1066
|
-
}
|
|
1067
|
-
50% {
|
|
1068
|
-
stroke-dasharray: 90, 150;
|
|
1069
|
-
stroke-dashoffset: -40px;
|
|
1070
|
-
}
|
|
1071
|
-
100% {
|
|
1072
|
-
stroke-dasharray: 90, 150;
|
|
1073
|
-
stroke-dashoffset: -120px;
|
|
1074
|
-
}
|
|
1049
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
1050
|
+
box-shadow: none;
|
|
1051
|
+
background: none;
|
|
1075
1052
|
}
|
|
1076
1053
|
|
|
1077
|
-
.
|
|
1078
|
-
background: #fff;
|
|
1079
|
-
padding-top: 12px;
|
|
1080
|
-
}
|
|
1081
|
-
.pagination-container.hidden[data-v-47d35e7b] {
|
|
1054
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1082
1055
|
display: none;
|
|
1056
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
1083
1057
|
}
|
|
1084
1058
|
|
|
1059
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1060
|
+
display: flex;
|
|
1061
|
+
}
|
|
1085
1062
|
@charset "UTF-8";
|
|
1086
|
-
.
|
|
1063
|
+
.custom-operate-drawer .el-drawer__header {
|
|
1087
1064
|
padding: 10px 15px;
|
|
1088
1065
|
margin: 0;
|
|
1089
1066
|
border-bottom: 1px solid #ebeef5;
|
|
1090
1067
|
}
|
|
1091
|
-
.
|
|
1068
|
+
.custom-operate-drawer .el-drawer__title {
|
|
1092
1069
|
font-size: 14px;
|
|
1093
1070
|
color: #333;
|
|
1094
1071
|
}
|
|
1095
|
-
.
|
|
1072
|
+
.custom-operate-drawer .el-drawer__body {
|
|
1096
1073
|
padding: 15px;
|
|
1097
1074
|
}
|
|
1098
|
-
.
|
|
1075
|
+
.custom-operate-drawer .el-drawer__footer {
|
|
1099
1076
|
padding: 10px 15px;
|
|
1100
1077
|
border-top: 1px solid #ebeef5;
|
|
1101
1078
|
}
|
|
1102
|
-
.
|
|
1079
|
+
.custom-operate-drawer .el-checkbox {
|
|
1103
1080
|
display: flex;
|
|
1104
1081
|
align-items: center;
|
|
1105
1082
|
}
|
|
1106
|
-
.
|
|
1083
|
+
.custom-operate-drawer .el-input__inner {
|
|
1107
1084
|
text-align: center;
|
|
1108
1085
|
}
|
|
1109
|
-
.
|
|
1086
|
+
.custom-operate-drawer .el-input__suffix {
|
|
1110
1087
|
position: absolute;
|
|
1111
1088
|
right: 10px;
|
|
1112
1089
|
}
|
|
1113
|
-
.
|
|
1090
|
+
.custom-operate-drawer .custom-content li {
|
|
1114
1091
|
display: flex;
|
|
1115
1092
|
align-items: center;
|
|
1116
1093
|
justify-content: center;
|
|
1117
1094
|
height: 44px;
|
|
1118
1095
|
}
|
|
1119
|
-
.
|
|
1096
|
+
.custom-operate-drawer .custom-group {
|
|
1120
1097
|
max-height: calc(100vh - 226px);
|
|
1121
1098
|
overflow-y: auto;
|
|
1122
1099
|
}
|
|
1123
|
-
.
|
|
1100
|
+
.custom-operate-drawer .custom-group::-webkit-scrollbar {
|
|
1124
1101
|
/*滚动条整体样式*/
|
|
1125
1102
|
width: 4px;
|
|
1126
1103
|
/*高宽分别对应横竖滚动条的尺寸*/
|
|
1127
1104
|
height: 1px;
|
|
1128
1105
|
}
|
|
1129
|
-
.
|
|
1106
|
+
.custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
|
|
1130
1107
|
/*滚动条里面小方块*/
|
|
1131
1108
|
border-radius: 10px;
|
|
1132
1109
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
1133
1110
|
background: #999;
|
|
1134
1111
|
}
|
|
1135
|
-
.
|
|
1112
|
+
.custom-operate-drawer .custom-group::-webkit-scrollbar-track {
|
|
1136
1113
|
/*滚动条里面轨道*/
|
|
1137
1114
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1138
1115
|
border-radius: 10px;
|
|
1139
1116
|
background: #eee;
|
|
1140
1117
|
}
|
|
1118
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1119
|
+
border-right: none;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1123
|
+
height: 0;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1127
|
+
height: 0;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
|
|
1131
|
+
height: 0;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
|
|
1135
|
+
height: 0;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
|
|
1139
|
+
height: 0;
|
|
1140
|
+
}
|
|
1141
1141
|
@charset "UTF-8";
|
|
1142
|
-
.custom-
|
|
1142
|
+
.table-custom-header-drawer .el-drawer__header {
|
|
1143
1143
|
padding: 10px 15px;
|
|
1144
1144
|
margin: 0;
|
|
1145
1145
|
border-bottom: 1px solid #ebeef5;
|
|
1146
1146
|
}
|
|
1147
|
-
.custom-
|
|
1147
|
+
.table-custom-header-drawer .el-drawer__title {
|
|
1148
1148
|
font-size: 14px;
|
|
1149
1149
|
color: #333;
|
|
1150
1150
|
}
|
|
1151
|
-
.custom-
|
|
1151
|
+
.table-custom-header-drawer .el-drawer__body {
|
|
1152
1152
|
padding: 15px;
|
|
1153
1153
|
}
|
|
1154
|
-
.custom-
|
|
1154
|
+
.table-custom-header-drawer .el-drawer__footer {
|
|
1155
1155
|
padding: 10px 15px;
|
|
1156
1156
|
border-top: 1px solid #ebeef5;
|
|
1157
1157
|
}
|
|
1158
|
-
.custom-
|
|
1158
|
+
.table-custom-header-drawer .el-checkbox {
|
|
1159
1159
|
display: flex;
|
|
1160
1160
|
align-items: center;
|
|
1161
1161
|
}
|
|
1162
|
-
.custom-
|
|
1162
|
+
.table-custom-header-drawer .el-input__inner {
|
|
1163
1163
|
text-align: center;
|
|
1164
1164
|
}
|
|
1165
|
-
.custom-
|
|
1165
|
+
.table-custom-header-drawer .el-input__suffix {
|
|
1166
1166
|
position: absolute;
|
|
1167
1167
|
right: 10px;
|
|
1168
1168
|
}
|
|
1169
|
-
.custom-
|
|
1169
|
+
.table-custom-header-drawer .custom-content li {
|
|
1170
1170
|
display: flex;
|
|
1171
1171
|
align-items: center;
|
|
1172
1172
|
justify-content: center;
|
|
1173
1173
|
height: 44px;
|
|
1174
1174
|
}
|
|
1175
|
-
.custom-
|
|
1175
|
+
.table-custom-header-drawer .custom-group {
|
|
1176
1176
|
max-height: calc(100vh - 226px);
|
|
1177
1177
|
overflow-y: auto;
|
|
1178
1178
|
}
|
|
1179
|
-
.custom-
|
|
1179
|
+
.table-custom-header-drawer .custom-group::-webkit-scrollbar {
|
|
1180
1180
|
/*滚动条整体样式*/
|
|
1181
1181
|
width: 4px;
|
|
1182
1182
|
/*高宽分别对应横竖滚动条的尺寸*/
|
|
1183
1183
|
height: 1px;
|
|
1184
1184
|
}
|
|
1185
|
-
.custom-
|
|
1185
|
+
.table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
|
|
1186
1186
|
/*滚动条里面小方块*/
|
|
1187
1187
|
border-radius: 10px;
|
|
1188
1188
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
1189
1189
|
background: #999;
|
|
1190
1190
|
}
|
|
1191
|
-
.custom-
|
|
1191
|
+
.table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
|
|
1192
1192
|
/*滚动条里面轨道*/
|
|
1193
1193
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1194
1194
|
border-radius: 10px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DatePickerInstance } from 'element-plus';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
type: {
|
|
4
|
-
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
4
|
+
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange">;
|
|
5
5
|
default: "date";
|
|
6
6
|
};
|
|
7
7
|
shortcuts: {
|
|
@@ -107,7 +107,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
107
107
|
"visible-change": (...args: any[]) => void;
|
|
108
108
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
109
|
type: {
|
|
110
|
-
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
110
|
+
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange">;
|
|
111
111
|
default: "date";
|
|
112
112
|
};
|
|
113
113
|
shortcuts: {
|
|
@@ -207,7 +207,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
207
207
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
208
208
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
209
209
|
}, {
|
|
210
|
-
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
210
|
+
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange";
|
|
211
211
|
name: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>;
|
|
212
212
|
disabled: boolean;
|
|
213
213
|
modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType))[], unknown, unknown>;
|
|
@@ -4,7 +4,7 @@ export type DateModelType = number | string | Date;
|
|
|
4
4
|
export type ModelValueType = SingleOrRange<DateModelType>;
|
|
5
5
|
export declare const datePickerProps: {
|
|
6
6
|
type: {
|
|
7
|
-
type: PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
7
|
+
type: PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange">;
|
|
8
8
|
default: "date";
|
|
9
9
|
};
|
|
10
10
|
shortcuts: {
|
|
@@ -2,7 +2,7 @@ import DatePicker from './DatePicker.vue';
|
|
|
2
2
|
export declare const GmDatePicker: import("../../../../utils").SFCWithInstall<{
|
|
3
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
4
|
type: {
|
|
5
|
-
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
5
|
+
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange">;
|
|
6
6
|
default: "date";
|
|
7
7
|
};
|
|
8
8
|
shortcuts: {
|
|
@@ -116,7 +116,7 @@ export declare const GmDatePicker: import("../../../../utils").SFCWithInstall<{
|
|
|
116
116
|
"visible-change": (...args: any[]) => void;
|
|
117
117
|
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
118
118
|
type: {
|
|
119
|
-
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
119
|
+
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange">;
|
|
120
120
|
default: "date";
|
|
121
121
|
};
|
|
122
122
|
shortcuts: {
|
|
@@ -216,7 +216,7 @@ export declare const GmDatePicker: import("../../../../utils").SFCWithInstall<{
|
|
|
216
216
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
217
217
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
218
218
|
}, {
|
|
219
|
-
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
219
|
+
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange";
|
|
220
220
|
name: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>;
|
|
221
221
|
disabled: boolean;
|
|
222
222
|
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType))[], unknown, unknown>;
|
|
@@ -243,7 +243,7 @@ export declare const GmDatePicker: import("../../../../utils").SFCWithInstall<{
|
|
|
243
243
|
Defaults: {};
|
|
244
244
|
}, Readonly<import("vue").ExtractPropTypes<{
|
|
245
245
|
type: {
|
|
246
|
-
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
246
|
+
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange">;
|
|
247
247
|
default: "date";
|
|
248
248
|
};
|
|
249
249
|
shortcuts: {
|
|
@@ -348,7 +348,7 @@ export declare const GmDatePicker: import("../../../../utils").SFCWithInstall<{
|
|
|
348
348
|
handleClose: () => void;
|
|
349
349
|
elRef: import("vue").Ref<import("element-plus").DatePickerInstance | undefined>;
|
|
350
350
|
}, {}, {}, {}, {
|
|
351
|
-
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
351
|
+
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange";
|
|
352
352
|
name: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>;
|
|
353
353
|
disabled: boolean;
|
|
354
354
|
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType))[], unknown, unknown>;
|
|
@@ -372,7 +372,7 @@ export declare const GmDatePicker: import("../../../../utils").SFCWithInstall<{
|
|
|
372
372
|
__isSuspense?: undefined;
|
|
373
373
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
374
374
|
type: {
|
|
375
|
-
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
375
|
+
type: import("vue").PropType<"date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange">;
|
|
376
376
|
default: "date";
|
|
377
377
|
};
|
|
378
378
|
shortcuts: {
|
|
@@ -485,7 +485,7 @@ export declare const GmDatePicker: import("../../../../utils").SFCWithInstall<{
|
|
|
485
485
|
"panel-change": (...args: any[]) => void;
|
|
486
486
|
"visible-change": (...args: any[]) => void;
|
|
487
487
|
}, string, {
|
|
488
|
-
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "
|
|
488
|
+
type: "date" | "daterange" | "month" | "year" | "months" | "years" | "dates" | "week" | "datetimerange" | "datetime" | "monthrange" | "yearrange";
|
|
489
489
|
name: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>) | ((new (...args: any[]) => string | [string, string]) | (() => import("element-plus").SingleOrRange<string>))[], unknown, unknown>;
|
|
490
490
|
disabled: boolean;
|
|
491
491
|
modelValue: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType) | ((new (...args: any[]) => string | number | Date | string[] | [import("element-plus").DateModelType, import("element-plus").DateModelType]) | (() => import("element-plus").ModelValueType))[], unknown, unknown>;
|
|
@@ -3,7 +3,7 @@ import './UploadPro.vue3.mjs';
|
|
|
3
3
|
import './UploadPro.vue4.mjs';
|
|
4
4
|
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
5
5
|
|
|
6
|
-
var UploadPro = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
6
|
+
var UploadPro = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-ca99928c"]]);
|
|
7
7
|
|
|
8
8
|
export { UploadPro as default };
|
|
9
9
|
//# sourceMappingURL=UploadPro.vue.mjs.map
|
|
@@ -9,7 +9,7 @@ import { uploadFileProps } from './uploadPro.mjs';
|
|
|
9
9
|
import { getGmExports } from '../../../../utils/src/elementPlus/exports.mjs';
|
|
10
10
|
import { useUploadFile } from '../../../../hooks/base/useUploadFile/index.mjs';
|
|
11
11
|
|
|
12
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
12
|
+
const _withScopeId = (n) => (pushScopeId("data-v-ca99928c"), n = n(), popScopeId(), n);
|
|
13
13
|
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
14
14
|
"div",
|
|
15
15
|
{ class: "el-upload__text gm-text-center !gm-text-xs gm-text-gray-500" },
|
|
@@ -42,12 +42,18 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
const emit = __emit;
|
|
43
43
|
const fileList = useModel(__props, "fileList");
|
|
44
44
|
const checkoutFiles = useModel(__props, "checkoutFiles");
|
|
45
|
-
const { uploadFile } = useUploadFile();
|
|
45
|
+
const { uploadFile, cancelUpload } = useUploadFile();
|
|
46
46
|
const loadingUids = ref(/* @__PURE__ */ new Set());
|
|
47
47
|
const uploadLoading = computed(() => props.showLoading && loadingUids.value.size > 0);
|
|
48
48
|
const httpRequest = async (options) => {
|
|
49
49
|
loadingUids.value.add(options.file.uid);
|
|
50
|
-
return uploadFile(options.file, {
|
|
50
|
+
return uploadFile(options.file, {
|
|
51
|
+
domainCode: props.domainCode,
|
|
52
|
+
sceneCode: props.sceneCode,
|
|
53
|
+
accept: props.accept,
|
|
54
|
+
acl: props.acl,
|
|
55
|
+
elOptions: options
|
|
56
|
+
});
|
|
51
57
|
};
|
|
52
58
|
const coverFileSuccess = (response, uploadFile2, uploadFiles) => {
|
|
53
59
|
loadingUids.value.delete(uploadFile2.uid);
|
|
@@ -57,13 +63,25 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
57
63
|
loadingUids.value.delete(uploadFile2.uid);
|
|
58
64
|
props.onError?.(error, uploadFile2, uploadFiles);
|
|
59
65
|
};
|
|
60
|
-
const beforeRemove = (file, files) => {
|
|
66
|
+
const beforeRemove = async (file, files) => {
|
|
61
67
|
if (props.disabled) {
|
|
62
68
|
return false;
|
|
63
69
|
}
|
|
70
|
+
if (props.deleteTip) {
|
|
71
|
+
await GmConfirmBox({ message: "\u786E\u5B9A\u5220\u9664\u8BE5\u6587\u4EF6\u5417\uFF1F" }, async () => {
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
if (file.status === "uploading" || loadingUids.value.has(file.uid)) {
|
|
75
|
+
cancelUpload(file.uid);
|
|
76
|
+
loadingUids.value.delete(file.uid);
|
|
77
|
+
}
|
|
64
78
|
return props.beforeRemove?.(file, files) ?? true;
|
|
65
79
|
};
|
|
66
80
|
const removeFile = (file, uploadFiles) => {
|
|
81
|
+
if (file.status === "uploading" || loadingUids.value.has(file.uid)) {
|
|
82
|
+
cancelUpload(file.uid);
|
|
83
|
+
loadingUids.value.delete(file.uid);
|
|
84
|
+
}
|
|
67
85
|
const index = fileList.value.indexOf(file);
|
|
68
86
|
if (index > -1) {
|
|
69
87
|
fileList.value.splice(index, 1);
|
|
@@ -119,6 +137,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
137
|
const _component_el_icon = resolveComponent("el-icon");
|
|
120
138
|
const _component_el_button = resolveComponent("el-button");
|
|
121
139
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
140
|
+
const _component_el_progress = resolveComponent("el-progress");
|
|
122
141
|
const _component_el_upload = resolveComponent("el-upload");
|
|
123
142
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
124
143
|
const _directive_loading = resolveDirective("loading");
|
|
@@ -203,12 +222,25 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
203
222
|
style: normalizeStyle({ width: _ctx.width + "px", height: _ctx.height + "px" })
|
|
204
223
|
},
|
|
205
224
|
[
|
|
206
|
-
|
|
225
|
+
file.status === "uploading" || loadingUids.value.has(file.uid) ? (openBlock(), createBlock(_component_el_progress, {
|
|
226
|
+
key: 0,
|
|
227
|
+
type: _ctx.listType === "picture-card" ? "circle" : "line",
|
|
228
|
+
"stroke-width": _ctx.listType === "picture-card" ? 6 : 2,
|
|
229
|
+
percentage: Number(file.percentage),
|
|
230
|
+
style: normalizeStyle(
|
|
231
|
+
_ctx.listType === "picture-card" ? {
|
|
232
|
+
width: _ctx.width - 20 + "px",
|
|
233
|
+
height: _ctx.width - 20 + "px"
|
|
234
|
+
} : "margin-top: 0.5rem"
|
|
235
|
+
),
|
|
236
|
+
width: _ctx.width - 20
|
|
237
|
+
}, null, 8, ["type", "stroke-width", "percentage", "style", "width"])) : (openBlock(), createBlock(unref(GmFileComponent), {
|
|
238
|
+
key: 1,
|
|
207
239
|
file,
|
|
208
240
|
size: _ctx.width - 40,
|
|
209
241
|
controls: false,
|
|
210
242
|
"show-icon": true
|
|
211
|
-
}, null, 8, ["file", "size"])
|
|
243
|
+
}, null, 8, ["file", "size"]))
|
|
212
244
|
],
|
|
213
245
|
4
|
|
214
246
|
/* STYLE */
|