@naniteninja/dashboard-components-lib 2.1.59 → 2.1.60

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, InjectionToken } from '@angular/core';
2
+ import { TemplateRef, OnInit, AfterViewInit, ElementRef, EventEmitter, ChangeDetectorRef, PipeTransform, ModuleWithProviders, OnDestroy, OnChanges, SimpleChanges, Renderer2, ViewContainerRef, NgZone, QueryList, InjectionToken } from '@angular/core';
3
3
  import * as i6 from '@naniteninja/ionic-lib';
4
4
  import { LibMenuItem, LocationModel, SelectOption, ImageModel, PopupModalService, BaseComponent, ILocationSearchResult, EmojiPickerConfig, InputFieldComponent, Profile } from '@naniteninja/ionic-lib';
5
5
  import * as rxjs from 'rxjs';
@@ -658,6 +658,7 @@ interface IHomeDashboardInputs {
658
658
  mainSwiperHeight?: string;
659
659
  subMainSwiperHeight?: string;
660
660
  showRejectMenu?: boolean;
661
+ stickyTabBar?: boolean;
661
662
  }
662
663
 
663
664
  interface IInnerPartialCircleProgressColors {
@@ -1399,6 +1400,7 @@ declare class ChatComponent implements OnInit, AfterViewInit, OnChanges, OnDestr
1399
1400
  private onBlurPickerSpace;
1400
1401
  private setupEmojiPickerClickListener;
1401
1402
  private removeEmojiPickerClickListener;
1403
+ focus(): void;
1402
1404
  static ɵfac: i0.ɵɵFactoryDeclaration<ChatComponent, never>;
1403
1405
  static ɵcmp: i0.ɵɵComponentDeclaration<ChatComponent, "lib-chat", never, { "default": { "alias": "default"; "required": false; }; "responseTime": { "alias": "responseTime"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "emojiPickerConfig": { "alias": "emojiPickerConfig"; "required": false; }; "includeGifMessage": { "alias": "includeGifMessage"; "required": false; }; "includeTime": { "alias": "includeTime"; "required": false; }; "dateMessages": { "alias": "dateMessages"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "enableGifPicker": { "alias": "enableGifPicker"; "required": false; }; "prospectJoinDate": { "alias": "prospectJoinDate"; "required": false; }; "showInitBubble": { "alias": "showInitBubble"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "hasShadow": { "alias": "hasShadow"; "required": false; }; }, { "sendMessage": "sendMessage"; "getMessages": "getMessages"; }, never, never, false, never>;
1404
1406
  }
@@ -1485,6 +1487,28 @@ declare class CircleProgressModule {
1485
1487
 
1486
1488
  declare const MATCHER_STATUSES: IStatus[];
1487
1489
 
1490
+ declare class MatcherStatusesComponent {
1491
+ adsTemplate?: TemplateRef<HTMLElement>;
1492
+ status: MatcherStatuses;
1493
+ hideStatuses: boolean;
1494
+ messages: IMessage[];
1495
+ inputValue?: string;
1496
+ maxLength: number;
1497
+ responseTime?: string;
1498
+ disabled: boolean;
1499
+ prospectJoinDate: Date;
1500
+ getMessages: EventEmitter<boolean>;
1501
+ sendMessage: EventEmitter<IMessage>;
1502
+ chatComponent: ChatComponent;
1503
+ MATCHER_STATUSES: typeof MATCHER_STATUSES;
1504
+ constructor();
1505
+ handleGetMessages(event: boolean): void;
1506
+ handleSendMessage(event: IMessage): void;
1507
+ focus(): void;
1508
+ static ɵfac: i0.ɵɵFactoryDeclaration<MatcherStatusesComponent, never>;
1509
+ 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; }; }, { "getMessages": "getMessages"; "sendMessage": "sendMessage"; }, never, never, true, never>;
1510
+ }
1511
+
1488
1512
  /** Tab / chat-head item used by the swipeable dashboard tabs (typically a client match overview). */
1489
1513
  type IDashboardTabBarItem = ILibClientMatchOverview;
1490
1514
  interface ITabGroup {
@@ -1553,6 +1577,7 @@ declare class LibDashboardSwipeableTabsComponent implements AfterViewInit, OnCha
1553
1577
  showPrefRejectButton: boolean;
1554
1578
  menuPosition: MenuPosition;
1555
1579
  role: 'client' | 'matcher';
1580
+ stickyTabBar: boolean;
1556
1581
  repositionModeChange: EventEmitter<boolean>;
1557
1582
  activeIndexChange: EventEmitter<number>;
1558
1583
  itemClicked: EventEmitter<_naniteninja_dashboard_components_lib.ILibClientMatchOverview>;
@@ -1803,7 +1828,7 @@ declare class LibDashboardSwipeableTabsComponent implements AfterViewInit, OnCha
1803
1828
  private initSwiperInstances;
1804
1829
  private initMainSwiper;
1805
1830
  static ɵfac: i0.ɵɵFactoryDeclaration<LibDashboardSwipeableTabsComponent, never>;
1806
- 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>;
1831
+ 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; }; "stickyTabBar": { "alias": "stickyTabBar"; "required": false; }; }, { "repositionModeChange": "repositionModeChange"; "activeIndexChange": "activeIndexChange"; "itemClicked": "itemClicked"; "expandedIdChange": "expandedIdChange"; }, ["thumbSlides"], ["[thumb-slides]", "[main-slides]"], true, never>;
1807
1832
  }
