@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.
Files changed (203) hide show
  1. package/README.md +3 -0
  2. package/dist/es/App.css +6 -5
  3. package/dist/es/App.js +211 -63
  4. package/dist/es/App.module.js +1 -1
  5. package/dist/es/App_module.css +41 -39
  6. package/dist/es/component/DependencyGraph/index.js +11 -12
  7. package/dist/es/component/DependencyGraph/index_module.css +20 -17
  8. package/dist/es/component/DependencyGraphItem/index.js +23 -10
  9. package/dist/es/component/DependencyGraphItem/index_module.css +7 -7
  10. package/dist/es/component/Form/index.js +24 -31
  11. package/dist/es/component/Form/index.module.js +1 -1
  12. package/dist/es/component/Form/index_module.css +22 -25
  13. package/dist/es/component/LanguageSwitch.js +50 -0
  14. package/dist/es/component/Layout/index.js +27 -10
  15. package/dist/es/component/Layout/index_module.css +7 -7
  16. package/dist/es/component/LoadingTrace/index.js +944 -0
  17. package/dist/es/component/LoadingTrace/index.module.js +5 -0
  18. package/dist/es/component/LoadingTrace/index_module.css +876 -0
  19. package/dist/es/component/ModuleInfo/index.js +65 -41
  20. package/dist/es/component/ModuleInfo/index_module.css +12 -11
  21. package/dist/es/component/SharedDepsExplorer/FocusResultDisplay.js +5 -3
  22. package/dist/es/component/SharedDepsExplorer/FocusResultDisplay_module.css +5 -5
  23. package/dist/es/component/SharedDepsExplorer/index.js +223 -96
  24. package/dist/es/component/SharedDepsExplorer/index_module.css +12 -2
  25. package/dist/es/component/SharedDepsExplorer/share-utils.js +21 -5
  26. package/dist/es/component/ThemeToggle.js +19 -0
  27. package/dist/es/component/ThemeToggle.module.js +5 -0
  28. package/dist/es/component/ThemeToggle_module.css +12 -0
  29. package/dist/es/hooks/useDevtoolsTheme.js +77 -0
  30. package/dist/es/i18n/index.js +688 -0
  31. package/dist/es/utils/chrome/fast-refresh.js +297 -173
  32. package/dist/es/utils/chrome/index.js +42 -22
  33. package/dist/es/utils/chrome/messages.js +7 -1
  34. package/dist/es/utils/chrome/observability-plugin.js +93 -0
  35. package/dist/es/utils/chrome/observability-shared.js +99 -0
  36. package/dist/es/utils/chrome/observability.js +208 -0
  37. package/dist/es/utils/chrome/override-remote.js +7 -0
  38. package/dist/es/utils/chrome/post-message-listener.js +22 -4
  39. package/dist/es/utils/chrome/post-message-start.js +4 -10
  40. package/dist/es/utils/chrome/post-message.js +12 -3
  41. package/dist/es/utils/chrome/resolve-basic-proxy-core.js +4 -0
  42. package/dist/es/utils/chrome/safe-post-message.js +124 -0
  43. package/dist/es/utils/chrome/snapshot-plugin.js +2 -36
  44. package/dist/es/utils/data/index.js +5 -25
  45. package/dist/es/utils/sdk/graph.js +25 -11
  46. package/dist/es/vendor/basic-proxy-core.js +155 -0
  47. package/dist/es/worker/index.js +27 -8
  48. package/dist/lib/App.css +6 -5
  49. package/dist/lib/App.js +208 -64
  50. package/dist/lib/App.module.js +1 -2
  51. package/dist/lib/App_module.css +41 -39
  52. package/dist/lib/component/DependencyGraph/index.js +11 -13
  53. package/dist/lib/component/DependencyGraph/index.module.js +0 -1
  54. package/dist/lib/component/DependencyGraph/index_module.css +20 -17
  55. package/dist/lib/component/DependencyGraphItem/index.js +23 -11
  56. package/dist/lib/component/DependencyGraphItem/index.module.js +0 -1
  57. package/dist/lib/component/DependencyGraphItem/index_module.css +7 -7
  58. package/dist/lib/component/Form/index.js +24 -32
  59. package/dist/lib/component/Form/index.module.js +1 -2
  60. package/dist/lib/component/Form/index_module.css +22 -25
  61. package/dist/lib/component/LanguageSwitch.js +79 -0
  62. package/dist/lib/component/Layout/index.js +27 -11
  63. package/dist/lib/component/Layout/index.module.js +0 -1
  64. package/dist/lib/component/Layout/index_module.css +7 -7
  65. package/dist/lib/component/LoadingTrace/index.js +953 -0
  66. package/dist/lib/component/LoadingTrace/index.module.js +24 -0
  67. package/dist/lib/component/LoadingTrace/index_module.css +876 -0
  68. package/dist/lib/component/ModuleInfo/index.js +65 -42
  69. package/dist/lib/component/ModuleInfo/index.module.js +0 -1
  70. package/dist/lib/component/ModuleInfo/index_module.css +12 -11
  71. package/dist/lib/component/SharedDepsExplorer/FocusResultDisplay.js +5 -4
  72. package/dist/lib/component/SharedDepsExplorer/FocusResultDisplay.module.js +0 -1
  73. package/dist/lib/component/SharedDepsExplorer/FocusResultDisplay_module.css +5 -5
  74. package/dist/lib/component/SharedDepsExplorer/index.js +217 -95
  75. package/dist/lib/component/SharedDepsExplorer/index.module.js +0 -1
  76. package/dist/lib/component/SharedDepsExplorer/index_module.css +12 -2
  77. package/dist/lib/component/SharedDepsExplorer/share-utils.js +21 -6
  78. package/dist/lib/component/ThemeToggle.js +48 -0
  79. package/dist/lib/component/ThemeToggle.module.js +24 -0
  80. package/dist/lib/component/ThemeToggle_module.css +12 -0
  81. package/dist/lib/hooks/useDevtoolsTheme.js +100 -0
  82. package/dist/lib/i18n/index.js +721 -0
  83. package/dist/lib/init.js +0 -1
  84. package/dist/lib/template/constant.js +0 -1
  85. package/dist/lib/template/index.js +0 -1
  86. package/dist/lib/utils/chrome/fast-refresh.js +250 -136
  87. package/dist/lib/utils/chrome/index.js +43 -23
  88. package/dist/lib/utils/chrome/messages.js +11 -3
  89. package/dist/lib/utils/chrome/observability-plugin.js +85 -0
  90. package/dist/lib/utils/chrome/observability-shared.js +125 -0
  91. package/dist/lib/utils/chrome/observability.js +233 -0
  92. package/dist/lib/utils/chrome/override-remote.js +20 -0
  93. package/dist/lib/utils/chrome/post-message-init.js +0 -1
  94. package/dist/lib/utils/chrome/post-message-listener.js +19 -5
  95. package/dist/lib/utils/chrome/post-message-start.js +4 -11
  96. package/dist/lib/utils/chrome/post-message.js +12 -4
  97. package/dist/lib/utils/chrome/resolve-basic-proxy-core.js +27 -0
  98. package/dist/lib/utils/chrome/safe-post-message.js +147 -0
  99. package/dist/lib/utils/chrome/snapshot-plugin.js +5 -47
  100. package/dist/lib/utils/chrome/storage.js +0 -1
  101. package/dist/lib/utils/data/index.js +6 -29
  102. package/dist/lib/utils/index.js +0 -1
  103. package/dist/lib/utils/sdk/graph.js +25 -12
  104. package/dist/lib/utils/sdk/index.js +0 -1
  105. package/dist/lib/utils/types/common.js +0 -1
  106. package/dist/lib/utils/types/index.js +0 -1
  107. package/dist/lib/vendor/basic-proxy-core.js +147 -0
  108. package/dist/lib/worker/index.js +27 -9
  109. package/dist/types/App.css +13 -0
  110. package/dist/types/App.js +519 -0
  111. package/dist/types/App.module.js +24 -0
  112. package/dist/types/App_module.css +307 -0
  113. package/dist/types/component/DependencyGraph/index.js +225 -0
  114. package/dist/types/component/DependencyGraph/index.module.js +24 -0
  115. package/dist/types/component/DependencyGraph/index_module.css +100 -0
  116. package/dist/types/component/DependencyGraphItem/index.js +124 -0
  117. package/dist/types/component/DependencyGraphItem/index.module.js +24 -0
  118. package/dist/types/component/DependencyGraphItem/index_module.css +95 -0
  119. package/dist/types/component/Form/index.js +372 -0
  120. package/dist/types/component/Form/index.module.js +24 -0
  121. package/dist/types/component/Form/index_module.css +198 -0
  122. package/dist/types/component/LanguageSwitch.js +79 -0
  123. package/dist/types/component/Layout/index.js +471 -0
  124. package/dist/types/component/Layout/index.module.js +24 -0
  125. package/dist/types/component/Layout/index_module.css +68 -0
  126. package/dist/types/component/LoadingTrace/index.js +953 -0
  127. package/dist/types/component/LoadingTrace/index.module.js +24 -0
  128. package/dist/types/component/LoadingTrace/index_module.css +876 -0
  129. package/dist/types/component/ModuleInfo/index.js +342 -0
  130. package/dist/types/component/ModuleInfo/index.module.js +24 -0
  131. package/dist/types/component/ModuleInfo/index_module.css +184 -0
  132. package/dist/types/component/SharedDepsExplorer/FocusResultDisplay.js +64 -0
  133. package/dist/types/component/SharedDepsExplorer/FocusResultDisplay.module.js +24 -0
  134. package/dist/types/component/SharedDepsExplorer/FocusResultDisplay_module.css +45 -0
  135. package/dist/types/component/SharedDepsExplorer/index.js +635 -0
  136. package/dist/types/component/SharedDepsExplorer/index.module.js +24 -0
  137. package/dist/types/component/SharedDepsExplorer/index_module.css +467 -0
  138. package/dist/types/component/SharedDepsExplorer/share-utils.js +252 -0
  139. package/dist/types/component/ThemeToggle.js +48 -0
  140. package/dist/types/component/ThemeToggle.module.js +24 -0
  141. package/dist/types/component/ThemeToggle_module.css +12 -0
  142. package/dist/types/hooks/useDevtoolsTheme.js +100 -0
  143. package/dist/types/i18n/index.js +721 -0
  144. package/dist/types/init.js +8 -0
  145. package/dist/types/src/App.d.ts +1 -1
  146. package/dist/types/src/component/DependencyGraph/index.d.ts +1 -1
  147. package/dist/types/src/component/DependencyGraphItem/index.d.ts +1 -1
  148. package/dist/types/src/component/Form/index.d.ts +1 -1
  149. package/dist/types/src/component/LanguageSwitch.d.ts +2 -0
  150. package/dist/types/src/component/Layout/index.d.ts +1 -1
  151. package/dist/types/src/component/LoadingTrace/index.d.ts +6 -0
  152. package/dist/types/src/component/ModuleInfo/index.d.ts +1 -1
  153. package/dist/types/src/component/SharedDepsExplorer/index.d.ts +1 -1
  154. package/dist/types/src/component/SharedDepsExplorer/share-utils.d.ts +3 -2
  155. package/dist/types/src/component/ThemeToggle.d.ts +8 -0
  156. package/dist/types/src/hooks/useDevtoolsTheme.d.ts +2 -0
  157. package/dist/types/src/i18n/index.d.ts +5 -0
  158. package/dist/types/src/template/constant.d.ts +1 -1
  159. package/dist/types/src/utils/chrome/index.d.ts +2 -1
  160. package/dist/types/src/utils/chrome/messages.d.ts +3 -0
  161. package/dist/types/src/utils/chrome/observability-plugin.d.ts +1 -0
  162. package/dist/types/src/utils/chrome/observability-shared.d.ts +41 -0
  163. package/dist/types/src/utils/chrome/observability.d.ts +110 -0
  164. package/dist/types/src/utils/chrome/override-remote.d.ts +1 -0
  165. package/dist/types/src/utils/chrome/post-message-listener.d.ts +1 -0
  166. package/dist/types/src/utils/chrome/post-message-start.d.ts +1 -1
  167. package/dist/types/src/utils/chrome/resolve-basic-proxy-core.d.ts +6 -0
  168. package/dist/types/src/utils/chrome/safe-post-message.d.ts +1 -0
  169. package/dist/types/src/utils/chrome/snapshot-plugin.d.ts +0 -3
  170. package/dist/types/src/utils/data/index.d.ts +1 -2
  171. package/dist/types/src/utils/sdk/graph.d.ts +1 -1
  172. package/dist/types/src/utils/sdk/index.d.ts +2 -2
  173. package/dist/types/stories/index.stories.d.ts +2 -1
  174. package/dist/types/template/constant.js +84 -0
  175. package/dist/types/template/index.js +21 -0
  176. package/dist/types/utils/chrome/fast-refresh.js +329 -0
  177. package/dist/types/utils/chrome/index.js +321 -0
  178. package/dist/types/utils/chrome/messages.js +39 -0
  179. package/dist/types/utils/chrome/observability-plugin.js +85 -0
  180. package/dist/types/utils/chrome/observability-shared.js +125 -0
  181. package/dist/types/utils/chrome/observability.js +233 -0
  182. package/dist/types/utils/chrome/override-remote.js +20 -0
  183. package/dist/types/utils/chrome/post-message-init.js +5 -0
  184. package/dist/types/utils/chrome/post-message-listener.js +36 -0
  185. package/dist/types/utils/chrome/post-message-start.js +10 -0
  186. package/dist/types/utils/chrome/post-message.js +91 -0
  187. package/dist/types/utils/chrome/resolve-basic-proxy-core.js +27 -0
  188. package/dist/types/utils/chrome/safe-post-message.js +147 -0
  189. package/dist/types/utils/chrome/snapshot-plugin.js +17 -0
  190. package/dist/types/utils/chrome/storage.js +71 -0
  191. package/dist/types/utils/data/index.js +83 -0
  192. package/dist/types/utils/index.js +27 -0
  193. package/dist/types/utils/sdk/graph.js +213 -0
  194. package/dist/types/utils/sdk/index.js +104 -0
  195. package/dist/types/utils/types/common.js +15 -0
  196. package/dist/types/utils/types/index.js +21 -0
  197. package/dist/types/vendor/basic-proxy-core.js +147 -0
  198. package/dist/types/worker/index.js +175 -0
  199. package/install-deps.bash +7 -3
  200. package/package.json +47 -28
  201. package/dist/es/utils/data/snapshot.js +0 -82
  202. package/dist/lib/utils/data/snapshot.js +0 -107
  203. package/dist/types/src/utils/data/snapshot.d.ts +0 -3
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __defProps = Object.defineProperties;
@@ -53,6 +52,7 @@ var import_react = require("react");
53
52
  var import_reactflow = __toESM(require("reactflow"));
