raise-common-lib 0.0.264 → 0.0.265
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/bundles/raise-common-lib.umd.js +59 -15
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-best-practice-widget.service.js +18 -7
- package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-drawer.component.js +27 -8
- package/esm2015/lib/dashboard/chat-bot-drawer/chat-bot-shell.service.js +18 -7
- package/esm2015/lib/dashboard/chat-bot-drawer/constants.js +11 -1
- package/esm2015/lib/service/InjectionToken.js +2 -2
- package/esm2015/public-api.js +2 -1
- package/esm2015/raise-common-lib.js +2 -2
- package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-best-practice-widget.service.js +16 -6
- package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-drawer.component.js +23 -6
- package/esm5/lib/dashboard/chat-bot-drawer/chat-bot-shell.service.js +16 -6
- package/esm5/lib/dashboard/chat-bot-drawer/constants.js +11 -1
- package/esm5/lib/service/InjectionToken.js +2 -2
- package/esm5/public-api.js +2 -1
- package/esm5/raise-common-lib.js +2 -2
- package/fesm2015/raise-common-lib.js +66 -20
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +58 -16
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/dashboard/chat-bot-drawer/chat-bot-best-practice-widget.service.d.ts +2 -1
- package/lib/dashboard/chat-bot-drawer/chat-bot-drawer.component.d.ts +5 -3
- package/lib/dashboard/chat-bot-drawer/chat-bot-shell.service.d.ts +3 -2
- package/lib/dashboard/chat-bot-drawer/constants.d.ts +4 -0
- package/lib/service/InjectionToken.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/raise-common-lib.metadata.json +1 -1
|
@@ -27629,7 +27629,17 @@ var CHAT_BOT_GENERATE_REPORT_PACK_DIALOG = new InjectionToken("CHAT_BOT_GENERATE
|
|
|
27629
27629
|
/** @type {?} */
|
|
27630
27630
|
var CHAT_BOT_ACCOUNTING_HOST = new InjectionToken("CHAT_BOT_ACCOUNTING_HOST");
|
|
27631
27631
|
/** @type {?} */
|
|
27632
|
-
var CHAT_BOT_LAYOUT_UTILS_HOST = new InjectionToken("CHAT_BOT_LAYOUT_UTILS_HOST");
|
|
27632
|
+
var CHAT_BOT_LAYOUT_UTILS_HOST = new InjectionToken("CHAT_BOT_LAYOUT_UTILS_HOST");
|
|
27633
|
+
/**
|
|
27634
|
+
* Host app `DashboardService` (session handoff, download widget, EnableAIChat).
|
|
27635
|
+
* @type {?}
|
|
27636
|
+
*/
|
|
27637
|
+
var CHAT_BOT_DASHBOARD_SERVICE = new InjectionToken("CHAT_BOT_DASHBOARD_SERVICE");
|
|
27638
|
+
/**
|
|
27639
|
+
* Host app `DashboardPorletsService` (widget data for inline previews).
|
|
27640
|
+
* @type {?}
|
|
27641
|
+
*/
|
|
27642
|
+
var CHAT_BOT_PORTLETS_SERVICE = new InjectionToken("CHAT_BOT_PORTLETS_SERVICE");
|
|
27633
27643
|
|
|
27634
27644
|
/**
|
|
27635
27645
|
* @fileoverview added by tsickle
|
|
@@ -38938,8 +38948,8 @@ if (false) {
|
|
|
38938
38948
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
38939
38949
|
*/
|
|
38940
38950
|
var ChatBotShellService = /** @class */ (function () {
|
|
38941
|
-
function ChatBotShellService(
|
|
38942
|
-
this.
|
|
38951
|
+
function ChatBotShellService(libDashboardService, chatBotSessionsService, hostDashboardService) {
|
|
38952
|
+
this.libDashboardService = libDashboardService;
|
|
38943
38953
|
this.chatBotSessionsService = chatBotSessionsService;
|
|
38944
38954
|
this.drawerVisible = false;
|
|
38945
38955
|
this.sessionsLoading = false;
|
|
@@ -38959,6 +38969,8 @@ var ChatBotShellService = /** @class */ (function () {
|
|
|
38959
38969
|
this.conversationSync$ = this.conversationSync.asObservable();
|
|
38960
38970
|
this.conversationSyncRevision = 0;
|
|
38961
38971
|
this.conversationSyncState = null;
|
|
38972
|
+
this.dashboardService =
|
|
38973
|
+
hostDashboardService || this.libDashboardService;
|
|
38962
38974
|
}
|
|
38963
38975
|
Object.defineProperty(ChatBotShellService.prototype, "showTrigger", {
|
|
38964
38976
|
get: /**
|
|
@@ -39411,9 +39423,10 @@ var ChatBotShellService = /** @class */ (function () {
|
|
|
39411
39423
|
/** @nocollapse */
|
|
39412
39424
|
ChatBotShellService.ctorParameters = function () { return [
|
|
39413
39425
|
{ type: DashboardService },
|
|
39414
|
-
{ type: ChatBotSessionsService }
|
|
39426
|
+
{ type: ChatBotSessionsService },
|
|
39427
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CHAT_BOT_DASHBOARD_SERVICE,] }] }
|
|
39415
39428
|
]; };
|
|
39416
|
-
/** @nocollapse */ ChatBotShellService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ChatBotShellService_Factory() { return new ChatBotShellService(ɵɵinject(DashboardService), ɵɵinject(ChatBotSessionsService)); }, token: ChatBotShellService, providedIn: "root" });
|
|
39429
|
+
/** @nocollapse */ ChatBotShellService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ChatBotShellService_Factory() { return new ChatBotShellService(ɵɵinject(DashboardService), ɵɵinject(ChatBotSessionsService), ɵɵinject(CHAT_BOT_DASHBOARD_SERVICE, 8)); }, token: ChatBotShellService, providedIn: "root" });
|
|
39417
39430
|
return ChatBotShellService;
|
|
39418
39431
|
}());
|
|
39419
39432
|
if (false) {
|
|
@@ -39481,6 +39494,11 @@ if (false) {
|
|
|
39481
39494
|
* @private
|
|
39482
39495
|
*/
|
|
39483
39496
|
ChatBotShellService.prototype.dashboardService;
|
|
39497
|
+
/**
|
|
39498
|
+
* @type {?}
|
|
39499
|
+
* @private
|
|
39500
|
+
*/
|
|
39501
|
+
ChatBotShellService.prototype.libDashboardService;
|
|
39484
39502
|
/**
|
|
39485
39503
|
* @type {?}
|
|
39486
39504
|
* @private
|
|
@@ -41769,11 +41787,13 @@ if (false) {
|
|
|
41769
41787
|
ChatBotRankListResult.prototype.rows;
|
|
41770
41788
|
}
|
|
41771
41789
|
var ChatBotBestPracticeWidgetService = /** @class */ (function () {
|
|
41772
|
-
function ChatBotBestPracticeWidgetService(api, http, pbf,
|
|
41790
|
+
function ChatBotBestPracticeWidgetService(api, http, pbf, libDashboardPorletsService, hostPortletsService) {
|
|
41773
41791
|
this.api = api;
|
|
41774
41792
|
this.http = http;
|
|
41775
41793
|
this.pbf = pbf;
|
|
41776
|
-
this.
|
|
41794
|
+
this.libDashboardPorletsService = libDashboardPorletsService;
|
|
41795
|
+
this.dashboardPorletsService =
|
|
41796
|
+
hostPortletsService || this.libDashboardPorletsService;
|
|
41777
41797
|
}
|
|
41778
41798
|
/**
|
|
41779
41799
|
* @param {?} card
|
|
@@ -43286,12 +43306,18 @@ var ChatBotBestPracticeWidgetService = /** @class */ (function () {
|
|
|
43286
43306
|
{ type: ApiList },
|
|
43287
43307
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [API_SERVICE_TOKEN,] }] },
|
|
43288
43308
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [PBF_TOKEN,] }] },
|
|
43289
|
-
{ type: DashboardPorletsService }
|
|
43309
|
+
{ type: DashboardPorletsService },
|
|
43310
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CHAT_BOT_PORTLETS_SERVICE,] }] }
|
|
43290
43311
|
]; };
|
|
43291
|
-
/** @nocollapse */ ChatBotBestPracticeWidgetService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ChatBotBestPracticeWidgetService_Factory() { return new ChatBotBestPracticeWidgetService(ɵɵinject(ApiList), ɵɵinject(API_SERVICE_TOKEN, 8), ɵɵinject(PBF_TOKEN, 8), ɵɵinject(DashboardPorletsService)); }, token: ChatBotBestPracticeWidgetService, providedIn: "root" });
|
|
43312
|
+
/** @nocollapse */ ChatBotBestPracticeWidgetService.ngInjectableDef = ɵɵdefineInjectable({ factory: function ChatBotBestPracticeWidgetService_Factory() { return new ChatBotBestPracticeWidgetService(ɵɵinject(ApiList), ɵɵinject(API_SERVICE_TOKEN, 8), ɵɵinject(PBF_TOKEN, 8), ɵɵinject(DashboardPorletsService), ɵɵinject(CHAT_BOT_PORTLETS_SERVICE, 8)); }, token: ChatBotBestPracticeWidgetService, providedIn: "root" });
|
|
43292
43313
|
return ChatBotBestPracticeWidgetService;
|
|
43293
43314
|
}());
|
|
43294
43315
|
if (false) {
|
|
43316
|
+
/**
|
|
43317
|
+
* @type {?}
|
|
43318
|
+
* @private
|
|
43319
|
+
*/
|
|
43320
|
+
ChatBotBestPracticeWidgetService.prototype.dashboardPorletsService;
|
|
43295
43321
|
/**
|
|
43296
43322
|
* @type {?}
|
|
43297
43323
|
* @private
|
|
@@ -43311,7 +43337,7 @@ if (false) {
|
|
|
43311
43337
|
* @type {?}
|
|
43312
43338
|
* @private
|
|
43313
43339
|
*/
|
|
43314
|
-
ChatBotBestPracticeWidgetService.prototype.
|
|
43340
|
+
ChatBotBestPracticeWidgetService.prototype.libDashboardPorletsService;
|
|
43315
43341
|
}
|
|
43316
43342
|
|
|
43317
43343
|
/**
|
|
@@ -43514,7 +43540,7 @@ if (false) {
|
|
|
43514
43540
|
ChatSuggestionState.prototype.globalMenu;
|
|
43515
43541
|
}
|
|
43516
43542
|
var ChatBotDrawerComponent = /** @class */ (function () {
|
|
43517
|
-
function ChatBotDrawerComponent(zone, cdr, sanitizer, router, pbf, api, http, accountingHost,
|
|
43543
|
+
function ChatBotDrawerComponent(zone, cdr, sanitizer, router, pbf, api, http, accountingHost, libDashboardService, libDashboardPorletsService, hostDashboardService, hostPortletsService, dialog, layoutUtilsHost, generateReportPackDialog, generateReportPackHeadlessService, chatBotSessionsService, chatBotUsageService, chatBotBestPracticeWidgetService, chatBotShell) {
|
|
43518
43544
|
this.zone = zone;
|
|
43519
43545
|
this.cdr = cdr;
|
|
43520
43546
|
this.sanitizer = sanitizer;
|
|
@@ -43523,8 +43549,8 @@ var ChatBotDrawerComponent = /** @class */ (function () {
|
|
|
43523
43549
|
this.api = api;
|
|
43524
43550
|
this.http = http;
|
|
43525
43551
|
this.accountingHost = accountingHost;
|
|
43526
|
-
this.
|
|
43527
|
-
this.
|
|
43552
|
+
this.libDashboardService = libDashboardService;
|
|
43553
|
+
this.libDashboardPorletsService = libDashboardPorletsService;
|
|
43528
43554
|
this.dialog = dialog;
|
|
43529
43555
|
this.layoutUtilsHost = layoutUtilsHost;
|
|
43530
43556
|
this.generateReportPackDialog = generateReportPackDialog;
|
|
@@ -43608,6 +43634,10 @@ var ChatBotDrawerComponent = /** @class */ (function () {
|
|
|
43608
43634
|
this.pendingSuggestionsToReveal = null;
|
|
43609
43635
|
this.suggestionsRevealTimer = null;
|
|
43610
43636
|
this.readResultSourceCollapseAfter = READ_RESULT_SOURCE_COLLAPSE_AFTER;
|
|
43637
|
+
this.dashboardService =
|
|
43638
|
+
hostDashboardService || this.libDashboardService;
|
|
43639
|
+
this.dashboardPorletsService =
|
|
43640
|
+
hostPortletsService || this.libDashboardPorletsService;
|
|
43611
43641
|
this.resetWelcomeSuggestionsToDefault();
|
|
43612
43642
|
this.refreshSessionHistoryGroups();
|
|
43613
43643
|
}
|
|
@@ -53346,6 +53376,8 @@ var ChatBotDrawerComponent = /** @class */ (function () {
|
|
|
53346
53376
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CHAT_BOT_ACCOUNTING_HOST,] }] },
|
|
53347
53377
|
{ type: DashboardService },
|
|
53348
53378
|
{ type: DashboardPorletsService },
|
|
53379
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CHAT_BOT_DASHBOARD_SERVICE,] }] },
|
|
53380
|
+
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CHAT_BOT_PORTLETS_SERVICE,] }] },
|
|
53349
53381
|
{ type: MatDialog },
|
|
53350
53382
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [CHAT_BOT_LAYOUT_UTILS_HOST,] }] },
|
|
53351
53383
|
{ type: Type, decorators: [{ type: Optional }, { type: Inject, args: [CHAT_BOT_GENERATE_REPORT_PACK_DIALOG,] }] },
|
|
@@ -53601,6 +53633,16 @@ if (false) {
|
|
|
53601
53633
|
* @private
|
|
53602
53634
|
*/
|
|
53603
53635
|
ChatBotDrawerComponent.prototype.directReportPackProgressDialogRef;
|
|
53636
|
+
/**
|
|
53637
|
+
* @type {?}
|
|
53638
|
+
* @private
|
|
53639
|
+
*/
|
|
53640
|
+
ChatBotDrawerComponent.prototype.dashboardService;
|
|
53641
|
+
/**
|
|
53642
|
+
* @type {?}
|
|
53643
|
+
* @private
|
|
53644
|
+
*/
|
|
53645
|
+
ChatBotDrawerComponent.prototype.dashboardPorletsService;
|
|
53604
53646
|
/**
|
|
53605
53647
|
* @type {?}
|
|
53606
53648
|
* @private
|
|
@@ -53657,12 +53699,12 @@ if (false) {
|
|
|
53657
53699
|
* @type {?}
|
|
53658
53700
|
* @private
|
|
53659
53701
|
*/
|
|
53660
|
-
ChatBotDrawerComponent.prototype.
|
|
53702
|
+
ChatBotDrawerComponent.prototype.libDashboardService;
|
|
53661
53703
|
/**
|
|
53662
53704
|
* @type {?}
|
|
53663
53705
|
* @private
|
|
53664
53706
|
*/
|
|
53665
|
-
ChatBotDrawerComponent.prototype.
|
|
53707
|
+
ChatBotDrawerComponent.prototype.libDashboardPorletsService;
|
|
53666
53708
|
/**
|
|
53667
53709
|
* @type {?}
|
|
53668
53710
|
* @private
|
|
@@ -71638,5 +71680,5 @@ var RaiseCommonLibModule = /** @class */ (function () {
|
|
|
71638
71680
|
* @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
71639
71681
|
*/
|
|
71640
71682
|
|
|
71641
|
-
export { API_SERVICE_TOKEN, CHAT_BOT_ACCOUNTING_HOST, CHAT_BOT_GENERATE_REPORT_PACK_DIALOG, CHAT_BOT_LAYOUT_UTILS_HOST, ChatBotDrawerComponent, ChatBotSessionsService, ChatBotShellService, CheckboxGroupComponent, CommonDialogComponent, CommonFunctionService, CommonGridComponent, DATE_TREE_DEFAULT_DATE_FORMATS, DateTreeFilterHelper, DateTreeFilterPopoverComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, EncryptedInputComponent, FloatBoxComponent, GridActionComponent, GridActionItemComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, PBF_TOKEN, PaneGroupNewComponent, ROLE_SERVICE_TOKEN, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RSNavCardGroupComponent, RSStepperComponent, RSToolbarComponent, RadioGroupComponent, RaiseCommonLibModule, RsCommentaryComponent, RsPageListComponent, RsPageTabComponent, SearchInputComponent, SmartPopupComponent, StaticResourceService, SwitchInputComponent, TagInputComponent, ToolbarItemComponent, TranslationService, TruncatedTextToggleComponent, createRsCommonGridDateTreeHelper, filterShowSection, Debounce as ɵa, DashboardService as ɵb, ChatBotWidgetEmbedComponent as ɵba, ApiList as ɵc, DashboardPorletsService as ɵd, debounce as ɵe, GenerateReportPackHeadlessService as ɵf, ChatBotUsageService as ɵg, ChatBotBestPracticeWidgetService as ɵh, RichtexteditorComponent as ɵi, ConfirmSelectComponent as ɵj, NewActionNotificationComponent as ɵk, CommonDeleteComponent as ɵl, SidebarIconlistNewComponent as ɵm, EmptyIconPromptComponent as ɵn, GadgetTableComponent as ɵo, GadgetPivotComponent as ɵp, GadgetPivotChartComponent as ɵq, GadgetTransposeComponent as ɵr, PortletTypeNewComponent as ɵs, FieldFilterComponent as ɵt, FieldFormatComponent as ɵu, DataMartNewComponent as ɵv, BarChartsComponent as ɵw, PaneDownloadComponent as ɵx, ChatBotDataPrivacyDialogComponent as ɵy, ChatBotSessionRenameDialogComponent as ɵz };
|
|
71683
|
+
export { API_SERVICE_TOKEN, CHAT_BOT_ACCOUNTING_HOST, CHAT_BOT_DASHBOARD_SERVICE, CHAT_BOT_GENERATE_REPORT_PACK_DIALOG, CHAT_BOT_LAYOUT_UTILS_HOST, CHAT_BOT_PORTLETS_SERVICE, ChatBotDrawerComponent, ChatBotSessionsService, ChatBotShellService, CheckboxGroupComponent, CommonDialogComponent, CommonFunctionService, CommonGridComponent, DATE_TREE_DEFAULT_DATE_FORMATS, DateTreeFilterHelper, DateTreeFilterPopoverComponent, DefaultDrawerConfig, DialogService, DrawerComponent, DrawerFormComponent, DrawerService, EmailPattern, EncryptedInputComponent, FloatBoxComponent, GridActionComponent, GridActionItemComponent, GridBoxComponent, IconLoaderService, KeepAliveService, MainContainerComponent, MessageType, MultiTabComponent, PBF_TOKEN, PaneGroupNewComponent, ROLE_SERVICE_TOKEN, RSAsideComponent, RSFooterComponent, RSHeaderComponent, RSNavCardGroupComponent, RSStepperComponent, RSToolbarComponent, RadioGroupComponent, RaiseCommonLibModule, RsCommentaryComponent, RsPageListComponent, RsPageTabComponent, SearchInputComponent, SmartPopupComponent, StaticResourceService, SwitchInputComponent, TagInputComponent, ToolbarItemComponent, TranslationService, TruncatedTextToggleComponent, createRsCommonGridDateTreeHelper, filterShowSection, Debounce as ɵa, DashboardService as ɵb, ChatBotWidgetEmbedComponent as ɵba, ApiList as ɵc, DashboardPorletsService as ɵd, debounce as ɵe, GenerateReportPackHeadlessService as ɵf, ChatBotUsageService as ɵg, ChatBotBestPracticeWidgetService as ɵh, RichtexteditorComponent as ɵi, ConfirmSelectComponent as ɵj, NewActionNotificationComponent as ɵk, CommonDeleteComponent as ɵl, SidebarIconlistNewComponent as ɵm, EmptyIconPromptComponent as ɵn, GadgetTableComponent as ɵo, GadgetPivotComponent as ɵp, GadgetPivotChartComponent as ɵq, GadgetTransposeComponent as ɵr, PortletTypeNewComponent as ɵs, FieldFilterComponent as ɵt, FieldFormatComponent as ɵu, DataMartNewComponent as ɵv, BarChartsComponent as ɵw, PaneDownloadComponent as ɵx, ChatBotDataPrivacyDialogComponent as ɵy, ChatBotSessionRenameDialogComponent as ɵz };
|
|
71642
71684
|
//# sourceMappingURL=raise-common-lib.js.map
|