@firestitch/form 13.1.2 → 13.3.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.
Files changed (59) hide show
  1. package/app/components/confirm-unsaved/confirm-unsaved.component.d.ts +21 -0
  2. package/app/components/confirm-unsaved/index.d.ts +1 -0
  3. package/app/components/form-dialog-actions/form-dialog-actions.component.d.ts +1 -1
  4. package/app/components/index.d.ts +1 -0
  5. package/app/consts/error-messages.const.d.ts +2 -0
  6. package/app/directives/button.directive.d.ts +2 -2
  7. package/app/directives/form/form.directive.d.ts +5 -7
  8. package/app/directives/form-dialog-close.directive.d.ts +2 -2
  9. package/app/directives/index.d.ts +2 -2
  10. package/app/directives/validators/compare.directive.d.ts +2 -2
  11. package/app/directives/validators/control.directive.d.ts +12 -12
  12. package/app/directives/validators/function.directive.d.ts +1 -1
  13. package/app/directives/validators/greater-equal.directive.d.ts +13 -0
  14. package/app/directives/validators/index.d.ts +2 -0
  15. package/app/directives/validators/integer.directive.d.ts +1 -1
  16. package/app/directives/validators/lesser-equal.directive.d.ts +13 -0
  17. package/app/directives/validators/no-fs-validators.directive.d.ts +1 -1
  18. package/app/directives/validators/required.directive.d.ts +1 -1
  19. package/app/enums/index.d.ts +2 -0
  20. package/app/fs-form.module.d.ts +20 -16
  21. package/app/guards/form-deactivate.guard.d.ts +2 -4
  22. package/app/helpers/index.d.ts +0 -1
  23. package/app/providers/validate-messages.provider.d.ts +2 -0
  24. package/app/services/fsform.service.d.ts +5 -1
  25. package/esm2020/app/components/confirm-unsaved/confirm-unsaved.component.mjs +44 -0
  26. package/esm2020/app/components/confirm-unsaved/index.mjs +2 -0
  27. package/esm2020/app/components/form-dialog-actions/form-dialog-actions.component.mjs +3 -3
  28. package/esm2020/app/components/form-dialog-actions/index.mjs +1 -1
  29. package/esm2020/app/components/index.mjs +2 -1
  30. package/esm2020/app/consts/error-messages.const.mjs +3 -1
  31. package/esm2020/app/directives/button.directive.mjs +6 -6
  32. package/esm2020/app/directives/form/form.directive.mjs +28 -32
  33. package/esm2020/app/directives/form/index.mjs +1 -1
  34. package/esm2020/app/directives/form-dialog-close.directive.mjs +6 -6
  35. package/esm2020/app/directives/index.mjs +3 -3
  36. package/esm2020/app/directives/validators/compare.directive.mjs +4 -6
  37. package/esm2020/app/directives/validators/control.directive.mjs +20 -21
  38. package/esm2020/app/directives/validators/function.directive.mjs +5 -5
  39. package/esm2020/app/directives/validators/greater-equal.directive.mjs +40 -0
  40. package/esm2020/app/directives/validators/index.mjs +3 -1
  41. package/esm2020/app/directives/validators/integer.directive.mjs +7 -9
  42. package/esm2020/app/directives/validators/lesser-equal.directive.mjs +40 -0
  43. package/esm2020/app/directives/validators/no-fs-validators.directive.mjs +3 -2
  44. package/esm2020/app/directives/validators/required.directive.mjs +6 -8
  45. package/esm2020/app/enums/index.mjs +3 -0
  46. package/esm2020/app/fs-form.module.mjs +40 -23
  47. package/esm2020/app/guards/form-deactivate.guard.mjs +13 -16
  48. package/esm2020/app/helpers/get-form-errors.mjs +1 -1
  49. package/esm2020/app/helpers/index.mjs +1 -2
  50. package/esm2020/app/services/fsform.service.mjs +59 -7
  51. package/esm2020/public_api.mjs +16 -17
  52. package/fesm2015/firestitch-form.mjs +979 -878
  53. package/fesm2015/firestitch-form.mjs.map +1 -1
  54. package/fesm2020/firestitch-form.mjs +965 -866
  55. package/fesm2020/firestitch-form.mjs.map +1 -1
  56. package/package.json +1 -5
  57. package/public_api.d.ts +16 -17
  58. package/app/helpers/confirm-unsaved.d.ts +0 -5
  59. package/esm2020/app/helpers/confirm-unsaved.mjs +0 -72
