@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.
Files changed (164) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/compodoc/dependencies.html +9 -9
  4. package/compodoc/index.html +1 -1
  5. package/compodoc/js/search/search_index.js +2 -2
  6. package/docs/classes/ControlValueAccessor.html +2 -2
  7. package/docs/classes/FormArrayControlManager.html +2 -2
  8. package/docs/classes/FormControlErrorDirective.html +2 -2
  9. package/docs/classes/FormControlMarkDirtyDirective.html +2 -2
  10. package/docs/classes/FormControlMarkPristineDirective.html +2 -2
  11. package/docs/classes/FormControlMarkTouchedDirective.html +2 -2
  12. package/docs/classes/FormControlMarkUntouchedDirective.html +2 -2
  13. package/docs/classes/FormControlNameDirective.html +3 -3
  14. package/docs/classes/FormDirective.html +13 -13
  15. package/docs/classes/FormGroupNameDirective.html +3 -3
  16. package/docs/classes/FormLoadedDirective.html +2 -2
  17. package/docs/classes/FormLoadingDirective.html +2 -2
  18. package/docs/classes/FormLoadingErrorDirective.html +2 -2
  19. package/docs/classes/FormSubmitDirective.html +2 -2
  20. package/docs/classes/FormSubmitFailedDirective.html +2 -2
  21. package/docs/classes/FormSubmitInvalidDirective.html +2 -2
  22. package/docs/classes/FormSubmitSuccessfulDirective.html +2 -2
  23. package/docs/classes/FormSubmittingDirective.html +2 -2
  24. package/docs/classes/ParentControlContainerDirective.html +1 -1
  25. package/docs/classes/RxapFormArray.html +33 -33
  26. package/docs/classes/RxapFormBuilder.html +7 -7
  27. package/docs/classes/RxapFormControl.html +21 -21
  28. package/docs/classes/RxapFormGroup.html +21 -21
  29. package/docs/classes/RxapFormsModule.html +1 -1
  30. package/docs/documentation.json +1153 -1153
  31. package/docs/enums/MetadataKeys.html +2 -2
  32. package/docs/functions/ControlAsyncValidator.html +1 -1
  33. package/docs/functions/ControlChange.html +1 -1
  34. package/docs/functions/ControlSetValue.html +1 -1
  35. package/docs/functions/ControlValidator.html +1 -1
  36. package/docs/functions/IsArray.html +1 -1
  37. package/docs/functions/IsBoolean.html +1 -1
  38. package/docs/functions/IsComplex.html +1 -1
  39. package/docs/functions/IsDate.html +1 -1
  40. package/docs/functions/IsEmail.html +1 -1
  41. package/docs/functions/IsEnum.html +1 -1
  42. package/docs/functions/IsIP.html +1 -1
  43. package/docs/functions/IsInt.html +1 -1
  44. package/docs/functions/IsNumber.html +1 -1
  45. package/docs/functions/IsObject.html +1 -1
  46. package/docs/functions/IsPhoneNumber.html +1 -1
  47. package/docs/functions/IsPort.html +1 -1
  48. package/docs/functions/IsString.html +1 -1
  49. package/docs/functions/IsUUID.html +1 -1
  50. package/docs/functions/IsUrl.html +1 -1
  51. package/docs/functions/RxapForm.html +1 -1
  52. package/docs/functions/ToFormMethod.html +1 -1
  53. package/docs/functions/ToFormSubmitMethod.html +1 -1
  54. package/docs/functions/UseFormArrayControl.html +1 -1
  55. package/docs/functions/UseFormArrayGroup.html +1 -1
  56. package/docs/functions/UseFormControl.html +1 -1
  57. package/docs/functions/UseFormGroup.html +1 -1
  58. package/docs/functions/_IsNumber.html +1 -1
  59. package/docs/functions/controlDisabledWhile.html +1 -1
  60. package/docs/functions/controlDisabled_.html +1 -1
  61. package/docs/functions/controlEnabledWhile.html +1 -1
  62. package/docs/functions/controlEnabled_.html +1 -1
  63. package/docs/functions/controlErrorChanges_.html +1 -1
  64. package/docs/functions/controlReadonly_.html +1 -1
  65. package/docs/functions/controlStatusChanges_.html +1 -1
  66. package/docs/functions/controlValueChanges_.html +1 -1
  67. package/docs/functions/disableControl.html +1 -1
  68. package/docs/functions/enableControl.html +1 -1
  69. package/docs/functions/hasErrorAndDirty.html +1 -1
  70. package/docs/functions/hasErrorAndTouched.html +1 -1
  71. package/docs/functions/isNumber-1.html +1 -1
  72. package/docs/functions/markAllDirty.html +1 -1
  73. package/docs/functions/markAllPristine.html +1 -1
  74. package/docs/functions/markAllUntouched.html +1 -1
  75. package/docs/functions/mergeControlValidators.html +1 -1
  76. package/docs/functions/selectControlValue_.html +1 -1
  77. package/docs/functions/validateControlOn.html +1 -1
  78. package/docs/index.html +1 -1
  79. package/docs/interfaces/AbstractControl.html +5 -5
  80. package/docs/interfaces/AbstractControlOptions.html +3 -3
  81. package/docs/interfaces/BoxedValue.html +2 -2
  82. package/docs/interfaces/ComplexityOptions.html +2 -2
  83. package/docs/interfaces/ControlOptions.html +3 -3
  84. package/docs/interfaces/ControlSetValueOptions.html +2 -2
  85. package/docs/interfaces/FormArrayOptions.html +2 -2
  86. package/docs/interfaces/FormDefinition.html +6 -6
  87. package/docs/interfaces/FormDefinitionArray.html +2 -2
  88. package/docs/interfaces/FormDefinitionMetadata.html +2 -2
  89. package/docs/interfaces/FormGroupOptions.html +2 -2
  90. package/docs/interfaces/FormLoadFailedMethod.html +2 -2
  91. package/docs/interfaces/FormLoadMethod.html +2 -2
  92. package/docs/interfaces/FormLoadSuccessfulMethod.html +2 -2
  93. package/docs/interfaces/FormOptions.html +2 -2
  94. package/docs/interfaces/FormSubmitFailedMethod.html +2 -2
  95. package/docs/interfaces/FormSubmitMethod.html +2 -2
  96. package/docs/interfaces/FormSubmitSuccessfulMethod.html +2 -2
  97. package/docs/interfaces/InjectableValidator.html +2 -2
  98. package/docs/interfaces/IsNumberOptions.html +2 -2
  99. package/docs/interfaces/NgValidatorsErrors.html +2 -2
  100. package/docs/interfaces/RxapAbstractControlOptionsWithDefinition.html +2 -2
  101. package/docs/interfaces/_RxapAbstractControlOptions.html +2 -2
  102. package/docs/types/AsyncValidator.html +1 -1
  103. package/docs/types/AsyncValidatorFn.html +1 -1
  104. package/docs/types/ChangeFn.html +1 -1
  105. package/docs/types/ControlEventOptions.html +1 -1
  106. package/docs/types/ControlInsertedFn.html +1 -1
  107. package/docs/types/ControlPath.html +1 -1
  108. package/docs/types/ControlRemovedFn.html +1 -1
  109. package/docs/types/ControlState.html +1 -1
  110. package/docs/types/EmitEvent.html +1 -1
  111. package/docs/types/ExtractAbstractControl.html +1 -1
  112. package/docs/types/ExtractStrings.html +1 -1
  113. package/docs/types/FormBuilderFn.html +1 -1
  114. package/docs/types/FormType.html +1 -1
  115. package/docs/types/KeyValueControls.html +1 -1
  116. package/docs/types/OnlySelf.html +1 -1
  117. package/docs/types/OrBoxedValue.html +1 -1
  118. package/docs/types/RxapAbstractControlOptions.html +1 -1
  119. package/docs/types/SetValueFn.html +1 -1
  120. package/docs/types/ValidationErrors.html +1 -1
  121. package/docs/types/Validator.html +1 -1
  122. package/docs/types/ValidatorFn.html +1 -1
  123. package/docs/types/ValidatorOrOpts.html +1 -1
  124. package/docs/variables/RXAP_FORM_CONTEXT.html +1 -1
  125. package/docs/variables/RXAP_FORM_DEFINITION.html +1 -1
  126. package/docs/variables/RXAP_FORM_DEFINITION_BUILDER.html +1 -1
  127. package/docs/variables/RXAP_FORM_INITIAL_STATE.html +1 -1
  128. package/docs/variables/RXAP_FORM_LOAD_FAILED_METHOD.html +1 -1
  129. package/docs/variables/RXAP_FORM_LOAD_METHOD.html +1 -1
  130. package/docs/variables/RXAP_FORM_LOAD_SUCCESSFUL_METHOD.html +1 -1
  131. package/docs/variables/RXAP_FORM_SUBMIT_FAILED_METHOD.html +1 -1
  132. package/docs/variables/RXAP_FORM_SUBMIT_METHOD.html +1 -1
  133. package/docs/variables/RXAP_FORM_SUBMIT_SUCCESSFUL_METHOD.html +1 -1
  134. package/docs/variables/RxapValidators.html +1 -1
  135. package/esm2022/lib/decorators/control-async-validator.mjs +2 -2
  136. package/esm2022/lib/decorators/control-change.mjs +2 -2
  137. package/esm2022/lib/decorators/control-set-value.mjs +2 -2
  138. package/esm2022/lib/decorators/control-validator.mjs +2 -2
  139. package/esm2022/lib/decorators/form.mjs +1 -1
  140. package/esm2022/lib/decorators/use-form-array.mjs +2 -2
  141. package/esm2022/lib/decorators/use-form-control.mjs +2 -2
  142. package/esm2022/lib/decorators/use-form-group.mjs +2 -2
  143. package/esm2022/lib/directives/form-control-error.directive.mjs +1 -1
  144. package/esm2022/lib/directives/form-loaded.directive.mjs +2 -2
  145. package/esm2022/lib/directives/form-loading-error.directive.mjs +2 -2
  146. package/esm2022/lib/directives/form-loading.directive.mjs +2 -2
  147. package/esm2022/lib/directives/form-submit-failed.directive.mjs +2 -2
  148. package/esm2022/lib/directives/form-submit-invalid.directive.mjs +2 -2
  149. package/esm2022/lib/directives/form-submit-successful.directive.mjs +2 -2
  150. package/esm2022/lib/directives/form-submit.directive.mjs +4 -4
  151. package/esm2022/lib/directives/form-submitting.directive.mjs +2 -2
  152. package/esm2022/lib/directives/form.directive.mjs +4 -4
  153. package/esm2022/lib/directives/forms.module.mjs +12 -12
  154. package/esm2022/lib/directives/tokens.mjs +1 -1
  155. package/esm2022/lib/validators/index.mjs +10 -10
  156. package/fesm2022/rxap-forms.mjs +132 -132
  157. package/fesm2022/rxap-forms.mjs.map +1 -1
  158. package/lib/directives/form-control-error.directive.d.ts +1 -1
  159. package/lib/directives/form-submit.directive.d.ts +1 -1
  160. package/lib/directives/form.directive.d.ts +4 -4
  161. package/lib/directives/tokens.d.ts +1 -1
  162. package/lib/validators/index.d.ts +9 -9
  163. package/package.json +19 -19
  164. 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 { IsPhoneNumber } from './is-phone-number';
