@naniteninja/dashboard-components-lib 2.1.30 → 2.1.32

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
@@ -1499,6 +1499,7 @@ declare class LibDashboardSwipeableTabsComponent implements AfterViewInit, OnCha
1499
1499
  } | null;
1500
1500
  showPrefRejectButton: boolean;
1501
1501
  menuPosition: MenuPosition;
1502
+ role: 'client' | 'matcher';
1502
1503
  repositionModeChange: EventEmitter<boolean>;
1503
1504
  activeIndexChange: EventEmitter<number>;
1504
1505
  itemClicked: EventEmitter<any>;
@@ -1589,6 +1590,7 @@ declare class LibDashboardSwipeableTabsComponent implements AfterViewInit, OnCha
1589
1590
  private resizeObserver;
1590
1591
  private intersectionObserver;
1591
1592
  private isBarIntersecting;
1593
+ private barIntersectionRatio;
1592
1594
  private rafId;
1593
1595
  expandedItemId: string | null;
1594
1596
  expandedItemLeft: number;
@@ -1738,13 +1740,14 @@ declare class LibDashboardSwipeableTabsComponent implements AfterViewInit, OnCha
1738
1740
  private initSwiperInstances;
1739
1741
  private initMainSwiper;
1740
1742
  static ɵfac: i0.ɵɵFactoryDeclaration<LibDashboardSwipeableTabsComponent, never>;
