bfg-common 1.5.28 → 1.5.30

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.
@@ -814,7 +814,15 @@ const headItemsPresent = computed<UI_I_HeadItem[]>(() => {
814
814
  })
815
815
 
816
816
  const bodyItemsPresent = computed<UI_I_BodyItem[][]>(() => {
817
- let items: UI_I_BodyItem[][] = props.bodyItems
817
+ let items: UI_I_BodyItem[][] = props.bodyItems.map((row) => {
818
+ return row.map((item) => {
819
+ return {
820
+ ...item,
821
+ // Если текст пустой нужно поставить '--' для экспорта
822
+ text: item.text || '--'
823
+ }
824
+ })
825
+ })
818
826
 
819
827
  // Filtering by column
820
828
  if (columnKeysLocal.value) {
@@ -814,7 +814,14 @@ const headItemsPresent = computed<UI_I_HeadItem[]>(() => {
814
814
  })
815
815
 
816
816
  const bodyItemsPresent = computed<UI_I_BodyItem[][]>(() => {
817
- let items: UI_I_BodyItem[][] = props.bodyItems
817
+ let items: UI_I_BodyItem[][] = props.bodyItems.map((row) => {
818
+ return row.map((item) => {
819
+ return {
820
+ ...item,
821
+ text: item.text || '--'
822
+ }
823
+ })
824
+ })
818
825
 
819
826
  // Filtering by column
820
827
  if (columnKeysLocal.value) {
@@ -1154,7 +1161,7 @@ onUnmounted(() => {
1154
1161
  .datagrid-header {
1155
1162
  position: sticky;
1156
1163
  top: 0;
1157
- z-index: var(--z-sticky);
1164
+ z-index: calc(var(--z-sticky) + 1);
1158
1165
  width: auto;
1159
1166
 
1160
1167
  .datagrid-row-scrollable {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.28",
4
+ "version": "1.5.30",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
package/package.json~ CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.5.27",
4
+ "version": "1.5.29",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",