4
+ import { IsDate } from './is-date';
11
5
  import { IsEmail } from './is-email';
12
- import { IsUrl } from './is-url';
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.3",
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.0",
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.3-dev.1",
14
- "@rxap/directives": "^18.0.3-dev.2",
15
- "@rxap/pattern": "^1.1.5-dev.1",
16
- "@rxap/reflect-metadata": "^1.0.7-dev.1",
17
- "@rxap/rxjs": "^1.1.6-dev.1",
18
- "@rxap/services": "^18.0.3-dev.2",
19
- "@rxap/utilities": "^16.2.4-dev.1",
20
- "@rxap/validator": "^3.0.5-dev.1",
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.3-dev.1"
66
+ "version": "18.0.4-dev.0"
67
67
  },
68
68
  {
69
69
  "package": "@rxap/directives",
70
- "version": "18.0.3-dev.2"
70
+ "version": "18.0.4-dev.0"
71
71
  },
72
72
  {
73
73
  "package": "@rxap/pattern",
74
- "version": "1.1.5-dev.1"
74
+ "version": "1.1.6-dev.0"
75
75
  },
76
76
  {
77
77
  "package": "@rxap/reflect-metadata",
78
- "version": "1.0.7-dev.1"
78
+ "version": "1.0.8-dev.0"
79
79
  },
80
80
  {
81
81
  "package": "@rxap/rxjs",
82
- "version": "1.1.6-dev.1"
82
+ "version": "1.1.7-dev.0"
83
83
  },
84
84
  {
85
85
  "package": "@rxap/services",
86
- "version": "18.0.3-dev.2"
86
+ "version": "18.0.4-dev.0"
87
87
  },
88
88
  {
89
89
  "package": "@rxap/utilities",
90
- "version": "16.2.4-dev.1"
90
+ "version": "16.2.5-dev.0"
91
91
  },
92
92
  {
93
93
  "package": "@rxap/validator",
94
- "version": "3.0.5-dev.1"
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": "81c62bc6d1bdd0a922506db7f1edda3821eb298d",
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{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)}
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
+ }