@firestitch/form 18.0.8 → 18.0.10

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.
Files changed (36) hide show
  1. package/app/components/confirm-unsaved/confirm-unsaved.component.d.ts +1 -1
  2. package/app/directives/button.directive.d.ts +9 -14
  3. package/app/directives/form/form.directive.d.ts +12 -22
  4. package/app/directives/form-base/form-base.directive.d.ts +32 -0
  5. package/app/directives/form-base/index.d.ts +1 -0
  6. package/app/directives/form-group/form-group.directive.d.ts +12 -0
  7. package/app/directives/form-group/index.d.ts +1 -0
  8. package/app/directives/index.d.ts +3 -2
  9. package/app/fs-form.module.d.ts +2 -2
  10. package/app/interfaces/submit-event.d.ts +2 -2
  11. package/app/interfaces/submitted-event.d.ts +2 -5
  12. package/app/services/fsform.service.d.ts +3 -8
  13. package/esm2022/app/components/confirm-unsaved/confirm-unsaved.component.mjs +11 -6
  14. package/esm2022/app/components/form-dialog-actions/form-dialog-actions.component.mjs +1 -1
  15. package/esm2022/app/components/form-template/form-template.component.mjs +1 -1
  16. package/esm2022/app/components/form-template/index.mjs +1 -1
  17. package/esm2022/app/components/form-template-outlet/form-template-outlet.component.mjs +1 -1
  18. package/esm2022/app/components/form-template-outlet/index.mjs +1 -1
  19. package/esm2022/app/directives/button.directive.mjs +24 -52
  20. package/esm2022/app/directives/form/form.directive.mjs +94 -160
  21. package/esm2022/app/directives/form-base/form-base.directive.mjs +104 -0
  22. package/esm2022/app/directives/form-base/index.mjs +2 -0
  23. package/esm2022/app/directives/form-group/form-group.directive.mjs +32 -0
  24. package/esm2022/app/directives/form-group/index.mjs +2 -0
  25. package/esm2022/app/directives/index.mjs +4 -3
  26. package/esm2022/app/fs-form.module.mjs +8 -5
  27. package/esm2022/app/guards/form-deactivate.guard.mjs +2 -2
  28. package/esm2022/app/interfaces/submit-event.mjs +1 -1
  29. package/esm2022/app/interfaces/submitted-event.mjs +1 -1
  30. package/esm2022/app/services/fsform.service.mjs +12 -30
  31. package/esm2022/public_api.mjs +2 -1
  32. package/fesm2022/firestitch-form.mjs +301 -281
  33. package/fesm2022/firestitch-form.mjs.map +1 -1
  34. package/package.json +1 -1
  35. package/public_api.d.ts +1 -0
  36. package/styles.scss +36 -32
@@ -17,5 +17,5 @@ export declare class ConfirmUnsavedComponent implements OnInit, OnDestroy {
17
17
  cancel(): void;
18
18
  ngOnDestroy(): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmUnsavedComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmUnsavedComponent, "ng-component", never, {}, {}, never, never, false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmUnsavedComponent, "ng-component", never, {}, {}, never, never, true, never>;
21
21
  }
@@ -1,21 +1,18 @@
1
- import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { MatButton } from '@angular/material/button';
3
- import { FsFormDirective } from './form/form.directive';
1
+ import { OnDestroy, OnInit } from '@angular/core';
4
2
  import * as i0 from "@angular/core";
