@naniteninja/dashboard-components-lib 2.1.29 → 2.1.31

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
@@ -1589,6 +1589,7 @@ declare class LibDashboardSwipeableTabsComponent implements AfterViewInit, OnCha
1589
1589
  private resizeObserver;
1590
1590
  private intersectionObserver;
1591
1591
  private isBarIntersecting;
1592
+ private barIntersectionRatio;
1592
1593
  private rafId;
1593
1594
  expandedItemId: string | null;
1594
1595
  expandedItemLeft: number;
@@ -1745,6 +1746,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
1745
1746
  private cdr;
1746
1747
  config: IHomeDashboardInputs;
1747
1748
  menuPosition: MenuPosition;
1749
+ role: 'client' | 'matcher';
1748
1750
  swipeableTabs: LibDashboardSwipeableTabsComponent;
1749
1751
  activeIndexChange: EventEmitter<number>;
1750
1752
  addMessage: EventEmitter<{
@@ -1766,7 +1768,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
1766
1768
  };
1767
1769
  private componentDestroyed$;
1768
1770
  MATCHER_STATUSES: typeof MATCHER_STATUSES;
1769
- readonly defaultNumberOfItems: any[];
1771
+ get defaultNumberOfItems(): any[];
1770
1772
  groupingAdapter: (item: ILibClientMatchOverview, mode: TabGroupingMode) => {
1771
1773
  id: string;
1772
1774
  title: string;
@@ -1791,7 +1793,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
1791
1793
  private generateTraitVisualNodes;
1792
1794
  private generateDefaultTraitVisualNodes;
1793
1795
  static ɵfac: i0.ɵɵFactoryDeclaration<LibClientHomeComponent, never>;
1794
- static ɵcmp: i0.ɵɵComponentDeclaration<LibClientHomeComponent, "lib-client-home", never, { "config": { "alias": "config"; "required": false; }; "menuPosition": { "alias": "menuPosition"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "addMessage": "addMessage"; "getMessages": "getMessages"; "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; "handleAppearPopup": "handleAppearPopup"; "rejectRequest": "rejectRequest"; }, never, never, true, never>;
1796
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibClientHomeComponent, "lib-client-home", never, { "config": { "alias": "config"; "required": false; }; "menuPosition": { "alias": "menuPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; "addMessage": "addMessage"; "getMessages": "getMessages"; "bookEvent": "bookEvent"; "removeSuggestion": "removeSuggestion"; "handleAppearPopup": "handleAppearPopup"; "rejectRequest": "rejectRequest"; }, never, never, true, never>;
1795
1797
  }
1796
1798
 
1797
1799
  type ChatHeadState = 'white' | 'red' | 'green';
@@ -1888,6 +1890,7 @@ declare class LibClientMatchOverviewComponent implements OnInit, OnDestroy, Afte
1888
1890
  isGrouped: boolean;
1889
1891
  showProgressUnderHead: boolean;
1890
1892
  showRejectMenu: boolean;
1893
+ role: 'client' | 'matcher';
1891
1894
  sendConversationFlag: EventEmitter<IConversationFlag>;
1892
1895
  repositionRequest: EventEmitter<void>;
1893
1896
  rejectRequest: EventEmitter<void>;
@@ -1952,7 +1955,7 @@ declare class LibClientMatchOverviewComponent implements OnInit, OnDestroy, Afte
1952
1955
  private setInnerCircleState;
1953
1956
  private buildCircleOpts;
1954
1957
  static ɵfac: i0.ɵɵFactoryDeclaration<LibClientMatchOverviewComponent, never>;
1955
- static ɵcmp: i0.ɵɵComponentDeclaration<LibClientMatchOverviewComponent, "lib-client-match-overview", never, { "overview": { "alias": "overview"; "required": true; }; "meta": { "alias": "meta"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "default": { "alias": "default"; "required": false; }; "hideProgressBar": { "alias": "hideProgressBar"; "required": false; }; "partialColors": { "alias": "partialColors"; "required": false; }; "showExternalPartialCircleProgress": { "alias": "showExternalPartialCircleProgress"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "enableChangeOverview": { "alias": "enableChangeOverview"; "required": false; }; "isGrouped": { "alias": "isGrouped"; "required": false; }; "showProgressUnderHead": { "alias": "showProgressUnderHead"; "required": false; }; "showRejectMenu": { "alias": "showRejectMenu"; "required": false; }; }, { "sendConversationFlag": "sendConversationFlag"; "repositionRequest": "repositionRequest"; "rejectRequest": "rejectRequest"; }, never, never, true, never>;
1958
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibClientMatchOverviewComponent, "lib-client-match-overview", never, { "overview": { "alias": "overview"; "required": true; }; "meta": { "alias": "meta"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "default": { "alias": "default"; "required": false; }; "hideProgressBar": { "alias": "hideProgressBar"; "required": false; }; "partialColors": { "alias": "partialColors"; "required": false; }; "showExternalPartialCircleProgress": { "alias": "showExternalPartialCircleProgress"; "required": false; }; "maxValue": { "alias": "maxValue"; "required": false; }; "enableChangeOverview": { "alias": "enableChangeOverview"; "required": false; }; "isGrouped": { "alias": "isGrouped"; "required": false; }; "showProgressUnderHead": { "alias": "showProgressUnderHead"; "required": false; }; "showRejectMenu": { "alias": "showRejectMenu"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, { "sendConversationFlag": "sendConversationFlag"; "repositionRequest": "repositionRequest"; "rejectRequest": "rejectRequest"; }, never, never, true, never>;
1956
1959
  }
1957
1960
 
1958
1961
  declare class LibHandoffPanelComponent implements OnInit {
@@ -2399,8 +2402,9 @@ declare class ClientViewportComponent implements OnInit, OnChanges, OnDestroy, A
2399
2402
  private updateRouteForPage;
2400
2403
  private updateUrlWithPageSegment;
2401
2404
  private parseClientPage;
2402
- getClientAttributes(match: any): string[];
2403
- getProspectAttributes(match: any): string[];
2405
+ getDemoClientAttributes(): string[];
2406
+ getPrimaryAttributes(match: any): string[];
2407
+ getSecondaryAttributes(match: any): string[];
2404
2408
  getTabConfig(tabKey: string): ITabConfig | undefined;
2405
2409
  private updateViewportConfig;
2406
2410
  private subscribeToClientMatches;
@@ -2704,8 +2708,8 @@ declare class MatcherViewportComponent implements OnInit, OnDestroy, OnChanges {
2704
2708
  private extractPageFromUrl;
2705
2709
  private updateUrlWithPageSegment;
2706
2710
  private parseMatcherPage;
2707
- getClientAttributes(match: any): string[];
2708
- getProspectAttributes(match: any): string[];
2711
+ getPrimaryAttributes(match: any): string[];
2712
+ getSecondaryAttributes(match: any): string[];
2709
2713
  getPageConfig(index: number): IMatcherPageProps | undefined;
2710
2714
  getTabConfig(tabKey: string): IMatcherTabConfig | undefined;
2711
2715
  onInfoIconClick(event: Event, tabIndex: number): void;
@@ -2789,7 +2793,17 @@ declare const prospects: ({
2789
2793
 
2790
2794
  declare const configSpider: ISpiderChartConfig;
2791
2795
 
2796
+ declare const DEMO_CLIENT: {
2797
+ name: string;
2798
+ src: string;
2799
+ };
2800
+ declare const DEMO_MATCHER: {
2801
+ name: string;
2802
+ src: string;
2803
+ };
2792
2804
  declare const defaultClientMatches: ILibClientMatchOverview[];
2805
+ declare const defaultClientMatchesForClient: ILibClientMatchOverview[];
2806
+ declare const defaultClientMatchesForMatcher: ILibClientMatchOverview[];
2793
2807
  declare const defaultSchedulerEvents: ISchedulerEvent[];
2794
2808
  declare const defaultSpiderDatasets: IDataset[];
2795
2809
  declare const defaultAgendaEvents: IAgendaEvent[];
@@ -2802,7 +2816,8 @@ declare const defaultProfileData: {
2802
2816
  progress: number;
2803
2817
  imageUrl: string;
2804
2818
  };
2805
- declare const defaultProfileComparisonConfig: IProfileConfig;
2819
+ declare const defaultProfileComparisonConfigForClient: IProfileConfig;
2820
+ declare const defaultProfileComparisonConfigForMatcher: IProfileConfig;
2806
2821
  declare const defaultUserHomeConfig: IHomeDashboardInputs;
2807
2822
  declare const defaultTraitVisualNodes: INodeData[];
2808
2823
  declare const defaultMatcherViewportConfig: IMatcherViewportConfig;
@@ -2941,5 +2956,5 @@ declare class StatusIconComponent {
2941
2956
  static ɵcmp: i0.ɵɵComponentDeclaration<StatusIconComponent, "lib-status-icon", never, { "type": { "alias": "type"; "required": true; }; }, {}, never, never, true, never>;
2942
2957
  }
2943
2958
 
2944
- export { AbstractCacheService, AgendaComponent, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, 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, EditRecurringEventOptions, EventTypes, GetColorByMatcherPipe, GetMultiSelectDisplayTextPipe, GetProfileWithProgressPipe, HandoffPanelTab, HandoffPanelVersion, INNER_CIRCLE_STATE, InitialsPipe, IsStatusIncludedPipe, LayoutService, LibAgendaModule, LibAutoDelegationModalComponent, LibChatComponentModule, LibClientHomeComponent, LibClientMatchOverviewComponent, LibDashboardSwipeableTabsComponent, LibEventFormComponent, LibEventFormModule, LibHandoffPanelComponent, LibMessageModalComponent, LibProfileComparisonComponent, LibSchedulerComponent, LibStatusBarComponent, LibStatusBarModule, 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, VisualManagerModalEventTypes, VisualManagerModalEventValue, circleData, computeInnerState, configSpider, dashboardMainSwiperDefaultOptions, dashboardThumbsSwiperDefaultOptions, defaultAgendaEvents, defaultClientDashboardConfig, defaultClientHomeConfig, defaultClientMatches, defaultClientViewportConfig, defaultMatcherViewportConfig, defaultProfileComparisonConfig, defaultProfileData, defaultSchedulerEvents, defaultSpiderConfig, defaultSpiderDatasets, defaultTraitVisualNodes, defaultUserHomeConfig, defsF, defsLG, defsRG, demoPolygonColors, innerProgressDefaultColors, innerProgressPinkColors, innerProgressPurpleColors, innerProgressWhiteColors, mainswiperDefaultOptions, progressDefaultColors, progressWhiteColors, prospects, recurringOptions, thumbsSwiperDefaultOptions };
2959
+ export { AbstractCacheService, AgendaComponent, AlertPopupComponent, AlertStatusFields, ArraySortPipe, AutoDelegationEventTypes, AutoDelegationEventValue, 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, LibMessageModalComponent, LibProfileComparisonComponent, LibSchedulerComponent, LibStatusBarComponent, LibStatusBarModule, 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, 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 };
2945
2960
  export type { ChatHeadData, ChatHeadState, CircleProgressConfig, ClientChatHeadData, ClientChatHeadModel, ClientInnerState, DatePrepDesignation, IAgendaDay, IAgendaEvent, IAttachment, IAutoDelegationData, IAutoDelegationEvent, IAutoDelegationModalData, IAutoDelegationPreferences, ICalendarAccount, ICalendarAccountTheme, IChartData, IChatIdentifier, IChatMeta, IChatSuggestion, ICircleData, IClientDashboardInputs, IClientPageProps, IClientProfile, IClientViewportConfig, IColorChangeNotification, IConversationFlag, IDashboardMatchRequest, IDashboardMatcherProfile, IDataset, IDateMessages, IDatePrepInfo, IDatePrepItem, IDefsF, IDefsLG, IDefsRG, IEvent, IEventFormOutput, IEventTime, IGroupWrapper, IHandoffPanelInputs, IHomeDashboardInputs, IInnerPartialCircleProgressColors, ILibClientMatchOverview, IMatcherDashboardInputs, IMatcherPageProps, IMatcherProfile, IMatcherTabConfig, IMatcherViewportConfig, IMessage, IPartialCircleProgressColors, IPolygonColor, IPreferenceItem, IProfileAttribute, IProfileComparisonData, IProfileComparisonInputs, IProspect, IProspectData, IRecurringEvent, IRecurringEventException, IRecurringPattern, IScheduleSlot, ISchedulerAction, ISchedulerEvent, ISchedulerEventSlots, ISchedulerEventSuggestion, ISchedulerSuggestionProfile, ISpiderChartAttribute, ISpiderChartConfig, ITabConfig, ITabWrapper, IVisualManagerModalData, IVisualManagerModalEvent, IVisualManagerModalModalData, ProgressDecision, ProgressFacts, StandardChatHeadModel, StoredRule, TabNode };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naniteninja/dashboard-components-lib",
3
- "version": "2.1.29",
3
+ "version": "2.1.31",
4
4
  "author": "naniteninja",
5
5
  "repository": {
6
6
  "type": "git"