@praxisui/list 8.0.0-beta.25 → 8.0.0-beta.27
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/fesm2022/praxisui-list.mjs +6463 -6156
- package/index.d.ts +16 -2
- package/package.json +6 -6
package/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { MatPaginatorSelectConfig, PageEvent } from '@angular/material/paginator
|
|
|
7
7
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
8
8
|
import * as _praxisui_core from '@praxisui/core';
|
|
9
9
|
import { PraxisExportFormat, PraxisExportScope, PraxisRuntimeConditionalEffectRule, JsonLogicExpression, GlobalActionRef, LocalizationConfig, AiCapability, RichBlockNode, GlobalActionCatalogEntry, SurfaceOpenPayload, SettingsValueProvider as SettingsValueProvider$1, RichPresenterNode, RichComposeNode, ComponentDocMeta, AiCapabilityCategory, AiValueKind, AiCapabilityCatalog, ComponentAuthoringManifest } from '@praxisui/core';
|
|
10
|
-
import { BaseAiAdapter, PatchResult, PraxisAssistantTurnViewState, PraxisAssistantShellLayout, PraxisAssistantShellLabels, PraxisAssistantSessionSnapshot, PraxisAssistantShellQuickReply, PraxisAssistantShellMessage } from '@praxisui/ai';
|
|
10
|
+
import { BaseAiAdapter, AiResponseCompileResult, PatchResult, PraxisAssistantTurnViewState, PraxisAssistantShellLayout, PraxisAssistantShellLabels, PraxisAssistantSessionSnapshot, PraxisAssistantShellQuickReply, PraxisAssistantShellMessage } from '@praxisui/ai';
|
|
11
11
|
import { SettingsValueProvider } from '@praxisui/settings-panel';
|
|
12
12
|
|
|
13
13
|
type TemplateType = 'text' | 'icon' | 'image' | 'chip' | 'rating' | 'currency' | 'date' | 'html' | 'slot' | 'metric' | 'compose' | 'component';
|
|
@@ -422,12 +422,22 @@ declare class ListAiAdapter extends BaseAiAdapter<PraxisListConfig> {
|
|
|
422
422
|
getSchemaFields(): Record<string, any>[];
|
|
423
423
|
getAuthoringContext(): Record<string, any>;
|
|
424
424
|
createSnapshot(): PraxisListConfig;
|
|
425
|
+
compileAiResponse(response: Record<string, unknown>): AiResponseCompileResult | null;
|
|
425
426
|
restoreSnapshot(snapshot: PraxisListConfig): Promise<void>;
|
|
426
427
|
applyPatch(patch: Partial<PraxisListConfig>, _intent?: string): Promise<PatchResult>;
|
|
427
428
|
private applyConfig;
|
|
428
429
|
private smartMergeListConfig;
|
|
429
430
|
private sanitizePatch;
|
|
430
431
|
private cloneConfig;
|
|
432
|
+
private coerceComponentEditPlanOperations;
|
|
433
|
+
private coerceOperationInput;
|
|
434
|
+
private applyManifestEffects;
|
|
435
|
+
private resolveSetValue;
|
|
436
|
+
private mergeAtPath;
|
|
437
|
+
private setAtPath;
|
|
438
|
+
private readAtPath;
|
|
439
|
+
private asRecord;
|
|
440
|
+
private trimToUndefined;
|
|
431
441
|
}
|
|
432
442
|
|
|
433
443
|
interface ListRowLayoutColumnViewModel {
|
|
@@ -447,6 +457,7 @@ declare class PraxisList implements OnInit, OnChanges, OnDestroy {
|
|
|
447
457
|
config: PraxisListConfig;
|
|
448
458
|
listId: string;
|
|
449
459
|
componentInstanceId?: string;
|
|
460
|
+
configPersistenceStrategy: 'local-first' | 'input-first';
|
|
450
461
|
form?: FormGroup | null;
|
|
451
462
|
set enableCustomization(value: boolean);
|
|
452
463
|
get enableCustomization(): boolean;
|
|
@@ -723,6 +734,9 @@ declare class PraxisList implements OnInit, OnChanges, OnDestroy {
|
|
|
723
734
|
private executeSchemaInferenceForPlan;
|
|
724
735
|
private evalSlot;
|
|
725
736
|
private resolveSlotTemplate;
|
|
737
|
+
private resolveLocalDataFallbackTemplate;
|
|
738
|
+
private isLocalDataPreviewItem;
|
|
739
|
+
private firstPresentItemKey;
|
|
726
740
|
private evaluateTemplateNode;
|
|
727
741
|
private buildUnsupportedComposeNode;
|
|
728
742
|
private buildRuntimeComponentView;
|
|
@@ -789,7 +803,7 @@ declare class PraxisList implements OnInit, OnChanges, OnDestroy {
|
|
|
789
803
|
private normalizeExpansionItems;
|
|
790
804
|
private normalizeKeyValueItems;
|
|
791
805
|
static ɵfac: i0.ɵɵFactoryDeclaration<PraxisList, never>;
|
|
792
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisList, "praxis-list", never, { "config": { "alias": "config"; "required": false; }; "listId": { "alias": "listId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "form": { "alias": "form"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; }, { "itemClick": "itemClick"; "actionClick": "actionClick"; "selectionChange": "selectionChange"; "exportAction": "exportAction"; }, never, never, true, never>;
|
|
806
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PraxisList, "praxis-list", never, { "config": { "alias": "config"; "required": false; }; "listId": { "alias": "listId"; "required": true; }; "componentInstanceId": { "alias": "componentInstanceId"; "required": false; }; "configPersistenceStrategy": { "alias": "configPersistenceStrategy"; "required": false; }; "form": { "alias": "form"; "required": false; }; "enableCustomization": { "alias": "enableCustomization"; "required": false; }; }, { "itemClick": "itemClick"; "actionClick": "actionClick"; "selectionChange": "selectionChange"; "exportAction": "exportAction"; }, never, never, true, never>;
|
|
793
807
|
static ngAcceptInputType_enableCustomization: unknown;
|
|
794
808
|
}
|
|
795
809
|
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/list",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.27",
|
|
4
4
|
"description": "List components and helpers for Praxis UI.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": ">=16 <21",
|
|
7
7
|
"@angular/core": ">=16 <21",
|
|
8
8
|
"@angular/material": ">=16 <21",
|
|
9
|
-
"@praxisui/dynamic-fields": "^8.0.0-beta.
|
|
9
|
+
"@praxisui/dynamic-fields": "^8.0.0-beta.27",
|
|
10
10
|
"rxjs": ">=7 <9",
|
|
11
11
|
"@angular/forms": ">=16 <21",
|
|
12
12
|
"@angular/router": ">=16 <21",
|
|
13
|
-
"@praxisui/ai": "^8.0.0-beta.
|
|
14
|
-
"@praxisui/core": "^8.0.0-beta.
|
|
15
|
-
"@praxisui/rich-content": "^8.0.0-beta.
|
|
16
|
-
"@praxisui/settings-panel": "^8.0.0-beta.
|
|
13
|
+
"@praxisui/ai": "^8.0.0-beta.27",
|
|
14
|
+
"@praxisui/core": "^8.0.0-beta.27",
|
|
15
|
+
"@praxisui/rich-content": "^8.0.0-beta.27",
|
|
16
|
+
"@praxisui/settings-panel": "^8.0.0-beta.27"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"tslib": "^2.3.0",
|