5
3
  export declare class FsButtonDirective implements OnInit, OnDestroy {
6
- private _matButton;
7
- private _form;
8
- private _elementRef;
9
- private _cdRef;
10
4
  name: any;
11
5
  dirtySubmit: boolean;
12
- form: FsFormDirective;
13
6
  transitionStyle: any;
14
- active: boolean;
15
7
  submit: boolean;
16
8
  private _previousDisabled;
17
9
  private _destroy$;
18
- constructor(_matButton: MatButton, _form: FsFormDirective, _elementRef: ElementRef, _cdRef: ChangeDetectorRef);
10
+ private _formGroup;
11
+ private _form;
12
+ private _matButton;
13
+ private _elementRef;
14
+ private _cdRef;
15
+ private _formBase;
19
16
  ngOnInit(): void;
20
17
  disable(): void;
21
18
  enable(): void;
@@ -24,12 +21,10 @@ export declare class FsButtonDirective implements OnInit, OnDestroy {
24
21
  error(): void;
25
22
  setClass(cls: any): void;
26
23
  get element(): any;
27
- resetActive(): void;
28
24
  reset(): void;
29
25
  ngOnDestroy(): void;
30
- private _disableShadowAnimation;
31
26
  private _resetClass;
32
27
  private _getSvg;
33
- static ɵfac: i0.ɵɵFactoryDeclaration<FsButtonDirective, [{ optional: true; host: true; }, { optional: true; }, null, null]>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsButtonDirective, "[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])", never, { "name": { "alias": "name"; "required": false; }; "dirtySubmit": { "alias": "dirtySubmit"; "required": false; }; "form": { "alias": "form"; "required": false; }; }, {}, never, never, false, never>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsButtonDirective, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsButtonDirective, "[mat-raised-button],[mat-button],[mat-flat-button],[mat-stroked-button]", never, { "name": { "alias": "name"; "required": false; }; "dirtySubmit": { "alias": "dirtySubmit"; "required": false; }; }, {}, never, never, false, never>;
35
30
  }
@@ -2,23 +2,24 @@ import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone,
2
2
  import { NgForm } from '@angular/forms';
3
3
  import { ActivatedRoute } from '@angular/router';
4
4
  import { MatDialogRef } from '@angular/material/dialog';
5
- import { MatTabGroup } from '@angular/material/tabs';
6
5
  import { DrawerRef } from '@firestitch/drawer';
7
6
  import { FsMessage } from '@firestitch/message';
8
7
  import { Observable } from 'rxjs';
9
8
  import { FsForm } from '../../services/fsform.service';
10
- import { FsButtonDirective } from '../button.directive';
9
+ import { FsFormBaseDirective } from '../form-base';
10
+ import { FsFormGroupDirective } from '../form-group';
11
11
  import { ConfirmResult } from './../../enums/confirm-result';
12
- import { ConfirmConfig } from './../../interfaces';
12
+ import { ConfirmConfig, SubmittedEvent } from './../../interfaces';
13
13
  import { SubmitEvent } from './../../interfaces/submit-event';
14
14
  import * as i0 from "@angular/core";
15
- export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentInit, OnChanges {
15
+ export declare class FsFormDirective extends FsFormBaseDirective implements OnInit, OnDestroy, AfterContentInit, OnChanges {
16
16
  ngForm: NgForm;
17
17
  private _form;
18
18
  private _element;
19
19
  private _message;
20
20
  private _ngZone;
21
21
  private _cdRef;
22
+ private _formGroup;
22
23
  private _dialogRef;
23
24
  private _drawerRef;
24
25
  private _route;
@@ -32,13 +33,11 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
32
33
  confirmDialog: boolean;
33
34
  confirmDrawer: boolean;
34
35
  confirmBrowser: boolean;
35
- confirmTabs: boolean;
36
36
  dirtySubmitButton: boolean;
37
37
  set submit(submit$: (event: SubmitEvent) => Observable<any>);
38
38
  get submit(): (event: SubmitEvent) => Observable<any>;
39
39
  successDelay: number;
40
40
  errorDelay: number;
41
- tabGroup: MatTabGroup;
42
41
  deactivationGuard: boolean;
43
42
  submitEvent: EventEmitter<SubmitEvent>;
44
43
  invalid: EventEmitter<SubmitEvent>;
@@ -47,18 +46,13 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
47
46
  reseted: EventEmitter<SubmitEvent>;
48
47
  cleared: EventEmitter<SubmitEvent>;
49
48
  fsFormClass: boolean;
50
- private _tabGroups;
51
- private _buttons;
52
49
  private _registerControl;
53
- private _activeSubmitButton;
54
50
  private _dialogBackdropEscape;
55
51
  private _snapshot;
56
52
  private _activatedRouteConfig;
57
53
  private _status$;
58
- private _destroy$;
59
- private _confirmed;
60
54
  private _submit$;
61
- constructor(ngForm: NgForm, _form: FsForm, _element: ElementRef, _message: FsMessage, _ngZone: NgZone, _cdRef: ChangeDetectorRef, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>, _route: ActivatedRoute);
55
+ constructor(ngForm: NgForm, _form: FsForm, _element: ElementRef, _message: FsMessage, _ngZone: NgZone, _cdRef: ChangeDetectorRef, _formGroup: FsFormGroupDirective, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>, _route: ActivatedRoute);
62
56
  get submitting(): boolean;
63
57
  get validating(): boolean;
64
58
  get completing(): boolean;
@@ -86,9 +80,8 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
86
80
  triggerConfirm(): Observable<ConfirmResult>;
87
81
  enable(): void;
88
82
  disable(): void;
89
- addButton(button: FsButtonDirective): void;
90
- removeButton(button: FsButtonDirective): void;
91
83
  validate(): void;
84
+ submit$(submitEvent: SubmitEvent): Observable<SubmittedEvent>;
92
85
  private _listenSubmit;
93
86
  private _listenFormStatus;
94
87
  private _listenWindowClose;
@@ -98,26 +91,23 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
98
91
  private _getActiveSubmitButton;
99
92
  private _elementInForm;
100
93
  private _completeSubmit;
94
+ private _getFormGroup;
101
95
  private _resetButtons;
102
- private _resetActiveButtons;
103
96
  private _registerConfirm;
104
97
  private _registerDrawerClose;
105
98
  private _registerConfirmDrawerClose;
106
- private _registerConfirmTabs;
107
- private _registerConfirmTabGroups;
108
- private _registerConfirmTabGroup;
109
99
  private _registerConfirmDialogBackdropEscape;
110
100
  private _registerAutocomplete;
111
101
  private _registerDirtySubmitButton;
112
102
  private _updateDirtySubmitButtons;
113
- private _broadcastSubmittingEvents;
114
- private _broadcasValidatingEvents;
103
+ private _statusSubmitting;
104
+ private _statusValidating;
115
105
  private _setupActiveSubmitButton;
116
106
  private _disableButtons;
117
107
  private _waitUntilStatusPending;
118
108
  private _handleError;
119
109
  private _registerCanDeactivateGuard;
120
110
  private _cleanupCanDeactivate;
121
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDirective, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
122
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormDirective, "[fsForm]", ["fsForm"], { "wrapperSelector": { "alias": "wrapperSelector"; "required": false; }; "messageSelector": { "alias": "messageSelector"; "required": false; }; "hintSelector": { "alias": "hintSelector"; "required": false; }; "labelSelector": { "alias": "labelSelector"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "shortcuts": { "alias": "shortcuts"; "required": false; }; "confirm": { "alias": "confirm"; "required": false; }; "confirmDialog": { "alias": "confirmDialog"; "required": false; }; "confirmDrawer": { "alias": "confirmDrawer"; "required": false; }; "confirmBrowser": { "alias": "confirmBrowser"; "required": false; }; "confirmTabs": { "alias": "confirmTabs"; "required": false; }; "dirtySubmitButton": { "alias": "dirtySubmitButton"; "required": false; }; "submit": { "alias": "submit"; "required": false; }; "successDelay": { "alias": "successDelay"; "required": false; }; "errorDelay": { "alias": "errorDelay"; "required": false; }; "tabGroup": { "alias": "tabGroup"; "required": false; }; "deactivationGuard": { "alias": "deactivationGuard"; "required": false; }; }, { "submitEvent": "fsForm"; "invalid": "invalid"; "valid": "valid"; "submitted": "submitted"; "reseted": "reseted"; "cleared": "cleared"; }, ["_tabGroups"], never, false, never>;
111
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDirective, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, null]>;
112
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormDirective, "[fsForm]", ["fsForm"], { "wrapperSelector": { "alias": "wrapperSelector"; "required": false; }; "messageSelector": { "alias": "messageSelector"; "required": false; }; "hintSelector": { "alias": "hintSelector"; "required": false; }; "labelSelector": { "alias": "labelSelector"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "shortcuts": { "alias": "shortcuts"; "required": false; }; "confirm": { "alias": "confirm"; "required": false; }; "confirmDialog": { "alias": "confirmDialog"; "required": false; }; "confirmDrawer": { "alias": "confirmDrawer"; "required": false; }; "confirmBrowser": { "alias": "confirmBrowser"; "required": false; }; "dirtySubmitButton": { "alias": "dirtySubmitButton"; "required": false; }; "submit": { "alias": "submit"; "required": false; }; "successDelay": { "alias": "successDelay"; "required": false; }; "errorDelay": { "alias": "errorDelay"; "required": false; }; "deactivationGuard": { "alias": "deactivationGuard"; "required": false; }; }, { "submitEvent": "fsForm"; "invalid": "invalid"; "valid": "valid"; "submitted": "submitted"; "reseted": "reseted"; "cleared": "cleared"; }, never, never, false, never>;
123
113
  }
@@ -0,0 +1,32 @@
1
+ import { AfterContentInit, OnDestroy, QueryList } from '@angular/core';
2
+ import { MatTabGroup } from '@angular/material/tabs';
3
+ import { Observable } from 'rxjs';
4
+ import { ConfirmResult } from '../../enums';
5
+ import { ConfirmConfig } from '../../interfaces';
6
+ import { FsButtonDirective } from '../button.directive';
7
+ import * as i0 from "@angular/core";
8
+ export declare abstract class FsFormBaseDirective implements AfterContentInit, OnDestroy {
9
+ confirmTabs: boolean;
10
+ tabGroup: MatTabGroup;
11
+ private _destroy$;
12
+ private _tabGroups;
13
+ private _buttons;
14
+ private _activeSubmitButton;
15
+ abstract submitting: boolean;
16
+ abstract confirm: ConfirmConfig | boolean;
17
+ ngAfterContentInit(): void;
18
+ get destroy$(): Observable<void>;
19
+ ngOnDestroy(): void;
20
+ get buttons(): QueryList<FsButtonDirective>;
21
+ get activeSubmitButton(): FsButtonDirective;
22
+ set activeSubmitButton(button: FsButtonDirective);
23
+ addButton(button: FsButtonDirective): void;
24
+ removeButton(button: FsButtonDirective): void;
25
+ private _registerConfirmTabs;
26
+ private _registerConfirmTabGroups;
27
+ private _registerConfirmTabGroup;
28
+ abstract triggerSubmit(): void;
29
+ abstract triggerConfirm(): Observable<ConfirmResult>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormBaseDirective, never>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormBaseDirective, never, never, { "confirmTabs": { "alias": "confirmTabs"; "required": false; }; "tabGroup": { "alias": "tabGroup"; "required": false; }; }, {}, ["_tabGroups"], never, false, never>;
32
+ }
@@ -0,0 +1 @@
1
+ export * from './form-base.directive';
@@ -0,0 +1,12 @@
1
+ import { ConfirmConfig } from '../../interfaces';
2
+ import { FsFormBaseDirective } from '../form-base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class FsFormGroupDirective extends FsFormBaseDirective {
5
+ private _formDirective;
6
+ triggerSubmit(): void;
7
+ triggerConfirm(): import("rxjs").Observable<import("@firestitch/form").ConfirmResult>;
8
+ get submitting(): boolean;
9
+ get confirm(): ConfirmConfig | boolean;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormGroupDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormGroupDirective, "[fsFormGroup]", ["fsFormGroup"], {}, {}, ["_formDirective"], never, false, never>;
12
+ }
@@ -0,0 +1 @@
1
+ export * from './form-group.directive';
@@ -1,6 +1,7 @@
1
- export * from './button.directive';
2
1
  export * from './form';
2
+ export * from './form-group';
3
+ export * from './validators';
4
+ export * from './button.directive';
3
5
  export * from './form-dialog-close.directive';
4
6
  export * from './form-template.directive';
5
7
  export * from './submit-button.directive';
6
- export * from './validators';
@@ -30,7 +30,7 @@ import * as i27 from "./directives/submit-button.directive";
30
30
  import * as i28 from "./components/form-template/form-template.component";
31
31
  import * as i29 from "./directives/form-template.directive";
32
32
  import * as i30 from "./components/form-template-outlet/form-template-outlet.component";
33
- import * as i31 from "./components/confirm-unsaved/confirm-unsaved.component";
33
+ import * as i31 from "./directives/form-group/form-group.directive";
34
34
  import * as i32 from "@angular/common";
35
35
  import * as i33 from "@angular/forms";
36
36
  import * as i34 from "@angular/material/button";
@@ -39,6 +39,6 @@ import * as i36 from "@firestitch/dialog";
39
39
  export declare class FsFormModule {
40
40
  static forRoot(): ModuleWithProviders<FsFormModule>;
41
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FsFormModule, never>;
42
- static ɵmod: i0.ɵɵNgModuleDeclaration<FsFormModule, [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormGreaterEqualDirective, typeof i19.FsFormLesserDirective, typeof i20.FsFormLesserEqualDirective, typeof i21.FsFormUrlDirective, typeof i22.FsFormDialogCloseDirective, typeof i23.FsFormValidateDirective, typeof i24.FsFormDialogActionsComponent, typeof i25.FsFormNoFsValidatorsDirective, typeof i26.FsButtonDirective, typeof i27.FsSubmitButtonDirective, typeof i28.FsFormTemplateComponent, typeof i29.FsFormTemplateDirective, typeof i30.FsFormTemplateOutletComponent, typeof i31.ConfirmUnsavedComponent], [typeof i32.CommonModule, typeof i33.FormsModule, typeof i34.MatButtonModule, typeof i35.MatDialogModule, typeof i35.MatDialogModule, typeof i36.FsDialogModule], [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormGreaterEqualDirective, typeof i19.FsFormLesserDirective, typeof i20.FsFormLesserEqualDirective, typeof i21.FsFormUrlDirective, typeof i22.FsFormDialogCloseDirective, typeof i23.FsFormValidateDirective, typeof i24.FsFormDialogActionsComponent, typeof i25.FsFormNoFsValidatorsDirective, typeof i26.FsButtonDirective, typeof i27.FsSubmitButtonDirective, typeof i28.FsFormTemplateComponent, typeof i29.FsFormTemplateDirective, typeof i30.FsFormTemplateOutletComponent]>;
42
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FsFormModule, [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormGreaterEqualDirective, typeof i19.FsFormLesserDirective, typeof i20.FsFormLesserEqualDirective, typeof i21.FsFormUrlDirective, typeof i22.FsFormDialogCloseDirective, typeof i23.FsFormValidateDirective, typeof i24.FsFormDialogActionsComponent, typeof i25.FsFormNoFsValidatorsDirective, typeof i26.FsButtonDirective, typeof i27.FsSubmitButtonDirective, typeof i28.FsFormTemplateComponent, typeof i29.FsFormTemplateDirective, typeof i30.FsFormTemplateOutletComponent, typeof i31.FsFormGroupDirective], [typeof i32.CommonModule, typeof i33.FormsModule, typeof i34.MatButtonModule, typeof i35.MatDialogModule, typeof i35.MatDialogModule, typeof i36.FsDialogModule], [typeof i1.FsFormDirective, typeof i2.FsControlDirective, typeof i3.FsFormRequiredDirective, typeof i4.FsFormMinDirective, typeof i5.FsFormMaxDirective, typeof i6.FsFormMinLengthDirective, typeof i7.FsFormMaxLengthDirective, typeof i8.FsFormEmailDirective, typeof i9.FsFormEmailsDirective, typeof i10.FsFormPhoneDirective, typeof i11.FsFormCompareDirective, typeof i12.FsFormIntegerDirective, typeof i13.FsFormNumericDirective, typeof i14.FsFormPatternDirective, typeof i15.FsFormFunctionDirective, typeof i16.FsFormDateRangeDirective, typeof i17.FsFormGreaterDirective, typeof i18.FsFormGreaterEqualDirective, typeof i19.FsFormLesserDirective, typeof i20.FsFormLesserEqualDirective, typeof i21.FsFormUrlDirective, typeof i22.FsFormDialogCloseDirective, typeof i23.FsFormValidateDirective, typeof i24.FsFormDialogActionsComponent, typeof i25.FsFormNoFsValidatorsDirective, typeof i26.FsButtonDirective, typeof i27.FsSubmitButtonDirective, typeof i28.FsFormTemplateComponent, typeof i29.FsFormTemplateDirective, typeof i30.FsFormTemplateOutletComponent, typeof i31.FsFormGroupDirective]>;
43
43
  static ɵinj: i0.ɵɵInjectorDeclaration<FsFormModule>;
44
44
  }
@@ -1,6 +1,6 @@
1
1
  import { NgForm } from '@angular/forms';
2
2
  export interface SubmitEvent {
3
- ngForm: NgForm;
4
- submitter: string;
3
+ ngForm?: NgForm;
4
+ submitter?: string;
5
5
  confirmed?: boolean;
6
6
  }
@@ -1,7 +1,4 @@
1
- import { NgForm } from '@angular/forms';
2
- export interface SubmittedEvent {
3
- ngForm: NgForm;
4
- submitter: string;
1
+ import { SubmitEvent } from './submit-event';
2
+ export interface SubmittedEvent extends SubmitEvent {
5
3
  response: any;
6
- confirmed?: boolean;
7
4
  }
@@ -1,20 +1,15 @@
1
1
  import { Type } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
2
  import { Observable } from 'rxjs';
4
- import { FsFormDirective } from '../directives/form/form.directive';
3
+ import type { FsFormDirective } from '../directives/form/form.directive';
5
4
  import { ConfirmResult } from '../enums';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class FsForm {
8
- private _dialog;
9
7
  private _formDirectiveStore;
10
- private _eventBus;
11
- constructor(_dialog: MatDialog);
12
- broadcast(key: any, data?: any): void;
13
- on<T>(key: any): Observable<T>;
8
+ private _dialog;
14
9
  registerFormDirective(routeComponent: Type<any>, directive: FsFormDirective): void;
15
10
  getFormDirectives(routeComponent: any): FsFormDirective[];
16
11
  removeFormDirective(routeComponent: any): void;
17
- confirmUnsaved(directives: FsFormDirective[]): Observable<ConfirmResult>;
12
+ confirmUnsaved(form: FsFormDirective): Observable<ConfirmResult>;
18
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FsForm, never>;
19
14
  static ɵprov: i0.ɵɵInjectableDeclaration<FsForm>;
20
15
  }
@@ -1,10 +1,11 @@
1
1
  import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
2
- import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
2
+ import { MatButton } from '@angular/material/button';
3
+ import { MAT_DIALOG_DATA, MatDialogModule, MatDialogRef } from '@angular/material/dialog';
4
+ import { FsDialogModule } from '@firestitch/dialog';
3
5
  import { Subject } from 'rxjs';
4
6
  import * as i0 from "@angular/core";
5
7
  import * as i1 from "@angular/material/dialog";
6
- import * as i2 from "@angular/material/button";
7
- import * as i3 from "@firestitch/dialog";
8
+ import * as i2 from "@firestitch/dialog";
8
9
  export class ConfirmUnsavedComponent {
9
10
  _data;
10
11
  _dialogRef;
@@ -39,13 +40,17 @@ export class ConfirmUnsavedComponent {
39
40
  this._destroy$.complete();
40
41
  }
41
42
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConfirmUnsavedComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
42
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: ConfirmUnsavedComponent, selector: "ng-component", ngImport: i0, template: "<fs-dialog>\n <h1 mat-dialog-title>{{title}}</h1>\n <mat-dialog-content>\n {{message}}\n </mat-dialog-content> \n <mat-dialog-actions>\n <button\n type=\"button\"\n color=\"primary\"\n (click)=\"save()\"\n fsFormButtonStandalone\n mat-button>\n {{saveLabel}}\n </button>\n <button\n type=\"button\"\n (click)=\"discard()\"\n fsFormButtonStandalone\n mat-button>\n {{discardLabel}}\n </button> \n <button\n type=\"button\"\n (click)=\"cancel()\"\n fsFormButtonStandalone\n mat-button>\n {{cancelLabel}}\n </button> \n </mat-dialog-actions>\n</fs-dialog>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"], dependencies: [{ kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i3.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: ConfirmUnsavedComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<fs-dialog>\n <h1 mat-dialog-title>\n {{ title }}\n </h1>\n <mat-dialog-content>\n {{ message }}\n </mat-dialog-content>\n <mat-dialog-actions>\n <button\n type=\"button\"\n color=\"primary\"\n (click)=\"save()\"\n mat-button>\n {{ saveLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"discard()\"\n mat-button>\n {{ discardLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"cancel()\"\n mat-button>\n {{ cancelLabel }}\n </button>\n </mat-dialog-actions>\n</fs-dialog>", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: FsDialogModule }, { kind: "component", type: i2.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
44
  }
44
45
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: ConfirmUnsavedComponent, decorators: [{
45
46
  type: Component,
46
- args: [{ changeDetection: ChangeDetectionStrategy.OnPush, template: "<fs-dialog>\n <h1 mat-dialog-title>{{title}}</h1>\n <mat-dialog-content>\n {{message}}\n </mat-dialog-content> \n <mat-dialog-actions>\n <button\n type=\"button\"\n color=\"primary\"\n (click)=\"save()\"\n fsFormButtonStandalone\n mat-button>\n {{saveLabel}}\n </button>\n <button\n type=\"button\"\n (click)=\"discard()\"\n fsFormButtonStandalone\n mat-button>\n {{discardLabel}}\n </button> \n <button\n type=\"button\"\n (click)=\"cancel()\"\n fsFormButtonStandalone\n mat-button>\n {{cancelLabel}}\n </button> \n </mat-dialog-actions>\n</fs-dialog>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"] }]
47
+ args: [{ changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
48
+ MatDialogModule,
49
+ MatButton,
50
+ FsDialogModule,
51
+ ], template: "<fs-dialog>\n <h1 mat-dialog-title>\n {{ title }}\n </h1>\n <mat-dialog-content>\n {{ message }}\n </mat-dialog-content>\n <mat-dialog-actions>\n <button\n type=\"button\"\n color=\"primary\"\n (click)=\"save()\"\n mat-button>\n {{ saveLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"discard()\"\n mat-button>\n {{ discardLabel }}\n </button>\n <button\n type=\"button\"\n (click)=\"cancel()\"\n mat-button>\n {{ cancelLabel }}\n </button>\n </mat-dialog-actions>\n</fs-dialog>", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"] }]
47
52
  }], ctorParameters: () => [{ type: undefined, decorators: [{
48
53
  type: Inject,
49
54
  args: [MAT_DIALOG_DATA]
50
55
  }] }, { type: i1.MatDialogRef }] });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS11bnNhdmVkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jb25maXJtLXVuc2F2ZWQvY29uZmlybS11bnNhdmVkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jb25maXJtLXVuc2F2ZWQvY29uZmlybS11bnNhdmVkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUU5RixPQUFPLEVBQUUsZUFBZSxFQUFFLFlBQVksRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBRXpFLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7Ozs7O0FBUS9CLE1BQU0sT0FBTyx1QkFBdUI7SUFXQztJQUN6QjtJQVZILFNBQVMsQ0FBQztJQUNWLFlBQVksQ0FBQztJQUNiLFdBQVcsQ0FBQztJQUNaLE9BQU8sQ0FBQztJQUNSLEtBQUssQ0FBQztJQUVMLFNBQVMsR0FBRyxJQUFJLE9BQU8sRUFBUSxDQUFDO0lBRXhDLFlBQ21DLEtBQVUsRUFDbkMsVUFBaUQ7UUFEeEIsVUFBSyxHQUFMLEtBQUssQ0FBSztRQUNuQyxlQUFVLEdBQVYsVUFBVSxDQUF1QztJQUN4RCxDQUFDO0lBRUcsUUFBUTtRQ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BlPVwiYnV0dG9uXCJcbiAgICAgICAgKGNsaWNrKT1cImNhbmNlbCgpXCJcbiAgICAgICAgbWF0LWJ1dHRvbj5cbiAgICAgIHt7IGNhbmNlbExhYmVsIH19XG4gICAgPC9idXR0b24+XG4gIDwvbWF0LWRpYWxvZy1hY3Rpb25zPlxuPC9mcy1kaWFsb2c+Il19
@@ -51,7 +51,7 @@ export class FsFormDialogActionsComponent {
51
51
  this._destroy$.complete();
52
52
  }
53
53
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDialogActionsComponent, deps: [{ token: i1.FsFormDirective, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
54
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: { save: "save", create: "create", close: "close", done: "done", closeData: "closeData", name: "name" }, ngImport: i0, template: "<div class=\"form-buttons\" [ngClass]=\"{ 'save-create': save || create }\">\n <ng-container *ngIf=\"save || create\">\n <button\n mat-button\n type=\"submit\"\n color=\"primary\"\n [name]=\"name\">\n {{create ? 'Create' : 'Save'}}\n </button>\n <button\n mat-button\n type=\"button\"\n class=\"close-button cancel-button\"\n [disabled]=\"close && !dirty && !create\"\n [mat-dialog-close]=\"null\">\n Cancel\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"done\">\n <button\n mat-button\n type=\"button\"\n color=\"primary\"\n [mat-dialog-close]=\"null\">\n Done\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"save || create\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n\n <ng-container *ngIf=\"close\">\n <button\n mat-button\n type=\"button\"\n class=\"close-button\"\n fsFormDialogClose\n [closeData]=\"closeData\"\n [color]=\"dirty ? 'basic' : 'primary'\">\n Close\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"!(save || create)\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n</div>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i4.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i5.FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: ["closeData"] }, { kind: "directive", type: i6.FsButtonDirective, selector: "[mat-raised-button]:not([fsFormButtonStandalone]),[mat-button]:not([fsFormButtonStandalone]),[mat-flat-button]:not([fsFormButtonStandalone]),[mat-stroked-button]:not([fsFormButtonStandalone])", inputs: ["name", "dirtySubmit", "form"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
54
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.7", type: FsFormDialogActionsComponent, selector: "fs-form-dialog-actions", inputs: { save: "save", create: "create", close: "close", done: "done", closeData: "closeData", name: "name" }, ngImport: i0, template: "<div class=\"form-buttons\" [ngClass]=\"{ 'save-create': save || create }\">\n <ng-container *ngIf=\"save || create\">\n <button\n mat-button\n type=\"submit\"\n color=\"primary\"\n [name]=\"name\">\n {{create ? 'Create' : 'Save'}}\n </button>\n <button\n mat-button\n type=\"button\"\n class=\"close-button cancel-button\"\n [disabled]=\"close && !dirty && !create\"\n [mat-dialog-close]=\"null\">\n Cancel\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"done\">\n <button\n mat-button\n type=\"button\"\n color=\"primary\"\n [mat-dialog-close]=\"null\">\n Done\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"save || create\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n\n <ng-container *ngIf=\"close\">\n <button\n mat-button\n type=\"button\"\n class=\"close-button\"\n fsFormDialogClose\n [closeData]=\"closeData\"\n [color]=\"dirty ? 'basic' : 'primary'\">\n Close\n </button>\n </ng-container>\n\n <ng-container *ngIf=\"!(save || create)\">\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </ng-container>\n</div>\n\n<ng-template #content>\n <ng-content></ng-content>\n</ng-template>\n", styles: [":host{width:100%}.form-buttons.save-create .close-button:not(.cancel-button){float:right}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i4.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i5.FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: ["closeData"] }, { kind: "directive", type: i6.FsButtonDirective, selector: "[mat-raised-button],[mat-button],[mat-flat-button],[mat-stroked-button]", inputs: ["name", "dirtySubmit"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
55
  }
56
56
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: FsFormDialogActionsComponent, decorators: [{
57
57
  type: Component,
@@ -31,4 +31,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
31
31
  type: ContentChildren,
32
32
  args: [NgModel, { descendants: true }]
33
33
  }] } });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS10ZW1wbGF0ZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS10ZW1wbGF0ZS9mb3JtLXRlbXBsYXRlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9mb3JtLXRlbXBsYXRlL2Zvcm0tdGVtcGxhdGUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSx1QkFBdUIsRUFBRSxLQUFLLEVBQUUsZUFBZSxFQUFFLFNBQVMsRUFBb0IsV0FBVyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNoSixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBUXpDLE1BQU0sT0FBTyx1QkFBdUI7SUFHM0IsV0FBVyxDQUFtQjtJQUVyQixZQUFZLENBQU07SUFHM0IsTUFBTSxDQUFxQjtJQUUzQixrQkFBa0I7UUFDdkIsUUFBUSxDQUFDO1FBQ1QsTUFBTSxDQUFDLEdBQUcsSUFBSSxDQUFDLE1BQU0sQ0FBQztRQUN0QixJQUFJLENBQUMsTUFBTSxDQUFDLE9BQU8sQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRTtZQUNs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xuIiwiPG5nLXRlbXBsYXRlICN0ZW1wbGF0ZVJlZjE+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvbmctdGVtcGxhdGU+Il19
@@ -1,2 +1,2 @@
1
1
  export * from './form-template.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS10ZW1wbGF0ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtLXRlbXBsYXRlLmNvbXBvbmVudCc7XG4iXX0=
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS10ZW1wbGF0ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtLXRlbXBsYXRlLmNvbXBvbmVudCc7XHJcbiJdfQ==
@@ -29,4 +29,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
29
29
  type: ContentChildren,
30
30
  args: [NgModel, { descendants: true }]
31
31
  }] } });
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS10ZW1wbGF0ZS1vdXRsZXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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Jcbnt7Zm9ybVRlbXBsYXRlLnRlbXBsYXRlUmVmfGpzb259fVxuXG48bmctY29udGFpbmVyICpuZ0lmPVwiZm9ybVRlbXBsYXRlXCI+XG4gIDxuZy1jb250YWluZXIgW25nVGVtcGxhdGVPdXRsZXRdPVwiZm9ybVRlbXBsYXRlLnRlbXBsYXRlUmVmXCI+PC9uZy1jb250YWluZXI+IFxuPC9uZy1jb250YWluZXI+Il19
@@ -1,2 +1,2 @@
1
1
  export * from './form-template-outlet.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS10ZW1wbGF0ZS1vdXRsZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQ0FBa0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZm9ybS10ZW1wbGF0ZS1vdXRsZXQuY29tcG9uZW50JztcbiJdfQ==
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS10ZW1wbGF0ZS1vdXRsZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxrQ0FBa0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZm9ybS10ZW1wbGF0ZS1vdXRsZXQuY29tcG9uZW50JztcclxuIl19