@naniteninja/dashboard-components-lib 2.2.1 → 2.3.4
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
|
@@ -15,7 +15,7 @@ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
|
15
15
|
import * as i5 from '@angular/forms';
|
|
16
16
|
import { FormControl, FormGroup, FormBuilder } from '@angular/forms';
|
|
17
17
|
import * as _naniteninja_cyrano_contracts from '@naniteninja/cyrano-contracts';
|
|
18
|
-
import { INNER_CIRCLE_STATE, ILibClientMatchOverview as ILibClientMatchOverview$1, IClientFields, IDashboardMatchRequest, IChatTraits, IMessage, DatePrepDesignation, EditRecurringEventOptions, EventTypes, RecurringTypes, ICalendarEvent, ISchedulerEventSuggestion, AccountTypes, LLMPreferences, COUNTER_FLAG_BASE, IConversationFlag, IProspectData as IProspectData$1, ISchedulerEvent as ISchedulerEvent$1, MatcherStatuses, IRecurringEventException, ICalendarAccount, IChatSuggestion, ISendOptionsMessage, SenderTypes, CONVERSATION_FLAG,
|
|
18
|
+
import { INNER_CIRCLE_STATE, ILibClientMatchOverview as ILibClientMatchOverview$1, IClientFields, IDashboardMatchRequest, IChatTraits, IMessage, DatePrepDesignation, EditRecurringEventOptions, EventTypes, RecurringTypes, ICalendarEvent, ISchedulerEventSuggestion, AccountTypes, LLMPreferences, COUNTER_FLAG_BASE, IConversationFlag, IProspectData as IProspectData$1, IMeetupIndicator, ISchedulerEvent as ISchedulerEvent$1, MatcherStatuses, IRecurringEventException, ICalendarAccount, IChatSuggestion, ISendOptionsMessage, SenderTypes, CONVERSATION_FLAG, IChatMeta } from '@naniteninja/cyrano-contracts';
|
|
19
19
|
import { Frequency, Weekday } from 'rrule';
|
|
20
20
|
import { Frequency as Frequency$1 } from 'rrule/dist/esm/types';
|
|
21
21
|
import * as i12 from '@angular/cdk/overlay';
|
|
@@ -810,6 +810,7 @@ interface IProgressFacts {
|
|
|
810
810
|
interface IProspectData extends IProspectData$1 {
|
|
811
811
|
/** @client-only — Runtime UI state; not present on wire payloads. */
|
|
812
812
|
llmPreferenceLoading$?: BehaviorSubject<string[]>;
|
|
813
|
+
meetupIndicator?: IMeetupIndicator;
|
|
813
814
|
}
|
|
814
815
|
|
|
815
816
|
interface IRecurringEvent {
|
|
@@ -1314,9 +1315,10 @@ declare enum MessageOption {
|
|
|
1314
1315
|
SendImmediately = "Send immediately",
|
|
1315
1316
|
SendAfter = "Send after"
|
|
1316
1317
|
}
|
|
1317
|
-
declare class LibMessageModalComponent {
|
|
1318
|
+
declare class LibMessageModalComponent implements OnInit {
|
|
1318
1319
|
closeModal: EventEmitter<void>;
|
|
1319
1320
|
send: EventEmitter<ISendOptionsMessage>;
|
|
1321
|
+
longPressChanged: EventEmitter<boolean>;
|
|
1320
1322
|
MessageOption: typeof MessageOption;
|
|
1321
1323
|
selectedOption: MessageOption;
|
|
1322
1324
|
defaultTime: string;
|
|
@@ -1335,6 +1337,7 @@ declare class LibMessageModalComponent {
|
|
|
1335
1337
|
value: MessageOption;
|
|
1336
1338
|
label: string;
|
|
1337
1339
|
}[];
|
|
1340
|
+
ngOnInit(): void;
|
|
1338
1341
|
onClose(): void;
|
|
1339
1342
|
onTimeInputClick(): void;
|
|
1340
1343
|
toggleLongPress(): void;
|
|
@@ -1354,7 +1357,7 @@ declare class LibMessageModalComponent {
|
|
|
1354
1357
|
executeSend(): void;
|
|
1355
1358
|
onSend(): void;
|
|
1356
1359
|
static ɵfac: i0.ɵɵFactoryDeclaration<LibMessageModalComponent, never>;
|
|
1357
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LibMessageModalComponent, "lib-message-modal", never, {}, { "closeModal": "closeModal"; "send": "send"; }, never, never, true, never>;
|
|
1360
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LibMessageModalComponent, "lib-message-modal", never, {}, { "closeModal": "closeModal"; "send": "send"; "longPressChanged": "longPressChanged"; }, never, never, true, never>;
|
|
1358
1361
|
}
|
|
1359
1362
|
|
|
1360
1363
|
interface IChatHost {
|
|
@@ -1540,6 +1543,13 @@ declare class ChatComponent implements OnInit, AfterViewInit, OnChanges, OnDestr
|
|
|
1540
1543
|
onKeyDown(event: KeyboardEvent): void;
|
|
1541
1544
|
onLongPress(): void;
|
|
1542
1545
|
onBlurPickerSpace(): void;
|
|
1546
|
+
isRedactedMessage(message: IMessage): boolean;
|
|
1547
|
+
getMessageSegments(text: string): {
|
|
1548
|
+
text: string;
|
|
1549
|
+
redacted: boolean;
|
|
1550
|
+
}[];
|
|
1551
|
+
isDelayedMessage(message: IMessage): boolean;
|
|
1552
|
+
onEditDelayedMessage(message: IMessage): void;
|
|
1543
1553
|
focus(): void;
|
|
1544
1554
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChatComponent, never>;
|
|
1545
1555
|
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; }; "initBubbleText": { "alias": "initBubbleText"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "directSend": { "alias": "directSend"; "required": false; }; "hasShadow": { "alias": "hasShadow"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "inputPlaceholder": { "alias": "inputPlaceholder"; "required": false; }; }, { "sendMessage": "sendMessage"; "getMessages": "getMessages"; }, never, never, false, never>;
|
|
@@ -2347,6 +2357,10 @@ declare class MatcherStatusesComponent implements OnChanges, OnDestroy {
|
|
|
2347
2357
|
readonly state: MatcherStatusesStateService;
|
|
2348
2358
|
private readonly cdr;
|
|
2349
2359
|
MATCHER_STATUS_LOOKUP: typeof MATCHER_STATUS_LOOKUP;
|
|
2360
|
+
indicatorDismissed: boolean;
|
|
2361
|
+
defaultLocationText: string;
|
|
2362
|
+
defaultLocationShort: string;
|
|
2363
|
+
defaultTimeText: string;
|
|
2350
2364
|
get activePriorityText(): string;
|
|
2351
2365
|
get activeLocationText(): string;
|
|
2352
2366
|
get activeLocationShort(): string;
|
|
@@ -2370,6 +2384,8 @@ declare class MatcherStatusesComponent implements OnChanges, OnDestroy {
|
|
|
2370
2384
|
onDismissLocation(): void;
|
|
2371
2385
|
onDismissTime(): void;
|
|
2372
2386
|
onSuggestionClick(text: string): void;
|
|
2387
|
+
onIndicatorCheckChange(event: Event): void;
|
|
2388
|
+
private buildDefaultLocationTime;
|
|
2373
2389
|
handleGetMessages(event: boolean): void;
|
|
2374
2390
|
handleSendMessage(event: IMessage): void;
|
|
2375
2391
|
focus(): void;
|
|
@@ -3762,6 +3778,7 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
|
|
|
3762
3778
|
datePrepSwiperEl: ElementRef<HTMLElement>;
|
|
3763
3779
|
suggestedSwiperEl: ElementRef<HTMLElement>;
|
|
3764
3780
|
profileSwiperEl: ElementRef<HTMLElement>;
|
|
3781
|
+
private contentScrollEl?;
|
|
3765
3782
|
prefMatchManagerViewRef: EmbeddedViewRef<IEmptyTemplateContext> | null;
|
|
3766
3783
|
renderer: Renderer2;
|
|
3767
3784
|
viewContainerRef: ViewContainerRef;
|
|
@@ -3808,6 +3825,10 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
|
|
|
3808
3825
|
};
|
|
3809
3826
|
hasSuggestions: boolean;
|
|
3810
3827
|
private traitVisualResizeDebounceTimer?;
|
|
3828
|
+
private contentScrollWheelHandler;
|
|
3829
|
+
private contentScrollTouchStartY;
|
|
3830
|
+
private contentScrollTouchStartHandler;
|
|
3831
|
+
private contentScrollTouchMoveHandler;
|
|
3811
3832
|
get userProfileImageSrc(): string;
|
|
3812
3833
|
protected get tabStripRef(): ElementRef<HTMLElement> | undefined;
|
|
3813
3834
|
ngOnInit(): void;
|
|
@@ -3865,6 +3886,8 @@ declare class MatcherViewportComponent extends BaseViewportComponent implements
|
|
|
3865
3886
|
private applyConfig;
|
|
3866
3887
|
private setActivePage;
|
|
3867
3888
|
private ensureServicesAttached;
|
|
3889
|
+
private isChatTarget;
|
|
3890
|
+
private attachContentScrollWheelDelegate;
|
|
3868
3891
|
static ɵfac: i0.ɵɵFactoryDeclaration<MatcherViewportComponent, never>;
|
|
3869
3892
|
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>;
|
|
3870
3893
|
}
|