54
53
  var import_dagre = __toESM(require("dagre"));
55
54
  var import_web_react = require("@arco-design/web-react");
55
+ var import_react_i18next = require("react-i18next");
56
56
  var import_graph = require("../../utils/sdk/graph");
57
57
  var import_DependencyGraphItem = __toESM(require("../DependencyGraphItem"));
58
58
  var import_utils = require("../../utils");
@@ -63,6 +63,7 @@ const nodeHeight = 420;
63
63
  const nodeTypes = { graphItem: import_DependencyGraphItem.default };
64
64
  const { Option } = import_web_react.Select;
65
65
  const Graph = (props) => {
66
+ const { t } = (0, import_react_i18next.useTranslation)();
66
67
  const [nodes, setNodes, onNodesChange] = (0, import_reactflow.useNodesState)([]);
67
68
  const [edges, setEdges, onEdgesChange] = (0, import_reactflow.useEdgesState)([]);
68
69
  const { snapshot } = props;
@@ -164,20 +165,20 @@ const Graph = (props) => {
164
165
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.depWrapper, children: [
165
166
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.header, children: [
166
167
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.titleBlock, children: [
167
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.title, children: "Dependency Graph" }),
168
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.subtitle, children: "Visualise how consumers resolve remotes with the current overrides." })
168
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.title, children: t("dependencyGraph.title") }),
169
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.subtitle, children: t("dependencyGraph.subtitle") })
169
170
  ] }),
