@naniteninja/dashboard-components-lib 2.1.97 → 2.1.98

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { TemplateRef, OnInit, AfterViewInit, ElementRef, EventEmitter, ChangeDetectorRef, PipeTransform, ModuleWithProviders, OnDestroy, OnChanges, SimpleChanges, Renderer2, ViewContainerRef, NgZone, EmbeddedViewRef, QueryList, InjectionToken } from '@angular/core';
2
+ import { TemplateRef, OnInit, AfterViewInit, OnDestroy, ElementRef, EventEmitter, ChangeDetectorRef, PipeTransform, ModuleWithProviders, OnChanges, SimpleChanges, Renderer2, ViewContainerRef, NgZone, EmbeddedViewRef, QueryList, InjectionToken } from '@angular/core';
3
3
  import * as i6 from '@naniteninja/ionic-lib';
4
4
  import { LibMenuItem, LocationModel, SelectOption, ImageModel, PopupModalService, Direction, ILocationSearchResult, BaseComponent, InputFieldComponent, EmojiPickerConfig, Profile, ToastrSeverity, StatusTypes } from '@naniteninja/ionic-lib';
5
5
  export { Direction, StatusTypes, ToastrSeverity } from '@naniteninja/ionic-lib';
@@ -831,10 +831,11 @@ interface IVisualManagerModalEvent {
831
831
  };
832
832
  }
833
833
 
