@praxisui/core 9.0.4-rc.18 → 9.0.4-rc.19
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 +2 -0
- package/ai/component-registry.json +2 -2
- package/fesm2022/praxisui-core.mjs +631 -542
- package/package.json +1 -1
- package/types/praxisui-core.d.ts +14 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/core",
|
|
3
|
-
"version": "9.0.4-rc.
|
|
3
|
+
"version": "9.0.4-rc.19",
|
|
4
4
|
"description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
package/types/praxisui-core.d.ts
CHANGED
|
@@ -238,6 +238,7 @@ interface EntityLookupDisplayMetadata {
|
|
|
238
238
|
showBadges?: boolean;
|
|
239
239
|
showDisabledReason?: boolean;
|
|
240
240
|
showResultCount?: boolean;
|
|
241
|
+
statusLabelMap?: Record<string, string>;
|
|
241
242
|
statusToneMap?: Record<string, LookupStatusTone>;
|
|
242
243
|
badgeKeys?: string[];
|
|
243
244
|
maxVisibleBadges?: number;
|
|
@@ -10198,8 +10199,10 @@ interface ResourceSurfaceOpenAdapterOptions {
|
|
|
10198
10199
|
}
|
|
10199
10200
|
declare class ResourceSurfaceOpenAdapterService {
|
|
10200
10201
|
private readonly discovery;
|
|
10202
|
+
private readonly relatedResourceResolver;
|
|
10201
10203
|
toPayload(surface: ResourceSurfaceCatalogItem, options: ResourceSurfaceOpenAdapterOptions): SurfaceOpenPayload;
|
|
10202
10204
|
private buildBasePayload;
|
|
10205
|
+
private resolveDefaultIcon;
|
|
10203
10206
|
private buildStableInstanceId;
|
|
10204
10207
|
private withInputBefore;
|
|
10205
10208
|
private normalizeResourcePath;
|
|
@@ -10329,10 +10332,14 @@ declare class SurfaceOpenMaterializerService {
|
|
|
10329
10332
|
private hasRelatedChildWriteOperations;
|
|
10330
10333
|
private resolveRelatedChildOperations;
|
|
10331
10334
|
private resolveRelatedResource;
|
|
10335
|
+
private buildRelatedParentInitialValue;
|
|
10336
|
+
private buildRelatedContextFields;
|
|
10332
10337
|
private resolveRelatedSelectionKeyField;
|
|
10333
10338
|
private resolveSurfacePath;
|
|
10334
10339
|
private normalizeResourcePath;
|
|
10335
10340
|
private resolveRelatedActionNoun;
|
|
10341
|
+
private singularizePtBrWord;
|
|
10342
|
+
private resolveRelatedActionDescription;
|
|
10336
10343
|
private inferColumnsFromData;
|
|
10337
10344
|
private extractCollectionData;
|
|
10338
10345
|
private mergeMaterializationContext;
|
|
@@ -12365,6 +12372,7 @@ interface FormConfigMetadata {
|
|
|
12365
12372
|
};
|
|
12366
12373
|
groupedCommand?: {
|
|
12367
12374
|
orphanFieldExpansion?: 'preserve' | 'medium-and-wide' | 'all';
|
|
12375
|
+
contextFields?: readonly string[];
|
|
12368
12376
|
};
|
|
12369
12377
|
};
|
|
12370
12378
|
/** Server data hash for change detection */
|
|
@@ -13880,6 +13888,12 @@ interface DynamicFormGroupedCommandPolicy {
|
|
|
13880
13888
|
* medium/wide fields (6+ columns), preserving intentionally compact fields.
|
|
13881
13889
|
*/
|
|
13882
13890
|
orphanFieldExpansion?: DynamicFormGroupedCommandOrphanFieldExpansion;
|
|
13891
|
+
/**
|
|
13892
|
+
* Schema field names whose values are supplied by the surrounding business
|
|
13893
|
+
* context. Context fields remain part of the runtime form and submit payload,
|
|
13894
|
+
* but are omitted from the interactive command layout.
|
|
13895
|
+
*/
|
|
13896
|
+
contextFields?: readonly string[];
|
|
13883
13897
|
}
|
|
13884
13898
|
interface DynamicFormLayoutPolicy {
|
|
13885
13899
|
source: DynamicFormLayoutSource;
|