170
171
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.filterBlock, children: [
171
172
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
172
173
  import_web_react.Select,
173
174
  {
174
175
  showSearch: true,
175
- placeholder: "Select Consumer",
176
+ placeholder: t("dependencyGraph.filters.consumerPlaceholder"),
176
177
  style: { width: 200 },
177
178
  value: selectedConsumer,
178
179
  onChange: setSelectedConsumer,
179
180
  children: [
180
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: "All", children: "All Consumers" }),
181
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: "All", children: t("dependencyGraph.filters.consumerAll") }),
181
182
  Object.keys(consumers).map((key) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: key, children: key }, key))
182
183
  ]
183
184
  }
@@ -186,17 +187,14 @@ const Graph = (props) => {
186
187
  import_web_react.Select,
187
188
  {
188
189
  showSearch: true,
189
- placeholder: "Select Depth",
190
+ placeholder: t("dependencyGraph.filters.depthPlaceholder"),
190
191
  style: { width: 120 },
191
192
  value: maxDepth === Infinity ? "All" : maxDepth,
192
- onChange: (val) => setMaxDepth(val === "All" ? Infinity : val),
193
+ onChange: (val) => setMaxDepth(val === "All" ? Infinity : Number(val)),
193
194
  children: [
194
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: "All", children: "All Depth" }),
195
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: "All", children: t("dependencyGraph.filters.depthAll") }),
195
196
  Array.from({ length: availableDepth }, (_, i) => i + 1).map(
196
- (depth) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Option, { value: depth, children: [
197
- "Depth: ",
198
- depth
199
- ] }, depth)
197
+ (depth) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: depth, children: t("dependencyGraph.filters.depthOption", { depth }) }, depth)
200
198
  )
