@2uinc/frontend-component-xpert-chatbot 1.40.4 → 1.40.5

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.
@@ -1607,20 +1607,20 @@ const Ou = 991, Z0 = () => {
1607
1607
  }, tt = Xr({}), Ms = ({
1608
1608
  children: e,
1609
1609
  externalLoading: t = !1,
1610
- externalStreaming: n = !1,
1611
- externalLoadingHistory: r = !1
1610
+ externalLoadingHistory: n = !1,
1611
+ externalStreaming: r = !1
1612
1612
  }) => {
1613
1613
  const [a, i] = le(!1), [u, s] = le(!1), [l, c] = le(!1), [d, f] = le(!0), [p, h] = le(!1), [b, m] = le(!1), [T, g] = le(!1), [D, P] = le(Nt.XPERT), W = Z0(), j = {
1614
1614
  disabledScroll: a,
1615
- externalStreaming: n,
1615
+ externalStreaming: r,
1616
1616
  hasError: u,
1617
1617
  hasNewMessage: l,
1618
1618
  internalStreaming: T,
1619
1619
  isMobile: W,
1620
1620
  isNormalSize: d || W,
1621
1621
  loading: p || t,
1622
- loadingHistory: b || r,
1623
- streaming: T || n,
1622
+ loadingHistory: b || n,
1623
+ streaming: T || r,
1624
1624
  mode: D,
1625
1625
  setDisableScroll: i,
1626
1626
  setHasError: s,
@@ -22689,31 +22689,33 @@ const xd = ({
22689
22689
  configurations: n = {},
22690
22690
  conversation: r,
22691
22691
  externalLoading: a = !1,
22692
- externalStreaming: i = !1,
22693
- liveChatPayload: u,
22694
- onFeedbackSelection: s,
22695
- onMessageSent: l,
22696
- onStreamingStop: c,
22697
- xpertKey: d,
22698
- widgetMode: f = !0
22692
+ externalLoadingHistory: i = !1,
22693
+ externalStreaming: u = !1,
22694
+ liveChatPayload: s,
22695
+ onFeedbackSelection: l,
22696
+ onMessageSent: c,
22697
+ onStreamingStop: d,
22698
+ xpertKey: f,
22699
+ widgetMode: p = !0
22699
22700
  }) => {
22700
- const p = {
22701
+ const h = {
22701
22702
  clientId: t,
22702
22703
  configurations: n,
22703
- xpertKey: d,
22704
- widgetMode: f
22705
- }, h = {
22706
- conversation: r,
22707
- onFeedbackSelection: s,
22708
- onMessageSent: l,
22709
- onStreamingStop: c
22704
+ xpertKey: f,
22705
+ widgetMode: p
22710
22706
  }, b = {
22711
- liveChatPayload: u
22707
+ conversation: r,
22708
+ onFeedbackSelection: l,
22709
+ onMessageSent: c,
22710
+ onStreamingStop: d
22712
22711
  }, m = {
22712
+ liveChatPayload: s
22713
+ }, T = {
22713
22714
  externalLoading: a,
22714
- externalStreaming: i
22715
+ externalLoadingHistory: i,
22716
+ externalStreaming: u
22715
22717
  };
22716
- return /* @__PURE__ */ _.jsx(Ps, { ...p, children: /* @__PURE__ */ _.jsx(Ms, { ...m, children: /* @__PURE__ */ _.jsx(Hs, { ...h, children: /* @__PURE__ */ _.jsx(hd, { ...b, children: e }) }) }) });
22718
+ return /* @__PURE__ */ _.jsx(Ps, { ...h, children: /* @__PURE__ */ _.jsx(Ms, { ...T, children: /* @__PURE__ */ _.jsx(Hs, { ...b, children: /* @__PURE__ */ _.jsx(hd, { ...m, children: e }) }) }) });
22717
22719
  };
22718
22720
  xd.propTypes = {
22719
22721
  children: A.element,
@@ -22722,6 +22724,7 @@ xd.propTypes = {
22722
22724
  conversation: Kr,
22723
22725
  id: A.string,
22724
22726
  externalLoading: A.bool,
22727
+ externalLoadingHistory: A.bool,
22725
22728
  externalStreaming: A.bool,
22726
22729
  liveChatPayload: A.object,
22727
22730
  onFeedbackSelection: A.func,
@@ -22735,14 +22738,15 @@ function vd({
22735
22738
  configurations: t = {},
22736
22739
  conversation: n,
22737
22740
  externalLoading: r = !1,
22738
- externalStreaming: a = !1,
22739
- liveChatPayload: i,
22740
- onFeedbackSelection: u,
22741
- onMessageSent: s,
22742
- onStreamingStop: l,
22743
- submitEventExternal: c,
22744
- xpertKey: d,
22745
- widgetMode: f = !0
22741
+ externalLoadingHistory: a = !1,
22742
+ externalStreaming: i = !1,
22743
+ liveChatPayload: u,
22744
+ onFeedbackSelection: s,
22745
+ onMessageSent: l,
22746
+ onStreamingStop: c,
22747
+ submitEventExternal: d,
22748
+ xpertKey: f,
22749
+ widgetMode: p = !0
22746
22750
  }) {
22747
22751
  return /* @__PURE__ */ _.jsx(
22748
22752
  xd,
@@ -22751,14 +22755,15 @@ function vd({
22751
22755
  configurations: t,
22752
22756
  conversation: n,
22753
22757
  externalLoading: r,
22754
- externalStreaming: a,
22755
- onFeedbackSelection: u,
22756
- onMessageSent: s,
22757
- onStreamingStop: l,
22758
- liveChatPayload: i,
22759
- xpertKey: d,
22760
- widgetMode: f,
22761
- children: /* @__PURE__ */ _.jsx(Sd, { submitEventExternal: c })
22758
+ externalLoadingHistory: a,
22759
+ externalStreaming: i,
22760
+ onFeedbackSelection: s,
22761
+ onMessageSent: l,
22762
+ onStreamingStop: c,
22763
+ liveChatPayload: u,
22764
+ xpertKey: f,
22765
+ widgetMode: p,
22766
+ children: /* @__PURE__ */ _.jsx(Sd, { submitEventExternal: d })
22762
22767
  }
22763
22768
  );
22764
22769
  }
@@ -22767,6 +22772,7 @@ vd.propTypes = {
22767
22772
  configurations: A.object,
22768
22773
  conversation: Kr,
22769
22774
  externalLoading: A.bool,
22775
+ externalLoadingHistory: A.bool,
22770
22776
  externalStreaming: A.bool,
22771
22777
  liveChatPayload: A.object,
22772
22778
  onFeedbackSelection: A.func,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2uinc/frontend-component-xpert-chatbot",
3
- "version": "1.40.4",
3
+ "version": "1.40.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/2uinc/frontend-component-xpert-chatbot.git"