@posiwise/shared-components 0.0.160 → 0.0.162

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/shared-components",
3
- "version": "0.0.160",
3
+ "version": "0.0.162",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.6",
6
6
  "@angular/core": "^21.2.6",
@@ -1,42 +1,42 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { TemplateRef, EventEmitter, Injector, ChangeDetectorRef, OnInit, OnDestroy, AfterViewInit, OnChanges, ElementRef, SimpleChanges, Type, ViewContainerRef, AfterContentInit } from '@angular/core';
3
3
  import { AppBaseComponent } from '@posiwise/app-base-component';
4
- import * as i25 from '@ng-bootstrap/ng-bootstrap';
4
+ import * as i31 from '@ng-bootstrap/ng-bootstrap';
5
5
  import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
6
6
  import { MenuItem } from 'primeng/api';
7
7
  import moment from 'moment';
8
- import * as i35 from 'ngx-daterangepicker-material';
8
+ import * as i41 from 'ngx-daterangepicker-material';
9
9
  import { DaterangepickerDirective } from 'ngx-daterangepicker-material';
10
10
  import { DomSanitizer } from '@angular/platform-browser';
11
11
  import { AdminService } from '@posiwise/admin-module-utils';
12
12
  import { User, Subscription } from '@posiwise/common-utilities';
13
13
  import { AppConfigService } from '@posiwise/app-config-service';
14
- import { AuthService, MCPFieldDiff, MCPOrchestratorService, LocalStorage, GroupService, SubscriptionService, DataService, NumberPickerService, UserService, PermissionService } from '@posiwise/common-services';
14
+ import { AuthService, MCPFieldDiff, MCPOrchestratorService, LocalStorage, GroupService, SubscriptionService, DataService, NumberPickerService, FeatureFlagService, UserService, PermissionService, MainApiHttpService } from '@posiwise/common-services';
15
15
  import * as rxjs from 'rxjs';
16
16
  import { Observable } from 'rxjs';
17
- import * as i24 from '@angular/router';
17
+ import * as i30 from '@angular/router';
18
18
  import { Router } from '@angular/router';
19
19
  import { AppState } from '@posiwise/app-store';
20
20
  import { Store } from '@ngrx/store';
21
- import * as i4 from '@angular/forms';
21
+ import * as i5 from '@angular/forms';
22
22
  import { UntypedFormGroup, UntypedFormBuilder, AbstractControl, ControlContainer } from '@angular/forms';
23
- import * as i5 from '@posiwise/app-loader';
24
- import * as i7 from '@posiwise/directives';
25
- import * as i6 from '@posiwise/core-transloco';
26
- import * as i26 from 'primeng/table';
27
- import * as i27 from 'primeng/tabs';
28
- import * as i8 from 'primeng/button';
29
- import * as i29 from 'primeng/select';
30
- import * as i30 from 'primeng/multiselect';
31
- import * as i11 from 'primeng/progressspinner';
32
- import * as i12 from 'primeng/autocomplete';
33
- import * as i33 from 'ngx-image-cropper';
34
- import * as i34 from 'ngx-ui-switch';
35
- import * as i36 from '@posiwise/pipes';
36
- import * as i37 from '@angular/common';
37
- import * as i14 from '@posiwise/utils';
38
- import * as i10 from 'primeng/tooltip';
39
- import * as i13 from '@angular/cdk/drag-drop';
23
+ import * as i6 from '@posiwise/app-loader';
24
+ import * as i8 from '@posiwise/directives';
25
+ import * as i7 from '@posiwise/core-transloco';
26
+ import * as i32 from 'primeng/table';
27
+ import * as i33 from 'primeng/tabs';
28
+ import * as i9 from 'primeng/button';
29
+ import * as i35 from 'primeng/select';
30
+ import * as i36 from 'primeng/multiselect';
31
+ import * as i12 from 'primeng/progressspinner';
32
+ import * as i13 from 'primeng/autocomplete';
33
+ import * as i39 from 'ngx-image-cropper';
34
+ import * as i40 from 'ngx-ui-switch';
35
+ import * as i42 from '@posiwise/pipes';
36
+ import * as i43 from '@angular/common';
37
+ import * as i15 from '@posiwise/utils';
38
+ import * as i11 from 'primeng/tooltip';
39
+ import * as i14 from '@angular/cdk/drag-drop';
40
40
 
