@firestitch/form 12.5.1 → 13.1.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.
- package/app/components/form-dialog-actions/form-dialog-actions.component.d.ts +22 -23
- package/app/components/form-dialog-actions/index.d.ts +1 -0
- package/app/components/form-template/form-template.component.d.ts +13 -0
- package/app/components/form-template/index.d.ts +1 -0
- package/app/components/form-template-outlet/form-template-outlet.component.d.ts +13 -0
- package/app/components/form-template-outlet/index.d.ts +1 -0
- package/app/components/index.d.ts +3 -0
- package/app/consts/error-messages.const.d.ts +19 -19
- package/app/directives/button.directive.d.ts +35 -35
- package/app/directives/form/form.directive.d.ts +123 -127
- package/app/directives/form/index.d.ts +1 -0
- package/app/directives/form-dialog-close.directive.d.ts +16 -12
- package/app/directives/form-template.directive.d.ts +10 -0
- package/app/directives/index.d.ts +6 -2
- package/app/directives/submit-button.directive.d.ts +6 -6
- package/app/directives/validators/compare.directive.d.ts +15 -15
- package/app/directives/validators/control.directive.d.ts +49 -49
- package/app/directives/validators/daterange.directive.d.ts +13 -13
- package/app/directives/validators/email.directive.d.ts +13 -13
- package/app/directives/validators/emails.directive.d.ts +13 -13
- package/app/directives/validators/function.directive.d.ts +15 -15
- package/app/directives/validators/greater.directive.d.ts +13 -13
- package/app/directives/validators/index.d.ts +20 -0
- package/app/directives/validators/integer.directive.d.ts +13 -13
- package/app/directives/validators/lesser.directive.d.ts +13 -13
- package/app/directives/validators/max.directive.d.ts +13 -13
- package/app/directives/validators/maxlength.directive.d.ts +13 -13
- package/app/directives/validators/min.directive.d.ts +13 -13
- package/app/directives/validators/minlength.directive.d.ts +13 -13
- package/app/directives/validators/no-fs-validators.directive.d.ts +14 -14
- package/app/directives/validators/numeric.directive.d.ts +13 -13
- package/app/directives/validators/pattern.directive.d.ts +13 -13
- package/app/directives/validators/phone.directive.d.ts +13 -13
- package/app/directives/validators/required.directive.d.ts +16 -16
- package/app/directives/validators/url.directive.d.ts +14 -14
- package/app/directives/validators/validate.directive.d.ts +15 -15
- package/app/enums/confirm-result.d.ts +7 -7
- package/app/enums/form-status.d.ts +10 -10
- package/app/fs-form.module.d.ts +40 -37
- package/app/guards/form-deactivate.guard.d.ts +14 -14
- package/app/helpers/confirm-result-continue.d.ts +1 -1
- package/app/helpers/confirm-unsaved.d.ts +5 -5
- package/app/helpers/get-active-route.d.ts +2 -2
- package/app/helpers/get-form-errors.d.ts +2 -2
- package/app/helpers/index.d.ts +2 -2
- package/app/helpers/is-enabled.d.ts +1 -1
- package/app/interfaces/async-validator.d.ts +14 -14
- package/app/interfaces/confirm-config.d.ts +7 -7
- package/app/interfaces/confirm-tab-group.d.ts +10 -10
- package/app/interfaces/index.d.ts +4 -4
- package/app/interfaces/submit-event.d.ts +6 -6
- package/app/interfaces/submitted-event.d.ts +7 -7
- package/app/interfaces/validator.d.ts +13 -13
- package/app/providers/validate-messages.provider.d.ts +25 -25
- package/app/services/fsform.service.d.ts +16 -16
- package/app/validators/validators.d.ts +12 -12
- package/esm2020/app/components/form-dialog-actions/form-dialog-actions.component.mjs +75 -0
- package/esm2020/app/components/form-dialog-actions/index.mjs +2 -0
- package/esm2020/app/components/form-template/form-template.component.mjs +31 -0
- package/esm2020/app/components/form-template/index.mjs +2 -0
- package/esm2020/app/components/form-template-outlet/form-template-outlet.component.mjs +30 -0
- package/esm2020/app/components/form-template-outlet/index.mjs +2 -0
- package/esm2020/app/components/index.mjs +4 -0
- package/{esm2015/app/consts/error-messages.const.js → esm2020/app/consts/error-messages.const.mjs} +19 -19
- package/{esm2015/app/directives/button.directive.js → esm2020/app/directives/button.directive.mjs} +152 -153
- package/esm2020/app/directives/form/form.directive.mjs +686 -0
- package/esm2020/app/directives/form/index.mjs +2 -0
- package/esm2020/app/directives/form-dialog-close.directive.mjs +54 -0
- package/esm2020/app/directives/form-template.directive.mjs +20 -0
- package/esm2020/app/directives/index.mjs +7 -0
- package/{esm2015/app/directives/submit-button.directive.js → esm2020/app/directives/submit-button.directive.mjs} +14 -14
- package/{esm2015/app/directives/validators/compare.directive.js → esm2020/app/directives/validators/compare.directive.mjs} +49 -49
- package/esm2020/app/directives/validators/control.directive.mjs +259 -0
- package/{esm2015/app/directives/validators/daterange.directive.js → esm2020/app/directives/validators/daterange.directive.mjs} +41 -41
- package/{esm2015/app/directives/validators/email.directive.js → esm2020/app/directives/validators/email.directive.mjs} +41 -41
- package/{esm2015/app/directives/validators/emails.directive.js → esm2020/app/directives/validators/emails.directive.mjs} +41 -41
- package/{esm2015/app/directives/validators/function.directive.js → esm2020/app/directives/validators/function.directive.mjs} +41 -41
- package/{esm2015/app/directives/validators/greater.directive.js → esm2020/app/directives/validators/greater.directive.mjs} +40 -40
- package/esm2020/app/directives/validators/index.mjs +21 -0
- package/{esm2015/app/directives/validators/integer.directive.js → esm2020/app/directives/validators/integer.directive.mjs} +41 -41
- package/{esm2015/app/directives/validators/lesser.directive.js → esm2020/app/directives/validators/lesser.directive.mjs} +40 -40
- package/{esm2015/app/directives/validators/max.directive.js → esm2020/app/directives/validators/max.directive.mjs} +36 -36
- package/{esm2015/app/directives/validators/maxlength.directive.js → esm2020/app/directives/validators/maxlength.directive.mjs} +35 -35
- package/{esm2015/app/directives/validators/min.directive.js → esm2020/app/directives/validators/min.directive.mjs} +36 -36
- package/{esm2015/app/directives/validators/minlength.directive.js → esm2020/app/directives/validators/minlength.directive.mjs} +35 -35
- package/{esm2015/app/directives/validators/no-fs-validators.directive.js → esm2020/app/directives/validators/no-fs-validators.directive.mjs} +52 -52
- package/{esm2015/app/directives/validators/numeric.directive.js → esm2020/app/directives/validators/numeric.directive.mjs} +41 -41
- package/{esm2015/app/directives/validators/pattern.directive.js → esm2020/app/directives/validators/pattern.directive.mjs} +35 -35
- package/{esm2015/app/directives/validators/phone.directive.js → esm2020/app/directives/validators/phone.directive.mjs} +41 -41
- package/{esm2015/app/directives/validators/required.directive.js → esm2020/app/directives/validators/required.directive.mjs} +71 -71
- package/{esm2015/app/directives/validators/url.directive.js → esm2020/app/directives/validators/url.directive.mjs} +47 -47
- package/{esm2015/app/directives/validators/validate.directive.js → esm2020/app/directives/validators/validate.directive.mjs} +43 -43
- package/{esm2015/app/enums/confirm-result.js → esm2020/app/enums/confirm-result.mjs} +8 -8
- package/{esm2015/app/enums/form-status.js → esm2020/app/enums/form-status.mjs} +11 -11
- package/esm2020/app/fs-form.module.mjs +194 -0
- package/{esm2015/app/guards/form-deactivate.guard.js → esm2020/app/guards/form-deactivate.guard.mjs} +45 -45
- package/{esm2015/app/helpers/confirm-result-continue.js → esm2020/app/helpers/confirm-result-continue.mjs} +4 -4
- package/{esm2015/app/helpers/confirm-unsaved.js → esm2020/app/helpers/confirm-unsaved.mjs} +71 -71
- package/{esm2015/app/helpers/get-active-route.js → esm2020/app/helpers/get-active-route.mjs} +6 -6
- package/esm2020/app/helpers/get-form-errors.mjs +25 -0
- package/{esm2015/app/helpers/index.js → esm2020/app/helpers/index.mjs} +2 -2
- package/{esm2015/app/helpers/is-enabled.js → esm2020/app/helpers/is-enabled.mjs} +3 -3
- package/{esm2015/app/interfaces/async-validator.js → esm2020/app/interfaces/async-validator.mjs} +1 -1
- package/{esm2015/app/interfaces/confirm-config.js → esm2020/app/interfaces/confirm-config.mjs} +1 -1
- package/{esm2015/app/interfaces/confirm-tab-group.js → esm2020/app/interfaces/confirm-tab-group.mjs} +1 -1
- package/{esm2015/app/interfaces/index.js → esm2020/app/interfaces/index.mjs} +4 -4
- package/{esm2015/app/interfaces/submit-event.js → esm2020/app/interfaces/submit-event.mjs} +1 -1
- package/{esm2015/app/interfaces/submitted-event.js → esm2020/app/interfaces/submitted-event.mjs} +1 -1
- package/{esm2015/app/interfaces/validator.js → esm2020/app/interfaces/validator.mjs} +1 -1
- package/{esm2015/app/providers/validate-messages.provider.js → esm2020/app/providers/validate-messages.provider.mjs} +11 -11
- package/{esm2015/app/services/fsform.service.js → esm2020/app/services/fsform.service.mjs} +40 -40
- package/{esm2015/app/validators/validators.js → esm2020/app/validators/validators.mjs} +96 -96
- package/{esm2015/firestitch-form.js → esm2020/firestitch-form.mjs} +4 -4
- package/esm2020/public_api.mjs +38 -0
- package/fesm2015/firestitch-form.mjs +2478 -0
- package/fesm2015/firestitch-form.mjs.map +1 -0
- package/{fesm2015/firestitch-form.js → fesm2020/firestitch-form.mjs} +2353 -2299
- package/fesm2020/firestitch-form.mjs.map +1 -0
- package/firestitch-form.d.ts +5 -5
- package/package.json +20 -7
- package/public_api.d.ts +35 -34
- package/styles.scss +1 -1
- package/bundles/firestitch-form.umd.js +0 -3012
- package/bundles/firestitch-form.umd.js.map +0 -1
- package/esm2015/app/components/form-dialog-actions/form-dialog-actions.component.js +0 -92
- package/esm2015/app/directives/form/form.directive.js +0 -712
- package/esm2015/app/directives/form-dialog-close.directive.js +0 -31
- package/esm2015/app/directives/index.js +0 -3
- package/esm2015/app/directives/validators/control.directive.js +0 -261
- package/esm2015/app/fs-form.module.js +0 -181
- package/esm2015/app/helpers/get-form-errors.js +0 -25
- package/esm2015/public_api.js +0 -37
- package/fesm2015/firestitch-form.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OnChanges } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FsControlDirective } from './control.directive';
|
|
5
|
-
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class FsFormValidateDirective extends FsControlDirective implements OnChanges, FsAsyncValidator {
|
|
8
|
-
validateFn: any;
|
|
9
|
-
validateFnData: any;
|
|
10
|
-
validateOnSubmit: boolean;
|
|
11
|
-
ngOnChanges(): void;
|
|
12
|
-
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormValidateDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormValidateDirective, "[validate]", never, { "validateFn": "validate"; "validateFnData": "validateData"; "validateOnSubmit": "validateOnSubmit"; }, {}, never>;
|
|
15
|
-
}
|
|
1
|
+
import { OnChanges } from '@angular/core';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FsControlDirective } from './control.directive';
|
|
5
|
+
import { FsAsyncValidator } from '../../interfaces/async-validator';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FsFormValidateDirective extends FsControlDirective implements OnChanges, FsAsyncValidator {
|
|
8
|
+
validateFn: any;
|
|
9
|
+
validateFnData: any;
|
|
10
|
+
validateOnSubmit: boolean;
|
|
11
|
+
ngOnChanges(): void;
|
|
12
|
+
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsFormValidateDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FsFormValidateDirective, "[validate]", never, { "validateFn": "validate"; "validateFnData": "validateData"; "validateOnSubmit": "validateOnSubmit"; }, {}, never>;
|
|
15
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum ConfirmResult {
|
|
2
|
-
Save = "save",
|
|
3
|
-
Discard = "discard",
|
|
4
|
-
Review = "review",
|
|
5
|
-
Invalid = "invalid",
|
|
6
|
-
Pristine = "pristine"
|
|
7
|
-
}
|
|
1
|
+
export declare enum ConfirmResult {
|
|
2
|
+
Save = "save",
|
|
3
|
+
Discard = "discard",
|
|
4
|
+
Review = "review",
|
|
5
|
+
Invalid = "invalid",
|
|
6
|
+
Pristine = "pristine"
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare enum FormStatus {
|
|
2
|
-
Valid = "valid",
|
|
3
|
-
Invalid = "invalid",
|
|
4
|
-
Validating = "validating",
|
|
5
|
-
Submitting = "submitting",
|
|
6
|
-
Submitted = "submitted",
|
|
7
|
-
Error = "error",
|
|
8
|
-
Success = "success",
|
|
9
|
-
Completing = "completing"
|
|
10
|
-
}
|
|
1
|
+
export declare enum FormStatus {
|
|
2
|
+
Valid = "valid",
|
|
3
|
+
Invalid = "invalid",
|
|
4
|
+
Validating = "validating",
|
|
5
|
+
Submitting = "submitting",
|
|
6
|
+
Submitted = "submitted",
|
|
7
|
+
Error = "error",
|
|
8
|
+
Success = "success",
|
|
9
|
+
Completing = "completing"
|
|
10
|
+
}
|
package/app/fs-form.module.d.ts
CHANGED
|
@@ -1,37 +1,40 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "./directives/form/form.directive";
|
|
4
|
-
import * as i2 from "./directives/validators/control.directive";
|
|
5
|
-
import * as i3 from "./directives/validators/required.directive";
|
|
6
|
-
import * as i4 from "./directives/validators/min.directive";
|
|
7
|
-
import * as i5 from "./directives/validators/max.directive";
|
|
8
|
-
import * as i6 from "./directives/validators/minlength.directive";
|
|
9
|
-
import * as i7 from "./directives/validators/maxlength.directive";
|
|
10
|
-
import * as i8 from "./directives/validators/email.directive";
|
|
11
|
-
import * as i9 from "./directives/validators/emails.directive";
|
|
12
|
-
import * as i10 from "./directives/validators/phone.directive";
|
|
13
|
-
import * as i11 from "./directives/validators/compare.directive";
|
|
14
|
-
import * as i12 from "./directives/validators/integer.directive";
|
|
15
|
-
import * as i13 from "./directives/validators/numeric.directive";
|
|
16
|
-
import * as i14 from "./directives/validators/pattern.directive";
|
|
17
|
-
import * as i15 from "./directives/validators/function.directive";
|
|
18
|
-
import * as i16 from "./directives/validators/daterange.directive";
|
|
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 "
|
|
29
|
-
import * as i27 from "
|
|
30
|
-
import * as i28 from "
|
|
31
|
-
import * as i29 from "@angular/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
static
|
|
37
|
-
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./directives/form/form.directive";
|
|
4
|
+
import * as i2 from "./directives/validators/control.directive";
|
|
5
|
+
import * as i3 from "./directives/validators/required.directive";
|
|
6
|
+
import * as i4 from "./directives/validators/min.directive";
|
|
7
|
+
import * as i5 from "./directives/validators/max.directive";
|
|
8
|
+
import * as i6 from "./directives/validators/minlength.directive";
|
|
9
|
+
import * as i7 from "./directives/validators/maxlength.directive";
|
|
10
|
+
import * as i8 from "./directives/validators/email.directive";
|
|
11
|
+
import * as i9 from "./directives/validators/emails.directive";
|
|
12
|
+
import * as i10 from "./directives/validators/phone.directive";
|
|
13
|
+
import * as i11 from "./directives/validators/compare.directive";
|
|
14
|
+
import * as i12 from "./directives/validators/integer.directive";
|
|
15
|
+
import * as i13 from "./directives/validators/numeric.directive";
|
|
16
|
+
import * as i14 from "./directives/validators/pattern.directive";
|
|
17
|
+
import * as i15 from "./directives/validators/function.directive";
|
|
18
|
+
import * as i16 from "./directives/validators/daterange.directive";
|
|
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";
|
|
35
|
+
export declare class FsFormModule {
|
|
36
|
+
static forRoot(): ModuleWithProviders<FsFormModule>;
|
|
37
|
+
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]>;
|
|
39
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FsFormModule>;
|
|
40
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ActivatedRoute, CanDeactivate } from '@angular/router';
|
|
2
|
-
import { FsPrompt } from '@firestitch/prompt';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { FsForm } from '../services/fsform.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FormDeactivateGuard implements CanDeactivate<any> {
|
|
7
|
-
private _prompt;
|
|
8
|
-
private _fsForm;
|
|
9
|
-
private _route;
|
|
10
|
-
constructor(_prompt: FsPrompt, _fsForm: FsForm, _route: ActivatedRoute);
|
|
11
|
-
canDeactivate(): Observable<boolean>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormDeactivateGuard, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormDeactivateGuard>;
|
|
14
|
-
}
|
|
1
|
+
import { ActivatedRoute, CanDeactivate } from '@angular/router';
|
|
2
|
+
import { FsPrompt } from '@firestitch/prompt';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FsForm } from '../services/fsform.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormDeactivateGuard implements CanDeactivate<any> {
|
|
7
|
+
private _prompt;
|
|
8
|
+
private _fsForm;
|
|
9
|
+
private _route;
|
|
10
|
+
constructor(_prompt: FsPrompt, _fsForm: FsForm, _route: ActivatedRoute);
|
|
11
|
+
canDeactivate(): Observable<boolean>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormDeactivateGuard, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FormDeactivateGuard>;
|
|
14
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function confirmResultContinue(result: any): boolean;
|
|
1
|
+
export declare function confirmResultContinue(result: any): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FsPrompt } from '@firestitch/prompt';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { FsFormDirective } from '../directives/form/form.directive';
|
|
4
|
-
import { ConfirmResult } from '../enums/confirm-result';
|
|
5
|
-
export declare function confirmUnsaved(directives: FsFormDirective[], prompt: FsPrompt): Observable<ConfirmResult>;
|
|
1
|
+
import { FsPrompt } from '@firestitch/prompt';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FsFormDirective } from '../directives/form/form.directive';
|
|
4
|
+
import { ConfirmResult } from '../enums/confirm-result';
|
|
5
|
+
export declare function confirmUnsaved(directives: FsFormDirective[], prompt: FsPrompt): Observable<ConfirmResult>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActivatedRoute } from '@angular/router';
|
|
2
|
-
export declare function getActiveRoute(route: ActivatedRoute): ActivatedRoute;
|
|
1
|
+
import { ActivatedRoute } from '@angular/router';
|
|
2
|
+
export declare function getActiveRoute(route: ActivatedRoute): ActivatedRoute;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
export declare function getFormErrors(control: AbstractControl, key: string): ValidationErrors | null;
|
|
1
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
export declare function getFormErrors(control: AbstractControl, key: string): ValidationErrors | null;
|
package/app/helpers/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './confirm-result-continue';
|
|
2
|
-
export * from './confirm-unsaved';
|
|
1
|
+
export * from './confirm-result-continue';
|
|
2
|
+
export * from './confirm-unsaved';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function isEnabled(value: any): boolean;
|
|
1
|
+
export declare function isEnabled(value: any): boolean;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
-
export declare interface FsAsyncValidator {
|
|
4
|
-
/**
|
|
5
|
-
* @description
|
|
6
|
-
* Method that performs async validation against the provided control.
|
|
7
|
-
*
|
|
8
|
-
* @param control The control to validate against.
|
|
9
|
-
*
|
|
10
|
-
* @returns A promise or observable that resolves a map of validation errors
|
|
11
|
-
* if validation fails, otherwise null.
|
|
12
|
-
*/
|
|
13
|
-
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
14
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
3
|
+
export declare interface FsAsyncValidator {
|
|
4
|
+
/**
|
|
5
|
+
* @description
|
|
6
|
+
* Method that performs async validation against the provided control.
|
|
7
|
+
*
|
|
8
|
+
* @param control The control to validate against.
|
|
9
|
+
*
|
|
10
|
+
* @returns A promise or observable that resolves a map of validation errors
|
|
11
|
+
* if validation fails, otherwise null.
|
|
12
|
+
*/
|
|
13
|
+
validateAsync(control: AbstractControl): Promise<ValidationErrors | null> | Observable<ValidationErrors | null>;
|
|
14
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface ConfirmConfig {
|
|
2
|
-
title?: string;
|
|
3
|
-
message?: string;
|
|
4
|
-
saveLabel?: string;
|
|
5
|
-
discardLabel?: string;
|
|
6
|
-
cancelLabel?: string;
|
|
7
|
-
}
|
|
1
|
+
export interface ConfirmConfig {
|
|
2
|
+
title?: string;
|
|
3
|
+
message?: string;
|
|
4
|
+
saveLabel?: string;
|
|
5
|
+
discardLabel?: string;
|
|
6
|
+
cancelLabel?: string;
|
|
7
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { MatTab, MatTabGroup, MatTabHeader } from '@angular/material/tabs';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
export interface ConfirmTabGroup extends MatTabGroup {
|
|
4
|
-
_originalHandleClick(tab: MatTab, tabHeader: MatTabHeader, index: number): void;
|
|
5
|
-
_handlClick$: Subject<{
|
|
6
|
-
tab: MatTab;
|
|
7
|
-
tabHeader: MatTabHeader;
|
|
8
|
-
idx: number;
|
|
9
|
-
}>;
|
|
10
|
-
}
|
|
1
|
+
import { MatTab, MatTabGroup, MatTabHeader } from '@angular/material/tabs';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
export interface ConfirmTabGroup extends MatTabGroup {
|
|
4
|
+
_originalHandleClick(tab: MatTab, tabHeader: MatTabHeader, index: number): void;
|
|
5
|
+
_handlClick$: Subject<{
|
|
6
|
+
tab: MatTab;
|
|
7
|
+
tabHeader: MatTabHeader;
|
|
8
|
+
idx: number;
|
|
9
|
+
}>;
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './submit-event';
|
|
2
|
-
export * from './submitted-event';
|
|
3
|
-
export * from './confirm-config';
|
|
4
|
-
export * from './confirm-tab-group';
|
|
1
|
+
export * from './submit-event';
|
|
2
|
+
export * from './submitted-event';
|
|
3
|
+
export * from './confirm-config';
|
|
4
|
+
export * from './confirm-tab-group';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { NgForm } from '@angular/forms';
|
|
2
|
-
export interface SubmitEvent {
|
|
3
|
-
ngForm: NgForm;
|
|
4
|
-
submitter: string;
|
|
5
|
-
confirmed?: boolean;
|
|
6
|
-
}
|
|
1
|
+
import { NgForm } from '@angular/forms';
|
|
2
|
+
export interface SubmitEvent {
|
|
3
|
+
ngForm: NgForm;
|
|
4
|
+
submitter: string;
|
|
5
|
+
confirmed?: boolean;
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { NgForm } from '@angular/forms';
|
|
2
|
-
export interface SubmittedEvent {
|
|
3
|
-
ngForm: NgForm;
|
|
4
|
-
submitter: string;
|
|
5
|
-
response: any;
|
|
6
|
-
confirmed?: boolean;
|
|
7
|
-
}
|
|
1
|
+
import { NgForm } from '@angular/forms';
|
|
2
|
+
export interface SubmittedEvent {
|
|
3
|
+
ngForm: NgForm;
|
|
4
|
+
submitter: string;
|
|
5
|
+
response: any;
|
|
6
|
+
confirmed?: boolean;
|
|
7
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
export declare interface FsValidator {
|
|
3
|
-
/**
|
|
4
|
-
* @description
|
|
5
|
-
* Method that performs synchronous validation against the provided control.
|
|
6
|
-
*
|
|
7
|
-
* @param control The control to validate against.
|
|
8
|
-
*
|
|
9
|
-
* @returns A map of validation errors if validation fails,
|
|
10
|
-
* otherwise null.
|
|
11
|
-
*/
|
|
12
|
-
validate(control: AbstractControl): ValidationErrors | null;
|
|
13
|
-
}
|
|
1
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
export declare interface FsValidator {
|
|
3
|
+
/**
|
|
4
|
+
* @description
|
|
5
|
+
* Method that performs synchronous validation against the provided control.
|
|
6
|
+
*
|
|
7
|
+
* @param control The control to validate against.
|
|
8
|
+
*
|
|
9
|
+
* @returns A map of validation errors if validation fails,
|
|
10
|
+
* otherwise null.
|
|
11
|
+
*/
|
|
12
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
13
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const VALIDATE_MESSAGES: InjectionToken<Record<string, string>>;
|
|
3
|
-
export declare const VALIDATE_MESSAGE_PROVIDER: {
|
|
4
|
-
provide: InjectionToken<Record<string, string>>;
|
|
5
|
-
useFactory: typeof messageProviderFactory;
|
|
6
|
-
};
|
|
7
|
-
export declare function messageProviderFactory(): {
|
|
8
|
-
required: string;
|
|
9
|
-
email: string;
|
|
10
|
-
emails: string;
|
|
11
|
-
phone: string;
|
|
12
|
-
numeric: string;
|
|
13
|
-
integer: string;
|
|
14
|
-
min: string;
|
|
15
|
-
max: string;
|
|
16
|
-
minlength: string;
|
|
17
|
-
maxlength: string;
|
|
18
|
-
compare: string;
|
|
19
|
-
pattern: string;
|
|
20
|
-
dateRange: string;
|
|
21
|
-
url: string;
|
|
22
|
-
urlProtocol: string;
|
|
23
|
-
greater: string;
|
|
24
|
-
lesser: string;
|
|
25
|
-
};
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const VALIDATE_MESSAGES: InjectionToken<Record<string, string>>;
|
|
3
|
+
export declare const VALIDATE_MESSAGE_PROVIDER: {
|
|
4
|
+
provide: InjectionToken<Record<string, string>>;
|
|
5
|
+
useFactory: typeof messageProviderFactory;
|
|
6
|
+
};
|
|
7
|
+
export declare function messageProviderFactory(): {
|
|
8
|
+
required: string;
|
|
9
|
+
email: string;
|
|
10
|
+
emails: string;
|
|
11
|
+
phone: string;
|
|
12
|
+
numeric: string;
|
|
13
|
+
integer: string;
|
|
14
|
+
min: string;
|
|
15
|
+
max: string;
|
|
16
|
+
minlength: string;
|
|
17
|
+
maxlength: string;
|
|
18
|
+
compare: string;
|
|
19
|
+
pattern: string;
|
|
20
|
+
dateRange: string;
|
|
21
|
+
url: string;
|
|
22
|
+
urlProtocol: string;
|
|
23
|
+
greater: string;
|
|
24
|
+
lesser: string;
|
|
25
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { FsFormDirective } from '../directives/form/form.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class FsForm {
|
|
6
|
-
private _formDirectiveStore;
|
|
7
|
-
private _eventBus;
|
|
8
|
-
constructor();
|
|
9
|
-
broadcast(key: any, data?: any): void;
|
|
10
|
-
on<T>(key: any): Observable<T>;
|
|
11
|
-
registerFormDirective(routeComponent: Type<any>, directive: FsFormDirective): void;
|
|
12
|
-
getFormDirectives(routeComponent: any): FsFormDirective[];
|
|
13
|
-
removeFormDirective(routeComponent: any): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FsForm, never>;
|
|
15
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FsForm>;
|
|
16
|
-
}
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FsFormDirective } from '../directives/form/form.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FsForm {
|
|
6
|
+
private _formDirectiveStore;
|
|
7
|
+
private _eventBus;
|
|
8
|
+
constructor();
|
|
9
|
+
broadcast(key: any, data?: any): void;
|
|
10
|
+
on<T>(key: any): Observable<T>;
|
|
11
|
+
registerFormDirective(routeComponent: Type<any>, directive: FsFormDirective): void;
|
|
12
|
+
getFormDirectives(routeComponent: any): FsFormDirective[];
|
|
13
|
+
removeFormDirective(routeComponent: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FsForm, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FsForm>;
|
|
16
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export declare class FsValidators {
|
|
4
|
-
static email(control: AbstractControl): ValidationErrors | null;
|
|
5
|
-
static emails(control: AbstractControl): ValidationErrors | null;
|
|
6
|
-
static numeric(control: AbstractControl): ValidationErrors | null;
|
|
7
|
-
static integer(control: AbstractControl): ValidationErrors | null;
|
|
8
|
-
static phone(control: AbstractControl): ValidationErrors | null;
|
|
9
|
-
static url(control: AbstractControl, protocolRequired?: boolean): ValidationErrors | null;
|
|
10
|
-
static dateRange(control: AbstractControl): ValidationErrors | null;
|
|
11
|
-
static func(control: AbstractControl, formFunction: any, data: any): Observable<any>;
|
|
12
|
-
}
|
|
1
|
+
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare class FsValidators {
|
|
4
|
+
static email(control: AbstractControl): ValidationErrors | null;
|
|
5
|
+
static emails(control: AbstractControl): ValidationErrors | null;
|
|
6
|
+
static numeric(control: AbstractControl): ValidationErrors | null;
|
|
7
|
+
static integer(control: AbstractControl): ValidationErrors | null;
|
|
8
|
+
static phone(control: AbstractControl): ValidationErrors | null;
|
|
9
|
+
static url(control: AbstractControl, protocolRequired?: boolean): ValidationErrors | null;
|
|
10
|
+
static dateRange(control: AbstractControl): ValidationErrors | null;
|
|
11
|
+
static func(control: AbstractControl, formFunction: any, data: any): Observable<any>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy, Input, Optional, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Subject } from 'rxjs';
|
|
4
|
+
import { delay, filter, takeUntil } from 'rxjs/operators';
|
|
5
|
+
import { FsFormDirective } from '../../directives/form/form.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../directives/form/form.directive";
|
|
8
|
+
import * as i2 from "@angular/material/dialog";
|
|
9
|
+
import * as i3 from "@angular/material/button";
|
|
10
|
+
import * as i4 from "@angular/common";
|
|
11
|
+
import * as i5 from "../../directives/button.directive";
|
|
12
|
+
import * as i6 from "../../directives/form-dialog-close.directive";
|
|
13
|
+
export class FsFormDialogActionsComponent {
|
|
14
|
+
constructor(_form, _dialogRef, _cdRef) {
|
|
15
|
+
this._form = _form;
|
|
16
|
+
this._dialogRef = _dialogRef;
|
|
17
|
+
this._cdRef = _cdRef;
|
|
18
|
+
this.save = true;
|
|
19
|
+
this.create = false;
|
|
20
|
+
this.close = false;
|
|
21
|
+
this.done = false;
|
|
22
|
+
this.closeData = null;
|
|
23
|
+
this.dirty = false;
|
|
24
|
+
this._destroy$ = new Subject();
|
|
25
|
+
}
|
|
26
|
+
ngOnInit() {
|
|
27
|
+
if (this._form) {
|
|
28
|
+
this._form.ngForm.valueChanges
|
|
29
|
+
.pipe(filter(() => (!this.dirty)), takeUntil(this._destroy$))
|
|
30
|
+
.subscribe(() => {
|
|
31
|
+
this.dirty = this._form.ngForm.dirty;
|
|
32
|
+
this._cdRef.markForCheck();
|
|
33
|
+
});
|
|
34
|
+
this._form.submitted
|
|
35
|
+
.pipe(delay(50), takeUntil(this._destroy$))
|
|
36
|
+
.subscribe(() => {
|
|
37
|
+
this.dirty = false;
|
|
38
|
+
this._cdRef.markForCheck();
|
|
39
|
+
});
|
|
40
|
+
this._form.reseted
|
|
41
|
+
.pipe(takeUntil(this._destroy$))
|
|
42
|
+
.subscribe(() => {
|
|
43
|
+
this.dirty = false;
|
|
44
|
+
this._cdRef.markForCheck();
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
ngOnDestroy() {
|
|
49
|
+
this._destroy$.next();
|
|
50
|
+
this._destroy$.complete();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
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\"\n [disabled]=\"close && !dirty && !create\"\n [matDialogClose]=\"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 [matDialogClose]=\"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{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 });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormDialogActionsComponent, decorators: [{
|
|
56
|
+
type: Component,
|
|
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\"\n [disabled]=\"close && !dirty && !create\"\n [matDialogClose]=\"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 [matDialogClose]=\"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{float:right}\n"] }]
|
|
58
|
+
}], ctorParameters: function () { return [{ type: i1.FsFormDirective, decorators: [{
|
|
59
|
+
type: Optional
|
|
60
|
+
}] }, { type: i2.MatDialogRef, decorators: [{
|
|
61
|
+
type: Optional
|
|
62
|
+
}] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { save: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], create: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], close: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], done: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], closeData: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], name: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}] } });
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1kaWFsb2ctYWN0aW9ucy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS1kaWFsb2ctYWN0aW9ucy9mb3JtLWRpYWxvZy1hY3Rpb25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3NyYy9hcHAvY29tcG9uZW50cy9mb3JtLWRpYWxvZy1hY3Rpb25zL2Zvcm0tZGlhbG9nLWFjdGlvbnMuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQV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dHRvblxuICAgICAgICBtYXQtYnV0dG9uXG4gICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICBjbGFzcz1cImNsb3NlLWJ1dHRvblwiXG4gICAgICAgIGZzRm9ybURpYWxvZ0Nsb3NlXG4gICAgICAgIFtjbG9zZURhdGFdPVwiY2xvc2VEYXRhXCJcbiAgICAgICAgW2NvbG9yXT1cImRpcnR5ID8gJ2Jhc2ljJyA6ICdwcmltYXJ5J1wiPlxuICAgICAgQ2xvc2VcbiAgICA8L2J1dHRvbj5cbiAgPC9uZy1jb250YWluZXI+XG5cbiAgPG5nLWNvbnRhaW5lciAqbmdJZj1cIiEoc2F2ZSB8fCBjcmVhdGUpXCI+XG4gICAgPG5nLXRlbXBsYXRlIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImNvbnRlbnRcIj48L25nLXRlbXBsYXRlPlxuICA8L25nLWNvbnRhaW5lcj5cbjwvZGl2PlxuXG48bmctdGVtcGxhdGUgI2NvbnRlbnQ+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './form-dialog-actions.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS1kaWFsb2ctYWN0aW9ucy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGlDQUFpQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtLWRpYWxvZy1hY3Rpb25zLmNvbXBvbmVudCc7XHJcbiJdfQ==
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Component, ChangeDetectionStrategy, Input, ContentChildren, QueryList, TemplateRef, ViewChild } from '@angular/core';
|
|
2
|
+
import { NgModel } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class FsFormTemplateComponent {
|
|
5
|
+
constructor() { }
|
|
6
|
+
ngAfterContentInit() {
|
|
7
|
+
debugger;
|
|
8
|
+
const x = this.models;
|
|
9
|
+
this.models.changes.subscribe((x) => {
|
|
10
|
+
debugger;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
ngOnInit() {
|
|
14
|
+
debugger;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
FsFormTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormTemplateComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
FsFormTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: FsFormTemplateComponent, selector: "fs-form-template", inputs: { formTemplate: "formTemplate" }, queries: [{ propertyName: "models", predicate: NgModel, descendants: true }], viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["templateRef1"], descendants: true }], ngImport: i0, template: "<ng-template #templateRef1>\n <ng-content></ng-content>\n</ng-template>", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FsFormTemplateComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'fs-form-template', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template #templateRef1>\n <ng-content></ng-content>\n</ng-template>" }]
|
|
22
|
+
}], ctorParameters: function () { return []; }, propDecorators: { templateRef: [{
|
|
23
|
+
type: ViewChild,
|
|
24
|
+
args: ['templateRef1']
|
|
25
|
+
}], formTemplate: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], models: [{
|
|
28
|
+
type: ContentChildren,
|
|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hbnRzOiB0cnVlIH0pIFxyXG4gIHB1YmxpYyBtb2RlbHM6IFF1ZXJ5TGlzdDxOZ01vZGVsPjtcclxuXHJcbiAgcHVibGljIG5nQWZ0ZXJDb250ZW50SW5pdCgpOiB2b2lkIHtcclxuICAgIGRlYnVnZ2VyO1xyXG4gICAgY29uc3QgeCA9IHRoaXMubW9kZWxzO1xyXG4gICAgdGhpcy5tb2RlbHMuY2hhbmdlcy5zdWJzY3JpYmUoKHgpID0+IHtcclxuICAgICAgZGVidWdnZXI7XHJcbiAgICB9KTtcclxuICB9XHJcblxyXG4gIG5nT25Jbml0KCkge1xyXG4gICAgZGVidWdnZXI7XHJcbiAgfVxyXG5cclxuICBjb25zdHJ1Y3RvcihcclxuICAgXHJcbiAgKSB7fVxyXG5cclxufVxyXG4iLCI8bmctdGVtcGxhdGUgI3RlbXBsYXRlUmVmMT5cbiAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9uZy10ZW1wbGF0ZT4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './form-template.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvYXBwL2NvbXBvbmVudHMvZm9ybS10ZW1wbGF0ZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLDJCQUEyQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9mb3JtLXRlbXBsYXRlLmNvbXBvbmVudCc7XHJcbiJdfQ==
|