@module-federation/devtools 0.0.0-perf-devtools-20260107043700 → 0.0.0-perf-website-code-usage-20260914033703
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/README.md +3 -0
- package/dist/es/App.css +6 -5
- package/dist/es/App.js +211 -63
- package/dist/es/App.module.js +1 -1
- package/dist/es/App_module.css +41 -39
- package/dist/es/component/DependencyGraph/index.js +11 -12
- package/dist/es/component/DependencyGraph/index_module.css +20 -17
- package/dist/es/component/DependencyGraphItem/index.js +23 -10
- package/dist/es/component/DependencyGraphItem/index_module.css +7 -7
- package/dist/es/component/Form/index.js +24 -31
- package/dist/es/component/Form/index.module.js +1 -1
- package/dist/es/component/Form/index_module.css +22 -25
- package/dist/es/component/LanguageSwitch.js +50 -0
- package/dist/es/component/Layout/index.js +27 -10
- package/dist/es/component/Layout/index_module.css +7 -7
- package/dist/es/component/LoadingTrace/index.js +944 -0
- package/dist/es/component/LoadingTrace/index.module.js +5 -0
- package/dist/es/component/LoadingTrace/index_module.css +876 -0
- package/dist/es/component/ModuleInfo/index.js +65 -41
- package/dist/es/component/ModuleInfo/index_module.css +12 -11
- package/dist/es/component/SharedDepsExplorer/FocusResultDisplay.js +5 -3
- package/dist/es/component/SharedDepsExplorer/FocusResultDisplay_module.css +5 -5
- package/dist/es/component/SharedDepsExplorer/index.js +223 -96
- package/dist/es/component/SharedDepsExplorer/index_module.css +12 -2
- package/dist/es/component/SharedDepsExplorer/share-utils.js +21 -5
- package/dist/es/component/ThemeToggle.js +19 -0
- package/dist/es/component/ThemeToggle.module.js +5 -0
- package/dist/es/component/ThemeToggle_module.css +12 -0
- package/dist/es/hooks/useDevtoolsTheme.js +77 -0
- package/dist/es/i18n/index.js +688 -0
- package/dist/es/utils/chrome/fast-refresh.js +297 -173
- package/dist/es/utils/chrome/index.js +42 -22
- package/dist/es/utils/chrome/messages.js +7 -1
- package/dist/es/utils/chrome/observability-plugin.js +93 -0
- package/dist/es/utils/chrome/observability-shared.js +99 -0
- package/dist/es/utils/chrome/observability.js +208 -0
- package/dist/es/utils/chrome/override-remote.js +7 -0
- package/dist/es/utils/chrome/post-message-listener.js +22 -4
- package/dist/es/utils/chrome/post-message-start.js +4 -10
- package/dist/es/utils/chrome/post-message.js +12 -3
- package/dist/es/utils/chrome/resolve-basic-proxy-core.js +4 -0
- package/dist/es/utils/chrome/safe-post-message.js +124 -0
- package/dist/es/utils/chrome/snapshot-plugin.js +2 -36
- package/dist/es/utils/data/index.js +5 -25
- package/dist/es/utils/sdk/graph.js +25 -11
- package/dist/es/vendor/basic-proxy-core.js +155 -0
- package/dist/es/worker/index.js +27 -8
- package/dist/lib/App.css +6 -5
- package/dist/lib/App.js +208 -64
- package/dist/lib/App.module.js +1 -2
- package/dist/lib/App_module.css +41 -39
- package/dist/lib/component/DependencyGraph/index.js +11 -13
- package/dist/lib/component/DependencyGraph/index.module.js +0 -1
- package/dist/lib/component/DependencyGraph/index_module.css +20 -17
- package/dist/lib/component/DependencyGraphItem/index.js +23 -11
- package/dist/lib/component/DependencyGraphItem/index.module.js +0 -1
- package/dist/lib/component/DependencyGraphItem/index_module.css +7 -7
- package/dist/lib/component/Form/index.js +24 -32
- package/dist/lib/component/Form/index.module.js +1 -2
- package/dist/lib/component/Form/index_module.css +22 -25
- package/dist/lib/component/LanguageSwitch.js +79 -0
- package/dist/lib/component/Layout/index.js +27 -11
- package/dist/lib/component/Layout/index.module.js +0 -1
- package/dist/lib/component/Layout/index_module.css +7 -7
- package/dist/lib/component/LoadingTrace/index.js +953 -0
- package/dist/lib/component/LoadingTrace/index.module.js +24 -0
- package/dist/lib/component/LoadingTrace/index_module.css +876 -0
- package/dist/lib/component/ModuleInfo/index.js +65 -42
- package/dist/lib/component/ModuleInfo/index.module.js +0 -1
- package/dist/lib/component/ModuleInfo/index_module.css +12 -11
- package/dist/lib/component/SharedDepsExplorer/FocusResultDisplay.js +5 -4
- package/dist/lib/component/SharedDepsExplorer/FocusResultDisplay.module.js +0 -1
- package/dist/lib/component/SharedDepsExplorer/FocusResultDisplay_module.css +5 -5
- package/dist/lib/component/SharedDepsExplorer/index.js +217 -95
- package/dist/lib/component/SharedDepsExplorer/index.module.js +0 -1
- package/dist/lib/component/SharedDepsExplorer/index_module.css +12 -2
- package/dist/lib/component/SharedDepsExplorer/share-utils.js +21 -6
- package/dist/lib/component/ThemeToggle.js +48 -0
- package/dist/lib/component/ThemeToggle.module.js +24 -0
- package/dist/lib/component/ThemeToggle_module.css +12 -0
- package/dist/lib/hooks/useDevtoolsTheme.js +100 -0
- package/dist/lib/i18n/index.js +721 -0
- package/dist/lib/init.js +0 -1
- package/dist/lib/template/constant.js +0 -1
- package/dist/lib/template/index.js +0 -1
- package/dist/lib/utils/chrome/fast-refresh.js +250 -136
- package/dist/lib/utils/chrome/index.js +43 -23
- package/dist/lib/utils/chrome/messages.js +11 -3
- package/dist/lib/utils/chrome/observability-plugin.js +85 -0
- package/dist/lib/utils/chrome/observability-shared.js +125 -0
- package/dist/lib/utils/chrome/observability.js +233 -0
- package/dist/lib/utils/chrome/override-remote.js +20 -0
- package/dist/lib/utils/chrome/post-message-init.js +0 -1
- package/dist/lib/utils/chrome/post-message-listener.js +19 -5
- package/dist/lib/utils/chrome/post-message-start.js +4 -11
- package/dist/lib/utils/chrome/post-message.js +12 -4
- package/dist/lib/utils/chrome/resolve-basic-proxy-core.js +27 -0
- package/dist/lib/utils/chrome/safe-post-message.js +147 -0
- package/dist/lib/utils/chrome/snapshot-plugin.js +5 -47
- package/dist/lib/utils/chrome/storage.js +0 -1
- package/dist/lib/utils/data/index.js +6 -29
- package/dist/lib/utils/index.js +0 -1
- package/dist/lib/utils/sdk/graph.js +25 -12
- package/dist/lib/utils/sdk/index.js +0 -1
- package/dist/lib/utils/types/common.js +0 -1
- package/dist/lib/utils/types/index.js +0 -1
- package/dist/lib/vendor/basic-proxy-core.js +147 -0
- package/dist/lib/worker/index.js +27 -9
- package/dist/types/App.css +13 -0
- package/dist/types/App.js +519 -0
- package/dist/types/App.module.js +24 -0
- package/dist/types/App_module.css +307 -0
- package/dist/types/component/DependencyGraph/index.js +225 -0
- package/dist/types/component/DependencyGraph/index.module.js +24 -0
- package/dist/types/component/DependencyGraph/index_module.css +100 -0
- package/dist/types/component/DependencyGraphItem/index.js +124 -0
- package/dist/types/component/DependencyGraphItem/index.module.js +24 -0
- package/dist/types/component/DependencyGraphItem/index_module.css +95 -0
- package/dist/types/component/Form/index.js +372 -0
- package/dist/types/component/Form/index.module.js +24 -0
- package/dist/types/component/Form/index_module.css +198 -0
- package/dist/types/component/LanguageSwitch.js +79 -0
- package/dist/types/component/Layout/index.js +471 -0
- package/dist/types/component/Layout/index.module.js +24 -0
- package/dist/types/component/Layout/index_module.css +68 -0
- package/dist/types/component/LoadingTrace/index.js +953 -0
- package/dist/types/component/LoadingTrace/index.module.js +24 -0
- package/dist/types/component/LoadingTrace/index_module.css +876 -0
- package/dist/types/component/ModuleInfo/index.js +342 -0
- package/dist/types/component/ModuleInfo/index.module.js +24 -0
- package/dist/types/component/ModuleInfo/index_module.css +184 -0
- package/dist/types/component/SharedDepsExplorer/FocusResultDisplay.js +64 -0
- package/dist/types/component/SharedDepsExplorer/FocusResultDisplay.module.js +24 -0
- package/dist/types/component/SharedDepsExplorer/FocusResultDisplay_module.css +45 -0
- package/dist/types/component/SharedDepsExplorer/index.js +635 -0
- package/dist/types/component/SharedDepsExplorer/index.module.js +24 -0
- package/dist/types/component/SharedDepsExplorer/index_module.css +467 -0
- package/dist/types/component/SharedDepsExplorer/share-utils.js +252 -0
- package/dist/types/component/ThemeToggle.js +48 -0
- package/dist/types/component/ThemeToggle.module.js +24 -0
- package/dist/types/component/ThemeToggle_module.css +12 -0
- package/dist/types/hooks/useDevtoolsTheme.js +100 -0
- package/dist/types/i18n/index.js +721 -0
- package/dist/types/init.js +8 -0
- package/dist/types/src/App.d.ts +1 -1
- package/dist/types/src/component/DependencyGraph/index.d.ts +1 -1
- package/dist/types/src/component/DependencyGraphItem/index.d.ts +1 -1
- package/dist/types/src/component/Form/index.d.ts +1 -1
- package/dist/types/src/component/LanguageSwitch.d.ts +2 -0
- package/dist/types/src/component/Layout/index.d.ts +1 -1
- package/dist/types/src/component/LoadingTrace/index.d.ts +6 -0
- package/dist/types/src/component/ModuleInfo/index.d.ts +1 -1
- package/dist/types/src/component/SharedDepsExplorer/index.d.ts +1 -1
- package/dist/types/src/component/SharedDepsExplorer/share-utils.d.ts +3 -2
- package/dist/types/src/component/ThemeToggle.d.ts +8 -0
- package/dist/types/src/hooks/useDevtoolsTheme.d.ts +2 -0
- package/dist/types/src/i18n/index.d.ts +5 -0
- package/dist/types/src/template/constant.d.ts +1 -1
- package/dist/types/src/utils/chrome/index.d.ts +2 -1
- package/dist/types/src/utils/chrome/messages.d.ts +3 -0
- package/dist/types/src/utils/chrome/observability-plugin.d.ts +1 -0
- package/dist/types/src/utils/chrome/observability-shared.d.ts +41 -0
- package/dist/types/src/utils/chrome/observability.d.ts +110 -0
- package/dist/types/src/utils/chrome/override-remote.d.ts +1 -0
- package/dist/types/src/utils/chrome/post-message-listener.d.ts +1 -0
- package/dist/types/src/utils/chrome/post-message-start.d.ts +1 -1
- package/dist/types/src/utils/chrome/resolve-basic-proxy-core.d.ts +6 -0
- package/dist/types/src/utils/chrome/safe-post-message.d.ts +1 -0
- package/dist/types/src/utils/chrome/snapshot-plugin.d.ts +0 -3
- package/dist/types/src/utils/data/index.d.ts +1 -2
- package/dist/types/src/utils/sdk/graph.d.ts +1 -1
- package/dist/types/src/utils/sdk/index.d.ts +2 -2
- package/dist/types/stories/index.stories.d.ts +2 -1
- package/dist/types/template/constant.js +84 -0
- package/dist/types/template/index.js +21 -0
- package/dist/types/utils/chrome/fast-refresh.js +329 -0
- package/dist/types/utils/chrome/index.js +321 -0
- package/dist/types/utils/chrome/messages.js +39 -0
- package/dist/types/utils/chrome/observability-plugin.js +85 -0
- package/dist/types/utils/chrome/observability-shared.js +125 -0
- package/dist/types/utils/chrome/observability.js +233 -0
- package/dist/types/utils/chrome/override-remote.js +20 -0
- package/dist/types/utils/chrome/post-message-init.js +5 -0
- package/dist/types/utils/chrome/post-message-listener.js +36 -0
- package/dist/types/utils/chrome/post-message-start.js +10 -0
- package/dist/types/utils/chrome/post-message.js +91 -0
- package/dist/types/utils/chrome/resolve-basic-proxy-core.js +27 -0
- package/dist/types/utils/chrome/safe-post-message.js +147 -0
- package/dist/types/utils/chrome/snapshot-plugin.js +17 -0
- package/dist/types/utils/chrome/storage.js +71 -0
- package/dist/types/utils/data/index.js +83 -0
- package/dist/types/utils/index.js +27 -0
- package/dist/types/utils/sdk/graph.js +213 -0
- package/dist/types/utils/sdk/index.js +104 -0
- package/dist/types/utils/types/common.js +15 -0
- package/dist/types/utils/types/index.js +21 -0
- package/dist/types/vendor/basic-proxy-core.js +147 -0
- package/dist/types/worker/index.js +175 -0
- package/install-deps.bash +7 -3
- package/package.json +47 -28
- package/dist/es/utils/data/snapshot.js +0 -82
- package/dist/lib/utils/data/snapshot.js +0 -107
- package/dist/types/src/utils/data/snapshot.d.ts +0 -3
package/dist/lib/App.js
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
9
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
+
var __spreadValues = (a, b) => {
|
|
11
|
+
for (var prop in b || (b = {}))
|
|
12
|
+
if (__hasOwnProp.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
if (__getOwnPropSymbols)
|
|
15
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
16
|
+
if (__propIsEnum.call(b, prop))
|
|
17
|
+
__defNormalProp(a, prop, b[prop]);
|
|
18
|
+
}
|
|
19
|
+
return a;
|
|
20
|
+
};
|
|
8
21
|
var __export = (target, all) => {
|
|
9
22
|
for (var name in all)
|
|
10
23
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -56,21 +69,29 @@ var import_react = require("react");
|
|
|
56
69
|
var import_react_19_adapter = require("@arco-design/web-react/es/_util/react-19-adapter");
|
|
57
70
|
var import_App = require("./App.css");
|
|
58
71
|
var import_web_react = require("@arco-design/web-react");
|
|
72
|
+
var import_react_i18next = require("react-i18next");
|
|
59
73
|
var import_init = require("./init");
|
|
74
|
+
var import_icon = require("@arco-design/web-react/icon");
|
|
60
75
|
var import_Layout = __toESM(require("./component/Layout"));
|
|
61
76
|
var import_DependencyGraph = __toESM(require("./component/DependencyGraph"));
|
|
62
77
|
var import_ModuleInfo = __toESM(require("./component/ModuleInfo"));
|
|
63
78
|
var import_SharedDepsExplorer = __toESM(require("./component/SharedDepsExplorer"));
|
|
79
|
+
var import_LoadingTrace = __toESM(require("./component/LoadingTrace"));
|
|
80
|
+
var import_LanguageSwitch = __toESM(require("./component/LanguageSwitch"));
|
|
81
|
+
var import_ThemeToggle = __toESM(require("./component/ThemeToggle"));
|
|
64
82
|
var import_utils = require("./utils");
|
|
65
83
|
var import_messages = require("./utils/chrome/messages");
|
|
84
|
+
var import_useDevtoolsTheme = require("./hooks/useDevtoolsTheme");
|
|
85
|
+
var import_i18n = __toESM(require("./i18n"));
|
|
66
86
|
var import_arco = require("@arco-design/web-react/dist/css/arco.css");
|
|
67
87
|
var import_App2 = __toESM(require("./App.module"));
|
|
88
|
+
var import_ThemeToggle2 = __toESM(require("./component/ThemeToggle.module"));
|
|
68
89
|
const cloneModuleInfo = (info) => {
|
|
69
90
|
try {
|
|
70
|
-
return
|
|
91
|
+
return (0, import_utils.normalizeModuleInfoPayload)(info);
|
|
71
92
|
} catch (error) {
|
|
72
93
|
console.warn("[MF Devtools] cloneModuleInfo failed", error);
|
|
73
|
-
return
|
|
94
|
+
return {};
|
|
74
95
|
}
|
|
75
96
|
};
|
|
76
97
|
const normalizeShareValue = (target, seen = /* @__PURE__ */ new WeakSet()) => {
|
|
@@ -120,13 +141,15 @@ const buildShareSnapshot = (share) => {
|
|
|
120
141
|
return scopes;
|
|
121
142
|
};
|
|
122
143
|
const NAV_ITEMS = [
|
|
123
|
-
{ key: "moduleInfo",
|
|
124
|
-
{ key: "proxy",
|
|
125
|
-
{ key: "dependency",
|
|
126
|
-
{ key: "share",
|
|
127
|
-
{ key: "
|
|
144
|
+
{ key: "moduleInfo", i18nKey: "app.nav.moduleInfo" },
|
|
145
|
+
{ key: "proxy", i18nKey: "app.nav.proxy" },
|
|
146
|
+
{ key: "dependency", i18nKey: "app.nav.dependency" },
|
|
147
|
+
{ key: "share", i18nKey: "app.nav.share" },
|
|
148
|
+
{ key: "loadingTrace", i18nKey: "app.nav.loadingTrace" },
|
|
149
|
+
{ key: "performance", i18nKey: "app.nav.performance" }
|
|
128
150
|
];
|
|
129
|
-
const
|
|
151
|
+
const THEME_STORAGE_KEY = "mf-devtools-theme";
|
|
152
|
+
const InnerApp = (props) => {
|
|
130
153
|
const {
|
|
131
154
|
versionList,
|
|
132
155
|
setVersionList,
|
|
@@ -136,6 +159,10 @@ const App = (props) => {
|
|
|
136
159
|
customValueValidate,
|
|
137
160
|
headerSlot
|
|
138
161
|
} = props;
|
|
162
|
+
const autoTheme = (0, import_useDevtoolsTheme.useDevtoolsTheme)();
|
|
163
|
+
const [userTheme, setUserTheme] = (0, import_react.useState)(null);
|
|
164
|
+
const effectiveTheme = userTheme != null ? userTheme : autoTheme;
|
|
165
|
+
const { t } = (0, import_react_i18next.useTranslation)();
|
|
139
166
|
const [moduleInfo, setModuleInfo] = (0, import_react.useState)(
|
|
140
167
|
() => {
|
|
141
168
|
var _a;
|
|
@@ -151,6 +178,7 @@ const App = (props) => {
|
|
|
151
178
|
const [inspectedTab, setInspectedTab] = (0, import_react.useState)(
|
|
152
179
|
window.targetTab
|
|
153
180
|
);
|
|
181
|
+
const [inspectedTabRefreshKey, setInspectedTabRefreshKey] = (0, import_react.useState)(0);
|
|
154
182
|
const [activePanel, setActivePanel] = (0, import_react.useState)("proxy");
|
|
155
183
|
const [selectedModuleId, setSelectedModuleId] = (0, import_react.useState)(null);
|
|
156
184
|
const [refreshing, setRefreshing] = (0, import_react.useState)(false);
|
|
@@ -175,6 +203,64 @@ const App = (props) => {
|
|
|
175
203
|
[consumers]
|
|
176
204
|
);
|
|
177
205
|
const hasModule = moduleCount > 0 || process.env.NODE_ENV === "development";
|
|
206
|
+
(0, import_react.useEffect)(() => {
|
|
207
|
+
var _a;
|
|
208
|
+
if (typeof window === "undefined") {
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
let cancelled = false;
|
|
212
|
+
const applyTheme = (value) => {
|
|
213
|
+
if (cancelled) {
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
if (value === "light" || value === "dark") {
|
|
217
|
+
setUserTheme(value);
|
|
218
|
+
}
|
|
219
|
+
};
|
|
220
|
+
try {
|
|
221
|
+
const stored = window.localStorage.getItem(THEME_STORAGE_KEY);
|
|
222
|
+
if (stored === "light" || stored === "dark") {
|
|
223
|
+
applyTheme(stored);
|
|
224
|
+
return;
|
|
225
|
+
}
|
|
226
|
+
} catch (error) {
|
|
227
|
+
console.warn("[MF Devtools] read theme from localStorage failed", error);
|
|
228
|
+
}
|
|
229
|
+
try {
|
|
230
|
+
const chromeObj = window.chrome;
|
|
231
|
+
const storage = (_a = chromeObj == null ? void 0 : chromeObj.storage) == null ? void 0 : _a.sync;
|
|
232
|
+
if (storage && typeof storage.get === "function") {
|
|
233
|
+
storage.get([THEME_STORAGE_KEY], (result) => {
|
|
234
|
+
applyTheme(result == null ? void 0 : result[THEME_STORAGE_KEY]);
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
} catch (error) {
|
|
238
|
+
console.warn(
|
|
239
|
+
"[MF Devtools] read theme from chrome.storage.sync failed",
|
|
240
|
+
error
|
|
241
|
+
);
|
|
242
|
+
}
|
|
243
|
+
return () => {
|
|
244
|
+
cancelled = true;
|
|
245
|
+
};
|
|
246
|
+
}, []);
|
|
247
|
+
(0, import_react.useEffect)(() => {
|
|
248
|
+
if (typeof document === "undefined") {
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
251
|
+
const { body } = document;
|
|
252
|
+
if (!body) {
|
|
253
|
+
return;
|
|
254
|
+
}
|
|
255
|
+
if (effectiveTheme === "dark") {
|
|
256
|
+
body.setAttribute("arco-theme", "dark");
|
|
257
|
+
} else {
|
|
258
|
+
body.removeAttribute("arco-theme");
|
|
259
|
+
}
|
|
260
|
+
return () => {
|
|
261
|
+
body.removeAttribute("arco-theme");
|
|
262
|
+
};
|
|
263
|
+
}, [effectiveTheme]);
|
|
178
264
|
(0, import_react.useEffect)(() => {
|
|
179
265
|
if (!moduleKeys.length) {
|
|
180
266
|
setSelectedModuleId(null);
|
|
@@ -200,10 +286,14 @@ const App = (props) => {
|
|
|
200
286
|
};
|
|
201
287
|
}, [applyModuleUpdate]);
|
|
202
288
|
(0, import_react.useEffect)(() => {
|
|
203
|
-
const updateActiveTab = (tabId) => __async(void 0, null, function* () {
|
|
289
|
+
const updateActiveTab = (tabId, options) => __async(void 0, null, function* () {
|
|
204
290
|
var _a, _b;
|
|
205
291
|
const tab = yield (0, import_utils.syncActiveTab)(tabId);
|
|
206
292
|
setInspectedTab(tab || void 0);
|
|
293
|
+
if ((options == null ? void 0 : options.status) === "loading") {
|
|
294
|
+
setInspectedTabRefreshKey((key) => key + 1);
|
|
295
|
+
return;
|
|
296
|
+
}
|
|
207
297
|
if ((_a = window.__FEDERATION__) == null ? void 0 : _a.moduleInfo) {
|
|
208
298
|
applyModuleUpdate(cloneModuleInfo((_b = window.__FEDERATION__) == null ? void 0 : _b.moduleInfo));
|
|
209
299
|
}
|
|
@@ -211,7 +301,7 @@ const App = (props) => {
|
|
|
211
301
|
});
|
|
212
302
|
const onMessage = (message, _sender, _sendResponse) => {
|
|
213
303
|
if ((message == null ? void 0 : message.type) === import_messages.MESSAGE_ACTIVE_TAB_CHANGED) {
|
|
214
|
-
updateActiveTab(message.tabId);
|
|
304
|
+
updateActiveTab(message.tabId, { status: message.status });
|
|
215
305
|
}
|
|
216
306
|
};
|
|
217
307
|
chrome.runtime.onMessage.addListener(onMessage);
|
|
@@ -239,6 +329,34 @@ const App = (props) => {
|
|
|
239
329
|
setRefreshing(false);
|
|
240
330
|
}
|
|
241
331
|
});
|
|
332
|
+
const handleThemeToggle = () => {
|
|
333
|
+
var _a;
|
|
334
|
+
const current = effectiveTheme;
|
|
335
|
+
const next = current === "dark" ? "light" : "dark";
|
|
336
|
+
setUserTheme(next);
|
|
337
|
+
if (typeof window !== "undefined") {
|
|
338
|
+
try {
|
|
339
|
+
window.localStorage.setItem(THEME_STORAGE_KEY, next);
|
|
340
|
+
} catch (error) {
|
|
341
|
+
console.warn(
|
|
342
|
+
"[MF Devtools] persist theme to localStorage failed",
|
|
343
|
+
error
|
|
344
|
+
);
|
|
345
|
+
}
|
|
346
|
+
try {
|
|
347
|
+
const chromeObj = window.chrome;
|
|
348
|
+
const storage = (_a = chromeObj == null ? void 0 : chromeObj.storage) == null ? void 0 : _a.sync;
|
|
349
|
+
if (storage && typeof storage.set === "function") {
|
|
350
|
+
storage.set({ [THEME_STORAGE_KEY]: next });
|
|
351
|
+
}
|
|
352
|
+
} catch (error) {
|
|
353
|
+
console.warn(
|
|
354
|
+
"[MF Devtools] persist theme to chrome.storage.sync failed",
|
|
355
|
+
error
|
|
356
|
+
);
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
};
|
|
242
360
|
const resetModuleInfo = (0, import_react.useCallback)(() => {
|
|
243
361
|
var _a;
|
|
244
362
|
const origin = ((_a = window.__FEDERATION__) == null ? void 0 : _a.originModuleInfo) || {};
|
|
@@ -298,7 +416,7 @@ const App = (props) => {
|
|
|
298
416
|
return hasModule ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_DependencyGraph.default, { snapshot: moduleInfo }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_App2.default.emptyState, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
299
417
|
import_web_react.Empty,
|
|
300
418
|
{
|
|
301
|
-
description: "
|
|
419
|
+
description: t("common.empty.noModuleInfo"),
|
|
302
420
|
className: import_App2.default.empty
|
|
303
421
|
}
|
|
304
422
|
) });
|
|
@@ -311,65 +429,91 @@ const App = (props) => {
|
|
|
311
429
|
)
|
|
312
430
|
}
|
|
313
431
|
);
|
|
432
|
+
case "loadingTrace":
|
|
433
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
434
|
+
import_LoadingTrace.default,
|
|
435
|
+
{
|
|
436
|
+
tabId: inspectedTab == null ? void 0 : inspectedTab.id,
|
|
437
|
+
resetKey: inspectedTabRefreshKey
|
|
438
|
+
}
|
|
439
|
+
);
|
|
314
440
|
case "performance":
|
|
315
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_App2.default.placeholder, children: "
|
|
441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_App2.default.placeholder, children: t("app.performance.placeholder") });
|
|
316
442
|
default:
|
|
317
443
|
return null;
|
|
318
444
|
}
|
|
319
445
|
};
|
|
320
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
{
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.statLabel, children: "Remotes" })
|
|
446
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
447
|
+
"div",
|
|
448
|
+
{
|
|
449
|
+
className: `${import_App2.default.shell} ${import_App2.default.overrideArco} ${effectiveTheme === "dark" ? "arco-theme-dark" : ""}`,
|
|
450
|
+
children: [
|
|
451
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("aside", { className: import_App2.default.sidebar, children: NAV_ITEMS.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
452
|
+
"button",
|
|
453
|
+
{
|
|
454
|
+
type: "button",
|
|
455
|
+
className: `${import_App2.default.tabItem} ${activePanel === item.key ? import_App2.default.activeTab : ""}`,
|
|
456
|
+
onClick: () => setActivePanel(item.key),
|
|
457
|
+
children: t(item.i18nKey)
|
|
458
|
+
},
|
|
459
|
+
item.key
|
|
460
|
+
)) }),
|
|
461
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: import_App2.default.panel, children: [
|
|
462
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", { className: import_App2.default.header, children: [
|
|
463
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.headerTop, children: [
|
|
464
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.branding, children: [
|
|
465
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.logo, children: t("app.header.title") }),
|
|
466
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.subtitle, children: t("app.header.subtitle") })
|
|
467
|
+
] }),
|
|
468
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.headerActions, children: [
|
|
469
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LanguageSwitch.default, {}),
|
|
470
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
471
|
+
import_ThemeToggle.default,
|
|
472
|
+
{
|
|
473
|
+
theme: effectiveTheme,
|
|
474
|
+
onToggle: handleThemeToggle
|
|
475
|
+
}
|
|
476
|
+
),
|
|
477
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web_react.Tooltip, { content: t("app.header.refresh.tooltip"), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
478
|
+
import_web_react.Button,
|
|
479
|
+
{
|
|
480
|
+
size: "default",
|
|
481
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon.IconRefresh, {}),
|
|
482
|
+
loading: refreshing,
|
|
483
|
+
onClick: handleRefresh,
|
|
484
|
+
className: import_ThemeToggle2.default.themeToggle
|
|
485
|
+
}
|
|
486
|
+
) })
|
|
487
|
+
] })
|
|
363
488
|
] }),
|
|
364
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.
|
|
365
|
-
/* @__PURE__ */ (0, import_jsx_runtime.
|
|
366
|
-
|
|
489
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.meta, children: [
|
|
490
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.scope, children: [
|
|
491
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.scopeLabel, children: t("app.header.scope.label") }),
|
|
492
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web_react.Tag, { className: "common-tag", children: (inspectedTab == null ? void 0 : inspectedTab.title) || t("app.header.scope.waiting") })
|
|
493
|
+
] }),
|
|
494
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.stats, children: [
|
|
495
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.statBlock, children: [
|
|
496
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.statValue, children: moduleCount }),
|
|
497
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.statLabel, children: t("app.header.stats.modules") })
|
|
498
|
+
] }),
|
|
499
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.statBlock, children: [
|
|
500
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.statValue, children: producer.length }),
|
|
501
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.statLabel, children: t("app.header.stats.remotes") })
|
|
502
|
+
] }),
|
|
503
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_App2.default.statBlock, children: [
|
|
504
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.statValue, children: consumerCount }),
|
|
505
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_App2.default.statLabel, children: t("app.header.stats.consumers") })
|
|
506
|
+
] })
|
|
507
|
+
] })
|
|
367
508
|
] })
|
|
368
|
-
] })
|
|
509
|
+
] }),
|
|
510
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_App2.default.body, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_App2.default.content, children: renderContent() }) })
|
|
369
511
|
] })
|
|
370
|
-
]
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
512
|
+
]
|
|
513
|
+
}
|
|
514
|
+
);
|
|
515
|
+
};
|
|
516
|
+
const App = (props) => {
|
|
517
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_i18next.I18nextProvider, { i18n: import_i18n.default, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InnerApp, __spreadValues({}, props)) });
|
|
374
518
|
};
|
|
375
519
|
var App_default = App;
|
package/dist/lib/App.module.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -22,4 +21,4 @@ __export(App_module_exports, {
|
|
|
22
21
|
});
|
|
23
22
|
module.exports = __toCommonJS(App_module_exports);
|
|
24
23
|
var import_App_module = require("./App_module.css");
|
|
25
|
-
var App_module_default = { "shell": "shell_ae2ee", "sidebar": "sidebar_ae2ee", "tabItem": "tabItem_ae2ee", "activeTab": "activeTab_ae2ee", "panel": "panel_ae2ee", "header": "header_ae2ee", "headerTop": "headerTop_ae2ee", "branding": "branding_ae2ee", "
|
|
24
|
+
var App_module_default = { "shell": "shell_ae2ee", "sidebar": "sidebar_ae2ee", "tabItem": "tabItem_ae2ee", "activeTab": "activeTab_ae2ee", "panel": "panel_ae2ee", "header": "header_ae2ee", "headerTop": "headerTop_ae2ee", "branding": "branding_ae2ee", "logo": "logo_ae2ee", "subtitle": "subtitle_ae2ee", "meta": "meta_ae2ee", "scope": "scope_ae2ee", "scopeLabel": "scopeLabel_ae2ee", "stats": "stats_ae2ee", "statBlock": "statBlock_ae2ee", "statValue": "statValue_ae2ee", "statLabel": "statLabel_ae2ee", "body": "body_ae2ee", "content": "content_ae2ee", "emptyState": "emptyState_ae2ee", "empty": "empty_ae2ee", "placeholder": "placeholder_ae2ee", "overrideArco": "overrideArco_ae2ee" };
|
package/dist/lib/App_module.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
flex: 1 1;
|
|
11
11
|
}
|
|
12
12
|
.arco-empty {
|
|
13
|
-
color: #4b5563;
|
|
13
|
+
color: var(--color-text-2, #4b5563);
|
|
14
14
|
}
|
|
15
15
|
.arco-select, .arco-input {
|
|
16
16
|
background: transparent;
|
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
border: 1px solid rgba(34, 197, 94, 0.35);
|
|
21
21
|
color: #4b5563;
|
|
22
22
|
}
|
|
23
|
+
body {
|
|
24
|
+
--form-control-alpha: 0.9;
|
|
25
|
+
}
|
|
26
|
+
body[arco-theme=dark] {
|
|
27
|
+
--form-control-alpha: 0.1;
|
|
28
|
+
}
|
|
23
29
|
|
|
24
30
|
.shell_ae2ee {
|
|
25
31
|
width: 100%;
|
|
@@ -41,8 +47,8 @@
|
|
|
41
47
|
gap: 12px;
|
|
42
48
|
padding: clamp(18px, 2.5vw, 24px) clamp(14px, 2vw, 18px);
|
|
43
49
|
border-radius: 22px;
|
|
44
|
-
border: 1px solid rgba(148, 163, 184, 0.18);
|
|
45
|
-
background: rgba(255, 255, 255, 0.95);
|
|
50
|
+
border: 1px solid var(--color-border-1, rgba(148, 163, 184, 0.18));
|
|
51
|
+
background: var(--color-bg-2, rgba(255, 255, 255, 0.95));
|
|
46
52
|
box-shadow: 0 18px 48px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(0, 0, 0, 0.05) inset;
|
|
47
53
|
box-sizing: border-box;
|
|
48
54
|
}
|
|
@@ -54,8 +60,8 @@
|
|
|
54
60
|
border: 1px solid transparent;
|
|
55
61
|
border-radius: 12px;
|
|
56
62
|
padding: 10px 12px;
|
|
57
|
-
background: rgba(249, 250, 251, 0.8);
|
|
58
|
-
color: rgba(55, 65, 81, 0.9);
|
|
63
|
+
background: var(--color-bg-2, rgba(249, 250, 251, 0.8));
|
|
64
|
+
color: var(--color-text-2, rgba(55, 65, 81, 0.9));
|
|
59
65
|
font-size: 13px;
|
|
60
66
|
letter-spacing: 0.04em;
|
|
61
67
|
text-transform: uppercase;
|
|
@@ -66,14 +72,14 @@
|
|
|
66
72
|
|
|
67
73
|
.tabItem_ae2ee:hover {
|
|
68
74
|
border-color: rgba(37, 49, 48, 0.45);
|
|
69
|
-
color: #1e293b;
|
|
75
|
+
color: var(--color-text-1, #1e293b);
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
.activeTab_ae2ee {
|
|
73
|
-
border-color: rgba(
|
|
74
|
-
background: linear-gradient(135deg, rgba(
|
|
75
|
-
color: #1e293b;
|
|
76
|
-
box-shadow: 0 12px 28px rgba(
|
|
79
|
+
border-color: rgba(24, 24, 27, 0.28);
|
|
80
|
+
background: linear-gradient(135deg, rgba(24, 24, 27, 0.08), rgba(113, 113, 122, 0.08));
|
|
81
|
+
color: var(--color-text-1, #1e293b);
|
|
82
|
+
box-shadow: 0 12px 28px rgba(24, 24, 27, 0.14);
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
.panel_ae2ee {
|
|
@@ -82,8 +88,8 @@
|
|
|
82
88
|
width: 100%;
|
|
83
89
|
max-width: 1120px;
|
|
84
90
|
min-height: calc(100vh - 56px);
|
|
85
|
-
background: rgba(255, 255, 255, 0.98);
|
|
86
|
-
border: 1px solid rgba(0, 0, 0, 0.08);
|
|
91
|
+
background: var(--color-bg-1, rgba(255, 255, 255, 0.98));
|
|
92
|
+
border: 1px solid var(--color-border-2, rgba(0, 0, 0, 0.08));
|
|
87
93
|
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.06), 0 2px 0 rgba(0, 0, 0, 0.04) inset;
|
|
88
94
|
border-radius: 22px;
|
|
89
95
|
padding: clamp(20px, 3vw, 32px);
|
|
@@ -91,7 +97,7 @@
|
|
|
91
97
|
flex-direction: column;
|
|
92
98
|
gap: 28px;
|
|
93
99
|
box-sizing: border-box;
|
|
94
|
-
color: #1f2937;
|
|
100
|
+
color: var(--color-text-1, #1f2937);
|
|
95
101
|
}
|
|
96
102
|
|
|
97
103
|
.header_ae2ee {
|
|
@@ -113,25 +119,17 @@
|
|
|
113
119
|
gap: 4px;
|
|
114
120
|
}
|
|
115
121
|
|
|
116
|
-
.refresh_ae2ee .arco-btn-primary {
|
|
117
|
-
background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(22, 163, 74, 0.7));
|
|
118
|
-
border-color: rgba(34, 197, 94, 0.65);
|
|
119
|
-
}
|
|
120
|
-
.refresh_ae2ee .arco-btn-primary:hover {
|
|
121
|
-
background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.85));
|
|
122
|
-
}
|
|
123
|
-
|
|
124
122
|
.logo_ae2ee {
|
|
125
123
|
font-size: 20px;
|
|
126
124
|
font-weight: 600;
|
|
127
125
|
letter-spacing: 0.02em;
|
|
128
|
-
color: #1e293b;
|
|
126
|
+
color: var(--color-text-1, #1e293b);
|
|
129
127
|
}
|
|
130
128
|
|
|
131
129
|
.subtitle_ae2ee {
|
|
132
130
|
font-size: 12px;
|
|
133
131
|
font-weight: 500;
|
|
134
|
-
color: rgba(75, 85, 99, 0.8);
|
|
132
|
+
color: var(--color-text-2, rgba(75, 85, 99, 0.8));
|
|
135
133
|
text-transform: uppercase;
|
|
136
134
|
letter-spacing: 0.12em;
|
|
137
135
|
}
|
|
@@ -153,7 +151,7 @@
|
|
|
153
151
|
|
|
154
152
|
.scopeLabel_ae2ee {
|
|
155
153
|
font-size: 12px;
|
|
156
|
-
color: rgba(75, 85, 99, 0.85);
|
|
154
|
+
color: var(--color-text-2, rgba(75, 85, 99, 0.85));
|
|
157
155
|
text-transform: uppercase;
|
|
158
156
|
letter-spacing: 0.08em;
|
|
159
157
|
}
|
|
@@ -172,7 +170,7 @@
|
|
|
172
170
|
min-width: 80px;
|
|
173
171
|
padding: 12px 14px;
|
|
174
172
|
border-radius: 14px;
|
|
175
|
-
background: linear-gradient(140deg, rgba(243, 244, 246, 0
|
|
173
|
+
background: linear-gradient(140deg, rgba(243, 244, 246, 0) 0%, rgba(229, 231, 235, 0.1) 100%);
|
|
176
174
|
border: 1px solid rgba(203, 213, 225, 0.4);
|
|
177
175
|
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
|
|
178
176
|
}
|
|
@@ -180,13 +178,13 @@
|
|
|
180
178
|
.statValue_ae2ee {
|
|
181
179
|
font-size: 22px;
|
|
182
180
|
font-weight: 600;
|
|
183
|
-
color: #1e293b;
|
|
181
|
+
color: var(--color-text-1, #1e293b);
|
|
184
182
|
line-height: 1.1;
|
|
185
183
|
}
|
|
186
184
|
|
|
187
185
|
.statLabel_ae2ee {
|
|
188
186
|
font-size: 11px;
|
|
189
|
-
color: rgba(75, 85, 99, 0.88);
|
|
187
|
+
color: var(--color-text-2, rgba(75, 85, 99, 0.88));
|
|
190
188
|
letter-spacing: 0.04em;
|
|
191
189
|
text-transform: uppercase;
|
|
192
190
|
}
|
|
@@ -251,7 +249,7 @@
|
|
|
251
249
|
justify-content: center;
|
|
252
250
|
border-radius: 18px;
|
|
253
251
|
border: 1px dashed rgba(203, 213, 225, 0.4);
|
|
254
|
-
background: rgba(255, 255, 255, 0.8);
|
|
252
|
+
background: var(--color-bg-2, rgba(255, 255, 255, 0.8));
|
|
255
253
|
padding: 32px;
|
|
256
254
|
}
|
|
257
255
|
|
|
@@ -266,8 +264,8 @@
|
|
|
266
264
|
justify-content: center;
|
|
267
265
|
border-radius: 18px;
|
|
268
266
|
border: 1px dashed rgba(203, 213, 225, 0.4);
|
|
269
|
-
background: rgba(255, 255, 255, 0.8);
|
|
270
|
-
color: rgba(75, 85, 99, 0.75);
|
|
267
|
+
background: var(--color-bg-2, rgba(255, 255, 255, 0.8));
|
|
268
|
+
color: var(--color-text-2, rgba(75, 85, 99, 0.75));
|
|
271
269
|
font-size: 14px;
|
|
272
270
|
letter-spacing: 0.08em;
|
|
273
271
|
text-transform: uppercase;
|
|
@@ -275,18 +273,18 @@
|
|
|
275
273
|
|
|
276
274
|
.overrideArco_ae2ee .arco-input-inner-wrapper,
|
|
277
275
|
.overrideArco_ae2ee .arco-select-view {
|
|
278
|
-
background-color: #fff !important;
|
|
279
|
-
border-color: rgba(228, 228, 231, 0.5) !important;
|
|
276
|
+
background-color: var(--color-bg-1, #fff) !important;
|
|
277
|
+
border-color: var(--color-border-2, rgba(228, 228, 231, 0.5)) !important;
|
|
280
278
|
}
|
|
281
279
|
.overrideArco_ae2ee .arco-input-inner-wrapper:hover,
|
|
282
280
|
.overrideArco_ae2ee .arco-select-view:hover {
|
|
283
|
-
background-color: #fff !important;
|
|
284
|
-
border-color: rgba(228, 228, 231, 0.5) !important;
|
|
281
|
+
background-color: var(--color-bg-1, #fff) !important;
|
|
282
|
+
border-color: var(--color-border-2, rgba(228, 228, 231, 0.5)) !important;
|
|
285
283
|
}
|
|
286
284
|
.overrideArco_ae2ee .arco-input-inner-wrapper:focus-within,
|
|
287
285
|
.overrideArco_ae2ee .arco-select-view-focus {
|
|
288
|
-
background-color: #fff !important;
|
|
289
|
-
border-color: rgba(228, 228, 231, 0.5) !important;
|
|
286
|
+
background-color: var(--color-bg-1, #fff) !important;
|
|
287
|
+
border-color: var(--color-border-2, rgba(228, 228, 231, 0.5)) !important;
|
|
290
288
|
}
|
|
291
289
|
.overrideArco_ae2ee .arco-collapse-item .arco-collapse-item-icon-hover {
|
|
292
290
|
top: 25% !important;
|
|
@@ -296,10 +294,14 @@
|
|
|
296
294
|
}
|
|
297
295
|
|
|
298
296
|
.arco-table-th {
|
|
299
|
-
background-color: rgb(250 250 250/var(--tw-bg-opacity)) !important;
|
|
300
|
-
border-bottom-color: rgb(228 228 231/var(--tw-border-opacity)) !important;
|
|
297
|
+
background-color: var(--color-bg-2, rgb(250 250 250/var(--tw-bg-opacity))) !important;
|
|
298
|
+
border-bottom-color: var(--color-border-2, rgb(228 228 231/var(--tw-border-opacity))) !important;
|
|
301
299
|
}
|
|
302
300
|
|
|
303
301
|
.arco-table-td {
|
|
304
|
-
border-bottom-color: rgba(228, 228, 231, 0.5) !important;
|
|
302
|
+
border-bottom-color: var(--color-border-2, rgba(228, 228, 231, 0.5)) !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.shell_ae2ee.arco-theme-dark {
|
|
306
|
+
background: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.98) 55%), linear-gradient(135deg, var(--color-bg-1, #020617) 0%, var(--color-bg-2, #020617) 100%);
|
|
305
307
|
}
|