@svadmin/core 0.40.1 → 0.41.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@svadmin/core",
3
- "version": "0.40.1",
3
+ "version": "0.41.1",
4
4
  "author": "zuohuadong",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,6 +22,15 @@ const baseLocales: Record<string, Record<string, string>> = {
22
22
  'common.delete': '删除',
23
23
  'common.batchDeletePartialFail': '批量删除部分失败:{failed}/{total} 条未成功',
24
24
  'common.batchDeleteSuccess': '成功删除 {count} 条记录',
25
+ 'common.selectedItems': '已选择 {count} 项',
26
+ 'common.clearSelection': '取消选择',
27
+ 'common.density': '表格密度',
28
+ 'common.densityCompact': '紧凑',
29
+ 'common.densityComfortable': '宽松',
30
+ 'common.filterTags': '已选条件',
31
+ 'common.clearAllFilters': '清除全部',
32
+ 'common.pageUnit': '页',
33
+ 'common.all': '全部',
25
34
  'common.search': '搜索...',
26
35
  'common.confirm': '确定',
27
36
  'common.loading': '加载中...',
@@ -194,6 +203,13 @@ const baseLocales: Record<string, Record<string, string>> = {
194
203
  'integrations.statusDisconnected': '未连接',
195
204
  'integrations.enabled': '已启用',
196
205
  'integrations.disabled': '已禁用',
206
+ 'integrations.statusProvidedByHost': '状态由已接入的集成服务提供',
207
+ 'integrations.sourceControl': '代码仓库',
208
+ 'integrations.sourceControlDescription': '同步仓库元数据、部署记录和提交活动。',
209
+ 'integrations.chatOpsDescription': '向工作区频道发送运行告警和审计摘要。',
210
+ 'integrations.identityCloud': '身份云',
211
+ 'integrations.identityCloudDescription': '配置单点登录和工作区身份交接。',
212
+ 'integrations.webhooksDescription': '为内部工具和监控注册出站 Webhook。',
197
213
  'integrations.addMoreHint': '需要自定义集成?请联系管理员注册新的应用程序。',
198
214
  'notifications.emailTitle': '邮件通知',
199
215
  'notifications.emailDescription': '将系统自动发送的通知推送到您的电子邮箱。',
@@ -654,6 +670,15 @@ const baseLocales: Record<string, Record<string, string>> = {
654
670
  'common.delete': 'Delete',
655
671
  'common.batchDeletePartialFail': 'Batch delete partially failed: {failed}/{total} unsuccessful',
656
672
  'common.batchDeleteSuccess': 'Successfully deleted {count} records',
673
+ 'common.selectedItems': '{count} selected',
674
+ 'common.clearSelection': 'Clear selection',
675
+ 'common.density': 'Table density',
676
+ 'common.densityCompact': 'Compact',
677
+ 'common.densityComfortable': 'Comfortable',
678
+ 'common.filterTags': 'Active filters',
679
+ 'common.clearAllFilters': 'Clear all',
680
+ 'common.pageUnit': 'Page',
681
+ 'common.all': 'All',
657
682
  'common.search': 'Search...',
658
683
  'common.confirm': 'Confirm',
659
684
  'common.loading': 'Loading...',
@@ -826,6 +851,13 @@ const baseLocales: Record<string, Record<string, string>> = {
826
851
  'integrations.statusDisconnected': 'Disconnected',
827
852
  'integrations.enabled': 'Enabled',
828
853
  'integrations.disabled': 'Disabled',
854
+ 'integrations.statusProvidedByHost': 'Status is provided by the connected integration service',
855
+ 'integrations.sourceControl': 'Source Control',
856
+ 'integrations.sourceControlDescription': 'Sync repository metadata, deployments, and commit activity.',
857
+ 'integrations.chatOpsDescription': 'Send operational alerts and audit summaries to workspace channels.',
858
+ 'integrations.identityCloud': 'Identity Cloud',
859
+ 'integrations.identityCloudDescription': 'Configure SSO and workspace identity handoff.',
860
+ 'integrations.webhooksDescription': 'Register outbound webhooks for internal tools and monitors.',
829
861
  'integrations.addMoreHint': 'Need custom integrations? Contact your administrator to register new application manifests.',
830
862
  'notifications.emailTitle': 'Email Notifications',
831
863
  'notifications.emailDescription': 'Get automated system messages delivered directly to your mailbox.',
package/src/types.ts CHANGED
@@ -458,7 +458,7 @@ export interface FieldDefinition {
458
458
  label: string;
459
459
  type: 'text' | 'number' | 'boolean' | 'date' | 'select' | 'multiselect' | 'tags'
460
460
  | 'textarea' | 'richtext' | 'image' | 'images' | 'json' | 'relation' | 'color'
461
- | 'url' | 'email' | 'phone' | 'file' | 'markdown' | 'password' | 'array';
461
+ | 'url' | 'email' | 'phone' | 'currency' | 'file' | 'markdown' | 'password' | 'array';
462
462
  required?: boolean;
463
463
  searchable?: boolean;
464
464
  sortable?: boolean;