agilebuilder-ui 1.1.65-tmp2 → 1.1.65-tmp4

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.
@@ -1,4 +1,4 @@
1
- import n from "../../node_modules/dayjs/dayjs.min.js";
1
+ import n from "dayjs";
2
2
  import { MESSAGE_STATUS as a } from "./type.js";
3
3
  function t(t2, e2, i2, o2) {
4
4
  const s = "ai" === t2 ? "ai" : "user", d = "ai" === s ? "start" : "end", m = { isRecommend: i2, key: (/* @__PURE__ */ new Date()).getTime(), role: s, placement: d, content: e2, showThinkingContent: false, loading: false, shape: "corner", variant: "ai" === s ? "filled" : "outlined", isMarkdown: false, typing: "ai" === s, avatar: "ai" === s ? "https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" : "../../src/assets/chat-embed/avatar.png", noStyle: "ai" === s, statusValue: "end", recommendations: [], avatarSize: "24px", sendTime: n(/* @__PURE__ */ new Date()).format("YYYY-MM-DD HH:mm:ss") };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as e, ref as a, watch as t, resolveComponent as l, openBlock as s, createElementBlock as i, Fragment as o, withDirectives as n, createElementVNode as u, createVNode as c, withCtx as d, unref as r, vShow as m, toDisplayString as f, createBlock as h, createCommentVNode as v, normalizeClass as y, renderList as p, createTextVNode as g, pushScopeId as b, popScopeId as k } from "vue";
2
- import { ArrowDown as _, ArrowRight as w, StarFilled as A, Star as E, MoreFilled as T } from "@element-plus/icons-vue";
2
+ import { ArrowDown as w, ArrowRight as _, StarFilled as A, Star as E, MoreFilled as T } from "@element-plus/icons-vue";
3
3
  import { useI18n as D } from "vue-i18n";
4
4
  import { AI_MODELS as I } from "./type.js";
5
- import { formatAiPptHistoryMessage as C, formatBailianHistoryMessage as P, formatDatabaseHistoryMessage as M, formatRagflowHistoryMessage as $, collectById as N, usefuleById as S, deleteByIds as j, getBySessionId as x } from "./util/history-message-util.js";
6
- import R from "../../node_modules/dayjs/dayjs.min.js";
5
+ import { formatAiPptHistoryMessage as C, formatBailianHistoryMessage as P, formatDatabaseHistoryMessage as M, formatRagflowHistoryMessage as $, collectById as N, usefuleById as S, deleteByIds as x, getBySessionId as R } from "./util/history-message-util.js";
6
+ import j from "dayjs";
7
7
  import { ElMessage as O } from "element-plus";
8
8
  import V from "../../src/assets/chat-embed/robot.svg.js";
