@naniteninja/dashboard-components-lib 2.1.83 → 2.1.85

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
@@ -1680,9 +1680,22 @@ declare class MatcherStatusesComponent implements OnChanges {
1680
1680
  getMessages: EventEmitter<boolean>;
1681
1681
  sendMessage: EventEmitter<IMessage>;
1682
1682
  dismissPriority: EventEmitter<void>;
1683
+ suggestionClicked: EventEmitter<string>;
1683
1684
  chatComponent: ChatComponent;
1685
+ remainingPrioritiesChange: EventEmitter<{
1686
+ location: string;
1687
+ locationIndex: number;
1688
+ slots: {
1689
+ label: string;
1690
+ slotIndex: number;
1691
+ }[];
1692
+ rank: number;
1693
+ }[]>;
1684
1694
  MATCHER_STATUSES: typeof MATCHER_STATUSES;
1685
1695
  activePriorityText: string;
1696
+ activeLocationText: string;
1697
+ activeTimeText: string;
1698
+ isStatusMessage: boolean;
1686
1699
  remainingPriorities: {
1687
1700
  address: string;
1688
1701
  day: string;
@@ -1690,16 +1703,30 @@ declare class MatcherStatusesComponent implements OnChanges {
1690
1703
  endHour: number;
1691
1704
  rank: number;
1692
1705
  }[];
1706
+ allPrioritiesGrouped: {
1707
+ location: string;
1708
+ locationIndex: number;
1709
+ slots: {
1710
+ label: string;
1711
+ slotIndex: number;
1712
+ }[];
1713
+ rank: number;
1714
+ }[];
1715
+ locationHovered: boolean;
1693
1716
  constructor(cdr: ChangeDetectorRef);
1694
1717
  ngOnChanges(changes: SimpleChanges): void;
1695
1718
  private updateIndicatorDisplay;
1719
+ private buildAllPrioritiesGrouped;
1720
+ formatShortDate(day: string): string;
1696
1721
  onDismissPriority(): void;
1722
+ onSuggestionClick(text: string): void;
1697
1723
  formatHour(hour: number): string;
1724
+ formatDay(day: string): string;
1698
1725
  handleGetMessages(event: boolean): void;
1699
1726
  handleSendMessage(event: IMessage): void;
1700
1727
  focus(): void;
1701
1728
  static ɵfac: i0.ɵɵFactoryDeclaration<MatcherStatusesComponent, never>;
1702
- static ɵcmp: i0.ɵɵComponentDeclaration<MatcherStatusesComponent, "lib-matcher-statuses", never, { "adsTemplate": { "alias": "adsTemplate"; "required": false; }; "status": { "alias": "status"; "required": false; }; "hideStatuses": { "alias": "hideStatuses"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "responseTime": { "alias": "responseTime"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prospectJoinDate": { "alias": "prospectJoinDate"; "required": false; }; "meetupIndicator": { "alias": "meetupIndicator"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "includeTime": { "alias": "includeTime"; "required": false; }; "includeGifMessage": { "alias": "includeGifMessage"; "required": false; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; }, { "getMessages": "getMessages"; "sendMessage": "sendMessage"; "dismissPriority": "dismissPriority"; }, never, never, true, never>;
1729
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatcherStatusesComponent, "lib-matcher-statuses", never, { "adsTemplate": { "alias": "adsTemplate"; "required": false; }; "status": { "alias": "status"; "required": false; }; "hideStatuses": { "alias": "hideStatuses"; "required": false; }; "messages": { "alias": "messages"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "responseTime": { "alias": "responseTime"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "prospectJoinDate": { "alias": "prospectJoinDate"; "required": false; }; "meetupIndicator": { "alias": "meetupIndicator"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "includeTime": { "alias": "includeTime"; "required": false; }; "includeGifMessage": { "alias": "includeGifMessage"; "required": false; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; }, { "getMessages": "getMessages"; "sendMessage": "sendMessage"; "dismissPriority": "dismissPriority"; "suggestionClicked": "suggestionClicked"; "remainingPrioritiesChange": "remainingPrioritiesChange"; }, never, never, true, never>;
1703
1730
  }
1704
1731
 
1705
1732
  /** Tab / chat-head item used by the swipeable dashboard tabs (typically a client match overview). */
@@ -2074,6 +2101,15 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
2074
2101
  prospectId: string;
2075
2102
  chatId: string;
2076
2103
  }>;
2104
+ remainingPrioritiesChange: EventEmitter<{
2105
+ location: string;
2106
+ locationIndex: number;
2107
+ slots: {
2108
+ label: string;
2109
+ slotIndex: number;
2110
+ }[];
2111
+ rank: number;
2112
+ }[]>;
2077
2113
  alertStatusFields: typeof AlertStatusFields;
2078
2114
  components: typeof ClientHomeComponent;
2079
2115
  clientMatches: ILibClientMatchOverview[];
@@ -2116,7 +2152,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
2116
2152
  private generateDefaultTraitVisualNodes;
2117
2153
  focus(): void;
2118
2154
  static ɵfac: i0.ɵɵFactoryDeclaration<LibClientHomeComponent, never>;
2119
- static ɵcmp: i0.ɵɵComponentDeclaration<LibClientHomeComponent, "lib-client-home", never, { "config": { "alias": "config"; "required": false; }; "menuPosition": { "alias": "menuPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "dimMinStatusRank": { "alias": "dimMinStatusRank"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "addMessage": "addMessage"; "getMessages": "getMessages"; "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; "handleAppearPopup": "handleAppearPopup"; "rejectRequest": "rejectRequest"; "dismissPriority": "dismissPriority"; }, never, never, true, never>;
2155
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibClientHomeComponent, "lib-client-home", never, { "config": { "alias": "config"; "required": false; }; "menuPosition": { "alias": "menuPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; "dimMinStatusRank": { "alias": "dimMinStatusRank"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "addMessage": "addMessage"; "getMessages": "getMessages"; "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; "handleAppearPopup": "handleAppearPopup"; "rejectRequest": "rejectRequest"; "dismissPriority": "dismissPriority"; "remainingPrioritiesChange": "remainingPrioritiesChange"; }, never, never, true, never>;
2120
2156
  }
2121
2157
 
2122
2158
  type ChatHeadState = 'white' | 'red' | 'green';
@@ -3077,6 +3113,10 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
3077
3113
  prospectId: string;
3078
3114
  chatId: string;
3079
3115
  }>;
3116
+ reactivatePriority: EventEmitter<{
3117
+ chatId: string;
3118
+ rank: number;
3119
+ }>;
3080
3120
  private _tabStripRef;
3081
3121
  private tabStripContentRef;
3082
3122
  protected get tabStripRef(): ElementRef<HTMLElement> | undefined;
@@ -3126,7 +3166,19 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
3126
3166
  resetPrefMatchManager(): void;
3127
3167
  applyPrefMatchManager(): void;
3128
3168
  refreshPrefMatchVisual(): void;
3169
+ meetupRemainingPriorities: {
3170
+ location: string;
3171
+ locationIndex: number;
3172
+ slots: {
3173
+ label: string;
3174
+ slotIndex: number;
3175
+ }[];
3176
+ rank: number;
3177
+ }[];
3129
3178
  readonly clientMatches$: BehaviorSubject<ILibClientMatchOverview[]>;
3179
+ onPlansPriorityClick(priority: {
3180
+ rank: number;
3181
+ }): void;
3130
3182
  onSchedulerSlideChange(event: SwiperSlideChangeEvent): void;
3131
3183
  onHandoffSlideChange(event: SwiperSlideChangeEvent): void;
3132
3184
  onDatePrepSlideChange(event: SwiperSlideChangeEvent): void;
@@ -3194,7 +3246,7 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
3194
3246
  private updateCountdownFromTotalSeconds;
3195
3247
  private calculateTimerForIndex;
3196
3248
  static ɵfac: i0.ɵɵFactoryDeclaration<MatcherViewportComponent, never>;
3197
- static ɵcmp: i0.ɵɵComponentDeclaration<MatcherViewportComponent, "lib-matcher-viewport", never, { "config": { "alias": "config"; "required": false; }; "showViewportControls": { "alias": "showViewportControls"; "required": false; }; "showViewportHeader": { "alias": "showViewportHeader"; "required": false; }; "showViewportFooter": { "alias": "showViewportFooter"; "required": false; }; "activePageInput": { "alias": "activePageInput"; "required": false; }; "enablePageRouting": { "alias": "enablePageRouting"; "required": false; }; "pageRouteQueryParamKey": { "alias": "pageRouteQueryParamKey"; "required": false; }; "pageRouteParamKey": { "alias": "pageRouteParamKey"; "required": false; }; "pageRouteSegmentName": { "alias": "pageRouteSegmentName"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "activePageChange": "activePageChange"; "addMessage": "addMessage"; "getMessages": "getMessages"; "rejectRequest": "rejectRequest"; "dismissPriority": "dismissPriority"; }, never, never, false, never>;
3249
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatcherViewportComponent, "lib-matcher-viewport", never, { "config": { "alias": "config"; "required": false; }; "showViewportControls": { "alias": "showViewportControls"; "required": false; }; "showViewportHeader": { "alias": "showViewportHeader"; "required": false; }; "showViewportFooter": { "alias": "showViewportFooter"; "required": false; }; "activePageInput": { "alias": "activePageInput"; "required": false; }; "enablePageRouting": { "alias": "enablePageRouting"; "required": false; }; "pageRouteQueryParamKey": { "alias": "pageRouteQueryParamKey"; "required": false; }; "pageRouteParamKey": { "alias": "pageRouteParamKey"; "required": false; }; "pageRouteSegmentName": { "alias": "pageRouteSegmentName"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "activePageChange": "activePageChange"; "addMessage": "addMessage"; "getMessages": "getMessages"; "rejectRequest": "rejectRequest"; "dismissPriority": "dismissPriority"; "reactivatePriority": "reactivatePriority"; }, never, never, false, never>;
3198
3250
  }
3199
3251
 
3200
3252
  declare class MatcherViewportModule {
@@ -3250,6 +3302,22 @@ declare const prospects: ({
3250
3302
  personality: number;
3251
3303
  })[];
3252
3304
 
3305
+ interface IClientPersona extends IClientFields {
3306
+ _id: string;
3307
+ age: number;
3308
+ location: string;
3309
+ }
3310
+ declare const allClients: IClientPersona[];
3311
+ declare const allMatchers: IClientPersona[];
3312
+ declare const CURRENT_CLIENT: IClientPersona;
3313
+ declare const CURRENT_MATCHER: IClientPersona;
3314
+ interface IProspectMatchDatum {
3315
+ preferences: number;
3316
+ personality: number;
3317
+ conversation: IMessage[];
3318
+ }
3319
+ declare const prospectMatchData: IProspectMatchDatum[];
3320
+
3253
3321
  declare const configSpider: ISpiderChartConfig;
3254
3322
 
3255
3323
  declare const DEMO_CLIENT: {
@@ -3428,5 +3496,5 @@ declare class StatusIconComponent {
3428
3496
  static ɵcmp: i0.ɵɵComponentDeclaration<StatusIconComponent, "lib-status-icon", never, { "type": { "alias": "type"; "required": true; }; }, {}, never, never, true, never>;
3429
3497
  }
3430
3498
 
3431
- export { AbstractCacheService, AgendaComponent, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, BaseViewportComponent, CONVERSATION_FLAG, COUNTER_FLAG_BASE, CalendarAccountEnum, CalendarAccountIconsEnum, CalendarUtilsService, ChatComponent, ChatMetaPipe, ChatService, ChatSuggestionComponent, CircleProgressComponent, CircleProgressModule, CircleVariable, ClientChatHeadComponent, ClientDashboardTabs, ClientHomeComponent, ClientViewportComponent, ClientViewportModule, ClientViewportPage, ClientViewportPrefTab, ClientViewportTab, CommonOperations, CountNonEmptyFieldsPipe, DEMO_CLIENT, DEMO_MATCHER, EditRecurringEventOptions, EventTypes, GetColorByMatcherPipe, GetMultiSelectDisplayTextPipe, GetProfileWithProgressPipe, HandoffPanelTab, HandoffPanelVersion, INNER_CIRCLE_STATE, InitialsPipe, IsStatusIncludedPipe, LayoutService, LibAgendaModule, LibAutoDelegationModalComponent, LibChatComponentModule, LibClientHomeComponent, LibClientMatchOverviewComponent, LibDashboardSwipeableTabsComponent, LibEventFormComponent, LibEventFormModule, LibHandoffPanelComponent, LibLoadingBarComponent, LibMessageModalComponent, LibSchedulerComponent, LibStatusBarComponent, LibStatusBarModule, LibToastrService, LibToastrStackService, LibVisualManagerModalComponent, MATCHER_STATUSES, MatcherStatuses, MatcherStatusesComponent, MatcherViewportComponent, MatcherViewportModule, MenuPosition, MessageOption, PROGRESS_GAP_MINUTES, ProfileCardComponent, ProfileCardModule, ProgressTickerService, RecurringTypes, RoundPipe, ScheduleDateStatus, SenderTypes, SpiderChartComponent, StandardChatHeadComponent, StatusIconComponent, TICK_PERIOD_SECONDS, TRAIT_VISUAL_DEFAULT_BG_BASE64, ToastrActionInitiator, ToastrActionType, ToastrDescription, ToastrPosition, ToastrSeverity, VisualManagerModalEventTypes, VisualManagerModalEventValue, circleData, computeInnerState, configSpider, dashboardMainSwiperDefaultOptions, dashboardThumbsSwiperDefaultOptions, defaultAgendaEvents, defaultClientDashboardConfig, defaultClientHomeConfig, defaultClientMatches, defaultClientMatchesForClient, defaultClientMatchesForMatcher, defaultClientViewportConfig, defaultMatcherViewportConfig, defaultProfileComparisonConfigForClient, defaultProfileComparisonConfigForMatcher, defaultProfileData, defaultSchedulerEvents, defaultSpiderConfig, defaultSpiderDatasets, defaultTraitVisualNodes, defaultUserHomeConfig, defsF, defsLG, defsRG, demoPolygonColors, innerProgressDefaultColors, innerProgressPinkColors, innerProgressPurpleColors, innerProgressWhiteColors, mainswiperDefaultOptions, progressDefaultColors, progressWhiteColors, prospects, recurringOptions, thumbsSwiperDefaultOptions };
3432
- export type { ChatHeadData, ChatHeadState, CircleProgressConfig, ClientChatHeadData, ClientChatHeadModel, ClientInnerState, DatePrepDesignation, GroupingAdapterFn, IAgendaDay, IAgendaEvent, IAttachment, IAutoDelegationData, IAutoDelegationEvent, IAutoDelegationModalData, IAutoDelegationPreferences, ICalendarAccount, ICalendarAccountTheme, IChartData, IChatIdentifier, IChatMeta, IChatSuggestion, IChatTraits, ICircleData, IClientDashboardInputs, IClientPageProps, IClientProfile, IClientViewportConfig, IColorChangeNotification, IConversationFlag, IDashboardMatchRequest, IDashboardMatcherProfile, IDataset, IDateMessages, IDatePrepInfo, IDatePrepItem, IDefsF, IDefsLG, IDefsRG, IEvent, IEventFormOutput, IEventTime, IGroupWrapper, IGroupingAdapterResult, IHandoffPanelInputs, IHomeDashboardInputs, IInnerPartialCircleProgressColors, ILibClientMatchOverview, IMatcherDashboardInputs, IMatcherPageProps, IMatcherProfile, IMatcherTabConfig, IMatcherViewportConfig, IMeetupIndicator, IMessage, IPartialCircleProgressColors, IPolygonColor, IPrefMatchManagerModalItem, IPreferenceItem, IProfileAttribute, IProfileComparisonData, IProfileComparisonInputs, IProspect, IProspectData, IRecurringEvent, IRecurringEventException, IRecurringPattern, IScheduleSlot, ISchedulerAction, ISchedulerEvent, ISchedulerEventSlots, ISchedulerEventSuggestion, ISpiderChartAttribute, ISpiderChartConfig, ITabConfig, ITabWrapper, IToasterConfig, IToastrActionEvent, IVisualManagerModalData, IVisualManagerModalEvent, IVisualManagerModalModalData, ProgressDecision, ProgressFacts, StandardChatHeadModel, StoredRule, TabInfoData, TabModalData, TabNode, ToastrStackConfig };
3499
+ export { AbstractCacheService, AgendaComponent, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, BaseViewportComponent, CONVERSATION_FLAG, COUNTER_FLAG_BASE, CURRENT_CLIENT, CURRENT_MATCHER, CalendarAccountEnum, CalendarAccountIconsEnum, CalendarUtilsService, ChatComponent, ChatMetaPipe, ChatService, ChatSuggestionComponent, CircleProgressComponent, CircleProgressModule, CircleVariable, ClientChatHeadComponent, ClientDashboardTabs, ClientHomeComponent, ClientViewportComponent, ClientViewportModule, ClientViewportPage, ClientViewportPrefTab, ClientViewportTab, CommonOperations, CountNonEmptyFieldsPipe, DEMO_CLIENT, DEMO_MATCHER, EditRecurringEventOptions, EventTypes, GetColorByMatcherPipe, GetMultiSelectDisplayTextPipe, GetProfileWithProgressPipe, HandoffPanelTab, HandoffPanelVersion, INNER_CIRCLE_STATE, InitialsPipe, IsStatusIncludedPipe, LayoutService, LibAgendaModule, LibAutoDelegationModalComponent, LibChatComponentModule, LibClientHomeComponent, LibClientMatchOverviewComponent, LibDashboardSwipeableTabsComponent, LibEventFormComponent, LibEventFormModule, LibHandoffPanelComponent, LibLoadingBarComponent, LibMessageModalComponent, LibSchedulerComponent, LibStatusBarComponent, LibStatusBarModule, LibToastrService, LibToastrStackService, LibVisualManagerModalComponent, MATCHER_STATUSES, MatcherStatuses, MatcherStatusesComponent, MatcherViewportComponent, MatcherViewportModule, MenuPosition, MessageOption, PROGRESS_GAP_MINUTES, ProfileCardComponent, ProfileCardModule, ProgressTickerService, RecurringTypes, RoundPipe, ScheduleDateStatus, SenderTypes, SpiderChartComponent, StandardChatHeadComponent, StatusIconComponent, TICK_PERIOD_SECONDS, TRAIT_VISUAL_DEFAULT_BG_BASE64, ToastrActionInitiator, ToastrActionType, ToastrDescription, ToastrPosition, ToastrSeverity, VisualManagerModalEventTypes, VisualManagerModalEventValue, allClients, allMatchers, circleData, computeInnerState, configSpider, dashboardMainSwiperDefaultOptions, dashboardThumbsSwiperDefaultOptions, defaultAgendaEvents, defaultClientDashboardConfig, defaultClientHomeConfig, defaultClientMatches, defaultClientMatchesForClient, defaultClientMatchesForMatcher, defaultClientViewportConfig, defaultMatcherViewportConfig, defaultProfileComparisonConfigForClient, defaultProfileComparisonConfigForMatcher, defaultProfileData, defaultSchedulerEvents, defaultSpiderConfig, defaultSpiderDatasets, defaultTraitVisualNodes, defaultUserHomeConfig, defsF, defsLG, defsRG, demoPolygonColors, innerProgressDefaultColors, innerProgressPinkColors, innerProgressPurpleColors, innerProgressWhiteColors, mainswiperDefaultOptions, progressDefaultColors, progressWhiteColors, prospectMatchData, prospects, recurringOptions, thumbsSwiperDefaultOptions };
3500
+ export type { ChatHeadData, ChatHeadState, CircleProgressConfig, ClientChatHeadData, ClientChatHeadModel, ClientInnerState, DatePrepDesignation, GroupingAdapterFn, IAgendaDay, IAgendaEvent, IAttachment, IAutoDelegationData, IAutoDelegationEvent, IAutoDelegationModalData, IAutoDelegationPreferences, ICalendarAccount, ICalendarAccountTheme, IChartData, IChatIdentifier, IChatMeta, IChatSuggestion, IChatTraits, ICircleData, IClientDashboardInputs, IClientPageProps, IClientPersona, IClientProfile, IClientViewportConfig, IColorChangeNotification, IConversationFlag, IDashboardMatchRequest, IDashboardMatcherProfile, IDataset, IDateMessages, IDatePrepInfo, IDatePrepItem, IDefsF, IDefsLG, IDefsRG, IEvent, IEventFormOutput, IEventTime, IGroupWrapper, IGroupingAdapterResult, IHandoffPanelInputs, IHomeDashboardInputs, IInnerPartialCircleProgressColors, ILibClientMatchOverview, IMatcherDashboardInputs, IMatcherPageProps, IMatcherProfile, IMatcherTabConfig, IMatcherViewportConfig, IMeetupIndicator, IMessage, IPartialCircleProgressColors, IPolygonColor, IPrefMatchManagerModalItem, IPreferenceItem, IProfileAttribute, IProfileComparisonData, IProfileComparisonInputs, IProspect, IProspectData, IProspectMatchDatum, IRecurringEvent, IRecurringEventException, IRecurringPattern, IScheduleSlot, ISchedulerAction, ISchedulerEvent, ISchedulerEventSlots, ISchedulerEventSuggestion, ISpiderChartAttribute, ISpiderChartConfig, ITabConfig, ITabWrapper, IToasterConfig, IToastrActionEvent, IVisualManagerModalData, IVisualManagerModalEvent, IVisualManagerModalModalData, ProgressDecision, ProgressFacts, StandardChatHeadModel, StoredRule, TabInfoData, TabModalData, TabNode, ToastrStackConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naniteninja/dashboard-components-lib",
3
- "version": "2.1.83",
3
+ "version": "2.1.85",
4
4
  "author": "naniteninja",
5
5
  "repository": {
6
6
  "type": "git"