@firestitch/form 12.4.21 → 12.4.23
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/app/directives/form/form.directive.d.ts +2 -2
- package/bundles/firestitch-form.umd.js +3 -2
- package/bundles/firestitch-form.umd.js.map +1 -1
- package/esm2015/app/directives/form/form.directive.js +4 -3
- package/fesm2015/firestitch-form.js +3 -2
- package/fesm2015/firestitch-form.js.map +1 -1
- package/package.json +1 -1
|
@@ -73,7 +73,7 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
|
|
|
73
73
|
ngOnChanges(changes: SimpleChanges): void;
|
|
74
74
|
get hasSubmit(): boolean;
|
|
75
75
|
clearSubmit(): void;
|
|
76
|
-
registerSubmit(submit$: Observable<any>): void;
|
|
76
|
+
registerSubmit(submit$: () => Observable<any>): void;
|
|
77
77
|
ngAfterContentInit(): void;
|
|
78
78
|
ngOnDestroy(): void;
|
|
79
79
|
createSnapshot(): void;
|
|
@@ -123,5 +123,5 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
|
|
|
123
123
|
private _registerCanDeactivateGuard;
|
|
124
124
|
private _cleanupCanDeactivate;
|
|
125
125
|
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDirective, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
|
|
126
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormDirective, "[fsForm]",
|
|
126
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormDirective, "[fsForm]", ["fsForm"], { "wrapperSelector": "wrapperSelector"; "messageSelector": "messageSelector"; "hintSelector": "hintSelector"; "labelSelector": "labelSelector"; "autocomplete": "autocomplete"; "shortcuts": "shortcuts"; "confirm": "confirm"; "confirmDialog": "confirmDialog"; "confirmDrawer": "confirmDrawer"; "confirmBrowser": "confirmBrowser"; "confirmTabs": "confirmTabs"; "dirtySubmitButton": "dirtySubmitButton"; "submit": "submit"; "successDelay": "successDelay"; "errorDelay": "errorDelay"; "tabGroup": "tabGroup"; "deactivationGuard": "deactivationGuard"; }, { "submitEvent": "fsForm"; "invalid": "invalid"; "valid": "valid"; "submitted": "submitted"; "reseted": "reseted"; "cleared": "cleared"; }, ["formDialogClose", "_tabGroups"]>;
|
|
127
127
|
}
|
|
@@ -738,7 +738,7 @@
|
|
|
738
738
|
};
|
|
739
739
|
FsFormDirective.prototype.registerSubmit = function (submit$) {
|
|
740
740
|
var _this = this;
|
|
741
|
-
this._submit$ =
|
|
741
|
+
this._submit$ = submit$;
|
|
742
742
|
setTimeout(function () {
|
|
743
743
|
_this._cdRef.markForCheck();
|
|
744
744
|
});
|
|
@@ -1238,11 +1238,12 @@
|
|
|
1238
1238
|
return FsFormDirective;
|
|
1239
1239
|
}());
|
|
1240
1240
|
FsFormDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDirective, deps: [{ token: i1$1.NgForm }, { token: FsForm }, { token: i0__namespace.ElementRef }, { token: i2__namespace.FsMessage }, { token: i1__namespace.FsPrompt }, { token: i0__namespace.NgZone }, { token: i0__namespace.ChangeDetectorRef }, { token: i2$1.MatDialogRef, optional: true }, { token: i7.DrawerRef, optional: true }, { token: i3__namespace.ActivatedRoute }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
1241
|
-
FsFormDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormDirective, selector: "[fsForm]", inputs: { wrapperSelector: "wrapperSelector", messageSelector: "messageSelector", hintSelector: "hintSelector", labelSelector: "labelSelector", autocomplete: "autocomplete", shortcuts: "shortcuts", confirm: "confirm", confirmDialog: "confirmDialog", confirmDrawer: "confirmDrawer", confirmBrowser: "confirmBrowser", confirmTabs: "confirmTabs", dirtySubmitButton: "dirtySubmitButton", submit: "submit", successDelay: "successDelay", errorDelay: "errorDelay", tabGroup: "tabGroup", deactivationGuard: "deactivationGuard" }, outputs: { submitEvent: "fsForm", invalid: "invalid", valid: "valid", submitted: "submitted", reseted: "reseted", cleared: "cleared" }, host: { properties: { "class.fs-form": "this.fsFormClass" } }, queries: [{ propertyName: "formDialogClose", predicate: FsFormDialogCloseDirective, descendants: true }, { propertyName: "_tabGroups", predicate: tabs.MatTabGroup, descendants: true }], usesOnChanges: true, ngImport: i0__namespace });
|
|
1241
|
+
FsFormDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: FsFormDirective, selector: "[fsForm]", inputs: { wrapperSelector: "wrapperSelector", messageSelector: "messageSelector", hintSelector: "hintSelector", labelSelector: "labelSelector", autocomplete: "autocomplete", shortcuts: "shortcuts", confirm: "confirm", confirmDialog: "confirmDialog", confirmDrawer: "confirmDrawer", confirmBrowser: "confirmBrowser", confirmTabs: "confirmTabs", dirtySubmitButton: "dirtySubmitButton", submit: "submit", successDelay: "successDelay", errorDelay: "errorDelay", tabGroup: "tabGroup", deactivationGuard: "deactivationGuard" }, outputs: { submitEvent: "fsForm", invalid: "invalid", valid: "valid", submitted: "submitted", reseted: "reseted", cleared: "cleared" }, host: { properties: { "class.fs-form": "this.fsFormClass" } }, queries: [{ propertyName: "formDialogClose", predicate: FsFormDialogCloseDirective, descendants: true }, { propertyName: "_tabGroups", predicate: tabs.MatTabGroup, descendants: true }], exportAs: ["fsForm"], usesOnChanges: true, ngImport: i0__namespace });
|
|
1242
1242
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: FsFormDirective, decorators: [{
|
|
1243
1243
|
type: i0.Directive,
|
|
1244
1244
|
args: [{
|
|
1245
1245
|
selector: '[fsForm]',
|
|
1246
|
+
exportAs: 'fsForm',
|
|
1246
1247
|
}]
|
|
1247
1248
|
}], ctorParameters: function () {
|
|
1248
1249
|
return [{ type: i1__namespace$1.NgForm, decorators: [{
|