@pagelines/sdk 1.0.903 → 1.0.904

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/BotWrap.js CHANGED
@@ -258,7 +258,7 @@ function buildWorkJournalModel(e) {
258
258
  id: p?.activityId ?? "work-active",
259
259
  tone: "active",
260
260
  label: p?.label ?? W.finishing
261
- } : void 0, S = b ? r >= v ? i ? W.notifyHint : W.leaveHint : W.slowHint : void 0, C = [_, v].filter((e) => e > r).sort((e, t) => e - t)[0];
261
+ } : void 0, S = b && r >= v ? i ? W.notifyHint : W.leaveHint : void 0, C = [_, v].filter((e) => e > r).sort((e, t) => e - t)[0];
262
262
  return {
263
263
  outcome: n,
264
264
  visibleRows: s,
@@ -4935,6 +4935,7 @@ var Ri = ["data-voice-state", "data-voice-activity"], zi = ["src"], Bi = {
4935
4935
  class: "flex flex-col items-center justify-center px-4"
4936
4936
  }, ia = ["title"], aa = {
4937
4937
  key: 0,
4938
+ "data-test": "messaging-time-divider",
4938
4939
  class: "flex items-center gap-3 py-3 px-2"
4939
4940
  }, oa = ["data-journal-outcome"], sa = [
4940
4941
  "data-message-id",
@@ -5288,7 +5289,7 @@ var Ri = ["data-voice-state", "data-voice-activity"], zi = ["src"], Bi = {
5288
5289
  let n = e[t - 1], r = e[t];
5289
5290
  if (!n?.timestamp || !r?.timestamp) return null;
5290
5291
  let i = new Date(n.timestamp).getTime();
5291
- return new Date(r.timestamp).getTime() - i > 36e5 ? formatTimeDivider(new Date(r.timestamp)) : null;
5292
+ return new Date(r.timestamp).getTime() - i > 9e5 ? formatTimeDivider(new Date(r.timestamp)) : null;
5292
5293
  }
5293
5294
  function formatTimeDivider(e) {
5294
5295
  let t = /* @__PURE__ */ new Date(), n = e.toDateString() === t.toDateString(), r = new Date(t);
@@ -5444,9 +5445,9 @@ var Ri = ["data-voice-state", "data-voice-activity"], zi = ["src"], Bi = {
5444
5445
  "data-conversation-id": t.conversationId,
5445
5446
  "data-message-sequence": t.sequence,
5446
5447
  "data-routine-run-id": t.routine?.run.routineRunId,
5447
- class: O(["mb-6 flex items-start gap-2 pr-3 @sm/chat:pr-[2em] text-[12px] leading-relaxed", Y.value ? "text-theme-400" : "text-white/50"])
5448
+ class: O(["mb-6 flex items-center justify-center gap-2 text-[12px] leading-relaxed", Y.value ? "text-theme-400" : "text-white/50"])
5448
5449
  }, [r[16] || (r[16] = C("i", {
5449
- class: "i-tabler-clock size-3.5 mt-0.5 shrink-0",
5450
+ class: "i-tabler-clock size-3.5 shrink-0",
5450
5451
  "aria-hidden": "true"
5451
5452
  }, null, -1)), C("span", null, z(t.text), 1)], 10, ua)) : t.sender === "system" ? (j(), S("div", {
5452
5453
  key: 4,
@@ -5833,7 +5834,7 @@ var Ri = ["data-voice-state", "data-voice-activity"], zi = ["src"], Bi = {
5833
5834
  ], 64))], !0)], 10, Pa)
5834
5835
  ], 2));
5835
5836
  }
5836
- }), [["__scopeId", "data-v-96dd7d31"]]), ao = { class: "bot-wrap" }, oo = {
5837
+ }), [["__scopeId", "data-v-6717f6d3"]]), ao = { class: "bot-wrap" }, oo = {
5837
5838
  key: 0,
5838
5839
  class: "flex items-center justify-center h-full"
5839
5840
  }, so = {