@cimulate/copilot-widget 1.22.0 → 1.23.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/dist/cimulate-copilot-widget.d.ts +39 -1
- package/dist/cimulate-copilot-widget.es.js +7 -4
- package/dist/cimulate-copilot-widget.umd.js +2 -2
- package/dist/copilot.es.js +7 -4
- package/dist/copilot.umd.js +2 -2
- package/dist/messaging.d.ts +161 -4
- package/dist/messaging.es.js +10368 -10073
- package/dist/messaging.umd.js +36 -36
- package/package.json +1 -1
package/dist/copilot.es.js
CHANGED
|
@@ -6217,7 +6217,7 @@ const xk = {
|
|
|
6217
6217
|
__features: se,
|
|
6218
6218
|
routingAttributes: ce,
|
|
6219
6219
|
enableDownloadTranscript: fe = !0,
|
|
6220
|
-
enableEscalationToAgent: ne = !
|
|
6220
|
+
enableEscalationToAgent: ne = !1,
|
|
6221
6221
|
children: be
|
|
6222
6222
|
}) => {
|
|
6223
6223
|
const ke = e === "messaging", oe = B.useMemo(() => {
|
|
@@ -33601,7 +33601,10 @@ const oB = 180, aB = (e) => {
|
|
|
33601
33601
|
ariaLabel: d = "Product carousel",
|
|
33602
33602
|
children: p
|
|
33603
33603
|
}) => {
|
|
33604
|
-
const m = Array.from(p)
|
|
33604
|
+
const m = Array.from(p).map((re, me) => ({
|
|
33605
|
+
node: re,
|
|
33606
|
+
key: B.isValidElement(re) && re.key != null ? re.key : `carousel-item-${me}`
|
|
33607
|
+
})), b = m.length, y = B.useRef(null), [_, A] = B.useState(0), { width: v } = zk();
|
|
33605
33608
|
B.useLayoutEffect(() => {
|
|
33606
33609
|
y.current && A(y.current.getBoundingClientRect().width);
|
|
33607
33610
|
}, [v, b]);
|
|
@@ -33628,10 +33631,10 @@ const oB = 180, aB = (e) => {
|
|
|
33628
33631
|
className: G(e, `${z}-carousel__item-group`, {
|
|
33629
33632
|
"carousel-row-container": !Y
|
|
33630
33633
|
}),
|
|
33631
|
-
children: m.map((re, me) => /* @__PURE__ */ x.jsx(
|
|
33634
|
+
children: m.map(({ node: re, key: me }, V) => /* @__PURE__ */ x.jsx(
|
|
33632
33635
|
J2,
|
|
33633
33636
|
{
|
|
33634
|
-
index:
|
|
33637
|
+
index: V,
|
|
33635
33638
|
className: G(e, `${z}-carousel__item`),
|
|
33636
33639
|
children: re
|
|
33637
33640
|
},
|