base6-ui 2.0.26 → 2.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.
Files changed (89) hide show
  1. package/dist/_utils/composable/use-omit-props.d.ts +2 -0
  2. package/dist/_utils/simply-omit.d.ts +1 -0
  3. package/dist/components/button-list/index.d.ts +2 -0
  4. package/dist/components/button-list/src/button-list.d.ts +35 -0
  5. package/dist/components/button-list/src/interface.d.ts +48 -0
  6. package/dist/components/data-table/data-table.d.ts +2 -7094
  7. package/dist/components/data-table/interface.d.ts +26 -2
  8. package/dist/components/index.d.ts +2 -0
  9. package/dist/components/shape-button/index.d.ts +2 -0
  10. package/dist/components/shape-button/src/cssVar.d.ts +7 -0
  11. package/dist/components/shape-button/src/interface.d.ts +667 -0
  12. package/dist/components/shape-button/src/shape-button.d.ts +4 -0
  13. package/dist/hooks/useBodenHttpMessage.d.ts +7 -1
  14. package/dist/index.css +1 -1
  15. package/dist/index.umd.js +3 -3
  16. package/dist/locale/http/en-us.d.ts +96 -42
  17. package/es/_utils/composable/use-omit-props.d.ts +2 -0
  18. package/es/_utils/composable/use-omit-props.mjs +12 -0
  19. package/es/_utils/simply-omit.d.ts +1 -0
  20. package/es/_utils/simply-omit.mjs +9 -0
  21. package/es/_virtual/virtual_svg-icons-register.mjs +1 -1
  22. package/es/components/button-list/index.d.ts +2 -0
  23. package/es/components/button-list/src/button-list.d.ts +35 -0
  24. package/es/components/button-list/src/button-list.mjs +63 -0
  25. package/es/components/button-list/src/interface.d.ts +48 -0
  26. package/es/components/button-list/src/interface.mjs +12 -0
  27. package/es/components/data-table/data-table.d.ts +2 -7094
  28. package/es/components/data-table/data-table.mjs +34 -29
  29. package/es/components/data-table/interface.d.ts +26 -2
  30. package/es/components/data-table/interface.mjs +17 -7
  31. package/es/components/index.d.ts +2 -0
  32. package/es/components/shape-button/index.d.ts +2 -0
  33. package/es/components/shape-button/src/cssVar.d.ts +7 -0
  34. package/es/components/shape-button/src/cssVar.mjs +65 -0
  35. package/es/components/shape-button/src/interface.d.ts +667 -0
  36. package/es/components/shape-button/src/interface.mjs +30 -0
  37. package/es/components/shape-button/src/shape-button.d.ts +4 -0
  38. package/es/components/shape-button/src/shape-button.mjs +52 -0
  39. package/es/components/system-actions/index.vue.mjs +2 -2
  40. package/es/components/system-actions/index.vue2.mjs +43 -48
  41. package/es/config/themes/components/card/dark.mjs +1 -1
  42. package/es/config/themes/components/dataTable/dark.mjs +3 -3
  43. package/es/config/themes/components/inputNumber/light.mjs +7 -5
  44. package/es/hooks/useBodenHttpMessage.d.ts +7 -1
  45. package/es/hooks/useBodenHttpMessage.mjs +17 -71
  46. package/es/index.css +1 -1
  47. package/es/index.mjs +104 -96
  48. package/es/locale/http/en-us.d.ts +96 -42
  49. package/es/locale/http/en-us.mjs +96 -85
  50. package/es/locale/http/zh-cn.mjs +95 -83
  51. package/es/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/css/format-length.mjs +22 -0
  52. package/lib/_utils/composable/use-omit-props.d.ts +2 -0
  53. package/lib/_utils/composable/use-omit-props.js +1 -0
  54. package/lib/_utils/simply-omit.d.ts +1 -0
  55. package/lib/_utils/simply-omit.js +1 -0
  56. package/lib/_virtual/virtual_svg-icons-register.js +1 -1
  57. package/lib/components/button-list/index.d.ts +2 -0
  58. package/lib/components/button-list/src/button-list.d.ts +35 -0
  59. package/lib/components/button-list/src/button-list.js +1 -0
  60. package/lib/components/button-list/src/interface.d.ts +48 -0
  61. package/lib/components/button-list/src/interface.js +1 -0
  62. package/lib/components/data-table/data-table.d.ts +2 -7094
  63. package/lib/components/data-table/data-table.js +1 -1
  64. package/lib/components/data-table/interface.d.ts +26 -2
  65. package/lib/components/data-table/interface.js +1 -1
  66. package/lib/components/index.d.ts +2 -0
  67. package/lib/components/shape-button/index.d.ts +2 -0
  68. package/lib/components/shape-button/src/cssVar.d.ts +7 -0
  69. package/lib/components/shape-button/src/cssVar.js +1 -0
  70. package/lib/components/shape-button/src/interface.d.ts +667 -0
  71. package/lib/components/shape-button/src/interface.js +1 -0
  72. package/lib/components/shape-button/src/shape-button.d.ts +4 -0
  73. package/lib/components/shape-button/src/shape-button.js +1 -0
  74. package/lib/components/system-actions/index.vue.js +1 -1
  75. package/lib/components/system-actions/index.vue2.js +1 -1
  76. package/lib/config/themes/components/card/dark.js +1 -1
  77. package/lib/config/themes/components/dataTable/dark.js +1 -1
  78. package/lib/config/themes/components/inputNumber/light.js +1 -1
  79. package/lib/hooks/useBodenHttpMessage.d.ts +7 -1
  80. package/lib/hooks/useBodenHttpMessage.js +1 -1
  81. package/lib/index.css +1 -1
  82. package/lib/index.js +1 -1
  83. package/lib/locale/http/en-us.d.ts +96 -42
  84. package/lib/locale/http/en-us.js +1 -1
  85. package/lib/locale/http/zh-cn.js +1 -1
  86. package/lib/node_modules/.pnpm/naive-ui@2.43.1_vue@3.5.22_typescript@5.7.2_/node_modules/naive-ui/es/_utils/css/format-length.js +1 -0
  87. package/package.json +1 -1
  88. package/es/components/system-actions/cssVar.mjs +0 -65
  89. package/lib/components/system-actions/cssVar.js +0 -1
