@rxap/forms 18.0.3 → 18.0.4
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 +8 -0
- package/README.md +1 -1
- package/compodoc/dependencies.html +9 -9
- package/compodoc/index.html +1 -1
- package/compodoc/js/search/search_index.js +2 -2
- package/docs/classes/ControlValueAccessor.html +2 -2
- package/docs/classes/FormArrayControlManager.html +2 -2
- package/docs/classes/FormControlErrorDirective.html +2 -2
- package/docs/classes/FormControlMarkDirtyDirective.html +2 -2
- package/docs/classes/FormControlMarkPristineDirective.html +2 -2
- package/docs/classes/FormControlMarkTouchedDirective.html +2 -2
- package/docs/classes/FormControlMarkUntouchedDirective.html +2 -2
- package/docs/classes/FormControlNameDirective.html +3 -3
- package/docs/classes/FormDirective.html +13 -13
- package/docs/classes/FormGroupNameDirective.html +3 -3
- package/docs/classes/FormLoadedDirective.html +2 -2
- package/docs/classes/FormLoadingDirective.html +2 -2
- package/docs/classes/FormLoadingErrorDirective.html +2 -2
- package/docs/classes/FormSubmitDirective.html +2 -2
- package/docs/classes/FormSubmitFailedDirective.html +2 -2
- package/docs/classes/FormSubmitInvalidDirective.html +2 -2
- package/docs/classes/FormSubmitSuccessfulDirective.html +2 -2
- package/docs/classes/FormSubmittingDirective.html +2 -2
- package/docs/classes/ParentControlContainerDirective.html +1 -1
- package/docs/classes/RxapFormArray.html +33 -33
- package/docs/classes/RxapFormBuilder.html +7 -7
- package/docs/classes/RxapFormControl.html +21 -21
- package/docs/classes/RxapFormGroup.html +21 -21
- package/docs/classes/RxapFormsModule.html +1 -1
- package/docs/documentation.json +1153 -1153
- package/docs/enums/MetadataKeys.html +2 -2
- package/docs/functions/ControlAsyncValidator.html +1 -1
- package/docs/functions/ControlChange.html +1 -1
- package/docs/functions/ControlSetValue.html +1 -1
- package/docs/functions/ControlValidator.html +1 -1
- package/docs/functions/IsArray.html +1 -1
- package/docs/functions/IsBoolean.html +1 -1
- package/docs/functions/IsComplex.html +1 -1
- package/docs/functions/IsDate.html +1 -1
- package/docs/functions/IsEmail.html +1 -1
- package/docs/functions/IsEnum.html +1 -1
- package/docs/functions/IsIP.html +1 -1
- package/docs/functions/IsInt.html +1 -1
- package/docs/functions/IsNumber.html +1 -1
- package/docs/functions/IsObject.html +1 -1
- package/docs/functions/IsPhoneNumber.html +1 -1
- package/docs/functions/IsPort.html +1 -1
- package/docs/functions/IsString.html +1 -1
- package/docs/functions/IsUUID.html +1 -1
- package/docs/functions/IsUrl.html +1 -1
- package/docs/functions/RxapForm.html +1 -1
- package/docs/functions/ToFormMethod.html +1 -1
- package/docs/functions/ToFormSubmitMethod.html +1 -1
- package/docs/functions/UseFormArrayControl.html +1 -1
- package/docs/functions/UseFormArrayGroup.html +1 -1
- package/docs/functions/UseFormControl.html +1 -1
- package/docs/functions/UseFormGroup.html +1 -1
- package/docs/functions/_IsNumber.html +1 -1
- package/docs/functions/controlDisabledWhile.html +1 -1
- package/docs/functions/controlDisabled_.html +1 -1
- package/docs/functions/controlEnabledWhile.html +1 -1
- package/docs/functions/controlEnabled_.html +1 -1
- package/docs/functions/controlErrorChanges_.html +1 -1
- package/docs/functions/controlReadonly_.html +1 -1
- package/docs/functions/controlStatusChanges_.html +1 -1
- package/docs/functions/controlValueChanges_.html +1 -1
- package/docs/functions/disableControl.html +1 -1
- package/docs/functions/enableControl.html +1 -1
- package/docs/functions/hasErrorAndDirty.html +1 -1
- package/docs/functions/hasErrorAndTouched.html +1 -1
- package/docs/functions/isNumber-1.html +1 -1
- package/docs/functions/markAllDirty.html +1 -1
- package/docs/functions/markAllPristine.html +1 -1
- package/docs/functions/markAllUntouched.html +1 -1
- package/docs/functions/mergeControlValidators.html +1 -1
- package/docs/functions/selectControlValue_.html +1 -1
- package/docs/functions/validateControlOn.html +1 -1
- package/docs/index.html +1 -1
- package/docs/interfaces/AbstractControl.html +5 -5
- package/docs/interfaces/AbstractControlOptions.html +3 -3
- package/docs/interfaces/BoxedValue.html +2 -2
- package/docs/interfaces/ComplexityOptions.html +2 -2
- package/docs/interfaces/ControlOptions.html +3 -3
- package/docs/interfaces/ControlSetValueOptions.html +2 -2
- package/docs/interfaces/FormArrayOptions.html +2 -2
- package/docs/interfaces/FormDefinition.html +6 -6
- package/docs/interfaces/FormDefinitionArray.html +2 -2
- package/docs/interfaces/FormDefinitionMetadata.html +2 -2
- package/docs/interfaces/FormGroupOptions.html +2 -2
- package/docs/interfaces/FormLoadFailedMethod.html +2 -2
- package/docs/interfaces/FormLoadMethod.html +2 -2
- package/docs/interfaces/FormLoadSuccessfulMethod.html +2 -2
- package/docs/interfaces/FormOptions.html +2 -2
- package/docs/interfaces/FormSubmitFailedMethod.html +2 -2
- package/docs/interfaces/FormSubmitMethod.html +2 -2
- package/docs/interfaces/FormSubmitSuccessfulMethod.html +2 -2
- package/docs/interfaces/InjectableValidator.html +2 -2
- package/docs/interfaces/IsNumberOptions.html +2 -2
- package/docs/interfaces/NgValidatorsErrors.html +2 -2
- package/docs/interfaces/RxapAbstractControlOptionsWithDefinition.html +2 -2
- package/docs/interfaces/_RxapAbstractControlOptions.html +2 -2
- package/docs/types/AsyncValidator.html +1 -1
- package/docs/types/AsyncValidatorFn.html +1 -1
- package/docs/types/ChangeFn.html +1 -1
- package/docs/types/ControlEventOptions.html +1 -1
- package/docs/types/ControlInsertedFn.html +1 -1
- package/docs/types/ControlPath.html +1 -1
- package/docs/types/ControlRemovedFn.html +1 -1
- package/docs/types/ControlState.html +1 -1
- package/docs/types/EmitEvent.html +1 -1
- package/docs/types/ExtractAbstractControl.html +1 -1
- package/docs/types/ExtractStrings.html +1 -1
- package/docs/types/FormBuilderFn.html +1 -1
- package/docs/types/FormType.html +1 -1
- package/docs/types/KeyValueControls.html +1 -1
- package/docs/types/OnlySelf.html +1 -1
- package/docs/types/OrBoxedValue.html +1 -1
- package/docs/types/RxapAbstractControlOptions.html +1 -1
- package/docs/types/SetValueFn.html +1 -1
- package/docs/types/ValidationErrors.html +1 -1
- package/docs/types/Validator.html +1 -1
- package/docs/types/ValidatorFn.html +1 -1
- package/docs/types/ValidatorOrOpts.html +1 -1
- package/docs/variables/RXAP_FORM_CONTEXT.html +1 -1
- package/docs/variables/RXAP_FORM_DEFINITION.html +1 -1
- package/docs/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
- package/docs/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
- package/docs/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
- package/docs/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
- package/docs/variables/RxapValidators.html +1 -1
- 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 +2 -2
- package/esm2022/lib/decorators/control-validator.mjs +2 -2
- package/esm2022/lib/decorators/form.mjs +1 -1
- package/esm2022/lib/decorators/use-form-array.mjs +2 -2
- package/esm2022/lib/decorators/use-form-control.mjs +2 -2
- package/esm2022/lib/decorators/use-form-group.mjs +2 -2
- package/esm2022/lib/directives/form-control-error.directive.mjs +1 -1
- package/esm2022/lib/directives/form-loaded.directive.mjs +2 -2
- package/esm2022/lib/directives/form-loading-error.directive.mjs +2 -2
- package/esm2022/lib/directives/form-loading.directive.mjs +2 -2
- package/esm2022/lib/directives/form-submit-failed.directive.mjs +2 -2
- package/esm2022/lib/directives/form-submit-invalid.directive.mjs +2 -2
- package/esm2022/lib/directives/form-submit-successful.directive.mjs +2 -2
- package/esm2022/lib/directives/form-submit.directive.mjs +4 -4
- package/esm2022/lib/directives/form-submitting.directive.mjs +2 -2
- package/esm2022/lib/directives/form.directive.mjs +4 -4
- package/esm2022/lib/directives/forms.module.mjs +12 -12
- package/esm2022/lib/directives/tokens.mjs +1 -1
- package/esm2022/lib/validators/index.mjs +10 -10
- package/fesm2022/rxap-forms.mjs +132 -132
- package/fesm2022/rxap-forms.mjs.map +1 -1
- package/lib/directives/form-control-error.directive.d.ts +1 -1
- package/lib/directives/form-submit.directive.d.ts +1 -1
- package/lib/directives/form.directive.d.ts +4 -4
- package/lib/directives/tokens.d.ts +1 -1
- package/lib/validators/index.d.ts +9 -9
- package/package.json +19 -19
- package/theme.css +95 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { ValidationErrors } from '../types';
|
|
3
2
|
import { ControlContainer } from '@angular/forms';
|
|
3
|
+
import { ValidationErrors } from '../types';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated removed use the rxapControlError or rxapControlErrors directive
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { FormDirective } from './form.directive';
|
|
3
2
|
import { Router } from '@angular/router';
|
|
4
3
|
import { ConfirmClick } from '@rxap/directives';
|
|
4
|
+
import { FormDirective } from './form.directive';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class FormSubmitDirective extends ConfirmClick implements OnDestroy {
|
|
7
7
|
private readonly formDirective;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { FormGroupDirective } from '@angular/forms';
|
|
3
|
+
import { ToggleSubject } from '@rxap/rxjs';
|
|
4
|
+
import { LoadingIndicatorService } from '@rxap/services';
|
|
5
|
+
import { BehaviorSubject } from 'rxjs';
|
|
6
|
+
import { RxapFormBuilder } from '../form-builder';
|
|
3
7
|
import { RxapFormGroup } from '../form-group';
|
|
4
8
|
import { FormDefinition } from '../model';
|
|
5
9
|
import { FormLoadFailedMethod, FormLoadMethod, FormLoadSuccessfulMethod, FormSubmitFailedMethod, FormSubmitMethod, FormSubmitSuccessfulMethod } from './models';
|
|
6
|
-
import { BehaviorSubject } from 'rxjs';
|
|
7
|
-
import { RxapFormBuilder } from '../form-builder';
|
|
8
|
-
import { LoadingIndicatorService } from '@rxap/services';
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { FormDefinition } from '../model';
|
|
3
2
|
import { RxapFormBuilder } from '../form-builder';
|
|
3
|
+
import { FormDefinition } from '../model';
|
|
4
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>>>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _IsNumber as IsNumber } from './is-number';
|
|
2
|
-
import { IsBoolean } from './is-boolean';
|
|
3
|
-
import { IsObject } from './is-object';
|
|
4
|
-
import { IsString } from './is-string';
|
|
5
|
-
import { IsInt } from './is-int';
|
|
6
|
-
import { IsEnum } from './is-enum';
|
|
7
|
-
import { IsDate } from './is-date';
|
|
8
1
|
import { IsArray } from './is-array';
|
|
2
|
+
import { IsBoolean } from './is-boolean';
|
|
9
3
|
import { IsComplex } from './is-complex';
|
|
10
|
-
import {
|
|
4
|
+
import { IsDate } from './is-date';
|
|
11
5
|
import { IsEmail } from './is-email';
|
|
12
|
-
import {
|
|
6
|
+
import { IsEnum } from './is-enum';
|
|
7
|
+
import { IsInt } from './is-int';
|
|
13
8
|
import { IsIP } from './is-ip';
|
|
9
|
+
import { _IsNumber as IsNumber } from './is-number';
|
|
10
|
+
import { IsObject } from './is-object';
|
|
11
|
+
import { IsPhoneNumber } from './is-phone-number';
|
|
14
12
|
import { IsPort } from './is-port';
|
|
13
|
+
import { IsString } from './is-string';
|
|
14
|
+
import { IsUrl } from './is-url';
|
|
15
15
|
import { IsUUID } from './is-uuid';
|
|
16
16
|
export declare const RxapValidators: {
|
|
17
17
|
IsNumber: typeof IsNumber;
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "18.0.
|
|
2
|
+
"version": "18.0.4",
|
|
3
3
|
"name": "@rxap/forms",
|
|
4
4
|
"license": "GPL-3.0-or-later",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@nx/devkit": "19.3.
|
|
6
|
+
"@nx/devkit": "19.3.2",
|
|
7
7
|
"tslib": "2.6.2"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/core": "^18.0.1",
|
|
11
11
|
"@angular/forms": "^18.0.1",
|
|
12
12
|
"@angular/router": "^18.0.1",
|
|
13
|
-
"@rxap/definition": "^18.0.
|
|
14
|
-
"@rxap/directives": "^18.0.
|
|
15
|
-
"@rxap/pattern": "^1.1.
|
|
16
|
-
"@rxap/reflect-metadata": "^1.0.
|
|
17
|
-
"@rxap/rxjs": "^1.1.
|
|
18
|
-
"@rxap/services": "^18.0.
|
|
19
|
-
"@rxap/utilities": "^16.2.
|
|
20
|
-
"@rxap/validator": "^3.0.
|
|
13
|
+
"@rxap/definition": "^18.0.4-dev.0",
|
|
14
|
+
"@rxap/directives": "^18.0.4-dev.0",
|
|
15
|
+
"@rxap/pattern": "^1.1.6-dev.0",
|
|
16
|
+
"@rxap/reflect-metadata": "^1.0.8-dev.0",
|
|
17
|
+
"@rxap/rxjs": "^1.1.7-dev.0",
|
|
18
|
+
"@rxap/services": "^18.0.4-dev.0",
|
|
19
|
+
"@rxap/utilities": "^16.2.5-dev.0",
|
|
20
|
+
"@rxap/validator": "^3.0.6-dev.0",
|
|
21
21
|
"rxjs": "^7.8.1"
|
|
22
22
|
},
|
|
23
23
|
"author": {
|
|
@@ -63,35 +63,35 @@
|
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"package": "@rxap/definition",
|
|
66
|
-
"version": "18.0.
|
|
66
|
+
"version": "18.0.4-dev.0"
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"package": "@rxap/directives",
|
|
70
|
-
"version": "18.0.
|
|
70
|
+
"version": "18.0.4-dev.0"
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
"package": "@rxap/pattern",
|
|
74
|
-
"version": "1.1.
|
|
74
|
+
"version": "1.1.6-dev.0"
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"package": "@rxap/reflect-metadata",
|
|
78
|
-
"version": "1.0.
|
|
78
|
+
"version": "1.0.8-dev.0"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"package": "@rxap/rxjs",
|
|
82
|
-
"version": "1.1.
|
|
82
|
+
"version": "1.1.7-dev.0"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
"package": "@rxap/services",
|
|
86
|
-
"version": "18.0.
|
|
86
|
+
"version": "18.0.4-dev.0"
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
"package": "@rxap/utilities",
|
|
90
|
-
"version": "16.2.
|
|
90
|
+
"version": "16.2.5-dev.0"
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
"package": "@rxap/validator",
|
|
94
|
-
"version": "3.0.
|
|
94
|
+
"version": "3.0.6-dev.0"
|
|
95
95
|
}
|
|
96
96
|
]
|
|
97
97
|
},
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"directory": "packages/angular/forms"
|
|
106
106
|
},
|
|
107
107
|
"sideEffects": false,
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "0b6c6343f75ae6f5c02689f47801ba8b8fed2488",
|
|
109
109
|
"module": "fesm2022/rxap-forms.mjs",
|
|
110
110
|
"typings": "index.d.ts",
|
|
111
111
|
"exports": {
|
package/theme.css
CHANGED
|
@@ -1 +1,95 @@
|
|
|
1
|
-
.container
|
|
1
|
+
.container {
|
|
2
|
+
width: 100%
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
@media (min-width: 640px) {
|
|
6
|
+
.container {
|
|
7
|
+
max-width: 640px
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media (min-width: 768px) {
|
|
12
|
+
.container {
|
|
13
|
+
max-width: 768px
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (min-width: 1024px) {
|
|
18
|
+
.container {
|
|
19
|
+
max-width: 1024px
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media (min-width: 1280px) {
|
|
24
|
+
.container {
|
|
25
|
+
max-width: 1280px
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (min-width: 1536px) {
|
|
30
|
+
.container {
|
|
31
|
+
max-width: 1536px
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.static {
|
|
36
|
+
position: static
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.fixed {
|
|
40
|
+
position: fixed
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.relative {
|
|
44
|
+
position: relative
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.sticky {
|
|
48
|
+
position: sticky
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.block {
|
|
52
|
+
display: block
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.inline {
|
|
56
|
+
display: inline
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.table {
|
|
60
|
+
display: table
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.contents {
|
|
64
|
+
display: contents
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.transform {
|
|
68
|
+
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))
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.uppercase {
|
|
72
|
+
text-transform: uppercase
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.lowercase {
|
|
76
|
+
text-transform: lowercase
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.capitalize {
|
|
80
|
+
text-transform: capitalize
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.ordinal {
|
|
84
|
+
--tw-ordinal: ordinal;
|
|
85
|
+
font-variant-numeric: var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.invert {
|
|
89
|
+
--tw-invert: invert(100%);
|
|
90
|
+
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)
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.filter {
|
|
94
|
+
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)
|
|
95
|
+
}
|