bfg-common 1.5.434 → 1.5.435

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.
@@ -261,6 +261,7 @@ const selectedFileTypeLocal = computed<any>({
261
261
  height: 100%;
262
262
 
263
263
  .columns-block {
264
+ position: relative;
264
265
  width: 816px;
265
266
  }
266
267
 
@@ -21,7 +21,7 @@
21
21
  ]"
22
22
  :data-id="`${props.testId}-first`"
23
23
  :style="seperatorStyles"
24
- @mousedown="onMouseDown($event, 'first')"
24
+ @mousedown.prevent="onMouseDown($event, 'first')"
25
25
  >
26
26
  <div :style="moveSeperatorBeforeStyles"></div>
27
27
  </div>
@@ -38,7 +38,7 @@
38
38
  ]"
39
39
  :data-id="`${props.testId}-second`"
40
40
  :style="secondSeperatorStyles"
41
- @mousedown="onMouseDown($event, 'second')"
41
+ @mousedown.prevent="onMouseDown($event, 'second')"
42
42
  >
43
43
  <div :style="secondMoveSeperatorBeforeStyles"></div>
44
44
  </div>
@@ -106,16 +106,16 @@ watch(
106
106
 
107
107
  // const translation1 = computed<number>(() => (isNewView.value ? 31 : 28))
108
108
  // const translation2 = computed<number>(() => (isNewView.value ? 47 : 28))
109
- const translation = computed<number>(() => (isNewView.value ? 31 : 28))
109
+ // const translation = computed<number>(() => (isNewView.value ? 31 : 28))
110
110
 
111
111
  const seperatorStyles = computed(() => ({
112
112
  // left: `${props.blocksWidth[0] + translation1.value}px`,
113
- left: `${props.blocksWidth[0] + translation.value}px`,
113
+ left: `${props.blocksWidth[0]}px`,
114
114
  height: `${heightContainerBlock.value}px`,
115
115
  }))
116
116
  const secondSeperatorStyles = computed(() => ({
117
117
  // right: `${props.blocksWidth[2] + translation2.value}px`,
118
- left: `${props.blocksWidth[0] + props.blocksWidth[1] + translation.value}px`,
118
+ left: `${props.blocksWidth[0] + props.blocksWidth[1]}px`,
119
119
  height: `${heightContainerBlock.value}px`,
120
120
  }))
121
121
 
@@ -106,7 +106,7 @@ watch([width, height], () => {
106
106
  //grid-gap: 12px;
107
107
  padding-left: 32px;
108
108
  padding-top: 8px;
109
- padding-bottom: 8px;
109
+ //padding-bottom: 8px;
110
110
 
111
111
  &:not(.has-scroll) {
112
112
  padding-right: 32px;
@@ -1,25 +1,27 @@
1
1
  <template>
2
- <ui-data-table
3
- :data="data"
4
- :options="options"
5
- :texts="tableTexts"
6
- :default-layout="false"
7
- size="sm"
8
- test-id="data-table-main"
9
- class="network-table"
10
- server-off
11
- @select-row="onSelect"
12
- >
13
- <template #icon="{ item }">
14
- <span class="flex-align-center">
15
- <span :class="['icon', item.data.icon]" />
2
+ <div class="table-wrap">
3
+ <ui-data-table
4
+ :data="data"
5
+ :options="options"
6
+ :texts="tableTexts"
7
+ :default-layout="false"
8
+ size="sm"
9
+ test-id="data-table-main"
10
+ class="network-table"
11
+ server-off
12
+ @select-row="onSelect"
13
+ >
14
+ <template #icon="{ item }">
15
+ <span class="flex-align-center">
16
+ <span :class="['icon', item.data.icon]" />
16
17
 
17
- <span class="network-name" :data-id="item.data.testId">
18
- {{ item.text }}
18
+ <span class="network-name" :data-id="item.data.testId">
19
+ {{ item.text }}
20
+ </span>
19
21
  </span>
20
- </span>
21
- </template>
22
- </ui-data-table>
22
+ </template>
23
+ </ui-data-table>
24
+ </div>
23
25
  </template>
24
26
 
25
27
  <script setup lang="ts">
@@ -77,11 +79,16 @@ const onSelect = (value: UI_I_DataTableBody[]): void => {
77
79
  </script>
78
80
 
79
81
  <style scoped lang="scss">
80
- .icon {
81
- margin-right: 4px;
82
- }
83
- .network-name {
84
- font-size: 12px;
82
+ .table-wrap {
83
+ .icon {
84
+ margin-right: 4px;
85
+ }
86
+ .network-name {
87
+ font-size: 12px;
88
+ }
89
+ :deep(.column-manager-button) span {
90
+ font-weight: 500;
91
+ }
85
92
  }
86
93
  </style>
87
94
  <style lang="scss">
@@ -204,20 +204,20 @@ const onSelectRow = (selectedData: UI_I_DataTable): void => {
204
204
  }
205
205
  </style>
206
206
  <style scoped lang="scss">
207
- :root.dark-theme {
208
- .select-storage {
209
- &.in-wizard {
210
- :deep(.column-manager-button) {
211
- &:hover {
212
- background: #b8bcc10a;
213
- }
214
- &.active:hover {
215
- background-color: #2785b614;
216
- }
217
- }
218
- }
219
- }
220
- }
207
+ //:root.dark-theme {
208
+ // .select-storage {
209
+ // &.in-wizard {
210
+ // :deep(.column-manager-button) {
211
+ // &:hover {
212
+ // background: #b8bcc10a;
213
+ // }
214
+ // &.active:hover {
215
+ // background-color: #2785b614;
216
+ // }
217
+ // }
218
+ // }
219
+ // }
220
+ //}
221
221
  .select-storage {
222
222
  padding-top: 12px;
223
223
  //padding-bottom: 16px;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.434",
4
+ "version": "1.5.435",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",