201
199
  ]
202
200
  }
@@ -204,7 +202,7 @@ const Graph = (props) => {
204
202
  ] }),
205
203
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.meta, children: [
206
204
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.metaBadge, children: nodes.length }),
207
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.metaLabel, children: nodes.length === 1 ? "node rendered" : "nodes rendered" })
205
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.metaLabel, children: nodes.length === 1 ? t("dependencyGraph.meta.singleNode") : t("dependencyGraph.meta.multiNodes") })
208
206
  ] })
209
207
  ] }),
210
208
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_index.default.canvas, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -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;
@@ -3,7 +3,7 @@
3
3
  flex-direction: column;
4
4
  gap: 16px;
5
5
  min-height: 340px;
6
- color: #1f2937;
6
+ color: var(--color-text-1, #1f2937);
7
7
  }
8
8
 
9
9
  .header_5e584 {
@@ -12,7 +12,7 @@
12
12
  align-items: flex-start;
13
13
  gap: 18px;
14
14
  padding: 0 6px 6px;
15
- border-bottom: 1px solid rgba(96, 165, 250, 0.3);
15
+ border-bottom: 1px solid var(--color-border-2, rgba(96, 165, 250, 0.3));
16
16
  }
17
17
 
18
18
  .titleBlock_5e584 {
@@ -24,12 +24,12 @@
24
24
  .title_5e584 {
25
25
  font-size: 16px;
26
26
  font-weight: 600;
27
- color: #1f2937;
27
+ color: var(--color-text-1, #1f2937);
28
28
  }
29
29
 
30
30
  .subtitle_5e584 {
31
31
  font-size: 12px;
32
- color: #4b5563;
32
+ color: var(--color-text-2, #4b5563);
33
33
  max-width: 260px;
34
34
  line-height: 1.5;
35
35
  }
@@ -38,21 +38,21 @@
38
38
  display: flex;
39
39
  align-items: center;
40
40
  gap: 10px;
41
- background: rgba(228, 228, 231, 0.5);
41
+ background: var(--color-bg-2, rgba(228, 228, 231, 0.5));
42
42
  padding: 4px 12px;
43
43
  border-radius: 999px;
44
- border: 1px solid rgba(96, 165, 250, 0.3);
44
+ border: 1px solid var(--color-border-2, rgba(96, 165, 250, 0.3));
45
45
  }
46
46
 
47
47
  .metaBadge_5e584 {
48
48
  font-size: 16px;
49
49
  font-weight: 600;
50
- color: #1f2937;
50
+ color: var(--color-text-1, #1f2937);
51
51
  }
52
52
 
53
53
  .metaLabel_5e584 {
54
54
  font-size: 12px;
55
- color: #4b5563;
55
+ color: var(--color-text-2, #4b5563);
56
56
  }
57
57
 
58
58
  .filterBlock_5e584 {
@@ -65,19 +65,19 @@
65
65
  flex: 1 1;
66
66
  padding: 12px;
67
67
  border-radius: 16px;
68
- border: 1px solid rgba(96, 165, 250, 0.3);
69
- background: rgba(228, 228, 231, 0.5);
68
+ border: 1px solid var(--color-border-1, rgba(96, 165, 250, 0.3));
69
+ background: var(--color-bg-2, rgba(228, 228, 231, 0.5));
70
70
  backdrop-filter: blur(4px);
71
71
  }
72
72
  .canvas_5e584 .react-flow__handle {
73
73
  width: 10px;
74
74
  height: 10px;
75
75
  border-radius: 50%;
76
- border: 2px solid rgba(96, 165, 250, 0.3);
77
- background: rgba(243, 244, 246, 0.9);
76
+ border: 2px solid var(--color-border-1, rgba(96, 165, 250, 0.3));
77
+ background: var(--color-bg-1, rgba(243, 244, 246, 0.9));
78
78
  }
79
79
  .canvas_5e584 .react-flow__controls-button:hover {
80
- background: rgba(243, 244, 246, 0.9);
80
+ background: var(--color-bg-1, rgba(243, 244, 246, 0.9));
81
81
  }
82
82
 
83
83
  .graph_5e584 {
@@ -88,10 +88,13 @@
88
88
  }
89
89
 
90
90
  .controls_5e584 .react-flow__controls-button {
91
- background: rgba(243, 244, 246, 0.3);
92
- border-color: rgba(96, 165, 250, 0.3);
93
- color: #1f2937;
91
+ background: var(--color-bg-2, rgba(243, 244, 246, 0.3));
92
+ border-color: var(--color-border-1, rgba(96, 165, 250, 0.3));
93
+ color: var(--color-text-1, #1f2937);
94
94
  }
95
95
  .controls_5e584 .react-flow__controls-button:hover {
96
- background: rgb(255, 255, 255);
96
+ background: var(--color-bg-1, #ffffff);
97
+ }
98
+ .arco-theme-dark .controls_5e584 .react-flow__controls-button {
99
+ background: var(--color-bg-white);
97
100
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -34,21 +33,34 @@ module.exports = __toCommonJS(DependencyGraphItem_exports);
34
33
  var import_jsx_runtime = require("react/jsx-runtime");
35
34
  var import_react = require("react");
36
35
  var import_reactflow = require("reactflow");
36
+ var import_react_i18next = require("react-i18next");
37
37
  var import_index = __toESM(require("./index.module"));
38
38
  var import_style = require("reactflow/dist/style.css");
39
+ const parseInfo = (info) => {
40
+ const array = info.split(":");
41
+ const [fallbackName, fallbackVersion = ""] = array;
42
+ const idx = array.findIndex((item, index) => {
43
+ return index > 0 && (item.startsWith("http") || item.startsWith("//"));
44
+ });
45
+ if (idx > 0) {
46
+ return {
47
+ name: array.slice(0, idx).join(":"),
48
+ version: array.slice(idx).join(":")
49
+ };
50
+ }
51
+ return {
52
+ name: fallbackName,
53
+ version: fallbackVersion
54
+ };
55
+ };
39
56
  const GraphItem = (props) => {
40
57
  const [shareds, setShareds] = (0, import_react.useState)([]);
41
58
  const [exposes, setExposes] = (0, import_react.useState)([]);
59
+ const { t } = (0, import_react_i18next.useTranslation)();
42
60
  let name;
43
61
  let version;
44
62
  const { info = "", color, remote } = props.data;
45
- const infoArray = info.split(":");
46
- if (info.endsWith(".json") || info.endsWith(".js")) {
47
- name = infoArray.shift();
48
- version = infoArray.join(":");
49
- } else {
50
- [name, version] = infoArray;
51
- }
63
+ ({ name, version } = parseInfo(info));
52
64
  const isEntryType = (version == null ? void 0 : version.startsWith("http")) || (version == null ? void 0 : version.startsWith("//"));
53
65
  (0, import_react.useEffect)(() => {
54
66
  var _a, _b;
@@ -89,19 +101,19 @@ const GraphItem = (props) => {
89
101
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_index.default.group, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_index.default.name, children: name }) }),
90
102
  version && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.info, children: [
91
103
  exposes.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default["expose-container"], children: [
92
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.type, children: "Expose" }),
104
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.type, children: t("graphItem.expose") }),
93
105
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: exposes.map((expose, index) => {
94
106
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.item, children: expose }, index);
95
107
  }) })
96
108
  ] }) : null,
