bfg-common 1.5.536 → 1.5.537

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.
@@ -42,6 +42,7 @@
42
42
  :is-show-power-on="isShowPowerOn"
43
43
  :is-show-select-template="isShowSelectTemplate"
44
44
  :data-center="props.dataCenter"
45
+ :compute-resource="props.computeResource"
45
46
  :compute-resource-tree="props.computeResourceTree"
46
47
  :location-nodes="props.locationNodes"
47
48
  :allowed-location-kinds="allowedLocationKinds"
@@ -118,6 +119,7 @@
118
119
  :compatibility-info="compatibilityInfo"
119
120
  :is-show-power-on="isShowPowerOn"
120
121
  :data-center="props.dataCenter"
122
+ :compute-resource="props.computeResource"
121
123
  :compute-resource-tree="props.computeResourceTree"
122
124
  :location-nodes="props.locationNodes"
123
125
  :allowed-location-kinds="allowedLocationKinds"
@@ -236,6 +238,7 @@ const props = withDefaults(
236
238
  vmtSettings?: UI_I_VmSettings | null
237
239
  validateEmptyName?: boolean
238
240
  dataCenter?: UI_I_TreeNode // для сферы
241
+ computeResource?: UI_I_TreeNode // для сферы
239
242
  computeResourceTree?: UI_I_TreeNode[] // для сферы
240
243
  locationNodes?: UI_I_TreeNode[] // для сферы
241
244
  selectedTemplateId?: string // для сферы
@@ -246,7 +249,8 @@ const props = withDefaults(
246
249
  capabilities: undefined,
247
250
  vmtSettings: undefined,
248
251
  validateEmptyName: false,
249
- dataCenter: undefined,
252
+ dataCenter: null,
253
+ computeResource: null,
250
254
  computeResourceTree: undefined,
251
255
  locationNodes: undefined,
252
256
  selectedTemplateId: '',
@@ -706,7 +710,7 @@ const vmForm = ref<UI_I_VmForm>({
706
710
  guestMachineType: null,
707
711
  guestOsFamily: null,
708
712
  guestOsVersion: null,
709
- computeResource: null,
713
+ computeResource: props.computeResource,
710
714
  storage: null,
711
715
  locationPath: '',
712
716
  dataCenter: null,
@@ -200,6 +200,7 @@ const props = withDefaults(
200
200
  selectedVirtualMachine?: string
201
201
  isNewVmFromTemplate?: boolean
202
202
  dataCenter?: UI_I_TreeNode | null // для сферы
203
+ computeResource?: UI_I_TreeNode // для сферы
203
204
  computeResourceTree?: UI_I_TreeNode[] // для сферы
204
205
  locationNodes?: UI_I_TreeNode[] // для сферы
205
206
  }>(),
@@ -208,7 +209,8 @@ const props = withDefaults(
208
209
  schedulerTask: undefined,
209
210
  selectedVirtualMachine: '',
210
211
  isNewVmFromTemplate: undefined,
211
- dataCenter: () => null,
212
+ dataCenter: null,
213
+ computeResource: null,
212
214
  computeResourceTree: undefined,
213
215
  locationNodes: () => [],
214
216
  }
@@ -579,7 +581,7 @@ const vmForm = ref<UI_I_VmForm>({
579
581
  guestMachineType: null,
580
582
  guestOsFamily: null,
581
583
  guestOsVersion: null,
582
- computeResource: null,
584
+ computeResource: props.computeResource,
583
585
  storage: null,
584
586
  locationPath: '',
585
587
  dataCenter: null,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.536",
4
+ "version": "1.5.537",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",