bfg-common 1.5.688 → 1.5.690

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 (35) hide show
  1. package/assets/localization/local_be.json +3804 -3783
  2. package/assets/localization/local_en.json +3808 -3787
  3. package/assets/localization/local_hy.json +21 -0
  4. package/assets/localization/local_kk.json +21 -0
  5. package/assets/localization/local_ru.json +21 -0
  6. package/assets/localization/local_zh.json +21 -0
  7. package/assets/scss/components/auth.scss +15 -5
  8. package/components/atoms/dropdown/tree/Tree.vue +2 -0
  9. package/components/atoms/switch/Switch.vue +7 -1
  10. package/components/atoms/wizard/Wizard.vue +1 -1
  11. package/components/common/layout/theHeader/userMenu/modals/preferences/PreferencesNew.vue +115 -115
  12. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/ChangeLanguage.vue +108 -108
  13. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/New.vue +88 -88
  14. package/components/common/layout/theHeader/userMenu/modals/preferences/changeLanguage/Old.vue +89 -89
  15. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/DefaultConsole.vue +43 -43
  16. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/New.vue +53 -53
  17. package/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/Old.vue +49 -49
  18. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/Inventory.vue +31 -31
  19. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/New.vue +36 -36
  20. package/components/common/layout/theHeader/userMenu/modals/preferences/inventory/Old.vue +31 -31
  21. package/components/common/layout/theHeader/userMenu/modals/preferences/security/New.vue +282 -34
  22. package/components/common/layout/theHeader/userMenu/modals/preferences/security/Old.vue +23 -55
  23. package/components/common/layout/theHeader/userMenu/modals/preferences/security/Security.vue +65 -6
  24. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/New.vue +52 -52
  25. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/Old.vue +45 -45
  26. package/components/common/layout/theHeader/userMenu/modals/preferences/timeFormat/TimeFormat.vue +54 -54
  27. package/components/common/layout/theHeader/userMenu/modals/preferences/view/New.vue +47 -47
  28. package/components/common/layout/theHeader/userMenu/modals/preferences/view/Old.vue +112 -112
  29. package/components/common/layout/theHeader/userMenu/modals/preferences/view/View.vue +46 -46
  30. package/components/common/qr/Qr.vue +17 -5
  31. package/components/common/vm/actions/clone/old/Old.vue +1 -0
  32. package/components/common/wizards/common/compatibility/New.vue +1 -1
  33. package/components/common/wizards/common/compatibility/Old.vue +1 -1
  34. package/lib/models/interfaces.ts +1 -0
  35. package/package.json +1 -1
