@liujitcn/kratos-admin-system 0.0.26 → 0.0.28
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/package/declarations/src/api/system/base_i18n.d.ts +10 -0
- package/dist/package/declarations/src/api/system/code_gen_i18n.d.ts +1 -1
- package/dist/package/declarations/src/api/system/runtime_log.d.ts +13 -0
- package/dist/package/declarations/src/api/system/runtime_log_sse.d.ts +8 -0
- package/dist/package/declarations/src/components/DynamicTranslationCell.vue.d.ts +3 -3
- package/dist/package/declarations/src/components/dynamicTranslation.d.ts +1 -1
- package/dist/package/declarations/src/locales/generated.d.ts +1057 -0
- package/dist/package/declarations/src/rpc/common/v1/enum.d.ts +15 -6
- package/dist/package/declarations/src/rpc/system/admin/v1/base_api.d.ts +10 -1
- package/dist/package/declarations/src/rpc/system/admin/v1/base_config.d.ts +4 -4
- package/dist/package/declarations/src/rpc/system/admin/v1/base_dict.d.ts +5 -5
- package/dist/package/declarations/src/rpc/system/admin/v1/{base_translation.d.ts → base_i18n.d.ts} +3 -3
- package/dist/package/declarations/src/rpc/system/admin/v1/base_menu.d.ts +3 -3
- package/dist/package/declarations/src/rpc/system/admin/v1/code_gen_column.d.ts +1 -1
- package/dist/package/declarations/src/rpc/system/admin/v1/code_gen_table.d.ts +1 -1
- package/dist/package/declarations/src/rpc/system/admin/v1/ops_monitoring.d.ts +4 -0
- package/dist/package/declarations/src/rpc/system/admin/v1/project_document.d.ts +6 -0
- package/dist/package/declarations/src/rpc/system/admin/v1/runtime_log.d.ts +96 -0
- package/dist/package/declarations/src/views/tool/code-gen/components/CodeGenLocaleEditor.vue.d.ts +1 -1
- package/dist/package/declarations/src/views/tool/runtime-log/index.vue.d.ts +3 -0
- package/dist/package/src/api/base/sse.ts +3 -2
- package/dist/package/src/api/system/{base_translation.ts → base_i18n.ts} +5 -5
- package/dist/package/src/api/system/code_gen_i18n.ts +1 -1
- package/dist/package/src/api/system/runtime_log.ts +80 -0
- package/dist/package/src/api/system/runtime_log_sse.ts +40 -0
- package/dist/package/src/components/Ai.vue +9 -2
- package/dist/package/src/components/DynamicTranslationCell.vue +9 -9
- package/dist/package/src/components/DynamicTranslationEditor.vue +3 -3
- package/dist/package/src/components/dynamicTranslation.ts +1 -1
- package/dist/package/src/locales/en-US.json +33 -2
- package/dist/package/src/locales/generated.ts +2 -0
- package/dist/package/src/locales/ja-JP.json +964 -0
- package/dist/package/src/locales/zh-CN.json +33 -2
- package/dist/package/src/locales/zh-TW.json +33 -2
- package/dist/package/src/rpc/common/v1/enum.ts +16 -6
- package/dist/package/src/rpc/system/admin/v1/base_api.ts +11 -1
- package/dist/package/src/rpc/system/admin/v1/base_config.ts +4 -4
- package/dist/package/src/rpc/system/admin/v1/base_dict.ts +5 -5
- package/dist/package/src/rpc/system/admin/v1/{base_translation.ts → base_i18n.ts} +4 -4
- package/dist/package/src/rpc/system/admin/v1/base_menu.ts +3 -3
- package/dist/package/src/rpc/system/admin/v1/code_gen_column.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/code_gen_table.ts +1 -1
- package/dist/package/src/rpc/system/admin/v1/ops_monitoring.ts +4 -0
- package/dist/package/src/rpc/system/admin/v1/project_document.ts +6 -0
- package/dist/package/src/rpc/system/admin/v1/runtime_log.ts +113 -0
- package/dist/package/src/views/ai/chat/message.ts +12 -2
- package/dist/package/src/views/base/api/index.vue +20 -20
- package/dist/package/src/views/base/config/index.vue +11 -11
- package/dist/package/src/views/base/dept/index.vue +8 -8
- package/dist/package/src/views/base/dict/index.vue +9 -9
- package/dist/package/src/views/base/dict/item.vue +9 -9
- package/dist/package/src/views/base/job/index.vue +11 -11
- package/dist/package/src/views/base/language/index.vue +9 -9
- package/dist/package/src/views/base/menu/index.vue +14 -9
- package/dist/package/src/views/base/post/index.vue +8 -8
- package/dist/package/src/views/base/role/index.vue +8 -8
- package/dist/package/src/views/base/tenant/index.vue +8 -8
- package/dist/package/src/views/base/user/index.vue +8 -8
- package/dist/package/src/views/tool/api-doc/index.vue +14 -6
- package/dist/package/src/views/tool/code-gen/code-preview/index.vue +17 -0
- package/dist/package/src/views/tool/code-gen/columns/index.vue +8 -53
- package/dist/package/src/views/tool/code-gen/components/CodeGenLocaleEditor.vue +97 -15
- package/dist/package/src/views/tool/code-gen/components/CodeGenProgressDialog.vue +3 -12
- package/dist/package/src/views/tool/code-gen/preview/index.vue +3 -6
- package/dist/package/src/views/tool/code-gen/proto/index.vue +7 -8
- package/dist/package/src/views/tool/code-gen/table/index.vue +34 -2
- package/dist/package/src/views/tool/ops-monitoring/index.vue +153 -49
- package/dist/package/src/views/tool/project-doc/index.vue +9 -4
- package/dist/package/src/views/tool/runtime-log/index.vue +883 -0
- package/package.json +2 -2
- package/dist/package/declarations/src/api/system/base_translation.d.ts +0 -10
|
@@ -479,6 +479,7 @@
|
|
|
479
479
|
"system.ai.chat.action.collapse_sessions": "Collapse conversations",
|
|
480
480
|
"system.ai.chat.action.expand_sessions": "Expand conversations",
|
|
481
481
|
"system.ai.chat.action.new_conversation": "New conversation",
|
|
482
|
+
"system.ai.chat.action.open_assistant": "Open AI assistant",
|
|
482
483
|
"system.ai.chat.action.conversation_menu": "Conversation actions",
|
|
483
484
|
"system.ai.chat.action.rename": "Rename",
|
|
484
485
|
"system.ai.chat.action.continue": "Continue",
|
|
@@ -486,6 +487,7 @@
|
|
|
486
487
|
"system.ai.chat.title.error_detail": "Error details",
|
|
487
488
|
"system.ai.chat.title.runtime": "Runtime details",
|
|
488
489
|
"system.ai.chat.title.recent_conversations": "Recent conversations",
|
|
490
|
+
"system.ai.chat.title.assistant": "AI assistant",
|
|
489
491
|
"system.ai.chat.field.input_tokens": "Input",
|
|
490
492
|
"system.ai.chat.field.output_tokens": "Output",
|
|
491
493
|
"system.ai.chat.field.cache_tokens": "Cache read",
|
|
@@ -910,7 +912,12 @@
|
|
|
910
912
|
"system.ops_monitoring.error_rate": "Error rate",
|
|
911
913
|
"system.ops_monitoring.status.label": "Status",
|
|
912
914
|
"system.ops_monitoring.instance_resources": "Instance resources",
|
|
913
|
-
"system.ops_monitoring.current_recent_sample": "Most recent
|
|
915
|
+
"system.ops_monitoring.current_recent_sample": "Most recent instance resource sample",
|
|
916
|
+
"system.ops_monitoring.node_metric.heap_memory": "Heap memory",
|
|
917
|
+
"system.ops_monitoring.node_metric.memory": "Memory",
|
|
918
|
+
"system.ops_monitoring.node_metric.disk": "Disk",
|
|
919
|
+
"system.ops_monitoring.node_metric.current": "Used",
|
|
920
|
+
"system.ops_monitoring.node_metric.total": "Total",
|
|
914
921
|
"system.ops_monitoring.instance_count": "{count} instances",
|
|
915
922
|
"system.ops_monitoring.alert_events": "Alert events",
|
|
916
923
|
"system.ops_monitoring.alert_attention": "Failed requests requiring operations attention",
|
|
@@ -929,5 +936,29 @@
|
|
|
929
936
|
"system.ops_monitoring.kpi.p95_latency": "P95 latency",
|
|
930
937
|
"system.ops_monitoring.kpi.error_rate": "Error rate",
|
|
931
938
|
"system.ops_monitoring.kpi.availability": "Availability",
|
|
932
|
-
"system.ops_monitoring.kpi.current_window": "Current window"
|
|
939
|
+
"system.ops_monitoring.kpi.current_window": "Current window",
|
|
940
|
+
"system.runtime.log.section.sources": "Log sources",
|
|
941
|
+
"system.runtime.log.section.history_files": "History files",
|
|
942
|
+
"system.runtime.log.section.viewer": "Log viewer",
|
|
943
|
+
"system.runtime.log.value.live_console": "Live console",
|
|
944
|
+
"system.runtime.log.value.instance": "Instance {id}",
|
|
945
|
+
"system.runtime.log.value.entry_count": "{count} entries",
|
|
946
|
+
"system.runtime.log.placeholder.search_file": "Search log files",
|
|
947
|
+
"system.runtime.log.placeholder.search_content": "Search log content",
|
|
948
|
+
"system.runtime.log.placeholder.level": "Log level",
|
|
949
|
+
"system.runtime.log.action.resume": "Resume",
|
|
950
|
+
"system.runtime.log.action.pause": "Pause",
|
|
951
|
+
"system.runtime.log.action.auto_scroll": "Auto-scroll",
|
|
952
|
+
"system.runtime.log.action.download": "Download original",
|
|
953
|
+
"system.runtime.log.action.load_older": "Load older logs",
|
|
954
|
+
"system.runtime.log.empty.files": "No history log files",
|
|
955
|
+
"system.runtime.log.empty.entries": "No matching logs",
|
|
956
|
+
"system.runtime.log.status.connecting": "Connecting",
|
|
957
|
+
"system.runtime.log.status.live": "Live",
|
|
958
|
+
"system.runtime.log.status.paused": "Paused",
|
|
959
|
+
"system.runtime.log.status.disconnected": "Disconnected",
|
|
960
|
+
"system.runtime.log.status.loading": "Reading logs",
|
|
961
|
+
"system.runtime.log.message.gap": "The live stream skipped {count} entries. Check the history file for the missing logs.",
|
|
962
|
+
"system.runtime.log.message.file_changed": "The log file rotated or was truncated. Reading again from the end.",
|
|
963
|
+
"system.runtime.log.message.download_started": "Log file download started"
|
|
933
964
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/* 此文件由 scripts/sync_locales.py 生成,请勿手工修改。 */
|
|
2
2
|
import localeZhCn from './zh-CN.json'
|
|
3
3
|
import localeEnUs from './en-US.json'
|
|
4
|
+
import localeJaJp from './ja-JP.json'
|
|
4
5
|
import localeZhTw from './zh-TW.json'
|
|
5
6
|
|
|
6
7
|
export const LOCALE_MESSAGES = {
|
|
7
8
|
'zh-CN': localeZhCn,
|
|
8
9
|
'en-US': localeEnUs,
|
|
10
|
+
'ja-JP': localeJaJp,
|
|
9
11
|
'zh-TW': localeZhTw,
|
|
10
12
|
} as const satisfies Record<string, Record<string, string>>
|
|
11
13
|
|