@praxisui/core 10.0.0-rc.51 → 10.0.0-rc.53

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-18T10:31:41.556Z",
3
+ "generatedAt": "2026-11-18T18:58:23.543Z",
4
4
  "packageName": "@praxisui/core",
5
- "packageVersion": "10.0.0-rc.51",
5
+ "packageVersion": "10.0.0-rc.53",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 4,
@@ -3908,6 +3908,18 @@ class SchemaNormalizationKernel {
3908
3908
  field.primarySearch = primarySearch;
3909
3909
  }
3910
3910
  }
3911
+ if (ui.inlineFilter !== undefined) {
3912
+ const inlineFilter = this.parseOptionalBoolean(ui.inlineFilter);
3913
+ if (inlineFilter !== undefined) {
3914
+ field.inlineFilter = inlineFilter;
3915
+ }
3916
+ }
3917
+ if (ui.inline !== undefined) {
3918
+ const inline = this.parseOptionalBoolean(ui.inline);
3919
+ if (inline !== undefined) {
3920
+ field.inline = inline;
3921
+ }
3922
+ }
3911
3923
  if (ui.microVisualization !== undefined) {
3912
3924
  const microVisualization = this.parseMicroVisualization(ui.microVisualization);
3913
3925
  if (microVisualization) {
@@ -4992,6 +4992,8 @@ function mapFieldDefinitionToMetadata(field) {
4992
4992
  'tableOrder',
4993
4993
  'pinned',
4994
4994
  'primarySearch',
4995
+ 'inlineFilter',
4996
+ 'inline',
4995
4997
  'colSpan',
4996
4998
  'contextBinding',
4997
4999
  'draftCleared',
@@ -12303,6 +12305,18 @@ class SchemaNormalizationKernel {
12303
12305
  field.primarySearch = primarySearch;
12304
12306
  }
12305
12307
  }
12308
+ if (ui.inlineFilter !== undefined) {
12309
+ const inlineFilter = this.parseOptionalBoolean(ui.inlineFilter);
12310
+ if (inlineFilter !== undefined) {
12311
+ field.inlineFilter = inlineFilter;
12312
+ }
12313
+ }
12314
+ if (ui.inline !== undefined) {
12315
+ const inline = this.parseOptionalBoolean(ui.inline);
12316
+ if (inline !== undefined) {
12317
+ field.inline = inline;
12318
+ }
12319
+ }
12306
12320
  if (ui.microVisualization !== undefined) {
12307
12321
  const microVisualization = this.parseMicroVisualization(ui.microVisualization);
12308
12322
  if (microVisualization) {
@@ -21937,6 +21951,7 @@ class GenericCrudService {
21937
21951
  _lastResourceIdentity = null;
21938
21952
  _lastResourceIdentityDiagnostics = [];
21939
21953
  _lastResourceQuickFilters = null;
21954
+ _lastResourceFacts = null;
21940
21955
  _lastRootUiMetadata = null;
21941
21956
  _lastRootUiBySchemaType = new Map();
21942
21957
  // Última informação do schema consumido (para auditoria/merge)
@@ -22380,6 +22395,7 @@ class GenericCrudService {
22380
22395
  this._lastResourceIdentity = null;
22381
22396
  this._lastResourceIdentityDiagnostics = [];
22382
22397
  this._lastResourceQuickFilters = null;
22398
+ this._lastResourceFacts = null;
22383
22399
  this._lastRootUiMetadata = null;
22384
22400
  this._lastRootUiBySchemaType.clear();
22385
22401
  }
@@ -22465,6 +22481,18 @@ class GenericCrudService {
22465
22481
  else {
22466
22482
  this._lastResourceQuickFilters = null;
22467
22483
  }
22484
+ const rawFacts = schema?.['x-ui']?.resourceFacts ??
22485
+ schema?.['x-ui']?.facts ??
22486
+ resource?.resourceFacts;
22487
+ if (Array.isArray(rawFacts)) {
22488
+ const normalizedFacts = rawFacts
22489
+ .filter((item) => Boolean(item && typeof item === 'object' && !Array.isArray(item)))
22490
+ .map((item) => structuredClone(item));
22491
+ this._lastResourceFacts = normalizedFacts.length > 0 ? normalizedFacts : null;
22492
+ }
22493
+ else {
22494
+ this._lastResourceFacts = null;
22495
+ }
22468
22496
  }
22469
22497
  normalizeCanonicalCapabilities(value) {
22470
22498
  if (!value || typeof value !== 'object' || Array.isArray(value)) {
@@ -22633,6 +22661,13 @@ class GenericCrudService {
22633
22661
  }))
22634
22662
  : null;
22635
22663
  }
22664
+ /** Retorna os fatos determinísticos descobertos no schema x-ui.resourceFacts / facts. */
22665
+ getResourceFacts() {
22666
+ this.refreshSchemaRuntimeContext();
22667
+ return this._lastResourceFacts
22668
+ ? this._lastResourceFacts.map((item) => structuredClone(item))
22669
+ : null;
22670
+ }
22636
22671
  /** Last schema evidence for the configured resource; per-call overrides do not replace it. */
22637
22672
  getLastSchemaInfo() {
22638
22673
  this.refreshSchemaRuntimeContext();
@@ -74376,10 +74411,12 @@ class PraxisAppShellComponent {
74376
74411
  mobileCloseButton = viewChild('mobileCloseButton', ...(ngDevMode ? [{ debugName: "mobileCloseButton" }] : /* istanbul ignore next */ []));
74377
74412
  sidebarCollapsed = computed(() => (this.railEnabled() || this.collapsed) && !this.mobileOpen(), ...(ngDevMode ? [{ debugName: "sidebarCollapsed" }] : /* istanbul ignore next */ []));
74378
74413
  searchQuery = signal('', ...(ngDevMode ? [{ debugName: "searchQuery" }] : /* istanbul ignore next */ []));
74414
+ compactViewport = false;
74379
74415
  constructor() {
74380
74416
  inject(BreakpointObserver).observe('(max-width: 900px)')
74381
74417
  .pipe(takeUntilDestroyed())
74382
74418
  .subscribe(({ matches }) => {
74419
+ this.compactViewport = matches;
74383
74420
  if (matches)
74384
74421
  this.closeMore();
74385
74422
  else
@@ -74429,6 +74466,13 @@ class PraxisAppShellComponent {
74429
74466
  openMorePanel() {
74430
74467
  this.openMore();
74431
74468
  }
74469
+ openNavigationOverlay() {
74470
+ if (this.compactViewport) {
74471
+ this.openMobile();
74472
+ return;
74473
+ }
74474
+ this.openMore();
74475
+ }
74432
74476
  toggleMore() {
74433
74477
  if (this.moreOpen())
74434
74478
  this.closeMore();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/core",
3
- "version": "10.0.0-rc.51",
3
+ "version": "10.0.0-rc.53",
4
4
  "description": "Core library for Praxis UI Workspace: types, tokens, services and utilities shared across @praxisui/* packages.",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^21.0.0",
@@ -4519,6 +4519,10 @@ interface FieldMetadata extends ComponentMetadata {
4519
4519
  pinned?: 'start' | 'end';
4520
4520
  /** Marks field as primary quick-search filter target (`x-ui.primarySearch`). */
4521
4521
  primarySearch?: boolean;
4522
+ /** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
4523
+ inlineFilter?: boolean;
4524
+ /** Compact alias promoting filter field to inline/always-visible bar (`x-ui.inline`). */
4525
+ inline?: boolean;
4522
4526
  /** Explicit 12-column responsive grid span (`x-ui.colSpan`, `1..12`). */
4523
4527
  colSpan?: number;
4524
4528
  /** Active workspace context binding contract (`x-ui.contextBinding`). */
@@ -4770,6 +4774,10 @@ interface FieldDefinition {
4770
4774
  tableOrder?: number;
4771
4775
  pinned?: 'start' | 'end';
4772
4776
  primarySearch?: boolean;
4777
+ /** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
4778
+ inlineFilter?: boolean;
4779
+ /** Legacy/compact alias promoting filter field to inline bar (`x-ui.inline`). */
4780
+ inline?: boolean;
4773
4781
  formHidden?: boolean;
4774
4782
  filterable?: boolean;
4775
4783
  /** Json Logic canônico que controla se o campo é exibido. */
@@ -763,138 +763,430 @@ interface ResourceCapabilityDigest {
763
763
  filterExpressionSupported: boolean;
764
764
  }
765
765
 
766
- interface HateoasLink {
767
- href: string;
768
- templated?: boolean;
769
- type?: string;
770
- deprecation?: string;
771
- profile?: string;
772
- name?: string;
773
- title?: string;
774
- hreflang?: string;
775
- [prop: string]: any;
776
- }
777
- interface RestApiLinks {
778
- [rel: string]: HateoasLink | HateoasLink[];
779
- }
780
- interface RestApiResponse<T> {
766
+ declare const DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION: "praxis.ai.context-hints.domain-catalog/v0.2";
767
+ interface DomainCatalogRelease {
768
+ releaseKey: string;
769
+ serviceKey?: string;
781
770
  status?: string;
782
- message?: string;
783
- data: T;
784
- _links?: RestApiLinks;
785
- errors?: any;
786
- timestamp?: string;
771
+ version?: string;
772
+ createdAt?: string;
773
+ resourceKey?: string;
774
+ [key: string]: unknown;
787
775
  }
788
-
789
- interface Page<T> {
790
- content: T[];
791
- totalElements: number;
792
- totalPages: number;
793
- size: number;
794
- number: number;
776
+ interface DomainCatalogGovernancePayload {
777
+ classification?: string;
778
+ dataCategory?: string;
779
+ complianceTags?: string[];
780
+ aiUsage?: {
781
+ visibility?: string;
782
+ purpose?: string;
783
+ restrictions?: string[];
784
+ [key: string]: unknown;
785
+ };
786
+ [key: string]: unknown;
795
787
  }
796
- interface CursorPage<T> {
797
- content: T[];
798
- next?: string | null;
799
- prev?: string | null;
800
- size: number;
788
+ interface DomainCatalogItem<TPayload = Record<string, unknown>> {
789
+ itemKey: string;
790
+ type?: string;
791
+ payload?: TPayload;
792
+ [key: string]: unknown;
801
793
  }
802
-
803
- interface OptionDTO<ID = string | number> {
804
- id: ID;
805
- label: string;
806
- extra?: Record<string, unknown>;
794
+ interface DomainCatalogResourceProbe {
795
+ resourceKey: string;
796
+ query: string;
797
+ limit?: number;
807
798
  }
808
-
809
- interface PageableRequest {
810
- pageNumber: number;
811
- pageSize: number;
812
- sort?: string[];
799
+ type DomainCatalogContextHintItemType = 'context' | 'node' | 'edge' | 'binding' | 'evidence' | 'governance' | 'vocabulary' | 'relationship';
800
+ type DomainCatalogContextHintIntent = 'authoring' | 'explain' | 'validate' | 'ai-access-control';
801
+ type DomainCatalogRecommendedAuthoringFlow = 'shared_rule_authoring' | 'component_authoring' | 'ui_composition_authoring';
802
+ type DomainCatalogRecommendedRuleType = 'privacy' | 'compliance' | 'validation' | 'selection_eligibility' | 'workflow_action_policy' | 'approval_policy' | string;
803
+ interface DomainCatalogRelationshipHint {
804
+ enabled?: boolean;
805
+ federated?: boolean;
806
+ serviceKey?: string | null;
807
+ sourceNodeKey?: string | null;
808
+ targetNodeKey?: string | null;
809
+ edgeType?: string | null;
810
+ query?: string | null;
811
+ limit?: number;
813
812
  }
814
- interface FilterOptions<ID = string | number> {
815
- includeIds?: ID[];
816
- observeVersionHeader?: boolean;
813
+ interface DomainCatalogContextHint {
814
+ schemaVersion?: typeof DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION;
815
+ resourceKey?: string | null;
816
+ query?: string | null;
817
+ releaseId?: string | null;
818
+ releaseKey?: string | null;
819
+ serviceKey?: string | null;
820
+ type?: DomainCatalogContextHintItemType;
821
+ itemTypes?: DomainCatalogContextHintItemType[];
822
+ intent?: DomainCatalogContextHintIntent | null;
823
+ contextKey?: string | null;
824
+ nodeType?: string | null;
825
+ recommendedAuthoringFlow?: DomainCatalogRecommendedAuthoringFlow | null;
826
+ recommendedRuleType?: DomainCatalogRecommendedRuleType | null;
827
+ limit?: number;
828
+ relationships?: DomainCatalogRelationshipHint | null;
817
829
  }
818
- interface CursorRequest {
819
- size?: number;
820
- sort?: string[];
821
- after?: string | null;
822
- before?: string | null;
830
+ interface DomainCatalogGovernanceContext {
831
+ resourceKey: string;
832
+ query: string;
833
+ releaseKey: string | null;
834
+ items: DomainCatalogItem<DomainCatalogGovernancePayload>[];
823
835
  }
824
- interface LocateRequest {
825
- size: number;
826
- sort?: string[];
836
+ interface Domain360CatalogCoverage {
837
+ resourceCount: number;
838
+ fieldCount: number;
839
+ capabilityCount: number;
840
+ surfaceCount: number;
841
+ actionCount: number;
842
+ workflowCount: number;
843
+ statsCount: number;
844
+ optionSourceCount: number;
845
+ relationshipCount: number;
846
+ contractCount: number;
847
+ resolutionCount: number;
827
848
  }
828
-
829
- type OptionSourceType = 'RESOURCE_ENTITY' | 'DISTINCT_DIMENSION' | 'CATEGORICAL_BUCKET' | 'LIGHT_LOOKUP' | 'STATIC_CANONICAL';
830
- type OptionSourceSearchMode = 'none' | 'starts-with' | 'contains' | 'exact';
831
- type OptionSourceCachePolicy = 'none' | 'request-scope' | 'session-scope' | 'etag-aware';
832
- type OptionSourceSelectedReloadPolicy = 'required' | 'supported' | 'unsupported-with-waiver' | 'not-applicable';
833
- type OptionSourceInvalidSortPolicy = 'reject' | 'ignore' | 'unsupported';
834
- type LookupOpenDetailMode = 'samePage' | 'newTab' | 'drawer' | 'modal' | 'route';
835
- type LookupStatusTone = 'success' | 'warning' | 'danger' | 'neutral';
836
- type LookupDialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
837
- type LookupFilterFieldType = 'text' | 'enum' | 'date' | 'number' | 'reference';
838
- type LookupFilterOperator = 'contains' | 'startsWith' | 'equals' | 'in' | 'before' | 'after' | 'between' | 'gt' | 'gte' | 'lt' | 'lte';
839
- type EntityLookupSelectedLayout = 'card' | 'inline' | 'compact' | 'token';
840
- type EntityLookupResultLayout = 'list' | 'denseList' | 'table' | 'card';
841
- type EntityLookupDisplayPreset = 'compact' | 'rich' | 'directory' | 'status' | 'reference' | 'hierarchical';
842
- type EntityLookupUsage = 'form' | 'filter' | 'table-cell' | 'dashboard' | 'wizard' | 'review';
843
- type EntityLookupDensity = 'compact' | 'comfortable' | 'rich';
844
- type EntityLookupDisplayFieldPresentation = 'text' | 'chip' | 'badge' | 'date' | 'currency' | 'metric';
845
- interface EntityLookupDisplayFieldMetadata {
846
- key?: string;
847
- propertyPath?: string;
849
+ interface DomainCatalogFactThreshold {
850
+ min?: number;
851
+ max?: number;
852
+ value?: number;
853
+ equals?: string;
854
+ tone?: string;
848
855
  label?: string;
849
- icon?: string;
850
- presentation?: EntityLookupDisplayFieldPresentation | string;
851
- tone?: LookupStatusTone | 'info' | string;
852
- format?: string;
853
856
  }
854
- interface EntityLookupRichFieldMetadata extends EntityLookupDisplayFieldMetadata {
855
- value?: unknown;
857
+ interface DomainCatalogResourceFactMetadata {
858
+ factKey: string;
859
+ dataType?: string;
860
+ unit?: string;
861
+ parameters?: Record<string, unknown>;
862
+ deterministic?: boolean;
863
+ sourceKind?: string;
864
+ icon?: string;
865
+ tone?: string;
866
+ valuePresentation?: string;
867
+ thresholds?: DomainCatalogFactThreshold[];
868
+ [key: string]: unknown;
856
869
  }
857
- type EntityLookupSinglePayloadMode = 'id' | 'entityRef';
858
- type EntityLookupMultiplePayloadMode = 'ids' | 'entityRefs';
859
- type EntityLookupPayloadMode = EntityLookupSinglePayloadMode | EntityLookupMultiplePayloadMode;
860
- interface EntityLookupCollectionMetadata {
861
- multiple?: boolean;
862
- maxSelections?: number;
870
+ interface Domain360CatalogEntry<TMetadata = Record<string, unknown> | null> {
871
+ key: string;
872
+ label: string;
873
+ kind: string;
874
+ itemType: string;
875
+ contextKey?: string | null;
876
+ source?: string | null;
877
+ summary?: string | null;
878
+ metadata?: TMetadata;
863
879
  }
864
- interface LookupSelectionPolicyMetadata {
865
- selectablePropertyPath?: string;
866
- statusPropertyPath?: string;
867
- allowedStatuses?: string[];
868
- blockedStatuses?: string[];
869
- allowRetainInvalidExistingValue?: boolean;
870
- disabledReasonTemplate?: string;
871
- validationMessageTemplate?: string;
880
+ interface Domain360CatalogRoute {
881
+ routeKey: string;
882
+ label: string;
883
+ kind: string;
884
+ blueprint: string;
885
+ recommendedComponents: string[];
886
+ requiredInteractions: string[];
887
+ requiredCapabilities: string[];
888
+ promptSeed?: string | null;
889
+ confidence?: string | null;
872
890
  }
873
- interface LookupCapabilitiesMetadata {
874
- filter?: boolean;
875
- byIds?: boolean;
876
- detail?: boolean;
877
- create?: boolean;
878
- edit?: boolean;
879
- navigateToDetail?: boolean;
880
- multiSelect?: boolean;
881
- recent?: boolean;
882
- favorites?: boolean;
883
- auditSnapshot?: boolean;
891
+ interface Domain360CatalogDiagnostic {
892
+ severity: string;
893
+ code: string;
894
+ message: string;
895
+ target?: string | null;
884
896
  }
885
- interface LookupDetailMetadata {
886
- hrefTemplate?: string;
887
- routeTemplate?: string;
888
- openDetailMode?: LookupOpenDetailMode;
889
- kind?: 'surface' | 'route' | 'href' | string;
890
- resourceKey?: string;
891
- surfaceId?: string;
892
- previewSurfaceId?: string;
893
- presentation?: 'modal' | 'drawer' | string;
894
- preferredWidget?: string;
895
- mode?: 'view' | 'edit' | 'create' | string;
897
+ interface Domain360CatalogResponse {
898
+ schemaVersion: string;
899
+ tenantId?: string | null;
900
+ environment?: string | null;
901
+ serviceKey?: string | null;
902
+ resourceKey?: string | null;
903
+ query?: string | null;
904
+ sourceMode?: string | null;
905
+ release?: DomainCatalogRelease | null;
906
+ retrievalGuidance?: string[];
907
+ coverage: Domain360CatalogCoverage;
908
+ resources: Domain360CatalogEntry[];
909
+ fields: Domain360CatalogEntry[];
910
+ capabilities: Domain360CatalogEntry[];
911
+ surfaces: Domain360CatalogEntry[];
912
+ actions: Domain360CatalogEntry[];
913
+ workflows: Domain360CatalogEntry[];
914
+ stats: Domain360CatalogEntry[];
915
+ optionSources: Domain360CatalogEntry[];
916
+ relationships: Domain360CatalogEntry[];
917
+ contracts: Domain360CatalogEntry[];
918
+ resolutions: Domain360CatalogEntry[];
919
+ recommendedRoutes: Domain360CatalogRoute[];
920
+ diagnostics: Domain360CatalogDiagnostic[];
896
921
  }
897
- interface LookupCreateMetadata {
922
+ interface DomainCatalogRuleSlotItem {
923
+ slotKey: string;
924
+ stage?: string;
925
+ cardinality?: string;
926
+ overridePolicy?: string;
927
+ aggregationPolicy?: string;
928
+ /** Product-owned guard binding identities required by every enabled binding in this slot. */
929
+ requiredControlDependencies?: readonly string[];
930
+ parameterizable?: boolean;
931
+ templateKey?: string;
932
+ templateReasonCode?: string;
933
+ parameterTemplateKey?: string;
934
+ [key: string]: unknown;
935
+ }
936
+ interface DomainCatalogRuleBindingItem {
937
+ bindingKey: string;
938
+ slotKey: string;
939
+ source?: string;
940
+ compositionPolicy?: string;
941
+ executorKind?: string;
942
+ order?: number;
943
+ enabled?: boolean;
944
+ parameterized?: boolean;
945
+ falseDecision?: string;
946
+ reasonCode?: string;
947
+ targetField?: string;
948
+ message?: string;
949
+ origin?: string;
950
+ lineage?: string;
951
+ requiredFactPaths?: string[];
952
+ referencedFactPaths?: string[];
953
+ [key: string]: unknown;
954
+ }
955
+ interface DomainCatalogRuleSetMetadata {
956
+ policyKind: 'domain_rule_set' | string;
957
+ resourceKey?: string;
958
+ domainKey?: string;
959
+ boundedContextKey?: string;
960
+ ruleSetKey: string;
961
+ operationKey?: string;
962
+ version?: number;
963
+ failPolicy?: string;
964
+ availableRoots?: string[];
965
+ conceptRoots?: string[];
966
+ referencedFactPaths?: string[];
967
+ factPathsByRoot?: Record<string, string[]>;
968
+ slotCount?: number;
969
+ bindingCount?: number;
970
+ slots?: DomainCatalogRuleSlotItem[];
971
+ rules?: DomainCatalogRuleBindingItem[];
972
+ reasonCodes?: string[];
973
+ targetFields?: string[];
974
+ [key: string]: unknown;
975
+ }
976
+ interface DomainCatalogConceptOntologyMetadata {
977
+ resourceKey?: string;
978
+ resourcePath?: string;
979
+ group?: string;
980
+ semanticRole?: string;
981
+ dataProduct?: boolean;
982
+ analyzesConcepts?: string[];
983
+ analyzedByDataProducts?: string[];
984
+ referencedConcepts?: string[];
985
+ childConcepts?: string[];
986
+ parentConcepts?: string[];
987
+ conceptFactRootMap?: Record<string, string>;
988
+ ontologicalFactRoots?: string[];
989
+ factPathsByRoot?: Record<string, string[]>;
990
+ governedRuleSets?: string[];
991
+ governedOperations?: string[];
992
+ decisionSlots?: string[];
993
+ governedReasonCodes?: string[];
994
+ [key: string]: unknown;
995
+ }
996
+ interface SemanticDomainCatalogNode<TMetadata = Record<string, unknown>> {
997
+ nodeKey: string;
998
+ contextKey: string;
999
+ nodeType: string;
1000
+ label: string;
1001
+ description?: string | null;
1002
+ status?: string;
1003
+ source?: string;
1004
+ confidence?: number;
1005
+ metadata?: TMetadata;
1006
+ tags?: string[];
1007
+ owner?: string | null;
1008
+ semanticOwner?: string | null;
1009
+ lifecycle?: string | null;
1010
+ businessGlossary?: Record<string, unknown>;
1011
+ resolution?: Record<string, unknown>;
1012
+ sourceEvidenceKeys?: string[];
1013
+ }
1014
+ interface SemanticDomainCatalogEdge {
1015
+ edgeKey: string;
1016
+ sourceNodeKey: string;
1017
+ targetNodeKey: string;
1018
+ edgeType: string;
1019
+ label?: string | null;
1020
+ confidence?: number;
1021
+ evidenceKeys?: string[];
1022
+ }
1023
+ interface SemanticDomainCatalogBinding {
1024
+ bindingKey: string;
1025
+ nodeKey: string;
1026
+ bindingType: string;
1027
+ target?: Record<string, unknown>;
1028
+ schemaLinks?: Array<{
1029
+ rel?: string;
1030
+ href?: string;
1031
+ schemaId?: string;
1032
+ schemaType?: string;
1033
+ }>;
1034
+ evidenceKeys?: string[];
1035
+ }
1036
+ interface SemanticDomainCatalogResponse {
1037
+ schemaVersion: string;
1038
+ service?: {
1039
+ serviceKey: string;
1040
+ name: string;
1041
+ version: string;
1042
+ };
1043
+ release?: {
1044
+ releaseKey: string;
1045
+ generatedAt: string;
1046
+ sourceHash: string;
1047
+ };
1048
+ resourceKey?: string | null;
1049
+ contexts: Array<Record<string, unknown>>;
1050
+ nodes: SemanticDomainCatalogNode[];
1051
+ edges: SemanticDomainCatalogEdge[];
1052
+ bindings: SemanticDomainCatalogBinding[];
1053
+ aliases?: Array<Record<string, unknown>>;
1054
+ evidence?: Array<Record<string, unknown>>;
1055
+ governance?: Array<Record<string, unknown>>;
1056
+ }
1057
+
1058
+ interface HateoasLink {
1059
+ href: string;
1060
+ templated?: boolean;
1061
+ type?: string;
1062
+ deprecation?: string;
1063
+ profile?: string;
1064
+ name?: string;
1065
+ title?: string;
1066
+ hreflang?: string;
1067
+ [prop: string]: any;
1068
+ }
1069
+ interface RestApiLinks {
1070
+ [rel: string]: HateoasLink | HateoasLink[];
1071
+ }
1072
+ interface RestApiResponse<T> {
1073
+ status?: string;
1074
+ message?: string;
1075
+ data: T;
1076
+ _links?: RestApiLinks;
1077
+ errors?: any;
1078
+ timestamp?: string;
1079
+ }
1080
+
1081
+ interface Page<T> {
1082
+ content: T[];
1083
+ totalElements: number;
1084
+ totalPages: number;
1085
+ size: number;
1086
+ number: number;
1087
+ }
1088
+ interface CursorPage<T> {
1089
+ content: T[];
1090
+ next?: string | null;
1091
+ prev?: string | null;
1092
+ size: number;
1093
+ }
1094
+
1095
+ interface OptionDTO<ID = string | number> {
1096
+ id: ID;
1097
+ label: string;
1098
+ extra?: Record<string, unknown>;
1099
+ }
1100
+
1101
+ interface PageableRequest {
1102
+ pageNumber: number;
1103
+ pageSize: number;
1104
+ sort?: string[];
1105
+ }
1106
+ interface FilterOptions<ID = string | number> {
1107
+ includeIds?: ID[];
1108
+ observeVersionHeader?: boolean;
1109
+ }
1110
+ interface CursorRequest {
1111
+ size?: number;
1112
+ sort?: string[];
1113
+ after?: string | null;
1114
+ before?: string | null;
1115
+ }
1116
+ interface LocateRequest {
1117
+ size: number;
1118
+ sort?: string[];
1119
+ }
1120
+
1121
+ type OptionSourceType = 'RESOURCE_ENTITY' | 'DISTINCT_DIMENSION' | 'CATEGORICAL_BUCKET' | 'LIGHT_LOOKUP' | 'STATIC_CANONICAL';
1122
+ type OptionSourceSearchMode = 'none' | 'starts-with' | 'contains' | 'exact';
1123
+ type OptionSourceCachePolicy = 'none' | 'request-scope' | 'session-scope' | 'etag-aware';
1124
+ type OptionSourceSelectedReloadPolicy = 'required' | 'supported' | 'unsupported-with-waiver' | 'not-applicable';
1125
+ type OptionSourceInvalidSortPolicy = 'reject' | 'ignore' | 'unsupported';
1126
+ type LookupOpenDetailMode = 'samePage' | 'newTab' | 'drawer' | 'modal' | 'route';
1127
+ type LookupStatusTone = 'success' | 'warning' | 'danger' | 'neutral';
1128
+ type LookupDialogSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
1129
+ type LookupFilterFieldType = 'text' | 'enum' | 'date' | 'number' | 'reference';
1130
+ type LookupFilterOperator = 'contains' | 'startsWith' | 'equals' | 'in' | 'before' | 'after' | 'between' | 'gt' | 'gte' | 'lt' | 'lte';
1131
+ type EntityLookupSelectedLayout = 'card' | 'inline' | 'compact' | 'token';
1132
+ type EntityLookupResultLayout = 'list' | 'denseList' | 'table' | 'card';
1133
+ type EntityLookupDisplayPreset = 'compact' | 'rich' | 'directory' | 'status' | 'reference' | 'hierarchical';
1134
+ type EntityLookupUsage = 'form' | 'filter' | 'table-cell' | 'dashboard' | 'wizard' | 'review';
1135
+ type EntityLookupDensity = 'compact' | 'comfortable' | 'rich';
1136
+ type EntityLookupDisplayFieldPresentation = 'text' | 'chip' | 'badge' | 'date' | 'currency' | 'metric';
1137
+ interface EntityLookupDisplayFieldMetadata {
1138
+ key?: string;
1139
+ propertyPath?: string;
1140
+ label?: string;
1141
+ icon?: string;
1142
+ presentation?: EntityLookupDisplayFieldPresentation | string;
1143
+ tone?: LookupStatusTone | 'info' | string;
1144
+ format?: string;
1145
+ }
1146
+ interface EntityLookupRichFieldMetadata extends EntityLookupDisplayFieldMetadata {
1147
+ value?: unknown;
1148
+ }
1149
+ type EntityLookupSinglePayloadMode = 'id' | 'entityRef';
1150
+ type EntityLookupMultiplePayloadMode = 'ids' | 'entityRefs';
1151
+ type EntityLookupPayloadMode = EntityLookupSinglePayloadMode | EntityLookupMultiplePayloadMode;
1152
+ interface EntityLookupCollectionMetadata {
1153
+ multiple?: boolean;
1154
+ maxSelections?: number;
1155
+ }
1156
+ interface LookupSelectionPolicyMetadata {
1157
+ selectablePropertyPath?: string;
1158
+ statusPropertyPath?: string;
1159
+ allowedStatuses?: string[];
1160
+ blockedStatuses?: string[];
1161
+ allowRetainInvalidExistingValue?: boolean;
1162
+ disabledReasonTemplate?: string;
1163
+ validationMessageTemplate?: string;
1164
+ }
1165
+ interface LookupCapabilitiesMetadata {
1166
+ filter?: boolean;
1167
+ byIds?: boolean;
1168
+ detail?: boolean;
1169
+ create?: boolean;
1170
+ edit?: boolean;
1171
+ navigateToDetail?: boolean;
1172
+ multiSelect?: boolean;
1173
+ recent?: boolean;
1174
+ favorites?: boolean;
1175
+ auditSnapshot?: boolean;
1176
+ }
1177
+ interface LookupDetailMetadata {
1178
+ hrefTemplate?: string;
1179
+ routeTemplate?: string;
1180
+ openDetailMode?: LookupOpenDetailMode;
1181
+ kind?: 'surface' | 'route' | 'href' | string;
1182
+ resourceKey?: string;
1183
+ surfaceId?: string;
1184
+ previewSurfaceId?: string;
1185
+ presentation?: 'modal' | 'drawer' | string;
1186
+ preferredWidget?: string;
1187
+ mode?: 'view' | 'edit' | 'create' | string;
1188
+ }
1189
+ interface LookupCreateMetadata {
898
1190
  hrefTemplate?: string;
899
1191
  routeTemplate?: string;
900
1192
  openMode?: LookupOpenDetailMode;
@@ -6139,6 +6431,10 @@ interface FieldMetadata extends ComponentMetadata {
6139
6431
  pinned?: 'start' | 'end';
6140
6432
  /** Marks field as primary quick-search filter target (`x-ui.primarySearch`). */
6141
6433
  primarySearch?: boolean;
6434
+ /** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
6435
+ inlineFilter?: boolean;
6436
+ /** Compact alias promoting filter field to inline/always-visible bar (`x-ui.inline`). */
6437
+ inline?: boolean;
6142
6438
  /** Explicit 12-column responsive grid span (`x-ui.colSpan`, `1..12`). */
6143
6439
  colSpan?: number;
6144
6440
  /** Active workspace context binding contract (`x-ui.contextBinding`). */
@@ -6578,6 +6874,10 @@ interface FieldDefinition {
6578
6874
  tableOrder?: number;
6579
6875
  pinned?: 'start' | 'end';
6580
6876
  primarySearch?: boolean;
6877
+ /** Promotes filter field to inline/always-visible bar (`x-ui.inlineFilter`). */
6878
+ inlineFilter?: boolean;
6879
+ /** Legacy/compact alias promoting filter field to inline bar (`x-ui.inline`). */
6880
+ inline?: boolean;
6581
6881
  formHidden?: boolean;
6582
6882
  filterable?: boolean;
6583
6883
  /** Json Logic canônico que controla se o campo é exibido. */
@@ -7234,6 +7534,7 @@ declare class GenericCrudService<T, ID extends string | number = string | number
7234
7534
  private _lastResourceIdentity;
7235
7535
  private _lastResourceIdentityDiagnostics;
7236
7536
  private _lastResourceQuickFilters;
7537
+ private _lastResourceFacts;
7237
7538
  private _lastRootUiMetadata;
7238
7539
  private readonly _lastRootUiBySchemaType;
7239
7540
  private _lastSchemaInfo;
@@ -7331,6 +7632,8 @@ declare class GenericCrudService<T, ID extends string | number = string | number
7331
7632
  getResourceIdentityDiagnostics(): ResourceIdentityDiagnostic[];
7332
7633
  /** Retorna os filtros rápidos canônicos descobertos no schema x-ui.resource.quickFilters. */
7333
7634
  getResourceQuickFilters(): NormalizedPraxisResourceQuickFilter[] | null;
7635
+ /** Retorna os fatos determinísticos descobertos no schema x-ui.resourceFacts / facts. */
7636
+ getResourceFacts(): DomainCatalogResourceFactMetadata[] | null;
7334
7637
  /** Last schema evidence for the configured resource; per-call overrides do not replace it. */
7335
7638
  getLastSchemaInfo(): {
7336
7639
  schemaId?: string;
@@ -12611,395 +12914,103 @@ interface DomainRuleExecutionSummary {
12611
12914
  ruleSetVersion: number;
12612
12915
  totalObservations: number;
12613
12916
  distinctHosts: number;
12614
- outcomeCounts: Readonly<Record<DomainRuleDecision, number>>;
12615
- firstObservedAtUtc: string | null;
12616
- lastObservedAtUtc: string | null;
12617
- }
12618
- /** Safe fleet aggregate derived against the server-owned active RuleSet head. */
12619
- interface DomainRuleHostStatusSummary {
12620
- ruleSetKey: string;
12621
- operationKey: string;
12622
- expectedSnapshotKey: string;
12623
- expectedSnapshotContentHash: string;
12624
- expectedActivationRevision: number;
12625
- expectedHostContractVersion: string;
12626
- expectedEngineContractVersion: string;
12627
- expectedJsonLogicDialectVersion: string;
12628
- expectedJsonLogicCorpusSha256: string;
12629
- expectedImplementationCatalogDigest: string;
12630
- totalHosts: number;
12631
- alignedHosts: number;
12632
- snapshotDriftedHosts: number;
12633
- incompatibleHosts: number;
12634
- unavailableHosts: number;
12635
- staleHosts: number;
12636
- lastObservedAtUtc: string | null;
12637
- staleBeforeUtc: string;
12638
- }
12639
- /** Exact snapshot candidate submitted to the Config control plane for canonical review. */
12640
- interface DomainRuleSnapshotCompositionRequest {
12641
- /** Server-owned Praxis Rules Engine contract. Clients must preserve the complete graph. */
12642
- ruleSet: Record<string, unknown>;
12643
- sourceDefinitionIds: string[];
12644
- ownerServiceKey: string;
12645
- requiredHostContractVersion: string;
12646
- validFromUtc: string;
12647
- validUntilUtc?: string | null;
12648
- }
12649
- /** Governed reason why a snapshot operation cannot advance at the requested lifecycle stage. */
12650
- interface DomainRuleSnapshotBlocker {
12651
- code: string;
12652
- stage: string;
12653
- definitionId: string | null;
12654
- message: string;
12655
- }
12656
- /** Stable problem body returned by the Config snapshot control plane. */
12657
- interface DomainRuleSnapshotProblemResponse {
12658
- code: string;
12659
- message: string;
12660
- blockers: DomainRuleSnapshotBlocker[];
12661
- }
12662
- /** Narrows an unknown HTTP error body without relying on human-readable message parsing. */
12663
- declare function isDomainRuleSnapshotProblemResponse(value: unknown): value is DomainRuleSnapshotProblemResponse;
12664
- interface DomainRuleCompositionManifest {
12665
- compositionContractVersion: string;
12666
- compositionDigest: string;
12667
- implementationCatalogDigest: string;
12668
- manifest: Record<string, unknown>;
12669
- }
12670
- interface DomainRuleCompositionApproval {
12671
- approvalKey: string;
12672
- role: string;
12673
- actorRef: string;
12674
- decidedAtUtc: string;
12675
- evidenceHash: string;
12676
- }
12677
- interface DomainRuleSnapshotPublicationRequest extends DomainRuleSnapshotCompositionRequest {
12678
- compositionDigest: string;
12679
- }
12680
- type DomainRuleRuleSetCandidateAction = 'PREPARE' | 'APPROVE' | 'PUBLISH';
12681
- interface DomainRuleRuleSetCandidateSource {
12682
- readonly definitionId: string;
12683
- readonly ruleKey: string;
12684
- readonly version: number;
12685
- readonly status?: string | null;
12686
- }
12687
- /** Host-owned safe RuleSet candidate composition projection without executable graph exposure. */
12688
- interface DomainRuleRuleSetCandidate {
12689
- readonly ruleSetKey: string;
12690
- readonly ruleSetVersion: number;
12691
- readonly compositionDigest: string;
12692
- readonly implementationCatalogDigest: string;
12693
- readonly currentHeadEtag: string | null;
12694
- readonly sources: readonly DomainRuleRuleSetCandidateSource[];
12695
- readonly authorizedActions: readonly DomainRuleRuleSetCandidateAction[];
12696
- }
12697
- interface DomainRuleRuleSetCandidateRequest {
12698
- readonly promotedDefinitionId: string;
12699
- readonly validFromUtc: string;
12700
- readonly validUntilUtc?: string | null;
12701
- }
12702
- interface DomainRuleRuleSetCandidateCommand extends DomainRuleRuleSetCandidateRequest {
12703
- readonly expectedCompositionDigest: string;
12704
- }
12705
- interface DomainRuleRuleSetCandidatePublication {
12706
- readonly snapshotKey: string;
12707
- readonly ruleSetKey: string;
12708
- operationKey: string;
12709
- readonly ruleSetVersion: number;
12710
- readonly snapshotContentHash: string;
12711
- }
12712
-
12713
- declare const DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION: "praxis.ai.context-hints.domain-catalog/v0.2";
12714
- interface DomainCatalogRelease {
12715
- releaseKey: string;
12716
- serviceKey?: string;
12717
- status?: string;
12718
- version?: string;
12719
- createdAt?: string;
12720
- resourceKey?: string;
12721
- [key: string]: unknown;
12722
- }
12723
- interface DomainCatalogGovernancePayload {
12724
- classification?: string;
12725
- dataCategory?: string;
12726
- complianceTags?: string[];
12727
- aiUsage?: {
12728
- visibility?: string;
12729
- purpose?: string;
12730
- restrictions?: string[];
12731
- [key: string]: unknown;
12732
- };
12733
- [key: string]: unknown;
12734
- }
12735
- interface DomainCatalogItem<TPayload = Record<string, unknown>> {
12736
- itemKey: string;
12737
- type?: string;
12738
- payload?: TPayload;
12739
- [key: string]: unknown;
12740
- }
12741
- interface DomainCatalogResourceProbe {
12742
- resourceKey: string;
12743
- query: string;
12744
- limit?: number;
12745
- }
12746
- type DomainCatalogContextHintItemType = 'context' | 'node' | 'edge' | 'binding' | 'evidence' | 'governance' | 'vocabulary' | 'relationship';
12747
- type DomainCatalogContextHintIntent = 'authoring' | 'explain' | 'validate' | 'ai-access-control';
12748
- type DomainCatalogRecommendedAuthoringFlow = 'shared_rule_authoring' | 'component_authoring' | 'ui_composition_authoring';
12749
- type DomainCatalogRecommendedRuleType = 'privacy' | 'compliance' | 'validation' | 'selection_eligibility' | 'workflow_action_policy' | 'approval_policy' | string;
12750
- interface DomainCatalogRelationshipHint {
12751
- enabled?: boolean;
12752
- federated?: boolean;
12753
- serviceKey?: string | null;
12754
- sourceNodeKey?: string | null;
12755
- targetNodeKey?: string | null;
12756
- edgeType?: string | null;
12757
- query?: string | null;
12758
- limit?: number;
12759
- }
12760
- interface DomainCatalogContextHint {
12761
- schemaVersion?: typeof DOMAIN_CATALOG_CONTEXT_HINT_SCHEMA_VERSION;
12762
- resourceKey?: string | null;
12763
- query?: string | null;
12764
- releaseId?: string | null;
12765
- releaseKey?: string | null;
12766
- serviceKey?: string | null;
12767
- type?: DomainCatalogContextHintItemType;
12768
- itemTypes?: DomainCatalogContextHintItemType[];
12769
- intent?: DomainCatalogContextHintIntent | null;
12770
- contextKey?: string | null;
12771
- nodeType?: string | null;
12772
- recommendedAuthoringFlow?: DomainCatalogRecommendedAuthoringFlow | null;
12773
- recommendedRuleType?: DomainCatalogRecommendedRuleType | null;
12774
- limit?: number;
12775
- relationships?: DomainCatalogRelationshipHint | null;
12776
- }
12777
- interface DomainCatalogGovernanceContext {
12778
- resourceKey: string;
12779
- query: string;
12780
- releaseKey: string | null;
12781
- items: DomainCatalogItem<DomainCatalogGovernancePayload>[];
12782
- }
12783
- interface Domain360CatalogCoverage {
12784
- resourceCount: number;
12785
- fieldCount: number;
12786
- capabilityCount: number;
12787
- surfaceCount: number;
12788
- actionCount: number;
12789
- workflowCount: number;
12790
- statsCount: number;
12791
- optionSourceCount: number;
12792
- relationshipCount: number;
12793
- contractCount: number;
12794
- resolutionCount: number;
12795
- }
12796
- interface DomainCatalogFactThreshold {
12797
- min?: number;
12798
- max?: number;
12799
- value?: number;
12800
- equals?: string;
12801
- tone?: string;
12802
- label?: string;
12803
- }
12804
- interface DomainCatalogResourceFactMetadata {
12805
- factKey: string;
12806
- dataType?: string;
12807
- unit?: string;
12808
- parameters?: Record<string, unknown>;
12809
- deterministic?: boolean;
12810
- sourceKind?: string;
12811
- icon?: string;
12812
- tone?: string;
12813
- valuePresentation?: string;
12814
- thresholds?: DomainCatalogFactThreshold[];
12815
- [key: string]: unknown;
12917
+ outcomeCounts: Readonly<Record<DomainRuleDecision, number>>;
12918
+ firstObservedAtUtc: string | null;
12919
+ lastObservedAtUtc: string | null;
12816
12920
  }
12817
- interface Domain360CatalogEntry<TMetadata = Record<string, unknown> | null> {
12818
- key: string;
12819
- label: string;
12820
- kind: string;
12821
- itemType: string;
12822
- contextKey?: string | null;
12823
- source?: string | null;
12824
- summary?: string | null;
12825
- metadata?: TMetadata;
12921
+ /** Safe fleet aggregate derived against the server-owned active RuleSet head. */
12922
+ interface DomainRuleHostStatusSummary {
12923
+ ruleSetKey: string;
12924
+ operationKey: string;
12925
+ expectedSnapshotKey: string;
12926
+ expectedSnapshotContentHash: string;
12927
+ expectedActivationRevision: number;
12928
+ expectedHostContractVersion: string;
12929
+ expectedEngineContractVersion: string;
12930
+ expectedJsonLogicDialectVersion: string;
12931
+ expectedJsonLogicCorpusSha256: string;
12932
+ expectedImplementationCatalogDigest: string;
12933
+ totalHosts: number;
12934
+ alignedHosts: number;
12935
+ snapshotDriftedHosts: number;
12936
+ incompatibleHosts: number;
12937
+ unavailableHosts: number;
12938
+ staleHosts: number;
12939
+ lastObservedAtUtc: string | null;
12940
+ staleBeforeUtc: string;
12826
12941
  }
12827
- interface Domain360CatalogRoute {
12828
- routeKey: string;
12829
- label: string;
12830
- kind: string;
12831
- blueprint: string;
12832
- recommendedComponents: string[];
12833
- requiredInteractions: string[];
12834
- requiredCapabilities: string[];
12835
- promptSeed?: string | null;
12836
- confidence?: string | null;
12942
+ /** Exact snapshot candidate submitted to the Config control plane for canonical review. */
12943
+ interface DomainRuleSnapshotCompositionRequest {
12944
+ /** Server-owned Praxis Rules Engine contract. Clients must preserve the complete graph. */
12945
+ ruleSet: Record<string, unknown>;
12946
+ sourceDefinitionIds: string[];
12947
+ ownerServiceKey: string;
12948
+ requiredHostContractVersion: string;
12949
+ validFromUtc: string;
12950
+ validUntilUtc?: string | null;
12837
12951
  }
12838
- interface Domain360CatalogDiagnostic {
12839
- severity: string;
12952
+ /** Governed reason why a snapshot operation cannot advance at the requested lifecycle stage. */
12953
+ interface DomainRuleSnapshotBlocker {
12840
12954
  code: string;
12955
+ stage: string;
12956
+ definitionId: string | null;
12841
12957
  message: string;
12842
- target?: string | null;
12843
12958
  }
12844
- interface Domain360CatalogResponse {
12845
- schemaVersion: string;
12846
- tenantId?: string | null;
12847
- environment?: string | null;
12848
- serviceKey?: string | null;
12849
- resourceKey?: string | null;
12850
- query?: string | null;
12851
- sourceMode?: string | null;
12852
- release?: DomainCatalogRelease | null;
12853
- retrievalGuidance?: string[];
12854
- coverage: Domain360CatalogCoverage;
12855
- resources: Domain360CatalogEntry[];
12856
- fields: Domain360CatalogEntry[];
12857
- capabilities: Domain360CatalogEntry[];
12858
- surfaces: Domain360CatalogEntry[];
12859
- actions: Domain360CatalogEntry[];
12860
- workflows: Domain360CatalogEntry[];
12861
- stats: Domain360CatalogEntry[];
12862
- optionSources: Domain360CatalogEntry[];
12863
- relationships: Domain360CatalogEntry[];
12864
- contracts: Domain360CatalogEntry[];
12865
- resolutions: Domain360CatalogEntry[];
12866
- recommendedRoutes: Domain360CatalogRoute[];
12867
- diagnostics: Domain360CatalogDiagnostic[];
12959
+ /** Stable problem body returned by the Config snapshot control plane. */
12960
+ interface DomainRuleSnapshotProblemResponse {
12961
+ code: string;
12962
+ message: string;
12963
+ blockers: DomainRuleSnapshotBlocker[];
12868
12964
  }
12869
- interface DomainCatalogRuleSlotItem {
12870
- slotKey: string;
12871
- stage?: string;
12872
- cardinality?: string;
12873
- overridePolicy?: string;
12874
- aggregationPolicy?: string;
12875
- /** Product-owned guard binding identities required by every enabled binding in this slot. */
12876
- requiredControlDependencies?: readonly string[];
12877
- parameterizable?: boolean;
12878
- templateKey?: string;
12879
- templateReasonCode?: string;
12880
- parameterTemplateKey?: string;
12881
- [key: string]: unknown;
12965
+ /** Narrows an unknown HTTP error body without relying on human-readable message parsing. */
12966
+ declare function isDomainRuleSnapshotProblemResponse(value: unknown): value is DomainRuleSnapshotProblemResponse;
12967
+ interface DomainRuleCompositionManifest {
12968
+ compositionContractVersion: string;
12969
+ compositionDigest: string;
12970
+ implementationCatalogDigest: string;
12971
+ manifest: Record<string, unknown>;
12882
12972
  }
12883
- interface DomainCatalogRuleBindingItem {
12884
- bindingKey: string;
12885
- slotKey: string;
12886
- source?: string;
12887
- compositionPolicy?: string;
12888
- executorKind?: string;
12889
- order?: number;
12890
- enabled?: boolean;
12891
- parameterized?: boolean;
12892
- falseDecision?: string;
12893
- reasonCode?: string;
12894
- targetField?: string;
12895
- message?: string;
12896
- origin?: string;
12897
- lineage?: string;
12898
- requiredFactPaths?: string[];
12899
- referencedFactPaths?: string[];
12900
- [key: string]: unknown;
12973
+ interface DomainRuleCompositionApproval {
12974
+ approvalKey: string;
12975
+ role: string;
12976
+ actorRef: string;
12977
+ decidedAtUtc: string;
12978
+ evidenceHash: string;
12901
12979
  }
12902
- interface DomainCatalogRuleSetMetadata {
12903
- policyKind: 'domain_rule_set' | string;
12904
- resourceKey?: string;
12905
- domainKey?: string;
12906
- boundedContextKey?: string;
12907
- ruleSetKey: string;
12908
- operationKey?: string;
12909
- version?: number;
12910
- failPolicy?: string;
12911
- availableRoots?: string[];
12912
- conceptRoots?: string[];
12913
- referencedFactPaths?: string[];
12914
- factPathsByRoot?: Record<string, string[]>;
12915
- slotCount?: number;
12916
- bindingCount?: number;
12917
- slots?: DomainCatalogRuleSlotItem[];
12918
- rules?: DomainCatalogRuleBindingItem[];
12919
- reasonCodes?: string[];
12920
- targetFields?: string[];
12921
- [key: string]: unknown;
12980
+ interface DomainRuleSnapshotPublicationRequest extends DomainRuleSnapshotCompositionRequest {
12981
+ compositionDigest: string;
12922
12982
  }
12923
- interface DomainCatalogConceptOntologyMetadata {
12924
- resourceKey?: string;
12925
- resourcePath?: string;
12926
- group?: string;
12927
- semanticRole?: string;
12928
- dataProduct?: boolean;
12929
- analyzesConcepts?: string[];
12930
- analyzedByDataProducts?: string[];
12931
- referencedConcepts?: string[];
12932
- childConcepts?: string[];
12933
- parentConcepts?: string[];
12934
- conceptFactRootMap?: Record<string, string>;
12935
- ontologicalFactRoots?: string[];
12936
- factPathsByRoot?: Record<string, string[]>;
12937
- governedRuleSets?: string[];
12938
- governedOperations?: string[];
12939
- decisionSlots?: string[];
12940
- governedReasonCodes?: string[];
12941
- [key: string]: unknown;
12983
+ type DomainRuleRuleSetCandidateAction = 'PREPARE' | 'APPROVE' | 'PUBLISH';
12984
+ interface DomainRuleRuleSetCandidateSource {
12985
+ readonly definitionId: string;
12986
+ readonly ruleKey: string;
12987
+ readonly version: number;
12988
+ readonly status?: string | null;
12942
12989
  }
12943
- interface SemanticDomainCatalogNode<TMetadata = Record<string, unknown>> {
12944
- nodeKey: string;
12945
- contextKey: string;
12946
- nodeType: string;
12947
- label: string;
12948
- description?: string | null;
12949
- status?: string;
12950
- source?: string;
12951
- confidence?: number;
12952
- metadata?: TMetadata;
12953
- tags?: string[];
12954
- owner?: string | null;
12955
- semanticOwner?: string | null;
12956
- lifecycle?: string | null;
12957
- businessGlossary?: Record<string, unknown>;
12958
- resolution?: Record<string, unknown>;
12959
- sourceEvidenceKeys?: string[];
12990
+ /** Host-owned safe RuleSet candidate composition projection without executable graph exposure. */
12991
+ interface DomainRuleRuleSetCandidate {
12992
+ readonly ruleSetKey: string;
12993
+ readonly ruleSetVersion: number;
12994
+ readonly compositionDigest: string;
12995
+ readonly implementationCatalogDigest: string;
12996
+ readonly currentHeadEtag: string | null;
12997
+ readonly sources: readonly DomainRuleRuleSetCandidateSource[];
12998
+ readonly authorizedActions: readonly DomainRuleRuleSetCandidateAction[];
12960
12999
  }
12961
- interface SemanticDomainCatalogEdge {
12962
- edgeKey: string;
12963
- sourceNodeKey: string;
12964
- targetNodeKey: string;
12965
- edgeType: string;
12966
- label?: string | null;
12967
- confidence?: number;
12968
- evidenceKeys?: string[];
13000
+ interface DomainRuleRuleSetCandidateRequest {
13001
+ readonly promotedDefinitionId: string;
13002
+ readonly validFromUtc: string;
13003
+ readonly validUntilUtc?: string | null;
12969
13004
  }
12970
- interface SemanticDomainCatalogBinding {
12971
- bindingKey: string;
12972
- nodeKey: string;
12973
- bindingType: string;
12974
- target?: Record<string, unknown>;
12975
- schemaLinks?: Array<{
12976
- rel?: string;
12977
- href?: string;
12978
- schemaId?: string;
12979
- schemaType?: string;
12980
- }>;
12981
- evidenceKeys?: string[];
13005
+ interface DomainRuleRuleSetCandidateCommand extends DomainRuleRuleSetCandidateRequest {
13006
+ readonly expectedCompositionDigest: string;
12982
13007
  }
12983
- interface SemanticDomainCatalogResponse {
12984
- schemaVersion: string;
12985
- service?: {
12986
- serviceKey: string;
12987
- name: string;
12988
- version: string;
12989
- };
12990
- release?: {
12991
- releaseKey: string;
12992
- generatedAt: string;
12993
- sourceHash: string;
12994
- };
12995
- resourceKey?: string | null;
12996
- contexts: Array<Record<string, unknown>>;
12997
- nodes: SemanticDomainCatalogNode[];
12998
- edges: SemanticDomainCatalogEdge[];
12999
- bindings: SemanticDomainCatalogBinding[];
13000
- aliases?: Array<Record<string, unknown>>;
13001
- evidence?: Array<Record<string, unknown>>;
13002
- governance?: Array<Record<string, unknown>>;
13008
+ interface DomainRuleRuleSetCandidatePublication {
13009
+ readonly snapshotKey: string;
13010
+ readonly ruleSetKey: string;
13011
+ operationKey: string;
13012
+ readonly ruleSetVersion: number;
13013
+ readonly snapshotContentHash: string;
13003
13014
  }
13004
13015
 
13005
13016
  /** Exact opaque identity of a presentation target registered by a host. */
@@ -23680,6 +23691,7 @@ declare class PraxisAppShellComponent {
23680
23691
  private readonly mobileCloseButton;
23681
23692
  protected readonly sidebarCollapsed: i0.Signal<boolean>;
23682
23693
  readonly searchQuery: i0.WritableSignal<string>;
23694
+ private compactViewport;
23683
23695
  constructor();
23684
23696
  readonly effectiveLoading: i0.Signal<boolean>;
23685
23697
  handleEscape(): void;
@@ -23688,6 +23700,7 @@ declare class PraxisAppShellComponent {
23688
23700
  private matchesNavItem;
23689
23701
  toggleCollapse(): void;
23690
23702
  openMorePanel(): void;
23703
+ openNavigationOverlay(): void;
23691
23704
  toggleMore(): void;
23692
23705
  protected openMore(): void;
23693
23706
  protected closeMore(): void;