giime 0.7.17 → 0.7.18
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 +115 -115
- package/es/components/src/composite/searchForm/SearchForm.vue.d.ts +4 -1
- package/es/components/src/composite/searchForm/SearchForm.vue.mjs +1 -1
- package/es/components/src/composite/searchForm/SearchForm.vue2.mjs +6 -1
- package/es/components/src/composite/searchForm/SearchForm.vue2.mjs.map +1 -1
- package/es/components/src/composite/searchForm/index.d.ts +12 -3
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/index.css +115 -115
- package/lib/components/src/composite/searchForm/SearchForm.vue.d.ts +4 -1
- package/lib/components/src/composite/searchForm/SearchForm.vue.js +1 -1
- package/lib/components/src/composite/searchForm/SearchForm.vue2.js +6 -1
- package/lib/components/src/composite/searchForm/SearchForm.vue2.js.map +1 -1
- package/lib/components/src/composite/searchForm/index.d.ts +12 -3
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/index.css +115 -115
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -873,56 +873,12 @@ video {
|
|
|
873
873
|
.gm-group:hover .group-hover\:gm-block {
|
|
874
874
|
display: block;
|
|
875
875
|
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
margin: 0;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.gm-upload-pro-preview-dialog[data-v-80b383d8] [data-v-80b383d8] .el-dialog__body {
|
|
882
|
-
padding: 0;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
.gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload--picture-card {
|
|
886
|
-
width: auto;
|
|
887
|
-
height: auto;
|
|
888
|
-
}
|
|
889
|
-
.gm-upload-pro-file {
|
|
890
|
-
line-height: normal;
|
|
891
|
-
}
|
|
892
|
-
.gm-upload-pro-file .el-checkbox-group {
|
|
893
|
-
font-size: unset;
|
|
894
|
-
}
|
|
895
|
-
.gm-upload-pro-file .el-checkbox {
|
|
896
|
-
position: absolute;
|
|
897
|
-
left: 10px;
|
|
898
|
-
top: 0;
|
|
899
|
-
z-index: 9;
|
|
900
|
-
}
|
|
901
|
-
.gm-upload-pro-file .el-upload-list--picture-card {
|
|
902
|
-
gap: 10px;
|
|
903
|
-
}
|
|
904
|
-
.gm-upload-pro-file .el-upload-list__item {
|
|
905
|
-
margin: 0;
|
|
906
|
-
}
|
|
907
|
-
.gm-upload-pro-file .el-upload-list__item-file-name {
|
|
908
|
-
line-height: 1.7;
|
|
909
|
-
}
|
|
910
|
-
.gm-upload-pro-file .el-upload-dragger {
|
|
911
|
-
padding: 0;
|
|
912
|
-
border: none;
|
|
913
|
-
width: 100%;
|
|
914
|
-
height: 100%;
|
|
915
|
-
display: flex;
|
|
916
|
-
}
|
|
917
|
-
.gm-upload-pro-file .el-upload--picture-card {
|
|
918
|
-
border: none;
|
|
876
|
+
.gm-flex-center[data-v-c17deec9] {
|
|
877
|
+
align-items: center;
|
|
919
878
|
}
|
|
920
879
|
|
|
921
|
-
.gm-
|
|
922
|
-
|
|
923
|
-
}
|
|
924
|
-
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
925
|
-
display: none;
|
|
880
|
+
.gm-flex-justify-between[data-v-c17deec9] {
|
|
881
|
+
justify-content: space-between;
|
|
926
882
|
}
|
|
927
883
|
.circular[data-v-d7b04fae] {
|
|
928
884
|
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
@@ -955,122 +911,82 @@ video {
|
|
|
955
911
|
stroke-dashoffset: -120px;
|
|
956
912
|
}
|
|
957
913
|
}
|
|
958
|
-
[data-v-488ca110] .gmSearchForm .el-form-item {
|
|
959
|
-
margin-right: 0;
|
|
960
|
-
margin-bottom: 4px;
|
|
961
|
-
}
|
|
962
|
-
.gm-flex-center[data-v-c17deec9] {
|
|
963
|
-
align-items: center;
|
|
964
|
-
}
|
|
965
914
|
|
|
966
|
-
.gm-
|
|
967
|
-
|
|
968
|
-
}
|
|
969
|
-
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
970
|
-
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
971
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
972
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
973
|
-
}
|
|
974
|
-
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
975
|
-
box-shadow: none;
|
|
976
|
-
background: none;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
980
|
-
display: none;
|
|
981
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
985
|
-
display: flex;
|
|
986
|
-
}
|
|
987
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
988
|
-
border-right: none;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
992
|
-
height: 0;
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
996
|
-
height: 0;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
1000
|
-
height: 0;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
1004
|
-
height: 0;
|
|
915
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
916
|
+
margin: 0;
|
|
1005
917
|
}
|
|
1006
918
|
|
|
1007
|
-
[data-v-
|
|
1008
|
-
height: 0;
|
|
1009
|
-
}
|
|
1010
|
-
.gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
|
|
919
|
+
.gm-upload-pro-preview-dialog[data-v-80b383d8] [data-v-80b383d8] .el-dialog__body {
|
|
1011
920
|
padding: 0;
|
|
1012
921
|
}
|
|
1013
922
|
|
|
1014
|
-
.gm-upload-file-picture-card[data-v-
|
|
923
|
+
.gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload--picture-card {
|
|
1015
924
|
width: auto;
|
|
1016
925
|
height: auto;
|
|
1017
926
|
}
|
|
1018
|
-
.gm-upload-file {
|
|
927
|
+
.gm-upload-pro-file {
|
|
1019
928
|
line-height: normal;
|
|
1020
929
|
}
|
|
1021
|
-
.gm-upload-file .el-checkbox {
|
|
930
|
+
.gm-upload-pro-file .el-checkbox-group {
|
|
931
|
+
font-size: unset;
|
|
932
|
+
}
|
|
933
|
+
.gm-upload-pro-file .el-checkbox {
|
|
1022
934
|
position: absolute;
|
|
1023
935
|
left: 10px;
|
|
1024
936
|
top: 0;
|
|
1025
937
|
z-index: 9;
|
|
1026
938
|
}
|
|
1027
|
-
.gm-upload-file .el-upload-list--picture-card {
|
|
939
|
+
.gm-upload-pro-file .el-upload-list--picture-card {
|
|
1028
940
|
gap: 10px;
|
|
1029
941
|
}
|
|
1030
|
-
.gm-upload-file .el-upload-list__item {
|
|
942
|
+
.gm-upload-pro-file .el-upload-list__item {
|
|
1031
943
|
margin: 0;
|
|
1032
944
|
}
|
|
1033
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
1034
|
-
line-height:
|
|
945
|
+
.gm-upload-pro-file .el-upload-list__item-file-name {
|
|
946
|
+
line-height: 1.7;
|
|
1035
947
|
}
|
|
1036
|
-
.gm-upload-file .el-upload-dragger {
|
|
948
|
+
.gm-upload-pro-file .el-upload-dragger {
|
|
1037
949
|
padding: 0;
|
|
1038
950
|
border: none;
|
|
1039
951
|
width: 100%;
|
|
1040
952
|
height: 100%;
|
|
1041
953
|
display: flex;
|
|
1042
954
|
}
|
|
1043
|
-
.gm-upload-file .el-upload--picture-card {
|
|
955
|
+
.gm-upload-pro-file .el-upload--picture-card {
|
|
1044
956
|
border: none;
|
|
1045
957
|
}
|
|
1046
958
|
|
|
1047
|
-
.gm-upload-file-disabled .el-upload--picture-card {
|
|
959
|
+
.gm-upload-pro-file-disabled .el-upload--picture-card {
|
|
1048
960
|
display: none;
|
|
1049
961
|
}
|
|
1050
|
-
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
962
|
+
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
1051
963
|
display: none;
|
|
1052
964
|
}
|
|
1053
|
-
[data-v-
|
|
965
|
+
[data-v-d3111183] .gmSearchForm .el-form-item {
|
|
966
|
+
margin-right: 0;
|
|
967
|
+
margin-bottom: 4px;
|
|
968
|
+
}
|
|
969
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1054
970
|
border-right: none;
|
|
1055
971
|
}
|
|
1056
972
|
|
|
1057
|
-
[data-v-
|
|
973
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1058
974
|
height: 0;
|
|
1059
975
|
}
|
|
1060
976
|
|
|
1061
|
-
[data-v-
|
|
977
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1062
978
|
height: 0;
|
|
1063
979
|
}
|
|
1064
980
|
|
|
1065
|
-
[data-v-
|
|
981
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
1066
982
|
height: 0;
|
|
1067
983
|
}
|
|
1068
984
|
|
|
1069
|
-
[data-v-
|
|
985
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
1070
986
|
height: 0;
|
|
1071
987
|
}
|
|
1072
988
|
|
|
1073
|
-
[data-v-
|
|
989
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
|
|
1074
990
|
height: 0;
|
|
1075
991
|
}
|
|
1076
992
|
|
|
@@ -1082,6 +998,24 @@ video {
|
|
|
1082
998
|
display: none;
|
|
1083
999
|
}
|
|
1084
1000
|
|
|
1001
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
1002
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
1003
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
1004
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
1005
|
+
}
|
|
1006
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
1007
|
+
box-shadow: none;
|
|
1008
|
+
background: none;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1012
|
+
display: none;
|
|
1013
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1017
|
+
display: flex;
|
|
1018
|
+
}
|
|
1085
1019
|
@charset "UTF-8";
|
|
1086
1020
|
.custom-operate-drawer .el-drawer__header {
|
|
1087
1021
|
padding: 10px 15px;
|
|
@@ -1138,6 +1072,29 @@ video {
|
|
|
1138
1072
|
border-radius: 10px;
|
|
1139
1073
|
background: #eee;
|
|
1140
1074
|
}
|
|
1075
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1076
|
+
border-right: none;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1080
|
+
height: 0;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1084
|
+
height: 0;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
|
|
1088
|
+
height: 0;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
|
|
1092
|
+
height: 0;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
|
|
1096
|
+
height: 0;
|
|
1097
|
+
}
|
|
1141
1098
|
@charset "UTF-8";
|
|
1142
1099
|
.table-custom-header-drawer .el-drawer__header {
|
|
1143
1100
|
padding: 10px 15px;
|
|
@@ -1193,4 +1150,47 @@ video {
|
|
|
1193
1150
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1194
1151
|
border-radius: 10px;
|
|
1195
1152
|
background: #eee;
|
|
1153
|
+
}
|
|
1154
|
+
.gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
|
|
1155
|
+
padding: 0;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload-list__item, .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload--picture-card {
|
|
1159
|
+
width: auto;
|
|
1160
|
+
height: auto;
|
|
1161
|
+
}
|
|
1162
|
+
.gm-upload-file {
|
|
1163
|
+
line-height: normal;
|
|
1164
|
+
}
|
|
1165
|
+
.gm-upload-file .el-checkbox {
|
|
1166
|
+
position: absolute;
|
|
1167
|
+
left: 10px;
|
|
1168
|
+
top: 0;
|
|
1169
|
+
z-index: 9;
|
|
1170
|
+
}
|
|
1171
|
+
.gm-upload-file .el-upload-list--picture-card {
|
|
1172
|
+
gap: 10px;
|
|
1173
|
+
}
|
|
1174
|
+
.gm-upload-file .el-upload-list__item {
|
|
1175
|
+
margin: 0;
|
|
1176
|
+
}
|
|
1177
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
1178
|
+
line-height: normal;
|
|
1179
|
+
}
|
|
1180
|
+
.gm-upload-file .el-upload-dragger {
|
|
1181
|
+
padding: 0;
|
|
1182
|
+
border: none;
|
|
1183
|
+
width: 100%;
|
|
1184
|
+
height: 100%;
|
|
1185
|
+
display: flex;
|
|
1186
|
+
}
|
|
1187
|
+
.gm-upload-file .el-upload--picture-card {
|
|
1188
|
+
border: none;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1192
|
+
display: none;
|
|
1193
|
+
}
|
|
1194
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1195
|
+
display: none;
|
|
1196
1196
|
}
|
|
@@ -12,7 +12,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
-
}, {
|
|
15
|
+
}, {
|
|
16
|
+
handleQuery: (...args: any[]) => void;
|
|
17
|
+
resetQuery: () => void;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
19
|
"update:showSearch": (showSearch: boolean) => void;
|
|
17
20
|
"update:queryParams": (queryParams: Record<string, any>) => void;
|
|
18
21
|
handleQuery: (...args: any[]) => void;
|
|
@@ -2,7 +2,7 @@ import _sfc_main from './SearchForm.vue2.mjs';
|
|
|
2
2
|
import './SearchForm.vue3.mjs';
|
|
3
3
|
import _export_sfc from '../../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
4
4
|
|
|
5
|
-
var SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5
|
+
var SearchForm = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d3111183"]]);
|
|
6
6
|
|
|
7
7
|
export { SearchForm as default };
|
|
8
8
|
//# sourceMappingURL=SearchForm.vue.mjs.map
|
|
@@ -18,7 +18,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
"queryParamsModifiers": {}
|
|
19
19
|
}),
|
|
20
20
|
emits: /* @__PURE__ */ mergeModels(searchFormEmits, ["update:showSearch", "update:queryParams"]),
|
|
21
|
-
setup(__props, { emit: __emit }) {
|
|
21
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
22
22
|
const tableCtx = inject(TableCtxKey, {});
|
|
23
23
|
const showSearch = useModel(__props, "showSearch");
|
|
24
24
|
const queryParams = useModel(__props, "queryParams");
|
|
@@ -69,6 +69,11 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
69
|
tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: "smooth" });
|
|
70
70
|
tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });
|
|
71
71
|
};
|
|
72
|
+
__expose({
|
|
73
|
+
// queryRef,
|
|
74
|
+
handleQuery,
|
|
75
|
+
resetQuery
|
|
76
|
+
});
|
|
72
77
|
return (_ctx, _cache) => {
|
|
73
78
|
const _component_gm_button = resolveComponent("gm-button");
|
|
74
79
|
const _component_gm_icon = resolveComponent("gm-icon");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchForm.vue2.mjs","sources":["../../../../../../../packages/components/src/composite/searchForm/SearchForm.vue"],"sourcesContent":["<script lang=\"ts\">\nconst itemGap = 8\n</script>\n<template>\n <div ref=\"queryDivRef\" class=\"gm-mb-5\">\n <gm-form v-show=\"showSearch\" ref=\"queryRef\" :model=\"queryParams\" :inline=\"true\" class=\"gmSearchForm\">\n <div :class=\"showMore ? '' : 'gm-h-[36px] gm-overflow-hidden'\">\n <div class=\"gm-relative gm-grid gm-w-full\" :style=\"{ gridTemplateColumns: `repeat(${colsCount}, minmax(0, 1fr))`, gap: itemGap + 'px' }\">\n <template v-for=\"(item, index) in optionsList\" :key=\"index\">\n <component :is=\"item.component\" v-bind=\"item.props\" v-model=\"queryParams[item.props.prop]\" />\n </template>\n <slot />\n <gm-form-item :style=\"searchButtonItemStyle\">\n <div class=\"gm-flex gm-w-full\" :class=\"notShowShowMore ? '' : ' gm-justify-end'\">\n <gm-button type=\"primary\" :icon=\"Search\" class=\"\" @click=\"handleQuery\">搜索</gm-button>\n <gm-button :icon=\"Refresh\" @click=\"resetQuery\">重置</gm-button>\n <gm-button v-show=\"!notShowShowMore\" type=\"primary\" text @click=\"handleShowMoreChange\">\n {{ showMore ? '缩起' : '展开' }} <gm-icon class=\"el-icon--right\" :class=\"showMore ? 'gm-rotate-180' : ''\"><ArrowDown /></gm-icon>\n </gm-button>\n </div>\n </gm-form-item>\n <div ref=\"visibilityMarkRef\" class=\"gm-absolute gm-bottom-3 gm-right-0 -gm-z-10 gm-h-1 gm-w-1\" />\n </div>\n </div>\n </gm-form>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject, nextTick, provide, ref } from 'vue';\nimport { useElementSize } from '@vueuse/core';\nimport { TableCtxKey } from '@giime/constants/table';\nimport { ArrowDown, Refresh, Search } from '@element-plus/icons-vue';\nimport { searchFormEmits, searchFormItemList, searchFormProps } from './searchForm';\nimport { queryParamsKey, searchFormHandleQueryKey } from './constants';\nimport type { CSSProperties } from 'vue';\nimport type { FormInstance } from '../../base/form';\ndefineOptions({\n name: 'GmSearchForm',\n});\nconst tableCtx = inject(TableCtxKey, {});\n\nconst showSearch = defineModel<boolean>('showSearch', { default: true });\n\nconst queryParams = defineModel<Record<string, any>>('queryParams', { required: true });\n\nprovide(queryParamsKey, queryParams);\n\nconst props = defineProps(searchFormProps);\nconst emit = defineEmits(searchFormEmits);\n\nconst queryDivRef = ref<HTMLDivElement>();\nconst visibilityMarkRef = ref<HTMLDivElement>();\n// const markIsVisibility = useElementVisibility(visibilityMarkRef);\n\nconst { width: queryDivWidth, height: queryDivHeight } = useElementSize(queryDivRef);\n// 列个数\nconst colsCount = computed(() => Math.floor(queryDivWidth.value / 269));\nconst showMore = ref(props.defaultShowMore);\n// 当 showMore展开 且高度为60时,不显示展开按钮\nconst notShowShowMore = computed(() => showMore.value === true && queryDivHeight.value <= 70);\n\n/**搜索重置按钮组样式 */\nconst searchButtonItemStyle = computed<CSSProperties>(() => {\n if (notShowShowMore.value) {\n return {};\n }\n return {\n gridColumn: colsCount.value,\n gridRow: showMore.value ? undefined : 1,\n };\n});\nconst handleShowMoreChange = async () => {\n showMore.value = !showMore.value;\n // 手动触发 scroll 事件\n const scrollEvent = new Event('resize');\n await nextTick();\n // 手动触发事件\n window.dispatchEvent(scrollEvent);\n};\n\n// 通过json渲染组件\nconst optionsList = computed(() => {\n return props.options.map(it => {\n const findComponent = searchFormItemList.find(item => item.type === it.type);\n if (findComponent) {\n it.component = findComponent.component;\n }\n return it;\n });\n});\n\nconst queryRef = ref<FormInstance>();\n// 上下文添加queryRef\ntableCtx.queryRef = queryRef;\nconst handleQuery = (...args: any[]) => {\n emit('handleQuery', ...args);\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\nprovide(searchFormHandleQueryKey, handleQuery);\n\nconst resetQuery = () => {\n queryRef.value?.resetFields();\n emit('resetQuery');\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\n</script>\n<style lang=\"scss\" scoped>\n:deep(.gmSearchForm .el-form-item) {\n margin-right: 0;\n margin-bottom: 4px;\n}\n</style>\n"],"names":["_useModel"],"mappings":";;;;;;;AACA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A;AACjB,MAAU,QAAA,EAAA,QAAA,EAAU,OAAO,QAAS,CAAA,EAAE,KAAK,CAAG,EAAA,QAAA,EAAU,UAAU,CAAA,CAAA;AAClE,MAAS,QAAA,CAAA,UAAA,EAAY,OAAO,QAAS,CAAA,EAAE,YAAY,CAAG,EAAA,SAAA,EAAW,GAAG,CAAA,CAAA;AAAA,KACtE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"SearchForm.vue2.mjs","sources":["../../../../../../../packages/components/src/composite/searchForm/SearchForm.vue"],"sourcesContent":["<script lang=\"ts\">\nconst itemGap = 8\n</script>\n<template>\n <div ref=\"queryDivRef\" class=\"gm-mb-5\">\n <gm-form v-show=\"showSearch\" ref=\"queryRef\" :model=\"queryParams\" :inline=\"true\" class=\"gmSearchForm\">\n <div :class=\"showMore ? '' : 'gm-h-[36px] gm-overflow-hidden'\">\n <div class=\"gm-relative gm-grid gm-w-full\" :style=\"{ gridTemplateColumns: `repeat(${colsCount}, minmax(0, 1fr))`, gap: itemGap + 'px' }\">\n <template v-for=\"(item, index) in optionsList\" :key=\"index\">\n <component :is=\"item.component\" v-bind=\"item.props\" v-model=\"queryParams[item.props.prop]\" />\n </template>\n <slot />\n <gm-form-item :style=\"searchButtonItemStyle\">\n <div class=\"gm-flex gm-w-full\" :class=\"notShowShowMore ? '' : ' gm-justify-end'\">\n <gm-button type=\"primary\" :icon=\"Search\" class=\"\" @click=\"handleQuery\">搜索</gm-button>\n <gm-button :icon=\"Refresh\" @click=\"resetQuery\">重置</gm-button>\n <gm-button v-show=\"!notShowShowMore\" type=\"primary\" text @click=\"handleShowMoreChange\">\n {{ showMore ? '缩起' : '展开' }} <gm-icon class=\"el-icon--right\" :class=\"showMore ? 'gm-rotate-180' : ''\"><ArrowDown /></gm-icon>\n </gm-button>\n </div>\n </gm-form-item>\n <div ref=\"visibilityMarkRef\" class=\"gm-absolute gm-bottom-3 gm-right-0 -gm-z-10 gm-h-1 gm-w-1\" />\n </div>\n </div>\n </gm-form>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject, nextTick, provide, ref } from 'vue';\nimport { useElementSize } from '@vueuse/core';\nimport { TableCtxKey } from '@giime/constants/table';\nimport { ArrowDown, Refresh, Search } from '@element-plus/icons-vue';\nimport { searchFormEmits, searchFormItemList, searchFormProps } from './searchForm';\nimport { queryParamsKey, searchFormHandleQueryKey } from './constants';\nimport type { CSSProperties } from 'vue';\nimport type { FormInstance } from '../../base/form';\ndefineOptions({\n name: 'GmSearchForm',\n});\nconst tableCtx = inject(TableCtxKey, {});\n\nconst showSearch = defineModel<boolean>('showSearch', { default: true });\n\nconst queryParams = defineModel<Record<string, any>>('queryParams', { required: true });\n\nprovide(queryParamsKey, queryParams);\n\nconst props = defineProps(searchFormProps);\nconst emit = defineEmits(searchFormEmits);\n\nconst queryDivRef = ref<HTMLDivElement>();\nconst visibilityMarkRef = ref<HTMLDivElement>();\n// const markIsVisibility = useElementVisibility(visibilityMarkRef);\n\nconst { width: queryDivWidth, height: queryDivHeight } = useElementSize(queryDivRef);\n// 列个数\nconst colsCount = computed(() => Math.floor(queryDivWidth.value / 269));\nconst showMore = ref(props.defaultShowMore);\n// 当 showMore展开 且高度为60时,不显示展开按钮\nconst notShowShowMore = computed(() => showMore.value === true && queryDivHeight.value <= 70);\n\n/**搜索重置按钮组样式 */\nconst searchButtonItemStyle = computed<CSSProperties>(() => {\n if (notShowShowMore.value) {\n return {};\n }\n return {\n gridColumn: colsCount.value,\n gridRow: showMore.value ? undefined : 1,\n };\n});\nconst handleShowMoreChange = async () => {\n showMore.value = !showMore.value;\n // 手动触发 scroll 事件\n const scrollEvent = new Event('resize');\n await nextTick();\n // 手动触发事件\n window.dispatchEvent(scrollEvent);\n};\n\n// 通过json渲染组件\nconst optionsList = computed(() => {\n return props.options.map(it => {\n const findComponent = searchFormItemList.find(item => item.type === it.type);\n if (findComponent) {\n it.component = findComponent.component;\n }\n return it;\n });\n});\n\nconst queryRef = ref<FormInstance>();\n// 上下文添加queryRef\ntableCtx.queryRef = queryRef;\nconst handleQuery = (...args: any[]) => {\n emit('handleQuery', ...args);\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\nprovide(searchFormHandleQueryKey, handleQuery);\n\nconst resetQuery = () => {\n queryRef.value?.resetFields();\n emit('resetQuery');\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\n\ndefineExpose({\n // queryRef,\n handleQuery,\n resetQuery,\n});\n</script>\n<style lang=\"scss\" scoped>\n:deep(.gmSearchForm .el-form-item) {\n margin-right: 0;\n margin-bottom: 4px;\n}\n</style>\n"],"names":["_useModel"],"mappings":";;;;;;;AACA,MAAM,OAAU,GAAA,CAAA,CAAA;;;;;;;;;;;;;;AAsChB,IAAA,MAAM,QAAW,GAAA,MAAA,CAAO,WAAa,EAAA,EAAE,CAAA,CAAA;AAEvC,IAAM,MAAA,UAAA,GAAaA,QAAoB,CAAA,OAAA,EAAC,YAA+B,CAAA,CAAA;AAEvE,IAAM,MAAA,WAAA,GAAcA,QAAiC,CAAA,OAAA,EAAA,aAAiC,CAAA,CAAA;AAEtF,IAAA,OAAA,CAAQ,gBAAgB,WAAW,CAAA,CAAA;AAEnC,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;AAEb,IAAA,MAAM,cAAc,GAAoB,EAAA,CAAA;AACxC,IAAA,MAAM,oBAAoB,GAAoB,EAAA,CAAA;AAG9C,IA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}
|
|
@@ -19,7 +19,10 @@ export declare const GmSearchForm: import("../../../../utils").SFCWithInstall<{
|
|
|
19
19
|
"onUpdate:queryParams"?: ((queryParams: Record<string, any>) => any) | undefined;
|
|
20
20
|
onHandleQuery?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
onResetQuery?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}, {
|
|
22
|
+
}, {
|
|
23
|
+
handleQuery: (...args: any[]) => void;
|
|
24
|
+
resetQuery: () => void;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
26
|
"update:showSearch": (showSearch: boolean) => void;
|
|
24
27
|
"update:queryParams": (queryParams: Record<string, any>) => void;
|
|
25
28
|
handleQuery: (...args: any[]) => void;
|
|
@@ -72,7 +75,10 @@ export declare const GmSearchForm: import("../../../../utils").SFCWithInstall<{
|
|
|
72
75
|
"onUpdate:queryParams"?: ((queryParams: Record<string, any>) => any) | undefined;
|
|
73
76
|
onHandleQuery?: ((...args: any[]) => any) | undefined;
|
|
74
77
|
onResetQuery?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
}, {
|
|
78
|
+
}, {
|
|
79
|
+
handleQuery: (...args: any[]) => void;
|
|
80
|
+
resetQuery: () => void;
|
|
81
|
+
}, {}, {}, {}, {
|
|
76
82
|
options: import("./searchForm").SearchFormPropsOption[];
|
|
77
83
|
defaultShowMore: boolean;
|
|
78
84
|
}>;
|
|
@@ -98,7 +104,10 @@ export declare const GmSearchForm: import("../../../../utils").SFCWithInstall<{
|
|
|
98
104
|
"onUpdate:queryParams"?: ((queryParams: Record<string, any>) => any) | undefined;
|
|
99
105
|
onHandleQuery?: ((...args: any[]) => any) | undefined;
|
|
100
106
|
onResetQuery?: ((...args: any[]) => any) | undefined;
|
|
101
|
-
}, {
|
|
107
|
+
}, {
|
|
108
|
+
handleQuery: (...args: any[]) => void;
|
|
109
|
+
resetQuery: () => void;
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
102
111
|
"update:showSearch": (showSearch: boolean) => void;
|
|
103
112
|
"update:queryParams": (queryParams: Record<string, any>) => void;
|
|
104
113
|
handleQuery: (...args: any[]) => void;
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.7.
|
|
1
|
+
export declare const version = "0.7.18";
|
package/es/giime/version.mjs
CHANGED
package/es/giime/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.7.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.7.18';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
|
package/es/index.css
CHANGED
|
@@ -873,56 +873,12 @@ video {
|
|
|
873
873
|
.gm-group:hover .group-hover\:gm-block {
|
|
874
874
|
display: block;
|
|
875
875
|
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
margin: 0;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.gm-upload-pro-preview-dialog[data-v-80b383d8] [data-v-80b383d8] .el-dialog__body {
|
|
882
|
-
padding: 0;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
.gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload--picture-card {
|
|
886
|
-
width: auto;
|
|
887
|
-
height: auto;
|
|
888
|
-
}
|
|
889
|
-
.gm-upload-pro-file {
|
|
890
|
-
line-height: normal;
|
|
891
|
-
}
|
|
892
|
-
.gm-upload-pro-file .el-checkbox-group {
|
|
893
|
-
font-size: unset;
|
|
894
|
-
}
|
|
895
|
-
.gm-upload-pro-file .el-checkbox {
|
|
896
|
-
position: absolute;
|
|
897
|
-
left: 10px;
|
|
898
|
-
top: 0;
|
|
899
|
-
z-index: 9;
|
|
900
|
-
}
|
|
901
|
-
.gm-upload-pro-file .el-upload-list--picture-card {
|
|
902
|
-
gap: 10px;
|
|
903
|
-
}
|
|
904
|
-
.gm-upload-pro-file .el-upload-list__item {
|
|
905
|
-
margin: 0;
|
|
906
|
-
}
|
|
907
|
-
.gm-upload-pro-file .el-upload-list__item-file-name {
|
|
908
|
-
line-height: 1.7;
|
|
909
|
-
}
|
|
910
|
-
.gm-upload-pro-file .el-upload-dragger {
|
|
911
|
-
padding: 0;
|
|
912
|
-
border: none;
|
|
913
|
-
width: 100%;
|
|
914
|
-
height: 100%;
|
|
915
|
-
display: flex;
|
|
916
|
-
}
|
|
917
|
-
.gm-upload-pro-file .el-upload--picture-card {
|
|
918
|
-
border: none;
|
|
876
|
+
.gm-flex-center[data-v-c17deec9] {
|
|
877
|
+
align-items: center;
|
|
919
878
|
}
|
|
920
879
|
|
|
921
|
-
.gm-
|
|
922
|
-
|
|
923
|
-
}
|
|
924
|
-
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
925
|
-
display: none;
|
|
880
|
+
.gm-flex-justify-between[data-v-c17deec9] {
|
|
881
|
+
justify-content: space-between;
|
|
926
882
|
}
|
|
927
883
|
.circular[data-v-d7b04fae] {
|
|
928
884
|
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
@@ -955,122 +911,82 @@ video {
|
|
|
955
911
|
stroke-dashoffset: -120px;
|
|
956
912
|
}
|
|
957
913
|
}
|
|
958
|
-
[data-v-488ca110] .gmSearchForm .el-form-item {
|
|
959
|
-
margin-right: 0;
|
|
960
|
-
margin-bottom: 4px;
|
|
961
|
-
}
|
|
962
|
-
.gm-flex-center[data-v-c17deec9] {
|
|
963
|
-
align-items: center;
|
|
964
|
-
}
|
|
965
914
|
|
|
966
|
-
.gm-
|
|
967
|
-
|
|
968
|
-
}
|
|
969
|
-
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
970
|
-
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
971
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
972
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
973
|
-
}
|
|
974
|
-
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
975
|
-
box-shadow: none;
|
|
976
|
-
background: none;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
980
|
-
display: none;
|
|
981
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
985
|
-
display: flex;
|
|
986
|
-
}
|
|
987
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
988
|
-
border-right: none;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
992
|
-
height: 0;
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
996
|
-
height: 0;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
1000
|
-
height: 0;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
1004
|
-
height: 0;
|
|
915
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
916
|
+
margin: 0;
|
|
1005
917
|
}
|
|
1006
918
|
|
|
1007
|
-
[data-v-
|
|
1008
|
-
height: 0;
|
|
1009
|
-
}
|
|
1010
|
-
.gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
|
|
919
|
+
.gm-upload-pro-preview-dialog[data-v-80b383d8] [data-v-80b383d8] .el-dialog__body {
|
|
1011
920
|
padding: 0;
|
|
1012
921
|
}
|
|
1013
922
|
|
|
1014
|
-
.gm-upload-file-picture-card[data-v-
|
|
923
|
+
.gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload--picture-card {
|
|
1015
924
|
width: auto;
|
|
1016
925
|
height: auto;
|
|
1017
926
|
}
|
|
1018
|
-
.gm-upload-file {
|
|
927
|
+
.gm-upload-pro-file {
|
|
1019
928
|
line-height: normal;
|
|
1020
929
|
}
|
|
1021
|
-
.gm-upload-file .el-checkbox {
|
|
930
|
+
.gm-upload-pro-file .el-checkbox-group {
|
|
931
|
+
font-size: unset;
|
|
932
|
+
}
|
|
933
|
+
.gm-upload-pro-file .el-checkbox {
|
|
1022
934
|
position: absolute;
|
|
1023
935
|
left: 10px;
|
|
1024
936
|
top: 0;
|
|
1025
937
|
z-index: 9;
|
|
1026
938
|
}
|
|
1027
|
-
.gm-upload-file .el-upload-list--picture-card {
|
|
939
|
+
.gm-upload-pro-file .el-upload-list--picture-card {
|
|
1028
940
|
gap: 10px;
|
|
1029
941
|
}
|
|
1030
|
-
.gm-upload-file .el-upload-list__item {
|
|
942
|
+
.gm-upload-pro-file .el-upload-list__item {
|
|
1031
943
|
margin: 0;
|
|
1032
944
|
}
|
|
1033
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
1034
|
-
line-height:
|
|
945
|
+
.gm-upload-pro-file .el-upload-list__item-file-name {
|
|
946
|
+
line-height: 1.7;
|
|
1035
947
|
}
|
|
1036
|
-
.gm-upload-file .el-upload-dragger {
|
|
948
|
+
.gm-upload-pro-file .el-upload-dragger {
|
|
1037
949
|
padding: 0;
|
|
1038
950
|
border: none;
|
|
1039
951
|
width: 100%;
|
|
1040
952
|
height: 100%;
|
|
1041
953
|
display: flex;
|
|
1042
954
|
}
|
|
1043
|
-
.gm-upload-file .el-upload--picture-card {
|
|
955
|
+
.gm-upload-pro-file .el-upload--picture-card {
|
|
1044
956
|
border: none;
|
|
1045
957
|
}
|
|
1046
958
|
|
|
1047
|
-
.gm-upload-file-disabled .el-upload--picture-card {
|
|
959
|
+
.gm-upload-pro-file-disabled .el-upload--picture-card {
|
|
1048
960
|
display: none;
|
|
1049
961
|
}
|
|
1050
|
-
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
962
|
+
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
1051
963
|
display: none;
|
|
1052
964
|
}
|
|
1053
|
-
[data-v-
|
|
965
|
+
[data-v-d3111183] .gmSearchForm .el-form-item {
|
|
966
|
+
margin-right: 0;
|
|
967
|
+
margin-bottom: 4px;
|
|
968
|
+
}
|
|
969
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1054
970
|
border-right: none;
|
|
1055
971
|
}
|
|
1056
972
|
|
|
1057
|
-
[data-v-
|
|
973
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1058
974
|
height: 0;
|
|
1059
975
|
}
|
|
1060
976
|
|
|
1061
|
-
[data-v-
|
|
977
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1062
978
|
height: 0;
|
|
1063
979
|
}
|
|
1064
980
|
|
|
1065
|
-
[data-v-
|
|
981
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
1066
982
|
height: 0;
|
|
1067
983
|
}
|
|
1068
984
|
|
|
1069
|
-
[data-v-
|
|
985
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
1070
986
|
height: 0;
|
|
1071
987
|
}
|
|
1072
988
|
|
|
1073
|
-
[data-v-
|
|
989
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
|
|
1074
990
|
height: 0;
|
|
1075
991
|
}
|
|
1076
992
|
|
|
@@ -1082,6 +998,24 @@ video {
|
|
|
1082
998
|
display: none;
|
|
1083
999
|
}
|
|
1084
1000
|
|
|
1001
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
1002
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
1003
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
1004
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
1005
|
+
}
|
|
1006
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
1007
|
+
box-shadow: none;
|
|
1008
|
+
background: none;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1012
|
+
display: none;
|
|
1013
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1017
|
+
display: flex;
|
|
1018
|
+
}
|
|
1085
1019
|
@charset "UTF-8";
|
|
1086
1020
|
.custom-operate-drawer .el-drawer__header {
|
|
1087
1021
|
padding: 10px 15px;
|
|
@@ -1138,6 +1072,29 @@ video {
|
|
|
1138
1072
|
border-radius: 10px;
|
|
1139
1073
|
background: #eee;
|
|
1140
1074
|
}
|
|
1075
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1076
|
+
border-right: none;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1080
|
+
height: 0;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1084
|
+
height: 0;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
|
|
1088
|
+
height: 0;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
|
|
1092
|
+
height: 0;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
|
|
1096
|
+
height: 0;
|
|
1097
|
+
}
|
|
1141
1098
|
@charset "UTF-8";
|
|
1142
1099
|
.table-custom-header-drawer .el-drawer__header {
|
|
1143
1100
|
padding: 10px 15px;
|
|
@@ -1193,4 +1150,47 @@ video {
|
|
|
1193
1150
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1194
1151
|
border-radius: 10px;
|
|
1195
1152
|
background: #eee;
|
|
1153
|
+
}
|
|
1154
|
+
.gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
|
|
1155
|
+
padding: 0;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload-list__item, .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload--picture-card {
|
|
1159
|
+
width: auto;
|
|
1160
|
+
height: auto;
|
|
1161
|
+
}
|
|
1162
|
+
.gm-upload-file {
|
|
1163
|
+
line-height: normal;
|
|
1164
|
+
}
|
|
1165
|
+
.gm-upload-file .el-checkbox {
|
|
1166
|
+
position: absolute;
|
|
1167
|
+
left: 10px;
|
|
1168
|
+
top: 0;
|
|
1169
|
+
z-index: 9;
|
|
1170
|
+
}
|
|
1171
|
+
.gm-upload-file .el-upload-list--picture-card {
|
|
1172
|
+
gap: 10px;
|
|
1173
|
+
}
|
|
1174
|
+
.gm-upload-file .el-upload-list__item {
|
|
1175
|
+
margin: 0;
|
|
1176
|
+
}
|
|
1177
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
1178
|
+
line-height: normal;
|
|
1179
|
+
}
|
|
1180
|
+
.gm-upload-file .el-upload-dragger {
|
|
1181
|
+
padding: 0;
|
|
1182
|
+
border: none;
|
|
1183
|
+
width: 100%;
|
|
1184
|
+
height: 100%;
|
|
1185
|
+
display: flex;
|
|
1186
|
+
}
|
|
1187
|
+
.gm-upload-file .el-upload--picture-card {
|
|
1188
|
+
border: none;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1192
|
+
display: none;
|
|
1193
|
+
}
|
|
1194
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1195
|
+
display: none;
|
|
1196
1196
|
}
|
|
@@ -12,7 +12,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
type: BooleanConstructor;
|
|
13
13
|
default: boolean;
|
|
14
14
|
};
|
|
15
|
-
}, {
|
|
15
|
+
}, {
|
|
16
|
+
handleQuery: (...args: any[]) => void;
|
|
17
|
+
resetQuery: () => void;
|
|
18
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
19
|
"update:showSearch": (showSearch: boolean) => void;
|
|
17
20
|
"update:queryParams": (queryParams: Record<string, any>) => void;
|
|
18
21
|
handleQuery: (...args: any[]) => void;
|
|
@@ -6,7 +6,7 @@ var SearchForm_vue_vue_type_script_setup_true_lang = require('./SearchForm.vue2.
|
|
|
6
6
|
require('./SearchForm.vue3.js');
|
|
7
7
|
var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
|
|
8
8
|
|
|
9
|
-
var SearchForm = /* @__PURE__ */ _pluginVue_exportHelper.default(SearchForm_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
9
|
+
var SearchForm = /* @__PURE__ */ _pluginVue_exportHelper.default(SearchForm_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-d3111183"]]);
|
|
10
10
|
|
|
11
11
|
exports.default = SearchForm;
|
|
12
12
|
//# sourceMappingURL=SearchForm.vue.js.map
|
|
@@ -22,7 +22,7 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
22
22
|
"queryParamsModifiers": {}
|
|
23
23
|
}),
|
|
24
24
|
emits: /* @__PURE__ */ vue.mergeModels(searchForm.searchFormEmits, ["update:showSearch", "update:queryParams"]),
|
|
25
|
-
setup(__props, { emit: __emit }) {
|
|
25
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
26
26
|
const tableCtx = vue.inject(table.TableCtxKey, {});
|
|
27
27
|
const showSearch = vue.useModel(__props, "showSearch");
|
|
28
28
|
const queryParams = vue.useModel(__props, "queryParams");
|
|
@@ -73,6 +73,11 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
73
73
|
tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: "smooth" });
|
|
74
74
|
tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });
|
|
75
75
|
};
|
|
76
|
+
__expose({
|
|
77
|
+
// queryRef,
|
|
78
|
+
handleQuery,
|
|
79
|
+
resetQuery
|
|
80
|
+
});
|
|
76
81
|
return (_ctx, _cache) => {
|
|
77
82
|
const _component_gm_button = vue.resolveComponent("gm-button");
|
|
78
83
|
const _component_gm_icon = vue.resolveComponent("gm-icon");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchForm.vue2.js","sources":["../../../../../../../packages/components/src/composite/searchForm/SearchForm.vue"],"sourcesContent":["<script lang=\"ts\">\nconst itemGap = 8\n</script>\n<template>\n <div ref=\"queryDivRef\" class=\"gm-mb-5\">\n <gm-form v-show=\"showSearch\" ref=\"queryRef\" :model=\"queryParams\" :inline=\"true\" class=\"gmSearchForm\">\n <div :class=\"showMore ? '' : 'gm-h-[36px] gm-overflow-hidden'\">\n <div class=\"gm-relative gm-grid gm-w-full\" :style=\"{ gridTemplateColumns: `repeat(${colsCount}, minmax(0, 1fr))`, gap: itemGap + 'px' }\">\n <template v-for=\"(item, index) in optionsList\" :key=\"index\">\n <component :is=\"item.component\" v-bind=\"item.props\" v-model=\"queryParams[item.props.prop]\" />\n </template>\n <slot />\n <gm-form-item :style=\"searchButtonItemStyle\">\n <div class=\"gm-flex gm-w-full\" :class=\"notShowShowMore ? '' : ' gm-justify-end'\">\n <gm-button type=\"primary\" :icon=\"Search\" class=\"\" @click=\"handleQuery\">搜索</gm-button>\n <gm-button :icon=\"Refresh\" @click=\"resetQuery\">重置</gm-button>\n <gm-button v-show=\"!notShowShowMore\" type=\"primary\" text @click=\"handleShowMoreChange\">\n {{ showMore ? '缩起' : '展开' }} <gm-icon class=\"el-icon--right\" :class=\"showMore ? 'gm-rotate-180' : ''\"><ArrowDown /></gm-icon>\n </gm-button>\n </div>\n </gm-form-item>\n <div ref=\"visibilityMarkRef\" class=\"gm-absolute gm-bottom-3 gm-right-0 -gm-z-10 gm-h-1 gm-w-1\" />\n </div>\n </div>\n </gm-form>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject, nextTick, provide, ref } from 'vue';\nimport { useElementSize } from '@vueuse/core';\nimport { TableCtxKey } from '@giime/constants/table';\nimport { ArrowDown, Refresh, Search } from '@element-plus/icons-vue';\nimport { searchFormEmits, searchFormItemList, searchFormProps } from './searchForm';\nimport { queryParamsKey, searchFormHandleQueryKey } from './constants';\nimport type { CSSProperties } from 'vue';\nimport type { FormInstance } from '../../base/form';\ndefineOptions({\n name: 'GmSearchForm',\n});\nconst tableCtx = inject(TableCtxKey, {});\n\nconst showSearch = defineModel<boolean>('showSearch', { default: true });\n\nconst queryParams = defineModel<Record<string, any>>('queryParams', { required: true });\n\nprovide(queryParamsKey, queryParams);\n\nconst props = defineProps(searchFormProps);\nconst emit = defineEmits(searchFormEmits);\n\nconst queryDivRef = ref<HTMLDivElement>();\nconst visibilityMarkRef = ref<HTMLDivElement>();\n// const markIsVisibility = useElementVisibility(visibilityMarkRef);\n\nconst { width: queryDivWidth, height: queryDivHeight } = useElementSize(queryDivRef);\n// 列个数\nconst colsCount = computed(() => Math.floor(queryDivWidth.value / 269));\nconst showMore = ref(props.defaultShowMore);\n// 当 showMore展开 且高度为60时,不显示展开按钮\nconst notShowShowMore = computed(() => showMore.value === true && queryDivHeight.value <= 70);\n\n/**搜索重置按钮组样式 */\nconst searchButtonItemStyle = computed<CSSProperties>(() => {\n if (notShowShowMore.value) {\n return {};\n }\n return {\n gridColumn: colsCount.value,\n gridRow: showMore.value ? undefined : 1,\n };\n});\nconst handleShowMoreChange = async () => {\n showMore.value = !showMore.value;\n // 手动触发 scroll 事件\n const scrollEvent = new Event('resize');\n await nextTick();\n // 手动触发事件\n window.dispatchEvent(scrollEvent);\n};\n\n// 通过json渲染组件\nconst optionsList = computed(() => {\n return props.options.map(it => {\n const findComponent = searchFormItemList.find(item => item.type === it.type);\n if (findComponent) {\n it.component = findComponent.component;\n }\n return it;\n });\n});\n\nconst queryRef = ref<FormInstance>();\n// 上下文添加queryRef\ntableCtx.queryRef = queryRef;\nconst handleQuery = (...args: any[]) => {\n emit('handleQuery', ...args);\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\nprovide(searchFormHandleQueryKey, handleQuery);\n\nconst resetQuery = () => {\n queryRef.value?.resetFields();\n emit('resetQuery');\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\n</script>\n<style lang=\"scss\" scoped>\n:deep(.gmSearchForm .el-form-item) {\n margin-right: 0;\n margin-bottom: 4px;\n}\n</style>\n"],"names":["inject","TableCtxKey","_useModel","provide","queryParamsKey","ref","useElementSize","computed","nextTick","searchFormItemList","searchFormHandleQueryKey"],"mappings":";;;;;;;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A,IAAA,CAAK,YAAY,CAAA,CAAA;AACjB,MAAU,QAAA,EAAA,QAAA,EAAU,OAAO,QAAS,CAAA,EAAE,KAAK,CAAG,EAAA,QAAA,EAAU,UAAU,CAAA,CAAA;AAClE,MAAS,QAAA,CAAA,UAAA,EAAY,OAAO,QAAS,CAAA,EAAE,YAAY,CAAG,EAAA,SAAA,EAAW,GAAG,CAAA,CAAA;AAAA,KACtE,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"SearchForm.vue2.js","sources":["../../../../../../../packages/components/src/composite/searchForm/SearchForm.vue"],"sourcesContent":["<script lang=\"ts\">\nconst itemGap = 8\n</script>\n<template>\n <div ref=\"queryDivRef\" class=\"gm-mb-5\">\n <gm-form v-show=\"showSearch\" ref=\"queryRef\" :model=\"queryParams\" :inline=\"true\" class=\"gmSearchForm\">\n <div :class=\"showMore ? '' : 'gm-h-[36px] gm-overflow-hidden'\">\n <div class=\"gm-relative gm-grid gm-w-full\" :style=\"{ gridTemplateColumns: `repeat(${colsCount}, minmax(0, 1fr))`, gap: itemGap + 'px' }\">\n <template v-for=\"(item, index) in optionsList\" :key=\"index\">\n <component :is=\"item.component\" v-bind=\"item.props\" v-model=\"queryParams[item.props.prop]\" />\n </template>\n <slot />\n <gm-form-item :style=\"searchButtonItemStyle\">\n <div class=\"gm-flex gm-w-full\" :class=\"notShowShowMore ? '' : ' gm-justify-end'\">\n <gm-button type=\"primary\" :icon=\"Search\" class=\"\" @click=\"handleQuery\">搜索</gm-button>\n <gm-button :icon=\"Refresh\" @click=\"resetQuery\">重置</gm-button>\n <gm-button v-show=\"!notShowShowMore\" type=\"primary\" text @click=\"handleShowMoreChange\">\n {{ showMore ? '缩起' : '展开' }} <gm-icon class=\"el-icon--right\" :class=\"showMore ? 'gm-rotate-180' : ''\"><ArrowDown /></gm-icon>\n </gm-button>\n </div>\n </gm-form-item>\n <div ref=\"visibilityMarkRef\" class=\"gm-absolute gm-bottom-3 gm-right-0 -gm-z-10 gm-h-1 gm-w-1\" />\n </div>\n </div>\n </gm-form>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject, nextTick, provide, ref } from 'vue';\nimport { useElementSize } from '@vueuse/core';\nimport { TableCtxKey } from '@giime/constants/table';\nimport { ArrowDown, Refresh, Search } from '@element-plus/icons-vue';\nimport { searchFormEmits, searchFormItemList, searchFormProps } from './searchForm';\nimport { queryParamsKey, searchFormHandleQueryKey } from './constants';\nimport type { CSSProperties } from 'vue';\nimport type { FormInstance } from '../../base/form';\ndefineOptions({\n name: 'GmSearchForm',\n});\nconst tableCtx = inject(TableCtxKey, {});\n\nconst showSearch = defineModel<boolean>('showSearch', { default: true });\n\nconst queryParams = defineModel<Record<string, any>>('queryParams', { required: true });\n\nprovide(queryParamsKey, queryParams);\n\nconst props = defineProps(searchFormProps);\nconst emit = defineEmits(searchFormEmits);\n\nconst queryDivRef = ref<HTMLDivElement>();\nconst visibilityMarkRef = ref<HTMLDivElement>();\n// const markIsVisibility = useElementVisibility(visibilityMarkRef);\n\nconst { width: queryDivWidth, height: queryDivHeight } = useElementSize(queryDivRef);\n// 列个数\nconst colsCount = computed(() => Math.floor(queryDivWidth.value / 269));\nconst showMore = ref(props.defaultShowMore);\n// 当 showMore展开 且高度为60时,不显示展开按钮\nconst notShowShowMore = computed(() => showMore.value === true && queryDivHeight.value <= 70);\n\n/**搜索重置按钮组样式 */\nconst searchButtonItemStyle = computed<CSSProperties>(() => {\n if (notShowShowMore.value) {\n return {};\n }\n return {\n gridColumn: colsCount.value,\n gridRow: showMore.value ? undefined : 1,\n };\n});\nconst handleShowMoreChange = async () => {\n showMore.value = !showMore.value;\n // 手动触发 scroll 事件\n const scrollEvent = new Event('resize');\n await nextTick();\n // 手动触发事件\n window.dispatchEvent(scrollEvent);\n};\n\n// 通过json渲染组件\nconst optionsList = computed(() => {\n return props.options.map(it => {\n const findComponent = searchFormItemList.find(item => item.type === it.type);\n if (findComponent) {\n it.component = findComponent.component;\n }\n return it;\n });\n});\n\nconst queryRef = ref<FormInstance>();\n// 上下文添加queryRef\ntableCtx.queryRef = queryRef;\nconst handleQuery = (...args: any[]) => {\n emit('handleQuery', ...args);\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\nprovide(searchFormHandleQueryKey, handleQuery);\n\nconst resetQuery = () => {\n queryRef.value?.resetFields();\n emit('resetQuery');\n tableCtx?.tableRef?.value?.scrollTo({ top: 0, behavior: 'smooth' });\n tableCtx.tableV2Ref?.value?.scrollTo({ scrollLeft: 0, scrollTop: 0 });\n};\n\ndefineExpose({\n // queryRef,\n handleQuery,\n resetQuery,\n});\n</script>\n<style lang=\"scss\" scoped>\n:deep(.gmSearchForm .el-form-item) {\n margin-right: 0;\n margin-bottom: 4px;\n}\n</style>\n"],"names":["inject","TableCtxKey","_useModel","provide","queryParamsKey","ref","useElementSize","computed","nextTick","searchFormItemList","searchFormHandleQueryKey"],"mappings":";;;;;;;;;;;AACA,MAAM,OAAU,GAAA,CAAA,CAAA;;;;;;;;;;;;;;AAsChB,IAAA,MAAM,QAAW,GAAAA,UAAA,CAAOC,iBAAa,EAAA,EAAE,CAAA,CAAA;AAEvC,IAAM,MAAA,UAAA,GAAaC,YAAoB,CAAA,OAAA,EAAC,YAA+B,CAAA,CAAA;AAEvE,IAAM,MAAA,WAAA,GAAcA,YAAiC,CAAA,OAAA,EAAA,aAAiC,CAAA,CAAA;AAEtF,IAAAC,WAAA,CAAQC,0BAAgB,WAAW,CAAA,CAAA;AAEnC,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,M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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -19,7 +19,10 @@ export declare const GmSearchForm: import("../../../../utils").SFCWithInstall<{
|
|
|
19
19
|
"onUpdate:queryParams"?: ((queryParams: Record<string, any>) => any) | undefined;
|
|
20
20
|
onHandleQuery?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
onResetQuery?: ((...args: any[]) => any) | undefined;
|
|
22
|
-
}, {
|
|
22
|
+
}, {
|
|
23
|
+
handleQuery: (...args: any[]) => void;
|
|
24
|
+
resetQuery: () => void;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
26
|
"update:showSearch": (showSearch: boolean) => void;
|
|
24
27
|
"update:queryParams": (queryParams: Record<string, any>) => void;
|
|
25
28
|
handleQuery: (...args: any[]) => void;
|
|
@@ -72,7 +75,10 @@ export declare const GmSearchForm: import("../../../../utils").SFCWithInstall<{
|
|
|
72
75
|
"onUpdate:queryParams"?: ((queryParams: Record<string, any>) => any) | undefined;
|
|
73
76
|
onHandleQuery?: ((...args: any[]) => any) | undefined;
|
|
74
77
|
onResetQuery?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
}, {
|
|
78
|
+
}, {
|
|
79
|
+
handleQuery: (...args: any[]) => void;
|
|
80
|
+
resetQuery: () => void;
|
|
81
|
+
}, {}, {}, {}, {
|
|
76
82
|
options: import("./searchForm").SearchFormPropsOption[];
|
|
77
83
|
defaultShowMore: boolean;
|
|
78
84
|
}>;
|
|
@@ -98,7 +104,10 @@ export declare const GmSearchForm: import("../../../../utils").SFCWithInstall<{
|
|
|
98
104
|
"onUpdate:queryParams"?: ((queryParams: Record<string, any>) => any) | undefined;
|
|
99
105
|
onHandleQuery?: ((...args: any[]) => any) | undefined;
|
|
100
106
|
onResetQuery?: ((...args: any[]) => any) | undefined;
|
|
101
|
-
}, {
|
|
107
|
+
}, {
|
|
108
|
+
handleQuery: (...args: any[]) => void;
|
|
109
|
+
resetQuery: () => void;
|
|
110
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
102
111
|
"update:showSearch": (showSearch: boolean) => void;
|
|
103
112
|
"update:queryParams": (queryParams: Record<string, any>) => void;
|
|
104
113
|
handleQuery: (...args: any[]) => void;
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.7.
|
|
1
|
+
export declare const version = "0.7.18";
|
package/lib/giime/version.js
CHANGED
package/lib/giime/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.7.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.7.18';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
|
package/lib/index.css
CHANGED
|
@@ -873,56 +873,12 @@ video {
|
|
|
873
873
|
.gm-group:hover .group-hover\:gm-block {
|
|
874
874
|
display: block;
|
|
875
875
|
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
margin: 0;
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
.gm-upload-pro-preview-dialog[data-v-80b383d8] [data-v-80b383d8] .el-dialog__body {
|
|
882
|
-
padding: 0;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
.gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload--picture-card {
|
|
886
|
-
width: auto;
|
|
887
|
-
height: auto;
|
|
888
|
-
}
|
|
889
|
-
.gm-upload-pro-file {
|
|
890
|
-
line-height: normal;
|
|
891
|
-
}
|
|
892
|
-
.gm-upload-pro-file .el-checkbox-group {
|
|
893
|
-
font-size: unset;
|
|
894
|
-
}
|
|
895
|
-
.gm-upload-pro-file .el-checkbox {
|
|
896
|
-
position: absolute;
|
|
897
|
-
left: 10px;
|
|
898
|
-
top: 0;
|
|
899
|
-
z-index: 9;
|
|
900
|
-
}
|
|
901
|
-
.gm-upload-pro-file .el-upload-list--picture-card {
|
|
902
|
-
gap: 10px;
|
|
903
|
-
}
|
|
904
|
-
.gm-upload-pro-file .el-upload-list__item {
|
|
905
|
-
margin: 0;
|
|
906
|
-
}
|
|
907
|
-
.gm-upload-pro-file .el-upload-list__item-file-name {
|
|
908
|
-
line-height: 1.7;
|
|
909
|
-
}
|
|
910
|
-
.gm-upload-pro-file .el-upload-dragger {
|
|
911
|
-
padding: 0;
|
|
912
|
-
border: none;
|
|
913
|
-
width: 100%;
|
|
914
|
-
height: 100%;
|
|
915
|
-
display: flex;
|
|
916
|
-
}
|
|
917
|
-
.gm-upload-pro-file .el-upload--picture-card {
|
|
918
|
-
border: none;
|
|
876
|
+
.gm-flex-center[data-v-c17deec9] {
|
|
877
|
+
align-items: center;
|
|
919
878
|
}
|
|
920
879
|
|
|
921
|
-
.gm-
|
|
922
|
-
|
|
923
|
-
}
|
|
924
|
-
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
925
|
-
display: none;
|
|
880
|
+
.gm-flex-justify-between[data-v-c17deec9] {
|
|
881
|
+
justify-content: space-between;
|
|
926
882
|
}
|
|
927
883
|
.circular[data-v-d7b04fae] {
|
|
928
884
|
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
@@ -955,122 +911,82 @@ video {
|
|
|
955
911
|
stroke-dashoffset: -120px;
|
|
956
912
|
}
|
|
957
913
|
}
|
|
958
|
-
[data-v-488ca110] .gmSearchForm .el-form-item {
|
|
959
|
-
margin-right: 0;
|
|
960
|
-
margin-bottom: 4px;
|
|
961
|
-
}
|
|
962
|
-
.gm-flex-center[data-v-c17deec9] {
|
|
963
|
-
align-items: center;
|
|
964
|
-
}
|
|
965
914
|
|
|
966
|
-
.gm-
|
|
967
|
-
|
|
968
|
-
}
|
|
969
|
-
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
970
|
-
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
971
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
972
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
973
|
-
}
|
|
974
|
-
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
975
|
-
box-shadow: none;
|
|
976
|
-
background: none;
|
|
977
|
-
}
|
|
978
|
-
|
|
979
|
-
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
980
|
-
display: none;
|
|
981
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
985
|
-
display: flex;
|
|
986
|
-
}
|
|
987
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
988
|
-
border-right: none;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
992
|
-
height: 0;
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
996
|
-
height: 0;
|
|
997
|
-
}
|
|
998
|
-
|
|
999
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
1000
|
-
height: 0;
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
1004
|
-
height: 0;
|
|
915
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
916
|
+
margin: 0;
|
|
1005
917
|
}
|
|
1006
918
|
|
|
1007
|
-
[data-v-
|
|
1008
|
-
height: 0;
|
|
1009
|
-
}
|
|
1010
|
-
.gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
|
|
919
|
+
.gm-upload-pro-preview-dialog[data-v-80b383d8] [data-v-80b383d8] .el-dialog__body {
|
|
1011
920
|
padding: 0;
|
|
1012
921
|
}
|
|
1013
922
|
|
|
1014
|
-
.gm-upload-file-picture-card[data-v-
|
|
923
|
+
.gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-80b383d8] [data-v-80b383d8] .el-upload--picture-card {
|
|
1015
924
|
width: auto;
|
|
1016
925
|
height: auto;
|
|
1017
926
|
}
|
|
1018
|
-
.gm-upload-file {
|
|
927
|
+
.gm-upload-pro-file {
|
|
1019
928
|
line-height: normal;
|
|
1020
929
|
}
|
|
1021
|
-
.gm-upload-file .el-checkbox {
|
|
930
|
+
.gm-upload-pro-file .el-checkbox-group {
|
|
931
|
+
font-size: unset;
|
|
932
|
+
}
|
|
933
|
+
.gm-upload-pro-file .el-checkbox {
|
|
1022
934
|
position: absolute;
|
|
1023
935
|
left: 10px;
|
|
1024
936
|
top: 0;
|
|
1025
937
|
z-index: 9;
|
|
1026
938
|
}
|
|
1027
|
-
.gm-upload-file .el-upload-list--picture-card {
|
|
939
|
+
.gm-upload-pro-file .el-upload-list--picture-card {
|
|
1028
940
|
gap: 10px;
|
|
1029
941
|
}
|
|
1030
|
-
.gm-upload-file .el-upload-list__item {
|
|
942
|
+
.gm-upload-pro-file .el-upload-list__item {
|
|
1031
943
|
margin: 0;
|
|
1032
944
|
}
|
|
1033
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
1034
|
-
line-height:
|
|
945
|
+
.gm-upload-pro-file .el-upload-list__item-file-name {
|
|
946
|
+
line-height: 1.7;
|
|
1035
947
|
}
|
|
1036
|
-
.gm-upload-file .el-upload-dragger {
|
|
948
|
+
.gm-upload-pro-file .el-upload-dragger {
|
|
1037
949
|
padding: 0;
|
|
1038
950
|
border: none;
|
|
1039
951
|
width: 100%;
|
|
1040
952
|
height: 100%;
|
|
1041
953
|
display: flex;
|
|
1042
954
|
}
|
|
1043
|
-
.gm-upload-file .el-upload--picture-card {
|
|
955
|
+
.gm-upload-pro-file .el-upload--picture-card {
|
|
1044
956
|
border: none;
|
|
1045
957
|
}
|
|
1046
958
|
|
|
1047
|
-
.gm-upload-file-disabled .el-upload--picture-card {
|
|
959
|
+
.gm-upload-pro-file-disabled .el-upload--picture-card {
|
|
1048
960
|
display: none;
|
|
1049
961
|
}
|
|
1050
|
-
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
962
|
+
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
1051
963
|
display: none;
|
|
1052
964
|
}
|
|
1053
|
-
[data-v-
|
|
965
|
+
[data-v-d3111183] .gmSearchForm .el-form-item {
|
|
966
|
+
margin-right: 0;
|
|
967
|
+
margin-bottom: 4px;
|
|
968
|
+
}
|
|
969
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1054
970
|
border-right: none;
|
|
1055
971
|
}
|
|
1056
972
|
|
|
1057
|
-
[data-v-
|
|
973
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1058
974
|
height: 0;
|
|
1059
975
|
}
|
|
1060
976
|
|
|
1061
|
-
[data-v-
|
|
977
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1062
978
|
height: 0;
|
|
1063
979
|
}
|
|
1064
980
|
|
|
1065
|
-
[data-v-
|
|
981
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
|
|
1066
982
|
height: 0;
|
|
1067
983
|
}
|
|
1068
984
|
|
|
1069
|
-
[data-v-
|
|
985
|
+
[data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
|
|
1070
986
|
height: 0;
|
|
1071
987
|
}
|
|
1072
988
|
|
|
1073
|
-
[data-v-
|
|
989
|
+
[data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
|
|
1074
990
|
height: 0;
|
|
1075
991
|
}
|
|
1076
992
|
|
|
@@ -1082,6 +998,24 @@ video {
|
|
|
1082
998
|
display: none;
|
|
1083
999
|
}
|
|
1084
1000
|
|
|
1001
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
1002
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
1003
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
1004
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
1005
|
+
}
|
|
1006
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
1007
|
+
box-shadow: none;
|
|
1008
|
+
background: none;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1012
|
+
display: none;
|
|
1013
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
1017
|
+
display: flex;
|
|
1018
|
+
}
|
|
1085
1019
|
@charset "UTF-8";
|
|
1086
1020
|
.custom-operate-drawer .el-drawer__header {
|
|
1087
1021
|
padding: 10px 15px;
|
|
@@ -1138,6 +1072,29 @@ video {
|
|
|
1138
1072
|
border-radius: 10px;
|
|
1139
1073
|
background: #eee;
|
|
1140
1074
|
}
|
|
1075
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1076
|
+
border-right: none;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1080
|
+
height: 0;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1084
|
+
height: 0;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
|
|
1088
|
+
height: 0;
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
|
|
1092
|
+
height: 0;
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
|
|
1096
|
+
height: 0;
|
|
1097
|
+
}
|
|
1141
1098
|
@charset "UTF-8";
|
|
1142
1099
|
.table-custom-header-drawer .el-drawer__header {
|
|
1143
1100
|
padding: 10px 15px;
|
|
@@ -1193,4 +1150,47 @@ video {
|
|
|
1193
1150
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1194
1151
|
border-radius: 10px;
|
|
1195
1152
|
background: #eee;
|
|
1153
|
+
}
|
|
1154
|
+
.gm-upload-preview-dialog[data-v-312f9322] [data-v-312f9322] .el-dialog__body {
|
|
1155
|
+
padding: 0;
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
.gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload-list__item, .gm-upload-file-picture-card[data-v-312f9322] [data-v-312f9322] .el-upload--picture-card {
|
|
1159
|
+
width: auto;
|
|
1160
|
+
height: auto;
|
|
1161
|
+
}
|
|
1162
|
+
.gm-upload-file {
|
|
1163
|
+
line-height: normal;
|
|
1164
|
+
}
|
|
1165
|
+
.gm-upload-file .el-checkbox {
|
|
1166
|
+
position: absolute;
|
|
1167
|
+
left: 10px;
|
|
1168
|
+
top: 0;
|
|
1169
|
+
z-index: 9;
|
|
1170
|
+
}
|
|
1171
|
+
.gm-upload-file .el-upload-list--picture-card {
|
|
1172
|
+
gap: 10px;
|
|
1173
|
+
}
|
|
1174
|
+
.gm-upload-file .el-upload-list__item {
|
|
1175
|
+
margin: 0;
|
|
1176
|
+
}
|
|
1177
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
1178
|
+
line-height: normal;
|
|
1179
|
+
}
|
|
1180
|
+
.gm-upload-file .el-upload-dragger {
|
|
1181
|
+
padding: 0;
|
|
1182
|
+
border: none;
|
|
1183
|
+
width: 100%;
|
|
1184
|
+
height: 100%;
|
|
1185
|
+
display: flex;
|
|
1186
|
+
}
|
|
1187
|
+
.gm-upload-file .el-upload--picture-card {
|
|
1188
|
+
border: none;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1192
|
+
display: none;
|
|
1193
|
+
}
|
|
1194
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1195
|
+
display: none;
|
|
1196
1196
|
}
|