bfg-common 1.4.655 → 1.4.656

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 (116) hide show
  1. package/assets/localization/local_be.json +13 -1
  2. package/assets/localization/local_en.json +13 -1
  3. package/assets/localization/local_hy.json +13 -1
  4. package/assets/localization/local_kk.json +13 -1
  5. package/assets/localization/local_ru.json +14 -2
  6. package/assets/localization/local_zh.json +13 -1
  7. package/components/atoms/TheIcon3.vue +50 -50
  8. package/components/atoms/modal/bySteps/BySteps.vue +253 -253
  9. package/components/atoms/stack/StackBlock.vue +185 -185
  10. package/components/atoms/table/dataGrid/DataGrid.vue +1633 -1633
  11. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +222 -222
  12. package/components/common/browse/BrowseNew.vue +237 -237
  13. package/components/common/browse/BrowseOld.vue +217 -217
  14. package/components/common/browse/blocks/contents/Files.vue +37 -37
  15. package/components/common/browse/blocks/contents/FilesOld.vue +72 -72
  16. package/components/common/browse/blocks/contents/filesNew/FilesNew.vue +96 -96
  17. package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
  18. package/components/common/context/lib/models/interfaces.ts +30 -30
  19. package/components/common/context/recursion/Recursion.vue +86 -86
  20. package/components/common/context/recursion/RecursionNew.vue +199 -199
  21. package/components/common/context/recursion/RecursionOld.vue +213 -213
  22. package/components/common/layout/theHeader/helpMenu/About.vue +85 -85
  23. package/components/common/layout/theHeader/helpMenu/aboutNew/AboutNew.vue +105 -105
  24. package/components/common/mainNavigationPanel/MainNavigationPanel.vue +152 -152
  25. package/components/common/modals/confirmByInput/ConfirmByInput.vue +206 -206
  26. package/components/common/modals/unsavedChanges/UnsavedChanges.vue +56 -56
  27. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +143 -2
  28. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/models/interfaces.ts +1 -0
  29. package/components/common/monitor/advanced/tools/chartOptionsModal/lib/models/types.ts +1 -1
  30. package/components/common/monitor/advanced/tools/chartOptionsModal/metrics/lib/config/optionsMetrics.ts +5 -5
  31. package/components/common/monitor/overview/filters/Filters.vue +1 -3
  32. package/components/common/monitor/overview/filters/lib/config/filterOptions.ts +27 -9
  33. package/components/common/monitor/overview/filters/lib/models/interfaces.ts +1 -0
  34. package/components/common/monitor/overview/filters/lib/models/types.ts +2 -0
  35. package/components/common/monitor/resourceAllocation/lib/models/interfaces.ts +13 -0
  36. package/components/common/monitor/resourceAllocation/resourceAllocation.vue +196 -0
  37. package/components/common/spiceConsole/Drawer.vue +370 -370
  38. package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
  39. package/components/common/split/vertical/Vertical.vue +160 -160
  40. package/components/common/vm/actions/add/Add.vue +617 -617
  41. package/components/common/vm/actions/clone/lib/config/steps.ts +129 -129
  42. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +267 -267
  43. package/components/common/vm/actions/common/customizeHardware/CustomizeHardwareNew.vue +269 -269
  44. package/components/common/vm/actions/common/customizeHardware/virtualHardware/browseView/BrowseView.vue +219 -219
  45. package/components/common/vm/actions/common/customizeHardware/virtualHardware/bus/BusNew.vue +118 -118
  46. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveNew.vue +161 -161
  47. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDriveOld.vue +165 -165
  48. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/Media.vue +25 -25
  49. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/media/MediaNew.vue +55 -55
  50. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +338 -338
  51. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +147 -147
  52. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +220 -220
  53. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/mode/ModeOld.vue +55 -55
  54. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/sharing/SharingNew.vue +44 -44
  55. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +281 -281
  56. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetworkNew.vue +124 -124
  57. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/LocationOld.vue +134 -134
  58. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/New.vue +63 -63
  59. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/lib/config/config.ts +95 -95
  60. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +119 -119
  61. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressNew.vue +69 -69
  62. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddressOld.vue +83 -83
  63. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceNew.vue +85 -85
  64. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDeviceOld.vue +91 -91
  65. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/directPathIo/DirectPathIoNew.vue +35 -35
  66. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIoNew.vue +48 -48
  67. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/Note.vue +15 -15
  68. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteNew.vue +42 -42
  69. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/note/NoteOld.vue +30 -30
  70. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/nvidiaGrid/NvidiaGridNew.vue +30 -30
  71. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/typeSelection/TypeSelectionNew.vue +46 -46
  72. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newUsbController/NewUsbControllerNew.vue +56 -56
  73. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +16 -16
  74. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/OtherNew.vue +30 -30
  75. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardNew.vue +107 -107
  76. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCardOld.vue +115 -115
  77. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/totalVideoMemory/TotalVideoMemoryNew.vue +54 -54
  78. package/components/common/vm/actions/common/customizeHardware/vmoptions/Vmoptions.vue +145 -145
  79. package/components/common/vm/actions/common/customizeHardware/vmoptions/VmoptionsNew.vue +102 -102
  80. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/BootOptionsNew.vue +75 -75
  81. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +26 -26
  82. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +57 -57
  83. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/FirmwareNew.vue +42 -42
  84. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/menu/MenuNew.vue +25 -25
  85. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +171 -171
  86. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/OrderNew.vue +50 -50
  87. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptionsNew.vue +141 -141
  88. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/New.vue +140 -140
  89. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/copyPaste/CopyPasteNew.vue +30 -30
  90. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/fileTransfer/FileTransferNew.vue +30 -30
  91. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/folderSharing/FolderSharingNew.vue +30 -30
  92. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +32 -32
  93. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/KeymapNew.vue +39 -39
  94. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +103 -103
  95. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordNew.vue +102 -102
  96. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/PasswordOld.vue +94 -94
  97. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +28 -28
  98. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionNew.vue +38 -38
  99. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirectionOld.vue +44 -44
  100. package/components/common/vm/actions/common/select/storage/Storage.vue +130 -130
  101. package/components/common/vm/actions/common/select/storage/StorageOld.vue +129 -129
  102. package/components/common/vm/actions/editSettings/EditSettings.vue +232 -232
  103. package/components/common/vm/actions/editSettings/EditSettingsOld.vue +183 -183
  104. package/components/common/vm/actions/editSettings/new/New.vue +177 -177
  105. package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
  106. package/components/common/wizards/datastore/add/Add.vue +1 -1
  107. package/components/common/wizards/datastore/add/nfs/accessibility/tablesView/TablesView.vue +1 -2
  108. package/composables/productNameLocal.ts +30 -30
  109. package/package.json +1 -1
  110. package/plugins/date.ts +233 -233
  111. package/plugins/recursion.ts +311 -311
  112. package/public/spice-console/lib/images/bitmap.js +203 -203
  113. package/public/spice-console/network/spicechannel.js +383 -383
  114. package/store/main/mutations.ts +7 -7
  115. package/store/main/state.ts +7 -7
  116. package/store/tasks/mappers/recentTasks.ts +64 -64