41
41
  interface SharedModalContext {
42
42
  modal: {
@@ -379,19 +379,34 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
379
379
  static ngAcceptInputType_embedInLayout: unknown;
380
380
  }
381
381
 
382
- interface DiffRow {
383
- field: string;
384
- before: string;
385
- after: string;
382
+ /**
383
+ * Identity of the Conversational UI Builder dynamic page the user is
384
+ * currently viewing (#933 — page-aware Brain). The dynamic-page host sets
385
+ * this on load and clears it on destroy; the PosiWise Brain chat widget
386
+ * reads it so Bedrock knows which page "this page" / "the current page"
387
+ * refers to and can target `ui_update_layout` with the exact page_key +
388
+ * subscription_id instead of guessing the landing-page tools.
389
+ *
390
+ * `null` whenever no dynamic page is mounted.
391
+ */
392
+ interface DynamicPageContext {
393
+ pageKey: string;
394
+ subscriptionId: number;
395
+ }
396
+ declare class DynamicPageContextService {
397
+ private _current;
398
+ set(ctx: DynamicPageContext): void;
399
+ clear(): void;
400
+ get current(): DynamicPageContext | null;
401
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicPageContextService, never>;
402
+ static ɵprov: i0.ɵɵInjectableDeclaration<DynamicPageContextService>;
386
403
  }
387
- declare function diffRowsFrom(diff?: MCPFieldDiff | null): DiffRow[];
388
404
 
389
405
  /**
390
- * PosiWise Brain chat panel. Posts user text to brain-api's MCP
391
- * orchestrator (/v1/mcp/execute, /confirm). Ticket #4167: thread +
392
- * `conversation_id` are persisted per-user in localStorage so closing
393
- * and reopening restores the conversation. Stale confirmation cards are
394
- * stripped on hydrate (server tokens are TTL-bound).
406
+ * Shared shapes for the PosiWise Brain chat panel. Extracted from
407
+ * `pw-brain-chat.component.ts` so the component stays under the C1
408
+ * line cap while the scroll/confirmation helpers can reuse the types.
409
+ * Re-exported from the component to preserve the public API surface.
395
410
  */
396
411
  type ChatMessageRole = 'user' | 'assistant';
397
412
  interface PendingConfirmation {
@@ -407,12 +422,21 @@ interface ChatMessage {
407
422
  text: string;
408
423
  pending?: PendingConfirmation;
409
424
  }
425
+
426
+ interface DiffRow {
427
+ field: string;
428
+ before: string;
429
+ after: string;
430
+ }
431
+ declare function diffRowsFrom(diff?: MCPFieldDiff | null): DiffRow[];
432
+
410
433
  declare class PwBrainChatComponent implements OnInit, OnDestroy {
411
434
  private readonly orchestrator;
412
435
  private readonly localStorage;
413
436
  private readonly router;
414
437
  private readonly cdr;
415
438
  private readonly store;
439
+ private readonly dynamicPageCtx;
416
440
  messages: ChatMessage[];
417
441
  draft: string;
418
442
  loading: boolean;
@@ -420,7 +444,8 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
420
444
  private storage;
421
445
  private readonly destroy$;
422
446
  readonly diffRows: typeof diffRowsFrom;
423
- constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>);
447
+ private readonly threadRef?;
448
+ constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>, dynamicPageCtx: DynamicPageContextService);
424
449
  ngOnInit(): void;
425
450
  ngOnDestroy(): void;
426
451
  send(): void;
@@ -432,6 +457,7 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
432
457
  private handleError;
433
458
  private persistConversationId;
434
459
  private pushAssistant;
460
+ private stick;
435
461
  static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, never>;
436
462
  static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatComponent, "pw-brain-chat", never, {}, {}, never, never, false, never>;
437
463
  }
@@ -683,6 +709,125 @@ declare class LandingPageFooterBComponent implements OnInit {
683
709
  static ɵcmp: i0.ɵɵComponentDeclaration<LandingPageFooterBComponent, "pw-landing-page-footer-b", never, {}, {}, never, never, false, never>;
684
710
  }
685
711
 
712
+ interface UiGrid {
713
+ x: number;
714
+ y: number;
715
+ w: number;
716
+ h: number;
717
+ }
718
+ interface UiBinding {
719
+ source: string;
720
+ params?: Record<string, string | number | boolean>;
721
+ filter?: Record<string, string | number | boolean>;
722
+ }
723
+ /** A resolved binding as returned by GET /main-api/v1/ui_layouts. */
724
+ interface ResolvedBinding {
725
+ state: 'ok' | 'forbidden' | 'deferred' | 'unavailable' | 'unknown_source' | 'error';
726
+ value?: Record<string, unknown>;
727
+ reason?: string;
728
+ }
729
+ interface UiBlock {
730
+ id: string;
731
+ type: string;
732
+ grid: UiGrid;
733
+ props?: Record<string, unknown>;
734
+ /** Server replaces the request `binding` with a ResolvedBinding (or null). */
735
+ binding?: ResolvedBinding | null;
736
+ }
737
+ interface UiLayoutConfig {
738
+ schema_version: number;
739
+ version: number;
740
+ page_key: string;
741
+ blocks: UiBlock[];
742
+ }
743
+ /** Envelope of GET /main-api/v1/ui_layouts. */
744
+ interface UiLayoutResponse {
745
+ data: {
746
+ layout: {
747
+ page_key: string;
748
+ version: number;
749
+ schema_version: number;
750
+ blocks: UiBlock[];
751
+ };
752
+ };
753
+ }
754
+
755
+ declare const UI_BUILDER_FLAG = "conversational_ui_builder";
756
+ declare class PwDynamicPageComponent implements AfterViewInit, OnDestroy {
757
+ private readonly injector;
758
+ private readonly cdr;
759
+ private readonly featureFlags;
760
+ private readonly userService?;
761
+ private readonly sidebarService?;
762
+ private readonly appConfigService?;
763
+ host: ViewContainerRef;
764
+ private _config;
765
+ private viewReady;
766
+ private configResolved;
767
+ set config(value: UiLayoutConfig | null);
768
+ get config(): UiLayoutConfig | null;
769
+ private refs;
770
+ private userResolved;
771
+ private resolving;
772
+ constructor(injector: Injector, cdr: ChangeDetectorRef, featureFlags: FeatureFlagService, userService?: UserService, sidebarService?: CollapsibleSidebarService, appConfigService?: AppConfigService);
773
+ brandName: string;
774
+ get enabled(): boolean;
775
+ get showEmpty(): boolean;
776
+ openBuilder(): void;
777
+ ngAfterViewInit(): void;
778
+ ngOnDestroy(): void;
779
+ private render;
780
+ private ensureUser;
781
+ private doRender;
782
+ private mount;
783
+ private clear;
784
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwDynamicPageComponent, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
785
+ static ɵcmp: i0.ɵɵComponentDeclaration<PwDynamicPageComponent, "pw-dynamic-page", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, false, never>;
786
+ }
787
+
788
+ declare class SectionHeadingBlockComponent {
789
+ props: Record<string, unknown>;
790
+ get text(): string;
791
+ get level(): number;
792
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionHeadingBlockComponent, never>;
793
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionHeadingBlockComponent, "pw-section-heading-block", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, false, never>;
794
+ }
795
+
796
+ declare class DividerBlockComponent {
797
+ props: Record<string, unknown>;
798
+ get spacing(): number;
799
+ static ɵfac: i0.ɵɵFactoryDeclaration<DividerBlockComponent, never>;
800
+ static ɵcmp: i0.ɵɵComponentDeclaration<DividerBlockComponent, "pw-divider-block", never, { "props": { "alias": "props"; "required": false; }; }, {}, never, never, false, never>;
801
+ }
802
+
803
+ declare class StatCardBlockComponent {
804
+ props: Record<string, unknown>;
805
+ binding: ResolvedBinding | null;
806
+ get title(): string;
807
+ get metricValue(): string;
808
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatCardBlockComponent, never>;
809
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatCardBlockComponent, "pw-stat-card-block", never, { "props": { "alias": "props"; "required": false; }; "binding": { "alias": "binding"; "required": false; }; }, {}, never, never, false, never>;
810
+ }
811
+
812
+ declare class DataTableBlockComponent {
813
+ props: Record<string, unknown>;
814
+ binding: ResolvedBinding | null;
815
+ get columns(): string[];
816
+ get rows(): Array<Record<string, unknown>>;
817
+ get stateKey(): string;
818
+ cell(row: Record<string, unknown>, col: string): string;
819
+ static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBlockComponent, never>;
820
+ static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBlockComponent, "pw-data-table-block", never, { "props": { "alias": "props"; "required": false; }; "binding": { "alias": "binding"; "required": false; }; }, {}, never, never, false, never>;
821
+ }
822
+
823
+ declare class ChartBlockComponent {
824
+ props: Record<string, unknown>;
825
+ binding: ResolvedBinding | null;
826
+ get title(): string;
827
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChartBlockComponent, never>;
828
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChartBlockComponent, "pw-chart-block", never, { "props": { "alias": "props"; "required": false; }; "binding": { "alias": "binding"; "required": false; }; }, {}, never, never, false, never>;
829
+ }
830
+
686
831
  declare class NoDataComponent implements AfterContentInit {
687
832
  content: {
688
833
  nativeElement: {
@@ -725,9 +870,47 @@ declare class InputContainerComponent implements OnInit {
725
870
  static ɵcmp: i0.ɵɵComponentDeclaration<InputContainerComponent, "pw-input-container", never, { "name": { "alias": "name"; "required": false; }; "controlId": { "alias": "controlId"; "required": false; }; "useAriaLabelledbyOnly": { "alias": "useAriaLabelledbyOnly"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelClass": { "alias": "labelClass"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errorMsg": { "alias": "errorMsg"; "required": false; }; "isReadOnly": { "alias": "isReadOnly"; "required": false; }; "showTooltip": { "alias": "showTooltip"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "showTriangle": { "alias": "showTriangle"; "required": false; }; "afterLabel": { "alias": "afterLabel"; "required": false; }; "showAfterLabel": { "alias": "showAfterLabel"; "required": false; }; "showTriangleText": { "alias": "showTriangleText"; "required": false; }; "isLeftTooltip": { "alias": "isLeftTooltip"; "required": false; }; }, {}, never, ["*"], false, never>;
726
871
  }
727
872
 
873
+ type CompletionTier = 'low' | 'mid' | 'high';
874
+ /**
875
+ * Generic, presentational segmented completion/progress bar.
876
+ *
877
+ * Renders a row of discrete segments; the first `round(value/100 * segments)`
878
+ * are filled. The fill colour shifts by tier (low/mid/high) using the shared
879
+ * semantic token maps — never the tenant accent (design-system: accent-agnostic).
880
+ * Reusable anywhere via `@posiwise/shared-components`.
881
+ */
882
+ declare class CompletionBarComponent {
883
+ segments: number;
884
+ showLabel: boolean;
885
+ /** Optional label override; defaults to the rounded percentage. */
886
+ label: string | null;
887
+ /** Optional aria-label override; defaults to the visible label. */
888
+ ariaLabel: string | null;
889
+ /**
890
+ * Optional explanatory tooltip (e.g. "what's missing to reach 100%").
891
+ * Rendered as a body-level portal (C18); no tooltip when null/empty.
892
+ */
893
+ tooltip: string | null;
894
+ /** `value` below this is the low tier. */
895
+ lowThreshold: number;
896
+ /** `value` at/above this is the high tier. */
897
+ highThreshold: number;
898
+ private internalValue;
899
+ /** Completion as a 0–100 percentage. Out-of-range inputs are clamped. */
900
+ set value(v: number);
901
+ get value(): number;
902
+ get clampedValue(): number;
903
+ get filledCount(): number;
904
+ get segmentIndexes(): number[];
905
+ get tier(): CompletionTier;
906
+ get displayLabel(): string;
907
+ static ɵfac: i0.ɵɵFactoryDeclaration<CompletionBarComponent, never>;
908
+ static ɵcmp: i0.ɵɵComponentDeclaration<CompletionBarComponent, "pw-completion-bar", never, { "segments": { "alias": "segments"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "lowThreshold": { "alias": "lowThreshold"; "required": false; }; "highThreshold": { "alias": "highThreshold"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
909
+ }
910
+
728
911
  declare class ResourceSharedComponentsModule {
729
912
  static ɵfac: i0.ɵɵFactoryDeclaration<ResourceSharedComponentsModule, never>;
730
- static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent], [typeof i37.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.AppLoaderModule, typeof i6.CoreTranslocoModule, typeof i7.DirectivesModule, typeof i8.ButtonModule, typeof i25.NgbTooltipModule, typeof i10.TooltipModule, typeof i11.ProgressSpinnerModule, typeof i12.AutoCompleteModule, typeof i13.DragDropModule, typeof i14.FieldErrorDisplayModule, typeof i14.ProfileImageCropperModule, typeof i14.ResourceHeaderModule], [typeof i14.ProfileImageCropperModule, typeof i14.ResourceHeaderModule, typeof InputContainerComponent, typeof NoDataComponent, typeof i8.ButtonModule, typeof i13.DragDropModule, typeof i11.ProgressSpinnerModule, typeof i12.AutoCompleteModule, typeof i10.TooltipModule, typeof i14.FieldErrorDisplayModule]>;
913
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ResourceSharedComponentsModule, [typeof NoDataComponent, typeof InputContainerComponent, typeof CompletionBarComponent], [typeof i43.CommonModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule, typeof i6.AppLoaderModule, typeof i7.CoreTranslocoModule, typeof i8.DirectivesModule, typeof i9.ButtonModule, typeof i31.NgbTooltipModule, typeof i11.TooltipModule, typeof i12.ProgressSpinnerModule, typeof i13.AutoCompleteModule, typeof i14.DragDropModule, typeof i15.FieldErrorDisplayModule, typeof i15.ProfileImageCropperModule, typeof i15.ResourceHeaderModule], [typeof i15.ProfileImageCropperModule, typeof i15.ResourceHeaderModule, typeof InputContainerComponent, typeof NoDataComponent, typeof CompletionBarComponent, typeof i9.ButtonModule, typeof i14.DragDropModule, typeof i12.ProgressSpinnerModule, typeof i13.AutoCompleteModule, typeof i11.TooltipModule, typeof i15.FieldErrorDisplayModule]>;
731
914
  static ɵinj: i0.ɵɵInjectorDeclaration<ResourceSharedComponentsModule>;
732
915
  }
733
916
 
@@ -765,7 +948,7 @@ declare class CollapsibleSidebarTriggerDirective {
765
948
 
766
949
  declare class SharedComponentsModule {
767
950
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedComponentsModule, never>;
768
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent], [typeof i4.FormsModule, typeof i5.AppLoaderModule, typeof i4.ReactiveFormsModule, typeof i7.DirectivesModule, typeof i6.CoreTranslocoModule, typeof i24.RouterModule, typeof i25.NgbTooltipModule, typeof i25.NgbNavModule, typeof i25.NgbModalModule, typeof i26.TableModule, typeof i27.TabsModule, typeof i8.ButtonModule, typeof i29.SelectModule, typeof i30.MultiSelectModule, typeof i11.ProgressSpinnerModule, typeof i12.AutoCompleteModule, typeof i33.ImageCropperModule, typeof i34.UiSwitchModule, typeof i35.NgxDaterangepickerMd, typeof i36.PipesModule, typeof i37.CommonModule, typeof i37.NgIf, typeof i14.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule, typeof CollapsibleSidebarTriggerDirective], [typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof i25.NgbTooltipModule, typeof i25.NgbNavModule, typeof i25.NgbModalModule, typeof i26.TableModule, typeof i27.TabsModule, typeof i8.ButtonModule, typeof i29.SelectModule, typeof i30.MultiSelectModule, typeof i11.ProgressSpinnerModule, typeof i12.AutoCompleteModule, typeof i33.ImageCropperModule, typeof i34.UiSwitchModule, typeof i35.NgxDaterangepickerMd, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof CollapsibleSidebarTriggerDirective, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof i14.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule]>;
951
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedComponentsModule, [typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof SectionHeadingBlockComponent, typeof DividerBlockComponent, typeof StatCardBlockComponent, typeof DataTableBlockComponent, typeof ChartBlockComponent], [typeof i5.FormsModule, typeof i6.AppLoaderModule, typeof i5.ReactiveFormsModule, typeof i8.DirectivesModule, typeof i7.CoreTranslocoModule, typeof i30.RouterModule, typeof i31.NgbTooltipModule, typeof i31.NgbNavModule, typeof i31.NgbModalModule, typeof i32.TableModule, typeof i33.TabsModule, typeof i9.ButtonModule, typeof i35.SelectModule, typeof i36.MultiSelectModule, typeof i12.ProgressSpinnerModule, typeof i13.AutoCompleteModule, typeof i39.ImageCropperModule, typeof i40.UiSwitchModule, typeof i41.NgxDaterangepickerMd, typeof i42.PipesModule, typeof i43.CommonModule, typeof i43.NgIf, typeof i15.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule, typeof CollapsibleSidebarTriggerDirective], [typeof PasswordValidationComponent, typeof PwTabsComponent, typeof DateRangePickerComponent, typeof i31.NgbTooltipModule, typeof i31.NgbNavModule, typeof i31.NgbModalModule, typeof i32.TableModule, typeof i33.TabsModule, typeof i9.ButtonModule, typeof i35.SelectModule, typeof i36.MultiSelectModule, typeof i12.ProgressSpinnerModule, typeof i13.AutoCompleteModule, typeof i39.ImageCropperModule, typeof i40.UiSwitchModule, typeof i41.NgxDaterangepickerMd, typeof PermissionTreeComponent, typeof PrivacyAndTosComponent, typeof PrivacyPolicyComponent, typeof TermsConditionsComponent, typeof SplashComponent, typeof AuthenticatorComponent, typeof ClearBitIconComponent, typeof ComingSoonComponent, typeof CollapsibleSidebarComponent, typeof CollapsibleSidebarTriggerDirective, typeof PwBrainChatComponent, typeof EntityGroupComponent, typeof GroupsComponent, typeof GroupDefinitionComponent, typeof NumberPickerComponent, typeof HeaderComponent, typeof LandingPageFooterBComponent, typeof PwDynamicPageComponent, typeof i15.FieldErrorDisplayModule, typeof ResourceSharedComponentsModule]>;
769
952
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedComponentsModule>;
770
953
  }
771
954
 
@@ -808,5 +991,17 @@ declare class CollapsibleSidebarSuperAdminGuard {
808
991
  static ɵprov: i0.ɵɵInjectableDeclaration<CollapsibleSidebarSuperAdminGuard>;
809
992
  }
810
993
 
811
- export { AuthenticatorComponent, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, DateRangePickerComponent, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwTabsComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent };
812
- export type { SidebarContent };
994
+ declare class UiLayoutService {
995
+ private readonly api;
996
+ constructor(api: MainApiHttpService);
997
+ getLayout(subscriptionId: number, pageKey: string): Observable<UiLayoutResponse>;
998
+ static ɵfac: i0.ɵɵFactoryDeclaration<UiLayoutService, never>;
999
+ static ɵprov: i0.ɵɵInjectableDeclaration<UiLayoutService>;
1000
+ }
1001
+
1002
+ declare const COMPONENT_REGISTRY: Readonly<Record<string, Type<unknown>>>;
1003
+ declare function registeredType(type: string): Type<unknown> | null;
1004
+ declare function registeredTypeNames(): string[];
1005
+
1006
+ export { AuthenticatorComponent, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CompletionBarComponent, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwDynamicPageComponent, PwTabsComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
1007
+ export type { ChatMessage, ChatMessageRole, CompletionTier, DynamicPageContext, PendingConfirmation, ResolvedBinding, SidebarContent, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };