bfg-common 1.5.528 → 1.5.529

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.
@@ -2,6 +2,7 @@
2
2
  <div class="relative flex">
3
3
  <div
4
4
  :id="outerWrapper"
5
+ :style="{'--z-index-header-shift': props.zIndexHeaderShift}"
5
6
  :class="[
6
7
  'datagrid-outer-wrapper',
7
8
  {
@@ -578,6 +579,7 @@ const props = withDefaults(
578
579
  isMainFilter?: boolean
579
580
  mainFilterPlaceholder?: string
580
581
  isShowExport?: boolean
582
+ zIndexHeaderShift?: number // Нужен тогда когда в таблице есть еще таблица и headers налезают друг на друга
581
583
  }>(),
582
584
  {
583
585
  columnKeys: undefined,
@@ -589,6 +591,7 @@ const props = withDefaults(
589
591
  withInfo: false,
590
592
  rowAttributeIdName: 'data-id',
591
593
  isShowExport: false,
594
+ zIndexHeaderShift: 1,
592
595
  }
593
596
  )
594
597
 
@@ -1181,7 +1184,7 @@ onUnmounted(() => {
1181
1184
  .datagrid-header {
1182
1185
  position: sticky;
1183
1186
  top: 0;
1184
- z-index: calc(var(--z-sticky) + 1);
1187
+ z-index: calc(var(--z-sticky) + var(--z-index-header-shift));
1185
1188
  width: auto;
1186
1189
 
1187
1190
  .datagrid-row-scrollable {
@@ -9,6 +9,7 @@
9
9
  :total-items="props.totalItems"
10
10
  :total-pages="props.totalPages"
11
11
  :items-per-page="itemsPerPage"
12
+ :z-index-shift="2"
12
13
  :loading="loading"
13
14
  type="radio"
14
15
  class="data-table"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.528",
4
+ "version": "1.5.529",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",