@posiwise/shared-components 0.0.184 → 0.0.186

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.184",
3
+ "version": "0.0.186",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.2.6",
6
6
  "@angular/core": "^21.2.6",
@@ -437,6 +437,18 @@ declare class CollapsibleSidebarService {
437
437
  static ɵprov: i0.ɵɵInjectableDeclaration<CollapsibleSidebarService>;
438
438
  }
439
439
 
440
+ /**
441
+ * Listens for Ctrl+Shift+A globally and toggles the PosiWise Assistant chat panel.
442
+ * Applied via hostDirectives on CollapsibleSidebarComponent.
443
+ */
444
+ declare class CollapsibleSidebarKeyboardShortcutDirective {
445
+ private readonly sidebarService;
446
+ constructor(sidebarService: CollapsibleSidebarService);
447
+ onKeydown(event: KeyboardEvent): void;
448
+ static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarKeyboardShortcutDirective, never>;
449
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CollapsibleSidebarKeyboardShortcutDirective, "[pwCollapsibleSidebarKeyboardShortcut]", never, {}, {}, never, never, true, never>;
450
+ }
451
+
440
452
  declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDestroy {
441
453
  private readonly sidebarService;
442
454
  private readonly injector;
@@ -473,7 +485,7 @@ declare class CollapsibleSidebarComponent implements OnInit, AfterViewInit, OnDe
473
485
  closeSidebar(): void;
474
486
  toggleSidebar(): void;
475
487
  static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleSidebarComponent, [null, null, null, null, { optional: true; }]>;
476
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleSidebarComponent, "pw-collapsible-sidebar", never, { "embedInLayout": { "alias": "embedInLayout"; "required": false; }; }, {}, never, never, false, never>;
488
+ static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleSidebarComponent, "pw-collapsible-sidebar", never, { "embedInLayout": { "alias": "embedInLayout"; "required": false; }; }, {}, never, never, false, [{ directive: typeof CollapsibleSidebarKeyboardShortcutDirective; inputs: {}; outputs: {}; }]>;
477
489
  static ngAcceptInputType_embedInLayout: unknown;
478
490
  }
479
491
 
@@ -544,6 +556,7 @@ declare class PwBrainChatComponent implements OnInit, OnDestroy {
544
556
  messages: ChatMessage[];
545
557
  draft: string;
546
558
  loading: boolean;
559
+ streamingStage: string | null;
547
560
  brandName: string;
548
561
  private conversationId;
549
562
  private storage;
@@ -1229,5 +1242,5 @@ declare const COMPONENT_REGISTRY: Readonly<Record<string, Type<unknown>>>;
1229
1242
  declare function registeredType(type: string): Type<unknown> | null;
1230
1243
  declare function registeredTypeNames(): string[];
1231
1244
 
1232
- export { AuthenticatorComponent, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
1245
+ export { AuthenticatorComponent, COMPONENT_REGISTRY, ClearBitIconComponent, CollapsibleSidebarComponent, CollapsibleSidebarKeyboardShortcutDirective, CollapsibleSidebarService, CollapsibleSidebarSuperAdminGuard, CollapsibleSidebarTriggerDirective, ComingSoonComponent, CompletionBarComponent, ConfirmDialogComponent, ConfirmDialogService, DateRangePickerComponent, DynamicPageContextService, EntityGroupComponent, GroupDefinitionComponent, GroupsComponent, HeaderComponent, InputContainerComponent, LandingPageFooterBComponent, NoDataComponent, NumberPickerComponent, PasswordValidationComponent, PermissionTreeComponent, PrivacyAndTosComponent, PrivacyPolicyComponent, PwBrainChatComponent, PwCookieBannerComponent, PwDynamicPageComponent, PwTabsComponent, RecordsSummaryComponent, ResourceSharedComponentsModule, SharedComponentsModule, SplashComponent, TermsConditionsComponent, UI_BUILDER_FLAG, UiLayoutService, registeredType, registeredTypeNames };
1233
1246
  export type { ChatMessage, ChatMessageRole, CompletionTier, ConfirmDeleteOptions, ConfirmDialogConfig, ConfirmDialogTone, DynamicPageContext, PendingConfirmation, ResolvedBinding, SidebarContent, UiBinding, UiBlock, UiGrid, UiLayoutConfig, UiLayoutResponse };