@praxisui/ai 10.0.0-rc.82 → 10.0.0-rc.84
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 +2 -2
- package/fesm2022/praxisui-ai.mjs +1129 -16
- package/package.json +2 -2
- package/types/praxisui-ai.d.ts +12 -0
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/ai",
|
|
3
|
-
"version": "10.0.0-rc.
|
|
3
|
+
"version": "10.0.0-rc.84",
|
|
4
4
|
"description": "AI building blocks and assistant integration for Praxis UI applications.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
|
-
"@praxisui/core": "^10.0.0-rc.
|
|
8
|
+
"@praxisui/core": "^10.0.0-rc.84",
|
|
9
9
|
"@angular/cdk": "^21.0.0",
|
|
10
10
|
"@angular/forms": "^21.0.0",
|
|
11
11
|
"@angular/material": "^21.0.0",
|
package/types/praxisui-ai.d.ts
CHANGED
|
@@ -1549,6 +1549,8 @@ interface PraxisAssistantOperationalWidgetBlock {
|
|
|
1549
1549
|
interface PraxisAssistantOperationalCollectionColumn {
|
|
1550
1550
|
readonly key: string;
|
|
1551
1551
|
readonly label: string;
|
|
1552
|
+
readonly icon?: string;
|
|
1553
|
+
readonly presentation?: 'badge' | 'status' | 'currency' | 'date' | 'number' | 'code' | 'boolean' | 'text' | string;
|
|
1552
1554
|
}
|
|
1553
1555
|
interface PraxisAssistantOperationalCompactCollectionBlock {
|
|
1554
1556
|
readonly type: 'compact-collection';
|
|
@@ -4293,6 +4295,16 @@ declare class PraxisAssistantOperationalBlockComponent {
|
|
|
4293
4295
|
protected severityLabel(severity?: string): string;
|
|
4294
4296
|
protected stringValue(value: unknown): string;
|
|
4295
4297
|
protected formatCellValue(value: unknown): string;
|
|
4298
|
+
protected resolveColumnIcon(column: PraxisAssistantOperationalCollectionColumn): string | null;
|
|
4299
|
+
protected resolveCollectionCellView(column: PraxisAssistantOperationalCollectionColumn, value: unknown): {
|
|
4300
|
+
readonly kind: 'pill' | 'code' | 'text';
|
|
4301
|
+
readonly text: string;
|
|
4302
|
+
readonly tone: 'danger' | 'warning' | 'info' | 'success' | 'neutral';
|
|
4303
|
+
readonly numeric: boolean;
|
|
4304
|
+
};
|
|
4305
|
+
private isStatusLikeColumn;
|
|
4306
|
+
private resolveCellTone;
|
|
4307
|
+
private humanizeEnumToken;
|
|
4296
4308
|
protected onActionClick(action: PraxisAssistantOperationalActionAffordance): void;
|
|
4297
4309
|
protected onAlertSuggestedAction(alert: PraxisAssistantOperationalAlertItem): void;
|
|
4298
4310
|
protected onDisambiguationRowClick(row: Readonly<Record<string, unknown>>): void;
|