@praxisui/list 10.0.0-rc.43 → 10.0.0-rc.45
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/ai/component-registry.json +572 -90
- package/fesm2022/praxisui-list.mjs +600 -275
- package/package.json +6 -6
- package/types/praxisui-list.d.ts +11 -2
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/list",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.45",
|
|
4
4
|
"description": "List components and helpers for Praxis UI.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
8
|
"@angular/cdk": "^21.0.0",
|
|
9
9
|
"@angular/material": "^21.0.0",
|
|
10
|
-
"@praxisui/dynamic-fields": "^10.0.0-rc.
|
|
10
|
+
"@praxisui/dynamic-fields": "^10.0.0-rc.45",
|
|
11
11
|
"rxjs": ">=7 <9",
|
|
12
12
|
"@angular/forms": "^21.0.0",
|
|
13
13
|
"@angular/router": "^21.0.0",
|
|
14
|
-
"@praxisui/ai": "^10.0.0-rc.
|
|
15
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
16
|
-
"@praxisui/rich-content": "^10.0.0-rc.
|
|
17
|
-
"@praxisui/settings-panel": "^10.0.0-rc.
|
|
14
|
+
"@praxisui/ai": "^10.0.0-rc.45",
|
|
15
|
+
"@praxisui/core": "^10.0.0-rc.45",
|
|
16
|
+
"@praxisui/rich-content": "^10.0.0-rc.45",
|
|
17
|
+
"@praxisui/settings-panel": "^10.0.0-rc.45"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0",
|
package/types/praxisui-list.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ interface ListFeatureDef {
|
|
|
88
88
|
expr: string;
|
|
89
89
|
class?: string;
|
|
90
90
|
style?: string;
|
|
91
|
+
quickView?: ResourceQuickViewBinding;
|
|
91
92
|
}
|
|
92
93
|
interface TemplateFeatureDef extends TemplateDef {
|
|
93
94
|
icon?: string;
|
|
@@ -589,6 +590,7 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
589
590
|
private inferredForPath;
|
|
590
591
|
private schemaInferenceInFlight;
|
|
591
592
|
private readonly schemaFieldsByPath;
|
|
593
|
+
private readonly schemaQuickViewsByPath;
|
|
592
594
|
private appliedRuntimeConfig?;
|
|
593
595
|
private readonly data;
|
|
594
596
|
private readonly settings;
|
|
@@ -700,6 +702,7 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
700
702
|
expr?: string;
|
|
701
703
|
class?: string;
|
|
702
704
|
style?: string;
|
|
705
|
+
quickView?: ResourceQuickViewBinding;
|
|
703
706
|
} | null | undefined): RichBlockNode[] | null;
|
|
704
707
|
featureSemanticClass(item: any, expr?: string, featureClass?: string): string | null;
|
|
705
708
|
featureProgressPercent(item: any, expr?: string, featureClass?: string): number | null;
|
|
@@ -864,6 +867,8 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
864
867
|
private resolveLocalDataFallbackTemplate;
|
|
865
868
|
private isLocalDataPreviewItem;
|
|
866
869
|
private firstPresentItemKey;
|
|
870
|
+
private currentSchemaFieldQuickViews;
|
|
871
|
+
private withResolvedSchemaQuickView;
|
|
867
872
|
private evaluateTemplateNode;
|
|
868
873
|
private buildUnsupportedComposeNode;
|
|
869
874
|
private buildRuntimeComponentView;
|
|
@@ -1161,6 +1166,7 @@ interface ListValidationContext {
|
|
|
1161
1166
|
}
|
|
1162
1167
|
interface ListProjectionContext {
|
|
1163
1168
|
schemaFieldNames?: string[];
|
|
1169
|
+
schemaFieldQuickViews?: Record<string, ResourceQuickViewBinding>;
|
|
1164
1170
|
}
|
|
1165
1171
|
interface ListSchemaInferencePlan {
|
|
1166
1172
|
resourcePath: string;
|
|
@@ -1170,6 +1176,7 @@ interface ListSchemaInferencePlan {
|
|
|
1170
1176
|
interface ListRuntimeContext {
|
|
1171
1177
|
currentConfig?: PraxisListConfig;
|
|
1172
1178
|
schemaFieldNames?: string[];
|
|
1179
|
+
schemaFieldQuickViews?: Record<string, ResourceQuickViewBinding>;
|
|
1173
1180
|
}
|
|
1174
1181
|
interface ListApplyPlan {
|
|
1175
1182
|
canonicalConfig: PraxisListConfig;
|
|
@@ -1973,7 +1980,9 @@ declare function serializeListAuthoringDocument(doc: ListAuthoringDocument): unk
|
|
|
1973
1980
|
* - Does not override existing primary if already defined.
|
|
1974
1981
|
* - Heuristics prioritize common corporate/person records without creating a domain-specific preset.
|
|
1975
1982
|
*/
|
|
1976
|
-
declare function inferTemplatingFromSchema(cfg: PraxisListConfig, fieldNames: string[]): PraxisListConfig;
|
|
1983
|
+
declare function inferTemplatingFromSchema(cfg: PraxisListConfig, fieldNames: string[], fieldQuickViews?: Record<string, ResourceQuickViewBinding>): PraxisListConfig;
|
|
1984
|
+
declare function enrichTemplatingWithSchemaQuickViews(cfg: PraxisListConfig, fieldQuickViews?: Record<string, ResourceQuickViewBinding>): PraxisListConfig;
|
|
1985
|
+
declare function resolveSchemaQuickViewForTemplateDef(def: TemplateDef | undefined, fieldQuickViews?: Record<string, ResourceQuickViewBinding>): ResourceQuickViewBinding | undefined;
|
|
1977
1986
|
|
|
1978
1987
|
declare class ListSkinService {
|
|
1979
1988
|
toHostClasses(config?: PraxisListConfig): string[];
|
|
@@ -3178,5 +3187,5 @@ declare const PRAXIS_LIST_PT_BR: {
|
|
|
3178
3187
|
readonly 'Advanced row CSS': "CSS avançado da linha";
|
|
3179
3188
|
};
|
|
3180
3189
|
|
|
3181
|
-
export { ExecutiveAlertsComponent, ExecutiveBadgeComponent, ExecutiveOwnerComponent, LIST_AI_CAPABILITIES, ListDataService, ListSkinService, PRAXIS_LIST_AUTHORING_MANIFEST, PRAXIS_LIST_COMPONENT_METADATA, PRAXIS_LIST_EN_US, PRAXIS_LIST_I18N_NAMESPACE, PRAXIS_LIST_INSERTION_PRESETS, PRAXIS_LIST_PT_BR, PraxisList, PraxisListConfigEditor, PraxisListDocPageComponent, PraxisListJsonConfigEditorComponent, PraxisListWidgetConfigEditor, adaptSelection, buildListApplyPlan, createListAuthoringDocument, evalExpr, evaluateTemplate, formatRelativeTime, inferListAuthoringDocument, inferTemplatingFromSchema, isListTemplateSupportedByRichContentP0, mapListTemplateToRichContentP0, normalizeListActionPayloads, normalizeListAuthoringDocument, normalizeListConfig, parseLegacyOrListDocument, projectListAuthoringDocument, providePraxisListI18n, providePraxisListMetadata, safeFormatDate, safeFormatDateTime, serializeListAuthoringDocument, toCanonicalListConfig, validateListAuthoringDocument };
|
|
3190
|
+
export { ExecutiveAlertsComponent, ExecutiveBadgeComponent, ExecutiveOwnerComponent, LIST_AI_CAPABILITIES, ListDataService, ListSkinService, PRAXIS_LIST_AUTHORING_MANIFEST, PRAXIS_LIST_COMPONENT_METADATA, PRAXIS_LIST_EN_US, PRAXIS_LIST_I18N_NAMESPACE, PRAXIS_LIST_INSERTION_PRESETS, PRAXIS_LIST_PT_BR, PraxisList, PraxisListConfigEditor, PraxisListDocPageComponent, PraxisListJsonConfigEditorComponent, PraxisListWidgetConfigEditor, adaptSelection, buildListApplyPlan, createListAuthoringDocument, enrichTemplatingWithSchemaQuickViews, evalExpr, evaluateTemplate, formatRelativeTime, inferListAuthoringDocument, inferTemplatingFromSchema, isListTemplateSupportedByRichContentP0, mapListTemplateToRichContentP0, normalizeListActionPayloads, normalizeListAuthoringDocument, normalizeListConfig, parseLegacyOrListDocument, projectListAuthoringDocument, providePraxisListI18n, providePraxisListMetadata, resolveSchemaQuickViewForTemplateDef, safeFormatDate, safeFormatDateTime, serializeListAuthoringDocument, toCanonicalListConfig, validateListAuthoringDocument };
|
|
3182
3191
|
export type { Capability, CapabilityCatalog, CapabilityCategory, EditorDiagnostic, EditorDocument, ExecutiveAlert, JsonEditorEvent, JsonValidationResult, ListActionEvent, ListApplyPlan, ListAuthoringDocument, ListCardColumns, ListExpansionSectionDef, ListExpansionSectionType, ListFeatureDef, ListItemEvent, ListItemStateTone, ListItemStyleEffect, ListItemStyleRule, ListProjectionContext, ListRemoteLoadError, ListRichContentP0Node, ListRowLayoutSlot, ListRuntimeContext, ListSchemaInferencePlan, ListSection, ListSelectionEvent, ListSlotOverrideEffect, ListSlotOverrideRule, ListTemplatingSlot, ListValidationContext, PraxisListConfig, PraxisListExportConfig, PraxisListI18nConfig, PraxisListItemAction, PraxisListVirtualScrollConfig, PraxisListWidgetEditorInputs, PraxisListWidgetEditorValue, TemplateDef, TemplateEvaluatorOptions, TemplateFeatureDef, TemplateType, TemplatingFeatureDef, ValueKind };
|