@squadico/chatbot 1.2.0 → 1.3.0

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.
@@ -2381,7 +2381,7 @@ function On(e) {
2381
2381
  }), /* @__PURE__ */ Y("div", {
2382
2382
  class: "sqc-panel__main",
2383
2383
  children: [
2384
- U.length > 0 && /* @__PURE__ */ Y("div", {
2384
+ (e.showContext ?? !0) && U.length > 0 && /* @__PURE__ */ Y("div", {
2385
2385
  class: "sqc-context",
2386
2386
  "aria-label": f.context.region,
2387
2387
  children: U.map((e) => /* @__PURE__ */ Y("span", {
@@ -2491,6 +2491,7 @@ var Mn = "squadico-chatbot", Nn = [
2491
2491
  "layout",
2492
2492
  "open",
2493
2493
  "persist-open",
2494
+ "show-context",
2494
2495
  "locale"
2495
2496
  ], Pn;
2496
2497
  function Fn() {
@@ -2689,6 +2690,7 @@ function Gn() {
2689
2690
  layout: Un(this.getAttribute("layout")),
2690
2691
  defaultOpen: Bn(this.getAttribute("open")) ?? !1,
2691
2692
  persistOpen: Bn(this.getAttribute("persist-open")) ?? !0,
2693
+ showContext: Bn(this.getAttribute("show-context")) ?? !0,
2692
2694
  locale: e("locale"),
2693
2695
  onEvent: $(f, this),
2694
2696
  bind: $(p, this)
@@ -2705,4 +2707,4 @@ qn();
2705
2707
  //#endregion
2706
2708
  export { Ye as a, je as c, J as i, qn as n, Be as o, Je as r, Ae as s, Mn as t };
2707
2709
 
2708
- //# sourceMappingURL=src-2GKPJcbZ.js.map
2710
+ //# sourceMappingURL=src-Nh5rZvti.js.map