@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.
- package/README.md +4 -3
- package/dist/chatbot.global.js +1 -1
- package/dist/chatbot.global.js.map +1 -1
- package/dist/element.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/jsx.d.ts +2 -0
- package/dist/jsx.d.ts.map +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +2 -2
- package/dist/react.js.map +1 -1
- package/dist/{src-CcILETWB.cjs → src-DcJyi601.cjs} +2 -2
- package/dist/{src-CcILETWB.cjs.map → src-DcJyi601.cjs.map} +1 -1
- package/dist/{src-2GKPJcbZ.js → src-Nh5rZvti.js} +4 -2
- package/dist/{src-2GKPJcbZ.js.map → src-Nh5rZvti.js.map} +1 -1
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
2710
|
+
//# sourceMappingURL=src-Nh5rZvti.js.map
|