97
109
  shareds.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default["expose-container"], children: [
98
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.type, children: "Shared" }),
110
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.type, children: t("graphItem.shared") }),
99
111
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: shareds.map((shared, index) => {
100
112
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.item, children: shared }, index);
101
113
  }) })
102
114
  ] }) : null,
103
115
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.message, children: [
104
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.type, children: isEntryType ? "Entry" : "Version" }),
116
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.type, children: isEntryType ? t("graphItem.entry") : t("graphItem.version") }),
105
117
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.item, children: version })
106
118
  ] })
107
119
  ] })
@@ -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;
@@ -2,11 +2,11 @@
2
2
  display: flex;
3
3
  width: 320px;
4
4
  border-radius: 18px;
5
- border: 1px solid rgba(96, 165, 250, 0.3);
5
+ border: 1px solid var(--color-border-1, rgba(96, 165, 250, 0.3));
6
6
  overflow: hidden;
7
7
  box-shadow: 0 18px 32px rgba(8, 11, 25, 0.35);
8
- background: linear-gradient(140deg, var(--mf-accent, rgba(243, 244, 246, 0.9)) 0%, rgba(229, 231, 235, 0.7) 45%, rgba(255, 255, 255, 0.95) 100%), rgba(255, 255, 255, 0.9);
9
- color: #1f2937;
8
+ background: linear-gradient(140deg, var(--mf-accent, rgba(243, 244, 246, 0.9)) 0%, rgba(229, 231, 235, 0.7) 45%, rgba(255, 255, 255, 0.95) 100%), var(--color-bg-2, rgba(255, 255, 255, 0.9));
9
+ color: var(--color-text-1, #1f2937);
10
10
  backdrop-filter: blur(4px);
11
11
  }