package/es/index.mjs CHANGED
@@ -4,104 +4,112 @@ import "./_virtual/virtual_svg-icons-register.mjs";
4
4
  import { default as f } from "./components/app-provider/index.vue.mjs";
5
5
  import { default as s } from "./components/button/button.mjs";
6
6
  import { bodenButtonProps as m } from "./components/button/interface.mjs";
7
- import { default as l } from "./components/cascader/cascader.mjs";
8
- import { bodenCascaderProps as u } from "./components/cascader/types.mjs";
9
- import { default as B } from "./components/config-provider/config-provider.mjs";
10
- import { default as b } from "./components/data-table/data-table.mjs";
11
- import { bodenDataTableProps as g } from "./components/data-table/interface.mjs";
12
- import { default as A } from "./components/dialog/index.vue.mjs";
13
- import { default as c } from "./components/input-number/index.vue.mjs";
14
- import { default as M } from "./components/global-header/index.vue.mjs";
15
- import { default as S } from "./components/global-header/title.vue.mjs";
16
- import { default as v } from "./components/layout/index.vue.mjs";
17
- import { default as H } from "./components/layout/header/index.vue.mjs";
18
- import { default as D } from "./components/layout/aside/index.vue.mjs";
19
- import { default as y } from "./components/layout/aside-menu/aside-menu.mjs";
20
- import { bodenAsideMenuProps as I } from "./components/layout/aside-menu/props.mjs";
21
- import { default as F } from "./components/logo/index.vue.mjs";
22
- import { default as j } from "./components/nav-icon/index.vue.mjs";
23
- import { default as z } from "./components/radio/index.vue.mjs";
24
- import { default as Z } from "./components/platform-navigation/index.vue.mjs";
25
- import { BODEN_PLATFORM_ENUM as J, BODEN_PLATFORM_NAME_ENUM as Q } from "./components/platform-navigation/interface.mjs";
26
- import { default as W } from "./components/progress/index.mjs";
27
- import { default as Y } from "./components/select/src/select.mjs";
28
- import { bodenSelectProps as ee } from "./components/select/src/interface.mjs";
29
- import { default as re } from "./components/slider/index.vue.mjs";
30
- import { default as ae } from "./components/steps/steps.mjs";
31
- import { default as de } from "./components/switch/index.vue.mjs";
32
- import { default as pe } from "./components/system-actions/index.vue.mjs";
33
- import { default as ne, bodenTabsProps as le } from "./components/tabs/tabs.mjs";
34
- import { configProviderInjectionKey as ue } from "./config/themes/index.mjs";
35
- import { LOCALE_LANG as Be } from "./enum/locale.mjs";
36
- import { useAnimationHook as be } from "./hooks/useAnimationHook.mjs";
37
- import { useBodenHttpMessage as ge } from "./hooks/useBodenHttpMessage.mjs";
38
- import { default as Ae } from "./locale/lang/en-us.mjs";
39
- import { default as ce } from "./locale/lang/zh-cn.mjs";
40
- import { default as Me } from "./locale/http/en-us.mjs";
41
- import { default as Se } from "./locale/http/zh-cn.mjs";
42
- import { default as ve } from "./globalMethods/index.mjs";
43
- import { renderStepsFinishIcon as He } from "./utils/render.mjs";
44
- import { default as De } from "./config/themes/token/dark.mjs";
45
- import { default as ye } from "./config/themes/token/light.mjs";
46
- import { default as Ie } from "./config/themes/color/dark.mjs";
47
- import { default as Fe } from "./config/themes/color/light.mjs";
48
- import { default as je } from "./globalMethods/modules/message.mjs";
49
- import { default as ze } from "./globalMethods/modules/confirmTip.mjs";
50
- import { lightThemeOverrides as Ze } from "./config/themes/light.mjs";
51
- import { darkThemeOverrides as Je } from "./config/themes/dark.mjs";
52
- import { ChartsThemeDark as Ve } from "./config/themes/components/charts/dark.mjs";
53
- import { ChartsThemeLight as Xe } from "./config/themes/components/charts/light.mjs";
7
+ import { default as l } from "./components/button-list/src/button-list.mjs";
8
+ import { bodenButtonListProps as x } from "./components/button-list/src/interface.mjs";
9
+ import { default as i } from "./components/cascader/cascader.mjs";
10
+ import { bodenCascaderProps as b } from "./components/cascader/types.mjs";
11
+ import { default as T } from "./components/config-provider/config-provider.mjs";
12
+ import { default as L } from "./components/data-table/data-table.mjs";
13
+ import { bodenDataTableProps as N } from "./components/data-table/interface.mjs";
14
+ import { default as c } from "./components/dialog/index.vue.mjs";
15
+ import { default as C } from "./components/input-number/index.vue.mjs";
16
+ import { default as v } from "./components/global-header/index.vue.mjs";
17
+ import { default as H } from "./components/global-header/title.vue.mjs";
18
+ import { default as D } from "./components/layout/index.vue.mjs";
19
+ import { default as y } from "./components/layout/header/index.vue.mjs";
20
+ import { default as I } from "./components/layout/aside/index.vue.mjs";
21
+ import { default as F } from "./components/layout/aside-menu/aside-menu.mjs";
22
+ import { bodenAsideMenuProps as j } from "./components/layout/aside-menu/props.mjs";
23
+ import { default as z } from "./components/logo/index.vue.mjs";
24
+ import { default as Z } from "./components/nav-icon/index.vue.mjs";
25
+ import { default as J } from "./components/radio/index.vue.mjs";
26
+ import { default as V } from "./components/platform-navigation/index.vue.mjs";
27
+ import { BODEN_PLATFORM_ENUM as X, BODEN_PLATFORM_NAME_ENUM as Y } from "./components/platform-navigation/interface.mjs";
28
+ import { default as ee } from "./components/progress/index.mjs";
29
+ import { default as re } from "./components/select/src/select.mjs";
30
+ import { bodenSelectProps as ae } from "./components/select/src/interface.mjs";
31
+ import { default as de } from "./components/shape-button/src/shape-button.mjs";
32
+ import { bodenShapeButtonProps as pe } from "./components/shape-button/src/interface.mjs";
33
+ import { default as ne } from "./components/slider/index.vue.mjs";
34
+ import { default as ue } from "./components/steps/steps.mjs";
35
+ import { default as Be } from "./components/switch/index.vue.mjs";
36
+ import { default as he } from "./components/system-actions/index.vue.mjs";
37
+ import { default as Pe, bodenTabsProps as Te } from "./components/tabs/tabs.mjs";
38
+ import { configProviderInjectionKey as Le } from "./config/themes/index.mjs";
39
+ import { LOCALE_LANG as Ne } from "./enum/locale.mjs";
40
+ import { useAnimationHook as ce } from "./hooks/useAnimationHook.mjs";
41
+ import { useBodenHttpMessage as Ce } from "./hooks/useBodenHttpMessage.mjs";
42
+ import { default as ve } from "./locale/lang/en-us.mjs";
43
+ import { default as He } from "./locale/lang/zh-cn.mjs";
44
+ import { default as De } from "./locale/http/en-us.mjs";
45
+ import { default as ye } from "./locale/http/zh-cn.mjs";
46
+ import { default as Ie } from "./globalMethods/index.mjs";
47
+ import { renderStepsFinishIcon as Fe } from "./utils/render.mjs";
48
+ import { default as je } from "./config/themes/token/dark.mjs";
49
+ import { default as ze } from "./config/themes/token/light.mjs";
50
+ import { default as Ze } from "./config/themes/color/dark.mjs";
51
+ import { default as Je } from "./config/themes/color/light.mjs";
52
+ import { default as Ve } from "./globalMethods/modules/message.mjs";
53
+ import { default as Xe } from "./globalMethods/modules/confirmTip.mjs";
54
+ import { lightThemeOverrides as $e } from "./config/themes/light.mjs";
55
+ import { darkThemeOverrides as oo } from "./config/themes/dark.mjs";
56
+ import { ChartsThemeDark as to } from "./config/themes/components/charts/dark.mjs";
57
+ import { ChartsThemeLight as fo } from "./config/themes/components/charts/light.mjs";
54
58
  export {
55
- J as BODEN_PLATFORM_ENUM,
56
- Q as BODEN_PLATFORM_NAME_ENUM,
59
+ X as BODEN_PLATFORM_ENUM,
60
+ Y as BODEN_PLATFORM_NAME_ENUM,
57
61
  f as BodenAppProvider,
58
- y as BodenAsideMenu,
62
+ F as BodenAsideMenu,
59
63
  s as BodenButton,
60
- l as BodenCascader,
61
- B as BodenConfigProvider,
62
- b as BodenDataTable,
63
- A as BodenDialog,
64
- M as BodenGlobalHeader,
65
- S as BodenGlobalHeaderTitle,
66
- c as BodenInputNumber,
67
- v as BodenLayout,
68
- D as BodenLayoutAside,
69
- H as BodenLayoutHeader,
70
- F as BodenLogo,
71
- j as BodenNavIcon,
72
- Z as BodenPlatformNavigation,
73
- W as BodenProgress,
74
- z as BodenRadio,
75
- Y as BodenSelect,
76
- re as BodenSlider,
77
- ae as BodenSteps,
78
- de as BodenSwitch,
79
- pe as BodenSystemActions,
80
- ne as BodenTabs,
81
- Ve as ChartsThemeDark,
82
- Xe as ChartsThemeLight,
83
- Me as HttpEnUS,
84
- Se as HttpZhCN,
85
- Be as LOCALE_LANG,
86
- I as bodenAsideMenuProps,
64
+ l as BodenButtonList,
65
+ i as BodenCascader,
66
+ T as BodenConfigProvider,
67
+ L as BodenDataTable,
68
+ c as BodenDialog,
69
+ v as BodenGlobalHeader,
70
+ H as BodenGlobalHeaderTitle,
71
+ C as BodenInputNumber,
72
+ D as BodenLayout,
73
+ I as BodenLayoutAside,
74
+ y as BodenLayoutHeader,
75
+ z as BodenLogo,
76
+ Z as BodenNavIcon,
77
+ V as BodenPlatformNavigation,
78
+ ee as BodenProgress,
79
+ J as BodenRadio,
80
+ re as BodenSelect,
81
+ de as BodenShapeButton,
82
+ ne as BodenSlider,
83
+ ue as BodenSteps,
84
+ Be as BodenSwitch,
85
+ he as BodenSystemActions,
86
+ Pe as BodenTabs,
87
+ to as ChartsThemeDark,
88
+ fo as ChartsThemeLight,
89
+ De as HttpEnUS,
90
+ ye as HttpZhCN,
91
+ Ne as LOCALE_LANG,
92
+ j as bodenAsideMenuProps,
93
+ x as bodenButtonListProps,
87
94
  m as bodenButtonProps,
88
- u as bodenCascaderProps,
89
- g as bodenDataTableProps,
90
- ee as bodenSelectProps,
91
- le as bodenTabsProps,
92
- ue as configProviderInjectionKey,
93
- Ie as darkBase,
94
- Je as darkThemeOverrides,
95
- De as darkToken,
96
- Ae as enUS,
97
- Fe as lightBase,
98
- Ze as lightThemeOverrides,
99
- ye as lightToken,
100
- ve as registerBodenGlobalMethods,
101
- He as renderStepsFinishIcon,
102
- be as useAnimationHook,
103
- ge as useBodenHttpMessage,
104
- ze as useConfirmTip,
105
- je as useMessage,
106
- ce as zhCN
95
+ b as bodenCascaderProps,
96
+ N as bodenDataTableProps,
97
+ ae as bodenSelectProps,
98
+ pe as bodenShapeButtonProps,
99
+ Te as bodenTabsProps,
100
+ Le as configProviderInjectionKey,
101
+ Ze as darkBase,
102
+ oo as darkThemeOverrides,
103
+ je as darkToken,
104
+ ve as enUS,
105
+ Je as lightBase,
106
+ $e as lightThemeOverrides,
107
+ ze as lightToken,
108
+ Ie as registerBodenGlobalMethods,
109
+ Fe as renderStepsFinishIcon,
110
+ ce as useAnimationHook,
111
+ Ce as useBodenHttpMessage,
112
+ Xe as useConfirmTip,
113
+ Ve as useMessage,
114
+ He as zhCN
107
115
  };
