@praxisui/core 10.0.0-rc.11 → 10.0.0-rc.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
CHANGED
|
@@ -4,6 +4,15 @@ Shared contracts, tokens, services, metadata models, widget runtime primitives,
|
|
|
4
4
|
|
|
5
5
|
Use this package directly when a host application or library needs Praxis UI types, global actions, metadata registries, schema clients, resource discovery, i18n, theme bridge, dynamic widget contracts, or shared runtime services.
|
|
6
6
|
|
|
7
|
+
## Contextual table defaults
|
|
8
|
+
|
|
9
|
+
`createDefaultTableConfig()` leaves `pagination.strategy` and `sorting.strategy`
|
|
10
|
+
unset. These shared contracts cannot choose a data source: `@praxisui/table`
|
|
11
|
+
infers server processing for remote data and client processing for local data.
|
|
12
|
+
Explicit `client` or `server` choices remain authored choices. Optional strategy
|
|
13
|
+
properties allow sparse metadata and editor resets to preserve contextual
|
|
14
|
+
resolution; `auto` is not a public serialized value.
|
|
15
|
+
|
|
7
16
|
## Governed bulk client: basic synchronous slice
|
|
8
17
|
|
|
9
18
|
`BulkOperationClientService` consumes the Metadata published `BulkExecutionContract`
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"generatedAt": "2026-10-14T09:51:43.880Z",
|
|
4
4
|
"packageName": "@praxisui/core",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.13",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 4,
|
|
@@ -2543,6 +2543,20 @@ class SchemaNormalizationKernel {
|
|
|
2543
2543
|
}
|
|
2544
2544
|
fields.push(field);
|
|
2545
2545
|
}
|
|
2546
|
+
if (fields.length === 0 &&
|
|
2547
|
+
properties['parameters'] &&
|
|
2548
|
+
typeof properties['parameters'] === 'object' &&
|
|
2549
|
+
!Array.isArray(properties['parameters'])) {
|
|
2550
|
+
const parametersProp = properties['parameters'];
|
|
2551
|
+
const resolvedParametersSchema = this.resolveSchemaRef(parametersProp.$ref, rootSchema) ?? parametersProp;
|
|
2552
|
+
if (resolvedParametersSchema &&
|
|
2553
|
+
typeof resolvedParametersSchema === 'object' &&
|
|
2554
|
+
resolvedParametersSchema !== schema &&
|
|
2555
|
+
resolvedParametersSchema.properties &&
|
|
2556
|
+
typeof resolvedParametersSchema.properties === 'object') {
|
|
2557
|
+
return this.normalizeObjectSchema(resolvedParametersSchema, rootSchema);
|
|
2558
|
+
}
|
|
2559
|
+
}
|
|
2546
2560
|
// Order by the optional 'order' property when present
|
|
2547
2561
|
fields.sort((a, b) => {
|
|
2548
2562
|
const orderA = a.order ?? Number.MAX_SAFE_INTEGER;
|