@dao-style/biz 0.6.0 → 0.7.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/cjs/components/gpu/style/assign-gpu-devices-list.js +1 -0
- package/dist/cjs/components/gpu/style/gpu-form.js +1 -0
- package/dist/components/form-block/FormBlock.d.ts +27 -1
- package/dist/components/form-block/props.d.ts +4 -0
- package/dist/components/form-block/props.js +4 -0
- package/dist/components/form-block/props.mjs +4 -0
- package/dist/components/form-block/src/FormBlock.vue.d.ts +11 -0
- package/dist/components/form-block/src/FormBlock.vue.js +4 -4
- package/dist/components/form-block/src/FormBlock.vue.mjs +4 -4
- package/dist/components/form-block/src/FormBlock.vue2.js +12 -1
- package/dist/components/form-block/src/FormBlock.vue2.mjs +12 -1
- package/dist/components/gpu/props.d.ts +121 -3
- package/dist/components/gpu/props.js +82 -9
- package/dist/components/gpu/props.mjs +82 -9
- package/dist/components/gpu/src/GpuForm.vue.d.ts +283 -50
- package/dist/components/gpu/src/GpuForm.vue.js +25 -24
- package/dist/components/gpu/src/GpuForm.vue.mjs +26 -25
- package/dist/components/gpu/src/GpuForm.vue2.js +115 -218
- package/dist/components/gpu/src/GpuForm.vue2.mjs +116 -219
- package/dist/components/gpu/src/components/AssignGpuDevicesList.vue.d.ts +77 -0
- package/dist/components/gpu/src/components/AssignGpuDevicesList.vue.js +40 -0
- package/dist/components/gpu/src/components/AssignGpuDevicesList.vue.mjs +41 -0
- package/dist/components/gpu/src/components/AssignGpuDevicesList.vue2.js +191 -0
- package/dist/components/gpu/src/components/AssignGpuDevicesList.vue2.mjs +192 -0
- package/dist/components/gpu/src/components/GpuAdvancedForm.vue.d.ts +180 -0
- package/dist/components/gpu/src/{GpuAdvancedForm.vue.js → components/GpuAdvancedForm.vue.js} +92 -37
- package/dist/components/gpu/src/{GpuAdvancedForm.vue.mjs → components/GpuAdvancedForm.vue.mjs} +93 -38
- package/dist/components/gpu/src/components/GpuAdvancedForm.vue2.js +169 -0
- package/dist/components/gpu/src/components/GpuAdvancedForm.vue2.mjs +153 -0
- package/dist/components/gpu/src/{GpuFormDynamicItem.vue.d.ts → components/GpuFormDynamicItem.vue.d.ts} +4 -4
- package/dist/components/gpu/src/{GpuFormDynamicItem.vue.js → components/GpuFormDynamicItem.vue.js} +1 -1
- package/dist/components/gpu/src/{GpuFormDynamicItem.vue.mjs → components/GpuFormDynamicItem.vue.mjs} +1 -1
- package/dist/components/gpu/src/{GpuFormDynamicItem.vue2.js → components/GpuFormDynamicItem.vue2.js} +1 -1
- package/dist/components/gpu/src/{GpuFormDynamicItem.vue2.mjs → components/GpuFormDynamicItem.vue2.mjs} +1 -1
- package/dist/components/gpu/src/components/GpuFormItem.vue.d.ts +310 -0
- package/dist/components/gpu/src/{GpuFormItem.vue.js → components/GpuFormItem.vue.js} +22 -26
- package/dist/components/gpu/src/{GpuFormItem.vue.mjs → components/GpuFormItem.vue.mjs} +23 -27
- package/dist/components/gpu/src/components/GpuFormItem.vue2.js +61 -0
- package/dist/components/gpu/src/components/GpuFormItem.vue2.mjs +45 -0
- package/dist/components/gpu/src/{GpuResources.vue.d.ts → components/GpuResources.vue.d.ts} +38 -18
- package/dist/components/gpu/src/components/GpuResources.vue.js +153 -0
- package/dist/components/gpu/src/components/GpuResources.vue.mjs +154 -0
- package/dist/components/gpu/src/components/GpuResources.vue2.js +278 -0
- package/dist/components/gpu/src/components/GpuResources.vue2.mjs +262 -0
- package/dist/components/gpu/src/gpuForm.constants.d.ts +3 -0
- package/dist/components/gpu/src/gpuForm.constants.js +10 -0
- package/dist/components/gpu/src/gpuForm.constants.mjs +10 -0
- package/dist/components/gpu/src/gpuForm.internal-types.d.ts +49 -0
- package/dist/components/gpu/src/gpuForm.mapper.d.ts +16 -0
- package/dist/components/gpu/src/gpuForm.mapper.js +199 -0
- package/dist/components/gpu/src/gpuForm.mapper.mjs +199 -0
- package/dist/components/gpu/src/gpuFormItem.mapper.d.ts +38 -0
- package/dist/components/gpu/src/gpuFormItem.mapper.js +153 -0
- package/dist/components/gpu/src/gpuFormItem.mapper.mjs +153 -0
- package/dist/components/gpu/src/useGPUOptions.d.ts +2 -2
- package/dist/components/gpu/src/useGPUOptions.js +15 -20
- package/dist/components/gpu/src/useGPUOptions.mjs +16 -21
- package/dist/components/gpu/src/useGpuFormItemState.d.ts +42 -0
- package/dist/components/gpu/src/useGpuFormItemState.js +178 -0
- package/dist/components/gpu/src/useGpuFormItemState.mjs +178 -0
- package/dist/components/gpu/src/useGpuFormSideState.d.ts +52 -0
- package/dist/components/gpu/src/useGpuFormSideState.js +71 -0
- package/dist/components/gpu/src/useGpuFormSideState.mjs +71 -0
- package/dist/components/gpu/src/useGpuFormState.d.ts +560 -0
- package/dist/components/gpu/src/useGpuFormState.js +52 -0
- package/dist/components/gpu/src/useGpuFormState.mjs +52 -0
- package/dist/components/gpu/src/validations/nvidiaVgpuMemoryDecimal.d.ts +5 -1
- package/dist/components/gpu/style/assign-gpu-devices-list.d.ts +1 -0
- package/dist/components/gpu/style/assign-gpu-devices-list.scss.js +3 -0
- package/dist/components/gpu/style/assign-gpu-devices-list.scss.mjs +4 -0
- package/dist/components/gpu/style/gpu-form.d.ts +1 -0
- package/dist/components/gpu/types.d.ts +6 -0
- package/dist/components/gpu/types.js +2 -0
- package/dist/components/gpu/types.mjs +2 -0
- package/dist/components/gpu/utils.d.ts +4 -0
- package/dist/components/gpu/utils.js +14 -0
- package/dist/components/gpu/utils.mjs +14 -0
- package/dist/components/instance-cluster/src/InstanceCluster.vue.d.ts +1 -1
- package/dist/components/instance-namespace/src/InstanceNamespace.vue.d.ts +1 -1
- package/dist/components/instance-storage-class/src/InstanceStorageClass.vue.d.ts +1 -1
- package/dist/components/network-config/src/NetworkConfig.vue.d.ts +1 -1
- package/dist/components/network-config/src/NetworkConfig.vue.js +13 -6
- package/dist/components/network-config/src/NetworkConfig.vue.mjs +14 -7
- package/dist/dialogs/create-network-config-dialog/src/CreateNetworkConfigDialog.vue.d.ts +1 -1
- package/dist/es/components/gpu/style/assign-gpu-devices-list.mjs +1 -0
- package/dist/es/components/gpu/style/gpu-form.mjs +1 -0
- package/dist/forms/import-parameter-template/props.d.ts +8 -8
- package/dist/forms/import-parameter-template/src/ImportParameterTemplate.vue.d.ts +24 -24
- package/dist/group-mapping.json +1 -1
- package/dist/index.js +34 -23
- package/dist/index.mjs +15 -4
- package/dist/locales/en-US/components/Gpu.json.js +36 -9
- package/dist/locales/en-US/components/Gpu.json.mjs +37 -10
- package/dist/locales/en-US/index.js +2 -0
- package/dist/locales/en-US/index.mjs +2 -0
- package/dist/locales/en-US/uses/UseCancelFormDialog.json.js +11 -0
- package/dist/locales/en-US/uses/UseCancelFormDialog.json.mjs +11 -0
- package/dist/locales/ja/components/Gpu.json.js +36 -9
- package/dist/locales/ja/components/Gpu.json.mjs +37 -10
- package/dist/locales/ja/components/InstancePassword.json.js +1 -1
- package/dist/locales/ja/components/InstancePassword.json.mjs +1 -1
- package/dist/locales/ja/components/MatchExpressionsEditor.json.js +1 -1
- package/dist/locales/ja/components/MatchExpressionsEditor.json.mjs +1 -1
- package/dist/locales/ja/components/NetworkConfig.json.js +1 -1
- package/dist/locales/ja/components/NetworkConfig.json.mjs +1 -1
- package/dist/locales/ja/index.js +2 -0
- package/dist/locales/ja/index.mjs +2 -0
- package/dist/locales/ja/uses/UseCancelFormDialog.json.js +11 -0
- package/dist/locales/ja/uses/UseCancelFormDialog.json.mjs +11 -0
- package/dist/locales/ja/workloads/DnsConfig.json.js +1 -1
- package/dist/locales/ja/workloads/DnsConfig.json.mjs +1 -1
- package/dist/locales/ja/workloads/workload-advanced/NetworkConfig.json.js +1 -1
- package/dist/locales/ja/workloads/workload-advanced/NetworkConfig.json.mjs +1 -1
- package/dist/locales/zh-CN/components/Gpu.json.js +36 -9
- package/dist/locales/zh-CN/components/Gpu.json.mjs +37 -10
- package/dist/locales/zh-CN/index.js +2 -0
- package/dist/locales/zh-CN/index.mjs +2 -0
- package/dist/locales/zh-CN/uses/UseCancelFormDialog.json.js +11 -0
- package/dist/locales/zh-CN/uses/UseCancelFormDialog.json.mjs +11 -0
- package/dist/style.css +692 -664
- package/dist/styles/components/gpu/assign-gpu-devices-list.css +10 -0
- package/dist/styles/components/gpu/gpu-form-item.css +16 -0
- package/dist/styles/components/gpu/gpu-form.css +4 -0
- package/dist/styles/components/network-config/network-config.css +3 -0
- package/dist/styles/components/resource-config/resource-config.css +0 -8
- package/dist/styles/styles/common.css +4 -0
- package/dist/uses/index.d.ts +1 -0
- package/dist/uses/useCancelFormDialog/index.d.ts +11 -0
- package/dist/uses/useCancelFormDialog/index.js +40 -0
- package/dist/uses/useCancelFormDialog/index.mjs +40 -0
- package/dist/uses/useCancelFormDialog/src/CancelFormDialog.vue.d.ts +8 -0
- package/dist/uses/useCancelFormDialog/src/CancelFormDialog.vue.js +25 -0
- package/dist/uses/useCancelFormDialog/src/CancelFormDialog.vue.mjs +26 -0
- package/dist/uses/useCancelFormDialog/src/CancelFormDialog.vue2.js +3 -0
- package/dist/uses/useCancelFormDialog/src/CancelFormDialog.vue2.mjs +4 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/injectWithSelf.d.ts +6 -0
- package/dist/utils/injectWithSelf.js +8 -0
- package/dist/utils/injectWithSelf.mjs +8 -0
- package/dist/utils/multiRowEditorValidate.d.ts +5 -5
- package/dist/utils/useResetFieldValue.d.ts +13 -0
- package/dist/utils/useResetFieldValue.js +28 -0
- package/dist/utils/useResetFieldValue.mjs +28 -0
- package/dist/utils/useSetFieldValue.d.ts +6 -0
- package/dist/utils/useSetFieldValue.js +2 -5
- package/dist/utils/useSetFieldValue.mjs +2 -5
- package/dist/workloads/container-basic-info/props.d.ts +13 -0
- package/dist/workloads/container-basic-info/props.js +4 -0
- package/dist/workloads/container-basic-info/props.mjs +4 -0
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue.d.ts +10 -0
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue.js +54 -29
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue.mjs +54 -29
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue2.js +18 -8
- package/dist/workloads/container-basic-info/src/ContainerBasicInfo.vue2.mjs +19 -9
- package/dist/workloads/container-image/src/dialogs/SelectImageDialog.vue.d.ts +1 -1
- package/dist/workloads/containers/demo/data.d.ts +8 -1
- package/dist/workloads/containers/src/ContainerItem.vue.d.ts +23 -0
- package/dist/workloads/containers/src/Containers.vue.d.ts +4 -0
- package/dist/workloads/containers/src/Containers.vue2.js +18 -1
- package/dist/workloads/containers/src/Containers.vue2.mjs +19 -2
- package/dist/workloads/health-check/props.d.ts +4 -0
- package/dist/workloads/health-check/props.js +4 -0
- package/dist/workloads/health-check/props.mjs +4 -0
- package/dist/workloads/health-check/src/HealthCheck.vue.d.ts +9 -0
- package/dist/workloads/health-check/src/HealthCheck.vue.js +6 -6
- package/dist/workloads/health-check/src/HealthCheck.vue.mjs +6 -6
- package/dist/workloads/health-check/src/HealthCheckHandler.vue.js +3 -1
- package/dist/workloads/health-check/src/HealthCheckHandler.vue.mjs +3 -1
- package/dist/workloads/http-get-action/src/HttpGetAction.vue.js +1 -1
- package/dist/workloads/http-get-action/src/HttpGetAction.vue.mjs +1 -1
- package/dist/workloads/workload-annotations/props.d.ts +1 -0
- package/dist/workloads/workload-annotations/props.js +1 -0
- package/dist/workloads/workload-annotations/props.mjs +2 -1
- package/package.json +12 -13
- package/dist/components/gpu/src/GpuAdvancedForm.vue.d.ts +0 -131
- package/dist/components/gpu/src/GpuAdvancedForm.vue2.js +0 -92
- package/dist/components/gpu/src/GpuAdvancedForm.vue2.mjs +0 -76
- package/dist/components/gpu/src/GpuFormItem.vue.d.ts +0 -232
- package/dist/components/gpu/src/GpuFormItem.vue2.js +0 -235
- package/dist/components/gpu/src/GpuFormItem.vue2.mjs +0 -219
- package/dist/components/gpu/src/GpuResources.vue.js +0 -125
- package/dist/components/gpu/src/GpuResources.vue.mjs +0 -126
- package/dist/components/gpu/src/GpuResources.vue2.js +0 -197
- package/dist/components/gpu/src/GpuResources.vue2.mjs +0 -181
- package/dist/components/gpu/src/validations/nvidiaVgpuMemoryDecimal.js +0 -19
- package/dist/components/gpu/src/validations/nvidiaVgpuMemoryDecimal.mjs +0 -20
|
@@ -11,7 +11,7 @@ const optionValue = "設定値";
|
|
|
11
11
|
const aliasIP = "IP アドレス";
|
|
12
12
|
const aliasName = "ドメイン名";
|
|
13
13
|
const dnsConfig = "DNS 設定";
|
|
14
|
-
const netCard = "コンテナNIC";
|
|
14
|
+
const netCard = "コンテナ NIC";
|
|
15
15
|
const netCardConfig = "設定";
|
|
16
16
|
const editNetCardConfig = "設定を変更";
|
|
17
17
|
const netCardDialogTitle = "コンテナ NIC 設定";
|
|
@@ -9,7 +9,7 @@ const optionValue = "設定値";
|
|
|
9
9
|
const aliasIP = "IP アドレス";
|
|
10
10
|
const aliasName = "ドメイン名";
|
|
11
11
|
const dnsConfig = "DNS 設定";
|
|
12
|
-
const netCard = "コンテナNIC";
|
|
12
|
+
const netCard = "コンテナ NIC";
|
|
13
13
|
const netCardConfig = "設定";
|
|
14
14
|
const editNetCardConfig = "設定を変更";
|
|
15
15
|
const netCardDialogTitle = "コンテナ NIC 設定";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const dnsConfig = "DNS 設定";
|
|
4
|
-
const netCard = "コンテナNIC";
|
|
4
|
+
const netCard = "コンテナ NIC";
|
|
5
5
|
const netCardConfig = "設定";
|
|
6
6
|
const editNetCardConfig = "設定を変更";
|
|
7
7
|
const netCardDialogTitle = "コンテナ NIC 設定";
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const
|
|
4
|
-
const
|
|
3
|
+
const hamiCoreQuota = "GPU 算力";
|
|
4
|
+
const hamiCoreQuotaTip = "多张物理 GPU 卡的算力之和,可超过 100%,用于表示整体可分配资源规模。";
|
|
5
|
+
const hamiMemoryQuota = "GPU 显存";
|
|
6
|
+
const hamiMemoryQuotaTip = "多张物理 GPU 卡的显存之和,用于表示整体可分配资源规模。";
|
|
5
7
|
const gpuQuota = "GPU 配置";
|
|
6
8
|
const addGpu = "添加 GPU";
|
|
9
|
+
const viewNamespaceAvailableQuota = "查看当前命名空间剩余可用量";
|
|
7
10
|
const gpuType = "GPU 类型";
|
|
8
11
|
const typeMiss = '此 GPU 类型已不再支持,详情请查看"集群设置"-->"GPU 设置"';
|
|
9
12
|
const vgpuTypePlaceholder = "请选择 GPU 类型";
|
|
@@ -12,7 +15,25 @@ const hashrateTip = "容器可使用算力 = 物理卡数量 * 使用量";
|
|
|
12
15
|
const gpuCall = "GPU 调用";
|
|
13
16
|
const localCall = "本地调用";
|
|
14
17
|
const remoteCall = "远程调用";
|
|
15
|
-
const
|
|
18
|
+
const assignGpu = {
|
|
19
|
+
label: "指定 GPU",
|
|
20
|
+
type: "指定类型",
|
|
21
|
+
assignCard: "指定 GPU 卡",
|
|
22
|
+
assignModel: "指定 GPU 型号",
|
|
23
|
+
availableCards: "可用 GPU 卡",
|
|
24
|
+
devicesList: {
|
|
25
|
+
uuid: "GPU 卡 UUID",
|
|
26
|
+
model: "GPU 卡型号",
|
|
27
|
+
node: "节点",
|
|
28
|
+
computePower: "算力(已分配/剩余可分配)",
|
|
29
|
+
memory: "显存(已分配/剩余可分配)"
|
|
30
|
+
},
|
|
31
|
+
validate: {
|
|
32
|
+
assignCardRequired: "请至少选择一个 GPU 卡",
|
|
33
|
+
assignModelMax: "最多只能选择 {max} 个 GPU 卡",
|
|
34
|
+
coreFirst: "请先填写物理卡数量且大于零"
|
|
35
|
+
}
|
|
36
|
+
};
|
|
16
37
|
const gpuModel = "GPU 型号";
|
|
17
38
|
const available = "单节点最大可用 {available} 个";
|
|
18
39
|
const highPriority = "高优先级任务";
|
|
@@ -43,10 +64,13 @@ const min = "最小值:{min}";
|
|
|
43
64
|
const max = "最大值:{max}";
|
|
44
65
|
const errorDecimal = "仅支持小数点后 3 位";
|
|
45
66
|
const Gpu = {
|
|
46
|
-
|
|
47
|
-
|
|
67
|
+
hamiCoreQuota,
|
|
68
|
+
hamiCoreQuotaTip,
|
|
69
|
+
hamiMemoryQuota,
|
|
70
|
+
hamiMemoryQuotaTip,
|
|
48
71
|
gpuQuota,
|
|
49
72
|
addGpu,
|
|
73
|
+
viewNamespaceAvailableQuota,
|
|
50
74
|
gpuType,
|
|
51
75
|
typeMiss,
|
|
52
76
|
vgpuTypePlaceholder,
|
|
@@ -55,7 +79,7 @@ const Gpu = {
|
|
|
55
79
|
gpuCall,
|
|
56
80
|
localCall,
|
|
57
81
|
remoteCall,
|
|
58
|
-
|
|
82
|
+
assignGpu,
|
|
59
83
|
gpuModel,
|
|
60
84
|
available,
|
|
61
85
|
highPriority,
|
|
@@ -77,7 +101,7 @@ const Gpu = {
|
|
|
77
101
|
};
|
|
78
102
|
exports.addGpu = addGpu;
|
|
79
103
|
exports.advancedConfig = advancedConfig;
|
|
80
|
-
exports.
|
|
104
|
+
exports.assignGpu = assignGpu;
|
|
81
105
|
exports.available = available;
|
|
82
106
|
exports.baseGpuSchedule = baseGpuSchedule;
|
|
83
107
|
exports.baseNodeSchedule = baseNodeSchedule;
|
|
@@ -88,6 +112,10 @@ exports.gpuCall = gpuCall;
|
|
|
88
112
|
exports.gpuModel = gpuModel;
|
|
89
113
|
exports.gpuQuota = gpuQuota;
|
|
90
114
|
exports.gpuType = gpuType;
|
|
115
|
+
exports.hamiCoreQuota = hamiCoreQuota;
|
|
116
|
+
exports.hamiCoreQuotaTip = hamiCoreQuotaTip;
|
|
117
|
+
exports.hamiMemoryQuota = hamiMemoryQuota;
|
|
118
|
+
exports.hamiMemoryQuotaTip = hamiMemoryQuotaTip;
|
|
91
119
|
exports.hashrateTip = hashrateTip;
|
|
92
120
|
exports.highPriority = highPriority;
|
|
93
121
|
exports.iluvatar = iluvatar;
|
|
@@ -97,8 +125,6 @@ exports.max = max;
|
|
|
97
125
|
exports.min = min;
|
|
98
126
|
exports.number = number;
|
|
99
127
|
exports.numberIntegerError = numberIntegerError;
|
|
100
|
-
exports.nvidiaGpucoresTip = nvidiaGpucoresTip;
|
|
101
|
-
exports.nvidiaVgpuTip = nvidiaVgpuTip;
|
|
102
128
|
exports.remoteCall = remoteCall;
|
|
103
129
|
exports.schedulePolicy = schedulePolicy;
|
|
104
130
|
exports.spec = spec;
|
|
@@ -107,3 +133,4 @@ exports.taskPriorityHelper = taskPriorityHelper;
|
|
|
107
133
|
exports.typeMiss = typeMiss;
|
|
108
134
|
exports.unlimited = unlimited;
|
|
109
135
|
exports.vgpuTypePlaceholder = vgpuTypePlaceholder;
|
|
136
|
+
exports.viewNamespaceAvailableQuota = viewNamespaceAvailableQuota;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
1
|
+
const hamiCoreQuota = "GPU 算力";
|
|
2
|
+
const hamiCoreQuotaTip = "多张物理 GPU 卡的算力之和,可超过 100%,用于表示整体可分配资源规模。";
|
|
3
|
+
const hamiMemoryQuota = "GPU 显存";
|
|
4
|
+
const hamiMemoryQuotaTip = "多张物理 GPU 卡的显存之和,用于表示整体可分配资源规模。";
|
|
3
5
|
const gpuQuota = "GPU 配置";
|
|
4
6
|
const addGpu = "添加 GPU";
|
|
7
|
+
const viewNamespaceAvailableQuota = "查看当前命名空间剩余可用量";
|
|
5
8
|
const gpuType = "GPU 类型";
|
|
6
9
|
const typeMiss = '此 GPU 类型已不再支持,详情请查看"集群设置"-->"GPU 设置"';
|
|
7
10
|
const vgpuTypePlaceholder = "请选择 GPU 类型";
|
|
@@ -10,7 +13,25 @@ const hashrateTip = "容器可使用算力 = 物理卡数量 * 使用量";
|
|
|
10
13
|
const gpuCall = "GPU 调用";
|
|
11
14
|
const localCall = "本地调用";
|
|
12
15
|
const remoteCall = "远程调用";
|
|
13
|
-
const
|
|
16
|
+
const assignGpu = {
|
|
17
|
+
label: "指定 GPU",
|
|
18
|
+
type: "指定类型",
|
|
19
|
+
assignCard: "指定 GPU 卡",
|
|
20
|
+
assignModel: "指定 GPU 型号",
|
|
21
|
+
availableCards: "可用 GPU 卡",
|
|
22
|
+
devicesList: {
|
|
23
|
+
uuid: "GPU 卡 UUID",
|
|
24
|
+
model: "GPU 卡型号",
|
|
25
|
+
node: "节点",
|
|
26
|
+
computePower: "算力(已分配/剩余可分配)",
|
|
27
|
+
memory: "显存(已分配/剩余可分配)"
|
|
28
|
+
},
|
|
29
|
+
validate: {
|
|
30
|
+
assignCardRequired: "请至少选择一个 GPU 卡",
|
|
31
|
+
assignModelMax: "最多只能选择 {max} 个 GPU 卡",
|
|
32
|
+
coreFirst: "请先填写物理卡数量且大于零"
|
|
33
|
+
}
|
|
34
|
+
};
|
|
14
35
|
const gpuModel = "GPU 型号";
|
|
15
36
|
const available = "单节点最大可用 {available} 个";
|
|
16
37
|
const highPriority = "高优先级任务";
|
|
@@ -41,10 +62,13 @@ const min = "最小值:{min}";
|
|
|
41
62
|
const max = "最大值:{max}";
|
|
42
63
|
const errorDecimal = "仅支持小数点后 3 位";
|
|
43
64
|
const Gpu = {
|
|
44
|
-
|
|
45
|
-
|
|
65
|
+
hamiCoreQuota,
|
|
66
|
+
hamiCoreQuotaTip,
|
|
67
|
+
hamiMemoryQuota,
|
|
68
|
+
hamiMemoryQuotaTip,
|
|
46
69
|
gpuQuota,
|
|
47
70
|
addGpu,
|
|
71
|
+
viewNamespaceAvailableQuota,
|
|
48
72
|
gpuType,
|
|
49
73
|
typeMiss,
|
|
50
74
|
vgpuTypePlaceholder,
|
|
@@ -53,7 +77,7 @@ const Gpu = {
|
|
|
53
77
|
gpuCall,
|
|
54
78
|
localCall,
|
|
55
79
|
remoteCall,
|
|
56
|
-
|
|
80
|
+
assignGpu,
|
|
57
81
|
gpuModel,
|
|
58
82
|
available,
|
|
59
83
|
highPriority,
|
|
@@ -76,7 +100,7 @@ const Gpu = {
|
|
|
76
100
|
export {
|
|
77
101
|
addGpu,
|
|
78
102
|
advancedConfig,
|
|
79
|
-
|
|
103
|
+
assignGpu,
|
|
80
104
|
available,
|
|
81
105
|
baseGpuSchedule,
|
|
82
106
|
baseNodeSchedule,
|
|
@@ -87,6 +111,10 @@ export {
|
|
|
87
111
|
gpuModel,
|
|
88
112
|
gpuQuota,
|
|
89
113
|
gpuType,
|
|
114
|
+
hamiCoreQuota,
|
|
115
|
+
hamiCoreQuotaTip,
|
|
116
|
+
hamiMemoryQuota,
|
|
117
|
+
hamiMemoryQuotaTip,
|
|
90
118
|
hashrateTip,
|
|
91
119
|
highPriority,
|
|
92
120
|
iluvatar,
|
|
@@ -96,8 +124,6 @@ export {
|
|
|
96
124
|
min,
|
|
97
125
|
number,
|
|
98
126
|
numberIntegerError,
|
|
99
|
-
nvidiaGpucoresTip,
|
|
100
|
-
nvidiaVgpuTip,
|
|
101
127
|
remoteCall,
|
|
102
128
|
schedulePolicy,
|
|
103
129
|
spec,
|
|
@@ -105,5 +131,6 @@ export {
|
|
|
105
131
|
taskPriorityHelper,
|
|
106
132
|
typeMiss,
|
|
107
133
|
unlimited,
|
|
108
|
-
vgpuTypePlaceholder
|
|
134
|
+
vgpuTypePlaceholder,
|
|
135
|
+
viewNamespaceAvailableQuota
|
|
109
136
|
};
|
|
@@ -45,6 +45,7 @@ const UpdateNetworkConfigDialog = require("./dialogs/UpdateNetworkConfigDialog.j
|
|
|
45
45
|
const BackupRestore = require("./forms/BackupRestore.json.js");
|
|
46
46
|
const BackupSetting = require("./forms/BackupSetting.json.js");
|
|
47
47
|
const ImportParameterTemplate = require("./forms/ImportParameterTemplate.json.js");
|
|
48
|
+
const UseCancelFormDialog = require("./uses/UseCancelFormDialog.json.js");
|
|
48
49
|
const multiRowEditorValidate = require("./utils/multiRowEditorValidate.json.js");
|
|
49
50
|
const validate = require("./validate.json.js");
|
|
50
51
|
const ContainerBasicInfo = require("./workloads/ContainerBasicInfo.json.js");
|
|
@@ -120,6 +121,7 @@ const modules = /* @__PURE__ */ Object.assign({
|
|
|
120
121
|
"./forms/BackupRestore.json": BackupRestore,
|
|
121
122
|
"./forms/BackupSetting.json": BackupSetting,
|
|
122
123
|
"./forms/ImportParameterTemplate.json": ImportParameterTemplate,
|
|
124
|
+
"./uses/UseCancelFormDialog.json": UseCancelFormDialog,
|
|
123
125
|
"./utils/multiRowEditorValidate.json": multiRowEditorValidate,
|
|
124
126
|
"./validate.json": validate,
|
|
125
127
|
"./workloads/ContainerBasicInfo.json": ContainerBasicInfo,
|
|
@@ -44,6 +44,7 @@ import * as UpdateNetworkConfigDialog from "./dialogs/UpdateNetworkConfigDialog.
|
|
|
44
44
|
import * as BackupRestore from "./forms/BackupRestore.json.mjs";
|
|
45
45
|
import * as BackupSetting from "./forms/BackupSetting.json.mjs";
|
|
46
46
|
import * as ImportParameterTemplate from "./forms/ImportParameterTemplate.json.mjs";
|
|
47
|
+
import * as UseCancelFormDialog from "./uses/UseCancelFormDialog.json.mjs";
|
|
47
48
|
import * as multiRowEditorValidate from "./utils/multiRowEditorValidate.json.mjs";
|
|
48
49
|
import * as validate from "./validate.json.mjs";
|
|
49
50
|
import * as ContainerBasicInfo from "./workloads/ContainerBasicInfo.json.mjs";
|
|
@@ -117,6 +118,7 @@ const modules = /* @__PURE__ */ Object.assign({
|
|
|
117
118
|
"./forms/BackupRestore.json": BackupRestore,
|
|
118
119
|
"./forms/BackupSetting.json": BackupSetting,
|
|
119
120
|
"./forms/ImportParameterTemplate.json": ImportParameterTemplate,
|
|
121
|
+
"./uses/UseCancelFormDialog.json": UseCancelFormDialog,
|
|
120
122
|
"./utils/multiRowEditorValidate.json": multiRowEditorValidate,
|
|
121
123
|
"./validate.json": validate,
|
|
122
124
|
"./workloads/ContainerBasicInfo.json": ContainerBasicInfo,
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const title = "提示";
|
|
4
|
+
const content = "退出当前页面将不会保存已配置信息,确定退出?";
|
|
5
|
+
const UseCancelFormDialog = {
|
|
6
|
+
title,
|
|
7
|
+
content
|
|
8
|
+
};
|
|
9
|
+
exports.content = content;
|
|
10
|
+
exports.default = UseCancelFormDialog;
|
|
11
|
+
exports.title = title;
|