bfg-common 1.0.74 → 1.0.76

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 (62) hide show
  1. package/components/atoms/alert/Notification.vue +167 -167
  2. package/components/atoms/autocomplete/Autocomplete.vue +236 -236
  3. package/components/atoms/datepicker/Datepicker.vue +612 -612
  4. package/components/atoms/list/SelectList.vue +62 -62
  5. package/components/atoms/modal/bySteps/BySteps.vue +234 -234
  6. package/components/atoms/nav/NavBar.vue +116 -116
  7. package/components/atoms/nav/VerticalNavBar.vue +89 -89
  8. package/components/atoms/notificationBar/NotificationBar.vue +174 -174
  9. package/components/atoms/perPage/PerPage.vue +52 -52
  10. package/components/atoms/popup/SimplePopup.vue +90 -90
  11. package/components/atoms/step/VerticalStep.vue +104 -104
  12. package/components/atoms/switch/Switch.vue +107 -107
  13. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +204 -204
  14. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  15. package/components/atoms/table/dataGrid/DataGridPagination.vue +83 -83
  16. package/components/atoms/tabs/Tabs.vue +189 -189
  17. package/components/atoms/tooltip/Signpost.vue +224 -224
  18. package/components/common/accordion/Recursion.vue +216 -216
  19. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  20. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  21. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  22. package/components/common/browse/Browse.vue +182 -182
  23. package/components/common/browse/blocks/Title.vue +66 -66
  24. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  25. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  26. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  27. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  28. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  29. package/components/common/diagramMain/modals/viewSettings/Info.vue +94 -94
  30. package/components/common/diagramMain/network/Contents.vue +238 -238
  31. package/components/common/feedback/Buttons.vue +232 -232
  32. package/components/common/feedback/Message.vue +468 -468
  33. package/components/common/feedback/VisitPortal.vue +54 -54
  34. package/components/common/mainNavigationPanel/MainNavigationPanel.vue +359 -359
  35. package/components/common/modals/Rename.vue +165 -165
  36. package/components/common/perPage/PerPage.vue +51 -51
  37. package/components/common/recursionTree/RecursionTree.vue +201 -201
  38. package/components/common/select/radio/RadioGroup.vue +50 -13
  39. package/components/common/select/radio/models/interfaces.ts +2 -6
  40. package/components/common/vm/actions/add/select/name/Name.vue +1 -1
  41. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +373 -373
  42. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  43. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  44. package/components/common/wizards/datastore/add/nfs/version/Version.vue +9 -37
  45. package/components/common/wizards/datastore/add/nfs/version/config/versionOptions.ts +4 -4
  46. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  47. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  48. package/components/common/wizards/datastore/add/sharedStorm/version/Version.vue +6 -37
  49. package/components/common/wizards/datastore/add/sharedStorm/version/config/versionOptions.ts +6 -4
  50. package/components/common/wizards/datastore/add/types/Types.vue +6 -66
  51. package/components/common/wizards/datastore/add/types/config/typeOptions.ts +11 -11
  52. package/models/store/storage/interfaces.ts +32 -32
  53. package/package.json +1 -1
  54. package/public/spice-console/application/codec.js +257 -257
  55. package/public/spice-console/lib/rasterEngine.js +907 -907
  56. package/public/spice-console/network/spicechannel.js +369 -369
  57. package/public/spice-console-minify/lib/decoder/dixie.min.js +4 -4
  58. package/public/spice-console-minify/lib/jgestures.min.js +24 -24
  59. package/public/spice-console-minify/lib/jquery-2.0.3.min.js +24 -24
  60. package/public/spice-console-minify/lib/jquery-mousewheel.min.js +11 -11
  61. package/public/spice-console-minify/lib/jquery-visibility.min.js +1 -1
  62. package/public/spice-console-minify/lib/lodash.4.0.0.min.js +5 -5