@@ -0,0 +1,21 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ConfirmUnsavedComponent implements OnInit, OnDestroy {
5
+ private _data;
6
+ private _dialogRef;
7
+ saveLabel: any;
8
+ discardLabel: any;
9
+ cancelLabel: any;
10
+ message: any;
11
+ title: any;
12
+ private _destroy$;
13
+ constructor(_data: any, _dialogRef: MatDialogRef<ConfirmUnsavedComponent>);
14
+ ngOnInit(): void;
15
+ save(): void;
16
+ discard(): void;
17
+ cancel(): void;
18
+ ngOnDestroy(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmUnsavedComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmUnsavedComponent, "ng-component", never, {}, {}, never, never>;
21
+ }
@@ -0,0 +1 @@
1
+ export * from './confirm-unsaved.component';
@@ -1,4 +1,4 @@
1
- import { OnInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { FsFormDirective } from '../../directives/form/form.directive';
4
4
  import * as i0 from "@angular/core";
@@ -1,3 +1,4 @@
1
+ export * from './confirm-unsaved';
1
2
  export * from './form-dialog-actions';
2
3
  export * from './form-template';
3
4
  export * from './form-template-outlet';
@@ -16,4 +16,6 @@ export declare const ERROR_MESSAGES: {
16
16
  urlProtocol: string;
17
17
  greater: string;
18
18
  lesser: string;
19
+ greaterEqual: string;
20
+ lesserEqual: string;
19
21
  };
@@ -1,4 +1,4 @@
1
- import { OnInit, ElementRef, OnDestroy, ChangeDetectorRef } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { MatButton } from '@angular/material/button';
3
3
  import { FsFormDirective } from './form/form.directive';
4
4
  import * as i0 from "@angular/core";
@@ -31,5 +31,5 @@ export declare class FsButtonDirective implements OnInit, OnDestroy {
31
31
  private _resetClass;
32
32
  private _getSvg;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<FsButtonDirective, [{ optional: true; host: true; }, { optional: true; }, null, null]>;
34
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsButtonDirective, "[mat-raised-button],[mat-button],[mat-flat-button],[mat-stroked-button]", never, { "name": "name"; "dirtySubmit": "dirtySubmit"; "form": "form"; }, {}, never>;
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": "name"; "dirtySubmit": "dirtySubmit"; "form": "form"; }, {}, never>;
35
35
  }
@@ -5,7 +5,6 @@ import { MatDialogRef } from '@angular/material/dialog';
5
5
  import { MatTabGroup } from '@angular/material/tabs';
6
6
  import { DrawerRef } from '@firestitch/drawer';
7
7
  import { FsMessage } from '@firestitch/message';
8
- import { FsPrompt } from '@firestitch/prompt';
9
8
  import { Observable } from 'rxjs';
10
9
  import { FsForm } from '../../services/fsform.service';
11
10
  import { FsButtonDirective } from '../button.directive';
@@ -18,7 +17,6 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
18
17
  private _form;
19
18
  private _element;
20
19
  private _message;
21
- private _prompt;
22
20
  private _ngZone;
23
21
  private _cdRef;
24
22
  private _dialogRef;
@@ -60,7 +58,7 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
60
58
  private _destroy$;
61
59
  private _confirmed;
62
60
  private _submit$;
63
- constructor(ngForm: NgForm, _form: FsForm, _element: ElementRef, _message: FsMessage, _prompt: FsPrompt, _ngZone: NgZone, _cdRef: ChangeDetectorRef, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>, _route: ActivatedRoute);
61
+ constructor(ngForm: NgForm, _form: FsForm, _element: ElementRef, _message: FsMessage, _ngZone: NgZone, _cdRef: ChangeDetectorRef, _dialogRef: MatDialogRef<any>, _drawerRef: DrawerRef<any>, _route: ActivatedRoute);
64
62
  get submitting(): boolean;
65
63
  get validating(): boolean;
66
64
  get completing(): boolean;
@@ -89,8 +87,8 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
89
87
  disable(): void;
90
88
  addButton(button: FsButtonDirective): void;
91
89
  removeButton(button: FsButtonDirective): void;
92
- private _listenSubmit;
93
90
  validate(): void;
91
+ private _listenSubmit;
94
92
  private _listenFormStatus;
95
93
  private _listenWindowClose;
96
94
  private _listenHotKeys;
@@ -104,8 +102,8 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
104
102
  private _registerDrawerClose;
105
103
  private _registerConfirmDrawerClose;
106
104
  private _registerConfirmTabs;
107
- registerConfirmTabGroups(tabGroups: MatTabGroup[]): void;
108
- registerConfirmTabGroup(tabGroup: MatTabGroup): void;
105
+ private _registerConfirmTabGroups;
106
+ private _registerConfirmTabGroup;
109
107
  private _registerConfirmDialogBackdropEscape;
110
108
  private _registerAutocomplete;
111
109
  private _registerDirtySubmitButton;
@@ -118,6 +116,6 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
118
116
  private _handleError;
119
117
  private _registerCanDeactivateGuard;
120
118
  private _cleanupCanDeactivate;
121
- static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDirective, [null, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDirective, [null, null, null, null, null, null, { optional: true; }, { optional: true; }, null]>;
122
120
  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"; }, ["_tabGroups"]>;
123
121
  }
@@ -1,14 +1,14 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { FsFormDirective } from './form';
3
2
  import { MatDialogRef } from '@angular/material/dialog';
3
+ import { FsFormDirective } from './form';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class FsFormDialogCloseDirective implements OnDestroy {
6
6
  private _form;
7
7
  private _dialogRef;
8
8
  closeData: any;
9
+ type: string;
9
10
  private _destroy$;
10
11
  constructor(_form: FsFormDirective, _dialogRef: MatDialogRef<any>);
11
- type: string;
12
12
  closeClick(): void;
13
13
  ngOnDestroy(): void;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<FsFormDialogCloseDirective, [{ optional: true; }, { optional: true; }]>;
@@ -1,6 +1,6 @@
1
- export * from './form';
2
- export * from './validators';
3
1
  export * from './button.directive';
2
+ export * from './form';
4
3
  export * from './form-dialog-close.directive';
5
4
  export * from './form-template.directive';
6
5
  export * from './submit-button.directive';
6
+ export * from './validators';
@@ -1,7 +1,7 @@
1
- import { OnDestroy, AfterViewInit, OnChanges } from '@angular/core';
2
- import { FsControlDirective } from './control.directive';
1
+ import { AfterViewInit, OnChanges, OnDestroy } from '@angular/core';
3
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
4
3
  import { FsValidator } from '../../interfaces/validator';
4
+ import { FsControlDirective } from './control.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FsFormCompareDirective extends FsControlDirective implements OnChanges, AfterViewInit, OnDestroy, FsValidator {
7
7
  fsFormCompare: any;
@@ -1,6 +1,6 @@
1
- import { ElementRef, Renderer2, Injector, OnInit, OnDestroy, AfterContentInit } from '@angular/core';
2
- import { NgControl, AbstractControl, ValidationErrors } from '@angular/forms';
3
- import { Observable, Subject } from 'rxjs';
1
+ import { AfterContentInit, ElementRef, Injector, OnDestroy, OnInit, Renderer2 } from '@angular/core';
2
+ import { AbstractControl, NgControl, ValidationErrors } from '@angular/forms';
3
+ import { Observable } from 'rxjs';
4
4
  import { FsFormDirective } from '../form/form.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  export interface FsControlDirective {
@@ -8,7 +8,7 @@ export interface FsControlDirective {
8
8
  validateAsync?(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
9
9
  }
10
10
  export declare class FsControlDirective implements OnInit, AfterContentInit, OnDestroy {
11
- protected elementRef: ElementRef;
11
+ protected _elementRef: ElementRef;
12
12
  protected renderer2: Renderer2;
13
13
  protected injector: Injector;
14
14
  protected _validateMessages: any;
@@ -24,19 +24,19 @@ export declare class FsControlDirective implements OnInit, AfterContentInit, OnD
24
24
  appendHintClass: string;
25
25
  set validateMessages(messages: Record<string, string>);
26
26
  errors: any[];
27
- protected _destroy$: Subject<unknown>;
28
27
  protected _control: AbstractControl;
29
- constructor(elementRef: ElementRef, renderer2: Renderer2, injector: Injector, _validateMessages: any, ngControl: NgControl, formDirective: FsFormDirective);
28
+ private _destroy$;
29
+ constructor(_elementRef: ElementRef, renderer2: Renderer2, injector: Injector, _validateMessages: any, ngControl: NgControl, formDirective: FsFormDirective);
30
30
  ngOnInit(): void;
31
31
  ngOnDestroy(): void;
32
32
  ngAfterContentInit(): void;
33
- protected _subscribeToStatusChagnes(): void;
34
- protected getMessageSelector(): string;
35
- protected getHintWrapperSelector(): string;
36
- protected getWrapperSelector(): string;
37
- protected getlabelSelector(): string;
38
- protected getWrapperElement(): any;
33
+ getMessageSelector(): string;
34
+ getHintWrapperSelector(): string;
35
+ getWrapperSelector(): string;
36
+ getlabelSelector(): string;
37
+ getWrapperElement(): any;
39
38
  protected render(): void;
39
+ protected _subscribeToStatusChagnes(): void;
40
40
  protected getWrapper(node: any, count?: number): any;
41
41
  protected parseErrorMessage(message: any, args: any): string;
42
42
  protected getError(controlRef: any): {
@@ -1,8 +1,8 @@
1
1
  import { OnChanges } from '@angular/core';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
- import { FsControlDirective } from './control.directive';
5
4
  import { FsAsyncValidator } from '../../interfaces/async-validator';
5
+ import { FsControlDirective } from './control.directive';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class FsFormFunctionDirective extends FsControlDirective implements OnChanges, FsAsyncValidator {
8
8
  fsFormFunction: any;
@@ -0,0 +1,13 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
3
+ import { FsControlDirective } from './control.directive';
4
+ import { FsValidator } from '../../interfaces/validator';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FsFormGreaterEqualDirective extends FsControlDirective implements OnChanges, FsValidator {
7
+ fsFormGreaterEqual: any;
8
+ set validationMessage(value: string);
9
+ ngOnChanges(): void;
10
+ validate(control: AbstractControl): ValidationErrors | null;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormGreaterEqualDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormGreaterEqualDirective, "[fsFormGreaterEqual]", never, { "fsFormGreaterEqual": "fsFormGreaterEqual"; "validationMessage": "fsFormGreaterEqualMessage"; }, {}, never>;
13
+ }
@@ -4,8 +4,10 @@ export * from './daterange.directive';
4
4
  export * from './email.directive';
5
5
  export * from './emails.directive';
6
6
  export * from './function.directive';
7
+ export * from './greater-equal.directive';
7
8
  export * from './greater.directive';
8
9
  export * from './integer.directive';
10
+ export * from './lesser-equal.directive';
9
11
  export * from './lesser.directive';
10
12
  export * from './max.directive';
11
13
  export * from './maxlength.directive';
@@ -1,7 +1,7 @@
1
1
  import { OnChanges } from '@angular/core';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
- import { FsControlDirective } from './control.directive';
4
3
  import { FsValidator } from '../../interfaces/validator';
4
+ import { FsControlDirective } from './control.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FsFormIntegerDirective extends FsControlDirective implements OnChanges, FsValidator {
7
7
  fsFormInteger: any;
@@ -0,0 +1,13 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { AbstractControl, ValidationErrors } from '@angular/forms';
3
+ import { FsControlDirective } from './control.directive';
4
+ import { FsValidator } from '../../interfaces/validator';
5
+ import * as i0 from "@angular/core";
6
+ export declare class FsFormLesserEqualDirective extends FsControlDirective implements OnChanges, FsValidator {
7
+ fsFormLesserEqual: any;
8
+ set validationMessage(value: string);
9
+ ngOnChanges(): void;
10
+ validate(control: AbstractControl): ValidationErrors | null;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FsFormLesserEqualDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormLesserEqualDirective, "[fsFormLesserEqual]", never, { "fsFormLesserEqual": "fsFormLesserEqual"; "validationMessage": "fsFormLesserEqualMessage"; }, {}, never>;
13
+ }
@@ -10,5 +10,5 @@ export declare class FsFormNoFsValidatorsDirective extends FsControlDirective im
10
10
  ngOnChanges(): void;
11
11
  protected _subscribeToStatusChagnes(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<FsFormNoFsValidatorsDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNoFsValidatorsDirective, "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])", never, {}, {}, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormNoFsValidatorsDirective, "[ngModel]:not([required]):not([fsFormRequired]):not([fsFormCompare]):not([fsFormDateRange]):not([fsFormEmail]):not([fsFormEmails]):not([fsFormFunction]):not([fsFormGreater]):not([fsFormGreaterEqual]):not([fsFormInteger]):not([fsFormLesser]):not([fsFormMax]):not([fsFormMaxLength]):not([fsFormMin]):not([fsFormMinLength]):not([fsFormNumeric]):not([fsFormPattern]):not([fsFormPhone]):not([fsFormUrl]):not([validate])", never, {}, {}, never>;
14
14
  }
@@ -1,7 +1,7 @@
1
1
  import { OnChanges } from '@angular/core';
2
2
  import { AbstractControl, ValidationErrors } from '@angular/forms';
3
- import { FsControlDirective } from './control.directive';
4
3
  import { FsValidator } from '../../interfaces/validator';
4
+ import { FsControlDirective } from './control.directive';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class FsFormRequiredDirective extends FsControlDirective implements OnChanges, FsValidator {
7
7
  required: boolean;
@@ -0,0 +1,2 @@
1
+ export * from './confirm-result';
2
+ export * from './form-status';
@@ -17,24 +17,28 @@ import * as i14 from "./directives/validators/pattern.directive";
17
17
  import * as i15 from "./directives/validators/function.directive";
18
18
  import * as i16 from "./directives/validators/daterange.directive";
19
19
  import * as i17 from "./directives/validators/greater.directive";
20
- import * as i18 from "./directives/validators/lesser.directive";
21
- import * as i19 from "./directives/validators/url.directive";
22
- import * as i20 from "./directives/form-dialog-close.directive";
23
- import * as i21 from "./directives/validators/validate.directive";
24
- import * as i22 from "./components/form-dialog-actions/form-dialog-actions.component";
25
- import * as i23 from "./directives/validators/no-fs-validators.directive";
26
- import * as i24 from "./directives/button.directive";
27
- import * as i25 from "./directives/submit-button.directive";
28
- import * as i26 from "./components/form-template/form-template.component";
29
- import * as i27 from "./directives/form-template.directive";
30
- import * as i28 from "./components/form-template-outlet/form-template-outlet.component";
31
- import * as i29 from "@angular/common";
32
- import * as i30 from "@angular/forms";
33
- import * as i31 from "@angular/material/button";
34
- import * as i32 from "@angular/material/dialog";
20
+ import * as i18 from "./directives/validators/greater-equal.directive";
21
+ import * as i19 from "./directives/validators/lesser.directive";
22
+ import * as i20 from "./directives/validators/lesser-equal.directive";
23
+ import * as i21 from "./directives/validators/url.directive";
24
+ import * as i22 from "./directives/form-dialog-close.directive";
25
+ import * as i23 from "./directives/validators/validate.directive";
26
+ import * as i24 from "./components/form-dialog-actions/form-dialog-actions.component";
27
+ import * as i25 from "./directives/validators/no-fs-validators.directive";
28
+ import * as i26 from "./directives/button.directive";
29
+ import * as i27 from "./directives/submit-button.directive";
30
+ import * as i28 from "./components/form-template/form-template.component";
31
+ import * as i29 from "./directives/form-template.directive";
32
+ import * as i30 from "./components/form-template-outlet/form-template-outlet.component";
33
+ import * as i31 from "./components/confirm-unsaved/confirm-unsaved.component";
34
+ import * as i32 from "@angular/common";
35
+ import * as i33 from "@angular/forms";
36
+ import * as i34 from "@angular/material/button";
37
+ import * as i35 from "@angular/material/dialog";
38
+ import * as i36 from "@firestitch/dialog";
35
39
  export declare class FsFormModule {
36
40
  static forRoot(): ModuleWithProviders<FsFormModule>;
37
41
  static ɵfac: i0.ɵɵFactoryDeclaration<FsFormModule, never>;
38
- 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.FsFormLesserDirective, typeof i19.FsFormUrlDirective, typeof i20.FsFormDialogCloseDirective, typeof i21.FsFormValidateDirective, typeof i22.FsFormDialogActionsComponent, typeof i23.FsFormNoFsValidatorsDirective, typeof i24.FsButtonDirective, typeof i25.FsSubmitButtonDirective, typeof i26.FsFormTemplateComponent, typeof i27.FsFormTemplateDirective, typeof i28.FsFormTemplateOutletComponent], [typeof i29.CommonModule, typeof i30.FormsModule, typeof i31.MatButtonModule, typeof i32.MatDialogModule], [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.FsFormLesserDirective, typeof i19.FsFormUrlDirective, typeof i20.FsFormDialogCloseDirective, typeof i21.FsFormValidateDirective, typeof i22.FsFormDialogActionsComponent, typeof i23.FsFormNoFsValidatorsDirective, typeof i24.FsButtonDirective, typeof i25.FsSubmitButtonDirective, typeof i26.FsFormTemplateComponent, typeof i27.FsFormTemplateDirective, typeof i28.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.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]>;
39
43
  static ɵinj: i0.ɵɵInjectorDeclaration<FsFormModule>;
40
44
  }
@@ -1,13 +1,11 @@
1
1
  import { ActivatedRoute, CanDeactivate } from '@angular/router';
2
- import { FsPrompt } from '@firestitch/prompt';
3
2
  import { Observable } from 'rxjs';
4
3
  import { FsForm } from '../services/fsform.service';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class FormDeactivateGuard implements CanDeactivate<any> {
7
- private _prompt;
8
- private _fsForm;
6
+ private _form;
9
7
  private _route;
10
- constructor(_prompt: FsPrompt, _fsForm: FsForm, _route: ActivatedRoute);
8
+ constructor(_form: FsForm, _route: ActivatedRoute);
11
9
  canDeactivate(): Observable<boolean>;
12
10
  static ɵfac: i0.ɵɵFactoryDeclaration<FormDeactivateGuard, never>;
13
11
  static ɵprov: i0.ɵɵInjectableDeclaration<FormDeactivateGuard>;
@@ -1,2 +1 @@
1
1
  export * from './confirm-result-continue';
2
- export * from './confirm-unsaved';
@@ -22,4 +22,6 @@ export declare function messageProviderFactory(): {
22
22
  urlProtocol: string;
23
23
  greater: string;
24
24
  lesser: string;
25
+ greaterEqual: string;
26
+ lesserEqual: string;
25
27
  };
@@ -1,16 +1,20 @@
1
1
  import { Type } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
2
3
  import { Observable } from 'rxjs';
3
4
  import { FsFormDirective } from '../directives/form/form.directive';
5
+ import { ConfirmResult } from '../enums';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class FsForm {
8
+ private _dialog;
6
9
  private _formDirectiveStore;
7
10
  private _eventBus;
8
- constructor();
11
+ constructor(_dialog: MatDialog);
9
12
  broadcast(key: any, data?: any): void;
10
13
  on<T>(key: any): Observable<T>;
11
14
  registerFormDirective(routeComponent: Type<any>, directive: FsFormDirective): void;
12
15
  getFormDirectives(routeComponent: any): FsFormDirective[];
13
16
  removeFormDirective(routeComponent: any): void;
17
+ confirmUnsaved(directives: FsFormDirective[]): Observable<ConfirmResult>;
14
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FsForm, never>;
15
19
  static ɵprov: i0.ɵɵInjectableDeclaration<FsForm>;
16
20
  }
@@ -0,0 +1,44 @@
1
+ import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
2
+ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/material/dialog";
6
+ import * as i2 from "@firestitch/dialog";
7
+ import * as i3 from "@angular/material/button";
8
+ export class ConfirmUnsavedComponent {
9
+ constructor(_data, _dialogRef) {
10
+ this._data = _data;
11
+ this._dialogRef = _dialogRef;
12
+ this._destroy$ = new Subject();
13
+ }
14
+ ngOnInit() {
15
+ this.saveLabel = this._data.saveLabel;
16
+ this.discardLabel = this._data.discardLabel;
17
+ this.cancelLabel = this._data.cancelLabel;
18
+ this.message = this._data.message;
19
+ this.title = this._data.title;
20
+ }
21
+ save() {
22
+ this._dialogRef.close('save');
23
+ }
24
+ discard() {
25
+ this._dialogRef.close('discard');
26
+ }
27
+ cancel() {
28
+ this._dialogRef.close(null);
29
+ }
30
+ ngOnDestroy() {
31
+ this._destroy$.next();
32
+ this._destroy$.complete();
33
+ }
34
+ }
35
+ ConfirmUnsavedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConfirmUnsavedComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component });
36
+ ConfirmUnsavedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", 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"], components: [{ type: i2.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode", "mobileButtonPlacement", "mobileWidth", "mode", "buttonLayout"] }, { type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
37
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConfirmUnsavedComponent, decorators: [{
38
+ type: Component,
39
+ 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"] }]
40
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
41
+ type: Inject,
42
+ args: [MAT_DIALOG_DATA]
43
+ }] }, { type: i1.MatDialogRef }]; } });
44
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS11bnNhdmVkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9jb25maXJtLXVuc2F2ZWQvY29uZmlybS11bnNhdmVkLmNvbXBvbmVudC50c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nV0dG9uPlxuICAgICAge3tjYW5jZWxMYWJlbH19XG4gICAgPC9idXR0b24+ICAgIFxuICA8L21hdC1kaWFsb2ctYWN0aW9ucz5cbjwvZnMtZGlhbG9nPlxuIl19
@@ -0,0 +1,2 @@
1
+ export * from './confirm-unsaved.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvY29uZmlybS11bnNhdmVkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsNkJBQTZCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2NvbmZpcm0tdW5zYXZlZC5jb21wb25lbnQnO1xyXG5cclxuIl19
@@ -1,4 +1,4 @@
1
- import { Component, ChangeDetectionStrategy, Input, Optional, ChangeDetectorRef } from '@angular/core';
1
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, Optional } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
3
  import { Subject } from 'rxjs';
4
4
  import { delay, filter, takeUntil } from 'rxjs/operators';
@@ -51,7 +51,7 @@ export class FsFormDialogActionsComponent {
51
51
  }
52
52
  }
