@messaia/cdk 13.0.0-rc06 → 13.0.0
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.
- package/esm2020/lib/base/components/generic-form-base.component.mjs +6 -7
- package/esm2020/lib/base/components/generic-form.component.mjs +6 -1
- package/fesm2015/messaia-cdk.mjs +10 -6
- package/fesm2015/messaia-cdk.mjs.map +1 -1
- package/fesm2020/messaia-cdk.mjs +10 -6
- package/fesm2020/messaia-cdk.mjs.map +1 -1
- package/lib/base/components/generic-form-base.component.d.ts +6 -2
- package/lib/base/components/generic-form.component.d.ts +4 -0
- package/package.json +1 -1
package/fesm2020/messaia-cdk.mjs
CHANGED
|
@@ -2406,11 +2406,6 @@ class GenericFormBaseComponent extends BaseComponent {
|
|
|
2406
2406
|
this.panelId = null;
|
|
2407
2407
|
this.listRoute = this.addSaveAndCloseRoute;
|
|
2408
2408
|
}
|
|
2409
|
-
/**
|
|
2410
|
-
* Gets form value
|
|
2411
|
-
*/
|
|
2412
|
-
get formValue() { return this.item; }
|
|
2413
|
-
;
|
|
2414
2409
|
/**
|
|
2415
2410
|
* Called after the constructor, initializing input properties,
|
|
2416
2411
|
* and the first call to ngOnChanges.
|
|
@@ -2714,13 +2709,17 @@ class GenericFormBaseComponent extends BaseComponent {
|
|
|
2714
2709
|
}
|
|
2715
2710
|
/**
|
|
2716
2711
|
* Creates the entity
|
|
2712
|
+
* @param httpOptions
|
|
2713
|
+
* @returns
|
|
2717
2714
|
*/
|
|
2718
2715
|
create(httpOptions) {
|
|
2719
2716
|
this.onBeforeCreate();
|
|
2720
2717
|
return this.service.create(this.formValue, null, Object.assign(httpOptions || {}, { headers: this.toHttpHeaders({ 'Show-Message': 'yes' }) }), false);
|
|
2721
2718
|
}
|
|
2722
2719
|
/**
|
|
2723
|
-
*
|
|
2720
|
+
* Updates the entity
|
|
2721
|
+
* @param httpOptions
|
|
2722
|
+
* @returns
|
|
2724
2723
|
*/
|
|
2725
2724
|
update(httpOptions) {
|
|
2726
2725
|
this.onBeforeUpdate();
|
|
@@ -2871,6 +2870,11 @@ class GenericFormComponent extends GenericFormBaseComponent {
|
|
|
2871
2870
|
this.changeDetectorRef = changeDetectorRef;
|
|
2872
2871
|
this.listRoute = this.addSaveAndCloseRoute;
|
|
2873
2872
|
}
|
|
2873
|
+
/**
|
|
2874
|
+
* Gets form value
|
|
2875
|
+
*/
|
|
2876
|
+
get formValue() { return this.item; }
|
|
2877
|
+
;
|
|
2874
2878
|
}
|
|
2875
2879
|
/** @nocollapse */ /** @nocollapse */ GenericFormComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: GenericFormComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
2876
2880
|
/** @nocollapse */ /** @nocollapse */ GenericFormComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.3", type: GenericFormComponent, usesInheritance: true, ngImport: i0 });
|