giime 0.7.0 → 0.7.1

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 CHANGED
@@ -873,11 +873,6 @@ video {
873
873
  .gm-group:hover .group-hover\:gm-block {
874
874
  display: block;
875
875
  }
876
-
877
- .gm-range-number .el-form-item[data-v-1ae16d96] {
878
- margin: 0;
879
- }
880
-
881
876
  .gm-flex-center[data-v-c17deec9] {
882
877
  align-items: center;
883
878
  }
@@ -885,193 +880,157 @@ video {
885
880
  .gm-flex-justify-between[data-v-c17deec9] {
886
881
  justify-content: space-between;
887
882
  }
888
- .gm-upload-pro-preview-dialog[data-v-c2c42dbb] [data-v-c2c42dbb] .el-dialog__body {
883
+ .gm-upload-preview-dialog[data-v-62eb3199] [data-v-62eb3199] .el-dialog__body {
889
884
  padding: 0;
890
885
  }
891
886
 
892
- .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload--picture-card {
887
+ .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload-list__item, .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload--picture-card {
893
888
  width: auto;
894
889
  height: auto;
895
890
  }
896
- .gm-upload-pro-file {
891
+ .gm-upload-file {
897
892
  line-height: normal;
898
893
  }
899
- .gm-upload-pro-file .el-checkbox-group {
900
- font-size: unset;
901
- }
902
- .gm-upload-pro-file .el-checkbox {
894
+ .gm-upload-file .el-checkbox {
903
895
  position: absolute;
904
896
  left: 10px;
905
897
  top: 0;
906
898
  z-index: 9;
907
899
  }
908
- .gm-upload-pro-file .el-upload-list--picture-card {
900
+ .gm-upload-file .el-upload-list--picture-card {
909
901
  gap: 10px;
910
902
  }
911
- .gm-upload-pro-file .el-upload-list__item {
903
+ .gm-upload-file .el-upload-list__item {
912
904
  margin: 0;
913
905
  }
914
- .gm-upload-pro-file .el-upload-list__item-file-name {
915
- line-height: 1.7;
906
+ .gm-upload-file .el-upload-list__item-file-name {
907
+ line-height: normal;
916
908
  }
917
- .gm-upload-pro-file .el-upload-dragger {
909
+ .gm-upload-file .el-upload-dragger {
918
910
  padding: 0;
919
911
  border: none;
920
912
  width: 100%;
921
913
  height: 100%;
922
914
  display: flex;
923
915
  }
924
- .gm-upload-pro-file .el-upload--picture-card {
916
+ .gm-upload-file .el-upload--picture-card {
925
917
  border: none;
926
918
  }
927
919
 
928
- .gm-upload-pro-file-disabled .el-upload--picture-card {
920
+ .gm-upload-file-disabled .el-upload--picture-card {
929
921
  display: none;
930
922
  }
931
- .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
923
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
932
924
  display: none;
933
925
  }
934
- [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
935
- border-right: none;
936
- }
937
-
938
- [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
939
- height: 0;
940
- }
941
-
942
- [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
943
- height: 0;
944
- }
945
-
946
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
947
- height: 0;
926
+ .circular[data-v-d7b04fae] {
927
+ animation: loading-rotate-d7b04fae 2s linear infinite;
948
928
  }
949
929
 
950
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
951
- height: 0;
930
+ .path[data-v-d7b04fae] {
931
+ animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
932
+ stroke-dasharray: 90, 150;
933
+ stroke-dashoffset: 0;
934
+ stroke: var(--el-color-primary);
935
+ stroke-linecap: round;
952
936
  }
953
937
 
954
- [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
955
- height: 0;
956
- }
957
- [data-v-488ca110] .gmSearchForm .el-form-item {
958
- margin-right: 0;
959
- margin-bottom: 4px;
960
- }
961
- .gm-number-interval-single[data-v-4e6f4d6f] {
962
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
963
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
964
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
938
+ @keyframes loading-rotate-d7b04fae {
939
+ to {
940
+ transform: rotate(360deg);
941
+ }
965
942
  }
966
- .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
967
- box-shadow: none;
968
- background: none;
943
+ @keyframes loading-dash-d7b04fae {
944
+ 0% {
945
+ stroke-dasharray: 1, 200;
946
+ stroke-dashoffset: 0;
947
+ }
948
+ 50% {
949
+ stroke-dasharray: 90, 150;
950
+ stroke-dashoffset: -40px;
951
+ }
952
+ 100% {
953
+ stroke-dasharray: 90, 150;
954
+ stroke-dashoffset: -120px;
955
+ }
969
956
  }
970
957
 
971
- .gm-number-interval-close[data-v-4e6f4d6f] {
972
- display: none;
973
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
958
+ .gm-range-number .el-form-item[data-v-1ae16d96] {
959
+ margin: 0;
974
960
  }
975
961
 
976
- .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
977
- display: flex;
978
- }
979
- .gm-upload-preview-dialog[data-v-62eb3199] [data-v-62eb3199] .el-dialog__body {
962
+ .gm-upload-pro-preview-dialog[data-v-c2c42dbb] [data-v-c2c42dbb] .el-dialog__body {
980
963
  padding: 0;
981
964
  }
982
965
 
983
- .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload-list__item, .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload--picture-card {
966
+ .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload--picture-card {
984
967
  width: auto;
985
968
  height: auto;
986
969
  }
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;
1005
- }
1006
-
1007
- [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
1008
- height: 0;
1009
- }
1010
- .gm-upload-file {
970
+ .gm-upload-pro-file {
1011
971
  line-height: normal;
1012
972
  }
1013
- .gm-upload-file .el-checkbox {
973
+ .gm-upload-pro-file .el-checkbox-group {
974
+ font-size: unset;
975
+ }
976
+ .gm-upload-pro-file .el-checkbox {
1014
977
  position: absolute;
1015
978
  left: 10px;
1016
979
  top: 0;
1017
980
  z-index: 9;
1018
981
  }
1019
- .gm-upload-file .el-upload-list--picture-card {
982
+ .gm-upload-pro-file .el-upload-list--picture-card {
1020
983
  gap: 10px;
1021
984
  }
1022
- .gm-upload-file .el-upload-list__item {
985
+ .gm-upload-pro-file .el-upload-list__item {
1023
986
  margin: 0;
1024
987
  }
1025
- .gm-upload-file .el-upload-list__item-file-name {
1026
- line-height: normal;
988
+ .gm-upload-pro-file .el-upload-list__item-file-name {
989
+ line-height: 1.7;
1027
990
  }
1028
- .gm-upload-file .el-upload-dragger {
991
+ .gm-upload-pro-file .el-upload-dragger {
1029
992
  padding: 0;
1030
993
  border: none;
1031
994
  width: 100%;
1032
995
  height: 100%;
1033
996
  display: flex;
1034
997
  }
1035
- .gm-upload-file .el-upload--picture-card {
998
+ .gm-upload-pro-file .el-upload--picture-card {
1036
999
  border: none;
1037
1000
  }
1038
1001
 
1039
- .gm-upload-file-disabled .el-upload--picture-card {
1002
+ .gm-upload-pro-file-disabled .el-upload--picture-card {
1040
1003
  display: none;
1041
1004
  }
1042
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1005
+ .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1043
1006
  display: none;
1044
1007
  }
1045
- .circular[data-v-d7b04fae] {
1046
- animation: loading-rotate-d7b04fae 2s linear infinite;
1008
+ [data-v-488ca110] .gmSearchForm .el-form-item {
1009
+ margin-right: 0;
1010
+ margin-bottom: 4px;
1011
+ }
1012
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
1013
+ border-right: none;
1047
1014
  }
1048
1015
 
1049
- .path[data-v-d7b04fae] {
1050
- animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
1051
- stroke-dasharray: 90, 150;
1052
- stroke-dashoffset: 0;
1053
- stroke: var(--el-color-primary);
1054
- stroke-linecap: round;
1016
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
1017
+ height: 0;
1055
1018
  }
1056
1019
 
1057
- @keyframes loading-rotate-d7b04fae {
1058
- to {
1059
- transform: rotate(360deg);
1060
- }
1020
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1021
+ height: 0;
1061
1022
  }
1062
- @keyframes loading-dash-d7b04fae {
1063
- 0% {
1064
- stroke-dasharray: 1, 200;
1065
- stroke-dashoffset: 0;
1066
- }
1067
- 50% {
1068
- stroke-dasharray: 90, 150;
1069
- stroke-dashoffset: -40px;
1070
- }
1071
- 100% {
1072
- stroke-dasharray: 90, 150;
1073
- stroke-dashoffset: -120px;
1074
- }
1023
+
1024
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
1025
+ height: 0;
1026
+ }
1027
+
1028
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
1029
+ height: 0;
1030
+ }
1031
+
1032
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
1033
+ height: 0;
1075
1034
  }
1076
1035
 
1077
1036
  .pagination-container[data-v-47d35e7b] {
@@ -1082,6 +1041,24 @@ video {
1082
1041
  display: none;
1083
1042
  }
1084
1043
 
1044
+ .gm-number-interval-single[data-v-4e6f4d6f] {
1045
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
1046
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
1047
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
1048
+ }
1049
+ .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
1050
+ box-shadow: none;
1051
+ background: none;
1052
+ }
1053
+
1054
+ .gm-number-interval-close[data-v-4e6f4d6f] {
1055
+ display: none;
1056
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1057
+ }
1058
+
1059
+ .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1060
+ display: flex;
1061
+ }
1085
1062
  @charset "UTF-8";
1086
1063
  .custom-operate-drawer .el-drawer__header {
1087
1064
  padding: 10px 15px;
@@ -1138,6 +1115,29 @@ video {
1138
1115
  border-radius: 10px;
1139
1116
  background: #eee;
1140
1117
  }
1118
+ [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
1119
+ border-right: none;
1120
+ }
1121
+
1122
+ [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
1123
+ height: 0;
1124
+ }
1125
+
1126
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1127
+ height: 0;
1128
+ }
1129
+
1130
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
1131
+ height: 0;
1132
+ }
1133
+
1134
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
1135
+ height: 0;
1136
+ }
1137
+
1138
+ [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
1139
+ height: 0;
1140
+ }
1141
1141
  @charset "UTF-8";
1142
1142
  .table-custom-header-drawer .el-drawer__header {
1143
1143
  padding: 10px 15px;
@@ -1 +1 @@
1
- export declare const version = "0.7.0";
1
+ export declare const version = "0.7.1";
@@ -1,4 +1,4 @@
1
- const version = "0.6.45";
1
+ const version = "0.7.0";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.45';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.7.0';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
package/es/index.css CHANGED
@@ -873,11 +873,6 @@ video {
873
873
  .gm-group:hover .group-hover\:gm-block {
874
874
  display: block;
875
875
  }
876
-
877
- .gm-range-number .el-form-item[data-v-1ae16d96] {
878
- margin: 0;
879
- }
880
-
881
876
  .gm-flex-center[data-v-c17deec9] {
882
877
  align-items: center;
883
878
  }
@@ -885,193 +880,157 @@ video {
885
880
  .gm-flex-justify-between[data-v-c17deec9] {
886
881
  justify-content: space-between;
887
882
  }
888
- .gm-upload-pro-preview-dialog[data-v-c2c42dbb] [data-v-c2c42dbb] .el-dialog__body {
883
+ .gm-upload-preview-dialog[data-v-62eb3199] [data-v-62eb3199] .el-dialog__body {
889
884
  padding: 0;
890
885
  }
891
886
 
892
- .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload--picture-card {
887
+ .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload-list__item, .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload--picture-card {
893
888
  width: auto;
894
889
  height: auto;
895
890
  }
896
- .gm-upload-pro-file {
891
+ .gm-upload-file {
897
892
  line-height: normal;
898
893
  }
899
- .gm-upload-pro-file .el-checkbox-group {
900
- font-size: unset;
901
- }
902
- .gm-upload-pro-file .el-checkbox {
894
+ .gm-upload-file .el-checkbox {
903
895
  position: absolute;
904
896
  left: 10px;
905
897
  top: 0;
906
898
  z-index: 9;
907
899
  }
908
- .gm-upload-pro-file .el-upload-list--picture-card {
900
+ .gm-upload-file .el-upload-list--picture-card {
909
901
  gap: 10px;
910
902
  }
911
- .gm-upload-pro-file .el-upload-list__item {
903
+ .gm-upload-file .el-upload-list__item {
912
904
  margin: 0;
913
905
  }
914
- .gm-upload-pro-file .el-upload-list__item-file-name {
915
- line-height: 1.7;
906
+ .gm-upload-file .el-upload-list__item-file-name {
907
+ line-height: normal;
916
908
  }
917
- .gm-upload-pro-file .el-upload-dragger {
909
+ .gm-upload-file .el-upload-dragger {
918
910
  padding: 0;
919
911
  border: none;
920
912
  width: 100%;
921
913
  height: 100%;
922
914
  display: flex;
923
915
  }
924
- .gm-upload-pro-file .el-upload--picture-card {
916
+ .gm-upload-file .el-upload--picture-card {
925
917
  border: none;
926
918
  }
927
919
 
928
- .gm-upload-pro-file-disabled .el-upload--picture-card {
920
+ .gm-upload-file-disabled .el-upload--picture-card {
929
921
  display: none;
930
922
  }
931
- .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
923
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
932
924
  display: none;
933
925
  }
934
- [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
935
- border-right: none;
936
- }
937
-
938
- [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
939
- height: 0;
940
- }
941
-
942
- [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
943
- height: 0;
944
- }
945
-
946
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
947
- height: 0;
926
+ .circular[data-v-d7b04fae] {
927
+ animation: loading-rotate-d7b04fae 2s linear infinite;
948
928
  }
949
929
 
950
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
951
- height: 0;
930
+ .path[data-v-d7b04fae] {
931
+ animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
932
+ stroke-dasharray: 90, 150;
933
+ stroke-dashoffset: 0;
934
+ stroke: var(--el-color-primary);
935
+ stroke-linecap: round;
952
936
  }
953
937
 
954
- [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
955
- height: 0;
956
- }
957
- [data-v-488ca110] .gmSearchForm .el-form-item {
958
- margin-right: 0;
959
- margin-bottom: 4px;
960
- }
961
- .gm-number-interval-single[data-v-4e6f4d6f] {
962
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
963
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
964
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
938
+ @keyframes loading-rotate-d7b04fae {
939
+ to {
940
+ transform: rotate(360deg);
941
+ }
965
942
  }
966
- .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
967
- box-shadow: none;
968
- background: none;
943
+ @keyframes loading-dash-d7b04fae {
944
+ 0% {
945
+ stroke-dasharray: 1, 200;
946
+ stroke-dashoffset: 0;
947
+ }
948
+ 50% {
949
+ stroke-dasharray: 90, 150;
950
+ stroke-dashoffset: -40px;
951
+ }
952
+ 100% {
953
+ stroke-dasharray: 90, 150;
954
+ stroke-dashoffset: -120px;
955
+ }
969
956
  }
970
957
 
971
- .gm-number-interval-close[data-v-4e6f4d6f] {
972
- display: none;
973
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
958
+ .gm-range-number .el-form-item[data-v-1ae16d96] {
959
+ margin: 0;
974
960
  }
975
961
 
976
- .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
977
- display: flex;
978
- }
979
- .gm-upload-preview-dialog[data-v-62eb3199] [data-v-62eb3199] .el-dialog__body {
962
+ .gm-upload-pro-preview-dialog[data-v-c2c42dbb] [data-v-c2c42dbb] .el-dialog__body {
980
963
  padding: 0;
981
964
  }
982
965
 
983
- .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload-list__item, .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload--picture-card {
966
+ .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload--picture-card {
984
967
  width: auto;
985
968
  height: auto;
986
969
  }
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;
1005
- }
1006
-
1007
- [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
1008
- height: 0;
1009
- }
1010
- .gm-upload-file {
970
+ .gm-upload-pro-file {
1011
971
  line-height: normal;
1012
972
  }
1013
- .gm-upload-file .el-checkbox {
973
+ .gm-upload-pro-file .el-checkbox-group {
974
+ font-size: unset;
975
+ }
976
+ .gm-upload-pro-file .el-checkbox {
1014
977
  position: absolute;
1015
978
  left: 10px;
1016
979
  top: 0;
1017
980
  z-index: 9;
1018
981
  }
1019
- .gm-upload-file .el-upload-list--picture-card {
982
+ .gm-upload-pro-file .el-upload-list--picture-card {
1020
983
  gap: 10px;
1021
984
  }
1022
- .gm-upload-file .el-upload-list__item {
985
+ .gm-upload-pro-file .el-upload-list__item {
1023
986
  margin: 0;
1024
987
  }
1025
- .gm-upload-file .el-upload-list__item-file-name {
1026
- line-height: normal;
988
+ .gm-upload-pro-file .el-upload-list__item-file-name {
989
+ line-height: 1.7;
1027
990
  }
1028
- .gm-upload-file .el-upload-dragger {
991
+ .gm-upload-pro-file .el-upload-dragger {
1029
992
  padding: 0;
1030
993
  border: none;
1031
994
  width: 100%;
1032
995
  height: 100%;
1033
996
  display: flex;
1034
997
  }
1035
- .gm-upload-file .el-upload--picture-card {
998
+ .gm-upload-pro-file .el-upload--picture-card {
1036
999
  border: none;
1037
1000
  }
1038
1001
 
1039
- .gm-upload-file-disabled .el-upload--picture-card {
1002
+ .gm-upload-pro-file-disabled .el-upload--picture-card {
1040
1003
  display: none;
1041
1004
  }
1042
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1005
+ .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1043
1006
  display: none;
1044
1007
  }
1045
- .circular[data-v-d7b04fae] {
1046
- animation: loading-rotate-d7b04fae 2s linear infinite;
1008
+ [data-v-488ca110] .gmSearchForm .el-form-item {
1009
+ margin-right: 0;
1010
+ margin-bottom: 4px;
1011
+ }
1012
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
1013
+ border-right: none;
1047
1014
  }
1048
1015
 
1049
- .path[data-v-d7b04fae] {
1050
- animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
1051
- stroke-dasharray: 90, 150;
1052
- stroke-dashoffset: 0;
1053
- stroke: var(--el-color-primary);
1054
- stroke-linecap: round;
1016
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
1017
+ height: 0;
1055
1018
  }
1056
1019
 
1057
- @keyframes loading-rotate-d7b04fae {
1058
- to {
1059
- transform: rotate(360deg);
1060
- }
1020
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1021
+ height: 0;
1061
1022
  }
1062
- @keyframes loading-dash-d7b04fae {
1063
- 0% {
1064
- stroke-dasharray: 1, 200;
1065
- stroke-dashoffset: 0;
1066
- }
1067
- 50% {
1068
- stroke-dasharray: 90, 150;
1069
- stroke-dashoffset: -40px;
1070
- }
1071
- 100% {
1072
- stroke-dasharray: 90, 150;
1073
- stroke-dashoffset: -120px;
1074
- }
1023
+
1024
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
1025
+ height: 0;
1026
+ }
1027
+
1028
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
1029
+ height: 0;
1030
+ }
1031
+
1032
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
1033
+ height: 0;
1075
1034
  }
1076
1035
 
1077
1036
  .pagination-container[data-v-47d35e7b] {
@@ -1082,6 +1041,24 @@ video {
1082
1041
  display: none;
1083
1042
  }
1084
1043
 
1044
+ .gm-number-interval-single[data-v-4e6f4d6f] {
1045
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
1046
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
1047
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
1048
+ }
1049
+ .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
1050
+ box-shadow: none;
1051
+ background: none;
1052
+ }
1053
+
1054
+ .gm-number-interval-close[data-v-4e6f4d6f] {
1055
+ display: none;
1056
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1057
+ }
1058
+
1059
+ .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1060
+ display: flex;
1061
+ }
1085
1062
  @charset "UTF-8";
1086
1063
  .custom-operate-drawer .el-drawer__header {
1087
1064
  padding: 10px 15px;
@@ -1138,6 +1115,29 @@ video {
1138
1115
  border-radius: 10px;
1139
1116
  background: #eee;
1140
1117
  }
1118
+ [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
1119
+ border-right: none;
1120
+ }
1121
+
1122
+ [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
1123
+ height: 0;
1124
+ }
1125
+
1126
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1127
+ height: 0;
1128
+ }
1129
+
1130
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
1131
+ height: 0;
1132
+ }
1133
+
1134
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
1135
+ height: 0;
1136
+ }
1137
+
1138
+ [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
1139
+ height: 0;
1140
+ }
1141
1141
  @charset "UTF-8";
1142
1142
  .table-custom-header-drawer .el-drawer__header {
1143
1143
  padding: 10px 15px;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * 获取当前页面的域
3
3
  * @example https://www.baidu.com/s?wd=hello&ie=utf-8 => .baidu.com
4
+ * @example https://127.0.0.1:5000/dashboard => 127.0.0.1
5
+ * @example http://localhost:3000/test => localhost
4
6
  */
5
7
  export declare function getDomain(): string | undefined;
6
8
  /**
@@ -8,5 +10,6 @@ export declare function getDomain(): string | undefined;
8
10
  * @param {...string[]} parts 路径片段
9
11
  * @returns {string}
10
12
  * @example urlJoin('https://www.baidu.com', 's', 'wd=hello') => https://www.baidu.com/s/wd=hello
13
+ * @example urlJoin('/', 'ai/copywriting/gen') => /ai/copywriting/gen
11
14
  */
12
15
  export declare function urlJoin(...parts: string[]): string;
@@ -4,14 +4,18 @@ function getDomain() {
4
4
  const match = url.match(domainPattern);
5
5
  if (match) {
6
6
  const domain = match[1];
7
- if (/^(localhost|(\d{1,3}\.){3}\d{1,3})$/.test(domain)) {
8
- return void 0;
7
+ const domainWithoutPort = domain.split(":")[0];
8
+ if (/^(\d{1,3}\.){3}\d{1,3}$/.test(domainWithoutPort)) {
9
+ return domainWithoutPort;
9
10
  }
10
- const domainParts = domain.split(".");
11
+ if (domainWithoutPort === "localhost") {
12
+ return "localhost";
13
+ }
14
+ const domainParts = domainWithoutPort.split(".");
11
15
  if (domainParts.length > 2) {
12
16
  return `.${domainParts.slice(-2).join(".")}`;
13
17
  } else {
14
- return `.${domain}`;
18
+ return `.${domainWithoutPort}`;
15
19
  }
16
20
  }
17
21
  return void 0;
@@ -21,13 +25,17 @@ function urlJoin(...parts) {
21
25
  return "";
22
26
  if (parts.length === 1)
23
27
  return parts[0];
24
- return parts.map((part, i) => {
25
- if (i === 0)
28
+ const result = parts.map((part, i) => {
29
+ if (i === 0) {
30
+ if (part === "/")
31
+ return "";
26
32
  return part.replace(/\/+$/, "");
33
+ }
27
34
  if (i === parts.length - 1)
28
35
  return part.replace(/^\/+/, "");
29
36
  return part.replace(/^\/+|\/+$/g, "");
30
37
  }).filter(Boolean).join("/");
38
+ return parts[0] === "/" ? "/" + result : result;
31
39
  }
32
40
 
33
41
  export { getDomain, urlJoin };
@@ -1 +1 @@
1
- {"version":3,"file":"url.mjs","sources":["../../../../../../packages/utils/src/http/url.ts"],"sourcesContent":["/**\n * 获取当前页面的域\n * @example https://www.baidu.com/s?wd=hello&ie=utf-8 => .baidu.com\n */\nexport function getDomain() {\n const url = window.location.href;\n // eslint-disable-next-line no-useless-escape\n const domainPattern = /https?:\\/\\/([^\\/]+)/;\n const match = url.match(domainPattern);\n\n if (match) {\n const domain = match[1];\n // 检查是否是IP地址或localhost\n if (/^(localhost|(\\d{1,3}\\.){3}\\d{1,3})$/.test(domain)) {\n return undefined;\n }\n\n // 提取主域名部分\n const domainParts = domain.split('.');\n if (domainParts.length > 2) {\n return `.${domainParts.slice(-2).join('.')}`;\n } else {\n return `.${domain}`;\n }\n }\n\n return undefined;\n}\n\n// // 使用示例\n// console.log(getDomain());\n/**\n * 拼接 url 路径,自动处理多余的 /\n * @param {...string[]} parts 路径片段\n * @returns {string}\n * @example urlJoin('https://www.baidu.com', 's', 'wd=hello') => https://www.baidu.com/s/wd=hello\n */\nexport function urlJoin(...parts: string[]): string {\n if (parts.length === 0) return '';\n if (parts.length === 1) return parts[0];\n\n return parts\n .map((part, i) => {\n if (i === 0) return part.replace(/\\/+$/, ''); // 第一个去掉结尾/\n if (i === parts.length - 1) return part.replace(/^\\/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,EAAE,CAAA,CAAA;AAC3C,IAAI,IAAA,CAAA,KAAM,MAAM,MAAS,GAAA,CAAA;AAAG,MAAO,OAAA,IAAA,CAAK,OAAQ,CAAA,MAAA,EAAQ,EAAE,CAAA,CAAA;AAE1D,IAAO,OAAA,IAAA,CAAK,OAAQ,CAAA,YAAA,EAAc,EAAE,CAAA,CAAA;AAAA,GACrC,CACA,CAAA,MAAA,CAAO,OAAO,CAAA,CACd,KAAK,GAAG,CAAA,CAAA;AACb;;;;"}
1
+ {"version":3,"file":"url.mjs","sources":["../../../../../../packages/utils/src/http/url.ts"],"sourcesContent":["/**\n * 获取当前页面的域\n * @example https://www.baidu.com/s?wd=hello&ie=utf-8 => .baidu.com\n * @example https://127.0.0.1:5000/dashboard => 127.0.0.1\n * @example http://localhost:3000/test => localhost\n */\nexport function getDomain() {\n const url = window.location.href;\n // eslint-disable-next-line no-useless-escape\n const domainPattern = /https?:\\/\\/([^\\/]+)/;\n const match = url.match(domainPattern);\n\n if (match) {\n const domain = match[1];\n // 去除端口号,只保留域名或IP部分\n const domainWithoutPort = domain.split(':')[0];\n\n // 检查是否是IP地址,如果是则直接返回IP\n if (/^(\\d{1,3}\\.){3}\\d{1,3}$/.test(domainWithoutPort)) {\n return domainWithoutPort;\n }\n\n // 检查是否是localhost,如果是则直接返回localhost\n if (domainWithoutPort === 'localhost') {\n return 'localhost';\n }\n\n // 提取主域名部分(对于真实域名,返回 .domain.com 格式)\n const domainParts = domainWithoutPort.split('.');\n if (domainParts.length > 2) {\n return `.${domainParts.slice(-2).join('.')}`;\n } else {\n return `.${domainWithoutPort}`;\n }\n }\n\n return undefined;\n}\n\n// // 使用示例\n// console.log(getDomain());\n/**\n * 拼接 url 路径,自动处理多余的 /\n * @param {...string[]} parts 路径片段\n * @returns {string}\n * @example urlJoin('https://www.baidu.com', 's', 'wd=hello') => https://www.baidu.com/s/wd=hello\n * @example urlJoin('/', 'ai/copywriting/gen') => /ai/copywriting/gen\n */\nexport function urlJoin(...parts: string[]): string {\n if (parts.length === 0) return '';\n if (parts.length === 1) return parts[0];\n\n const result = parts\n .map((part, i) => {\n if (i === 0) {\n // 对于第一个参数,如果只是 '/',保留为空但记住它\n if (part === '/') return '';\n return part.replace(/\\/+$/, ''); // 否则去掉结尾/\n }\n if (i === parts.length - 1) return part.replace(/^\\/+/, ''); // 最后一个去掉开头/\n\n return part.replace(/^\\/+|\\/+$/g, ''); // 中间的去掉头尾/\n })\n .filter(Boolean)\n .join('/');\n\n // 如果第一个参数是 '/',在结果前加上 '/'\n return parts[0] === '/' ? '/' + result : result;\n}\n"],"names":[],"mappings":"AAMO,SAAS,SAAY,GAAA;AAC1B,EAAM,MAAA,GAAA,GAAM,OAAO,QAAS,CAAA,IAAA,CAAA;AAE5B,EAAA,MAAM,aAAgB,GAAA,qBAAA,CAAA;AACtB,EAAM,MAAA,KAAA,GAAQ,GAAI,CAAA,KAAA,CAAM,aAAa,CAAA,CAAA;AAErC,EAAA,IAAI,KAAO,EAAA;AACT,IAAM,MAAA,MAAA,GAAS,MAAM,CAAC,CAAA,CAAA;AAEtB,IAAA,MAAM,iBAAoB,GAAA,MAAA,CAAO,KAAM,CAAA,GAAG,EAAE,CAAC,CAAA,CAAA;AAG7C,IAAI,IAAA,yBAAA,CAA0B,IAAK,CAAA,iBAAiB,CAAG,EAAA;AACrD,MAAO,OAAA,iBAAA,CAAA;AAAA,KACT;AAGA,IAAA,IAAI,sBAAsB,WAAa,EAAA;AACrC,MAAO,OAAA,WAAA,CAAA;AAAA,KACT;AAGA,IAAM,MAAA,WAAA,GAAc,iBAAkB,CAAA,KAAA,CAAM,GAAG,CAAA,CAAA;AAC/C,IAAI,IAAA,WAAA,CAAY,SAAS,CAAG,EAAA;AAC1B,MAAA,OAAO,IAAI,WAAY,CAAA,KAAA,CAAM,EAAE,CAAE,CAAA,IAAA,CAAK,GAAG,CAAC,CAAA,CAAA,CAAA;AAAA,KACrC,MAAA;AACL,MAAA,OAAO,IAAI,iBAAiB,CAAA,CAAA,CAAA;AAAA,KAC9B;AAAA,GACF;AAEA,EAAO,OAAA,KAAA,CAAA,CAAA;AACT,CAAA;AAWO,SAAS,WAAW,KAAyB,EAAA;AAClD,EAAA,IAAI,MAAM,MAAW,KAAA,CAAA;AAAG,IAAO,OAAA,EAAA,CAAA;AAC/B,EAAA,IAAI,MAAM,MAAW,KAAA,CAAA;AAAG,IAAA,OAAO,MAAM,CAAC,CAAA,CAAA;AAEtC,EAAA,MAAM,MAAS,GAAA,KAAA,CACZ,GAAI,CAAA,CAAC,MAAM,CAAM,KAAA;AAChB,IAAA,IAAI,MAAM,CAAG,EAAA;AAEX,MAAA,IAAI,IAAS,KAAA,GAAA;AAAK,QAAO,OAAA,EAAA,CAAA;AACzB,MAAO,OAAA,IAAA,CAAK,OAAQ,CAAA,MAAA,EAAQ,EAAE,CAAA,CAAA;AAAA,KAChC;AACA,IAAI,IAAA,CAAA,KAAM,MAAM,MAAS,GAAA,CAAA;AAAG,MAAO,OAAA,IAAA,CAAK,OAAQ,CAAA,MAAA,EAAQ,EAAE,CAAA,CAAA;AAE1D,IAAO,OAAA,IAAA,CAAK,OAAQ,CAAA,YAAA,EAAc,EAAE,CAAA,CAAA;AAAA,GACrC,CACA,CAAA,MAAA,CAAO,OAAO,CAAA,CACd,KAAK,GAAG,CAAA,CAAA;AAGX,EAAA,OAAO,KAAM,CAAA,CAAC,CAAM,KAAA,GAAA,GAAM,MAAM,MAAS,GAAA,MAAA,CAAA;AAC3C;;;;"}
@@ -1 +1 @@
1
- export declare const version = "0.7.0";
1
+ export declare const version = "0.7.1";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const version = "0.6.45";
3
+ const version = "0.7.0";
4
4
 
5
5
  exports.version = version;
6
6
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.45';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
1
+ {"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.7.0';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
package/lib/index.css CHANGED
@@ -873,11 +873,6 @@ video {
873
873
  .gm-group:hover .group-hover\:gm-block {
874
874
  display: block;
875
875
  }
876
-
877
- .gm-range-number .el-form-item[data-v-1ae16d96] {
878
- margin: 0;
879
- }
880
-
881
876
  .gm-flex-center[data-v-c17deec9] {
882
877
  align-items: center;
883
878
  }
@@ -885,193 +880,157 @@ video {
885
880
  .gm-flex-justify-between[data-v-c17deec9] {
886
881
  justify-content: space-between;
887
882
  }
888
- .gm-upload-pro-preview-dialog[data-v-c2c42dbb] [data-v-c2c42dbb] .el-dialog__body {
883
+ .gm-upload-preview-dialog[data-v-62eb3199] [data-v-62eb3199] .el-dialog__body {
889
884
  padding: 0;
890
885
  }
891
886
 
892
- .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload--picture-card {
887
+ .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload-list__item, .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload--picture-card {
893
888
  width: auto;
894
889
  height: auto;
895
890
  }
896
- .gm-upload-pro-file {
891
+ .gm-upload-file {
897
892
  line-height: normal;
898
893
  }
899
- .gm-upload-pro-file .el-checkbox-group {
900
- font-size: unset;
901
- }
902
- .gm-upload-pro-file .el-checkbox {
894
+ .gm-upload-file .el-checkbox {
903
895
  position: absolute;
904
896
  left: 10px;
905
897
  top: 0;
906
898
  z-index: 9;
907
899
  }
908
- .gm-upload-pro-file .el-upload-list--picture-card {
900
+ .gm-upload-file .el-upload-list--picture-card {
909
901
  gap: 10px;
910
902
  }
911
- .gm-upload-pro-file .el-upload-list__item {
903
+ .gm-upload-file .el-upload-list__item {
912
904
  margin: 0;
913
905
  }
914
- .gm-upload-pro-file .el-upload-list__item-file-name {
915
- line-height: 1.7;
906
+ .gm-upload-file .el-upload-list__item-file-name {
907
+ line-height: normal;
916
908
  }
917
- .gm-upload-pro-file .el-upload-dragger {
909
+ .gm-upload-file .el-upload-dragger {
918
910
  padding: 0;
919
911
  border: none;
920
912
  width: 100%;
921
913
  height: 100%;
922
914
  display: flex;
923
915
  }
924
- .gm-upload-pro-file .el-upload--picture-card {
916
+ .gm-upload-file .el-upload--picture-card {
925
917
  border: none;
926
918
  }
927
919
 
928
- .gm-upload-pro-file-disabled .el-upload--picture-card {
920
+ .gm-upload-file-disabled .el-upload--picture-card {
929
921
  display: none;
930
922
  }
931
- .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
923
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
932
924
  display: none;
933
925
  }
934
- [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
935
- border-right: none;
936
- }
937
-
938
- [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
939
- height: 0;
940
- }
941
-
942
- [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
943
- height: 0;
944
- }
945
-
946
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
947
- height: 0;
926
+ .circular[data-v-d7b04fae] {
927
+ animation: loading-rotate-d7b04fae 2s linear infinite;
948
928
  }
949
929
 
950
- [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
951
- height: 0;
930
+ .path[data-v-d7b04fae] {
931
+ animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
932
+ stroke-dasharray: 90, 150;
933
+ stroke-dashoffset: 0;
934
+ stroke: var(--el-color-primary);
935
+ stroke-linecap: round;
952
936
  }
953
937
 
954
- [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
955
- height: 0;
956
- }
957
- [data-v-488ca110] .gmSearchForm .el-form-item {
958
- margin-right: 0;
959
- margin-bottom: 4px;
960
- }
961
- .gm-number-interval-single[data-v-4e6f4d6f] {
962
- border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
963
- box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
964
- background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
938
+ @keyframes loading-rotate-d7b04fae {
939
+ to {
940
+ transform: rotate(360deg);
941
+ }
965
942
  }
966
- .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
967
- box-shadow: none;
968
- background: none;
943
+ @keyframes loading-dash-d7b04fae {
944
+ 0% {
945
+ stroke-dasharray: 1, 200;
946
+ stroke-dashoffset: 0;
947
+ }
948
+ 50% {
949
+ stroke-dasharray: 90, 150;
950
+ stroke-dashoffset: -40px;
951
+ }
952
+ 100% {
953
+ stroke-dasharray: 90, 150;
954
+ stroke-dashoffset: -120px;
955
+ }
969
956
  }
970
957
 
971
- .gm-number-interval-close[data-v-4e6f4d6f] {
972
- display: none;
973
- color: var(--el-input-icon-color, var(--el-text-color-placeholder));
958
+ .gm-range-number .el-form-item[data-v-1ae16d96] {
959
+ margin: 0;
974
960
  }
975
961
 
976
- .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
977
- display: flex;
978
- }
979
- .gm-upload-preview-dialog[data-v-62eb3199] [data-v-62eb3199] .el-dialog__body {
962
+ .gm-upload-pro-preview-dialog[data-v-c2c42dbb] [data-v-c2c42dbb] .el-dialog__body {
980
963
  padding: 0;
981
964
  }
982
965
 
983
- .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload-list__item, .gm-upload-file-picture-card[data-v-62eb3199] [data-v-62eb3199] .el-upload--picture-card {
966
+ .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-c2c42dbb] [data-v-c2c42dbb] .el-upload--picture-card {
984
967
  width: auto;
985
968
  height: auto;
986
969
  }
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;
1005
- }
1006
-
1007
- [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
1008
- height: 0;
1009
- }
1010
- .gm-upload-file {
970
+ .gm-upload-pro-file {
1011
971
  line-height: normal;
1012
972
  }
1013
- .gm-upload-file .el-checkbox {
973
+ .gm-upload-pro-file .el-checkbox-group {
974
+ font-size: unset;
975
+ }
976
+ .gm-upload-pro-file .el-checkbox {
1014
977
  position: absolute;
1015
978
  left: 10px;
1016
979
  top: 0;
1017
980
  z-index: 9;
1018
981
  }
1019
- .gm-upload-file .el-upload-list--picture-card {
982
+ .gm-upload-pro-file .el-upload-list--picture-card {
1020
983
  gap: 10px;
1021
984
  }
1022
- .gm-upload-file .el-upload-list__item {
985
+ .gm-upload-pro-file .el-upload-list__item {
1023
986
  margin: 0;
1024
987
  }
1025
- .gm-upload-file .el-upload-list__item-file-name {
1026
- line-height: normal;
988
+ .gm-upload-pro-file .el-upload-list__item-file-name {
989
+ line-height: 1.7;
1027
990
  }
1028
- .gm-upload-file .el-upload-dragger {
991
+ .gm-upload-pro-file .el-upload-dragger {
1029
992
  padding: 0;
1030
993
  border: none;
1031
994
  width: 100%;
1032
995
  height: 100%;
1033
996
  display: flex;
1034
997
  }
1035
- .gm-upload-file .el-upload--picture-card {
998
+ .gm-upload-pro-file .el-upload--picture-card {
1036
999
  border: none;
1037
1000
  }
1038
1001
 
1039
- .gm-upload-file-disabled .el-upload--picture-card {
1002
+ .gm-upload-pro-file-disabled .el-upload--picture-card {
1040
1003
  display: none;
1041
1004
  }
1042
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1005
+ .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1043
1006
  display: none;
1044
1007
  }
1045
- .circular[data-v-d7b04fae] {
1046
- animation: loading-rotate-d7b04fae 2s linear infinite;
1008
+ [data-v-488ca110] .gmSearchForm .el-form-item {
1009
+ margin-right: 0;
1010
+ margin-bottom: 4px;
1011
+ }
1012
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__body .el-table__cell {
1013
+ border-right: none;
1047
1014
  }
1048
1015
 
1049
- .path[data-v-d7b04fae] {
1050
- animation: loading-dash-d7b04fae 1.5s ease-in-out infinite;
1051
- stroke-dasharray: 90, 150;
1052
- stroke-dashoffset: 0;
1053
- stroke: var(--el-color-primary);
1054
- stroke-linecap: round;
1016
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__inner-wrapper:before {
1017
+ height: 0;
1055
1018
  }
1056
1019
 
1057
- @keyframes loading-rotate-d7b04fae {
1058
- to {
1059
- transform: rotate(360deg);
1060
- }
1020
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1021
+ height: 0;
1061
1022
  }
1062
- @keyframes loading-dash-d7b04fae {
1063
- 0% {
1064
- stroke-dasharray: 1, 200;
1065
- stroke-dashoffset: 0;
1066
- }
1067
- 50% {
1068
- stroke-dasharray: 90, 150;
1069
- stroke-dashoffset: -40px;
1070
- }
1071
- 100% {
1072
- stroke-dasharray: 90, 150;
1073
- stroke-dashoffset: -120px;
1074
- }
1023
+
1024
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border:after {
1025
+ height: 0;
1026
+ }
1027
+
1028
+ [data-v-2c351ff8] .gmTableNoBorder.el-table--border:before {
1029
+ height: 0;
1030
+ }
1031
+
1032
+ [data-v-2c351ff8] .gmTableNoBorder .el-table__border-left-patch {
1033
+ height: 0;
1075
1034
  }
1076
1035
 
1077
1036
  .pagination-container[data-v-47d35e7b] {
@@ -1082,6 +1041,24 @@ video {
1082
1041
  display: none;
1083
1042
  }
1084
1043
 
1044
+ .gm-number-interval-single[data-v-4e6f4d6f] {
1045
+ border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
1046
+ box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
1047
+ background-color: var(--el-input-bg-color, var(--el-fill-color-blank));
1048
+ }
1049
+ .gm-number-interval-single[data-v-4e6f4d6f] [data-v-4e6f4d6f] .el-input__wrapper {
1050
+ box-shadow: none;
1051
+ background: none;
1052
+ }
1053
+
1054
+ .gm-number-interval-close[data-v-4e6f4d6f] {
1055
+ display: none;
1056
+ color: var(--el-input-icon-color, var(--el-text-color-placeholder));
1057
+ }
1058
+
1059
+ .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
1060
+ display: flex;
1061
+ }
1085
1062
  @charset "UTF-8";
1086
1063
  .custom-operate-drawer .el-drawer__header {
1087
1064
  padding: 10px 15px;
@@ -1138,6 +1115,29 @@ video {
1138
1115
  border-radius: 10px;
1139
1116
  background: #eee;
1140
1117
  }
1118
+ [data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
1119
+ border-right: none;
1120
+ }
1121
+
1122
+ [data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
1123
+ height: 0;
1124
+ }
1125
+
1126
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
1127
+ height: 0;
1128
+ }
1129
+
1130
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
1131
+ height: 0;
1132
+ }
1133
+
1134
+ [data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
1135
+ height: 0;
1136
+ }
1137
+
1138
+ [data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
1139
+ height: 0;
1140
+ }
1141
1141
  @charset "UTF-8";
1142
1142
  .table-custom-header-drawer .el-drawer__header {
1143
1143
  padding: 10px 15px;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,6 +1,8 @@
1
1
  /**
2
2
  * 获取当前页面的域
3
3
  * @example https://www.baidu.com/s?wd=hello&ie=utf-8 => .baidu.com
4
+ * @example https://127.0.0.1:5000/dashboard => 127.0.0.1
5
+ * @example http://localhost:3000/test => localhost
4
6
  */
5
7
  export declare function getDomain(): string | undefined;
6
8
  /**
@@ -8,5 +10,6 @@ export declare function getDomain(): string | undefined;
8
10
  * @param {...string[]} parts 路径片段
9
11
  * @returns {string}
10
12
  * @example urlJoin('https://www.baidu.com', 's', 'wd=hello') => https://www.baidu.com/s/wd=hello
13
+ * @example urlJoin('/', 'ai/copywriting/gen') => /ai/copywriting/gen
11
14
  */
12
15
  export declare function urlJoin(...parts: string[]): string;
@@ -6,14 +6,18 @@ function getDomain() {
6
6
  const match = url.match(domainPattern);
7
7
  if (match) {
8
8
  const domain = match[1];
9
- if (/^(localhost|(\d{1,3}\.){3}\d{1,3})$/.test(domain)) {
10
- return void 0;
9
+ const domainWithoutPort = domain.split(":")[0];
10
+ if (/^(\d{1,3}\.){3}\d{1,3}$/.test(domainWithoutPort)) {
11
+ return domainWithoutPort;
11
12
  }
12
- const domainParts = domain.split(".");
13
+ if (domainWithoutPort === "localhost") {
14
+ return "localhost";
15
+ }
16
+ const domainParts = domainWithoutPort.split(".");
13
17
  if (domainParts.length > 2) {
14
18
  return `.${domainParts.slice(-2).join(".")}`;
15
19
  } else {
16
- return `.${domain}`;
20
+ return `.${domainWithoutPort}`;
17
21
  }
18
22
  }
19
23
  return void 0;
@@ -23,13 +27,17 @@ function urlJoin(...parts) {
23
27
  return "";
24
28
  if (parts.length === 1)
25
29
  return parts[0];
26
- return parts.map((part, i) => {
27
- if (i === 0)
30
+ const result = parts.map((part, i) => {
31
+ if (i === 0) {
32
+ if (part === "/")
33
+ return "";
28
34
  return part.replace(/\/+$/, "");
35
+ }
29
36
  if (i === parts.length - 1)
30
37
  return part.replace(/^\/+/, "");
31
38
  return part.replace(/^\/+|\/+$/g, "");
32
39
  }).filter(Boolean).join("/");
40
+ return parts[0] === "/" ? "/" + result : result;
33
41
  }
34
42
 
35
43
  exports.getDomain = getDomain;
@@ -1 +1 @@
1
- {"version":3,"file":"url.js","sources":["../../../../../../packages/utils/src/http/url.ts"],"sourcesContent":["/**\n * 获取当前页面的域\n * @example https://www.baidu.com/s?wd=hello&ie=utf-8 => .baidu.com\n */\nexport function getDomain() {\n const url = window.location.href;\n // eslint-disable-next-line no-useless-escape\n const domainPattern = /https?:\\/\\/([^\\/]+)/;\n const match = url.match(domainPattern);\n\n if (match) {\n const domain = match[1];\n // 检查是否是IP地址或localhost\n if (/^(localhost|(\\d{1,3}\\.){3}\\d{1,3})$/.test(domain)) {\n return undefined;\n }\n\n // 提取主域名部分\n const domainParts = domain.split('.');\n if (domainParts.length > 2) {\n return `.${domainParts.slice(-2).join('.')}`;\n } else {\n return `.${domain}`;\n }\n }\n\n return undefined;\n}\n\n// // 使用示例\n// console.log(getDomain());\n/**\n * 拼接 url 路径,自动处理多余的 /\n * @param {...string[]} parts 路径片段\n * @returns {string}\n * @example urlJoin('https://www.baidu.com', 's', 'wd=hello') => https://www.baidu.com/s/wd=hello\n */\nexport function urlJoin(...parts: string[]): string {\n if (parts.length === 0) return '';\n if (parts.length === 1) return parts[0];\n\n return parts\n .map((part, i) => {\n if (i === 0) return part.replace(/\\/+$/, ''); // 第一个去掉结尾/\n if (i === parts.length - 1) return part.replace(/^\\/+/, ''); // 最后一个去掉开头/\n\n return part.replace(/^\\/+|\\/+$/g, ''); // 中间的去掉头尾/\n })\n .filter(Boolean)\n .join('/');\n}\n"],"names":[],"mappings":";;AAIO,SAAS,SAAY,GAAA;AAC1B,EAAM,MAAA,GAAA,GAAM,OAAO,QAAS,CAAA,IAAA,CAAA;AAE5B,EAAA,MAAM,aAAgB,GAAA,qBAAA,CAAA;AACtB,EAAM,MAAA,KAAA,GAAQ,GAAI,CAAA,KAAA,C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A;AACb;;;;;"}
1
+ {"version":3,"file":"url.js","sources":["../../../../../../packages/utils/src/http/url.ts"],"sourcesContent":["/**\n * 获取当前页面的域\n * @example https://www.baidu.com/s?wd=hello&ie=utf-8 => .baidu.com\n * @example https://127.0.0.1:5000/dashboard => 127.0.0.1\n * @example http://localhost:3000/test => localhost\n */\nexport function getDomain() {\n const url = window.location.href;\n // eslint-disable-next-line no-useless-escape\n const domainPattern = /https?:\\/\\/([^\\/]+)/;\n const match = url.match(domainPattern);\n\n if (match) {\n const domain = match[1];\n // 去除端口号,只保留域名或IP部分\n const domainWithoutPort = domain.split(':')[0];\n\n // 检查是否是IP地址,如果是则直接返回IP\n if (/^(\\d{1,3}\\.){3}\\d{1,3}$/.test(domainWithoutPort)) {\n return domainWithoutPort;\n }\n\n // 检查是否是localhost,如果是则直接返回localhost\n if (domainWithoutPort === 'localhost') {\n return 'localhost';\n }\n\n // 提取主域名部分(对于真实域名,返回 .domain.com 格式)\n const domainParts = domainWithoutPort.split('.');\n if (domainParts.length > 2) {\n return `.${domainParts.slice(-2).join('.')}`;\n } else {\n return `.${domainWithoutPort}`;\n }\n }\n\n return undefined;\n}\n\n// // 使用示例\n// console.log(getDomain());\n/**\n * 拼接 url 路径,自动处理多余的 /\n * @param {...string[]} parts 路径片段\n * @returns {string}\n * @example urlJoin('https://www.baidu.com', 's', 'wd=hello') => https://www.baidu.com/s/wd=hello\n * @example urlJoin('/', 'ai/copywriting/gen') => /ai/copywriting/gen\n */\nexport function urlJoin(...parts: string[]): string {\n if (parts.length === 0) return '';\n if (parts.length === 1) return parts[0];\n\n const result = parts\n .map((part, i) => {\n if (i === 0) {\n // 对于第一个参数,如果只是 '/',保留为空但记住它\n if (part === '/') return '';\n return part.replace(/\\/+$/, ''); // 否则去掉结尾/\n }\n if (i === parts.length - 1) return part.replace(/^\\/+/, ''); // 最后一个去掉开头/\n\n return part.replace(/^\\/+|\\/+$/g, ''); // 中间的去掉头尾/\n })\n .filter(Boolean)\n .join('/');\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