@telia-ace/widget-conversation-flamingo 1.0.9 → 1.0.10
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/{conversation-b69d3ddc.js → conversation-d6641d26.js} +2 -2
- package/dist/{conversation-b69d3ddc.js.map → conversation-d6641d26.js.map} +1 -1
- package/dist/{index-bbaba8ea.js → index-1d35e98e.js} +21 -22
- package/dist/{index-bbaba8ea.js.map → index-1d35e98e.js.map} +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -5574,15 +5574,14 @@ const ja = (s) => {
|
|
|
5574
5574
|
}
|
|
5575
5575
|
return e.push(r), e;
|
|
5576
5576
|
}, []), Da = (s) => w(void 0, null, function* () {
|
|
5577
|
-
const t = yield s.getAsync("router"), e = yield ts.getInstance(s);
|
|
5578
5577
|
return oa(
|
|
5579
5578
|
s,
|
|
5580
5579
|
"conversation",
|
|
5581
|
-
import("./conversation-
|
|
5582
|
-
(
|
|
5583
|
-
const { rehydrate: i = !1 } =
|
|
5580
|
+
import("./conversation-d6641d26.js"),
|
|
5581
|
+
(t) => w(void 0, null, function* () {
|
|
5582
|
+
const e = yield s.getAsync("router"), n = yield ts.getInstance(s), { rehydrate: i = !1 } = t.properties(), o = e.getRouteData().params.id || t.node.name || "component", a = yield n.createController(o, { rehydrate: i }), c = n.registerController(
|
|
5584
5583
|
a,
|
|
5585
|
-
|
|
5584
|
+
t
|
|
5586
5585
|
), h = 3 * 60 * 1e3, l = (u) => {
|
|
5587
5586
|
const { providers: g = [] } = u;
|
|
5588
5587
|
if (g) {
|
|
@@ -5591,19 +5590,19 @@ const ja = (s) => {
|
|
|
5591
5590
|
}
|
|
5592
5591
|
};
|
|
5593
5592
|
l(
|
|
5594
|
-
|
|
5593
|
+
t.properties(l)
|
|
5595
5594
|
), a.setComponentMountedState(!0);
|
|
5596
5595
|
const d = (u) => {
|
|
5597
5596
|
const { loading: g, typingActors: m, messages: A } = u;
|
|
5598
|
-
|
|
5597
|
+
t.writeProperties({
|
|
5599
5598
|
loading: g,
|
|
5600
5599
|
typingActors: m,
|
|
5601
5600
|
messages: ua(A, h)
|
|
5602
5601
|
});
|
|
5603
5602
|
};
|
|
5604
|
-
d(a.getMessageStream()), c && (
|
|
5603
|
+
d(a.getMessageStream()), c && (t.writeProperties({
|
|
5605
5604
|
conversationControllerId: a.id
|
|
5606
|
-
}),
|
|
5605
|
+
}), t.actions.create("user-submit", (u, g) => {
|
|
5607
5606
|
if (g) {
|
|
5608
5607
|
const { preventDefault: m, validationPromise: A } = g;
|
|
5609
5608
|
if (m) {
|
|
@@ -5614,29 +5613,29 @@ const ja = (s) => {
|
|
|
5614
5613
|
}
|
|
5615
5614
|
}
|
|
5616
5615
|
a.user.print(u.text);
|
|
5617
|
-
}),
|
|
5618
|
-
}),
|
|
5619
|
-
}),
|
|
5620
|
-
}),
|
|
5621
|
-
}),
|
|
5622
|
-
|
|
5616
|
+
}), t.actions.create("user-typing", (u, g) => {
|
|
5617
|
+
}), t.actions.create("form", (u, g) => {
|
|
5618
|
+
}), t.actions.create("action", (u, g) => {
|
|
5619
|
+
}), t.actions.create("overlay-mounted", (u, g) => {
|
|
5620
|
+
}), t.actions.create("show-overlay", (u, g) => {
|
|
5621
|
+
t.writeProperties({
|
|
5623
5622
|
overlay: { conversation: !1, secondary: !1 }
|
|
5624
5623
|
});
|
|
5625
|
-
}),
|
|
5626
|
-
|
|
5624
|
+
}), t.actions.create("hide-overlay", (u, g) => {
|
|
5625
|
+
t.writeProperties({
|
|
5627
5626
|
overlay: null
|
|
5628
5627
|
});
|
|
5629
|
-
}),
|
|
5628
|
+
}), t.actions.create(
|
|
5630
5629
|
"show-overlay-conversation",
|
|
5631
5630
|
(u, g) => {
|
|
5632
|
-
|
|
5631
|
+
t.writeProperties({
|
|
5633
5632
|
overlay: { conversation: !0, secondary: !1 }
|
|
5634
5633
|
});
|
|
5635
5634
|
}
|
|
5636
|
-
),
|
|
5635
|
+
), t.actions.create(
|
|
5637
5636
|
"hide-overlay-conversation",
|
|
5638
5637
|
(u, g) => {
|
|
5639
|
-
|
|
5638
|
+
t.writeProperties({
|
|
5640
5639
|
overlay: { conversation: !1, secondary: !1 }
|
|
5641
5640
|
});
|
|
5642
5641
|
}
|
|
@@ -5668,4 +5667,4 @@ export {
|
|
|
5668
5667
|
pa as f,
|
|
5669
5668
|
Ma as r
|
|
5670
5669
|
};
|
|
5671
|
-
//# sourceMappingURL=index-
|
|
5670
|
+
//# sourceMappingURL=index-1d35e98e.js.map
|