@pagelines/sdk 1.0.849 → 1.0.851

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/AgentWrap.js CHANGED
@@ -4988,7 +4988,7 @@ var Mi = ["data-voice-state", "data-voice-activity"], Ni = ["src"], Pi = {
4988
4988
  }, Ha = { class: "sr-only" }, Ua = {
4989
4989
  key: 2,
4990
4990
  "data-test": "messaging-ai-notice",
4991
- class: "mx-auto max-w-[640px] @5xl/chat:max-w-[720px] pt-2 text-center text-[11.5px] leading-none text-theme-300"
4991
+ class: "mx-auto max-w-[640px] @5xl/chat:max-w-[720px] pt-3 text-center text-[11.5px] leading-none text-theme-300"
4992
4992
  }, Wa = /*@__PURE__*/ k({
4993
4993
  __name: "ElAgentChat",
4994
4994
  props: {
@@ -5156,7 +5156,7 @@ var Mi = ["data-voice-state", "data-voice-activity"], Ni = ["src"], Pi = {
5156
5156
  let t = Je.value;
5157
5157
  qe.value = !1, Ye.value = void 0, await A(), await new Promise((e) => setTimeout(e, 80)), await t?.end(), window.matchMedia("(pointer: coarse)").matches || i.value?.focus(), await e.chatController?.refreshMessages();
5158
5158
  }
5159
- let J = v(() => e.variant === "light"), rt = v(() => J.value ? "bg-gradient-to-r from-transparent via-theme-300/70 to-transparent" : "bg-gradient-to-r from-transparent via-white/15 to-transparent"), X = v(() => J.value ? "text-theme-300" : "text-white/30");
5159
+ let J = v(() => e.variant === "light"), rt = v(() => J.value ? "bg-theme-200/70" : "bg-white/15"), X = v(() => J.value ? "text-theme-300" : "text-white/30");
5160
5160
  ne(async () => {
5161
5161
  e.chatController && !u.value && await e.chatController.startTextConversation();
5162
5162
  }), re(() => {
@@ -5603,7 +5603,7 @@ var Mi = ["data-voice-state", "data-voice-activity"], Ni = ["src"], Pi = {
5603
5603
  S("div", {
5604
5604
  "data-test": "messaging-composer",
5605
5605
  "data-composer-action": Pe.value,
5606
- class: j(["w-full cursor-text rounded-2xl px-4 pb-2.5 pt-3 transition-colors duration-200", [e.centered ? "mx-auto max-w-[640px] @5xl/chat:max-w-[720px] @5xl/chat:px-5 @5xl/chat:pt-3.5 @5xl/chat:pb-3" : "", J.value ? "bg-white shadow-[0_1px_2px_rgba(15,23,42,0.04),0_12px_32px_rgba(15,23,42,0.07)] ring-1 ring-theme-950/10 hover:ring-theme-950/15 focus-within:ring-theme-950/15" : "bg-white/10 backdrop-blur-xl ring-1 ring-white/15 hover:ring-white/25 focus-within:bg-white/15 focus-within:ring-white/25"]]),
5606
+ class: j(["w-full cursor-text rounded-2xl px-4 pb-2.5 pt-4 transition-colors duration-200", [e.centered ? "mx-auto max-w-[640px] @5xl/chat:max-w-[740px] @5xl/chat:px-5 @5xl/chat:pt-3.5 @5xl/chat:pb-3" : "", J.value ? "bg-white shadow-[0_1px_2px_rgba(15,23,42,0.04),0_12px_32px_rgba(15,23,42,0.07)] ring-1 ring-theme-950/20 hover:ring-theme-950/30 focus-within:ring-theme-950/30" : "bg-white/10 backdrop-blur-xl ring-1 ring-white/15 hover:ring-white/25 focus-within:bg-white/15 focus-within:ring-white/25"]]),
5607
5607
  onClick: focusComposer
5608
5608
  }, [Ve.value ? (F(), x("div", {
5609
5609
  key: 1,
@@ -5718,7 +5718,7 @@ var Mi = ["data-voice-state", "data-voice-activity"], Ni = ["src"], Pi = {
5718
5718
  let n = e.__vccOpts || e;
5719
5719
  for (let [e, r] of t) n[e] = r;
5720
5720
  return n;
5721
- }, "default"), Ka = /*#__PURE__*/ Ga(Wa, [["__scopeId", "data-v-96b5c96e"]]), qa = { class: "agent-wrap" }, Ja = {
5721
+ }, "default"), Ka = /*#__PURE__*/ Ga(Wa, [["__scopeId", "data-v-350a862d"]]), qa = { class: "agent-wrap" }, Ja = {
5722
5722
  key: 0,
5723
5723
  class: "flex items-center justify-center h-full"
5724
5724
  }, Ya = {