@dile/crud 1.10.12 → 1.10.14

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.
@@ -332,12 +332,12 @@ export class DileCrudList extends DileI18nMixin(DileLoading(LitElement)) {
332
332
  }
333
333
 
334
334
  getPageIds() {
335
- return this.elements.map(element => element.id);
335
+ return this.elements.map(element => this.config.computeItemId(element));
336
336
  }
337
337
 
338
338
  getAllIds() {
339
339
  if(this.config.customization?.disablePagination) {
340
- let ids = this.elements.map(item => item.id);
340
+ let ids = this.elements.map(item => this.config.computeItemId(item));
341
341
  this.dispactSelectAll(ids);
342
342
  } else{
343
343
  let data = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/crud",
3
- "version": "1.10.12",
3
+ "version": "1.10.14",
4
4
  "description": "Components to create a generic crud system based on Web Components and Lit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "homepage": "https://dile-components.com/",
26
26
  "dependencies": {
27
- "@dile/ui": "^2.23.11",
27
+ "@dile/ui": "^2.23.12",
28
28
  "axios": "^1.16.0",
29
29
  "lit": "^2.7.0 || ^3.0.0"
30
30
  },
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "728ff2ae631ddef00dfc3c5bc9370b3a5ab0bb3f"
34
+ "gitHead": "8ed3ed0cd454dddf99c948baa272aac242e90030"
35
35
  }