@resolveio/client-lib-core 21.5.19 → 21.5.21
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/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import * as rxjs from 'rxjs';
|
|
|
2
2
|
import { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';
|
|
3
3
|
import { IStepOption, TourService } from 'ngx-ui-tour-core';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
|
-
import { OnDestroy, OnInit, AfterViewInit, ElementRef, OnChanges, SimpleChanges, EventEmitter, QueryList, ChangeDetectorRef, PipeTransform,
|
|
5
|
+
import { OnDestroy, OnInit, AfterViewInit, ElementRef, OnChanges, SimpleChanges, EventEmitter, Renderer2, NgZone, QueryList, ChangeDetectorRef, PipeTransform, ModuleWithProviders, TemplateRef, AfterContentInit } from '@angular/core';
|
|
6
6
|
import { DeviceDetectorService } from 'ngx-device-detector';
|
|
7
7
|
import * as i3 from '@angular/forms';
|
|
8
8
|
import { FormControl, FormGroup, AbstractControl, FormBuilder, FormGroupDirective } from '@angular/forms';
|
|
@@ -790,6 +790,7 @@ declare class CoreComponent extends BaseComponent implements OnInit, AfterViewIn
|
|
|
790
790
|
windowSizeHeight: number;
|
|
791
791
|
windowSizeWidth: number;
|
|
792
792
|
navbarMainHeight: number;
|
|
793
|
+
navbarModuleHeight: number;
|
|
793
794
|
statusHeight: number;
|
|
794
795
|
connectedHeight: number;
|
|
795
796
|
isDevice: boolean;
|
|
@@ -814,9 +815,12 @@ declare class CoreComponent extends BaseComponent implements OnInit, AfterViewIn
|
|
|
814
815
|
orientation: string;
|
|
815
816
|
digitalSign: boolean;
|
|
816
817
|
savingTourCompletion: boolean;
|
|
818
|
+
private aiDebugEnabled;
|
|
817
819
|
private navbarResizeObserver;
|
|
818
820
|
private readonly handleVisualViewportChange;
|
|
819
821
|
constructor(_deviceDet: DeviceDetectorService, _ds: DialogService, _resizeService: ResizeService, _services: ProviderService, _offline: OfflineManagerService, _storage: LocalStorageService, _auth: AuthService, _aps: AuthPermissionService, _featureGates: FeatureGateService, _tourManager: CoreTourService);
|
|
822
|
+
private refreshAiDebugFlag;
|
|
823
|
+
private aiDebugLog;
|
|
820
824
|
ngOnInit(): void;
|
|
821
825
|
ngAfterViewInit(): void;
|
|
822
826
|
ngOnDestroy(): void;
|
|
@@ -1131,6 +1135,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1131
1135
|
messageScroll?: ElementRef<HTMLDivElement>;
|
|
1132
1136
|
conversations: AiTerminalConversationModel[];
|
|
1133
1137
|
messages: AiTerminalMessageModel[];
|
|
1138
|
+
visibleMessages: AiTerminalMessageModel[];
|
|
1134
1139
|
activeConversationId: string;
|
|
1135
1140
|
activeConversation: AiTerminalConversationModel | null;
|
|
1136
1141
|
messageText: string;
|
|
@@ -1155,6 +1160,8 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1155
1160
|
isSubmittingIssueReport: boolean;
|
|
1156
1161
|
private messagePartsCache;
|
|
1157
1162
|
private messageMarkdownCache;
|
|
1163
|
+
private messageTablePresenceCache;
|
|
1164
|
+
private displayTableCache;
|
|
1158
1165
|
private messageContentOverrides;
|
|
1159
1166
|
private messageDisplayOverrides;
|
|
1160
1167
|
private supportTicketMap;
|
|
@@ -1187,8 +1194,13 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1187
1194
|
private pendingConversation;
|
|
1188
1195
|
private createConversationPromise;
|
|
1189
1196
|
private currencySymbol;
|
|
1197
|
+
private aiDebugEnabled;
|
|
1198
|
+
readonly timeZoneLabel: string;
|
|
1190
1199
|
constructor(terminal: AiTerminalService, services: ProviderService, pageRouter: AiPageRouterService, _pageFormAdapter: AiPageFormAdapterService, locale: string);
|
|
1191
1200
|
private get _services();
|
|
1201
|
+
private refreshDebugFlag;
|
|
1202
|
+
private debugNow;
|
|
1203
|
+
private debugLog;
|
|
1192
1204
|
ngOnInit(): void;
|
|
1193
1205
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1194
1206
|
ngOnDestroy(): void;
|
|
@@ -1204,6 +1216,9 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1204
1216
|
messageParts(message: AiTerminalMessageModel): AiTerminalMessagePart[];
|
|
1205
1217
|
messageMarkdown(message: AiTerminalMessageModel): string;
|
|
1206
1218
|
private clearMessageRenderCaches;
|
|
1219
|
+
private messageRenderCacheKey;
|
|
1220
|
+
private messageUpdatedAtKey;
|
|
1221
|
+
private updateVisibleMessages;
|
|
1207
1222
|
trackByMessagePart(index: number, part: AiTerminalMessagePart): string;
|
|
1208
1223
|
private markdownToHtml;
|
|
1209
1224
|
private formatInlineMarkdown;
|
|
@@ -1258,6 +1273,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1258
1273
|
private buildPageRouterContext;
|
|
1259
1274
|
private refreshMergedMessages;
|
|
1260
1275
|
private mergeMessages;
|
|
1276
|
+
private capMessages;
|
|
1261
1277
|
private syncLocalMessages;
|
|
1262
1278
|
private messageTimestamp;
|
|
1263
1279
|
private compareMessages;
|
|
@@ -1286,7 +1302,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1286
1302
|
displayTableForMessage(message: AiTerminalMessageModel): AiTerminalDisplayTable | null;
|
|
1287
1303
|
isTableCollapsed(message: AiTerminalMessageModel): boolean;
|
|
1288
1304
|
toggleTable(message: AiTerminalMessageModel): void;
|
|
1289
|
-
|
|
1305
|
+
private resolveTimeZoneLabel;
|
|
1290
1306
|
pendingProgress(message: AiTerminalMessageModel): string[] | null;
|
|
1291
1307
|
private resolvePendingElapsed;
|
|
1292
1308
|
private ensureMessageSubscription;
|
|
@@ -1335,6 +1351,7 @@ declare class AiTerminalComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
1335
1351
|
private buildExportFilename;
|
|
1336
1352
|
private shouldHideDisplayColumn;
|
|
1337
1353
|
private formatDisplayColumn;
|
|
1354
|
+
private hasMarkdownTable;
|
|
1338
1355
|
private containsMarkdownTable;
|
|
1339
1356
|
private stripMarkdownTables;
|
|
1340
1357
|
private addPromptFavorite;
|
|
@@ -1400,9 +1417,11 @@ type AiTerminalConfig = {
|
|
|
1400
1417
|
systemPrompt?: string;
|
|
1401
1418
|
[key: string]: unknown;
|
|
1402
1419
|
};
|
|
1403
|
-
declare class AiAssistantComponent implements OnChanges {
|
|
1420
|
+
declare class AiAssistantComponent implements OnChanges, OnDestroy {
|
|
1404
1421
|
private router;
|
|
1405
1422
|
private _account;
|
|
1423
|
+
private renderer;
|
|
1424
|
+
private ngZone;
|
|
1406
1425
|
idClient: string;
|
|
1407
1426
|
idApp: string;
|
|
1408
1427
|
title: string;
|
|
@@ -1428,8 +1447,14 @@ declare class AiAssistantComponent implements OnChanges {
|
|
|
1428
1447
|
private resizeStartWidth;
|
|
1429
1448
|
private suppressRailClick;
|
|
1430
1449
|
private resizeMoved;
|
|
1431
|
-
|
|
1450
|
+
private aiDebugEnabled;
|
|
1451
|
+
private detachResizeMoveListener;
|
|
1452
|
+
private detachResizeEndListener;
|
|
1453
|
+
constructor(router: Router, _account: AccountManagerService, renderer: Renderer2, ngZone: NgZone);
|
|
1454
|
+
private refreshAiDebugFlag;
|
|
1455
|
+
private debugLog;
|
|
1432
1456
|
ngOnChanges(changes: SimpleChanges): void;
|
|
1457
|
+
ngOnDestroy(): void;
|
|
1433
1458
|
private buildTerminalConfig;
|
|
1434
1459
|
closePanel(): void;
|
|
1435
1460
|
handleRailClick(event?: MouseEvent): void;
|
|
@@ -1442,8 +1467,11 @@ declare class AiAssistantComponent implements OnChanges {
|
|
|
1442
1467
|
handleBackdropClick(event: MouseEvent): void;
|
|
1443
1468
|
get panelWidthStyle(): string;
|
|
1444
1469
|
startResize(event: MouseEvent, lockMinToCurrent?: boolean): void;
|
|
1445
|
-
|
|
1446
|
-
|
|
1470
|
+
private bindResizeListeners;
|
|
1471
|
+
private unbindResizeListeners;
|
|
1472
|
+
private handleResizeMoveOutsideAngular;
|
|
1473
|
+
private handleResizeEndOutsideAngular;
|
|
1474
|
+
private finishResize;
|
|
1447
1475
|
private clampPanelWidth;
|
|
1448
1476
|
private defaultPanelWidth;
|
|
1449
1477
|
private resolveMaxWidth;
|
|
@@ -1660,6 +1688,7 @@ declare class CollapseTableComponent implements OnInit, OnChanges, AfterViewInit
|
|
|
1660
1688
|
collapseSize: number;
|
|
1661
1689
|
tableFixed: boolean;
|
|
1662
1690
|
headerFixed: boolean;
|
|
1691
|
+
stickyHeaders: boolean | string | null | undefined;
|
|
1663
1692
|
secondaryColor: boolean;
|
|
1664
1693
|
tertiaryColor: boolean;
|
|
1665
1694
|
windowSize: number;
|
|
@@ -1675,8 +1704,10 @@ declare class CollapseTableComponent implements OnInit, OnChanges, AfterViewInit
|
|
|
1675
1704
|
getCollapseClass(): string[];
|
|
1676
1705
|
getPrimaryColor(): string;
|
|
1677
1706
|
private updateStickyTopOffset;
|
|
1707
|
+
private isStickyHeadersEnabled;
|
|
1708
|
+
private toOptionalBoolean;
|
|
1678
1709
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseTableComponent, never>;
|
|
1679
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseTableComponent, "collapse-table", never, { "collapseSize": { "alias": "collapseSize"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "headerFixed": { "alias": "headerFixed"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; "tertiaryColor": { "alias": "tertiaryColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
1710
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseTableComponent, "collapse-table", never, { "collapseSize": { "alias": "collapseSize"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "headerFixed": { "alias": "headerFixed"; "required": false; }; "stickyHeaders": { "alias": "stickyHeaders"; "required": false; }; "secondaryColor": { "alias": "secondaryColor"; "required": false; }; "tertiaryColor": { "alias": "tertiaryColor"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
1680
1711
|
}
|
|
1681
1712
|
|
|
1682
1713
|
declare class CollapseTableModule {
|
|
@@ -2590,6 +2621,8 @@ declare class DatatableComponent extends BaseComponent implements OnChanges, Aft
|
|
|
2590
2621
|
searchDebounceMs: number;
|
|
2591
2622
|
IronBatchAssign: boolean;
|
|
2592
2623
|
tableFixed: boolean;
|
|
2624
|
+
headerFixed: boolean;
|
|
2625
|
+
stickyHeaders: boolean;
|
|
2593
2626
|
users: any[];
|
|
2594
2627
|
rowIdKey: string;
|
|
2595
2628
|
returnIdUrls: string[];
|
|
@@ -2692,7 +2725,7 @@ declare class DatatableComponent extends BaseComponent implements OnChanges, Aft
|
|
|
2692
2725
|
getSearchButtonLabel(): string;
|
|
2693
2726
|
typeOf(data: any): "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function";
|
|
2694
2727
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatatableComponent, never>;
|
|
2695
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DatatableComponent, "data-table", never, { "urlClick": { "alias": "urlClick"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "collapseSize": { "alias": "collapseSize"; "required": false; }; "searchTitle": { "alias": "searchTitle"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "entriesPerPageOptions": { "alias": "entriesPerPageOptions"; "required": false; }; "searchBarAutoSearch": { "alias": "searchBarAutoSearch"; "required": false; }; "searchDebounceMs": { "alias": "searchDebounceMs"; "required": false; }; "IronBatchAssign": { "alias": "IronBatchAssign"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "users": { "alias": "users"; "required": false; }; "rowIdKey": { "alias": "rowIdKey"; "required": false; }; "returnIdUrls": { "alias": "returnIdUrls"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showPaging": { "alias": "showPaging"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showEntriesControl": { "alias": "showEntriesControl"; "required": false; }; "showResultsSummary": { "alias": "showResultsSummary"; "required": false; }; "hideSearch": { "alias": "hideSearch"; "required": false; }; "hideFooter": { "alias": "hideFooter"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; }, { "onChangeTableData": "onChangeTableData"; "tableDataChange": "tableDataChange"; "cellAction": "cellAction"; "rowClick": "rowClick"; "rowSelected": "rowSelected"; "returnId": "returnId"; "onChangeRequested": "onChangeRequested"; "onChangeTankLevels": "onChangeTankLevels"; "onChangeCurrentRate": "onChangeCurrentRate"; "onChangeTankHistory": "onChangeTankHistory"; }, ["cellTemplateDirectives"], never, false, never>;
|
|
2728
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DatatableComponent, "data-table", never, { "urlClick": { "alias": "urlClick"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "collapseSize": { "alias": "collapseSize"; "required": false; }; "searchTitle": { "alias": "searchTitle"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "entriesPerPageOptions": { "alias": "entriesPerPageOptions"; "required": false; }; "searchBarAutoSearch": { "alias": "searchBarAutoSearch"; "required": false; }; "searchDebounceMs": { "alias": "searchDebounceMs"; "required": false; }; "IronBatchAssign": { "alias": "IronBatchAssign"; "required": false; }; "tableFixed": { "alias": "tableFixed"; "required": false; }; "headerFixed": { "alias": "headerFixed"; "required": false; }; "stickyHeaders": { "alias": "stickyHeaders"; "required": false; }; "users": { "alias": "users"; "required": false; }; "rowIdKey": { "alias": "rowIdKey"; "required": false; }; "returnIdUrls": { "alias": "returnIdUrls"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "showPaging": { "alias": "showPaging"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showEntriesControl": { "alias": "showEntriesControl"; "required": false; }; "showResultsSummary": { "alias": "showResultsSummary"; "required": false; }; "hideSearch": { "alias": "hideSearch"; "required": false; }; "hideFooter": { "alias": "hideFooter"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; }, { "onChangeTableData": "onChangeTableData"; "tableDataChange": "tableDataChange"; "cellAction": "cellAction"; "rowClick": "rowClick"; "rowSelected": "rowSelected"; "returnId": "returnId"; "onChangeRequested": "onChangeRequested"; "onChangeTankLevels": "onChangeTankLevels"; "onChangeCurrentRate": "onChangeCurrentRate"; "onChangeTankHistory": "onChangeTankHistory"; }, ["cellTemplateDirectives"], never, false, never>;
|
|
2696
2729
|
}
|
|
2697
2730
|
|
|
2698
2731
|
type RioPaginationEntry = number | 'ellipsis-left' | 'ellipsis-right';
|
|
@@ -2826,7 +2859,7 @@ interface CanComponentDeactivate {
|
|
|
2826
2859
|
canDeactivate: () => Observable<boolean> | Promise<boolean> | boolean;
|
|
2827
2860
|
}
|
|
2828
2861
|
declare class CanDeactivateGuard {
|
|
2829
|
-
canDeactivate(component: CanComponentDeactivate): boolean |
|
|
2862
|
+
canDeactivate(component: CanComponentDeactivate): boolean | Observable<boolean> | Promise<boolean>;
|
|
2830
2863
|
static ɵfac: i0.ɵɵFactoryDeclaration<CanDeactivateGuard, never>;
|
|
2831
2864
|
static ɵprov: i0.ɵɵInjectableDeclaration<CanDeactivateGuard>;
|
|
2832
2865
|
}
|