834
- declare class LibAutoDelegationModalComponent implements OnInit, AfterViewInit {
834
+ declare class LibAutoDelegationModalComponent implements OnInit, AfterViewInit, OnDestroy {
835
835
  private changeDetectorRef;
836
836
  private popupModalService;
837
837
  modalData?: IAutoDelegationModalData | undefined;
838
+ private readonly destroy$;
838
839
  childModalElementRef: ElementRef<HTMLDivElement>;
839
840
  countdown: number;
840
841
  expandedBaseCard?: boolean;
@@ -849,6 +850,7 @@ declare class LibAutoDelegationModalComponent implements OnInit, AfterViewInit {
849
850
  constructor(changeDetectorRef: ChangeDetectorRef, popupModalService: PopupModalService, modalData?: IAutoDelegationModalData | undefined);
850
851
  ngOnInit(): void;
851
852
  ngAfterViewInit(): void;
853
+ ngOnDestroy(): void;
852
854
  toggleExpandedBaseCard(): void;
853
855
  reject(): void;
854
856
  accept(): void;
@@ -3340,9 +3342,15 @@ declare class AlertPopupComponent implements OnInit, OnDestroy, OnChanges {
3340
3342
  static ɵcmp: i0.ɵɵComponentDeclaration<AlertPopupComponent, "lib-alert-popup", never, { "config": { "alias": "config"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "timeState": { "alias": "timeState"; "required": false; }; "number": { "alias": "number"; "required": false; }; }, { "closeClick": "closeClick"; "closed": "closed"; "checkboxChange": "checkboxChange"; }, never, never, true, never>;
3341
3343
  }
3342
3344
 
3345
+ declare class SpiderColorValueForItemPipe implements PipeTransform {
3346
+ transform(id: string, spiderColorById: Record<string, string>, spiderDefaultColorLabel: string | null, allSpiderColors: IPolygonColor[]): string | null;
3347
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpiderColorValueForItemPipe, never>;
3348
+ static ɵpipe: i0.ɵɵPipeDeclaration<SpiderColorValueForItemPipe, "spiderColorValueForItem", true>;
3349
+ }
3350
+
3343
3351
  declare class ClientViewportModule {
3344
3352
  static ɵfac: i0.ɵɵFactoryDeclaration<ClientViewportModule, never>;
3345
- static ɵmod: i0.ɵɵNgModuleDeclaration<ClientViewportModule, [typeof ClientViewportComponent], [typeof i2.CommonModule, typeof i3$1.DragDropModule, typeof i4.TranslateModule, typeof LibStatusBarModule, typeof LibAgendaModule, typeof LibClientHomeComponent, typeof i8.ProfileComparisonLibModule, typeof SpiderChartComponent, typeof i10.TraitVisualCanvasComponent, typeof LibSchedulerComponent, typeof LibHandoffPanelComponent, typeof AlertPopupComponent, typeof LibDashboardSwipeableTabsComponent, typeof i6.DirectiveModule], [typeof ClientViewportComponent]>;
3353
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ClientViewportModule, [typeof ClientViewportComponent], [typeof i2.CommonModule, typeof i3$1.DragDropModule, typeof i4.TranslateModule, typeof LibStatusBarModule, typeof LibAgendaModule, typeof LibClientHomeComponent, typeof i8.ProfileComparisonLibModule, typeof SpiderChartComponent, typeof i10.TraitVisualCanvasComponent, typeof LibSchedulerComponent, typeof LibHandoffPanelComponent, typeof AlertPopupComponent, typeof LibDashboardSwipeableTabsComponent, typeof SpiderColorValueForItemPipe, typeof i6.DirectiveModule], [typeof ClientViewportComponent]>;
3346
3354
  static ɵinj: i0.ɵɵInjectorDeclaration<ClientViewportModule>;
3347
3355
  }
3348
3356
 
@@ -3758,6 +3766,9 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
3758
3766
  }[];
3759
3767
  activeTabKey: string;
3760
3768
  activePage: number;
3769
+ activePageConfig?: IMatcherPageProps;
3770
+ plansTabConfig?: IMatcherTabConfig;
3771
+ suggestedTabConfig?: IMatcherTabConfig;
3761
3772
  spiderActiveIndex: number;
3762
3773
  isSpiderSelectorTooltipVisible: boolean;
3763
3774
  isSpiderSelectorTooltipTimeState: number;
@@ -3820,6 +3831,7 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
3820
3831
  updateProfileComparisonConfig(): void;
3821
3832
  getPageConfig(index: number): IMatcherPageProps | undefined;
3822
3833
  getTabConfig(tabKey: string): IMatcherTabConfig | undefined;
3834
+ private refreshCachedPageConfigs;
3823
3835
  onInfoIconClick(event: Event, tabIndex: number): void;
3824
3836
  onSuggestionClicked(question: string): void;
3825
3837
  onChatHeadChange(index: number): void;
@@ -3840,7 +3852,7 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
3840
3852
 
3841
3853
  declare class MatcherViewportModule {
3842
3854
  static ɵfac: i0.ɵɵFactoryDeclaration<MatcherViewportModule, never>;
3843
- static ɵmod: i0.ɵɵNgModuleDeclaration<MatcherViewportModule, [typeof MatcherViewportComponent], [typeof i2.CommonModule, typeof i3$1.DragDropModule, typeof i4.TranslateModule, typeof LibStatusBarModule, typeof LibClientHomeComponent, typeof i8.ProfileComparisonLibModule, typeof SpiderChartComponent, typeof LibSchedulerComponent, typeof i10.TraitVisualCanvasComponent, typeof i6.ButtonsModule, typeof ProfileCardModule, typeof LibDashboardSwipeableTabsComponent, typeof ChatSuggestionComponent, typeof AlertPopupComponent], [typeof MatcherViewportComponent]>;
3855
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MatcherViewportModule, [typeof MatcherViewportComponent], [typeof i2.CommonModule, typeof i3$1.DragDropModule, typeof i4.TranslateModule, typeof LibStatusBarModule, typeof LibClientHomeComponent, typeof i8.ProfileComparisonLibModule, typeof SpiderChartComponent, typeof LibSchedulerComponent, typeof i10.TraitVisualCanvasComponent, typeof i6.ButtonsModule, typeof ProfileCardModule, typeof LibDashboardSwipeableTabsComponent, typeof ChatSuggestionComponent, typeof AlertPopupComponent, typeof SpiderColorValueForItemPipe], [typeof MatcherViewportComponent]>;
3844
3856
  static ɵinj: i0.ɵɵInjectorDeclaration<MatcherViewportModule>;
3845
3857
  }
3846
3858
 
@@ -4206,5 +4218,5 @@ declare class ClientChatHeadComponent implements OnInit, OnDestroy, OnChanges {
4206
4218
  static ɵcmp: i0.ɵɵComponentDeclaration<ClientChatHeadComponent, "lib-client-chat-head", never, { "data": { "alias": "data"; "required": false; }; "size": { "alias": "size"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, {}, never, never, true, never>;
4207
4219
  }
4208
4220
 
4209
- export { AbstractCacheService, AgendaComponent, AgendaItemType, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, BaseViewportComponent, CURRENT_CLIENT, CURRENT_MATCHER, CalendarAccountIconsEnum, CalendarUtilsService, ChatComponent, ChatMetaPipe, ChatService, ChatSuggestionComponent, CircleProgressComponent, CircleProgressModule, CircleVariable, ClientChatHeadComponent, ClientDashboardTabs, ClientHomeComponent, ClientViewportComponent, ClientViewportModule, ClientViewportPage, ClientViewportPrefTab, ClientViewportTab, CommonOperations, CountNonEmptyFieldsPipe, FallbackTranslatePipe, FormFieldType, GetColorByMatcherPipe, GetMultiSelectDisplayTextPipe, GetProfileWithProgressPipe, GifSelectorService, HandoffPanelTab, HandoffPanelVersion, INTERESTS_LIST, InitialsPipe, IsStatusIncludedPipe, LayoutService, LibAgendaModule, LibAutoDelegationModalComponent, LibChatComponentModule, LibClientHomeComponent, LibClientMatchOverviewComponent, LibDashboardSwipeableTabsComponent, LibEventFormComponent, LibEventFormModule, LibHandoffPanelComponent, LibLoadingBarComponent, LibMessageModalComponent, LibSchedulerComponent, LibStatusBarComponent, LibStatusBarModule, LibToastrService, LibToastrStackService, LibVisualManagerModalComponent, LocalStorageKeys, MATCHER_STATUS_LOOKUP, MatcherStatusesComponent, MatcherViewportComponent, MatcherViewportModule, MenuPosition, MessageModalService, MessageOption, PROGRESS_GAP_MINUTES, ProfileCardComponent, ProfileCardModule, ProgressTickerService, RoundPipe, SPREAD_PROSPECT_OVERVIEW_DEFAULTS, SafeHtmlPipe, SpiderChartComponent, StandardChatHeadComponent, StatusIconComponent, TICK_PERIOD_SECONDS, TRAIT_VISUAL_DEFAULT_BG_BASE64, ToastrActionInitiator, ToastrActionType, ToastrDescription, ToastrPosition, TrustedHtmlPipe, UpdateLLMPreferencePipe, VisualManagerModalEventTypes, VisualManagerModalEventValue, allClients, allMatchers, circleData, computeInnerState, configSpider, dashboardMainSwiperDefaultOptions, dashboardThumbsSwiperDefaultOptions, defaultClientDashboardConfig, defaultClientHomeConfig, defaultClientViewportConfig, defaultHandoffPanelConfig, defaultMatcherDashboardConfig, defaultSpiderConfig, defsF, defsLG, defsRG, demoPolygonColors, formatMessageDate, getLimitDatesIndicators, innerProgressDefaultColors, innerProgressPinkColors, innerProgressPurpleColors, innerProgressTealColors, innerProgressWhiteColors, mainswiperDefaultOptions, progressDefaultColors, progressWhiteColors, prospectMatchData, prospects, recurringOptions, thumbsSwiperDefaultOptions };
4221
+ export { AbstractCacheService, AgendaComponent, AgendaItemType, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, BaseViewportComponent, CURRENT_CLIENT, CURRENT_MATCHER, CalendarAccountIconsEnum, CalendarUtilsService, ChatComponent, ChatMetaPipe, ChatService, ChatSuggestionComponent, CircleProgressComponent, CircleProgressModule, CircleVariable, ClientChatHeadComponent, ClientDashboardTabs, ClientHomeComponent, ClientViewportComponent, ClientViewportModule, ClientViewportPage, ClientViewportPrefTab, ClientViewportTab, CommonOperations, CountNonEmptyFieldsPipe, FallbackTranslatePipe, FormFieldType, GetColorByMatcherPipe, GetMultiSelectDisplayTextPipe, GetProfileWithProgressPipe, GifSelectorService, HandoffPanelTab, HandoffPanelVersion, INTERESTS_LIST, InitialsPipe, IsStatusIncludedPipe, LayoutService, LibAgendaModule, LibAutoDelegationModalComponent, LibChatComponentModule, LibClientHomeComponent, LibClientMatchOverviewComponent, LibDashboardSwipeableTabsComponent, LibEventFormComponent, LibEventFormModule, LibHandoffPanelComponent, LibLoadingBarComponent, LibMessageModalComponent, LibSchedulerComponent, LibStatusBarComponent, LibStatusBarModule, LibToastrService, LibToastrStackService, LibVisualManagerModalComponent, LocalStorageKeys, MATCHER_STATUS_LOOKUP, MatcherStatusesComponent, MatcherViewportComponent, MatcherViewportModule, MenuPosition, MessageModalService, MessageOption, PROGRESS_GAP_MINUTES, ProfileCardComponent, ProfileCardModule, ProgressTickerService, RoundPipe, SPREAD_PROSPECT_OVERVIEW_DEFAULTS, SafeHtmlPipe, SpiderChartComponent, SpiderColorValueForItemPipe, StandardChatHeadComponent, StatusIconComponent, TICK_PERIOD_SECONDS, TRAIT_VISUAL_DEFAULT_BG_BASE64, ToastrActionInitiator, ToastrActionType, ToastrDescription, ToastrPosition, TrustedHtmlPipe, UpdateLLMPreferencePipe, VisualManagerModalEventTypes, VisualManagerModalEventValue, allClients, allMatchers, circleData, computeInnerState, configSpider, dashboardMainSwiperDefaultOptions, dashboardThumbsSwiperDefaultOptions, defaultClientDashboardConfig, defaultClientHomeConfig, defaultClientViewportConfig, defaultHandoffPanelConfig, defaultMatcherDashboardConfig, defaultSpiderConfig, defsF, defsLG, defsRG, demoPolygonColors, formatMessageDate, getLimitDatesIndicators, innerProgressDefaultColors, innerProgressPinkColors, innerProgressPurpleColors, innerProgressTealColors, innerProgressWhiteColors, mainswiperDefaultOptions, progressDefaultColors, progressWhiteColors, prospectMatchData, prospects, recurringOptions, thumbsSwiperDefaultOptions };
4210
4222
  export type { AgendaItem, ChatHeadState, ClientInnerState, GroupingAdapterFn, IAd, IAgendaDay, IAgendaEvent, IAutoDelegationData, IAutoDelegationEvent, IAutoDelegationModalData, IAutoDelegationPreferences, IChatHeadData, IChatMessageRow, ICircleData, ICircleProgressConfig, IClientChatHead, IClientChatHeadData, IClientDashboardInputs, IClientPageProps, IClientPersona, IClientProfile, IClientViewportConfig, IColorChangeNotification, IDashboardTabBarItem, IDataset, IDatePrepInfo, IDatePrepItem, IDefsF, IDefsLG, IDefsRG, IEmptyTemplateContext, IEvent, IEventForm, IEventFormOutput, IEventTime, IGroupWrapper, IHandoffPanelInputs, IHandoffProspectCard, IHomeDashboardInputs, IInnerPartialCircleProgressColors, ILibClientMatchOverview, IMatcherDashboardInputs, IMatcherPageProps, IMatcherProfile, IMatcherTabConfig, IMatcherViewportConfig, IMessageModalEventPayload, IMessageModalPayload, IPartialCircleProgressColors, IPolygonColor, IPrefMatchManagerModalItem, IPrefMatchVisualTabModalData, IPreferenceItem, IProfileAttribute, IProfileComparisonData, IProfileComparisonInputs, IProgressDecision, IProgressFacts, IProspectData, IProspectMatchDatum, IRecurringEvent, IScheduleSlot, ISchedulerAction, ISchedulerEvent, ISchedulerEventDay, ISchedulerEventSlots, ISelectOptionWithTemplate, ISpiderChartAttribute, ISpiderChartConfig, ISpiderChartTabModalData, IStandardChatHead, IStatus, ITabConfig, ITabGroup, ITabGroupConfig, ITabWrapper, ITenorMediaFormat, ITenorObject, ITenorResult, IToasterConfig, IToastrActionEvent, ITraitVisualCanvasConfig, IVisualManagerModalData, IVisualManagerModalEvent, MessageModalScalar, TabGroupingMode, TabInfoData, TabInfoValue, TabModalData, TabNode, ToastrStackConfig };
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@naniteninja/dashboard-components-lib",
3
- "version": "2.1.97",
3
+ "version": "2.1.98",
4
4
  "author": "naniteninja",
5
5
  "repository": {
6
6
  "type": "git"
7
7
  },
8
8
  "peerDependencies": {
9
- "@naniteninja/cyrano-contracts": "^1.0.1",
9
+ "@naniteninja/cyrano-contracts": "^1.0.3",
10
10
  "@naniteninja/ionic-lib": "^2.0.5",
11
11
  "@angular/common": "^20.3.0",
12
12
  "@angular/core": "^20.3.0",