1741
- static ɵcmp: i0.ɵɵComponentDeclaration<LibDashboardSwipeableTabsComponent, "lib-dashboard-swipeable-tabs", never, { "thumbsSwiperOptions": { "alias": "thumbsSwiperOptions"; "required": false; }; "mainSwiperOptions": { "alias": "mainSwiperOptions"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "bottomThumbs": { "alias": "bottomThumbs"; "required": false; }; "slideContentMaxHeight": { "alias": "slideContentMaxHeight"; "required": false; }; "mainSwiperHeight": { "alias": "mainSwiperHeight"; "required": false; }; "subMainSwiperHeight": { "alias": "subMainSwiperHeight"; "required": false; }; "thumbsSwiperHeight": { "alias": "thumbsSwiperHeight"; "required": false; }; "generalSwiperHeight": { "alias": "generalSwiperHeight"; "required": false; }; "enableGrouping": { "alias": "enableGrouping"; "required": false; }; "enableDragAndDrop": { "alias": "enableDragAndDrop"; "required": false; }; "enableTabBarScrollDrag": { "alias": "enableTabBarScrollDrag"; "required": false; }; "items": { "alias": "items"; "required": false; }; "thumbTemplate": { "alias": "thumbTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "groupingAdapter": { "alias": "groupingAdapter"; "required": false; }; "showPrefRejectButton": { "alias": "showPrefRejectButton"; "required": false; }; "menuPosition": { "alias": "menuPosition"; "required": false; }; }, { "repositionModeChange": "repositionModeChange"; "activeIndexChange": "activeIndexChange"; "itemClicked": "itemClicked"; "expandedIdChange": "expandedIdChange"; }, ["thumbSlides"], ["[thumb-slides]", "[main-slides]"], true, never>;
1743
+ static ɵcmp: i0.ɵɵComponentDeclaration<LibDashboardSwipeableTabsComponent, "lib-dashboard-swipeable-tabs", never, { "thumbsSwiperOptions": { "alias": "thumbsSwiperOptions"; "required": false; }; "mainSwiperOptions": { "alias": "mainSwiperOptions"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; "bottomThumbs": { "alias": "bottomThumbs"; "required": false; }; "slideContentMaxHeight": { "alias": "slideContentMaxHeight"; "required": false; }; "mainSwiperHeight": { "alias": "mainSwiperHeight"; "required": false; }; "subMainSwiperHeight": { "alias": "subMainSwiperHeight"; "required": false; }; "thumbsSwiperHeight": { "alias": "thumbsSwiperHeight"; "required": false; }; "generalSwiperHeight": { "alias": "generalSwiperHeight"; "required": false; }; "enableGrouping": { "alias": "enableGrouping"; "required": false; }; "enableDragAndDrop": { "alias": "enableDragAndDrop"; "required": false; }; "enableTabBarScrollDrag": { "alias": "enableTabBarScrollDrag"; "required": false; }; "items": { "alias": "items"; "required": false; }; "thumbTemplate": { "alias": "thumbTemplate"; "required": false; }; "contentTemplate": { "alias": "contentTemplate"; "required": false; }; "groupingAdapter": { "alias": "groupingAdapter"; "required": false; }; "showPrefRejectButton": { "alias": "showPrefRejectButton"; "required": false; }; "menuPosition": { "alias": "menuPosition"; "required": false; }; "role": { "alias": "role"; "required": false; }; }, { "repositionModeChange": "repositionModeChange"; "activeIndexChange": "activeIndexChange"; "itemClicked": "itemClicked"; "expandedIdChange": "expandedIdChange"; }, ["thumbSlides"], ["[thumb-slides]", "[main-slides]"], true, never>;
1742
1744
  }
1743
1745
 
1744
1746
  declare class LibClientHomeComponent implements OnInit, OnDestroy {
1745
1747
  private cdr;
1746
1748
  config: IHomeDashboardInputs;
1747
1749
  menuPosition: MenuPosition;
1750
+ role: 'client' | 'matcher';
1748
1751
  swipeableTabs: LibDashboardSwipeableTabsComponent;
1749
1752
  activeIndexChange: EventEmitter<number>;
1750
1753
  addMessage: EventEmitter<{
@@ -1766,7 +1769,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
1766
1769
  };
1767
1770
  private componentDestroyed$;
1768
1771
  MATCHER_STATUSES: typeof MATCHER_STATUSES;
1769
- readonly defaultNumberOfItems: any[];
1772
+ get defaultNumberOfItems(): any[];
1770
1773
  groupingAdapter: (item: ILibClientMatchOverview, mode: TabGroupingMode) => {
1771
1774
  id: string;
1772
1775
  title: string;
@@ -1791,7 +1794,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
1791
1794
  private generateTraitVisualNodes;
1792
1795
  private generateDefaultTraitVisualNodes;
1793
1796
  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>;
1797
+ 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
1798
  }
1796
1799
 
1797
1800
  type ChatHeadState = 'white' | 'red' | 'green';
@@ -1888,6 +1891,7 @@ declare class LibClientMatchOverviewComponent implements OnInit, OnDestroy, Afte
1888
1891
  isGrouped: boolean;
1889
1892
  showProgressUnderHead: boolean;
1890
1893
  showRejectMenu: boolean;
1894
+ role: 'client' | 'matcher';
1891
1895
  sendConversationFlag: EventEmitter<IConversationFlag>;
1892
1896
  repositionRequest: EventEmitter<void>;
1893
1897
  rejectRequest: EventEmitter<void>;
@@ -1952,7 +1956,7 @@ declare class LibClientMatchOverviewComponent implements OnInit, OnDestroy, Afte
1952
1956
  private setInnerCircleState;
1953
1957
  private buildCircleOpts;
1954
1958
  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>;
1959
+ 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
1960
  }
1957
1961
 
1958
1962
  declare class LibHandoffPanelComponent implements OnInit {
@@ -2399,8 +2403,9 @@ declare class ClientViewportComponent implements OnInit, OnChanges, OnDestroy, A
2399
2403
  private updateRouteForPage;
2400
2404
  private updateUrlWithPageSegment;
2401
2405
  private parseClientPage;
2402
- getClientAttributes(match: any): string[];
2403
- getProspectAttributes(match: any): string[];
2406
+ getDemoClientAttributes(): string[];
2407
+ getPrimaryAttributes(match: any): string[];
2408
+ getSecondaryAttributes(match: any): string[];
2404
2409
  getTabConfig(tabKey: string): ITabConfig | undefined;
2405
2410
  private updateViewportConfig;
2406
2411
  private subscribeToClientMatches;
@@ -2704,8 +2709,8 @@ declare class MatcherViewportComponent implements OnInit, OnDestroy, OnChanges {
2704
2709
  private extractPageFromUrl;
2705
2710
  private updateUrlWithPageSegment;
2706
2711
  private parseMatcherPage;
2707
- getClientAttributes(match: any): string[];
2708
- getProspectAttributes(match: any): string[];
2712
+ getPrimaryAttributes(match: any): string[];
2713
+ getSecondaryAttributes(match: any): string[];
2709
2714
  getPageConfig(index: number): IMatcherPageProps | undefined;
2710
2715
  getTabConfig(tabKey: string): IMatcherTabConfig | undefined;
2711
2716
  onInfoIconClick(event: Event, tabIndex: number): void;
@@ -2789,7 +2794,17 @@ declare const prospects: ({
2789
2794
 
2790
2795
  declare const configSpider: ISpiderChartConfig;
2791
2796
 
2797
+ declare const DEMO_CLIENT: {
2798
+ name: string;
2799
+ src: string;
2800
+ };
2801
+ declare const DEMO_MATCHER: {
2802
+ name: string;
2803
+ src: string;
2804
+ };
2792
2805
  declare const defaultClientMatches: ILibClientMatchOverview[];
2806
+ declare const defaultClientMatchesForClient: ILibClientMatchOverview[];
2807
+ declare const defaultClientMatchesForMatcher: ILibClientMatchOverview[];
2793
2808
  declare const defaultSchedulerEvents: ISchedulerEvent[];
2794
2809
  declare const defaultSpiderDatasets: IDataset[];
2795
2810
  declare const defaultAgendaEvents: IAgendaEvent[];
@@ -2802,7 +2817,8 @@ declare const defaultProfileData: {
2802
2817
  progress: number;
2803
2818
  imageUrl: string;
2804
2819
  };
2805
- declare const defaultProfileComparisonConfig: IProfileConfig;
2820
+ declare const defaultProfileComparisonConfigForClient: IProfileConfig;
2821
+ declare const defaultProfileComparisonConfigForMatcher: IProfileConfig;
2806
2822
  declare const defaultUserHomeConfig: IHomeDashboardInputs;
2807
2823
  declare const defaultTraitVisualNodes: INodeData[];
2808
2824
  declare const defaultMatcherViewportConfig: IMatcherViewportConfig;
@@ -2941,5 +2957,5 @@ declare class StatusIconComponent {
2941
2957
  static ɵcmp: i0.ɵɵComponentDeclaration<StatusIconComponent, "lib-status-icon", never, { "type": { "alias": "type"; "required": true; }; }, {}, never, never, true, never>;
2942
2958
  }
2943
2959
 
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 };
2960
+ 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
2961
  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.30",
3
+ "version": "2.1.32",
4
4
  "author": "naniteninja",
5
5
  "repository": {
6
6
  "type": "git"