@@ -1,47 +1,101 @@
1
1
  declare const enUS: {
2
2
  name: string;
3
- unauthorized: string;
4
- forbidden: string;
5
- success: {
6
- unknown: string;
7
- warning: string;
8
- success: string;
9
- parameterProblem: string;
10
- userExists: string;
11
- userIncorrectCode: string;
12
- userInvalidPassword: string;
13
- userPhoneNotRegistered: string;
14
- userBeenDisabled: string;
15
- userPhoneBeenRegistered: string;
16
- userBeenRegistered: string;
17
- userNotExists: string;
18
- TeamNameRepeat: string;
19
- TeamNotExists: string;
20
- TeamUsersNotBeenAdmin: string;
21
- resourceExists: string;
22
- resourceBeenBound: string;
23
- resourceCannotModified: string;
24
- resourceCannotDeleted: string;
25
- resourceBeenClaimed: string;
26
- resourceBeenSuspended: string;
27
- resourceNotExist: string;
28
- resourceBeingCreated: string;
29
- resourceBeingUpdated: string;
30
- resourceBeingDeleted: string;
31
- resourceBeingSubmitted: string;
32
- resourceBeingRejected: string;
33
- resourceBeingOccupied: string;
34
- resourceNotSupport: string;
35
- resourceUnauthorized: string;
36
- InternalInterfaceConnectionFailed: string;
37
- InternalInterfaceTimeout: string;
38
- InternalInterfaceCallError: string;
39
- InternalInterfaceReturnedNoValue: string;
40
- FileUploadFailed: string;
41
- FileDownloadFailed: string;
42
- FileNotExist: string;
43
- FileGenerationFailed: string;
44
- FileImportedErrorByParameter: string;
3
+ 401: string;
4
+ 403: string;
5
+ 200: {
6
+ 1: string;
7
+ 2: string;
8
+ 200: string;
9
+ /** 10000~19999 输入参数相关问题 */
10
+ 10000: string;
11
+ 10001: string;
12
+ 10002: string;
13
+ 10003: string;
14
+ 10004: string;
15
+ 10005: string;
16
+ 10006: string;
17
+ /** 20000~29999 账号管理相关问题 */
18
+ 20000: string;
19
+ 20001: string;
20
+ 20002: string;
21
+ 20003: string;
22
+ 20004: string;
23
+ 20005: string;
24
+ 20006: string;
25
+ 20007: string;
26
+ 20008: string;
27
+ 20009: string;
28
+ /** 21000~21099 团队管理相关问题 */
29
+ 21000: string;
30
+ 21001: string;
31
+ 21002: string;
32
+ 21003: string;
33
+ 21004: string;
34
+ 21005: string;
35
+ /** 30000~39999 访问资源(项目/数据集/任务等)使用相关问题 */
36
+ 30000: string;
37
+ 30001: string;
38
+ 30002: string;
39
+ 30003: string;
40
+ 30004: string;
41
+ 30005: string;
42
+ 30006: string;
43
+ 30007: string;
44
+ 30008: string;
45
+ 30009: string;
46
+ 30010: string;
47
+ 30011: string;
48
+ 30012: string;
49
+ 30013: string;
50
+ 30014: string;
51
+ 30015: string;
52
+ /** 30100~30199 argo工作流使用相关异常 */
53
+ 30100: string;
54
+ 30101: string;
55
+ 30102: string;
56
+ 30103: string;
57
+ 30104: string;
58
+ /** 30200~30299 项目下配置信息使用相关异常 */
59
+ 30200: string;
60
+ 30201: string;
61
+ 30202: string;
62
+ 30203: string;
63
+ /** 30300~30399 工作流使用相关异常 */
64
+ 30300: string;
65
+ 30301: string;
66
+ 30302: string;
67
+ 30303: string;
68
+ 30304: string;
69
+ 30305: string;
70
+ /** 30400~30499 数据集使用相关异常 */
71
+ 30400: string;
72
+ 30401: string;
73
+ 30402: string;
74
+ 30403: string;
75
+ 30404: string;
76
+ /** 30500~30599 任务使用相关异常 */
77
+ 30500: string;
78
+ 30501: string;
79
+ 30502: string;
80
+ 30503: string;
81
+ 30504: string;
82
+ 30505: string;
83
+ 30506: string;
84
+ 30507: string;
85
+ 30508: string;
86
+ 30509: string;
87
+ /** 40000~49999 内部接口调用相关问题 */
88
+ 40000: string;
89
+ 40001: string;
90
+ 40002: string;
91
+ 40003: string;
92
+ /** 50000~59999 文件处理相关问题 */
93
+ 50000: string;
94
+ 50001: string;
95
+ 50002: string;
96
+ 50003: string;
97
+ 50004: string;
98
+ 51000: string;
45
99
  };
46
100
  };
47
101
  export type BodenHttpLocale = typeof enUS;
@@ -1,90 +1,101 @@
1
1
  const e = {
2
2
  name: "en-us",
3
- unauthorized: "Authentication Failed, Please Re-login",
4
- forbidden: "No Permission to Access This Resource",
5
- success: {
6
- unknown: "Unknown System Error, Please Try Again Later",
7
- // 1
8
- warning: "Warning",
9
- // 2
10
- success: "Success",
11
- // 200
12
- parameterProblem: "Invalid Parameter Input",
13
- // 10000
14
- // 账号管理相关问题
15
- userExists: "Username Already Exists",
16
- // 20000
17
- userIncorrectCode: "Incorrect verification code",
18
- // 20001
19
- userInvalidPassword: "Invalid account or password",
20
- // 20002
21
- userPhoneNotRegistered: "This phone number is not registered. Please register first before logging in.",
22
- // 20003
23
- userBeenDisabled: "This account has been disabled. Please contact the administrator.",
24
- // 20004
25
- userPhoneBeenRegistered: "This phone number is already registered. Please log in directly or [retrieve password].",
26
- // 20005
27
- userBeenRegistered: "This account is already registered. Please log in directly or [retrieve password].",
28
- // 20006
29
- userNotExists: "User does not exist",
30
- // 20007
31
- TeamNameRepeat: "Duplicate team name",
32
- // 21000
33
- TeamNotExists: "Team does not exist",
34
- // 21001
35
- TeamUsersNotBeenAdmin: "Team users are not allowed to be changed to team administrators.",
36
- // 21002
37
- // 访问资源(项目/数据集/任务等)使用相关问题
38
- resourceExists: "Resource Name Already Exists",
39
- // 30000
40
- resourceBeenBound: "Resource Has Been Reused/Bound",
41
- // 30001
42
- resourceCannotModified: "Used Resource Cannot Be Modified",
43
- // 30002
44
- resourceCannotDeleted: "Used Resource Cannot Be Deleted",
45
- // 30003
46
- resourceBeenClaimed: "Resource Has Been Claimed",
47
- // 30004
48
- resourceBeenSuspended: "Resource Is Suspended, Operation Not Allowed",
49
- // 30005
50
- resourceNotExist: "Resource Does Not Exist",
51
- // 30006
52
- resourceBeingCreated: "Resource Is Being Created, Please Try Later",
53
- // 30007
54
- resourceBeingUpdated: "Resource Is Being Updated, Please Try Later",
55
- // 30008
56
- resourceBeingDeleted: "Resource Is Being Deleted, Please Try Later",
57
- // 30009
58
- resourceBeingSubmitted: "Resource Is Being Submitted, Please Try Later",
59
- // 30010
60
- resourceBeingRejected: "Resource Is Being Rejected, Please Try Later",
61
- // 30011
62
- resourceBeingOccupied: "Resource Is Occupied, Please Try Later",
63
- // 30012
64
- resourceNotSupport: "Resource Status Does Not Support This Operation",
65
- // 30013
66
- resourceUnauthorized: "No Permission to Use This Resource",
67
- // 30014
68
- // 内部接口调用相关问题
69
- InternalInterfaceConnectionFailed: "Internal interface call connection failed",
70
- // 40000
71
- InternalInterfaceTimeout: "Internal interface call timed out",
72
- // 40001
73
- InternalInterfaceCallError: "Internal interface call error",
74
- // 40002
75
- InternalInterfaceReturnedNoValue: "Internal interface call returned no value",
76
- // 40003
77
- // 文件处理相关问题
78
- FileUploadFailed: "File upload failed",
79
- // 50000
80
- FileDownloadFailed: "File download failed",
81
- // 50001
82
- FileNotExist: "File does not exist",
83
- // 50002
84
- FileGenerationFailed: "File generation failed",
85
- // 50003
86
- FileImportedErrorByParameter: "Parameter error in imported file"
87
- // 51000
3
+ 401: "Authentication Failed, Please Re-login",
4
+ 403: "No Permission to Access This Resource",
5
+ 200: {
6
+ 1: "Unknown System Error, Please Try Again Later",
7
+ 2: "Warning",
8
+ 200: "Success",
9
+ /** 10000~19999 输入参数相关问题 */
10
+ 1e4: "Invalid Parameter Input",
11
+ 10001: "Instance Saving Parameter Exception",
12
+ 10002: "Annotation Kit Does Not Exist",
13
+ 10003: "Platform Type Does Not Exist",
14
+ 10004: "Argo Cloud Vendor Configuration Does Not Exist",
15
+ 10005: "Cloud Storage Configuration Does Not Exist",
16
+ 10006: "File Original Path Does Not Exist",
17
+ /** 20000~29999 账号管理相关问题 */
18
+ 2e4: "Username Already Exists",
19
+ 20001: "Incorrect verification code",
20
+ 20002: "Invalid account or password",
21
+ 20003: "This phone number is not registered. Please register first before logging in.",
22
+ 20004: "This account has been disabled. Please contact the administrator.",
23
+ 20005: "This phone number is already registered. Please log in directly or [retrieve password].",
24
+ 20006: "This account is already registered. Please log in directly or [retrieve password].",
25
+ 20007: "User does not exist",
26
+ 20008: "User Has Been Added to Blacklist",
27
+ 20009: "Duplicate User Addition",
28
+ /** 21000~21099 团队管理相关问题 */
29
+ 21e3: "Duplicate team name",
30
+ 21001: "Team does not exist",
31
+ 21002: "Team users are not allowed to be changed to team administrators.",
32
+ 21003: "Selected Platform Cannot Be Cancelled",
33
+ 21004: "Team Has Been Added to Blacklist",
34
+ 21005: "Duplicate Team Addition",
35
+ /** 30000~39999 访问资源(项目/数据集/任务等)使用相关问题 */
36
+ 3e4: "Resource Name Already Exists",
37
+ 30001: "Resource Has Been Reused/Bound",
38
+ 30002: "Used Resource Cannot Be Modified",
39
+ 30003: "Used Resource Cannot Be Deleted",
40
+ 30004: "Resource Has Been Claimed",
41
+ 30005: "Resource Is Suspended, Operation Not Allowed",
42
+ 30006: "Resource Does Not Exist",
43
+ 30007: "Resource Is Being Created, Please Try Later",
44
+ 30008: "Resource Is Being Updated, Please Try Later",
45
+ 30009: "Resource Is Being Deleted, Please Try Later",
46
+ 30010: "Resource Is Being Submitted, Please Try Later",
47
+ 30011: "Resource Is Being Rejected, Please Try Later",
48
+ 30012: "Resource Is Occupied, Please Try Later",
49
+ 30013: "Resource Status Does Not Support This Operation",
50
+ 30014: "No Permission to Use This Resource",
51
+ 30015: "Duplicate Resource Export Name",
52
+ /** 30100~30199 argo工作流使用相关异常 */
53
+ 30100: "Cross-Cloud Data Copying Is Not Allowed",
54
+ 30101: "Argo Workflow Plugin Does Not Exist",
55
+ 30102: "Failed to Retrieve Argo Workflow Status",
56
+ 30103: "Failed to Terminate Argo Workflow",
57
+ 30104: "Failed to Create Argo Workflow",
58
+ /** 30200~30299 项目下配置信息使用相关异常 */
59
+ 30200: "Attribute Does Not Exist, Please Refresh and Try Again",
60
+ 30201: "Attribute Option Does Not Exist, Please Refresh and Try Again",
61
+ 30202: "Tag Does Not Exist, Please Refresh and Try Again",
62
+ 30203: "Missing required voxel parameter configuration for OCC data",
63
+ /** 30300~30399 工作流使用相关异常 */
64
+ 30300: "Modification of System Preset Workflow Is Not Allowed",
65
+ 30301: "Workflow Does Not Exist",
66
+ 30302: "Duplicate Workflow Node Name",
67
+ 30303: "Multiple Subcontract Nodes Are Not Allowed in Workflow",
68
+ 30304: "Workflow task node configuration lacks required information",
69
+ 30305: "Workflow Failed to Retrieve Annotation Information",
70
+ /** 30400~30499 数据集使用相关异常 */
71
+ 30400: "Unknown data source type",
72
+ 30401: "Someone is currently adding a dataset to the project. Please try again later",
73
+ 30402: "Dataset does not exist",
74
+ 30403: "The dataset lacks the required {modal} data modalities",
75
+ 30404: "The dataset lacks required information",
76
+ /** 30500~30599 任务使用相关异常 */
77
+ 30500: "Task does not exist",
78
+ 30501: "Task cannot be transferred to a non-task node",
79
+ 30502: "The current task status does not allow release",
80
+ 30503: "The current task status does not allow assignment",
81
+ 30504: "The current task status does not allow reassignment",
82
+ 30505: "The current task status does not allow claiming",
83
+ 30506: "The current task status does not allow submission",
84
+ 30507: "No permission to claim the task",
85
+ 30508: "You are not the current operator of the task; operation is not allowed",
86
+ 30509: "Your task quota for this project is full. Please go to your Workbench/My Task List as soon as possible, complete and submit at least one ongoing task to claim a new one",
87
+ /** 40000~49999 内部接口调用相关问题 */
88
+ 4e4: "Internal interface call connection failed",
89
+ 40001: "Internal interface call timed out",
90
+ 40002: "Internal interface call error",
91
+ 40003: "Internal interface call returned no value",
92
+ /** 50000~59999 文件处理相关问题 */
93
+ 5e4: "File upload failed",
94
+ 50001: "File download failed",
95
+ 50002: "File does not exist",
96
+ 50003: "File generation failed",
97
+ 50004: "File already exists. Do not upload duplicates",
98
+ 51e3: "Parameter error in imported file"
88
99
  }
89
100
  };
90
101
  export {