@@ -1,53 +1,53 @@
1
- <template>
2
- <form id="change-default-console" @submit.prevent>
3
- <div class="flex">
4
- <ui-modal-icon>
5
- <ui-icon-icon3 name="console" width="20" height="20" />
6
- </ui-modal-icon>
7
-
8
- <div>
9
- <div class="form-first-title">
10
- {{ localization.common.defaultConsole }}
11
- </div>
12
- <div class="form-second-title">
13
- {{ localization.common.defaultConsoleDesc }}
14
- </div>
15
-
16
- <div
17
- v-for="(item, key) in props.consoleOptions"
18
- :key="key"
19
- :title="item.disabled ? localization.common.inDevelopment : ''"
20
- class="radio flex"
21
- >
22
- <ui-radio
23
- v-model="consoleValue"
24
- :test-id="item.testId"
25
- :label="item.label"
26
- :value="item.value"
27
- :disabled="item.disabled"
28
- size="md"
29
- />
30
- </div>
31
- </div>
32
- </div>
33
- </form>
34
- </template>
35
-
36
- <script setup lang="ts">
37
- import type { UI_I_Localization } from '~/lib/models/interfaces'
38
- import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
39
-
40
- const consoleValue = defineModel<string>()
41
-
42
- const props = defineProps<{
43
- consoleOptions: UI_I_RadioItemConsole[]
44
- }>()
45
-
46
- const localization = computed<UI_I_Localization>(() => useLocal())
47
- </script>
48
-
49
- <style lang="scss" scoped>
50
- .radio:not(:last-child) {
51
- margin-bottom: 12px;
52
- }
53
- </style>
1
+ <template>
2
+ <form id="change-default-console" @submit.prevent>
3
+ <div class="flex">
4
+ <ui-modal-icon>
5
+ <ui-icon-icon3 name="console" width="20" height="20" />
6
+ </ui-modal-icon>
7
+
8
+ <div>
9
+ <div class="form-first-title">
10
+ {{ localization.common.defaultConsole }}
11
+ </div>
12
+ <div class="form-second-title">
13
+ {{ localization.common.defaultConsoleDesc }}
14
+ </div>
15
+
16
+ <div
17
+ v-for="(item, key) in props.consoleOptions"
18
+ :key="key"
19
+ :title="item.disabled ? localization.common.inDevelopment : ''"
20
+ class="radio flex"
21
+ >
22
+ <ui-radio
23
+ v-model="consoleValue"
24
+ :test-id="item.testId"
25
+ :label="item.label"
26
+ :value="item.value"
27
+ :disabled="item.disabled"
28
+ size="md"
29
+ />
30
+ </div>
31
+ </div>
32
+ </div>
33
+ </form>
34
+ </template>
35
+
36
+ <script setup lang="ts">
37
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
38
+ import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
39
+
40
+ const consoleValue = defineModel<string>()
41
+
42
+ const props = defineProps<{
43
+ consoleOptions: UI_I_RadioItemConsole[]
44
+ }>()
45
+
46
+ const localization = computed<UI_I_Localization>(() => useLocal())
47
+ </script>
48
+
49
+ <style lang="scss" scoped>
50
+ .radio:not(:last-child) {
51
+ margin-bottom: 12px;
52
+ }
53
+ </style>
@@ -1,49 +1,49 @@
1
- <template>
2
- <form class="compact change-default-console">
3
- <div class="description">
4
- {{ localization.common.defaultConsoleDesc }}
5
- </div>
6
-
7
- <div
8
- v-for="(item, key) in props.consoleOptions"
9
- :key="key"
10
- :class="['radio', item.disabled && 'disabled']"
11
- :title="item.disabled ? localization.common.inDevelopment : ''"
12
- >
13
- <input
14
- :id="item.label"
15
- v-model="consoleValue"
16
- :data-id="item.testId"
17
- :value="item.value"
18
- :disabled="item.disabled"
19
- type="radio"
20
- @change="onChange"
21
- />
22
- <label :for="item.label">
23
- {{ item.label }}
24
- </label>
25
- </div>
26
- </form>
27
- </template>
28
-
29
- <script setup lang="ts">
30
- import type { UI_I_Localization } from '~/lib/models/interfaces'
31
- import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
32
-
33
- const consoleValue = defineModel<string>()
34
-
35
- const props = defineProps<{
36
- consoleOptions: UI_I_RadioItemConsole[]
37
- }>()
38
-
39
- const localization = computed<UI_I_Localization>(() => useLocal())
40
- </script>
41
-
42
- <style lang="scss" scoped>
43
- .radio {
44
- margin-bottom: 5px;
45
- &:nth-child(2) {
46
- margin-top: 10px;
47
- }
48
- }
49
- </style>
1
+ <template>
2
+ <form class="compact change-default-console">
3
+ <div class="description">
4
+ {{ localization.common.defaultConsoleDesc }}
5
+ </div>
6
+
7
+ <div
8
+ v-for="(item, key) in props.consoleOptions"
9
+ :key="key"
10
+ :class="['radio', item.disabled && 'disabled']"
11
+ :title="item.disabled ? localization.common.inDevelopment : ''"
12
+ >
13
+ <input
14
+ :id="item.label"
15
+ v-model="consoleValue"
16
+ :data-id="item.testId"
17
+ :value="item.value"
18
+ :disabled="item.disabled"
19
+ type="radio"
20
+ @change="onChange"
21
+ />
22
+ <label :for="item.label">
23
+ {{ item.label }}
24
+ </label>
25
+ </div>
26
+ </form>
27
+ </template>
28
+
29
+ <script setup lang="ts">
30
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
31
+ import type { UI_I_RadioItemConsole } from '~/components/common/layout/theHeader/userMenu/modals/preferences/defaultConsole/lib/models/interfaces'
32
+
33
+ const consoleValue = defineModel<string>()
34
+
35
+ const props = defineProps<{
36
+ consoleOptions: UI_I_RadioItemConsole[]
37
+ }>()
38
+
39
+ const localization = computed<UI_I_Localization>(() => useLocal())
40
+ </script>
41
+
42
+ <style lang="scss" scoped>
43
+ .radio {
44
+ margin-bottom: 5px;
45
+ &:nth-child(2) {
46
+ margin-top: 10px;
47
+ }
48
+ }
49
+ </style>
@@ -1,31 +1,31 @@
1
- <template>
2
- <component :is="currentComponent" v-model="vmInHostsClusters" />
3
- </template>
4
-
5
- <script setup lang="ts">
6
- const props = defineProps<{
7
- vmCluster: boolean
8
- newView: boolean
9
- }>()
10
-
11
- const emits = defineEmits<{
12
- (event: 'update-vm-clusters', value: boolean): void
13
- }>()
14
-
15
- const currentComponent = computed(() =>
16
- props.newView
17
- ? defineAsyncComponent(() => import('./New.vue'))
18
- : defineAsyncComponent(() => import('./Old.vue'))
19
- )
20
-
21
- const vmInHostsClusters = computed<boolean>({
22
- get() {
23
- return props.vmCluster
24
- },
25
- set(newValue: boolean) {
26
- emits('update-vm-clusters', newValue)
27
- },
28
- })
29
- </script>
30
-
31
- <style lang="scss" scoped></style>
1
+ <template>
2
+ <component :is="currentComponent" v-model="vmInHostsClusters" />
3
+ </template>
4
+
5
+ <script setup lang="ts">
6
+ const props = defineProps<{
7
+ vmCluster: boolean
8
+ newView: boolean
9
+ }>()
10
+
11
+ const emits = defineEmits<{
12
+ (event: 'update-vm-clusters', value: boolean): void
13
+ }>()
14
+
15
+ const currentComponent = computed(() =>
16
+ props.newView
17
+ ? defineAsyncComponent(() => import('./New.vue'))
18
+ : defineAsyncComponent(() => import('./Old.vue'))
19
+ )
20
+
21
+ const vmInHostsClusters = computed<boolean>({
22
+ get() {
23
+ return props.vmCluster
24
+ },
25
+ set(newValue: boolean) {
26
+ emits('update-vm-clusters', newValue)
27
+ },
28
+ })
29
+ </script>
30
+
31
+ <style lang="scss" scoped></style>
@@ -1,36 +1,36 @@
1
- <template>
2
- <form id="inventor-form" @submit.prevent>
3
- <div class="flex">
4
- <ui-modal-icon>
5
- <ui-icon-main-navigation-panel
6
- name="icon-inventory"
7
- width="20"
8
- height="20"
9
- />
10
- </ui-modal-icon>
11
-
12
- <div>
13
- <div class="form-first-title">
14
- {{ localization.mainNavigation.inventory }}
15
- </div>
16
- <div class="form-second-title">
17
- {{ localization.common.inventoryDesc }}
18
- </div>
19
- <ui-checkbox
20
- v-model="vmInHostsClusters"
21
- :label-text="localization.common.virtualMachinesLabel"
22
- test-id="user-preferences-inventory-show-vms-checkbox"
23
- size="md"
24
- />
25
- </div>
26
- </div>
27
- </form>
28
- </template>
29
-
30
- <script setup lang="ts">
31
- import type { UI_I_Localization } from '~/lib/models/interfaces'
32
-
33
- const vmInHostsClusters = defineModel<boolean>()
34
-
35
- const localization = computed<UI_I_Localization>(() => useLocal())
36
- </script>
1
+ <template>
2
+ <form id="inventor-form" @submit.prevent>
3
+ <div class="flex">
4
+ <ui-modal-icon>
5
+ <ui-icon-main-navigation-panel
6
+ name="icon-inventory"
7
+ width="20"
8
+ height="20"
9
+ />
10
+ </ui-modal-icon>
11
+
12
+ <div>
13
+ <div class="form-first-title">
14
+ {{ localization.mainNavigation.inventory }}
15
+ </div>
16
+ <div class="form-second-title">
17
+ {{ localization.common.inventoryDesc }}
18
+ </div>
19
+ <ui-checkbox
20
+ v-model="vmInHostsClusters"
21
+ :label-text="localization.common.virtualMachinesLabel"
22
+ test-id="user-preferences-inventory-show-vms-checkbox"
23
+ size="md"
24
+ />
25
+ </div>
26
+ </div>
27
+ </form>
28
+ </template>
29
+
30
+ <script setup lang="ts">
31
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
32
+
33
+ const vmInHostsClusters = defineModel<boolean>()
34
+
35
+ const localization = computed<UI_I_Localization>(() => useLocal())
36
+ </script>
@@ -1,31 +1,31 @@
1
- <template>
2
- <form id="inventor-form">
3
- <div class="description">
4
- {{ localization.common.inventoryDesc }}
5
- </div>
6
-
7
- <div class="clr-checkbox-wrapper">
8
- <input
9
- id="show-vms-in-hosts-and-clusters"
10
- v-model="vmInHostsClusters"
11
- data-id="user-preferences-inventory-show-vms-checkbox"
12
- type="checkbox"
13
- name="showVmsInHostsAndClusters"
14
- />
15
-
16
- <label for="show-vms-in-hosts-and-clusters" tabindex="-1">{{
17
- localization.common.virtualMachinesLabel
18
- }}</label>
19
- </div>
20
- </form>
21
- </template>
22
-
23
- <script setup lang="ts">
24
- import type { UI_I_Localization } from '~/lib/models/interfaces'
25
-
26
- const vmInHostsClusters = defineModel<boolean>()
27
-
28
- const localization = computed<UI_I_Localization>(() => useLocal())
29
- </script>
30
-
31
- <style lang="scss" scoped></style>
1
+ <template>
2
+ <form id="inventor-form">
3
+ <div class="description">
4
+ {{ localization.common.inventoryDesc }}
5
+ </div>
6
+
7
+ <div class="clr-checkbox-wrapper">
8
+ <input
9
+ id="show-vms-in-hosts-and-clusters"
10
+ v-model="vmInHostsClusters"
11
+ data-id="user-preferences-inventory-show-vms-checkbox"
12
+ type="checkbox"
13
+ name="showVmsInHostsAndClusters"
14
+ />
15
+
16
+ <label for="show-vms-in-hosts-and-clusters" tabindex="-1">{{
17
+ localization.common.virtualMachinesLabel
18
+ }}</label>
19
+ </div>
20
+ </form>
21
+ </template>
22
+
23
+ <script setup lang="ts">
24
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
25
+
26
+ const vmInHostsClusters = defineModel<boolean>()
27
+
28
+ const localization = computed<UI_I_Localization>(() => useLocal())
29
+ </script>
30
+
31
+ <style lang="scss" scoped></style>