@orkestrel/form 0.0.12 → 0.0.13
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/README.md +1 -1
- package/dist/src/browser/index.d.ts +5 -592
- package/dist/src/browser/index.js +2 -180
- package/dist/src/browser/index.js.map +1 -1
- package/dist/src/core/index.cjs +1 -1
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +3 -3
- package/dist/src/core/index.d.ts +3 -3
- package/dist/src/core/index.js +1 -1
- package/dist/src/core/index.js.map +1 -1
- package/package.json +10 -10
|
@@ -12,7 +12,7 @@ export declare const ALPHANUMERIC_PATTERN: Readonly<RegExp>;
|
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* The runtime control-membership check keeps this boundary total for JavaScript callers that
|
|
15
|
-
*
|
|
15
|
+
* pass values outside the declared {@link FieldControl} contract.
|
|
16
16
|
*
|
|
17
17
|
* @param control - The field control to inspect.
|
|
18
18
|
* @param rule - The named rule to inspect.
|
|
@@ -416,7 +416,7 @@ export declare type FieldRuleName = Exclude<keyof FieldRule, 'custom'>;
|
|
|
416
416
|
*
|
|
417
417
|
* @remarks
|
|
418
418
|
* It runs after every named rule, and it runs on an absent value as well as a present one. That
|
|
419
|
-
* is what makes a rule such as "required
|
|
419
|
+
* is what makes a rule such as "required after the sibling says yes" expressible, and it means an
|
|
420
420
|
* unanswered field can carry both a `required` message and this validator's own.
|
|
421
421
|
*
|
|
422
422
|
* @param value - The value the field holds, or `undefined` when nobody has answered it.
|
|
@@ -773,7 +773,7 @@ export declare interface FormGroup {
|
|
|
773
773
|
* Declares the contract a form exposes: the state it holds and the calls that move it.
|
|
774
774
|
*
|
|
775
775
|
* @remarks
|
|
776
|
-
* `valid` is true when the last completed evaluation found no error, and `dirty` is true
|
|
776
|
+
* `valid` is true when the last completed evaluation found no error, and `dirty` is true when
|
|
777
777
|
* an answer differs from its acknowledged baseline. Both are derived, never stored.
|
|
778
778
|
*
|
|
779
779
|
* `touched` holds the fields somebody has visited, which is what lets a renderer withhold an
|
package/dist/src/core/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const ALPHANUMERIC_PATTERN: Readonly<RegExp>;
|
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
14
|
* The runtime control-membership check keeps this boundary total for JavaScript callers that
|
|
15
|
-
*
|
|
15
|
+
* pass values outside the declared {@link FieldControl} contract.
|
|
16
16
|
*
|
|
17
17
|
* @param control - The field control to inspect.
|
|
18
18
|
* @param rule - The named rule to inspect.
|
|
@@ -416,7 +416,7 @@ export declare type FieldRuleName = Exclude<keyof FieldRule, 'custom'>;
|
|
|
416
416
|
*
|
|
417
417
|
* @remarks
|
|
418
418
|
* It runs after every named rule, and it runs on an absent value as well as a present one. That
|
|
419
|
-
* is what makes a rule such as "required
|
|
419
|
+
* is what makes a rule such as "required after the sibling says yes" expressible, and it means an
|
|
420
420
|
* unanswered field can carry both a `required` message and this validator's own.
|
|
421
421
|
*
|
|
422
422
|
* @param value - The value the field holds, or `undefined` when nobody has answered it.
|
|
@@ -773,7 +773,7 @@ export declare interface FormGroup {
|
|
|
773
773
|
* Declares the contract a form exposes: the state it holds and the calls that move it.
|
|
774
774
|
*
|
|
775
775
|
* @remarks
|
|
776
|
-
* `valid` is true when the last completed evaluation found no error, and `dirty` is true
|
|
776
|
+
* `valid` is true when the last completed evaluation found no error, and `dirty` is true when
|
|
777
777
|
* an answer differs from its acknowledged baseline. Both are derived, never stored.
|
|
778
778
|
*
|
|
779
779
|
* `touched` holds the fields somebody has visited, which is what lets a renderer withhold an
|
package/dist/src/core/index.js
CHANGED
|
@@ -605,7 +605,7 @@ function matchesAnswer(value) {
|
|
|
605
605
|
*
|
|
606
606
|
* @remarks
|
|
607
607
|
* The runtime control-membership check keeps this boundary total for JavaScript callers that
|
|
608
|
-
*
|
|
608
|
+
* pass values outside the declared {@link FieldControl} contract.
|
|
609
609
|
*
|
|
610
610
|
* @param control - The field control to inspect.
|
|
611
611
|
* @param rule - The named rule to inspect.
|