@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.
@@ -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-b69d3ddc.js"),
5582
- (n) => w(void 0, null, function* () {
5583
- const { rehydrate: i = !1 } = n.properties(), o = t.getRouteData().params.id || n.node.name || "component", a = yield e.createController(o, { rehydrate: i }), c = e.registerController(
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
- n
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
- n.properties(l)
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
- n.writeProperties({
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 && (n.writeProperties({
5603
+ d(a.getMessageStream()), c && (t.writeProperties({
5605
5604
  conversationControllerId: a.id
5606
- }), n.actions.create("user-submit", (u, g) => {
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
- }), n.actions.create("user-typing", (u, g) => {
5618
- }), n.actions.create("form", (u, g) => {
5619
- }), n.actions.create("action", (u, g) => {
5620
- }), n.actions.create("overlay-mounted", (u, g) => {
5621
- }), n.actions.create("show-overlay", (u, g) => {
5622
- n.writeProperties({
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
- }), n.actions.create("hide-overlay", (u, g) => {
5626
- n.writeProperties({
5624
+ }), t.actions.create("hide-overlay", (u, g) => {
5625
+ t.writeProperties({
5627
5626
  overlay: null
5628
5627
  });
5629
- }), n.actions.create(
5628
+ }), t.actions.create(
5630
5629
  "show-overlay-conversation",
5631
5630
  (u, g) => {
5632
- n.writeProperties({
5631
+ t.writeProperties({
5633
5632
  overlay: { conversation: !0, secondary: !1 }
5634
5633
  });
5635
5634
  }
5636
- ), n.actions.create(
5635
+ ), t.actions.create(
5637
5636
  "hide-overlay-conversation",
5638
5637
  (u, g) => {
5639
- n.writeProperties({
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-bbaba8ea.js.map
5670
+ //# sourceMappingURL=index-1d35e98e.js.map