@praxisui/list 10.0.0-rc.36 → 10.0.0-rc.38
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-list.mjs +945 -82
- package/package.json +6 -6
- package/types/praxisui-list.d.ts +57 -1
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.38",
|
|
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.38",
|
|
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.38",
|
|
15
|
+
"@praxisui/core": "^10.0.0-rc.38",
|
|
16
|
+
"@praxisui/rich-content": "^10.0.0-rc.38",
|
|
17
|
+
"@praxisui/settings-panel": "^10.0.0-rc.38"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.3.0",
|
package/types/praxisui-list.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { OnInit, OnChanges, AfterViewInit, OnDestroy, EventEmitter, SimpleChanges, ChangeDetectorRef, DoCheck, Provider } from '@angular/core';
|
|
5
5
|
import { MatPaginatorSelectConfig, PageEvent } from '@angular/material/paginator';
|
|
6
6
|
import { FormGroup, FormControl } from '@angular/forms';
|
|
7
|
-
import { PraxisExportFormat, PraxisExportScope, PraxisRuntimeConditionalEffectRule, JsonLogicExpression, RichContentDocument, ResourceRecordOpenRef, GlobalActionRef, LocalizationConfig, AiCapability, PraxisDataQueryContext, RichBlockNode, RichBlockHostCapabilities, ApiEndpoint, ApiUrlEntry, SurfaceOpenActionEditorComponent, DiscoveredResourceOption, GlobalActionCatalogEntry, SurfaceOpenPayload, SettingsValueProvider as SettingsValueProvider$1, RichPresenterNode, RichComposeNode, ComponentDocMeta, AiCapabilityCategory, AiCapabilityCatalog, AiValueKind, ComponentAuthoringManifest } from '@praxisui/core';
|
|
7
|
+
import { PraxisExportFormat, PraxisExportScope, PraxisRuntimeConditionalEffectRule, JsonLogicExpression, RichContentDocument, ResourceRecordOpenRef, GlobalActionRef, LocalizationConfig, AiCapability, PraxisDataQueryContext, RichBlockNode, EmptyAction, RichBlockHostCapabilities, ApiEndpoint, ApiUrlEntry, SurfaceOpenActionEditorComponent, DiscoveredResourceOption, GlobalActionCatalogEntry, SurfaceOpenPayload, SettingsValueProvider as SettingsValueProvider$1, RichPresenterNode, RichComposeNode, ComponentDocMeta, AiCapabilityCategory, AiCapabilityCatalog, AiValueKind, ComponentAuthoringManifest } from '@praxisui/core';
|
|
8
8
|
import { BaseAiAdapter, AiResponseCompileResult, PatchResult, PraxisAssistantTurnViewState, PraxisAssistantShellLayout, PraxisAssistantShellLabels, PraxisAssistantSessionSnapshot, PraxisAssistantShellQuickReply, PraxisAssistantShellMessage } from '@praxisui/ai';
|
|
9
9
|
import { SettingsValueProvider } from '@praxisui/settings-panel';
|
|
10
10
|
import * as _praxisui_list from '@praxisui/list';
|
|
@@ -555,6 +555,8 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
555
555
|
private lastQuery;
|
|
556
556
|
private lastRuntimeQueryContextSignature;
|
|
557
557
|
private search$;
|
|
558
|
+
activeSearchTerm: string;
|
|
559
|
+
private searchInputRef?;
|
|
558
560
|
get layoutLines(): number;
|
|
559
561
|
boundControl: FormControl<unknown | unknown[] | null>;
|
|
560
562
|
private selectionControlSubscription?;
|
|
@@ -735,6 +737,13 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
735
737
|
configEditorLabel(): string;
|
|
736
738
|
expandToggleAriaLabel(item: any, index: number): string;
|
|
737
739
|
expansionRegionAriaLabel(item: any): string;
|
|
740
|
+
hasCustomEmptyStateTemplate(): boolean;
|
|
741
|
+
hasActiveEmptyStateFilters(): boolean;
|
|
742
|
+
emptyStateIcon(): string;
|
|
743
|
+
emptyStateTitle(): string;
|
|
744
|
+
emptyStateDescription(): string;
|
|
745
|
+
emptyStatePrimaryAction(): EmptyAction | undefined;
|
|
746
|
+
emptyStateSecondaryActions(): EmptyAction[];
|
|
738
747
|
emptyStateLabel(): string;
|
|
739
748
|
selectionListAriaLabel(): string | null;
|
|
740
749
|
selectionControlName(): string;
|
|
@@ -777,6 +786,7 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
777
786
|
private getExportFileExtension;
|
|
778
787
|
private getExportMimeType;
|
|
779
788
|
private cloneForExportEvent;
|
|
789
|
+
openQuickConnect(): void;
|
|
780
790
|
openConfigEditor(): void;
|
|
781
791
|
private openConfigEditorPanel;
|
|
782
792
|
openAiAssistant(): void;
|
|
@@ -812,6 +822,7 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
812
822
|
retryRemoteData(): void;
|
|
813
823
|
private focusCollectionBeforeReload;
|
|
814
824
|
onSearchInput(val: string): void;
|
|
825
|
+
clearSearch(): void;
|
|
815
826
|
isRemoteDataMode(): boolean;
|
|
816
827
|
activeSortValue(sort: string[] | undefined): string;
|
|
817
828
|
hasSortOption(value: string): boolean;
|
|
@@ -836,6 +847,7 @@ declare class PraxisList implements OnInit, OnChanges, AfterViewInit, OnDestroy
|
|
|
836
847
|
private storageKey;
|
|
837
848
|
private componentKeyId;
|
|
838
849
|
private readonly crud;
|
|
850
|
+
private readonly resourceDiscovery;
|
|
839
851
|
private executeSchemaInferenceForPlan;
|
|
840
852
|
private evalSlot;
|
|
841
853
|
private resolveSlotTemplate;
|
|
@@ -1312,6 +1324,8 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1312
1324
|
label?: string;
|
|
1313
1325
|
type?: string;
|
|
1314
1326
|
description?: string;
|
|
1327
|
+
enumValues?: string[];
|
|
1328
|
+
optionLabels?: Record<string, string>;
|
|
1315
1329
|
}>;
|
|
1316
1330
|
selectedResourceOption: DiscoveredResourceOption | null;
|
|
1317
1331
|
schemaWarning: string;
|
|
@@ -1321,6 +1335,7 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1321
1335
|
onFieldSelectOpenedChange(_opened: boolean): void;
|
|
1322
1336
|
getFilteredFields(selected?: string | string[] | null): string[];
|
|
1323
1337
|
onDiscoveredResourceSelected(entry: DiscoveredResourceOption | null): void;
|
|
1338
|
+
private extractFieldDomainMeta;
|
|
1324
1339
|
getFieldLabel(fieldName?: string | null): string;
|
|
1325
1340
|
getFieldTypeBadge(fieldName?: string | null): string;
|
|
1326
1341
|
getFieldDescription(fieldName?: string | null): string;
|
|
@@ -1524,6 +1539,7 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1524
1539
|
private setupSchemaWatcher;
|
|
1525
1540
|
private shouldAutoInferSlots;
|
|
1526
1541
|
private pendingRemoteSlotInference;
|
|
1542
|
+
private lastNonEmptyResourcePath;
|
|
1527
1543
|
syncSchemaFieldsFromWorking(immediate?: boolean): void;
|
|
1528
1544
|
loadFieldsFromResource(resourcePath: string): void;
|
|
1529
1545
|
onResourcePathChange(value: string): void;
|
|
@@ -1547,6 +1563,16 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1547
1563
|
applySalaryPreset(): void;
|
|
1548
1564
|
applyPricePreset(): void;
|
|
1549
1565
|
private applyCurrencyPreset;
|
|
1566
|
+
private resolveStatusDomainField;
|
|
1567
|
+
private inferSemanticStatusColor;
|
|
1568
|
+
resolveDomainColorMapEntries(explicitField?: string): Array<{
|
|
1569
|
+
key: string;
|
|
1570
|
+
color: string;
|
|
1571
|
+
}>;
|
|
1572
|
+
resolveDomainLabelMapEntries(explicitField?: string): Array<{
|
|
1573
|
+
key: string;
|
|
1574
|
+
label: string;
|
|
1575
|
+
}>;
|
|
1550
1576
|
private defaultStatusColorMapEntries;
|
|
1551
1577
|
previewData: {
|
|
1552
1578
|
title: string;
|
|
@@ -1855,6 +1881,8 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
|
|
|
1855
1881
|
private looksLikeJsonPayload;
|
|
1856
1882
|
private normalizeSurfaceOpenPayload;
|
|
1857
1883
|
verify(): void;
|
|
1884
|
+
private isGenericInferredChipColorMap;
|
|
1885
|
+
private isGenericInferredChipLabelMap;
|
|
1858
1886
|
inferFromFields(): void;
|
|
1859
1887
|
generateFeaturesFromMetaComposition(): void;
|
|
1860
1888
|
metaComposePreview(): string;
|
|
@@ -2103,6 +2131,20 @@ interface DemoItem {
|
|
|
2103
2131
|
title: string;
|
|
2104
2132
|
meta: string;
|
|
2105
2133
|
description: string;
|
|
2134
|
+
badge?: string;
|
|
2135
|
+
badgeTone?: string;
|
|
2136
|
+
markerColor?: string;
|
|
2137
|
+
icon?: string;
|
|
2138
|
+
avatarText?: string;
|
|
2139
|
+
children?: Array<{
|
|
2140
|
+
label: string;
|
|
2141
|
+
description: string;
|
|
2142
|
+
meta?: string;
|
|
2143
|
+
badge?: string;
|
|
2144
|
+
badgeTone?: string;
|
|
2145
|
+
markerColor?: string;
|
|
2146
|
+
icon?: string;
|
|
2147
|
+
}>;
|
|
2106
2148
|
}>;
|
|
2107
2149
|
}
|
|
2108
2150
|
declare class PraxisListDocPageComponent {
|
|
@@ -2338,7 +2380,14 @@ declare const PRAXIS_LIST_EN_US: {
|
|
|
2338
2380
|
readonly collapseDetails: "Collapse details";
|
|
2339
2381
|
readonly itemDetails: "Item details";
|
|
2340
2382
|
readonly emptyState: "No items available";
|
|
2383
|
+
readonly emptyStateDescription: "There are no items to display right now.";
|
|
2384
|
+
readonly emptyStateFilteredTitle: "No results found";
|
|
2385
|
+
readonly emptyStateFilteredDescription: "Review the active filters or adjust the search term.";
|
|
2386
|
+
readonly emptyStateClearSearchAction: "Clear search";
|
|
2387
|
+
readonly emptyStateConnectResourceTitle: "Choose the list resource";
|
|
2341
2388
|
readonly emptyStateConnectResource: "Connect this list to a resource to load items.";
|
|
2389
|
+
readonly emptyStateConnectResourceAction: "Select resource";
|
|
2390
|
+
readonly emptyStateConfigureAction: "Configure list";
|
|
2342
2391
|
readonly recordOpenUnavailable: "Unable to open details for this item.";
|
|
2343
2392
|
readonly 'selection.ariaLabel': "Selectable list";
|
|
2344
2393
|
readonly 'selection.selectItem': "Select item";
|
|
@@ -2734,7 +2783,14 @@ declare const PRAXIS_LIST_PT_BR: {
|
|
|
2734
2783
|
readonly collapseDetails: "Recolher detalhes";
|
|
2735
2784
|
readonly itemDetails: "Detalhes do item";
|
|
2736
2785
|
readonly emptyState: "Nenhum item disponível";
|
|
2786
|
+
readonly emptyStateDescription: "Não há itens para exibir neste momento.";
|
|
2787
|
+
readonly emptyStateFilteredTitle: "Nenhum resultado encontrado";
|
|
2788
|
+
readonly emptyStateFilteredDescription: "Revise os filtros ou ajuste o termo de busca.";
|
|
2789
|
+
readonly emptyStateClearSearchAction: "Limpar busca";
|
|
2790
|
+
readonly emptyStateConnectResourceTitle: "Escolha o recurso da lista";
|
|
2737
2791
|
readonly emptyStateConnectResource: "Conecte a lista a um recurso para carregar os itens.";
|
|
2792
|
+
readonly emptyStateConnectResourceAction: "Selecionar recurso";
|
|
2793
|
+
readonly emptyStateConfigureAction: "Configurar lista";
|
|
2738
2794
|
readonly recordOpenUnavailable: "Não foi possível abrir os detalhes deste item.";
|
|
2739
2795
|
readonly 'selection.ariaLabel': "Lista selecionável";
|
|
2740
2796
|
readonly 'selection.selectItem': "Selecionar item";
|