giime 0.9.16-snapshot.2 → 0.9.16-snapshot.4

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
@@ -892,17 +892,6 @@ video {
892
892
  margin: 0;
893
893
  }
894
894
 
895
- .gm-flex-center[data-v-c17deec9] {
896
- align-items: center;
897
- }
898
-
899
- .gm-flex-justify-between[data-v-c17deec9] {
900
- justify-content: space-between;
901
- }
902
- [data-v-79615afd] .gmSearchForm .el-form-item {
903
- margin-right: 0;
904
- margin-bottom: 4px;
905
- }
906
895
  [data-v-3f2c8504] .gmTableNoBorder .el-table__body .el-table__cell {
907
896
  border-right: none;
908
897
  }
@@ -926,6 +915,10 @@ video {
926
915
  [data-v-3f2c8504] .gmTableNoBorder .el-table__border-left-patch {
927
916
  height: 0;
928
917
  }
918
+ [data-v-79615afd] .gmSearchForm .el-form-item {
919
+ margin-right: 0;
920
+ margin-bottom: 4px;
921
+ }
929
922
  [data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
930
923
  border-right: none;
931
924
  }
@@ -949,6 +942,50 @@ video {
949
942
  [data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
950
943
  height: 0;
951
944
  }
945
+ .gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
946
+ padding: 0;
947
+ }
948
+
949
+ .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 {
950
+ width: auto;
951
+ height: auto;
952
+ }
953
+ .gm-upload-file {
954
+ line-height: normal;
955
+ }
956
+ .gm-upload-file li > .el-checkbox {
957
+ position: absolute;
958
+ left: 10px;
959
+ top: 0;
960
+ z-index: 9;
961
+ }
962
+ .gm-upload-file .el-upload-list--picture-card {
963
+ gap: 10px;
964
+ }
965
+ .gm-upload-file .el-upload-list__item {
966
+ margin: 0;
967
+ border: none;
968
+ }
969
+ .gm-upload-file .el-upload-list__item-file-name {
970
+ line-height: normal;
971
+ }
972
+ .gm-upload-file .el-upload-dragger {
973
+ padding: 0;
974
+ border: none;
975
+ width: 100%;
976
+ height: 100%;
977
+ display: flex;
978
+ }
979
+ .gm-upload-file .el-upload--picture-card {
980
+ border: none;
981
+ }
982
+
983
+ .gm-upload-file-disabled .el-upload--picture-card {
984
+ display: none;
985
+ }
986
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
987
+ display: none;
988
+ }
952
989
  .circular[data-v-d7b04fae] {
953
990
  animation: loading-rotate-d7b04fae 2s linear infinite;
954
991
  }
@@ -980,6 +1017,14 @@ video {
980
1017
  stroke-dashoffset: -120px;
981
1018
  }
982
1019
  }
1020
+ .gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
1021
+ padding: 0;
1022
+ }
1023
+
1024
+ .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload--picture-card {
1025
+ width: auto;
1026
+ height: auto;
1027
+ }
983
1028
  .gm-number-interval-single[data-v-4e6f4d6f] {
984
1029
  border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
985
1030
  box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
@@ -998,14 +1043,6 @@ video {
998
1043
  .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
999
1044
  display: flex;
1000
1045
  }
1001
- .gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
1002
- padding: 0;
1003
- }
1004
-
1005
- .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload--picture-card {
1006
- width: auto;
1007
- height: auto;
1008
- }
1009
1046
  .gm-upload-pro-file {
1010
1047
  line-height: normal;
1011
1048
  }
@@ -1044,166 +1081,129 @@ video {
1044
1081
  .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1045
1082
  display: none;
1046
1083
  }
1047
- .gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
1048
- padding: 0;
1084
+ .gm-flex-center[data-v-c17deec9] {
1085
+ align-items: center;
1049
1086
  }
1050
1087
 
