giime 1.0.3-snapshot.1 → 1.1.1-snapshot.0
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 +118 -118
- package/es/components/src/composite/tablePro/TableColumnVNodeRenderer.mjs +14 -8
- package/es/components/src/composite/tablePro/TableColumnVNodeRenderer.mjs.map +1 -1
- 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 +118 -118
- package/lib/components/src/composite/tablePro/TableColumnVNodeRenderer.js +13 -7
- package/lib/components/src/composite/tablePro/TableColumnVNodeRenderer.js.map +1 -1
- 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 +118 -118
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -890,11 +890,6 @@ video {
|
|
|
890
890
|
.gm-group:hover .group-hover\:gm-block {
|
|
891
891
|
display: block;
|
|
892
892
|
}
|
|
893
|
-
|
|
894
|
-
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
895
|
-
margin: 0;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
893
|
.gm-flex-center[data-v-c17deec9] {
|
|
899
894
|
align-items: center;
|
|
900
895
|
}
|
|
@@ -902,47 +897,42 @@ video {
|
|
|
902
897
|
.gm-flex-justify-between[data-v-c17deec9] {
|
|
903
898
|
justify-content: space-between;
|
|
904
899
|
}
|
|
905
|
-
.
|
|
906
|
-
|
|
907
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
908
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
909
|
-
}
|
|
910
|
-
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
911
|
-
box-shadow: none;
|
|
912
|
-
background: none;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
916
|
-
display: none;
|
|
917
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
921
|
-
display: flex;
|
|
922
|
-
}
|
|
923
|
-
[data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
924
|
-
border-right: none;
|
|
900
|
+
.circular[data-v-d7b04fae] {
|
|
901
|
+
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
925
902
|
}
|
|
926
903
|
|
|
927
|
-
[data-v-
|
|
928
|
-
|
|
904
|
+
.path[data-v-d7b04fae] {
|
|
905
|
+
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
906
|
+
stroke-dasharray: 90, 150;
|
|
907
|
+
stroke-dashoffset: 0;
|
|
908
|
+
stroke: var(--el-color-primary);
|
|
909
|
+
stroke-linecap: round;
|
|
929
910
|
}
|
|
930
911
|
|
|
931
|
-
|
|
932
|
-
|
|
912
|
+
@keyframes loading-rotate-d7b04fae {
|
|
913
|
+
to {
|
|
914
|
+
transform: rotate(360deg);
|
|
915
|
+
}
|
|
933
916
|
}
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
917
|
+
@keyframes loading-dash-d7b04fae {
|
|
918
|
+
0% {
|
|
919
|
+
stroke-dasharray: 1, 200;
|
|
920
|
+
stroke-dashoffset: 0;
|
|
921
|
+
}
|
|
922
|
+
50% {
|
|
923
|
+
stroke-dasharray: 90, 150;
|
|
924
|
+
stroke-dashoffset: -40px;
|
|
925
|
+
}
|
|
926
|
+
100% {
|
|
927
|
+
stroke-dasharray: 90, 150;
|
|
928
|
+
stroke-dashoffset: -120px;
|
|
929
|
+
}
|
|
937
930
|
}
|
|
938
931
|
|
|
939
|
-
[data-v-
|
|
940
|
-
|
|
932
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
933
|
+
margin: 0;
|
|
941
934
|
}
|
|
942
935
|
|
|
943
|
-
[data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
|
|
944
|
-
height: 0;
|
|
945
|
-
}
|
|
946
936
|
.gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
|
|
947
937
|
padding: 0;
|
|
948
938
|
}
|
|
@@ -989,108 +979,51 @@ video {
|
|
|
989
979
|
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
990
980
|
display: none;
|
|
991
981
|
}
|
|
982
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
983
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
984
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
985
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
986
|
+
}
|
|
987
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
988
|
+
box-shadow: none;
|
|
989
|
+
background: none;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
993
|
+
display: none;
|
|
994
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
998
|
+
display: flex;
|
|
999
|
+
}
|
|
992
1000
|
[data-v-195b27e4] .gmSearchForm .el-form-item {
|
|
993
1001
|
margin-right: 0;
|
|
994
1002
|
margin-bottom: 4px;
|
|
995
1003
|
}
|
|
996
|
-
[data-v-
|
|
1004
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
997
1005
|
border-right: none;
|
|
998
1006
|
}
|
|
999
1007
|
|
|
1000
|
-
[data-v-
|
|
1008
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1001
1009
|
height: 0;
|
|
1002
1010
|
}
|
|
1003
1011
|
|
|
1004
|
-
[data-v-
|
|
1012
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1005
1013
|
height: 0;
|
|
1006
1014
|
}
|
|
1007
1015
|
|
|
1008
|
-
[data-v-
|
|
1016
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border:after {
|
|
1009
1017
|
height: 0;
|
|
1010
1018
|
}
|
|
1011
1019
|
|
|
1012
|
-
[data-v-
|
|
1020
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border:before {
|
|
1013
1021
|
height: 0;
|
|
1014
1022
|
}
|
|
1015
1023
|
|
|
1016
|
-
[data-v-
|
|
1024
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
|
|
1017
1025
|
height: 0;
|
|
1018
1026
|
}
|
|
1019
|
-
.circular[data-v-d7b04fae] {
|
|
1020
|
-
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
.path[data-v-d7b04fae] {
|
|
1024
|
-
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
1025
|
-
stroke-dasharray: 90, 150;
|
|
1026
|
-
stroke-dashoffset: 0;
|
|
1027
|
-
stroke: var(--el-color-primary);
|
|
1028
|
-
stroke-linecap: round;
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
@keyframes loading-rotate-d7b04fae {
|
|
1032
|
-
to {
|
|
1033
|
-
transform: rotate(360deg);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
@keyframes loading-dash-d7b04fae {
|
|
1037
|
-
0% {
|
|
1038
|
-
stroke-dasharray: 1, 200;
|
|
1039
|
-
stroke-dashoffset: 0;
|
|
1040
|
-
}
|
|
1041
|
-
50% {
|
|
1042
|
-
stroke-dasharray: 90, 150;
|
|
1043
|
-
stroke-dashoffset: -40px;
|
|
1044
|
-
}
|
|
1045
|
-
100% {
|
|
1046
|
-
stroke-dasharray: 90, 150;
|
|
1047
|
-
stroke-dashoffset: -120px;
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
.gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
|
|
1051
|
-
padding: 0;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
.gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload-list__item, .gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload--picture-card {
|
|
1055
|
-
width: auto;
|
|
1056
|
-
height: auto;
|
|
1057
|
-
}
|
|
1058
|
-
.gm-upload-file {
|
|
1059
|
-
line-height: normal;
|
|
1060
|
-
}
|
|
1061
|
-
.gm-upload-file li > .el-checkbox {
|
|
1062
|
-
position: absolute;
|
|
1063
|
-
left: 10px;
|
|
1064
|
-
top: 0;
|
|
1065
|
-
z-index: 9;
|
|
1066
|
-
}
|
|
1067
|
-
.gm-upload-file .el-upload-list--picture-card {
|
|
1068
|
-
gap: 10px;
|
|
1069
|
-
}
|
|
1070
|
-
.gm-upload-file .el-upload-list__item {
|
|
1071
|
-
margin: 0;
|
|
1072
|
-
border: none;
|
|
1073
|
-
}
|
|
1074
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
1075
|
-
line-height: normal;
|
|
1076
|
-
}
|
|
1077
|
-
.gm-upload-file .el-upload-dragger {
|
|
1078
|
-
padding: 0;
|
|
1079
|
-
border: none;
|
|
1080
|
-
width: 100%;
|
|
1081
|
-
height: 100%;
|
|
1082
|
-
display: flex;
|
|
1083
|
-
}
|
|
1084
|
-
.gm-upload-file .el-upload--picture-card {
|
|
1085
|
-
border: none;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1089
|
-
display: none;
|
|
1090
|
-
}
|
|
1091
|
-
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1092
|
-
display: none;
|
|
1093
|
-
}
|
|
1094
1027
|
|
|
1095
1028
|
.pagination-container[data-v-47d35e7b] {
|
|
1096
1029
|
background: #fff;
|
|
@@ -1156,6 +1089,29 @@ video {
|
|
|
1156
1089
|
border-radius: 10px;
|
|
1157
1090
|
background: #eee;
|
|
1158
1091
|
}
|
|
1092
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1093
|
+
border-right: none;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1097
|
+
height: 0;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1101
|
+
height: 0;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border:after {
|
|
1105
|
+
height: 0;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border:before {
|
|
1109
|
+
height: 0;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__border-left-patch {
|
|
1113
|
+
height: 0;
|
|
1114
|
+
}
|
|
1159
1115
|
@charset "UTF-8";
|
|
1160
1116
|
.table-custom-header-drawer .el-drawer__header {
|
|
1161
1117
|
padding: 10px 15px;
|
|
@@ -1211,4 +1167,48 @@ video {
|
|
|
1211
1167
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1212
1168
|
border-radius: 10px;
|
|
1213
1169
|
background: #eee;
|
|
1170
|
+
}
|
|
1171
|
+
.gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
|
|
1172
|
+
padding: 0;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload-list__item, .gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload--picture-card {
|
|
1176
|
+
width: auto;
|
|
1177
|
+
height: auto;
|
|
1178
|
+
}
|
|
1179
|
+
.gm-upload-file {
|
|
1180
|
+
line-height: normal;
|
|
1181
|
+
}
|
|
1182
|
+
.gm-upload-file li > .el-checkbox {
|
|
1183
|
+
position: absolute;
|
|
1184
|
+
left: 10px;
|
|
1185
|
+
top: 0;
|
|
1186
|
+
z-index: 9;
|
|
1187
|
+
}
|
|
1188
|
+
.gm-upload-file .el-upload-list--picture-card {
|
|
1189
|
+
gap: 10px;
|
|
1190
|
+
}
|
|
1191
|
+
.gm-upload-file .el-upload-list__item {
|
|
1192
|
+
margin: 0;
|
|
1193
|
+
border: none;
|
|
1194
|
+
}
|
|
1195
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
1196
|
+
line-height: normal;
|
|
1197
|
+
}
|
|
1198
|
+
.gm-upload-file .el-upload-dragger {
|
|
1199
|
+
padding: 0;
|
|
1200
|
+
border: none;
|
|
1201
|
+
width: 100%;
|
|
1202
|
+
height: 100%;
|
|
1203
|
+
display: flex;
|
|
1204
|
+
}
|
|
1205
|
+
.gm-upload-file .el-upload--picture-card {
|
|
1206
|
+
border: none;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1210
|
+
display: none;
|
|
1211
|
+
}
|
|
1212
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1213
|
+
display: none;
|
|
1214
1214
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, cloneVNode, h } from 'vue';
|
|
1
|
+
import { defineComponent, computed, cloneVNode, Comment, h } from 'vue';
|
|
2
2
|
|
|
3
3
|
var TableColumnVNodeRenderer = /* @__PURE__ */ defineComponent({
|
|
4
4
|
functional: true,
|
|
@@ -74,14 +74,20 @@ var TableColumnVNodeRenderer = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
const vnodeArray = Array.isArray(props.vnode) ? props.vnode : [props.vnode];
|
|
75
75
|
const propOrder = new Map(props.propsList.map((p, i) => [p.prop, i]));
|
|
76
76
|
const isLeafCol = (v) => v?.type?.name === "GmTableColumnPro";
|
|
77
|
-
const
|
|
78
|
-
const
|
|
79
|
-
|
|
77
|
+
const isComment = (v) => v?.type === Comment;
|
|
78
|
+
const leafCols = vnodeArray.filter(isLeafCol);
|
|
79
|
+
const canReorder = leafCols.length > 0 && leafCols.every((v) => v?.props?.prop != null && propOrder.has(v.props.prop)) && vnodeArray.every((v) => isLeafCol(v) || isComment(v));
|
|
80
|
+
if (canReorder) {
|
|
81
|
+
return [...leafCols].sort((a, b) => propOrder.get(a.props.prop) - propOrder.get(b.props.prop)).map((vnode) => {
|
|
82
|
+
const processed = processVNode(vnode);
|
|
83
|
+
return processed ? h(processed, {
|
|
84
|
+
key: vnode.props.prop
|
|
85
|
+
}) : null;
|
|
86
|
+
}).filter(Boolean);
|
|
87
|
+
}
|
|
88
|
+
return vnodeArray.map((vnode) => {
|
|
80
89
|
const processed = processVNode(vnode);
|
|
81
|
-
|
|
82
|
-
return canReorder ? h(processed, {
|
|
83
|
-
key: vnode.props.prop
|
|
84
|
-
}) : h(processed);
|
|
90
|
+
return processed ? h(processed) : null;
|
|
85
91
|
}).filter(Boolean);
|
|
86
92
|
});
|
|
87
93
|
return () => render.value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableColumnVNodeRenderer.mjs","sources":["../../../../../../../packages/components/src/composite/tablePro/TableColumnVNodeRenderer.tsx"],"sourcesContent":["// TableColumnVNodeRenderer - 支持多级表头\nimport { computed, defineComponent, h, cloneVNode } from 'vue';\nimport type { TableColumnProProps } from './tableColumnPro/tableColumnPro';\nimport type { PropType, VNode } from 'vue';\n\nexport default defineComponent({\n functional: true,\n props: {\n // 当前原始vnode vue模板中的attribute\n vnode: {\n type: [Object, Array],\n required: true,\n },\n // 真实渲染的propsList\n propsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n defaultPropsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n },\n setup(props) {\n /** 合并propsList和defaultPropsList */\n const mergePropsList = computed(() => {\n return props.defaultPropsList.map(it => {\n const findProp = props.propsList.find(item => item.prop === it.prop);\n if (findProp) {\n return findProp;\n }\n return it;\n });\n });\n\n /**\n * 递归处理 vnode 树,应用 propsList 配置\n * @param vnode 要处理的 vnode\n * @returns 处理后的 vnode\n */\n const processVNode = (vnode: any): any => {\n if (!vnode) return null;\n\n // 如果是 GmTableColumnPro,查找并应用配置\n if (vnode.type?.name === 'GmTableColumnPro') {\n // type=\"edit\" 的列由 TablePro 的 gmEdit 列统一处理,这里跳过\n // 直接检查 vnode.props.type,避免因 prop 相同导致的误匹配\n if (vnode.props?.type === 'edit') {\n return null;\n }\n\n const propsConfig = mergePropsList.value.find(it => it.prop === vnode.props?.prop);\n\n // 如果配置中标记为不显示,跳过渲染\n if (propsConfig && !propsConfig.isShow) {\n return null;\n }\n\n // 应用配置到 vnode props\n if (propsConfig) {\n const newProps = {\n ...vnode.props,\n width: propsConfig.width,\n label: propsConfig.label,\n fixed: propsConfig.fixed,\n };\n return cloneVNode(vnode, newProps);\n }\n\n return vnode;\n }\n\n // 如果是其他组件(如 gm-table-column 用于多级表头),递归处理子节点\n if (vnode.children) {\n let newChildren = vnode.children;\n\n // 如果 children 是对象(包含 slots),递归处理 default slot\n if (typeof vnode.children === 'object' && vnode.children.default) {\n const originalDefault = vnode.children.default;\n newChildren = {\n ...vnode.children,\n default: (slotProps: any) => {\n const childVnodes = originalDefault(slotProps);\n if (Array.isArray(childVnodes)) {\n return childVnodes.map(processVNode).filter(Boolean);\n }\n return processVNode(childVnodes);\n },\n };\n }\n // 如果 children 是数组,递归处理每个子节点\n else if (Array.isArray(vnode.children)) {\n newChildren = vnode.children.map(processVNode).filter(Boolean);\n }\n\n return cloneVNode(vnode, vnode.props, newChildren);\n }\n\n return vnode;\n };\n\n const render = computed(() => {\n const vnodeArray = Array.isArray(props.vnode) ? props.vnode : [props.vnode];\n // 按 propsList(已保存/拖拽后的顺序)对顶层列重排。\n //
|
|
1
|
+
{"version":3,"file":"TableColumnVNodeRenderer.mjs","sources":["../../../../../../../packages/components/src/composite/tablePro/TableColumnVNodeRenderer.tsx"],"sourcesContent":["// TableColumnVNodeRenderer - 支持多级表头\nimport { computed, defineComponent, h, cloneVNode, Comment } from 'vue';\nimport type { TableColumnProProps } from './tableColumnPro/tableColumnPro';\nimport type { PropType, VNode } from 'vue';\n\nexport default defineComponent({\n functional: true,\n props: {\n // 当前原始vnode vue模板中的attribute\n vnode: {\n type: [Object, Array],\n required: true,\n },\n // 真实渲染的propsList\n propsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n defaultPropsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n },\n setup(props) {\n /** 合并propsList和defaultPropsList */\n const mergePropsList = computed(() => {\n return props.defaultPropsList.map(it => {\n const findProp = props.propsList.find(item => item.prop === it.prop);\n if (findProp) {\n return findProp;\n }\n return it;\n });\n });\n\n /**\n * 递归处理 vnode 树,应用 propsList 配置\n * @param vnode 要处理的 vnode\n * @returns 处理后的 vnode\n */\n const processVNode = (vnode: any): any => {\n if (!vnode) return null;\n\n // 如果是 GmTableColumnPro,查找并应用配置\n if (vnode.type?.name === 'GmTableColumnPro') {\n // type=\"edit\" 的列由 TablePro 的 gmEdit 列统一处理,这里跳过\n // 直接检查 vnode.props.type,避免因 prop 相同导致的误匹配\n if (vnode.props?.type === 'edit') {\n return null;\n }\n\n const propsConfig = mergePropsList.value.find(it => it.prop === vnode.props?.prop);\n\n // 如果配置中标记为不显示,跳过渲染\n if (propsConfig && !propsConfig.isShow) {\n return null;\n }\n\n // 应用配置到 vnode props\n if (propsConfig) {\n const newProps = {\n ...vnode.props,\n width: propsConfig.width,\n label: propsConfig.label,\n fixed: propsConfig.fixed,\n };\n return cloneVNode(vnode, newProps);\n }\n\n return vnode;\n }\n\n // 如果是其他组件(如 gm-table-column 用于多级表头),递归处理子节点\n if (vnode.children) {\n let newChildren = vnode.children;\n\n // 如果 children 是对象(包含 slots),递归处理 default slot\n if (typeof vnode.children === 'object' && vnode.children.default) {\n const originalDefault = vnode.children.default;\n newChildren = {\n ...vnode.children,\n default: (slotProps: any) => {\n const childVnodes = originalDefault(slotProps);\n if (Array.isArray(childVnodes)) {\n return childVnodes.map(processVNode).filter(Boolean);\n }\n return processVNode(childVnodes);\n },\n };\n }\n // 如果 children 是数组,递归处理每个子节点\n else if (Array.isArray(vnode.children)) {\n newChildren = vnode.children.map(processVNode).filter(Boolean);\n }\n\n return cloneVNode(vnode, vnode.props, newChildren);\n }\n\n return vnode;\n };\n\n const render = computed(() => {\n const vnodeArray = Array.isArray(props.vnode) ? props.vnode : [props.vnode];\n // 按 propsList(已保存/拖拽后的顺序)对顶层列重排。\n // 关键:v-if=false 的列、模板注释会在 slot 中留下「注释 vnode」占位,\n // 必须把它们排除在判断之外——否则只要表格含 v-if 列,canReorder 就会被注释 vnode\n // 拖成 false,导致拖拽排序不生效(这正是含大量 v-if 列的表格\"拖动无效\"的根因)。\n const propOrder = new Map(props.propsList.map((p, i) => [p.prop, i]));\n const isLeafCol = (v: any) => v?.type?.name === 'GmTableColumnPro';\n const isComment = (v: any) => v?.type === Comment;\n const leafCols = vnodeArray.filter(isLeafCol);\n // 仅当所有「非注释」顶层节点都是可在 propsList 中定位顺序的叶子列时才重排;\n // 含分组列(多级表头)等其它节点时,保持模板原始顺序,不参与排序。\n const canReorder =\n leafCols.length > 0 &&\n leafCols.every((v: any) => v?.props?.prop != null && propOrder.has(v.props.prop)) &&\n vnodeArray.every((v: any) => isLeafCol(v) || isComment(v));\n\n if (canReorder) {\n // 只渲染真实叶子列并按保存顺序排序(注释 vnode 是 v-if 占位、不渲染任何内容,直接丢弃)。\n // 为每列设置稳定 key(= prop):让 Vue「移动」列实例而非就地复用,从而真正改变\n // .hidden-columns 的 DOM 顺序,触发 el-table 的 MutationObserver 重新排序列。\n return [...leafCols]\n .sort((a: any, b: any) => propOrder.get(a.props.prop)! - propOrder.get(b.props.prop)!)\n .map((vnode: any) => {\n const processed = processVNode(vnode);\n return processed ? h(processed, { key: vnode.props.prop }) : null;\n })\n .filter(Boolean);\n }\n\n // 原始行为:按模板顺序渲染全部节点(含注释占位),不加 key,多级表头等场景零变化。\n return vnodeArray\n .map(vnode => {\n const processed = processVNode(vnode);\n return processed ? h(processed) : null;\n })\n .filter(Boolean);\n });\n\n return () => render.value;\n },\n});\n"],"names":["functional","props","vnode","type","Object","Array","required","propsList","default","defaultPropsList","setup","mergePropsList","computed","map","it","findProp","find","item","prop","processVNode","name","propsConfig","value","isShow","newProps","width","label","fixed","cloneVNode","children","newChildren","originalDefault","slotProps","childVnodes","isArray","filter","Boolean","render","vnodeArray","propOrder","Map","p","i","isLeafCol","v","isComment","Comment","leafCols","canReorder","length","every","has","sort","a","b","get","processed","h","key"],"mappings":";;AAKA,+DAA+B;AAAA,EAC7BA,UAAAA,EAAY,IAAA;AAAA,EACZC,KAAAA,EAAO;AAAA;AAAA,IAELC,KAAAA,EAAO;AAAA,MACLC,IAAAA,EAAM,CAACC,MAAAA,EAAQC,KAAK,CAAA;AAAA,MACpBC,QAAAA,EAAU;AAAA,KACZ;AAAA;AAAA,IAEAC,SAAAA,EAAW;AAAA,MACTJ,IAAAA,EAAME,KAAAA;AAAAA,MACNG,OAAAA,EAASA,MAAM;AAAA,KACjB;AAAA,IACAC,gBAAAA,EAAkB;AAAA,MAChBN,IAAAA,EAAME,KAAAA;AAAAA,MACNG,OAAAA,EAASA,MAAM;AAAA;AACjB,GACF;AAAA,EACAE,MAAMT,KAAAA,EAAO;AAEX,IAAA,MAAMU,cAAAA,GAAiBC,SAAS,MAAM;AACpC,MAAA,OAAOX,KAAAA,CAAMQ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A,EAAW;AAAA,YAAEE,GAAAA,EAAKxD,MAAMD,KAAAA,CAAMiB;AAAAA,WAAM,CAAA,GAAI,IAAA;AAAA,QAC/D,CAAC,CAAA,CACAiB,MAAAA,CAAOC,OAAO,CAAA;AAAA,MACnB;AAGA,MAAA,OAAOE,UAAAA,CACJzB,IAAIX,CAAAA,KAAAA,KAAS;AACZ,QAAA,MAAMsD,SAAAA,GAAYrC,aAAajB,KAAK,CAAA;AACpC,QAAA,OAAOsD,SAAAA,GAAYC,CAAAA,CAAED,SAAS,CAAA,GAAI,IAAA;AAAA,MACpC,CAAC,CAAA,CACArB,MAAAA,CAAOC,OAAO,CAAA;AAAA,IACnB,CAAC,CAAA;AAED,IAAA,OAAO,MAAMC,MAAAA,CAAOf,KAAAA;AAAAA,EACtB;AACF,CAAC,CAAA;;;;"}
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.1.1-snapshot.0";
|
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 = '1.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '1.1.1-snapshot.0';\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
|
package/es/index.css
CHANGED
|
@@ -890,11 +890,6 @@ video {
|
|
|
890
890
|
.gm-group:hover .group-hover\:gm-block {
|
|
891
891
|
display: block;
|
|
892
892
|
}
|
|
893
|
-
|
|
894
|
-
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
895
|
-
margin: 0;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
893
|
.gm-flex-center[data-v-c17deec9] {
|
|
899
894
|
align-items: center;
|
|
900
895
|
}
|
|
@@ -902,47 +897,42 @@ video {
|
|
|
902
897
|
.gm-flex-justify-between[data-v-c17deec9] {
|
|
903
898
|
justify-content: space-between;
|
|
904
899
|
}
|
|
905
|
-
.
|
|
906
|
-
|
|
907
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
908
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
909
|
-
}
|
|
910
|
-
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
911
|
-
box-shadow: none;
|
|
912
|
-
background: none;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
916
|
-
display: none;
|
|
917
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
921
|
-
display: flex;
|
|
922
|
-
}
|
|
923
|
-
[data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
924
|
-
border-right: none;
|
|
900
|
+
.circular[data-v-d7b04fae] {
|
|
901
|
+
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
925
902
|
}
|
|
926
903
|
|
|
927
|
-
[data-v-
|
|
928
|
-
|
|
904
|
+
.path[data-v-d7b04fae] {
|
|
905
|
+
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
906
|
+
stroke-dasharray: 90, 150;
|
|
907
|
+
stroke-dashoffset: 0;
|
|
908
|
+
stroke: var(--el-color-primary);
|
|
909
|
+
stroke-linecap: round;
|
|
929
910
|
}
|
|
930
911
|
|
|
931
|
-
|
|
932
|
-
|
|
912
|
+
@keyframes loading-rotate-d7b04fae {
|
|
913
|
+
to {
|
|
914
|
+
transform: rotate(360deg);
|
|
915
|
+
}
|
|
933
916
|
}
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
917
|
+
@keyframes loading-dash-d7b04fae {
|
|
918
|
+
0% {
|
|
919
|
+
stroke-dasharray: 1, 200;
|
|
920
|
+
stroke-dashoffset: 0;
|
|
921
|
+
}
|
|
922
|
+
50% {
|
|
923
|
+
stroke-dasharray: 90, 150;
|
|
924
|
+
stroke-dashoffset: -40px;
|
|
925
|
+
}
|
|
926
|
+
100% {
|
|
927
|
+
stroke-dasharray: 90, 150;
|
|
928
|
+
stroke-dashoffset: -120px;
|
|
929
|
+
}
|
|
937
930
|
}
|
|
938
931
|
|
|
939
|
-
[data-v-
|
|
940
|
-
|
|
932
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
933
|
+
margin: 0;
|
|
941
934
|
}
|
|
942
935
|
|
|
943
|
-
[data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
|
|
944
|
-
height: 0;
|
|
945
|
-
}
|
|
946
936
|
.gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
|
|
947
937
|
padding: 0;
|
|
948
938
|
}
|
|
@@ -989,108 +979,51 @@ video {
|
|
|
989
979
|
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
990
980
|
display: none;
|
|
991
981
|
}
|
|
982
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
983
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
984
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
985
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
986
|
+
}
|
|
987
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
988
|
+
box-shadow: none;
|
|
989
|
+
background: none;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
993
|
+
display: none;
|
|
994
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
998
|
+
display: flex;
|
|
999
|
+
}
|
|
992
1000
|
[data-v-195b27e4] .gmSearchForm .el-form-item {
|
|
993
1001
|
margin-right: 0;
|
|
994
1002
|
margin-bottom: 4px;
|
|
995
1003
|
}
|
|
996
|
-
[data-v-
|
|
1004
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
997
1005
|
border-right: none;
|
|
998
1006
|
}
|
|
999
1007
|
|
|
1000
|
-
[data-v-
|
|
1008
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1001
1009
|
height: 0;
|
|
1002
1010
|
}
|
|
1003
1011
|
|
|
1004
|
-
[data-v-
|
|
1012
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1005
1013
|
height: 0;
|
|
1006
1014
|
}
|
|
1007
1015
|
|
|
1008
|
-
[data-v-
|
|
1016
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border:after {
|
|
1009
1017
|
height: 0;
|
|
1010
1018
|
}
|
|
1011
1019
|
|
|
1012
|
-
[data-v-
|
|
1020
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border:before {
|
|
1013
1021
|
height: 0;
|
|
1014
1022
|
}
|
|
1015
1023
|
|
|
1016
|
-
[data-v-
|
|
1024
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
|
|
1017
1025
|
height: 0;
|
|
1018
1026
|
}
|
|
1019
|
-
.circular[data-v-d7b04fae] {
|
|
1020
|
-
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
.path[data-v-d7b04fae] {
|
|
1024
|
-
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
1025
|
-
stroke-dasharray: 90, 150;
|
|
1026
|
-
stroke-dashoffset: 0;
|
|
1027
|
-
stroke: var(--el-color-primary);
|
|
1028
|
-
stroke-linecap: round;
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
@keyframes loading-rotate-d7b04fae {
|
|
1032
|
-
to {
|
|
1033
|
-
transform: rotate(360deg);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
@keyframes loading-dash-d7b04fae {
|
|
1037
|
-
0% {
|
|
1038
|
-
stroke-dasharray: 1, 200;
|
|
1039
|
-
stroke-dashoffset: 0;
|
|
1040
|
-
}
|
|
1041
|
-
50% {
|
|
1042
|
-
stroke-dasharray: 90, 150;
|
|
1043
|
-
stroke-dashoffset: -40px;
|
|
1044
|
-
}
|
|
1045
|
-
100% {
|
|
1046
|
-
stroke-dasharray: 90, 150;
|
|
1047
|
-
stroke-dashoffset: -120px;
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
.gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
|
|
1051
|
-
padding: 0;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
.gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload-list__item, .gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload--picture-card {
|
|
1055
|
-
width: auto;
|
|
1056
|
-
height: auto;
|
|
1057
|
-
}
|
|
1058
|
-
.gm-upload-file {
|
|
1059
|
-
line-height: normal;
|
|
1060
|
-
}
|
|
1061
|
-
.gm-upload-file li > .el-checkbox {
|
|
1062
|
-
position: absolute;
|
|
1063
|
-
left: 10px;
|
|
1064
|
-
top: 0;
|
|
1065
|
-
z-index: 9;
|
|
1066
|
-
}
|
|
1067
|
-
.gm-upload-file .el-upload-list--picture-card {
|
|
1068
|
-
gap: 10px;
|
|
1069
|
-
}
|
|
1070
|
-
.gm-upload-file .el-upload-list__item {
|
|
1071
|
-
margin: 0;
|
|
1072
|
-
border: none;
|
|
1073
|
-
}
|
|
1074
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
1075
|
-
line-height: normal;
|
|
1076
|
-
}
|
|
1077
|
-
.gm-upload-file .el-upload-dragger {
|
|
1078
|
-
padding: 0;
|
|
1079
|
-
border: none;
|
|
1080
|
-
width: 100%;
|
|
1081
|
-
height: 100%;
|
|
1082
|
-
display: flex;
|
|
1083
|
-
}
|
|
1084
|
-
.gm-upload-file .el-upload--picture-card {
|
|
1085
|
-
border: none;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1089
|
-
display: none;
|
|
1090
|
-
}
|
|
1091
|
-
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1092
|
-
display: none;
|
|
1093
|
-
}
|
|
1094
1027
|
|
|
1095
1028
|
.pagination-container[data-v-47d35e7b] {
|
|
1096
1029
|
background: #fff;
|
|
@@ -1156,6 +1089,29 @@ video {
|
|
|
1156
1089
|
border-radius: 10px;
|
|
1157
1090
|
background: #eee;
|
|
1158
1091
|
}
|
|
1092
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1093
|
+
border-right: none;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1097
|
+
height: 0;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1101
|
+
height: 0;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border:after {
|
|
1105
|
+
height: 0;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border:before {
|
|
1109
|
+
height: 0;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__border-left-patch {
|
|
1113
|
+
height: 0;
|
|
1114
|
+
}
|
|
1159
1115
|
@charset "UTF-8";
|
|
1160
1116
|
.table-custom-header-drawer .el-drawer__header {
|
|
1161
1117
|
padding: 10px 15px;
|
|
@@ -1211,4 +1167,48 @@ video {
|
|
|
1211
1167
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1212
1168
|
border-radius: 10px;
|
|
1213
1169
|
background: #eee;
|
|
1170
|
+
}
|
|
1171
|
+
.gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
|
|
1172
|
+
padding: 0;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload-list__item, .gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload--picture-card {
|
|
1176
|
+
width: auto;
|
|
1177
|
+
height: auto;
|
|
1178
|
+
}
|
|
1179
|
+
.gm-upload-file {
|
|
1180
|
+
line-height: normal;
|
|
1181
|
+
}
|
|
1182
|
+
.gm-upload-file li > .el-checkbox {
|
|
1183
|
+
position: absolute;
|
|
1184
|
+
left: 10px;
|
|
1185
|
+
top: 0;
|
|
1186
|
+
z-index: 9;
|
|
1187
|
+
}
|
|
1188
|
+
.gm-upload-file .el-upload-list--picture-card {
|
|
1189
|
+
gap: 10px;
|
|
1190
|
+
}
|
|
1191
|
+
.gm-upload-file .el-upload-list__item {
|
|
1192
|
+
margin: 0;
|
|
1193
|
+
border: none;
|
|
1194
|
+
}
|
|
1195
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
1196
|
+
line-height: normal;
|
|
1197
|
+
}
|
|
1198
|
+
.gm-upload-file .el-upload-dragger {
|
|
1199
|
+
padding: 0;
|
|
1200
|
+
border: none;
|
|
1201
|
+
width: 100%;
|
|
1202
|
+
height: 100%;
|
|
1203
|
+
display: flex;
|
|
1204
|
+
}
|
|
1205
|
+
.gm-upload-file .el-upload--picture-card {
|
|
1206
|
+
border: none;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1210
|
+
display: none;
|
|
1211
|
+
}
|
|
1212
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1213
|
+
display: none;
|
|
1214
1214
|
}
|
|
@@ -78,14 +78,20 @@ var TableColumnVNodeRenderer = /* @__PURE__ */ vue.defineComponent({
|
|
|
78
78
|
const vnodeArray = Array.isArray(props.vnode) ? props.vnode : [props.vnode];
|
|
79
79
|
const propOrder = new Map(props.propsList.map((p, i) => [p.prop, i]));
|
|
80
80
|
const isLeafCol = (v) => v?.type?.name === "GmTableColumnPro";
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
|
|
81
|
+
const isComment = (v) => v?.type === vue.Comment;
|
|
82
|
+
const leafCols = vnodeArray.filter(isLeafCol);
|
|
83
|
+
const canReorder = leafCols.length > 0 && leafCols.every((v) => v?.props?.prop != null && propOrder.has(v.props.prop)) && vnodeArray.every((v) => isLeafCol(v) || isComment(v));
|
|
84
|
+
if (canReorder) {
|
|
85
|
+
return [...leafCols].sort((a, b) => propOrder.get(a.props.prop) - propOrder.get(b.props.prop)).map((vnode) => {
|
|
86
|
+
const processed = processVNode(vnode);
|
|
87
|
+
return processed ? vue.h(processed, {
|
|
88
|
+
key: vnode.props.prop
|
|
89
|
+
}) : null;
|
|
90
|
+
}).filter(Boolean);
|
|
91
|
+
}
|
|
92
|
+
return vnodeArray.map((vnode) => {
|
|
84
93
|
const processed = processVNode(vnode);
|
|
85
|
-
|
|
86
|
-
return canReorder ? vue.h(processed, {
|
|
87
|
-
key: vnode.props.prop
|
|
88
|
-
}) : vue.h(processed);
|
|
94
|
+
return processed ? vue.h(processed) : null;
|
|
89
95
|
}).filter(Boolean);
|
|
90
96
|
});
|
|
91
97
|
return () => render.value;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableColumnVNodeRenderer.js","sources":["../../../../../../../packages/components/src/composite/tablePro/TableColumnVNodeRenderer.tsx"],"sourcesContent":["// TableColumnVNodeRenderer - 支持多级表头\nimport { computed, defineComponent, h, cloneVNode } from 'vue';\nimport type { TableColumnProProps } from './tableColumnPro/tableColumnPro';\nimport type { PropType, VNode } from 'vue';\n\nexport default defineComponent({\n functional: true,\n props: {\n // 当前原始vnode vue模板中的attribute\n vnode: {\n type: [Object, Array],\n required: true,\n },\n // 真实渲染的propsList\n propsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n defaultPropsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n },\n setup(props) {\n /** 合并propsList和defaultPropsList */\n const mergePropsList = computed(() => {\n return props.defaultPropsList.map(it => {\n const findProp = props.propsList.find(item => item.prop === it.prop);\n if (findProp) {\n return findProp;\n }\n return it;\n });\n });\n\n /**\n * 递归处理 vnode 树,应用 propsList 配置\n * @param vnode 要处理的 vnode\n * @returns 处理后的 vnode\n */\n const processVNode = (vnode: any): any => {\n if (!vnode) return null;\n\n // 如果是 GmTableColumnPro,查找并应用配置\n if (vnode.type?.name === 'GmTableColumnPro') {\n // type=\"edit\" 的列由 TablePro 的 gmEdit 列统一处理,这里跳过\n // 直接检查 vnode.props.type,避免因 prop 相同导致的误匹配\n if (vnode.props?.type === 'edit') {\n return null;\n }\n\n const propsConfig = mergePropsList.value.find(it => it.prop === vnode.props?.prop);\n\n // 如果配置中标记为不显示,跳过渲染\n if (propsConfig && !propsConfig.isShow) {\n return null;\n }\n\n // 应用配置到 vnode props\n if (propsConfig) {\n const newProps = {\n ...vnode.props,\n width: propsConfig.width,\n label: propsConfig.label,\n fixed: propsConfig.fixed,\n };\n return cloneVNode(vnode, newProps);\n }\n\n return vnode;\n }\n\n // 如果是其他组件(如 gm-table-column 用于多级表头),递归处理子节点\n if (vnode.children) {\n let newChildren = vnode.children;\n\n // 如果 children 是对象(包含 slots),递归处理 default slot\n if (typeof vnode.children === 'object' && vnode.children.default) {\n const originalDefault = vnode.children.default;\n newChildren = {\n ...vnode.children,\n default: (slotProps: any) => {\n const childVnodes = originalDefault(slotProps);\n if (Array.isArray(childVnodes)) {\n return childVnodes.map(processVNode).filter(Boolean);\n }\n return processVNode(childVnodes);\n },\n };\n }\n // 如果 children 是数组,递归处理每个子节点\n else if (Array.isArray(vnode.children)) {\n newChildren = vnode.children.map(processVNode).filter(Boolean);\n }\n\n return cloneVNode(vnode, vnode.props, newChildren);\n }\n\n return vnode;\n };\n\n const render = computed(() => {\n const vnodeArray = Array.isArray(props.vnode) ? props.vnode : [props.vnode];\n // 按 propsList(已保存/拖拽后的顺序)对顶层列重排。\n //
|
|
1
|
+
{"version":3,"file":"TableColumnVNodeRenderer.js","sources":["../../../../../../../packages/components/src/composite/tablePro/TableColumnVNodeRenderer.tsx"],"sourcesContent":["// TableColumnVNodeRenderer - 支持多级表头\nimport { computed, defineComponent, h, cloneVNode, Comment } from 'vue';\nimport type { TableColumnProProps } from './tableColumnPro/tableColumnPro';\nimport type { PropType, VNode } from 'vue';\n\nexport default defineComponent({\n functional: true,\n props: {\n // 当前原始vnode vue模板中的attribute\n vnode: {\n type: [Object, Array],\n required: true,\n },\n // 真实渲染的propsList\n propsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n defaultPropsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n },\n setup(props) {\n /** 合并propsList和defaultPropsList */\n const mergePropsList = computed(() => {\n return props.defaultPropsList.map(it => {\n const findProp = props.propsList.find(item => item.prop === it.prop);\n if (findProp) {\n return findProp;\n }\n return it;\n });\n });\n\n /**\n * 递归处理 vnode 树,应用 propsList 配置\n * @param vnode 要处理的 vnode\n * @returns 处理后的 vnode\n */\n const processVNode = (vnode: any): any => {\n if (!vnode) return null;\n\n // 如果是 GmTableColumnPro,查找并应用配置\n if (vnode.type?.name === 'GmTableColumnPro') {\n // type=\"edit\" 的列由 TablePro 的 gmEdit 列统一处理,这里跳过\n // 直接检查 vnode.props.type,避免因 prop 相同导致的误匹配\n if (vnode.props?.type === 'edit') {\n return null;\n }\n\n const propsConfig = mergePropsList.value.find(it => it.prop === vnode.props?.prop);\n\n // 如果配置中标记为不显示,跳过渲染\n if (propsConfig && !propsConfig.isShow) {\n return null;\n }\n\n // 应用配置到 vnode props\n if (propsConfig) {\n const newProps = {\n ...vnode.props,\n width: propsConfig.width,\n label: propsConfig.label,\n fixed: propsConfig.fixed,\n };\n return cloneVNode(vnode, newProps);\n }\n\n return vnode;\n }\n\n // 如果是其他组件(如 gm-table-column 用于多级表头),递归处理子节点\n if (vnode.children) {\n let newChildren = vnode.children;\n\n // 如果 children 是对象(包含 slots),递归处理 default slot\n if (typeof vnode.children === 'object' && vnode.children.default) {\n const originalDefault = vnode.children.default;\n newChildren = {\n ...vnode.children,\n default: (slotProps: any) => {\n const childVnodes = originalDefault(slotProps);\n if (Array.isArray(childVnodes)) {\n return childVnodes.map(processVNode).filter(Boolean);\n }\n return processVNode(childVnodes);\n },\n };\n }\n // 如果 children 是数组,递归处理每个子节点\n else if (Array.isArray(vnode.children)) {\n newChildren = vnode.children.map(processVNode).filter(Boolean);\n }\n\n return cloneVNode(vnode, vnode.props, newChildren);\n }\n\n return vnode;\n };\n\n const render = computed(() => {\n const vnodeArray = Array.isArray(props.vnode) ? props.vnode : [props.vnode];\n // 按 propsList(已保存/拖拽后的顺序)对顶层列重排。\n // 关键:v-if=false 的列、模板注释会在 slot 中留下「注释 vnode」占位,\n // 必须把它们排除在判断之外——否则只要表格含 v-if 列,canReorder 就会被注释 vnode\n // 拖成 false,导致拖拽排序不生效(这正是含大量 v-if 列的表格\"拖动无效\"的根因)。\n const propOrder = new Map(props.propsList.map((p, i) => [p.prop, i]));\n const isLeafCol = (v: any) => v?.type?.name === 'GmTableColumnPro';\n const isComment = (v: any) => v?.type === Comment;\n const leafCols = vnodeArray.filter(isLeafCol);\n // 仅当所有「非注释」顶层节点都是可在 propsList 中定位顺序的叶子列时才重排;\n // 含分组列(多级表头)等其它节点时,保持模板原始顺序,不参与排序。\n const canReorder =\n leafCols.length > 0 &&\n leafCols.every((v: any) => v?.props?.prop != null && propOrder.has(v.props.prop)) &&\n vnodeArray.every((v: any) => isLeafCol(v) || isComment(v));\n\n if (canReorder) {\n // 只渲染真实叶子列并按保存顺序排序(注释 vnode 是 v-if 占位、不渲染任何内容,直接丢弃)。\n // 为每列设置稳定 key(= prop):让 Vue「移动」列实例而非就地复用,从而真正改变\n // .hidden-columns 的 DOM 顺序,触发 el-table 的 MutationObserver 重新排序列。\n return [...leafCols]\n .sort((a: any, b: any) => propOrder.get(a.props.prop)! - propOrder.get(b.props.prop)!)\n .map((vnode: any) => {\n const processed = processVNode(vnode);\n return processed ? h(processed, { key: vnode.props.prop }) : null;\n })\n .filter(Boolean);\n }\n\n // 原始行为:按模板顺序渲染全部节点(含注释占位),不加 key,多级表头等场景零变化。\n return vnodeArray\n .map(vnode => {\n const processed = processVNode(vnode);\n return processed ? h(processed) : null;\n })\n .filter(Boolean);\n });\n\n return () => render.value;\n },\n});\n"],"names":["functional","props","vnode","type","Object","Array","required","propsList","default","defaultPropsList","setup","mergePropsList","computed","map","it","findProp","find","item","prop","processVNode","name","propsConfig","value","isShow","newProps","width","label","fixed","cloneVNode","children","newChildren","originalDefault","slotProps","childVnodes","isArray","filter","Boolean","render","vnodeArray","propOrder","Map","p","i","isLeafCol","v","isComment","Comment","leafCols","canReorder","length","every","has","sort","a","b","get","processed","h","key"],"mappings":";;;;;;AAKA,mEAA+B;AAAA,EAC7BA,UAAAA,EAAY,IAAA;AAAA,EACZC,KAAAA,EAAO;AAAA;AAAA,IAELC,KAAAA,EAAO;AAAA,MACLC,IAAAA,EAAM,CAACC,MAAAA,EAAQC,KAAK,CAAA;AAAA,MACpBC,QAAAA,EAAU;AAAA,KACZ;AAAA;AAAA,IAEAC,SAAAA,EAAW;AAAA,MACTJ,IAAAA,EAAME,KAAAA;AAAAA,MACNG,OAAAA,EAASA,MAAM;AAAA,KACjB;AAAA,IACAC,gBAAAA,EAA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,GAAAA,CAAID,CAAAA,CAAErD,MAAMiB,IAAI,CAAE,CAAA,CACpFL,GAAAA,CAAKX,CAAAA,KAAAA,KAAe;AACnB,UAAA,MAAMsD,SAAAA,GAAYrC,aAAajB,KAAK,CAAA;AACpC,UAAA,OAAOsD,SAAAA,GAAYC,MAAED,SAAAA,EAAW;AAAA,YAAEE,GAAAA,EAAKxD,MAAMD,KAAAA,CAAMiB;AAAAA,WAAM,CAAA,GAAI,IAAA;AAAA,QAC/D,CAAC,CAAA,CACAiB,MAAAA,CAAOC,OAAO,CAAA;AAAA,MACnB;AAGA,MAAA,OAAOE,UAAAA,CACJzB,IAAIX,CAAAA,KAAAA,KAAS;AACZ,QAAA,MAAMsD,SAAAA,GAAYrC,aAAajB,KAAK,CAAA;AACpC,QAAA,OAAOsD,SAAAA,GAAYC,KAAAA,CAAED,SAAS,CAAA,GAAI,IAAA;AAAA,MACpC,CAAC,CAAA,CACArB,MAAAA,CAAOC,OAAO,CAAA;AAAA,IACnB,CAAC,CAAA;AAED,IAAA,OAAO,MAAMC,MAAAA,CAAOf,KAAAA;AAAAA,EACtB;AACF,CAAC,CAAA;;;;"}
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.1.1-snapshot.0";
|
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 = '1.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '1.1.1-snapshot.0';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
|
package/lib/index.css
CHANGED
|
@@ -890,11 +890,6 @@ video {
|
|
|
890
890
|
.gm-group:hover .group-hover\:gm-block {
|
|
891
891
|
display: block;
|
|
892
892
|
}
|
|
893
|
-
|
|
894
|
-
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
895
|
-
margin: 0;
|
|
896
|
-
}
|
|
897
|
-
|
|
898
893
|
.gm-flex-center[data-v-c17deec9] {
|
|
899
894
|
align-items: center;
|
|
900
895
|
}
|
|
@@ -902,47 +897,42 @@ video {
|
|
|
902
897
|
.gm-flex-justify-between[data-v-c17deec9] {
|
|
903
898
|
justify-content: space-between;
|
|
904
899
|
}
|
|
905
|
-
.
|
|
906
|
-
|
|
907
|
-
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
908
|
-
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
909
|
-
}
|
|
910
|
-
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
911
|
-
box-shadow: none;
|
|
912
|
-
background: none;
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
916
|
-
display: none;
|
|
917
|
-
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
921
|
-
display: flex;
|
|
922
|
-
}
|
|
923
|
-
[data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
924
|
-
border-right: none;
|
|
900
|
+
.circular[data-v-d7b04fae] {
|
|
901
|
+
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
925
902
|
}
|
|
926
903
|
|
|
927
|
-
[data-v-
|
|
928
|
-
|
|
904
|
+
.path[data-v-d7b04fae] {
|
|
905
|
+
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
906
|
+
stroke-dasharray: 90, 150;
|
|
907
|
+
stroke-dashoffset: 0;
|
|
908
|
+
stroke: var(--el-color-primary);
|
|
909
|
+
stroke-linecap: round;
|
|
929
910
|
}
|
|
930
911
|
|
|
931
|
-
|
|
932
|
-
|
|
912
|
+
@keyframes loading-rotate-d7b04fae {
|
|
913
|
+
to {
|
|
914
|
+
transform: rotate(360deg);
|
|
915
|
+
}
|
|
933
916
|
}
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
917
|
+
@keyframes loading-dash-d7b04fae {
|
|
918
|
+
0% {
|
|
919
|
+
stroke-dasharray: 1, 200;
|
|
920
|
+
stroke-dashoffset: 0;
|
|
921
|
+
}
|
|
922
|
+
50% {
|
|
923
|
+
stroke-dasharray: 90, 150;
|
|
924
|
+
stroke-dashoffset: -40px;
|
|
925
|
+
}
|
|
926
|
+
100% {
|
|
927
|
+
stroke-dasharray: 90, 150;
|
|
928
|
+
stroke-dashoffset: -120px;
|
|
929
|
+
}
|
|
937
930
|
}
|
|
938
931
|
|
|
939
|
-
[data-v-
|
|
940
|
-
|
|
932
|
+
.gm-range-number .el-form-item[data-v-1ae16d96] {
|
|
933
|
+
margin: 0;
|
|
941
934
|
}
|
|
942
935
|
|
|
943
|
-
[data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
|
|
944
|
-
height: 0;
|
|
945
|
-
}
|
|
946
936
|
.gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
|
|
947
937
|
padding: 0;
|
|
948
938
|
}
|
|
@@ -989,108 +979,51 @@ video {
|
|
|
989
979
|
.gm-upload-pro-file-disabled .el-upload-list__item-status-label {
|
|
990
980
|
display: none;
|
|
991
981
|
}
|
|
982
|
+
.gm-number-interval-single[data-v-4e6f4d6f] {
|
|
983
|
+
border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
|
|
984
|
+
box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
|
|
985
|
+
background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
|
|
986
|
+
}
|
|
987
|
+
.gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
|
|
988
|
+
box-shadow: none;
|
|
989
|
+
background: none;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
.gm-number-interval-close[data-v-4e6f4d6f] {
|
|
993
|
+
display: none;
|
|
994
|
+
color: var(--el-input-icon-color, var(--el-text-color-placeholder));
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
998
|
+
display: flex;
|
|
999
|
+
}
|
|
992
1000
|
[data-v-195b27e4] .gmSearchForm .el-form-item {
|
|
993
1001
|
margin-right: 0;
|
|
994
1002
|
margin-bottom: 4px;
|
|
995
1003
|
}
|
|
996
|
-
[data-v-
|
|
1004
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
997
1005
|
border-right: none;
|
|
998
1006
|
}
|
|
999
1007
|
|
|
1000
|
-
[data-v-
|
|
1008
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1001
1009
|
height: 0;
|
|
1002
1010
|
}
|
|
1003
1011
|
|
|
1004
|
-
[data-v-
|
|
1012
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1005
1013
|
height: 0;
|
|
1006
1014
|
}
|
|
1007
1015
|
|
|
1008
|
-
[data-v-
|
|
1016
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border:after {
|
|
1009
1017
|
height: 0;
|
|
1010
1018
|
}
|
|
1011
1019
|
|
|
1012
|
-
[data-v-
|
|
1020
|
+
[data-v-050a4f74] .gmTableNoBorder.el-table--border:before {
|
|
1013
1021
|
height: 0;
|
|
1014
1022
|
}
|
|
1015
1023
|
|
|
1016
|
-
[data-v-
|
|
1024
|
+
[data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
|
|
1017
1025
|
height: 0;
|
|
1018
1026
|
}
|
|
1019
|
-
.circular[data-v-d7b04fae] {
|
|
1020
|
-
animation: loading-rotate-d7b04fae 2s linear infinite;
|
|
1021
|
-
}
|
|
1022
|
-
|
|
1023
|
-
.path[data-v-d7b04fae] {
|
|
1024
|
-
animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
|
|
1025
|
-
stroke-dasharray: 90, 150;
|
|
1026
|
-
stroke-dashoffset: 0;
|
|
1027
|
-
stroke: var(--el-color-primary);
|
|
1028
|
-
stroke-linecap: round;
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
|
-
@keyframes loading-rotate-d7b04fae {
|
|
1032
|
-
to {
|
|
1033
|
-
transform: rotate(360deg);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
@keyframes loading-dash-d7b04fae {
|
|
1037
|
-
0% {
|
|
1038
|
-
stroke-dasharray: 1, 200;
|
|
1039
|
-
stroke-dashoffset: 0;
|
|
1040
|
-
}
|
|
1041
|
-
50% {
|
|
1042
|
-
stroke-dasharray: 90, 150;
|
|
1043
|
-
stroke-dashoffset: -40px;
|
|
1044
|
-
}
|
|
1045
|
-
100% {
|
|
1046
|
-
stroke-dasharray: 90, 150;
|
|
1047
|
-
stroke-dashoffset: -120px;
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
.gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
|
|
1051
|
-
padding: 0;
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
.gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload-list__item, .gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload--picture-card {
|
|
1055
|
-
width: auto;
|
|
1056
|
-
height: auto;
|
|
1057
|
-
}
|
|
1058
|
-
.gm-upload-file {
|
|
1059
|
-
line-height: normal;
|
|
1060
|
-
}
|
|
1061
|
-
.gm-upload-file li > .el-checkbox {
|
|
1062
|
-
position: absolute;
|
|
1063
|
-
left: 10px;
|
|
1064
|
-
top: 0;
|
|
1065
|
-
z-index: 9;
|
|
1066
|
-
}
|
|
1067
|
-
.gm-upload-file .el-upload-list--picture-card {
|
|
1068
|
-
gap: 10px;
|
|
1069
|
-
}
|
|
1070
|
-
.gm-upload-file .el-upload-list__item {
|
|
1071
|
-
margin: 0;
|
|
1072
|
-
border: none;
|
|
1073
|
-
}
|
|
1074
|
-
.gm-upload-file .el-upload-list__item-file-name {
|
|
1075
|
-
line-height: normal;
|
|
1076
|
-
}
|
|
1077
|
-
.gm-upload-file .el-upload-dragger {
|
|
1078
|
-
padding: 0;
|
|
1079
|
-
border: none;
|
|
1080
|
-
width: 100%;
|
|
1081
|
-
height: 100%;
|
|
1082
|
-
display: flex;
|
|
1083
|
-
}
|
|
1084
|
-
.gm-upload-file .el-upload--picture-card {
|
|
1085
|
-
border: none;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
|
-
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1089
|
-
display: none;
|
|
1090
|
-
}
|
|
1091
|
-
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1092
|
-
display: none;
|
|
1093
|
-
}
|
|
1094
1027
|
|
|
1095
1028
|
.pagination-container[data-v-47d35e7b] {
|
|
1096
1029
|
background: #fff;
|
|
@@ -1156,6 +1089,29 @@ video {
|
|
|
1156
1089
|
border-radius: 10px;
|
|
1157
1090
|
background: #eee;
|
|
1158
1091
|
}
|
|
1092
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1093
|
+
border-right: none;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1097
|
+
height: 0;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1101
|
+
height: 0;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border:after {
|
|
1105
|
+
height: 0;
|
|
1106
|
+
}
|
|
1107
|
+
|
|
1108
|
+
[data-v-3f2c8504] .gmTableNoBorder.el-table--border:before {
|
|
1109
|
+
height: 0;
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
[data-v-3f2c8504] .gmTableNoBorder .el-table__border-left-patch {
|
|
1113
|
+
height: 0;
|
|
1114
|
+
}
|
|
1159
1115
|
@charset "UTF-8";
|
|
1160
1116
|
.table-custom-header-drawer .el-drawer__header {
|
|
1161
1117
|
padding: 10px 15px;
|
|
@@ -1211,4 +1167,48 @@ video {
|
|
|
1211
1167
|
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1212
1168
|
border-radius: 10px;
|
|
1213
1169
|
background: #eee;
|
|
1170
|
+
}
|
|
1171
|
+
.gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
|
|
1172
|
+
padding: 0;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload-list__item, .gm-upload-file-picture-card[data-v-c615121c] [data-v-c615121c] .el-upload--picture-card {
|
|
1176
|
+
width: auto;
|
|
1177
|
+
height: auto;
|
|
1178
|
+
}
|
|
1179
|
+
.gm-upload-file {
|
|
1180
|
+
line-height: normal;
|
|
1181
|
+
}
|
|
1182
|
+
.gm-upload-file li > .el-checkbox {
|
|
1183
|
+
position: absolute;
|
|
1184
|
+
left: 10px;
|
|
1185
|
+
top: 0;
|
|
1186
|
+
z-index: 9;
|
|
1187
|
+
}
|
|
1188
|
+
.gm-upload-file .el-upload-list--picture-card {
|
|
1189
|
+
gap: 10px;
|
|
1190
|
+
}
|
|
1191
|
+
.gm-upload-file .el-upload-list__item {
|
|
1192
|
+
margin: 0;
|
|
1193
|
+
border: none;
|
|
1194
|
+
}
|
|
1195
|
+
.gm-upload-file .el-upload-list__item-file-name {
|
|
1196
|
+
line-height: normal;
|
|
1197
|
+
}
|
|
1198
|
+
.gm-upload-file .el-upload-dragger {
|
|
1199
|
+
padding: 0;
|
|
1200
|
+
border: none;
|
|
1201
|
+
width: 100%;
|
|
1202
|
+
height: 100%;
|
|
1203
|
+
display: flex;
|
|
1204
|
+
}
|
|
1205
|
+
.gm-upload-file .el-upload--picture-card {
|
|
1206
|
+
border: none;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.gm-upload-file-disabled .el-upload--picture-card {
|
|
1210
|
+
display: none;
|
|
1211
|
+
}
|
|
1212
|
+
.gm-upload-file-disabled .el-upload-list__item-status-label {
|
|
1213
|
+
display: none;
|
|
1214
1214
|
}
|