@valancex/common 0.13.0 → 0.15.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/dist/app.d.ts +4 -0
- package/dist/app.js +21 -1
- package/dist/client.d.ts +4 -1
- package/dist/client.js +10 -2
- package/dist/desktop.d.ts +4 -2
- package/dist/desktop.js +2 -1
- package/dist/early-replay.d.ts +57 -0
- package/dist/early-replay.js +75 -0
- package/dist/early.d.ts +8 -0
- package/dist/early.js +30 -0
- package/dist/form.d.ts +165 -0
- package/dist/form.js +388 -0
- package/dist/index.d.ts +97 -4
- package/dist/index.js +64 -0
- package/dist/internal.d.ts +1 -0
- package/dist/internal.js +1 -0
- package/dist/primitives.d.ts +21 -0
- package/dist/primitives.js +792 -56
- package/dist/record.d.ts +4 -0
- package/dist/record.js +14 -0
- package/dist/server.js +2 -1
- package/dist/vocabulary.d.ts +24 -0
- package/dist/vocabulary.js +5 -8
- package/package.json +10 -6
package/dist/primitives.d.ts
CHANGED
|
@@ -1,2 +1,23 @@
|
|
|
1
1
|
import * as Web from "@valancex/valance/web";
|
|
2
2
|
export declare const primitives: Web.WebPrimitives;
|
|
3
|
+
/** What each tag's props and events are, as the specification states them (the derivation from the table alone cannot say whether a prop is required, nor type one realized as text). */
|
|
4
|
+
export declare const declared: Readonly<Record<string, {
|
|
5
|
+
readonly props: Readonly<Record<string, {
|
|
6
|
+
readonly type: Readonly<Record<string, unknown>>;
|
|
7
|
+
readonly required: boolean;
|
|
8
|
+
}>>;
|
|
9
|
+
readonly events: Readonly<Record<string, {
|
|
10
|
+
readonly payload?: Readonly<Record<string, unknown>>;
|
|
11
|
+
}>>;
|
|
12
|
+
}>>;
|
|
13
|
+
/** The tags that were renamed (decision P7), old to new: a template that writes the old one is told the new. */
|
|
14
|
+
export declare const renamed: Readonly<Record<string, string>>;
|
|
15
|
+
/** The props that were renamed (decision I29), by tag, old to new: a template that writes the old one is told the new. */
|
|
16
|
+
export declare const renamedProps: Readonly<Record<string, Readonly<Record<string, string>>>>;
|
|
17
|
+
/** What a use of a tag must satisfy besides its props (`vlx` checks it): the tags that need a name (a `label` prop, or a `label` around them), the tags a tag may contain only, and the tags a tag must be inside. */
|
|
18
|
+
export declare const rules: {
|
|
19
|
+
readonly named: ReadonlyArray<string>;
|
|
20
|
+
readonly modal: ReadonlyArray<string>;
|
|
21
|
+
readonly only: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
22
|
+
readonly within: Readonly<Record<string, ReadonlyArray<string>>>;
|
|
23
|
+
};
|