@gengage/assistant-fe 0.3.41 → 0.4.1

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/qna.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a, i as n, n as r, o as t, r as s, t as o } from "./qna-DrlYm1d8.js";
1
+ import { a, i as n, n as r, o as t, r as s, t as o } from "./qna-CQugVOHy.js";
2
2
  export {
3
3
  o as GengageQNA,
4
4
  n as createDefaultQnaUISpecRegistry,
@@ -334,7 +334,9 @@ function Mt(e) {
334
334
  const i = o.spec.elements[o.spec.root];
335
335
  if (i) {
336
336
  const a = {};
337
- typeof e.payload.offset == "number" && (a.offset = e.payload.offset), typeof e.payload.end_of_list == "boolean" && (a.endOfList = e.payload.end_of_list), typeof e.payload.title == "string" && (a.panelTitle = e.payload.title), typeof e.payload.source == "string" && (a.source = e.payload.source), t.length > 0 && (a.styleVariations = t), e.payload.replace_panel === !0 && (a.replacePanel = !0), Object.keys(a).length > 0 && (i.props = {
337
+ typeof e.payload.offset == "number" && (a.offset = e.payload.offset), typeof e.payload.end_of_list == "boolean" && (a.endOfList = e.payload.end_of_list), typeof e.payload.title == "string" && (a.panelTitle = e.payload.title), typeof e.payload.source == "string" && (a.source = e.payload.source), t.length > 0 && (a.styleVariations = t), e.payload.replace_panel === !0 && (a.replacePanel = !0), (e.payload.ranking_state === "pending" || e.payload.ranking_state === "final") && (a.rankingState = e.payload.ranking_state);
338
+ const s = e.payload.sequence_id ?? e.payload.search_id;
339
+ typeof s == "string" && s.length > 0 && (a.sequenceId = s), Object.keys(a).length > 0 && (i.props = {
338
340
  ...i.props,
339
341
  ...a
340
342
  });
@@ -1,4 +1,4 @@
1
- import { S as z, a as A, b as M, c as E, d as G, h as $, m as W, n as J, o as S, p as x, t as O, u as Q, w as Y } from "./schemas-DnAo0x7A.js";
1
+ import { S as z, a as A, b as M, c as E, d as G, h as $, m as W, n as J, o as S, p as x, t as O, u as Q, w as Y } from "./schemas-JFGRVTVz.js";
2
2
  import { A as V, G as K, H as X, K as Z, R as P, _ as w, a as ee, et as I, it as L, n as te, nt as ne, t as re, tt as ie, x as se } from "./locale-MM0U5eeR.js";
3
3
  import { a as oe, n as ae, r as ce, t as R } from "./price-formatter-CR6VT5z4.js";
4
4
  import { n as de } from "./connection-warning-n88bjkqL.js";