cat-qw-lib 0.43.7 → 0.43.9
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -1387,6 +1387,7 @@ class BaseFormComponent {
|
|
|
1387
1387
|
console.log('Record updated:', response);
|
|
1388
1388
|
this.record = {};
|
|
1389
1389
|
this.baseStore?.setIsApiValidated(null);
|
|
1390
|
+
console.log(this.formStateService);
|
|
1390
1391
|
if (this.formStateService) {
|
|
1391
1392
|
console.log("baseForm");
|
|
1392
1393
|
this.formStateService.setFormChanges(false);
|
|
@@ -1406,6 +1407,7 @@ class BaseFormComponent {
|
|
|
1406
1407
|
console.log('Record created:', response);
|
|
1407
1408
|
this.record = {};
|
|
1408
1409
|
this.baseStore?.setIsApiValidated(null);
|
|
1410
|
+
console.log(this.formStateService);
|
|
1409
1411
|
if (this.formStateService) {
|
|
1410
1412
|
console.log("baseForm");
|
|
1411
1413
|
this.formStateService.setFormChanges(false);
|
|
@@ -1433,11 +1435,11 @@ class BaseFormComponent {
|
|
|
1433
1435
|
this.destroy$.complete();
|
|
1434
1436
|
}
|
|
1435
1437
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BaseFormComponent, deps: [{ token: BaseService }, { token: ValidatorService }, { token: i3$4.Router }, { token: i3$4.ActivatedRoute }, { token: BaseStore }, { token: BaseQuery }, { token: FormStateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1436
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.4", type: BaseFormComponent, isStandalone: true, selector: "base-form", outputs: { onSave: "onSave", onFormNavigate: "onFormNavigate", onCancel: "onCancel" }, providers: [ValidatorService], ngImport: i0, template: "<p>base-form works!</p>\r\n", styles: [""] });
|
|
1438
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.4", type: BaseFormComponent, isStandalone: true, selector: "base-form", outputs: { onSave: "onSave", onFormNavigate: "onFormNavigate", onCancel: "onCancel" }, providers: [ValidatorService, FormStateService], ngImport: i0, template: "<p>base-form works!</p>\r\n", styles: [""] });
|
|
1437
1439
|
}
|
|
1438
1440
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.4", ngImport: i0, type: BaseFormComponent, decorators: [{
|
|
1439
1441
|
type: Component,
|
|
1440
|
-
args: [{ selector: 'base-form', providers: [ValidatorService], template: "<p>base-form works!</p>\r\n" }]
|
|
1442
|
+
args: [{ selector: 'base-form', providers: [ValidatorService, FormStateService], template: "<p>base-form works!</p>\r\n" }]
|
|
1441
1443
|
}], ctorParameters: () => [{ type: BaseService }, { type: ValidatorService }, { type: i3$4.Router }, { type: i3$4.ActivatedRoute }, { type: BaseStore }, { type: BaseQuery }, { type: FormStateService }], propDecorators: { onSave: [{
|
|
1442
1444
|
type: Output
|
|
1443
1445
|
}], onFormNavigate: [{
|