@nexusclawhq/cli 0.3.74 → 0.3.76

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 (99) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +29 -0
  3. package/dist/build-info.json +4 -4
  4. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/agent-executable-assets/workforce-lock.types.d.ts +1 -1
  5. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.d.ts +60 -0
  6. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js +35 -3
  7. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/en-US.js.map +1 -1
  8. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/index.d.ts +120 -0
  9. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/record-type-semantics.d.ts +75 -0
  10. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/record-type-semantics.js +59 -0
  11. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/record-type-semantics.js.map +1 -0
  12. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.d.ts +60 -0
  13. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js +35 -3
  14. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/locales/zh-CN.js.map +1 -1
  15. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/duplicate.d.ts +1 -0
  16. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/duplicate.js +8 -4
  17. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/duplicate.js.map +1 -1
  18. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/formAssist.d.ts +38 -0
  19. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/formAssist.js +81 -0
  20. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/formAssist.js.map +1 -0
  21. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/index.d.ts +1 -0
  22. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/index.js +1 -0
  23. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/index.js.map +1 -1
  24. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/recordTypes.d.ts +4 -0
  25. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/recordTypes.js +7 -0
  26. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/record-home/recordTypes.js.map +1 -1
  27. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/governance.d.ts +73 -0
  28. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/governance.js +96 -0
  29. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/governance.js.map +1 -0
  30. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/index.d.ts +173 -0
  31. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/index.js +252 -0
  32. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/index.js.map +1 -0
  33. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/lifecycle.d.ts +25 -0
  34. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/lifecycle.js +24 -0
  35. package/dist/nexus-cli/node_modules/@nexusclaw/shared/dist/workspace-metadata-package/lifecycle.js.map +1 -0
  36. package/dist/nexus-cli/node_modules/@nexusclaw/shared/package.json +4 -0
  37. package/dist/nexus-cli/src/cli.js +0 -0
  38. package/dist/nexus-cli/src/commands/ai/help.test.js +4 -4
  39. package/dist/nexus-cli/src/commands/commands.test.js +1 -1
  40. package/dist/nexus-cli/src/commands/commands.test.js.map +1 -1
  41. package/dist/nexus-cli/src/commands/data/export-tree.d.ts +2 -0
  42. package/dist/nexus-cli/src/commands/data/export-tree.js +11 -66
  43. package/dist/nexus-cli/src/commands/data/export-tree.js.map +1 -1
  44. package/dist/nexus-cli/src/commands/data/export-tree.test.d.ts +1 -0
  45. package/dist/nexus-cli/src/commands/data/export-tree.test.js +17 -0
  46. package/dist/nexus-cli/src/commands/data/export-tree.test.js.map +1 -0
  47. package/dist/nexus-cli/src/commands/data/query.d.ts +14 -0
  48. package/dist/nexus-cli/src/commands/data/query.js +31 -11
  49. package/dist/nexus-cli/src/commands/data/query.js.map +1 -1
  50. package/dist/nexus-cli/src/commands/data/query.test.js +56 -0
  51. package/dist/nexus-cli/src/commands/data/query.test.js.map +1 -1
  52. package/dist/nexus-cli/src/commands/dx-workflows.e2e.test.js +5 -1
  53. package/dist/nexus-cli/src/commands/dx-workflows.e2e.test.js.map +1 -1
  54. package/dist/nexus-cli/src/commands/org/login-web-terminal.test.js +41 -6
  55. package/dist/nexus-cli/src/commands/org/login-web-terminal.test.js.map +1 -1
  56. package/dist/nexus-cli/src/commands/org/login-web.d.ts +11 -0
  57. package/dist/nexus-cli/src/commands/org/login-web.js +42 -9
  58. package/dist/nexus-cli/src/commands/org/login-web.js.map +1 -1
  59. package/dist/nexus-cli/src/commands/org/login-web.test.js +22 -0
  60. package/dist/nexus-cli/src/commands/org/login-web.test.js.map +1 -1
  61. package/dist/nexus-cli/src/commands/package/candidate.d.ts +3 -0
  62. package/dist/nexus-cli/src/commands/package/candidate.js +140 -0
  63. package/dist/nexus-cli/src/commands/package/candidate.js.map +1 -0
  64. package/dist/nexus-cli/src/commands/package/index.js +2 -0
  65. package/dist/nexus-cli/src/commands/package/index.js.map +1 -1
  66. package/dist/nexus-cli/src/commands/package/install.js +6 -11
  67. package/dist/nexus-cli/src/commands/package/install.js.map +1 -1
  68. package/dist/nexus-cli/src/commands/package/package-lifecycle.e2e.test.js +5 -1
  69. package/dist/nexus-cli/src/commands/package/package-lifecycle.e2e.test.js.map +1 -1
  70. package/dist/nexus-cli/src/contracts/command-contract-coverage-baseline.json +5 -5
  71. package/dist/nexus-cli/src/contracts/command-inventory.test.js +4 -4
  72. package/dist/nexus-cli/src/contracts/command-policy.exporter.test.js +2 -2
  73. package/dist/nexus-cli/src/contracts/command-policy.registry.js +4 -0
  74. package/dist/nexus-cli/src/contracts/command-policy.registry.js.map +1 -1
  75. package/dist/nexus-cli/src/contracts/command-policy.registry.test.js +4 -4
  76. package/dist/nexus-cli/src/contracts/command-policy.validator.test.js +10 -3
  77. package/dist/nexus-cli/src/contracts/command-policy.validator.test.js.map +1 -1
  78. package/dist/nexus-cli/src/services/api-client.d.ts +15 -0
  79. package/dist/nexus-cli/src/services/api-client.js +19 -8
  80. package/dist/nexus-cli/src/services/api-client.js.map +1 -1
  81. package/dist/nexus-cli/src/services/metadata-package-archive.d.ts +8 -0
  82. package/dist/nexus-cli/src/services/metadata-package-archive.js +36 -0
  83. package/dist/nexus-cli/src/services/metadata-package-archive.js.map +1 -0
  84. package/dist/nexus-cli/src/services/metadata-package-archive.test.d.ts +1 -0
  85. package/dist/nexus-cli/src/services/metadata-package-archive.test.js +169 -0
  86. package/dist/nexus-cli/src/services/metadata-package-archive.test.js.map +1 -0
  87. package/dist/nexus-cli/src/services/package-manifest.js +5 -1
  88. package/dist/nexus-cli/src/services/package-manifest.js.map +1 -1
  89. package/dist/nexus-cli/src/services/package-pack-inventory.js +11 -2
  90. package/dist/nexus-cli/src/services/package-pack-inventory.js.map +1 -1
  91. package/dist/nexus-cli/src/services/workforce-bundle-archive.d.ts +1 -1
  92. package/dist/nexus-cli/src/services/workforce-bundle-remote.d.ts +1 -1
  93. package/dist/nexus-cli/src/services/workforce-test-remote.d.ts +1 -1
  94. package/dist/nexus-cli/src/services/workforce-test-remote.js +1 -1
  95. package/dist/nexus-cli/src/services/workspace-metadata-lifecycle.d.ts +12 -0
  96. package/dist/nexus-cli/src/services/workspace-metadata-lifecycle.js +32 -0
  97. package/dist/nexus-cli/src/services/workspace-metadata-lifecycle.js.map +1 -0
  98. package/dist/tsconfig.tsbuildinfo +1 -1
  99. package/package.json +1 -1
