@praxisui/list 10.0.0-rc.37 → 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/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@praxisui/list",
3
- "version": "10.0.0-rc.37",
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.37",
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.37",
15
- "@praxisui/core": "^10.0.0-rc.37",
16
- "@praxisui/rich-content": "^10.0.0-rc.37",
17
- "@praxisui/settings-panel": "^10.0.0-rc.37"
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",
@@ -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;
@@ -2352,7 +2380,14 @@ declare const PRAXIS_LIST_EN_US: {
2352
2380
  readonly collapseDetails: "Collapse details";
2353
2381
  readonly itemDetails: "Item details";
2354
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";
2355
2388
  readonly emptyStateConnectResource: "Connect this list to a resource to load items.";
2389
+ readonly emptyStateConnectResourceAction: "Select resource";
2390
+ readonly emptyStateConfigureAction: "Configure list";
2356
2391
  readonly recordOpenUnavailable: "Unable to open details for this item.";
2357
2392
  readonly 'selection.ariaLabel': "Selectable list";
2358
2393
  readonly 'selection.selectItem': "Select item";
@@ -2748,7 +2783,14 @@ declare const PRAXIS_LIST_PT_BR: {
2748
2783
  readonly collapseDetails: "Recolher detalhes";
2749
2784
  readonly itemDetails: "Detalhes do item";
2750
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";
2751
2791
  readonly emptyStateConnectResource: "Conecte a lista a um recurso para carregar os itens.";
2792
+ readonly emptyStateConnectResourceAction: "Selecionar recurso";
2793
+ readonly emptyStateConfigureAction: "Configurar lista";
2752
2794
  readonly recordOpenUnavailable: "Não foi possível abrir os detalhes deste item.";
2753
2795
  readonly 'selection.ariaLabel': "Lista selecionável";
2754
2796
  readonly 'selection.selectItem': "Selecionar item";