tinybase 9.1.0-beta.2 → 9.1.1
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/@types/schematizers/index.d.ts +27 -9
- package/@types/schematizers/schematizer-arktype/index.d.ts +8 -7
- package/@types/schematizers/schematizer-effect/index.d.ts +7 -5
- package/@types/schematizers/schematizer-typebox/index.d.ts +8 -7
- package/@types/schematizers/schematizer-valibot/index.d.ts +8 -7
- package/@types/schematizers/schematizer-yup/index.d.ts +5 -4
- package/@types/schematizers/schematizer-zod/index.d.ts +8 -7
- package/@types/ui-react-dom/index.d.ts +10 -10
- package/@types/ui-react-dom/with-schemas/index.d.ts +10 -10
- package/@types/ui-react-dom-charts/index.d.ts +7 -7
- package/@types/ui-react-dom-charts/with-schemas/index.d.ts +7 -7
- package/@types/ui-react-inspector/index.d.ts +1 -1
- package/@types/ui-react-inspector/with-schemas/index.d.ts +1 -1
- package/@types/ui-solid-dom/index.d.ts +10 -10
- package/@types/ui-solid-dom/with-schemas/index.d.ts +10 -10
- package/@types/ui-solid-inspector/index.d.ts +1 -1
- package/@types/ui-solid-inspector/with-schemas/index.d.ts +1 -1
- package/@types/ui-svelte-dom/index.d.ts +10 -10
- package/@types/ui-svelte-dom/with-schemas/index.d.ts +10 -10
- package/@types/ui-svelte-inspector/index.d.ts +1 -1
- package/@types/ui-svelte-inspector/with-schemas/index.d.ts +1 -1
- package/agents.md +12 -6
- package/min/schematizers/index.js +1 -1
- package/min/schematizers/index.js.gz +0 -0
- package/min/schematizers/schematizer-arktype/index.js +1 -1
- package/min/schematizers/schematizer-arktype/index.js.gz +0 -0
- package/min/schematizers/schematizer-arktype/with-schemas/index.js +1 -1
- package/min/schematizers/schematizer-arktype/with-schemas/index.js.gz +0 -0
- package/min/schematizers/schematizer-effect/index.js +1 -1
- package/min/schematizers/schematizer-effect/index.js.gz +0 -0
- package/min/schematizers/schematizer-effect/with-schemas/index.js +1 -1
- package/min/schematizers/schematizer-effect/with-schemas/index.js.gz +0 -0
- package/min/schematizers/schematizer-typebox/index.js +1 -1
- package/min/schematizers/schematizer-typebox/index.js.gz +0 -0
- package/min/schematizers/schematizer-typebox/with-schemas/index.js +1 -1
- package/min/schematizers/schematizer-typebox/with-schemas/index.js.gz +0 -0
- package/min/schematizers/schematizer-valibot/index.js +1 -1
- package/min/schematizers/schematizer-valibot/index.js.gz +0 -0
- package/min/schematizers/schematizer-valibot/with-schemas/index.js +1 -1
- package/min/schematizers/schematizer-valibot/with-schemas/index.js.gz +0 -0
- package/min/schematizers/schematizer-yup/index.js +1 -1
- package/min/schematizers/schematizer-yup/index.js.gz +0 -0
- package/min/schematizers/schematizer-yup/with-schemas/index.js +1 -1
- package/min/schematizers/schematizer-yup/with-schemas/index.js.gz +0 -0
- package/min/schematizers/schematizer-zod/index.js +1 -1
- package/min/schematizers/schematizer-zod/index.js.gz +0 -0
- package/min/schematizers/schematizer-zod/with-schemas/index.js +1 -1
- package/min/schematizers/schematizer-zod/with-schemas/index.js.gz +0 -0
- package/min/schematizers/with-schemas/index.js +1 -1
- package/min/schematizers/with-schemas/index.js.gz +0 -0
- package/package.json +6 -6
- package/readme.md +14 -14
- package/releases.md +61 -61
- package/schematizers/index.js +21 -6
- package/schematizers/schematizer-arktype/index.js +52 -17
- package/schematizers/schematizer-arktype/with-schemas/index.js +52 -17
- package/schematizers/schematizer-effect/index.js +41 -11
- package/schematizers/schematizer-effect/with-schemas/index.js +41 -11
- package/schematizers/schematizer-typebox/index.js +49 -9
- package/schematizers/schematizer-typebox/with-schemas/index.js +49 -9
- package/schematizers/schematizer-valibot/index.js +38 -10
- package/schematizers/schematizer-valibot/with-schemas/index.js +38 -10
- package/schematizers/schematizer-yup/index.js +29 -7
- package/schematizers/schematizer-yup/with-schemas/index.js +29 -7
- package/schematizers/schematizer-zod/index.js +29 -14
- package/schematizers/schematizer-zod/with-schemas/index.js +29 -14
- package/schematizers/with-schemas/index.js +21 -6
|
@@ -49,11 +49,13 @@ export interface Schematizer {
|
|
|
49
49
|
* optional/nullable/default wrappers from your library's schemas, and one to
|
|
50
50
|
* extract object properties.
|
|
51
51
|
* @param unwrapSchema - A function that unwraps a schema to extract the base
|
|
52
|
-
* type, default value, and
|
|
53
|
-
* optional/nullable wrappers and return a tuple of
|
|
54
|
-
* allowNull].
|
|
52
|
+
* type, default value, nullable flag, and optional required flag. It should
|
|
53
|
+
* recursively unwrap optional/nullable wrappers and return a tuple of
|
|
54
|
+
* [schema, defaultValue, allowNull, required].
|
|
55
55
|
* @param getProperties - A function that extracts the properties/entries/shape
|
|
56
56
|
* from an object schema. Returns undefined if the schema is not an object.
|
|
57
|
+
* @param getPropertyRequired - An optional function that extracts whether an
|
|
58
|
+
* object property is required.
|
|
57
59
|
* @returns A new Schematizer instance.
|
|
58
60
|
* @example
|
|
59
61
|
* This example creates a custom schematizer for a hypothetical validation
|
|
@@ -65,14 +67,24 @@ export interface Schematizer {
|
|
|
65
67
|
* // Hypothetical library has schemas like:
|
|
66
68
|
* // {type: 'string'}, {type: 'optional', inner: ...}, etc.
|
|
67
69
|
*
|
|
68
|
-
* const unwrapSchema = (
|
|
70
|
+
* const unwrapSchema = (
|
|
71
|
+
* schema,
|
|
72
|
+
* defaultValue,
|
|
73
|
+
* allowNull,
|
|
74
|
+
* required = true,
|
|
75
|
+
* ) => {
|
|
69
76
|
* if (schema.type === 'optional') {
|
|
70
|
-
* return unwrapSchema(schema.inner, defaultValue, allowNull);
|
|
77
|
+
* return unwrapSchema(schema.inner, defaultValue, allowNull, false);
|
|
71
78
|
* }
|
|
72
79
|
* if (schema.type === 'nullable') {
|
|
73
|
-
* return unwrapSchema(schema.inner, defaultValue, true);
|
|
80
|
+
* return unwrapSchema(schema.inner, defaultValue, true, required);
|
|
74
81
|
* }
|
|
75
|
-
* return [
|
|
82
|
+
* return [
|
|
83
|
+
* schema,
|
|
84
|
+
* defaultValue ?? schema.default,
|
|
85
|
+
* allowNull ?? false,
|
|
86
|
+
* required,
|
|
87
|
+
* ];
|
|
76
88
|
* };
|
|
77
89
|
*
|
|
78
90
|
* const getProperties = (schema) => schema.fields;
|
|
@@ -83,7 +95,7 @@ export interface Schematizer {
|
|
|
83
95
|
* pets: {type: 'object', fields: {name: {type: 'string'}}},
|
|
84
96
|
* });
|
|
85
97
|
* console.log(tablesSchema);
|
|
86
|
-
* // -> {pets: {name: {type: 'string'}}}
|
|
98
|
+
* // -> {pets: {name: {type: 'string', required: true}}}
|
|
87
99
|
* ```
|
|
88
100
|
* @category Creation
|
|
89
101
|
* @since v7.1.0
|
|
@@ -93,6 +105,12 @@ export function createCustomSchematizer(
|
|
|
93
105
|
schema: any,
|
|
94
106
|
defaultValue?: any,
|
|
95
107
|
allowNull?: boolean,
|
|
96
|
-
|
|
108
|
+
required?: boolean,
|
|
109
|
+
) => [any, any, boolean] | [any, any, boolean, boolean | undefined],
|
|
97
110
|
getProperties: (schema: any) => any | undefined,
|
|
111
|
+
getPropertyRequired?: (
|
|
112
|
+
schema: any,
|
|
113
|
+
propertyId: string,
|
|
114
|
+
propertySchema: any,
|
|
115
|
+
) => boolean | undefined,
|
|
98
116
|
): Schematizer;
|
|
@@ -20,9 +20,9 @@ export interface ArkTypeSchematizer extends Schematizer {
|
|
|
20
20
|
* TinyBase TablesSchema.
|
|
21
21
|
*
|
|
22
22
|
* This method extracts basic type information (string, number, boolean),
|
|
23
|
-
* string literals, default values, and
|
|
24
|
-
* Complex validation rules like min/max, regex patterns,
|
|
25
|
-
* transforms are ignored.
|
|
23
|
+
* string literals, default values, nullable flags, and required flags from
|
|
24
|
+
* ArkType schemas. Complex validation rules like min/max, regex patterns,
|
|
25
|
+
* refinements, and transforms are ignored.
|
|
26
26
|
* @param schemas - A mapping of table IDs to ArkType object schemas.
|
|
27
27
|
* @returns A TinyBase TablesSchema.
|
|
28
28
|
* @example
|
|
@@ -57,8 +57,8 @@ export interface ArkTypeSchematizer extends Schematizer {
|
|
|
57
57
|
* The toValuesSchema method converts a mapping of ArkType schemas into a
|
|
58
58
|
* TinyBase ValuesSchema.
|
|
59
59
|
*
|
|
60
|
-
* This method extracts basic type information, string literals,
|
|
61
|
-
* values from ArkType schemas.
|
|
60
|
+
* This method extracts basic type information, string literals, default
|
|
61
|
+
* values, and required flags from ArkType schemas.
|
|
62
62
|
* @param schemas - A mapping of value IDs to ArkType schemas.
|
|
63
63
|
* @returns A TinyBase ValuesSchema.
|
|
64
64
|
* @example
|
|
@@ -77,8 +77,9 @@ export interface ArkTypeSchematizer extends Schematizer {
|
|
|
77
77
|
* });
|
|
78
78
|
*
|
|
79
79
|
* const store = createStore().setValuesSchema(valuesSchema);
|
|
80
|
+
* store.setValues({count: 1});
|
|
80
81
|
* console.log(store.getValues());
|
|
81
|
-
* // -> {theme: 'light'}
|
|
82
|
+
* // -> {theme: 'light', count: 1}
|
|
82
83
|
* ```
|
|
83
84
|
* @category Conversion
|
|
84
85
|
* @since v7.1.0
|
|
@@ -107,7 +108,7 @@ export interface ArkTypeSchematizer extends Schematizer {
|
|
|
107
108
|
* }),
|
|
108
109
|
* });
|
|
109
110
|
* console.log(tablesSchema);
|
|
110
|
-
* // -> {pets: {species: {type: 'string'}}}
|
|
111
|
+
* // -> {pets: {species: {type: 'string', required: true}}}
|
|
111
112
|
* ```
|
|
112
113
|
* @category Creation
|
|
113
114
|
* @since v7.1.0
|
|
@@ -20,8 +20,9 @@ export interface EffectSchematizer extends Schematizer {
|
|
|
20
20
|
* into a TinyBase TablesSchema.
|
|
21
21
|
*
|
|
22
22
|
* This method extracts basic type information (string, number, boolean),
|
|
23
|
-
* string literals, nullable flags, and
|
|
24
|
-
* Default values are not supported as they exist in Effect's
|
|
23
|
+
* string literals, nullable flags, optional flags, and required flags from
|
|
24
|
+
* Effect schemas. Default values are not supported as they exist in Effect's
|
|
25
|
+
* runtime
|
|
25
26
|
* transformations, not in the schema AST. Complex validation rules,
|
|
26
27
|
* transformations, and refinements are ignored.
|
|
27
28
|
* @param schemas - A mapping of table IDs to Effect Schema struct schemas.
|
|
@@ -59,8 +60,9 @@ export interface EffectSchematizer extends Schematizer {
|
|
|
59
60
|
* TinyBase ValuesSchema.
|
|
60
61
|
*
|
|
61
62
|
* This method extracts basic type information (string, number, boolean),
|
|
62
|
-
* string literals, nullable flags, and
|
|
63
|
-
* Default values are not supported as they exist in Effect's
|
|
63
|
+
* string literals, nullable flags, optional flags, and required flags from
|
|
64
|
+
* Effect schemas. Default values are not supported as they exist in Effect's
|
|
65
|
+
* runtime
|
|
64
66
|
* transformations, not in the schema AST.
|
|
65
67
|
* @param schemas - A mapping of value IDs to Effect Schema schemas.
|
|
66
68
|
* @returns A TinyBase ValuesSchema.
|
|
@@ -110,7 +112,7 @@ export interface EffectSchematizer extends Schematizer {
|
|
|
110
112
|
* });
|
|
111
113
|
*
|
|
112
114
|
* console.log(tablesSchema);
|
|
113
|
-
* // -> {pets: {species: {type: 'string'}}}
|
|
115
|
+
* // -> {pets: {species: {type: 'string', required: true}}}
|
|
114
116
|
* ```
|
|
115
117
|
* @category Creation
|
|
116
118
|
* @since v7.1.0
|
|
@@ -20,9 +20,9 @@ export interface TypeBoxSchematizer extends Schematizer {
|
|
|
20
20
|
* TinyBase TablesSchema.
|
|
21
21
|
*
|
|
22
22
|
* This method extracts basic type information (string, number, boolean),
|
|
23
|
-
* string enums, default values, and
|
|
24
|
-
* Complex validation rules like min/max, patterns, formats, and
|
|
25
|
-
* validators are ignored.
|
|
23
|
+
* string enums, default values, nullable flags, and required flags from TypeBox
|
|
24
|
+
* schemas. Complex validation rules like min/max, patterns, formats, and
|
|
25
|
+
* custom validators are ignored.
|
|
26
26
|
* @param schemas - A mapping of table IDs to TypeBox object schemas.
|
|
27
27
|
* @returns A TinyBase TablesSchema.
|
|
28
28
|
* @example
|
|
@@ -58,7 +58,8 @@ export interface TypeBoxSchematizer extends Schematizer {
|
|
|
58
58
|
* TinyBase ValuesSchema.
|
|
59
59
|
*
|
|
60
60
|
* This method extracts basic type information (string, number, boolean),
|
|
61
|
-
* string enums, default values, and
|
|
61
|
+
* string enums, default values, nullable flags, and required flags from TypeBox
|
|
62
|
+
* schemas.
|
|
62
63
|
* @param schemas - A mapping of value IDs to TypeBox schemas.
|
|
63
64
|
* @returns A TinyBase ValuesSchema.
|
|
64
65
|
* @example
|
|
@@ -78,9 +79,9 @@ export interface TypeBoxSchematizer extends Schematizer {
|
|
|
78
79
|
* });
|
|
79
80
|
*
|
|
80
81
|
* const store = createStore().setValuesSchema(valuesSchema);
|
|
81
|
-
* store.
|
|
82
|
+
* store.setValues({count: 42, isOpen: true});
|
|
82
83
|
* console.log(store.getValues());
|
|
83
|
-
* // -> {theme: 'light', count: 42}
|
|
84
|
+
* // -> {theme: 'light', count: 42, isOpen: true}
|
|
84
85
|
* ```
|
|
85
86
|
* @category Conversion
|
|
86
87
|
* @since v7.1.0
|
|
@@ -109,7 +110,7 @@ export interface TypeBoxSchematizer extends Schematizer {
|
|
|
109
110
|
* }),
|
|
110
111
|
* });
|
|
111
112
|
* console.log(tablesSchema);
|
|
112
|
-
* // -> {pets: {species: {type: 'string'}}}
|
|
113
|
+
* // -> {pets: {species: {type: 'string', required: true}}}
|
|
113
114
|
* ```
|
|
114
115
|
* @category Creation
|
|
115
116
|
* @since v7.1.0
|
|
@@ -20,9 +20,9 @@ export interface ValibotSchematizer extends Schematizer {
|
|
|
20
20
|
* TinyBase TablesSchema.
|
|
21
21
|
*
|
|
22
22
|
* This method extracts basic type information (string, number, boolean),
|
|
23
|
-
* string picklists, fallback values, and
|
|
24
|
-
* Complex validation rules like min/max, regex patterns,
|
|
25
|
-
* transforms are ignored.
|
|
23
|
+
* string picklists, fallback values, nullable flags, and required flags from
|
|
24
|
+
* Valibot schemas. Complex validation rules like min/max, regex patterns,
|
|
25
|
+
* refinements, and transforms are ignored.
|
|
26
26
|
* @param schemas - A mapping of table IDs to Valibot object schemas.
|
|
27
27
|
* @returns A TinyBase TablesSchema.
|
|
28
28
|
* @example
|
|
@@ -57,8 +57,8 @@ export interface ValibotSchematizer extends Schematizer {
|
|
|
57
57
|
* The toValuesSchema method converts a mapping of Valibot schemas into a
|
|
58
58
|
* TinyBase ValuesSchema.
|
|
59
59
|
*
|
|
60
|
-
* This method extracts basic type information, string picklists,
|
|
61
|
-
* values from Valibot schemas.
|
|
60
|
+
* This method extracts basic type information, string picklists, fallback
|
|
61
|
+
* values, and required flags from Valibot schemas.
|
|
62
62
|
* @param schemas - A mapping of value IDs to Valibot schemas.
|
|
63
63
|
* @returns A TinyBase ValuesSchema.
|
|
64
64
|
* @example
|
|
@@ -77,8 +77,9 @@ export interface ValibotSchematizer extends Schematizer {
|
|
|
77
77
|
* });
|
|
78
78
|
*
|
|
79
79
|
* const store = createStore().setValuesSchema(valuesSchema);
|
|
80
|
+
* store.setValues({count: 1});
|
|
80
81
|
* console.log(store.getValues());
|
|
81
|
-
* // -> {theme: 'light'}
|
|
82
|
+
* // -> {theme: 'light', count: 1}
|
|
82
83
|
* ```
|
|
83
84
|
* @category Conversion
|
|
84
85
|
* @since v7.1.0
|
|
@@ -107,7 +108,7 @@ export interface ValibotSchematizer extends Schematizer {
|
|
|
107
108
|
* }),
|
|
108
109
|
* });
|
|
109
110
|
* console.log(tablesSchema);
|
|
110
|
-
* // -> {pets: {species: {type: 'string'}}}
|
|
111
|
+
* // -> {pets: {species: {type: 'string', required: true}}}
|
|
111
112
|
* ```
|
|
112
113
|
* @category Creation
|
|
113
114
|
* @since v7.1.0
|
|
@@ -19,9 +19,9 @@ export interface YupSchematizer extends Schematizer {
|
|
|
19
19
|
* TinyBase TablesSchema.
|
|
20
20
|
*
|
|
21
21
|
* This method extracts basic type information (string, number, boolean),
|
|
22
|
-
* string enums, default values, and
|
|
23
|
-
* validation rules like min/max, regex patterns, tests, and
|
|
24
|
-
* ignored.
|
|
22
|
+
* string enums, default values, nullable flags, and required flags from Yup
|
|
23
|
+
* schemas. Complex validation rules like min/max, regex patterns, tests, and
|
|
24
|
+
* transforms are ignored.
|
|
25
25
|
* @param schemas - A mapping of table IDs to Yup object schemas.
|
|
26
26
|
* @returns A TinyBase TablesSchema.
|
|
27
27
|
* @example
|
|
@@ -57,7 +57,8 @@ export interface YupSchematizer extends Schematizer {
|
|
|
57
57
|
* ValuesSchema.
|
|
58
58
|
*
|
|
59
59
|
* This method extracts basic type information (string, number, boolean),
|
|
60
|
-
* string enums, default values, and
|
|
60
|
+
* string enums, default values, nullable flags, and required flags from Yup
|
|
61
|
+
* schemas.
|
|
61
62
|
* @param schemas - A mapping of value IDs to Yup schemas.
|
|
62
63
|
* @returns A TinyBase ValuesSchema.
|
|
63
64
|
* @example
|
|
@@ -19,9 +19,9 @@ export interface ZodSchematizer extends Schematizer {
|
|
|
19
19
|
* TinyBase TablesSchema.
|
|
20
20
|
*
|
|
21
21
|
* This method extracts basic type information (string, number, boolean),
|
|
22
|
-
* string enums, default values, and
|
|
23
|
-
* validation rules like min/max, regex patterns,
|
|
24
|
-
* are ignored.
|
|
22
|
+
* string enums, default values, nullable flags, and required flags from Zod
|
|
23
|
+
* schemas. Complex validation rules like min/max, regex patterns,
|
|
24
|
+
* refinements, and transforms are ignored.
|
|
25
25
|
* @param schemas - A mapping of table IDs to Zod object schemas.
|
|
26
26
|
* @returns A TinyBase TablesSchema.
|
|
27
27
|
* @example
|
|
@@ -56,8 +56,8 @@ export interface ZodSchematizer extends Schematizer {
|
|
|
56
56
|
* The toValuesSchema method converts a mapping of Zod schemas into a TinyBase
|
|
57
57
|
* ValuesSchema.
|
|
58
58
|
*
|
|
59
|
-
* This method extracts basic type information, string enums,
|
|
60
|
-
*
|
|
59
|
+
* This method extracts basic type information, string enums, default values,
|
|
60
|
+
* and required flags from Zod schemas.
|
|
61
61
|
* @param schemas - A mapping of value IDs to Zod schemas.
|
|
62
62
|
* @returns A TinyBase ValuesSchema.
|
|
63
63
|
* @example
|
|
@@ -76,8 +76,9 @@ export interface ZodSchematizer extends Schematizer {
|
|
|
76
76
|
* });
|
|
77
77
|
*
|
|
78
78
|
* const store = createStore().setValuesSchema(valuesSchema);
|
|
79
|
+
* store.setValues({count: 1});
|
|
79
80
|
* console.log(store.getValues());
|
|
80
|
-
* // -> {theme: 'light'}
|
|
81
|
+
* // -> {theme: 'light', count: 1}
|
|
81
82
|
* ```
|
|
82
83
|
* @category Conversion
|
|
83
84
|
* @since v7.1.0
|
|
@@ -106,7 +107,7 @@ export interface ZodSchematizer extends Schematizer {
|
|
|
106
107
|
* }),
|
|
107
108
|
* });
|
|
108
109
|
* console.log(tablesSchema);
|
|
109
|
-
* // -> {pets: {species: {type: 'string'}}}
|
|
110
|
+
* // -> {pets: {species: {type: 'string', required: true}}}
|
|
110
111
|
* ```
|
|
111
112
|
* @category Creation
|
|
112
113
|
* @since v7.1.0
|
|
@@ -692,7 +692,7 @@ export type SortedTablePaginatorProps = {
|
|
|
692
692
|
*
|
|
693
693
|
* See the <TableInHtmlTable /> (React) demo for this component in action:
|
|
694
694
|
*
|
|
695
|
-
* 
|
|
697
697
|
*
|
|
698
698
|
* The component's props identify which Table to render based on Table Id, and
|
|
@@ -838,7 +838,7 @@ export function TableInHtmlTable(
|
|
|
838
838
|
* See the <SortedTableInHtmlTable /> (React) demo for this component in
|
|
839
839
|
* action:
|
|
840
840
|
*
|
|
841
|
-
* 
|
|
843
843
|
*
|
|
844
844
|
* The component's props identify which Table to render based on Table Id, and
|
|
@@ -1011,7 +1011,7 @@ export function SortedTableInHtmlTable(
|
|
|
1011
1011
|
*
|
|
1012
1012
|
* See the <ValuesInHtmlTable /> (React) demo for this component in action:
|
|
1013
1013
|
*
|
|
1014
|
-
* 
|
|
1016
1016
|
*
|
|
1017
1017
|
* The component's props identify which Row to render based on Table Id, Row Id,
|
|
@@ -1142,7 +1142,7 @@ export function ValuesInHtmlTable(
|
|
|
1142
1142
|
*
|
|
1143
1143
|
* See the <SliceInHtmlTable /> (React) demo for this component in action:
|
|
1144
1144
|
*
|
|
1145
|
-
* 
|
|
1147
1147
|
*
|
|
1148
1148
|
* The component's props identify which Slice to render based on Index Id, Slice
|
|
@@ -1300,7 +1300,7 @@ export function SliceInHtmlTable(
|
|
|
1300
1300
|
* See the <RelationshipInHtmlTable /> (React) demo for this component in
|
|
1301
1301
|
* action:
|
|
1302
1302
|
*
|
|
1303
|
-
* 
|
|
1305
1305
|
*
|
|
1306
1306
|
* The component's props identify which Relationship to render based on
|
|
@@ -1478,7 +1478,7 @@ export function RelationshipInHtmlTable(
|
|
|
1478
1478
|
* See the <ResultTableInHtmlTable /> (React) demo for this component in
|
|
1479
1479
|
* action:
|
|
1480
1480
|
*
|
|
1481
|
-
* 
|
|
1483
1483
|
*
|
|
1484
1484
|
* The component's props identify which ResultTable to render based on query Id,
|
|
@@ -1631,7 +1631,7 @@ export function ResultTableInHtmlTable(
|
|
|
1631
1631
|
* See the <ResultSortedTableInHtmlTable /> (React) demo for this component in
|
|
1632
1632
|
* action:
|
|
1633
1633
|
*
|
|
1634
|
-
* 
|
|
1636
1636
|
*
|
|
1637
1637
|
* The component's props identify which ResultTable to render based on query Id,
|
|
@@ -1805,7 +1805,7 @@ export function ResultSortedTableInHtmlTable(
|
|
|
1805
1805
|
*
|
|
1806
1806
|
* See the <EditableCellView /> (React) demo for this component in action:
|
|
1807
1807
|
*
|
|
1808
|
-
* 
|
|
1810
1810
|
*
|
|
1811
1811
|
* The component's props identify which Cell to render based on Table Id, Row
|
|
@@ -1876,7 +1876,7 @@ export function EditableCellView(
|
|
|
1876
1876
|
*
|
|
1877
1877
|
* See the <EditableValueView /> (React) demo for this component in action:
|
|
1878
1878
|
*
|
|
1879
|
-
* 
|
|
1881
1881
|
*
|
|
1882
1882
|
* The component's props identify which Value to render based on Table Id, Row
|
|
@@ -1947,7 +1947,7 @@ export function EditableValueView(
|
|
|
1947
1947
|
* See the <SortedTableInHtmlTable /> (React) demo for this component in
|
|
1948
1948
|
* action:
|
|
1949
1949
|
*
|
|
1950
|
-
* 
|
|
1952
1952
|
*
|
|
1953
1953
|
* The component displays 'previous' and 'next' buttons for paging through the
|
|
@@ -668,7 +668,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
668
668
|
*
|
|
669
669
|
* See the <TableInHtmlTable /> (React) demo for this component in action:
|
|
670
670
|
*
|
|
671
|
-
* 
|
|
673
673
|
*
|
|
674
674
|
* The component's props identify which Table to render based on Table Id, and
|
|
@@ -822,7 +822,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
822
822
|
* See the <SortedTableInHtmlTable /> (React) demo for this component in
|
|
823
823
|
* action:
|
|
824
824
|
*
|
|
825
|
-
* 
|
|
827
827
|
*
|
|
828
828
|
* The component's props identify which Table to render based on Table Id, and
|
|
@@ -1003,7 +1003,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1003
1003
|
*
|
|
1004
1004
|
* See the <ValuesInHtmlTable /> (React) demo for this component in action:
|
|
1005
1005
|
*
|
|
1006
|
-
* 
|
|
1008
1008
|
*
|
|
1009
1009
|
* The component's props identify which Row to render based on Table Id, Row Id,
|
|
@@ -1142,7 +1142,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1142
1142
|
*
|
|
1143
1143
|
* See the <SliceInHtmlTable /> (React) demo for this component in action:
|
|
1144
1144
|
*
|
|
1145
|
-
* 
|
|
1147
1147
|
*
|
|
1148
1148
|
* The component's props identify which Slice to render based on Index Id, Slice
|
|
@@ -1308,7 +1308,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1308
1308
|
* See the <RelationshipInHtmlTable /> (React) demo for this component in
|
|
1309
1309
|
* action:
|
|
1310
1310
|
*
|
|
1311
|
-
* 
|
|
1313
1313
|
*
|
|
1314
1314
|
* The component's props identify which Relationship to render based on
|
|
@@ -1494,7 +1494,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1494
1494
|
* See the <ResultTableInHtmlTable /> (React) demo for this component in
|
|
1495
1495
|
* action:
|
|
1496
1496
|
*
|
|
1497
|
-
* 
|
|
1499
1499
|
*
|
|
1500
1500
|
* The component's props identify which ResultTable to render based on query Id,
|
|
@@ -1655,7 +1655,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1655
1655
|
* See the <ResultSortedTableInHtmlTable /> (React) demo for this component in
|
|
1656
1656
|
* action:
|
|
1657
1657
|
*
|
|
1658
|
-
* 
|
|
1660
1660
|
*
|
|
1661
1661
|
* The component's props identify which ResultTable to render based on query Id,
|
|
@@ -1837,7 +1837,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1837
1837
|
*
|
|
1838
1838
|
* See the <EditableCellView /> (React) demo for this component in action:
|
|
1839
1839
|
*
|
|
1840
|
-
* 
|
|
1842
1842
|
*
|
|
1843
1843
|
* The component's props identify which Cell to render based on Table Id, Row
|
|
@@ -1922,7 +1922,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1922
1922
|
*
|
|
1923
1923
|
* See the <EditableValueView /> (React) demo for this component in action:
|
|
1924
1924
|
*
|
|
1925
|
-
* 
|
|
1927
1927
|
*
|
|
1928
1928
|
* The component's props identify which Value to render based on Table Id, Row
|
|
@@ -1993,7 +1993,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
1993
1993
|
* See the <SortedTableInHtmlTable /> (React) demo for this component in
|
|
1994
1994
|
* action:
|
|
1995
1995
|
*
|
|
1996
|
-
* 
|
|
1998
1998
|
*
|
|
1999
1999
|
* The component displays 'previous' and 'next' buttons for paging through the
|
|
@@ -483,7 +483,7 @@ export type YAxisProps = {
|
|
|
483
483
|
*
|
|
484
484
|
* See the Composing Charts (React) demo for this component in action:
|
|
485
485
|
*
|
|
486
|
-
* 
|
|
488
488
|
*
|
|
489
489
|
* The series children declare their own xCellId and yCellId bindings. The
|
|
@@ -542,7 +542,7 @@ export function CartesianChart(
|
|
|
542
542
|
*
|
|
543
543
|
* See the Axis Overrides (React) demo for this component in action:
|
|
544
544
|
*
|
|
545
|
-
* 
|
|
547
547
|
* @category Store components
|
|
548
548
|
* @since v8.5.0
|
|
@@ -558,7 +558,7 @@ export function XAxis(props: XAxisProps): ComponentReturnType;
|
|
|
558
558
|
*
|
|
559
559
|
* See the Axis Overrides (React) demo for this component in action:
|
|
560
560
|
*
|
|
561
|
-
* 
|
|
563
563
|
* @category Store components
|
|
564
564
|
* @since v8.5.0
|
|
@@ -574,7 +574,7 @@ export function YAxis(props: YAxisProps): ComponentReturnType;
|
|
|
574
574
|
*
|
|
575
575
|
* See the Composing Charts (React) demo for this component in action:
|
|
576
576
|
*
|
|
577
|
-
* 
|
|
579
579
|
* @category Store components
|
|
580
580
|
* @since v8.5.0
|
|
@@ -590,7 +590,7 @@ export function LineSeries(props: SeriesProps): ComponentReturnType;
|
|
|
590
590
|
*
|
|
591
591
|
* See the Composing Charts (React) demo for this component in action:
|
|
592
592
|
*
|
|
593
|
-
* 
|
|
595
595
|
* @category Store components
|
|
596
596
|
* @since v8.5.0
|
|
@@ -607,7 +607,7 @@ export function BarSeries(props: SeriesProps): ComponentReturnType;
|
|
|
607
607
|
*
|
|
608
608
|
* See the <LineChart /> (React) demo for this component in action:
|
|
609
609
|
*
|
|
610
|
-
* 
|
|
612
612
|
* @category Store components
|
|
613
613
|
* @since v8.5.0
|
|
@@ -660,7 +660,7 @@ export function LineChart(
|
|
|
660
660
|
*
|
|
661
661
|
* See the Sorting And Types (React) demo for this component in action:
|
|
662
662
|
*
|
|
663
|
-
* 
|
|
665
665
|
* @category Store components
|
|
666
666
|
* @since v8.5.0
|
|
@@ -544,7 +544,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
544
544
|
*
|
|
545
545
|
* See the Composing Charts (React) demo for this component in action:
|
|
546
546
|
*
|
|
547
|
-
* 
|
|
549
549
|
*
|
|
550
550
|
* The series children declare their own xCellId and yCellId bindings. The
|
|
@@ -609,7 +609,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
609
609
|
*
|
|
610
610
|
* See the Axis Overrides (React) demo for this component in action:
|
|
611
611
|
*
|
|
612
|
-
* 
|
|
614
614
|
* @category Store components
|
|
615
615
|
* @since v8.5.0
|
|
@@ -625,7 +625,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
625
625
|
*
|
|
626
626
|
* See the Axis Overrides (React) demo for this component in action:
|
|
627
627
|
*
|
|
628
|
-
* 
|
|
630
630
|
* @category Store components
|
|
631
631
|
* @since v8.5.0
|
|
@@ -641,7 +641,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
641
641
|
*
|
|
642
642
|
* See the Composing Charts (React) demo for this component in action:
|
|
643
643
|
*
|
|
644
|
-
* 
|
|
646
646
|
* @category Store components
|
|
647
647
|
* @since v8.5.0
|
|
@@ -657,7 +657,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
657
657
|
*
|
|
658
658
|
* See the Composing Charts (React) demo for this component in action:
|
|
659
659
|
*
|
|
660
|
-
* 
|
|
662
662
|
* @category Store components
|
|
663
663
|
* @since v8.5.0
|
|
@@ -684,7 +684,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
684
684
|
*
|
|
685
685
|
* See the <LineChart /> (React) demo for this component in action:
|
|
686
686
|
*
|
|
687
|
-
* 
|
|
689
689
|
* @category Store components
|
|
690
690
|
* @since v8.5.0
|
|
@@ -750,7 +750,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
|
|
|
750
750
|
*
|
|
751
751
|
* See the Sorting And Types (React) demo for this component in action:
|
|
752
752
|
*
|
|
753
|
-
* 
|
|
755
755
|
* @category Store components
|
|
756
756
|
* @since v8.5.0
|
|
@@ -46,7 +46,7 @@ export type InspectorProps = {
|
|
|
46
46
|
*
|
|
47
47
|
* See the <Inspector /> (React) demo for this component in action:
|
|
48
48
|
*
|
|
49
|
-
* 
|
|
51
51
|
*
|
|
52
52
|
* The component displays a nub in the corner of the screen which you may then
|
|
@@ -46,7 +46,7 @@ export type InspectorProps = {
|
|
|
46
46
|
*
|
|
47
47
|
* See the <Inspector /> (React) demo for this component in action:
|
|
48
48
|
*
|
|
49
|
-
* 
|
|
51
51
|
*
|
|
52
52
|
* The component displays a nub in the corner of the screen which you may then
|