@ibiz-template-plugin/ai-chat 0.0.92 → 0.0.93
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/dist/index.es.js +18 -18
- package/dist/index.legacy.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -23281,7 +23281,7 @@ class By extends Tf {
|
|
|
23281
23281
|
ke(ws, {
|
|
23282
23282
|
mode: t.mode ? t.mode : "DEFAULT",
|
|
23283
23283
|
containerOptions: t.containerOptions,
|
|
23284
|
-
caption:
|
|
23284
|
+
caption: i.caption,
|
|
23285
23285
|
autoClose: (r = t.containerOptions) == null ? void 0 : r.autoClose,
|
|
23286
23286
|
openMode: (s = t.containerOptions) == null ? void 0 : s.openMode,
|
|
23287
23287
|
hideTopicSidebar: ((o = t.topicOptions) == null ? void 0 : o.hideTopicSidebar) || !1,
|
|
@@ -23325,7 +23325,7 @@ class By extends Tf {
|
|
|
23325
23325
|
aiTopic: this.aiTopic,
|
|
23326
23326
|
mode: t.mode ? t.mode : "DEFAULT",
|
|
23327
23327
|
containerOptions: t.containerOptions,
|
|
23328
|
-
caption:
|
|
23328
|
+
caption: i.caption,
|
|
23329
23329
|
enableBackFill: (s = t.containerOptions) == null ? void 0 : s.enableBackFill,
|
|
23330
23330
|
contentToolbarItems: i.contentToolbarItems,
|
|
23331
23331
|
footerToolbarItems: i.footerToolbarItems,
|
|
@@ -23369,29 +23369,29 @@ class By extends Tf {
|
|
|
23369
23369
|
* @memberof ModalChatController
|
|
23370
23370
|
*/
|
|
23371
23371
|
renderSwitchedContent(t, i) {
|
|
23372
|
-
var r, s, o, a, l, c, u, d, f, p
|
|
23372
|
+
var r, s, o, a, l, c, u, d, f, p;
|
|
23373
23373
|
this.container && (Ie(null, this.container), Ie(
|
|
23374
23374
|
ke(ws, {
|
|
23375
23375
|
aiChat: i,
|
|
23376
23376
|
aiTopic: this.aiTopic,
|
|
23377
23377
|
mode: (r = this.backupChatOptions) != null && r.mode ? this.backupChatOptions.mode : "DEFAULT",
|
|
23378
23378
|
containerOptions: (s = this.backupChatOptions) == null ? void 0 : s.containerOptions,
|
|
23379
|
-
caption:
|
|
23380
|
-
enableBackFill: (
|
|
23379
|
+
caption: t.caption,
|
|
23380
|
+
enableBackFill: (a = (o = this.backupChatOptions) == null ? void 0 : o.containerOptions) == null ? void 0 : a.enableBackFill,
|
|
23381
23381
|
contentToolbarItems: t.contentToolbarItems,
|
|
23382
23382
|
footerToolbarItems: t.footerToolbarItems,
|
|
23383
23383
|
questionToolbarItems: t.questionToolbarItems,
|
|
23384
|
-
autoClose: (
|
|
23385
|
-
openMode: (
|
|
23386
|
-
hideTopicSidebar: ((
|
|
23384
|
+
autoClose: (c = (l = this.backupChatOptions) == null ? void 0 : l.containerOptions) == null ? void 0 : c.autoClose,
|
|
23385
|
+
openMode: (d = (u = this.backupChatOptions) == null ? void 0 : u.containerOptions) == null ? void 0 : d.openMode,
|
|
23386
|
+
hideTopicSidebar: ((p = (f = this.backupChatOptions) == null ? void 0 : f.topicOptions) == null ? void 0 : p.hideTopicSidebar) || !1,
|
|
23387
23387
|
close: () => {
|
|
23388
23388
|
this.close(), t.closed && t.closed(t.context, t.params, i.getAllMessages());
|
|
23389
23389
|
},
|
|
23390
|
-
fullscreen: (
|
|
23391
|
-
t.fullscreen && t.fullscreen(
|
|
23390
|
+
fullscreen: (m) => {
|
|
23391
|
+
t.fullscreen && t.fullscreen(m, t.context, t.params);
|
|
23392
23392
|
},
|
|
23393
|
-
minimize: (
|
|
23394
|
-
t.minimize && t.minimize(
|
|
23393
|
+
minimize: (m) => {
|
|
23394
|
+
t.minimize && t.minimize(m, t.context, t.params);
|
|
23395
23395
|
},
|
|
23396
23396
|
isLoading: !1
|
|
23397
23397
|
}),
|
|
@@ -23476,7 +23476,7 @@ class Fy extends Tf {
|
|
|
23476
23476
|
Ie(
|
|
23477
23477
|
ke(Cs, {
|
|
23478
23478
|
mode: t.mode ? t.mode : "DEFAULT",
|
|
23479
|
-
caption:
|
|
23479
|
+
caption: i.caption,
|
|
23480
23480
|
enableBackFill: (r = t.containerOptions) == null ? void 0 : r.enableBackFill,
|
|
23481
23481
|
hideTopicSidebar: ((s = t.topicOptions) == null ? void 0 : s.hideTopicSidebar) || !1,
|
|
23482
23482
|
isLoading: !0
|
|
@@ -23511,7 +23511,7 @@ class Fy extends Tf {
|
|
|
23511
23511
|
aiChat: r,
|
|
23512
23512
|
aiTopic: this.aiTopic,
|
|
23513
23513
|
mode: t.mode ? t.mode : "DEFAULT",
|
|
23514
|
-
caption:
|
|
23514
|
+
caption: i.caption,
|
|
23515
23515
|
enableBackFill: (s = t.containerOptions) == null ? void 0 : s.enableBackFill,
|
|
23516
23516
|
contentToolbarItems: i.contentToolbarItems,
|
|
23517
23517
|
footerToolbarItems: i.footerToolbarItems,
|
|
@@ -23532,18 +23532,18 @@ class Fy extends Tf {
|
|
|
23532
23532
|
* @memberof FlatChatController
|
|
23533
23533
|
*/
|
|
23534
23534
|
renderSwitchedContent(t, i) {
|
|
23535
|
-
var r, s, o, a, l
|
|
23535
|
+
var r, s, o, a, l;
|
|
23536
23536
|
this.container && (Ie(null, this.container), Ie(
|
|
23537
23537
|
ke(Cs, {
|
|
23538
23538
|
aiChat: i,
|
|
23539
23539
|
aiTopic: this.aiTopic,
|
|
23540
23540
|
mode: (r = this.backupChatOptions) != null && r.mode ? this.backupChatOptions.mode : "DEFAULT",
|
|
23541
|
-
caption:
|
|
23542
|
-
enableBackFill: (
|
|
23541
|
+
caption: t.caption,
|
|
23542
|
+
enableBackFill: (o = (s = this.backupChatOptions) == null ? void 0 : s.containerOptions) == null ? void 0 : o.enableBackFill,
|
|
23543
23543
|
contentToolbarItems: t.contentToolbarItems,
|
|
23544
23544
|
footerToolbarItems: t.footerToolbarItems,
|
|
23545
23545
|
questionToolbarItems: t.questionToolbarItems,
|
|
23546
|
-
hideTopicSidebar: ((
|
|
23546
|
+
hideTopicSidebar: ((l = (a = this.backupChatOptions) == null ? void 0 : a.topicOptions) == null ? void 0 : l.hideTopicSidebar) || !1,
|
|
23547
23547
|
isLoading: !1
|
|
23548
23548
|
}),
|
|
23549
23549
|
this.container
|