@praxisui/list 10.0.0-rc.31 → 10.0.0-rc.33

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.31",
3
+ "version": "10.0.0-rc.33",
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.31",
10
+ "@praxisui/dynamic-fields": "^10.0.0-rc.33",
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.31",
15
- "@praxisui/core": "^10.0.0-rc.31",
16
- "@praxisui/rich-content": "^10.0.0-rc.31",
17
- "@praxisui/settings-panel": "^10.0.0-rc.31"
14
+ "@praxisui/ai": "^10.0.0-rc.33",
15
+ "@praxisui/core": "^10.0.0-rc.33",
16
+ "@praxisui/rich-content": "^10.0.0-rc.33",
17
+ "@praxisui/settings-panel": "^10.0.0-rc.33"
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, SurfaceOpenActionEditorComponent, 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, RichBlockHostCapabilities, ApiEndpoint, ApiUrlEntry, SurfaceOpenActionEditorComponent, 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';
@@ -1262,6 +1262,16 @@ type ExportPreviewRow = Record<string, string>;
1262
1262
  declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1263
1263
  config: PraxisListConfig;
1264
1264
  listId?: string;
1265
+ /**
1266
+ * Logical endpoint key used to scope catalog discovery and schema resolution
1267
+ * in multi-module / multi-gateway hosts. Takes precedence over SETTINGS_PANEL_DATA when bound.
1268
+ */
1269
+ endpointKey?: ApiEndpoint;
1270
+ /**
1271
+ * Explicit API URL entry override used for catalog discovery and schema resolution.
1272
+ * Takes precedence over SETTINGS_PANEL_DATA when bound.
1273
+ */
1274
+ apiUrlEntry?: ApiUrlEntry | null;
1265
1275
  document: ListAuthoringDocument;
1266
1276
  working: NormalizedListConfig;
1267
1277
  private readonly invalidSurfaceDrafts;
@@ -1281,6 +1291,7 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1281
1291
  private initialJson;
1282
1292
  private lastJson;
1283
1293
  fields: string[];
1294
+ schemaWarning: string;
1284
1295
  private lastResourcePath?;
1285
1296
  sortField?: string;
1286
1297
  sortDir: 'asc' | 'desc';
@@ -1447,7 +1458,9 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1447
1458
  queryError: string;
1448
1459
  actionShowIfDrafts: Record<number, string>;
1449
1460
  private stashedLocalData?;
1461
+ private stashedLocalTemplating?;
1450
1462
  private crud;
1463
+ private readonly resourceDiscovery;
1451
1464
  private readonly i18n;
1452
1465
  private resourcePathChanges;
1453
1466
  constructor(injected?: any);
@@ -1476,7 +1489,11 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1476
1489
  private snapshotCurrentDocument;
1477
1490
  private syncSortStateFromWorking;
1478
1491
  private resetVisualMappingState;
1492
+ private buildDiscoveryOptions;
1479
1493
  private setupSchemaWatcher;
1494
+ private shouldAutoInferSlots;
1495
+ private pendingRemoteSlotInference;
1496
+ syncSchemaFieldsFromWorking(immediate?: boolean): void;
1480
1497
  loadFieldsFromResource(resourcePath: string): void;
1481
1498
  onResourcePathChange(value: string): void;
1482
1499
  hasRemoteResourcePath(): boolean;
@@ -1819,13 +1836,15 @@ declare class PraxisListConfigEditor implements SettingsValueProvider, DoCheck {
1819
1836
  private suggestIcon;
1820
1837
  getTypeIcon(type: string): string;
1821
1838
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisListConfigEditor, [{ optional: true; }]>;
1822
- static ɵcmp: i0.ɵɵComponentDeclaration<PraxisListConfigEditor, "praxis-list-config-editor", never, { "config": { "alias": "config"; "required": false; }; "listId": { "alias": "listId"; "required": false; }; }, {}, never, never, true, never>;
1839
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisListConfigEditor, "praxis-list-config-editor", never, { "config": { "alias": "config"; "required": false; }; "listId": { "alias": "listId"; "required": false; }; "endpointKey": { "alias": "endpointKey"; "required": false; }; "apiUrlEntry": { "alias": "apiUrlEntry"; "required": false; }; }, {}, never, never, true, never>;
1823
1840
  }
1824
1841
 
1825
1842
  type PersistenceStrategy = 'input-first' | 'local-first' | 'volatile';
1826
1843
  interface PraxisListWidgetEditorInputs {
1827
1844
  config?: PraxisListConfig | null;
1828
1845
  listId?: string;
1846
+ endpointKey?: ApiEndpoint;
1847
+ apiUrlEntry?: ApiUrlEntry | null;
1829
1848
  [key: string]: unknown;
1830
1849
  }
1831
1850
  interface PraxisListWidgetEditorValue {
@@ -1834,6 +1853,7 @@ interface PraxisListWidgetEditorValue {
1834
1853
  declare class PraxisListWidgetConfigEditor implements SettingsValueProvider$1, AfterViewInit, OnDestroy {
1835
1854
  inputs: PraxisListWidgetEditorInputs | null;
1836
1855
  widgetKey?: string;
1856
+ context: Record<string, unknown>;
1837
1857
  listEditor?: PraxisListConfigEditor;
1838
1858
  readonly isDirty$: BehaviorSubject<boolean>;
1839
1859
  readonly isValid$: BehaviorSubject<boolean>;
@@ -1850,6 +1870,8 @@ declare class PraxisListWidgetConfigEditor implements SettingsValueProvider$1, A
1850
1870
  private publishDirty;
1851
1871
  get config(): PraxisListConfig;
1852
1872
  get listId(): string | undefined;
1873
+ get endpointKey(): ApiEndpoint | undefined;
1874
+ get apiUrlEntry(): ApiUrlEntry | null | undefined;
1853
1875
  ngAfterViewInit(): void;
1854
1876
  ngOnDestroy(): void;
1855
1877
  getSettingsValue(): PraxisListWidgetEditorValue;
@@ -1858,7 +1880,7 @@ declare class PraxisListWidgetConfigEditor implements SettingsValueProvider$1, A
1858
1880
  private initializeChildEditor;
1859
1881
  private buildValue;
1860
1882
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisListWidgetConfigEditor, never>;
1861
- static ɵcmp: i0.ɵɵComponentDeclaration<PraxisListWidgetConfigEditor, "praxis-list-widget-config-editor", never, { "inputs": { "alias": "inputs"; "required": false; }; "widgetKey": { "alias": "widgetKey"; "required": false; }; }, {}, never, never, true, never>;
1883
+ static ɵcmp: i0.ɵɵComponentDeclaration<PraxisListWidgetConfigEditor, "praxis-list-widget-config-editor", never, { "inputs": { "alias": "inputs"; "required": false; }; "widgetKey": { "alias": "widgetKey"; "required": false; }; "context": { "alias": "context"; "required": false; }; }, {}, never, never, true, never>;
1862
1884
  }
1863
1885
 
1864
1886
  declare function createListAuthoringDocument(source: {