@lincyaw/aegis-ui 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/ask/AskPanel.cjs +1 -1
- package/dist/agent/ask/AskPanel.cjs.map +1 -1
- package/dist/agent/ask/AskPanel.d.ts +5 -0
- package/dist/agent/ask/AskPanel.js +107 -100
- package/dist/agent/ask/AskPanel.js.map +1 -1
- package/dist/commands/commandContext.cjs.map +1 -1
- package/dist/commands/commandContext.d.ts +4 -1
- package/dist/commands/commandContext.js.map +1 -1
- package/dist/components/ui/AgentPanel.cjs +1 -1
- package/dist/components/ui/AgentPanel.cjs.map +1 -1
- package/dist/components/ui/AgentPanel.js +15 -14
- package/dist/components/ui/AgentPanel.js.map +1 -1
- package/dist/components/ui/Avatar.cjs +1 -1
- package/dist/components/ui/Avatar.cjs.map +1 -1
- package/dist/components/ui/Avatar.js +21 -19
- package/dist/components/ui/Avatar.js.map +1 -1
- package/dist/components/ui/BlastRadiusBar.cjs +1 -1
- package/dist/components/ui/BlastRadiusBar.cjs.map +1 -1
- package/dist/components/ui/BlastRadiusBar.d.ts +16 -4
- package/dist/components/ui/BlastRadiusBar.js +27 -23
- package/dist/components/ui/BlastRadiusBar.js.map +1 -1
- package/dist/components/ui/ChatComposer.cjs +1 -1
- package/dist/components/ui/ChatComposer.cjs.map +1 -1
- package/dist/components/ui/ChatComposer.js +32 -31
- package/dist/components/ui/ChatComposer.js.map +1 -1
- package/dist/components/ui/ChatSessionList.cjs +1 -1
- package/dist/components/ui/ChatSessionList.cjs.map +1 -1
- package/dist/components/ui/ChatSessionList.js +68 -66
- package/dist/components/ui/ChatSessionList.js.map +1 -1
- package/dist/components/ui/Checkbox.cjs +1 -1
- package/dist/components/ui/Checkbox.cjs.map +1 -1
- package/dist/components/ui/Checkbox.d.ts +6 -2
- package/dist/components/ui/Checkbox.js +21 -17
- package/dist/components/ui/Checkbox.js.map +1 -1
- package/dist/components/ui/ChoiceCardGroup.cjs +1 -1
- package/dist/components/ui/ChoiceCardGroup.cjs.map +1 -1
- package/dist/components/ui/ChoiceCardGroup.d.ts +13 -4
- package/dist/components/ui/ChoiceCardGroup.js +47 -35
- package/dist/components/ui/ChoiceCardGroup.js.map +1 -1
- package/dist/components/ui/CodeEditor.cjs +1 -1
- package/dist/components/ui/CodeEditor.cjs.map +1 -1
- package/dist/components/ui/CodeEditor.d.ts +11 -1
- package/dist/components/ui/CodeEditor.js +100 -74
- package/dist/components/ui/CodeEditor.js.map +1 -1
- package/dist/components/ui/CommandInvocationCard.cjs +1 -1
- package/dist/components/ui/CommandInvocationCard.cjs.map +1 -1
- package/dist/components/ui/CommandInvocationCard.js +28 -31
- package/dist/components/ui/CommandInvocationCard.js.map +1 -1
- package/dist/components/ui/CommandPalette.cjs +1 -1
- package/dist/components/ui/CommandPalette.cjs.map +1 -1
- package/dist/components/ui/CommandPalette.d.ts +3 -3
- package/dist/components/ui/CommandPalette.js +75 -75
- package/dist/components/ui/CommandPalette.js.map +1 -1
- package/dist/components/ui/CommitGraph.cjs +1 -1
- package/dist/components/ui/CommitGraph.cjs.map +1 -1
- package/dist/components/ui/CommitGraph.d.ts +3 -1
- package/dist/components/ui/CommitGraph.js +77 -74
- package/dist/components/ui/CommitGraph.js.map +1 -1
- package/dist/components/ui/ContentInspectorDialog.cjs +1 -1
- package/dist/components/ui/ContentInspectorDialog.cjs.map +1 -1
- package/dist/components/ui/ContentInspectorDialog.js +25 -31
- package/dist/components/ui/ContentInspectorDialog.js.map +1 -1
- package/dist/components/ui/ContentPreview.cjs +2 -2
- package/dist/components/ui/ContentPreview.cjs.map +1 -1
- package/dist/components/ui/ContentPreview.js +55 -56
- package/dist/components/ui/ContentPreview.js.map +1 -1
- package/dist/components/ui/DangerZone.cjs +1 -1
- package/dist/components/ui/DangerZone.cjs.map +1 -1
- package/dist/components/ui/DangerZone.js +13 -12
- package/dist/components/ui/DangerZone.js.map +1 -1
- package/dist/components/ui/DataList.cjs +1 -1
- package/dist/components/ui/DataList.cjs.map +1 -1
- package/dist/components/ui/DataList.js +25 -24
- package/dist/components/ui/DataList.js.map +1 -1
- package/dist/components/ui/DataTable.cjs +1 -1
- package/dist/components/ui/DataTable.cjs.map +1 -1
- package/dist/components/ui/DataTable.js +41 -41
- package/dist/components/ui/DataTable.js.map +1 -1
- package/dist/components/ui/DropdownMenu.cjs +1 -1
- package/dist/components/ui/DropdownMenu.cjs.map +1 -1
- package/dist/components/ui/DropdownMenu.js +41 -40
- package/dist/components/ui/DropdownMenu.js.map +1 -1
- package/dist/components/ui/EnvironmentSwitcher.cjs +1 -1
- package/dist/components/ui/EnvironmentSwitcher.cjs.map +1 -1
- package/dist/components/ui/EnvironmentSwitcher.js +26 -24
- package/dist/components/ui/EnvironmentSwitcher.js.map +1 -1
- package/dist/components/ui/EventTable.cjs +1 -1
- package/dist/components/ui/EventTable.cjs.map +1 -1
- package/dist/components/ui/EventTable.js +60 -53
- package/dist/components/ui/EventTable.js.map +1 -1
- package/dist/components/ui/FileDropzone.cjs +1 -1
- package/dist/components/ui/FileDropzone.cjs.map +1 -1
- package/dist/components/ui/FileDropzone.js +38 -40
- package/dist/components/ui/FileDropzone.js.map +1 -1
- package/dist/components/ui/FilePreview.cjs +1 -1
- package/dist/components/ui/FilePreview.cjs.map +1 -1
- package/dist/components/ui/FilePreview.js +60 -61
- package/dist/components/ui/FilePreview.js.map +1 -1
- package/dist/components/ui/FolderDropzone.cjs +1 -1
- package/dist/components/ui/FolderDropzone.cjs.map +1 -1
- package/dist/components/ui/FolderDropzone.js +114 -84
- package/dist/components/ui/FolderDropzone.js.map +1 -1
- package/dist/components/ui/ForgotPasswordForm.cjs +1 -1
- package/dist/components/ui/ForgotPasswordForm.cjs.map +1 -1
- package/dist/components/ui/ForgotPasswordForm.js +22 -21
- package/dist/components/ui/ForgotPasswordForm.js.map +1 -1
- package/dist/components/ui/FormRow.cjs +1 -1
- package/dist/components/ui/FormRow.cjs.map +1 -1
- package/dist/components/ui/FormRow.d.ts +32 -11
- package/dist/components/ui/FormRow.js +24 -15
- package/dist/components/ui/FormRow.js.map +1 -1
- package/dist/components/ui/InboxPage.cjs +1 -1
- package/dist/components/ui/InboxPage.cjs.map +1 -1
- package/dist/components/ui/InboxPage.d.ts +12 -3
- package/dist/components/ui/InboxPage.js +91 -77
- package/dist/components/ui/InboxPage.js.map +1 -1
- package/dist/components/ui/LoginForm.cjs +1 -1
- package/dist/components/ui/LoginForm.cjs.map +1 -1
- package/dist/components/ui/LoginForm.js +43 -43
- package/dist/components/ui/LoginForm.js.map +1 -1
- package/dist/components/ui/MonoValue.cjs +1 -1
- package/dist/components/ui/MonoValue.cjs.map +1 -1
- package/dist/components/ui/MonoValue.d.ts +5 -1
- package/dist/components/ui/MonoValue.js +17 -17
- package/dist/components/ui/MonoValue.js.map +1 -1
- package/dist/components/ui/NotificationBell.cjs +1 -1
- package/dist/components/ui/NotificationBell.cjs.map +1 -1
- package/dist/components/ui/NotificationBell.d.ts +17 -1
- package/dist/components/ui/NotificationBell.js +129 -75
- package/dist/components/ui/NotificationBell.js.map +1 -1
- package/dist/components/ui/NumberField.cjs +1 -1
- package/dist/components/ui/NumberField.cjs.map +1 -1
- package/dist/components/ui/NumberField.d.ts +3 -1
- package/dist/components/ui/NumberField.js +52 -49
- package/dist/components/ui/NumberField.js.map +1 -1
- package/dist/components/ui/ObjectBrowser.cjs +1 -1
- package/dist/components/ui/ObjectBrowser.cjs.map +1 -1
- package/dist/components/ui/ObjectBrowser.js +83 -78
- package/dist/components/ui/ObjectBrowser.js.map +1 -1
- package/dist/components/ui/PageSizeSelect.cjs +1 -1
- package/dist/components/ui/PageSizeSelect.cjs.map +1 -1
- package/dist/components/ui/PageSizeSelect.js +30 -29
- package/dist/components/ui/PageSizeSelect.js.map +1 -1
- package/dist/components/ui/Panel.cjs.map +1 -1
- package/dist/components/ui/Panel.d.ts +5 -2
- package/dist/components/ui/Panel.js.map +1 -1
- package/dist/components/ui/ParquetViewer.cjs +1 -1
- package/dist/components/ui/ParquetViewer.cjs.map +1 -1
- package/dist/components/ui/ParquetViewer.js +69 -74
- package/dist/components/ui/ParquetViewer.js.map +1 -1
- package/dist/components/ui/PasswordField.cjs +1 -1
- package/dist/components/ui/PasswordField.cjs.map +1 -1
- package/dist/components/ui/PasswordField.js +28 -27
- package/dist/components/ui/PasswordField.js.map +1 -1
- package/dist/components/ui/PickerField.cjs +1 -1
- package/dist/components/ui/PickerField.cjs.map +1 -1
- package/dist/components/ui/PickerField.d.ts +25 -6
- package/dist/components/ui/PickerField.js +20 -17
- package/dist/components/ui/PickerField.js.map +1 -1
- package/dist/components/ui/ProjectSelector.cjs +1 -1
- package/dist/components/ui/ProjectSelector.cjs.map +1 -1
- package/dist/components/ui/ProjectSelector.js +40 -37
- package/dist/components/ui/ProjectSelector.js.map +1 -1
- package/dist/components/ui/QueryAutocomplete.cjs +1 -1
- package/dist/components/ui/QueryAutocomplete.cjs.map +1 -1
- package/dist/components/ui/QueryAutocomplete.d.ts +7 -1
- package/dist/components/ui/QueryAutocomplete.js +141 -134
- package/dist/components/ui/QueryAutocomplete.js.map +1 -1
- package/dist/components/ui/RegisterForm.cjs +1 -1
- package/dist/components/ui/RegisterForm.cjs.map +1 -1
- package/dist/components/ui/RegisterForm.js +41 -40
- package/dist/components/ui/RegisterForm.js.map +1 -1
- package/dist/components/ui/ResizableSidePanel.cjs +1 -1
- package/dist/components/ui/ResizableSidePanel.cjs.map +1 -1
- package/dist/components/ui/ResizableSidePanel.js +41 -40
- package/dist/components/ui/ResizableSidePanel.js.map +1 -1
- package/dist/components/ui/SavedQueryBar.cjs +1 -1
- package/dist/components/ui/SavedQueryBar.cjs.map +1 -1
- package/dist/components/ui/SavedQueryBar.d.ts +1 -1
- package/dist/components/ui/SavedQueryBar.js +375 -277
- package/dist/components/ui/SavedQueryBar.js.map +1 -1
- package/dist/components/ui/SearchInput.cjs +1 -1
- package/dist/components/ui/SearchInput.cjs.map +1 -1
- package/dist/components/ui/SearchInput.d.ts +5 -1
- package/dist/components/ui/SearchInput.js +28 -24
- package/dist/components/ui/SearchInput.js.map +1 -1
- package/dist/components/ui/Select.cjs +1 -1
- package/dist/components/ui/Select.cjs.map +1 -1
- package/dist/components/ui/Select.d.ts +3 -1
- package/dist/components/ui/Select.js +21 -19
- package/dist/components/ui/Select.js.map +1 -1
- package/dist/components/ui/ServiceMap.cjs +1 -1
- package/dist/components/ui/ServiceMap.cjs.map +1 -1
- package/dist/components/ui/ServiceMap.d.ts +9 -3
- package/dist/components/ui/ServiceMap.js +291 -231
- package/dist/components/ui/ServiceMap.js.map +1 -1
- package/dist/components/ui/Slider.cjs +1 -1
- package/dist/components/ui/Slider.cjs.map +1 -1
- package/dist/components/ui/Slider.d.ts +3 -1
- package/dist/components/ui/Slider.js +11 -9
- package/dist/components/ui/Slider.js.map +1 -1
- package/dist/components/ui/SparkLine.cjs +1 -1
- package/dist/components/ui/SparkLine.cjs.map +1 -1
- package/dist/components/ui/SparkLine.js +24 -23
- package/dist/components/ui/SparkLine.js.map +1 -1
- package/dist/components/ui/Steps.cjs +1 -1
- package/dist/components/ui/Steps.cjs.map +1 -1
- package/dist/components/ui/Steps.js +25 -29
- package/dist/components/ui/Steps.js.map +1 -1
- package/dist/components/ui/Terminal.cjs +1 -1
- package/dist/components/ui/Terminal.cjs.map +1 -1
- package/dist/components/ui/Terminal.js +18 -17
- package/dist/components/ui/Terminal.js.map +1 -1
- package/dist/components/ui/TextField.cjs +1 -1
- package/dist/components/ui/TextField.cjs.map +1 -1
- package/dist/components/ui/TextField.js +6 -6
- package/dist/components/ui/TextField.js.map +1 -1
- package/dist/components/ui/ThemeToggle.cjs +1 -1
- package/dist/components/ui/ThemeToggle.cjs.map +1 -1
- package/dist/components/ui/ThemeToggle.js +15 -18
- package/dist/components/ui/ThemeToggle.js.map +1 -1
- package/dist/components/ui/TimeDisplay.cjs +1 -1
- package/dist/components/ui/TimeDisplay.cjs.map +1 -1
- package/dist/components/ui/TimeDisplay.js +12 -12
- package/dist/components/ui/TimeDisplay.js.map +1 -1
- package/dist/components/ui/TimeRangePicker.cjs +1 -1
- package/dist/components/ui/TimeRangePicker.cjs.map +1 -1
- package/dist/components/ui/TimeRangePicker.js +128 -111
- package/dist/components/ui/TimeRangePicker.js.map +1 -1
- package/dist/components/ui/TraceSpanInspector.cjs +1 -1
- package/dist/components/ui/TraceSpanInspector.cjs.map +1 -1
- package/dist/components/ui/TraceSpanInspector.js +43 -46
- package/dist/components/ui/TraceSpanInspector.js.map +1 -1
- package/dist/components/ui/TraceTree.cjs +1 -1
- package/dist/components/ui/TraceTree.cjs.map +1 -1
- package/dist/components/ui/TraceTree.d.ts +1 -1
- package/dist/components/ui/TraceTree.js +33 -33
- package/dist/components/ui/TraceTree.js.map +1 -1
- package/dist/components/ui/UploadQueue.cjs +1 -1
- package/dist/components/ui/UploadQueue.cjs.map +1 -1
- package/dist/components/ui/UploadQueue.js +59 -70
- package/dist/components/ui/UploadQueue.js.map +1 -1
- package/dist/components/ui/authValidation.cjs +1 -1
- package/dist/components/ui/authValidation.cjs.map +1 -1
- package/dist/components/ui/authValidation.d.ts +2 -2
- package/dist/components/ui/authValidation.js +4 -5
- package/dist/components/ui/authValidation.js.map +1 -1
- package/dist/components/ui/classifyContent.cjs +3 -3
- package/dist/components/ui/classifyContent.cjs.map +1 -1
- package/dist/components/ui/classifyContent.d.ts +2 -1
- package/dist/components/ui/classifyContent.js +52 -54
- package/dist/components/ui/classifyContent.js.map +1 -1
- package/dist/components/ui/relativeTime.cjs +1 -1
- package/dist/components/ui/relativeTime.cjs.map +1 -1
- package/dist/components/ui/relativeTime.d.ts +5 -3
- package/dist/components/ui/relativeTime.js +15 -6
- package/dist/components/ui/relativeTime.js.map +1 -1
- package/dist/hooks/popoverOverflow.cjs +2 -0
- package/dist/hooks/popoverOverflow.cjs.map +1 -0
- package/dist/hooks/popoverOverflow.d.ts +8 -0
- package/dist/hooks/popoverOverflow.js +9 -0
- package/dist/hooks/popoverOverflow.js.map +1 -0
- package/dist/hooks/useDialogPopover.cjs +2 -0
- package/dist/hooks/useDialogPopover.cjs.map +1 -0
- package/dist/hooks/useDialogPopover.d.ts +23 -0
- package/dist/hooks/useDialogPopover.js +48 -0
- package/dist/hooks/useDialogPopover.js.map +1 -0
- package/dist/hooks/useMenuPopover.cjs +1 -1
- package/dist/hooks/useMenuPopover.cjs.map +1 -1
- package/dist/hooks/useMenuPopover.d.ts +0 -8
- package/dist/hooks/useMenuPopover.js +17 -22
- package/dist/hooks/useMenuPopover.js.map +1 -1
- package/dist/hooks/useSavedQueries.cjs +1 -1
- package/dist/hooks/useSavedQueries.cjs.map +1 -1
- package/dist/hooks/useSavedQueries.js +29 -28
- package/dist/hooks/useSavedQueries.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/layouts/shell/AegisShell.cjs +1 -1
- package/dist/layouts/shell/AegisShell.cjs.map +1 -1
- package/dist/layouts/shell/AegisShell.js +41 -41
- package/dist/layouts/shell/AegisShell.js.map +1 -1
- package/dist/layouts/shell/AppSwitcher.cjs +1 -1
- package/dist/layouts/shell/AppSwitcher.cjs.map +1 -1
- package/dist/layouts/shell/AppSwitcher.js +53 -36
- package/dist/layouts/shell/AppSwitcher.js.map +1 -1
- package/dist/layouts/shell/AuthRequiredCard.cjs +1 -1
- package/dist/layouts/shell/AuthRequiredCard.cjs.map +1 -1
- package/dist/layouts/shell/AuthRequiredCard.js +24 -22
- package/dist/layouts/shell/AuthRequiredCard.js.map +1 -1
- package/dist/layouts/shell/RouteErrorBoundary.cjs +1 -1
- package/dist/layouts/shell/RouteErrorBoundary.cjs.map +1 -1
- package/dist/layouts/shell/RouteErrorBoundary.d.ts +4 -1
- package/dist/layouts/shell/RouteErrorBoundary.js +15 -10
- package/dist/layouts/shell/RouteErrorBoundary.js.map +1 -1
- package/dist/layouts/shell/ShellInboxPage.cjs +1 -1
- package/dist/layouts/shell/ShellInboxPage.cjs.map +1 -1
- package/dist/layouts/shell/ShellInboxPage.js +17 -16
- package/dist/layouts/shell/ShellInboxPage.js.map +1 -1
- package/dist/layouts/shell/ShellNotificationBell.cjs +1 -1
- package/dist/layouts/shell/ShellNotificationBell.cjs.map +1 -1
- package/dist/layouts/shell/ShellNotificationBell.js +20 -14
- package/dist/layouts/shell/ShellNotificationBell.js.map +1 -1
- package/dist/layouts/shell/TopHeader.cjs +1 -1
- package/dist/layouts/shell/TopHeader.cjs.map +1 -1
- package/dist/layouts/shell/TopHeader.js +74 -74
- package/dist/layouts/shell/TopHeader.js.map +1 -1
- package/dist/layouts/shell/useShellUser.cjs +1 -1
- package/dist/layouts/shell/useShellUser.cjs.map +1 -1
- package/dist/layouts/shell/useShellUser.js +15 -13
- package/dist/layouts/shell/useShellUser.js.map +1 -1
- package/dist/lib/chart.cjs +1 -1
- package/dist/lib/chart.cjs.map +1 -1
- package/dist/lib/chart.d.ts +5 -7
- package/dist/lib/chart.js +49 -34
- package/dist/lib/chart.js.map +1 -1
- package/dist/lib/timeRange.cjs +1 -1
- package/dist/lib/timeRange.cjs.map +1 -1
- package/dist/lib/timeRange.d.ts +14 -4
- package/dist/lib/timeRange.js +41 -40
- package/dist/lib/timeRange.js.map +1 -1
- package/dist/locale/strings.cjs +1 -1
- package/dist/locale/strings.cjs.map +1 -1
- package/dist/locale/strings.d.ts +241 -2
- package/dist/locale/strings.js +543 -26
- package/dist/locale/strings.js.map +1 -1
- package/dist/notifications/notificationContext.cjs.map +1 -1
- package/dist/notifications/notificationContext.d.ts +12 -2
- package/dist/notifications/notificationContext.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/theme/antdTheme.cjs +1 -1
- package/dist/theme/antdTheme.cjs.map +1 -1
- package/dist/theme/antdTheme.js +2 -0
- package/dist/theme/antdTheme.js.map +1 -1
- package/package.json +1 -1
package/dist/locale/strings.js
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
|
-
const
|
|
1
|
+
const s = {
|
|
2
|
+
millisecond: "毫秒",
|
|
3
|
+
second: "秒",
|
|
4
|
+
minute: "分钟",
|
|
5
|
+
hour: "小时",
|
|
6
|
+
day: "天",
|
|
7
|
+
week: "周",
|
|
8
|
+
year: "年"
|
|
9
|
+
}, l = {
|
|
10
|
+
up: "上",
|
|
11
|
+
down: "下",
|
|
12
|
+
left: "左",
|
|
13
|
+
right: "右"
|
|
14
|
+
}, n = {
|
|
15
|
+
month: "short",
|
|
16
|
+
day: "numeric",
|
|
17
|
+
hour: "2-digit",
|
|
18
|
+
minute: "2-digit"
|
|
19
|
+
}, i = {
|
|
20
|
+
month: "short",
|
|
21
|
+
day: "numeric"
|
|
22
|
+
}, c = {
|
|
2
23
|
copy: "Copy",
|
|
3
24
|
copied: "Copied",
|
|
4
25
|
copyToClipboard: "Copy to clipboard",
|
|
@@ -27,13 +48,11 @@ const o = {
|
|
|
27
48
|
nextPage: "Next page",
|
|
28
49
|
rowsPerPage: "Rows per page",
|
|
29
50
|
rangeOf: " of ",
|
|
30
|
-
|
|
31
|
-
recordsUnit: "records",
|
|
32
|
-
barValue: (e, r) => `${e} of ${r}`,
|
|
51
|
+
barValue: (e, t) => `${e} of ${t}`,
|
|
33
52
|
noValue: "No value",
|
|
34
|
-
paretoChartLabel: (e,
|
|
53
|
+
paretoChartLabel: (e, t) => `Pareto front of ${t} against ${e}`,
|
|
35
54
|
paretoEmptyTitle: "No metrics configured",
|
|
36
|
-
runPipsLabel: ({ passed: e, failed:
|
|
55
|
+
runPipsLabel: ({ passed: e, failed: t, errored: a, pending: o, total: r }) => `${String(e)} of ${String(r)} ${r === 1 ? "run" : "runs"} passed, ${String(t)} failed, ${String(a)} errored${o > 0 ? `, ${String(o)} pending` : ""}`,
|
|
37
56
|
shareLinkSharing: "Sharing",
|
|
38
57
|
shareLinkExpiresAfter: "Expires after",
|
|
39
58
|
shareLinkTtl: (e) => {
|
|
@@ -41,12 +60,12 @@ const o = {
|
|
|
41
60
|
return `${String(e / 60)} min`;
|
|
42
61
|
if (e < 86400)
|
|
43
62
|
return `${String(e / 3600)} hr`;
|
|
44
|
-
const
|
|
45
|
-
return `${String(
|
|
63
|
+
const t = e / 86400;
|
|
64
|
+
return `${String(t)} ${t === 1 ? "day" : "days"}`;
|
|
46
65
|
},
|
|
47
66
|
shareLinkDisposition: "Disposition",
|
|
48
67
|
shareLinkForceDownload: "Force download (attachment)",
|
|
49
|
-
shareLinkExpiresIn: ({ hours: e, minutes:
|
|
68
|
+
shareLinkExpiresIn: ({ hours: e, minutes: t, seconds: a }) => e > 0 ? `expires in ${String(e)}h ${String(t)}m` : t > 0 ? `expires in ${String(t)}m ${String(a)}s` : `expires in ${String(a)}s`,
|
|
50
69
|
shareLinkExpired: "expired",
|
|
51
70
|
shareLinkCopy: "Copy link",
|
|
52
71
|
shareLinkGenerate: "Generate link",
|
|
@@ -67,7 +86,7 @@ const o = {
|
|
|
67
86
|
expandRow: "Expand",
|
|
68
87
|
collapseRow: "Collapse",
|
|
69
88
|
resizeNameColumn: "Resize name column",
|
|
70
|
-
traceSpanTiming: (e,
|
|
89
|
+
traceSpanTiming: (e, t) => `start +${e} · dur ${t}`,
|
|
71
90
|
traceSpanStatus: (e) => e,
|
|
72
91
|
traceSpanField: (e) => e,
|
|
73
92
|
inspectorOverview: "Overview",
|
|
@@ -97,11 +116,247 @@ const o = {
|
|
|
97
116
|
replayNextStep: "Next step",
|
|
98
117
|
replaySpeed: "Playback speed",
|
|
99
118
|
replayPosition: "Replay position",
|
|
100
|
-
replayStepOf: (e,
|
|
119
|
+
replayStepOf: (e, t) => `Step ${e} of ${t}`,
|
|
101
120
|
replayKeyMoment: (e) => `Key moment ${e}`,
|
|
102
121
|
replaySteps: "Steps",
|
|
103
|
-
scrollStoryPosition: (e,
|
|
104
|
-
|
|
122
|
+
scrollStoryPosition: (e, t) => `Step ${e} of ${t}`,
|
|
123
|
+
cancel: "Cancel",
|
|
124
|
+
save: "Save",
|
|
125
|
+
apply: "Apply",
|
|
126
|
+
rename: "Rename",
|
|
127
|
+
delete: "Delete",
|
|
128
|
+
deleteNamed: (e) => `Delete ${e}`,
|
|
129
|
+
moreActionsFor: (e) => `More actions for ${e}`,
|
|
130
|
+
retry: "Retry",
|
|
131
|
+
dismiss: "Dismiss",
|
|
132
|
+
clear: "Clear",
|
|
133
|
+
undo: "Undo",
|
|
134
|
+
download: "Download",
|
|
135
|
+
send: "Send",
|
|
136
|
+
pin: "Pin",
|
|
137
|
+
unpin: "Unpin",
|
|
138
|
+
pinNamed: (e) => `Pin ${e}`,
|
|
139
|
+
unpinNamed: (e) => `Unpin ${e}`,
|
|
140
|
+
signIn: "Sign in",
|
|
141
|
+
signOut: "Sign out",
|
|
142
|
+
searchPlaceholder: "Search…",
|
|
143
|
+
suggestions: "Suggestions",
|
|
144
|
+
noItems: "No items",
|
|
145
|
+
noData: "No data",
|
|
146
|
+
noEvents: "No events",
|
|
147
|
+
relativeTime: (e) => {
|
|
148
|
+
switch (e.unit) {
|
|
149
|
+
case "now":
|
|
150
|
+
return "just now";
|
|
151
|
+
case "minutes":
|
|
152
|
+
return `${String(e.count)}m ago`;
|
|
153
|
+
case "hours":
|
|
154
|
+
return `${String(e.count)}h ago`;
|
|
155
|
+
case "yesterday":
|
|
156
|
+
return "yesterday";
|
|
157
|
+
case "days":
|
|
158
|
+
return `${String(e.count)}d ago`;
|
|
159
|
+
case "date":
|
|
160
|
+
return e.date.toLocaleDateString("en", i);
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
formatDateTime: (e) => e.toLocaleString("en", n),
|
|
164
|
+
routeErrorTitle: "This page failed to render",
|
|
165
|
+
environmentsUnavailable: "Environments unavailable",
|
|
166
|
+
environmentsUnavailableShort: "Env error",
|
|
167
|
+
environmentsRetry: (e) => `${e} Click to retry.`,
|
|
168
|
+
switchEnvironment: "Switch environment",
|
|
169
|
+
agentPanel: "Agent panel",
|
|
170
|
+
showAgentPanel: "Show agent panel",
|
|
171
|
+
hideAgentPanel: "Hide agent panel",
|
|
172
|
+
authChecking: "Checking your session…",
|
|
173
|
+
authSignInTo: (e) => `Sign in to use ${e}`,
|
|
174
|
+
authSignInDescription: "This app needs an authenticated session. Sign in to continue.",
|
|
175
|
+
authForbiddenTitle: "Insufficient permissions",
|
|
176
|
+
authForbiddenRoles: (e, t, a) => `${e} requires one of: ${t.join(", ")}. Your roles: ${a.length > 0 ? a.join(", ") : "(none)"}.`,
|
|
177
|
+
authForbidden: (e) => `You don't have access to ${e}.`,
|
|
178
|
+
authEmail: "Email",
|
|
179
|
+
authPassword: "Password",
|
|
180
|
+
authName: "Name",
|
|
181
|
+
authNamePlaceholder: "Ada Lovelace",
|
|
182
|
+
authEmailRequired: "Enter your email address.",
|
|
183
|
+
authEmailInvalid: "Enter a valid email address.",
|
|
184
|
+
authNameRequired: "Enter your name.",
|
|
185
|
+
authPasswordRequired: "Enter your password.",
|
|
186
|
+
authPasswordTooShort: (e) => `Password must be at least ${String(e)} ${e === 1 ? "character" : "characters"}.`,
|
|
187
|
+
authPasswordHint: (e) => `At least ${String(e)} ${e === 1 ? "character" : "characters"}.`,
|
|
188
|
+
authRememberMe: "Remember me",
|
|
189
|
+
authForgotPassword: "Forgot password?",
|
|
190
|
+
authSigningIn: "Signing in…",
|
|
191
|
+
authCreateAccount: "Create account",
|
|
192
|
+
authCreatingAccount: "Creating account…",
|
|
193
|
+
authResetHint: "We'll send a reset link to this address.",
|
|
194
|
+
authSendResetLink: "Send reset link",
|
|
195
|
+
authSending: "Sending…",
|
|
196
|
+
showPassword: "Show password",
|
|
197
|
+
hidePassword: "Hide password",
|
|
198
|
+
commandPaletteTitle: "Commands",
|
|
199
|
+
commandPalettePlaceholder: "Type a command…",
|
|
200
|
+
commandPaletteEmpty: "No commands match.",
|
|
201
|
+
commandGroupOther: "Other",
|
|
202
|
+
commandStatus: (e) => ({ pending: "pending", success: "done", error: "failed" })[e],
|
|
203
|
+
chatPlaceholder: "Ask the assistant…",
|
|
204
|
+
chatMessage: "Message",
|
|
205
|
+
chatSendMessage: "Send message",
|
|
206
|
+
chatHint: "Enter to send · Shift+Enter for newline",
|
|
207
|
+
conversations: "Conversations",
|
|
208
|
+
renameConversation: "Rename conversation",
|
|
209
|
+
confirmDelete: "Confirm?",
|
|
210
|
+
inspectorContentKind: (e) => ({
|
|
211
|
+
json: "JSON content",
|
|
212
|
+
markdown: "Markdown content",
|
|
213
|
+
sql: "SQL content",
|
|
214
|
+
text: "Text content"
|
|
215
|
+
})[e],
|
|
216
|
+
contentDuplicates: (e) => `+${String(e)} ${e === 1 ? "duplicate" : "duplicates"}`,
|
|
217
|
+
contentRoot: "content",
|
|
218
|
+
dangerZone: "Danger zone",
|
|
219
|
+
resizeColumn: "Resize column",
|
|
220
|
+
pageSize: "Page size",
|
|
221
|
+
dropzoneDropFolder: "Drop folder to upload",
|
|
222
|
+
dropzoneDropFiles: "Drop to upload",
|
|
223
|
+
dropzoneBrowseFolder: "Drag a folder here or click to browse",
|
|
224
|
+
dropzoneBrowseFiles: "Drag files here or click to browse",
|
|
225
|
+
dropzoneMaxSize: (e) => `max ${e}`,
|
|
226
|
+
folderDropzoneHint: "Drag a folder here, or choose one below",
|
|
227
|
+
folderDropzoneSelected: (e, t) => `${String(e)} ${e === 1 ? "file" : "files"} selected · ${t}`,
|
|
228
|
+
folderDropzoneTooMany: (e, t) => `Too many files: ${String(e)} selected, ${String(t)} allowed.`,
|
|
229
|
+
folderDropzoneFileTooLarge: (e, t, a) => `"${e}" is ${t}, over the ${a} per-file cap.`,
|
|
230
|
+
folderDropzoneTotalTooLarge: (e, t) => `Selection totals ${e}, over the ${t} aggregate cap.`,
|
|
231
|
+
chooseFolder: "Choose folder",
|
|
232
|
+
chooseFiles: "Choose files",
|
|
233
|
+
filePreviewLoading: "loading…",
|
|
234
|
+
filePreviewFailed: (e) => `preview failed: ${e}`,
|
|
235
|
+
pdfPreview: "pdf preview",
|
|
236
|
+
binaryFile: "binary file",
|
|
237
|
+
folders: "Folders",
|
|
238
|
+
expandFolders: "Expand folders",
|
|
239
|
+
collapseFolders: "Collapse folders",
|
|
240
|
+
noSubPrefixes: "No sub-prefixes",
|
|
241
|
+
selectionCount: (e) => `${e.toLocaleString("en")} selected`,
|
|
242
|
+
parquetEmptyTitle: "No parquet file",
|
|
243
|
+
parquetEmptyDescription: "Pass a file or a src URL to inspect.",
|
|
244
|
+
parquetReadFailed: "Could not read the parquet file",
|
|
245
|
+
parquetRows: (e) => `${e.toLocaleString("en")} ${e === 1 ? "row" : "rows"}`,
|
|
246
|
+
parquetColumns: (e) => `${e.toLocaleString("en")} ${e === 1 ? "column" : "columns"}`,
|
|
247
|
+
parquetEmptyPage: "No rows in this page",
|
|
248
|
+
selectProject: "Select a project",
|
|
249
|
+
searchProjects: "Search projects",
|
|
250
|
+
searchProjectsPlaceholder: "Search projects…",
|
|
251
|
+
noProjectsFound: "No projects found",
|
|
252
|
+
queryPlaceholder: "Search… e.g. service.name:foo AND duration:>1000",
|
|
253
|
+
queryLabel: "Lucene query",
|
|
254
|
+
querySyntaxHelp: "LuceneQL syntax help",
|
|
255
|
+
querySyntax: (e) => ({
|
|
256
|
+
exact: "exact match",
|
|
257
|
+
phrase: "phrase match",
|
|
258
|
+
wildcard: "wildcard",
|
|
259
|
+
range: "range / comparison",
|
|
260
|
+
boolean: "boolean operators",
|
|
261
|
+
grouping: "grouping"
|
|
262
|
+
})[e],
|
|
263
|
+
expandPanel: "Expand panel",
|
|
264
|
+
resizePanel: "Resize panel",
|
|
265
|
+
savedQueries: "Saved queries",
|
|
266
|
+
savedQueriesEmpty: "No saved queries yet — save the current view to pin it.",
|
|
267
|
+
renameSavedQuery: "Rename saved query",
|
|
268
|
+
savedQueryName: "Name this query",
|
|
269
|
+
savedQueryNamePlaceholder: "e.g. failed runs last 24h",
|
|
270
|
+
saveCurrent: "Save current",
|
|
271
|
+
moreCount: (e) => `+${String(e)} more`,
|
|
272
|
+
sparkline: "sparkline",
|
|
273
|
+
stepStatus: (e) => ({
|
|
274
|
+
complete: "(completed)",
|
|
275
|
+
current: "(current step)",
|
|
276
|
+
unavailable: "(not yet available)"
|
|
277
|
+
})[e],
|
|
278
|
+
terminalLabel: "Experiment log",
|
|
279
|
+
themeToggle: (e) => ({
|
|
280
|
+
light: "Switch to dark theme",
|
|
281
|
+
dark: "Follow system theme",
|
|
282
|
+
system: "Switch to light theme"
|
|
283
|
+
})[e],
|
|
284
|
+
timeRangePlaceholder: "Select range",
|
|
285
|
+
timeRangeLast: ({ amount: e, unit: t }) => `Last ${e.toLocaleString("en")} ${e === 1 ? t : `${t}s`}`,
|
|
286
|
+
timeRangeExpression: "Expression",
|
|
287
|
+
timeRangeExpressionPlaceholder: "now-15m, yesterday 10am to today 11am, …",
|
|
288
|
+
timeRangeUnparseable: "Unparseable expression",
|
|
289
|
+
timeRangePresets: "Quick presets",
|
|
290
|
+
timeRangeAbsolute: "Absolute range",
|
|
291
|
+
timeRangeFrom: "From",
|
|
292
|
+
timeRangeTo: "To",
|
|
293
|
+
notSerialisable: (e) => `Not serialisable: ${e}`,
|
|
294
|
+
spanNotJson: "The span cannot be shown as JSON",
|
|
295
|
+
traceSpans: "Trace spans",
|
|
296
|
+
uploadQueueEmptyTitle: "No uploads",
|
|
297
|
+
uploadQueueEmptyDescription: "Drop files into the dropzone to start an upload.",
|
|
298
|
+
uploadsDone: (e, t) => `${String(e)}/${String(t)} done`,
|
|
299
|
+
uploadEta: (e) => `ETA ${e}`,
|
|
300
|
+
uploadStatus: (e) => ({
|
|
301
|
+
queued: "queued",
|
|
302
|
+
uploading: "uploading",
|
|
303
|
+
done: "done",
|
|
304
|
+
error: "failed"
|
|
305
|
+
})[e],
|
|
306
|
+
uploadFailed: "upload failed",
|
|
307
|
+
cancelUpload: "Cancel upload",
|
|
308
|
+
clearCompleted: "Clear completed",
|
|
309
|
+
codeEditorPhrases: {},
|
|
310
|
+
avatarStatus: (e) => ({ online: "Online", offline: "Offline", busy: "Busy", away: "Away" })[e],
|
|
311
|
+
serviceMapAriaLabels: {
|
|
312
|
+
"node.a11yDescription.default": "Press Enter or Space to select this service.",
|
|
313
|
+
"node.a11yDescription.keyboardDisabled": "Press Enter or Space to select this service.",
|
|
314
|
+
"node.a11yDescription.ariaLiveMessage": ({ direction: e, x: t, y: a }) => `Moved the selected service ${e}. New position: x ${String(t)}, y ${String(a)}.`,
|
|
315
|
+
"edge.a11yDescription.default": "Press Enter or Space to select this connection.",
|
|
316
|
+
"controls.ariaLabel": "Map controls",
|
|
317
|
+
"controls.zoomIn.ariaLabel": "Zoom in",
|
|
318
|
+
"controls.zoomOut.ariaLabel": "Zoom out",
|
|
319
|
+
"controls.fitView.ariaLabel": "Fit to view",
|
|
320
|
+
"controls.interactive.ariaLabel": "Toggle interactivity",
|
|
321
|
+
"minimap.ariaLabel": "Mini map",
|
|
322
|
+
"handle.ariaLabel": "Connection point"
|
|
323
|
+
},
|
|
324
|
+
serviceMapNodeRole: "service",
|
|
325
|
+
serviceMapEdgeRole: "connection",
|
|
326
|
+
serviceMapEdgeName: (e, t) => `${e} to ${t}`,
|
|
327
|
+
enterWholeNumber: "Enter a whole number",
|
|
328
|
+
enterNumber: "Enter a number",
|
|
329
|
+
timeRange: "Time range",
|
|
330
|
+
moreSavedQueries: "More saved queries",
|
|
331
|
+
saveCurrentQuery: "Save the current query",
|
|
332
|
+
untitledQuery: "Untitled query",
|
|
333
|
+
notifications: "Notifications",
|
|
334
|
+
notificationBellLabel: (e) => e > 0 ? `Notifications: ${e.toLocaleString("en")} unread` : "Notifications",
|
|
335
|
+
unreadCount: (e) => `${e.toLocaleString("en")} unread`,
|
|
336
|
+
notificationsLoadFailedNote: (e) => `Notifications couldn't load. ${e}`,
|
|
337
|
+
notificationsStaleNote: (e) => `Notifications may be out of date. ${e}`,
|
|
338
|
+
notificationsStale: "May be out of date.",
|
|
339
|
+
notificationsLoadFailed: "Couldn't load notifications",
|
|
340
|
+
notificationsCaughtUp: "You're all caught up.",
|
|
341
|
+
viewAll: "View all",
|
|
342
|
+
inboxTitle: "Inbox",
|
|
343
|
+
inboxDescription: "Workspace activity, alerts, and invites in one place.",
|
|
344
|
+
markAllRead: "Mark all as read",
|
|
345
|
+
inboxAll: "All",
|
|
346
|
+
inboxUnread: (e) => e > 0 ? `Unread (${e.toLocaleString("en")})` : "Unread",
|
|
347
|
+
inboxStale: "This list may be out of date",
|
|
348
|
+
inboxNoUnread: "No unread items",
|
|
349
|
+
inboxEmptyTitle: "No notifications",
|
|
350
|
+
inboxEmptyDescription: "Activity will appear here as it happens.",
|
|
351
|
+
notificationSeverity: (e) => ({ info: "Info", success: "Success", warning: "Warning", error: "Error" })[e],
|
|
352
|
+
askPanelTitle: "Ask AI",
|
|
353
|
+
askSurface: "Surface",
|
|
354
|
+
askEntity: "Entity",
|
|
355
|
+
askToolsAvailable: (e) => `Tools available (${e.toLocaleString("en")})`,
|
|
356
|
+
askNoTools: "No tools in scope.",
|
|
357
|
+
askPlaceholder: "Ask about this…",
|
|
358
|
+
askNoAgent: "No agent is connected."
|
|
359
|
+
}, d = {
|
|
105
360
|
copy: "复制",
|
|
106
361
|
copied: "已复制",
|
|
107
362
|
copyToClipboard: "复制到剪贴板",
|
|
@@ -130,19 +385,17 @@ const o = {
|
|
|
130
385
|
nextPage: "下一页",
|
|
131
386
|
rowsPerPage: "每页",
|
|
132
387
|
rangeOf: " / 共 ",
|
|
133
|
-
|
|
134
|
-
recordsUnit: "条记录",
|
|
135
|
-
barValue: (e, r) => `${e} / ${r}`,
|
|
388
|
+
barValue: (e, t) => `${e} / ${t}`,
|
|
136
389
|
noValue: "无数据",
|
|
137
|
-
paretoChartLabel: (e,
|
|
390
|
+
paretoChartLabel: (e, t) => `${t} 对 ${e} 的帕累托前沿`,
|
|
138
391
|
paretoEmptyTitle: "未配置指标",
|
|
139
|
-
runPipsLabel: ({ passed: e, failed:
|
|
392
|
+
runPipsLabel: ({ passed: e, failed: t, errored: a, pending: o, total: r }) => `${String(r)} 次运行:通过 ${String(e)},未通过 ${String(t)},运行失败 ${String(a)}${o > 0 ? `,进行中 ${String(o)}` : ""}`,
|
|
140
393
|
shareLinkSharing: "分享",
|
|
141
394
|
shareLinkExpiresAfter: "有效期",
|
|
142
395
|
shareLinkTtl: (e) => e < 3600 ? `${String(e / 60)} 分钟` : e < 86400 ? `${String(e / 3600)} 小时` : `${String(e / 86400)} 天`,
|
|
143
396
|
shareLinkDisposition: "打开方式",
|
|
144
397
|
shareLinkForceDownload: "强制下载(作为附件)",
|
|
145
|
-
shareLinkExpiresIn: ({ hours: e, minutes:
|
|
398
|
+
shareLinkExpiresIn: ({ hours: e, minutes: t, seconds: a }) => e > 0 ? `${String(e)} 小时 ${String(t)} 分后过期` : t > 0 ? `${String(t)} 分 ${String(a)} 秒后过期` : `${String(a)} 秒后过期`,
|
|
146
399
|
shareLinkExpired: "已过期",
|
|
147
400
|
shareLinkCopy: "复制链接",
|
|
148
401
|
shareLinkGenerate: "生成链接",
|
|
@@ -163,7 +416,7 @@ const o = {
|
|
|
163
416
|
expandRow: "展开",
|
|
164
417
|
collapseRow: "收起",
|
|
165
418
|
resizeNameColumn: "调整名称列宽度",
|
|
166
|
-
traceSpanTiming: (e,
|
|
419
|
+
traceSpanTiming: (e, t) => `开始 +${e} · 耗时 ${t}`,
|
|
167
420
|
traceSpanStatus: (e) => ({ ok: "正常", error: "失败", unset: "未标记" })[e],
|
|
168
421
|
traceSpanField: (e) => ({
|
|
169
422
|
name: "名称",
|
|
@@ -176,7 +429,7 @@ const o = {
|
|
|
176
429
|
})[e],
|
|
177
430
|
inspectorOverview: "概览",
|
|
178
431
|
inspectorAttributes: "属性",
|
|
179
|
-
noAttributes: "
|
|
432
|
+
noAttributes: "暂无属性",
|
|
180
433
|
noAttributesDescription: "这个节点没有记录属性。",
|
|
181
434
|
inspectorTabs: "详情标签页",
|
|
182
435
|
maximizeInspector: "放大详情面板",
|
|
@@ -184,7 +437,7 @@ const o = {
|
|
|
184
437
|
closeInspector: "关闭详情面板",
|
|
185
438
|
maximize: "放大",
|
|
186
439
|
restore: "还原",
|
|
187
|
-
timelineEmptyTitle: "
|
|
440
|
+
timelineEmptyTitle: "暂无时间区间",
|
|
188
441
|
timelineEmptyDescription: "暂无可绘制的内容。",
|
|
189
442
|
alertTone: (e) => ({ info: "提示:", success: "成功:", warning: "注意:", error: "错误:" })[e],
|
|
190
443
|
carouselRoleDescription: "轮播",
|
|
@@ -196,13 +449,277 @@ const o = {
|
|
|
196
449
|
replayNextStep: "下一步",
|
|
197
450
|
replaySpeed: "播放速度",
|
|
198
451
|
replayPosition: "回放位置",
|
|
199
|
-
replayStepOf: (e,
|
|
452
|
+
replayStepOf: (e, t) => `第 ${e} 步 · 共 ${t} 步`,
|
|
200
453
|
replayKeyMoment: (e) => `关键时刻 ${e}`,
|
|
201
454
|
replaySteps: "步骤",
|
|
202
|
-
scrollStoryPosition: (e,
|
|
455
|
+
scrollStoryPosition: (e, t) => `第 ${e} 步 · 共 ${t} 步`,
|
|
456
|
+
cancel: "取消",
|
|
457
|
+
save: "保存",
|
|
458
|
+
apply: "应用",
|
|
459
|
+
rename: "重命名",
|
|
460
|
+
delete: "删除",
|
|
461
|
+
deleteNamed: (e) => `删除“${e}”`,
|
|
462
|
+
moreActionsFor: (e) => `“${e}”的更多操作`,
|
|
463
|
+
retry: "重试",
|
|
464
|
+
dismiss: "移除",
|
|
465
|
+
clear: "清除",
|
|
466
|
+
undo: "撤销",
|
|
467
|
+
download: "下载",
|
|
468
|
+
send: "发送",
|
|
469
|
+
pin: "固定",
|
|
470
|
+
unpin: "取消固定",
|
|
471
|
+
pinNamed: (e) => `固定“${e}”`,
|
|
472
|
+
unpinNamed: (e) => `取消固定“${e}”`,
|
|
473
|
+
signIn: "登录",
|
|
474
|
+
signOut: "退出登录",
|
|
475
|
+
searchPlaceholder: "搜索…",
|
|
476
|
+
suggestions: "建议",
|
|
477
|
+
noItems: "暂无条目",
|
|
478
|
+
noData: "暂无数据",
|
|
479
|
+
noEvents: "暂无事件",
|
|
480
|
+
relativeTime: (e) => {
|
|
481
|
+
switch (e.unit) {
|
|
482
|
+
case "now":
|
|
483
|
+
return "刚刚";
|
|
484
|
+
case "minutes":
|
|
485
|
+
return `${String(e.count)} 分钟前`;
|
|
486
|
+
case "hours":
|
|
487
|
+
return `${String(e.count)} 小时前`;
|
|
488
|
+
case "yesterday":
|
|
489
|
+
return "昨天";
|
|
490
|
+
case "days":
|
|
491
|
+
return `${String(e.count)} 天前`;
|
|
492
|
+
case "date":
|
|
493
|
+
return e.date.toLocaleDateString("zh-CN", i);
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
formatDateTime: (e) => e.toLocaleString("zh-CN", n),
|
|
497
|
+
routeErrorTitle: "页面渲染失败",
|
|
498
|
+
environmentsUnavailable: "无法加载环境",
|
|
499
|
+
environmentsUnavailableShort: "环境出错",
|
|
500
|
+
environmentsRetry: (e) => `${e} 点击重试。`,
|
|
501
|
+
switchEnvironment: "切换环境",
|
|
502
|
+
agentPanel: "Agent 面板",
|
|
503
|
+
showAgentPanel: "显示 Agent 面板",
|
|
504
|
+
hideAgentPanel: "隐藏 Agent 面板",
|
|
505
|
+
authChecking: "正在检查登录状态…",
|
|
506
|
+
authSignInTo: (e) => `登录后使用 ${e}`,
|
|
507
|
+
authSignInDescription: "此应用需要登录,请登录后继续。",
|
|
508
|
+
authForbiddenTitle: "权限不足",
|
|
509
|
+
authForbiddenRoles: (e, t, a) => `${e} 需要以下角色之一:${t.join("、")}。你的角色:${a.length > 0 ? a.join("、") : "无"}。`,
|
|
510
|
+
authForbidden: (e) => `你没有 ${e} 的访问权限。`,
|
|
511
|
+
authEmail: "邮箱",
|
|
512
|
+
authPassword: "密码",
|
|
513
|
+
authName: "姓名",
|
|
514
|
+
authNamePlaceholder: "张三",
|
|
515
|
+
authEmailRequired: "请输入邮箱地址。",
|
|
516
|
+
authEmailInvalid: "请输入有效的邮箱地址。",
|
|
517
|
+
authNameRequired: "请输入姓名。",
|
|
518
|
+
authPasswordRequired: "请输入密码。",
|
|
519
|
+
authPasswordTooShort: (e) => `密码至少需要 ${String(e)} 个字符。`,
|
|
520
|
+
authPasswordHint: (e) => `至少 ${String(e)} 个字符。`,
|
|
521
|
+
authRememberMe: "记住我",
|
|
522
|
+
authForgotPassword: "忘记密码?",
|
|
523
|
+
authSigningIn: "正在登录…",
|
|
524
|
+
authCreateAccount: "创建账号",
|
|
525
|
+
authCreatingAccount: "正在创建账号…",
|
|
526
|
+
authResetHint: "我们会把重置链接发送到这个邮箱。",
|
|
527
|
+
authSendResetLink: "发送重置链接",
|
|
528
|
+
authSending: "正在发送…",
|
|
529
|
+
showPassword: "显示密码",
|
|
530
|
+
hidePassword: "隐藏密码",
|
|
531
|
+
commandPaletteTitle: "命令",
|
|
532
|
+
commandPalettePlaceholder: "输入命令…",
|
|
533
|
+
commandPaletteEmpty: "没有匹配的命令。",
|
|
534
|
+
commandGroupOther: "其他",
|
|
535
|
+
commandStatus: (e) => ({ pending: "等待中", success: "已完成", error: "失败" })[e],
|
|
536
|
+
chatPlaceholder: "向助手提问…",
|
|
537
|
+
chatMessage: "消息",
|
|
538
|
+
chatSendMessage: "发送消息",
|
|
539
|
+
chatHint: "Enter 发送 · Shift+Enter 换行",
|
|
540
|
+
conversations: "对话",
|
|
541
|
+
renameConversation: "重命名对话",
|
|
542
|
+
confirmDelete: "确认删除?",
|
|
543
|
+
inspectorContentKind: (e) => ({
|
|
544
|
+
json: "JSON 内容",
|
|
545
|
+
markdown: "Markdown 内容",
|
|
546
|
+
sql: "SQL 内容",
|
|
547
|
+
text: "文本内容"
|
|
548
|
+
})[e],
|
|
549
|
+
contentDuplicates: (e) => `+${String(e)} 处重复`,
|
|
550
|
+
contentRoot: "内容",
|
|
551
|
+
dangerZone: "危险操作",
|
|
552
|
+
resizeColumn: "调整列宽度",
|
|
553
|
+
pageSize: "每页条数",
|
|
554
|
+
dropzoneDropFolder: "松开即可上传文件夹",
|
|
555
|
+
dropzoneDropFiles: "松开即可上传",
|
|
556
|
+
dropzoneBrowseFolder: "将文件夹拖到这里,或点击选择",
|
|
557
|
+
dropzoneBrowseFiles: "将文件拖到这里,或点击选择",
|
|
558
|
+
dropzoneMaxSize: (e) => `最大 ${e}`,
|
|
559
|
+
folderDropzoneHint: "将文件夹拖到这里,或在下方选择",
|
|
560
|
+
folderDropzoneSelected: (e, t) => `已选择 ${String(e)} 个文件 · ${t}`,
|
|
561
|
+
folderDropzoneTooMany: (e, t) => `文件过多:已选择 ${String(e)} 个,最多允许 ${String(t)} 个。`,
|
|
562
|
+
folderDropzoneFileTooLarge: (e, t, a) => `“${e}”大小为 ${t},超过单个文件上限 ${a}。`,
|
|
563
|
+
folderDropzoneTotalTooLarge: (e, t) => `所选文件共 ${e},超过总大小上限 ${t}。`,
|
|
564
|
+
chooseFolder: "选择文件夹",
|
|
565
|
+
chooseFiles: "选择文件",
|
|
566
|
+
filePreviewLoading: "正在加载…",
|
|
567
|
+
filePreviewFailed: (e) => `预览失败:${e}`,
|
|
568
|
+
pdfPreview: "PDF 预览",
|
|
569
|
+
binaryFile: "二进制文件",
|
|
570
|
+
folders: "文件夹",
|
|
571
|
+
expandFolders: "展开文件夹",
|
|
572
|
+
collapseFolders: "收起文件夹",
|
|
573
|
+
noSubPrefixes: "暂无子前缀",
|
|
574
|
+
selectionCount: (e) => `已选 ${e.toLocaleString("zh-CN")} 项`,
|
|
575
|
+
parquetEmptyTitle: "暂无 Parquet 文件",
|
|
576
|
+
parquetEmptyDescription: "传入文件或 src 地址即可查看。",
|
|
577
|
+
parquetReadFailed: "无法读取 Parquet 文件",
|
|
578
|
+
parquetRows: (e) => `${e.toLocaleString("zh-CN")} 行`,
|
|
579
|
+
parquetColumns: (e) => `${e.toLocaleString("zh-CN")} 列`,
|
|
580
|
+
parquetEmptyPage: "此页暂无数据",
|
|
581
|
+
selectProject: "选择项目",
|
|
582
|
+
searchProjects: "搜索项目",
|
|
583
|
+
searchProjectsPlaceholder: "搜索项目…",
|
|
584
|
+
noProjectsFound: "没有找到项目",
|
|
585
|
+
queryPlaceholder: "搜索… 例如 service.name:foo AND duration:>1000",
|
|
586
|
+
queryLabel: "Lucene 查询",
|
|
587
|
+
querySyntaxHelp: "LuceneQL 语法帮助",
|
|
588
|
+
querySyntax: (e) => ({
|
|
589
|
+
exact: "精确匹配",
|
|
590
|
+
phrase: "短语匹配",
|
|
591
|
+
wildcard: "通配符",
|
|
592
|
+
range: "范围 / 比较",
|
|
593
|
+
boolean: "布尔运算符",
|
|
594
|
+
grouping: "分组"
|
|
595
|
+
})[e],
|
|
596
|
+
expandPanel: "展开面板",
|
|
597
|
+
resizePanel: "调整面板宽度",
|
|
598
|
+
savedQueries: "已保存的查询",
|
|
599
|
+
savedQueriesEmpty: "暂无已保存的查询,保存当前视图即可固定到这里。",
|
|
600
|
+
renameSavedQuery: "重命名已保存的查询",
|
|
601
|
+
savedQueryName: "为这个查询命名",
|
|
602
|
+
savedQueryNamePlaceholder: "例如:最近 24 小时失败的运行",
|
|
603
|
+
saveCurrent: "保存当前查询",
|
|
604
|
+
moreCount: (e) => `还有 ${String(e)} 个`,
|
|
605
|
+
sparkline: "迷你趋势图",
|
|
606
|
+
stepStatus: (e) => ({
|
|
607
|
+
complete: "(已完成)",
|
|
608
|
+
current: "(当前步骤)",
|
|
609
|
+
unavailable: "(暂不可用)"
|
|
610
|
+
})[e],
|
|
611
|
+
terminalLabel: "实验日志",
|
|
612
|
+
themeToggle: (e) => ({
|
|
613
|
+
light: "切换到深色主题",
|
|
614
|
+
dark: "跟随系统主题",
|
|
615
|
+
system: "切换到浅色主题"
|
|
616
|
+
})[e],
|
|
617
|
+
timeRangePlaceholder: "选择时间范围",
|
|
618
|
+
timeRangeLast: ({ amount: e, unit: t }) => `最近 ${e.toLocaleString("zh-CN")} ${s[t]}`,
|
|
619
|
+
timeRangeExpression: "表达式",
|
|
620
|
+
timeRangeExpressionPlaceholder: "例如 now-15m 或 yesterday 10am to today 11am",
|
|
621
|
+
timeRangeUnparseable: "无法解析这个表达式",
|
|
622
|
+
timeRangePresets: "快捷范围",
|
|
623
|
+
timeRangeAbsolute: "绝对时间范围",
|
|
624
|
+
timeRangeFrom: "开始",
|
|
625
|
+
timeRangeTo: "结束",
|
|
626
|
+
notSerialisable: (e) => `无法序列化:${e}`,
|
|
627
|
+
spanNotJson: "无法以 JSON 显示这个节点",
|
|
628
|
+
traceSpans: "调用链节点",
|
|
629
|
+
uploadQueueEmptyTitle: "暂无上传任务",
|
|
630
|
+
uploadQueueEmptyDescription: "将文件拖到上传区域即可开始上传。",
|
|
631
|
+
uploadsDone: (e, t) => `已完成 ${String(e)}/${String(t)}`,
|
|
632
|
+
uploadEta: (e) => `剩余约 ${e}`,
|
|
633
|
+
uploadStatus: (e) => ({
|
|
634
|
+
queued: "排队中",
|
|
635
|
+
uploading: "上传中",
|
|
636
|
+
done: "已完成",
|
|
637
|
+
error: "失败"
|
|
638
|
+
})[e],
|
|
639
|
+
uploadFailed: "上传失败",
|
|
640
|
+
cancelUpload: "取消上传",
|
|
641
|
+
clearCompleted: "清除已完成",
|
|
642
|
+
codeEditorPhrases: {
|
|
643
|
+
Find: "查找",
|
|
644
|
+
Replace: "替换",
|
|
645
|
+
next: "下一个",
|
|
646
|
+
previous: "上一个",
|
|
647
|
+
all: "全部",
|
|
648
|
+
"match case": "区分大小写",
|
|
649
|
+
regexp: "正则",
|
|
650
|
+
"by word": "全字匹配",
|
|
651
|
+
replace: "替换",
|
|
652
|
+
"replace all": "全部替换",
|
|
653
|
+
close: "关闭",
|
|
654
|
+
"Go to line": "跳转到行",
|
|
655
|
+
go: "跳转",
|
|
656
|
+
"current match": "当前匹配",
|
|
657
|
+
"on line": "所在行",
|
|
658
|
+
"replaced $ matches": "已替换 $ 处匹配",
|
|
659
|
+
"replaced match on line $": "已替换第 $ 行的匹配",
|
|
660
|
+
"folded code": "已折叠的代码",
|
|
661
|
+
unfold: "展开",
|
|
662
|
+
to: "至",
|
|
663
|
+
"Folded lines": "已折叠的行",
|
|
664
|
+
"Unfolded lines": "已展开的行",
|
|
665
|
+
"Fold line": "折叠此行",
|
|
666
|
+
"Unfold line": "展开此行",
|
|
667
|
+
Completions: "补全建议",
|
|
668
|
+
"Control character": "控制字符",
|
|
669
|
+
"Selection deleted": "已删除所选内容"
|
|
670
|
+
},
|
|
671
|
+
avatarStatus: (e) => ({ online: "在线", offline: "离线", busy: "忙碌", away: "离开" })[e],
|
|
672
|
+
serviceMapAriaLabels: {
|
|
673
|
+
"node.a11yDescription.default": "按 Enter 或空格键选中此服务。",
|
|
674
|
+
"node.a11yDescription.keyboardDisabled": "按 Enter 或空格键选中此服务。",
|
|
675
|
+
"node.a11yDescription.ariaLiveMessage": ({ direction: e, x: t, y: a }) => `已将选中的服务向${l[e] ?? e}移动。新位置:x ${String(t)},y ${String(a)}。`,
|
|
676
|
+
"edge.a11yDescription.default": "按 Enter 或空格键选中此连线。",
|
|
677
|
+
"controls.ariaLabel": "视图控件",
|
|
678
|
+
"controls.zoomIn.ariaLabel": "放大",
|
|
679
|
+
"controls.zoomOut.ariaLabel": "缩小",
|
|
680
|
+
"controls.fitView.ariaLabel": "适应视图",
|
|
681
|
+
"controls.interactive.ariaLabel": "切换交互",
|
|
682
|
+
"minimap.ariaLabel": "缩略图",
|
|
683
|
+
"handle.ariaLabel": "连接点"
|
|
684
|
+
},
|
|
685
|
+
serviceMapNodeRole: "服务",
|
|
686
|
+
serviceMapEdgeRole: "连线",
|
|
687
|
+
serviceMapEdgeName: (e, t) => `从 ${e} 到 ${t}`,
|
|
688
|
+
enterWholeNumber: "请输入整数",
|
|
689
|
+
enterNumber: "请输入数字",
|
|
690
|
+
timeRange: "时间范围",
|
|
691
|
+
moreSavedQueries: "更多已保存的查询",
|
|
692
|
+
saveCurrentQuery: "保存当前查询",
|
|
693
|
+
untitledQuery: "未命名查询",
|
|
694
|
+
notifications: "通知",
|
|
695
|
+
notificationBellLabel: (e) => e > 0 ? `通知:${e.toLocaleString("zh-CN")} 条未读` : "通知",
|
|
696
|
+
unreadCount: (e) => `${e.toLocaleString("zh-CN")} 条未读`,
|
|
697
|
+
notificationsLoadFailedNote: (e) => `通知加载失败。${e}`,
|
|
698
|
+
notificationsStaleNote: (e) => `通知可能不是最新的。${e}`,
|
|
699
|
+
notificationsStale: "可能不是最新的。",
|
|
700
|
+
notificationsLoadFailed: "无法加载通知",
|
|
701
|
+
notificationsCaughtUp: "你已看完所有通知。",
|
|
702
|
+
viewAll: "查看全部",
|
|
703
|
+
inboxTitle: "收件箱",
|
|
704
|
+
inboxDescription: "工作区动态、告警和邀请都在这里。",
|
|
705
|
+
markAllRead: "全部标为已读",
|
|
706
|
+
inboxAll: "全部",
|
|
707
|
+
inboxUnread: (e) => e > 0 ? `未读(${e.toLocaleString("zh-CN")})` : "未读",
|
|
708
|
+
inboxStale: "此列表可能不是最新的",
|
|
709
|
+
inboxNoUnread: "暂无未读通知",
|
|
710
|
+
inboxEmptyTitle: "暂无通知",
|
|
711
|
+
inboxEmptyDescription: "有新动态时会显示在这里。",
|
|
712
|
+
notificationSeverity: (e) => ({ info: "信息", success: "成功", warning: "警告", error: "错误" })[e],
|
|
713
|
+
askPanelTitle: "询问 AI",
|
|
714
|
+
askSurface: "区域",
|
|
715
|
+
askEntity: "对象",
|
|
716
|
+
askToolsAvailable: (e) => `可用工具(${e.toLocaleString("zh-CN")})`,
|
|
717
|
+
askNoTools: "当前范围内没有可用工具。",
|
|
718
|
+
askPlaceholder: "就此提问…",
|
|
719
|
+
askNoAgent: "未连接 Agent。"
|
|
203
720
|
};
|
|
204
721
|
export {
|
|
205
|
-
|
|
206
|
-
|
|
722
|
+
c as enStrings,
|
|
723
|
+
d as zhCNStrings
|
|
207
724
|
};
|
|
208
725
|
//# sourceMappingURL=strings.js.map
|