1051
- .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 {
1052
- width: auto;
1053
- height: auto;
1054
- }
1055
- .gm-upload-file {
1056
- line-height: normal;
1057
- }
1058
- .gm-upload-file li > .el-checkbox {
1059
- position: absolute;
1060
- left: 10px;
1061
- top: 0;
1062
- z-index: 9;
1063
- }
1064
- .gm-upload-file .el-upload-list--picture-card {
1065
- gap: 10px;
1066
- }
1067
- .gm-upload-file .el-upload-list__item {
1068
- margin: 0;
1069
- border: none;
1070
- }
1071
- .gm-upload-file .el-upload-list__item-file-name {
1072
- line-height: normal;
1073
- }
1074
- .gm-upload-file .el-upload-dragger {
1075
- padding: 0;
1076
- border: none;
1077
- width: 100%;
1078
- height: 100%;
1079
- display: flex;
1080
- }
1081
- .gm-upload-file .el-upload--picture-card {
1082
- border: none;
1088
+ .gm-flex-justify-between[data-v-c17deec9] {
1089
+ justify-content: space-between;
1083
1090
  }
1084
1091
 
1085
- .gm-upload-file-disabled .el-upload--picture-card {
1086
- display: none;
1092
+ .pagination-container[data-v-47d35e7b] {
1093
+ background: #fff;
1094
+ padding-top: 12px;
1087
1095
  }
1088
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1096
+ .pagination-container.hidden[data-v-47d35e7b] {
1089
1097
  display: none;
1090
1098
  }
1099
+
1091
1100
  @charset "UTF-8";
1092
- .table-custom-header-drawer .el-drawer__header {
1101
+ .custom-operate-drawer .el-drawer__header {
1093
1102
  padding: 10px 15px;
1094
1103
  margin: 0;
1095
1104
  border-bottom: 1px solid #ebeef5;
1096
1105
  }
1097
- .table-custom-header-drawer .el-drawer__title {
1106
+ .custom-operate-drawer .el-drawer__title {
1098
1107
  font-size: 14px;
1099
1108
  color: #333;
1100
1109
  }
1101
- .table-custom-header-drawer .el-drawer__body {
1110
+ .custom-operate-drawer .el-drawer__body {
1102
1111
  padding: 15px;
1103
1112
  }
1104
- .table-custom-header-drawer .el-drawer__footer {
1113
+ .custom-operate-drawer .el-drawer__footer {
1105
1114
  padding: 10px 15px;
1106
1115
  border-top: 1px solid #ebeef5;
1107
1116
  }
1108
- .table-custom-header-drawer .el-checkbox {
1117
+ .custom-operate-drawer .el-checkbox {
1109
1118
  display: flex;
1110
1119
  align-items: center;
1111
1120
  }
1112
- .table-custom-header-drawer .el-input__inner {
1121
+ .custom-operate-drawer .el-input__inner {
1113
1122
  text-align: center;
1114
1123
  }
1115
- .table-custom-header-drawer .el-input__suffix {
1124
+ .custom-operate-drawer .el-input__suffix {
1116
1125
  position: absolute;
1117
1126
  right: 10px;
1118
1127
  }
1119
- .table-custom-header-drawer .custom-content li {
1128
+ .custom-operate-drawer .custom-content li {
1120
1129
  display: flex;
1121
1130
  align-items: center;
1122
1131
  justify-content: center;
1123
1132
  height: 44px;
1124
1133
  }
1125
- .table-custom-header-drawer .custom-group {
1134
+ .custom-operate-drawer .custom-group {
1126
1135
  max-height: calc(100vh - 226px);
1127
1136
  overflow-y: auto;
1128
1137
  }
1129
- .table-custom-header-drawer .custom-group::-webkit-scrollbar {
1138
+ .custom-operate-drawer .custom-group::-webkit-scrollbar {
1130
1139
  /*滚动条整体样式*/
1131
1140
  width: 4px;
1132
1141
  /*高宽分别对应横竖滚动条的尺寸*/
1133
1142
  height: 1px;
1134
1143
  }
1135
- .table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
1144
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1136
1145
  /*滚动条里面小方块*/
1137
1146
  border-radius: 10px;
1138
1147
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1139
1148
  background: #999;
1140
1149
  }
1141
- .table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
1150
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1142
1151
  /*滚动条里面轨道*/
1143
1152
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1144
1153
  border-radius: 10px;
1145
1154
  background: #eee;
1146
1155
  }
1147
-
1148
- .pagination-container[data-v-47d35e7b] {
1149
- background: #fff;
1150
- padding-top: 12px;
1151
- }
1152
- .pagination-container.hidden[data-v-47d35e7b] {
1153
- display: none;
1154
- }
1155
-
1156
1156
  @charset "UTF-8";
1157
- .custom-operate-drawer .el-drawer__header {
1157
+ .table-custom-header-drawer .el-drawer__header {
1158
1158
  padding: 10px 15px;
1159
1159
  margin: 0;
1160
1160
  border-bottom: 1px solid #ebeef5;
1161
1161
  }
1162
- .custom-operate-drawer .el-drawer__title {
1162
+ .table-custom-header-drawer .el-drawer__title {
1163
1163
  font-size: 14px;
1164
1164
  color: #333;
1165
1165
  }
1166
- .custom-operate-drawer .el-drawer__body {
1166
+ .table-custom-header-drawer .el-drawer__body {
1167
1167
  padding: 15px;
1168
1168
  }
1169
- .custom-operate-drawer .el-drawer__footer {
1169
+ .table-custom-header-drawer .el-drawer__footer {
1170
1170
  padding: 10px 15px;
1171
1171
  border-top: 1px solid #ebeef5;
1172
1172
  }
1173
- .custom-operate-drawer .el-checkbox {
1173
+ .table-custom-header-drawer .el-checkbox {
1174
1174
  display: flex;
1175
1175
  align-items: center;
1176
1176
  }
1177
- .custom-operate-drawer .el-input__inner {
1177
+ .table-custom-header-drawer .el-input__inner {
1178
1178
  text-align: center;
1179
1179
  }
1180
- .custom-operate-drawer .el-input__suffix {
1180
+ .table-custom-header-drawer .el-input__suffix {
1181
1181
  position: absolute;
1182
1182
  right: 10px;
1183
1183
  }
1184
- .custom-operate-drawer .custom-content li {
1184
+ .table-custom-header-drawer .custom-content li {
1185
1185
  display: flex;
1186
1186
  align-items: center;
1187
1187
  justify-content: center;
1188
1188
  height: 44px;
1189
1189
  }
1190
- .custom-operate-drawer .custom-group {
1190
+ .table-custom-header-drawer .custom-group {
1191
1191
  max-height: calc(100vh - 226px);
1192
1192
  overflow-y: auto;
1193
1193
  }
1194
- .custom-operate-drawer .custom-group::-webkit-scrollbar {
1194
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar {
1195
1195
  /*滚动条整体样式*/
1196
1196
  width: 4px;
1197
1197
  /*高宽分别对应横竖滚动条的尺寸*/
1198
1198
  height: 1px;
1199
1199
  }
1200
- .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1200
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
1201
1201
  /*滚动条里面小方块*/
1202
1202
  border-radius: 10px;
1203
1203
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1204
1204
  background: #999;
1205
1205
  }
1206
- .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1206
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
1207
1207
  /*滚动条里面轨道*/
1208
1208
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1209
1209
  border-radius: 10px;
package/es/crx/index.d.ts CHANGED
@@ -19,3 +19,4 @@ export { installIntoGiimeApi } from './src/integrations/installIntoGiimeApi';
19
19
  export type { CreateCrxAxiosConfig, CreateCrxAxiosOptions } from './src/core/types';
20
20
  export type { CrxConfig } from './src/config/config';
21
21
  export type { GiimeMode, CrxEnvConfig } from './src/config/envMode';
22
+ export type { CrxHandledMarker } from './src/runtime/installRejectionFilter';
@@ -1 +1,2 @@
1
+ import '../runtime/installRejectionFilter';
1
2
  export declare const registerAxiosBridge: () => void;
@@ -1,2 +1,3 @@
1
+ import '../runtime/installRejectionFilter';
1
2
  import type { AxiosInstance } from 'axios';
2
3
  export declare const buildBridgeService: (serviceId: string, successCode: number) => AxiosInstance;
@@ -1,3 +1,4 @@
1
+ import '../runtime/installRejectionFilter';
1
2
  import type { AxiosInstance } from 'axios';
2
3
  import type { CreateCrxAxiosConfig, CreateCrxAxiosOptions } from './types';
3
4
  export declare const buildRealService: (config: CreateCrxAxiosConfig, options?: CreateCrxAxiosOptions) => AxiosInstance;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * 全局 unhandledrejection 过滤器:吞掉被 `@giime/crx` 标记为 `__crxHandled__` 的 promise 拒绝。
3
+ *
4
+ * ## 为什么需要
5
+ *
6
+ * giime 主包里有 fire-and-forget 的内部请求(典型如 `useCurrentUserStore.tryOnMounted → getUserInfo`),
7
+ * 调用方不写 try/catch。当后端返 401,@giime/crx 桥接层把它桥成 axios error 抛出来,
8
+ * 一路冒到顶就成了 `Uncaught (in promise) AxiosError: Request failed with status code 401`。
9
+ *
10
+ * 在 CRX 里这条链路本来就**应该**冒上来——@giime/crx 的登录协调器已经接管了 401:弹 LoginPrompt、
11
+ * 开登录标签页、cookie 变化广播、重发请求。整套流程是预期行为,不是 bug。
12
+ *
13
+ * 但 Chrome 不知道这事,会把 unhandled rejection 收进 `chrome://extensions` 的"错误"面板,
14
+ * 用户看到一团红,以为插件挂了。
15
+ *
16
+ * ## 做法
17
+ *
18
+ * - 在桥接层抛 401 error 时给它打 `__crxHandled__ = true` 标记([buildBridgeService.ts](../core/buildBridgeService.ts))
19
+ * - 本文件在模块顶层(一次性 + 幂等)装一个 `unhandledrejection` listener
20
+ * - listener 只对带 `__crxHandled__` 标记的 rejection 调 `preventDefault()`——告诉 Chrome
21
+ * "这条我处理过了,别报错"
22
+ * - 没标记的真业务 bug 仍正常走默认路径,不会被埋
23
+ *
24
+ * ## 适用范围
25
+ *
26
+ * contentScript / popup / options / background SW 都适用:
27
+ * - `self.addEventListener('unhandledrejection', ...)` 在四种环境都生效
28
+ * - background SW 的 `self` 是 ServiceWorkerGlobalScope,同样支持
29
+ *
30
+ * 通过 [buildBridgeService.ts](../core/buildBridgeService.ts)(contentScript/popup/options 都会触发)
31
+ * 和 [registerAxiosBridge.ts](../bridge/registerAxiosBridge.ts)(background)各 import 一次,
32
+ * 模块级 `installed` 守卫保证 listener 只挂一次。
33
+ */
34
+ /** 用 Error 子类型表达"已被 crx 处理过的 rejection"——业务侧需要识别也可以走 `instanceof` */
35
+ export interface CrxHandledMarker {
36
+ __crxHandled__?: boolean;
37
+ }
38
+ export declare const installRejectionFilter: () => void;
@@ -1 +1 @@
1
- export declare const version = "0.9.16-snapshot.2";
1
+ export declare const version = "0.9.16-snapshot.4";
@@ -1,4 +1,4 @@
1
- const version = "0.9.16-snapshot.2";
1
+ const version = "0.9.16-snapshot.4";
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.9.16-snapshot.2';\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.9.16-snapshot.4';\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
package/es/index.css CHANGED
@@ -892,17 +892,6 @@ video {
892
892
  margin: 0;
893
893
  }
894
894
 
895
- .gm-flex-center[data-v-c17deec9] {
896
- align-items: center;
897
- }
898
-
899
- .gm-flex-justify-between[data-v-c17deec9] {
900
- justify-content: space-between;
901
- }
902
- [data-v-79615afd] .gmSearchForm .el-form-item {
903
- margin-right: 0;
904
- margin-bottom: 4px;
905
- }
906
895
  [data-v-3f2c8504] .gmTableNoBorder .el-table__body .el-table__cell {
907
896
  border-right: none;
908
897
  }
@@ -926,6 +915,10 @@ video {
926
915
  [data-v-3f2c8504] .gmTableNoBorder .el-table__border-left-patch {
927
916
  height: 0;
928
917
  }
918
+ [data-v-79615afd] .gmSearchForm .el-form-item {
919
+ margin-right: 0;
920
+ margin-bottom: 4px;
921
+ }
929
922
  [data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
930
923
  border-right: none;
931
924
  }
@@ -949,6 +942,50 @@ video {
949
942
  [data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
950
943
  height: 0;
951
944
  }
945
+ .gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
946
+ padding: 0;
947
+ }
948
+
949
+ .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 {
950
+ width: auto;
951
+ height: auto;
952
+ }
953
+ .gm-upload-file {
954
+ line-height: normal;
955
+ }
956
+ .gm-upload-file li > .el-checkbox {
957
+ position: absolute;
958
+ left: 10px;
959
+ top: 0;
960
+ z-index: 9;
961
+ }
962
+ .gm-upload-file .el-upload-list--picture-card {
963
+ gap: 10px;
964
+ }
965
+ .gm-upload-file .el-upload-list__item {
966
+ margin: 0;
967
+ border: none;
968
+ }
969
+ .gm-upload-file .el-upload-list__item-file-name {
970
+ line-height: normal;
971
+ }
972
+ .gm-upload-file .el-upload-dragger {
973
+ padding: 0;
974
+ border: none;
975
+ width: 100%;
976
+ height: 100%;
977
+ display: flex;
978
+ }
979
+ .gm-upload-file .el-upload--picture-card {
980
+ border: none;
981
+ }
982
+
983
+ .gm-upload-file-disabled .el-upload--picture-card {
984
+ display: none;
985
+ }
986
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
987
+ display: none;
988
+ }
952
989
  .circular[data-v-d7b04fae] {
953
990
  animation: loading-rotate-d7b04fae 2s linear infinite;
954
991
  }
@@ -980,6 +1017,14 @@ video {
980
1017
  stroke-dashoffset: -120px;
981
1018
  }
982
1019
  }
1020
+ .gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
1021
+ padding: 0;
1022
+ }
1023
+
1024
+ .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload--picture-card {
1025
+ width: auto;
1026
+ height: auto;
1027
+ }
983
1028
  .gm-number-interval-single[data-v-4e6f4d6f] {
984
1029
  border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
985
1030
  box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
@@ -998,14 +1043,6 @@ video {
998
1043
  .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
999
1044
  display: flex;
1000
1045
  }
1001
- .gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
1002
- padding: 0;
1003
- }
1004
-
1005
- .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload--picture-card {
1006
- width: auto;
1007
- height: auto;
1008
- }
1009
1046
  .gm-upload-pro-file {
1010
1047
  line-height: normal;
1011
1048
  }
@@ -1044,166 +1081,129 @@ video {
1044
1081
  .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1045
1082
  display: none;
1046
1083
  }
1047
- .gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
1048
- padding: 0;
1084
+ .gm-flex-center[data-v-c17deec9] {
1085
+ align-items: center;
1049
1086
  }
1050
1087
 
1051
- .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 {
1052
- width: auto;
1053
- height: auto;
1054
- }
1055
- .gm-upload-file {
1056
- line-height: normal;
1057
- }
1058
- .gm-upload-file li > .el-checkbox {
1059
- position: absolute;
1060
- left: 10px;
1061
- top: 0;
1062
- z-index: 9;
1063
- }
1064
- .gm-upload-file .el-upload-list--picture-card {
1065
- gap: 10px;
1066
- }
1067
- .gm-upload-file .el-upload-list__item {
1068
- margin: 0;
1069
- border: none;
1070
- }
1071
- .gm-upload-file .el-upload-list__item-file-name {
1072
- line-height: normal;
1073
- }
1074
- .gm-upload-file .el-upload-dragger {
1075
- padding: 0;
1076
- border: none;
1077
- width: 100%;
1078
- height: 100%;
1079
- display: flex;
1080
- }
1081
- .gm-upload-file .el-upload--picture-card {
1082
- border: none;
1088
+ .gm-flex-justify-between[data-v-c17deec9] {
1089
+ justify-content: space-between;
1083
1090
  }
1084
1091
 
1085
- .gm-upload-file-disabled .el-upload--picture-card {
1086
- display: none;
1092
+ .pagination-container[data-v-47d35e7b] {
1093
+ background: #fff;
1094
+ padding-top: 12px;
1087
1095
  }
1088
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1096
+ .pagination-container.hidden[data-v-47d35e7b] {
1089
1097
  display: none;
1090
1098
  }
1099
+
1091
1100
  @charset "UTF-8";
1092
- .table-custom-header-drawer .el-drawer__header {
1101
+ .custom-operate-drawer .el-drawer__header {
1093
1102
  padding: 10px 15px;
1094
1103
  margin: 0;
1095
1104
  border-bottom: 1px solid #ebeef5;
1096
1105
  }
1097
- .table-custom-header-drawer .el-drawer__title {
1106
+ .custom-operate-drawer .el-drawer__title {
1098
1107
  font-size: 14px;
1099
1108
  color: #333;
1100
1109
  }
1101
- .table-custom-header-drawer .el-drawer__body {
1110
+ .custom-operate-drawer .el-drawer__body {
1102
1111
  padding: 15px;
1103
1112
  }
1104
- .table-custom-header-drawer .el-drawer__footer {
1113
+ .custom-operate-drawer .el-drawer__footer {
1105
1114
  padding: 10px 15px;
1106
1115
  border-top: 1px solid #ebeef5;
1107
1116
  }
1108
- .table-custom-header-drawer .el-checkbox {
1117
+ .custom-operate-drawer .el-checkbox {
1109
1118
  display: flex;
1110
1119
  align-items: center;
1111
1120
  }
1112
- .table-custom-header-drawer .el-input__inner {
1121
+ .custom-operate-drawer .el-input__inner {
1113
1122
  text-align: center;
1114
1123
  }
1115
- .table-custom-header-drawer .el-input__suffix {
1124
+ .custom-operate-drawer .el-input__suffix {
1116
1125
  position: absolute;
1117
1126
  right: 10px;
1118
1127
  }
1119
- .table-custom-header-drawer .custom-content li {
1128
+ .custom-operate-drawer .custom-content li {
1120
1129
  display: flex;
1121
1130
  align-items: center;
1122
1131
  justify-content: center;
1123
1132
  height: 44px;
1124
1133
  }
1125
- .table-custom-header-drawer .custom-group {
1134
+ .custom-operate-drawer .custom-group {
1126
1135
  max-height: calc(100vh - 226px);
1127
1136
  overflow-y: auto;
1128
1137
  }
1129
- .table-custom-header-drawer .custom-group::-webkit-scrollbar {
1138
+ .custom-operate-drawer .custom-group::-webkit-scrollbar {
1130
1139
  /*滚动条整体样式*/
1131
1140
  width: 4px;
1132
1141
  /*高宽分别对应横竖滚动条的尺寸*/
1133
1142
  height: 1px;
1134
1143
  }
1135
- .table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
1144
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1136
1145
  /*滚动条里面小方块*/
1137
1146
  border-radius: 10px;
1138
1147
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1139
1148
  background: #999;
1140
1149
  }
1141
- .table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
1150
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1142
1151
  /*滚动条里面轨道*/
1143
1152
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1144
1153
  border-radius: 10px;
1145
1154
  background: #eee;
1146
1155
  }
1147
-
1148
- .pagination-container[data-v-47d35e7b] {
1149
- background: #fff;
1150
- padding-top: 12px;
1151
- }
1152
- .pagination-container.hidden[data-v-47d35e7b] {
1153
- display: none;
1154
- }
1155
-
1156
1156
  @charset "UTF-8";
1157
- .custom-operate-drawer .el-drawer__header {
1157
+ .table-custom-header-drawer .el-drawer__header {
1158
1158
  padding: 10px 15px;
1159
1159
  margin: 0;
1160
1160
  border-bottom: 1px solid #ebeef5;
1161
1161
  }
1162
- .custom-operate-drawer .el-drawer__title {
1162
+ .table-custom-header-drawer .el-drawer__title {
1163
1163
  font-size: 14px;
1164
1164
  color: #333;
1165
1165
  }
1166
- .custom-operate-drawer .el-drawer__body {
1166
+ .table-custom-header-drawer .el-drawer__body {
1167
1167
  padding: 15px;
1168
1168
  }
1169
- .custom-operate-drawer .el-drawer__footer {
1169
+ .table-custom-header-drawer .el-drawer__footer {
1170
1170
  padding: 10px 15px;
1171
1171
  border-top: 1px solid #ebeef5;
1172
1172
  }
1173
- .custom-operate-drawer .el-checkbox {
1173
+ .table-custom-header-drawer .el-checkbox {
1174
1174
  display: flex;
1175
1175
  align-items: center;
1176
1176
  }
1177
- .custom-operate-drawer .el-input__inner {
1177
+ .table-custom-header-drawer .el-input__inner {
1178
1178
  text-align: center;
1179
1179
  }
1180
- .custom-operate-drawer .el-input__suffix {
1180
+ .table-custom-header-drawer .el-input__suffix {
1181
1181
  position: absolute;
1182
1182
  right: 10px;
1183
1183
  }
1184
- .custom-operate-drawer .custom-content li {
1184
+ .table-custom-header-drawer .custom-content li {
1185
1185
  display: flex;
1186
1186
  align-items: center;
1187
1187
  justify-content: center;
1188
1188
  height: 44px;
1189
1189
  }
1190
- .custom-operate-drawer .custom-group {
1190
+ .table-custom-header-drawer .custom-group {
1191
1191
  max-height: calc(100vh - 226px);
1192
1192
  overflow-y: auto;
1193
1193
  }
1194
- .custom-operate-drawer .custom-group::-webkit-scrollbar {
1194
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar {
1195
1195
  /*滚动条整体样式*/
1196
1196
  width: 4px;
1197
1197
  /*高宽分别对应横竖滚动条的尺寸*/
1198
1198
  height: 1px;
1199
1199
  }
1200
- .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1200
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
1201
1201
  /*滚动条里面小方块*/
1202
1202
  border-radius: 10px;
1203
1203
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1204
1204
  background: #999;
1205
1205
  }
1206
- .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1206
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
1207
1207
  /*滚动条里面轨道*/
1208
1208
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1209
1209
  border-radius: 10px;
@@ -19,3 +19,4 @@ export { installIntoGiimeApi } from './src/integrations/installIntoGiimeApi';
19
19
  export type { CreateCrxAxiosConfig, CreateCrxAxiosOptions } from './src/core/types';
20
20
  export type { CrxConfig } from './src/config/config';
21
21
  export type { GiimeMode, CrxEnvConfig } from './src/config/envMode';
22
+ export type { CrxHandledMarker } from './src/runtime/installRejectionFilter';
@@ -1 +1,2 @@
1
+ import '../runtime/installRejectionFilter';
1
2
  export declare const registerAxiosBridge: () => void;
@@ -1,2 +1,3 @@
1
+ import '../runtime/installRejectionFilter';
1
2
  import type { AxiosInstance } from 'axios';
2
3
  export declare const buildBridgeService: (serviceId: string, successCode: number) => AxiosInstance;
@@ -1,3 +1,4 @@
1
+ import '../runtime/installRejectionFilter';
1
2
  import type { AxiosInstance } from 'axios';
2
3
  import type { CreateCrxAxiosConfig, CreateCrxAxiosOptions } from './types';
3
4
  export declare const buildRealService: (config: CreateCrxAxiosConfig, options?: CreateCrxAxiosOptions) => AxiosInstance;
@@ -0,0 +1,38 @@
1
+ /**
2
+ * 全局 unhandledrejection 过滤器:吞掉被 `@giime/crx` 标记为 `__crxHandled__` 的 promise 拒绝。
3
+ *
4
+ * ## 为什么需要
5
+ *
6
+ * giime 主包里有 fire-and-forget 的内部请求(典型如 `useCurrentUserStore.tryOnMounted → getUserInfo`),
7
+ * 调用方不写 try/catch。当后端返 401,@giime/crx 桥接层把它桥成 axios error 抛出来,
8
+ * 一路冒到顶就成了 `Uncaught (in promise) AxiosError: Request failed with status code 401`。
9
+ *
10
+ * 在 CRX 里这条链路本来就**应该**冒上来——@giime/crx 的登录协调器已经接管了 401:弹 LoginPrompt、
11
+ * 开登录标签页、cookie 变化广播、重发请求。整套流程是预期行为,不是 bug。
12
+ *
13
+ * 但 Chrome 不知道这事,会把 unhandled rejection 收进 `chrome://extensions` 的"错误"面板,
14
+ * 用户看到一团红,以为插件挂了。
15
+ *
16
+ * ## 做法
17
+ *
18
+ * - 在桥接层抛 401 error 时给它打 `__crxHandled__ = true` 标记([buildBridgeService.ts](../core/buildBridgeService.ts))
19
+ * - 本文件在模块顶层(一次性 + 幂等)装一个 `unhandledrejection` listener
20
+ * - listener 只对带 `__crxHandled__` 标记的 rejection 调 `preventDefault()`——告诉 Chrome
21
+ * "这条我处理过了,别报错"
22
+ * - 没标记的真业务 bug 仍正常走默认路径,不会被埋
23
+ *
24
+ * ## 适用范围
25
+ *
26
+ * contentScript / popup / options / background SW 都适用:
27
+ * - `self.addEventListener('unhandledrejection', ...)` 在四种环境都生效
28
+ * - background SW 的 `self` 是 ServiceWorkerGlobalScope,同样支持
29
+ *
30
+ * 通过 [buildBridgeService.ts](../core/buildBridgeService.ts)(contentScript/popup/options 都会触发)
31
+ * 和 [registerAxiosBridge.ts](../bridge/registerAxiosBridge.ts)(background)各 import 一次,
32
+ * 模块级 `installed` 守卫保证 listener 只挂一次。
33
+ */
34
+ /** 用 Error 子类型表达"已被 crx 处理过的 rejection"——业务侧需要识别也可以走 `instanceof` */
35
+ export interface CrxHandledMarker {
36
+ __crxHandled__?: boolean;
37
+ }
38
+ export declare const installRejectionFilter: () => void;
@@ -1 +1 @@
1
- export declare const version = "0.9.16-snapshot.2";
1
+ export declare const version = "0.9.16-snapshot.4";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const version = "0.9.16-snapshot.2";
3
+ const version = "0.9.16-snapshot.4";
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.9.16-snapshot.2';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
1
+ {"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.9.16-snapshot.4';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAA,GAAU;;;;"}
package/lib/index.css CHANGED
@@ -892,17 +892,6 @@ video {
892
892
  margin: 0;
893
893
  }
894
894
 
895
- .gm-flex-center[data-v-c17deec9] {
896
- align-items: center;
897
- }
898
-
899
- .gm-flex-justify-between[data-v-c17deec9] {
900
- justify-content: space-between;
901
- }
902
- [data-v-79615afd] .gmSearchForm .el-form-item {
903
- margin-right: 0;
904
- margin-bottom: 4px;
905
- }
906
895
  [data-v-3f2c8504] .gmTableNoBorder .el-table__body .el-table__cell {
907
896
  border-right: none;
908
897
  }
@@ -926,6 +915,10 @@ video {
926
915
  [data-v-3f2c8504] .gmTableNoBorder .el-table__border-left-patch {
927
916
  height: 0;
928
917
  }
918
+ [data-v-79615afd] .gmSearchForm .el-form-item {
919
+ margin-right: 0;
920
+ margin-bottom: 4px;
921
+ }
929
922
  [data-v-050a4f74] .gmTableNoBorder .el-table__body .el-table__cell {
930
923
  border-right: none;
931
924
  }
@@ -949,6 +942,50 @@ video {
949
942
  [data-v-050a4f74] .gmTableNoBorder .el-table__border-left-patch {
950
943
  height: 0;
951
944
  }
945
+ .gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
946
+ padding: 0;
947
+ }
948
+
949
+ .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 {
950
+ width: auto;
951
+ height: auto;
952
+ }
953
+ .gm-upload-file {
954
+ line-height: normal;
955
+ }
956
+ .gm-upload-file li > .el-checkbox {
957
+ position: absolute;
958
+ left: 10px;
959
+ top: 0;
960
+ z-index: 9;
961
+ }
962
+ .gm-upload-file .el-upload-list--picture-card {
963
+ gap: 10px;
964
+ }
965
+ .gm-upload-file .el-upload-list__item {
966
+ margin: 0;
967
+ border: none;
968
+ }
969
+ .gm-upload-file .el-upload-list__item-file-name {
970
+ line-height: normal;
971
+ }
972
+ .gm-upload-file .el-upload-dragger {
973
+ padding: 0;
974
+ border: none;
975
+ width: 100%;
976
+ height: 100%;
977
+ display: flex;
978
+ }
979
+ .gm-upload-file .el-upload--picture-card {
980
+ border: none;
981
+ }
982
+
983
+ .gm-upload-file-disabled .el-upload--picture-card {
984
+ display: none;
985
+ }
986
+ .gm-upload-file-disabled .el-upload-list__item-status-label {
987
+ display: none;
988
+ }
952
989
  .circular[data-v-d7b04fae] {
953
990
  animation: loading-rotate-d7b04fae 2s linear infinite;
954
991
  }
@@ -980,6 +1017,14 @@ video {
980
1017
  stroke-dashoffset: -120px;
981
1018
  }
982
1019
  }
1020
+ .gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
1021
+ padding: 0;
1022
+ }
1023
+
1024
+ .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload--picture-card {
1025
+ width: auto;
1026
+ height: auto;
1027
+ }
983
1028
  .gm-number-interval-single[data-v-4e6f4d6f] {
984
1029
  border-radius: var(--el-input-border-radius, var(--el-border-radius-base));
985
1030
  box-shadow: 0 0 0 1px var(--el-input-border-color, var(--el-border-color)) inset;
@@ -998,14 +1043,6 @@ video {
998
1043
  .gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
999
1044
  display: flex;
1000
1045
  }
1001
- .gm-upload-pro-preview-dialog[data-v-fbc23b01] [data-v-fbc23b01] .el-dialog__body {
1002
- padding: 0;
1003
- }
1004
-
1005
- .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload-list__item, .gm-upload-pro-file-picture-card[data-v-fbc23b01] [data-v-fbc23b01] .el-upload--picture-card {
1006
- width: auto;
1007
- height: auto;
1008
- }
1009
1046
  .gm-upload-pro-file {
1010
1047
  line-height: normal;
1011
1048
  }
@@ -1044,166 +1081,129 @@ video {
1044
1081
  .gm-upload-pro-file-disabled .el-upload-list__item-status-label {
1045
1082
  display: none;
1046
1083
  }
1047
- .gm-upload-preview-dialog[data-v-c615121c] [data-v-c615121c] .el-dialog__body {
1048
- padding: 0;
1084
+ .gm-flex-center[data-v-c17deec9] {
1085
+ align-items: center;
1049
1086
  }
1050
1087
 
1051
- .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 {
1052
- width: auto;
1053
- height: auto;
1054
- }
1055
- .gm-upload-file {
1056
- line-height: normal;
1057
- }
1058
- .gm-upload-file li > .el-checkbox {
1059
- position: absolute;
1060
- left: 10px;
1061
- top: 0;
1062
- z-index: 9;
1063
- }
1064
- .gm-upload-file .el-upload-list--picture-card {
1065
- gap: 10px;
1066
- }
1067
- .gm-upload-file .el-upload-list__item {
1068
- margin: 0;
1069
- border: none;
1070
- }
1071
- .gm-upload-file .el-upload-list__item-file-name {
1072
- line-height: normal;
1073
- }
1074
- .gm-upload-file .el-upload-dragger {
1075
- padding: 0;
1076
- border: none;
1077
- width: 100%;
1078
- height: 100%;
1079
- display: flex;
1080
- }
1081
- .gm-upload-file .el-upload--picture-card {
1082
- border: none;
1088
+ .gm-flex-justify-between[data-v-c17deec9] {
1089
+ justify-content: space-between;
1083
1090
  }
1084
1091
 
1085
- .gm-upload-file-disabled .el-upload--picture-card {
1086
- display: none;
1092
+ .pagination-container[data-v-47d35e7b] {
1093
+ background: #fff;
1094
+ padding-top: 12px;
1087
1095
  }
1088
- .gm-upload-file-disabled .el-upload-list__item-status-label {
1096
+ .pagination-container.hidden[data-v-47d35e7b] {
1089
1097
  display: none;
1090
1098
  }
1099
+
1091
1100
  @charset "UTF-8";
1092
- .table-custom-header-drawer .el-drawer__header {
1101
+ .custom-operate-drawer .el-drawer__header {
1093
1102
  padding: 10px 15px;
1094
1103
  margin: 0;
1095
1104
  border-bottom: 1px solid #ebeef5;
1096
1105
  }
1097
- .table-custom-header-drawer .el-drawer__title {
1106
+ .custom-operate-drawer .el-drawer__title {
1098
1107
  font-size: 14px;
1099
1108
  color: #333;
1100
1109
  }
1101
- .table-custom-header-drawer .el-drawer__body {
1110
+ .custom-operate-drawer .el-drawer__body {
1102
1111
  padding: 15px;
1103
1112
  }
1104
- .table-custom-header-drawer .el-drawer__footer {
1113
+ .custom-operate-drawer .el-drawer__footer {
1105
1114
  padding: 10px 15px;
1106
1115
  border-top: 1px solid #ebeef5;
1107
1116
  }
1108
- .table-custom-header-drawer .el-checkbox {
1117
+ .custom-operate-drawer .el-checkbox {
1109
1118
  display: flex;
1110
1119
  align-items: center;
1111
1120
  }
1112
- .table-custom-header-drawer .el-input__inner {
1121
+ .custom-operate-drawer .el-input__inner {
1113
1122
  text-align: center;
1114
1123
  }
1115
- .table-custom-header-drawer .el-input__suffix {
1124
+ .custom-operate-drawer .el-input__suffix {
1116
1125
  position: absolute;
1117
1126
  right: 10px;
1118
1127
  }
1119
- .table-custom-header-drawer .custom-content li {
1128
+ .custom-operate-drawer .custom-content li {
1120
1129
  display: flex;
1121
1130
  align-items: center;
1122
1131
  justify-content: center;
1123
1132
  height: 44px;
1124
1133
  }
1125
- .table-custom-header-drawer .custom-group {
1134
+ .custom-operate-drawer .custom-group {
1126
1135
  max-height: calc(100vh - 226px);
1127
1136
  overflow-y: auto;
1128
1137
  }
1129
- .table-custom-header-drawer .custom-group::-webkit-scrollbar {
1138
+ .custom-operate-drawer .custom-group::-webkit-scrollbar {
1130
1139
  /*滚动条整体样式*/
1131
1140
  width: 4px;
1132
1141
  /*高宽分别对应横竖滚动条的尺寸*/
1133
1142
  height: 1px;
1134
1143
  }
1135
- .table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
1144
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1136
1145
  /*滚动条里面小方块*/
1137
1146
  border-radius: 10px;
1138
1147
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1139
1148
  background: #999;
1140
1149
  }
1141
- .table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
1150
+ .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1142
1151
  /*滚动条里面轨道*/
1143
1152
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1144
1153
  border-radius: 10px;
1145
1154
  background: #eee;
1146
1155
  }
1147
-
1148
- .pagination-container[data-v-47d35e7b] {
1149
- background: #fff;
1150
- padding-top: 12px;
1151
- }
1152
- .pagination-container.hidden[data-v-47d35e7b] {
1153
- display: none;
1154
- }
1155
-
1156
1156
  @charset "UTF-8";
1157
- .custom-operate-drawer .el-drawer__header {
1157
+ .table-custom-header-drawer .el-drawer__header {
1158
1158
  padding: 10px 15px;
1159
1159
  margin: 0;
1160
1160
  border-bottom: 1px solid #ebeef5;
1161
1161
  }
1162
- .custom-operate-drawer .el-drawer__title {
1162
+ .table-custom-header-drawer .el-drawer__title {
1163
1163
  font-size: 14px;
1164
1164
  color: #333;
1165
1165
  }
1166
- .custom-operate-drawer .el-drawer__body {
1166
+ .table-custom-header-drawer .el-drawer__body {
1167
1167
  padding: 15px;
1168
1168
  }
1169
- .custom-operate-drawer .el-drawer__footer {
1169
+ .table-custom-header-drawer .el-drawer__footer {
1170
1170
  padding: 10px 15px;
1171
1171
  border-top: 1px solid #ebeef5;
1172
1172
  }
1173
- .custom-operate-drawer .el-checkbox {
1173
+ .table-custom-header-drawer .el-checkbox {
1174
1174
  display: flex;
1175
1175
  align-items: center;
1176
1176
  }
1177
- .custom-operate-drawer .el-input__inner {
1177
+ .table-custom-header-drawer .el-input__inner {
1178
1178
  text-align: center;
1179
1179
  }
1180
- .custom-operate-drawer .el-input__suffix {
1180
+ .table-custom-header-drawer .el-input__suffix {
1181
1181
  position: absolute;
1182
1182
  right: 10px;
1183
1183
  }
1184
- .custom-operate-drawer .custom-content li {
1184
+ .table-custom-header-drawer .custom-content li {
1185
1185
  display: flex;
1186
1186
  align-items: center;
1187
1187
  justify-content: center;
1188
1188
  height: 44px;
1189
1189
  }
1190
- .custom-operate-drawer .custom-group {
1190
+ .table-custom-header-drawer .custom-group {
1191
1191
  max-height: calc(100vh - 226px);
1192
1192
  overflow-y: auto;
1193
1193
  }
1194
- .custom-operate-drawer .custom-group::-webkit-scrollbar {
1194
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar {
1195
1195
  /*滚动条整体样式*/
1196
1196
  width: 4px;
1197
1197
  /*高宽分别对应横竖滚动条的尺寸*/
1198
1198
  height: 1px;
1199
1199
  }
1200
- .custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
1200
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
1201
1201
  /*滚动条里面小方块*/
1202
1202
  border-radius: 10px;
1203
1203
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
1204
1204
  background: #999;
1205
1205
  }
1206
- .custom-operate-drawer .custom-group::-webkit-scrollbar-track {
1206
+ .table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
1207
1207
  /*滚动条里面轨道*/
1208
1208
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
1209
1209
  border-radius: 10px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "giime",
3
- "version": "0.9.16-snapshot.2",
3
+ "version": "0.9.16-snapshot.4",
4
4
  "description": "A Component Library for Vue 3",
5
5
  "keywords": [
6
6
  "giime",