bfg-common 1.5.756 → 1.5.759
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/assets/localization/local_be.json +4 -2
- package/assets/localization/local_en.json +4 -2
- package/assets/localization/local_hy.json +4 -2
- package/assets/localization/local_kk.json +4 -2
- package/assets/localization/local_ru.json +8 -6
- package/assets/localization/local_zh.json +3 -1
- package/components/common/pages/backups/backupsNew/BackupsNew.vue +19 -107
- package/components/common/pages/backups/backupsNew/contextMenuView/ContextMenuView.vue +10 -16
- package/components/common/pages/backups/modals/createBackup/New.vue +22 -9
- package/components/common/pages/backups/modals/createBackup/configuration/ConfigurationNew.vue +17 -3
- package/components/common/pages/backups/modals/createBackup/configuration/backupWindow/BackupWindow.vue +29 -29
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/MaxBandwidth.vue +69 -69
- package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
- package/components/common/pages/backups/modals/createBackup/configuration/strategy/Strategy.vue +38 -38
- package/components/common/pages/backups/modals/createBackup/datastores/tableView/new/lib/config/table.ts +8 -8
- package/components/common/pages/backups/modals/createBackup/disks/tableView/new/TableView.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/disks/tableView/new/lib/config/table.ts +7 -7
- package/components/common/pages/backups/modals/createBackup/general/GeneralNew.vue +1 -1
- package/components/common/pages/backups/modals/createBackup/lib/config/readyToCompleteOptions.ts +5 -5
- package/components/common/pages/backups/modals/createBackup/lib/config/steps.ts +1 -1
- package/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions.ts +14 -2
- package/components/common/pages/backups/modals/createBackup/lib/models/interfaces.ts +8 -8
- package/components/common/pages/backups/modals/createBackup/lib/validation/validations.ts +6 -6
- package/components/common/vm/snapshots/new/New.vue +12 -11
- package/components/common/vm/snapshots/new/Skeleton.vue +2 -26
- package/package.json +1 -1
- package/components/common/pages/backups/backupsNew/Skeleton.vue +0 -136
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<ui-skeleton-item width="96" height="20" class="ml-auto" />
|
|
20
20
|
</div>
|
|
21
21
|
<div class="right-content grid p-4">
|
|
22
|
-
<div class="flex justify-between gap-4
|
|
22
|
+
<div class="flex justify-between gap-4 flex-wrap top-container">
|
|
23
23
|
<ui-skeleton-item width="80" height="20" />
|
|
24
24
|
<div class="actions-block flex">
|
|
25
25
|
<ui-skeleton-item width="20" height="20" />
|
|
@@ -29,13 +29,7 @@
|
|
|
29
29
|
<ui-skeleton-item width="20" height="20" />
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
|
-
<div
|
|
33
|
-
ref="detailsScrollBlock"
|
|
34
|
-
:class="[
|
|
35
|
-
'details-block flex flex-col my-6',
|
|
36
|
-
{ 'has-scroll': hasScroll },
|
|
37
|
-
]"
|
|
38
|
-
>
|
|
32
|
+
<div class="details-block flex flex-col my-6">
|
|
39
33
|
<div
|
|
40
34
|
v-for="index in detailsItemsCount"
|
|
41
35
|
:key="index"
|
|
@@ -51,19 +45,7 @@
|
|
|
51
45
|
</template>
|
|
52
46
|
|
|
53
47
|
<script setup lang="ts">
|
|
54
|
-
import { useTemplateRef } from 'vue'
|
|
55
|
-
import { useElementSize } from '@vueuse/core'
|
|
56
|
-
|
|
57
48
|
const detailsItemsCount = ref<number>(6)
|
|
58
|
-
|
|
59
|
-
const detailsElement = useTemplateRef<HTMLDivElement>('detailsScrollBlock')
|
|
60
|
-
const { height } = useElementSize(detailsElement)
|
|
61
|
-
|
|
62
|
-
const hasScroll = computed<boolean>(
|
|
63
|
-
() =>
|
|
64
|
-
height.value &&
|
|
65
|
-
detailsElement.value?.scrollHeight > detailsElement.value?.clientHeight
|
|
66
|
-
)
|
|
67
49
|
</script>
|
|
68
50
|
|
|
69
51
|
<style>
|
|
@@ -102,8 +84,6 @@ const hasScroll = computed<boolean>(
|
|
|
102
84
|
}
|
|
103
85
|
}
|
|
104
86
|
.right-content {
|
|
105
|
-
padding-right: 0;
|
|
106
|
-
|
|
107
87
|
.top-container {
|
|
108
88
|
.actions-block {
|
|
109
89
|
grid-column-gap: 10px;
|
|
@@ -118,10 +98,6 @@ const hasScroll = computed<boolean>(
|
|
|
118
98
|
grid-row-gap: 10px;
|
|
119
99
|
overflow: auto;
|
|
120
100
|
|
|
121
|
-
&:not(.has-scroll) {
|
|
122
|
-
padding-right: 16px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
101
|
.details-block-item {
|
|
126
102
|
background-color: var(--snapshots-right-skeleton-item-bg-color);
|
|
127
103
|
border-radius: 6px;
|
package/package.json
CHANGED
|
@@ -1,136 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="skeleton-page grid gap-3 p-4 h-inherit overflow-hidden">
|
|
3
|
-
<div class="left-content grid p-4">
|
|
4
|
-
<div class="flex justify-between gap-4 flex-wrap">
|
|
5
|
-
<ui-skeleton-item width="80" height="20" />
|
|
6
|
-
<ui-skeleton-item width="160" height="36" />
|
|
7
|
-
</div>
|
|
8
|
-
<div class="border-block flex flex-col py-3 px-4 my-4">
|
|
9
|
-
<ui-skeleton-item width="100%" height="20" />
|
|
10
|
-
<ui-skeleton-item width="50%" height="20" />
|
|
11
|
-
<ui-skeleton-item width="30%" height="20" />
|
|
12
|
-
<ui-skeleton-item width="70%" height="20" />
|
|
13
|
-
<ui-skeleton-item width="20%" height="20" />
|
|
14
|
-
<ui-skeleton-item width="50%" height="20" />
|
|
15
|
-
<ui-skeleton-item width="80%" height="20" />
|
|
16
|
-
<ui-skeleton-item width="70%" height="20" />
|
|
17
|
-
<ui-skeleton-item width="20%" height="20" />
|
|
18
|
-
</div>
|
|
19
|
-
<ui-skeleton-item width="96" height="20" class="ml-auto" />
|
|
20
|
-
</div>
|
|
21
|
-
<div class="right-content grid p-4">
|
|
22
|
-
<div class="flex justify-between gap-4 pr-4 flex-wrap top-container">
|
|
23
|
-
<ui-skeleton-item width="80" height="20" />
|
|
24
|
-
<div class="actions-block flex">
|
|
25
|
-
<ui-skeleton-item width="20" height="20" />
|
|
26
|
-
<div class="line-border"></div>
|
|
27
|
-
<ui-skeleton-item width="20" height="20" />
|
|
28
|
-
<div class="line-border"></div>
|
|
29
|
-
<ui-skeleton-item width="20" height="20" />
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
<div
|
|
33
|
-
ref="detailsScrollBlock"
|
|
34
|
-
:class="[
|
|
35
|
-
'details-block flex flex-col my-6',
|
|
36
|
-
{ 'has-scroll': hasScroll },
|
|
37
|
-
]"
|
|
38
|
-
>
|
|
39
|
-
<div
|
|
40
|
-
v-for="index in detailsItemsCount"
|
|
41
|
-
:key="index"
|
|
42
|
-
class="details-block-item flex p-3"
|
|
43
|
-
>
|
|
44
|
-
<ui-skeleton-item width="20" height="20" class="mr-[10px]" />
|
|
45
|
-
<ui-skeleton-item width="144" height="20" />
|
|
46
|
-
<ui-skeleton-item width="144" height="20" class="ml-auto" />
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</template>
|
|
52
|
-
|
|
53
|
-
<script setup lang="ts">
|
|
54
|
-
import { useTemplateRef } from 'vue'
|
|
55
|
-
import { useElementSize } from '@vueuse/core'
|
|
56
|
-
|
|
57
|
-
const detailsItemsCount = ref<number>(3)
|
|
58
|
-
|
|
59
|
-
const detailsElement = useTemplateRef<HTMLDivElement>('detailsScrollBlock')
|
|
60
|
-
const { height } = useElementSize(detailsElement)
|
|
61
|
-
|
|
62
|
-
const hasScroll = computed<boolean>(
|
|
63
|
-
() =>
|
|
64
|
-
height.value &&
|
|
65
|
-
detailsElement.value?.scrollHeight > detailsElement.value?.clientHeight
|
|
66
|
-
)
|
|
67
|
-
</script>
|
|
68
|
-
|
|
69
|
-
<style>
|
|
70
|
-
:root {
|
|
71
|
-
--backups-left-skeleton-border-color: #e9ebed;
|
|
72
|
-
--backups-right-skeleton-action-line-border-color: #e9ebeda3;
|
|
73
|
-
--backups-right-skeleton-item-bg-color: #e9ebed66;
|
|
74
|
-
}
|
|
75
|
-
:root.dark-theme {
|
|
76
|
-
--backups-left-skeleton-border-color: #e9ebed1f;
|
|
77
|
-
--backups-right-skeleton-action-line-border-color: #e9ebed1f;
|
|
78
|
-
--backups-right-skeleton-item-bg-color: #e9ebed0f;
|
|
79
|
-
}
|
|
80
|
-
</style>
|
|
81
|
-
|
|
82
|
-
<style scoped lang="scss">
|
|
83
|
-
.skeleton-page {
|
|
84
|
-
grid-template-columns: repeat(2, calc(50% - 6px));
|
|
85
|
-
|
|
86
|
-
.left-content,
|
|
87
|
-
.right-content {
|
|
88
|
-
background-color: var(--backups-page-inner-block-bg);
|
|
89
|
-
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.0784313725);
|
|
90
|
-
border-radius: 8px;
|
|
91
|
-
grid-template-rows: max-content 1fr max-content;
|
|
92
|
-
overflow: hidden;
|
|
93
|
-
}
|
|
94
|
-
.border-block {
|
|
95
|
-
border: 1px solid var(--backups-left-skeleton-border-color);
|
|
96
|
-
border-radius: 8px;
|
|
97
|
-
grid-row-gap: 10px;
|
|
98
|
-
overflow: auto;
|
|
99
|
-
|
|
100
|
-
:deep(.skeleton-item) {
|
|
101
|
-
min-height: 20px;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
.right-content {
|
|
105
|
-
padding-right: 0;
|
|
106
|
-
|
|
107
|
-
.top-container {
|
|
108
|
-
.actions-block {
|
|
109
|
-
grid-column-gap: 10px;
|
|
110
|
-
|
|
111
|
-
.line-border {
|
|
112
|
-
border: 1px solid
|
|
113
|
-
var(--backups-right-skeleton-action-line-border-color);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
.details-block {
|
|
118
|
-
grid-row-gap: 10px;
|
|
119
|
-
overflow: auto;
|
|
120
|
-
|
|
121
|
-
&:not(.has-scroll) {
|
|
122
|
-
padding-right: 16px;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.details-block-item {
|
|
126
|
-
background-color: var(--backups-right-skeleton-item-bg-color);
|
|
127
|
-
border-radius: 6px;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
:deep(.skeleton-item) {
|
|
131
|
-
min-height: 20px;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
</style>
|