@dile/crud 1.1.10 → 1.1.12

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.
@@ -60,7 +60,6 @@ export class DileCrud extends DileI18nMixin(DileCrudMixin(LitElement)) {
60
60
  .insertButtonContainer {
61
61
  display: flex;
62
62
  justify-content: flex-end;
63
- margin-bottom: 0.5rem;
64
63
  }
65
64
  @media(min-width: 400px) {
66
65
  .simplecard {
@@ -48,6 +48,7 @@ export class DileCrudSingle extends DileI18nMixin(DileCrudMixin(LitElement)) {
48
48
  relatedId: { type: String },
49
49
  element: { type: Object },
50
50
  actionIds: { type: Array },
51
+ getEndpointOverwrite: { type: String },
51
52
  };
52
53
  }
53
54
 
@@ -99,7 +100,7 @@ export class DileCrudSingle extends DileI18nMixin(DileCrudMixin(LitElement)) {
99
100
  return html`
100
101
  <dile-crud-detail
101
102
  id="eldetail"
102
- endpoint="${this.config.endpoint}/${this.relatedId}"
103
+ endpoint="${this.getEndpointOverwrite ? this.getEndpointOverwrite : this.config.endpoint}/${this.relatedId}"
103
104
  .itemDetailTemplate=${this.config.templates.detail}
104
105
  .responseAdapter=${this.config.responseAdapter}
105
106
  @crud-item-detail-loaded=${this.elementLoaded}
@@ -8,7 +8,6 @@ export class DileCrudFiltersList extends LitElement {
8
8
  display: block;
9
9
  }
10
10
  div {
11
- padding: 0.5rem;
12
11
  display: flex;
13
12
  flex-wrap: wrap;
14
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dile/crud",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "description": "Components to create a generic crud system based on Web Components and Lit",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,5 +31,5 @@
31
31
  "publishConfig": {
32
32
  "access": "public"
33
33
  },
34
- "gitHead": "f7a66b88507409901e09b5ca7852358237a7559c"
34
+ "gitHead": "b0246b2908090b3860a074e9c54bbebc35476a7a"
35
35
  }