@posiwise/shared-components 0.0.162 → 0.0.164

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.162",
3
+ "version": "0.0.164",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.6",
6
6
  "@angular/core": "^21.2.6",
@@ -339,6 +339,7 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
339
339
  private readonly sidebarService;
340
340
  private readonly injector;
341
341
  private readonly cdr;
342
+ private readonly appConfigService?;
342
343
  contentContainer: ViewContainerRef;
343
344
  /**
344
345
  * When true, the drawer is a flex sibling of the page: main content shrinks (GitLab issue-board style).
@@ -354,10 +355,12 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
354
355
  currentContent: SidebarContent | null;
355
356
  private componentRef;
356
357
  private readonly destroy$;
357
- constructor(sidebarService: CollapsibleSidebarService, injector: Injector, cdr: ChangeDetectorRef);
358
+ constructor(sidebarService: CollapsibleSidebarService, injector: Injector, cdr: ChangeDetectorRef, appConfigService?: AppConfigService);
358
359
  ngOnInit(): void;
359
360
  ngAfterViewInit(): void;
360
361
  ngOnDestroy(): void;
362
+ /** Register (idempotently) the Brain panel under the given brand. */
363
+ private registerBrainPanel;
361
364
  /**
362
365
  * Load and render dynamic component based on sidebar content
363
366
  */
@@ -374,7 +377,7 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
374
377
  * Toggle sidebar expanded/collapsed state
375
378
  */
376
379
  toggleSidebar(): void;
377
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, never>;
380
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, [null, null, null, { optional: true; }]>;
378
381
  static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleSidebarComponent, "pw-collapsible-sidebar", never, { "embedInLayout": { "alias": "embedInLayout"; "required": false; }; }, {}, never, never, false, never>;
379
382
  static ngAcceptInputType_embedInLayout: unknown;
380
383
  }
@@ -437,15 +440,17 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
437
440
  private readonly cdr;
438
441
  private readonly store;
439
442
  private readonly dynamicPageCtx;
443
+ private readonly appConfigService?;
440
444
  messages: ChatMessage[];
441
445
  draft: string;
442
446
  loading: boolean;
447
+ brandName: string;
443
448
  private conversationId;
444
449
  private storage;
445
450
  private readonly destroy$;
446
451
  readonly diffRows: typeof diffRowsFrom;
447
452
  private readonly threadRef?;
448
- constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>, dynamicPageCtx: DynamicPageContextService);
453
+ constructor(orchestrator: MCPOrchestratorService, localStorage: LocalStorage, router: Router, cdr: ChangeDetectorRef, store: Store<AppState>, dynamicPageCtx: DynamicPageContextService, appConfigService?: AppConfigService);
449
454
  ngOnInit(): void;
450
455
  ngOnDestroy(): void;
451
456
  send(): void;
@@ -458,7 +463,7 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
458
463
  private persistConversationId;
459
464
  private pushAssistant;
460
465
  private stick;
461
- static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, never>;
466
+ static ɵfac: i0.ɵɵFactoryDeclaration<PwBrainChatComponent, [null, null, null, null, null, null, { optional: true; }]>;
462
467
  static ɵcmp: i0.ɵɵComponentDeclaration<PwBrainChatComponent, "pw-brain-chat", never, {}, {}, never, never, false, never>;
463
468
  }
464
469