12
12
  .Wrapper_d8079 .react-flow__handle {
@@ -62,7 +62,7 @@
62
62
  font-weight: 600;
63
63
  text-transform: uppercase;
64
64
  letter-spacing: 0.04em;
65
- color: #4b5563;
65
+ color: var(--color-text-2, #4b5563);
66
66
  }
67
67
  .Wrapper_d8079 .item_d8079 {
68
68
  display: inline-flex;
@@ -70,7 +70,7 @@
70
70
  padding: 4px 8px;
71
71
  border-radius: 999px;
72
72
  background: rgba(243, 244, 246, 0.6);
73
- color: #1f2937;
73
+ color: var(--color-text-1, #1f2937);
74
74
  font-size: 10px;
75
75
  font-weight: 500;
76
76
  margin-right: 6px;
@@ -85,11 +85,11 @@
85
85
  align-items: center;
86
86
  gap: 6px;
87
87
  font-size: 11px;
88
- color: #4b5563;
88
+ color: var(--color-text-2, #4b5563);
89
89
  }
90
90
  .Wrapper_d8079 .message_d8079 .item_d8079 {
91
91
  margin-right: 0;
92
92
  padding: 4px 10px;
93
93
  background: rgba(243, 244, 246, 0.6);
94
- color: #1f2937;
94
+ color: var(--color-text-1, #1f2937);
95
95
  }
@@ -1,4 +1,3 @@
1
- "use strict";
2
1
  var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -54,6 +53,7 @@ module.exports = __toCommonJS(Form_exports);
54
53
  var import_jsx_runtime = require("react/jsx-runtime");
55
54
  var import_react = require("react");
56
55
  var import_web_react = require("@arco-design/web-react");
56
+ var import_react_i18next = require("react-i18next");
57
57
  var import_icon = require("@arco-design/web-react/icon");
58
58
  var import_constant = require("../../template/constant");
59
59
  var import_utils = require("../../utils");
@@ -77,6 +77,7 @@ const FormComponent = (props) => {
77
77
  enableClip,
78
78
  onClipChange
79
79
  } = props;
80
+ const { t } = (0, import_react_i18next.useTranslation)();
80
81
  const federation = window.__FEDERATION__ || {
81
82
  moduleInfo: {},
82
83
  originModuleInfo: {}
@@ -84,8 +85,8 @@ const FormComponent = (props) => {
84
85
  const { moduleInfo } = federation;
85
86
  let { producer } = (0, import_utils.separateType)(moduleInfo);
86
87
  const filterDupMap = /* @__PURE__ */ new Map();
87
- producer = producer.filter((t) => {
88
- const [typeOrName, name] = t.split(":");
88
+ producer = producer.filter((tItem) => {
89
+ const [typeOrName, name] = tItem.split(":");
89
90
  const marked = filterDupMap.get(name || typeOrName);
90
91
  filterDupMap.set(name || typeOrName, true);
91
92
  return !marked;
@@ -142,7 +143,7 @@ const FormComponent = (props) => {
142
143
  setTimeout(() => {
143
144
  setFormStatus(statusSet);
144
145
  }, 0);
145
- return callback("Module name can not be empty");
146
+ return callback(t("form.validation.moduleNameRequired"));
146
147
  };
147
148
  const validateValue = (value, callback, index) => {
148
149
  const status = getCheckStatus(index);
@@ -168,9 +169,7 @@ const FormComponent = (props) => {
168
169
  setTimeout(() => {
169
170
  setFormStatus(statusSet);
170
171
  }, 0);
171
- return callback(
172
- "The module information format is incorrect, check the format in the upper left corner"
173
- );
172
+ return callback(t("form.validation.moduleInfoInvalid"));
174
173
  };
175
174
  const onAdd = (add) => {
176
175
  add(import_constant.defaultDataItem);
@@ -202,14 +201,8 @@ const FormComponent = (props) => {
202
201
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.sectionHeader, children: [
203
202
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.heading, children: [
204
203
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.titleRow, children: [
205
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
206
- import_web_react.Tooltip,
207
- {
208
- content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: "Example: Customise the remote module address ending with 「.json」. For instance key: @module-federation/button, value: http://localhost:3000/mf-manifest.json" }),
209
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon.IconInfoCircle, {})
210
- }
211
- ),
212
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.title, children: "Proxy Overrides" }),
204
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web_react.Tooltip, { content: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { children: t("form.tooltip.proxyExample") }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon.IconInfoCircle, {}) }),
205
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.title, children: t("form.title") }),
213
206
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
214
207
  "span",
215
208
  {
@@ -222,7 +215,7 @@ const FormComponent = (props) => {
222
215
  }
223
216
  )
224
217
  ] }),
225
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.subtitle, children: "Point consumers to specific remote bundles or manifests for quicker validation." })
218
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: import_index.default.subtitle, children: t("form.subtitle") })
226
219
  ] }),
227
220
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: import_index.default.headerActions, children: [
228
221
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: import_index.default.hmrArea, children: [
@@ -231,13 +224,13 @@ const FormComponent = (props) => {
231
224
  import_web_react.Switch,
232
225
  {
233
226
  checked: enableClip,
234
- checkedText: "Enable Clip",
235
- uncheckedText: "Disable Clip",
227
+ checkedText: t("form.clip.enable"),
228
+ uncheckedText: t("form.clip.disable"),
236
229
  onChange: handleSwitchChange,
237
230
  className: import_index.default.switch
238
231
  }
239
232
  ),
240
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web_react.Tooltip, { content: "After enabling data clipping, snapshot modules and shared information will be removed, affecting preloading logic.", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
233
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web_react.Tooltip, { content: t("form.clip.tooltip"), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
241
234
  import_icon.IconQuestionCircle,
242
235
  {
243
236
  style: { marginLeft: 5, cursor: "pointer" }
@@ -248,8 +241,8 @@ const FormComponent = (props) => {
248
241
  import_web_react.Switch,
249
242
  {
250
243
  checked: enableHMR === "enable",
251
- checkedText: "Enable HMR",
252
- uncheckedText: "Disable HMR",
244
+ checkedText: t("form.hmr.enable"),
245
+ uncheckedText: t("form.hmr.disable"),
253
246
  onChange: hmrChange,
254
247
  className: import_index.default.switch
255
248
  }
@@ -262,8 +255,7 @@ const FormComponent = (props) => {
262
255
  shape: "circle",
263
256
  className: import_index.default.add,
264
257
  onClick: () => onAdd(add),
265
- "data-set-e2e": "e2eAdd",
266
- type: "primary"
258
+ "data-set-e2e": "e2eAdd"
267
259
  }
268
260
  )
269
261
  ] })
@@ -306,7 +298,7 @@ const FormComponent = (props) => {
306
298
  validateKey(value, () => {
307
299
  }, index);
308
300
  } else {
309
- cb("Module name can not be empty");
301
+ cb(t("form.validation.moduleNameRequired"));
310
302
  validateKey(value, () => {
311
303
  }, index);
312
304
  }
@@ -318,12 +310,12 @@ const FormComponent = (props) => {
318
310
  import_web_react.Select,
319
311
  {
320
312
  "data-set-e2e": "e2eProxyKey",
321
- placeholder: "Module Name",
313
+ placeholder: t("form.fields.moduleName.placeholder"),
322
314
  onChange: (key) => onKeyChange(key, index),
323
315
  allowClear: true,
324
316
  showSearch: true,
325
317
  dropdownMenuClassName: import_index.default.dropdown,
326
- children: formatProducer.map((item2) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: item2.value, children: item2.label }, item2.value))
318
+ children: formatProducer.map((option) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Option, { value: option.value, children: option.label }, option.value))
327
319
  }
328
320
  )
329
321
  }
@@ -341,9 +333,7 @@ const FormComponent = (props) => {
341
333
  validateValue(value, () => {
342
334
  }, index);
343
335
  } else {
344
- cb(
345
- "The module information format is incorrect, check the format in the upper left corner"
346
- );
336
+ cb(t("form.validation.moduleInfoInvalid"));
347
337
  validateValue(value, () => {
348
338
  }, index);
349
339
  }
@@ -355,7 +345,9 @@ const FormComponent = (props) => {
355
345
  import_web_react.Select,
356
346
  {
357
347
  "data-set-e2e": "e2eProxyValue",
358
- placeholder: "Custom Manifest URL",
348
+ placeholder: t(
349
+ "form.fields.customManifest.placeholder"
350
+ ),
359
351
  allowClear: true,
360
352
  showSearch: true,
361
353
  allowCreate: true,
@@ -370,11 +362,11 @@ const FormComponent = (props) => {
370
362
  }) }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_index.default.emptyWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
371
363
  import_web_react.Empty,
372
364
  {
373
- description: "Add your first override to begin redirecting remotes.",
365
+ description: t("form.empty.description"),
374
366
  className: import_index.default.empty
375
367
  }
376
368
  ) }),
377
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_index.default.footerHint, children: "Changes persist per domain and refresh the inspected tab when valid." })
369
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: import_index.default.footerHint, children: t("form.footer.hint") })
378
370
  ] }) });
379
371
  };
380
372
  var Form_default = FormComponent;
@@ -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(index_module_exports, {
22
21
  });
23
22
  module.exports = __toCommonJS(index_module_exports);
24
23
  var import_index_module = require("./index_module.css");
25
- var index_module_default = { "wrapper": "wrapper_20b79", "sectionHeader": "sectionHeader_20b79", "heading": "heading_20b79", "titleRow": "titleRow_20b79", "title": "title_20b79", "subtitle": "subtitle_20b79", "headerActions": "headerActions_20b79", "add": "add_20b79", "badge": "badge_20b79", "statusMessage": "statusMessage_20b79", "divider": "divider_20b79", "hmrArea": "hmrArea_20b79", "switch": "switch_20b79", "rules": "rules_20b79", "ruleCard": "ruleCard_20b79", "ruleHeader": "ruleHeader_20b79", "toggle": "toggle_20b79", "inputs": "inputs_20b79", "field": "field_20b79", "dropdown": "dropdown_20b79", "delete": "delete_20b79", "emptyWrapper": "emptyWrapper_20b79", "empty": "empty_20b79", "footerHint": "footerHint_20b79" };
24
+ var index_module_default = { "wrapper": "wrapper_20b79", "sectionHeader": "sectionHeader_20b79", "heading": "heading_20b79", "titleRow": "titleRow_20b79", "title": "title_20b79", "subtitle": "subtitle_20b79", "headerActions": "headerActions_20b79", "badge": "badge_20b79", "statusMessage": "statusMessage_20b79", "divider": "divider_20b79", "hmrArea": "hmrArea_20b79", "switch": "switch_20b79", "rules": "rules_20b79", "ruleCard": "ruleCard_20b79", "ruleHeader": "ruleHeader_20b79", "toggle": "toggle_20b79", "inputs": "inputs_20b79", "field": "field_20b79", "dropdown": "dropdown_20b79", "delete": "delete_20b79", "emptyWrapper": "emptyWrapper_20b79", "empty": "empty_20b79", "footerHint": "footerHint_20b79" };
@@ -2,7 +2,7 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 18px;
5
- color: #1f2937;
5
+ color: var(--color-text-1, #1f2937);
6
6
  }
7
7
 
8
8
  .sectionHeader_20b79 {
@@ -11,7 +11,7 @@
11
11
  justify-content: space-between;
12
12
  gap: 18px;
13
13
  padding: 12px 16px;
14
- background: rgba(228, 228, 231, 0.5);
14
+ background: rgba(228, 228, 231, 0.1);
15
15
  border: 1px solid rgba(228, 228, 231, 0.5);
16
16
  }
17
17
 
@@ -28,7 +28,7 @@
28
28
  gap: 10px;
29
29
  font-size: 16px;
30
30
  font-weight: 600;
31
- color: #1f2937;
31
+ color: var(--color-text-1, #1f2937);
32
32
  }
33
33
  .titleRow_20b79 .arco-icon {
34
34
  color: rgba(23, 75, 180, 0.9);
@@ -41,7 +41,7 @@
41
41
 
42
42
  .subtitle_20b79 {
43
43
  font-size: 12px;
44
- color: #4b5563;
44
+ color: var(--color-text-2, #4b5563);
45
45
  line-height: 1.5;
46
46
  }
47
47
 
@@ -51,9 +51,6 @@
51
51
  gap: 12px;
52
52
  flex-wrap: wrap;
53
53
  }
54
- .headerActions_20b79 .add_20b79 {
55
- box-shadow: 0 8px 16px rgba(243, 244, 246, 0.9);
56
- }
57
54
 
58
55
  .badge_20b79 {
59
56
  transform: scale(1.4);
@@ -62,7 +59,7 @@
62
59
 
63
60
  .statusMessage_20b79 {
64
61
  font-size: 12px;
65
- color: #4b5563;
62
+ color: var(--color-text-2, #4b5563);
66
63
  max-width: 260px;
67
64
  line-height: 1.4;
68
65
  }
@@ -78,16 +75,16 @@
78
75
  align-items: center;
79
76
  gap: 8px;
80
77
  font-size: 12px;
81
- color: #4b5563;
78
+ color: var(--color-text-2, #4b5563);
82
79
  }
83
80
 
84
81
  .switch_20b79 .arco-switch {
85
- background: rgba(243, 244, 246, 0.9);
82
+ background: rgba(243, 244, 246, var(--form-control-alpha, 0.9));
86
83
  border-color: rgba(96, 165, 250, 0.35);
87
- color: #4b5563;
84
+ color: var(--color-text-2, #4b5563);
88
85
  }
89
86
  .switch_20b79 .arco-switch-checked {
90
- background: rgba(243, 244, 246, 0.9);
87
+ background: rgba(243, 244, 246, var(--form-control-alpha, 0.9));
91
88
  border-color: rgba(96, 165, 250, 0.35);
92
89
  }
93
90
 
@@ -104,7 +101,7 @@
104
101
  padding: 18px;
105
102
  border-radius: 18px;
106
103
  border: 1px solid rgba(228, 228, 231, 0.5);
107
- background: rgba(255, 255, 255, 0.9);
104
+ background: var(--color-bg-1, rgba(255, 255, 255, 0.9));
108
105
  box-shadow: 0 15px 32px rgba(8, 11, 25, 0.45);
109
106
  }
110
107
 
@@ -120,10 +117,10 @@
120
117
  .toggle_20b79 .arco-checkbox-icon {
121
118
  border-radius: 6px;
122
119
  border-color: rgba(228, 228, 231, 0.5);
123
- background: rgba(243, 244, 246, 0.9);
120
+ background: rgba(243, 244, 246, var(--form-control-alpha, 0.1));
124
121
  }
125
122
  .toggle_20b79 .arco-checkbox-checked .arco-checkbox-icon {
126
- background: rgba(243, 244, 246, 0.9);
123
+ background: rgba(243, 244, 246, var(--form-control-alpha, 0.1));
127
124
  border-color: rgba(228, 228, 231, 0.5);
128
125
  }
129
126
 
@@ -145,31 +142,31 @@
145
142
  width: 100%;
146
143
  }
147
144
  .field_20b79 .arco-select-view {
148
- background: rgba(243, 244, 246, 0.9);
145
+ background: rgba(243, 244, 246, var(--form-control-alpha, 0.1));
149
146
  border: 1px solid rgba(228, 228, 231, 0.5);
150
147
  border-radius: 14px;
151
- color: #1f2937;
148
+ color: var(--color-text-1, #1f2937);
152
149
  min-height: 42px;
153
150
  padding: 6px 12px;
154
151
  }
155
152
  .field_20b79 .arco-select-view-input {
156
- color: #4b5563;
153
+ color: var(--color-text-2, #4b5563);
157
154
  }
158
155
  .field_20b79 .arco-select-view-placeholder {
159
- color: #4b5563;
156
+ color: var(--color-text-2, #4b5563);
160
157
  }
161
158
 
162
159
  .dropdown_20b79 {
163
- background: rgba(255, 255, 255, 0.9);
160
+ background: var(--color-bg-1, rgba(255, 255, 255, 0.9));
164
161
  border: 1px solid rgba(228, 228, 231, 0.5);
165
162
  box-shadow: 0 16px 30px rgba(8, 11, 25, 0.45);
166
163
  }
167
164
  .dropdown_20b79 .arco-select-option {
168
- color: #4b5563;
165
+ color: var(--color-text-2, #4b5563);
169
166
  }
170
167
  .dropdown_20b79 .arco-select-option:hover,
171
168
  .dropdown_20b79 .arco-select-option.arco-select-option-selected {
172
- background: rgba(243, 244, 246, 0.9);
169
+ background: rgba(243, 244, 246, var(--form-control-alpha, 0.1));
173
170
  }
174
171
 
175
172
  .delete_20b79 {
@@ -180,18 +177,18 @@
180
177
  border-radius: 16px;
181
178
  border: 1px dashed rgba(228, 228, 231, 0.5);
182
179
  padding: 28px 16px;
183
- background: rgba(255, 255, 255, 0.9);
180
+ background: var(--color-bg-1, rgba(255, 255, 255, 0.9));
184
181
  display: flex;
185
182
  justify-content: center;
186
183
  }
187
184
 
188
185
  .empty_20b79 .arco-empty-description {
189
- color: #4b5563;
186
+ color: var(--color-text-2, #4b5563);
190
187
  }
191
188
 
192
189
  .footerHint_20b79 {
193
190
  font-size: 11px;
194
- color: #4b5563;
191
+ color: var(--color-text-2, #4b5563);
195
192
  text-align: right;
196
193
  letter-spacing: 0.04em;
197
194
  text-transform: uppercase;