@@ -1750,6 +1750,8 @@ export declare const locales: {
1750
1750
  emailLabel: string;
1751
1751
  titleLabel: string;
1752
1752
  profileBasicInfoTitle: string;
1753
+ profilePermissionsLoadFailed: string;
1754
+ profileNoVisibleFields: string;
1753
1755
  profileContactInfoTitle: string;
1754
1756
  profileWorkInfoTitle: string;
1755
1757
  profileAddressTitle: string;
@@ -5098,6 +5100,7 @@ export declare const locales: {
5098
5100
  tabAttribution: string;
5099
5101
  tabTrend: string;
5100
5102
  timeRange: string;
5103
+ executionStatistics: string;
5101
5104
  trendReady: string;
5102
5105
  noTrendData: string;
5103
5106
  };
@@ -6033,6 +6036,19 @@ export declare const locales: {
6033
6036
  BAD_USER_INPUT: string;
6034
6037
  NOT_FOUND: string;
6035
6038
  CONFLICT: string;
6039
+ BUSINESS_PROCESS_IN_USE: string;
6040
+ BUSINESS_PROCESS_API_NAME_EXISTS: string;
6041
+ BUSINESS_PROCESS_WRONG_OBJECT: string;
6042
+ BUSINESS_PROCESS_NOT_FOUND: string;
6043
+ BUSINESS_PROCESS_INACTIVE: string;
6044
+ INVALID_SUBSET_MAP: string;
6045
+ INVALID_SUBSET_FIELD: string;
6046
+ INVALID_SUBSET_VALUES: string;
6047
+ UNKNOWN_SUBSET_VALUE: string;
6048
+ PROCESS_FIELD_SUBSET_CONFLICT: string;
6049
+ INVALID_PROCESS_FIELD: string;
6050
+ INVALID_PROCESS_VALUES: string;
6051
+ UNKNOWN_PROCESS_VALUE: string;
6036
6052
  INTERNAL_SERVER_ERROR: string;
6037
6053
  GRAPHQL_VALIDATION_FAILED: string;
6038
6054
  PERSISTED_QUERY_NOT_FOUND: string;
@@ -8338,6 +8354,9 @@ export declare const locales: {
8338
8354
  summarizeTitle: string;
8339
8355
  };
8340
8356
  previewPanel: {
8357
+ summaryNeedsAggregation: string;
8358
+ configurationIncomplete: string;
8359
+ invalidSummaryResult: string;
8341
8360
  autoUpdate: string;
8342
8361
  previewQueryFailed: string;
8343
8362
  recordCount: string;
@@ -14114,6 +14133,7 @@ export declare const locales: {
14114
14133
  loadFailed: string;
14115
14134
  loading: string;
14116
14135
  totalCount: string;
14136
+ viewAll: string;
14117
14137
  booleanYes: string;
14118
14138
  booleanNo: string;
14119
14139
  };
@@ -17303,6 +17323,31 @@ export declare const locales: {
17303
17323
  week: string;
17304
17324
  day: string;
17305
17325
  };
17326
+ recordTypeSemantics: {
17327
+ selectBeforeForm: string;
17328
+ selectionHint: string;
17329
+ continueToForm: string;
17330
+ cancelSelection: string;
17331
+ reselectType: string;
17332
+ changeRecordType: string;
17333
+ valueNotAllowed: string;
17334
+ businessProcess: string;
17335
+ businessProcesses: string;
17336
+ createProcess: string;
17337
+ lifecycleField: string;
17338
+ stageOrder: string;
17339
+ stageOrderHint: string;
17340
+ deleteProcessConfirm: string;
17341
+ defaultLayout: string;
17342
+ inheritLayout: string;
17343
+ processOwnsField: string;
17344
+ subset: string;
17345
+ inheritOptions: string;
17346
+ emptySubsetHint: string;
17347
+ recordType: string;
17348
+ metadataUnavailable: string;
17349
+ noCreatableType: string;
17350
+ };
17306
17351
  recordForm: {
17307
17352
  recordType: string;
17308
17353
  selectRecordType: string;
@@ -17698,6 +17743,10 @@ export declare const locales: {
17698
17743
  };
17699
17744
  recordDetail: {
17700
17745
  readOnly: string;
17746
+ approvalLockedBanner: string;
17747
+ approvalLockedBannerHolder: string;
17748
+ approvalLockedSaveBlocked: string;
17749
+ approvalLockedDeleteBlocked: string;
17701
17750
  details: string;
17702
17751
  saveSuccess: string;
17703
17752
  saveFailed: string;
@@ -20969,6 +21018,15 @@ export declare const locales: {
20969
21018
  };
20970
21019
  livestream: {
20971
21020
  title: string;
21021
+ timeRange: string;
21022
+ customTimeRange: string;
21023
+ range: {
21024
+ today: string;
21025
+ "7days": string;
21026
+ "30days": string;
21027
+ custom: string;
21028
+ };
21029
+ statisticsScope: string;
20972
21030
  subtitle: string;
20973
21031
  refresh: string;
20974
21032
  workspaceMissing: string;
@@ -21746,6 +21804,8 @@ export declare const locales: {
21746
21804
  appWorkspaceTitle: string;
21747
21805
  configureHome: string;
21748
21806
  crmHomeTag: string;
21807
+ sharedCrmHomeTag: string;
21808
+ sharedCrmHomeSubtitle: string;
21749
21809
  headerSubtitle: string;
21750
21810
  todayOpsTag: string;
21751
21811
  workspaceTitle: string;
@@ -23855,6 +23915,8 @@ export declare const locales: {
23855
23915
  emailLabel: string;
23856
23916
  titleLabel: string;
23857
23917
  profileBasicInfoTitle: string;
23918
+ profilePermissionsLoadFailed: string;
23919
+ profileNoVisibleFields: string;
23858
23920
  profileContactInfoTitle: string;
23859
23921
  profileWorkInfoTitle: string;
23860
23922
  profileAddressTitle: string;
@@ -28108,6 +28170,19 @@ export declare const locales: {
28108
28170
  BAD_USER_INPUT: string;
28109
28171
  NOT_FOUND: string;
28110
28172
  CONFLICT: string;
28173
+ BUSINESS_PROCESS_IN_USE: string;
28174
+ BUSINESS_PROCESS_API_NAME_EXISTS: string;
28175
+ BUSINESS_PROCESS_WRONG_OBJECT: string;
28176
+ BUSINESS_PROCESS_NOT_FOUND: string;
28177
+ BUSINESS_PROCESS_INACTIVE: string;
28178
+ INVALID_SUBSET_MAP: string;
28179
+ INVALID_SUBSET_FIELD: string;
28180
+ INVALID_SUBSET_VALUES: string;
28181
+ UNKNOWN_SUBSET_VALUE: string;
28182
+ PROCESS_FIELD_SUBSET_CONFLICT: string;
28183
+ INVALID_PROCESS_FIELD: string;
28184
+ INVALID_PROCESS_VALUES: string;
28185
+ UNKNOWN_PROCESS_VALUE: string;
28111
28186
  INTERNAL_SERVER_ERROR: string;
28112
28187
  GRAPHQL_VALIDATION_FAILED: string;
28113
28188
  PERSISTED_QUERY_NOT_FOUND: string;
@@ -30412,6 +30487,9 @@ export declare const locales: {
30412
30487
  summarizeTitle: string;
30413
30488
  };
30414
30489
  previewPanel: {
30490
+ summaryNeedsAggregation: string;
30491
+ configurationIncomplete: string;
30492
+ invalidSummaryResult: string;
30415
30493
  autoUpdate: string;
30416
30494
  previewQueryFailed: string;
30417
30495
  recordCount: string;
@@ -36187,6 +36265,7 @@ export declare const locales: {
36187
36265
  loadFailed: string;
36188
36266
  loading: string;
36189
36267
  totalCount: string;
36268
+ viewAll: string;
36190
36269
  booleanYes: string;
36191
36270
  booleanNo: string;
36192
36271
  };
@@ -39395,6 +39474,31 @@ export declare const locales: {
39395
39474
  week: string;
39396
39475
  day: string;
39397
39476
  };
39477
+ recordTypeSemantics: {
39478
+ selectBeforeForm: string;
39479
+ selectionHint: string;
39480
+ continueToForm: string;
39481
+ cancelSelection: string;
39482
+ reselectType: string;
39483
+ changeRecordType: string;
39484
+ valueNotAllowed: string;
39485
+ businessProcess: string;
39486
+ businessProcesses: string;
39487
+ createProcess: string;
39488
+ lifecycleField: string;
39489
+ stageOrder: string;
39490
+ stageOrderHint: string;
39491
+ deleteProcessConfirm: string;
39492
+ defaultLayout: string;
39493
+ inheritLayout: string;
39494
+ processOwnsField: string;
39495
+ subset: string;
39496
+ inheritOptions: string;
39497
+ emptySubsetHint: string;
39498
+ recordType: string;
39499
+ metadataUnavailable: string;
39500
+ noCreatableType: string;
39501
+ };
39398
39502
  recordForm: {
39399
39503
  recordType: string;
39400
39504
  selectRecordType: string;
@@ -39773,6 +39877,10 @@ export declare const locales: {
39773
39877
  recordDetail: {
39774
39878
  attachmentsTab: string;
39775
39879
  readOnly: string;
39880
+ approvalLockedBanner: string;
39881
+ approvalLockedBannerHolder: string;
39882
+ approvalLockedSaveBlocked: string;
39883
+ approvalLockedDeleteBlocked: string;
39776
39884
  details: string;
39777
39885
  saveSuccess: string;
39778
39886
  saveFailed: string;
@@ -43036,6 +43144,16 @@ export declare const locales: {
43036
43144
  embeddedHomeLabel: string;
43037
43145
  };
43038
43146
  livestream: {
43147
+ timeRange: string;
43148
+ executionStatistics: string;
43149
+ customTimeRange: string;
43150
+ range: {
43151
+ today: string;
43152
+ "7days": string;
43153
+ "30days": string;
43154
+ custom: string;
43155
+ };
43156
+ statisticsScope: string;
43039
43157
  title: string;
43040
43158
  subtitle: string;
43041
43159
  refresh: string;
@@ -43814,6 +43932,8 @@ export declare const locales: {
43814
43932
  appWorkspaceTitle: string;
43815
43933
  configureHome: string;
43816
43934
  crmHomeTag: string;
43935
+ sharedCrmHomeTag: string;
43936
+ sharedCrmHomeSubtitle: string;
43817
43937
  headerSubtitle: string;
43818
43938
  todayOpsTag: string;
43819
43939
  workspaceTitle: string;
@@ -0,0 +1,75 @@
1
+ export declare const recordTypeSemanticsZhCN: {
2
+ selectBeforeForm: string;
3
+ selectionHint: string;
4
+ continueToForm: string;
5
+ cancelSelection: string;
6
+ reselectType: string;
7
+ changeRecordType: string;
8
+ valueNotAllowed: string;
9
+ businessProcess: string;
10
+ businessProcesses: string;
11
+ createProcess: string;
12
+ lifecycleField: string;
13
+ stageOrder: string;
14
+ stageOrderHint: string;
15
+ deleteProcessConfirm: string;
16
+ defaultLayout: string;
17
+ inheritLayout: string;
18
+ processOwnsField: string;
19
+ subset: string;
20
+ inheritOptions: string;
21
+ emptySubsetHint: string;
22
+ recordType: string;
23
+ metadataUnavailable: string;
24
+ noCreatableType: string;
25
+ };
26
+ export declare const recordTypeSemanticsEnUS: {
27
+ selectBeforeForm: string;
28
+ selectionHint: string;
29
+ continueToForm: string;
30
+ cancelSelection: string;
31
+ reselectType: string;
32
+ changeRecordType: string;
33
+ valueNotAllowed: string;
34
+ businessProcess: string;
35
+ businessProcesses: string;
36
+ createProcess: string;
37
+ lifecycleField: string;
38
+ stageOrder: string;
39
+ stageOrderHint: string;
40
+ deleteProcessConfirm: string;
41
+ defaultLayout: string;
42
+ inheritLayout: string;
43
+ processOwnsField: string;
44
+ subset: string;
45
+ inheritOptions: string;
46
+ emptySubsetHint: string;
47
+ recordType: string;
48
+ metadataUnavailable: string;
49
+ noCreatableType: string;
50
+ };
51
+ export declare function recordTypeSemanticsCopy(locale?: string): {
52
+ selectBeforeForm: string;
53
+ selectionHint: string;
54
+ continueToForm: string;
55
+ cancelSelection: string;
56
+ reselectType: string;
57
+ changeRecordType: string;
58
+ valueNotAllowed: string;
59
+ businessProcess: string;
60
+ businessProcesses: string;
61
+ createProcess: string;
62
+ lifecycleField: string;
63
+ stageOrder: string;
64
+ stageOrderHint: string;
65
+ deleteProcessConfirm: string;
66
+ defaultLayout: string;
67
+ inheritLayout: string;
68
+ processOwnsField: string;
69
+ subset: string;
70
+ inheritOptions: string;
71
+ emptySubsetHint: string;
72
+ recordType: string;
73
+ metadataUnavailable: string;
74
+ noCreatableType: string;
75
+ };
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.recordTypeSemanticsEnUS = exports.recordTypeSemanticsZhCN = void 0;
4
+ exports.recordTypeSemanticsCopy = recordTypeSemanticsCopy;
5
+ // Small shared catalog: importing record-type copy must not load the full desktop catalogs.
6
+ exports.recordTypeSemanticsZhCN = {
7
+ selectBeforeForm: "选择记录类型",
8
+ selectionHint: "先选择业务类型,再填写对应布局中的信息。",
9
+ continueToForm: "下一步",
10
+ cancelSelection: "取消",
11
+ reselectType: "返回重选类型",
12
+ changeRecordType: "变更记录类型",
13
+ valueNotAllowed: "此值不适用于当前记录类型,请重新选择",
14
+ businessProcess: "业务过程",
15
+ businessProcesses: "业务过程管理",
16
+ createProcess: "新建业务过程",
17
+ lifecycleField: "生命周期字段",
18
+ stageOrder: "阶段及顺序",
19
+ stageOrderHint: "按业务顺序选择阶段;取消后重新选择可调整顺序",
20
+ deleteProcessConfirm: "确定删除此业务过程?被记录类型使用的过程不能删除。",
21
+ defaultLayout: "默认布局",
22
+ inheritLayout: "继承对象默认布局",
23
+ processOwnsField: "生命周期字段的可用值由业务过程统一管理",
24
+ subset: "限定选项",
25
+ inheritOptions: "继承全部",
26
+ emptySubsetHint: "开启限定但不选择任何值,表示无可用选项",
27
+ recordType: "记录类型",
28
+ metadataUnavailable: "记录类型配置加载失败,请重试",
29
+ noCreatableType: "没有可创建的记录类型",
30
+ };
31
+ exports.recordTypeSemanticsEnUS = {
32
+ selectBeforeForm: "Select Record Type",
33
+ selectionHint: "Choose the business type before completing its form.",
34
+ continueToForm: "Next",
35
+ cancelSelection: "Cancel",
36
+ reselectType: "Back to Type Selection",
37
+ changeRecordType: "Change Record Type",
38
+ valueNotAllowed: "This value is not allowed for the selected record type. Select another value.",
39
+ businessProcess: "Business process",
40
+ businessProcesses: "Business processes",
41
+ createProcess: "New business process",
42
+ lifecycleField: "Lifecycle field",
43
+ stageOrder: "Stages and order",
44
+ stageOrderHint: "Select stages in business order; remove and reselect a stage to reorder it",
45
+ deleteProcessConfirm: "Delete this business process? Processes used by record types cannot be deleted.",
46
+ defaultLayout: "Default layout",
47
+ inheritLayout: "Inherit the object default layout",
48
+ processOwnsField: "The business process owns the lifecycle field's available values",
49
+ subset: "Restrict options",
50
+ inheritOptions: "Inherit all",
51
+ emptySubsetHint: "Restricting the field with no selected values means no options are available",
52
+ recordType: "Record type",
53
+ metadataUnavailable: "Record type configuration could not be loaded. Retry.",
54
+ noCreatableType: "No creatable record type is available",
55
+ };
56
+ function recordTypeSemanticsCopy(locale) {
57
+ return locale?.startsWith("en") ? exports.recordTypeSemanticsEnUS : exports.recordTypeSemanticsZhCN;
58
+ }
59
+ //# sourceMappingURL=record-type-semantics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"record-type-semantics.js","sourceRoot":"","sources":["../../src/locales/record-type-semantics.ts"],"names":[],"mappings":";;;AAuDA,0DAEC;AAzDD,4FAA4F;AAC/E,QAAA,uBAAuB,GAAG;IACnC,gBAAgB,EAAE,QAAQ;IAC1B,aAAa,EAAE,sBAAsB;IACrC,cAAc,EAAE,KAAK;IACrB,eAAe,EAAE,IAAI;IACrB,YAAY,EAAE,QAAQ;IACtB,gBAAgB,EAAE,QAAQ;IAC1B,eAAe,EAAE,oBAAoB;IACrC,eAAe,EAAE,MAAM;IACvB,iBAAiB,EAAE,QAAQ;IAC3B,aAAa,EAAE,QAAQ;IACvB,cAAc,EAAE,QAAQ;IACxB,UAAU,EAAE,OAAO;IACnB,cAAc,EAAE,wBAAwB;IACxC,oBAAoB,EAAE,2BAA2B;IACjD,aAAa,EAAE,MAAM;IACrB,aAAa,EAAE,UAAU;IACzB,gBAAgB,EAAE,qBAAqB;IACvC,MAAM,EAAE,MAAM;IACd,cAAc,EAAE,MAAM;IACtB,eAAe,EAAE,qBAAqB;IACtC,UAAU,EAAE,MAAM;IAClB,mBAAmB,EAAE,gBAAgB;IACrC,eAAe,EAAE,YAAY;CAEhC,CAAC;AAEW,QAAA,uBAAuB,GAAG;IACnC,gBAAgB,EAAE,oBAAoB;IACtC,aAAa,EAAE,sDAAsD;IACrE,cAAc,EAAE,MAAM;IACtB,eAAe,EAAE,QAAQ;IACzB,YAAY,EAAE,wBAAwB;IACtC,gBAAgB,EAAE,oBAAoB;IACtC,eAAe,EAAE,+EAA+E;IAChG,eAAe,EAAE,kBAAkB;IACnC,iBAAiB,EAAE,oBAAoB;IACvC,aAAa,EAAE,sBAAsB;IACrC,cAAc,EAAE,iBAAiB;IACjC,UAAU,EAAE,kBAAkB;IAC9B,cAAc,EAAE,4EAA4E;IAC5F,oBAAoB,EAAE,iFAAiF;IACvG,aAAa,EAAE,gBAAgB;IAC/B,aAAa,EAAE,mCAAmC;IAClD,gBAAgB,EAAE,kEAAkE;IACpF,MAAM,EAAE,kBAAkB;IAC1B,cAAc,EAAE,aAAa;IAC7B,eAAe,EAAE,8EAA8E;IAC/F,UAAU,EAAE,aAAa;IACzB,mBAAmB,EAAE,uDAAuD;IAC5E,eAAe,EAAE,uCAAuC;CAE3D,CAAC;AAEF,SAAgB,uBAAuB,CAAC,MAAe;IACrD,OAAO,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,+BAAuB,CAAC,CAAC,CAAC,+BAAuB,CAAC;AACtF,CAAC"}
@@ -1746,6 +1746,8 @@ declare const _default: {
1746
1746
  emailLabel: string;
1747
1747
  titleLabel: string;
1748
1748
  profileBasicInfoTitle: string;
1749
+ profilePermissionsLoadFailed: string;
1750
+ profileNoVisibleFields: string;
1749
1751
  profileContactInfoTitle: string;
1750
1752
  profileWorkInfoTitle: string;
1751
1753
  profileAddressTitle: string;
@@ -5094,6 +5096,7 @@ declare const _default: {
5094
5096
  tabAttribution: string;
5095
5097
  tabTrend: string;
5096
5098
  timeRange: string;
5099
+ executionStatistics: string;
5097
5100
  trendReady: string;
5098
5101
  noTrendData: string;
5099
5102
  };
@@ -6029,6 +6032,19 @@ declare const _default: {
6029
6032
  BAD_USER_INPUT: string;
6030
6033
  NOT_FOUND: string;
6031
6034
  CONFLICT: string;
6035
+ BUSINESS_PROCESS_IN_USE: string;
6036
+ BUSINESS_PROCESS_API_NAME_EXISTS: string;
6037
+ BUSINESS_PROCESS_WRONG_OBJECT: string;
6038
+ BUSINESS_PROCESS_NOT_FOUND: string;
6039
+ BUSINESS_PROCESS_INACTIVE: string;
6040
+ INVALID_SUBSET_MAP: string;
6041
+ INVALID_SUBSET_FIELD: string;
6042
+ INVALID_SUBSET_VALUES: string;
6043
+ UNKNOWN_SUBSET_VALUE: string;
6044
+ PROCESS_FIELD_SUBSET_CONFLICT: string;
6045
+ INVALID_PROCESS_FIELD: string;
6046
+ INVALID_PROCESS_VALUES: string;
6047
+ UNKNOWN_PROCESS_VALUE: string;
6032
6048
  INTERNAL_SERVER_ERROR: string;
6033
6049
  GRAPHQL_VALIDATION_FAILED: string;
6034
6050
  PERSISTED_QUERY_NOT_FOUND: string;
@@ -8334,6 +8350,9 @@ declare const _default: {
8334
8350
  summarizeTitle: string;
8335
8351
  };
8336
8352
  previewPanel: {
8353
+ summaryNeedsAggregation: string;
8354
+ configurationIncomplete: string;
8355
+ invalidSummaryResult: string;
8337
8356
  autoUpdate: string;
8338
8357
  previewQueryFailed: string;
8339
8358
  recordCount: string;
@@ -14110,6 +14129,7 @@ declare const _default: {
14110
14129
  loadFailed: string;
14111
14130
  loading: string;
14112
14131
  totalCount: string;
14132
+ viewAll: string;
14113
14133
  booleanYes: string;
14114
14134
  booleanNo: string;
14115
14135
  };
@@ -17299,6 +17319,31 @@ declare const _default: {
17299
17319
  week: string;
17300
17320
  day: string;
17301
17321
  };
17322
+ recordTypeSemantics: {
17323
+ selectBeforeForm: string;
17324
+ selectionHint: string;
17325
+ continueToForm: string;
17326
+ cancelSelection: string;
17327
+ reselectType: string;
17328
+ changeRecordType: string;
17329
+ valueNotAllowed: string;
17330
+ businessProcess: string;
17331
+ businessProcesses: string;
17332
+ createProcess: string;
17333
+ lifecycleField: string;
17334
+ stageOrder: string;
17335
+ stageOrderHint: string;
17336
+ deleteProcessConfirm: string;
17337
+ defaultLayout: string;
17338
+ inheritLayout: string;
17339
+ processOwnsField: string;
17340
+ subset: string;
17341
+ inheritOptions: string;
17342
+ emptySubsetHint: string;
17343
+ recordType: string;
17344
+ metadataUnavailable: string;
17345
+ noCreatableType: string;
17346
+ };
17302
17347
  recordForm: {
17303
17348
  recordType: string;
17304
17349
  selectRecordType: string;
@@ -17694,6 +17739,10 @@ declare const _default: {
17694
17739
  };
17695
17740
  recordDetail: {
17696
17741
  readOnly: string;
17742
+ approvalLockedBanner: string;
17743
+ approvalLockedBannerHolder: string;
17744
+ approvalLockedSaveBlocked: string;
17745
+ approvalLockedDeleteBlocked: string;
17697
17746
  details: string;
17698
17747
  saveSuccess: string;
17699
17748
  saveFailed: string;
@@ -20965,6 +21014,15 @@ declare const _default: {
20965
21014
  };
20966
21015
  livestream: {
20967
21016
  title: string;
21017
+ timeRange: string;
21018
+ customTimeRange: string;
21019
+ range: {
21020
+ today: string;
21021
+ "7days": string;
21022
+ "30days": string;
21023
+ custom: string;
21024
+ };
21025
+ statisticsScope: string;
20968
21026
  subtitle: string;
20969
21027
  refresh: string;
20970
21028
  workspaceMissing: string;
@@ -21742,6 +21800,8 @@ declare const _default: {
21742
21800
  appWorkspaceTitle: string;
21743
21801
  configureHome: string;
21744
21802
  crmHomeTag: string;
21803
+ sharedCrmHomeTag: string;
21804
+ sharedCrmHomeSubtitle: string;
21745
21805
  headerSubtitle: string;
21746
21806
  todayOpsTag: string;
21747
21807
  workspaceTitle: string;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const record_type_semantics_1 = require("./record-type-semantics");
3
4
  const isLocaleMessageGroup = (value) => !!value && typeof value === "object" && !Array.isArray(value);
4
5
  const mergeLocaleMessages = (base, extra) => {
5
6
  const mutableBase = base;
@@ -1772,10 +1773,12 @@ const messages = {
1772
1773
  emailLabel: "邮箱",
1773
1774
  titleLabel: "职位",
1774
1775
  profileBasicInfoTitle: "基本信息",
1776
+ profilePermissionsLoadFailed: "个人资料权限加载失败,请重试。",
1777
+ profileNoVisibleFields: "除邮箱外,当前职权没有可查看的个人资料字段,请联系管理员检查用户对象和字段权限。",
1775
1778
  profileContactInfoTitle: "联系方式",
1776
1779
  profileWorkInfoTitle: "工作信息",
1777
1780
  profileAddressTitle: "地址",
1778
- profileFieldsAdminHint: "联系方式、工作信息和地址字段由工作区安全设置控制;不可编辑时请联系管理员。",
1781
+ profileFieldsAdminHint: "字段是否显示、可编辑或只读由职权及权限集的字段权限决定;请管理员在「设置 > 管理 > 职权 > 用户」中配置。邮箱、经理、职权和组织架构仍由管理员维护。",
1779
1782
  phoneLabel: "电话",
1780
1783
  extensionLabel: "分机",
1781
1784
  faxLabel: "传真",
@@ -5123,6 +5126,7 @@ const messages = {
5123
5126
  tabAttribution: "归因报告",
5124
5127
  tabTrend: "用量趋势",
5125
5128
  timeRange: "时间范围",
5129
+ executionStatistics: "执行统计",
5126
5130
  trendReady: "趋势图表数据已就绪({count} 个数据点),请集成 ECharts ChartRenderer 渲染。",
5127
5131
  noTrendData: "暂无趋势数据",
5128
5132
  },
@@ -6062,6 +6066,19 @@ const messages = {
6062
6066
  BAD_USER_INPUT: "输入数据无效,请检查后重试",
6063
6067
  NOT_FOUND: "请求的资源不存在",
6064
6068
  CONFLICT: "数据冲突,可能已被其他用户修改",
6069
+ BUSINESS_PROCESS_IN_USE: "该业务过程已被记录类型使用,请先解除绑定,再修改生命周期字段、停用或删除。",
6070
+ BUSINESS_PROCESS_API_NAME_EXISTS: "此对象已存在相同 API 名称的业务过程,请使用其他名称。",
6071
+ BUSINESS_PROCESS_WRONG_OBJECT: "业务过程不属于当前对象,请重新选择。",
6072
+ BUSINESS_PROCESS_NOT_FOUND: "业务过程不存在或已被删除。",
6073
+ BUSINESS_PROCESS_INACTIVE: "请选择当前对象已启用的业务过程。",
6074
+ INVALID_SUBSET_MAP: "选项限定配置格式无效,请检查后重试。",
6075
+ INVALID_SUBSET_FIELD: "只能为当前对象的单选或多选字段限定选项。",
6076
+ INVALID_SUBSET_VALUES: "限定选项必须是有效且不重复的选项值。",
6077
+ UNKNOWN_SUBSET_VALUE: "限定选项包含字段中不存在的值,请重新选择。",
6078
+ PROCESS_FIELD_SUBSET_CONFLICT: "生命周期字段的选项由业务过程管理,请移除此字段的独立选项限定。",
6079
+ INVALID_PROCESS_FIELD: "生命周期字段必须是当前对象的单选字段。",
6080
+ INVALID_PROCESS_VALUES: "业务过程至少需要一个阶段,且阶段值不能重复。",
6081
+ UNKNOWN_PROCESS_VALUE: "业务过程包含生命周期字段中不存在的阶段,请重新选择。",
6065
6082
  INTERNAL_SERVER_ERROR: "服务器内部错误,请稍后重试",
6066
6083
  GRAPHQL_VALIDATION_FAILED: "请求格式错误",
6067
6084
  PERSISTED_QUERY_NOT_FOUND: "查询未找到,请刷新页面",
@@ -8352,6 +8369,9 @@ const messages = {
8352
8369
  summarizeTitle: "汇总",
8353
8370
  },
8354
8371
  previewPanel: {
8372
+ summaryNeedsAggregation: "汇总表需要至少一个汇总字段,请将字段拖入“汇总”区域。",
8373
+ configurationIncomplete: "预览配置未完成,请补齐当前报表类型需要的字段和分组。",
8374
+ invalidSummaryResult: "汇总预览结果与当前分组不匹配,请重新运行。",
8355
8375
  autoUpdate: "自动更新预览",
8356
8376
  previewQueryFailed: "预览查询失败",
8357
8377
  recordCount: "记录数:",
@@ -14135,6 +14155,7 @@ const messages = {
14135
14155
  loadFailed: "数据加载失败",
14136
14156
  loading: "加载中...",
14137
14157
  totalCount: "共 {total} 条",
14158
+ viewAll: "查看全部",
14138
14159
  booleanYes: "是",
14139
14160
  booleanNo: "否",
14140
14161
  },
@@ -17315,6 +17336,7 @@ const messages = {
17315
17336
  week: "周",
17316
17337
  day: "日",
17317
17338
  },
17339
+ recordTypeSemantics: record_type_semantics_1.recordTypeSemanticsZhCN,
17318
17340
  recordForm: {
17319
17341
  recordType: "记录类型",
17320
17342
  selectRecordType: "请选择记录类型",
@@ -17710,6 +17732,10 @@ const messages = {
17710
17732
  },
17711
17733
  recordDetail: {
17712
17734
  readOnly: "只读",
17735
+ approvalLockedBanner: "该记录正在审批中,审批结束前其他用户无法编辑或删除",
17736
+ approvalLockedBannerHolder: "该记录正在审批中;你是提交人,仍可继续编辑",
17737
+ approvalLockedSaveBlocked: "保存失败:该记录正在审批流程中,暂时无法修改。请等待审批结束或联系管理员。",
17738
+ approvalLockedDeleteBlocked: "删除失败:该记录正在审批流程中,暂时无法删除。",
17713
17739
  details: "详细信息",
17714
17740
  saveSuccess: "保存成功",
17715
17741
  saveFailed: "保存失败,请稍后重试",
@@ -20977,6 +21003,10 @@ const messages = {
20977
21003
  },
20978
21004
  livestream: {
20979
21005
  title: "员工工作直播",
21006
+ timeRange: "时间范围",
21007
+ customTimeRange: "自定义时间范围",
21008
+ range: { today: "今天", "7days": "近7天", "30days": "近30天", custom: "自定义" },
21009
+ statisticsScope: "按创建时间统计所选范围的执行次数(全工作区;仅计可见记录)",
20980
21010
  subtitle: "按当前工作区员工名册查看真实执行状态与可追溯步骤。",
20981
21011
  refresh: "刷新",
20982
21012
  workspaceMissing: "请先选择工作区。",
@@ -21755,6 +21785,8 @@ const messages = {
21755
21785
  appWorkspaceTitle: "{appName} 工作台",
21756
21786
  configureHome: "配置首页",
21757
21787
  crmHomeTag: "CRM 首页",
21788
+ sharedCrmHomeTag: "共享 CRM 经营视图",
21789
+ sharedCrmHomeSubtitle: "当前显示系统共享的 CRM 经营视图,指标统计当前工作空间的商机与任务;可通过首页配置替换。",
21758
21790
  headerSubtitle: "先确认业务状态,再处理风险、待办和下一步动作",
21759
21791
  todayOpsTag: "今日经营",
21760
21792
  workspaceTitle: "工作台",
@@ -21947,8 +21979,8 @@ const messages = {
21947
21979
  caseManagement: {
21948
21980
  title: "工单管理",
21949
21981
  description: "创建、分派并跟进客户问题,确保复杂工单不过夜。",
21950
- signal: "128 待处理",
21951
- meta: "14 个即将超时",
21982
+ signal: "{count} 待处理",
21983
+ meta: "同上方当前工作空间范围(不含已解决/已关闭) · 即将超时:—(暂无统计)",
21952
21984
  },
21953
21985
  agentDesk: {
21954
21986
  title: "坐席工作台",