@rxap/forms 16.0.0-dev.2 → 16.0.0-dev.21
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/CHANGELOG.md +700 -0
- package/LICENSE +621 -24
- package/LICENSE.md +621 -0
- package/README.md +7 -22
- package/esm2022/index.mjs +2 -1
- package/esm2022/lib/control-actions.mjs +7 -7
- package/esm2022/lib/control-value-accessor.mjs +10 -4
- package/esm2022/lib/decorators/control-async-validator.mjs +2 -2
- package/esm2022/lib/decorators/control-change.mjs +2 -2
- package/esm2022/lib/decorators/control-set-value.mjs +3 -3
- package/esm2022/lib/decorators/control-validator.mjs +2 -2
- package/esm2022/lib/decorators/form.mjs +1 -1
- package/esm2022/lib/decorators/metadata-keys.mjs +1 -1
- package/esm2022/lib/decorators/use-form-array.mjs +6 -3
- package/esm2022/lib/decorators/use-form-control.mjs +2 -2
- package/esm2022/lib/decorators/use-form-group.mjs +6 -3
- package/esm2022/lib/directives/form-control-error.directive.mjs +17 -22
- package/esm2022/lib/directives/form-control-mark-dirty.directive.mjs +8 -9
- package/esm2022/lib/directives/form-control-mark-pristine.directive.mjs +8 -9
- package/esm2022/lib/directives/form-control-mark-touched.directive.mjs +7 -8
- package/esm2022/lib/directives/form-control-mark-untouched.directive.mjs +8 -9
- package/esm2022/lib/directives/form-control-name.directive.mjs +12 -13
- package/esm2022/lib/directives/form-group-name.directive.mjs +12 -13
- package/esm2022/lib/directives/form-loaded.directive.mjs +8 -9
- package/esm2022/lib/directives/form-loading-error.directive.mjs +7 -8
- package/esm2022/lib/directives/form-loading.directive.mjs +8 -9
- package/esm2022/lib/directives/form-submit-failed.directive.mjs +7 -8
- package/esm2022/lib/directives/form-submit-invalid.directive.mjs +7 -8
- package/esm2022/lib/directives/form-submit-successful.directive.mjs +7 -8
- package/esm2022/lib/directives/form-submit.directive.mjs +12 -13
- package/esm2022/lib/directives/form-submitting.directive.mjs +8 -9
- package/esm2022/lib/directives/form.directive.mjs +38 -39
- package/esm2022/lib/directives/forms.module.mjs +100 -0
- package/esm2022/lib/directives/models.mjs +1 -1
- package/esm2022/lib/directives/parent-control-container.directive.mjs +11 -11
- package/esm2022/lib/directives/tokens.mjs +1 -1
- package/esm2022/lib/form-array.mjs +12 -7
- package/esm2022/lib/form-builder.mjs +27 -20
- package/esm2022/lib/form-control.mjs +10 -4
- package/esm2022/lib/form-group.mjs +9 -5
- package/esm2022/lib/model.mjs +1 -1
- package/esm2022/lib/tokens.mjs +1 -1
- package/esm2022/lib/types.mjs +1 -1
- package/esm2022/lib/validators/index.mjs +1 -1
- package/esm2022/lib/validators/is-array.mjs +3 -3
- package/esm2022/lib/validators/is-boolean.mjs +3 -3
- package/esm2022/lib/validators/is-complex.mjs +7 -9
- package/esm2022/lib/validators/is-date.mjs +3 -3
- package/esm2022/lib/validators/is-email.mjs +5 -5
- package/esm2022/lib/validators/is-enum.mjs +4 -4
- package/esm2022/lib/validators/is-int.mjs +5 -5
- package/esm2022/lib/validators/is-ip.mjs +4 -4
- package/esm2022/lib/validators/is-number.mjs +10 -5
- package/esm2022/lib/validators/is-object.mjs +7 -4
- package/esm2022/lib/validators/is-phone-number.mjs +5 -5
- package/esm2022/lib/validators/is-port.mjs +3 -3
- package/esm2022/lib/validators/is-string.mjs +3 -3
- package/esm2022/lib/validators/is-url.mjs +5 -5
- package/esm2022/lib/validators/is-uuid.mjs +4 -4
- package/esm2022/rxap-forms.mjs +1 -1
- package/fesm2022/rxap-forms.mjs +457 -337
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/lib/control-actions.d.ts +1 -1
- package/lib/directives/form-control-error.directive.d.ts +3 -3
- package/lib/directives/form-control-name.directive.d.ts +1 -1
- package/lib/directives/form-group-name.directive.d.ts +1 -1
- package/lib/directives/form-loaded.directive.d.ts +1 -1
- package/lib/directives/form-loading-error.directive.d.ts +1 -1
- package/lib/directives/form-loading.directive.d.ts +1 -1
- package/lib/directives/form-submit-failed.directive.d.ts +1 -1
- package/lib/directives/form-submit-invalid.directive.d.ts +1 -1
- package/lib/directives/form-submit-successful.directive.d.ts +1 -1
- package/lib/directives/form-submit.directive.d.ts +1 -1
- package/lib/directives/form-submitting.directive.d.ts +1 -1
- package/lib/directives/form.directive.d.ts +3 -3
- package/lib/directives/forms.module.d.ts +23 -0
- package/lib/directives/models.d.ts +1 -1
- package/lib/directives/tokens.d.ts +1 -1
- package/lib/form-array.d.ts +2 -2
- package/lib/form-control.d.ts +4 -4
- package/lib/form-group.d.ts +2 -2
- package/lib/model.d.ts +8 -6
- package/lib/validators/is-complex.d.ts +1 -1
- package/lib/validators/is-email.d.ts +1 -1
- package/lib/validators/is-enum.d.ts +1 -1
- package/lib/validators/is-int.d.ts +1 -1
- package/lib/validators/is-ip.d.ts +1 -1
- package/lib/validators/is-number.d.ts +1 -1
- package/lib/validators/is-phone-number.d.ts +2 -2
- package/lib/validators/is-url.d.ts +1 -1
- package/lib/validators/is-uuid.d.ts +1 -1
- package/package.json +78 -51
- package/theme.css +1 -0
- package/collection.json +0 -10
- package/migration.json +0 -10
- package/src/migrations/v12-2-1/index.d.ts +0 -5
- package/src/migrations/v12-2-1/index.js +0 -76
- package/src/migrations/v12-2-1/index.js.map +0 -1
- package/src/schematics/ng-add/index.d.ts +0 -2
- package/src/schematics/ng-add/index.js +0 -8
- package/src/schematics/ng-add/index.js.map +0 -1
- package/src/schematics/ng-add/schema.json +0 -7
package/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export * from './lib/decorators/use-form-control';
|
|
|
16
16
|
export * from './lib/decorators/use-form-group';
|
|
17
17
|
export * from './lib/decorators/form';
|
|
18
18
|
export * from './lib/directives/form.directive';
|
|
19
|
+
export * from './lib/directives/forms.module';
|
|
19
20
|
export * from './lib/directives/form-submit-failed.directive';
|
|
20
21
|
export * from './lib/directives/form-loading.directive';
|
|
21
22
|
export * from './lib/directives/form-submitting.directive';
|
package/lib/control-actions.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Observable, Subscription } from 'rxjs';
|
|
2
|
-
import { AbstractControl, ControlOptions, ControlState, ValidatorFn
|
|
2
|
+
import { AbstractControl, ControlOptions, ControlPath, ControlState, ValidatorFn } from './types';
|
|
3
3
|
import { RxapFormArray } from './form-array';
|
|
4
4
|
import { RxapFormGroup } from './form-group';
|
|
5
5
|
import { RxapFormControl } from './form-control';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ValidationErrors } from '../types';
|
|
3
3
|
import { ControlContainer } from '@angular/forms';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
|
-
* @deprecated removed
|
|
6
|
+
* @deprecated removed use the rxapControlError or rxapControlErrors directive
|
|
7
7
|
*/
|
|
8
8
|
export declare class FormControlErrorDirective implements OnInit, OnDestroy {
|
|
9
9
|
private readonly template;
|
|
@@ -18,5 +18,5 @@ export declare class FormControlErrorDirective implements OnInit, OnDestroy {
|
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormControlErrorDirective, [null, { host: true; skipSelf: true; }, null]>;
|
|
21
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlErrorDirective, "[rxapFormControlError]", never, { "name": { "alias": "rxapFormControlErrorFrom"; "required":
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlErrorDirective, "[rxapFormControlError]", never, { "name": { "alias": "rxapFormControlErrorFrom"; "required": true; }; "errorKey": { "alias": "rxapFormControlErrorIf"; "required": true; }; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AsyncValidator, AsyncValidatorFn, ControlContainer, ControlValueAccessor, FormControlName, Validator, ValidatorFn } from '@angular/forms';
|
|
2
2
|
import { RxapFormControl } from '../form-control';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormDirective } from './form.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormLoadedDirective implements AfterViewInit, OnDestroy {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormDirective } from './form.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormLoadingErrorDirective implements AfterViewInit, OnDestroy {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormDirective } from './form.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormLoadingDirective implements AfterViewInit, OnDestroy {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormDirective } from './form.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormSubmitFailedDirective implements AfterViewInit, OnDestroy {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormDirective } from './form.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormSubmitInvalidDirective implements AfterViewInit, OnDestroy {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormDirective } from './form.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormSubmitSuccessfulDirective implements AfterViewInit, OnDestroy {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { FormDirective } from './form.directive';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class FormSubmittingDirective implements AfterViewInit, OnDestroy {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormGroupDirective } from '@angular/forms';
|
|
3
3
|
import { RxapFormGroup } from '../form-group';
|
|
4
4
|
import { FormDefinition } from '../model';
|
|
5
|
-
import {
|
|
5
|
+
import { FormLoadFailedMethod, FormLoadMethod, FormLoadSuccessfulMethod, FormSubmitFailedMethod, FormSubmitMethod, FormSubmitSuccessfulMethod } from './models';
|
|
6
6
|
import { BehaviorSubject } from 'rxjs';
|
|
7
7
|
import { RxapFormBuilder } from '../form-builder';
|
|
8
8
|
import { LoadingIndicatorService } from '@rxap/services';
|
|
9
|
-
import { ToggleSubject } from '@rxap/
|
|
9
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class FormDirective<T = any> extends FormGroupDirective implements OnInit, OnChanges, OnDestroy {
|
|
12
12
|
readonly cdr: ChangeDetectorRef;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./form.directive";
|
|
3
|
+
import * as i2 from "./form-submit-failed.directive";
|
|
4
|
+
import * as i3 from "./form-loading.directive";
|
|
5
|
+
import * as i4 from "./form-submitting.directive";
|
|
6
|
+
import * as i5 from "./form-loading-error.directive";
|
|
7
|
+
import * as i6 from "./form-loaded.directive";
|
|
8
|
+
import * as i7 from "./form-control-error.directive";
|
|
9
|
+
import * as i8 from "./form-control-mark-dirty.directive";
|
|
10
|
+
import * as i9 from "./form-control-mark-touched.directive";
|
|
11
|
+
import * as i10 from "./form-control-mark-untouched.directive";
|
|
12
|
+
import * as i11 from "./form-control-mark-pristine.directive";
|
|
13
|
+
import * as i12 from "./form-submit.directive";
|
|
14
|
+
import * as i13 from "./form-group-name.directive";
|
|
15
|
+
import * as i14 from "./form-control-name.directive";
|
|
16
|
+
import * as i15 from "./parent-control-container.directive";
|
|
17
|
+
import * as i16 from "./form-submit-successful.directive";
|
|
18
|
+
import * as i17 from "./form-submit-invalid.directive";
|
|
19
|
+
export declare class RxapFormsModule {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RxapFormsModule, never>;
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RxapFormsModule, never, [typeof i1.FormDirective, typeof i2.FormSubmitFailedDirective, typeof i3.FormLoadingDirective, typeof i4.FormSubmittingDirective, typeof i5.FormLoadingErrorDirective, typeof i6.FormLoadedDirective, typeof i7.FormControlErrorDirective, typeof i8.FormControlMarkDirtyDirective, typeof i9.FormControlMarkTouchedDirective, typeof i10.FormControlMarkUntouchedDirective, typeof i11.FormControlMarkPristineDirective, typeof i12.FormSubmitDirective, typeof i13.FormGroupNameDirective, typeof i14.FormControlNameDirective, typeof i15.ParentControlContainerDirective, typeof i16.FormSubmitSuccessfulDirective, typeof i17.FormSubmitInvalidDirective], [typeof i1.FormDirective, typeof i2.FormSubmitFailedDirective, typeof i3.FormLoadingDirective, typeof i4.FormSubmittingDirective, typeof i5.FormLoadingErrorDirective, typeof i6.FormLoadedDirective, typeof i7.FormControlErrorDirective, typeof i8.FormControlMarkDirtyDirective, typeof i9.FormControlMarkTouchedDirective, typeof i10.FormControlMarkUntouchedDirective, typeof i11.FormControlMarkPristineDirective, typeof i12.FormSubmitDirective, typeof i13.FormGroupNameDirective, typeof i14.FormControlNameDirective, typeof i15.ParentControlContainerDirective, typeof i16.FormSubmitSuccessfulDirective, typeof i17.FormSubmitInvalidDirective]>;
|
|
22
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RxapFormsModule>;
|
|
23
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { FormDefinition } from '../model';
|
|
3
3
|
import { RxapFormBuilder } from '../form-builder';
|
|
4
|
-
import {
|
|
4
|
+
import { FormLoadMethod, FormSubmitMethod } from './models';
|
|
5
5
|
export declare const RXAP_FORM_DEFINITION: InjectionToken<FormDefinition<any, any, any>>;
|
|
6
6
|
export declare const RXAP_FORM_DEFINITION_BUILDER: InjectionToken<RxapFormBuilder<any, import("../model").FormType<any>>>;
|
|
7
7
|
export declare const RXAP_FORM_SUBMIT_METHOD: InjectionToken<FormSubmitMethod<any>>;
|
package/lib/form-array.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UntypedFormArray } from '@angular/forms';
|
|
2
|
-
import {
|
|
2
|
+
import { AbstractControl, AsyncValidator, ControlEventOptions, ControlOptions, ControlPath, ControlState, EmitEvent, ExtractStrings, OnlySelf, Validator } from './types';
|
|
3
3
|
import { Observable, Subscription } from 'rxjs';
|
|
4
|
-
import { FormArrayOptions,
|
|
4
|
+
import { FormArrayOptions, FormDefinition, FormType } from './model';
|
|
5
5
|
export declare class RxapFormArray<T = any, E extends object = any, Parent extends object = any> extends UntypedFormArray implements AbstractControl<T[]> {
|
|
6
6
|
controls: Array<AbstractControl<T>>;
|
|
7
7
|
private _readonly;
|
package/lib/form-control.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UntypedFormControl } from '@angular/forms';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Observable, Subject, Subscription } from 'rxjs';
|
|
3
|
+
import { FormDefinition, FormType, RxapAbstractControlOptions, SetValueFn } from './model';
|
|
4
|
+
import { AsyncValidator, ControlEventOptions, ControlOptions, ControlState, EmitEvent, ExtractStrings, OnlySelf, OrBoxedValue, Validator } from './types';
|
|
5
5
|
export declare class RxapFormControl<T = any, E extends object = any, Parent extends object = any> extends UntypedFormControl {
|
|
6
6
|
/**
|
|
7
7
|
* @internal
|
|
@@ -22,11 +22,11 @@ export declare class RxapFormControl<T = any, E extends object = any, Parent ext
|
|
|
22
22
|
readonly disabled$: Observable<boolean>;
|
|
23
23
|
readonly enabled$: Observable<boolean>;
|
|
24
24
|
get readonly(): boolean;
|
|
25
|
+
set readonly(value: boolean);
|
|
25
26
|
readonly status$: Observable<ControlState>;
|
|
26
27
|
readonly errors$: Observable<E | null>;
|
|
27
28
|
readonly controlId: string;
|
|
28
29
|
private readonly _onSetValue;
|
|
29
|
-
set readonly(value: boolean);
|
|
30
30
|
readonly stateChanges: Subject<void>;
|
|
31
31
|
readonly readonly$: Observable<boolean>;
|
|
32
32
|
get controlPath(): string;
|
package/lib/form-group.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable, Subscription } from 'rxjs';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
4
|
-
import { FormGroupOptions, FormType
|
|
3
|
+
import { AbstractControl, AsyncValidator, ControlEventOptions, ControlOptions, ControlState, EmitEvent, ExtractAbstractControl, ExtractStrings, KeyValueControls, OnlySelf, ValidationErrors, Validator } from './types';
|
|
4
|
+
import { FormDefinition, FormGroupOptions, FormType } from './model';
|
|
5
5
|
export declare class RxapFormGroup<T = any, E extends ValidationErrors = any> extends UntypedFormGroup {
|
|
6
6
|
controls: ExtractAbstractControl<KeyValueControls<T>, T>;
|
|
7
7
|
/**
|
package/lib/model.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { AbstractType, InjectionToken, StaticProvider, Type } from '@angular/core';
|
|
1
2
|
import { AbstractControlOptions, AsyncValidatorFn, ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { Constructor } from '@rxap/utilities';
|
|
3
|
-
import type { RxapFormGroup } from './form-group';
|
|
4
|
-
import { StaticProvider, Type, InjectionToken, AbstractType } from '@angular/core';
|
|
5
|
-
import { RxapFormControl } from './form-control';
|
|
6
|
-
import { AbstractControl, ControlOptions } from './types';
|
|
7
3
|
import { BaseDefinitionMetadata } from '@rxap/definition';
|
|
4
|
+
import { Constructor, NonEmpty } from '@rxap/utilities';
|
|
8
5
|
import { RxapFormArray } from './form-array';
|
|
6
|
+
import { RxapFormControl } from './form-control';
|
|
7
|
+
import type { RxapFormGroup } from './form-group';
|
|
8
|
+
import { AbstractControl, ControlOptions } from './types';
|
|
9
9
|
export interface InjectableValidator {
|
|
10
10
|
validate?: ValidatorFn;
|
|
11
11
|
asyncValidate?: AsyncValidatorFn;
|
|
@@ -17,6 +17,8 @@ export interface _RxapAbstractControlOptions extends AbstractControlOptions {
|
|
|
17
17
|
state?: any | (() => any);
|
|
18
18
|
injectValidators?: Array<Type<InjectableValidator> | InjectionToken<InjectableValidator> | AbstractType<InjectableValidator>>;
|
|
19
19
|
controlType?: Constructor<RxapFormControl>;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
readonly?: boolean;
|
|
20
22
|
}
|
|
21
23
|
export type RxapAbstractControlOptions<T extends Record<string, any> = Record<string, any>> = _RxapAbstractControlOptions & T;
|
|
22
24
|
export interface RxapAbstractControlOptionsWithDefinition extends RxapAbstractControlOptions {
|
|
@@ -48,7 +50,7 @@ export interface FormDefinitionArray<T> extends Array<T> {
|
|
|
48
50
|
rxapFormArray: RxapFormArray;
|
|
49
51
|
}
|
|
50
52
|
export type FormType<T> = Partial<FormDefinition<T>> & {
|
|
51
|
-
[K in keyof T]: T[K] extends (infer U)[] ? FormDefinitionArray<FormType<U>> | RxapFormControl<T[K]> | RxapFormArray<U> : T[K] extends Record<string, any> ? (FormType<T[K]> & Partial<FormDefinition<T[K]>>) | RxapFormControl<T[K]> : RxapFormControl<T[K]
|
|
53
|
+
[K in keyof T]: T[K] extends (infer U)[] ? FormDefinitionArray<FormType<U>> | FormDefinitionArray<RxapFormControl<U>> | RxapFormControl<T[K]> | RxapFormArray<U> : T[K] extends Record<string, any> ? (FormType<T[K]> & Partial<FormDefinition<T[K]>>) | RxapFormControl<T[K]> : RxapFormControl<NonEmpty<T[K]>>;
|
|
52
54
|
};
|
|
53
55
|
export interface FormOptions extends RxapAbstractControlOptions {
|
|
54
56
|
id: string;
|
|
@@ -11,7 +11,7 @@ export interface ComplexityOptions {
|
|
|
11
11
|
range?: number;
|
|
12
12
|
exact?: number;
|
|
13
13
|
}
|
|
14
|
-
export declare function IsComplex({ message, options }: {
|
|
14
|
+
export declare function IsComplex({ message, options, }: {
|
|
15
15
|
message?: string;
|
|
16
16
|
options: ComplexityOptions;
|
|
17
17
|
}): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
2
|
import { IsEmailOptions } from '@rxap/validator';
|
|
3
|
-
export declare function IsEmail({ message, options }?: {
|
|
3
|
+
export declare function IsEmail({ message, options, }?: {
|
|
4
4
|
message?: string;
|
|
5
5
|
options?: IsEmailOptions;
|
|
6
6
|
}): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
export declare function IsEnum({ message, entity }: {
|
|
2
|
+
export declare function IsEnum({ message, entity, }: {
|
|
3
3
|
message?: string;
|
|
4
4
|
entity: any;
|
|
5
5
|
}): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
2
|
import { IsNumberOptions } from './is-number';
|
|
3
|
-
export declare function IsInt({ message, options }?: {
|
|
3
|
+
export declare function IsInt({ message, options, }?: {
|
|
4
4
|
message?: string;
|
|
5
5
|
options?: IsNumberOptions;
|
|
6
6
|
}): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
export declare function IsIP({ message, version }?: {
|
|
2
|
+
export declare function IsIP({ message, version, }?: {
|
|
3
3
|
message?: string;
|
|
4
4
|
version?: string | number;
|
|
5
5
|
}): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -18,7 +18,7 @@ export declare function isNumber(value: unknown, options?: IsNumberOptions): val
|
|
|
18
18
|
* @constructor
|
|
19
19
|
*/
|
|
20
20
|
export declare function IsNumber(control: AbstractControl): ValidationErrors | null;
|
|
21
|
-
export declare function _IsNumber({ message, options }?: {
|
|
21
|
+
export declare function _IsNumber({ message, options, }?: {
|
|
22
22
|
message?: string;
|
|
23
23
|
options?: IsNumberOptions;
|
|
24
24
|
}): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
import {
|
|
3
|
-
export declare function IsPhoneNumber({ message, locale, options }?: {
|
|
2
|
+
import { IsMobilePhoneOptions, MobilePhoneLocale } from '@rxap/validator';
|
|
3
|
+
export declare function IsPhoneNumber({ message, locale, options, }?: {
|
|
4
4
|
message?: string;
|
|
5
5
|
locale?: 'any' | MobilePhoneLocale | MobilePhoneLocale[];
|
|
6
6
|
options?: IsMobilePhoneOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
2
|
import { IsURLOptions } from '@rxap/validator';
|
|
3
|
-
export declare function IsUrl({ message, options }?: {
|
|
3
|
+
export declare function IsUrl({ message, options, }?: {
|
|
4
4
|
message?: string;
|
|
5
5
|
options?: IsURLOptions;
|
|
6
6
|
}): (control: AbstractControl) => ValidationErrors | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
export declare function IsUUID({ message, version }?: {
|
|
2
|
+
export declare function IsUUID({ message, version, }?: {
|
|
3
3
|
message?: string;
|
|
4
4
|
version?: string;
|
|
5
5
|
}): (control: AbstractControl) => ValidationErrors | null;
|
package/package.json
CHANGED
|
@@ -1,62 +1,89 @@
|
|
|
1
1
|
{
|
|
2
|
+
"version": "16.0.0-dev.21",
|
|
2
3
|
"name": "@rxap/forms",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
"homepage": "https://gitlab.com/rxap/packages/libs/forms",
|
|
7
|
-
"repository": "git@gitlab.com:rxap/packages.git",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"rxap",
|
|
10
|
-
"forms",
|
|
11
|
-
"angular"
|
|
12
|
-
],
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
15
|
-
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
4
|
+
"license": "GPL-3.0-or-later",
|
|
5
|
+
"dependencies": {
|
|
6
|
+
"tslib": "2.6.2"
|
|
16
7
|
},
|
|
17
|
-
"description": "A typed extension for @angular/forms.",
|
|
18
|
-
"license": "BSD-3-Clause",
|
|
19
8
|
"peerDependencies": {
|
|
20
|
-
"@angular
|
|
21
|
-
"@angular
|
|
22
|
-
"@angular/
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"@rxap/
|
|
30
|
-
"@rxap/
|
|
31
|
-
"
|
|
32
|
-
"@
|
|
33
|
-
"reflect-metadata": "^0.1.13",
|
|
34
|
-
"rxjs": "^6.6.0"
|
|
9
|
+
"@angular/core": "^16.1.4",
|
|
10
|
+
"@angular/forms": "^16.1.4",
|
|
11
|
+
"@angular/router": "^16.1.4",
|
|
12
|
+
"@rxap/definition": "^16.0.0-dev.18",
|
|
13
|
+
"@rxap/directives": "^16.0.0-dev.19",
|
|
14
|
+
"@rxap/pattern": "^1.1.0-dev.2",
|
|
15
|
+
"@rxap/reflect-metadata": "^1.0.1-dev.13",
|
|
16
|
+
"@rxap/rxjs": "^1.0.1-dev.13",
|
|
17
|
+
"@rxap/services": "^16.0.0-dev.22",
|
|
18
|
+
"@rxap/utilities": "^16.0.0-dev.23",
|
|
19
|
+
"@rxap/validator": "^3.0.0-dev.14",
|
|
20
|
+
"rxjs": "^7.8.1",
|
|
21
|
+
"@angular/platform-browser": "16.1.4"
|
|
35
22
|
},
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"ts-morph": "^13.0.3",
|
|
40
|
-
"tslib": "^2.3.1"
|
|
23
|
+
"author": {
|
|
24
|
+
"name": "Merzough Münker",
|
|
25
|
+
"email": "mmuenker@digitaix.com"
|
|
41
26
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://gitlab.com/rxap/packages/-/issues",
|
|
29
|
+
"email": "incoming+rxap-packages-14898188-issue-@incoming.gitlab.com"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https:/gitlab.com/rxap/packages/packages/angular/forms",
|
|
32
|
+
"keywords": [
|
|
33
|
+
"angular",
|
|
34
|
+
"angular-forms",
|
|
35
|
+
"forms",
|
|
36
|
+
"ngx",
|
|
37
|
+
"packages",
|
|
38
|
+
"rxap"
|
|
39
|
+
],
|
|
40
|
+
"nx-migrations": {
|
|
45
41
|
"packageGroup": [
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
42
|
+
{
|
|
43
|
+
"package": "@rxap/definition",
|
|
44
|
+
"version": "16.0.0-dev.18"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"package": "@rxap/directives",
|
|
48
|
+
"version": "16.0.0-dev.19"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"package": "@rxap/pattern",
|
|
52
|
+
"version": "1.1.0-dev.2"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"package": "@rxap/reflect-metadata",
|
|
56
|
+
"version": "1.0.1-dev.13"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"package": "@rxap/rxjs",
|
|
60
|
+
"version": "1.0.1-dev.13"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"package": "@rxap/services",
|
|
64
|
+
"version": "16.0.0-dev.22"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"package": "@rxap/utilities",
|
|
68
|
+
"version": "16.0.0-dev.23"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"package": "@rxap/validator",
|
|
72
|
+
"version": "3.0.0-dev.14"
|
|
73
|
+
}
|
|
51
74
|
]
|
|
52
75
|
},
|
|
53
76
|
"publishConfig": {
|
|
54
|
-
"
|
|
55
|
-
"
|
|
77
|
+
"access": "public",
|
|
78
|
+
"directory": "../../../dist/packages/angular/forms"
|
|
56
79
|
},
|
|
57
|
-
"
|
|
58
|
-
"
|
|
80
|
+
"repository": {
|
|
81
|
+
"type": "git",
|
|
82
|
+
"url": "https://gitlab.com/rxap/packages.git",
|
|
83
|
+
"directory": "packages/angular/forms"
|
|
59
84
|
},
|
|
85
|
+
"sideEffects": false,
|
|
86
|
+
"gitHead": "68411f5a5ebbd4f29fa2316a7c9f04250cbd5d97",
|
|
60
87
|
"module": "fesm2022/rxap-forms.mjs",
|
|
61
88
|
"typings": "index.d.ts",
|
|
62
89
|
"exports": {
|
|
@@ -68,7 +95,7 @@
|
|
|
68
95
|
"esm2022": "./esm2022/rxap-forms.mjs",
|
|
69
96
|
"esm": "./esm2022/rxap-forms.mjs",
|
|
70
97
|
"default": "./fesm2022/rxap-forms.mjs"
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
98
|
+
},
|
|
99
|
+
"./theme": "./theme.css"
|
|
100
|
+
}
|
|
101
|
+
}
|
package/theme.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline{display:inline}.table{display:table}.contents{display:contents}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.invert{--tw-invert:invert(100%)}.filter,.invert{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}
|
package/collection.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schematics": {
|
|
3
|
-
"ng-add": {
|
|
4
|
-
"description": "Setup the package @rxap/forms for the workspace.",
|
|
5
|
-
"factory": "./src/schematics/ng-add/index",
|
|
6
|
-
"schema": "./src/schematics/ng-add/schema.json"
|
|
7
|
-
}
|
|
8
|
-
},
|
|
9
|
-
"$schema": "../../node_modules/@angular-devkit/schematics/collection-schema.json"
|
|
10
|
-
}
|
package/migration.json
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
-
export declare function CreateEmptyInterface(content: string, className: string): string;
|
|
3
|
-
export declare function AddMissingType(content: string): string | null;
|
|
4
|
-
export declare function UpdateType(content: string): string | null;
|
|
5
|
-
export default function (): Rule;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateType = exports.AddMissingType = exports.CreateEmptyInterface = void 0;
|
|
4
|
-
const ts_morph_1 = require("ts-morph");
|
|
5
|
-
function CreateEmptyInterface(content, className) {
|
|
6
|
-
var _a;
|
|
7
|
-
const project = new ts_morph_1.Project({
|
|
8
|
-
manipulationSettings: {
|
|
9
|
-
indentationText: ts_morph_1.IndentationText.TwoSpaces,
|
|
10
|
-
quoteKind: ts_morph_1.QuoteKind.Single,
|
|
11
|
-
},
|
|
12
|
-
useInMemoryFileSystem: true,
|
|
13
|
-
});
|
|
14
|
-
const sourceFile = project.createSourceFile('file.ts', content);
|
|
15
|
-
const interfaceStructure = {
|
|
16
|
-
name: `I${className}`,
|
|
17
|
-
isExported: true,
|
|
18
|
-
};
|
|
19
|
-
sourceFile.insertInterface(((_a = sourceFile
|
|
20
|
-
.getImportDeclarations()
|
|
21
|
-
.map((id) => id.getChildIndex())
|
|
22
|
-
.sort()
|
|
23
|
-
.reverse()[0]) !== null && _a !== void 0 ? _a : -1) + 1, interfaceStructure);
|
|
24
|
-
return sourceFile.getFullText();
|
|
25
|
-
}
|
|
26
|
-
exports.CreateEmptyInterface = CreateEmptyInterface;
|
|
27
|
-
function AddMissingType(content) {
|
|
28
|
-
const regex = /new RxapFormBuilder\(([^,\)]+)/;
|
|
29
|
-
let match = content.match(regex);
|
|
30
|
-
if (match) {
|
|
31
|
-
while ((match = content.match(regex))) {
|
|
32
|
-
const formClass = match[1].trim();
|
|
33
|
-
if (!content.includes(`I${formClass}`)) {
|
|
34
|
-
content = CreateEmptyInterface(content, formClass);
|
|
35
|
-
}
|
|
36
|
-
content = content.replace(regex, 'new RxapFormBuilder<I$1>($1');
|
|
37
|
-
}
|
|
38
|
-
return content;
|
|
39
|
-
}
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
exports.AddMissingType = AddMissingType;
|
|
43
|
-
function UpdateType(content) {
|
|
44
|
-
const regex = /RxapFormBuilder<([^I][^>]+)>/;
|
|
45
|
-
let match = content.match(regex);
|
|
46
|
-
if (match) {
|
|
47
|
-
while ((match = content.match(regex))) {
|
|
48
|
-
const formClass = match[1].trim();
|
|
49
|
-
if (!content.includes(`I${formClass}`)) {
|
|
50
|
-
content = CreateEmptyInterface(content, formClass);
|
|
51
|
-
}
|
|
52
|
-
content = content.replace(regex, 'RxapFormBuilder<I$1>');
|
|
53
|
-
}
|
|
54
|
-
return content;
|
|
55
|
-
}
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
exports.UpdateType = UpdateType;
|
|
59
|
-
function default_1() {
|
|
60
|
-
return (host) => {
|
|
61
|
-
host.visit((path, entry) => {
|
|
62
|
-
var _a, _b;
|
|
63
|
-
if (entry && path.match(/\.ts$/) && !path.match(/\/node_modules\//)) {
|
|
64
|
-
let originalContent;
|
|
65
|
-
let content = (originalContent = entry.content.toString('utf-8'));
|
|
66
|
-
content = (_a = AddMissingType(content)) !== null && _a !== void 0 ? _a : content;
|
|
67
|
-
content = (_b = UpdateType(content)) !== null && _b !== void 0 ? _b : content;
|
|
68
|
-
if (originalContent !== content) {
|
|
69
|
-
host.overwrite(path, content);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
exports.default = default_1;
|
|
76
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/forms/src/migrations/v12-2-1/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schematics_utilities_1 = require("@rxap/schematics-utilities");
|
|
4
|
-
function default_1() {
|
|
5
|
-
return (0, schematics_utilities_1.InstallPeerDependencies)();
|
|
6
|
-
}
|
|
7
|
-
exports.default = default_1;
|
|
8
|
-
//# sourceMappingURL=index.js.map
|