@@ -1,216 +1,216 @@
1
- <template>
2
- <div class="accordion" :class="{ disabled: props.accordion.disabled }">
3
- <nuxt-link
4
- class="accordion-item"
5
- :to="accordionLocal.path"
6
- active-class="active"
7
- @click.prevent="onSelect(accordionLocal)"
8
- >
9
- <div
10
- :class="['heading-wrap', { group: props.accordion.hasChild }]"
11
- :style="{ paddingLeft: `${props.level * 24 || 10}px` }"
12
- >
13
- <div class="flex-align-center heading">
14
- <div
15
- v-if="props.accordion.iconClassName"
16
- :class="['icon', props.accordion.iconClassName]"
17
- ></div>
18
- <div :class="['text text-ellipsis', headingClass]">
19
- {{ props.accordion.name }}
20
- </div>
21
- </div>
22
- <button
23
- v-if="props.accordion.hasChild"
24
- :id="`${props.testId}-trigger-button`"
25
- class="btn-trigger max-width"
26
- @click="toggle"
27
- >
28
- <atoms-the-icon
29
- :class="[
30
- 'trigger-icon',
31
- {
32
- isOpen: accordionLocal.isOpen,
33
- },
34
- ]"
35
- name="angle"
36
- />
37
- </button>
38
- </div>
39
- </nuxt-link>
40
-
41
- <transition
42
- v-if="props.accordion.hasChild"
43
- name="accordion"
44
- @before-enter="end"
45
- @enter="start"
46
- @before-leave="start"
47
- @leave="end"
48
- >
49
- <div v-show="accordionLocal.isOpen" class="accordion__content">
50
- <common-accordion-recursion
51
- v-for="(item, key) in props.accordion.children"
52
- :key="item.id"
53
- :test-id="`${props.testId}-${key}`"
54
- :accordion="item"
55
- :level="props.level + 1"
56
- @change="onSelect"
57
- />
58
- </div>
59
- </transition>
60
- </div>
61
- </template>
62
-
63
- <script setup lang="ts">
64
- import type {
65
- UI_I_AccordionRecursion,
66
- UI_I_HeadingClass,
67
- } from '~/components/common/accordion/models/interfaces'
68
-
69
- const props = withDefaults(
70
- defineProps<{
71
- accordion: UI_I_AccordionRecursion
72
- testId: string
73
- level?: number
74
- }>(),
75
- { level: 0 }
76
- )
77
- const emits = defineEmits<{
78
- (event: 'change', value: UI_I_AccordionRecursion): void
79
- }>()
80
-
81
- const accordionLocal = ref<UI_I_AccordionRecursion>(props.accordion)
82
-
83
- // TODO CHANGE
84
- watch(
85
- accordionLocal,
86
- () => {
87
- if (accordionLocal.value.isOpen !== false)
88
- accordionLocal.value.isOpen = true
89
- },
90
- { immediate: true }
91
- )
92
-
93
- const toggle = (): void => {
94
- if (!props.accordion.hasChild) return
95
-
96
- accordionLocal.value.isOpen = !accordionLocal.value.isOpen
97
- }
98
-
99
- const start = (element: any): void => {
100
- element.style.height = 'auto'
101
- }
102
- const end = (el: any): void => {
103
- el.style.height = 0
104
- }
105
-
106
- const headingClass = computed<UI_I_HeadingClass>(() => {
107
- return {
108
- 'text-normal': !props.accordion.hasChild,
109
- disabled: props.accordion.disabled && !props.accordion.hasChild,
110
- }
111
- })
112
-
113
- const onSelect = (item: UI_I_AccordionRecursion): void => {
114
- emits('change', item)
115
- }
116
- </script>
117
-
118
- <style lang="scss">
119
- @import '~/assets/scss/common/mixins';
120
-
121
- %hover-effect {
122
- margin-bottom: -1px;
123
- border-bottom: 1px solid var(--row-hover-border-color);
124
- background-color: var(--row-hover-bg-color);
125
- cursor: pointer;
126
- }
127
- %active-mode {
128
- background-color: var(--row-selected-bg-color);
129
- color: var(--row-selected-text-color);
130
- }
131
- .accordion {
132
- .accordion-item {
133
- display: block;
134
- text-decoration: none;
135
- color: var(--global-font-color);
136
-
137
- &.active {
138
- background-color: #29414e;
139
- color: #fff;
140
- border-bottom: 1px solid transparent;
141
- cursor: default;
142
- %hover-effect {
143
- margin-bottom: unset;
144
- border-bottom: unset;
145
- background-color: unset;
146
- cursor: unset;
147
- }
148
- }
149
-
150
- .heading-wrap {
151
- width: 100%;
152
- @include flex($align: center, $just: space-between);
153
-
154
- &:not(.group) {
155
- display: block;
156
- padding-right: 14px;
157
- }
158
-
159
- &.group .heading {
160
- width: calc(100% - 30px);
161
- }
162
- .heading {
163
- margin-right: 10px;
164
- //overflow: hidden;
165
- .icon {
166
- margin: 1px 4px 0 0;
167
- }
168
-
169
- .text {
170
- font-weight: 600;
171
-
172
- &.text-normal {
173
- font-weight: 400;
174
-
175
- &.disabled {
176
- opacity: 0.3;
177
- cursor: not-allowed;
178
- }
179
- }
180
- }
181
- }
182
- &:hover:not(:has(> .disabled)) {
183
- @extend %hover-effect;
184
- }
185
- &:has(> .disabled) {
186
- cursor: not-allowed;
187
- }
188
- }
189
- }
190
- &__content {
191
- transition: 0.1s ease-in-out;
192
- overflow: hidden;
193
- }
194
- }
195
-
196
- .btn-trigger {
197
- flex: auto;
198
- margin-right: 10px;
199
-
200
- &.max-width {
201
- width: max-content;
202
- }
203
-
204
- //padding-right: 10px;
205
- .trigger-icon {
206
- width: 16px;
207
- height: 16px;
208
- transform: rotate(90deg);
209
- margin-left: auto;
210
- fill: var(--triger-icon-color);
211
- &.isOpen {
212
- transform: rotate(180deg);
213
- }
214
- }
215
- }
216
- </style>
1
+ <template>
2
+ <div class="accordion" :class="{ disabled: props.accordion.disabled }">
3
+ <nuxt-link
4
+ class="accordion-item"
5
+ :to="accordionLocal.path"
6
+ active-class="active"
7
+ @click.prevent="onSelect(accordionLocal)"
8
+ >
9
+ <div
10
+ :class="['heading-wrap', { group: props.accordion.hasChild }]"
11
+ :style="{ paddingLeft: `${props.level * 24 || 10}px` }"
12
+ >
13
+ <div class="flex-align-center heading">
14
+ <div
15
+ v-if="props.accordion.iconClassName"
16
+ :class="['icon', props.accordion.iconClassName]"
17
+ ></div>
18
+ <div :class="['text text-ellipsis', headingClass]">
19
+ {{ props.accordion.name }}
20
+ </div>
21
+ </div>
22
+ <button
23
+ v-if="props.accordion.hasChild"
24
+ :id="`${props.testId}-trigger-button`"
25
+ class="btn-trigger max-width"
26
+ @click="toggle"
27
+ >
28
+ <atoms-the-icon
29
+ :class="[
30
+ 'trigger-icon',
31
+ {
32
+ isOpen: accordionLocal.isOpen,
33
+ },
34
+ ]"
35
+ name="angle"
36
+ />
37
+ </button>
38
+ </div>
39
+ </nuxt-link>
40
+
41
+ <transition
42
+ v-if="props.accordion.hasChild"
43
+ name="accordion"
44
+ @before-enter="end"
45
+ @enter="start"
46
+ @before-leave="start"
47
+ @leave="end"
48
+ >
49
+ <div v-show="accordionLocal.isOpen" class="accordion__content">
50
+ <common-accordion-recursion
51
+ v-for="(item, key) in props.accordion.children"
52
+ :key="item.id"
53
+ :test-id="`${props.testId}-${key}`"
54
+ :accordion="item"
55
+ :level="props.level + 1"
56
+ @change="onSelect"
57
+ />
58
+ </div>
59
+ </transition>
60
+ </div>
61
+ </template>
62
+
63
+ <script setup lang="ts">
64
+ import type {
65
+ UI_I_AccordionRecursion,
66
+ UI_I_HeadingClass,
67
+ } from '~/components/common/accordion/models/interfaces'
68
+
69
+ const props = withDefaults(
70
+ defineProps<{
71
+ accordion: UI_I_AccordionRecursion
72
+ testId: string
73
+ level?: number
74
+ }>(),
75
+ { level: 0 }
76
+ )
77
+ const emits = defineEmits<{
78
+ (event: 'change', value: UI_I_AccordionRecursion): void
79
+ }>()
80
+
81
+ const accordionLocal = ref<UI_I_AccordionRecursion>(props.accordion)
82
+
83
+ // TODO CHANGE
84
+ watch(
85
+ accordionLocal,
86
+ () => {
87
+ if (accordionLocal.value.isOpen !== false)
88
+ accordionLocal.value.isOpen = true
89
+ },
90
+ { immediate: true }
91
+ )
92
+
93
+ const toggle = (): void => {
94
+ if (!props.accordion.hasChild) return
95
+
96
+ accordionLocal.value.isOpen = !accordionLocal.value.isOpen
97
+ }
98
+
99
+ const start = (element: any): void => {
100
+ element.style.height = 'auto'
101
+ }
102
+ const end = (el: any): void => {
103
+ el.style.height = 0
104
+ }
105
+
106
+ const headingClass = computed<UI_I_HeadingClass>(() => {
107
+ return {
108
+ 'text-normal': !props.accordion.hasChild,
109
+ disabled: props.accordion.disabled && !props.accordion.hasChild,
110
+ }
111
+ })
112
+
113
+ const onSelect = (item: UI_I_AccordionRecursion): void => {
114
+ emits('change', item)
115
+ }
116
+ </script>
117
+
118
+ <style lang="scss">
119
+ @import '~/assets/scss/common/mixins';
120
+
121
+ %hover-effect {
122
+ margin-bottom: -1px;
123
+ border-bottom: 1px solid var(--row-hover-border-color);
124
+ background-color: var(--row-hover-bg-color);
125
+ cursor: pointer;
126
+ }
127
+ %active-mode {
128
+ background-color: var(--row-selected-bg-color);
129
+ color: var(--row-selected-text-color);
130
+ }
131
+ .accordion {
132
+ .accordion-item {
133
+ display: block;
134
+ text-decoration: none;
135
+ color: var(--global-font-color);
136
+
137
+ &.active {
138
+ background-color: #29414e;
139
+ color: #fff;
140
+ border-bottom: 1px solid transparent;
141
+ cursor: default;
142
+ %hover-effect {
143
+ margin-bottom: unset;
144
+ border-bottom: unset;
145
+ background-color: unset;
146
+ cursor: unset;
147
+ }
148
+ }
149
+
150
+ .heading-wrap {
151
+ width: 100%;
152
+ @include flex($align: center, $just: space-between);
153
+
154
+ &:not(.group) {
155
+ display: block;
156
+ padding-right: 14px;
157
+ }
158
+
159
+ &.group .heading {
160
+ width: calc(100% - 30px);
161
+ }
162
+ .heading {
163
+ margin-right: 10px;
164
+ //overflow: hidden;
165
+ .icon {
166
+ margin: 1px 4px 0 0;
167
+ }
168
+
169
+ .text {
170
+ font-weight: 600;
171
+
172
+ &.text-normal {
173
+ font-weight: 400;
174
+
175
+ &.disabled {
176
+ opacity: 0.3;
177
+ cursor: not-allowed;
178
+ }
179
+ }
180
+ }
181
+ }
182
+ &:hover:not(:has(> .disabled)) {
183
+ @extend %hover-effect;
184
+ }
185
+ &:has(> .disabled) {
186
+ cursor: not-allowed;
187
+ }
188
+ }
189
+ }
190
+ &__content {
191
+ transition: 0.1s ease-in-out;
192
+ overflow: hidden;
193
+ }
194
+ }
195
+
196
+ .btn-trigger {
197
+ flex: auto;
198
+ margin-right: 10px;
199
+
200
+ &.max-width {
201
+ width: max-content;
202
+ }
203
+
204
+ //padding-right: 10px;
205
+ .trigger-icon {
206
+ width: 16px;
207
+ height: 16px;
208
+ transform: rotate(90deg);
209
+ margin-left: auto;
210
+ fill: var(--triger-icon-color);
211
+ &.isOpen {
212
+ transform: rotate(180deg);
213
+ }
214
+ }
215
+ }
216
+ </style>
@@ -1,82 +1,82 @@
1
- <template>
2
- <div>
3
- <atoms-modal
4
- test-id="add-adapter-warning"
5
- width="576"
6
- height="420"
7
- :show="props.show"
8
- :title="props.title"
9
- class="diagram-action__remove"
10
- @hide="onHideModal"
11
- >
12
- <template #modalBody>
13
- <div class="modal-body-content modal-body-content__confirmation">
14
- <div class="confirm-icon-container">
15
- <atoms-diagram-icon name="is-warning" />
16
- </div>
17
- <p class="preserve-newlines">
18
- {{ localization.noFreeNetworkAdaptersAddSwitch }}
19
- </p>
20
- </div>
21
- </template>
22
- <template #modalFooter>
23
- <span>
24
- <button
25
- :id="`${props.testId}-modal-close-button`"
26
- type="button"
27
- class="btn btn-primary"
28
- @click="onHideModal"
29
- >
30
- {{ localization.ok }}
31
- </button>
32
- </span>
33
- </template>
34
- </atoms-modal>
35
- </div>
36
- </template>
37
-
38
- <script setup lang="ts">
39
- import { UI_I_Localization } from '~/models/interfaces'
40
-
41
- // Props from up
42
- const props = defineProps<{
43
- show: boolean
44
- modalName: string
45
- viewName: string
46
- title: string
47
- testId: string
48
- }>()
49
-
50
- // UI_I_Localization
51
- const localization = computed<UI_I_Localization>(() => useLocal())
52
-
53
- // Modal
54
- const emits = defineEmits<{
55
- (event: 'hide'): void
56
- }>()
57
- const onHideModal = (): void => {
58
- emits('hide')
59
- }
60
- </script>
61
-
62
- <style scoped lang="scss">
63
- :deep(.diagram-action__remove) {
64
- .modal-body-content {
65
- display: flex;
66
-
67
- .confirm-icon-container {
68
- margin-right: 20px;
69
- }
70
-
71
- .preserve-newlines {
72
- white-space: pre-line;
73
- font-size: 15px;
74
- }
75
- }
76
- }
77
- .table-fixed-height {
78
- min-height: 287px;
79
- max-height: 287px;
80
- overflow-y: auto;
81
- }
82
- </style>
1
+ <template>
2
+ <div>
3
+ <atoms-modal
4
+ test-id="add-adapter-warning"
5
+ width="576"
6
+ height="420"
7
+ :show="props.show"
8
+ :title="props.title"
9
+ class="diagram-action__remove"
10
+ @hide="onHideModal"
11
+ >
12
+ <template #modalBody>
13
+ <div class="modal-body-content modal-body-content__confirmation">
14
+ <div class="confirm-icon-container">
15
+ <atoms-diagram-icon name="is-warning" />
16
+ </div>
17
+ <p class="preserve-newlines">
18
+ {{ localization.noFreeNetworkAdaptersAddSwitch }}
19
+ </p>
20
+ </div>
21
+ </template>
22
+ <template #modalFooter>
23
+ <span>
24
+ <button
25
+ :id="`${props.testId}-modal-close-button`"
26
+ type="button"
27
+ class="btn btn-primary"
28
+ @click="onHideModal"
29
+ >
30
+ {{ localization.ok }}
31
+ </button>
32
+ </span>
33
+ </template>
34
+ </atoms-modal>
35
+ </div>
36
+ </template>
37
+
38
+ <script setup lang="ts">
39
+ import { UI_I_Localization } from '~/models/interfaces'
40
+
41
+ // Props from up
42
+ const props = defineProps<{
43
+ show: boolean
44
+ modalName: string
45
+ viewName: string
46
+ title: string
47
+ testId: string
48
+ }>()
49
+
50
+ // UI_I_Localization
51
+ const localization = computed<UI_I_Localization>(() => useLocal())
52
+
53
+ // Modal
54
+ const emits = defineEmits<{
55
+ (event: 'hide'): void
56
+ }>()
57
+ const onHideModal = (): void => {
58
+ emits('hide')
59
+ }
60
+ </script>
61
+
62
+ <style scoped lang="scss">
63
+ :deep(.diagram-action__remove) {
64
+ .modal-body-content {
65
+ display: flex;
66
+
67
+ .confirm-icon-container {
68
+ margin-right: 20px;
69
+ }
70
+
71
+ .preserve-newlines {
72
+ white-space: pre-line;
73
+ font-size: 15px;
74
+ }
75
+ }
76
+ }
77
+ .table-fixed-height {
78
+ min-height: 287px;
79
+ max-height: 287px;
80
+ overflow-y: auto;
81
+ }
82
+ </style>