53
53
  FsFormDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormDialogActionsComponent, deps: [{ token: i1.FsFormDirective, optional: true }, { token: i2.MatDialogRef, optional: true }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
54
- FsFormDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", 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"], components: [{ type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.FsButtonDirective, selector: "[mat-raised-button],[mat-button],[mat-flat-button],[mat-stroked-button]", inputs: ["name", "dirtySubmit", "form"] }, { type: i2.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: ["closeData"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
54
+ FsFormDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", 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"], components: [{ type: i3.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.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"] }, { type: i2.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i6.FsFormDialogCloseDirective, selector: "[fsFormDialogClose],[fs-form-dialog-close]", inputs: ["closeData"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
55
55
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormDialogActionsComponent, decorators: [{
56
56
  type: Component,
57
57
  args: [{ selector: 'fs-form-dialog-actions', changeDetection: ChangeDetectionStrategy.OnPush, 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"] }]
@@ -72,4 +72,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
72
72
  }], name: [{
73
73
  type: Input
74
74
  }] } });
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1kaWFsb2ctYWN0aW9ucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS1kaWFsb2ctYWN0aW9ucy9mb3JtLWRpYWxvZy1hY3Rpb25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9mb3JtLWRpYWxvZy1hY3Rpb25zL2Zvcm0tZGlhbG9nLWFjdGlvbnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSx1QkFBdUIsRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFFLGlCQUFpQixFQUFhLE1BQU0sZUFBZSxDQUFDO0FBRTFILE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUV4RCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBRSx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mVyPlxuXG4gIDxuZy1jb250YWluZXIgKm5nSWY9XCIhKHNhdmUgfHwgY3JlYXRlKVwiPlxuICAgIDxuZy10ZW1wbGF0ZSBbbmdUZW1wbGF0ZU91dGxldF09XCJjb250ZW50XCI+PC9uZy10ZW1wbGF0ZT5cbiAgPC9uZy1jb250YWluZXI+XG48L2Rpdj5cblxuPG5nLXRlbXBsYXRlICNjb250ZW50PlxuICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L25nLXRlbXBsYXRlPlxuIl19
@@ -1,2 +1,2 @@
1
1
  export * from './form-dialog-actions.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS1kaWFsb2ctYWN0aW9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtLWRpYWxvZy1hY3Rpb25zLmNvbXBvbmVudCc7XHJcbiJdfQ==
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS1kaWFsb2ctYWN0aW9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtLWRpYWxvZy1hY3Rpb25zLmNvbXBvbmVudCc7XG4iXX0=
@@ -1,4 +1,5 @@
1
+ export * from './confirm-unsaved';
1
2
  export * from './form-dialog-actions';
2
3
  export * from './form-template';
3
4
  export * from './form-template-outlet';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx1QkFBdUIsQ0FBQztBQUN0QyxjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Zvcm0tZGlhbG9nLWFjdGlvbnMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tdGVtcGxhdGUnO1xyXG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tdGVtcGxhdGUtb3V0bGV0JztcclxuIl19
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLHVCQUF1QixDQUFDO0FBQ3RDLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29uZmlybS11bnNhdmVkJztcbmV4cG9ydCAqIGZyb20gJy4vZm9ybS1kaWFsb2ctYWN0aW9ucyc7XG5leHBvcnQgKiBmcm9tICcuL2Zvcm0tdGVtcGxhdGUnO1xuZXhwb3J0ICogZnJvbSAnLi9mb3JtLXRlbXBsYXRlLW91dGxldCc7XG4iXX0=
@@ -16,5 +16,7 @@ export const ERROR_MESSAGES = {
16
16
  urlProtocol: 'Invalid URL. Proper http protocol is required. eg. https://google.com',
17
17
  greater: 'Value must be greater than $(1)',
18
18
  lesser: 'Value must be less than $(1)',
19
+ greaterEqual: 'Value must be greater than or equal $(1)',
20
+ lesserEqual: 'Value must be less than or equal $(1)',
19
21
  };
20
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItbWVzc2FnZXMuY29uc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvYXBwL2NvbnN0cy9lcnJvci1tZXNzYWdlcy5jb25zdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxjQUFjLEdBQUc7SUFDNUIsUUFBUSxFQUFFLHdCQUF3QjtJQUNsQyxLQUFLLEVBQUUsbUNBQW1DO0lBQzFDLE1BQU0sRUFBRSw4Q0FBOEM7SUFDdEQsS0FBSyxFQUFFLHNCQUFzQjtJQUM3QixPQUFPLEVBQUUseUJBQXlCO0lBQ2xDLE9BQU8sRUFBRSw0QkFBNEI7SUFDckMsR0FBRyxFQUFFLG9DQUFvQztJQUN6QyxHQUFHLEVBQUUsdUNBQXVDO0lBQzVDLFNBQVMsRUFBRSw0Q0FBNEM7SUFDdkQsU0FBUyxFQUFFLDJDQUEyQztJQUN0RCxPQUFPLEVBQUUscUJBQXFCO0lBQzlCLE9BQU8sRUFBRSxpQ0FBaUM7SUFDMUMsU0FBUyxFQUFFLG9CQUFvQjtJQUMvQixHQUFHLEVBQUUseUJBQXlCO0lBQzlCLFdBQVcsRUFBRSx1RUFBdUU7SUFDcEYsT0FBTyxFQUFFLGlDQUFpQztJQUMxQyxNQUFNLEVBQUUsOEJBQThCO0NBQ3ZDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgRVJST1JfTUVTU0FHRVMgPSB7XG4gIH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