@messaia/cdk 21.0.0-rc.13 → 21.0.0-rc.15
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/messaia-cdk.mjs
CHANGED
|
@@ -14519,11 +14519,10 @@ class BaseService extends GenericService {
|
|
|
14519
14519
|
super('');
|
|
14520
14520
|
}
|
|
14521
14521
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
14522
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseService
|
|
14522
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseService });
|
|
14523
14523
|
}
|
|
14524
14524
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseService, decorators: [{
|
|
14525
|
-
type: Injectable
|
|
14526
|
-
args: [{ providedIn: 'root' }]
|
|
14525
|
+
type: Injectable
|
|
14527
14526
|
}], ctorParameters: () => [] });
|
|
14528
14527
|
|
|
14529
14528
|
//@dynamic
|
|
@@ -19880,6 +19879,11 @@ class GenericFormBaseComponent extends BaseComponent {
|
|
|
19880
19879
|
* Disabled flag.
|
|
19881
19880
|
*/
|
|
19882
19881
|
disabled = false;
|
|
19882
|
+
/**
|
|
19883
|
+
* Emitted when the form has been fully initialized
|
|
19884
|
+
* and is ready to be accessed or modified.
|
|
19885
|
+
*/
|
|
19886
|
+
formInitialized = new EventEmitter();
|
|
19883
19887
|
/**
|
|
19884
19888
|
* The current date.
|
|
19885
19889
|
*/
|
|
@@ -20568,6 +20572,9 @@ class GenericFormBaseComponent extends BaseComponent {
|
|
|
20568
20572
|
* such as disabling form controls if the form is set to be disabled.
|
|
20569
20573
|
*/
|
|
20570
20574
|
onAfterFormBuild() {
|
|
20575
|
+
/* Emit form initialized event */
|
|
20576
|
+
this.formInitialized?.emit(this.form);
|
|
20577
|
+
/* Disable the form if the 'disabled' property is set */
|
|
20571
20578
|
if (this.form && this.disabled) {
|
|
20572
20579
|
Object.keys(this.form.controls).forEach(key => {
|
|
20573
20580
|
let control = this.form.controls[key];
|
|
@@ -20673,7 +20680,7 @@ class GenericFormBaseComponent extends BaseComponent {
|
|
|
20673
20680
|
}
|
|
20674
20681
|
}
|
|
20675
20682
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GenericFormBaseComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
20676
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: GenericFormBaseComponent, isStandalone: true, inputs: { id: "id", _item: "_item", item: "item", includes: "includes", updateIncludes: "updateIncludes", projection: "projection", query: "query", readonly: "readonly", disabled: "disabled", form: "form", fieldSets: "fieldSets" }, host: { listeners: { "document:keydown": "handleKeyboardEvent($event)" } }, viewQueries: [{ propertyName: "matStepper", first: true, predicate: MatStepper, descendants: true }, { propertyName: "input", predicate: ["focus"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
20683
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: GenericFormBaseComponent, isStandalone: true, inputs: { id: "id", _item: "_item", item: "item", includes: "includes", updateIncludes: "updateIncludes", projection: "projection", query: "query", readonly: "readonly", disabled: "disabled", form: "form", fieldSets: "fieldSets" }, outputs: { formInitialized: "formInitialized" }, host: { listeners: { "document:keydown": "handleKeyboardEvent($event)" } }, viewQueries: [{ propertyName: "matStepper", first: true, predicate: MatStepper, descendants: true }, { propertyName: "input", predicate: ["focus"], descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
20677
20684
|
}
|
|
20678
20685
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GenericFormBaseComponent, decorators: [{
|
|
20679
20686
|
type: Directive
|
|
@@ -20695,6 +20702,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
|
|
|
20695
20702
|
type: Input
|
|
20696
20703
|
}], disabled: [{
|
|
20697
20704
|
type: Input
|
|
20705
|
+
}], formInitialized: [{
|
|
20706
|
+
type: Output
|
|
20698
20707
|
}], matStepper: [{
|
|
20699
20708
|
type: ViewChild,
|
|
20700
20709
|
args: [MatStepper]
|