@@ -15,6 +15,7 @@ export interface UI_I_AdvancedCounterItem {
15
15
 
16
16
  export interface I_HostMetrics {
17
17
  cpu: UI_I_AdvancedCounterItem[]
18
+ datastore: UI_I_AdvancedCounterItem[]
18
19
  memory: UI_I_AdvancedCounterItem[]
19
20
  network: UI_I_AdvancedCounterItem[]
20
21
  disk: UI_I_AdvancedCounterItem[]
@@ -1,3 +1,3 @@
1
- export type UI_T_ChartHost = 'cpu' | 'memory' | 'network' | 'disk'
1
+ export type UI_T_ChartHost = 'cpu' | 'datastore' | 'memory' | 'network' | 'disk'
2
2
 
3
3
  export type UI_T_ChartVm = 'cpu' | 'memory' | 'network' | 'disk' | 'datastore'
@@ -85,11 +85,11 @@ export const metricsFunc = (
85
85
  // value: 'cluster_services',
86
86
  // disabled: true,
87
87
  // },
88
- // {
89
- // text: localization.common.datastore,
90
- // value: 'datastore',
91
- // disabled: true,
92
- // },
88
+ {
89
+ text: localization.common.datastore,
90
+ value: 'datastore',
91
+ testId: 'metric-item-datastore-button',
92
+ },
93
93
  {
94
94
  text: localization.common.disk,
95
95
  value: 'disk',
@@ -63,7 +63,6 @@
63
63
  <script setup lang="ts">
64
64
  import type { UI_I_Localization } from '~/lib/models/interfaces'
65
65
  import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
66
- import type { UI_T_Project } from '~/lib/models/types'
67
66
  import type { UI_I_MonitorGraphPayload } from '~/components/common/monitor/lib/models/interfaces'
68
67
  import type { UI_T_OverviewViewType } from '~/components/common/monitor/overview/filters/lib/models/types'
69
68
  import {
@@ -82,7 +81,6 @@ const props = defineProps<{
82
81
  view: UI_T_OverviewViewType
83
82
  selectedPeriods: number[]
84
83
  formatDate: string
85
- project: UI_T_Project
86
84
  currentLang: string
87
85
  formatTime?: string
88
86
  }>()
@@ -152,7 +150,7 @@ const disabledPeriodOptions = computed<boolean>(() => props.chartType === 'pie')
152
150
 
153
151
  const selectedView = ref<string>('')
154
152
  const viewOptions = computed<UI_I_OptionItem[]>(() =>
155
- viewFunc(localization.value, props.view, props.project)
153
+ viewFunc(localization.value, props.view)
156
154
  )
157
155
  watch(
158
156
  () => viewOptions.value,
@@ -2,7 +2,6 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
2
  import type { UI_I_OptionItem } from '~/components/atoms/lib/models/interfaces'
3
3
  import type { UI_I_OverviewViewOptionData } from '~/components/common/monitor/overview/filters/lib/models/interfaces'
4
4
  import type { UI_T_OverviewViewType } from '~/components/common/monitor/overview/filters/lib/models/types'
5
- import type { UI_T_Project } from '~/lib/models/types'
6
5
 
7
6
  export const periodFunc = (
8
7
  localization: UI_I_Localization
@@ -35,21 +34,19 @@ export const periodFunc = (
35
34
 
36
35
  export const viewFunc = (
37
36
  localization: UI_I_Localization,
38
- viewType: UI_T_OverviewViewType,
39
- project: UI_T_Project
37
+ viewType: UI_T_OverviewViewType
40
38
  ): UI_I_OptionItem[] => {
41
39
  const host = [
42
40
  { text: localization.inventoryMonitor.overview, value: 'overview' },
43
41
  { text: localization.common.memory, value: 'memory' },
44
42
  { text: localization.common.network, value: 'network' },
45
43
  { text: localization.common.disks, value: 'disks' },
46
- // { text: localization.common.virtual_machines, value: 'virtual_machines' },
47
- ]
48
- if (project === 'procurator')
49
- host.push({
44
+ {
50
45
  text: localization.inventoryMonitor.spaceUtilization,
51
46
  value: 'spaceUtilization',
52
- })
47
+ },
48
+ // { text: localization.common.virtual_machines, value: 'virtual_machines' },
49
+ ]
53
50
 
54
51
  const viewData: UI_I_OverviewViewOptionData = {
55
52
  zone: [{ text: localization.inventoryMonitor.overview, value: 'overview' }],
@@ -75,7 +72,28 @@ export const viewFunc = (
75
72
  { text: localization.common.network, value: 'network' },
76
73
  { text: localization.common.disks, value: 'disks' },
77
74
  ],
78
- cluster: [{ text: localization.inventoryMonitor.overview, value: 'overview' }],
75
+ cluster: [
76
+ { text: localization.inventoryMonitor.overview, value: 'overview' },
77
+ ],
78
+ datastore: [
79
+ { text: localization.inventoryMonitor.overview, value: 'overview' },
80
+ {
81
+ text: localization.inventoryMonitor.spaceUtilization,
82
+ value: 'space_utilization',
83
+ },
84
+ {
85
+ text: localization.common.storageIo,
86
+ value: 'storage_io',
87
+ },
88
+ {
89
+ text: localization.common.hosts,
90
+ value: 'hosts',
91
+ },
92
+ {
93
+ text: localization.common.vms_amount,
94
+ value: 'vms_amount',
95
+ },
96
+ ],
79
97
  }
80
98
 
81
99
  return viewData[viewType]
@@ -6,4 +6,5 @@ export interface UI_I_OverviewViewOptionData {
6
6
  host: UI_I_OptionItem[]
7
7
  vm: UI_I_OptionItem[]
8
8
  cluster: UI_I_OptionItem[]
9
+ datastore: UI_I_OptionItem[]
9
10
  }
@@ -4,6 +4,7 @@ export type UI_T_OverviewViewType =
4
4
  | 'vm'
5
5
  | 'datacenter'
6
6
  | 'cluster'
7
+ | 'datastore'
7
8
 
8
9
  export type UI_T_OverviewRequestType =
9
10
  | 'cluster'
@@ -11,3 +12,4 @@ export type UI_T_OverviewRequestType =
11
12
  | 'hosts'
12
13
  | 'vms'
13
14
  | 'datacenters'
15
+ | 'datastore'
@@ -0,0 +1,13 @@
1
+ export interface UI_I_ResourceAllocationHeaderItem {
2
+ title: string
3
+ value: string
4
+ used?: boolean
5
+ available?: boolean
6
+ }
7
+
8
+ export interface UI_I_ResourceAllocationHeader {
9
+ used: number
10
+ from: string
11
+ to: string
12
+ items: UI_I_ResourceAllocationHeaderItem[]
13
+ }
@@ -0,0 +1,196 @@
1
+ <template>
2
+ <div class="resource-allocation">
3
+ <div class="resource-allocation-header">
4
+ <common-headline :headline="props.title" />
5
+
6
+ <div class="resource-allocation-header-block">
7
+ <div class="resource-allocation-header-block-progress">
8
+ <div
9
+ title="70%"
10
+ class="resource-allocation-header-block-progress-used"
11
+ :style="{ width: props.headerData.used + '%' }"
12
+ ></div>
13
+ <div
14
+ title="30%"
15
+ class="resource-allocation-header-block-progress-available"
16
+ :style="{ width: 100 - props.headerData.used + '%' }"
17
+ ></div>
18
+ </div>
19
+ <div class="resource-allocation-header-block-progress-info">
20
+ <div>{{ props.headerData.from }}</div>
21
+ <div>{{ props.headerData.to }}</div>
22
+ </div>
23
+
24
+ <div class="resource-allocation-header-block-info">
25
+ <div
26
+ v-for="(item, key) in props.headerData.items"
27
+ :key="key"
28
+ class="resource-allocation-header-block-info-item"
29
+ >
30
+ <span>
31
+ <span
32
+ v-if="item.used"
33
+ class="resource-allocation-header-block-info-item-used"
34
+ ></span>
35
+ <span
36
+ v-if="item.available"
37
+ class="resource-allocation-header-block-info-item-available"
38
+ ></span>
39
+ <span>{{ item.title }}</span>
40
+ </span>
41
+ <span>{{ item.value }}</span>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <!-- <div class="resource-allocation-content">-->
47
+ <!-- <div class="data-table-view">-->
48
+ <!-- <div class="data-table-view__inner">-->
49
+ <!-- <atoms-table-data-grid-->
50
+ <!-- v-model:column-keys="columnKeys"-->
51
+ <!-- v-model:selected-row="selectedRow"-->
52
+ <!-- :head-items="headItems"-->
53
+ <!-- :body-items="bodyItems"-->
54
+ <!-- :total-items="props.totalItems"-->
55
+ <!-- :total-pages="props.totalPages"-->
56
+ <!-- :page-size="100"-->
57
+ <!-- :page="1"-->
58
+ <!-- :type="tableType"-->
59
+ <!-- class="data-table"-->
60
+ <!-- test-id="hardware-health-table"-->
61
+ <!-- :loading="props.loading"-->
62
+ <!-- hide-page-size-->
63
+ <!-- server-off-->
64
+ <!-- >-->
65
+ <!-- <template v-if="hasNonEmptySelEntries" #toggleBlock="{ item }">-->
66
+ <!-- <div class="row-details">-->
67
+ <!-- <div class="row-details__headline">-->
68
+ <!-- {{ localization.common.eventLogEntries }}-->
69
+ <!-- </div>-->
70
+
71
+ <!-- <div-->
72
+ <!-- v-for="(entries, key) in item[0].data.current.sel_entries"-->
73
+ <!-- :key="key"-->
74
+ <!-- class="row-details__content"-->
75
+ <!-- >-->
76
+ <!-- <span>{{ entries.event }}</span>-->
77
+ <!-- <span>{{ entries.time }}</span>-->
78
+ <!-- </div>-->
79
+ <!-- </div>-->
80
+ <!-- </template>-->
81
+
82
+ <!-- <template #icon="{ item }">-->
83
+ <!-- <atoms-the-icon-->
84
+ <!-- v-if="!item.data.isSprite"-->
85
+ <!-- :name="item.data.iconClassName"-->
86
+ <!-- class="icon"-->
87
+ <!-- />-->
88
+ <!-- <span v-else :class="['icon', item.data.iconClassName]"></span>-->
89
+ <!-- {{ item.text }}-->
90
+
91
+ <!-- <a-->
92
+ <!-- v-if="item.data.warning"-->
93
+ <!-- id="sensor-item-warning"-->
94
+ <!-- :data-id="item.data.testId"-->
95
+ <!-- href="javascript:void(0)"-->
96
+ <!-- class="row-details__text"-->
97
+ <!-- @click="onShowFieldWarning(item.data.warning)"-->
98
+ <!-- >{{ localization.common.details }}...-->
99
+ <!-- </a>-->
100
+ <!-- </template>-->
101
+ <!-- </atoms-table-data-grid>-->
102
+ <!-- </div>-->
103
+ <!-- </div>-->
104
+ <!-- </div>-->
105
+ </div>
106
+ </template>
107
+
108
+ <script setup lang="ts">
109
+ import type { UI_I_ResourceAllocationHeader } from '~/components/common/monitor/resourceAllocation/lib/models/interfaces'
110
+
111
+ const props = defineProps<{
112
+ title: string
113
+ headerData: UI_I_ResourceAllocationHeader
114
+ }>()
115
+
116
+ // const localization = computed<UI_I_Localization>(() => useLocal())
117
+ </script>
118
+
119
+ <style lang="scss" scoped>
120
+ .resource-allocation {
121
+ &-header {
122
+ &-block {
123
+ width: 100%;
124
+ max-width: 350px;
125
+ min-width: 250px;
126
+ position: relative;
127
+ padding-top: 11px;
128
+
129
+ &-progress {
130
+ height: 17px;
131
+ margin-bottom: 3px;
132
+ border: 1px solid #939fa7;
133
+ z-index: 1;
134
+ position: relative;
135
+ display: flex;
136
+
137
+ &-used {
138
+ background-color: #8fdaf9;
139
+ height: 100%;
140
+ }
141
+
142
+ &-available {
143
+ background-color: #ffffff;
144
+ height: 100%;
145
+ }
146
+
147
+ &-info {
148
+ display: flex;
149
+ justify-content: space-between;
150
+ height: 20px;
151
+
152
+ div {
153
+ font-size: smaller;
154
+ font-weight: 400;
155
+ line-height: 24px;
156
+ }
157
+ }
158
+ }
159
+
160
+ &-info {
161
+ flex: 1 1 auto;
162
+ width: 100%;
163
+ height: 110px;
164
+ padding: 10px 0;
165
+
166
+ &-item {
167
+ display: flex;
168
+ justify-content: space-between;
169
+ height: 18px;
170
+ line-height: 17px;
171
+
172
+ &-used {
173
+ width: 16px;
174
+ height: 12px;
175
+ border: 1px solid #aaa;
176
+ background-color: #8fdaf9;
177
+ display: inline-block;
178
+ margin-bottom: -2px;
179
+ margin-right: 4px;
180
+ }
181
+
182
+ &-available {
183
+ width: 16px;
184
+ height: 12px;
185
+ border: 1px solid #aaa;
186
+ background-color: #ffffff;
187
+ display: inline-block;
188
+ margin-bottom: -2px;
189
+ margin-right: 4px;
190
+ }
191
+ }
192
+ }
193
+ }
194
+ }
195
+ }
196
+ </style>