bfg-common 1.2.99 → 1.2.100

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.
@@ -181,6 +181,7 @@
181
181
  checkIsSelectedRow(item[0].id),
182
182
  },
183
183
  ]"
184
+ :[props.rowAttributeIdName]="item[0].dataId"
184
185
  >
185
186
  <div>
186
187
  <div
@@ -459,6 +460,7 @@ const props = withDefaults(
459
460
  hidePagination?: boolean
460
461
  testId?: string
461
462
  withInfo?: boolean
463
+ rowAttributeIdName?: string
462
464
  }>(),
463
465
  {
464
466
  columnKeys: undefined,
@@ -468,6 +470,7 @@ const props = withDefaults(
468
470
  fillWidth: true,
469
471
  testId: 'ui-data-grid',
470
472
  withInfo: false,
473
+ rowAttributeIdName: 'data-id',
471
474
  }
472
475
  )
473
476
 
@@ -4,6 +4,7 @@ export interface UI_I_BodyItem {
4
4
  id: number | string
5
5
  selected?: boolean
6
6
  data?: any
7
+ dataId?: string
7
8
  }
8
9
  export interface UI_I_HeadItem {
9
10
  key: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.2.99",
4
+ "version": "1.2.100",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",