9
9
  const F = (e2) => (b("data-v-1e62eff8"), e2 = e2(), k(), e2), Y = { class: "flex-avatar" }, B = ["src"], G = { class: "flex-function-icon" }, z = { class: "chat-embed__sidebar" }, L = { class: "sidebar-header" }, W = ["src"], H = { class: "sidebar-menu" }, K = F(() => u("span", null, "我的收藏", -1)), q = F(() => u("span", null, "查看有用", -1)), J = F(() => u("span", null, "历史记录", -1)), Q = { key: 0, class: "date-group" }, U = { key: 0, class: "date-group-item" }, X = { key: 1, class: "date-group-item" }, Z = { key: 2, class: "date-group-item" }, ee = { key: 3, class: "date-group-item" }, ae = { key: 4, class: "date-group-item" }, te = ["onClick"], le = e({ __name: "sidebar-item", props: { aiModel: { type: String, default: null }, dialogFullScreen: { type: Boolean, default: null } }, emits: ["new-chat-session", "select-history-item", "update-ai-history"], setup(e2, { expose: b2, emit: k2 }) {
@@ -58,7 +58,7 @@ const F = (e2) => (b("data-v-1e62eff8"), e2 = e2(), k(), e2), Y = { class: "flex
58
58
  else if (t4 >= o2)
59
59
  a4.has("thirtyDays") || a4.set("thirtyDays", []), a4.get("thirtyDays").push(e6);
60
60
  else {
61
- const l3 = new Date(t4), s3 = R(`${l3.getFullYear()}-${l3.getMonth() + 1}`).format("YYYY-MM");
61
+ const l3 = new Date(t4), s3 = j(`${l3.getFullYear()}-${l3.getMonth() + 1}`).format("YYYY-MM");
62
62
  a4.has(s3) || a4.set(s3, []), a4.get(s3).push(e6);
63
63
  }
64
64
  }), a4;
@@ -71,14 +71,14 @@ const F = (e2) => (b("data-v-1e62eff8"), e2 = e2(), k(), e2), Y = { class: "flex
71
71
  }
72
72
  return b2({ getHistory: fe, addCurrentToSessionHistory: function(e3, a2 = []) {
73
73
  e3 && setTimeout(() => {
74
- x(e3).then((e4) => {
74
+ R(e3).then((e4) => {
75
75
  e4 && (ne.value = e4.id, ie.value.has("today") || (ie.value = new Map([["today", []], ...ie.value])), ie.value.get("today").unshift(e4), a2.length > 0 ? k2("select-history-item", e4, a2) : k2("select-history-item", e4, []));
76
76
  }).catch((e4) => {
77
77
  });
78
78
  }, 100);
79
79
  } }), (e3, a2) => {
80
- const t2 = l("el-avatar"), b3 = l("SuperIcon"), D2 = l("el-tooltip"), x2 = l("el-icon"), R2 = l("el-dropdown-item"), se2 = l("el-dropdown-menu"), ue2 = l("el-dropdown"), fe2 = l("el-scrollbar"), he = l("el-button");
81
- return s(), i(o, null, [n(u("div", Y, [c(t2, { size: 40, fit: "cover" }, { default: d(() => [u("img", { src: r(V), alt: "AI Avatar" }, null, 8, B)]), _: 1 }), u("div", G, [c(D2, { class: "box-item", effect: "dark", content: "打开侧边栏" }, { default: d(() => [c(b3, { class: "shousuo-icon", onClick: a2[0] || (a2[0] = (e4) => ce.value = true), iconValue: "amb-icon-zhankaibianlan" })]), _: 1 }), c(D2, { class: "box-item", effect: "dark", content: "新建会话" }, { default: d(() => [c(b3, { class: "shousuo-icon", iconValue: "amb-icon-xinjianhuihua", onClick: re })]), _: 1 })])], 512), [[m, !ce.value]]), n(u("div", z, [u("div", L, [c(t2, { class: "chat-embed__header_avatar", size: 40, fit: "cover" }, { default: d(() => [u("img", { src: r(V), alt: "AI Avatar" }, null, 8, W)]), _: 1 }), u("span", null, f(r(le2)("chatEmbed.name")), 1), c(D2, { class: "box-item", effect: "dark", content: "收起侧边栏" }, { default: d(() => [ce.value ? (s(), h(b3, { key: 0, onClick: a2[1] || (a2[1] = (e4) => ce.value = false), class: "right-icon", iconValue: "amb-icon-shouqibianlan" })) : v("", true)]), _: 1 })]), u("div", H, [u("div", { class: y(["menu-item", { "active-item": "collected" === oe.value }]), onClick: a2[2] || (a2[2] = (e4) => me("collected")) }, [c(b3, { iconValue: "amb-icon-shoucang" }), K, "collected" === oe.value ? (s(), h(x2, { key: 0, class: "dropdown-right" }, { default: d(() => [c(r(_))]), _: 1 })) : (s(), h(x2, { key: 1, class: "dropdown-right" }, { default: d(() => [c(r(w))]), _: 1 }))], 2), u("div", { class: y(["menu-item", { "active-item": "useful" === oe.value }]), onClick: a2[3] || (a2[3] = (e4) => me("useful")) }, [c(b3, { iconValue: "amb-icon-youyong" }), q, "useful" === oe.value ? (s(), h(x2, { key: 0, class: "dropdown-right" }, { default: d(() => [c(r(_))]), _: 1 })) : (s(), h(x2, { key: 1, class: "dropdown-right" }, { default: d(() => [c(r(w))]), _: 1 }))], 2), u("div", { class: y(["menu-item", { "active-item": "history" === oe.value }]), onClick: a2[4] || (a2[4] = (e4) => me("history")) }, [c(b3, { iconValue: "amb-icon-lishihuihua" }), J, "history" === oe.value ? (s(), h(x2, { key: 0, class: "dropdown-right" }, { default: d(() => [c(r(_))]), _: 1 })) : (s(), h(x2, { key: 1, class: "dropdown-right" }, { default: d(() => [c(r(w))]), _: 1 }))], 2)]), c(fe2, { class: "scrollbar-container", onEndReached: de }, { default: d(() => [(s(true), i(o, null, p(ie.value, ([e4, a3]) => (s(), i(o, { key: e4 }, [(a3 == null ? void 0 : a3.length) > 0 ? (s(), i("div", Q, ["today" === e4 ? (s(), i("div", U, "今天")) : "yesterday" === e4 ? (s(), i("div", X, "昨天")) : "sevenDays" === e4 ? (s(), i("div", Z, "七天内")) : "thirtyDays" === e4 ? (s(), i("div", ee, "三十天内")) : (s(), i("div", ae, f(e4), 1)), (s(true), i(o, null, p(a3, (e5) => (s(), i("div", { class: y(["history-item", { "active-item": ne.value === e5.id }]) }, [e5.useful ? (s(), h(b3, { key: 0, iconValue: "amb-icon-youyong" })) : v("", true), e5.collected ? (s(), h(x2, { key: 1 }, { default: d(() => [c(r(A))]), _: 1 })) : v("", true), u("div", { class: "history-subject", onClick: (a4) => function(e6) {
80
+ const t2 = l("el-avatar"), b3 = l("SuperIcon"), D2 = l("el-tooltip"), R2 = l("el-icon"), j2 = l("el-dropdown-item"), se2 = l("el-dropdown-menu"), ue2 = l("el-dropdown"), fe2 = l("el-scrollbar"), he = l("el-button");
81
+ return s(), i(o, null, [n(u("div", Y, [c(t2, { size: 40, fit: "cover" }, { default: d(() => [u("img", { src: r(V), alt: "AI Avatar" }, null, 8, B)]), _: 1 }), u("div", G, [c(D2, { class: "box-item", effect: "dark", content: "打开侧边栏" }, { default: d(() => [c(b3, { class: "shousuo-icon", onClick: a2[0] || (a2[0] = (e4) => ce.value = true), iconValue: "amb-icon-zhankaibianlan" })]), _: 1 }), c(D2, { class: "box-item", effect: "dark", content: "新建会话" }, { default: d(() => [c(b3, { class: "shousuo-icon", iconValue: "amb-icon-xinjianhuihua", onClick: re })]), _: 1 })])], 512), [[m, !ce.value]]), n(u("div", z, [u("div", L, [c(t2, { class: "chat-embed__header_avatar", size: 40, fit: "cover" }, { default: d(() => [u("img", { src: r(V), alt: "AI Avatar" }, null, 8, W)]), _: 1 }), u("span", null, f(r(le2)("chatEmbed.name")), 1), c(D2, { class: "box-item", effect: "dark", content: "收起侧边栏" }, { default: d(() => [ce.value ? (s(), h(b3, { key: 0, onClick: a2[1] || (a2[1] = (e4) => ce.value = false), class: "right-icon", iconValue: "amb-icon-shouqibianlan" })) : v("", true)]), _: 1 })]), u("div", H, [u("div", { class: y(["menu-item", { "active-item": "collected" === oe.value }]), onClick: a2[2] || (a2[2] = (e4) => me("collected")) }, [c(b3, { iconValue: "amb-icon-shoucang" }), K, "collected" === oe.value ? (s(), h(R2, { key: 0, class: "dropdown-right" }, { default: d(() => [c(r(w))]), _: 1 })) : (s(), h(R2, { key: 1, class: "dropdown-right" }, { default: d(() => [c(r(_))]), _: 1 }))], 2), u("div", { class: y(["menu-item", { "active-item": "useful" === oe.value }]), onClick: a2[3] || (a2[3] = (e4) => me("useful")) }, [c(b3, { iconValue: "amb-icon-youyong" }), q, "useful" === oe.value ? (s(), h(R2, { key: 0, class: "dropdown-right" }, { default: d(() => [c(r(w))]), _: 1 })) : (s(), h(R2, { key: 1, class: "dropdown-right" }, { default: d(() => [c(r(_))]), _: 1 }))], 2), u("div", { class: y(["menu-item", { "active-item": "history" === oe.value }]), onClick: a2[4] || (a2[4] = (e4) => me("history")) }, [c(b3, { iconValue: "amb-icon-lishihuihua" }), J, "history" === oe.value ? (s(), h(R2, { key: 0, class: "dropdown-right" }, { default: d(() => [c(r(w))]), _: 1 })) : (s(), h(R2, { key: 1, class: "dropdown-right" }, { default: d(() => [c(r(_))]), _: 1 }))], 2)]), c(fe2, { class: "scrollbar-container", onEndReached: de }, { default: d(() => [(s(true), i(o, null, p(ie.value, ([e4, a3]) => (s(), i(o, { key: e4 }, [(a3 == null ? void 0 : a3.length) > 0 ? (s(), i("div", Q, ["today" === e4 ? (s(), i("div", U, "今天")) : "yesterday" === e4 ? (s(), i("div", X, "昨天")) : "sevenDays" === e4 ? (s(), i("div", Z, "七天内")) : "thirtyDays" === e4 ? (s(), i("div", ee, "三十天内")) : (s(), i("div", ae, f(e4), 1)), (s(true), i(o, null, p(a3, (e5) => (s(), i("div", { class: y(["history-item", { "active-item": ne.value === e5.id }]) }, [e5.useful ? (s(), h(b3, { key: 0, iconValue: "amb-icon-youyong" })) : v("", true), e5.collected ? (s(), h(R2, { key: 1 }, { default: d(() => [c(r(A))]), _: 1 })) : v("", true), u("div", { class: "history-subject", onClick: (a4) => function(e6) {
82
82
  ne.value !== e6.id && (ne.value = e6.id, window.$vueApp.config.globalProperties.$http.get(window.$vueApp.config.globalProperties.baseAPI + `/mc/ai-history/content/${e6.id}`).then((a5) => {
83
83
  let t3 = [];
84
84
  switch (F2.aiModel) {
@@ -104,13 +104,13 @@ const F = (e2) => (b("data-v-1e62eff8"), e2 = e2(), k(), e2), Y = { class: "flex
104
104
  a5.collected = !a5.collected, k2("update-ai-history", a5);
105
105
  }) : "useful" === e6 || "unuseful" === e6 ? S(a5.id).then(() => {
106
106
  a5.useful = !a5.useful, k2("update-ai-history", a5);
107
- }) : "delete" === e6 && j([a5.id]).then(() => {
107
+ }) : "delete" === e6 && x([a5.id]).then(() => {
108
108
  O.success("已删除该会话"), ie.value.forEach((e7) => {
109
109
  const t3 = e7.findIndex((e8) => e8.id === a5.id);
110
110
  -1 !== t3 && e7.splice(t3, 1);
111
111
  }), ne.value === a5.id && re();
112
112
  });
113
- }(a4, e5), trigger: "click" }, { dropdown: d(() => [c(se2, null, { default: d(() => [e5.collected ? v("", true) : (s(), h(R2, { key: 0, command: "collect" }, { default: d(() => [c(x2, null, { default: d(() => [c(r(A))]), _: 1 }), g("收藏 ")]), _: 1 })), e5.collected ? (s(), h(R2, { key: 1, command: "uncollect" }, { default: d(() => [c(x2, null, { default: d(() => [c(r(E))]), _: 1 }), g("取消收藏 ")]), _: 1 })) : v("", true), e5.useful ? v("", true) : (s(), h(R2, { key: 2, command: "useful" }, { default: d(() => [g("有用")]), _: 1 })), e5.useful ? (s(), h(R2, { key: 3, command: "unuseful" }, { default: d(() => [g("取消有用")]), _: 1 })) : v("", true), c(R2, { command: "delete" }, { default: d(() => [g("删除")]), _: 1 })]), _: 2 }, 1024)]), default: d(() => [c(x2, { class: "more-filled" }, { default: d(() => [c(r(T))]), _: 1 })]), _: 2 }, 1032, ["onCommand"])], 2))), 256))])) : v("", true)], 64))), 128))]), _: 1 }), c(he, { type: "primary", class: "new-session-button", onClick: re }, { icon: d(() => [c(b3, { iconValue: "amb-icon-xinjianhuihua" })]), default: d(() => [g(" 新建会话 ")]), _: 1 })], 512), [[m, ce.value]])], 64);
113
+ }(a4, e5), trigger: "click" }, { dropdown: d(() => [c(se2, null, { default: d(() => [e5.collected ? v("", true) : (s(), h(j2, { key: 0, command: "collect" }, { default: d(() => [c(R2, null, { default: d(() => [c(r(A))]), _: 1 }), g("收藏 ")]), _: 1 })), e5.collected ? (s(), h(j2, { key: 1, command: "uncollect" }, { default: d(() => [c(R2, null, { default: d(() => [c(r(E))]), _: 1 }), g("取消收藏 ")]), _: 1 })) : v("", true), e5.useful ? v("", true) : (s(), h(j2, { key: 2, command: "useful" }, { default: d(() => [g("有用")]), _: 1 })), e5.useful ? (s(), h(j2, { key: 3, command: "unuseful" }, { default: d(() => [g("取消有用")]), _: 1 })) : v("", true), c(j2, { command: "delete" }, { default: d(() => [g("删除")]), _: 1 })]), _: 2 }, 1024)]), default: d(() => [c(R2, { class: "more-filled" }, { default: d(() => [c(r(T))]), _: 1 })]), _: 2 }, 1032, ["onCommand"])], 2))), 256))])) : v("", true)], 64))), 128))]), _: 1 }), c(he, { type: "primary", class: "new-session-button", onClick: re }, { icon: d(() => [c(b3, { iconValue: "amb-icon-xinjianhuihua" })]), default: d(() => [g(" 新建会话 ")]), _: 1 })], 512), [[m, ce.value]])], 64);
114
114
  };
115
115
  } });
116
116
  export {
@@ -1,15 +1,15 @@
1
- import { defineComponent as e, ref as a, watch as l, computed as t, resolveComponent as r, openBlock as n, createElementBlock as o, createVNode as u, pushScopeId as d, popScopeId as i, createElementVNode as s } from "vue";
2
- import c from "../node_modules/dayjs/dayjs.min.js";
1
+ import { defineComponent as e, ref as a, watch as l, computed as t, resolveComponent as r, openBlock as n, createElementBlock as u, createVNode as o, pushScopeId as i, popScopeId as d, createElementVNode as s } from "vue";
2
+ import c from "dayjs";
3
3
  import { useI18n as m } from "vue-i18n";
4
- const f = { class: "ab-date-range" }, v = ((e2) => (d("data-v-2aeaa81d"), e2 = e2(), i(), e2))(() => s("span", { class: "sep" }, "-", -1)), p = e({ __name: "index", props: { modelValue: { type: Array, default: () => [] }, type: { type: String, default: "daterange" }, format: { type: String, default: void 0 }, valueFormat: { type: String, default: void 0 }, disabled: { type: Boolean, default: false }, clearable: { type: Boolean, default: true }, readonly: { type: Boolean, default: false }, shortcuts: { type: Array, default: void 0 }, startPlaceholder: { type: String, default: void 0 }, endPlaceholder: { type: String, default: void 0 }, size: { type: String, default: "medium" } }, emits: ["update:modelValue", "change", "blur", "focus", "visible-change", "panel-change", "clear"], setup(e2, { emit: d2 }) {
5
- const i2 = e2, { t: s2 } = m(), p2 = a(i2.startPlaceholder ?? s2("imatrixUIMessage.startDate")), y = a(i2.endPlaceholder ?? s2("imatrixUIMessage.endDate")), g = a(i2.modelValue && i2.modelValue[0]), h = a(i2.modelValue && i2.modelValue[1]);
6
- l(() => i2.modelValue && i2.modelValue[0], (e3) => {
7
- g.value = e3;
8
- }), l(() => i2.modelValue && i2.modelValue[1], (e3) => {
4
+ const f = { class: "ab-date-range" }, v = ((e2) => (i("data-v-2aeaa81d"), e2 = e2(), d(), e2))(() => s("span", { class: "sep" }, "-", -1)), p = e({ __name: "index", props: { modelValue: { type: Array, default: () => [] }, type: { type: String, default: "daterange" }, format: { type: String, default: void 0 }, valueFormat: { type: String, default: void 0 }, disabled: { type: Boolean, default: false }, clearable: { type: Boolean, default: true }, readonly: { type: Boolean, default: false }, shortcuts: { type: Array, default: void 0 }, startPlaceholder: { type: String, default: void 0 }, endPlaceholder: { type: String, default: void 0 }, size: { type: String, default: "medium" } }, emits: ["update:modelValue", "change", "blur", "focus", "visible-change", "panel-change", "clear"], setup(e2, { emit: i2 }) {
5
+ const d2 = e2, { t: s2 } = m(), p2 = a(d2.startPlaceholder ?? s2("imatrixUIMessage.startDate")), g = a(d2.endPlaceholder ?? s2("imatrixUIMessage.endDate")), y = a(d2.modelValue && d2.modelValue[0]), h = a(d2.modelValue && d2.modelValue[1]);
6
+ l(() => d2.modelValue && d2.modelValue[0], (e3) => {
7
+ y.value = e3;
8
+ }), l(() => d2.modelValue && d2.modelValue[1], (e3) => {
9
9
  h.value = e3;
10
10
  });
11
11
  const b = t(() => {
12
- switch (i2.type) {
12
+ switch (d2.type) {
13
13
  case "daterange":
14
14
  default:
15
15
  return "date";
@@ -22,12 +22,12 @@ const f = { class: "ab-date-range" }, v = ((e2) => (d("data-v-2aeaa81d"), e2 = e
22
22
  }
23
23
  });
24
24
  function V(e3, a2) {
25
- d2(e3, a2);
25
+ i2(e3, a2);
26
26
  }
27
27
  function C(e3) {
28
- if (i2.valueFormat) {
28
+ if (d2.valueFormat) {
29
29
  const a2 = c(e3);
30
- return a2.isValid() ? a2.format(i2.valueFormat) : e3;
30
+ return a2.isValid() ? a2.format(d2.valueFormat) : e3;
31
31
  }
32
32
  if (e3 instanceof Date)
33
33
  return e3;
@@ -40,8 +40,8 @@ const f = { class: "ab-date-range" }, v = ((e2) => (d("data-v-2aeaa81d"), e2 = e
40
40
  return e3;
41
41
  }
42
42
  const A = t(() => {
43
- if (i2.shortcuts && Array.isArray(i2.shortcuts))
44
- return i2.shortcuts.map((e3) => e3 && e3.value ? { text: e3.text, onClick() {
43
+ if (d2.shortcuts && Array.isArray(d2.shortcuts))
44
+ return d2.shortcuts.map((e3) => e3 && e3.value ? { text: e3.text, onClick() {
45
45
  !function(e4) {
46
46
  let a2 = null;
47
47
  if (Array.isArray(e4)) {
@@ -50,7 +50,7 @@ const f = { class: "ab-date-range" }, v = ((e2) => (d("data-v-2aeaa81d"), e2 = e
50
50
  a2.push(C(l2));
51
51
  } else
52
52
  a2 = C(e4);
53
- Array.isArray(a2) && a2.length >= 2 ? (g.value = a2[0], h.value = a2[1]) : (g.value = a2, h.value = a2), x();
53
+ Array.isArray(a2) && a2.length >= 2 ? (y.value = a2[0], h.value = a2[1]) : (y.value = a2, h.value = a2), x();
54
54
  }("function" == typeof e3.value ? e3.value() : e3.value);
55
55
  } } : e3);
56
56
  });
@@ -67,25 +67,25 @@ const f = { class: "ab-date-range" }, v = ((e2) => (d("data-v-2aeaa81d"), e2 = e
67
67
  return !!a2 && e3.getTime() > a2.getTime();
68
68
  }
69
69
  function z(e3) {
70
- const a2 = D(g.value);
70
+ const a2 = D(y.value);
71
71
  return !!a2 && e3.getTime() < a2.getTime();
72
72
  }
73
73
  function F(e3) {
74
- g.value = e3;
74
+ y.value = e3;
75
75
  const a2 = D(e3), l2 = D(h.value);
76
76
  a2 && l2 && a2.getTime() > l2.getTime() && (h.value = e3), x();
77
77
  }
78
78
  function S(e3) {
79
79
  h.value = e3;
80
- const a2 = D(g.value), l2 = D(e3);
81
- a2 && l2 && l2.getTime() < a2.getTime() && (g.value = e3), x();
80
+ const a2 = D(y.value), l2 = D(e3);
81
+ a2 && l2 && l2.getTime() < a2.getTime() && (y.value = e3), x();
82
82
  }
83
83
  function x() {
84
- d2("update:modelValue", [g.value, h.value]), d2("change", [g.value, h.value]);
84
+ i2("update:modelValue", [y.value, h.value]), i2("change", [y.value, h.value]);
85
85
  }
86
86
  return (a2, l2) => {
87
87
  const t2 = r("el-date-picker");
88
- return n(), o("div", f, [u(t2, { modelValue: g.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => g.value = e3), type: b.value, format: e2.format, "value-format": e2.valueFormat, disabled: e2.disabled, clearable: e2.clearable, readonly: e2.readonly, shortcuts: A.value, placeholder: p2.value, size: e2.size, "disabled-date": T, onChange: F, onBlur: l2[1] || (l2[1] = (e3) => V("blur", e3)), onFocus: l2[2] || (l2[2] = (e3) => V("focus", e3)), onVisibleChange: l2[3] || (l2[3] = (e3) => V("visible-change", e3)), onPanelChange: l2[4] || (l2[4] = (e3) => V("panel-change", e3)), onClear: l2[5] || (l2[5] = (e3) => V("clear", e3)) }, null, 8, ["modelValue", "type", "format", "value-format", "disabled", "clearable", "readonly", "shortcuts", "placeholder", "size"]), v, u(t2, { modelValue: h.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e3) => h.value = e3), type: b.value, format: e2.format, "value-format": e2.valueFormat, disabled: e2.disabled, clearable: e2.clearable, readonly: e2.readonly, shortcuts: A.value, placeholder: y.value, size: e2.size, "disabled-date": z, onChange: S, onBlur: l2[7] || (l2[7] = (e3) => V("blur", e3)), onFocus: l2[8] || (l2[8] = (e3) => V("focus", e3)), onVisibleChange: l2[9] || (l2[9] = (e3) => V("visible-change", e3)), onPanelChange: l2[10] || (l2[10] = (e3) => V("panel-change", e3)), onClear: l2[11] || (l2[11] = (e3) => V("clear", e3)) }, null, 8, ["modelValue", "type", "format", "value-format", "disabled", "clearable", "readonly", "shortcuts", "placeholder", "size"])]);
88
+ return n(), u("div", f, [o(t2, { modelValue: y.value, "onUpdate:modelValue": l2[0] || (l2[0] = (e3) => y.value = e3), type: b.value, format: e2.format, "value-format": e2.valueFormat, disabled: e2.disabled, clearable: e2.clearable, readonly: e2.readonly, shortcuts: A.value, placeholder: p2.value, size: e2.size, "disabled-date": T, onChange: F, onBlur: l2[1] || (l2[1] = (e3) => V("blur", e3)), onFocus: l2[2] || (l2[2] = (e3) => V("focus", e3)), onVisibleChange: l2[3] || (l2[3] = (e3) => V("visible-change", e3)), onPanelChange: l2[4] || (l2[4] = (e3) => V("panel-change", e3)), onClear: l2[5] || (l2[5] = (e3) => V("clear", e3)) }, null, 8, ["modelValue", "type", "format", "value-format", "disabled", "clearable", "readonly", "shortcuts", "placeholder", "size"]), v, o(t2, { modelValue: h.value, "onUpdate:modelValue": l2[6] || (l2[6] = (e3) => h.value = e3), type: b.value, format: e2.format, "value-format": e2.valueFormat, disabled: e2.disabled, clearable: e2.clearable, readonly: e2.readonly, shortcuts: A.value, placeholder: g.value, size: e2.size, "disabled-date": z, onChange: S, onBlur: l2[7] || (l2[7] = (e3) => V("blur", e3)), onFocus: l2[8] || (l2[8] = (e3) => V("focus", e3)), onVisibleChange: l2[9] || (l2[9] = (e3) => V("visible-change", e3)), onPanelChange: l2[10] || (l2[10] = (e3) => V("panel-change", e3)), onClear: l2[11] || (l2[11] = (e3) => V("clear", e3)) }, null, 8, ["modelValue", "type", "format", "value-format", "disabled", "clearable", "readonly", "shortcuts", "placeholder", "size"])]);
89
89
  };
90
90
  } });
91
91
  export {