bfg-common 1.4.54 → 1.4.55

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 (49) hide show
  1. package/assets/img/icons/icons-sprite-dark-6.svg +190 -1
  2. package/assets/img/icons/icons-sprite-light-6.svg +190 -1
  3. package/assets/localization/local_be.json +1 -14
  4. package/assets/localization/local_en.json +1 -14
  5. package/assets/localization/local_hy.json +1 -14
  6. package/assets/localization/local_kk.json +1 -14
  7. package/assets/localization/local_ru.json +25 -38
  8. package/assets/localization/local_zh.json +1 -14
  9. package/components/atoms/modal/bySteps/BySteps.vue +253 -253
  10. package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +4 -31
  11. package/components/atoms/table/dataGrid/lib/models/interfaces.ts +0 -5
  12. package/components/common/browse/blocks/Title.vue +91 -91
  13. package/components/common/browse/blocks/info/Date.vue +21 -21
  14. package/components/common/context/recursion/Recursion.vue +86 -86
  15. package/components/common/context/recursion/RecursionNew.vue +198 -198
  16. package/components/common/context/recursion/RecursionOld.vue +212 -212
  17. package/components/common/graph/Graph.vue +4 -5
  18. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/utils.ts +6 -6
  19. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/Timespan.vue +1 -0
  20. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/timespan/object/Object.vue +1 -1
  21. package/components/common/pages/hardwareHealth/HardwareHealth.vue +9 -12
  22. package/components/common/pages/hardwareHealth/historyTestimony/Graph.vue +22 -103
  23. package/components/common/pages/hardwareHealth/historyTestimony/lib/models/interfaces.ts +0 -1
  24. package/components/common/pages/hardwareHealth/historyTestimony/tools/Tools.vue +4 -9
  25. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/ChartOptionsModal.vue +11 -29
  26. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/Counters.vue +5 -10
  27. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/Timespan.vue +4 -6
  28. package/components/common/pages/hardwareHealth/historyTestimony/tools/chartOptionsModal/counters/timespan/form/Form.vue +13 -13
  29. package/components/common/pages/hardwareHealth/historyTestimony/tools/lib/config/toolbar.ts +0 -4
  30. package/components/common/pages/hardwareHealth/lib/config/status.ts +1 -1
  31. package/components/common/pages/hardwareHealth/tableView/TableView.vue +2 -7
  32. package/components/common/pages/hardwareHealth/tableView/lib/config/historyTestimonyTable.ts +2 -11
  33. package/components/common/pages/hardwareHealth/tableView/lib/models/interfaces.ts +0 -1
  34. package/components/common/pages/hardwareHealth/tableView/modal/{SensorWarning.vue → sensorWarning.vue} +1 -1
  35. package/components/common/recursionTree/RecursionTree.vue +1 -5
  36. package/components/common/split/horizontal/HorizontalNew.vue +321 -321
  37. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +403 -400
  38. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +57 -52
  39. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +99 -99
  40. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/streamingMode/StreamingMode.vue +85 -85
  41. package/components/common/wizards/datastore/add/Add.vue +437 -437
  42. package/composables/productNameLocal.ts +30 -30
  43. package/lib/models/interfaces.ts +0 -2
  44. package/package.json +1 -1
  45. package/plugins/recursion.ts +311 -311
  46. package/public/spice-console/lib/images/bitmap.js +203 -203
  47. package/store/tasks/mappers/recentTasks.ts +45 -45
  48. package/assets/img/icons/icons-sprite-dark-9.svg +0 -71
  49. package/assets/img/icons/icons-sprite-light-9.svg +0 -71
@@ -1,30 +1,30 @@
1
- import type { UI_I_Localization } from '~/lib/models/interfaces'
2
- import type { UI_T_LanguageKey } from '~/lib/models/types'
3
-
4
- export function productNameLocal(
5
- localization: UI_I_Localization
6
- ): UI_I_Localization {
7
- const config = useRuntimeConfig()
8
-
9
- const productName =
10
- config.public.LOCALIZATION_CODE === 'ru'
11
- ? config.public.PRODUCT_NAME_RU
12
- : config.public.PRODUCT_NAME_EN
13
-
14
- return replaceProductNameRecursion(localization, productName)
15
- }
16
-
17
- const replaceProductNameRecursion = (
18
- localization: UI_I_Localization,
19
- productName: any
20
- ): UI_I_Localization => {
21
- for (const key of Object.keys(localization)) {
22
- let item = localization[key as UI_T_LanguageKey]
23
-
24
- for (const key2 of Object.keys(item)) {
25
- item[key2] = item[key2].replaceAll('{productName}', productName)
26
- }
27
- }
28
-
29
- return localization
30
- }
1
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
2
+ import type { UI_T_LanguageKey } from '~/lib/models/types'
3
+
4
+ export function productNameLocal(
5
+ localization: UI_I_Localization
6
+ ): UI_I_Localization {
7
+ const config = useRuntimeConfig()
8
+
9
+ const productName =
10
+ config.public.LOCALIZATION_CODE === 'ru'
11
+ ? config.public.PRODUCT_NAME_RU
12
+ : config.public.PRODUCT_NAME_EN
13
+
14
+ return replaceProductNameRecursion(localization, productName)
15
+ }
16
+
17
+ const replaceProductNameRecursion = (
18
+ localization: UI_I_Localization,
19
+ productName: any
20
+ ): UI_I_Localization => {
21
+ for (const key of Object.keys(localization)) {
22
+ let item = localization[key as UI_T_LanguageKey]
23
+
24
+ for (const key2 of Object.keys(item)) {
25
+ item[key2] = item[key2].replaceAll('{productName}', productName)
26
+ }
27
+ }
28
+
29
+ return localization
30
+ }
@@ -31,8 +31,6 @@ export interface UI_I_Localization {
31
31
  inventoryTabs: UI_I_ArbitraryObject<string>
32
32
  snapshots: UI_I_ArbitraryObject<string>
33
33
  importVms: UI_I_ArbitraryObject<string>
34
- storageDevice: UI_I_ArbitraryObject<string>
35
- scheduledTasks: UI_I_ArbitraryObject<string>
36
34
  }
37
35
  export interface UI_I_SendTaskParams {
38
36
  method: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.54",
4
+ "version": "1.4.55",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",