1808
1833
 
1809
1834
  declare class LibClientHomeComponent implements OnInit, OnDestroy {
@@ -1812,6 +1837,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
1812
1837
  menuPosition: MenuPosition;
1813
1838
  role: 'client' | 'matcher';
1814
1839
  swipeableTabs: LibDashboardSwipeableTabsComponent;
1840
+ matcherStatusesComponents: QueryList<MatcherStatusesComponent>;
1815
1841
  activeIndexChange: EventEmitter<number>;
1816
1842
  addMessage: EventEmitter<{
1817
1843
  message: IMessage;
@@ -1856,6 +1882,7 @@ declare class LibClientHomeComponent implements OnInit, OnDestroy {
1856
1882
  updateTraitVisual(): void;
1857
1883
  private generateTraitVisualNodes;
1858
1884
  private generateDefaultTraitVisualNodes;
1885
+ focus(): void;
1859
1886
  static ɵfac: i0.ɵɵFactoryDeclaration<LibClientHomeComponent, never>;
1860
1887
  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>;
1861
1888
  }
@@ -2024,8 +2051,6 @@ declare class LibClientMatchOverviewComponent implements OnInit, OnDestroy, Afte
2024
2051
 
2025
2052
  declare class LibHandoffPanelComponent implements OnInit, OnChanges {
2026
2053
  private cdr;
2027
- private readonly _renderer;
2028
- private readonly _document;
2029
2054
  config: IHandoffPanelInputs;
2030
2055
  addMessage: EventEmitter<IMessage>;
2031
2056
  scheduleSlotToggle: EventEmitter<IScheduleSlot>;
@@ -2065,31 +2090,10 @@ declare class LibHandoffPanelComponent implements OnInit, OnChanges {
2065
2090
  onTouchEnd(event: TouchEvent): void;
2066
2091
  private handleSwipe;
2067
2092
  private animateSwipe;
2068
- private _injectScrollbarStyles;
2069
2093
  static ɵfac: i0.ɵɵFactoryDeclaration<LibHandoffPanelComponent, never>;
2070
2094
  static ɵcmp: i0.ɵɵComponentDeclaration<LibHandoffPanelComponent, "lib-handoff-panel", never, { "config": { "alias": "config"; "required": false; }; }, { "addMessage": "addMessage"; "scheduleSlotToggle": "scheduleSlotToggle"; "activeTabIndexChange": "activeTabIndexChange"; "prospectSelect": "prospectSelect"; "swipeNext": "swipeNext"; "swipePrev": "swipePrev"; }, never, never, true, never>;
2071
2095
  }
2072
2096
 
2073
- declare class MatcherStatusesComponent {
2074
- adsTemplate?: TemplateRef<HTMLElement>;
2075
- status: MatcherStatuses;
2076
- hideStatuses: boolean;
2077
- messages: IMessage[];
2078
- inputValue?: string;
2079
- maxLength: number;
2080
- responseTime?: string;
2081
- disabled: boolean;
2082
- prospectJoinDate: Date;
2083
- getMessages: EventEmitter<boolean>;
2084
- sendMessage: EventEmitter<IMessage>;
2085
- MATCHER_STATUSES: typeof MATCHER_STATUSES;
2086
- constructor();
2087
- handleGetMessages(event: boolean): void;
2088
- handleSendMessage(event: IMessage): void;
2089
- static ɵfac: i0.ɵɵFactoryDeclaration<MatcherStatusesComponent, never>;
2090
- 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; }; }, { "getMessages": "getMessages"; "sendMessage": "sendMessage"; }, never, never, true, never>;
2091
- }
2092
-
2093
2097
  /** Ionic `ion-progress-bar` host (Stencil `el` + shadow root). */
2094
2098
  type IonProgressBarRef = {
2095
2099
  el?: HTMLElement & {
@@ -2130,6 +2134,7 @@ declare class SpiderChartComponent implements OnChanges, OnDestroy, AfterViewIni
2130
2134
  selectedDatasetIndexChange: EventEmitter<number>;
2131
2135
  isTooltipActive: boolean;
2132
2136
  isSelectorTooltipVisible: boolean;
2137
+ isSelectorTooltipVisibleChange: EventEmitter<boolean>;
2133
2138
  private isChartTooltipOpen;
2134
2139
  alertStatusFields: typeof AlertStatusFields;
2135
2140
  titleAlertPopup: string;
@@ -2166,7 +2171,7 @@ declare class SpiderChartComponent implements OnChanges, OnDestroy, AfterViewIni
2166
2171
  private updateDynamicGradients;
2167
2172
  private createRadarChart;
2168
2173
  static ɵfac: i0.ɵɵFactoryDeclaration<SpiderChartComponent, never>;
2169
- static ɵcmp: i0.ɵɵComponentDeclaration<SpiderChartComponent, "lib-spider-chart", never, { "datasets": { "alias": "datasets"; "required": false; }; "config": { "alias": "config"; "required": false; }; "polygon_colors": { "alias": "polygon_colors"; "required": false; }; "showChartInfo": { "alias": "showChartInfo"; "required": false; }; "selectedDatasetIndex": { "alias": "selectedDatasetIndex"; "required": false; }; }, { "tooltipActiveChange": "tooltipActiveChange"; "selectedDatasetIndexChange": "selectedDatasetIndexChange"; }, never, never, true, never>;
2174
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpiderChartComponent, "lib-spider-chart", never, { "datasets": { "alias": "datasets"; "required": false; }; "config": { "alias": "config"; "required": false; }; "polygon_colors": { "alias": "polygon_colors"; "required": false; }; "showChartInfo": { "alias": "showChartInfo"; "required": false; }; "selectedDatasetIndex": { "alias": "selectedDatasetIndex"; "required": false; }; "isSelectorTooltipVisible": { "alias": "isSelectorTooltipVisible"; "required": false; }; }, { "tooltipActiveChange": "tooltipActiveChange"; "selectedDatasetIndexChange": "selectedDatasetIndexChange"; "isSelectorTooltipVisibleChange": "isSelectorTooltipVisibleChange"; }, never, never, true, never>;
2170
2175
  }
2171
2176
 
2172
2177
  declare class LibVisualManagerModalComponent implements OnInit, AfterViewInit {
@@ -2392,6 +2397,7 @@ declare class ClientViewportComponent implements OnInit, OnChanges, OnDestroy, A
2392
2397
  spiderDefaultColorLabel: string | null;
2393
2398
  spiderColorPickerOpenId: string | null;
2394
2399
  isSpiderTooltipActive: boolean;
2400
+ isSpiderSelectorTooltipVisible: boolean;
2395
2401
  onSpiderTooltipChange(isActive: boolean): void;
2396
2402
  handoffChatConfig: IHandoffPanelInputs;
2397
2403
  handoffSchedulerConfig: IHandoffPanelInputs;
@@ -2656,6 +2662,7 @@ declare class MatcherViewportComponent implements OnInit, OnDestroy, OnChanges,
2656
2662
  allSpiderColors: IPolygonColor[];
2657
2663
  spiderColorPickerOpenId: string | null;
2658
2664
  spiderChartComponent: SpiderChartComponent | undefined;
2665
+ clientHomeComponent: LibClientHomeComponent;
2659
2666
  profileData: Profile | undefined;
2660
2667
  profileComparisonConfig: IProfileConfig;
2661
2668
  traitVisualVisible: boolean;
@@ -2671,6 +2678,7 @@ declare class MatcherViewportComponent implements OnInit, OnDestroy, OnChanges,
2671
2678
  activeIndexChange: EventEmitter<number>;
2672
2679
  activePageChange: EventEmitter<number>;
2673
2680
  private tabStripRef;
2681
+ private tabStripContentRef;
2674
2682
  prefMatchManagerTemplate: TemplateRef<unknown>;
2675
2683
  schedulerSwiperEl: ElementRef<HTMLElement>;
2676
2684
  handoffSwiperEl: ElementRef<HTMLElement>;
@@ -2704,6 +2712,7 @@ declare class MatcherViewportComponent implements OnInit, OnDestroy, OnChanges,
2704
2712
  activePage: number;
2705
2713
  spiderActiveIndex: number;
2706
2714
  isSpiderTooltipActive: boolean;
2715
+ isSpiderSelectorTooltipVisible: boolean;
2707
2716
  onSpiderTooltipChange(isActive: boolean): void;
2708
2717
  onClosedAlert(data: {
2709
2718
  event: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naniteninja/dashboard-components-lib",
3
- "version": "2.1.59",
3
+ "version": "2.1.60",
4
4
  "author": "naniteninja",
5
5
  "repository": {
6
6
  "type": "git"